@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,72 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file bank/v1/bank_public.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_bank_v1_bank_public: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message bank.v1.PubBankServiceFetchBanksRequest
|
|
9
|
+
*/
|
|
10
|
+
export type PubBankServiceFetchBanksRequest = Message<"bank.v1.PubBankServiceFetchBanksRequest"> & {};
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message bank.v1.PubBankServiceFetchBanksRequest.
|
|
13
|
+
* Use `create(PubBankServiceFetchBanksRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export declare const PubBankServiceFetchBanksRequestSchema: GenMessage<PubBankServiceFetchBanksRequest>;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from message bank.v1.PubBankServiceFetchBanksResponse
|
|
18
|
+
*/
|
|
19
|
+
export type PubBankServiceFetchBanksResponse = Message<"bank.v1.PubBankServiceFetchBanksResponse"> & {
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: repeated bank.v1.PubBankServiceFetchBanksResponse.Bank banks = 1;
|
|
22
|
+
*/
|
|
23
|
+
banks: PubBankServiceFetchBanksResponse_Bank[];
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: uint64 total_count = 2 [jstype = JS_STRING];
|
|
26
|
+
*/
|
|
27
|
+
totalCount: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message bank.v1.PubBankServiceFetchBanksResponse.
|
|
31
|
+
* Use `create(PubBankServiceFetchBanksResponseSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export declare const PubBankServiceFetchBanksResponseSchema: GenMessage<PubBankServiceFetchBanksResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from message bank.v1.PubBankServiceFetchBanksResponse.Bank
|
|
36
|
+
*/
|
|
37
|
+
export type PubBankServiceFetchBanksResponse_Bank = Message<"bank.v1.PubBankServiceFetchBanksResponse.Bank"> & {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string id = 1;
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: string code = 2;
|
|
44
|
+
*/
|
|
45
|
+
code: string;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: string name = 3;
|
|
48
|
+
*/
|
|
49
|
+
name: string;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: bool qr_allowed = 4;
|
|
52
|
+
*/
|
|
53
|
+
qrAllowed: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message bank.v1.PubBankServiceFetchBanksResponse.Bank.
|
|
57
|
+
* Use `create(PubBankServiceFetchBanksResponse_BankSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const PubBankServiceFetchBanksResponse_BankSchema: GenMessage<PubBankServiceFetchBanksResponse_Bank>;
|
|
60
|
+
/**
|
|
61
|
+
* @generated from service bank.v1.PubBankService
|
|
62
|
+
*/
|
|
63
|
+
export declare const PubBankService: GenService<{
|
|
64
|
+
/**
|
|
65
|
+
* @generated from rpc bank.v1.PubBankService.FetchBanks
|
|
66
|
+
*/
|
|
67
|
+
fetchBanks: {
|
|
68
|
+
methodKind: "unary";
|
|
69
|
+
input: typeof PubBankServiceFetchBanksRequestSchema;
|
|
70
|
+
output: typeof PubBankServiceFetchBanksResponseSchema;
|
|
71
|
+
};
|
|
72
|
+
}>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.3 with parameter "target=ts"
|
|
2
|
+
// @generated from file bank/v1/bank_public.proto (package bank.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file bank/v1/bank_public.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_bank_v1_bank_public = /*@__PURE__*/ fileDesc("ChliYW5rL3YxL2JhbmtfcHVibGljLnByb3RvEgdiYW5rLnYxIiEKH1B1YkJhbmtTZXJ2aWNlRmV0Y2hCYW5rc1JlcXVlc3QivgEKIFB1YkJhbmtTZXJ2aWNlRmV0Y2hCYW5rc1Jlc3BvbnNlEj0KBWJhbmtzGAEgAygLMi4uYmFuay52MS5QdWJCYW5rU2VydmljZUZldGNoQmFua3NSZXNwb25zZS5CYW5rEhcKC3RvdGFsX2NvdW50GAIgASgEQgIwARpCCgRCYW5rEgoKAmlkGAEgASgJEgwKBGNvZGUYAiABKAkSDAoEbmFtZRgDIAEoCRISCgpxcl9hbGxvd2VkGAQgASgIMnMKDlB1YkJhbmtTZXJ2aWNlEmEKCkZldGNoQmFua3MSKC5iYW5rLnYxLlB1YkJhbmtTZXJ2aWNlRmV0Y2hCYW5rc1JlcXVlc3QaKS5iYW5rLnYxLlB1YkJhbmtTZXJ2aWNlRmV0Y2hCYW5rc1Jlc3BvbnNlQoIBCgtjb20uYmFuay52MUIPQmFua1B1YmxpY1Byb3RvUAFaJXBheXByb2MvcGtnL2dlbi9wdWJsaWMvYmFuay92MTtiYW5rdjGiAgNCWFiqAgdCYW5rLlYxygIHQmFua1xWMeICE0JhbmtcVjFcR1BCTWV0YWRhdGHqAghCYW5rOjpWMWIGcHJvdG8z");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message bank.v1.PubBankServiceFetchBanksRequest.
|
|
11
|
+
* Use `create(PubBankServiceFetchBanksRequestSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const PubBankServiceFetchBanksRequestSchema = /*@__PURE__*/ messageDesc(file_bank_v1_bank_public, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message bank.v1.PubBankServiceFetchBanksResponse.
|
|
16
|
+
* Use `create(PubBankServiceFetchBanksResponseSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const PubBankServiceFetchBanksResponseSchema = /*@__PURE__*/ messageDesc(file_bank_v1_bank_public, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message bank.v1.PubBankServiceFetchBanksResponse.Bank.
|
|
21
|
+
* Use `create(PubBankServiceFetchBanksResponse_BankSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const PubBankServiceFetchBanksResponse_BankSchema = /*@__PURE__*/ messageDesc(file_bank_v1_bank_public, 1, 0);
|
|
24
|
+
/**
|
|
25
|
+
* @generated from service bank.v1.PubBankService
|
|
26
|
+
*/
|
|
27
|
+
export const PubBankService = /*@__PURE__*/ serviceDesc(file_bank_v1_bank_public, 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './bank_public_pb';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types_pb';
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file billing/v1/types.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_billing_v1_types: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message billing.v1.CardDetails
|
|
9
|
+
*/
|
|
10
|
+
export type CardDetails = Message<"billing.v1.CardDetails"> & {
|
|
11
|
+
/**
|
|
12
|
+
* @generated from field: string holder_name = 1;
|
|
13
|
+
*/
|
|
14
|
+
holderName: string;
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string card_number = 2;
|
|
17
|
+
*/
|
|
18
|
+
cardNumber: string;
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string account = 3;
|
|
21
|
+
*/
|
|
22
|
+
account: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message billing.v1.CardDetails.
|
|
26
|
+
* Use `create(CardDetailsSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export declare const CardDetailsSchema: GenMessage<CardDetails>;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message billing.v1.PhoneDetails
|
|
31
|
+
*/
|
|
32
|
+
export type PhoneDetails = Message<"billing.v1.PhoneDetails"> & {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string holder_name = 1;
|
|
35
|
+
*/
|
|
36
|
+
holderName: string;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string phone = 2;
|
|
39
|
+
*/
|
|
40
|
+
phone: string;
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: string account = 3;
|
|
43
|
+
*/
|
|
44
|
+
account: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message billing.v1.PhoneDetails.
|
|
48
|
+
* Use `create(PhoneDetailsSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const PhoneDetailsSchema: GenMessage<PhoneDetails>;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message billing.v1.BankTransferDetails
|
|
53
|
+
*/
|
|
54
|
+
export type BankTransferDetails = Message<"billing.v1.BankTransferDetails"> & {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string holder_name = 1;
|
|
57
|
+
*/
|
|
58
|
+
holderName: string;
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string account = 2;
|
|
61
|
+
*/
|
|
62
|
+
account: string;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string bik = 3;
|
|
65
|
+
*/
|
|
66
|
+
bik: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Describes the message billing.v1.BankTransferDetails.
|
|
70
|
+
* Use `create(BankTransferDetailsSchema)` to create a new message.
|
|
71
|
+
*/
|
|
72
|
+
export declare const BankTransferDetailsSchema: GenMessage<BankTransferDetails>;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from message billing.v1.VietnamBankTransferDetails
|
|
75
|
+
*/
|
|
76
|
+
export type VietnamBankTransferDetails = Message<"billing.v1.VietnamBankTransferDetails"> & {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: string holder_name = 1;
|
|
79
|
+
*/
|
|
80
|
+
holderName: string;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string account = 2;
|
|
83
|
+
*/
|
|
84
|
+
account: string;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message billing.v1.VietnamBankTransferDetails.
|
|
88
|
+
* Use `create(VietnamBankTransferDetailsSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export declare const VietnamBankTransferDetailsSchema: GenMessage<VietnamBankTransferDetails>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.3 with parameter "target=ts"
|
|
2
|
+
// @generated from file billing/v1/types.proto (package billing.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file billing/v1/types.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_billing_v1_types = /*@__PURE__*/ fileDesc("ChZiaWxsaW5nL3YxL3R5cGVzLnByb3RvEgpiaWxsaW5nLnYxIkgKC0NhcmREZXRhaWxzEhMKC2hvbGRlcl9uYW1lGAEgASgJEhMKC2NhcmRfbnVtYmVyGAIgASgJEg8KB2FjY291bnQYAyABKAkiQwoMUGhvbmVEZXRhaWxzEhMKC2hvbGRlcl9uYW1lGAEgASgJEg0KBXBob25lGAIgASgJEg8KB2FjY291bnQYAyABKAkiSAoTQmFua1RyYW5zZmVyRGV0YWlscxITCgtob2xkZXJfbmFtZRgBIAEoCRIPCgdhY2NvdW50GAIgASgJEgsKA2JpaxgDIAEoCSJCChpWaWV0bmFtQmFua1RyYW5zZmVyRGV0YWlscxITCgtob2xkZXJfbmFtZRgBIAEoCRIPCgdhY2NvdW50GAIgASgJQpIBCg5jb20uYmlsbGluZy52MUIKVHlwZXNQcm90b1ABWitwYXlwcm9jL3BrZy9nZW4vc2hhcmVkL2JpbGxpbmcvdjE7YmlsbGluZ3YxogIDQlhYqgIKQmlsbGluZy5WMcoCCkJpbGxpbmdcVjHiAhZCaWxsaW5nXFYxXEdQQk1ldGFkYXRh6gILQmlsbGluZzo6VjFiBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message billing.v1.CardDetails.
|
|
11
|
+
* Use `create(CardDetailsSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const CardDetailsSchema = /*@__PURE__*/ messageDesc(file_billing_v1_types, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message billing.v1.PhoneDetails.
|
|
16
|
+
* Use `create(PhoneDetailsSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const PhoneDetailsSchema = /*@__PURE__*/ messageDesc(file_billing_v1_types, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message billing.v1.BankTransferDetails.
|
|
21
|
+
* Use `create(BankTransferDetailsSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const BankTransferDetailsSchema = /*@__PURE__*/ messageDesc(file_billing_v1_types, 2);
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message billing.v1.VietnamBankTransferDetails.
|
|
26
|
+
* Use `create(VietnamBankTransferDetailsSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const VietnamBankTransferDetailsSchema = /*@__PURE__*/ messageDesc(file_billing_v1_types, 3);
|