@chotot/ct-logic-uni-rev-premium-v1 1.286.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.proto +89 -0
- package/ad_delivery.proto +232 -0
- package/ad_delivery_pb.d.ts +1285 -0
- package/ad_delivery_pb.js +439 -0
- package/ad_delivery_service-LogicUniRevPremiumAdDeliveryService_connectquery.d.ts +138 -0
- package/ad_delivery_service-LogicUniRevPremiumAdDeliveryService_connectquery.js +211 -0
- package/ad_delivery_service.proto +65 -0
- package/ad_delivery_service_connect.d.ts +125 -0
- package/ad_delivery_service_connect.js +125 -0
- package/ad_optimization.proto +111 -0
- package/ad_optimization_pb.d.ts +601 -0
- package/ad_optimization_pb.js +214 -0
- package/ad_optimization_service-LogicUniRevPremiumAdOptimizationService_connectquery.d.ts +78 -0
- package/ad_optimization_service-LogicUniRevPremiumAdOptimizationService_connectquery.js +115 -0
- package/ad_optimization_service.proto +21 -0
- package/ad_optimization_service_connect.d.ts +71 -0
- package/ad_optimization_service_connect.js +71 -0
- package/ad_pb.d.ts +461 -0
- package/ad_pb.js +172 -0
- package/ad_service-LogicUniRevPremiumAdService_connectquery.d.ts +58 -0
- package/ad_service-LogicUniRevPremiumAdService_connectquery.js +83 -0
- package/ad_service.proto +15 -0
- package/ad_service_connect.d.ts +53 -0
- package/ad_service_connect.js +53 -0
- package/ad_social_platform.proto +108 -0
- package/ad_social_platform_pb.d.ts +474 -0
- package/ad_social_platform_pb.js +156 -0
- package/ad_social_platform_service-LogicUniRevPremiumAdSocialPlatformService_connectquery.d.ts +68 -0
- package/ad_social_platform_service-LogicUniRevPremiumAdSocialPlatformService_connectquery.js +99 -0
- package/ad_social_platform_service.proto +23 -0
- package/ad_social_platform_service_connect.d.ts +62 -0
- package/ad_social_platform_service_connect.js +62 -0
- package/bump_ad.proto +162 -0
- package/bump_ad_pb.d.ts +869 -0
- package/bump_ad_pb.js +308 -0
- package/bump_ad_service-LogicUniRevPremiumBumpAdService_connectquery.d.ts +123 -0
- package/bump_ad_service-LogicUniRevPremiumBumpAdService_connectquery.js +189 -0
- package/bump_ad_service.proto +56 -0
- package/bump_ad_service_connect.d.ts +112 -0
- package/bump_ad_service_connect.js +112 -0
- package/free_ps.proto +527 -0
- package/free_ps_pb.d.ts +2848 -0
- package/free_ps_pb.js +934 -0
- package/free_ps_service-LogicUniRevPremiumFreePsService_connectquery.d.ts +304 -0
- package/free_ps_service-LogicUniRevPremiumFreePsService_connectquery.js +483 -0
- package/free_ps_service.proto +62 -0
- package/free_ps_service_connect.d.ts +276 -0
- package/free_ps_service_connect.js +276 -0
- package/listing_tier.proto +228 -0
- package/listing_tier_pb.d.ts +1032 -0
- package/listing_tier_pb.js +365 -0
- package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.d.ts +108 -0
- package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.js +163 -0
- package/listing_tier_service.proto +19 -0
- package/listing_tier_service_connect.d.ts +98 -0
- package/listing_tier_service_connect.js +98 -0
- package/onbehalf.proto +91 -0
- package/onbehalf_pb.d.ts +411 -0
- package/onbehalf_pb.js +138 -0
- package/onbehalf_service-LogicUniRevPremiumOnbehalfService_connectquery.d.ts +28 -0
- package/onbehalf_service-LogicUniRevPremiumOnbehalfService_connectquery.js +35 -0
- package/onbehalf_service.proto +11 -0
- package/onbehalf_service_connect.d.ts +26 -0
- package/onbehalf_service_connect.js +26 -0
- package/package.json +10 -0
- package/premium_services.proto +1005 -0
- package/premium_services_pb.d.ts +5465 -0
- package/premium_services_pb.js +1840 -0
- package/premium_services_service-LogicUniRevPremiumPremiumServicesService_connectquery.d.ts +496 -0
- package/premium_services_service-LogicUniRevPremiumPremiumServicesService_connectquery.js +787 -0
- package/premium_services_service.proto +132 -0
- package/premium_services_service_connect.d.ts +448 -0
- package/premium_services_service_connect.js +448 -0
- package/pricing.proto +722 -0
- package/pricing_pb.d.ts +3949 -0
- package/pricing_pb.js +1372 -0
- package/pricing_service-LogicUniRevPremiumPricingService_connectquery.d.ts +411 -0
- package/pricing_service-LogicUniRevPremiumPricingService_connectquery.js +653 -0
- package/pricing_service.proto +63 -0
- package/pricing_service_connect.d.ts +372 -0
- package/pricing_service_connect.js +372 -0
- package/scripts/modify_package_json.js +50 -0
- package/special_display.proto +56 -0
- package/special_display_pb.d.ts +322 -0
- package/special_display_pb.js +113 -0
- package/special_display_service-LogicUniRevPremiumSpecialDisplayService_connectquery.d.ts +58 -0
- package/special_display_service-LogicUniRevPremiumSpecialDisplayService_connectquery.js +83 -0
- package/special_display_service.proto +24 -0
- package/special_display_service_connect.d.ts +53 -0
- package/special_display_service_connect.js +53 -0
- package/sticky_adinfo.proto +312 -0
- package/sticky_adinfo_pb.d.ts +1463 -0
- package/sticky_adinfo_pb.js +328 -0
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-premium/v1/listing_tier.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3, Timestamp } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @generated from enum ct_logic_uni_rev_premium.v1.BenefitType
|
|
10
|
+
*/
|
|
11
|
+
export const BenefitType = proto3.makeEnum(
|
|
12
|
+
"ct_logic_uni_rev_premium.v1.BenefitType",
|
|
13
|
+
[
|
|
14
|
+
{no: 0, name: "BENEFIT_TYPE_UNSPECIFIED", localName: "UNSPECIFIED"},
|
|
15
|
+
{no: 1, name: "BENEFIT_TYPE_COMMUNICATION_VIA_ZALO", localName: "COMMUNICATION_VIA_ZALO"},
|
|
16
|
+
{no: 2, name: "BENEFIT_TYPE_BLOCK_OTHER_LISTINGS", localName: "BLOCK_OTHER_LISTINGS"},
|
|
17
|
+
{no: 3, name: "BENEFIT_TYPE_SHARE_CROSS_PLATFORM", localName: "SHARE_CROSS_PLATFORM"},
|
|
18
|
+
{no: 4, name: "BENEFIT_TYPE_STICKY_AD", localName: "STICKY_AD"},
|
|
19
|
+
{no: 5, name: "BENEFIT_TYPE_SDA", localName: "SDA"},
|
|
20
|
+
{no: 6, name: "BENEFIT_TYPE_NEW_AD", localName: "NEW_AD"},
|
|
21
|
+
],
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetActiveBenefitsByListingTierRequest
|
|
26
|
+
*/
|
|
27
|
+
export const GetActiveBenefitsByListingTierRequest = proto3.makeMessageType(
|
|
28
|
+
"ct_logic_uni_rev_premium.v1.GetActiveBenefitsByListingTierRequest",
|
|
29
|
+
() => [
|
|
30
|
+
{ no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
31
|
+
],
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetActiveBenefitsByListingTierResponse
|
|
36
|
+
*/
|
|
37
|
+
export const GetActiveBenefitsByListingTierResponse = proto3.makeMessageType(
|
|
38
|
+
"ct_logic_uni_rev_premium.v1.GetActiveBenefitsByListingTierResponse",
|
|
39
|
+
() => [
|
|
40
|
+
{ no: 1, name: "benefits", kind: "message", T: ActiveBenefit, repeated: true },
|
|
41
|
+
],
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ActiveBenefit
|
|
46
|
+
*/
|
|
47
|
+
export const ActiveBenefit = proto3.makeMessageType(
|
|
48
|
+
"ct_logic_uni_rev_premium.v1.ActiveBenefit",
|
|
49
|
+
() => [
|
|
50
|
+
{ no: 1, name: "type", kind: "enum", T: proto3.getEnumType(BenefitType) },
|
|
51
|
+
],
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ApplyListingTierOnPosRequest
|
|
56
|
+
*/
|
|
57
|
+
export const ApplyListingTierOnPosRequest = proto3.makeMessageType(
|
|
58
|
+
"ct_logic_uni_rev_premium.v1.ApplyListingTierOnPosRequest",
|
|
59
|
+
() => [
|
|
60
|
+
{ no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
61
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
62
|
+
{ no: 3, name: "metadata", kind: "message", T: ApplyListingTierOnPosMetadata },
|
|
63
|
+
],
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ApplyListingTierOnPosMetadata
|
|
68
|
+
*/
|
|
69
|
+
export const ApplyListingTierOnPosMetadata = proto3.makeMessageType(
|
|
70
|
+
"ct_logic_uni_rev_premium.v1.ApplyListingTierOnPosMetadata",
|
|
71
|
+
() => [
|
|
72
|
+
{ no: 1, name: "tier_price_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
73
|
+
{ no: 2, name: "subscription_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
74
|
+
{ no: 3, name: "voucher_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
75
|
+
{ no: 4, name: "listing_fee_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
{ no: 5, name: "tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
{ no: 6, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
78
|
+
],
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ApplyListingTierOnPosResponse
|
|
83
|
+
*/
|
|
84
|
+
export const ApplyListingTierOnPosResponse = proto3.makeMessageType(
|
|
85
|
+
"ct_logic_uni_rev_premium.v1.ApplyListingTierOnPosResponse",
|
|
86
|
+
() => [
|
|
87
|
+
{ no: 1, name: "next_step", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
88
|
+
],
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ApplyListingTierWithSubscriptionRequest
|
|
93
|
+
*/
|
|
94
|
+
export const ApplyListingTierWithSubscriptionRequest = proto3.makeMessageType(
|
|
95
|
+
"ct_logic_uni_rev_premium.v1.ApplyListingTierWithSubscriptionRequest",
|
|
96
|
+
() => [
|
|
97
|
+
{ no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
98
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
99
|
+
{ no: 3, name: "metadata", kind: "message", T: ApplyListingTierWithSubscriptionMetadata },
|
|
100
|
+
],
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ApplyListingTierWithSubscriptionMetadata
|
|
105
|
+
*/
|
|
106
|
+
export const ApplyListingTierWithSubscriptionMetadata = proto3.makeMessageType(
|
|
107
|
+
"ct_logic_uni_rev_premium.v1.ApplyListingTierWithSubscriptionMetadata",
|
|
108
|
+
() => [
|
|
109
|
+
{ no: 1, name: "tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
110
|
+
{ no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
111
|
+
{ no: 3, name: "subscription_package_unit_delivery_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
112
|
+
],
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ApplyListingTierWithSubscriptionResponse
|
|
117
|
+
*/
|
|
118
|
+
export const ApplyListingTierWithSubscriptionResponse = proto3.makeMessageType(
|
|
119
|
+
"ct_logic_uni_rev_premium.v1.ApplyListingTierWithSubscriptionResponse",
|
|
120
|
+
[],
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTierOptionsForPosRequest
|
|
125
|
+
*/
|
|
126
|
+
export const GetTierOptionsForPosRequest = proto3.makeMessageType(
|
|
127
|
+
"ct_logic_uni_rev_premium.v1.GetTierOptionsForPosRequest",
|
|
128
|
+
() => [
|
|
129
|
+
{ no: 1, name: "listing_tier_pos_action", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
130
|
+
{ no: 2, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
131
|
+
{ no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
132
|
+
],
|
|
133
|
+
);
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTierOptionsForPosResponse
|
|
137
|
+
*/
|
|
138
|
+
export const GetTierOptionsForPosResponse = proto3.makeMessageType(
|
|
139
|
+
"ct_logic_uni_rev_premium.v1.GetTierOptionsForPosResponse",
|
|
140
|
+
() => [
|
|
141
|
+
{ no: 1, name: "tier_options", kind: "message", T: TierOption, repeated: true },
|
|
142
|
+
{ no: 2, name: "ad_info", kind: "message", T: PosAdInfo, repeated: true },
|
|
143
|
+
],
|
|
144
|
+
);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from message ct_logic_uni_rev_premium.v1.PosAdInfo
|
|
148
|
+
*/
|
|
149
|
+
export const PosAdInfo = proto3.makeMessageType(
|
|
150
|
+
"ct_logic_uni_rev_premium.v1.PosAdInfo",
|
|
151
|
+
() => [
|
|
152
|
+
{ no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
153
|
+
{ no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
154
|
+
{ no: 3, name: "price_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
155
|
+
{ no: 4, name: "display_mode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
156
|
+
{ no: 5, name: "image_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
157
|
+
{ no: 6, name: "big_category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
158
|
+
{ no: 7, name: "sub_category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
159
|
+
{ no: 8, name: "service_delivery_infos", kind: "message", T: ServiceDeliveryInfo, repeated: true },
|
|
160
|
+
],
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* @generated from message ct_logic_uni_rev_premium.v1.BannerInfo
|
|
165
|
+
*/
|
|
166
|
+
export const BannerInfo = proto3.makeMessageType(
|
|
167
|
+
"ct_logic_uni_rev_premium.v1.BannerInfo",
|
|
168
|
+
() => [
|
|
169
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
170
|
+
{ no: 2, name: "icon_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
171
|
+
{ no: 3, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
172
|
+
{ no: 4, name: "next_action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
173
|
+
],
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* @generated from message ct_logic_uni_rev_premium.v1.TierOption
|
|
178
|
+
*/
|
|
179
|
+
export const TierOption = proto3.makeMessageType(
|
|
180
|
+
"ct_logic_uni_rev_premium.v1.TierOption",
|
|
181
|
+
() => [
|
|
182
|
+
{ no: 1, name: "tier_price_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
183
|
+
{ no: 2, name: "tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
184
|
+
{ no: 3, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
185
|
+
{ no: 4, name: "original_price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
186
|
+
{ no: 5, name: "discounted_price", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
187
|
+
{ no: 6, name: "discount_percentage", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
188
|
+
{ no: 7, name: "listing_fee_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
189
|
+
{ no: 8, name: "is_trial_eligible", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
190
|
+
{ no: 9, name: "is_default_selected", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
191
|
+
{ no: 10, name: "banner_info", kind: "message", T: BannerInfo },
|
|
192
|
+
{ no: 11, name: "subscription", kind: "message", T: MetadataListingFeeTypeSubscription, oneof: "metadata" },
|
|
193
|
+
{ no: 12, name: "voucher", kind: "message", T: MetadataListingFeeTypeVoucher, oneof: "metadata" },
|
|
194
|
+
],
|
|
195
|
+
);
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTierOfAdRequest
|
|
199
|
+
*/
|
|
200
|
+
export const GetTierOfAdRequest = proto3.makeMessageType(
|
|
201
|
+
"ct_logic_uni_rev_premium.v1.GetTierOfAdRequest",
|
|
202
|
+
() => [
|
|
203
|
+
{ no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
204
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
205
|
+
],
|
|
206
|
+
);
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTierOfAdResponse
|
|
210
|
+
*/
|
|
211
|
+
export const GetTierOfAdResponse = proto3.makeMessageType(
|
|
212
|
+
"ct_logic_uni_rev_premium.v1.GetTierOfAdResponse",
|
|
213
|
+
() => [
|
|
214
|
+
{ no: 1, name: "tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
215
|
+
{ no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
216
|
+
{ no: 3, name: "started_at", kind: "message", T: Timestamp },
|
|
217
|
+
{ no: 4, name: "expires_at", kind: "message", T: Timestamp },
|
|
218
|
+
{ no: 5, name: "can_upgrade", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
219
|
+
],
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from message ct_logic_uni_rev_premium.v1.CheckSKFeatureEnableRequest
|
|
224
|
+
*/
|
|
225
|
+
export const CheckSKFeatureEnableRequest = proto3.makeMessageType(
|
|
226
|
+
"ct_logic_uni_rev_premium.v1.CheckSKFeatureEnableRequest",
|
|
227
|
+
() => [
|
|
228
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
229
|
+
{ no: 2, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
230
|
+
{ no: 3, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
|
|
231
|
+
],
|
|
232
|
+
);
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message ct_logic_uni_rev_premium.v1.CheckSKFeatureEnableResponse
|
|
236
|
+
*/
|
|
237
|
+
export const CheckSKFeatureEnableResponse = proto3.makeMessageType(
|
|
238
|
+
"ct_logic_uni_rev_premium.v1.CheckSKFeatureEnableResponse",
|
|
239
|
+
() => [
|
|
240
|
+
{ no: 1, name: "listing_tier_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
241
|
+
{ no: 2, name: "package_tier_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
242
|
+
],
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* @generated from message ct_logic_uni_rev_premium.v1.UpdateServiceStatusRequest
|
|
247
|
+
*/
|
|
248
|
+
export const UpdateServiceStatusRequest = proto3.makeMessageType(
|
|
249
|
+
"ct_logic_uni_rev_premium.v1.UpdateServiceStatusRequest",
|
|
250
|
+
() => [
|
|
251
|
+
{ no: 1, name: "operation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
252
|
+
{ no: 2, name: "transaction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
253
|
+
{ no: 3, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
254
|
+
{ no: 4, name: "ref_delivery_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
255
|
+
{ no: 5, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
256
|
+
{ no: 6, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
257
|
+
],
|
|
258
|
+
);
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* @generated from message ct_logic_uni_rev_premium.v1.UpdateServiceStatusResponse
|
|
262
|
+
*/
|
|
263
|
+
export const UpdateServiceStatusResponse = proto3.makeMessageType(
|
|
264
|
+
"ct_logic_uni_rev_premium.v1.UpdateServiceStatusResponse",
|
|
265
|
+
[],
|
|
266
|
+
);
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTierInfoOfAdsRequest
|
|
270
|
+
*/
|
|
271
|
+
export const GetTierInfoOfAdsRequest = proto3.makeMessageType(
|
|
272
|
+
"ct_logic_uni_rev_premium.v1.GetTierInfoOfAdsRequest",
|
|
273
|
+
() => [
|
|
274
|
+
{ no: 1, name: "ad_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
275
|
+
{ no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
276
|
+
],
|
|
277
|
+
);
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTierInfoOfAdsResponse
|
|
281
|
+
*/
|
|
282
|
+
export const GetTierInfoOfAdsResponse = proto3.makeMessageType(
|
|
283
|
+
"ct_logic_uni_rev_premium.v1.GetTierInfoOfAdsResponse",
|
|
284
|
+
() => [
|
|
285
|
+
{ no: 1, name: "data", kind: "map", K: 3 /* ScalarType.INT64 */, V: {kind: "message", T: TierInfo} },
|
|
286
|
+
],
|
|
287
|
+
);
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @generated from message ct_logic_uni_rev_premium.v1.TierInfo
|
|
291
|
+
*/
|
|
292
|
+
export const TierInfo = proto3.makeMessageType(
|
|
293
|
+
"ct_logic_uni_rev_premium.v1.TierInfo",
|
|
294
|
+
() => [
|
|
295
|
+
{ no: 1, name: "tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
296
|
+
{ no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
297
|
+
{ no: 3, name: "started_at", kind: "message", T: Timestamp },
|
|
298
|
+
{ no: 4, name: "expires_at", kind: "message", T: Timestamp },
|
|
299
|
+
{ no: 5, name: "can_upgrade", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
300
|
+
],
|
|
301
|
+
);
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetAlacarteServicesRequest
|
|
305
|
+
*/
|
|
306
|
+
export const GetAlacarteServicesRequest = proto3.makeMessageType(
|
|
307
|
+
"ct_logic_uni_rev_premium.v1.GetAlacarteServicesRequest",
|
|
308
|
+
() => [
|
|
309
|
+
{ no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
310
|
+
],
|
|
311
|
+
);
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetAlacarteServicesResponse
|
|
315
|
+
*/
|
|
316
|
+
export const GetAlacarteServicesResponse = proto3.makeMessageType(
|
|
317
|
+
"ct_logic_uni_rev_premium.v1.GetAlacarteServicesResponse",
|
|
318
|
+
() => [
|
|
319
|
+
{ no: 1, name: "current_tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
320
|
+
{ no: 2, name: "services", kind: "message", T: ServicePermission, repeated: true },
|
|
321
|
+
],
|
|
322
|
+
);
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ServicePermission
|
|
326
|
+
*/
|
|
327
|
+
export const ServicePermission = proto3.makeMessageType(
|
|
328
|
+
"ct_logic_uni_rev_premium.v1.ServicePermission",
|
|
329
|
+
() => [
|
|
330
|
+
{ no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
331
|
+
{ no: 2, name: "is_locked", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
332
|
+
],
|
|
333
|
+
);
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* @generated from message ct_logic_uni_rev_premium.v1.MetadataListingFeeTypeVoucher
|
|
337
|
+
*/
|
|
338
|
+
export const MetadataListingFeeTypeVoucher = proto3.makeMessageType(
|
|
339
|
+
"ct_logic_uni_rev_premium.v1.MetadataListingFeeTypeVoucher",
|
|
340
|
+
() => [
|
|
341
|
+
{ no: 1, name: "voucher_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
342
|
+
],
|
|
343
|
+
);
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* @generated from message ct_logic_uni_rev_premium.v1.MetadataListingFeeTypeSubscription
|
|
347
|
+
*/
|
|
348
|
+
export const MetadataListingFeeTypeSubscription = proto3.makeMessageType(
|
|
349
|
+
"ct_logic_uni_rev_premium.v1.MetadataListingFeeTypeSubscription",
|
|
350
|
+
() => [
|
|
351
|
+
{ no: 1, name: "subscription_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
352
|
+
],
|
|
353
|
+
);
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ServiceDeliveryInfo
|
|
357
|
+
*/
|
|
358
|
+
export const ServiceDeliveryInfo = proto3.makeMessageType(
|
|
359
|
+
"ct_logic_uni_rev_premium.v1.ServiceDeliveryInfo",
|
|
360
|
+
() => [
|
|
361
|
+
{ no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
362
|
+
{ no: 2, name: "meta_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
363
|
+
],
|
|
364
|
+
);
|
|
365
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v0.4.4 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-premium/v1/listing_tier_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_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_premium.v1.LogicUniRevPremiumListingTierService
|
|
12
|
+
*/
|
|
13
|
+
export declare const LogicUniRevPremiumListingTierService: {
|
|
14
|
+
readonly typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService",
|
|
15
|
+
readonly methods: {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetActiveBenefitsByListingTier
|
|
18
|
+
*/
|
|
19
|
+
readonly getActiveBenefitsByListingTier: {
|
|
20
|
+
readonly name: "GetActiveBenefitsByListingTier",
|
|
21
|
+
readonly I: typeof GetActiveBenefitsByListingTierRequest,
|
|
22
|
+
readonly O: typeof GetActiveBenefitsByListingTierResponse,
|
|
23
|
+
readonly kind: MethodKind.Unary,
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.ApplyListingTierOnPos
|
|
27
|
+
*/
|
|
28
|
+
readonly applyListingTierOnPos: {
|
|
29
|
+
readonly name: "ApplyListingTierOnPos",
|
|
30
|
+
readonly I: typeof ApplyListingTierOnPosRequest,
|
|
31
|
+
readonly O: typeof ApplyListingTierOnPosResponse,
|
|
32
|
+
readonly kind: MethodKind.Unary,
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.ApplyListingTierWithSubscription
|
|
36
|
+
*/
|
|
37
|
+
readonly applyListingTierWithSubscription: {
|
|
38
|
+
readonly name: "ApplyListingTierWithSubscription",
|
|
39
|
+
readonly I: typeof ApplyListingTierWithSubscriptionRequest,
|
|
40
|
+
readonly O: typeof ApplyListingTierWithSubscriptionResponse,
|
|
41
|
+
readonly kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierOptionsForPos
|
|
45
|
+
*/
|
|
46
|
+
readonly getTierOptionsForPos: {
|
|
47
|
+
readonly name: "GetTierOptionsForPos",
|
|
48
|
+
readonly I: typeof GetTierOptionsForPosRequest,
|
|
49
|
+
readonly O: typeof GetTierOptionsForPosResponse,
|
|
50
|
+
readonly kind: MethodKind.Unary,
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierOfAd
|
|
54
|
+
*/
|
|
55
|
+
readonly getTierOfAd: {
|
|
56
|
+
readonly name: "GetTierOfAd",
|
|
57
|
+
readonly I: typeof GetTierOfAdRequest,
|
|
58
|
+
readonly O: typeof GetTierOfAdResponse,
|
|
59
|
+
readonly kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.CheckSKFeatureEnable
|
|
63
|
+
*/
|
|
64
|
+
readonly checkSKFeatureEnable: {
|
|
65
|
+
readonly name: "CheckSKFeatureEnable",
|
|
66
|
+
readonly I: typeof CheckSKFeatureEnableRequest,
|
|
67
|
+
readonly O: typeof CheckSKFeatureEnableResponse,
|
|
68
|
+
readonly kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.UpdateServiceStatus
|
|
72
|
+
*/
|
|
73
|
+
readonly updateServiceStatus: {
|
|
74
|
+
readonly name: "UpdateServiceStatus",
|
|
75
|
+
readonly I: typeof UpdateServiceStatusRequest,
|
|
76
|
+
readonly O: typeof UpdateServiceStatusResponse,
|
|
77
|
+
readonly kind: MethodKind.Unary,
|
|
78
|
+
},
|
|
79
|
+
/**
|
|
80
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierInfoOfAds
|
|
81
|
+
*/
|
|
82
|
+
readonly getTierInfoOfAds: {
|
|
83
|
+
readonly name: "GetTierInfoOfAds",
|
|
84
|
+
readonly I: typeof GetTierInfoOfAdsRequest,
|
|
85
|
+
readonly O: typeof GetTierInfoOfAdsResponse,
|
|
86
|
+
readonly kind: MethodKind.Unary,
|
|
87
|
+
},
|
|
88
|
+
/**
|
|
89
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetAlacarteServices
|
|
90
|
+
*/
|
|
91
|
+
readonly getAlacarteServices: {
|
|
92
|
+
readonly name: "GetAlacarteServices",
|
|
93
|
+
readonly I: typeof GetAlacarteServicesRequest,
|
|
94
|
+
readonly O: typeof GetAlacarteServicesResponse,
|
|
95
|
+
readonly kind: MethodKind.Unary,
|
|
96
|
+
},
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
export const getActiveBenefitsByListingTier: UnaryHooks<GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse>;
|
|
101
|
+
export const applyListingTierOnPos: UnaryHooks<ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse>;
|
|
102
|
+
export const applyListingTierWithSubscription: UnaryHooks<ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse>;
|
|
103
|
+
export const getTierOptionsForPos: UnaryHooks<GetTierOptionsForPosRequest, GetTierOptionsForPosResponse>;
|
|
104
|
+
export const getTierOfAd: UnaryHooks<GetTierOfAdRequest, GetTierOfAdResponse>;
|
|
105
|
+
export const checkSKFeatureEnable: UnaryHooks<CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse>;
|
|
106
|
+
export const updateServiceStatus: UnaryHooks<UpdateServiceStatusRequest, UpdateServiceStatusResponse>;
|
|
107
|
+
export const getTierInfoOfAds: UnaryHooks<GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse>;
|
|
108
|
+
export const getAlacarteServices: UnaryHooks<GetAlacarteServicesRequest, GetAlacarteServicesResponse>;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v0.4.4 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-premium/v1/listing_tier_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ApplyListingTierOnPosRequest, ApplyListingTierOnPosResponse, ApplyListingTierWithSubscriptionRequest, ApplyListingTierWithSubscriptionResponse, CheckSKFeatureEnableRequest, CheckSKFeatureEnableResponse, GetActiveBenefitsByListingTierRequest, GetActiveBenefitsByListingTierResponse, GetAlacarteServicesRequest, GetAlacarteServicesResponse, GetTierInfoOfAdsRequest, GetTierInfoOfAdsResponse, GetTierOfAdRequest, GetTierOfAdResponse, GetTierOptionsForPosRequest, GetTierOptionsForPosResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from "./listing_tier_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { createQueryService } from "@connectrpc/connect-query";
|
|
9
|
+
|
|
10
|
+
export const typeName = "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService
|
|
14
|
+
*/
|
|
15
|
+
export const LogicUniRevPremiumListingTierService = {
|
|
16
|
+
typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService",
|
|
17
|
+
methods: {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetActiveBenefitsByListingTier
|
|
20
|
+
*/
|
|
21
|
+
getActiveBenefitsByListingTier: {
|
|
22
|
+
name: "GetActiveBenefitsByListingTier",
|
|
23
|
+
I: GetActiveBenefitsByListingTierRequest,
|
|
24
|
+
O: GetActiveBenefitsByListingTierResponse,
|
|
25
|
+
kind: MethodKind.Unary,
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.ApplyListingTierOnPos
|
|
29
|
+
*/
|
|
30
|
+
applyListingTierOnPos: {
|
|
31
|
+
name: "ApplyListingTierOnPos",
|
|
32
|
+
I: ApplyListingTierOnPosRequest,
|
|
33
|
+
O: ApplyListingTierOnPosResponse,
|
|
34
|
+
kind: MethodKind.Unary,
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.ApplyListingTierWithSubscription
|
|
38
|
+
*/
|
|
39
|
+
applyListingTierWithSubscription: {
|
|
40
|
+
name: "ApplyListingTierWithSubscription",
|
|
41
|
+
I: ApplyListingTierWithSubscriptionRequest,
|
|
42
|
+
O: ApplyListingTierWithSubscriptionResponse,
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierOptionsForPos
|
|
47
|
+
*/
|
|
48
|
+
getTierOptionsForPos: {
|
|
49
|
+
name: "GetTierOptionsForPos",
|
|
50
|
+
I: GetTierOptionsForPosRequest,
|
|
51
|
+
O: GetTierOptionsForPosResponse,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierOfAd
|
|
56
|
+
*/
|
|
57
|
+
getTierOfAd: {
|
|
58
|
+
name: "GetTierOfAd",
|
|
59
|
+
I: GetTierOfAdRequest,
|
|
60
|
+
O: GetTierOfAdResponse,
|
|
61
|
+
kind: MethodKind.Unary,
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.CheckSKFeatureEnable
|
|
65
|
+
*/
|
|
66
|
+
checkSKFeatureEnable: {
|
|
67
|
+
name: "CheckSKFeatureEnable",
|
|
68
|
+
I: CheckSKFeatureEnableRequest,
|
|
69
|
+
O: CheckSKFeatureEnableResponse,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.UpdateServiceStatus
|
|
74
|
+
*/
|
|
75
|
+
updateServiceStatus: {
|
|
76
|
+
name: "UpdateServiceStatus",
|
|
77
|
+
I: UpdateServiceStatusRequest,
|
|
78
|
+
O: UpdateServiceStatusResponse,
|
|
79
|
+
kind: MethodKind.Unary,
|
|
80
|
+
},
|
|
81
|
+
/**
|
|
82
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierInfoOfAds
|
|
83
|
+
*/
|
|
84
|
+
getTierInfoOfAds: {
|
|
85
|
+
name: "GetTierInfoOfAds",
|
|
86
|
+
I: GetTierInfoOfAdsRequest,
|
|
87
|
+
O: GetTierInfoOfAdsResponse,
|
|
88
|
+
kind: MethodKind.Unary,
|
|
89
|
+
},
|
|
90
|
+
/**
|
|
91
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetAlacarteServices
|
|
92
|
+
*/
|
|
93
|
+
getAlacarteServices: {
|
|
94
|
+
name: "GetAlacarteServices",
|
|
95
|
+
I: GetAlacarteServicesRequest,
|
|
96
|
+
O: GetAlacarteServicesResponse,
|
|
97
|
+
kind: MethodKind.Unary,
|
|
98
|
+
},
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetActiveBenefitsByListingTier
|
|
104
|
+
*/
|
|
105
|
+
export const getActiveBenefitsByListingTier = createQueryService({
|
|
106
|
+
service: LogicUniRevPremiumListingTierService,
|
|
107
|
+
}).getActiveBenefitsByListingTier;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.ApplyListingTierOnPos
|
|
111
|
+
*/
|
|
112
|
+
export const applyListingTierOnPos = createQueryService({
|
|
113
|
+
service: LogicUniRevPremiumListingTierService,
|
|
114
|
+
}).applyListingTierOnPos;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.ApplyListingTierWithSubscription
|
|
118
|
+
*/
|
|
119
|
+
export const applyListingTierWithSubscription = createQueryService({
|
|
120
|
+
service: LogicUniRevPremiumListingTierService,
|
|
121
|
+
}).applyListingTierWithSubscription;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierOptionsForPos
|
|
125
|
+
*/
|
|
126
|
+
export const getTierOptionsForPos = createQueryService({
|
|
127
|
+
service: LogicUniRevPremiumListingTierService,
|
|
128
|
+
}).getTierOptionsForPos;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierOfAd
|
|
132
|
+
*/
|
|
133
|
+
export const getTierOfAd = createQueryService({
|
|
134
|
+
service: LogicUniRevPremiumListingTierService,
|
|
135
|
+
}).getTierOfAd;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.CheckSKFeatureEnable
|
|
139
|
+
*/
|
|
140
|
+
export const checkSKFeatureEnable = createQueryService({
|
|
141
|
+
service: LogicUniRevPremiumListingTierService,
|
|
142
|
+
}).checkSKFeatureEnable;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.UpdateServiceStatus
|
|
146
|
+
*/
|
|
147
|
+
export const updateServiceStatus = createQueryService({
|
|
148
|
+
service: LogicUniRevPremiumListingTierService,
|
|
149
|
+
}).updateServiceStatus;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetTierInfoOfAds
|
|
153
|
+
*/
|
|
154
|
+
export const getTierInfoOfAds = createQueryService({
|
|
155
|
+
service: LogicUniRevPremiumListingTierService,
|
|
156
|
+
}).getTierInfoOfAds;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumListingTierService.GetAlacarteServices
|
|
160
|
+
*/
|
|
161
|
+
export const getAlacarteServices = createQueryService({
|
|
162
|
+
service: LogicUniRevPremiumListingTierService,
|
|
163
|
+
}).getAlacarteServices;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package ct_logic_uni_rev_premium.v1;
|
|
3
|
+
|
|
4
|
+
import "ct-logic-uni-rev-premium/v1/listing_tier.proto";
|
|
5
|
+
|
|
6
|
+
// language specs
|
|
7
|
+
option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-premium;pb";
|
|
8
|
+
|
|
9
|
+
service LogicUniRevPremiumListingTierService {
|
|
10
|
+
rpc GetActiveBenefitsByListingTier(GetActiveBenefitsByListingTierRequest) returns (GetActiveBenefitsByListingTierResponse);
|
|
11
|
+
rpc ApplyListingTierOnPos(ApplyListingTierOnPosRequest) returns (ApplyListingTierOnPosResponse) {}
|
|
12
|
+
rpc ApplyListingTierWithSubscription(ApplyListingTierWithSubscriptionRequest) returns (ApplyListingTierWithSubscriptionResponse) {}
|
|
13
|
+
rpc GetTierOptionsForPos(GetTierOptionsForPosRequest) returns (GetTierOptionsForPosResponse) {}
|
|
14
|
+
rpc GetTierOfAd(GetTierOfAdRequest) returns (GetTierOfAdResponse) {}
|
|
15
|
+
rpc CheckSKFeatureEnable(CheckSKFeatureEnableRequest) returns (CheckSKFeatureEnableResponse) {}
|
|
16
|
+
rpc UpdateServiceStatus(UpdateServiceStatusRequest) returns (UpdateServiceStatusResponse) {}
|
|
17
|
+
rpc GetTierInfoOfAds(GetTierInfoOfAdsRequest) returns (GetTierInfoOfAdsResponse) {}
|
|
18
|
+
rpc GetAlacarteServices(GetAlacarteServicesRequest) returns (GetAlacarteServicesResponse);
|
|
19
|
+
}
|