@nestbox-ai/admin 1.0.47 → 1.0.49
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 +3 -0
- package/README.md +8 -2
- package/api.ts +297 -0
- package/dist/api.d.ts +180 -0
- package/dist/api.js +219 -0
- package/dist/esm/api.d.ts +180 -0
- package/dist/esm/api.js +219 -0
- package/docs/BenchmarkingDatapointDto.md +22 -0
- package/docs/BenchmarkingReportsDto.md +22 -0
- package/docs/CreateMachineAgentDto.md +2 -0
- package/docs/MachineInstancesApi.md +177 -0
- package/docs/MachineStatusDto.md +24 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -12,6 +12,8 @@ docs/AllProjectResponse.md
|
|
|
12
12
|
docs/AllProjectResponseModel.md
|
|
13
13
|
docs/AuthApi.md
|
|
14
14
|
docs/BadRequestExceptionResponse.md
|
|
15
|
+
docs/BenchmarkingDatapointDto.md
|
|
16
|
+
docs/BenchmarkingReportsDto.md
|
|
15
17
|
docs/BooleanResponseDTO.md
|
|
16
18
|
docs/ChunkFileRequestDTO.md
|
|
17
19
|
docs/CreateCollectionRequestDTO.md
|
|
@@ -51,6 +53,7 @@ docs/LoginResponseDTO.md
|
|
|
51
53
|
docs/MachineAgentApi.md
|
|
52
54
|
docs/MachineAgentLogsApi.md
|
|
53
55
|
docs/MachineInstancesApi.md
|
|
56
|
+
docs/MachineStatusDto.md
|
|
54
57
|
docs/MembersApi.md
|
|
55
58
|
docs/MessageResponseDTO.md
|
|
56
59
|
docs/MiscellaneousApi.md
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @nestbox-ai/admin@1.0.
|
|
1
|
+
## @nestbox-ai/admin@1.0.49
|
|
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/admin@1.0.
|
|
39
|
+
npm install @nestbox-ai/admin@1.0.49 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -84,6 +84,9 @@ Class | Method | HTTP request | Description
|
|
|
84
84
|
*MachineInstancesApi* | [**machineInstancesControllerCreateMachineInstance**](docs/MachineInstancesApi.md#machineinstancescontrollercreatemachineinstance) | **POST** /projects/{projectId}/instances | Create Machine Instance
|
|
85
85
|
*MachineInstancesApi* | [**machineInstancesControllerDeleteMachineInstance**](docs/MachineInstancesApi.md#machineinstancescontrollerdeletemachineinstance) | **DELETE** /projects/{projectId}/instances | Delete machine instances by ids
|
|
86
86
|
*MachineInstancesApi* | [**machineInstancesControllerGetInstanceRunningStatus**](docs/MachineInstancesApi.md#machineinstancescontrollergetinstancerunningstatus) | **GET** /projects/{projectId}/instances/status | Retrieve running status of instances
|
|
87
|
+
*MachineInstancesApi* | [**machineInstancesControllerGetMachineBenchmarkingDatapoints**](docs/MachineInstancesApi.md#machineinstancescontrollergetmachinebenchmarkingdatapoints) | **GET** /projects/{projectId}/instances/machine/{machineId}/benchmarking-datapoints | Retrieve CSV benchmarking datapoints for a specific machine
|
|
88
|
+
*MachineInstancesApi* | [**machineInstancesControllerGetMachineBenchmarkingReports**](docs/MachineInstancesApi.md#machineinstancescontrollergetmachinebenchmarkingreports) | **GET** /projects/{projectId}/instances/machine/{machineId}/benchmarking-reports | Retrieve benchmarking reports for a specific machine
|
|
89
|
+
*MachineInstancesApi* | [**machineInstancesControllerGetMachineBootstrapStatus**](docs/MachineInstancesApi.md#machineinstancescontrollergetmachinebootstrapstatus) | **GET** /projects/{projectId}/instances/machine/{machineId}/status | Retrieve status of a specific machine instance
|
|
87
90
|
*MachineInstancesApi* | [**machineInstancesControllerGetMachineInstanceById**](docs/MachineInstancesApi.md#machineinstancescontrollergetmachineinstancebyid) | **GET** /projects/{projectId}/instances/machine/{machineId} | Retrieve running status of instances
|
|
88
91
|
*MachineInstancesApi* | [**machineInstancesControllerGetMachineInstanceByUserId**](docs/MachineInstancesApi.md#machineinstancescontrollergetmachineinstancebyuserid) | **GET** /projects/{projectId}/instances | Retrieve all machine instances with count
|
|
89
92
|
*MachineInstancesApi* | [**machineInstancesControllerUpdateRunningStatus**](docs/MachineInstancesApi.md#machineinstancescontrollerupdaterunningstatus) | **PUT** /projects/{projectId}/instances/status | Update Machine Instance Running Status
|
|
@@ -122,6 +125,8 @@ Class | Method | HTTP request | Description
|
|
|
122
125
|
- [AllProjectResponse](docs/AllProjectResponse.md)
|
|
123
126
|
- [AllProjectResponseModel](docs/AllProjectResponseModel.md)
|
|
124
127
|
- [BadRequestExceptionResponse](docs/BadRequestExceptionResponse.md)
|
|
128
|
+
- [BenchmarkingDatapointDto](docs/BenchmarkingDatapointDto.md)
|
|
129
|
+
- [BenchmarkingReportsDto](docs/BenchmarkingReportsDto.md)
|
|
125
130
|
- [BooleanResponseDTO](docs/BooleanResponseDTO.md)
|
|
126
131
|
- [ChunkFileRequestDTO](docs/ChunkFileRequestDTO.md)
|
|
127
132
|
- [CreateCollectionRequestDTO](docs/CreateCollectionRequestDTO.md)
|
|
@@ -156,6 +161,7 @@ Class | Method | HTTP request | Description
|
|
|
156
161
|
- [GetUserProjectRoleByRoleIdResponseDto](docs/GetUserProjectRoleByRoleIdResponseDto.md)
|
|
157
162
|
- [LoginRequestDTO](docs/LoginRequestDTO.md)
|
|
158
163
|
- [LoginResponseDTO](docs/LoginResponseDTO.md)
|
|
164
|
+
- [MachineStatusDto](docs/MachineStatusDto.md)
|
|
159
165
|
- [MessageResponseDTO](docs/MessageResponseDTO.md)
|
|
160
166
|
- [NotFoundExceptionResponse](docs/NotFoundExceptionResponse.md)
|
|
161
167
|
- [OAuthLoginRequestDTO](docs/OAuthLoginRequestDTO.md)
|
package/api.ts
CHANGED
|
@@ -167,6 +167,44 @@ export interface BadRequestExceptionResponse {
|
|
|
167
167
|
*/
|
|
168
168
|
'errors': object | null;
|
|
169
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
*
|
|
172
|
+
* @export
|
|
173
|
+
* @interface BenchmarkingDatapointDto
|
|
174
|
+
*/
|
|
175
|
+
export interface BenchmarkingDatapointDto {
|
|
176
|
+
/**
|
|
177
|
+
* Combined content of all benchmarking lines
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof BenchmarkingDatapointDto
|
|
180
|
+
*/
|
|
181
|
+
'lines': string;
|
|
182
|
+
/**
|
|
183
|
+
* Total number of lines found
|
|
184
|
+
* @type {number}
|
|
185
|
+
* @memberof BenchmarkingDatapointDto
|
|
186
|
+
*/
|
|
187
|
+
'totalLines': number;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @export
|
|
192
|
+
* @interface BenchmarkingReportsDto
|
|
193
|
+
*/
|
|
194
|
+
export interface BenchmarkingReportsDto {
|
|
195
|
+
/**
|
|
196
|
+
* Combined markdown content of all benchmarking reports
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof BenchmarkingReportsDto
|
|
199
|
+
*/
|
|
200
|
+
'content': string;
|
|
201
|
+
/**
|
|
202
|
+
* Total number of reports found
|
|
203
|
+
* @type {number}
|
|
204
|
+
* @memberof BenchmarkingReportsDto
|
|
205
|
+
*/
|
|
206
|
+
'totalReports': number;
|
|
207
|
+
}
|
|
170
208
|
/**
|
|
171
209
|
*
|
|
172
210
|
* @export
|
|
@@ -327,6 +365,12 @@ export interface CreateMachineAgentDto {
|
|
|
327
365
|
* @memberof CreateMachineAgentDto
|
|
328
366
|
*/
|
|
329
367
|
'userId': number;
|
|
368
|
+
/**
|
|
369
|
+
* Optional Input Schema JSON for agent.
|
|
370
|
+
* @type {object}
|
|
371
|
+
* @memberof CreateMachineAgentDto
|
|
372
|
+
*/
|
|
373
|
+
'inputSchema'?: object;
|
|
330
374
|
}
|
|
331
375
|
/**
|
|
332
376
|
*
|
|
@@ -843,6 +887,31 @@ export interface LoginResponseDTO {
|
|
|
843
887
|
*/
|
|
844
888
|
'token': string;
|
|
845
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @export
|
|
893
|
+
* @interface MachineStatusDto
|
|
894
|
+
*/
|
|
895
|
+
export interface MachineStatusDto {
|
|
896
|
+
/**
|
|
897
|
+
* Current status of the machine instance
|
|
898
|
+
* @type {string}
|
|
899
|
+
* @memberof MachineStatusDto
|
|
900
|
+
*/
|
|
901
|
+
'status': string;
|
|
902
|
+
/**
|
|
903
|
+
* Logs from the machine instance execution
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof MachineStatusDto
|
|
906
|
+
*/
|
|
907
|
+
'logs': string;
|
|
908
|
+
/**
|
|
909
|
+
* Timestamp of the status update
|
|
910
|
+
* @type {string}
|
|
911
|
+
* @memberof MachineStatusDto
|
|
912
|
+
*/
|
|
913
|
+
'timeStamp': string;
|
|
914
|
+
}
|
|
846
915
|
/**
|
|
847
916
|
*
|
|
848
917
|
* @export
|
|
@@ -4211,6 +4280,120 @@ export const MachineInstancesApiAxiosParamCreator = function (configuration?: Co
|
|
|
4211
4280
|
|
|
4212
4281
|
|
|
4213
4282
|
|
|
4283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4285
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4286
|
+
|
|
4287
|
+
return {
|
|
4288
|
+
url: toPathString(localVarUrlObj),
|
|
4289
|
+
options: localVarRequestOptions,
|
|
4290
|
+
};
|
|
4291
|
+
},
|
|
4292
|
+
/**
|
|
4293
|
+
*
|
|
4294
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4295
|
+
* @param {string} projectId
|
|
4296
|
+
* @param {string} machineId
|
|
4297
|
+
* @param {*} [options] Override http request option.
|
|
4298
|
+
* @throws {RequiredError}
|
|
4299
|
+
*/
|
|
4300
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints: async (projectId: string, machineId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4301
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4302
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingDatapoints', 'projectId', projectId)
|
|
4303
|
+
// verify required parameter 'machineId' is not null or undefined
|
|
4304
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingDatapoints', 'machineId', machineId)
|
|
4305
|
+
const localVarPath = `/projects/{projectId}/instances/machine/{machineId}/benchmarking-datapoints`
|
|
4306
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4307
|
+
.replace(`{${"machineId"}}`, encodeURIComponent(String(machineId)));
|
|
4308
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4310
|
+
let baseOptions;
|
|
4311
|
+
if (configuration) {
|
|
4312
|
+
baseOptions = configuration.baseOptions;
|
|
4313
|
+
}
|
|
4314
|
+
|
|
4315
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4316
|
+
const localVarHeaderParameter = {} as any;
|
|
4317
|
+
const localVarQueryParameter = {} as any;
|
|
4318
|
+
|
|
4319
|
+
|
|
4320
|
+
|
|
4321
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4322
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4323
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4324
|
+
|
|
4325
|
+
return {
|
|
4326
|
+
url: toPathString(localVarUrlObj),
|
|
4327
|
+
options: localVarRequestOptions,
|
|
4328
|
+
};
|
|
4329
|
+
},
|
|
4330
|
+
/**
|
|
4331
|
+
*
|
|
4332
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4333
|
+
* @param {string} projectId
|
|
4334
|
+
* @param {string} machineId
|
|
4335
|
+
* @param {*} [options] Override http request option.
|
|
4336
|
+
* @throws {RequiredError}
|
|
4337
|
+
*/
|
|
4338
|
+
machineInstancesControllerGetMachineBenchmarkingReports: async (projectId: string, machineId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4339
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4340
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingReports', 'projectId', projectId)
|
|
4341
|
+
// verify required parameter 'machineId' is not null or undefined
|
|
4342
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingReports', 'machineId', machineId)
|
|
4343
|
+
const localVarPath = `/projects/{projectId}/instances/machine/{machineId}/benchmarking-reports`
|
|
4344
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4345
|
+
.replace(`{${"machineId"}}`, encodeURIComponent(String(machineId)));
|
|
4346
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4347
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4348
|
+
let baseOptions;
|
|
4349
|
+
if (configuration) {
|
|
4350
|
+
baseOptions = configuration.baseOptions;
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4353
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4354
|
+
const localVarHeaderParameter = {} as any;
|
|
4355
|
+
const localVarQueryParameter = {} as any;
|
|
4356
|
+
|
|
4357
|
+
|
|
4358
|
+
|
|
4359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4361
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4362
|
+
|
|
4363
|
+
return {
|
|
4364
|
+
url: toPathString(localVarUrlObj),
|
|
4365
|
+
options: localVarRequestOptions,
|
|
4366
|
+
};
|
|
4367
|
+
},
|
|
4368
|
+
/**
|
|
4369
|
+
*
|
|
4370
|
+
* @summary Retrieve status of a specific machine instance
|
|
4371
|
+
* @param {string} projectId
|
|
4372
|
+
* @param {string} machineId
|
|
4373
|
+
* @param {*} [options] Override http request option.
|
|
4374
|
+
* @throws {RequiredError}
|
|
4375
|
+
*/
|
|
4376
|
+
machineInstancesControllerGetMachineBootstrapStatus: async (projectId: string, machineId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4377
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4378
|
+
assertParamExists('machineInstancesControllerGetMachineBootstrapStatus', 'projectId', projectId)
|
|
4379
|
+
// verify required parameter 'machineId' is not null or undefined
|
|
4380
|
+
assertParamExists('machineInstancesControllerGetMachineBootstrapStatus', 'machineId', machineId)
|
|
4381
|
+
const localVarPath = `/projects/{projectId}/instances/machine/{machineId}/status`
|
|
4382
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4383
|
+
.replace(`{${"machineId"}}`, encodeURIComponent(String(machineId)));
|
|
4384
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4385
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4386
|
+
let baseOptions;
|
|
4387
|
+
if (configuration) {
|
|
4388
|
+
baseOptions = configuration.baseOptions;
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4391
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4392
|
+
const localVarHeaderParameter = {} as any;
|
|
4393
|
+
const localVarQueryParameter = {} as any;
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
|
|
4214
4397
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4215
4398
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4216
4399
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4409,6 +4592,48 @@ export const MachineInstancesApiFp = function(configuration?: Configuration) {
|
|
|
4409
4592
|
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetInstanceRunningStatus']?.[localVarOperationServerIndex]?.url;
|
|
4410
4593
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4411
4594
|
},
|
|
4595
|
+
/**
|
|
4596
|
+
*
|
|
4597
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4598
|
+
* @param {string} projectId
|
|
4599
|
+
* @param {string} machineId
|
|
4600
|
+
* @param {*} [options] Override http request option.
|
|
4601
|
+
* @throws {RequiredError}
|
|
4602
|
+
*/
|
|
4603
|
+
async machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingDatapointDto>> {
|
|
4604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId, machineId, options);
|
|
4605
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4606
|
+
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetMachineBenchmarkingDatapoints']?.[localVarOperationServerIndex]?.url;
|
|
4607
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4608
|
+
},
|
|
4609
|
+
/**
|
|
4610
|
+
*
|
|
4611
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4612
|
+
* @param {string} projectId
|
|
4613
|
+
* @param {string} machineId
|
|
4614
|
+
* @param {*} [options] Override http request option.
|
|
4615
|
+
* @throws {RequiredError}
|
|
4616
|
+
*/
|
|
4617
|
+
async machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingReportsDto>> {
|
|
4618
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.machineInstancesControllerGetMachineBenchmarkingReports(projectId, machineId, options);
|
|
4619
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4620
|
+
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetMachineBenchmarkingReports']?.[localVarOperationServerIndex]?.url;
|
|
4621
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4622
|
+
},
|
|
4623
|
+
/**
|
|
4624
|
+
*
|
|
4625
|
+
* @summary Retrieve status of a specific machine instance
|
|
4626
|
+
* @param {string} projectId
|
|
4627
|
+
* @param {string} machineId
|
|
4628
|
+
* @param {*} [options] Override http request option.
|
|
4629
|
+
* @throws {RequiredError}
|
|
4630
|
+
*/
|
|
4631
|
+
async machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineStatusDto>> {
|
|
4632
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.machineInstancesControllerGetMachineBootstrapStatus(projectId, machineId, options);
|
|
4633
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4634
|
+
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetMachineBootstrapStatus']?.[localVarOperationServerIndex]?.url;
|
|
4635
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4636
|
+
},
|
|
4412
4637
|
/**
|
|
4413
4638
|
*
|
|
4414
4639
|
* @summary Retrieve running status of instances
|
|
@@ -4494,6 +4719,39 @@ export const MachineInstancesApiFactory = function (configuration?: Configuratio
|
|
|
4494
4719
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
4495
4720
|
return localVarFp.machineInstancesControllerGetInstanceRunningStatus(projectId, options).then((request) => request(axios, basePath));
|
|
4496
4721
|
},
|
|
4722
|
+
/**
|
|
4723
|
+
*
|
|
4724
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4725
|
+
* @param {string} projectId
|
|
4726
|
+
* @param {string} machineId
|
|
4727
|
+
* @param {*} [options] Override http request option.
|
|
4728
|
+
* @throws {RequiredError}
|
|
4729
|
+
*/
|
|
4730
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingDatapointDto> {
|
|
4731
|
+
return localVarFp.machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId, machineId, options).then((request) => request(axios, basePath));
|
|
4732
|
+
},
|
|
4733
|
+
/**
|
|
4734
|
+
*
|
|
4735
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4736
|
+
* @param {string} projectId
|
|
4737
|
+
* @param {string} machineId
|
|
4738
|
+
* @param {*} [options] Override http request option.
|
|
4739
|
+
* @throws {RequiredError}
|
|
4740
|
+
*/
|
|
4741
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingReportsDto> {
|
|
4742
|
+
return localVarFp.machineInstancesControllerGetMachineBenchmarkingReports(projectId, machineId, options).then((request) => request(axios, basePath));
|
|
4743
|
+
},
|
|
4744
|
+
/**
|
|
4745
|
+
*
|
|
4746
|
+
* @summary Retrieve status of a specific machine instance
|
|
4747
|
+
* @param {string} projectId
|
|
4748
|
+
* @param {string} machineId
|
|
4749
|
+
* @param {*} [options] Override http request option.
|
|
4750
|
+
* @throws {RequiredError}
|
|
4751
|
+
*/
|
|
4752
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<MachineStatusDto> {
|
|
4753
|
+
return localVarFp.machineInstancesControllerGetMachineBootstrapStatus(projectId, machineId, options).then((request) => request(axios, basePath));
|
|
4754
|
+
},
|
|
4497
4755
|
/**
|
|
4498
4756
|
*
|
|
4499
4757
|
* @summary Retrieve running status of instances
|
|
@@ -4576,6 +4834,45 @@ export class MachineInstancesApi extends BaseAPI {
|
|
|
4576
4834
|
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetInstanceRunningStatus(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
4577
4835
|
}
|
|
4578
4836
|
|
|
4837
|
+
/**
|
|
4838
|
+
*
|
|
4839
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4840
|
+
* @param {string} projectId
|
|
4841
|
+
* @param {string} machineId
|
|
4842
|
+
* @param {*} [options] Override http request option.
|
|
4843
|
+
* @throws {RequiredError}
|
|
4844
|
+
* @memberof MachineInstancesApi
|
|
4845
|
+
*/
|
|
4846
|
+
public machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig) {
|
|
4847
|
+
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId, machineId, options).then((request) => request(this.axios, this.basePath));
|
|
4848
|
+
}
|
|
4849
|
+
|
|
4850
|
+
/**
|
|
4851
|
+
*
|
|
4852
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4853
|
+
* @param {string} projectId
|
|
4854
|
+
* @param {string} machineId
|
|
4855
|
+
* @param {*} [options] Override http request option.
|
|
4856
|
+
* @throws {RequiredError}
|
|
4857
|
+
* @memberof MachineInstancesApi
|
|
4858
|
+
*/
|
|
4859
|
+
public machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig) {
|
|
4860
|
+
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetMachineBenchmarkingReports(projectId, machineId, options).then((request) => request(this.axios, this.basePath));
|
|
4861
|
+
}
|
|
4862
|
+
|
|
4863
|
+
/**
|
|
4864
|
+
*
|
|
4865
|
+
* @summary Retrieve status of a specific machine instance
|
|
4866
|
+
* @param {string} projectId
|
|
4867
|
+
* @param {string} machineId
|
|
4868
|
+
* @param {*} [options] Override http request option.
|
|
4869
|
+
* @throws {RequiredError}
|
|
4870
|
+
* @memberof MachineInstancesApi
|
|
4871
|
+
*/
|
|
4872
|
+
public machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig) {
|
|
4873
|
+
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetMachineBootstrapStatus(projectId, machineId, options).then((request) => request(this.axios, this.basePath));
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4579
4876
|
/**
|
|
4580
4877
|
*
|
|
4581
4878
|
* @summary Retrieve running status of instances
|
package/dist/api.d.ts
CHANGED
|
@@ -157,6 +157,44 @@ export interface BadRequestExceptionResponse {
|
|
|
157
157
|
*/
|
|
158
158
|
'errors': object | null;
|
|
159
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @export
|
|
163
|
+
* @interface BenchmarkingDatapointDto
|
|
164
|
+
*/
|
|
165
|
+
export interface BenchmarkingDatapointDto {
|
|
166
|
+
/**
|
|
167
|
+
* Combined content of all benchmarking lines
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof BenchmarkingDatapointDto
|
|
170
|
+
*/
|
|
171
|
+
'lines': string;
|
|
172
|
+
/**
|
|
173
|
+
* Total number of lines found
|
|
174
|
+
* @type {number}
|
|
175
|
+
* @memberof BenchmarkingDatapointDto
|
|
176
|
+
*/
|
|
177
|
+
'totalLines': number;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @export
|
|
182
|
+
* @interface BenchmarkingReportsDto
|
|
183
|
+
*/
|
|
184
|
+
export interface BenchmarkingReportsDto {
|
|
185
|
+
/**
|
|
186
|
+
* Combined markdown content of all benchmarking reports
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof BenchmarkingReportsDto
|
|
189
|
+
*/
|
|
190
|
+
'content': string;
|
|
191
|
+
/**
|
|
192
|
+
* Total number of reports found
|
|
193
|
+
* @type {number}
|
|
194
|
+
* @memberof BenchmarkingReportsDto
|
|
195
|
+
*/
|
|
196
|
+
'totalReports': number;
|
|
197
|
+
}
|
|
160
198
|
/**
|
|
161
199
|
*
|
|
162
200
|
* @export
|
|
@@ -317,6 +355,12 @@ export interface CreateMachineAgentDto {
|
|
|
317
355
|
* @memberof CreateMachineAgentDto
|
|
318
356
|
*/
|
|
319
357
|
'userId': number;
|
|
358
|
+
/**
|
|
359
|
+
* Optional Input Schema JSON for agent.
|
|
360
|
+
* @type {object}
|
|
361
|
+
* @memberof CreateMachineAgentDto
|
|
362
|
+
*/
|
|
363
|
+
'inputSchema'?: object;
|
|
320
364
|
}
|
|
321
365
|
/**
|
|
322
366
|
*
|
|
@@ -833,6 +877,31 @@ export interface LoginResponseDTO {
|
|
|
833
877
|
*/
|
|
834
878
|
'token': string;
|
|
835
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
*
|
|
882
|
+
* @export
|
|
883
|
+
* @interface MachineStatusDto
|
|
884
|
+
*/
|
|
885
|
+
export interface MachineStatusDto {
|
|
886
|
+
/**
|
|
887
|
+
* Current status of the machine instance
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof MachineStatusDto
|
|
890
|
+
*/
|
|
891
|
+
'status': string;
|
|
892
|
+
/**
|
|
893
|
+
* Logs from the machine instance execution
|
|
894
|
+
* @type {string}
|
|
895
|
+
* @memberof MachineStatusDto
|
|
896
|
+
*/
|
|
897
|
+
'logs': string;
|
|
898
|
+
/**
|
|
899
|
+
* Timestamp of the status update
|
|
900
|
+
* @type {string}
|
|
901
|
+
* @memberof MachineStatusDto
|
|
902
|
+
*/
|
|
903
|
+
'timeStamp': string;
|
|
904
|
+
}
|
|
836
905
|
/**
|
|
837
906
|
*
|
|
838
907
|
* @export
|
|
@@ -2792,6 +2861,33 @@ export declare const MachineInstancesApiAxiosParamCreator: (configuration?: Conf
|
|
|
2792
2861
|
* @throws {RequiredError}
|
|
2793
2862
|
*/
|
|
2794
2863
|
machineInstancesControllerGetInstanceRunningStatus: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2864
|
+
/**
|
|
2865
|
+
*
|
|
2866
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
2867
|
+
* @param {string} projectId
|
|
2868
|
+
* @param {string} machineId
|
|
2869
|
+
* @param {*} [options] Override http request option.
|
|
2870
|
+
* @throws {RequiredError}
|
|
2871
|
+
*/
|
|
2872
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints: (projectId: string, machineId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2873
|
+
/**
|
|
2874
|
+
*
|
|
2875
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
2876
|
+
* @param {string} projectId
|
|
2877
|
+
* @param {string} machineId
|
|
2878
|
+
* @param {*} [options] Override http request option.
|
|
2879
|
+
* @throws {RequiredError}
|
|
2880
|
+
*/
|
|
2881
|
+
machineInstancesControllerGetMachineBenchmarkingReports: (projectId: string, machineId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2882
|
+
/**
|
|
2883
|
+
*
|
|
2884
|
+
* @summary Retrieve status of a specific machine instance
|
|
2885
|
+
* @param {string} projectId
|
|
2886
|
+
* @param {string} machineId
|
|
2887
|
+
* @param {*} [options] Override http request option.
|
|
2888
|
+
* @throws {RequiredError}
|
|
2889
|
+
*/
|
|
2890
|
+
machineInstancesControllerGetMachineBootstrapStatus: (projectId: string, machineId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2795
2891
|
/**
|
|
2796
2892
|
*
|
|
2797
2893
|
* @summary Retrieve running status of instances
|
|
@@ -2852,6 +2948,33 @@ export declare const MachineInstancesApiFp: (configuration?: Configuration) => {
|
|
|
2852
2948
|
* @throws {RequiredError}
|
|
2853
2949
|
*/
|
|
2854
2950
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
2951
|
+
/**
|
|
2952
|
+
*
|
|
2953
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
2954
|
+
* @param {string} projectId
|
|
2955
|
+
* @param {string} machineId
|
|
2956
|
+
* @param {*} [options] Override http request option.
|
|
2957
|
+
* @throws {RequiredError}
|
|
2958
|
+
*/
|
|
2959
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingDatapointDto>>;
|
|
2960
|
+
/**
|
|
2961
|
+
*
|
|
2962
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
2963
|
+
* @param {string} projectId
|
|
2964
|
+
* @param {string} machineId
|
|
2965
|
+
* @param {*} [options] Override http request option.
|
|
2966
|
+
* @throws {RequiredError}
|
|
2967
|
+
*/
|
|
2968
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingReportsDto>>;
|
|
2969
|
+
/**
|
|
2970
|
+
*
|
|
2971
|
+
* @summary Retrieve status of a specific machine instance
|
|
2972
|
+
* @param {string} projectId
|
|
2973
|
+
* @param {string} machineId
|
|
2974
|
+
* @param {*} [options] Override http request option.
|
|
2975
|
+
* @throws {RequiredError}
|
|
2976
|
+
*/
|
|
2977
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineStatusDto>>;
|
|
2855
2978
|
/**
|
|
2856
2979
|
*
|
|
2857
2980
|
* @summary Retrieve running status of instances
|
|
@@ -2912,6 +3035,33 @@ export declare const MachineInstancesApiFactory: (configuration?: Configuration,
|
|
|
2912
3035
|
* @throws {RequiredError}
|
|
2913
3036
|
*/
|
|
2914
3037
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3038
|
+
/**
|
|
3039
|
+
*
|
|
3040
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
3041
|
+
* @param {string} projectId
|
|
3042
|
+
* @param {string} machineId
|
|
3043
|
+
* @param {*} [options] Override http request option.
|
|
3044
|
+
* @throws {RequiredError}
|
|
3045
|
+
*/
|
|
3046
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingDatapointDto>;
|
|
3047
|
+
/**
|
|
3048
|
+
*
|
|
3049
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
3050
|
+
* @param {string} projectId
|
|
3051
|
+
* @param {string} machineId
|
|
3052
|
+
* @param {*} [options] Override http request option.
|
|
3053
|
+
* @throws {RequiredError}
|
|
3054
|
+
*/
|
|
3055
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingReportsDto>;
|
|
3056
|
+
/**
|
|
3057
|
+
*
|
|
3058
|
+
* @summary Retrieve status of a specific machine instance
|
|
3059
|
+
* @param {string} projectId
|
|
3060
|
+
* @param {string} machineId
|
|
3061
|
+
* @param {*} [options] Override http request option.
|
|
3062
|
+
* @throws {RequiredError}
|
|
3063
|
+
*/
|
|
3064
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<MachineStatusDto>;
|
|
2915
3065
|
/**
|
|
2916
3066
|
*
|
|
2917
3067
|
* @summary Retrieve running status of instances
|
|
@@ -2977,6 +3127,36 @@ export declare class MachineInstancesApi extends BaseAPI {
|
|
|
2977
3127
|
* @memberof MachineInstancesApi
|
|
2978
3128
|
*/
|
|
2979
3129
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3130
|
+
/**
|
|
3131
|
+
*
|
|
3132
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
3133
|
+
* @param {string} projectId
|
|
3134
|
+
* @param {string} machineId
|
|
3135
|
+
* @param {*} [options] Override http request option.
|
|
3136
|
+
* @throws {RequiredError}
|
|
3137
|
+
* @memberof MachineInstancesApi
|
|
3138
|
+
*/
|
|
3139
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BenchmarkingDatapointDto, any>>;
|
|
3140
|
+
/**
|
|
3141
|
+
*
|
|
3142
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
3143
|
+
* @param {string} projectId
|
|
3144
|
+
* @param {string} machineId
|
|
3145
|
+
* @param {*} [options] Override http request option.
|
|
3146
|
+
* @throws {RequiredError}
|
|
3147
|
+
* @memberof MachineInstancesApi
|
|
3148
|
+
*/
|
|
3149
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BenchmarkingReportsDto, any>>;
|
|
3150
|
+
/**
|
|
3151
|
+
*
|
|
3152
|
+
* @summary Retrieve status of a specific machine instance
|
|
3153
|
+
* @param {string} projectId
|
|
3154
|
+
* @param {string} machineId
|
|
3155
|
+
* @param {*} [options] Override http request option.
|
|
3156
|
+
* @throws {RequiredError}
|
|
3157
|
+
* @memberof MachineInstancesApi
|
|
3158
|
+
*/
|
|
3159
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MachineStatusDto, any>>;
|
|
2980
3160
|
/**
|
|
2981
3161
|
*
|
|
2982
3162
|
* @summary Retrieve running status of instances
|