@mainarchitech/ibuy-api 0.0.0-feat-trader-vnd-amount.02e0ad1c
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/dist/gen/bank/v1/bank_public_pb.d.ts +72 -0
- package/dist/gen/bank/v1/bank_public_pb.js +27 -0
- package/dist/gen/bank/v1/index.d.ts +1 -0
- package/dist/gen/bank/v1/index.js +4 -0
- package/dist/gen/billing/v1/index.d.ts +1 -0
- package/dist/gen/billing/v1/index.js +4 -0
- package/dist/gen/billing/v1/types_pb.d.ts +90 -0
- package/dist/gen/billing/v1/types_pb.js +28 -0
- package/dist/gen/invoice/v1/index.d.ts +2 -0
- package/dist/gen/invoice/v1/index.js +5 -0
- package/dist/gen/invoice/v1/invoice_public_pb.d.ts +559 -0
- package/dist/gen/invoice/v1/invoice_public_pb.js +100 -0
- package/dist/gen/invoice/v1/types_pb.d.ts +4 -0
- package/dist/gen/invoice/v1/types_pb.js +2 -0
- package/dist/gen/market/v1/index.d.ts +1 -0
- package/dist/gen/market/v1/index.js +4 -0
- package/dist/gen/market/v1/market_public_pb.d.ts +42 -0
- package/dist/gen/market/v1/market_public_pb.js +22 -0
- package/dist/gen/payment/v1/index.d.ts +2 -0
- package/dist/gen/payment/v1/index.js +5 -0
- package/dist/gen/payment/v1/payment_public_pb.d.ts +337 -0
- package/dist/gen/payment/v1/payment_public_pb.js +75 -0
- package/dist/gen/payment/v1/types_pb.d.ts +202 -0
- package/dist/gen/payment/v1/types_pb.js +191 -0
- package/dist/gen/user/v1/index.d.ts +1 -0
- package/dist/gen/user/v1/index.js +4 -0
- package/dist/gen/user/v1/types_pb.d.ts +178 -0
- package/dist/gen/user/v1/types_pb.js +117 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +9 -0
- package/package.json +40 -0
- package/src/gen/bank/v1/bank_public_pb.ts +96 -0
- package/src/gen/bank/v1/index.ts +4 -0
- package/src/gen/billing/v1/index.ts +4 -0
- package/src/gen/billing/v1/types_pb.ts +117 -0
- package/src/gen/invoice/v1/index.ts +5 -0
- package/src/gen/invoice/v1/invoice_public_pb.ts +673 -0
- package/src/gen/invoice/v1/types_pb.ts +4 -0
- package/src/gen/market/v1/index.ts +4 -0
- package/src/gen/market/v1/market_public_pb.ts +59 -0
- package/src/gen/payment/v1/index.ts +5 -0
- package/src/gen/payment/v1/payment_public_pb.ts +405 -0
- package/src/gen/payment/v1/types_pb.ts +258 -0
- package/src/gen/user/v1/index.ts +4 -0
- package/src/gen/user/v1/types_pb.ts +226 -0
- package/src/index.ts +9 -0
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { TransactionMode, TransactionStatus } from "./types_pb";
|
|
4
|
+
import type { BankTransferDetails, CardDetails, PhoneDetails, VietnamBankTransferDetails } from "./types_pb";
|
|
5
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file invoice/v1/invoice_public.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_invoice_v1_invoice_public: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message invoice.v1.PaymentQr
|
|
12
|
+
*/
|
|
13
|
+
export type PaymentQr = Message<"invoice.v1.PaymentQr"> & {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: string format = 1;
|
|
16
|
+
*/
|
|
17
|
+
format: string;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string emv_payload = 2;
|
|
20
|
+
*/
|
|
21
|
+
emvPayload: string;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: optional string image_url = 3;
|
|
24
|
+
*/
|
|
25
|
+
imageUrl?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string payment_amount = 4;
|
|
28
|
+
*/
|
|
29
|
+
paymentAmount: string;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: string payment_currency = 5;
|
|
32
|
+
*/
|
|
33
|
+
paymentCurrency: string;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string reference = 6;
|
|
36
|
+
*/
|
|
37
|
+
reference: string;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message invoice.v1.PaymentQr.
|
|
41
|
+
* Use `create(PaymentQrSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const PaymentQrSchema: GenMessage<PaymentQr>;
|
|
44
|
+
/**
|
|
45
|
+
* @generated from message invoice.v1.CreateInvoiceRequest
|
|
46
|
+
*/
|
|
47
|
+
export type CreateInvoiceRequest = Message<"invoice.v1.CreateInvoiceRequest"> & {
|
|
48
|
+
/**
|
|
49
|
+
* @generated from field: optional string external_id = 1;
|
|
50
|
+
*/
|
|
51
|
+
externalId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string amount = 2;
|
|
54
|
+
*/
|
|
55
|
+
amount: string;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: invoice.v1.CreateInvoiceRequest.UrlConfig url_config = 3;
|
|
58
|
+
*/
|
|
59
|
+
urlConfig?: CreateInvoiceRequest_UrlConfig;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: optional google.protobuf.Struct metadata = 4;
|
|
62
|
+
*/
|
|
63
|
+
metadata?: JsonObject;
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: optional string payment_method_id = 5;
|
|
66
|
+
*/
|
|
67
|
+
paymentMethodId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: optional payment.v1.TransactionMode mode = 6;
|
|
70
|
+
*/
|
|
71
|
+
mode?: TransactionMode;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: optional invoice.v1.CreateInvoiceRequest.QR qr = 7;
|
|
74
|
+
*/
|
|
75
|
+
qr?: CreateInvoiceRequest_QR;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message invoice.v1.CreateInvoiceRequest.
|
|
79
|
+
* Use `create(CreateInvoiceRequestSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const CreateInvoiceRequestSchema: GenMessage<CreateInvoiceRequest>;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message invoice.v1.CreateInvoiceRequest.UrlConfig
|
|
84
|
+
*/
|
|
85
|
+
export type CreateInvoiceRequest_UrlConfig = Message<"invoice.v1.CreateInvoiceRequest.UrlConfig"> & {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: optional string hook_url = 1;
|
|
88
|
+
*/
|
|
89
|
+
hookUrl?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: optional string fail_url = 2;
|
|
92
|
+
*/
|
|
93
|
+
failUrl?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: optional string success_url = 3;
|
|
96
|
+
*/
|
|
97
|
+
successUrl?: string;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message invoice.v1.CreateInvoiceRequest.UrlConfig.
|
|
101
|
+
* Use `create(CreateInvoiceRequest_UrlConfigSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export declare const CreateInvoiceRequest_UrlConfigSchema: GenMessage<CreateInvoiceRequest_UrlConfig>;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from message invoice.v1.CreateInvoiceRequest.QR
|
|
106
|
+
*/
|
|
107
|
+
export type CreateInvoiceRequest_QR = Message<"invoice.v1.CreateInvoiceRequest.QR"> & {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: bool generate = 1;
|
|
110
|
+
*/
|
|
111
|
+
generate: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: optional google.protobuf.Duration timeout = 2;
|
|
114
|
+
*/
|
|
115
|
+
timeout?: Duration;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message invoice.v1.CreateInvoiceRequest.QR.
|
|
119
|
+
* Use `create(CreateInvoiceRequest_QRSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export declare const CreateInvoiceRequest_QRSchema: GenMessage<CreateInvoiceRequest_QR>;
|
|
122
|
+
/**
|
|
123
|
+
* @generated from message invoice.v1.CreateInvoiceResponse
|
|
124
|
+
*/
|
|
125
|
+
export type CreateInvoiceResponse = Message<"invoice.v1.CreateInvoiceResponse"> & {
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: string id = 1;
|
|
128
|
+
*/
|
|
129
|
+
id: string;
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: string user_id = 2;
|
|
132
|
+
*/
|
|
133
|
+
userId: string;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: optional string external_id = 3;
|
|
136
|
+
*/
|
|
137
|
+
externalId?: string;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from oneof invoice.v1.CreateInvoiceResponse.billing_details
|
|
140
|
+
*/
|
|
141
|
+
billingDetails: {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: billing.v1.CardDetails card = 4;
|
|
144
|
+
*/
|
|
145
|
+
value: CardDetails;
|
|
146
|
+
case: "card";
|
|
147
|
+
} | {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: billing.v1.PhoneDetails sbp = 5;
|
|
150
|
+
*/
|
|
151
|
+
value: PhoneDetails;
|
|
152
|
+
case: "sbp";
|
|
153
|
+
} | {
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: billing.v1.BankTransferDetails bank_transfer = 6;
|
|
156
|
+
*/
|
|
157
|
+
value: BankTransferDetails;
|
|
158
|
+
case: "bankTransfer";
|
|
159
|
+
} | {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: billing.v1.VietnamBankTransferDetails vietnam_bank_transfer = 12;
|
|
162
|
+
*/
|
|
163
|
+
value: VietnamBankTransferDetails;
|
|
164
|
+
case: "vietnamBankTransfer";
|
|
165
|
+
} | {
|
|
166
|
+
case: undefined;
|
|
167
|
+
value?: undefined;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: optional invoice.v1.CreateInvoiceResponse.Bank bank = 7;
|
|
171
|
+
*/
|
|
172
|
+
bank?: CreateInvoiceResponse_Bank;
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: string payment_url = 8;
|
|
175
|
+
*/
|
|
176
|
+
paymentUrl: string;
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: string amount = 9;
|
|
179
|
+
*/
|
|
180
|
+
amount: string;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 10;
|
|
183
|
+
*/
|
|
184
|
+
expiresAt?: Timestamp;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: optional string nspk_url = 11;
|
|
187
|
+
*/
|
|
188
|
+
nspkUrl?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: string currency = 13;
|
|
191
|
+
*/
|
|
192
|
+
currency: string;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: string usdt_amount = 14;
|
|
195
|
+
*/
|
|
196
|
+
usdtAmount: string;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: invoice.v1.PaymentQr payment_qr = 15;
|
|
199
|
+
*/
|
|
200
|
+
paymentQr?: PaymentQr;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message invoice.v1.CreateInvoiceResponse.
|
|
204
|
+
* Use `create(CreateInvoiceResponseSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const CreateInvoiceResponseSchema: GenMessage<CreateInvoiceResponse>;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message invoice.v1.CreateInvoiceResponse.Bank
|
|
209
|
+
*/
|
|
210
|
+
export type CreateInvoiceResponse_Bank = Message<"invoice.v1.CreateInvoiceResponse.Bank"> & {
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string id = 1;
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string code = 2;
|
|
217
|
+
*/
|
|
218
|
+
code: string;
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string name = 3;
|
|
221
|
+
*/
|
|
222
|
+
name: string;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message invoice.v1.CreateInvoiceResponse.Bank.
|
|
226
|
+
* Use `create(CreateInvoiceResponse_BankSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const CreateInvoiceResponse_BankSchema: GenMessage<CreateInvoiceResponse_Bank>;
|
|
229
|
+
/**
|
|
230
|
+
* @generated from message invoice.v1.FetchInvoicesRequest
|
|
231
|
+
*/
|
|
232
|
+
export type FetchInvoicesRequest = Message<"invoice.v1.FetchInvoicesRequest"> & {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: repeated string ids = 1;
|
|
235
|
+
*/
|
|
236
|
+
ids: string[];
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message invoice.v1.FetchInvoicesRequest.
|
|
240
|
+
* Use `create(FetchInvoicesRequestSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export declare const FetchInvoicesRequestSchema: GenMessage<FetchInvoicesRequest>;
|
|
243
|
+
/**
|
|
244
|
+
* @generated from message invoice.v1.FetchInvoicesResponse
|
|
245
|
+
*/
|
|
246
|
+
export type FetchInvoicesResponse = Message<"invoice.v1.FetchInvoicesResponse"> & {
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: repeated invoice.v1.FetchInvoicesResponse.Invoice invoices = 1;
|
|
249
|
+
*/
|
|
250
|
+
invoices: FetchInvoicesResponse_Invoice[];
|
|
251
|
+
};
|
|
252
|
+
/**
|
|
253
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.
|
|
254
|
+
* Use `create(FetchInvoicesResponseSchema)` to create a new message.
|
|
255
|
+
*/
|
|
256
|
+
export declare const FetchInvoicesResponseSchema: GenMessage<FetchInvoicesResponse>;
|
|
257
|
+
/**
|
|
258
|
+
* @generated from message invoice.v1.FetchInvoicesResponse.Invoice
|
|
259
|
+
*/
|
|
260
|
+
export type FetchInvoicesResponse_Invoice = Message<"invoice.v1.FetchInvoicesResponse.Invoice"> & {
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: string id = 1;
|
|
263
|
+
*/
|
|
264
|
+
id: string;
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: string merchant_id = 2;
|
|
267
|
+
*/
|
|
268
|
+
merchantId: string;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: optional string external_id = 3;
|
|
271
|
+
*/
|
|
272
|
+
externalId?: string;
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: string payment_url = 4;
|
|
275
|
+
*/
|
|
276
|
+
paymentUrl: string;
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: string amount = 5;
|
|
279
|
+
*/
|
|
280
|
+
amount: string;
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: payment.v1.TransactionStatus status = 6;
|
|
283
|
+
*/
|
|
284
|
+
status: TransactionStatus;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
287
|
+
*/
|
|
288
|
+
createdAt?: Timestamp;
|
|
289
|
+
/**
|
|
290
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 8;
|
|
291
|
+
*/
|
|
292
|
+
expiresAt?: Timestamp;
|
|
293
|
+
/**
|
|
294
|
+
* @generated from oneof invoice.v1.FetchInvoicesResponse.Invoice.billing_details
|
|
295
|
+
*/
|
|
296
|
+
billingDetails: {
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: billing.v1.CardDetails card = 9;
|
|
299
|
+
*/
|
|
300
|
+
value: CardDetails;
|
|
301
|
+
case: "card";
|
|
302
|
+
} | {
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: billing.v1.PhoneDetails sbp = 10;
|
|
305
|
+
*/
|
|
306
|
+
value: PhoneDetails;
|
|
307
|
+
case: "sbp";
|
|
308
|
+
} | {
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: billing.v1.BankTransferDetails bank_transfer = 11;
|
|
311
|
+
*/
|
|
312
|
+
value: BankTransferDetails;
|
|
313
|
+
case: "bankTransfer";
|
|
314
|
+
} | {
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: billing.v1.VietnamBankTransferDetails vietnam_bank_transfer = 15;
|
|
317
|
+
*/
|
|
318
|
+
value: VietnamBankTransferDetails;
|
|
319
|
+
case: "vietnamBankTransfer";
|
|
320
|
+
} | {
|
|
321
|
+
case: undefined;
|
|
322
|
+
value?: undefined;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: invoice.v1.FetchInvoicesResponse.Invoice.Bank bank = 12;
|
|
326
|
+
*/
|
|
327
|
+
bank?: FetchInvoicesResponse_Invoice_Bank;
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: optional string payment_method_id = 13;
|
|
330
|
+
*/
|
|
331
|
+
paymentMethodId?: string;
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: invoice.v1.FetchInvoicesResponse.Invoice.Metadata metadata = 14;
|
|
334
|
+
*/
|
|
335
|
+
metadata?: FetchInvoicesResponse_Invoice_Metadata;
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: optional string nspk_url = 16;
|
|
338
|
+
*/
|
|
339
|
+
nspkUrl?: string;
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: string currency = 17;
|
|
342
|
+
*/
|
|
343
|
+
currency: string;
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: string usdt_amount = 18;
|
|
346
|
+
*/
|
|
347
|
+
usdtAmount: string;
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: invoice.v1.PaymentQr payment_qr = 19;
|
|
350
|
+
*/
|
|
351
|
+
paymentQr?: PaymentQr;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.
|
|
355
|
+
* Use `create(FetchInvoicesResponse_InvoiceSchema)` to create a new message.
|
|
356
|
+
*/
|
|
357
|
+
export declare const FetchInvoicesResponse_InvoiceSchema: GenMessage<FetchInvoicesResponse_Invoice>;
|
|
358
|
+
/**
|
|
359
|
+
* @generated from message invoice.v1.FetchInvoicesResponse.Invoice.Bank
|
|
360
|
+
*/
|
|
361
|
+
export type FetchInvoicesResponse_Invoice_Bank = Message<"invoice.v1.FetchInvoicesResponse.Invoice.Bank"> & {
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: string id = 1;
|
|
364
|
+
*/
|
|
365
|
+
id: string;
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: string code = 2;
|
|
368
|
+
*/
|
|
369
|
+
code: string;
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: string name = 3;
|
|
372
|
+
*/
|
|
373
|
+
name: string;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.Bank.
|
|
377
|
+
* Use `create(FetchInvoicesResponse_Invoice_BankSchema)` to create a new message.
|
|
378
|
+
*/
|
|
379
|
+
export declare const FetchInvoicesResponse_Invoice_BankSchema: GenMessage<FetchInvoicesResponse_Invoice_Bank>;
|
|
380
|
+
/**
|
|
381
|
+
* @generated from message invoice.v1.FetchInvoicesResponse.Invoice.Metadata
|
|
382
|
+
*/
|
|
383
|
+
export type FetchInvoicesResponse_Invoice_Metadata = Message<"invoice.v1.FetchInvoicesResponse.Invoice.Metadata"> & {
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: invoice.v1.FetchInvoicesResponse.Invoice.Metadata.UrlConfig urls = 1;
|
|
386
|
+
*/
|
|
387
|
+
urls?: FetchInvoicesResponse_Invoice_Metadata_UrlConfig;
|
|
388
|
+
/**
|
|
389
|
+
* This field contains metadata provided by user during invoice creation
|
|
390
|
+
*
|
|
391
|
+
* @generated from field: optional string user_data = 2;
|
|
392
|
+
*/
|
|
393
|
+
userData?: string;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.Metadata.
|
|
397
|
+
* Use `create(FetchInvoicesResponse_Invoice_MetadataSchema)` to create a new message.
|
|
398
|
+
*/
|
|
399
|
+
export declare const FetchInvoicesResponse_Invoice_MetadataSchema: GenMessage<FetchInvoicesResponse_Invoice_Metadata>;
|
|
400
|
+
/**
|
|
401
|
+
* @generated from message invoice.v1.FetchInvoicesResponse.Invoice.Metadata.UrlConfig
|
|
402
|
+
*/
|
|
403
|
+
export type FetchInvoicesResponse_Invoice_Metadata_UrlConfig = Message<"invoice.v1.FetchInvoicesResponse.Invoice.Metadata.UrlConfig"> & {
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: optional string success_url = 1;
|
|
406
|
+
*/
|
|
407
|
+
successUrl?: string;
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: optional string fail_url = 2;
|
|
410
|
+
*/
|
|
411
|
+
failUrl?: string;
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.Metadata.UrlConfig.
|
|
415
|
+
* Use `create(FetchInvoicesResponse_Invoice_Metadata_UrlConfigSchema)` to create a new message.
|
|
416
|
+
*/
|
|
417
|
+
export declare const FetchInvoicesResponse_Invoice_Metadata_UrlConfigSchema: GenMessage<FetchInvoicesResponse_Invoice_Metadata_UrlConfig>;
|
|
418
|
+
/**
|
|
419
|
+
* @generated from message invoice.v1.FetchPaymentOptionsRequest
|
|
420
|
+
*/
|
|
421
|
+
export type FetchPaymentOptionsRequest = Message<"invoice.v1.FetchPaymentOptionsRequest"> & {
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: optional string amount = 2;
|
|
424
|
+
*/
|
|
425
|
+
amount?: string;
|
|
426
|
+
};
|
|
427
|
+
/**
|
|
428
|
+
* Describes the message invoice.v1.FetchPaymentOptionsRequest.
|
|
429
|
+
* Use `create(FetchPaymentOptionsRequestSchema)` to create a new message.
|
|
430
|
+
*/
|
|
431
|
+
export declare const FetchPaymentOptionsRequestSchema: GenMessage<FetchPaymentOptionsRequest>;
|
|
432
|
+
/**
|
|
433
|
+
* @generated from message invoice.v1.FetchPaymentOptionsResponse
|
|
434
|
+
*/
|
|
435
|
+
export type FetchPaymentOptionsResponse = Message<"invoice.v1.FetchPaymentOptionsResponse"> & {
|
|
436
|
+
/**
|
|
437
|
+
* @generated from field: repeated invoice.v1.FetchPaymentOptionsResponse.PaymentOption options = 1;
|
|
438
|
+
*/
|
|
439
|
+
options: FetchPaymentOptionsResponse_PaymentOption[];
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.
|
|
443
|
+
* Use `create(FetchPaymentOptionsResponseSchema)` to create a new message.
|
|
444
|
+
*/
|
|
445
|
+
export declare const FetchPaymentOptionsResponseSchema: GenMessage<FetchPaymentOptionsResponse>;
|
|
446
|
+
/**
|
|
447
|
+
* @generated from message invoice.v1.FetchPaymentOptionsResponse.AmountLimits
|
|
448
|
+
*/
|
|
449
|
+
export type FetchPaymentOptionsResponse_AmountLimits = Message<"invoice.v1.FetchPaymentOptionsResponse.AmountLimits"> & {
|
|
450
|
+
/**
|
|
451
|
+
* @generated from field: string min_amount = 1;
|
|
452
|
+
*/
|
|
453
|
+
minAmount: string;
|
|
454
|
+
/**
|
|
455
|
+
* @generated from field: string max_amount = 2;
|
|
456
|
+
*/
|
|
457
|
+
maxAmount: string;
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.AmountLimits.
|
|
461
|
+
* Use `create(FetchPaymentOptionsResponse_AmountLimitsSchema)` to create a new message.
|
|
462
|
+
*/
|
|
463
|
+
export declare const FetchPaymentOptionsResponse_AmountLimitsSchema: GenMessage<FetchPaymentOptionsResponse_AmountLimits>;
|
|
464
|
+
/**
|
|
465
|
+
* @generated from message invoice.v1.FetchPaymentOptionsResponse.BankOption
|
|
466
|
+
*/
|
|
467
|
+
export type FetchPaymentOptionsResponse_BankOption = Message<"invoice.v1.FetchPaymentOptionsResponse.BankOption"> & {
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: string code = 1;
|
|
470
|
+
*/
|
|
471
|
+
code: string;
|
|
472
|
+
/**
|
|
473
|
+
* @generated from field: string name = 2;
|
|
474
|
+
*/
|
|
475
|
+
name: string;
|
|
476
|
+
/**
|
|
477
|
+
* @generated from field: bool available = 3;
|
|
478
|
+
*/
|
|
479
|
+
available: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: invoice.v1.FetchPaymentOptionsResponse.AmountLimits limits = 4;
|
|
482
|
+
*/
|
|
483
|
+
limits?: FetchPaymentOptionsResponse_AmountLimits;
|
|
484
|
+
};
|
|
485
|
+
/**
|
|
486
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.BankOption.
|
|
487
|
+
* Use `create(FetchPaymentOptionsResponse_BankOptionSchema)` to create a new message.
|
|
488
|
+
*/
|
|
489
|
+
export declare const FetchPaymentOptionsResponse_BankOptionSchema: GenMessage<FetchPaymentOptionsResponse_BankOption>;
|
|
490
|
+
/**
|
|
491
|
+
* @generated from message invoice.v1.FetchPaymentOptionsResponse.PaymentOption
|
|
492
|
+
*/
|
|
493
|
+
export type FetchPaymentOptionsResponse_PaymentOption = Message<"invoice.v1.FetchPaymentOptionsResponse.PaymentOption"> & {
|
|
494
|
+
/**
|
|
495
|
+
* @generated from field: string id = 1;
|
|
496
|
+
*/
|
|
497
|
+
id: string;
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: string code = 2;
|
|
500
|
+
*/
|
|
501
|
+
code: string;
|
|
502
|
+
/**
|
|
503
|
+
* @generated from field: string type = 3;
|
|
504
|
+
*/
|
|
505
|
+
type: string;
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string name = 4;
|
|
508
|
+
*/
|
|
509
|
+
name: string;
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: bool available = 5;
|
|
512
|
+
*/
|
|
513
|
+
available: boolean;
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: invoice.v1.FetchPaymentOptionsResponse.AmountLimits limits = 6;
|
|
516
|
+
*/
|
|
517
|
+
limits?: FetchPaymentOptionsResponse_AmountLimits;
|
|
518
|
+
/**
|
|
519
|
+
* @generated from field: repeated invoice.v1.FetchPaymentOptionsResponse.BankOption banks = 7;
|
|
520
|
+
*/
|
|
521
|
+
banks: FetchPaymentOptionsResponse_BankOption[];
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.PaymentOption.
|
|
525
|
+
* Use `create(FetchPaymentOptionsResponse_PaymentOptionSchema)` to create a new message.
|
|
526
|
+
*/
|
|
527
|
+
export declare const FetchPaymentOptionsResponse_PaymentOptionSchema: GenMessage<FetchPaymentOptionsResponse_PaymentOption>;
|
|
528
|
+
/**
|
|
529
|
+
* @generated from service invoice.v1.PubInvoiceService
|
|
530
|
+
*/
|
|
531
|
+
export declare const PubInvoiceService: GenService<{
|
|
532
|
+
/**
|
|
533
|
+
* @generated from rpc invoice.v1.PubInvoiceService.CreateInvoice
|
|
534
|
+
*/
|
|
535
|
+
createInvoice: {
|
|
536
|
+
methodKind: "unary";
|
|
537
|
+
input: typeof CreateInvoiceRequestSchema;
|
|
538
|
+
output: typeof CreateInvoiceResponseSchema;
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
* @generated from rpc invoice.v1.PubInvoiceService.FetchInvoices
|
|
542
|
+
*/
|
|
543
|
+
fetchInvoices: {
|
|
544
|
+
methodKind: "unary";
|
|
545
|
+
input: typeof FetchInvoicesRequestSchema;
|
|
546
|
+
output: typeof FetchInvoicesResponseSchema;
|
|
547
|
+
};
|
|
548
|
+
/**
|
|
549
|
+
* TODO: change name to FetchInvoicePaymentMethods
|
|
550
|
+
* TODO: add FetchPayoutMethods method
|
|
551
|
+
*
|
|
552
|
+
* @generated from rpc invoice.v1.PubInvoiceService.FetchPaymentOptions
|
|
553
|
+
*/
|
|
554
|
+
fetchPaymentOptions: {
|
|
555
|
+
methodKind: "unary";
|
|
556
|
+
input: typeof FetchPaymentOptionsRequestSchema;
|
|
557
|
+
output: typeof FetchPaymentOptionsResponseSchema;
|
|
558
|
+
};
|
|
559
|
+
}>;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.3 with parameter "target=ts"
|
|
2
|
+
// @generated from file invoice/v1/invoice_public.proto (package invoice.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import { file_payment_v1_types } from "./types_pb";
|
|
7
|
+
import { file_billing_v1_types } from "./types_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file invoice/v1/invoice_public.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_invoice_v1_invoice_public = /*@__PURE__*/ fileDesc("Ch9pbnZvaWNlL3YxL2ludm9pY2VfcHVibGljLnByb3RvEgppbnZvaWNlLnYxIpsBCglQYXltZW50UXISDgoGZm9ybWF0GAEgASgJEhMKC2Vtdl9wYXlsb2FkGAIgASgJEhYKCWltYWdlX3VybBgDIAEoCUgAiAEBEhYKDnBheW1lbnRfYW1vdW50GAQgASgJEhgKEHBheW1lbnRfY3VycmVuY3kYBSABKAkSEQoJcmVmZXJlbmNlGAYgASgJQgwKCl9pbWFnZV91cmwizQQKFENyZWF0ZUludm9pY2VSZXF1ZXN0EhgKC2V4dGVybmFsX2lkGAEgASgJSACIAQESDgoGYW1vdW50GAIgASgJEj4KCnVybF9jb25maWcYAyABKAsyKi5pbnZvaWNlLnYxLkNyZWF0ZUludm9pY2VSZXF1ZXN0LlV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JbnZvaWNlLlYxygIKSW52b2ljZVxWMeICFkludm9pY2VcVjFcR1BCTWV0YWRhdGHqAgtJbnZvaWNlOjpWMWIGcHJvdG8z", [file_google_protobuf_timestamp, file_google_protobuf_struct, file_payment_v1_types, file_billing_v1_types, file_google_protobuf_duration]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message invoice.v1.PaymentQr.
|
|
14
|
+
* Use `create(PaymentQrSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const PaymentQrSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message invoice.v1.CreateInvoiceRequest.
|
|
19
|
+
* Use `create(CreateInvoiceRequestSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const CreateInvoiceRequestSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message invoice.v1.CreateInvoiceRequest.UrlConfig.
|
|
24
|
+
* Use `create(CreateInvoiceRequest_UrlConfigSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const CreateInvoiceRequest_UrlConfigSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 1, 0);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message invoice.v1.CreateInvoiceRequest.QR.
|
|
29
|
+
* Use `create(CreateInvoiceRequest_QRSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const CreateInvoiceRequest_QRSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 1, 1);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message invoice.v1.CreateInvoiceResponse.
|
|
34
|
+
* Use `create(CreateInvoiceResponseSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const CreateInvoiceResponseSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 2);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message invoice.v1.CreateInvoiceResponse.Bank.
|
|
39
|
+
* Use `create(CreateInvoiceResponse_BankSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const CreateInvoiceResponse_BankSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 2, 0);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message invoice.v1.FetchInvoicesRequest.
|
|
44
|
+
* Use `create(FetchInvoicesRequestSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const FetchInvoicesRequestSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 3);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.
|
|
49
|
+
* Use `create(FetchInvoicesResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const FetchInvoicesResponseSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 4);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.
|
|
54
|
+
* Use `create(FetchInvoicesResponse_InvoiceSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const FetchInvoicesResponse_InvoiceSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 4, 0);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.Bank.
|
|
59
|
+
* Use `create(FetchInvoicesResponse_Invoice_BankSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const FetchInvoicesResponse_Invoice_BankSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 4, 0, 0);
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.Metadata.
|
|
64
|
+
* Use `create(FetchInvoicesResponse_Invoice_MetadataSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const FetchInvoicesResponse_Invoice_MetadataSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 4, 0, 1);
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message invoice.v1.FetchInvoicesResponse.Invoice.Metadata.UrlConfig.
|
|
69
|
+
* Use `create(FetchInvoicesResponse_Invoice_Metadata_UrlConfigSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const FetchInvoicesResponse_Invoice_Metadata_UrlConfigSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 4, 0, 1, 0);
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message invoice.v1.FetchPaymentOptionsRequest.
|
|
74
|
+
* Use `create(FetchPaymentOptionsRequestSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const FetchPaymentOptionsRequestSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 5);
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.
|
|
79
|
+
* Use `create(FetchPaymentOptionsResponseSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const FetchPaymentOptionsResponseSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 6);
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.AmountLimits.
|
|
84
|
+
* Use `create(FetchPaymentOptionsResponse_AmountLimitsSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const FetchPaymentOptionsResponse_AmountLimitsSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 6, 0);
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.BankOption.
|
|
89
|
+
* Use `create(FetchPaymentOptionsResponse_BankOptionSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const FetchPaymentOptionsResponse_BankOptionSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 6, 1);
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message invoice.v1.FetchPaymentOptionsResponse.PaymentOption.
|
|
94
|
+
* Use `create(FetchPaymentOptionsResponse_PaymentOptionSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const FetchPaymentOptionsResponse_PaymentOptionSchema = /*@__PURE__*/ messageDesc(file_invoice_v1_invoice_public, 6, 2);
|
|
97
|
+
/**
|
|
98
|
+
* @generated from service invoice.v1.PubInvoiceService
|
|
99
|
+
*/
|
|
100
|
+
export const PubInvoiceService = /*@__PURE__*/ serviceDesc(file_invoice_v1_invoice_public, 0);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { TransactionMode, TransactionStatus } from "../../payment/v1/types_pb";
|
|
2
|
+
export { file_payment_v1_types } from "../../payment/v1/types_pb";
|
|
3
|
+
export type { BankTransferDetails, CardDetails, PhoneDetails, VietnamBankTransferDetails } from "../../billing/v1/types_pb";
|
|
4
|
+
export { file_billing_v1_types } from "../../billing/v1/types_pb";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './market_public_pb';
|