@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,68 @@
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_social_platform_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CheckAdForSharingSocialPlatformRequest, CheckAdForSharingSocialPlatformResponse, GenerateVideoForAdRequest, GenerateVideoForAdResponse, GetVideoGenerationStatusRequest, GetVideoGenerationStatusResponse, QuickCheckAdSharingSocialPlatformRequest, QuickCheckAdSharingSocialPlatformResponse, UpdateVideoGenerationStatusRequest, UpdateVideoGenerationStatusResponse } from "./ad_social_platform_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.LogicUniRevPremiumAdSocialPlatformService
12
+ */
13
+ export declare const LogicUniRevPremiumAdSocialPlatformService: {
14
+ readonly typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService",
15
+ readonly methods: {
16
+ /**
17
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.CheckAdForSharingSocialPlatform
18
+ */
19
+ readonly checkAdForSharingSocialPlatform: {
20
+ readonly name: "CheckAdForSharingSocialPlatform",
21
+ readonly I: typeof CheckAdForSharingSocialPlatformRequest,
22
+ readonly O: typeof CheckAdForSharingSocialPlatformResponse,
23
+ readonly kind: MethodKind.Unary,
24
+ },
25
+ /**
26
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.QuickCheckAdSharingSocialPlatform
27
+ */
28
+ readonly quickCheckAdSharingSocialPlatform: {
29
+ readonly name: "QuickCheckAdSharingSocialPlatform",
30
+ readonly I: typeof QuickCheckAdSharingSocialPlatformRequest,
31
+ readonly O: typeof QuickCheckAdSharingSocialPlatformResponse,
32
+ readonly kind: MethodKind.Unary,
33
+ },
34
+ /**
35
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GenerateVideoForAd
36
+ */
37
+ readonly generateVideoForAd: {
38
+ readonly name: "GenerateVideoForAd",
39
+ readonly I: typeof GenerateVideoForAdRequest,
40
+ readonly O: typeof GenerateVideoForAdResponse,
41
+ readonly kind: MethodKind.Unary,
42
+ },
43
+ /**
44
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GetVideoGenerationStatus
45
+ */
46
+ readonly getVideoGenerationStatus: {
47
+ readonly name: "GetVideoGenerationStatus",
48
+ readonly I: typeof GetVideoGenerationStatusRequest,
49
+ readonly O: typeof GetVideoGenerationStatusResponse,
50
+ readonly kind: MethodKind.Unary,
51
+ },
52
+ /**
53
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.UpdateVideoGenerationStatus
54
+ */
55
+ readonly updateVideoGenerationStatus: {
56
+ readonly name: "UpdateVideoGenerationStatus",
57
+ readonly I: typeof UpdateVideoGenerationStatusRequest,
58
+ readonly O: typeof UpdateVideoGenerationStatusResponse,
59
+ readonly kind: MethodKind.Unary,
60
+ },
61
+ }
62
+ };
63
+
64
+ export const checkAdForSharingSocialPlatform: UnaryHooks<CheckAdForSharingSocialPlatformRequest, CheckAdForSharingSocialPlatformResponse>;
65
+ export const quickCheckAdSharingSocialPlatform: UnaryHooks<QuickCheckAdSharingSocialPlatformRequest, QuickCheckAdSharingSocialPlatformResponse>;
66
+ export const generateVideoForAd: UnaryHooks<GenerateVideoForAdRequest, GenerateVideoForAdResponse>;
67
+ export const getVideoGenerationStatus: UnaryHooks<GetVideoGenerationStatusRequest, GetVideoGenerationStatusResponse>;
68
+ export const updateVideoGenerationStatus: UnaryHooks<UpdateVideoGenerationStatusRequest, UpdateVideoGenerationStatusResponse>;
@@ -0,0 +1,99 @@
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_social_platform_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CheckAdForSharingSocialPlatformRequest, CheckAdForSharingSocialPlatformResponse, GenerateVideoForAdRequest, GenerateVideoForAdResponse, GetVideoGenerationStatusRequest, GetVideoGenerationStatusResponse, QuickCheckAdSharingSocialPlatformRequest, QuickCheckAdSharingSocialPlatformResponse, UpdateVideoGenerationStatusRequest, UpdateVideoGenerationStatusResponse } from "./ad_social_platform_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.LogicUniRevPremiumAdSocialPlatformService";
11
+
12
+ /**
13
+ * @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService
14
+ */
15
+ export const LogicUniRevPremiumAdSocialPlatformService = {
16
+ typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService",
17
+ methods: {
18
+ /**
19
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.CheckAdForSharingSocialPlatform
20
+ */
21
+ checkAdForSharingSocialPlatform: {
22
+ name: "CheckAdForSharingSocialPlatform",
23
+ I: CheckAdForSharingSocialPlatformRequest,
24
+ O: CheckAdForSharingSocialPlatformResponse,
25
+ kind: MethodKind.Unary,
26
+ },
27
+ /**
28
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.QuickCheckAdSharingSocialPlatform
29
+ */
30
+ quickCheckAdSharingSocialPlatform: {
31
+ name: "QuickCheckAdSharingSocialPlatform",
32
+ I: QuickCheckAdSharingSocialPlatformRequest,
33
+ O: QuickCheckAdSharingSocialPlatformResponse,
34
+ kind: MethodKind.Unary,
35
+ },
36
+ /**
37
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GenerateVideoForAd
38
+ */
39
+ generateVideoForAd: {
40
+ name: "GenerateVideoForAd",
41
+ I: GenerateVideoForAdRequest,
42
+ O: GenerateVideoForAdResponse,
43
+ kind: MethodKind.Unary,
44
+ },
45
+ /**
46
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GetVideoGenerationStatus
47
+ */
48
+ getVideoGenerationStatus: {
49
+ name: "GetVideoGenerationStatus",
50
+ I: GetVideoGenerationStatusRequest,
51
+ O: GetVideoGenerationStatusResponse,
52
+ kind: MethodKind.Unary,
53
+ },
54
+ /**
55
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.UpdateVideoGenerationStatus
56
+ */
57
+ updateVideoGenerationStatus: {
58
+ name: "UpdateVideoGenerationStatus",
59
+ I: UpdateVideoGenerationStatusRequest,
60
+ O: UpdateVideoGenerationStatusResponse,
61
+ kind: MethodKind.Unary,
62
+ },
63
+ }
64
+ }
65
+
66
+ /**
67
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.CheckAdForSharingSocialPlatform
68
+ */
69
+ export const checkAdForSharingSocialPlatform = createQueryService({
70
+ service: LogicUniRevPremiumAdSocialPlatformService,
71
+ }).checkAdForSharingSocialPlatform;
72
+
73
+ /**
74
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.QuickCheckAdSharingSocialPlatform
75
+ */
76
+ export const quickCheckAdSharingSocialPlatform = createQueryService({
77
+ service: LogicUniRevPremiumAdSocialPlatformService,
78
+ }).quickCheckAdSharingSocialPlatform;
79
+
80
+ /**
81
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GenerateVideoForAd
82
+ */
83
+ export const generateVideoForAd = createQueryService({
84
+ service: LogicUniRevPremiumAdSocialPlatformService,
85
+ }).generateVideoForAd;
86
+
87
+ /**
88
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GetVideoGenerationStatus
89
+ */
90
+ export const getVideoGenerationStatus = createQueryService({
91
+ service: LogicUniRevPremiumAdSocialPlatformService,
92
+ }).getVideoGenerationStatus;
93
+
94
+ /**
95
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.UpdateVideoGenerationStatus
96
+ */
97
+ export const updateVideoGenerationStatus = createQueryService({
98
+ service: LogicUniRevPremiumAdSocialPlatformService,
99
+ }).updateVideoGenerationStatus;
@@ -0,0 +1,23 @@
1
+ syntax = "proto3";
2
+ package ct_logic_uni_rev_premium.v1;
3
+
4
+ import "ct-logic-uni-rev-premium/v1/ad_social_platform.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 LogicUniRevPremiumAdSocialPlatformService {
11
+ rpc CheckAdForSharingSocialPlatform(CheckAdForSharingSocialPlatformRequest) returns (CheckAdForSharingSocialPlatformResponse) {}
12
+ rpc QuickCheckAdSharingSocialPlatform(QuickCheckAdSharingSocialPlatformRequest) returns (QuickCheckAdSharingSocialPlatformResponse) {}
13
+
14
+ rpc GenerateVideoForAd(GenerateVideoForAdRequest) returns (GenerateVideoForAdResponse) {
15
+ option (google.api.http) = {
16
+ post: "/ad_social/generate_video"
17
+ body: "*"
18
+ };
19
+ }
20
+
21
+ rpc GetVideoGenerationStatus(GetVideoGenerationStatusRequest) returns (GetVideoGenerationStatusResponse) {}
22
+ rpc UpdateVideoGenerationStatus(UpdateVideoGenerationStatusRequest) returns (UpdateVideoGenerationStatusResponse) {}
23
+ }
@@ -0,0 +1,62 @@
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_social_platform_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CheckAdForSharingSocialPlatformRequest, CheckAdForSharingSocialPlatformResponse, GenerateVideoForAdRequest, GenerateVideoForAdResponse, GetVideoGenerationStatusRequest, GetVideoGenerationStatusResponse, QuickCheckAdSharingSocialPlatformRequest, QuickCheckAdSharingSocialPlatformResponse, UpdateVideoGenerationStatusRequest, UpdateVideoGenerationStatusResponse } from "./ad_social_platform_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService
11
+ */
12
+ export declare const LogicUniRevPremiumAdSocialPlatformService: {
13
+ readonly typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.CheckAdForSharingSocialPlatform
17
+ */
18
+ readonly checkAdForSharingSocialPlatform: {
19
+ readonly name: "CheckAdForSharingSocialPlatform",
20
+ readonly I: typeof CheckAdForSharingSocialPlatformRequest,
21
+ readonly O: typeof CheckAdForSharingSocialPlatformResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.QuickCheckAdSharingSocialPlatform
26
+ */
27
+ readonly quickCheckAdSharingSocialPlatform: {
28
+ readonly name: "QuickCheckAdSharingSocialPlatform",
29
+ readonly I: typeof QuickCheckAdSharingSocialPlatformRequest,
30
+ readonly O: typeof QuickCheckAdSharingSocialPlatformResponse,
31
+ readonly kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GenerateVideoForAd
35
+ */
36
+ readonly generateVideoForAd: {
37
+ readonly name: "GenerateVideoForAd",
38
+ readonly I: typeof GenerateVideoForAdRequest,
39
+ readonly O: typeof GenerateVideoForAdResponse,
40
+ readonly kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GetVideoGenerationStatus
44
+ */
45
+ readonly getVideoGenerationStatus: {
46
+ readonly name: "GetVideoGenerationStatus",
47
+ readonly I: typeof GetVideoGenerationStatusRequest,
48
+ readonly O: typeof GetVideoGenerationStatusResponse,
49
+ readonly kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.UpdateVideoGenerationStatus
53
+ */
54
+ readonly updateVideoGenerationStatus: {
55
+ readonly name: "UpdateVideoGenerationStatus",
56
+ readonly I: typeof UpdateVideoGenerationStatusRequest,
57
+ readonly O: typeof UpdateVideoGenerationStatusResponse,
58
+ readonly kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+
@@ -0,0 +1,62 @@
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_social_platform_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CheckAdForSharingSocialPlatformRequest, CheckAdForSharingSocialPlatformResponse, GenerateVideoForAdRequest, GenerateVideoForAdResponse, GetVideoGenerationStatusRequest, GetVideoGenerationStatusResponse, QuickCheckAdSharingSocialPlatformRequest, QuickCheckAdSharingSocialPlatformResponse, UpdateVideoGenerationStatusRequest, UpdateVideoGenerationStatusResponse } from "./ad_social_platform_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService
11
+ */
12
+ export const LogicUniRevPremiumAdSocialPlatformService = {
13
+ typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.CheckAdForSharingSocialPlatform
17
+ */
18
+ checkAdForSharingSocialPlatform: {
19
+ name: "CheckAdForSharingSocialPlatform",
20
+ I: CheckAdForSharingSocialPlatformRequest,
21
+ O: CheckAdForSharingSocialPlatformResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.QuickCheckAdSharingSocialPlatform
26
+ */
27
+ quickCheckAdSharingSocialPlatform: {
28
+ name: "QuickCheckAdSharingSocialPlatform",
29
+ I: QuickCheckAdSharingSocialPlatformRequest,
30
+ O: QuickCheckAdSharingSocialPlatformResponse,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GenerateVideoForAd
35
+ */
36
+ generateVideoForAd: {
37
+ name: "GenerateVideoForAd",
38
+ I: GenerateVideoForAdRequest,
39
+ O: GenerateVideoForAdResponse,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.GetVideoGenerationStatus
44
+ */
45
+ getVideoGenerationStatus: {
46
+ name: "GetVideoGenerationStatus",
47
+ I: GetVideoGenerationStatusRequest,
48
+ O: GetVideoGenerationStatusResponse,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdSocialPlatformService.UpdateVideoGenerationStatus
53
+ */
54
+ updateVideoGenerationStatus: {
55
+ name: "UpdateVideoGenerationStatus",
56
+ I: UpdateVideoGenerationStatusRequest,
57
+ O: UpdateVideoGenerationStatusResponse,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+
package/bump_ad.proto ADDED
@@ -0,0 +1,162 @@
1
+ // general
2
+ syntax = "proto3";
3
+ package ct_logic_uni_rev_premium.v1;
4
+
5
+ import "google/protobuf/timestamp.proto";
6
+ import "validate/validate.proto";
7
+
8
+ // language specs
9
+ option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-premium;pb";
10
+
11
+
12
+ message CheckAdInBumpQueueRequest {
13
+ int64 ad_id = 1 [(validate.rules).int64.gte = 0];
14
+ }
15
+
16
+ message CheckAdInBumpQueueResponse {
17
+ bool is_in_bump = 1;
18
+ }
19
+
20
+ message GetServicesInfoRequest {
21
+ repeated int64 service_ids = 1 [(validate.rules).repeated.min_items = 1];
22
+ }
23
+
24
+ message GetServicesInfoResponse {
25
+ repeated ServiceInfo service_infos = 1;
26
+ }
27
+
28
+ message ServiceInfo {
29
+ int64 ad_id = 1;
30
+ string type = 2;
31
+ google.protobuf.Timestamp schedule_bump_time = 3;
32
+ google.protobuf.Timestamp expected_bump_time = 4;
33
+ google.protobuf.Timestamp bump_time = 5;
34
+ string status = 6;
35
+ int64 account_id = 7;
36
+ int64 service_id = 8;
37
+ }
38
+
39
+ message DeliverySubscriptionBumpRequest {
40
+ int64 ad_id = 1 [(validate.rules).int64.gte = 0];
41
+ int64 service_id = 2 [(validate.rules).int64.gte = 0];
42
+ int64 account_id = 3 [(validate.rules).int64.gte = 0];
43
+ google.protobuf.Timestamp start_time = 4;
44
+ int64 duration = 5 [(validate.rules).int64.gte = 0];
45
+ }
46
+
47
+ message DeliverySubscriptionBumpResponse {
48
+ ScheduleBump data = 1;
49
+ }
50
+
51
+ message DeliveryIntensiveBumpRequest {
52
+ int64 ad_id = 1 [(validate.rules).int64.gte = 0];
53
+ int64 service_id = 2 [(validate.rules).int64.gte = 0];
54
+ int64 account_id = 3 [(validate.rules).int64.gte = 0];
55
+ google.protobuf.Timestamp start_time = 4;
56
+ int64 duration = 5 [(validate.rules).int64.gte = 0];
57
+ }
58
+
59
+ message DeliveryIntensiveBumpResponse {
60
+ ScheduleBump data = 1;
61
+ }
62
+
63
+ message CancelServiceRequest {
64
+ int64 service_id = 1 [(validate.rules).int64.gte = 0];
65
+ }
66
+
67
+ message CancelServiceResponse {}
68
+
69
+ message ScheduleBump {
70
+ int64 id = 1;
71
+ int64 ad_id = 2;
72
+ int64 account_id = 3;
73
+ google.protobuf.Timestamp start_time = 4;
74
+ google.protobuf.Timestamp end_time = 5;
75
+ string type = 6;
76
+ int64 service_id = 7;
77
+ string status = 8;
78
+ }
79
+
80
+ message GetPendingBumpsRequest {
81
+ int64 limit = 1;
82
+ int64 offset = 2;
83
+ }
84
+
85
+ message GetPendingBumpsResponse {
86
+ repeated ScheduleBump schedule_bumps = 1;
87
+ }
88
+
89
+ message GetScheduleBumpLogsRequest {
90
+ int64 schedule_bump_id = 1 [(validate.rules).int64.gte = 0];
91
+ int64 limit = 2;
92
+ int64 offset = 3;
93
+ }
94
+
95
+ message GetScheduleBumpLogsResponse {
96
+ repeated ScheduleBumpLog schedule_bump_logs = 1;
97
+ int64 total = 2;
98
+ int64 total_success = 3;
99
+ int64 total_pending = 4;
100
+ int64 total_failed = 5;
101
+ }
102
+
103
+ message ScheduleBumpLog {
104
+ int64 schedule_bump_log_id = 1;
105
+ int64 schedule_bump_id = 2;
106
+ google.protobuf.Timestamp schedule_bump_time = 3;
107
+ google.protobuf.Timestamp expected_bump_time = 4;
108
+ google.protobuf.Timestamp bump_time = 5;
109
+ string status = 6;
110
+ }
111
+
112
+ message ForceScheduleBumpFailedRequest {
113
+ int64 schedule_bump_id = 1 [(validate.rules).int64.gte = 0];
114
+ }
115
+
116
+ message ForceScheduleBumpFailedResponse {}
117
+
118
+ message DeliveryAutoBumpRequest {
119
+ int64 ad_id = 1 [(validate.rules).int64.gte = 0];
120
+ int64 service_id = 2 [(validate.rules).int64.gte = 0];
121
+ int64 account_id = 3 [(validate.rules).int64.gte = 0];
122
+ google.protobuf.Timestamp start_time = 4;
123
+ int64 quantity = 5 [(validate.rules).int64.gte = 0];
124
+ string service_type = 6;
125
+ string rule_code = 7;
126
+ }
127
+
128
+ message DeliveryAutoBumpResponse {
129
+ ScheduleBump data = 1;
130
+ }
131
+
132
+
133
+
134
+ message GetAutoBumpRuleByFilterRequest {
135
+ AutoBumpFilter filter = 1;
136
+ }
137
+
138
+ message AutoBumpFilter {
139
+ int64 id = 1;
140
+ string rule_code = 2;
141
+ int64 filter_category_id = 3;
142
+ }
143
+
144
+ message GetAutoBumpRuleByFilterResponse {
145
+ repeated AutoBumpRule data = 1;
146
+ }
147
+
148
+ message AutoBumpRule {
149
+ int64 id = 1;
150
+ string rule_code = 2;
151
+ string rule_name = 3;
152
+ //rules
153
+ string repeat_mode = 4 [(validate.rules).string = {in: ["days_of_week", "interval"]}];
154
+ repeated int64 repeat_days = 5;
155
+ int64 interval_day = 6;
156
+ string block_times = 7;
157
+ int64 page_position = 8;
158
+ int64 filter_category_id = 9; // define which category this rule is applicable
159
+ string status = 10 [(validate.rules).string = {in: ["active", "inactive"]}];
160
+ google.protobuf.Timestamp created_at = 11;
161
+ google.protobuf.Timestamp updated_at = 12;
162
+ }