qovery-typescript-axios 1.1.864 → 1.1.866
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 +48 -148
- package/dist/api.d.ts +46 -101
- package/dist/api.js +2 -72
- package/dist/esm/api.d.ts +46 -101
- package/dist/esm/api.js +2 -72
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2029,6 +2029,51 @@ export interface ArgoCdCredentialsResponse {
|
|
|
2029
2029
|
*/
|
|
2030
2030
|
'updated_at': string;
|
|
2031
2031
|
}
|
|
2032
|
+
/**
|
|
2033
|
+
* An ArgoCD service
|
|
2034
|
+
* @export
|
|
2035
|
+
* @interface ArgocdAppResponse
|
|
2036
|
+
*/
|
|
2037
|
+
export interface ArgocdAppResponse {
|
|
2038
|
+
/**
|
|
2039
|
+
*
|
|
2040
|
+
* @type {string}
|
|
2041
|
+
* @memberof ArgocdAppResponse
|
|
2042
|
+
*/
|
|
2043
|
+
'id': string;
|
|
2044
|
+
/**
|
|
2045
|
+
*
|
|
2046
|
+
* @type {string}
|
|
2047
|
+
* @memberof ArgocdAppResponse
|
|
2048
|
+
*/
|
|
2049
|
+
'created_at': string;
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @type {string}
|
|
2053
|
+
* @memberof ArgocdAppResponse
|
|
2054
|
+
*/
|
|
2055
|
+
'updated_at'?: string;
|
|
2056
|
+
/**
|
|
2057
|
+
* name is case insensitive
|
|
2058
|
+
* @type {string}
|
|
2059
|
+
* @memberof ArgocdAppResponse
|
|
2060
|
+
*/
|
|
2061
|
+
'name': string;
|
|
2062
|
+
/**
|
|
2063
|
+
*
|
|
2064
|
+
* @type {ServiceTypeEnum}
|
|
2065
|
+
* @memberof ArgocdAppResponse
|
|
2066
|
+
*/
|
|
2067
|
+
'service_type': ServiceTypeEnum;
|
|
2068
|
+
/**
|
|
2069
|
+
*
|
|
2070
|
+
* @type {string}
|
|
2071
|
+
* @memberof ArgocdAppResponse
|
|
2072
|
+
*/
|
|
2073
|
+
'namespace': string;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
|
|
2032
2077
|
/**
|
|
2033
2078
|
*
|
|
2034
2079
|
* @export
|
|
@@ -10382,63 +10427,6 @@ export interface EnvironmentOverviewResponse {
|
|
|
10382
10427
|
}
|
|
10383
10428
|
|
|
10384
10429
|
|
|
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
|
-
*/
|
|
10426
|
-
'cluster'?: ClusterOverviewResponse;
|
|
10427
|
-
/**
|
|
10428
|
-
*
|
|
10429
|
-
* @type {number}
|
|
10430
|
-
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10431
|
-
*/
|
|
10432
|
-
'service_count': number;
|
|
10433
|
-
/**
|
|
10434
|
-
*
|
|
10435
|
-
* @type {EnvironmentStatus}
|
|
10436
|
-
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10437
|
-
*/
|
|
10438
|
-
'deployment_status'?: EnvironmentStatus;
|
|
10439
|
-
}
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
10430
|
/**
|
|
10443
10431
|
*
|
|
10444
10432
|
* @export
|
|
@@ -10452,19 +10440,6 @@ export interface EnvironmentOverviewResponseList {
|
|
|
10452
10440
|
*/
|
|
10453
10441
|
'results'?: Array<EnvironmentOverviewResponse>;
|
|
10454
10442
|
}
|
|
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
|
-
}
|
|
10468
10443
|
/**
|
|
10469
10444
|
*
|
|
10470
10445
|
* @export
|
|
@@ -15518,7 +15493,8 @@ export const LinkedServiceTypeEnum = {
|
|
|
15518
15493
|
DATABASE: 'DATABASE',
|
|
15519
15494
|
JOB: 'JOB',
|
|
15520
15495
|
HELM: 'HELM',
|
|
15521
|
-
TERRAFORM: 'TERRAFORM'
|
|
15496
|
+
TERRAFORM: 'TERRAFORM',
|
|
15497
|
+
ARGOCD_APP: 'ARGOCD_APP'
|
|
15522
15498
|
} as const;
|
|
15523
15499
|
|
|
15524
15500
|
export type LinkedServiceTypeEnum = typeof LinkedServiceTypeEnum[keyof typeof LinkedServiceTypeEnum];
|
|
@@ -15719,7 +15695,7 @@ export interface ListServicesByEnvironmentId200Response {
|
|
|
15719
15695
|
* @type ListServicesByEnvironmentId200ResponseResultsInner
|
|
15720
15696
|
* @export
|
|
15721
15697
|
*/
|
|
15722
|
-
export type ListServicesByEnvironmentId200ResponseResultsInner = { service_type: 'APPLICATION' } & Application | { service_type: 'CONTAINER' } & ContainerResponse | { service_type: 'DATABASE' } & Database | { service_type: 'HELM' } & HelmResponse | { service_type: 'JOB' } & JobResponse | { service_type: 'TERRAFORM' } & TerraformResponse;
|
|
15698
|
+
export type ListServicesByEnvironmentId200ResponseResultsInner = { service_type: 'APPLICATION' } & Application | { service_type: 'ARGOCD_APP' } & ArgocdAppResponse | { service_type: 'CONTAINER' } & ContainerResponse | { service_type: 'DATABASE' } & Database | { service_type: 'HELM' } & HelmResponse | { service_type: 'JOB' } & JobResponse | { service_type: 'TERRAFORM' } & TerraformResponse;
|
|
15723
15699
|
|
|
15724
15700
|
/**
|
|
15725
15701
|
*
|
|
@@ -47906,47 +47882,6 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration?: Config
|
|
|
47906
47882
|
|
|
47907
47883
|
|
|
47908
47884
|
|
|
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)
|
|
47928
|
-
const localVarPath = `/project/{projectId}/environmentOverview`
|
|
47929
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
47930
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47931
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47932
|
-
let baseOptions;
|
|
47933
|
-
if (configuration) {
|
|
47934
|
-
baseOptions = configuration.baseOptions;
|
|
47935
|
-
}
|
|
47936
|
-
|
|
47937
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47938
|
-
const localVarHeaderParameter = {} as any;
|
|
47939
|
-
const localVarQueryParameter = {} as any;
|
|
47940
|
-
|
|
47941
|
-
// authentication ApiKeyAuth required
|
|
47942
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
47943
|
-
|
|
47944
|
-
// authentication bearerAuth required
|
|
47945
|
-
// http bearer authentication required
|
|
47946
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
47947
|
-
|
|
47948
|
-
|
|
47949
|
-
|
|
47950
47885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47951
47886
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47952
47887
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -48088,19 +48023,6 @@ export const EnvironmentsApiFp = function(configuration?: Configuration) {
|
|
|
48088
48023
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentsApi.getProjectEnvironmentsOverview']?.[localVarOperationServerIndex]?.url;
|
|
48089
48024
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48090
48025
|
},
|
|
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
|
-
},
|
|
48104
48026
|
/**
|
|
48105
48027
|
* Returns a list of environments with only their id and status.
|
|
48106
48028
|
* @summary List environments statuses
|
|
@@ -48168,16 +48090,6 @@ export const EnvironmentsApiFactory = function (configuration?: Configuration, b
|
|
|
48168
48090
|
getProjectEnvironmentsOverview(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentOverviewResponseList> {
|
|
48169
48091
|
return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
|
|
48170
48092
|
},
|
|
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
|
-
},
|
|
48181
48093
|
/**
|
|
48182
48094
|
* Returns a list of environments with only their id and status.
|
|
48183
48095
|
* @summary List environments statuses
|
|
@@ -48245,18 +48157,6 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
48245
48157
|
return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
48246
48158
|
}
|
|
48247
48159
|
|
|
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
|
-
|
|
48260
48160
|
/**
|
|
48261
48161
|
* Returns a list of environments with only their id and status.
|
|
48262
48162
|
* @summary List environments statuses
|
package/dist/api.d.ts
CHANGED
|
@@ -1949,6 +1949,49 @@ export interface ArgoCdCredentialsResponse {
|
|
|
1949
1949
|
*/
|
|
1950
1950
|
'updated_at': string;
|
|
1951
1951
|
}
|
|
1952
|
+
/**
|
|
1953
|
+
* An ArgoCD service
|
|
1954
|
+
* @export
|
|
1955
|
+
* @interface ArgocdAppResponse
|
|
1956
|
+
*/
|
|
1957
|
+
export interface ArgocdAppResponse {
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @type {string}
|
|
1961
|
+
* @memberof ArgocdAppResponse
|
|
1962
|
+
*/
|
|
1963
|
+
'id': string;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {string}
|
|
1967
|
+
* @memberof ArgocdAppResponse
|
|
1968
|
+
*/
|
|
1969
|
+
'created_at': string;
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof ArgocdAppResponse
|
|
1974
|
+
*/
|
|
1975
|
+
'updated_at'?: string;
|
|
1976
|
+
/**
|
|
1977
|
+
* name is case insensitive
|
|
1978
|
+
* @type {string}
|
|
1979
|
+
* @memberof ArgocdAppResponse
|
|
1980
|
+
*/
|
|
1981
|
+
'name': string;
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @type {ServiceTypeEnum}
|
|
1985
|
+
* @memberof ArgocdAppResponse
|
|
1986
|
+
*/
|
|
1987
|
+
'service_type': ServiceTypeEnum;
|
|
1988
|
+
/**
|
|
1989
|
+
*
|
|
1990
|
+
* @type {string}
|
|
1991
|
+
* @memberof ArgocdAppResponse
|
|
1992
|
+
*/
|
|
1993
|
+
'namespace': string;
|
|
1994
|
+
}
|
|
1952
1995
|
/**
|
|
1953
1996
|
*
|
|
1954
1997
|
* @export
|
|
@@ -10062,61 +10105,6 @@ export interface EnvironmentOverviewResponse {
|
|
|
10062
10105
|
*/
|
|
10063
10106
|
'deployment_status'?: EnvironmentStatus | null;
|
|
10064
10107
|
}
|
|
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
|
-
*/
|
|
10106
|
-
'cluster'?: ClusterOverviewResponse;
|
|
10107
|
-
/**
|
|
10108
|
-
*
|
|
10109
|
-
* @type {number}
|
|
10110
|
-
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10111
|
-
*/
|
|
10112
|
-
'service_count': number;
|
|
10113
|
-
/**
|
|
10114
|
-
*
|
|
10115
|
-
* @type {EnvironmentStatus}
|
|
10116
|
-
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10117
|
-
*/
|
|
10118
|
-
'deployment_status'?: EnvironmentStatus;
|
|
10119
|
-
}
|
|
10120
10108
|
/**
|
|
10121
10109
|
*
|
|
10122
10110
|
* @export
|
|
@@ -10130,19 +10118,6 @@ export interface EnvironmentOverviewResponseList {
|
|
|
10130
10118
|
*/
|
|
10131
10119
|
'results'?: Array<EnvironmentOverviewResponse>;
|
|
10132
10120
|
}
|
|
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
|
-
}
|
|
10146
10121
|
/**
|
|
10147
10122
|
*
|
|
10148
10123
|
* @export
|
|
@@ -15044,6 +15019,7 @@ export declare const LinkedServiceTypeEnum: {
|
|
|
15044
15019
|
readonly JOB: "JOB";
|
|
15045
15020
|
readonly HELM: "HELM";
|
|
15046
15021
|
readonly TERRAFORM: "TERRAFORM";
|
|
15022
|
+
readonly ARGOCD_APP: "ARGOCD_APP";
|
|
15047
15023
|
};
|
|
15048
15024
|
export type LinkedServiceTypeEnum = typeof LinkedServiceTypeEnum[keyof typeof LinkedServiceTypeEnum];
|
|
15049
15025
|
/**
|
|
@@ -15244,6 +15220,8 @@ export interface ListServicesByEnvironmentId200Response {
|
|
|
15244
15220
|
export type ListServicesByEnvironmentId200ResponseResultsInner = {
|
|
15245
15221
|
service_type: 'APPLICATION';
|
|
15246
15222
|
} & Application | {
|
|
15223
|
+
service_type: 'ARGOCD_APP';
|
|
15224
|
+
} & ArgocdAppResponse | {
|
|
15247
15225
|
service_type: 'CONTAINER';
|
|
15248
15226
|
} & ContainerResponse | {
|
|
15249
15227
|
service_type: 'DATABASE';
|
|
@@ -33343,14 +33321,6 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
|
|
|
33343
33321
|
* @throws {RequiredError}
|
|
33344
33322
|
*/
|
|
33345
33323
|
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>;
|
|
33354
33324
|
/**
|
|
33355
33325
|
* Returns a list of environments with only their id and status.
|
|
33356
33326
|
* @summary List environments statuses
|
|
@@ -33398,14 +33368,6 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
|
|
|
33398
33368
|
* @throws {RequiredError}
|
|
33399
33369
|
*/
|
|
33400
33370
|
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>>;
|
|
33409
33371
|
/**
|
|
33410
33372
|
* Returns a list of environments with only their id and status.
|
|
33411
33373
|
* @summary List environments statuses
|
|
@@ -33453,14 +33415,6 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
|
|
|
33453
33415
|
* @throws {RequiredError}
|
|
33454
33416
|
*/
|
|
33455
33417
|
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>;
|
|
33464
33418
|
/**
|
|
33465
33419
|
* Returns a list of environments with only their id and status.
|
|
33466
33420
|
* @summary List environments statuses
|
|
@@ -33513,15 +33467,6 @@ export declare class EnvironmentsApi extends BaseAPI {
|
|
|
33513
33467
|
* @memberof EnvironmentsApi
|
|
33514
33468
|
*/
|
|
33515
33469
|
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, {}>>;
|
|
33525
33470
|
/**
|
|
33526
33471
|
* Returns a list of environments with only their id and status.
|
|
33527
33472
|
* @summary List environments statuses
|
package/dist/api.js
CHANGED
|
@@ -848,7 +848,8 @@ exports.LinkedServiceTypeEnum = {
|
|
|
848
848
|
DATABASE: 'DATABASE',
|
|
849
849
|
JOB: 'JOB',
|
|
850
850
|
HELM: 'HELM',
|
|
851
|
-
TERRAFORM: 'TERRAFORM'
|
|
851
|
+
TERRAFORM: 'TERRAFORM',
|
|
852
|
+
ARGOCD_APP: 'ARGOCD_APP'
|
|
852
853
|
};
|
|
853
854
|
exports.MetricsConfigurationManagedByQoveryKindEnum = {
|
|
854
855
|
MANAGED_BY_QOVERY: 'MANAGED_BY_QOVERY'
|
|
@@ -25194,40 +25195,6 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
25194
25195
|
options: localVarRequestOptions,
|
|
25195
25196
|
};
|
|
25196
25197
|
}),
|
|
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);
|
|
25207
|
-
const localVarPath = `/project/{projectId}/environmentOverview`
|
|
25208
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
25209
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25210
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25211
|
-
let baseOptions;
|
|
25212
|
-
if (configuration) {
|
|
25213
|
-
baseOptions = configuration.baseOptions;
|
|
25214
|
-
}
|
|
25215
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25216
|
-
const localVarHeaderParameter = {};
|
|
25217
|
-
const localVarQueryParameter = {};
|
|
25218
|
-
// authentication ApiKeyAuth required
|
|
25219
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25220
|
-
// authentication bearerAuth required
|
|
25221
|
-
// http bearer authentication required
|
|
25222
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
25223
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25224
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25225
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25226
|
-
return {
|
|
25227
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25228
|
-
options: localVarRequestOptions,
|
|
25229
|
-
};
|
|
25230
|
-
}),
|
|
25231
25198
|
/**
|
|
25232
25199
|
* Returns a list of environments with only their id and status.
|
|
25233
25200
|
* @summary List environments statuses
|
|
@@ -25355,22 +25322,6 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
25355
25322
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25356
25323
|
});
|
|
25357
25324
|
},
|
|
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
|
-
},
|
|
25374
25325
|
/**
|
|
25375
25326
|
* Returns a list of environments with only their id and status.
|
|
25376
25327
|
* @summary List environments statuses
|
|
@@ -25444,16 +25395,6 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
25444
25395
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25445
25396
|
return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
|
|
25446
25397
|
},
|
|
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
|
-
},
|
|
25457
25398
|
/**
|
|
25458
25399
|
* Returns a list of environments with only their id and status.
|
|
25459
25400
|
* @summary List environments statuses
|
|
@@ -25518,17 +25459,6 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
25518
25459
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25519
25460
|
return (0, exports.EnvironmentsApiFp)(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
25520
25461
|
}
|
|
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
|
-
}
|
|
25532
25462
|
/**
|
|
25533
25463
|
* Returns a list of environments with only their id and status.
|
|
25534
25464
|
* @summary List environments statuses
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1949,6 +1949,49 @@ export interface ArgoCdCredentialsResponse {
|
|
|
1949
1949
|
*/
|
|
1950
1950
|
'updated_at': string;
|
|
1951
1951
|
}
|
|
1952
|
+
/**
|
|
1953
|
+
* An ArgoCD service
|
|
1954
|
+
* @export
|
|
1955
|
+
* @interface ArgocdAppResponse
|
|
1956
|
+
*/
|
|
1957
|
+
export interface ArgocdAppResponse {
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @type {string}
|
|
1961
|
+
* @memberof ArgocdAppResponse
|
|
1962
|
+
*/
|
|
1963
|
+
'id': string;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {string}
|
|
1967
|
+
* @memberof ArgocdAppResponse
|
|
1968
|
+
*/
|
|
1969
|
+
'created_at': string;
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof ArgocdAppResponse
|
|
1974
|
+
*/
|
|
1975
|
+
'updated_at'?: string;
|
|
1976
|
+
/**
|
|
1977
|
+
* name is case insensitive
|
|
1978
|
+
* @type {string}
|
|
1979
|
+
* @memberof ArgocdAppResponse
|
|
1980
|
+
*/
|
|
1981
|
+
'name': string;
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @type {ServiceTypeEnum}
|
|
1985
|
+
* @memberof ArgocdAppResponse
|
|
1986
|
+
*/
|
|
1987
|
+
'service_type': ServiceTypeEnum;
|
|
1988
|
+
/**
|
|
1989
|
+
*
|
|
1990
|
+
* @type {string}
|
|
1991
|
+
* @memberof ArgocdAppResponse
|
|
1992
|
+
*/
|
|
1993
|
+
'namespace': string;
|
|
1994
|
+
}
|
|
1952
1995
|
/**
|
|
1953
1996
|
*
|
|
1954
1997
|
* @export
|
|
@@ -10062,61 +10105,6 @@ export interface EnvironmentOverviewResponse {
|
|
|
10062
10105
|
*/
|
|
10063
10106
|
'deployment_status'?: EnvironmentStatus | null;
|
|
10064
10107
|
}
|
|
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
|
-
*/
|
|
10106
|
-
'cluster'?: ClusterOverviewResponse;
|
|
10107
|
-
/**
|
|
10108
|
-
*
|
|
10109
|
-
* @type {number}
|
|
10110
|
-
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10111
|
-
*/
|
|
10112
|
-
'service_count': number;
|
|
10113
|
-
/**
|
|
10114
|
-
*
|
|
10115
|
-
* @type {EnvironmentStatus}
|
|
10116
|
-
* @memberof EnvironmentOverviewResponseDeprecated
|
|
10117
|
-
*/
|
|
10118
|
-
'deployment_status'?: EnvironmentStatus;
|
|
10119
|
-
}
|
|
10120
10108
|
/**
|
|
10121
10109
|
*
|
|
10122
10110
|
* @export
|
|
@@ -10130,19 +10118,6 @@ export interface EnvironmentOverviewResponseList {
|
|
|
10130
10118
|
*/
|
|
10131
10119
|
'results'?: Array<EnvironmentOverviewResponse>;
|
|
10132
10120
|
}
|
|
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
|
-
}
|
|
10146
10121
|
/**
|
|
10147
10122
|
*
|
|
10148
10123
|
* @export
|
|
@@ -15044,6 +15019,7 @@ export declare const LinkedServiceTypeEnum: {
|
|
|
15044
15019
|
readonly JOB: "JOB";
|
|
15045
15020
|
readonly HELM: "HELM";
|
|
15046
15021
|
readonly TERRAFORM: "TERRAFORM";
|
|
15022
|
+
readonly ARGOCD_APP: "ARGOCD_APP";
|
|
15047
15023
|
};
|
|
15048
15024
|
export type LinkedServiceTypeEnum = typeof LinkedServiceTypeEnum[keyof typeof LinkedServiceTypeEnum];
|
|
15049
15025
|
/**
|
|
@@ -15244,6 +15220,8 @@ export interface ListServicesByEnvironmentId200Response {
|
|
|
15244
15220
|
export type ListServicesByEnvironmentId200ResponseResultsInner = {
|
|
15245
15221
|
service_type: 'APPLICATION';
|
|
15246
15222
|
} & Application | {
|
|
15223
|
+
service_type: 'ARGOCD_APP';
|
|
15224
|
+
} & ArgocdAppResponse | {
|
|
15247
15225
|
service_type: 'CONTAINER';
|
|
15248
15226
|
} & ContainerResponse | {
|
|
15249
15227
|
service_type: 'DATABASE';
|
|
@@ -33343,14 +33321,6 @@ export declare const EnvironmentsApiAxiosParamCreator: (configuration?: Configur
|
|
|
33343
33321
|
* @throws {RequiredError}
|
|
33344
33322
|
*/
|
|
33345
33323
|
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>;
|
|
33354
33324
|
/**
|
|
33355
33325
|
* Returns a list of environments with only their id and status.
|
|
33356
33326
|
* @summary List environments statuses
|
|
@@ -33398,14 +33368,6 @@ export declare const EnvironmentsApiFp: (configuration?: Configuration) => {
|
|
|
33398
33368
|
* @throws {RequiredError}
|
|
33399
33369
|
*/
|
|
33400
33370
|
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>>;
|
|
33409
33371
|
/**
|
|
33410
33372
|
* Returns a list of environments with only their id and status.
|
|
33411
33373
|
* @summary List environments statuses
|
|
@@ -33453,14 +33415,6 @@ export declare const EnvironmentsApiFactory: (configuration?: Configuration, bas
|
|
|
33453
33415
|
* @throws {RequiredError}
|
|
33454
33416
|
*/
|
|
33455
33417
|
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>;
|
|
33464
33418
|
/**
|
|
33465
33419
|
* Returns a list of environments with only their id and status.
|
|
33466
33420
|
* @summary List environments statuses
|
|
@@ -33513,15 +33467,6 @@ export declare class EnvironmentsApi extends BaseAPI {
|
|
|
33513
33467
|
* @memberof EnvironmentsApi
|
|
33514
33468
|
*/
|
|
33515
33469
|
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, {}>>;
|
|
33525
33470
|
/**
|
|
33526
33471
|
* Returns a list of environments with only their id and status.
|
|
33527
33472
|
* @summary List environments statuses
|
package/dist/esm/api.js
CHANGED
|
@@ -835,7 +835,8 @@ export const LinkedServiceTypeEnum = {
|
|
|
835
835
|
DATABASE: 'DATABASE',
|
|
836
836
|
JOB: 'JOB',
|
|
837
837
|
HELM: 'HELM',
|
|
838
|
-
TERRAFORM: 'TERRAFORM'
|
|
838
|
+
TERRAFORM: 'TERRAFORM',
|
|
839
|
+
ARGOCD_APP: 'ARGOCD_APP'
|
|
839
840
|
};
|
|
840
841
|
export const MetricsConfigurationManagedByQoveryKindEnum = {
|
|
841
842
|
MANAGED_BY_QOVERY: 'MANAGED_BY_QOVERY'
|
|
@@ -24997,40 +24998,6 @@ export const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
24997
24998
|
options: localVarRequestOptions,
|
|
24998
24999
|
};
|
|
24999
25000
|
}),
|
|
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);
|
|
25010
|
-
const localVarPath = `/project/{projectId}/environmentOverview`
|
|
25011
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
25012
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25013
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25014
|
-
let baseOptions;
|
|
25015
|
-
if (configuration) {
|
|
25016
|
-
baseOptions = configuration.baseOptions;
|
|
25017
|
-
}
|
|
25018
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25019
|
-
const localVarHeaderParameter = {};
|
|
25020
|
-
const localVarQueryParameter = {};
|
|
25021
|
-
// authentication ApiKeyAuth required
|
|
25022
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25023
|
-
// authentication bearerAuth required
|
|
25024
|
-
// http bearer authentication required
|
|
25025
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
25026
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25027
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25028
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25029
|
-
return {
|
|
25030
|
-
url: toPathString(localVarUrlObj),
|
|
25031
|
-
options: localVarRequestOptions,
|
|
25032
|
-
};
|
|
25033
|
-
}),
|
|
25034
25001
|
/**
|
|
25035
25002
|
* Returns a list of environments with only their id and status.
|
|
25036
25003
|
* @summary List environments statuses
|
|
@@ -25157,22 +25124,6 @@ export const EnvironmentsApiFp = function (configuration) {
|
|
|
25157
25124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25158
25125
|
});
|
|
25159
25126
|
},
|
|
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
|
-
},
|
|
25176
25127
|
/**
|
|
25177
25128
|
* Returns a list of environments with only their id and status.
|
|
25178
25129
|
* @summary List environments statuses
|
|
@@ -25245,16 +25196,6 @@ export const EnvironmentsApiFactory = function (configuration, basePath, axios)
|
|
|
25245
25196
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25246
25197
|
return localVarFp.getProjectEnvironmentsOverview(projectId, options).then((request) => request(axios, basePath));
|
|
25247
25198
|
},
|
|
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
|
-
},
|
|
25258
25199
|
/**
|
|
25259
25200
|
* Returns a list of environments with only their id and status.
|
|
25260
25201
|
* @summary List environments statuses
|
|
@@ -25318,17 +25259,6 @@ export class EnvironmentsApi extends BaseAPI {
|
|
|
25318
25259
|
getProjectEnvironmentsOverview(projectId, options) {
|
|
25319
25260
|
return EnvironmentsApiFp(this.configuration).getProjectEnvironmentsOverview(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
25320
25261
|
}
|
|
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
|
-
}
|
|
25332
25262
|
/**
|
|
25333
25263
|
* Returns a list of environments with only their id and status.
|
|
25334
25264
|
* @summary List environments statuses
|