@alicloud/agentcore20260804 2.2.1 → 2.3.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 +148 -2
- package/dist/client.js +284 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
- package/dist/models/CreateCustomAgentRequest.js +591 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -0
- package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
- package/dist/models/CreateCustomAgentResponse.js +69 -0
- package/dist/models/CreateCustomAgentResponse.js.map +1 -0
- package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
- package/dist/models/CreateCustomAgentResponseBody.js +652 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
- package/dist/models/CreateExternalAgentRequest.js +29 -1
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
- package/dist/models/CreateExternalAgentResponseBody.js +89 -1
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
- package/dist/models/DeleteCustomAgentRequest.js +54 -0
- package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
- package/dist/models/DeleteCustomAgentResponse.js +69 -0
- package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
- package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentRequest.js +54 -0
- package/dist/models/GetCustomAgentRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentResponse.js +69 -0
- package/dist/models/GetCustomAgentResponse.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
- package/dist/models/GetCustomAgentResponseBody.js +652 -0
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
- package/dist/models/GetExternalAgentResponseBody.js +89 -1
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
- package/dist/models/ListCustomAgentsRequest.js +60 -0
- package/dist/models/ListCustomAgentsRequest.js.map +1 -0
- package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
- package/dist/models/ListCustomAgentsResponse.js +69 -0
- package/dist/models/ListCustomAgentsResponse.js.map +1 -0
- package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
- package/dist/models/ListCustomAgentsResponseBody.js +171 -0
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
- package/dist/models/ListUsersRequest.d.ts +12 -4
- package/dist/models/ListUsersRequest.js +2 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +14 -14
- package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
- package/dist/models/UpdateCustomAgentRequest.js +591 -0
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
- package/dist/models/UpdateCustomAgentResponse.js +69 -0
- package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
- package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
- package/dist/models/UpdateExternalAgentRequest.js +29 -1
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
- package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +135 -0
- package/dist/models/model.js +337 -65
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +303 -2
- package/src/models/CreateCustomAgentRequest.ts +1129 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/CreateExternalAgentRequest.ts +80 -14
- package/src/models/CreateExternalAgentResponseBody.ts +232 -39
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/DeleteCustomAgentRequest.ts +24 -0
- package/src/models/DeleteCustomAgentResponse.ts +40 -0
- package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
- package/src/models/GetCustomAgentRequest.ts +24 -0
- package/src/models/GetCustomAgentResponse.ts +40 -0
- package/src/models/GetCustomAgentResponseBody.ts +1069 -0
- package/src/models/GetExternalAgentResponseBody.ts +225 -43
- package/src/models/ListCustomAgentsRequest.ts +44 -0
- package/src/models/ListCustomAgentsResponse.ts +40 -0
- package/src/models/ListCustomAgentsResponseBody.ts +345 -0
- package/src/models/ListUsersRequest.ts +14 -4
- package/src/models/ListUsersResponseBody.ts +14 -14
- package/src/models/UpdateCustomAgentRequest.ts +1121 -0
- package/src/models/UpdateCustomAgentResponse.ts +40 -0
- package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
- package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/UpdateExternalAgentRequest.ts +78 -12
- package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
- package/src/models/model.ts +135 -0
|
@@ -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.DeleteCustomAgentResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const DeleteCustomAgentResponseBody_1 = require("./DeleteCustomAgentResponseBody");
|
|
40
|
+
class DeleteCustomAgentResponse 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: DeleteCustomAgentResponseBody_1.DeleteCustomAgentResponseBody,
|
|
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.DeleteCustomAgentResponse = DeleteCustomAgentResponse;
|
|
69
|
+
//# sourceMappingURL=DeleteCustomAgentResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteCustomAgentResponse.js","sourceRoot":"","sources":["../../src/models/DeleteCustomAgentResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,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,6DAA6B;SACpC,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,8DAiCC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DeleteCustomAgentResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The unique identifier of the custom agent. You can retrieve it from the response of CreateCustomAgent or ListCustomAgents.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* agent-550e8400e29b41d4a716446655440000
|
|
9
|
+
*/
|
|
10
|
+
agentId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The creation method of the agent. The value is CUSTOM for custom agents.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* CUSTOM
|
|
17
|
+
*/
|
|
18
|
+
createMode?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The time when the agent was created. The time is in ISO 8601 format. A trailing Z indicates the UTC time zone. Fractional seconds may be included.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 2026-10-10T06:00:00Z
|
|
25
|
+
*/
|
|
26
|
+
createdAt?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The deployment method of the agent. Custom agents are deployed and managed by the platform, and the value is MANAGED.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* MANAGED
|
|
33
|
+
*/
|
|
34
|
+
deployType?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The description of the agent\\"s purpose.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* Custom agent that provides conversation services
|
|
41
|
+
*/
|
|
42
|
+
description?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 1
|
|
49
|
+
*/
|
|
50
|
+
latestSpecVersion?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The name of the custom agent.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* my-custom-agent
|
|
57
|
+
*/
|
|
58
|
+
name?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The compute specifications of the agent. Valid values: INTERACTIVE, STANDARD, and HEAVY.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* STANDARD
|
|
65
|
+
*/
|
|
66
|
+
runtime?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The overall status of the agent. Valid values: Creating: The agent is being created. Running: The agent is running. Failed: The agent failed. Updating: The agent is being updated. Deleting: The agent is being deleted. Deleted: The agent is deleted. To query the execution progress of the latest configuration, call GetCustomAgent.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* Running
|
|
73
|
+
*/
|
|
74
|
+
status?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* The time when the agent was last updated. The time is in ISO 8601 format. A trailing Z indicates the UTC time zone. Fractional seconds may be included.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* 2026-10-10T06:05:00Z
|
|
81
|
+
*/
|
|
82
|
+
updatedAt?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* The ID of the workspace to which the custom agent belongs.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* ws-a1b2c3d4e5f6
|
|
89
|
+
*/
|
|
90
|
+
workspaceId?: 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
|
+
}
|
|
102
|
+
export declare class DeleteCustomAgentResponseBody extends $dara.Model {
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The result code of the request. The value is SUCCESS if the request is successful.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* SUCCESS
|
|
109
|
+
*/
|
|
110
|
+
code?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The summary of the custom agent whose deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
114
|
+
*/
|
|
115
|
+
data?: DeleteCustomAgentResponseBodyData;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The HTTP status code of the request. The value is 200 if the request is successful.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* 200
|
|
122
|
+
*/
|
|
123
|
+
httpStatusCode?: number;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The processing result message of the request. The value is success if the request is successful.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* success
|
|
130
|
+
*/
|
|
131
|
+
message?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The unique identifier of the request. You can use this ID to locate and troubleshoot issues.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* 550E8400-E29B-41D4-A716-446655440000
|
|
138
|
+
*/
|
|
139
|
+
requestId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Indicates whether the request was processed successfully. A value of true indicates that the request was processed successfully. A successful creation, update, or deletion does not mean that the background operation is complete.
|
|
143
|
+
*/
|
|
144
|
+
success?: boolean;
|
|
145
|
+
static names(): {
|
|
146
|
+
[key: string]: string;
|
|
147
|
+
};
|
|
148
|
+
static types(): {
|
|
149
|
+
[key: string]: any;
|
|
150
|
+
};
|
|
151
|
+
validate(): void;
|
|
152
|
+
constructor(map?: {
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
});
|
|
155
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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.DeleteCustomAgentResponseBody = exports.DeleteCustomAgentResponseBodyData = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DeleteCustomAgentResponseBodyData extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
agentId: 'agentId',
|
|
43
|
+
createMode: 'createMode',
|
|
44
|
+
createdAt: 'createdAt',
|
|
45
|
+
deployType: 'deployType',
|
|
46
|
+
description: 'description',
|
|
47
|
+
latestSpecVersion: 'latestSpecVersion',
|
|
48
|
+
name: 'name',
|
|
49
|
+
runtime: 'runtime',
|
|
50
|
+
status: 'status',
|
|
51
|
+
updatedAt: 'updatedAt',
|
|
52
|
+
workspaceId: 'workspaceId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
static types() {
|
|
56
|
+
return {
|
|
57
|
+
agentId: 'string',
|
|
58
|
+
createMode: 'string',
|
|
59
|
+
createdAt: 'string',
|
|
60
|
+
deployType: 'string',
|
|
61
|
+
description: 'string',
|
|
62
|
+
latestSpecVersion: 'number',
|
|
63
|
+
name: 'string',
|
|
64
|
+
runtime: 'string',
|
|
65
|
+
status: 'string',
|
|
66
|
+
updatedAt: 'string',
|
|
67
|
+
workspaceId: 'string',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
validate() {
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
constructor(map) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.DeleteCustomAgentResponseBodyData = DeleteCustomAgentResponseBodyData;
|
|
78
|
+
class DeleteCustomAgentResponseBody extends $dara.Model {
|
|
79
|
+
static names() {
|
|
80
|
+
return {
|
|
81
|
+
code: 'code',
|
|
82
|
+
data: 'data',
|
|
83
|
+
httpStatusCode: 'httpStatusCode',
|
|
84
|
+
message: 'message',
|
|
85
|
+
requestId: 'requestId',
|
|
86
|
+
success: 'success',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
static types() {
|
|
90
|
+
return {
|
|
91
|
+
code: 'string',
|
|
92
|
+
data: DeleteCustomAgentResponseBodyData,
|
|
93
|
+
httpStatusCode: 'number',
|
|
94
|
+
message: 'string',
|
|
95
|
+
requestId: 'string',
|
|
96
|
+
success: 'boolean',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
validate() {
|
|
100
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
101
|
+
this.data.validate();
|
|
102
|
+
}
|
|
103
|
+
super.validate();
|
|
104
|
+
}
|
|
105
|
+
constructor(map) {
|
|
106
|
+
super(map);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.DeleteCustomAgentResponseBody = DeleteCustomAgentResponseBody;
|
|
110
|
+
//# sourceMappingURL=DeleteCustomAgentResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteCustomAgentResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteCustomAgentResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAyFhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,iBAAiB,EAAE,mBAAmB;YACtC,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,iBAAiB,EAAE,QAAQ;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;SACtB,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;AAhID,8EAgIC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IA2C5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,iCAAiC;YACvC,cAAc,EAAE,QAAQ;YACxB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AA3ED,sEA2EC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class GetCustomAgentRequest extends $dara.Model {
|
|
3
|
+
static names(): {
|
|
4
|
+
[key: string]: string;
|
|
5
|
+
};
|
|
6
|
+
static types(): {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
validate(): void;
|
|
10
|
+
constructor(map?: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.GetCustomAgentRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class GetCustomAgentRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {};
|
|
42
|
+
}
|
|
43
|
+
static types() {
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
constructor(map) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.GetCustomAgentRequest = GetCustomAgentRequest;
|
|
54
|
+
//# sourceMappingURL=GetCustomAgentRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetCustomAgentRequest.js","sourceRoot":"","sources":["../../src/models/GetCustomAgentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IACpD,MAAM,CAAC,KAAK;QACV,OAAO,EACN,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO,EACN,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;AAlBD,sDAkBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { GetCustomAgentResponseBody } from "./GetCustomAgentResponseBody";
|
|
3
|
+
export declare class GetCustomAgentResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: GetCustomAgentResponseBody;
|
|
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.GetCustomAgentResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const GetCustomAgentResponseBody_1 = require("./GetCustomAgentResponseBody");
|
|
40
|
+
class GetCustomAgentResponse 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: GetCustomAgentResponseBody_1.GetCustomAgentResponseBody,
|
|
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.GetCustomAgentResponse = GetCustomAgentResponse;
|
|
69
|
+
//# sourceMappingURL=GetCustomAgentResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetCustomAgentResponse.js","sourceRoot":"","sources":["../../src/models/GetCustomAgentResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6EAA0E;AAG1E,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAIrD,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,uDAA0B;SACjC,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,wDAiCC"}
|