@cosmotech/api-ts 5.0.0-beta4 → 5.0.0-beta5
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/.github/workflows/publish.yaml +3 -4
- package/.github/workflows/track_dependencies.yml +28 -0
- package/.openapi-generator/FILES +1 -1
- package/README.md +4 -8
- package/api.ts +153 -476
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +203 -333
- package/dist/api.js +178 -596
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Connector.md +41 -0
- package/docs/ConnectorApi.md +218 -0
- package/docs/ConnectorParameter.md +31 -0
- package/docs/ConnectorParameterGroup.md +25 -0
- package/docs/DatasetApi.md +83 -16
- package/docs/DatasetCompatibility.md +25 -0
- package/docs/DatasetConnector.md +27 -0
- package/docs/DatasetCopyParameters.md +25 -0
- package/docs/DatasetPartTypeEnum.md +1 -1
- package/docs/DatasetSearch.md +21 -0
- package/docs/DatasetSourceType.md +19 -0
- package/docs/DatasetTwinGraphHash.md +21 -0
- package/docs/DatasetTwinGraphInfo.md +25 -0
- package/docs/DatasetTwinGraphQuery.md +21 -0
- package/docs/DeleteHistoricalData.md +25 -0
- package/docs/FileUploadMetadata.md +22 -0
- package/docs/FileUploadValidation.md +23 -0
- package/docs/GraphProperties.md +28 -0
- package/docs/IngestionStatusEnum.md +15 -0
- package/docs/IoTypesEnum.md +11 -0
- package/docs/RunLogs.md +23 -0
- package/docs/RunLogsEntry.md +21 -0
- package/docs/RunTemplateOrchestrator.md +11 -0
- package/docs/RunTemplateStepSource.md +15 -0
- package/docs/Runner.md +2 -2
- package/docs/RunnerApi.md +4 -4
- package/docs/RunnerCreateRequest.md +4 -4
- package/docs/RunnerDatasets.md +24 -0
- package/docs/RunnerRunTemplateParameterValue.md +1 -1
- package/docs/RunnerUpdateRequest.md +2 -2
- package/docs/SolutionApi.md +0 -290
- package/docs/SourceInfo.md +27 -0
- package/docs/SubDatasetGraphQuery.md +27 -0
- package/docs/TwinGraphBatchResult.md +25 -0
- package/docs/TwincacheStatusEnum.md +11 -0
- package/docs/WorkspaceSolution.md +4 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Cosmo Tech Platform API
|
|
5
5
|
* Cosmo Tech Platform API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 5.0.
|
|
7
|
+
* The version of the OpenAPI document: 5.0.1-SNAPSHOT
|
|
8
8
|
* Contact: platform@cosmotech.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -431,7 +431,7 @@ export interface DatasetPartCreateRequest {
|
|
|
431
431
|
|
|
432
432
|
export const DatasetPartTypeEnum = {
|
|
433
433
|
File: 'File',
|
|
434
|
-
|
|
434
|
+
Db: 'DB'
|
|
435
435
|
} as const;
|
|
436
436
|
|
|
437
437
|
export type DatasetPartTypeEnum = typeof DatasetPartTypeEnum[keyof typeof DatasetPartTypeEnum];
|
|
@@ -1848,11 +1848,11 @@ export interface Runner {
|
|
|
1848
1848
|
*/
|
|
1849
1849
|
'runTemplateName'?: string;
|
|
1850
1850
|
/**
|
|
1851
|
-
*
|
|
1852
|
-
* @type {
|
|
1851
|
+
*
|
|
1852
|
+
* @type {RunnerDatasets}
|
|
1853
1853
|
* @memberof Runner
|
|
1854
1854
|
*/
|
|
1855
|
-
'
|
|
1855
|
+
'datasets': RunnerDatasets;
|
|
1856
1856
|
/**
|
|
1857
1857
|
*
|
|
1858
1858
|
* @type {RunnerResourceSizing}
|
|
@@ -1990,6 +1990,31 @@ export interface RunnerCreateRequest {
|
|
|
1990
1990
|
*/
|
|
1991
1991
|
'security'?: RunnerSecurity;
|
|
1992
1992
|
}
|
|
1993
|
+
/**
|
|
1994
|
+
*
|
|
1995
|
+
* @export
|
|
1996
|
+
* @interface RunnerDatasets
|
|
1997
|
+
*/
|
|
1998
|
+
export interface RunnerDatasets {
|
|
1999
|
+
/**
|
|
2000
|
+
* a list of Dataset Id used to build the Runner
|
|
2001
|
+
* @type {Array<string>}
|
|
2002
|
+
* @memberof RunnerDatasets
|
|
2003
|
+
*/
|
|
2004
|
+
'bases': Array<string>;
|
|
2005
|
+
/**
|
|
2006
|
+
* The dataset id used for dataset parameters on current Runner
|
|
2007
|
+
* @type {string}
|
|
2008
|
+
* @memberof RunnerDatasets
|
|
2009
|
+
*/
|
|
2010
|
+
'parameter': string;
|
|
2011
|
+
/**
|
|
2012
|
+
* The dataset parts retrieved from the parameter property (programmatically fulfilled)
|
|
2013
|
+
* @type {Array<object>}
|
|
2014
|
+
* @memberof RunnerDatasets
|
|
2015
|
+
*/
|
|
2016
|
+
'parameters'?: Array<object>;
|
|
2017
|
+
}
|
|
1993
2018
|
/**
|
|
1994
2019
|
*
|
|
1995
2020
|
* @export
|
|
@@ -2419,19 +2444,6 @@ export interface SolutionEditInfo {
|
|
|
2419
2444
|
*/
|
|
2420
2445
|
'userId': string;
|
|
2421
2446
|
}
|
|
2422
|
-
/**
|
|
2423
|
-
* A Solution File resource
|
|
2424
|
-
* @export
|
|
2425
|
-
* @interface SolutionFile
|
|
2426
|
-
*/
|
|
2427
|
-
export interface SolutionFile {
|
|
2428
|
-
/**
|
|
2429
|
-
* The Solution File name
|
|
2430
|
-
* @type {string}
|
|
2431
|
-
* @memberof SolutionFile
|
|
2432
|
-
*/
|
|
2433
|
-
'fileName': string;
|
|
2434
|
-
}
|
|
2435
2447
|
/**
|
|
2436
2448
|
* The Solution Role
|
|
2437
2449
|
* @export
|
|
@@ -2778,6 +2790,18 @@ export interface WorkspaceSolution {
|
|
|
2778
2790
|
* @memberof WorkspaceSolution
|
|
2779
2791
|
*/
|
|
2780
2792
|
'solutionId': string;
|
|
2793
|
+
/**
|
|
2794
|
+
* The Dataset Id attached to this workspace. This dataset will be used to store default values for Solution parameters with file\'s varType.
|
|
2795
|
+
* @type {string}
|
|
2796
|
+
* @memberof WorkspaceSolution
|
|
2797
|
+
*/
|
|
2798
|
+
'datasetId'?: string;
|
|
2799
|
+
/**
|
|
2800
|
+
* A map of parameterId/value to set default values for Solution parameters with simple varType (int, string, ...)
|
|
2801
|
+
* @type {{ [key: string]: string; }}
|
|
2802
|
+
* @memberof WorkspaceSolution
|
|
2803
|
+
*/
|
|
2804
|
+
'defaultParameterValues'?: { [key: string]: string; };
|
|
2781
2805
|
/**
|
|
2782
2806
|
* The list of Solution Run Template Id to filter
|
|
2783
2807
|
* @type {Array<string>}
|
|
@@ -3972,6 +3996,62 @@ export const DatasetApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3972
3996
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3973
3997
|
localVarRequestOptions.data = serializeDataIfNeeded(datasetRole, localVarRequestOptions, configuration)
|
|
3974
3998
|
|
|
3999
|
+
return {
|
|
4000
|
+
url: toPathString(localVarUrlObj),
|
|
4001
|
+
options: localVarRequestOptions,
|
|
4002
|
+
};
|
|
4003
|
+
},
|
|
4004
|
+
/**
|
|
4005
|
+
*
|
|
4006
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
4007
|
+
* @param {string} organizationId the Organization identifier
|
|
4008
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4009
|
+
* @param {string} datasetId the Dataset identifier
|
|
4010
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
4011
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
4012
|
+
* @param {*} [options] Override http request option.
|
|
4013
|
+
* @throws {RequiredError}
|
|
4014
|
+
*/
|
|
4015
|
+
updateDatasetPart: async (organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4016
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
4017
|
+
assertParamExists('updateDatasetPart', 'organizationId', organizationId)
|
|
4018
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
4019
|
+
assertParamExists('updateDatasetPart', 'workspaceId', workspaceId)
|
|
4020
|
+
// verify required parameter 'datasetId' is not null or undefined
|
|
4021
|
+
assertParamExists('updateDatasetPart', 'datasetId', datasetId)
|
|
4022
|
+
// verify required parameter 'datasetPartId' is not null or undefined
|
|
4023
|
+
assertParamExists('updateDatasetPart', 'datasetPartId', datasetPartId)
|
|
4024
|
+
// verify required parameter 'datasetPartUpdateRequest' is not null or undefined
|
|
4025
|
+
assertParamExists('updateDatasetPart', 'datasetPartUpdateRequest', datasetPartUpdateRequest)
|
|
4026
|
+
const localVarPath = `/organizations/{organization_id}/workspaces/{workspace_id}/datasets/{dataset_id}/parts/{dataset_part_id}`
|
|
4027
|
+
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
4028
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
4029
|
+
.replace(`{${"dataset_id"}}`, encodeURIComponent(String(datasetId)))
|
|
4030
|
+
.replace(`{${"dataset_part_id"}}`, encodeURIComponent(String(datasetPartId)));
|
|
4031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4032
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4033
|
+
let baseOptions;
|
|
4034
|
+
if (configuration) {
|
|
4035
|
+
baseOptions = configuration.baseOptions;
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
4039
|
+
const localVarHeaderParameter = {} as any;
|
|
4040
|
+
const localVarQueryParameter = {} as any;
|
|
4041
|
+
|
|
4042
|
+
// authentication oAuth2AuthCode required
|
|
4043
|
+
// oauth required
|
|
4044
|
+
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
4045
|
+
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4049
|
+
|
|
4050
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4051
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4052
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4053
|
+
localVarRequestOptions.data = serializeDataIfNeeded(datasetPartUpdateRequest, localVarRequestOptions, configuration)
|
|
4054
|
+
|
|
3975
4055
|
return {
|
|
3976
4056
|
url: toPathString(localVarUrlObj),
|
|
3977
4057
|
options: localVarRequestOptions,
|
|
@@ -4318,6 +4398,23 @@ export const DatasetApiFp = function(configuration?: Configuration) {
|
|
|
4318
4398
|
const localVarOperationServerBasePath = operationServerMap['DatasetApi.updateDatasetDefaultSecurity']?.[localVarOperationServerIndex]?.url;
|
|
4319
4399
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4320
4400
|
},
|
|
4401
|
+
/**
|
|
4402
|
+
*
|
|
4403
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
4404
|
+
* @param {string} organizationId the Organization identifier
|
|
4405
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4406
|
+
* @param {string} datasetId the Dataset identifier
|
|
4407
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
4408
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
4409
|
+
* @param {*} [options] Override http request option.
|
|
4410
|
+
* @throws {RequiredError}
|
|
4411
|
+
*/
|
|
4412
|
+
async updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DatasetPart>> {
|
|
4413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options);
|
|
4414
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4415
|
+
const localVarOperationServerBasePath = operationServerMap['DatasetApi.updateDatasetPart']?.[localVarOperationServerIndex]?.url;
|
|
4416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4417
|
+
},
|
|
4321
4418
|
}
|
|
4322
4419
|
};
|
|
4323
4420
|
|
|
@@ -4599,6 +4696,20 @@ export const DatasetApiFactory = function (configuration?: Configuration, basePa
|
|
|
4599
4696
|
updateDatasetDefaultSecurity(organizationId: string, workspaceId: string, datasetId: string, datasetRole: DatasetRole, options?: RawAxiosRequestConfig): AxiosPromise<DatasetSecurity> {
|
|
4600
4697
|
return localVarFp.updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then((request) => request(axios, basePath));
|
|
4601
4698
|
},
|
|
4699
|
+
/**
|
|
4700
|
+
*
|
|
4701
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
4702
|
+
* @param {string} organizationId the Organization identifier
|
|
4703
|
+
* @param {string} workspaceId the Workspace identifier
|
|
4704
|
+
* @param {string} datasetId the Dataset identifier
|
|
4705
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
4706
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
4707
|
+
* @param {*} [options] Override http request option.
|
|
4708
|
+
* @throws {RequiredError}
|
|
4709
|
+
*/
|
|
4710
|
+
updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<DatasetPart> {
|
|
4711
|
+
return localVarFp.updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then((request) => request(axios, basePath));
|
|
4712
|
+
},
|
|
4602
4713
|
};
|
|
4603
4714
|
};
|
|
4604
4715
|
|
|
@@ -4919,6 +5030,22 @@ export class DatasetApi extends BaseAPI {
|
|
|
4919
5030
|
public updateDatasetDefaultSecurity(organizationId: string, workspaceId: string, datasetId: string, datasetRole: DatasetRole, options?: RawAxiosRequestConfig) {
|
|
4920
5031
|
return DatasetApiFp(this.configuration).updateDatasetDefaultSecurity(organizationId, workspaceId, datasetId, datasetRole, options).then((request) => request(this.axios, this.basePath));
|
|
4921
5032
|
}
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
*
|
|
5036
|
+
* @summary Update existing dataset parts information of a Dataset
|
|
5037
|
+
* @param {string} organizationId the Organization identifier
|
|
5038
|
+
* @param {string} workspaceId the Workspace identifier
|
|
5039
|
+
* @param {string} datasetId the Dataset identifier
|
|
5040
|
+
* @param {string} datasetPartId the Dataset part identifier
|
|
5041
|
+
* @param {DatasetPartUpdateRequest} datasetPartUpdateRequest Dataset part information to update
|
|
5042
|
+
* @param {*} [options] Override http request option.
|
|
5043
|
+
* @throws {RequiredError}
|
|
5044
|
+
* @memberof DatasetApi
|
|
5045
|
+
*/
|
|
5046
|
+
public updateDatasetPart(organizationId: string, workspaceId: string, datasetId: string, datasetPartId: string, datasetPartUpdateRequest: DatasetPartUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
5047
|
+
return DatasetApiFp(this.configuration).updateDatasetPart(organizationId, workspaceId, datasetId, datasetPartId, datasetPartUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5048
|
+
}
|
|
4922
5049
|
}
|
|
4923
5050
|
|
|
4924
5051
|
|
|
@@ -7326,8 +7453,8 @@ export const RunnerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
7326
7453
|
* @summary List all Runners
|
|
7327
7454
|
* @param {string} organizationId the Organization identifier
|
|
7328
7455
|
* @param {string} workspaceId the Workspace identifier
|
|
7329
|
-
* @param {number} [page]
|
|
7330
|
-
* @param {number} [size]
|
|
7456
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
7457
|
+
* @param {number} [size] Amount of result by page
|
|
7331
7458
|
* @param {*} [options] Override http request option.
|
|
7332
7459
|
* @throws {RequiredError}
|
|
7333
7460
|
*/
|
|
@@ -7779,8 +7906,8 @@ export const RunnerApiFp = function(configuration?: Configuration) {
|
|
|
7779
7906
|
* @summary List all Runners
|
|
7780
7907
|
* @param {string} organizationId the Organization identifier
|
|
7781
7908
|
* @param {string} workspaceId the Workspace identifier
|
|
7782
|
-
* @param {number} [page]
|
|
7783
|
-
* @param {number} [size]
|
|
7909
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
7910
|
+
* @param {number} [size] Amount of result by page
|
|
7784
7911
|
* @param {*} [options] Override http request option.
|
|
7785
7912
|
* @throws {RequiredError}
|
|
7786
7913
|
*/
|
|
@@ -7996,8 +8123,8 @@ export const RunnerApiFactory = function (configuration?: Configuration, basePat
|
|
|
7996
8123
|
* @summary List all Runners
|
|
7997
8124
|
* @param {string} organizationId the Organization identifier
|
|
7998
8125
|
* @param {string} workspaceId the Workspace identifier
|
|
7999
|
-
* @param {number} [page]
|
|
8000
|
-
* @param {number} [size]
|
|
8126
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
8127
|
+
* @param {number} [size] Amount of result by page
|
|
8001
8128
|
* @param {*} [options] Override http request option.
|
|
8002
8129
|
* @throws {RequiredError}
|
|
8003
8130
|
*/
|
|
@@ -8213,8 +8340,8 @@ export class RunnerApi extends BaseAPI {
|
|
|
8213
8340
|
* @summary List all Runners
|
|
8214
8341
|
* @param {string} organizationId the Organization identifier
|
|
8215
8342
|
* @param {string} workspaceId the Workspace identifier
|
|
8216
|
-
* @param {number} [page]
|
|
8217
|
-
* @param {number} [size]
|
|
8343
|
+
* @param {number} [page] Page number to query (first page is at index 0)
|
|
8344
|
+
* @param {number} [size] Amount of result by page
|
|
8218
8345
|
* @param {*} [options] Override http request option.
|
|
8219
8346
|
* @throws {RequiredError}
|
|
8220
8347
|
* @memberof RunnerApi
|
|
@@ -8398,69 +8525,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8398
8525
|
options: localVarRequestOptions,
|
|
8399
8526
|
};
|
|
8400
8527
|
},
|
|
8401
|
-
/**
|
|
8402
|
-
*
|
|
8403
|
-
* @summary Upload a file for the Solution
|
|
8404
|
-
* @param {string} organizationId the Organization identifier
|
|
8405
|
-
* @param {string} solutionId the Solution identifier
|
|
8406
|
-
* @param {File} file The file to upload
|
|
8407
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
8408
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
8409
|
-
* @param {*} [options] Override http request option.
|
|
8410
|
-
* @throws {RequiredError}
|
|
8411
|
-
*/
|
|
8412
|
-
createSolutionFile: async (organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8413
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
8414
|
-
assertParamExists('createSolutionFile', 'organizationId', organizationId)
|
|
8415
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
8416
|
-
assertParamExists('createSolutionFile', 'solutionId', solutionId)
|
|
8417
|
-
// verify required parameter 'file' is not null or undefined
|
|
8418
|
-
assertParamExists('createSolutionFile', 'file', file)
|
|
8419
|
-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files`
|
|
8420
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
8421
|
-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
|
|
8422
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8423
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8424
|
-
let baseOptions;
|
|
8425
|
-
if (configuration) {
|
|
8426
|
-
baseOptions = configuration.baseOptions;
|
|
8427
|
-
}
|
|
8428
|
-
|
|
8429
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8430
|
-
const localVarHeaderParameter = {} as any;
|
|
8431
|
-
const localVarQueryParameter = {} as any;
|
|
8432
|
-
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
8433
|
-
|
|
8434
|
-
// authentication oAuth2AuthCode required
|
|
8435
|
-
// oauth required
|
|
8436
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
if (overwrite !== undefined) {
|
|
8440
|
-
localVarFormParams.append('overwrite', String(overwrite) as any);
|
|
8441
|
-
}
|
|
8442
|
-
|
|
8443
|
-
if (destination !== undefined) {
|
|
8444
|
-
localVarFormParams.append('destination', destination as any);
|
|
8445
|
-
}
|
|
8446
|
-
|
|
8447
|
-
if (file !== undefined) {
|
|
8448
|
-
localVarFormParams.append('file', file as any);
|
|
8449
|
-
}
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
8453
|
-
|
|
8454
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8455
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8456
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8457
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
8458
|
-
|
|
8459
|
-
return {
|
|
8460
|
-
url: toPathString(localVarUrlObj),
|
|
8461
|
-
options: localVarRequestOptions,
|
|
8462
|
-
};
|
|
8463
|
-
},
|
|
8464
8528
|
/**
|
|
8465
8529
|
*
|
|
8466
8530
|
* @summary Create solution parameter for a solution
|
|
@@ -8684,97 +8748,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8684
8748
|
|
|
8685
8749
|
|
|
8686
8750
|
|
|
8687
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8688
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8689
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8690
|
-
|
|
8691
|
-
return {
|
|
8692
|
-
url: toPathString(localVarUrlObj),
|
|
8693
|
-
options: localVarRequestOptions,
|
|
8694
|
-
};
|
|
8695
|
-
},
|
|
8696
|
-
/**
|
|
8697
|
-
*
|
|
8698
|
-
* @summary Delete a solution file
|
|
8699
|
-
* @param {string} organizationId the Organization identifier
|
|
8700
|
-
* @param {string} solutionId the Solution identifier
|
|
8701
|
-
* @param {string} fileName The file name
|
|
8702
|
-
* @param {*} [options] Override http request option.
|
|
8703
|
-
* @throws {RequiredError}
|
|
8704
|
-
*/
|
|
8705
|
-
deleteSolutionFile: async (organizationId: string, solutionId: string, fileName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8706
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
8707
|
-
assertParamExists('deleteSolutionFile', 'organizationId', organizationId)
|
|
8708
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
8709
|
-
assertParamExists('deleteSolutionFile', 'solutionId', solutionId)
|
|
8710
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
8711
|
-
assertParamExists('deleteSolutionFile', 'fileName', fileName)
|
|
8712
|
-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files/delete`
|
|
8713
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
8714
|
-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
|
|
8715
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8716
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8717
|
-
let baseOptions;
|
|
8718
|
-
if (configuration) {
|
|
8719
|
-
baseOptions = configuration.baseOptions;
|
|
8720
|
-
}
|
|
8721
|
-
|
|
8722
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
8723
|
-
const localVarHeaderParameter = {} as any;
|
|
8724
|
-
const localVarQueryParameter = {} as any;
|
|
8725
|
-
|
|
8726
|
-
// authentication oAuth2AuthCode required
|
|
8727
|
-
// oauth required
|
|
8728
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
8729
|
-
|
|
8730
|
-
if (fileName !== undefined) {
|
|
8731
|
-
localVarQueryParameter['file_name'] = fileName;
|
|
8732
|
-
}
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8737
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8738
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8739
|
-
|
|
8740
|
-
return {
|
|
8741
|
-
url: toPathString(localVarUrlObj),
|
|
8742
|
-
options: localVarRequestOptions,
|
|
8743
|
-
};
|
|
8744
|
-
},
|
|
8745
|
-
/**
|
|
8746
|
-
*
|
|
8747
|
-
* @summary Delete all Solution files
|
|
8748
|
-
* @param {string} organizationId the Organization identifier
|
|
8749
|
-
* @param {string} solutionId the Solution identifier
|
|
8750
|
-
* @param {*} [options] Override http request option.
|
|
8751
|
-
* @throws {RequiredError}
|
|
8752
|
-
*/
|
|
8753
|
-
deleteSolutionFiles: async (organizationId: string, solutionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8754
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
8755
|
-
assertParamExists('deleteSolutionFiles', 'organizationId', organizationId)
|
|
8756
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
8757
|
-
assertParamExists('deleteSolutionFiles', 'solutionId', solutionId)
|
|
8758
|
-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files`
|
|
8759
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
8760
|
-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
|
|
8761
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8762
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8763
|
-
let baseOptions;
|
|
8764
|
-
if (configuration) {
|
|
8765
|
-
baseOptions = configuration.baseOptions;
|
|
8766
|
-
}
|
|
8767
|
-
|
|
8768
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
8769
|
-
const localVarHeaderParameter = {} as any;
|
|
8770
|
-
const localVarQueryParameter = {} as any;
|
|
8771
|
-
|
|
8772
|
-
// authentication oAuth2AuthCode required
|
|
8773
|
-
// oauth required
|
|
8774
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
8751
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8779
8752
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8780
8753
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9047,55 +9020,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9047
9020
|
|
|
9048
9021
|
|
|
9049
9022
|
|
|
9050
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9051
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9052
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9053
|
-
|
|
9054
|
-
return {
|
|
9055
|
-
url: toPathString(localVarUrlObj),
|
|
9056
|
-
options: localVarRequestOptions,
|
|
9057
|
-
};
|
|
9058
|
-
},
|
|
9059
|
-
/**
|
|
9060
|
-
*
|
|
9061
|
-
* @summary Download the Solution File specified
|
|
9062
|
-
* @param {string} organizationId the Organization identifier
|
|
9063
|
-
* @param {string} solutionId the Solution identifier
|
|
9064
|
-
* @param {string} fileName The file name
|
|
9065
|
-
* @param {*} [options] Override http request option.
|
|
9066
|
-
* @throws {RequiredError}
|
|
9067
|
-
*/
|
|
9068
|
-
getSolutionFile: async (organizationId: string, solutionId: string, fileName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9069
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
9070
|
-
assertParamExists('getSolutionFile', 'organizationId', organizationId)
|
|
9071
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
9072
|
-
assertParamExists('getSolutionFile', 'solutionId', solutionId)
|
|
9073
|
-
// verify required parameter 'fileName' is not null or undefined
|
|
9074
|
-
assertParamExists('getSolutionFile', 'fileName', fileName)
|
|
9075
|
-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files/download`
|
|
9076
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
9077
|
-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
|
|
9078
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9079
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9080
|
-
let baseOptions;
|
|
9081
|
-
if (configuration) {
|
|
9082
|
-
baseOptions = configuration.baseOptions;
|
|
9083
|
-
}
|
|
9084
|
-
|
|
9085
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9086
|
-
const localVarHeaderParameter = {} as any;
|
|
9087
|
-
const localVarQueryParameter = {} as any;
|
|
9088
|
-
|
|
9089
|
-
// authentication oAuth2AuthCode required
|
|
9090
|
-
// oauth required
|
|
9091
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
9092
|
-
|
|
9093
|
-
if (fileName !== undefined) {
|
|
9094
|
-
localVarQueryParameter['file_name'] = fileName;
|
|
9095
|
-
}
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
9023
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9100
9024
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9101
9025
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9272,48 +9196,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
9272
9196
|
|
|
9273
9197
|
|
|
9274
9198
|
|
|
9275
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9276
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9277
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9278
|
-
|
|
9279
|
-
return {
|
|
9280
|
-
url: toPathString(localVarUrlObj),
|
|
9281
|
-
options: localVarRequestOptions,
|
|
9282
|
-
};
|
|
9283
|
-
},
|
|
9284
|
-
/**
|
|
9285
|
-
*
|
|
9286
|
-
* @summary List all Solution files
|
|
9287
|
-
* @param {string} organizationId the Organization identifier
|
|
9288
|
-
* @param {string} solutionId the Solution identifier
|
|
9289
|
-
* @param {*} [options] Override http request option.
|
|
9290
|
-
* @throws {RequiredError}
|
|
9291
|
-
*/
|
|
9292
|
-
listSolutionFiles: async (organizationId: string, solutionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9293
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
9294
|
-
assertParamExists('listSolutionFiles', 'organizationId', organizationId)
|
|
9295
|
-
// verify required parameter 'solutionId' is not null or undefined
|
|
9296
|
-
assertParamExists('listSolutionFiles', 'solutionId', solutionId)
|
|
9297
|
-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/files`
|
|
9298
|
-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
|
|
9299
|
-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)));
|
|
9300
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9301
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9302
|
-
let baseOptions;
|
|
9303
|
-
if (configuration) {
|
|
9304
|
-
baseOptions = configuration.baseOptions;
|
|
9305
|
-
}
|
|
9306
|
-
|
|
9307
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9308
|
-
const localVarHeaderParameter = {} as any;
|
|
9309
|
-
const localVarQueryParameter = {} as any;
|
|
9310
|
-
|
|
9311
|
-
// authentication oAuth2AuthCode required
|
|
9312
|
-
// oauth required
|
|
9313
|
-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
9199
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9318
9200
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9319
9201
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9840,23 +9722,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
|
|
|
9840
9722
|
const localVarOperationServerBasePath = operationServerMap['SolutionApi.createSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
9841
9723
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9842
9724
|
},
|
|
9843
|
-
/**
|
|
9844
|
-
*
|
|
9845
|
-
* @summary Upload a file for the Solution
|
|
9846
|
-
* @param {string} organizationId the Organization identifier
|
|
9847
|
-
* @param {string} solutionId the Solution identifier
|
|
9848
|
-
* @param {File} file The file to upload
|
|
9849
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
9850
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
9851
|
-
* @param {*} [options] Override http request option.
|
|
9852
|
-
* @throws {RequiredError}
|
|
9853
|
-
*/
|
|
9854
|
-
async createSolutionFile(organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SolutionFile>> {
|
|
9855
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSolutionFile(organizationId, solutionId, file, overwrite, destination, options);
|
|
9856
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9857
|
-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.createSolutionFile']?.[localVarOperationServerIndex]?.url;
|
|
9858
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9859
|
-
},
|
|
9860
9725
|
/**
|
|
9861
9726
|
*
|
|
9862
9727
|
* @summary Create solution parameter for a solution
|
|
@@ -9931,35 +9796,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
|
|
|
9931
9796
|
const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
9932
9797
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9933
9798
|
},
|
|
9934
|
-
/**
|
|
9935
|
-
*
|
|
9936
|
-
* @summary Delete a solution file
|
|
9937
|
-
* @param {string} organizationId the Organization identifier
|
|
9938
|
-
* @param {string} solutionId the Solution identifier
|
|
9939
|
-
* @param {string} fileName The file name
|
|
9940
|
-
* @param {*} [options] Override http request option.
|
|
9941
|
-
* @throws {RequiredError}
|
|
9942
|
-
*/
|
|
9943
|
-
async deleteSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9944
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSolutionFile(organizationId, solutionId, fileName, options);
|
|
9945
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9946
|
-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionFile']?.[localVarOperationServerIndex]?.url;
|
|
9947
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9948
|
-
},
|
|
9949
|
-
/**
|
|
9950
|
-
*
|
|
9951
|
-
* @summary Delete all Solution files
|
|
9952
|
-
* @param {string} organizationId the Organization identifier
|
|
9953
|
-
* @param {string} solutionId the Solution identifier
|
|
9954
|
-
* @param {*} [options] Override http request option.
|
|
9955
|
-
* @throws {RequiredError}
|
|
9956
|
-
*/
|
|
9957
|
-
async deleteSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
9958
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSolutionFiles(organizationId, solutionId, options);
|
|
9959
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9960
|
-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionFiles']?.[localVarOperationServerIndex]?.url;
|
|
9961
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9962
|
-
},
|
|
9963
9799
|
/**
|
|
9964
9800
|
*
|
|
9965
9801
|
* @summary Delete specific parameter from the solution
|
|
@@ -10049,21 +9885,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
|
|
|
10049
9885
|
const localVarOperationServerBasePath = operationServerMap['SolutionApi.getSolutionAccessControl']?.[localVarOperationServerIndex]?.url;
|
|
10050
9886
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10051
9887
|
},
|
|
10052
|
-
/**
|
|
10053
|
-
*
|
|
10054
|
-
* @summary Download the Solution File specified
|
|
10055
|
-
* @param {string} organizationId the Organization identifier
|
|
10056
|
-
* @param {string} solutionId the Solution identifier
|
|
10057
|
-
* @param {string} fileName The file name
|
|
10058
|
-
* @param {*} [options] Override http request option.
|
|
10059
|
-
* @throws {RequiredError}
|
|
10060
|
-
*/
|
|
10061
|
-
async getSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
10062
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSolutionFile(organizationId, solutionId, fileName, options);
|
|
10063
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10064
|
-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.getSolutionFile']?.[localVarOperationServerIndex]?.url;
|
|
10065
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10066
|
-
},
|
|
10067
9888
|
/**
|
|
10068
9889
|
*
|
|
10069
9890
|
* @summary Get the details of a solution parameter
|
|
@@ -10122,20 +9943,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
|
|
|
10122
9943
|
const localVarOperationServerBasePath = operationServerMap['SolutionApi.listRunTemplates']?.[localVarOperationServerIndex]?.url;
|
|
10123
9944
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10124
9945
|
},
|
|
10125
|
-
/**
|
|
10126
|
-
*
|
|
10127
|
-
* @summary List all Solution files
|
|
10128
|
-
* @param {string} organizationId the Organization identifier
|
|
10129
|
-
* @param {string} solutionId the Solution identifier
|
|
10130
|
-
* @param {*} [options] Override http request option.
|
|
10131
|
-
* @throws {RequiredError}
|
|
10132
|
-
*/
|
|
10133
|
-
async listSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SolutionFile>>> {
|
|
10134
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSolutionFiles(organizationId, solutionId, options);
|
|
10135
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10136
|
-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.listSolutionFiles']?.[localVarOperationServerIndex]?.url;
|
|
10137
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10138
|
-
},
|
|
10139
9946
|
/**
|
|
10140
9947
|
*
|
|
10141
9948
|
* @summary List all solution parameter groups
|
|
@@ -10320,20 +10127,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
|
|
|
10320
10127
|
createSolutionAccessControl(organizationId: string, solutionId: string, solutionAccessControl: SolutionAccessControl, options?: RawAxiosRequestConfig): AxiosPromise<SolutionAccessControl> {
|
|
10321
10128
|
return localVarFp.createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then((request) => request(axios, basePath));
|
|
10322
10129
|
},
|
|
10323
|
-
/**
|
|
10324
|
-
*
|
|
10325
|
-
* @summary Upload a file for the Solution
|
|
10326
|
-
* @param {string} organizationId the Organization identifier
|
|
10327
|
-
* @param {string} solutionId the Solution identifier
|
|
10328
|
-
* @param {File} file The file to upload
|
|
10329
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
10330
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
10331
|
-
* @param {*} [options] Override http request option.
|
|
10332
|
-
* @throws {RequiredError}
|
|
10333
|
-
*/
|
|
10334
|
-
createSolutionFile(organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options?: RawAxiosRequestConfig): AxiosPromise<SolutionFile> {
|
|
10335
|
-
return localVarFp.createSolutionFile(organizationId, solutionId, file, overwrite, destination, options).then((request) => request(axios, basePath));
|
|
10336
|
-
},
|
|
10337
10130
|
/**
|
|
10338
10131
|
*
|
|
10339
10132
|
* @summary Create solution parameter for a solution
|
|
@@ -10393,29 +10186,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
|
|
|
10393
10186
|
deleteSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10394
10187
|
return localVarFp.deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
|
|
10395
10188
|
},
|
|
10396
|
-
/**
|
|
10397
|
-
*
|
|
10398
|
-
* @summary Delete a solution file
|
|
10399
|
-
* @param {string} organizationId the Organization identifier
|
|
10400
|
-
* @param {string} solutionId the Solution identifier
|
|
10401
|
-
* @param {string} fileName The file name
|
|
10402
|
-
* @param {*} [options] Override http request option.
|
|
10403
|
-
* @throws {RequiredError}
|
|
10404
|
-
*/
|
|
10405
|
-
deleteSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10406
|
-
return localVarFp.deleteSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(axios, basePath));
|
|
10407
|
-
},
|
|
10408
|
-
/**
|
|
10409
|
-
*
|
|
10410
|
-
* @summary Delete all Solution files
|
|
10411
|
-
* @param {string} organizationId the Organization identifier
|
|
10412
|
-
* @param {string} solutionId the Solution identifier
|
|
10413
|
-
* @param {*} [options] Override http request option.
|
|
10414
|
-
* @throws {RequiredError}
|
|
10415
|
-
*/
|
|
10416
|
-
deleteSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
10417
|
-
return localVarFp.deleteSolutionFiles(organizationId, solutionId, options).then((request) => request(axios, basePath));
|
|
10418
|
-
},
|
|
10419
10189
|
/**
|
|
10420
10190
|
*
|
|
10421
10191
|
* @summary Delete specific parameter from the solution
|
|
@@ -10487,18 +10257,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
|
|
|
10487
10257
|
getSolutionAccessControl(organizationId: string, solutionId: string, identityId: string, options?: RawAxiosRequestConfig): AxiosPromise<SolutionAccessControl> {
|
|
10488
10258
|
return localVarFp.getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(axios, basePath));
|
|
10489
10259
|
},
|
|
10490
|
-
/**
|
|
10491
|
-
*
|
|
10492
|
-
* @summary Download the Solution File specified
|
|
10493
|
-
* @param {string} organizationId the Organization identifier
|
|
10494
|
-
* @param {string} solutionId the Solution identifier
|
|
10495
|
-
* @param {string} fileName The file name
|
|
10496
|
-
* @param {*} [options] Override http request option.
|
|
10497
|
-
* @throws {RequiredError}
|
|
10498
|
-
*/
|
|
10499
|
-
getSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
10500
|
-
return localVarFp.getSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(axios, basePath));
|
|
10501
|
-
},
|
|
10502
10260
|
/**
|
|
10503
10261
|
*
|
|
10504
10262
|
* @summary Get the details of a solution parameter
|
|
@@ -10545,17 +10303,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
|
|
|
10545
10303
|
listRunTemplates(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<RunTemplate>> {
|
|
10546
10304
|
return localVarFp.listRunTemplates(organizationId, solutionId, options).then((request) => request(axios, basePath));
|
|
10547
10305
|
},
|
|
10548
|
-
/**
|
|
10549
|
-
*
|
|
10550
|
-
* @summary List all Solution files
|
|
10551
|
-
* @param {string} organizationId the Organization identifier
|
|
10552
|
-
* @param {string} solutionId the Solution identifier
|
|
10553
|
-
* @param {*} [options] Override http request option.
|
|
10554
|
-
* @throws {RequiredError}
|
|
10555
|
-
*/
|
|
10556
|
-
listSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SolutionFile>> {
|
|
10557
|
-
return localVarFp.listSolutionFiles(organizationId, solutionId, options).then((request) => request(axios, basePath));
|
|
10558
|
-
},
|
|
10559
10306
|
/**
|
|
10560
10307
|
*
|
|
10561
10308
|
* @summary List all solution parameter groups
|
|
@@ -10714,22 +10461,6 @@ export class SolutionApi extends BaseAPI {
|
|
|
10714
10461
|
return SolutionApiFp(this.configuration).createSolutionAccessControl(organizationId, solutionId, solutionAccessControl, options).then((request) => request(this.axios, this.basePath));
|
|
10715
10462
|
}
|
|
10716
10463
|
|
|
10717
|
-
/**
|
|
10718
|
-
*
|
|
10719
|
-
* @summary Upload a file for the Solution
|
|
10720
|
-
* @param {string} organizationId the Organization identifier
|
|
10721
|
-
* @param {string} solutionId the Solution identifier
|
|
10722
|
-
* @param {File} file The file to upload
|
|
10723
|
-
* @param {boolean} [overwrite] Whether to overwrite an existing file
|
|
10724
|
-
* @param {string} [destination] Destination path. Must end with a \\\'/\\\' if specifying a folder. Note that paths may or may not start with a \\\'/\\\', but they are always treated as relative to the Solution root location.
|
|
10725
|
-
* @param {*} [options] Override http request option.
|
|
10726
|
-
* @throws {RequiredError}
|
|
10727
|
-
* @memberof SolutionApi
|
|
10728
|
-
*/
|
|
10729
|
-
public createSolutionFile(organizationId: string, solutionId: string, file: File, overwrite?: boolean, destination?: string, options?: RawAxiosRequestConfig) {
|
|
10730
|
-
return SolutionApiFp(this.configuration).createSolutionFile(organizationId, solutionId, file, overwrite, destination, options).then((request) => request(this.axios, this.basePath));
|
|
10731
|
-
}
|
|
10732
|
-
|
|
10733
10464
|
/**
|
|
10734
10465
|
*
|
|
10735
10466
|
* @summary Create solution parameter for a solution
|
|
@@ -10799,33 +10530,6 @@ export class SolutionApi extends BaseAPI {
|
|
|
10799
10530
|
return SolutionApiFp(this.configuration).deleteSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
10800
10531
|
}
|
|
10801
10532
|
|
|
10802
|
-
/**
|
|
10803
|
-
*
|
|
10804
|
-
* @summary Delete a solution file
|
|
10805
|
-
* @param {string} organizationId the Organization identifier
|
|
10806
|
-
* @param {string} solutionId the Solution identifier
|
|
10807
|
-
* @param {string} fileName The file name
|
|
10808
|
-
* @param {*} [options] Override http request option.
|
|
10809
|
-
* @throws {RequiredError}
|
|
10810
|
-
* @memberof SolutionApi
|
|
10811
|
-
*/
|
|
10812
|
-
public deleteSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig) {
|
|
10813
|
-
return SolutionApiFp(this.configuration).deleteSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(this.axios, this.basePath));
|
|
10814
|
-
}
|
|
10815
|
-
|
|
10816
|
-
/**
|
|
10817
|
-
*
|
|
10818
|
-
* @summary Delete all Solution files
|
|
10819
|
-
* @param {string} organizationId the Organization identifier
|
|
10820
|
-
* @param {string} solutionId the Solution identifier
|
|
10821
|
-
* @param {*} [options] Override http request option.
|
|
10822
|
-
* @throws {RequiredError}
|
|
10823
|
-
* @memberof SolutionApi
|
|
10824
|
-
*/
|
|
10825
|
-
public deleteSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig) {
|
|
10826
|
-
return SolutionApiFp(this.configuration).deleteSolutionFiles(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
|
|
10827
|
-
}
|
|
10828
|
-
|
|
10829
10533
|
/**
|
|
10830
10534
|
*
|
|
10831
10535
|
* @summary Delete specific parameter from the solution
|
|
@@ -10909,20 +10613,6 @@ export class SolutionApi extends BaseAPI {
|
|
|
10909
10613
|
return SolutionApiFp(this.configuration).getSolutionAccessControl(organizationId, solutionId, identityId, options).then((request) => request(this.axios, this.basePath));
|
|
10910
10614
|
}
|
|
10911
10615
|
|
|
10912
|
-
/**
|
|
10913
|
-
*
|
|
10914
|
-
* @summary Download the Solution File specified
|
|
10915
|
-
* @param {string} organizationId the Organization identifier
|
|
10916
|
-
* @param {string} solutionId the Solution identifier
|
|
10917
|
-
* @param {string} fileName The file name
|
|
10918
|
-
* @param {*} [options] Override http request option.
|
|
10919
|
-
* @throws {RequiredError}
|
|
10920
|
-
* @memberof SolutionApi
|
|
10921
|
-
*/
|
|
10922
|
-
public getSolutionFile(organizationId: string, solutionId: string, fileName: string, options?: RawAxiosRequestConfig) {
|
|
10923
|
-
return SolutionApiFp(this.configuration).getSolutionFile(organizationId, solutionId, fileName, options).then((request) => request(this.axios, this.basePath));
|
|
10924
|
-
}
|
|
10925
|
-
|
|
10926
10616
|
/**
|
|
10927
10617
|
*
|
|
10928
10618
|
* @summary Get the details of a solution parameter
|
|
@@ -10977,19 +10667,6 @@ export class SolutionApi extends BaseAPI {
|
|
|
10977
10667
|
return SolutionApiFp(this.configuration).listRunTemplates(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
|
|
10978
10668
|
}
|
|
10979
10669
|
|
|
10980
|
-
/**
|
|
10981
|
-
*
|
|
10982
|
-
* @summary List all Solution files
|
|
10983
|
-
* @param {string} organizationId the Organization identifier
|
|
10984
|
-
* @param {string} solutionId the Solution identifier
|
|
10985
|
-
* @param {*} [options] Override http request option.
|
|
10986
|
-
* @throws {RequiredError}
|
|
10987
|
-
* @memberof SolutionApi
|
|
10988
|
-
*/
|
|
10989
|
-
public listSolutionFiles(organizationId: string, solutionId: string, options?: RawAxiosRequestConfig) {
|
|
10990
|
-
return SolutionApiFp(this.configuration).listSolutionFiles(organizationId, solutionId, options).then((request) => request(this.axios, this.basePath));
|
|
10991
|
-
}
|
|
10992
|
-
|
|
10993
10670
|
/**
|
|
10994
10671
|
*
|
|
10995
10672
|
* @summary List all solution parameter groups
|