Skip to content

Commit 2b3b9ae

Browse files
csmplatformsjoubert
andcommitted
Automatically update typescript client (ref: Cosmo-Tech/cosmotech-api@af92ba5)
Co-authored-by: sjoubert <sjoubert@users.noreply.github.com>
1 parent 3d00dba commit 2b3b9ae

File tree

1 file changed

+0
-223
lines changed

1 file changed

+0
-223
lines changed

api.ts

Lines changed: 0 additions & 223 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,24 +1684,6 @@ export interface RunTemplate {
16841684
}
16851685

16861686

1687-
/**
1688-
* the Run Template step handler identifier
1689-
* @export
1690-
* @enum {string}
1691-
*/
1692-
1693-
export const RunTemplateHandlerId = {
1694-
ParametersHandler: 'parameters_handler',
1695-
Validator: 'validator',
1696-
Prerun: 'prerun',
1697-
Engine: 'engine',
1698-
Postrun: 'postrun',
1699-
ScenariodataTransform: 'scenariodata_transform'
1700-
} as const;
1701-
1702-
export type RunTemplateHandlerId = typeof RunTemplateHandlerId[keyof typeof RunTemplateHandlerId];
1703-
1704-
17051687
/**
17061688
* the Orchestrator to use for the Run Template
17071689
* @export
@@ -9589,56 +9571,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
95899571

95909572

95919573

9592-
setSearchParams(localVarUrlObj, localVarQueryParameter);
9593-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9594-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9595-
9596-
return {
9597-
url: toPathString(localVarUrlObj),
9598-
options: localVarRequestOptions,
9599-
};
9600-
},
9601-
/**
9602-
*
9603-
* @summary Download a Run Template step handler zip file
9604-
* @param {string} organizationId the Organization identifier
9605-
* @param {string} solutionId the Solution identifier
9606-
* @param {string} runTemplateId the Run Template identifier
9607-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
9608-
* @param {*} [options] Override http request option.
9609-
* @throws {RequiredError}
9610-
*/
9611-
downloadRunTemplateHandler: async (organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9612-
// verify required parameter 'organizationId' is not null or undefined
9613-
assertParamExists('downloadRunTemplateHandler', 'organizationId', organizationId)
9614-
// verify required parameter 'solutionId' is not null or undefined
9615-
assertParamExists('downloadRunTemplateHandler', 'solutionId', solutionId)
9616-
// verify required parameter 'runTemplateId' is not null or undefined
9617-
assertParamExists('downloadRunTemplateHandler', 'runTemplateId', runTemplateId)
9618-
// verify required parameter 'handlerId' is not null or undefined
9619-
assertParamExists('downloadRunTemplateHandler', 'handlerId', handlerId)
9620-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/download`
9621-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
9622-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)))
9623-
.replace(`{${"run_template_id"}}`, encodeURIComponent(String(runTemplateId)))
9624-
.replace(`{${"handler_id"}}`, encodeURIComponent(String(handlerId)));
9625-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
9626-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9627-
let baseOptions;
9628-
if (configuration) {
9629-
baseOptions = configuration.baseOptions;
9630-
}
9631-
9632-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9633-
const localVarHeaderParameter = {} as any;
9634-
const localVarQueryParameter = {} as any;
9635-
9636-
// authentication oAuth2AuthCode required
9637-
// oauth required
9638-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
9639-
9640-
9641-
96429574
setSearchParams(localVarUrlObj, localVarQueryParameter);
96439575
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96449576
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -10235,67 +10167,6 @@ export const SolutionApiAxiosParamCreator = function (configuration?: Configurat
1023510167
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1023610168
localVarRequestOptions.data = serializeDataIfNeeded(runTemplate, localVarRequestOptions, configuration)
1023710169

10238-
return {
10239-
url: toPathString(localVarUrlObj),
10240-
options: localVarRequestOptions,
10241-
};
10242-
},
10243-
/**
10244-
*
10245-
* @summary Upload a Run Template step handler zip file
10246-
* @param {string} organizationId the Organization identifier
10247-
* @param {string} solutionId the Solution identifier
10248-
* @param {string} runTemplateId the Run Template identifier
10249-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
10250-
* @param {File} body
10251-
* @param {boolean} [overwrite] whether to overwrite any existing handler resource
10252-
* @param {*} [options] Override http request option.
10253-
* @throws {RequiredError}
10254-
*/
10255-
uploadRunTemplateHandler: async (organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, body: File, overwrite?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10256-
// verify required parameter 'organizationId' is not null or undefined
10257-
assertParamExists('uploadRunTemplateHandler', 'organizationId', organizationId)
10258-
// verify required parameter 'solutionId' is not null or undefined
10259-
assertParamExists('uploadRunTemplateHandler', 'solutionId', solutionId)
10260-
// verify required parameter 'runTemplateId' is not null or undefined
10261-
assertParamExists('uploadRunTemplateHandler', 'runTemplateId', runTemplateId)
10262-
// verify required parameter 'handlerId' is not null or undefined
10263-
assertParamExists('uploadRunTemplateHandler', 'handlerId', handlerId)
10264-
// verify required parameter 'body' is not null or undefined
10265-
assertParamExists('uploadRunTemplateHandler', 'body', body)
10266-
const localVarPath = `/organizations/{organization_id}/solutions/{solution_id}/runtemplates/{run_template_id}/handlers/{handler_id}/upload`
10267-
.replace(`{${"organization_id"}}`, encodeURIComponent(String(organizationId)))
10268-
.replace(`{${"solution_id"}}`, encodeURIComponent(String(solutionId)))
10269-
.replace(`{${"run_template_id"}}`, encodeURIComponent(String(runTemplateId)))
10270-
.replace(`{${"handler_id"}}`, encodeURIComponent(String(handlerId)));
10271-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
10272-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10273-
let baseOptions;
10274-
if (configuration) {
10275-
baseOptions = configuration.baseOptions;
10276-
}
10277-
10278-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10279-
const localVarHeaderParameter = {} as any;
10280-
const localVarQueryParameter = {} as any;
10281-
10282-
// authentication oAuth2AuthCode required
10283-
// oauth required
10284-
await setOAuthToObject(localVarHeaderParameter, "oAuth2AuthCode", [], configuration)
10285-
10286-
if (overwrite !== undefined) {
10287-
localVarQueryParameter['overwrite'] = overwrite;
10288-
}
10289-
10290-
10291-
10292-
localVarHeaderParameter['Content-Type'] = 'application/octet-stream';
10293-
10294-
setSearchParams(localVarUrlObj, localVarQueryParameter);
10295-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10296-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10297-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
10298-
1029910170
return {
1030010171
url: toPathString(localVarUrlObj),
1030110172
options: localVarRequestOptions,
@@ -10414,22 +10285,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
1041410285
const localVarOperationServerBasePath = operationServerMap['SolutionApi.deleteSolutionRunTemplate']?.[localVarOperationServerIndex]?.url;
1041510286
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1041610287
},
10417-
/**
10418-
*
10419-
* @summary Download a Run Template step handler zip file
10420-
* @param {string} organizationId the Organization identifier
10421-
* @param {string} solutionId the Solution identifier
10422-
* @param {string} runTemplateId the Run Template identifier
10423-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
10424-
* @param {*} [options] Override http request option.
10425-
* @throws {RequiredError}
10426-
*/
10427-
async downloadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
10428-
const localVarAxiosArgs = await localVarAxiosParamCreator.downloadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, options);
10429-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10430-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.downloadRunTemplateHandler']?.[localVarOperationServerIndex]?.url;
10431-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10432-
},
1043310288
/**
1043410289
*
1043510290
* @summary List all Solutions
@@ -10621,24 +10476,6 @@ export const SolutionApiFp = function(configuration?: Configuration) {
1062110476
const localVarOperationServerBasePath = operationServerMap['SolutionApi.updateSolutionRunTemplate']?.[localVarOperationServerIndex]?.url;
1062210477
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1062310478
},
10624-
/**
10625-
*
10626-
* @summary Upload a Run Template step handler zip file
10627-
* @param {string} organizationId the Organization identifier
10628-
* @param {string} solutionId the Solution identifier
10629-
* @param {string} runTemplateId the Run Template identifier
10630-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
10631-
* @param {File} body
10632-
* @param {boolean} [overwrite] whether to overwrite any existing handler resource
10633-
* @param {*} [options] Override http request option.
10634-
* @throws {RequiredError}
10635-
*/
10636-
async uploadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, body: File, overwrite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10637-
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, body, overwrite, options);
10638-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10639-
const localVarOperationServerBasePath = operationServerMap['SolutionApi.uploadRunTemplateHandler']?.[localVarOperationServerIndex]?.url;
10640-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10641-
},
1064210479
}
1064310480
};
1064410481

@@ -10731,19 +10568,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
1073110568
deleteSolutionRunTemplate(organizationId: string, solutionId: string, runTemplateId: string, options?: any): AxiosPromise<void> {
1073210569
return localVarFp.deleteSolutionRunTemplate(organizationId, solutionId, runTemplateId, options).then((request) => request(axios, basePath));
1073310570
},
10734-
/**
10735-
*
10736-
* @summary Download a Run Template step handler zip file
10737-
* @param {string} organizationId the Organization identifier
10738-
* @param {string} solutionId the Solution identifier
10739-
* @param {string} runTemplateId the Run Template identifier
10740-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
10741-
* @param {*} [options] Override http request option.
10742-
* @throws {RequiredError}
10743-
*/
10744-
downloadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, options?: any): AxiosPromise<string> {
10745-
return localVarFp.downloadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, options).then((request) => request(axios, basePath));
10746-
},
1074710571
/**
1074810572
*
1074910573
* @summary List all Solutions
@@ -10896,21 +10720,6 @@ export const SolutionApiFactory = function (configuration?: Configuration, baseP
1089610720
updateSolutionRunTemplate(organizationId: string, solutionId: string, runTemplateId: string, runTemplate: RunTemplate, options?: any): AxiosPromise<Array<RunTemplate>> {
1089710721
return localVarFp.updateSolutionRunTemplate(organizationId, solutionId, runTemplateId, runTemplate, options).then((request) => request(axios, basePath));
1089810722
},
10899-
/**
10900-
*
10901-
* @summary Upload a Run Template step handler zip file
10902-
* @param {string} organizationId the Organization identifier
10903-
* @param {string} solutionId the Solution identifier
10904-
* @param {string} runTemplateId the Run Template identifier
10905-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
10906-
* @param {File} body
10907-
* @param {boolean} [overwrite] whether to overwrite any existing handler resource
10908-
* @param {*} [options] Override http request option.
10909-
* @throws {RequiredError}
10910-
*/
10911-
uploadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, body: File, overwrite?: boolean, options?: any): AxiosPromise<void> {
10912-
return localVarFp.uploadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, body, overwrite, options).then((request) => request(axios, basePath));
10913-
},
1091410723
};
1091510724
};
1091610725

@@ -11017,21 +10826,6 @@ export class SolutionApi extends BaseAPI {
1101710826
return SolutionApiFp(this.configuration).deleteSolutionRunTemplate(organizationId, solutionId, runTemplateId, options).then((request) => request(this.axios, this.basePath));
1101810827
}
1101910828

11020-
/**
11021-
*
11022-
* @summary Download a Run Template step handler zip file
11023-
* @param {string} organizationId the Organization identifier
11024-
* @param {string} solutionId the Solution identifier
11025-
* @param {string} runTemplateId the Run Template identifier
11026-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
11027-
* @param {*} [options] Override http request option.
11028-
* @throws {RequiredError}
11029-
* @memberof SolutionApi
11030-
*/
11031-
public downloadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, options?: RawAxiosRequestConfig) {
11032-
return SolutionApiFp(this.configuration).downloadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, options).then((request) => request(this.axios, this.basePath));
11033-
}
11034-
1103510829
/**
1103610830
*
1103710831
* @summary List all Solutions
@@ -11209,23 +11003,6 @@ export class SolutionApi extends BaseAPI {
1120911003
public updateSolutionRunTemplate(organizationId: string, solutionId: string, runTemplateId: string, runTemplate: RunTemplate, options?: RawAxiosRequestConfig) {
1121011004
return SolutionApiFp(this.configuration).updateSolutionRunTemplate(organizationId, solutionId, runTemplateId, runTemplate, options).then((request) => request(this.axios, this.basePath));
1121111005
}
11212-
11213-
/**
11214-
*
11215-
* @summary Upload a Run Template step handler zip file
11216-
* @param {string} organizationId the Organization identifier
11217-
* @param {string} solutionId the Solution identifier
11218-
* @param {string} runTemplateId the Run Template identifier
11219-
* @param {RunTemplateHandlerId} handlerId the Handler identifier
11220-
* @param {File} body
11221-
* @param {boolean} [overwrite] whether to overwrite any existing handler resource
11222-
* @param {*} [options] Override http request option.
11223-
* @throws {RequiredError}
11224-
* @memberof SolutionApi
11225-
*/
11226-
public uploadRunTemplateHandler(organizationId: string, solutionId: string, runTemplateId: string, handlerId: RunTemplateHandlerId, body: File, overwrite?: boolean, options?: RawAxiosRequestConfig) {
11227-
return SolutionApiFp(this.configuration).uploadRunTemplateHandler(organizationId, solutionId, runTemplateId, handlerId, body, overwrite, options).then((request) => request(this.axios, this.basePath));
11228-
}
1122911006
}
1123011007

1123111008

0 commit comments

Comments
 (0)