@alicloud/aimiaobi20230801 1.1.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 +282 -0
- package/dist/client.js +567 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +730 -14
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;
|
|
@@ -1417,6 +1582,75 @@ export declare class SubmitAsyncTaskResponse extends $tea.Model {
|
|
|
1417
1582
|
[key: string]: any;
|
|
1418
1583
|
});
|
|
1419
1584
|
}
|
|
1585
|
+
export declare class UpdateGeneratedContentRequest extends $tea.Model {
|
|
1586
|
+
agentKey?: string;
|
|
1587
|
+
content?: string;
|
|
1588
|
+
contentText?: string;
|
|
1589
|
+
id?: number;
|
|
1590
|
+
keywords?: string[];
|
|
1591
|
+
prompt?: string;
|
|
1592
|
+
title?: string;
|
|
1593
|
+
static names(): {
|
|
1594
|
+
[key: string]: string;
|
|
1595
|
+
};
|
|
1596
|
+
static types(): {
|
|
1597
|
+
[key: string]: any;
|
|
1598
|
+
};
|
|
1599
|
+
constructor(map?: {
|
|
1600
|
+
[key: string]: any;
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
export declare class UpdateGeneratedContentShrinkRequest extends $tea.Model {
|
|
1604
|
+
agentKey?: string;
|
|
1605
|
+
content?: string;
|
|
1606
|
+
contentText?: string;
|
|
1607
|
+
id?: number;
|
|
1608
|
+
keywordsShrink?: string;
|
|
1609
|
+
prompt?: string;
|
|
1610
|
+
title?: string;
|
|
1611
|
+
static names(): {
|
|
1612
|
+
[key: string]: string;
|
|
1613
|
+
};
|
|
1614
|
+
static types(): {
|
|
1615
|
+
[key: string]: any;
|
|
1616
|
+
};
|
|
1617
|
+
constructor(map?: {
|
|
1618
|
+
[key: string]: any;
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
export declare class UpdateGeneratedContentResponseBody extends $tea.Model {
|
|
1622
|
+
code?: string;
|
|
1623
|
+
data?: boolean;
|
|
1624
|
+
httpStatusCode?: number;
|
|
1625
|
+
message?: string;
|
|
1626
|
+
requestId?: string;
|
|
1627
|
+
success?: boolean;
|
|
1628
|
+
static names(): {
|
|
1629
|
+
[key: string]: string;
|
|
1630
|
+
};
|
|
1631
|
+
static types(): {
|
|
1632
|
+
[key: string]: any;
|
|
1633
|
+
};
|
|
1634
|
+
constructor(map?: {
|
|
1635
|
+
[key: string]: any;
|
|
1636
|
+
});
|
|
1637
|
+
}
|
|
1638
|
+
export declare class UpdateGeneratedContentResponse extends $tea.Model {
|
|
1639
|
+
headers: {
|
|
1640
|
+
[key: string]: string;
|
|
1641
|
+
};
|
|
1642
|
+
statusCode: number;
|
|
1643
|
+
body: UpdateGeneratedContentResponseBody;
|
|
1644
|
+
static names(): {
|
|
1645
|
+
[key: string]: string;
|
|
1646
|
+
};
|
|
1647
|
+
static types(): {
|
|
1648
|
+
[key: string]: any;
|
|
1649
|
+
};
|
|
1650
|
+
constructor(map?: {
|
|
1651
|
+
[key: string]: any;
|
|
1652
|
+
});
|
|
1653
|
+
}
|
|
1420
1654
|
export declare class UpdateMaterialDocumentRequest extends $tea.Model {
|
|
1421
1655
|
agentKey?: string;
|
|
1422
1656
|
author?: string;
|
|
@@ -1596,6 +1830,22 @@ export declare class GenerateImageTaskResponseBodyData extends $tea.Model {
|
|
|
1596
1830
|
[key: string]: any;
|
|
1597
1831
|
});
|
|
1598
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
|
+
}
|
|
1599
1849
|
export declare class GenerateViewPointRequestReferenceData extends $tea.Model {
|
|
1600
1850
|
miniDoc?: string[];
|
|
1601
1851
|
static names(): {
|
|
@@ -2095,6 +2345,30 @@ export declare class SaveDataSourceOrderConfigRequestUserConfigDataSourceList ex
|
|
|
2095
2345
|
[key: string]: any;
|
|
2096
2346
|
});
|
|
2097
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
|
+
}
|
|
2098
2372
|
export declare class SubmitAsyncTaskResponseBodyData extends $tea.Model {
|
|
2099
2373
|
taskId?: string;
|
|
2100
2374
|
taskIntermediateResult?: any;
|
|
@@ -2130,8 +2404,12 @@ export default class Client extends OpenApi {
|
|
|
2130
2404
|
feedbackDialogue(request: FeedbackDialogueRequest): Promise<FeedbackDialogueResponse>;
|
|
2131
2405
|
fetchImageTaskWithOptions(tmpReq: FetchImageTaskRequest, runtime: $Util.RuntimeOptions): Promise<FetchImageTaskResponse>;
|
|
2132
2406
|
fetchImageTask(request: FetchImageTaskRequest): Promise<FetchImageTaskResponse>;
|
|
2407
|
+
generateFileUrlByKeyWithOptions(request: GenerateFileUrlByKeyRequest, runtime: $Util.RuntimeOptions): Promise<GenerateFileUrlByKeyResponse>;
|
|
2408
|
+
generateFileUrlByKey(request: GenerateFileUrlByKeyRequest): Promise<GenerateFileUrlByKeyResponse>;
|
|
2133
2409
|
generateImageTaskWithOptions(tmpReq: GenerateImageTaskRequest, runtime: $Util.RuntimeOptions): Promise<GenerateImageTaskResponse>;
|
|
2134
2410
|
generateImageTask(request: GenerateImageTaskRequest): Promise<GenerateImageTaskResponse>;
|
|
2411
|
+
generateUploadConfigWithOptions(request: GenerateUploadConfigRequest, runtime: $Util.RuntimeOptions): Promise<GenerateUploadConfigResponse>;
|
|
2412
|
+
generateUploadConfig(request: GenerateUploadConfigRequest): Promise<GenerateUploadConfigResponse>;
|
|
2135
2413
|
generateViewPointWithOptions(tmpReq: GenerateViewPointRequest, runtime: $Util.RuntimeOptions): Promise<GenerateViewPointResponse>;
|
|
2136
2414
|
generateViewPoint(request: GenerateViewPointRequest): Promise<GenerateViewPointResponse>;
|
|
2137
2415
|
getDataSourceOrderConfigWithOptions(request: GetDataSourceOrderConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetDataSourceOrderConfigResponse>;
|
|
@@ -2162,8 +2440,12 @@ export default class Client extends OpenApi {
|
|
|
2162
2440
|
saveDataSourceOrderConfig(request: SaveDataSourceOrderConfigRequest): Promise<SaveDataSourceOrderConfigResponse>;
|
|
2163
2441
|
saveMaterialDocumentWithOptions(tmpReq: SaveMaterialDocumentRequest, runtime: $Util.RuntimeOptions): Promise<SaveMaterialDocumentResponse>;
|
|
2164
2442
|
saveMaterialDocument(request: SaveMaterialDocumentRequest): Promise<SaveMaterialDocumentResponse>;
|
|
2443
|
+
searchNewsWithOptions(tmpReq: SearchNewsRequest, runtime: $Util.RuntimeOptions): Promise<SearchNewsResponse>;
|
|
2444
|
+
searchNews(request: SearchNewsRequest): Promise<SearchNewsResponse>;
|
|
2165
2445
|
submitAsyncTaskWithOptions(request: SubmitAsyncTaskRequest, runtime: $Util.RuntimeOptions): Promise<SubmitAsyncTaskResponse>;
|
|
2166
2446
|
submitAsyncTask(request: SubmitAsyncTaskRequest): Promise<SubmitAsyncTaskResponse>;
|
|
2447
|
+
updateGeneratedContentWithOptions(tmpReq: UpdateGeneratedContentRequest, runtime: $Util.RuntimeOptions): Promise<UpdateGeneratedContentResponse>;
|
|
2448
|
+
updateGeneratedContent(request: UpdateGeneratedContentRequest): Promise<UpdateGeneratedContentResponse>;
|
|
2167
2449
|
updateMaterialDocumentWithOptions(tmpReq: UpdateMaterialDocumentRequest, runtime: $Util.RuntimeOptions): Promise<UpdateMaterialDocumentResponse>;
|
|
2168
2450
|
updateMaterialDocument(request: UpdateMaterialDocumentRequest): Promise<UpdateMaterialDocumentResponse>;
|
|
2169
2451
|
}
|