qovery-typescript-axios 1.1.638 → 1.1.639
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
|
@@ -8803,6 +8803,65 @@ export interface GetClusterTokenByClusterId200ResponseStatus {
|
|
|
8803
8803
|
*/
|
|
8804
8804
|
'expirationTimestamp': string;
|
|
8805
8805
|
}
|
|
8806
|
+
/**
|
|
8807
|
+
*
|
|
8808
|
+
* @export
|
|
8809
|
+
* @interface GetOrganizationOrganizationIdCredentials200Response
|
|
8810
|
+
*/
|
|
8811
|
+
export interface GetOrganizationOrganizationIdCredentials200Response {
|
|
8812
|
+
/**
|
|
8813
|
+
*
|
|
8814
|
+
* @type {Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInner>}
|
|
8815
|
+
* @memberof GetOrganizationOrganizationIdCredentials200Response
|
|
8816
|
+
*/
|
|
8817
|
+
'results'?: Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInner>;
|
|
8818
|
+
}
|
|
8819
|
+
/**
|
|
8820
|
+
*
|
|
8821
|
+
* @export
|
|
8822
|
+
* @interface GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8823
|
+
*/
|
|
8824
|
+
export interface GetOrganizationOrganizationIdCredentials200ResponseResultsInner {
|
|
8825
|
+
/**
|
|
8826
|
+
*
|
|
8827
|
+
* @type {ClusterCredentials}
|
|
8828
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8829
|
+
*/
|
|
8830
|
+
'credential'?: ClusterCredentials;
|
|
8831
|
+
/**
|
|
8832
|
+
*
|
|
8833
|
+
* @type {Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner>}
|
|
8834
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8835
|
+
*/
|
|
8836
|
+
'clusters'?: Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner>;
|
|
8837
|
+
}
|
|
8838
|
+
/**
|
|
8839
|
+
*
|
|
8840
|
+
* @export
|
|
8841
|
+
* @interface GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8842
|
+
*/
|
|
8843
|
+
export interface GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner {
|
|
8844
|
+
/**
|
|
8845
|
+
*
|
|
8846
|
+
* @type {string}
|
|
8847
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8848
|
+
*/
|
|
8849
|
+
'id'?: string;
|
|
8850
|
+
/**
|
|
8851
|
+
*
|
|
8852
|
+
* @type {string}
|
|
8853
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8854
|
+
*/
|
|
8855
|
+
'name'?: string;
|
|
8856
|
+
/**
|
|
8857
|
+
*
|
|
8858
|
+
* @type {CloudProviderEnum}
|
|
8859
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8860
|
+
*/
|
|
8861
|
+
'cloud_provider'?: CloudProviderEnum;
|
|
8862
|
+
}
|
|
8863
|
+
|
|
8864
|
+
|
|
8806
8865
|
/**
|
|
8807
8866
|
*
|
|
8808
8867
|
* @export
|
|
@@ -36551,6 +36610,47 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
36551
36610
|
|
|
36552
36611
|
|
|
36553
36612
|
|
|
36613
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36614
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36615
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
36616
|
+
|
|
36617
|
+
return {
|
|
36618
|
+
url: toPathString(localVarUrlObj),
|
|
36619
|
+
options: localVarRequestOptions,
|
|
36620
|
+
};
|
|
36621
|
+
},
|
|
36622
|
+
/**
|
|
36623
|
+
* List credentials of an organization and their associated clusters
|
|
36624
|
+
* @summary List credentials of an organization and their associated clusters
|
|
36625
|
+
* @param {string} organizationId
|
|
36626
|
+
* @param {*} [options] Override http request option.
|
|
36627
|
+
* @throws {RequiredError}
|
|
36628
|
+
*/
|
|
36629
|
+
getOrganizationOrganizationIdCredentials: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
36630
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
36631
|
+
assertParamExists('getOrganizationOrganizationIdCredentials', 'organizationId', organizationId)
|
|
36632
|
+
const localVarPath = `/organization/{organizationId}/credentials`
|
|
36633
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
36634
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36635
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36636
|
+
let baseOptions;
|
|
36637
|
+
if (configuration) {
|
|
36638
|
+
baseOptions = configuration.baseOptions;
|
|
36639
|
+
}
|
|
36640
|
+
|
|
36641
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
36642
|
+
const localVarHeaderParameter = {} as any;
|
|
36643
|
+
const localVarQueryParameter = {} as any;
|
|
36644
|
+
|
|
36645
|
+
// authentication ApiKeyAuth required
|
|
36646
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
36647
|
+
|
|
36648
|
+
// authentication bearerAuth required
|
|
36649
|
+
// http bearer authentication required
|
|
36650
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
36651
|
+
|
|
36652
|
+
|
|
36653
|
+
|
|
36554
36654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36555
36655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36556
36656
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -36596,6 +36696,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
36596
36696
|
const localVarOperationServerBasePath = operationServerMap['DefaultApi.getDeploymentStatusByDeploymentRequestId']?.[localVarOperationServerIndex]?.url;
|
|
36597
36697
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36598
36698
|
},
|
|
36699
|
+
/**
|
|
36700
|
+
* List credentials of an organization and their associated clusters
|
|
36701
|
+
* @summary List credentials of an organization and their associated clusters
|
|
36702
|
+
* @param {string} organizationId
|
|
36703
|
+
* @param {*} [options] Override http request option.
|
|
36704
|
+
* @throws {RequiredError}
|
|
36705
|
+
*/
|
|
36706
|
+
async getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationOrganizationIdCredentials200Response>> {
|
|
36707
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationOrganizationIdCredentials(organizationId, options);
|
|
36708
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36709
|
+
const localVarOperationServerBasePath = operationServerMap['DefaultApi.getOrganizationOrganizationIdCredentials']?.[localVarOperationServerIndex]?.url;
|
|
36710
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36711
|
+
},
|
|
36599
36712
|
}
|
|
36600
36713
|
};
|
|
36601
36714
|
|
|
@@ -36626,6 +36739,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
36626
36739
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvDeploymentStatus> {
|
|
36627
36740
|
return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
|
|
36628
36741
|
},
|
|
36742
|
+
/**
|
|
36743
|
+
* List credentials of an organization and their associated clusters
|
|
36744
|
+
* @summary List credentials of an organization and their associated clusters
|
|
36745
|
+
* @param {string} organizationId
|
|
36746
|
+
* @param {*} [options] Override http request option.
|
|
36747
|
+
* @throws {RequiredError}
|
|
36748
|
+
*/
|
|
36749
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationOrganizationIdCredentials200Response> {
|
|
36750
|
+
return localVarFp.getOrganizationOrganizationIdCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
36751
|
+
},
|
|
36629
36752
|
};
|
|
36630
36753
|
};
|
|
36631
36754
|
|
|
@@ -36659,6 +36782,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
36659
36782
|
public getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig) {
|
|
36660
36783
|
return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
|
|
36661
36784
|
}
|
|
36785
|
+
|
|
36786
|
+
/**
|
|
36787
|
+
* List credentials of an organization and their associated clusters
|
|
36788
|
+
* @summary List credentials of an organization and their associated clusters
|
|
36789
|
+
* @param {string} organizationId
|
|
36790
|
+
* @param {*} [options] Override http request option.
|
|
36791
|
+
* @throws {RequiredError}
|
|
36792
|
+
* @memberof DefaultApi
|
|
36793
|
+
*/
|
|
36794
|
+
public getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
36795
|
+
return DefaultApiFp(this.configuration).getOrganizationOrganizationIdCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
36796
|
+
}
|
|
36662
36797
|
}
|
|
36663
36798
|
|
|
36664
36799
|
|
package/dist/api.d.ts
CHANGED
|
@@ -8542,6 +8542,63 @@ export interface GetClusterTokenByClusterId200ResponseStatus {
|
|
|
8542
8542
|
*/
|
|
8543
8543
|
'expirationTimestamp': string;
|
|
8544
8544
|
}
|
|
8545
|
+
/**
|
|
8546
|
+
*
|
|
8547
|
+
* @export
|
|
8548
|
+
* @interface GetOrganizationOrganizationIdCredentials200Response
|
|
8549
|
+
*/
|
|
8550
|
+
export interface GetOrganizationOrganizationIdCredentials200Response {
|
|
8551
|
+
/**
|
|
8552
|
+
*
|
|
8553
|
+
* @type {Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInner>}
|
|
8554
|
+
* @memberof GetOrganizationOrganizationIdCredentials200Response
|
|
8555
|
+
*/
|
|
8556
|
+
'results'?: Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInner>;
|
|
8557
|
+
}
|
|
8558
|
+
/**
|
|
8559
|
+
*
|
|
8560
|
+
* @export
|
|
8561
|
+
* @interface GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8562
|
+
*/
|
|
8563
|
+
export interface GetOrganizationOrganizationIdCredentials200ResponseResultsInner {
|
|
8564
|
+
/**
|
|
8565
|
+
*
|
|
8566
|
+
* @type {ClusterCredentials}
|
|
8567
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8568
|
+
*/
|
|
8569
|
+
'credential'?: ClusterCredentials;
|
|
8570
|
+
/**
|
|
8571
|
+
*
|
|
8572
|
+
* @type {Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner>}
|
|
8573
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8574
|
+
*/
|
|
8575
|
+
'clusters'?: Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner>;
|
|
8576
|
+
}
|
|
8577
|
+
/**
|
|
8578
|
+
*
|
|
8579
|
+
* @export
|
|
8580
|
+
* @interface GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8581
|
+
*/
|
|
8582
|
+
export interface GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner {
|
|
8583
|
+
/**
|
|
8584
|
+
*
|
|
8585
|
+
* @type {string}
|
|
8586
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8587
|
+
*/
|
|
8588
|
+
'id'?: string;
|
|
8589
|
+
/**
|
|
8590
|
+
*
|
|
8591
|
+
* @type {string}
|
|
8592
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8593
|
+
*/
|
|
8594
|
+
'name'?: string;
|
|
8595
|
+
/**
|
|
8596
|
+
*
|
|
8597
|
+
* @type {CloudProviderEnum}
|
|
8598
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8599
|
+
*/
|
|
8600
|
+
'cloud_provider'?: CloudProviderEnum;
|
|
8601
|
+
}
|
|
8545
8602
|
/**
|
|
8546
8603
|
*
|
|
8547
8604
|
* @export
|
|
@@ -26008,6 +26065,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
26008
26065
|
* @throws {RequiredError}
|
|
26009
26066
|
*/
|
|
26010
26067
|
getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26068
|
+
/**
|
|
26069
|
+
* List credentials of an organization and their associated clusters
|
|
26070
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26071
|
+
* @param {string} organizationId
|
|
26072
|
+
* @param {*} [options] Override http request option.
|
|
26073
|
+
* @throws {RequiredError}
|
|
26074
|
+
*/
|
|
26075
|
+
getOrganizationOrganizationIdCredentials: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26011
26076
|
};
|
|
26012
26077
|
/**
|
|
26013
26078
|
* DefaultApi - functional programming interface
|
|
@@ -26030,6 +26095,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
26030
26095
|
* @throws {RequiredError}
|
|
26031
26096
|
*/
|
|
26032
26097
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
|
|
26098
|
+
/**
|
|
26099
|
+
* List credentials of an organization and their associated clusters
|
|
26100
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26101
|
+
* @param {string} organizationId
|
|
26102
|
+
* @param {*} [options] Override http request option.
|
|
26103
|
+
* @throws {RequiredError}
|
|
26104
|
+
*/
|
|
26105
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationOrganizationIdCredentials200Response>>;
|
|
26033
26106
|
};
|
|
26034
26107
|
/**
|
|
26035
26108
|
* DefaultApi - factory interface
|
|
@@ -26052,6 +26125,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
26052
26125
|
* @throws {RequiredError}
|
|
26053
26126
|
*/
|
|
26054
26127
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvDeploymentStatus>;
|
|
26128
|
+
/**
|
|
26129
|
+
* List credentials of an organization and their associated clusters
|
|
26130
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26131
|
+
* @param {string} organizationId
|
|
26132
|
+
* @param {*} [options] Override http request option.
|
|
26133
|
+
* @throws {RequiredError}
|
|
26134
|
+
*/
|
|
26135
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationOrganizationIdCredentials200Response>;
|
|
26055
26136
|
};
|
|
26056
26137
|
/**
|
|
26057
26138
|
* DefaultApi - object-oriented interface
|
|
@@ -26078,6 +26159,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
26078
26159
|
* @memberof DefaultApi
|
|
26079
26160
|
*/
|
|
26080
26161
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
|
|
26162
|
+
/**
|
|
26163
|
+
* List credentials of an organization and their associated clusters
|
|
26164
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26165
|
+
* @param {string} organizationId
|
|
26166
|
+
* @param {*} [options] Override http request option.
|
|
26167
|
+
* @throws {RequiredError}
|
|
26168
|
+
* @memberof DefaultApi
|
|
26169
|
+
*/
|
|
26170
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationOrganizationIdCredentials200Response, any>>;
|
|
26081
26171
|
}
|
|
26082
26172
|
/**
|
|
26083
26173
|
* DeploymentQueueActionsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -18147,6 +18147,40 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
18147
18147
|
options: localVarRequestOptions,
|
|
18148
18148
|
};
|
|
18149
18149
|
}),
|
|
18150
|
+
/**
|
|
18151
|
+
* List credentials of an organization and their associated clusters
|
|
18152
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18153
|
+
* @param {string} organizationId
|
|
18154
|
+
* @param {*} [options] Override http request option.
|
|
18155
|
+
* @throws {RequiredError}
|
|
18156
|
+
*/
|
|
18157
|
+
getOrganizationOrganizationIdCredentials: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
18158
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
18159
|
+
(0, common_1.assertParamExists)('getOrganizationOrganizationIdCredentials', 'organizationId', organizationId);
|
|
18160
|
+
const localVarPath = `/organization/{organizationId}/credentials`
|
|
18161
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
18162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18163
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18164
|
+
let baseOptions;
|
|
18165
|
+
if (configuration) {
|
|
18166
|
+
baseOptions = configuration.baseOptions;
|
|
18167
|
+
}
|
|
18168
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18169
|
+
const localVarHeaderParameter = {};
|
|
18170
|
+
const localVarQueryParameter = {};
|
|
18171
|
+
// authentication ApiKeyAuth required
|
|
18172
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
18173
|
+
// authentication bearerAuth required
|
|
18174
|
+
// http bearer authentication required
|
|
18175
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18176
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18178
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18179
|
+
return {
|
|
18180
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18181
|
+
options: localVarRequestOptions,
|
|
18182
|
+
};
|
|
18183
|
+
}),
|
|
18150
18184
|
};
|
|
18151
18185
|
};
|
|
18152
18186
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -18189,6 +18223,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
18189
18223
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18190
18224
|
});
|
|
18191
18225
|
},
|
|
18226
|
+
/**
|
|
18227
|
+
* List credentials of an organization and their associated clusters
|
|
18228
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18229
|
+
* @param {string} organizationId
|
|
18230
|
+
* @param {*} [options] Override http request option.
|
|
18231
|
+
* @throws {RequiredError}
|
|
18232
|
+
*/
|
|
18233
|
+
getOrganizationOrganizationIdCredentials(organizationId, options) {
|
|
18234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18235
|
+
var _a, _b, _c;
|
|
18236
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationOrganizationIdCredentials(organizationId, options);
|
|
18237
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18238
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getOrganizationOrganizationIdCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18239
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18240
|
+
});
|
|
18241
|
+
},
|
|
18192
18242
|
};
|
|
18193
18243
|
};
|
|
18194
18244
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -18219,6 +18269,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
18219
18269
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
18220
18270
|
return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
|
|
18221
18271
|
},
|
|
18272
|
+
/**
|
|
18273
|
+
* List credentials of an organization and their associated clusters
|
|
18274
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18275
|
+
* @param {string} organizationId
|
|
18276
|
+
* @param {*} [options] Override http request option.
|
|
18277
|
+
* @throws {RequiredError}
|
|
18278
|
+
*/
|
|
18279
|
+
getOrganizationOrganizationIdCredentials(organizationId, options) {
|
|
18280
|
+
return localVarFp.getOrganizationOrganizationIdCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
18281
|
+
},
|
|
18222
18282
|
};
|
|
18223
18283
|
};
|
|
18224
18284
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -18251,6 +18311,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
18251
18311
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
18252
18312
|
return (0, exports.DefaultApiFp)(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
|
|
18253
18313
|
}
|
|
18314
|
+
/**
|
|
18315
|
+
* List credentials of an organization and their associated clusters
|
|
18316
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18317
|
+
* @param {string} organizationId
|
|
18318
|
+
* @param {*} [options] Override http request option.
|
|
18319
|
+
* @throws {RequiredError}
|
|
18320
|
+
* @memberof DefaultApi
|
|
18321
|
+
*/
|
|
18322
|
+
getOrganizationOrganizationIdCredentials(organizationId, options) {
|
|
18323
|
+
return (0, exports.DefaultApiFp)(this.configuration).getOrganizationOrganizationIdCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
18324
|
+
}
|
|
18254
18325
|
}
|
|
18255
18326
|
exports.DefaultApi = DefaultApi;
|
|
18256
18327
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -8542,6 +8542,63 @@ export interface GetClusterTokenByClusterId200ResponseStatus {
|
|
|
8542
8542
|
*/
|
|
8543
8543
|
'expirationTimestamp': string;
|
|
8544
8544
|
}
|
|
8545
|
+
/**
|
|
8546
|
+
*
|
|
8547
|
+
* @export
|
|
8548
|
+
* @interface GetOrganizationOrganizationIdCredentials200Response
|
|
8549
|
+
*/
|
|
8550
|
+
export interface GetOrganizationOrganizationIdCredentials200Response {
|
|
8551
|
+
/**
|
|
8552
|
+
*
|
|
8553
|
+
* @type {Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInner>}
|
|
8554
|
+
* @memberof GetOrganizationOrganizationIdCredentials200Response
|
|
8555
|
+
*/
|
|
8556
|
+
'results'?: Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInner>;
|
|
8557
|
+
}
|
|
8558
|
+
/**
|
|
8559
|
+
*
|
|
8560
|
+
* @export
|
|
8561
|
+
* @interface GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8562
|
+
*/
|
|
8563
|
+
export interface GetOrganizationOrganizationIdCredentials200ResponseResultsInner {
|
|
8564
|
+
/**
|
|
8565
|
+
*
|
|
8566
|
+
* @type {ClusterCredentials}
|
|
8567
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8568
|
+
*/
|
|
8569
|
+
'credential'?: ClusterCredentials;
|
|
8570
|
+
/**
|
|
8571
|
+
*
|
|
8572
|
+
* @type {Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner>}
|
|
8573
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInner
|
|
8574
|
+
*/
|
|
8575
|
+
'clusters'?: Array<GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner>;
|
|
8576
|
+
}
|
|
8577
|
+
/**
|
|
8578
|
+
*
|
|
8579
|
+
* @export
|
|
8580
|
+
* @interface GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8581
|
+
*/
|
|
8582
|
+
export interface GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner {
|
|
8583
|
+
/**
|
|
8584
|
+
*
|
|
8585
|
+
* @type {string}
|
|
8586
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8587
|
+
*/
|
|
8588
|
+
'id'?: string;
|
|
8589
|
+
/**
|
|
8590
|
+
*
|
|
8591
|
+
* @type {string}
|
|
8592
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8593
|
+
*/
|
|
8594
|
+
'name'?: string;
|
|
8595
|
+
/**
|
|
8596
|
+
*
|
|
8597
|
+
* @type {CloudProviderEnum}
|
|
8598
|
+
* @memberof GetOrganizationOrganizationIdCredentials200ResponseResultsInnerClustersInner
|
|
8599
|
+
*/
|
|
8600
|
+
'cloud_provider'?: CloudProviderEnum;
|
|
8601
|
+
}
|
|
8545
8602
|
/**
|
|
8546
8603
|
*
|
|
8547
8604
|
* @export
|
|
@@ -26008,6 +26065,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
26008
26065
|
* @throws {RequiredError}
|
|
26009
26066
|
*/
|
|
26010
26067
|
getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26068
|
+
/**
|
|
26069
|
+
* List credentials of an organization and their associated clusters
|
|
26070
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26071
|
+
* @param {string} organizationId
|
|
26072
|
+
* @param {*} [options] Override http request option.
|
|
26073
|
+
* @throws {RequiredError}
|
|
26074
|
+
*/
|
|
26075
|
+
getOrganizationOrganizationIdCredentials: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26011
26076
|
};
|
|
26012
26077
|
/**
|
|
26013
26078
|
* DefaultApi - functional programming interface
|
|
@@ -26030,6 +26095,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
26030
26095
|
* @throws {RequiredError}
|
|
26031
26096
|
*/
|
|
26032
26097
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
|
|
26098
|
+
/**
|
|
26099
|
+
* List credentials of an organization and their associated clusters
|
|
26100
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26101
|
+
* @param {string} organizationId
|
|
26102
|
+
* @param {*} [options] Override http request option.
|
|
26103
|
+
* @throws {RequiredError}
|
|
26104
|
+
*/
|
|
26105
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationOrganizationIdCredentials200Response>>;
|
|
26033
26106
|
};
|
|
26034
26107
|
/**
|
|
26035
26108
|
* DefaultApi - factory interface
|
|
@@ -26052,6 +26125,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
26052
26125
|
* @throws {RequiredError}
|
|
26053
26126
|
*/
|
|
26054
26127
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnvDeploymentStatus>;
|
|
26128
|
+
/**
|
|
26129
|
+
* List credentials of an organization and their associated clusters
|
|
26130
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26131
|
+
* @param {string} organizationId
|
|
26132
|
+
* @param {*} [options] Override http request option.
|
|
26133
|
+
* @throws {RequiredError}
|
|
26134
|
+
*/
|
|
26135
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationOrganizationIdCredentials200Response>;
|
|
26055
26136
|
};
|
|
26056
26137
|
/**
|
|
26057
26138
|
* DefaultApi - object-oriented interface
|
|
@@ -26078,6 +26159,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
26078
26159
|
* @memberof DefaultApi
|
|
26079
26160
|
*/
|
|
26080
26161
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
|
|
26162
|
+
/**
|
|
26163
|
+
* List credentials of an organization and their associated clusters
|
|
26164
|
+
* @summary List credentials of an organization and their associated clusters
|
|
26165
|
+
* @param {string} organizationId
|
|
26166
|
+
* @param {*} [options] Override http request option.
|
|
26167
|
+
* @throws {RequiredError}
|
|
26168
|
+
* @memberof DefaultApi
|
|
26169
|
+
*/
|
|
26170
|
+
getOrganizationOrganizationIdCredentials(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationOrganizationIdCredentials200Response, any>>;
|
|
26081
26171
|
}
|
|
26082
26172
|
/**
|
|
26083
26173
|
* DeploymentQueueActionsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -18012,6 +18012,40 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
18012
18012
|
options: localVarRequestOptions,
|
|
18013
18013
|
};
|
|
18014
18014
|
}),
|
|
18015
|
+
/**
|
|
18016
|
+
* List credentials of an organization and their associated clusters
|
|
18017
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18018
|
+
* @param {string} organizationId
|
|
18019
|
+
* @param {*} [options] Override http request option.
|
|
18020
|
+
* @throws {RequiredError}
|
|
18021
|
+
*/
|
|
18022
|
+
getOrganizationOrganizationIdCredentials: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
18023
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
18024
|
+
assertParamExists('getOrganizationOrganizationIdCredentials', 'organizationId', organizationId);
|
|
18025
|
+
const localVarPath = `/organization/{organizationId}/credentials`
|
|
18026
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
18027
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18028
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18029
|
+
let baseOptions;
|
|
18030
|
+
if (configuration) {
|
|
18031
|
+
baseOptions = configuration.baseOptions;
|
|
18032
|
+
}
|
|
18033
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18034
|
+
const localVarHeaderParameter = {};
|
|
18035
|
+
const localVarQueryParameter = {};
|
|
18036
|
+
// authentication ApiKeyAuth required
|
|
18037
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
18038
|
+
// authentication bearerAuth required
|
|
18039
|
+
// http bearer authentication required
|
|
18040
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
18041
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18042
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18043
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18044
|
+
return {
|
|
18045
|
+
url: toPathString(localVarUrlObj),
|
|
18046
|
+
options: localVarRequestOptions,
|
|
18047
|
+
};
|
|
18048
|
+
}),
|
|
18015
18049
|
};
|
|
18016
18050
|
};
|
|
18017
18051
|
/**
|
|
@@ -18053,6 +18087,22 @@ export const DefaultApiFp = function (configuration) {
|
|
|
18053
18087
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18054
18088
|
});
|
|
18055
18089
|
},
|
|
18090
|
+
/**
|
|
18091
|
+
* List credentials of an organization and their associated clusters
|
|
18092
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18093
|
+
* @param {string} organizationId
|
|
18094
|
+
* @param {*} [options] Override http request option.
|
|
18095
|
+
* @throws {RequiredError}
|
|
18096
|
+
*/
|
|
18097
|
+
getOrganizationOrganizationIdCredentials(organizationId, options) {
|
|
18098
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18099
|
+
var _a, _b, _c;
|
|
18100
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationOrganizationIdCredentials(organizationId, options);
|
|
18101
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
18102
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getOrganizationOrganizationIdCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
18103
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18104
|
+
});
|
|
18105
|
+
},
|
|
18056
18106
|
};
|
|
18057
18107
|
};
|
|
18058
18108
|
/**
|
|
@@ -18082,6 +18132,16 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
18082
18132
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
18083
18133
|
return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
|
|
18084
18134
|
},
|
|
18135
|
+
/**
|
|
18136
|
+
* List credentials of an organization and their associated clusters
|
|
18137
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18138
|
+
* @param {string} organizationId
|
|
18139
|
+
* @param {*} [options] Override http request option.
|
|
18140
|
+
* @throws {RequiredError}
|
|
18141
|
+
*/
|
|
18142
|
+
getOrganizationOrganizationIdCredentials(organizationId, options) {
|
|
18143
|
+
return localVarFp.getOrganizationOrganizationIdCredentials(organizationId, options).then((request) => request(axios, basePath));
|
|
18144
|
+
},
|
|
18085
18145
|
};
|
|
18086
18146
|
};
|
|
18087
18147
|
/**
|
|
@@ -18113,6 +18173,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
18113
18173
|
getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
|
|
18114
18174
|
return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
|
|
18115
18175
|
}
|
|
18176
|
+
/**
|
|
18177
|
+
* List credentials of an organization and their associated clusters
|
|
18178
|
+
* @summary List credentials of an organization and their associated clusters
|
|
18179
|
+
* @param {string} organizationId
|
|
18180
|
+
* @param {*} [options] Override http request option.
|
|
18181
|
+
* @throws {RequiredError}
|
|
18182
|
+
* @memberof DefaultApi
|
|
18183
|
+
*/
|
|
18184
|
+
getOrganizationOrganizationIdCredentials(organizationId, options) {
|
|
18185
|
+
return DefaultApiFp(this.configuration).getOrganizationOrganizationIdCredentials(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
18186
|
+
}
|
|
18116
18187
|
}
|
|
18117
18188
|
/**
|
|
18118
18189
|
* DeploymentQueueActionsApi - axios parameter creator
|