qovery-typescript-axios 1.1.509 → 1.1.510
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 +128 -0
- package/dist/api.d.ts +80 -0
- package/dist/api.js +68 -0
- package/dist/esm/api.d.ts +80 -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,12 @@ export interface ListOrganizationLabelsGroup200Response {
|
|
|
11727
11775
|
*/
|
|
11728
11776
|
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
11729
11777
|
}
|
|
11778
|
+
/**
|
|
11779
|
+
* @type ListServicesByEnvironmentId200ResponseInner
|
|
11780
|
+
* @export
|
|
11781
|
+
*/
|
|
11782
|
+
export type ListServicesByEnvironmentId200ResponseInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
|
|
11783
|
+
|
|
11730
11784
|
/**
|
|
11731
11785
|
*
|
|
11732
11786
|
* @export
|
|
@@ -32987,6 +33041,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32987
33041
|
|
|
32988
33042
|
|
|
32989
33043
|
|
|
33044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33046
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33047
|
+
|
|
33048
|
+
return {
|
|
33049
|
+
url: toPathString(localVarUrlObj),
|
|
33050
|
+
options: localVarRequestOptions,
|
|
33051
|
+
};
|
|
33052
|
+
},
|
|
33053
|
+
/**
|
|
33054
|
+
*
|
|
33055
|
+
* @summary List Services By EnvironmentId
|
|
33056
|
+
* @param {string} environmentId
|
|
33057
|
+
* @param {*} [options] Override http request option.
|
|
33058
|
+
* @throws {RequiredError}
|
|
33059
|
+
*/
|
|
33060
|
+
listServicesByEnvironmentId: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33061
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
33062
|
+
assertParamExists('listServicesByEnvironmentId', 'environmentId', environmentId)
|
|
33063
|
+
const localVarPath = `/environment/{environmentId}/services`
|
|
33064
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
33065
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33066
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33067
|
+
let baseOptions;
|
|
33068
|
+
if (configuration) {
|
|
33069
|
+
baseOptions = configuration.baseOptions;
|
|
33070
|
+
}
|
|
33071
|
+
|
|
33072
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33073
|
+
const localVarHeaderParameter = {} as any;
|
|
33074
|
+
const localVarQueryParameter = {} as any;
|
|
33075
|
+
|
|
33076
|
+
// authentication ApiKeyAuth required
|
|
33077
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33078
|
+
|
|
33079
|
+
// authentication bearerAuth required
|
|
33080
|
+
// http bearer authentication required
|
|
33081
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33082
|
+
|
|
33083
|
+
|
|
33084
|
+
|
|
32990
33085
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32991
33086
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32992
33087
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -33017,6 +33112,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
33017
33112
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
|
|
33018
33113
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33019
33114
|
},
|
|
33115
|
+
/**
|
|
33116
|
+
*
|
|
33117
|
+
* @summary List Services By EnvironmentId
|
|
33118
|
+
* @param {string} environmentId
|
|
33119
|
+
* @param {*} [options] Override http request option.
|
|
33120
|
+
* @throws {RequiredError}
|
|
33121
|
+
*/
|
|
33122
|
+
async listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>> {
|
|
33123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listServicesByEnvironmentId(environmentId, options);
|
|
33124
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33125
|
+
},
|
|
33020
33126
|
}
|
|
33021
33127
|
};
|
|
33022
33128
|
|
|
@@ -33037,6 +33143,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
33037
33143
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response> {
|
|
33038
33144
|
return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
33039
33145
|
},
|
|
33146
|
+
/**
|
|
33147
|
+
*
|
|
33148
|
+
* @summary List Services By EnvironmentId
|
|
33149
|
+
* @param {string} environmentId
|
|
33150
|
+
* @param {*} [options] Override http request option.
|
|
33151
|
+
* @throws {RequiredError}
|
|
33152
|
+
*/
|
|
33153
|
+
listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>> {
|
|
33154
|
+
return localVarFp.listServicesByEnvironmentId(environmentId, options).then((request) => request(axios, basePath));
|
|
33155
|
+
},
|
|
33040
33156
|
};
|
|
33041
33157
|
};
|
|
33042
33158
|
|
|
@@ -33058,6 +33174,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
33058
33174
|
public getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig) {
|
|
33059
33175
|
return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
33060
33176
|
}
|
|
33177
|
+
|
|
33178
|
+
/**
|
|
33179
|
+
*
|
|
33180
|
+
* @summary List Services By EnvironmentId
|
|
33181
|
+
* @param {string} environmentId
|
|
33182
|
+
* @param {*} [options] Override http request option.
|
|
33183
|
+
* @throws {RequiredError}
|
|
33184
|
+
* @memberof DefaultApi
|
|
33185
|
+
*/
|
|
33186
|
+
public listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig) {
|
|
33187
|
+
return DefaultApiFp(this.configuration).listServicesByEnvironmentId(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
33188
|
+
}
|
|
33061
33189
|
}
|
|
33062
33190
|
|
|
33063
33191
|
|
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,11 @@ export interface ListOrganizationLabelsGroup200Response {
|
|
|
11385
11427
|
*/
|
|
11386
11428
|
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
11387
11429
|
}
|
|
11430
|
+
/**
|
|
11431
|
+
* @type ListServicesByEnvironmentId200ResponseInner
|
|
11432
|
+
* @export
|
|
11433
|
+
*/
|
|
11434
|
+
export type ListServicesByEnvironmentId200ResponseInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
|
|
11388
11435
|
/**
|
|
11389
11436
|
*
|
|
11390
11437
|
* @export
|
|
@@ -23588,6 +23635,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23588
23635
|
* @throws {RequiredError}
|
|
23589
23636
|
*/
|
|
23590
23637
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23638
|
+
/**
|
|
23639
|
+
*
|
|
23640
|
+
* @summary List Services By EnvironmentId
|
|
23641
|
+
* @param {string} environmentId
|
|
23642
|
+
* @param {*} [options] Override http request option.
|
|
23643
|
+
* @throws {RequiredError}
|
|
23644
|
+
*/
|
|
23645
|
+
listServicesByEnvironmentId: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23591
23646
|
};
|
|
23592
23647
|
/**
|
|
23593
23648
|
* DefaultApi - functional programming interface
|
|
@@ -23602,6 +23657,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
23602
23657
|
* @throws {RequiredError}
|
|
23603
23658
|
*/
|
|
23604
23659
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
23660
|
+
/**
|
|
23661
|
+
*
|
|
23662
|
+
* @summary List Services By EnvironmentId
|
|
23663
|
+
* @param {string} environmentId
|
|
23664
|
+
* @param {*} [options] Override http request option.
|
|
23665
|
+
* @throws {RequiredError}
|
|
23666
|
+
*/
|
|
23667
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>>;
|
|
23605
23668
|
};
|
|
23606
23669
|
/**
|
|
23607
23670
|
* DefaultApi - factory interface
|
|
@@ -23616,6 +23679,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
23616
23679
|
* @throws {RequiredError}
|
|
23617
23680
|
*/
|
|
23618
23681
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
23682
|
+
/**
|
|
23683
|
+
*
|
|
23684
|
+
* @summary List Services By EnvironmentId
|
|
23685
|
+
* @param {string} environmentId
|
|
23686
|
+
* @param {*} [options] Override http request option.
|
|
23687
|
+
* @throws {RequiredError}
|
|
23688
|
+
*/
|
|
23689
|
+
listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>;
|
|
23619
23690
|
};
|
|
23620
23691
|
/**
|
|
23621
23692
|
* DefaultApi - object-oriented interface
|
|
@@ -23633,6 +23704,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
23633
23704
|
* @memberof DefaultApi
|
|
23634
23705
|
*/
|
|
23635
23706
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
23707
|
+
/**
|
|
23708
|
+
*
|
|
23709
|
+
* @summary List Services By EnvironmentId
|
|
23710
|
+
* @param {string} environmentId
|
|
23711
|
+
* @param {*} [options] Override http request option.
|
|
23712
|
+
* @throws {RequiredError}
|
|
23713
|
+
* @memberof DefaultApi
|
|
23714
|
+
*/
|
|
23715
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByEnvironmentId200ResponseInner[], any>>;
|
|
23636
23716
|
}
|
|
23637
23717
|
/**
|
|
23638
23718
|
* 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,11 @@ export interface ListOrganizationLabelsGroup200Response {
|
|
|
11385
11427
|
*/
|
|
11386
11428
|
'results'?: Array<OrganizationLabelsGroupEnrichedResponse>;
|
|
11387
11429
|
}
|
|
11430
|
+
/**
|
|
11431
|
+
* @type ListServicesByEnvironmentId200ResponseInner
|
|
11432
|
+
* @export
|
|
11433
|
+
*/
|
|
11434
|
+
export type ListServicesByEnvironmentId200ResponseInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
|
|
11388
11435
|
/**
|
|
11389
11436
|
*
|
|
11390
11437
|
* @export
|
|
@@ -23588,6 +23635,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
23588
23635
|
* @throws {RequiredError}
|
|
23589
23636
|
*/
|
|
23590
23637
|
getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23638
|
+
/**
|
|
23639
|
+
*
|
|
23640
|
+
* @summary List Services By EnvironmentId
|
|
23641
|
+
* @param {string} environmentId
|
|
23642
|
+
* @param {*} [options] Override http request option.
|
|
23643
|
+
* @throws {RequiredError}
|
|
23644
|
+
*/
|
|
23645
|
+
listServicesByEnvironmentId: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
23591
23646
|
};
|
|
23592
23647
|
/**
|
|
23593
23648
|
* DefaultApi - functional programming interface
|
|
@@ -23602,6 +23657,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
23602
23657
|
* @throws {RequiredError}
|
|
23603
23658
|
*/
|
|
23604
23659
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
|
|
23660
|
+
/**
|
|
23661
|
+
*
|
|
23662
|
+
* @summary List Services By EnvironmentId
|
|
23663
|
+
* @param {string} environmentId
|
|
23664
|
+
* @param {*} [options] Override http request option.
|
|
23665
|
+
* @throws {RequiredError}
|
|
23666
|
+
*/
|
|
23667
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>>;
|
|
23605
23668
|
};
|
|
23606
23669
|
/**
|
|
23607
23670
|
* DefaultApi - factory interface
|
|
@@ -23616,6 +23679,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
23616
23679
|
* @throws {RequiredError}
|
|
23617
23680
|
*/
|
|
23618
23681
|
getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
|
|
23682
|
+
/**
|
|
23683
|
+
*
|
|
23684
|
+
* @summary List Services By EnvironmentId
|
|
23685
|
+
* @param {string} environmentId
|
|
23686
|
+
* @param {*} [options] Override http request option.
|
|
23687
|
+
* @throws {RequiredError}
|
|
23688
|
+
*/
|
|
23689
|
+
listServicesByEnvironmentId(environmentId: string, options?: any): AxiosPromise<Array<ListServicesByEnvironmentId200ResponseInner>>;
|
|
23619
23690
|
};
|
|
23620
23691
|
/**
|
|
23621
23692
|
* DefaultApi - object-oriented interface
|
|
@@ -23633,6 +23704,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
23633
23704
|
* @memberof DefaultApi
|
|
23634
23705
|
*/
|
|
23635
23706
|
getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
|
|
23707
|
+
/**
|
|
23708
|
+
*
|
|
23709
|
+
* @summary List Services By EnvironmentId
|
|
23710
|
+
* @param {string} environmentId
|
|
23711
|
+
* @param {*} [options] Override http request option.
|
|
23712
|
+
* @throws {RequiredError}
|
|
23713
|
+
* @memberof DefaultApi
|
|
23714
|
+
*/
|
|
23715
|
+
listServicesByEnvironmentId(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByEnvironmentId200ResponseInner[], any>>;
|
|
23636
23716
|
}
|
|
23637
23717
|
/**
|
|
23638
23718
|
* 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
|