@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.
Files changed (100) hide show
  1. package/ad_service.proto +53 -0
  2. package/ad_service_pb.d.ts +248 -0
  3. package/ad_service_pb.js +99 -0
  4. package/cart.proto +122 -0
  5. package/cart_pb.d.ts +656 -0
  6. package/cart_pb.js +237 -0
  7. package/configuration.proto +147 -0
  8. package/configuration_pb.d.ts +716 -0
  9. package/configuration_pb.js +237 -0
  10. package/crepro_campaign.proto +277 -0
  11. package/crepro_campaign_pb.d.ts +1266 -0
  12. package/crepro_campaign_pb.js +436 -0
  13. package/crepro_code.proto +77 -0
  14. package/crepro_code_pb.d.ts +355 -0
  15. package/crepro_code_pb.js +130 -0
  16. package/crepro_log.proto +32 -0
  17. package/crepro_log_pb.d.ts +142 -0
  18. package/crepro_log_pb.js +51 -0
  19. package/crepro_redemption.proto +76 -0
  20. package/crepro_redemption_pb.d.ts +352 -0
  21. package/crepro_redemption_pb.js +119 -0
  22. package/dongtot.proto +758 -0
  23. package/dongtot_pb.d.ts +4169 -0
  24. package/dongtot_pb.js +1357 -0
  25. package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.d.ts +350 -0
  26. package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.js +551 -0
  27. package/dongtot_service.proto +154 -0
  28. package/dongtot_service_connect.d.ts +316 -0
  29. package/dongtot_service_connect.js +316 -0
  30. package/econtract.proto +675 -0
  31. package/econtract_pb.d.ts +3522 -0
  32. package/econtract_pb.js +1176 -0
  33. package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.d.ts +419 -0
  34. package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.js +673 -0
  35. package/econtract_service.proto +71 -0
  36. package/econtract_service_connect.d.ts +381 -0
  37. package/econtract_service_connect.js +381 -0
  38. package/fundiin.proto +53 -0
  39. package/fundiin_pb.d.ts +255 -0
  40. package/fundiin_pb.js +85 -0
  41. package/google_billing.proto +65 -0
  42. package/google_billing_pb.d.ts +372 -0
  43. package/google_billing_pb.js +146 -0
  44. package/iap.proto +53 -0
  45. package/iap_pb.d.ts +281 -0
  46. package/iap_pb.js +109 -0
  47. package/momo.proto +92 -0
  48. package/momo_pb.d.ts +481 -0
  49. package/momo_pb.js +150 -0
  50. package/napas.proto +110 -0
  51. package/napas_pb.d.ts +587 -0
  52. package/napas_pb.js +192 -0
  53. package/order.proto +81 -0
  54. package/order_pb.d.ts +372 -0
  55. package/order_pb.js +123 -0
  56. package/package.json +10 -0
  57. package/package.proto +382 -0
  58. package/package_pb.d.ts +1907 -0
  59. package/package_pb.js +621 -0
  60. package/payment_promotion.proto +170 -0
  61. package/payment_promotion_pb.d.ts +893 -0
  62. package/payment_promotion_pb.js +311 -0
  63. package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.d.ts +112 -0
  64. package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.js +171 -0
  65. package/payment_promotion_service.proto +73 -0
  66. package/payment_promotion_service_connect.d.ts +102 -0
  67. package/payment_promotion_service_connect.js +102 -0
  68. package/payoo.proto +55 -0
  69. package/payoo_pb.d.ts +282 -0
  70. package/payoo_pb.js +105 -0
  71. package/pricer.proto +154 -0
  72. package/pricer_pb.d.ts +823 -0
  73. package/pricer_pb.js +260 -0
  74. package/rabbit_mq.proto +51 -0
  75. package/rabbit_mq_pb.d.ts +257 -0
  76. package/rabbit_mq_pb.js +78 -0
  77. package/refund_order.proto +37 -0
  78. package/refund_order_pb.d.ts +184 -0
  79. package/refund_order_pb.js +63 -0
  80. package/scripts/modify_package_json.js +50 -0
  81. package/service-LogicUniRevPaymentService_connectquery.d.ts +1239 -0
  82. package/service-LogicUniRevPaymentService_connectquery.js +1968 -0
  83. package/service.proto +643 -0
  84. package/service_connect.d.ts +1120 -0
  85. package/service_connect.js +1120 -0
  86. package/subscription.proto +24 -0
  87. package/subscription_pb.d.ts +98 -0
  88. package/subscription_pb.js +37 -0
  89. package/template.proto +76 -0
  90. package/template_pb.d.ts +387 -0
  91. package/template_pb.js +140 -0
  92. package/transaction.proto +513 -0
  93. package/transaction_pb.d.ts +2717 -0
  94. package/transaction_pb.js +856 -0
  95. package/virtual_account.proto +265 -0
  96. package/virtual_account_pb.d.ts +1442 -0
  97. package/virtual_account_pb.js +478 -0
  98. package/zalopay.proto +78 -0
  99. package/zalopay_pb.d.ts +423 -0
  100. package/zalopay_pb.js +153 -0
@@ -0,0 +1,478 @@
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/virtual_account.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.VirtualAccountOnboardingPopup
12
+ */
13
+ export const VirtualAccountOnboardingPopup = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_payment.v1.VirtualAccountOnboardingPopup",
15
+ () => [
16
+ { no: 1, name: "image", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17
+ { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18
+ { no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
+ { no: 4, name: "button_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
20
+ { no: 5, name: "button_link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
21
+ { no: 6, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22
+ ],
23
+ );
24
+
25
+ /**
26
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountDesktopGuide
27
+ */
28
+ export const VirtualAccountDesktopGuide = proto3.makeMessageType(
29
+ "ct_logic_uni_rev_payment.v1.VirtualAccountDesktopGuide",
30
+ () => [
31
+ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
32
+ { no: 2, name: "guide_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
33
+ { no: 3, name: "guide", kind: "scalar", T: 9 /* ScalarType.STRING */ },
34
+ { no: 4, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
35
+ { no: 5, name: "note_econtract", kind: "scalar", T: 9 /* ScalarType.STRING */ },
36
+ ],
37
+ );
38
+
39
+ /**
40
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountMobileStep
41
+ */
42
+ export const VirtualAccountMobileStep = proto3.makeMessageType(
43
+ "ct_logic_uni_rev_payment.v1.VirtualAccountMobileStep",
44
+ () => [
45
+ { no: 1, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
+ { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
47
+ { no: 3, name: "guide", kind: "scalar", T: 9 /* ScalarType.STRING */ },
48
+ ],
49
+ );
50
+
51
+ /**
52
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountMobileGuide
53
+ */
54
+ export const VirtualAccountMobileGuide = proto3.makeMessageType(
55
+ "ct_logic_uni_rev_payment.v1.VirtualAccountMobileGuide",
56
+ () => [
57
+ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
58
+ { no: 2, name: "account", kind: "message", T: VirtualAccountMobileStep, repeated: true },
59
+ { no: 3, name: "qr", kind: "message", T: VirtualAccountMobileStep, repeated: true },
60
+ { no: 4, name: "warning", kind: "scalar", T: 9 /* ScalarType.STRING */ },
61
+ ],
62
+ );
63
+
64
+ /**
65
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountGuides
66
+ */
67
+ export const VirtualAccountGuides = proto3.makeMessageType(
68
+ "ct_logic_uni_rev_payment.v1.VirtualAccountGuides",
69
+ () => [
70
+ { no: 1, name: "bank_logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ { no: 2, name: "bank_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
72
+ { no: 3, name: "bank_acronym_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
+ { no: 4, name: "help_page_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
74
+ { no: 5, name: "desktop", kind: "message", T: VirtualAccountDesktopGuide },
75
+ { no: 6, name: "mobile", kind: "message", T: VirtualAccountMobileGuide },
76
+ ],
77
+ );
78
+
79
+ /**
80
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountInfoRequest
81
+ */
82
+ export const GetVirtualAccountInfoRequest = proto3.makeMessageType(
83
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountInfoRequest",
84
+ () => [
85
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
86
+ ],
87
+ );
88
+
89
+ /**
90
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountInfoResponse
91
+ */
92
+ export const GetVirtualAccountInfoResponse = proto3.makeMessageType(
93
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountInfoResponse",
94
+ () => [
95
+ { no: 1, name: "onboarding_popup", kind: "message", T: VirtualAccountOnboardingPopup, repeated: true },
96
+ { no: 2, name: "guides", kind: "message", T: VirtualAccountGuides },
97
+ { no: 3, name: "banks", kind: "message", T: VirtualAccountBank, repeated: true },
98
+ ],
99
+ );
100
+
101
+ /**
102
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountBank
103
+ */
104
+ export const VirtualAccountBank = proto3.makeMessageType(
105
+ "ct_logic_uni_rev_payment.v1.VirtualAccountBank",
106
+ () => [
107
+ { no: 1, name: "app_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
108
+ { no: 2, name: "app_logo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
109
+ { no: 3, name: "app_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
110
+ { no: 4, name: "bank_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
111
+ { no: 5, name: "deeplink", kind: "scalar", T: 9 /* ScalarType.STRING */ },
112
+ { no: 6, name: "package_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
+ ],
114
+ );
115
+
116
+ /**
117
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountRequest
118
+ */
119
+ export const GetVirtualAccountRequest = proto3.makeMessageType(
120
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountRequest",
121
+ () => [
122
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
123
+ { no: 2, name: "account_oid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
124
+ ],
125
+ );
126
+
127
+ /**
128
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountResponse
129
+ */
130
+ export const GetVirtualAccountResponse = proto3.makeMessageType(
131
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountResponse",
132
+ () => [
133
+ { no: 1, name: "va_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
134
+ { no: 2, name: "va_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
135
+ { no: 3, name: "qr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
+ { no: 4, name: "bank_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
+ { no: 5, name: "qr_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
+ { no: 6, name: "is_va_econtract", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
139
+ { no: 7, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
140
+ { no: 8, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
+ ],
142
+ );
143
+
144
+ /**
145
+ * @generated from message ct_logic_uni_rev_payment.v1.GetDynamicVirtualAccountRequest
146
+ */
147
+ export const GetDynamicVirtualAccountRequest = proto3.makeMessageType(
148
+ "ct_logic_uni_rev_payment.v1.GetDynamicVirtualAccountRequest",
149
+ () => [
150
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
151
+ { no: 2, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
152
+ { no: 3, name: "purpose", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
+ ],
154
+ );
155
+
156
+ /**
157
+ * @generated from message ct_logic_uni_rev_payment.v1.GetDynamicVirtualAccountResponse
158
+ */
159
+ export const GetDynamicVirtualAccountResponse = proto3.makeMessageType(
160
+ "ct_logic_uni_rev_payment.v1.GetDynamicVirtualAccountResponse",
161
+ () => [
162
+ { no: 1, name: "va_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
163
+ { no: 2, name: "va_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
164
+ { no: 3, name: "dynamic_qr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
165
+ { no: 4, name: "bank_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
166
+ { no: 5, name: "dynamic_qr_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
167
+ { no: 6, name: "is_va_econtract", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
168
+ { no: 7, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
169
+ { no: 8, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
170
+ ],
171
+ );
172
+
173
+ /**
174
+ * @generated from message ct_logic_uni_rev_payment.v1.VPBIPNRequest
175
+ */
176
+ export const VPBIPNRequest = proto3.makeMessageType(
177
+ "ct_logic_uni_rev_payment.v1.VPBIPNRequest",
178
+ () => [
179
+ { no: 1, name: "master_account_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
180
+ { no: 2, name: "virtual_account_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
181
+ { no: 3, name: "virtual_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
182
+ { no: 4, name: "virtual_alkey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
183
+ { no: 5, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
184
+ { no: 6, name: "booking_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
185
+ { no: 7, name: "transaction_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
186
+ { no: 8, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
+ { no: 9, name: "remark", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
+ { no: 10, name: "authorization_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
+ { no: 11, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ ],
191
+ );
192
+
193
+ /**
194
+ * @generated from message ct_logic_uni_rev_payment.v1.VPBIPNResponse
195
+ */
196
+ export const VPBIPNResponse = proto3.makeMessageType(
197
+ "ct_logic_uni_rev_payment.v1.VPBIPNResponse",
198
+ () => [
199
+ { no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
200
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
201
+ { no: 3, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
202
+ { no: 4, name: "error_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
203
+ ],
204
+ );
205
+
206
+ /**
207
+ * @generated from message ct_logic_uni_rev_payment.v1.ProcessRawCakeIPNRequest
208
+ */
209
+ export const ProcessRawCakeIPNRequest = proto3.makeMessageType(
210
+ "ct_logic_uni_rev_payment.v1.ProcessRawCakeIPNRequest",
211
+ () => [
212
+ { no: 1, name: "ciphertext", kind: "scalar", T: 9 /* ScalarType.STRING */ },
213
+ ],
214
+ );
215
+
216
+ /**
217
+ * @generated from message ct_logic_uni_rev_payment.v1.ProcessRawCakeIPNResponse
218
+ */
219
+ export const ProcessRawCakeIPNResponse = proto3.makeMessageType(
220
+ "ct_logic_uni_rev_payment.v1.ProcessRawCakeIPNResponse",
221
+ [],
222
+ );
223
+
224
+ /**
225
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSRequest
226
+ */
227
+ export const VirtualAccountSendZNSRequest = proto3.makeMessageType(
228
+ "ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSRequest",
229
+ () => [
230
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
231
+ { no: 2, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
232
+ ],
233
+ );
234
+
235
+ /**
236
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSResponse
237
+ */
238
+ export const VirtualAccountSendZNSResponse = proto3.makeMessageType(
239
+ "ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSResponse",
240
+ () => [
241
+ { no: 1, name: "msg", kind: "scalar", T: 9 /* ScalarType.STRING */ },
242
+ ],
243
+ );
244
+
245
+ /**
246
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountViewStatementsRequest
247
+ */
248
+ export const GetVirtualAccountViewStatementsRequest = proto3.makeMessageType(
249
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountViewStatementsRequest",
250
+ () => [
251
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
252
+ { no: 2, name: "va_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
253
+ { no: 3, name: "start_date", kind: "message", T: Timestamp },
254
+ { no: 4, name: "end_date", kind: "message", T: Timestamp },
255
+ { no: 5, name: "phone_number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
256
+ { no: 6, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
257
+ ],
258
+ );
259
+
260
+ /**
261
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountViewStatementResponse
262
+ */
263
+ export const GetVirtualAccountViewStatementResponse = proto3.makeMessageType(
264
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountViewStatementResponse",
265
+ () => [
266
+ { no: 1, name: "transaction_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
267
+ { no: 2, name: "value_date_time", kind: "message", T: Timestamp },
268
+ { no: 3, name: "transaction_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
269
+ { no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
270
+ { no: 5, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
271
+ { no: 6, name: "credit_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
272
+ { no: 7, name: "debit_amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
273
+ { no: 8, name: "transaction_date", kind: "message", T: Timestamp },
274
+ { no: 9, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
275
+ ],
276
+ );
277
+
278
+ /**
279
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountResponse
280
+ */
281
+ export const VirtualAccountResponse = proto3.makeMessageType(
282
+ "ct_logic_uni_rev_payment.v1.VirtualAccountResponse",
283
+ () => [
284
+ { no: 1, name: "va_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
285
+ { no: 2, name: "va_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
286
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
287
+ ],
288
+ );
289
+
290
+ /**
291
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountViewStatementsResponse
292
+ */
293
+ export const GetVirtualAccountViewStatementsResponse = proto3.makeMessageType(
294
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountViewStatementsResponse",
295
+ () => [
296
+ { no: 1, name: "statements", kind: "message", T: GetVirtualAccountViewStatementResponse, repeated: true },
297
+ { no: 2, name: "virtual_account", kind: "message", T: VirtualAccountResponse },
298
+ ],
299
+ );
300
+
301
+ /**
302
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountRemitterRequest
303
+ */
304
+ export const GetVirtualAccountRemitterRequest = proto3.makeMessageType(
305
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountRemitterRequest",
306
+ () => [
307
+ { no: 1, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
309
+ { no: 3, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
310
+ ],
311
+ );
312
+
313
+ /**
314
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountRemitterResponse
315
+ */
316
+ export const GetVirtualAccountRemitterResponse = proto3.makeMessageType(
317
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountRemitterResponse",
318
+ () => [
319
+ { no: 1, name: "sending_account", kind: "scalar", T: 9 /* ScalarType.STRING */ },
320
+ { no: 2, name: "sending_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
321
+ { no: 3, name: "bank_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
322
+ { no: 4, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
323
+ { no: 5, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
324
+ { no: 6, name: "credit_debit_indicator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
325
+ { no: 7, name: "credit_van", kind: "scalar", T: 9 /* ScalarType.STRING */ },
326
+ { no: 8, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
327
+ { no: 9, name: "transaction_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
328
+ { no: 10, name: "value_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
+ { no: 11, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
330
+ { no: 12, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
331
+ { no: 13, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
+ { no: 14, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
333
+ { no: 15, name: "va_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
334
+ { no: 16, name: "va_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
335
+ ],
336
+ );
337
+
338
+ /**
339
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountRemittersRequest
340
+ */
341
+ export const GetVirtualAccountRemittersRequest = proto3.makeMessageType(
342
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountRemittersRequest",
343
+ () => [
344
+ { no: 1, name: "transaction_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
345
+ { no: 2, name: "order_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
346
+ { no: 3, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
+ ],
348
+ );
349
+
350
+ /**
351
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountRemittersResponse
352
+ */
353
+ export const GetVirtualAccountRemittersResponse = proto3.makeMessageType(
354
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountRemittersResponse",
355
+ () => [
356
+ { no: 1, name: "remitters", kind: "message", T: GetVirtualAccountRemitterResponse, repeated: true },
357
+ ],
358
+ );
359
+
360
+ /**
361
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountPaymentOrderBaseRequest
362
+ */
363
+ export const GetVirtualAccountPaymentOrderBaseRequest = proto3.makeMessageType(
364
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountPaymentOrderBaseRequest",
365
+ () => [
366
+ { no: 1, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
367
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
368
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
369
+ { no: 4, name: "api_source", kind: "scalar", T: 9 /* ScalarType.STRING */ },
370
+ ],
371
+ );
372
+
373
+ /**
374
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountPaymentOrderBaseResponse
375
+ */
376
+ export const GetVirtualAccountPaymentOrderBaseResponse = proto3.makeMessageType(
377
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountPaymentOrderBaseResponse",
378
+ () => [
379
+ { no: 1, name: "va", kind: "message", T: GetVirtualAccountResponse },
380
+ { no: 2, name: "payment", kind: "message", T: VirtualAccountPaymentOrderBase },
381
+ ],
382
+ );
383
+
384
+ /**
385
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountPaymentOrderBase
386
+ */
387
+ export const VirtualAccountPaymentOrderBase = proto3.makeMessageType(
388
+ "ct_logic_uni_rev_payment.v1.VirtualAccountPaymentOrderBase",
389
+ () => [
390
+ { no: 1, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
392
+ { no: 3, name: "amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
393
+ { no: 4, name: "qr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
394
+ { no: 5, name: "purpose", kind: "scalar", T: 9 /* ScalarType.STRING */ },
395
+ { no: 6, name: "expired_time", kind: "message", T: Timestamp },
396
+ { no: 7, name: "qr_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ { no: 8, name: "vendor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
+ ],
399
+ );
400
+
401
+ /**
402
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountBankTransferRequest
403
+ */
404
+ export const GetVirtualAccountBankTransferRequest = proto3.makeMessageType(
405
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountBankTransferRequest",
406
+ [],
407
+ );
408
+
409
+ /**
410
+ * @generated from message ct_logic_uni_rev_payment.v1.GetVirtualAccountBankTransferResponse
411
+ */
412
+ export const GetVirtualAccountBankTransferResponse = proto3.makeMessageType(
413
+ "ct_logic_uni_rev_payment.v1.GetVirtualAccountBankTransferResponse",
414
+ () => [
415
+ { no: 1, name: "va_no", kind: "scalar", T: 9 /* ScalarType.STRING */ },
416
+ { no: 2, name: "va_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
417
+ { no: 3, name: "qr", kind: "scalar", T: 9 /* ScalarType.STRING */ },
418
+ { no: 4, name: "bank_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
419
+ { no: 5, name: "qr_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
420
+ ],
421
+ );
422
+
423
+ /**
424
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSsCampaignRequest
425
+ */
426
+ export const VirtualAccountSendZNSsCampaignRequest = proto3.makeMessageType(
427
+ "ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSsCampaignRequest",
428
+ () => [
429
+ { no: 1, name: "template_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
430
+ { no: 2, name: "data", kind: "message", T: VirtualAccountSendZNSsCampaign, repeated: true },
431
+ ],
432
+ );
433
+
434
+ /**
435
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSsCampaign
436
+ */
437
+ export const VirtualAccountSendZNSsCampaign = proto3.makeMessageType(
438
+ "ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSsCampaign",
439
+ () => [
440
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
441
+ { no: 3, name: "percent_discount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
442
+ { no: 4, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
443
+ ],
444
+ );
445
+
446
+ /**
447
+ * @generated from message ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSsCampaignResponse
448
+ */
449
+ export const VirtualAccountSendZNSsCampaignResponse = proto3.makeMessageType(
450
+ "ct_logic_uni_rev_payment.v1.VirtualAccountSendZNSsCampaignResponse",
451
+ [],
452
+ );
453
+
454
+ /**
455
+ * @generated from message ct_logic_uni_rev_payment.v1.CalculateVATopupDongtotRequest
456
+ */
457
+ export const CalculateVATopupDongtotRequest = proto3.makeMessageType(
458
+ "ct_logic_uni_rev_payment.v1.CalculateVATopupDongtotRequest",
459
+ () => [
460
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
461
+ { no: 2, name: "vnd_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
462
+ { no: 3, name: "dongtot_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
463
+ ],
464
+ );
465
+
466
+ /**
467
+ * @generated from message ct_logic_uni_rev_payment.v1.CalculateVATopupDongtotResponse
468
+ */
469
+ export const CalculateVATopupDongtotResponse = proto3.makeMessageType(
470
+ "ct_logic_uni_rev_payment.v1.CalculateVATopupDongtotResponse",
471
+ () => [
472
+ { no: 1, name: "vnd_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
473
+ { no: 2, name: "dongtot_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
474
+ { no: 3, name: "tax_amount", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
475
+ { no: 4, name: "tax_rate", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
476
+ ],
477
+ );
478
+
package/zalopay.proto ADDED
@@ -0,0 +1,78 @@
1
+ // general
2
+ syntax = "proto3";
3
+ package ct_logic_uni_rev_payment.v1;
4
+ // language specs
5
+ option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-payment;pb";
6
+
7
+ message ZaloPayIPNRequest {
8
+ string data = 1;
9
+ string mac = 2;
10
+ int32 type = 3;
11
+ }
12
+
13
+ message ZaloPayIPNResponse {
14
+ int32 return_code = 1;
15
+ string return_message = 2;
16
+ }
17
+
18
+ message ZaloPayBindingIPNRequest {
19
+ string data = 1;
20
+ string mac = 2;
21
+ int32 type = 3;
22
+ }
23
+
24
+ message ZaloPayBindingIPNResponse {
25
+ int32 return_code = 1;
26
+ string return_message = 2;
27
+ }
28
+
29
+ message GetPaymentTokensRequest {
30
+ int64 account_id = 1;
31
+ }
32
+
33
+ message GetPaymentTokensResponse {
34
+ repeated CardToken data = 1;
35
+ }
36
+
37
+ message DeletePaymentTokenRequest {
38
+ int64 account_id = 1;
39
+ string token_id = 2;
40
+ }
41
+
42
+ message DeletePaymentTokenResponse {
43
+ string status = 1;
44
+ }
45
+
46
+ message CardToken {
47
+ string number = 1;
48
+ string brand = 2;
49
+ string scheme = 3;
50
+ string expiry_month = 4;
51
+ string expiry_year = 5;
52
+ string bank_id = 6;
53
+ string id = 7;
54
+ string gateway = 8;
55
+ int64 card_status = 9;
56
+ string issuing_bank = 10;
57
+ string issuing_logo = 11;
58
+ string token_type = 12;
59
+ int64 account_id = 13;
60
+ }
61
+
62
+
63
+ message GetListMerchantBankInfoRequest {}
64
+
65
+ message GetListMerchantBankInfoResponse {
66
+ repeated MerchantBankInfo list_international_bank_info = 1;
67
+ repeated MerchantBankInfo list_domestic_bank_info = 2;
68
+ }
69
+
70
+ message MerchantBankInfo {
71
+ string bank_id = 1;
72
+ string name = 2;
73
+ int64 min_amount = 3;
74
+ int64 max_amount = 4;
75
+ string logo = 5;
76
+ int64 display_order = 6;
77
+ string gateway = 7;
78
+ }