@chotot/ct-logic-uni-rev-payment-v1 1.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad_service.proto +53 -0
- package/ad_service_pb.d.ts +248 -0
- package/ad_service_pb.js +99 -0
- package/cart.proto +122 -0
- package/cart_pb.d.ts +656 -0
- package/cart_pb.js +237 -0
- package/configuration.proto +147 -0
- package/configuration_pb.d.ts +716 -0
- package/configuration_pb.js +237 -0
- package/crepro_campaign.proto +277 -0
- package/crepro_campaign_pb.d.ts +1266 -0
- package/crepro_campaign_pb.js +436 -0
- package/crepro_code.proto +77 -0
- package/crepro_code_pb.d.ts +355 -0
- package/crepro_code_pb.js +130 -0
- package/crepro_log.proto +32 -0
- package/crepro_log_pb.d.ts +142 -0
- package/crepro_log_pb.js +51 -0
- package/crepro_redemption.proto +76 -0
- package/crepro_redemption_pb.d.ts +352 -0
- package/crepro_redemption_pb.js +119 -0
- package/dongtot.proto +758 -0
- package/dongtot_pb.d.ts +4169 -0
- package/dongtot_pb.js +1357 -0
- package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.d.ts +350 -0
- package/dongtot_service-LogicUniRevPaymentDongTotService_connectquery.js +551 -0
- package/dongtot_service.proto +154 -0
- package/dongtot_service_connect.d.ts +316 -0
- package/dongtot_service_connect.js +316 -0
- package/econtract.proto +675 -0
- package/econtract_pb.d.ts +3522 -0
- package/econtract_pb.js +1176 -0
- package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.d.ts +419 -0
- package/econtract_service-LogicUniRevPaymentEcontractService_connectquery.js +673 -0
- package/econtract_service.proto +71 -0
- package/econtract_service_connect.d.ts +381 -0
- package/econtract_service_connect.js +381 -0
- package/fundiin.proto +53 -0
- package/fundiin_pb.d.ts +255 -0
- package/fundiin_pb.js +85 -0
- package/google_billing.proto +65 -0
- package/google_billing_pb.d.ts +372 -0
- package/google_billing_pb.js +146 -0
- package/iap.proto +53 -0
- package/iap_pb.d.ts +281 -0
- package/iap_pb.js +109 -0
- package/momo.proto +92 -0
- package/momo_pb.d.ts +481 -0
- package/momo_pb.js +150 -0
- package/napas.proto +110 -0
- package/napas_pb.d.ts +587 -0
- package/napas_pb.js +192 -0
- package/order.proto +81 -0
- package/order_pb.d.ts +372 -0
- package/order_pb.js +123 -0
- package/package.json +10 -0
- package/package.proto +382 -0
- package/package_pb.d.ts +1907 -0
- package/package_pb.js +621 -0
- package/payment_promotion.proto +170 -0
- package/payment_promotion_pb.d.ts +893 -0
- package/payment_promotion_pb.js +311 -0
- package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.d.ts +112 -0
- package/payment_promotion_service-LogicUniRevPaymentPromotionService_connectquery.js +171 -0
- package/payment_promotion_service.proto +73 -0
- package/payment_promotion_service_connect.d.ts +102 -0
- package/payment_promotion_service_connect.js +102 -0
- package/payoo.proto +55 -0
- package/payoo_pb.d.ts +282 -0
- package/payoo_pb.js +105 -0
- package/pricer.proto +154 -0
- package/pricer_pb.d.ts +823 -0
- package/pricer_pb.js +260 -0
- package/rabbit_mq.proto +51 -0
- package/rabbit_mq_pb.d.ts +257 -0
- package/rabbit_mq_pb.js +78 -0
- package/refund_order.proto +37 -0
- package/refund_order_pb.d.ts +184 -0
- package/refund_order_pb.js +63 -0
- package/scripts/modify_package_json.js +50 -0
- package/service-LogicUniRevPaymentService_connectquery.d.ts +1239 -0
- package/service-LogicUniRevPaymentService_connectquery.js +1968 -0
- package/service.proto +643 -0
- package/service_connect.d.ts +1120 -0
- package/service_connect.js +1120 -0
- package/subscription.proto +24 -0
- package/subscription_pb.d.ts +98 -0
- package/subscription_pb.js +37 -0
- package/template.proto +76 -0
- package/template_pb.d.ts +387 -0
- package/template_pb.js +140 -0
- package/transaction.proto +513 -0
- package/transaction_pb.d.ts +2717 -0
- package/transaction_pb.js +856 -0
- package/virtual_account.proto +265 -0
- package/virtual_account_pb.d.ts +1442 -0
- package/virtual_account_pb.js +478 -0
- package/zalopay.proto +78 -0
- package/zalopay_pb.d.ts +423 -0
- package/zalopay_pb.js +153 -0
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-payment/v1/econtract_service.proto (package ct_logic_uni_rev_payment.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ApproveEcontractManualRequest, ApproveEcontractManualResponse, ApproveNewEcontractRequest, ApproveNewEcontractResponse, CreateCommercialSchemeRequest, CreateCommercialSchemeResponse, CreateContractReviewerRequest, CreateContractReviewerResponse, CreateEcontractRequest, CreateEcontractResponse, CreateEcontractViaCRMRequest, CreateEcontractViaCRMResponse, CreatePromotionRangeRequest, CreatePromotionRangeResponse, DeleteCommercialSchemeRequest, DeleteCommercialSchemeResponse, DeleteContractReviewerRequest, DeleteContractReviewerResponse, DeletePromotionRangeRequest, DeletePromotionRangeResponse, GetCommercialSchemeRequest, GetCommercialSchemeResponse, GetContractApprovalHistoryRequest, GetContractApprovalHistoryResponse, GetContractReviewerRequest, GetContractReviewerResponse, GetEcontractByAccountIdRequest, GetEcontractByAccountIdResponse, GetEcontractByIdAndAccountIdRequest, GetEcontractByIdAndAccountIdResponse, GetEcontractByIdAndHashRequest, GetEcontractByIdAndHashResponse, GetEcontractByIdRequest, GetEcontractByIdResponse, GetEcontractByOrderIdRequest, GetEcontractByOrderIdResponse, GetEcontractDetailByAccountIdRequest, GetEcontractDetailByAccountIdResponse, GetEcontractLogWithFilterRequest, GetEcontractLogWithFilterResponse, GetEcontractRequest, GetEcontractResponse, GetVerticalRequest, GetVerticalResponse, PayContractRequest, PayContractResponse, RejectNewEcontractRequest, RejectNewEcontractResponse, RevampedGetEcontractByIdRequest, RevampedGetEcontractByIdResponse, SendEcontractPaymentNotificationRequest, SendEcontractPaymentNotificationResponse, UpdateCommercialSchemeRequest, UpdateCommercialSchemeResponse, UpdateContractReviewerRequest, UpdateContractReviewerResponse, UpdateEcontractByIdRequest, UpdateEcontractByIdResponse, UpdateEcontractInfoByIdRequest, UpdateEcontractInfoByIdResponse, UpdateEcontractInvoiceRequest, UpdateEcontractInvoiceResponse, UpdateEcontractIsReadStatusByIdRequest, UpdateEcontractIsReadStatusByIdResponse, UpdateEcontractStatusRequest, UpdateEcontractStatusResponse, UpdateEcontractToPendingRequest, UpdateEcontractToPendingResponse, UpdateInvoiceInfoByIdRequest, UpdateInvoiceInfoByIdResponse, UpdatePostPaymentInfoRequest, UpdatePostPaymentInfoResponse, UpdatePromotionRangeRequest, UpdatePromotionRangeResponse } from "./econtract_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService
|
|
11
|
+
*/
|
|
12
|
+
export const LogicUniRevPaymentEcontractService = {
|
|
13
|
+
typeName: "ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* internal api
|
|
17
|
+
*
|
|
18
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.CreateEcontract
|
|
19
|
+
*/
|
|
20
|
+
createEcontract: {
|
|
21
|
+
name: "CreateEcontract",
|
|
22
|
+
I: CreateEcontractRequest,
|
|
23
|
+
O: CreateEcontractResponse,
|
|
24
|
+
kind: MethodKind.Unary,
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.CreateEcontractViaCRM
|
|
28
|
+
*/
|
|
29
|
+
createEcontractViaCRM: {
|
|
30
|
+
name: "CreateEcontractViaCRM",
|
|
31
|
+
I: CreateEcontractViaCRMRequest,
|
|
32
|
+
O: CreateEcontractViaCRMResponse,
|
|
33
|
+
kind: MethodKind.Unary,
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontract
|
|
37
|
+
*/
|
|
38
|
+
getEcontract: {
|
|
39
|
+
name: "GetEcontract",
|
|
40
|
+
I: GetEcontractRequest,
|
|
41
|
+
O: GetEcontractResponse,
|
|
42
|
+
kind: MethodKind.Unary,
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractById
|
|
46
|
+
*/
|
|
47
|
+
getEcontractById: {
|
|
48
|
+
name: "GetEcontractById",
|
|
49
|
+
I: GetEcontractByIdRequest,
|
|
50
|
+
O: GetEcontractByIdResponse,
|
|
51
|
+
kind: MethodKind.Unary,
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateEcontractStatus
|
|
55
|
+
*/
|
|
56
|
+
updateEcontractStatus: {
|
|
57
|
+
name: "UpdateEcontractStatus",
|
|
58
|
+
I: UpdateEcontractStatusRequest,
|
|
59
|
+
O: UpdateEcontractStatusResponse,
|
|
60
|
+
kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateEcontractById
|
|
64
|
+
*/
|
|
65
|
+
updateEcontractById: {
|
|
66
|
+
name: "UpdateEcontractById",
|
|
67
|
+
I: UpdateEcontractByIdRequest,
|
|
68
|
+
O: UpdateEcontractByIdResponse,
|
|
69
|
+
kind: MethodKind.Unary,
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractLogWithFilter
|
|
73
|
+
*/
|
|
74
|
+
getEcontractLogWithFilter: {
|
|
75
|
+
name: "GetEcontractLogWithFilter",
|
|
76
|
+
I: GetEcontractLogWithFilterRequest,
|
|
77
|
+
O: GetEcontractLogWithFilterResponse,
|
|
78
|
+
kind: MethodKind.Unary,
|
|
79
|
+
},
|
|
80
|
+
/**
|
|
81
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.ApproveEcontractManual
|
|
82
|
+
*/
|
|
83
|
+
approveEcontractManual: {
|
|
84
|
+
name: "ApproveEcontractManual",
|
|
85
|
+
I: ApproveEcontractManualRequest,
|
|
86
|
+
O: ApproveEcontractManualResponse,
|
|
87
|
+
kind: MethodKind.Unary,
|
|
88
|
+
},
|
|
89
|
+
/**
|
|
90
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractByOrderId
|
|
91
|
+
*/
|
|
92
|
+
getEcontractByOrderId: {
|
|
93
|
+
name: "GetEcontractByOrderId",
|
|
94
|
+
I: GetEcontractByOrderIdRequest,
|
|
95
|
+
O: GetEcontractByOrderIdResponse,
|
|
96
|
+
kind: MethodKind.Unary,
|
|
97
|
+
},
|
|
98
|
+
/**
|
|
99
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdatePostPaymentInfo
|
|
100
|
+
*/
|
|
101
|
+
updatePostPaymentInfo: {
|
|
102
|
+
name: "UpdatePostPaymentInfo",
|
|
103
|
+
I: UpdatePostPaymentInfoRequest,
|
|
104
|
+
O: UpdatePostPaymentInfoResponse,
|
|
105
|
+
kind: MethodKind.Unary,
|
|
106
|
+
},
|
|
107
|
+
/**
|
|
108
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractByIdAndAccountId
|
|
109
|
+
*/
|
|
110
|
+
getEcontractByIdAndAccountId: {
|
|
111
|
+
name: "GetEcontractByIdAndAccountId",
|
|
112
|
+
I: GetEcontractByIdAndAccountIdRequest,
|
|
113
|
+
O: GetEcontractByIdAndAccountIdResponse,
|
|
114
|
+
kind: MethodKind.Unary,
|
|
115
|
+
},
|
|
116
|
+
/**
|
|
117
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.RevampedGetEcontractById
|
|
118
|
+
*/
|
|
119
|
+
revampedGetEcontractById: {
|
|
120
|
+
name: "RevampedGetEcontractById",
|
|
121
|
+
I: RevampedGetEcontractByIdRequest,
|
|
122
|
+
O: RevampedGetEcontractByIdResponse,
|
|
123
|
+
kind: MethodKind.Unary,
|
|
124
|
+
},
|
|
125
|
+
/**
|
|
126
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateEcontractInvoice
|
|
127
|
+
*/
|
|
128
|
+
updateEcontractInvoice: {
|
|
129
|
+
name: "UpdateEcontractInvoice",
|
|
130
|
+
I: UpdateEcontractInvoiceRequest,
|
|
131
|
+
O: UpdateEcontractInvoiceResponse,
|
|
132
|
+
kind: MethodKind.Unary,
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
* private api
|
|
136
|
+
* api/v1/private/bank_transfer/contract-history
|
|
137
|
+
*
|
|
138
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractByAccountId
|
|
139
|
+
*/
|
|
140
|
+
getEcontractByAccountId: {
|
|
141
|
+
name: "GetEcontractByAccountId",
|
|
142
|
+
I: GetEcontractByAccountIdRequest,
|
|
143
|
+
O: GetEcontractByAccountIdResponse,
|
|
144
|
+
kind: MethodKind.Unary,
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
* api/v1/private/bank_transfer/contract-detail
|
|
148
|
+
*
|
|
149
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractDetailByAccountId
|
|
150
|
+
*/
|
|
151
|
+
getEcontractDetailByAccountId: {
|
|
152
|
+
name: "GetEcontractDetailByAccountId",
|
|
153
|
+
I: GetEcontractDetailByAccountIdRequest,
|
|
154
|
+
O: GetEcontractDetailByAccountIdResponse,
|
|
155
|
+
kind: MethodKind.Unary,
|
|
156
|
+
},
|
|
157
|
+
/**
|
|
158
|
+
* api/v1/private/bank_transfer/contract-detail/:bt_order_id/:hash
|
|
159
|
+
*
|
|
160
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetEcontractByIdAndHash
|
|
161
|
+
*/
|
|
162
|
+
getEcontractByIdAndHash: {
|
|
163
|
+
name: "GetEcontractByIdAndHash",
|
|
164
|
+
I: GetEcontractByIdAndHashRequest,
|
|
165
|
+
O: GetEcontractByIdAndHashResponse,
|
|
166
|
+
kind: MethodKind.Unary,
|
|
167
|
+
},
|
|
168
|
+
/**
|
|
169
|
+
* api/v1/private/bank_transfer/update-contract/:bt_order_id
|
|
170
|
+
*
|
|
171
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateEcontractInfoById
|
|
172
|
+
*/
|
|
173
|
+
updateEcontractInfoById: {
|
|
174
|
+
name: "UpdateEcontractInfoById",
|
|
175
|
+
I: UpdateEcontractInfoByIdRequest,
|
|
176
|
+
O: UpdateEcontractInfoByIdResponse,
|
|
177
|
+
kind: MethodKind.Unary,
|
|
178
|
+
},
|
|
179
|
+
/**
|
|
180
|
+
* api/v1/private/bank_transfer/contract-pending
|
|
181
|
+
*
|
|
182
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateEcontractToPending
|
|
183
|
+
*/
|
|
184
|
+
updateEcontractToPending: {
|
|
185
|
+
name: "UpdateEcontractToPending",
|
|
186
|
+
I: UpdateEcontractToPendingRequest,
|
|
187
|
+
O: UpdateEcontractToPendingResponse,
|
|
188
|
+
kind: MethodKind.Unary,
|
|
189
|
+
},
|
|
190
|
+
/**
|
|
191
|
+
* api/v1/private/bank_transfer/update-is-read-status/:bt_order_id
|
|
192
|
+
*
|
|
193
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateEcontractIsReadStatusById
|
|
194
|
+
*/
|
|
195
|
+
updateEcontractIsReadStatusById: {
|
|
196
|
+
name: "UpdateEcontractIsReadStatusById",
|
|
197
|
+
I: UpdateEcontractIsReadStatusByIdRequest,
|
|
198
|
+
O: UpdateEcontractIsReadStatusByIdResponse,
|
|
199
|
+
kind: MethodKind.Unary,
|
|
200
|
+
},
|
|
201
|
+
/**
|
|
202
|
+
* api/v1/private/bank_transfer/update-invoice/:bt_order_id
|
|
203
|
+
*
|
|
204
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateInvoiceInfoById
|
|
205
|
+
*/
|
|
206
|
+
updateInvoiceInfoById: {
|
|
207
|
+
name: "UpdateInvoiceInfoById",
|
|
208
|
+
I: UpdateInvoiceInfoByIdRequest,
|
|
209
|
+
O: UpdateInvoiceInfoByIdResponse,
|
|
210
|
+
kind: MethodKind.Unary,
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
* api/v1/private/bank_transfer/pay-contract
|
|
214
|
+
*
|
|
215
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.PayContract
|
|
216
|
+
*/
|
|
217
|
+
payContract: {
|
|
218
|
+
name: "PayContract",
|
|
219
|
+
I: PayContractRequest,
|
|
220
|
+
O: PayContractResponse,
|
|
221
|
+
kind: MethodKind.Unary,
|
|
222
|
+
},
|
|
223
|
+
/**
|
|
224
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.SendEcontractPaymentNotification
|
|
225
|
+
*/
|
|
226
|
+
sendEcontractPaymentNotification: {
|
|
227
|
+
name: "SendEcontractPaymentNotification",
|
|
228
|
+
I: SendEcontractPaymentNotificationRequest,
|
|
229
|
+
O: SendEcontractPaymentNotificationResponse,
|
|
230
|
+
kind: MethodKind.Unary,
|
|
231
|
+
},
|
|
232
|
+
/**
|
|
233
|
+
* commercial scheme
|
|
234
|
+
*
|
|
235
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetCommercialScheme
|
|
236
|
+
*/
|
|
237
|
+
getCommercialScheme: {
|
|
238
|
+
name: "GetCommercialScheme",
|
|
239
|
+
I: GetCommercialSchemeRequest,
|
|
240
|
+
O: GetCommercialSchemeResponse,
|
|
241
|
+
kind: MethodKind.Unary,
|
|
242
|
+
},
|
|
243
|
+
/**
|
|
244
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.CreateCommercialScheme
|
|
245
|
+
*/
|
|
246
|
+
createCommercialScheme: {
|
|
247
|
+
name: "CreateCommercialScheme",
|
|
248
|
+
I: CreateCommercialSchemeRequest,
|
|
249
|
+
O: CreateCommercialSchemeResponse,
|
|
250
|
+
kind: MethodKind.Unary,
|
|
251
|
+
},
|
|
252
|
+
/**
|
|
253
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateCommercialScheme
|
|
254
|
+
*/
|
|
255
|
+
updateCommercialScheme: {
|
|
256
|
+
name: "UpdateCommercialScheme",
|
|
257
|
+
I: UpdateCommercialSchemeRequest,
|
|
258
|
+
O: UpdateCommercialSchemeResponse,
|
|
259
|
+
kind: MethodKind.Unary,
|
|
260
|
+
},
|
|
261
|
+
/**
|
|
262
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.DeleteCommercialScheme
|
|
263
|
+
*/
|
|
264
|
+
deleteCommercialScheme: {
|
|
265
|
+
name: "DeleteCommercialScheme",
|
|
266
|
+
I: DeleteCommercialSchemeRequest,
|
|
267
|
+
O: DeleteCommercialSchemeResponse,
|
|
268
|
+
kind: MethodKind.Unary,
|
|
269
|
+
},
|
|
270
|
+
/**
|
|
271
|
+
* econtract with package id is out of commercial scheme, need to approve by admin
|
|
272
|
+
*
|
|
273
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.ApproveNewEcontract
|
|
274
|
+
*/
|
|
275
|
+
approveNewEcontract: {
|
|
276
|
+
name: "ApproveNewEcontract",
|
|
277
|
+
I: ApproveNewEcontractRequest,
|
|
278
|
+
O: ApproveNewEcontractResponse,
|
|
279
|
+
kind: MethodKind.Unary,
|
|
280
|
+
},
|
|
281
|
+
/**
|
|
282
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.RejectNewEcontract
|
|
283
|
+
*/
|
|
284
|
+
rejectNewEcontract: {
|
|
285
|
+
name: "RejectNewEcontract",
|
|
286
|
+
I: RejectNewEcontractRequest,
|
|
287
|
+
O: RejectNewEcontractResponse,
|
|
288
|
+
kind: MethodKind.Unary,
|
|
289
|
+
},
|
|
290
|
+
/**
|
|
291
|
+
* promotion range
|
|
292
|
+
*
|
|
293
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.CreatePromotionRange
|
|
294
|
+
*/
|
|
295
|
+
createPromotionRange: {
|
|
296
|
+
name: "CreatePromotionRange",
|
|
297
|
+
I: CreatePromotionRangeRequest,
|
|
298
|
+
O: CreatePromotionRangeResponse,
|
|
299
|
+
kind: MethodKind.Unary,
|
|
300
|
+
},
|
|
301
|
+
/**
|
|
302
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdatePromotionRange
|
|
303
|
+
*/
|
|
304
|
+
updatePromotionRange: {
|
|
305
|
+
name: "UpdatePromotionRange",
|
|
306
|
+
I: UpdatePromotionRangeRequest,
|
|
307
|
+
O: UpdatePromotionRangeResponse,
|
|
308
|
+
kind: MethodKind.Unary,
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.DeletePromotionRange
|
|
312
|
+
*/
|
|
313
|
+
deletePromotionRange: {
|
|
314
|
+
name: "DeletePromotionRange",
|
|
315
|
+
I: DeletePromotionRangeRequest,
|
|
316
|
+
O: DeletePromotionRangeResponse,
|
|
317
|
+
kind: MethodKind.Unary,
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
* contract approval history
|
|
321
|
+
*
|
|
322
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetContractApprovalHistory
|
|
323
|
+
*/
|
|
324
|
+
getContractApprovalHistory: {
|
|
325
|
+
name: "GetContractApprovalHistory",
|
|
326
|
+
I: GetContractApprovalHistoryRequest,
|
|
327
|
+
O: GetContractApprovalHistoryResponse,
|
|
328
|
+
kind: MethodKind.Unary,
|
|
329
|
+
},
|
|
330
|
+
/**
|
|
331
|
+
* contract reviewer
|
|
332
|
+
*
|
|
333
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.CreateContractReviewer
|
|
334
|
+
*/
|
|
335
|
+
createContractReviewer: {
|
|
336
|
+
name: "CreateContractReviewer",
|
|
337
|
+
I: CreateContractReviewerRequest,
|
|
338
|
+
O: CreateContractReviewerResponse,
|
|
339
|
+
kind: MethodKind.Unary,
|
|
340
|
+
},
|
|
341
|
+
/**
|
|
342
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetContractReviewer
|
|
343
|
+
*/
|
|
344
|
+
getContractReviewer: {
|
|
345
|
+
name: "GetContractReviewer",
|
|
346
|
+
I: GetContractReviewerRequest,
|
|
347
|
+
O: GetContractReviewerResponse,
|
|
348
|
+
kind: MethodKind.Unary,
|
|
349
|
+
},
|
|
350
|
+
/**
|
|
351
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.DeleteContractReviewer
|
|
352
|
+
*/
|
|
353
|
+
deleteContractReviewer: {
|
|
354
|
+
name: "DeleteContractReviewer",
|
|
355
|
+
I: DeleteContractReviewerRequest,
|
|
356
|
+
O: DeleteContractReviewerResponse,
|
|
357
|
+
kind: MethodKind.Unary,
|
|
358
|
+
},
|
|
359
|
+
/**
|
|
360
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.UpdateContractReviewer
|
|
361
|
+
*/
|
|
362
|
+
updateContractReviewer: {
|
|
363
|
+
name: "UpdateContractReviewer",
|
|
364
|
+
I: UpdateContractReviewerRequest,
|
|
365
|
+
O: UpdateContractReviewerResponse,
|
|
366
|
+
kind: MethodKind.Unary,
|
|
367
|
+
},
|
|
368
|
+
/**
|
|
369
|
+
* vertical
|
|
370
|
+
*
|
|
371
|
+
* @generated from rpc ct_logic_uni_rev_payment.v1.LogicUniRevPaymentEcontractService.GetVertical
|
|
372
|
+
*/
|
|
373
|
+
getVertical: {
|
|
374
|
+
name: "GetVertical",
|
|
375
|
+
I: GetVerticalRequest,
|
|
376
|
+
O: GetVerticalResponse,
|
|
377
|
+
kind: MethodKind.Unary,
|
|
378
|
+
},
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
|
package/fundiin.proto
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
import "validate/validate.proto";
|
|
10
|
+
|
|
11
|
+
message FundiinIPNRequest {
|
|
12
|
+
message Series {
|
|
13
|
+
string id = 1;
|
|
14
|
+
int64 amount = 2 [ (validate.rules).int64.gt = 0 ];
|
|
15
|
+
google.protobuf.Timestamp payment_date = 3;
|
|
16
|
+
}
|
|
17
|
+
string shop_id = 1;
|
|
18
|
+
string transaction_id = 2;
|
|
19
|
+
string order_id = 3;
|
|
20
|
+
int64 payment_status = 4;
|
|
21
|
+
int64 total_amount = 5 [ (validate.rules).int64.gt = 0 ];
|
|
22
|
+
int64 discount_amount = 6;
|
|
23
|
+
uint64 timestamp = 7;
|
|
24
|
+
repeated Series series = 8;
|
|
25
|
+
string authorization_token = 9;
|
|
26
|
+
string fundiin_transaction_id = 10;
|
|
27
|
+
string signature = 11;
|
|
28
|
+
string raw_data = 12;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message FundiinIPNResponse {
|
|
32
|
+
int32 code = 1;
|
|
33
|
+
string message = 2;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message FundiinTagsRequest {
|
|
37
|
+
string shop_id = 1;
|
|
38
|
+
string transaction_id = 2;
|
|
39
|
+
string order_id = 3;
|
|
40
|
+
int64 total_amount = 4 [ (validate.rules).int64.gt = 0 ];
|
|
41
|
+
int64 discount_amount = 5;
|
|
42
|
+
repeated string tags = 6;
|
|
43
|
+
int64 timestamp = 7 [ (validate.rules).int64.gt = 0 ];
|
|
44
|
+
string authorization_token = 8;
|
|
45
|
+
string fundiin_transaction_id = 9;
|
|
46
|
+
string signature = 10;
|
|
47
|
+
string raw_data = 11;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message FundiinTagsResponse {
|
|
51
|
+
int32 code = 1;
|
|
52
|
+
string message = 2;
|
|
53
|
+
}
|
package/fundiin_pb.d.ts
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
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/fundiin.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.FundiinIPNRequest
|
|
13
|
+
*/
|
|
14
|
+
export declare class FundiinIPNRequest extends Message<FundiinIPNRequest> {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: string shop_id = 1;
|
|
17
|
+
*/
|
|
18
|
+
shopId: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: string transaction_id = 2;
|
|
22
|
+
*/
|
|
23
|
+
transactionId: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string order_id = 3;
|
|
27
|
+
*/
|
|
28
|
+
orderId: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from field: int64 payment_status = 4;
|
|
32
|
+
*/
|
|
33
|
+
paymentStatus: bigint;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: int64 total_amount = 5;
|
|
37
|
+
*/
|
|
38
|
+
totalAmount: bigint;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: int64 discount_amount = 6;
|
|
42
|
+
*/
|
|
43
|
+
discountAmount: bigint;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: uint64 timestamp = 7;
|
|
47
|
+
*/
|
|
48
|
+
timestamp: bigint;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: repeated ct_logic_uni_rev_payment.v1.FundiinIPNRequest.Series series = 8;
|
|
52
|
+
*/
|
|
53
|
+
series: FundiinIPNRequest_Series[];
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: string authorization_token = 9;
|
|
57
|
+
*/
|
|
58
|
+
authorizationToken: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: string fundiin_transaction_id = 10;
|
|
62
|
+
*/
|
|
63
|
+
fundiinTransactionId: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: string signature = 11;
|
|
67
|
+
*/
|
|
68
|
+
signature: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: string raw_data = 12;
|
|
72
|
+
*/
|
|
73
|
+
rawData: string;
|
|
74
|
+
|
|
75
|
+
constructor(data?: PartialMessage<FundiinIPNRequest>);
|
|
76
|
+
|
|
77
|
+
static readonly runtime: typeof proto3;
|
|
78
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.FundiinIPNRequest";
|
|
79
|
+
static readonly fields: FieldList;
|
|
80
|
+
|
|
81
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FundiinIPNRequest;
|
|
82
|
+
|
|
83
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FundiinIPNRequest;
|
|
84
|
+
|
|
85
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FundiinIPNRequest;
|
|
86
|
+
|
|
87
|
+
static equals(a: FundiinIPNRequest | PlainMessage<FundiinIPNRequest> | undefined, b: FundiinIPNRequest | PlainMessage<FundiinIPNRequest> | undefined): boolean;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from message ct_logic_uni_rev_payment.v1.FundiinIPNRequest.Series
|
|
92
|
+
*/
|
|
93
|
+
export declare class FundiinIPNRequest_Series extends Message<FundiinIPNRequest_Series> {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: string id = 1;
|
|
96
|
+
*/
|
|
97
|
+
id: string;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: int64 amount = 2;
|
|
101
|
+
*/
|
|
102
|
+
amount: bigint;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: google.protobuf.Timestamp payment_date = 3;
|
|
106
|
+
*/
|
|
107
|
+
paymentDate?: Timestamp;
|
|
108
|
+
|
|
109
|
+
constructor(data?: PartialMessage<FundiinIPNRequest_Series>);
|
|
110
|
+
|
|
111
|
+
static readonly runtime: typeof proto3;
|
|
112
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.FundiinIPNRequest.Series";
|
|
113
|
+
static readonly fields: FieldList;
|
|
114
|
+
|
|
115
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FundiinIPNRequest_Series;
|
|
116
|
+
|
|
117
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FundiinIPNRequest_Series;
|
|
118
|
+
|
|
119
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FundiinIPNRequest_Series;
|
|
120
|
+
|
|
121
|
+
static equals(a: FundiinIPNRequest_Series | PlainMessage<FundiinIPNRequest_Series> | undefined, b: FundiinIPNRequest_Series | PlainMessage<FundiinIPNRequest_Series> | undefined): boolean;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from message ct_logic_uni_rev_payment.v1.FundiinIPNResponse
|
|
126
|
+
*/
|
|
127
|
+
export declare class FundiinIPNResponse extends Message<FundiinIPNResponse> {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: int32 code = 1;
|
|
130
|
+
*/
|
|
131
|
+
code: number;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string message = 2;
|
|
135
|
+
*/
|
|
136
|
+
message: string;
|
|
137
|
+
|
|
138
|
+
constructor(data?: PartialMessage<FundiinIPNResponse>);
|
|
139
|
+
|
|
140
|
+
static readonly runtime: typeof proto3;
|
|
141
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.FundiinIPNResponse";
|
|
142
|
+
static readonly fields: FieldList;
|
|
143
|
+
|
|
144
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FundiinIPNResponse;
|
|
145
|
+
|
|
146
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FundiinIPNResponse;
|
|
147
|
+
|
|
148
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FundiinIPNResponse;
|
|
149
|
+
|
|
150
|
+
static equals(a: FundiinIPNResponse | PlainMessage<FundiinIPNResponse> | undefined, b: FundiinIPNResponse | PlainMessage<FundiinIPNResponse> | undefined): boolean;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from message ct_logic_uni_rev_payment.v1.FundiinTagsRequest
|
|
155
|
+
*/
|
|
156
|
+
export declare class FundiinTagsRequest extends Message<FundiinTagsRequest> {
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string shop_id = 1;
|
|
159
|
+
*/
|
|
160
|
+
shopId: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string transaction_id = 2;
|
|
164
|
+
*/
|
|
165
|
+
transactionId: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string order_id = 3;
|
|
169
|
+
*/
|
|
170
|
+
orderId: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: int64 total_amount = 4;
|
|
174
|
+
*/
|
|
175
|
+
totalAmount: bigint;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: int64 discount_amount = 5;
|
|
179
|
+
*/
|
|
180
|
+
discountAmount: bigint;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: repeated string tags = 6;
|
|
184
|
+
*/
|
|
185
|
+
tags: string[];
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: int64 timestamp = 7;
|
|
189
|
+
*/
|
|
190
|
+
timestamp: bigint;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from field: string authorization_token = 8;
|
|
194
|
+
*/
|
|
195
|
+
authorizationToken: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: string fundiin_transaction_id = 9;
|
|
199
|
+
*/
|
|
200
|
+
fundiinTransactionId: string;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: string signature = 10;
|
|
204
|
+
*/
|
|
205
|
+
signature: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: string raw_data = 11;
|
|
209
|
+
*/
|
|
210
|
+
rawData: string;
|
|
211
|
+
|
|
212
|
+
constructor(data?: PartialMessage<FundiinTagsRequest>);
|
|
213
|
+
|
|
214
|
+
static readonly runtime: typeof proto3;
|
|
215
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.FundiinTagsRequest";
|
|
216
|
+
static readonly fields: FieldList;
|
|
217
|
+
|
|
218
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FundiinTagsRequest;
|
|
219
|
+
|
|
220
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FundiinTagsRequest;
|
|
221
|
+
|
|
222
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FundiinTagsRequest;
|
|
223
|
+
|
|
224
|
+
static equals(a: FundiinTagsRequest | PlainMessage<FundiinTagsRequest> | undefined, b: FundiinTagsRequest | PlainMessage<FundiinTagsRequest> | undefined): boolean;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* @generated from message ct_logic_uni_rev_payment.v1.FundiinTagsResponse
|
|
229
|
+
*/
|
|
230
|
+
export declare class FundiinTagsResponse extends Message<FundiinTagsResponse> {
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: int32 code = 1;
|
|
233
|
+
*/
|
|
234
|
+
code: number;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: string message = 2;
|
|
238
|
+
*/
|
|
239
|
+
message: string;
|
|
240
|
+
|
|
241
|
+
constructor(data?: PartialMessage<FundiinTagsResponse>);
|
|
242
|
+
|
|
243
|
+
static readonly runtime: typeof proto3;
|
|
244
|
+
static readonly typeName = "ct_logic_uni_rev_payment.v1.FundiinTagsResponse";
|
|
245
|
+
static readonly fields: FieldList;
|
|
246
|
+
|
|
247
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FundiinTagsResponse;
|
|
248
|
+
|
|
249
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FundiinTagsResponse;
|
|
250
|
+
|
|
251
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FundiinTagsResponse;
|
|
252
|
+
|
|
253
|
+
static equals(a: FundiinTagsResponse | PlainMessage<FundiinTagsResponse> | undefined, b: FundiinTagsResponse | PlainMessage<FundiinTagsResponse> | undefined): boolean;
|
|
254
|
+
}
|
|
255
|
+
|