@t-0/provider-sdk 1.0.30 → 1.0.32

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 (23) hide show
  1. package/lib/cjs/common/gen/tzero/v1/common/common_pb.js +1 -1
  2. package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +1 -1
  3. package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
  4. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +116 -8
  5. package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +45 -3
  6. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +35 -127
  7. package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +24 -72
  8. package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
  9. package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +1 -1
  10. package/lib/cjs/common/gen/tzero/v1/public/public_pb.js +1 -1
  11. package/lib/esm/common/gen/tzero/v1/common/common_pb.js +1 -1
  12. package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +1 -1
  13. package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +1 -1
  14. package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +116 -8
  15. package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +44 -2
  16. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +35 -127
  17. package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +23 -71
  18. package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
  19. package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +1 -1
  20. package/lib/esm/common/gen/tzero/v1/public/public_pb.js +1 -1
  21. package/lib/tsconfig.cjs.tsbuildinfo +1 -1
  22. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  23. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
2
+ // @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
3
3
  // @generated from file tzero/v1/common/common.proto (package tzero.v1.common, syntax proto3)
4
4
  /* eslint-disable */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
2
+ // @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
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 });
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
2
+ // @generated by protoc-gen-es v2.10.0 with parameter "target=ts,import_extension=js"
3
3
  // @generated from file tzero/v1/common/payment_receipt.proto (package tzero.v1.common, syntax proto3)
4
4
  /* eslint-disable */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -170,27 +170,99 @@ export declare const GetQuoteRequestSchema: GenMessage<GetQuoteRequest>;
170
170
  */
171
171
  export type GetQuoteResponse = Message<"tzero.v1.payment.GetQuoteResponse"> & {
172
172
  /**
173
- * rate in USD/currency, e.g. 1.2345 for 1 USD = 1.2345 EUR
173
+ * @generated from oneof tzero.v1.payment.GetQuoteResponse.result
174
+ */
175
+ result: {
176
+ /**
177
+ * *
178
+ * Success response - the network found a suitable quote for the provided parameters and with available credit or pre-settlement option.
179
+ * The returned quoteId can be used later to call the create payment endpoint.
180
+ *
181
+ * @generated from field: tzero.v1.payment.GetQuoteResponse.Success success = 20;
182
+ */
183
+ value: GetQuoteResponse_Success;
184
+ case: "success";
185
+ } | {
186
+ /**
187
+ * *
188
+ * Failure response - means the quote was not found for the specified parameters, or provider limits
189
+ * would exceed by processing the payment amount with the specified amount.
190
+ *
191
+ * @generated from field: tzero.v1.payment.GetQuoteResponse.Failure failure = 30;
192
+ */
193
+ value: GetQuoteResponse_Failure;
194
+ case: "failure";
195
+ } | {
196
+ case: undefined;
197
+ value?: undefined;
198
+ };
199
+ };
200
+ /**
201
+ * Describes the message tzero.v1.payment.GetQuoteResponse.
202
+ * Use `create(GetQuoteResponseSchema)` to create a new message.
203
+ */
204
+ export declare const GetQuoteResponseSchema: GenMessage<GetQuoteResponse>;
205
+ /**
206
+ * @generated from message tzero.v1.payment.GetQuoteResponse.Success
207
+ */
208
+ export type GetQuoteResponse_Success = Message<"tzero.v1.payment.GetQuoteResponse.Success"> & {
209
+ /**
210
+ * exchange rate as pay_out_currency_rate/pay_in_currency_rate, e.g. BRL/EUR
174
211
  *
175
212
  * @generated from field: tzero.v1.common.Decimal rate = 10;
176
213
  */
177
214
  rate?: Decimal;
178
215
  /**
179
- * expiration time of the quote
216
+ * expiration time of the payout quote
180
217
  *
181
218
  * @generated from field: google.protobuf.Timestamp expiration = 20;
182
219
  */
183
220
  expiration?: Timestamp;
184
221
  /**
222
+ * id of the payout quote
223
+ *
185
224
  * @generated from field: tzero.v1.payment.QuoteId quote_id = 30;
186
225
  */
187
226
  quoteId?: QuoteId;
188
227
  };
189
228
  /**
190
- * Describes the message tzero.v1.payment.GetQuoteResponse.
191
- * Use `create(GetQuoteResponseSchema)` to create a new message.
229
+ * Describes the message tzero.v1.payment.GetQuoteResponse.Success.
230
+ * Use `create(GetQuoteResponse_SuccessSchema)` to create a new message.
192
231
  */
193
- export declare const GetQuoteResponseSchema: GenMessage<GetQuoteResponse>;
232
+ export declare const GetQuoteResponse_SuccessSchema: GenMessage<GetQuoteResponse_Success>;
233
+ /**
234
+ * @generated from message tzero.v1.payment.GetQuoteResponse.Failure
235
+ */
236
+ export type GetQuoteResponse_Failure = Message<"tzero.v1.payment.GetQuoteResponse.Failure"> & {
237
+ /**
238
+ * @generated from field: tzero.v1.payment.GetQuoteResponse.Failure.Reason reason = 10;
239
+ */
240
+ reason: GetQuoteResponse_Failure_Reason;
241
+ };
242
+ /**
243
+ * Describes the message tzero.v1.payment.GetQuoteResponse.Failure.
244
+ * Use `create(GetQuoteResponse_FailureSchema)` to create a new message.
245
+ */
246
+ export declare const GetQuoteResponse_FailureSchema: GenMessage<GetQuoteResponse_Failure>;
247
+ /**
248
+ * @generated from enum tzero.v1.payment.GetQuoteResponse.Failure.Reason
249
+ */
250
+ export declare enum GetQuoteResponse_Failure_Reason {
251
+ /**
252
+ * @generated from enum value: REASON_UNSPECIFIED = 0;
253
+ */
254
+ UNSPECIFIED = 0,
255
+ /**
256
+ * No matching quote par for the specified pay-in and payout currencies found or provider limits would exceed by processing this payment
257
+ *
258
+ * @generated from enum value: REASON_QUOTE_NOT_FOUND = 10;
259
+ */
260
+ QUOTE_NOT_FOUND = 10
261
+ }
262
+ /**
263
+ * Describes the enum tzero.v1.payment.GetQuoteResponse.Failure.Reason.
264
+ */
265
+ export declare const GetQuoteResponse_Failure_ReasonSchema: GenEnum<GetQuoteResponse_Failure_Reason>;
194
266
  /**
195
267
  * @generated from message tzero.v1.payment.CreatePaymentRequest
196
268
  */
@@ -202,18 +274,26 @@ export type CreatePaymentRequest = Message<"tzero.v1.payment.CreatePaymentReques
202
274
  */
203
275
  paymentClientId: string;
204
276
  /**
277
+ * payment amount
278
+ *
205
279
  * @generated from field: tzero.v1.payment.PaymentAmount amount = 30;
206
280
  */
207
281
  amount?: PaymentAmount;
208
282
  /**
283
+ * pay-in details
284
+ *
209
285
  * @generated from field: tzero.v1.payment.CreatePaymentRequest.PayIn pay_in = 40;
210
286
  */
211
287
  payIn?: CreatePaymentRequest_PayIn;
212
288
  /**
289
+ * payout details
290
+ *
213
291
  * @generated from field: tzero.v1.payment.CreatePaymentRequest.PayOut pay_out = 45;
214
292
  */
215
293
  payOut?: CreatePaymentRequest_PayOut;
216
294
  /**
295
+ * travel rule data
296
+ *
217
297
  * @generated from field: optional tzero.v1.payment.CreatePaymentRequest.TravelRuleData travel_rule_data = 100;
218
298
  */
219
299
  travelRuleData?: CreatePaymentRequest_TravelRuleData;
@@ -230,10 +310,14 @@ export declare const CreatePaymentRequestSchema: GenMessage<CreatePaymentRequest
230
310
  */
231
311
  export type CreatePaymentRequest_PayIn = Message<"tzero.v1.payment.CreatePaymentRequest.PayIn"> & {
232
312
  /**
313
+ * pay-in currency
314
+ *
233
315
  * @generated from field: string currency = 10;
234
316
  */
235
317
  currency: string;
236
318
  /**
319
+ * pay-in payment method
320
+ *
237
321
  * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
238
322
  */
239
323
  paymentMethod: PaymentMethodType;
@@ -248,10 +332,14 @@ export declare const CreatePaymentRequest_PayInSchema: GenMessage<CreatePaymentR
248
332
  */
249
333
  export type CreatePaymentRequest_PayOut = Message<"tzero.v1.payment.CreatePaymentRequest.PayOut"> & {
250
334
  /**
335
+ * pay-out currency
336
+ *
251
337
  * @generated from field: string currency = 10;
252
338
  */
253
339
  currency: string;
254
340
  /**
341
+ * pay-in payment details
342
+ *
255
343
  * @generated from field: tzero.v1.common.PaymentMethod payment_method = 20;
256
344
  */
257
345
  paymentMethod?: PaymentMethod;
@@ -272,12 +360,14 @@ export declare const CreatePaymentRequest_PayOutSchema: GenMessage<CreatePayment
272
360
  */
273
361
  export type CreatePaymentRequest_TravelRuleData = Message<"tzero.v1.payment.CreatePaymentRequest.TravelRuleData"> & {
274
362
  /**
363
+ * *
275
364
  * the natural or legal person that requests payment with originating provider
276
365
  *
277
366
  * @generated from field: repeated ivms101.Person originator = 10;
278
367
  */
279
368
  originator: Person[];
280
369
  /**
370
+ * *
281
371
  * the natural or legal person or legal arrangement who is identified
282
372
  * by the originator as the receiver of the requested payment.
283
373
  *
@@ -360,7 +450,7 @@ export declare const CreatePaymentResponseSchema: GenMessage<CreatePaymentRespon
360
450
  */
361
451
  export type CreatePaymentResponse_Success = Message<"tzero.v1.payment.CreatePaymentResponse.Success"> & {
362
452
  /**
363
- * payment id assigned by the network
453
+ * payment ID assigned by the network
364
454
  *
365
455
  * @generated from field: uint64 payment_id = 10;
366
456
  */
@@ -382,7 +472,12 @@ export declare const CreatePaymentResponse_SuccessSchema: GenMessage<CreatePayme
382
472
  /**
383
473
  * @generated from message tzero.v1.payment.CreatePaymentResponse.Failure
384
474
  */
385
- export type CreatePaymentResponse_Failure = Message<"tzero.v1.payment.CreatePaymentResponse.Failure"> & {};
475
+ export type CreatePaymentResponse_Failure = Message<"tzero.v1.payment.CreatePaymentResponse.Failure"> & {
476
+ /**
477
+ * @generated from field: tzero.v1.payment.CreatePaymentResponse.Failure.Reason reason = 10;
478
+ */
479
+ reason: CreatePaymentResponse_Failure_Reason;
480
+ };
386
481
  /**
387
482
  * Describes the message tzero.v1.payment.CreatePaymentResponse.Failure.
388
483
  * Use `create(CreatePaymentResponse_FailureSchema)` to create a new message.
@@ -395,7 +490,19 @@ export declare enum CreatePaymentResponse_Failure_Reason {
395
490
  /**
396
491
  * @generated from enum value: REASON_UNSPECIFIED = 0;
397
492
  */
398
- UNSPECIFIED = 0
493
+ UNSPECIFIED = 0,
494
+ /**
495
+ * No matching quote par for the specified pay-in and payout currencies found or provider limits would exceed by processing this payment
496
+ *
497
+ * @generated from enum value: REASON_QUOTE_NOT_FOUND = 10;
498
+ */
499
+ QUOTE_NOT_FOUND = 10,
500
+ /**
501
+ * Payments with amount in pay out currency require available credit or pre-deposit
502
+ *
503
+ * @generated from enum value: REASON_CREDIT_OR_PREDEPOSIT_REQUIRED = 20;
504
+ */
505
+ CREDIT_OR_PREDEPOSIT_REQUIRED = 20
399
506
  }
400
507
  /**
401
508
  * Describes the enum tzero.v1.payment.CreatePaymentResponse.Failure.Reason.
@@ -519,6 +626,7 @@ export declare const NetworkService: GenService<{
519
626
  * *
520
627
  * Request the best available quote for a payout in a specific currency, for a given amount.
521
628
  * If the payout quote exists, but the credit limit is exceeded, this quote will not be considered.
629
+ * Before calling this endpoint UpdateQuote should be periodically triggered in order to put pay-in quotes into the network.
522
630
  *
523
631
  * @generated from rpc tzero.v1.payment.NetworkService.GetQuote
524
632
  */
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
- // @generated by protoc-gen-es v2.9.0 with parameter "target=ts,import_extension=js"
2
+ // @generated by protoc-gen-es v2.10.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.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_TravelRuleDataSchema = 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;
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_TravelRuleDataSchema = exports.CreatePaymentRequest_PayOutSchema = exports.CreatePaymentRequest_PayInSchema = exports.CreatePaymentRequestSchema = exports.GetQuoteResponse_Failure_ReasonSchema = exports.GetQuoteResponse_Failure_Reason = exports.GetQuoteResponse_FailureSchema = exports.GetQuoteResponse_SuccessSchema = 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");
@@ -14,7 +14,7 @@ const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
14
14
  /**
15
15
  * Describes the file tzero/v1/payment/network.proto.
16
16
  */
17
- exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+gMKBVF1b3RlEiYKCGN1cnJlbmN5GAogASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI3CgpxdW90ZV90eXBlGBQgASgOMhsudHplcm8udjEucGF5bWVudC5RdW90ZVR5cGVCBrpIA8gBARJCCg5wYXltZW50X21ldGhvZBgZIAEoDjIiLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kVHlwZUIGukgDyAEBEkgKBWJhbmRzGB4gAygLMi8udHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUuQmFuZEIIukgFkgECCAESOAoKZXhwaXJhdGlvbhg8IAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCCLpIBbIBAkABEjUKCXR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lIgOQAgISVgoIR2V0UXVvdGUSIS50emVyby52MS5wYXltZW50LkdldFF1b3RlUmVxdWVzdBoiLnR6ZXJvLnYxLnBheW1lbnQuR2V0UXVvdGVSZXNwb25zZSIDkAIBEmUKDUNyZWF0ZVBheW1lbnQSJi50emVyby52MS5wYXltZW50LkNyZWF0ZVBheW1lbnRSZXF1ZXN0GicudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVzcG9uc2UiA5ACAhJlCg1Db25maXJtUGF5b3V0EiYudHplcm8udjEucGF5bWVudC5Db25maXJtUGF5b3V0UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ29uZmlybVBheW91dFJlc3BvbnNlIgOQAgJChgEKFGNvbS50emVyby52MS5wYXltZW50QgxOZXR3b3JrUHJvdG9QAaICA1RWUKoCEFR6ZXJvLlYxLlBheW1lbnTKAhBUemVyb1xWMVxQYXltZW504gIcVHplcm9cVjFcUGF5bWVudFxHUEJNZXRhZGF0YeoCElR6ZXJvOjpWMTo6UGF5bWVudGIGcHJvdG8z", [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, ivms101_pb_js_1.file_ivms101_v1_ivms_ivms101, wkt_1.file_google_protobuf_timestamp, validate_pb_js_1.file_buf_validate_validate]);
17
+ exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+gMKBVF1b3RlEiYKCGN1cnJlbmN5GAogASgJQhS6SBFyDzIKXlt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QYXltZW50EiYudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ3JlYXRlUGF5bWVudFJlc3BvbnNlIgOQAgISZQoNQ29uZmlybVBheW91dBImLnR6ZXJvLnYxLnBheW1lbnQuQ29uZmlybVBheW91dFJlcXVlc3QaJy50emVyby52MS5wYXltZW50LkNvbmZpcm1QYXlvdXRSZXNwb25zZSIDkAICQoYBChRjb20udHplcm8udjEucGF5bWVudEIMTmV0d29ya1Byb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [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, ivms101_pb_js_1.file_ivms101_v1_ivms_ivms101, wkt_1.file_google_protobuf_timestamp, validate_pb_js_1.file_buf_validate_validate]);
18
18
  /**
19
19
  * Describes the message tzero.v1.payment.UpdateQuoteRequest.
20
20
  * Use `create(UpdateQuoteRequestSchema)` to create a new message.
@@ -45,6 +45,36 @@ exports.GetQuoteRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_
45
45
  * Use `create(GetQuoteResponseSchema)` to create a new message.
46
46
  */
47
47
  exports.GetQuoteResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 3);
48
+ /**
49
+ * Describes the message tzero.v1.payment.GetQuoteResponse.Success.
50
+ * Use `create(GetQuoteResponse_SuccessSchema)` to create a new message.
51
+ */
52
+ exports.GetQuoteResponse_SuccessSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 3, 0);
53
+ /**
54
+ * Describes the message tzero.v1.payment.GetQuoteResponse.Failure.
55
+ * Use `create(GetQuoteResponse_FailureSchema)` to create a new message.
56
+ */
57
+ exports.GetQuoteResponse_FailureSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 3, 1);
58
+ /**
59
+ * @generated from enum tzero.v1.payment.GetQuoteResponse.Failure.Reason
60
+ */
61
+ var GetQuoteResponse_Failure_Reason;
62
+ (function (GetQuoteResponse_Failure_Reason) {
63
+ /**
64
+ * @generated from enum value: REASON_UNSPECIFIED = 0;
65
+ */
66
+ GetQuoteResponse_Failure_Reason[GetQuoteResponse_Failure_Reason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
67
+ /**
68
+ * No matching quote par for the specified pay-in and payout currencies found or provider limits would exceed by processing this payment
69
+ *
70
+ * @generated from enum value: REASON_QUOTE_NOT_FOUND = 10;
71
+ */
72
+ GetQuoteResponse_Failure_Reason[GetQuoteResponse_Failure_Reason["QUOTE_NOT_FOUND"] = 10] = "QUOTE_NOT_FOUND";
73
+ })(GetQuoteResponse_Failure_Reason || (exports.GetQuoteResponse_Failure_Reason = GetQuoteResponse_Failure_Reason = {}));
74
+ /**
75
+ * Describes the enum tzero.v1.payment.GetQuoteResponse.Failure.Reason.
76
+ */
77
+ exports.GetQuoteResponse_Failure_ReasonSchema = (0, codegenv2_1.enumDesc)(exports.file_tzero_v1_payment_network, 3, 1, 0);
48
78
  /**
49
79
  * Describes the message tzero.v1.payment.CreatePaymentRequest.
50
80
  * Use `create(CreatePaymentRequestSchema)` to create a new message.
@@ -94,6 +124,18 @@ var CreatePaymentResponse_Failure_Reason;
94
124
  * @generated from enum value: REASON_UNSPECIFIED = 0;
95
125
  */
96
126
  CreatePaymentResponse_Failure_Reason[CreatePaymentResponse_Failure_Reason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
127
+ /**
128
+ * No matching quote par for the specified pay-in and payout currencies found or provider limits would exceed by processing this payment
129
+ *
130
+ * @generated from enum value: REASON_QUOTE_NOT_FOUND = 10;
131
+ */
132
+ CreatePaymentResponse_Failure_Reason[CreatePaymentResponse_Failure_Reason["QUOTE_NOT_FOUND"] = 10] = "QUOTE_NOT_FOUND";
133
+ /**
134
+ * Payments with amount in pay out currency require available credit or pre-deposit
135
+ *
136
+ * @generated from enum value: REASON_CREDIT_OR_PREDEPOSIT_REQUIRED = 20;
137
+ */
138
+ CreatePaymentResponse_Failure_Reason[CreatePaymentResponse_Failure_Reason["CREDIT_OR_PREDEPOSIT_REQUIRED"] = 20] = "CREDIT_OR_PREDEPOSIT_REQUIRED";
97
139
  })(CreatePaymentResponse_Failure_Reason || (exports.CreatePaymentResponse_Failure_Reason = CreatePaymentResponse_Failure_Reason = {}));
98
140
  /**
99
141
  * Describes the enum tzero.v1.payment.CreatePaymentResponse.Failure.Reason.
@@ -55,18 +55,6 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
55
55
  * @generated from oneof tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.transaction_details
56
56
  */
57
57
  transactionDetails: {
58
- /**
59
- * @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn pay_in = 110;
60
- */
61
- value: AppendLedgerEntriesRequest_Transaction_PayIn;
62
- case: "payIn";
63
- } | {
64
- /**
65
- * @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation payout_reservation = 120;
66
- */
67
- value: AppendLedgerEntriesRequest_Transaction_PayoutReservation;
68
- case: "payoutReservation";
69
- } | {
70
58
  /**
71
59
  * @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout payout = 130;
72
60
  */
@@ -84,12 +72,6 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
84
72
  */
85
73
  value: AppendLedgerEntriesRequest_Transaction_FeeSettlement;
86
74
  case: "feeSettlement";
87
- } | {
88
- /**
89
- * @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease payout_reservation_release = 160;
90
- */
91
- value: AppendLedgerEntriesRequest_Transaction_PayoutReservationRelease;
92
- case: "payoutReservationRelease";
93
75
  } | {
94
76
  case: undefined;
95
77
  value?: undefined;
@@ -100,34 +82,6 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
100
82
  * Use `create(AppendLedgerEntriesRequest_TransactionSchema)` to create a new message.
101
83
  */
102
84
  export declare const AppendLedgerEntriesRequest_TransactionSchema: GenMessage<AppendLedgerEntriesRequest_Transaction>;
103
- /**
104
- * @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn
105
- */
106
- export type AppendLedgerEntriesRequest_Transaction_PayIn = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn"> & {
107
- /**
108
- * @generated from field: uint64 payment_id = 10;
109
- */
110
- paymentId: bigint;
111
- };
112
- /**
113
- * Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn.
114
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayInSchema)` to create a new message.
115
- */
116
- export declare const AppendLedgerEntriesRequest_Transaction_PayInSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PayIn>;
117
- /**
118
- * @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation
119
- */
120
- export type AppendLedgerEntriesRequest_Transaction_PayoutReservation = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation"> & {
121
- /**
122
- * @generated from field: uint64 payment_id = 10;
123
- */
124
- paymentId: bigint;
125
- };
126
- /**
127
- * Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation.
128
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema)` to create a new message.
129
- */
130
- export declare const AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PayoutReservation>;
131
85
  /**
132
86
  * @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout
133
87
  */
@@ -170,20 +124,6 @@ export type AppendLedgerEntriesRequest_Transaction_FeeSettlement = Message<"tzer
170
124
  * Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
171
125
  */
172
126
  export declare const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_FeeSettlement>;
173
- /**
174
- * @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease
175
- */
176
- export type AppendLedgerEntriesRequest_Transaction_PayoutReservationRelease = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease"> & {
177
- /**
178
- * @generated from field: uint64 payment_id = 10;
179
- */
180
- paymentId: bigint;
181
- };
182
- /**
183
- * Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease.
184
- * Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema)` to create a new message.
185
- */
186
- export declare const AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PayoutReservationRelease>;
187
127
  /**
188
128
  * @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry
189
129
  */
@@ -202,14 +142,6 @@ export type AppendLedgerEntriesRequest_LedgerEntry = Message<"tzero.v1.payment.A
202
142
  * @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.AccountType account_type = 20;
203
143
  */
204
144
  accountType: AppendLedgerEntriesRequest_AccountType;
205
- /**
206
- * *
207
- * It is the currency of the entry. If the transaction contains entries with multiple currencies, the exchange_rate
208
- * field should be provided to be used to convert the amounts to USD.
209
- *
210
- * @generated from field: string currency = 30;
211
- */
212
- currency: string;
213
145
  /**
214
146
  * *
215
147
  * debit is the amount that was debited from the account.
@@ -226,14 +158,6 @@ export type AppendLedgerEntriesRequest_LedgerEntry = Message<"tzero.v1.payment.A
226
158
  * @generated from field: tzero.v1.common.Decimal credit = 50;
227
159
  */
228
160
  credit?: Decimal;
229
- /**
230
- * *
231
- * exchange_rate is the exchange rate of the currency to USD if the currency is not USD and the transaction contains
232
- * entries with multiple currencies. Exchange rate for the base currency USD and the quote currency provided in the entry.
233
- *
234
- * @generated from field: tzero.v1.common.Decimal exchange_rate = 60;
235
- */
236
- exchangeRate?: Decimal;
237
161
  };
238
162
  /**
239
163
  * Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry.
@@ -249,69 +173,31 @@ export declare enum AppendLedgerEntriesRequest_AccountType {
249
173
  */
250
174
  UNSPECIFIED = 0,
251
175
  /**
252
- * Reflects the user's payable balance, the amount that the provider owes to the user.
253
- *
254
- * @generated from enum value: ACCOUNT_TYPE_USER_PAYABLE = 10;
255
- */
256
- USER_PAYABLE = 10,
257
- /**
258
- * Reflects the cash balance of the provider.
259
- *
260
- * @generated from enum value: ACCOUNT_TYPE_CASH = 20;
261
- */
262
- CASH = 20,
263
- /**
264
- * This is the reserve account of the provider, which reflects the reserve of balance to reduce the limit available from one provider to another.
265
- *
266
- * @generated from enum value: ACCOUNT_TYPE_RESERVE = 30;
267
- */
268
- RESERVE = 30,
269
- /**
270
- * This is the mirror account for the reserve. To keep the double entry accounting principle.
271
- *
272
- * @generated from enum value: ACCOUNT_TYPE_RESERVE_USAGE = 40;
176
+ * @generated from enum value: ACCOUNT_TYPE_BALANCE = 20;
273
177
  */
274
- RESERVE_USAGE = 40,
178
+ BALANCE = 20,
275
179
  /**
276
- * Reflects how much the provider owes to the network or other participants.
277
- *
278
- * @generated from enum value: ACCOUNT_TYPE_PROVIDER_PAYABLE = 50;
180
+ * @generated from enum value: ACCOUNT_TYPE_PAY_IN = 40;
279
181
  */
280
- PROVIDER_PAYABLE = 50,
182
+ PAY_IN = 40,
281
183
  /**
282
- * Reflects how much the provider is owed by the network or other participants.
283
- *
284
- * @generated from enum value: ACCOUNT_TYPE_PROVIDER_RECEIVABLE = 60;
184
+ * @generated from enum value: ACCOUNT_TYPE_PAY_OUT = 50;
285
185
  */
286
- PROVIDER_RECEIVABLE = 60,
186
+ PAY_OUT = 50,
287
187
  /**
288
- * Reflects the settlement balance of the provider with the network or other participants.
289
- *
290
- * @generated from enum value: ACCOUNT_TYPE_PROVIDER_SETTLEMENT = 70;
291
- */
292
- PROVIDER_SETTLEMENT = 70,
293
- /**
294
- * Reflects the fees that the provider owes to the network.
295
- *
296
- * @generated from enum value: ACCOUNT_TYPE_FEE_PAYABLE = 80;
297
- */
298
- FEE_PAYABLE = 80,
299
- /**
300
- * Reflects the fees that the network is owed by the provider.
188
+ * Reflects the fees that the provider has to pay for the services provided by the network.
301
189
  *
302
- * @generated from enum value: ACCOUNT_TYPE_FEE_RECEIVABLE = 90;
190
+ * @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 60;
303
191
  */
304
- FEE_RECEIVABLE = 90,
192
+ FEE_EXPENSE = 60,
305
193
  /**
306
- * Reflects the fees that the provider has to pay for the services provided by the network.
307
- *
308
- * @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 100;
194
+ * @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_IN = 80;
309
195
  */
310
- FEE_EXPENSE = 100,
196
+ SETTLEMENT_IN = 80,
311
197
  /**
312
- * @generated from enum value: ACCOUNT_TYPE_FEE_SETTLEMENT = 110;
198
+ * @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_OUT = 90;
313
199
  */
314
- FEE_SETTLEMENT = 110
200
+ SETTLEMENT_OUT = 90
315
201
  }
316
202
  /**
317
203
  * Describes the enum tzero.v1.payment.AppendLedgerEntriesRequest.AccountType.
@@ -410,6 +296,10 @@ export type PayoutRequest_TravelRuleData = Message<"tzero.v1.payment.PayoutReque
410
296
  * @generated from field: repeated ivms101.Person beneficiary = 20;
411
297
  */
412
298
  beneficiary: Person[];
299
+ /**
300
+ * @generated from field: optional ivms101.Person originator_provider = 30;
301
+ */
302
+ originatorProvider?: Person;
413
303
  };
414
304
  /**
415
305
  * Describes the message tzero.v1.payment.PayoutRequest.TravelRuleData.
@@ -558,12 +448,30 @@ export type UpdatePaymentRequest_Accepted = Message<"tzero.v1.payment.UpdatePaym
558
448
  * @generated from field: tzero.v1.common.Decimal payout_amount = 10;
559
449
  */
560
450
  payoutAmount?: Decimal;
451
+ /**
452
+ * @generated from field: optional tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData travel_rule_data = 20;
453
+ */
454
+ travelRuleData?: UpdatePaymentRequest_Accepted_TravelRuleData;
561
455
  };
562
456
  /**
563
457
  * Describes the message tzero.v1.payment.UpdatePaymentRequest.Accepted.
564
458
  * Use `create(UpdatePaymentRequest_AcceptedSchema)` to create a new message.
565
459
  */
566
460
  export declare const UpdatePaymentRequest_AcceptedSchema: GenMessage<UpdatePaymentRequest_Accepted>;
461
+ /**
462
+ * @generated from message tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData
463
+ */
464
+ export type UpdatePaymentRequest_Accepted_TravelRuleData = Message<"tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData"> & {
465
+ /**
466
+ * @generated from field: optional ivms101.Person beneficiary_provider = 10;
467
+ */
468
+ beneficiaryProvider?: Person;
469
+ };
470
+ /**
471
+ * Describes the message tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData.
472
+ * Use `create(UpdatePaymentRequest_Accepted_TravelRuleDataSchema)` to create a new message.
473
+ */
474
+ export declare const UpdatePaymentRequest_Accepted_TravelRuleDataSchema: GenMessage<UpdatePaymentRequest_Accepted_TravelRuleData>;
567
475
  /**
568
476
  * @generated from message tzero.v1.payment.UpdatePaymentRequest.Failed
569
477
  */