@t-0/provider-sdk 1.0.31 → 1.0.33
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/lib/cjs/common/gen/tzero/v1/common/common_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +47 -47
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +30 -30
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +21 -21
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +12 -12
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +119 -11
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +45 -3
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +7 -7
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +2 -2
- package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +4 -4
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +2 -2
- package/lib/cjs/common/gen/tzero/v1/public/public_pb.js +1 -1
- package/lib/cjs/index.d.ts +1 -1
- package/lib/esm/common/gen/tzero/v1/common/common_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +47 -47
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +29 -29
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +21 -21
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +11 -11
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +119 -11
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +44 -2
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +7 -7
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +2 -2
- package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +4 -4
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +2 -2
- package/lib/esm/common/gen/tzero/v1/public/public_pb.js +1 -1
- package/lib/esm/index.d.ts +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -6,41 +6,41 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_tzero_v1_common_payment_method: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* @generated from message tzero.v1.common.
|
|
9
|
+
* @generated from message tzero.v1.common.PaymentDetails
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type PaymentDetails = Message<"tzero.v1.common.PaymentDetails"> & {
|
|
12
12
|
/**
|
|
13
|
-
* @generated from oneof tzero.v1.common.
|
|
13
|
+
* @generated from oneof tzero.v1.common.PaymentDetails.details
|
|
14
14
|
*/
|
|
15
15
|
details: {
|
|
16
16
|
/**
|
|
17
|
-
* @generated from field: tzero.v1.common.
|
|
17
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Sepa sepa = 10;
|
|
18
18
|
*/
|
|
19
|
-
value:
|
|
19
|
+
value: PaymentDetails_Sepa;
|
|
20
20
|
case: "sepa";
|
|
21
21
|
} | {
|
|
22
22
|
/**
|
|
23
|
-
* @generated from field: tzero.v1.common.
|
|
23
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Swift swift = 30;
|
|
24
24
|
*/
|
|
25
|
-
value:
|
|
25
|
+
value: PaymentDetails_Swift;
|
|
26
26
|
case: "swift";
|
|
27
27
|
} | {
|
|
28
28
|
/**
|
|
29
|
-
* @generated from field: tzero.v1.common.
|
|
29
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Stablecoin stablecoin = 40;
|
|
30
30
|
*/
|
|
31
|
-
value:
|
|
31
|
+
value: PaymentDetails_Stablecoin;
|
|
32
32
|
case: "stablecoin";
|
|
33
33
|
} | {
|
|
34
34
|
/**
|
|
35
|
-
* @generated from field: tzero.v1.common.
|
|
35
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Ach ach = 50;
|
|
36
36
|
*/
|
|
37
|
-
value:
|
|
37
|
+
value: PaymentDetails_Ach;
|
|
38
38
|
case: "ach";
|
|
39
39
|
} | {
|
|
40
40
|
/**
|
|
41
|
-
* @generated from field: tzero.v1.common.
|
|
41
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Wire wire = 60;
|
|
42
42
|
*/
|
|
43
|
-
value:
|
|
43
|
+
value: PaymentDetails_Wire;
|
|
44
44
|
case: "wire";
|
|
45
45
|
} | {
|
|
46
46
|
case: undefined;
|
|
@@ -48,14 +48,14 @@ export type PaymentMethod = Message<"tzero.v1.common.PaymentMethod"> & {
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
/**
|
|
51
|
-
* Describes the message tzero.v1.common.
|
|
52
|
-
* Use `create(
|
|
51
|
+
* Describes the message tzero.v1.common.PaymentDetails.
|
|
52
|
+
* Use `create(PaymentDetailsSchema)` to create a new message.
|
|
53
53
|
*/
|
|
54
|
-
export declare const
|
|
54
|
+
export declare const PaymentDetailsSchema: GenMessage<PaymentDetails>;
|
|
55
55
|
/**
|
|
56
|
-
* @generated from message tzero.v1.common.
|
|
56
|
+
* @generated from message tzero.v1.common.PaymentDetails.Sepa
|
|
57
57
|
*/
|
|
58
|
-
export type
|
|
58
|
+
export type PaymentDetails_Sepa = Message<"tzero.v1.common.PaymentDetails.Sepa"> & {
|
|
59
59
|
/**
|
|
60
60
|
* @generated from field: string iban = 20;
|
|
61
61
|
*/
|
|
@@ -70,23 +70,23 @@ export type SepaPaymentDetails = Message<"tzero.v1.common.SepaPaymentDetails"> &
|
|
|
70
70
|
paymentReference: string;
|
|
71
71
|
};
|
|
72
72
|
/**
|
|
73
|
-
* Describes the message tzero.v1.common.
|
|
74
|
-
* Use `create(
|
|
73
|
+
* Describes the message tzero.v1.common.PaymentDetails.Sepa.
|
|
74
|
+
* Use `create(PaymentDetails_SepaSchema)` to create a new message.
|
|
75
75
|
*/
|
|
76
|
-
export declare const
|
|
76
|
+
export declare const PaymentDetails_SepaSchema: GenMessage<PaymentDetails_Sepa>;
|
|
77
77
|
/**
|
|
78
|
-
* @generated from message tzero.v1.common.
|
|
78
|
+
* @generated from message tzero.v1.common.PaymentDetails.Swift
|
|
79
79
|
*/
|
|
80
|
-
export type
|
|
80
|
+
export type PaymentDetails_Swift = Message<"tzero.v1.common.PaymentDetails.Swift"> & {};
|
|
81
81
|
/**
|
|
82
|
-
* Describes the message tzero.v1.common.
|
|
83
|
-
* Use `create(
|
|
82
|
+
* Describes the message tzero.v1.common.PaymentDetails.Swift.
|
|
83
|
+
* Use `create(PaymentDetails_SwiftSchema)` to create a new message.
|
|
84
84
|
*/
|
|
85
|
-
export declare const
|
|
85
|
+
export declare const PaymentDetails_SwiftSchema: GenMessage<PaymentDetails_Swift>;
|
|
86
86
|
/**
|
|
87
|
-
* @generated from message tzero.v1.common.
|
|
87
|
+
* @generated from message tzero.v1.common.PaymentDetails.Stablecoin
|
|
88
88
|
*/
|
|
89
|
-
export type
|
|
89
|
+
export type PaymentDetails_Stablecoin = Message<"tzero.v1.common.PaymentDetails.Stablecoin"> & {
|
|
90
90
|
/**
|
|
91
91
|
* @generated from field: tzero.v1.common.Blockchain blockchain = 10;
|
|
92
92
|
*/
|
|
@@ -101,14 +101,14 @@ export type StablecoinPaymentDetails = Message<"tzero.v1.common.StablecoinPaymen
|
|
|
101
101
|
address: string;
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
104
|
-
* Describes the message tzero.v1.common.
|
|
105
|
-
* Use `create(
|
|
104
|
+
* Describes the message tzero.v1.common.PaymentDetails.Stablecoin.
|
|
105
|
+
* Use `create(PaymentDetails_StablecoinSchema)` to create a new message.
|
|
106
106
|
*/
|
|
107
|
-
export declare const
|
|
107
|
+
export declare const PaymentDetails_StablecoinSchema: GenMessage<PaymentDetails_Stablecoin>;
|
|
108
108
|
/**
|
|
109
|
-
* @generated from message tzero.v1.common.
|
|
109
|
+
* @generated from message tzero.v1.common.PaymentDetails.Ach
|
|
110
110
|
*/
|
|
111
|
-
export type
|
|
111
|
+
export type PaymentDetails_Ach = Message<"tzero.v1.common.PaymentDetails.Ach"> & {
|
|
112
112
|
/**
|
|
113
113
|
* @generated from field: string routing_number = 10;
|
|
114
114
|
*/
|
|
@@ -122,19 +122,19 @@ export type AchPaymentDetails = Message<"tzero.v1.common.AchPaymentDetails"> & {
|
|
|
122
122
|
*/
|
|
123
123
|
accountHolderName: string;
|
|
124
124
|
/**
|
|
125
|
-
* @generated from field: tzero.v1.common.
|
|
125
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Ach.AchAccountType account_type = 40;
|
|
126
126
|
*/
|
|
127
|
-
accountType:
|
|
127
|
+
accountType: PaymentDetails_Ach_AchAccountType;
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
|
-
* Describes the message tzero.v1.common.
|
|
131
|
-
* Use `create(
|
|
130
|
+
* Describes the message tzero.v1.common.PaymentDetails.Ach.
|
|
131
|
+
* Use `create(PaymentDetails_AchSchema)` to create a new message.
|
|
132
132
|
*/
|
|
133
|
-
export declare const
|
|
133
|
+
export declare const PaymentDetails_AchSchema: GenMessage<PaymentDetails_Ach>;
|
|
134
134
|
/**
|
|
135
|
-
* @generated from enum tzero.v1.common.
|
|
135
|
+
* @generated from enum tzero.v1.common.PaymentDetails.Ach.AchAccountType
|
|
136
136
|
*/
|
|
137
|
-
export declare enum
|
|
137
|
+
export declare enum PaymentDetails_Ach_AchAccountType {
|
|
138
138
|
/**
|
|
139
139
|
* @generated from enum value: ACH_ACCOUNT_TYPE_UNSPECIFIED = 0;
|
|
140
140
|
*/
|
|
@@ -149,13 +149,13 @@ export declare enum AchPaymentDetails_AchAccountType {
|
|
|
149
149
|
SAVINGS = 20
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* Describes the enum tzero.v1.common.
|
|
152
|
+
* Describes the enum tzero.v1.common.PaymentDetails.Ach.AchAccountType.
|
|
153
153
|
*/
|
|
154
|
-
export declare const
|
|
154
|
+
export declare const PaymentDetails_Ach_AchAccountTypeSchema: GenEnum<PaymentDetails_Ach_AchAccountType>;
|
|
155
155
|
/**
|
|
156
|
-
* @generated from message tzero.v1.common.
|
|
156
|
+
* @generated from message tzero.v1.common.PaymentDetails.Wire
|
|
157
157
|
*/
|
|
158
|
-
export type
|
|
158
|
+
export type PaymentDetails_Wire = Message<"tzero.v1.common.PaymentDetails.Wire"> & {
|
|
159
159
|
/**
|
|
160
160
|
* @generated from field: string bank_name = 10;
|
|
161
161
|
*/
|
|
@@ -186,10 +186,10 @@ export type WirePaymentDetails = Message<"tzero.v1.common.WirePaymentDetails"> &
|
|
|
186
186
|
wireReference: string;
|
|
187
187
|
};
|
|
188
188
|
/**
|
|
189
|
-
* Describes the message tzero.v1.common.
|
|
190
|
-
* Use `create(
|
|
189
|
+
* Describes the message tzero.v1.common.PaymentDetails.Wire.
|
|
190
|
+
* Use `create(PaymentDetails_WireSchema)` to create a new message.
|
|
191
191
|
*/
|
|
192
|
-
export declare const
|
|
192
|
+
export declare const PaymentDetails_WireSchema: GenMessage<PaymentDetails_Wire>;
|
|
193
193
|
/**
|
|
194
194
|
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
195
195
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file tzero/v1/common/payment_method.proto (package tzero.v1.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -7,59 +7,59 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file tzero/v1/common/payment_method.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_tzero_v1_common_payment_method = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_tzero_v1_common_payment_method = /*@__PURE__*/ fileDesc("CiR0emVyby92MS9jb21tb24vcGF5bWVudF9tZXRob2QucHJvdG8SD3R6ZXJvLnYxLmNvbW1vbiLxCQoOUGF5bWVudERldGFpbHMSNAoEc2VwYRgKIAEoCzIkLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50RGV0YWlscy5TZXBhSAASNgoFc3dpZnQYHiABKAsyJS50emVyby52MS5jb21tb24uUGF5bWVudERldGFpbHMuU3dpZnRIABJACgpzdGFibGVjb2luGCggASgLMioudHplcm8udjEuY29tbW9uLlBheW1lbnREZXRhaWxzLlN0YWJsZWNvaW5IABIyCgNhY2gYMiABKAsyIy50emVyby52MS5jb21tb24uUGF5bWVudERldGFpbHMuQWNoSAASNAoEd2lyZRg8IAEoCzIkLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50RGV0YWlscy5XaXJlSAAahgEKBFNlcGESNAoEaWJhbhgUIAEoCUImukgjciEQDxgiMhteW0EtWl17Mn1bMC05XXsyfVtBLVowLTldKyQSIwoQYmVuZWZpY2lhcnlfbmFtZRgeIAEoCUIJukgGcgQQARhGEiMKEXBheW1lbnRfcmVmZXJlbmNlGCggASgJQgi6SAVyAxiMARoHCgVTd2lmdBqvAQoKU3RhYmxlY29pbhI3CgpibG9ja2NoYWluGAogASgOMhsudHplcm8udjEuY29tbW9uLkJsb2NrY2hhaW5CBrpIA8gBARI3CgpzdGFibGVjb2luGBQgASgOMhsudHplcm8udjEuY29tbW9uLlN0YWJsZWNvaW5CBrpIA8gBARIvCgdhZGRyZXNzGB4gASgJQh66SBtyGRAUGEAyE14oMHgpP1thLWZBLUYwLTldKyQazgIKA0FjaBItCg5yb3V0aW5nX251bWJlchgKIAEoCUIVukgSchAQCRgJMgpeWzAtOV17OX0kEisKDmFjY291bnRfbnVtYmVyGBQgASgJQhO6SBByDhABGBEyCF5bMC05XSskEiYKE2FjY291bnRfaG9sZGVyX25hbWUYHiABKAlCCbpIBnIEEAEYRhJSCgxhY2NvdW50X3R5cGUYKCABKA4yMi50emVyby52MS5jb21tb24uUGF5bWVudERldGFpbHMuQWNoLkFjaEFjY291bnRUeXBlQgi6SAWCAQIgACJvCg5BY2hBY2NvdW50VHlwZRIgChxBQ0hfQUNDT1VOVF9UWVBFX1VOU1BFQ0lGSUVEEAASHQoZQUNIX0FDQ09VTlRfVFlQRV9DSEVDS0lORxAKEhwKGEFDSF9BQ0NPVU5UX1RZUEVfU0FWSU5HUxAUGp0CCgRXaXJlEhwKCWJhbmtfbmFtZRgKIAEoCUIJukgGcgQQARhGEiAKDGJhbmtfYWRkcmVzcxgUIAEoCUIKukgHcgUQARiMARJCCgpzd2lmdF9jb2RlGB4gASgJQi66SCtyKRAIGAsyI15bQS1aXXs2fVtBLVowLTldezJ9KFtBLVowLTldezN9KT8kEiEKDmFjY291bnRfbnVtYmVyGCggASgJQgm6SAZyBBABGCISIwoQYmVuZWZpY2lhcnlfbmFtZRgyIAEoCUIJukgGcgQQARhGEicKE2JlbmVmaWNpYXJ5X2FkZHJlc3MYPCABKAlCCrpIB3IFEAEYjAESIAoOd2lyZV9yZWZlcmVuY2UYRiABKAlCCLpIBXIDGIwBQhAKB2RldGFpbHMSBbpIAggBKvIBChFQYXltZW50TWV0aG9kVHlwZRIjCh9QQVlNRU5UX01FVEhPRF9UWVBFX1VOU1BFQ0lGSUVEEAASHAoYUEFZTUVOVF9NRVRIT0RfVFlQRV9TRVBBEAoSHQoZUEFZTUVOVF9NRVRIT0RfVFlQRV9TV0lGVBAUEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfQ0FSRBAeEiIKHlBBWU1FTlRfTUVUSE9EX1RZUEVfU1RBQkxFQ09JThAoEhsKF1BBWU1FTlRfTUVUSE9EX1RZUEVfQUNIEDISHAoYUEFZTUVOVF9NRVRIT0RfVFlQRV9XSVJFEDxChwEKE2NvbS50emVyby52MS5jb21tb25CElBheW1lbnRNZXRob2RQcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw", [file_tzero_v1_common_common, file_buf_validate_validate]);
|
|
11
11
|
/**
|
|
12
|
-
* Describes the message tzero.v1.common.
|
|
13
|
-
* Use `create(
|
|
12
|
+
* Describes the message tzero.v1.common.PaymentDetails.
|
|
13
|
+
* Use `create(PaymentDetailsSchema)` to create a new message.
|
|
14
14
|
*/
|
|
15
|
-
export const
|
|
15
|
+
export const PaymentDetailsSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0);
|
|
16
16
|
/**
|
|
17
|
-
* Describes the message tzero.v1.common.
|
|
18
|
-
* Use `create(
|
|
17
|
+
* Describes the message tzero.v1.common.PaymentDetails.Sepa.
|
|
18
|
+
* Use `create(PaymentDetails_SepaSchema)` to create a new message.
|
|
19
19
|
*/
|
|
20
|
-
export const
|
|
20
|
+
export const PaymentDetails_SepaSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0, 0);
|
|
21
21
|
/**
|
|
22
|
-
* Describes the message tzero.v1.common.
|
|
23
|
-
* Use `create(
|
|
22
|
+
* Describes the message tzero.v1.common.PaymentDetails.Swift.
|
|
23
|
+
* Use `create(PaymentDetails_SwiftSchema)` to create a new message.
|
|
24
24
|
*/
|
|
25
|
-
export const
|
|
25
|
+
export const PaymentDetails_SwiftSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0, 1);
|
|
26
26
|
/**
|
|
27
|
-
* Describes the message tzero.v1.common.
|
|
28
|
-
* Use `create(
|
|
27
|
+
* Describes the message tzero.v1.common.PaymentDetails.Stablecoin.
|
|
28
|
+
* Use `create(PaymentDetails_StablecoinSchema)` to create a new message.
|
|
29
29
|
*/
|
|
30
|
-
export const
|
|
30
|
+
export const PaymentDetails_StablecoinSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0, 2);
|
|
31
31
|
/**
|
|
32
|
-
* Describes the message tzero.v1.common.
|
|
33
|
-
* Use `create(
|
|
32
|
+
* Describes the message tzero.v1.common.PaymentDetails.Ach.
|
|
33
|
+
* Use `create(PaymentDetails_AchSchema)` to create a new message.
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const PaymentDetails_AchSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0, 3);
|
|
36
36
|
/**
|
|
37
|
-
* @generated from enum tzero.v1.common.
|
|
37
|
+
* @generated from enum tzero.v1.common.PaymentDetails.Ach.AchAccountType
|
|
38
38
|
*/
|
|
39
|
-
export var
|
|
40
|
-
(function (
|
|
39
|
+
export var PaymentDetails_Ach_AchAccountType;
|
|
40
|
+
(function (PaymentDetails_Ach_AchAccountType) {
|
|
41
41
|
/**
|
|
42
42
|
* @generated from enum value: ACH_ACCOUNT_TYPE_UNSPECIFIED = 0;
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
PaymentDetails_Ach_AchAccountType[PaymentDetails_Ach_AchAccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
45
45
|
/**
|
|
46
46
|
* @generated from enum value: ACH_ACCOUNT_TYPE_CHECKING = 10;
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
PaymentDetails_Ach_AchAccountType[PaymentDetails_Ach_AchAccountType["CHECKING"] = 10] = "CHECKING";
|
|
49
49
|
/**
|
|
50
50
|
* @generated from enum value: ACH_ACCOUNT_TYPE_SAVINGS = 20;
|
|
51
51
|
*/
|
|
52
|
-
|
|
53
|
-
})(
|
|
52
|
+
PaymentDetails_Ach_AchAccountType[PaymentDetails_Ach_AchAccountType["SAVINGS"] = 20] = "SAVINGS";
|
|
53
|
+
})(PaymentDetails_Ach_AchAccountType || (PaymentDetails_Ach_AchAccountType = {}));
|
|
54
54
|
/**
|
|
55
|
-
* Describes the enum tzero.v1.common.
|
|
55
|
+
* Describes the enum tzero.v1.common.PaymentDetails.Ach.AchAccountType.
|
|
56
56
|
*/
|
|
57
|
-
export const
|
|
57
|
+
export const PaymentDetails_Ach_AchAccountTypeSchema = /*@__PURE__*/ enumDesc(file_tzero_v1_common_payment_method, 0, 3, 0);
|
|
58
58
|
/**
|
|
59
|
-
* Describes the message tzero.v1.common.
|
|
60
|
-
* Use `create(
|
|
59
|
+
* Describes the message tzero.v1.common.PaymentDetails.Wire.
|
|
60
|
+
* Use `create(PaymentDetails_WireSchema)` to create a new message.
|
|
61
61
|
*/
|
|
62
|
-
export const
|
|
62
|
+
export const PaymentDetails_WireSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0, 4);
|
|
63
63
|
/**
|
|
64
64
|
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
65
65
|
*/
|
|
@@ -13,21 +13,21 @@ export type PaymentReceipt = Message<"tzero.v1.common.PaymentReceipt"> & {
|
|
|
13
13
|
*/
|
|
14
14
|
details: {
|
|
15
15
|
/**
|
|
16
|
-
* @generated from field: tzero.v1.common.
|
|
16
|
+
* @generated from field: tzero.v1.common.PaymentReceipt.Sepa sepa = 10;
|
|
17
17
|
*/
|
|
18
|
-
value:
|
|
18
|
+
value: PaymentReceipt_Sepa;
|
|
19
19
|
case: "sepa";
|
|
20
20
|
} | {
|
|
21
21
|
/**
|
|
22
|
-
* @generated from field: tzero.v1.common.
|
|
22
|
+
* @generated from field: tzero.v1.common.PaymentReceipt.Swift swift = 30;
|
|
23
23
|
*/
|
|
24
|
-
value:
|
|
24
|
+
value: PaymentReceipt_Swift;
|
|
25
25
|
case: "swift";
|
|
26
26
|
} | {
|
|
27
27
|
/**
|
|
28
|
-
* @generated from field: tzero.v1.common.
|
|
28
|
+
* @generated from field: tzero.v1.common.PaymentReceipt.Stablecoin stablecoin = 40;
|
|
29
29
|
*/
|
|
30
|
-
value:
|
|
30
|
+
value: PaymentReceipt_Stablecoin;
|
|
31
31
|
case: "stablecoin";
|
|
32
32
|
} | {
|
|
33
33
|
case: undefined;
|
|
@@ -40,27 +40,27 @@ export type PaymentReceipt = Message<"tzero.v1.common.PaymentReceipt"> & {
|
|
|
40
40
|
*/
|
|
41
41
|
export declare const PaymentReceiptSchema: GenMessage<PaymentReceipt>;
|
|
42
42
|
/**
|
|
43
|
-
* @generated from message tzero.v1.common.
|
|
43
|
+
* @generated from message tzero.v1.common.PaymentReceipt.Sepa
|
|
44
44
|
*/
|
|
45
|
-
export type
|
|
45
|
+
export type PaymentReceipt_Sepa = Message<"tzero.v1.common.PaymentReceipt.Sepa"> & {};
|
|
46
46
|
/**
|
|
47
|
-
* Describes the message tzero.v1.common.
|
|
48
|
-
* Use `create(
|
|
47
|
+
* Describes the message tzero.v1.common.PaymentReceipt.Sepa.
|
|
48
|
+
* Use `create(PaymentReceipt_SepaSchema)` to create a new message.
|
|
49
49
|
*/
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const PaymentReceipt_SepaSchema: GenMessage<PaymentReceipt_Sepa>;
|
|
51
51
|
/**
|
|
52
|
-
* @generated from message tzero.v1.common.
|
|
52
|
+
* @generated from message tzero.v1.common.PaymentReceipt.Swift
|
|
53
53
|
*/
|
|
54
|
-
export type
|
|
54
|
+
export type PaymentReceipt_Swift = Message<"tzero.v1.common.PaymentReceipt.Swift"> & {};
|
|
55
55
|
/**
|
|
56
|
-
* Describes the message tzero.v1.common.
|
|
57
|
-
* Use `create(
|
|
56
|
+
* Describes the message tzero.v1.common.PaymentReceipt.Swift.
|
|
57
|
+
* Use `create(PaymentReceipt_SwiftSchema)` to create a new message.
|
|
58
58
|
*/
|
|
59
|
-
export declare const
|
|
59
|
+
export declare const PaymentReceipt_SwiftSchema: GenMessage<PaymentReceipt_Swift>;
|
|
60
60
|
/**
|
|
61
|
-
* @generated from message tzero.v1.common.
|
|
61
|
+
* @generated from message tzero.v1.common.PaymentReceipt.Stablecoin
|
|
62
62
|
*/
|
|
63
|
-
export type
|
|
63
|
+
export type PaymentReceipt_Stablecoin = Message<"tzero.v1.common.PaymentReceipt.Stablecoin"> & {
|
|
64
64
|
/**
|
|
65
65
|
* on-chain hex encoded transaction hash
|
|
66
66
|
*
|
|
@@ -69,7 +69,7 @@ export type StablecoinReceipt = Message<"tzero.v1.common.StablecoinReceipt"> & {
|
|
|
69
69
|
transactionHash: string;
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
72
|
-
* Describes the message tzero.v1.common.
|
|
73
|
-
* Use `create(
|
|
72
|
+
* Describes the message tzero.v1.common.PaymentReceipt.Stablecoin.
|
|
73
|
+
* Use `create(PaymentReceipt_StablecoinSchema)` to create a new message.
|
|
74
74
|
*/
|
|
75
|
-
export declare const
|
|
75
|
+
export declare const PaymentReceipt_StablecoinSchema: GenMessage<PaymentReceipt_Stablecoin>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
|
|
2
2
|
// @generated from file tzero/v1/common/payment_receipt.proto (package tzero.v1.common, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -6,24 +6,24 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file tzero/v1/common/payment_receipt.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_tzero_v1_common_payment_receipt = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_tzero_v1_common_payment_receipt = /*@__PURE__*/ fileDesc("CiV0emVyby92MS9jb21tb24vcGF5bWVudF9yZWNlaXB0LnByb3RvEg90emVyby52MS5jb21tb24irgIKDlBheW1lbnRSZWNlaXB0EjQKBHNlcGEYCiABKAsyJC50emVyby52MS5jb21tb24uUGF5bWVudFJlY2VpcHQuU2VwYUgAEjYKBXN3aWZ0GB4gASgLMiUudHplcm8udjEuY29tbW9uLlBheW1lbnRSZWNlaXB0LlN3aWZ0SAASQAoKc3RhYmxlY29pbhgoIAEoCzIqLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50UmVjZWlwdC5TdGFibGVjb2luSAAaBgoEU2VwYRoHCgVTd2lmdBpJCgpTdGFibGVjb2luEjsKEHRyYW5zYWN0aW9uX2hhc2gYCiABKAlCIbpIHnIcEEAYQjIWXigweCk/W2EtZkEtRjAtOV17NjR9JEIQCgdkZXRhaWxzEgW6SAIIAUKIAQoTY29tLnR6ZXJvLnYxLmNvbW1vbkITUGF5bWVudFJlY2VpcHRQcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw", [file_buf_validate_validate]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message tzero.v1.common.PaymentReceipt.
|
|
12
12
|
* Use `create(PaymentReceiptSchema)` to create a new message.
|
|
13
13
|
*/
|
|
14
14
|
export const PaymentReceiptSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 0);
|
|
15
15
|
/**
|
|
16
|
-
* Describes the message tzero.v1.common.
|
|
17
|
-
* Use `create(
|
|
16
|
+
* Describes the message tzero.v1.common.PaymentReceipt.Sepa.
|
|
17
|
+
* Use `create(PaymentReceipt_SepaSchema)` to create a new message.
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const PaymentReceipt_SepaSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 0, 0);
|
|
20
20
|
/**
|
|
21
|
-
* Describes the message tzero.v1.common.
|
|
22
|
-
* Use `create(
|
|
21
|
+
* Describes the message tzero.v1.common.PaymentReceipt.Swift.
|
|
22
|
+
* Use `create(PaymentReceipt_SwiftSchema)` to create a new message.
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const PaymentReceipt_SwiftSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 0, 1);
|
|
25
25
|
/**
|
|
26
|
-
* Describes the message tzero.v1.common.
|
|
27
|
-
* Use `create(
|
|
26
|
+
* Describes the message tzero.v1.common.PaymentReceipt.Stablecoin.
|
|
27
|
+
* Use `create(PaymentReceipt_StablecoinSchema)` to create a new message.
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const PaymentReceipt_StablecoinSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 0, 2);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
2
|
import type { Decimal } from "../common/common_pb.js";
|
|
3
|
-
import type {
|
|
3
|
+
import type { PaymentDetails, PaymentMethodType } from "../common/payment_method_pb.js";
|
|
4
4
|
import type { PaymentReceipt } from "../common/payment_receipt_pb.js";
|
|
5
5
|
import type { Person } from "../../../ivms101/v1/ivms/ivms101_pb.js";
|
|
6
6
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
@@ -170,27 +170,99 @@ export declare const GetQuoteRequestSchema: GenMessage<GetQuoteRequest>;
|
|
|
170
170
|
*/
|
|
171
171
|
export type GetQuoteResponse = Message<"tzero.v1.payment.GetQuoteResponse"> & {
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* @generated from oneof tzero.v1.payment.GetQuoteResponse.result
|
|
174
|
+
*/
|
|
175
|
+
result: {
|
|
176
|
+
/**
|
|
177
|
+
* *
|
|
178
|
+
* Success response - the network found a suitable quote for the provided parameters and with available credit or pre-settlement option.
|
|
179
|
+
* The returned quoteId can be used later to call the create payment endpoint.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: tzero.v1.payment.GetQuoteResponse.Success success = 20;
|
|
182
|
+
*/
|
|
183
|
+
value: GetQuoteResponse_Success;
|
|
184
|
+
case: "success";
|
|
185
|
+
} | {
|
|
186
|
+
/**
|
|
187
|
+
* *
|
|
188
|
+
* Failure response - means the quote was not found for the specified parameters, or provider limits
|
|
189
|
+
* would exceed by processing the payment amount with the specified amount.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: tzero.v1.payment.GetQuoteResponse.Failure failure = 30;
|
|
192
|
+
*/
|
|
193
|
+
value: GetQuoteResponse_Failure;
|
|
194
|
+
case: "failure";
|
|
195
|
+
} | {
|
|
196
|
+
case: undefined;
|
|
197
|
+
value?: undefined;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Describes the message tzero.v1.payment.GetQuoteResponse.
|
|
202
|
+
* Use `create(GetQuoteResponseSchema)` to create a new message.
|
|
203
|
+
*/
|
|
204
|
+
export declare const GetQuoteResponseSchema: GenMessage<GetQuoteResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message tzero.v1.payment.GetQuoteResponse.Success
|
|
207
|
+
*/
|
|
208
|
+
export type GetQuoteResponse_Success = Message<"tzero.v1.payment.GetQuoteResponse.Success"> & {
|
|
209
|
+
/**
|
|
210
|
+
* exchange rate as pay_out_currency_rate/pay_in_currency_rate, e.g. BRL/EUR
|
|
174
211
|
*
|
|
175
212
|
* @generated from field: tzero.v1.common.Decimal rate = 10;
|
|
176
213
|
*/
|
|
177
214
|
rate?: Decimal;
|
|
178
215
|
/**
|
|
179
|
-
* expiration time of the quote
|
|
216
|
+
* expiration time of the payout quote
|
|
180
217
|
*
|
|
181
218
|
* @generated from field: google.protobuf.Timestamp expiration = 20;
|
|
182
219
|
*/
|
|
183
220
|
expiration?: Timestamp;
|
|
184
221
|
/**
|
|
222
|
+
* id of the payout quote
|
|
223
|
+
*
|
|
185
224
|
* @generated from field: tzero.v1.payment.QuoteId quote_id = 30;
|
|
186
225
|
*/
|
|
187
226
|
quoteId?: QuoteId;
|
|
188
227
|
};
|
|
189
228
|
/**
|
|
190
|
-
* Describes the message tzero.v1.payment.GetQuoteResponse.
|
|
191
|
-
* Use `create(
|
|
229
|
+
* Describes the message tzero.v1.payment.GetQuoteResponse.Success.
|
|
230
|
+
* Use `create(GetQuoteResponse_SuccessSchema)` to create a new message.
|
|
192
231
|
*/
|
|
193
|
-
export declare const
|
|
232
|
+
export declare const GetQuoteResponse_SuccessSchema: GenMessage<GetQuoteResponse_Success>;
|
|
233
|
+
/**
|
|
234
|
+
* @generated from message tzero.v1.payment.GetQuoteResponse.Failure
|
|
235
|
+
*/
|
|
236
|
+
export type GetQuoteResponse_Failure = Message<"tzero.v1.payment.GetQuoteResponse.Failure"> & {
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: tzero.v1.payment.GetQuoteResponse.Failure.Reason reason = 10;
|
|
239
|
+
*/
|
|
240
|
+
reason: GetQuoteResponse_Failure_Reason;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* Describes the message tzero.v1.payment.GetQuoteResponse.Failure.
|
|
244
|
+
* Use `create(GetQuoteResponse_FailureSchema)` to create a new message.
|
|
245
|
+
*/
|
|
246
|
+
export declare const GetQuoteResponse_FailureSchema: GenMessage<GetQuoteResponse_Failure>;
|
|
247
|
+
/**
|
|
248
|
+
* @generated from enum tzero.v1.payment.GetQuoteResponse.Failure.Reason
|
|
249
|
+
*/
|
|
250
|
+
export declare enum GetQuoteResponse_Failure_Reason {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from enum value: REASON_UNSPECIFIED = 0;
|
|
253
|
+
*/
|
|
254
|
+
UNSPECIFIED = 0,
|
|
255
|
+
/**
|
|
256
|
+
* No matching quote par for the specified pay-in and payout currencies found or provider limits would exceed by processing this payment
|
|
257
|
+
*
|
|
258
|
+
* @generated from enum value: REASON_QUOTE_NOT_FOUND = 10;
|
|
259
|
+
*/
|
|
260
|
+
QUOTE_NOT_FOUND = 10
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Describes the enum tzero.v1.payment.GetQuoteResponse.Failure.Reason.
|
|
264
|
+
*/
|
|
265
|
+
export declare const GetQuoteResponse_Failure_ReasonSchema: GenEnum<GetQuoteResponse_Failure_Reason>;
|
|
194
266
|
/**
|
|
195
267
|
* @generated from message tzero.v1.payment.CreatePaymentRequest
|
|
196
268
|
*/
|
|
@@ -202,18 +274,26 @@ export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentReques
|
|
|
202
274
|
*/
|
|
203
275
|
paymentClientId: string;
|
|
204
276
|
/**
|
|
277
|
+
* payment amount
|
|
278
|
+
*
|
|
205
279
|
* @generated from field: tzero.v1.payment.PaymentAmount amount = 30;
|
|
206
280
|
*/
|
|
207
281
|
amount?: PaymentAmount;
|
|
208
282
|
/**
|
|
283
|
+
* pay-in details
|
|
284
|
+
*
|
|
209
285
|
* @generated from field: tzero.v1.payment.CreatePaymentRequest.PayIn pay_in = 40;
|
|
210
286
|
*/
|
|
211
287
|
payIn?: CreatePaymentRequest_PayIn;
|
|
212
288
|
/**
|
|
289
|
+
* payout details
|
|
290
|
+
*
|
|
213
291
|
* @generated from field: tzero.v1.payment.CreatePaymentRequest.PayOut pay_out = 45;
|
|
214
292
|
*/
|
|
215
293
|
payOut?: CreatePaymentRequest_PayOut;
|
|
216
294
|
/**
|
|
295
|
+
* travel rule data
|
|
296
|
+
*
|
|
217
297
|
* @generated from field: optional tzero.v1.payment.CreatePaymentRequest.TravelRuleData travel_rule_data = 100;
|
|
218
298
|
*/
|
|
219
299
|
travelRuleData?: CreatePaymentRequest_TravelRuleData;
|
|
@@ -230,10 +310,14 @@ export declare const CreatePaymentRequestSchema: GenMessage<CreatePaymentRequest
|
|
|
230
310
|
*/
|
|
231
311
|
export type CreatePaymentRequest_PayIn = Message<"tzero.v1.payment.CreatePaymentRequest.PayIn"> & {
|
|
232
312
|
/**
|
|
313
|
+
* pay-in currency
|
|
314
|
+
*
|
|
233
315
|
* @generated from field: string currency = 10;
|
|
234
316
|
*/
|
|
235
317
|
currency: string;
|
|
236
318
|
/**
|
|
319
|
+
* pay-in payment method
|
|
320
|
+
*
|
|
237
321
|
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
|
|
238
322
|
*/
|
|
239
323
|
paymentMethod: PaymentMethodType;
|
|
@@ -248,13 +332,17 @@ export declare const CreatePaymentRequest_PayInSchema: GenMessage<CreatePaymentR
|
|
|
248
332
|
*/
|
|
249
333
|
export type CreatePaymentRequest_PayOut = Message<"tzero.v1.payment.CreatePaymentRequest.PayOut"> & {
|
|
250
334
|
/**
|
|
335
|
+
* pay-out currency
|
|
336
|
+
*
|
|
251
337
|
* @generated from field: string currency = 10;
|
|
252
338
|
*/
|
|
253
339
|
currency: string;
|
|
254
340
|
/**
|
|
255
|
-
*
|
|
341
|
+
* pay-in payment details
|
|
342
|
+
*
|
|
343
|
+
* @generated from field: tzero.v1.common.PaymentDetails payment_details = 20;
|
|
256
344
|
*/
|
|
257
|
-
|
|
345
|
+
paymentDetails?: PaymentDetails;
|
|
258
346
|
/**
|
|
259
347
|
* if specified, must be a valid quoteId that was previously returned by the GetPayoutQuote method otherwise last available quote will be used
|
|
260
348
|
*
|
|
@@ -272,12 +360,14 @@ export declare const CreatePaymentRequest_PayOutSchema: GenMessage<CreatePayment
|
|
|
272
360
|
*/
|
|
273
361
|
export type CreatePaymentRequest_TravelRuleData = Message<"tzero.v1.payment.CreatePaymentRequest.TravelRuleData"> & {
|
|
274
362
|
/**
|
|
363
|
+
* *
|
|
275
364
|
* the natural or legal person that requests payment with originating provider
|
|
276
365
|
*
|
|
277
366
|
* @generated from field: repeated ivms101.Person originator = 10;
|
|
278
367
|
*/
|
|
279
368
|
originator: Person[];
|
|
280
369
|
/**
|
|
370
|
+
* *
|
|
281
371
|
* the natural or legal person or legal arrangement who is identified
|
|
282
372
|
* by the originator as the receiver of the requested payment.
|
|
283
373
|
*
|
|
@@ -360,7 +450,7 @@ export declare const CreatePaymentResponseSchema: GenMessage<CreatePaymentRespon
|
|
|
360
450
|
*/
|
|
361
451
|
export type CreatePaymentResponse_Success = Message<"tzero.v1.payment.CreatePaymentResponse.Success"> & {
|
|
362
452
|
/**
|
|
363
|
-
* payment
|
|
453
|
+
* payment ID assigned by the network
|
|
364
454
|
*
|
|
365
455
|
* @generated from field: uint64 payment_id = 10;
|
|
366
456
|
*/
|
|
@@ -382,7 +472,12 @@ export declare const CreatePaymentResponse_SuccessSchema: GenMessage<CreatePayme
|
|
|
382
472
|
/**
|
|
383
473
|
* @generated from message tzero.v1.payment.CreatePaymentResponse.Failure
|
|
384
474
|
*/
|
|
385
|
-
export type CreatePaymentResponse_Failure = Message<"tzero.v1.payment.CreatePaymentResponse.Failure"> & {
|
|
475
|
+
export type CreatePaymentResponse_Failure = Message<"tzero.v1.payment.CreatePaymentResponse.Failure"> & {
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: tzero.v1.payment.CreatePaymentResponse.Failure.Reason reason = 10;
|
|
478
|
+
*/
|
|
479
|
+
reason: CreatePaymentResponse_Failure_Reason;
|
|
480
|
+
};
|
|
386
481
|
/**
|
|
387
482
|
* Describes the message tzero.v1.payment.CreatePaymentResponse.Failure.
|
|
388
483
|
* Use `create(CreatePaymentResponse_FailureSchema)` to create a new message.
|
|
@@ -395,7 +490,19 @@ export declare enum CreatePaymentResponse_Failure_Reason {
|
|
|
395
490
|
/**
|
|
396
491
|
* @generated from enum value: REASON_UNSPECIFIED = 0;
|
|
397
492
|
*/
|
|
398
|
-
UNSPECIFIED = 0
|
|
493
|
+
UNSPECIFIED = 0,
|
|
494
|
+
/**
|
|
495
|
+
* No matching quote par for the specified pay-in and payout currencies found or provider limits would exceed by processing this payment
|
|
496
|
+
*
|
|
497
|
+
* @generated from enum value: REASON_QUOTE_NOT_FOUND = 10;
|
|
498
|
+
*/
|
|
499
|
+
QUOTE_NOT_FOUND = 10,
|
|
500
|
+
/**
|
|
501
|
+
* Payments with amount in pay out currency require available credit or pre-deposit
|
|
502
|
+
*
|
|
503
|
+
* @generated from enum value: REASON_CREDIT_OR_PREDEPOSIT_REQUIRED = 20;
|
|
504
|
+
*/
|
|
505
|
+
CREDIT_OR_PREDEPOSIT_REQUIRED = 20
|
|
399
506
|
}
|
|
400
507
|
/**
|
|
401
508
|
* Describes the enum tzero.v1.payment.CreatePaymentResponse.Failure.Reason.
|
|
@@ -519,6 +626,7 @@ export declare const NetworkService: GenService<{
|
|
|
519
626
|
* *
|
|
520
627
|
* Request the best available quote for a payout in a specific currency, for a given amount.
|
|
521
628
|
* If the payout quote exists, but the credit limit is exceeded, this quote will not be considered.
|
|
629
|
+
* Before calling this endpoint UpdateQuote should be periodically triggered in order to put pay-in quotes into the network.
|
|
522
630
|
*
|
|
523
631
|
* @generated from rpc tzero.v1.payment.NetworkService.GetQuote
|
|
524
632
|
*/
|