mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2448 Protocol | MW, 0.33.0-rc18 (#1144)
This commit is contained in:
parent
041bfd9f57
commit
33bbaca383
3 changed files with 34 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
[versions]
|
||||
middlewareVersion = "v0.33.0-rc17"
|
||||
middlewareVersion = "v0.33.0-rc18"
|
||||
kotlinVersion = '1.9.22'
|
||||
|
||||
androidxCoreVersion = "1.12.0"
|
||||
|
|
|
@ -6451,6 +6451,7 @@ message Rpc {
|
|||
|
||||
MEMBERSHIP_NOT_FOUND = 6;
|
||||
MEMBERSHIP_WRONG_STATE = 7;
|
||||
CAN_NOT_CONNECT = 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6493,7 +6494,8 @@ message Rpc {
|
|||
PAYMENT_NODE_ERROR = 9;
|
||||
CACHE_ERROR = 10;
|
||||
// for some probable future use (if needed)
|
||||
IN_BLACKLIST = 11;
|
||||
CAN_NOT_RESERVE = 11;
|
||||
CAN_NOT_CONNECT = 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6543,6 +6545,7 @@ message Rpc {
|
|||
PAYMENT_METHOD_INVALID = 8;
|
||||
BAD_ANYNAME = 9;
|
||||
MEMBERSHIP_ALREADY_EXISTS = 10;
|
||||
CAN_NOT_CONNECT = 11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6576,6 +6579,7 @@ message Rpc {
|
|||
NOT_LOGGED_IN = 3;
|
||||
PAYMENT_NODE_ERROR = 4;
|
||||
CACHE_ERROR = 5;
|
||||
CAN_NOT_CONNECT = 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6610,6 +6614,8 @@ message Rpc {
|
|||
MEMBERSHIP_WRONG_STATE = 7;
|
||||
|
||||
BAD_ANYNAME = 8;
|
||||
|
||||
CAN_NOT_CONNECT = 9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6639,6 +6645,7 @@ message Rpc {
|
|||
|
||||
NOT_LOGGED_IN = 3;
|
||||
PAYMENT_NODE_ERROR = 4;
|
||||
CAN_NOT_CONNECT = 12;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6676,7 +6683,8 @@ message Rpc {
|
|||
EMAIL_ALREDY_SENT = 8;
|
||||
EMAIL_FAILED_TO_SEND = 9;
|
||||
|
||||
MEMBERSHIP_ALREADY_EXISTS = 10;
|
||||
MEMBERSHIP_ALREADY_EXISTS = 10;
|
||||
CAN_NOT_CONNECT = 11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6713,6 +6721,7 @@ message Rpc {
|
|||
|
||||
MEMBERSHIP_NOT_FOUND = 9;
|
||||
MEMBERSHIP_ALREADY_ACTIVE = 10;
|
||||
CAN_NOT_CONNECT = 11;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6747,6 +6756,7 @@ message Rpc {
|
|||
NOT_LOGGED_IN = 3;
|
||||
PAYMENT_NODE_ERROR = 4;
|
||||
CACHE_ERROR = 5;
|
||||
CAN_NOT_CONNECT = 6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6792,6 +6802,7 @@ message Rpc {
|
|||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
CAN_NOT_CONNECT = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6807,8 +6818,10 @@ message Rpc {
|
|||
|
||||
bool found = 2;
|
||||
|
||||
// including ".any" suffix
|
||||
string fullName = 3;
|
||||
// not including suffix
|
||||
string nsName = 3;
|
||||
|
||||
anytype.model.NameserviceNameType nsNameType = 4;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
|
@ -6818,6 +6831,7 @@ message Rpc {
|
|||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
CAN_NOT_CONNECT = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6833,8 +6847,10 @@ message Rpc {
|
|||
|
||||
bool found = 2;
|
||||
|
||||
// including ".any" suffix
|
||||
string fullName = 3;
|
||||
// not including suffix
|
||||
string nsName = 3;
|
||||
|
||||
anytype.model.NameserviceNameType nsNameType = 4;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
|
@ -6844,6 +6860,7 @@ message Rpc {
|
|||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
CAN_NOT_CONNECT = 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6861,13 +6878,15 @@ message Rpc {
|
|||
// this will use ReverseResolve to get current name
|
||||
// user can buy many names, but
|
||||
// only 1 name can be set as "current": ETH address <-> name
|
||||
string anyNameAttached = 2;
|
||||
string nsNameAttached = 2;
|
||||
|
||||
anytype.model.NameserviceNameType nsNameType = 3;
|
||||
|
||||
// Number of names that the user can reserve
|
||||
uint64 namesCountLeft = 3;
|
||||
uint64 namesCountLeft = 4;
|
||||
|
||||
// Number of operations: update name, add new data, etc
|
||||
uint64 operationsCountLeft = 4;
|
||||
uint64 operationsCountLeft = 5;
|
||||
|
||||
// TODO: all operations list
|
||||
|
||||
|
@ -6881,6 +6900,7 @@ message Rpc {
|
|||
BAD_INPUT = 2;
|
||||
NOT_LOGGED_IN = 3;
|
||||
BAD_NAME_RESOLVE = 4;
|
||||
CAN_NOT_CONNECT = 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1221,10 +1221,11 @@ message Membership {
|
|||
bool isAutoRenew = 5;
|
||||
PaymentMethod paymentMethod = 6;
|
||||
// can be empty if user did not ask for any name
|
||||
string requestedAnyName = 7;
|
||||
string nsName = 7;
|
||||
anytype.model.NameserviceNameType nsNameType = 8;
|
||||
// if the email was verified by the user or set during the checkout - it will be here
|
||||
string userEmail = 8;
|
||||
bool subscribeToNewsletter = 9;
|
||||
string userEmail = 9;
|
||||
bool subscribeToNewsletter = 10;
|
||||
}
|
||||
|
||||
message MembershipTierData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue