@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,355 @@
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/crepro_code.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, Timestamp } from "@bufbuild/protobuf";
9
+ import { Message, proto3 } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * @generated from message ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeRequest
13
+ */
14
+ export declare class ManualRedeemCreditPromotionCodeRequest extends Message<ManualRedeemCreditPromotionCodeRequest> {
15
+ /**
16
+ * @generated from field: string code = 1;
17
+ */
18
+ code: string;
19
+
20
+ /**
21
+ * @generated from field: int64 account_id = 2;
22
+ */
23
+ accountId: bigint;
24
+
25
+ /**
26
+ * @generated from field: string action_by = 3;
27
+ */
28
+ actionBy: string;
29
+
30
+ constructor(data?: PartialMessage<ManualRedeemCreditPromotionCodeRequest>);
31
+
32
+ static readonly runtime: typeof proto3;
33
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeRequest";
34
+ static readonly fields: FieldList;
35
+
36
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ManualRedeemCreditPromotionCodeRequest;
37
+
38
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ManualRedeemCreditPromotionCodeRequest;
39
+
40
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ManualRedeemCreditPromotionCodeRequest;
41
+
42
+ static equals(a: ManualRedeemCreditPromotionCodeRequest | PlainMessage<ManualRedeemCreditPromotionCodeRequest> | undefined, b: ManualRedeemCreditPromotionCodeRequest | PlainMessage<ManualRedeemCreditPromotionCodeRequest> | undefined): boolean;
43
+ }
44
+
45
+ /**
46
+ * @generated from message ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeResponse
47
+ */
48
+ export declare class ManualRedeemCreditPromotionCodeResponse extends Message<ManualRedeemCreditPromotionCodeResponse> {
49
+ /**
50
+ * @generated from field: string status = 1;
51
+ */
52
+ status: string;
53
+
54
+ /**
55
+ * @generated from field: int64 credit_value = 2;
56
+ */
57
+ creditValue: bigint;
58
+
59
+ /**
60
+ * @generated from field: int64 redeem_id = 3;
61
+ */
62
+ redeemId: bigint;
63
+
64
+ constructor(data?: PartialMessage<ManualRedeemCreditPromotionCodeResponse>);
65
+
66
+ static readonly runtime: typeof proto3;
67
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeResponse";
68
+ static readonly fields: FieldList;
69
+
70
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ManualRedeemCreditPromotionCodeResponse;
71
+
72
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ManualRedeemCreditPromotionCodeResponse;
73
+
74
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ManualRedeemCreditPromotionCodeResponse;
75
+
76
+ static equals(a: ManualRedeemCreditPromotionCodeResponse | PlainMessage<ManualRedeemCreditPromotionCodeResponse> | undefined, b: ManualRedeemCreditPromotionCodeResponse | PlainMessage<ManualRedeemCreditPromotionCodeResponse> | undefined): boolean;
77
+ }
78
+
79
+ /**
80
+ * @generated from message ct_logic_uni_rev_payment.v1.FilterCode
81
+ */
82
+ export declare class FilterCode extends Message<FilterCode> {
83
+ /**
84
+ * @generated from field: int64 campaign_id = 1;
85
+ */
86
+ campaignId: bigint;
87
+
88
+ /**
89
+ * @generated from field: string value = 2;
90
+ */
91
+ value: string;
92
+
93
+ /**
94
+ * @generated from field: int64 account_id = 3;
95
+ */
96
+ accountId: bigint;
97
+
98
+ constructor(data?: PartialMessage<FilterCode>);
99
+
100
+ static readonly runtime: typeof proto3;
101
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.FilterCode";
102
+ static readonly fields: FieldList;
103
+
104
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterCode;
105
+
106
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterCode;
107
+
108
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterCode;
109
+
110
+ static equals(a: FilterCode | PlainMessage<FilterCode> | undefined, b: FilterCode | PlainMessage<FilterCode> | undefined): boolean;
111
+ }
112
+
113
+ /**
114
+ * @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeRequest
115
+ */
116
+ export declare class GetListCreditPromotionCodeRequest extends Message<GetListCreditPromotionCodeRequest> {
117
+ /**
118
+ * @generated from field: int64 max_page_size = 1;
119
+ */
120
+ maxPageSize: bigint;
121
+
122
+ /**
123
+ * @generated from field: string page_token = 2;
124
+ */
125
+ pageToken: string;
126
+
127
+ /**
128
+ * @generated from field: ct_logic_uni_rev_payment.v1.FilterCode filter = 3;
129
+ */
130
+ filter?: FilterCode;
131
+
132
+ constructor(data?: PartialMessage<GetListCreditPromotionCodeRequest>);
133
+
134
+ static readonly runtime: typeof proto3;
135
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeRequest";
136
+ static readonly fields: FieldList;
137
+
138
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetListCreditPromotionCodeRequest;
139
+
140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetListCreditPromotionCodeRequest;
141
+
142
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetListCreditPromotionCodeRequest;
143
+
144
+ static equals(a: GetListCreditPromotionCodeRequest | PlainMessage<GetListCreditPromotionCodeRequest> | undefined, b: GetListCreditPromotionCodeRequest | PlainMessage<GetListCreditPromotionCodeRequest> | undefined): boolean;
145
+ }
146
+
147
+ /**
148
+ * @generated from message ct_logic_uni_rev_payment.v1.Code
149
+ */
150
+ export declare class Code extends Message<Code> {
151
+ /**
152
+ * @generated from field: int64 id = 1;
153
+ */
154
+ id: bigint;
155
+
156
+ /**
157
+ * @generated from field: int64 campaign_id = 2;
158
+ */
159
+ campaignId: bigint;
160
+
161
+ /**
162
+ * @generated from field: string value = 3;
163
+ */
164
+ value: string;
165
+
166
+ /**
167
+ * @generated from field: int64 quantity = 4;
168
+ */
169
+ quantity: bigint;
170
+
171
+ /**
172
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
173
+ */
174
+ createdAt?: Timestamp;
175
+
176
+ /**
177
+ * @generated from field: google.protobuf.Timestamp updated_at = 6;
178
+ */
179
+ updatedAt?: Timestamp;
180
+
181
+ /**
182
+ * @generated from field: string creator = 7;
183
+ */
184
+ creator: string;
185
+
186
+ constructor(data?: PartialMessage<Code>);
187
+
188
+ static readonly runtime: typeof proto3;
189
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.Code";
190
+ static readonly fields: FieldList;
191
+
192
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Code;
193
+
194
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Code;
195
+
196
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Code;
197
+
198
+ static equals(a: Code | PlainMessage<Code> | undefined, b: Code | PlainMessage<Code> | undefined): boolean;
199
+ }
200
+
201
+ /**
202
+ * @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeResponse
203
+ */
204
+ export declare class GetListCreditPromotionCodeResponse extends Message<GetListCreditPromotionCodeResponse> {
205
+ /**
206
+ * @generated from field: string page_token = 1;
207
+ */
208
+ pageToken: string;
209
+
210
+ /**
211
+ * @generated from field: string next_page_token = 2;
212
+ */
213
+ nextPageToken: string;
214
+
215
+ /**
216
+ * @generated from field: int64 total_records = 3;
217
+ */
218
+ totalRecords: bigint;
219
+
220
+ /**
221
+ * @generated from field: repeated ct_logic_uni_rev_payment.v1.Code codes = 4;
222
+ */
223
+ codes: Code[];
224
+
225
+ constructor(data?: PartialMessage<GetListCreditPromotionCodeResponse>);
226
+
227
+ static readonly runtime: typeof proto3;
228
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeResponse";
229
+ static readonly fields: FieldList;
230
+
231
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetListCreditPromotionCodeResponse;
232
+
233
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetListCreditPromotionCodeResponse;
234
+
235
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetListCreditPromotionCodeResponse;
236
+
237
+ static equals(a: GetListCreditPromotionCodeResponse | PlainMessage<GetListCreditPromotionCodeResponse> | undefined, b: GetListCreditPromotionCodeResponse | PlainMessage<GetListCreditPromotionCodeResponse> | undefined): boolean;
238
+ }
239
+
240
+ /**
241
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotRequest
242
+ */
243
+ export declare class CheckIsRedeemCreditPromotionFromDiemtotRequest extends Message<CheckIsRedeemCreditPromotionFromDiemtotRequest> {
244
+ /**
245
+ * @generated from field: string redeem_id = 1;
246
+ */
247
+ redeemId: string;
248
+
249
+ constructor(data?: PartialMessage<CheckIsRedeemCreditPromotionFromDiemtotRequest>);
250
+
251
+ static readonly runtime: typeof proto3;
252
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotRequest";
253
+ static readonly fields: FieldList;
254
+
255
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckIsRedeemCreditPromotionFromDiemtotRequest;
256
+
257
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckIsRedeemCreditPromotionFromDiemtotRequest;
258
+
259
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckIsRedeemCreditPromotionFromDiemtotRequest;
260
+
261
+ static equals(a: CheckIsRedeemCreditPromotionFromDiemtotRequest | PlainMessage<CheckIsRedeemCreditPromotionFromDiemtotRequest> | undefined, b: CheckIsRedeemCreditPromotionFromDiemtotRequest | PlainMessage<CheckIsRedeemCreditPromotionFromDiemtotRequest> | undefined): boolean;
262
+ }
263
+
264
+ /**
265
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotResponse
266
+ */
267
+ export declare class CheckIsRedeemCreditPromotionFromDiemtotResponse extends Message<CheckIsRedeemCreditPromotionFromDiemtotResponse> {
268
+ /**
269
+ * @generated from field: bool is_redeem_from_dongtot = 1;
270
+ */
271
+ isRedeemFromDongtot: boolean;
272
+
273
+ constructor(data?: PartialMessage<CheckIsRedeemCreditPromotionFromDiemtotResponse>);
274
+
275
+ static readonly runtime: typeof proto3;
276
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotResponse";
277
+ static readonly fields: FieldList;
278
+
279
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckIsRedeemCreditPromotionFromDiemtotResponse;
280
+
281
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckIsRedeemCreditPromotionFromDiemtotResponse;
282
+
283
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckIsRedeemCreditPromotionFromDiemtotResponse;
284
+
285
+ static equals(a: CheckIsRedeemCreditPromotionFromDiemtotResponse | PlainMessage<CheckIsRedeemCreditPromotionFromDiemtotResponse> | undefined, b: CheckIsRedeemCreditPromotionFromDiemtotResponse | PlainMessage<CheckIsRedeemCreditPromotionFromDiemtotResponse> | undefined): boolean;
286
+ }
287
+
288
+ /**
289
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdRequest
290
+ */
291
+ export declare class CheckCodeWithAccountIdRequest extends Message<CheckCodeWithAccountIdRequest> {
292
+ /**
293
+ * @generated from field: int64 account_id = 1;
294
+ */
295
+ accountId: bigint;
296
+
297
+ /**
298
+ * @generated from field: string code = 2;
299
+ */
300
+ code: string;
301
+
302
+ constructor(data?: PartialMessage<CheckCodeWithAccountIdRequest>);
303
+
304
+ static readonly runtime: typeof proto3;
305
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdRequest";
306
+ static readonly fields: FieldList;
307
+
308
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckCodeWithAccountIdRequest;
309
+
310
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckCodeWithAccountIdRequest;
311
+
312
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckCodeWithAccountIdRequest;
313
+
314
+ static equals(a: CheckCodeWithAccountIdRequest | PlainMessage<CheckCodeWithAccountIdRequest> | undefined, b: CheckCodeWithAccountIdRequest | PlainMessage<CheckCodeWithAccountIdRequest> | undefined): boolean;
315
+ }
316
+
317
+ /**
318
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdResponse
319
+ */
320
+ export declare class CheckCodeWithAccountIdResponse extends Message<CheckCodeWithAccountIdResponse> {
321
+ /**
322
+ * @generated from field: int64 campaign_id = 1;
323
+ */
324
+ campaignId: bigint;
325
+
326
+ /**
327
+ * @generated from field: int64 free_value = 2;
328
+ */
329
+ freeValue: bigint;
330
+
331
+ /**
332
+ * @generated from field: string code = 3;
333
+ */
334
+ code: string;
335
+
336
+ /**
337
+ * @generated from field: string apply_for = 4;
338
+ */
339
+ applyFor: string;
340
+
341
+ constructor(data?: PartialMessage<CheckCodeWithAccountIdResponse>);
342
+
343
+ static readonly runtime: typeof proto3;
344
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdResponse";
345
+ static readonly fields: FieldList;
346
+
347
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckCodeWithAccountIdResponse;
348
+
349
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckCodeWithAccountIdResponse;
350
+
351
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckCodeWithAccountIdResponse;
352
+
353
+ static equals(a: CheckCodeWithAccountIdResponse | PlainMessage<CheckCodeWithAccountIdResponse> | undefined, b: CheckCodeWithAccountIdResponse | PlainMessage<CheckCodeWithAccountIdResponse> | undefined): boolean;
354
+ }
355
+
@@ -0,0 +1,130 @@
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/crepro_code.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.ManualRedeemCreditPromotionCodeRequest
12
+ */
13
+ export const ManualRedeemCreditPromotionCodeRequest = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeRequest",
15
+ () => [
16
+ { no: 1, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
18
+ { no: 3, name: "action_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
+ ],
20
+ );
21
+
22
+ /**
23
+ * @generated from message ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeResponse
24
+ */
25
+ export const ManualRedeemCreditPromotionCodeResponse = proto3.makeMessageType(
26
+ "ct_logic_uni_rev_payment.v1.ManualRedeemCreditPromotionCodeResponse",
27
+ () => [
28
+ { no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
+ { no: 2, name: "credit_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
30
+ { no: 3, name: "redeem_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
31
+ ],
32
+ );
33
+
34
+ /**
35
+ * @generated from message ct_logic_uni_rev_payment.v1.FilterCode
36
+ */
37
+ export const FilterCode = proto3.makeMessageType(
38
+ "ct_logic_uni_rev_payment.v1.FilterCode",
39
+ () => [
40
+ { no: 1, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
41
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
42
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
43
+ ],
44
+ );
45
+
46
+ /**
47
+ * @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeRequest
48
+ */
49
+ export const GetListCreditPromotionCodeRequest = proto3.makeMessageType(
50
+ "ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeRequest",
51
+ () => [
52
+ { no: 1, name: "max_page_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
53
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ { no: 3, name: "filter", kind: "message", T: FilterCode },
55
+ ],
56
+ );
57
+
58
+ /**
59
+ * @generated from message ct_logic_uni_rev_payment.v1.Code
60
+ */
61
+ export const Code = proto3.makeMessageType(
62
+ "ct_logic_uni_rev_payment.v1.Code",
63
+ () => [
64
+ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
65
+ { no: 2, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
66
+ { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
67
+ { no: 4, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
68
+ { no: 5, name: "created_at", kind: "message", T: Timestamp },
69
+ { no: 6, name: "updated_at", kind: "message", T: Timestamp },
70
+ { no: 7, name: "creator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ ],
72
+ );
73
+
74
+ /**
75
+ * @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeResponse
76
+ */
77
+ export const GetListCreditPromotionCodeResponse = proto3.makeMessageType(
78
+ "ct_logic_uni_rev_payment.v1.GetListCreditPromotionCodeResponse",
79
+ () => [
80
+ { no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
81
+ { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
82
+ { no: 3, name: "total_records", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
83
+ { no: 4, name: "codes", kind: "message", T: Code, repeated: true },
84
+ ],
85
+ );
86
+
87
+ /**
88
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotRequest
89
+ */
90
+ export const CheckIsRedeemCreditPromotionFromDiemtotRequest = proto3.makeMessageType(
91
+ "ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotRequest",
92
+ () => [
93
+ { no: 1, name: "redeem_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
+ ],
95
+ );
96
+
97
+ /**
98
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotResponse
99
+ */
100
+ export const CheckIsRedeemCreditPromotionFromDiemtotResponse = proto3.makeMessageType(
101
+ "ct_logic_uni_rev_payment.v1.CheckIsRedeemCreditPromotionFromDiemtotResponse",
102
+ () => [
103
+ { no: 1, name: "is_redeem_from_dongtot", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
104
+ ],
105
+ );
106
+
107
+ /**
108
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdRequest
109
+ */
110
+ export const CheckCodeWithAccountIdRequest = proto3.makeMessageType(
111
+ "ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdRequest",
112
+ () => [
113
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
114
+ { no: 2, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
115
+ ],
116
+ );
117
+
118
+ /**
119
+ * @generated from message ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdResponse
120
+ */
121
+ export const CheckCodeWithAccountIdResponse = proto3.makeMessageType(
122
+ "ct_logic_uni_rev_payment.v1.CheckCodeWithAccountIdResponse",
123
+ () => [
124
+ { no: 1, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
125
+ { no: 2, name: "free_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
126
+ { no: 3, name: "code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
127
+ { no: 4, name: "apply_for", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
+ ],
129
+ );
130
+
@@ -0,0 +1,32 @@
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
+ // import third party protos
8
+ import "google/protobuf/timestamp.proto";
9
+
10
+ message LogDetail {
11
+ int64 id = 1;
12
+ string email = 2;
13
+ string event_type = 3;
14
+ string log_data = 4;
15
+ int64 campaign_id = 5;
16
+ google.protobuf.Timestamp log_time = 6;
17
+ }
18
+
19
+ message GetCreditPromotionLogRequest {
20
+ string email = 1;
21
+ int64 campaign_id = 2;
22
+ string event_type = 3;
23
+ int64 max_page_size = 4;
24
+ string page_token = 5;
25
+ }
26
+
27
+ message GetCreditPromotionLogResponse {
28
+ string page_token = 1;
29
+ string next_page_token = 2;
30
+ int64 total_records = 3;
31
+ repeated LogDetail logs = 4;
32
+ }
@@ -0,0 +1,142 @@
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/crepro_log.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, Timestamp } from "@bufbuild/protobuf";
9
+ import { Message, proto3 } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * @generated from message ct_logic_uni_rev_payment.v1.LogDetail
13
+ */
14
+ export declare class LogDetail extends Message<LogDetail> {
15
+ /**
16
+ * @generated from field: int64 id = 1;
17
+ */
18
+ id: bigint;
19
+
20
+ /**
21
+ * @generated from field: string email = 2;
22
+ */
23
+ email: string;
24
+
25
+ /**
26
+ * @generated from field: string event_type = 3;
27
+ */
28
+ eventType: string;
29
+
30
+ /**
31
+ * @generated from field: string log_data = 4;
32
+ */
33
+ logData: string;
34
+
35
+ /**
36
+ * @generated from field: int64 campaign_id = 5;
37
+ */
38
+ campaignId: bigint;
39
+
40
+ /**
41
+ * @generated from field: google.protobuf.Timestamp log_time = 6;
42
+ */
43
+ logTime?: Timestamp;
44
+
45
+ constructor(data?: PartialMessage<LogDetail>);
46
+
47
+ static readonly runtime: typeof proto3;
48
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.LogDetail";
49
+ static readonly fields: FieldList;
50
+
51
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LogDetail;
52
+
53
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LogDetail;
54
+
55
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LogDetail;
56
+
57
+ static equals(a: LogDetail | PlainMessage<LogDetail> | undefined, b: LogDetail | PlainMessage<LogDetail> | undefined): boolean;
58
+ }
59
+
60
+ /**
61
+ * @generated from message ct_logic_uni_rev_payment.v1.GetCreditPromotionLogRequest
62
+ */
63
+ export declare class GetCreditPromotionLogRequest extends Message<GetCreditPromotionLogRequest> {
64
+ /**
65
+ * @generated from field: string email = 1;
66
+ */
67
+ email: string;
68
+
69
+ /**
70
+ * @generated from field: int64 campaign_id = 2;
71
+ */
72
+ campaignId: bigint;
73
+
74
+ /**
75
+ * @generated from field: string event_type = 3;
76
+ */
77
+ eventType: string;
78
+
79
+ /**
80
+ * @generated from field: int64 max_page_size = 4;
81
+ */
82
+ maxPageSize: bigint;
83
+
84
+ /**
85
+ * @generated from field: string page_token = 5;
86
+ */
87
+ pageToken: string;
88
+
89
+ constructor(data?: PartialMessage<GetCreditPromotionLogRequest>);
90
+
91
+ static readonly runtime: typeof proto3;
92
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GetCreditPromotionLogRequest";
93
+ static readonly fields: FieldList;
94
+
95
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCreditPromotionLogRequest;
96
+
97
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCreditPromotionLogRequest;
98
+
99
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCreditPromotionLogRequest;
100
+
101
+ static equals(a: GetCreditPromotionLogRequest | PlainMessage<GetCreditPromotionLogRequest> | undefined, b: GetCreditPromotionLogRequest | PlainMessage<GetCreditPromotionLogRequest> | undefined): boolean;
102
+ }
103
+
104
+ /**
105
+ * @generated from message ct_logic_uni_rev_payment.v1.GetCreditPromotionLogResponse
106
+ */
107
+ export declare class GetCreditPromotionLogResponse extends Message<GetCreditPromotionLogResponse> {
108
+ /**
109
+ * @generated from field: string page_token = 1;
110
+ */
111
+ pageToken: string;
112
+
113
+ /**
114
+ * @generated from field: string next_page_token = 2;
115
+ */
116
+ nextPageToken: string;
117
+
118
+ /**
119
+ * @generated from field: int64 total_records = 3;
120
+ */
121
+ totalRecords: bigint;
122
+
123
+ /**
124
+ * @generated from field: repeated ct_logic_uni_rev_payment.v1.LogDetail logs = 4;
125
+ */
126
+ logs: LogDetail[];
127
+
128
+ constructor(data?: PartialMessage<GetCreditPromotionLogResponse>);
129
+
130
+ static readonly runtime: typeof proto3;
131
+ static readonly typeName = "ct_logic_uni_rev_payment.v1.GetCreditPromotionLogResponse";
132
+ static readonly fields: FieldList;
133
+
134
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCreditPromotionLogResponse;
135
+
136
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCreditPromotionLogResponse;
137
+
138
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCreditPromotionLogResponse;
139
+
140
+ static equals(a: GetCreditPromotionLogResponse | PlainMessage<GetCreditPromotionLogResponse> | undefined, b: GetCreditPromotionLogResponse | PlainMessage<GetCreditPromotionLogResponse> | undefined): boolean;
141
+ }
142
+