@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
@@ -11,18 +11,24 @@ export declare const file_tzero_v1_payment_intent_provider_provider: GenFile;
11
11
  */
12
12
  export type CreatePaymentIntentRequest = Message<"tzero.v1.payment_intent.provider.CreatePaymentIntentRequest"> & {
13
13
  /**
14
+ * Payment intent ID must be positive
15
+ *
14
16
  * idempotency key
15
17
  *
16
18
  * @generated from field: uint64 payment_intent_id = 10;
17
19
  */
18
20
  paymentIntentId: bigint;
19
21
  /**
22
+ * ISO 4217 currency code (3 uppercase letters)
23
+ *
20
24
  * pay-in currency
21
25
  *
22
26
  * @generated from field: string currency = 20;
23
27
  */
24
28
  currency: string;
25
29
  /**
30
+ * Amount is required
31
+ *
26
32
  * pay-in amount
27
33
  *
28
34
  * @generated from field: tzero.v1.common.Decimal amount = 30;
@@ -39,6 +45,8 @@ export declare const CreatePaymentIntentRequestSchema: GenMessage<CreatePaymentI
39
45
  */
40
46
  export type CreatePaymentIntentResponse = Message<"tzero.v1.payment_intent.provider.CreatePaymentIntentResponse"> & {
41
47
  /**
48
+ * At least one payment method should be provided
49
+ *
42
50
  * @generated from field: repeated tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod payment_methods = 20;
43
51
  */
44
52
  paymentMethods: CreatePaymentIntentResponse_PaymentMethod[];
@@ -53,10 +61,14 @@ export declare const CreatePaymentIntentResponseSchema: GenMessage<CreatePayment
53
61
  */
54
62
  export type CreatePaymentIntentResponse_PaymentMethod = Message<"tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod"> & {
55
63
  /**
64
+ * Payment URL must be a valid URL
65
+ *
56
66
  * @generated from field: string payment_url = 10;
57
67
  */
58
68
  paymentUrl: string;
59
69
  /**
70
+ * Payment method must be specified
71
+ *
60
72
  * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
61
73
  */
62
74
  paymentMethod: PaymentMethodType;
@@ -71,12 +83,16 @@ export declare const CreatePaymentIntentResponse_PaymentMethodSchema: GenMessage
71
83
  */
72
84
  export type ConfirmPaymentRequest = Message<"tzero.v1.payment_intent.provider.ConfirmPaymentRequest"> & {
73
85
  /**
86
+ * Payment intent ID must be positive
87
+ *
74
88
  * payment_intent_id from CreatePaymentIntentRequest
75
89
  *
76
90
  * @generated from field: uint64 payment_intent_id = 10;
77
91
  */
78
92
  paymentIntentId: bigint;
79
93
  /**
94
+ * Payment method must be specified
95
+ *
80
96
  * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
81
97
  */
82
98
  paymentMethod: PaymentMethodType;
@@ -173,6 +189,12 @@ export type ConfirmPayoutRequest = Message<"tzero.v1.payment_intent.provider.Con
173
189
  * @generated from field: uint64 payment_intent_id = 10;
174
190
  */
175
191
  paymentIntentId: bigint;
192
+ /**
193
+ * corresponding payment_id for this payment intent
194
+ *
195
+ * @generated from field: uint64 payment_id = 20;
196
+ */
197
+ paymentId: bigint;
176
198
  };
177
199
  /**
178
200
  * Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutRequest.
@@ -4,10 +4,11 @@
4
4
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_tzero_v1_common_common } from "../../common/common_pb.js";
6
6
  import { file_tzero_v1_common_payment_method } from "../../common/payment_method_pb.js";
7
+ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
7
8
  /**
8
9
  * Describes the file tzero/v1/payment_intent/provider/provider.proto.
9
10
  */
10
- export const file_tzero_v1_payment_intent_provider_provider = /*@__PURE__*/ fileDesc("Ci90emVyby92MS9wYXltZW50X2ludGVudC9wcm92aWRlci9wcm92aWRlci5wcm90bxIgdHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIicwoaQ3JlYXRlUGF5bWVudEludGVudFJlcXVlc3QSGQoRcGF5bWVudF9pbnRlbnRfaWQYCiABKAQSEAoIY3VycmVuY3kYFCABKAkSKAoGYW1vdW50GB4gASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwi5QEKG0NyZWF0ZVBheW1lbnRJbnRlbnRSZXNwb25zZRJkCg9wYXltZW50X21ldGhvZHMYFCADKAsySy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5DcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2UuUGF5bWVudE1ldGhvZBpgCg1QYXltZW50TWV0aG9kEhMKC3BheW1lbnRfdXJsGAogASgJEjoKDnBheW1lbnRfbWV0aG9kGBQgASgOMiIudHplcm8udjEuY29tbW9uLlBheW1lbnRNZXRob2RUeXBlIm4KFUNvbmZpcm1QYXltZW50UmVxdWVzdBIZChFwYXltZW50X2ludGVudF9pZBgKIAEoBBI6Cg5wYXltZW50X21ldGhvZBgUIAEoDjIiLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kVHlwZSLXAgoWQ29uZmlybVBheW1lbnRSZXNwb25zZRIzChFzZXR0bGVtZW50X2Ftb3VudBgKIAEoCzIYLnR6ZXJvLnYxLmNvbW1vbi5EZWNpbWFsEhoKEnBheW91dF9wcm92a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1ZXN0Gj0udHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuUmVqZWN0UGF5bWVudEludGVudFJlc3BvbnNlIgOQAgISkQEKEUNvbmZpcm1TZXR0bGVtZW50EjoudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVNldHRsZW1lbnRSZXF1ZXN0GjsudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVNldHRsZW1lbnRSZXNwb25zZSIDkAICMrMCCg9Qcm92aWRlclNlcnZpY2USlwEKE0NyZWF0ZVBheW1lbnRJbnRlbnQSPC50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5DcmVhdGVQYXltZW50SW50ZW50UmVxdWVzdBo9LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNyZWF0ZVBheW1lbnRJbnRlbnRSZXNwb25zZSIDkAICEoUBCg1Db25maXJtUGF5b3V0EjYudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW91dFJlcXVlc3QaNy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtUGF5b3V0UmVzcG9uc2UiA5ACAkLVAQokY29tLnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyQg1Qcm92aWRlclByb3RvUAGiAgRUVlBQqgIfVHplcm8uVjEuUGF5bWVudEludGVudC5Qcm92aWRlcsoCH1R6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUHJvdmlkZXLiAitUemVyb1xWMVxQYXltZW50SW50ZW50XFByb3ZpZGVyXEdQQk1ldGFkYXRh6gIiVHplcm86OlYxOjpQYXltZW50SW50ZW50OjpQcm92aWRlcmIGcHJvdG8z", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method]);
11
+ export const file_tzero_v1_payment_intent_provider_provider = /*@__PURE__*/ fileDesc("Ci90emVyby92MS9wYXltZW50X2ludGVudC9wcm92aWRlci9wcm92aWRlci5wcm90bxIgdHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIimgEKGkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0EiIKEXBheW1lbnRfaW50ZW50X2lkGAogASgEQge6SAQyAiAAEiYKCGN1cnJlbmN5GBQgASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxIwCgZhbW91bnQYHiABKAsyGC50emVyby52MS5jb21tb24uRGVjaW1hbEIGukgDyAEBIpQCChtDcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2USbgoPcGF5bWVudF9tZXRob2RzGBQgAygLMksudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ3JlYXRlUGF5bWVudEludGVudFJlc3BvbnNlLlBheW1lbnRNZXRob2RCCLpIBZIBAggBGoQBCg1QYXltZW50TWV0aG9kEi0KC3BheW1lbnRfdXJsGAogASgJQhi6SBVyExABGIAQMgxeaHR0cHM/Oi8vLisSRAoOcGF5bWVudF9tZXRob2QYFCABKA4yIi50emVyby52MS5jb21tb24uUGF5bWVudE1ldGhvZFR5cGVCCLpIBYIBAiAAIoEBChVDb25maXJtUGF5bWVudFJlcXVlc3QSIgoRcGF5bWVudF9pbnRlbnRfaWQYCiABKARCB7pIBDICIAASRAoOcGF5bWVudF9tZXRob2QYFCABKA4yIi50emVyby52MS5jb21tb24uUGF5bWVudE1ldGhvZFR5cGVCCLpIBYIBAiAAItcCChZDb25maXJtUGF5bWVudFJlc3BvbnNlEjMKEXNldHRsZW1lbnRfYW1vdW50GAogASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwSGgoScGF5b3V0X3Byb3ZpZGVyX2lkGBQgASgNEmgKFHNldHRsZW1lbnRfYWRkcmVzc2VzGB4gAygLMkoudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW1lbnRSZXNwb25zZS5TZXR0bGVtZW50QWRkcmVzcxqBAQoRU2V0dGxlbWVudEFkZHJlc3MSKgoFY2hhaW4YCiABKA4yGy50emVyby52MS5jb21tb24uQmxvY2tjaGFpbhIvCgpzdGFibGVjb2luGBQgASgOMhsudHplcm8udjEuY29tbW9uLlN0YWJsZWNvaW4SDwoHYWRkcmVzcxgeIAEoCSJHChpSZWplY3RQYXltZW50SW50ZW50UmVxdWVzdBIZChFwYXltZW50X2ludGVudF9pZBgKIAEoBBIOCgZyZWFzb24YFCABKAkiHQobUmVqZWN0UGF5bWVudEludGVudFJlc3BvbnNlIkUKFENvbmZpcm1QYXlvdXRSZXF1ZXN0EhkKEXBheW1lbnRfaW50ZW50X2lkGAogASgEEhIKCnBheW1lbnRfaWQYFCABKAQiFwoVQ29uZmlybVBheW91dFJlc3BvbnNlIncKGENvbmZpcm1TZXR0bGVtZW50UmVxdWVzdBIvCgpibG9ja2NoYWluGAogASgOMhsudHplcm8udjEuY29tbW9uLkJsb2NrY2hhaW4SDwoHdHhfaGFzaBgUIAEoCRIZChFwYXltZW50X2ludGVudF9pZBgeIAMoBCIbChlDb25maXJtU2V0dGxlbWVudFJlc3BvbnNlMskDCg5OZXR3b3JrU2VydmljZRKIAQoOQ29uZmlybVBheW1lbnQSNy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtUGF5bWVudFJlcXVlc3QaOC50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtUGF5bWVudFJlc3BvbnNlIgOQAgISlwEKE1JlamVjdFBheW1lbnRJbnRlbnQSPC50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5SZWplY3RQYXltZW50SW50ZW50UmVxdWVzdBo9LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLlJlamVjdFBheW1lbnRJbnRlbnRSZXNwb25zZSIDkAICEpEBChFDb25maXJtU2V0dGxlbWVudBI6LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNvbmZpcm1TZXR0bGVtZW50UmVxdWVzdBo7LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNvbmZpcm1TZXR0bGVtZW50UmVzcG9uc2UiA5ACAjKzAgoPUHJvdmlkZXJTZXJ2aWNlEpcBChNDcmVhdGVQYXltZW50SW50ZW50EjwudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ3JlYXRlUGF5bWVudEludGVudFJlcXVlc3QaPS50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5DcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAhKFAQoNQ29uZmlybVBheW91dBI2LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNvbmZpcm1QYXlvdXRSZXF1ZXN0GjcudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW91dFJlc3BvbnNlIgOQAgJC1QEKJGNvbS50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlckINUHJvdmlkZXJQcm90b1ABogIEVFZQUKoCH1R6ZXJvLlYxLlBheW1lbnRJbnRlbnQuUHJvdmlkZXLKAh9UemVyb1xWMVxQYXltZW50SW50ZW50XFByb3ZpZGVy4gIrVHplcm9cVjFcUGF5bWVudEludGVudFxQcm92aWRlclxHUEJNZXRhZGF0YeoCIlR6ZXJvOjpWMTo6UGF5bWVudEludGVudDo6UHJvdmlkZXJiBnByb3RvMw", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method, file_buf_validate_validate]);
11
12
  /**
12
13
  * Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest.
13
14
  * Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
@@ -1,6 +1,8 @@
1
1
  import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { Decimal } from "../../common/common_pb.js";
3
3
  import type { PaymentMethod, PaymentMethodType } from "../../common/payment_method_pb.js";
4
+ import type { PaymentReceipt } from "../../common/payment_receipt_pb.js";
5
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
6
  import type { Message } from "@bufbuild/protobuf";
5
7
  /**
6
8
  * Describes the file tzero/v1/payment_intent/recipient/recipient.proto.
@@ -15,8 +17,6 @@ export type CreatePaymentIntentRequest = Message<"tzero.v1.payment_intent.recipi
15
17
  * Idempotency Key
16
18
  * payment reference to identify payment by client.
17
19
  *
18
- * idempotency key
19
- *
20
20
  * @generated from field: string payment_reference = 10;
21
21
  */
22
22
  paymentReference: string;
@@ -24,8 +24,6 @@ export type CreatePaymentIntentRequest = Message<"tzero.v1.payment_intent.recipi
24
24
  * *
25
25
  * Pay-in currency
26
26
  *
27
- * pay-in currency
28
- *
29
27
  * @generated from field: string pay_in_currency = 20;
30
28
  */
31
29
  payInCurrency: string;
@@ -40,8 +38,6 @@ export type CreatePaymentIntentRequest = Message<"tzero.v1.payment_intent.recipi
40
38
  * *
41
39
  * Payout currency
42
40
  *
43
- * pay-out currency
44
- *
45
41
  * @generated from field: string pay_out_currency = 40;
46
42
  */
47
43
  payOutCurrency: string;
@@ -63,10 +59,14 @@ export declare const CreatePaymentIntentRequestSchema: GenMessage<CreatePaymentI
63
59
  */
64
60
  export type CreatePaymentIntentResponse = Message<"tzero.v1.payment_intent.recipient.CreatePaymentIntentResponse"> & {
65
61
  /**
62
+ * Payment intent ID must be positive
63
+ *
66
64
  * @generated from field: uint64 payment_intent_id = 10;
67
65
  */
68
66
  paymentIntentId: bigint;
69
67
  /**
68
+ * At least one payment method should be provided
69
+ *
70
70
  * @generated from field: repeated tzero.v1.payment_intent.recipient.CreatePaymentIntentResponse.PaymentMethod pay_in_payment_methods = 20;
71
71
  */
72
72
  payInPaymentMethods: CreatePaymentIntentResponse_PaymentMethod[];
@@ -81,14 +81,20 @@ export declare const CreatePaymentIntentResponseSchema: GenMessage<CreatePayment
81
81
  */
82
82
  export type CreatePaymentIntentResponse_PaymentMethod = Message<"tzero.v1.payment_intent.recipient.CreatePaymentIntentResponse.PaymentMethod"> & {
83
83
  /**
84
+ * Payment URL must be a valid URL
85
+ *
84
86
  * @generated from field: string payment_url = 10;
85
87
  */
86
88
  paymentUrl: string;
87
89
  /**
90
+ * Provider ID must be positive
91
+ *
88
92
  * @generated from field: uint32 provider_id = 20;
89
93
  */
90
94
  providerId: number;
91
95
  /**
96
+ * Payment method must be specified
97
+ *
92
98
  * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 30;
93
99
  */
94
100
  paymentMethod: PaymentMethodType;
@@ -98,24 +104,186 @@ export type CreatePaymentIntentResponse_PaymentMethod = Message<"tzero.v1.paymen
98
104
  * Use `create(CreatePaymentIntentResponse_PaymentMethodSchema)` to create a new message.
99
105
  */
100
106
  export declare const CreatePaymentIntentResponse_PaymentMethodSchema: GenMessage<CreatePaymentIntentResponse_PaymentMethod>;
107
+ /**
108
+ * @generated from message tzero.v1.payment_intent.recipient.GetQuoteRequest
109
+ */
110
+ export type GetQuoteRequest = Message<"tzero.v1.payment_intent.recipient.GetQuoteRequest"> & {
111
+ /**
112
+ * *
113
+ * Pay-in currency
114
+ *
115
+ * @generated from field: string pay_in_currency = 10;
116
+ */
117
+ payInCurrency: string;
118
+ /**
119
+ * *
120
+ * Amount denominated in the pay-in currency
121
+ *
122
+ * @generated from field: tzero.v1.common.Decimal pay_in_amount = 20;
123
+ */
124
+ payInAmount?: Decimal;
125
+ /**
126
+ * *
127
+ * Payout currency
128
+ *
129
+ * @generated from field: string pay_out_currency = 30;
130
+ */
131
+ payOutCurrency: string;
132
+ /**
133
+ * *
134
+ * payment method to use for the pay-in, e.g. bank transfer, card, etc.
135
+ *
136
+ * @generated from field: tzero.v1.common.PaymentMethodType pay_in_payment_method = 40;
137
+ */
138
+ payInPaymentMethod: PaymentMethodType;
139
+ /**
140
+ * *
141
+ * payment method to use for the pay-out, e.g. bank transfer, card, etc.
142
+ *
143
+ * @generated from field: tzero.v1.common.PaymentMethodType pay_out_payment_method = 50;
144
+ */
145
+ payOutPaymentMethod: PaymentMethodType;
146
+ };
147
+ /**
148
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteRequest.
149
+ * Use `create(GetQuoteRequestSchema)` to create a new message.
150
+ */
151
+ export declare const GetQuoteRequestSchema: GenMessage<GetQuoteRequest>;
152
+ /**
153
+ * @generated from message tzero.v1.payment_intent.recipient.GetQuoteResponse
154
+ */
155
+ export type GetQuoteResponse = Message<"tzero.v1.payment_intent.recipient.GetQuoteResponse"> & {
156
+ /**
157
+ * @generated from oneof tzero.v1.payment_intent.recipient.GetQuoteResponse.result
158
+ */
159
+ result: {
160
+ /**
161
+ * @generated from field: tzero.v1.payment_intent.recipient.GetQuoteResponse.Quote quote = 10;
162
+ */
163
+ value: GetQuoteResponse_Quote;
164
+ case: "quote";
165
+ } | {
166
+ /**
167
+ * @generated from field: tzero.v1.payment_intent.recipient.GetQuoteResponse.NotFound not_found = 20;
168
+ */
169
+ value: GetQuoteResponse_NotFound;
170
+ case: "notFound";
171
+ } | {
172
+ case: undefined;
173
+ value?: undefined;
174
+ };
175
+ };
176
+ /**
177
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteResponse.
178
+ * Use `create(GetQuoteResponseSchema)` to create a new message.
179
+ */
180
+ export declare const GetQuoteResponseSchema: GenMessage<GetQuoteResponse>;
181
+ /**
182
+ * @generated from message tzero.v1.payment_intent.recipient.GetQuoteResponse.Quote
183
+ */
184
+ export type GetQuoteResponse_Quote = Message<"tzero.v1.payment_intent.recipient.GetQuoteResponse.Quote"> & {
185
+ /**
186
+ * *
187
+ * Rate of pay-in currency to pay-out
188
+ *
189
+ * @generated from field: tzero.v1.common.Decimal rate = 10;
190
+ */
191
+ rate?: Decimal;
192
+ /**
193
+ * *
194
+ * Time until when quote is valid. Used only for reference. Actual quote is determined at the moment of payment.
195
+ *
196
+ * @generated from field: google.protobuf.Timestamp expiration = 20;
197
+ */
198
+ expiration?: Timestamp;
199
+ };
200
+ /**
201
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteResponse.Quote.
202
+ * Use `create(GetQuoteResponse_QuoteSchema)` to create a new message.
203
+ */
204
+ export declare const GetQuoteResponse_QuoteSchema: GenMessage<GetQuoteResponse_Quote>;
205
+ /**
206
+ * @generated from message tzero.v1.payment_intent.recipient.GetQuoteResponse.NotFound
207
+ */
208
+ export type GetQuoteResponse_NotFound = Message<"tzero.v1.payment_intent.recipient.GetQuoteResponse.NotFound"> & {};
209
+ /**
210
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteResponse.NotFound.
211
+ * Use `create(GetQuoteResponse_NotFoundSchema)` to create a new message.
212
+ */
213
+ export declare const GetQuoteResponse_NotFoundSchema: GenMessage<GetQuoteResponse_NotFound>;
214
+ /**
215
+ * @generated from message tzero.v1.payment_intent.recipient.ConfirmPayInRequest
216
+ */
217
+ export type ConfirmPayInRequest = Message<"tzero.v1.payment_intent.recipient.ConfirmPayInRequest"> & {
218
+ /**
219
+ * payment_intent_id from the CreatePaymentIntentResponse
220
+ *
221
+ * @generated from field: uint64 payment_intent_id = 10;
222
+ */
223
+ paymentIntentId: bigint;
224
+ /**
225
+ * payment_reference from the CreatePaymentIntentRequest
226
+ *
227
+ * @generated from field: string payment_reference = 20;
228
+ */
229
+ paymentReference: string;
230
+ /**
231
+ * pay-in payment method
232
+ *
233
+ * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 30;
234
+ */
235
+ paymentMethod: PaymentMethodType;
236
+ };
237
+ /**
238
+ * Describes the message tzero.v1.payment_intent.recipient.ConfirmPayInRequest.
239
+ * Use `create(ConfirmPayInRequestSchema)` to create a new message.
240
+ */
241
+ export declare const ConfirmPayInRequestSchema: GenMessage<ConfirmPayInRequest>;
242
+ /**
243
+ * @generated from message tzero.v1.payment_intent.recipient.ConfirmPayInResponse
244
+ */
245
+ export type ConfirmPayInResponse = Message<"tzero.v1.payment_intent.recipient.ConfirmPayInResponse"> & {};
246
+ /**
247
+ * Describes the message tzero.v1.payment_intent.recipient.ConfirmPayInResponse.
248
+ * Use `create(ConfirmPayInResponseSchema)` to create a new message.
249
+ */
250
+ export declare const ConfirmPayInResponseSchema: GenMessage<ConfirmPayInResponse>;
101
251
  /**
102
252
  * @generated from message tzero.v1.payment_intent.recipient.ConfirmPaymentRequest
103
253
  */
104
254
  export type ConfirmPaymentRequest = Message<"tzero.v1.payment_intent.recipient.ConfirmPaymentRequest"> & {
105
255
  /**
106
- * payment_intent_id from the CreatePaymentIntentRequest
256
+ * payment_intent_id from the CreatePaymentIntentResponse
107
257
  *
108
258
  * @generated from field: uint64 payment_intent_id = 10;
109
259
  */
110
260
  paymentIntentId: bigint;
111
261
  /**
262
+ * payment_reference from the CreatePaymentIntentRequest
263
+ *
112
264
  * @generated from field: string payment_reference = 20;
113
265
  */
114
266
  paymentReference: string;
115
267
  /**
268
+ * pay-in payment method
269
+ *
116
270
  * @generated from field: tzero.v1.common.PaymentMethodType payment_method = 30;
117
271
  */
118
272
  paymentMethod: PaymentMethodType;
273
+ /**
274
+ * *
275
+ * amount which will be paid out denominated in pay_out_currency of the payment intent
276
+ *
277
+ * @generated from field: tzero.v1.common.Decimal pay_out_amount = 40;
278
+ */
279
+ payOutAmount?: Decimal;
280
+ /**
281
+ * *
282
+ * Payment receipt might contain metadata about payment recognizable by pay-in provider.
283
+ *
284
+ * @generated from field: tzero.v1.common.PaymentReceipt receipt = 50;
285
+ */
286
+ receipt?: PaymentReceipt;
119
287
  };
120
288
  /**
121
289
  * Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentRequest.
@@ -123,20 +291,20 @@ export type ConfirmPaymentRequest = Message<"tzero.v1.payment_intent.recipient.C
123
291
  */
124
292
  export declare const ConfirmPaymentRequestSchema: GenMessage<ConfirmPaymentRequest>;
125
293
  /**
126
- * @generated from message tzero.v1.payment_intent.recipient.ConfirmPaymentIntentResponse
294
+ * @generated from message tzero.v1.payment_intent.recipient.ConfirmPaymentResponse
127
295
  */
128
- export type ConfirmPaymentIntentResponse = Message<"tzero.v1.payment_intent.recipient.ConfirmPaymentIntentResponse"> & {};
296
+ export type ConfirmPaymentResponse = Message<"tzero.v1.payment_intent.recipient.ConfirmPaymentResponse"> & {};
129
297
  /**
130
- * Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentIntentResponse.
131
- * Use `create(ConfirmPaymentIntentResponseSchema)` to create a new message.
298
+ * Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentResponse.
299
+ * Use `create(ConfirmPaymentResponseSchema)` to create a new message.
132
300
  */
133
- export declare const ConfirmPaymentIntentResponseSchema: GenMessage<ConfirmPaymentIntentResponse>;
301
+ export declare const ConfirmPaymentResponseSchema: GenMessage<ConfirmPaymentResponse>;
134
302
  /**
135
303
  * @generated from message tzero.v1.payment_intent.recipient.RejectPaymentIntentRequest
136
304
  */
137
305
  export type RejectPaymentIntentRequest = Message<"tzero.v1.payment_intent.recipient.RejectPaymentIntentRequest"> & {
138
306
  /**
139
- * payment_intent_id from the CreatePaymentIntentRequest
307
+ * payment_intent_id from the CreatePaymentIntentResponse
140
308
  *
141
309
  * @generated from field: uint64 payment_intent_id = 10;
142
310
  */
@@ -181,6 +349,14 @@ export declare const NetworkService: GenService<{
181
349
  input: typeof CreatePaymentIntentRequestSchema;
182
350
  output: typeof CreatePaymentIntentResponseSchema;
183
351
  };
352
+ /**
353
+ * @generated from rpc tzero.v1.payment_intent.recipient.NetworkService.GetQuote
354
+ */
355
+ getQuote: {
356
+ methodKind: "unary";
357
+ input: typeof GetQuoteRequestSchema;
358
+ output: typeof GetQuoteResponseSchema;
359
+ };
184
360
  }>;
185
361
  /**
186
362
  * *
@@ -189,6 +365,17 @@ export declare const NetworkService: GenService<{
189
365
  * @generated from service tzero.v1.payment_intent.recipient.RecipientService
190
366
  */
191
367
  export declare const RecipientService: GenService<{
368
+ /**
369
+ * *
370
+ * notifies recipient that pay-in providers received payment from payer
371
+ *
372
+ * @generated from rpc tzero.v1.payment_intent.recipient.RecipientService.ConfirmPayIn
373
+ */
374
+ confirmPayIn: {
375
+ methodKind: "unary";
376
+ input: typeof ConfirmPayInRequestSchema;
377
+ output: typeof ConfirmPayInResponseSchema;
378
+ };
192
379
  /**
193
380
  * *
194
381
  * notifies recipient about successful payment
@@ -198,7 +385,7 @@ export declare const RecipientService: GenService<{
198
385
  confirmPayment: {
199
386
  methodKind: "unary";
200
387
  input: typeof ConfirmPaymentRequestSchema;
201
- output: typeof ConfirmPaymentIntentResponseSchema;
388
+ output: typeof ConfirmPaymentResponseSchema;
202
389
  };
203
390
  /**
204
391
  * *
@@ -4,10 +4,13 @@
4
4
  import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
5
5
  import { file_tzero_v1_common_common } from "../../common/common_pb.js";
6
6
  import { file_tzero_v1_common_payment_method } from "../../common/payment_method_pb.js";
7
+ import { file_tzero_v1_common_payment_receipt } from "../../common/payment_receipt_pb.js";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
7
10
  /**
8
11
  * Describes the file tzero/v1/payment_intent/recipient/recipient.proto.
9
12
  */
10
- export const file_tzero_v1_payment_intent_recipient_recipient = /*@__PURE__*/ fileDesc("CjF0emVyby92MS9wYXltZW50X2ludGVudC9yZWNpcGllbnQvcmVjaXBpZW50LnByb3RvEiF0emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQi0wEKGkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0EhkKEXBheW1lbnRfcmVmZXJlbmNlGAogASgJEhcKD3BheV9pbl9jdXJyZW5jeRgUIAEoCRIvCg1wYXlfaW5fYW1vdW50GB4gASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwSGAoQcGF5X291dF9jdXJyZW5jeRgoIAEoCRI2Cg5wYXlfb3V0X21ldGhvZBgyIAEoCzIeLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kIp0CChtDcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2USGQoRcGF5bW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F9pbnRlbnQucmVjaXBpZW50LkNvbmZpcm1QYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAhKZAQoTUmVqZWN0UGF5bWVudEludGVudBI9LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5SZWplY3RQYXltZW50SW50ZW50UmVxdWVzdBo+LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5SZWplY3RQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAkLbAQolY29tLnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudEIOUmVjaXBpZW50UHJvdG9QAaICBFRWUFKqAiBUemVyby5WMS5QYXltZW50SW50ZW50LlJlY2lwaWVudMoCIFR6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUmVjaXBpZW504gIsVHplcm9cVjFcUGF5bWVudEludGVudFxSZWNpcGllbnRcR1BCTWV0YWRhdGHqAiNUemVybzo6VjE6OlBheW1lbnRJbnRlbnQ6OlJlY2lwaWVudGIGcHJvdG8z", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method]);
13
+ export const file_tzero_v1_payment_intent_recipient_recipient = /*@__PURE__*/ fileDesc("CjF0emVyby92MS9wYXltZW50X2ludGVudC9yZWNpcGllbnQvcmVjaXBpZW50LnByb3RvEiF0emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQimgIKGkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0EiQKEXBheW1lbnRfcmVmZXJlbmNlGAogASgJQgm6SAZyBBABGEASLQoPcGF5X2luX2N1cnJlbmN5GBQgASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI3Cg1wYXlfaW5fYW1vdW50GB4gASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWxCBrpIA8gBARIuChBwYXlfb3V0X2N1cnJlbmN5GCggASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI+Cg5wYXlfb3V0X21ldGhvZBgyIAEoCzIe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VRdW90ZRImCgRyYXRlGAogASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwSLgoKZXhwaXJhdGlvbhgUIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAaCgoITm90Rm91bmRCCAoGcmVzdWx0IocBChNDb25maXJtUGF5SW5SZXF1ZXN0EhkKEXBheW1lbnRfaW50ZW50X2lkGAogASgEEhkKEXBheW1lbnRfcmVmZXJlbmNlGBQgASgJEjoKDnBheW1lbnRfbWV0aG9kGB4gASgOMiIudHplcm8udjEuY29tbW9uLlBheW1lbnRNZXRob2RUeXBlIhYKFENvbmZpcm1QYXlJblJlc3BvbnNlIu0BChVDb25maXJtUGF5bWVudFJlcXVlc3QSGQoRcGF5bWVudF9pbnRlbnRfaWQYCiABKAQSGQoRcGF5bWVudF9yZWZlcmVuY2UYFCABKAkSOgoOcGF5bWVudF9tZXRob2QYHiABKA4yIi50emVyby52MS5jb21tb24uUGF5bWVudE1ldGhvZFR5cGUSMAoOcGF5X291dF9hbW91bnQYKCABKAsyGC50emVyby52MS5jb21tb24uRGVjaW1hbBIwCgdyZWNlaXB0GDIgASgLMh8udHplcm8udjEuY29tbW9uLlBheW1lbnRSZWNlaXB0IhgKFkNvbmZpcm1QYXltZW50UmVzcG9uc2UiYgoaUmVqZWN0UGF5bWVudEludGVudFJlcXVlc3QSGQoRcGF5bWVudF9pbnRlbnRfaWQYCiABKAQSGQoRcGF5bWVudF9yZWZlcmVuY2UYFCABKAkSDgoGcmVhc29uGB4gASgJIh0KG1JlamVjdFBheW1lbnRJbnRlbnRSZXNwb25zZTKmAgoOTmV0d29ya1NlcnZpY2USmQEKE0NyZWF0ZVBheW1lbnRJbnRlbnQSPS50emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQuQ3JlYXRlUGF5bWVudEludGVudFJlcXVlc3QaPi50emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQuQ3JlYXRlUGF5bWVudEludGVudFJlc3BvbnNlIgOQAgISeAoIR2V0UXVvdGUSMi50emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQuR2V0UXVvdGVSZXF1ZXN0GjMudHplcm8udjEucGF5bWVudF9pbnRlbnQucmVjaXBpZW50LkdldFF1b3RlUmVzcG9uc2UiA5ACATLCAwoQUmVjaXBpZW50U2VydmljZRKEAQoMQ29uZmlybVBheUluEjYudHplcm8udjEucGF5bWVudF9pbnRlbnQucmVjaXBpZW50LkNvbmZpcm1QYXlJblJlcXVlc3QaNy50emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQuQ29uZmlybVBheUluUmVzcG9uc2UiA5ACAhKKAQoOQ29uZmlybVBheW1lbnQSOC50emVyby52MS5wYXltZW50X2ludGVudC5yZWNpcGllbnQuQ29uZmlybVBheW1lbnRSZXF1ZXN0GjkudHplcm8udjEucGF5bWVudF9pbnRlbnQucmVjaXBpZW50LkNvbmZpcm1QYXltZW50UmVzcG9uc2UiA5ACAhKZAQoTUmVqZWN0UGF5bWVudEludGVudBI9LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5SZWplY3RQYXltZW50SW50ZW50UmVxdWVzdBo+LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudC5SZWplY3RQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAkLbAQolY29tLnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnJlY2lwaWVudEIOUmVjaXBpZW50UHJvdG9QAaICBFRWUFKqAiBUemVyby5WMS5QYXltZW50SW50ZW50LlJlY2lwaWVudMoCIFR6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUmVjaXBpZW504gIsVHplcm9cVjFcUGF5bWVudEludGVudFxSZWNpcGllbnRcR1BCTWV0YWRhdGHqAiNUemVybzo6VjE6OlBheW1lbnRJbnRlbnQ6OlJlY2lwaWVudGIGcHJvdG8z", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method, file_tzero_v1_common_payment_receipt, file_google_protobuf_timestamp, file_buf_validate_validate]);
11
14
  /**
12
15
  * Describes the message tzero.v1.payment_intent.recipient.CreatePaymentIntentRequest.
13
16
  * Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
@@ -23,26 +26,56 @@ export const CreatePaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_
23
26
  * Use `create(CreatePaymentIntentResponse_PaymentMethodSchema)` to create a new message.
24
27
  */
25
28
  export const CreatePaymentIntentResponse_PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 1, 0);
29
+ /**
30
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteRequest.
31
+ * Use `create(GetQuoteRequestSchema)` to create a new message.
32
+ */
33
+ export const GetQuoteRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 2);
34
+ /**
35
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteResponse.
36
+ * Use `create(GetQuoteResponseSchema)` to create a new message.
37
+ */
38
+ export const GetQuoteResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 3);
39
+ /**
40
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteResponse.Quote.
41
+ * Use `create(GetQuoteResponse_QuoteSchema)` to create a new message.
42
+ */
43
+ export const GetQuoteResponse_QuoteSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 3, 0);
44
+ /**
45
+ * Describes the message tzero.v1.payment_intent.recipient.GetQuoteResponse.NotFound.
46
+ * Use `create(GetQuoteResponse_NotFoundSchema)` to create a new message.
47
+ */
48
+ export const GetQuoteResponse_NotFoundSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 3, 1);
49
+ /**
50
+ * Describes the message tzero.v1.payment_intent.recipient.ConfirmPayInRequest.
51
+ * Use `create(ConfirmPayInRequestSchema)` to create a new message.
52
+ */
53
+ export const ConfirmPayInRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 4);
54
+ /**
55
+ * Describes the message tzero.v1.payment_intent.recipient.ConfirmPayInResponse.
56
+ * Use `create(ConfirmPayInResponseSchema)` to create a new message.
57
+ */
58
+ export const ConfirmPayInResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 5);
26
59
  /**
27
60
  * Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentRequest.
28
61
  * Use `create(ConfirmPaymentRequestSchema)` to create a new message.
29
62
  */
30
- export const ConfirmPaymentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 2);
63
+ export const ConfirmPaymentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 6);
31
64
  /**
32
- * Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentIntentResponse.
33
- * Use `create(ConfirmPaymentIntentResponseSchema)` to create a new message.
65
+ * Describes the message tzero.v1.payment_intent.recipient.ConfirmPaymentResponse.
66
+ * Use `create(ConfirmPaymentResponseSchema)` to create a new message.
34
67
  */
35
- export const ConfirmPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 3);
68
+ export const ConfirmPaymentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 7);
36
69
  /**
37
70
  * Describes the message tzero.v1.payment_intent.recipient.RejectPaymentIntentRequest.
38
71
  * Use `create(RejectPaymentIntentRequestSchema)` to create a new message.
39
72
  */
40
- export const RejectPaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 4);
73
+ export const RejectPaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 8);
41
74
  /**
42
75
  * Describes the message tzero.v1.payment_intent.recipient.RejectPaymentIntentResponse.
43
76
  * Use `create(RejectPaymentIntentResponseSchema)` to create a new message.
44
77
  */
45
- export const RejectPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 5);
78
+ export const RejectPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_recipient_recipient, 9);
46
79
  /**
47
80
  * *
48
81
  * NetworkService is used by recipient to create a payment intents