qovery-typescript-axios 1.1.699 → 1.1.701
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 +95 -0
- package/dist/api.d.ts +52 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +52 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7671,6 +7671,12 @@ export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKi
|
|
|
7671
7671
|
* @interface EnterpriseConnectionDto
|
|
7672
7672
|
*/
|
|
7673
7673
|
export interface EnterpriseConnectionDto {
|
|
7674
|
+
/**
|
|
7675
|
+
* The connection name
|
|
7676
|
+
* @type {string}
|
|
7677
|
+
* @memberof EnterpriseConnectionDto
|
|
7678
|
+
*/
|
|
7679
|
+
'connection_name': string;
|
|
7674
7680
|
/**
|
|
7675
7681
|
* The purpose of this default role is to be associated to your users if: - you choose to not expose your IDPs groups to the SAML / OIDC connection - no associated group is found in your `group_mappings` defined You can define either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid.
|
|
7676
7682
|
* @type {string}
|
|
@@ -7690,6 +7696,19 @@ export interface EnterpriseConnectionDto {
|
|
|
7690
7696
|
*/
|
|
7691
7697
|
'group_mappings': { [key: string]: Array<string>; };
|
|
7692
7698
|
}
|
|
7699
|
+
/**
|
|
7700
|
+
*
|
|
7701
|
+
* @export
|
|
7702
|
+
* @interface EnterpriseConnectionResponseList
|
|
7703
|
+
*/
|
|
7704
|
+
export interface EnterpriseConnectionResponseList {
|
|
7705
|
+
/**
|
|
7706
|
+
*
|
|
7707
|
+
* @type {Array<EnterpriseConnectionDto>}
|
|
7708
|
+
* @memberof EnterpriseConnectionResponseList
|
|
7709
|
+
*/
|
|
7710
|
+
'results'?: Array<EnterpriseConnectionDto>;
|
|
7711
|
+
}
|
|
7693
7712
|
/**
|
|
7694
7713
|
*
|
|
7695
7714
|
* @export
|
|
@@ -53374,6 +53393,47 @@ export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (co
|
|
|
53374
53393
|
|
|
53375
53394
|
|
|
53376
53395
|
|
|
53396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53398
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53399
|
+
|
|
53400
|
+
return {
|
|
53401
|
+
url: toPathString(localVarUrlObj),
|
|
53402
|
+
options: localVarRequestOptions,
|
|
53403
|
+
};
|
|
53404
|
+
},
|
|
53405
|
+
/**
|
|
53406
|
+
*
|
|
53407
|
+
* @summary List enterprise connections
|
|
53408
|
+
* @param {string} organizationId Organization ID
|
|
53409
|
+
* @param {*} [options] Override http request option.
|
|
53410
|
+
* @throws {RequiredError}
|
|
53411
|
+
*/
|
|
53412
|
+
listOrganizationEnterpriseConnections: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53413
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53414
|
+
assertParamExists('listOrganizationEnterpriseConnections', 'organizationId', organizationId)
|
|
53415
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection`
|
|
53416
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
53417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53419
|
+
let baseOptions;
|
|
53420
|
+
if (configuration) {
|
|
53421
|
+
baseOptions = configuration.baseOptions;
|
|
53422
|
+
}
|
|
53423
|
+
|
|
53424
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53425
|
+
const localVarHeaderParameter = {} as any;
|
|
53426
|
+
const localVarQueryParameter = {} as any;
|
|
53427
|
+
|
|
53428
|
+
// authentication ApiKeyAuth required
|
|
53429
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53430
|
+
|
|
53431
|
+
// authentication bearerAuth required
|
|
53432
|
+
// http bearer authentication required
|
|
53433
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53434
|
+
|
|
53435
|
+
|
|
53436
|
+
|
|
53377
53437
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53378
53438
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53379
53439
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -53456,6 +53516,19 @@ export const OrganizationEnterpriseConnectionApiFp = function(configuration?: Co
|
|
|
53456
53516
|
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.getOrganizationEnterpriseConnection']?.[localVarOperationServerIndex]?.url;
|
|
53457
53517
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53458
53518
|
},
|
|
53519
|
+
/**
|
|
53520
|
+
*
|
|
53521
|
+
* @summary List enterprise connections
|
|
53522
|
+
* @param {string} organizationId Organization ID
|
|
53523
|
+
* @param {*} [options] Override http request option.
|
|
53524
|
+
* @throws {RequiredError}
|
|
53525
|
+
*/
|
|
53526
|
+
async listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionResponseList>> {
|
|
53527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationEnterpriseConnections(organizationId, options);
|
|
53528
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53529
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.listOrganizationEnterpriseConnections']?.[localVarOperationServerIndex]?.url;
|
|
53530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53531
|
+
},
|
|
53459
53532
|
/**
|
|
53460
53533
|
*
|
|
53461
53534
|
* @summary Update enterprise connection
|
|
@@ -53492,6 +53565,16 @@ export const OrganizationEnterpriseConnectionApiFactory = function (configuratio
|
|
|
53492
53565
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto> {
|
|
53493
53566
|
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
53494
53567
|
},
|
|
53568
|
+
/**
|
|
53569
|
+
*
|
|
53570
|
+
* @summary List enterprise connections
|
|
53571
|
+
* @param {string} organizationId Organization ID
|
|
53572
|
+
* @param {*} [options] Override http request option.
|
|
53573
|
+
* @throws {RequiredError}
|
|
53574
|
+
*/
|
|
53575
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionResponseList> {
|
|
53576
|
+
return localVarFp.listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(axios, basePath));
|
|
53577
|
+
},
|
|
53495
53578
|
/**
|
|
53496
53579
|
*
|
|
53497
53580
|
* @summary Update enterprise connection
|
|
@@ -53527,6 +53610,18 @@ export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
53527
53610
|
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
53528
53611
|
}
|
|
53529
53612
|
|
|
53613
|
+
/**
|
|
53614
|
+
*
|
|
53615
|
+
* @summary List enterprise connections
|
|
53616
|
+
* @param {string} organizationId Organization ID
|
|
53617
|
+
* @param {*} [options] Override http request option.
|
|
53618
|
+
* @throws {RequiredError}
|
|
53619
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
53620
|
+
*/
|
|
53621
|
+
public listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
53622
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
53623
|
+
}
|
|
53624
|
+
|
|
53530
53625
|
/**
|
|
53531
53626
|
*
|
|
53532
53627
|
* @summary Update enterprise connection
|
package/dist/api.d.ts
CHANGED
|
@@ -7447,6 +7447,12 @@ export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKi
|
|
|
7447
7447
|
* @interface EnterpriseConnectionDto
|
|
7448
7448
|
*/
|
|
7449
7449
|
export interface EnterpriseConnectionDto {
|
|
7450
|
+
/**
|
|
7451
|
+
* The connection name
|
|
7452
|
+
* @type {string}
|
|
7453
|
+
* @memberof EnterpriseConnectionDto
|
|
7454
|
+
*/
|
|
7455
|
+
'connection_name': string;
|
|
7450
7456
|
/**
|
|
7451
7457
|
* The purpose of this default role is to be associated to your users if: - you choose to not expose your IDPs groups to the SAML / OIDC connection - no associated group is found in your `group_mappings` defined You can define either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid.
|
|
7452
7458
|
* @type {string}
|
|
@@ -7468,6 +7474,19 @@ export interface EnterpriseConnectionDto {
|
|
|
7468
7474
|
[key: string]: Array<string>;
|
|
7469
7475
|
};
|
|
7470
7476
|
}
|
|
7477
|
+
/**
|
|
7478
|
+
*
|
|
7479
|
+
* @export
|
|
7480
|
+
* @interface EnterpriseConnectionResponseList
|
|
7481
|
+
*/
|
|
7482
|
+
export interface EnterpriseConnectionResponseList {
|
|
7483
|
+
/**
|
|
7484
|
+
*
|
|
7485
|
+
* @type {Array<EnterpriseConnectionDto>}
|
|
7486
|
+
* @memberof EnterpriseConnectionResponseList
|
|
7487
|
+
*/
|
|
7488
|
+
'results'?: Array<EnterpriseConnectionDto>;
|
|
7489
|
+
}
|
|
7471
7490
|
/**
|
|
7472
7491
|
*
|
|
7473
7492
|
* @export
|
|
@@ -34172,6 +34191,14 @@ export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (conf
|
|
|
34172
34191
|
* @throws {RequiredError}
|
|
34173
34192
|
*/
|
|
34174
34193
|
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34194
|
+
/**
|
|
34195
|
+
*
|
|
34196
|
+
* @summary List enterprise connections
|
|
34197
|
+
* @param {string} organizationId Organization ID
|
|
34198
|
+
* @param {*} [options] Override http request option.
|
|
34199
|
+
* @throws {RequiredError}
|
|
34200
|
+
*/
|
|
34201
|
+
listOrganizationEnterpriseConnections: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34175
34202
|
/**
|
|
34176
34203
|
*
|
|
34177
34204
|
* @summary Update enterprise connection
|
|
@@ -34197,6 +34224,14 @@ export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Con
|
|
|
34197
34224
|
* @throws {RequiredError}
|
|
34198
34225
|
*/
|
|
34199
34226
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34227
|
+
/**
|
|
34228
|
+
*
|
|
34229
|
+
* @summary List enterprise connections
|
|
34230
|
+
* @param {string} organizationId Organization ID
|
|
34231
|
+
* @param {*} [options] Override http request option.
|
|
34232
|
+
* @throws {RequiredError}
|
|
34233
|
+
*/
|
|
34234
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionResponseList>>;
|
|
34200
34235
|
/**
|
|
34201
34236
|
*
|
|
34202
34237
|
* @summary Update enterprise connection
|
|
@@ -34222,6 +34257,14 @@ export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?
|
|
|
34222
34257
|
* @throws {RequiredError}
|
|
34223
34258
|
*/
|
|
34224
34259
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34260
|
+
/**
|
|
34261
|
+
*
|
|
34262
|
+
* @summary List enterprise connections
|
|
34263
|
+
* @param {string} organizationId Organization ID
|
|
34264
|
+
* @param {*} [options] Override http request option.
|
|
34265
|
+
* @throws {RequiredError}
|
|
34266
|
+
*/
|
|
34267
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionResponseList>;
|
|
34225
34268
|
/**
|
|
34226
34269
|
*
|
|
34227
34270
|
* @summary Update enterprise connection
|
|
@@ -34250,6 +34293,15 @@ export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
34250
34293
|
* @memberof OrganizationEnterpriseConnectionApi
|
|
34251
34294
|
*/
|
|
34252
34295
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34296
|
+
/**
|
|
34297
|
+
*
|
|
34298
|
+
* @summary List enterprise connections
|
|
34299
|
+
* @param {string} organizationId Organization ID
|
|
34300
|
+
* @param {*} [options] Override http request option.
|
|
34301
|
+
* @throws {RequiredError}
|
|
34302
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34303
|
+
*/
|
|
34304
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionResponseList, any, {}>>;
|
|
34253
34305
|
/**
|
|
34254
34306
|
*
|
|
34255
34307
|
* @summary Update enterprise connection
|
package/dist/api.js
CHANGED
|
@@ -33305,6 +33305,40 @@ const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (configura
|
|
|
33305
33305
|
options: localVarRequestOptions,
|
|
33306
33306
|
};
|
|
33307
33307
|
}),
|
|
33308
|
+
/**
|
|
33309
|
+
*
|
|
33310
|
+
* @summary List enterprise connections
|
|
33311
|
+
* @param {string} organizationId Organization ID
|
|
33312
|
+
* @param {*} [options] Override http request option.
|
|
33313
|
+
* @throws {RequiredError}
|
|
33314
|
+
*/
|
|
33315
|
+
listOrganizationEnterpriseConnections: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
33316
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33317
|
+
(0, common_1.assertParamExists)('listOrganizationEnterpriseConnections', 'organizationId', organizationId);
|
|
33318
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection`
|
|
33319
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
33320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33321
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33322
|
+
let baseOptions;
|
|
33323
|
+
if (configuration) {
|
|
33324
|
+
baseOptions = configuration.baseOptions;
|
|
33325
|
+
}
|
|
33326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
33327
|
+
const localVarHeaderParameter = {};
|
|
33328
|
+
const localVarQueryParameter = {};
|
|
33329
|
+
// authentication ApiKeyAuth required
|
|
33330
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
33331
|
+
// authentication bearerAuth required
|
|
33332
|
+
// http bearer authentication required
|
|
33333
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
33334
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
33335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33336
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33337
|
+
return {
|
|
33338
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
33339
|
+
options: localVarRequestOptions,
|
|
33340
|
+
};
|
|
33341
|
+
}),
|
|
33308
33342
|
/**
|
|
33309
33343
|
*
|
|
33310
33344
|
* @summary Update enterprise connection
|
|
@@ -33373,6 +33407,22 @@ const OrganizationEnterpriseConnectionApiFp = function (configuration) {
|
|
|
33373
33407
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33374
33408
|
});
|
|
33375
33409
|
},
|
|
33410
|
+
/**
|
|
33411
|
+
*
|
|
33412
|
+
* @summary List enterprise connections
|
|
33413
|
+
* @param {string} organizationId Organization ID
|
|
33414
|
+
* @param {*} [options] Override http request option.
|
|
33415
|
+
* @throws {RequiredError}
|
|
33416
|
+
*/
|
|
33417
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33418
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33419
|
+
var _a, _b, _c;
|
|
33420
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationEnterpriseConnections(organizationId, options);
|
|
33421
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33422
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationEnterpriseConnectionApi.listOrganizationEnterpriseConnections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33423
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33424
|
+
});
|
|
33425
|
+
},
|
|
33376
33426
|
/**
|
|
33377
33427
|
*
|
|
33378
33428
|
* @summary Update enterprise connection
|
|
@@ -33412,6 +33462,16 @@ const OrganizationEnterpriseConnectionApiFactory = function (configuration, base
|
|
|
33412
33462
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33413
33463
|
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
33414
33464
|
},
|
|
33465
|
+
/**
|
|
33466
|
+
*
|
|
33467
|
+
* @summary List enterprise connections
|
|
33468
|
+
* @param {string} organizationId Organization ID
|
|
33469
|
+
* @param {*} [options] Override http request option.
|
|
33470
|
+
* @throws {RequiredError}
|
|
33471
|
+
*/
|
|
33472
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33473
|
+
return localVarFp.listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(axios, basePath));
|
|
33474
|
+
},
|
|
33415
33475
|
/**
|
|
33416
33476
|
*
|
|
33417
33477
|
* @summary Update enterprise connection
|
|
@@ -33446,6 +33506,17 @@ class OrganizationEnterpriseConnectionApi extends base_1.BaseAPI {
|
|
|
33446
33506
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33447
33507
|
return (0, exports.OrganizationEnterpriseConnectionApiFp)(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
33448
33508
|
}
|
|
33509
|
+
/**
|
|
33510
|
+
*
|
|
33511
|
+
* @summary List enterprise connections
|
|
33512
|
+
* @param {string} organizationId Organization ID
|
|
33513
|
+
* @param {*} [options] Override http request option.
|
|
33514
|
+
* @throws {RequiredError}
|
|
33515
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33516
|
+
*/
|
|
33517
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33518
|
+
return (0, exports.OrganizationEnterpriseConnectionApiFp)(this.configuration).listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
33519
|
+
}
|
|
33449
33520
|
/**
|
|
33450
33521
|
*
|
|
33451
33522
|
* @summary Update enterprise connection
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -7447,6 +7447,12 @@ export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKi
|
|
|
7447
7447
|
* @interface EnterpriseConnectionDto
|
|
7448
7448
|
*/
|
|
7449
7449
|
export interface EnterpriseConnectionDto {
|
|
7450
|
+
/**
|
|
7451
|
+
* The connection name
|
|
7452
|
+
* @type {string}
|
|
7453
|
+
* @memberof EnterpriseConnectionDto
|
|
7454
|
+
*/
|
|
7455
|
+
'connection_name': string;
|
|
7450
7456
|
/**
|
|
7451
7457
|
* The purpose of this default role is to be associated to your users if: - you choose to not expose your IDPs groups to the SAML / OIDC connection - no associated group is found in your `group_mappings` defined You can define either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid.
|
|
7452
7458
|
* @type {string}
|
|
@@ -7468,6 +7474,19 @@ export interface EnterpriseConnectionDto {
|
|
|
7468
7474
|
[key: string]: Array<string>;
|
|
7469
7475
|
};
|
|
7470
7476
|
}
|
|
7477
|
+
/**
|
|
7478
|
+
*
|
|
7479
|
+
* @export
|
|
7480
|
+
* @interface EnterpriseConnectionResponseList
|
|
7481
|
+
*/
|
|
7482
|
+
export interface EnterpriseConnectionResponseList {
|
|
7483
|
+
/**
|
|
7484
|
+
*
|
|
7485
|
+
* @type {Array<EnterpriseConnectionDto>}
|
|
7486
|
+
* @memberof EnterpriseConnectionResponseList
|
|
7487
|
+
*/
|
|
7488
|
+
'results'?: Array<EnterpriseConnectionDto>;
|
|
7489
|
+
}
|
|
7471
7490
|
/**
|
|
7472
7491
|
*
|
|
7473
7492
|
* @export
|
|
@@ -34172,6 +34191,14 @@ export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (conf
|
|
|
34172
34191
|
* @throws {RequiredError}
|
|
34173
34192
|
*/
|
|
34174
34193
|
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34194
|
+
/**
|
|
34195
|
+
*
|
|
34196
|
+
* @summary List enterprise connections
|
|
34197
|
+
* @param {string} organizationId Organization ID
|
|
34198
|
+
* @param {*} [options] Override http request option.
|
|
34199
|
+
* @throws {RequiredError}
|
|
34200
|
+
*/
|
|
34201
|
+
listOrganizationEnterpriseConnections: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34175
34202
|
/**
|
|
34176
34203
|
*
|
|
34177
34204
|
* @summary Update enterprise connection
|
|
@@ -34197,6 +34224,14 @@ export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Con
|
|
|
34197
34224
|
* @throws {RequiredError}
|
|
34198
34225
|
*/
|
|
34199
34226
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34227
|
+
/**
|
|
34228
|
+
*
|
|
34229
|
+
* @summary List enterprise connections
|
|
34230
|
+
* @param {string} organizationId Organization ID
|
|
34231
|
+
* @param {*} [options] Override http request option.
|
|
34232
|
+
* @throws {RequiredError}
|
|
34233
|
+
*/
|
|
34234
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionResponseList>>;
|
|
34200
34235
|
/**
|
|
34201
34236
|
*
|
|
34202
34237
|
* @summary Update enterprise connection
|
|
@@ -34222,6 +34257,14 @@ export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?
|
|
|
34222
34257
|
* @throws {RequiredError}
|
|
34223
34258
|
*/
|
|
34224
34259
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34260
|
+
/**
|
|
34261
|
+
*
|
|
34262
|
+
* @summary List enterprise connections
|
|
34263
|
+
* @param {string} organizationId Organization ID
|
|
34264
|
+
* @param {*} [options] Override http request option.
|
|
34265
|
+
* @throws {RequiredError}
|
|
34266
|
+
*/
|
|
34267
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionResponseList>;
|
|
34225
34268
|
/**
|
|
34226
34269
|
*
|
|
34227
34270
|
* @summary Update enterprise connection
|
|
@@ -34250,6 +34293,15 @@ export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
34250
34293
|
* @memberof OrganizationEnterpriseConnectionApi
|
|
34251
34294
|
*/
|
|
34252
34295
|
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34296
|
+
/**
|
|
34297
|
+
*
|
|
34298
|
+
* @summary List enterprise connections
|
|
34299
|
+
* @param {string} organizationId Organization ID
|
|
34300
|
+
* @param {*} [options] Override http request option.
|
|
34301
|
+
* @throws {RequiredError}
|
|
34302
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34303
|
+
*/
|
|
34304
|
+
listOrganizationEnterpriseConnections(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionResponseList, any, {}>>;
|
|
34253
34305
|
/**
|
|
34254
34306
|
*
|
|
34255
34307
|
* @summary Update enterprise connection
|
package/dist/esm/api.js
CHANGED
|
@@ -33017,6 +33017,40 @@ export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (co
|
|
|
33017
33017
|
options: localVarRequestOptions,
|
|
33018
33018
|
};
|
|
33019
33019
|
}),
|
|
33020
|
+
/**
|
|
33021
|
+
*
|
|
33022
|
+
* @summary List enterprise connections
|
|
33023
|
+
* @param {string} organizationId Organization ID
|
|
33024
|
+
* @param {*} [options] Override http request option.
|
|
33025
|
+
* @throws {RequiredError}
|
|
33026
|
+
*/
|
|
33027
|
+
listOrganizationEnterpriseConnections: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
33028
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33029
|
+
assertParamExists('listOrganizationEnterpriseConnections', 'organizationId', organizationId);
|
|
33030
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection`
|
|
33031
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
33032
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33033
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33034
|
+
let baseOptions;
|
|
33035
|
+
if (configuration) {
|
|
33036
|
+
baseOptions = configuration.baseOptions;
|
|
33037
|
+
}
|
|
33038
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
33039
|
+
const localVarHeaderParameter = {};
|
|
33040
|
+
const localVarQueryParameter = {};
|
|
33041
|
+
// authentication ApiKeyAuth required
|
|
33042
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
33043
|
+
// authentication bearerAuth required
|
|
33044
|
+
// http bearer authentication required
|
|
33045
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
33046
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33047
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33048
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33049
|
+
return {
|
|
33050
|
+
url: toPathString(localVarUrlObj),
|
|
33051
|
+
options: localVarRequestOptions,
|
|
33052
|
+
};
|
|
33053
|
+
}),
|
|
33020
33054
|
/**
|
|
33021
33055
|
*
|
|
33022
33056
|
* @summary Update enterprise connection
|
|
@@ -33084,6 +33118,22 @@ export const OrganizationEnterpriseConnectionApiFp = function (configuration) {
|
|
|
33084
33118
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33085
33119
|
});
|
|
33086
33120
|
},
|
|
33121
|
+
/**
|
|
33122
|
+
*
|
|
33123
|
+
* @summary List enterprise connections
|
|
33124
|
+
* @param {string} organizationId Organization ID
|
|
33125
|
+
* @param {*} [options] Override http request option.
|
|
33126
|
+
* @throws {RequiredError}
|
|
33127
|
+
*/
|
|
33128
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33130
|
+
var _a, _b, _c;
|
|
33131
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationEnterpriseConnections(organizationId, options);
|
|
33132
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33133
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationEnterpriseConnectionApi.listOrganizationEnterpriseConnections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33135
|
+
});
|
|
33136
|
+
},
|
|
33087
33137
|
/**
|
|
33088
33138
|
*
|
|
33089
33139
|
* @summary Update enterprise connection
|
|
@@ -33122,6 +33172,16 @@ export const OrganizationEnterpriseConnectionApiFactory = function (configuratio
|
|
|
33122
33172
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33123
33173
|
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
33124
33174
|
},
|
|
33175
|
+
/**
|
|
33176
|
+
*
|
|
33177
|
+
* @summary List enterprise connections
|
|
33178
|
+
* @param {string} organizationId Organization ID
|
|
33179
|
+
* @param {*} [options] Override http request option.
|
|
33180
|
+
* @throws {RequiredError}
|
|
33181
|
+
*/
|
|
33182
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33183
|
+
return localVarFp.listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(axios, basePath));
|
|
33184
|
+
},
|
|
33125
33185
|
/**
|
|
33126
33186
|
*
|
|
33127
33187
|
* @summary Update enterprise connection
|
|
@@ -33155,6 +33215,17 @@ export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
|
33155
33215
|
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33156
33216
|
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
33157
33217
|
}
|
|
33218
|
+
/**
|
|
33219
|
+
*
|
|
33220
|
+
* @summary List enterprise connections
|
|
33221
|
+
* @param {string} organizationId Organization ID
|
|
33222
|
+
* @param {*} [options] Override http request option.
|
|
33223
|
+
* @throws {RequiredError}
|
|
33224
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33225
|
+
*/
|
|
33226
|
+
listOrganizationEnterpriseConnections(organizationId, options) {
|
|
33227
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).listOrganizationEnterpriseConnections(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
33228
|
+
}
|
|
33158
33229
|
/**
|
|
33159
33230
|
*
|
|
33160
33231
|
* @summary Update enterprise connection
|