@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,214 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-premium/v1/ad_optimization.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { proto3 } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* @generated from message ct_logic_uni_rev_premium.v1.CtaButton
|
|
10
|
+
*/
|
|
11
|
+
export const CtaButton = proto3.makeMessageType(
|
|
12
|
+
"ct_logic_uni_rev_premium.v1.CtaButton",
|
|
13
|
+
() => [
|
|
14
|
+
{ no: 1, name: "button_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
15
|
+
{ no: 2, name: "web_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
16
|
+
{ no: 3, name: "app_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17
|
+
],
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message ct_logic_uni_rev_premium.v1.ServiceDetail
|
|
22
|
+
*/
|
|
23
|
+
export const ServiceDetail = proto3.makeMessageType(
|
|
24
|
+
"ct_logic_uni_rev_premium.v1.ServiceDetail",
|
|
25
|
+
() => [
|
|
26
|
+
{ no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
27
|
+
{ no: 2, name: "thumbnail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
28
|
+
{ no: 3, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
29
|
+
{ no: 4, name: "cta_button", kind: "message", T: CtaButton },
|
|
30
|
+
],
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from message ct_logic_uni_rev_premium.v1.OnboardingService
|
|
35
|
+
*/
|
|
36
|
+
export const OnboardingService = proto3.makeMessageType(
|
|
37
|
+
"ct_logic_uni_rev_premium.v1.OnboardingService",
|
|
38
|
+
() => [
|
|
39
|
+
{ no: 1, name: "thumbnail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
40
|
+
{ no: 2, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
41
|
+
{ no: 3, name: "service_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
42
|
+
{ no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
43
|
+
{ no: 5, name: "unique_selling_point", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 6, name: "usage_recommendation", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
45
|
+
{ no: 7, name: "cta_button", kind: "message", T: CtaButton },
|
|
46
|
+
{ no: 8, name: "detail", kind: "message", T: ServiceDetail },
|
|
47
|
+
],
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message ct_logic_uni_rev_premium.v1.LowPerformanceAd
|
|
52
|
+
*/
|
|
53
|
+
export const LowPerformanceAd = proto3.makeMessageType(
|
|
54
|
+
"ct_logic_uni_rev_premium.v1.LowPerformanceAd",
|
|
55
|
+
() => [
|
|
56
|
+
{ no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
57
|
+
{ no: 4, name: "thumbnail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
58
|
+
{ no: 5, name: "ad_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
59
|
+
{ no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
60
|
+
{ no: 7, name: "big_category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
61
|
+
{ no: 8, name: "sub_category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
62
|
+
{ no: 9, name: "cta_button", kind: "message", T: CtaButton },
|
|
63
|
+
],
|
|
64
|
+
);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetOnboardingServicesRequest
|
|
68
|
+
*/
|
|
69
|
+
export const GetOnboardingServicesRequest = proto3.makeMessageType(
|
|
70
|
+
"ct_logic_uni_rev_premium.v1.GetOnboardingServicesRequest",
|
|
71
|
+
() => [
|
|
72
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
73
|
+
],
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetOnboardingServicesResponse
|
|
78
|
+
*/
|
|
79
|
+
export const GetOnboardingServicesResponse = proto3.makeMessageType(
|
|
80
|
+
"ct_logic_uni_rev_premium.v1.GetOnboardingServicesResponse",
|
|
81
|
+
() => [
|
|
82
|
+
{ no: 1, name: "default_position", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
83
|
+
{ no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
84
|
+
{ no: 3, name: "services", kind: "message", T: OnboardingService, repeated: true },
|
|
85
|
+
],
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetAdRecommendationsRequest
|
|
90
|
+
*/
|
|
91
|
+
export const GetAdRecommendationsRequest = proto3.makeMessageType(
|
|
92
|
+
"ct_logic_uni_rev_premium.v1.GetAdRecommendationsRequest",
|
|
93
|
+
() => [
|
|
94
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
95
|
+
{ no: 2, name: "subtype", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
96
|
+
{ no: 3, name: "get_all", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
97
|
+
],
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetAdRecommendationsResponse
|
|
102
|
+
*/
|
|
103
|
+
export const GetAdRecommendationsResponse = proto3.makeMessageType(
|
|
104
|
+
"ct_logic_uni_rev_premium.v1.GetAdRecommendationsResponse",
|
|
105
|
+
() => [
|
|
106
|
+
{ no: 1, name: "default_position", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
107
|
+
{ no: 2, name: "subtype", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
108
|
+
{ no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
109
|
+
{ no: 4, name: "highlight_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
110
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
111
|
+
{ no: 6, name: "ads", kind: "message", T: LowPerformanceAd, repeated: true },
|
|
112
|
+
],
|
|
113
|
+
);
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from message ct_logic_uni_rev_premium.v1.OptimizeAdRequest
|
|
117
|
+
*/
|
|
118
|
+
export const OptimizeAdRequest = proto3.makeMessageType(
|
|
119
|
+
"ct_logic_uni_rev_premium.v1.OptimizeAdRequest",
|
|
120
|
+
() => [
|
|
121
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
122
|
+
{ no: 2, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
123
|
+
],
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message ct_logic_uni_rev_premium.v1.OptimizeAdResponse
|
|
128
|
+
*/
|
|
129
|
+
export const OptimizeAdResponse = proto3.makeMessageType(
|
|
130
|
+
"ct_logic_uni_rev_premium.v1.OptimizeAdResponse",
|
|
131
|
+
() => [
|
|
132
|
+
{ no: 1, name: "cart_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
133
|
+
],
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetLowPerformanceAdsRequest
|
|
138
|
+
*/
|
|
139
|
+
export const GetLowPerformanceAdsRequest = proto3.makeMessageType(
|
|
140
|
+
"ct_logic_uni_rev_premium.v1.GetLowPerformanceAdsRequest",
|
|
141
|
+
() => [
|
|
142
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
143
|
+
{ no: 2, name: "views_threshold", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
144
|
+
{ no: 3, name: "minimum_days_old", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
145
|
+
{ no: 4, name: "view_count_days", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
146
|
+
{ no: 5, name: "verticals", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
147
|
+
],
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetLowPerformanceAdsResponse
|
|
152
|
+
*/
|
|
153
|
+
export const GetLowPerformanceAdsResponse = proto3.makeMessageType(
|
|
154
|
+
"ct_logic_uni_rev_premium.v1.GetLowPerformanceAdsResponse",
|
|
155
|
+
() => [
|
|
156
|
+
{ no: 1, name: "ad_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
|
|
157
|
+
],
|
|
158
|
+
);
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTotalRecommendAdsRequest
|
|
162
|
+
*/
|
|
163
|
+
export const GetTotalRecommendAdsRequest = proto3.makeMessageType(
|
|
164
|
+
"ct_logic_uni_rev_premium.v1.GetTotalRecommendAdsRequest",
|
|
165
|
+
() => [
|
|
166
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
167
|
+
],
|
|
168
|
+
);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetTotalRecommendAdsResponse
|
|
172
|
+
*/
|
|
173
|
+
export const GetTotalRecommendAdsResponse = proto3.makeMessageType(
|
|
174
|
+
"ct_logic_uni_rev_premium.v1.GetTotalRecommendAdsResponse",
|
|
175
|
+
() => [
|
|
176
|
+
{ no: 1, name: "total_positive", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
177
|
+
{ no: 2, name: "total_negative", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
178
|
+
],
|
|
179
|
+
);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetAdPerformanceByAdIdsRequest
|
|
183
|
+
*/
|
|
184
|
+
export const GetAdPerformanceByAdIdsRequest = proto3.makeMessageType(
|
|
185
|
+
"ct_logic_uni_rev_premium.v1.GetAdPerformanceByAdIdsRequest",
|
|
186
|
+
() => [
|
|
187
|
+
{ no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
188
|
+
{ no: 2, name: "ad_ids", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
189
|
+
],
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @generated from message ct_logic_uni_rev_premium.v1.GetAdPerformanceByAdIdsResponse
|
|
194
|
+
*/
|
|
195
|
+
export const GetAdPerformanceByAdIdsResponse = proto3.makeMessageType(
|
|
196
|
+
"ct_logic_uni_rev_premium.v1.GetAdPerformanceByAdIdsResponse",
|
|
197
|
+
() => [
|
|
198
|
+
{ no: 1, name: "data", kind: "map", K: 3 /* ScalarType.INT64 */, V: {kind: "message", T: AdPerformance} },
|
|
199
|
+
],
|
|
200
|
+
);
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message ct_logic_uni_rev_premium.v1.AdPerformance
|
|
204
|
+
*/
|
|
205
|
+
export const AdPerformance = proto3.makeMessageType(
|
|
206
|
+
"ct_logic_uni_rev_premium.v1.AdPerformance",
|
|
207
|
+
() => [
|
|
208
|
+
{ no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
209
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
210
|
+
{ no: 3, name: "message_detail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
211
|
+
{ no: 4, name: "cta_button", kind: "message", T: CtaButton },
|
|
212
|
+
],
|
|
213
|
+
);
|
|
214
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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/ad_optimization_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetAdPerformanceByAdIdsRequest, GetAdPerformanceByAdIdsResponse, GetAdRecommendationsRequest, GetAdRecommendationsResponse, GetLowPerformanceAdsRequest, GetLowPerformanceAdsResponse, GetOnboardingServicesRequest, GetOnboardingServicesResponse, GetTotalRecommendAdsRequest, GetTotalRecommendAdsResponse, OptimizeAdRequest, OptimizeAdResponse } from "./ad_optimization_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.LogicUniRevPremiumAdOptimizationService
|
|
12
|
+
*/
|
|
13
|
+
export declare const LogicUniRevPremiumAdOptimizationService: {
|
|
14
|
+
readonly typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService",
|
|
15
|
+
readonly methods: {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetOnboardingServices
|
|
18
|
+
*/
|
|
19
|
+
readonly getOnboardingServices: {
|
|
20
|
+
readonly name: "GetOnboardingServices",
|
|
21
|
+
readonly I: typeof GetOnboardingServicesRequest,
|
|
22
|
+
readonly O: typeof GetOnboardingServicesResponse,
|
|
23
|
+
readonly kind: MethodKind.Unary,
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdRecommendations
|
|
27
|
+
*/
|
|
28
|
+
readonly getAdRecommendations: {
|
|
29
|
+
readonly name: "GetAdRecommendations",
|
|
30
|
+
readonly I: typeof GetAdRecommendationsRequest,
|
|
31
|
+
readonly O: typeof GetAdRecommendationsResponse,
|
|
32
|
+
readonly kind: MethodKind.Unary,
|
|
33
|
+
},
|
|
34
|
+
/**
|
|
35
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.OptimizeAd
|
|
36
|
+
*/
|
|
37
|
+
readonly optimizeAd: {
|
|
38
|
+
readonly name: "OptimizeAd",
|
|
39
|
+
readonly I: typeof OptimizeAdRequest,
|
|
40
|
+
readonly O: typeof OptimizeAdResponse,
|
|
41
|
+
readonly kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetLowPerformanceAds
|
|
45
|
+
*/
|
|
46
|
+
readonly getLowPerformanceAds: {
|
|
47
|
+
readonly name: "GetLowPerformanceAds",
|
|
48
|
+
readonly I: typeof GetLowPerformanceAdsRequest,
|
|
49
|
+
readonly O: typeof GetLowPerformanceAdsResponse,
|
|
50
|
+
readonly kind: MethodKind.Unary,
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetTotalRecommendAds
|
|
54
|
+
*/
|
|
55
|
+
readonly getTotalRecommendAds: {
|
|
56
|
+
readonly name: "GetTotalRecommendAds",
|
|
57
|
+
readonly I: typeof GetTotalRecommendAdsRequest,
|
|
58
|
+
readonly O: typeof GetTotalRecommendAdsResponse,
|
|
59
|
+
readonly kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdPerformanceByAdIds
|
|
63
|
+
*/
|
|
64
|
+
readonly getAdPerformanceByAdIds: {
|
|
65
|
+
readonly name: "GetAdPerformanceByAdIds",
|
|
66
|
+
readonly I: typeof GetAdPerformanceByAdIdsRequest,
|
|
67
|
+
readonly O: typeof GetAdPerformanceByAdIdsResponse,
|
|
68
|
+
readonly kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export const getOnboardingServices: UnaryHooks<GetOnboardingServicesRequest, GetOnboardingServicesResponse>;
|
|
74
|
+
export const getAdRecommendations: UnaryHooks<GetAdRecommendationsRequest, GetAdRecommendationsResponse>;
|
|
75
|
+
export const optimizeAd: UnaryHooks<OptimizeAdRequest, OptimizeAdResponse>;
|
|
76
|
+
export const getLowPerformanceAds: UnaryHooks<GetLowPerformanceAdsRequest, GetLowPerformanceAdsResponse>;
|
|
77
|
+
export const getTotalRecommendAds: UnaryHooks<GetTotalRecommendAdsRequest, GetTotalRecommendAdsResponse>;
|
|
78
|
+
export const getAdPerformanceByAdIds: UnaryHooks<GetAdPerformanceByAdIdsRequest, GetAdPerformanceByAdIdsResponse>;
|
|
@@ -0,0 +1,115 @@
|
|
|
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/ad_optimization_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetAdPerformanceByAdIdsRequest, GetAdPerformanceByAdIdsResponse, GetAdRecommendationsRequest, GetAdRecommendationsResponse, GetLowPerformanceAdsRequest, GetLowPerformanceAdsResponse, GetOnboardingServicesRequest, GetOnboardingServicesResponse, GetTotalRecommendAdsRequest, GetTotalRecommendAdsResponse, OptimizeAdRequest, OptimizeAdResponse } from "./ad_optimization_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.LogicUniRevPremiumAdOptimizationService";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService
|
|
14
|
+
*/
|
|
15
|
+
export const LogicUniRevPremiumAdOptimizationService = {
|
|
16
|
+
typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService",
|
|
17
|
+
methods: {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetOnboardingServices
|
|
20
|
+
*/
|
|
21
|
+
getOnboardingServices: {
|
|
22
|
+
name: "GetOnboardingServices",
|
|
23
|
+
I: GetOnboardingServicesRequest,
|
|
24
|
+
O: GetOnboardingServicesResponse,
|
|
25
|
+
kind: MethodKind.Unary,
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdRecommendations
|
|
29
|
+
*/
|
|
30
|
+
getAdRecommendations: {
|
|
31
|
+
name: "GetAdRecommendations",
|
|
32
|
+
I: GetAdRecommendationsRequest,
|
|
33
|
+
O: GetAdRecommendationsResponse,
|
|
34
|
+
kind: MethodKind.Unary,
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.OptimizeAd
|
|
38
|
+
*/
|
|
39
|
+
optimizeAd: {
|
|
40
|
+
name: "OptimizeAd",
|
|
41
|
+
I: OptimizeAdRequest,
|
|
42
|
+
O: OptimizeAdResponse,
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetLowPerformanceAds
|
|
47
|
+
*/
|
|
48
|
+
getLowPerformanceAds: {
|
|
49
|
+
name: "GetLowPerformanceAds",
|
|
50
|
+
I: GetLowPerformanceAdsRequest,
|
|
51
|
+
O: GetLowPerformanceAdsResponse,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetTotalRecommendAds
|
|
56
|
+
*/
|
|
57
|
+
getTotalRecommendAds: {
|
|
58
|
+
name: "GetTotalRecommendAds",
|
|
59
|
+
I: GetTotalRecommendAdsRequest,
|
|
60
|
+
O: GetTotalRecommendAdsResponse,
|
|
61
|
+
kind: MethodKind.Unary,
|
|
62
|
+
},
|
|
63
|
+
/**
|
|
64
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdPerformanceByAdIds
|
|
65
|
+
*/
|
|
66
|
+
getAdPerformanceByAdIds: {
|
|
67
|
+
name: "GetAdPerformanceByAdIds",
|
|
68
|
+
I: GetAdPerformanceByAdIdsRequest,
|
|
69
|
+
O: GetAdPerformanceByAdIdsResponse,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetOnboardingServices
|
|
77
|
+
*/
|
|
78
|
+
export const getOnboardingServices = createQueryService({
|
|
79
|
+
service: LogicUniRevPremiumAdOptimizationService,
|
|
80
|
+
}).getOnboardingServices;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdRecommendations
|
|
84
|
+
*/
|
|
85
|
+
export const getAdRecommendations = createQueryService({
|
|
86
|
+
service: LogicUniRevPremiumAdOptimizationService,
|
|
87
|
+
}).getAdRecommendations;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.OptimizeAd
|
|
91
|
+
*/
|
|
92
|
+
export const optimizeAd = createQueryService({
|
|
93
|
+
service: LogicUniRevPremiumAdOptimizationService,
|
|
94
|
+
}).optimizeAd;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetLowPerformanceAds
|
|
98
|
+
*/
|
|
99
|
+
export const getLowPerformanceAds = createQueryService({
|
|
100
|
+
service: LogicUniRevPremiumAdOptimizationService,
|
|
101
|
+
}).getLowPerformanceAds;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetTotalRecommendAds
|
|
105
|
+
*/
|
|
106
|
+
export const getTotalRecommendAds = createQueryService({
|
|
107
|
+
service: LogicUniRevPremiumAdOptimizationService,
|
|
108
|
+
}).getTotalRecommendAds;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdPerformanceByAdIds
|
|
112
|
+
*/
|
|
113
|
+
export const getAdPerformanceByAdIds = createQueryService({
|
|
114
|
+
service: LogicUniRevPremiumAdOptimizationService,
|
|
115
|
+
}).getAdPerformanceByAdIds;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package ct_logic_uni_rev_premium.v1;
|
|
3
|
+
|
|
4
|
+
import "ct-logic-uni-rev-premium/v1/ad_optimization.proto";
|
|
5
|
+
import "google/api/annotations.proto";
|
|
6
|
+
|
|
7
|
+
// language specs
|
|
8
|
+
option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-premium;pb";
|
|
9
|
+
|
|
10
|
+
service LogicUniRevPremiumAdOptimizationService {
|
|
11
|
+
rpc GetOnboardingServices(GetOnboardingServicesRequest) returns (GetOnboardingServicesResponse) {}
|
|
12
|
+
rpc GetAdRecommendations(GetAdRecommendationsRequest) returns (GetAdRecommendationsResponse) {}
|
|
13
|
+
rpc OptimizeAd(OptimizeAdRequest) returns (OptimizeAdResponse) {}
|
|
14
|
+
rpc GetLowPerformanceAds(GetLowPerformanceAdsRequest) returns (GetLowPerformanceAdsResponse) {}
|
|
15
|
+
rpc GetTotalRecommendAds(GetTotalRecommendAdsRequest) returns (GetTotalRecommendAdsResponse) {}
|
|
16
|
+
rpc GetAdPerformanceByAdIds(GetAdPerformanceByAdIdsRequest) returns (GetAdPerformanceByAdIdsResponse) {
|
|
17
|
+
option (google.api.http) = {
|
|
18
|
+
get: "/v1/internal/ad-optimization/ad-performance" // support legacy service, ct-user-ads-api
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-premium/v1/ad_optimization_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetAdPerformanceByAdIdsRequest, GetAdPerformanceByAdIdsResponse, GetAdRecommendationsRequest, GetAdRecommendationsResponse, GetLowPerformanceAdsRequest, GetLowPerformanceAdsResponse, GetOnboardingServicesRequest, GetOnboardingServicesResponse, GetTotalRecommendAdsRequest, GetTotalRecommendAdsResponse, OptimizeAdRequest, OptimizeAdResponse } from "./ad_optimization_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService
|
|
11
|
+
*/
|
|
12
|
+
export declare const LogicUniRevPremiumAdOptimizationService: {
|
|
13
|
+
readonly typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetOnboardingServices
|
|
17
|
+
*/
|
|
18
|
+
readonly getOnboardingServices: {
|
|
19
|
+
readonly name: "GetOnboardingServices",
|
|
20
|
+
readonly I: typeof GetOnboardingServicesRequest,
|
|
21
|
+
readonly O: typeof GetOnboardingServicesResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdRecommendations
|
|
26
|
+
*/
|
|
27
|
+
readonly getAdRecommendations: {
|
|
28
|
+
readonly name: "GetAdRecommendations",
|
|
29
|
+
readonly I: typeof GetAdRecommendationsRequest,
|
|
30
|
+
readonly O: typeof GetAdRecommendationsResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.OptimizeAd
|
|
35
|
+
*/
|
|
36
|
+
readonly optimizeAd: {
|
|
37
|
+
readonly name: "OptimizeAd",
|
|
38
|
+
readonly I: typeof OptimizeAdRequest,
|
|
39
|
+
readonly O: typeof OptimizeAdResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetLowPerformanceAds
|
|
44
|
+
*/
|
|
45
|
+
readonly getLowPerformanceAds: {
|
|
46
|
+
readonly name: "GetLowPerformanceAds",
|
|
47
|
+
readonly I: typeof GetLowPerformanceAdsRequest,
|
|
48
|
+
readonly O: typeof GetLowPerformanceAdsResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetTotalRecommendAds
|
|
53
|
+
*/
|
|
54
|
+
readonly getTotalRecommendAds: {
|
|
55
|
+
readonly name: "GetTotalRecommendAds",
|
|
56
|
+
readonly I: typeof GetTotalRecommendAdsRequest,
|
|
57
|
+
readonly O: typeof GetTotalRecommendAdsResponse,
|
|
58
|
+
readonly kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdPerformanceByAdIds
|
|
62
|
+
*/
|
|
63
|
+
readonly getAdPerformanceByAdIds: {
|
|
64
|
+
readonly name: "GetAdPerformanceByAdIds",
|
|
65
|
+
readonly I: typeof GetAdPerformanceByAdIdsRequest,
|
|
66
|
+
readonly O: typeof GetAdPerformanceByAdIdsResponse,
|
|
67
|
+
readonly kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.0.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file ct-logic-uni-rev-premium/v1/ad_optimization_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetAdPerformanceByAdIdsRequest, GetAdPerformanceByAdIdsResponse, GetAdRecommendationsRequest, GetAdRecommendationsResponse, GetLowPerformanceAdsRequest, GetLowPerformanceAdsResponse, GetOnboardingServicesRequest, GetOnboardingServicesResponse, GetTotalRecommendAdsRequest, GetTotalRecommendAdsResponse, OptimizeAdRequest, OptimizeAdResponse } from "./ad_optimization_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService
|
|
11
|
+
*/
|
|
12
|
+
export const LogicUniRevPremiumAdOptimizationService = {
|
|
13
|
+
typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetOnboardingServices
|
|
17
|
+
*/
|
|
18
|
+
getOnboardingServices: {
|
|
19
|
+
name: "GetOnboardingServices",
|
|
20
|
+
I: GetOnboardingServicesRequest,
|
|
21
|
+
O: GetOnboardingServicesResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdRecommendations
|
|
26
|
+
*/
|
|
27
|
+
getAdRecommendations: {
|
|
28
|
+
name: "GetAdRecommendations",
|
|
29
|
+
I: GetAdRecommendationsRequest,
|
|
30
|
+
O: GetAdRecommendationsResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.OptimizeAd
|
|
35
|
+
*/
|
|
36
|
+
optimizeAd: {
|
|
37
|
+
name: "OptimizeAd",
|
|
38
|
+
I: OptimizeAdRequest,
|
|
39
|
+
O: OptimizeAdResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetLowPerformanceAds
|
|
44
|
+
*/
|
|
45
|
+
getLowPerformanceAds: {
|
|
46
|
+
name: "GetLowPerformanceAds",
|
|
47
|
+
I: GetLowPerformanceAdsRequest,
|
|
48
|
+
O: GetLowPerformanceAdsResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetTotalRecommendAds
|
|
53
|
+
*/
|
|
54
|
+
getTotalRecommendAds: {
|
|
55
|
+
name: "GetTotalRecommendAds",
|
|
56
|
+
I: GetTotalRecommendAdsRequest,
|
|
57
|
+
O: GetTotalRecommendAdsResponse,
|
|
58
|
+
kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
/**
|
|
61
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdOptimizationService.GetAdPerformanceByAdIds
|
|
62
|
+
*/
|
|
63
|
+
getAdPerformanceByAdIds: {
|
|
64
|
+
name: "GetAdPerformanceByAdIds",
|
|
65
|
+
I: GetAdPerformanceByAdIdsRequest,
|
|
66
|
+
O: GetAdPerformanceByAdIdsResponse,
|
|
67
|
+
kind: MethodKind.Unary,
|
|
68
|
+
},
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|