@chotot/ct-logic-uni-rev-premium-v1 1.286.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad.proto +89 -0
- package/ad_delivery.proto +232 -0
- package/ad_delivery_pb.d.ts +1285 -0
- package/ad_delivery_pb.js +439 -0
- package/ad_delivery_service-LogicUniRevPremiumAdDeliveryService_connectquery.d.ts +138 -0
- package/ad_delivery_service-LogicUniRevPremiumAdDeliveryService_connectquery.js +211 -0
- package/ad_delivery_service.proto +65 -0
- package/ad_delivery_service_connect.d.ts +125 -0
- package/ad_delivery_service_connect.js +125 -0
- package/ad_optimization.proto +111 -0
- package/ad_optimization_pb.d.ts +601 -0
- package/ad_optimization_pb.js +214 -0
- package/ad_optimization_service-LogicUniRevPremiumAdOptimizationService_connectquery.d.ts +78 -0
- package/ad_optimization_service-LogicUniRevPremiumAdOptimizationService_connectquery.js +115 -0
- package/ad_optimization_service.proto +21 -0
- package/ad_optimization_service_connect.d.ts +71 -0
- package/ad_optimization_service_connect.js +71 -0
- package/ad_pb.d.ts +461 -0
- package/ad_pb.js +172 -0
- package/ad_service-LogicUniRevPremiumAdService_connectquery.d.ts +58 -0
- package/ad_service-LogicUniRevPremiumAdService_connectquery.js +83 -0
- package/ad_service.proto +15 -0
- package/ad_service_connect.d.ts +53 -0
- package/ad_service_connect.js +53 -0
- package/ad_social_platform.proto +108 -0
- package/ad_social_platform_pb.d.ts +474 -0
- package/ad_social_platform_pb.js +156 -0
- package/ad_social_platform_service-LogicUniRevPremiumAdSocialPlatformService_connectquery.d.ts +68 -0
- package/ad_social_platform_service-LogicUniRevPremiumAdSocialPlatformService_connectquery.js +99 -0
- package/ad_social_platform_service.proto +23 -0
- package/ad_social_platform_service_connect.d.ts +62 -0
- package/ad_social_platform_service_connect.js +62 -0
- package/bump_ad.proto +162 -0
- package/bump_ad_pb.d.ts +869 -0
- package/bump_ad_pb.js +308 -0
- package/bump_ad_service-LogicUniRevPremiumBumpAdService_connectquery.d.ts +123 -0
- package/bump_ad_service-LogicUniRevPremiumBumpAdService_connectquery.js +189 -0
- package/bump_ad_service.proto +56 -0
- package/bump_ad_service_connect.d.ts +112 -0
- package/bump_ad_service_connect.js +112 -0
- package/free_ps.proto +527 -0
- package/free_ps_pb.d.ts +2848 -0
- package/free_ps_pb.js +934 -0
- package/free_ps_service-LogicUniRevPremiumFreePsService_connectquery.d.ts +304 -0
- package/free_ps_service-LogicUniRevPremiumFreePsService_connectquery.js +483 -0
- package/free_ps_service.proto +62 -0
- package/free_ps_service_connect.d.ts +276 -0
- package/free_ps_service_connect.js +276 -0
- package/listing_tier.proto +228 -0
- package/listing_tier_pb.d.ts +1032 -0
- package/listing_tier_pb.js +365 -0
- package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.d.ts +108 -0
- package/listing_tier_service-LogicUniRevPremiumListingTierService_connectquery.js +163 -0
- package/listing_tier_service.proto +19 -0
- package/listing_tier_service_connect.d.ts +98 -0
- package/listing_tier_service_connect.js +98 -0
- package/onbehalf.proto +91 -0
- package/onbehalf_pb.d.ts +411 -0
- package/onbehalf_pb.js +138 -0
- package/onbehalf_service-LogicUniRevPremiumOnbehalfService_connectquery.d.ts +28 -0
- package/onbehalf_service-LogicUniRevPremiumOnbehalfService_connectquery.js +35 -0
- package/onbehalf_service.proto +11 -0
- package/onbehalf_service_connect.d.ts +26 -0
- package/onbehalf_service_connect.js +26 -0
- package/package.json +10 -0
- package/premium_services.proto +1005 -0
- package/premium_services_pb.d.ts +5465 -0
- package/premium_services_pb.js +1840 -0
- package/premium_services_service-LogicUniRevPremiumPremiumServicesService_connectquery.d.ts +496 -0
- package/premium_services_service-LogicUniRevPremiumPremiumServicesService_connectquery.js +787 -0
- package/premium_services_service.proto +132 -0
- package/premium_services_service_connect.d.ts +448 -0
- package/premium_services_service_connect.js +448 -0
- package/pricing.proto +722 -0
- package/pricing_pb.d.ts +3949 -0
- package/pricing_pb.js +1372 -0
- package/pricing_service-LogicUniRevPremiumPricingService_connectquery.d.ts +411 -0
- package/pricing_service-LogicUniRevPremiumPricingService_connectquery.js +653 -0
- package/pricing_service.proto +63 -0
- package/pricing_service_connect.d.ts +372 -0
- package/pricing_service_connect.js +372 -0
- package/scripts/modify_package_json.js +50 -0
- package/special_display.proto +56 -0
- package/special_display_pb.d.ts +322 -0
- package/special_display_pb.js +113 -0
- package/special_display_service-LogicUniRevPremiumSpecialDisplayService_connectquery.d.ts +58 -0
- package/special_display_service-LogicUniRevPremiumSpecialDisplayService_connectquery.js +83 -0
- package/special_display_service.proto +24 -0
- package/special_display_service_connect.d.ts +53 -0
- package/special_display_service_connect.js +53 -0
- package/sticky_adinfo.proto +312 -0
- package/sticky_adinfo_pb.d.ts +1463 -0
- package/sticky_adinfo_pb.js +328 -0
|
@@ -0,0 +1,83 @@
|
|
|
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_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CheckConditionRequest, CheckConditionResponse, ExtendFreeAdRequest, ExtendFreeAdResponse, ProcessCartServicesBeforeCheckoutRequest, ProcessCartServicesBeforeCheckoutResponse, ValidateCartOfAdServiceRequest, ValidateCartOfAdServiceResponse } from "./ad_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.LogicUniRevPremiumAdService";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService
|
|
14
|
+
*/
|
|
15
|
+
export const LogicUniRevPremiumAdService = {
|
|
16
|
+
typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService",
|
|
17
|
+
methods: {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ValidateCartOfAdService
|
|
20
|
+
*/
|
|
21
|
+
validateCartOfAdService: {
|
|
22
|
+
name: "ValidateCartOfAdService",
|
|
23
|
+
I: ValidateCartOfAdServiceRequest,
|
|
24
|
+
O: ValidateCartOfAdServiceResponse,
|
|
25
|
+
kind: MethodKind.Unary,
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ProcessCartServicesBeforeCheckout
|
|
29
|
+
*/
|
|
30
|
+
processCartServicesBeforeCheckout: {
|
|
31
|
+
name: "ProcessCartServicesBeforeCheckout",
|
|
32
|
+
I: ProcessCartServicesBeforeCheckoutRequest,
|
|
33
|
+
O: ProcessCartServicesBeforeCheckoutResponse,
|
|
34
|
+
kind: MethodKind.Unary,
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.CheckCondition
|
|
38
|
+
*/
|
|
39
|
+
checkCondition: {
|
|
40
|
+
name: "CheckCondition",
|
|
41
|
+
I: CheckConditionRequest,
|
|
42
|
+
O: CheckConditionResponse,
|
|
43
|
+
kind: MethodKind.Unary,
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ExtendFreeAd
|
|
47
|
+
*/
|
|
48
|
+
extendFreeAd: {
|
|
49
|
+
name: "ExtendFreeAd",
|
|
50
|
+
I: ExtendFreeAdRequest,
|
|
51
|
+
O: ExtendFreeAdResponse,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ValidateCartOfAdService
|
|
59
|
+
*/
|
|
60
|
+
export const validateCartOfAdService = createQueryService({
|
|
61
|
+
service: LogicUniRevPremiumAdService,
|
|
62
|
+
}).validateCartOfAdService;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ProcessCartServicesBeforeCheckout
|
|
66
|
+
*/
|
|
67
|
+
export const processCartServicesBeforeCheckout = createQueryService({
|
|
68
|
+
service: LogicUniRevPremiumAdService,
|
|
69
|
+
}).processCartServicesBeforeCheckout;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.CheckCondition
|
|
73
|
+
*/
|
|
74
|
+
export const checkCondition = createQueryService({
|
|
75
|
+
service: LogicUniRevPremiumAdService,
|
|
76
|
+
}).checkCondition;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ExtendFreeAd
|
|
80
|
+
*/
|
|
81
|
+
export const extendFreeAd = createQueryService({
|
|
82
|
+
service: LogicUniRevPremiumAdService,
|
|
83
|
+
}).extendFreeAd;
|
package/ad_service.proto
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package ct_logic_uni_rev_premium.v1;
|
|
3
|
+
|
|
4
|
+
import "ct-logic-uni-rev-premium/v1/ad.proto";
|
|
5
|
+
|
|
6
|
+
// language specs
|
|
7
|
+
option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-premium;pb";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
service LogicUniRevPremiumAdService {
|
|
11
|
+
rpc ValidateCartOfAdService(ValidateCartOfAdServiceRequest) returns (ValidateCartOfAdServiceResponse) {}
|
|
12
|
+
rpc ProcessCartServicesBeforeCheckout(ProcessCartServicesBeforeCheckoutRequest) returns (ProcessCartServicesBeforeCheckoutResponse) {}
|
|
13
|
+
rpc CheckCondition(CheckConditionRequest) returns (CheckConditionResponse) {}
|
|
14
|
+
rpc ExtendFreeAd(ExtendFreeAdRequest) returns (ExtendFreeAdResponse) {}
|
|
15
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CheckConditionRequest, CheckConditionResponse, ExtendFreeAdRequest, ExtendFreeAdResponse, ProcessCartServicesBeforeCheckoutRequest, ProcessCartServicesBeforeCheckoutResponse, ValidateCartOfAdServiceRequest, ValidateCartOfAdServiceResponse } from "./ad_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService
|
|
11
|
+
*/
|
|
12
|
+
export declare const LogicUniRevPremiumAdService: {
|
|
13
|
+
readonly typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ValidateCartOfAdService
|
|
17
|
+
*/
|
|
18
|
+
readonly validateCartOfAdService: {
|
|
19
|
+
readonly name: "ValidateCartOfAdService",
|
|
20
|
+
readonly I: typeof ValidateCartOfAdServiceRequest,
|
|
21
|
+
readonly O: typeof ValidateCartOfAdServiceResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ProcessCartServicesBeforeCheckout
|
|
26
|
+
*/
|
|
27
|
+
readonly processCartServicesBeforeCheckout: {
|
|
28
|
+
readonly name: "ProcessCartServicesBeforeCheckout",
|
|
29
|
+
readonly I: typeof ProcessCartServicesBeforeCheckoutRequest,
|
|
30
|
+
readonly O: typeof ProcessCartServicesBeforeCheckoutResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.CheckCondition
|
|
35
|
+
*/
|
|
36
|
+
readonly checkCondition: {
|
|
37
|
+
readonly name: "CheckCondition",
|
|
38
|
+
readonly I: typeof CheckConditionRequest,
|
|
39
|
+
readonly O: typeof CheckConditionResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ExtendFreeAd
|
|
44
|
+
*/
|
|
45
|
+
readonly extendFreeAd: {
|
|
46
|
+
readonly name: "ExtendFreeAd",
|
|
47
|
+
readonly I: typeof ExtendFreeAdRequest,
|
|
48
|
+
readonly O: typeof ExtendFreeAdResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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_service.proto (package ct_logic_uni_rev_premium.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { CheckConditionRequest, CheckConditionResponse, ExtendFreeAdRequest, ExtendFreeAdResponse, ProcessCartServicesBeforeCheckoutRequest, ProcessCartServicesBeforeCheckoutResponse, ValidateCartOfAdServiceRequest, ValidateCartOfAdServiceResponse } from "./ad_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService
|
|
11
|
+
*/
|
|
12
|
+
export const LogicUniRevPremiumAdService = {
|
|
13
|
+
typeName: "ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ValidateCartOfAdService
|
|
17
|
+
*/
|
|
18
|
+
validateCartOfAdService: {
|
|
19
|
+
name: "ValidateCartOfAdService",
|
|
20
|
+
I: ValidateCartOfAdServiceRequest,
|
|
21
|
+
O: ValidateCartOfAdServiceResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ProcessCartServicesBeforeCheckout
|
|
26
|
+
*/
|
|
27
|
+
processCartServicesBeforeCheckout: {
|
|
28
|
+
name: "ProcessCartServicesBeforeCheckout",
|
|
29
|
+
I: ProcessCartServicesBeforeCheckoutRequest,
|
|
30
|
+
O: ProcessCartServicesBeforeCheckoutResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.CheckCondition
|
|
35
|
+
*/
|
|
36
|
+
checkCondition: {
|
|
37
|
+
name: "CheckCondition",
|
|
38
|
+
I: CheckConditionRequest,
|
|
39
|
+
O: CheckConditionResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc ct_logic_uni_rev_premium.v1.LogicUniRevPremiumAdService.ExtendFreeAd
|
|
44
|
+
*/
|
|
45
|
+
extendFreeAd: {
|
|
46
|
+
name: "ExtendFreeAd",
|
|
47
|
+
I: ExtendFreeAdRequest,
|
|
48
|
+
O: ExtendFreeAdResponse,
|
|
49
|
+
kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// general
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package ct_logic_uni_rev_premium.v1;
|
|
4
|
+
|
|
5
|
+
import "validate/validate.proto";
|
|
6
|
+
|
|
7
|
+
// language specs
|
|
8
|
+
option go_package = "github.com/carousell/ct-grpc-go/pkg/ct-logic-uni-rev-premium;pb";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
message CheckAdForSharingSocialPlatformRequest {
|
|
12
|
+
int64 account_id = 1 [(validate.rules).int64.gte = 1];
|
|
13
|
+
int64 ad_id = 2 [(validate.rules).int64.gte = 1];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message CheckAdForSharingSocialPlatformResponse {
|
|
17
|
+
bool qualified = 1;
|
|
18
|
+
|
|
19
|
+
// only when qualified = true
|
|
20
|
+
string ad_title = 2;
|
|
21
|
+
string ad_content = 3;
|
|
22
|
+
string ad_url = 4;
|
|
23
|
+
repeated string ad_images = 5;
|
|
24
|
+
|
|
25
|
+
optional string ad_video_streaming_url = 6;
|
|
26
|
+
optional string ad_video_download_url = 7;
|
|
27
|
+
optional string ad_video_thumbnail_url = 8;
|
|
28
|
+
optional string ad_video_gif_url = 9;
|
|
29
|
+
optional int64 ad_video_byte_size = 10;
|
|
30
|
+
|
|
31
|
+
optional string video_status = 11; // completed, in_progress, pending, only when qualififed = true
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
// when qualified=true, video_status=completed --> ai_video is already generated
|
|
35
|
+
optional string ai_video_streaming_url = 12;
|
|
36
|
+
optional string ai_video_download_url = 13;
|
|
37
|
+
optional string ai_video_thumbnail_url = 14;
|
|
38
|
+
optional string ai_video_gif_url = 15;
|
|
39
|
+
optional int64 ai_video_byte_size = 16;
|
|
40
|
+
|
|
41
|
+
// available if video_status = in_progress
|
|
42
|
+
optional int32 step = 17;
|
|
43
|
+
optional int32 total_step = 18;
|
|
44
|
+
string step_description = 19;
|
|
45
|
+
int32 remaining_seconds = 20;
|
|
46
|
+
|
|
47
|
+
// when qualified = false
|
|
48
|
+
optional string reason_code = 21;
|
|
49
|
+
optional string reason_text = 22;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// this will be forwared to ct-core-uni-listing-tier,
|
|
53
|
+
// to support Billing Result screen, when core-ad-social-platform might not
|
|
54
|
+
// have that ad ( due to delay in sync)
|
|
55
|
+
// hence, this only return true/false
|
|
56
|
+
message QuickCheckAdSharingSocialPlatformRequest {
|
|
57
|
+
int64 account_id = 1;
|
|
58
|
+
int64 ad_id = 2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message QuickCheckAdSharingSocialPlatformResponse {
|
|
62
|
+
bool qualified = 1;
|
|
63
|
+
string message = 2;
|
|
64
|
+
string sub_message = 3;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
message GenerateVideoForAdRequest {
|
|
69
|
+
int64 account_id = 1 [(validate.rules).int64.gte = 1];
|
|
70
|
+
int64 ad_id = 2 [(validate.rules).int64.gte = 1];
|
|
71
|
+
bool force_retry = 3; // force retry, regardless of status of previous request
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message GenerateVideoForAdResponse {
|
|
75
|
+
string request_id = 1;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message GetVideoGenerationStatusRequest {
|
|
79
|
+
int64 account_id = 1 [(validate.rules).int64.gte = 1];
|
|
80
|
+
string request_id = 2 [(validate.rules).string.min_len = 1];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message GetVideoGenerationStatusResponse {
|
|
84
|
+
string status = 1;
|
|
85
|
+
int32 step = 2;
|
|
86
|
+
int32 total_step = 3;
|
|
87
|
+
string step_description = 4;
|
|
88
|
+
int32 remaining_seconds = 5;
|
|
89
|
+
optional string streaming_video_url = 6;
|
|
90
|
+
optional string download_video_url = 7;
|
|
91
|
+
optional string thumbnail_video_url = 8;
|
|
92
|
+
optional string gif_video_url = 9;
|
|
93
|
+
optional int64 byte_size = 10;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
// Webhook for vendor to notify video generation status
|
|
98
|
+
message UpdateVideoGenerationStatusRequest {
|
|
99
|
+
string vendor_request_id = 1;
|
|
100
|
+
string status = 2;
|
|
101
|
+
string snapshot_url = 3;
|
|
102
|
+
string video_url = 4;
|
|
103
|
+
int64 file_byte_size = 5;
|
|
104
|
+
int64 duration_seconds = 6;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
message UpdateVideoGenerationStatusResponse {
|
|
108
|
+
}
|