qovery-typescript-axios 1.1.638 → 1.1.640
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 +135 -0
- package/dist/api.d.ts +90 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +90 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -13529,6 +13529,65 @@ export interface OrganizationCreditCodeRequest {
|
|
|
13529
13529
|
*/
|
|
13530
13530
|
'code'?: string;
|
|
13531
13531
|
}
|
|
13532
|
+
/**
|
|
13533
|
+
*
|
|
13534
|
+
* @export
|
|
13535
|
+
* @interface OrganizationCrendentialsResponseList
|
|
13536
|
+
*/
|
|
13537
|
+
export interface OrganizationCrendentialsResponseList {
|
|
13538
|
+
/**
|
|
13539
|
+
*
|
|
13540
|
+
* @type {Array<OrganizationCrendentialsResponseListResultsInner>}
|
|
13541
|
+
* @memberof OrganizationCrendentialsResponseList
|
|
13542
|
+
*/
|
|
13543
|
+
'results'?: Array<OrganizationCrendentialsResponseListResultsInner>;
|
|
13544
|
+
}
|
|
13545
|
+
/**
|
|
13546
|
+
*
|
|
13547
|
+
* @export
|
|
13548
|
+
* @interface OrganizationCrendentialsResponseListResultsInner
|
|
13549
|
+
*/
|
|
13550
|
+
export interface OrganizationCrendentialsResponseListResultsInner {
|
|
13551
|
+
/**
|
|
13552
|
+
*
|
|
13553
|
+
* @type {ClusterCredentials}
|
|
13554
|
+
* @memberof OrganizationCrendentialsResponseListResultsInner
|
|
13555
|
+
*/
|
|
13556
|
+
'credential'?: ClusterCredentials;
|
|
13557
|
+
/**
|
|
13558
|
+
*
|
|
13559
|
+
* @type {Array<OrganizationCrendentialsResponseListResultsInnerClustersInner>}
|
|
13560
|
+
* @memberof OrganizationCrendentialsResponseListResultsInner
|
|
13561
|
+
*/
|
|
13562
|
+
'clusters'?: Array<OrganizationCrendentialsResponseListResultsInnerClustersInner>;
|
|
13563
|
+
}
|
|
13564
|
+
/**
|
|
13565
|
+
*
|
|
13566
|
+
* @export
|
|
13567
|
+
* @interface OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13568
|
+
*/
|
|
13569
|
+
export interface OrganizationCrendentialsResponseListResultsInnerClustersInner {
|
|
13570
|
+
/**
|
|
13571
|
+
*
|
|
13572
|
+
* @type {string}
|
|
13573
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13574
|
+
*/
|
|
13575
|
+
'id'?: string;
|
|
13576
|
+
/**
|
|
13577
|
+
*
|
|
13578
|
+
* @type {string}
|
|
13579
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13580
|
+
*/
|
|
13581
|
+
'name'?: string;
|
|
13582
|
+
/**
|
|
13583
|
+
*
|
|
13584
|
+
* @type {CloudProviderEnum}
|
|
13585
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13586
|
+
*/
|
|
13587
|
+
'cloud_provider'?: CloudProviderEnum;
|
|
13588
|
+
}
|
|
13589
|
+
|
|
13590
|
+
|
|
13532
13591
|
/**
|
|
13533
13592
|
*
|
|
13534
13593
|
* @export
|
|
@@ -53792,6 +53851,47 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
53792
53851
|
|
|
53793
53852
|
|
|
53794
53853
|
|
|
53854
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53855
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53856
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53857
|
+
|
|
53858
|
+
return {
|
|
53859
|
+
url: toPathString(localVarUrlObj),
|
|
53860
|
+
options: localVarRequestOptions,
|
|
53861
|
+
};
|
|
53862
|
+
},
|
|
53863
|
+
/**
|
|
53864
|
+
* List credentials of an organization and their associated clusters
|
|
53865
|
+
* @summary List credentials of an organization and their associated clusters
|
|
53866
|
+
* @param {string} organizationId
|
|
53867
|
+
* @param {*} [options] Override http request option.
|
|
53868
|
+
* @throws {RequiredError}
|
|
53869
|
+
*/
|
|
53870
|
+
listOrganizationCredentials: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53871
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53872
|
+
assertParamExists('listOrganizationCredentials', 'organizationId', organizationId)
|
|
53873
|
+
const localVarPath = `/organization/{organizationId}/credentials`
|
|
53874
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
53875
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53876
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53877
|
+
let baseOptions;
|
|
53878
|
+
if (configuration) {
|
|
53879
|
+
baseOptions = configuration.baseOptions;
|
|
53880
|
+
}
|
|
53881
|
+
|
|
53882
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53883
|
+
const localVarHeaderParameter = {} as any;
|
|
53884
|
+
const localVarQueryParameter = {} as any;
|
|
53885
|
+
|
|
53886
|
+
// authentication ApiKeyAuth required
|
|
53887
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53888
|
+
|
|
53889
|
+
// authentication bearerAuth required
|
|
53890
|
+
// http bearer authentication required
|
|
53891
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53892
|
+
|
|
53893
|
+
|
|
53894
|
+
|
|
53795
53895
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53796
53896
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53797
53897
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -54085,6 +54185,19 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
|
|
|
54085
54185
|
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.listOrganizationAvailableRoles']?.[localVarOperationServerIndex]?.url;
|
|
54086
54186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
54087
54187
|
},
|
|
54188
|
+
/**
|
|
54189
|
+
* List credentials of an organization and their associated clusters
|
|
54190
|
+
* @summary List credentials of an organization and their associated clusters
|
|
54191
|
+
* @param {string} organizationId
|
|
54192
|
+
* @param {*} [options] Override http request option.
|
|
54193
|
+
* @throws {RequiredError}
|
|
54194
|
+
*/
|
|
54195
|
+
async listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCrendentialsResponseList>> {
|
|
54196
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationCredentials(organizationId, options);
|
|
54197
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
54198
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationMainCallsApi.listOrganizationCredentials']?.[localVarOperationServerIndex]?.url;
|
|
54199
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
54200
|
+
},
|
|
54088
54201
|
/**
|
|
54089
54202
|
* List organization git tokens
|
|
54090
54203
|
* @summary List organization git tokens
|
|
@@ -54262,6 +54375,16 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
|
|
|
54262
54375
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationAvailableRoleList> {
|
|
54263
54376
|
return localVarFp.listOrganizationAvailableRoles(organizationId, options).then((request) => request(axios, basePath));
|
|
54264
54377
|
},
|
|
54378
|
+
/**
|
|
54379
|
+
* List credentials of an organization and their associated clusters
|
|
54380
|
+
* @summary List credentials of an organization and their associated clusters
|
|
54381
|
+
* @param {string} organizationId
|
|
54382
|
+
* @param {*} [options] Override http request option.
|
|
54383
|
+
* @throws {RequiredError}
|
|
54384
|
+
*/
|
|
54385
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCrendentialsResponseList> {
|
|
54386
|
+
return localVarFp.listOrganizationCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
54387
|
+
},
|
|
54265
54388
|
/**
|
|
54266
54389
|
* List organization git tokens
|
|
54267
54390
|
* @summary List organization git tokens
|
|
@@ -54459,6 +54582,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
54459
54582
|
return OrganizationMainCallsApiFp(this.configuration).listOrganizationAvailableRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
54460
54583
|
}
|
|
54461
54584
|
|
|
54585
|
+
/**
|
|
54586
|
+
* List credentials of an organization and their associated clusters
|
|
54587
|
+
* @summary List credentials of an organization and their associated clusters
|
|
54588
|
+
* @param {string} organizationId
|
|
54589
|
+
* @param {*} [options] Override http request option.
|
|
54590
|
+
* @throws {RequiredError}
|
|
54591
|
+
* @memberof OrganizationMainCallsApi
|
|
54592
|
+
*/
|
|
54593
|
+
public listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
54594
|
+
return OrganizationMainCallsApiFp(this.configuration).listOrganizationCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
54595
|
+
}
|
|
54596
|
+
|
|
54462
54597
|
/**
|
|
54463
54598
|
* List organization git tokens
|
|
54464
54599
|
* @summary List organization git tokens
|
package/dist/api.d.ts
CHANGED
|
@@ -13145,6 +13145,63 @@ export interface OrganizationCreditCodeRequest {
|
|
|
13145
13145
|
*/
|
|
13146
13146
|
'code'?: string;
|
|
13147
13147
|
}
|
|
13148
|
+
/**
|
|
13149
|
+
*
|
|
13150
|
+
* @export
|
|
13151
|
+
* @interface OrganizationCrendentialsResponseList
|
|
13152
|
+
*/
|
|
13153
|
+
export interface OrganizationCrendentialsResponseList {
|
|
13154
|
+
/**
|
|
13155
|
+
*
|
|
13156
|
+
* @type {Array<OrganizationCrendentialsResponseListResultsInner>}
|
|
13157
|
+
* @memberof OrganizationCrendentialsResponseList
|
|
13158
|
+
*/
|
|
13159
|
+
'results'?: Array<OrganizationCrendentialsResponseListResultsInner>;
|
|
13160
|
+
}
|
|
13161
|
+
/**
|
|
13162
|
+
*
|
|
13163
|
+
* @export
|
|
13164
|
+
* @interface OrganizationCrendentialsResponseListResultsInner
|
|
13165
|
+
*/
|
|
13166
|
+
export interface OrganizationCrendentialsResponseListResultsInner {
|
|
13167
|
+
/**
|
|
13168
|
+
*
|
|
13169
|
+
* @type {ClusterCredentials}
|
|
13170
|
+
* @memberof OrganizationCrendentialsResponseListResultsInner
|
|
13171
|
+
*/
|
|
13172
|
+
'credential'?: ClusterCredentials;
|
|
13173
|
+
/**
|
|
13174
|
+
*
|
|
13175
|
+
* @type {Array<OrganizationCrendentialsResponseListResultsInnerClustersInner>}
|
|
13176
|
+
* @memberof OrganizationCrendentialsResponseListResultsInner
|
|
13177
|
+
*/
|
|
13178
|
+
'clusters'?: Array<OrganizationCrendentialsResponseListResultsInnerClustersInner>;
|
|
13179
|
+
}
|
|
13180
|
+
/**
|
|
13181
|
+
*
|
|
13182
|
+
* @export
|
|
13183
|
+
* @interface OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13184
|
+
*/
|
|
13185
|
+
export interface OrganizationCrendentialsResponseListResultsInnerClustersInner {
|
|
13186
|
+
/**
|
|
13187
|
+
*
|
|
13188
|
+
* @type {string}
|
|
13189
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13190
|
+
*/
|
|
13191
|
+
'id'?: string;
|
|
13192
|
+
/**
|
|
13193
|
+
*
|
|
13194
|
+
* @type {string}
|
|
13195
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13196
|
+
*/
|
|
13197
|
+
'name'?: string;
|
|
13198
|
+
/**
|
|
13199
|
+
*
|
|
13200
|
+
* @type {CloudProviderEnum}
|
|
13201
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13202
|
+
*/
|
|
13203
|
+
'cloud_provider'?: CloudProviderEnum;
|
|
13204
|
+
}
|
|
13148
13205
|
/**
|
|
13149
13206
|
*
|
|
13150
13207
|
* @export
|
|
@@ -33881,6 +33938,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
33881
33938
|
* @throws {RequiredError}
|
|
33882
33939
|
*/
|
|
33883
33940
|
listOrganizationAvailableRoles: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33941
|
+
/**
|
|
33942
|
+
* List credentials of an organization and their associated clusters
|
|
33943
|
+
* @summary List credentials of an organization and their associated clusters
|
|
33944
|
+
* @param {string} organizationId
|
|
33945
|
+
* @param {*} [options] Override http request option.
|
|
33946
|
+
* @throws {RequiredError}
|
|
33947
|
+
*/
|
|
33948
|
+
listOrganizationCredentials: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33884
33949
|
/**
|
|
33885
33950
|
* List organization git tokens
|
|
33886
33951
|
* @summary List organization git tokens
|
|
@@ -34018,6 +34083,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
34018
34083
|
* @throws {RequiredError}
|
|
34019
34084
|
*/
|
|
34020
34085
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAvailableRoleList>>;
|
|
34086
|
+
/**
|
|
34087
|
+
* List credentials of an organization and their associated clusters
|
|
34088
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34089
|
+
* @param {string} organizationId
|
|
34090
|
+
* @param {*} [options] Override http request option.
|
|
34091
|
+
* @throws {RequiredError}
|
|
34092
|
+
*/
|
|
34093
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCrendentialsResponseList>>;
|
|
34021
34094
|
/**
|
|
34022
34095
|
* List organization git tokens
|
|
34023
34096
|
* @summary List organization git tokens
|
|
@@ -34155,6 +34228,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
34155
34228
|
* @throws {RequiredError}
|
|
34156
34229
|
*/
|
|
34157
34230
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationAvailableRoleList>;
|
|
34231
|
+
/**
|
|
34232
|
+
* List credentials of an organization and their associated clusters
|
|
34233
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34234
|
+
* @param {string} organizationId
|
|
34235
|
+
* @param {*} [options] Override http request option.
|
|
34236
|
+
* @throws {RequiredError}
|
|
34237
|
+
*/
|
|
34238
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCrendentialsResponseList>;
|
|
34158
34239
|
/**
|
|
34159
34240
|
* List organization git tokens
|
|
34160
34241
|
* @summary List organization git tokens
|
|
@@ -34307,6 +34388,15 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
34307
34388
|
* @memberof OrganizationMainCallsApi
|
|
34308
34389
|
*/
|
|
34309
34390
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationAvailableRoleList, any>>;
|
|
34391
|
+
/**
|
|
34392
|
+
* List credentials of an organization and their associated clusters
|
|
34393
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34394
|
+
* @param {string} organizationId
|
|
34395
|
+
* @param {*} [options] Override http request option.
|
|
34396
|
+
* @throws {RequiredError}
|
|
34397
|
+
* @memberof OrganizationMainCallsApi
|
|
34398
|
+
*/
|
|
34399
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCrendentialsResponseList, any>>;
|
|
34310
34400
|
/**
|
|
34311
34401
|
* List organization git tokens
|
|
34312
34402
|
* @summary List organization git tokens
|
package/dist/api.js
CHANGED
|
@@ -34228,6 +34228,40 @@ const OrganizationMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
34228
34228
|
options: localVarRequestOptions,
|
|
34229
34229
|
};
|
|
34230
34230
|
}),
|
|
34231
|
+
/**
|
|
34232
|
+
* List credentials of an organization and their associated clusters
|
|
34233
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34234
|
+
* @param {string} organizationId
|
|
34235
|
+
* @param {*} [options] Override http request option.
|
|
34236
|
+
* @throws {RequiredError}
|
|
34237
|
+
*/
|
|
34238
|
+
listOrganizationCredentials: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
34239
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
34240
|
+
(0, common_1.assertParamExists)('listOrganizationCredentials', 'organizationId', organizationId);
|
|
34241
|
+
const localVarPath = `/organization/{organizationId}/credentials`
|
|
34242
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
34243
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34244
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
34245
|
+
let baseOptions;
|
|
34246
|
+
if (configuration) {
|
|
34247
|
+
baseOptions = configuration.baseOptions;
|
|
34248
|
+
}
|
|
34249
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34250
|
+
const localVarHeaderParameter = {};
|
|
34251
|
+
const localVarQueryParameter = {};
|
|
34252
|
+
// authentication ApiKeyAuth required
|
|
34253
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
34254
|
+
// authentication bearerAuth required
|
|
34255
|
+
// http bearer authentication required
|
|
34256
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
34257
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
34258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34259
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34260
|
+
return {
|
|
34261
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
34262
|
+
options: localVarRequestOptions,
|
|
34263
|
+
};
|
|
34264
|
+
}),
|
|
34231
34265
|
/**
|
|
34232
34266
|
* List organization git tokens
|
|
34233
34267
|
* @summary List organization git tokens
|
|
@@ -34534,6 +34568,22 @@ const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
34534
34568
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34535
34569
|
});
|
|
34536
34570
|
},
|
|
34571
|
+
/**
|
|
34572
|
+
* List credentials of an organization and their associated clusters
|
|
34573
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34574
|
+
* @param {string} organizationId
|
|
34575
|
+
* @param {*} [options] Override http request option.
|
|
34576
|
+
* @throws {RequiredError}
|
|
34577
|
+
*/
|
|
34578
|
+
listOrganizationCredentials(organizationId, options) {
|
|
34579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34580
|
+
var _a, _b, _c;
|
|
34581
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationCredentials(organizationId, options);
|
|
34582
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34583
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationMainCallsApi.listOrganizationCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34584
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34585
|
+
});
|
|
34586
|
+
},
|
|
34537
34587
|
/**
|
|
34538
34588
|
* List organization git tokens
|
|
34539
34589
|
* @summary List organization git tokens
|
|
@@ -34717,6 +34767,16 @@ const OrganizationMainCallsApiFactory = function (configuration, basePath, axios
|
|
|
34717
34767
|
listOrganizationAvailableRoles(organizationId, options) {
|
|
34718
34768
|
return localVarFp.listOrganizationAvailableRoles(organizationId, options).then((request) => request(axios, basePath));
|
|
34719
34769
|
},
|
|
34770
|
+
/**
|
|
34771
|
+
* List credentials of an organization and their associated clusters
|
|
34772
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34773
|
+
* @param {string} organizationId
|
|
34774
|
+
* @param {*} [options] Override http request option.
|
|
34775
|
+
* @throws {RequiredError}
|
|
34776
|
+
*/
|
|
34777
|
+
listOrganizationCredentials(organizationId, options) {
|
|
34778
|
+
return localVarFp.listOrganizationCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
34779
|
+
},
|
|
34720
34780
|
/**
|
|
34721
34781
|
* List organization git tokens
|
|
34722
34782
|
* @summary List organization git tokens
|
|
@@ -34901,6 +34961,17 @@ class OrganizationMainCallsApi extends base_1.BaseAPI {
|
|
|
34901
34961
|
listOrganizationAvailableRoles(organizationId, options) {
|
|
34902
34962
|
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).listOrganizationAvailableRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
34903
34963
|
}
|
|
34964
|
+
/**
|
|
34965
|
+
* List credentials of an organization and their associated clusters
|
|
34966
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34967
|
+
* @param {string} organizationId
|
|
34968
|
+
* @param {*} [options] Override http request option.
|
|
34969
|
+
* @throws {RequiredError}
|
|
34970
|
+
* @memberof OrganizationMainCallsApi
|
|
34971
|
+
*/
|
|
34972
|
+
listOrganizationCredentials(organizationId, options) {
|
|
34973
|
+
return (0, exports.OrganizationMainCallsApiFp)(this.configuration).listOrganizationCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
34974
|
+
}
|
|
34904
34975
|
/**
|
|
34905
34976
|
* List organization git tokens
|
|
34906
34977
|
* @summary List organization git tokens
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -13145,6 +13145,63 @@ export interface OrganizationCreditCodeRequest {
|
|
|
13145
13145
|
*/
|
|
13146
13146
|
'code'?: string;
|
|
13147
13147
|
}
|
|
13148
|
+
/**
|
|
13149
|
+
*
|
|
13150
|
+
* @export
|
|
13151
|
+
* @interface OrganizationCrendentialsResponseList
|
|
13152
|
+
*/
|
|
13153
|
+
export interface OrganizationCrendentialsResponseList {
|
|
13154
|
+
/**
|
|
13155
|
+
*
|
|
13156
|
+
* @type {Array<OrganizationCrendentialsResponseListResultsInner>}
|
|
13157
|
+
* @memberof OrganizationCrendentialsResponseList
|
|
13158
|
+
*/
|
|
13159
|
+
'results'?: Array<OrganizationCrendentialsResponseListResultsInner>;
|
|
13160
|
+
}
|
|
13161
|
+
/**
|
|
13162
|
+
*
|
|
13163
|
+
* @export
|
|
13164
|
+
* @interface OrganizationCrendentialsResponseListResultsInner
|
|
13165
|
+
*/
|
|
13166
|
+
export interface OrganizationCrendentialsResponseListResultsInner {
|
|
13167
|
+
/**
|
|
13168
|
+
*
|
|
13169
|
+
* @type {ClusterCredentials}
|
|
13170
|
+
* @memberof OrganizationCrendentialsResponseListResultsInner
|
|
13171
|
+
*/
|
|
13172
|
+
'credential'?: ClusterCredentials;
|
|
13173
|
+
/**
|
|
13174
|
+
*
|
|
13175
|
+
* @type {Array<OrganizationCrendentialsResponseListResultsInnerClustersInner>}
|
|
13176
|
+
* @memberof OrganizationCrendentialsResponseListResultsInner
|
|
13177
|
+
*/
|
|
13178
|
+
'clusters'?: Array<OrganizationCrendentialsResponseListResultsInnerClustersInner>;
|
|
13179
|
+
}
|
|
13180
|
+
/**
|
|
13181
|
+
*
|
|
13182
|
+
* @export
|
|
13183
|
+
* @interface OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13184
|
+
*/
|
|
13185
|
+
export interface OrganizationCrendentialsResponseListResultsInnerClustersInner {
|
|
13186
|
+
/**
|
|
13187
|
+
*
|
|
13188
|
+
* @type {string}
|
|
13189
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13190
|
+
*/
|
|
13191
|
+
'id'?: string;
|
|
13192
|
+
/**
|
|
13193
|
+
*
|
|
13194
|
+
* @type {string}
|
|
13195
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13196
|
+
*/
|
|
13197
|
+
'name'?: string;
|
|
13198
|
+
/**
|
|
13199
|
+
*
|
|
13200
|
+
* @type {CloudProviderEnum}
|
|
13201
|
+
* @memberof OrganizationCrendentialsResponseListResultsInnerClustersInner
|
|
13202
|
+
*/
|
|
13203
|
+
'cloud_provider'?: CloudProviderEnum;
|
|
13204
|
+
}
|
|
13148
13205
|
/**
|
|
13149
13206
|
*
|
|
13150
13207
|
* @export
|
|
@@ -33881,6 +33938,14 @@ export declare const OrganizationMainCallsApiAxiosParamCreator: (configuration?:
|
|
|
33881
33938
|
* @throws {RequiredError}
|
|
33882
33939
|
*/
|
|
33883
33940
|
listOrganizationAvailableRoles: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33941
|
+
/**
|
|
33942
|
+
* List credentials of an organization and their associated clusters
|
|
33943
|
+
* @summary List credentials of an organization and their associated clusters
|
|
33944
|
+
* @param {string} organizationId
|
|
33945
|
+
* @param {*} [options] Override http request option.
|
|
33946
|
+
* @throws {RequiredError}
|
|
33947
|
+
*/
|
|
33948
|
+
listOrganizationCredentials: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33884
33949
|
/**
|
|
33885
33950
|
* List organization git tokens
|
|
33886
33951
|
* @summary List organization git tokens
|
|
@@ -34018,6 +34083,14 @@ export declare const OrganizationMainCallsApiFp: (configuration?: Configuration)
|
|
|
34018
34083
|
* @throws {RequiredError}
|
|
34019
34084
|
*/
|
|
34020
34085
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAvailableRoleList>>;
|
|
34086
|
+
/**
|
|
34087
|
+
* List credentials of an organization and their associated clusters
|
|
34088
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34089
|
+
* @param {string} organizationId
|
|
34090
|
+
* @param {*} [options] Override http request option.
|
|
34091
|
+
* @throws {RequiredError}
|
|
34092
|
+
*/
|
|
34093
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCrendentialsResponseList>>;
|
|
34021
34094
|
/**
|
|
34022
34095
|
* List organization git tokens
|
|
34023
34096
|
* @summary List organization git tokens
|
|
@@ -34155,6 +34228,14 @@ export declare const OrganizationMainCallsApiFactory: (configuration?: Configura
|
|
|
34155
34228
|
* @throws {RequiredError}
|
|
34156
34229
|
*/
|
|
34157
34230
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationAvailableRoleList>;
|
|
34231
|
+
/**
|
|
34232
|
+
* List credentials of an organization and their associated clusters
|
|
34233
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34234
|
+
* @param {string} organizationId
|
|
34235
|
+
* @param {*} [options] Override http request option.
|
|
34236
|
+
* @throws {RequiredError}
|
|
34237
|
+
*/
|
|
34238
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCrendentialsResponseList>;
|
|
34158
34239
|
/**
|
|
34159
34240
|
* List organization git tokens
|
|
34160
34241
|
* @summary List organization git tokens
|
|
@@ -34307,6 +34388,15 @@ export declare class OrganizationMainCallsApi extends BaseAPI {
|
|
|
34307
34388
|
* @memberof OrganizationMainCallsApi
|
|
34308
34389
|
*/
|
|
34309
34390
|
listOrganizationAvailableRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationAvailableRoleList, any>>;
|
|
34391
|
+
/**
|
|
34392
|
+
* List credentials of an organization and their associated clusters
|
|
34393
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34394
|
+
* @param {string} organizationId
|
|
34395
|
+
* @param {*} [options] Override http request option.
|
|
34396
|
+
* @throws {RequiredError}
|
|
34397
|
+
* @memberof OrganizationMainCallsApi
|
|
34398
|
+
*/
|
|
34399
|
+
listOrganizationCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCrendentialsResponseList, any>>;
|
|
34310
34400
|
/**
|
|
34311
34401
|
* List organization git tokens
|
|
34312
34402
|
* @summary List organization git tokens
|
package/dist/esm/api.js
CHANGED
|
@@ -33933,6 +33933,40 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
|
|
|
33933
33933
|
options: localVarRequestOptions,
|
|
33934
33934
|
};
|
|
33935
33935
|
}),
|
|
33936
|
+
/**
|
|
33937
|
+
* List credentials of an organization and their associated clusters
|
|
33938
|
+
* @summary List credentials of an organization and their associated clusters
|
|
33939
|
+
* @param {string} organizationId
|
|
33940
|
+
* @param {*} [options] Override http request option.
|
|
33941
|
+
* @throws {RequiredError}
|
|
33942
|
+
*/
|
|
33943
|
+
listOrganizationCredentials: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
33944
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33945
|
+
assertParamExists('listOrganizationCredentials', 'organizationId', organizationId);
|
|
33946
|
+
const localVarPath = `/organization/{organizationId}/credentials`
|
|
33947
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
33948
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33949
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33950
|
+
let baseOptions;
|
|
33951
|
+
if (configuration) {
|
|
33952
|
+
baseOptions = configuration.baseOptions;
|
|
33953
|
+
}
|
|
33954
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
33955
|
+
const localVarHeaderParameter = {};
|
|
33956
|
+
const localVarQueryParameter = {};
|
|
33957
|
+
// authentication ApiKeyAuth required
|
|
33958
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
33959
|
+
// authentication bearerAuth required
|
|
33960
|
+
// http bearer authentication required
|
|
33961
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
33962
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33964
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33965
|
+
return {
|
|
33966
|
+
url: toPathString(localVarUrlObj),
|
|
33967
|
+
options: localVarRequestOptions,
|
|
33968
|
+
};
|
|
33969
|
+
}),
|
|
33936
33970
|
/**
|
|
33937
33971
|
* List organization git tokens
|
|
33938
33972
|
* @summary List organization git tokens
|
|
@@ -34238,6 +34272,22 @@ export const OrganizationMainCallsApiFp = function (configuration) {
|
|
|
34238
34272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34239
34273
|
});
|
|
34240
34274
|
},
|
|
34275
|
+
/**
|
|
34276
|
+
* List credentials of an organization and their associated clusters
|
|
34277
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34278
|
+
* @param {string} organizationId
|
|
34279
|
+
* @param {*} [options] Override http request option.
|
|
34280
|
+
* @throws {RequiredError}
|
|
34281
|
+
*/
|
|
34282
|
+
listOrganizationCredentials(organizationId, options) {
|
|
34283
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34284
|
+
var _a, _b, _c;
|
|
34285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationCredentials(organizationId, options);
|
|
34286
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
34287
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationMainCallsApi.listOrganizationCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
34288
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34289
|
+
});
|
|
34290
|
+
},
|
|
34241
34291
|
/**
|
|
34242
34292
|
* List organization git tokens
|
|
34243
34293
|
* @summary List organization git tokens
|
|
@@ -34420,6 +34470,16 @@ export const OrganizationMainCallsApiFactory = function (configuration, basePath
|
|
|
34420
34470
|
listOrganizationAvailableRoles(organizationId, options) {
|
|
34421
34471
|
return localVarFp.listOrganizationAvailableRoles(organizationId, options).then((request) => request(axios, basePath));
|
|
34422
34472
|
},
|
|
34473
|
+
/**
|
|
34474
|
+
* List credentials of an organization and their associated clusters
|
|
34475
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34476
|
+
* @param {string} organizationId
|
|
34477
|
+
* @param {*} [options] Override http request option.
|
|
34478
|
+
* @throws {RequiredError}
|
|
34479
|
+
*/
|
|
34480
|
+
listOrganizationCredentials(organizationId, options) {
|
|
34481
|
+
return localVarFp.listOrganizationCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
34482
|
+
},
|
|
34423
34483
|
/**
|
|
34424
34484
|
* List organization git tokens
|
|
34425
34485
|
* @summary List organization git tokens
|
|
@@ -34603,6 +34663,17 @@ export class OrganizationMainCallsApi extends BaseAPI {
|
|
|
34603
34663
|
listOrganizationAvailableRoles(organizationId, options) {
|
|
34604
34664
|
return OrganizationMainCallsApiFp(this.configuration).listOrganizationAvailableRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
34605
34665
|
}
|
|
34666
|
+
/**
|
|
34667
|
+
* List credentials of an organization and their associated clusters
|
|
34668
|
+
* @summary List credentials of an organization and their associated clusters
|
|
34669
|
+
* @param {string} organizationId
|
|
34670
|
+
* @param {*} [options] Override http request option.
|
|
34671
|
+
* @throws {RequiredError}
|
|
34672
|
+
* @memberof OrganizationMainCallsApi
|
|
34673
|
+
*/
|
|
34674
|
+
listOrganizationCredentials(organizationId, options) {
|
|
34675
|
+
return OrganizationMainCallsApiFp(this.configuration).listOrganizationCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
34676
|
+
}
|
|
34606
34677
|
/**
|
|
34607
34678
|
* List organization git tokens
|
|
34608
34679
|
* @summary List organization git tokens
|