qovery-typescript-axios 1.1.528 → 1.1.530
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 +129 -0
- package/dist/api.d.ts +79 -0
- package/dist/api.js +93 -9
- package/dist/esm/api.d.ts +79 -0
- package/dist/esm/api.js +84 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5906,6 +5906,25 @@ export interface DeploymentHistory {
|
|
|
5906
5906
|
}
|
|
5907
5907
|
|
|
5908
5908
|
|
|
5909
|
+
/**
|
|
5910
|
+
*
|
|
5911
|
+
* @export
|
|
5912
|
+
* @enum {string}
|
|
5913
|
+
*/
|
|
5914
|
+
|
|
5915
|
+
export const DeploymentHistoryActionStatus = {
|
|
5916
|
+
QUEUED: 'QUEUED',
|
|
5917
|
+
ONGOING: 'ONGOING',
|
|
5918
|
+
SUCCESS: 'SUCCESS',
|
|
5919
|
+
ERROR: 'ERROR',
|
|
5920
|
+
CANCELED: 'CANCELED',
|
|
5921
|
+
CANCELING: 'CANCELING',
|
|
5922
|
+
NEVER: 'NEVER'
|
|
5923
|
+
} as const;
|
|
5924
|
+
|
|
5925
|
+
export type DeploymentHistoryActionStatus = typeof DeploymentHistoryActionStatus[keyof typeof DeploymentHistoryActionStatus];
|
|
5926
|
+
|
|
5927
|
+
|
|
5909
5928
|
/**
|
|
5910
5929
|
*
|
|
5911
5930
|
* @export
|
|
@@ -6253,6 +6272,12 @@ export interface DeploymentHistoryEnvironmentV2 {
|
|
|
6253
6272
|
* @memberof DeploymentHistoryEnvironmentV2
|
|
6254
6273
|
*/
|
|
6255
6274
|
'stages': Array<DeploymentHistoryStage>;
|
|
6275
|
+
/**
|
|
6276
|
+
*
|
|
6277
|
+
* @type {DeploymentHistoryActionStatus}
|
|
6278
|
+
* @memberof DeploymentHistoryEnvironmentV2
|
|
6279
|
+
*/
|
|
6280
|
+
'action_status': DeploymentHistoryActionStatus;
|
|
6256
6281
|
}
|
|
6257
6282
|
|
|
6258
6283
|
|
|
@@ -7037,6 +7062,33 @@ export interface DockerfileCheckResponse {
|
|
|
7037
7062
|
*/
|
|
7038
7063
|
'repositories'?: Array<string>;
|
|
7039
7064
|
}
|
|
7065
|
+
/**
|
|
7066
|
+
*
|
|
7067
|
+
* @export
|
|
7068
|
+
* @interface EnvDeploymentStatus
|
|
7069
|
+
*/
|
|
7070
|
+
export interface EnvDeploymentStatus {
|
|
7071
|
+
/**
|
|
7072
|
+
*
|
|
7073
|
+
* @type {string}
|
|
7074
|
+
* @memberof EnvDeploymentStatus
|
|
7075
|
+
*/
|
|
7076
|
+
'deployment_request_id'?: string;
|
|
7077
|
+
/**
|
|
7078
|
+
*
|
|
7079
|
+
* @type {string}
|
|
7080
|
+
* @memberof EnvDeploymentStatus
|
|
7081
|
+
*/
|
|
7082
|
+
'environment_id'?: string;
|
|
7083
|
+
/**
|
|
7084
|
+
*
|
|
7085
|
+
* @type {StateEnum}
|
|
7086
|
+
* @memberof EnvDeploymentStatus
|
|
7087
|
+
*/
|
|
7088
|
+
'status'?: StateEnum;
|
|
7089
|
+
}
|
|
7090
|
+
|
|
7091
|
+
|
|
7040
7092
|
/**
|
|
7041
7093
|
*
|
|
7042
7094
|
* @export
|
|
@@ -33442,6 +33494,50 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
33442
33494
|
|
|
33443
33495
|
|
|
33444
33496
|
|
|
33497
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33498
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33499
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33500
|
+
|
|
33501
|
+
return {
|
|
33502
|
+
url: toPathString(localVarUrlObj),
|
|
33503
|
+
options: localVarRequestOptions,
|
|
33504
|
+
};
|
|
33505
|
+
},
|
|
33506
|
+
/**
|
|
33507
|
+
*
|
|
33508
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
33509
|
+
* @param {string} deploymentRequestId
|
|
33510
|
+
* @param {*} [options] Override http request option.
|
|
33511
|
+
* @throws {RequiredError}
|
|
33512
|
+
*/
|
|
33513
|
+
getDeploymentStatusByDeploymentRequestId: async (deploymentRequestId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33514
|
+
// verify required parameter 'deploymentRequestId' is not null or undefined
|
|
33515
|
+
assertParamExists('getDeploymentStatusByDeploymentRequestId', 'deploymentRequestId', deploymentRequestId)
|
|
33516
|
+
const localVarPath = `/environment/deploymentStatus`;
|
|
33517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33518
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33519
|
+
let baseOptions;
|
|
33520
|
+
if (configuration) {
|
|
33521
|
+
baseOptions = configuration.baseOptions;
|
|
33522
|
+
}
|
|
33523
|
+
|
|
33524
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33525
|
+
const localVarHeaderParameter = {} as any;
|
|
33526
|
+
const localVarQueryParameter = {} as any;
|
|
33527
|
+
|
|
33528
|
+
// authentication ApiKeyAuth required
|
|
33529
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33530
|
+
|
|
33531
|
+
// authentication bearerAuth required
|
|
33532
|
+
// http bearer authentication required
|
|
33533
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33534
|
+
|
|
33535
|
+
if (deploymentRequestId !== undefined) {
|
|
33536
|
+
localVarQueryParameter['deploymentRequestId'] = deploymentRequestId;
|
|
33537
|
+
}
|
|
33538
|
+
|
|
33539
|
+
|
|
33540
|
+
|
|
33445
33541
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33446
33542
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33447
33543
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -33472,6 +33568,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
33472
33568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
|
|
33473
33569
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33474
33570
|
},
|
|
33571
|
+
/**
|
|
33572
|
+
*
|
|
33573
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
33574
|
+
* @param {string} deploymentRequestId
|
|
33575
|
+
* @param {*} [options] Override http request option.
|
|
33576
|
+
* @throws {RequiredError}
|
|
33577
|
+
*/
|
|
33578
|
+
async getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>> {
|
|
33579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
|
|
33580
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33581
|
+
},
|
|
33475
33582
|
}
|
|
33476
33583
|
};
|
|
33477
33584
|
|
|
@@ -33492,6 +33599,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
33492
33599
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response> {
|
|
33493
33600
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
33494
33601
|
},
|
|
33602
|
+
/**
|
|
33603
|
+
*
|
|
33604
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
33605
|
+
* @param {string} deploymentRequestId
|
|
33606
|
+
* @param {*} [options] Override http request option.
|
|
33607
|
+
* @throws {RequiredError}
|
|
33608
|
+
*/
|
|
33609
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus> {
|
|
33610
|
+
return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
|
|
33611
|
+
},
|
|
33495
33612
|
};
|
|
33496
33613
|
};
|
|
33497
33614
|
|
|
@@ -33513,6 +33630,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
33513
33630
|
public getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig) {
|
|
33514
33631
|
return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
33515
33632
|
}
|
|
33633
|
+
|
|
33634
|
+
/**
|
|
33635
|
+
*
|
|
33636
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
33637
|
+
* @param {string} deploymentRequestId
|
|
33638
|
+
* @param {*} [options] Override http request option.
|
|
33639
|
+
* @throws {RequiredError}
|
|
33640
|
+
* @memberof DefaultApi
|
|
33641
|
+
*/
|
|
33642
|
+
public getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig) {
|
|
33643
|
+
return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
|
|
33644
|
+
}
|
|
33516
33645
|
}
|
|
33517
33646
|
|
|
33518
33647
|
|
package/dist/api.d.ts
CHANGED
|
@@ -5746,6 +5746,21 @@ export interface DeploymentHistory {
|
|
|
5746
5746
|
*/
|
|
5747
5747
|
'status'?: DeploymentHistoryStatusEnum;
|
|
5748
5748
|
}
|
|
5749
|
+
/**
|
|
5750
|
+
*
|
|
5751
|
+
* @export
|
|
5752
|
+
* @enum {string}
|
|
5753
|
+
*/
|
|
5754
|
+
export declare const DeploymentHistoryActionStatus: {
|
|
5755
|
+
readonly QUEUED: "QUEUED";
|
|
5756
|
+
readonly ONGOING: "ONGOING";
|
|
5757
|
+
readonly SUCCESS: "SUCCESS";
|
|
5758
|
+
readonly ERROR: "ERROR";
|
|
5759
|
+
readonly CANCELED: "CANCELED";
|
|
5760
|
+
readonly CANCELING: "CANCELING";
|
|
5761
|
+
readonly NEVER: "NEVER";
|
|
5762
|
+
};
|
|
5763
|
+
export type DeploymentHistoryActionStatus = typeof DeploymentHistoryActionStatus[keyof typeof DeploymentHistoryActionStatus];
|
|
5749
5764
|
/**
|
|
5750
5765
|
*
|
|
5751
5766
|
* @export
|
|
@@ -6083,6 +6098,12 @@ export interface DeploymentHistoryEnvironmentV2 {
|
|
|
6083
6098
|
* @memberof DeploymentHistoryEnvironmentV2
|
|
6084
6099
|
*/
|
|
6085
6100
|
'stages': Array<DeploymentHistoryStage>;
|
|
6101
|
+
/**
|
|
6102
|
+
*
|
|
6103
|
+
* @type {DeploymentHistoryActionStatus}
|
|
6104
|
+
* @memberof DeploymentHistoryEnvironmentV2
|
|
6105
|
+
*/
|
|
6106
|
+
'action_status': DeploymentHistoryActionStatus;
|
|
6086
6107
|
}
|
|
6087
6108
|
/**
|
|
6088
6109
|
*
|
|
@@ -6831,6 +6852,31 @@ export interface DockerfileCheckResponse {
|
|
|
6831
6852
|
*/
|
|
6832
6853
|
'repositories'?: Array<string>;
|
|
6833
6854
|
}
|
|
6855
|
+
/**
|
|
6856
|
+
*
|
|
6857
|
+
* @export
|
|
6858
|
+
* @interface EnvDeploymentStatus
|
|
6859
|
+
*/
|
|
6860
|
+
export interface EnvDeploymentStatus {
|
|
6861
|
+
/**
|
|
6862
|
+
*
|
|
6863
|
+
* @type {string}
|
|
6864
|
+
* @memberof EnvDeploymentStatus
|
|
6865
|
+
*/
|
|
6866
|
+
'deployment_request_id'?: string;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {string}
|
|
6870
|
+
* @memberof EnvDeploymentStatus
|
|
6871
|
+
*/
|
|
6872
|
+
'environment_id'?: string;
|
|
6873
|
+
/**
|
|
6874
|
+
*
|
|
6875
|
+
* @type {StateEnum}
|
|
6876
|
+
* @memberof EnvDeploymentStatus
|
|
6877
|
+
*/
|
|
6878
|
+
'status'?: StateEnum;
|
|
6879
|
+
}
|
|
6834
6880
|
/**
|
|
6835
6881
|
*
|
|
6836
6882
|
* @export
|
|
@@ -23937,6 +23983,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23937
23983
|
* @throws {RequiredError}
|
|
23938
23984
|
*/
|
|
23939
23985
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23986
|
+
/**
|
|
23987
|
+
*
|
|
23988
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
23989
|
+
* @param {string} deploymentRequestId
|
|
23990
|
+
* @param {*} [options] Override http request option.
|
|
23991
|
+
* @throws {RequiredError}
|
|
23992
|
+
*/
|
|
23993
|
+
getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23940
23994
|
};
|
|
23941
23995
|
/**
|
|
23942
23996
|
* DefaultApi - functional programming interface
|
|
@@ -23951,6 +24005,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
23951
24005
|
* @throws {RequiredError}
|
|
23952
24006
|
*/
|
|
23953
24007
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
24008
|
+
/**
|
|
24009
|
+
*
|
|
24010
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
24011
|
+
* @param {string} deploymentRequestId
|
|
24012
|
+
* @param {*} [options] Override http request option.
|
|
24013
|
+
* @throws {RequiredError}
|
|
24014
|
+
*/
|
|
24015
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
|
|
23954
24016
|
};
|
|
23955
24017
|
/**
|
|
23956
24018
|
* DefaultApi - factory interface
|
|
@@ -23965,6 +24027,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
23965
24027
|
* @throws {RequiredError}
|
|
23966
24028
|
*/
|
|
23967
24029
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
24030
|
+
/**
|
|
24031
|
+
*
|
|
24032
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
24033
|
+
* @param {string} deploymentRequestId
|
|
24034
|
+
* @param {*} [options] Override http request option.
|
|
24035
|
+
* @throws {RequiredError}
|
|
24036
|
+
*/
|
|
24037
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
|
|
23968
24038
|
};
|
|
23969
24039
|
/**
|
|
23970
24040
|
* DefaultApi - object-oriented interface
|
|
@@ -23982,6 +24052,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
23982
24052
|
* @memberof DefaultApi
|
|
23983
24053
|
*/
|
|
23984
24054
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
24055
|
+
/**
|
|
24056
|
+
*
|
|
24057
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
24058
|
+
* @param {string} deploymentRequestId
|
|
24059
|
+
* @param {*} [options] Override http request option.
|
|
24060
|
+
* @throws {RequiredError}
|
|
24061
|
+
* @memberof DefaultApi
|
|
24062
|
+
*/
|
|
24063
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
|
|
23985
24064
|
}
|
|
23986
24065
|
/**
|
|
23987
24066
|
* DeploymentStageMainCallsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -22,15 +22,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = void 0;
|
|
25
|
+
exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CronJobResponseJobTypeEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AwsClusterCredentialsObjectTypeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.LinkedServiceTypeEnum = exports.LifecycleJobResponseJobTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.JobScheduleEvent = void 0;
|
|
27
|
+
exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationCustomDomainApi = exports.ApplicationCustomDomainApiFactory = void 0;
|
|
28
|
+
exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = void 0;
|
|
29
|
+
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 = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = void 0;
|
|
30
|
+
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 = 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 = void 0;
|
|
31
|
+
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 = 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 = void 0;
|
|
32
|
+
exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = 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 = 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 = void 0;
|
|
33
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = void 0;
|
|
34
34
|
const axios_1 = require("axios");
|
|
35
35
|
// Some imports not used depending on template conditions
|
|
36
36
|
// @ts-ignore
|
|
@@ -310,6 +310,20 @@ exports.DatabaseTypeEnum = {
|
|
|
310
310
|
POSTGRESQL: 'POSTGRESQL',
|
|
311
311
|
REDIS: 'REDIS'
|
|
312
312
|
};
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @export
|
|
316
|
+
* @enum {string}
|
|
317
|
+
*/
|
|
318
|
+
exports.DeploymentHistoryActionStatus = {
|
|
319
|
+
QUEUED: 'QUEUED',
|
|
320
|
+
ONGOING: 'ONGOING',
|
|
321
|
+
SUCCESS: 'SUCCESS',
|
|
322
|
+
ERROR: 'ERROR',
|
|
323
|
+
CANCELED: 'CANCELED',
|
|
324
|
+
CANCELING: 'CANCELING',
|
|
325
|
+
NEVER: 'NEVER'
|
|
326
|
+
};
|
|
313
327
|
exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = {
|
|
314
328
|
CRON: 'CRON',
|
|
315
329
|
LIFECYCLE: 'LIFECYCLE'
|
|
@@ -16498,6 +16512,42 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
16498
16512
|
options: localVarRequestOptions,
|
|
16499
16513
|
};
|
|
16500
16514
|
}),
|
|
16515
|
+
/**
|
|
16516
|
+
*
|
|
16517
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16518
|
+
* @param {string} deploymentRequestId
|
|
16519
|
+
* @param {*} [options] Override http request option.
|
|
16520
|
+
* @throws {RequiredError}
|
|
16521
|
+
*/
|
|
16522
|
+
getDeploymentStatusByDeploymentRequestId: (deploymentRequestId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16523
|
+
// verify required parameter 'deploymentRequestId' is not null or undefined
|
|
16524
|
+
(0, common_1.assertParamExists)('getDeploymentStatusByDeploymentRequestId', 'deploymentRequestId', deploymentRequestId);
|
|
16525
|
+
const localVarPath = `/environment/deploymentStatus`;
|
|
16526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16527
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16528
|
+
let baseOptions;
|
|
16529
|
+
if (configuration) {
|
|
16530
|
+
baseOptions = configuration.baseOptions;
|
|
16531
|
+
}
|
|
16532
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16533
|
+
const localVarHeaderParameter = {};
|
|
16534
|
+
const localVarQueryParameter = {};
|
|
16535
|
+
// authentication ApiKeyAuth required
|
|
16536
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16537
|
+
// authentication bearerAuth required
|
|
16538
|
+
// http bearer authentication required
|
|
16539
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16540
|
+
if (deploymentRequestId !== undefined) {
|
|
16541
|
+
localVarQueryParameter['deploymentRequestId'] = deploymentRequestId;
|
|
16542
|
+
}
|
|
16543
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16544
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16545
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16546
|
+
return {
|
|
16547
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16548
|
+
options: localVarRequestOptions,
|
|
16549
|
+
};
|
|
16550
|
+
}),
|
|
16501
16551
|
};
|
|
16502
16552
|
};
|
|
16503
16553
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -16521,6 +16571,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
16521
16571
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16522
16572
|
});
|
|
16523
16573
|
},
|
|
16574
|
+
/**
|
|
16575
|
+
*
|
|
16576
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16577
|
+
* @param {string} deploymentRequestId
|
|
16578
|
+
* @param {*} [options] Override http request option.
|
|
16579
|
+
* @throws {RequiredError}
|
|
16580
|
+
*/
|
|
16581
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
16582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16583
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
|
|
16584
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16585
|
+
});
|
|
16586
|
+
},
|
|
16524
16587
|
};
|
|
16525
16588
|
};
|
|
16526
16589
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -16541,6 +16604,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
16541
16604
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16542
16605
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
16543
16606
|
},
|
|
16607
|
+
/**
|
|
16608
|
+
*
|
|
16609
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16610
|
+
* @param {string} deploymentRequestId
|
|
16611
|
+
* @param {*} [options] Override http request option.
|
|
16612
|
+
* @throws {RequiredError}
|
|
16613
|
+
*/
|
|
16614
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
16615
|
+
return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
|
|
16616
|
+
},
|
|
16544
16617
|
};
|
|
16545
16618
|
};
|
|
16546
16619
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -16562,6 +16635,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
16562
16635
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16563
16636
|
return (0, exports.DefaultApiFp)(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
16564
16637
|
}
|
|
16638
|
+
/**
|
|
16639
|
+
*
|
|
16640
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16641
|
+
* @param {string} deploymentRequestId
|
|
16642
|
+
* @param {*} [options] Override http request option.
|
|
16643
|
+
* @throws {RequiredError}
|
|
16644
|
+
* @memberof DefaultApi
|
|
16645
|
+
*/
|
|
16646
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
16647
|
+
return (0, exports.DefaultApiFp)(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
|
|
16648
|
+
}
|
|
16565
16649
|
}
|
|
16566
16650
|
exports.DefaultApi = DefaultApi;
|
|
16567
16651
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -5746,6 +5746,21 @@ export interface DeploymentHistory {
|
|
|
5746
5746
|
*/
|
|
5747
5747
|
'status'?: DeploymentHistoryStatusEnum;
|
|
5748
5748
|
}
|
|
5749
|
+
/**
|
|
5750
|
+
*
|
|
5751
|
+
* @export
|
|
5752
|
+
* @enum {string}
|
|
5753
|
+
*/
|
|
5754
|
+
export declare const DeploymentHistoryActionStatus: {
|
|
5755
|
+
readonly QUEUED: "QUEUED";
|
|
5756
|
+
readonly ONGOING: "ONGOING";
|
|
5757
|
+
readonly SUCCESS: "SUCCESS";
|
|
5758
|
+
readonly ERROR: "ERROR";
|
|
5759
|
+
readonly CANCELED: "CANCELED";
|
|
5760
|
+
readonly CANCELING: "CANCELING";
|
|
5761
|
+
readonly NEVER: "NEVER";
|
|
5762
|
+
};
|
|
5763
|
+
export type DeploymentHistoryActionStatus = typeof DeploymentHistoryActionStatus[keyof typeof DeploymentHistoryActionStatus];
|
|
5749
5764
|
/**
|
|
5750
5765
|
*
|
|
5751
5766
|
* @export
|
|
@@ -6083,6 +6098,12 @@ export interface DeploymentHistoryEnvironmentV2 {
|
|
|
6083
6098
|
* @memberof DeploymentHistoryEnvironmentV2
|
|
6084
6099
|
*/
|
|
6085
6100
|
'stages': Array<DeploymentHistoryStage>;
|
|
6101
|
+
/**
|
|
6102
|
+
*
|
|
6103
|
+
* @type {DeploymentHistoryActionStatus}
|
|
6104
|
+
* @memberof DeploymentHistoryEnvironmentV2
|
|
6105
|
+
*/
|
|
6106
|
+
'action_status': DeploymentHistoryActionStatus;
|
|
6086
6107
|
}
|
|
6087
6108
|
/**
|
|
6088
6109
|
*
|
|
@@ -6831,6 +6852,31 @@ export interface DockerfileCheckResponse {
|
|
|
6831
6852
|
*/
|
|
6832
6853
|
'repositories'?: Array<string>;
|
|
6833
6854
|
}
|
|
6855
|
+
/**
|
|
6856
|
+
*
|
|
6857
|
+
* @export
|
|
6858
|
+
* @interface EnvDeploymentStatus
|
|
6859
|
+
*/
|
|
6860
|
+
export interface EnvDeploymentStatus {
|
|
6861
|
+
/**
|
|
6862
|
+
*
|
|
6863
|
+
* @type {string}
|
|
6864
|
+
* @memberof EnvDeploymentStatus
|
|
6865
|
+
*/
|
|
6866
|
+
'deployment_request_id'?: string;
|
|
6867
|
+
/**
|
|
6868
|
+
*
|
|
6869
|
+
* @type {string}
|
|
6870
|
+
* @memberof EnvDeploymentStatus
|
|
6871
|
+
*/
|
|
6872
|
+
'environment_id'?: string;
|
|
6873
|
+
/**
|
|
6874
|
+
*
|
|
6875
|
+
* @type {StateEnum}
|
|
6876
|
+
* @memberof EnvDeploymentStatus
|
|
6877
|
+
*/
|
|
6878
|
+
'status'?: StateEnum;
|
|
6879
|
+
}
|
|
6834
6880
|
/**
|
|
6835
6881
|
*
|
|
6836
6882
|
* @export
|
|
@@ -23937,6 +23983,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23937
23983
|
* @throws {RequiredError}
|
|
23938
23984
|
*/
|
|
23939
23985
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23986
|
+
/**
|
|
23987
|
+
*
|
|
23988
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
23989
|
+
* @param {string} deploymentRequestId
|
|
23990
|
+
* @param {*} [options] Override http request option.
|
|
23991
|
+
* @throws {RequiredError}
|
|
23992
|
+
*/
|
|
23993
|
+
getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23940
23994
|
};
|
|
23941
23995
|
/**
|
|
23942
23996
|
* DefaultApi - functional programming interface
|
|
@@ -23951,6 +24005,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
23951
24005
|
* @throws {RequiredError}
|
|
23952
24006
|
*/
|
|
23953
24007
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
24008
|
+
/**
|
|
24009
|
+
*
|
|
24010
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
24011
|
+
* @param {string} deploymentRequestId
|
|
24012
|
+
* @param {*} [options] Override http request option.
|
|
24013
|
+
* @throws {RequiredError}
|
|
24014
|
+
*/
|
|
24015
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
|
|
23954
24016
|
};
|
|
23955
24017
|
/**
|
|
23956
24018
|
* DefaultApi - factory interface
|
|
@@ -23965,6 +24027,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
23965
24027
|
* @throws {RequiredError}
|
|
23966
24028
|
*/
|
|
23967
24029
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
24030
|
+
/**
|
|
24031
|
+
*
|
|
24032
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
24033
|
+
* @param {string} deploymentRequestId
|
|
24034
|
+
* @param {*} [options] Override http request option.
|
|
24035
|
+
* @throws {RequiredError}
|
|
24036
|
+
*/
|
|
24037
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
|
|
23968
24038
|
};
|
|
23969
24039
|
/**
|
|
23970
24040
|
* DefaultApi - object-oriented interface
|
|
@@ -23982,6 +24052,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
23982
24052
|
* @memberof DefaultApi
|
|
23983
24053
|
*/
|
|
23984
24054
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
24055
|
+
/**
|
|
24056
|
+
*
|
|
24057
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
24058
|
+
* @param {string} deploymentRequestId
|
|
24059
|
+
* @param {*} [options] Override http request option.
|
|
24060
|
+
* @throws {RequiredError}
|
|
24061
|
+
* @memberof DefaultApi
|
|
24062
|
+
*/
|
|
24063
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
|
|
23985
24064
|
}
|
|
23986
24065
|
/**
|
|
23987
24066
|
* DeploymentStageMainCallsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -299,6 +299,20 @@ export const DatabaseTypeEnum = {
|
|
|
299
299
|
POSTGRESQL: 'POSTGRESQL',
|
|
300
300
|
REDIS: 'REDIS'
|
|
301
301
|
};
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @export
|
|
305
|
+
* @enum {string}
|
|
306
|
+
*/
|
|
307
|
+
export const DeploymentHistoryActionStatus = {
|
|
308
|
+
QUEUED: 'QUEUED',
|
|
309
|
+
ONGOING: 'ONGOING',
|
|
310
|
+
SUCCESS: 'SUCCESS',
|
|
311
|
+
ERROR: 'ERROR',
|
|
312
|
+
CANCELED: 'CANCELED',
|
|
313
|
+
CANCELING: 'CANCELING',
|
|
314
|
+
NEVER: 'NEVER'
|
|
315
|
+
};
|
|
302
316
|
export const DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = {
|
|
303
317
|
CRON: 'CRON',
|
|
304
318
|
LIFECYCLE: 'LIFECYCLE'
|
|
@@ -16363,6 +16377,42 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
16363
16377
|
options: localVarRequestOptions,
|
|
16364
16378
|
};
|
|
16365
16379
|
}),
|
|
16380
|
+
/**
|
|
16381
|
+
*
|
|
16382
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16383
|
+
* @param {string} deploymentRequestId
|
|
16384
|
+
* @param {*} [options] Override http request option.
|
|
16385
|
+
* @throws {RequiredError}
|
|
16386
|
+
*/
|
|
16387
|
+
getDeploymentStatusByDeploymentRequestId: (deploymentRequestId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16388
|
+
// verify required parameter 'deploymentRequestId' is not null or undefined
|
|
16389
|
+
assertParamExists('getDeploymentStatusByDeploymentRequestId', 'deploymentRequestId', deploymentRequestId);
|
|
16390
|
+
const localVarPath = `/environment/deploymentStatus`;
|
|
16391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16393
|
+
let baseOptions;
|
|
16394
|
+
if (configuration) {
|
|
16395
|
+
baseOptions = configuration.baseOptions;
|
|
16396
|
+
}
|
|
16397
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16398
|
+
const localVarHeaderParameter = {};
|
|
16399
|
+
const localVarQueryParameter = {};
|
|
16400
|
+
// authentication ApiKeyAuth required
|
|
16401
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16402
|
+
// authentication bearerAuth required
|
|
16403
|
+
// http bearer authentication required
|
|
16404
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16405
|
+
if (deploymentRequestId !== undefined) {
|
|
16406
|
+
localVarQueryParameter['deploymentRequestId'] = deploymentRequestId;
|
|
16407
|
+
}
|
|
16408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16410
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16411
|
+
return {
|
|
16412
|
+
url: toPathString(localVarUrlObj),
|
|
16413
|
+
options: localVarRequestOptions,
|
|
16414
|
+
};
|
|
16415
|
+
}),
|
|
16366
16416
|
};
|
|
16367
16417
|
};
|
|
16368
16418
|
/**
|
|
@@ -16385,6 +16435,19 @@ export const DefaultApiFp = function (configuration) {
|
|
|
16385
16435
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16386
16436
|
});
|
|
16387
16437
|
},
|
|
16438
|
+
/**
|
|
16439
|
+
*
|
|
16440
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16441
|
+
* @param {string} deploymentRequestId
|
|
16442
|
+
* @param {*} [options] Override http request option.
|
|
16443
|
+
* @throws {RequiredError}
|
|
16444
|
+
*/
|
|
16445
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
16446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16447
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
|
|
16448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16449
|
+
});
|
|
16450
|
+
},
|
|
16388
16451
|
};
|
|
16389
16452
|
};
|
|
16390
16453
|
/**
|
|
@@ -16404,6 +16467,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
16404
16467
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16405
16468
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
16406
16469
|
},
|
|
16470
|
+
/**
|
|
16471
|
+
*
|
|
16472
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16473
|
+
* @param {string} deploymentRequestId
|
|
16474
|
+
* @param {*} [options] Override http request option.
|
|
16475
|
+
* @throws {RequiredError}
|
|
16476
|
+
*/
|
|
16477
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
16478
|
+
return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
|
|
16479
|
+
},
|
|
16407
16480
|
};
|
|
16408
16481
|
};
|
|
16409
16482
|
/**
|
|
@@ -16424,6 +16497,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
16424
16497
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16425
16498
|
return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
16426
16499
|
}
|
|
16500
|
+
/**
|
|
16501
|
+
*
|
|
16502
|
+
* @summary Get Deployment Status By DeploymentRequestId
|
|
16503
|
+
* @param {string} deploymentRequestId
|
|
16504
|
+
* @param {*} [options] Override http request option.
|
|
16505
|
+
* @throws {RequiredError}
|
|
16506
|
+
* @memberof DefaultApi
|
|
16507
|
+
*/
|
|
16508
|
+
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
16509
|
+
return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
|
|
16510
|
+
}
|
|
16427
16511
|
}
|
|
16428
16512
|
/**
|
|
16429
16513
|
* DeploymentStageMainCallsApi - axios parameter creator
|