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/dist/api.d.ts
CHANGED
|
@@ -16351,6 +16351,87 @@ export interface TerraformAdvancedSettings {
|
|
|
16351
16351
|
*/
|
|
16352
16352
|
'security.read_only_root_filesystem'?: boolean;
|
|
16353
16353
|
}
|
|
16354
|
+
/**
|
|
16355
|
+
*
|
|
16356
|
+
* @export
|
|
16357
|
+
* @interface TerraformDeploymentRestrictionRequest
|
|
16358
|
+
*/
|
|
16359
|
+
export interface TerraformDeploymentRestrictionRequest {
|
|
16360
|
+
/**
|
|
16361
|
+
*
|
|
16362
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
16363
|
+
* @memberof TerraformDeploymentRestrictionRequest
|
|
16364
|
+
*/
|
|
16365
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
16366
|
+
/**
|
|
16367
|
+
*
|
|
16368
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
16369
|
+
* @memberof TerraformDeploymentRestrictionRequest
|
|
16370
|
+
*/
|
|
16371
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
16372
|
+
/**
|
|
16373
|
+
* ‘For `PATH` restrictions, the value must not start with `/`’
|
|
16374
|
+
* @type {string}
|
|
16375
|
+
* @memberof TerraformDeploymentRestrictionRequest
|
|
16376
|
+
*/
|
|
16377
|
+
'value'?: string;
|
|
16378
|
+
}
|
|
16379
|
+
/**
|
|
16380
|
+
*
|
|
16381
|
+
* @export
|
|
16382
|
+
* @interface TerraformDeploymentRestrictionResponse
|
|
16383
|
+
*/
|
|
16384
|
+
export interface TerraformDeploymentRestrictionResponse {
|
|
16385
|
+
/**
|
|
16386
|
+
*
|
|
16387
|
+
* @type {string}
|
|
16388
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16389
|
+
*/
|
|
16390
|
+
'id': string;
|
|
16391
|
+
/**
|
|
16392
|
+
*
|
|
16393
|
+
* @type {string}
|
|
16394
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16395
|
+
*/
|
|
16396
|
+
'created_at': string;
|
|
16397
|
+
/**
|
|
16398
|
+
*
|
|
16399
|
+
* @type {string}
|
|
16400
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16401
|
+
*/
|
|
16402
|
+
'updated_at'?: string;
|
|
16403
|
+
/**
|
|
16404
|
+
*
|
|
16405
|
+
* @type {DeploymentRestrictionModeEnum}
|
|
16406
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16407
|
+
*/
|
|
16408
|
+
'mode': DeploymentRestrictionModeEnum;
|
|
16409
|
+
/**
|
|
16410
|
+
*
|
|
16411
|
+
* @type {DeploymentRestrictionTypeEnum}
|
|
16412
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16413
|
+
*/
|
|
16414
|
+
'type': DeploymentRestrictionTypeEnum;
|
|
16415
|
+
/**
|
|
16416
|
+
* ‘For `PATH` restrictions, the value must not start with `/`’
|
|
16417
|
+
* @type {string}
|
|
16418
|
+
* @memberof TerraformDeploymentRestrictionResponse
|
|
16419
|
+
*/
|
|
16420
|
+
'value'?: string;
|
|
16421
|
+
}
|
|
16422
|
+
/**
|
|
16423
|
+
*
|
|
16424
|
+
* @export
|
|
16425
|
+
* @interface TerraformDeploymentRestrictionResponseList
|
|
16426
|
+
*/
|
|
16427
|
+
export interface TerraformDeploymentRestrictionResponseList {
|
|
16428
|
+
/**
|
|
16429
|
+
*
|
|
16430
|
+
* @type {Array<TerraformDeploymentRestrictionResponse>}
|
|
16431
|
+
* @memberof TerraformDeploymentRestrictionResponseList
|
|
16432
|
+
*/
|
|
16433
|
+
'results'?: Array<TerraformDeploymentRestrictionResponse>;
|
|
16434
|
+
}
|
|
16354
16435
|
/**
|
|
16355
16436
|
*
|
|
16356
16437
|
* @export
|
|
@@ -35284,6 +35365,180 @@ export declare class TerraformDeploymentHistoryApi extends BaseAPI {
|
|
|
35284
35365
|
*/
|
|
35285
35366
|
listTerraformDeploymentHistoryV2(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeploymentHistoryServicePaginatedResponseListV2, any>>;
|
|
35286
35367
|
}
|
|
35368
|
+
/**
|
|
35369
|
+
* TerraformDeploymentRestrictionApi - axios parameter creator
|
|
35370
|
+
* @export
|
|
35371
|
+
*/
|
|
35372
|
+
export declare const TerraformDeploymentRestrictionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35373
|
+
/**
|
|
35374
|
+
* Create a terraform deployment restriction
|
|
35375
|
+
* @summary Create a terraform deployment restriction
|
|
35376
|
+
* @param {string} terraformId Terraform ID
|
|
35377
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35378
|
+
* @param {*} [options] Override http request option.
|
|
35379
|
+
* @throws {RequiredError}
|
|
35380
|
+
*/
|
|
35381
|
+
createTerraformDeploymentRestriction: (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35382
|
+
/**
|
|
35383
|
+
* Delete a terraform deployment restriction
|
|
35384
|
+
* @summary Delete a terraform deployment restriction
|
|
35385
|
+
* @param {string} terraformId Terraform ID
|
|
35386
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35387
|
+
* @param {*} [options] Override http request option.
|
|
35388
|
+
* @throws {RequiredError}
|
|
35389
|
+
*/
|
|
35390
|
+
deleteTerraformDeploymentRestriction: (terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35391
|
+
/**
|
|
35392
|
+
* Edit a terraform deployment restriction
|
|
35393
|
+
* @summary Edit a terraform deployment restriction
|
|
35394
|
+
* @param {string} terraformId Terraform ID
|
|
35395
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35396
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35397
|
+
* @param {*} [options] Override http request option.
|
|
35398
|
+
* @throws {RequiredError}
|
|
35399
|
+
*/
|
|
35400
|
+
editTerraformDeploymentRestriction: (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35401
|
+
/**
|
|
35402
|
+
* Get terraform deployment restrictions
|
|
35403
|
+
* @summary Get terraform deployment restrictions
|
|
35404
|
+
* @param {string} terraformId Terraform ID
|
|
35405
|
+
* @param {*} [options] Override http request option.
|
|
35406
|
+
* @throws {RequiredError}
|
|
35407
|
+
*/
|
|
35408
|
+
getTerraformDeploymentRestrictions: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35409
|
+
};
|
|
35410
|
+
/**
|
|
35411
|
+
* TerraformDeploymentRestrictionApi - functional programming interface
|
|
35412
|
+
* @export
|
|
35413
|
+
*/
|
|
35414
|
+
export declare const TerraformDeploymentRestrictionApiFp: (configuration?: Configuration) => {
|
|
35415
|
+
/**
|
|
35416
|
+
* Create a terraform deployment restriction
|
|
35417
|
+
* @summary Create a terraform deployment restriction
|
|
35418
|
+
* @param {string} terraformId Terraform ID
|
|
35419
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35420
|
+
* @param {*} [options] Override http request option.
|
|
35421
|
+
* @throws {RequiredError}
|
|
35422
|
+
*/
|
|
35423
|
+
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>>;
|
|
35424
|
+
/**
|
|
35425
|
+
* Delete a terraform deployment restriction
|
|
35426
|
+
* @summary Delete a terraform deployment restriction
|
|
35427
|
+
* @param {string} terraformId Terraform ID
|
|
35428
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35429
|
+
* @param {*} [options] Override http request option.
|
|
35430
|
+
* @throws {RequiredError}
|
|
35431
|
+
*/
|
|
35432
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
35433
|
+
/**
|
|
35434
|
+
* Edit a terraform deployment restriction
|
|
35435
|
+
* @summary Edit a terraform deployment restriction
|
|
35436
|
+
* @param {string} terraformId Terraform ID
|
|
35437
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35438
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35439
|
+
* @param {*} [options] Override http request option.
|
|
35440
|
+
* @throws {RequiredError}
|
|
35441
|
+
*/
|
|
35442
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>>;
|
|
35443
|
+
/**
|
|
35444
|
+
* Get terraform deployment restrictions
|
|
35445
|
+
* @summary Get terraform deployment restrictions
|
|
35446
|
+
* @param {string} terraformId Terraform ID
|
|
35447
|
+
* @param {*} [options] Override http request option.
|
|
35448
|
+
* @throws {RequiredError}
|
|
35449
|
+
*/
|
|
35450
|
+
getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponseList>>;
|
|
35451
|
+
};
|
|
35452
|
+
/**
|
|
35453
|
+
* TerraformDeploymentRestrictionApi - factory interface
|
|
35454
|
+
* @export
|
|
35455
|
+
*/
|
|
35456
|
+
export declare const TerraformDeploymentRestrictionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
35457
|
+
/**
|
|
35458
|
+
* Create a terraform deployment restriction
|
|
35459
|
+
* @summary Create a terraform deployment restriction
|
|
35460
|
+
* @param {string} terraformId Terraform ID
|
|
35461
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35462
|
+
* @param {*} [options] Override http request option.
|
|
35463
|
+
* @throws {RequiredError}
|
|
35464
|
+
*/
|
|
35465
|
+
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse>;
|
|
35466
|
+
/**
|
|
35467
|
+
* Delete a terraform deployment restriction
|
|
35468
|
+
* @summary Delete a terraform deployment restriction
|
|
35469
|
+
* @param {string} terraformId Terraform ID
|
|
35470
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35471
|
+
* @param {*} [options] Override http request option.
|
|
35472
|
+
* @throws {RequiredError}
|
|
35473
|
+
*/
|
|
35474
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
35475
|
+
/**
|
|
35476
|
+
* Edit a terraform deployment restriction
|
|
35477
|
+
* @summary Edit a terraform deployment restriction
|
|
35478
|
+
* @param {string} terraformId Terraform ID
|
|
35479
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35480
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35481
|
+
* @param {*} [options] Override http request option.
|
|
35482
|
+
* @throws {RequiredError}
|
|
35483
|
+
*/
|
|
35484
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse>;
|
|
35485
|
+
/**
|
|
35486
|
+
* Get terraform deployment restrictions
|
|
35487
|
+
* @summary Get terraform deployment restrictions
|
|
35488
|
+
* @param {string} terraformId Terraform ID
|
|
35489
|
+
* @param {*} [options] Override http request option.
|
|
35490
|
+
* @throws {RequiredError}
|
|
35491
|
+
*/
|
|
35492
|
+
getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponseList>;
|
|
35493
|
+
};
|
|
35494
|
+
/**
|
|
35495
|
+
* TerraformDeploymentRestrictionApi - object-oriented interface
|
|
35496
|
+
* @export
|
|
35497
|
+
* @class TerraformDeploymentRestrictionApi
|
|
35498
|
+
* @extends {BaseAPI}
|
|
35499
|
+
*/
|
|
35500
|
+
export declare class TerraformDeploymentRestrictionApi extends BaseAPI {
|
|
35501
|
+
/**
|
|
35502
|
+
* Create a terraform deployment restriction
|
|
35503
|
+
* @summary Create a terraform deployment restriction
|
|
35504
|
+
* @param {string} terraformId Terraform ID
|
|
35505
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35506
|
+
* @param {*} [options] Override http request option.
|
|
35507
|
+
* @throws {RequiredError}
|
|
35508
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35509
|
+
*/
|
|
35510
|
+
createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponse, any>>;
|
|
35511
|
+
/**
|
|
35512
|
+
* Delete a terraform deployment restriction
|
|
35513
|
+
* @summary Delete a terraform deployment restriction
|
|
35514
|
+
* @param {string} terraformId Terraform ID
|
|
35515
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35516
|
+
* @param {*} [options] Override http request option.
|
|
35517
|
+
* @throws {RequiredError}
|
|
35518
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35519
|
+
*/
|
|
35520
|
+
deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
35521
|
+
/**
|
|
35522
|
+
* Edit a terraform deployment restriction
|
|
35523
|
+
* @summary Edit a terraform deployment restriction
|
|
35524
|
+
* @param {string} terraformId Terraform ID
|
|
35525
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
35526
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
35527
|
+
* @param {*} [options] Override http request option.
|
|
35528
|
+
* @throws {RequiredError}
|
|
35529
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35530
|
+
*/
|
|
35531
|
+
editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponse, any>>;
|
|
35532
|
+
/**
|
|
35533
|
+
* Get terraform deployment restrictions
|
|
35534
|
+
* @summary Get terraform deployment restrictions
|
|
35535
|
+
* @param {string} terraformId Terraform ID
|
|
35536
|
+
* @param {*} [options] Override http request option.
|
|
35537
|
+
* @throws {RequiredError}
|
|
35538
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
35539
|
+
*/
|
|
35540
|
+
getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TerraformDeploymentRestrictionResponseList, any>>;
|
|
35541
|
+
}
|
|
35287
35542
|
/**
|
|
35288
35543
|
* TerraformMainCallsApi - axios parameter creator
|
|
35289
35544
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -30,7 +30,7 @@ exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.Env
|
|
|
30
30
|
exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = void 0;
|
|
31
31
|
exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = void 0;
|
|
32
32
|
exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = void 0;
|
|
33
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = void 0;
|
|
33
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = void 0;
|
|
34
34
|
const axios_1 = require("axios");
|
|
35
35
|
// Some imports not used depending on template conditions
|
|
36
36
|
// @ts-ignore
|
|
@@ -37439,6 +37439,354 @@ class TerraformDeploymentHistoryApi extends base_1.BaseAPI {
|
|
|
37439
37439
|
}
|
|
37440
37440
|
}
|
|
37441
37441
|
exports.TerraformDeploymentHistoryApi = TerraformDeploymentHistoryApi;
|
|
37442
|
+
/**
|
|
37443
|
+
* TerraformDeploymentRestrictionApi - axios parameter creator
|
|
37444
|
+
* @export
|
|
37445
|
+
*/
|
|
37446
|
+
const TerraformDeploymentRestrictionApiAxiosParamCreator = function (configuration) {
|
|
37447
|
+
return {
|
|
37448
|
+
/**
|
|
37449
|
+
* Create a terraform deployment restriction
|
|
37450
|
+
* @summary Create a terraform deployment restriction
|
|
37451
|
+
* @param {string} terraformId Terraform ID
|
|
37452
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37453
|
+
* @param {*} [options] Override http request option.
|
|
37454
|
+
* @throws {RequiredError}
|
|
37455
|
+
*/
|
|
37456
|
+
createTerraformDeploymentRestriction: (terraformId_1, terraformDeploymentRestrictionRequest_1, ...args_1) => __awaiter(this, [terraformId_1, terraformDeploymentRestrictionRequest_1, ...args_1], void 0, function* (terraformId, terraformDeploymentRestrictionRequest, options = {}) {
|
|
37457
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37458
|
+
(0, common_1.assertParamExists)('createTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37459
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction`
|
|
37460
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
37461
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37462
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37463
|
+
let baseOptions;
|
|
37464
|
+
if (configuration) {
|
|
37465
|
+
baseOptions = configuration.baseOptions;
|
|
37466
|
+
}
|
|
37467
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
37468
|
+
const localVarHeaderParameter = {};
|
|
37469
|
+
const localVarQueryParameter = {};
|
|
37470
|
+
// authentication ApiKeyAuth required
|
|
37471
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37472
|
+
// authentication bearerAuth required
|
|
37473
|
+
// http bearer authentication required
|
|
37474
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37475
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37476
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37477
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37478
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37479
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration);
|
|
37480
|
+
return {
|
|
37481
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37482
|
+
options: localVarRequestOptions,
|
|
37483
|
+
};
|
|
37484
|
+
}),
|
|
37485
|
+
/**
|
|
37486
|
+
* Delete a terraform deployment restriction
|
|
37487
|
+
* @summary Delete a terraform deployment restriction
|
|
37488
|
+
* @param {string} terraformId Terraform ID
|
|
37489
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37490
|
+
* @param {*} [options] Override http request option.
|
|
37491
|
+
* @throws {RequiredError}
|
|
37492
|
+
*/
|
|
37493
|
+
deleteTerraformDeploymentRestriction: (terraformId_1, deploymentRestrictionId_1, ...args_1) => __awaiter(this, [terraformId_1, deploymentRestrictionId_1, ...args_1], void 0, function* (terraformId, deploymentRestrictionId, options = {}) {
|
|
37494
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37495
|
+
(0, common_1.assertParamExists)('deleteTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37496
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
37497
|
+
(0, common_1.assertParamExists)('deleteTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
37498
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
37499
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
37500
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
37501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37502
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37503
|
+
let baseOptions;
|
|
37504
|
+
if (configuration) {
|
|
37505
|
+
baseOptions = configuration.baseOptions;
|
|
37506
|
+
}
|
|
37507
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
37508
|
+
const localVarHeaderParameter = {};
|
|
37509
|
+
const localVarQueryParameter = {};
|
|
37510
|
+
// authentication ApiKeyAuth required
|
|
37511
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37512
|
+
// authentication bearerAuth required
|
|
37513
|
+
// http bearer authentication required
|
|
37514
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37515
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37517
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37518
|
+
return {
|
|
37519
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37520
|
+
options: localVarRequestOptions,
|
|
37521
|
+
};
|
|
37522
|
+
}),
|
|
37523
|
+
/**
|
|
37524
|
+
* Edit a terraform deployment restriction
|
|
37525
|
+
* @summary Edit a terraform deployment restriction
|
|
37526
|
+
* @param {string} terraformId Terraform ID
|
|
37527
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37528
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37529
|
+
* @param {*} [options] Override http request option.
|
|
37530
|
+
* @throws {RequiredError}
|
|
37531
|
+
*/
|
|
37532
|
+
editTerraformDeploymentRestriction: (terraformId_1, deploymentRestrictionId_1, terraformDeploymentRestrictionRequest_1, ...args_1) => __awaiter(this, [terraformId_1, deploymentRestrictionId_1, terraformDeploymentRestrictionRequest_1, ...args_1], void 0, function* (terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options = {}) {
|
|
37533
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37534
|
+
(0, common_1.assertParamExists)('editTerraformDeploymentRestriction', 'terraformId', terraformId);
|
|
37535
|
+
// verify required parameter 'deploymentRestrictionId' is not null or undefined
|
|
37536
|
+
(0, common_1.assertParamExists)('editTerraformDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId);
|
|
37537
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}`
|
|
37538
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)))
|
|
37539
|
+
.replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
|
|
37540
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37541
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37542
|
+
let baseOptions;
|
|
37543
|
+
if (configuration) {
|
|
37544
|
+
baseOptions = configuration.baseOptions;
|
|
37545
|
+
}
|
|
37546
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
37547
|
+
const localVarHeaderParameter = {};
|
|
37548
|
+
const localVarQueryParameter = {};
|
|
37549
|
+
// authentication ApiKeyAuth required
|
|
37550
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37551
|
+
// authentication bearerAuth required
|
|
37552
|
+
// http bearer authentication required
|
|
37553
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37554
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37555
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37556
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37557
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37558
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(terraformDeploymentRestrictionRequest, localVarRequestOptions, configuration);
|
|
37559
|
+
return {
|
|
37560
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37561
|
+
options: localVarRequestOptions,
|
|
37562
|
+
};
|
|
37563
|
+
}),
|
|
37564
|
+
/**
|
|
37565
|
+
* Get terraform deployment restrictions
|
|
37566
|
+
* @summary Get terraform deployment restrictions
|
|
37567
|
+
* @param {string} terraformId Terraform ID
|
|
37568
|
+
* @param {*} [options] Override http request option.
|
|
37569
|
+
* @throws {RequiredError}
|
|
37570
|
+
*/
|
|
37571
|
+
getTerraformDeploymentRestrictions: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
37572
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37573
|
+
(0, common_1.assertParamExists)('getTerraformDeploymentRestrictions', 'terraformId', terraformId);
|
|
37574
|
+
const localVarPath = `/terraform/{terraformId}/deploymentRestriction`
|
|
37575
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
37576
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37577
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37578
|
+
let baseOptions;
|
|
37579
|
+
if (configuration) {
|
|
37580
|
+
baseOptions = configuration.baseOptions;
|
|
37581
|
+
}
|
|
37582
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
37583
|
+
const localVarHeaderParameter = {};
|
|
37584
|
+
const localVarQueryParameter = {};
|
|
37585
|
+
// authentication ApiKeyAuth required
|
|
37586
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37587
|
+
// authentication bearerAuth required
|
|
37588
|
+
// http bearer authentication required
|
|
37589
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37590
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37592
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37593
|
+
return {
|
|
37594
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37595
|
+
options: localVarRequestOptions,
|
|
37596
|
+
};
|
|
37597
|
+
}),
|
|
37598
|
+
};
|
|
37599
|
+
};
|
|
37600
|
+
exports.TerraformDeploymentRestrictionApiAxiosParamCreator = TerraformDeploymentRestrictionApiAxiosParamCreator;
|
|
37601
|
+
/**
|
|
37602
|
+
* TerraformDeploymentRestrictionApi - functional programming interface
|
|
37603
|
+
* @export
|
|
37604
|
+
*/
|
|
37605
|
+
const TerraformDeploymentRestrictionApiFp = function (configuration) {
|
|
37606
|
+
const localVarAxiosParamCreator = (0, exports.TerraformDeploymentRestrictionApiAxiosParamCreator)(configuration);
|
|
37607
|
+
return {
|
|
37608
|
+
/**
|
|
37609
|
+
* Create a terraform deployment restriction
|
|
37610
|
+
* @summary Create a terraform deployment restriction
|
|
37611
|
+
* @param {string} terraformId Terraform ID
|
|
37612
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37613
|
+
* @param {*} [options] Override http request option.
|
|
37614
|
+
* @throws {RequiredError}
|
|
37615
|
+
*/
|
|
37616
|
+
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37617
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37618
|
+
var _a, _b, _c;
|
|
37619
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options);
|
|
37620
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37621
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformDeploymentRestrictionApi.createTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37622
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37623
|
+
});
|
|
37624
|
+
},
|
|
37625
|
+
/**
|
|
37626
|
+
* Delete a terraform deployment restriction
|
|
37627
|
+
* @summary Delete a terraform deployment restriction
|
|
37628
|
+
* @param {string} terraformId Terraform ID
|
|
37629
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37630
|
+
* @param {*} [options] Override http request option.
|
|
37631
|
+
* @throws {RequiredError}
|
|
37632
|
+
*/
|
|
37633
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37634
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37635
|
+
var _a, _b, _c;
|
|
37636
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options);
|
|
37637
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37638
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformDeploymentRestrictionApi.deleteTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37639
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37640
|
+
});
|
|
37641
|
+
},
|
|
37642
|
+
/**
|
|
37643
|
+
* Edit a terraform deployment restriction
|
|
37644
|
+
* @summary Edit a terraform deployment restriction
|
|
37645
|
+
* @param {string} terraformId Terraform ID
|
|
37646
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37647
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37648
|
+
* @param {*} [options] Override http request option.
|
|
37649
|
+
* @throws {RequiredError}
|
|
37650
|
+
*/
|
|
37651
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37652
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37653
|
+
var _a, _b, _c;
|
|
37654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options);
|
|
37655
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37656
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformDeploymentRestrictionApi.editTerraformDeploymentRestriction']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37657
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37658
|
+
});
|
|
37659
|
+
},
|
|
37660
|
+
/**
|
|
37661
|
+
* Get terraform deployment restrictions
|
|
37662
|
+
* @summary Get terraform deployment restrictions
|
|
37663
|
+
* @param {string} terraformId Terraform ID
|
|
37664
|
+
* @param {*} [options] Override http request option.
|
|
37665
|
+
* @throws {RequiredError}
|
|
37666
|
+
*/
|
|
37667
|
+
getTerraformDeploymentRestrictions(terraformId, options) {
|
|
37668
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37669
|
+
var _a, _b, _c;
|
|
37670
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getTerraformDeploymentRestrictions(terraformId, options);
|
|
37671
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37672
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformDeploymentRestrictionApi.getTerraformDeploymentRestrictions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37673
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37674
|
+
});
|
|
37675
|
+
},
|
|
37676
|
+
};
|
|
37677
|
+
};
|
|
37678
|
+
exports.TerraformDeploymentRestrictionApiFp = TerraformDeploymentRestrictionApiFp;
|
|
37679
|
+
/**
|
|
37680
|
+
* TerraformDeploymentRestrictionApi - factory interface
|
|
37681
|
+
* @export
|
|
37682
|
+
*/
|
|
37683
|
+
const TerraformDeploymentRestrictionApiFactory = function (configuration, basePath, axios) {
|
|
37684
|
+
const localVarFp = (0, exports.TerraformDeploymentRestrictionApiFp)(configuration);
|
|
37685
|
+
return {
|
|
37686
|
+
/**
|
|
37687
|
+
* Create a terraform deployment restriction
|
|
37688
|
+
* @summary Create a terraform deployment restriction
|
|
37689
|
+
* @param {string} terraformId Terraform ID
|
|
37690
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37691
|
+
* @param {*} [options] Override http request option.
|
|
37692
|
+
* @throws {RequiredError}
|
|
37693
|
+
*/
|
|
37694
|
+
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37695
|
+
return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37696
|
+
},
|
|
37697
|
+
/**
|
|
37698
|
+
* Delete a terraform deployment restriction
|
|
37699
|
+
* @summary Delete a terraform deployment restriction
|
|
37700
|
+
* @param {string} terraformId Terraform ID
|
|
37701
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37702
|
+
* @param {*} [options] Override http request option.
|
|
37703
|
+
* @throws {RequiredError}
|
|
37704
|
+
*/
|
|
37705
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37706
|
+
return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
|
|
37707
|
+
},
|
|
37708
|
+
/**
|
|
37709
|
+
* Edit a terraform deployment restriction
|
|
37710
|
+
* @summary Edit a terraform deployment restriction
|
|
37711
|
+
* @param {string} terraformId Terraform ID
|
|
37712
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37713
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37714
|
+
* @param {*} [options] Override http request option.
|
|
37715
|
+
* @throws {RequiredError}
|
|
37716
|
+
*/
|
|
37717
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37718
|
+
return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
|
|
37719
|
+
},
|
|
37720
|
+
/**
|
|
37721
|
+
* Get terraform deployment restrictions
|
|
37722
|
+
* @summary Get terraform deployment restrictions
|
|
37723
|
+
* @param {string} terraformId Terraform ID
|
|
37724
|
+
* @param {*} [options] Override http request option.
|
|
37725
|
+
* @throws {RequiredError}
|
|
37726
|
+
*/
|
|
37727
|
+
getTerraformDeploymentRestrictions(terraformId, options) {
|
|
37728
|
+
return localVarFp.getTerraformDeploymentRestrictions(terraformId, options).then((request) => request(axios, basePath));
|
|
37729
|
+
},
|
|
37730
|
+
};
|
|
37731
|
+
};
|
|
37732
|
+
exports.TerraformDeploymentRestrictionApiFactory = TerraformDeploymentRestrictionApiFactory;
|
|
37733
|
+
/**
|
|
37734
|
+
* TerraformDeploymentRestrictionApi - object-oriented interface
|
|
37735
|
+
* @export
|
|
37736
|
+
* @class TerraformDeploymentRestrictionApi
|
|
37737
|
+
* @extends {BaseAPI}
|
|
37738
|
+
*/
|
|
37739
|
+
class TerraformDeploymentRestrictionApi extends base_1.BaseAPI {
|
|
37740
|
+
/**
|
|
37741
|
+
* Create a terraform deployment restriction
|
|
37742
|
+
* @summary Create a terraform deployment restriction
|
|
37743
|
+
* @param {string} terraformId Terraform ID
|
|
37744
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37745
|
+
* @param {*} [options] Override http request option.
|
|
37746
|
+
* @throws {RequiredError}
|
|
37747
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37748
|
+
*/
|
|
37749
|
+
createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options) {
|
|
37750
|
+
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37751
|
+
}
|
|
37752
|
+
/**
|
|
37753
|
+
* Delete a terraform deployment restriction
|
|
37754
|
+
* @summary Delete a terraform deployment restriction
|
|
37755
|
+
* @param {string} terraformId Terraform ID
|
|
37756
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37757
|
+
* @param {*} [options] Override http request option.
|
|
37758
|
+
* @throws {RequiredError}
|
|
37759
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37760
|
+
*/
|
|
37761
|
+
deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options) {
|
|
37762
|
+
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
|
|
37763
|
+
}
|
|
37764
|
+
/**
|
|
37765
|
+
* Edit a terraform deployment restriction
|
|
37766
|
+
* @summary Edit a terraform deployment restriction
|
|
37767
|
+
* @param {string} terraformId Terraform ID
|
|
37768
|
+
* @param {string} deploymentRestrictionId Deployment Restriction ID
|
|
37769
|
+
* @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
|
|
37770
|
+
* @param {*} [options] Override http request option.
|
|
37771
|
+
* @throws {RequiredError}
|
|
37772
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37773
|
+
*/
|
|
37774
|
+
editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options) {
|
|
37775
|
+
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37776
|
+
}
|
|
37777
|
+
/**
|
|
37778
|
+
* Get terraform deployment restrictions
|
|
37779
|
+
* @summary Get terraform deployment restrictions
|
|
37780
|
+
* @param {string} terraformId Terraform ID
|
|
37781
|
+
* @param {*} [options] Override http request option.
|
|
37782
|
+
* @throws {RequiredError}
|
|
37783
|
+
* @memberof TerraformDeploymentRestrictionApi
|
|
37784
|
+
*/
|
|
37785
|
+
getTerraformDeploymentRestrictions(terraformId, options) {
|
|
37786
|
+
return (0, exports.TerraformDeploymentRestrictionApiFp)(this.configuration).getTerraformDeploymentRestrictions(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
37787
|
+
}
|
|
37788
|
+
}
|
|
37789
|
+
exports.TerraformDeploymentRestrictionApi = TerraformDeploymentRestrictionApi;
|
|
37442
37790
|
/**
|
|
37443
37791
|
* TerraformMainCallsApi - axios parameter creator
|
|
37444
37792
|
* @export
|