@t-0/provider-sdk 1.0.22 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/client/client.d.ts +3 -33
- package/lib/client/client.js +4 -5
- package/lib/common/gen/tzero/v1/common/common_pb.d.ts +64 -0
- package/lib/common/gen/tzero/v1/common/common_pb.js +53 -0
- package/lib/common/gen/tzero/v1/common/payment_method_pb.d.ts +122 -0
- package/lib/common/gen/tzero/v1/common/payment_method_pb.js +57 -0
- package/lib/common/gen/tzero/v1/payment/network_pb.d.ts +567 -0
- package/lib/common/gen/tzero/v1/payment/network_pb.js +144 -0
- package/lib/common/gen/tzero/v1/payment/provider_pb.d.ts +641 -0
- package/lib/common/gen/tzero/v1/payment/provider_pb.js +203 -0
- package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.d.ts +296 -0
- package/lib/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +84 -0
- package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +214 -0
- package/lib/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +59 -0
- package/lib/common/gen/tzero/v1/public/public_pb.d.ts +234 -0
- package/lib/common/gen/tzero/v1/public/public_pb.js +85 -0
- package/lib/gen/common/common_pb.d.ts +39 -1
- package/lib/gen/common/common_pb.js +42 -2
- package/lib/gen/common/payment_method_pb.d.ts +77 -6
- package/lib/gen/common/payment_method_pb.js +41 -2
- package/lib/gen/network/network_pb.d.ts +16 -98
- package/lib/gen/network/network_pb.js +2 -21
- package/lib/gen/network/provider_pb.d.ts +20 -98
- package/lib/gen/network/provider_pb.js +1 -21
- package/lib/gen/payment_intent/provider/provider_pb.d.ts +296 -0
- package/lib/gen/payment_intent/provider/provider_pb.js +84 -0
- package/lib/gen/payment_intent/recipient/recipient_pb.d.ts +214 -0
- package/lib/gen/payment_intent/recipient/recipient_pb.js +59 -0
- package/lib/index.d.ts +6 -4
- package/lib/index.js +6 -4
- package/lib/payment_intent/provider/index.d.ts +1 -0
- package/lib/payment_intent/provider/index.js +1 -0
- package/lib/payment_intent/recipient/index.d.ts +1 -0
- package/lib/payment_intent/recipient/index.js +1 -0
- package/lib/service/service.d.ts +6 -2
- package/lib/service/service.js +4 -6
- package/package.json +7 -7
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file tzero/v1/payment/provider.proto (package tzero.v1.payment, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_tzero_v1_common_payment_method } from "../common/payment_method_pb";
|
|
6
|
+
import { file_tzero_v1_common_common } from "../common/common_pb";
|
|
7
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file tzero/v1/payment/provider.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("Ch90emVyby92MS9wYXltZW50L3Byb3ZpZGVyLnByb3RvEhB0emVyby52MS5wYXltZW50IrcNChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJOCgx0cmFuc2FjdGlvbnMYFCADKAsyOC50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uGs4HCgtUcmFuc2FjdGlvbhIWCg50cmFuc2FjdGlvbl9pZBgKIAEoBBJJCgdlbnRyaWVzGB4gAygLMjgudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdC5MZWRnZXJFbnRyeRJQCgZwYXlfaW4YbiABKAsyPi50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLlBheUluSAASaAoScGF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zcG9uc2UypAMKD1Byb3ZpZGVyU2VydmljZRJQCgZQYXlPdXQSHy50emVyby52MS5wYXltZW50LlBheW91dFJlcXVlc3QaIC50emVyby52MS5wYXltZW50LlBheW91dFJlc3BvbnNlIgOQAgISZQoNVXBkYXRlUGF5bWVudBImLnR6ZXJvLnYxLnBheW1lbnQuVXBkYXRlUGF5bWVudFJlcXVlc3QaJy50emVyby52MS5wYXltZW50LlVwZGF0ZVBheW1lbnRSZXNwb25zZSIDkAICEl8KC1VwZGF0ZUxpbWl0EiQudHplcm8udjEucGF5bWVudC5VcGRhdGVMaW1pdFJlcXVlc3QaJS50emVyby52MS5wYXltZW50LlVwZGF0ZUxpbWl0UmVzcG9uc2UiA5ACAhJ3ChNBcHBlbmRMZWRnZXJFbnRyaWVzEiwudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBotLnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJChwEKFGNvbS50emVyby52MS5wYXltZW50Qg1Qcm92aWRlclByb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [file_tzero_v1_common_payment_method, file_tzero_v1_common_common, file_google_protobuf_timestamp]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.
|
|
14
|
+
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const AppendLedgerEntriesRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.
|
|
19
|
+
* Use `create(AppendLedgerEntriesRequest_TransactionSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const AppendLedgerEntriesRequest_TransactionSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn.
|
|
24
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_PayInSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const AppendLedgerEntriesRequest_Transaction_PayInSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 0);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation.
|
|
29
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 1);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout.
|
|
34
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const AppendLedgerEntriesRequest_Transaction_PayoutSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 2);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.ProviderSettlement.
|
|
39
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 3);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.FeeSettlement.
|
|
44
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 4);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease.
|
|
49
|
+
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 5);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry.
|
|
54
|
+
* Use `create(AppendLedgerEntriesRequest_LedgerEntrySchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const AppendLedgerEntriesRequest_LedgerEntrySchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 1);
|
|
57
|
+
/**
|
|
58
|
+
* @generated from enum tzero.v1.payment.AppendLedgerEntriesRequest.AccountType
|
|
59
|
+
*/
|
|
60
|
+
export var AppendLedgerEntriesRequest_AccountType;
|
|
61
|
+
(function (AppendLedgerEntriesRequest_AccountType) {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from enum value: ACCOUNT_TYPE_UNSPECIFIED = 0;
|
|
64
|
+
*/
|
|
65
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
66
|
+
/**
|
|
67
|
+
* Reflects the user's payable balance, the amount that the provider owes to the user.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum value: ACCOUNT_TYPE_USER_PAYABLE = 1;
|
|
70
|
+
*/
|
|
71
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["USER_PAYABLE"] = 1] = "USER_PAYABLE";
|
|
72
|
+
/**
|
|
73
|
+
* Reflects the cash balance of the provider.
|
|
74
|
+
*
|
|
75
|
+
* @generated from enum value: ACCOUNT_TYPE_CASH = 2;
|
|
76
|
+
*/
|
|
77
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["CASH"] = 2] = "CASH";
|
|
78
|
+
/**
|
|
79
|
+
* This is the reserve account of the provider, which reflects the reserve of balance to reduce the limit available from one provider to another.
|
|
80
|
+
*
|
|
81
|
+
* @generated from enum value: ACCOUNT_TYPE_RESERVE = 3;
|
|
82
|
+
*/
|
|
83
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["RESERVE"] = 3] = "RESERVE";
|
|
84
|
+
/**
|
|
85
|
+
* This is the mirror account for the reserve. To keep the double entry accounting principle.
|
|
86
|
+
*
|
|
87
|
+
* @generated from enum value: ACCOUNT_TYPE_RESERVE_USAGE = 4;
|
|
88
|
+
*/
|
|
89
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["RESERVE_USAGE"] = 4] = "RESERVE_USAGE";
|
|
90
|
+
/**
|
|
91
|
+
* Reflects how much the provider owes to the network or other participants.
|
|
92
|
+
*
|
|
93
|
+
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_PAYABLE = 5;
|
|
94
|
+
*/
|
|
95
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_PAYABLE"] = 5] = "PROVIDER_PAYABLE";
|
|
96
|
+
/**
|
|
97
|
+
* Reflects how much the provider is owed by the network or other participants.
|
|
98
|
+
*
|
|
99
|
+
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_RECEIVABLE = 6;
|
|
100
|
+
*/
|
|
101
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_RECEIVABLE"] = 6] = "PROVIDER_RECEIVABLE";
|
|
102
|
+
/**
|
|
103
|
+
* Reflects the fees that the provider owes to the network.
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: ACCOUNT_TYPE_FEE_PAYABLE = 7;
|
|
106
|
+
*/
|
|
107
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_PAYABLE"] = 7] = "FEE_PAYABLE";
|
|
108
|
+
/**
|
|
109
|
+
* Reflects the fees that the network is owed by the provider.
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: ACCOUNT_TYPE_FEE_RECEIVABLE = 8;
|
|
112
|
+
*/
|
|
113
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_RECEIVABLE"] = 8] = "FEE_RECEIVABLE";
|
|
114
|
+
/**
|
|
115
|
+
* Reflects the fees that the provider has to pay for the services provided by the network.
|
|
116
|
+
*
|
|
117
|
+
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 9;
|
|
118
|
+
*/
|
|
119
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_EXPENSE"] = 9] = "FEE_EXPENSE";
|
|
120
|
+
/**
|
|
121
|
+
* Reflects the settlement balance of the provider with the network or other participants.
|
|
122
|
+
*
|
|
123
|
+
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_SETTLEMENT = 10;
|
|
124
|
+
*/
|
|
125
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_SETTLEMENT"] = 10] = "PROVIDER_SETTLEMENT";
|
|
126
|
+
})(AppendLedgerEntriesRequest_AccountType || (AppendLedgerEntriesRequest_AccountType = {}));
|
|
127
|
+
/**
|
|
128
|
+
* Describes the enum tzero.v1.payment.AppendLedgerEntriesRequest.AccountType.
|
|
129
|
+
*/
|
|
130
|
+
export const AppendLedgerEntriesRequest_AccountTypeSchema = /*@__PURE__*/ enumDesc(file_tzero_v1_payment_provider, 0, 0);
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message tzero.v1.payment.AppendLedgerEntriesResponse.
|
|
133
|
+
* Use `create(AppendLedgerEntriesResponseSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export const AppendLedgerEntriesResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 1);
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message tzero.v1.payment.PayoutRequest.
|
|
138
|
+
* Use `create(PayoutRequestSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export const PayoutRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 2);
|
|
141
|
+
/**
|
|
142
|
+
* Describes the message tzero.v1.payment.PayoutResponse.
|
|
143
|
+
* Use `create(PayoutResponseSchema)` to create a new message.
|
|
144
|
+
*/
|
|
145
|
+
export const PayoutResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 3);
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message tzero.v1.payment.UpdatePaymentRequest.
|
|
148
|
+
* Use `create(UpdatePaymentRequestSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export const UpdatePaymentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 4);
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Success.
|
|
153
|
+
* Use `create(UpdatePaymentRequest_SuccessSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export const UpdatePaymentRequest_SuccessSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 4, 0);
|
|
156
|
+
/**
|
|
157
|
+
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Failure.
|
|
158
|
+
* Use `create(UpdatePaymentRequest_FailureSchema)` to create a new message.
|
|
159
|
+
*/
|
|
160
|
+
export const UpdatePaymentRequest_FailureSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 4, 1);
|
|
161
|
+
/**
|
|
162
|
+
* @generated from enum tzero.v1.payment.UpdatePaymentRequest.Failure.Reason
|
|
163
|
+
*/
|
|
164
|
+
export var UpdatePaymentRequest_Failure_Reason;
|
|
165
|
+
(function (UpdatePaymentRequest_Failure_Reason) {
|
|
166
|
+
/**
|
|
167
|
+
* @generated from enum value: REASON_UNSPECIFIED = 0;
|
|
168
|
+
*/
|
|
169
|
+
UpdatePaymentRequest_Failure_Reason[UpdatePaymentRequest_Failure_Reason["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
170
|
+
})(UpdatePaymentRequest_Failure_Reason || (UpdatePaymentRequest_Failure_Reason = {}));
|
|
171
|
+
/**
|
|
172
|
+
* Describes the enum tzero.v1.payment.UpdatePaymentRequest.Failure.Reason.
|
|
173
|
+
*/
|
|
174
|
+
export const UpdatePaymentRequest_Failure_ReasonSchema = /*@__PURE__*/ enumDesc(file_tzero_v1_payment_provider, 4, 1, 0);
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message tzero.v1.payment.UpdatePaymentResponse.
|
|
177
|
+
* Use `create(UpdatePaymentResponseSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export const UpdatePaymentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 5);
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message tzero.v1.payment.UpdateLimitRequest.
|
|
182
|
+
* Use `create(UpdateLimitRequestSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export const UpdateLimitRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 6);
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message tzero.v1.payment.UpdateLimitRequest.Limit.
|
|
187
|
+
* Use `create(UpdateLimitRequest_LimitSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export const UpdateLimitRequest_LimitSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 6, 0);
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message tzero.v1.payment.UpdateLimitResponse.
|
|
192
|
+
* Use `create(UpdateLimitResponseSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export const UpdateLimitResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 7);
|
|
195
|
+
/**
|
|
196
|
+
* *
|
|
197
|
+
* This service must be implemented by the provider.
|
|
198
|
+
*
|
|
199
|
+
* All methods of this service must be idempotent, meaning they are safe to retry and multiple calls with the same parameters must not have additional effect.
|
|
200
|
+
*
|
|
201
|
+
* @generated from service tzero.v1.payment.ProviderService
|
|
202
|
+
*/
|
|
203
|
+
export const ProviderService = /*@__PURE__*/ serviceDesc(file_tzero_v1_payment_provider, 0);
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Blockchain, Decimal, Stablecoin } from "../../common/common_pb";
|
|
3
|
+
import type { PaymentMethodType } from "../../common/payment_method_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file tzero/v1/payment_intent/provider/provider.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_tzero_v1_payment_intent_provider_provider: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest
|
|
11
|
+
*/
|
|
12
|
+
export type CreatePaymentIntentRequest = Message<"tzero.v1.payment_intent.provider.CreatePaymentIntentRequest"> & {
|
|
13
|
+
/**
|
|
14
|
+
* idempotency key
|
|
15
|
+
*
|
|
16
|
+
* @generated from field: uint64 payment_intent_id = 10;
|
|
17
|
+
*/
|
|
18
|
+
paymentIntentId: bigint;
|
|
19
|
+
/**
|
|
20
|
+
* pay-in currency
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: string currency = 20;
|
|
23
|
+
*/
|
|
24
|
+
currency: string;
|
|
25
|
+
/**
|
|
26
|
+
* pay-in amount
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: tzero.v1.common.Decimal amount = 30;
|
|
29
|
+
*/
|
|
30
|
+
amount?: Decimal;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest.
|
|
34
|
+
* Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CreatePaymentIntentRequestSchema: GenMessage<CreatePaymentIntentRequest>;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse
|
|
39
|
+
*/
|
|
40
|
+
export type CreatePaymentIntentResponse = Message<"tzero.v1.payment_intent.provider.CreatePaymentIntentResponse"> & {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: repeated tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod payment_methods = 20;
|
|
43
|
+
*/
|
|
44
|
+
paymentMethods: CreatePaymentIntentResponse_PaymentMethod[];
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.
|
|
48
|
+
* Use `create(CreatePaymentIntentResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const CreatePaymentIntentResponseSchema: GenMessage<CreatePaymentIntentResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod
|
|
53
|
+
*/
|
|
54
|
+
export type CreatePaymentIntentResponse_PaymentMethod = Message<"tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod"> & {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string payment_url = 10;
|
|
57
|
+
*/
|
|
58
|
+
paymentUrl: string;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
|
|
61
|
+
*/
|
|
62
|
+
paymentMethod: PaymentMethodType;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod.
|
|
66
|
+
* Use `create(CreatePaymentIntentResponse_PaymentMethodSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const CreatePaymentIntentResponse_PaymentMethodSchema: GenMessage<CreatePaymentIntentResponse_PaymentMethod>;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmPaymentRequest
|
|
71
|
+
*/
|
|
72
|
+
export type ConfirmPaymentRequest = Message<"tzero.v1.payment_intent.provider.ConfirmPaymentRequest"> & {
|
|
73
|
+
/**
|
|
74
|
+
* payment_intent_id from CreatePaymentIntentRequest
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: uint64 payment_intent_id = 10;
|
|
77
|
+
*/
|
|
78
|
+
paymentIntentId: bigint;
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: tzero.v1.common.PaymentMethodType payment_method = 20;
|
|
81
|
+
*/
|
|
82
|
+
paymentMethod: PaymentMethodType;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentRequest.
|
|
86
|
+
* Use `create(ConfirmPaymentRequestSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const ConfirmPaymentRequestSchema: GenMessage<ConfirmPaymentRequest>;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmPaymentResponse
|
|
91
|
+
*/
|
|
92
|
+
export type ConfirmPaymentResponse = Message<"tzero.v1.payment_intent.provider.ConfirmPaymentResponse"> & {
|
|
93
|
+
/**
|
|
94
|
+
* settlement amount denominated in settlement currency
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: tzero.v1.common.Decimal settlement_amount = 10;
|
|
97
|
+
*/
|
|
98
|
+
settlementAmount?: Decimal;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: uint32 payout_provider_id = 20;
|
|
101
|
+
*/
|
|
102
|
+
payoutProviderId: number;
|
|
103
|
+
/**
|
|
104
|
+
* payout provider could support multiple chains for settlement. Any of these could be used for settlement.
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: repeated tzero.v1.payment_intent.provider.ConfirmPaymentResponse.SettlementAddress settlement_addresses = 30;
|
|
107
|
+
*/
|
|
108
|
+
settlementAddresses: ConfirmPaymentResponse_SettlementAddress[];
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.
|
|
112
|
+
* Use `create(ConfirmPaymentResponseSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const ConfirmPaymentResponseSchema: GenMessage<ConfirmPaymentResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.SettlementAddress
|
|
117
|
+
*/
|
|
118
|
+
export type ConfirmPaymentResponse_SettlementAddress = Message<"tzero.v1.payment_intent.provider.ConfirmPaymentResponse.SettlementAddress"> & {
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: tzero.v1.common.Blockchain chain = 10;
|
|
121
|
+
*/
|
|
122
|
+
chain: Blockchain;
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: tzero.v1.common.Stablecoin stablecoin = 20;
|
|
125
|
+
*/
|
|
126
|
+
stablecoin: Stablecoin;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: string address = 30;
|
|
129
|
+
*/
|
|
130
|
+
address: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.SettlementAddress.
|
|
134
|
+
* Use `create(ConfirmPaymentResponse_SettlementAddressSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export declare const ConfirmPaymentResponse_SettlementAddressSchema: GenMessage<ConfirmPaymentResponse_SettlementAddress>;
|
|
137
|
+
/**
|
|
138
|
+
* @generated from message tzero.v1.payment_intent.provider.RejectPaymentIntentRequest
|
|
139
|
+
*/
|
|
140
|
+
export type RejectPaymentIntentRequest = Message<"tzero.v1.payment_intent.provider.RejectPaymentIntentRequest"> & {
|
|
141
|
+
/**
|
|
142
|
+
* payment_intent_id from CreatePaymentIntentRequest
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: uint64 payment_intent_id = 10;
|
|
145
|
+
*/
|
|
146
|
+
paymentIntentId: bigint;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string reason = 20;
|
|
149
|
+
*/
|
|
150
|
+
reason: string;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message tzero.v1.payment_intent.provider.RejectPaymentIntentRequest.
|
|
154
|
+
* Use `create(RejectPaymentIntentRequestSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const RejectPaymentIntentRequestSchema: GenMessage<RejectPaymentIntentRequest>;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message tzero.v1.payment_intent.provider.RejectPaymentIntentResponse
|
|
159
|
+
*/
|
|
160
|
+
export type RejectPaymentIntentResponse = Message<"tzero.v1.payment_intent.provider.RejectPaymentIntentResponse"> & {};
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message tzero.v1.payment_intent.provider.RejectPaymentIntentResponse.
|
|
163
|
+
* Use `create(RejectPaymentIntentResponseSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export declare const RejectPaymentIntentResponseSchema: GenMessage<RejectPaymentIntentResponse>;
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmPayoutRequest
|
|
168
|
+
*/
|
|
169
|
+
export type ConfirmPayoutRequest = Message<"tzero.v1.payment_intent.provider.ConfirmPayoutRequest"> & {
|
|
170
|
+
/**
|
|
171
|
+
* payment_intent_id from CreatePaymentIntentRequest
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: uint64 payment_intent_id = 10;
|
|
174
|
+
*/
|
|
175
|
+
paymentIntentId: bigint;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutRequest.
|
|
179
|
+
* Use `create(ConfirmPayoutRequestSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export declare const ConfirmPayoutRequestSchema: GenMessage<ConfirmPayoutRequest>;
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmPayoutResponse
|
|
184
|
+
*/
|
|
185
|
+
export type ConfirmPayoutResponse = Message<"tzero.v1.payment_intent.provider.ConfirmPayoutResponse"> & {};
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutResponse.
|
|
188
|
+
* Use `create(ConfirmPayoutResponseSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export declare const ConfirmPayoutResponseSchema: GenMessage<ConfirmPayoutResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmSettlementRequest
|
|
193
|
+
*/
|
|
194
|
+
export type ConfirmSettlementRequest = Message<"tzero.v1.payment_intent.provider.ConfirmSettlementRequest"> & {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: tzero.v1.common.Blockchain blockchain = 10;
|
|
197
|
+
*/
|
|
198
|
+
blockchain: Blockchain;
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: string tx_hash = 20;
|
|
201
|
+
*/
|
|
202
|
+
txHash: string;
|
|
203
|
+
/**
|
|
204
|
+
* list of payment_intent_id's for this settlement (on-chain) transaction
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: repeated uint64 payment_intent_id = 30;
|
|
207
|
+
*/
|
|
208
|
+
paymentIntentId: bigint[];
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmSettlementRequest.
|
|
212
|
+
* Use `create(ConfirmSettlementRequestSchema)` to create a new message.
|
|
213
|
+
*/
|
|
214
|
+
export declare const ConfirmSettlementRequestSchema: GenMessage<ConfirmSettlementRequest>;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from message tzero.v1.payment_intent.provider.ConfirmSettlementResponse
|
|
217
|
+
*/
|
|
218
|
+
export type ConfirmSettlementResponse = Message<"tzero.v1.payment_intent.provider.ConfirmSettlementResponse"> & {};
|
|
219
|
+
/**
|
|
220
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmSettlementResponse.
|
|
221
|
+
* Use `create(ConfirmSettlementResponseSchema)` to create a new message.
|
|
222
|
+
*/
|
|
223
|
+
export declare const ConfirmSettlementResponseSchema: GenMessage<ConfirmSettlementResponse>;
|
|
224
|
+
/**
|
|
225
|
+
* *
|
|
226
|
+
* NetworkService is used by provider in order to notify network on payment intent updates
|
|
227
|
+
*
|
|
228
|
+
* @generated from service tzero.v1.payment_intent.provider.NetworkService
|
|
229
|
+
*/
|
|
230
|
+
export declare const NetworkService: GenService<{
|
|
231
|
+
/**
|
|
232
|
+
* *
|
|
233
|
+
* Notify network about a successful payment for the corresponding payment intent
|
|
234
|
+
*
|
|
235
|
+
* @generated from rpc tzero.v1.payment_intent.provider.NetworkService.ConfirmPayment
|
|
236
|
+
*/
|
|
237
|
+
confirmPayment: {
|
|
238
|
+
methodKind: "unary";
|
|
239
|
+
input: typeof ConfirmPaymentRequestSchema;
|
|
240
|
+
output: typeof ConfirmPaymentResponseSchema;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
243
|
+
* *
|
|
244
|
+
* Notify network about a payment failure for the corresponding payment intent
|
|
245
|
+
*
|
|
246
|
+
* @generated from rpc tzero.v1.payment_intent.provider.NetworkService.RejectPaymentIntent
|
|
247
|
+
*/
|
|
248
|
+
rejectPaymentIntent: {
|
|
249
|
+
methodKind: "unary";
|
|
250
|
+
input: typeof RejectPaymentIntentRequestSchema;
|
|
251
|
+
output: typeof RejectPaymentIntentResponseSchema;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* *
|
|
255
|
+
* Notify network about relation between payment intent and settlement transaction.
|
|
256
|
+
* This method is not essential but helps to keep track of payment flow
|
|
257
|
+
*
|
|
258
|
+
* @generated from rpc tzero.v1.payment_intent.provider.NetworkService.ConfirmSettlement
|
|
259
|
+
*/
|
|
260
|
+
confirmSettlement: {
|
|
261
|
+
methodKind: "unary";
|
|
262
|
+
input: typeof ConfirmSettlementRequestSchema;
|
|
263
|
+
output: typeof ConfirmSettlementResponseSchema;
|
|
264
|
+
};
|
|
265
|
+
}>;
|
|
266
|
+
/**
|
|
267
|
+
* *
|
|
268
|
+
* ProviderService is implemented by provider to provide pay-in details fpr payment intents
|
|
269
|
+
*
|
|
270
|
+
* @generated from service tzero.v1.payment_intent.provider.ProviderService
|
|
271
|
+
*/
|
|
272
|
+
export declare const ProviderService: GenService<{
|
|
273
|
+
/**
|
|
274
|
+
* *
|
|
275
|
+
* Network instructs provider to create payment details for the payment intent. Provide should return
|
|
276
|
+
* a list of supported payment method along with URL where payer should be redirected.
|
|
277
|
+
*
|
|
278
|
+
* @generated from rpc tzero.v1.payment_intent.provider.ProviderService.CreatePaymentIntent
|
|
279
|
+
*/
|
|
280
|
+
createPaymentIntent: {
|
|
281
|
+
methodKind: "unary";
|
|
282
|
+
input: typeof CreatePaymentIntentRequestSchema;
|
|
283
|
+
output: typeof CreatePaymentIntentResponseSchema;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* *
|
|
287
|
+
* Network notifies provider about successful payout for the corresponding payment intent
|
|
288
|
+
*
|
|
289
|
+
* @generated from rpc tzero.v1.payment_intent.provider.ProviderService.ConfirmPayout
|
|
290
|
+
*/
|
|
291
|
+
confirmPayout: {
|
|
292
|
+
methodKind: "unary";
|
|
293
|
+
input: typeof ConfirmPayoutRequestSchema;
|
|
294
|
+
output: typeof ConfirmPayoutResponseSchema;
|
|
295
|
+
};
|
|
296
|
+
}>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.2 with parameter "target=ts"
|
|
2
|
+
// @generated from file tzero/v1/payment_intent/provider/provider.proto (package tzero.v1.payment_intent.provider, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_tzero_v1_common_common } from "../../common/common_pb";
|
|
6
|
+
import { file_tzero_v1_common_payment_method } from "../../common/payment_method_pb";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file tzero/v1/payment_intent/provider/provider.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_tzero_v1_payment_intent_provider_provider = /*@__PURE__*/ fileDesc("Ci90emVyby92MS9wYXltZW50X2ludGVudC9wcm92aWRlci9wcm92aWRlci5wcm90bxIgdHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIicwoaQ3JlYXRlUGF5bWVudEludGVudFJlcXVlc3QSGQoRcGF5bWVudF9pbnRlbnRfaWQYCiABKAQSEAoIY3VycmVuY3kYFCABKAkSKAoGYW1vdW50GB4gASgLMhgudHplcm8udjEuY29tbW9uLkRlY2ltYWwi5QEKG0NyZWF0ZVBheW1lbnRJbnRlbnRSZXNwb25zZRJkCg9wYXltZW50X21ldGhvZHMYFCADKAsySy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5DcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2UuUGF5bWVudE1ldGhvZBpgCg1QYXltZW50TWV0aG9kEhMKC3BheW1lbnRfdXJsGAogASgJEjoKDnBheW1lbnRfbWV0aG9kGBQgASgOMiIudHplcm8udjEuY29tbW9uLlBheW1lbnRNZXRob2RUeXBlIm4KFUNvbmZpcm1QYXltZW50UmVxdWVzdBIZChFwYXltZW50X2ludGVudF9pZBgKIAEoBBI6Cg5wYXltZW50X21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GVyXEdQQk1ldGFkYXRh6gIiVHplcm86OlYxOjpQYXltZW50SW50ZW50OjpQcm92aWRlcmIGcHJvdG8z", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method]);
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest.
|
|
13
|
+
* Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export const CreatePaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.
|
|
18
|
+
* Use `create(CreatePaymentIntentResponseSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const CreatePaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentResponse.PaymentMethod.
|
|
23
|
+
* Use `create(CreatePaymentIntentResponse_PaymentMethodSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const CreatePaymentIntentResponse_PaymentMethodSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 1, 0);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentRequest.
|
|
28
|
+
* Use `create(ConfirmPaymentRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const ConfirmPaymentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 2);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.
|
|
33
|
+
* Use `create(ConfirmPaymentResponseSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const ConfirmPaymentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 3);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPaymentResponse.SettlementAddress.
|
|
38
|
+
* Use `create(ConfirmPaymentResponse_SettlementAddressSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ConfirmPaymentResponse_SettlementAddressSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 3, 0);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message tzero.v1.payment_intent.provider.RejectPaymentIntentRequest.
|
|
43
|
+
* Use `create(RejectPaymentIntentRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const RejectPaymentIntentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 4);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message tzero.v1.payment_intent.provider.RejectPaymentIntentResponse.
|
|
48
|
+
* Use `create(RejectPaymentIntentResponseSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const RejectPaymentIntentResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 5);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutRequest.
|
|
53
|
+
* Use `create(ConfirmPayoutRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const ConfirmPayoutRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 6);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmPayoutResponse.
|
|
58
|
+
* Use `create(ConfirmPayoutResponseSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export const ConfirmPayoutResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 7);
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmSettlementRequest.
|
|
63
|
+
* Use `create(ConfirmSettlementRequestSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const ConfirmSettlementRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 8);
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message tzero.v1.payment_intent.provider.ConfirmSettlementResponse.
|
|
68
|
+
* Use `create(ConfirmSettlementResponseSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const ConfirmSettlementResponseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_intent_provider_provider, 9);
|
|
71
|
+
/**
|
|
72
|
+
* *
|
|
73
|
+
* NetworkService is used by provider in order to notify network on payment intent updates
|
|
74
|
+
*
|
|
75
|
+
* @generated from service tzero.v1.payment_intent.provider.NetworkService
|
|
76
|
+
*/
|
|
77
|
+
export const NetworkService = /*@__PURE__*/ serviceDesc(file_tzero_v1_payment_intent_provider_provider, 0);
|
|
78
|
+
/**
|
|
79
|
+
* *
|
|
80
|
+
* ProviderService is implemented by provider to provide pay-in details fpr payment intents
|
|
81
|
+
*
|
|
82
|
+
* @generated from service tzero.v1.payment_intent.provider.ProviderService
|
|
83
|
+
*/
|
|
84
|
+
export const ProviderService = /*@__PURE__*/ serviceDesc(file_tzero_v1_payment_intent_provider_provider, 1);
|