@wandelbots/nova-api 25.8.0-dev.16 → 25.8.0-dev.18
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/package.json +1 -1
- package/v2/api.d.ts +355 -1
- package/v2/api.js +351 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +564 -1
package/v2/api.ts
CHANGED
|
@@ -1782,9 +1782,22 @@ export interface GetTrajectoryResponse {
|
|
|
1782
1782
|
export interface HTTPValidationError {
|
|
1783
1783
|
/**
|
|
1784
1784
|
*
|
|
1785
|
-
* @type {Array<
|
|
1785
|
+
* @type {Array<ValidationError2>}
|
|
1786
1786
|
* @memberof HTTPValidationError
|
|
1787
1787
|
*/
|
|
1788
|
+
'detail'?: Array<ValidationError2>;
|
|
1789
|
+
}
|
|
1790
|
+
/**
|
|
1791
|
+
*
|
|
1792
|
+
* @export
|
|
1793
|
+
* @interface HTTPValidationError2
|
|
1794
|
+
*/
|
|
1795
|
+
export interface HTTPValidationError2 {
|
|
1796
|
+
/**
|
|
1797
|
+
*
|
|
1798
|
+
* @type {Array<ValidationError>}
|
|
1799
|
+
* @memberof HTTPValidationError2
|
|
1800
|
+
*/
|
|
1788
1801
|
'detail'?: Array<ValidationError>;
|
|
1789
1802
|
}
|
|
1790
1803
|
/**
|
|
@@ -4336,6 +4349,154 @@ export interface ProfinetSubSlotDescription {
|
|
|
4336
4349
|
*/
|
|
4337
4350
|
'output_length': number;
|
|
4338
4351
|
}
|
|
4352
|
+
/**
|
|
4353
|
+
* A program is a collection of instructions that are executed in the robot cell.
|
|
4354
|
+
* @export
|
|
4355
|
+
* @interface Program
|
|
4356
|
+
*/
|
|
4357
|
+
export interface Program {
|
|
4358
|
+
/**
|
|
4359
|
+
*
|
|
4360
|
+
* @type {string}
|
|
4361
|
+
* @memberof Program
|
|
4362
|
+
*/
|
|
4363
|
+
'program': string;
|
|
4364
|
+
/**
|
|
4365
|
+
*
|
|
4366
|
+
* @type {string}
|
|
4367
|
+
* @memberof Program
|
|
4368
|
+
*/
|
|
4369
|
+
'name'?: string;
|
|
4370
|
+
/**
|
|
4371
|
+
*
|
|
4372
|
+
* @type {string}
|
|
4373
|
+
* @memberof Program
|
|
4374
|
+
*/
|
|
4375
|
+
'description'?: string;
|
|
4376
|
+
/**
|
|
4377
|
+
*
|
|
4378
|
+
* @type {string}
|
|
4379
|
+
* @memberof Program
|
|
4380
|
+
*/
|
|
4381
|
+
'app': string;
|
|
4382
|
+
/**
|
|
4383
|
+
*
|
|
4384
|
+
* @type {object}
|
|
4385
|
+
* @memberof Program
|
|
4386
|
+
*/
|
|
4387
|
+
'input_schema'?: object;
|
|
4388
|
+
/**
|
|
4389
|
+
*
|
|
4390
|
+
* @type {object}
|
|
4391
|
+
* @memberof Program
|
|
4392
|
+
*/
|
|
4393
|
+
'preconditions'?: object;
|
|
4394
|
+
}
|
|
4395
|
+
/**
|
|
4396
|
+
* Holds the state of a program run.
|
|
4397
|
+
* @export
|
|
4398
|
+
* @interface ProgramRun
|
|
4399
|
+
*/
|
|
4400
|
+
export interface ProgramRun {
|
|
4401
|
+
/**
|
|
4402
|
+
* Unique identifier of the program run
|
|
4403
|
+
* @type {string}
|
|
4404
|
+
* @memberof ProgramRun
|
|
4405
|
+
*/
|
|
4406
|
+
'run': string;
|
|
4407
|
+
/**
|
|
4408
|
+
* Unique identifier of the program
|
|
4409
|
+
* @type {string}
|
|
4410
|
+
* @memberof ProgramRun
|
|
4411
|
+
*/
|
|
4412
|
+
'program': string;
|
|
4413
|
+
/**
|
|
4414
|
+
* State of the program run
|
|
4415
|
+
* @type {ProgramRunState}
|
|
4416
|
+
* @memberof ProgramRun
|
|
4417
|
+
*/
|
|
4418
|
+
'state': ProgramRunState;
|
|
4419
|
+
/**
|
|
4420
|
+
* Logs of the program run
|
|
4421
|
+
* @type {string}
|
|
4422
|
+
* @memberof ProgramRun
|
|
4423
|
+
*/
|
|
4424
|
+
'logs'?: string;
|
|
4425
|
+
/**
|
|
4426
|
+
* Stdout of the program run
|
|
4427
|
+
* @type {string}
|
|
4428
|
+
* @memberof ProgramRun
|
|
4429
|
+
*/
|
|
4430
|
+
'stdout'?: string;
|
|
4431
|
+
/**
|
|
4432
|
+
* Stderr of the program run
|
|
4433
|
+
* @type {string}
|
|
4434
|
+
* @memberof ProgramRun
|
|
4435
|
+
*/
|
|
4436
|
+
'stderr'?: string;
|
|
4437
|
+
/**
|
|
4438
|
+
* Error message of the program run, if any
|
|
4439
|
+
* @type {string}
|
|
4440
|
+
* @memberof ProgramRun
|
|
4441
|
+
*/
|
|
4442
|
+
'error'?: string;
|
|
4443
|
+
/**
|
|
4444
|
+
* Traceback of the program run, if any
|
|
4445
|
+
* @type {string}
|
|
4446
|
+
* @memberof ProgramRun
|
|
4447
|
+
*/
|
|
4448
|
+
'traceback'?: string;
|
|
4449
|
+
/**
|
|
4450
|
+
* Start time of the program run
|
|
4451
|
+
* @type {string}
|
|
4452
|
+
* @memberof ProgramRun
|
|
4453
|
+
*/
|
|
4454
|
+
'start_time'?: string;
|
|
4455
|
+
/**
|
|
4456
|
+
* End time of the program run
|
|
4457
|
+
* @type {string}
|
|
4458
|
+
* @memberof ProgramRun
|
|
4459
|
+
*/
|
|
4460
|
+
'end_time'?: string;
|
|
4461
|
+
/**
|
|
4462
|
+
* Input data of the program run
|
|
4463
|
+
* @type {object}
|
|
4464
|
+
* @memberof ProgramRun
|
|
4465
|
+
*/
|
|
4466
|
+
'input_data'?: object;
|
|
4467
|
+
}
|
|
4468
|
+
|
|
4469
|
+
|
|
4470
|
+
/**
|
|
4471
|
+
* The state of a program run.
|
|
4472
|
+
* @export
|
|
4473
|
+
* @enum {string}
|
|
4474
|
+
*/
|
|
4475
|
+
|
|
4476
|
+
export const ProgramRunState = {
|
|
4477
|
+
Preparing: 'PREPARING',
|
|
4478
|
+
Running: 'RUNNING',
|
|
4479
|
+
Completed: 'COMPLETED',
|
|
4480
|
+
Failed: 'FAILED',
|
|
4481
|
+
Stopped: 'STOPPED'
|
|
4482
|
+
} as const;
|
|
4483
|
+
|
|
4484
|
+
export type ProgramRunState = typeof ProgramRunState[keyof typeof ProgramRunState];
|
|
4485
|
+
|
|
4486
|
+
|
|
4487
|
+
/**
|
|
4488
|
+
* The state of a program run.
|
|
4489
|
+
* @export
|
|
4490
|
+
* @interface ProgramStartRequest
|
|
4491
|
+
*/
|
|
4492
|
+
export interface ProgramStartRequest {
|
|
4493
|
+
/**
|
|
4494
|
+
* The arguments to pass to the program.
|
|
4495
|
+
* @type {object}
|
|
4496
|
+
* @memberof ProgramStartRequest
|
|
4497
|
+
*/
|
|
4498
|
+
'arguments': object;
|
|
4499
|
+
}
|
|
4339
4500
|
/**
|
|
4340
4501
|
* <!-- theme: danger --> > **Experimental** RRT Connect algorithm configuration for collision-free path planning. Rapidly-exploring Random Trees (RRT) builds trees of valid configurations by randomly sampling the joint space and connecting feasible points. RRT Connect grows two trees simultaneously from start and target positions until they meet. This is a custom implementation optimized for manipulator kinematics and collision checking in industrial contexts.
|
|
4341
4502
|
* @export
|
|
@@ -5390,6 +5551,31 @@ export interface ValidationError {
|
|
|
5390
5551
|
*/
|
|
5391
5552
|
'input': { [key: string]: any; };
|
|
5392
5553
|
}
|
|
5554
|
+
/**
|
|
5555
|
+
* A validation error of a program.
|
|
5556
|
+
* @export
|
|
5557
|
+
* @interface ValidationError2
|
|
5558
|
+
*/
|
|
5559
|
+
export interface ValidationError2 {
|
|
5560
|
+
/**
|
|
5561
|
+
*
|
|
5562
|
+
* @type {Array<number>}
|
|
5563
|
+
* @memberof ValidationError2
|
|
5564
|
+
*/
|
|
5565
|
+
'loc': Array<number>;
|
|
5566
|
+
/**
|
|
5567
|
+
*
|
|
5568
|
+
* @type {string}
|
|
5569
|
+
* @memberof ValidationError2
|
|
5570
|
+
*/
|
|
5571
|
+
'msg': string;
|
|
5572
|
+
/**
|
|
5573
|
+
*
|
|
5574
|
+
* @type {string}
|
|
5575
|
+
* @memberof ValidationError2
|
|
5576
|
+
*/
|
|
5577
|
+
'type': string;
|
|
5578
|
+
}
|
|
5393
5579
|
/**
|
|
5394
5580
|
* @type ValidationErrorLocInner
|
|
5395
5581
|
* @export
|
|
@@ -10975,6 +11161,383 @@ export class MotionGroupModelsApi extends BaseAPI {
|
|
|
10975
11161
|
|
|
10976
11162
|
|
|
10977
11163
|
|
|
11164
|
+
/**
|
|
11165
|
+
* ProgramApi - axios parameter creator
|
|
11166
|
+
* @export
|
|
11167
|
+
*/
|
|
11168
|
+
export const ProgramApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11169
|
+
return {
|
|
11170
|
+
/**
|
|
11171
|
+
* Get details of a program.
|
|
11172
|
+
* @summary Get program
|
|
11173
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11174
|
+
* @param {string} program
|
|
11175
|
+
* @param {*} [options] Override http request option.
|
|
11176
|
+
* @throws {RequiredError}
|
|
11177
|
+
*/
|
|
11178
|
+
getProgram: async (cell: string, program: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11179
|
+
// verify required parameter 'cell' is not null or undefined
|
|
11180
|
+
assertParamExists('getProgram', 'cell', cell)
|
|
11181
|
+
// verify required parameter 'program' is not null or undefined
|
|
11182
|
+
assertParamExists('getProgram', 'program', program)
|
|
11183
|
+
const localVarPath = `/experimental/cells/{cell}/programs/{program}`
|
|
11184
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11185
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
11186
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11187
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11188
|
+
let baseOptions;
|
|
11189
|
+
if (configuration) {
|
|
11190
|
+
baseOptions = configuration.baseOptions;
|
|
11191
|
+
}
|
|
11192
|
+
|
|
11193
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11194
|
+
const localVarHeaderParameter = {} as any;
|
|
11195
|
+
const localVarQueryParameter = {} as any;
|
|
11196
|
+
|
|
11197
|
+
// authentication BasicAuth required
|
|
11198
|
+
// http basic authentication required
|
|
11199
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11200
|
+
|
|
11201
|
+
// authentication BearerAuth required
|
|
11202
|
+
// http bearer authentication required
|
|
11203
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11204
|
+
|
|
11205
|
+
|
|
11206
|
+
|
|
11207
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11209
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11210
|
+
|
|
11211
|
+
return {
|
|
11212
|
+
url: toPathString(localVarUrlObj),
|
|
11213
|
+
options: localVarRequestOptions,
|
|
11214
|
+
};
|
|
11215
|
+
},
|
|
11216
|
+
/**
|
|
11217
|
+
* List details of all existing programs.
|
|
11218
|
+
* @summary List programs
|
|
11219
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11220
|
+
* @param {*} [options] Override http request option.
|
|
11221
|
+
* @throws {RequiredError}
|
|
11222
|
+
*/
|
|
11223
|
+
listPrograms: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11224
|
+
// verify required parameter 'cell' is not null or undefined
|
|
11225
|
+
assertParamExists('listPrograms', 'cell', cell)
|
|
11226
|
+
const localVarPath = `/experimental/cells/{cell}/programs`
|
|
11227
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
11228
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11229
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11230
|
+
let baseOptions;
|
|
11231
|
+
if (configuration) {
|
|
11232
|
+
baseOptions = configuration.baseOptions;
|
|
11233
|
+
}
|
|
11234
|
+
|
|
11235
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11236
|
+
const localVarHeaderParameter = {} as any;
|
|
11237
|
+
const localVarQueryParameter = {} as any;
|
|
11238
|
+
|
|
11239
|
+
// authentication BasicAuth required
|
|
11240
|
+
// http basic authentication required
|
|
11241
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11242
|
+
|
|
11243
|
+
// authentication BearerAuth required
|
|
11244
|
+
// http bearer authentication required
|
|
11245
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11246
|
+
|
|
11247
|
+
|
|
11248
|
+
|
|
11249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11251
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11252
|
+
|
|
11253
|
+
return {
|
|
11254
|
+
url: toPathString(localVarUrlObj),
|
|
11255
|
+
options: localVarRequestOptions,
|
|
11256
|
+
};
|
|
11257
|
+
},
|
|
11258
|
+
/**
|
|
11259
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
11260
|
+
* @summary Start the program
|
|
11261
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11262
|
+
* @param {string} program
|
|
11263
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
11264
|
+
* @param {*} [options] Override http request option.
|
|
11265
|
+
* @throws {RequiredError}
|
|
11266
|
+
*/
|
|
11267
|
+
startProgram: async (cell: string, program: string, programStartRequest: ProgramStartRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11268
|
+
// verify required parameter 'cell' is not null or undefined
|
|
11269
|
+
assertParamExists('startProgram', 'cell', cell)
|
|
11270
|
+
// verify required parameter 'program' is not null or undefined
|
|
11271
|
+
assertParamExists('startProgram', 'program', program)
|
|
11272
|
+
// verify required parameter 'programStartRequest' is not null or undefined
|
|
11273
|
+
assertParamExists('startProgram', 'programStartRequest', programStartRequest)
|
|
11274
|
+
const localVarPath = `/experimental/cells/{cell}/programs/{program}/start`
|
|
11275
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11276
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
11277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11278
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11279
|
+
let baseOptions;
|
|
11280
|
+
if (configuration) {
|
|
11281
|
+
baseOptions = configuration.baseOptions;
|
|
11282
|
+
}
|
|
11283
|
+
|
|
11284
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11285
|
+
const localVarHeaderParameter = {} as any;
|
|
11286
|
+
const localVarQueryParameter = {} as any;
|
|
11287
|
+
|
|
11288
|
+
// authentication BasicAuth required
|
|
11289
|
+
// http basic authentication required
|
|
11290
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11291
|
+
|
|
11292
|
+
// authentication BearerAuth required
|
|
11293
|
+
// http bearer authentication required
|
|
11294
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11295
|
+
|
|
11296
|
+
|
|
11297
|
+
|
|
11298
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11299
|
+
|
|
11300
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11302
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11303
|
+
localVarRequestOptions.data = serializeDataIfNeeded(programStartRequest, localVarRequestOptions, configuration)
|
|
11304
|
+
|
|
11305
|
+
return {
|
|
11306
|
+
url: toPathString(localVarUrlObj),
|
|
11307
|
+
options: localVarRequestOptions,
|
|
11308
|
+
};
|
|
11309
|
+
},
|
|
11310
|
+
/**
|
|
11311
|
+
* Stop a specific program run.
|
|
11312
|
+
* @summary Stop program run
|
|
11313
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11314
|
+
* @param {string} program
|
|
11315
|
+
* @param {*} [options] Override http request option.
|
|
11316
|
+
* @throws {RequiredError}
|
|
11317
|
+
*/
|
|
11318
|
+
stopProgram: async (cell: string, program: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11319
|
+
// verify required parameter 'cell' is not null or undefined
|
|
11320
|
+
assertParamExists('stopProgram', 'cell', cell)
|
|
11321
|
+
// verify required parameter 'program' is not null or undefined
|
|
11322
|
+
assertParamExists('stopProgram', 'program', program)
|
|
11323
|
+
const localVarPath = `/experimental/cells/{cell}/programs/{program}/stop`
|
|
11324
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
11325
|
+
.replace(`{${"program"}}`, encodeURIComponent(String(program)));
|
|
11326
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11327
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11328
|
+
let baseOptions;
|
|
11329
|
+
if (configuration) {
|
|
11330
|
+
baseOptions = configuration.baseOptions;
|
|
11331
|
+
}
|
|
11332
|
+
|
|
11333
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11334
|
+
const localVarHeaderParameter = {} as any;
|
|
11335
|
+
const localVarQueryParameter = {} as any;
|
|
11336
|
+
|
|
11337
|
+
// authentication BasicAuth required
|
|
11338
|
+
// http basic authentication required
|
|
11339
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
11340
|
+
|
|
11341
|
+
// authentication BearerAuth required
|
|
11342
|
+
// http bearer authentication required
|
|
11343
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11344
|
+
|
|
11345
|
+
|
|
11346
|
+
|
|
11347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11350
|
+
|
|
11351
|
+
return {
|
|
11352
|
+
url: toPathString(localVarUrlObj),
|
|
11353
|
+
options: localVarRequestOptions,
|
|
11354
|
+
};
|
|
11355
|
+
},
|
|
11356
|
+
}
|
|
11357
|
+
};
|
|
11358
|
+
|
|
11359
|
+
/**
|
|
11360
|
+
* ProgramApi - functional programming interface
|
|
11361
|
+
* @export
|
|
11362
|
+
*/
|
|
11363
|
+
export const ProgramApiFp = function(configuration?: Configuration) {
|
|
11364
|
+
const localVarAxiosParamCreator = ProgramApiAxiosParamCreator(configuration)
|
|
11365
|
+
return {
|
|
11366
|
+
/**
|
|
11367
|
+
* Get details of a program.
|
|
11368
|
+
* @summary Get program
|
|
11369
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11370
|
+
* @param {string} program
|
|
11371
|
+
* @param {*} [options] Override http request option.
|
|
11372
|
+
* @throws {RequiredError}
|
|
11373
|
+
*/
|
|
11374
|
+
async getProgram(cell: string, program: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Program>> {
|
|
11375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProgram(cell, program, options);
|
|
11376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11377
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.getProgram']?.[localVarOperationServerIndex]?.url;
|
|
11378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11379
|
+
},
|
|
11380
|
+
/**
|
|
11381
|
+
* List details of all existing programs.
|
|
11382
|
+
* @summary List programs
|
|
11383
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11384
|
+
* @param {*} [options] Override http request option.
|
|
11385
|
+
* @throws {RequiredError}
|
|
11386
|
+
*/
|
|
11387
|
+
async listPrograms(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Program>>> {
|
|
11388
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPrograms(cell, options);
|
|
11389
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11390
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.listPrograms']?.[localVarOperationServerIndex]?.url;
|
|
11391
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11392
|
+
},
|
|
11393
|
+
/**
|
|
11394
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
11395
|
+
* @summary Start the program
|
|
11396
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11397
|
+
* @param {string} program
|
|
11398
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
11399
|
+
* @param {*} [options] Override http request option.
|
|
11400
|
+
* @throws {RequiredError}
|
|
11401
|
+
*/
|
|
11402
|
+
async startProgram(cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProgramRun>> {
|
|
11403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startProgram(cell, program, programStartRequest, options);
|
|
11404
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11405
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.startProgram']?.[localVarOperationServerIndex]?.url;
|
|
11406
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11407
|
+
},
|
|
11408
|
+
/**
|
|
11409
|
+
* Stop a specific program run.
|
|
11410
|
+
* @summary Stop program run
|
|
11411
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11412
|
+
* @param {string} program
|
|
11413
|
+
* @param {*} [options] Override http request option.
|
|
11414
|
+
* @throws {RequiredError}
|
|
11415
|
+
*/
|
|
11416
|
+
async stopProgram(cell: string, program: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
11417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopProgram(cell, program, options);
|
|
11418
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11419
|
+
const localVarOperationServerBasePath = operationServerMap['ProgramApi.stopProgram']?.[localVarOperationServerIndex]?.url;
|
|
11420
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11421
|
+
},
|
|
11422
|
+
}
|
|
11423
|
+
};
|
|
11424
|
+
|
|
11425
|
+
/**
|
|
11426
|
+
* ProgramApi - factory interface
|
|
11427
|
+
* @export
|
|
11428
|
+
*/
|
|
11429
|
+
export const ProgramApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11430
|
+
const localVarFp = ProgramApiFp(configuration)
|
|
11431
|
+
return {
|
|
11432
|
+
/**
|
|
11433
|
+
* Get details of a program.
|
|
11434
|
+
* @summary Get program
|
|
11435
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11436
|
+
* @param {string} program
|
|
11437
|
+
* @param {*} [options] Override http request option.
|
|
11438
|
+
* @throws {RequiredError}
|
|
11439
|
+
*/
|
|
11440
|
+
getProgram(cell: string, program: string, options?: RawAxiosRequestConfig): AxiosPromise<Program> {
|
|
11441
|
+
return localVarFp.getProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
11442
|
+
},
|
|
11443
|
+
/**
|
|
11444
|
+
* List details of all existing programs.
|
|
11445
|
+
* @summary List programs
|
|
11446
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11447
|
+
* @param {*} [options] Override http request option.
|
|
11448
|
+
* @throws {RequiredError}
|
|
11449
|
+
*/
|
|
11450
|
+
listPrograms(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Program>> {
|
|
11451
|
+
return localVarFp.listPrograms(cell, options).then((request) => request(axios, basePath));
|
|
11452
|
+
},
|
|
11453
|
+
/**
|
|
11454
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
11455
|
+
* @summary Start the program
|
|
11456
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11457
|
+
* @param {string} program
|
|
11458
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
11459
|
+
* @param {*} [options] Override http request option.
|
|
11460
|
+
* @throws {RequiredError}
|
|
11461
|
+
*/
|
|
11462
|
+
startProgram(cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProgramRun> {
|
|
11463
|
+
return localVarFp.startProgram(cell, program, programStartRequest, options).then((request) => request(axios, basePath));
|
|
11464
|
+
},
|
|
11465
|
+
/**
|
|
11466
|
+
* Stop a specific program run.
|
|
11467
|
+
* @summary Stop program run
|
|
11468
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11469
|
+
* @param {string} program
|
|
11470
|
+
* @param {*} [options] Override http request option.
|
|
11471
|
+
* @throws {RequiredError}
|
|
11472
|
+
*/
|
|
11473
|
+
stopProgram(cell: string, program: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
11474
|
+
return localVarFp.stopProgram(cell, program, options).then((request) => request(axios, basePath));
|
|
11475
|
+
},
|
|
11476
|
+
};
|
|
11477
|
+
};
|
|
11478
|
+
|
|
11479
|
+
/**
|
|
11480
|
+
* ProgramApi - object-oriented interface
|
|
11481
|
+
* @export
|
|
11482
|
+
* @class ProgramApi
|
|
11483
|
+
* @extends {BaseAPI}
|
|
11484
|
+
*/
|
|
11485
|
+
export class ProgramApi extends BaseAPI {
|
|
11486
|
+
/**
|
|
11487
|
+
* Get details of a program.
|
|
11488
|
+
* @summary Get program
|
|
11489
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11490
|
+
* @param {string} program
|
|
11491
|
+
* @param {*} [options] Override http request option.
|
|
11492
|
+
* @throws {RequiredError}
|
|
11493
|
+
* @memberof ProgramApi
|
|
11494
|
+
*/
|
|
11495
|
+
public getProgram(cell: string, program: string, options?: RawAxiosRequestConfig) {
|
|
11496
|
+
return ProgramApiFp(this.configuration).getProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
11497
|
+
}
|
|
11498
|
+
|
|
11499
|
+
/**
|
|
11500
|
+
* List details of all existing programs.
|
|
11501
|
+
* @summary List programs
|
|
11502
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11503
|
+
* @param {*} [options] Override http request option.
|
|
11504
|
+
* @throws {RequiredError}
|
|
11505
|
+
* @memberof ProgramApi
|
|
11506
|
+
*/
|
|
11507
|
+
public listPrograms(cell: string, options?: RawAxiosRequestConfig) {
|
|
11508
|
+
return ProgramApiFp(this.configuration).listPrograms(cell, options).then((request) => request(this.axios, this.basePath));
|
|
11509
|
+
}
|
|
11510
|
+
|
|
11511
|
+
/**
|
|
11512
|
+
* This endpoint starts a new program execution. The program will be executed asynchronously.
|
|
11513
|
+
* @summary Start the program
|
|
11514
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11515
|
+
* @param {string} program
|
|
11516
|
+
* @param {ProgramStartRequest} programStartRequest
|
|
11517
|
+
* @param {*} [options] Override http request option.
|
|
11518
|
+
* @throws {RequiredError}
|
|
11519
|
+
* @memberof ProgramApi
|
|
11520
|
+
*/
|
|
11521
|
+
public startProgram(cell: string, program: string, programStartRequest: ProgramStartRequest, options?: RawAxiosRequestConfig) {
|
|
11522
|
+
return ProgramApiFp(this.configuration).startProgram(cell, program, programStartRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11523
|
+
}
|
|
11524
|
+
|
|
11525
|
+
/**
|
|
11526
|
+
* Stop a specific program run.
|
|
11527
|
+
* @summary Stop program run
|
|
11528
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
11529
|
+
* @param {string} program
|
|
11530
|
+
* @param {*} [options] Override http request option.
|
|
11531
|
+
* @throws {RequiredError}
|
|
11532
|
+
* @memberof ProgramApi
|
|
11533
|
+
*/
|
|
11534
|
+
public stopProgram(cell: string, program: string, options?: RawAxiosRequestConfig) {
|
|
11535
|
+
return ProgramApiFp(this.configuration).stopProgram(cell, program, options).then((request) => request(this.axios, this.basePath));
|
|
11536
|
+
}
|
|
11537
|
+
}
|
|
11538
|
+
|
|
11539
|
+
|
|
11540
|
+
|
|
10978
11541
|
/**
|
|
10979
11542
|
* StoreCollisionComponentsApi - axios parameter creator
|
|
10980
11543
|
* @export
|