@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
@@ -0,0 +1,474 @@
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/ad_social_platform.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
9
+ import { Message, proto3 } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * @generated from message ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformRequest
13
+ */
14
+ export declare class CheckAdForSharingSocialPlatformRequest extends Message<CheckAdForSharingSocialPlatformRequest> {
15
+ /**
16
+ * @generated from field: int64 account_id = 1;
17
+ */
18
+ accountId: bigint;
19
+
20
+ /**
21
+ * @generated from field: int64 ad_id = 2;
22
+ */
23
+ adId: bigint;
24
+
25
+ constructor(data?: PartialMessage<CheckAdForSharingSocialPlatformRequest>);
26
+
27
+ static readonly runtime: typeof proto3;
28
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformRequest";
29
+ static readonly fields: FieldList;
30
+
31
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckAdForSharingSocialPlatformRequest;
32
+
33
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckAdForSharingSocialPlatformRequest;
34
+
35
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckAdForSharingSocialPlatformRequest;
36
+
37
+ static equals(a: CheckAdForSharingSocialPlatformRequest | PlainMessage<CheckAdForSharingSocialPlatformRequest> | undefined, b: CheckAdForSharingSocialPlatformRequest | PlainMessage<CheckAdForSharingSocialPlatformRequest> | undefined): boolean;
38
+ }
39
+
40
+ /**
41
+ * @generated from message ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformResponse
42
+ */
43
+ export declare class CheckAdForSharingSocialPlatformResponse extends Message<CheckAdForSharingSocialPlatformResponse> {
44
+ /**
45
+ * @generated from field: bool qualified = 1;
46
+ */
47
+ qualified: boolean;
48
+
49
+ /**
50
+ * only when qualified = true
51
+ *
52
+ * @generated from field: string ad_title = 2;
53
+ */
54
+ adTitle: string;
55
+
56
+ /**
57
+ * @generated from field: string ad_content = 3;
58
+ */
59
+ adContent: string;
60
+
61
+ /**
62
+ * @generated from field: string ad_url = 4;
63
+ */
64
+ adUrl: string;
65
+
66
+ /**
67
+ * @generated from field: repeated string ad_images = 5;
68
+ */
69
+ adImages: string[];
70
+
71
+ /**
72
+ * @generated from field: optional string ad_video_streaming_url = 6;
73
+ */
74
+ adVideoStreamingUrl?: string;
75
+
76
+ /**
77
+ * @generated from field: optional string ad_video_download_url = 7;
78
+ */
79
+ adVideoDownloadUrl?: string;
80
+
81
+ /**
82
+ * @generated from field: optional string ad_video_thumbnail_url = 8;
83
+ */
84
+ adVideoThumbnailUrl?: string;
85
+
86
+ /**
87
+ * @generated from field: optional string ad_video_gif_url = 9;
88
+ */
89
+ adVideoGifUrl?: string;
90
+
91
+ /**
92
+ * @generated from field: optional int64 ad_video_byte_size = 10;
93
+ */
94
+ adVideoByteSize?: bigint;
95
+
96
+ /**
97
+ * completed, in_progress, pending, only when qualififed = true
98
+ *
99
+ * @generated from field: optional string video_status = 11;
100
+ */
101
+ videoStatus?: string;
102
+
103
+ /**
104
+ * when qualified=true, video_status=completed --> ai_video is already generated
105
+ *
106
+ * @generated from field: optional string ai_video_streaming_url = 12;
107
+ */
108
+ aiVideoStreamingUrl?: string;
109
+
110
+ /**
111
+ * @generated from field: optional string ai_video_download_url = 13;
112
+ */
113
+ aiVideoDownloadUrl?: string;
114
+
115
+ /**
116
+ * @generated from field: optional string ai_video_thumbnail_url = 14;
117
+ */
118
+ aiVideoThumbnailUrl?: string;
119
+
120
+ /**
121
+ * @generated from field: optional string ai_video_gif_url = 15;
122
+ */
123
+ aiVideoGifUrl?: string;
124
+
125
+ /**
126
+ * @generated from field: optional int64 ai_video_byte_size = 16;
127
+ */
128
+ aiVideoByteSize?: bigint;
129
+
130
+ /**
131
+ * available if video_status = in_progress
132
+ *
133
+ * @generated from field: optional int32 step = 17;
134
+ */
135
+ step?: number;
136
+
137
+ /**
138
+ * @generated from field: optional int32 total_step = 18;
139
+ */
140
+ totalStep?: number;
141
+
142
+ /**
143
+ * @generated from field: string step_description = 19;
144
+ */
145
+ stepDescription: string;
146
+
147
+ /**
148
+ * @generated from field: int32 remaining_seconds = 20;
149
+ */
150
+ remainingSeconds: number;
151
+
152
+ /**
153
+ * when qualified = false
154
+ *
155
+ * @generated from field: optional string reason_code = 21;
156
+ */
157
+ reasonCode?: string;
158
+
159
+ /**
160
+ * @generated from field: optional string reason_text = 22;
161
+ */
162
+ reasonText?: string;
163
+
164
+ constructor(data?: PartialMessage<CheckAdForSharingSocialPlatformResponse>);
165
+
166
+ static readonly runtime: typeof proto3;
167
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformResponse";
168
+ static readonly fields: FieldList;
169
+
170
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckAdForSharingSocialPlatformResponse;
171
+
172
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckAdForSharingSocialPlatformResponse;
173
+
174
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckAdForSharingSocialPlatformResponse;
175
+
176
+ static equals(a: CheckAdForSharingSocialPlatformResponse | PlainMessage<CheckAdForSharingSocialPlatformResponse> | undefined, b: CheckAdForSharingSocialPlatformResponse | PlainMessage<CheckAdForSharingSocialPlatformResponse> | undefined): boolean;
177
+ }
178
+
179
+ /**
180
+ * this will be forwared to ct-core-uni-listing-tier,
181
+ * to support Billing Result screen, when core-ad-social-platform might not
182
+ * have that ad ( due to delay in sync)
183
+ * hence, this only return true/false
184
+ *
185
+ * @generated from message ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformRequest
186
+ */
187
+ export declare class QuickCheckAdSharingSocialPlatformRequest extends Message<QuickCheckAdSharingSocialPlatformRequest> {
188
+ /**
189
+ * @generated from field: int64 account_id = 1;
190
+ */
191
+ accountId: bigint;
192
+
193
+ /**
194
+ * @generated from field: int64 ad_id = 2;
195
+ */
196
+ adId: bigint;
197
+
198
+ constructor(data?: PartialMessage<QuickCheckAdSharingSocialPlatformRequest>);
199
+
200
+ static readonly runtime: typeof proto3;
201
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformRequest";
202
+ static readonly fields: FieldList;
203
+
204
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuickCheckAdSharingSocialPlatformRequest;
205
+
206
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuickCheckAdSharingSocialPlatformRequest;
207
+
208
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuickCheckAdSharingSocialPlatformRequest;
209
+
210
+ static equals(a: QuickCheckAdSharingSocialPlatformRequest | PlainMessage<QuickCheckAdSharingSocialPlatformRequest> | undefined, b: QuickCheckAdSharingSocialPlatformRequest | PlainMessage<QuickCheckAdSharingSocialPlatformRequest> | undefined): boolean;
211
+ }
212
+
213
+ /**
214
+ * @generated from message ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformResponse
215
+ */
216
+ export declare class QuickCheckAdSharingSocialPlatformResponse extends Message<QuickCheckAdSharingSocialPlatformResponse> {
217
+ /**
218
+ * @generated from field: bool qualified = 1;
219
+ */
220
+ qualified: boolean;
221
+
222
+ /**
223
+ * @generated from field: string message = 2;
224
+ */
225
+ message: string;
226
+
227
+ /**
228
+ * @generated from field: string sub_message = 3;
229
+ */
230
+ subMessage: string;
231
+
232
+ constructor(data?: PartialMessage<QuickCheckAdSharingSocialPlatformResponse>);
233
+
234
+ static readonly runtime: typeof proto3;
235
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformResponse";
236
+ static readonly fields: FieldList;
237
+
238
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QuickCheckAdSharingSocialPlatformResponse;
239
+
240
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QuickCheckAdSharingSocialPlatformResponse;
241
+
242
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QuickCheckAdSharingSocialPlatformResponse;
243
+
244
+ static equals(a: QuickCheckAdSharingSocialPlatformResponse | PlainMessage<QuickCheckAdSharingSocialPlatformResponse> | undefined, b: QuickCheckAdSharingSocialPlatformResponse | PlainMessage<QuickCheckAdSharingSocialPlatformResponse> | undefined): boolean;
245
+ }
246
+
247
+ /**
248
+ * @generated from message ct_logic_uni_rev_premium.v1.GenerateVideoForAdRequest
249
+ */
250
+ export declare class GenerateVideoForAdRequest extends Message<GenerateVideoForAdRequest> {
251
+ /**
252
+ * @generated from field: int64 account_id = 1;
253
+ */
254
+ accountId: bigint;
255
+
256
+ /**
257
+ * @generated from field: int64 ad_id = 2;
258
+ */
259
+ adId: bigint;
260
+
261
+ /**
262
+ * force retry, regardless of status of previous request
263
+ *
264
+ * @generated from field: bool force_retry = 3;
265
+ */
266
+ forceRetry: boolean;
267
+
268
+ constructor(data?: PartialMessage<GenerateVideoForAdRequest>);
269
+
270
+ static readonly runtime: typeof proto3;
271
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.GenerateVideoForAdRequest";
272
+ static readonly fields: FieldList;
273
+
274
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateVideoForAdRequest;
275
+
276
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateVideoForAdRequest;
277
+
278
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateVideoForAdRequest;
279
+
280
+ static equals(a: GenerateVideoForAdRequest | PlainMessage<GenerateVideoForAdRequest> | undefined, b: GenerateVideoForAdRequest | PlainMessage<GenerateVideoForAdRequest> | undefined): boolean;
281
+ }
282
+
283
+ /**
284
+ * @generated from message ct_logic_uni_rev_premium.v1.GenerateVideoForAdResponse
285
+ */
286
+ export declare class GenerateVideoForAdResponse extends Message<GenerateVideoForAdResponse> {
287
+ /**
288
+ * @generated from field: string request_id = 1;
289
+ */
290
+ requestId: string;
291
+
292
+ constructor(data?: PartialMessage<GenerateVideoForAdResponse>);
293
+
294
+ static readonly runtime: typeof proto3;
295
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.GenerateVideoForAdResponse";
296
+ static readonly fields: FieldList;
297
+
298
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateVideoForAdResponse;
299
+
300
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateVideoForAdResponse;
301
+
302
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateVideoForAdResponse;
303
+
304
+ static equals(a: GenerateVideoForAdResponse | PlainMessage<GenerateVideoForAdResponse> | undefined, b: GenerateVideoForAdResponse | PlainMessage<GenerateVideoForAdResponse> | undefined): boolean;
305
+ }
306
+
307
+ /**
308
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusRequest
309
+ */
310
+ export declare class GetVideoGenerationStatusRequest extends Message<GetVideoGenerationStatusRequest> {
311
+ /**
312
+ * @generated from field: int64 account_id = 1;
313
+ */
314
+ accountId: bigint;
315
+
316
+ /**
317
+ * @generated from field: string request_id = 2;
318
+ */
319
+ requestId: string;
320
+
321
+ constructor(data?: PartialMessage<GetVideoGenerationStatusRequest>);
322
+
323
+ static readonly runtime: typeof proto3;
324
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusRequest";
325
+ static readonly fields: FieldList;
326
+
327
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVideoGenerationStatusRequest;
328
+
329
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVideoGenerationStatusRequest;
330
+
331
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVideoGenerationStatusRequest;
332
+
333
+ static equals(a: GetVideoGenerationStatusRequest | PlainMessage<GetVideoGenerationStatusRequest> | undefined, b: GetVideoGenerationStatusRequest | PlainMessage<GetVideoGenerationStatusRequest> | undefined): boolean;
334
+ }
335
+
336
+ /**
337
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusResponse
338
+ */
339
+ export declare class GetVideoGenerationStatusResponse extends Message<GetVideoGenerationStatusResponse> {
340
+ /**
341
+ * @generated from field: string status = 1;
342
+ */
343
+ status: string;
344
+
345
+ /**
346
+ * @generated from field: int32 step = 2;
347
+ */
348
+ step: number;
349
+
350
+ /**
351
+ * @generated from field: int32 total_step = 3;
352
+ */
353
+ totalStep: number;
354
+
355
+ /**
356
+ * @generated from field: string step_description = 4;
357
+ */
358
+ stepDescription: string;
359
+
360
+ /**
361
+ * @generated from field: int32 remaining_seconds = 5;
362
+ */
363
+ remainingSeconds: number;
364
+
365
+ /**
366
+ * @generated from field: optional string streaming_video_url = 6;
367
+ */
368
+ streamingVideoUrl?: string;
369
+
370
+ /**
371
+ * @generated from field: optional string download_video_url = 7;
372
+ */
373
+ downloadVideoUrl?: string;
374
+
375
+ /**
376
+ * @generated from field: optional string thumbnail_video_url = 8;
377
+ */
378
+ thumbnailVideoUrl?: string;
379
+
380
+ /**
381
+ * @generated from field: optional string gif_video_url = 9;
382
+ */
383
+ gifVideoUrl?: string;
384
+
385
+ /**
386
+ * @generated from field: optional int64 byte_size = 10;
387
+ */
388
+ byteSize?: bigint;
389
+
390
+ constructor(data?: PartialMessage<GetVideoGenerationStatusResponse>);
391
+
392
+ static readonly runtime: typeof proto3;
393
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusResponse";
394
+ static readonly fields: FieldList;
395
+
396
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetVideoGenerationStatusResponse;
397
+
398
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetVideoGenerationStatusResponse;
399
+
400
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetVideoGenerationStatusResponse;
401
+
402
+ static equals(a: GetVideoGenerationStatusResponse | PlainMessage<GetVideoGenerationStatusResponse> | undefined, b: GetVideoGenerationStatusResponse | PlainMessage<GetVideoGenerationStatusResponse> | undefined): boolean;
403
+ }
404
+
405
+ /**
406
+ * Webhook for vendor to notify video generation status
407
+ *
408
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusRequest
409
+ */
410
+ export declare class UpdateVideoGenerationStatusRequest extends Message<UpdateVideoGenerationStatusRequest> {
411
+ /**
412
+ * @generated from field: string vendor_request_id = 1;
413
+ */
414
+ vendorRequestId: string;
415
+
416
+ /**
417
+ * @generated from field: string status = 2;
418
+ */
419
+ status: string;
420
+
421
+ /**
422
+ * @generated from field: string snapshot_url = 3;
423
+ */
424
+ snapshotUrl: string;
425
+
426
+ /**
427
+ * @generated from field: string video_url = 4;
428
+ */
429
+ videoUrl: string;
430
+
431
+ /**
432
+ * @generated from field: int64 file_byte_size = 5;
433
+ */
434
+ fileByteSize: bigint;
435
+
436
+ /**
437
+ * @generated from field: int64 duration_seconds = 6;
438
+ */
439
+ durationSeconds: bigint;
440
+
441
+ constructor(data?: PartialMessage<UpdateVideoGenerationStatusRequest>);
442
+
443
+ static readonly runtime: typeof proto3;
444
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusRequest";
445
+ static readonly fields: FieldList;
446
+
447
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateVideoGenerationStatusRequest;
448
+
449
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateVideoGenerationStatusRequest;
450
+
451
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateVideoGenerationStatusRequest;
452
+
453
+ static equals(a: UpdateVideoGenerationStatusRequest | PlainMessage<UpdateVideoGenerationStatusRequest> | undefined, b: UpdateVideoGenerationStatusRequest | PlainMessage<UpdateVideoGenerationStatusRequest> | undefined): boolean;
454
+ }
455
+
456
+ /**
457
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusResponse
458
+ */
459
+ export declare class UpdateVideoGenerationStatusResponse extends Message<UpdateVideoGenerationStatusResponse> {
460
+ constructor(data?: PartialMessage<UpdateVideoGenerationStatusResponse>);
461
+
462
+ static readonly runtime: typeof proto3;
463
+ static readonly typeName = "ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusResponse";
464
+ static readonly fields: FieldList;
465
+
466
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateVideoGenerationStatusResponse;
467
+
468
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateVideoGenerationStatusResponse;
469
+
470
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateVideoGenerationStatusResponse;
471
+
472
+ static equals(a: UpdateVideoGenerationStatusResponse | PlainMessage<UpdateVideoGenerationStatusResponse> | undefined, b: UpdateVideoGenerationStatusResponse | PlainMessage<UpdateVideoGenerationStatusResponse> | undefined): boolean;
473
+ }
474
+
@@ -0,0 +1,156 @@
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/ad_social_platform.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
5
+ /* eslint-disable */
6
+ // @ts-nocheck
7
+
8
+ import { proto3 } from "@bufbuild/protobuf";
9
+
10
+ /**
11
+ * @generated from message ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformRequest
12
+ */
13
+ export const CheckAdForSharingSocialPlatformRequest = proto3.makeMessageType(
14
+ "ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformRequest",
15
+ () => [
16
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
17
+ { no: 2, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
18
+ ],
19
+ );
20
+
21
+ /**
22
+ * @generated from message ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformResponse
23
+ */
24
+ export const CheckAdForSharingSocialPlatformResponse = proto3.makeMessageType(
25
+ "ct_logic_uni_rev_premium.v1.CheckAdForSharingSocialPlatformResponse",
26
+ () => [
27
+ { no: 1, name: "qualified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
28
+ { no: 2, name: "ad_title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
+ { no: 3, name: "ad_content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
30
+ { no: 4, name: "ad_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
31
+ { no: 5, name: "ad_images", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
32
+ { no: 6, name: "ad_video_streaming_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
33
+ { no: 7, name: "ad_video_download_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
34
+ { no: 8, name: "ad_video_thumbnail_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
35
+ { no: 9, name: "ad_video_gif_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
36
+ { no: 10, name: "ad_video_byte_size", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
37
+ { no: 11, name: "video_status", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
38
+ { no: 12, name: "ai_video_streaming_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
39
+ { no: 13, name: "ai_video_download_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
40
+ { no: 14, name: "ai_video_thumbnail_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
41
+ { no: 15, name: "ai_video_gif_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
42
+ { no: 16, name: "ai_video_byte_size", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
43
+ { no: 17, name: "step", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
44
+ { no: 18, name: "total_step", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
45
+ { no: 19, name: "step_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
+ { no: 20, name: "remaining_seconds", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
47
+ { no: 21, name: "reason_code", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
48
+ { no: 22, name: "reason_text", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
49
+ ],
50
+ );
51
+
52
+ /**
53
+ * this will be forwared to ct-core-uni-listing-tier,
54
+ * to support Billing Result screen, when core-ad-social-platform might not
55
+ * have that ad ( due to delay in sync)
56
+ * hence, this only return true/false
57
+ *
58
+ * @generated from message ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformRequest
59
+ */
60
+ export const QuickCheckAdSharingSocialPlatformRequest = proto3.makeMessageType(
61
+ "ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformRequest",
62
+ () => [
63
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
64
+ { no: 2, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from message ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformResponse
70
+ */
71
+ export const QuickCheckAdSharingSocialPlatformResponse = proto3.makeMessageType(
72
+ "ct_logic_uni_rev_premium.v1.QuickCheckAdSharingSocialPlatformResponse",
73
+ () => [
74
+ { no: 1, name: "qualified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
75
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
76
+ { no: 3, name: "sub_message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
77
+ ],
78
+ );
79
+
80
+ /**
81
+ * @generated from message ct_logic_uni_rev_premium.v1.GenerateVideoForAdRequest
82
+ */
83
+ export const GenerateVideoForAdRequest = proto3.makeMessageType(
84
+ "ct_logic_uni_rev_premium.v1.GenerateVideoForAdRequest",
85
+ () => [
86
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
87
+ { no: 2, name: "ad_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
88
+ { no: 3, name: "force_retry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
89
+ ],
90
+ );
91
+
92
+ /**
93
+ * @generated from message ct_logic_uni_rev_premium.v1.GenerateVideoForAdResponse
94
+ */
95
+ export const GenerateVideoForAdResponse = proto3.makeMessageType(
96
+ "ct_logic_uni_rev_premium.v1.GenerateVideoForAdResponse",
97
+ () => [
98
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
99
+ ],
100
+ );
101
+
102
+ /**
103
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusRequest
104
+ */
105
+ export const GetVideoGenerationStatusRequest = proto3.makeMessageType(
106
+ "ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusRequest",
107
+ () => [
108
+ { no: 1, name: "account_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
109
+ { no: 2, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
110
+ ],
111
+ );
112
+
113
+ /**
114
+ * @generated from message ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusResponse
115
+ */
116
+ export const GetVideoGenerationStatusResponse = proto3.makeMessageType(
117
+ "ct_logic_uni_rev_premium.v1.GetVideoGenerationStatusResponse",
118
+ () => [
119
+ { no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
120
+ { no: 2, name: "step", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
121
+ { no: 3, name: "total_step", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
122
+ { no: 4, name: "step_description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
123
+ { no: 5, name: "remaining_seconds", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
124
+ { no: 6, name: "streaming_video_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
125
+ { no: 7, name: "download_video_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
126
+ { no: 8, name: "thumbnail_video_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
127
+ { no: 9, name: "gif_video_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
128
+ { no: 10, name: "byte_size", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true },
129
+ ],
130
+ );
131
+
132
+ /**
133
+ * Webhook for vendor to notify video generation status
134
+ *
135
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusRequest
136
+ */
137
+ export const UpdateVideoGenerationStatusRequest = proto3.makeMessageType(
138
+ "ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusRequest",
139
+ () => [
140
+ { no: 1, name: "vendor_request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
+ { no: 3, name: "snapshot_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
143
+ { no: 4, name: "video_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
144
+ { no: 5, name: "file_byte_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
145
+ { no: 6, name: "duration_seconds", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
146
+ ],
147
+ );
148
+
149
+ /**
150
+ * @generated from message ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusResponse
151
+ */
152
+ export const UpdateVideoGenerationStatusResponse = proto3.makeMessageType(
153
+ "ct_logic_uni_rev_premium.v1.UpdateVideoGenerationStatusResponse",
154
+ [],
155
+ );
156
+