qovery-typescript-axios 1.1.509 → 1.1.511
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +141 -0
- package/dist/api.d.ts +93 -0
- package/dist/api.js +68 -0
- package/dist/esm/api.d.ts +93 -0
- package/dist/esm/api.js +68 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -315,6 +315,12 @@ export interface Application {
|
|
|
315
315
|
* @memberof Application
|
|
316
316
|
*/
|
|
317
317
|
'icon_uri': string;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {ServiceTypeEnum}
|
|
321
|
+
* @memberof Application
|
|
322
|
+
*/
|
|
323
|
+
'serviceType'?: ServiceTypeEnum;
|
|
318
324
|
}
|
|
319
325
|
|
|
320
326
|
|
|
@@ -1425,7 +1431,15 @@ export interface BaseJobResponse {
|
|
|
1425
1431
|
* @memberof BaseJobResponse
|
|
1426
1432
|
*/
|
|
1427
1433
|
'icon_uri': string;
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @type {ServiceTypeEnum}
|
|
1437
|
+
* @memberof BaseJobResponse
|
|
1438
|
+
*/
|
|
1439
|
+
'serviceType'?: ServiceTypeEnum;
|
|
1428
1440
|
}
|
|
1441
|
+
|
|
1442
|
+
|
|
1429
1443
|
/**
|
|
1430
1444
|
* @type BaseJobResponseAllOfSource
|
|
1431
1445
|
* @export
|
|
@@ -4511,7 +4525,15 @@ export interface ContainerResponse {
|
|
|
4511
4525
|
* @memberof ContainerResponse
|
|
4512
4526
|
*/
|
|
4513
4527
|
'icon_uri': string;
|
|
4528
|
+
/**
|
|
4529
|
+
*
|
|
4530
|
+
* @type {ServiceTypeEnum}
|
|
4531
|
+
* @memberof ContainerResponse
|
|
4532
|
+
*/
|
|
4533
|
+
'serviceType'?: ServiceTypeEnum;
|
|
4514
4534
|
}
|
|
4535
|
+
|
|
4536
|
+
|
|
4515
4537
|
/**
|
|
4516
4538
|
*
|
|
4517
4539
|
* @export
|
|
@@ -4963,6 +4985,12 @@ export interface CronJobResponse {
|
|
|
4963
4985
|
* @memberof CronJobResponse
|
|
4964
4986
|
*/
|
|
4965
4987
|
'icon_uri': string;
|
|
4988
|
+
/**
|
|
4989
|
+
*
|
|
4990
|
+
* @type {ServiceTypeEnum}
|
|
4991
|
+
* @memberof CronJobResponse
|
|
4992
|
+
*/
|
|
4993
|
+
'serviceType'?: ServiceTypeEnum;
|
|
4966
4994
|
/**
|
|
4967
4995
|
*
|
|
4968
4996
|
* @type {string}
|
|
@@ -5318,6 +5346,12 @@ export interface Database {
|
|
|
5318
5346
|
* @memberof Database
|
|
5319
5347
|
*/
|
|
5320
5348
|
'disk_encrypted'?: boolean;
|
|
5349
|
+
/**
|
|
5350
|
+
*
|
|
5351
|
+
* @type {ServiceTypeEnum}
|
|
5352
|
+
* @memberof Database
|
|
5353
|
+
*/
|
|
5354
|
+
'serviceType'?: ServiceTypeEnum;
|
|
5321
5355
|
}
|
|
5322
5356
|
|
|
5323
5357
|
|
|
@@ -9783,7 +9817,15 @@ export interface HelmResponse {
|
|
|
9783
9817
|
* @memberof HelmResponse
|
|
9784
9818
|
*/
|
|
9785
9819
|
'icon_uri': string;
|
|
9820
|
+
/**
|
|
9821
|
+
*
|
|
9822
|
+
* @type {ServiceTypeEnum}
|
|
9823
|
+
* @memberof HelmResponse
|
|
9824
|
+
*/
|
|
9825
|
+
'serviceType'?: ServiceTypeEnum;
|
|
9786
9826
|
}
|
|
9827
|
+
|
|
9828
|
+
|
|
9787
9829
|
/**
|
|
9788
9830
|
* @type HelmResponseAllOfPortsInner
|
|
9789
9831
|
* @export
|
|
@@ -11262,6 +11304,12 @@ export interface LifecycleJobResponse {
|
|
|
11262
11304
|
* @memberof LifecycleJobResponse
|
|
11263
11305
|
*/
|
|
11264
11306
|
'icon_uri': string;
|
|
11307
|
+
/**
|
|
11308
|
+
*
|
|
11309
|
+
* @type {ServiceTypeEnum}
|
|
11310
|
+
* @memberof LifecycleJobResponse
|
|
11311
|
+
*/
|
|
11312
|
+
'serviceType'?: ServiceTypeEnum;
|
|
11265
11313
|
/**
|
|
11266
11314
|
*
|
|
11267
11315
|
* @type {string}
|
|
@@ -11727,6 +11775,25 @@ export interface ListOrganizationLabelsGroup200Response {
|
|
|
11727
11775
|
*/
|
|
11728
11776
|
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
11729
11777
|
}
|
|
11778
|
+
/**
|
|
11779
|
+
*
|
|
11780
|
+
* @export
|
|
11781
|
+
* @interface ListServicesByEnvironmentId200Response
|
|
11782
|
+
*/
|
|
11783
|
+
export interface ListServicesByEnvironmentId200Response {
|
|
11784
|
+
/**
|
|
11785
|
+
*
|
|
11786
|
+
* @type {Array<ListServicesByEnvironmentId200ResponseResultsInner>}
|
|
11787
|
+
* @memberof ListServicesByEnvironmentId200Response
|
|
11788
|
+
*/
|
|
11789
|
+
'results'?: Array<ListServicesByEnvironmentId200ResponseResultsInner>;
|
|
11790
|
+
}
|
|
11791
|
+
/**
|
|
11792
|
+
* @type ListServicesByEnvironmentId200ResponseResultsInner
|
|
11793
|
+
* @export
|
|
11794
|
+
*/
|
|
11795
|
+
export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
|
|
11796
|
+
|
|
11730
11797
|
/**
|
|
11731
11798
|
*
|
|
11732
11799
|
* @export
|
|
@@ -32987,6 +33054,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32987
33054
|
|
|
32988
33055
|
|
|
32989
33056
|
|
|
33057
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33059
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33060
|
+
|
|
33061
|
+
return {
|
|
33062
|
+
url: toPathString(localVarUrlObj),
|
|
33063
|
+
options: localVarRequestOptions,
|
|
33064
|
+
};
|
|
33065
|
+
},
|
|
33066
|
+
/**
|
|
33067
|
+
*
|
|
33068
|
+
* @summary List Services By EnvironmentId
|
|
33069
|
+
* @param {string} environmentId
|
|
33070
|
+
* @param {*} [options] Override http request option.
|
|
33071
|
+
* @throws {RequiredError}
|
|
33072
|
+
*/
|
|
33073
|
+
listServicesByEnvironmentId: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33074
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
33075
|
+
assertParamExists('listServicesByEnvironmentId', 'environmentId', environmentId)
|
|
33076
|
+
const localVarPath = `/environment/{environmentId}/services`
|
|
33077
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
33078
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33079
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33080
|
+
let baseOptions;
|
|
33081
|
+
if (configuration) {
|
|
33082
|
+
baseOptions = configuration.baseOptions;
|
|
33083
|
+
}
|
|
33084
|
+
|
|
33085
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33086
|
+
const localVarHeaderParameter = {} as any;
|
|
33087
|
+
const localVarQueryParameter = {} as any;
|
|
33088
|
+
|
|
33089
|
+
// authentication ApiKeyAuth required
|
|
33090
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33091
|
+
|
|
33092
|
+
// authentication bearerAuth required
|
|
33093
|
+
// http bearer authentication required
|
|
33094
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33095
|
+
|
|
33096
|
+
|
|
33097
|
+
|
|
32990
33098
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32991
33099
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32992
33100
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -33017,6 +33125,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
33017
33125
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
|
|
33018
33126
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33019
33127
|
},
|
|
33128
|
+
/**
|
|
33129
|
+
*
|
|
33130
|
+
* @summary List Services By EnvironmentId
|
|
33131
|
+
* @param {string} environmentId
|
|
33132
|
+
* @param {*} [options] Override http request option.
|
|
33133
|
+
* @throws {RequiredError}
|
|
33134
|
+
*/
|
|
33135
|
+
async listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByEnvironmentId200Response>> {
|
|
33136
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
|
|
33137
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33138
|
+
},
|
|
33020
33139
|
}
|
|
33021
33140
|
};
|
|
33022
33141
|
|
|
@@ -33037,6 +33156,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
33037
33156
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response> {
|
|
33038
33157
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
33039
33158
|
},
|
|
33159
|
+
/**
|
|
33160
|
+
*
|
|
33161
|
+
* @summary List Services By EnvironmentId
|
|
33162
|
+
* @param {string} environmentId
|
|
33163
|
+
* @param {*} [options] Override http request option.
|
|
33164
|
+
* @throws {RequiredError}
|
|
33165
|
+
*/
|
|
33166
|
+
listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<ListServicesByEnvironmentId200Response> {
|
|
33167
|
+
return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
|
|
33168
|
+
},
|
|
33040
33169
|
};
|
|
33041
33170
|
};
|
|
33042
33171
|
|
|
@@ -33058,6 +33187,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
33058
33187
|
public getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig) {
|
|
33059
33188
|
return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
33060
33189
|
}
|
|
33190
|
+
|
|
33191
|
+
/**
|
|
33192
|
+
*
|
|
33193
|
+
* @summary List Services By EnvironmentId
|
|
33194
|
+
* @param {string} environmentId
|
|
33195
|
+
* @param {*} [options] Override http request option.
|
|
33196
|
+
* @throws {RequiredError}
|
|
33197
|
+
* @memberof DefaultApi
|
|
33198
|
+
*/
|
|
33199
|
+
public listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig) {
|
|
33200
|
+
return DefaultApiFp(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
33201
|
+
}
|
|
33061
33202
|
}
|
|
33062
33203
|
|
|
33063
33204
|
|
package/dist/api.d.ts
CHANGED
|
@@ -293,6 +293,12 @@ export interface Application {
|
|
|
293
293
|
* @memberof Application
|
|
294
294
|
*/
|
|
295
295
|
'icon_uri': string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {ServiceTypeEnum}
|
|
299
|
+
* @memberof Application
|
|
300
|
+
*/
|
|
301
|
+
'serviceType'?: ServiceTypeEnum;
|
|
296
302
|
}
|
|
297
303
|
/**
|
|
298
304
|
*
|
|
@@ -1386,6 +1392,12 @@ export interface BaseJobResponse {
|
|
|
1386
1392
|
* @memberof BaseJobResponse
|
|
1387
1393
|
*/
|
|
1388
1394
|
'icon_uri': string;
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @type {ServiceTypeEnum}
|
|
1398
|
+
* @memberof BaseJobResponse
|
|
1399
|
+
*/
|
|
1400
|
+
'serviceType'?: ServiceTypeEnum;
|
|
1389
1401
|
}
|
|
1390
1402
|
/**
|
|
1391
1403
|
* @type BaseJobResponseAllOfSource
|
|
@@ -4400,6 +4412,12 @@ export interface ContainerResponse {
|
|
|
4400
4412
|
* @memberof ContainerResponse
|
|
4401
4413
|
*/
|
|
4402
4414
|
'icon_uri': string;
|
|
4415
|
+
/**
|
|
4416
|
+
*
|
|
4417
|
+
* @type {ServiceTypeEnum}
|
|
4418
|
+
* @memberof ContainerResponse
|
|
4419
|
+
*/
|
|
4420
|
+
'serviceType'?: ServiceTypeEnum;
|
|
4403
4421
|
}
|
|
4404
4422
|
/**
|
|
4405
4423
|
*
|
|
@@ -4842,6 +4860,12 @@ export interface CronJobResponse {
|
|
|
4842
4860
|
* @memberof CronJobResponse
|
|
4843
4861
|
*/
|
|
4844
4862
|
'icon_uri': string;
|
|
4863
|
+
/**
|
|
4864
|
+
*
|
|
4865
|
+
* @type {ServiceTypeEnum}
|
|
4866
|
+
* @memberof CronJobResponse
|
|
4867
|
+
*/
|
|
4868
|
+
'serviceType'?: ServiceTypeEnum;
|
|
4845
4869
|
/**
|
|
4846
4870
|
*
|
|
4847
4871
|
* @type {string}
|
|
@@ -5186,6 +5210,12 @@ export interface Database {
|
|
|
5186
5210
|
* @memberof Database
|
|
5187
5211
|
*/
|
|
5188
5212
|
'disk_encrypted'?: boolean;
|
|
5213
|
+
/**
|
|
5214
|
+
*
|
|
5215
|
+
* @type {ServiceTypeEnum}
|
|
5216
|
+
* @memberof Database
|
|
5217
|
+
*/
|
|
5218
|
+
'serviceType'?: ServiceTypeEnum;
|
|
5189
5219
|
}
|
|
5190
5220
|
/**
|
|
5191
5221
|
*
|
|
@@ -9499,6 +9529,12 @@ export interface HelmResponse {
|
|
|
9499
9529
|
* @memberof HelmResponse
|
|
9500
9530
|
*/
|
|
9501
9531
|
'icon_uri': string;
|
|
9532
|
+
/**
|
|
9533
|
+
*
|
|
9534
|
+
* @type {ServiceTypeEnum}
|
|
9535
|
+
* @memberof HelmResponse
|
|
9536
|
+
*/
|
|
9537
|
+
'serviceType'?: ServiceTypeEnum;
|
|
9502
9538
|
}
|
|
9503
9539
|
/**
|
|
9504
9540
|
* @type HelmResponseAllOfPortsInner
|
|
@@ -10931,6 +10967,12 @@ export interface LifecycleJobResponse {
|
|
|
10931
10967
|
* @memberof LifecycleJobResponse
|
|
10932
10968
|
*/
|
|
10933
10969
|
'icon_uri': string;
|
|
10970
|
+
/**
|
|
10971
|
+
*
|
|
10972
|
+
* @type {ServiceTypeEnum}
|
|
10973
|
+
* @memberof LifecycleJobResponse
|
|
10974
|
+
*/
|
|
10975
|
+
'serviceType'?: ServiceTypeEnum;
|
|
10934
10976
|
/**
|
|
10935
10977
|
*
|
|
10936
10978
|
* @type {string}
|
|
@@ -11385,6 +11427,24 @@ export interface ListOrganizationLabelsGroup200Response {
|
|
|
11385
11427
|
*/
|
|
11386
11428
|
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
11387
11429
|
}
|
|
11430
|
+
/**
|
|
11431
|
+
*
|
|
11432
|
+
* @export
|
|
11433
|
+
* @interface ListServicesByEnvironmentId200Response
|
|
11434
|
+
*/
|
|
11435
|
+
export interface ListServicesByEnvironmentId200Response {
|
|
11436
|
+
/**
|
|
11437
|
+
*
|
|
11438
|
+
* @type {Array<ListServicesByEnvironmentId200ResponseResultsInner>}
|
|
11439
|
+
* @memberof ListServicesByEnvironmentId200Response
|
|
11440
|
+
*/
|
|
11441
|
+
'results'?: Array<ListServicesByEnvironmentId200ResponseResultsInner>;
|
|
11442
|
+
}
|
|
11443
|
+
/**
|
|
11444
|
+
* @type ListServicesByEnvironmentId200ResponseResultsInner
|
|
11445
|
+
* @export
|
|
11446
|
+
*/
|
|
11447
|
+
export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
|
|
11388
11448
|
/**
|
|
11389
11449
|
*
|
|
11390
11450
|
* @export
|
|
@@ -23588,6 +23648,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23588
23648
|
* @throws {RequiredError}
|
|
23589
23649
|
*/
|
|
23590
23650
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23651
|
+
/**
|
|
23652
|
+
*
|
|
23653
|
+
* @summary List Services By EnvironmentId
|
|
23654
|
+
* @param {string} environmentId
|
|
23655
|
+
* @param {*} [options] Override http request option.
|
|
23656
|
+
* @throws {RequiredError}
|
|
23657
|
+
*/
|
|
23658
|
+
listServicesByEnvironmentId: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23591
23659
|
};
|
|
23592
23660
|
/**
|
|
23593
23661
|
* DefaultApi - functional programming interface
|
|
@@ -23602,6 +23670,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
23602
23670
|
* @throws {RequiredError}
|
|
23603
23671
|
*/
|
|
23604
23672
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
23673
|
+
/**
|
|
23674
|
+
*
|
|
23675
|
+
* @summary List Services By EnvironmentId
|
|
23676
|
+
* @param {string} environmentId
|
|
23677
|
+
* @param {*} [options] Override http request option.
|
|
23678
|
+
* @throws {RequiredError}
|
|
23679
|
+
*/
|
|
23680
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByEnvironmentId200Response>>;
|
|
23605
23681
|
};
|
|
23606
23682
|
/**
|
|
23607
23683
|
* DefaultApi - factory interface
|
|
@@ -23616,6 +23692,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
23616
23692
|
* @throws {RequiredError}
|
|
23617
23693
|
*/
|
|
23618
23694
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
23695
|
+
/**
|
|
23696
|
+
*
|
|
23697
|
+
* @summary List Services By EnvironmentId
|
|
23698
|
+
* @param {string} environmentId
|
|
23699
|
+
* @param {*} [options] Override http request option.
|
|
23700
|
+
* @throws {RequiredError}
|
|
23701
|
+
*/
|
|
23702
|
+
listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<ListServicesByEnvironmentId200Response>;
|
|
23619
23703
|
};
|
|
23620
23704
|
/**
|
|
23621
23705
|
* DefaultApi - object-oriented interface
|
|
@@ -23633,6 +23717,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
23633
23717
|
* @memberof DefaultApi
|
|
23634
23718
|
*/
|
|
23635
23719
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
23720
|
+
/**
|
|
23721
|
+
*
|
|
23722
|
+
* @summary List Services By EnvironmentId
|
|
23723
|
+
* @param {string} environmentId
|
|
23724
|
+
* @param {*} [options] Override http request option.
|
|
23725
|
+
* @throws {RequiredError}
|
|
23726
|
+
* @memberof DefaultApi
|
|
23727
|
+
*/
|
|
23728
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByEnvironmentId200Response, any>>;
|
|
23636
23729
|
}
|
|
23637
23730
|
/**
|
|
23638
23731
|
* DeploymentStageMainCallsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -16319,6 +16319,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
16319
16319
|
options: localVarRequestOptions,
|
|
16320
16320
|
};
|
|
16321
16321
|
}),
|
|
16322
|
+
/**
|
|
16323
|
+
*
|
|
16324
|
+
* @summary List Services By EnvironmentId
|
|
16325
|
+
* @param {string} environmentId
|
|
16326
|
+
* @param {*} [options] Override http request option.
|
|
16327
|
+
* @throws {RequiredError}
|
|
16328
|
+
*/
|
|
16329
|
+
listServicesByEnvironmentId: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16330
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16331
|
+
(0, common_1.assertParamExists)('listServicesByEnvironmentId', 'environmentId', environmentId);
|
|
16332
|
+
const localVarPath = `/environment/{environmentId}/services`
|
|
16333
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16335
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16336
|
+
let baseOptions;
|
|
16337
|
+
if (configuration) {
|
|
16338
|
+
baseOptions = configuration.baseOptions;
|
|
16339
|
+
}
|
|
16340
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16341
|
+
const localVarHeaderParameter = {};
|
|
16342
|
+
const localVarQueryParameter = {};
|
|
16343
|
+
// authentication ApiKeyAuth required
|
|
16344
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16345
|
+
// authentication bearerAuth required
|
|
16346
|
+
// http bearer authentication required
|
|
16347
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16348
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16350
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16351
|
+
return {
|
|
16352
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16353
|
+
options: localVarRequestOptions,
|
|
16354
|
+
};
|
|
16355
|
+
}),
|
|
16322
16356
|
};
|
|
16323
16357
|
};
|
|
16324
16358
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -16342,6 +16376,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
16342
16376
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16343
16377
|
});
|
|
16344
16378
|
},
|
|
16379
|
+
/**
|
|
16380
|
+
*
|
|
16381
|
+
* @summary List Services By EnvironmentId
|
|
16382
|
+
* @param {string} environmentId
|
|
16383
|
+
* @param {*} [options] Override http request option.
|
|
16384
|
+
* @throws {RequiredError}
|
|
16385
|
+
*/
|
|
16386
|
+
listServicesByEnvironmentId(environmentId, options) {
|
|
16387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16388
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
|
|
16389
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16390
|
+
});
|
|
16391
|
+
},
|
|
16345
16392
|
};
|
|
16346
16393
|
};
|
|
16347
16394
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -16362,6 +16409,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
16362
16409
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16363
16410
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
16364
16411
|
},
|
|
16412
|
+
/**
|
|
16413
|
+
*
|
|
16414
|
+
* @summary List Services By EnvironmentId
|
|
16415
|
+
* @param {string} environmentId
|
|
16416
|
+
* @param {*} [options] Override http request option.
|
|
16417
|
+
* @throws {RequiredError}
|
|
16418
|
+
*/
|
|
16419
|
+
listServicesByEnvironmentId(environmentId, options) {
|
|
16420
|
+
return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
|
|
16421
|
+
},
|
|
16365
16422
|
};
|
|
16366
16423
|
};
|
|
16367
16424
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -16383,6 +16440,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
16383
16440
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16384
16441
|
return (0, exports.DefaultApiFp)(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
16385
16442
|
}
|
|
16443
|
+
/**
|
|
16444
|
+
*
|
|
16445
|
+
* @summary List Services By EnvironmentId
|
|
16446
|
+
* @param {string} environmentId
|
|
16447
|
+
* @param {*} [options] Override http request option.
|
|
16448
|
+
* @throws {RequiredError}
|
|
16449
|
+
* @memberof DefaultApi
|
|
16450
|
+
*/
|
|
16451
|
+
listServicesByEnvironmentId(environmentId, options) {
|
|
16452
|
+
return (0, exports.DefaultApiFp)(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16453
|
+
}
|
|
16386
16454
|
}
|
|
16387
16455
|
exports.DefaultApi = DefaultApi;
|
|
16388
16456
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -293,6 +293,12 @@ export interface Application {
|
|
|
293
293
|
* @memberof Application
|
|
294
294
|
*/
|
|
295
295
|
'icon_uri': string;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {ServiceTypeEnum}
|
|
299
|
+
* @memberof Application
|
|
300
|
+
*/
|
|
301
|
+
'serviceType'?: ServiceTypeEnum;
|
|
296
302
|
}
|
|
297
303
|
/**
|
|
298
304
|
*
|
|
@@ -1386,6 +1392,12 @@ export interface BaseJobResponse {
|
|
|
1386
1392
|
* @memberof BaseJobResponse
|
|
1387
1393
|
*/
|
|
1388
1394
|
'icon_uri': string;
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @type {ServiceTypeEnum}
|
|
1398
|
+
* @memberof BaseJobResponse
|
|
1399
|
+
*/
|
|
1400
|
+
'serviceType'?: ServiceTypeEnum;
|
|
1389
1401
|
}
|
|
1390
1402
|
/**
|
|
1391
1403
|
* @type BaseJobResponseAllOfSource
|
|
@@ -4400,6 +4412,12 @@ export interface ContainerResponse {
|
|
|
4400
4412
|
* @memberof ContainerResponse
|
|
4401
4413
|
*/
|
|
4402
4414
|
'icon_uri': string;
|
|
4415
|
+
/**
|
|
4416
|
+
*
|
|
4417
|
+
* @type {ServiceTypeEnum}
|
|
4418
|
+
* @memberof ContainerResponse
|
|
4419
|
+
*/
|
|
4420
|
+
'serviceType'?: ServiceTypeEnum;
|
|
4403
4421
|
}
|
|
4404
4422
|
/**
|
|
4405
4423
|
*
|
|
@@ -4842,6 +4860,12 @@ export interface CronJobResponse {
|
|
|
4842
4860
|
* @memberof CronJobResponse
|
|
4843
4861
|
*/
|
|
4844
4862
|
'icon_uri': string;
|
|
4863
|
+
/**
|
|
4864
|
+
*
|
|
4865
|
+
* @type {ServiceTypeEnum}
|
|
4866
|
+
* @memberof CronJobResponse
|
|
4867
|
+
*/
|
|
4868
|
+
'serviceType'?: ServiceTypeEnum;
|
|
4845
4869
|
/**
|
|
4846
4870
|
*
|
|
4847
4871
|
* @type {string}
|
|
@@ -5186,6 +5210,12 @@ export interface Database {
|
|
|
5186
5210
|
* @memberof Database
|
|
5187
5211
|
*/
|
|
5188
5212
|
'disk_encrypted'?: boolean;
|
|
5213
|
+
/**
|
|
5214
|
+
*
|
|
5215
|
+
* @type {ServiceTypeEnum}
|
|
5216
|
+
* @memberof Database
|
|
5217
|
+
*/
|
|
5218
|
+
'serviceType'?: ServiceTypeEnum;
|
|
5189
5219
|
}
|
|
5190
5220
|
/**
|
|
5191
5221
|
*
|
|
@@ -9499,6 +9529,12 @@ export interface HelmResponse {
|
|
|
9499
9529
|
* @memberof HelmResponse
|
|
9500
9530
|
*/
|
|
9501
9531
|
'icon_uri': string;
|
|
9532
|
+
/**
|
|
9533
|
+
*
|
|
9534
|
+
* @type {ServiceTypeEnum}
|
|
9535
|
+
* @memberof HelmResponse
|
|
9536
|
+
*/
|
|
9537
|
+
'serviceType'?: ServiceTypeEnum;
|
|
9502
9538
|
}
|
|
9503
9539
|
/**
|
|
9504
9540
|
* @type HelmResponseAllOfPortsInner
|
|
@@ -10931,6 +10967,12 @@ export interface LifecycleJobResponse {
|
|
|
10931
10967
|
* @memberof LifecycleJobResponse
|
|
10932
10968
|
*/
|
|
10933
10969
|
'icon_uri': string;
|
|
10970
|
+
/**
|
|
10971
|
+
*
|
|
10972
|
+
* @type {ServiceTypeEnum}
|
|
10973
|
+
* @memberof LifecycleJobResponse
|
|
10974
|
+
*/
|
|
10975
|
+
'serviceType'?: ServiceTypeEnum;
|
|
10934
10976
|
/**
|
|
10935
10977
|
*
|
|
10936
10978
|
* @type {string}
|
|
@@ -11385,6 +11427,24 @@ export interface ListOrganizationLabelsGroup200Response {
|
|
|
11385
11427
|
*/
|
|
11386
11428
|
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
11387
11429
|
}
|
|
11430
|
+
/**
|
|
11431
|
+
*
|
|
11432
|
+
* @export
|
|
11433
|
+
* @interface ListServicesByEnvironmentId200Response
|
|
11434
|
+
*/
|
|
11435
|
+
export interface ListServicesByEnvironmentId200Response {
|
|
11436
|
+
/**
|
|
11437
|
+
*
|
|
11438
|
+
* @type {Array<ListServicesByEnvironmentId200ResponseResultsInner>}
|
|
11439
|
+
* @memberof ListServicesByEnvironmentId200Response
|
|
11440
|
+
*/
|
|
11441
|
+
'results'?: Array<ListServicesByEnvironmentId200ResponseResultsInner>;
|
|
11442
|
+
}
|
|
11443
|
+
/**
|
|
11444
|
+
* @type ListServicesByEnvironmentId200ResponseResultsInner
|
|
11445
|
+
* @export
|
|
11446
|
+
*/
|
|
11447
|
+
export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
|
|
11388
11448
|
/**
|
|
11389
11449
|
*
|
|
11390
11450
|
* @export
|
|
@@ -23588,6 +23648,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23588
23648
|
* @throws {RequiredError}
|
|
23589
23649
|
*/
|
|
23590
23650
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23651
|
+
/**
|
|
23652
|
+
*
|
|
23653
|
+
* @summary List Services By EnvironmentId
|
|
23654
|
+
* @param {string} environmentId
|
|
23655
|
+
* @param {*} [options] Override http request option.
|
|
23656
|
+
* @throws {RequiredError}
|
|
23657
|
+
*/
|
|
23658
|
+
listServicesByEnvironmentId: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23591
23659
|
};
|
|
23592
23660
|
/**
|
|
23593
23661
|
* DefaultApi - functional programming interface
|
|
@@ -23602,6 +23670,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
23602
23670
|
* @throws {RequiredError}
|
|
23603
23671
|
*/
|
|
23604
23672
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
23673
|
+
/**
|
|
23674
|
+
*
|
|
23675
|
+
* @summary List Services By EnvironmentId
|
|
23676
|
+
* @param {string} environmentId
|
|
23677
|
+
* @param {*} [options] Override http request option.
|
|
23678
|
+
* @throws {RequiredError}
|
|
23679
|
+
*/
|
|
23680
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByEnvironmentId200Response>>;
|
|
23605
23681
|
};
|
|
23606
23682
|
/**
|
|
23607
23683
|
* DefaultApi - factory interface
|
|
@@ -23616,6 +23692,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
23616
23692
|
* @throws {RequiredError}
|
|
23617
23693
|
*/
|
|
23618
23694
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
23695
|
+
/**
|
|
23696
|
+
*
|
|
23697
|
+
* @summary List Services By EnvironmentId
|
|
23698
|
+
* @param {string} environmentId
|
|
23699
|
+
* @param {*} [options] Override http request option.
|
|
23700
|
+
* @throws {RequiredError}
|
|
23701
|
+
*/
|
|
23702
|
+
listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<ListServicesByEnvironmentId200Response>;
|
|
23619
23703
|
};
|
|
23620
23704
|
/**
|
|
23621
23705
|
* DefaultApi - object-oriented interface
|
|
@@ -23633,6 +23717,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
23633
23717
|
* @memberof DefaultApi
|
|
23634
23718
|
*/
|
|
23635
23719
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
23720
|
+
/**
|
|
23721
|
+
*
|
|
23722
|
+
* @summary List Services By EnvironmentId
|
|
23723
|
+
* @param {string} environmentId
|
|
23724
|
+
* @param {*} [options] Override http request option.
|
|
23725
|
+
* @throws {RequiredError}
|
|
23726
|
+
* @memberof DefaultApi
|
|
23727
|
+
*/
|
|
23728
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByEnvironmentId200Response, any>>;
|
|
23636
23729
|
}
|
|
23637
23730
|
/**
|
|
23638
23731
|
* DeploymentStageMainCallsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -16185,6 +16185,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
16185
16185
|
options: localVarRequestOptions,
|
|
16186
16186
|
};
|
|
16187
16187
|
}),
|
|
16188
|
+
/**
|
|
16189
|
+
*
|
|
16190
|
+
* @summary List Services By EnvironmentId
|
|
16191
|
+
* @param {string} environmentId
|
|
16192
|
+
* @param {*} [options] Override http request option.
|
|
16193
|
+
* @throws {RequiredError}
|
|
16194
|
+
*/
|
|
16195
|
+
listServicesByEnvironmentId: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16196
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16197
|
+
assertParamExists('listServicesByEnvironmentId', 'environmentId', environmentId);
|
|
16198
|
+
const localVarPath = `/environment/{environmentId}/services`
|
|
16199
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16200
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16201
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16202
|
+
let baseOptions;
|
|
16203
|
+
if (configuration) {
|
|
16204
|
+
baseOptions = configuration.baseOptions;
|
|
16205
|
+
}
|
|
16206
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16207
|
+
const localVarHeaderParameter = {};
|
|
16208
|
+
const localVarQueryParameter = {};
|
|
16209
|
+
// authentication ApiKeyAuth required
|
|
16210
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16211
|
+
// authentication bearerAuth required
|
|
16212
|
+
// http bearer authentication required
|
|
16213
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16214
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16216
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16217
|
+
return {
|
|
16218
|
+
url: toPathString(localVarUrlObj),
|
|
16219
|
+
options: localVarRequestOptions,
|
|
16220
|
+
};
|
|
16221
|
+
}),
|
|
16188
16222
|
};
|
|
16189
16223
|
};
|
|
16190
16224
|
/**
|
|
@@ -16207,6 +16241,19 @@ export const DefaultApiFp = function (configuration) {
|
|
|
16207
16241
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16208
16242
|
});
|
|
16209
16243
|
},
|
|
16244
|
+
/**
|
|
16245
|
+
*
|
|
16246
|
+
* @summary List Services By EnvironmentId
|
|
16247
|
+
* @param {string} environmentId
|
|
16248
|
+
* @param {*} [options] Override http request option.
|
|
16249
|
+
* @throws {RequiredError}
|
|
16250
|
+
*/
|
|
16251
|
+
listServicesByEnvironmentId(environmentId, options) {
|
|
16252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16253
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
|
|
16254
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16255
|
+
});
|
|
16256
|
+
},
|
|
16210
16257
|
};
|
|
16211
16258
|
};
|
|
16212
16259
|
/**
|
|
@@ -16226,6 +16273,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
16226
16273
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16227
16274
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
16228
16275
|
},
|
|
16276
|
+
/**
|
|
16277
|
+
*
|
|
16278
|
+
* @summary List Services By EnvironmentId
|
|
16279
|
+
* @param {string} environmentId
|
|
16280
|
+
* @param {*} [options] Override http request option.
|
|
16281
|
+
* @throws {RequiredError}
|
|
16282
|
+
*/
|
|
16283
|
+
listServicesByEnvironmentId(environmentId, options) {
|
|
16284
|
+
return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
|
|
16285
|
+
},
|
|
16229
16286
|
};
|
|
16230
16287
|
};
|
|
16231
16288
|
/**
|
|
@@ -16246,6 +16303,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
16246
16303
|
getClusterTokenByClusterId(clusterId, options) {
|
|
16247
16304
|
return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
16248
16305
|
}
|
|
16306
|
+
/**
|
|
16307
|
+
*
|
|
16308
|
+
* @summary List Services By EnvironmentId
|
|
16309
|
+
* @param {string} environmentId
|
|
16310
|
+
* @param {*} [options] Override http request option.
|
|
16311
|
+
* @throws {RequiredError}
|
|
16312
|
+
* @memberof DefaultApi
|
|
16313
|
+
*/
|
|
16314
|
+
listServicesByEnvironmentId(environmentId, options) {
|
|
16315
|
+
return DefaultApiFp(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16316
|
+
}
|
|
16249
16317
|
}
|
|
16250
16318
|
/**
|
|
16251
16319
|
* DeploymentStageMainCallsApi - axios parameter creator
|