diff --git a/grpc/org.signal.chat.donations.html b/grpc/org.signal.chat.donations.html index f57cec331..de5a349a7 100644 --- a/grpc/org.signal.chat.donations.html +++ b/grpc/org.signal.chat.donations.html @@ -159,7 +159,7 @@
Redeem a receipt acquired from Subscriptions.CreateSubscriptionReceiptCredentials +
Redeem a receipt acquired from Subscriptions.GetReceiptCredential to add a badge to the account. After successful redemption, profile responses will include the corresponding badge (if configured as visible) until the expiration time on the receipt.
diff --git a/grpc/org.signal.chat.profile.html b/grpc/org.signal.chat.profile.html index 0cd443f5e..ef1c196a2 100644 --- a/grpc/org.signal.chat.profile.html +++ b/grpc/org.signal.chat.profile.html @@ -133,18 +133,18 @@
-
+
Message
- GetAvatarCredentialsRequest
+ GetAvatarCredentialRequest
-
+
Message
- GetAvatarCredentialsResponse
+ GetAvatarCredentialResponse
-
- Message
- GetExpiringProfileKeyCredentialRequest
-
-
-
- Message
- GetExpiringProfileKeyCredentialResponse
-
-
-
- Message
- GetExpiringProfileKeyCredentialResult
-
-
Message
@@ -213,6 +186,33 @@
+
+
+ Message
+
+
+ Message
+ GetProfileKeyCredentialRequest
+
+ GetProfileKeyCredentialResponse
+
+
ProfileAnonymous instead.<
GetAvatarCredentials
+ GetAvatarCredential
org.signal.chat.profile.GetAvatarCredentialsRequest
+ Request: org.signal.chat.profile.GetAvatarCredentialRequest
- Response: org.signal.chat.profile.GetAvatarCredentialsResponse
+ Response: org.signal.chat.profile.GetAvatarCredentialResponse
Returns anonymous credentials that may be presented with avatar operations in ProfilesAnonymous
+Returns an anonymous credential that may be presented with avatar operations in ProfilesAnonymous
Note: Accounts.SetZkCredentialKey is a pre-requisite for this RPC
ProfileAnonymous instead.<
Returns credentials used by clients to upload a v1 avatar, deleting any current avatar.
+Returns a credential used by clients to upload a v1 avatar, deleting any current avatar.
This RPC streamlines avatar changes during the v1 -> v2 transition by minimizing uploads:
1. SetV1Avatar
2. Upload to CDN
@@ -493,14 +493,14 @@ methods in Profile instead.
GetExpiringProfileKeyCredential
+ GetProfileKeyCredential
org.signal.chat.profile.GetExpiringProfileKeyCredentialRequest
+ Request: org.signal.chat.profile.GetProfileKeyCredentialRequest
- Response: org.signal.chat.profile.GetExpiringProfileKeyCredentialResponse
+ Response: org.signal.chat.profile.GetProfileKeyCredentialResponse
Profile instead.
Returns credentials to upload a v2 avatar. After uploading the avatar, the client +
Returns a credential to upload a v2 avatar. After uploading the avatar, the client
must call SetProfile with the new avatar URL in the encrypted data.
Because avatars are uploaded anonymously, they have an expiration equal to the idle account expiration. Clients must periodically (recommended: every 90 days) call ExtendAvatarTTL to extend the TTl.
-Note: any existing avatar associated with these credentials will be deleted immediately
+Note: any existing avatar associated with this credential will be deleted immediately
@@ -804,7 +804,7 @@ RemoteConfiguration.GetBadges.
@@ -855,7 +855,7 @@ RemoteConfiguration.GetBadges.
@@ -939,7 +939,7 @@ RemoteConfiguration.GetBadges.
@@ -983,9 +983,9 @@ RemoteConfiguration.GetBadges.
@@ -1033,9 +1033,9 @@ RemoteConfiguration.GetBadges.
@@ -1145,7 +1145,7 @@ RemoteConfiguration.GetBadges.
@@ -1246,7 +1246,7 @@ performed with this form will be limited to the provided length.
@@ -1267,275 +1267,6 @@ performed with this form will be limited to the provided length.| - | Field | -Type | -Description | - -
|---|---|---|---|
| 1 | -- account_identifier - | -
-
-
- org.signal.chat.common.ServiceIdentifier
-
-
- |
- The ACI of the account for which to get a profile key credential. |
-
-
| 2 | -- credential_request - | -
-
-
- bytes
-
- |
- A zkgroup request for a profile key credential. |
-
-
| 3 | -- credential_type - | -
-
-
- org.signal.chat.profile.CredentialType
-
-
- |
- The type of credential being requested. |
-
-
| 4 | -- version - | -
-
-
- bytes
-
- |
- The profile version for which to generate a profile key credential. |
-
-
| 5 | -- unidentified_access_key - | -
-
-
- bytes
-
- |
- The unidentified access key for the targeted account. |
-
-
| - | Field | -Type | -Description | - -
|---|---|---|---|
|
-
- oneof response
-
- |
- |||
| - 1 - | -- result - | -
-
-
- org.signal.chat.profile.GetExpiringProfileKeyCredentialResult
-
-
- |
- - - |
| - 2 - | -- not_found - | -
-
-
- org.signal.chat.errors.NotFound
-
-
- |
- - - |
| - 3 - | -- failed_unidentified_authorization - | -
-
-
- org.signal.chat.errors.FailedUnidentifiedAuthorization
-
-
- |
- - - |
| - | Field | -Type | -Description | - -
|---|---|---|---|
| 1 | -- profile_key_credential - | -
-
-
- bytes
-
- |
- A zkgroup credential used by a client to prove that it has the profile key -of a targeted account. |
-
-
| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ account_identifier + | +
+
+
+ org.signal.chat.common.ServiceIdentifier
+
+
+ |
+ The ACI of the account for which to get a profile key credential. |
+
+
| 2 | ++ credential_request + | +
+
+
+ bytes
+
+ |
+ A zkgroup request for a profile key credential for the target’s current profile. |
+
+
| 3 | ++ credential_type + | +
+
+
+ org.signal.chat.profile.CredentialType
+
+
+ |
+ The type of credential being requested. |
+
+
| 4 | ++ unidentified_access_key + | +
+
+
+ bytes
+
+ |
+ The unidentified access key for the targeted account. |
+
+
| + | Field | +Type | +Description | + +
|---|---|---|---|
|
+
+ oneof response
+
+ |
+ |||
| + 1 + | ++ result + | +
+
+
+ org.signal.chat.profile.GetProfileKeyCredentialResult
+
+
+ |
+ + + |
| + 2 + | ++ not_found + | +
+
+
+ org.signal.chat.errors.NotFound
+
+
+ |
+ Indicates the account was not found or the account's current profile was
+not found. Use |
+
+
| + 3 + | ++ failed_unidentified_authorization + | +
+
+
+ org.signal.chat.errors.FailedUnidentifiedAuthorization
+
+
+ |
+ The provided unidentified access key was incorrect |
+
+
| + | Field | +Type | +Description | + +
|---|---|---|---|
| 1 | ++ profile_key_credential + | +
+
+
+ bytes
+
+ |
+ A zkgroup credential used by a client to prove that it has the profile key +of a targeted account. |
+
+
-
+
Message
- CreateBoostReceiptCredentialsRequest
+ CreateBoostReceiptCredentialRequest
-
+
Message
- CreateBoostReceiptCredentialsResponse
+ CreateBoostReceiptCredentialResponse
-
+
Message
- CreateBoostReceiptCredentialsResult
+ CreateBoostReceiptCredentialResult
-
+
Message
- GetReceiptCredentialsRequest
+ GetReceiptCredentialRequest
-
+
Message
- GetReceiptCredentialsResponse
+ GetReceiptCredentialResponse
-
+
Message
- GetReceiptCredentialsResult
+ GetReceiptCredentialResult
Create a Stripe payment intent and return a client secret that can be used to complete the payment. -Once the payment is complete, the paymentIntentId can be used with CreateBoostReceiptCredentials
+Once the payment is complete, the paymentIntentId can be used with CreateBoostReceiptCredentialCreateBoostReceiptCredentials
+ CreateBoostReceiptCredential
org.signal.chat.purchase.CreateBoostReceiptCredentialsRequest
+ Request: org.signal.chat.purchase.CreateBoostReceiptCredentialRequest
- Response: org.signal.chat.purchase.CreateBoostReceiptCredentialsResponse
+ Response: org.signal.chat.purchase.CreateBoostReceiptCredentialResponse
GetReceiptCredentials
+ GetReceiptCredential
org.signal.chat.purchase.GetReceiptCredentialsRequest
+ Request: org.signal.chat.purchase.GetReceiptCredentialRequest
- Response: org.signal.chat.purchase.GetReceiptCredentialsResponse
+ Response: org.signal.chat.purchase.GetReceiptCredentialResponse
Note that you may in fact redeem TWO or more invoices for the same ReceiptCredentialRequest while retrying this operation if a later invoice gets paid while you are retrying. However, the returned receipt is always for the latest invoice, so it will have the latest expiration possible and no entitlement time will be lost. The important @@ -1068,7 +1068,7 @@ cannot be redeemed.
2. Create a subscription with the App Store directly via StoreKit and obtain a originalTransactionId. 3. Call this RPC with the originalTransactionId -4. Obtain a receipt via GetReceiptCredentials which can then be used to obtain the +4. Obtain a receipt via GetReceiptCredential which can then be used to obtain the entitlementPlay Billing: Set a purchaseToken that represents an IAP subscription made with Google Play Billing.
To set up a subscription with Google Play Billing: @@ -1077,7 +1077,7 @@ cannot be redeemed.
directly and obtain a purchaseToken. Do not acknowledge the purchaseToken. 3. Call this RPC with the purchaseToken -4. Obtain a receipt via GetReceiptCredentials which can then be used to obtain the +4. Obtain a receipt via GetReceiptCredential which can then be used to obtain the entitlementAfter calling this method, the payment is confirmed. Callers must durably store their subscriberId before calling this method to ensure their payment is tracked.
@@ -2007,9 +2007,9 @@ depending on which processor was used
+
- org.signal.chat.purchase.CreateBoostReceiptCredentialsResponse.CreateBoostReceiptCredentialsResult
+ org.signal.chat.purchase.CreateBoostReceiptCredentialResponse.CreateBoostReceiptCredentialResult
+
- org.signal.chat.purchase.GetReceiptCredentialsResponse.GetReceiptCredentialsResult
+ org.signal.chat.purchase.GetReceiptCredentialResponse.GetReceiptCredentialResult