@alicloud/quanmiaolightapp20240801 2.6.0 → 2.6.1
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 +10 -0
- package/dist/client.js +35 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +50 -0
package/dist/client.d.ts
CHANGED
|
@@ -1780,6 +1780,7 @@ export declare class RunMarketingInformationExtractResponseBodyPayload extends $
|
|
|
1780
1780
|
});
|
|
1781
1781
|
}
|
|
1782
1782
|
export declare class RunMarketingInformationWritingResponseBodyHeader extends $dara.Model {
|
|
1783
|
+
errorMessage?: string;
|
|
1783
1784
|
/**
|
|
1784
1785
|
* @example
|
|
1785
1786
|
* result-generated
|
|
@@ -4161,6 +4162,8 @@ export declare class ListHotTopicSummariesResponse extends $dara.Model {
|
|
|
4161
4162
|
});
|
|
4162
4163
|
}
|
|
4163
4164
|
export declare class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
4165
|
+
akProxy?: string;
|
|
4166
|
+
apiKey?: string;
|
|
4164
4167
|
/**
|
|
4165
4168
|
* @remarks
|
|
4166
4169
|
* 需要进行VOC分析的文本内容(content、contents、url、fileKey 四选一。优先级从小到大)
|
|
@@ -4216,6 +4219,8 @@ export declare class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
|
4216
4219
|
});
|
|
4217
4220
|
}
|
|
4218
4221
|
export declare class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
4222
|
+
akProxy?: string;
|
|
4223
|
+
apiKey?: string;
|
|
4219
4224
|
/**
|
|
4220
4225
|
* @remarks
|
|
4221
4226
|
* 需要进行VOC分析的文本内容(content、contents、url、fileKey 四选一。优先级从小到大)
|
|
@@ -4625,6 +4630,7 @@ export declare class RunMarketingInformationExtractResponse extends $dara.Model
|
|
|
4625
4630
|
});
|
|
4626
4631
|
}
|
|
4627
4632
|
export declare class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
4633
|
+
apiKey?: string;
|
|
4628
4634
|
customLimitation?: string;
|
|
4629
4635
|
customPrompt?: string;
|
|
4630
4636
|
inputExample?: string;
|
|
@@ -4685,6 +4691,7 @@ export declare class RunMarketingInformationWritingResponse extends $dara.Model
|
|
|
4685
4691
|
});
|
|
4686
4692
|
}
|
|
4687
4693
|
export declare class RunNetworkContentAuditRequest extends $dara.Model {
|
|
4694
|
+
apiKey?: string;
|
|
4688
4695
|
/**
|
|
4689
4696
|
* @example
|
|
4690
4697
|
* clueMining
|
|
@@ -4731,6 +4738,7 @@ export declare class RunNetworkContentAuditRequest extends $dara.Model {
|
|
|
4731
4738
|
});
|
|
4732
4739
|
}
|
|
4733
4740
|
export declare class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
4741
|
+
apiKey?: string;
|
|
4734
4742
|
/**
|
|
4735
4743
|
* @example
|
|
4736
4744
|
* clueMining
|
|
@@ -5430,6 +5438,7 @@ export declare class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
5430
5438
|
});
|
|
5431
5439
|
}
|
|
5432
5440
|
export declare class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
5441
|
+
apiKey?: string;
|
|
5433
5442
|
contents?: SubmitEnterpriseVocAnalysisTaskRequestContents[];
|
|
5434
5443
|
extraInfo?: string;
|
|
5435
5444
|
/**
|
|
@@ -5463,6 +5472,7 @@ export declare class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model
|
|
|
5463
5472
|
});
|
|
5464
5473
|
}
|
|
5465
5474
|
export declare class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
5475
|
+
apiKey?: string;
|
|
5466
5476
|
contentsShrink?: string;
|
|
5467
5477
|
extraInfo?: string;
|
|
5468
5478
|
/**
|
package/dist/client.js
CHANGED
|
@@ -2011,6 +2011,7 @@ exports.RunMarketingInformationExtractResponseBodyPayload = RunMarketingInformat
|
|
|
2011
2011
|
class RunMarketingInformationWritingResponseBodyHeader extends $dara.Model {
|
|
2012
2012
|
static names() {
|
|
2013
2013
|
return {
|
|
2014
|
+
errorMessage: 'errorMessage',
|
|
2014
2015
|
event: 'event',
|
|
2015
2016
|
eventInfo: 'eventInfo',
|
|
2016
2017
|
requestId: 'requestId',
|
|
@@ -2021,6 +2022,7 @@ class RunMarketingInformationWritingResponseBodyHeader extends $dara.Model {
|
|
|
2021
2022
|
}
|
|
2022
2023
|
static types() {
|
|
2023
2024
|
return {
|
|
2025
|
+
errorMessage: 'string',
|
|
2024
2026
|
event: 'string',
|
|
2025
2027
|
eventInfo: 'string',
|
|
2026
2028
|
requestId: 'string',
|
|
@@ -4556,6 +4558,8 @@ exports.ListHotTopicSummariesResponse = ListHotTopicSummariesResponse;
|
|
|
4556
4558
|
class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
4557
4559
|
static names() {
|
|
4558
4560
|
return {
|
|
4561
|
+
akProxy: 'akProxy',
|
|
4562
|
+
apiKey: 'apiKey',
|
|
4559
4563
|
content: 'content',
|
|
4560
4564
|
extraInfo: 'extraInfo',
|
|
4561
4565
|
filterTags: 'filterTags',
|
|
@@ -4567,6 +4571,8 @@ class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
|
4567
4571
|
}
|
|
4568
4572
|
static types() {
|
|
4569
4573
|
return {
|
|
4574
|
+
akProxy: 'string',
|
|
4575
|
+
apiKey: 'string',
|
|
4570
4576
|
content: 'string',
|
|
4571
4577
|
extraInfo: 'string',
|
|
4572
4578
|
filterTags: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisRequestFilterTags },
|
|
@@ -4593,6 +4599,8 @@ exports.RunEnterpriseVocAnalysisRequest = RunEnterpriseVocAnalysisRequest;
|
|
|
4593
4599
|
class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
4594
4600
|
static names() {
|
|
4595
4601
|
return {
|
|
4602
|
+
akProxy: 'akProxy',
|
|
4603
|
+
apiKey: 'apiKey',
|
|
4596
4604
|
content: 'content',
|
|
4597
4605
|
extraInfo: 'extraInfo',
|
|
4598
4606
|
filterTagsShrink: 'filterTags',
|
|
@@ -4604,6 +4612,8 @@ class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
|
4604
4612
|
}
|
|
4605
4613
|
static types() {
|
|
4606
4614
|
return {
|
|
4615
|
+
akProxy: 'string',
|
|
4616
|
+
apiKey: 'string',
|
|
4607
4617
|
content: 'string',
|
|
4608
4618
|
extraInfo: 'string',
|
|
4609
4619
|
filterTagsShrink: 'string',
|
|
@@ -5055,6 +5065,7 @@ exports.RunMarketingInformationExtractResponse = RunMarketingInformationExtractR
|
|
|
5055
5065
|
class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
5056
5066
|
static names() {
|
|
5057
5067
|
return {
|
|
5068
|
+
apiKey: 'apiKey',
|
|
5058
5069
|
customLimitation: 'customLimitation',
|
|
5059
5070
|
customPrompt: 'customPrompt',
|
|
5060
5071
|
inputExample: 'inputExample',
|
|
@@ -5066,6 +5077,7 @@ class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
|
5066
5077
|
}
|
|
5067
5078
|
static types() {
|
|
5068
5079
|
return {
|
|
5080
|
+
apiKey: 'string',
|
|
5069
5081
|
customLimitation: 'string',
|
|
5070
5082
|
customPrompt: 'string',
|
|
5071
5083
|
inputExample: 'string',
|
|
@@ -5144,6 +5156,7 @@ exports.RunMarketingInformationWritingResponse = RunMarketingInformationWritingR
|
|
|
5144
5156
|
class RunNetworkContentAuditRequest extends $dara.Model {
|
|
5145
5157
|
static names() {
|
|
5146
5158
|
return {
|
|
5159
|
+
apiKey: 'apiKey',
|
|
5147
5160
|
businessType: 'businessType',
|
|
5148
5161
|
content: 'content',
|
|
5149
5162
|
extraInfo: 'extraInfo',
|
|
@@ -5155,6 +5168,7 @@ class RunNetworkContentAuditRequest extends $dara.Model {
|
|
|
5155
5168
|
}
|
|
5156
5169
|
static types() {
|
|
5157
5170
|
return {
|
|
5171
|
+
apiKey: 'string',
|
|
5158
5172
|
businessType: 'string',
|
|
5159
5173
|
content: 'string',
|
|
5160
5174
|
extraInfo: 'string',
|
|
@@ -5178,6 +5192,7 @@ exports.RunNetworkContentAuditRequest = RunNetworkContentAuditRequest;
|
|
|
5178
5192
|
class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
5179
5193
|
static names() {
|
|
5180
5194
|
return {
|
|
5195
|
+
apiKey: 'apiKey',
|
|
5181
5196
|
businessType: 'businessType',
|
|
5182
5197
|
content: 'content',
|
|
5183
5198
|
extraInfo: 'extraInfo',
|
|
@@ -5189,6 +5204,7 @@ class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
|
5189
5204
|
}
|
|
5190
5205
|
static types() {
|
|
5191
5206
|
return {
|
|
5207
|
+
apiKey: 'string',
|
|
5192
5208
|
businessType: 'string',
|
|
5193
5209
|
content: 'string',
|
|
5194
5210
|
extraInfo: 'string',
|
|
@@ -6025,6 +6041,7 @@ exports.RunVideoAnalysisResponse = RunVideoAnalysisResponse;
|
|
|
6025
6041
|
class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
6026
6042
|
static names() {
|
|
6027
6043
|
return {
|
|
6044
|
+
apiKey: 'apiKey',
|
|
6028
6045
|
contents: 'contents',
|
|
6029
6046
|
extraInfo: 'extraInfo',
|
|
6030
6047
|
fileKey: 'fileKey',
|
|
@@ -6038,6 +6055,7 @@ class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
|
6038
6055
|
}
|
|
6039
6056
|
static types() {
|
|
6040
6057
|
return {
|
|
6058
|
+
apiKey: 'string',
|
|
6041
6059
|
contents: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestContents },
|
|
6042
6060
|
extraInfo: 'string',
|
|
6043
6061
|
fileKey: 'string',
|
|
@@ -6069,6 +6087,7 @@ exports.SubmitEnterpriseVocAnalysisTaskRequest = SubmitEnterpriseVocAnalysisTask
|
|
|
6069
6087
|
class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
6070
6088
|
static names() {
|
|
6071
6089
|
return {
|
|
6090
|
+
apiKey: 'apiKey',
|
|
6072
6091
|
contentsShrink: 'contents',
|
|
6073
6092
|
extraInfo: 'extraInfo',
|
|
6074
6093
|
fileKey: 'fileKey',
|
|
@@ -6082,6 +6101,7 @@ class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
6082
6101
|
}
|
|
6083
6102
|
static types() {
|
|
6084
6103
|
return {
|
|
6104
|
+
apiKey: 'string',
|
|
6085
6105
|
contentsShrink: 'string',
|
|
6086
6106
|
extraInfo: 'string',
|
|
6087
6107
|
fileKey: 'string',
|
|
@@ -7000,6 +7020,12 @@ class Client extends openapi_core_1.default {
|
|
|
7000
7020
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7001
7021
|
}
|
|
7002
7022
|
let body = {};
|
|
7023
|
+
if (!$dara.isNull(request.akProxy)) {
|
|
7024
|
+
body["akProxy"] = request.akProxy;
|
|
7025
|
+
}
|
|
7026
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7027
|
+
body["apiKey"] = request.apiKey;
|
|
7028
|
+
}
|
|
7003
7029
|
if (!$dara.isNull(request.content)) {
|
|
7004
7030
|
body["content"] = request.content;
|
|
7005
7031
|
}
|
|
@@ -7261,6 +7287,9 @@ class Client extends openapi_core_1.default {
|
|
|
7261
7287
|
async runMarketingInformationWritingWithOptions(workspaceId, request, headers, runtime) {
|
|
7262
7288
|
request.validate();
|
|
7263
7289
|
let body = {};
|
|
7290
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7291
|
+
body["apiKey"] = request.apiKey;
|
|
7292
|
+
}
|
|
7264
7293
|
if (!$dara.isNull(request.customLimitation)) {
|
|
7265
7294
|
body["customLimitation"] = request.customLimitation;
|
|
7266
7295
|
}
|
|
@@ -7326,6 +7355,9 @@ class Client extends openapi_core_1.default {
|
|
|
7326
7355
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7327
7356
|
}
|
|
7328
7357
|
let body = {};
|
|
7358
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7359
|
+
body["apiKey"] = request.apiKey;
|
|
7360
|
+
}
|
|
7329
7361
|
if (!$dara.isNull(request.businessType)) {
|
|
7330
7362
|
body["businessType"] = request.businessType;
|
|
7331
7363
|
}
|
|
@@ -7838,6 +7870,9 @@ class Client extends openapi_core_1.default {
|
|
|
7838
7870
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7839
7871
|
}
|
|
7840
7872
|
let body = {};
|
|
7873
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7874
|
+
body["apiKey"] = request.apiKey;
|
|
7875
|
+
}
|
|
7841
7876
|
if (!$dara.isNull(request.contentsShrink)) {
|
|
7842
7877
|
body["contents"] = request.contentsShrink;
|
|
7843
7878
|
}
|