@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/dist/client.d.ts CHANGED
@@ -3,6 +3,110 @@
3
3
  import * as $Util from '@alicloud/tea-util';
4
4
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
5
5
  import * as $tea from '@alicloud/tea-typescript';
6
+ export declare class ListHotTopicSummariesRequest extends $tea.Model {
7
+ /**
8
+ * @example
9
+ * xx
10
+ */
11
+ category?: string;
12
+ /**
13
+ * @example
14
+ * xx
15
+ */
16
+ hotTopic?: string;
17
+ /**
18
+ * @example
19
+ * 2024-09-13_12
20
+ */
21
+ hotTopicVersion?: string;
22
+ /**
23
+ * @example
24
+ * 20
25
+ */
26
+ maxResults?: number;
27
+ /**
28
+ * @example
29
+ * JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==
30
+ */
31
+ nextToken?: string;
32
+ static names(): {
33
+ [key: string]: string;
34
+ };
35
+ static types(): {
36
+ [key: string]: any;
37
+ };
38
+ constructor(map?: {
39
+ [key: string]: any;
40
+ });
41
+ }
42
+ export declare class ListHotTopicSummariesResponseBody extends $tea.Model {
43
+ /**
44
+ * @example
45
+ * xx
46
+ */
47
+ code?: string;
48
+ data?: ListHotTopicSummariesResponseBodyData[];
49
+ /**
50
+ * @example
51
+ * 200
52
+ */
53
+ httpStatusCode?: number;
54
+ /**
55
+ * @example
56
+ * 20
57
+ */
58
+ maxResults?: number;
59
+ /**
60
+ * @example
61
+ * success
62
+ */
63
+ message?: string;
64
+ /**
65
+ * @example
66
+ * JlroP3CjgQh5PQDlH3ArzADkBTPZgVqo+64jhZRglNq0mEYoV5SlGb/Juvo8CdfYE9rlwEr2pIJQwdaYotak9g==
67
+ */
68
+ nextToken?: string;
69
+ /**
70
+ * @example
71
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
72
+ */
73
+ requestId?: string;
74
+ /**
75
+ * @example
76
+ * True
77
+ */
78
+ success?: boolean;
79
+ /**
80
+ * @example
81
+ * 200
82
+ */
83
+ totalCount?: number;
84
+ static names(): {
85
+ [key: string]: string;
86
+ };
87
+ static types(): {
88
+ [key: string]: any;
89
+ };
90
+ constructor(map?: {
91
+ [key: string]: any;
92
+ });
93
+ }
94
+ export declare class ListHotTopicSummariesResponse extends $tea.Model {
95
+ headers?: {
96
+ [key: string]: string;
97
+ };
98
+ statusCode?: number;
99
+ body?: ListHotTopicSummariesResponseBody;
100
+ static names(): {
101
+ [key: string]: string;
102
+ };
103
+ static types(): {
104
+ [key: string]: any;
105
+ };
106
+ constructor(map?: {
107
+ [key: string]: any;
108
+ });
109
+ }
6
110
  export declare class RunMarketingInformationExtractRequest extends $tea.Model {
7
111
  customPrompt?: string;
8
112
  extractType?: string;
@@ -131,6 +235,136 @@ export declare class RunMarketingInformationWritingResponse extends $tea.Model {
131
235
  [key: string]: any;
132
236
  });
133
237
  }
238
+ export declare class RunScriptContinueRequest extends $tea.Model {
239
+ /**
240
+ * @example
241
+ * 一队全副武装的执法人员和消防员闯入了一间明显已被遗弃多日、门窗紧闭并用胶带封死的公寓,面对着屋内令人作呕的恶臭和门厅里的混乱场面,他们似乎在寻找某种隐藏的真相或危险源,而一封日期为16号的信件成为了揭开谜团的关键线索,随着便衣探员深入探索,一系列封闭的房间暗示着这里曾发生过不为人知的秘密事件。
242
+ */
243
+ scriptSummary?: string;
244
+ /**
245
+ * @example
246
+ * 悬疑,都市,惊悚
247
+ */
248
+ scriptTypeKeyword?: string;
249
+ /**
250
+ * @remarks
251
+ * This parameter is required.
252
+ *
253
+ * @example
254
+ * 门厅一片狼藉。朝向天井的窗户开着。公寓门突然被撞开了。\n一名便衣探员、两名穿制服的警察和几位消防员———也身着工作服———进来,四下张望。他们都戴着手套以及盖住口鼻的面罩。在他们身后,门房和他妻子也挤进门厅。他们都捂着鼻子。门房的另一只手里拿着一叠信件和促销广告单。他们身后,跟着一位女邻居。\n便衣探员(对门房和邻居):请在外面等候。\n他向一名警察示意,警察正忙着把好奇的旁观者请出门外。\n警察(对门房,指着那一叠信件):最近的一封是哪天的?\n门房(查对信件):最近的一封似乎是16号的......等一下......\n便衣探员想打开左侧的门,却是徒劳。门用胶带封上了。\n便衣探员(对消防员):你来试一下好吗?\n消防员摆弄门的时候,便衣探员进了卧室隔壁的餐厅。他迅速打开窗,转身,想经过对开门进左侧的房间。这两扇门也锁着,门缝被贴上了胶带。他右转进入起居室,也打开了窗户
255
+ */
256
+ userProvidedContent?: string;
257
+ static names(): {
258
+ [key: string]: string;
259
+ };
260
+ static types(): {
261
+ [key: string]: any;
262
+ };
263
+ constructor(map?: {
264
+ [key: string]: any;
265
+ });
266
+ }
267
+ export declare class RunScriptContinueResponseBody extends $tea.Model {
268
+ end?: boolean;
269
+ header?: RunScriptContinueResponseBodyHeader;
270
+ payload?: RunScriptContinueResponseBodyPayload;
271
+ static names(): {
272
+ [key: string]: string;
273
+ };
274
+ static types(): {
275
+ [key: string]: any;
276
+ };
277
+ constructor(map?: {
278
+ [key: string]: any;
279
+ });
280
+ }
281
+ export declare class RunScriptContinueResponse extends $tea.Model {
282
+ headers?: {
283
+ [key: string]: string;
284
+ };
285
+ statusCode?: number;
286
+ body?: RunScriptContinueResponseBody;
287
+ static names(): {
288
+ [key: string]: string;
289
+ };
290
+ static types(): {
291
+ [key: string]: any;
292
+ };
293
+ constructor(map?: {
294
+ [key: string]: any;
295
+ });
296
+ }
297
+ export declare class RunScriptPlanningRequest extends $tea.Model {
298
+ /**
299
+ * @example
300
+ * 故事尽可能狗血
301
+ */
302
+ additionalNote?: string;
303
+ dialogueInScene?: boolean;
304
+ plotConflict?: boolean;
305
+ /**
306
+ * @example
307
+ * 都市战神
308
+ */
309
+ scriptName?: string;
310
+ /**
311
+ * @example
312
+ * 3
313
+ */
314
+ scriptShotCount?: number;
315
+ /**
316
+ * @remarks
317
+ * This parameter is required.
318
+ *
319
+ * @example
320
+ * 在一个宁静的小镇上,每个家庭都在同一天收到一个神秘的、没有标记的包裹。
321
+ */
322
+ scriptSummary?: string;
323
+ /**
324
+ * @example
325
+ * 现代,都市,爱情,玄幻
326
+ */
327
+ scriptTypeKeyword?: string;
328
+ static names(): {
329
+ [key: string]: string;
330
+ };
331
+ static types(): {
332
+ [key: string]: any;
333
+ };
334
+ constructor(map?: {
335
+ [key: string]: any;
336
+ });
337
+ }
338
+ export declare class RunScriptPlanningResponseBody extends $tea.Model {
339
+ end?: boolean;
340
+ header?: RunScriptPlanningResponseBodyHeader;
341
+ payload?: RunScriptPlanningResponseBodyPayload;
342
+ static names(): {
343
+ [key: string]: string;
344
+ };
345
+ static types(): {
346
+ [key: string]: any;
347
+ };
348
+ constructor(map?: {
349
+ [key: string]: any;
350
+ });
351
+ }
352
+ export declare class RunScriptPlanningResponse extends $tea.Model {
353
+ headers?: {
354
+ [key: string]: string;
355
+ };
356
+ statusCode?: number;
357
+ body?: RunScriptPlanningResponseBody;
358
+ static names(): {
359
+ [key: string]: string;
360
+ };
361
+ static types(): {
362
+ [key: string]: any;
363
+ };
364
+ constructor(map?: {
365
+ [key: string]: any;
366
+ });
367
+ }
134
368
  export declare class RunStyleWritingRequest extends $tea.Model {
135
369
  /**
136
370
  * @remarks
@@ -345,6 +579,129 @@ export declare class RunVideoAnalysisResponse extends $tea.Model {
345
579
  [key: string]: any;
346
580
  });
347
581
  }
582
+ export declare class ListHotTopicSummariesResponseBodyDataNewsComments extends $tea.Model {
583
+ /**
584
+ * @example
585
+ * xx
586
+ */
587
+ text?: string;
588
+ static names(): {
589
+ [key: string]: string;
590
+ };
591
+ static types(): {
592
+ [key: string]: any;
593
+ };
594
+ constructor(map?: {
595
+ [key: string]: any;
596
+ });
597
+ }
598
+ export declare class ListHotTopicSummariesResponseBodyDataNews extends $tea.Model {
599
+ comments?: ListHotTopicSummariesResponseBodyDataNewsComments[];
600
+ /**
601
+ * @example
602
+ * xx
603
+ */
604
+ content?: string;
605
+ /**
606
+ * @example
607
+ * 2024-09-10 15:32:00
608
+ */
609
+ pubTime?: string;
610
+ /**
611
+ * @example
612
+ * xx
613
+ */
614
+ title?: string;
615
+ /**
616
+ * @remarks
617
+ * url
618
+ *
619
+ * @example
620
+ * http://xxx
621
+ */
622
+ url?: string;
623
+ static names(): {
624
+ [key: string]: string;
625
+ };
626
+ static types(): {
627
+ [key: string]: any;
628
+ };
629
+ constructor(map?: {
630
+ [key: string]: any;
631
+ });
632
+ }
633
+ export declare class ListHotTopicSummariesResponseBodyDataSummarySummaries extends $tea.Model {
634
+ /**
635
+ * @example
636
+ * xx
637
+ */
638
+ summary?: string;
639
+ /**
640
+ * @example
641
+ * xx
642
+ */
643
+ title?: string;
644
+ static names(): {
645
+ [key: string]: string;
646
+ };
647
+ static types(): {
648
+ [key: string]: any;
649
+ };
650
+ constructor(map?: {
651
+ [key: string]: any;
652
+ });
653
+ }
654
+ export declare class ListHotTopicSummariesResponseBodyDataSummary extends $tea.Model {
655
+ summaries?: ListHotTopicSummariesResponseBodyDataSummarySummaries[];
656
+ static names(): {
657
+ [key: string]: string;
658
+ };
659
+ static types(): {
660
+ [key: string]: any;
661
+ };
662
+ constructor(map?: {
663
+ [key: string]: any;
664
+ });
665
+ }
666
+ export declare class ListHotTopicSummariesResponseBodyData extends $tea.Model {
667
+ category?: string;
668
+ /**
669
+ * @example
670
+ * xx
671
+ */
672
+ hotTopic?: string;
673
+ /**
674
+ * @example
675
+ * 2024-09-13_12
676
+ */
677
+ hotTopicVersion?: string;
678
+ /**
679
+ * @example
680
+ * 1000000
681
+ */
682
+ hotValue?: number;
683
+ /**
684
+ * @example
685
+ * db5dc5b3d8954a30b65ba700c9dda3bb
686
+ */
687
+ id?: string;
688
+ news?: ListHotTopicSummariesResponseBodyDataNews[];
689
+ summary?: ListHotTopicSummariesResponseBodyDataSummary;
690
+ /**
691
+ * @example
692
+ * xx
693
+ */
694
+ textSummary?: string;
695
+ static names(): {
696
+ [key: string]: string;
697
+ };
698
+ static types(): {
699
+ [key: string]: any;
700
+ };
701
+ constructor(map?: {
702
+ [key: string]: any;
703
+ });
704
+ }
348
705
  export declare class RunMarketingInformationExtractResponseBodyHeader extends $tea.Model {
349
706
  /**
350
707
  * @example
@@ -521,6 +878,218 @@ export declare class RunMarketingInformationWritingResponseBodyPayload extends $
521
878
  [key: string]: any;
522
879
  });
523
880
  }
881
+ export declare class RunScriptContinueResponseBodyHeader extends $tea.Model {
882
+ /**
883
+ * @example
884
+ * 403
885
+ */
886
+ errorCode?: string;
887
+ /**
888
+ * @example
889
+ * Pop sign mismatch, please check.
890
+ */
891
+ errorMessage?: string;
892
+ /**
893
+ * @example
894
+ * result-generated
895
+ */
896
+ event?: string;
897
+ /**
898
+ * @example
899
+ * 模型生成事件
900
+ */
901
+ eventInfo?: string;
902
+ /**
903
+ * @example
904
+ * 0EB27AE3-CA53-5FAE-83C6-EE66CA4DF5DF
905
+ */
906
+ requestId?: string;
907
+ /**
908
+ * @example
909
+ * 3cd10828-0e42-471c-8f1a-931cde20b035
910
+ */
911
+ sessionId?: string;
912
+ /**
913
+ * @example
914
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
915
+ */
916
+ taskId?: string;
917
+ /**
918
+ * @example
919
+ * 2150451a17191950923411783e2927
920
+ */
921
+ traceId?: string;
922
+ static names(): {
923
+ [key: string]: string;
924
+ };
925
+ static types(): {
926
+ [key: string]: any;
927
+ };
928
+ constructor(map?: {
929
+ [key: string]: any;
930
+ });
931
+ }
932
+ export declare class RunScriptContinueResponseBodyPayloadOutput extends $tea.Model {
933
+ /**
934
+ * @example
935
+ * 这是测试输出
936
+ */
937
+ text?: string;
938
+ static names(): {
939
+ [key: string]: string;
940
+ };
941
+ static types(): {
942
+ [key: string]: any;
943
+ };
944
+ constructor(map?: {
945
+ [key: string]: any;
946
+ });
947
+ }
948
+ export declare class RunScriptContinueResponseBodyPayloadUsage extends $tea.Model {
949
+ /**
950
+ * @example
951
+ * 100
952
+ */
953
+ inputTokens?: number;
954
+ /**
955
+ * @example
956
+ * 100
957
+ */
958
+ outputTokens?: number;
959
+ /**
960
+ * @example
961
+ * 200
962
+ */
963
+ totalTokens?: number;
964
+ static names(): {
965
+ [key: string]: string;
966
+ };
967
+ static types(): {
968
+ [key: string]: any;
969
+ };
970
+ constructor(map?: {
971
+ [key: string]: any;
972
+ });
973
+ }
974
+ export declare class RunScriptContinueResponseBodyPayload extends $tea.Model {
975
+ output?: RunScriptContinueResponseBodyPayloadOutput;
976
+ usage?: RunScriptContinueResponseBodyPayloadUsage;
977
+ static names(): {
978
+ [key: string]: string;
979
+ };
980
+ static types(): {
981
+ [key: string]: any;
982
+ };
983
+ constructor(map?: {
984
+ [key: string]: any;
985
+ });
986
+ }
987
+ export declare class RunScriptPlanningResponseBodyHeader extends $tea.Model {
988
+ /**
989
+ * @example
990
+ * 403
991
+ */
992
+ errorCode?: string;
993
+ /**
994
+ * @example
995
+ * Pop sign mismatch, please check.
996
+ */
997
+ errorMessage?: string;
998
+ /**
999
+ * @example
1000
+ * result-generated
1001
+ */
1002
+ event?: string;
1003
+ /**
1004
+ * @example
1005
+ * 模型生成事件
1006
+ */
1007
+ eventInfo?: string;
1008
+ /**
1009
+ * @example
1010
+ * 0EB27AE3-CA53-5FAE-83C6-EE66CA4DF5DF
1011
+ */
1012
+ requestId?: string;
1013
+ /**
1014
+ * @example
1015
+ * 3cd10828-0e42-471c-8f1a-931cde20b035
1016
+ */
1017
+ sessionId?: string;
1018
+ /**
1019
+ * @example
1020
+ * d3be9981-ca2d-4e17-bf31-1c0a628e9f99
1021
+ */
1022
+ taskId?: string;
1023
+ /**
1024
+ * @example
1025
+ * 2150451a17191950923411783e2927
1026
+ */
1027
+ traceId?: string;
1028
+ static names(): {
1029
+ [key: string]: string;
1030
+ };
1031
+ static types(): {
1032
+ [key: string]: any;
1033
+ };
1034
+ constructor(map?: {
1035
+ [key: string]: any;
1036
+ });
1037
+ }
1038
+ export declare class RunScriptPlanningResponseBodyPayloadOutput extends $tea.Model {
1039
+ /**
1040
+ * @example
1041
+ * 这是测试输出
1042
+ */
1043
+ text?: string;
1044
+ static names(): {
1045
+ [key: string]: string;
1046
+ };
1047
+ static types(): {
1048
+ [key: string]: any;
1049
+ };
1050
+ constructor(map?: {
1051
+ [key: string]: any;
1052
+ });
1053
+ }
1054
+ export declare class RunScriptPlanningResponseBodyPayloadUsage extends $tea.Model {
1055
+ /**
1056
+ * @example
1057
+ * 100
1058
+ */
1059
+ inputTokens?: number;
1060
+ /**
1061
+ * @example
1062
+ * 100
1063
+ */
1064
+ outputTokens?: number;
1065
+ /**
1066
+ * @example
1067
+ * 200
1068
+ */
1069
+ totalTokens?: number;
1070
+ static names(): {
1071
+ [key: string]: string;
1072
+ };
1073
+ static types(): {
1074
+ [key: string]: any;
1075
+ };
1076
+ constructor(map?: {
1077
+ [key: string]: any;
1078
+ });
1079
+ }
1080
+ export declare class RunScriptPlanningResponseBodyPayload extends $tea.Model {
1081
+ output?: RunScriptPlanningResponseBodyPayloadOutput;
1082
+ usage?: RunScriptPlanningResponseBodyPayloadUsage;
1083
+ static names(): {
1084
+ [key: string]: string;
1085
+ };
1086
+ static types(): {
1087
+ [key: string]: any;
1088
+ };
1089
+ constructor(map?: {
1090
+ [key: string]: any;
1091
+ });
1092
+ }
524
1093
  export declare class RunStyleWritingResponseBodyHeader extends $tea.Model {
525
1094
  /**
526
1095
  * @example
@@ -976,8 +1545,23 @@ export declare class RunVideoAnalysisResponseBodyPayloadOutput extends $tea.Mode
976
1545
  [key: string]: any;
977
1546
  });
978
1547
  }
1548
+ export declare class RunVideoAnalysisResponseBodyPayloadUsage extends $tea.Model {
1549
+ inputTokens?: number;
1550
+ outputTokens?: number;
1551
+ totalTokens?: number;
1552
+ static names(): {
1553
+ [key: string]: string;
1554
+ };
1555
+ static types(): {
1556
+ [key: string]: any;
1557
+ };
1558
+ constructor(map?: {
1559
+ [key: string]: any;
1560
+ });
1561
+ }
979
1562
  export declare class RunVideoAnalysisResponseBodyPayload extends $tea.Model {
980
1563
  output?: RunVideoAnalysisResponseBodyPayloadOutput;
1564
+ usage?: RunVideoAnalysisResponseBodyPayloadUsage;
981
1565
  static names(): {
982
1566
  [key: string]: string;
983
1567
  };
@@ -993,6 +1577,24 @@ export default class Client extends OpenApi {
993
1577
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
994
1578
  [key: string]: string;
995
1579
  }, endpoint: string): string;
1580
+ /**
1581
+ * 轻应用-新闻播报-获取热点话题摘要列表
1582
+ *
1583
+ * @param request - ListHotTopicSummariesRequest
1584
+ * @param headers - map
1585
+ * @param runtime - runtime options for this request RuntimeOptions
1586
+ * @returns ListHotTopicSummariesResponse
1587
+ */
1588
+ listHotTopicSummariesWithOptions(workspaceId: string, request: ListHotTopicSummariesRequest, headers: {
1589
+ [key: string]: string;
1590
+ }, runtime: $Util.RuntimeOptions): Promise<ListHotTopicSummariesResponse>;
1591
+ /**
1592
+ * 轻应用-新闻播报-获取热点话题摘要列表
1593
+ *
1594
+ * @param request - ListHotTopicSummariesRequest
1595
+ * @returns ListHotTopicSummariesResponse
1596
+ */
1597
+ listHotTopicSummaries(workspaceId: string, request: ListHotTopicSummariesRequest): Promise<ListHotTopicSummariesResponse>;
996
1598
  /**
997
1599
  * 营销信息抽取服务
998
1600
  *
@@ -1029,6 +1631,42 @@ export default class Client extends OpenApi {
1029
1631
  * @returns RunMarketingInformationWritingResponse
1030
1632
  */
1031
1633
  runMarketingInformationWriting(workspaceId: string, request: RunMarketingInformationWritingRequest): Promise<RunMarketingInformationWritingResponse>;
1634
+ /**
1635
+ * 剧本续写
1636
+ *
1637
+ * @param request - RunScriptContinueRequest
1638
+ * @param headers - map
1639
+ * @param runtime - runtime options for this request RuntimeOptions
1640
+ * @returns RunScriptContinueResponse
1641
+ */
1642
+ runScriptContinueWithOptions(workspaceId: string, request: RunScriptContinueRequest, headers: {
1643
+ [key: string]: string;
1644
+ }, runtime: $Util.RuntimeOptions): Promise<RunScriptContinueResponse>;
1645
+ /**
1646
+ * 剧本续写
1647
+ *
1648
+ * @param request - RunScriptContinueRequest
1649
+ * @returns RunScriptContinueResponse
1650
+ */
1651
+ runScriptContinue(workspaceId: string, request: RunScriptContinueRequest): Promise<RunScriptContinueResponse>;
1652
+ /**
1653
+ * 剧本策划
1654
+ *
1655
+ * @param request - RunScriptPlanningRequest
1656
+ * @param headers - map
1657
+ * @param runtime - runtime options for this request RuntimeOptions
1658
+ * @returns RunScriptPlanningResponse
1659
+ */
1660
+ runScriptPlanningWithOptions(workspaceId: string, request: RunScriptPlanningRequest, headers: {
1661
+ [key: string]: string;
1662
+ }, runtime: $Util.RuntimeOptions): Promise<RunScriptPlanningResponse>;
1663
+ /**
1664
+ * 剧本策划
1665
+ *
1666
+ * @param request - RunScriptPlanningRequest
1667
+ * @returns RunScriptPlanningResponse
1668
+ */
1669
+ runScriptPlanning(workspaceId: string, request: RunScriptPlanningRequest): Promise<RunScriptPlanningResponse>;
1032
1670
  /**
1033
1671
  * 文体学习和写作推理服务
1034
1672
  *