@chotot/ct-logic-uni-rev-order-v1 1.197.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 (62) hide show
  1. package/cart_service-LogicUniRevOrderCartService_connectquery.d.ts +88 -0
  2. package/cart_service-LogicUniRevOrderCartService_connectquery.js +131 -0
  3. package/cart_service.proto +108 -0
  4. package/cart_service_connect.d.ts +80 -0
  5. package/cart_service_connect.js +80 -0
  6. package/cart_service_pb.d.ts +525 -0
  7. package/cart_service_pb.js +194 -0
  8. package/change_order_status.proto +110 -0
  9. package/change_order_status_pb.d.ts +494 -0
  10. package/change_order_status_pb.js +163 -0
  11. package/invoice.proto +565 -0
  12. package/invoice_entities.proto +205 -0
  13. package/invoice_entities_pb.d.ts +414 -0
  14. package/invoice_entities_pb.js +113 -0
  15. package/invoice_pb.d.ts +2875 -0
  16. package/invoice_pb.js +917 -0
  17. package/invoice_service-LogicUniRevOrderInvoiceService_connectquery.d.ts +238 -0
  18. package/invoice_service-LogicUniRevOrderInvoiceService_connectquery.js +371 -0
  19. package/invoice_service.proto +240 -0
  20. package/invoice_service_connect.d.ts +215 -0
  21. package/invoice_service_connect.js +215 -0
  22. package/onbehalf_service-LogicUniRevOrderOnBehalfService_connectquery.d.ts +108 -0
  23. package/onbehalf_service-LogicUniRevOrderOnBehalfService_connectquery.js +163 -0
  24. package/onbehalf_service.proto +355 -0
  25. package/onbehalf_service_connect.d.ts +98 -0
  26. package/onbehalf_service_connect.js +98 -0
  27. package/onbehalf_service_pb.d.ts +1789 -0
  28. package/onbehalf_service_pb.js +568 -0
  29. package/order_entities.proto +75 -0
  30. package/order_entities_pb.d.ts +366 -0
  31. package/order_entities_pb.js +111 -0
  32. package/order_history_order_service_detail.proto +485 -0
  33. package/order_history_order_service_detail_pb.d.ts +2599 -0
  34. package/order_history_order_service_detail_pb.js +768 -0
  35. package/order_history_paid_order.proto +224 -0
  36. package/order_history_paid_order_pb.d.ts +1139 -0
  37. package/order_history_paid_order_pb.js +343 -0
  38. package/order_history_revamp.proto +107 -0
  39. package/order_history_revamp_pb.d.ts +577 -0
  40. package/order_history_revamp_pb.js +164 -0
  41. package/order_info.proto +74 -0
  42. package/order_info_pb.d.ts +381 -0
  43. package/order_info_pb.js +138 -0
  44. package/package.json +10 -0
  45. package/paid_product.proto +94 -0
  46. package/paid_product_order.proto +430 -0
  47. package/paid_product_order_pb.d.ts +2120 -0
  48. package/paid_product_order_pb.js +698 -0
  49. package/paid_product_pb.d.ts +287 -0
  50. package/paid_product_pb.js +105 -0
  51. package/rabbit_mq.proto +69 -0
  52. package/rabbit_mq_pb.d.ts +251 -0
  53. package/rabbit_mq_pb.js +94 -0
  54. package/refund_order.proto +195 -0
  55. package/refund_order_pb.d.ts +1030 -0
  56. package/refund_order_pb.js +359 -0
  57. package/scripts/modify_package_json.js +50 -0
  58. package/service-LogicUniRevOrderService_connectquery.d.ts +638 -0
  59. package/service-LogicUniRevOrderService_connectquery.js +1014 -0
  60. package/service.proto +179 -0
  61. package/service_connect.d.ts +578 -0
  62. package/service_connect.js +578 -0
@@ -0,0 +1,164 @@
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-order/v1/order_history_revamp.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import { proto3 } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * @generated from message ct_logic_uni_rev_order.v1.OrderHistoryOrder
12
+ */
13
+ export const OrderHistoryOrder = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_order.v1.OrderHistoryOrder",
15
+ () => [
16
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
17
+ { no: 2, name: "order_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18
+ { no: 3, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
19
+ { no: 4, name: "order_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
20
+ { no: 5, name: "order_unit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
21
+ { no: 6, name: "order_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
22
+ { no: 7, name: "order_status_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
23
+ { no: 8, name: "created_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
24
+ { no: 9, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
25
+ { no: 10, name: "expired_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
26
+ { no: 11, name: "expired_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
27
+ { no: 12, name: "invoice_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
28
+ { no: 13, name: "invoice_status_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
+ { no: 14, name: "order_thumbnail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
30
+ ],
31
+ );
32
+
33
+ /**
34
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrdersByAccountIdRequest
35
+ */
36
+ export const GetOrdersByAccountIdRequest = proto3.makeMessageType(
37
+ "ct_logic_uni_rev_order.v1.GetOrdersByAccountIdRequest",
38
+ () => [
39
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
40
+ { no: 2, name: "order_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
41
+ { no: 3, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
42
+ { no: 4, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
+ ],
44
+ );
45
+
46
+ /**
47
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrdersByAccountIdResponse
48
+ */
49
+ export const GetOrdersByAccountIdResponse = proto3.makeMessageType(
50
+ "ct_logic_uni_rev_order.v1.GetOrdersByAccountIdResponse",
51
+ () => [
52
+ { no: 1, name: "orders", kind: "message", T: OrderHistoryOrder, repeated: true },
53
+ { no: 2, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ ],
55
+ );
56
+
57
+ /**
58
+ * @generated from message ct_logic_uni_rev_order.v1.OrderHistoryOrderDetail
59
+ */
60
+ export const OrderHistoryOrderDetail = proto3.makeMessageType(
61
+ "ct_logic_uni_rev_order.v1.OrderHistoryOrderDetail",
62
+ () => [
63
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
64
+ { no: 2, name: "order_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ { no: 3, name: "payment_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
66
+ { no: 4, name: "order_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
67
+ { no: 5, name: "order_unit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
68
+ { no: 6, name: "order_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
69
+ { no: 7, name: "order_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
70
+ { no: 8, name: "order_status_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
71
+ { no: 9, name: "created_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
72
+ { no: 10, name: "expired_timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
73
+ { no: 11, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
74
+ { no: 12, name: "expired_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
+ { no: 13, name: "invoice_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
+ { no: 14, name: "invoice_status_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
+ { no: 15, name: "payment_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
78
+ { no: 16, name: "payment_method_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
+ { no: 17, name: "refund_order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
80
+ { no: 18, name: "refund_order_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
81
+ { no: 19, name: "services_by_ad", kind: "message", T: ServicesByAd, repeated: true },
82
+ { no: 20, name: "services_by_account", kind: "message", T: OrderHistoryService, repeated: true },
83
+ { no: 21, name: "remaining_dongtot", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
84
+ { no: 22, name: "billing_summary", kind: "message", T: BillingSummary },
85
+ { no: 23, name: "top_note", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
86
+ ],
87
+ );
88
+
89
+ /**
90
+ * @generated from message ct_logic_uni_rev_order.v1.OrderHistoryService
91
+ */
92
+ export const OrderHistoryService = proto3.makeMessageType(
93
+ "ct_logic_uni_rev_order.v1.OrderHistoryService",
94
+ () => [
95
+ { no: 1, name: "service_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
96
+ { no: 2, name: "service_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
97
+ { no: 3, name: "service_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
98
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
99
+ { no: 5, name: "price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
100
+ { no: 6, name: "price_unit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
101
+ { no: 7, name: "service_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
102
+ { no: 8, name: "service_status_desc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
+ { no: 9, name: "service_deliveries", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
104
+ { no: 10, name: "service_thumbnail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
105
+ ],
106
+ );
107
+
108
+ /**
109
+ * @generated from message ct_logic_uni_rev_order.v1.ServicesByAd
110
+ */
111
+ export const ServicesByAd = proto3.makeMessageType(
112
+ "ct_logic_uni_rev_order.v1.ServicesByAd",
113
+ () => [
114
+ { no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
115
+ { no: 2, name: "ad_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
116
+ { no: 3, name: "ad_thumbnail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
117
+ { no: 4, name: "service_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
118
+ { no: 5, name: "services", kind: "message", T: OrderHistoryService, repeated: true },
119
+ ],
120
+ );
121
+
122
+ /**
123
+ * @generated from message ct_logic_uni_rev_order.v1.BillingSummary
124
+ */
125
+ export const BillingSummary = proto3.makeMessageType(
126
+ "ct_logic_uni_rev_order.v1.BillingSummary",
127
+ () => [
128
+ { no: 1, name: "before_tax", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
129
+ { no: 2, name: "tax", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
130
+ { no: 3, name: "service_fee", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
131
+ { no: 4, name: "tax_service_fee", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
132
+ { no: 5, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
133
+ { no: 6, name: "total_with_tax", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
134
+ { no: 7, name: "before_tax_desc", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
135
+ { no: 8, name: "tax_desc", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
136
+ { no: 9, name: "service_fee_desc", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
137
+ { no: 10, name: "tax_service_fee_desc", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
138
+ { no: 11, name: "total_desc", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
139
+ { no: 12, name: "total_with_tax_desc", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
140
+ ],
141
+ );
142
+
143
+ /**
144
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrderHistoryOrderDetailRequest
145
+ */
146
+ export const GetOrderHistoryOrderDetailRequest = proto3.makeMessageType(
147
+ "ct_logic_uni_rev_order.v1.GetOrderHistoryOrderDetailRequest",
148
+ () => [
149
+ { no: 1, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
150
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
151
+ { no: 3, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
+ ],
153
+ );
154
+
155
+ /**
156
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrderHistoryOrderDetailResponse
157
+ */
158
+ export const GetOrderHistoryOrderDetailResponse = proto3.makeMessageType(
159
+ "ct_logic_uni_rev_order.v1.GetOrderHistoryOrderDetailResponse",
160
+ () => [
161
+ { no: 1, name: "order_detail", kind: "message", T: OrderHistoryOrderDetail },
162
+ ],
163
+ );
164
+
@@ -0,0 +1,74 @@
1
+ // general
2
+ syntax = "proto3";
3
+ package ct_logic_uni_rev_order.v1;
4
+
5
+ import "validate/validate.proto";
6
+ import "ct-logic-uni-rev-order/v1/order_entities.proto";
7
+
8
+
9
+ // language specs
10
+ option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-order;pb";
11
+
12
+ message GetOrderByOrderIdOrPaymentCodeRequest {
13
+ int64 order_id = 1;
14
+ string payment_code = 2;
15
+ int64 account_id = 3;
16
+ bool with_order_action = 4; // return addional order actions
17
+ bool with_order_service = 5; // return additional order services
18
+ }
19
+
20
+ message GetOrderByOrderIdOrPaymentCodeResponse {
21
+ PaidProductOrder order = 1;
22
+ repeated PaidProductOrderAction order_actions = 2;
23
+ repeated PaidProductOrderService order_services = 3;
24
+ }
25
+
26
+ message GetServiceByServiceIdRequest {
27
+ int64 service_id = 1;
28
+ int64 account_id = 2;
29
+ }
30
+
31
+ message GetServiceByServiceIdResponse {
32
+ PaidProductOrderService service = 1;
33
+ int64 order_id = 2;
34
+ }
35
+
36
+ message GetOrderTransactionHistoryRequest {
37
+ int64 order_id = 1;
38
+ }
39
+
40
+ message GetOrderTransactionHistoryResponse {
41
+ repeated TransactionInfo transaction_infos = 1;
42
+ }
43
+
44
+ message TransactionInfo {
45
+ string payment_attempt_id = 1;
46
+ string vendor_order_id = 2;
47
+ string transaction_id = 3;
48
+ string payment_method = 4;
49
+ string payment_status = 5;
50
+ bool is_successful = 6;
51
+ }
52
+
53
+ message GetOrdersByPaymentCodesRequest {
54
+ repeated string payment_codes = 1;
55
+ bool with_order_action = 3; // return additional order actions
56
+ bool with_order_service = 4; // return additional order services
57
+ }
58
+
59
+ message GetOrdersByPaymentCodesResponse {
60
+ repeated PaidProductOrderFull orders = 1;
61
+ }
62
+
63
+ message GetRefundOrderInfoRequest {
64
+ int64 order_id = 1 [(validate.rules).int64 = { // get failed order info which order_id is the refund order for
65
+ gt: 0,
66
+ }];
67
+ }
68
+
69
+ message GetRefundOrderInfoResponse {
70
+ int64 failed_order_id = 1; // order that is refunded
71
+ string payment_method = 2; // payment method of failed_order_id
72
+ int64 refund_order_value = 3; // the order value that is refunded , not topup DT amount
73
+ string refund_type = 4; // partial_single_service, full_single_service, full_multiple_services, full_order
74
+ }
@@ -0,0 +1,381 @@
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-order/v1/order_info.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
9
+ import { Message, proto3 } from "@bufbuild/protobuf";
10
+ import type { PaidProductOrder, PaidProductOrderAction, PaidProductOrderFull, PaidProductOrderService } from "./order_entities_pb.js";
11
+
12
+ /**
13
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrderByOrderIdOrPaymentCodeRequest
14
+ */
15
+ export declare class GetOrderByOrderIdOrPaymentCodeRequest extends Message<GetOrderByOrderIdOrPaymentCodeRequest> {
16
+ /**
17
+ * @generated from field: int64 order_id = 1;
18
+ */
19
+ orderId: bigint;
20
+
21
+ /**
22
+ * @generated from field: string payment_code = 2;
23
+ */
24
+ paymentCode: string;
25
+
26
+ /**
27
+ * @generated from field: int64 account_id = 3;
28
+ */
29
+ accountId: bigint;
30
+
31
+ /**
32
+ * return addional order actions
33
+ *
34
+ * @generated from field: bool with_order_action = 4;
35
+ */
36
+ withOrderAction: boolean;
37
+
38
+ /**
39
+ * return additional order services
40
+ *
41
+ * @generated from field: bool with_order_service = 5;
42
+ */
43
+ withOrderService: boolean;
44
+
45
+ constructor(data?: PartialMessage<GetOrderByOrderIdOrPaymentCodeRequest>);
46
+
47
+ static readonly runtime: typeof proto3;
48
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetOrderByOrderIdOrPaymentCodeRequest";
49
+ static readonly fields: FieldList;
50
+
51
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrderByOrderIdOrPaymentCodeRequest;
52
+
53
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrderByOrderIdOrPaymentCodeRequest;
54
+
55
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrderByOrderIdOrPaymentCodeRequest;
56
+
57
+ static equals(a: GetOrderByOrderIdOrPaymentCodeRequest | PlainMessage<GetOrderByOrderIdOrPaymentCodeRequest> | undefined, b: GetOrderByOrderIdOrPaymentCodeRequest | PlainMessage<GetOrderByOrderIdOrPaymentCodeRequest> | undefined): boolean;
58
+ }
59
+
60
+ /**
61
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrderByOrderIdOrPaymentCodeResponse
62
+ */
63
+ export declare class GetOrderByOrderIdOrPaymentCodeResponse extends Message<GetOrderByOrderIdOrPaymentCodeResponse> {
64
+ /**
65
+ * @generated from field: ct_logic_uni_rev_order.v1.PaidProductOrder order = 1;
66
+ */
67
+ order?: PaidProductOrder;
68
+
69
+ /**
70
+ * @generated from field: repeated ct_logic_uni_rev_order.v1.PaidProductOrderAction order_actions = 2;
71
+ */
72
+ orderActions: PaidProductOrderAction[];
73
+
74
+ /**
75
+ * @generated from field: repeated ct_logic_uni_rev_order.v1.PaidProductOrderService order_services = 3;
76
+ */
77
+ orderServices: PaidProductOrderService[];
78
+
79
+ constructor(data?: PartialMessage<GetOrderByOrderIdOrPaymentCodeResponse>);
80
+
81
+ static readonly runtime: typeof proto3;
82
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetOrderByOrderIdOrPaymentCodeResponse";
83
+ static readonly fields: FieldList;
84
+
85
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrderByOrderIdOrPaymentCodeResponse;
86
+
87
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrderByOrderIdOrPaymentCodeResponse;
88
+
89
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrderByOrderIdOrPaymentCodeResponse;
90
+
91
+ static equals(a: GetOrderByOrderIdOrPaymentCodeResponse | PlainMessage<GetOrderByOrderIdOrPaymentCodeResponse> | undefined, b: GetOrderByOrderIdOrPaymentCodeResponse | PlainMessage<GetOrderByOrderIdOrPaymentCodeResponse> | undefined): boolean;
92
+ }
93
+
94
+ /**
95
+ * @generated from message ct_logic_uni_rev_order.v1.GetServiceByServiceIdRequest
96
+ */
97
+ export declare class GetServiceByServiceIdRequest extends Message<GetServiceByServiceIdRequest> {
98
+ /**
99
+ * @generated from field: int64 service_id = 1;
100
+ */
101
+ serviceId: bigint;
102
+
103
+ /**
104
+ * @generated from field: int64 account_id = 2;
105
+ */
106
+ accountId: bigint;
107
+
108
+ constructor(data?: PartialMessage<GetServiceByServiceIdRequest>);
109
+
110
+ static readonly runtime: typeof proto3;
111
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetServiceByServiceIdRequest";
112
+ static readonly fields: FieldList;
113
+
114
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetServiceByServiceIdRequest;
115
+
116
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetServiceByServiceIdRequest;
117
+
118
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetServiceByServiceIdRequest;
119
+
120
+ static equals(a: GetServiceByServiceIdRequest | PlainMessage<GetServiceByServiceIdRequest> | undefined, b: GetServiceByServiceIdRequest | PlainMessage<GetServiceByServiceIdRequest> | undefined): boolean;
121
+ }
122
+
123
+ /**
124
+ * @generated from message ct_logic_uni_rev_order.v1.GetServiceByServiceIdResponse
125
+ */
126
+ export declare class GetServiceByServiceIdResponse extends Message<GetServiceByServiceIdResponse> {
127
+ /**
128
+ * @generated from field: ct_logic_uni_rev_order.v1.PaidProductOrderService service = 1;
129
+ */
130
+ service?: PaidProductOrderService;
131
+
132
+ /**
133
+ * @generated from field: int64 order_id = 2;
134
+ */
135
+ orderId: bigint;
136
+
137
+ constructor(data?: PartialMessage<GetServiceByServiceIdResponse>);
138
+
139
+ static readonly runtime: typeof proto3;
140
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetServiceByServiceIdResponse";
141
+ static readonly fields: FieldList;
142
+
143
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetServiceByServiceIdResponse;
144
+
145
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetServiceByServiceIdResponse;
146
+
147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetServiceByServiceIdResponse;
148
+
149
+ static equals(a: GetServiceByServiceIdResponse | PlainMessage<GetServiceByServiceIdResponse> | undefined, b: GetServiceByServiceIdResponse | PlainMessage<GetServiceByServiceIdResponse> | undefined): boolean;
150
+ }
151
+
152
+ /**
153
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrderTransactionHistoryRequest
154
+ */
155
+ export declare class GetOrderTransactionHistoryRequest extends Message<GetOrderTransactionHistoryRequest> {
156
+ /**
157
+ * @generated from field: int64 order_id = 1;
158
+ */
159
+ orderId: bigint;
160
+
161
+ constructor(data?: PartialMessage<GetOrderTransactionHistoryRequest>);
162
+
163
+ static readonly runtime: typeof proto3;
164
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetOrderTransactionHistoryRequest";
165
+ static readonly fields: FieldList;
166
+
167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrderTransactionHistoryRequest;
168
+
169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrderTransactionHistoryRequest;
170
+
171
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrderTransactionHistoryRequest;
172
+
173
+ static equals(a: GetOrderTransactionHistoryRequest | PlainMessage<GetOrderTransactionHistoryRequest> | undefined, b: GetOrderTransactionHistoryRequest | PlainMessage<GetOrderTransactionHistoryRequest> | undefined): boolean;
174
+ }
175
+
176
+ /**
177
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrderTransactionHistoryResponse
178
+ */
179
+ export declare class GetOrderTransactionHistoryResponse extends Message<GetOrderTransactionHistoryResponse> {
180
+ /**
181
+ * @generated from field: repeated ct_logic_uni_rev_order.v1.TransactionInfo transaction_infos = 1;
182
+ */
183
+ transactionInfos: TransactionInfo[];
184
+
185
+ constructor(data?: PartialMessage<GetOrderTransactionHistoryResponse>);
186
+
187
+ static readonly runtime: typeof proto3;
188
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetOrderTransactionHistoryResponse";
189
+ static readonly fields: FieldList;
190
+
191
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrderTransactionHistoryResponse;
192
+
193
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrderTransactionHistoryResponse;
194
+
195
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrderTransactionHistoryResponse;
196
+
197
+ static equals(a: GetOrderTransactionHistoryResponse | PlainMessage<GetOrderTransactionHistoryResponse> | undefined, b: GetOrderTransactionHistoryResponse | PlainMessage<GetOrderTransactionHistoryResponse> | undefined): boolean;
198
+ }
199
+
200
+ /**
201
+ * @generated from message ct_logic_uni_rev_order.v1.TransactionInfo
202
+ */
203
+ export declare class TransactionInfo extends Message<TransactionInfo> {
204
+ /**
205
+ * @generated from field: string payment_attempt_id = 1;
206
+ */
207
+ paymentAttemptId: string;
208
+
209
+ /**
210
+ * @generated from field: string vendor_order_id = 2;
211
+ */
212
+ vendorOrderId: string;
213
+
214
+ /**
215
+ * @generated from field: string transaction_id = 3;
216
+ */
217
+ transactionId: string;
218
+
219
+ /**
220
+ * @generated from field: string payment_method = 4;
221
+ */
222
+ paymentMethod: string;
223
+
224
+ /**
225
+ * @generated from field: string payment_status = 5;
226
+ */
227
+ paymentStatus: string;
228
+
229
+ /**
230
+ * @generated from field: bool is_successful = 6;
231
+ */
232
+ isSuccessful: boolean;
233
+
234
+ constructor(data?: PartialMessage<TransactionInfo>);
235
+
236
+ static readonly runtime: typeof proto3;
237
+ static readonly typeName = "ct_logic_uni_rev_order.v1.TransactionInfo";
238
+ static readonly fields: FieldList;
239
+
240
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TransactionInfo;
241
+
242
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TransactionInfo;
243
+
244
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TransactionInfo;
245
+
246
+ static equals(a: TransactionInfo | PlainMessage<TransactionInfo> | undefined, b: TransactionInfo | PlainMessage<TransactionInfo> | undefined): boolean;
247
+ }
248
+
249
+ /**
250
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrdersByPaymentCodesRequest
251
+ */
252
+ export declare class GetOrdersByPaymentCodesRequest extends Message<GetOrdersByPaymentCodesRequest> {
253
+ /**
254
+ * @generated from field: repeated string payment_codes = 1;
255
+ */
256
+ paymentCodes: string[];
257
+
258
+ /**
259
+ * return additional order actions
260
+ *
261
+ * @generated from field: bool with_order_action = 3;
262
+ */
263
+ withOrderAction: boolean;
264
+
265
+ /**
266
+ * return additional order services
267
+ *
268
+ * @generated from field: bool with_order_service = 4;
269
+ */
270
+ withOrderService: boolean;
271
+
272
+ constructor(data?: PartialMessage<GetOrdersByPaymentCodesRequest>);
273
+
274
+ static readonly runtime: typeof proto3;
275
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetOrdersByPaymentCodesRequest";
276
+ static readonly fields: FieldList;
277
+
278
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrdersByPaymentCodesRequest;
279
+
280
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrdersByPaymentCodesRequest;
281
+
282
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrdersByPaymentCodesRequest;
283
+
284
+ static equals(a: GetOrdersByPaymentCodesRequest | PlainMessage<GetOrdersByPaymentCodesRequest> | undefined, b: GetOrdersByPaymentCodesRequest | PlainMessage<GetOrdersByPaymentCodesRequest> | undefined): boolean;
285
+ }
286
+
287
+ /**
288
+ * @generated from message ct_logic_uni_rev_order.v1.GetOrdersByPaymentCodesResponse
289
+ */
290
+ export declare class GetOrdersByPaymentCodesResponse extends Message<GetOrdersByPaymentCodesResponse> {
291
+ /**
292
+ * @generated from field: repeated ct_logic_uni_rev_order.v1.PaidProductOrderFull orders = 1;
293
+ */
294
+ orders: PaidProductOrderFull[];
295
+
296
+ constructor(data?: PartialMessage<GetOrdersByPaymentCodesResponse>);
297
+
298
+ static readonly runtime: typeof proto3;
299
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetOrdersByPaymentCodesResponse";
300
+ static readonly fields: FieldList;
301
+
302
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrdersByPaymentCodesResponse;
303
+
304
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrdersByPaymentCodesResponse;
305
+
306
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrdersByPaymentCodesResponse;
307
+
308
+ static equals(a: GetOrdersByPaymentCodesResponse | PlainMessage<GetOrdersByPaymentCodesResponse> | undefined, b: GetOrdersByPaymentCodesResponse | PlainMessage<GetOrdersByPaymentCodesResponse> | undefined): boolean;
309
+ }
310
+
311
+ /**
312
+ * @generated from message ct_logic_uni_rev_order.v1.GetRefundOrderInfoRequest
313
+ */
314
+ export declare class GetRefundOrderInfoRequest extends Message<GetRefundOrderInfoRequest> {
315
+ /**
316
+ * @generated from field: int64 order_id = 1;
317
+ */
318
+ orderId: bigint;
319
+
320
+ constructor(data?: PartialMessage<GetRefundOrderInfoRequest>);
321
+
322
+ static readonly runtime: typeof proto3;
323
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetRefundOrderInfoRequest";
324
+ static readonly fields: FieldList;
325
+
326
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRefundOrderInfoRequest;
327
+
328
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRefundOrderInfoRequest;
329
+
330
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRefundOrderInfoRequest;
331
+
332
+ static equals(a: GetRefundOrderInfoRequest | PlainMessage<GetRefundOrderInfoRequest> | undefined, b: GetRefundOrderInfoRequest | PlainMessage<GetRefundOrderInfoRequest> | undefined): boolean;
333
+ }
334
+
335
+ /**
336
+ * @generated from message ct_logic_uni_rev_order.v1.GetRefundOrderInfoResponse
337
+ */
338
+ export declare class GetRefundOrderInfoResponse extends Message<GetRefundOrderInfoResponse> {
339
+ /**
340
+ * order that is refunded
341
+ *
342
+ * @generated from field: int64 failed_order_id = 1;
343
+ */
344
+ failedOrderId: bigint;
345
+
346
+ /**
347
+ * payment method of failed_order_id
348
+ *
349
+ * @generated from field: string payment_method = 2;
350
+ */
351
+ paymentMethod: string;
352
+
353
+ /**
354
+ * the order value that is refunded , not topup DT amount
355
+ *
356
+ * @generated from field: int64 refund_order_value = 3;
357
+ */
358
+ refundOrderValue: bigint;
359
+
360
+ /**
361
+ * partial_single_service, full_single_service, full_multiple_services, full_order
362
+ *
363
+ * @generated from field: string refund_type = 4;
364
+ */
365
+ refundType: string;
366
+
367
+ constructor(data?: PartialMessage<GetRefundOrderInfoResponse>);
368
+
369
+ static readonly runtime: typeof proto3;
370
+ static readonly typeName = "ct_logic_uni_rev_order.v1.GetRefundOrderInfoResponse";
371
+ static readonly fields: FieldList;
372
+
373
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRefundOrderInfoResponse;
374
+
375
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRefundOrderInfoResponse;
376
+
377
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRefundOrderInfoResponse;
378
+
379
+ static equals(a: GetRefundOrderInfoResponse | PlainMessage<GetRefundOrderInfoResponse> | undefined, b: GetRefundOrderInfoResponse | PlainMessage<GetRefundOrderInfoResponse> | undefined): boolean;
380
+ }
381
+