@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.
Files changed (35) hide show
  1. package/lib/cjs/common/gen/buf/validate/validate_pb.d.ts +4590 -0
  2. package/lib/cjs/common/gen/buf/validate/validate_pb.js +353 -0
  3. package/lib/cjs/common/gen/tzero/v1/common/common_pb.d.ts +2 -0
  4. package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +2 -1
  5. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +167 -22
  6. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +58 -11
  7. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +77 -0
  8. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +32 -0
  9. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +98 -59
  10. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +10 -18
  11. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +153 -53
  12. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +72 -37
  13. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +22 -0
  14. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -1
  15. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +201 -14
  16. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +41 -8
  17. package/lib/esm/common/gen/buf/validate/validate_pb.d.ts +4590 -0
  18. package/lib/esm/common/gen/buf/validate/validate_pb.js +350 -0
  19. package/lib/esm/common/gen/tzero/v1/common/common_pb.d.ts +2 -0
  20. package/lib/esm/common/gen/tzero/v1/common/common_pb.js +2 -1
  21. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +167 -22
  22. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +57 -10
  23. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +77 -0
  24. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +29 -0
  25. package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +98 -59
  26. package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +9 -17
  27. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +153 -53
  28. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +71 -36
  29. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +22 -0
  30. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -1
  31. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +201 -14
  32. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +40 -7
  33. package/lib/tsconfig.cjs.tsbuildinfo +1 -1
  34. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  35. 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.SepaPaymentMethod sepa = 10;
17
+ * @generated from field: tzero.v1.common.SepaPaymentDetails sepa = 10;
18
18
  */
19
- value: SepaPaymentMethod;
19
+ value: SepaPaymentDetails;
20
20
  case: "sepa";
21
21
  } | {
22
22
  /**
23
- * @generated from field: tzero.v1.common.SwiftPaymentMethod swift = 30;
23
+ * @generated from field: tzero.v1.common.SwiftPaymentDetails swift = 30;
24
24
  */
25
- value: SwiftPaymentMethod;
25
+ value: SwiftPaymentDetails;
26
26
  case: "swift";
27
27
  } | {
28
28
  /**
29
- * @generated from field: tzero.v1.common.StablecoinPaymentMethod stablecoin = 40;
29
+ * @generated from field: tzero.v1.common.StablecoinPaymentDetails stablecoin = 40;
30
30
  */
31
- value: StablecoinPaymentMethod;
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.SepaPaymentMethod
56
+ * @generated from message tzero.v1.common.SepaPaymentDetails
45
57
  */
46
- export type SepaPaymentMethod = Message<"tzero.v1.common.SepaPaymentMethod"> & {
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.SepaPaymentMethod.
62
- * Use `create(SepaPaymentMethodSchema)` to create a new message.
79
+ * Describes the message tzero.v1.common.SepaPaymentDetails.
80
+ * Use `create(SepaPaymentDetailsSchema)` to create a new message.
63
81
  */
64
- export declare const SepaPaymentMethodSchema: GenMessage<SepaPaymentMethod>;
82
+ export declare const SepaPaymentDetailsSchema: GenMessage<SepaPaymentDetails>;
65
83
  /**
66
- * @generated from message tzero.v1.common.SwiftPaymentMethod
84
+ * @generated from message tzero.v1.common.SwiftPaymentDetails
67
85
  */
68
- export type SwiftPaymentMethod = Message<"tzero.v1.common.SwiftPaymentMethod"> & {};
86
+ export type SwiftPaymentDetails = Message<"tzero.v1.common.SwiftPaymentDetails"> & {};
69
87
  /**
70
- * Describes the message tzero.v1.common.SwiftPaymentMethod.
71
- * Use `create(SwiftPaymentMethodSchema)` to create a new message.
88
+ * Describes the message tzero.v1.common.SwiftPaymentDetails.
89
+ * Use `create(SwiftPaymentDetailsSchema)` to create a new message.
72
90
  */
73
- export declare const SwiftPaymentMethodSchema: GenMessage<SwiftPaymentMethod>;
91
+ export declare const SwiftPaymentDetailsSchema: GenMessage<SwiftPaymentDetails>;
74
92
  /**
75
- * @generated from message tzero.v1.common.StablecoinPaymentMethod
93
+ * @generated from message tzero.v1.common.StablecoinPaymentDetails
76
94
  */
77
- export type StablecoinPaymentMethod = Message<"tzero.v1.common.StablecoinPaymentMethod"> & {
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.StablecoinPaymentMethod.
93
- * Use `create(StablecoinPaymentMethodSchema)` to create a new message.
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 StablecoinPaymentMethodSchema: GenMessage<StablecoinPaymentMethod>;
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,33 +3,66 @@
3
3
  // @generated from file tzero/v1/common/payment_method.proto (package tzero.v1.common, syntax proto3)
4
4
  /* eslint-disable */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.PaymentMethodTypeSchema = exports.PaymentMethodType = exports.StablecoinPaymentMethodSchema = exports.SwiftPaymentMethodSchema = exports.SepaPaymentMethodSchema = exports.PaymentMethodSchema = exports.file_tzero_v1_common_payment_method = void 0;
6
+ exports.PaymentMethodTypeSchema = exports.PaymentMethodType = exports.WirePaymentDetailsSchema = exports.AchPaymentDetails_AchAccountTypeSchema = exports.AchPaymentDetails_AchAccountType = exports.AchPaymentDetailsSchema = exports.StablecoinPaymentDetailsSchema = exports.SwiftPaymentDetailsSchema = exports.SepaPaymentDetailsSchema = exports.PaymentMethodSchema = exports.file_tzero_v1_common_payment_method = void 0;
7
7
  const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
8
  const common_pb_js_1 = require("./common_pb.js");
9
+ const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
9
10
  /**
10
11
  * Describes the file tzero/v1/common/payment_method.proto.
11
12
  */
12
- exports.file_tzero_v1_common_payment_method = (0, codegenv2_1.fileDesc)("CiR0emVyby92MS9jb21tb24vcGF5bWVudF9tZXRob2QucHJvdG8SD3R6ZXJvLnYxLmNvbW1vbiLEAQoNUGF5bWVudE1ldGhvZBIyCgRzZXBhGAogASgLMiIudHplcm8udjEuY29tbW9uLlNlcGFQYXltZW50TWV0aG9kSAASNAoFc3dpZnQYHiABKAsyIy50emVyby52MS5jb21tb24uU3dpZnRQYXltZW50TWV0aG9kSAASPgoKc3RhYmxlY29pbhgoIAEoCzIoLnR6ZXJvLnYxLmNvbW1vbi5TdGFibGVjb2luUGF5bWVudE1ldGhvZEgAQgkKB2RldGFpbHMiVgoRU2VwYVBheW1lbnRNZXRob2QSDAoEaWJhbhgUIAEoCRIYChBiZW5lZmljaWFyeV9uYW1lGB4gASgJEhkKEXBheW1lbnRfcmVmZXJlbmNlGCggASgJIhQKElN3aWZ0UGF5bWVudE1ldGhvZCKMAQoXU3RhYmxlY29pblBheW1lbnRNZXRob2QSLwoKYmxvY2tjaGFpbhgKIAEoDjIbLnR6ZXJvLnYxLmNvbW1vbi5CbG9ja2NoYWluEi8KCnN0YWJsZWNvaW4YFCABKA4yGy50emVyby52MS5jb21tb24uU3RhYmxlY29pbhIPCgdhZGRyZXNzGB4gASgJKpMBChFQYXltZW50TWV0aG9kVHlwZRIjCh9QQVlNRU5UX01FVEhPRF9UWVBFX1VOU1BFQ0lGSUVEEAASHAoYUEFZTUVOVF9NRVRIT0RfVFlQRV9TRVBBEAoSHQoZUEFZTUVOVF9NRVRIT0RfVFlQRV9TV0lGVBAUEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfQ0FSRBAeQocBChNjb20udHplcm8udjEuY29tbW9uQhJQYXltZW50TWV0aG9kUHJvdG9QAaICA1RWQ6oCD1R6ZXJvLlYxLkNvbW1vbsoCD1R6ZXJvXFYxXENvbW1vbuICG1R6ZXJvXFYxXENvbW1vblxHUEJNZXRhZGF0YeoCEVR6ZXJvOjpWMTo6Q29tbW9uYgZwcm90bzM", [common_pb_js_1.file_tzero_v1_common_common]);
13
+ exports.file_tzero_v1_common_payment_method = (0, codegenv2_1.fileDesc)("CiR0emVyby92MS9jb21tb24vcGF5bWVudF9tZXRob2QucHJvdG8SD3R6ZXJvLnYxLmNvbW1vbiK2AgoNUGF5bWVudE1ldGhvZBIzCgRzZXBhGAogASgLMiMudHplcm8udjEuY29tbW9uLlNlcGFQYXltZW50RGV0YWlsc0gAEjUKBXN3aWZ0GB4gASgLMiQudHplcm8udjEuY29tbW9uLlN3aWZ0UGF5bWVudERldGFpbHNIABI/CgpzdGFibGVjb2luGCggASgLMikudHplcm8udjEuY29tbW9uLlN0YWJsZWNvaW5QYXltZW50RGV0YWlsc0gAEjEKA2FjaBgyIAEoCzIiLnR6ZXJvLnYxLmNvbW1vbi5BY2hQYXltZW50RGV0YWlsc0gAEjMKBHdpcmUYPCABKAsyIy50emVyby52MS5jb21tb24uV2lyZVBheW1lbnREZXRhaWxzSABCEAoHZGV0YWlscxIFukgCCAEilAEKElNlcGFQYXltZW50RGV0YWlscxI0CgRpYmFuGBQgASgJQia6SCNyIRAPGCIyG15bQS1aXXsyfVswLTldezJ9W0EtWjAtOV0rJBIjChBiZW5lZmljaWFyeV9uYW1lGB4gASgJQgm6SAZyBBABGEYSIwoRcGF5bWVudF9yZWZlcmVuY2UYKCABKAlCCLpIBXIDGIwBIhUKE1N3aWZ0UGF5bWVudERldGFpbHMiwQEKGFN0YWJsZWNvaW5QYXltZW50RGV0YWlscxI5CgpibG9ja2NoYWluGAogASgOMhsudHplcm8udjEuY29tbW9uLkJsb2NrY2hhaW5CCLpIBYIBAiAAEjkKCnN0YWJsZWNvaW4YFCABKA4yGy50emVyby52MS5jb21tb24uU3RhYmxlY29pbkIIukgFggECIAASLwoHYWRkcmVzcxgeIAEoCUIeukgbchkQFBhAMhNeKDB4KT9bYS1mQS1GMC05XSskItsCChFBY2hQYXltZW50RGV0YWlscxItCg5yb3V0aW5nX251bWJlchgKIAEoCUIVukgSchAQCRgJMgpeWzAtOV17OX0kEisKDmFjY291bnRfbnVtYmVyGBQgASgJQhO6SBByDhABGBEyCF5bMC05XSskEiYKE2FjY291bnRfaG9sZGVyX25hbWUYHiABKAlCCbpIBnIEEAEYRhJRCgxhY2NvdW50X3R5cGUYKCABKA4yMS50emVyby52MS5jb21tb24uQWNoUGF5bWVudERldGFpbHMuQWNoQWNjb3VudFR5cGVCCLpIBYIBAiAAIm8KDkFjaEFjY291bnRUeXBlEiAKHEFDSF9BQ0NPVU5UX1RZUEVfVU5TUEVDSUZJRUQQABIdChlBQ0hfQUNDT1VOVF9UWVBFX0NIRUNLSU5HEAoSHAoYQUNIX0FDQ09VTlRfVFlQRV9TQVZJTkdTEBQiqwIKEldpcmVQYXltZW50RGV0YWlscxIcCgliYW5rX25hbWUYCiABKAlCCbpIBnIEEAEYRhIgCgxiYW5rX2FkZHJlc3MYFCABKAlCCrpIB3IFEAEYjAESQgoKc3dpZnRfY29kZRgeIAEoCUIuukgrcikQCBgLMiNeW0EtWl17Nn1bQS1aMC05XXsyfShbQS1aMC05XXszfSk/JBIhCg5hY2NvdW50X251bWJlchgoIAEoCUIJukgGcgQQARgiEiMKEGJlbmVmaWNpYXJ5X25hbWUYMiABKAlCCbpIBnIEEAEYRhInChNiZW5lZmljaWFyeV9hZGRyZXNzGDwgASgJQgq6SAdyBRABGIwBEiAKDndpcmVfcmVmZXJlbmNlGEYgASgJQgi6SAVyAxiMASryAQoRUGF5bWVudE1ldGhvZFR5cGUSIwofUEFZTUVOVF9NRVRIT0RfVFlQRV9VTlNQRUNJRklFRBAAEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfU0VQQRAKEh0KGVBBWU1FTlRfTUVUSE9EX1RZUEVfU1dJRlQQFBIcChhQQVlNRU5UX01FVEhPRF9UWVBFX0NBUkQQHhIiCh5QQVlNRU5UX01FVEhPRF9UWVBFX1NUQUJMRUNPSU4QKBIbChdQQVlNRU5UX01FVEhPRF9UWVBFX0FDSBAyEhwKGFBBWU1FTlRfTUVUSE9EX1RZUEVfV0lSRRA8QocBChNjb20udHplcm8udjEuY29tbW9uQhJQYXltZW50TWV0aG9kUHJvdG9QAaICA1RWQ6oCD1R6ZXJvLlYxLkNvbW1vbsoCD1R6ZXJvXFYxXENvbW1vbuICG1R6ZXJvXFYxXENvbW1vblxHUEJNZXRhZGF0YeoCEVR6ZXJvOjpWMTo6Q29tbW9uYgZwcm90bzM", [common_pb_js_1.file_tzero_v1_common_common, validate_pb_js_1.file_buf_validate_validate]);
13
14
  /**
14
15
  * Describes the message tzero.v1.common.PaymentMethod.
15
16
  * Use `create(PaymentMethodSchema)` to create a new message.
16
17
  */
17
18
  exports.PaymentMethodSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 0);
18
19
  /**
19
- * Describes the message tzero.v1.common.SepaPaymentMethod.
20
- * Use `create(SepaPaymentMethodSchema)` to create a new message.
20
+ * Describes the message tzero.v1.common.SepaPaymentDetails.
21
+ * Use `create(SepaPaymentDetailsSchema)` to create a new message.
21
22
  */
22
- exports.SepaPaymentMethodSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 1);
23
+ exports.SepaPaymentDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 1);
23
24
  /**
24
- * Describes the message tzero.v1.common.SwiftPaymentMethod.
25
- * Use `create(SwiftPaymentMethodSchema)` to create a new message.
25
+ * Describes the message tzero.v1.common.SwiftPaymentDetails.
26
+ * Use `create(SwiftPaymentDetailsSchema)` to create a new message.
26
27
  */
27
- exports.SwiftPaymentMethodSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 2);
28
+ exports.SwiftPaymentDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 2);
28
29
  /**
29
- * Describes the message tzero.v1.common.StablecoinPaymentMethod.
30
- * Use `create(StablecoinPaymentMethodSchema)` to create a new message.
30
+ * Describes the message tzero.v1.common.StablecoinPaymentDetails.
31
+ * Use `create(StablecoinPaymentDetailsSchema)` to create a new message.
31
32
  */
32
- exports.StablecoinPaymentMethodSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 3);
33
+ exports.StablecoinPaymentDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 3);
34
+ /**
35
+ * Describes the message tzero.v1.common.AchPaymentDetails.
36
+ * Use `create(AchPaymentDetailsSchema)` to create a new message.
37
+ */
38
+ exports.AchPaymentDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 4);
39
+ /**
40
+ * @generated from enum tzero.v1.common.AchPaymentDetails.AchAccountType
41
+ */
42
+ var AchPaymentDetails_AchAccountType;
43
+ (function (AchPaymentDetails_AchAccountType) {
44
+ /**
45
+ * @generated from enum value: ACH_ACCOUNT_TYPE_UNSPECIFIED = 0;
46
+ */
47
+ AchPaymentDetails_AchAccountType[AchPaymentDetails_AchAccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
48
+ /**
49
+ * @generated from enum value: ACH_ACCOUNT_TYPE_CHECKING = 10;
50
+ */
51
+ AchPaymentDetails_AchAccountType[AchPaymentDetails_AchAccountType["CHECKING"] = 10] = "CHECKING";
52
+ /**
53
+ * @generated from enum value: ACH_ACCOUNT_TYPE_SAVINGS = 20;
54
+ */
55
+ AchPaymentDetails_AchAccountType[AchPaymentDetails_AchAccountType["SAVINGS"] = 20] = "SAVINGS";
56
+ })(AchPaymentDetails_AchAccountType || (exports.AchPaymentDetails_AchAccountType = AchPaymentDetails_AchAccountType = {}));
57
+ /**
58
+ * Describes the enum tzero.v1.common.AchPaymentDetails.AchAccountType.
59
+ */
60
+ exports.AchPaymentDetails_AchAccountTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_tzero_v1_common_payment_method, 4, 0);
61
+ /**
62
+ * Describes the message tzero.v1.common.WirePaymentDetails.
63
+ * Use `create(WirePaymentDetailsSchema)` to create a new message.
64
+ */
65
+ exports.WirePaymentDetailsSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_method, 5);
33
66
  /**
34
67
  * @generated from enum tzero.v1.common.PaymentMethodType
35
68
  */
@@ -53,6 +86,20 @@ var PaymentMethodType;
53
86
  * @generated from enum value: PAYMENT_METHOD_TYPE_CARD = 30;
54
87
  */
55
88
  PaymentMethodType[PaymentMethodType["CARD"] = 30] = "CARD";
89
+ /**
90
+ * only pay out
91
+ *
92
+ * @generated from enum value: PAYMENT_METHOD_TYPE_STABLECOIN = 40;
93
+ */
94
+ PaymentMethodType[PaymentMethodType["STABLECOIN"] = 40] = "STABLECOIN";
95
+ /**
96
+ * @generated from enum value: PAYMENT_METHOD_TYPE_ACH = 50;
97
+ */
98
+ PaymentMethodType[PaymentMethodType["ACH"] = 50] = "ACH";
99
+ /**
100
+ * @generated from enum value: PAYMENT_METHOD_TYPE_WIRE = 60;
101
+ */
102
+ PaymentMethodType[PaymentMethodType["WIRE"] = 60] = "WIRE";
56
103
  })(PaymentMethodType || (exports.PaymentMethodType = PaymentMethodType = {}));
57
104
  /**
58
105
  * 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,32 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.6.2 with parameter "target=ts,import_extension=js"
3
+ // @generated from file tzero/v1/common/payment_receipt.proto (package tzero.v1.common, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.StablecoinReceiptSchema = exports.SwiftReceiptSchema = exports.SepaReceiptSchema = exports.PaymentReceiptSchema = exports.file_tzero_v1_common_payment_receipt = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
9
+ /**
10
+ * Describes the file tzero/v1/common/payment_receipt.proto.
11
+ */
12
+ exports.file_tzero_v1_common_payment_receipt = (0, codegenv2_1.fileDesc)("CiV0emVyby92MS9jb21tb24vcGF5bWVudF9yZWNlaXB0LnByb3RvEg90emVyby52MS5jb21tb24iugEKDlBheW1lbnRSZWNlaXB0EiwKBHNlcGEYCiABKAsyHC50emVyby52MS5jb21tb24uU2VwYVJlY2VpcHRIABIuCgVzd2lmdBgeIAEoCzIdLnR6ZXJvLnYxLmNvbW1vbi5Td2lmdFJlY2VpcHRIABI4CgpzdGFibGVjb2luGCggASgLMiIudHplcm8udjEuY29tbW9uLlN0YWJsZWNvaW5SZWNlaXB0SABCEAoHZGV0YWlscxIFukgCCAEiDQoLU2VwYVJlY2VpcHQiDgoMU3dpZnRSZWNlaXB0IlAKEVN0YWJsZWNvaW5SZWNlaXB0EjsKEHRyYW5zYWN0aW9uX2hhc2gYCiABKAlCIbpIHnIcEEAYQjIWXigweCk/W2EtZkEtRjAtOV17NjR9JEKIAQoTY29tLnR6ZXJvLnYxLmNvbW1vbkITUGF5bWVudFJlY2VpcHRQcm90b1ABogIDVFZDqgIPVHplcm8uVjEuQ29tbW9uygIPVHplcm9cVjFcQ29tbW9u4gIbVHplcm9cVjFcQ29tbW9uXEdQQk1ldGFkYXRh6gIRVHplcm86OlYxOjpDb21tb25iBnByb3RvMw", [validate_pb_js_1.file_buf_validate_validate]);
13
+ /**
14
+ * Describes the message tzero.v1.common.PaymentReceipt.
15
+ * Use `create(PaymentReceiptSchema)` to create a new message.
16
+ */
17
+ exports.PaymentReceiptSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_receipt, 0);
18
+ /**
19
+ * Describes the message tzero.v1.common.SepaReceipt.
20
+ * Use `create(SepaReceiptSchema)` to create a new message.
21
+ */
22
+ exports.SepaReceiptSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_receipt, 1);
23
+ /**
24
+ * Describes the message tzero.v1.common.SwiftReceipt.
25
+ * Use `create(SwiftReceiptSchema)` to create a new message.
26
+ */
27
+ exports.SwiftReceiptSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_receipt, 2);
28
+ /**
29
+ * Describes the message tzero.v1.common.StablecoinReceipt.
30
+ * Use `create(StablecoinReceiptSchema)` to create a new message.
31
+ */
32
+ exports.StablecoinReceiptSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_common_payment_receipt, 3);