qovery-typescript-axios 1.1.686 → 1.1.689
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 +255 -0
- package/dist/api.d.ts +149 -0
- package/dist/api.js +203 -3
- package/dist/esm/api.d.ts +149 -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
|
|
@@ -16620,6 +16639,18 @@ export interface ServicePort {
|
|
|
16620
16639
|
* @memberof ServicePort
|
|
16621
16640
|
*/
|
|
16622
16641
|
'protocol': PortProtocolEnum;
|
|
16642
|
+
/**
|
|
16643
|
+
* Indicate the path or regex that must match for traffic to be accepted on your service i.e: /api/ will only accept http calls that start with /api/ Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16644
|
+
* @type {string}
|
|
16645
|
+
* @memberof ServicePort
|
|
16646
|
+
*/
|
|
16647
|
+
'public_path'?: string;
|
|
16648
|
+
/**
|
|
16649
|
+
* Indicate the new path that will be used to reach your service after replacement i.e: public_path -> /(.*) public_path_rewrite -> /api/$1 will append /api/ on all externaly requested url when reaching the service external/use url -> example.com/foobar -> url seen by the service -> example.com/api/foobar Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16650
|
+
* @type {string}
|
|
16651
|
+
* @memberof ServicePort
|
|
16652
|
+
*/
|
|
16653
|
+
'public_path_rewrite'?: string;
|
|
16623
16654
|
}
|
|
16624
16655
|
|
|
16625
16656
|
|
|
@@ -16684,6 +16715,18 @@ export interface ServicePortRequestPortsInner {
|
|
|
16684
16715
|
* @memberof ServicePortRequestPortsInner
|
|
16685
16716
|
*/
|
|
16686
16717
|
'protocol'?: PortProtocolEnum;
|
|
16718
|
+
/**
|
|
16719
|
+
* Indicate the path or regex that must match for traffic to be accepted on your service i.e: /api/ will only accept http calls that start with /api/ Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16720
|
+
* @type {string}
|
|
16721
|
+
* @memberof ServicePortRequestPortsInner
|
|
16722
|
+
*/
|
|
16723
|
+
'public_path'?: string;
|
|
16724
|
+
/**
|
|
16725
|
+
* Indicate the new path that will be used to reach your service after replacement i.e: public_path -> /(.*) public_path_rewrite -> /api/$1 will append /api/ on all externaly requested url when reaching the service external/use url -> example.com/foobar -> url seen by the service -> example.com/api/foobar Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16726
|
+
* @type {string}
|
|
16727
|
+
* @memberof ServicePortRequestPortsInner
|
|
16728
|
+
*/
|
|
16729
|
+
'public_path_rewrite'?: string;
|
|
16687
16730
|
}
|
|
16688
16731
|
|
|
16689
16732
|
|
|
@@ -53107,6 +53150,218 @@ export class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
53107
53150
|
|
|
53108
53151
|
|
|
53109
53152
|
|
|
53153
|
+
/**
|
|
53154
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
53155
|
+
* @export
|
|
53156
|
+
*/
|
|
53157
|
+
export const OrganizationEnterpriseConnectionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
53158
|
+
return {
|
|
53159
|
+
/**
|
|
53160
|
+
*
|
|
53161
|
+
* @summary Get enterprise connection
|
|
53162
|
+
* @param {string} organizationId Organization ID
|
|
53163
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53164
|
+
* @param {*} [options] Override http request option.
|
|
53165
|
+
* @throws {RequiredError}
|
|
53166
|
+
*/
|
|
53167
|
+
getOrganizationEnterpriseConnection: async (organizationId: string, connectionName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53168
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53169
|
+
assertParamExists('getOrganizationEnterpriseConnection', 'organizationId', organizationId)
|
|
53170
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
53171
|
+
assertParamExists('getOrganizationEnterpriseConnection', 'connectionName', connectionName)
|
|
53172
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
53173
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53174
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
53175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53177
|
+
let baseOptions;
|
|
53178
|
+
if (configuration) {
|
|
53179
|
+
baseOptions = configuration.baseOptions;
|
|
53180
|
+
}
|
|
53181
|
+
|
|
53182
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53183
|
+
const localVarHeaderParameter = {} as any;
|
|
53184
|
+
const localVarQueryParameter = {} as any;
|
|
53185
|
+
|
|
53186
|
+
// authentication ApiKeyAuth required
|
|
53187
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53188
|
+
|
|
53189
|
+
// authentication bearerAuth required
|
|
53190
|
+
// http bearer authentication required
|
|
53191
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53192
|
+
|
|
53193
|
+
|
|
53194
|
+
|
|
53195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53197
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53198
|
+
|
|
53199
|
+
return {
|
|
53200
|
+
url: toPathString(localVarUrlObj),
|
|
53201
|
+
options: localVarRequestOptions,
|
|
53202
|
+
};
|
|
53203
|
+
},
|
|
53204
|
+
/**
|
|
53205
|
+
*
|
|
53206
|
+
* @summary Update enterprise connection
|
|
53207
|
+
* @param {string} organizationId Organization ID
|
|
53208
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53209
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53210
|
+
* @param {*} [options] Override http request option.
|
|
53211
|
+
* @throws {RequiredError}
|
|
53212
|
+
*/
|
|
53213
|
+
updateOrganizationEnterpriseConnection: async (organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53214
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
53215
|
+
assertParamExists('updateOrganizationEnterpriseConnection', 'organizationId', organizationId)
|
|
53216
|
+
// verify required parameter 'connectionName' is not null or undefined
|
|
53217
|
+
assertParamExists('updateOrganizationEnterpriseConnection', 'connectionName', connectionName)
|
|
53218
|
+
const localVarPath = `/organization/{organizationId}/enterpriseconnection/{connectionName}`
|
|
53219
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
53220
|
+
.replace(`{${"connectionName"}}`, encodeURIComponent(String(connectionName)));
|
|
53221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
53222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53223
|
+
let baseOptions;
|
|
53224
|
+
if (configuration) {
|
|
53225
|
+
baseOptions = configuration.baseOptions;
|
|
53226
|
+
}
|
|
53227
|
+
|
|
53228
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
53229
|
+
const localVarHeaderParameter = {} as any;
|
|
53230
|
+
const localVarQueryParameter = {} as any;
|
|
53231
|
+
|
|
53232
|
+
// authentication ApiKeyAuth required
|
|
53233
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
53234
|
+
|
|
53235
|
+
// authentication bearerAuth required
|
|
53236
|
+
// http bearer authentication required
|
|
53237
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53238
|
+
|
|
53239
|
+
|
|
53240
|
+
|
|
53241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
53242
|
+
|
|
53243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
53246
|
+
localVarRequestOptions.data = serializeDataIfNeeded(enterpriseConnectionDto, localVarRequestOptions, configuration)
|
|
53247
|
+
|
|
53248
|
+
return {
|
|
53249
|
+
url: toPathString(localVarUrlObj),
|
|
53250
|
+
options: localVarRequestOptions,
|
|
53251
|
+
};
|
|
53252
|
+
},
|
|
53253
|
+
}
|
|
53254
|
+
};
|
|
53255
|
+
|
|
53256
|
+
/**
|
|
53257
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
53258
|
+
* @export
|
|
53259
|
+
*/
|
|
53260
|
+
export const OrganizationEnterpriseConnectionApiFp = function(configuration?: Configuration) {
|
|
53261
|
+
const localVarAxiosParamCreator = OrganizationEnterpriseConnectionApiAxiosParamCreator(configuration)
|
|
53262
|
+
return {
|
|
53263
|
+
/**
|
|
53264
|
+
*
|
|
53265
|
+
* @summary Get enterprise connection
|
|
53266
|
+
* @param {string} organizationId Organization ID
|
|
53267
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53268
|
+
* @param {*} [options] Override http request option.
|
|
53269
|
+
* @throws {RequiredError}
|
|
53270
|
+
*/
|
|
53271
|
+
async getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>> {
|
|
53272
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationEnterpriseConnection(organizationId, connectionName, options);
|
|
53273
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53274
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.getOrganizationEnterpriseConnection']?.[localVarOperationServerIndex]?.url;
|
|
53275
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53276
|
+
},
|
|
53277
|
+
/**
|
|
53278
|
+
*
|
|
53279
|
+
* @summary Update enterprise connection
|
|
53280
|
+
* @param {string} organizationId Organization ID
|
|
53281
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53282
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53283
|
+
* @param {*} [options] Override http request option.
|
|
53284
|
+
* @throws {RequiredError}
|
|
53285
|
+
*/
|
|
53286
|
+
async updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>> {
|
|
53287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options);
|
|
53288
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
53289
|
+
const localVarOperationServerBasePath = operationServerMap['OrganizationEnterpriseConnectionApi.updateOrganizationEnterpriseConnection']?.[localVarOperationServerIndex]?.url;
|
|
53290
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
53291
|
+
},
|
|
53292
|
+
}
|
|
53293
|
+
};
|
|
53294
|
+
|
|
53295
|
+
/**
|
|
53296
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
53297
|
+
* @export
|
|
53298
|
+
*/
|
|
53299
|
+
export const OrganizationEnterpriseConnectionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
53300
|
+
const localVarFp = OrganizationEnterpriseConnectionApiFp(configuration)
|
|
53301
|
+
return {
|
|
53302
|
+
/**
|
|
53303
|
+
*
|
|
53304
|
+
* @summary Get enterprise connection
|
|
53305
|
+
* @param {string} organizationId Organization ID
|
|
53306
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53307
|
+
* @param {*} [options] Override http request option.
|
|
53308
|
+
* @throws {RequiredError}
|
|
53309
|
+
*/
|
|
53310
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto> {
|
|
53311
|
+
return localVarFp.getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(axios, basePath));
|
|
53312
|
+
},
|
|
53313
|
+
/**
|
|
53314
|
+
*
|
|
53315
|
+
* @summary Update enterprise connection
|
|
53316
|
+
* @param {string} organizationId Organization ID
|
|
53317
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53318
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53319
|
+
* @param {*} [options] Override http request option.
|
|
53320
|
+
* @throws {RequiredError}
|
|
53321
|
+
*/
|
|
53322
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto> {
|
|
53323
|
+
return localVarFp.updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(axios, basePath));
|
|
53324
|
+
},
|
|
53325
|
+
};
|
|
53326
|
+
};
|
|
53327
|
+
|
|
53328
|
+
/**
|
|
53329
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
53330
|
+
* @export
|
|
53331
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
53332
|
+
* @extends {BaseAPI}
|
|
53333
|
+
*/
|
|
53334
|
+
export class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
53335
|
+
/**
|
|
53336
|
+
*
|
|
53337
|
+
* @summary Get enterprise connection
|
|
53338
|
+
* @param {string} organizationId Organization ID
|
|
53339
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53340
|
+
* @param {*} [options] Override http request option.
|
|
53341
|
+
* @throws {RequiredError}
|
|
53342
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
53343
|
+
*/
|
|
53344
|
+
public getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) {
|
|
53345
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).getOrganizationEnterpriseConnection(organizationId, connectionName, options).then((request) => request(this.axios, this.basePath));
|
|
53346
|
+
}
|
|
53347
|
+
|
|
53348
|
+
/**
|
|
53349
|
+
*
|
|
53350
|
+
* @summary Update enterprise connection
|
|
53351
|
+
* @param {string} organizationId Organization ID
|
|
53352
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
53353
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
53354
|
+
* @param {*} [options] Override http request option.
|
|
53355
|
+
* @throws {RequiredError}
|
|
53356
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
53357
|
+
*/
|
|
53358
|
+
public updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig) {
|
|
53359
|
+
return OrganizationEnterpriseConnectionApiFp(this.configuration).updateOrganizationEnterpriseConnection(organizationId, connectionName, enterpriseConnectionDto, options).then((request) => request(this.axios, this.basePath));
|
|
53360
|
+
}
|
|
53361
|
+
}
|
|
53362
|
+
|
|
53363
|
+
|
|
53364
|
+
|
|
53110
53365
|
/**
|
|
53111
53366
|
* OrganizationEventApi - axios parameter creator
|
|
53112
53367
|
* @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
|
|
@@ -16112,6 +16133,18 @@ export interface ServicePort {
|
|
|
16112
16133
|
* @memberof ServicePort
|
|
16113
16134
|
*/
|
|
16114
16135
|
'protocol': PortProtocolEnum;
|
|
16136
|
+
/**
|
|
16137
|
+
* Indicate the path or regex that must match for traffic to be accepted on your service i.e: /api/ will only accept http calls that start with /api/ Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16138
|
+
* @type {string}
|
|
16139
|
+
* @memberof ServicePort
|
|
16140
|
+
*/
|
|
16141
|
+
'public_path'?: string;
|
|
16142
|
+
/**
|
|
16143
|
+
* Indicate the new path that will be used to reach your service after replacement i.e: public_path -> /(.*) public_path_rewrite -> /api/$1 will append /api/ on all externaly requested url when reaching the service external/use url -> example.com/foobar -> url seen by the service -> example.com/api/foobar Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16144
|
+
* @type {string}
|
|
16145
|
+
* @memberof ServicePort
|
|
16146
|
+
*/
|
|
16147
|
+
'public_path_rewrite'?: string;
|
|
16115
16148
|
}
|
|
16116
16149
|
/**
|
|
16117
16150
|
*
|
|
@@ -16174,6 +16207,18 @@ export interface ServicePortRequestPortsInner {
|
|
|
16174
16207
|
* @memberof ServicePortRequestPortsInner
|
|
16175
16208
|
*/
|
|
16176
16209
|
'protocol'?: PortProtocolEnum;
|
|
16210
|
+
/**
|
|
16211
|
+
* Indicate the path or regex that must match for traffic to be accepted on your service i.e: /api/ will only accept http calls that start with /api/ Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16212
|
+
* @type {string}
|
|
16213
|
+
* @memberof ServicePortRequestPortsInner
|
|
16214
|
+
*/
|
|
16215
|
+
'public_path'?: string;
|
|
16216
|
+
/**
|
|
16217
|
+
* Indicate the new path that will be used to reach your service after replacement i.e: public_path -> /(.*) public_path_rewrite -> /api/$1 will append /api/ on all externaly requested url when reaching the service external/use url -> example.com/foobar -> url seen by the service -> example.com/api/foobar Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16218
|
+
* @type {string}
|
|
16219
|
+
* @memberof ServicePortRequestPortsInner
|
|
16220
|
+
*/
|
|
16221
|
+
'public_path_rewrite'?: string;
|
|
16177
16222
|
}
|
|
16178
16223
|
/**
|
|
16179
16224
|
*
|
|
@@ -33930,6 +33975,110 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
33930
33975
|
*/
|
|
33931
33976
|
listOrganizationCustomRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRoleList, any, {}>>;
|
|
33932
33977
|
}
|
|
33978
|
+
/**
|
|
33979
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
33980
|
+
* @export
|
|
33981
|
+
*/
|
|
33982
|
+
export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33983
|
+
/**
|
|
33984
|
+
*
|
|
33985
|
+
* @summary Get enterprise connection
|
|
33986
|
+
* @param {string} organizationId Organization ID
|
|
33987
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33988
|
+
* @param {*} [options] Override http request option.
|
|
33989
|
+
* @throws {RequiredError}
|
|
33990
|
+
*/
|
|
33991
|
+
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33992
|
+
/**
|
|
33993
|
+
*
|
|
33994
|
+
* @summary Update enterprise connection
|
|
33995
|
+
* @param {string} organizationId Organization ID
|
|
33996
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33997
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33998
|
+
* @param {*} [options] Override http request option.
|
|
33999
|
+
* @throws {RequiredError}
|
|
34000
|
+
*/
|
|
34001
|
+
updateOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34002
|
+
};
|
|
34003
|
+
/**
|
|
34004
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
34005
|
+
* @export
|
|
34006
|
+
*/
|
|
34007
|
+
export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Configuration) => {
|
|
34008
|
+
/**
|
|
34009
|
+
*
|
|
34010
|
+
* @summary Get enterprise connection
|
|
34011
|
+
* @param {string} organizationId Organization ID
|
|
34012
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34013
|
+
* @param {*} [options] Override http request option.
|
|
34014
|
+
* @throws {RequiredError}
|
|
34015
|
+
*/
|
|
34016
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34017
|
+
/**
|
|
34018
|
+
*
|
|
34019
|
+
* @summary Update enterprise connection
|
|
34020
|
+
* @param {string} organizationId Organization ID
|
|
34021
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34022
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34023
|
+
* @param {*} [options] Override http request option.
|
|
34024
|
+
* @throws {RequiredError}
|
|
34025
|
+
*/
|
|
34026
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34027
|
+
};
|
|
34028
|
+
/**
|
|
34029
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
34030
|
+
* @export
|
|
34031
|
+
*/
|
|
34032
|
+
export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34033
|
+
/**
|
|
34034
|
+
*
|
|
34035
|
+
* @summary Get enterprise connection
|
|
34036
|
+
* @param {string} organizationId Organization ID
|
|
34037
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34038
|
+
* @param {*} [options] Override http request option.
|
|
34039
|
+
* @throws {RequiredError}
|
|
34040
|
+
*/
|
|
34041
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34042
|
+
/**
|
|
34043
|
+
*
|
|
34044
|
+
* @summary Update enterprise connection
|
|
34045
|
+
* @param {string} organizationId Organization ID
|
|
34046
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34047
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34048
|
+
* @param {*} [options] Override http request option.
|
|
34049
|
+
* @throws {RequiredError}
|
|
34050
|
+
*/
|
|
34051
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34052
|
+
};
|
|
34053
|
+
/**
|
|
34054
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
34055
|
+
* @export
|
|
34056
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
34057
|
+
* @extends {BaseAPI}
|
|
34058
|
+
*/
|
|
34059
|
+
export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
34060
|
+
/**
|
|
34061
|
+
*
|
|
34062
|
+
* @summary Get enterprise connection
|
|
34063
|
+
* @param {string} organizationId Organization ID
|
|
34064
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34065
|
+
* @param {*} [options] Override http request option.
|
|
34066
|
+
* @throws {RequiredError}
|
|
34067
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34068
|
+
*/
|
|
34069
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34070
|
+
/**
|
|
34071
|
+
*
|
|
34072
|
+
* @summary Update enterprise connection
|
|
34073
|
+
* @param {string} organizationId Organization ID
|
|
34074
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34075
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34076
|
+
* @param {*} [options] Override http request option.
|
|
34077
|
+
* @throws {RequiredError}
|
|
34078
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34079
|
+
*/
|
|
34080
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34081
|
+
}
|
|
33933
34082
|
/**
|
|
33934
34083
|
* OrganizationEventApi - axios parameter creator
|
|
33935
34084
|
* @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
|
|
@@ -16112,6 +16133,18 @@ export interface ServicePort {
|
|
|
16112
16133
|
* @memberof ServicePort
|
|
16113
16134
|
*/
|
|
16114
16135
|
'protocol': PortProtocolEnum;
|
|
16136
|
+
/**
|
|
16137
|
+
* Indicate the path or regex that must match for traffic to be accepted on your service i.e: /api/ will only accept http calls that start with /api/ Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16138
|
+
* @type {string}
|
|
16139
|
+
* @memberof ServicePort
|
|
16140
|
+
*/
|
|
16141
|
+
'public_path'?: string;
|
|
16142
|
+
/**
|
|
16143
|
+
* Indicate the new path that will be used to reach your service after replacement i.e: public_path -> /(.*) public_path_rewrite -> /api/$1 will append /api/ on all externaly requested url when reaching the service external/use url -> example.com/foobar -> url seen by the service -> example.com/api/foobar Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16144
|
+
* @type {string}
|
|
16145
|
+
* @memberof ServicePort
|
|
16146
|
+
*/
|
|
16147
|
+
'public_path_rewrite'?: string;
|
|
16115
16148
|
}
|
|
16116
16149
|
/**
|
|
16117
16150
|
*
|
|
@@ -16174,6 +16207,18 @@ export interface ServicePortRequestPortsInner {
|
|
|
16174
16207
|
* @memberof ServicePortRequestPortsInner
|
|
16175
16208
|
*/
|
|
16176
16209
|
'protocol'?: PortProtocolEnum;
|
|
16210
|
+
/**
|
|
16211
|
+
* Indicate the path or regex that must match for traffic to be accepted on your service i.e: /api/ will only accept http calls that start with /api/ Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16212
|
+
* @type {string}
|
|
16213
|
+
* @memberof ServicePortRequestPortsInner
|
|
16214
|
+
*/
|
|
16215
|
+
'public_path'?: string;
|
|
16216
|
+
/**
|
|
16217
|
+
* Indicate the new path that will be used to reach your service after replacement i.e: public_path -> /(.*) public_path_rewrite -> /api/$1 will append /api/ on all externaly requested url when reaching the service external/use url -> example.com/foobar -> url seen by the service -> example.com/api/foobar Only valid for publicly_accessible HTTP or GRPC ports.
|
|
16218
|
+
* @type {string}
|
|
16219
|
+
* @memberof ServicePortRequestPortsInner
|
|
16220
|
+
*/
|
|
16221
|
+
'public_path_rewrite'?: string;
|
|
16177
16222
|
}
|
|
16178
16223
|
/**
|
|
16179
16224
|
*
|
|
@@ -33930,6 +33975,110 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
|
|
|
33930
33975
|
*/
|
|
33931
33976
|
listOrganizationCustomRoles(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRoleList, any, {}>>;
|
|
33932
33977
|
}
|
|
33978
|
+
/**
|
|
33979
|
+
* OrganizationEnterpriseConnectionApi - axios parameter creator
|
|
33980
|
+
* @export
|
|
33981
|
+
*/
|
|
33982
|
+
export declare const OrganizationEnterpriseConnectionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33983
|
+
/**
|
|
33984
|
+
*
|
|
33985
|
+
* @summary Get enterprise connection
|
|
33986
|
+
* @param {string} organizationId Organization ID
|
|
33987
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33988
|
+
* @param {*} [options] Override http request option.
|
|
33989
|
+
* @throws {RequiredError}
|
|
33990
|
+
*/
|
|
33991
|
+
getOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33992
|
+
/**
|
|
33993
|
+
*
|
|
33994
|
+
* @summary Update enterprise connection
|
|
33995
|
+
* @param {string} organizationId Organization ID
|
|
33996
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
33997
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
33998
|
+
* @param {*} [options] Override http request option.
|
|
33999
|
+
* @throws {RequiredError}
|
|
34000
|
+
*/
|
|
34001
|
+
updateOrganizationEnterpriseConnection: (organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
34002
|
+
};
|
|
34003
|
+
/**
|
|
34004
|
+
* OrganizationEnterpriseConnectionApi - functional programming interface
|
|
34005
|
+
* @export
|
|
34006
|
+
*/
|
|
34007
|
+
export declare const OrganizationEnterpriseConnectionApiFp: (configuration?: Configuration) => {
|
|
34008
|
+
/**
|
|
34009
|
+
*
|
|
34010
|
+
* @summary Get enterprise connection
|
|
34011
|
+
* @param {string} organizationId Organization ID
|
|
34012
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34013
|
+
* @param {*} [options] Override http request option.
|
|
34014
|
+
* @throws {RequiredError}
|
|
34015
|
+
*/
|
|
34016
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34017
|
+
/**
|
|
34018
|
+
*
|
|
34019
|
+
* @summary Update enterprise connection
|
|
34020
|
+
* @param {string} organizationId Organization ID
|
|
34021
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34022
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34023
|
+
* @param {*} [options] Override http request option.
|
|
34024
|
+
* @throws {RequiredError}
|
|
34025
|
+
*/
|
|
34026
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnterpriseConnectionDto>>;
|
|
34027
|
+
};
|
|
34028
|
+
/**
|
|
34029
|
+
* OrganizationEnterpriseConnectionApi - factory interface
|
|
34030
|
+
* @export
|
|
34031
|
+
*/
|
|
34032
|
+
export declare const OrganizationEnterpriseConnectionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34033
|
+
/**
|
|
34034
|
+
*
|
|
34035
|
+
* @summary Get enterprise connection
|
|
34036
|
+
* @param {string} organizationId Organization ID
|
|
34037
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34038
|
+
* @param {*} [options] Override http request option.
|
|
34039
|
+
* @throws {RequiredError}
|
|
34040
|
+
*/
|
|
34041
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34042
|
+
/**
|
|
34043
|
+
*
|
|
34044
|
+
* @summary Update enterprise connection
|
|
34045
|
+
* @param {string} organizationId Organization ID
|
|
34046
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34047
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34048
|
+
* @param {*} [options] Override http request option.
|
|
34049
|
+
* @throws {RequiredError}
|
|
34050
|
+
*/
|
|
34051
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): AxiosPromise<EnterpriseConnectionDto>;
|
|
34052
|
+
};
|
|
34053
|
+
/**
|
|
34054
|
+
* OrganizationEnterpriseConnectionApi - object-oriented interface
|
|
34055
|
+
* @export
|
|
34056
|
+
* @class OrganizationEnterpriseConnectionApi
|
|
34057
|
+
* @extends {BaseAPI}
|
|
34058
|
+
*/
|
|
34059
|
+
export declare class OrganizationEnterpriseConnectionApi extends BaseAPI {
|
|
34060
|
+
/**
|
|
34061
|
+
*
|
|
34062
|
+
* @summary Get enterprise connection
|
|
34063
|
+
* @param {string} organizationId Organization ID
|
|
34064
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34065
|
+
* @param {*} [options] Override http request option.
|
|
34066
|
+
* @throws {RequiredError}
|
|
34067
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34068
|
+
*/
|
|
34069
|
+
getOrganizationEnterpriseConnection(organizationId: string, connectionName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34070
|
+
/**
|
|
34071
|
+
*
|
|
34072
|
+
* @summary Update enterprise connection
|
|
34073
|
+
* @param {string} organizationId Organization ID
|
|
34074
|
+
* @param {string} connectionName The name of the Organization\'s Enterprise Connection
|
|
34075
|
+
* @param {EnterpriseConnectionDto} [enterpriseConnectionDto]
|
|
34076
|
+
* @param {*} [options] Override http request option.
|
|
34077
|
+
* @throws {RequiredError}
|
|
34078
|
+
* @memberof OrganizationEnterpriseConnectionApi
|
|
34079
|
+
*/
|
|
34080
|
+
updateOrganizationEnterpriseConnection(organizationId: string, connectionName: string, enterpriseConnectionDto?: EnterpriseConnectionDto, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnterpriseConnectionDto, any, {}>>;
|
|
34081
|
+
}
|
|
33933
34082
|
/**
|
|
33934
34083
|
* OrganizationEventApi - axios parameter creator
|
|
33935
34084
|
* @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
|