@t-0/provider-sdk 1.0.26 → 1.0.27

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 +40 -22
  6. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +18 -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 +40 -22
  22. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +17 -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
@@ -1,6 +1,7 @@
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 { PaymentMethodType } from "../common/payment_method_pb.js";
3
+ import type { PaymentMethod, PaymentMethodType } from "../common/payment_method_pb.js";
4
+ import type { PaymentReceipt } from "../common/payment_receipt_pb.js";
4
5
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
6
  import type { Message } from "@bufbuild/protobuf";
6
7
  /**
@@ -41,34 +42,46 @@ export declare const UpdateQuoteRequestSchema: GenMessage<UpdateQuoteRequest>;
41
42
  */
42
43
  export type UpdateQuoteRequest_Quote = Message<"tzero.v1.payment.UpdateQuoteRequest.Quote"> & {
43
44
  /**
45
+ * ISO 4217 currency code (3 uppercase letters)
46
+ *
44
47
  * BRL, EUR, GBP, etc. (ISO 4217 currency code)
45
48
  *
46
49
  * @generated from field: string currency = 10;
47
50
  */
48
51
  currency: string;
49
52
  /**
53
+ * Quote type must be specified
54
+ *
50
55
  * type of the quote, e.g. real-time or guaranteed
51
56
  *
52
57
  * @generated from field: tzero.v1.payment.QuoteType quote_type = 20;
53
58
  */
54
59
  quoteType: QuoteType;
55
60
  /**
61
+ * Payment method must be specified
62
+ *
56
63
  * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 25;
57
64
  */
58
65
  paymentMethod: PaymentMethodType;
59
66
  /**
67
+ * At least one band is required
68
+ *
60
69
  * list of bands for this quote
61
70
  *
62
71
  * @generated from field: repeated tzero.v1.payment.UpdateQuoteRequest.Quote.Band bands = 30;
63
72
  */
64
73
  bands: UpdateQuoteRequest_Quote_Band[];
65
74
  /**
75
+ * Expiration must be in the future
76
+ *
66
77
  * expiration time of the quote
67
78
  *
68
79
  * @generated from field: google.protobuf.Timestamp expiration = 60;
69
80
  */
70
81
  expiration?: Timestamp;
71
82
  /**
83
+ * Timestamp is required
84
+ *
72
85
  * timestamp quote was created
73
86
  *
74
87
  * @generated from field: google.protobuf.Timestamp timestamp = 70;
@@ -85,18 +98,24 @@ export declare const UpdateQuoteRequest_QuoteSchema: GenMessage<UpdateQuoteReque
85
98
  */
86
99
  export type UpdateQuoteRequest_Quote_Band = Message<"tzero.v1.payment.UpdateQuoteRequest.Quote.Band"> & {
87
100
  /**
101
+ * Client quote ID must be non-empty and reasonable length
102
+ *
88
103
  * unique client generated id for this band
89
104
  *
90
105
  * @generated from field: string client_quote_id = 10;
91
106
  */
92
107
  clientQuoteId: string;
93
108
  /**
109
+ * Max amount is required
110
+ *
94
111
  * max amount of USD this quote is applicable for. Please look into documentation for valid amounts.
95
112
  *
96
113
  * @generated from field: tzero.v1.common.Decimal max_amount = 40;
97
114
  */
98
115
  maxAmount?: Decimal;
99
116
  /**
117
+ * Rate is required and must be positive
118
+ *
100
119
  * USD/currency rate
101
120
  *
102
121
  * @generated from field: tzero.v1.common.Decimal rate = 50;
@@ -122,23 +141,37 @@ export declare const UpdateQuoteResponseSchema: GenMessage<UpdateQuoteResponse>;
122
141
  */
123
142
  export type GetPayoutQuoteRequest = Message<"tzero.v1.payment.GetPayoutQuoteRequest"> & {
124
143
  /**
144
+ * ISO 4217 currency code (3 uppercase letters)
145
+ *
125
146
  * ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
126
147
  *
127
148
  * @generated from field: string payout_currency = 10;
128
149
  */
129
150
  payoutCurrency: string;
130
151
  /**
152
+ * Amount is required
153
+ *
131
154
  * amount in quote currency, only USD is supported
132
155
  *
133
156
  * @generated from field: tzero.v1.common.Decimal amount = 20;
134
157
  */
135
158
  amount?: Decimal;
136
159
  /**
160
+ * Quote type must be specified
161
+ *
137
162
  * type of the quote, e.g. real-time or guaranteed
138
163
  *
139
164
  * @generated from field: tzero.v1.payment.QuoteType quote_type = 30;
140
165
  */
141
166
  quoteType: QuoteType;
167
+ /**
168
+ * Payout method must be specified
169
+ *
170
+ * payment method to use for the payout, e.g. bank transfer, card, etc.
171
+ *
172
+ * @generated from field: tzero.v1.common.PaymentMethodType payout_method = 40;
173
+ */
174
+ payoutMethod: PaymentMethodType;
142
175
  };
143
176
  /**
144
177
  * Describes the message tzero.v1.payment.GetPayoutQuoteRequest.
@@ -150,18 +183,26 @@ export declare const GetPayoutQuoteRequestSchema: GenMessage<GetPayoutQuoteReque
150
183
  */
151
184
  export type GetPayoutQuoteResponse = Message<"tzero.v1.payment.GetPayoutQuoteResponse"> & {
152
185
  /**
186
+ * Rate is required
187
+ *
153
188
  * rate in USD/currency, e.g. 1.2345 for 1 USD = 1.2345 EUR
154
189
  *
155
190
  * @generated from field: tzero.v1.common.Decimal rate = 10;
156
191
  */
157
192
  rate?: Decimal;
158
193
  /**
194
+ * Expiration must be in the future
195
+ *
159
196
  * expiration time of the quote
160
197
  *
161
198
  * @generated from field: google.protobuf.Timestamp expiration = 20;
162
199
  */
163
200
  expiration?: Timestamp;
164
201
  /**
202
+ * Quote ID is required
203
+ *
204
+ *
205
+ *
165
206
  * @generated from field: tzero.v1.payment.QuoteId quote_id = 30;
166
207
  */
167
208
  quoteId?: QuoteId;
@@ -176,24 +217,40 @@ export declare const GetPayoutQuoteResponseSchema: GenMessage<GetPayoutQuoteResp
176
217
  */
177
218
  export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentRequest"> & {
178
219
  /**
220
+ * Payment client ID must be non-empty and reasonable length
221
+ *
179
222
  * unique client generated id for this payment
180
223
  *
181
224
  * @generated from field: string payment_client_id = 10;
182
225
  */
183
226
  paymentClientId: string;
184
227
  /**
228
+ * ISO 4217 currency code (3 uppercase letters)
229
+ *
185
230
  * ISO 4217 currency code, e.g. EUR, GBP, etc. in which the payout should be made
186
231
  *
187
232
  * @generated from field: string payout_currency = 20;
188
233
  */
189
234
  payoutCurrency: string;
190
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;
241
+ */
242
+ payoutDetails?: PaymentMethod;
243
+ /**
244
+ * Amount is required
245
+ *
191
246
  * amount in the payin currency, by default USD (if the payIn currency is not specified)
192
247
  *
193
248
  * @generated from field: tzero.v1.common.Decimal amount = 30;
194
249
  */
195
250
  amount?: Decimal;
196
251
  /**
252
+ * If specified, must be valid ISO 4217 currency code
253
+ *
197
254
  * if not specified, USD is used
198
255
  *
199
256
  * @generated from field: optional string payin_currency = 40;
@@ -214,7 +271,8 @@ export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentReques
214
271
  /**
215
272
  * optional reference for the payment, up to 140 characters
216
273
  *
217
- * @generated from field: optional string reference = 70;
274
+ * @generated from field: optional string reference = 70 [deprecated = true];
275
+ * @deprecated
218
276
  */
219
277
  reference?: string;
220
278
  /**
@@ -286,14 +344,20 @@ export declare const CreatePaymentRequest_RecipientSchema: GenMessage<CreatePaym
286
344
  */
287
345
  export type CreatePaymentRequest_PrivatePerson = Message<"tzero.v1.payment.CreatePaymentRequest.PrivatePerson"> & {
288
346
  /**
347
+ * Private person client ID must be non-empty
348
+ *
289
349
  * @generated from field: string private_person_client_id = 10;
290
350
  */
291
351
  privatePersonClientId: string;
292
352
  /**
353
+ * First name must be non-empty and reasonable length
354
+ *
293
355
  * @generated from field: string first_name = 20;
294
356
  */
295
357
  firstName: string;
296
358
  /**
359
+ * Last name must be non-empty and reasonable length
360
+ *
297
361
  * @generated from field: string last_name = 30;
298
362
  */
299
363
  lastName: string;
@@ -308,12 +372,16 @@ export declare const CreatePaymentRequest_PrivatePersonSchema: GenMessage<Create
308
372
  */
309
373
  export type QuoteId = Message<"tzero.v1.payment.QuoteId"> & {
310
374
  /**
375
+ * Quote ID must be positive
376
+ *
311
377
  * unique identifier of the quote within the specified provider
312
378
  *
313
379
  * @generated from field: int64 quote_id = 30;
314
380
  */
315
381
  quoteId: bigint;
316
382
  /**
383
+ * Provider ID must be positive
384
+ *
317
385
  * provider id of the quote
318
386
  *
319
387
  * @generated from field: int32 provider_id = 40;
@@ -330,6 +398,8 @@ export declare const QuoteIdSchema: GenMessage<QuoteId>;
330
398
  */
331
399
  export type CreatePaymentResponse = Message<"tzero.v1.payment.CreatePaymentResponse"> & {
332
400
  /**
401
+ * Payment client ID must be non-empty
402
+ *
333
403
  * client generated id supplied in the request
334
404
  *
335
405
  * @generated from field: string payment_client_id = 10;
@@ -373,6 +443,8 @@ export declare const CreatePaymentResponseSchema: GenMessage<CreatePaymentRespon
373
443
  */
374
444
  export type CreatePaymentResponse_Success = Message<"tzero.v1.payment.CreatePaymentResponse.Success"> & {
375
445
  /**
446
+ * Payment ID must be positive
447
+ *
376
448
  * payment id assigned by the network
377
449
  *
378
450
  * @generated from field: int64 payment_id = 10;
@@ -407,77 +479,47 @@ export declare enum CreatePaymentResponse_Failure_Reason {
407
479
  */
408
480
  export declare const CreatePaymentResponse_Failure_ReasonSchema: GenEnum<CreatePaymentResponse_Failure_Reason>;
409
481
  /**
410
- * @generated from message tzero.v1.payment.UpdatePayoutRequest
482
+ * @generated from message tzero.v1.payment.ConfirmPayoutRequest
411
483
  */
412
- export type UpdatePayoutRequest = Message<"tzero.v1.payment.UpdatePayoutRequest"> & {
484
+ export type ConfirmPayoutRequest = Message<"tzero.v1.payment.ConfirmPayoutRequest"> & {
413
485
  /**
486
+ * Payment ID must be positive
487
+ *
414
488
  * payment id assigned by the network, this is the same payment id that was provided in the PayoutRequest
415
489
  *
416
490
  * @generated from field: int64 payment_id = 10;
417
491
  */
418
492
  paymentId: bigint;
419
493
  /**
494
+ * Payout ID must be positive
495
+ *
420
496
  * payout id assigned by the payout provider, this is the same payout id that was provided in the PayoutRequest
421
497
  *
422
498
  * @generated from field: int64 payout_id = 20;
423
499
  */
424
500
  payoutId: bigint;
425
501
  /**
426
- * @generated from oneof tzero.v1.payment.UpdatePayoutRequest.result
502
+ * *
503
+ * Payment receipt might contain metadata about payment recognizable by pay-in provider.
504
+ *
505
+ * @generated from field: tzero.v1.common.PaymentReceipt receipt = 30;
427
506
  */
428
- result: {
429
- /**
430
- * success response with the details of the payout
431
- *
432
- * @generated from field: tzero.v1.payment.UpdatePayoutRequest.Success success = 30;
433
- */
434
- value: UpdatePayoutRequest_Success;
435
- case: "success";
436
- } | {
437
- /**
438
- * failure response with the reason of the failure
439
- *
440
- * @generated from field: tzero.v1.payment.UpdatePayoutRequest.Failure failure = 40;
441
- */
442
- value: UpdatePayoutRequest_Failure;
443
- case: "failure";
444
- } | {
445
- case: undefined;
446
- value?: undefined;
447
- };
507
+ receipt?: PaymentReceipt;
448
508
  };
449
509
  /**
450
- * Describes the message tzero.v1.payment.UpdatePayoutRequest.
451
- * Use `create(UpdatePayoutRequestSchema)` to create a new message.
452
- */
453
- export declare const UpdatePayoutRequestSchema: GenMessage<UpdatePayoutRequest>;
454
- /**
455
- * @generated from message tzero.v1.payment.UpdatePayoutRequest.Success
456
- */
457
- export type UpdatePayoutRequest_Success = Message<"tzero.v1.payment.UpdatePayoutRequest.Success"> & {};
458
- /**
459
- * Describes the message tzero.v1.payment.UpdatePayoutRequest.Success.
460
- * Use `create(UpdatePayoutRequest_SuccessSchema)` to create a new message.
461
- */
462
- export declare const UpdatePayoutRequest_SuccessSchema: GenMessage<UpdatePayoutRequest_Success>;
463
- /**
464
- * @generated from message tzero.v1.payment.UpdatePayoutRequest.Failure
465
- */
466
- export type UpdatePayoutRequest_Failure = Message<"tzero.v1.payment.UpdatePayoutRequest.Failure"> & {};
467
- /**
468
- * Describes the message tzero.v1.payment.UpdatePayoutRequest.Failure.
469
- * Use `create(UpdatePayoutRequest_FailureSchema)` to create a new message.
510
+ * Describes the message tzero.v1.payment.ConfirmPayoutRequest.
511
+ * Use `create(ConfirmPayoutRequestSchema)` to create a new message.
470
512
  */
471
- export declare const UpdatePayoutRequest_FailureSchema: GenMessage<UpdatePayoutRequest_Failure>;
513
+ export declare const ConfirmPayoutRequestSchema: GenMessage<ConfirmPayoutRequest>;
472
514
  /**
473
- * @generated from message tzero.v1.payment.UpdatePayoutResponse
515
+ * @generated from message tzero.v1.payment.ConfirmPayoutResponse
474
516
  */
475
- export type UpdatePayoutResponse = Message<"tzero.v1.payment.UpdatePayoutResponse"> & {};
517
+ export type ConfirmPayoutResponse = Message<"tzero.v1.payment.ConfirmPayoutResponse"> & {};
476
518
  /**
477
- * Describes the message tzero.v1.payment.UpdatePayoutResponse.
478
- * Use `create(UpdatePayoutResponseSchema)` to create a new message.
519
+ * Describes the message tzero.v1.payment.ConfirmPayoutResponse.
520
+ * Use `create(ConfirmPayoutResponseSchema)` to create a new message.
479
521
  */
480
- export declare const UpdatePayoutResponseSchema: GenMessage<UpdatePayoutResponse>;
522
+ export declare const ConfirmPayoutResponseSchema: GenMessage<ConfirmPayoutResponse>;
481
523
  /**
482
524
  * @generated from enum tzero.v1.payment.QuoteType
483
525
  */
@@ -510,7 +552,6 @@ export declare const NetworkService: GenService<{
510
552
  * *
511
553
  * Used by the provider to publish pay-in and pay-out quotes (FX rates) into the network.
512
554
  * These quotes include tiered pricing bands and an expiration timestamp.
513
- * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
514
555
  *
515
556
  * @generated from rpc tzero.v1.payment.NetworkService.UpdateQuote
516
557
  */
@@ -542,7 +583,6 @@ export declare const NetworkService: GenService<{
542
583
  * If the quoteID is specified, it must be a valid quoteId that was previously returned by the GetPayoutQuote method.
543
584
  * If the quoteId is not specified, the network will try to find a suitable quote for the payout currency and amount,
544
585
  * same way as GetPayoutQuote rpc.
545
- * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
546
586
  *
547
587
  * @generated from rpc tzero.v1.payment.NetworkService.CreatePayment
548
588
  */
@@ -553,15 +593,14 @@ export declare const NetworkService: GenService<{
553
593
  };
554
594
  /**
555
595
  * *
556
- * Inform the network that a payout has been completed or failed. This endpoint is called by the payout
596
+ * Inform the network that a payout has been completed. This endpoint is called by the payout
557
597
  * provider, specifying the payment ID and payout ID, which was provided when the payout request was made to this provider.
558
- * This method is idempotent, meaning that multiple calls with the same parameters will have no additional effect.
559
598
  *
560
- * @generated from rpc tzero.v1.payment.NetworkService.UpdatePayout
599
+ * @generated from rpc tzero.v1.payment.NetworkService.ConfirmPayout
561
600
  */
562
- updatePayout: {
601
+ confirmPayout: {
563
602
  methodKind: "unary";
564
- input: typeof UpdatePayoutRequestSchema;
565
- output: typeof UpdatePayoutResponseSchema;
603
+ input: typeof ConfirmPayoutRequestSchema;
604
+ output: typeof ConfirmPayoutResponseSchema;
566
605
  };
567
606
  }>;
@@ -3,15 +3,17 @@
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.UpdatePayoutResponseSchema = exports.UpdatePayoutRequest_FailureSchema = exports.UpdatePayoutRequest_SuccessSchema = exports.UpdatePayoutRequestSchema = exports.CreatePaymentResponse_Failure_ReasonSchema = exports.CreatePaymentResponse_Failure_Reason = exports.CreatePaymentResponse_FailureSchema = exports.CreatePaymentResponse_SuccessSchema = exports.CreatePaymentResponseSchema = exports.QuoteIdSchema = exports.CreatePaymentRequest_PrivatePersonSchema = exports.CreatePaymentRequest_RecipientSchema = exports.CreatePaymentRequest_SenderSchema = exports.CreatePaymentRequestSchema = exports.GetPayoutQuoteResponseSchema = exports.GetPayoutQuoteRequestSchema = exports.UpdateQuoteResponseSchema = exports.UpdateQuoteRequest_Quote_BandSchema = exports.UpdateQuoteRequest_QuoteSchema = exports.UpdateQuoteRequestSchema = exports.file_tzero_v1_payment_network = void 0;
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.CreatePaymentRequest_PrivatePersonSchema = exports.CreatePaymentRequest_RecipientSchema = exports.CreatePaymentRequest_SenderSchema = exports.CreatePaymentRequestSchema = exports.GetPayoutQuoteResponseSchema = exports.GetPayoutQuoteRequestSchema = 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");
10
+ const payment_receipt_pb_js_1 = require("../common/payment_receipt_pb.js");
10
11
  const wkt_1 = require("@bufbuild/protobuf/wkt");
12
+ const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
11
13
  /**
12
14
  * Describes the file tzero/v1/payment/network.proto.
13
15
  */
14
- exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25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91dFF1b3RlUmVzcG9uc2UiA5ACARJlCg1DcmVhdGVQYXltZW50EiYudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ3JlYXRlUGF5bWVudFJlc3BvbnNlIgOQAgISYgoMVXBkYXRlUGF5b3V0EiUudHplcm8udjEucGF5bWVudC5VcGRhdGVQYXlvdXRSZXF1ZXN0GiYudHplcm8udjEucGF5bWVudC5VcGRhdGVQYXlvdXRSZXNwb25zZSIDkAICQoYBChRjb20udHplcm8udjEucGF5bWVudEIMTmV0d29ya1Byb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [common_pb_js_1.file_tzero_v1_common_common, payment_method_pb_js_1.file_tzero_v1_common_payment_method, wkt_1.file_google_protobuf_timestamp]);
16
+ exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQijgUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa/gMKBVF1b3RlEiYKCGN1cnJlbmN5GAogASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI5CgpxdW90ZV90eXBlGBQgASgOMhsudHplcm8udjEucGF5bWVudC5RdW90ZVR5cGVCCLpIBYIBAiAAEkQKDnBheW1lbnRfbWV0aG9kGBkgASgOMiIudHplcm8udjEuY29tbW9uLlBheW1lbnRNZXRob2RUeXBlQgi6SAWCAQIgABJICgViYW5k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EiYudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ3JlYXRlUGF5bWVudFJlc3BvbnNlIgOQAgISZQoNQ29uZmlybVBheW91dBImLnR6ZXJvLnYxLnBheW1lbnQuQ29uZmlybVBheW91dFJlcXVlc3QaJy50emVyby52MS5wYXltZW50LkNvbmZpcm1QYXlvdXRSZXNwb25zZSIDkAICQoYBChRjb20udHplcm8udjEucGF5bWVudEIMTmV0d29ya1Byb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [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]);
15
17
  /**
16
18
  * Describes the message tzero.v1.payment.UpdateQuoteRequest.
17
19
  * Use `create(UpdateQuoteRequestSchema)` to create a new message.
@@ -97,25 +99,15 @@ var CreatePaymentResponse_Failure_Reason;
97
99
  */
98
100
  exports.CreatePaymentResponse_Failure_ReasonSchema = (0, codegenv2_1.enumDesc)(exports.file_tzero_v1_payment_network, 6, 1, 0);
99
101
  /**
100
- * Describes the message tzero.v1.payment.UpdatePayoutRequest.
101
- * Use `create(UpdatePayoutRequestSchema)` to create a new message.
102
+ * Describes the message tzero.v1.payment.ConfirmPayoutRequest.
103
+ * Use `create(ConfirmPayoutRequestSchema)` to create a new message.
102
104
  */
103
- exports.UpdatePayoutRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 7);
105
+ exports.ConfirmPayoutRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 7);
104
106
  /**
105
- * Describes the message tzero.v1.payment.UpdatePayoutRequest.Success.
106
- * Use `create(UpdatePayoutRequest_SuccessSchema)` to create a new message.
107
+ * Describes the message tzero.v1.payment.ConfirmPayoutResponse.
108
+ * Use `create(ConfirmPayoutResponseSchema)` to create a new message.
107
109
  */
108
- exports.UpdatePayoutRequest_SuccessSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 7, 0);
109
- /**
110
- * Describes the message tzero.v1.payment.UpdatePayoutRequest.Failure.
111
- * Use `create(UpdatePayoutRequest_FailureSchema)` to create a new message.
112
- */
113
- exports.UpdatePayoutRequest_FailureSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 7, 1);
114
- /**
115
- * Describes the message tzero.v1.payment.UpdatePayoutResponse.
116
- * Use `create(UpdatePayoutResponseSchema)` to create a new message.
117
- */
118
- exports.UpdatePayoutResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 8);
110
+ exports.ConfirmPayoutResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 8);
119
111
  /**
120
112
  * @generated from enum tzero.v1.payment.QuoteType
121
113
  */