@alicloud/adbai20250812 1.0.0 → 1.1.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.
Files changed (29) hide show
  1. package/dist/client.d.ts +15 -0
  2. package/dist/client.js +53 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentPlatformRequest.d.ts +101 -0
  5. package/dist/models/CreateAgentPlatformRequest.js +98 -0
  6. package/dist/models/CreateAgentPlatformRequest.js.map +1 -0
  7. package/dist/models/CreateAgentPlatformResponse.d.ts +19 -0
  8. package/dist/models/CreateAgentPlatformResponse.js +69 -0
  9. package/dist/models/CreateAgentPlatformResponse.js.map +1 -0
  10. package/dist/models/CreateAgentPlatformResponseBody.d.ts +21 -0
  11. package/dist/models/CreateAgentPlatformResponseBody.js +58 -0
  12. package/dist/models/CreateAgentPlatformResponseBody.js.map +1 -0
  13. package/dist/models/CreateAgentPlatformShrinkRequest.d.ts +39 -0
  14. package/dist/models/CreateAgentPlatformShrinkRequest.js +64 -0
  15. package/dist/models/CreateAgentPlatformShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateEmbodiedAiplatformRequest.d.ts +0 -2
  17. package/dist/models/CreateEmbodiedAiplatformRequest.js +0 -2
  18. package/dist/models/CreateEmbodiedAiplatformRequest.js.map +1 -1
  19. package/dist/models/model.d.ts +5 -0
  20. package/dist/models/model.js +11 -1
  21. package/dist/models/model.js.map +1 -1
  22. package/package.json +1 -1
  23. package/src/client.ts +60 -0
  24. package/src/models/CreateAgentPlatformRequest.ts +143 -0
  25. package/src/models/CreateAgentPlatformResponse.ts +40 -0
  26. package/src/models/CreateAgentPlatformResponseBody.ts +34 -0
  27. package/src/models/CreateAgentPlatformShrinkRequest.ts +58 -0
  28. package/src/models/CreateEmbodiedAiplatformRequest.ts +0 -2
  29. package/src/models/model.ts +5 -0
package/dist/client.d.ts CHANGED
@@ -8,6 +8,21 @@ export default class Client extends OpenApi {
8
8
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
9
9
  [key: string]: string;
10
10
  }, endpoint: string): string;
11
+ /**
12
+ * 创建指标平台
13
+ *
14
+ * @param tmpReq - CreateAgentPlatformRequest
15
+ * @param runtime - runtime options for this request RuntimeOptions
16
+ * @returns CreateAgentPlatformResponse
17
+ */
18
+ createAgentPlatformWithOptions(tmpReq: $_model.CreateAgentPlatformRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgentPlatformResponse>;
19
+ /**
20
+ * 创建指标平台
21
+ *
22
+ * @param request - CreateAgentPlatformRequest
23
+ * @returns CreateAgentPlatformResponse
24
+ */
25
+ createAgentPlatform(request: $_model.CreateAgentPlatformRequest): Promise<$_model.CreateAgentPlatformResponse>;
11
26
  /**
12
27
  * 创建具身智能平台
13
28
  *
package/dist/client.js CHANGED
@@ -61,6 +61,59 @@ class Client extends openapi_core_1.default {
61
61
  }
62
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
63
63
  }
64
+ /**
65
+ * 创建指标平台
66
+ *
67
+ * @param tmpReq - CreateAgentPlatformRequest
68
+ * @param runtime - runtime options for this request RuntimeOptions
69
+ * @returns CreateAgentPlatformResponse
70
+ */
71
+ async createAgentPlatformWithOptions(tmpReq, runtime) {
72
+ tmpReq.validate();
73
+ let request = new $_model.CreateAgentPlatformShrinkRequest({});
74
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
75
+ if (!$dara.isNull(tmpReq.aiPlatformConfig)) {
76
+ request.aiPlatformConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.aiPlatformConfig, "AiPlatformConfig", "json");
77
+ }
78
+ let query = {};
79
+ if (!$dara.isNull(request.aiPlatformConfigShrink)) {
80
+ query["AiPlatformConfig"] = request.aiPlatformConfigShrink;
81
+ }
82
+ if (!$dara.isNull(request.DBClusterId)) {
83
+ query["DBClusterId"] = request.DBClusterId;
84
+ }
85
+ if (!$dara.isNull(request.name)) {
86
+ query["Name"] = request.name;
87
+ }
88
+ if (!$dara.isNull(request.regionId)) {
89
+ query["RegionId"] = request.regionId;
90
+ }
91
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
92
+ query: openapi_core_2.OpenApiUtil.query(query),
93
+ });
94
+ let params = new openapi_core_2.$OpenApiUtil.Params({
95
+ action: "CreateAgentPlatform",
96
+ version: "2025-08-12",
97
+ protocol: "HTTPS",
98
+ pathname: "/",
99
+ method: "POST",
100
+ authType: "AK",
101
+ style: "RPC",
102
+ reqBodyType: "formData",
103
+ bodyType: "json",
104
+ });
105
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentPlatformResponse({}));
106
+ }
107
+ /**
108
+ * 创建指标平台
109
+ *
110
+ * @param request - CreateAgentPlatformRequest
111
+ * @returns CreateAgentPlatformResponse
112
+ */
113
+ async createAgentPlatform(request) {
114
+ let runtime = new $dara.RuntimeOptions({});
115
+ return await this.createAgentPlatformWithOptions(request, runtime);
116
+ }
64
117
  /**
65
118
  * 创建具身智能平台
66
119
  *
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,0EAA6C;AAC7C,yDAAkE;AAGlE,wDAA0C;AAC1C,iDAA+B;AAE/B,MAAqB,MAAO,SAAQ,sBAAO;IAEzC,YAAY,MAA2B;QACrC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;QACxB,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,IA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AA8C,MAAM,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,mCAAmC,CAAC,EAAE,CAAC,CAAC,CAAC;IAChK,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,2BAA2B,CAAC,OAAmD;QACnF,IAAI,OAAO,GAAG,IAAI,KAAK,CAAC,cAAc,CAAC,EAAG,CAAC,CAAC;QAC5C,OAAO,MAAM,IAAI,CAAC,sCAAsC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CAEF;AAhOD,yBAgOC"}
@@ -0,0 +1,101 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ /**
3
+ */
4
+ export declare class CreateAgentPlatformRequestAiPlatformConfig extends $dara.Model {
5
+ /**
6
+ * @remarks
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * 3760d3**************************
11
+ */
12
+ serveApiKey?: string;
13
+ /**
14
+ * @remarks
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * http://111.xx.xx.xx:8100/inferenceservice/emb
19
+ */
20
+ serveEmbeddingEndpoint?: string;
21
+ /**
22
+ * @remarks
23
+ * This parameter is required.
24
+ *
25
+ * @example
26
+ * Qwen3-Embedding-8B
27
+ */
28
+ serveEmbeddingModelName?: string;
29
+ /**
30
+ * @remarks
31
+ * This parameter is required.
32
+ *
33
+ * @example
34
+ * http://111.xx.xx.xx:8100/inferenceservice/base
35
+ */
36
+ serveEndpoint?: string;
37
+ /**
38
+ * @remarks
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * Qwen3-235B-A22B-Instruct-2507
43
+ */
44
+ serveModelName?: string;
45
+ /**
46
+ * @remarks
47
+ * This parameter is required.
48
+ *
49
+ * @example
50
+ * large
51
+ */
52
+ specName?: string;
53
+ static names(): {
54
+ [key: string]: string;
55
+ };
56
+ static types(): {
57
+ [key: string]: any;
58
+ };
59
+ validate(): void;
60
+ constructor(map?: {
61
+ [key: string]: any;
62
+ });
63
+ }
64
+ export declare class CreateAgentPlatformRequest extends $dara.Model {
65
+ /**
66
+ * @remarks
67
+ * This parameter is required.
68
+ */
69
+ aiPlatformConfig?: CreateAgentPlatformRequestAiPlatformConfig;
70
+ /**
71
+ * @remarks
72
+ * This parameter is required.
73
+ *
74
+ * @example
75
+ * amv-bp11q28kvl688****
76
+ */
77
+ DBClusterId?: string;
78
+ /**
79
+ * @remarks
80
+ * This parameter is required.
81
+ *
82
+ * @example
83
+ * testplatform
84
+ */
85
+ name?: string;
86
+ /**
87
+ * @example
88
+ * cn-beijing
89
+ */
90
+ regionId?: string;
91
+ static names(): {
92
+ [key: string]: string;
93
+ };
94
+ static types(): {
95
+ [key: string]: any;
96
+ };
97
+ validate(): void;
98
+ constructor(map?: {
99
+ [key: string]: any;
100
+ });
101
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateAgentPlatformRequest = exports.CreateAgentPlatformRequestAiPlatformConfig = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ /**
40
+ */
41
+ class CreateAgentPlatformRequestAiPlatformConfig extends $dara.Model {
42
+ static names() {
43
+ return {
44
+ serveApiKey: 'ServeApiKey',
45
+ serveEmbeddingEndpoint: 'ServeEmbeddingEndpoint',
46
+ serveEmbeddingModelName: 'ServeEmbeddingModelName',
47
+ serveEndpoint: 'ServeEndpoint',
48
+ serveModelName: 'ServeModelName',
49
+ specName: 'SpecName',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ serveApiKey: 'string',
55
+ serveEmbeddingEndpoint: 'string',
56
+ serveEmbeddingModelName: 'string',
57
+ serveEndpoint: 'string',
58
+ serveModelName: 'string',
59
+ specName: 'string',
60
+ };
61
+ }
62
+ validate() {
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.CreateAgentPlatformRequestAiPlatformConfig = CreateAgentPlatformRequestAiPlatformConfig;
70
+ class CreateAgentPlatformRequest extends $dara.Model {
71
+ static names() {
72
+ return {
73
+ aiPlatformConfig: 'AiPlatformConfig',
74
+ DBClusterId: 'DBClusterId',
75
+ name: 'Name',
76
+ regionId: 'RegionId',
77
+ };
78
+ }
79
+ static types() {
80
+ return {
81
+ aiPlatformConfig: CreateAgentPlatformRequestAiPlatformConfig,
82
+ DBClusterId: 'string',
83
+ name: 'string',
84
+ regionId: 'string',
85
+ };
86
+ }
87
+ validate() {
88
+ if (this.aiPlatformConfig && typeof this.aiPlatformConfig.validate === 'function') {
89
+ this.aiPlatformConfig.validate();
90
+ }
91
+ super.validate();
92
+ }
93
+ constructor(map) {
94
+ super(map);
95
+ }
96
+ }
97
+ exports.CreateAgentPlatformRequest = CreateAgentPlatformRequest;
98
+ //# sourceMappingURL=CreateAgentPlatformRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAgentPlatformRequest.js","sourceRoot":"","sources":["../../src/models/CreateAgentPlatformRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAiDzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,sBAAsB,EAAE,wBAAwB;YAChD,uBAAuB,EAAE,yBAAyB;YAClD,aAAa,EAAE,eAAe;YAC9B,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,sBAAsB,EAAE,QAAQ;YAChC,uBAAuB,EAAE,QAAQ;YACjC,aAAa,EAAE,QAAQ;YACvB,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,gGA8EC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA2BzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,0CAA0C;YAC5D,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,gBAAgB,IAAI,OAAQ,IAAI,CAAC,gBAAwB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvDD,gEAuDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateAgentPlatformResponseBody } from "./CreateAgentPlatformResponseBody";
3
+ export declare class CreateAgentPlatformResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateAgentPlatformResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateAgentPlatformResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateAgentPlatformResponseBody_1 = require("./CreateAgentPlatformResponseBody");
40
+ class CreateAgentPlatformResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateAgentPlatformResponseBody_1.CreateAgentPlatformResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateAgentPlatformResponse = CreateAgentPlatformResponse;
69
+ //# sourceMappingURL=CreateAgentPlatformResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAgentPlatformResponse.js","sourceRoot":"","sources":["../../src/models/CreateAgentPlatformResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateAgentPlatformResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Id of the request
6
+ *
7
+ * @example
8
+ * B47EED99-BFA5-529D-8D85-A6642421D390
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateAgentPlatformResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateAgentPlatformResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.CreateAgentPlatformResponseBody = CreateAgentPlatformResponseBody;
58
+ //# sourceMappingURL=CreateAgentPlatformResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAgentPlatformResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateAgentPlatformResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAS9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,0EA4BC"}
@@ -0,0 +1,39 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateAgentPlatformShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ */
7
+ aiPlatformConfigShrink?: string;
8
+ /**
9
+ * @remarks
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * amv-bp11q28kvl688****
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * testplatform
22
+ */
23
+ name?: string;
24
+ /**
25
+ * @example
26
+ * cn-beijing
27
+ */
28
+ regionId?: string;
29
+ static names(): {
30
+ [key: string]: string;
31
+ };
32
+ static types(): {
33
+ [key: string]: any;
34
+ };
35
+ validate(): void;
36
+ constructor(map?: {
37
+ [key: string]: any;
38
+ });
39
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateAgentPlatformShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateAgentPlatformShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ aiPlatformConfigShrink: 'AiPlatformConfig',
43
+ DBClusterId: 'DBClusterId',
44
+ name: 'Name',
45
+ regionId: 'RegionId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ aiPlatformConfigShrink: 'string',
51
+ DBClusterId: 'string',
52
+ name: 'string',
53
+ regionId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.CreateAgentPlatformShrinkRequest = CreateAgentPlatformShrinkRequest;
64
+ //# sourceMappingURL=CreateAgentPlatformShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateAgentPlatformShrinkRequest.js","sourceRoot":"","sources":["../../src/models/CreateAgentPlatformShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA2B/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,kBAAkB;YAC1C,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,sBAAsB,EAAE,QAAQ;YAChC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,4EAoDC"}
@@ -1,6 +1,4 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
- /**
3
- */
4
2
  export declare class CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups extends $dara.Model {
5
3
  /**
6
4
  * @example
@@ -36,8 +36,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.CreateEmbodiedAIPlatformRequest = exports.CreateEmbodiedAIPlatformRequestRayConfig = exports.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
- /**
40
- */
41
39
  class CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups extends $dara.Model {
42
40
  static names() {
43
41
  return {
@@ -1 +1 @@
1
-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,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4FAsCC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA+B9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,wCAAwC;YACnD,QAAQ,EAAE,QAAQ;YAClB,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,SAAS,IAAI,OAAQ,IAAI,CAAC,SAAiB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,0EA6DC"}
@@ -1,9 +1,14 @@
1
+ export { CreateAgentPlatformRequestAiPlatformConfig } from './CreateAgentPlatformRequest';
1
2
  export { CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups } from './CreateEmbodiedAiplatformRequest';
2
3
  export { CreateEmbodiedAIPlatformRequestRayConfig } from './CreateEmbodiedAiplatformRequest';
3
4
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig } from './DescribeEmbodiedAiplatformsResponseBody';
4
5
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups } from './DescribeEmbodiedAiplatformsResponseBody';
5
6
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig } from './DescribeEmbodiedAiplatformsResponseBody';
6
7
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatforms } from './DescribeEmbodiedAiplatformsResponseBody';
8
+ export { CreateAgentPlatformRequest } from './CreateAgentPlatformRequest';
9
+ export { CreateAgentPlatformShrinkRequest } from './CreateAgentPlatformShrinkRequest';
10
+ export { CreateAgentPlatformResponseBody } from './CreateAgentPlatformResponseBody';
11
+ export { CreateAgentPlatformResponse } from './CreateAgentPlatformResponse';
7
12
  export { CreateEmbodiedAIPlatformRequest } from './CreateEmbodiedAiplatformRequest';
8
13
  export { CreateEmbodiedAIPlatformShrinkRequest } from './CreateEmbodiedAiplatformShrinkRequest';
9
14
  export { CreateEmbodiedAIPlatformResponseBody } from './CreateEmbodiedAiplatformResponseBody';
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DescribeEmbodiedAIPlatformsResponse = exports.DescribeEmbodiedAIPlatformsResponseBody = exports.DescribeEmbodiedAIPlatformsRequest = exports.CreateEmbodiedAIPlatformResponse = exports.CreateEmbodiedAIPlatformResponseBody = exports.CreateEmbodiedAIPlatformShrinkRequest = exports.CreateEmbodiedAIPlatformRequest = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatforms = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig = exports.CreateEmbodiedAIPlatformRequestRayConfig = exports.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups = void 0;
3
+ exports.DescribeEmbodiedAIPlatformsResponse = exports.DescribeEmbodiedAIPlatformsResponseBody = exports.DescribeEmbodiedAIPlatformsRequest = exports.CreateEmbodiedAIPlatformResponse = exports.CreateEmbodiedAIPlatformResponseBody = exports.CreateEmbodiedAIPlatformShrinkRequest = exports.CreateEmbodiedAIPlatformRequest = exports.CreateAgentPlatformResponse = exports.CreateAgentPlatformResponseBody = exports.CreateAgentPlatformShrinkRequest = exports.CreateAgentPlatformRequest = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatforms = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups = exports.DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig = exports.CreateEmbodiedAIPlatformRequestRayConfig = exports.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups = exports.CreateAgentPlatformRequestAiPlatformConfig = void 0;
4
+ var CreateAgentPlatformRequest_1 = require("./CreateAgentPlatformRequest");
5
+ Object.defineProperty(exports, "CreateAgentPlatformRequestAiPlatformConfig", { enumerable: true, get: function () { return CreateAgentPlatformRequest_1.CreateAgentPlatformRequestAiPlatformConfig; } });
4
6
  var CreateEmbodiedAiplatformRequest_1 = require("./CreateEmbodiedAiplatformRequest");
5
7
  Object.defineProperty(exports, "CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups", { enumerable: true, get: function () { return CreateEmbodiedAiplatformRequest_1.CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups; } });
6
8
  var CreateEmbodiedAiplatformRequest_2 = require("./CreateEmbodiedAiplatformRequest");
@@ -13,6 +15,14 @@ var DescribeEmbodiedAiplatformsResponseBody_3 = require("./DescribeEmbodiedAipla
13
15
  Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_3.DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig; } });
14
16
  var DescribeEmbodiedAiplatformsResponseBody_4 = require("./DescribeEmbodiedAiplatformsResponseBody");
15
17
  Object.defineProperty(exports, "DescribeEmbodiedAIPlatformsResponseBodyPlatforms", { enumerable: true, get: function () { return DescribeEmbodiedAiplatformsResponseBody_4.DescribeEmbodiedAIPlatformsResponseBodyPlatforms; } });
18
+ var CreateAgentPlatformRequest_2 = require("./CreateAgentPlatformRequest");
19
+ Object.defineProperty(exports, "CreateAgentPlatformRequest", { enumerable: true, get: function () { return CreateAgentPlatformRequest_2.CreateAgentPlatformRequest; } });
20
+ var CreateAgentPlatformShrinkRequest_1 = require("./CreateAgentPlatformShrinkRequest");
21
+ Object.defineProperty(exports, "CreateAgentPlatformShrinkRequest", { enumerable: true, get: function () { return CreateAgentPlatformShrinkRequest_1.CreateAgentPlatformShrinkRequest; } });
22
+ var CreateAgentPlatformResponseBody_1 = require("./CreateAgentPlatformResponseBody");
23
+ Object.defineProperty(exports, "CreateAgentPlatformResponseBody", { enumerable: true, get: function () { return CreateAgentPlatformResponseBody_1.CreateAgentPlatformResponseBody; } });
24
+ var CreateAgentPlatformResponse_1 = require("./CreateAgentPlatformResponse");
25
+ Object.defineProperty(exports, "CreateAgentPlatformResponse", { enumerable: true, get: function () { return CreateAgentPlatformResponse_1.CreateAgentPlatformResponse; } });
16
26
  var CreateEmbodiedAiplatformRequest_3 = require("./CreateEmbodiedAiplatformRequest");
17
27
  Object.defineProperty(exports, "CreateEmbodiedAIPlatformRequest", { enumerable: true, get: function () { return CreateEmbodiedAiplatformRequest_3.CreateEmbodiedAIPlatformRequest; } });
18
28
  var CreateEmbodiedAiplatformShrinkRequest_1 = require("./CreateEmbodiedAiplatformShrinkRequest");
@@ -1 +1 @@
1
- {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/models/model.ts"],"names":[],"mappings":";;;AAAA,qFAAyG;AAAhG,uKAAA,oDAAoD,OAAA;AAC7D,qFAA6F;AAApF,2JAAA,wCAAwC,OAAA;AACjD,qGAAsH;AAA7G,oLAAA,yDAAyD,OAAA;AAClE,qGAAkI;AAAzH,gMAAA,qEAAqE,OAAA;AAC9E,qGAAsH;AAA7G,oLAAA,yDAAyD,OAAA;AAClE,qGAA6G;AAApG,2KAAA,gDAAgD,OAAA;AACzD,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,iGAAgG;AAAvF,8JAAA,qCAAqC,OAAA;AAC9C,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA;AAC7C,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA;AACzC,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,qGAAoG;AAA3F,kKAAA,uCAAuC,OAAA;AAChD,6FAA4F;AAAnF,0JAAA,mCAAmC,OAAA"}
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/models/model.ts"],"names":[],"mappings":";;;AAAA,2EAA0F;AAAjF,wJAAA,0CAA0C,OAAA;AACnD,qFAAyG;AAAhG,uKAAA,oDAAoD,OAAA;AAC7D,qFAA6F;AAApF,2JAAA,wCAAwC,OAAA;AACjD,qGAAsH;AAA7G,oLAAA,yDAAyD,OAAA;AAClE,qGAAkI;AAAzH,gMAAA,qEAAqE,OAAA;AAC9E,qGAAsH;AAA7G,oLAAA,yDAAyD,OAAA;AAClE,qGAA6G;AAApG,2KAAA,gDAAgD,OAAA;AACzD,2EAA0E;AAAjE,wIAAA,0BAA0B,OAAA;AACnC,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA;AACzC,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,6EAA4E;AAAnE,0IAAA,2BAA2B,OAAA;AACpC,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AACxC,iGAAgG;AAAvF,8JAAA,qCAAqC,OAAA;AAC9C,+FAA8F;AAArF,4JAAA,oCAAoC,OAAA;AAC7C,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA;AACzC,2FAA0F;AAAjF,wJAAA,kCAAkC,OAAA;AAC3C,qGAAoG;AAA3F,kKAAA,uCAAuC,OAAA;AAChD,6FAA4F;AAAnF,0JAAA,mCAAmC,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/adbai20250812",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -29,6 +29,66 @@ export default class Client extends OpenApi {
29
29
  return OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
30
30
  }
31
31
 
32
+ /**
33
+ * 创建指标平台
34
+ *
35
+ * @param tmpReq - CreateAgentPlatformRequest
36
+ * @param runtime - runtime options for this request RuntimeOptions
37
+ * @returns CreateAgentPlatformResponse
38
+ */
39
+ async createAgentPlatformWithOptions(tmpReq: $_model.CreateAgentPlatformRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgentPlatformResponse> {
40
+ tmpReq.validate();
41
+ let request = new $_model.CreateAgentPlatformShrinkRequest({ });
42
+ OpenApiUtil.convert(tmpReq, request);
43
+ if (!$dara.isNull(tmpReq.aiPlatformConfig)) {
44
+ request.aiPlatformConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.aiPlatformConfig, "AiPlatformConfig", "json");
45
+ }
46
+
47
+ let query = { };
48
+ if (!$dara.isNull(request.aiPlatformConfigShrink)) {
49
+ query["AiPlatformConfig"] = request.aiPlatformConfigShrink;
50
+ }
51
+
52
+ if (!$dara.isNull(request.DBClusterId)) {
53
+ query["DBClusterId"] = request.DBClusterId;
54
+ }
55
+
56
+ if (!$dara.isNull(request.name)) {
57
+ query["Name"] = request.name;
58
+ }
59
+
60
+ if (!$dara.isNull(request.regionId)) {
61
+ query["RegionId"] = request.regionId;
62
+ }
63
+
64
+ let req = new $OpenApiUtil.OpenApiRequest({
65
+ query: OpenApiUtil.query(query),
66
+ });
67
+ let params = new $OpenApiUtil.Params({
68
+ action: "CreateAgentPlatform",
69
+ version: "2025-08-12",
70
+ protocol: "HTTPS",
71
+ pathname: "/",
72
+ method: "POST",
73
+ authType: "AK",
74
+ style: "RPC",
75
+ reqBodyType: "formData",
76
+ bodyType: "json",
77
+ });
78
+ return $dara.cast<$_model.CreateAgentPlatformResponse>(await this.callApi(params, req, runtime), new $_model.CreateAgentPlatformResponse({}));
79
+ }
80
+
81
+ /**
82
+ * 创建指标平台
83
+ *
84
+ * @param request - CreateAgentPlatformRequest
85
+ * @returns CreateAgentPlatformResponse
86
+ */
87
+ async createAgentPlatform(request: $_model.CreateAgentPlatformRequest): Promise<$_model.CreateAgentPlatformResponse> {
88
+ let runtime = new $dara.RuntimeOptions({ });
89
+ return await this.createAgentPlatformWithOptions(request, runtime);
90
+ }
91
+
32
92
  /**
33
93
  * 创建具身智能平台
34
94
  *
@@ -0,0 +1,143 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ /**
6
+ */
7
+ export class CreateAgentPlatformRequestAiPlatformConfig extends $dara.Model {
8
+ /**
9
+ * @remarks
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * 3760d3**************************
14
+ */
15
+ serveApiKey?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * http://111.xx.xx.xx:8100/inferenceservice/emb
22
+ */
23
+ serveEmbeddingEndpoint?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * Qwen3-Embedding-8B
30
+ */
31
+ serveEmbeddingModelName?: string;
32
+ /**
33
+ * @remarks
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * http://111.xx.xx.xx:8100/inferenceservice/base
38
+ */
39
+ serveEndpoint?: string;
40
+ /**
41
+ * @remarks
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * Qwen3-235B-A22B-Instruct-2507
46
+ */
47
+ serveModelName?: string;
48
+ /**
49
+ * @remarks
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * large
54
+ */
55
+ specName?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ serveApiKey: 'ServeApiKey',
59
+ serveEmbeddingEndpoint: 'ServeEmbeddingEndpoint',
60
+ serveEmbeddingModelName: 'ServeEmbeddingModelName',
61
+ serveEndpoint: 'ServeEndpoint',
62
+ serveModelName: 'ServeModelName',
63
+ specName: 'SpecName',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ serveApiKey: 'string',
70
+ serveEmbeddingEndpoint: 'string',
71
+ serveEmbeddingModelName: 'string',
72
+ serveEndpoint: 'string',
73
+ serveModelName: 'string',
74
+ specName: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
87
+ export class CreateAgentPlatformRequest extends $dara.Model {
88
+ /**
89
+ * @remarks
90
+ * This parameter is required.
91
+ */
92
+ aiPlatformConfig?: CreateAgentPlatformRequestAiPlatformConfig;
93
+ /**
94
+ * @remarks
95
+ * This parameter is required.
96
+ *
97
+ * @example
98
+ * amv-bp11q28kvl688****
99
+ */
100
+ DBClusterId?: string;
101
+ /**
102
+ * @remarks
103
+ * This parameter is required.
104
+ *
105
+ * @example
106
+ * testplatform
107
+ */
108
+ name?: string;
109
+ /**
110
+ * @example
111
+ * cn-beijing
112
+ */
113
+ regionId?: string;
114
+ static names(): { [key: string]: string } {
115
+ return {
116
+ aiPlatformConfig: 'AiPlatformConfig',
117
+ DBClusterId: 'DBClusterId',
118
+ name: 'Name',
119
+ regionId: 'RegionId',
120
+ };
121
+ }
122
+
123
+ static types(): { [key: string]: any } {
124
+ return {
125
+ aiPlatformConfig: CreateAgentPlatformRequestAiPlatformConfig,
126
+ DBClusterId: 'string',
127
+ name: 'string',
128
+ regionId: 'string',
129
+ };
130
+ }
131
+
132
+ validate() {
133
+ if(this.aiPlatformConfig && typeof (this.aiPlatformConfig as any).validate === 'function') {
134
+ (this.aiPlatformConfig as any).validate();
135
+ }
136
+ super.validate();
137
+ }
138
+
139
+ constructor(map?: { [key: string]: any }) {
140
+ super(map);
141
+ }
142
+ }
143
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateAgentPlatformResponseBody } from "./CreateAgentPlatformResponseBody";
4
+
5
+
6
+ export class CreateAgentPlatformResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateAgentPlatformResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateAgentPlatformResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateAgentPlatformResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * B47EED99-BFA5-529D-8D85-A6642421D390
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateAgentPlatformShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ aiPlatformConfigShrink?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * amv-bp11q28kvl688****
17
+ */
18
+ DBClusterId?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * testplatform
25
+ */
26
+ name?: string;
27
+ /**
28
+ * @example
29
+ * cn-beijing
30
+ */
31
+ regionId?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ aiPlatformConfigShrink: 'AiPlatformConfig',
35
+ DBClusterId: 'DBClusterId',
36
+ name: 'Name',
37
+ regionId: 'RegionId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ aiPlatformConfigShrink: 'string',
44
+ DBClusterId: 'string',
45
+ name: 'string',
46
+ regionId: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -2,8 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- /**
6
- */
7
5
  export class CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups extends $dara.Model {
8
6
  /**
9
7
  * @example
@@ -1,9 +1,14 @@
1
+ export { CreateAgentPlatformRequestAiPlatformConfig } from './CreateAgentPlatformRequest';
1
2
  export { CreateEmbodiedAIPlatformRequestRayConfigWorkerGroups } from './CreateEmbodiedAiplatformRequest';
2
3
  export { CreateEmbodiedAIPlatformRequestRayConfig } from './CreateEmbodiedAiplatformRequest';
3
4
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsEapConfig } from './DescribeEmbodiedAiplatformsResponseBody';
4
5
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfigWorkerGroups } from './DescribeEmbodiedAiplatformsResponseBody';
5
6
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatformsRayConfig } from './DescribeEmbodiedAiplatformsResponseBody';
6
7
  export { DescribeEmbodiedAIPlatformsResponseBodyPlatforms } from './DescribeEmbodiedAiplatformsResponseBody';
8
+ export { CreateAgentPlatformRequest } from './CreateAgentPlatformRequest';
9
+ export { CreateAgentPlatformShrinkRequest } from './CreateAgentPlatformShrinkRequest';
10
+ export { CreateAgentPlatformResponseBody } from './CreateAgentPlatformResponseBody';
11
+ export { CreateAgentPlatformResponse } from './CreateAgentPlatformResponse';
7
12
  export { CreateEmbodiedAIPlatformRequest } from './CreateEmbodiedAiplatformRequest';
8
13
  export { CreateEmbodiedAIPlatformShrinkRequest } from './CreateEmbodiedAiplatformShrinkRequest';
9
14
  export { CreateEmbodiedAIPlatformResponseBody } from './CreateEmbodiedAiplatformResponseBody';