@t-0/provider-sdk 1.0.29 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/common/gen/ivms101/v1/ivms/enum_pb.d.ts +326 -0
- package/lib/cjs/common/gen/ivms101/v1/ivms/enum_pb.js +337 -0
- package/lib/cjs/common/gen/ivms101/v1/ivms/ivms101_pb.d.ts +520 -0
- package/lib/cjs/common/gen/ivms101/v1/ivms/ivms101_pb.js +73 -0
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +29 -8
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +8 -2
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +63 -134
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +29 -71
- package/lib/cjs/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
- package/lib/cjs/examples/update-quote.js +1 -1
- package/lib/esm/common/gen/ivms101/v1/ivms/enum_pb.d.ts +326 -0
- package/lib/esm/common/gen/ivms101/v1/ivms/enum_pb.js +334 -0
- package/lib/esm/common/gen/ivms101/v1/ivms/ivms101_pb.d.ts +520 -0
- package/lib/esm/common/gen/ivms101/v1/ivms/ivms101_pb.js +70 -0
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +29 -8
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +7 -1
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +63 -134
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +28 -70
- package/lib/esm/common/gen/tzero/v1/payment_intent/provider/provider_pb.js +1 -1
- package/lib/esm/examples/update-quote.js +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -5,12 +5,13 @@ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf
|
|
|
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
7
|
import { file_tzero_v1_common_payment_receipt } from "../common/payment_receipt_pb.js";
|
|
8
|
+
import { file_ivms101_v1_ivms_ivms101 } from "../../../ivms101/v1/ivms/ivms101_pb.js";
|
|
8
9
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
10
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
10
11
|
/**
|
|
11
12
|
* Describes the file tzero/v1/payment/network.proto.
|
|
12
13
|
*/
|
|
13
|
-
export const file_tzero_v1_payment_network = /*@__PURE__*/ fileDesc("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+
|
|
14
|
+
export const file_tzero_v1_payment_network = /*@__PURE__*/ fileDesc("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+gMKBVF1b3RlEiYKCGN1cnJlbmN5GAogASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI3CgpxdW90ZV90eXBlGBQgASgOMhsudHplcm8udjEucGF5bWVudC5RdW90ZVR5cGVCBrpIA8gBARJCCg5wYXltZW50X21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CgZhbW91bnQSBbpIAggBKkAKCVF1b3RlVHlwZRIaChZRVU9URV9UWVBFX1VOU1BFQ0lGSUVEEAASFwoTUVVPVEVfVFlQRV9SRUFMVElNRRABMpcDCg5OZXR3b3JrU2VydmljZRJfCgtVcGRhdGVRdW90ZRIkLnR6ZXJvLnYxLnBheW1lbnQuVXBkYXRlUXVvdGVSZXF1ZXN0GiUudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlc3BvbnNlIgOQAgISVgoIR2V0UXVvdGUSIS50emVyby52MS5wYXltZW50LkdldFF1b3RlUmVxdWVzdBoiLnR6ZXJvLnYxLnBheW1lbnQuR2V0UXVvdGVSZXNwb25zZSIDkAIBEmUKDUNyZWF0ZVBheW1lbnQSJi50emVyby52MS5wYXltZW50LkNyZWF0ZVBheW1lbnRSZXF1ZXN0GicudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVzcG9uc2UiA5ACAhJlCg1Db25maXJtUGF5b3V0EiYudHplcm8udjEucGF5bWVudC5Db25maXJtUGF5b3V0UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ29uZmlybVBheW91dFJlc3BvbnNlIgOQAgJChgEKFGNvbS50emVyby52MS5wYXltZW50QgxOZXR3b3JrUHJvdG9QAaICA1RWUKoCEFR6ZXJvLlYxLlBheW1lbnTKAhBUemVyb1xWMVxQYXltZW504gIcVHplcm9cVjFcUGF5bWVudFxHUEJNZXRhZGF0YeoCElR6ZXJvOjpWMTo6UGF5bWVudGIGcHJvdG8z", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method, file_tzero_v1_common_payment_receipt, file_ivms101_v1_ivms_ivms101, file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
14
15
|
/**
|
|
15
16
|
* Describes the message tzero.v1.payment.UpdateQuoteRequest.
|
|
16
17
|
* Use `create(UpdateQuoteRequestSchema)` to create a new message.
|
|
@@ -56,6 +57,11 @@ export const CreatePaymentRequest_PayInSchema = /*@__PURE__*/ messageDesc(file_t
|
|
|
56
57
|
* Use `create(CreatePaymentRequest_PayOutSchema)` to create a new message.
|
|
57
58
|
*/
|
|
58
59
|
export const CreatePaymentRequest_PayOutSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_network, 4, 1);
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message tzero.v1.payment.CreatePaymentRequest.TravelRuleData.
|
|
62
|
+
* Use `create(CreatePaymentRequest_TravelRuleDataSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const CreatePaymentRequest_TravelRuleDataSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_network, 4, 2);
|
|
59
65
|
/**
|
|
60
66
|
* Describes the message tzero.v1.payment.QuoteId.
|
|
61
67
|
* Use `create(QuoteIdSchema)` to create a new message.
|
|
@@ -2,6 +2,7 @@ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobu
|
|
|
2
2
|
import type { PaymentMethod } from "../common/payment_method_pb.js";
|
|
3
3
|
import type { PaymentReceipt } from "../common/payment_receipt_pb.js";
|
|
4
4
|
import type { Decimal } from "../common/common_pb.js";
|
|
5
|
+
import type { Person } from "../../../ivms101/v1/ivms/ivms101_pb.js";
|
|
5
6
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
7
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
8
|
/**
|
|
@@ -54,18 +55,6 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
|
|
|
54
55
|
* @generated from oneof tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.transaction_details
|
|
55
56
|
*/
|
|
56
57
|
transactionDetails: {
|
|
57
|
-
/**
|
|
58
|
-
* @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn pay_in = 110;
|
|
59
|
-
*/
|
|
60
|
-
value: AppendLedgerEntriesRequest_Transaction_PayIn;
|
|
61
|
-
case: "payIn";
|
|
62
|
-
} | {
|
|
63
|
-
/**
|
|
64
|
-
* @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation payout_reservation = 120;
|
|
65
|
-
*/
|
|
66
|
-
value: AppendLedgerEntriesRequest_Transaction_PayoutReservation;
|
|
67
|
-
case: "payoutReservation";
|
|
68
|
-
} | {
|
|
69
58
|
/**
|
|
70
59
|
* @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout payout = 130;
|
|
71
60
|
*/
|
|
@@ -83,12 +72,6 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
|
|
|
83
72
|
*/
|
|
84
73
|
value: AppendLedgerEntriesRequest_Transaction_FeeSettlement;
|
|
85
74
|
case: "feeSettlement";
|
|
86
|
-
} | {
|
|
87
|
-
/**
|
|
88
|
-
* @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease payout_reservation_release = 160;
|
|
89
|
-
*/
|
|
90
|
-
value: AppendLedgerEntriesRequest_Transaction_PayoutReservationRelease;
|
|
91
|
-
case: "payoutReservationRelease";
|
|
92
75
|
} | {
|
|
93
76
|
case: undefined;
|
|
94
77
|
value?: undefined;
|
|
@@ -99,34 +82,6 @@ export type AppendLedgerEntriesRequest_Transaction = Message<"tzero.v1.payment.A
|
|
|
99
82
|
* Use `create(AppendLedgerEntriesRequest_TransactionSchema)` to create a new message.
|
|
100
83
|
*/
|
|
101
84
|
export declare const AppendLedgerEntriesRequest_TransactionSchema: GenMessage<AppendLedgerEntriesRequest_Transaction>;
|
|
102
|
-
/**
|
|
103
|
-
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn
|
|
104
|
-
*/
|
|
105
|
-
export type AppendLedgerEntriesRequest_Transaction_PayIn = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn"> & {
|
|
106
|
-
/**
|
|
107
|
-
* @generated from field: uint64 payment_id = 10;
|
|
108
|
-
*/
|
|
109
|
-
paymentId: bigint;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn.
|
|
113
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayInSchema)` to create a new message.
|
|
114
|
-
*/
|
|
115
|
-
export declare const AppendLedgerEntriesRequest_Transaction_PayInSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PayIn>;
|
|
116
|
-
/**
|
|
117
|
-
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation
|
|
118
|
-
*/
|
|
119
|
-
export type AppendLedgerEntriesRequest_Transaction_PayoutReservation = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation"> & {
|
|
120
|
-
/**
|
|
121
|
-
* @generated from field: uint64 payment_id = 10;
|
|
122
|
-
*/
|
|
123
|
-
paymentId: bigint;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation.
|
|
127
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema)` to create a new message.
|
|
128
|
-
*/
|
|
129
|
-
export declare const AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PayoutReservation>;
|
|
130
85
|
/**
|
|
131
86
|
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout
|
|
132
87
|
*/
|
|
@@ -169,20 +124,6 @@ export type AppendLedgerEntriesRequest_Transaction_FeeSettlement = Message<"tzer
|
|
|
169
124
|
* Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
|
|
170
125
|
*/
|
|
171
126
|
export declare const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_FeeSettlement>;
|
|
172
|
-
/**
|
|
173
|
-
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease
|
|
174
|
-
*/
|
|
175
|
-
export type AppendLedgerEntriesRequest_Transaction_PayoutReservationRelease = Message<"tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease"> & {
|
|
176
|
-
/**
|
|
177
|
-
* @generated from field: uint64 payment_id = 10;
|
|
178
|
-
*/
|
|
179
|
-
paymentId: bigint;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease.
|
|
183
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema)` to create a new message.
|
|
184
|
-
*/
|
|
185
|
-
export declare const AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema: GenMessage<AppendLedgerEntriesRequest_Transaction_PayoutReservationRelease>;
|
|
186
127
|
/**
|
|
187
128
|
* @generated from message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry
|
|
188
129
|
*/
|
|
@@ -201,14 +142,6 @@ export type AppendLedgerEntriesRequest_LedgerEntry = Message<"tzero.v1.payment.A
|
|
|
201
142
|
* @generated from field: tzero.v1.payment.AppendLedgerEntriesRequest.AccountType account_type = 20;
|
|
202
143
|
*/
|
|
203
144
|
accountType: AppendLedgerEntriesRequest_AccountType;
|
|
204
|
-
/**
|
|
205
|
-
* *
|
|
206
|
-
* It is the currency of the entry. If the transaction contains entries with multiple currencies, the exchange_rate
|
|
207
|
-
* field should be provided to be used to convert the amounts to USD.
|
|
208
|
-
*
|
|
209
|
-
* @generated from field: string currency = 30;
|
|
210
|
-
*/
|
|
211
|
-
currency: string;
|
|
212
145
|
/**
|
|
213
146
|
* *
|
|
214
147
|
* debit is the amount that was debited from the account.
|
|
@@ -225,14 +158,6 @@ export type AppendLedgerEntriesRequest_LedgerEntry = Message<"tzero.v1.payment.A
|
|
|
225
158
|
* @generated from field: tzero.v1.common.Decimal credit = 50;
|
|
226
159
|
*/
|
|
227
160
|
credit?: Decimal;
|
|
228
|
-
/**
|
|
229
|
-
* *
|
|
230
|
-
* exchange_rate is the exchange rate of the currency to USD if the currency is not USD and the transaction contains
|
|
231
|
-
* entries with multiple currencies. Exchange rate for the base currency USD and the quote currency provided in the entry.
|
|
232
|
-
*
|
|
233
|
-
* @generated from field: tzero.v1.common.Decimal exchange_rate = 60;
|
|
234
|
-
*/
|
|
235
|
-
exchangeRate?: Decimal;
|
|
236
161
|
};
|
|
237
162
|
/**
|
|
238
163
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry.
|
|
@@ -248,69 +173,31 @@ export declare enum AppendLedgerEntriesRequest_AccountType {
|
|
|
248
173
|
*/
|
|
249
174
|
UNSPECIFIED = 0,
|
|
250
175
|
/**
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
* @generated from enum value: ACCOUNT_TYPE_USER_PAYABLE = 10;
|
|
176
|
+
* @generated from enum value: ACCOUNT_TYPE_BALANCE = 20;
|
|
254
177
|
*/
|
|
255
|
-
|
|
178
|
+
BALANCE = 20,
|
|
256
179
|
/**
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
* @generated from enum value: ACCOUNT_TYPE_CASH = 20;
|
|
180
|
+
* @generated from enum value: ACCOUNT_TYPE_PAY_IN = 40;
|
|
260
181
|
*/
|
|
261
|
-
|
|
182
|
+
PAY_IN = 40,
|
|
262
183
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* @generated from enum value: ACCOUNT_TYPE_RESERVE = 30;
|
|
266
|
-
*/
|
|
267
|
-
RESERVE = 30,
|
|
268
|
-
/**
|
|
269
|
-
* This is the mirror account for the reserve. To keep the double entry accounting principle.
|
|
270
|
-
*
|
|
271
|
-
* @generated from enum value: ACCOUNT_TYPE_RESERVE_USAGE = 40;
|
|
272
|
-
*/
|
|
273
|
-
RESERVE_USAGE = 40,
|
|
274
|
-
/**
|
|
275
|
-
* Reflects how much the provider owes to the network or other participants.
|
|
276
|
-
*
|
|
277
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_PAYABLE = 50;
|
|
278
|
-
*/
|
|
279
|
-
PROVIDER_PAYABLE = 50,
|
|
280
|
-
/**
|
|
281
|
-
* Reflects how much the provider is owed by the network or other participants.
|
|
282
|
-
*
|
|
283
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_RECEIVABLE = 60;
|
|
284
|
-
*/
|
|
285
|
-
PROVIDER_RECEIVABLE = 60,
|
|
286
|
-
/**
|
|
287
|
-
* Reflects the settlement balance of the provider with the network or other participants.
|
|
288
|
-
*
|
|
289
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_SETTLEMENT = 70;
|
|
290
|
-
*/
|
|
291
|
-
PROVIDER_SETTLEMENT = 70,
|
|
292
|
-
/**
|
|
293
|
-
* Reflects the fees that the provider owes to the network.
|
|
294
|
-
*
|
|
295
|
-
* @generated from enum value: ACCOUNT_TYPE_FEE_PAYABLE = 80;
|
|
184
|
+
* @generated from enum value: ACCOUNT_TYPE_PAY_OUT = 50;
|
|
296
185
|
*/
|
|
297
|
-
|
|
186
|
+
PAY_OUT = 50,
|
|
298
187
|
/**
|
|
299
|
-
* Reflects the fees that the
|
|
188
|
+
* Reflects the fees that the provider has to pay for the services provided by the network.
|
|
300
189
|
*
|
|
301
|
-
* @generated from enum value:
|
|
190
|
+
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 60;
|
|
302
191
|
*/
|
|
303
|
-
|
|
192
|
+
FEE_EXPENSE = 60,
|
|
304
193
|
/**
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 100;
|
|
194
|
+
* @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_IN = 80;
|
|
308
195
|
*/
|
|
309
|
-
|
|
196
|
+
SETTLEMENT_IN = 80,
|
|
310
197
|
/**
|
|
311
|
-
* @generated from enum value:
|
|
198
|
+
* @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_OUT = 90;
|
|
312
199
|
*/
|
|
313
|
-
|
|
200
|
+
SETTLEMENT_OUT = 90
|
|
314
201
|
}
|
|
315
202
|
/**
|
|
316
203
|
* Describes the enum tzero.v1.payment.AppendLedgerEntriesRequest.AccountType.
|
|
@@ -375,13 +262,6 @@ export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
|
375
262
|
* @generated from field: optional tzero.v1.common.PaymentMethod payout_method = 60;
|
|
376
263
|
*/
|
|
377
264
|
payoutMethod?: PaymentMethod;
|
|
378
|
-
/**
|
|
379
|
-
* *
|
|
380
|
-
* optional reference for the payment, up to 140 characters
|
|
381
|
-
*
|
|
382
|
-
* @generated from field: optional string reference = 70;
|
|
383
|
-
*/
|
|
384
|
-
reference?: string;
|
|
385
265
|
/**
|
|
386
266
|
* *
|
|
387
267
|
* Pay-in provider id which initiated the pay out.
|
|
@@ -389,12 +269,43 @@ export type PayoutRequest = Message<"tzero.v1.payment.PayoutRequest"> & {
|
|
|
389
269
|
* @generated from field: uint32 pay_in_provider_id = 80;
|
|
390
270
|
*/
|
|
391
271
|
payInProviderId: number;
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: optional tzero.v1.payment.PayoutRequest.TravelRuleData travel_rule_data = 200;
|
|
274
|
+
*/
|
|
275
|
+
travelRuleData?: PayoutRequest_TravelRuleData;
|
|
392
276
|
};
|
|
393
277
|
/**
|
|
394
278
|
* Describes the message tzero.v1.payment.PayoutRequest.
|
|
395
279
|
* Use `create(PayoutRequestSchema)` to create a new message.
|
|
396
280
|
*/
|
|
397
281
|
export declare const PayoutRequestSchema: GenMessage<PayoutRequest>;
|
|
282
|
+
/**
|
|
283
|
+
* @generated from message tzero.v1.payment.PayoutRequest.TravelRuleData
|
|
284
|
+
*/
|
|
285
|
+
export type PayoutRequest_TravelRuleData = Message<"tzero.v1.payment.PayoutRequest.TravelRuleData"> & {
|
|
286
|
+
/**
|
|
287
|
+
* the natural or legal person that requests payment with originating provider
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: repeated ivms101.Person originator = 10;
|
|
290
|
+
*/
|
|
291
|
+
originator: Person[];
|
|
292
|
+
/**
|
|
293
|
+
* the natural or legal person or legal arrangement who is identified
|
|
294
|
+
* by the originator as the receiver of the requested payment.
|
|
295
|
+
*
|
|
296
|
+
* @generated from field: repeated ivms101.Person beneficiary = 20;
|
|
297
|
+
*/
|
|
298
|
+
beneficiary: Person[];
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: optional ivms101.Person originator_provider = 30;
|
|
301
|
+
*/
|
|
302
|
+
originatorProvider?: Person;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Describes the message tzero.v1.payment.PayoutRequest.TravelRuleData.
|
|
306
|
+
* Use `create(PayoutRequest_TravelRuleDataSchema)` to create a new message.
|
|
307
|
+
*/
|
|
308
|
+
export declare const PayoutRequest_TravelRuleDataSchema: GenMessage<PayoutRequest_TravelRuleData>;
|
|
398
309
|
/**
|
|
399
310
|
* @generated from message tzero.v1.payment.PayoutResponse
|
|
400
311
|
*/
|
|
@@ -537,12 +448,30 @@ export type UpdatePaymentRequest_Accepted = Message<"tzero.v1.payment.UpdatePaym
|
|
|
537
448
|
* @generated from field: tzero.v1.common.Decimal payout_amount = 10;
|
|
538
449
|
*/
|
|
539
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;
|
|
540
455
|
};
|
|
541
456
|
/**
|
|
542
457
|
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Accepted.
|
|
543
458
|
* Use `create(UpdatePaymentRequest_AcceptedSchema)` to create a new message.
|
|
544
459
|
*/
|
|
545
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>;
|
|
546
475
|
/**
|
|
547
476
|
* @generated from message tzero.v1.payment.UpdatePaymentRequest.Failed
|
|
548
477
|
*/
|
|
@@ -5,12 +5,13 @@ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf
|
|
|
5
5
|
import { file_tzero_v1_common_payment_method } from "../common/payment_method_pb.js";
|
|
6
6
|
import { file_tzero_v1_common_payment_receipt } from "../common/payment_receipt_pb.js";
|
|
7
7
|
import { file_tzero_v1_common_common } from "../common/common_pb.js";
|
|
8
|
+
import { file_ivms101_v1_ivms_ivms101 } from "../../../ivms101/v1/ivms/ivms101_pb.js";
|
|
8
9
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
10
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
10
11
|
/**
|
|
11
12
|
* Describes the file tzero/v1/payment/provider.proto.
|
|
12
13
|
*/
|
|
13
|
-
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("
|
|
14
|
+
export const file_tzero_v1_payment_provider = /*@__PURE__*/ fileDesc("Ch90emVyby92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kYXRlUGF5bWVudFJlcXVlc3QaJy50emVyby52MS5wYXltZW50LlVwZGF0ZVBheW1lbnRSZXNwb25zZSIDkAICEl8KC1VwZGF0ZUxpbWl0EiQudHplcm8udjEucGF5bWVudC5VcGRhdGVMaW1pdFJlcXVlc3QaJS50emVyby52MS5wYXltZW50LlVwZGF0ZUxpbWl0UmVzcG9uc2UiA5ACAhJ3ChNBcHBlbmRMZWRnZXJFbnRyaWVzEiwudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBotLnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJChwEKFGNvbS50emVyby52MS5wYXltZW50Qg1Qcm92aWRlclByb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [file_tzero_v1_common_payment_method, file_tzero_v1_common_payment_receipt, file_tzero_v1_common_common, file_ivms101_v1_ivms_ivms101, file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
14
15
|
/**
|
|
15
16
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.
|
|
16
17
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
@@ -21,36 +22,21 @@ export const AppendLedgerEntriesRequestSchema = /*@__PURE__*/ messageDesc(file_t
|
|
|
21
22
|
* Use `create(AppendLedgerEntriesRequest_TransactionSchema)` to create a new message.
|
|
22
23
|
*/
|
|
23
24
|
export const AppendLedgerEntriesRequest_TransactionSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0);
|
|
24
|
-
/**
|
|
25
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn.
|
|
26
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayInSchema)` to create a new message.
|
|
27
|
-
*/
|
|
28
|
-
export const AppendLedgerEntriesRequest_Transaction_PayInSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 0);
|
|
29
|
-
/**
|
|
30
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation.
|
|
31
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema)` to create a new message.
|
|
32
|
-
*/
|
|
33
|
-
export const AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 1);
|
|
34
25
|
/**
|
|
35
26
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout.
|
|
36
27
|
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutSchema)` to create a new message.
|
|
37
28
|
*/
|
|
38
|
-
export const AppendLedgerEntriesRequest_Transaction_PayoutSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0,
|
|
29
|
+
export const AppendLedgerEntriesRequest_Transaction_PayoutSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 0);
|
|
39
30
|
/**
|
|
40
31
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.ProviderSettlement.
|
|
41
32
|
* Use `create(AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema)` to create a new message.
|
|
42
33
|
*/
|
|
43
|
-
export const AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0,
|
|
34
|
+
export const AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 1);
|
|
44
35
|
/**
|
|
45
36
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.FeeSettlement.
|
|
46
37
|
* Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
|
|
47
38
|
*/
|
|
48
|
-
export const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0,
|
|
49
|
-
/**
|
|
50
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease.
|
|
51
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema)` to create a new message.
|
|
52
|
-
*/
|
|
53
|
-
export const AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 5);
|
|
39
|
+
export const AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 0, 0, 2);
|
|
54
40
|
/**
|
|
55
41
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry.
|
|
56
42
|
* Use `create(AppendLedgerEntriesRequest_LedgerEntrySchema)` to create a new message.
|
|
@@ -66,69 +52,31 @@ export var AppendLedgerEntriesRequest_AccountType;
|
|
|
66
52
|
*/
|
|
67
53
|
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
68
54
|
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* @generated from enum value: ACCOUNT_TYPE_USER_PAYABLE = 10;
|
|
72
|
-
*/
|
|
73
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["USER_PAYABLE"] = 10] = "USER_PAYABLE";
|
|
74
|
-
/**
|
|
75
|
-
* Reflects the cash balance of the provider.
|
|
76
|
-
*
|
|
77
|
-
* @generated from enum value: ACCOUNT_TYPE_CASH = 20;
|
|
78
|
-
*/
|
|
79
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["CASH"] = 20] = "CASH";
|
|
80
|
-
/**
|
|
81
|
-
* This is the reserve account of the provider, which reflects the reserve of balance to reduce the limit available from one provider to another.
|
|
82
|
-
*
|
|
83
|
-
* @generated from enum value: ACCOUNT_TYPE_RESERVE = 30;
|
|
55
|
+
* @generated from enum value: ACCOUNT_TYPE_BALANCE = 20;
|
|
84
56
|
*/
|
|
85
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
57
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["BALANCE"] = 20] = "BALANCE";
|
|
86
58
|
/**
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* @generated from enum value: ACCOUNT_TYPE_RESERVE_USAGE = 40;
|
|
59
|
+
* @generated from enum value: ACCOUNT_TYPE_PAY_IN = 40;
|
|
90
60
|
*/
|
|
91
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
61
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PAY_IN"] = 40] = "PAY_IN";
|
|
92
62
|
/**
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_PAYABLE = 50;
|
|
63
|
+
* @generated from enum value: ACCOUNT_TYPE_PAY_OUT = 50;
|
|
96
64
|
*/
|
|
97
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
65
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PAY_OUT"] = 50] = "PAY_OUT";
|
|
98
66
|
/**
|
|
99
|
-
* Reflects
|
|
100
|
-
*
|
|
101
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_RECEIVABLE = 60;
|
|
102
|
-
*/
|
|
103
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_RECEIVABLE"] = 60] = "PROVIDER_RECEIVABLE";
|
|
104
|
-
/**
|
|
105
|
-
* Reflects the settlement balance of the provider with the network or other participants.
|
|
106
|
-
*
|
|
107
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_SETTLEMENT = 70;
|
|
108
|
-
*/
|
|
109
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_SETTLEMENT"] = 70] = "PROVIDER_SETTLEMENT";
|
|
110
|
-
/**
|
|
111
|
-
* Reflects the fees that the provider owes to the network.
|
|
112
|
-
*
|
|
113
|
-
* @generated from enum value: ACCOUNT_TYPE_FEE_PAYABLE = 80;
|
|
114
|
-
*/
|
|
115
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_PAYABLE"] = 80] = "FEE_PAYABLE";
|
|
116
|
-
/**
|
|
117
|
-
* Reflects the fees that the network is owed by the provider.
|
|
67
|
+
* Reflects the fees that the provider has to pay for the services provided by the network.
|
|
118
68
|
*
|
|
119
|
-
* @generated from enum value:
|
|
69
|
+
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 60;
|
|
120
70
|
*/
|
|
121
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
71
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_EXPENSE"] = 60] = "FEE_EXPENSE";
|
|
122
72
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 100;
|
|
73
|
+
* @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_IN = 80;
|
|
126
74
|
*/
|
|
127
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
75
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["SETTLEMENT_IN"] = 80] = "SETTLEMENT_IN";
|
|
128
76
|
/**
|
|
129
|
-
* @generated from enum value:
|
|
77
|
+
* @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_OUT = 90;
|
|
130
78
|
*/
|
|
131
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
79
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["SETTLEMENT_OUT"] = 90] = "SETTLEMENT_OUT";
|
|
132
80
|
})(AppendLedgerEntriesRequest_AccountType || (AppendLedgerEntriesRequest_AccountType = {}));
|
|
133
81
|
/**
|
|
134
82
|
* Describes the enum tzero.v1.payment.AppendLedgerEntriesRequest.AccountType.
|
|
@@ -144,6 +92,11 @@ export const AppendLedgerEntriesResponseSchema = /*@__PURE__*/ messageDesc(file_
|
|
|
144
92
|
* Use `create(PayoutRequestSchema)` to create a new message.
|
|
145
93
|
*/
|
|
146
94
|
export const PayoutRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 2);
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message tzero.v1.payment.PayoutRequest.TravelRuleData.
|
|
97
|
+
* Use `create(PayoutRequest_TravelRuleDataSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export const PayoutRequest_TravelRuleDataSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 2, 0);
|
|
147
100
|
/**
|
|
148
101
|
* Describes the message tzero.v1.payment.PayoutResponse.
|
|
149
102
|
* Use `create(PayoutResponseSchema)` to create a new message.
|
|
@@ -183,6 +136,11 @@ export const UpdatePaymentRequestSchema = /*@__PURE__*/ messageDesc(file_tzero_v
|
|
|
183
136
|
* Use `create(UpdatePaymentRequest_AcceptedSchema)` to create a new message.
|
|
184
137
|
*/
|
|
185
138
|
export const UpdatePaymentRequest_AcceptedSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 4, 0);
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData.
|
|
141
|
+
* Use `create(UpdatePaymentRequest_Accepted_TravelRuleDataSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const UpdatePaymentRequest_Accepted_TravelRuleDataSchema = /*@__PURE__*/ messageDesc(file_tzero_v1_payment_provider, 4, 0, 0);
|
|
186
144
|
/**
|
|
187
145
|
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Failed.
|
|
188
146
|
* Use `create(UpdatePaymentRequest_FailedSchema)` to create a new message.
|
|
@@ -8,7 +8,7 @@ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file tzero/v1/payment_intent/provider/provider.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_tzero_v1_payment_intent_provider_provider = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_tzero_v1_payment_intent_provider_provider = /*@__PURE__*/ fileDesc("Ci90emVyby92MS9wYXltZW50X2ludGVudC9wcm92aWRlci9wcm92aWRlci5wcm90bxIgdHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIiuAEKGkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0EiIKEXBheW1lbnRfaW50ZW50X2lkGAogASgEQge6SAQyAiAAEiYKCGN1cnJlbmN5GBQgASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxIwCgZhbW91bnQYHiABKAsyGC50emVyby52MS5jb21tb24uRGVjaW1hbEIGukgDyAEBEhwKC21lcmNoYW50X2lkGDIgASgNQge6SAQqAiAAIpICChtDcmVhdGVQYXltZW50SW50ZW50UmVzcG9uc2USbgoPcGF5bWVudF9tZXRob2RzGBQgAygLMksudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ3JlYXRlUGF5bWVudEludGVudFJlc3BvbnNlLlBheW1lbnRNZXRob2RCCLpIBZIBAggBGoIBCg1QYXltZW50TWV0aG9kEi0KC3BheW1lbnRfdXJsGAogASgJQhi6SBVyExABGIAQMgxeaHR0cHM/Oi8vLisSQ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4X2hhc2gYFCABKAkSGQoRcGF5bWVudF9pbnRlbnRfaWQYHiADKAQiGwoZQ29uZmlybVNldHRsZW1lbnRSZXNwb25zZTLJAwoOTmV0d29ya1NlcnZpY2USiAEKDkNvbmZpcm1QYXltZW50EjcudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW1lbnRSZXF1ZXN0GjgudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW1lbnRSZXNwb25zZSIDkAICEpcBChNSZWplY3RQYXltZW50SW50ZW50EjwudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuUmVqZWN0UGF5bWVudEludGVudFJlcXVlc3QaPS50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5SZWplY3RQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAhKRAQoRQ29uZmlybVNldHRsZW1lbnQSOi50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtU2V0dGxlbWVudFJlcXVlc3QaOy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtU2V0dGxlbWVudFJlc3BvbnNlIgOQAgIyswIKD1Byb3ZpZGVyU2VydmljZRKXAQoTQ3JlYXRlUGF5bWVudEludGVudBI8LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0Gj0udHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ3JlYXRlUGF5bWVudEludGVudFJlc3BvbnNlIgOQAgIShQEKDUNvbmZpcm1QYXlvdXQSNi50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtUGF5b3V0UmVxdWVzdBo3LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNvbmZpcm1QYXlvdXRSZXNwb25zZSIDkAICQtUBCiRjb20udHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXJCDVByb3ZpZGVyUHJvdG9QAaICBFRWUFCqAh9UemVyby5WMS5QYXltZW50SW50ZW50LlByb3ZpZGVyygIfVHplcm9cVjFcUGF5bWVudEludGVudFxQcm92aWRlcuICK1R6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAiJUemVybzo6VjE6OlBheW1lbnRJbnRlbnQ6OlByb3ZpZGVyYgZwcm90bzM", [file_tzero_v1_common_common, file_tzero_v1_common_payment_method, file_buf_validate_validate]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest.
|
|
14
14
|
* Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
|
|
@@ -21,7 +21,7 @@ async function main() {
|
|
|
21
21
|
const updateResponse = await networkClient.updateQuote({
|
|
22
22
|
payIn: [{
|
|
23
23
|
bands: [{
|
|
24
|
-
rate: toProtoDecimal(123, 2), // Example rate
|
|
24
|
+
rate: toProtoDecimal(123, -2), // Example rate 1.23
|
|
25
25
|
maxAmount: toProtoDecimal(1000, 0), // Example maximum amount
|
|
26
26
|
clientQuoteId: randomUUID(),
|
|
27
27
|
}],
|