@wandelbots/nova-api 25.6.0-dev.40 → 25.6.0-dev.41
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 +102 -0
- package/v2/api.js +81 -1
- package/v2/api.js.map +1 -1
- package/v2/api.ts +160 -1
package/v2/api.ts
CHANGED
|
@@ -690,6 +690,85 @@ export const Comparator = {
|
|
|
690
690
|
export type Comparator = typeof Comparator[keyof typeof Comparator];
|
|
691
691
|
|
|
692
692
|
|
|
693
|
+
/**
|
|
694
|
+
* @type ConfigurationArchiveStatus
|
|
695
|
+
* Result of a backup operation.
|
|
696
|
+
* @export
|
|
697
|
+
*/
|
|
698
|
+
export type ConfigurationArchiveStatus = ConfigurationArchiveStatusCreating | ConfigurationArchiveStatusError | ConfigurationArchiveStatusSuccess;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @export
|
|
703
|
+
* @interface ConfigurationArchiveStatusCreating
|
|
704
|
+
*/
|
|
705
|
+
export interface ConfigurationArchiveStatusCreating {
|
|
706
|
+
/**
|
|
707
|
+
* Backup is in progress.
|
|
708
|
+
* @type {string}
|
|
709
|
+
* @memberof ConfigurationArchiveStatusCreating
|
|
710
|
+
*/
|
|
711
|
+
'status': ConfigurationArchiveStatusCreatingStatusEnum;
|
|
712
|
+
/**
|
|
713
|
+
* Current completion ratio (0 – 1).
|
|
714
|
+
* @type {number}
|
|
715
|
+
* @memberof ConfigurationArchiveStatusCreating
|
|
716
|
+
*/
|
|
717
|
+
'progress': number;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export const ConfigurationArchiveStatusCreatingStatusEnum = {
|
|
721
|
+
Creating: 'creating'
|
|
722
|
+
} as const;
|
|
723
|
+
|
|
724
|
+
export type ConfigurationArchiveStatusCreatingStatusEnum = typeof ConfigurationArchiveStatusCreatingStatusEnum[keyof typeof ConfigurationArchiveStatusCreatingStatusEnum];
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @export
|
|
729
|
+
* @interface ConfigurationArchiveStatusError
|
|
730
|
+
*/
|
|
731
|
+
export interface ConfigurationArchiveStatusError {
|
|
732
|
+
/**
|
|
733
|
+
*
|
|
734
|
+
* @type {string}
|
|
735
|
+
* @memberof ConfigurationArchiveStatusError
|
|
736
|
+
*/
|
|
737
|
+
'status': ConfigurationArchiveStatusErrorStatusEnum;
|
|
738
|
+
/**
|
|
739
|
+
* Human-readable explanation of the failure.
|
|
740
|
+
* @type {string}
|
|
741
|
+
* @memberof ConfigurationArchiveStatusError
|
|
742
|
+
*/
|
|
743
|
+
'message': string;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export const ConfigurationArchiveStatusErrorStatusEnum = {
|
|
747
|
+
Error: 'error'
|
|
748
|
+
} as const;
|
|
749
|
+
|
|
750
|
+
export type ConfigurationArchiveStatusErrorStatusEnum = typeof ConfigurationArchiveStatusErrorStatusEnum[keyof typeof ConfigurationArchiveStatusErrorStatusEnum];
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @export
|
|
755
|
+
* @interface ConfigurationArchiveStatusSuccess
|
|
756
|
+
*/
|
|
757
|
+
export interface ConfigurationArchiveStatusSuccess {
|
|
758
|
+
/**
|
|
759
|
+
* Backup successfully created.
|
|
760
|
+
* @type {string}
|
|
761
|
+
* @memberof ConfigurationArchiveStatusSuccess
|
|
762
|
+
*/
|
|
763
|
+
'status': ConfigurationArchiveStatusSuccessStatusEnum;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export const ConfigurationArchiveStatusSuccessStatusEnum = {
|
|
767
|
+
Success: 'success'
|
|
768
|
+
} as const;
|
|
769
|
+
|
|
770
|
+
export type ConfigurationArchiveStatusSuccessStatusEnum = typeof ConfigurationArchiveStatusSuccessStatusEnum[keyof typeof ConfigurationArchiveStatusSuccessStatusEnum];
|
|
771
|
+
|
|
693
772
|
/**
|
|
694
773
|
* Configuration resource object.
|
|
695
774
|
* @export
|
|
@@ -12163,6 +12242,51 @@ export const SystemApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
12163
12242
|
|
|
12164
12243
|
|
|
12165
12244
|
|
|
12245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12247
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12248
|
+
|
|
12249
|
+
return {
|
|
12250
|
+
url: toPathString(localVarUrlObj),
|
|
12251
|
+
options: localVarRequestOptions,
|
|
12252
|
+
};
|
|
12253
|
+
},
|
|
12254
|
+
/**
|
|
12255
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
12256
|
+
* @summary Retrieve Backup Status
|
|
12257
|
+
* @param {string} operationId
|
|
12258
|
+
* @param {*} [options] Override http request option.
|
|
12259
|
+
* @throws {RequiredError}
|
|
12260
|
+
*/
|
|
12261
|
+
backupConfigurationStatus: async (operationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12262
|
+
// verify required parameter 'operationId' is not null or undefined
|
|
12263
|
+
assertParamExists('backupConfigurationStatus', 'operationId', operationId)
|
|
12264
|
+
const localVarPath = `/system/configuration/status`;
|
|
12265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12267
|
+
let baseOptions;
|
|
12268
|
+
if (configuration) {
|
|
12269
|
+
baseOptions = configuration.baseOptions;
|
|
12270
|
+
}
|
|
12271
|
+
|
|
12272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12273
|
+
const localVarHeaderParameter = {} as any;
|
|
12274
|
+
const localVarQueryParameter = {} as any;
|
|
12275
|
+
|
|
12276
|
+
// authentication BasicAuth required
|
|
12277
|
+
// http basic authentication required
|
|
12278
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
12279
|
+
|
|
12280
|
+
// authentication BearerAuth required
|
|
12281
|
+
// http bearer authentication required
|
|
12282
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12283
|
+
|
|
12284
|
+
if (operationId !== undefined) {
|
|
12285
|
+
localVarQueryParameter['operation_id'] = operationId;
|
|
12286
|
+
}
|
|
12287
|
+
|
|
12288
|
+
|
|
12289
|
+
|
|
12166
12290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12167
12291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12168
12292
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -12488,6 +12612,19 @@ export const SystemApiFp = function(configuration?: Configuration) {
|
|
|
12488
12612
|
const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfiguration']?.[localVarOperationServerIndex]?.url;
|
|
12489
12613
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12490
12614
|
},
|
|
12615
|
+
/**
|
|
12616
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
12617
|
+
* @summary Retrieve Backup Status
|
|
12618
|
+
* @param {string} operationId
|
|
12619
|
+
* @param {*} [options] Override http request option.
|
|
12620
|
+
* @throws {RequiredError}
|
|
12621
|
+
*/
|
|
12622
|
+
async backupConfigurationStatus(operationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigurationArchiveStatus>> {
|
|
12623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.backupConfigurationStatus(operationId, options);
|
|
12624
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12625
|
+
const localVarOperationServerBasePath = operationServerMap['SystemApi.backupConfigurationStatus']?.[localVarOperationServerIndex]?.url;
|
|
12626
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12627
|
+
},
|
|
12491
12628
|
/**
|
|
12492
12629
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
12493
12630
|
* @summary Check update
|
|
@@ -12597,6 +12734,16 @@ export const SystemApiFactory = function (configuration?: Configuration, basePat
|
|
|
12597
12734
|
backupConfiguration(resources: Array<string>, metadata?: { [key: string]: string; }, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
12598
12735
|
return localVarFp.backupConfiguration(resources, metadata, options).then((request) => request(axios, basePath));
|
|
12599
12736
|
},
|
|
12737
|
+
/**
|
|
12738
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
12739
|
+
* @summary Retrieve Backup Status
|
|
12740
|
+
* @param {string} operationId
|
|
12741
|
+
* @param {*} [options] Override http request option.
|
|
12742
|
+
* @throws {RequiredError}
|
|
12743
|
+
*/
|
|
12744
|
+
backupConfigurationStatus(operationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ConfigurationArchiveStatus> {
|
|
12745
|
+
return localVarFp.backupConfigurationStatus(operationId, options).then((request) => request(axios, basePath));
|
|
12746
|
+
},
|
|
12600
12747
|
/**
|
|
12601
12748
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
12602
12749
|
* @summary Check update
|
|
@@ -12687,6 +12834,18 @@ export class SystemApi extends BaseAPI {
|
|
|
12687
12834
|
return SystemApiFp(this.configuration).backupConfiguration(resources, metadata, options).then((request) => request(this.axios, this.basePath));
|
|
12688
12835
|
}
|
|
12689
12836
|
|
|
12837
|
+
/**
|
|
12838
|
+
* Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
12839
|
+
* @summary Retrieve Backup Status
|
|
12840
|
+
* @param {string} operationId
|
|
12841
|
+
* @param {*} [options] Override http request option.
|
|
12842
|
+
* @throws {RequiredError}
|
|
12843
|
+
* @memberof SystemApi
|
|
12844
|
+
*/
|
|
12845
|
+
public backupConfigurationStatus(operationId: string, options?: RawAxiosRequestConfig) {
|
|
12846
|
+
return SystemApiFp(this.configuration).backupConfigurationStatus(operationId, options).then((request) => request(this.axios, this.basePath));
|
|
12847
|
+
}
|
|
12848
|
+
|
|
12690
12849
|
/**
|
|
12691
12850
|
* Check if a more recent Wandelbots NOVA Version is available.
|
|
12692
12851
|
* @summary Check update
|
|
@@ -13360,7 +13519,7 @@ export const TrajectoryPlanningApiAxiosParamCreator = function (configuration?:
|
|
|
13360
13519
|
planTrajectory: async (cell: string, planTrajectoryRequest?: PlanTrajectoryRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13361
13520
|
// verify required parameter 'cell' is not null or undefined
|
|
13362
13521
|
assertParamExists('planTrajectory', 'cell', cell)
|
|
13363
|
-
const localVarPath = `/cells/{cell}/
|
|
13522
|
+
const localVarPath = `/cells/{cell}/trajectory-planning/plan-trajectory`
|
|
13364
13523
|
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
13365
13524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13366
13525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|