@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,42 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file market/v1/market_public.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_market_v1_market_public: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
* @generated from message market.v1.FetchBalanceRequest
|
|
9
|
+
*/
|
|
10
|
+
export type FetchBalanceRequest = Message<"market.v1.FetchBalanceRequest"> & {};
|
|
11
|
+
/**
|
|
12
|
+
* Describes the message market.v1.FetchBalanceRequest.
|
|
13
|
+
* Use `create(FetchBalanceRequestSchema)` to create a new message.
|
|
14
|
+
*/
|
|
15
|
+
export declare const FetchBalanceRequestSchema: GenMessage<FetchBalanceRequest>;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from message market.v1.FetchBalanceResponse
|
|
18
|
+
*/
|
|
19
|
+
export type FetchBalanceResponse = Message<"market.v1.FetchBalanceResponse"> & {
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string balance = 1;
|
|
22
|
+
*/
|
|
23
|
+
balance: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message market.v1.FetchBalanceResponse.
|
|
27
|
+
* Use `create(FetchBalanceResponseSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const FetchBalanceResponseSchema: GenMessage<FetchBalanceResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from service market.v1.PubMarketService
|
|
32
|
+
*/
|
|
33
|
+
export declare const PubMarketService: GenService<{
|
|
34
|
+
/**
|
|
35
|
+
* @generated from rpc market.v1.PubMarketService.FetchBalance
|
|
36
|
+
*/
|
|
37
|
+
fetchBalance: {
|
|
38
|
+
methodKind: "unary";
|
|
39
|
+
input: typeof FetchBalanceRequestSchema;
|
|
40
|
+
output: typeof FetchBalanceResponseSchema;
|
|
41
|
+
};
|
|
42
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.3 with parameter "target=ts"
|
|
2
|
+
// @generated from file market/v1/market_public.proto (package market.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file market/v1/market_public.proto.
|
|
7
|
+
*/
|
|
8
|
+
export const file_market_v1_market_public = /*@__PURE__*/ fileDesc("Ch1tYXJrZXQvdjEvbWFya2V0X3B1YmxpYy5wcm90bxIJbWFya2V0LnYxIhUKE0ZldGNoQmFsYW5jZVJlcXVlc3QiJwoURmV0Y2hCYWxhbmNlUmVzcG9uc2USDwoHYmFsYW5jZRgBIAEoCTJjChBQdWJNYXJrZXRTZXJ2aWNlEk8KDEZldGNoQmFsYW5jZRIeLm1hcmtldC52MS5GZXRjaEJhbGFuY2VSZXF1ZXN0Gh8ubWFya2V0LnYxLkZldGNoQmFsYW5jZVJlc3BvbnNlQpIBCg1jb20ubWFya2V0LnYxQhFNYXJrZXRQdWJsaWNQcm90b1ABWilwYXlwcm9jL3BrZy9nZW4vcHVibGljL21hcmtldC92MTttYXJrZXR2MaICA01YWKoCCU1hcmtldC5WMcoCCU1hcmtldFxWMeICFU1hcmtldFxWMVxHUEJNZXRhZGF0YeoCCk1hcmtldDo6VjFiBnByb3RvMw");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the message market.v1.FetchBalanceRequest.
|
|
11
|
+
* Use `create(FetchBalanceRequestSchema)` to create a new message.
|
|
12
|
+
*/
|
|
13
|
+
export const FetchBalanceRequestSchema = /*@__PURE__*/ messageDesc(file_market_v1_market_public, 0);
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message market.v1.FetchBalanceResponse.
|
|
16
|
+
* Use `create(FetchBalanceResponseSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const FetchBalanceResponseSchema = /*@__PURE__*/ messageDesc(file_market_v1_market_public, 1);
|
|
19
|
+
/**
|
|
20
|
+
* @generated from service market.v1.PubMarketService
|
|
21
|
+
*/
|
|
22
|
+
export const PubMarketService = /*@__PURE__*/ serviceDesc(file_market_v1_market_public, 0);
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { BankTransferDetails, CardDetails, PhoneDetails } from "./types_pb";
|
|
4
|
+
import type { TransactionMode, TransactionStatus, TransactionType } from "./types_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file payment/v1/payment_public.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_payment_v1_payment_public: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message payment.v1.CreatePayoutRequest
|
|
12
|
+
*/
|
|
13
|
+
export type CreatePayoutRequest = Message<"payment.v1.CreatePayoutRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: optional string external_id = 1;
|
|
16
|
+
*/
|
|
17
|
+
externalId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string amount = 2;
|
|
20
|
+
*/
|
|
21
|
+
amount: string;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from oneof payment.v1.CreatePayoutRequest.payout_details
|
|
24
|
+
*/
|
|
25
|
+
payoutDetails: {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: billing.v1.CardDetails card = 3;
|
|
28
|
+
*/
|
|
29
|
+
value: CardDetails;
|
|
30
|
+
case: "card";
|
|
31
|
+
} | {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: billing.v1.PhoneDetails sbp = 4;
|
|
34
|
+
*/
|
|
35
|
+
value: PhoneDetails;
|
|
36
|
+
case: "sbp";
|
|
37
|
+
} | {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: billing.v1.BankTransferDetails bank_transfer = 5;
|
|
40
|
+
*/
|
|
41
|
+
value: BankTransferDetails;
|
|
42
|
+
case: "bankTransfer";
|
|
43
|
+
} | {
|
|
44
|
+
case: undefined;
|
|
45
|
+
value?: undefined;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: optional payment.v1.TransactionMode mode = 6;
|
|
49
|
+
*/
|
|
50
|
+
mode?: TransactionMode;
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: optional payment.v1.CreatePayoutRequest.UrlConfig url_config = 7;
|
|
53
|
+
*/
|
|
54
|
+
urlConfig?: CreatePayoutRequest_UrlConfig;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message payment.v1.CreatePayoutRequest.
|
|
58
|
+
* Use `create(CreatePayoutRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
export declare const CreatePayoutRequestSchema: GenMessage<CreatePayoutRequest>;
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message payment.v1.CreatePayoutRequest.UrlConfig
|
|
63
|
+
*/
|
|
64
|
+
export type CreatePayoutRequest_UrlConfig = Message<"payment.v1.CreatePayoutRequest.UrlConfig"> & {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: optional string hook_url = 1;
|
|
67
|
+
*/
|
|
68
|
+
hookUrl?: string;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Describes the message payment.v1.CreatePayoutRequest.UrlConfig.
|
|
72
|
+
* Use `create(CreatePayoutRequest_UrlConfigSchema)` to create a new message.
|
|
73
|
+
*/
|
|
74
|
+
export declare const CreatePayoutRequest_UrlConfigSchema: GenMessage<CreatePayoutRequest_UrlConfig>;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from message payment.v1.CreatePayoutResponse
|
|
77
|
+
*/
|
|
78
|
+
export type CreatePayoutResponse = Message<"payment.v1.CreatePayoutResponse"> & {
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: string id = 1;
|
|
81
|
+
*/
|
|
82
|
+
id: string;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message payment.v1.CreatePayoutResponse.
|
|
86
|
+
* Use `create(CreatePayoutResponseSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export declare const CreatePayoutResponseSchema: GenMessage<CreatePayoutResponse>;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from message payment.v1.PubFetchTransactionsRequest
|
|
91
|
+
*/
|
|
92
|
+
export type PubFetchTransactionsRequest = Message<"payment.v1.PubFetchTransactionsRequest"> & {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: int64 limit = 1 [jstype = JS_STRING];
|
|
95
|
+
*/
|
|
96
|
+
limit: string;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: int64 offset = 2 [jstype = JS_STRING];
|
|
99
|
+
*/
|
|
100
|
+
offset: string;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: repeated payment.v1.TransactionStatus statuses = 3;
|
|
103
|
+
*/
|
|
104
|
+
statuses: TransactionStatus[];
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: optional google.protobuf.Timestamp created_after = 4;
|
|
107
|
+
*/
|
|
108
|
+
createdAfter?: Timestamp;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: optional google.protobuf.Timestamp created_before = 5;
|
|
111
|
+
*/
|
|
112
|
+
createdBefore?: Timestamp;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: optional google.protobuf.Timestamp expires_after = 6;
|
|
115
|
+
*/
|
|
116
|
+
expiresAfter?: Timestamp;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: optional google.protobuf.Timestamp expires_before = 7;
|
|
119
|
+
*/
|
|
120
|
+
expiresBefore?: Timestamp;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: optional string amount_min = 8;
|
|
123
|
+
*/
|
|
124
|
+
amountMin?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: optional string amount_max = 9;
|
|
127
|
+
*/
|
|
128
|
+
amountMax?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: optional string external_id = 10;
|
|
131
|
+
*/
|
|
132
|
+
externalId?: string;
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: optional payment.v1.TransactionType type = 11;
|
|
135
|
+
*/
|
|
136
|
+
type?: TransactionType;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message payment.v1.PubFetchTransactionsRequest.
|
|
140
|
+
* Use `create(PubFetchTransactionsRequestSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export declare const PubFetchTransactionsRequestSchema: GenMessage<PubFetchTransactionsRequest>;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from message payment.v1.PubFetchTransactionsResponse
|
|
145
|
+
*/
|
|
146
|
+
export type PubFetchTransactionsResponse = Message<"payment.v1.PubFetchTransactionsResponse"> & {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: repeated payment.v1.PubFetchTransactionsResponse.Transaction transactions = 1;
|
|
149
|
+
*/
|
|
150
|
+
transactions: PubFetchTransactionsResponse_Transaction[];
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message payment.v1.PubFetchTransactionsResponse.
|
|
154
|
+
* Use `create(PubFetchTransactionsResponseSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export declare const PubFetchTransactionsResponseSchema: GenMessage<PubFetchTransactionsResponse>;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message payment.v1.PubFetchTransactionsResponse.Transaction
|
|
159
|
+
*/
|
|
160
|
+
export type PubFetchTransactionsResponse_Transaction = Message<"payment.v1.PubFetchTransactionsResponse.Transaction"> & {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string id = 1;
|
|
163
|
+
*/
|
|
164
|
+
id: string;
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: optional string external_id = 2;
|
|
167
|
+
*/
|
|
168
|
+
externalId?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: payment.v1.TransactionStatus status = 3;
|
|
171
|
+
*/
|
|
172
|
+
status: TransactionStatus;
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: string amount = 4;
|
|
175
|
+
*/
|
|
176
|
+
amount: string;
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
179
|
+
*/
|
|
180
|
+
createdAt?: Timestamp;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: optional google.protobuf.Timestamp expires_at = 6;
|
|
183
|
+
*/
|
|
184
|
+
expiresAt?: Timestamp;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from oneof payment.v1.PubFetchTransactionsResponse.Transaction.billing_details
|
|
187
|
+
*/
|
|
188
|
+
billingDetails: {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: billing.v1.CardDetails card = 7;
|
|
191
|
+
*/
|
|
192
|
+
value: CardDetails;
|
|
193
|
+
case: "card";
|
|
194
|
+
} | {
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: billing.v1.PhoneDetails sbp = 8;
|
|
197
|
+
*/
|
|
198
|
+
value: PhoneDetails;
|
|
199
|
+
case: "sbp";
|
|
200
|
+
} | {
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: billing.v1.BankTransferDetails bank_transfer = 9;
|
|
203
|
+
*/
|
|
204
|
+
value: BankTransferDetails;
|
|
205
|
+
case: "bankTransfer";
|
|
206
|
+
} | {
|
|
207
|
+
case: undefined;
|
|
208
|
+
value?: undefined;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: payment.v1.TransactionType type = 10;
|
|
212
|
+
*/
|
|
213
|
+
type: TransactionType;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message payment.v1.PubFetchTransactionsResponse.Transaction.
|
|
217
|
+
* Use `create(PubFetchTransactionsResponse_TransactionSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export declare const PubFetchTransactionsResponse_TransactionSchema: GenMessage<PubFetchTransactionsResponse_Transaction>;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from message payment.v1.SetInvoicePaymentMethodRequest
|
|
222
|
+
*/
|
|
223
|
+
export type SetInvoicePaymentMethodRequest = Message<"payment.v1.SetInvoicePaymentMethodRequest"> & {
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: string payment_method_id = 1;
|
|
226
|
+
*/
|
|
227
|
+
paymentMethodId: string;
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: optional string invoice_id = 2;
|
|
230
|
+
*/
|
|
231
|
+
invoiceId?: string;
|
|
232
|
+
};
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message payment.v1.SetInvoicePaymentMethodRequest.
|
|
235
|
+
* Use `create(SetInvoicePaymentMethodRequestSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export declare const SetInvoicePaymentMethodRequestSchema: GenMessage<SetInvoicePaymentMethodRequest>;
|
|
238
|
+
/**
|
|
239
|
+
* @generated from message payment.v1.SetInvoicePaymentMethodResponse
|
|
240
|
+
*/
|
|
241
|
+
export type SetInvoicePaymentMethodResponse = Message<"payment.v1.SetInvoicePaymentMethodResponse"> & {};
|
|
242
|
+
/**
|
|
243
|
+
* Describes the message payment.v1.SetInvoicePaymentMethodResponse.
|
|
244
|
+
* Use `create(SetInvoicePaymentMethodResponseSchema)` to create a new message.
|
|
245
|
+
*/
|
|
246
|
+
export declare const SetInvoicePaymentMethodResponseSchema: GenMessage<SetInvoicePaymentMethodResponse>;
|
|
247
|
+
/**
|
|
248
|
+
* @generated from message payment.v1.SetInvoicePaidByUserRequest
|
|
249
|
+
*/
|
|
250
|
+
export type SetInvoicePaidByUserRequest = Message<"payment.v1.SetInvoicePaidByUserRequest"> & {
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: string invoice_id = 1;
|
|
253
|
+
*/
|
|
254
|
+
invoiceId: string;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Describes the message payment.v1.SetInvoicePaidByUserRequest.
|
|
258
|
+
* Use `create(SetInvoicePaidByUserRequestSchema)` to create a new message.
|
|
259
|
+
*/
|
|
260
|
+
export declare const SetInvoicePaidByUserRequestSchema: GenMessage<SetInvoicePaidByUserRequest>;
|
|
261
|
+
/**
|
|
262
|
+
* @generated from message payment.v1.SetInvoicePaidByUserResponse
|
|
263
|
+
*/
|
|
264
|
+
export type SetInvoicePaidByUserResponse = Message<"payment.v1.SetInvoicePaidByUserResponse"> & {};
|
|
265
|
+
/**
|
|
266
|
+
* Describes the message payment.v1.SetInvoicePaidByUserResponse.
|
|
267
|
+
* Use `create(SetInvoicePaidByUserResponseSchema)` to create a new message.
|
|
268
|
+
*/
|
|
269
|
+
export declare const SetInvoicePaidByUserResponseSchema: GenMessage<SetInvoicePaidByUserResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from message payment.v1.CancelInvoiceRequest
|
|
272
|
+
*/
|
|
273
|
+
export type CancelInvoiceRequest = Message<"payment.v1.CancelInvoiceRequest"> & {
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string invoice_id = 1;
|
|
276
|
+
*/
|
|
277
|
+
invoiceId: string;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message payment.v1.CancelInvoiceRequest.
|
|
281
|
+
* Use `create(CancelInvoiceRequestSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const CancelInvoiceRequestSchema: GenMessage<CancelInvoiceRequest>;
|
|
284
|
+
/**
|
|
285
|
+
* @generated from message payment.v1.CancelInvoiceResponse
|
|
286
|
+
*/
|
|
287
|
+
export type CancelInvoiceResponse = Message<"payment.v1.CancelInvoiceResponse"> & {};
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message payment.v1.CancelInvoiceResponse.
|
|
290
|
+
* Use `create(CancelInvoiceResponseSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export declare const CancelInvoiceResponseSchema: GenMessage<CancelInvoiceResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* @generated from service payment.v1.PubPaymentService
|
|
295
|
+
*/
|
|
296
|
+
export declare const PubPaymentService: GenService<{
|
|
297
|
+
/**
|
|
298
|
+
* @generated from rpc payment.v1.PubPaymentService.CreatePayout
|
|
299
|
+
*/
|
|
300
|
+
createPayout: {
|
|
301
|
+
methodKind: "unary";
|
|
302
|
+
input: typeof CreatePayoutRequestSchema;
|
|
303
|
+
output: typeof CreatePayoutResponseSchema;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* @generated from rpc payment.v1.PubPaymentService.PubFetchTransactions
|
|
307
|
+
*/
|
|
308
|
+
pubFetchTransactions: {
|
|
309
|
+
methodKind: "unary";
|
|
310
|
+
input: typeof PubFetchTransactionsRequestSchema;
|
|
311
|
+
output: typeof PubFetchTransactionsResponseSchema;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* @generated from rpc payment.v1.PubPaymentService.SetInvoicePaymentMethod
|
|
315
|
+
*/
|
|
316
|
+
setInvoicePaymentMethod: {
|
|
317
|
+
methodKind: "unary";
|
|
318
|
+
input: typeof SetInvoicePaymentMethodRequestSchema;
|
|
319
|
+
output: typeof SetInvoicePaymentMethodResponseSchema;
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* @generated from rpc payment.v1.PubPaymentService.SetInvoicePaidByUser
|
|
323
|
+
*/
|
|
324
|
+
setInvoicePaidByUser: {
|
|
325
|
+
methodKind: "unary";
|
|
326
|
+
input: typeof SetInvoicePaidByUserRequestSchema;
|
|
327
|
+
output: typeof SetInvoicePaidByUserResponseSchema;
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* @generated from rpc payment.v1.PubPaymentService.CancelInvoice
|
|
331
|
+
*/
|
|
332
|
+
cancelInvoice: {
|
|
333
|
+
methodKind: "unary";
|
|
334
|
+
input: typeof CancelInvoiceRequestSchema;
|
|
335
|
+
output: typeof CancelInvoiceResponseSchema;
|
|
336
|
+
};
|
|
337
|
+
}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.6.3 with parameter "target=ts"
|
|
2
|
+
// @generated from file payment/v1/payment_public.proto (package payment.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
6
|
+
import { file_billing_v1_types } from "./types_pb";
|
|
7
|
+
import { file_payment_v1_types } from "./types_pb";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file payment/v1/payment_public.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_payment_v1_payment_public = /*@__PURE__*/ fileDesc("Ch9wYXltZW50L3YxL3BheW1lbnRfcHVibGljLnByb3RvEgpwYXltZW50LnYxIqoDChNDcmVhdGVQYXlvdXRSZXF1ZXN0EhgKC2V4dGVybmFsX2lkGAEgASgJSAGIAQESDgoGYW1vdW50GAIgASgJEicKBGNhcmQYAyABKAsyFy5iaWxsaW5nLnYxLkNhcmREZXRhaWxzSAASJwoDc2JwGAQgASgLMhguYmlsbGluZy52MS5QaG9uZURldGFpbHNIABI4Cg1iYW5rX3RyYW5zZmVyGAUgASgLMh8uYmlsbGluZy52MS5CYW5rVHJhbnNmZXJEZXRhaWxzSAASLgoEbW9kZRgGIAEoDjIbLnBheW1lbnQudjEuVHJhbnNhY3Rpb25Nb2RlSAKIAQESQgoKdXJsX2NvbmZpZxgHIAEoCzIpLnBheW1lbnQudjEuQ3JlYXRlUGF5b3V0UmVxdWVzdC5VcmxDb25maWdIA4gBARovCglVcmxDb25maWcSFQoIaG9va191cmwYASABKAlIAIgBAUILCglfaG9va191cmxCEAoOcGF5b3V0X2RldGFpbHNCDgoMX2V4dGVybmFsX2lkQgcKBV9tb2RlQg0KC191cmxfY29uZmlnIiIKFENyZWF0ZVBheW91dFJlc3BvbnNlEgoKAmlkGAEgASgJItQEChtQdWJGZXRjaFRyYW5zYWN0aW9uc1JlcXVlc3QSEQoFbGltaXQYASABKANCAjABEhIKBm9mZnNldBgCIAEoA0ICMAESLwoIc3RhdHVzZXMYAyADKA4yHS5wYXltZW50LnYxLlRyYW5zYWN0aW9uU3RhdHVzEjYKDWNyZWF0ZWRfYWZ0ZXIYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSACIAQESNwoOY3JlYXRlZF9iZWZvcmUYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAGIAQESNgoNZXhwaXJlc19hZnRlchgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAogBARI3Cg5leHBpcmVzX2JlZm9yZRgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIA4gBARIXCgphbW91bnRfbWluGAggASgJSASIAQESFwoKYW1vdW50X21heBgJIAEoCUgFiAEBEhgKC2V4dGVybmFsX2lkGAogASgJSAaIAQESLgoEdHlwZRgLIAEoDjIbLnBheW1lbnQudjEuVHJhbnNhY3Rpb25UeXBlSAeIAQFCEAoOX2NyZWF0ZWRfYWZ0ZXJCEQoPX2NyZWF0ZWRfYmVmb3JlQhAKDl9leHBpcmVzX2FmdGVyQhEKD19leHBpcmVzX2JlZm9yZUINCgtfYW1vdW50X21pbkINCgtfYW1vdW50X21heEIOCgxfZXh0ZXJuYWxfaWRCBwoFX3R5cGUirQQKHFB1YkZldGNoVHJhbnNhY3Rpb25zUmVzcG9uc2USSgoMdHJhbnNhY3Rpb25zGAEgAygLMjQucGF5bWVudC52MS5QdWJGZXRjaFRyYW5zYWN0aW9uc1Jlc3BvbnNlLlRyYW5zYWN0aW9uGsADCgtUcmFuc2FjdGlvbhIKCgJpZBgBIAEoCRIYCgtleHRlcm5hbF9pZBgCIAEoCUgBiAEBEi0KBnN0YXR1cxgDIAEoDjIdLnBheW1lbnQudjEuVHJhbnNhY3Rpb25TdGF0dXMSDgoGYW1vdW50GAQgASgJEi4KCmNyZWF0ZWRfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjMKCmV4cGlyZXNfYXQYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAKIAQESJwoEY2FyZBgHIAEoCzIXLmJpbGxpbmcudjEuQ2FyZERldGFpbHNIABInCgNzYnAYCCABKAsyGC5iaWxsaW5nLnYxLlBob25lRGV0YWlsc0gAEjgKDWJhbmtfdHJhbnNmZXIYCSABKAsyHy5iaWxsaW5nLnYxLkJhbmtUcmFuc2ZlckRldGFpbHNIABIpCgR0eXBlGAogASgOMhsucGF5bWVudC52MS5UcmFuc2FjdGlvblR5cGVCEQoPYmlsbGluZ19kZXRhaWxzQg4KDF9leHRlcm5hbF9pZEINCgtfZXhwaXJlc19hdCJjCh5TZXRJbnZvaWNlUGF5bWVudE1ldGhvZFJlcXVlc3QSGQoRcGF5bWVudF9tZXRob2RfaWQYASABKAkSFwoKaW52b2ljZV9pZBgCIAEoCUgAiAEBQg0KC19pbnZvaWNlX2lkIiEKH1NldEludm9pY2VQYXltZW50TWV0aG9kUmVzcG9uc2UiMQobU2V0SW52b2ljZVBhaWRCeVVzZXJSZXF1ZXN0EhIKCmludm9pY2VfaWQYASABKAkiHgocU2V0SW52b2ljZVBhaWRCeVVzZXJSZXNwb25zZSIqChRDYW5jZWxJbnZvaWNlUmVxdWVzdBISCgppbnZvaWNlX2lkGAEgASgJIhcKFUNhbmNlbEludm9pY2VSZXNwb25zZTKLBAoRUHViUGF5bWVudFNlcnZpY2USUQoMQ3JlYXRlUGF5b3V0Eh8ucGF5bWVudC52MS5DcmVhdGVQYXlvdXRSZXF1ZXN0GiAucGF5bWVudC52MS5DcmVhdGVQYXlvdXRSZXNwb25zZRJuChRQdWJGZXRjaFRyYW5zYWN0aW9ucxInLnBheW1lbnQudjEuUHViRmV0Y2hUcmFuc2FjdGlvbnNSZXF1ZXN0GigucGF5bWVudC52MS5QdWJGZXRjaFRyYW5zYWN0aW9uc1Jlc3BvbnNlIgOQAgEScgoXU2V0SW52b2ljZVBheW1lbnRNZXRob2QSKi5wYXltZW50LnYxLlNldEludm9pY2VQYXltZW50TWV0aG9kUmVxdWVzdBorLnBheW1lbnQudjEuU2V0SW52b2ljZVBheW1lbnRNZXRob2RSZXNwb25zZRJpChRTZXRJbnZvaWNlUGFpZEJ5VXNlchInLnBheW1lbnQudjEuU2V0SW52b2ljZVBhaWRCeVVzZXJSZXF1ZXN0GigucGF5bWVudC52MS5TZXRJbnZvaWNlUGFpZEJ5VXNlclJlc3BvbnNlElQKDUNhbmNlbEludm9pY2USIC5wYXltZW50LnYxLkNhbmNlbEludm9pY2VSZXF1ZXN0GiEucGF5bWVudC52MS5DYW5jZWxJbnZvaWNlUmVzcG9uc2VCmgEKDmNvbS5wYXltZW50LnYxQhJQYXltZW50UHVibGljUHJvdG9QAVorcGF5cHJvYy9wa2cvZ2VuL3B1YmxpYy9wYXltZW50L3YxO3BheW1lbnR2MaICA1BYWKoCClBheW1lbnQuVjHKAgpQYXltZW50XFYx4gIWUGF5bWVudFxWMVxHUEJNZXRhZGF0YeoCC1BheW1lbnQ6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp, file_billing_v1_types, file_payment_v1_types]);
|
|
12
|
+
/**
|
|
13
|
+
* Describes the message payment.v1.CreatePayoutRequest.
|
|
14
|
+
* Use `create(CreatePayoutRequestSchema)` to create a new message.
|
|
15
|
+
*/
|
|
16
|
+
export const CreatePayoutRequestSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 0);
|
|
17
|
+
/**
|
|
18
|
+
* Describes the message payment.v1.CreatePayoutRequest.UrlConfig.
|
|
19
|
+
* Use `create(CreatePayoutRequest_UrlConfigSchema)` to create a new message.
|
|
20
|
+
*/
|
|
21
|
+
export const CreatePayoutRequest_UrlConfigSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 0, 0);
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message payment.v1.CreatePayoutResponse.
|
|
24
|
+
* Use `create(CreatePayoutResponseSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const CreatePayoutResponseSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 1);
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message payment.v1.PubFetchTransactionsRequest.
|
|
29
|
+
* Use `create(PubFetchTransactionsRequestSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const PubFetchTransactionsRequestSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 2);
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message payment.v1.PubFetchTransactionsResponse.
|
|
34
|
+
* Use `create(PubFetchTransactionsResponseSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const PubFetchTransactionsResponseSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 3);
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message payment.v1.PubFetchTransactionsResponse.Transaction.
|
|
39
|
+
* Use `create(PubFetchTransactionsResponse_TransactionSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const PubFetchTransactionsResponse_TransactionSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 3, 0);
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message payment.v1.SetInvoicePaymentMethodRequest.
|
|
44
|
+
* Use `create(SetInvoicePaymentMethodRequestSchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const SetInvoicePaymentMethodRequestSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 4);
|
|
47
|
+
/**
|
|
48
|
+
* Describes the message payment.v1.SetInvoicePaymentMethodResponse.
|
|
49
|
+
* Use `create(SetInvoicePaymentMethodResponseSchema)` to create a new message.
|
|
50
|
+
*/
|
|
51
|
+
export const SetInvoicePaymentMethodResponseSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 5);
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message payment.v1.SetInvoicePaidByUserRequest.
|
|
54
|
+
* Use `create(SetInvoicePaidByUserRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const SetInvoicePaidByUserRequestSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 6);
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message payment.v1.SetInvoicePaidByUserResponse.
|
|
59
|
+
* Use `create(SetInvoicePaidByUserResponseSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const SetInvoicePaidByUserResponseSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 7);
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message payment.v1.CancelInvoiceRequest.
|
|
64
|
+
* Use `create(CancelInvoiceRequestSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export const CancelInvoiceRequestSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 8);
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message payment.v1.CancelInvoiceResponse.
|
|
69
|
+
* Use `create(CancelInvoiceResponseSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const CancelInvoiceResponseSchema = /*@__PURE__*/ messageDesc(file_payment_v1_payment_public, 9);
|
|
72
|
+
/**
|
|
73
|
+
* @generated from service payment.v1.PubPaymentService
|
|
74
|
+
*/
|
|
75
|
+
export const PubPaymentService = /*@__PURE__*/ serviceDesc(file_payment_v1_payment_public, 0);
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { UserRole } from "./types_pb";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file payment/v1/types.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_payment_v1_types: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message payment.v1.TransactionMember
|
|
10
|
+
*/
|
|
11
|
+
export type TransactionMember = Message<"payment.v1.TransactionMember"> & {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string id = 1;
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string login = 2;
|
|
18
|
+
*/
|
|
19
|
+
login: string;
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: user.v1.UserRole role = 3;
|
|
22
|
+
*/
|
|
23
|
+
role: UserRole;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message payment.v1.TransactionMember.
|
|
27
|
+
* Use `create(TransactionMemberSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const TransactionMemberSchema: GenMessage<TransactionMember>;
|
|
30
|
+
/**
|
|
31
|
+
* TEMPORARILY TO FIX IMPORT CYCLE
|
|
32
|
+
* Fix as soon as possible with good api structure
|
|
33
|
+
*
|
|
34
|
+
* @generated from enum payment.v1.DisputeStatus
|
|
35
|
+
*/
|
|
36
|
+
export declare enum DisputeStatus {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum value: DISPUTE_STATUS_UNSPECIFIED = 0;
|
|
39
|
+
*/
|
|
40
|
+
DISPUTE_STATUS_UNSPECIFIED = 0,
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: UNDER_REVIEW = 1;
|
|
43
|
+
*/
|
|
44
|
+
UNDER_REVIEW = 1,
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: RESOLVED = 2;
|
|
47
|
+
*/
|
|
48
|
+
RESOLVED = 2,
|
|
49
|
+
/**
|
|
50
|
+
* @generated from enum value: REJECTED = 3;
|
|
51
|
+
*/
|
|
52
|
+
REJECTED = 3
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Describes the enum payment.v1.DisputeStatus.
|
|
56
|
+
*/
|
|
57
|
+
export declare const DisputeStatusSchema: GenEnum<DisputeStatus>;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum payment.v1.PaymentMethodType
|
|
60
|
+
*/
|
|
61
|
+
export declare enum PaymentMethodType {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_UNSPECIFIED = 0;
|
|
64
|
+
*/
|
|
65
|
+
PAYMENT_METHOD_TYPE_UNSPECIFIED = 0,
|
|
66
|
+
/**
|
|
67
|
+
* @generated from enum value: SBP = 1;
|
|
68
|
+
*/
|
|
69
|
+
SBP = 1,
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum value: CARD = 2;
|
|
72
|
+
*/
|
|
73
|
+
CARD = 2,
|
|
74
|
+
/**
|
|
75
|
+
* @generated from enum value: BANK_TRANSFER = 3;
|
|
76
|
+
*/
|
|
77
|
+
BANK_TRANSFER = 3
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Describes the enum payment.v1.PaymentMethodType.
|
|
81
|
+
*/
|
|
82
|
+
export declare const PaymentMethodTypeSchema: GenEnum<PaymentMethodType>;
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum payment.v1.TransactionStatus
|
|
85
|
+
*/
|
|
86
|
+
export declare enum TransactionStatus {
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum value: TRANSACTION_STATUS_UNSPECIFIED = 0;
|
|
89
|
+
*/
|
|
90
|
+
TRANSACTION_STATUS_UNSPECIFIED = 0,
|
|
91
|
+
/**
|
|
92
|
+
* @generated from enum value: PENDING = 1;
|
|
93
|
+
*/
|
|
94
|
+
PENDING = 1,
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum value: CANCELLED = 2;
|
|
97
|
+
*/
|
|
98
|
+
CANCELLED = 2,
|
|
99
|
+
/**
|
|
100
|
+
* @generated from enum value: FAILED = 3;
|
|
101
|
+
*/
|
|
102
|
+
FAILED = 3,
|
|
103
|
+
/**
|
|
104
|
+
* @generated from enum value: CLOSED = 4;
|
|
105
|
+
*/
|
|
106
|
+
CLOSED = 4,
|
|
107
|
+
/**
|
|
108
|
+
* @generated from enum value: EXPIRED = 5;
|
|
109
|
+
*/
|
|
110
|
+
EXPIRED = 5,
|
|
111
|
+
/**
|
|
112
|
+
* @generated from enum value: DELETED = 6;
|
|
113
|
+
*/
|
|
114
|
+
DELETED = 6,
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: ASSIGNED = 7;
|
|
117
|
+
*/
|
|
118
|
+
ASSIGNED = 7,
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: PAID_BY_USER = 8;
|
|
121
|
+
*/
|
|
122
|
+
PAID_BY_USER = 8
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Describes the enum payment.v1.TransactionStatus.
|
|
126
|
+
*/
|
|
127
|
+
export declare const TransactionStatusSchema: GenEnum<TransactionStatus>;
|
|
128
|
+
/**
|
|
129
|
+
* @generated from enum payment.v1.TransactionCurrency
|
|
130
|
+
*/
|
|
131
|
+
export declare enum TransactionCurrency {
|
|
132
|
+
/**
|
|
133
|
+
* @generated from enum value: TRANSACTION_CURRENCY_UNSPECIFIED = 0;
|
|
134
|
+
*/
|
|
135
|
+
TRANSACTION_CURRENCY_UNSPECIFIED = 0,
|
|
136
|
+
/**
|
|
137
|
+
* @generated from enum value: RUB = 1;
|
|
138
|
+
*/
|
|
139
|
+
RUB = 1,
|
|
140
|
+
/**
|
|
141
|
+
* @generated from enum value: USDT = 2;
|
|
142
|
+
*/
|
|
143
|
+
USDT = 2
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Describes the enum payment.v1.TransactionCurrency.
|
|
147
|
+
*/
|
|
148
|
+
export declare const TransactionCurrencySchema: GenEnum<TransactionCurrency>;
|
|
149
|
+
/**
|
|
150
|
+
* @generated from enum payment.v1.TransactionMode
|
|
151
|
+
*/
|
|
152
|
+
export declare enum TransactionMode {
|
|
153
|
+
/**
|
|
154
|
+
* @generated from enum value: TRANSACTION_MODE_UNSPECIFIED = 0;
|
|
155
|
+
*/
|
|
156
|
+
TRANSACTION_MODE_UNSPECIFIED = 0,
|
|
157
|
+
/**
|
|
158
|
+
* @generated from enum value: LIVE = 1;
|
|
159
|
+
*/
|
|
160
|
+
LIVE = 1,
|
|
161
|
+
/**
|
|
162
|
+
* @generated from enum value: TEST = 2;
|
|
163
|
+
*/
|
|
164
|
+
TEST = 2
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Describes the enum payment.v1.TransactionMode.
|
|
168
|
+
*/
|
|
169
|
+
export declare const TransactionModeSchema: GenEnum<TransactionMode>;
|
|
170
|
+
/**
|
|
171
|
+
* @generated from enum payment.v1.TransactionType
|
|
172
|
+
*/
|
|
173
|
+
export declare enum TransactionType {
|
|
174
|
+
/**
|
|
175
|
+
* @generated from enum value: TRANSACTION_TYPE_UNSPECIFIED = 0;
|
|
176
|
+
*/
|
|
177
|
+
TRANSACTION_TYPE_UNSPECIFIED = 0,
|
|
178
|
+
/**
|
|
179
|
+
* @generated from enum value: PAYIN = 1;
|
|
180
|
+
*/
|
|
181
|
+
PAYIN = 1,
|
|
182
|
+
/**
|
|
183
|
+
* @generated from enum value: PAYOUT = 2;
|
|
184
|
+
*/
|
|
185
|
+
PAYOUT = 2,
|
|
186
|
+
/**
|
|
187
|
+
* @generated from enum value: CRYPTO_PAYIN = 3;
|
|
188
|
+
*/
|
|
189
|
+
CRYPTO_PAYIN = 3,
|
|
190
|
+
/**
|
|
191
|
+
* @generated from enum value: CRYPTO_PAYOUT = 4;
|
|
192
|
+
*/
|
|
193
|
+
CRYPTO_PAYOUT = 4
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Describes the enum payment.v1.TransactionType.
|
|
197
|
+
*/
|
|
198
|
+
export declare const TransactionTypeSchema: GenEnum<TransactionType>;
|
|
199
|
+
export type { BankTransferDetails, CardDetails, PhoneDetails } from "../../billing/v1/types_pb";
|
|
200
|
+
export { file_billing_v1_types } from "../../billing/v1/types_pb";
|
|
201
|
+
export type { UserRole } from "../../user/v1/types_pb";
|
|
202
|
+
export { file_user_v1_types } from "../../user/v1/types_pb";
|