From 816519febb0a92aa495289a2abef54becfd41f1f Mon Sep 17 00:00:00 2001 From: Documentation Updater Date: Wed, 14 Oct 2026 16:40:48 +0000 Subject: [PATCH] Updating documentation --- grpc/org.signal.chat.profile.html | 65 +- grpc/org.signal.chat.purchase.html | 1047 +++++++++------------------- grpc/org.signal.chat.require.html | 95 +++ grpc/search.html | 4 +- 4 files changed, 497 insertions(+), 714 deletions(-) diff --git a/grpc/org.signal.chat.profile.html b/grpc/org.signal.chat.profile.html index ef1c196a2..2000e68b1 100644 --- a/grpc/org.signal.chat.profile.html +++ b/grpc/org.signal.chat.profile.html @@ -114,6 +114,15 @@ +

+ + Message + ExpectedVersionConflict + +

+ + +

Message @@ -825,6 +834,58 @@ RemoteConfiguration.GetBadges.

+
+ + +

+ + message ExpectedVersionConflict + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
2 + current_profile_version + + + + bytes + +

In certain, highly unlikely, cases, a new profile version might not be +distributed among all devices. These devices wouldn't be able to decrypt the +profile, but the value can be used to set a new version.

+ +
+ + +
@@ -2586,9 +2647,9 @@ number. The request should be retried without `payment_address.

expected_version_write_conflict - + - org.signal.chat.errors.FailedPrecondition + org.signal.chat.profile.ExpectedVersionConflict diff --git a/grpc/org.signal.chat.purchase.html b/grpc/org.signal.chat.purchase.html index c46d6b594..ab9238947 100644 --- a/grpc/org.signal.chat.purchase.html +++ b/grpc/org.signal.chat.purchase.html @@ -101,24 +101,6 @@ -

- - Message - AmountAboveSepaLimitError - -

- - - -

- - Message - AmountBelowMinimumError - -

- - -

Message @@ -231,24 +213,6 @@ -

- - Message - CreateBoostRequest - -

- - - -

- - Message - CreateBoostResponse - -

- - -

Message @@ -331,27 +295,45 @@

- + Message - CreatePaymentMethodRequest + CreateStripeBoostRequest

- + Message - CreatePaymentMethodResponse + CreateStripeBoostResponse

- + Message - CreatePaymentMethodResult + CreateStripePaymentMethodRequest + +

+ + + +

+ + Message + CreateStripePaymentMethodResponse + +

+ + + +

+ + Message + CreateStripePaymentMethodResult

@@ -712,14 +694,14 @@
@@ -899,20 +881,20 @@ cancelling a subscription from storekit to keep server data up to date.

-

Returns a client secret that can be used to set up a new payment method with the payment processor.

+

Returns a Stripe client secret that can be used to set up a new payment method with Stripe.

@@ -995,7 +977,7 @@ https://datatracker.ietf.org/doc/html/rfc3282#section-3

-

Returns information about the current subscription associated with the provided subscriberId if one exists.

+

Returns information about the current subscription associated with the provided subscriber_id if one exists.

Although it uses Stripe's values, the status field in the response is generic, with Braintree-specific values mapped to Stripe's. Since we don't support trials or unpaid subscriptions, the associated statuses will never be returned @@ -1070,10 +1052,10 @@ cannot be redeemed.

3. Call this RPC with the purchaseToken 4. Obtain a receipt via GetReceiptCredential which can then be used to obtain the entitlement

-

After calling this method, the payment is confirmed. Callers must durably store their subscriberId before calling +

After calling this method, the payment is confirmed. Callers must durably store their subscriber_id before calling this method to ensure their payment is tracked.

-

Once a purchaseToken to is posted to a subscriberId, the same subscriberId must not be used with another payment -method. A different playbilling purchaseToken can be posted to the same subscriberId, in this case the subscription +

Once a purchaseToken to is posted to a subscriber_id, the same subscriber_id must not be used with another payment +method. A different playbilling purchaseToken can be posted to the same subscriber_id, in this case the subscription associated with the old purchaseToken will be cancelled.

@@ -1116,106 +1098,6 @@ https://datatracker.ietf.org/doc/html/rfc3282#section-3

-
- - -

- - message AmountAboveSepaLimitError - - - -

- -
-

The SEPA Direct Debit amount exceeds the allowed maximum.

-
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - maximum - - - - uint64 - -

The maximum amount for a SEPA transaction in the currency's minor unit

- -
- - - -
- - -

- - message AmountBelowMinimumError - - - -

- -
-

The amount is below the minimum for the currency.

-
- - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - minimum - - - - uint64 - -

The minimum amount for the currency in the currency's minor unit

- -
- - -
@@ -1372,9 +1254,9 @@ for zero-decimal currencies no multiplication is required.

free_tier_media_days - + - uint64 + uint32

The number of days of media a free tier backup user gets

@@ -1452,9 +1334,9 @@ for zero-decimal currencies no multiplication is required.

media_ttl_days - + - uint64 + uint32

The duration, in days, for which your backed up media is retained on the server after you stop refreshing with a paid credential

@@ -1506,7 +1388,7 @@ for zero-decimal currencies no multiplication is required.

1 - paymentMethodToken + payment_method_token @@ -1739,7 +1621,7 @@ depending on which processor was used

uint64
-

Donation level.

+

Donation level: 1 for a one-time donation, 100 for a gift donation

@@ -1861,16 +1743,19 @@ depending on which processor was used

2 - amount_below_minimum + invalid_selection - + - org.signal.chat.purchase.AmountBelowMinimumError + org.signal.chat.errors.FailedPrecondition -

The amount is below the minimum for the currency

+

The currency is not supported for PayPal, or the amount is below the +currency's minimum. The violated constraint may be present in the product +configuration, clients can attempt a refresh of +ProductConfiguration/GetConfiguration before giving up.

@@ -1881,52 +1766,12 @@ depending on which processor was used

3 - unsupported_currency + payment_required - + - org.signal.chat.errors.FailedPrecondition - - - -

The requested currency is not supported for PayPal

- - - - - - - - 4 - - - unsupported_level - - - - - org.signal.chat.errors.FailedPrecondition - - - -

The requested level is not a valid one-time donation level

- - - - - - - - 5 - - - charge_failure - - - - - org.signal.chat.purchase.ChargeFailure + org.signal.chat.purchase.PaymentRequired @@ -2275,302 +2120,6 @@ depending on which processor was used

-
- - -

- - message CreateBoostRequest - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
1 - currency - - - - string - -

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 - amount - - - - uint64 - -

The amount to pay in the currency's minor unit

3 - level - - - - uint64 - -

The level for the boost payment

4 - payment_method - - - - org.signal.chat.purchase.PaymentMethod - - -

The payment method

5 - donation_permit - - - - bytes - -

A donation permit retrieved from Donations.createDonationPermit

- -
- - - -
- - -

- - message CreateBoostResponse - - - -

- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FieldTypeDescription
-
- oneof response -
-
- 1 - - client_secret - - - - string - -

A client secret that can be used to complete a stripe PaymentIntent

- 2 - - amount_below_minimum - - - - org.signal.chat.purchase.AmountBelowMinimumError - - -

The amount is below the minimum for the currency

- 3 - - amount_above_sepa_limit - - - - org.signal.chat.purchase.AmountAboveSepaLimitError - - -

The amount exceeds the maximum for SEPA Direct Debit

- 4 - - unsupported_currency - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested currency is not supported for the given payment method

- 5 - - unsupported_level - - - - org.signal.chat.errors.FailedPrecondition - - -

The requested level is not a valid one-time donation level

- 6 - - permit_rejected - - - - org.signal.chat.errors.FailedZkAuthentication - - -

Donation permit was invalid or already spent

- 7 - - invalid_amount - - - - org.signal.chat.errors.FailedPrecondition - - -

The amount in the specified currency is not supported by the payment provider

- -
- - -
@@ -2610,8 +2159,7 @@ depending on which processor was used

-

The payment processor. Currently, only GOOGLE_PLAY_BILLING and -APPLE_APP_STORE are supported.

+

The payment processor

@@ -2930,7 +2478,7 @@ following properties:

uint64
-

Donation level.

+

Donation level: 1 for a one-time donation, 100 for a gift donation

@@ -3037,27 +2585,7 @@ following properties:

2 - amount_below_minimum - - - - - org.signal.chat.purchase.AmountBelowMinimumError - - - -

The amount is below the minimum for the currency

- - - - - - - - 3 - - - unsupported_currency + invalid_selection @@ -3066,27 +2594,10 @@ following properties:

-

The requested currency is not supported for PayPal

- - - - - - - - 4 - - - unsupported_level - - - - - org.signal.chat.errors.FailedPrecondition - - - -

The requested level is not a valid one-time donation level

+

The currency is not supported for PayPal, or the amount is below the +currency's minimum. The violated constraint may be present in the product +configuration, clients can attempt a refresh of +ProductConfiguration/GetConfiguration before giving up.

@@ -3196,7 +2707,7 @@ following properties:

1 - subscriberId + subscriber_id @@ -3211,7 +2722,7 @@ following properties:

2 - returnUrl + return_url @@ -3226,7 +2737,7 @@ following properties:

3 - cancelUrl + cancel_url @@ -3386,7 +2897,7 @@ the subscription

1 - approvalUrl + approval_url @@ -3424,9 +2935,230 @@ the subscription

-

+

- message CreatePaymentMethodRequest + message CreateStripeBoostRequest + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + currency + + + + string + +

ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR")

2 + amount + + + + uint64 + +

The amount to pay in the currency's minor unit

3 + level + + + + uint64 + +

The level for the boost payment: 1 for a one-time donation, 100 for a gift donation

4 + payment_method + + + + org.signal.chat.purchase.PaymentMethod + + +

The payment method. Only card, SEPA Direct Debit, and iDEAL are supported.

5 + donation_permit + + + + bytes + +

A donation permit retrieved from Donations.createDonationPermit

+ +
+ + + +
+ + +

+ + message CreateStripeBoostResponse + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
+
+ oneof response +
+
+ 1 + + client_secret + + + + string + +

A client secret that can be used to complete a stripe PaymentIntent

+ 2 + + invalid_selection + + + + org.signal.chat.errors.FailedPrecondition + + +

The currency is not supported for the payment method, or the amount is +outside the configured limits (e.g. below the currency's minimum, above +the SEPA Direct Debit maximum, above the processor's currency maximum). +The violated constraint may be present in the product configuration, +clients can attempt a refresh of ProductConfiguration/GetConfiguration +before giving up.

+ 3 + + permit_rejected + + + + org.signal.chat.errors.FailedZkAuthentication + + +

Donation permit was invalid or already spent

+ +
+ + + +
+ + +

+ + message CreateStripePaymentMethodRequest @@ -3459,8 +3191,7 @@ the subscription

bytes
-

Only PAYMENT_METHOD_CARD, PAYMENT_METHOD_SEPA_DEBIT, and PAYMENT_METHOD_IDEAL are supported; -other values will result in an INVALID_ARGUMENT error.

+ @@ -3476,7 +3207,7 @@ other values will result in an INVALID_ARGUMENT error.

- +

The payment method. Only card, SEPA Direct Debit, and iDEAL are supported.

@@ -3506,9 +3237,9 @@ other values will result in an INVALID_ARGUMENT error.

-

+

- message CreatePaymentMethodResponse + message CreateStripePaymentMethodResponse @@ -3551,9 +3282,9 @@ other values will result in an INVALID_ARGUMENT error.

result - + - org.signal.chat.purchase.CreatePaymentMethodResponse.CreatePaymentMethodResult + org.signal.chat.purchase.CreateStripePaymentMethodResponse.CreateStripePaymentMethodResult @@ -3633,11 +3364,11 @@ the subscription

-

+

- message CreatePaymentMethodResult + message CreateStripePaymentMethodResult -
(Nested in org.signal.chat.purchase.CreatePaymentMethodResponse +
(Nested in
org.signal.chat.purchase.CreateStripePaymentMethodResponse )
@@ -3663,7 +3394,7 @@ the subscription

1 - clientSecret + client_secret @@ -3675,22 +3406,6 @@ the subscription

- - 2 - - paymentProvider - - - - - org.signal.chat.purchase.PaymentProvider - - - - - - - @@ -3846,7 +3561,7 @@ currency's minor unit

1 - subscriberId + subscriber_id @@ -4249,7 +3964,7 @@ currency's minor unit

1 - subscriberId + subscriber_id @@ -4264,7 +3979,7 @@ currency's minor unit

2 - receiptCredentialRequest + receipt_credential_request @@ -4463,7 +4178,7 @@ currency's minor unit

1 - receiptCredentialResponse + receipt_credential_response @@ -4513,7 +4228,7 @@ currency's minor unit

1 - subscriberId + subscriber_id @@ -4687,11 +4402,11 @@ via RemoteConfiguration.GetBadges.

badge_duration_seconds - + optional - uint64 + uint32

The duration for which a badge is valid. Present only for @@ -4945,7 +4660,7 @@ one-time (boost, gift) badges

1 - setupIntentId + setup_intent_id @@ -4995,7 +4710,7 @@ one-time (boost, gift) badges

1 - subscriberId + subscriber_id @@ -5170,7 +4885,7 @@ one-time (boost, gift) badges

3 - payment_method_not_set_up + failed_precondition @@ -5179,8 +4894,11 @@ one-time (boost, gift) badges

-

No payment method has been created for the subscriber, or the provided -payment method has not finished being set up with the processor

+

The request could not be applied in the subscriber's current state. This +typically indicates a client bug or an out-of-date client. Either +- No payment method has been created for the subscriber +- The provided payment method has not finished being set up with the + processor

@@ -5222,7 +4940,7 @@ payment method has not finished being set up with the processor

1 - subscriberId + subscriber_id @@ -5402,9 +5120,9 @@ the subscription

payment_required - + - org.signal.chat.errors.FailedPrecondition + org.signal.chat.purchase.PaymentRequired @@ -5525,7 +5243,7 @@ transaction is not supported for use at this endpoint

1 - subscriberId + subscriber_id @@ -5570,7 +5288,7 @@ transaction is not supported for use at this endpoint

4 - idempotencyKey + idempotency_key @@ -5674,7 +5392,7 @@ transaction is not supported for use at this endpoint

3 - payment_method_not_set_up + failed_precondition @@ -5683,7 +5401,12 @@ transaction is not supported for use at this endpoint

-

No payment method has been created for the subscriber

+

The request could not be applied in the subscriber's current state. This +typically indicates a client bug or an out-of-date client. Some examples: + - the client failed to first set up a payment method + - the requested level cannot be transitioned to from the existing level + - the payment needs additional authorization before processing +The FailedPrecondition will contain the specific reason for the failure.

@@ -5694,7 +5417,7 @@ transaction is not supported for use at this endpoint

4 - unsupported_operation + invalid_selection @@ -5703,7 +5426,10 @@ transaction is not supported for use at this endpoint

-

The payment processor does not support this operation

+

The request contained a currency or level that is not supported. The +violated constraint may be present in the product configuration, clients +can attempt a refresh of ProductConfiguration/GetConfiguration before +giving up.

@@ -5714,116 +5440,17 @@ transaction is not supported for use at this endpoint

5 - unsupported_level + payment_required - + - org.signal.chat.errors.FailedPrecondition + org.signal.chat.purchase.PaymentRequired -

The requested level was invalid

- - - - - - - - 6 - - - unsupported_currency - - - - - org.signal.chat.errors.FailedPrecondition - - - -

The requested currency was invalid

- - - - - - - - 7 - - - payment_requires_action - - - - - org.signal.chat.errors.FailedPrecondition - - - -

The card could not be charged

- - - - - - - - 8 - - - invalid_level_transition - - - - - org.signal.chat.errors.FailedPrecondition - - - -

Cannot transition from existing level to the requested level

- - - - - - - - 9 - - - invalid_idempotency_key - - - - - org.signal.chat.errors.FailedPrecondition - - - -

The idempotency key was invalid or re-used with a modified request

- - - - - - - - 10 - - - charge_failure - - - - - org.signal.chat.purchase.ChargeFailure - - - -

The payment failed; see charge failure details

+

The payment method could not be charged. If the processor declined the +charge, charge_failure will be present.

@@ -5868,7 +5495,7 @@ transaction is not supported for use at this endpoint

1 - paymentMethodToken + payment_method_token diff --git a/grpc/org.signal.chat.require.html b/grpc/org.signal.chat.require.html index 02d70316a..6f385adf2 100644 --- a/grpc/org.signal.chat.require.html +++ b/grpc/org.signal.chat.require.html @@ -73,6 +73,15 @@ +

+ + Message + AllowedValuesConstraint + +

+ + +

Message @@ -131,6 +140,92 @@ +

+ + +

+ + message AllowedValuesConstraint + + + +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeDescription
1 + ints + + + + repeated + + int64 + +

Permitted values for integer fields

2 + strings + + + + repeated + + string + +

Permitted values for string fields

3 + enums + + + + repeated + + string + +

Permitted value names for enum fields

+ +
+ + +
diff --git a/grpc/search.html b/grpc/search.html index a4f27a642..315d1125e 100644 --- a/grpc/search.html +++ b/grpc/search.html @@ -60,8 +60,8 @@