qovery-typescript-axios 1.1.613 → 1.1.614
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 +141 -0
- package/dist/api.d.ts +82 -0
- package/dist/api.js +117 -1
- package/dist/esm/api.d.ts +82 -0
- package/dist/esm/api.js +111 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -17075,6 +17075,25 @@ export interface TerraformAdvancedSettings {
|
|
|
17075
17075
|
*/
|
|
17076
17076
|
'security.read_only_root_filesystem'?: boolean;
|
|
17077
17077
|
}
|
|
17078
|
+
/**
|
|
17079
|
+
*
|
|
17080
|
+
* @export
|
|
17081
|
+
* @interface TerraformDeployRequest
|
|
17082
|
+
*/
|
|
17083
|
+
export interface TerraformDeployRequest {
|
|
17084
|
+
/**
|
|
17085
|
+
* Commit to deploy for chart source.
|
|
17086
|
+
* @type {string}
|
|
17087
|
+
* @memberof TerraformDeployRequest
|
|
17088
|
+
*/
|
|
17089
|
+
'git_commit_id'?: string;
|
|
17090
|
+
/**
|
|
17091
|
+
*
|
|
17092
|
+
* @type {boolean}
|
|
17093
|
+
* @memberof TerraformDeployRequest
|
|
17094
|
+
*/
|
|
17095
|
+
'dry_run'?: boolean;
|
|
17096
|
+
}
|
|
17078
17097
|
/**
|
|
17079
17098
|
*
|
|
17080
17099
|
* @export
|
|
@@ -56788,6 +56807,128 @@ export const GetIngressDeploymentStatusServiceTypeEnum = {
|
|
|
56788
56807
|
export type GetIngressDeploymentStatusServiceTypeEnum = typeof GetIngressDeploymentStatusServiceTypeEnum[keyof typeof GetIngressDeploymentStatusServiceTypeEnum];
|
|
56789
56808
|
|
|
56790
56809
|
|
|
56810
|
+
/**
|
|
56811
|
+
* TerraformActionsApi - axios parameter creator
|
|
56812
|
+
* @export
|
|
56813
|
+
*/
|
|
56814
|
+
export const TerraformActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
56815
|
+
return {
|
|
56816
|
+
/**
|
|
56817
|
+
* You must provide a git commit id.
|
|
56818
|
+
* @summary Deploy terraform
|
|
56819
|
+
* @param {string} terraformId Terraform ID
|
|
56820
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
56821
|
+
* @param {*} [options] Override http request option.
|
|
56822
|
+
* @throws {RequiredError}
|
|
56823
|
+
*/
|
|
56824
|
+
deployTerraform: async (terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56825
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
56826
|
+
assertParamExists('deployTerraform', 'terraformId', terraformId)
|
|
56827
|
+
const localVarPath = `/terraform/{terraformId}/deploy`
|
|
56828
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
56829
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56831
|
+
let baseOptions;
|
|
56832
|
+
if (configuration) {
|
|
56833
|
+
baseOptions = configuration.baseOptions;
|
|
56834
|
+
}
|
|
56835
|
+
|
|
56836
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
56837
|
+
const localVarHeaderParameter = {} as any;
|
|
56838
|
+
const localVarQueryParameter = {} as any;
|
|
56839
|
+
|
|
56840
|
+
// authentication ApiKeyAuth required
|
|
56841
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
56842
|
+
|
|
56843
|
+
// authentication bearerAuth required
|
|
56844
|
+
// http bearer authentication required
|
|
56845
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56846
|
+
|
|
56847
|
+
|
|
56848
|
+
|
|
56849
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
56850
|
+
|
|
56851
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56852
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56853
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56854
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeployRequest, localVarRequestOptions, configuration)
|
|
56855
|
+
|
|
56856
|
+
return {
|
|
56857
|
+
url: toPathString(localVarUrlObj),
|
|
56858
|
+
options: localVarRequestOptions,
|
|
56859
|
+
};
|
|
56860
|
+
},
|
|
56861
|
+
}
|
|
56862
|
+
};
|
|
56863
|
+
|
|
56864
|
+
/**
|
|
56865
|
+
* TerraformActionsApi - functional programming interface
|
|
56866
|
+
* @export
|
|
56867
|
+
*/
|
|
56868
|
+
export const TerraformActionsApiFp = function(configuration?: Configuration) {
|
|
56869
|
+
const localVarAxiosParamCreator = TerraformActionsApiAxiosParamCreator(configuration)
|
|
56870
|
+
return {
|
|
56871
|
+
/**
|
|
56872
|
+
* You must provide a git commit id.
|
|
56873
|
+
* @summary Deploy terraform
|
|
56874
|
+
* @param {string} terraformId Terraform ID
|
|
56875
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
56876
|
+
* @param {*} [options] Override http request option.
|
|
56877
|
+
* @throws {RequiredError}
|
|
56878
|
+
*/
|
|
56879
|
+
async deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
56880
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployTerraform(terraformId, terraformDeployRequest, options);
|
|
56881
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
56882
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.deployTerraform']?.[localVarOperationServerIndex]?.url;
|
|
56883
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
56884
|
+
},
|
|
56885
|
+
}
|
|
56886
|
+
};
|
|
56887
|
+
|
|
56888
|
+
/**
|
|
56889
|
+
* TerraformActionsApi - factory interface
|
|
56890
|
+
* @export
|
|
56891
|
+
*/
|
|
56892
|
+
export const TerraformActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
56893
|
+
const localVarFp = TerraformActionsApiFp(configuration)
|
|
56894
|
+
return {
|
|
56895
|
+
/**
|
|
56896
|
+
* You must provide a git commit id.
|
|
56897
|
+
* @summary Deploy terraform
|
|
56898
|
+
* @param {string} terraformId Terraform ID
|
|
56899
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
56900
|
+
* @param {*} [options] Override http request option.
|
|
56901
|
+
* @throws {RequiredError}
|
|
56902
|
+
*/
|
|
56903
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
56904
|
+
return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
|
|
56905
|
+
},
|
|
56906
|
+
};
|
|
56907
|
+
};
|
|
56908
|
+
|
|
56909
|
+
/**
|
|
56910
|
+
* TerraformActionsApi - object-oriented interface
|
|
56911
|
+
* @export
|
|
56912
|
+
* @class TerraformActionsApi
|
|
56913
|
+
* @extends {BaseAPI}
|
|
56914
|
+
*/
|
|
56915
|
+
export class TerraformActionsApi extends BaseAPI {
|
|
56916
|
+
/**
|
|
56917
|
+
* You must provide a git commit id.
|
|
56918
|
+
* @summary Deploy terraform
|
|
56919
|
+
* @param {string} terraformId Terraform ID
|
|
56920
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
56921
|
+
* @param {*} [options] Override http request option.
|
|
56922
|
+
* @throws {RequiredError}
|
|
56923
|
+
* @memberof TerraformActionsApi
|
|
56924
|
+
*/
|
|
56925
|
+
public deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) {
|
|
56926
|
+
return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
56927
|
+
}
|
|
56928
|
+
}
|
|
56929
|
+
|
|
56930
|
+
|
|
56931
|
+
|
|
56791
56932
|
/**
|
|
56792
56933
|
* TerraformConfigurationApi - axios parameter creator
|
|
56793
56934
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -16520,6 +16520,25 @@ export interface TerraformAdvancedSettings {
|
|
|
16520
16520
|
*/
|
|
16521
16521
|
'security.read_only_root_filesystem'?: boolean;
|
|
16522
16522
|
}
|
|
16523
|
+
/**
|
|
16524
|
+
*
|
|
16525
|
+
* @export
|
|
16526
|
+
* @interface TerraformDeployRequest
|
|
16527
|
+
*/
|
|
16528
|
+
export interface TerraformDeployRequest {
|
|
16529
|
+
/**
|
|
16530
|
+
* Commit to deploy for chart source.
|
|
16531
|
+
* @type {string}
|
|
16532
|
+
* @memberof TerraformDeployRequest
|
|
16533
|
+
*/
|
|
16534
|
+
'git_commit_id'?: string;
|
|
16535
|
+
/**
|
|
16536
|
+
*
|
|
16537
|
+
* @type {boolean}
|
|
16538
|
+
* @memberof TerraformDeployRequest
|
|
16539
|
+
*/
|
|
16540
|
+
'dry_run'?: boolean;
|
|
16541
|
+
}
|
|
16523
16542
|
/**
|
|
16524
16543
|
*
|
|
16525
16544
|
* @export
|
|
@@ -35374,6 +35393,69 @@ export declare const GetIngressDeploymentStatusServiceTypeEnum: {
|
|
|
35374
35393
|
readonly HELM: "HELM";
|
|
35375
35394
|
};
|
|
35376
35395
|
export type GetIngressDeploymentStatusServiceTypeEnum = typeof GetIngressDeploymentStatusServiceTypeEnum[keyof typeof GetIngressDeploymentStatusServiceTypeEnum];
|
|
35396
|
+
/**
|
|
35397
|
+
* TerraformActionsApi - axios parameter creator
|
|
35398
|
+
* @export
|
|
35399
|
+
*/
|
|
35400
|
+
export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35401
|
+
/**
|
|
35402
|
+
* You must provide a git commit id.
|
|
35403
|
+
* @summary Deploy terraform
|
|
35404
|
+
* @param {string} terraformId Terraform ID
|
|
35405
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35406
|
+
* @param {*} [options] Override http request option.
|
|
35407
|
+
* @throws {RequiredError}
|
|
35408
|
+
*/
|
|
35409
|
+
deployTerraform: (terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35410
|
+
};
|
|
35411
|
+
/**
|
|
35412
|
+
* TerraformActionsApi - functional programming interface
|
|
35413
|
+
* @export
|
|
35414
|
+
*/
|
|
35415
|
+
export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
|
|
35416
|
+
/**
|
|
35417
|
+
* You must provide a git commit id.
|
|
35418
|
+
* @summary Deploy terraform
|
|
35419
|
+
* @param {string} terraformId Terraform ID
|
|
35420
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35421
|
+
* @param {*} [options] Override http request option.
|
|
35422
|
+
* @throws {RequiredError}
|
|
35423
|
+
*/
|
|
35424
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
35425
|
+
};
|
|
35426
|
+
/**
|
|
35427
|
+
* TerraformActionsApi - factory interface
|
|
35428
|
+
* @export
|
|
35429
|
+
*/
|
|
35430
|
+
export declare const TerraformActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
35431
|
+
/**
|
|
35432
|
+
* You must provide a git commit id.
|
|
35433
|
+
* @summary Deploy terraform
|
|
35434
|
+
* @param {string} terraformId Terraform ID
|
|
35435
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35436
|
+
* @param {*} [options] Override http request option.
|
|
35437
|
+
* @throws {RequiredError}
|
|
35438
|
+
*/
|
|
35439
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
35440
|
+
};
|
|
35441
|
+
/**
|
|
35442
|
+
* TerraformActionsApi - object-oriented interface
|
|
35443
|
+
* @export
|
|
35444
|
+
* @class TerraformActionsApi
|
|
35445
|
+
* @extends {BaseAPI}
|
|
35446
|
+
*/
|
|
35447
|
+
export declare class TerraformActionsApi extends BaseAPI {
|
|
35448
|
+
/**
|
|
35449
|
+
* You must provide a git commit id.
|
|
35450
|
+
* @summary Deploy terraform
|
|
35451
|
+
* @param {string} terraformId Terraform ID
|
|
35452
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35453
|
+
* @param {*} [options] Override http request option.
|
|
35454
|
+
* @throws {RequiredError}
|
|
35455
|
+
* @memberof TerraformActionsApi
|
|
35456
|
+
*/
|
|
35457
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
35458
|
+
}
|
|
35377
35459
|
/**
|
|
35378
35460
|
* TerraformConfigurationApi - axios parameter creator
|
|
35379
35461
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -30,7 +30,8 @@ exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFacto
|
|
|
30
30
|
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 = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = void 0;
|
|
31
31
|
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 = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = void 0;
|
|
32
32
|
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 = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = void 0;
|
|
33
|
-
exports.
|
|
33
|
+
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.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = 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 = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = void 0;
|
|
34
35
|
const axios_1 = require("axios");
|
|
35
36
|
// Some imports not used depending on template conditions
|
|
36
37
|
// @ts-ignore
|
|
@@ -37174,6 +37175,121 @@ exports.GetIngressDeploymentStatusServiceTypeEnum = {
|
|
|
37174
37175
|
APPLICATION: 'APPLICATION',
|
|
37175
37176
|
HELM: 'HELM'
|
|
37176
37177
|
};
|
|
37178
|
+
/**
|
|
37179
|
+
* TerraformActionsApi - axios parameter creator
|
|
37180
|
+
* @export
|
|
37181
|
+
*/
|
|
37182
|
+
const TerraformActionsApiAxiosParamCreator = function (configuration) {
|
|
37183
|
+
return {
|
|
37184
|
+
/**
|
|
37185
|
+
* You must provide a git commit id.
|
|
37186
|
+
* @summary Deploy terraform
|
|
37187
|
+
* @param {string} terraformId Terraform ID
|
|
37188
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
37189
|
+
* @param {*} [options] Override http request option.
|
|
37190
|
+
* @throws {RequiredError}
|
|
37191
|
+
*/
|
|
37192
|
+
deployTerraform: (terraformId_1, terraformDeployRequest_1, ...args_1) => __awaiter(this, [terraformId_1, terraformDeployRequest_1, ...args_1], void 0, function* (terraformId, terraformDeployRequest, options = {}) {
|
|
37193
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
37194
|
+
(0, common_1.assertParamExists)('deployTerraform', 'terraformId', terraformId);
|
|
37195
|
+
const localVarPath = `/terraform/{terraformId}/deploy`
|
|
37196
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
37197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37198
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37199
|
+
let baseOptions;
|
|
37200
|
+
if (configuration) {
|
|
37201
|
+
baseOptions = configuration.baseOptions;
|
|
37202
|
+
}
|
|
37203
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
37204
|
+
const localVarHeaderParameter = {};
|
|
37205
|
+
const localVarQueryParameter = {};
|
|
37206
|
+
// authentication ApiKeyAuth required
|
|
37207
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
37208
|
+
// authentication bearerAuth required
|
|
37209
|
+
// http bearer authentication required
|
|
37210
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
37211
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37212
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37214
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37215
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(terraformDeployRequest, localVarRequestOptions, configuration);
|
|
37216
|
+
return {
|
|
37217
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37218
|
+
options: localVarRequestOptions,
|
|
37219
|
+
};
|
|
37220
|
+
}),
|
|
37221
|
+
};
|
|
37222
|
+
};
|
|
37223
|
+
exports.TerraformActionsApiAxiosParamCreator = TerraformActionsApiAxiosParamCreator;
|
|
37224
|
+
/**
|
|
37225
|
+
* TerraformActionsApi - functional programming interface
|
|
37226
|
+
* @export
|
|
37227
|
+
*/
|
|
37228
|
+
const TerraformActionsApiFp = function (configuration) {
|
|
37229
|
+
const localVarAxiosParamCreator = (0, exports.TerraformActionsApiAxiosParamCreator)(configuration);
|
|
37230
|
+
return {
|
|
37231
|
+
/**
|
|
37232
|
+
* You must provide a git commit id.
|
|
37233
|
+
* @summary Deploy terraform
|
|
37234
|
+
* @param {string} terraformId Terraform ID
|
|
37235
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
37236
|
+
* @param {*} [options] Override http request option.
|
|
37237
|
+
* @throws {RequiredError}
|
|
37238
|
+
*/
|
|
37239
|
+
deployTerraform(terraformId, terraformDeployRequest, options) {
|
|
37240
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37241
|
+
var _a, _b, _c;
|
|
37242
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployTerraform(terraformId, terraformDeployRequest, options);
|
|
37243
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37244
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformActionsApi.deployTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37245
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37246
|
+
});
|
|
37247
|
+
},
|
|
37248
|
+
};
|
|
37249
|
+
};
|
|
37250
|
+
exports.TerraformActionsApiFp = TerraformActionsApiFp;
|
|
37251
|
+
/**
|
|
37252
|
+
* TerraformActionsApi - factory interface
|
|
37253
|
+
* @export
|
|
37254
|
+
*/
|
|
37255
|
+
const TerraformActionsApiFactory = function (configuration, basePath, axios) {
|
|
37256
|
+
const localVarFp = (0, exports.TerraformActionsApiFp)(configuration);
|
|
37257
|
+
return {
|
|
37258
|
+
/**
|
|
37259
|
+
* You must provide a git commit id.
|
|
37260
|
+
* @summary Deploy terraform
|
|
37261
|
+
* @param {string} terraformId Terraform ID
|
|
37262
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
37263
|
+
* @param {*} [options] Override http request option.
|
|
37264
|
+
* @throws {RequiredError}
|
|
37265
|
+
*/
|
|
37266
|
+
deployTerraform(terraformId, terraformDeployRequest, options) {
|
|
37267
|
+
return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
|
|
37268
|
+
},
|
|
37269
|
+
};
|
|
37270
|
+
};
|
|
37271
|
+
exports.TerraformActionsApiFactory = TerraformActionsApiFactory;
|
|
37272
|
+
/**
|
|
37273
|
+
* TerraformActionsApi - object-oriented interface
|
|
37274
|
+
* @export
|
|
37275
|
+
* @class TerraformActionsApi
|
|
37276
|
+
* @extends {BaseAPI}
|
|
37277
|
+
*/
|
|
37278
|
+
class TerraformActionsApi extends base_1.BaseAPI {
|
|
37279
|
+
/**
|
|
37280
|
+
* You must provide a git commit id.
|
|
37281
|
+
* @summary Deploy terraform
|
|
37282
|
+
* @param {string} terraformId Terraform ID
|
|
37283
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
37284
|
+
* @param {*} [options] Override http request option.
|
|
37285
|
+
* @throws {RequiredError}
|
|
37286
|
+
* @memberof TerraformActionsApi
|
|
37287
|
+
*/
|
|
37288
|
+
deployTerraform(terraformId, terraformDeployRequest, options) {
|
|
37289
|
+
return (0, exports.TerraformActionsApiFp)(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37290
|
+
}
|
|
37291
|
+
}
|
|
37292
|
+
exports.TerraformActionsApi = TerraformActionsApi;
|
|
37177
37293
|
/**
|
|
37178
37294
|
* TerraformConfigurationApi - axios parameter creator
|
|
37179
37295
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -16520,6 +16520,25 @@ export interface TerraformAdvancedSettings {
|
|
|
16520
16520
|
*/
|
|
16521
16521
|
'security.read_only_root_filesystem'?: boolean;
|
|
16522
16522
|
}
|
|
16523
|
+
/**
|
|
16524
|
+
*
|
|
16525
|
+
* @export
|
|
16526
|
+
* @interface TerraformDeployRequest
|
|
16527
|
+
*/
|
|
16528
|
+
export interface TerraformDeployRequest {
|
|
16529
|
+
/**
|
|
16530
|
+
* Commit to deploy for chart source.
|
|
16531
|
+
* @type {string}
|
|
16532
|
+
* @memberof TerraformDeployRequest
|
|
16533
|
+
*/
|
|
16534
|
+
'git_commit_id'?: string;
|
|
16535
|
+
/**
|
|
16536
|
+
*
|
|
16537
|
+
* @type {boolean}
|
|
16538
|
+
* @memberof TerraformDeployRequest
|
|
16539
|
+
*/
|
|
16540
|
+
'dry_run'?: boolean;
|
|
16541
|
+
}
|
|
16523
16542
|
/**
|
|
16524
16543
|
*
|
|
16525
16544
|
* @export
|
|
@@ -35374,6 +35393,69 @@ export declare const GetIngressDeploymentStatusServiceTypeEnum: {
|
|
|
35374
35393
|
readonly HELM: "HELM";
|
|
35375
35394
|
};
|
|
35376
35395
|
export type GetIngressDeploymentStatusServiceTypeEnum = typeof GetIngressDeploymentStatusServiceTypeEnum[keyof typeof GetIngressDeploymentStatusServiceTypeEnum];
|
|
35396
|
+
/**
|
|
35397
|
+
* TerraformActionsApi - axios parameter creator
|
|
35398
|
+
* @export
|
|
35399
|
+
*/
|
|
35400
|
+
export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35401
|
+
/**
|
|
35402
|
+
* You must provide a git commit id.
|
|
35403
|
+
* @summary Deploy terraform
|
|
35404
|
+
* @param {string} terraformId Terraform ID
|
|
35405
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35406
|
+
* @param {*} [options] Override http request option.
|
|
35407
|
+
* @throws {RequiredError}
|
|
35408
|
+
*/
|
|
35409
|
+
deployTerraform: (terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35410
|
+
};
|
|
35411
|
+
/**
|
|
35412
|
+
* TerraformActionsApi - functional programming interface
|
|
35413
|
+
* @export
|
|
35414
|
+
*/
|
|
35415
|
+
export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
|
|
35416
|
+
/**
|
|
35417
|
+
* You must provide a git commit id.
|
|
35418
|
+
* @summary Deploy terraform
|
|
35419
|
+
* @param {string} terraformId Terraform ID
|
|
35420
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35421
|
+
* @param {*} [options] Override http request option.
|
|
35422
|
+
* @throws {RequiredError}
|
|
35423
|
+
*/
|
|
35424
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
35425
|
+
};
|
|
35426
|
+
/**
|
|
35427
|
+
* TerraformActionsApi - factory interface
|
|
35428
|
+
* @export
|
|
35429
|
+
*/
|
|
35430
|
+
export declare const TerraformActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
35431
|
+
/**
|
|
35432
|
+
* You must provide a git commit id.
|
|
35433
|
+
* @summary Deploy terraform
|
|
35434
|
+
* @param {string} terraformId Terraform ID
|
|
35435
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35436
|
+
* @param {*} [options] Override http request option.
|
|
35437
|
+
* @throws {RequiredError}
|
|
35438
|
+
*/
|
|
35439
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
35440
|
+
};
|
|
35441
|
+
/**
|
|
35442
|
+
* TerraformActionsApi - object-oriented interface
|
|
35443
|
+
* @export
|
|
35444
|
+
* @class TerraformActionsApi
|
|
35445
|
+
* @extends {BaseAPI}
|
|
35446
|
+
*/
|
|
35447
|
+
export declare class TerraformActionsApi extends BaseAPI {
|
|
35448
|
+
/**
|
|
35449
|
+
* You must provide a git commit id.
|
|
35450
|
+
* @summary Deploy terraform
|
|
35451
|
+
* @param {string} terraformId Terraform ID
|
|
35452
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
35453
|
+
* @param {*} [options] Override http request option.
|
|
35454
|
+
* @throws {RequiredError}
|
|
35455
|
+
* @memberof TerraformActionsApi
|
|
35456
|
+
*/
|
|
35457
|
+
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
35458
|
+
}
|
|
35377
35459
|
/**
|
|
35378
35460
|
* TerraformConfigurationApi - axios parameter creator
|
|
35379
35461
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -36843,6 +36843,117 @@ export const GetIngressDeploymentStatusServiceTypeEnum = {
|
|
|
36843
36843
|
APPLICATION: 'APPLICATION',
|
|
36844
36844
|
HELM: 'HELM'
|
|
36845
36845
|
};
|
|
36846
|
+
/**
|
|
36847
|
+
* TerraformActionsApi - axios parameter creator
|
|
36848
|
+
* @export
|
|
36849
|
+
*/
|
|
36850
|
+
export const TerraformActionsApiAxiosParamCreator = function (configuration) {
|
|
36851
|
+
return {
|
|
36852
|
+
/**
|
|
36853
|
+
* You must provide a git commit id.
|
|
36854
|
+
* @summary Deploy terraform
|
|
36855
|
+
* @param {string} terraformId Terraform ID
|
|
36856
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
36857
|
+
* @param {*} [options] Override http request option.
|
|
36858
|
+
* @throws {RequiredError}
|
|
36859
|
+
*/
|
|
36860
|
+
deployTerraform: (terraformId_1, terraformDeployRequest_1, ...args_1) => __awaiter(this, [terraformId_1, terraformDeployRequest_1, ...args_1], void 0, function* (terraformId, terraformDeployRequest, options = {}) {
|
|
36861
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
36862
|
+
assertParamExists('deployTerraform', 'terraformId', terraformId);
|
|
36863
|
+
const localVarPath = `/terraform/{terraformId}/deploy`
|
|
36864
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
36865
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36866
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36867
|
+
let baseOptions;
|
|
36868
|
+
if (configuration) {
|
|
36869
|
+
baseOptions = configuration.baseOptions;
|
|
36870
|
+
}
|
|
36871
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36872
|
+
const localVarHeaderParameter = {};
|
|
36873
|
+
const localVarQueryParameter = {};
|
|
36874
|
+
// authentication ApiKeyAuth required
|
|
36875
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
36876
|
+
// authentication bearerAuth required
|
|
36877
|
+
// http bearer authentication required
|
|
36878
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
36879
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36880
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36881
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36882
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36883
|
+
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeployRequest, localVarRequestOptions, configuration);
|
|
36884
|
+
return {
|
|
36885
|
+
url: toPathString(localVarUrlObj),
|
|
36886
|
+
options: localVarRequestOptions,
|
|
36887
|
+
};
|
|
36888
|
+
}),
|
|
36889
|
+
};
|
|
36890
|
+
};
|
|
36891
|
+
/**
|
|
36892
|
+
* TerraformActionsApi - functional programming interface
|
|
36893
|
+
* @export
|
|
36894
|
+
*/
|
|
36895
|
+
export const TerraformActionsApiFp = function (configuration) {
|
|
36896
|
+
const localVarAxiosParamCreator = TerraformActionsApiAxiosParamCreator(configuration);
|
|
36897
|
+
return {
|
|
36898
|
+
/**
|
|
36899
|
+
* You must provide a git commit id.
|
|
36900
|
+
* @summary Deploy terraform
|
|
36901
|
+
* @param {string} terraformId Terraform ID
|
|
36902
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
36903
|
+
* @param {*} [options] Override http request option.
|
|
36904
|
+
* @throws {RequiredError}
|
|
36905
|
+
*/
|
|
36906
|
+
deployTerraform(terraformId, terraformDeployRequest, options) {
|
|
36907
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36908
|
+
var _a, _b, _c;
|
|
36909
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployTerraform(terraformId, terraformDeployRequest, options);
|
|
36910
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
36911
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformActionsApi.deployTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
36912
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36913
|
+
});
|
|
36914
|
+
},
|
|
36915
|
+
};
|
|
36916
|
+
};
|
|
36917
|
+
/**
|
|
36918
|
+
* TerraformActionsApi - factory interface
|
|
36919
|
+
* @export
|
|
36920
|
+
*/
|
|
36921
|
+
export const TerraformActionsApiFactory = function (configuration, basePath, axios) {
|
|
36922
|
+
const localVarFp = TerraformActionsApiFp(configuration);
|
|
36923
|
+
return {
|
|
36924
|
+
/**
|
|
36925
|
+
* You must provide a git commit id.
|
|
36926
|
+
* @summary Deploy terraform
|
|
36927
|
+
* @param {string} terraformId Terraform ID
|
|
36928
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
36929
|
+
* @param {*} [options] Override http request option.
|
|
36930
|
+
* @throws {RequiredError}
|
|
36931
|
+
*/
|
|
36932
|
+
deployTerraform(terraformId, terraformDeployRequest, options) {
|
|
36933
|
+
return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
|
|
36934
|
+
},
|
|
36935
|
+
};
|
|
36936
|
+
};
|
|
36937
|
+
/**
|
|
36938
|
+
* TerraformActionsApi - object-oriented interface
|
|
36939
|
+
* @export
|
|
36940
|
+
* @class TerraformActionsApi
|
|
36941
|
+
* @extends {BaseAPI}
|
|
36942
|
+
*/
|
|
36943
|
+
export class TerraformActionsApi extends BaseAPI {
|
|
36944
|
+
/**
|
|
36945
|
+
* You must provide a git commit id.
|
|
36946
|
+
* @summary Deploy terraform
|
|
36947
|
+
* @param {string} terraformId Terraform ID
|
|
36948
|
+
* @param {TerraformDeployRequest} [terraformDeployRequest]
|
|
36949
|
+
* @param {*} [options] Override http request option.
|
|
36950
|
+
* @throws {RequiredError}
|
|
36951
|
+
* @memberof TerraformActionsApi
|
|
36952
|
+
*/
|
|
36953
|
+
deployTerraform(terraformId, terraformDeployRequest, options) {
|
|
36954
|
+
return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
36955
|
+
}
|
|
36956
|
+
}
|
|
36846
36957
|
/**
|
|
36847
36958
|
* TerraformConfigurationApi - axios parameter creator
|
|
36848
36959
|
* @export
|