@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
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
// @generated from file tzero/v1/payment/network.proto (package tzero.v1.payment, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.NetworkService = exports.QuoteTypeSchema = exports.QuoteType = exports.PaymentAmountSchema = exports.ConfirmPayoutResponseSchema = exports.ConfirmPayoutRequestSchema = exports.CreatePaymentResponse_Failure_ReasonSchema = exports.CreatePaymentResponse_Failure_Reason = exports.CreatePaymentResponse_FailureSchema = exports.CreatePaymentResponse_SuccessSchema = exports.CreatePaymentResponseSchema = exports.QuoteIdSchema = exports.CreatePaymentRequest_PayOutSchema = exports.CreatePaymentRequest_PayInSchema = exports.CreatePaymentRequestSchema = exports.GetQuoteResponseSchema = exports.GetQuoteRequestSchema = exports.UpdateQuoteResponseSchema = exports.UpdateQuoteRequest_Quote_BandSchema = exports.UpdateQuoteRequest_QuoteSchema = exports.UpdateQuoteRequestSchema = exports.file_tzero_v1_payment_network = void 0;
|
|
6
|
+
exports.NetworkService = exports.QuoteTypeSchema = exports.QuoteType = exports.PaymentAmountSchema = exports.ConfirmPayoutResponseSchema = exports.ConfirmPayoutRequestSchema = exports.CreatePaymentResponse_Failure_ReasonSchema = exports.CreatePaymentResponse_Failure_Reason = exports.CreatePaymentResponse_FailureSchema = exports.CreatePaymentResponse_SuccessSchema = exports.CreatePaymentResponseSchema = exports.QuoteIdSchema = exports.CreatePaymentRequest_TravelRuleDataSchema = exports.CreatePaymentRequest_PayOutSchema = exports.CreatePaymentRequest_PayInSchema = exports.CreatePaymentRequestSchema = exports.GetQuoteResponseSchema = exports.GetQuoteRequestSchema = exports.UpdateQuoteResponseSchema = exports.UpdateQuoteRequest_Quote_BandSchema = exports.UpdateQuoteRequest_QuoteSchema = exports.UpdateQuoteRequestSchema = exports.file_tzero_v1_payment_network = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const common_pb_js_1 = require("../common/common_pb.js");
|
|
9
9
|
const payment_method_pb_js_1 = require("../common/payment_method_pb.js");
|
|
10
10
|
const payment_receipt_pb_js_1 = require("../common/payment_receipt_pb.js");
|
|
11
|
+
const ivms101_pb_js_1 = require("../../../ivms101/v1/ivms/ivms101_pb.js");
|
|
11
12
|
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
12
13
|
const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
|
|
13
14
|
/**
|
|
14
15
|
* Describes the file tzero/v1/payment/network.proto.
|
|
15
16
|
*/
|
|
16
|
-
exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+
|
|
17
|
+
exports.file_tzero_v1_payment_network = (0, codegenv2_1.fileDesc)("Ch50emVyby92MS9wYXltZW50L25ldHdvcmsucHJvdG8SEHR6ZXJvLnYxLnBheW1lbnQiigUKElVwZGF0ZVF1b3RlUmVxdWVzdBI7CgdwYXlfb3V0GAogAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUSOgoGcGF5X2luGBQgAygLMioudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlcXVlc3QuUXVvdGUa+gMKBVF1b3RlEiYKCGN1cnJlbmN5GAogASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxI3CgpxdW90ZV90eXBlGBQgASgOMhsudHplcm8udjEucGF5bWVudC5RdW90ZVR5cGVCBrpIA8gBARJCCg5wYXltZW50X21ldGhvZBgZIAEoDjIiLnR6ZXJvLnYxLmNvbW1vbi5QYXltZW50TWV0aG9kVHlwZUIGukgDyAEBEkgKBWJhbmRzGB4gAygLMi8ud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UFMVElNRRABMpcDCg5OZXR3b3JrU2VydmljZRJfCgtVcGRhdGVRdW90ZRIkLnR6ZXJvLnYxLnBheW1lbnQuVXBkYXRlUXVvdGVSZXF1ZXN0GiUudHplcm8udjEucGF5bWVudC5VcGRhdGVRdW90ZVJlc3BvbnNlIgOQAgISVgoIR2V0UXVvdGUSIS50emVyby52MS5wYXltZW50LkdldFF1b3RlUmVxdWVzdBoiLnR6ZXJvLnYxLnBheW1lbnQuR2V0UXVvdGVSZXNwb25zZSIDkAIBEmUKDUNyZWF0ZVBheW1lbnQSJi50emVyby52MS5wYXltZW50LkNyZWF0ZVBheW1lbnRSZXF1ZXN0GicudHplcm8udjEucGF5bWVudC5DcmVhdGVQYXltZW50UmVzcG9uc2UiA5ACAhJlCg1Db25maXJtUGF5b3V0EiYudHplcm8udjEucGF5bWVudC5Db25maXJtUGF5b3V0UmVxdWVzdBonLnR6ZXJvLnYxLnBheW1lbnQuQ29uZmlybVBheW91dFJlc3BvbnNlIgOQAgJChgEKFGNvbS50emVyby52MS5wYXltZW50QgxOZXR3b3JrUHJvdG9QAaICA1RWUKoCEFR6ZXJvLlYxLlBheW1lbnTKAhBUemVyb1xWMVxQYXltZW504gIcVHplcm9cVjFcUGF5bWVudFxHUEJNZXRhZGF0YeoCElR6ZXJvOjpWMTo6UGF5bWVudGIGcHJvdG8z", [common_pb_js_1.file_tzero_v1_common_common, payment_method_pb_js_1.file_tzero_v1_common_payment_method, payment_receipt_pb_js_1.file_tzero_v1_common_payment_receipt, ivms101_pb_js_1.file_ivms101_v1_ivms_ivms101, wkt_1.file_google_protobuf_timestamp, validate_pb_js_1.file_buf_validate_validate]);
|
|
17
18
|
/**
|
|
18
19
|
* Describes the message tzero.v1.payment.UpdateQuoteRequest.
|
|
19
20
|
* Use `create(UpdateQuoteRequestSchema)` to create a new message.
|
|
@@ -59,6 +60,11 @@ exports.CreatePaymentRequest_PayInSchema = (0, codegenv2_1.messageDesc)(exports.
|
|
|
59
60
|
* Use `create(CreatePaymentRequest_PayOutSchema)` to create a new message.
|
|
60
61
|
*/
|
|
61
62
|
exports.CreatePaymentRequest_PayOutSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 4, 1);
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message tzero.v1.payment.CreatePaymentRequest.TravelRuleData.
|
|
65
|
+
* Use `create(CreatePaymentRequest_TravelRuleDataSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
exports.CreatePaymentRequest_TravelRuleDataSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_network, 4, 2);
|
|
62
68
|
/**
|
|
63
69
|
* Describes the message tzero.v1.payment.QuoteId.
|
|
64
70
|
* 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
|
*/
|
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
// @generated from file tzero/v1/payment/provider.proto (package tzero.v1.payment, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ProviderService = exports.UpdateLimitResponseSchema = exports.UpdateLimitRequest_LimitSchema = exports.UpdateLimitRequestSchema = exports.UpdatePaymentResponseSchema = exports.UpdatePaymentRequest_ConfirmedSchema = exports.UpdatePaymentRequest_Failed_ReasonSchema = exports.UpdatePaymentRequest_Failed_Reason = exports.UpdatePaymentRequest_FailedSchema = exports.UpdatePaymentRequest_AcceptedSchema = exports.UpdatePaymentRequestSchema = exports.PayoutResponse_Failed_ReasonSchema = exports.PayoutResponse_Failed_Reason = exports.PayoutResponse_FailedSchema = exports.PayoutResponse_AcceptedSchema = exports.PayoutResponseSchema = exports.PayoutRequestSchema = exports.AppendLedgerEntriesResponseSchema = exports.AppendLedgerEntriesRequest_AccountTypeSchema = exports.AppendLedgerEntriesRequest_AccountType = exports.AppendLedgerEntriesRequest_LedgerEntrySchema = exports.
|
|
6
|
+
exports.ProviderService = exports.UpdateLimitResponseSchema = exports.UpdateLimitRequest_LimitSchema = exports.UpdateLimitRequestSchema = exports.UpdatePaymentResponseSchema = exports.UpdatePaymentRequest_ConfirmedSchema = exports.UpdatePaymentRequest_Failed_ReasonSchema = exports.UpdatePaymentRequest_Failed_Reason = exports.UpdatePaymentRequest_FailedSchema = exports.UpdatePaymentRequest_Accepted_TravelRuleDataSchema = exports.UpdatePaymentRequest_AcceptedSchema = exports.UpdatePaymentRequestSchema = exports.PayoutResponse_Failed_ReasonSchema = exports.PayoutResponse_Failed_Reason = exports.PayoutResponse_FailedSchema = exports.PayoutResponse_AcceptedSchema = exports.PayoutResponseSchema = exports.PayoutRequest_TravelRuleDataSchema = exports.PayoutRequestSchema = exports.AppendLedgerEntriesResponseSchema = exports.AppendLedgerEntriesRequest_AccountTypeSchema = exports.AppendLedgerEntriesRequest_AccountType = exports.AppendLedgerEntriesRequest_LedgerEntrySchema = exports.AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = exports.AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = exports.AppendLedgerEntriesRequest_Transaction_PayoutSchema = exports.AppendLedgerEntriesRequest_TransactionSchema = exports.AppendLedgerEntriesRequestSchema = exports.file_tzero_v1_payment_provider = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const payment_method_pb_js_1 = require("../common/payment_method_pb.js");
|
|
9
9
|
const payment_receipt_pb_js_1 = require("../common/payment_receipt_pb.js");
|
|
10
10
|
const common_pb_js_1 = require("../common/common_pb.js");
|
|
11
|
+
const ivms101_pb_js_1 = require("../../../ivms101/v1/ivms/ivms101_pb.js");
|
|
11
12
|
const wkt_1 = require("@bufbuild/protobuf/wkt");
|
|
12
13
|
const validate_pb_js_1 = require("../../../buf/validate/validate_pb.js");
|
|
13
14
|
/**
|
|
14
15
|
* Describes the file tzero/v1/payment/provider.proto.
|
|
15
16
|
*/
|
|
16
|
-
exports.file_tzero_v1_payment_provider = (0, codegenv2_1.fileDesc)("
|
|
17
|
+
exports.file_tzero_v1_payment_provider = (0, codegenv2_1.fileDesc)("Ch90emVyby92MS9wYXltZW50L3Byb3ZpZGVyLnByb3RvEhB0emVyby52MS5wYXltZW50IvcIChpBcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBJYCgx0cmFuc2FjdGlvbnMYFCADKAsyOC50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uQgi6SAWSAQIIARrXBAoLVHJhbnNhY3Rpb24SHwoOdHJhbnNhY3Rpb25faWQYCiABKARCB7pIBDICIAASUwoHZW50cmllcxgeIAMoCzI4LnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1JlcXVlc3QuTGVkZ2VyRW50cnlCCLpIBZIBAggBElIKBnBheW91dBiCASABKAsyPy50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLlBheW91dEgAEmsKE3Byb3ZpZGVyX3NldHRsZW1lbnQYjAEgASgLMksudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdC5UcmFuc2FjdGlvbi5Qcm92aWRlclNldHRsZW1lbnRIABJhCg5mZWVfc2V0dGxlbWVudBiWASABKAsyRi50emVyby52MS5wYXltZW50LkFwcGVuZExlZGdlckVudHJpZXNSZXF1ZXN0LlRyYW5zYWN0aW9uLkZlZVNldHRsZW1lbnRIABolCgZQYXlvdXQSGwoKcGF5bWVudF9pZBgKIAEoBEIHukgEMgIgABo0ChJQcm92aWRlclNldHRsZW1lbnQSHgoNc2V0dGxlbWVudF9pZBgKIAEoBEIHukgEMgIgABozCg1GZWVTZXR0bGVtZW50EiIKEWZlZV9zZXR0bGVtZW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ydmljZRJQCgZQYXlPdXQSHy50emVyby52MS5wYXltZW50LlBheW91dFJlcXVlc3QaIC50emVyby52MS5wYXltZW50LlBheW91dFJlc3BvbnNlIgOQAgISZQoNVXBkYXRlUGF5bWVudBImLnR6ZXJvLnYxLnBheW1lbnQuVXBkYXRlUGF5bWVudFJlcXVlc3QaJy50emVyby52MS5wYXltZW50LlVwZGF0ZVBheW1lbnRSZXNwb25zZSIDkAICEl8KC1VwZGF0ZUxpbWl0EiQudHplcm8udjEucGF5bWVudC5VcGRhdGVMaW1pdFJlcXVlc3QaJS50emVyby52MS5wYXltZW50LlVwZGF0ZUxpbWl0UmVzcG9uc2UiA5ACAhJ3ChNBcHBlbmRMZWRnZXJFbnRyaWVzEiwudHplcm8udjEucGF5bWVudC5BcHBlbmRMZWRnZXJFbnRyaWVzUmVxdWVzdBotLnR6ZXJvLnYxLnBheW1lbnQuQXBwZW5kTGVkZ2VyRW50cmllc1Jlc3BvbnNlIgOQAgJChwEKFGNvbS50emVyby52MS5wYXltZW50Qg1Qcm92aWRlclByb3RvUAGiAgNUVlCqAhBUemVyby5WMS5QYXltZW50ygIQVHplcm9cVjFcUGF5bWVudOICHFR6ZXJvXFYxXFBheW1lbnRcR1BCTWV0YWRhdGHqAhJUemVybzo6VjE6OlBheW1lbnRiBnByb3RvMw", [payment_method_pb_js_1.file_tzero_v1_common_payment_method, payment_receipt_pb_js_1.file_tzero_v1_common_payment_receipt, common_pb_js_1.file_tzero_v1_common_common, ivms101_pb_js_1.file_ivms101_v1_ivms_ivms101, wkt_1.file_google_protobuf_timestamp, validate_pb_js_1.file_buf_validate_validate]);
|
|
17
18
|
/**
|
|
18
19
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.
|
|
19
20
|
* Use `create(AppendLedgerEntriesRequestSchema)` to create a new message.
|
|
@@ -24,36 +25,21 @@ exports.AppendLedgerEntriesRequestSchema = (0, codegenv2_1.messageDesc)(exports.
|
|
|
24
25
|
* Use `create(AppendLedgerEntriesRequest_TransactionSchema)` to create a new message.
|
|
25
26
|
*/
|
|
26
27
|
exports.AppendLedgerEntriesRequest_TransactionSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0);
|
|
27
|
-
/**
|
|
28
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayIn.
|
|
29
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayInSchema)` to create a new message.
|
|
30
|
-
*/
|
|
31
|
-
exports.AppendLedgerEntriesRequest_Transaction_PayInSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0, 0);
|
|
32
|
-
/**
|
|
33
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservation.
|
|
34
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema)` to create a new message.
|
|
35
|
-
*/
|
|
36
|
-
exports.AppendLedgerEntriesRequest_Transaction_PayoutReservationSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0, 1);
|
|
37
28
|
/**
|
|
38
29
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.Payout.
|
|
39
30
|
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutSchema)` to create a new message.
|
|
40
31
|
*/
|
|
41
|
-
exports.AppendLedgerEntriesRequest_Transaction_PayoutSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0,
|
|
32
|
+
exports.AppendLedgerEntriesRequest_Transaction_PayoutSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0, 0);
|
|
42
33
|
/**
|
|
43
34
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.ProviderSettlement.
|
|
44
35
|
* Use `create(AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema)` to create a new message.
|
|
45
36
|
*/
|
|
46
|
-
exports.AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0,
|
|
37
|
+
exports.AppendLedgerEntriesRequest_Transaction_ProviderSettlementSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0, 1);
|
|
47
38
|
/**
|
|
48
39
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.FeeSettlement.
|
|
49
40
|
* Use `create(AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema)` to create a new message.
|
|
50
41
|
*/
|
|
51
|
-
exports.AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0,
|
|
52
|
-
/**
|
|
53
|
-
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.Transaction.PayoutReservationRelease.
|
|
54
|
-
* Use `create(AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema)` to create a new message.
|
|
55
|
-
*/
|
|
56
|
-
exports.AppendLedgerEntriesRequest_Transaction_PayoutReservationReleaseSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0, 5);
|
|
42
|
+
exports.AppendLedgerEntriesRequest_Transaction_FeeSettlementSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 0, 0, 2);
|
|
57
43
|
/**
|
|
58
44
|
* Describes the message tzero.v1.payment.AppendLedgerEntriesRequest.LedgerEntry.
|
|
59
45
|
* Use `create(AppendLedgerEntriesRequest_LedgerEntrySchema)` to create a new message.
|
|
@@ -69,69 +55,31 @@ var AppendLedgerEntriesRequest_AccountType;
|
|
|
69
55
|
*/
|
|
70
56
|
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
71
57
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @generated from enum value: ACCOUNT_TYPE_USER_PAYABLE = 10;
|
|
75
|
-
*/
|
|
76
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["USER_PAYABLE"] = 10] = "USER_PAYABLE";
|
|
77
|
-
/**
|
|
78
|
-
* Reflects the cash balance of the provider.
|
|
79
|
-
*
|
|
80
|
-
* @generated from enum value: ACCOUNT_TYPE_CASH = 20;
|
|
81
|
-
*/
|
|
82
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["CASH"] = 20] = "CASH";
|
|
83
|
-
/**
|
|
84
|
-
* This is the reserve account of the provider, which reflects the reserve of balance to reduce the limit available from one provider to another.
|
|
85
|
-
*
|
|
86
|
-
* @generated from enum value: ACCOUNT_TYPE_RESERVE = 30;
|
|
58
|
+
* @generated from enum value: ACCOUNT_TYPE_BALANCE = 20;
|
|
87
59
|
*/
|
|
88
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
60
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["BALANCE"] = 20] = "BALANCE";
|
|
89
61
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* @generated from enum value: ACCOUNT_TYPE_RESERVE_USAGE = 40;
|
|
62
|
+
* @generated from enum value: ACCOUNT_TYPE_PAY_IN = 40;
|
|
93
63
|
*/
|
|
94
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
64
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PAY_IN"] = 40] = "PAY_IN";
|
|
95
65
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_PAYABLE = 50;
|
|
66
|
+
* @generated from enum value: ACCOUNT_TYPE_PAY_OUT = 50;
|
|
99
67
|
*/
|
|
100
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
68
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PAY_OUT"] = 50] = "PAY_OUT";
|
|
101
69
|
/**
|
|
102
|
-
* Reflects
|
|
103
|
-
*
|
|
104
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_RECEIVABLE = 60;
|
|
105
|
-
*/
|
|
106
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_RECEIVABLE"] = 60] = "PROVIDER_RECEIVABLE";
|
|
107
|
-
/**
|
|
108
|
-
* Reflects the settlement balance of the provider with the network or other participants.
|
|
109
|
-
*
|
|
110
|
-
* @generated from enum value: ACCOUNT_TYPE_PROVIDER_SETTLEMENT = 70;
|
|
111
|
-
*/
|
|
112
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["PROVIDER_SETTLEMENT"] = 70] = "PROVIDER_SETTLEMENT";
|
|
113
|
-
/**
|
|
114
|
-
* Reflects the fees that the provider owes to the network.
|
|
115
|
-
*
|
|
116
|
-
* @generated from enum value: ACCOUNT_TYPE_FEE_PAYABLE = 80;
|
|
117
|
-
*/
|
|
118
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_PAYABLE"] = 80] = "FEE_PAYABLE";
|
|
119
|
-
/**
|
|
120
|
-
* Reflects the fees that the network is owed by the provider.
|
|
70
|
+
* Reflects the fees that the provider has to pay for the services provided by the network.
|
|
121
71
|
*
|
|
122
|
-
* @generated from enum value:
|
|
72
|
+
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 60;
|
|
123
73
|
*/
|
|
124
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
74
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["FEE_EXPENSE"] = 60] = "FEE_EXPENSE";
|
|
125
75
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* @generated from enum value: ACCOUNT_TYPE_FEE_EXPENSE = 100;
|
|
76
|
+
* @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_IN = 80;
|
|
129
77
|
*/
|
|
130
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
78
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["SETTLEMENT_IN"] = 80] = "SETTLEMENT_IN";
|
|
131
79
|
/**
|
|
132
|
-
* @generated from enum value:
|
|
80
|
+
* @generated from enum value: ACCOUNT_TYPE_SETTLEMENT_OUT = 90;
|
|
133
81
|
*/
|
|
134
|
-
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["
|
|
82
|
+
AppendLedgerEntriesRequest_AccountType[AppendLedgerEntriesRequest_AccountType["SETTLEMENT_OUT"] = 90] = "SETTLEMENT_OUT";
|
|
135
83
|
})(AppendLedgerEntriesRequest_AccountType || (exports.AppendLedgerEntriesRequest_AccountType = AppendLedgerEntriesRequest_AccountType = {}));
|
|
136
84
|
/**
|
|
137
85
|
* Describes the enum tzero.v1.payment.AppendLedgerEntriesRequest.AccountType.
|
|
@@ -147,6 +95,11 @@ exports.AppendLedgerEntriesResponseSchema = (0, codegenv2_1.messageDesc)(exports
|
|
|
147
95
|
* Use `create(PayoutRequestSchema)` to create a new message.
|
|
148
96
|
*/
|
|
149
97
|
exports.PayoutRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 2);
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message tzero.v1.payment.PayoutRequest.TravelRuleData.
|
|
100
|
+
* Use `create(PayoutRequest_TravelRuleDataSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
exports.PayoutRequest_TravelRuleDataSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 2, 0);
|
|
150
103
|
/**
|
|
151
104
|
* Describes the message tzero.v1.payment.PayoutResponse.
|
|
152
105
|
* Use `create(PayoutResponseSchema)` to create a new message.
|
|
@@ -186,6 +139,11 @@ exports.UpdatePaymentRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_t
|
|
|
186
139
|
* Use `create(UpdatePaymentRequest_AcceptedSchema)` to create a new message.
|
|
187
140
|
*/
|
|
188
141
|
exports.UpdatePaymentRequest_AcceptedSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 4, 0);
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Accepted.TravelRuleData.
|
|
144
|
+
* Use `create(UpdatePaymentRequest_Accepted_TravelRuleDataSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
exports.UpdatePaymentRequest_Accepted_TravelRuleDataSchema = (0, codegenv2_1.messageDesc)(exports.file_tzero_v1_payment_provider, 4, 0, 0);
|
|
189
147
|
/**
|
|
190
148
|
* Describes the message tzero.v1.payment.UpdatePaymentRequest.Failed.
|
|
191
149
|
* Use `create(UpdatePaymentRequest_FailedSchema)` to create a new message.
|
|
@@ -11,7 +11,7 @@ const validate_pb_js_1 = require("../../../../buf/validate/validate_pb.js");
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file tzero/v1/payment_intent/provider/provider.proto.
|
|
13
13
|
*/
|
|
14
|
-
exports.file_tzero_v1_payment_intent_provider_provider = (0, codegenv2_1.fileDesc)("
|
|
14
|
+
exports.file_tzero_v1_payment_intent_provider_provider = (0, codegenv2_1.fileDesc)("Ci90emVyby92MS9wYXltZW50X2ludGVudC9wcm92aWRlci9wcm92aWRlci5wcm90bxIgdHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIiuAEKGkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0EiIKEXBheW1lbnRfaW50ZW50X2lkGAogASgEQge6SAQyAiAAEiYKCGN1cnJlbmN5GBQgASgJQhS6SBFyDzIKXltBLVpdezN9JJgBAxIwCgZhbW91bnQYHiABKAsyGC50emVyby52MS5j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GQoRcGF5bWVudF9pbnRlbnRfaWQYCiABKAQSDgoGcmVhc29uGBQgASgJIh0KG1JlamVjdFBheW1lbnRJbnRlbnRSZXNwb25zZSJFChRDb25maXJtUGF5b3V0UmVxdWVzdBIZChFwYXltZW50X2ludGVudF9pZBgKIAEoBBISCgpwYXltZW50X2lkGBQgASgEIhcKFUNvbmZpcm1QYXlvdXRSZXNwb25zZSJ3ChhDb25maXJtU2V0dGxlbWVudFJlcXVlc3QSLwoKYmxvY2tjaGFpbhgKIAEoDjIbLnR6ZXJvLnYxLmNvbW1vbi5CbG9ja2NoYWluEg8KB3R4X2hhc2gYFCABKAkSGQoRcGF5bWVudF9pbnRlbnRfaWQYHiADKAQiGwoZQ29uZmlybVNldHRsZW1lbnRSZXNwb25zZTLJAwoOTmV0d29ya1NlcnZpY2USiAEKDkNvbmZpcm1QYXltZW50EjcudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW1lbnRSZXF1ZXN0GjgudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ29uZmlybVBheW1lbnRSZXNwb25zZSIDkAICEpcBChNSZWplY3RQYXltZW50SW50ZW50EjwudHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuUmVqZWN0UGF5bWVudEludGVudFJlcXVlc3QaPS50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5SZWplY3RQYXltZW50SW50ZW50UmVzcG9uc2UiA5ACAhKRAQoRQ29uZmlybVNldHRsZW1lbnQSOi50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtU2V0dGxlbWVudFJlcXVlc3QaOy50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtU2V0dGxlbWVudFJlc3BvbnNlIgOQAgIyswIKD1Byb3ZpZGVyU2VydmljZRKXAQoTQ3JlYXRlUGF5bWVudEludGVudBI8LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNyZWF0ZVBheW1lbnRJbnRlbnRSZXF1ZXN0Gj0udHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXIuQ3JlYXRlUGF5bWVudEludGVudFJlc3BvbnNlIgOQAgIShQEKDUNvbmZpcm1QYXlvdXQSNi50emVyby52MS5wYXltZW50X2ludGVudC5wcm92aWRlci5Db25maXJtUGF5b3V0UmVxdWVzdBo3LnR6ZXJvLnYxLnBheW1lbnRfaW50ZW50LnByb3ZpZGVyLkNvbmZpcm1QYXlvdXRSZXNwb25zZSIDkAICQtUBCiRjb20udHplcm8udjEucGF5bWVudF9pbnRlbnQucHJvdmlkZXJCDVByb3ZpZGVyUHJvdG9QAaICBFRWUFCqAh9UemVyby5WMS5QYXltZW50SW50ZW50LlByb3ZpZGVyygIfVHplcm9cVjFcUGF5bWVudEludGVudFxQcm92aWRlcuICK1R6ZXJvXFYxXFBheW1lbnRJbnRlbnRcUHJvdmlkZXJcR1BCTWV0YWRhdGHqAiJUemVybzo6VjE6OlBheW1lbnRJbnRlbnQ6OlByb3ZpZGVyYgZwcm90bzM", [common_pb_js_1.file_tzero_v1_common_common, payment_method_pb_js_1.file_tzero_v1_common_payment_method, validate_pb_js_1.file_buf_validate_validate]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message tzero.v1.payment_intent.provider.CreatePaymentIntentRequest.
|
|
17
17
|
* Use `create(CreatePaymentIntentRequestSchema)` to create a new message.
|
|
@@ -26,7 +26,7 @@ async function main() {
|
|
|
26
26
|
const updateResponse = await networkClient.updateQuote({
|
|
27
27
|
payIn: [{
|
|
28
28
|
bands: [{
|
|
29
|
-
rate: toProtoDecimal(123, 2), // Example rate
|
|
29
|
+
rate: toProtoDecimal(123, -2), // Example rate 1.23
|
|
30
30
|
maxAmount: toProtoDecimal(1000, 0), // Example maximum amount
|
|
31
31
|
clientQuoteId: (0, node_crypto_1.randomUUID)(),
|
|
32
32
|
}],
|