qovery-typescript-axios 1.1.853 → 1.1.854
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 +153 -0
- package/dist/api.d.ts +108 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +108 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3702,6 +3702,83 @@ export interface ClusterEksAnywhereGitRepository {
|
|
|
3702
3702
|
}
|
|
3703
3703
|
|
|
3704
3704
|
|
|
3705
|
+
/**
|
|
3706
|
+
*
|
|
3707
|
+
* @export
|
|
3708
|
+
* @interface ClusterEnvironmentResponse
|
|
3709
|
+
*/
|
|
3710
|
+
export interface ClusterEnvironmentResponse {
|
|
3711
|
+
/**
|
|
3712
|
+
*
|
|
3713
|
+
* @type {string}
|
|
3714
|
+
* @memberof ClusterEnvironmentResponse
|
|
3715
|
+
*/
|
|
3716
|
+
'environment_id': string;
|
|
3717
|
+
/**
|
|
3718
|
+
*
|
|
3719
|
+
* @type {string}
|
|
3720
|
+
* @memberof ClusterEnvironmentResponse
|
|
3721
|
+
*/
|
|
3722
|
+
'environment_name': string;
|
|
3723
|
+
/**
|
|
3724
|
+
*
|
|
3725
|
+
* @type {string}
|
|
3726
|
+
* @memberof ClusterEnvironmentResponse
|
|
3727
|
+
*/
|
|
3728
|
+
'project_id': string;
|
|
3729
|
+
/**
|
|
3730
|
+
*
|
|
3731
|
+
* @type {string}
|
|
3732
|
+
* @memberof ClusterEnvironmentResponse
|
|
3733
|
+
*/
|
|
3734
|
+
'project_name': string;
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @type {Array<ClusterEnvironmentServiceResponse>}
|
|
3738
|
+
* @memberof ClusterEnvironmentResponse
|
|
3739
|
+
*/
|
|
3740
|
+
'services': Array<ClusterEnvironmentServiceResponse>;
|
|
3741
|
+
}
|
|
3742
|
+
/**
|
|
3743
|
+
*
|
|
3744
|
+
* @export
|
|
3745
|
+
* @interface ClusterEnvironmentResponseList
|
|
3746
|
+
*/
|
|
3747
|
+
export interface ClusterEnvironmentResponseList {
|
|
3748
|
+
/**
|
|
3749
|
+
*
|
|
3750
|
+
* @type {Array<ClusterEnvironmentResponse>}
|
|
3751
|
+
* @memberof ClusterEnvironmentResponseList
|
|
3752
|
+
*/
|
|
3753
|
+
'results'?: Array<ClusterEnvironmentResponse>;
|
|
3754
|
+
}
|
|
3755
|
+
/**
|
|
3756
|
+
*
|
|
3757
|
+
* @export
|
|
3758
|
+
* @interface ClusterEnvironmentServiceResponse
|
|
3759
|
+
*/
|
|
3760
|
+
export interface ClusterEnvironmentServiceResponse {
|
|
3761
|
+
/**
|
|
3762
|
+
*
|
|
3763
|
+
* @type {string}
|
|
3764
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3765
|
+
*/
|
|
3766
|
+
'id': string;
|
|
3767
|
+
/**
|
|
3768
|
+
*
|
|
3769
|
+
* @type {string}
|
|
3770
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3771
|
+
*/
|
|
3772
|
+
'name': string;
|
|
3773
|
+
/**
|
|
3774
|
+
*
|
|
3775
|
+
* @type {LinkedServiceTypeEnum}
|
|
3776
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3777
|
+
*/
|
|
3778
|
+
'type': LinkedServiceTypeEnum;
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3781
|
+
|
|
3705
3782
|
/**
|
|
3706
3783
|
*
|
|
3707
3784
|
* @export
|
|
@@ -33651,6 +33728,47 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
33651
33728
|
|
|
33652
33729
|
|
|
33653
33730
|
|
|
33731
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33732
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33733
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33734
|
+
|
|
33735
|
+
return {
|
|
33736
|
+
url: toPathString(localVarUrlObj),
|
|
33737
|
+
options: localVarRequestOptions,
|
|
33738
|
+
};
|
|
33739
|
+
},
|
|
33740
|
+
/**
|
|
33741
|
+
*
|
|
33742
|
+
* @summary List environments services by cluster id
|
|
33743
|
+
* @param {string} clusterId
|
|
33744
|
+
* @param {*} [options] Override http request option.
|
|
33745
|
+
* @throws {RequiredError}
|
|
33746
|
+
*/
|
|
33747
|
+
getEnvironmentsByClusterId: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33748
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
33749
|
+
assertParamExists('getEnvironmentsByClusterId', 'clusterId', clusterId)
|
|
33750
|
+
const localVarPath = `/cluster/{clusterId}/environments`
|
|
33751
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
33752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33754
|
+
let baseOptions;
|
|
33755
|
+
if (configuration) {
|
|
33756
|
+
baseOptions = configuration.baseOptions;
|
|
33757
|
+
}
|
|
33758
|
+
|
|
33759
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
33760
|
+
const localVarHeaderParameter = {} as any;
|
|
33761
|
+
const localVarQueryParameter = {} as any;
|
|
33762
|
+
|
|
33763
|
+
// authentication ApiKeyAuth required
|
|
33764
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33765
|
+
|
|
33766
|
+
// authentication bearerAuth required
|
|
33767
|
+
// http bearer authentication required
|
|
33768
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33769
|
+
|
|
33770
|
+
|
|
33771
|
+
|
|
33654
33772
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33655
33773
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33656
33774
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -34541,6 +34659,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
34541
34659
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getDefaultClusterAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
34542
34660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34543
34661
|
},
|
|
34662
|
+
/**
|
|
34663
|
+
*
|
|
34664
|
+
* @summary List environments services by cluster id
|
|
34665
|
+
* @param {string} clusterId
|
|
34666
|
+
* @param {*} [options] Override http request option.
|
|
34667
|
+
* @throws {RequiredError}
|
|
34668
|
+
*/
|
|
34669
|
+
async getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEnvironmentResponseList>> {
|
|
34670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentsByClusterId(clusterId, options);
|
|
34671
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34672
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getEnvironmentsByClusterId']?.[localVarOperationServerIndex]?.url;
|
|
34673
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34674
|
+
},
|
|
34544
34675
|
/**
|
|
34545
34676
|
*
|
|
34546
34677
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -34944,6 +35075,16 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
34944
35075
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings> {
|
|
34945
35076
|
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
34946
35077
|
},
|
|
35078
|
+
/**
|
|
35079
|
+
*
|
|
35080
|
+
* @summary List environments services by cluster id
|
|
35081
|
+
* @param {string} clusterId
|
|
35082
|
+
* @param {*} [options] Override http request option.
|
|
35083
|
+
* @throws {RequiredError}
|
|
35084
|
+
*/
|
|
35085
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEnvironmentResponseList> {
|
|
35086
|
+
return localVarFp.getEnvironmentsByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
35087
|
+
},
|
|
34947
35088
|
/**
|
|
34948
35089
|
*
|
|
34949
35090
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -35335,6 +35476,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
35335
35476
|
return ClustersApiFp(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
35336
35477
|
}
|
|
35337
35478
|
|
|
35479
|
+
/**
|
|
35480
|
+
*
|
|
35481
|
+
* @summary List environments services by cluster id
|
|
35482
|
+
* @param {string} clusterId
|
|
35483
|
+
* @param {*} [options] Override http request option.
|
|
35484
|
+
* @throws {RequiredError}
|
|
35485
|
+
* @memberof ClustersApi
|
|
35486
|
+
*/
|
|
35487
|
+
public getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig) {
|
|
35488
|
+
return ClustersApiFp(this.configuration).getEnvironmentsByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
35489
|
+
}
|
|
35490
|
+
|
|
35338
35491
|
/**
|
|
35339
35492
|
*
|
|
35340
35493
|
* @summary Get cluster helm values for self managed installation
|
package/dist/api.d.ts
CHANGED
|
@@ -3581,6 +3581,81 @@ export interface ClusterEksAnywhereGitRepository {
|
|
|
3581
3581
|
*/
|
|
3582
3582
|
'provider'?: GitProviderEnum;
|
|
3583
3583
|
}
|
|
3584
|
+
/**
|
|
3585
|
+
*
|
|
3586
|
+
* @export
|
|
3587
|
+
* @interface ClusterEnvironmentResponse
|
|
3588
|
+
*/
|
|
3589
|
+
export interface ClusterEnvironmentResponse {
|
|
3590
|
+
/**
|
|
3591
|
+
*
|
|
3592
|
+
* @type {string}
|
|
3593
|
+
* @memberof ClusterEnvironmentResponse
|
|
3594
|
+
*/
|
|
3595
|
+
'environment_id': string;
|
|
3596
|
+
/**
|
|
3597
|
+
*
|
|
3598
|
+
* @type {string}
|
|
3599
|
+
* @memberof ClusterEnvironmentResponse
|
|
3600
|
+
*/
|
|
3601
|
+
'environment_name': string;
|
|
3602
|
+
/**
|
|
3603
|
+
*
|
|
3604
|
+
* @type {string}
|
|
3605
|
+
* @memberof ClusterEnvironmentResponse
|
|
3606
|
+
*/
|
|
3607
|
+
'project_id': string;
|
|
3608
|
+
/**
|
|
3609
|
+
*
|
|
3610
|
+
* @type {string}
|
|
3611
|
+
* @memberof ClusterEnvironmentResponse
|
|
3612
|
+
*/
|
|
3613
|
+
'project_name': string;
|
|
3614
|
+
/**
|
|
3615
|
+
*
|
|
3616
|
+
* @type {Array<ClusterEnvironmentServiceResponse>}
|
|
3617
|
+
* @memberof ClusterEnvironmentResponse
|
|
3618
|
+
*/
|
|
3619
|
+
'services': Array<ClusterEnvironmentServiceResponse>;
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
*
|
|
3623
|
+
* @export
|
|
3624
|
+
* @interface ClusterEnvironmentResponseList
|
|
3625
|
+
*/
|
|
3626
|
+
export interface ClusterEnvironmentResponseList {
|
|
3627
|
+
/**
|
|
3628
|
+
*
|
|
3629
|
+
* @type {Array<ClusterEnvironmentResponse>}
|
|
3630
|
+
* @memberof ClusterEnvironmentResponseList
|
|
3631
|
+
*/
|
|
3632
|
+
'results'?: Array<ClusterEnvironmentResponse>;
|
|
3633
|
+
}
|
|
3634
|
+
/**
|
|
3635
|
+
*
|
|
3636
|
+
* @export
|
|
3637
|
+
* @interface ClusterEnvironmentServiceResponse
|
|
3638
|
+
*/
|
|
3639
|
+
export interface ClusterEnvironmentServiceResponse {
|
|
3640
|
+
/**
|
|
3641
|
+
*
|
|
3642
|
+
* @type {string}
|
|
3643
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3644
|
+
*/
|
|
3645
|
+
'id': string;
|
|
3646
|
+
/**
|
|
3647
|
+
*
|
|
3648
|
+
* @type {string}
|
|
3649
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3650
|
+
*/
|
|
3651
|
+
'name': string;
|
|
3652
|
+
/**
|
|
3653
|
+
*
|
|
3654
|
+
* @type {LinkedServiceTypeEnum}
|
|
3655
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3656
|
+
*/
|
|
3657
|
+
'type': LinkedServiceTypeEnum;
|
|
3658
|
+
}
|
|
3584
3659
|
/**
|
|
3585
3660
|
*
|
|
3586
3661
|
* @export
|
|
@@ -26339,6 +26414,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26339
26414
|
* @throws {RequiredError}
|
|
26340
26415
|
*/
|
|
26341
26416
|
getDefaultClusterAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26417
|
+
/**
|
|
26418
|
+
*
|
|
26419
|
+
* @summary List environments services by cluster id
|
|
26420
|
+
* @param {string} clusterId
|
|
26421
|
+
* @param {*} [options] Override http request option.
|
|
26422
|
+
* @throws {RequiredError}
|
|
26423
|
+
*/
|
|
26424
|
+
getEnvironmentsByClusterId: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26342
26425
|
/**
|
|
26343
26426
|
*
|
|
26344
26427
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -26638,6 +26721,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26638
26721
|
* @throws {RequiredError}
|
|
26639
26722
|
*/
|
|
26640
26723
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
26724
|
+
/**
|
|
26725
|
+
*
|
|
26726
|
+
* @summary List environments services by cluster id
|
|
26727
|
+
* @param {string} clusterId
|
|
26728
|
+
* @param {*} [options] Override http request option.
|
|
26729
|
+
* @throws {RequiredError}
|
|
26730
|
+
*/
|
|
26731
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEnvironmentResponseList>>;
|
|
26641
26732
|
/**
|
|
26642
26733
|
*
|
|
26643
26734
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -26937,6 +27028,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26937
27028
|
* @throws {RequiredError}
|
|
26938
27029
|
*/
|
|
26939
27030
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings>;
|
|
27031
|
+
/**
|
|
27032
|
+
*
|
|
27033
|
+
* @summary List environments services by cluster id
|
|
27034
|
+
* @param {string} clusterId
|
|
27035
|
+
* @param {*} [options] Override http request option.
|
|
27036
|
+
* @throws {RequiredError}
|
|
27037
|
+
*/
|
|
27038
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEnvironmentResponseList>;
|
|
26940
27039
|
/**
|
|
26941
27040
|
*
|
|
26942
27041
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -27253,6 +27352,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27253
27352
|
* @memberof ClustersApi
|
|
27254
27353
|
*/
|
|
27255
27354
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any, {}>>;
|
|
27355
|
+
/**
|
|
27356
|
+
*
|
|
27357
|
+
* @summary List environments services by cluster id
|
|
27358
|
+
* @param {string} clusterId
|
|
27359
|
+
* @param {*} [options] Override http request option.
|
|
27360
|
+
* @throws {RequiredError}
|
|
27361
|
+
* @memberof ClustersApi
|
|
27362
|
+
*/
|
|
27363
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterEnvironmentResponseList, any, {}>>;
|
|
27256
27364
|
/**
|
|
27257
27365
|
*
|
|
27258
27366
|
* @summary Get cluster helm values for self managed installation
|
package/dist/api.js
CHANGED
|
@@ -12226,6 +12226,40 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12226
12226
|
options: localVarRequestOptions,
|
|
12227
12227
|
};
|
|
12228
12228
|
}),
|
|
12229
|
+
/**
|
|
12230
|
+
*
|
|
12231
|
+
* @summary List environments services by cluster id
|
|
12232
|
+
* @param {string} clusterId
|
|
12233
|
+
* @param {*} [options] Override http request option.
|
|
12234
|
+
* @throws {RequiredError}
|
|
12235
|
+
*/
|
|
12236
|
+
getEnvironmentsByClusterId: (clusterId_1, ...args_1) => __awaiter(this, [clusterId_1, ...args_1], void 0, function* (clusterId, options = {}) {
|
|
12237
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12238
|
+
(0, common_1.assertParamExists)('getEnvironmentsByClusterId', 'clusterId', clusterId);
|
|
12239
|
+
const localVarPath = `/cluster/{clusterId}/environments`
|
|
12240
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12242
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12243
|
+
let baseOptions;
|
|
12244
|
+
if (configuration) {
|
|
12245
|
+
baseOptions = configuration.baseOptions;
|
|
12246
|
+
}
|
|
12247
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12248
|
+
const localVarHeaderParameter = {};
|
|
12249
|
+
const localVarQueryParameter = {};
|
|
12250
|
+
// authentication ApiKeyAuth required
|
|
12251
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
12252
|
+
// authentication bearerAuth required
|
|
12253
|
+
// http bearer authentication required
|
|
12254
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12255
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12257
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12258
|
+
return {
|
|
12259
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12260
|
+
options: localVarRequestOptions,
|
|
12261
|
+
};
|
|
12262
|
+
}),
|
|
12229
12263
|
/**
|
|
12230
12264
|
*
|
|
12231
12265
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -13050,6 +13084,22 @@ const ClustersApiFp = function (configuration) {
|
|
|
13050
13084
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13051
13085
|
});
|
|
13052
13086
|
},
|
|
13087
|
+
/**
|
|
13088
|
+
*
|
|
13089
|
+
* @summary List environments services by cluster id
|
|
13090
|
+
* @param {string} clusterId
|
|
13091
|
+
* @param {*} [options] Override http request option.
|
|
13092
|
+
* @throws {RequiredError}
|
|
13093
|
+
*/
|
|
13094
|
+
getEnvironmentsByClusterId(clusterId, options) {
|
|
13095
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13096
|
+
var _a, _b, _c;
|
|
13097
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentsByClusterId(clusterId, options);
|
|
13098
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13099
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClustersApi.getEnvironmentsByClusterId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13100
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13101
|
+
});
|
|
13102
|
+
},
|
|
13053
13103
|
/**
|
|
13054
13104
|
*
|
|
13055
13105
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -13495,6 +13545,16 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13495
13545
|
getDefaultClusterAdvancedSettings(options) {
|
|
13496
13546
|
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
13497
13547
|
},
|
|
13548
|
+
/**
|
|
13549
|
+
*
|
|
13550
|
+
* @summary List environments services by cluster id
|
|
13551
|
+
* @param {string} clusterId
|
|
13552
|
+
* @param {*} [options] Override http request option.
|
|
13553
|
+
* @throws {RequiredError}
|
|
13554
|
+
*/
|
|
13555
|
+
getEnvironmentsByClusterId(clusterId, options) {
|
|
13556
|
+
return localVarFp.getEnvironmentsByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
13557
|
+
},
|
|
13498
13558
|
/**
|
|
13499
13559
|
*
|
|
13500
13560
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -13871,6 +13931,17 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
13871
13931
|
getDefaultClusterAdvancedSettings(options) {
|
|
13872
13932
|
return (0, exports.ClustersApiFp)(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
13873
13933
|
}
|
|
13934
|
+
/**
|
|
13935
|
+
*
|
|
13936
|
+
* @summary List environments services by cluster id
|
|
13937
|
+
* @param {string} clusterId
|
|
13938
|
+
* @param {*} [options] Override http request option.
|
|
13939
|
+
* @throws {RequiredError}
|
|
13940
|
+
* @memberof ClustersApi
|
|
13941
|
+
*/
|
|
13942
|
+
getEnvironmentsByClusterId(clusterId, options) {
|
|
13943
|
+
return (0, exports.ClustersApiFp)(this.configuration).getEnvironmentsByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13944
|
+
}
|
|
13874
13945
|
/**
|
|
13875
13946
|
*
|
|
13876
13947
|
* @summary Get cluster helm values for self managed installation
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3581,6 +3581,81 @@ export interface ClusterEksAnywhereGitRepository {
|
|
|
3581
3581
|
*/
|
|
3582
3582
|
'provider'?: GitProviderEnum;
|
|
3583
3583
|
}
|
|
3584
|
+
/**
|
|
3585
|
+
*
|
|
3586
|
+
* @export
|
|
3587
|
+
* @interface ClusterEnvironmentResponse
|
|
3588
|
+
*/
|
|
3589
|
+
export interface ClusterEnvironmentResponse {
|
|
3590
|
+
/**
|
|
3591
|
+
*
|
|
3592
|
+
* @type {string}
|
|
3593
|
+
* @memberof ClusterEnvironmentResponse
|
|
3594
|
+
*/
|
|
3595
|
+
'environment_id': string;
|
|
3596
|
+
/**
|
|
3597
|
+
*
|
|
3598
|
+
* @type {string}
|
|
3599
|
+
* @memberof ClusterEnvironmentResponse
|
|
3600
|
+
*/
|
|
3601
|
+
'environment_name': string;
|
|
3602
|
+
/**
|
|
3603
|
+
*
|
|
3604
|
+
* @type {string}
|
|
3605
|
+
* @memberof ClusterEnvironmentResponse
|
|
3606
|
+
*/
|
|
3607
|
+
'project_id': string;
|
|
3608
|
+
/**
|
|
3609
|
+
*
|
|
3610
|
+
* @type {string}
|
|
3611
|
+
* @memberof ClusterEnvironmentResponse
|
|
3612
|
+
*/
|
|
3613
|
+
'project_name': string;
|
|
3614
|
+
/**
|
|
3615
|
+
*
|
|
3616
|
+
* @type {Array<ClusterEnvironmentServiceResponse>}
|
|
3617
|
+
* @memberof ClusterEnvironmentResponse
|
|
3618
|
+
*/
|
|
3619
|
+
'services': Array<ClusterEnvironmentServiceResponse>;
|
|
3620
|
+
}
|
|
3621
|
+
/**
|
|
3622
|
+
*
|
|
3623
|
+
* @export
|
|
3624
|
+
* @interface ClusterEnvironmentResponseList
|
|
3625
|
+
*/
|
|
3626
|
+
export interface ClusterEnvironmentResponseList {
|
|
3627
|
+
/**
|
|
3628
|
+
*
|
|
3629
|
+
* @type {Array<ClusterEnvironmentResponse>}
|
|
3630
|
+
* @memberof ClusterEnvironmentResponseList
|
|
3631
|
+
*/
|
|
3632
|
+
'results'?: Array<ClusterEnvironmentResponse>;
|
|
3633
|
+
}
|
|
3634
|
+
/**
|
|
3635
|
+
*
|
|
3636
|
+
* @export
|
|
3637
|
+
* @interface ClusterEnvironmentServiceResponse
|
|
3638
|
+
*/
|
|
3639
|
+
export interface ClusterEnvironmentServiceResponse {
|
|
3640
|
+
/**
|
|
3641
|
+
*
|
|
3642
|
+
* @type {string}
|
|
3643
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3644
|
+
*/
|
|
3645
|
+
'id': string;
|
|
3646
|
+
/**
|
|
3647
|
+
*
|
|
3648
|
+
* @type {string}
|
|
3649
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3650
|
+
*/
|
|
3651
|
+
'name': string;
|
|
3652
|
+
/**
|
|
3653
|
+
*
|
|
3654
|
+
* @type {LinkedServiceTypeEnum}
|
|
3655
|
+
* @memberof ClusterEnvironmentServiceResponse
|
|
3656
|
+
*/
|
|
3657
|
+
'type': LinkedServiceTypeEnum;
|
|
3658
|
+
}
|
|
3584
3659
|
/**
|
|
3585
3660
|
*
|
|
3586
3661
|
* @export
|
|
@@ -26339,6 +26414,14 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
26339
26414
|
* @throws {RequiredError}
|
|
26340
26415
|
*/
|
|
26341
26416
|
getDefaultClusterAdvancedSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26417
|
+
/**
|
|
26418
|
+
*
|
|
26419
|
+
* @summary List environments services by cluster id
|
|
26420
|
+
* @param {string} clusterId
|
|
26421
|
+
* @param {*} [options] Override http request option.
|
|
26422
|
+
* @throws {RequiredError}
|
|
26423
|
+
*/
|
|
26424
|
+
getEnvironmentsByClusterId: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26342
26425
|
/**
|
|
26343
26426
|
*
|
|
26344
26427
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -26638,6 +26721,14 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
26638
26721
|
* @throws {RequiredError}
|
|
26639
26722
|
*/
|
|
26640
26723
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
|
|
26724
|
+
/**
|
|
26725
|
+
*
|
|
26726
|
+
* @summary List environments services by cluster id
|
|
26727
|
+
* @param {string} clusterId
|
|
26728
|
+
* @param {*} [options] Override http request option.
|
|
26729
|
+
* @throws {RequiredError}
|
|
26730
|
+
*/
|
|
26731
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterEnvironmentResponseList>>;
|
|
26641
26732
|
/**
|
|
26642
26733
|
*
|
|
26643
26734
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -26937,6 +27028,14 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
26937
27028
|
* @throws {RequiredError}
|
|
26938
27029
|
*/
|
|
26939
27030
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings>;
|
|
27031
|
+
/**
|
|
27032
|
+
*
|
|
27033
|
+
* @summary List environments services by cluster id
|
|
27034
|
+
* @param {string} clusterId
|
|
27035
|
+
* @param {*} [options] Override http request option.
|
|
27036
|
+
* @throws {RequiredError}
|
|
27037
|
+
*/
|
|
27038
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterEnvironmentResponseList>;
|
|
26940
27039
|
/**
|
|
26941
27040
|
*
|
|
26942
27041
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -27253,6 +27352,15 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
27253
27352
|
* @memberof ClustersApi
|
|
27254
27353
|
*/
|
|
27255
27354
|
getDefaultClusterAdvancedSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any, {}>>;
|
|
27355
|
+
/**
|
|
27356
|
+
*
|
|
27357
|
+
* @summary List environments services by cluster id
|
|
27358
|
+
* @param {string} clusterId
|
|
27359
|
+
* @param {*} [options] Override http request option.
|
|
27360
|
+
* @throws {RequiredError}
|
|
27361
|
+
* @memberof ClustersApi
|
|
27362
|
+
*/
|
|
27363
|
+
getEnvironmentsByClusterId(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterEnvironmentResponseList, any, {}>>;
|
|
27256
27364
|
/**
|
|
27257
27365
|
*
|
|
27258
27366
|
* @summary Get cluster helm values for self managed installation
|
package/dist/esm/api.js
CHANGED
|
@@ -12141,6 +12141,40 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
12141
12141
|
options: localVarRequestOptions,
|
|
12142
12142
|
};
|
|
12143
12143
|
}),
|
|
12144
|
+
/**
|
|
12145
|
+
*
|
|
12146
|
+
* @summary List environments services by cluster id
|
|
12147
|
+
* @param {string} clusterId
|
|
12148
|
+
* @param {*} [options] Override http request option.
|
|
12149
|
+
* @throws {RequiredError}
|
|
12150
|
+
*/
|
|
12151
|
+
getEnvironmentsByClusterId: (clusterId_1, ...args_1) => __awaiter(this, [clusterId_1, ...args_1], void 0, function* (clusterId, options = {}) {
|
|
12152
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
12153
|
+
assertParamExists('getEnvironmentsByClusterId', 'clusterId', clusterId);
|
|
12154
|
+
const localVarPath = `/cluster/{clusterId}/environments`
|
|
12155
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
12156
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12157
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12158
|
+
let baseOptions;
|
|
12159
|
+
if (configuration) {
|
|
12160
|
+
baseOptions = configuration.baseOptions;
|
|
12161
|
+
}
|
|
12162
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12163
|
+
const localVarHeaderParameter = {};
|
|
12164
|
+
const localVarQueryParameter = {};
|
|
12165
|
+
// authentication ApiKeyAuth required
|
|
12166
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
12167
|
+
// authentication bearerAuth required
|
|
12168
|
+
// http bearer authentication required
|
|
12169
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
12170
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12171
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12172
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12173
|
+
return {
|
|
12174
|
+
url: toPathString(localVarUrlObj),
|
|
12175
|
+
options: localVarRequestOptions,
|
|
12176
|
+
};
|
|
12177
|
+
}),
|
|
12144
12178
|
/**
|
|
12145
12179
|
*
|
|
12146
12180
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -12964,6 +12998,22 @@ export const ClustersApiFp = function (configuration) {
|
|
|
12964
12998
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12965
12999
|
});
|
|
12966
13000
|
},
|
|
13001
|
+
/**
|
|
13002
|
+
*
|
|
13003
|
+
* @summary List environments services by cluster id
|
|
13004
|
+
* @param {string} clusterId
|
|
13005
|
+
* @param {*} [options] Override http request option.
|
|
13006
|
+
* @throws {RequiredError}
|
|
13007
|
+
*/
|
|
13008
|
+
getEnvironmentsByClusterId(clusterId, options) {
|
|
13009
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13010
|
+
var _a, _b, _c;
|
|
13011
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentsByClusterId(clusterId, options);
|
|
13012
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
13013
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClustersApi.getEnvironmentsByClusterId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
13014
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13015
|
+
});
|
|
13016
|
+
},
|
|
12967
13017
|
/**
|
|
12968
13018
|
*
|
|
12969
13019
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -13408,6 +13458,16 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
13408
13458
|
getDefaultClusterAdvancedSettings(options) {
|
|
13409
13459
|
return localVarFp.getDefaultClusterAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
13410
13460
|
},
|
|
13461
|
+
/**
|
|
13462
|
+
*
|
|
13463
|
+
* @summary List environments services by cluster id
|
|
13464
|
+
* @param {string} clusterId
|
|
13465
|
+
* @param {*} [options] Override http request option.
|
|
13466
|
+
* @throws {RequiredError}
|
|
13467
|
+
*/
|
|
13468
|
+
getEnvironmentsByClusterId(clusterId, options) {
|
|
13469
|
+
return localVarFp.getEnvironmentsByClusterId(clusterId, options).then((request) => request(axios, basePath));
|
|
13470
|
+
},
|
|
13411
13471
|
/**
|
|
13412
13472
|
*
|
|
13413
13473
|
* @summary Get cluster helm values for self managed installation
|
|
@@ -13783,6 +13843,17 @@ export class ClustersApi extends BaseAPI {
|
|
|
13783
13843
|
getDefaultClusterAdvancedSettings(options) {
|
|
13784
13844
|
return ClustersApiFp(this.configuration).getDefaultClusterAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
13785
13845
|
}
|
|
13846
|
+
/**
|
|
13847
|
+
*
|
|
13848
|
+
* @summary List environments services by cluster id
|
|
13849
|
+
* @param {string} clusterId
|
|
13850
|
+
* @param {*} [options] Override http request option.
|
|
13851
|
+
* @throws {RequiredError}
|
|
13852
|
+
* @memberof ClustersApi
|
|
13853
|
+
*/
|
|
13854
|
+
getEnvironmentsByClusterId(clusterId, options) {
|
|
13855
|
+
return ClustersApiFp(this.configuration).getEnvironmentsByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
13856
|
+
}
|
|
13786
13857
|
/**
|
|
13787
13858
|
*
|
|
13788
13859
|
* @summary Get cluster helm values for self managed installation
|