1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-2529 Protocol | MW 0.34.0-rc3 (#1228)

This commit is contained in:
Konstantin Ivanov 2024-05-22 20:19:44 +02:00 committed by GitHub
parent 5eddd2142d
commit 3241ae0dfe
Signed by: github
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 7 deletions

View file

@ -1,5 +1,5 @@
[versions]
middlewareVersion = "v0.34.0-rc2"
middlewareVersion = "v0.34.0-rc3"
kotlinVersion = '1.9.22'
androidxCoreVersion = "1.13.0"

View file

@ -6557,8 +6557,7 @@ message Rpc {
/**
* Generate a unique id for payment request (for mobile clients)
* Generate a link to Stripe where user can pay for the membership (for desktop client)
* TODO: GO-3347 rename GetPaymentUrl to RegisterPaymentRequest
* Generate a link to Stripe/Crypto where user can pay for the membership (for desktop client)
*/
message RegisterPaymentRequest {
message Request {
@ -6571,6 +6570,12 @@ message Rpc {
string nsName = 3;
anytype.model.NameserviceNameType nsNameType = 4;
// for some tiers and payment methods (like crypto) we need an e-mail
// please get if either from:
// 1. Membership.GetStatus() -> anytype.model.Membership.userEmail field
// 2. Ask user from the UI
string userEmail = 5;
}
message Response {
@ -6601,6 +6606,8 @@ message Rpc {
BAD_ANYNAME = 9;
MEMBERSHIP_ALREADY_EXISTS = 10;
CAN_NOT_CONNECT = 11;
// for tiers and payment methods that require that
EMAIL_WRONG_FORMAT = 12;
}
}
}
@ -6819,11 +6826,8 @@ message Rpc {
message VerifyAppStoreReceipt {
message Request {
// billingId is used to identify payment request on payment node side
string billingId = 1;
// receipt is a JWT-encoded string including info about subscription purchase
string receipt = 2;
string receipt = 1;
}
message Response {