@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3059,6 +3059,7 @@ export class RunMarketingInformationExtractResponseBodyPayload extends $dara.Mod
|
|
|
3059
3059
|
}
|
|
3060
3060
|
|
|
3061
3061
|
export class RunMarketingInformationWritingResponseBodyHeader extends $dara.Model {
|
|
3062
|
+
errorMessage?: string;
|
|
3062
3063
|
/**
|
|
3063
3064
|
* @example
|
|
3064
3065
|
* result-generated
|
|
@@ -3087,6 +3088,7 @@ export class RunMarketingInformationWritingResponseBodyHeader extends $dara.Mode
|
|
|
3087
3088
|
traceId?: string;
|
|
3088
3089
|
static names(): { [key: string]: string } {
|
|
3089
3090
|
return {
|
|
3091
|
+
errorMessage: 'errorMessage',
|
|
3090
3092
|
event: 'event',
|
|
3091
3093
|
eventInfo: 'eventInfo',
|
|
3092
3094
|
requestId: 'requestId',
|
|
@@ -3098,6 +3100,7 @@ export class RunMarketingInformationWritingResponseBodyHeader extends $dara.Mode
|
|
|
3098
3100
|
|
|
3099
3101
|
static types(): { [key: string]: any } {
|
|
3100
3102
|
return {
|
|
3103
|
+
errorMessage: 'string',
|
|
3101
3104
|
event: 'string',
|
|
3102
3105
|
eventInfo: 'string',
|
|
3103
3106
|
requestId: 'string',
|
|
@@ -7083,6 +7086,8 @@ export class ListHotTopicSummariesResponse extends $dara.Model {
|
|
|
7083
7086
|
}
|
|
7084
7087
|
|
|
7085
7088
|
export class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
7089
|
+
akProxy?: string;
|
|
7090
|
+
apiKey?: string;
|
|
7086
7091
|
/**
|
|
7087
7092
|
* @remarks
|
|
7088
7093
|
* 需要进行VOC分析的文本内容(content、contents、url、fileKey 四选一。优先级从小到大)
|
|
@@ -7128,6 +7133,8 @@ export class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
|
7128
7133
|
taskDescription?: string;
|
|
7129
7134
|
static names(): { [key: string]: string } {
|
|
7130
7135
|
return {
|
|
7136
|
+
akProxy: 'akProxy',
|
|
7137
|
+
apiKey: 'apiKey',
|
|
7131
7138
|
content: 'content',
|
|
7132
7139
|
extraInfo: 'extraInfo',
|
|
7133
7140
|
filterTags: 'filterTags',
|
|
@@ -7140,6 +7147,8 @@ export class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
|
7140
7147
|
|
|
7141
7148
|
static types(): { [key: string]: any } {
|
|
7142
7149
|
return {
|
|
7150
|
+
akProxy: 'string',
|
|
7151
|
+
apiKey: 'string',
|
|
7143
7152
|
content: 'string',
|
|
7144
7153
|
extraInfo: 'string',
|
|
7145
7154
|
filterTags: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisRequestFilterTags },
|
|
@@ -7166,6 +7175,8 @@ export class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
|
7166
7175
|
}
|
|
7167
7176
|
|
|
7168
7177
|
export class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
7178
|
+
akProxy?: string;
|
|
7179
|
+
apiKey?: string;
|
|
7169
7180
|
/**
|
|
7170
7181
|
* @remarks
|
|
7171
7182
|
* 需要进行VOC分析的文本内容(content、contents、url、fileKey 四选一。优先级从小到大)
|
|
@@ -7211,6 +7222,8 @@ export class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
|
7211
7222
|
taskDescription?: string;
|
|
7212
7223
|
static names(): { [key: string]: string } {
|
|
7213
7224
|
return {
|
|
7225
|
+
akProxy: 'akProxy',
|
|
7226
|
+
apiKey: 'apiKey',
|
|
7214
7227
|
content: 'content',
|
|
7215
7228
|
extraInfo: 'extraInfo',
|
|
7216
7229
|
filterTagsShrink: 'filterTags',
|
|
@@ -7223,6 +7236,8 @@ export class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
|
7223
7236
|
|
|
7224
7237
|
static types(): { [key: string]: any } {
|
|
7225
7238
|
return {
|
|
7239
|
+
akProxy: 'string',
|
|
7240
|
+
apiKey: 'string',
|
|
7226
7241
|
content: 'string',
|
|
7227
7242
|
extraInfo: 'string',
|
|
7228
7243
|
filterTagsShrink: 'string',
|
|
@@ -7894,6 +7909,7 @@ export class RunMarketingInformationExtractResponse extends $dara.Model {
|
|
|
7894
7909
|
}
|
|
7895
7910
|
|
|
7896
7911
|
export class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
7912
|
+
apiKey?: string;
|
|
7897
7913
|
customLimitation?: string;
|
|
7898
7914
|
customPrompt?: string;
|
|
7899
7915
|
inputExample?: string;
|
|
@@ -7908,6 +7924,7 @@ export class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
|
7908
7924
|
writingType?: string;
|
|
7909
7925
|
static names(): { [key: string]: string } {
|
|
7910
7926
|
return {
|
|
7927
|
+
apiKey: 'apiKey',
|
|
7911
7928
|
customLimitation: 'customLimitation',
|
|
7912
7929
|
customPrompt: 'customPrompt',
|
|
7913
7930
|
inputExample: 'inputExample',
|
|
@@ -7920,6 +7937,7 @@ export class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
|
7920
7937
|
|
|
7921
7938
|
static types(): { [key: string]: any } {
|
|
7922
7939
|
return {
|
|
7940
|
+
apiKey: 'string',
|
|
7923
7941
|
customLimitation: 'string',
|
|
7924
7942
|
customPrompt: 'string',
|
|
7925
7943
|
inputExample: 'string',
|
|
@@ -8014,6 +8032,7 @@ export class RunMarketingInformationWritingResponse extends $dara.Model {
|
|
|
8014
8032
|
}
|
|
8015
8033
|
|
|
8016
8034
|
export class RunNetworkContentAuditRequest extends $dara.Model {
|
|
8035
|
+
apiKey?: string;
|
|
8017
8036
|
/**
|
|
8018
8037
|
* @example
|
|
8019
8038
|
* clueMining
|
|
@@ -8050,6 +8069,7 @@ export class RunNetworkContentAuditRequest extends $dara.Model {
|
|
|
8050
8069
|
taskDescription?: string;
|
|
8051
8070
|
static names(): { [key: string]: string } {
|
|
8052
8071
|
return {
|
|
8072
|
+
apiKey: 'apiKey',
|
|
8053
8073
|
businessType: 'businessType',
|
|
8054
8074
|
content: 'content',
|
|
8055
8075
|
extraInfo: 'extraInfo',
|
|
@@ -8062,6 +8082,7 @@ export class RunNetworkContentAuditRequest extends $dara.Model {
|
|
|
8062
8082
|
|
|
8063
8083
|
static types(): { [key: string]: any } {
|
|
8064
8084
|
return {
|
|
8085
|
+
apiKey: 'string',
|
|
8065
8086
|
businessType: 'string',
|
|
8066
8087
|
content: 'string',
|
|
8067
8088
|
extraInfo: 'string',
|
|
@@ -8085,6 +8106,7 @@ export class RunNetworkContentAuditRequest extends $dara.Model {
|
|
|
8085
8106
|
}
|
|
8086
8107
|
|
|
8087
8108
|
export class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
8109
|
+
apiKey?: string;
|
|
8088
8110
|
/**
|
|
8089
8111
|
* @example
|
|
8090
8112
|
* clueMining
|
|
@@ -8121,6 +8143,7 @@ export class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
|
8121
8143
|
taskDescription?: string;
|
|
8122
8144
|
static names(): { [key: string]: string } {
|
|
8123
8145
|
return {
|
|
8146
|
+
apiKey: 'apiKey',
|
|
8124
8147
|
businessType: 'businessType',
|
|
8125
8148
|
content: 'content',
|
|
8126
8149
|
extraInfo: 'extraInfo',
|
|
@@ -8133,6 +8156,7 @@ export class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
|
8133
8156
|
|
|
8134
8157
|
static types(): { [key: string]: any } {
|
|
8135
8158
|
return {
|
|
8159
|
+
apiKey: 'string',
|
|
8136
8160
|
businessType: 'string',
|
|
8137
8161
|
content: 'string',
|
|
8138
8162
|
extraInfo: 'string',
|
|
@@ -9372,6 +9396,7 @@ export class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
9372
9396
|
}
|
|
9373
9397
|
|
|
9374
9398
|
export class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
9399
|
+
apiKey?: string;
|
|
9375
9400
|
contents?: SubmitEnterpriseVocAnalysisTaskRequestContents[];
|
|
9376
9401
|
extraInfo?: string;
|
|
9377
9402
|
/**
|
|
@@ -9395,6 +9420,7 @@ export class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
|
9395
9420
|
url?: string;
|
|
9396
9421
|
static names(): { [key: string]: string } {
|
|
9397
9422
|
return {
|
|
9423
|
+
apiKey: 'apiKey',
|
|
9398
9424
|
contents: 'contents',
|
|
9399
9425
|
extraInfo: 'extraInfo',
|
|
9400
9426
|
fileKey: 'fileKey',
|
|
@@ -9409,6 +9435,7 @@ export class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
|
9409
9435
|
|
|
9410
9436
|
static types(): { [key: string]: any } {
|
|
9411
9437
|
return {
|
|
9438
|
+
apiKey: 'string',
|
|
9412
9439
|
contents: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestContents },
|
|
9413
9440
|
extraInfo: 'string',
|
|
9414
9441
|
fileKey: 'string',
|
|
@@ -9440,6 +9467,7 @@ export class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
|
9440
9467
|
}
|
|
9441
9468
|
|
|
9442
9469
|
export class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
9470
|
+
apiKey?: string;
|
|
9443
9471
|
contentsShrink?: string;
|
|
9444
9472
|
extraInfo?: string;
|
|
9445
9473
|
/**
|
|
@@ -9463,6 +9491,7 @@ export class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
9463
9491
|
url?: string;
|
|
9464
9492
|
static names(): { [key: string]: string } {
|
|
9465
9493
|
return {
|
|
9494
|
+
apiKey: 'apiKey',
|
|
9466
9495
|
contentsShrink: 'contents',
|
|
9467
9496
|
extraInfo: 'extraInfo',
|
|
9468
9497
|
fileKey: 'fileKey',
|
|
@@ -9477,6 +9506,7 @@ export class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
9477
9506
|
|
|
9478
9507
|
static types(): { [key: string]: any } {
|
|
9479
9508
|
return {
|
|
9509
|
+
apiKey: 'string',
|
|
9480
9510
|
contentsShrink: 'string',
|
|
9481
9511
|
extraInfo: 'string',
|
|
9482
9512
|
fileKey: 'string',
|
|
@@ -10783,6 +10813,14 @@ export default class Client extends OpenApi {
|
|
|
10783
10813
|
}
|
|
10784
10814
|
|
|
10785
10815
|
let body : {[key: string ]: any} = { };
|
|
10816
|
+
if (!$dara.isNull(request.akProxy)) {
|
|
10817
|
+
body["akProxy"] = request.akProxy;
|
|
10818
|
+
}
|
|
10819
|
+
|
|
10820
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
10821
|
+
body["apiKey"] = request.apiKey;
|
|
10822
|
+
}
|
|
10823
|
+
|
|
10786
10824
|
if (!$dara.isNull(request.content)) {
|
|
10787
10825
|
body["content"] = request.content;
|
|
10788
10826
|
}
|
|
@@ -11085,6 +11123,10 @@ export default class Client extends OpenApi {
|
|
|
11085
11123
|
async runMarketingInformationWritingWithOptions(workspaceId: string, request: RunMarketingInformationWritingRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<RunMarketingInformationWritingResponse> {
|
|
11086
11124
|
request.validate();
|
|
11087
11125
|
let body : {[key: string ]: any} = { };
|
|
11126
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
11127
|
+
body["apiKey"] = request.apiKey;
|
|
11128
|
+
}
|
|
11129
|
+
|
|
11088
11130
|
if (!$dara.isNull(request.customLimitation)) {
|
|
11089
11131
|
body["customLimitation"] = request.customLimitation;
|
|
11090
11132
|
}
|
|
@@ -11160,6 +11202,10 @@ export default class Client extends OpenApi {
|
|
|
11160
11202
|
}
|
|
11161
11203
|
|
|
11162
11204
|
let body : {[key: string ]: any} = { };
|
|
11205
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
11206
|
+
body["apiKey"] = request.apiKey;
|
|
11207
|
+
}
|
|
11208
|
+
|
|
11163
11209
|
if (!$dara.isNull(request.businessType)) {
|
|
11164
11210
|
body["businessType"] = request.businessType;
|
|
11165
11211
|
}
|
|
@@ -11752,6 +11798,10 @@ export default class Client extends OpenApi {
|
|
|
11752
11798
|
}
|
|
11753
11799
|
|
|
11754
11800
|
let body : {[key: string ]: any} = { };
|
|
11801
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
11802
|
+
body["apiKey"] = request.apiKey;
|
|
11803
|
+
}
|
|
11804
|
+
|
|
11755
11805
|
if (!$dara.isNull(request.contentsShrink)) {
|
|
11756
11806
|
body["contents"] = request.contentsShrink;
|
|
11757
11807
|
}
|