@nestbox-ai/instances 1.0.48 → 1.0.50
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/.openapi-generator/FILES +0 -2
- package/README.md +2 -4
- package/api.ts +5 -73
- package/dist/api.d.ts +5 -73
- package/dist/esm/api.d.ts +5 -73
- package/docs/CreateMachineAgentDto.md +2 -4
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @nestbox-ai/instances@1.0.
|
|
1
|
+
## @nestbox-ai/instances@1.0.50
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @nestbox-ai/instances@1.0.
|
|
39
|
+
npm install @nestbox-ai/instances@1.0.50 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -61,8 +61,6 @@ Class | Method | HTTP request | Description
|
|
|
61
61
|
|
|
62
62
|
### Documentation For Models
|
|
63
63
|
|
|
64
|
-
- [AdditionalAgentParameterDto](docs/AdditionalAgentParameterDto.md)
|
|
65
|
-
- [AgentParameterDto](docs/AgentParameterDto.md)
|
|
66
64
|
- [CreateMachineAgentDto](docs/CreateMachineAgentDto.md)
|
|
67
65
|
|
|
68
66
|
|
package/api.ts
CHANGED
|
@@ -23,68 +23,6 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @interface AdditionalAgentParameterDto
|
|
30
|
-
*/
|
|
31
|
-
export interface AdditionalAgentParameterDto {
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof AdditionalAgentParameterDto
|
|
36
|
-
*/
|
|
37
|
-
'name': string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof AdditionalAgentParameterDto
|
|
42
|
-
*/
|
|
43
|
-
'description': string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof AdditionalAgentParameterDto
|
|
48
|
-
*/
|
|
49
|
-
'default_value': string;
|
|
50
|
-
/**
|
|
51
|
-
* The ID of the machine model associated with this additional parameter
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof AdditionalAgentParameterDto
|
|
54
|
-
*/
|
|
55
|
-
'machineModelId': string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @export
|
|
60
|
-
* @interface AgentParameterDto
|
|
61
|
-
*/
|
|
62
|
-
export interface AgentParameterDto {
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof AgentParameterDto
|
|
67
|
-
*/
|
|
68
|
-
'name': string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof AgentParameterDto
|
|
73
|
-
*/
|
|
74
|
-
'description': string;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {string}
|
|
78
|
-
* @memberof AgentParameterDto
|
|
79
|
-
*/
|
|
80
|
-
'default_value': string;
|
|
81
|
-
/**
|
|
82
|
-
* The ID of the machine model associated with this parameter
|
|
83
|
-
* @type {string}
|
|
84
|
-
* @memberof AgentParameterDto
|
|
85
|
-
*/
|
|
86
|
-
'machineModelId': string;
|
|
87
|
-
}
|
|
88
26
|
/**
|
|
89
27
|
*
|
|
90
28
|
* @export
|
|
@@ -117,22 +55,16 @@ export interface CreateMachineAgentDto {
|
|
|
117
55
|
'type': string;
|
|
118
56
|
/**
|
|
119
57
|
*
|
|
120
|
-
* @type {
|
|
121
|
-
* @memberof CreateMachineAgentDto
|
|
122
|
-
*/
|
|
123
|
-
'parameters'?: Array<AgentParameterDto>;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {Array<AdditionalAgentParameterDto>}
|
|
58
|
+
* @type {string}
|
|
127
59
|
* @memberof CreateMachineAgentDto
|
|
128
60
|
*/
|
|
129
|
-
'
|
|
61
|
+
'machineManifestId'?: string;
|
|
130
62
|
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {
|
|
63
|
+
* Optional Input Schema JSON for agent.
|
|
64
|
+
* @type {object}
|
|
133
65
|
* @memberof CreateMachineAgentDto
|
|
134
66
|
*/
|
|
135
|
-
'
|
|
67
|
+
'inputSchema'?: object;
|
|
136
68
|
}
|
|
137
69
|
|
|
138
70
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -13,68 +13,6 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AdditionalAgentParameterDto
|
|
20
|
-
*/
|
|
21
|
-
export interface AdditionalAgentParameterDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AdditionalAgentParameterDto
|
|
26
|
-
*/
|
|
27
|
-
'name': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AdditionalAgentParameterDto
|
|
32
|
-
*/
|
|
33
|
-
'description': string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AdditionalAgentParameterDto
|
|
38
|
-
*/
|
|
39
|
-
'default_value': string;
|
|
40
|
-
/**
|
|
41
|
-
* The ID of the machine model associated with this additional parameter
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AdditionalAgentParameterDto
|
|
44
|
-
*/
|
|
45
|
-
'machineModelId': string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @interface AgentParameterDto
|
|
51
|
-
*/
|
|
52
|
-
export interface AgentParameterDto {
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof AgentParameterDto
|
|
57
|
-
*/
|
|
58
|
-
'name': string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof AgentParameterDto
|
|
63
|
-
*/
|
|
64
|
-
'description': string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof AgentParameterDto
|
|
69
|
-
*/
|
|
70
|
-
'default_value': string;
|
|
71
|
-
/**
|
|
72
|
-
* The ID of the machine model associated with this parameter
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof AgentParameterDto
|
|
75
|
-
*/
|
|
76
|
-
'machineModelId': string;
|
|
77
|
-
}
|
|
78
16
|
/**
|
|
79
17
|
*
|
|
80
18
|
* @export
|
|
@@ -107,22 +45,16 @@ export interface CreateMachineAgentDto {
|
|
|
107
45
|
'type': string;
|
|
108
46
|
/**
|
|
109
47
|
*
|
|
110
|
-
* @type {
|
|
111
|
-
* @memberof CreateMachineAgentDto
|
|
112
|
-
*/
|
|
113
|
-
'parameters'?: Array<AgentParameterDto>;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {Array<AdditionalAgentParameterDto>}
|
|
48
|
+
* @type {string}
|
|
117
49
|
* @memberof CreateMachineAgentDto
|
|
118
50
|
*/
|
|
119
|
-
'
|
|
51
|
+
'machineManifestId'?: string;
|
|
120
52
|
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {
|
|
53
|
+
* Optional Input Schema JSON for agent.
|
|
54
|
+
* @type {object}
|
|
123
55
|
* @memberof CreateMachineAgentDto
|
|
124
56
|
*/
|
|
125
|
-
'
|
|
57
|
+
'inputSchema'?: object;
|
|
126
58
|
}
|
|
127
59
|
/**
|
|
128
60
|
* AgentsApi - axios parameter creator
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -13,68 +13,6 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AdditionalAgentParameterDto
|
|
20
|
-
*/
|
|
21
|
-
export interface AdditionalAgentParameterDto {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AdditionalAgentParameterDto
|
|
26
|
-
*/
|
|
27
|
-
'name': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AdditionalAgentParameterDto
|
|
32
|
-
*/
|
|
33
|
-
'description': string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AdditionalAgentParameterDto
|
|
38
|
-
*/
|
|
39
|
-
'default_value': string;
|
|
40
|
-
/**
|
|
41
|
-
* The ID of the machine model associated with this additional parameter
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AdditionalAgentParameterDto
|
|
44
|
-
*/
|
|
45
|
-
'machineModelId': string;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @interface AgentParameterDto
|
|
51
|
-
*/
|
|
52
|
-
export interface AgentParameterDto {
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof AgentParameterDto
|
|
57
|
-
*/
|
|
58
|
-
'name': string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof AgentParameterDto
|
|
63
|
-
*/
|
|
64
|
-
'description': string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof AgentParameterDto
|
|
69
|
-
*/
|
|
70
|
-
'default_value': string;
|
|
71
|
-
/**
|
|
72
|
-
* The ID of the machine model associated with this parameter
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof AgentParameterDto
|
|
75
|
-
*/
|
|
76
|
-
'machineModelId': string;
|
|
77
|
-
}
|
|
78
16
|
/**
|
|
79
17
|
*
|
|
80
18
|
* @export
|
|
@@ -107,22 +45,16 @@ export interface CreateMachineAgentDto {
|
|
|
107
45
|
'type': string;
|
|
108
46
|
/**
|
|
109
47
|
*
|
|
110
|
-
* @type {
|
|
111
|
-
* @memberof CreateMachineAgentDto
|
|
112
|
-
*/
|
|
113
|
-
'parameters'?: Array<AgentParameterDto>;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {Array<AdditionalAgentParameterDto>}
|
|
48
|
+
* @type {string}
|
|
117
49
|
* @memberof CreateMachineAgentDto
|
|
118
50
|
*/
|
|
119
|
-
'
|
|
51
|
+
'machineManifestId'?: string;
|
|
120
52
|
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {
|
|
53
|
+
* Optional Input Schema JSON for agent.
|
|
54
|
+
* @type {object}
|
|
123
55
|
* @memberof CreateMachineAgentDto
|
|
124
56
|
*/
|
|
125
|
-
'
|
|
57
|
+
'inputSchema'?: object;
|
|
126
58
|
}
|
|
127
59
|
/**
|
|
128
60
|
* AgentsApi - axios parameter creator
|
|
@@ -9,9 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**description** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**entryFunctionName** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**type** | **string** | | [default to undefined]
|
|
12
|
-
**parameters** | [**Array<AgentParameterDto>**](AgentParameterDto.md) | | [optional] [default to undefined]
|
|
13
|
-
**additionalParameters** | [**Array<AdditionalAgentParameterDto>**](AdditionalAgentParameterDto.md) | | [optional] [default to undefined]
|
|
14
12
|
**machineManifestId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**inputSchema** | **object** | Optional Input Schema JSON for agent. | [optional] [default to undefined]
|
|
15
14
|
|
|
16
15
|
## Example
|
|
17
16
|
|
|
@@ -23,9 +22,8 @@ const instance: CreateMachineAgentDto = {
|
|
|
23
22
|
description,
|
|
24
23
|
entryFunctionName,
|
|
25
24
|
type,
|
|
26
|
-
parameters,
|
|
27
|
-
additionalParameters,
|
|
28
25
|
machineManifestId,
|
|
26
|
+
inputSchema,
|
|
29
27
|
};
|
|
30
28
|
```
|
|
31
29
|
|