qovery-typescript-axios 1.1.593 → 1.1.595
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/api.ts +456 -0
- package/dist/api.d.ts +255 -0
- package/dist/api.js +349 -1
- package/dist/esm/api.d.ts +255 -0
- package/dist/esm/api.js +344 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -16913,6 +16913,91 @@ export interface TerraformAdvancedSettings {
|
|
|
16913
16913
|
*/
|
|
16914
16914
|
'security.read_only_root_filesystem'?: boolean;
|
|
16915
16915
|
}
|
|
16916
|
+
/**
|
|
16917
|
+
*
|
|
16918
|
+
* @export
|
|
16919
|
+
* @interface TerraformDeploymentRestrictionRequest
|
|
16920
|
+
*/
|
|
16921
|
+
export interface TerraformDeploymentRestrictionRequest {
|
|
16922
|
+
/**
|
|
16923
|
+
*
|
|
16924
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
16925
|
+
* @memberof TerraformDeploymentRestrictionRequest
|
|
16926
|
+
*/
|
|
16927
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
16928
|
+
/**
|
|
16929
|
+
*
|
|
16930
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
16931
|
+
* @memberof TerraformDeploymentRestrictionRequest
|
|
16932
|
+
*/
|
|
16933
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
16934
|
+
/**
|
|
16935
|
+
* ‘For `PATH` restrictions, the value must not start with `/`’
|
|
16936
|
+
* @type {string}
|
|
16937
|
+
* @memberof TerraformDeploymentRestrictionRequest
|
|
16938
|
+
*/
|
|
16939
|
+
'value'?: string;
|
|
16940
|
+
}
|
|
16941
|
+
|
|
16942
|
+
|
|
16943
|
+
/**
|
|
16944
|
+
*
|
|
16945
|
+
* @export
|
|
16946
|
+
* @interface TerraformDeploymentRestrictionResponse
|
|
16947
|
+
*/
|
|
16948
|
+
export interface TerraformDeploymentRestrictionResponse {
|
|
16949
|
+
/**
|
|
16950
|
+
*
|
|
16951
|
+
* @type {string}
|
|
16952
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16953
|
+
*/
|
|
16954
|
+
'id': string;
|
|
16955
|
+
/**
|
|
16956
|
+
*
|
|
16957
|
+
* @type {string}
|
|
16958
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16959
|
+
*/
|
|
16960
|
+
'created_at': string;
|
|
16961
|
+
/**
|
|
16962
|
+
*
|
|
16963
|
+
* @type {string}
|
|
16964
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16965
|
+
*/
|
|
16966
|
+
'updated_at'?: string;
|
|
16967
|
+
/**
|
|
16968
|
+
*
|
|
16969
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
16970
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16971
|
+
*/
|
|
16972
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
16973
|
+
/**
|
|
16974
|
+
*
|
|
16975
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
16976
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16977
|
+
*/
|
|
16978
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
16979
|
+
/**
|
|
16980
|
+
* ‘For `PATH` restrictions, the value must not start with `/`’
|
|
16981
|
+
* @type {string}
|
|
16982
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16983
|
+
*/
|
|
16984
|
+
'value'?: string;
|
|
16985
|
+
}
|
|
16986
|
+
|
|
16987
|
+
|
|
16988
|
+
/**
|
|
16989
|
+
*
|
|
16990
|
+
* @export
|
|
16991
|
+
* @interface TerraformDeploymentRestrictionResponseList
|
|
16992
|
+
*/
|
|
16993
|
+
export interface TerraformDeploymentRestrictionResponseList {
|
|
16994
|
+
/**
|
|
16995
|
+
*
|
|
16996
|
+
* @type {Array<TerraformDeploymentRestrictionResponse>}
|
|
16997
|
+
* @memberof TerraformDeploymentRestrictionResponseList
|
|
16998
|
+
*/
|
|
16999
|
+
'results'?: Array<TerraformDeploymentRestrictionResponse>;
|
|
17000
|
+
}
|
|
16916
17001
|
/**
|
|
16917
17002
|
*
|
|
16918
17003
|
* @export
|
|
@@ -56851,6 +56936,377 @@ export class TerraformDeploymentHistoryApi extends BaseAPI {
|
|
|
56851
56936
|
|
|
56852
56937
|
|
|
56853
56938
|
|
|
56939
|
+
/**
|
|
56940
|
+
* TerraformDeploymentRestrictionApi - axios parameter creator
|
|
56941
|
+
* @export
|
|
56942
|
+
*/
|
|
56943
|
+
export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
56944
|
+
return {
|
|
56945
|
+
/**
|
|
56946
|
+
* Create a terraform deployment restriction
|
|
56947
|
+
* @summary Create a terraform deployment restriction
|
|
56948
|
+
* @param {string} terraformId Terraform ID
|
|
56949
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
56950
|
+
* @param {*} [options] Override http request option.
|
|
56951
|
+
* @throws {RequiredError}
|
|
56952
|
+
*/
|
|
56953
|
+
createTerraformDeploymentRestriction: async (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56954
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
56955
|
+
assertParamExists('createTerraformDeploymentRestriction', 'terraformId', terraformId)
|
|
56956
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction`
|
|
56957
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
56958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56960
|
+
let baseOptions;
|
|
56961
|
+
if (configuration) {
|
|
56962
|
+
baseOptions = configuration.baseOptions;
|
|
56963
|
+
}
|
|
56964
|
+
|
|
56965
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
56966
|
+
const localVarHeaderParameter = {} as any;
|
|
56967
|
+
const localVarQueryParameter = {} as any;
|
|
56968
|
+
|
|
56969
|
+
// authentication ApiKeyAuth required
|
|
56970
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
56971
|
+
|
|
56972
|
+
// authentication bearerAuth required
|
|
56973
|
+
// http bearer authentication required
|
|
56974
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56975
|
+
|
|
56976
|
+
|
|
56977
|
+
|
|
56978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56979
|
+
|
|
56980
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56982
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56983
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
56984
|
+
|
|
56985
|
+
return {
|
|
56986
|
+
url: toPathString(localVarUrlObj),
|
|
56987
|
+
options: localVarRequestOptions,
|
|
56988
|
+
};
|
|
56989
|
+
},
|
|
56990
|
+
/**
|
|
56991
|
+
* Delete a terraform deployment restriction
|
|
56992
|
+
* @summary Delete a terraform deployment restriction
|
|
56993
|
+
* @param {string} terraformId Terraform ID
|
|
56994
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
56995
|
+
* @param {*} [options] Override http request option.
|
|
56996
|
+
* @throws {RequiredError}
|
|
56997
|
+
*/
|
|
56998
|
+
deleteTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56999
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57000
|
+
assertParamExists('deleteTerraformDeploymentRestriction', 'terraformId', terraformId)
|
|
57001
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
57002
|
+
assertParamExists('deleteTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
57003
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
57004
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
57005
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
57006
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57007
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57008
|
+
let baseOptions;
|
|
57009
|
+
if (configuration) {
|
|
57010
|
+
baseOptions = configuration.baseOptions;
|
|
57011
|
+
}
|
|
57012
|
+
|
|
57013
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
57014
|
+
const localVarHeaderParameter = {} as any;
|
|
57015
|
+
const localVarQueryParameter = {} as any;
|
|
57016
|
+
|
|
57017
|
+
// authentication ApiKeyAuth required
|
|
57018
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57019
|
+
|
|
57020
|
+
// authentication bearerAuth required
|
|
57021
|
+
// http bearer authentication required
|
|
57022
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57023
|
+
|
|
57024
|
+
|
|
57025
|
+
|
|
57026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57028
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57029
|
+
|
|
57030
|
+
return {
|
|
57031
|
+
url: toPathString(localVarUrlObj),
|
|
57032
|
+
options: localVarRequestOptions,
|
|
57033
|
+
};
|
|
57034
|
+
},
|
|
57035
|
+
/**
|
|
57036
|
+
* Edit a terraform deployment restriction
|
|
57037
|
+
* @summary Edit a terraform deployment restriction
|
|
57038
|
+
* @param {string} terraformId Terraform ID
|
|
57039
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57040
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57041
|
+
* @param {*} [options] Override http request option.
|
|
57042
|
+
* @throws {RequiredError}
|
|
57043
|
+
*/
|
|
57044
|
+
editTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57045
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57046
|
+
assertParamExists('editTerraformDeploymentRestriction', 'terraformId', terraformId)
|
|
57047
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
57048
|
+
assertParamExists('editTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
|
|
57049
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
57050
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
57051
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
57052
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57053
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57054
|
+
let baseOptions;
|
|
57055
|
+
if (configuration) {
|
|
57056
|
+
baseOptions = configuration.baseOptions;
|
|
57057
|
+
}
|
|
57058
|
+
|
|
57059
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
57060
|
+
const localVarHeaderParameter = {} as any;
|
|
57061
|
+
const localVarQueryParameter = {} as any;
|
|
57062
|
+
|
|
57063
|
+
// authentication ApiKeyAuth required
|
|
57064
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57065
|
+
|
|
57066
|
+
// authentication bearerAuth required
|
|
57067
|
+
// http bearer authentication required
|
|
57068
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57069
|
+
|
|
57070
|
+
|
|
57071
|
+
|
|
57072
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57073
|
+
|
|
57074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57076
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57077
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration)
|
|
57078
|
+
|
|
57079
|
+
return {
|
|
57080
|
+
url: toPathString(localVarUrlObj),
|
|
57081
|
+
options: localVarRequestOptions,
|
|
57082
|
+
};
|
|
57083
|
+
},
|
|
57084
|
+
/**
|
|
57085
|
+
* Get terraform deployment restrictions
|
|
57086
|
+
* @summary Get terraform deployment restrictions
|
|
57087
|
+
* @param {string} terraformId Terraform ID
|
|
57088
|
+
* @param {*} [options] Override http request option.
|
|
57089
|
+
* @throws {RequiredError}
|
|
57090
|
+
*/
|
|
57091
|
+
getTerraformDeploymentRestrictions: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57092
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57093
|
+
assertParamExists('getTerraformDeploymentRestrictions', 'terraformId', terraformId)
|
|
57094
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction`
|
|
57095
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
57096
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57097
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57098
|
+
let baseOptions;
|
|
57099
|
+
if (configuration) {
|
|
57100
|
+
baseOptions = configuration.baseOptions;
|
|
57101
|
+
}
|
|
57102
|
+
|
|
57103
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
57104
|
+
const localVarHeaderParameter = {} as any;
|
|
57105
|
+
const localVarQueryParameter = {} as any;
|
|
57106
|
+
|
|
57107
|
+
// authentication ApiKeyAuth required
|
|
57108
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57109
|
+
|
|
57110
|
+
// authentication bearerAuth required
|
|
57111
|
+
// http bearer authentication required
|
|
57112
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57113
|
+
|
|
57114
|
+
|
|
57115
|
+
|
|
57116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57117
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57118
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57119
|
+
|
|
57120
|
+
return {
|
|
57121
|
+
url: toPathString(localVarUrlObj),
|
|
57122
|
+
options: localVarRequestOptions,
|
|
57123
|
+
};
|
|
57124
|
+
},
|
|
57125
|
+
}
|
|
57126
|
+
};
|
|
57127
|
+
|
|
57128
|
+
/**
|
|
57129
|
+
* TerraformDeploymentRestrictionApi - functional programming interface
|
|
57130
|
+
* @export
|
|
57131
|
+
*/
|
|
57132
|
+
export const TerraformDeploymentRestrictionApiFp = function(configuration?: Configuration) {
|
|
57133
|
+
const localVarAxiosParamCreator = TerraformDeploymentRestrictionApiAxiosParamCreator(configuration)
|
|
57134
|
+
return {
|
|
57135
|
+
/**
|
|
57136
|
+
* Create a terraform deployment restriction
|
|
57137
|
+
* @summary Create a terraform deployment restriction
|
|
57138
|
+
* @param {string} terraformId Terraform ID
|
|
57139
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57140
|
+
* @param {*} [options] Override http request option.
|
|
57141
|
+
* @throws {RequiredError}
|
|
57142
|
+
*/
|
|
57143
|
+
async createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
57144
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options);
|
|
57145
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57146
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.createTerraformDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
57147
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57148
|
+
},
|
|
57149
|
+
/**
|
|
57150
|
+
* Delete a terraform deployment restriction
|
|
57151
|
+
* @summary Delete a terraform deployment restriction
|
|
57152
|
+
* @param {string} terraformId Terraform ID
|
|
57153
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57154
|
+
* @param {*} [options] Override http request option.
|
|
57155
|
+
* @throws {RequiredError}
|
|
57156
|
+
*/
|
|
57157
|
+
async deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
57158
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options);
|
|
57159
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57160
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.deleteTerraformDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
57161
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57162
|
+
},
|
|
57163
|
+
/**
|
|
57164
|
+
* Edit a terraform deployment restriction
|
|
57165
|
+
* @summary Edit a terraform deployment restriction
|
|
57166
|
+
* @param {string} terraformId Terraform ID
|
|
57167
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57168
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57169
|
+
* @param {*} [options] Override http request option.
|
|
57170
|
+
* @throws {RequiredError}
|
|
57171
|
+
*/
|
|
57172
|
+
async editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
|
|
57173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options);
|
|
57174
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57175
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.editTerraformDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
|
|
57176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57177
|
+
},
|
|
57178
|
+
/**
|
|
57179
|
+
* Get terraform deployment restrictions
|
|
57180
|
+
* @summary Get terraform deployment restrictions
|
|
57181
|
+
* @param {string} terraformId Terraform ID
|
|
57182
|
+
* @param {*} [options] Override http request option.
|
|
57183
|
+
* @throws {RequiredError}
|
|
57184
|
+
*/
|
|
57185
|
+
async getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponseList>> {
|
|
57186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getTerraformDeploymentRestrictions(terraformId, options);
|
|
57187
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57188
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformDeploymentRestrictionApi.getTerraformDeploymentRestrictions']?.[localVarOperationServerIndex]?.url;
|
|
57189
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57190
|
+
},
|
|
57191
|
+
}
|
|
57192
|
+
};
|
|
57193
|
+
|
|
57194
|
+
/**
|
|
57195
|
+
* TerraformDeploymentRestrictionApi - factory interface
|
|
57196
|
+
* @export
|
|
57197
|
+
*/
|
|
57198
|
+
export const TerraformDeploymentRestrictionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
57199
|
+
const localVarFp = TerraformDeploymentRestrictionApiFp(configuration)
|
|
57200
|
+
return {
|
|
57201
|
+
/**
|
|
57202
|
+
* Create a terraform deployment restriction
|
|
57203
|
+
* @summary Create a terraform deployment restriction
|
|
57204
|
+
* @param {string} terraformId Terraform ID
|
|
57205
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57206
|
+
* @param {*} [options] Override http request option.
|
|
57207
|
+
* @throws {RequiredError}
|
|
57208
|
+
*/
|
|
57209
|
+
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
57210
|
+
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
57211
|
+
},
|
|
57212
|
+
/**
|
|
57213
|
+
* Delete a terraform deployment restriction
|
|
57214
|
+
* @summary Delete a terraform deployment restriction
|
|
57215
|
+
* @param {string} terraformId Terraform ID
|
|
57216
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57217
|
+
* @param {*} [options] Override http request option.
|
|
57218
|
+
* @throws {RequiredError}
|
|
57219
|
+
*/
|
|
57220
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
57221
|
+
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
57222
|
+
},
|
|
57223
|
+
/**
|
|
57224
|
+
* Edit a terraform deployment restriction
|
|
57225
|
+
* @summary Edit a terraform deployment restriction
|
|
57226
|
+
* @param {string} terraformId Terraform ID
|
|
57227
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57228
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57229
|
+
* @param {*} [options] Override http request option.
|
|
57230
|
+
* @throws {RequiredError}
|
|
57231
|
+
*/
|
|
57232
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
|
|
57233
|
+
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
57234
|
+
},
|
|
57235
|
+
/**
|
|
57236
|
+
* Get terraform deployment restrictions
|
|
57237
|
+
* @summary Get terraform deployment restrictions
|
|
57238
|
+
* @param {string} terraformId Terraform ID
|
|
57239
|
+
* @param {*} [options] Override http request option.
|
|
57240
|
+
* @throws {RequiredError}
|
|
57241
|
+
*/
|
|
57242
|
+
getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponseList> {
|
|
57243
|
+
return localVarFp.getTerraformDeploymentRestrictions(terraformId, options).then((request) => request(axios, basePath));
|
|
57244
|
+
},
|
|
57245
|
+
};
|
|
57246
|
+
};
|
|
57247
|
+
|
|
57248
|
+
/**
|
|
57249
|
+
* TerraformDeploymentRestrictionApi - object-oriented interface
|
|
57250
|
+
* @export
|
|
57251
|
+
* @class TerraformDeploymentRestrictionApi
|
|
57252
|
+
* @extends {BaseAPI}
|
|
57253
|
+
*/
|
|
57254
|
+
export class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
57255
|
+
/**
|
|
57256
|
+
* Create a terraform deployment restriction
|
|
57257
|
+
* @summary Create a terraform deployment restriction
|
|
57258
|
+
* @param {string} terraformId Terraform ID
|
|
57259
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57260
|
+
* @param {*} [options] Override http request option.
|
|
57261
|
+
* @throws {RequiredError}
|
|
57262
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
57263
|
+
*/
|
|
57264
|
+
public createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
57265
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
57266
|
+
}
|
|
57267
|
+
|
|
57268
|
+
/**
|
|
57269
|
+
* Delete a terraform deployment restriction
|
|
57270
|
+
* @summary Delete a terraform deployment restriction
|
|
57271
|
+
* @param {string} terraformId Terraform ID
|
|
57272
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57273
|
+
* @param {*} [options] Override http request option.
|
|
57274
|
+
* @throws {RequiredError}
|
|
57275
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
57276
|
+
*/
|
|
57277
|
+
public deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) {
|
|
57278
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
57279
|
+
}
|
|
57280
|
+
|
|
57281
|
+
/**
|
|
57282
|
+
* Edit a terraform deployment restriction
|
|
57283
|
+
* @summary Edit a terraform deployment restriction
|
|
57284
|
+
* @param {string} terraformId Terraform ID
|
|
57285
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
57286
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
57287
|
+
* @param {*} [options] Override http request option.
|
|
57288
|
+
* @throws {RequiredError}
|
|
57289
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
57290
|
+
*/
|
|
57291
|
+
public editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
|
|
57292
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
57293
|
+
}
|
|
57294
|
+
|
|
57295
|
+
/**
|
|
57296
|
+
* Get terraform deployment restrictions
|
|
57297
|
+
* @summary Get terraform deployment restrictions
|
|
57298
|
+
* @param {string} terraformId Terraform ID
|
|
57299
|
+
* @param {*} [options] Override http request option.
|
|
57300
|
+
* @throws {RequiredError}
|
|
57301
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
57302
|
+
*/
|
|
57303
|
+
public getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
57304
|
+
return TerraformDeploymentRestrictionApiFp(this.configuration).getTerraformDeploymentRestrictions(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
57305
|
+
}
|
|
57306
|
+
}
|
|
57307
|
+
|
|
57308
|
+
|
|
57309
|
+
|
|
56854
57310
|
/**
|
|
56855
57311
|
* TerraformMainCallsApi - axios parameter creator
|
|
56856
57312
|
* @export
|