protobuf-platform 1.2.404 → 1.2.407
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payment/payment.proto +33 -0
- package/payment/payment_grpc_pb.js +33 -0
- package/payment/payment_pb.js +1916 -223
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -23,6 +23,7 @@ service Payment {
|
|
|
23
23
|
rpc readListPoorMethods(PoorMethodsRequest) returns (MethodItemsResponse);
|
|
24
24
|
rpc setPaymentMethodConfig(PaymentMethodConfigRequest) returns (PaymentStatusResponse);
|
|
25
25
|
rpc readPaymentMethodConfig(PaymentMethodConfigRequest) returns (PaymentMethodConfigResponse);
|
|
26
|
+
rpc readListCashierFields(CashierFieldsRequest) returns (CashierFieldItemsResponse);
|
|
26
27
|
rpc updatePaymentMethodsInBunch(ItemsBunchRequest) returns (PaymentStatusResponse);
|
|
27
28
|
//Operations
|
|
28
29
|
rpc readListOperations(PaginationRequest) returns (OperationItemsResponse);
|
|
@@ -208,6 +209,10 @@ message MethodItemsResponse {
|
|
|
208
209
|
message PoorMethodsRequest {
|
|
209
210
|
repeated int32 method_ids = 1;
|
|
210
211
|
}
|
|
212
|
+
message CashierFieldItem {
|
|
213
|
+
string code = 1;
|
|
214
|
+
optional string title = 2;
|
|
215
|
+
}
|
|
211
216
|
message PaymentMethodConfigRequest {
|
|
212
217
|
int32 method_id = 1;
|
|
213
218
|
string country = 2;
|
|
@@ -219,6 +224,7 @@ message PaymentMethodConfigRequest {
|
|
|
219
224
|
optional string config = 8;
|
|
220
225
|
optional string sdk_provider = 9;
|
|
221
226
|
optional int32 sdk_enabled = 10;
|
|
227
|
+
repeated CashierFieldItem cashier_fields = 11;
|
|
222
228
|
}
|
|
223
229
|
message PaymentMethodConfigResponse {
|
|
224
230
|
int32 method_id = 1;
|
|
@@ -231,6 +237,11 @@ message PaymentMethodConfigResponse {
|
|
|
231
237
|
optional string config = 8;
|
|
232
238
|
optional string sdk_provider = 9;
|
|
233
239
|
optional bool sdk_enabled = 10;
|
|
240
|
+
repeated CashierFieldItem cashier_fields = 11;
|
|
241
|
+
}
|
|
242
|
+
message CashierFieldsRequest {}
|
|
243
|
+
message CashierFieldItemsResponse {
|
|
244
|
+
repeated CashierFieldItem items = 1;
|
|
234
245
|
}
|
|
235
246
|
//Operations
|
|
236
247
|
message OperationItem {
|
|
@@ -316,6 +327,27 @@ message AttemptDepositRequest {
|
|
|
316
327
|
optional string accept_language = 22;
|
|
317
328
|
optional string accept_header = 23;
|
|
318
329
|
optional string user_birthday = 24;
|
|
330
|
+
optional string card_number = 25;
|
|
331
|
+
optional string card_holder = 26;
|
|
332
|
+
optional string card_expire_month = 27;
|
|
333
|
+
optional string card_expire_year = 28;
|
|
334
|
+
optional string country = 29;
|
|
335
|
+
optional string phone_number = 30;
|
|
336
|
+
optional string country_code = 31;
|
|
337
|
+
optional string zip_code = 32;
|
|
338
|
+
optional string document_id = 33;
|
|
339
|
+
optional string nationality = 34;
|
|
340
|
+
optional string address = 35;
|
|
341
|
+
optional string city = 36;
|
|
342
|
+
optional string state = 37;
|
|
343
|
+
optional string beneficiary_name = 38;
|
|
344
|
+
optional string bank_name = 39;
|
|
345
|
+
optional string bank_account = 40;
|
|
346
|
+
optional string iban = 41;
|
|
347
|
+
optional string bank_code = 42;
|
|
348
|
+
optional string bank_branch = 43;
|
|
349
|
+
optional string ifsc = 44;
|
|
350
|
+
optional string crypto_wallet = 45;
|
|
319
351
|
}
|
|
320
352
|
message GetDepositRequest {
|
|
321
353
|
int32 id = 1;
|
|
@@ -582,6 +614,7 @@ message UserPaymentMethodItem {
|
|
|
582
614
|
optional string crypto_network = 16;
|
|
583
615
|
optional string provider_payment_id = 17;
|
|
584
616
|
optional string flow_type = 18;
|
|
617
|
+
repeated CashierFieldItem cashier_fields = 19;
|
|
585
618
|
}
|
|
586
619
|
message UserPaymentMethodsResponse {
|
|
587
620
|
repeated UserPaymentMethodItem items = 1;
|
|
@@ -26,6 +26,28 @@ function deserialize_payment_AttemptWithdrawalRequest(buffer_arg) {
|
|
|
26
26
|
return payment_pb.AttemptWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
function serialize_payment_CashierFieldItemsResponse(arg) {
|
|
30
|
+
if (!(arg instanceof payment_pb.CashierFieldItemsResponse)) {
|
|
31
|
+
throw new Error('Expected argument of type payment.CashierFieldItemsResponse');
|
|
32
|
+
}
|
|
33
|
+
return Buffer.from(arg.serializeBinary());
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function deserialize_payment_CashierFieldItemsResponse(buffer_arg) {
|
|
37
|
+
return payment_pb.CashierFieldItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function serialize_payment_CashierFieldsRequest(arg) {
|
|
41
|
+
if (!(arg instanceof payment_pb.CashierFieldsRequest)) {
|
|
42
|
+
throw new Error('Expected argument of type payment.CashierFieldsRequest');
|
|
43
|
+
}
|
|
44
|
+
return Buffer.from(arg.serializeBinary());
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function deserialize_payment_CashierFieldsRequest(buffer_arg) {
|
|
48
|
+
return payment_pb.CashierFieldsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
49
|
+
}
|
|
50
|
+
|
|
29
51
|
function serialize_payment_CheckFastDepositRequest(arg) {
|
|
30
52
|
if (!(arg instanceof payment_pb.CheckFastDepositRequest)) {
|
|
31
53
|
throw new Error('Expected argument of type payment.CheckFastDepositRequest');
|
|
@@ -866,6 +888,17 @@ createSingleMethod: {
|
|
|
866
888
|
responseSerialize: serialize_payment_PaymentMethodConfigResponse,
|
|
867
889
|
responseDeserialize: deserialize_payment_PaymentMethodConfigResponse,
|
|
868
890
|
},
|
|
891
|
+
readListCashierFields: {
|
|
892
|
+
path: '/payment.Payment/readListCashierFields',
|
|
893
|
+
requestStream: false,
|
|
894
|
+
responseStream: false,
|
|
895
|
+
requestType: payment_pb.CashierFieldsRequest,
|
|
896
|
+
responseType: payment_pb.CashierFieldItemsResponse,
|
|
897
|
+
requestSerialize: serialize_payment_CashierFieldsRequest,
|
|
898
|
+
requestDeserialize: deserialize_payment_CashierFieldsRequest,
|
|
899
|
+
responseSerialize: serialize_payment_CashierFieldItemsResponse,
|
|
900
|
+
responseDeserialize: deserialize_payment_CashierFieldItemsResponse,
|
|
901
|
+
},
|
|
869
902
|
updatePaymentMethodsInBunch: {
|
|
870
903
|
path: '/payment.Payment/updatePaymentMethodsInBunch',
|
|
871
904
|
requestStream: false,
|