@nestbox-ai/admin 1.0.47 → 1.0.48
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 +291 -0
- package/dist/api.d.ts +174 -0
- package/dist/api.js +219 -0
- package/dist/esm/api.d.ts +174 -0
- package/dist/esm/api.js +219 -0
- package/docs/BenchmarkingDatapointDto.md +22 -0
- package/docs/BenchmarkingReportsDto.md +22 -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.48
|
|
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.48 --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
|
|
@@ -843,6 +881,31 @@ export interface LoginResponseDTO {
|
|
|
843
881
|
*/
|
|
844
882
|
'token': string;
|
|
845
883
|
}
|
|
884
|
+
/**
|
|
885
|
+
*
|
|
886
|
+
* @export
|
|
887
|
+
* @interface MachineStatusDto
|
|
888
|
+
*/
|
|
889
|
+
export interface MachineStatusDto {
|
|
890
|
+
/**
|
|
891
|
+
* Current status of the machine instance
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof MachineStatusDto
|
|
894
|
+
*/
|
|
895
|
+
'status': string;
|
|
896
|
+
/**
|
|
897
|
+
* Logs from the machine instance execution
|
|
898
|
+
* @type {string}
|
|
899
|
+
* @memberof MachineStatusDto
|
|
900
|
+
*/
|
|
901
|
+
'logs': string;
|
|
902
|
+
/**
|
|
903
|
+
* Timestamp of the status update
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof MachineStatusDto
|
|
906
|
+
*/
|
|
907
|
+
'timeStamp': string;
|
|
908
|
+
}
|
|
846
909
|
/**
|
|
847
910
|
*
|
|
848
911
|
* @export
|
|
@@ -4211,6 +4274,120 @@ export const MachineInstancesApiAxiosParamCreator = function (configuration?: Co
|
|
|
4211
4274
|
|
|
4212
4275
|
|
|
4213
4276
|
|
|
4277
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4279
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4280
|
+
|
|
4281
|
+
return {
|
|
4282
|
+
url: toPathString(localVarUrlObj),
|
|
4283
|
+
options: localVarRequestOptions,
|
|
4284
|
+
};
|
|
4285
|
+
},
|
|
4286
|
+
/**
|
|
4287
|
+
*
|
|
4288
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4289
|
+
* @param {string} projectId
|
|
4290
|
+
* @param {string} machineId
|
|
4291
|
+
* @param {*} [options] Override http request option.
|
|
4292
|
+
* @throws {RequiredError}
|
|
4293
|
+
*/
|
|
4294
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints: async (projectId: string, machineId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4295
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4296
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingDatapoints', 'projectId', projectId)
|
|
4297
|
+
// verify required parameter 'machineId' is not null or undefined
|
|
4298
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingDatapoints', 'machineId', machineId)
|
|
4299
|
+
const localVarPath = `/projects/{projectId}/instances/machine/{machineId}/benchmarking-datapoints`
|
|
4300
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4301
|
+
.replace(`{${"machineId"}}`, encodeURIComponent(String(machineId)));
|
|
4302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4304
|
+
let baseOptions;
|
|
4305
|
+
if (configuration) {
|
|
4306
|
+
baseOptions = configuration.baseOptions;
|
|
4307
|
+
}
|
|
4308
|
+
|
|
4309
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4310
|
+
const localVarHeaderParameter = {} as any;
|
|
4311
|
+
const localVarQueryParameter = {} as any;
|
|
4312
|
+
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4317
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4318
|
+
|
|
4319
|
+
return {
|
|
4320
|
+
url: toPathString(localVarUrlObj),
|
|
4321
|
+
options: localVarRequestOptions,
|
|
4322
|
+
};
|
|
4323
|
+
},
|
|
4324
|
+
/**
|
|
4325
|
+
*
|
|
4326
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4327
|
+
* @param {string} projectId
|
|
4328
|
+
* @param {string} machineId
|
|
4329
|
+
* @param {*} [options] Override http request option.
|
|
4330
|
+
* @throws {RequiredError}
|
|
4331
|
+
*/
|
|
4332
|
+
machineInstancesControllerGetMachineBenchmarkingReports: async (projectId: string, machineId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4333
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4334
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingReports', 'projectId', projectId)
|
|
4335
|
+
// verify required parameter 'machineId' is not null or undefined
|
|
4336
|
+
assertParamExists('machineInstancesControllerGetMachineBenchmarkingReports', 'machineId', machineId)
|
|
4337
|
+
const localVarPath = `/projects/{projectId}/instances/machine/{machineId}/benchmarking-reports`
|
|
4338
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4339
|
+
.replace(`{${"machineId"}}`, encodeURIComponent(String(machineId)));
|
|
4340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4341
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4342
|
+
let baseOptions;
|
|
4343
|
+
if (configuration) {
|
|
4344
|
+
baseOptions = configuration.baseOptions;
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4348
|
+
const localVarHeaderParameter = {} as any;
|
|
4349
|
+
const localVarQueryParameter = {} as any;
|
|
4350
|
+
|
|
4351
|
+
|
|
4352
|
+
|
|
4353
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4354
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4355
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4356
|
+
|
|
4357
|
+
return {
|
|
4358
|
+
url: toPathString(localVarUrlObj),
|
|
4359
|
+
options: localVarRequestOptions,
|
|
4360
|
+
};
|
|
4361
|
+
},
|
|
4362
|
+
/**
|
|
4363
|
+
*
|
|
4364
|
+
* @summary Retrieve status of a specific machine instance
|
|
4365
|
+
* @param {string} projectId
|
|
4366
|
+
* @param {string} machineId
|
|
4367
|
+
* @param {*} [options] Override http request option.
|
|
4368
|
+
* @throws {RequiredError}
|
|
4369
|
+
*/
|
|
4370
|
+
machineInstancesControllerGetMachineBootstrapStatus: async (projectId: string, machineId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4371
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
4372
|
+
assertParamExists('machineInstancesControllerGetMachineBootstrapStatus', 'projectId', projectId)
|
|
4373
|
+
// verify required parameter 'machineId' is not null or undefined
|
|
4374
|
+
assertParamExists('machineInstancesControllerGetMachineBootstrapStatus', 'machineId', machineId)
|
|
4375
|
+
const localVarPath = `/projects/{projectId}/instances/machine/{machineId}/status`
|
|
4376
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4377
|
+
.replace(`{${"machineId"}}`, encodeURIComponent(String(machineId)));
|
|
4378
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4380
|
+
let baseOptions;
|
|
4381
|
+
if (configuration) {
|
|
4382
|
+
baseOptions = configuration.baseOptions;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4386
|
+
const localVarHeaderParameter = {} as any;
|
|
4387
|
+
const localVarQueryParameter = {} as any;
|
|
4388
|
+
|
|
4389
|
+
|
|
4390
|
+
|
|
4214
4391
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4215
4392
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4216
4393
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4409,6 +4586,48 @@ export const MachineInstancesApiFp = function(configuration?: Configuration) {
|
|
|
4409
4586
|
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetInstanceRunningStatus']?.[localVarOperationServerIndex]?.url;
|
|
4410
4587
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4411
4588
|
},
|
|
4589
|
+
/**
|
|
4590
|
+
*
|
|
4591
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4592
|
+
* @param {string} projectId
|
|
4593
|
+
* @param {string} machineId
|
|
4594
|
+
* @param {*} [options] Override http request option.
|
|
4595
|
+
* @throws {RequiredError}
|
|
4596
|
+
*/
|
|
4597
|
+
async machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingDatapointDto>> {
|
|
4598
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId, machineId, options);
|
|
4599
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4600
|
+
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetMachineBenchmarkingDatapoints']?.[localVarOperationServerIndex]?.url;
|
|
4601
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4602
|
+
},
|
|
4603
|
+
/**
|
|
4604
|
+
*
|
|
4605
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4606
|
+
* @param {string} projectId
|
|
4607
|
+
* @param {string} machineId
|
|
4608
|
+
* @param {*} [options] Override http request option.
|
|
4609
|
+
* @throws {RequiredError}
|
|
4610
|
+
*/
|
|
4611
|
+
async machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingReportsDto>> {
|
|
4612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.machineInstancesControllerGetMachineBenchmarkingReports(projectId, machineId, options);
|
|
4613
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4614
|
+
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetMachineBenchmarkingReports']?.[localVarOperationServerIndex]?.url;
|
|
4615
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4616
|
+
},
|
|
4617
|
+
/**
|
|
4618
|
+
*
|
|
4619
|
+
* @summary Retrieve status of a specific machine instance
|
|
4620
|
+
* @param {string} projectId
|
|
4621
|
+
* @param {string} machineId
|
|
4622
|
+
* @param {*} [options] Override http request option.
|
|
4623
|
+
* @throws {RequiredError}
|
|
4624
|
+
*/
|
|
4625
|
+
async machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineStatusDto>> {
|
|
4626
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.machineInstancesControllerGetMachineBootstrapStatus(projectId, machineId, options);
|
|
4627
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4628
|
+
const localVarOperationServerBasePath = operationServerMap['MachineInstancesApi.machineInstancesControllerGetMachineBootstrapStatus']?.[localVarOperationServerIndex]?.url;
|
|
4629
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4630
|
+
},
|
|
4412
4631
|
/**
|
|
4413
4632
|
*
|
|
4414
4633
|
* @summary Retrieve running status of instances
|
|
@@ -4494,6 +4713,39 @@ export const MachineInstancesApiFactory = function (configuration?: Configuratio
|
|
|
4494
4713
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
4495
4714
|
return localVarFp.machineInstancesControllerGetInstanceRunningStatus(projectId, options).then((request) => request(axios, basePath));
|
|
4496
4715
|
},
|
|
4716
|
+
/**
|
|
4717
|
+
*
|
|
4718
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4719
|
+
* @param {string} projectId
|
|
4720
|
+
* @param {string} machineId
|
|
4721
|
+
* @param {*} [options] Override http request option.
|
|
4722
|
+
* @throws {RequiredError}
|
|
4723
|
+
*/
|
|
4724
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingDatapointDto> {
|
|
4725
|
+
return localVarFp.machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId, machineId, options).then((request) => request(axios, basePath));
|
|
4726
|
+
},
|
|
4727
|
+
/**
|
|
4728
|
+
*
|
|
4729
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4730
|
+
* @param {string} projectId
|
|
4731
|
+
* @param {string} machineId
|
|
4732
|
+
* @param {*} [options] Override http request option.
|
|
4733
|
+
* @throws {RequiredError}
|
|
4734
|
+
*/
|
|
4735
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingReportsDto> {
|
|
4736
|
+
return localVarFp.machineInstancesControllerGetMachineBenchmarkingReports(projectId, machineId, options).then((request) => request(axios, basePath));
|
|
4737
|
+
},
|
|
4738
|
+
/**
|
|
4739
|
+
*
|
|
4740
|
+
* @summary Retrieve status of a specific machine instance
|
|
4741
|
+
* @param {string} projectId
|
|
4742
|
+
* @param {string} machineId
|
|
4743
|
+
* @param {*} [options] Override http request option.
|
|
4744
|
+
* @throws {RequiredError}
|
|
4745
|
+
*/
|
|
4746
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<MachineStatusDto> {
|
|
4747
|
+
return localVarFp.machineInstancesControllerGetMachineBootstrapStatus(projectId, machineId, options).then((request) => request(axios, basePath));
|
|
4748
|
+
},
|
|
4497
4749
|
/**
|
|
4498
4750
|
*
|
|
4499
4751
|
* @summary Retrieve running status of instances
|
|
@@ -4576,6 +4828,45 @@ export class MachineInstancesApi extends BaseAPI {
|
|
|
4576
4828
|
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetInstanceRunningStatus(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
4577
4829
|
}
|
|
4578
4830
|
|
|
4831
|
+
/**
|
|
4832
|
+
*
|
|
4833
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
4834
|
+
* @param {string} projectId
|
|
4835
|
+
* @param {string} machineId
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
* @memberof MachineInstancesApi
|
|
4839
|
+
*/
|
|
4840
|
+
public machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig) {
|
|
4841
|
+
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId, machineId, options).then((request) => request(this.axios, this.basePath));
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
*
|
|
4846
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
4847
|
+
* @param {string} projectId
|
|
4848
|
+
* @param {string} machineId
|
|
4849
|
+
* @param {*} [options] Override http request option.
|
|
4850
|
+
* @throws {RequiredError}
|
|
4851
|
+
* @memberof MachineInstancesApi
|
|
4852
|
+
*/
|
|
4853
|
+
public machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig) {
|
|
4854
|
+
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetMachineBenchmarkingReports(projectId, machineId, options).then((request) => request(this.axios, this.basePath));
|
|
4855
|
+
}
|
|
4856
|
+
|
|
4857
|
+
/**
|
|
4858
|
+
*
|
|
4859
|
+
* @summary Retrieve status of a specific machine instance
|
|
4860
|
+
* @param {string} projectId
|
|
4861
|
+
* @param {string} machineId
|
|
4862
|
+
* @param {*} [options] Override http request option.
|
|
4863
|
+
* @throws {RequiredError}
|
|
4864
|
+
* @memberof MachineInstancesApi
|
|
4865
|
+
*/
|
|
4866
|
+
public machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig) {
|
|
4867
|
+
return MachineInstancesApiFp(this.configuration).machineInstancesControllerGetMachineBootstrapStatus(projectId, machineId, options).then((request) => request(this.axios, this.basePath));
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4579
4870
|
/**
|
|
4580
4871
|
*
|
|
4581
4872
|
* @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
|
|
@@ -833,6 +871,31 @@ export interface LoginResponseDTO {
|
|
|
833
871
|
*/
|
|
834
872
|
'token': string;
|
|
835
873
|
}
|
|
874
|
+
/**
|
|
875
|
+
*
|
|
876
|
+
* @export
|
|
877
|
+
* @interface MachineStatusDto
|
|
878
|
+
*/
|
|
879
|
+
export interface MachineStatusDto {
|
|
880
|
+
/**
|
|
881
|
+
* Current status of the machine instance
|
|
882
|
+
* @type {string}
|
|
883
|
+
* @memberof MachineStatusDto
|
|
884
|
+
*/
|
|
885
|
+
'status': string;
|
|
886
|
+
/**
|
|
887
|
+
* Logs from the machine instance execution
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof MachineStatusDto
|
|
890
|
+
*/
|
|
891
|
+
'logs': string;
|
|
892
|
+
/**
|
|
893
|
+
* Timestamp of the status update
|
|
894
|
+
* @type {string}
|
|
895
|
+
* @memberof MachineStatusDto
|
|
896
|
+
*/
|
|
897
|
+
'timeStamp': string;
|
|
898
|
+
}
|
|
836
899
|
/**
|
|
837
900
|
*
|
|
838
901
|
* @export
|
|
@@ -2792,6 +2855,33 @@ export declare const MachineInstancesApiAxiosParamCreator: (configuration?: Conf
|
|
|
2792
2855
|
* @throws {RequiredError}
|
|
2793
2856
|
*/
|
|
2794
2857
|
machineInstancesControllerGetInstanceRunningStatus: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2858
|
+
/**
|
|
2859
|
+
*
|
|
2860
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
2861
|
+
* @param {string} projectId
|
|
2862
|
+
* @param {string} machineId
|
|
2863
|
+
* @param {*} [options] Override http request option.
|
|
2864
|
+
* @throws {RequiredError}
|
|
2865
|
+
*/
|
|
2866
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints: (projectId: string, machineId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2867
|
+
/**
|
|
2868
|
+
*
|
|
2869
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
2870
|
+
* @param {string} projectId
|
|
2871
|
+
* @param {string} machineId
|
|
2872
|
+
* @param {*} [options] Override http request option.
|
|
2873
|
+
* @throws {RequiredError}
|
|
2874
|
+
*/
|
|
2875
|
+
machineInstancesControllerGetMachineBenchmarkingReports: (projectId: string, machineId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2876
|
+
/**
|
|
2877
|
+
*
|
|
2878
|
+
* @summary Retrieve status of a specific machine instance
|
|
2879
|
+
* @param {string} projectId
|
|
2880
|
+
* @param {string} machineId
|
|
2881
|
+
* @param {*} [options] Override http request option.
|
|
2882
|
+
* @throws {RequiredError}
|
|
2883
|
+
*/
|
|
2884
|
+
machineInstancesControllerGetMachineBootstrapStatus: (projectId: string, machineId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2795
2885
|
/**
|
|
2796
2886
|
*
|
|
2797
2887
|
* @summary Retrieve running status of instances
|
|
@@ -2852,6 +2942,33 @@ export declare const MachineInstancesApiFp: (configuration?: Configuration) => {
|
|
|
2852
2942
|
* @throws {RequiredError}
|
|
2853
2943
|
*/
|
|
2854
2944
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
2945
|
+
/**
|
|
2946
|
+
*
|
|
2947
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
2948
|
+
* @param {string} projectId
|
|
2949
|
+
* @param {string} machineId
|
|
2950
|
+
* @param {*} [options] Override http request option.
|
|
2951
|
+
* @throws {RequiredError}
|
|
2952
|
+
*/
|
|
2953
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingDatapointDto>>;
|
|
2954
|
+
/**
|
|
2955
|
+
*
|
|
2956
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
2957
|
+
* @param {string} projectId
|
|
2958
|
+
* @param {string} machineId
|
|
2959
|
+
* @param {*} [options] Override http request option.
|
|
2960
|
+
* @throws {RequiredError}
|
|
2961
|
+
*/
|
|
2962
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenchmarkingReportsDto>>;
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @summary Retrieve status of a specific machine instance
|
|
2966
|
+
* @param {string} projectId
|
|
2967
|
+
* @param {string} machineId
|
|
2968
|
+
* @param {*} [options] Override http request option.
|
|
2969
|
+
* @throws {RequiredError}
|
|
2970
|
+
*/
|
|
2971
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MachineStatusDto>>;
|
|
2855
2972
|
/**
|
|
2856
2973
|
*
|
|
2857
2974
|
* @summary Retrieve running status of instances
|
|
@@ -2912,6 +3029,33 @@ export declare const MachineInstancesApiFactory: (configuration?: Configuration,
|
|
|
2912
3029
|
* @throws {RequiredError}
|
|
2913
3030
|
*/
|
|
2914
3031
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3032
|
+
/**
|
|
3033
|
+
*
|
|
3034
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
3035
|
+
* @param {string} projectId
|
|
3036
|
+
* @param {string} machineId
|
|
3037
|
+
* @param {*} [options] Override http request option.
|
|
3038
|
+
* @throws {RequiredError}
|
|
3039
|
+
*/
|
|
3040
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingDatapointDto>;
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
3044
|
+
* @param {string} projectId
|
|
3045
|
+
* @param {string} machineId
|
|
3046
|
+
* @param {*} [options] Override http request option.
|
|
3047
|
+
* @throws {RequiredError}
|
|
3048
|
+
*/
|
|
3049
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<BenchmarkingReportsDto>;
|
|
3050
|
+
/**
|
|
3051
|
+
*
|
|
3052
|
+
* @summary Retrieve status of a specific machine instance
|
|
3053
|
+
* @param {string} projectId
|
|
3054
|
+
* @param {string} machineId
|
|
3055
|
+
* @param {*} [options] Override http request option.
|
|
3056
|
+
* @throws {RequiredError}
|
|
3057
|
+
*/
|
|
3058
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): AxiosPromise<MachineStatusDto>;
|
|
2915
3059
|
/**
|
|
2916
3060
|
*
|
|
2917
3061
|
* @summary Retrieve running status of instances
|
|
@@ -2977,6 +3121,36 @@ export declare class MachineInstancesApi extends BaseAPI {
|
|
|
2977
3121
|
* @memberof MachineInstancesApi
|
|
2978
3122
|
*/
|
|
2979
3123
|
machineInstancesControllerGetInstanceRunningStatus(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @summary Retrieve CSV benchmarking datapoints for a specific machine
|
|
3127
|
+
* @param {string} projectId
|
|
3128
|
+
* @param {string} machineId
|
|
3129
|
+
* @param {*} [options] Override http request option.
|
|
3130
|
+
* @throws {RequiredError}
|
|
3131
|
+
* @memberof MachineInstancesApi
|
|
3132
|
+
*/
|
|
3133
|
+
machineInstancesControllerGetMachineBenchmarkingDatapoints(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BenchmarkingDatapointDto, any>>;
|
|
3134
|
+
/**
|
|
3135
|
+
*
|
|
3136
|
+
* @summary Retrieve benchmarking reports for a specific machine
|
|
3137
|
+
* @param {string} projectId
|
|
3138
|
+
* @param {string} machineId
|
|
3139
|
+
* @param {*} [options] Override http request option.
|
|
3140
|
+
* @throws {RequiredError}
|
|
3141
|
+
* @memberof MachineInstancesApi
|
|
3142
|
+
*/
|
|
3143
|
+
machineInstancesControllerGetMachineBenchmarkingReports(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BenchmarkingReportsDto, any>>;
|
|
3144
|
+
/**
|
|
3145
|
+
*
|
|
3146
|
+
* @summary Retrieve status of a specific machine instance
|
|
3147
|
+
* @param {string} projectId
|
|
3148
|
+
* @param {string} machineId
|
|
3149
|
+
* @param {*} [options] Override http request option.
|
|
3150
|
+
* @throws {RequiredError}
|
|
3151
|
+
* @memberof MachineInstancesApi
|
|
3152
|
+
*/
|
|
3153
|
+
machineInstancesControllerGetMachineBootstrapStatus(projectId: string, machineId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MachineStatusDto, any>>;
|
|
2980
3154
|
/**
|
|
2981
3155
|
*
|
|
2982
3156
|
* @summary Retrieve running status of instances
|