@alicloud/aimiaobi20230801 1.2.0 → 1.3.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 +211 -0
- package/dist/client.js +414 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +522 -0
package/dist/client.d.ts
CHANGED
|
@@ -437,6 +437,52 @@ export declare class FetchImageTaskResponse extends $tea.Model {
|
|
|
437
437
|
[key: string]: any;
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
|
+
export declare class GenerateFileUrlByKeyRequest extends $tea.Model {
|
|
441
|
+
agentKey?: string;
|
|
442
|
+
fileKey?: string;
|
|
443
|
+
static names(): {
|
|
444
|
+
[key: string]: string;
|
|
445
|
+
};
|
|
446
|
+
static types(): {
|
|
447
|
+
[key: string]: any;
|
|
448
|
+
};
|
|
449
|
+
constructor(map?: {
|
|
450
|
+
[key: string]: any;
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
export declare class GenerateFileUrlByKeyResponseBody extends $tea.Model {
|
|
454
|
+
code?: string;
|
|
455
|
+
data?: string;
|
|
456
|
+
httpStatusCode?: number;
|
|
457
|
+
message?: string;
|
|
458
|
+
requestId?: string;
|
|
459
|
+
success?: boolean;
|
|
460
|
+
static names(): {
|
|
461
|
+
[key: string]: string;
|
|
462
|
+
};
|
|
463
|
+
static types(): {
|
|
464
|
+
[key: string]: any;
|
|
465
|
+
};
|
|
466
|
+
constructor(map?: {
|
|
467
|
+
[key: string]: any;
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
export declare class GenerateFileUrlByKeyResponse extends $tea.Model {
|
|
471
|
+
headers: {
|
|
472
|
+
[key: string]: string;
|
|
473
|
+
};
|
|
474
|
+
statusCode: number;
|
|
475
|
+
body: GenerateFileUrlByKeyResponseBody;
|
|
476
|
+
static names(): {
|
|
477
|
+
[key: string]: string;
|
|
478
|
+
};
|
|
479
|
+
static types(): {
|
|
480
|
+
[key: string]: any;
|
|
481
|
+
};
|
|
482
|
+
constructor(map?: {
|
|
483
|
+
[key: string]: any;
|
|
484
|
+
});
|
|
485
|
+
}
|
|
440
486
|
export declare class GenerateImageTaskRequest extends $tea.Model {
|
|
441
487
|
agentKey?: string;
|
|
442
488
|
articleTaskId?: string;
|
|
@@ -502,6 +548,53 @@ export declare class GenerateImageTaskResponse extends $tea.Model {
|
|
|
502
548
|
[key: string]: any;
|
|
503
549
|
});
|
|
504
550
|
}
|
|
551
|
+
export declare class GenerateUploadConfigRequest extends $tea.Model {
|
|
552
|
+
agentKey?: string;
|
|
553
|
+
fileName?: string;
|
|
554
|
+
parentDir?: string;
|
|
555
|
+
static names(): {
|
|
556
|
+
[key: string]: string;
|
|
557
|
+
};
|
|
558
|
+
static types(): {
|
|
559
|
+
[key: string]: any;
|
|
560
|
+
};
|
|
561
|
+
constructor(map?: {
|
|
562
|
+
[key: string]: any;
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
export declare class GenerateUploadConfigResponseBody extends $tea.Model {
|
|
566
|
+
code?: string;
|
|
567
|
+
data?: GenerateUploadConfigResponseBodyData;
|
|
568
|
+
httpStatusCode?: number;
|
|
569
|
+
message?: string;
|
|
570
|
+
requestId?: string;
|
|
571
|
+
success?: boolean;
|
|
572
|
+
static names(): {
|
|
573
|
+
[key: string]: string;
|
|
574
|
+
};
|
|
575
|
+
static types(): {
|
|
576
|
+
[key: string]: any;
|
|
577
|
+
};
|
|
578
|
+
constructor(map?: {
|
|
579
|
+
[key: string]: any;
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
export declare class GenerateUploadConfigResponse extends $tea.Model {
|
|
583
|
+
headers: {
|
|
584
|
+
[key: string]: string;
|
|
585
|
+
};
|
|
586
|
+
statusCode: number;
|
|
587
|
+
body: GenerateUploadConfigResponseBody;
|
|
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
|
+
}
|
|
505
598
|
export declare class GenerateViewPointRequest extends $tea.Model {
|
|
506
599
|
agentKey?: string;
|
|
507
600
|
referenceData?: GenerateViewPointRequestReferenceData;
|
|
@@ -1368,6 +1461,78 @@ export declare class SaveMaterialDocumentResponse extends $tea.Model {
|
|
|
1368
1461
|
[key: string]: any;
|
|
1369
1462
|
});
|
|
1370
1463
|
}
|
|
1464
|
+
export declare class SearchNewsRequest extends $tea.Model {
|
|
1465
|
+
agentKey?: string;
|
|
1466
|
+
filterNotNull?: boolean;
|
|
1467
|
+
includeContent?: boolean;
|
|
1468
|
+
page?: number;
|
|
1469
|
+
pageSize?: number;
|
|
1470
|
+
query?: string;
|
|
1471
|
+
searchSources?: string[];
|
|
1472
|
+
static names(): {
|
|
1473
|
+
[key: string]: string;
|
|
1474
|
+
};
|
|
1475
|
+
static types(): {
|
|
1476
|
+
[key: string]: any;
|
|
1477
|
+
};
|
|
1478
|
+
constructor(map?: {
|
|
1479
|
+
[key: string]: any;
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
export declare class SearchNewsShrinkRequest extends $tea.Model {
|
|
1483
|
+
agentKey?: string;
|
|
1484
|
+
filterNotNull?: boolean;
|
|
1485
|
+
includeContent?: boolean;
|
|
1486
|
+
page?: number;
|
|
1487
|
+
pageSize?: number;
|
|
1488
|
+
query?: string;
|
|
1489
|
+
searchSourcesShrink?: string;
|
|
1490
|
+
static names(): {
|
|
1491
|
+
[key: string]: string;
|
|
1492
|
+
};
|
|
1493
|
+
static types(): {
|
|
1494
|
+
[key: string]: any;
|
|
1495
|
+
};
|
|
1496
|
+
constructor(map?: {
|
|
1497
|
+
[key: string]: any;
|
|
1498
|
+
});
|
|
1499
|
+
}
|
|
1500
|
+
export declare class SearchNewsResponseBody extends $tea.Model {
|
|
1501
|
+
code?: string;
|
|
1502
|
+
current?: number;
|
|
1503
|
+
data?: SearchNewsResponseBodyData[];
|
|
1504
|
+
httpStatusCode?: number;
|
|
1505
|
+
message?: string;
|
|
1506
|
+
requestId?: string;
|
|
1507
|
+
size?: number;
|
|
1508
|
+
success?: boolean;
|
|
1509
|
+
total?: number;
|
|
1510
|
+
static names(): {
|
|
1511
|
+
[key: string]: string;
|
|
1512
|
+
};
|
|
1513
|
+
static types(): {
|
|
1514
|
+
[key: string]: any;
|
|
1515
|
+
};
|
|
1516
|
+
constructor(map?: {
|
|
1517
|
+
[key: string]: any;
|
|
1518
|
+
});
|
|
1519
|
+
}
|
|
1520
|
+
export declare class SearchNewsResponse extends $tea.Model {
|
|
1521
|
+
headers: {
|
|
1522
|
+
[key: string]: string;
|
|
1523
|
+
};
|
|
1524
|
+
statusCode: number;
|
|
1525
|
+
body: SearchNewsResponseBody;
|
|
1526
|
+
static names(): {
|
|
1527
|
+
[key: string]: string;
|
|
1528
|
+
};
|
|
1529
|
+
static types(): {
|
|
1530
|
+
[key: string]: any;
|
|
1531
|
+
};
|
|
1532
|
+
constructor(map?: {
|
|
1533
|
+
[key: string]: any;
|
|
1534
|
+
});
|
|
1535
|
+
}
|
|
1371
1536
|
export declare class SubmitAsyncTaskRequest extends $tea.Model {
|
|
1372
1537
|
agentKey?: string;
|
|
1373
1538
|
taskCode?: string;
|
|
@@ -1665,6 +1830,22 @@ export declare class GenerateImageTaskResponseBodyData extends $tea.Model {
|
|
|
1665
1830
|
[key: string]: any;
|
|
1666
1831
|
});
|
|
1667
1832
|
}
|
|
1833
|
+
export declare class GenerateUploadConfigResponseBodyData extends $tea.Model {
|
|
1834
|
+
fileKey?: string;
|
|
1835
|
+
formDatas?: {
|
|
1836
|
+
[key: string]: any;
|
|
1837
|
+
};
|
|
1838
|
+
postUrl?: string;
|
|
1839
|
+
static names(): {
|
|
1840
|
+
[key: string]: string;
|
|
1841
|
+
};
|
|
1842
|
+
static types(): {
|
|
1843
|
+
[key: string]: any;
|
|
1844
|
+
};
|
|
1845
|
+
constructor(map?: {
|
|
1846
|
+
[key: string]: any;
|
|
1847
|
+
});
|
|
1848
|
+
}
|
|
1668
1849
|
export declare class GenerateViewPointRequestReferenceData extends $tea.Model {
|
|
1669
1850
|
miniDoc?: string[];
|
|
1670
1851
|
static names(): {
|
|
@@ -2164,6 +2345,30 @@ export declare class SaveDataSourceOrderConfigRequestUserConfigDataSourceList ex
|
|
|
2164
2345
|
[key: string]: any;
|
|
2165
2346
|
});
|
|
2166
2347
|
}
|
|
2348
|
+
export declare class SearchNewsResponseBodyData extends $tea.Model {
|
|
2349
|
+
author?: string;
|
|
2350
|
+
content?: string;
|
|
2351
|
+
docUuid?: string;
|
|
2352
|
+
imageUrls?: string[];
|
|
2353
|
+
pubTime?: string;
|
|
2354
|
+
searchSource?: string;
|
|
2355
|
+
searchSourceName?: string;
|
|
2356
|
+
source?: string;
|
|
2357
|
+
summary?: string;
|
|
2358
|
+
tag?: string;
|
|
2359
|
+
title?: string;
|
|
2360
|
+
updateTime?: string;
|
|
2361
|
+
url?: string;
|
|
2362
|
+
static names(): {
|
|
2363
|
+
[key: string]: string;
|
|
2364
|
+
};
|
|
2365
|
+
static types(): {
|
|
2366
|
+
[key: string]: any;
|
|
2367
|
+
};
|
|
2368
|
+
constructor(map?: {
|
|
2369
|
+
[key: string]: any;
|
|
2370
|
+
});
|
|
2371
|
+
}
|
|
2167
2372
|
export declare class SubmitAsyncTaskResponseBodyData extends $tea.Model {
|
|
2168
2373
|
taskId?: string;
|
|
2169
2374
|
taskIntermediateResult?: any;
|
|
@@ -2199,8 +2404,12 @@ export default class Client extends OpenApi {
|
|
|
2199
2404
|
feedbackDialogue(request: FeedbackDialogueRequest): Promise<FeedbackDialogueResponse>;
|
|
2200
2405
|
fetchImageTaskWithOptions(tmpReq: FetchImageTaskRequest, runtime: $Util.RuntimeOptions): Promise<FetchImageTaskResponse>;
|
|
2201
2406
|
fetchImageTask(request: FetchImageTaskRequest): Promise<FetchImageTaskResponse>;
|
|
2407
|
+
generateFileUrlByKeyWithOptions(request: GenerateFileUrlByKeyRequest, runtime: $Util.RuntimeOptions): Promise<GenerateFileUrlByKeyResponse>;
|
|
2408
|
+
generateFileUrlByKey(request: GenerateFileUrlByKeyRequest): Promise<GenerateFileUrlByKeyResponse>;
|
|
2202
2409
|
generateImageTaskWithOptions(tmpReq: GenerateImageTaskRequest, runtime: $Util.RuntimeOptions): Promise<GenerateImageTaskResponse>;
|
|
2203
2410
|
generateImageTask(request: GenerateImageTaskRequest): Promise<GenerateImageTaskResponse>;
|
|
2411
|
+
generateUploadConfigWithOptions(request: GenerateUploadConfigRequest, runtime: $Util.RuntimeOptions): Promise<GenerateUploadConfigResponse>;
|
|
2412
|
+
generateUploadConfig(request: GenerateUploadConfigRequest): Promise<GenerateUploadConfigResponse>;
|
|
2204
2413
|
generateViewPointWithOptions(tmpReq: GenerateViewPointRequest, runtime: $Util.RuntimeOptions): Promise<GenerateViewPointResponse>;
|
|
2205
2414
|
generateViewPoint(request: GenerateViewPointRequest): Promise<GenerateViewPointResponse>;
|
|
2206
2415
|
getDataSourceOrderConfigWithOptions(request: GetDataSourceOrderConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetDataSourceOrderConfigResponse>;
|
|
@@ -2231,6 +2440,8 @@ export default class Client extends OpenApi {
|
|
|
2231
2440
|
saveDataSourceOrderConfig(request: SaveDataSourceOrderConfigRequest): Promise<SaveDataSourceOrderConfigResponse>;
|
|
2232
2441
|
saveMaterialDocumentWithOptions(tmpReq: SaveMaterialDocumentRequest, runtime: $Util.RuntimeOptions): Promise<SaveMaterialDocumentResponse>;
|
|
2233
2442
|
saveMaterialDocument(request: SaveMaterialDocumentRequest): Promise<SaveMaterialDocumentResponse>;
|
|
2443
|
+
searchNewsWithOptions(tmpReq: SearchNewsRequest, runtime: $Util.RuntimeOptions): Promise<SearchNewsResponse>;
|
|
2444
|
+
searchNews(request: SearchNewsRequest): Promise<SearchNewsResponse>;
|
|
2234
2445
|
submitAsyncTaskWithOptions(request: SubmitAsyncTaskRequest, runtime: $Util.RuntimeOptions): Promise<SubmitAsyncTaskResponse>;
|
|
2235
2446
|
submitAsyncTask(request: SubmitAsyncTaskRequest): Promise<SubmitAsyncTaskResponse>;
|
|
2236
2447
|
updateGeneratedContentWithOptions(tmpReq: UpdateGeneratedContentRequest, runtime: $Util.RuntimeOptions): Promise<UpdateGeneratedContentResponse>;
|