@t-0/provider-sdk 1.0.22 → 1.0.24
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/README.md +2 -2
- package/lib/client/client.d.ts +3 -33
- package/lib/client/client.js +4 -5
- package/lib/common/gen/tzero/v1/common/common_pb.d.ts +64 -0
- package/lib/common/gen/tzero/v1/common/common_pb.js +53 -0
- package/lib/common/gen/tzero/v1/common/payment_method_pb.d.ts +122 -0
- package/lib/common/gen/tzero/v1/common/payment_method_pb.js +57 -0
- package/lib/common/gen/tzero/v1/payment/network_pb.d.ts +567 -0
- package/lib/common/gen/tzero/v1/payment/network_pb.js +144 -0
- package/lib/common/gen/tzero/v1/payment/provider_pb.d.ts +641 -0
- package/lib/common/gen/tzero/v1/payment/provider_pb.js +203 -0
- package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +296 -0
- package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +84 -0
- package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +214 -0
- package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +59 -0
- package/lib/common/gen/tzero/v1/public/public_pb.d.ts +234 -0
- package/lib/common/gen/tzero/v1/public/public_pb.js +85 -0
- package/lib/gen/common/common_pb.d.ts +39 -1
- package/lib/gen/common/common_pb.js +42 -2
- package/lib/gen/common/payment_method_pb.d.ts +77 -6
- package/lib/gen/common/payment_method_pb.js +41 -2
- package/lib/gen/network/network_pb.d.ts +16 -98
- package/lib/gen/network/network_pb.js +2 -21
- package/lib/gen/network/provider_pb.d.ts +20 -98
- package/lib/gen/network/provider_pb.js +1 -21
- package/lib/gen/payment_intent/provider/provider_pb.d.ts +296 -0
- package/lib/gen/payment_intent/provider/provider_pb.js +84 -0
- package/lib/gen/payment_intent/recipient/recipient_pb.d.ts +214 -0
- package/lib/gen/payment_intent/recipient/recipient_pb.js +59 -0
- package/lib/index.d.ts +6 -4
- package/lib/index.js +6 -4
- package/lib/payment_intent/provider/index.d.ts +1 -0
- package/lib/payment_intent/provider/index.js +1 -0
- package/lib/payment_intent/recipient/index.d.ts +1 -0
- package/lib/payment_intent/recipient/index.js +1 -0
- package/lib/service/service.d.ts +6 -2
- package/lib/service/service.js +4 -6
- package/package.json +7 -7
|
@@ -1,13 +1,53 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file common/common.proto (package tzero.v1.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file common/common.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_common_common = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_common_common = /*@__PURE__*/ fileDesc("ChNjb21tb24vY29tbW9uLnByb3RvEg90emVyby52MS5jb21tb24iLQoHRGVjaW1hbBIQCgh1bnNjYWxlZBgKIAEoAxIQCghleHBvbmVudBgUIAEoBSpRCgpCbG9ja2NoYWluEhoKFkJMT0NLQ0hBSU5fVU5TUEVDSUZJRUQQABISCg5CTE9DS0NIQUlOX0JTQxAKEhMKD0JMT0NLQ0hBSU5fVFJPThBkKj0KClN0YWJsZWNvaW4SGgoWU1RBQkxFQ09JTl9VTlNQRUNJRklFRBAAEhMKD1NUQUJMRUNPSU5fVVNEVBAKQoABChNjb20udHplcm8udjEuY29tbW9uQgtDb21tb25Qcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message tzero.v1.common.Decimal.
|
|
11
11
|
* Use `create(DecimalSchema)` to create a new message.
|
|
12
12
|
*/
|
|
13
13
|
export const DecimalSchema = /*@__PURE__*/ messageDesc(file_common_common, 0);
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum tzero.v1.common.Blockchain
|
|
16
|
+
*/
|
|
17
|
+
export var Blockchain;
|
|
18
|
+
(function (Blockchain) {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: BLOCKCHAIN_UNSPECIFIED = 0;
|
|
21
|
+
*/
|
|
22
|
+
Blockchain[Blockchain["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
23
|
+
/**
|
|
24
|
+
* @generated from enum value: BLOCKCHAIN_BSC = 10;
|
|
25
|
+
*/
|
|
26
|
+
Blockchain[Blockchain["BSC"] = 10] = "BSC";
|
|
27
|
+
/**
|
|
28
|
+
* @generated from enum value: BLOCKCHAIN_TRON = 100;
|
|
29
|
+
*/
|
|
30
|
+
Blockchain[Blockchain["TRON"] = 100] = "TRON";
|
|
31
|
+
})(Blockchain || (Blockchain = {}));
|
|
32
|
+
/**
|
|
33
|
+
* Describes the enum tzero.v1.common.Blockchain.
|
|
34
|
+
*/
|
|
35
|
+
export const BlockchainSchema = /*@__PURE__*/ enumDesc(file_common_common, 0);
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum tzero.v1.common.Stablecoin
|
|
38
|
+
*/
|
|
39
|
+
export var Stablecoin;
|
|
40
|
+
(function (Stablecoin) {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: STABLECOIN_UNSPECIFIED = 0;
|
|
43
|
+
*/
|
|
44
|
+
Stablecoin[Stablecoin["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: STABLECOIN_USDT = 10;
|
|
47
|
+
*/
|
|
48
|
+
Stablecoin[Stablecoin["USDT"] = 10] = "USDT";
|
|
49
|
+
})(Stablecoin || (Stablecoin = {}));
|
|
50
|
+
/**
|
|
51
|
+
* Describes the enum tzero.v1.common.Stablecoin.
|
|
52
|
+
*/
|
|
53
|
+
export const StablecoinSchema = /*@__PURE__*/ enumDesc(file_common_common, 1);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Blockchain, Stablecoin } from "./common_pb";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file common/payment_method.proto.
|
|
@@ -17,6 +18,18 @@ export type PaymentMethod = Message<"tzero.v1.common.PaymentMethod"> & {
|
|
|
17
18
|
*/
|
|
18
19
|
value: SepaPaymentMethod;
|
|
19
20
|
case: "sepa";
|
|
21
|
+
} | {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: tzero.v1.common.SwiftPaymentMethod swift = 30;
|
|
24
|
+
*/
|
|
25
|
+
value: SwiftPaymentMethod;
|
|
26
|
+
case: "swift";
|
|
27
|
+
} | {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: tzero.v1.common.StablecoinPaymentMethod stablecoin = 40;
|
|
30
|
+
*/
|
|
31
|
+
value: StablecoinPaymentMethod;
|
|
32
|
+
case: "stablecoin";
|
|
20
33
|
} | {
|
|
21
34
|
case: undefined;
|
|
22
35
|
value?: undefined;
|
|
@@ -32,20 +45,78 @@ export declare const PaymentMethodSchema: GenMessage<PaymentMethod>;
|
|
|
32
45
|
*/
|
|
33
46
|
export type SepaPaymentMethod = Message<"tzero.v1.common.SepaPaymentMethod"> & {
|
|
34
47
|
/**
|
|
35
|
-
* @generated from field: string iban =
|
|
48
|
+
* @generated from field: string iban = 20;
|
|
36
49
|
*/
|
|
37
50
|
iban: string;
|
|
38
51
|
/**
|
|
39
|
-
* @generated from field: string
|
|
52
|
+
* @generated from field: string beneficiary_name = 30;
|
|
40
53
|
*/
|
|
41
|
-
|
|
54
|
+
beneficiaryName: string;
|
|
42
55
|
/**
|
|
43
|
-
* @generated from field: string
|
|
56
|
+
* @generated from field: string payment_reference = 40;
|
|
44
57
|
*/
|
|
45
|
-
|
|
58
|
+
paymentReference: string;
|
|
46
59
|
};
|
|
47
60
|
/**
|
|
48
61
|
* Describes the message tzero.v1.common.SepaPaymentMethod.
|
|
49
62
|
* Use `create(SepaPaymentMethodSchema)` to create a new message.
|
|
50
63
|
*/
|
|
51
64
|
export declare const SepaPaymentMethodSchema: GenMessage<SepaPaymentMethod>;
|
|
65
|
+
/**
|
|
66
|
+
* @generated from message tzero.v1.common.SwiftPaymentMethod
|
|
67
|
+
*/
|
|
68
|
+
export type SwiftPaymentMethod = Message<"tzero.v1.common.SwiftPaymentMethod"> & {};
|
|
69
|
+
/**
|
|
70
|
+
* Describes the message tzero.v1.common.SwiftPaymentMethod.
|
|
71
|
+
* Use `create(SwiftPaymentMethodSchema)` to create a new message.
|
|
72
|
+
*/
|
|
73
|
+
export declare const SwiftPaymentMethodSchema: GenMessage<SwiftPaymentMethod>;
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message tzero.v1.common.StablecoinPaymentMethod
|
|
76
|
+
*/
|
|
77
|
+
export type StablecoinPaymentMethod = Message<"tzero.v1.common.StablecoinPaymentMethod"> & {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: tzero.v1.common.Blockchain blockchain = 10;
|
|
80
|
+
*/
|
|
81
|
+
blockchain: Blockchain;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: tzero.v1.common.Stablecoin stablecoin = 20;
|
|
84
|
+
*/
|
|
85
|
+
stablecoin: Stablecoin;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string address = 30;
|
|
88
|
+
*/
|
|
89
|
+
address: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message tzero.v1.common.StablecoinPaymentMethod.
|
|
93
|
+
* Use `create(StablecoinPaymentMethodSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const StablecoinPaymentMethodSchema: GenMessage<StablecoinPaymentMethod>;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
98
|
+
*/
|
|
99
|
+
export declare enum PaymentMethodType {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_UNSPECIFIED = 0;
|
|
102
|
+
*/
|
|
103
|
+
UNSPECIFIED = 0,
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SEPA = 10;
|
|
106
|
+
*/
|
|
107
|
+
SEPA = 10,
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SWIFT = 20;
|
|
110
|
+
*/
|
|
111
|
+
SWIFT = 20,
|
|
112
|
+
/**
|
|
113
|
+
* only pay in
|
|
114
|
+
*
|
|
115
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
|
|
116
|
+
*/
|
|
117
|
+
CARD = 30
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Describes the enum tzero.v1.common.PaymentMethodType.
|
|
121
|
+
*/
|
|
122
|
+
export declare const PaymentMethodTypeSchema: GenEnum<PaymentMethodType>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// @generated by protoc-gen-es v2.6.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file common/payment_method.proto (package tzero.v1.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_common_common } from "./common_pb";
|
|
5
6
|
/**
|
|
6
7
|
* Describes the file common/payment_method.proto.
|
|
7
8
|
*/
|
|
8
|
-
export const file_common_payment_method = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_common_payment_method = /*@__PURE__*/ fileDesc("Chtj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
* Describes the message tzero.v1.common.PaymentMethod.
|
|
11
12
|
* Use `create(PaymentMethodSchema)` to create a new message.
|
|
@@ -16,3 +17,41 @@ export const PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment
|
|
|
16
17
|
* Use `create(SepaPaymentMethodSchema)` to create a new message.
|
|
17
18
|
*/
|
|
18
19
|
export const SepaPaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message tzero.v1.common.SwiftPaymentMethod.
|
|
22
|
+
* Use `create(SwiftPaymentMethodSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const SwiftPaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message tzero.v1.common.StablecoinPaymentMethod.
|
|
27
|
+
* Use `create(StablecoinPaymentMethodSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const StablecoinPaymentMethodSchema = /*@__PURE__*/ messageDesc(file_common_payment_method, 3);
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
32
|
+
*/
|
|
33
|
+
export var PaymentMethodType;
|
|
34
|
+
(function (PaymentMethodType) {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_UNSPECIFIED = 0;
|
|
37
|
+
*/
|
|
38
|
+
PaymentMethodType[PaymentMethodType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SEPA = 10;
|
|
41
|
+
*/
|
|
42
|
+
PaymentMethodType[PaymentMethodType["SEPA"] = 10] = "SEPA";
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_SWIFT = 20;
|
|
45
|
+
*/
|
|
46
|
+
PaymentMethodType[PaymentMethodType["SWIFT"] = 20] = "SWIFT";
|
|
47
|
+
/**
|
|
48
|
+
* only pay in
|
|
49
|
+
*
|
|
50
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
|
|
51
|
+
*/
|
|
52
|
+
PaymentMethodType[PaymentMethodType["CARD"] = 30] = "CARD";
|
|
53
|
+
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
54
|
+
/**
|
|
55
|
+
* Describes the enum tzero.v1.common.PaymentMethodType.
|
|
56
|
+
*/
|
|
57
|
+
export const PaymentMethodTypeSchema = /*@__PURE__*/ enumDesc(file_common_payment_method, 0);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Decimal } from "../common/common_pb";
|
|
3
|
+
import type { PaymentMethodType } from "../common/payment_method_pb";
|
|
3
4
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
6
|
/**
|
|
@@ -51,6 +52,10 @@ export type UpdateQuoteRequest_Quote = Message<"tzero.v1.network.UpdateQuoteRequ
|
|
|
51
52
|
* @generated from field: tzero.v1.network.QuoteType quote_type = 20;
|
|
52
53
|
*/
|
|
53
54
|
quoteType: QuoteType;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 25;
|
|
57
|
+
*/
|
|
58
|
+
paymentMethod: PaymentMethodType;
|
|
54
59
|
/**
|
|
55
60
|
* list of bands for this quote
|
|
56
61
|
*
|
|
@@ -189,19 +194,29 @@ export type CreatePaymentRequest = Message<"tzero.v1.network.CreatePaymentReques
|
|
|
189
194
|
*/
|
|
190
195
|
amount?: Decimal;
|
|
191
196
|
/**
|
|
192
|
-
* if not specified, USD is used
|
|
197
|
+
* if not specified, USD is used
|
|
193
198
|
*
|
|
194
199
|
* @generated from field: optional string payin_currency = 40;
|
|
195
200
|
*/
|
|
196
201
|
payinCurrency?: string;
|
|
197
202
|
/**
|
|
203
|
+
* optional or option in the oneof?
|
|
204
|
+
*
|
|
198
205
|
* @generated from field: tzero.v1.network.CreatePaymentRequest.Sender sender = 50;
|
|
199
206
|
*/
|
|
200
207
|
sender?: CreatePaymentRequest_Sender;
|
|
201
208
|
/**
|
|
209
|
+
* optional or option in the oneof?
|
|
210
|
+
*
|
|
202
211
|
* @generated from field: tzero.v1.network.CreatePaymentRequest.Recipient recipient = 60;
|
|
203
212
|
*/
|
|
204
213
|
recipient?: CreatePaymentRequest_Recipient;
|
|
214
|
+
/**
|
|
215
|
+
* optional reference for the payment, up to 140 characters
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: optional string reference = 70;
|
|
218
|
+
*/
|
|
219
|
+
reference?: string;
|
|
205
220
|
/**
|
|
206
221
|
* if specified, must be a valid quoteId that was previously returned by the GetPayoutQuote method
|
|
207
222
|
*
|
|
@@ -463,79 +478,6 @@ export type UpdatePayoutResponse = Message<"tzero.v1.network.UpdatePayoutRespons
|
|
|
463
478
|
* Use `create(UpdatePayoutResponseSchema)` to create a new message.
|
|
464
479
|
*/
|
|
465
480
|
export declare const UpdatePayoutResponseSchema: GenMessage<UpdatePayoutResponse>;
|
|
466
|
-
/**
|
|
467
|
-
* @generated from message tzero.v1.network.GetKycDataRequest
|
|
468
|
-
*/
|
|
469
|
-
export type GetKycDataRequest = Message<"tzero.v1.network.GetKycDataRequest"> & {
|
|
470
|
-
/**
|
|
471
|
-
* @generated from oneof tzero.v1.network.GetKycDataRequest.account
|
|
472
|
-
*/
|
|
473
|
-
account: {
|
|
474
|
-
/**
|
|
475
|
-
* @generated from field: string person_id = 10;
|
|
476
|
-
*/
|
|
477
|
-
value: string;
|
|
478
|
-
case: "personId";
|
|
479
|
-
} | {
|
|
480
|
-
case: undefined;
|
|
481
|
-
value?: undefined;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
/**
|
|
485
|
-
* Describes the message tzero.v1.network.GetKycDataRequest.
|
|
486
|
-
* Use `create(GetKycDataRequestSchema)` to create a new message.
|
|
487
|
-
*/
|
|
488
|
-
export declare const GetKycDataRequestSchema: GenMessage<GetKycDataRequest>;
|
|
489
|
-
/**
|
|
490
|
-
* @generated from message tzero.v1.network.GetKycDataResponse
|
|
491
|
-
*/
|
|
492
|
-
export type GetKycDataResponse = Message<"tzero.v1.network.GetKycDataResponse"> & {
|
|
493
|
-
/**
|
|
494
|
-
* @generated from oneof tzero.v1.network.GetKycDataResponse.kyc_data
|
|
495
|
-
*/
|
|
496
|
-
kycData: {
|
|
497
|
-
/**
|
|
498
|
-
* @generated from field: string sumsub_kyc_token = 10;
|
|
499
|
-
*/
|
|
500
|
-
value: string;
|
|
501
|
-
case: "sumsubKycToken";
|
|
502
|
-
} | {
|
|
503
|
-
case: undefined;
|
|
504
|
-
value?: undefined;
|
|
505
|
-
};
|
|
506
|
-
};
|
|
507
|
-
/**
|
|
508
|
-
* Describes the message tzero.v1.network.GetKycDataResponse.
|
|
509
|
-
* Use `create(GetKycDataResponseSchema)` to create a new message.
|
|
510
|
-
*/
|
|
511
|
-
export declare const GetKycDataResponseSchema: GenMessage<GetKycDataResponse>;
|
|
512
|
-
/**
|
|
513
|
-
* @generated from message tzero.v1.network.CreatePayInRequest
|
|
514
|
-
*/
|
|
515
|
-
export type CreatePayInRequest = Message<"tzero.v1.network.CreatePayInRequest"> & {
|
|
516
|
-
/**
|
|
517
|
-
* @generated from field: string payment_id = 10;
|
|
518
|
-
*/
|
|
519
|
-
paymentId: string;
|
|
520
|
-
/**
|
|
521
|
-
* @generated from field: tzero.v1.common.Decimal amount = 20;
|
|
522
|
-
*/
|
|
523
|
-
amount?: Decimal;
|
|
524
|
-
};
|
|
525
|
-
/**
|
|
526
|
-
* Describes the message tzero.v1.network.CreatePayInRequest.
|
|
527
|
-
* Use `create(CreatePayInRequestSchema)` to create a new message.
|
|
528
|
-
*/
|
|
529
|
-
export declare const CreatePayInRequestSchema: GenMessage<CreatePayInRequest>;
|
|
530
|
-
/**
|
|
531
|
-
* @generated from message tzero.v1.network.CreatePayInResponse
|
|
532
|
-
*/
|
|
533
|
-
export type CreatePayInResponse = Message<"tzero.v1.network.CreatePayInResponse"> & {};
|
|
534
|
-
/**
|
|
535
|
-
* Describes the message tzero.v1.network.CreatePayInResponse.
|
|
536
|
-
* Use `create(CreatePayInResponseSchema)` to create a new message.
|
|
537
|
-
*/
|
|
538
|
-
export declare const CreatePayInResponseSchema: GenMessage<CreatePayInResponse>;
|
|
539
481
|
/**
|
|
540
482
|
* @generated from enum tzero.v1.network.QuoteType
|
|
541
483
|
*/
|
|
@@ -622,28 +564,4 @@ export declare const NetworkService: GenService<{
|
|
|
622
564
|
input: typeof UpdatePayoutRequestSchema;
|
|
623
565
|
output: typeof UpdatePayoutResponseSchema;
|
|
624
566
|
};
|
|
625
|
-
/**
|
|
626
|
-
* *
|
|
627
|
-
* Inform the network that the provider has received a pay-in from the user.
|
|
628
|
-
* This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
629
|
-
*
|
|
630
|
-
* @generated from rpc tzero.v1.network.NetworkService.CreatePayIn
|
|
631
|
-
*/
|
|
632
|
-
createPayIn: {
|
|
633
|
-
methodKind: "unary";
|
|
634
|
-
input: typeof CreatePayInRequestSchema;
|
|
635
|
-
output: typeof CreatePayInResponseSchema;
|
|
636
|
-
};
|
|
637
|
-
/**
|
|
638
|
-
*
|
|
639
|
-
* Retrieve KYC verification data (e.g., SumSub token) for a person involved in the payment.
|
|
640
|
-
*
|
|
641
|
-
*
|
|
642
|
-
* @generated from rpc tzero.v1.network.NetworkService.GetKycData
|
|
643
|
-
*/
|
|
644
|
-
getKycData: {
|
|
645
|
-
methodKind: "unary";
|
|
646
|
-
input: typeof GetKycDataRequestSchema;
|
|
647
|
-
output: typeof GetKycDataResponseSchema;
|
|
648
|
-
};
|
|
649
567
|
}>;
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_common_common } from "../common/common_pb";
|
|
6
|
+
import { file_common_payment_method } from "../common/payment_method_pb";
|
|
6
7
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
8
|
/**
|
|
8
9
|
* Describes the file network/network.proto.
|
|
9
10
|
*/
|
|
10
|
-
export const file_network_network = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_network_network = /*@__PURE__*/ fileDesc("ChVuZXR3b3JrL25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLm5ldHdvcmsirAQKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEubmV0d29yay5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEubmV0d29yay5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUanAMKBVF1b3RlEhAKCGN1cnJlbmN5GAogASgJEi8KCnF1b3RlX3R5cGUYFCABKA4yGy50emVyby52MS5uZXR3b3JrLlF1b3RlVHlwZRI6Cg5wYXltZW50X21ldGhvZBgZIAEoDjIiLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kVHlwZRI+CgViYW5kcxgeIAMoCzIvLnR6ZXJvLnYxLm5ldHdvcmsuVXBkYXRlUXVvdGVSZXF1ZXN0LlF1b3RlLkJhbmQSLgoKZXhwaXJhdGlvbhg8IAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLQoJdGltZXN0YW1wGEYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBp1CgRCYW5kEhcKD2NsaWVudF9xdW90ZV9pZBgKIAEoCRIsCgptYXhfYW1vdW50GCggASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwSJgoEcmF0ZRgyIAEoCzIYLnR6ZXJvLnYxLmNvbW1vbi5EZWNpbWFsIhUKE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RklFRBAAEhcKE1FVT1RFX1RZUEVfUkVBTFRJTUUQATKmAwoOTmV0d29ya1NlcnZpY2USXwoLVXBkYXRlUXVvdGUSJC50emVyby52MS5uZXR3b3JrLlVwZGF0ZVF1b3RlUmVxdWVzdBolLnR6ZXJvLnYxLm5ldHdvcmsuVXBkYXRlUXVvdGVSZXNwb25zZSIDkAICEmgKDkdldFBheW91dFF1b3RlEicudHplcm8udjEubmV0d29yay5HZXRQYXlvdXRRdW90ZVJlcXVlc3QaKC50emVyby52MS5uZXR3b3JrLkdldFBheW91dFF1b3RlUmVzcG9uc2UiA5ACARJlCg1DcmVhdGVQYXltZW50EiYudHplcm8udjEubmV0d29yay5DcmVhdGVQYXltZW50UmVxdWVzdBonLnR6ZXJvLnYxLm5ldHdvcmsuQ3JlYXRlUGF5bWVudFJlc3BvbnNlIgOQAgISYgoMVXBkYXRlUGF5b3V0EiUudHplcm8udjEubmV0d29yay5VcGRhdGVQYXlvdXRSZXF1ZXN0GiYudHplcm8udjEubmV0d29yay5VcGRhdGVQYXlvdXRSZXNwb25zZSIDkAICQoYBChRjb20udHplcm8udjEubmV0d29ya0IMTmV0d29ya1Byb3RvUAGiAgNUVk6qAhBUemVyby5WMS5OZXR3b3JrygIQVHplcm9cVjFcTmV0d29ya+ICHFR6ZXJvXFYxXE5ldHdvcmtcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6Ok5ldHdvcmtiBnByb3RvMw", [file_common_common, file_common_payment_method, file_google_protobuf_timestamp]);
|
|
11
12
|
/**
|
|
12
13
|
* Describes the message tzero.v1.network.UpdateQuoteRequest.
|
|
13
14
|
* Use `create(UpdateQuoteRequestSchema)` to create a new message.
|
|
@@ -112,26 +113,6 @@ export const UpdatePayoutRequest_FailureSchema = /*@__PURE__*/ messageDesc(file_
|
|
|
112
113
|
* Use `create(UpdatePayoutResponseSchema)` to create a new message.
|
|
113
114
|
*/
|
|
114
115
|
export const UpdatePayoutResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 8);
|
|
115
|
-
/**
|
|
116
|
-
* Describes the message tzero.v1.network.GetKycDataRequest.
|
|
117
|
-
* Use `create(GetKycDataRequestSchema)` to create a new message.
|
|
118
|
-
*/
|
|
119
|
-
export const GetKycDataRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 9);
|
|
120
|
-
/**
|
|
121
|
-
* Describes the message tzero.v1.network.GetKycDataResponse.
|
|
122
|
-
* Use `create(GetKycDataResponseSchema)` to create a new message.
|
|
123
|
-
*/
|
|
124
|
-
export const GetKycDataResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 10);
|
|
125
|
-
/**
|
|
126
|
-
* Describes the message tzero.v1.network.CreatePayInRequest.
|
|
127
|
-
* Use `create(CreatePayInRequestSchema)` to create a new message.
|
|
128
|
-
*/
|
|
129
|
-
export const CreatePayInRequestSchema = /*@__PURE__*/ messageDesc(file_network_network, 11);
|
|
130
|
-
/**
|
|
131
|
-
* Describes the message tzero.v1.network.CreatePayInResponse.
|
|
132
|
-
* Use `create(CreatePayInResponseSchema)` to create a new message.
|
|
133
|
-
*/
|
|
134
|
-
export const CreatePayInResponseSchema = /*@__PURE__*/ messageDesc(file_network_network, 12);
|
|
135
116
|
/**
|
|
136
117
|
* @generated from enum tzero.v1.network.QuoteType
|
|
137
118
|
*/
|
|
@@ -103,8 +103,6 @@ export declare const AppendLedgerEntriesRequest_TransactionSchema: GenMessage<Ap
|
|
|
103
103
|
*/
|
|
104
104
|
export type AppendLedgerEntriesRequest_Transaction_PayIn = Message<"network.v1.provider.AppendLedgerEntriesRequest.Transaction.PayIn"> & {
|
|
105
105
|
/**
|
|
106
|
-
* TODO: should we include details in the transaction?
|
|
107
|
-
*
|
|
108
106
|
* @generated from field: uint64 payment_id = 10;
|
|
109
107
|
*/
|
|
110
108
|
paymentId: bigint;
|
|
@@ -361,17 +359,31 @@ export type PayoutRequest = Message<"network.v1.provider.PayoutRequest"> & {
|
|
|
361
359
|
* amount in currency of the payout
|
|
362
360
|
* This is the amount that should be paid out to the recipient.
|
|
363
361
|
*
|
|
362
|
+
* *
|
|
363
|
+
* payout_method is the payment method for the payout, e.g. bank transfer, crypto transfer, etc.
|
|
364
|
+
* This is used to specify how the payout should be made.
|
|
365
|
+
*
|
|
364
366
|
* @generated from field: tzero.v1.common.Decimal amount = 50;
|
|
365
367
|
*/
|
|
366
368
|
amount?: Decimal;
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: optional tzero.v1.common.PaymentMethod payout_method = 60;
|
|
371
|
+
*/
|
|
372
|
+
payoutMethod?: PaymentMethod;
|
|
367
373
|
/**
|
|
368
374
|
* *
|
|
369
|
-
*
|
|
370
|
-
* This is used to specify how the payout should be made.
|
|
375
|
+
* optional reference for the payment, up to 140 characters
|
|
371
376
|
*
|
|
372
|
-
* @generated from field:
|
|
377
|
+
* @generated from field: optional string reference = 70;
|
|
373
378
|
*/
|
|
374
|
-
|
|
379
|
+
reference?: string;
|
|
380
|
+
/**
|
|
381
|
+
* *
|
|
382
|
+
* Pay-in provider id which initiated the pay out.
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: uint32 pay_in_provider_id = 80;
|
|
385
|
+
*/
|
|
386
|
+
payInProviderId: number;
|
|
375
387
|
};
|
|
376
388
|
/**
|
|
377
389
|
* Describes the message network.v1.provider.PayoutRequest.
|
|
@@ -570,86 +582,6 @@ export type UpdateLimitResponse = Message<"network.v1.provider.UpdateLimitRespon
|
|
|
570
582
|
* Use `create(UpdateLimitResponseSchema)` to create a new message.
|
|
571
583
|
*/
|
|
572
584
|
export declare const UpdateLimitResponseSchema: GenMessage<UpdateLimitResponse>;
|
|
573
|
-
/**
|
|
574
|
-
* @generated from message network.v1.provider.CreatePayInDetailsRequest
|
|
575
|
-
*/
|
|
576
|
-
export type CreatePayInDetailsRequest = Message<"network.v1.provider.CreatePayInDetailsRequest"> & {
|
|
577
|
-
/**
|
|
578
|
-
* *
|
|
579
|
-
* payment_intent_id is a unique identifier for the payment intent, which is used to create a payment later.
|
|
580
|
-
*
|
|
581
|
-
* @generated from field: string payment_intent_id = 10;
|
|
582
|
-
*/
|
|
583
|
-
paymentIntentId: string;
|
|
584
|
-
/**
|
|
585
|
-
* *
|
|
586
|
-
* Sender details for the pay-in process.
|
|
587
|
-
*
|
|
588
|
-
* @generated from field: network.v1.provider.CreatePayInDetailsRequest.Sender sender = 40;
|
|
589
|
-
*/
|
|
590
|
-
sender?: CreatePayInDetailsRequest_Sender;
|
|
591
|
-
};
|
|
592
|
-
/**
|
|
593
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.
|
|
594
|
-
* Use `create(CreatePayInDetailsRequestSchema)` to create a new message.
|
|
595
|
-
*/
|
|
596
|
-
export declare const CreatePayInDetailsRequestSchema: GenMessage<CreatePayInDetailsRequest>;
|
|
597
|
-
/**
|
|
598
|
-
* @generated from message network.v1.provider.CreatePayInDetailsRequest.Sender
|
|
599
|
-
*/
|
|
600
|
-
export type CreatePayInDetailsRequest_Sender = Message<"network.v1.provider.CreatePayInDetailsRequest.Sender"> & {
|
|
601
|
-
/**
|
|
602
|
-
* @generated from oneof network.v1.provider.CreatePayInDetailsRequest.Sender.sender
|
|
603
|
-
*/
|
|
604
|
-
sender: {
|
|
605
|
-
/**
|
|
606
|
-
* @generated from field: network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson private_person = 10;
|
|
607
|
-
*/
|
|
608
|
-
value: CreatePayInDetailsRequest_Sender_PrivatePerson;
|
|
609
|
-
case: "privatePerson";
|
|
610
|
-
} | {
|
|
611
|
-
case: undefined;
|
|
612
|
-
value?: undefined;
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
/**
|
|
616
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.
|
|
617
|
-
* Use `create(CreatePayInDetailsRequest_SenderSchema)` to create a new message.
|
|
618
|
-
*/
|
|
619
|
-
export declare const CreatePayInDetailsRequest_SenderSchema: GenMessage<CreatePayInDetailsRequest_Sender>;
|
|
620
|
-
/**
|
|
621
|
-
* @generated from message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson
|
|
622
|
-
*/
|
|
623
|
-
export type CreatePayInDetailsRequest_Sender_PrivatePerson = Message<"network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson"> & {
|
|
624
|
-
/**
|
|
625
|
-
* can be used to get KYC data
|
|
626
|
-
*
|
|
627
|
-
* @generated from field: string private_person_id = 10;
|
|
628
|
-
*/
|
|
629
|
-
privatePersonId: string;
|
|
630
|
-
};
|
|
631
|
-
/**
|
|
632
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson.
|
|
633
|
-
* Use `create(CreatePayInDetailsRequest_Sender_PrivatePersonSchema)` to create a new message.
|
|
634
|
-
*/
|
|
635
|
-
export declare const CreatePayInDetailsRequest_Sender_PrivatePersonSchema: GenMessage<CreatePayInDetailsRequest_Sender_PrivatePerson>;
|
|
636
|
-
/**
|
|
637
|
-
* @generated from message network.v1.provider.CreatePayInDetailsResponse
|
|
638
|
-
*/
|
|
639
|
-
export type CreatePayInDetailsResponse = Message<"network.v1.provider.CreatePayInDetailsResponse"> & {
|
|
640
|
-
/**
|
|
641
|
-
* *
|
|
642
|
-
* List of available pay-in methods for the sender. This is used to present the user with options for how they can pay in.
|
|
643
|
-
*
|
|
644
|
-
* @generated from field: repeated tzero.v1.common.PaymentMethod pay_in_method = 10;
|
|
645
|
-
*/
|
|
646
|
-
payInMethod: PaymentMethod[];
|
|
647
|
-
};
|
|
648
|
-
/**
|
|
649
|
-
* Describes the message network.v1.provider.CreatePayInDetailsResponse.
|
|
650
|
-
* Use `create(CreatePayInDetailsResponseSchema)` to create a new message.
|
|
651
|
-
*/
|
|
652
|
-
export declare const CreatePayInDetailsResponseSchema: GenMessage<CreatePayInDetailsResponse>;
|
|
653
585
|
/**
|
|
654
586
|
* *
|
|
655
587
|
* This service must be implemented by the provider.
|
|
@@ -662,6 +594,7 @@ export declare const ProviderService: GenService<{
|
|
|
662
594
|
/**
|
|
663
595
|
* *
|
|
664
596
|
* Network instructs the provider to execute a payout to the recipient.
|
|
597
|
+
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
665
598
|
*
|
|
666
599
|
* @generated from rpc network.v1.provider.ProviderService.PayOut
|
|
667
600
|
*/
|
|
@@ -673,6 +606,7 @@ export declare const ProviderService: GenService<{
|
|
|
673
606
|
/**
|
|
674
607
|
* *
|
|
675
608
|
* Network provides an update on the status of a payment. This can be either a success or a failure.
|
|
609
|
+
* This method should be idempotent, meaning that multiple calls with the same parameters will have no additional effect.
|
|
676
610
|
*
|
|
677
611
|
* @generated from rpc network.v1.provider.ProviderService.UpdatePayment
|
|
678
612
|
*/
|
|
@@ -681,18 +615,6 @@ export declare const ProviderService: GenService<{
|
|
|
681
615
|
input: typeof UpdatePaymentRequestSchema;
|
|
682
616
|
output: typeof UpdatePaymentResponseSchema;
|
|
683
617
|
};
|
|
684
|
-
/**
|
|
685
|
-
* *
|
|
686
|
-
* Network asks the provider for possible pay-in options for a sender, in preparation for a pay-in process.
|
|
687
|
-
* This is optional, but if implemented, it should return a list of available pay-in methods.
|
|
688
|
-
*
|
|
689
|
-
* @generated from rpc network.v1.provider.ProviderService.CreatePayInDetails
|
|
690
|
-
*/
|
|
691
|
-
createPayInDetails: {
|
|
692
|
-
methodKind: "unary";
|
|
693
|
-
input: typeof CreatePayInDetailsRequestSchema;
|
|
694
|
-
output: typeof CreatePayInDetailsResponseSchema;
|
|
695
|
-
};
|
|
696
618
|
/**
|
|
697
619
|
* *
|
|
698
620
|
* This rpc is used to notify the provider about the changes in credit limit and/or credit usage.
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file network/provider.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_network_provider = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_network_provider = /*@__PURE__*/ fileDesc("ChZuZXR3b3J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Lm5ldHdvcmsudjEucHJvdmlkZXIuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJClgEKF2NvbS5uZXR3b3JrLnYxLnByb3ZpZGVyQg1Qcm92aWRlclByb3RvUAGiAgNOVlCqAhNOZXR3b3JrLlYxLlByb3ZpZGVyygITTmV0d29ya1xWMVxQcm92aWRlcuICH05ldHdvcmtcVjFcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAhVOZXR3b3JrOjpWMTo6UHJvdmlkZXJiBnByb3RvMw", [file_common_payment_method, file_common_common, file_google_protobuf_timestamp]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message network.v1.provider.AppendLedgerEntriesRequest.
|
|
14
14
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
@@ -192,26 +192,6 @@ export const UpdateLimitRequest_LimitSchema = /*@__PURE__*/ messageDesc(file_net
|
|
|
192
192
|
* Use `create(UpdateLimitResponseSchema)` to create a new message.
|
|
193
193
|
*/
|
|
194
194
|
export const UpdateLimitResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 7);
|
|
195
|
-
/**
|
|
196
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.
|
|
197
|
-
* Use `create(CreatePayInDetailsRequestSchema)` to create a new message.
|
|
198
|
-
*/
|
|
199
|
-
export const CreatePayInDetailsRequestSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8);
|
|
200
|
-
/**
|
|
201
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.
|
|
202
|
-
* Use `create(CreatePayInDetailsRequest_SenderSchema)` to create a new message.
|
|
203
|
-
*/
|
|
204
|
-
export const CreatePayInDetailsRequest_SenderSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0);
|
|
205
|
-
/**
|
|
206
|
-
* Describes the message network.v1.provider.CreatePayInDetailsRequest.Sender.PrivatePerson.
|
|
207
|
-
* Use `create(CreatePayInDetailsRequest_Sender_PrivatePersonSchema)` to create a new message.
|
|
208
|
-
*/
|
|
209
|
-
export const CreatePayInDetailsRequest_Sender_PrivatePersonSchema = /*@__PURE__*/ messageDesc(file_network_provider, 8, 0, 0);
|
|
210
|
-
/**
|
|
211
|
-
* Describes the message network.v1.provider.CreatePayInDetailsResponse.
|
|
212
|
-
* Use `create(CreatePayInDetailsResponseSchema)` to create a new message.
|
|
213
|
-
*/
|
|
214
|
-
export const CreatePayInDetailsResponseSchema = /*@__PURE__*/ messageDesc(file_network_provider, 9);
|
|
215
195
|
/**
|
|
216
196
|
* *
|
|
217
197
|
* This service must be implemented by the provider.
|