@t-0/provider-sdk 1.0.26 → 1.0.28
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/buf/validate/validate_pb.d.ts +4590 -0
- package/lib/cjs/common/gen/buf/validate/validate_pb.js +353 -0
- package/lib/cjs/common/gen/tzero/v1/common/common_pb.d.ts +2 -0
- package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +2 -1
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +167 -22
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +58 -11
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +77 -0
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +32 -0
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +98 -59
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +10 -18
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +153 -53
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +72 -37
- package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +22 -0
- package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -1
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +201 -14
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +41 -8
- package/lib/esm/common/gen/buf/validate/validate_pb.d.ts +4590 -0
- package/lib/esm/common/gen/buf/validate/validate_pb.js +350 -0
- package/lib/esm/common/gen/tzero/v1/common/common_pb.d.ts +2 -0
- package/lib/esm/common/gen/tzero/v1/common/common_pb.js +2 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +167 -22
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +57 -10
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +77 -0
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +29 -0
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +98 -59
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +9 -17
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +153 -53
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +71 -36
- package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +22 -0
- package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -1
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +201 -14
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +40 -7
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -14,22 +14,34 @@ export type PaymentMethod = Message<"tzero.v1.common.PaymentMethod"> & {
|
|
|
14
14
|
*/
|
|
15
15
|
details: {
|
|
16
16
|
/**
|
|
17
|
-
* @generated from field: tzero.v1.common.
|
|
17
|
+
* @generated from field: tzero.v1.common.SepaPaymentDetails sepa = 10;
|
|
18
18
|
*/
|
|
19
|
-
value:
|
|
19
|
+
value: SepaPaymentDetails;
|
|
20
20
|
case: "sepa";
|
|
21
21
|
} | {
|
|
22
22
|
/**
|
|
23
|
-
* @generated from field: tzero.v1.common.
|
|
23
|
+
* @generated from field: tzero.v1.common.SwiftPaymentDetails swift = 30;
|
|
24
24
|
*/
|
|
25
|
-
value:
|
|
25
|
+
value: SwiftPaymentDetails;
|
|
26
26
|
case: "swift";
|
|
27
27
|
} | {
|
|
28
28
|
/**
|
|
29
|
-
* @generated from field: tzero.v1.common.
|
|
29
|
+
* @generated from field: tzero.v1.common.StablecoinPaymentDetails stablecoin = 40;
|
|
30
30
|
*/
|
|
31
|
-
value:
|
|
31
|
+
value: StablecoinPaymentDetails;
|
|
32
32
|
case: "stablecoin";
|
|
33
|
+
} | {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: tzero.v1.common.AchPaymentDetails ach = 50;
|
|
36
|
+
*/
|
|
37
|
+
value: AchPaymentDetails;
|
|
38
|
+
case: "ach";
|
|
39
|
+
} | {
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: tzero.v1.common.WirePaymentDetails wire = 60;
|
|
42
|
+
*/
|
|
43
|
+
value: WirePaymentDetails;
|
|
44
|
+
case: "wire";
|
|
33
45
|
} | {
|
|
34
46
|
case: undefined;
|
|
35
47
|
value?: undefined;
|
|
@@ -41,58 +53,177 @@ export type PaymentMethod = Message<"tzero.v1.common.PaymentMethod"> & {
|
|
|
41
53
|
*/
|
|
42
54
|
export declare const PaymentMethodSchema: GenMessage<PaymentMethod>;
|
|
43
55
|
/**
|
|
44
|
-
* @generated from message tzero.v1.common.
|
|
56
|
+
* @generated from message tzero.v1.common.SepaPaymentDetails
|
|
45
57
|
*/
|
|
46
|
-
export type
|
|
58
|
+
export type SepaPaymentDetails = Message<"tzero.v1.common.SepaPaymentDetails"> & {
|
|
47
59
|
/**
|
|
60
|
+
* IBAN should be 15-34 characters, alphanumeric
|
|
61
|
+
*
|
|
48
62
|
* @generated from field: string iban = 20;
|
|
49
63
|
*/
|
|
50
64
|
iban: string;
|
|
51
65
|
/**
|
|
66
|
+
* Beneficiary name should be 1-70 characters (SEPA standard)
|
|
67
|
+
*
|
|
52
68
|
* @generated from field: string beneficiary_name = 30;
|
|
53
69
|
*/
|
|
54
70
|
beneficiaryName: string;
|
|
55
71
|
/**
|
|
72
|
+
* Payment reference up to 140 characters (SEPA standard)
|
|
73
|
+
*
|
|
56
74
|
* @generated from field: string payment_reference = 40;
|
|
57
75
|
*/
|
|
58
76
|
paymentReference: string;
|
|
59
77
|
};
|
|
60
78
|
/**
|
|
61
|
-
* Describes the message tzero.v1.common.
|
|
62
|
-
* Use `create(
|
|
79
|
+
* Describes the message tzero.v1.common.SepaPaymentDetails.
|
|
80
|
+
* Use `create(SepaPaymentDetailsSchema)` to create a new message.
|
|
63
81
|
*/
|
|
64
|
-
export declare const
|
|
82
|
+
export declare const SepaPaymentDetailsSchema: GenMessage<SepaPaymentDetails>;
|
|
65
83
|
/**
|
|
66
|
-
* @generated from message tzero.v1.common.
|
|
84
|
+
* @generated from message tzero.v1.common.SwiftPaymentDetails
|
|
67
85
|
*/
|
|
68
|
-
export type
|
|
86
|
+
export type SwiftPaymentDetails = Message<"tzero.v1.common.SwiftPaymentDetails"> & {};
|
|
69
87
|
/**
|
|
70
|
-
* Describes the message tzero.v1.common.
|
|
71
|
-
* Use `create(
|
|
88
|
+
* Describes the message tzero.v1.common.SwiftPaymentDetails.
|
|
89
|
+
* Use `create(SwiftPaymentDetailsSchema)` to create a new message.
|
|
72
90
|
*/
|
|
73
|
-
export declare const
|
|
91
|
+
export declare const SwiftPaymentDetailsSchema: GenMessage<SwiftPaymentDetails>;
|
|
74
92
|
/**
|
|
75
|
-
* @generated from message tzero.v1.common.
|
|
93
|
+
* @generated from message tzero.v1.common.StablecoinPaymentDetails
|
|
76
94
|
*/
|
|
77
|
-
export type
|
|
95
|
+
export type StablecoinPaymentDetails = Message<"tzero.v1.common.StablecoinPaymentDetails"> & {
|
|
78
96
|
/**
|
|
97
|
+
* Blockchain must be specified and not UNSPECIFIED
|
|
98
|
+
*
|
|
79
99
|
* @generated from field: tzero.v1.common.Blockchain blockchain = 10;
|
|
80
100
|
*/
|
|
81
101
|
blockchain: Blockchain;
|
|
82
102
|
/**
|
|
103
|
+
* Stablecoin must be specified and not UNSPECIFIED
|
|
104
|
+
*
|
|
83
105
|
* @generated from field: tzero.v1.common.Stablecoin stablecoin = 20;
|
|
84
106
|
*/
|
|
85
107
|
stablecoin: Stablecoin;
|
|
86
108
|
/**
|
|
109
|
+
* Blockchain address should be a valid hex address (20-64 chars for most blockchains)
|
|
110
|
+
*
|
|
87
111
|
* @generated from field: string address = 30;
|
|
88
112
|
*/
|
|
89
113
|
address: string;
|
|
90
114
|
};
|
|
91
115
|
/**
|
|
92
|
-
* Describes the message tzero.v1.common.
|
|
93
|
-
* Use `create(
|
|
116
|
+
* Describes the message tzero.v1.common.StablecoinPaymentDetails.
|
|
117
|
+
* Use `create(StablecoinPaymentDetailsSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const StablecoinPaymentDetailsSchema: GenMessage<StablecoinPaymentDetails>;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from message tzero.v1.common.AchPaymentDetails
|
|
122
|
+
*/
|
|
123
|
+
export type AchPaymentDetails = Message<"tzero.v1.common.AchPaymentDetails"> & {
|
|
124
|
+
/**
|
|
125
|
+
* US bank routing number (9 digits)
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: string routing_number = 10;
|
|
128
|
+
*/
|
|
129
|
+
routingNumber: string;
|
|
130
|
+
/**
|
|
131
|
+
* US bank account number (up to 17 digits)
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: string account_number = 20;
|
|
134
|
+
*/
|
|
135
|
+
accountNumber: string;
|
|
136
|
+
/**
|
|
137
|
+
* Account holder name (1-70 characters)
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: string account_holder_name = 30;
|
|
140
|
+
*/
|
|
141
|
+
accountHolderName: string;
|
|
142
|
+
/**
|
|
143
|
+
* Account type (checking or savings)
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: tzero.v1.common.AchPaymentDetails.AchAccountType account_type = 40;
|
|
146
|
+
*/
|
|
147
|
+
accountType: AchPaymentDetails_AchAccountType;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message tzero.v1.common.AchPaymentDetails.
|
|
151
|
+
* Use `create(AchPaymentDetailsSchema)` to create a new message.
|
|
94
152
|
*/
|
|
95
|
-
export declare const
|
|
153
|
+
export declare const AchPaymentDetailsSchema: GenMessage<AchPaymentDetails>;
|
|
154
|
+
/**
|
|
155
|
+
* @generated from enum tzero.v1.common.AchPaymentDetails.AchAccountType
|
|
156
|
+
*/
|
|
157
|
+
export declare enum AchPaymentDetails_AchAccountType {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from enum value: ACH_ACCOUNT_TYPE_UNSPECIFIED = 0;
|
|
160
|
+
*/
|
|
161
|
+
UNSPECIFIED = 0,
|
|
162
|
+
/**
|
|
163
|
+
* @generated from enum value: ACH_ACCOUNT_TYPE_CHECKING = 10;
|
|
164
|
+
*/
|
|
165
|
+
CHECKING = 10,
|
|
166
|
+
/**
|
|
167
|
+
* @generated from enum value: ACH_ACCOUNT_TYPE_SAVINGS = 20;
|
|
168
|
+
*/
|
|
169
|
+
SAVINGS = 20
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Describes the enum tzero.v1.common.AchPaymentDetails.AchAccountType.
|
|
173
|
+
*/
|
|
174
|
+
export declare const AchPaymentDetails_AchAccountTypeSchema: GenEnum<AchPaymentDetails_AchAccountType>;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from message tzero.v1.common.WirePaymentDetails
|
|
177
|
+
*/
|
|
178
|
+
export type WirePaymentDetails = Message<"tzero.v1.common.WirePaymentDetails"> & {
|
|
179
|
+
/**
|
|
180
|
+
* Bank name (1-70 characters)
|
|
181
|
+
*
|
|
182
|
+
* @generated from field: string bank_name = 10;
|
|
183
|
+
*/
|
|
184
|
+
bankName: string;
|
|
185
|
+
/**
|
|
186
|
+
* Bank address (1-140 characters)
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: string bank_address = 20;
|
|
189
|
+
*/
|
|
190
|
+
bankAddress: string;
|
|
191
|
+
/**
|
|
192
|
+
* SWIFT/BIC code (8 or 11 characters)
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: string swift_code = 30;
|
|
195
|
+
*/
|
|
196
|
+
swiftCode: string;
|
|
197
|
+
/**
|
|
198
|
+
* Account number (up to 34 characters for international compatibility)
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: string account_number = 40;
|
|
201
|
+
*/
|
|
202
|
+
accountNumber: string;
|
|
203
|
+
/**
|
|
204
|
+
* Beneficiary name (1-70 characters)
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string beneficiary_name = 50;
|
|
207
|
+
*/
|
|
208
|
+
beneficiaryName: string;
|
|
209
|
+
/**
|
|
210
|
+
* Beneficiary address (1-140 characters)
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string beneficiary_address = 60;
|
|
213
|
+
*/
|
|
214
|
+
beneficiaryAddress: string;
|
|
215
|
+
/**
|
|
216
|
+
* Wire reference/purpose (up to 140 characters)
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: string wire_reference = 70;
|
|
219
|
+
*/
|
|
220
|
+
wireReference: string;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* Describes the message tzero.v1.common.WirePaymentDetails.
|
|
224
|
+
* Use `create(WirePaymentDetailsSchema)` to create a new message.
|
|
225
|
+
*/
|
|
226
|
+
export declare const WirePaymentDetailsSchema: GenMessage<WirePaymentDetails>;
|
|
96
227
|
/**
|
|
97
228
|
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
98
229
|
*/
|
|
@@ -114,7 +245,21 @@ export declare enum PaymentMethodType {
|
|
|
114
245
|
*
|
|
115
246
|
* @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
|
|
116
247
|
*/
|
|
117
|
-
CARD = 30
|
|
248
|
+
CARD = 30,
|
|
249
|
+
/**
|
|
250
|
+
* only pay out
|
|
251
|
+
*
|
|
252
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_STABLECOIN = 40;
|
|
253
|
+
*/
|
|
254
|
+
STABLECOIN = 40,
|
|
255
|
+
/**
|
|
256
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_ACH = 50;
|
|
257
|
+
*/
|
|
258
|
+
ACH = 50,
|
|
259
|
+
/**
|
|
260
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_WIRE = 60;
|
|
261
|
+
*/
|
|
262
|
+
WIRE = 60
|
|
118
263
|
}
|
|
119
264
|
/**
|
|
120
265
|
* Describes the enum tzero.v1.common.PaymentMethodType.
|
|
@@ -3,30 +3,63 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_tzero_v1_common_common } from "./common_pb.js";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file tzero/v1/common/payment_method.proto.
|
|
8
9
|
*/
|
|
9
|
-
export const file_tzero_v1_common_payment_method = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_tzero_v1_common_payment_method = /*@__PURE__*/ fileDesc("CiR0emVyby92MS9jb21tb24vcGF5bWVudF9tZXRob2QucHJvdG8SD3R6ZXJvLnYxLmNvbW1vbiK2AgoNUGF5bWVudE1ldGhvZBIzCgRzZXBhGAogASgLMiMudHplcm8udjEuY29tbW9uLlNlcGFQYXltZW50RGV0YWlsc0gAEjUKBXN3aWZ0GB4gASgLMiQudHplcm8udjEuY29tbW9uLlN3aWZ0UGF5bWVudERldGFpbHNIABI/CgpzdGFibGVjb2luGCggASgLMikudHplcm8udjEuY29tbW9uLlN0YWJsZWNvaW5QYXltZW50RGV0YWlsc0gAEjEKA2FjaBgyIAEoCzIiLnR6ZXJvLnYxLmNvbW1vbi5BY2hQYXltZW50RGV0YWlsc0gAEjMKBHdpcmUYPCABKAsyIy50emVyby52MS5jb21tb24uV2lyZVBheW1lbnREZXRhaWxzSABCEAoHZGV0YWlscxIFukgCCAEilAEKElNlcGFQYXltZW50RGV0YWlscxI0CgRpYmFuGBQgASgJQia6SCNyIRAPGCIyG15bQS1aXXsyfVswLTldezJ9W0EtWjAtOV0rJBIjChBiZW5lZmljaWFyeV9uYW1lGB4gASgJQgm6SAZyBBABGEYSIwoRcGF5bWVudF9yZWZlcmVuY2UYKCABKAlCCLpIBXIDGIwBIhUKE1N3aWZ0UGF5bWVudERldGFpbHMiwQEKGFN0YWJsZWNvaW5QYXltZW50RGV0YWlscxI5CgpibG9ja2NoYWluGAogASgOMhsudHplcm8udjEuY29tbW9uLkJsb2NrY2hhaW5CCLpIBYIBAiAAEjkKCnN0YWJsZWNvaW4YFCABKA4yGy50emVyby52MS5jb21tb24uU3RhYmxlY29pbkIIukgFggECIAASLwoHYWRkcmVzcxgeIAEoCUIeukgbchkQFBhAMhNeKDB4KT9bYS1mQS1GMC05XSskItsCChFBY2hQYXltZW50RGV0YWlscxItCg5yb3V0aW5nX251bWJlchgKIAEoCUIVukgSchAQCRgJMgpeWzAtOV17OX0kEisKDmFjY291bnRfbnVtYmVyGBQgASgJQhO6SBByDhABGBEyCF5bMC05XSskEiYKE2FjY291bnRfaG9sZGVyX25hbWUYHiABKAlCCbpIBnIEEAEYRhJRCgxhY2NvdW50X3R5cGUYKCABKA4yMS50emVyby52MS5jb21tb24uQWNoUGF5bWVudERldGFpbHMuQWNoQWNjb3VudFR5cGVCCLpIBYIBAiAAIm8KDkFjaEFjY291bnRUeXBlEiAKHEFDSF9BQ0NPVU5UX1RZUEVfVU5TUEVDSUZJRUQQABIdChlBQ0hfQUNDT1VOVF9UWVBFX0NIRUNLSU5HEAoSHAoYQUNIX0FDQ09VTlRfVFlQRV9TQVZJTkdTEBQiqwIKEldpcmVQYXltZW50RGV0YWlscxIcCgliYW5rX25hbWUYCiABKAlCCbpIBnIEEAEYRhIgCgxiYW5rX2FkZHJlc3MYFCABKAlCCrpIB3IFEAEYjAESQgoKc3dpZnRfY29kZRgeIAEoCUIuukgrcikQCBgLMiNeW0EtWl17Nn1bQS1aMC05XXsyfShbQS1aMC05XXszfSk/JBIhCg5hY2NvdW50X251bWJlchgoIAEoCUIJukgGcgQQARgiEiMKEGJlbmVmaWNpYXJ5X25hbWUYMiABKAlCCbpIBnIEEAEYRhInChNiZW5lZmljaWFyeV9hZGRyZXNzGDwgASgJQgq6SAdyBRABGIwBEiAKDndpcmVfcmVmZXJlbmNlGEYgASgJQgi6SAVyAxiMASryAQoRUGF5bWVudE1ldGhvZFR5cGUSIwofUEFZTUVOVF9NRVRIT0RfVFlQRV9VTlNQRUNJRklFRBAAEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfU0VQQRAKEh0KGVBBWU1FTlRfTUVUSE9EX1RZUEVfU1dJRlQQFBIcChhQQVlNRU5UX01FVEhPRF9UWVBFX0NBUkQQHhIiCh5QQVlNRU5UX01FVEhPRF9UWVBFX1NUQUJMRUNPSU4QKBIbChdQQVlNRU5UX01FVEhPRF9UWVBFX0FDSBAyEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfV0lSRRA8QocBChNjb20udHplcm8udjEuY29tbW9uQhJQYXltZW50TWV0aG9kUHJvdG9QAaICA1RWQ6oCD1R6ZXJvLlYxLkNvbW1vbsoCD1R6ZXJvXFYxXENvbW1vbuICG1R6ZXJvXFYxXENvbW1vblxHUEJNZXRhZGF0YeoCEVR6ZXJvOjpWMTo6Q29tbW9uYgZwcm90bzM", [file_tzero_v1_common_common, file_buf_validate_validate]);
|
|
10
11
|
/**
|
|
11
12
|
* Describes the message tzero.v1.common.PaymentMethod.
|
|
12
13
|
* Use `create(PaymentMethodSchema)` to create a new message.
|
|
13
14
|
*/
|
|
14
15
|
export const PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 0);
|
|
15
16
|
/**
|
|
16
|
-
* Describes the message tzero.v1.common.
|
|
17
|
-
* Use `create(
|
|
17
|
+
* Describes the message tzero.v1.common.SepaPaymentDetails.
|
|
18
|
+
* Use `create(SepaPaymentDetailsSchema)` to create a new message.
|
|
18
19
|
*/
|
|
19
|
-
export const
|
|
20
|
+
export const SepaPaymentDetailsSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 1);
|
|
20
21
|
/**
|
|
21
|
-
* Describes the message tzero.v1.common.
|
|
22
|
-
* Use `create(
|
|
22
|
+
* Describes the message tzero.v1.common.SwiftPaymentDetails.
|
|
23
|
+
* Use `create(SwiftPaymentDetailsSchema)` to create a new message.
|
|
23
24
|
*/
|
|
24
|
-
export const
|
|
25
|
+
export const SwiftPaymentDetailsSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 2);
|
|
25
26
|
/**
|
|
26
|
-
* Describes the message tzero.v1.common.
|
|
27
|
-
* Use `create(
|
|
27
|
+
* Describes the message tzero.v1.common.StablecoinPaymentDetails.
|
|
28
|
+
* Use `create(StablecoinPaymentDetailsSchema)` to create a new message.
|
|
28
29
|
*/
|
|
29
|
-
export const
|
|
30
|
+
export const StablecoinPaymentDetailsSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message tzero.v1.common.AchPaymentDetails.
|
|
33
|
+
* Use `create(AchPaymentDetailsSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const AchPaymentDetailsSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 4);
|
|
36
|
+
/**
|
|
37
|
+
* @generated from enum tzero.v1.common.AchPaymentDetails.AchAccountType
|
|
38
|
+
*/
|
|
39
|
+
export var AchPaymentDetails_AchAccountType;
|
|
40
|
+
(function (AchPaymentDetails_AchAccountType) {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: ACH_ACCOUNT_TYPE_UNSPECIFIED = 0;
|
|
43
|
+
*/
|
|
44
|
+
AchPaymentDetails_AchAccountType[AchPaymentDetails_AchAccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: ACH_ACCOUNT_TYPE_CHECKING = 10;
|
|
47
|
+
*/
|
|
48
|
+
AchPaymentDetails_AchAccountType[AchPaymentDetails_AchAccountType["CHECKING"] = 10] = "CHECKING";
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum value: ACH_ACCOUNT_TYPE_SAVINGS = 20;
|
|
51
|
+
*/
|
|
52
|
+
AchPaymentDetails_AchAccountType[AchPaymentDetails_AchAccountType["SAVINGS"] = 20] = "SAVINGS";
|
|
53
|
+
})(AchPaymentDetails_AchAccountType || (AchPaymentDetails_AchAccountType = {}));
|
|
54
|
+
/**
|
|
55
|
+
* Describes the enum tzero.v1.common.AchPaymentDetails.AchAccountType.
|
|
56
|
+
*/
|
|
57
|
+
export const AchPaymentDetails_AchAccountTypeSchema = /*@__PURE__*/ enumDesc(file_tzero_v1_common_payment_method, 4, 0);
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message tzero.v1.common.WirePaymentDetails.
|
|
60
|
+
* Use `create(WirePaymentDetailsSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const WirePaymentDetailsSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_method, 5);
|
|
30
63
|
/**
|
|
31
64
|
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
32
65
|
*/
|
|
@@ -50,6 +83,20 @@ export var PaymentMethodType;
|
|
|
50
83
|
* @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
|
|
51
84
|
*/
|
|
52
85
|
PaymentMethodType[PaymentMethodType["CARD"] = 30] = "CARD";
|
|
86
|
+
/**
|
|
87
|
+
* only pay out
|
|
88
|
+
*
|
|
89
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_STABLECOIN = 40;
|
|
90
|
+
*/
|
|
91
|
+
PaymentMethodType[PaymentMethodType["STABLECOIN"] = 40] = "STABLECOIN";
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_ACH = 50;
|
|
94
|
+
*/
|
|
95
|
+
PaymentMethodType[PaymentMethodType["ACH"] = 50] = "ACH";
|
|
96
|
+
/**
|
|
97
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_WIRE = 60;
|
|
98
|
+
*/
|
|
99
|
+
PaymentMethodType[PaymentMethodType["WIRE"] = 60] = "WIRE";
|
|
53
100
|
})(PaymentMethodType || (PaymentMethodType = {}));
|
|
54
101
|
/**
|
|
55
102
|
* Describes the enum tzero.v1.common.PaymentMethodType.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file tzero/v1/common/payment_receipt.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_tzero_v1_common_payment_receipt: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message tzero.v1.common.PaymentReceipt
|
|
9
|
+
*/
|
|
10
|
+
export type PaymentReceipt = Message<"tzero.v1.common.PaymentReceipt"> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from oneof tzero.v1.common.PaymentReceipt.details
|
|
13
|
+
*/
|
|
14
|
+
details: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: tzero.v1.common.SepaReceipt sepa = 10;
|
|
17
|
+
*/
|
|
18
|
+
value: SepaReceipt;
|
|
19
|
+
case: "sepa";
|
|
20
|
+
} | {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: tzero.v1.common.SwiftReceipt swift = 30;
|
|
23
|
+
*/
|
|
24
|
+
value: SwiftReceipt;
|
|
25
|
+
case: "swift";
|
|
26
|
+
} | {
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: tzero.v1.common.StablecoinReceipt stablecoin = 40;
|
|
29
|
+
*/
|
|
30
|
+
value: StablecoinReceipt;
|
|
31
|
+
case: "stablecoin";
|
|
32
|
+
} | {
|
|
33
|
+
case: undefined;
|
|
34
|
+
value?: undefined;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message tzero.v1.common.PaymentReceipt.
|
|
39
|
+
* Use `create(PaymentReceiptSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export declare const PaymentReceiptSchema: GenMessage<PaymentReceipt>;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message tzero.v1.common.SepaReceipt
|
|
44
|
+
*/
|
|
45
|
+
export type SepaReceipt = Message<"tzero.v1.common.SepaReceipt"> & {};
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message tzero.v1.common.SepaReceipt.
|
|
48
|
+
* Use `create(SepaReceiptSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const SepaReceiptSchema: GenMessage<SepaReceipt>;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message tzero.v1.common.SwiftReceipt
|
|
53
|
+
*/
|
|
54
|
+
export type SwiftReceipt = Message<"tzero.v1.common.SwiftReceipt"> & {};
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message tzero.v1.common.SwiftReceipt.
|
|
57
|
+
* Use `create(SwiftReceiptSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const SwiftReceiptSchema: GenMessage<SwiftReceipt>;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message tzero.v1.common.StablecoinReceipt
|
|
62
|
+
*/
|
|
63
|
+
export type StablecoinReceipt = Message<"tzero.v1.common.StablecoinReceipt"> & {
|
|
64
|
+
/**
|
|
65
|
+
* Transaction hash should be a valid hex string (64 chars for most blockchains)
|
|
66
|
+
*
|
|
67
|
+
* on-chain hex encoded transaction hash
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string transaction_hash = 10;
|
|
70
|
+
*/
|
|
71
|
+
transactionHash: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Describes the message tzero.v1.common.StablecoinReceipt.
|
|
75
|
+
* Use `create(StablecoinReceiptSchema)` to create a new message.
|
|
76
|
+
*/
|
|
77
|
+
export declare const StablecoinReceiptSchema: GenMessage<StablecoinReceipt>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file tzero/v1/common/payment_receipt.proto (package tzero.v1.common, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file tzero/v1/common/payment_receipt.proto.
|
|
8
|
+
*/
|
|
9
|
+
export const file_tzero_v1_common_payment_receipt = /*@__PURE__*/ fileDesc("CiV0emVyby92MS9jb21tb24vcGF5bWVudF9yZWNlaXB0LnByb3RvEg90emVyby52MS5jb21tb24iugEKDlBheW1lbnRSZWNlaXB0EiwKBHNlcGEYCiABKAsyHC50emVyby52MS5jb21tb24uU2VwYVJlY2VpcHRIABIuCgVzd2lmdBgeIAEoCzIdLnR6ZXJvLnYxLmNvbW1vbi5Td2lmdFJlY2VpcHRIABI4CgpzdGFibGVjb2luGCggASgLMiIudHplcm8udjEuY29tbW9uLlN0YWJsZWNvaW5SZWNlaXB0SABCEAoHZGV0YWlscxIFukgCCAEiDQoLU2VwYVJlY2VpcHQiDgoMU3dpZnRSZWNlaXB0IlAKEVN0YWJsZWNvaW5SZWNlaXB0EjsKEHRyYW5zYWN0aW9uX2hhc2gYCiABKAlCIbpIHnIcEEAYQjIWXigweCk/W2EtZkEtRjAtOV17NjR9JEKIAQoTY29tLnR6ZXJvLnYxLmNvbW1vbkITUGF5bWVudFJlY2VpcHRQcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw", [file_buf_validate_validate]);
|
|
10
|
+
/**
|
|
11
|
+
* Describes the message tzero.v1.common.PaymentReceipt.
|
|
12
|
+
* Use `create(PaymentReceiptSchema)` to create a new message.
|
|
13
|
+
*/
|
|
14
|
+
export const PaymentReceiptSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 0);
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message tzero.v1.common.SepaReceipt.
|
|
17
|
+
* Use `create(SepaReceiptSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const SepaReceiptSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 1);
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message tzero.v1.common.SwiftReceipt.
|
|
22
|
+
* Use `create(SwiftReceiptSchema)` to create a new message.
|
|
23
|
+
*/
|
|
24
|
+
export const SwiftReceiptSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 2);
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message tzero.v1.common.StablecoinReceipt.
|
|
27
|
+
* Use `create(StablecoinReceiptSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const StablecoinReceiptSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_common_payment_receipt, 3);
|