qovery-typescript-axios 1.1.861 → 1.1.862
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 +176 -2
- package/dist/api.d.ts +128 -2
- package/dist/api.js +85 -9
- package/dist/esm/api.d.ts +128 -2
- package/dist/esm/api.js +76 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -10366,17 +10366,74 @@ export interface EnvironmentOverviewResponse {
|
|
|
10366
10366
|
* @type {ClusterOverviewResponse}
|
|
10367
10367
|
* @memberof EnvironmentOverviewResponse
|
|
10368
10368
|
*/
|
|
10369
|
+
'cluster': ClusterOverviewResponse;
|
|
10370
|
+
/**
|
|
10371
|
+
*
|
|
10372
|
+
* @type {ServicesOverviewResponse}
|
|
10373
|
+
* @memberof EnvironmentOverviewResponse
|
|
10374
|
+
*/
|
|
10375
|
+
'services_overview': ServicesOverviewResponse;
|
|
10376
|
+
/**
|
|
10377
|
+
*
|
|
10378
|
+
* @type {EnvironmentStatus}
|
|
10379
|
+
* @memberof EnvironmentOverviewResponse
|
|
10380
|
+
*/
|
|
10381
|
+
'deployment_status'?: EnvironmentStatus | null;
|
|
10382
|
+
}
|
|
10383
|
+
|
|
10384
|
+
|
|
10385
|
+
/**
|
|
10386
|
+
*
|
|
10387
|
+
* @export
|
|
10388
|
+
* @interface EnvironmentOverviewResponseDeprecated
|
|
10389
|
+
*/
|
|
10390
|
+
export interface EnvironmentOverviewResponseDeprecated {
|
|
10391
|
+
/**
|
|
10392
|
+
*
|
|
10393
|
+
* @type {string}
|
|
10394
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10395
|
+
*/
|
|
10396
|
+
'id': string;
|
|
10397
|
+
/**
|
|
10398
|
+
*
|
|
10399
|
+
* @type {string}
|
|
10400
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10401
|
+
*/
|
|
10402
|
+
'created_at': string;
|
|
10403
|
+
/**
|
|
10404
|
+
*
|
|
10405
|
+
* @type {string}
|
|
10406
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10407
|
+
*/
|
|
10408
|
+
'updated_at': string;
|
|
10409
|
+
/**
|
|
10410
|
+
*
|
|
10411
|
+
* @type {string}
|
|
10412
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10413
|
+
*/
|
|
10414
|
+
'name': string;
|
|
10415
|
+
/**
|
|
10416
|
+
*
|
|
10417
|
+
* @type {EnvironmentModeEnum}
|
|
10418
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10419
|
+
*/
|
|
10420
|
+
'mode': EnvironmentModeEnum;
|
|
10421
|
+
/**
|
|
10422
|
+
*
|
|
10423
|
+
* @type {ClusterOverviewResponse}
|
|
10424
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10425
|
+
*/
|
|
10369
10426
|
'cluster'?: ClusterOverviewResponse;
|
|
10370
10427
|
/**
|
|
10371
10428
|
*
|
|
10372
10429
|
* @type {number}
|
|
10373
|
-
* @memberof
|
|
10430
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10374
10431
|
*/
|
|
10375
10432
|
'service_count': number;
|
|
10376
10433
|
/**
|
|
10377
10434
|
*
|
|
10378
10435
|
* @type {EnvironmentStatus}
|
|
10379
|
-
* @memberof
|
|
10436
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10380
10437
|
*/
|
|
10381
10438
|
'deployment_status'?: EnvironmentStatus;
|
|
10382
10439
|
}
|
|
@@ -10395,6 +10452,19 @@ export interface EnvironmentOverviewResponseList {
|
|
|
10395
10452
|
*/
|
|
10396
10453
|
'results'?: Array<EnvironmentOverviewResponse>;
|
|
10397
10454
|
}
|
|
10455
|
+
/**
|
|
10456
|
+
*
|
|
10457
|
+
* @export
|
|
10458
|
+
* @interface EnvironmentOverviewResponseListDeprecated
|
|
10459
|
+
*/
|
|
10460
|
+
export interface EnvironmentOverviewResponseListDeprecated {
|
|
10461
|
+
/**
|
|
10462
|
+
*
|
|
10463
|
+
* @type {Array<EnvironmentOverviewResponseDeprecated>}
|
|
10464
|
+
* @memberof EnvironmentOverviewResponseListDeprecated
|
|
10465
|
+
*/
|
|
10466
|
+
'results'?: Array<EnvironmentOverviewResponseDeprecated>;
|
|
10467
|
+
}
|
|
10398
10468
|
/**
|
|
10399
10469
|
*
|
|
10400
10470
|
* @export
|
|
@@ -19902,6 +19972,34 @@ export const ServiceTypeForVariableEnum = {
|
|
|
19902
19972
|
export type ServiceTypeForVariableEnum = typeof ServiceTypeForVariableEnum[keyof typeof ServiceTypeForVariableEnum];
|
|
19903
19973
|
|
|
19904
19974
|
|
|
19975
|
+
/**
|
|
19976
|
+
*
|
|
19977
|
+
* @export
|
|
19978
|
+
* @interface ServicesOverviewResponse
|
|
19979
|
+
*/
|
|
19980
|
+
export interface ServicesOverviewResponse {
|
|
19981
|
+
/**
|
|
19982
|
+
*
|
|
19983
|
+
* @type {number}
|
|
19984
|
+
* @memberof ServicesOverviewResponse
|
|
19985
|
+
*/
|
|
19986
|
+
'service_count': number;
|
|
19987
|
+
/**
|
|
19988
|
+
*
|
|
19989
|
+
* @type {string}
|
|
19990
|
+
* @memberof ServicesOverviewResponse
|
|
19991
|
+
*/
|
|
19992
|
+
'managed_by': ServicesOverviewResponseManagedByEnum;
|
|
19993
|
+
}
|
|
19994
|
+
|
|
19995
|
+
export const ServicesOverviewResponseManagedByEnum = {
|
|
19996
|
+
QOVERY: 'QOVERY',
|
|
19997
|
+
ARGOCD: 'ARGOCD',
|
|
19998
|
+
MIXED: 'MIXED'
|
|
19999
|
+
} as const;
|
|
20000
|
+
|
|
20001
|
+
export type ServicesOverviewResponseManagedByEnum = typeof ServicesOverviewResponseManagedByEnum[keyof typeof ServicesOverviewResponseManagedByEnum];
|
|
20002
|
+
|
|
19905
20003
|
/**
|
|
19906
20004
|
*
|
|
19907
20005
|
* @export
|
|
@@ -47786,6 +47884,47 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
47786
47884
|
getProjectEnvironmentsOverview: async (projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47787
47885
|
// verify required parameter 'projectId' is not null or undefined
|
|
47788
47886
|
assertParamExists('getProjectEnvironmentsOverview', 'projectId', projectId)
|
|
47887
|
+
const localVarPath = `/project/{projectId}/environment/overview`
|
|
47888
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
47889
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47891
|
+
let baseOptions;
|
|
47892
|
+
if (configuration) {
|
|
47893
|
+
baseOptions = configuration.baseOptions;
|
|
47894
|
+
}
|
|
47895
|
+
|
|
47896
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47897
|
+
const localVarHeaderParameter = {} as any;
|
|
47898
|
+
const localVarQueryParameter = {} as any;
|
|
47899
|
+
|
|
47900
|
+
// authentication ApiKeyAuth required
|
|
47901
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
47902
|
+
|
|
47903
|
+
// authentication bearerAuth required
|
|
47904
|
+
// http bearer authentication required
|
|
47905
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
47906
|
+
|
|
47907
|
+
|
|
47908
|
+
|
|
47909
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47910
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47911
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47912
|
+
|
|
47913
|
+
return {
|
|
47914
|
+
url: toPathString(localVarUrlObj),
|
|
47915
|
+
options: localVarRequestOptions,
|
|
47916
|
+
};
|
|
47917
|
+
},
|
|
47918
|
+
/**
|
|
47919
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
47920
|
+
* @summary List environments overview
|
|
47921
|
+
* @param {string} projectId Project ID
|
|
47922
|
+
* @param {*} [options] Override http request option.
|
|
47923
|
+
* @throws {RequiredError}
|
|
47924
|
+
*/
|
|
47925
|
+
getProjectEnvironmentsOverviewDeprecated: async (projectId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47926
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
47927
|
+
assertParamExists('getProjectEnvironmentsOverviewDeprecated', 'projectId', projectId)
|
|
47789
47928
|
const localVarPath = `/project/{projectId}/environmentOverview`
|
|
47790
47929
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
47791
47930
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -47949,6 +48088,19 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
|
|
|
47949
48088
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverview']?.[localVarOperationServerIndex]?.url;
|
|
47950
48089
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
47951
48090
|
},
|
|
48091
|
+
/**
|
|
48092
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
48093
|
+
* @summary List environments overview
|
|
48094
|
+
* @param {string} projectId Project ID
|
|
48095
|
+
* @param {*} [options] Override http request option.
|
|
48096
|
+
* @throws {RequiredError}
|
|
48097
|
+
*/
|
|
48098
|
+
async getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseListDeprecated>> {
|
|
48099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getProjectEnvironmentsOverviewDeprecated(projectId, options);
|
|
48100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48101
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverviewDeprecated']?.[localVarOperationServerIndex]?.url;
|
|
48102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48103
|
+
},
|
|
47952
48104
|
/**
|
|
47953
48105
|
* Returns a list of environments with only their id and status.
|
|
47954
48106
|
* @summary List environments statuses
|
|
@@ -48016,6 +48168,16 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
|
|
|
48016
48168
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList> {
|
|
48017
48169
|
return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
|
|
48018
48170
|
},
|
|
48171
|
+
/**
|
|
48172
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
48173
|
+
* @summary List environments overview
|
|
48174
|
+
* @param {string} projectId Project ID
|
|
48175
|
+
* @param {*} [options] Override http request option.
|
|
48176
|
+
* @throws {RequiredError}
|
|
48177
|
+
*/
|
|
48178
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseListDeprecated> {
|
|
48179
|
+
return localVarFp.getProjectEnvironmentsOverviewDeprecated(projectId, options).then((request) => request(axios, basePath));
|
|
48180
|
+
},
|
|
48019
48181
|
/**
|
|
48020
48182
|
* Returns a list of environments with only their id and status.
|
|
48021
48183
|
* @summary List environments statuses
|
|
@@ -48083,6 +48245,18 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
48083
48245
|
return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
48084
48246
|
}
|
|
48085
48247
|
|
|
48248
|
+
/**
|
|
48249
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
48250
|
+
* @summary List environments overview
|
|
48251
|
+
* @param {string} projectId Project ID
|
|
48252
|
+
* @param {*} [options] Override http request option.
|
|
48253
|
+
* @throws {RequiredError}
|
|
48254
|
+
* @memberof EnvironmentsApi
|
|
48255
|
+
*/
|
|
48256
|
+
public getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig) {
|
|
48257
|
+
return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverviewDeprecated(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
48258
|
+
}
|
|
48259
|
+
|
|
48086
48260
|
/**
|
|
48087
48261
|
* Returns a list of environments with only their id and status.
|
|
48088
48262
|
* @summary List environments statuses
|
package/dist/api.d.ts
CHANGED
|
@@ -10048,17 +10048,72 @@ export interface EnvironmentOverviewResponse {
|
|
|
10048
10048
|
* @type {ClusterOverviewResponse}
|
|
10049
10049
|
* @memberof EnvironmentOverviewResponse
|
|
10050
10050
|
*/
|
|
10051
|
+
'cluster': ClusterOverviewResponse;
|
|
10052
|
+
/**
|
|
10053
|
+
*
|
|
10054
|
+
* @type {ServicesOverviewResponse}
|
|
10055
|
+
* @memberof EnvironmentOverviewResponse
|
|
10056
|
+
*/
|
|
10057
|
+
'services_overview': ServicesOverviewResponse;
|
|
10058
|
+
/**
|
|
10059
|
+
*
|
|
10060
|
+
* @type {EnvironmentStatus}
|
|
10061
|
+
* @memberof EnvironmentOverviewResponse
|
|
10062
|
+
*/
|
|
10063
|
+
'deployment_status'?: EnvironmentStatus | null;
|
|
10064
|
+
}
|
|
10065
|
+
/**
|
|
10066
|
+
*
|
|
10067
|
+
* @export
|
|
10068
|
+
* @interface EnvironmentOverviewResponseDeprecated
|
|
10069
|
+
*/
|
|
10070
|
+
export interface EnvironmentOverviewResponseDeprecated {
|
|
10071
|
+
/**
|
|
10072
|
+
*
|
|
10073
|
+
* @type {string}
|
|
10074
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10075
|
+
*/
|
|
10076
|
+
'id': string;
|
|
10077
|
+
/**
|
|
10078
|
+
*
|
|
10079
|
+
* @type {string}
|
|
10080
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10081
|
+
*/
|
|
10082
|
+
'created_at': string;
|
|
10083
|
+
/**
|
|
10084
|
+
*
|
|
10085
|
+
* @type {string}
|
|
10086
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10087
|
+
*/
|
|
10088
|
+
'updated_at': string;
|
|
10089
|
+
/**
|
|
10090
|
+
*
|
|
10091
|
+
* @type {string}
|
|
10092
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10093
|
+
*/
|
|
10094
|
+
'name': string;
|
|
10095
|
+
/**
|
|
10096
|
+
*
|
|
10097
|
+
* @type {EnvironmentModeEnum}
|
|
10098
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10099
|
+
*/
|
|
10100
|
+
'mode': EnvironmentModeEnum;
|
|
10101
|
+
/**
|
|
10102
|
+
*
|
|
10103
|
+
* @type {ClusterOverviewResponse}
|
|
10104
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10105
|
+
*/
|
|
10051
10106
|
'cluster'?: ClusterOverviewResponse;
|
|
10052
10107
|
/**
|
|
10053
10108
|
*
|
|
10054
10109
|
* @type {number}
|
|
10055
|
-
* @memberof
|
|
10110
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10056
10111
|
*/
|
|
10057
10112
|
'service_count': number;
|
|
10058
10113
|
/**
|
|
10059
10114
|
*
|
|
10060
10115
|
* @type {EnvironmentStatus}
|
|
10061
|
-
* @memberof
|
|
10116
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10062
10117
|
*/
|
|
10063
10118
|
'deployment_status'?: EnvironmentStatus;
|
|
10064
10119
|
}
|
|
@@ -10075,6 +10130,19 @@ export interface EnvironmentOverviewResponseList {
|
|
|
10075
10130
|
*/
|
|
10076
10131
|
'results'?: Array<EnvironmentOverviewResponse>;
|
|
10077
10132
|
}
|
|
10133
|
+
/**
|
|
10134
|
+
*
|
|
10135
|
+
* @export
|
|
10136
|
+
* @interface EnvironmentOverviewResponseListDeprecated
|
|
10137
|
+
*/
|
|
10138
|
+
export interface EnvironmentOverviewResponseListDeprecated {
|
|
10139
|
+
/**
|
|
10140
|
+
*
|
|
10141
|
+
* @type {Array<EnvironmentOverviewResponseDeprecated>}
|
|
10142
|
+
* @memberof EnvironmentOverviewResponseListDeprecated
|
|
10143
|
+
*/
|
|
10144
|
+
'results'?: Array<EnvironmentOverviewResponseDeprecated>;
|
|
10145
|
+
}
|
|
10078
10146
|
/**
|
|
10079
10147
|
*
|
|
10080
10148
|
* @export
|
|
@@ -19264,6 +19332,31 @@ export declare const ServiceTypeForVariableEnum: {
|
|
|
19264
19332
|
readonly TERRAFORM: "TERRAFORM";
|
|
19265
19333
|
};
|
|
19266
19334
|
export type ServiceTypeForVariableEnum = typeof ServiceTypeForVariableEnum[keyof typeof ServiceTypeForVariableEnum];
|
|
19335
|
+
/**
|
|
19336
|
+
*
|
|
19337
|
+
* @export
|
|
19338
|
+
* @interface ServicesOverviewResponse
|
|
19339
|
+
*/
|
|
19340
|
+
export interface ServicesOverviewResponse {
|
|
19341
|
+
/**
|
|
19342
|
+
*
|
|
19343
|
+
* @type {number}
|
|
19344
|
+
* @memberof ServicesOverviewResponse
|
|
19345
|
+
*/
|
|
19346
|
+
'service_count': number;
|
|
19347
|
+
/**
|
|
19348
|
+
*
|
|
19349
|
+
* @type {string}
|
|
19350
|
+
* @memberof ServicesOverviewResponse
|
|
19351
|
+
*/
|
|
19352
|
+
'managed_by': ServicesOverviewResponseManagedByEnum;
|
|
19353
|
+
}
|
|
19354
|
+
export declare const ServicesOverviewResponseManagedByEnum: {
|
|
19355
|
+
readonly QOVERY: "QOVERY";
|
|
19356
|
+
readonly ARGOCD: "ARGOCD";
|
|
19357
|
+
readonly MIXED: "MIXED";
|
|
19358
|
+
};
|
|
19359
|
+
export type ServicesOverviewResponseManagedByEnum = typeof ServicesOverviewResponseManagedByEnum[keyof typeof ServicesOverviewResponseManagedByEnum];
|
|
19267
19360
|
/**
|
|
19268
19361
|
*
|
|
19269
19362
|
* @export
|
|
@@ -33250,6 +33343,14 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
|
|
|
33250
33343
|
* @throws {RequiredError}
|
|
33251
33344
|
*/
|
|
33252
33345
|
getProjectEnvironmentsOverview: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33346
|
+
/**
|
|
33347
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33348
|
+
* @summary List environments overview
|
|
33349
|
+
* @param {string} projectId Project ID
|
|
33350
|
+
* @param {*} [options] Override http request option.
|
|
33351
|
+
* @throws {RequiredError}
|
|
33352
|
+
*/
|
|
33353
|
+
getProjectEnvironmentsOverviewDeprecated: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33253
33354
|
/**
|
|
33254
33355
|
* Returns a list of environments with only their id and status.
|
|
33255
33356
|
* @summary List environments statuses
|
|
@@ -33297,6 +33398,14 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
|
|
|
33297
33398
|
* @throws {RequiredError}
|
|
33298
33399
|
*/
|
|
33299
33400
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseList>>;
|
|
33401
|
+
/**
|
|
33402
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33403
|
+
* @summary List environments overview
|
|
33404
|
+
* @param {string} projectId Project ID
|
|
33405
|
+
* @param {*} [options] Override http request option.
|
|
33406
|
+
* @throws {RequiredError}
|
|
33407
|
+
*/
|
|
33408
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseListDeprecated>>;
|
|
33300
33409
|
/**
|
|
33301
33410
|
* Returns a list of environments with only their id and status.
|
|
33302
33411
|
* @summary List environments statuses
|
|
@@ -33344,6 +33453,14 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
|
|
|
33344
33453
|
* @throws {RequiredError}
|
|
33345
33454
|
*/
|
|
33346
33455
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList>;
|
|
33456
|
+
/**
|
|
33457
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33458
|
+
* @summary List environments overview
|
|
33459
|
+
* @param {string} projectId Project ID
|
|
33460
|
+
* @param {*} [options] Override http request option.
|
|
33461
|
+
* @throws {RequiredError}
|
|
33462
|
+
*/
|
|
33463
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseListDeprecated>;
|
|
33347
33464
|
/**
|
|
33348
33465
|
* Returns a list of environments with only their id and status.
|
|
33349
33466
|
* @summary List environments statuses
|
|
@@ -33396,6 +33513,15 @@ export declare class EnvironmentsApi extends BaseAPI {
|
|
|
33396
33513
|
* @memberof EnvironmentsApi
|
|
33397
33514
|
*/
|
|
33398
33515
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentOverviewResponseList, any, {}>>;
|
|
33516
|
+
/**
|
|
33517
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33518
|
+
* @summary List environments overview
|
|
33519
|
+
* @param {string} projectId Project ID
|
|
33520
|
+
* @param {*} [options] Override http request option.
|
|
33521
|
+
* @throws {RequiredError}
|
|
33522
|
+
* @memberof EnvironmentsApi
|
|
33523
|
+
*/
|
|
33524
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentOverviewResponseListDeprecated, any, {}>>;
|
|
33399
33525
|
/**
|
|
33400
33526
|
* Returns a list of environments with only their id and status.
|
|
33401
33527
|
* @summary List environments statuses
|
package/dist/api.js
CHANGED
|
@@ -24,15 +24,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.DatabaseModeEnum = exports.DatabaseEditRequestDiskTypeEnum = exports.DatabaseAccessibilityEnum = exports.DatabaseDiskTypeEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerRegistryAssociatedServiceType = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentTopologySpreadZoneEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.ClusterAdvancedSettingsAwsEksEfsTransitionToIaEnum = exports.ClusterAdvancedSettingsAwsEksEfsPerformanceModeEnum = exports.ClusterAdvancedSettingsAwsEksEfsThroughputModeEnum = exports.CloudVendorEnum = exports.CloudProviderEnum = exports.CheckedCustomDomainStatus = exports.BuildModeEnum = exports.AzureStaticClusterCredentialsObjectTypeEnum = exports.AwsStaticCredentialsRequestTypeEnum = exports.AwsStaticClusterCredentialsObjectTypeEnum = exports.AwsRoleCredentialsRequestTypeEnum = exports.AwsRoleClusterCredentialsObjectTypeEnum = exports.AutoscalingMode = exports.ArgoCdConnectionCheckResponseReasonEnum = exports.ArgoCdConnectionCheckResponseStatusEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentTopologySpreadZoneEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.AlertTargetType = exports.AlertSeverity = exports.AlertRuleState = exports.AlertRuleSource = exports.AlertRuleConditionOperator = exports.AlertRuleConditionKind = exports.AlertRuleConditionFunction = exports.AlertReceiverType = exports.AksInfrastructureOutputsKindEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
26
|
exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.ObservabilityResourceProfile = exports.MetricsConfigurationManagedByQoveryKindEnum = exports.LinkedServiceTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.KedaScalerRole = exports.KarpenterNodePoolRequirementOperator = exports.KarpenterNodePoolRequirementKey = exports.KapsuleInfrastructureOutputsKindEnum = exports.JobTypeEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmRepositoryAssociatedServiceType = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GkeInfrastructureOutputsKindEnum = exports.GitWebhookStatusResponseProviderEnum = exports.GitWebhookStatusResponseStatusEnum = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.GenericClusterCredentialsObjectTypeEnum = exports.GcpStaticClusterCredentialsObjectTypeEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.EnvironmentDeploymentStatusEnum = exports.EksInfrastructureOutputsKindEnum = exports.EksAnywhereVsphereStaticCredentialsRequestTypeEnum = exports.EksAnywhereVsphereRoleCredentialsRequestTypeEnum = exports.EksAnywhereVsphereClusterCredentialsObjectTypeEnum = exports.DockerfileFragmentInlineTypeEnum = exports.DockerfileFragmentFileTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryTriggerAction = exports.DeploymentHistoryStatusEnum = exports.DeploymentHistoryServiceDetailsOneOf2JobTypeEnum = exports.DeploymentHistoryActionStatus = exports.DeleteTerraformAction = exports.DatabaseTypeEnum = void 0;
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
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.TerraformResourcesApi = void 0;
|
|
27
|
+
exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AlertRulesApi = exports.AlertRulesApiFactory = exports.AlertRulesApiFp = exports.AlertRulesApiAxiosParamCreator = exports.AlertReceiversApi = exports.AlertReceiversApiFactory = exports.AlertReceiversApiFp = exports.AlertReceiversApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.TfVarsDiscoveryModeSpecificPathsTypeEnum = exports.TfVarsDiscoveryModeAutoDiscoverTypeEnum = exports.TerraformResourceResponseModeEnum = exports.TerraformEngineEnum = exports.TerraformDeployRequestActionEnum = exports.TerraformAutoDeployConfigTerraformActionEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.StageStatusEnum = exports.ServicesOverviewResponseManagedByEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceSubActionEnum = exports.ServiceStepMetricNameEnum = exports.ServiceLightResponseJobTypeEnum = exports.ServiceDeploymentStatusEnum = exports.ServiceActionStatusEnum = exports.ServiceActionEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.QueuedDeploymentRequestWithStagesStagesInnerServicesInnerDetailsOneOfJobTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventTargetLevel = exports.OrganizationEventSubTargetType = void 0;
|
|
28
|
+
exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ArgoCDApi = exports.ArgoCDApiFactory = exports.ArgoCDApiFp = exports.ArgoCDApiAxiosParamCreator = 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 = exports.ApplicationCustomDomainApiFp = exports.ApplicationCustomDomainApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = void 0;
|
|
29
|
+
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 = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.ListAzureAKSInstanceTypeGpuEnum = exports.ListAWSEKSInstanceTypeGpuEnum = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = void 0;
|
|
30
|
+
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.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = 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 = 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 = void 0;
|
|
31
|
+
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 = exports.EnvironmentDeploymentRuleApi = void 0;
|
|
32
|
+
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 = exports.HelmDeploymentRestrictionApiFp = void 0;
|
|
33
|
+
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.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = 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 = exports.LifecycleTemplateMainCallsApi = void 0;
|
|
34
|
+
exports.TerraformResourcesApiFp = exports.TerraformResourcesApiAxiosParamCreator = 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.ServiceMainCallsApi = exports.ServiceMainCallsApiFactory = exports.ServiceMainCallsApiFp = exports.ServiceMainCallsApiAxiosParamCreator = 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 = void 0;
|
|
35
|
+
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.TerraformResourcesApi = exports.TerraformResourcesApiFactory = void 0;
|
|
36
36
|
const axios_1 = require("axios");
|
|
37
37
|
// Some imports not used depending on template conditions
|
|
38
38
|
// @ts-ignore
|
|
@@ -1216,6 +1216,11 @@ exports.ServiceTypeForVariableEnum = {
|
|
|
1216
1216
|
HELM: 'HELM',
|
|
1217
1217
|
TERRAFORM: 'TERRAFORM'
|
|
1218
1218
|
};
|
|
1219
|
+
exports.ServicesOverviewResponseManagedByEnum = {
|
|
1220
|
+
QOVERY: 'QOVERY',
|
|
1221
|
+
ARGOCD: 'ARGOCD',
|
|
1222
|
+
MIXED: 'MIXED'
|
|
1223
|
+
};
|
|
1219
1224
|
/**
|
|
1220
1225
|
*
|
|
1221
1226
|
* @export
|
|
@@ -25165,6 +25170,40 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
25165
25170
|
getProjectEnvironmentsOverview: (projectId_1, ...args_1) => __awaiter(this, [projectId_1, ...args_1], void 0, function* (projectId, options = {}) {
|
|
25166
25171
|
// verify required parameter 'projectId' is not null or undefined
|
|
25167
25172
|
(0, common_1.assertParamExists)('getProjectEnvironmentsOverview', 'projectId', projectId);
|
|
25173
|
+
const localVarPath = `/project/{projectId}/environment/overview`
|
|
25174
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
25175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25176
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25177
|
+
let baseOptions;
|
|
25178
|
+
if (configuration) {
|
|
25179
|
+
baseOptions = configuration.baseOptions;
|
|
25180
|
+
}
|
|
25181
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25182
|
+
const localVarHeaderParameter = {};
|
|
25183
|
+
const localVarQueryParameter = {};
|
|
25184
|
+
// authentication ApiKeyAuth required
|
|
25185
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25186
|
+
// authentication bearerAuth required
|
|
25187
|
+
// http bearer authentication required
|
|
25188
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
25189
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25191
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25192
|
+
return {
|
|
25193
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25194
|
+
options: localVarRequestOptions,
|
|
25195
|
+
};
|
|
25196
|
+
}),
|
|
25197
|
+
/**
|
|
25198
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25199
|
+
* @summary List environments overview
|
|
25200
|
+
* @param {string} projectId Project ID
|
|
25201
|
+
* @param {*} [options] Override http request option.
|
|
25202
|
+
* @throws {RequiredError}
|
|
25203
|
+
*/
|
|
25204
|
+
getProjectEnvironmentsOverviewDeprecated: (projectId_1, ...args_1) => __awaiter(this, [projectId_1, ...args_1], void 0, function* (projectId, options = {}) {
|
|
25205
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
25206
|
+
(0, common_1.assertParamExists)('getProjectEnvironmentsOverviewDeprecated', 'projectId', projectId);
|
|
25168
25207
|
const localVarPath = `/project/{projectId}/environmentOverview`
|
|
25169
25208
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
25170
25209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25316,6 +25355,22 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
25316
25355
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25317
25356
|
});
|
|
25318
25357
|
},
|
|
25358
|
+
/**
|
|
25359
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25360
|
+
* @summary List environments overview
|
|
25361
|
+
* @param {string} projectId Project ID
|
|
25362
|
+
* @param {*} [options] Override http request option.
|
|
25363
|
+
* @throws {RequiredError}
|
|
25364
|
+
*/
|
|
25365
|
+
getProjectEnvironmentsOverviewDeprecated(projectId, options) {
|
|
25366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25367
|
+
var _a, _b, _c;
|
|
25368
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEnvironmentsOverviewDeprecated(projectId, options);
|
|
25369
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25370
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverviewDeprecated']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25371
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25372
|
+
});
|
|
25373
|
+
},
|
|
25319
25374
|
/**
|
|
25320
25375
|
* Returns a list of environments with only their id and status.
|
|
25321
25376
|
* @summary List environments statuses
|
|
@@ -25389,6 +25444,16 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
25389
25444
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25390
25445
|
return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
|
|
25391
25446
|
},
|
|
25447
|
+
/**
|
|
25448
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25449
|
+
* @summary List environments overview
|
|
25450
|
+
* @param {string} projectId Project ID
|
|
25451
|
+
* @param {*} [options] Override http request option.
|
|
25452
|
+
* @throws {RequiredError}
|
|
25453
|
+
*/
|
|
25454
|
+
getProjectEnvironmentsOverviewDeprecated(projectId, options) {
|
|
25455
|
+
return localVarFp.getProjectEnvironmentsOverviewDeprecated(projectId, options).then((request) => request(axios, basePath));
|
|
25456
|
+
},
|
|
25392
25457
|
/**
|
|
25393
25458
|
* Returns a list of environments with only their id and status.
|
|
25394
25459
|
* @summary List environments statuses
|
|
@@ -25453,6 +25518,17 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
25453
25518
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25454
25519
|
return (0, exports.EnvironmentsApiFp)(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
25455
25520
|
}
|
|
25521
|
+
/**
|
|
25522
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25523
|
+
* @summary List environments overview
|
|
25524
|
+
* @param {string} projectId Project ID
|
|
25525
|
+
* @param {*} [options] Override http request option.
|
|
25526
|
+
* @throws {RequiredError}
|
|
25527
|
+
* @memberof EnvironmentsApi
|
|
25528
|
+
*/
|
|
25529
|
+
getProjectEnvironmentsOverviewDeprecated(projectId, options) {
|
|
25530
|
+
return (0, exports.EnvironmentsApiFp)(this.configuration).getProjectEnvironmentsOverviewDeprecated(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
25531
|
+
}
|
|
25456
25532
|
/**
|
|
25457
25533
|
* Returns a list of environments with only their id and status.
|
|
25458
25534
|
* @summary List environments statuses
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -10048,17 +10048,72 @@ export interface EnvironmentOverviewResponse {
|
|
|
10048
10048
|
* @type {ClusterOverviewResponse}
|
|
10049
10049
|
* @memberof EnvironmentOverviewResponse
|
|
10050
10050
|
*/
|
|
10051
|
+
'cluster': ClusterOverviewResponse;
|
|
10052
|
+
/**
|
|
10053
|
+
*
|
|
10054
|
+
* @type {ServicesOverviewResponse}
|
|
10055
|
+
* @memberof EnvironmentOverviewResponse
|
|
10056
|
+
*/
|
|
10057
|
+
'services_overview': ServicesOverviewResponse;
|
|
10058
|
+
/**
|
|
10059
|
+
*
|
|
10060
|
+
* @type {EnvironmentStatus}
|
|
10061
|
+
* @memberof EnvironmentOverviewResponse
|
|
10062
|
+
*/
|
|
10063
|
+
'deployment_status'?: EnvironmentStatus | null;
|
|
10064
|
+
}
|
|
10065
|
+
/**
|
|
10066
|
+
*
|
|
10067
|
+
* @export
|
|
10068
|
+
* @interface EnvironmentOverviewResponseDeprecated
|
|
10069
|
+
*/
|
|
10070
|
+
export interface EnvironmentOverviewResponseDeprecated {
|
|
10071
|
+
/**
|
|
10072
|
+
*
|
|
10073
|
+
* @type {string}
|
|
10074
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10075
|
+
*/
|
|
10076
|
+
'id': string;
|
|
10077
|
+
/**
|
|
10078
|
+
*
|
|
10079
|
+
* @type {string}
|
|
10080
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10081
|
+
*/
|
|
10082
|
+
'created_at': string;
|
|
10083
|
+
/**
|
|
10084
|
+
*
|
|
10085
|
+
* @type {string}
|
|
10086
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10087
|
+
*/
|
|
10088
|
+
'updated_at': string;
|
|
10089
|
+
/**
|
|
10090
|
+
*
|
|
10091
|
+
* @type {string}
|
|
10092
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10093
|
+
*/
|
|
10094
|
+
'name': string;
|
|
10095
|
+
/**
|
|
10096
|
+
*
|
|
10097
|
+
* @type {EnvironmentModeEnum}
|
|
10098
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10099
|
+
*/
|
|
10100
|
+
'mode': EnvironmentModeEnum;
|
|
10101
|
+
/**
|
|
10102
|
+
*
|
|
10103
|
+
* @type {ClusterOverviewResponse}
|
|
10104
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10105
|
+
*/
|
|
10051
10106
|
'cluster'?: ClusterOverviewResponse;
|
|
10052
10107
|
/**
|
|
10053
10108
|
*
|
|
10054
10109
|
* @type {number}
|
|
10055
|
-
* @memberof
|
|
10110
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10056
10111
|
*/
|
|
10057
10112
|
'service_count': number;
|
|
10058
10113
|
/**
|
|
10059
10114
|
*
|
|
10060
10115
|
* @type {EnvironmentStatus}
|
|
10061
|
-
* @memberof
|
|
10116
|
+
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10062
10117
|
*/
|
|
10063
10118
|
'deployment_status'?: EnvironmentStatus;
|
|
10064
10119
|
}
|
|
@@ -10075,6 +10130,19 @@ export interface EnvironmentOverviewResponseList {
|
|
|
10075
10130
|
*/
|
|
10076
10131
|
'results'?: Array<EnvironmentOverviewResponse>;
|
|
10077
10132
|
}
|
|
10133
|
+
/**
|
|
10134
|
+
*
|
|
10135
|
+
* @export
|
|
10136
|
+
* @interface EnvironmentOverviewResponseListDeprecated
|
|
10137
|
+
*/
|
|
10138
|
+
export interface EnvironmentOverviewResponseListDeprecated {
|
|
10139
|
+
/**
|
|
10140
|
+
*
|
|
10141
|
+
* @type {Array<EnvironmentOverviewResponseDeprecated>}
|
|
10142
|
+
* @memberof EnvironmentOverviewResponseListDeprecated
|
|
10143
|
+
*/
|
|
10144
|
+
'results'?: Array<EnvironmentOverviewResponseDeprecated>;
|
|
10145
|
+
}
|
|
10078
10146
|
/**
|
|
10079
10147
|
*
|
|
10080
10148
|
* @export
|
|
@@ -19264,6 +19332,31 @@ export declare const ServiceTypeForVariableEnum: {
|
|
|
19264
19332
|
readonly TERRAFORM: "TERRAFORM";
|
|
19265
19333
|
};
|
|
19266
19334
|
export type ServiceTypeForVariableEnum = typeof ServiceTypeForVariableEnum[keyof typeof ServiceTypeForVariableEnum];
|
|
19335
|
+
/**
|
|
19336
|
+
*
|
|
19337
|
+
* @export
|
|
19338
|
+
* @interface ServicesOverviewResponse
|
|
19339
|
+
*/
|
|
19340
|
+
export interface ServicesOverviewResponse {
|
|
19341
|
+
/**
|
|
19342
|
+
*
|
|
19343
|
+
* @type {number}
|
|
19344
|
+
* @memberof ServicesOverviewResponse
|
|
19345
|
+
*/
|
|
19346
|
+
'service_count': number;
|
|
19347
|
+
/**
|
|
19348
|
+
*
|
|
19349
|
+
* @type {string}
|
|
19350
|
+
* @memberof ServicesOverviewResponse
|
|
19351
|
+
*/
|
|
19352
|
+
'managed_by': ServicesOverviewResponseManagedByEnum;
|
|
19353
|
+
}
|
|
19354
|
+
export declare const ServicesOverviewResponseManagedByEnum: {
|
|
19355
|
+
readonly QOVERY: "QOVERY";
|
|
19356
|
+
readonly ARGOCD: "ARGOCD";
|
|
19357
|
+
readonly MIXED: "MIXED";
|
|
19358
|
+
};
|
|
19359
|
+
export type ServicesOverviewResponseManagedByEnum = typeof ServicesOverviewResponseManagedByEnum[keyof typeof ServicesOverviewResponseManagedByEnum];
|
|
19267
19360
|
/**
|
|
19268
19361
|
*
|
|
19269
19362
|
* @export
|
|
@@ -33250,6 +33343,14 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
|
|
|
33250
33343
|
* @throws {RequiredError}
|
|
33251
33344
|
*/
|
|
33252
33345
|
getProjectEnvironmentsOverview: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33346
|
+
/**
|
|
33347
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33348
|
+
* @summary List environments overview
|
|
33349
|
+
* @param {string} projectId Project ID
|
|
33350
|
+
* @param {*} [options] Override http request option.
|
|
33351
|
+
* @throws {RequiredError}
|
|
33352
|
+
*/
|
|
33353
|
+
getProjectEnvironmentsOverviewDeprecated: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33253
33354
|
/**
|
|
33254
33355
|
* Returns a list of environments with only their id and status.
|
|
33255
33356
|
* @summary List environments statuses
|
|
@@ -33297,6 +33398,14 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
|
|
|
33297
33398
|
* @throws {RequiredError}
|
|
33298
33399
|
*/
|
|
33299
33400
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseList>>;
|
|
33401
|
+
/**
|
|
33402
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33403
|
+
* @summary List environments overview
|
|
33404
|
+
* @param {string} projectId Project ID
|
|
33405
|
+
* @param {*} [options] Override http request option.
|
|
33406
|
+
* @throws {RequiredError}
|
|
33407
|
+
*/
|
|
33408
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentOverviewResponseListDeprecated>>;
|
|
33300
33409
|
/**
|
|
33301
33410
|
* Returns a list of environments with only their id and status.
|
|
33302
33411
|
* @summary List environments statuses
|
|
@@ -33344,6 +33453,14 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
|
|
|
33344
33453
|
* @throws {RequiredError}
|
|
33345
33454
|
*/
|
|
33346
33455
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList>;
|
|
33456
|
+
/**
|
|
33457
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33458
|
+
* @summary List environments overview
|
|
33459
|
+
* @param {string} projectId Project ID
|
|
33460
|
+
* @param {*} [options] Override http request option.
|
|
33461
|
+
* @throws {RequiredError}
|
|
33462
|
+
*/
|
|
33463
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseListDeprecated>;
|
|
33347
33464
|
/**
|
|
33348
33465
|
* Returns a list of environments with only their id and status.
|
|
33349
33466
|
* @summary List environments statuses
|
|
@@ -33396,6 +33513,15 @@ export declare class EnvironmentsApi extends BaseAPI {
|
|
|
33396
33513
|
* @memberof EnvironmentsApi
|
|
33397
33514
|
*/
|
|
33398
33515
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentOverviewResponseList, any, {}>>;
|
|
33516
|
+
/**
|
|
33517
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
33518
|
+
* @summary List environments overview
|
|
33519
|
+
* @param {string} projectId Project ID
|
|
33520
|
+
* @param {*} [options] Override http request option.
|
|
33521
|
+
* @throws {RequiredError}
|
|
33522
|
+
* @memberof EnvironmentsApi
|
|
33523
|
+
*/
|
|
33524
|
+
getProjectEnvironmentsOverviewDeprecated(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentOverviewResponseListDeprecated, any, {}>>;
|
|
33399
33525
|
/**
|
|
33400
33526
|
* Returns a list of environments with only their id and status.
|
|
33401
33527
|
* @summary List environments statuses
|
package/dist/esm/api.js
CHANGED
|
@@ -1203,6 +1203,11 @@ export const ServiceTypeForVariableEnum = {
|
|
|
1203
1203
|
HELM: 'HELM',
|
|
1204
1204
|
TERRAFORM: 'TERRAFORM'
|
|
1205
1205
|
};
|
|
1206
|
+
export const ServicesOverviewResponseManagedByEnum = {
|
|
1207
|
+
QOVERY: 'QOVERY',
|
|
1208
|
+
ARGOCD: 'ARGOCD',
|
|
1209
|
+
MIXED: 'MIXED'
|
|
1210
|
+
};
|
|
1206
1211
|
/**
|
|
1207
1212
|
*
|
|
1208
1213
|
* @export
|
|
@@ -24968,6 +24973,40 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
24968
24973
|
getProjectEnvironmentsOverview: (projectId_1, ...args_1) => __awaiter(this, [projectId_1, ...args_1], void 0, function* (projectId, options = {}) {
|
|
24969
24974
|
// verify required parameter 'projectId' is not null or undefined
|
|
24970
24975
|
assertParamExists('getProjectEnvironmentsOverview', 'projectId', projectId);
|
|
24976
|
+
const localVarPath = `/project/{projectId}/environment/overview`
|
|
24977
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
24978
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24979
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24980
|
+
let baseOptions;
|
|
24981
|
+
if (configuration) {
|
|
24982
|
+
baseOptions = configuration.baseOptions;
|
|
24983
|
+
}
|
|
24984
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
24985
|
+
const localVarHeaderParameter = {};
|
|
24986
|
+
const localVarQueryParameter = {};
|
|
24987
|
+
// authentication ApiKeyAuth required
|
|
24988
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
24989
|
+
// authentication bearerAuth required
|
|
24990
|
+
// http bearer authentication required
|
|
24991
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
24992
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24993
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24994
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24995
|
+
return {
|
|
24996
|
+
url: toPathString(localVarUrlObj),
|
|
24997
|
+
options: localVarRequestOptions,
|
|
24998
|
+
};
|
|
24999
|
+
}),
|
|
25000
|
+
/**
|
|
25001
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25002
|
+
* @summary List environments overview
|
|
25003
|
+
* @param {string} projectId Project ID
|
|
25004
|
+
* @param {*} [options] Override http request option.
|
|
25005
|
+
* @throws {RequiredError}
|
|
25006
|
+
*/
|
|
25007
|
+
getProjectEnvironmentsOverviewDeprecated: (projectId_1, ...args_1) => __awaiter(this, [projectId_1, ...args_1], void 0, function* (projectId, options = {}) {
|
|
25008
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
25009
|
+
assertParamExists('getProjectEnvironmentsOverviewDeprecated', 'projectId', projectId);
|
|
24971
25010
|
const localVarPath = `/project/{projectId}/environmentOverview`
|
|
24972
25011
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
24973
25012
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -25118,6 +25157,22 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
25118
25157
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25119
25158
|
});
|
|
25120
25159
|
},
|
|
25160
|
+
/**
|
|
25161
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25162
|
+
* @summary List environments overview
|
|
25163
|
+
* @param {string} projectId Project ID
|
|
25164
|
+
* @param {*} [options] Override http request option.
|
|
25165
|
+
* @throws {RequiredError}
|
|
25166
|
+
*/
|
|
25167
|
+
getProjectEnvironmentsOverviewDeprecated(projectId, options) {
|
|
25168
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25169
|
+
var _a, _b, _c;
|
|
25170
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEnvironmentsOverviewDeprecated(projectId, options);
|
|
25171
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25172
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverviewDeprecated']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25173
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25174
|
+
});
|
|
25175
|
+
},
|
|
25121
25176
|
/**
|
|
25122
25177
|
* Returns a list of environments with only their id and status.
|
|
25123
25178
|
* @summary List environments statuses
|
|
@@ -25190,6 +25245,16 @@ export const EnvironmentsApiFactory = function (configuration, basePath, axios)
|
|
|
25190
25245
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25191
25246
|
return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
|
|
25192
25247
|
},
|
|
25248
|
+
/**
|
|
25249
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25250
|
+
* @summary List environments overview
|
|
25251
|
+
* @param {string} projectId Project ID
|
|
25252
|
+
* @param {*} [options] Override http request option.
|
|
25253
|
+
* @throws {RequiredError}
|
|
25254
|
+
*/
|
|
25255
|
+
getProjectEnvironmentsOverviewDeprecated(projectId, options) {
|
|
25256
|
+
return localVarFp.getProjectEnvironmentsOverviewDeprecated(projectId, options).then((request) => request(axios, basePath));
|
|
25257
|
+
},
|
|
25193
25258
|
/**
|
|
25194
25259
|
* Returns a list of environments with only their id and status.
|
|
25195
25260
|
* @summary List environments statuses
|
|
@@ -25253,6 +25318,17 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
25253
25318
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25254
25319
|
return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
25255
25320
|
}
|
|
25321
|
+
/**
|
|
25322
|
+
* Returns a list of environments with their overview information including deployment status, service count, and cluster details.
|
|
25323
|
+
* @summary List environments overview
|
|
25324
|
+
* @param {string} projectId Project ID
|
|
25325
|
+
* @param {*} [options] Override http request option.
|
|
25326
|
+
* @throws {RequiredError}
|
|
25327
|
+
* @memberof EnvironmentsApi
|
|
25328
|
+
*/
|
|
25329
|
+
getProjectEnvironmentsOverviewDeprecated(projectId, options) {
|
|
25330
|
+
return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverviewDeprecated(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
25331
|
+
}
|
|
25256
25332
|
/**
|
|
25257
25333
|
* Returns a list of environments with only their id and status.
|
|
25258
25334
|
* @summary List environments statuses
|