@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.
Files changed (93) hide show
  1. package/ad.proto +89 -0
  2. package/ad_delivery.proto +232 -0
  3. package/ad_delivery_pb.d.ts +1285 -0
  4. package/ad_delivery_pb.js +439 -0
  5. package/ad_delivery_service-LogicUniRevPremiumAdDeliveryService_connectquery.d.ts +138 -0
  6. package/ad_delivery_service-LogicUniRevPremiumAdDeliveryService_connectquery.js +211 -0
  7. package/ad_delivery_service.proto +65 -0
  8. package/ad_delivery_service_connect.d.ts +125 -0
  9. package/ad_delivery_service_connect.js +125 -0
  10. package/ad_optimization.proto +111 -0
  11. package/ad_optimization_pb.d.ts +601 -0
  12. package/ad_optimization_pb.js +214 -0
  13. package/ad_optimization_service-LogicUniRevPremiumAdOptimizationService_connectquery.d.ts +78 -0
  14. package/ad_optimization_service-LogicUniRevPremiumAdOptimizationService_connectquery.js +115 -0
  15. package/ad_optimization_service.proto +21 -0
  16. package/ad_optimization_service_connect.d.ts +71 -0
  17. package/ad_optimization_service_connect.js +71 -0
  18. package/ad_pb.d.ts +461 -0
  19. package/ad_pb.js +172 -0
  20. package/ad_service-LogicUniRevPremiumAdService_connectquery.d.ts +58 -0
  21. package/ad_service-LogicUniRevPremiumAdService_connectquery.js +83 -0
  22. package/ad_service.proto +15 -0
  23. package/ad_service_connect.d.ts +53 -0
  24. package/ad_service_connect.js +53 -0
  25. package/ad_social_platform.proto +108 -0
  26. package/ad_social_platform_pb.d.ts +474 -0
  27. package/ad_social_platform_pb.js +156 -0
  28. package/ad_social_platform_service-LogicUniRevPremiumAdSocialPlatformService_connectquery.d.ts +68 -0
  29. package/ad_social_platform_service-LogicUniRevPremiumAdSocialPlatformService_connectquery.js +99 -0
  30. package/ad_social_platform_service.proto +23 -0
  31. package/ad_social_platform_service_connect.d.ts +62 -0
  32. package/ad_social_platform_service_connect.js +62 -0
  33. package/bump_ad.proto +162 -0
  34. package/bump_ad_pb.d.ts +869 -0
  35. package/bump_ad_pb.js +308 -0
  36. package/bump_ad_service-LogicUniRevPremiumBumpAdService_connectquery.d.ts +123 -0
  37. package/bump_ad_service-LogicUniRevPremiumBumpAdService_connectquery.js +189 -0
  38. package/bump_ad_service.proto +56 -0
  39. package/bump_ad_service_connect.d.ts +112 -0
  40. package/bump_ad_service_connect.js +112 -0
  41. package/free_ps.proto +527 -0
  42. package/free_ps_pb.d.ts +2848 -0
  43. package/free_ps_pb.js +934 -0
  44. package/free_ps_service-LogicUniRevPremiumFreePsService_connectquery.d.ts +304 -0
  45. package/free_ps_service-LogicUniRevPremiumFreePsService_connectquery.js +483 -0
  46. package/free_ps_service.proto +62 -0
  47. package/free_ps_service_connect.d.ts +276 -0
  48. package/free_ps_service_connect.js +276 -0
  49. package/listing_tier.proto +228 -0
  50. package/listing_tier_pb.d.ts +1032 -0
  51. package/listing_tier_pb.js +365 -0
  52. package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.d.ts +108 -0
  53. package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.js +163 -0
  54. package/listing_tier_service.proto +19 -0
  55. package/listing_tier_service_connect.d.ts +98 -0
  56. package/listing_tier_service_connect.js +98 -0
  57. package/onbehalf.proto +91 -0
  58. package/onbehalf_pb.d.ts +411 -0
  59. package/onbehalf_pb.js +138 -0
  60. package/onbehalf_service-LogicUniRevPremiumOnbehalfService_connectquery.d.ts +28 -0
  61. package/onbehalf_service-LogicUniRevPremiumOnbehalfService_connectquery.js +35 -0
  62. package/onbehalf_service.proto +11 -0
  63. package/onbehalf_service_connect.d.ts +26 -0
  64. package/onbehalf_service_connect.js +26 -0
  65. package/package.json +10 -0
  66. package/premium_services.proto +1005 -0
  67. package/premium_services_pb.d.ts +5465 -0
  68. package/premium_services_pb.js +1840 -0
  69. package/premium_services_service-LogicUniRevPremiumPremiumServicesService_connectquery.d.ts +496 -0
  70. package/premium_services_service-LogicUniRevPremiumPremiumServicesService_connectquery.js +787 -0
  71. package/premium_services_service.proto +132 -0
  72. package/premium_services_service_connect.d.ts +448 -0
  73. package/premium_services_service_connect.js +448 -0
  74. package/pricing.proto +722 -0
  75. package/pricing_pb.d.ts +3949 -0
  76. package/pricing_pb.js +1372 -0
  77. package/pricing_service-LogicUniRevPremiumPricingService_connectquery.d.ts +411 -0
  78. package/pricing_service-LogicUniRevPremiumPricingService_connectquery.js +653 -0
  79. package/pricing_service.proto +63 -0
  80. package/pricing_service_connect.d.ts +372 -0
  81. package/pricing_service_connect.js +372 -0
  82. package/scripts/modify_package_json.js +50 -0
  83. package/special_display.proto +56 -0
  84. package/special_display_pb.d.ts +322 -0
  85. package/special_display_pb.js +113 -0
  86. package/special_display_service-LogicUniRevPremiumSpecialDisplayService_connectquery.d.ts +58 -0
  87. package/special_display_service-LogicUniRevPremiumSpecialDisplayService_connectquery.js +83 -0
  88. package/special_display_service.proto +24 -0
  89. package/special_display_service_connect.d.ts +53 -0
  90. package/special_display_service_connect.js +53 -0
  91. package/sticky_adinfo.proto +312 -0
  92. package/sticky_adinfo_pb.d.ts +1463 -0
  93. package/sticky_adinfo_pb.js +328 -0
package/free_ps_pb.js ADDED
@@ -0,0 +1,934 @@
1
+ // general
2
+
3
+ // @generated by protoc-gen-es v1.3.1 with parameter "target=js+dts"
4
+ // @generated from file ct-logic-uni-rev-premium/v1/free_ps.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import { proto3, Timestamp } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemManualRequest
12
+ */
13
+ export const GetPSRedeemManualRequest = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemManualRequest",
15
+ () => [
16
+ { no: 1, name: "redeem_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
17
+ { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
18
+ ],
19
+ );
20
+
21
+ /**
22
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemManualResponse
23
+ */
24
+ export const GetPSRedeemManualResponse = proto3.makeMessageType(
25
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemManualResponse",
26
+ () => [
27
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
28
+ { no: 2, name: "data", kind: "message", T: GetPSRedeemResponseData },
29
+ ],
30
+ );
31
+
32
+ /**
33
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemResponseData
34
+ */
35
+ export const GetPSRedeemResponseData = proto3.makeMessageType(
36
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemResponseData",
37
+ () => [
38
+ { no: 1, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
39
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
40
+ { no: 3, name: "expired_at", kind: "message", T: Timestamp },
41
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
42
+ { no: 5, name: "ad_info", kind: "message", T: GetPSRedeemResponseAdInfo },
43
+ ],
44
+ );
45
+
46
+ /**
47
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemResponseAdInfo
48
+ */
49
+ export const GetPSRedeemResponseAdInfo = proto3.makeMessageType(
50
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemResponseAdInfo",
51
+ () => [
52
+ { no: 1, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
53
+ { no: 2, name: "price_string", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ { no: 3, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
+ ],
56
+ );
57
+
58
+ /**
59
+ * @generated from message ct_logic_uni_rev_premium.v1.PSRedeemManualRequest
60
+ */
61
+ export const PSRedeemManualRequest = proto3.makeMessageType(
62
+ "ct_logic_uni_rev_premium.v1.PSRedeemManualRequest",
63
+ () => [
64
+ { no: 1, name: "redeem_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
65
+ { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
66
+ { no: 3, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
67
+ { no: 4, name: "ad_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
68
+ ],
69
+ );
70
+
71
+ /**
72
+ * @generated from message ct_logic_uni_rev_premium.v1.PSRedeemManualResponse
73
+ */
74
+ export const PSRedeemManualResponse = proto3.makeMessageType(
75
+ "ct_logic_uni_rev_premium.v1.PSRedeemManualResponse",
76
+ () => [
77
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
78
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
79
+ { no: 3, name: "message_detail", kind: "scalar", T: 9 /* ScalarType.STRING */ },
80
+ ],
81
+ );
82
+
83
+ /**
84
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSCampaignsRequest
85
+ */
86
+ export const GetPSCampaignsRequest = proto3.makeMessageType(
87
+ "ct_logic_uni_rev_premium.v1.GetPSCampaignsRequest",
88
+ () => [
89
+ { no: 1, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
90
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
91
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
+ { no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
93
+ { no: 5, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
94
+ ],
95
+ );
96
+
97
+ /**
98
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSCampaignsResponse
99
+ */
100
+ export const GetPSCampaignsResponse = proto3.makeMessageType(
101
+ "ct_logic_uni_rev_premium.v1.GetPSCampaignsResponse",
102
+ () => [
103
+ { no: 1, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
104
+ { no: 2, name: "campaigns", kind: "message", T: GetPSCampaignResponse, repeated: true },
105
+ ],
106
+ );
107
+
108
+ /**
109
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSCampaignRequest
110
+ */
111
+ export const GetPSCampaignRequest = proto3.makeMessageType(
112
+ "ct_logic_uni_rev_premium.v1.GetPSCampaignRequest",
113
+ () => [
114
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
115
+ ],
116
+ );
117
+
118
+ /**
119
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSCampaignResponse
120
+ */
121
+ export const GetPSCampaignResponse = proto3.makeMessageType(
122
+ "ct_logic_uni_rev_premium.v1.GetPSCampaignResponse",
123
+ () => [
124
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
125
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
126
+ { no: 3, name: "legal_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
127
+ { no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
+ { no: 5, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
129
+ { no: 6, name: "is_sms", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
130
+ { no: 7, name: "is_announcer", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
131
+ { no: 8, name: "start_date", kind: "message", T: Timestamp },
132
+ { no: 9, name: "end_date", kind: "message", T: Timestamp },
133
+ { no: 10, name: "created_at", kind: "message", T: Timestamp },
134
+ { no: 11, name: "is_notification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
135
+ { no: 12, name: "meta_data", kind: "message", T: PSCampaignMetaData },
136
+ { no: 13, name: "voucher_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
+ { no: 14, name: "voucher_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
138
+ { no: 15, name: "premium_services", kind: "message", T: PremiumService, repeated: true },
139
+ ],
140
+ );
141
+
142
+ /**
143
+ * @generated from message ct_logic_uni_rev_premium.v1.PremiumService
144
+ */
145
+ export const PremiumService = proto3.makeMessageType(
146
+ "ct_logic_uni_rev_premium.v1.PremiumService",
147
+ () => [
148
+ { no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
149
+ { no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
150
+ { no: 3, name: "add_on_features", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
151
+ ],
152
+ );
153
+
154
+ /**
155
+ * @generated from message ct_logic_uni_rev_premium.v1.CreatePSCampaignRequest
156
+ */
157
+ export const CreatePSCampaignRequest = proto3.makeMessageType(
158
+ "ct_logic_uni_rev_premium.v1.CreatePSCampaignRequest",
159
+ () => [
160
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
161
+ { no: 2, name: "legal_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
162
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
163
+ { no: 4, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
164
+ { no: 5, name: "is_sms", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
165
+ { no: 6, name: "is_announcer", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
166
+ { no: 7, name: "start_date", kind: "message", T: Timestamp },
167
+ { no: 8, name: "end_date", kind: "message", T: Timestamp },
168
+ { no: 9, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
+ { no: 10, name: "is_notification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
170
+ { no: 11, name: "meta_data", kind: "message", T: PSCampaignMetaData },
171
+ { no: 12, name: "voucher_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
172
+ { no: 13, name: "voucher_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
173
+ { no: 14, name: "premium_services", kind: "message", T: PremiumService, repeated: true },
174
+ ],
175
+ );
176
+
177
+ /**
178
+ * @generated from message ct_logic_uni_rev_premium.v1.CreatePSCampaignResponse
179
+ */
180
+ export const CreatePSCampaignResponse = proto3.makeMessageType(
181
+ "ct_logic_uni_rev_premium.v1.CreatePSCampaignResponse",
182
+ () => [
183
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
184
+ ],
185
+ );
186
+
187
+ /**
188
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdatePSCampaignRequest
189
+ */
190
+ export const UpdatePSCampaignRequest = proto3.makeMessageType(
191
+ "ct_logic_uni_rev_premium.v1.UpdatePSCampaignRequest",
192
+ () => [
193
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
194
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195
+ { no: 3, name: "legal_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
196
+ { no: 4, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
197
+ { no: 5, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
+ { no: 6, name: "is_sms", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
199
+ { no: 7, name: "is_announcer", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
200
+ { no: 8, name: "start_date", kind: "message", T: Timestamp },
201
+ { no: 9, name: "end_date", kind: "message", T: Timestamp },
202
+ { no: 10, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
203
+ { no: 11, name: "condition", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
204
+ { no: 12, name: "usage", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
205
+ { no: 13, name: "is_notification", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
206
+ { no: 14, name: "voucher_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
207
+ ],
208
+ );
209
+
210
+ /**
211
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdatePSCampaignResponse
212
+ */
213
+ export const UpdatePSCampaignResponse = proto3.makeMessageType(
214
+ "ct_logic_uni_rev_premium.v1.UpdatePSCampaignResponse",
215
+ [],
216
+ );
217
+
218
+ /**
219
+ * @generated from message ct_logic_uni_rev_premium.v1.DeletePSCampaignRequest
220
+ */
221
+ export const DeletePSCampaignRequest = proto3.makeMessageType(
222
+ "ct_logic_uni_rev_premium.v1.DeletePSCampaignRequest",
223
+ () => [
224
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
225
+ { no: 2, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
226
+ ],
227
+ );
228
+
229
+ /**
230
+ * @generated from message ct_logic_uni_rev_premium.v1.DeletePSCampaignResponse
231
+ */
232
+ export const DeletePSCampaignResponse = proto3.makeMessageType(
233
+ "ct_logic_uni_rev_premium.v1.DeletePSCampaignResponse",
234
+ [],
235
+ );
236
+
237
+ /**
238
+ * @generated from message ct_logic_uni_rev_premium.v1.CreatePSRedeemsRequest
239
+ */
240
+ export const CreatePSRedeemsRequest = proto3.makeMessageType(
241
+ "ct_logic_uni_rev_premium.v1.CreatePSRedeemsRequest",
242
+ () => [
243
+ { no: 1, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
244
+ { no: 2, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
245
+ { no: 3, name: "redeems", kind: "message", T: CreatePSRedeemRequest, repeated: true },
246
+ ],
247
+ );
248
+
249
+ /**
250
+ * @generated from message ct_logic_uni_rev_premium.v1.CreatePSRedeemRequest
251
+ */
252
+ export const CreatePSRedeemRequest = proto3.makeMessageType(
253
+ "ct_logic_uni_rev_premium.v1.CreatePSRedeemRequest",
254
+ () => [
255
+ { no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
256
+ { no: 2, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
257
+ { no: 3, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
258
+ { no: 4, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
259
+ { no: 5, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
260
+ { no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
261
+ { no: 7, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
262
+ { no: 8, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
263
+ { no: 9, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
264
+ { no: 10, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
265
+ ],
266
+ );
267
+
268
+ /**
269
+ * @generated from message ct_logic_uni_rev_premium.v1.CreatePSRedeemsResponse
270
+ */
271
+ export const CreatePSRedeemsResponse = proto3.makeMessageType(
272
+ "ct_logic_uni_rev_premium.v1.CreatePSRedeemsResponse",
273
+ [],
274
+ );
275
+
276
+ /**
277
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdatePSRedeemRequest
278
+ */
279
+ export const UpdatePSRedeemRequest = proto3.makeMessageType(
280
+ "ct_logic_uni_rev_premium.v1.UpdatePSRedeemRequest",
281
+ () => [
282
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
283
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
284
+ { no: 3, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
285
+ ],
286
+ );
287
+
288
+ /**
289
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdatePSRedeemResponse
290
+ */
291
+ export const UpdatePSRedeemResponse = proto3.makeMessageType(
292
+ "ct_logic_uni_rev_premium.v1.UpdatePSRedeemResponse",
293
+ [],
294
+ );
295
+
296
+ /**
297
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemsRequest
298
+ */
299
+ export const GetPSRedeemsRequest = proto3.makeMessageType(
300
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemsRequest",
301
+ () => [
302
+ { no: 1, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
303
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
304
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
305
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
+ { no: 5, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
307
+ { no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
308
+ ],
309
+ );
310
+
311
+ /**
312
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemsResponse
313
+ */
314
+ export const GetPSRedeemsResponse = proto3.makeMessageType(
315
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemsResponse",
316
+ () => [
317
+ { no: 1, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
318
+ { no: 2, name: "redeems", kind: "message", T: GetPSRedeemResponse, repeated: true },
319
+ ],
320
+ );
321
+
322
+ /**
323
+ * @generated from message ct_logic_uni_rev_premium.v1.GetPSRedeemResponse
324
+ */
325
+ export const GetPSRedeemResponse = proto3.makeMessageType(
326
+ "ct_logic_uni_rev_premium.v1.GetPSRedeemResponse",
327
+ () => [
328
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
330
+ { no: 3, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
331
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
332
+ { no: 5, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
333
+ { no: 6, name: "is_sent_sms", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
334
+ { no: 7, name: "is_sent_announcer", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
335
+ { no: 8, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
336
+ { no: 9, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
337
+ { no: 10, name: "created_at", kind: "message", T: Timestamp },
338
+ { no: 11, name: "announcer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
339
+ { no: 12, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
340
+ { no: 13, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
341
+ { no: 14, name: "premium_services", kind: "message", T: PSPremiumService, repeated: true },
342
+ { no: 15, name: "result", kind: "message", T: PSRedeemResult },
343
+ { no: 16, name: "remaining_total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
344
+ { no: 17, name: "is_sent_notification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
345
+ ],
346
+ );
347
+
348
+ /**
349
+ * @generated from message ct_logic_uni_rev_premium.v1.PSRedeemResult
350
+ */
351
+ export const PSRedeemResult = proto3.makeMessageType(
352
+ "ct_logic_uni_rev_premium.v1.PSRedeemResult",
353
+ () => [
354
+ { no: 1, name: "order_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
355
+ { no: 2, name: "ad_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
356
+ ],
357
+ );
358
+
359
+ /**
360
+ * @generated from message ct_logic_uni_rev_premium.v1.PSPremiumService
361
+ */
362
+ export const PSPremiumService = proto3.makeMessageType(
363
+ "ct_logic_uni_rev_premium.v1.PSPremiumService",
364
+ () => [
365
+ { no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
366
+ { no: 2, name: "service_params", kind: "scalar", T: 9 /* ScalarType.STRING */ },
367
+ { no: 3, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
368
+ ],
369
+ );
370
+
371
+ /**
372
+ * @generated from message ct_logic_uni_rev_premium.v1.RestorePSRedeemRequest
373
+ */
374
+ export const RestorePSRedeemRequest = proto3.makeMessageType(
375
+ "ct_logic_uni_rev_premium.v1.RestorePSRedeemRequest",
376
+ () => [
377
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
+ { no: 2, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
+ ],
380
+ );
381
+
382
+ /**
383
+ * @generated from message ct_logic_uni_rev_premium.v1.RestorePSRedeemResponse
384
+ */
385
+ export const RestorePSRedeemResponse = proto3.makeMessageType(
386
+ "ct_logic_uni_rev_premium.v1.RestorePSRedeemResponse",
387
+ [],
388
+ );
389
+
390
+ /**
391
+ * @generated from message ct_logic_uni_rev_premium.v1.GetListingFeeRedeemRequest
392
+ */
393
+ export const GetListingFeeRedeemRequest = proto3.makeMessageType(
394
+ "ct_logic_uni_rev_premium.v1.GetListingFeeRedeemRequest",
395
+ () => [
396
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ ],
398
+ );
399
+
400
+ /**
401
+ * @generated from message ct_logic_uni_rev_premium.v1.GetListingFeeRedeemResponse
402
+ */
403
+ export const GetListingFeeRedeemResponse = proto3.makeMessageType(
404
+ "ct_logic_uni_rev_premium.v1.GetListingFeeRedeemResponse",
405
+ () => [
406
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
407
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
408
+ { no: 3, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
409
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
410
+ { no: 5, name: "is_sent_sms", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
411
+ { no: 6, name: "announcer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
412
+ { no: 7, name: "is_sent_notification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
413
+ { no: 8, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
414
+ { no: 9, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
415
+ { no: 10, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
416
+ { no: 11, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
417
+ { no: 12, name: "region_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
418
+ { no: 13, name: "remaining_total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
419
+ { no: 14, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
420
+ { no: 15, name: "created_at", kind: "message", T: Timestamp },
421
+ { no: 16, name: "redeems_successful", kind: "message", T: RedeemInfo, repeated: true },
422
+ { no: 17, name: "redeems_failed", kind: "message", T: RedeemInfo, repeated: true },
423
+ { no: 18, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
424
+ ],
425
+ );
426
+
427
+ /**
428
+ * @generated from message ct_logic_uni_rev_premium.v1.RedeemInfo
429
+ */
430
+ export const RedeemInfo = proto3.makeMessageType(
431
+ "ct_logic_uni_rev_premium.v1.RedeemInfo",
432
+ () => [
433
+ { no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
434
+ { no: 2, name: "order_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
435
+ ],
436
+ );
437
+
438
+ /**
439
+ * @generated from message ct_logic_uni_rev_premium.v1.GetListingFeeRedeemsRequest
440
+ */
441
+ export const GetListingFeeRedeemsRequest = proto3.makeMessageType(
442
+ "ct_logic_uni_rev_premium.v1.GetListingFeeRedeemsRequest",
443
+ () => [
444
+ { no: 1, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
445
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
446
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
447
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
448
+ { no: 5, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
449
+ { no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
450
+ ],
451
+ );
452
+
453
+ /**
454
+ * @generated from message ct_logic_uni_rev_premium.v1.GetListingFeeRedeemsResponse
455
+ */
456
+ export const GetListingFeeRedeemsResponse = proto3.makeMessageType(
457
+ "ct_logic_uni_rev_premium.v1.GetListingFeeRedeemsResponse",
458
+ () => [
459
+ { no: 1, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
460
+ { no: 2, name: "redeems", kind: "message", T: GetListingFeeRedeemResponse, repeated: true },
461
+ ],
462
+ );
463
+
464
+ /**
465
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateListingFeeRedeemsRequest
466
+ */
467
+ export const CreateListingFeeRedeemsRequest = proto3.makeMessageType(
468
+ "ct_logic_uni_rev_premium.v1.CreateListingFeeRedeemsRequest",
469
+ () => [
470
+ { no: 1, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
471
+ { no: 2, name: "created_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
472
+ { no: 3, name: "redeems", kind: "message", T: CreateListingFeeRedeemRequest, repeated: true },
473
+ ],
474
+ );
475
+
476
+ /**
477
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateListingFeeRedeemRequest
478
+ */
479
+ export const CreateListingFeeRedeemRequest = proto3.makeMessageType(
480
+ "ct_logic_uni_rev_premium.v1.CreateListingFeeRedeemRequest",
481
+ () => [
482
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
483
+ { no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
484
+ { no: 3, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
485
+ { no: 4, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
486
+ { no: 5, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
487
+ { no: 6, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
488
+ { no: 7, name: "region_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
489
+ { no: 8, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
490
+ { no: 9, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
491
+ { no: 10, name: "listing_tier_metadata", kind: "message", T: ListingTierMetadata, oneof: "metadata" },
492
+ ],
493
+ );
494
+
495
+ /**
496
+ * @generated from message ct_logic_uni_rev_premium.v1.ListingTierMetadata
497
+ */
498
+ export const ListingTierMetadata = proto3.makeMessageType(
499
+ "ct_logic_uni_rev_premium.v1.ListingTierMetadata",
500
+ () => [
501
+ { no: 1, name: "tier_code", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
502
+ { no: 2, name: "subscription_transaction_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
503
+ ],
504
+ );
505
+
506
+ /**
507
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateListingFeeRedeemsResponse
508
+ */
509
+ export const CreateListingFeeRedeemsResponse = proto3.makeMessageType(
510
+ "ct_logic_uni_rev_premium.v1.CreateListingFeeRedeemsResponse",
511
+ [],
512
+ );
513
+
514
+ /**
515
+ * @generated from message ct_logic_uni_rev_premium.v1.PSCampaignMetaData
516
+ */
517
+ export const PSCampaignMetaData = proto3.makeMessageType(
518
+ "ct_logic_uni_rev_premium.v1.PSCampaignMetaData",
519
+ () => [
520
+ { no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
521
+ { no: 2, name: "condition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
522
+ { no: 3, name: "usage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
523
+ { no: 4, name: "thumbnail_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
524
+ { no: 5, name: "icon_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
525
+ ],
526
+ );
527
+
528
+ /**
529
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVouchersByAccountIdRequest
530
+ */
531
+ export const GetVouchersByAccountIdRequest = proto3.makeMessageType(
532
+ "ct_logic_uni_rev_premium.v1.GetVouchersByAccountIdRequest",
533
+ () => [
534
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
535
+ { no: 2, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
536
+ { no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
537
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
538
+ { no: 5, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
539
+ { no: 6, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
540
+ ],
541
+ );
542
+
543
+ /**
544
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVouchersByAccountIdResponse
545
+ */
546
+ export const GetVouchersByAccountIdResponse = proto3.makeMessageType(
547
+ "ct_logic_uni_rev_premium.v1.GetVouchersByAccountIdResponse",
548
+ () => [
549
+ { no: 1, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
550
+ { no: 2, name: "vouchers", kind: "message", T: GetVoucherDetaildByIdResponse, repeated: true },
551
+ ],
552
+ );
553
+
554
+ /**
555
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVoucherDetaildByIdResponse
556
+ */
557
+ export const GetVoucherDetaildByIdResponse = proto3.makeMessageType(
558
+ "ct_logic_uni_rev_premium.v1.GetVoucherDetaildByIdResponse",
559
+ () => [
560
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
561
+ { no: 2, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
562
+ { no: 3, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
563
+ { no: 4, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
564
+ { no: 5, name: "region_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
565
+ { no: 6, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
566
+ { no: 7, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
567
+ { no: 8, name: "start_date", kind: "message", T: Timestamp },
568
+ { no: 9, name: "end_date", kind: "message", T: Timestamp },
569
+ { no: 10, name: "is_usable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
570
+ { no: 11, name: "metadata", kind: "message", T: VoucherDetailMetadata },
571
+ { no: 12, name: "voucher_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
572
+ { no: 13, name: "voucher_based", kind: "scalar", T: 9 /* ScalarType.STRING */ },
573
+ { no: 14, name: "service_types", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
574
+ { no: 15, name: "credit_promotion_code", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
575
+ ],
576
+ );
577
+
578
+ /**
579
+ * @generated from message ct_logic_uni_rev_premium.v1.VoucherDetailMetadata
580
+ */
581
+ export const VoucherDetailMetadata = proto3.makeMessageType(
582
+ "ct_logic_uni_rev_premium.v1.VoucherDetailMetadata",
583
+ () => [
584
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
585
+ { no: 2, name: "thumbnail_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
586
+ { no: 3, name: "icon_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
587
+ { no: 4, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
588
+ { no: 5, name: "condition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
589
+ { no: 6, name: "usage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
590
+ { no: 7, name: "service_type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
591
+ { no: 8, name: "category_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
592
+ { no: 9, name: "ad_type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
593
+ { no: 10, name: "region_names", kind: "scalar", T: 9 /* ScalarType.STRING */ },
594
+ { no: 11, name: "status_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
595
+ { no: 12, name: "expiry_date", kind: "message", T: ExpiryDate },
596
+ { no: 13, name: "service_type_names", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
597
+ { no: 14, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
598
+ { no: 15, name: "tier_code_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
599
+ ],
600
+ );
601
+
602
+ /**
603
+ * @generated from message ct_logic_uni_rev_premium.v1.ExpiryDate
604
+ */
605
+ export const ExpiryDate = proto3.makeMessageType(
606
+ "ct_logic_uni_rev_premium.v1.ExpiryDate",
607
+ () => [
608
+ { no: 1, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
609
+ { no: 2, name: "expire_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
610
+ ],
611
+ );
612
+
613
+ /**
614
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVouchersCountByServiceTypeRequest
615
+ */
616
+ export const GetVouchersCountByServiceTypeRequest = proto3.makeMessageType(
617
+ "ct_logic_uni_rev_premium.v1.GetVouchersCountByServiceTypeRequest",
618
+ () => [
619
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
620
+ { no: 2, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
621
+ { no: 3, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
622
+ ],
623
+ );
624
+
625
+ /**
626
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVouchersCountByServiceTypeResponse
627
+ */
628
+ export const GetVouchersCountByServiceTypeResponse = proto3.makeMessageType(
629
+ "ct_logic_uni_rev_premium.v1.GetVouchersCountByServiceTypeResponse",
630
+ () => [
631
+ { no: 1, name: "service_type_count", kind: "message", T: ServiceTypeCount, repeated: true },
632
+ ],
633
+ );
634
+
635
+ /**
636
+ * @generated from message ct_logic_uni_rev_premium.v1.ServiceTypeCount
637
+ */
638
+ export const ServiceTypeCount = proto3.makeMessageType(
639
+ "ct_logic_uni_rev_premium.v1.ServiceTypeCount",
640
+ () => [
641
+ { no: 1, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
642
+ { no: 2, name: "service_type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
643
+ { no: 3, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
644
+ ],
645
+ );
646
+
647
+ /**
648
+ * @generated from message ct_logic_uni_rev_premium.v1.GetCategoriesWithListingFeeVouchersRequest
649
+ */
650
+ export const GetCategoriesWithListingFeeVouchersRequest = proto3.makeMessageType(
651
+ "ct_logic_uni_rev_premium.v1.GetCategoriesWithListingFeeVouchersRequest",
652
+ () => [
653
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
654
+ { no: 2, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
655
+ { no: 3, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
656
+ ],
657
+ );
658
+
659
+ /**
660
+ * @generated from message ct_logic_uni_rev_premium.v1.GetCategoriesWithListingFeeVouchersResponse
661
+ */
662
+ export const GetCategoriesWithListingFeeVouchersResponse = proto3.makeMessageType(
663
+ "ct_logic_uni_rev_premium.v1.GetCategoriesWithListingFeeVouchersResponse",
664
+ () => [
665
+ { no: 1, name: "big_category_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
666
+ { no: 2, name: "category_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
667
+ { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
668
+ ],
669
+ );
670
+
671
+ /**
672
+ * @generated from message ct_logic_uni_rev_premium.v1.UpsertPSRedeemsRequest
673
+ */
674
+ export const UpsertPSRedeemsRequest = proto3.makeMessageType(
675
+ "ct_logic_uni_rev_premium.v1.UpsertPSRedeemsRequest",
676
+ () => [
677
+ { no: 1, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
678
+ { no: 2, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
679
+ { no: 3, name: "redeems", kind: "message", T: CreatePSRedeemRequest, repeated: true },
680
+ ],
681
+ );
682
+
683
+ /**
684
+ * @generated from message ct_logic_uni_rev_premium.v1.UpsertPSRedeemsResponse
685
+ */
686
+ export const UpsertPSRedeemsResponse = proto3.makeMessageType(
687
+ "ct_logic_uni_rev_premium.v1.UpsertPSRedeemsResponse",
688
+ [],
689
+ );
690
+
691
+ /**
692
+ * @generated from message ct_logic_uni_rev_premium.v1.GetAdsToRedeemVoucherRequest
693
+ */
694
+ export const GetAdsToRedeemVoucherRequest = proto3.makeMessageType(
695
+ "ct_logic_uni_rev_premium.v1.GetAdsToRedeemVoucherRequest",
696
+ () => [
697
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
698
+ { no: 2, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
699
+ { no: 3, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
700
+ { no: 4, name: "state", kind: "scalar", T: 9 /* ScalarType.STRING */ },
701
+ { no: 5, name: "category", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
702
+ { no: 6, name: "voucher_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
703
+ ],
704
+ );
705
+
706
+ /**
707
+ * @generated from message ct_logic_uni_rev_premium.v1.GetAdsToRedeemVoucherResponse
708
+ */
709
+ export const GetAdsToRedeemVoucherResponse = proto3.makeMessageType(
710
+ "ct_logic_uni_rev_premium.v1.GetAdsToRedeemVoucherResponse",
711
+ () => [
712
+ { no: 1, name: "ads", kind: "message", T: UserAdsAdInfo, repeated: true },
713
+ { no: 2, name: "total_each_state", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 3 /* ScalarType.INT64 */} },
714
+ ],
715
+ );
716
+
717
+ /**
718
+ * @generated from message ct_logic_uni_rev_premium.v1.UserAdsAdInfo
719
+ */
720
+ export const UserAdsAdInfo = proto3.makeMessageType(
721
+ "ct_logic_uni_rev_premium.v1.UserAdsAdInfo",
722
+ () => [
723
+ { no: 1, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
724
+ { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
725
+ { no: 3, name: "price_string", kind: "scalar", T: 9 /* ScalarType.STRING */ },
726
+ { no: 4, name: "image_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
727
+ { no: 5, name: "note", kind: "scalar", T: 9 /* ScalarType.STRING */ },
728
+ ],
729
+ );
730
+
731
+ /**
732
+ * @generated from message ct_logic_uni_rev_premium.v1.GetBundleRedeemRequest
733
+ */
734
+ export const GetBundleRedeemRequest = proto3.makeMessageType(
735
+ "ct_logic_uni_rev_premium.v1.GetBundleRedeemRequest",
736
+ () => [
737
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
738
+ ],
739
+ );
740
+
741
+ /**
742
+ * @generated from message ct_logic_uni_rev_premium.v1.GetBundleRedeemResponse
743
+ */
744
+ export const GetBundleRedeemResponse = proto3.makeMessageType(
745
+ "ct_logic_uni_rev_premium.v1.GetBundleRedeemResponse",
746
+ () => [
747
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
748
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
749
+ { no: 4, name: "is_sent_sms", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
750
+ { no: 5, name: "announcer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
751
+ { no: 6, name: "is_sent_notification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
752
+ { no: 7, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
753
+ { no: 8, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
754
+ { no: 9, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
755
+ { no: 10, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
756
+ { no: 11, name: "region_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
757
+ { no: 12, name: "remaining_total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
758
+ { no: 13, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
759
+ { no: 14, name: "created_at", kind: "message", T: Timestamp },
760
+ { no: 15, name: "redeems_successful", kind: "message", T: RedeemInfo, repeated: true },
761
+ { no: 16, name: "redeems_failed", kind: "message", T: RedeemInfo, repeated: true },
762
+ { no: 17, name: "premium_services", kind: "message", T: PremiumService, repeated: true },
763
+ ],
764
+ );
765
+
766
+ /**
767
+ * @generated from message ct_logic_uni_rev_premium.v1.GetBundleRedeemsRequest
768
+ */
769
+ export const GetBundleRedeemsRequest = proto3.makeMessageType(
770
+ "ct_logic_uni_rev_premium.v1.GetBundleRedeemsRequest",
771
+ () => [
772
+ { no: 1, name: "limit", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
773
+ { no: 2, name: "offset", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
774
+ { no: 3, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
775
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
776
+ { no: 5, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
777
+ { no: 6, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
778
+ ],
779
+ );
780
+
781
+ /**
782
+ * @generated from message ct_logic_uni_rev_premium.v1.GetBundleRedeemsResponse
783
+ */
784
+ export const GetBundleRedeemsResponse = proto3.makeMessageType(
785
+ "ct_logic_uni_rev_premium.v1.GetBundleRedeemsResponse",
786
+ () => [
787
+ { no: 1, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
788
+ { no: 2, name: "redeems", kind: "message", T: GetBundleRedeemResponse, repeated: true },
789
+ ],
790
+ );
791
+
792
+ /**
793
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateBundleRedeemsRequest
794
+ */
795
+ export const CreateBundleRedeemsRequest = proto3.makeMessageType(
796
+ "ct_logic_uni_rev_premium.v1.CreateBundleRedeemsRequest",
797
+ () => [
798
+ { no: 1, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
799
+ { no: 2, name: "created_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
800
+ { no: 3, name: "redeems", kind: "message", T: CreateBundleRedeemRequest, repeated: true },
801
+ ],
802
+ );
803
+
804
+ /**
805
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateBundleRedeemRequest
806
+ */
807
+ export const CreateBundleRedeemRequest = proto3.makeMessageType(
808
+ "ct_logic_uni_rev_premium.v1.CreateBundleRedeemRequest",
809
+ () => [
810
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
811
+ { no: 2, name: "ad_type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
812
+ { no: 3, name: "category_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
813
+ { no: 4, name: "region_ids", kind: "scalar", T: 3 /* ScalarType.INT64 */, repeated: true },
814
+ { no: 5, name: "total_free", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
815
+ { no: 6, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
816
+ ],
817
+ );
818
+
819
+ /**
820
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateBundleRedeemsResponse
821
+ */
822
+ export const CreateBundleRedeemsResponse = proto3.makeMessageType(
823
+ "ct_logic_uni_rev_premium.v1.CreateBundleRedeemsResponse",
824
+ [],
825
+ );
826
+
827
+ /**
828
+ * @generated from message ct_logic_uni_rev_premium.v1.GetRedeemWithCampaignInfoRequest
829
+ */
830
+ export const GetRedeemWithCampaignInfoRequest = proto3.makeMessageType(
831
+ "ct_logic_uni_rev_premium.v1.GetRedeemWithCampaignInfoRequest",
832
+ () => [
833
+ { no: 1, name: "redeem_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
834
+ ],
835
+ );
836
+
837
+ /**
838
+ * @generated from message ct_logic_uni_rev_premium.v1.GetRedeemWithCampaignInfoResponse
839
+ */
840
+ export const GetRedeemWithCampaignInfoResponse = proto3.makeMessageType(
841
+ "ct_logic_uni_rev_premium.v1.GetRedeemWithCampaignInfoResponse",
842
+ () => [
843
+ { no: 1, name: "redeem", kind: "message", T: GetPSRedeemResponse },
844
+ { no: 2, name: "campaign", kind: "message", T: GetPSCampaignResponse },
845
+ ],
846
+ );
847
+
848
+ /**
849
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVoucherByIdRequest
850
+ */
851
+ export const GetVoucherByIdRequest = proto3.makeMessageType(
852
+ "ct_logic_uni_rev_premium.v1.GetVoucherByIdRequest",
853
+ () => [
854
+ { no: 1, name: "voucher_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
855
+ { no: 2, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
856
+ ],
857
+ );
858
+
859
+ /**
860
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVoucherByIdResponse
861
+ */
862
+ export const GetVoucherByIdResponse = proto3.makeMessageType(
863
+ "ct_logic_uni_rev_premium.v1.GetVoucherByIdResponse",
864
+ () => [
865
+ { no: 1, name: "voucher", kind: "message", T: GetVoucherDetaildByIdResponse },
866
+ ],
867
+ );
868
+
869
+ /**
870
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVoucherCountRequest
871
+ */
872
+ export const GetVoucherCountRequest = proto3.makeMessageType(
873
+ "ct_logic_uni_rev_premium.v1.GetVoucherCountRequest",
874
+ () => [
875
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
876
+ { no: 2, name: "platform", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
877
+ { no: 3, name: "app_version", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
878
+ ],
879
+ );
880
+
881
+ /**
882
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVoucherCountResponse
883
+ */
884
+ export const GetVoucherCountResponse = proto3.makeMessageType(
885
+ "ct_logic_uni_rev_premium.v1.GetVoucherCountResponse",
886
+ () => [
887
+ { no: 1, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
888
+ ],
889
+ );
890
+
891
+ /**
892
+ * @generated from message ct_logic_uni_rev_premium.v1.FetchUCDPAndUploadCsvRequest
893
+ */
894
+ export const FetchUCDPAndUploadCsvRequest = proto3.makeMessageType(
895
+ "ct_logic_uni_rev_premium.v1.FetchUCDPAndUploadCsvRequest",
896
+ () => [
897
+ { no: 1, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
898
+ { no: 2, name: "segment_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
899
+ { no: 3, name: "custom_attribute", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
900
+ { no: 4, name: "fixed_value", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
901
+ ],
902
+ );
903
+
904
+ /**
905
+ * @generated from message ct_logic_uni_rev_premium.v1.FetchUCDPAndUploadCsvResponse
906
+ */
907
+ export const FetchUCDPAndUploadCsvResponse = proto3.makeMessageType(
908
+ "ct_logic_uni_rev_premium.v1.FetchUCDPAndUploadCsvResponse",
909
+ () => [
910
+ { no: 1, name: "object_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
911
+ ],
912
+ );
913
+
914
+ /**
915
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateFreePSRedeemsFromGCSRequest
916
+ */
917
+ export const CreateFreePSRedeemsFromGCSRequest = proto3.makeMessageType(
918
+ "ct_logic_uni_rev_premium.v1.CreateFreePSRedeemsFromGCSRequest",
919
+ () => [
920
+ { no: 1, name: "campaign_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
921
+ { no: 2, name: "admin_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
922
+ { no: 3, name: "object_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
923
+ { no: 4, name: "service_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
924
+ ],
925
+ );
926
+
927
+ /**
928
+ * @generated from message ct_logic_uni_rev_premium.v1.CreateFreePSRedeemsFromGCSResponse
929
+ */
930
+ export const CreateFreePSRedeemsFromGCSResponse = proto3.makeMessageType(
931
+ "ct_logic_uni_rev_premium.v1.CreateFreePSRedeemsFromGCSResponse",
932
+ [],
933
+ );
934
+