@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.
- package/cart_service-LogicUniRevOrderCartService_connectquery.d.ts +88 -0
- package/cart_service-LogicUniRevOrderCartService_connectquery.js +131 -0
- package/cart_service.proto +108 -0
- package/cart_service_connect.d.ts +80 -0
- package/cart_service_connect.js +80 -0
- package/cart_service_pb.d.ts +525 -0
- package/cart_service_pb.js +194 -0
- package/change_order_status.proto +110 -0
- package/change_order_status_pb.d.ts +494 -0
- package/change_order_status_pb.js +163 -0
- package/invoice.proto +565 -0
- package/invoice_entities.proto +205 -0
- package/invoice_entities_pb.d.ts +414 -0
- package/invoice_entities_pb.js +113 -0
- package/invoice_pb.d.ts +2875 -0
- package/invoice_pb.js +917 -0
- package/invoice_service-LogicUniRevOrderInvoiceService_connectquery.d.ts +238 -0
- package/invoice_service-LogicUniRevOrderInvoiceService_connectquery.js +371 -0
- package/invoice_service.proto +240 -0
- package/invoice_service_connect.d.ts +215 -0
- package/invoice_service_connect.js +215 -0
- package/onbehalf_service-LogicUniRevOrderOnBehalfService_connectquery.d.ts +108 -0
- package/onbehalf_service-LogicUniRevOrderOnBehalfService_connectquery.js +163 -0
- package/onbehalf_service.proto +355 -0
- package/onbehalf_service_connect.d.ts +98 -0
- package/onbehalf_service_connect.js +98 -0
- package/onbehalf_service_pb.d.ts +1789 -0
- package/onbehalf_service_pb.js +568 -0
- package/order_entities.proto +75 -0
- package/order_entities_pb.d.ts +366 -0
- package/order_entities_pb.js +111 -0
- package/order_history_order_service_detail.proto +485 -0
- package/order_history_order_service_detail_pb.d.ts +2599 -0
- package/order_history_order_service_detail_pb.js +768 -0
- package/order_history_paid_order.proto +224 -0
- package/order_history_paid_order_pb.d.ts +1139 -0
- package/order_history_paid_order_pb.js +343 -0
- package/order_history_revamp.proto +107 -0
- package/order_history_revamp_pb.d.ts +577 -0
- package/order_history_revamp_pb.js +164 -0
- package/order_info.proto +74 -0
- package/order_info_pb.d.ts +381 -0
- package/order_info_pb.js +138 -0
- package/package.json +10 -0
- package/paid_product.proto +94 -0
- package/paid_product_order.proto +430 -0
- package/paid_product_order_pb.d.ts +2120 -0
- package/paid_product_order_pb.js +698 -0
- package/paid_product_pb.d.ts +287 -0
- package/paid_product_pb.js +105 -0
- package/rabbit_mq.proto +69 -0
- package/rabbit_mq_pb.d.ts +251 -0
- package/rabbit_mq_pb.js +94 -0
- package/refund_order.proto +195 -0
- package/refund_order_pb.d.ts +1030 -0
- package/refund_order_pb.js +359 -0
- package/scripts/modify_package_json.js +50 -0
- package/service-LogicUniRevOrderService_connectquery.d.ts +638 -0
- package/service-LogicUniRevOrderService_connectquery.js +1014 -0
- package/service.proto +179 -0
- package/service_connect.d.ts +578 -0
- package/service_connect.js +578 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v0.4.4 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-order/v1/cart_service.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AddServicesRequest, AddServicesResponse, CreateMappingOrderAndCartRequest, CreateMappingOrderAndCartResponse, DeleteCartRequest, DeleteCartResponse, DeleteCartsRequest, DeleteCartsResponse, DeleteServicesOfAdRequest, DeleteServicesOfAdResponse, DeleteServicesRequest, DeleteServicesResponse, GetServicesRequest, GetServicesResponse } from "./cart_service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { UnaryHooks } from "@connectrpc/connect-query";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from service ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService
|
|
12
|
+
*/
|
|
13
|
+
export declare const LogicUniRevOrderCartService: {
|
|
14
|
+
readonly typeName: "ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService",
|
|
15
|
+
readonly methods: {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.AddServices
|
|
18
|
+
*/
|
|
19
|
+
readonly addServices: {
|
|
20
|
+
readonly name: "AddServices",
|
|
21
|
+
readonly I: typeof AddServicesRequest,
|
|
22
|
+
readonly O: typeof AddServicesResponse,
|
|
23
|
+
readonly kind: MethodKind.Unary,
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.GetServices
|
|
27
|
+
*/
|
|
28
|
+
readonly getServices: {
|
|
29
|
+
readonly name: "GetServices",
|
|
30
|
+
readonly I: typeof GetServicesRequest,
|
|
31
|
+
readonly O: typeof GetServicesResponse,
|
|
32
|
+
readonly kind: MethodKind.Unary,
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServices
|
|
36
|
+
*/
|
|
37
|
+
readonly deleteServices: {
|
|
38
|
+
readonly name: "DeleteServices",
|
|
39
|
+
readonly I: typeof DeleteServicesRequest,
|
|
40
|
+
readonly O: typeof DeleteServicesResponse,
|
|
41
|
+
readonly kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCart
|
|
45
|
+
*/
|
|
46
|
+
readonly deleteCart: {
|
|
47
|
+
readonly name: "DeleteCart",
|
|
48
|
+
readonly I: typeof DeleteCartRequest,
|
|
49
|
+
readonly O: typeof DeleteCartResponse,
|
|
50
|
+
readonly kind: MethodKind.Unary,
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCarts
|
|
54
|
+
*/
|
|
55
|
+
readonly deleteCarts: {
|
|
56
|
+
readonly name: "DeleteCarts",
|
|
57
|
+
readonly I: typeof DeleteCartsRequest,
|
|
58
|
+
readonly O: typeof DeleteCartsResponse,
|
|
59
|
+
readonly kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServicesOfAd
|
|
63
|
+
*/
|
|
64
|
+
readonly deleteServicesOfAd: {
|
|
65
|
+
readonly name: "DeleteServicesOfAd",
|
|
66
|
+
readonly I: typeof DeleteServicesOfAdRequest,
|
|
67
|
+
readonly O: typeof DeleteServicesOfAdResponse,
|
|
68
|
+
readonly kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.CreateMappingOrderAndCart
|
|
72
|
+
*/
|
|
73
|
+
readonly createMappingOrderAndCart: {
|
|
74
|
+
readonly name: "CreateMappingOrderAndCart",
|
|
75
|
+
readonly I: typeof CreateMappingOrderAndCartRequest,
|
|
76
|
+
readonly O: typeof CreateMappingOrderAndCartResponse,
|
|
77
|
+
readonly kind: MethodKind.Unary,
|
|
78
|
+
},
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export const addServices: UnaryHooks<AddServicesRequest, AddServicesResponse>;
|
|
83
|
+
export const getServices: UnaryHooks<GetServicesRequest, GetServicesResponse>;
|
|
84
|
+
export const deleteServices: UnaryHooks<DeleteServicesRequest, DeleteServicesResponse>;
|
|
85
|
+
export const deleteCart: UnaryHooks<DeleteCartRequest, DeleteCartResponse>;
|
|
86
|
+
export const deleteCarts: UnaryHooks<DeleteCartsRequest, DeleteCartsResponse>;
|
|
87
|
+
export const deleteServicesOfAd: UnaryHooks<DeleteServicesOfAdRequest, DeleteServicesOfAdResponse>;
|
|
88
|
+
export const createMappingOrderAndCart: UnaryHooks<CreateMappingOrderAndCartRequest, CreateMappingOrderAndCartResponse>;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v0.4.4 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-order/v1/cart_service.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AddServicesRequest, AddServicesResponse, CreateMappingOrderAndCartRequest, CreateMappingOrderAndCartResponse, DeleteCartRequest, DeleteCartResponse, DeleteCartsRequest, DeleteCartsResponse, DeleteServicesOfAdRequest, DeleteServicesOfAdResponse, DeleteServicesRequest, DeleteServicesResponse, GetServicesRequest, GetServicesResponse } from "./cart_service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { createQueryService } from "@connectrpc/connect-query";
|
|
9
|
+
|
|
10
|
+
export const typeName = "ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from service ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService
|
|
14
|
+
*/
|
|
15
|
+
export const LogicUniRevOrderCartService = {
|
|
16
|
+
typeName: "ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService",
|
|
17
|
+
methods: {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.AddServices
|
|
20
|
+
*/
|
|
21
|
+
addServices: {
|
|
22
|
+
name: "AddServices",
|
|
23
|
+
I: AddServicesRequest,
|
|
24
|
+
O: AddServicesResponse,
|
|
25
|
+
kind: MethodKind.Unary,
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.GetServices
|
|
29
|
+
*/
|
|
30
|
+
getServices: {
|
|
31
|
+
name: "GetServices",
|
|
32
|
+
I: GetServicesRequest,
|
|
33
|
+
O: GetServicesResponse,
|
|
34
|
+
kind: MethodKind.Unary,
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServices
|
|
38
|
+
*/
|
|
39
|
+
deleteServices: {
|
|
40
|
+
name: "DeleteServices",
|
|
41
|
+
I: DeleteServicesRequest,
|
|
42
|
+
O: DeleteServicesResponse,
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCart
|
|
47
|
+
*/
|
|
48
|
+
deleteCart: {
|
|
49
|
+
name: "DeleteCart",
|
|
50
|
+
I: DeleteCartRequest,
|
|
51
|
+
O: DeleteCartResponse,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCarts
|
|
56
|
+
*/
|
|
57
|
+
deleteCarts: {
|
|
58
|
+
name: "DeleteCarts",
|
|
59
|
+
I: DeleteCartsRequest,
|
|
60
|
+
O: DeleteCartsResponse,
|
|
61
|
+
kind: MethodKind.Unary,
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServicesOfAd
|
|
65
|
+
*/
|
|
66
|
+
deleteServicesOfAd: {
|
|
67
|
+
name: "DeleteServicesOfAd",
|
|
68
|
+
I: DeleteServicesOfAdRequest,
|
|
69
|
+
O: DeleteServicesOfAdResponse,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.CreateMappingOrderAndCart
|
|
74
|
+
*/
|
|
75
|
+
createMappingOrderAndCart: {
|
|
76
|
+
name: "CreateMappingOrderAndCart",
|
|
77
|
+
I: CreateMappingOrderAndCartRequest,
|
|
78
|
+
O: CreateMappingOrderAndCartResponse,
|
|
79
|
+
kind: MethodKind.Unary,
|
|
80
|
+
},
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.AddServices
|
|
86
|
+
*/
|
|
87
|
+
export const addServices = createQueryService({
|
|
88
|
+
service: LogicUniRevOrderCartService,
|
|
89
|
+
}).addServices;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.GetServices
|
|
93
|
+
*/
|
|
94
|
+
export const getServices = createQueryService({
|
|
95
|
+
service: LogicUniRevOrderCartService,
|
|
96
|
+
}).getServices;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServices
|
|
100
|
+
*/
|
|
101
|
+
export const deleteServices = createQueryService({
|
|
102
|
+
service: LogicUniRevOrderCartService,
|
|
103
|
+
}).deleteServices;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCart
|
|
107
|
+
*/
|
|
108
|
+
export const deleteCart = createQueryService({
|
|
109
|
+
service: LogicUniRevOrderCartService,
|
|
110
|
+
}).deleteCart;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCarts
|
|
114
|
+
*/
|
|
115
|
+
export const deleteCarts = createQueryService({
|
|
116
|
+
service: LogicUniRevOrderCartService,
|
|
117
|
+
}).deleteCarts;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServicesOfAd
|
|
121
|
+
*/
|
|
122
|
+
export const deleteServicesOfAd = createQueryService({
|
|
123
|
+
service: LogicUniRevOrderCartService,
|
|
124
|
+
}).deleteServicesOfAd;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.CreateMappingOrderAndCart
|
|
128
|
+
*/
|
|
129
|
+
export const createMappingOrderAndCart = createQueryService({
|
|
130
|
+
service: LogicUniRevOrderCartService,
|
|
131
|
+
}).createMappingOrderAndCart;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package ct_logic_uni_rev_order.v1;
|
|
4
|
+
|
|
5
|
+
// import third party protos
|
|
6
|
+
import "google/protobuf/duration.proto";
|
|
7
|
+
|
|
8
|
+
// language specs
|
|
9
|
+
option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-order;pb";
|
|
10
|
+
|
|
11
|
+
message AddServicesRequest {
|
|
12
|
+
int64 account_id = 1;
|
|
13
|
+
string cart_type = 2;
|
|
14
|
+
repeated CartService services = 3;
|
|
15
|
+
string platform = 4;
|
|
16
|
+
string version = 5;
|
|
17
|
+
int64 ttl = 6;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
message CartService {
|
|
21
|
+
optional int64 ad_id = 1;
|
|
22
|
+
optional string shop_alias = 2;
|
|
23
|
+
string type = 3;
|
|
24
|
+
string params = 4;
|
|
25
|
+
ServicePrice service_price = 5;
|
|
26
|
+
int64 price = 6; // legacy
|
|
27
|
+
ServicePrice price_unit = 7; // legacy
|
|
28
|
+
string error_msg = 8;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message ServicePrice {
|
|
32
|
+
int64 vnd = 1;
|
|
33
|
+
int64 credit = 2;
|
|
34
|
+
int64 promotion = 3;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message CartTimerBumpBlockTime {
|
|
38
|
+
int64 start = 1;
|
|
39
|
+
int64 end = 2;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message AddServicesResponse {
|
|
43
|
+
repeated CartService success = 1;
|
|
44
|
+
repeated CartService fail = 2;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message GetServicesRequest {
|
|
48
|
+
int64 account_id = 1;
|
|
49
|
+
string cart_type = 2;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message GetServicesResponse {
|
|
53
|
+
repeated CartService services = 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message DeleteServicesRequest {
|
|
57
|
+
int64 account_id = 1;
|
|
58
|
+
string cart_type = 2;
|
|
59
|
+
repeated CartService services = 3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message DeleteServicesResponse {
|
|
63
|
+
repeated CartService success = 1;
|
|
64
|
+
repeated CartService fail = 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message DeleteCartRequest {
|
|
68
|
+
int64 account_id = 1;
|
|
69
|
+
string cart_type = 2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message DeleteCartResponse {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
message DeleteCartsRequest {
|
|
76
|
+
int64 account_id = 1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message DeleteCartsResponse {
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
message DeleteServicesOfAdRequest {
|
|
83
|
+
int64 account_id = 1;
|
|
84
|
+
string cart_type = 2;
|
|
85
|
+
int64 ad_id = 3;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message DeleteServicesOfAdResponse {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message CreateMappingOrderAndCartRequest {
|
|
92
|
+
int64 order_id = 1;
|
|
93
|
+
string cart_type = 2;
|
|
94
|
+
google.protobuf.Duration ttl = 3;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
message CreateMappingOrderAndCartResponse {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
service LogicUniRevOrderCartService {
|
|
101
|
+
rpc AddServices(AddServicesRequest) returns (AddServicesResponse) {}
|
|
102
|
+
rpc GetServices(GetServicesRequest) returns (GetServicesResponse) {}
|
|
103
|
+
rpc DeleteServices(DeleteServicesRequest) returns (DeleteServicesResponse) {}
|
|
104
|
+
rpc DeleteCart(DeleteCartRequest) returns (DeleteCartResponse) {}
|
|
105
|
+
rpc DeleteCarts(DeleteCartsRequest) returns (DeleteCartsResponse) {}
|
|
106
|
+
rpc DeleteServicesOfAd(DeleteServicesOfAdRequest) returns (DeleteServicesOfAdResponse) {}
|
|
107
|
+
rpc CreateMappingOrderAndCart(CreateMappingOrderAndCartRequest) returns (CreateMappingOrderAndCartResponse) {}
|
|
108
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-order/v1/cart_service.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AddServicesRequest, AddServicesResponse, CreateMappingOrderAndCartRequest, CreateMappingOrderAndCartResponse, DeleteCartRequest, DeleteCartResponse, DeleteCartsRequest, DeleteCartsResponse, DeleteServicesOfAdRequest, DeleteServicesOfAdResponse, DeleteServicesRequest, DeleteServicesResponse, GetServicesRequest, GetServicesResponse } from "./cart_service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService
|
|
11
|
+
*/
|
|
12
|
+
export declare const LogicUniRevOrderCartService: {
|
|
13
|
+
readonly typeName: "ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.AddServices
|
|
17
|
+
*/
|
|
18
|
+
readonly addServices: {
|
|
19
|
+
readonly name: "AddServices",
|
|
20
|
+
readonly I: typeof AddServicesRequest,
|
|
21
|
+
readonly O: typeof AddServicesResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.GetServices
|
|
26
|
+
*/
|
|
27
|
+
readonly getServices: {
|
|
28
|
+
readonly name: "GetServices",
|
|
29
|
+
readonly I: typeof GetServicesRequest,
|
|
30
|
+
readonly O: typeof GetServicesResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServices
|
|
35
|
+
*/
|
|
36
|
+
readonly deleteServices: {
|
|
37
|
+
readonly name: "DeleteServices",
|
|
38
|
+
readonly I: typeof DeleteServicesRequest,
|
|
39
|
+
readonly O: typeof DeleteServicesResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCart
|
|
44
|
+
*/
|
|
45
|
+
readonly deleteCart: {
|
|
46
|
+
readonly name: "DeleteCart",
|
|
47
|
+
readonly I: typeof DeleteCartRequest,
|
|
48
|
+
readonly O: typeof DeleteCartResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCarts
|
|
53
|
+
*/
|
|
54
|
+
readonly deleteCarts: {
|
|
55
|
+
readonly name: "DeleteCarts",
|
|
56
|
+
readonly I: typeof DeleteCartsRequest,
|
|
57
|
+
readonly O: typeof DeleteCartsResponse,
|
|
58
|
+
readonly kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServicesOfAd
|
|
62
|
+
*/
|
|
63
|
+
readonly deleteServicesOfAd: {
|
|
64
|
+
readonly name: "DeleteServicesOfAd",
|
|
65
|
+
readonly I: typeof DeleteServicesOfAdRequest,
|
|
66
|
+
readonly O: typeof DeleteServicesOfAdResponse,
|
|
67
|
+
readonly kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.CreateMappingOrderAndCart
|
|
71
|
+
*/
|
|
72
|
+
readonly createMappingOrderAndCart: {
|
|
73
|
+
readonly name: "CreateMappingOrderAndCart",
|
|
74
|
+
readonly I: typeof CreateMappingOrderAndCartRequest,
|
|
75
|
+
readonly O: typeof CreateMappingOrderAndCartResponse,
|
|
76
|
+
readonly kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-order/v1/cart_service.proto (package ct_logic_uni_rev_order.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { AddServicesRequest, AddServicesResponse, CreateMappingOrderAndCartRequest, CreateMappingOrderAndCartResponse, DeleteCartRequest, DeleteCartResponse, DeleteCartsRequest, DeleteCartsResponse, DeleteServicesOfAdRequest, DeleteServicesOfAdResponse, DeleteServicesRequest, DeleteServicesResponse, GetServicesRequest, GetServicesResponse } from "./cart_service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService
|
|
11
|
+
*/
|
|
12
|
+
export const LogicUniRevOrderCartService = {
|
|
13
|
+
typeName: "ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.AddServices
|
|
17
|
+
*/
|
|
18
|
+
addServices: {
|
|
19
|
+
name: "AddServices",
|
|
20
|
+
I: AddServicesRequest,
|
|
21
|
+
O: AddServicesResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.GetServices
|
|
26
|
+
*/
|
|
27
|
+
getServices: {
|
|
28
|
+
name: "GetServices",
|
|
29
|
+
I: GetServicesRequest,
|
|
30
|
+
O: GetServicesResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServices
|
|
35
|
+
*/
|
|
36
|
+
deleteServices: {
|
|
37
|
+
name: "DeleteServices",
|
|
38
|
+
I: DeleteServicesRequest,
|
|
39
|
+
O: DeleteServicesResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCart
|
|
44
|
+
*/
|
|
45
|
+
deleteCart: {
|
|
46
|
+
name: "DeleteCart",
|
|
47
|
+
I: DeleteCartRequest,
|
|
48
|
+
O: DeleteCartResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteCarts
|
|
53
|
+
*/
|
|
54
|
+
deleteCarts: {
|
|
55
|
+
name: "DeleteCarts",
|
|
56
|
+
I: DeleteCartsRequest,
|
|
57
|
+
O: DeleteCartsResponse,
|
|
58
|
+
kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.DeleteServicesOfAd
|
|
62
|
+
*/
|
|
63
|
+
deleteServicesOfAd: {
|
|
64
|
+
name: "DeleteServicesOfAd",
|
|
65
|
+
I: DeleteServicesOfAdRequest,
|
|
66
|
+
O: DeleteServicesOfAdResponse,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @generated from rpc ct_logic_uni_rev_order.v1.LogicUniRevOrderCartService.CreateMappingOrderAndCart
|
|
71
|
+
*/
|
|
72
|
+
createMappingOrderAndCart: {
|
|
73
|
+
name: "CreateMappingOrderAndCart",
|
|
74
|
+
I: CreateMappingOrderAndCartRequest,
|
|
75
|
+
O: CreateMappingOrderAndCartResponse,
|
|
76
|
+
kind: MethodKind.Unary,
|
|
77
|
+
},
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|