@alicloud/quanmiaolightapp20240801 1.0.0 → 1.2.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/src/client.ts CHANGED
@@ -7,6 +7,157 @@ import OpenApiUtil from '@alicloud/openapi-util';
7
7
  import EndpointUtil from '@alicloud/endpoint-util';
8
8
  import * as $tea from '@alicloud/tea-typescript';
9
9
 
10
+ export class ListHotTopicSummariesRequest extends $tea.Model {
11
+ /**
12
+ * @example
13
+ * xx
14
+ */
15
+ category?: string;
16
+ /**
17
+ * @example
18
+ * xx
19
+ */
20
+ hotTopic?: string;
21
+ /**
22
+ * @example
23
+ * 2024-09-13_12
24
+ */
25
+ hotTopicVersion?: string;
26
+ /**
27
+ * @example
28
+ * 20
29
+ */
30
+ maxResults?: number;
31
+ /**
32
+ * @example
33
+ * JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==
34
+ */
35
+ nextToken?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ category: 'category',
39
+ hotTopic: 'hotTopic',
40
+ hotTopicVersion: 'hotTopicVersion',
41
+ maxResults: 'maxResults',
42
+ nextToken: 'nextToken',
43
+ };
44
+ }
45
+
46
+ static types(): { [key: string]: any } {
47
+ return {
48
+ category: 'string',
49
+ hotTopic: 'string',
50
+ hotTopicVersion: 'string',
51
+ maxResults: 'number',
52
+ nextToken: 'string',
53
+ };
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
61
+ export class ListHotTopicSummariesResponseBody extends $tea.Model {
62
+ /**
63
+ * @example
64
+ * xx
65
+ */
66
+ code?: string;
67
+ data?: ListHotTopicSummariesResponseBodyData[];
68
+ /**
69
+ * @example
70
+ * 200
71
+ */
72
+ httpStatusCode?: number;
73
+ /**
74
+ * @example
75
+ * 20
76
+ */
77
+ maxResults?: number;
78
+ /**
79
+ * @example
80
+ * success
81
+ */
82
+ message?: string;
83
+ /**
84
+ * @example
85
+ * JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==
86
+ */
87
+ nextToken?: string;
88
+ /**
89
+ * @example
90
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
91
+ */
92
+ requestId?: string;
93
+ /**
94
+ * @example
95
+ * True
96
+ */
97
+ success?: boolean;
98
+ /**
99
+ * @example
100
+ * 200
101
+ */
102
+ totalCount?: number;
103
+ static names(): { [key: string]: string } {
104
+ return {
105
+ code: 'code',
106
+ data: 'data',
107
+ httpStatusCode: 'httpStatusCode',
108
+ maxResults: 'maxResults',
109
+ message: 'message',
110
+ nextToken: 'nextToken',
111
+ requestId: 'requestId',
112
+ success: 'success',
113
+ totalCount: 'totalCount',
114
+ };
115
+ }
116
+
117
+ static types(): { [key: string]: any } {
118
+ return {
119
+ code: 'string',
120
+ data: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyData },
121
+ httpStatusCode: 'number',
122
+ maxResults: 'number',
123
+ message: 'string',
124
+ nextToken: 'string',
125
+ requestId: 'string',
126
+ success: 'boolean',
127
+ totalCount: 'number',
128
+ };
129
+ }
130
+
131
+ constructor(map?: { [key: string]: any }) {
132
+ super(map);
133
+ }
134
+ }
135
+
136
+ export class ListHotTopicSummariesResponse extends $tea.Model {
137
+ headers?: { [key: string]: string };
138
+ statusCode?: number;
139
+ body?: ListHotTopicSummariesResponseBody;
140
+ static names(): { [key: string]: string } {
141
+ return {
142
+ headers: 'headers',
143
+ statusCode: 'statusCode',
144
+ body: 'body',
145
+ };
146
+ }
147
+
148
+ static types(): { [key: string]: any } {
149
+ return {
150
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
151
+ statusCode: 'number',
152
+ body: ListHotTopicSummariesResponseBody,
153
+ };
154
+ }
155
+
156
+ constructor(map?: { [key: string]: any }) {
157
+ super(map);
158
+ }
159
+ }
160
+
10
161
  export class RunMarketingInformationExtractRequest extends $tea.Model {
11
162
  customPrompt?: string;
12
163
  extractType?: string;
@@ -214,6 +365,206 @@ export class RunMarketingInformationWritingResponse extends $tea.Model {
214
365
  }
215
366
  }
216
367
 
368
+ export class RunScriptContinueRequest extends $tea.Model {
369
+ /**
370
+ * @example
371
+ * 一队全副武装的执法人员和消防员闯入了一间明显已被遗弃多日、门窗紧闭并用胶带封死的公寓,面对着屋内令人作呕的恶臭和门厅里的混乱场面,他们似乎在寻找某种隐藏的真相或危险源,而一封日期为16号的信件成为了揭开谜团的关键线索,随着便衣探员深入探索,一系列封闭的房间暗示着这里曾发生过不为人知的秘密事件。
372
+ */
373
+ scriptSummary?: string;
374
+ /**
375
+ * @example
376
+ * 悬疑,都市,惊悚
377
+ */
378
+ scriptTypeKeyword?: string;
379
+ /**
380
+ * @remarks
381
+ * This parameter is required.
382
+ *
383
+ * @example
384
+ * 门厅一片狼藉。朝向天井的窗户开着。公寓门突然被撞开了。\n一名便衣探员、两名穿制服的警察和几位消防员———也身着工作服———进来,四下张望。他们都戴着手套以及盖住口鼻的面罩。在他们身后,门房和他妻子也挤进门厅。他们都捂着鼻子。门房的另一只手里拿着一叠信件和促销广告单。他们身后,跟着一位女邻居。\n便衣探员(对门房和邻居):请在外面等候。\n他向一名警察示意,警察正忙着把好奇的旁观者请出门外。\n警察(对门房,指着那一叠信件):最近的一封是哪天的?\n门房(查对信件):最近的一封似乎是16号的......等一下......\n便衣探员想打开左侧的门,却是徒劳。门用胶带封上了。\n便衣探员(对消防员):你来试一下好吗?\n消防员摆弄门的时候,便衣探员进了卧室隔壁的餐厅。他迅速打开窗,转身,想经过对开门进左侧的房间。这两扇门也锁着,门缝被贴上了胶带。他右转进入起居室,也打开了窗户
385
+ */
386
+ userProvidedContent?: string;
387
+ static names(): { [key: string]: string } {
388
+ return {
389
+ scriptSummary: 'scriptSummary',
390
+ scriptTypeKeyword: 'scriptTypeKeyword',
391
+ userProvidedContent: 'userProvidedContent',
392
+ };
393
+ }
394
+
395
+ static types(): { [key: string]: any } {
396
+ return {
397
+ scriptSummary: 'string',
398
+ scriptTypeKeyword: 'string',
399
+ userProvidedContent: 'string',
400
+ };
401
+ }
402
+
403
+ constructor(map?: { [key: string]: any }) {
404
+ super(map);
405
+ }
406
+ }
407
+
408
+ export class RunScriptContinueResponseBody extends $tea.Model {
409
+ end?: boolean;
410
+ header?: RunScriptContinueResponseBodyHeader;
411
+ payload?: RunScriptContinueResponseBodyPayload;
412
+ static names(): { [key: string]: string } {
413
+ return {
414
+ end: 'end',
415
+ header: 'header',
416
+ payload: 'payload',
417
+ };
418
+ }
419
+
420
+ static types(): { [key: string]: any } {
421
+ return {
422
+ end: 'boolean',
423
+ header: RunScriptContinueResponseBodyHeader,
424
+ payload: RunScriptContinueResponseBodyPayload,
425
+ };
426
+ }
427
+
428
+ constructor(map?: { [key: string]: any }) {
429
+ super(map);
430
+ }
431
+ }
432
+
433
+ export class RunScriptContinueResponse extends $tea.Model {
434
+ headers?: { [key: string]: string };
435
+ statusCode?: number;
436
+ body?: RunScriptContinueResponseBody;
437
+ static names(): { [key: string]: string } {
438
+ return {
439
+ headers: 'headers',
440
+ statusCode: 'statusCode',
441
+ body: 'body',
442
+ };
443
+ }
444
+
445
+ static types(): { [key: string]: any } {
446
+ return {
447
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
448
+ statusCode: 'number',
449
+ body: RunScriptContinueResponseBody,
450
+ };
451
+ }
452
+
453
+ constructor(map?: { [key: string]: any }) {
454
+ super(map);
455
+ }
456
+ }
457
+
458
+ export class RunScriptPlanningRequest extends $tea.Model {
459
+ /**
460
+ * @example
461
+ * 故事尽可能狗血
462
+ */
463
+ additionalNote?: string;
464
+ dialogueInScene?: boolean;
465
+ plotConflict?: boolean;
466
+ /**
467
+ * @example
468
+ * 都市战神
469
+ */
470
+ scriptName?: string;
471
+ /**
472
+ * @example
473
+ * 3
474
+ */
475
+ scriptShotCount?: number;
476
+ /**
477
+ * @remarks
478
+ * This parameter is required.
479
+ *
480
+ * @example
481
+ * 在一个宁静的小镇上,每个家庭都在同一天收到一个神秘的、没有标记的包裹。
482
+ */
483
+ scriptSummary?: string;
484
+ /**
485
+ * @example
486
+ * 现代,都市,爱情,玄幻
487
+ */
488
+ scriptTypeKeyword?: string;
489
+ static names(): { [key: string]: string } {
490
+ return {
491
+ additionalNote: 'additionalNote',
492
+ dialogueInScene: 'dialogueInScene',
493
+ plotConflict: 'plotConflict',
494
+ scriptName: 'scriptName',
495
+ scriptShotCount: 'scriptShotCount',
496
+ scriptSummary: 'scriptSummary',
497
+ scriptTypeKeyword: 'scriptTypeKeyword',
498
+ };
499
+ }
500
+
501
+ static types(): { [key: string]: any } {
502
+ return {
503
+ additionalNote: 'string',
504
+ dialogueInScene: 'boolean',
505
+ plotConflict: 'boolean',
506
+ scriptName: 'string',
507
+ scriptShotCount: 'number',
508
+ scriptSummary: 'string',
509
+ scriptTypeKeyword: 'string',
510
+ };
511
+ }
512
+
513
+ constructor(map?: { [key: string]: any }) {
514
+ super(map);
515
+ }
516
+ }
517
+
518
+ export class RunScriptPlanningResponseBody extends $tea.Model {
519
+ end?: boolean;
520
+ header?: RunScriptPlanningResponseBodyHeader;
521
+ payload?: RunScriptPlanningResponseBodyPayload;
522
+ static names(): { [key: string]: string } {
523
+ return {
524
+ end: 'end',
525
+ header: 'header',
526
+ payload: 'payload',
527
+ };
528
+ }
529
+
530
+ static types(): { [key: string]: any } {
531
+ return {
532
+ end: 'boolean',
533
+ header: RunScriptPlanningResponseBodyHeader,
534
+ payload: RunScriptPlanningResponseBodyPayload,
535
+ };
536
+ }
537
+
538
+ constructor(map?: { [key: string]: any }) {
539
+ super(map);
540
+ }
541
+ }
542
+
543
+ export class RunScriptPlanningResponse extends $tea.Model {
544
+ headers?: { [key: string]: string };
545
+ statusCode?: number;
546
+ body?: RunScriptPlanningResponseBody;
547
+ static names(): { [key: string]: string } {
548
+ return {
549
+ headers: 'headers',
550
+ statusCode: 'statusCode',
551
+ body: 'body',
552
+ };
553
+ }
554
+
555
+ static types(): { [key: string]: any } {
556
+ return {
557
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
558
+ statusCode: 'number',
559
+ body: RunScriptPlanningResponseBody,
560
+ };
561
+ }
562
+
563
+ constructor(map?: { [key: string]: any }) {
564
+ super(map);
565
+ }
566
+ }
567
+
217
568
  export class RunStyleWritingRequest extends $tea.Model {
218
569
  /**
219
570
  * @remarks
@@ -491,22 +842,471 @@ export class RunVideoAnalysisResponseBody extends $tea.Model {
491
842
  payload?: RunVideoAnalysisResponseBodyPayload;
492
843
  /**
493
844
  * @example
494
- * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
845
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
846
+ */
847
+ requestId?: string;
848
+ static names(): { [key: string]: string } {
849
+ return {
850
+ header: 'header',
851
+ payload: 'payload',
852
+ requestId: 'requestId',
853
+ };
854
+ }
855
+
856
+ static types(): { [key: string]: any } {
857
+ return {
858
+ header: RunVideoAnalysisResponseBodyHeader,
859
+ payload: RunVideoAnalysisResponseBodyPayload,
860
+ requestId: 'string',
861
+ };
862
+ }
863
+
864
+ constructor(map?: { [key: string]: any }) {
865
+ super(map);
866
+ }
867
+ }
868
+
869
+ export class RunVideoAnalysisResponse extends $tea.Model {
870
+ headers?: { [key: string]: string };
871
+ statusCode?: number;
872
+ body?: RunVideoAnalysisResponseBody;
873
+ static names(): { [key: string]: string } {
874
+ return {
875
+ headers: 'headers',
876
+ statusCode: 'statusCode',
877
+ body: 'body',
878
+ };
879
+ }
880
+
881
+ static types(): { [key: string]: any } {
882
+ return {
883
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
884
+ statusCode: 'number',
885
+ body: RunVideoAnalysisResponseBody,
886
+ };
887
+ }
888
+
889
+ constructor(map?: { [key: string]: any }) {
890
+ super(map);
891
+ }
892
+ }
893
+
894
+ export class ListHotTopicSummariesResponseBodyDataNewsComments extends $tea.Model {
895
+ /**
896
+ * @example
897
+ * xx
898
+ */
899
+ text?: string;
900
+ static names(): { [key: string]: string } {
901
+ return {
902
+ text: 'text',
903
+ };
904
+ }
905
+
906
+ static types(): { [key: string]: any } {
907
+ return {
908
+ text: 'string',
909
+ };
910
+ }
911
+
912
+ constructor(map?: { [key: string]: any }) {
913
+ super(map);
914
+ }
915
+ }
916
+
917
+ export class ListHotTopicSummariesResponseBodyDataNews extends $tea.Model {
918
+ comments?: ListHotTopicSummariesResponseBodyDataNewsComments[];
919
+ /**
920
+ * @example
921
+ * xx
922
+ */
923
+ content?: string;
924
+ /**
925
+ * @example
926
+ * 2024-09-10 15:32:00
927
+ */
928
+ pubTime?: string;
929
+ /**
930
+ * @example
931
+ * xx
932
+ */
933
+ title?: string;
934
+ /**
935
+ * @remarks
936
+ * url
937
+ *
938
+ * @example
939
+ * http://xxx
940
+ */
941
+ url?: string;
942
+ static names(): { [key: string]: string } {
943
+ return {
944
+ comments: 'comments',
945
+ content: 'content',
946
+ pubTime: 'pubTime',
947
+ title: 'title',
948
+ url: 'url',
949
+ };
950
+ }
951
+
952
+ static types(): { [key: string]: any } {
953
+ return {
954
+ comments: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataNewsComments },
955
+ content: 'string',
956
+ pubTime: 'string',
957
+ title: 'string',
958
+ url: 'string',
959
+ };
960
+ }
961
+
962
+ constructor(map?: { [key: string]: any }) {
963
+ super(map);
964
+ }
965
+ }
966
+
967
+ export class ListHotTopicSummariesResponseBodyDataSummarySummaries extends $tea.Model {
968
+ /**
969
+ * @example
970
+ * xx
971
+ */
972
+ summary?: string;
973
+ /**
974
+ * @example
975
+ * xx
976
+ */
977
+ title?: string;
978
+ static names(): { [key: string]: string } {
979
+ return {
980
+ summary: 'summary',
981
+ title: 'title',
982
+ };
983
+ }
984
+
985
+ static types(): { [key: string]: any } {
986
+ return {
987
+ summary: 'string',
988
+ title: 'string',
989
+ };
990
+ }
991
+
992
+ constructor(map?: { [key: string]: any }) {
993
+ super(map);
994
+ }
995
+ }
996
+
997
+ export class ListHotTopicSummariesResponseBodyDataSummary extends $tea.Model {
998
+ summaries?: ListHotTopicSummariesResponseBodyDataSummarySummaries[];
999
+ static names(): { [key: string]: string } {
1000
+ return {
1001
+ summaries: 'summaries',
1002
+ };
1003
+ }
1004
+
1005
+ static types(): { [key: string]: any } {
1006
+ return {
1007
+ summaries: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataSummarySummaries },
1008
+ };
1009
+ }
1010
+
1011
+ constructor(map?: { [key: string]: any }) {
1012
+ super(map);
1013
+ }
1014
+ }
1015
+
1016
+ export class ListHotTopicSummariesResponseBodyData extends $tea.Model {
1017
+ category?: string;
1018
+ /**
1019
+ * @example
1020
+ * xx
1021
+ */
1022
+ hotTopic?: string;
1023
+ /**
1024
+ * @example
1025
+ * 2024-09-13_12
1026
+ */
1027
+ hotTopicVersion?: string;
1028
+ /**
1029
+ * @example
1030
+ * 1000000
1031
+ */
1032
+ hotValue?: number;
1033
+ /**
1034
+ * @example
1035
+ * db5dc5b3d8954a30b65ba700c9dda3bb
1036
+ */
1037
+ id?: string;
1038
+ news?: ListHotTopicSummariesResponseBodyDataNews[];
1039
+ summary?: ListHotTopicSummariesResponseBodyDataSummary;
1040
+ /**
1041
+ * @example
1042
+ * xx
1043
+ */
1044
+ textSummary?: string;
1045
+ static names(): { [key: string]: string } {
1046
+ return {
1047
+ category: 'category',
1048
+ hotTopic: 'hotTopic',
1049
+ hotTopicVersion: 'hotTopicVersion',
1050
+ hotValue: 'hotValue',
1051
+ id: 'id',
1052
+ news: 'news',
1053
+ summary: 'summary',
1054
+ textSummary: 'textSummary',
1055
+ };
1056
+ }
1057
+
1058
+ static types(): { [key: string]: any } {
1059
+ return {
1060
+ category: 'string',
1061
+ hotTopic: 'string',
1062
+ hotTopicVersion: 'string',
1063
+ hotValue: 'number',
1064
+ id: 'string',
1065
+ news: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataNews },
1066
+ summary: ListHotTopicSummariesResponseBodyDataSummary,
1067
+ textSummary: 'string',
1068
+ };
1069
+ }
1070
+
1071
+ constructor(map?: { [key: string]: any }) {
1072
+ super(map);
1073
+ }
1074
+ }
1075
+
1076
+ export class RunMarketingInformationExtractResponseBodyHeader extends $tea.Model {
1077
+ /**
1078
+ * @example
1079
+ * result-generated
1080
+ */
1081
+ event?: string;
1082
+ eventInfo?: string;
1083
+ /**
1084
+ * @example
1085
+ * F08C71C0-9399-548C-838B-1DA01DE211B0
1086
+ */
1087
+ requestId?: string;
1088
+ /**
1089
+ * @example
1090
+ * 121dlsga4o7golrl1hojazg0u9lvytjc17ebgzzj2u4zukgh122tfg7wj1e6a1vcowy1ewzinauxriai9atcr6r323mm9ddbr0bg5m61ij8hxnf8664tstlfkfol6m8luc4shs3gums7l46uauyy0xndqmhdjtdon6coyhb4x17bo762bg9e3tb2geufg2
1091
+ */
1092
+ sessionId?: string;
1093
+ /**
1094
+ * @example
1095
+ * 12826092918145
1096
+ */
1097
+ taskId?: string;
1098
+ /**
1099
+ * @example
1100
+ * 2150432017236011824686132ecdbc
1101
+ */
1102
+ traceId?: string;
1103
+ static names(): { [key: string]: string } {
1104
+ return {
1105
+ event: 'event',
1106
+ eventInfo: 'eventInfo',
1107
+ requestId: 'requestId',
1108
+ sessionId: 'sessionId',
1109
+ taskId: 'taskId',
1110
+ traceId: 'traceId',
1111
+ };
1112
+ }
1113
+
1114
+ static types(): { [key: string]: any } {
1115
+ return {
1116
+ event: 'string',
1117
+ eventInfo: 'string',
1118
+ requestId: 'string',
1119
+ sessionId: 'string',
1120
+ taskId: 'string',
1121
+ traceId: 'string',
1122
+ };
1123
+ }
1124
+
1125
+ constructor(map?: { [key: string]: any }) {
1126
+ super(map);
1127
+ }
1128
+ }
1129
+
1130
+ export class RunMarketingInformationExtractResponseBodyPayloadOutput extends $tea.Model {
1131
+ text?: string;
1132
+ static names(): { [key: string]: string } {
1133
+ return {
1134
+ text: 'text',
1135
+ };
1136
+ }
1137
+
1138
+ static types(): { [key: string]: any } {
1139
+ return {
1140
+ text: 'string',
1141
+ };
1142
+ }
1143
+
1144
+ constructor(map?: { [key: string]: any }) {
1145
+ super(map);
1146
+ }
1147
+ }
1148
+
1149
+ export class RunMarketingInformationExtractResponseBodyPayloadUsage extends $tea.Model {
1150
+ /**
1151
+ * @example
1152
+ * 100
1153
+ */
1154
+ inputTokens?: number;
1155
+ /**
1156
+ * @example
1157
+ * 100
1158
+ */
1159
+ outputTokens?: number;
1160
+ /**
1161
+ * @example
1162
+ * 200
1163
+ */
1164
+ totalTokens?: number;
1165
+ static names(): { [key: string]: string } {
1166
+ return {
1167
+ inputTokens: 'inputTokens',
1168
+ outputTokens: 'outputTokens',
1169
+ totalTokens: 'totalTokens',
1170
+ };
1171
+ }
1172
+
1173
+ static types(): { [key: string]: any } {
1174
+ return {
1175
+ inputTokens: 'number',
1176
+ outputTokens: 'number',
1177
+ totalTokens: 'number',
1178
+ };
1179
+ }
1180
+
1181
+ constructor(map?: { [key: string]: any }) {
1182
+ super(map);
1183
+ }
1184
+ }
1185
+
1186
+ export class RunMarketingInformationExtractResponseBodyPayload extends $tea.Model {
1187
+ output?: RunMarketingInformationExtractResponseBodyPayloadOutput;
1188
+ usage?: RunMarketingInformationExtractResponseBodyPayloadUsage;
1189
+ static names(): { [key: string]: string } {
1190
+ return {
1191
+ output: 'output',
1192
+ usage: 'usage',
1193
+ };
1194
+ }
1195
+
1196
+ static types(): { [key: string]: any } {
1197
+ return {
1198
+ output: RunMarketingInformationExtractResponseBodyPayloadOutput,
1199
+ usage: RunMarketingInformationExtractResponseBodyPayloadUsage,
1200
+ };
1201
+ }
1202
+
1203
+ constructor(map?: { [key: string]: any }) {
1204
+ super(map);
1205
+ }
1206
+ }
1207
+
1208
+ export class RunMarketingInformationWritingResponseBodyHeader extends $tea.Model {
1209
+ /**
1210
+ * @example
1211
+ * result-generated
1212
+ */
1213
+ event?: string;
1214
+ eventInfo?: string;
1215
+ /**
1216
+ * @example
1217
+ * 436BC5AE-0573-59D8-9803-6B5FDCD3BBA1
1218
+ */
1219
+ requestId?: string;
1220
+ /**
1221
+ * @example
1222
+ * uqubxgqzlnf4exfektij032lgb3yvix678p232n56387aqxdo4uutdt9wstqzovvz6j3ho7wnbgye785u79yn5q3euqmsvzmqdn3nmfq2826oscjvsi43kof8b8uxufpp1x97jjukk6jd3183hy8ni6hqpskuhuascpd
1223
+ */
1224
+ sessionId?: string;
1225
+ /**
1226
+ * @example
1227
+ * 13312125943232
1228
+ */
1229
+ taskId?: string;
1230
+ /**
1231
+ * @example
1232
+ * 213e20e517049392478441155e8b2a
1233
+ */
1234
+ traceId?: string;
1235
+ static names(): { [key: string]: string } {
1236
+ return {
1237
+ event: 'event',
1238
+ eventInfo: 'eventInfo',
1239
+ requestId: 'requestId',
1240
+ sessionId: 'sessionId',
1241
+ taskId: 'taskId',
1242
+ traceId: 'traceId',
1243
+ };
1244
+ }
1245
+
1246
+ static types(): { [key: string]: any } {
1247
+ return {
1248
+ event: 'string',
1249
+ eventInfo: 'string',
1250
+ requestId: 'string',
1251
+ sessionId: 'string',
1252
+ taskId: 'string',
1253
+ traceId: 'string',
1254
+ };
1255
+ }
1256
+
1257
+ constructor(map?: { [key: string]: any }) {
1258
+ super(map);
1259
+ }
1260
+ }
1261
+
1262
+ export class RunMarketingInformationWritingResponseBodyPayloadOutput extends $tea.Model {
1263
+ text?: string;
1264
+ static names(): { [key: string]: string } {
1265
+ return {
1266
+ text: 'text',
1267
+ };
1268
+ }
1269
+
1270
+ static types(): { [key: string]: any } {
1271
+ return {
1272
+ text: 'string',
1273
+ };
1274
+ }
1275
+
1276
+ constructor(map?: { [key: string]: any }) {
1277
+ super(map);
1278
+ }
1279
+ }
1280
+
1281
+ export class RunMarketingInformationWritingResponseBodyPayloadUsage extends $tea.Model {
1282
+ /**
1283
+ * @example
1284
+ * 100
495
1285
  */
496
- requestId?: string;
1286
+ inputTokens?: number;
1287
+ /**
1288
+ * @example
1289
+ * 100
1290
+ */
1291
+ outputTokens?: number;
1292
+ /**
1293
+ * @example
1294
+ * 200
1295
+ */
1296
+ totalTokens?: number;
497
1297
  static names(): { [key: string]: string } {
498
1298
  return {
499
- header: 'header',
500
- payload: 'payload',
501
- requestId: 'requestId',
1299
+ inputTokens: 'inputTokens',
1300
+ outputTokens: 'outputTokens',
1301
+ totalTokens: 'totalTokens',
502
1302
  };
503
1303
  }
504
1304
 
505
1305
  static types(): { [key: string]: any } {
506
1306
  return {
507
- header: RunVideoAnalysisResponseBodyHeader,
508
- payload: RunVideoAnalysisResponseBodyPayload,
509
- requestId: 'string',
1307
+ inputTokens: 'number',
1308
+ outputTokens: 'number',
1309
+ totalTokens: 'number',
510
1310
  };
511
1311
  }
512
1312
 
@@ -515,23 +1315,20 @@ export class RunVideoAnalysisResponseBody extends $tea.Model {
515
1315
  }
516
1316
  }
517
1317
 
518
- export class RunVideoAnalysisResponse extends $tea.Model {
519
- headers?: { [key: string]: string };
520
- statusCode?: number;
521
- body?: RunVideoAnalysisResponseBody;
1318
+ export class RunMarketingInformationWritingResponseBodyPayload extends $tea.Model {
1319
+ output?: RunMarketingInformationWritingResponseBodyPayloadOutput;
1320
+ usage?: RunMarketingInformationWritingResponseBodyPayloadUsage;
522
1321
  static names(): { [key: string]: string } {
523
1322
  return {
524
- headers: 'headers',
525
- statusCode: 'statusCode',
526
- body: 'body',
1323
+ output: 'output',
1324
+ usage: 'usage',
527
1325
  };
528
1326
  }
529
1327
 
530
1328
  static types(): { [key: string]: any } {
531
1329
  return {
532
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
533
- statusCode: 'number',
534
- body: RunVideoAnalysisResponseBody,
1330
+ output: RunMarketingInformationWritingResponseBodyPayloadOutput,
1331
+ usage: RunMarketingInformationWritingResponseBodyPayloadUsage,
535
1332
  };
536
1333
  }
537
1334
 
@@ -540,35 +1337,51 @@ export class RunVideoAnalysisResponse extends $tea.Model {
540
1337
  }
541
1338
  }
542
1339
 
543
- export class RunMarketingInformationExtractResponseBodyHeader extends $tea.Model {
1340
+ export class RunScriptContinueResponseBodyHeader extends $tea.Model {
1341
+ /**
1342
+ * @example
1343
+ * 403
1344
+ */
1345
+ errorCode?: string;
1346
+ /**
1347
+ * @example
1348
+ * Pop sign mismatch, please check.
1349
+ */
1350
+ errorMessage?: string;
544
1351
  /**
545
1352
  * @example
546
1353
  * result-generated
547
1354
  */
548
1355
  event?: string;
1356
+ /**
1357
+ * @example
1358
+ * 模型生成事件
1359
+ */
549
1360
  eventInfo?: string;
550
1361
  /**
551
1362
  * @example
552
- * F08C71C0-9399-548C-838B-1DA01DE211B0
1363
+ * 0EB27AE3-CA53-5FAE-83C6-EE66CA4DF5DF
553
1364
  */
554
1365
  requestId?: string;
555
1366
  /**
556
1367
  * @example
557
- * 121dlsga4o7golrl1hojazg0u9lvytjc17ebgzzj2u4zukgh122tfg7wj1e6a1vcowy1ewzinauxriai9atcr6r323mm9ddbr0bg5m61ij8hxnf8664tstlfkfol6m8luc4shs3gums7l46uauyy0xndqmhdjtdon6coyhb4x17bo762bg9e3tb2geufg2
1368
+ * 3cd10828-0e42-471c-8f1a-931cde20b035
558
1369
  */
559
1370
  sessionId?: string;
560
1371
  /**
561
1372
  * @example
562
- * 12826092918145
1373
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
563
1374
  */
564
1375
  taskId?: string;
565
1376
  /**
566
1377
  * @example
567
- * 2150432017236011824686132ecdbc
1378
+ * 2150451a17191950923411783e2927
568
1379
  */
569
1380
  traceId?: string;
570
1381
  static names(): { [key: string]: string } {
571
1382
  return {
1383
+ errorCode: 'errorCode',
1384
+ errorMessage: 'errorMessage',
572
1385
  event: 'event',
573
1386
  eventInfo: 'eventInfo',
574
1387
  requestId: 'requestId',
@@ -580,6 +1393,8 @@ export class RunMarketingInformationExtractResponseBodyHeader extends $tea.Model
580
1393
 
581
1394
  static types(): { [key: string]: any } {
582
1395
  return {
1396
+ errorCode: 'string',
1397
+ errorMessage: 'string',
583
1398
  event: 'string',
584
1399
  eventInfo: 'string',
585
1400
  requestId: 'string',
@@ -594,7 +1409,11 @@ export class RunMarketingInformationExtractResponseBodyHeader extends $tea.Model
594
1409
  }
595
1410
  }
596
1411
 
597
- export class RunMarketingInformationExtractResponseBodyPayloadOutput extends $tea.Model {
1412
+ export class RunScriptContinueResponseBodyPayloadOutput extends $tea.Model {
1413
+ /**
1414
+ * @example
1415
+ * 这是测试输出
1416
+ */
598
1417
  text?: string;
599
1418
  static names(): { [key: string]: string } {
600
1419
  return {
@@ -613,7 +1432,7 @@ export class RunMarketingInformationExtractResponseBodyPayloadOutput extends $te
613
1432
  }
614
1433
  }
615
1434
 
616
- export class RunMarketingInformationExtractResponseBodyPayloadUsage extends $tea.Model {
1435
+ export class RunScriptContinueResponseBodyPayloadUsage extends $tea.Model {
617
1436
  /**
618
1437
  * @example
619
1438
  * 100
@@ -650,9 +1469,9 @@ export class RunMarketingInformationExtractResponseBodyPayloadUsage extends $tea
650
1469
  }
651
1470
  }
652
1471
 
653
- export class RunMarketingInformationExtractResponseBodyPayload extends $tea.Model {
654
- output?: RunMarketingInformationExtractResponseBodyPayloadOutput;
655
- usage?: RunMarketingInformationExtractResponseBodyPayloadUsage;
1472
+ export class RunScriptContinueResponseBodyPayload extends $tea.Model {
1473
+ output?: RunScriptContinueResponseBodyPayloadOutput;
1474
+ usage?: RunScriptContinueResponseBodyPayloadUsage;
656
1475
  static names(): { [key: string]: string } {
657
1476
  return {
658
1477
  output: 'output',
@@ -662,8 +1481,8 @@ export class RunMarketingInformationExtractResponseBodyPayload extends $tea.Mode
662
1481
 
663
1482
  static types(): { [key: string]: any } {
664
1483
  return {
665
- output: RunMarketingInformationExtractResponseBodyPayloadOutput,
666
- usage: RunMarketingInformationExtractResponseBodyPayloadUsage,
1484
+ output: RunScriptContinueResponseBodyPayloadOutput,
1485
+ usage: RunScriptContinueResponseBodyPayloadUsage,
667
1486
  };
668
1487
  }
669
1488
 
@@ -672,35 +1491,51 @@ export class RunMarketingInformationExtractResponseBodyPayload extends $tea.Mode
672
1491
  }
673
1492
  }
674
1493
 
675
- export class RunMarketingInformationWritingResponseBodyHeader extends $tea.Model {
1494
+ export class RunScriptPlanningResponseBodyHeader extends $tea.Model {
1495
+ /**
1496
+ * @example
1497
+ * 403
1498
+ */
1499
+ errorCode?: string;
1500
+ /**
1501
+ * @example
1502
+ * Pop sign mismatch, please check.
1503
+ */
1504
+ errorMessage?: string;
676
1505
  /**
677
1506
  * @example
678
1507
  * result-generated
679
1508
  */
680
1509
  event?: string;
1510
+ /**
1511
+ * @example
1512
+ * 模型生成事件
1513
+ */
681
1514
  eventInfo?: string;
682
1515
  /**
683
1516
  * @example
684
- * 436BC5AE-0573-59D8-9803-6B5FDCD3BBA1
1517
+ * 0EB27AE3-CA53-5FAE-83C6-EE66CA4DF5DF
685
1518
  */
686
1519
  requestId?: string;
687
1520
  /**
688
1521
  * @example
689
- * uqubxgqzlnf4exfektij032lgb3yvix678p232n56387aqxdo4uutdt9wstqzovvz6j3ho7wnbgye785u79yn5q3euqmsvzmqdn3nmfq2826oscjvsi43kof8b8uxufpp1x97jjukk6jd3183hy8ni6hqpskuhuascpd
1522
+ * 3cd10828-0e42-471c-8f1a-931cde20b035
690
1523
  */
691
1524
  sessionId?: string;
692
1525
  /**
693
1526
  * @example
694
- * 13312125943232
1527
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
695
1528
  */
696
1529
  taskId?: string;
697
1530
  /**
698
1531
  * @example
699
- * 213e20e517049392478441155e8b2a
1532
+ * 2150451a17191950923411783e2927
700
1533
  */
701
1534
  traceId?: string;
702
1535
  static names(): { [key: string]: string } {
703
1536
  return {
1537
+ errorCode: 'errorCode',
1538
+ errorMessage: 'errorMessage',
704
1539
  event: 'event',
705
1540
  eventInfo: 'eventInfo',
706
1541
  requestId: 'requestId',
@@ -712,6 +1547,8 @@ export class RunMarketingInformationWritingResponseBodyHeader extends $tea.Model
712
1547
 
713
1548
  static types(): { [key: string]: any } {
714
1549
  return {
1550
+ errorCode: 'string',
1551
+ errorMessage: 'string',
715
1552
  event: 'string',
716
1553
  eventInfo: 'string',
717
1554
  requestId: 'string',
@@ -726,7 +1563,11 @@ export class RunMarketingInformationWritingResponseBodyHeader extends $tea.Model
726
1563
  }
727
1564
  }
728
1565
 
729
- export class RunMarketingInformationWritingResponseBodyPayloadOutput extends $tea.Model {
1566
+ export class RunScriptPlanningResponseBodyPayloadOutput extends $tea.Model {
1567
+ /**
1568
+ * @example
1569
+ * 这是测试输出
1570
+ */
730
1571
  text?: string;
731
1572
  static names(): { [key: string]: string } {
732
1573
  return {
@@ -745,7 +1586,7 @@ export class RunMarketingInformationWritingResponseBodyPayloadOutput extends $te
745
1586
  }
746
1587
  }
747
1588
 
748
- export class RunMarketingInformationWritingResponseBodyPayloadUsage extends $tea.Model {
1589
+ export class RunScriptPlanningResponseBodyPayloadUsage extends $tea.Model {
749
1590
  /**
750
1591
  * @example
751
1592
  * 100
@@ -782,9 +1623,9 @@ export class RunMarketingInformationWritingResponseBodyPayloadUsage extends $tea
782
1623
  }
783
1624
  }
784
1625
 
785
- export class RunMarketingInformationWritingResponseBodyPayload extends $tea.Model {
786
- output?: RunMarketingInformationWritingResponseBodyPayloadOutput;
787
- usage?: RunMarketingInformationWritingResponseBodyPayloadUsage;
1626
+ export class RunScriptPlanningResponseBodyPayload extends $tea.Model {
1627
+ output?: RunScriptPlanningResponseBodyPayloadOutput;
1628
+ usage?: RunScriptPlanningResponseBodyPayloadUsage;
788
1629
  static names(): { [key: string]: string } {
789
1630
  return {
790
1631
  output: 'output',
@@ -794,8 +1635,8 @@ export class RunMarketingInformationWritingResponseBodyPayload extends $tea.Mode
794
1635
 
795
1636
  static types(): { [key: string]: any } {
796
1637
  return {
797
- output: RunMarketingInformationWritingResponseBodyPayloadOutput,
798
- usage: RunMarketingInformationWritingResponseBodyPayloadUsage,
1638
+ output: RunScriptPlanningResponseBodyPayloadOutput,
1639
+ usage: RunScriptPlanningResponseBodyPayloadUsage,
799
1640
  };
800
1641
  }
801
1642
 
@@ -1493,17 +2334,45 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $tea.Model {
1493
2334
  }
1494
2335
  }
1495
2336
 
2337
+ export class RunVideoAnalysisResponseBodyPayloadUsage extends $tea.Model {
2338
+ inputTokens?: number;
2339
+ outputTokens?: number;
2340
+ totalTokens?: number;
2341
+ static names(): { [key: string]: string } {
2342
+ return {
2343
+ inputTokens: 'inputTokens',
2344
+ outputTokens: 'outputTokens',
2345
+ totalTokens: 'totalTokens',
2346
+ };
2347
+ }
2348
+
2349
+ static types(): { [key: string]: any } {
2350
+ return {
2351
+ inputTokens: 'number',
2352
+ outputTokens: 'number',
2353
+ totalTokens: 'number',
2354
+ };
2355
+ }
2356
+
2357
+ constructor(map?: { [key: string]: any }) {
2358
+ super(map);
2359
+ }
2360
+ }
2361
+
1496
2362
  export class RunVideoAnalysisResponseBodyPayload extends $tea.Model {
1497
2363
  output?: RunVideoAnalysisResponseBodyPayloadOutput;
2364
+ usage?: RunVideoAnalysisResponseBodyPayloadUsage;
1498
2365
  static names(): { [key: string]: string } {
1499
2366
  return {
1500
2367
  output: 'output',
2368
+ usage: 'usage',
1501
2369
  };
1502
2370
  }
1503
2371
 
1504
2372
  static types(): { [key: string]: any } {
1505
2373
  return {
1506
2374
  output: RunVideoAnalysisResponseBodyPayloadOutput,
2375
+ usage: RunVideoAnalysisResponseBodyPayloadUsage,
1507
2376
  };
1508
2377
  }
1509
2378
 
@@ -1535,6 +2404,67 @@ export default class Client extends OpenApi {
1535
2404
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
1536
2405
  }
1537
2406
 
2407
+ /**
2408
+ * 轻应用-新闻播报-获取热点话题摘要列表
2409
+ *
2410
+ * @param request - ListHotTopicSummariesRequest
2411
+ * @param headers - map
2412
+ * @param runtime - runtime options for this request RuntimeOptions
2413
+ * @returns ListHotTopicSummariesResponse
2414
+ */
2415
+ async listHotTopicSummariesWithOptions(workspaceId: string, request: ListHotTopicSummariesRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListHotTopicSummariesResponse> {
2416
+ Util.validateModel(request);
2417
+ let body : {[key: string ]: any} = { };
2418
+ if (!Util.isUnset(request.category)) {
2419
+ body["category"] = request.category;
2420
+ }
2421
+
2422
+ if (!Util.isUnset(request.hotTopic)) {
2423
+ body["hotTopic"] = request.hotTopic;
2424
+ }
2425
+
2426
+ if (!Util.isUnset(request.hotTopicVersion)) {
2427
+ body["hotTopicVersion"] = request.hotTopicVersion;
2428
+ }
2429
+
2430
+ if (!Util.isUnset(request.maxResults)) {
2431
+ body["maxResults"] = request.maxResults;
2432
+ }
2433
+
2434
+ if (!Util.isUnset(request.nextToken)) {
2435
+ body["nextToken"] = request.nextToken;
2436
+ }
2437
+
2438
+ let req = new $OpenApi.OpenApiRequest({
2439
+ headers: headers,
2440
+ body: OpenApiUtil.parseToMap(body),
2441
+ });
2442
+ let params = new $OpenApi.Params({
2443
+ action: "ListHotTopicSummaries",
2444
+ version: "2024-08-01",
2445
+ protocol: "HTTPS",
2446
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/quanmiao/lightapp/listHotTopicSummaries`,
2447
+ method: "POST",
2448
+ authType: "AK",
2449
+ style: "ROA",
2450
+ reqBodyType: "formData",
2451
+ bodyType: "json",
2452
+ });
2453
+ return $tea.cast<ListHotTopicSummariesResponse>(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
2454
+ }
2455
+
2456
+ /**
2457
+ * 轻应用-新闻播报-获取热点话题摘要列表
2458
+ *
2459
+ * @param request - ListHotTopicSummariesRequest
2460
+ * @returns ListHotTopicSummariesResponse
2461
+ */
2462
+ async listHotTopicSummaries(workspaceId: string, request: ListHotTopicSummariesRequest): Promise<ListHotTopicSummariesResponse> {
2463
+ let runtime = new $Util.RuntimeOptions({ });
2464
+ let headers : {[key: string ]: string} = { };
2465
+ return await this.listHotTopicSummariesWithOptions(workspaceId, request, headers, runtime);
2466
+ }
2467
+
1538
2468
  /**
1539
2469
  * 营销信息抽取服务
1540
2470
  *
@@ -1655,6 +2585,128 @@ export default class Client extends OpenApi {
1655
2585
  return await this.runMarketingInformationWritingWithOptions(workspaceId, request, headers, runtime);
1656
2586
  }
1657
2587
 
2588
+ /**
2589
+ * 剧本续写
2590
+ *
2591
+ * @param request - RunScriptContinueRequest
2592
+ * @param headers - map
2593
+ * @param runtime - runtime options for this request RuntimeOptions
2594
+ * @returns RunScriptContinueResponse
2595
+ */
2596
+ async runScriptContinueWithOptions(workspaceId: string, request: RunScriptContinueRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunScriptContinueResponse> {
2597
+ Util.validateModel(request);
2598
+ let body : {[key: string ]: any} = { };
2599
+ if (!Util.isUnset(request.scriptSummary)) {
2600
+ body["scriptSummary"] = request.scriptSummary;
2601
+ }
2602
+
2603
+ if (!Util.isUnset(request.scriptTypeKeyword)) {
2604
+ body["scriptTypeKeyword"] = request.scriptTypeKeyword;
2605
+ }
2606
+
2607
+ if (!Util.isUnset(request.userProvidedContent)) {
2608
+ body["userProvidedContent"] = request.userProvidedContent;
2609
+ }
2610
+
2611
+ let req = new $OpenApi.OpenApiRequest({
2612
+ headers: headers,
2613
+ body: OpenApiUtil.parseToMap(body),
2614
+ });
2615
+ let params = new $OpenApi.Params({
2616
+ action: "RunScriptContinue",
2617
+ version: "2024-08-01",
2618
+ protocol: "HTTPS",
2619
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/quanmiao/lightapp/runScriptContinue`,
2620
+ method: "POST",
2621
+ authType: "AK",
2622
+ style: "ROA",
2623
+ reqBodyType: "formData",
2624
+ bodyType: "json",
2625
+ });
2626
+ return $tea.cast<RunScriptContinueResponse>(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
2627
+ }
2628
+
2629
+ /**
2630
+ * 剧本续写
2631
+ *
2632
+ * @param request - RunScriptContinueRequest
2633
+ * @returns RunScriptContinueResponse
2634
+ */
2635
+ async runScriptContinue(workspaceId: string, request: RunScriptContinueRequest): Promise<RunScriptContinueResponse> {
2636
+ let runtime = new $Util.RuntimeOptions({ });
2637
+ let headers : {[key: string ]: string} = { };
2638
+ return await this.runScriptContinueWithOptions(workspaceId, request, headers, runtime);
2639
+ }
2640
+
2641
+ /**
2642
+ * 剧本策划
2643
+ *
2644
+ * @param request - RunScriptPlanningRequest
2645
+ * @param headers - map
2646
+ * @param runtime - runtime options for this request RuntimeOptions
2647
+ * @returns RunScriptPlanningResponse
2648
+ */
2649
+ async runScriptPlanningWithOptions(workspaceId: string, request: RunScriptPlanningRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunScriptPlanningResponse> {
2650
+ Util.validateModel(request);
2651
+ let body : {[key: string ]: any} = { };
2652
+ if (!Util.isUnset(request.additionalNote)) {
2653
+ body["additionalNote"] = request.additionalNote;
2654
+ }
2655
+
2656
+ if (!Util.isUnset(request.dialogueInScene)) {
2657
+ body["dialogueInScene"] = request.dialogueInScene;
2658
+ }
2659
+
2660
+ if (!Util.isUnset(request.plotConflict)) {
2661
+ body["plotConflict"] = request.plotConflict;
2662
+ }
2663
+
2664
+ if (!Util.isUnset(request.scriptName)) {
2665
+ body["scriptName"] = request.scriptName;
2666
+ }
2667
+
2668
+ if (!Util.isUnset(request.scriptShotCount)) {
2669
+ body["scriptShotCount"] = request.scriptShotCount;
2670
+ }
2671
+
2672
+ if (!Util.isUnset(request.scriptSummary)) {
2673
+ body["scriptSummary"] = request.scriptSummary;
2674
+ }
2675
+
2676
+ if (!Util.isUnset(request.scriptTypeKeyword)) {
2677
+ body["scriptTypeKeyword"] = request.scriptTypeKeyword;
2678
+ }
2679
+
2680
+ let req = new $OpenApi.OpenApiRequest({
2681
+ headers: headers,
2682
+ body: OpenApiUtil.parseToMap(body),
2683
+ });
2684
+ let params = new $OpenApi.Params({
2685
+ action: "RunScriptPlanning",
2686
+ version: "2024-08-01",
2687
+ protocol: "HTTPS",
2688
+ pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/quanmiao/lightapp/runScriptPlanning`,
2689
+ method: "POST",
2690
+ authType: "AK",
2691
+ style: "ROA",
2692
+ reqBodyType: "formData",
2693
+ bodyType: "json",
2694
+ });
2695
+ return $tea.cast<RunScriptPlanningResponse>(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
2696
+ }
2697
+
2698
+ /**
2699
+ * 剧本策划
2700
+ *
2701
+ * @param request - RunScriptPlanningRequest
2702
+ * @returns RunScriptPlanningResponse
2703
+ */
2704
+ async runScriptPlanning(workspaceId: string, request: RunScriptPlanningRequest): Promise<RunScriptPlanningResponse> {
2705
+ let runtime = new $Util.RuntimeOptions({ });
2706
+ let headers : {[key: string ]: string} = { };
2707
+ return await this.runScriptPlanningWithOptions(workspaceId, request, headers, runtime);
2708
+ }
2709
+
1658
2710
  /**
1659
2711
  * 文体学习和写作推理服务
1660
2712
  *