@t-0/provider-sdk 1.0.27 → 1.0.29
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/client/client.js +2 -2
- package/lib/cjs/common/gen/tzero/v1/common/common_pb.d.ts +0 -2
- 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 +106 -13
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +43 -3
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +0 -2
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +110 -176
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +20 -20
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +2 -2
- 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.d.ts +4 -16
- package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -2
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +0 -10
- 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/service/node.js +2 -2
- package/lib/esm/client/client.js +1 -1
- package/lib/esm/common/gen/tzero/v1/common/common_pb.d.ts +0 -2
- 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 +106 -13
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +42 -2
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +0 -2
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +110 -176
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +19 -19
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +2 -2
- 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.d.ts +4 -16
- package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +2 -2
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +0 -10
- 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/service/node.js +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +10 -10
|
@@ -42,18 +42,12 @@ export declare const UpdateQuoteRequestSchema: GenMessage<UpdateQuoteRequest>;
|
|
|
42
42
|
*/
|
|
43
43
|
export type UpdateQuoteRequest_Quote = Message<"tzero.v1.payment.UpdateQuoteRequest.Quote"> & {
|
|
44
44
|
/**
|
|
45
|
-
* ISO 4217 currency code (3 uppercase letters)
|
|
46
|
-
*
|
|
47
45
|
* BRL, EUR, GBP, etc. (ISO 4217 currency code)
|
|
48
46
|
*
|
|
49
47
|
* @generated from field: string currency = 10;
|
|
50
48
|
*/
|
|
51
49
|
currency: string;
|
|
52
50
|
/**
|
|
53
|
-
* Quote type must be specified
|
|
54
|
-
*
|
|
55
|
-
* type of the quote, e.g. real-time or guaranteed
|
|
56
|
-
*
|
|
57
51
|
* @generated from field: tzero.v1.payment.QuoteType quote_type = 20;
|
|
58
52
|
*/
|
|
59
53
|
quoteType: QuoteType;
|
|
@@ -64,24 +58,18 @@ export type UpdateQuoteRequest_Quote = Message<"tzero.v1.payment.UpdateQuoteRequ
|
|
|
64
58
|
*/
|
|
65
59
|
paymentMethod: PaymentMethodType;
|
|
66
60
|
/**
|
|
67
|
-
* At least one band is required
|
|
68
|
-
*
|
|
69
61
|
* list of bands for this quote
|
|
70
62
|
*
|
|
71
63
|
* @generated from field: repeated tzero.v1.payment.UpdateQuoteRequest.Quote.Band bands = 30;
|
|
72
64
|
*/
|
|
73
65
|
bands: UpdateQuoteRequest_Quote_Band[];
|
|
74
66
|
/**
|
|
75
|
-
* Expiration must be in the future
|
|
76
|
-
*
|
|
77
67
|
* expiration time of the quote
|
|
78
68
|
*
|
|
79
69
|
* @generated from field: google.protobuf.Timestamp expiration = 60;
|
|
80
70
|
*/
|
|
81
71
|
expiration?: Timestamp;
|
|
82
72
|
/**
|
|
83
|
-
* Timestamp is required
|
|
84
|
-
*
|
|
85
73
|
* timestamp quote was created
|
|
86
74
|
*
|
|
87
75
|
* @generated from field: google.protobuf.Timestamp timestamp = 70;
|
|
@@ -98,24 +86,18 @@ export declare const UpdateQuoteRequest_QuoteSchema: GenMessage<UpdateQuoteReque
|
|
|
98
86
|
*/
|
|
99
87
|
export type UpdateQuoteRequest_Quote_Band = Message<"tzero.v1.payment.UpdateQuoteRequest.Quote.Band"> & {
|
|
100
88
|
/**
|
|
101
|
-
* Client quote ID must be non-empty and reasonable length
|
|
102
|
-
*
|
|
103
89
|
* unique client generated id for this band
|
|
104
90
|
*
|
|
105
91
|
* @generated from field: string client_quote_id = 10;
|
|
106
92
|
*/
|
|
107
93
|
clientQuoteId: string;
|
|
108
94
|
/**
|
|
109
|
-
* Max amount is required
|
|
110
|
-
*
|
|
111
95
|
* max amount of USD this quote is applicable for. Please look into documentation for valid amounts.
|
|
112
96
|
*
|
|
113
97
|
* @generated from field: tzero.v1.common.Decimal max_amount = 40;
|
|
114
98
|
*/
|
|
115
99
|
maxAmount?: Decimal;
|
|
116
100
|
/**
|
|
117
|
-
* Rate is required and must be positive
|
|
118
|
-
*
|
|
119
101
|
* USD/currency rate
|
|
120
102
|
*
|
|
121
103
|
* @generated from field: tzero.v1.common.Decimal rate = 50;
|
|
@@ -137,137 +119,99 @@ export type UpdateQuoteResponse = Message<"tzero.v1.payment.UpdateQuoteResponse"
|
|
|
137
119
|
*/
|
|
138
120
|
export declare const UpdateQuoteResponseSchema: GenMessage<UpdateQuoteResponse>;
|
|
139
121
|
/**
|
|
140
|
-
* @generated from message tzero.v1.payment.
|
|
122
|
+
* @generated from message tzero.v1.payment.GetQuoteRequest
|
|
141
123
|
*/
|
|
142
|
-
export type
|
|
124
|
+
export type GetQuoteRequest = Message<"tzero.v1.payment.GetQuoteRequest"> & {
|
|
143
125
|
/**
|
|
144
|
-
* ISO 4217 currency code (3 uppercase letters)
|
|
145
|
-
*
|
|
146
126
|
* ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
|
|
147
127
|
*
|
|
148
|
-
* @generated from field: string
|
|
128
|
+
* @generated from field: string pay_in_currency = 10;
|
|
149
129
|
*/
|
|
150
|
-
|
|
130
|
+
payInCurrency: string;
|
|
151
131
|
/**
|
|
152
|
-
*
|
|
132
|
+
* amount in pay-in currency
|
|
153
133
|
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* @generated from field: tzero.v1.common.Decimal amount = 20;
|
|
134
|
+
* @generated from field: tzero.v1.common.Decimal pay_in_amount = 20;
|
|
157
135
|
*/
|
|
158
|
-
|
|
136
|
+
payInAmount?: Decimal;
|
|
159
137
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* type of the quote, e.g. real-time or guaranteed
|
|
138
|
+
* payment method to use for the payout, e.g. bank transfer, card, etc.
|
|
163
139
|
*
|
|
164
|
-
* @generated from field: tzero.v1.
|
|
140
|
+
* @generated from field: tzero.v1.common.PaymentMethodType pay_in_method = 30;
|
|
165
141
|
*/
|
|
166
|
-
|
|
142
|
+
payInMethod: PaymentMethodType;
|
|
167
143
|
/**
|
|
168
|
-
*
|
|
144
|
+
* ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
|
|
169
145
|
*
|
|
146
|
+
* @generated from field: string pay_out_currency = 40;
|
|
147
|
+
*/
|
|
148
|
+
payOutCurrency: string;
|
|
149
|
+
/**
|
|
170
150
|
* payment method to use for the payout, e.g. bank transfer, card, etc.
|
|
171
151
|
*
|
|
172
|
-
* @generated from field: tzero.v1.common.PaymentMethodType
|
|
152
|
+
* @generated from field: tzero.v1.common.PaymentMethodType pay_out_method = 50;
|
|
153
|
+
*/
|
|
154
|
+
payOutMethod: PaymentMethodType;
|
|
155
|
+
/**
|
|
156
|
+
* type of the quote, e.g. real-time or guaranteed
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: tzero.v1.payment.QuoteType quote_type = 60;
|
|
173
159
|
*/
|
|
174
|
-
|
|
160
|
+
quoteType: QuoteType;
|
|
175
161
|
};
|
|
176
162
|
/**
|
|
177
|
-
* Describes the message tzero.v1.payment.
|
|
178
|
-
* Use `create(
|
|
163
|
+
* Describes the message tzero.v1.payment.GetQuoteRequest.
|
|
164
|
+
* Use `create(GetQuoteRequestSchema)` to create a new message.
|
|
179
165
|
*/
|
|
180
|
-
export declare const
|
|
166
|
+
export declare const GetQuoteRequestSchema: GenMessage<GetQuoteRequest>;
|
|
181
167
|
/**
|
|
182
|
-
* @generated from message tzero.v1.payment.
|
|
168
|
+
* @generated from message tzero.v1.payment.GetQuoteResponse
|
|
183
169
|
*/
|
|
184
|
-
export type
|
|
170
|
+
export type GetQuoteResponse = Message<"tzero.v1.payment.GetQuoteResponse"> & {
|
|
185
171
|
/**
|
|
186
|
-
* Rate is required
|
|
187
|
-
*
|
|
188
172
|
* rate in USD/currency, e.g. 1.2345 for 1 USD = 1.2345 EUR
|
|
189
173
|
*
|
|
190
174
|
* @generated from field: tzero.v1.common.Decimal rate = 10;
|
|
191
175
|
*/
|
|
192
176
|
rate?: Decimal;
|
|
193
177
|
/**
|
|
194
|
-
* Expiration must be in the future
|
|
195
|
-
*
|
|
196
178
|
* expiration time of the quote
|
|
197
179
|
*
|
|
198
180
|
* @generated from field: google.protobuf.Timestamp expiration = 20;
|
|
199
181
|
*/
|
|
200
182
|
expiration?: Timestamp;
|
|
201
183
|
/**
|
|
202
|
-
* Quote ID is required
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
184
|
* @generated from field: tzero.v1.payment.QuoteId quote_id = 30;
|
|
207
185
|
*/
|
|
208
186
|
quoteId?: QuoteId;
|
|
209
187
|
};
|
|
210
188
|
/**
|
|
211
|
-
* Describes the message tzero.v1.payment.
|
|
212
|
-
* Use `create(
|
|
189
|
+
* Describes the message tzero.v1.payment.GetQuoteResponse.
|
|
190
|
+
* Use `create(GetQuoteResponseSchema)` to create a new message.
|
|
213
191
|
*/
|
|
214
|
-
export declare const
|
|
192
|
+
export declare const GetQuoteResponseSchema: GenMessage<GetQuoteResponse>;
|
|
215
193
|
/**
|
|
216
194
|
* @generated from message tzero.v1.payment.CreatePaymentRequest
|
|
217
195
|
*/
|
|
218
196
|
export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentRequest"> & {
|
|
219
197
|
/**
|
|
220
|
-
* Payment client ID must be non-empty and reasonable length
|
|
221
|
-
*
|
|
222
198
|
* unique client generated id for this payment
|
|
223
199
|
*
|
|
224
200
|
* @generated from field: string payment_client_id = 10;
|
|
225
201
|
*/
|
|
226
202
|
paymentClientId: string;
|
|
227
203
|
/**
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
|
|
231
|
-
*
|
|
232
|
-
* @generated from field: string payout_currency = 20;
|
|
233
|
-
*/
|
|
234
|
-
payoutCurrency: string;
|
|
235
|
-
/**
|
|
236
|
-
* Payout details are required
|
|
237
|
-
*
|
|
238
|
-
* payment method to use for the payout, e.g. bank transfer, card, etc.
|
|
239
|
-
*
|
|
240
|
-
* @generated from field: tzero.v1.common.PaymentMethod payout_details = 25;
|
|
204
|
+
* @generated from field: tzero.v1.payment.PaymentAmount amount = 30;
|
|
241
205
|
*/
|
|
242
|
-
|
|
206
|
+
amount?: PaymentAmount;
|
|
243
207
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* amount in the payin currency, by default USD (if the payIn currency is not specified)
|
|
247
|
-
*
|
|
248
|
-
* @generated from field: tzero.v1.common.Decimal amount = 30;
|
|
208
|
+
* @generated from field: tzero.v1.payment.CreatePaymentRequest.PayIn pay_in = 40;
|
|
249
209
|
*/
|
|
250
|
-
|
|
210
|
+
payIn?: CreatePaymentRequest_PayIn;
|
|
251
211
|
/**
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
* if not specified, USD is used
|
|
255
|
-
*
|
|
256
|
-
* @generated from field: optional string payin_currency = 40;
|
|
212
|
+
* @generated from field: tzero.v1.payment.CreatePaymentRequest.PayOut pay_out = 45;
|
|
257
213
|
*/
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* optional or option in the oneof?
|
|
261
|
-
*
|
|
262
|
-
* @generated from field: tzero.v1.payment.CreatePaymentRequest.Sender sender = 50;
|
|
263
|
-
*/
|
|
264
|
-
sender?: CreatePaymentRequest_Sender;
|
|
265
|
-
/**
|
|
266
|
-
* optional or option in the oneof?
|
|
267
|
-
*
|
|
268
|
-
* @generated from field: tzero.v1.payment.CreatePaymentRequest.Recipient recipient = 60;
|
|
269
|
-
*/
|
|
270
|
-
recipient?: CreatePaymentRequest_Recipient;
|
|
214
|
+
payOut?: CreatePaymentRequest_PayOut;
|
|
271
215
|
/**
|
|
272
216
|
* optional reference for the payment, up to 140 characters
|
|
273
217
|
*
|
|
@@ -275,12 +219,6 @@ export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentReques
|
|
|
275
219
|
* @deprecated
|
|
276
220
|
*/
|
|
277
221
|
reference?: string;
|
|
278
|
-
/**
|
|
279
|
-
* if specified, must be a valid quoteId that was previously returned by the GetPayoutQuote method
|
|
280
|
-
*
|
|
281
|
-
* @generated from field: optional tzero.v1.payment.QuoteId quote_id = 100;
|
|
282
|
-
*/
|
|
283
|
-
quoteId?: QuoteId;
|
|
284
222
|
};
|
|
285
223
|
/**
|
|
286
224
|
* Describes the message tzero.v1.payment.CreatePaymentRequest.
|
|
@@ -288,100 +226,60 @@ export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentReques
|
|
|
288
226
|
*/
|
|
289
227
|
export declare const CreatePaymentRequestSchema: GenMessage<CreatePaymentRequest>;
|
|
290
228
|
/**
|
|
291
|
-
*
|
|
229
|
+
* Provider must submit quotes to the network for the specified pay-in currency and payment method
|
|
292
230
|
*
|
|
293
|
-
* @generated from message tzero.v1.payment.CreatePaymentRequest.
|
|
231
|
+
* @generated from message tzero.v1.payment.CreatePaymentRequest.PayIn
|
|
294
232
|
*/
|
|
295
|
-
export type
|
|
233
|
+
export type CreatePaymentRequest_PayIn = Message<"tzero.v1.payment.CreatePaymentRequest.PayIn"> & {
|
|
296
234
|
/**
|
|
297
|
-
* @generated from
|
|
235
|
+
* @generated from field: string currency = 10;
|
|
298
236
|
*/
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* @generated from field: tzero.v1.payment.CreatePaymentRequest.PrivatePerson private_person = 10;
|
|
302
|
-
*/
|
|
303
|
-
value: CreatePaymentRequest_PrivatePerson;
|
|
304
|
-
case: "privatePerson";
|
|
305
|
-
} | {
|
|
306
|
-
case: undefined;
|
|
307
|
-
value?: undefined;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
/**
|
|
311
|
-
* Describes the message tzero.v1.payment.CreatePaymentRequest.Sender.
|
|
312
|
-
* Use `create(CreatePaymentRequest_SenderSchema)` to create a new message.
|
|
313
|
-
*/
|
|
314
|
-
export declare const CreatePaymentRequest_SenderSchema: GenMessage<CreatePaymentRequest_Sender>;
|
|
315
|
-
/**
|
|
316
|
-
* Work in progress
|
|
317
|
-
*
|
|
318
|
-
* @generated from message tzero.v1.payment.CreatePaymentRequest.Recipient
|
|
319
|
-
*/
|
|
320
|
-
export type CreatePaymentRequest_Recipient = Message<"tzero.v1.payment.CreatePaymentRequest.Recipient"> & {
|
|
237
|
+
currency: string;
|
|
321
238
|
/**
|
|
322
|
-
* @generated from
|
|
239
|
+
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
|
|
323
240
|
*/
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* @generated from field: tzero.v1.payment.CreatePaymentRequest.PrivatePerson private_person = 10;
|
|
327
|
-
*/
|
|
328
|
-
value: CreatePaymentRequest_PrivatePerson;
|
|
329
|
-
case: "privatePerson";
|
|
330
|
-
} | {
|
|
331
|
-
case: undefined;
|
|
332
|
-
value?: undefined;
|
|
333
|
-
};
|
|
241
|
+
paymentMethod: PaymentMethodType;
|
|
334
242
|
};
|
|
335
243
|
/**
|
|
336
|
-
* Describes the message tzero.v1.payment.CreatePaymentRequest.
|
|
337
|
-
* Use `create(
|
|
244
|
+
* Describes the message tzero.v1.payment.CreatePaymentRequest.PayIn.
|
|
245
|
+
* Use `create(CreatePaymentRequest_PayInSchema)` to create a new message.
|
|
338
246
|
*/
|
|
339
|
-
export declare const
|
|
247
|
+
export declare const CreatePaymentRequest_PayInSchema: GenMessage<CreatePaymentRequest_PayIn>;
|
|
340
248
|
/**
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
* @generated from message tzero.v1.payment.CreatePaymentRequest.PrivatePerson
|
|
249
|
+
* @generated from message tzero.v1.payment.CreatePaymentRequest.PayOut
|
|
344
250
|
*/
|
|
345
|
-
export type
|
|
251
|
+
export type CreatePaymentRequest_PayOut = Message<"tzero.v1.payment.CreatePaymentRequest.PayOut"> & {
|
|
346
252
|
/**
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
* @generated from field: string private_person_client_id = 10;
|
|
253
|
+
* @generated from field: string currency = 10;
|
|
350
254
|
*/
|
|
351
|
-
|
|
255
|
+
currency: string;
|
|
352
256
|
/**
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* @generated from field: string first_name = 20;
|
|
257
|
+
* @generated from field: tzero.v1.common.PaymentMethod payment_method = 20;
|
|
356
258
|
*/
|
|
357
|
-
|
|
259
|
+
paymentMethod?: PaymentMethod;
|
|
358
260
|
/**
|
|
359
|
-
*
|
|
261
|
+
* if specified, must be a valid quoteId that was previously returned by the GetPayoutQuote method otherwise last available quote will be used
|
|
360
262
|
*
|
|
361
|
-
* @generated from field:
|
|
263
|
+
* @generated from field: optional tzero.v1.payment.QuoteId quote_id = 100;
|
|
362
264
|
*/
|
|
363
|
-
|
|
265
|
+
quoteId?: QuoteId;
|
|
364
266
|
};
|
|
365
267
|
/**
|
|
366
|
-
* Describes the message tzero.v1.payment.CreatePaymentRequest.
|
|
367
|
-
* Use `create(
|
|
268
|
+
* Describes the message tzero.v1.payment.CreatePaymentRequest.PayOut.
|
|
269
|
+
* Use `create(CreatePaymentRequest_PayOutSchema)` to create a new message.
|
|
368
270
|
*/
|
|
369
|
-
export declare const
|
|
271
|
+
export declare const CreatePaymentRequest_PayOutSchema: GenMessage<CreatePaymentRequest_PayOut>;
|
|
370
272
|
/**
|
|
371
273
|
* @generated from message tzero.v1.payment.QuoteId
|
|
372
274
|
*/
|
|
373
275
|
export type QuoteId = Message<"tzero.v1.payment.QuoteId"> & {
|
|
374
276
|
/**
|
|
375
|
-
* Quote ID must be positive
|
|
376
|
-
*
|
|
377
277
|
* unique identifier of the quote within the specified provider
|
|
378
278
|
*
|
|
379
279
|
* @generated from field: int64 quote_id = 30;
|
|
380
280
|
*/
|
|
381
281
|
quoteId: bigint;
|
|
382
282
|
/**
|
|
383
|
-
* Provider ID must be positive
|
|
384
|
-
*
|
|
385
283
|
* provider id of the quote
|
|
386
284
|
*
|
|
387
285
|
* @generated from field: int32 provider_id = 40;
|
|
@@ -398,8 +296,6 @@ export declare const QuoteIdSchema: GenMessage<QuoteId>;
|
|
|
398
296
|
*/
|
|
399
297
|
export type CreatePaymentResponse = Message<"tzero.v1.payment.CreatePaymentResponse"> & {
|
|
400
298
|
/**
|
|
401
|
-
* Payment client ID must be non-empty
|
|
402
|
-
*
|
|
403
299
|
* client generated id supplied in the request
|
|
404
300
|
*
|
|
405
301
|
* @generated from field: string payment_client_id = 10;
|
|
@@ -443,13 +339,19 @@ export declare const CreatePaymentResponseSchema: GenMessage<CreatePaymentRespon
|
|
|
443
339
|
*/
|
|
444
340
|
export type CreatePaymentResponse_Success = Message<"tzero.v1.payment.CreatePaymentResponse.Success"> & {
|
|
445
341
|
/**
|
|
446
|
-
* Payment ID must be positive
|
|
447
|
-
*
|
|
448
342
|
* payment id assigned by the network
|
|
449
343
|
*
|
|
450
|
-
* @generated from field:
|
|
344
|
+
* @generated from field: uint64 payment_id = 10;
|
|
451
345
|
*/
|
|
452
346
|
paymentId: bigint;
|
|
347
|
+
/**
|
|
348
|
+
* @generated from field: tzero.v1.common.Decimal pay_in_amount = 20;
|
|
349
|
+
*/
|
|
350
|
+
payInAmount?: Decimal;
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: tzero.v1.common.Decimal settlement_amount = 30;
|
|
353
|
+
*/
|
|
354
|
+
settlementAmount?: Decimal;
|
|
453
355
|
};
|
|
454
356
|
/**
|
|
455
357
|
* Describes the message tzero.v1.payment.CreatePaymentResponse.Success.
|
|
@@ -483,19 +385,15 @@ export declare const CreatePaymentResponse_Failure_ReasonSchema: GenEnum<CreateP
|
|
|
483
385
|
*/
|
|
484
386
|
export type ConfirmPayoutRequest = Message<"tzero.v1.payment.ConfirmPayoutRequest"> & {
|
|
485
387
|
/**
|
|
486
|
-
* Payment ID must be positive
|
|
487
|
-
*
|
|
488
388
|
* payment id assigned by the network, this is the same payment id that was provided in the PayoutRequest
|
|
489
389
|
*
|
|
490
|
-
* @generated from field:
|
|
390
|
+
* @generated from field: uint64 payment_id = 10;
|
|
491
391
|
*/
|
|
492
392
|
paymentId: bigint;
|
|
493
393
|
/**
|
|
494
|
-
* Payout ID must be positive
|
|
495
|
-
*
|
|
496
394
|
* payout id assigned by the payout provider, this is the same payout id that was provided in the PayoutRequest
|
|
497
395
|
*
|
|
498
|
-
* @generated from field:
|
|
396
|
+
* @generated from field: uint64 payout_id = 20;
|
|
499
397
|
*/
|
|
500
398
|
payoutId: bigint;
|
|
501
399
|
/**
|
|
@@ -520,6 +418,42 @@ export type ConfirmPayoutResponse = Message<"tzero.v1.payment.ConfirmPayoutRespo
|
|
|
520
418
|
* Use `create(ConfirmPayoutResponseSchema)` to create a new message.
|
|
521
419
|
*/
|
|
522
420
|
export declare const ConfirmPayoutResponseSchema: GenMessage<ConfirmPayoutResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* Payment amount could be specified eiter as pay-in amount and then converted to corresponding amount of pay-out amount
|
|
423
|
+
* or as pay-out amount, so that pay-in and settlement amounts are calculated accordingly
|
|
424
|
+
*
|
|
425
|
+
* @generated from message tzero.v1.payment.PaymentAmount
|
|
426
|
+
*/
|
|
427
|
+
export type PaymentAmount = Message<"tzero.v1.payment.PaymentAmount"> & {
|
|
428
|
+
/**
|
|
429
|
+
* @generated from oneof tzero.v1.payment.PaymentAmount.amount
|
|
430
|
+
*/
|
|
431
|
+
amount: {
|
|
432
|
+
/**
|
|
433
|
+
* Amount in the pay-in currency
|
|
434
|
+
*
|
|
435
|
+
* @generated from field: tzero.v1.common.Decimal pay_in_amount = 10;
|
|
436
|
+
*/
|
|
437
|
+
value: Decimal;
|
|
438
|
+
case: "payInAmount";
|
|
439
|
+
} | {
|
|
440
|
+
/**
|
|
441
|
+
* Amount in the pay-out currency
|
|
442
|
+
*
|
|
443
|
+
* @generated from field: tzero.v1.common.Decimal pay_out_amount = 20;
|
|
444
|
+
*/
|
|
445
|
+
value: Decimal;
|
|
446
|
+
case: "payOutAmount";
|
|
447
|
+
} | {
|
|
448
|
+
case: undefined;
|
|
449
|
+
value?: undefined;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
/**
|
|
453
|
+
* Describes the message tzero.v1.payment.PaymentAmount.
|
|
454
|
+
* Use `create(PaymentAmountSchema)` to create a new message.
|
|
455
|
+
*/
|
|
456
|
+
export declare const PaymentAmountSchema: GenMessage<PaymentAmount>;
|
|
523
457
|
/**
|
|
524
458
|
* @generated from enum tzero.v1.payment.QuoteType
|
|
525
459
|
*/
|
|
@@ -565,12 +499,12 @@ export declare const NetworkService: GenService<{
|
|
|
565
499
|
* Request the best available quote for a payout in a specific currency, for a given amount.
|
|
566
500
|
* If the payout quote exists, but the credit limit is exceeded, this quote will not be considered.
|
|
567
501
|
*
|
|
568
|
-
* @generated from rpc tzero.v1.payment.NetworkService.
|
|
502
|
+
* @generated from rpc tzero.v1.payment.NetworkService.GetQuote
|
|
569
503
|
*/
|
|
570
|
-
|
|
504
|
+
getQuote: {
|
|
571
505
|
methodKind: "unary";
|
|
572
|
-
input: typeof
|
|
573
|
-
output: typeof
|
|
506
|
+
input: typeof GetQuoteRequestSchema;
|
|
507
|
+
output: typeof GetQuoteResponseSchema;
|
|
574
508
|
};
|
|
575
509
|
/**
|
|
576
510
|
* *
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @generated by protoc-gen-es v2.
|
|
2
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
|
|
3
3
|
// @generated from file tzero/v1/payment/network.proto (package tzero.v1.payment, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NetworkService = exports.QuoteTypeSchema = exports.QuoteType = exports.ConfirmPayoutResponseSchema = exports.ConfirmPayoutRequestSchema = exports.CreatePaymentResponse_Failure_ReasonSchema = exports.CreatePaymentResponse_Failure_Reason = exports.CreatePaymentResponse_FailureSchema = exports.CreatePaymentResponse_SuccessSchema = exports.CreatePaymentResponseSchema = exports.QuoteIdSchema = exports.
|
|
6
|
+
exports.NetworkService = exports.QuoteTypeSchema = exports.QuoteType = exports.PaymentAmountSchema = exports.ConfirmPayoutResponseSchema = exports.ConfirmPayoutRequestSchema = exports.CreatePaymentResponse_Failure_ReasonSchema = exports.CreatePaymentResponse_Failure_Reason = exports.CreatePaymentResponse_FailureSchema = exports.CreatePaymentResponse_SuccessSchema = exports.CreatePaymentResponseSchema = exports.QuoteIdSchema = exports.CreatePaymentRequest_PayOutSchema = exports.CreatePaymentRequest_PayInSchema = exports.CreatePaymentRequestSchema = exports.GetQuoteResponseSchema = exports.GetQuoteRequestSchema = exports.UpdateQuoteResponseSchema = exports.UpdateQuoteRequest_Quote_BandSchema = exports.UpdateQuoteRequest_QuoteSchema = exports.UpdateQuoteRequestSchema = exports.file_tzero_v1_payment_network = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const common_pb_js_1 = require("../common/common_pb.js");
|
|
9
9
|
const payment_method_pb_js_1 = require("../common/payment_method_pb.js");
|
|
@@ -13,7 +13,7 @@ const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the file tzero/v1/payment/network.proto.
|
|
15
15
|
*/
|
|
16
|
-
exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("
|
|
16
|
+
exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+gMKBVF1b3RlEiYKCGN1cnJlbmN5GAogASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI3CgpxdW90ZV90eXBlGBQgASgOMhsudHplcm8udjEucGF5bWVudC5RdW90ZVR5cGVCBrpIA8gBARJCCg5wYXltZW50X21ldGhvZBgZIAEoDjIiLnR6ZXJvLnYxLmNvbW1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YKCEdldFF1b3RlEiEudHplcm8udjEucGF5bWVudC5HZXRRdW90ZVJlcXVlc3QaIi50emVyby52MS5wYXltZW50LkdldFF1b3RlUmVzcG9uc2UiA5ACARJlCg1DcmVhdGVQYXltZW50EiYudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ3JlYXRlUGF5bWVudFJlc3BvbnNlIgOQAgISZQoNQ29uZmlybVBheW91dBImLnR6ZXJvLnYxLnBheW1lbnQuQ29uZmlybVBheW91dFJlcXVlc3QaJy50emVyby52MS5wYXltZW50LkNvbmZpcm1QYXlvdXRSZXNwb25zZSIDkAICQoYBChRjb20udHplcm8udjEucGF5bWVudEIMTmV0d29ya1Byb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [common_pb_js_1.file_tzero_v1_common_common, payment_method_pb_js_1.file_tzero_v1_common_payment_method, payment_receipt_pb_js_1.file_tzero_v1_common_payment_receipt, wkt_1.file_google_protobuf_timestamp, validate_pb_js_1.file_buf_validate_validate]);
|
|
17
17
|
/**
|
|
18
18
|
* Describes the message tzero.v1.payment.UpdateQuoteRequest.
|
|
19
19
|
* Use `create(UpdateQuoteRequestSchema)` to create a new message.
|
|
@@ -35,35 +35,30 @@ exports.UpdateQuoteRequest_Quote_BandSchema = (0, codegenv2_1.messageDesc)(expor
|
|
|
35
35
|
*/
|
|
36
36
|
exports.UpdateQuoteResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 1);
|
|
37
37
|
/**
|
|
38
|
-
* Describes the message tzero.v1.payment.
|
|
39
|
-
* Use `create(
|
|
38
|
+
* Describes the message tzero.v1.payment.GetQuoteRequest.
|
|
39
|
+
* Use `create(GetQuoteRequestSchema)` to create a new message.
|
|
40
40
|
*/
|
|
41
|
-
exports.
|
|
41
|
+
exports.GetQuoteRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 2);
|
|
42
42
|
/**
|
|
43
|
-
* Describes the message tzero.v1.payment.
|
|
44
|
-
* Use `create(
|
|
43
|
+
* Describes the message tzero.v1.payment.GetQuoteResponse.
|
|
44
|
+
* Use `create(GetQuoteResponseSchema)` to create a new message.
|
|
45
45
|
*/
|
|
46
|
-
exports.
|
|
46
|
+
exports.GetQuoteResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 3);
|
|
47
47
|
/**
|
|
48
48
|
* Describes the message tzero.v1.payment.CreatePaymentRequest.
|
|
49
49
|
* Use `create(CreatePaymentRequestSchema)` to create a new message.
|
|
50
50
|
*/
|
|
51
51
|
exports.CreatePaymentRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 4);
|
|
52
52
|
/**
|
|
53
|
-
* Describes the message tzero.v1.payment.CreatePaymentRequest.
|
|
54
|
-
* Use `create(
|
|
53
|
+
* Describes the message tzero.v1.payment.CreatePaymentRequest.PayIn.
|
|
54
|
+
* Use `create(CreatePaymentRequest_PayInSchema)` to create a new message.
|
|
55
55
|
*/
|
|
56
|
-
exports.
|
|
56
|
+
exports.CreatePaymentRequest_PayInSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 4, 0);
|
|
57
57
|
/**
|
|
58
|
-
* Describes the message tzero.v1.payment.CreatePaymentRequest.
|
|
59
|
-
* Use `create(
|
|
58
|
+
* Describes the message tzero.v1.payment.CreatePaymentRequest.PayOut.
|
|
59
|
+
* Use `create(CreatePaymentRequest_PayOutSchema)` to create a new message.
|
|
60
60
|
*/
|
|
61
|
-
exports.
|
|
62
|
-
/**
|
|
63
|
-
* Describes the message tzero.v1.payment.CreatePaymentRequest.PrivatePerson.
|
|
64
|
-
* Use `create(CreatePaymentRequest_PrivatePersonSchema)` to create a new message.
|
|
65
|
-
*/
|
|
66
|
-
exports.CreatePaymentRequest_PrivatePersonSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 4, 2);
|
|
61
|
+
exports.CreatePaymentRequest_PayOutSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 4, 1);
|
|
67
62
|
/**
|
|
68
63
|
* Describes the message tzero.v1.payment.QuoteId.
|
|
69
64
|
* Use `create(QuoteIdSchema)` to create a new message.
|
|
@@ -108,6 +103,11 @@ exports.ConfirmPayoutRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_t
|
|
|
108
103
|
* Use `create(ConfirmPayoutResponseSchema)` to create a new message.
|
|
109
104
|
*/
|
|
110
105
|
exports.ConfirmPayoutResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 8);
|
|
106
|
+
/**
|
|
107
|
+
* Describes the message tzero.v1.payment.PaymentAmount.
|
|
108
|
+
* Use `create(PaymentAmountSchema)` to create a new message.
|
|
109
|
+
*/
|
|
110
|
+
exports.PaymentAmountSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 9);
|
|
111
111
|
/**
|
|
112
112
|
* @generated from enum tzero.v1.payment.QuoteType
|
|
113
113
|
*/
|
|
@@ -333,14 +333,14 @@ export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
|
333
333
|
* *
|
|
334
334
|
* payment id assigned by the network (provider should store this id to provide details in UpdatePayout later)
|
|
335
335
|
*
|
|
336
|
-
* @generated from field:
|
|
336
|
+
* @generated from field: uint64 payment_id = 10;
|
|
337
337
|
*/
|
|
338
338
|
paymentId: bigint;
|
|
339
339
|
/**
|
|
340
340
|
* *
|
|
341
341
|
* payout id assigned by the network (provider should store this id to provide details in UpdatePayout later)
|
|
342
342
|
*
|
|
343
|
-
* @generated from field:
|
|
343
|
+
* @generated from field: uint64 payout_id = 20;
|
|
344
344
|
*/
|
|
345
345
|
payoutId: bigint;
|
|
346
346
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// @generated by protoc-gen-es v2.
|
|
2
|
+
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
|
|
3
3
|
// @generated from file tzero/v1/payment/provider.proto (package tzero.v1.payment, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -13,7 +13,7 @@ const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
|
|
|
13
13
|
/**
|
|
14
14
|
* Describes the file tzero/v1/payment/provider.proto.
|
|
15
15
|
*/
|
|
16
|
-
exports.file_tzero_v1_payment_provider = (0, codegenv2_1.fileDesc)("Ch90emVyby92MS9wYXltZW50L3Byb3ZpZGVyLnByb3RvEhB0emVyby52MS5wYXltZW50IrIOChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJYCgx0cmFuc2FjdGlvbnMYFCADKAsyOC50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uQgi6SAWSAQIIARqeCAoLVHJhbnNhY3Rpb24SHwoOdHJhbnNhY3Rpb25faWQYCiABKARCB7pIBDICIAASUwoHZW50cmllcxgeIAMoCzI4LnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1JlcXVlc3QuTGVkZ2VyRW50cnlCCLpIBZIBAggBElAKBnBheV9pbhhuIAEoCzI+LnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1JlcXVlc3QuVHJhbnNhY3Rpb24uUGF5SW5IABJoChJwYXlvdXRfcmVzZXJ2YXRpb24YeCABKAsySi50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLlBheW91dFJlc2VydmF0aW9uSAASUgoGcGF5b3V0GIIBIAEoCzI/
|
|
16
|
+
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AsyGC50emVyby52MS5jb21tb24uRGVjaW1hbBIuCgxjcmVkaXRfbGltaXQYHiABKAsyGC50emVyby52MS5jb21tb24uRGVjaW1hbBIuCgxjcmVkaXRfdXNhZ2UYKCABKAsyGC50emVyby52MS5jb21tb24uRGVjaW1hbCIVChNVcGRhdGVMaW1pdFJlc3BvbnNlMqQDCg9Qcm92aWRlclNlcnZpY2USUAoGUGF5T3V0Eh8udHplcm8udjEucGF5bWVudC5QYXlvdXRSZXF1ZXN0GiAudHplcm8udjEucGF5bWVudC5QYXlvdXRSZXNwb25zZSIDkAICEmUKDVVwZGF0ZVBheW1lbnQSJi50emVyby52MS5wYXltZW50LlVwZGF0ZVBheW1lbnRSZXF1ZXN0GicudHplcm8udjEucGF5bWVudC5VcGRhdGVQYXltZW50UmVzcG9uc2UiA5ACAhJfCgtVcGRhdGVMaW1pdBIkLnR6ZXJvLnYxLnBheW1lbnQuVXBkYXRlTGltaXRSZXF1ZXN0GiUudHplcm8udjEucGF5bWVudC5VcGRhdGVMaW1pdFJlc3BvbnNlIgOQAgISdwoTQXBwZW5kTGVkZ2VyRW50cmllcxIsLnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1JlcXVlc3QaLS50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXNwb25zZSIDkAICQocBChRjb20udHplcm8udjEucGF5bWVudEINUHJvdmlkZXJQcm90b1ABogIDVFZQqgIQVHplcm8uVjEuUGF5bWVudMoCEFR6ZXJvXFYxXFBheW1lbnTiAhxUemVyb1xWMVxQYXltZW50XEdQQk1ldGFkYXRh6gISVHplcm86OlYxOjpQYXltZW50YgZwcm90bzM", [payment_method_pb_js_1.file_tzero_v1_common_payment_method, payment_receipt_pb_js_1.file_tzero_v1_common_payment_receipt, common_pb_js_1.file_tzero_v1_common_common, wkt_1.file_google_protobuf_timestamp, validate_pb_js_1.file_buf_validate_validate]);
|
|
17
17
|
/**
|
|
18
18
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.
|
|
19
19
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|