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.
+| + | Field | +Type | +Description | + +
|---|---|---|---|
| 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. |
+
+
+
- org.signal.chat.errors.FailedPrecondition
+ org.signal.chat.profile.ExpectedVersionConflict
-
- Message
- AmountAboveSepaLimitError
-
-
-
- Message
- AmountBelowMinimumError
-
-
Message
@@ -231,24 +213,6 @@
-
-
- Message
-
-
- Message
-
Message
@@ -331,27 +295,45 @@
-
+
Message
-
-
+
Message
-
-
+
Message
-
+
+ Message
+
+
+ Message
+ 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. 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. 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. The SEPA Direct Debit amount exceeds the allowed maximum. The maximum amount for a SEPA transaction in the currency's minor unit The amount is below the minimum for the currency. The minimum amount for the currency in the currency's minor unit The number of days of media a free tier backup user gets The duration, in days, for which your backed up media is retained on the server after you stop refreshing with a paid credential Donation level. Donation level: 1 for a one-time donation, 100 for a gift donation 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. The requested currency is not supported for PayPal The requested level is not a valid one-time donation level ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR") The amount to pay in the currency's minor unit The level for the boost payment The payment method A donation permit retrieved from Donations.createDonationPermit A client secret that can be used to complete a stripe PaymentIntent The amount is below the minimum for the currency The amount exceeds the maximum for SEPA Direct Debit The requested currency is not supported for the given payment method The requested level is not a valid one-time donation level Donation permit was invalid or already spent The amount in the specified currency is not supported by the payment provider The payment processor. Currently, only GOOGLE_PLAY_BILLING and
-APPLE_APP_STORE are supported. The payment processor Donation level. Donation level: 1 for a one-time donation, 100 for a gift donation The amount is below the minimum for the currency The requested currency is not supported for PayPal 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. ISO 4217 currency code, case-insensitive (e.g. "usd", "EUR") The amount to pay in the currency's minor unit The level for the boost payment: 1 for a one-time donation, 100 for a gift donation The payment method. Only card, SEPA Direct Debit, and iDEAL are supported. A donation permit retrieved from Donations.createDonationPermit A client secret that can be used to complete a stripe PaymentIntent 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. Donation permit was invalid or already spent Only PAYMENT_METHOD_CARD, PAYMENT_METHOD_SEPA_DEBIT, and PAYMENT_METHOD_IDEAL are supported;
-other values will result in an INVALID_ARGUMENT error. The payment method. Only card, SEPA Direct Debit, and iDEAL are supported. The duration for which a badge is valid. Present only for
@@ -4945,7 +4660,7 @@ 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 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. 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. The requested level was invalid The requested currency was invalid The card could not be charged Cannot transition from existing level to the requested level The idempotency key was invalid or re-used with a modified request 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.
+
+ Message
+
Message
@@ -131,6 +140,92 @@
+ Permitted values for integer fields Permitted values for string fields Permitted value names for enum fieldsCreateBoostRequest
-
- CreateBoostResponse
-
- CreatePaymentMethodRequest
+ CreateStripeBoostRequest
CreatePaymentMethodResponse
+ CreateStripeBoostResponse
CreatePaymentMethodResult
+ CreateStripePaymentMethodRequest
+
+ CreateStripePaymentMethodResponse
+
+ CreateStripePaymentMethodResult
-
- rpc
CreateBoost
+
+
+ rpc
- Request: CreateStripeBoost
org.signal.chat.purchase.CreateBoostRequest
+ Request: org.signal.chat.purchase.CreateStripeBoostRequest
- Response: org.signal.chat.purchase.CreateBoostResponse
+ Response: org.signal.chat.purchase.CreateStripeBoostResponse
-
- rpc
CreatePaymentMethod
+
+
+ rpc
- Request: CreateStripePaymentMethod
org.signal.chat.purchase.CreatePaymentMethodRequest
+ Request: org.signal.chat.purchase.CreateStripePaymentMethodRequest
- Response: org.signal.chat.purchase.CreatePaymentMethodResponse
+ Response: org.signal.chat.purchase.CreateStripePaymentMethodResponse
-
- message AmountAboveSepaLimitError
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Field
- Type
- Description
-
-
-
-
-
-
-1
-
- maximum
-
-
-
-
-
- uint64
-
-
-
-
-
- message AmountBelowMinimumError
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Field
- Type
- Description
-
-
-
-
-
-
-1
-
- minimum
-
-
-
-
-
- uint64
-
-
-
-
-
+
- uint64
+ uint32
@@ -1452,9 +1334,9 @@ for zero-decimal currencies no multiplication is required.
media_ttl_days
-
+
- uint64
+ uint32
@@ -1506,7 +1388,7 @@ for zero-decimal currencies no multiplication is required.
@@ -1861,16 +1743,19 @@ depending on which processor was used
2
1
- paymentMethodToken
+ payment_method_token
uint64
-
@@ -1739,7 +1621,7 @@ depending on which processor was used
+
- amount_below_minimum
+ invalid_selection
-
-
+
- org.signal.chat.purchase.AmountBelowMinimumError
+ org.signal.chat.errors.FailedPrecondition
+
@@ -1881,52 +1766,12 @@ depending on which processor was used
3
- unsupported_currency
+ payment_required
-
-
+
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 4
-
-
- unsupported_level
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
@@ -2930,7 +2478,7 @@ following properties:
uint64
-
- 5
-
-
- charge_failure
-
-
-
@@ -2275,302 +2120,6 @@ depending on which processor was used
-
-
- org.signal.chat.purchase.ChargeFailure
+ org.signal.chat.purchase.PaymentRequired
-
- message CreateBoostRequest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Field
- Type
- Description
-
-
-
-
- 1
-
- currency
-
-
-
-
-
- string
-
-
-
-
-
-
- 2
-
- amount
-
-
-
-
-
- uint64
-
-
-
-
-
-
- 3
-
- level
-
-
-
-
-
- uint64
-
-
-
-
-
-
- 4
-
- payment_method
-
-
-
-
-
- org.signal.chat.purchase.PaymentMethod
-
-
-
-
-
-
-
-
-
-5
-
- donation_permit
-
-
-
-
-
- bytes
-
-
-
-
-
- message CreateBoostResponse
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Field
- Type
- Description
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
- client_secret
-
-
-
-
-
- string
-
-
-
-
-
-
-
-
-
- 2
-
-
- amount_below_minimum
-
-
-
-
-
- org.signal.chat.purchase.AmountBelowMinimumError
-
-
-
-
-
-
-
-
-
-
- 3
-
-
- amount_above_sepa_limit
-
-
-
-
-
- org.signal.chat.purchase.AmountAboveSepaLimitError
-
-
-
-
-
-
-
-
-
-
- 4
-
-
- unsupported_currency
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
-
-
-
-
- 5
-
-
- unsupported_level
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
-
-
-
-
- 6
-
-
- permit_rejected
-
-
-
-
-
- org.signal.chat.errors.FailedZkAuthentication
-
-
-
-
-
-
-
-
-
-
- 7
-
-
- invalid_amount
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
+
+
@@ -3037,27 +2585,7 @@ following properties:
2
- amount_below_minimum
-
-
-
-
-
- org.signal.chat.purchase.AmountBelowMinimumError
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
-
- unsupported_currency
+ invalid_selection
-
@@ -3066,27 +2594,10 @@ following properties:
-
-
-
@@ -3196,7 +2707,7 @@ following properties:
- 4
-
-
- unsupported_level
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
+
@@ -5714,116 +5440,17 @@ transaction is not supported for use at this endpoint
5
1
- subscriberId
+ subscriber_id
@@ -3211,7 +2722,7 @@ following properties:
@@ -3506,9 +3237,9 @@ other values will result in an INVALID_ARGUMENT error.2
- returnUrl
+ return_url
-
@@ -3226,7 +2737,7 @@ following properties:
3
- cancelUrl
+ cancel_url
@@ -3386,7 +2897,7 @@ the subscription
@@ -3476,7 +3207,7 @@ other values will result in an INVALID_ARGUMENT error.1
- approvalUrl
+ approval_url
@@ -3424,9 +2935,230 @@ the subscription
+
- message CreatePaymentMethodRequest
+ message CreateStripeBoostRequest
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ currency
+
+
+
+
+
+ string
+
+
+
+
+
+
+ 2
+
+ amount
+
+
+
+
+
+ uint64
+
+
+
+
+
+
+ 3
+
+ level
+
+
+
+
+
+ uint64
+
+
+
+
+
+
+ 4
+
+ payment_method
+
+
+
+
+
+ org.signal.chat.purchase.PaymentMethod
+
+
+
+
+
+
+
+
+
+5
+
+ donation_permit
+
+
+
+
+
+ bytes
+
+
+
+
+
+ message CreateStripeBoostResponse
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ client_secret
+
+
+
+
+
+ string
+
+
+
+
+
+
+
+
+
+ 2
+
+
+ invalid_selection
+
+
+
+
+
+ org.signal.chat.errors.FailedPrecondition
+
+
+
+
+
+
+
+
+
+
+ 3
+
+
+ permit_rejected
+
+
+
+
+
+ org.signal.chat.errors.FailedZkAuthentication
+
+
+
+
+
+
+ message CreateStripePaymentMethodRequest
@@ -3459,8 +3191,7 @@ the subscription
bytes
-
+
+
+
- message CreatePaymentMethodResponse
+ message CreateStripePaymentMethodResponse
@@ -3551,9 +3282,9 @@ other values will result in an INVALID_ARGUMENT error.
result
-
@@ -3633,11 +3364,11 @@ the subscription
+
- org.signal.chat.purchase.CreatePaymentMethodResponse.CreatePaymentMethodResult
+ org.signal.chat.purchase.CreateStripePaymentMethodResponse.CreateStripePaymentMethodResult
+
- 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
-
-
@@ -3846,7 +3561,7 @@ currency's minor unit
2
-
- paymentProvider
-
-
-
-
-
- org.signal.chat.purchase.PaymentProvider
-
-
-
-
-
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
badge_duration_seconds
@@ -4687,11 +4402,11 @@ via RemoteConfiguration.GetBadges.
-
+
optional
- uint64
+ uint32
1
- setupIntentId
+ setup_intent_id
@@ -4995,7 +4710,7 @@ one-time (boost, gift) badges
@@ -5222,7 +4940,7 @@ payment method has not finished being set up with the processor
1
- subscriberId
+ subscriber_id
3
@@ -5170,7 +4885,7 @@ one-time (boost, gift) badges
- payment_method_not_set_up
+ failed_precondition
-
@@ -5179,8 +4894,11 @@ one-time (boost, gift) badges
+
1
- subscriberId
+ subscriber_id
payment_required
@@ -5402,9 +5120,9 @@ the subscription
-
@@ -5525,7 +5243,7 @@ transaction is not supported for use at this endpoint
+
- org.signal.chat.errors.FailedPrecondition
+ org.signal.chat.purchase.PaymentRequired
1
- subscriberId
+ subscriber_id
@@ -5570,7 +5288,7 @@ transaction is not supported for use at this endpoint
@@ -5694,7 +5417,7 @@ transaction is not supported for use at this endpoint
4
4
- idempotencyKey
+ idempotency_key
3
@@ -5674,7 +5392,7 @@ transaction is not supported for use at this endpoint
- payment_method_not_set_up
+ failed_precondition
-
@@ -5683,7 +5401,12 @@ transaction is not supported for use at this endpoint
+
- unsupported_operation
+ invalid_selection
-
@@ -5703,7 +5426,10 @@ transaction is not supported for use at this endpoint
+
- unsupported_level
+ payment_required
-
-
+
- org.signal.chat.errors.FailedPrecondition
+ org.signal.chat.purchase.PaymentRequired
-
-
-
-
-
-
-
-
-
-
-
- 6
-
-
- unsupported_currency
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
-
-
-
-
- 7
-
-
- payment_requires_action
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
-
-
-
-
- 8
-
-
- invalid_level_transition
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
-
-
-
-
- 9
-
-
- invalid_idempotency_key
-
-
-
-
-
- org.signal.chat.errors.FailedPrecondition
-
-
-
-
-
-
@@ -5868,7 +5495,7 @@ transaction is not supported for use at this endpoint
- 10
-
-
- charge_failure
-
-
-
-
-
- org.signal.chat.purchase.ChargeFailure
-
-
-
+
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 @@
+ AllowedValuesConstraint
+
+
+
+ message AllowedValuesConstraint
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Field
+ Type
+ Description
+
+
+
+
+ 1
+
+ ints
+
+
+
+
+
+ repeated
+
+ int64
+
+
+
+
+
+
+ 2
+
+ strings
+
+
+
+
+
+ repeated
+
+ string
+
+
+
+
+
+
+
+
+3
+
+ enums
+
+
+
+
+
+ repeated
+
+ string
+
+
+
+