@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
|
@@ -0,0 +1,856 @@
|
|
|
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/transaction.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// @ts-nocheck
|
|
7
|
+
|
|
8
|
+
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CreateTransactionRequest
|
|
12
|
+
*/
|
|
13
|
+
export const CreateTransactionRequest = proto3.makeMessageType(
|
|
14
|
+
"ct_logic_uni_rev_payment.v1.CreateTransactionRequest",
|
|
15
|
+
() => [
|
|
16
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
17
|
+
{ no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
18
|
+
{ no: 3, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19
|
+
{ no: 4, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
20
|
+
{ no: 5, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
21
|
+
{ no: 6, name: "user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
22
|
+
{ no: 7, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
23
|
+
{ no: 8, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
24
|
+
{ no: 9, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
25
|
+
{ no: 10, name: "no_cart", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
26
|
+
{ no: 11, name: "save_card", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
27
|
+
{ no: 12, name: "authen_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
28
|
+
{ no: 13, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
29
|
+
{ no: 14, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
30
|
+
{ no: 15, name: "packages", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
31
|
+
{ no: 16, name: "order_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
32
|
+
{ no: 17, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
33
|
+
{ no: 18, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
34
|
+
{ no: 19, name: "extend_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
35
|
+
{ no: 20, name: "extend_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
36
|
+
{ no: 21, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
37
|
+
{ no: 22, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
38
|
+
{ no: 23, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
39
|
+
{ no: 24, name: "is_internal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
40
|
+
{ no: 25, name: "promotion_code", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
41
|
+
{ no: 26, name: "package_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
42
|
+
],
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from message ct_logic_uni_rev_payment.v1.PayOrderRequest
|
|
47
|
+
*/
|
|
48
|
+
export const PayOrderRequest = proto3.makeMessageType(
|
|
49
|
+
"ct_logic_uni_rev_payment.v1.PayOrderRequest",
|
|
50
|
+
() => [
|
|
51
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
52
|
+
{ no: 2, name: "unit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
53
|
+
{ no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
54
|
+
{ no: 4, name: "order_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
55
|
+
{ no: 5, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
56
|
+
{ no: 6, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
57
|
+
{ no: 7, name: "cart_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
{ no: 8, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
+
{ no: 9, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
+
{ no: 10, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
61
|
+
{ no: 11, name: "save_card", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
62
|
+
{ no: 12, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
63
|
+
{ no: 13, name: "authen_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
64
|
+
{ no: 14, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
65
|
+
{ no: 15, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
66
|
+
{ no: 16, name: "packages", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
67
|
+
{ no: 17, name: "extend_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
68
|
+
{ no: 18, name: "extend_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
+
{ no: 19, name: "subscription_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
70
|
+
{ no: 20, name: "quantity", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
71
|
+
{ no: 21, name: "category_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
72
|
+
{ no: 22, name: "duration", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
73
|
+
{ no: 23, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
74
|
+
{ no: 24, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
75
|
+
{ no: 25, name: "level", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
76
|
+
{ no: 26, name: "delay_min", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
77
|
+
{ no: 27, name: "previous_subscription_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
78
|
+
{ no: 28, name: "recurring_subscribe_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
79
|
+
{ no: 29, name: "subscription_payment_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
|
+
],
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CreateTransactionResponse
|
|
85
|
+
*/
|
|
86
|
+
export const CreateTransactionResponse = proto3.makeMessageType(
|
|
87
|
+
"ct_logic_uni_rev_payment.v1.CreateTransactionResponse",
|
|
88
|
+
() => [
|
|
89
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
90
|
+
{ no: 2, name: "cv_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
91
|
+
{ no: 3, name: "partner_trans_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
+
{ no: 5, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
94
|
+
{ no: 6, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
95
|
+
{ no: 7, name: "extend_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
96
|
+
{ no: 8, name: "extend_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
97
|
+
{ no: 9, name: "created_at", kind: "message", T: Timestamp },
|
|
98
|
+
{ no: 10, name: "updated_at", kind: "message", T: Timestamp },
|
|
99
|
+
{ no: 11, name: "billing_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
100
|
+
{ no: 12, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
101
|
+
{ no: 13, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
102
|
+
{ no: 14, name: "charged_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
103
|
+
{ no: 15, name: "payment_attempt_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
104
|
+
{ no: 16, name: "qrcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
105
|
+
],
|
|
106
|
+
);
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message ct_logic_uni_rev_payment.v1.PayOrderResponse
|
|
110
|
+
*/
|
|
111
|
+
export const PayOrderResponse = proto3.makeMessageType(
|
|
112
|
+
"ct_logic_uni_rev_payment.v1.PayOrderResponse",
|
|
113
|
+
() => [
|
|
114
|
+
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
|
+
{ no: 2, name: "cv_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
116
|
+
{ no: 3, name: "return_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
117
|
+
{ no: 4, name: "partner_trans_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
118
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
119
|
+
{ no: 6, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
120
|
+
{ no: 7, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
121
|
+
{ no: 8, name: "order_info", kind: "message", T: PayOrderInfoResponse },
|
|
122
|
+
{ no: 9, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
123
|
+
{ no: 10, name: "parent_account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
124
|
+
{ no: 11, name: "created_at", kind: "message", T: Timestamp },
|
|
125
|
+
{ no: 12, name: "updated_at", kind: "message", T: Timestamp },
|
|
126
|
+
{ no: 13, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
127
|
+
{ no: 14, name: "billing_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
128
|
+
{ no: 15, name: "extend_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
129
|
+
{ no: 16, name: "extend_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
130
|
+
{ no: 17, name: "google_product_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
131
|
+
{ no: 18, name: "shop_alias", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
132
|
+
{ no: 19, name: "shop_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
133
|
+
{ no: 20, name: "shop_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
{ no: 21, name: "is_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
135
|
+
{ no: 22, name: "expired_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
136
|
+
{ no: 23, name: "charged_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
137
|
+
{ no: 24, name: "payment_attempt_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
138
|
+
{ no: 25, name: "qrcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
139
|
+
{ no: 26, name: "popup_content", kind: "message", T: PopupContent },
|
|
140
|
+
],
|
|
141
|
+
);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from message ct_logic_uni_rev_payment.v1.PopupContent
|
|
145
|
+
*/
|
|
146
|
+
export const PopupContent = proto3.makeMessageType(
|
|
147
|
+
"ct_logic_uni_rev_payment.v1.PopupContent",
|
|
148
|
+
() => [
|
|
149
|
+
{ no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
150
|
+
{ no: 2, name: "content_detail", kind: "message", T: ContentDetail },
|
|
151
|
+
],
|
|
152
|
+
);
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ContentDetail
|
|
156
|
+
*/
|
|
157
|
+
export const ContentDetail = proto3.makeMessageType(
|
|
158
|
+
"ct_logic_uni_rev_payment.v1.ContentDetail",
|
|
159
|
+
() => [
|
|
160
|
+
{ no: 1, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
161
|
+
{ no: 2, name: "icon_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
162
|
+
{ no: 3, name: "amount_full_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
163
|
+
{ no: 4, name: "amount_shorten_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
164
|
+
{ no: 5, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
165
|
+
{ no: 6, name: "notice", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
166
|
+
],
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* @generated from message ct_logic_uni_rev_payment.v1.PayOrderInfoResponse
|
|
171
|
+
*/
|
|
172
|
+
export const PayOrderInfoResponse = proto3.makeMessageType(
|
|
173
|
+
"ct_logic_uni_rev_payment.v1.PayOrderInfoResponse",
|
|
174
|
+
() => [
|
|
175
|
+
{ no: 1, name: "service", kind: "message", T: PayOrderServiceResponse },
|
|
176
|
+
{ no: 2, name: "topup", kind: "message", T: PayOrderTopupResponse },
|
|
177
|
+
],
|
|
178
|
+
);
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @generated from message ct_logic_uni_rev_payment.v1.PayOrderServiceResponse
|
|
182
|
+
*/
|
|
183
|
+
export const PayOrderServiceResponse = proto3.makeMessageType(
|
|
184
|
+
"ct_logic_uni_rev_payment.v1.PayOrderServiceResponse",
|
|
185
|
+
() => [
|
|
186
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
187
|
+
{ no: 2, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
188
|
+
{ no: 3, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
189
|
+
],
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message ct_logic_uni_rev_payment.v1.PayOrderTopupResponse
|
|
194
|
+
*/
|
|
195
|
+
export const PayOrderTopupResponse = proto3.makeMessageType(
|
|
196
|
+
"ct_logic_uni_rev_payment.v1.PayOrderTopupResponse",
|
|
197
|
+
() => [
|
|
198
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
199
|
+
{ no: 2, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
200
|
+
{ no: 3, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
201
|
+
],
|
|
202
|
+
);
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetResponseTransactionRequest
|
|
206
|
+
*/
|
|
207
|
+
export const GetResponseTransactionRequest = proto3.makeMessageType(
|
|
208
|
+
"ct_logic_uni_rev_payment.v1.GetResponseTransactionRequest",
|
|
209
|
+
() => [
|
|
210
|
+
{ no: 1, name: "cv_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
211
|
+
{ no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
212
|
+
{ no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
213
|
+
{ no: 4, name: "user", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
214
|
+
{ no: 5, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
+
{ no: 6, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
216
|
+
{ no: 7, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
217
|
+
{ no: 8, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
218
|
+
{ no: 9, name: "params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
219
|
+
{ no: 10, name: "type_list", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
220
|
+
{ no: 11, name: "diff_account", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
221
|
+
{ no: 12, name: "payment_attempt_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
222
|
+
],
|
|
223
|
+
);
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetResponseTransactionResponse
|
|
227
|
+
*/
|
|
228
|
+
export const GetResponseTransactionResponse = proto3.makeMessageType(
|
|
229
|
+
"ct_logic_uni_rev_payment.v1.GetResponseTransactionResponse",
|
|
230
|
+
() => [
|
|
231
|
+
{ no: 1, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
232
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
233
|
+
{ no: 3, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
234
|
+
{ no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
235
|
+
{ no: 5, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
236
|
+
{ no: 6, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
237
|
+
{ no: 7, name: "o_info", kind: "message", T: GetResponseTransactionResponseOrderInfo },
|
|
238
|
+
],
|
|
239
|
+
);
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetResponseTransactionResponseOrderInfo
|
|
243
|
+
*/
|
|
244
|
+
export const GetResponseTransactionResponseOrderInfo = proto3.makeMessageType(
|
|
245
|
+
"ct_logic_uni_rev_payment.v1.GetResponseTransactionResponseOrderInfo",
|
|
246
|
+
() => [
|
|
247
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
248
|
+
{ no: 2, name: "order_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
249
|
+
{ no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
250
|
+
{ no: 4, name: "child_account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
251
|
+
{ no: 5, name: "failed_order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
252
|
+
{ no: 6, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
253
|
+
{ no: 7, name: "value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
254
|
+
{ no: 8, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
255
|
+
{ no: 9, name: "unit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
256
|
+
{ no: 10, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
257
|
+
],
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ViewTransactionRequest
|
|
262
|
+
*/
|
|
263
|
+
export const ViewTransactionRequest = proto3.makeMessageType(
|
|
264
|
+
"ct_logic_uni_rev_payment.v1.ViewTransactionRequest",
|
|
265
|
+
() => [
|
|
266
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
267
|
+
],
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ViewTransactionResponse
|
|
272
|
+
*/
|
|
273
|
+
export const ViewTransactionResponse = proto3.makeMessageType(
|
|
274
|
+
"ct_logic_uni_rev_payment.v1.ViewTransactionResponse",
|
|
275
|
+
() => [
|
|
276
|
+
{ no: 1, name: "response_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
277
|
+
],
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CreatePaaSTransactionRequest
|
|
282
|
+
*/
|
|
283
|
+
export const CreatePaaSTransactionRequest = proto3.makeMessageType(
|
|
284
|
+
"ct_logic_uni_rev_payment.v1.CreatePaaSTransactionRequest",
|
|
285
|
+
() => [
|
|
286
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
287
|
+
{ no: 2, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
288
|
+
{ no: 3, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
289
|
+
{ no: 4, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
290
|
+
{ no: 5, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
291
|
+
{ no: 6, name: "gateway_params", kind: "message", T: CreatePaaSTransactionPaymentGatewayParamsRequest },
|
|
292
|
+
],
|
|
293
|
+
);
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CreatePaaSTransactionPaymentGatewayParamsRequest
|
|
297
|
+
*/
|
|
298
|
+
export const CreatePaaSTransactionPaymentGatewayParamsRequest = proto3.makeMessageType(
|
|
299
|
+
"ct_logic_uni_rev_payment.v1.CreatePaaSTransactionPaymentGatewayParamsRequest",
|
|
300
|
+
() => [
|
|
301
|
+
{ no: 1, name: "napas", kind: "message", T: CreatePaaSTransactionNapasParamsRequest },
|
|
302
|
+
],
|
|
303
|
+
);
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CreatePaaSTransactionNapasParamsRequest
|
|
307
|
+
*/
|
|
308
|
+
export const CreatePaaSTransactionNapasParamsRequest = proto3.makeMessageType(
|
|
309
|
+
"ct_logic_uni_rev_payment.v1.CreatePaaSTransactionNapasParamsRequest",
|
|
310
|
+
() => [
|
|
311
|
+
{ no: 1, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
312
|
+
{ no: 2, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
313
|
+
{ no: 3, name: "save_card", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
314
|
+
],
|
|
315
|
+
);
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CreatePaaSTransactionResponse
|
|
319
|
+
*/
|
|
320
|
+
export const CreatePaaSTransactionResponse = proto3.makeMessageType(
|
|
321
|
+
"ct_logic_uni_rev_payment.v1.CreatePaaSTransactionResponse",
|
|
322
|
+
() => [
|
|
323
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
324
|
+
],
|
|
325
|
+
);
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetStatusTokenRequest
|
|
329
|
+
*/
|
|
330
|
+
export const GetStatusTokenRequest = proto3.makeMessageType(
|
|
331
|
+
"ct_logic_uni_rev_payment.v1.GetStatusTokenRequest",
|
|
332
|
+
() => [
|
|
333
|
+
{ no: 1, name: "price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
334
|
+
],
|
|
335
|
+
);
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetStatusTokenResponse
|
|
339
|
+
*/
|
|
340
|
+
export const GetStatusTokenResponse = proto3.makeMessageType(
|
|
341
|
+
"ct_logic_uni_rev_payment.v1.GetStatusTokenResponse",
|
|
342
|
+
() => [
|
|
343
|
+
{ no: 1, name: "atm", kind: "message", T: AtmToken },
|
|
344
|
+
{ no: 2, name: "visa", kind: "message", T: VisaToken },
|
|
345
|
+
],
|
|
346
|
+
);
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @generated from message ct_logic_uni_rev_payment.v1.AtmToken
|
|
350
|
+
*/
|
|
351
|
+
export const AtmToken = proto3.makeMessageType(
|
|
352
|
+
"ct_logic_uni_rev_payment.v1.AtmToken",
|
|
353
|
+
() => [
|
|
354
|
+
{ no: 1, name: "gateway_123pay", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
355
|
+
{ no: 2, name: "gateway_napas", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
356
|
+
{ no: 3, name: "gateway_zalopay", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
357
|
+
],
|
|
358
|
+
);
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* @generated from message ct_logic_uni_rev_payment.v1.VisaToken
|
|
362
|
+
*/
|
|
363
|
+
export const VisaToken = proto3.makeMessageType(
|
|
364
|
+
"ct_logic_uni_rev_payment.v1.VisaToken",
|
|
365
|
+
() => [
|
|
366
|
+
{ no: 1, name: "gateway_123pay", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
367
|
+
{ no: 2, name: "gateway_napas", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
368
|
+
{ no: 3, name: "gateway_zalopay", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
369
|
+
],
|
|
370
|
+
);
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartPaymentInfoRequest
|
|
374
|
+
*/
|
|
375
|
+
export const GetCartPaymentInfoRequest = proto3.makeMessageType(
|
|
376
|
+
"ct_logic_uni_rev_payment.v1.GetCartPaymentInfoRequest",
|
|
377
|
+
() => [
|
|
378
|
+
{ no: 1, name: "price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
379
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
380
|
+
{ no: 3, name: "campaign_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
381
|
+
],
|
|
382
|
+
);
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartPaymentInfoResponse
|
|
386
|
+
*/
|
|
387
|
+
export const GetCartPaymentInfoResponse = proto3.makeMessageType(
|
|
388
|
+
"ct_logic_uni_rev_payment.v1.GetCartPaymentInfoResponse",
|
|
389
|
+
() => [
|
|
390
|
+
{ no: 1, name: "show_token", kind: "message", T: ShowPaymentTokenInfo },
|
|
391
|
+
{ no: 2, name: "campaigns", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: CartCampaign} },
|
|
392
|
+
],
|
|
393
|
+
);
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartSubscriptionInfoRequest
|
|
397
|
+
*/
|
|
398
|
+
export const GetCartSubscriptionInfoRequest = proto3.makeMessageType(
|
|
399
|
+
"ct_logic_uni_rev_payment.v1.GetCartSubscriptionInfoRequest",
|
|
400
|
+
() => [
|
|
401
|
+
{ no: 1, name: "subscription_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
402
|
+
{ no: 2, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
403
|
+
],
|
|
404
|
+
);
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartSubscriptionInfoResponse
|
|
408
|
+
*/
|
|
409
|
+
export const GetCartSubscriptionInfoResponse = proto3.makeMessageType(
|
|
410
|
+
"ct_logic_uni_rev_payment.v1.GetCartSubscriptionInfoResponse",
|
|
411
|
+
() => [
|
|
412
|
+
{ no: 1, name: "subscription_info", kind: "message", T: CartSubscriptionInfo },
|
|
413
|
+
{ no: 2, name: "show_token", kind: "message", T: ShowPaymentTokenInfo },
|
|
414
|
+
],
|
|
415
|
+
);
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartShopInfoRequest
|
|
419
|
+
*/
|
|
420
|
+
export const GetCartShopInfoRequest = proto3.makeMessageType(
|
|
421
|
+
"ct_logic_uni_rev_payment.v1.GetCartShopInfoRequest",
|
|
422
|
+
() => [
|
|
423
|
+
{ no: 1, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
424
|
+
{ no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
425
|
+
{ no: 3, name: "package_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
426
|
+
{ no: 4, name: "campaign_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
427
|
+
{ no: 5, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
428
|
+
],
|
|
429
|
+
);
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartShopInfoResponse
|
|
433
|
+
*/
|
|
434
|
+
export const GetCartShopInfoResponse = proto3.makeMessageType(
|
|
435
|
+
"ct_logic_uni_rev_payment.v1.GetCartShopInfoResponse",
|
|
436
|
+
() => [
|
|
437
|
+
{ no: 1, name: "shop_info", kind: "message", T: CartShopInfo },
|
|
438
|
+
{ no: 2, name: "show_token", kind: "message", T: ShowPaymentTokenInfo },
|
|
439
|
+
{ no: 3, name: "campaigns", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: CartCampaign} },
|
|
440
|
+
],
|
|
441
|
+
);
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartTopupInfoRequest
|
|
445
|
+
*/
|
|
446
|
+
export const GetCartTopupInfoRequest = proto3.makeMessageType(
|
|
447
|
+
"ct_logic_uni_rev_payment.v1.GetCartTopupInfoRequest",
|
|
448
|
+
() => [
|
|
449
|
+
{ no: 1, name: "package_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
450
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
451
|
+
{ no: 3, name: "dongtot_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
452
|
+
],
|
|
453
|
+
);
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCartTopupInfoResponse
|
|
457
|
+
*/
|
|
458
|
+
export const GetCartTopupInfoResponse = proto3.makeMessageType(
|
|
459
|
+
"ct_logic_uni_rev_payment.v1.GetCartTopupInfoResponse",
|
|
460
|
+
() => [
|
|
461
|
+
{ no: 1, name: "show_token", kind: "message", T: ShowPaymentTokenInfo },
|
|
462
|
+
{ no: 2, name: "package_info", kind: "message", T: CartPackageInfo },
|
|
463
|
+
{ no: 3, name: "campaigns", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: CartCampaign} },
|
|
464
|
+
],
|
|
465
|
+
);
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartShopInfo
|
|
469
|
+
*/
|
|
470
|
+
export const CartShopInfo = proto3.makeMessageType(
|
|
471
|
+
"ct_logic_uni_rev_payment.v1.CartShopInfo",
|
|
472
|
+
() => [
|
|
473
|
+
{ no: 1, name: "price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
474
|
+
{ no: 2, name: "price_unit", kind: "message", T: CartPriceUnit },
|
|
475
|
+
{ no: 3, name: "details", kind: "message", T: CartShopInfoDetail },
|
|
476
|
+
],
|
|
477
|
+
);
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartShopInfoDetail
|
|
481
|
+
*/
|
|
482
|
+
export const CartShopInfoDetail = proto3.makeMessageType(
|
|
483
|
+
"ct_logic_uni_rev_payment.v1.CartShopInfoDetail",
|
|
484
|
+
() => [
|
|
485
|
+
{ no: 1, name: "free_ads_per_month", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
486
|
+
],
|
|
487
|
+
);
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartSubscriptionInfo
|
|
491
|
+
*/
|
|
492
|
+
export const CartSubscriptionInfo = proto3.makeMessageType(
|
|
493
|
+
"ct_logic_uni_rev_payment.v1.CartSubscriptionInfo",
|
|
494
|
+
() => [
|
|
495
|
+
{ no: 1, name: "price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
496
|
+
{ no: 2, name: "price_unit", kind: "message", T: CartPriceUnit },
|
|
497
|
+
],
|
|
498
|
+
);
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartPriceUnit
|
|
502
|
+
*/
|
|
503
|
+
export const CartPriceUnit = proto3.makeMessageType(
|
|
504
|
+
"ct_logic_uni_rev_payment.v1.CartPriceUnit",
|
|
505
|
+
() => [
|
|
506
|
+
{ no: 1, name: "vnd", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
507
|
+
{ no: 2, name: "credit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
508
|
+
{ no: 3, name: "promotion", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
509
|
+
],
|
|
510
|
+
);
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ShowPaymentTokenInfo
|
|
514
|
+
*/
|
|
515
|
+
export const ShowPaymentTokenInfo = proto3.makeMessageType(
|
|
516
|
+
"ct_logic_uni_rev_payment.v1.ShowPaymentTokenInfo",
|
|
517
|
+
() => [
|
|
518
|
+
{ no: 1, name: "atm", kind: "message", T: AtmToken },
|
|
519
|
+
{ no: 2, name: "visa", kind: "message", T: VisaToken },
|
|
520
|
+
],
|
|
521
|
+
);
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartPackageInfo
|
|
525
|
+
*/
|
|
526
|
+
export const CartPackageInfo = proto3.makeMessageType(
|
|
527
|
+
"ct_logic_uni_rev_payment.v1.CartPackageInfo",
|
|
528
|
+
() => [
|
|
529
|
+
{ no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
530
|
+
{ no: 2, name: "package_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
531
|
+
{ no: 3, name: "paid_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
532
|
+
{ no: 4, name: "promotion_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
533
|
+
{ no: 5, name: "actived", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
534
|
+
{ no: 6, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
535
|
+
{ no: 7, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
536
|
+
{ no: 8, name: "is_default", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
537
|
+
{ no: 9, name: "group_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
538
|
+
{ no: 10, name: "is_auto_online_contract", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
539
|
+
{ no: 11, name: "price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
540
|
+
{ no: 12, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
541
|
+
{ no: 13, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
542
|
+
{ no: 14, name: "purpose", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
543
|
+
{ no: 15, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
544
|
+
{ no: 16, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
545
|
+
{ no: 17, name: "vnd_paid_price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
546
|
+
{ no: 18, name: "paid_dongtot", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
547
|
+
],
|
|
548
|
+
);
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartCampaign
|
|
552
|
+
*/
|
|
553
|
+
export const CartCampaign = proto3.makeMessageType(
|
|
554
|
+
"ct_logic_uni_rev_payment.v1.CartCampaign",
|
|
555
|
+
() => [
|
|
556
|
+
{ no: 1, name: "campaign", kind: "message", T: CartCampaignInfo },
|
|
557
|
+
],
|
|
558
|
+
);
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartCampaignInfo
|
|
562
|
+
*/
|
|
563
|
+
export const CartCampaignInfo = proto3.makeMessageType(
|
|
564
|
+
"ct_logic_uni_rev_payment.v1.CartCampaignInfo",
|
|
565
|
+
() => [
|
|
566
|
+
{ no: 1, name: "campaign_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
567
|
+
{ no: 2, name: "campaign_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
568
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
569
|
+
{ no: 4, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
570
|
+
{ no: 5, name: "start_time", kind: "message", T: Timestamp },
|
|
571
|
+
{ no: 6, name: "end_time", kind: "message", T: Timestamp },
|
|
572
|
+
{ no: 7, name: "min_order_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
573
|
+
{ no: 8, name: "max_order_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
574
|
+
{ no: 9, name: "limit_per_user", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
575
|
+
{ no: 10, name: "limit_total_budget", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
576
|
+
{ no: 11, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
577
|
+
{ no: 12, name: "priority", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
578
|
+
{ no: 13, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
579
|
+
{ no: 14, name: "campaign_params", kind: "message", T: CartCampaignParams },
|
|
580
|
+
],
|
|
581
|
+
);
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* @generated from message ct_logic_uni_rev_payment.v1.CartCampaignParams
|
|
585
|
+
*/
|
|
586
|
+
export const CartCampaignParams = proto3.makeMessageType(
|
|
587
|
+
"ct_logic_uni_rev_payment.v1.CartCampaignParams",
|
|
588
|
+
() => [
|
|
589
|
+
{ no: 1, name: "payment_methods", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
590
|
+
{ no: 2, name: "discount_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
591
|
+
{ no: 3, name: "discount_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
592
|
+
{ no: 4, name: "max_promotion_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
593
|
+
{ no: 5, name: "segment_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
594
|
+
{ no: 6, name: "announcement_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
595
|
+
{ no: 7, name: "package_icons", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
596
|
+
],
|
|
597
|
+
);
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ProcessPaymentRequest
|
|
601
|
+
*/
|
|
602
|
+
export const ProcessPaymentRequest = proto3.makeMessageType(
|
|
603
|
+
"ct_logic_uni_rev_payment.v1.ProcessPaymentRequest",
|
|
604
|
+
() => [
|
|
605
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
606
|
+
{ no: 2, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
607
|
+
{ no: 3, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
608
|
+
{ no: 4, name: "ip", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
609
|
+
{ no: 5, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
610
|
+
{ no: 6, name: "momo_request_params", kind: "message", T: MomoRequestParams, oneof: "payment_method_params" },
|
|
611
|
+
{ no: 7, name: "zalopay_request_params", kind: "message", T: ZalopayRequestParams, oneof: "payment_method_params" },
|
|
612
|
+
{ no: 8, name: "domestic_card_request_params", kind: "message", T: DomesticCardRequestParams, oneof: "payment_method_params" },
|
|
613
|
+
{ no: 9, name: "international_card_request_params", kind: "message", T: InternationalCardRequestParams, oneof: "payment_method_params" },
|
|
614
|
+
{ no: 10, name: "saved_card_request_params", kind: "message", T: SavedCardRequestParams, oneof: "payment_method_params" },
|
|
615
|
+
{ no: 11, name: "fundiin_request_params", kind: "message", T: FundiinRequestParams, oneof: "payment_method_params" },
|
|
616
|
+
],
|
|
617
|
+
);
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* @generated from message ct_logic_uni_rev_payment.v1.MomoRequestParams
|
|
621
|
+
*/
|
|
622
|
+
export const MomoRequestParams = proto3.makeMessageType(
|
|
623
|
+
"ct_logic_uni_rev_payment.v1.MomoRequestParams",
|
|
624
|
+
() => [
|
|
625
|
+
{ no: 1, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
626
|
+
],
|
|
627
|
+
);
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZalopayRequestParams
|
|
631
|
+
*/
|
|
632
|
+
export const ZalopayRequestParams = proto3.makeMessageType(
|
|
633
|
+
"ct_logic_uni_rev_payment.v1.ZalopayRequestParams",
|
|
634
|
+
() => [
|
|
635
|
+
{ no: 1, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
636
|
+
],
|
|
637
|
+
);
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @generated from message ct_logic_uni_rev_payment.v1.FundiinRequestParams
|
|
641
|
+
*/
|
|
642
|
+
export const FundiinRequestParams = proto3.makeMessageType(
|
|
643
|
+
"ct_logic_uni_rev_payment.v1.FundiinRequestParams",
|
|
644
|
+
() => [
|
|
645
|
+
{ no: 1, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
646
|
+
],
|
|
647
|
+
);
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DomesticCardRequestParams
|
|
651
|
+
*/
|
|
652
|
+
export const DomesticCardRequestParams = proto3.makeMessageType(
|
|
653
|
+
"ct_logic_uni_rev_payment.v1.DomesticCardRequestParams",
|
|
654
|
+
() => [
|
|
655
|
+
{ no: 1, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
656
|
+
{ no: 2, name: "bank_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
657
|
+
{ no: 3, name: "save_card", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
658
|
+
],
|
|
659
|
+
);
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @generated from message ct_logic_uni_rev_payment.v1.InternationalCardRequestParams
|
|
663
|
+
*/
|
|
664
|
+
export const InternationalCardRequestParams = proto3.makeMessageType(
|
|
665
|
+
"ct_logic_uni_rev_payment.v1.InternationalCardRequestParams",
|
|
666
|
+
() => [
|
|
667
|
+
{ no: 1, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
668
|
+
{ no: 2, name: "save_card", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
669
|
+
],
|
|
670
|
+
);
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* @generated from message ct_logic_uni_rev_payment.v1.SavedCardRequestParams
|
|
674
|
+
*/
|
|
675
|
+
export const SavedCardRequestParams = proto3.makeMessageType(
|
|
676
|
+
"ct_logic_uni_rev_payment.v1.SavedCardRequestParams",
|
|
677
|
+
() => [
|
|
678
|
+
{ no: 1, name: "return_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
679
|
+
{ no: 2, name: "gatway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
680
|
+
{ no: 3, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
681
|
+
],
|
|
682
|
+
);
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ProcessPaymentResponse
|
|
686
|
+
*/
|
|
687
|
+
export const ProcessPaymentResponse = proto3.makeMessageType(
|
|
688
|
+
"ct_logic_uni_rev_payment.v1.ProcessPaymentResponse",
|
|
689
|
+
() => [
|
|
690
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
691
|
+
{ no: 2, name: "original_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
692
|
+
{ no: 3, name: "charged_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
693
|
+
{ no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
694
|
+
{ no: 5, name: "payment_attempt_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
695
|
+
{ no: 6, name: "momo_response_params", kind: "message", T: MomoResponseParams, oneof: "payment_method_response_params" },
|
|
696
|
+
{ no: 7, name: "zalopay_response_params", kind: "message", T: ZalopayResponseParams, oneof: "payment_method_response_params" },
|
|
697
|
+
{ no: 8, name: "domestic_card_response_params", kind: "message", T: DomesticCardResponseParams, oneof: "payment_method_response_params" },
|
|
698
|
+
{ no: 9, name: "international_card_response_params", kind: "message", T: InternationalCardResponseParams, oneof: "payment_method_response_params" },
|
|
699
|
+
{ no: 10, name: "google_billing_response_params", kind: "message", T: GoogleBillingResponseParams, oneof: "payment_method_response_params" },
|
|
700
|
+
{ no: 11, name: "saved_card_response_params", kind: "message", T: SaveCardResponseParams, oneof: "payment_method_response_params" },
|
|
701
|
+
{ no: 12, name: "fundiin_response_params", kind: "message", T: FundiinResponseParams, oneof: "payment_method_response_params" },
|
|
702
|
+
{ no: 13, name: "bank_transfer_response_params", kind: "message", T: BankTransferResponseParams, oneof: "payment_method_response_params" },
|
|
703
|
+
{ no: 14, name: "popup_content", kind: "message", T: PopupContent },
|
|
704
|
+
],
|
|
705
|
+
);
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @generated from message ct_logic_uni_rev_payment.v1.MomoResponseParams
|
|
709
|
+
*/
|
|
710
|
+
export const MomoResponseParams = proto3.makeMessageType(
|
|
711
|
+
"ct_logic_uni_rev_payment.v1.MomoResponseParams",
|
|
712
|
+
() => [
|
|
713
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
714
|
+
{ no: 2, name: "qrcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
715
|
+
],
|
|
716
|
+
);
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ZalopayResponseParams
|
|
720
|
+
*/
|
|
721
|
+
export const ZalopayResponseParams = proto3.makeMessageType(
|
|
722
|
+
"ct_logic_uni_rev_payment.v1.ZalopayResponseParams",
|
|
723
|
+
() => [
|
|
724
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
725
|
+
{ no: 2, name: "qrcode_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
726
|
+
],
|
|
727
|
+
);
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* @generated from message ct_logic_uni_rev_payment.v1.InternationalCardResponseParams
|
|
731
|
+
*/
|
|
732
|
+
export const InternationalCardResponseParams = proto3.makeMessageType(
|
|
733
|
+
"ct_logic_uni_rev_payment.v1.InternationalCardResponseParams",
|
|
734
|
+
() => [
|
|
735
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
736
|
+
],
|
|
737
|
+
);
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DomesticCardResponseParams
|
|
741
|
+
*/
|
|
742
|
+
export const DomesticCardResponseParams = proto3.makeMessageType(
|
|
743
|
+
"ct_logic_uni_rev_payment.v1.DomesticCardResponseParams",
|
|
744
|
+
() => [
|
|
745
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
746
|
+
],
|
|
747
|
+
);
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GoogleBillingResponseParams
|
|
751
|
+
*/
|
|
752
|
+
export const GoogleBillingResponseParams = proto3.makeMessageType(
|
|
753
|
+
"ct_logic_uni_rev_payment.v1.GoogleBillingResponseParams",
|
|
754
|
+
() => [
|
|
755
|
+
{ no: 1, name: "google_product_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
756
|
+
],
|
|
757
|
+
);
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* @generated from message ct_logic_uni_rev_payment.v1.SaveCardResponseParams
|
|
761
|
+
*/
|
|
762
|
+
export const SaveCardResponseParams = proto3.makeMessageType(
|
|
763
|
+
"ct_logic_uni_rev_payment.v1.SaveCardResponseParams",
|
|
764
|
+
() => [
|
|
765
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
766
|
+
],
|
|
767
|
+
);
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* @generated from message ct_logic_uni_rev_payment.v1.FundiinResponseParams
|
|
771
|
+
*/
|
|
772
|
+
export const FundiinResponseParams = proto3.makeMessageType(
|
|
773
|
+
"ct_logic_uni_rev_payment.v1.FundiinResponseParams",
|
|
774
|
+
() => [
|
|
775
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
776
|
+
],
|
|
777
|
+
);
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* @generated from message ct_logic_uni_rev_payment.v1.BankTransferResponseParams
|
|
781
|
+
*/
|
|
782
|
+
export const BankTransferResponseParams = proto3.makeMessageType(
|
|
783
|
+
"ct_logic_uni_rev_payment.v1.BankTransferResponseParams",
|
|
784
|
+
() => [
|
|
785
|
+
{ no: 1, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
786
|
+
],
|
|
787
|
+
);
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetIPNStatusRequest
|
|
791
|
+
*/
|
|
792
|
+
export const GetIPNStatusRequest = proto3.makeMessageType(
|
|
793
|
+
"ct_logic_uni_rev_payment.v1.GetIPNStatusRequest",
|
|
794
|
+
() => [
|
|
795
|
+
{ no: 1, name: "payment_attempt_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
796
|
+
{ no: 2, name: "order_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
797
|
+
{ no: 3, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
798
|
+
],
|
|
799
|
+
);
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetIPNStatusResponse
|
|
803
|
+
*/
|
|
804
|
+
export const GetIPNStatusResponse = proto3.makeMessageType(
|
|
805
|
+
"ct_logic_uni_rev_payment.v1.GetIPNStatusResponse",
|
|
806
|
+
() => [
|
|
807
|
+
{ no: 1, name: "result", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
808
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
809
|
+
{ no: 3, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
810
|
+
{ no: 4, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
811
|
+
],
|
|
812
|
+
);
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ValidateMappingPaymentRequest
|
|
816
|
+
*/
|
|
817
|
+
export const ValidateMappingPaymentRequest = proto3.makeMessageType(
|
|
818
|
+
"ct_logic_uni_rev_payment.v1.ValidateMappingPaymentRequest",
|
|
819
|
+
() => [
|
|
820
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
821
|
+
{ no: 2, name: "order_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
822
|
+
{ no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
823
|
+
{ no: 4, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
824
|
+
{ no: 5, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
825
|
+
],
|
|
826
|
+
);
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ValidateMappingPaymentResponse
|
|
830
|
+
*/
|
|
831
|
+
export const ValidateMappingPaymentResponse = proto3.makeMessageType(
|
|
832
|
+
"ct_logic_uni_rev_payment.v1.ValidateMappingPaymentResponse",
|
|
833
|
+
[],
|
|
834
|
+
);
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ForceMappingPaymentRequest
|
|
838
|
+
*/
|
|
839
|
+
export const ForceMappingPaymentRequest = proto3.makeMessageType(
|
|
840
|
+
"ct_logic_uni_rev_payment.v1.ForceMappingPaymentRequest",
|
|
841
|
+
() => [
|
|
842
|
+
{ no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
843
|
+
{ no: 2, name: "order_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
844
|
+
{ no: 3, name: "gateway", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
845
|
+
{ no: 4, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
846
|
+
],
|
|
847
|
+
);
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* @generated from message ct_logic_uni_rev_payment.v1.ForceMappingPaymentResponse
|
|
851
|
+
*/
|
|
852
|
+
export const ForceMappingPaymentResponse = proto3.makeMessageType(
|
|
853
|
+
"ct_logic_uni_rev_payment.v1.ForceMappingPaymentResponse",
|
|
854
|
+
[],
|
|
855
|
+
);
|
|
856
|
+
|