@alicloud/rdsai20250507 3.2.0 → 3.4.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 (53) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +149 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeSandboxTemplatesResponseBody.d.ts +1 -0
  5. package/dist/models/DescribeSandboxTemplatesResponseBody.js +2 -0
  6. package/dist/models/DescribeSandboxTemplatesResponseBody.js.map +1 -1
  7. package/dist/models/GetAvailableLlmmodelsRequest.d.ts +34 -0
  8. package/dist/models/GetAvailableLlmmodelsRequest.js +62 -0
  9. package/dist/models/GetAvailableLlmmodelsRequest.js.map +1 -0
  10. package/dist/models/GetAvailableLlmmodelsResponse.d.ts +19 -0
  11. package/dist/models/GetAvailableLlmmodelsResponse.js +69 -0
  12. package/dist/models/GetAvailableLlmmodelsResponse.js.map +1 -0
  13. package/dist/models/GetAvailableLlmmodelsResponseBody.d.ts +23 -0
  14. package/dist/models/GetAvailableLlmmodelsResponseBody.js +63 -0
  15. package/dist/models/GetAvailableLlmmodelsResponseBody.js.map +1 -0
  16. package/dist/models/ListLlmtokenUsageRequest.d.ts +50 -0
  17. package/dist/models/ListLlmtokenUsageRequest.js +66 -0
  18. package/dist/models/ListLlmtokenUsageRequest.js.map +1 -0
  19. package/dist/models/ListLlmtokenUsageResponse.d.ts +19 -0
  20. package/dist/models/ListLlmtokenUsageResponse.js +69 -0
  21. package/dist/models/ListLlmtokenUsageResponse.js.map +1 -0
  22. package/dist/models/ListLlmtokenUsageResponseBody.d.ts +104 -0
  23. package/dist/models/ListLlmtokenUsageResponseBody.js +108 -0
  24. package/dist/models/ListLlmtokenUsageResponseBody.js.map +1 -0
  25. package/dist/models/ModifyAppInstanceRequest.d.ts +51 -0
  26. package/dist/models/ModifyAppInstanceRequest.js +88 -0
  27. package/dist/models/ModifyAppInstanceRequest.js.map +1 -0
  28. package/dist/models/ModifyAppInstanceResponse.d.ts +19 -0
  29. package/dist/models/ModifyAppInstanceResponse.js +69 -0
  30. package/dist/models/ModifyAppInstanceResponse.js.map +1 -0
  31. package/dist/models/ModifyAppInstanceResponseBody.d.ts +49 -0
  32. package/dist/models/ModifyAppInstanceResponseBody.js +86 -0
  33. package/dist/models/ModifyAppInstanceResponseBody.js.map +1 -0
  34. package/dist/models/ModifyAppInstanceShrinkRequest.d.ts +29 -0
  35. package/dist/models/ModifyAppInstanceShrinkRequest.js +64 -0
  36. package/dist/models/ModifyAppInstanceShrinkRequest.js.map +1 -0
  37. package/dist/models/model.d.ts +13 -0
  38. package/dist/models/model.js +32 -6
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +168 -0
  42. package/src/models/DescribeSandboxTemplatesResponseBody.ts +3 -0
  43. package/src/models/GetAvailableLlmmodelsRequest.ts +51 -0
  44. package/src/models/GetAvailableLlmmodelsResponse.ts +40 -0
  45. package/src/models/GetAvailableLlmmodelsResponseBody.ts +41 -0
  46. package/src/models/ListLlmtokenUsageRequest.ts +71 -0
  47. package/src/models/ListLlmtokenUsageResponse.ts +40 -0
  48. package/src/models/ListLlmtokenUsageResponseBody.ts +158 -0
  49. package/src/models/ModifyAppInstanceRequest.ts +85 -0
  50. package/src/models/ModifyAppInstanceResponse.ts +40 -0
  51. package/src/models/ModifyAppInstanceResponseBody.ts +81 -0
  52. package/src/models/ModifyAppInstanceShrinkRequest.ts +48 -0
  53. package/src/models/model.ts +13 -0
@@ -0,0 +1,85 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyAppInstanceRequestComponents extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * enable
9
+ */
10
+ status?: string;
11
+ /**
12
+ * @example
13
+ * supabase
14
+ */
15
+ type?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ status: 'Status',
19
+ type: 'Type',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ status: 'string',
26
+ type: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class ModifyAppInstanceRequest extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * ETnLKlblzczshOTUbOCz****
43
+ */
44
+ clientToken?: string;
45
+ components?: ModifyAppInstanceRequestComponents[];
46
+ /**
47
+ * @example
48
+ * ra-8moov5lxba****
49
+ */
50
+ instanceName?: string;
51
+ /**
52
+ * @example
53
+ * cn-beijing
54
+ */
55
+ regionId?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ clientToken: 'ClientToken',
59
+ components: 'Components',
60
+ instanceName: 'InstanceName',
61
+ regionId: 'RegionId',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ clientToken: 'string',
68
+ components: { 'type': 'array', 'itemType': ModifyAppInstanceRequestComponents },
69
+ instanceName: 'string',
70
+ regionId: 'string',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ if(Array.isArray(this.components)) {
76
+ $dara.Model.validateArray(this.components);
77
+ }
78
+ super.validate();
79
+ }
80
+
81
+ constructor(map?: { [key: string]: any }) {
82
+ super(map);
83
+ }
84
+ }
85
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifyAppInstanceResponseBody } from "./ModifyAppInstanceResponseBody";
4
+
5
+
6
+ export class ModifyAppInstanceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifyAppInstanceResponseBody;
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: ModifyAppInstanceResponseBody,
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,81 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyAppInstanceResponseBodyComponents extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * enable
9
+ */
10
+ status?: string;
11
+ /**
12
+ * @example
13
+ * supabase
14
+ */
15
+ type?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ status: 'Status',
19
+ type: 'Type',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ status: 'string',
26
+ type: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class ModifyAppInstanceResponseBody extends $dara.Model {
40
+ components?: ModifyAppInstanceResponseBodyComponents[];
41
+ /**
42
+ * @example
43
+ * ra-8moov5lxba****
44
+ */
45
+ instanceName?: string;
46
+ /**
47
+ * @remarks
48
+ * Id of the request
49
+ *
50
+ * @example
51
+ * FE9C65D7-930F-57A5-A207-8C396329****
52
+ */
53
+ requestId?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ components: 'Components',
57
+ instanceName: 'InstanceName',
58
+ requestId: 'RequestId',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ components: { 'type': 'array', 'itemType': ModifyAppInstanceResponseBodyComponents },
65
+ instanceName: 'string',
66
+ requestId: 'string',
67
+ };
68
+ }
69
+
70
+ validate() {
71
+ if(Array.isArray(this.components)) {
72
+ $dara.Model.validateArray(this.components);
73
+ }
74
+ super.validate();
75
+ }
76
+
77
+ constructor(map?: { [key: string]: any }) {
78
+ super(map);
79
+ }
80
+ }
81
+
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyAppInstanceShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ETnLKlblzczshOTUbOCz****
9
+ */
10
+ clientToken?: string;
11
+ componentsShrink?: string;
12
+ /**
13
+ * @example
14
+ * ra-8moov5lxba****
15
+ */
16
+ instanceName?: string;
17
+ /**
18
+ * @example
19
+ * cn-beijing
20
+ */
21
+ regionId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ clientToken: 'ClientToken',
25
+ componentsShrink: 'Components',
26
+ instanceName: 'InstanceName',
27
+ regionId: 'RegionId',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ clientToken: 'string',
34
+ componentsShrink: 'string',
35
+ instanceName: 'string',
36
+ regionId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -44,8 +44,11 @@ export { ListApiKeysResponseBodyData } from './ListApiKeysResponseBody';
44
44
  export { ListCustomAgentResponseBodyData } from './ListCustomAgentResponseBody';
45
45
  export { ListCustomAgentResponseBodySkills } from './ListCustomAgentResponseBody';
46
46
  export { ListCustomAgentToolsResponseBodyData } from './ListCustomAgentToolsResponseBody';
47
+ export { ListLLMTokenUsageResponseBodyTokenUsages } from './ListLlmtokenUsageResponseBody';
47
48
  export { ListScheduledTasksResponseBodySchedules } from './ListScheduledTasksResponseBody';
48
49
  export { ListSkillResponseBodyData } from './ListSkillResponseBody';
50
+ export { ModifyAppInstanceRequestComponents } from './ModifyAppInstanceRequest';
51
+ export { ModifyAppInstanceResponseBodyComponents } from './ModifyAppInstanceResponseBody';
49
52
  export { ModifyInstanceAuthConfigRequestConfigList } from './ModifyInstanceAuthConfigRequest';
50
53
  export { ModifyInstanceRAGConfigRequestConfigList } from './ModifyInstanceRagconfigRequest';
51
54
  export { ModifyInstanceStorageConfigRequestConfigList } from './ModifyInstanceStorageConfigRequest';
@@ -149,6 +152,9 @@ export { DisableAgentRuntimeResponse } from './DisableAgentRuntimeResponse';
149
152
  export { EnableAgentRuntimeRequest } from './EnableAgentRuntimeRequest';
150
153
  export { EnableAgentRuntimeResponseBody } from './EnableAgentRuntimeResponseBody';
151
154
  export { EnableAgentRuntimeResponse } from './EnableAgentRuntimeResponse';
155
+ export { GetAvailableLLMModelsRequest } from './GetAvailableLlmmodelsRequest';
156
+ export { GetAvailableLLMModelsResponseBody } from './GetAvailableLlmmodelsResponseBody';
157
+ export { GetAvailableLLMModelsResponse } from './GetAvailableLlmmodelsResponse';
152
158
  export { GetConversationsRequest } from './GetConversationsRequest';
153
159
  export { GetConversationsResponseBody } from './GetConversationsResponseBody';
154
160
  export { GetConversationsResponse } from './GetConversationsResponse';
@@ -184,12 +190,19 @@ export { ListCustomAgentResponseBody } from './ListCustomAgentResponseBody';
184
190
  export { ListCustomAgentResponse } from './ListCustomAgentResponse';
185
191
  export { ListCustomAgentToolsResponseBody } from './ListCustomAgentToolsResponseBody';
186
192
  export { ListCustomAgentToolsResponse } from './ListCustomAgentToolsResponse';
193
+ export { ListLLMTokenUsageRequest } from './ListLlmtokenUsageRequest';
194
+ export { ListLLMTokenUsageResponseBody } from './ListLlmtokenUsageResponseBody';
195
+ export { ListLLMTokenUsageResponse } from './ListLlmtokenUsageResponse';
187
196
  export { ListScheduledTasksRequest } from './ListScheduledTasksRequest';
188
197
  export { ListScheduledTasksResponseBody } from './ListScheduledTasksResponseBody';
189
198
  export { ListScheduledTasksResponse } from './ListScheduledTasksResponse';
190
199
  export { ListSkillRequest } from './ListSkillRequest';
191
200
  export { ListSkillResponseBody } from './ListSkillResponseBody';
192
201
  export { ListSkillResponse } from './ListSkillResponse';
202
+ export { ModifyAppInstanceRequest } from './ModifyAppInstanceRequest';
203
+ export { ModifyAppInstanceShrinkRequest } from './ModifyAppInstanceShrinkRequest';
204
+ export { ModifyAppInstanceResponseBody } from './ModifyAppInstanceResponseBody';
205
+ export { ModifyAppInstanceResponse } from './ModifyAppInstanceResponse';
193
206
  export { ModifyInstanceAuthConfigRequest } from './ModifyInstanceAuthConfigRequest';
194
207
  export { ModifyInstanceAuthConfigShrinkRequest } from './ModifyInstanceAuthConfigShrinkRequest';
195
208
  export { ModifyInstanceAuthConfigResponseBody } from './ModifyInstanceAuthConfigResponseBody';