@chotot/ct-logic-uni-rev-payment-v1 1.133.0
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/ad_service.proto +53 -0
- package/ad_service_pb.d.ts +248 -0
- package/ad_service_pb.js +99 -0
- package/cart.proto +122 -0
- package/cart_pb.d.ts +656 -0
- package/cart_pb.js +237 -0
- package/configuration.proto +147 -0
- package/configuration_pb.d.ts +716 -0
- package/configuration_pb.js +237 -0
- package/crepro_campaign.proto +277 -0
- package/crepro_campaign_pb.d.ts +1266 -0
- package/crepro_campaign_pb.js +436 -0
- package/crepro_code.proto +77 -0
- package/crepro_code_pb.d.ts +355 -0
- package/crepro_code_pb.js +130 -0
- package/crepro_log.proto +32 -0
- package/crepro_log_pb.d.ts +142 -0
- package/crepro_log_pb.js +51 -0
- package/crepro_redemption.proto +76 -0
- package/crepro_redemption_pb.d.ts +352 -0
- package/crepro_redemption_pb.js +119 -0
- package/dongtot.proto +758 -0
- package/dongtot_pb.d.ts +4169 -0
- package/dongtot_pb.js +1357 -0
- package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.d.ts +350 -0
- package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.js +551 -0
- package/dongtot_service.proto +154 -0
- package/dongtot_service_connect.d.ts +316 -0
- package/dongtot_service_connect.js +316 -0
- package/econtract.proto +675 -0
- package/econtract_pb.d.ts +3522 -0
- package/econtract_pb.js +1176 -0
- package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.d.ts +419 -0
- package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.js +673 -0
- package/econtract_service.proto +71 -0
- package/econtract_service_connect.d.ts +381 -0
- package/econtract_service_connect.js +381 -0
- package/fundiin.proto +53 -0
- package/fundiin_pb.d.ts +255 -0
- package/fundiin_pb.js +85 -0
- package/google_billing.proto +65 -0
- package/google_billing_pb.d.ts +372 -0
- package/google_billing_pb.js +146 -0
- package/iap.proto +53 -0
- package/iap_pb.d.ts +281 -0
- package/iap_pb.js +109 -0
- package/momo.proto +92 -0
- package/momo_pb.d.ts +481 -0
- package/momo_pb.js +150 -0
- package/napas.proto +110 -0
- package/napas_pb.d.ts +587 -0
- package/napas_pb.js +192 -0
- package/order.proto +81 -0
- package/order_pb.d.ts +372 -0
- package/order_pb.js +123 -0
- package/package.json +10 -0
- package/package.proto +382 -0
- package/package_pb.d.ts +1907 -0
- package/package_pb.js +621 -0
- package/payment_promotion.proto +170 -0
- package/payment_promotion_pb.d.ts +893 -0
- package/payment_promotion_pb.js +311 -0
- package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.d.ts +112 -0
- package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.js +171 -0
- package/payment_promotion_service.proto +73 -0
- package/payment_promotion_service_connect.d.ts +102 -0
- package/payment_promotion_service_connect.js +102 -0
- package/payoo.proto +55 -0
- package/payoo_pb.d.ts +282 -0
- package/payoo_pb.js +105 -0
- package/pricer.proto +154 -0
- package/pricer_pb.d.ts +823 -0
- package/pricer_pb.js +260 -0
- package/rabbit_mq.proto +51 -0
- package/rabbit_mq_pb.d.ts +257 -0
- package/rabbit_mq_pb.js +78 -0
- package/refund_order.proto +37 -0
- package/refund_order_pb.d.ts +184 -0
- package/refund_order_pb.js +63 -0
- package/scripts/modify_package_json.js +50 -0
- package/service-LogicUniRevPaymentService_connectquery.d.ts +1239 -0
- package/service-LogicUniRevPaymentService_connectquery.js +1968 -0
- package/service.proto +643 -0
- package/service_connect.d.ts +1120 -0
- package/service_connect.js +1120 -0
- package/subscription.proto +24 -0
- package/subscription_pb.d.ts +98 -0
- package/subscription_pb.js +37 -0
- package/template.proto +76 -0
- package/template_pb.d.ts +387 -0
- package/template_pb.js +140 -0
- package/transaction.proto +513 -0
- package/transaction_pb.d.ts +2717 -0
- package/transaction_pb.js +856 -0
- package/virtual_account.proto +265 -0
- package/virtual_account_pb.d.ts +1442 -0
- package/virtual_account_pb.js +478 -0
- package/zalopay.proto +78 -0
- package/zalopay_pb.d.ts +423 -0
- package/zalopay_pb.js +153 -0
package/zalopay_pb.d.ts
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
// general
|
|
2
|
+
|
|
3
|
+
// @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
|
|
4
|
+
// @generated from file ct-logic-uni-rev-payment/v1/zalopay.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// @ts-nocheck
|
|
7
|
+
|
|
8
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
9
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayIPNRequest
|
|
13
|
+
*/
|
|
14
|
+
export declare class ZaloPayIPNRequest extends Message<ZaloPayIPNRequest> {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string data = 1;
|
|
17
|
+
*/
|
|
18
|
+
data: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string mac = 2;
|
|
22
|
+
*/
|
|
23
|
+
mac: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: int32 type = 3;
|
|
27
|
+
*/
|
|
28
|
+
type: number;
|
|
29
|
+
|
|
30
|
+
constructor(data?: PartialMessage<ZaloPayIPNRequest>);
|
|
31
|
+
|
|
32
|
+
static readonly runtime: typeof proto3;
|
|
33
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.ZaloPayIPNRequest";
|
|
34
|
+
static readonly fields: FieldList;
|
|
35
|
+
|
|
36
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ZaloPayIPNRequest;
|
|
37
|
+
|
|
38
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ZaloPayIPNRequest;
|
|
39
|
+
|
|
40
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ZaloPayIPNRequest;
|
|
41
|
+
|
|
42
|
+
static equals(a: ZaloPayIPNRequest | PlainMessage<ZaloPayIPNRequest> | undefined, b: ZaloPayIPNRequest | PlainMessage<ZaloPayIPNRequest> | undefined): boolean;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayIPNResponse
|
|
47
|
+
*/
|
|
48
|
+
export declare class ZaloPayIPNResponse extends Message<ZaloPayIPNResponse> {
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: int32 return_code = 1;
|
|
51
|
+
*/
|
|
52
|
+
returnCode: number;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: string return_message = 2;
|
|
56
|
+
*/
|
|
57
|
+
returnMessage: string;
|
|
58
|
+
|
|
59
|
+
constructor(data?: PartialMessage<ZaloPayIPNResponse>);
|
|
60
|
+
|
|
61
|
+
static readonly runtime: typeof proto3;
|
|
62
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.ZaloPayIPNResponse";
|
|
63
|
+
static readonly fields: FieldList;
|
|
64
|
+
|
|
65
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ZaloPayIPNResponse;
|
|
66
|
+
|
|
67
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ZaloPayIPNResponse;
|
|
68
|
+
|
|
69
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ZaloPayIPNResponse;
|
|
70
|
+
|
|
71
|
+
static equals(a: ZaloPayIPNResponse | PlainMessage<ZaloPayIPNResponse> | undefined, b: ZaloPayIPNResponse | PlainMessage<ZaloPayIPNResponse> | undefined): boolean;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNRequest
|
|
76
|
+
*/
|
|
77
|
+
export declare class ZaloPayBindingIPNRequest extends Message<ZaloPayBindingIPNRequest> {
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string data = 1;
|
|
80
|
+
*/
|
|
81
|
+
data: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: string mac = 2;
|
|
85
|
+
*/
|
|
86
|
+
mac: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: int32 type = 3;
|
|
90
|
+
*/
|
|
91
|
+
type: number;
|
|
92
|
+
|
|
93
|
+
constructor(data?: PartialMessage<ZaloPayBindingIPNRequest>);
|
|
94
|
+
|
|
95
|
+
static readonly runtime: typeof proto3;
|
|
96
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNRequest";
|
|
97
|
+
static readonly fields: FieldList;
|
|
98
|
+
|
|
99
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ZaloPayBindingIPNRequest;
|
|
100
|
+
|
|
101
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ZaloPayBindingIPNRequest;
|
|
102
|
+
|
|
103
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ZaloPayBindingIPNRequest;
|
|
104
|
+
|
|
105
|
+
static equals(a: ZaloPayBindingIPNRequest | PlainMessage<ZaloPayBindingIPNRequest> | undefined, b: ZaloPayBindingIPNRequest | PlainMessage<ZaloPayBindingIPNRequest> | undefined): boolean;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNResponse
|
|
110
|
+
*/
|
|
111
|
+
export declare class ZaloPayBindingIPNResponse extends Message<ZaloPayBindingIPNResponse> {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: int32 return_code = 1;
|
|
114
|
+
*/
|
|
115
|
+
returnCode: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string return_message = 2;
|
|
119
|
+
*/
|
|
120
|
+
returnMessage: string;
|
|
121
|
+
|
|
122
|
+
constructor(data?: PartialMessage<ZaloPayBindingIPNResponse>);
|
|
123
|
+
|
|
124
|
+
static readonly runtime: typeof proto3;
|
|
125
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNResponse";
|
|
126
|
+
static readonly fields: FieldList;
|
|
127
|
+
|
|
128
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ZaloPayBindingIPNResponse;
|
|
129
|
+
|
|
130
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ZaloPayBindingIPNResponse;
|
|
131
|
+
|
|
132
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ZaloPayBindingIPNResponse;
|
|
133
|
+
|
|
134
|
+
static equals(a: ZaloPayBindingIPNResponse | PlainMessage<ZaloPayBindingIPNResponse> | undefined, b: ZaloPayBindingIPNResponse | PlainMessage<ZaloPayBindingIPNResponse> | undefined): boolean;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetPaymentTokensRequest
|
|
139
|
+
*/
|
|
140
|
+
export declare class GetPaymentTokensRequest extends Message<GetPaymentTokensRequest> {
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: int64 account_id = 1;
|
|
143
|
+
*/
|
|
144
|
+
accountId: bigint;
|
|
145
|
+
|
|
146
|
+
constructor(data?: PartialMessage<GetPaymentTokensRequest>);
|
|
147
|
+
|
|
148
|
+
static readonly runtime: typeof proto3;
|
|
149
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.GetPaymentTokensRequest";
|
|
150
|
+
static readonly fields: FieldList;
|
|
151
|
+
|
|
152
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPaymentTokensRequest;
|
|
153
|
+
|
|
154
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPaymentTokensRequest;
|
|
155
|
+
|
|
156
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPaymentTokensRequest;
|
|
157
|
+
|
|
158
|
+
static equals(a: GetPaymentTokensRequest | PlainMessage<GetPaymentTokensRequest> | undefined, b: GetPaymentTokensRequest | PlainMessage<GetPaymentTokensRequest> | undefined): boolean;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetPaymentTokensResponse
|
|
163
|
+
*/
|
|
164
|
+
export declare class GetPaymentTokensResponse extends Message<GetPaymentTokensResponse> {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: repeated ct_logic_uni_rev_payment.v1.CardToken data = 1;
|
|
167
|
+
*/
|
|
168
|
+
data: CardToken[];
|
|
169
|
+
|
|
170
|
+
constructor(data?: PartialMessage<GetPaymentTokensResponse>);
|
|
171
|
+
|
|
172
|
+
static readonly runtime: typeof proto3;
|
|
173
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.GetPaymentTokensResponse";
|
|
174
|
+
static readonly fields: FieldList;
|
|
175
|
+
|
|
176
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPaymentTokensResponse;
|
|
177
|
+
|
|
178
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPaymentTokensResponse;
|
|
179
|
+
|
|
180
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPaymentTokensResponse;
|
|
181
|
+
|
|
182
|
+
static equals(a: GetPaymentTokensResponse | PlainMessage<GetPaymentTokensResponse> | undefined, b: GetPaymentTokensResponse | PlainMessage<GetPaymentTokensResponse> | undefined): boolean;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeletePaymentTokenRequest
|
|
187
|
+
*/
|
|
188
|
+
export declare class DeletePaymentTokenRequest extends Message<DeletePaymentTokenRequest> {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: int64 account_id = 1;
|
|
191
|
+
*/
|
|
192
|
+
accountId: bigint;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: string token_id = 2;
|
|
196
|
+
*/
|
|
197
|
+
tokenId: string;
|
|
198
|
+
|
|
199
|
+
constructor(data?: PartialMessage<DeletePaymentTokenRequest>);
|
|
200
|
+
|
|
201
|
+
static readonly runtime: typeof proto3;
|
|
202
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.DeletePaymentTokenRequest";
|
|
203
|
+
static readonly fields: FieldList;
|
|
204
|
+
|
|
205
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePaymentTokenRequest;
|
|
206
|
+
|
|
207
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePaymentTokenRequest;
|
|
208
|
+
|
|
209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePaymentTokenRequest;
|
|
210
|
+
|
|
211
|
+
static equals(a: DeletePaymentTokenRequest | PlainMessage<DeletePaymentTokenRequest> | undefined, b: DeletePaymentTokenRequest | PlainMessage<DeletePaymentTokenRequest> | undefined): boolean;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeletePaymentTokenResponse
|
|
216
|
+
*/
|
|
217
|
+
export declare class DeletePaymentTokenResponse extends Message<DeletePaymentTokenResponse> {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: string status = 1;
|
|
220
|
+
*/
|
|
221
|
+
status: string;
|
|
222
|
+
|
|
223
|
+
constructor(data?: PartialMessage<DeletePaymentTokenResponse>);
|
|
224
|
+
|
|
225
|
+
static readonly runtime: typeof proto3;
|
|
226
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.DeletePaymentTokenResponse";
|
|
227
|
+
static readonly fields: FieldList;
|
|
228
|
+
|
|
229
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeletePaymentTokenResponse;
|
|
230
|
+
|
|
231
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeletePaymentTokenResponse;
|
|
232
|
+
|
|
233
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeletePaymentTokenResponse;
|
|
234
|
+
|
|
235
|
+
static equals(a: DeletePaymentTokenResponse | PlainMessage<DeletePaymentTokenResponse> | undefined, b: DeletePaymentTokenResponse | PlainMessage<DeletePaymentTokenResponse> | undefined): boolean;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CardToken
|
|
240
|
+
*/
|
|
241
|
+
export declare class CardToken extends Message<CardToken> {
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: string number = 1;
|
|
244
|
+
*/
|
|
245
|
+
number: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: string brand = 2;
|
|
249
|
+
*/
|
|
250
|
+
brand: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: string scheme = 3;
|
|
254
|
+
*/
|
|
255
|
+
scheme: string;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string expiry_month = 4;
|
|
259
|
+
*/
|
|
260
|
+
expiryMonth: string;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string expiry_year = 5;
|
|
264
|
+
*/
|
|
265
|
+
expiryYear: string;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: string bank_id = 6;
|
|
269
|
+
*/
|
|
270
|
+
bankId: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: string id = 7;
|
|
274
|
+
*/
|
|
275
|
+
id: string;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: string gateway = 8;
|
|
279
|
+
*/
|
|
280
|
+
gateway: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: int64 card_status = 9;
|
|
284
|
+
*/
|
|
285
|
+
cardStatus: bigint;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: string issuing_bank = 10;
|
|
289
|
+
*/
|
|
290
|
+
issuingBank: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: string issuing_logo = 11;
|
|
294
|
+
*/
|
|
295
|
+
issuingLogo: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: string token_type = 12;
|
|
299
|
+
*/
|
|
300
|
+
tokenType: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: int64 account_id = 13;
|
|
304
|
+
*/
|
|
305
|
+
accountId: bigint;
|
|
306
|
+
|
|
307
|
+
constructor(data?: PartialMessage<CardToken>);
|
|
308
|
+
|
|
309
|
+
static readonly runtime: typeof proto3;
|
|
310
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.CardToken";
|
|
311
|
+
static readonly fields: FieldList;
|
|
312
|
+
|
|
313
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CardToken;
|
|
314
|
+
|
|
315
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CardToken;
|
|
316
|
+
|
|
317
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CardToken;
|
|
318
|
+
|
|
319
|
+
static equals(a: CardToken | PlainMessage<CardToken> | undefined, b: CardToken | PlainMessage<CardToken> | undefined): boolean;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoRequest
|
|
324
|
+
*/
|
|
325
|
+
export declare class GetListMerchantBankInfoRequest extends Message<GetListMerchantBankInfoRequest> {
|
|
326
|
+
constructor(data?: PartialMessage<GetListMerchantBankInfoRequest>);
|
|
327
|
+
|
|
328
|
+
static readonly runtime: typeof proto3;
|
|
329
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoRequest";
|
|
330
|
+
static readonly fields: FieldList;
|
|
331
|
+
|
|
332
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetListMerchantBankInfoRequest;
|
|
333
|
+
|
|
334
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetListMerchantBankInfoRequest;
|
|
335
|
+
|
|
336
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetListMerchantBankInfoRequest;
|
|
337
|
+
|
|
338
|
+
static equals(a: GetListMerchantBankInfoRequest | PlainMessage<GetListMerchantBankInfoRequest> | undefined, b: GetListMerchantBankInfoRequest | PlainMessage<GetListMerchantBankInfoRequest> | undefined): boolean;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoResponse
|
|
343
|
+
*/
|
|
344
|
+
export declare class GetListMerchantBankInfoResponse extends Message<GetListMerchantBankInfoResponse> {
|
|
345
|
+
/**
|
|
346
|
+
* @generated from field: repeated ct_logic_uni_rev_payment.v1.MerchantBankInfo list_international_bank_info = 1;
|
|
347
|
+
*/
|
|
348
|
+
listInternationalBankInfo: MerchantBankInfo[];
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: repeated ct_logic_uni_rev_payment.v1.MerchantBankInfo list_domestic_bank_info = 2;
|
|
352
|
+
*/
|
|
353
|
+
listDomesticBankInfo: MerchantBankInfo[];
|
|
354
|
+
|
|
355
|
+
constructor(data?: PartialMessage<GetListMerchantBankInfoResponse>);
|
|
356
|
+
|
|
357
|
+
static readonly runtime: typeof proto3;
|
|
358
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoResponse";
|
|
359
|
+
static readonly fields: FieldList;
|
|
360
|
+
|
|
361
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetListMerchantBankInfoResponse;
|
|
362
|
+
|
|
363
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetListMerchantBankInfoResponse;
|
|
364
|
+
|
|
365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetListMerchantBankInfoResponse;
|
|
366
|
+
|
|
367
|
+
static equals(a: GetListMerchantBankInfoResponse | PlainMessage<GetListMerchantBankInfoResponse> | undefined, b: GetListMerchantBankInfoResponse | PlainMessage<GetListMerchantBankInfoResponse> | undefined): boolean;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from message ct_logic_uni_rev_payment.v1.MerchantBankInfo
|
|
372
|
+
*/
|
|
373
|
+
export declare class MerchantBankInfo extends Message<MerchantBankInfo> {
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: string bank_id = 1;
|
|
376
|
+
*/
|
|
377
|
+
bankId: string;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* @generated from field: string name = 2;
|
|
381
|
+
*/
|
|
382
|
+
name: string;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from field: int64 min_amount = 3;
|
|
386
|
+
*/
|
|
387
|
+
minAmount: bigint;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* @generated from field: int64 max_amount = 4;
|
|
391
|
+
*/
|
|
392
|
+
maxAmount: bigint;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: string logo = 5;
|
|
396
|
+
*/
|
|
397
|
+
logo: string;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: int64 display_order = 6;
|
|
401
|
+
*/
|
|
402
|
+
displayOrder: bigint;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: string gateway = 7;
|
|
406
|
+
*/
|
|
407
|
+
gateway: string;
|
|
408
|
+
|
|
409
|
+
constructor(data?: PartialMessage<MerchantBankInfo>);
|
|
410
|
+
|
|
411
|
+
static readonly runtime: typeof proto3;
|
|
412
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.MerchantBankInfo";
|
|
413
|
+
static readonly fields: FieldList;
|
|
414
|
+
|
|
415
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MerchantBankInfo;
|
|
416
|
+
|
|
417
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MerchantBankInfo;
|
|
418
|
+
|
|
419
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MerchantBankInfo;
|
|
420
|
+
|
|
421
|
+
static equals(a: MerchantBankInfo | PlainMessage<MerchantBankInfo> | undefined, b: MerchantBankInfo | PlainMessage<MerchantBankInfo> | undefined): boolean;
|
|
422
|
+
}
|
|
423
|
+
|
package/zalopay_pb.js
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
// general
|
|
2
|
+
|
|
3
|
+
// @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
|
|
4
|
+
// @generated from file ct-logic-uni-rev-payment/v1/zalopay.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// @ts-nocheck
|
|
7
|
+
|
|
8
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayIPNRequest
|
|
12
|
+
*/
|
|
13
|
+
export const ZaloPayIPNRequest = proto3.makeMessageType(
|
|
14
|
+
"ct_logic_uni_rev_payment.v1.ZaloPayIPNRequest",
|
|
15
|
+
() => [
|
|
16
|
+
{ no: 1, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17
|
+
{ no: 2, name: "mac", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
18
|
+
{ no: 3, name: "type", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
19
|
+
],
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayIPNResponse
|
|
24
|
+
*/
|
|
25
|
+
export const ZaloPayIPNResponse = proto3.makeMessageType(
|
|
26
|
+
"ct_logic_uni_rev_payment.v1.ZaloPayIPNResponse",
|
|
27
|
+
() => [
|
|
28
|
+
{ no: 1, name: "return_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
29
|
+
{ no: 2, name: "return_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
30
|
+
],
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNRequest
|
|
35
|
+
*/
|
|
36
|
+
export const ZaloPayBindingIPNRequest = proto3.makeMessageType(
|
|
37
|
+
"ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNRequest",
|
|
38
|
+
() => [
|
|
39
|
+
{ no: 1, name: "data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
40
|
+
{ no: 2, name: "mac", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
41
|
+
{ no: 3, name: "type", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
42
|
+
],
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNResponse
|
|
47
|
+
*/
|
|
48
|
+
export const ZaloPayBindingIPNResponse = proto3.makeMessageType(
|
|
49
|
+
"ct_logic_uni_rev_payment.v1.ZaloPayBindingIPNResponse",
|
|
50
|
+
() => [
|
|
51
|
+
{ no: 1, name: "return_code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
52
|
+
{ no: 2, name: "return_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
53
|
+
],
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetPaymentTokensRequest
|
|
58
|
+
*/
|
|
59
|
+
export const GetPaymentTokensRequest = proto3.makeMessageType(
|
|
60
|
+
"ct_logic_uni_rev_payment.v1.GetPaymentTokensRequest",
|
|
61
|
+
() => [
|
|
62
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
63
|
+
],
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetPaymentTokensResponse
|
|
68
|
+
*/
|
|
69
|
+
export const GetPaymentTokensResponse = proto3.makeMessageType(
|
|
70
|
+
"ct_logic_uni_rev_payment.v1.GetPaymentTokensResponse",
|
|
71
|
+
() => [
|
|
72
|
+
{ no: 1, name: "data", kind: "message", T: CardToken, repeated: true },
|
|
73
|
+
],
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeletePaymentTokenRequest
|
|
78
|
+
*/
|
|
79
|
+
export const DeletePaymentTokenRequest = proto3.makeMessageType(
|
|
80
|
+
"ct_logic_uni_rev_payment.v1.DeletePaymentTokenRequest",
|
|
81
|
+
() => [
|
|
82
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
83
|
+
{ no: 2, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
84
|
+
],
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeletePaymentTokenResponse
|
|
89
|
+
*/
|
|
90
|
+
export const DeletePaymentTokenResponse = proto3.makeMessageType(
|
|
91
|
+
"ct_logic_uni_rev_payment.v1.DeletePaymentTokenResponse",
|
|
92
|
+
() => [
|
|
93
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
94
|
+
],
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CardToken
|
|
99
|
+
*/
|
|
100
|
+
export const CardToken = proto3.makeMessageType(
|
|
101
|
+
"ct_logic_uni_rev_payment.v1.CardToken",
|
|
102
|
+
() => [
|
|
103
|
+
{ no: 1, name: "number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
104
|
+
{ no: 2, name: "brand", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
|
+
{ no: 3, name: "scheme", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
106
|
+
{ no: 4, name: "expiry_month", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
107
|
+
{ no: 5, name: "expiry_year", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
108
|
+
{ no: 6, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
109
|
+
{ no: 7, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
110
|
+
{ no: 8, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
111
|
+
{ no: 9, name: "card_status", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
112
|
+
{ no: 10, name: "issuing_bank", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 11, name: "issuing_logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
114
|
+
{ no: 12, name: "token_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
|
+
{ no: 13, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
116
|
+
],
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoRequest
|
|
121
|
+
*/
|
|
122
|
+
export const GetListMerchantBankInfoRequest = proto3.makeMessageType(
|
|
123
|
+
"ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoRequest",
|
|
124
|
+
[],
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoResponse
|
|
129
|
+
*/
|
|
130
|
+
export const GetListMerchantBankInfoResponse = proto3.makeMessageType(
|
|
131
|
+
"ct_logic_uni_rev_payment.v1.GetListMerchantBankInfoResponse",
|
|
132
|
+
() => [
|
|
133
|
+
{ no: 1, name: "list_international_bank_info", kind: "message", T: MerchantBankInfo, repeated: true },
|
|
134
|
+
{ no: 2, name: "list_domestic_bank_info", kind: "message", T: MerchantBankInfo, repeated: true },
|
|
135
|
+
],
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message ct_logic_uni_rev_payment.v1.MerchantBankInfo
|
|
140
|
+
*/
|
|
141
|
+
export const MerchantBankInfo = proto3.makeMessageType(
|
|
142
|
+
"ct_logic_uni_rev_payment.v1.MerchantBankInfo",
|
|
143
|
+
() => [
|
|
144
|
+
{ no: 1, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
145
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
146
|
+
{ no: 3, name: "min_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
147
|
+
{ no: 4, name: "max_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
148
|
+
{ no: 5, name: "logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
149
|
+
{ no: 6, name: "display_order", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
150
|
+
{ no: 7, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
151
|
+
],
|
|
152
|
+
);
|
|
153
|
+
|