qovery-typescript-axios 1.1.516 → 1.1.518
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 +350 -7
- package/dist/api.d.ts +211 -7
- package/dist/api.js +251 -2
- package/dist/esm/api.d.ts +211 -7
- package/dist/esm/api.js +244 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -320,7 +320,7 @@ export interface Application {
|
|
|
320
320
|
* @type {ServiceTypeEnum}
|
|
321
321
|
* @memberof Application
|
|
322
322
|
*/
|
|
323
|
-
'
|
|
323
|
+
'service_type': ServiceTypeEnum;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
|
|
@@ -1436,7 +1436,7 @@ export interface BaseJobResponse {
|
|
|
1436
1436
|
* @type {ServiceTypeEnum}
|
|
1437
1437
|
* @memberof BaseJobResponse
|
|
1438
1438
|
*/
|
|
1439
|
-
'
|
|
1439
|
+
'service_type': ServiceTypeEnum;
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
1442
|
|
|
@@ -2974,6 +2974,75 @@ export interface ClusterKarpenterPrivateSubnetIdsPutRequest {
|
|
|
2974
2974
|
*/
|
|
2975
2975
|
'eks_karpenter_fargate_subnets_zone_c_ids'?: Array<string>;
|
|
2976
2976
|
}
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @export
|
|
2980
|
+
* @interface ClusterLock
|
|
2981
|
+
*/
|
|
2982
|
+
export interface ClusterLock {
|
|
2983
|
+
/**
|
|
2984
|
+
*
|
|
2985
|
+
* @type {string}
|
|
2986
|
+
* @memberof ClusterLock
|
|
2987
|
+
*/
|
|
2988
|
+
'reason': string;
|
|
2989
|
+
/**
|
|
2990
|
+
*
|
|
2991
|
+
* @type {number}
|
|
2992
|
+
* @memberof ClusterLock
|
|
2993
|
+
*/
|
|
2994
|
+
'ttl_in_days'?: number;
|
|
2995
|
+
/**
|
|
2996
|
+
*
|
|
2997
|
+
* @type {string}
|
|
2998
|
+
* @memberof ClusterLock
|
|
2999
|
+
*/
|
|
3000
|
+
'cluster_id': string;
|
|
3001
|
+
/**
|
|
3002
|
+
*
|
|
3003
|
+
* @type {number}
|
|
3004
|
+
* @memberof ClusterLock
|
|
3005
|
+
*/
|
|
3006
|
+
'locked_at': number;
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @type {string}
|
|
3010
|
+
* @memberof ClusterLock
|
|
3011
|
+
*/
|
|
3012
|
+
'owner_name': string;
|
|
3013
|
+
}
|
|
3014
|
+
/**
|
|
3015
|
+
*
|
|
3016
|
+
* @export
|
|
3017
|
+
* @interface ClusterLockList
|
|
3018
|
+
*/
|
|
3019
|
+
export interface ClusterLockList {
|
|
3020
|
+
/**
|
|
3021
|
+
*
|
|
3022
|
+
* @type {Array<ClusterLock>}
|
|
3023
|
+
* @memberof ClusterLockList
|
|
3024
|
+
*/
|
|
3025
|
+
'results'?: Array<ClusterLock>;
|
|
3026
|
+
}
|
|
3027
|
+
/**
|
|
3028
|
+
*
|
|
3029
|
+
* @export
|
|
3030
|
+
* @interface ClusterLockRequest
|
|
3031
|
+
*/
|
|
3032
|
+
export interface ClusterLockRequest {
|
|
3033
|
+
/**
|
|
3034
|
+
*
|
|
3035
|
+
* @type {string}
|
|
3036
|
+
* @memberof ClusterLockRequest
|
|
3037
|
+
*/
|
|
3038
|
+
'reason': string;
|
|
3039
|
+
/**
|
|
3040
|
+
*
|
|
3041
|
+
* @type {number}
|
|
3042
|
+
* @memberof ClusterLockRequest
|
|
3043
|
+
*/
|
|
3044
|
+
'ttl_in_days'?: number;
|
|
3045
|
+
}
|
|
2977
3046
|
/**
|
|
2978
3047
|
*
|
|
2979
3048
|
* @export
|
|
@@ -3499,6 +3568,12 @@ export interface ClusterStatus {
|
|
|
3499
3568
|
* @memberof ClusterStatus
|
|
3500
3569
|
*/
|
|
3501
3570
|
'last_execution_id'?: string;
|
|
3571
|
+
/**
|
|
3572
|
+
*
|
|
3573
|
+
* @type {ClusterLock}
|
|
3574
|
+
* @memberof ClusterStatus
|
|
3575
|
+
*/
|
|
3576
|
+
'cluster_lock'?: ClusterLock;
|
|
3502
3577
|
}
|
|
3503
3578
|
|
|
3504
3579
|
|
|
@@ -4530,7 +4605,7 @@ export interface ContainerResponse {
|
|
|
4530
4605
|
* @type {ServiceTypeEnum}
|
|
4531
4606
|
* @memberof ContainerResponse
|
|
4532
4607
|
*/
|
|
4533
|
-
'
|
|
4608
|
+
'service_type': ServiceTypeEnum;
|
|
4534
4609
|
}
|
|
4535
4610
|
|
|
4536
4611
|
|
|
@@ -4990,7 +5065,7 @@ export interface CronJobResponse {
|
|
|
4990
5065
|
* @type {ServiceTypeEnum}
|
|
4991
5066
|
* @memberof CronJobResponse
|
|
4992
5067
|
*/
|
|
4993
|
-
'
|
|
5068
|
+
'service_type': ServiceTypeEnum;
|
|
4994
5069
|
/**
|
|
4995
5070
|
*
|
|
4996
5071
|
* @type {string}
|
|
@@ -5351,7 +5426,7 @@ export interface Database {
|
|
|
5351
5426
|
* @type {ServiceTypeEnum}
|
|
5352
5427
|
* @memberof Database
|
|
5353
5428
|
*/
|
|
5354
|
-
'
|
|
5429
|
+
'service_type': ServiceTypeEnum;
|
|
5355
5430
|
}
|
|
5356
5431
|
|
|
5357
5432
|
|
|
@@ -9843,7 +9918,7 @@ export interface HelmResponse {
|
|
|
9843
9918
|
* @type {ServiceTypeEnum}
|
|
9844
9919
|
* @memberof HelmResponse
|
|
9845
9920
|
*/
|
|
9846
|
-
'
|
|
9921
|
+
'service_type': ServiceTypeEnum;
|
|
9847
9922
|
}
|
|
9848
9923
|
|
|
9849
9924
|
|
|
@@ -11374,7 +11449,7 @@ export interface LifecycleJobResponse {
|
|
|
11374
11449
|
* @type {ServiceTypeEnum}
|
|
11375
11450
|
* @memberof LifecycleJobResponse
|
|
11376
11451
|
*/
|
|
11377
|
-
'
|
|
11452
|
+
'service_type': ServiceTypeEnum;
|
|
11378
11453
|
/**
|
|
11379
11454
|
*
|
|
11380
11455
|
* @type {string}
|
|
@@ -25991,6 +26066,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
25991
26066
|
options: localVarRequestOptions,
|
|
25992
26067
|
};
|
|
25993
26068
|
},
|
|
26069
|
+
/**
|
|
26070
|
+
* Lock a Cluster
|
|
26071
|
+
* @summary Lock Cluster
|
|
26072
|
+
* @param {string} clusterId
|
|
26073
|
+
* @param {ClusterLockRequest} [clusterLockRequest]
|
|
26074
|
+
* @param {*} [options] Override http request option.
|
|
26075
|
+
* @throws {RequiredError}
|
|
26076
|
+
*/
|
|
26077
|
+
lockCluster: async (clusterId: string, clusterLockRequest?: ClusterLockRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26078
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
26079
|
+
assertParamExists('lockCluster', 'clusterId', clusterId)
|
|
26080
|
+
const localVarPath = `/cluster/{clusterId}/lock`
|
|
26081
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
26082
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26083
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26084
|
+
let baseOptions;
|
|
26085
|
+
if (configuration) {
|
|
26086
|
+
baseOptions = configuration.baseOptions;
|
|
26087
|
+
}
|
|
26088
|
+
|
|
26089
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
26090
|
+
const localVarHeaderParameter = {} as any;
|
|
26091
|
+
const localVarQueryParameter = {} as any;
|
|
26092
|
+
|
|
26093
|
+
// authentication ApiKeyAuth required
|
|
26094
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26095
|
+
|
|
26096
|
+
// authentication bearerAuth required
|
|
26097
|
+
// http bearer authentication required
|
|
26098
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26099
|
+
|
|
26100
|
+
|
|
26101
|
+
|
|
26102
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26103
|
+
|
|
26104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26106
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26107
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterLockRequest, localVarRequestOptions, configuration)
|
|
26108
|
+
|
|
26109
|
+
return {
|
|
26110
|
+
url: toPathString(localVarUrlObj),
|
|
26111
|
+
options: localVarRequestOptions,
|
|
26112
|
+
};
|
|
26113
|
+
},
|
|
25994
26114
|
/**
|
|
25995
26115
|
*
|
|
25996
26116
|
* @summary Specify cluster cloud provider info and credentials
|
|
@@ -26076,6 +26196,47 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
26076
26196
|
|
|
26077
26197
|
|
|
26078
26198
|
|
|
26199
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26201
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26202
|
+
|
|
26203
|
+
return {
|
|
26204
|
+
url: toPathString(localVarUrlObj),
|
|
26205
|
+
options: localVarRequestOptions,
|
|
26206
|
+
};
|
|
26207
|
+
},
|
|
26208
|
+
/**
|
|
26209
|
+
* Unlock a cluster
|
|
26210
|
+
* @summary Unlock Cluster
|
|
26211
|
+
* @param {string} clusterId
|
|
26212
|
+
* @param {*} [options] Override http request option.
|
|
26213
|
+
* @throws {RequiredError}
|
|
26214
|
+
*/
|
|
26215
|
+
unlockCluster: async (clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26216
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
26217
|
+
assertParamExists('unlockCluster', 'clusterId', clusterId)
|
|
26218
|
+
const localVarPath = `/cluster/{clusterId}/lock`
|
|
26219
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
26220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26222
|
+
let baseOptions;
|
|
26223
|
+
if (configuration) {
|
|
26224
|
+
baseOptions = configuration.baseOptions;
|
|
26225
|
+
}
|
|
26226
|
+
|
|
26227
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
26228
|
+
const localVarHeaderParameter = {} as any;
|
|
26229
|
+
const localVarQueryParameter = {} as any;
|
|
26230
|
+
|
|
26231
|
+
// authentication ApiKeyAuth required
|
|
26232
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26233
|
+
|
|
26234
|
+
// authentication bearerAuth required
|
|
26235
|
+
// http bearer authentication required
|
|
26236
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26237
|
+
|
|
26238
|
+
|
|
26239
|
+
|
|
26079
26240
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26080
26241
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26081
26242
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -26404,6 +26565,18 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
26404
26565
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationCluster(organizationId, options);
|
|
26405
26566
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26406
26567
|
},
|
|
26568
|
+
/**
|
|
26569
|
+
* Lock a Cluster
|
|
26570
|
+
* @summary Lock Cluster
|
|
26571
|
+
* @param {string} clusterId
|
|
26572
|
+
* @param {ClusterLockRequest} [clusterLockRequest]
|
|
26573
|
+
* @param {*} [options] Override http request option.
|
|
26574
|
+
* @throws {RequiredError}
|
|
26575
|
+
*/
|
|
26576
|
+
async lockCluster(clusterId: string, clusterLockRequest?: ClusterLockRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterLock>> {
|
|
26577
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.lockCluster(clusterId, clusterLockRequest, options);
|
|
26578
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26579
|
+
},
|
|
26407
26580
|
/**
|
|
26408
26581
|
*
|
|
26409
26582
|
* @summary Specify cluster cloud provider info and credentials
|
|
@@ -26429,6 +26602,17 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
26429
26602
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopCluster(organizationId, clusterId, options);
|
|
26430
26603
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26431
26604
|
},
|
|
26605
|
+
/**
|
|
26606
|
+
* Unlock a cluster
|
|
26607
|
+
* @summary Unlock Cluster
|
|
26608
|
+
* @param {string} clusterId
|
|
26609
|
+
* @param {*} [options] Override http request option.
|
|
26610
|
+
* @throws {RequiredError}
|
|
26611
|
+
*/
|
|
26612
|
+
async unlockCluster(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
26613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlockCluster(clusterId, options);
|
|
26614
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26615
|
+
},
|
|
26432
26616
|
/**
|
|
26433
26617
|
* Update karpenter private fargate subnet ids
|
|
26434
26618
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26664,6 +26848,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
26664
26848
|
listOrganizationCluster(organizationId: string, options?: any): AxiosPromise<ClusterResponseList> {
|
|
26665
26849
|
return localVarFp.listOrganizationCluster(organizationId, options).then((request) => request(axios, basePath));
|
|
26666
26850
|
},
|
|
26851
|
+
/**
|
|
26852
|
+
* Lock a Cluster
|
|
26853
|
+
* @summary Lock Cluster
|
|
26854
|
+
* @param {string} clusterId
|
|
26855
|
+
* @param {ClusterLockRequest} [clusterLockRequest]
|
|
26856
|
+
* @param {*} [options] Override http request option.
|
|
26857
|
+
* @throws {RequiredError}
|
|
26858
|
+
*/
|
|
26859
|
+
lockCluster(clusterId: string, clusterLockRequest?: ClusterLockRequest, options?: any): AxiosPromise<ClusterLock> {
|
|
26860
|
+
return localVarFp.lockCluster(clusterId, clusterLockRequest, options).then((request) => request(axios, basePath));
|
|
26861
|
+
},
|
|
26667
26862
|
/**
|
|
26668
26863
|
*
|
|
26669
26864
|
* @summary Specify cluster cloud provider info and credentials
|
|
@@ -26687,6 +26882,16 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
26687
26882
|
stopCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterStatus> {
|
|
26688
26883
|
return localVarFp.stopCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
26689
26884
|
},
|
|
26885
|
+
/**
|
|
26886
|
+
* Unlock a cluster
|
|
26887
|
+
* @summary Unlock Cluster
|
|
26888
|
+
* @param {string} clusterId
|
|
26889
|
+
* @param {*} [options] Override http request option.
|
|
26890
|
+
* @throws {RequiredError}
|
|
26891
|
+
*/
|
|
26892
|
+
unlockCluster(clusterId: string, options?: any): AxiosPromise<void> {
|
|
26893
|
+
return localVarFp.unlockCluster(clusterId, options).then((request) => request(axios, basePath));
|
|
26894
|
+
},
|
|
26690
26895
|
/**
|
|
26691
26896
|
* Update karpenter private fargate subnet ids
|
|
26692
26897
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -26956,6 +27161,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
26956
27161
|
return ClustersApiFp(this.configuration).listOrganizationCluster(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
26957
27162
|
}
|
|
26958
27163
|
|
|
27164
|
+
/**
|
|
27165
|
+
* Lock a Cluster
|
|
27166
|
+
* @summary Lock Cluster
|
|
27167
|
+
* @param {string} clusterId
|
|
27168
|
+
* @param {ClusterLockRequest} [clusterLockRequest]
|
|
27169
|
+
* @param {*} [options] Override http request option.
|
|
27170
|
+
* @throws {RequiredError}
|
|
27171
|
+
* @memberof ClustersApi
|
|
27172
|
+
*/
|
|
27173
|
+
public lockCluster(clusterId: string, clusterLockRequest?: ClusterLockRequest, options?: AxiosRequestConfig) {
|
|
27174
|
+
return ClustersApiFp(this.configuration).lockCluster(clusterId, clusterLockRequest, options).then((request) => request(this.axios, this.basePath));
|
|
27175
|
+
}
|
|
27176
|
+
|
|
26959
27177
|
/**
|
|
26960
27178
|
*
|
|
26961
27179
|
* @summary Specify cluster cloud provider info and credentials
|
|
@@ -26983,6 +27201,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
26983
27201
|
return ClustersApiFp(this.configuration).stopCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
26984
27202
|
}
|
|
26985
27203
|
|
|
27204
|
+
/**
|
|
27205
|
+
* Unlock a cluster
|
|
27206
|
+
* @summary Unlock Cluster
|
|
27207
|
+
* @param {string} clusterId
|
|
27208
|
+
* @param {*} [options] Override http request option.
|
|
27209
|
+
* @throws {RequiredError}
|
|
27210
|
+
* @memberof ClustersApi
|
|
27211
|
+
*/
|
|
27212
|
+
public unlockCluster(clusterId: string, options?: AxiosRequestConfig) {
|
|
27213
|
+
return ClustersApiFp(this.configuration).unlockCluster(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
27214
|
+
}
|
|
27215
|
+
|
|
26986
27216
|
/**
|
|
26987
27217
|
* Update karpenter private fargate subnet ids
|
|
26988
27218
|
* @summary Update karpenter private fargate subnet ids
|
|
@@ -47401,6 +47631,119 @@ export class OrganizationApiTokenApi extends BaseAPI {
|
|
|
47401
47631
|
|
|
47402
47632
|
|
|
47403
47633
|
|
|
47634
|
+
/**
|
|
47635
|
+
* OrganizationClusterLockApi - axios parameter creator
|
|
47636
|
+
* @export
|
|
47637
|
+
*/
|
|
47638
|
+
export const OrganizationClusterLockApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
47639
|
+
return {
|
|
47640
|
+
/**
|
|
47641
|
+
*
|
|
47642
|
+
* @summary List locked Cluster by organization
|
|
47643
|
+
* @param {string} organizationId
|
|
47644
|
+
* @param {*} [options] Override http request option.
|
|
47645
|
+
* @throws {RequiredError}
|
|
47646
|
+
*/
|
|
47647
|
+
listClusterLock: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47648
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
47649
|
+
assertParamExists('listClusterLock', 'organizationId', organizationId)
|
|
47650
|
+
const localVarPath = `/organization/{organizationId}/lock`
|
|
47651
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
47652
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47653
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47654
|
+
let baseOptions;
|
|
47655
|
+
if (configuration) {
|
|
47656
|
+
baseOptions = configuration.baseOptions;
|
|
47657
|
+
}
|
|
47658
|
+
|
|
47659
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47660
|
+
const localVarHeaderParameter = {} as any;
|
|
47661
|
+
const localVarQueryParameter = {} as any;
|
|
47662
|
+
|
|
47663
|
+
// authentication ApiKeyAuth required
|
|
47664
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
47665
|
+
|
|
47666
|
+
// authentication bearerAuth required
|
|
47667
|
+
// http bearer authentication required
|
|
47668
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
47669
|
+
|
|
47670
|
+
|
|
47671
|
+
|
|
47672
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
47673
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
47674
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
47675
|
+
|
|
47676
|
+
return {
|
|
47677
|
+
url: toPathString(localVarUrlObj),
|
|
47678
|
+
options: localVarRequestOptions,
|
|
47679
|
+
};
|
|
47680
|
+
},
|
|
47681
|
+
}
|
|
47682
|
+
};
|
|
47683
|
+
|
|
47684
|
+
/**
|
|
47685
|
+
* OrganizationClusterLockApi - functional programming interface
|
|
47686
|
+
* @export
|
|
47687
|
+
*/
|
|
47688
|
+
export const OrganizationClusterLockApiFp = function(configuration?: Configuration) {
|
|
47689
|
+
const localVarAxiosParamCreator = OrganizationClusterLockApiAxiosParamCreator(configuration)
|
|
47690
|
+
return {
|
|
47691
|
+
/**
|
|
47692
|
+
*
|
|
47693
|
+
* @summary List locked Cluster by organization
|
|
47694
|
+
* @param {string} organizationId
|
|
47695
|
+
* @param {*} [options] Override http request option.
|
|
47696
|
+
* @throws {RequiredError}
|
|
47697
|
+
*/
|
|
47698
|
+
async listClusterLock(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClusterLockList>>> {
|
|
47699
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClusterLock(organizationId, options);
|
|
47700
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
47701
|
+
},
|
|
47702
|
+
}
|
|
47703
|
+
};
|
|
47704
|
+
|
|
47705
|
+
/**
|
|
47706
|
+
* OrganizationClusterLockApi - factory interface
|
|
47707
|
+
* @export
|
|
47708
|
+
*/
|
|
47709
|
+
export const OrganizationClusterLockApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
47710
|
+
const localVarFp = OrganizationClusterLockApiFp(configuration)
|
|
47711
|
+
return {
|
|
47712
|
+
/**
|
|
47713
|
+
*
|
|
47714
|
+
* @summary List locked Cluster by organization
|
|
47715
|
+
* @param {string} organizationId
|
|
47716
|
+
* @param {*} [options] Override http request option.
|
|
47717
|
+
* @throws {RequiredError}
|
|
47718
|
+
*/
|
|
47719
|
+
listClusterLock(organizationId: string, options?: any): AxiosPromise<Array<ClusterLockList>> {
|
|
47720
|
+
return localVarFp.listClusterLock(organizationId, options).then((request) => request(axios, basePath));
|
|
47721
|
+
},
|
|
47722
|
+
};
|
|
47723
|
+
};
|
|
47724
|
+
|
|
47725
|
+
/**
|
|
47726
|
+
* OrganizationClusterLockApi - object-oriented interface
|
|
47727
|
+
* @export
|
|
47728
|
+
* @class OrganizationClusterLockApi
|
|
47729
|
+
* @extends {BaseAPI}
|
|
47730
|
+
*/
|
|
47731
|
+
export class OrganizationClusterLockApi extends BaseAPI {
|
|
47732
|
+
/**
|
|
47733
|
+
*
|
|
47734
|
+
* @summary List locked Cluster by organization
|
|
47735
|
+
* @param {string} organizationId
|
|
47736
|
+
* @param {*} [options] Override http request option.
|
|
47737
|
+
* @throws {RequiredError}
|
|
47738
|
+
* @memberof OrganizationClusterLockApi
|
|
47739
|
+
*/
|
|
47740
|
+
public listClusterLock(organizationId: string, options?: AxiosRequestConfig) {
|
|
47741
|
+
return OrganizationClusterLockApiFp(this.configuration).listClusterLock(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
47742
|
+
}
|
|
47743
|
+
}
|
|
47744
|
+
|
|
47745
|
+
|
|
47746
|
+
|
|
47404
47747
|
/**
|
|
47405
47748
|
* OrganizationCustomRoleApi - axios parameter creator
|
|
47406
47749
|
* @export
|