@alicloud/dms20250414 4.4.0 → 4.5.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 +15 -0
- package/dist/client.js +42 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeDataAgentSkillDownloadRequest.d.ts +29 -0
- package/dist/models/DescribeDataAgentSkillDownloadRequest.js +60 -0
- package/dist/models/DescribeDataAgentSkillDownloadRequest.js.map +1 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.d.ts +19 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.js +69 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponse.js.map +1 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.d.ts +97 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js +94 -0
- package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +20 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -0
- package/src/models/DescribeDataAgentSkillDownloadRequest.ts +44 -0
- package/src/models/DescribeDataAgentSkillDownloadResponse.ts +40 -0
- package/src/models/DescribeDataAgentSkillDownloadResponseBody.ts +137 -0
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -662,6 +662,21 @@ export default class Client extends OpenApi {
|
|
|
662
662
|
* @returns DescribeDataAgentSessionResponse
|
|
663
663
|
*/
|
|
664
664
|
describeDataAgentSession(request: $_model.DescribeDataAgentSessionRequest): Promise<$_model.DescribeDataAgentSessionResponse>;
|
|
665
|
+
/**
|
|
666
|
+
* Retrieves the download link for a DataAgent skill.
|
|
667
|
+
*
|
|
668
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
669
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
670
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
671
|
+
*/
|
|
672
|
+
describeDataAgentSkillDownloadWithOptions(request: $_model.DescribeDataAgentSkillDownloadRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDataAgentSkillDownloadResponse>;
|
|
673
|
+
/**
|
|
674
|
+
* Retrieves the download link for a DataAgent skill.
|
|
675
|
+
*
|
|
676
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
677
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
678
|
+
*/
|
|
679
|
+
describeDataAgentSkillDownload(request: $_model.DescribeDataAgentSkillDownloadRequest): Promise<$_model.DescribeDataAgentSkillDownloadResponse>;
|
|
665
680
|
/**
|
|
666
681
|
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
667
682
|
*
|
package/dist/client.js
CHANGED
|
@@ -2224,6 +2224,48 @@ class Client extends openapi_core_1.default {
|
|
|
2224
2224
|
let runtime = new $dara.RuntimeOptions({});
|
|
2225
2225
|
return await this.describeDataAgentSessionWithOptions(request, runtime);
|
|
2226
2226
|
}
|
|
2227
|
+
/**
|
|
2228
|
+
* Retrieves the download link for a DataAgent skill.
|
|
2229
|
+
*
|
|
2230
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
2231
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2232
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
2233
|
+
*/
|
|
2234
|
+
async describeDataAgentSkillDownloadWithOptions(request, runtime) {
|
|
2235
|
+
request.validate();
|
|
2236
|
+
let query = {};
|
|
2237
|
+
if (!$dara.isNull(request.skillId)) {
|
|
2238
|
+
query["SkillId"] = request.skillId;
|
|
2239
|
+
}
|
|
2240
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2241
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2242
|
+
}
|
|
2243
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2244
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2245
|
+
});
|
|
2246
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2247
|
+
action: "DescribeDataAgentSkillDownload",
|
|
2248
|
+
version: "2025-04-14",
|
|
2249
|
+
protocol: "HTTPS",
|
|
2250
|
+
pathname: "/",
|
|
2251
|
+
method: "POST",
|
|
2252
|
+
authType: "AK",
|
|
2253
|
+
style: "RPC",
|
|
2254
|
+
reqBodyType: "formData",
|
|
2255
|
+
bodyType: "json",
|
|
2256
|
+
});
|
|
2257
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDataAgentSkillDownloadResponse({}));
|
|
2258
|
+
}
|
|
2259
|
+
/**
|
|
2260
|
+
* Retrieves the download link for a DataAgent skill.
|
|
2261
|
+
*
|
|
2262
|
+
* @param request - DescribeDataAgentSkillDownloadRequest
|
|
2263
|
+
* @returns DescribeDataAgentSkillDownloadResponse
|
|
2264
|
+
*/
|
|
2265
|
+
async describeDataAgentSkillDownload(request) {
|
|
2266
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2267
|
+
return await this.describeDataAgentSkillDownloadWithOptions(request, runtime);
|
|
2268
|
+
}
|
|
2227
2269
|
/**
|
|
2228
2270
|
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
2229
2271
|
*
|