@chotot/ct-logic-uni-rev-payment-v1 1.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad_service.proto +53 -0
- package/ad_service_pb.d.ts +248 -0
- package/ad_service_pb.js +99 -0
- package/cart.proto +122 -0
- package/cart_pb.d.ts +656 -0
- package/cart_pb.js +237 -0
- package/configuration.proto +147 -0
- package/configuration_pb.d.ts +716 -0
- package/configuration_pb.js +237 -0
- package/crepro_campaign.proto +277 -0
- package/crepro_campaign_pb.d.ts +1266 -0
- package/crepro_campaign_pb.js +436 -0
- package/crepro_code.proto +77 -0
- package/crepro_code_pb.d.ts +355 -0
- package/crepro_code_pb.js +130 -0
- package/crepro_log.proto +32 -0
- package/crepro_log_pb.d.ts +142 -0
- package/crepro_log_pb.js +51 -0
- package/crepro_redemption.proto +76 -0
- package/crepro_redemption_pb.d.ts +352 -0
- package/crepro_redemption_pb.js +119 -0
- package/dongtot.proto +758 -0
- package/dongtot_pb.d.ts +4169 -0
- package/dongtot_pb.js +1357 -0
- package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.d.ts +350 -0
- package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.js +551 -0
- package/dongtot_service.proto +154 -0
- package/dongtot_service_connect.d.ts +316 -0
- package/dongtot_service_connect.js +316 -0
- package/econtract.proto +675 -0
- package/econtract_pb.d.ts +3522 -0
- package/econtract_pb.js +1176 -0
- package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.d.ts +419 -0
- package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.js +673 -0
- package/econtract_service.proto +71 -0
- package/econtract_service_connect.d.ts +381 -0
- package/econtract_service_connect.js +381 -0
- package/fundiin.proto +53 -0
- package/fundiin_pb.d.ts +255 -0
- package/fundiin_pb.js +85 -0
- package/google_billing.proto +65 -0
- package/google_billing_pb.d.ts +372 -0
- package/google_billing_pb.js +146 -0
- package/iap.proto +53 -0
- package/iap_pb.d.ts +281 -0
- package/iap_pb.js +109 -0
- package/momo.proto +92 -0
- package/momo_pb.d.ts +481 -0
- package/momo_pb.js +150 -0
- package/napas.proto +110 -0
- package/napas_pb.d.ts +587 -0
- package/napas_pb.js +192 -0
- package/order.proto +81 -0
- package/order_pb.d.ts +372 -0
- package/order_pb.js +123 -0
- package/package.json +10 -0
- package/package.proto +382 -0
- package/package_pb.d.ts +1907 -0
- package/package_pb.js +621 -0
- package/payment_promotion.proto +170 -0
- package/payment_promotion_pb.d.ts +893 -0
- package/payment_promotion_pb.js +311 -0
- package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.d.ts +112 -0
- package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.js +171 -0
- package/payment_promotion_service.proto +73 -0
- package/payment_promotion_service_connect.d.ts +102 -0
- package/payment_promotion_service_connect.js +102 -0
- package/payoo.proto +55 -0
- package/payoo_pb.d.ts +282 -0
- package/payoo_pb.js +105 -0
- package/pricer.proto +154 -0
- package/pricer_pb.d.ts +823 -0
- package/pricer_pb.js +260 -0
- package/rabbit_mq.proto +51 -0
- package/rabbit_mq_pb.d.ts +257 -0
- package/rabbit_mq_pb.js +78 -0
- package/refund_order.proto +37 -0
- package/refund_order_pb.d.ts +184 -0
- package/refund_order_pb.js +63 -0
- package/scripts/modify_package_json.js +50 -0
- package/service-LogicUniRevPaymentService_connectquery.d.ts +1239 -0
- package/service-LogicUniRevPaymentService_connectquery.js +1968 -0
- package/service.proto +643 -0
- package/service_connect.d.ts +1120 -0
- package/service_connect.js +1120 -0
- package/subscription.proto +24 -0
- package/subscription_pb.d.ts +98 -0
- package/subscription_pb.js +37 -0
- package/template.proto +76 -0
- package/template_pb.d.ts +387 -0
- package/template_pb.js +140 -0
- package/transaction.proto +513 -0
- package/transaction_pb.d.ts +2717 -0
- package/transaction_pb.js +856 -0
- package/virtual_account.proto +265 -0
- package/virtual_account_pb.d.ts +1442 -0
- package/virtual_account_pb.js +478 -0
- package/zalopay.proto +78 -0
- package/zalopay_pb.d.ts +423 -0
- package/zalopay_pb.js +153 -0
package/crepro_log_pb.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
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 { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message ct_logic_uni_rev_payment.v1.LogDetail
|
|
12
|
+
*/
|
|
13
|
+
export const LogDetail = proto3.makeMessageType(
|
|
14
|
+
"ct_logic_uni_rev_payment.v1.LogDetail",
|
|
15
|
+
() => [
|
|
16
|
+
{ no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
17
|
+
{ no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
18
|
+
{ no: 3, name: "event_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19
|
+
{ no: 4, name: "log_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
20
|
+
{ no: 5, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
21
|
+
{ no: 6, name: "log_time", kind: "message", T: Timestamp },
|
|
22
|
+
],
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCreditPromotionLogRequest
|
|
27
|
+
*/
|
|
28
|
+
export const GetCreditPromotionLogRequest = proto3.makeMessageType(
|
|
29
|
+
"ct_logic_uni_rev_payment.v1.GetCreditPromotionLogRequest",
|
|
30
|
+
() => [
|
|
31
|
+
{ no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
32
|
+
{ no: 2, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
33
|
+
{ no: 3, name: "event_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
34
|
+
{ no: 4, name: "max_page_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
35
|
+
{ no: 5, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
36
|
+
],
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetCreditPromotionLogResponse
|
|
41
|
+
*/
|
|
42
|
+
export const GetCreditPromotionLogResponse = proto3.makeMessageType(
|
|
43
|
+
"ct_logic_uni_rev_payment.v1.GetCreditPromotionLogResponse",
|
|
44
|
+
() => [
|
|
45
|
+
{ no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
46
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
47
|
+
{ no: 3, name: "total_records", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
48
|
+
{ no: 4, name: "logs", kind: "message", T: LogDetail, repeated: true },
|
|
49
|
+
],
|
|
50
|
+
);
|
|
51
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
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 "validate/validate.proto";
|
|
9
|
+
import "google/protobuf/timestamp.proto";
|
|
10
|
+
|
|
11
|
+
message Redemption {
|
|
12
|
+
int64 id = 1;
|
|
13
|
+
int64 assignment_id = 2;
|
|
14
|
+
string value = 3;
|
|
15
|
+
int64 status = 4;
|
|
16
|
+
int64 order_id = 5;
|
|
17
|
+
int64 credit_balance_id = 6;
|
|
18
|
+
google.protobuf.Timestamp created_at = 7;
|
|
19
|
+
google.protobuf.Timestamp updated_at = 8;
|
|
20
|
+
string creator = 9;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message UpdateCreditPromotionRedemptionRequest {
|
|
24
|
+
int64 redeem_id = 1 [(validate.rules).int64 = {
|
|
25
|
+
gt: 0
|
|
26
|
+
}];
|
|
27
|
+
string status = 2;
|
|
28
|
+
int64 order_id = 3;
|
|
29
|
+
int64 credit_balance_id = 4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message UpdateCreditPromotionRedemptionResponse {
|
|
33
|
+
string status = 1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message RedemptionWithCodeValue {
|
|
37
|
+
int64 id = 1;
|
|
38
|
+
int64 assignment_id = 2;
|
|
39
|
+
string code_value = 3;
|
|
40
|
+
string status = 4;
|
|
41
|
+
int64 order_id = 5;
|
|
42
|
+
int64 account_id = 6;
|
|
43
|
+
int64 campaign_id = 7;
|
|
44
|
+
google.protobuf.Timestamp created_at = 8;
|
|
45
|
+
google.protobuf.Timestamp updated_at = 9;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message GetListCreditPromotionRedemptionRequest {
|
|
49
|
+
int64 redeem_id = 1;
|
|
50
|
+
int64 account_id = 2;
|
|
51
|
+
int64 campaign_id = 3;
|
|
52
|
+
int64 assignment_id = 4;
|
|
53
|
+
int64 order_id = 5;
|
|
54
|
+
string status = 6;
|
|
55
|
+
string code_value = 7;
|
|
56
|
+
int64 max_page_size = 8 [(validate.rules).int64 = {
|
|
57
|
+
gt: 0,
|
|
58
|
+
lt: 5000
|
|
59
|
+
}];
|
|
60
|
+
string page_token = 9;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
message GetListCreditPromotionRedemptionResponse {
|
|
64
|
+
string page_token = 1;
|
|
65
|
+
string next_page_token = 2;
|
|
66
|
+
int64 total_records = 3;
|
|
67
|
+
repeated RedemptionWithCodeValue redemptions = 4;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message DeleteCreditPromotionRedemptionByIdRequest {
|
|
71
|
+
int64 redeem_id = 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message DeleteCreditPromotionRedemptionByIdResponse {
|
|
75
|
+
string status = 1;
|
|
76
|
+
}
|
|
@@ -0,0 +1,352 @@
|
|
|
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_redemption.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.Redemption
|
|
13
|
+
*/
|
|
14
|
+
export declare class Redemption extends Message<Redemption> {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: int64 id = 1;
|
|
17
|
+
*/
|
|
18
|
+
id: bigint;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: int64 assignment_id = 2;
|
|
22
|
+
*/
|
|
23
|
+
assignmentId: bigint;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string value = 3;
|
|
27
|
+
*/
|
|
28
|
+
value: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: int64 status = 4;
|
|
32
|
+
*/
|
|
33
|
+
status: bigint;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: int64 order_id = 5;
|
|
37
|
+
*/
|
|
38
|
+
orderId: bigint;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: int64 credit_balance_id = 6;
|
|
42
|
+
*/
|
|
43
|
+
creditBalanceId: bigint;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
47
|
+
*/
|
|
48
|
+
createdAt?: Timestamp;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
52
|
+
*/
|
|
53
|
+
updatedAt?: Timestamp;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string creator = 9;
|
|
57
|
+
*/
|
|
58
|
+
creator: string;
|
|
59
|
+
|
|
60
|
+
constructor(data?: PartialMessage<Redemption>);
|
|
61
|
+
|
|
62
|
+
static readonly runtime: typeof proto3;
|
|
63
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.Redemption";
|
|
64
|
+
static readonly fields: FieldList;
|
|
65
|
+
|
|
66
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Redemption;
|
|
67
|
+
|
|
68
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Redemption;
|
|
69
|
+
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Redemption;
|
|
71
|
+
|
|
72
|
+
static equals(a: Redemption | PlainMessage<Redemption> | undefined, b: Redemption | PlainMessage<Redemption> | undefined): boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from message ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionRequest
|
|
77
|
+
*/
|
|
78
|
+
export declare class UpdateCreditPromotionRedemptionRequest extends Message<UpdateCreditPromotionRedemptionRequest> {
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: int64 redeem_id = 1;
|
|
81
|
+
*/
|
|
82
|
+
redeemId: bigint;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: string status = 2;
|
|
86
|
+
*/
|
|
87
|
+
status: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: int64 order_id = 3;
|
|
91
|
+
*/
|
|
92
|
+
orderId: bigint;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: int64 credit_balance_id = 4;
|
|
96
|
+
*/
|
|
97
|
+
creditBalanceId: bigint;
|
|
98
|
+
|
|
99
|
+
constructor(data?: PartialMessage<UpdateCreditPromotionRedemptionRequest>);
|
|
100
|
+
|
|
101
|
+
static readonly runtime: typeof proto3;
|
|
102
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionRequest";
|
|
103
|
+
static readonly fields: FieldList;
|
|
104
|
+
|
|
105
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCreditPromotionRedemptionRequest;
|
|
106
|
+
|
|
107
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCreditPromotionRedemptionRequest;
|
|
108
|
+
|
|
109
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCreditPromotionRedemptionRequest;
|
|
110
|
+
|
|
111
|
+
static equals(a: UpdateCreditPromotionRedemptionRequest | PlainMessage<UpdateCreditPromotionRedemptionRequest> | undefined, b: UpdateCreditPromotionRedemptionRequest | PlainMessage<UpdateCreditPromotionRedemptionRequest> | undefined): boolean;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from message ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionResponse
|
|
116
|
+
*/
|
|
117
|
+
export declare class UpdateCreditPromotionRedemptionResponse extends Message<UpdateCreditPromotionRedemptionResponse> {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: string status = 1;
|
|
120
|
+
*/
|
|
121
|
+
status: string;
|
|
122
|
+
|
|
123
|
+
constructor(data?: PartialMessage<UpdateCreditPromotionRedemptionResponse>);
|
|
124
|
+
|
|
125
|
+
static readonly runtime: typeof proto3;
|
|
126
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionResponse";
|
|
127
|
+
static readonly fields: FieldList;
|
|
128
|
+
|
|
129
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateCreditPromotionRedemptionResponse;
|
|
130
|
+
|
|
131
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateCreditPromotionRedemptionResponse;
|
|
132
|
+
|
|
133
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateCreditPromotionRedemptionResponse;
|
|
134
|
+
|
|
135
|
+
static equals(a: UpdateCreditPromotionRedemptionResponse | PlainMessage<UpdateCreditPromotionRedemptionResponse> | undefined, b: UpdateCreditPromotionRedemptionResponse | PlainMessage<UpdateCreditPromotionRedemptionResponse> | undefined): boolean;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from message ct_logic_uni_rev_payment.v1.RedemptionWithCodeValue
|
|
140
|
+
*/
|
|
141
|
+
export declare class RedemptionWithCodeValue extends Message<RedemptionWithCodeValue> {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: int64 id = 1;
|
|
144
|
+
*/
|
|
145
|
+
id: bigint;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: int64 assignment_id = 2;
|
|
149
|
+
*/
|
|
150
|
+
assignmentId: bigint;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from field: string code_value = 3;
|
|
154
|
+
*/
|
|
155
|
+
codeValue: string;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string status = 4;
|
|
159
|
+
*/
|
|
160
|
+
status: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: int64 order_id = 5;
|
|
164
|
+
*/
|
|
165
|
+
orderId: bigint;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: int64 account_id = 6;
|
|
169
|
+
*/
|
|
170
|
+
accountId: bigint;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: int64 campaign_id = 7;
|
|
174
|
+
*/
|
|
175
|
+
campaignId: bigint;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
179
|
+
*/
|
|
180
|
+
createdAt?: Timestamp;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
184
|
+
*/
|
|
185
|
+
updatedAt?: Timestamp;
|
|
186
|
+
|
|
187
|
+
constructor(data?: PartialMessage<RedemptionWithCodeValue>);
|
|
188
|
+
|
|
189
|
+
static readonly runtime: typeof proto3;
|
|
190
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.RedemptionWithCodeValue";
|
|
191
|
+
static readonly fields: FieldList;
|
|
192
|
+
|
|
193
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RedemptionWithCodeValue;
|
|
194
|
+
|
|
195
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RedemptionWithCodeValue;
|
|
196
|
+
|
|
197
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RedemptionWithCodeValue;
|
|
198
|
+
|
|
199
|
+
static equals(a: RedemptionWithCodeValue | PlainMessage<RedemptionWithCodeValue> | undefined, b: RedemptionWithCodeValue | PlainMessage<RedemptionWithCodeValue> | undefined): boolean;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionRequest
|
|
204
|
+
*/
|
|
205
|
+
export declare class GetListCreditPromotionRedemptionRequest extends Message<GetListCreditPromotionRedemptionRequest> {
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: int64 redeem_id = 1;
|
|
208
|
+
*/
|
|
209
|
+
redeemId: bigint;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: int64 account_id = 2;
|
|
213
|
+
*/
|
|
214
|
+
accountId: bigint;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: int64 campaign_id = 3;
|
|
218
|
+
*/
|
|
219
|
+
campaignId: bigint;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: int64 assignment_id = 4;
|
|
223
|
+
*/
|
|
224
|
+
assignmentId: bigint;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: int64 order_id = 5;
|
|
228
|
+
*/
|
|
229
|
+
orderId: bigint;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: string status = 6;
|
|
233
|
+
*/
|
|
234
|
+
status: string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string code_value = 7;
|
|
238
|
+
*/
|
|
239
|
+
codeValue: string;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: int64 max_page_size = 8;
|
|
243
|
+
*/
|
|
244
|
+
maxPageSize: bigint;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: string page_token = 9;
|
|
248
|
+
*/
|
|
249
|
+
pageToken: string;
|
|
250
|
+
|
|
251
|
+
constructor(data?: PartialMessage<GetListCreditPromotionRedemptionRequest>);
|
|
252
|
+
|
|
253
|
+
static readonly runtime: typeof proto3;
|
|
254
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionRequest";
|
|
255
|
+
static readonly fields: FieldList;
|
|
256
|
+
|
|
257
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetListCreditPromotionRedemptionRequest;
|
|
258
|
+
|
|
259
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetListCreditPromotionRedemptionRequest;
|
|
260
|
+
|
|
261
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetListCreditPromotionRedemptionRequest;
|
|
262
|
+
|
|
263
|
+
static equals(a: GetListCreditPromotionRedemptionRequest | PlainMessage<GetListCreditPromotionRedemptionRequest> | undefined, b: GetListCreditPromotionRedemptionRequest | PlainMessage<GetListCreditPromotionRedemptionRequest> | undefined): boolean;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionResponse
|
|
268
|
+
*/
|
|
269
|
+
export declare class GetListCreditPromotionRedemptionResponse extends Message<GetListCreditPromotionRedemptionResponse> {
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string page_token = 1;
|
|
272
|
+
*/
|
|
273
|
+
pageToken: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: string next_page_token = 2;
|
|
277
|
+
*/
|
|
278
|
+
nextPageToken: string;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: int64 total_records = 3;
|
|
282
|
+
*/
|
|
283
|
+
totalRecords: bigint;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: repeated ct_logic_uni_rev_payment.v1.RedemptionWithCodeValue redemptions = 4;
|
|
287
|
+
*/
|
|
288
|
+
redemptions: RedemptionWithCodeValue[];
|
|
289
|
+
|
|
290
|
+
constructor(data?: PartialMessage<GetListCreditPromotionRedemptionResponse>);
|
|
291
|
+
|
|
292
|
+
static readonly runtime: typeof proto3;
|
|
293
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionResponse";
|
|
294
|
+
static readonly fields: FieldList;
|
|
295
|
+
|
|
296
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetListCreditPromotionRedemptionResponse;
|
|
297
|
+
|
|
298
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetListCreditPromotionRedemptionResponse;
|
|
299
|
+
|
|
300
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetListCreditPromotionRedemptionResponse;
|
|
301
|
+
|
|
302
|
+
static equals(a: GetListCreditPromotionRedemptionResponse | PlainMessage<GetListCreditPromotionRedemptionResponse> | undefined, b: GetListCreditPromotionRedemptionResponse | PlainMessage<GetListCreditPromotionRedemptionResponse> | undefined): boolean;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdRequest
|
|
307
|
+
*/
|
|
308
|
+
export declare class DeleteCreditPromotionRedemptionByIdRequest extends Message<DeleteCreditPromotionRedemptionByIdRequest> {
|
|
309
|
+
/**
|
|
310
|
+
* @generated from field: int64 redeem_id = 1;
|
|
311
|
+
*/
|
|
312
|
+
redeemId: bigint;
|
|
313
|
+
|
|
314
|
+
constructor(data?: PartialMessage<DeleteCreditPromotionRedemptionByIdRequest>);
|
|
315
|
+
|
|
316
|
+
static readonly runtime: typeof proto3;
|
|
317
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdRequest";
|
|
318
|
+
static readonly fields: FieldList;
|
|
319
|
+
|
|
320
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCreditPromotionRedemptionByIdRequest;
|
|
321
|
+
|
|
322
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCreditPromotionRedemptionByIdRequest;
|
|
323
|
+
|
|
324
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCreditPromotionRedemptionByIdRequest;
|
|
325
|
+
|
|
326
|
+
static equals(a: DeleteCreditPromotionRedemptionByIdRequest | PlainMessage<DeleteCreditPromotionRedemptionByIdRequest> | undefined, b: DeleteCreditPromotionRedemptionByIdRequest | PlainMessage<DeleteCreditPromotionRedemptionByIdRequest> | undefined): boolean;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdResponse
|
|
331
|
+
*/
|
|
332
|
+
export declare class DeleteCreditPromotionRedemptionByIdResponse extends Message<DeleteCreditPromotionRedemptionByIdResponse> {
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: string status = 1;
|
|
335
|
+
*/
|
|
336
|
+
status: string;
|
|
337
|
+
|
|
338
|
+
constructor(data?: PartialMessage<DeleteCreditPromotionRedemptionByIdResponse>);
|
|
339
|
+
|
|
340
|
+
static readonly runtime: typeof proto3;
|
|
341
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdResponse";
|
|
342
|
+
static readonly fields: FieldList;
|
|
343
|
+
|
|
344
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCreditPromotionRedemptionByIdResponse;
|
|
345
|
+
|
|
346
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCreditPromotionRedemptionByIdResponse;
|
|
347
|
+
|
|
348
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCreditPromotionRedemptionByIdResponse;
|
|
349
|
+
|
|
350
|
+
static equals(a: DeleteCreditPromotionRedemptionByIdResponse | PlainMessage<DeleteCreditPromotionRedemptionByIdResponse> | undefined, b: DeleteCreditPromotionRedemptionByIdResponse | PlainMessage<DeleteCreditPromotionRedemptionByIdResponse> | undefined): boolean;
|
|
351
|
+
}
|
|
352
|
+
|
|
@@ -0,0 +1,119 @@
|
|
|
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_redemption.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.Redemption
|
|
12
|
+
*/
|
|
13
|
+
export const Redemption = proto3.makeMessageType(
|
|
14
|
+
"ct_logic_uni_rev_payment.v1.Redemption",
|
|
15
|
+
() => [
|
|
16
|
+
{ no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
17
|
+
{ no: 2, name: "assignment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
18
|
+
{ no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19
|
+
{ no: 4, name: "status", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
20
|
+
{ no: 5, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
21
|
+
{ no: 6, name: "credit_balance_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
22
|
+
{ no: 7, name: "created_at", kind: "message", T: Timestamp },
|
|
23
|
+
{ no: 8, name: "updated_at", kind: "message", T: Timestamp },
|
|
24
|
+
{ no: 9, name: "creator", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
25
|
+
],
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionRequest
|
|
30
|
+
*/
|
|
31
|
+
export const UpdateCreditPromotionRedemptionRequest = proto3.makeMessageType(
|
|
32
|
+
"ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionRequest",
|
|
33
|
+
() => [
|
|
34
|
+
{ no: 1, name: "redeem_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
35
|
+
{ no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
36
|
+
{ no: 3, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
37
|
+
{ no: 4, name: "credit_balance_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
38
|
+
],
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @generated from message ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionResponse
|
|
43
|
+
*/
|
|
44
|
+
export const UpdateCreditPromotionRedemptionResponse = proto3.makeMessageType(
|
|
45
|
+
"ct_logic_uni_rev_payment.v1.UpdateCreditPromotionRedemptionResponse",
|
|
46
|
+
() => [
|
|
47
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
+
],
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message ct_logic_uni_rev_payment.v1.RedemptionWithCodeValue
|
|
53
|
+
*/
|
|
54
|
+
export const RedemptionWithCodeValue = proto3.makeMessageType(
|
|
55
|
+
"ct_logic_uni_rev_payment.v1.RedemptionWithCodeValue",
|
|
56
|
+
() => [
|
|
57
|
+
{ no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
58
|
+
{ no: 2, name: "assignment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
59
|
+
{ no: 3, name: "code_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
+
{ no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
61
|
+
{ no: 5, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
62
|
+
{ no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
63
|
+
{ no: 7, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
64
|
+
{ no: 8, name: "created_at", kind: "message", T: Timestamp },
|
|
65
|
+
{ no: 9, name: "updated_at", kind: "message", T: Timestamp },
|
|
66
|
+
],
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionRequest
|
|
71
|
+
*/
|
|
72
|
+
export const GetListCreditPromotionRedemptionRequest = proto3.makeMessageType(
|
|
73
|
+
"ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionRequest",
|
|
74
|
+
() => [
|
|
75
|
+
{ no: 1, name: "redeem_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
76
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
77
|
+
{ no: 3, name: "campaign_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
78
|
+
{ no: 4, name: "assignment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
79
|
+
{ no: 5, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
80
|
+
{ no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
81
|
+
{ no: 7, name: "code_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
82
|
+
{ no: 8, name: "max_page_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
83
|
+
{ no: 9, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
84
|
+
],
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from message ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionResponse
|
|
89
|
+
*/
|
|
90
|
+
export const GetListCreditPromotionRedemptionResponse = proto3.makeMessageType(
|
|
91
|
+
"ct_logic_uni_rev_payment.v1.GetListCreditPromotionRedemptionResponse",
|
|
92
|
+
() => [
|
|
93
|
+
{ no: 1, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
94
|
+
{ no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
95
|
+
{ no: 3, name: "total_records", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
96
|
+
{ no: 4, name: "redemptions", kind: "message", T: RedemptionWithCodeValue, repeated: true },
|
|
97
|
+
],
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdRequest
|
|
102
|
+
*/
|
|
103
|
+
export const DeleteCreditPromotionRedemptionByIdRequest = proto3.makeMessageType(
|
|
104
|
+
"ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdRequest",
|
|
105
|
+
() => [
|
|
106
|
+
{ no: 1, name: "redeem_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
107
|
+
],
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from message ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdResponse
|
|
112
|
+
*/
|
|
113
|
+
export const DeleteCreditPromotionRedemptionByIdResponse = proto3.makeMessageType(
|
|
114
|
+
"ct_logic_uni_rev_payment.v1.DeleteCreditPromotionRedemptionByIdResponse",
|
|
115
|
+
() => [
|
|
116
|
+
{ no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
117
|
+
],
|
|
118
|
+
);
|
|
119
|
+
|