qovery-typescript-axios 1.1.685 → 1.1.688
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 +276 -0
- package/dist/api.d.ts +169 -0
- package/dist/api.js +203 -3
- package/dist/esm/api.d.ts +169 -0
- package/dist/esm/api.js +196 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7592,6 +7592,25 @@ export const EksInfrastructureOutputsKindEnum = {
|
|
|
7592
7592
|
|
|
7593
7593
|
export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKindEnum[keyof typeof EksInfrastructureOutputsKindEnum];
|
|
7594
7594
|
|
|
7595
|
+
/**
|
|
7596
|
+
*
|
|
7597
|
+
* @export
|
|
7598
|
+
* @interface EnterpriseConnectionDto
|
|
7599
|
+
*/
|
|
7600
|
+
export interface EnterpriseConnectionDto {
|
|
7601
|
+
/**
|
|
7602
|
+
* 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.
|
|
7603
|
+
* @type {string}
|
|
7604
|
+
* @memberof EnterpriseConnectionDto
|
|
7605
|
+
*/
|
|
7606
|
+
'default_role': string;
|
|
7607
|
+
/**
|
|
7608
|
+
* This will allow to create mapping rules based on your IDP group names. It\'s a dictionnary having: - key: either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid - value: an array of your IDP group names Example: \"I want to associate the Qovery role `devops` to my IDP groups [\'Administrators\', \'DevSecOps\']\"
|
|
7609
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
7610
|
+
* @memberof EnterpriseConnectionDto
|
|
7611
|
+
*/
|
|
7612
|
+
'group_mappings': { [key: string]: Array<string>; };
|
|
7613
|
+
}
|
|
7595
7614
|
/**
|
|
7596
7615
|
*
|
|
7597
7616
|
* @export
|
|
@@ -17448,6 +17467,39 @@ export interface TerraformAdvancedSettings {
|
|
|
17448
17467
|
*/
|
|
17449
17468
|
'security.read_only_root_filesystem'?: boolean;
|
|
17450
17469
|
}
|
|
17470
|
+
/**
|
|
17471
|
+
* @type TerraformBackend
|
|
17472
|
+
* Configuration for Terraform backend - exactly one backend type must be specified
|
|
17473
|
+
* @export
|
|
17474
|
+
*/
|
|
17475
|
+
export type TerraformBackend = TerraformBackendOneOf | TerraformBackendOneOf1;
|
|
17476
|
+
|
|
17477
|
+
/**
|
|
17478
|
+
*
|
|
17479
|
+
* @export
|
|
17480
|
+
* @interface TerraformBackendOneOf
|
|
17481
|
+
*/
|
|
17482
|
+
export interface TerraformBackendOneOf {
|
|
17483
|
+
/**
|
|
17484
|
+
* Kubernetes-specific backend configuration
|
|
17485
|
+
* @type {object}
|
|
17486
|
+
* @memberof TerraformBackendOneOf
|
|
17487
|
+
*/
|
|
17488
|
+
'kubernetes'?: object;
|
|
17489
|
+
}
|
|
17490
|
+
/**
|
|
17491
|
+
*
|
|
17492
|
+
* @export
|
|
17493
|
+
* @interface TerraformBackendOneOf1
|
|
17494
|
+
*/
|
|
17495
|
+
export interface TerraformBackendOneOf1 {
|
|
17496
|
+
/**
|
|
17497
|
+
* User-provided backend configuration
|
|
17498
|
+
* @type {object}
|
|
17499
|
+
* @memberof TerraformBackendOneOf1
|
|
17500
|
+
*/
|
|
17501
|
+
'user_provided'?: object;
|
|
17502
|
+
}
|
|
17451
17503
|
/**
|
|
17452
17504
|
*
|
|
17453
17505
|
* @export
|
|
@@ -17714,6 +17766,12 @@ export interface TerraformRequest {
|
|
|
17714
17766
|
* @memberof TerraformRequest
|
|
17715
17767
|
*/
|
|
17716
17768
|
'terraform_variables_source': TerraformVariablesSourceRequest;
|
|
17769
|
+
/**
|
|
17770
|
+
*
|
|
17771
|
+
* @type {TerraformBackend}
|
|
17772
|
+
* @memberof TerraformRequest
|
|
17773
|
+
*/
|
|
17774
|
+
'backend': TerraformBackend;
|
|
17717
17775
|
/**
|
|
17718
17776
|
*
|
|
17719
17777
|
* @type {string}
|
|
@@ -17886,6 +17944,12 @@ export interface TerraformResponse {
|
|
|
17886
17944
|
* @memberof TerraformResponse
|
|
17887
17945
|
*/
|
|
17888
17946
|
'provider': TerraformResponseProviderEnum;
|
|
17947
|
+
/**
|
|
17948
|
+
*
|
|
17949
|
+
* @type {TerraformBackend}
|
|
17950
|
+
* @memberof TerraformResponse
|
|
17951
|
+
*/
|
|
17952
|
+
'backend': TerraformBackend;
|
|
17889
17953
|
/**
|
|
17890
17954
|
*
|
|
17891
17955
|
* @type {TerraformProviderVersion}
|
|
@@ -53062,6 +53126,218 @@ export class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
53062
53126
|
|
|
53063
53127
|
|
|
53064
53128
|
|
|
53129
|
+
/**
|
|
53130
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
53131
|
+
* @export
|
|
53132
|
+
*/
|
|
53133
|
+
export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
53134
|
+
return {
|
|
53135
|
+
/**
|
|
53136
|
+
*
|
|
53137
|
+
* @summary Get enterprise connection
|
|
53138
|
+
* @param {string} organizationId Organization ID
|
|
53139
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53140
|
+
* @param {*} [options] Override http request option.
|
|
53141
|
+
* @throws {RequiredError}
|
|
53142
|
+
*/
|
|
53143
|
+
getOrganizationEnterpriseConnection: async (organizationId: string, connectionName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53144
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53145
|
+
assertParamExists('getOrganizationEnterpriseConnection', 'organizationId', organizationId)
|
|
53146
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
53147
|
+
assertParamExists('getOrganizationEnterpriseConnection', 'connectionName', connectionName)
|
|
53148
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
53149
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53150
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
53151
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53152
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53153
|
+
let baseOptions;
|
|
53154
|
+
if (configuration) {
|
|
53155
|
+
baseOptions = configuration.baseOptions;
|
|
53156
|
+
}
|
|
53157
|
+
|
|
53158
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53159
|
+
const localVarHeaderParameter = {} as any;
|
|
53160
|
+
const localVarQueryParameter = {} as any;
|
|
53161
|
+
|
|
53162
|
+
// authentication ApiKeyAuth required
|
|
53163
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53164
|
+
|
|
53165
|
+
// authentication bearerAuth required
|
|
53166
|
+
// http bearer authentication required
|
|
53167
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53168
|
+
|
|
53169
|
+
|
|
53170
|
+
|
|
53171
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53173
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53174
|
+
|
|
53175
|
+
return {
|
|
53176
|
+
url: toPathString(localVarUrlObj),
|
|
53177
|
+
options: localVarRequestOptions,
|
|
53178
|
+
};
|
|
53179
|
+
},
|
|
53180
|
+
/**
|
|
53181
|
+
*
|
|
53182
|
+
* @summary Update enterprise connection
|
|
53183
|
+
* @param {string} organizationId Organization ID
|
|
53184
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53185
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53186
|
+
* @param {*} [options] Override http request option.
|
|
53187
|
+
* @throws {RequiredError}
|
|
53188
|
+
*/
|
|
53189
|
+
updateOrganizationEnterpriseConnection: async (organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53190
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53191
|
+
assertParamExists('updateOrganizationEnterpriseConnection', 'organizationId', organizationId)
|
|
53192
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
53193
|
+
assertParamExists('updateOrganizationEnterpriseConnection', 'connectionName', connectionName)
|
|
53194
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
53195
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53196
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
53197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53199
|
+
let baseOptions;
|
|
53200
|
+
if (configuration) {
|
|
53201
|
+
baseOptions = configuration.baseOptions;
|
|
53202
|
+
}
|
|
53203
|
+
|
|
53204
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
53205
|
+
const localVarHeaderParameter = {} as any;
|
|
53206
|
+
const localVarQueryParameter = {} as any;
|
|
53207
|
+
|
|
53208
|
+
// authentication ApiKeyAuth required
|
|
53209
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53210
|
+
|
|
53211
|
+
// authentication bearerAuth required
|
|
53212
|
+
// http bearer authentication required
|
|
53213
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53214
|
+
|
|
53215
|
+
|
|
53216
|
+
|
|
53217
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53218
|
+
|
|
53219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53221
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53222
|
+
localVarRequestOptions.data = serializeDataIfNeeded(enterpriseConnectionDto, localVarRequestOptions, configuration)
|
|
53223
|
+
|
|
53224
|
+
return {
|
|
53225
|
+
url: toPathString(localVarUrlObj),
|
|
53226
|
+
options: localVarRequestOptions,
|
|
53227
|
+
};
|
|
53228
|
+
},
|
|
53229
|
+
}
|
|
53230
|
+
};
|
|
53231
|
+
|
|
53232
|
+
/**
|
|
53233
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
53234
|
+
* @export
|
|
53235
|
+
*/
|
|
53236
|
+
export const OrganizationEnterpriseConnectionApiFp = function(configuration?: Configuration) {
|
|
53237
|
+
const localVarAxiosParamCreator = OrganizationEnterpriseConnectionApiAxiosParamCreator(configuration)
|
|
53238
|
+
return {
|
|
53239
|
+
/**
|
|
53240
|
+
*
|
|
53241
|
+
* @summary Get enterprise connection
|
|
53242
|
+
* @param {string} organizationId Organization ID
|
|
53243
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53244
|
+
* @param {*} [options] Override http request option.
|
|
53245
|
+
* @throws {RequiredError}
|
|
53246
|
+
*/
|
|
53247
|
+
async getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>> {
|
|
53248
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEnterpriseConnection(organizationId, connectionName, options);
|
|
53249
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53250
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.getOrganizationEnterpriseConnection']?.[localVarOperationServerIndex]?.url;
|
|
53251
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53252
|
+
},
|
|
53253
|
+
/**
|
|
53254
|
+
*
|
|
53255
|
+
* @summary Update enterprise connection
|
|
53256
|
+
* @param {string} organizationId Organization ID
|
|
53257
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53258
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53259
|
+
* @param {*} [options] Override http request option.
|
|
53260
|
+
* @throws {RequiredError}
|
|
53261
|
+
*/
|
|
53262
|
+
async updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>> {
|
|
53263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options);
|
|
53264
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53265
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.updateOrganizationEnterpriseConnection']?.[localVarOperationServerIndex]?.url;
|
|
53266
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53267
|
+
},
|
|
53268
|
+
}
|
|
53269
|
+
};
|
|
53270
|
+
|
|
53271
|
+
/**
|
|
53272
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
53273
|
+
* @export
|
|
53274
|
+
*/
|
|
53275
|
+
export const OrganizationEnterpriseConnectionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
53276
|
+
const localVarFp = OrganizationEnterpriseConnectionApiFp(configuration)
|
|
53277
|
+
return {
|
|
53278
|
+
/**
|
|
53279
|
+
*
|
|
53280
|
+
* @summary Get enterprise connection
|
|
53281
|
+
* @param {string} organizationId Organization ID
|
|
53282
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53283
|
+
* @param {*} [options] Override http request option.
|
|
53284
|
+
* @throws {RequiredError}
|
|
53285
|
+
*/
|
|
53286
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto> {
|
|
53287
|
+
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
53288
|
+
},
|
|
53289
|
+
/**
|
|
53290
|
+
*
|
|
53291
|
+
* @summary Update enterprise connection
|
|
53292
|
+
* @param {string} organizationId Organization ID
|
|
53293
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53294
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53295
|
+
* @param {*} [options] Override http request option.
|
|
53296
|
+
* @throws {RequiredError}
|
|
53297
|
+
*/
|
|
53298
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto> {
|
|
53299
|
+
return localVarFp.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(axios, basePath));
|
|
53300
|
+
},
|
|
53301
|
+
};
|
|
53302
|
+
};
|
|
53303
|
+
|
|
53304
|
+
/**
|
|
53305
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
53306
|
+
* @export
|
|
53307
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
53308
|
+
* @extends {BaseAPI}
|
|
53309
|
+
*/
|
|
53310
|
+
export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
53311
|
+
/**
|
|
53312
|
+
*
|
|
53313
|
+
* @summary Get enterprise connection
|
|
53314
|
+
* @param {string} organizationId Organization ID
|
|
53315
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53316
|
+
* @param {*} [options] Override http request option.
|
|
53317
|
+
* @throws {RequiredError}
|
|
53318
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
53319
|
+
*/
|
|
53320
|
+
public getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) {
|
|
53321
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
53322
|
+
}
|
|
53323
|
+
|
|
53324
|
+
/**
|
|
53325
|
+
*
|
|
53326
|
+
* @summary Update enterprise connection
|
|
53327
|
+
* @param {string} organizationId Organization ID
|
|
53328
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53329
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53330
|
+
* @param {*} [options] Override http request option.
|
|
53331
|
+
* @throws {RequiredError}
|
|
53332
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
53333
|
+
*/
|
|
53334
|
+
public updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig) {
|
|
53335
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(this.axios, this.basePath));
|
|
53336
|
+
}
|
|
53337
|
+
}
|
|
53338
|
+
|
|
53339
|
+
|
|
53340
|
+
|
|
53065
53341
|
/**
|
|
53066
53342
|
* OrganizationEventApi - axios parameter creator
|
|
53067
53343
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -7368,6 +7368,27 @@ export declare const EksInfrastructureOutputsKindEnum: {
|
|
|
7368
7368
|
readonly EKS: "EKS";
|
|
7369
7369
|
};
|
|
7370
7370
|
export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKindEnum[keyof typeof EksInfrastructureOutputsKindEnum];
|
|
7371
|
+
/**
|
|
7372
|
+
*
|
|
7373
|
+
* @export
|
|
7374
|
+
* @interface EnterpriseConnectionDto
|
|
7375
|
+
*/
|
|
7376
|
+
export interface EnterpriseConnectionDto {
|
|
7377
|
+
/**
|
|
7378
|
+
* 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.
|
|
7379
|
+
* @type {string}
|
|
7380
|
+
* @memberof EnterpriseConnectionDto
|
|
7381
|
+
*/
|
|
7382
|
+
'default_role': string;
|
|
7383
|
+
/**
|
|
7384
|
+
* This will allow to create mapping rules based on your IDP group names. It\'s a dictionnary having: - key: either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid - value: an array of your IDP group names Example: \"I want to associate the Qovery role `devops` to my IDP groups [\'Administrators\', \'DevSecOps\']\"
|
|
7385
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
7386
|
+
* @memberof EnterpriseConnectionDto
|
|
7387
|
+
*/
|
|
7388
|
+
'group_mappings': {
|
|
7389
|
+
[key: string]: Array<string>;
|
|
7390
|
+
};
|
|
7391
|
+
}
|
|
7371
7392
|
/**
|
|
7372
7393
|
*
|
|
7373
7394
|
* @export
|
|
@@ -16884,6 +16905,38 @@ export interface TerraformAdvancedSettings {
|
|
|
16884
16905
|
*/
|
|
16885
16906
|
'security.read_only_root_filesystem'?: boolean;
|
|
16886
16907
|
}
|
|
16908
|
+
/**
|
|
16909
|
+
* @type TerraformBackend
|
|
16910
|
+
* Configuration for Terraform backend - exactly one backend type must be specified
|
|
16911
|
+
* @export
|
|
16912
|
+
*/
|
|
16913
|
+
export type TerraformBackend = TerraformBackendOneOf | TerraformBackendOneOf1;
|
|
16914
|
+
/**
|
|
16915
|
+
*
|
|
16916
|
+
* @export
|
|
16917
|
+
* @interface TerraformBackendOneOf
|
|
16918
|
+
*/
|
|
16919
|
+
export interface TerraformBackendOneOf {
|
|
16920
|
+
/**
|
|
16921
|
+
* Kubernetes-specific backend configuration
|
|
16922
|
+
* @type {object}
|
|
16923
|
+
* @memberof TerraformBackendOneOf
|
|
16924
|
+
*/
|
|
16925
|
+
'kubernetes'?: object;
|
|
16926
|
+
}
|
|
16927
|
+
/**
|
|
16928
|
+
*
|
|
16929
|
+
* @export
|
|
16930
|
+
* @interface TerraformBackendOneOf1
|
|
16931
|
+
*/
|
|
16932
|
+
export interface TerraformBackendOneOf1 {
|
|
16933
|
+
/**
|
|
16934
|
+
* User-provided backend configuration
|
|
16935
|
+
* @type {object}
|
|
16936
|
+
* @memberof TerraformBackendOneOf1
|
|
16937
|
+
*/
|
|
16938
|
+
'user_provided'?: object;
|
|
16939
|
+
}
|
|
16887
16940
|
/**
|
|
16888
16941
|
*
|
|
16889
16942
|
* @export
|
|
@@ -17146,6 +17199,12 @@ export interface TerraformRequest {
|
|
|
17146
17199
|
* @memberof TerraformRequest
|
|
17147
17200
|
*/
|
|
17148
17201
|
'terraform_variables_source': TerraformVariablesSourceRequest;
|
|
17202
|
+
/**
|
|
17203
|
+
*
|
|
17204
|
+
* @type {TerraformBackend}
|
|
17205
|
+
* @memberof TerraformRequest
|
|
17206
|
+
*/
|
|
17207
|
+
'backend': TerraformBackend;
|
|
17149
17208
|
/**
|
|
17150
17209
|
*
|
|
17151
17210
|
* @type {string}
|
|
@@ -17314,6 +17373,12 @@ export interface TerraformResponse {
|
|
|
17314
17373
|
* @memberof TerraformResponse
|
|
17315
17374
|
*/
|
|
17316
17375
|
'provider': TerraformResponseProviderEnum;
|
|
17376
|
+
/**
|
|
17377
|
+
*
|
|
17378
|
+
* @type {TerraformBackend}
|
|
17379
|
+
* @memberof TerraformResponse
|
|
17380
|
+
*/
|
|
17381
|
+
'backend': TerraformBackend;
|
|
17317
17382
|
/**
|
|
17318
17383
|
*
|
|
17319
17384
|
* @type {TerraformProviderVersion}
|
|
@@ -33886,6 +33951,110 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
33886
33951
|
*/
|
|
33887
33952
|
listOrganizationCustomRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRoleList, any, {}>>;
|
|
33888
33953
|
}
|
|
33954
|
+
/**
|
|
33955
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
33956
|
+
* @export
|
|
33957
|
+
*/
|
|
33958
|
+
export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33959
|
+
/**
|
|
33960
|
+
*
|
|
33961
|
+
* @summary Get enterprise connection
|
|
33962
|
+
* @param {string} organizationId Organization ID
|
|
33963
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33964
|
+
* @param {*} [options] Override http request option.
|
|
33965
|
+
* @throws {RequiredError}
|
|
33966
|
+
*/
|
|
33967
|
+
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33968
|
+
/**
|
|
33969
|
+
*
|
|
33970
|
+
* @summary Update enterprise connection
|
|
33971
|
+
* @param {string} organizationId Organization ID
|
|
33972
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33973
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33974
|
+
* @param {*} [options] Override http request option.
|
|
33975
|
+
* @throws {RequiredError}
|
|
33976
|
+
*/
|
|
33977
|
+
updateOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33978
|
+
};
|
|
33979
|
+
/**
|
|
33980
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
33981
|
+
* @export
|
|
33982
|
+
*/
|
|
33983
|
+
export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Configuration) => {
|
|
33984
|
+
/**
|
|
33985
|
+
*
|
|
33986
|
+
* @summary Get enterprise connection
|
|
33987
|
+
* @param {string} organizationId Organization ID
|
|
33988
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33989
|
+
* @param {*} [options] Override http request option.
|
|
33990
|
+
* @throws {RequiredError}
|
|
33991
|
+
*/
|
|
33992
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
33993
|
+
/**
|
|
33994
|
+
*
|
|
33995
|
+
* @summary Update enterprise connection
|
|
33996
|
+
* @param {string} organizationId Organization ID
|
|
33997
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33998
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33999
|
+
* @param {*} [options] Override http request option.
|
|
34000
|
+
* @throws {RequiredError}
|
|
34001
|
+
*/
|
|
34002
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34003
|
+
};
|
|
34004
|
+
/**
|
|
34005
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
34006
|
+
* @export
|
|
34007
|
+
*/
|
|
34008
|
+
export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34009
|
+
/**
|
|
34010
|
+
*
|
|
34011
|
+
* @summary Get enterprise connection
|
|
34012
|
+
* @param {string} organizationId Organization ID
|
|
34013
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34014
|
+
* @param {*} [options] Override http request option.
|
|
34015
|
+
* @throws {RequiredError}
|
|
34016
|
+
*/
|
|
34017
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34018
|
+
/**
|
|
34019
|
+
*
|
|
34020
|
+
* @summary Update enterprise connection
|
|
34021
|
+
* @param {string} organizationId Organization ID
|
|
34022
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34023
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34024
|
+
* @param {*} [options] Override http request option.
|
|
34025
|
+
* @throws {RequiredError}
|
|
34026
|
+
*/
|
|
34027
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34028
|
+
};
|
|
34029
|
+
/**
|
|
34030
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
34031
|
+
* @export
|
|
34032
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
34033
|
+
* @extends {BaseAPI}
|
|
34034
|
+
*/
|
|
34035
|
+
export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
34036
|
+
/**
|
|
34037
|
+
*
|
|
34038
|
+
* @summary Get enterprise connection
|
|
34039
|
+
* @param {string} organizationId Organization ID
|
|
34040
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34041
|
+
* @param {*} [options] Override http request option.
|
|
34042
|
+
* @throws {RequiredError}
|
|
34043
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34044
|
+
*/
|
|
34045
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34046
|
+
/**
|
|
34047
|
+
*
|
|
34048
|
+
* @summary Update enterprise connection
|
|
34049
|
+
* @param {string} organizationId Organization ID
|
|
34050
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34051
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34052
|
+
* @param {*} [options] Override http request option.
|
|
34053
|
+
* @throws {RequiredError}
|
|
34054
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34055
|
+
*/
|
|
34056
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34057
|
+
}
|
|
33889
34058
|
/**
|
|
33890
34059
|
* OrganizationEventApi - axios parameter creator
|
|
33891
34060
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -29,9 +29,9 @@ exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.Conta
|
|
|
29
29
|
exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DeploymentQueueActionsApi = exports.DeploymentQueueActionsApiFactory = exports.DeploymentQueueActionsApiFp = exports.DeploymentQueueActionsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = void 0;
|
|
30
30
|
exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = void 0;
|
|
31
31
|
exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = void 0;
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.VariableMainCallsApi = void 0;
|
|
32
|
+
exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationEnterpriseConnectionApi = exports.OrganizationEnterpriseConnectionApiFactory = exports.OrganizationEnterpriseConnectionApiFp = exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationClusterLockApi = exports.OrganizationClusterLockApiFactory = exports.OrganizationClusterLockApiFp = exports.OrganizationClusterLockApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = void 0;
|
|
33
|
+
exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.TerraformsApi = exports.TerraformsApiFactory = exports.TerraformsApiFp = exports.TerraformsApiAxiosParamCreator = exports.TerraformMainCallsApi = exports.TerraformMainCallsApiFactory = exports.TerraformMainCallsApiFp = exports.TerraformMainCallsApiAxiosParamCreator = exports.TerraformDeploymentRestrictionApi = exports.TerraformDeploymentRestrictionApiFactory = exports.TerraformDeploymentRestrictionApiFp = exports.TerraformDeploymentRestrictionApiAxiosParamCreator = exports.TerraformDeploymentHistoryApi = exports.TerraformDeploymentHistoryApiFactory = exports.TerraformDeploymentHistoryApiFp = exports.TerraformDeploymentHistoryApiAxiosParamCreator = exports.TerraformConfigurationApi = exports.TerraformConfigurationApiFactory = exports.TerraformConfigurationApiFp = exports.TerraformConfigurationApiAxiosParamCreator = exports.TerraformActionsApi = exports.TerraformActionsApiFactory = exports.TerraformActionsApiFp = exports.TerraformActionsApiAxiosParamCreator = exports.GetIngressDeploymentStatusServiceTypeEnum = exports.ServiceStatusApi = exports.ServiceStatusApiFactory = exports.ServiceStatusApiFp = exports.ServiceStatusApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = void 0;
|
|
34
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -33252,6 +33252,206 @@ class OrganizationCustomRoleApi extends base_1.BaseAPI {
|
|
|
33252
33252
|
}
|
|
33253
33253
|
}
|
|
33254
33254
|
exports.OrganizationCustomRoleApi = OrganizationCustomRoleApi;
|
|
33255
|
+
/**
|
|
33256
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
33257
|
+
* @export
|
|
33258
|
+
*/
|
|
33259
|
+
const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (configuration) {
|
|
33260
|
+
return {
|
|
33261
|
+
/**
|
|
33262
|
+
*
|
|
33263
|
+
* @summary Get enterprise connection
|
|
33264
|
+
* @param {string} organizationId Organization ID
|
|
33265
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33266
|
+
* @param {*} [options] Override http request option.
|
|
33267
|
+
* @throws {RequiredError}
|
|
33268
|
+
*/
|
|
33269
|
+
getOrganizationEnterpriseConnection: (organizationId_1, connectionName_1, ...args_1) => __awaiter(this, [organizationId_1, connectionName_1, ...args_1], void 0, function* (organizationId, connectionName, options = {}) {
|
|
33270
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33271
|
+
(0, common_1.assertParamExists)('getOrganizationEnterpriseConnection', 'organizationId', organizationId);
|
|
33272
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
33273
|
+
(0, common_1.assertParamExists)('getOrganizationEnterpriseConnection', 'connectionName', connectionName);
|
|
33274
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
33275
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33276
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
33277
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33278
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33279
|
+
let baseOptions;
|
|
33280
|
+
if (configuration) {
|
|
33281
|
+
baseOptions = configuration.baseOptions;
|
|
33282
|
+
}
|
|
33283
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
33284
|
+
const localVarHeaderParameter = {};
|
|
33285
|
+
const localVarQueryParameter = {};
|
|
33286
|
+
// authentication ApiKeyAuth required
|
|
33287
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
33288
|
+
// authentication bearerAuth required
|
|
33289
|
+
// http bearer authentication required
|
|
33290
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
33291
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
33292
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33293
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33294
|
+
return {
|
|
33295
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
33296
|
+
options: localVarRequestOptions,
|
|
33297
|
+
};
|
|
33298
|
+
}),
|
|
33299
|
+
/**
|
|
33300
|
+
*
|
|
33301
|
+
* @summary Update enterprise connection
|
|
33302
|
+
* @param {string} organizationId Organization ID
|
|
33303
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33304
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33305
|
+
* @param {*} [options] Override http request option.
|
|
33306
|
+
* @throws {RequiredError}
|
|
33307
|
+
*/
|
|
33308
|
+
updateOrganizationEnterpriseConnection: (organizationId_1, connectionName_1, enterpriseConnectionDto_1, ...args_1) => __awaiter(this, [organizationId_1, connectionName_1, enterpriseConnectionDto_1, ...args_1], void 0, function* (organizationId, connectionName, enterpriseConnectionDto, options = {}) {
|
|
33309
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33310
|
+
(0, common_1.assertParamExists)('updateOrganizationEnterpriseConnection', 'organizationId', organizationId);
|
|
33311
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
33312
|
+
(0, common_1.assertParamExists)('updateOrganizationEnterpriseConnection', 'connectionName', connectionName);
|
|
33313
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
33314
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33315
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
33316
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33317
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
33318
|
+
let baseOptions;
|
|
33319
|
+
if (configuration) {
|
|
33320
|
+
baseOptions = configuration.baseOptions;
|
|
33321
|
+
}
|
|
33322
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
33323
|
+
const localVarHeaderParameter = {};
|
|
33324
|
+
const localVarQueryParameter = {};
|
|
33325
|
+
// authentication ApiKeyAuth required
|
|
33326
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
33327
|
+
// authentication bearerAuth required
|
|
33328
|
+
// http bearer authentication required
|
|
33329
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
33330
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33331
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
33332
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33333
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33334
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(enterpriseConnectionDto, localVarRequestOptions, configuration);
|
|
33335
|
+
return {
|
|
33336
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
33337
|
+
options: localVarRequestOptions,
|
|
33338
|
+
};
|
|
33339
|
+
}),
|
|
33340
|
+
};
|
|
33341
|
+
};
|
|
33342
|
+
exports.OrganizationEnterpriseConnectionApiAxiosParamCreator = OrganizationEnterpriseConnectionApiAxiosParamCreator;
|
|
33343
|
+
/**
|
|
33344
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
33345
|
+
* @export
|
|
33346
|
+
*/
|
|
33347
|
+
const OrganizationEnterpriseConnectionApiFp = function (configuration) {
|
|
33348
|
+
const localVarAxiosParamCreator = (0, exports.OrganizationEnterpriseConnectionApiAxiosParamCreator)(configuration);
|
|
33349
|
+
return {
|
|
33350
|
+
/**
|
|
33351
|
+
*
|
|
33352
|
+
* @summary Get enterprise connection
|
|
33353
|
+
* @param {string} organizationId Organization ID
|
|
33354
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33355
|
+
* @param {*} [options] Override http request option.
|
|
33356
|
+
* @throws {RequiredError}
|
|
33357
|
+
*/
|
|
33358
|
+
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33359
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33360
|
+
var _a, _b, _c;
|
|
33361
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEnterpriseConnection(organizationId, connectionName, options);
|
|
33362
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33363
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationEnterpriseConnectionApi.getOrganizationEnterpriseConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33364
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33365
|
+
});
|
|
33366
|
+
},
|
|
33367
|
+
/**
|
|
33368
|
+
*
|
|
33369
|
+
* @summary Update enterprise connection
|
|
33370
|
+
* @param {string} organizationId Organization ID
|
|
33371
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33372
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33373
|
+
* @param {*} [options] Override http request option.
|
|
33374
|
+
* @throws {RequiredError}
|
|
33375
|
+
*/
|
|
33376
|
+
updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options) {
|
|
33377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33378
|
+
var _a, _b, _c;
|
|
33379
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options);
|
|
33380
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33381
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationEnterpriseConnectionApi.updateOrganizationEnterpriseConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33382
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33383
|
+
});
|
|
33384
|
+
},
|
|
33385
|
+
};
|
|
33386
|
+
};
|
|
33387
|
+
exports.OrganizationEnterpriseConnectionApiFp = OrganizationEnterpriseConnectionApiFp;
|
|
33388
|
+
/**
|
|
33389
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
33390
|
+
* @export
|
|
33391
|
+
*/
|
|
33392
|
+
const OrganizationEnterpriseConnectionApiFactory = function (configuration, basePath, axios) {
|
|
33393
|
+
const localVarFp = (0, exports.OrganizationEnterpriseConnectionApiFp)(configuration);
|
|
33394
|
+
return {
|
|
33395
|
+
/**
|
|
33396
|
+
*
|
|
33397
|
+
* @summary Get enterprise connection
|
|
33398
|
+
* @param {string} organizationId Organization ID
|
|
33399
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33400
|
+
* @param {*} [options] Override http request option.
|
|
33401
|
+
* @throws {RequiredError}
|
|
33402
|
+
*/
|
|
33403
|
+
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33404
|
+
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
33405
|
+
},
|
|
33406
|
+
/**
|
|
33407
|
+
*
|
|
33408
|
+
* @summary Update enterprise connection
|
|
33409
|
+
* @param {string} organizationId Organization ID
|
|
33410
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33411
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33412
|
+
* @param {*} [options] Override http request option.
|
|
33413
|
+
* @throws {RequiredError}
|
|
33414
|
+
*/
|
|
33415
|
+
updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options) {
|
|
33416
|
+
return localVarFp.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(axios, basePath));
|
|
33417
|
+
},
|
|
33418
|
+
};
|
|
33419
|
+
};
|
|
33420
|
+
exports.OrganizationEnterpriseConnectionApiFactory = OrganizationEnterpriseConnectionApiFactory;
|
|
33421
|
+
/**
|
|
33422
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
33423
|
+
* @export
|
|
33424
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
33425
|
+
* @extends {BaseAPI}
|
|
33426
|
+
*/
|
|
33427
|
+
class OrganizationEnterpriseConnectionApi extends base_1.BaseAPI {
|
|
33428
|
+
/**
|
|
33429
|
+
*
|
|
33430
|
+
* @summary Get enterprise connection
|
|
33431
|
+
* @param {string} organizationId Organization ID
|
|
33432
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33433
|
+
* @param {*} [options] Override http request option.
|
|
33434
|
+
* @throws {RequiredError}
|
|
33435
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33436
|
+
*/
|
|
33437
|
+
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33438
|
+
return (0, exports.OrganizationEnterpriseConnectionApiFp)(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
33439
|
+
}
|
|
33440
|
+
/**
|
|
33441
|
+
*
|
|
33442
|
+
* @summary Update enterprise connection
|
|
33443
|
+
* @param {string} organizationId Organization ID
|
|
33444
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33445
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33446
|
+
* @param {*} [options] Override http request option.
|
|
33447
|
+
* @throws {RequiredError}
|
|
33448
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33449
|
+
*/
|
|
33450
|
+
updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options) {
|
|
33451
|
+
return (0, exports.OrganizationEnterpriseConnectionApiFp)(this.configuration).updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(this.axios, this.basePath));
|
|
33452
|
+
}
|
|
33453
|
+
}
|
|
33454
|
+
exports.OrganizationEnterpriseConnectionApi = OrganizationEnterpriseConnectionApi;
|
|
33255
33455
|
/**
|
|
33256
33456
|
* OrganizationEventApi - axios parameter creator
|
|
33257
33457
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -7368,6 +7368,27 @@ export declare const EksInfrastructureOutputsKindEnum: {
|
|
|
7368
7368
|
readonly EKS: "EKS";
|
|
7369
7369
|
};
|
|
7370
7370
|
export type EksInfrastructureOutputsKindEnum = typeof EksInfrastructureOutputsKindEnum[keyof typeof EksInfrastructureOutputsKindEnum];
|
|
7371
|
+
/**
|
|
7372
|
+
*
|
|
7373
|
+
* @export
|
|
7374
|
+
* @interface EnterpriseConnectionDto
|
|
7375
|
+
*/
|
|
7376
|
+
export interface EnterpriseConnectionDto {
|
|
7377
|
+
/**
|
|
7378
|
+
* 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.
|
|
7379
|
+
* @type {string}
|
|
7380
|
+
* @memberof EnterpriseConnectionDto
|
|
7381
|
+
*/
|
|
7382
|
+
'default_role': string;
|
|
7383
|
+
/**
|
|
7384
|
+
* This will allow to create mapping rules based on your IDP group names. It\'s a dictionnary having: - key: either a Qovery provided role (i.e `viewer`) or one of your custom role`s uuid - value: an array of your IDP group names Example: \"I want to associate the Qovery role `devops` to my IDP groups [\'Administrators\', \'DevSecOps\']\"
|
|
7385
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
7386
|
+
* @memberof EnterpriseConnectionDto
|
|
7387
|
+
*/
|
|
7388
|
+
'group_mappings': {
|
|
7389
|
+
[key: string]: Array<string>;
|
|
7390
|
+
};
|
|
7391
|
+
}
|
|
7371
7392
|
/**
|
|
7372
7393
|
*
|
|
7373
7394
|
* @export
|
|
@@ -16884,6 +16905,38 @@ export interface TerraformAdvancedSettings {
|
|
|
16884
16905
|
*/
|
|
16885
16906
|
'security.read_only_root_filesystem'?: boolean;
|
|
16886
16907
|
}
|
|
16908
|
+
/**
|
|
16909
|
+
* @type TerraformBackend
|
|
16910
|
+
* Configuration for Terraform backend - exactly one backend type must be specified
|
|
16911
|
+
* @export
|
|
16912
|
+
*/
|
|
16913
|
+
export type TerraformBackend = TerraformBackendOneOf | TerraformBackendOneOf1;
|
|
16914
|
+
/**
|
|
16915
|
+
*
|
|
16916
|
+
* @export
|
|
16917
|
+
* @interface TerraformBackendOneOf
|
|
16918
|
+
*/
|
|
16919
|
+
export interface TerraformBackendOneOf {
|
|
16920
|
+
/**
|
|
16921
|
+
* Kubernetes-specific backend configuration
|
|
16922
|
+
* @type {object}
|
|
16923
|
+
* @memberof TerraformBackendOneOf
|
|
16924
|
+
*/
|
|
16925
|
+
'kubernetes'?: object;
|
|
16926
|
+
}
|
|
16927
|
+
/**
|
|
16928
|
+
*
|
|
16929
|
+
* @export
|
|
16930
|
+
* @interface TerraformBackendOneOf1
|
|
16931
|
+
*/
|
|
16932
|
+
export interface TerraformBackendOneOf1 {
|
|
16933
|
+
/**
|
|
16934
|
+
* User-provided backend configuration
|
|
16935
|
+
* @type {object}
|
|
16936
|
+
* @memberof TerraformBackendOneOf1
|
|
16937
|
+
*/
|
|
16938
|
+
'user_provided'?: object;
|
|
16939
|
+
}
|
|
16887
16940
|
/**
|
|
16888
16941
|
*
|
|
16889
16942
|
* @export
|
|
@@ -17146,6 +17199,12 @@ export interface TerraformRequest {
|
|
|
17146
17199
|
* @memberof TerraformRequest
|
|
17147
17200
|
*/
|
|
17148
17201
|
'terraform_variables_source': TerraformVariablesSourceRequest;
|
|
17202
|
+
/**
|
|
17203
|
+
*
|
|
17204
|
+
* @type {TerraformBackend}
|
|
17205
|
+
* @memberof TerraformRequest
|
|
17206
|
+
*/
|
|
17207
|
+
'backend': TerraformBackend;
|
|
17149
17208
|
/**
|
|
17150
17209
|
*
|
|
17151
17210
|
* @type {string}
|
|
@@ -17314,6 +17373,12 @@ export interface TerraformResponse {
|
|
|
17314
17373
|
* @memberof TerraformResponse
|
|
17315
17374
|
*/
|
|
17316
17375
|
'provider': TerraformResponseProviderEnum;
|
|
17376
|
+
/**
|
|
17377
|
+
*
|
|
17378
|
+
* @type {TerraformBackend}
|
|
17379
|
+
* @memberof TerraformResponse
|
|
17380
|
+
*/
|
|
17381
|
+
'backend': TerraformBackend;
|
|
17317
17382
|
/**
|
|
17318
17383
|
*
|
|
17319
17384
|
* @type {TerraformProviderVersion}
|
|
@@ -33886,6 +33951,110 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
33886
33951
|
*/
|
|
33887
33952
|
listOrganizationCustomRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRoleList, any, {}>>;
|
|
33888
33953
|
}
|
|
33954
|
+
/**
|
|
33955
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
33956
|
+
* @export
|
|
33957
|
+
*/
|
|
33958
|
+
export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33959
|
+
/**
|
|
33960
|
+
*
|
|
33961
|
+
* @summary Get enterprise connection
|
|
33962
|
+
* @param {string} organizationId Organization ID
|
|
33963
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33964
|
+
* @param {*} [options] Override http request option.
|
|
33965
|
+
* @throws {RequiredError}
|
|
33966
|
+
*/
|
|
33967
|
+
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33968
|
+
/**
|
|
33969
|
+
*
|
|
33970
|
+
* @summary Update enterprise connection
|
|
33971
|
+
* @param {string} organizationId Organization ID
|
|
33972
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33973
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33974
|
+
* @param {*} [options] Override http request option.
|
|
33975
|
+
* @throws {RequiredError}
|
|
33976
|
+
*/
|
|
33977
|
+
updateOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33978
|
+
};
|
|
33979
|
+
/**
|
|
33980
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
33981
|
+
* @export
|
|
33982
|
+
*/
|
|
33983
|
+
export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Configuration) => {
|
|
33984
|
+
/**
|
|
33985
|
+
*
|
|
33986
|
+
* @summary Get enterprise connection
|
|
33987
|
+
* @param {string} organizationId Organization ID
|
|
33988
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33989
|
+
* @param {*} [options] Override http request option.
|
|
33990
|
+
* @throws {RequiredError}
|
|
33991
|
+
*/
|
|
33992
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
33993
|
+
/**
|
|
33994
|
+
*
|
|
33995
|
+
* @summary Update enterprise connection
|
|
33996
|
+
* @param {string} organizationId Organization ID
|
|
33997
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33998
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33999
|
+
* @param {*} [options] Override http request option.
|
|
34000
|
+
* @throws {RequiredError}
|
|
34001
|
+
*/
|
|
34002
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34003
|
+
};
|
|
34004
|
+
/**
|
|
34005
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
34006
|
+
* @export
|
|
34007
|
+
*/
|
|
34008
|
+
export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34009
|
+
/**
|
|
34010
|
+
*
|
|
34011
|
+
* @summary Get enterprise connection
|
|
34012
|
+
* @param {string} organizationId Organization ID
|
|
34013
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34014
|
+
* @param {*} [options] Override http request option.
|
|
34015
|
+
* @throws {RequiredError}
|
|
34016
|
+
*/
|
|
34017
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34018
|
+
/**
|
|
34019
|
+
*
|
|
34020
|
+
* @summary Update enterprise connection
|
|
34021
|
+
* @param {string} organizationId Organization ID
|
|
34022
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34023
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34024
|
+
* @param {*} [options] Override http request option.
|
|
34025
|
+
* @throws {RequiredError}
|
|
34026
|
+
*/
|
|
34027
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34028
|
+
};
|
|
34029
|
+
/**
|
|
34030
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
34031
|
+
* @export
|
|
34032
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
34033
|
+
* @extends {BaseAPI}
|
|
34034
|
+
*/
|
|
34035
|
+
export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
34036
|
+
/**
|
|
34037
|
+
*
|
|
34038
|
+
* @summary Get enterprise connection
|
|
34039
|
+
* @param {string} organizationId Organization ID
|
|
34040
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34041
|
+
* @param {*} [options] Override http request option.
|
|
34042
|
+
* @throws {RequiredError}
|
|
34043
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34044
|
+
*/
|
|
34045
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34046
|
+
/**
|
|
34047
|
+
*
|
|
34048
|
+
* @summary Update enterprise connection
|
|
34049
|
+
* @param {string} organizationId Organization ID
|
|
34050
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34051
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34052
|
+
* @param {*} [options] Override http request option.
|
|
34053
|
+
* @throws {RequiredError}
|
|
34054
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34055
|
+
*/
|
|
34056
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34057
|
+
}
|
|
33889
34058
|
/**
|
|
33890
34059
|
* OrganizationEventApi - axios parameter creator
|
|
33891
34060
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -32964,6 +32964,202 @@ export class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
32964
32964
|
return OrganizationCustomRoleApiFp(this.configuration).listOrganizationCustomRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
32965
32965
|
}
|
|
32966
32966
|
}
|
|
32967
|
+
/**
|
|
32968
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
32969
|
+
* @export
|
|
32970
|
+
*/
|
|
32971
|
+
export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (configuration) {
|
|
32972
|
+
return {
|
|
32973
|
+
/**
|
|
32974
|
+
*
|
|
32975
|
+
* @summary Get enterprise connection
|
|
32976
|
+
* @param {string} organizationId Organization ID
|
|
32977
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
32978
|
+
* @param {*} [options] Override http request option.
|
|
32979
|
+
* @throws {RequiredError}
|
|
32980
|
+
*/
|
|
32981
|
+
getOrganizationEnterpriseConnection: (organizationId_1, connectionName_1, ...args_1) => __awaiter(this, [organizationId_1, connectionName_1, ...args_1], void 0, function* (organizationId, connectionName, options = {}) {
|
|
32982
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
32983
|
+
assertParamExists('getOrganizationEnterpriseConnection', 'organizationId', organizationId);
|
|
32984
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
32985
|
+
assertParamExists('getOrganizationEnterpriseConnection', 'connectionName', connectionName);
|
|
32986
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
32987
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
32988
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
32989
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32990
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32991
|
+
let baseOptions;
|
|
32992
|
+
if (configuration) {
|
|
32993
|
+
baseOptions = configuration.baseOptions;
|
|
32994
|
+
}
|
|
32995
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
32996
|
+
const localVarHeaderParameter = {};
|
|
32997
|
+
const localVarQueryParameter = {};
|
|
32998
|
+
// authentication ApiKeyAuth required
|
|
32999
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
33000
|
+
// authentication bearerAuth required
|
|
33001
|
+
// http bearer authentication required
|
|
33002
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
33003
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33004
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33005
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33006
|
+
return {
|
|
33007
|
+
url: toPathString(localVarUrlObj),
|
|
33008
|
+
options: localVarRequestOptions,
|
|
33009
|
+
};
|
|
33010
|
+
}),
|
|
33011
|
+
/**
|
|
33012
|
+
*
|
|
33013
|
+
* @summary Update enterprise connection
|
|
33014
|
+
* @param {string} organizationId Organization ID
|
|
33015
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33016
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33017
|
+
* @param {*} [options] Override http request option.
|
|
33018
|
+
* @throws {RequiredError}
|
|
33019
|
+
*/
|
|
33020
|
+
updateOrganizationEnterpriseConnection: (organizationId_1, connectionName_1, enterpriseConnectionDto_1, ...args_1) => __awaiter(this, [organizationId_1, connectionName_1, enterpriseConnectionDto_1, ...args_1], void 0, function* (organizationId, connectionName, enterpriseConnectionDto, options = {}) {
|
|
33021
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
33022
|
+
assertParamExists('updateOrganizationEnterpriseConnection', 'organizationId', organizationId);
|
|
33023
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
33024
|
+
assertParamExists('updateOrganizationEnterpriseConnection', 'connectionName', connectionName);
|
|
33025
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
33026
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
33027
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
33028
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33029
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33030
|
+
let baseOptions;
|
|
33031
|
+
if (configuration) {
|
|
33032
|
+
baseOptions = configuration.baseOptions;
|
|
33033
|
+
}
|
|
33034
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
33035
|
+
const localVarHeaderParameter = {};
|
|
33036
|
+
const localVarQueryParameter = {};
|
|
33037
|
+
// authentication ApiKeyAuth required
|
|
33038
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
33039
|
+
// authentication bearerAuth required
|
|
33040
|
+
// http bearer authentication required
|
|
33041
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
33042
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33043
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33044
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33045
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
33046
|
+
localVarRequestOptions.data = serializeDataIfNeeded(enterpriseConnectionDto, localVarRequestOptions, configuration);
|
|
33047
|
+
return {
|
|
33048
|
+
url: toPathString(localVarUrlObj),
|
|
33049
|
+
options: localVarRequestOptions,
|
|
33050
|
+
};
|
|
33051
|
+
}),
|
|
33052
|
+
};
|
|
33053
|
+
};
|
|
33054
|
+
/**
|
|
33055
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
33056
|
+
* @export
|
|
33057
|
+
*/
|
|
33058
|
+
export const OrganizationEnterpriseConnectionApiFp = function (configuration) {
|
|
33059
|
+
const localVarAxiosParamCreator = OrganizationEnterpriseConnectionApiAxiosParamCreator(configuration);
|
|
33060
|
+
return {
|
|
33061
|
+
/**
|
|
33062
|
+
*
|
|
33063
|
+
* @summary Get enterprise connection
|
|
33064
|
+
* @param {string} organizationId Organization ID
|
|
33065
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33066
|
+
* @param {*} [options] Override http request option.
|
|
33067
|
+
* @throws {RequiredError}
|
|
33068
|
+
*/
|
|
33069
|
+
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33070
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33071
|
+
var _a, _b, _c;
|
|
33072
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationEnterpriseConnection(organizationId, connectionName, options);
|
|
33073
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33074
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationEnterpriseConnectionApi.getOrganizationEnterpriseConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33075
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33076
|
+
});
|
|
33077
|
+
},
|
|
33078
|
+
/**
|
|
33079
|
+
*
|
|
33080
|
+
* @summary Update enterprise connection
|
|
33081
|
+
* @param {string} organizationId Organization ID
|
|
33082
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33083
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33084
|
+
* @param {*} [options] Override http request option.
|
|
33085
|
+
* @throws {RequiredError}
|
|
33086
|
+
*/
|
|
33087
|
+
updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options) {
|
|
33088
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33089
|
+
var _a, _b, _c;
|
|
33090
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options);
|
|
33091
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
33092
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationEnterpriseConnectionApi.updateOrganizationEnterpriseConnection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
33093
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33094
|
+
});
|
|
33095
|
+
},
|
|
33096
|
+
};
|
|
33097
|
+
};
|
|
33098
|
+
/**
|
|
33099
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
33100
|
+
* @export
|
|
33101
|
+
*/
|
|
33102
|
+
export const OrganizationEnterpriseConnectionApiFactory = function (configuration, basePath, axios) {
|
|
33103
|
+
const localVarFp = OrganizationEnterpriseConnectionApiFp(configuration);
|
|
33104
|
+
return {
|
|
33105
|
+
/**
|
|
33106
|
+
*
|
|
33107
|
+
* @summary Get enterprise connection
|
|
33108
|
+
* @param {string} organizationId Organization ID
|
|
33109
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33110
|
+
* @param {*} [options] Override http request option.
|
|
33111
|
+
* @throws {RequiredError}
|
|
33112
|
+
*/
|
|
33113
|
+
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33114
|
+
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
33115
|
+
},
|
|
33116
|
+
/**
|
|
33117
|
+
*
|
|
33118
|
+
* @summary Update enterprise connection
|
|
33119
|
+
* @param {string} organizationId Organization ID
|
|
33120
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33121
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33122
|
+
* @param {*} [options] Override http request option.
|
|
33123
|
+
* @throws {RequiredError}
|
|
33124
|
+
*/
|
|
33125
|
+
updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options) {
|
|
33126
|
+
return localVarFp.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(axios, basePath));
|
|
33127
|
+
},
|
|
33128
|
+
};
|
|
33129
|
+
};
|
|
33130
|
+
/**
|
|
33131
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
33132
|
+
* @export
|
|
33133
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
33134
|
+
* @extends {BaseAPI}
|
|
33135
|
+
*/
|
|
33136
|
+
export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
33137
|
+
/**
|
|
33138
|
+
*
|
|
33139
|
+
* @summary Get enterprise connection
|
|
33140
|
+
* @param {string} organizationId Organization ID
|
|
33141
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33142
|
+
* @param {*} [options] Override http request option.
|
|
33143
|
+
* @throws {RequiredError}
|
|
33144
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33145
|
+
*/
|
|
33146
|
+
getOrganizationEnterpriseConnection(organizationId, connectionName, options) {
|
|
33147
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
33148
|
+
}
|
|
33149
|
+
/**
|
|
33150
|
+
*
|
|
33151
|
+
* @summary Update enterprise connection
|
|
33152
|
+
* @param {string} organizationId Organization ID
|
|
33153
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33154
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33155
|
+
* @param {*} [options] Override http request option.
|
|
33156
|
+
* @throws {RequiredError}
|
|
33157
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
33158
|
+
*/
|
|
33159
|
+
updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options) {
|
|
33160
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(this.axios, this.basePath));
|
|
33161
|
+
}
|
|
33162
|
+
}
|
|
32967
33163
|
/**
|
|
32968
33164
|
* OrganizationEventApi - axios parameter creator
|
|
32969
33165
|
* @export
|