qovery-typescript-axios 1.1.18 → 1.1.20

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.
Files changed (4) hide show
  1. package/api.ts +1110 -117
  2. package/dist/api.d.ts +735 -50
  3. package/dist/api.js +709 -110
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -291,6 +291,42 @@ export interface ApplicationAdvancedSettings {
291
291
  * @memberof ApplicationAdvancedSettings
292
292
  */
293
293
  'network.ingress.proxy_buffer_size_kb'?: number;
294
+ /**
295
+ * Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection
296
+ * @type {number}
297
+ * @memberof ApplicationAdvancedSettings
298
+ */
299
+ 'network.ingress.keepalive_time_seconds'?: number;
300
+ /**
301
+ * Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open.
302
+ * @type {number}
303
+ * @memberof ApplicationAdvancedSettings
304
+ */
305
+ 'network.ingress.keepalive_timeout_seconds'?: number;
306
+ /**
307
+ * Sets a timeout (in seconds) for transmitting a response to the client
308
+ * @type {number}
309
+ * @memberof ApplicationAdvancedSettings
310
+ */
311
+ 'network.ingress.send_timeout_seconds'?: number;
312
+ /**
313
+ * Sets a timeout (in seconds) for establishing a connection to a proxied server
314
+ * @type {number}
315
+ * @memberof ApplicationAdvancedSettings
316
+ */
317
+ 'network.ingress.proxy_connect_timeout_seconds'?: number;
318
+ /**
319
+ * Sets a timeout (in seconds) for transmitting a request to the proxied server
320
+ * @type {number}
321
+ * @memberof ApplicationAdvancedSettings
322
+ */
323
+ 'network.ingress.proxy_send_timeout_seconds'?: number;
324
+ /**
325
+ * Sets a timeout (in seconds) for reading a response from the proxied server
326
+ * @type {number}
327
+ * @memberof ApplicationAdvancedSettings
328
+ */
329
+ 'network.ingress.proxy_read_timeout_seconds'?: number;
294
330
  /**
295
331
  * list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.
296
332
  * @type {string}
@@ -971,6 +1007,12 @@ export interface ApplicationRequest {
971
1007
  * @memberof ApplicationRequest
972
1008
  */
973
1009
  'storage'?: Array<ServiceStorageRequestStorage>;
1010
+ /**
1011
+ *
1012
+ * @type {Array<ServicePortRequestPorts>}
1013
+ * @memberof ApplicationRequest
1014
+ */
1015
+ 'ports'?: Array<ServicePortRequestPorts>;
974
1016
  /**
975
1017
  * name is case insensitive
976
1018
  * @type {string}
@@ -1043,12 +1085,6 @@ export interface ApplicationRequest {
1043
1085
  * @memberof ApplicationRequest
1044
1086
  */
1045
1087
  'auto_preview'?: boolean;
1046
- /**
1047
- *
1048
- * @type {Array<ServicePortRequest>}
1049
- * @memberof ApplicationRequest
1050
- */
1051
- 'ports'?: Array<ServicePortRequest>;
1052
1088
  }
1053
1089
  /**
1054
1090
  *
@@ -1128,12 +1164,6 @@ export interface ApplicationRequestAllOf {
1128
1164
  * @memberof ApplicationRequestAllOf
1129
1165
  */
1130
1166
  'auto_preview'?: boolean;
1131
- /**
1132
- *
1133
- * @type {Array<ServicePortRequest>}
1134
- * @memberof ApplicationRequestAllOf
1135
- */
1136
- 'ports'?: Array<ServicePortRequest>;
1137
1167
  }
1138
1168
  /**
1139
1169
  *
@@ -2940,6 +2970,42 @@ export interface ContainerAdvancedSettings {
2940
2970
  * @memberof ContainerAdvancedSettings
2941
2971
  */
2942
2972
  'network.ingress.proxy_buffer_size_kb'?: number;
2973
+ /**
2974
+ * Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection
2975
+ * @type {number}
2976
+ * @memberof ContainerAdvancedSettings
2977
+ */
2978
+ 'network.ingress.keepalive_time_seconds'?: number;
2979
+ /**
2980
+ * Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open.
2981
+ * @type {number}
2982
+ * @memberof ContainerAdvancedSettings
2983
+ */
2984
+ 'network.ingress.keepalive_timeout_seconds'?: number;
2985
+ /**
2986
+ * Sets a timeout (in seconds) for transmitting a response to the client
2987
+ * @type {number}
2988
+ * @memberof ContainerAdvancedSettings
2989
+ */
2990
+ 'network.ingress.send_timeout_seconds'?: number;
2991
+ /**
2992
+ * Sets a timeout (in seconds) for establishing a connection to a proxied server
2993
+ * @type {number}
2994
+ * @memberof ContainerAdvancedSettings
2995
+ */
2996
+ 'network.ingress.proxy_connect_timeout_seconds'?: number;
2997
+ /**
2998
+ * Sets a timeout (in seconds) for transmitting a request to the proxied server
2999
+ * @type {number}
3000
+ * @memberof ContainerAdvancedSettings
3001
+ */
3002
+ 'network.ingress.proxy_send_timeout_seconds'?: number;
3003
+ /**
3004
+ * Sets a timeout (in seconds) for reading a response from the proxied server
3005
+ * @type {number}
3006
+ * @memberof ContainerAdvancedSettings
3007
+ */
3008
+ 'network.ingress.proxy_read_timeout_seconds'?: number;
2943
3009
  /**
2944
3010
  * list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.
2945
3011
  * @type {string}
@@ -4596,6 +4662,19 @@ export interface DatabaseVersionMode {
4596
4662
  */
4597
4663
  'supported_mode'?: DatabaseModeEnum;
4598
4664
  }
4665
+ /**
4666
+ * used to specify a default role, otherwise `null`
4667
+ * @export
4668
+ * @enum {string}
4669
+ */
4670
+
4671
+ export enum DefaultMemberRole {
4672
+ VIEWER = 'VIEWER',
4673
+ BILLING = 'BILLING',
4674
+ DEVOPS = 'DEVOPS',
4675
+ ADMIN = 'ADMIN'
4676
+ }
4677
+
4599
4678
  /**
4600
4679
  *
4601
4680
  * @export
@@ -7058,7 +7137,7 @@ export interface InviteMemberResponseList {
7058
7137
  'results'?: Array<InviteMember>;
7059
7138
  }
7060
7139
  /**
7061
- *
7140
+ * deprecated
7062
7141
  * @export
7063
7142
  * @enum {string}
7064
7143
  */
@@ -7475,6 +7554,12 @@ export interface Member {
7475
7554
  * @memberof Member
7476
7555
  */
7477
7556
  'role'?: InviteMemberRoleEnum;
7557
+ /**
7558
+ * the role linked to the user
7559
+ * @type {string}
7560
+ * @memberof Member
7561
+ */
7562
+ 'role_name'?: string;
7478
7563
  }
7479
7564
  /**
7480
7565
  *
@@ -7518,6 +7603,12 @@ export interface MemberAllOf {
7518
7603
  * @memberof MemberAllOf
7519
7604
  */
7520
7605
  'role'?: InviteMemberRoleEnum;
7606
+ /**
7607
+ * the role linked to the user
7608
+ * @type {string}
7609
+ * @memberof MemberAllOf
7610
+ */
7611
+ 'role_name'?: string;
7521
7612
  }
7522
7613
  /**
7523
7614
  *
@@ -7532,6 +7623,31 @@ export interface MemberResponseList {
7532
7623
  */
7533
7624
  'results'?: Array<Member>;
7534
7625
  }
7626
+ /**
7627
+ *
7628
+ * @export
7629
+ * @interface MemberRoleUpdateRequest
7630
+ */
7631
+ export interface MemberRoleUpdateRequest {
7632
+ /**
7633
+ * specify the git provider user id
7634
+ * @type {string}
7635
+ * @memberof MemberRoleUpdateRequest
7636
+ */
7637
+ 'user_id'?: string;
7638
+ /**
7639
+ * used to specify an organization custom role, otherwise `null`
7640
+ * @type {string}
7641
+ * @memberof MemberRoleUpdateRequest
7642
+ */
7643
+ 'custom_role_id'?: string;
7644
+ /**
7645
+ *
7646
+ * @type {DefaultMemberRole}
7647
+ * @memberof MemberRoleUpdateRequest
7648
+ */
7649
+ 'default_role_name'?: DefaultMemberRole;
7650
+ }
7535
7651
  /**
7536
7652
  *
7537
7653
  * @export
@@ -8144,6 +8260,44 @@ export enum OrganizationApiTokenScope {
8144
8260
  ADMIN = 'ADMIN'
8145
8261
  }
8146
8262
 
8263
+ /**
8264
+ *
8265
+ * @export
8266
+ * @interface OrganizationAvailableRole
8267
+ */
8268
+ export interface OrganizationAvailableRole {
8269
+ /**
8270
+ * Filled only for an organization custom role
8271
+ * @type {string}
8272
+ * @memberof OrganizationAvailableRole
8273
+ */
8274
+ 'id'?: string;
8275
+ /**
8276
+ * It can be either a custom role name or a default role name
8277
+ * @type {string}
8278
+ * @memberof OrganizationAvailableRole
8279
+ */
8280
+ 'name'?: string;
8281
+ /**
8282
+ * - `true` if it is a Qovery role - `false` if it is a custom role
8283
+ * @type {boolean}
8284
+ * @memberof OrganizationAvailableRole
8285
+ */
8286
+ 'is_default'?: boolean;
8287
+ }
8288
+ /**
8289
+ *
8290
+ * @export
8291
+ * @interface OrganizationAvailableRoleList
8292
+ */
8293
+ export interface OrganizationAvailableRoleList {
8294
+ /**
8295
+ *
8296
+ * @type {Array<OrganizationAvailableRole>}
8297
+ * @memberof OrganizationAvailableRoleList
8298
+ */
8299
+ 'results'?: Array<OrganizationAvailableRole>;
8300
+ }
8147
8301
  /**
8148
8302
  *
8149
8303
  * @export
@@ -8258,6 +8412,244 @@ export interface OrganizationCurrentCostAllOf {
8258
8412
  */
8259
8413
  'paid_usage'?: PaidUsage;
8260
8414
  }
8415
+ /**
8416
+ *
8417
+ * @export
8418
+ * @interface OrganizationCustomRole
8419
+ */
8420
+ export interface OrganizationCustomRole {
8421
+ /**
8422
+ *
8423
+ * @type {string}
8424
+ * @memberof OrganizationCustomRole
8425
+ */
8426
+ 'name'?: string;
8427
+ /**
8428
+ *
8429
+ * @type {string}
8430
+ * @memberof OrganizationCustomRole
8431
+ */
8432
+ 'description'?: string;
8433
+ /**
8434
+ *
8435
+ * @type {Array<OrganizationCustomRoleClusterPermissions>}
8436
+ * @memberof OrganizationCustomRole
8437
+ */
8438
+ 'cluster_permissions'?: Array<OrganizationCustomRoleClusterPermissions>;
8439
+ /**
8440
+ *
8441
+ * @type {Array<OrganizationCustomRoleProjectPermissions>}
8442
+ * @memberof OrganizationCustomRole
8443
+ */
8444
+ 'project_permissions'?: Array<OrganizationCustomRoleProjectPermissions>;
8445
+ }
8446
+ /**
8447
+ * Indicates the permission for a target cluster, from the lowest to the highest: - `VIEWER` user has only read access on target cluster - `ENV_CREATOR` user can deploy on the cluster - `ADMIN` user can modify the cluster settings
8448
+ * @export
8449
+ * @enum {string}
8450
+ */
8451
+
8452
+ export enum OrganizationCustomRoleClusterPermission {
8453
+ VIEWER = 'VIEWER',
8454
+ ENV_CREATOR = 'ENV_CREATOR',
8455
+ ADMIN = 'ADMIN'
8456
+ }
8457
+
8458
+ /**
8459
+ *
8460
+ * @export
8461
+ * @interface OrganizationCustomRoleClusterPermissions
8462
+ */
8463
+ export interface OrganizationCustomRoleClusterPermissions {
8464
+ /**
8465
+ *
8466
+ * @type {string}
8467
+ * @memberof OrganizationCustomRoleClusterPermissions
8468
+ */
8469
+ 'cluster_id'?: string;
8470
+ /**
8471
+ *
8472
+ * @type {string}
8473
+ * @memberof OrganizationCustomRoleClusterPermissions
8474
+ */
8475
+ 'cluster_name'?: string;
8476
+ /**
8477
+ *
8478
+ * @type {OrganizationCustomRoleClusterPermission}
8479
+ * @memberof OrganizationCustomRoleClusterPermissions
8480
+ */
8481
+ 'permission'?: OrganizationCustomRoleClusterPermission;
8482
+ }
8483
+ /**
8484
+ *
8485
+ * @export
8486
+ * @interface OrganizationCustomRoleCreateRequest
8487
+ */
8488
+ export interface OrganizationCustomRoleCreateRequest {
8489
+ /**
8490
+ *
8491
+ * @type {string}
8492
+ * @memberof OrganizationCustomRoleCreateRequest
8493
+ */
8494
+ 'name': string;
8495
+ /**
8496
+ *
8497
+ * @type {string}
8498
+ * @memberof OrganizationCustomRoleCreateRequest
8499
+ */
8500
+ 'description'?: string;
8501
+ }
8502
+ /**
8503
+ *
8504
+ * @export
8505
+ * @interface OrganizationCustomRoleList
8506
+ */
8507
+ export interface OrganizationCustomRoleList {
8508
+ /**
8509
+ *
8510
+ * @type {Array<OrganizationCustomRole>}
8511
+ * @memberof OrganizationCustomRoleList
8512
+ */
8513
+ 'results'?: Array<OrganizationCustomRole>;
8514
+ }
8515
+ /**
8516
+ * Indicates the permission for a target project and a given environment type, from the lowest to the highest: - `NO_ACCESS` user has no access - `VIEWER` user can access the environment (and applications / containers / databases / variables) - `DEPLOYER` user can deploy the environment (dependent on the required cluster permission `ENV_CREATOR`) - `MANAGER` user can create an environment (and applications / containers / databases / variables)
8517
+ * @export
8518
+ * @enum {string}
8519
+ */
8520
+
8521
+ export enum OrganizationCustomRoleProjectPermission {
8522
+ NO_ACCESS = 'NO_ACCESS',
8523
+ VIEWER = 'VIEWER',
8524
+ DEPLOYER = 'DEPLOYER',
8525
+ MANAGER = 'MANAGER'
8526
+ }
8527
+
8528
+ /**
8529
+ *
8530
+ * @export
8531
+ * @interface OrganizationCustomRoleProjectPermissions
8532
+ */
8533
+ export interface OrganizationCustomRoleProjectPermissions {
8534
+ /**
8535
+ *
8536
+ * @type {string}
8537
+ * @memberof OrganizationCustomRoleProjectPermissions
8538
+ */
8539
+ 'project_id'?: string;
8540
+ /**
8541
+ *
8542
+ * @type {string}
8543
+ * @memberof OrganizationCustomRoleProjectPermissions
8544
+ */
8545
+ 'project_name'?: string;
8546
+ /**
8547
+ * If `is_admin` is `true`, the user is: - automatically `MANAGER` for each environment type - allowed to manage project deployment rules - able to delete the project Note that `permissions` can then be ignored for this project
8548
+ * @type {boolean}
8549
+ * @memberof OrganizationCustomRoleProjectPermissions
8550
+ */
8551
+ 'is_admin'?: boolean;
8552
+ /**
8553
+ *
8554
+ * @type {Array<OrganizationCustomRoleUpdateRequestPermissions>}
8555
+ * @memberof OrganizationCustomRoleProjectPermissions
8556
+ */
8557
+ 'permissions'?: Array<OrganizationCustomRoleUpdateRequestPermissions>;
8558
+ }
8559
+ /**
8560
+ *
8561
+ * @export
8562
+ * @interface OrganizationCustomRoleUpdateRequest
8563
+ */
8564
+ export interface OrganizationCustomRoleUpdateRequest {
8565
+ /**
8566
+ *
8567
+ * @type {string}
8568
+ * @memberof OrganizationCustomRoleUpdateRequest
8569
+ */
8570
+ 'name': string;
8571
+ /**
8572
+ *
8573
+ * @type {string}
8574
+ * @memberof OrganizationCustomRoleUpdateRequest
8575
+ */
8576
+ 'description'?: string;
8577
+ /**
8578
+ * Should contain an entry for every existing cluster
8579
+ * @type {Array<OrganizationCustomRoleUpdateRequestClusterPermissions>}
8580
+ * @memberof OrganizationCustomRoleUpdateRequest
8581
+ */
8582
+ 'cluster_permissions': Array<OrganizationCustomRoleUpdateRequestClusterPermissions>;
8583
+ /**
8584
+ * Should contain an entry for every existing project
8585
+ * @type {Array<OrganizationCustomRoleUpdateRequestProjectPermissions>}
8586
+ * @memberof OrganizationCustomRoleUpdateRequest
8587
+ */
8588
+ 'project_permissions': Array<OrganizationCustomRoleUpdateRequestProjectPermissions>;
8589
+ }
8590
+ /**
8591
+ *
8592
+ * @export
8593
+ * @interface OrganizationCustomRoleUpdateRequestClusterPermissions
8594
+ */
8595
+ export interface OrganizationCustomRoleUpdateRequestClusterPermissions {
8596
+ /**
8597
+ *
8598
+ * @type {string}
8599
+ * @memberof OrganizationCustomRoleUpdateRequestClusterPermissions
8600
+ */
8601
+ 'cluster_id'?: string;
8602
+ /**
8603
+ *
8604
+ * @type {OrganizationCustomRoleClusterPermission}
8605
+ * @memberof OrganizationCustomRoleUpdateRequestClusterPermissions
8606
+ */
8607
+ 'permission'?: OrganizationCustomRoleClusterPermission;
8608
+ }
8609
+ /**
8610
+ *
8611
+ * @export
8612
+ * @interface OrganizationCustomRoleUpdateRequestPermissions
8613
+ */
8614
+ export interface OrganizationCustomRoleUpdateRequestPermissions {
8615
+ /**
8616
+ *
8617
+ * @type {EnvironmentModeEnum}
8618
+ * @memberof OrganizationCustomRoleUpdateRequestPermissions
8619
+ */
8620
+ 'environment_type'?: EnvironmentModeEnum;
8621
+ /**
8622
+ *
8623
+ * @type {OrganizationCustomRoleProjectPermission}
8624
+ * @memberof OrganizationCustomRoleUpdateRequestPermissions
8625
+ */
8626
+ 'permission'?: OrganizationCustomRoleProjectPermission;
8627
+ }
8628
+ /**
8629
+ *
8630
+ * @export
8631
+ * @interface OrganizationCustomRoleUpdateRequestProjectPermissions
8632
+ */
8633
+ export interface OrganizationCustomRoleUpdateRequestProjectPermissions {
8634
+ /**
8635
+ *
8636
+ * @type {string}
8637
+ * @memberof OrganizationCustomRoleUpdateRequestProjectPermissions
8638
+ */
8639
+ 'project_id'?: string;
8640
+ /**
8641
+ * If `is_admin` is `true`, the user is: - automatically `MANAGER` for each environment type - allowed to manage project deployment rules - able to delete the project Note that `permissions` can then be ignored for this project
8642
+ * @type {boolean}
8643
+ * @memberof OrganizationCustomRoleUpdateRequestProjectPermissions
8644
+ */
8645
+ 'is_admin'?: boolean;
8646
+ /**
8647
+ * Mandatory if `is_admin` is `false` Should contain an entry for every environment type: - `DEVELOPMENT` - `PREVIEW` - `STAGING` - `PRODUCTION`
8648
+ * @type {Array<OrganizationCustomRoleUpdateRequestPermissions>}
8649
+ * @memberof OrganizationCustomRoleUpdateRequestProjectPermissions
8650
+ */
8651
+ 'permissions'?: Array<OrganizationCustomRoleUpdateRequestPermissions>;
8652
+ }
8261
8653
  /**
8262
8654
  *
8263
8655
  * @export
@@ -15097,48 +15489,6 @@ export const ApplicationsApiAxiosParamCreator = function (configuration?: Config
15097
15489
  options: localVarRequestOptions,
15098
15490
  };
15099
15491
  },
15100
- /**
15101
- * Deploy to the last commit the applications you specified.
15102
- * @summary Deploy applications
15103
- * @param {string} environmentId Environment ID
15104
- * @param {DeployAllRequest} [deployAllRequest]
15105
- * @param {*} [options] Override http request option.
15106
- * @throws {RequiredError}
15107
- */
15108
- deployAllApplications: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
15109
- // verify required parameter 'environmentId' is not null or undefined
15110
- assertParamExists('deployAllApplications', 'environmentId', environmentId)
15111
- const localVarPath = `/environment/{environmentId}/application/deploy`
15112
- .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
15113
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
15114
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15115
- let baseOptions;
15116
- if (configuration) {
15117
- baseOptions = configuration.baseOptions;
15118
- }
15119
-
15120
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
15121
- const localVarHeaderParameter = {} as any;
15122
- const localVarQueryParameter = {} as any;
15123
-
15124
- // authentication bearerAuth required
15125
- // http bearer authentication required
15126
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
15127
-
15128
-
15129
-
15130
- localVarHeaderParameter['Content-Type'] = 'application/json';
15131
-
15132
- setSearchParams(localVarUrlObj, localVarQueryParameter);
15133
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15134
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
15135
- localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
15136
-
15137
- return {
15138
- url: toPathString(localVarUrlObj),
15139
- options: localVarRequestOptions,
15140
- };
15141
- },
15142
15492
  /**
15143
15493
  *
15144
15494
  * @summary List default application advanced settings
@@ -15385,18 +15735,6 @@ export const ApplicationsApiFp = function(configuration?: Configuration) {
15385
15735
  const localVarAxiosArgs = await localVarAxiosParamCreator.createApplication(environmentId, applicationRequest, options);
15386
15736
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15387
15737
  },
15388
- /**
15389
- * Deploy to the last commit the applications you specified.
15390
- * @summary Deploy applications
15391
- * @param {string} environmentId Environment ID
15392
- * @param {DeployAllRequest} [deployAllRequest]
15393
- * @param {*} [options] Override http request option.
15394
- * @throws {RequiredError}
15395
- */
15396
- async deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
15397
- const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
15398
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15399
- },
15400
15738
  /**
15401
15739
  *
15402
15740
  * @summary List default application advanced settings
@@ -15483,17 +15821,6 @@ export const ApplicationsApiFactory = function (configuration?: Configuration, b
15483
15821
  createApplication(environmentId: string, applicationRequest?: ApplicationRequest, options?: any): AxiosPromise<Application> {
15484
15822
  return localVarFp.createApplication(environmentId, applicationRequest, options).then((request) => request(axios, basePath));
15485
15823
  },
15486
- /**
15487
- * Deploy to the last commit the applications you specified.
15488
- * @summary Deploy applications
15489
- * @param {string} environmentId Environment ID
15490
- * @param {DeployAllRequest} [deployAllRequest]
15491
- * @param {*} [options] Override http request option.
15492
- * @throws {RequiredError}
15493
- */
15494
- deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
15495
- return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
15496
- },
15497
15824
  /**
15498
15825
  *
15499
15826
  * @summary List default application advanced settings
@@ -15576,19 +15903,6 @@ export class ApplicationsApi extends BaseAPI {
15576
15903
  return ApplicationsApiFp(this.configuration).createApplication(environmentId, applicationRequest, options).then((request) => request(this.axios, this.basePath));
15577
15904
  }
15578
15905
 
15579
- /**
15580
- * Deploy to the last commit the applications you specified.
15581
- * @summary Deploy applications
15582
- * @param {string} environmentId Environment ID
15583
- * @param {DeployAllRequest} [deployAllRequest]
15584
- * @param {*} [options] Override http request option.
15585
- * @throws {RequiredError}
15586
- * @memberof ApplicationsApi
15587
- */
15588
- public deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
15589
- return ApplicationsApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
15590
- }
15591
-
15592
15906
  /**
15593
15907
  *
15594
15908
  * @summary List default application advanced settings
@@ -27785,6 +28099,122 @@ export class DependencyApi extends BaseAPI {
27785
28099
  }
27786
28100
 
27787
28101
 
28102
+ /**
28103
+ * EnvironmentApi - axios parameter creator
28104
+ * @export
28105
+ */
28106
+ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configuration) {
28107
+ return {
28108
+ /**
28109
+ * Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
28110
+ * @summary Deploy applications
28111
+ * @param {string} environmentId Environment ID
28112
+ * @param {DeployAllRequest} [deployAllRequest]
28113
+ * @param {*} [options] Override http request option.
28114
+ * @throws {RequiredError}
28115
+ */
28116
+ deployAllApplications: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28117
+ // verify required parameter 'environmentId' is not null or undefined
28118
+ assertParamExists('deployAllApplications', 'environmentId', environmentId)
28119
+ const localVarPath = `/environment/{environmentId}/application/deploy`
28120
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
28121
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28122
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28123
+ let baseOptions;
28124
+ if (configuration) {
28125
+ baseOptions = configuration.baseOptions;
28126
+ }
28127
+
28128
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28129
+ const localVarHeaderParameter = {} as any;
28130
+ const localVarQueryParameter = {} as any;
28131
+
28132
+ // authentication bearerAuth required
28133
+ // http bearer authentication required
28134
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28135
+
28136
+
28137
+
28138
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28139
+
28140
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28141
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28142
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28143
+ localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
28144
+
28145
+ return {
28146
+ url: toPathString(localVarUrlObj),
28147
+ options: localVarRequestOptions,
28148
+ };
28149
+ },
28150
+ }
28151
+ };
28152
+
28153
+ /**
28154
+ * EnvironmentApi - functional programming interface
28155
+ * @export
28156
+ */
28157
+ export const EnvironmentApiFp = function(configuration?: Configuration) {
28158
+ const localVarAxiosParamCreator = EnvironmentApiAxiosParamCreator(configuration)
28159
+ return {
28160
+ /**
28161
+ * Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
28162
+ * @summary Deploy applications
28163
+ * @param {string} environmentId Environment ID
28164
+ * @param {DeployAllRequest} [deployAllRequest]
28165
+ * @param {*} [options] Override http request option.
28166
+ * @throws {RequiredError}
28167
+ */
28168
+ async deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
28169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
28170
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28171
+ },
28172
+ }
28173
+ };
28174
+
28175
+ /**
28176
+ * EnvironmentApi - factory interface
28177
+ * @export
28178
+ */
28179
+ export const EnvironmentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
28180
+ const localVarFp = EnvironmentApiFp(configuration)
28181
+ return {
28182
+ /**
28183
+ * Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
28184
+ * @summary Deploy applications
28185
+ * @param {string} environmentId Environment ID
28186
+ * @param {DeployAllRequest} [deployAllRequest]
28187
+ * @param {*} [options] Override http request option.
28188
+ * @throws {RequiredError}
28189
+ */
28190
+ deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
28191
+ return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
28192
+ },
28193
+ };
28194
+ };
28195
+
28196
+ /**
28197
+ * EnvironmentApi - object-oriented interface
28198
+ * @export
28199
+ * @class EnvironmentApi
28200
+ * @extends {BaseAPI}
28201
+ */
28202
+ export class EnvironmentApi extends BaseAPI {
28203
+ /**
28204
+ * Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
28205
+ * @summary Deploy applications
28206
+ * @param {string} environmentId Environment ID
28207
+ * @param {DeployAllRequest} [deployAllRequest]
28208
+ * @param {*} [options] Override http request option.
28209
+ * @throws {RequiredError}
28210
+ * @memberof EnvironmentApi
28211
+ */
28212
+ public deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
28213
+ return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
28214
+ }
28215
+ }
28216
+
28217
+
27788
28218
  /**
27789
28219
  * EnvironmentActionsApi - axios parameter creator
27790
28220
  * @export
@@ -31831,6 +32261,48 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
31831
32261
  options: localVarRequestOptions,
31832
32262
  };
31833
32263
  },
32264
+ /**
32265
+ * Edit an organization member role
32266
+ * @summary Edit an organization member role
32267
+ * @param {string} organizationId Organization ID
32268
+ * @param {MemberRoleUpdateRequest} [memberRoleUpdateRequest]
32269
+ * @param {*} [options] Override http request option.
32270
+ * @throws {RequiredError}
32271
+ */
32272
+ editOrganizationMemberRole: async (organizationId: string, memberRoleUpdateRequest?: MemberRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
32273
+ // verify required parameter 'organizationId' is not null or undefined
32274
+ assertParamExists('editOrganizationMemberRole', 'organizationId', organizationId)
32275
+ const localVarPath = `/organization/{organizationId}/member`
32276
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
32277
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32278
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32279
+ let baseOptions;
32280
+ if (configuration) {
32281
+ baseOptions = configuration.baseOptions;
32282
+ }
32283
+
32284
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
32285
+ const localVarHeaderParameter = {} as any;
32286
+ const localVarQueryParameter = {} as any;
32287
+
32288
+ // authentication bearerAuth required
32289
+ // http bearer authentication required
32290
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32291
+
32292
+
32293
+
32294
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32295
+
32296
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32297
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32298
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32299
+ localVarRequestOptions.data = serializeDataIfNeeded(memberRoleUpdateRequest, localVarRequestOptions, configuration)
32300
+
32301
+ return {
32302
+ url: toPathString(localVarUrlObj),
32303
+ options: localVarRequestOptions,
32304
+ };
32305
+ },
31834
32306
  /**
31835
32307
  *
31836
32308
  * @summary Get invited members
@@ -32066,6 +32538,18 @@ export const MembersApiFp = function(configuration?: Configuration) {
32066
32538
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMember(organizationId, userId, options);
32067
32539
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32068
32540
  },
32541
+ /**
32542
+ * Edit an organization member role
32543
+ * @summary Edit an organization member role
32544
+ * @param {string} organizationId Organization ID
32545
+ * @param {MemberRoleUpdateRequest} [memberRoleUpdateRequest]
32546
+ * @param {*} [options] Override http request option.
32547
+ * @throws {RequiredError}
32548
+ */
32549
+ async editOrganizationMemberRole(organizationId: string, memberRoleUpdateRequest?: MemberRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
32550
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationMemberRole(organizationId, memberRoleUpdateRequest, options);
32551
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
32552
+ },
32069
32553
  /**
32070
32554
  *
32071
32555
  * @summary Get invited members
@@ -32155,6 +32639,17 @@ export const MembersApiFactory = function (configuration?: Configuration, basePa
32155
32639
  deleteMember(organizationId: string, userId: string, options?: any): AxiosPromise<void> {
32156
32640
  return localVarFp.deleteMember(organizationId, userId, options).then((request) => request(axios, basePath));
32157
32641
  },
32642
+ /**
32643
+ * Edit an organization member role
32644
+ * @summary Edit an organization member role
32645
+ * @param {string} organizationId Organization ID
32646
+ * @param {MemberRoleUpdateRequest} [memberRoleUpdateRequest]
32647
+ * @param {*} [options] Override http request option.
32648
+ * @throws {RequiredError}
32649
+ */
32650
+ editOrganizationMemberRole(organizationId: string, memberRoleUpdateRequest?: MemberRoleUpdateRequest, options?: any): AxiosPromise<void> {
32651
+ return localVarFp.editOrganizationMemberRole(organizationId, memberRoleUpdateRequest, options).then((request) => request(axios, basePath));
32652
+ },
32158
32653
  /**
32159
32654
  *
32160
32655
  * @summary Get invited members
@@ -32243,6 +32738,19 @@ export class MembersApi extends BaseAPI {
32243
32738
  return MembersApiFp(this.configuration).deleteMember(organizationId, userId, options).then((request) => request(this.axios, this.basePath));
32244
32739
  }
32245
32740
 
32741
+ /**
32742
+ * Edit an organization member role
32743
+ * @summary Edit an organization member role
32744
+ * @param {string} organizationId Organization ID
32745
+ * @param {MemberRoleUpdateRequest} [memberRoleUpdateRequest]
32746
+ * @param {*} [options] Override http request option.
32747
+ * @throws {RequiredError}
32748
+ * @memberof MembersApi
32749
+ */
32750
+ public editOrganizationMemberRole(organizationId: string, memberRoleUpdateRequest?: MemberRoleUpdateRequest, options?: AxiosRequestConfig) {
32751
+ return MembersApiFp(this.configuration).editOrganizationMemberRole(organizationId, memberRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
32752
+ }
32753
+
32246
32754
  /**
32247
32755
  *
32248
32756
  * @summary Get invited members
@@ -33133,20 +33641,24 @@ export class OrganizationApiTokenApi extends BaseAPI {
33133
33641
 
33134
33642
 
33135
33643
  /**
33136
- * OrganizationMainCallsApi - axios parameter creator
33644
+ * OrganizationCustomRoleApi - axios parameter creator
33137
33645
  * @export
33138
33646
  */
33139
- export const OrganizationMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
33647
+ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuration?: Configuration) {
33140
33648
  return {
33141
33649
  /**
33142
- *
33143
- * @summary Create an organization
33144
- * @param {OrganizationRequest} [organizationRequest]
33650
+ * Create an organization custom role
33651
+ * @summary Create an organization custom role
33652
+ * @param {string} organizationId Organization ID
33653
+ * @param {OrganizationCustomRoleCreateRequest} [organizationCustomRoleCreateRequest]
33145
33654
  * @param {*} [options] Override http request option.
33146
33655
  * @throws {RequiredError}
33147
33656
  */
33148
- createOrganization: async (organizationRequest?: OrganizationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33149
- const localVarPath = `/organization`;
33657
+ createOrganizationCustomRole: async (organizationId: string, organizationCustomRoleCreateRequest?: OrganizationCustomRoleCreateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33658
+ // verify required parameter 'organizationId' is not null or undefined
33659
+ assertParamExists('createOrganizationCustomRole', 'organizationId', organizationId)
33660
+ const localVarPath = `/organization/{organizationId}/customRole`
33661
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33150
33662
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33151
33663
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33152
33664
  let baseOptions;
@@ -33169,7 +33681,7 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
33169
33681
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33170
33682
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33171
33683
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33172
- localVarRequestOptions.data = serializeDataIfNeeded(organizationRequest, localVarRequestOptions, configuration)
33684
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationCustomRoleCreateRequest, localVarRequestOptions, configuration)
33173
33685
 
33174
33686
  return {
33175
33687
  url: toPathString(localVarUrlObj),
@@ -33177,16 +33689,16 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
33177
33689
  };
33178
33690
  },
33179
33691
  /**
33180
- * To delete an organization you must have the admin permission
33181
- * @summary Delete an organization
33692
+ * Delete organization custom role
33693
+ * @summary Delete organization custom role
33182
33694
  * @param {string} organizationId Organization ID
33183
33695
  * @param {*} [options] Override http request option.
33184
33696
  * @throws {RequiredError}
33185
33697
  */
33186
- deleteOrganization: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33698
+ deleteOrganizationCustomRole: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33187
33699
  // verify required parameter 'organizationId' is not null or undefined
33188
- assertParamExists('deleteOrganization', 'organizationId', organizationId)
33189
- const localVarPath = `/organization/{organizationId}`
33700
+ assertParamExists('deleteOrganizationCustomRole', 'organizationId', organizationId)
33701
+ const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
33190
33702
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33191
33703
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33192
33704
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33215,17 +33727,17 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
33215
33727
  };
33216
33728
  },
33217
33729
  /**
33218
- * To edit an organization you must have the admin permission
33219
- * @summary Edit an organization
33730
+ * Edit an organization custom role
33731
+ * @summary Edit an organization custom role
33220
33732
  * @param {string} organizationId Organization ID
33221
- * @param {OrganizationEditRequest} [organizationEditRequest]
33733
+ * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
33222
33734
  * @param {*} [options] Override http request option.
33223
33735
  * @throws {RequiredError}
33224
33736
  */
33225
- editOrganization: async (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33737
+ editOrganizationCustomRole: async (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33226
33738
  // verify required parameter 'organizationId' is not null or undefined
33227
- assertParamExists('editOrganization', 'organizationId', organizationId)
33228
- const localVarPath = `/organization/{organizationId}`
33739
+ assertParamExists('editOrganizationCustomRole', 'organizationId', organizationId)
33740
+ const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
33229
33741
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33230
33742
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33231
33743
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -33249,7 +33761,7 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
33249
33761
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33250
33762
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33251
33763
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33252
- localVarRequestOptions.data = serializeDataIfNeeded(organizationEditRequest, localVarRequestOptions, configuration)
33764
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationCustomRoleUpdateRequest, localVarRequestOptions, configuration)
33253
33765
 
33254
33766
  return {
33255
33767
  url: toPathString(localVarUrlObj),
@@ -33257,17 +33769,427 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
33257
33769
  };
33258
33770
  },
33259
33771
  /**
33260
- *
33261
- * @summary Get organization by ID
33772
+ * Get an organization custom role
33773
+ * @summary Get an organization custom role
33262
33774
  * @param {string} organizationId Organization ID
33775
+ * @param {string} customRoleId Custom Role ID
33263
33776
  * @param {*} [options] Override http request option.
33264
33777
  * @throws {RequiredError}
33265
33778
  */
33266
- getOrganization: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33779
+ getOrganizationCustomRole: async (organizationId: string, customRoleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33267
33780
  // verify required parameter 'organizationId' is not null or undefined
33268
- assertParamExists('getOrganization', 'organizationId', organizationId)
33269
- const localVarPath = `/organization/{organizationId}`
33270
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33781
+ assertParamExists('getOrganizationCustomRole', 'organizationId', organizationId)
33782
+ // verify required parameter 'customRoleId' is not null or undefined
33783
+ assertParamExists('getOrganizationCustomRole', 'customRoleId', customRoleId)
33784
+ const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
33785
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
33786
+ .replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
33787
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33788
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33789
+ let baseOptions;
33790
+ if (configuration) {
33791
+ baseOptions = configuration.baseOptions;
33792
+ }
33793
+
33794
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33795
+ const localVarHeaderParameter = {} as any;
33796
+ const localVarQueryParameter = {} as any;
33797
+
33798
+ // authentication bearerAuth required
33799
+ // http bearer authentication required
33800
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33801
+
33802
+
33803
+
33804
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33805
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33806
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33807
+
33808
+ return {
33809
+ url: toPathString(localVarUrlObj),
33810
+ options: localVarRequestOptions,
33811
+ };
33812
+ },
33813
+ /**
33814
+ * List organization custom roles
33815
+ * @summary List organization custom roles
33816
+ * @param {string} organizationId Organization ID
33817
+ * @param {*} [options] Override http request option.
33818
+ * @throws {RequiredError}
33819
+ */
33820
+ listOrganizationCustomRoles: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33821
+ // verify required parameter 'organizationId' is not null or undefined
33822
+ assertParamExists('listOrganizationCustomRoles', 'organizationId', organizationId)
33823
+ const localVarPath = `/organization/{organizationId}/customRole`
33824
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33825
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33826
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33827
+ let baseOptions;
33828
+ if (configuration) {
33829
+ baseOptions = configuration.baseOptions;
33830
+ }
33831
+
33832
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33833
+ const localVarHeaderParameter = {} as any;
33834
+ const localVarQueryParameter = {} as any;
33835
+
33836
+ // authentication bearerAuth required
33837
+ // http bearer authentication required
33838
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33839
+
33840
+
33841
+
33842
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33843
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33844
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33845
+
33846
+ return {
33847
+ url: toPathString(localVarUrlObj),
33848
+ options: localVarRequestOptions,
33849
+ };
33850
+ },
33851
+ }
33852
+ };
33853
+
33854
+ /**
33855
+ * OrganizationCustomRoleApi - functional programming interface
33856
+ * @export
33857
+ */
33858
+ export const OrganizationCustomRoleApiFp = function(configuration?: Configuration) {
33859
+ const localVarAxiosParamCreator = OrganizationCustomRoleApiAxiosParamCreator(configuration)
33860
+ return {
33861
+ /**
33862
+ * Create an organization custom role
33863
+ * @summary Create an organization custom role
33864
+ * @param {string} organizationId Organization ID
33865
+ * @param {OrganizationCustomRoleCreateRequest} [organizationCustomRoleCreateRequest]
33866
+ * @param {*} [options] Override http request option.
33867
+ * @throws {RequiredError}
33868
+ */
33869
+ async createOrganizationCustomRole(organizationId: string, organizationCustomRoleCreateRequest?: OrganizationCustomRoleCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
33870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationCustomRole(organizationId, organizationCustomRoleCreateRequest, options);
33871
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33872
+ },
33873
+ /**
33874
+ * Delete organization custom role
33875
+ * @summary Delete organization custom role
33876
+ * @param {string} organizationId Organization ID
33877
+ * @param {*} [options] Override http request option.
33878
+ * @throws {RequiredError}
33879
+ */
33880
+ async deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
33881
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, options);
33882
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33883
+ },
33884
+ /**
33885
+ * Edit an organization custom role
33886
+ * @summary Edit an organization custom role
33887
+ * @param {string} organizationId Organization ID
33888
+ * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
33889
+ * @param {*} [options] Override http request option.
33890
+ * @throws {RequiredError}
33891
+ */
33892
+ async editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
33893
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options);
33894
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33895
+ },
33896
+ /**
33897
+ * Get an organization custom role
33898
+ * @summary Get an organization custom role
33899
+ * @param {string} organizationId Organization ID
33900
+ * @param {string} customRoleId Custom Role ID
33901
+ * @param {*} [options] Override http request option.
33902
+ * @throws {RequiredError}
33903
+ */
33904
+ async getOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
33905
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationCustomRole(organizationId, customRoleId, options);
33906
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33907
+ },
33908
+ /**
33909
+ * List organization custom roles
33910
+ * @summary List organization custom roles
33911
+ * @param {string} organizationId Organization ID
33912
+ * @param {*} [options] Override http request option.
33913
+ * @throws {RequiredError}
33914
+ */
33915
+ async listOrganizationCustomRoles(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRoleList>> {
33916
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationCustomRoles(organizationId, options);
33917
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33918
+ },
33919
+ }
33920
+ };
33921
+
33922
+ /**
33923
+ * OrganizationCustomRoleApi - factory interface
33924
+ * @export
33925
+ */
33926
+ export const OrganizationCustomRoleApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
33927
+ const localVarFp = OrganizationCustomRoleApiFp(configuration)
33928
+ return {
33929
+ /**
33930
+ * Create an organization custom role
33931
+ * @summary Create an organization custom role
33932
+ * @param {string} organizationId Organization ID
33933
+ * @param {OrganizationCustomRoleCreateRequest} [organizationCustomRoleCreateRequest]
33934
+ * @param {*} [options] Override http request option.
33935
+ * @throws {RequiredError}
33936
+ */
33937
+ createOrganizationCustomRole(organizationId: string, organizationCustomRoleCreateRequest?: OrganizationCustomRoleCreateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
33938
+ return localVarFp.createOrganizationCustomRole(organizationId, organizationCustomRoleCreateRequest, options).then((request) => request(axios, basePath));
33939
+ },
33940
+ /**
33941
+ * Delete organization custom role
33942
+ * @summary Delete organization custom role
33943
+ * @param {string} organizationId Organization ID
33944
+ * @param {*} [options] Override http request option.
33945
+ * @throws {RequiredError}
33946
+ */
33947
+ deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void> {
33948
+ return localVarFp.deleteOrganizationCustomRole(organizationId, options).then((request) => request(axios, basePath));
33949
+ },
33950
+ /**
33951
+ * Edit an organization custom role
33952
+ * @summary Edit an organization custom role
33953
+ * @param {string} organizationId Organization ID
33954
+ * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
33955
+ * @param {*} [options] Override http request option.
33956
+ * @throws {RequiredError}
33957
+ */
33958
+ editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
33959
+ return localVarFp.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
33960
+ },
33961
+ /**
33962
+ * Get an organization custom role
33963
+ * @summary Get an organization custom role
33964
+ * @param {string} organizationId Organization ID
33965
+ * @param {string} customRoleId Custom Role ID
33966
+ * @param {*} [options] Override http request option.
33967
+ * @throws {RequiredError}
33968
+ */
33969
+ getOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<OrganizationCustomRole> {
33970
+ return localVarFp.getOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(axios, basePath));
33971
+ },
33972
+ /**
33973
+ * List organization custom roles
33974
+ * @summary List organization custom roles
33975
+ * @param {string} organizationId Organization ID
33976
+ * @param {*} [options] Override http request option.
33977
+ * @throws {RequiredError}
33978
+ */
33979
+ listOrganizationCustomRoles(organizationId: string, options?: any): AxiosPromise<OrganizationCustomRoleList> {
33980
+ return localVarFp.listOrganizationCustomRoles(organizationId, options).then((request) => request(axios, basePath));
33981
+ },
33982
+ };
33983
+ };
33984
+
33985
+ /**
33986
+ * OrganizationCustomRoleApi - object-oriented interface
33987
+ * @export
33988
+ * @class OrganizationCustomRoleApi
33989
+ * @extends {BaseAPI}
33990
+ */
33991
+ export class OrganizationCustomRoleApi extends BaseAPI {
33992
+ /**
33993
+ * Create an organization custom role
33994
+ * @summary Create an organization custom role
33995
+ * @param {string} organizationId Organization ID
33996
+ * @param {OrganizationCustomRoleCreateRequest} [organizationCustomRoleCreateRequest]
33997
+ * @param {*} [options] Override http request option.
33998
+ * @throws {RequiredError}
33999
+ * @memberof OrganizationCustomRoleApi
34000
+ */
34001
+ public createOrganizationCustomRole(organizationId: string, organizationCustomRoleCreateRequest?: OrganizationCustomRoleCreateRequest, options?: AxiosRequestConfig) {
34002
+ return OrganizationCustomRoleApiFp(this.configuration).createOrganizationCustomRole(organizationId, organizationCustomRoleCreateRequest, options).then((request) => request(this.axios, this.basePath));
34003
+ }
34004
+
34005
+ /**
34006
+ * Delete organization custom role
34007
+ * @summary Delete organization custom role
34008
+ * @param {string} organizationId Organization ID
34009
+ * @param {*} [options] Override http request option.
34010
+ * @throws {RequiredError}
34011
+ * @memberof OrganizationCustomRoleApi
34012
+ */
34013
+ public deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig) {
34014
+ return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, options).then((request) => request(this.axios, this.basePath));
34015
+ }
34016
+
34017
+ /**
34018
+ * Edit an organization custom role
34019
+ * @summary Edit an organization custom role
34020
+ * @param {string} organizationId Organization ID
34021
+ * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
34022
+ * @param {*} [options] Override http request option.
34023
+ * @throws {RequiredError}
34024
+ * @memberof OrganizationCustomRoleApi
34025
+ */
34026
+ public editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) {
34027
+ return OrganizationCustomRoleApiFp(this.configuration).editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
34028
+ }
34029
+
34030
+ /**
34031
+ * Get an organization custom role
34032
+ * @summary Get an organization custom role
34033
+ * @param {string} organizationId Organization ID
34034
+ * @param {string} customRoleId Custom Role ID
34035
+ * @param {*} [options] Override http request option.
34036
+ * @throws {RequiredError}
34037
+ * @memberof OrganizationCustomRoleApi
34038
+ */
34039
+ public getOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig) {
34040
+ return OrganizationCustomRoleApiFp(this.configuration).getOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(this.axios, this.basePath));
34041
+ }
34042
+
34043
+ /**
34044
+ * List organization custom roles
34045
+ * @summary List organization custom roles
34046
+ * @param {string} organizationId Organization ID
34047
+ * @param {*} [options] Override http request option.
34048
+ * @throws {RequiredError}
34049
+ * @memberof OrganizationCustomRoleApi
34050
+ */
34051
+ public listOrganizationCustomRoles(organizationId: string, options?: AxiosRequestConfig) {
34052
+ return OrganizationCustomRoleApiFp(this.configuration).listOrganizationCustomRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
34053
+ }
34054
+ }
34055
+
34056
+
34057
+ /**
34058
+ * OrganizationMainCallsApi - axios parameter creator
34059
+ * @export
34060
+ */
34061
+ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
34062
+ return {
34063
+ /**
34064
+ *
34065
+ * @summary Create an organization
34066
+ * @param {OrganizationRequest} [organizationRequest]
34067
+ * @param {*} [options] Override http request option.
34068
+ * @throws {RequiredError}
34069
+ */
34070
+ createOrganization: async (organizationRequest?: OrganizationRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34071
+ const localVarPath = `/organization`;
34072
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34073
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34074
+ let baseOptions;
34075
+ if (configuration) {
34076
+ baseOptions = configuration.baseOptions;
34077
+ }
34078
+
34079
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
34080
+ const localVarHeaderParameter = {} as any;
34081
+ const localVarQueryParameter = {} as any;
34082
+
34083
+ // authentication bearerAuth required
34084
+ // http bearer authentication required
34085
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34086
+
34087
+
34088
+
34089
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34090
+
34091
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34092
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34093
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34094
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationRequest, localVarRequestOptions, configuration)
34095
+
34096
+ return {
34097
+ url: toPathString(localVarUrlObj),
34098
+ options: localVarRequestOptions,
34099
+ };
34100
+ },
34101
+ /**
34102
+ * To delete an organization you must have the admin permission
34103
+ * @summary Delete an organization
34104
+ * @param {string} organizationId Organization ID
34105
+ * @param {*} [options] Override http request option.
34106
+ * @throws {RequiredError}
34107
+ */
34108
+ deleteOrganization: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34109
+ // verify required parameter 'organizationId' is not null or undefined
34110
+ assertParamExists('deleteOrganization', 'organizationId', organizationId)
34111
+ const localVarPath = `/organization/{organizationId}`
34112
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
34113
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34114
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34115
+ let baseOptions;
34116
+ if (configuration) {
34117
+ baseOptions = configuration.baseOptions;
34118
+ }
34119
+
34120
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
34121
+ const localVarHeaderParameter = {} as any;
34122
+ const localVarQueryParameter = {} as any;
34123
+
34124
+ // authentication bearerAuth required
34125
+ // http bearer authentication required
34126
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34127
+
34128
+
34129
+
34130
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34131
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34132
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34133
+
34134
+ return {
34135
+ url: toPathString(localVarUrlObj),
34136
+ options: localVarRequestOptions,
34137
+ };
34138
+ },
34139
+ /**
34140
+ * To edit an organization you must have the admin permission
34141
+ * @summary Edit an organization
34142
+ * @param {string} organizationId Organization ID
34143
+ * @param {OrganizationEditRequest} [organizationEditRequest]
34144
+ * @param {*} [options] Override http request option.
34145
+ * @throws {RequiredError}
34146
+ */
34147
+ editOrganization: async (organizationId: string, organizationEditRequest?: OrganizationEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34148
+ // verify required parameter 'organizationId' is not null or undefined
34149
+ assertParamExists('editOrganization', 'organizationId', organizationId)
34150
+ const localVarPath = `/organization/{organizationId}`
34151
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
34152
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34153
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34154
+ let baseOptions;
34155
+ if (configuration) {
34156
+ baseOptions = configuration.baseOptions;
34157
+ }
34158
+
34159
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
34160
+ const localVarHeaderParameter = {} as any;
34161
+ const localVarQueryParameter = {} as any;
34162
+
34163
+ // authentication bearerAuth required
34164
+ // http bearer authentication required
34165
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34166
+
34167
+
34168
+
34169
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34170
+
34171
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34172
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34173
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34174
+ localVarRequestOptions.data = serializeDataIfNeeded(organizationEditRequest, localVarRequestOptions, configuration)
34175
+
34176
+ return {
34177
+ url: toPathString(localVarUrlObj),
34178
+ options: localVarRequestOptions,
34179
+ };
34180
+ },
34181
+ /**
34182
+ *
34183
+ * @summary Get organization by ID
34184
+ * @param {string} organizationId Organization ID
34185
+ * @param {*} [options] Override http request option.
34186
+ * @throws {RequiredError}
34187
+ */
34188
+ getOrganization: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34189
+ // verify required parameter 'organizationId' is not null or undefined
34190
+ assertParamExists('getOrganization', 'organizationId', organizationId)
34191
+ const localVarPath = `/organization/{organizationId}`
34192
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33271
34193
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33272
34194
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33273
34195
  let baseOptions;
@@ -33319,6 +34241,44 @@ export const OrganizationMainCallsApiAxiosParamCreator = function (configuration
33319
34241
 
33320
34242
 
33321
34243
 
34244
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34245
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34246
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34247
+
34248
+ return {
34249
+ url: toPathString(localVarUrlObj),
34250
+ options: localVarRequestOptions,
34251
+ };
34252
+ },
34253
+ /**
34254
+ * List organization available roles
34255
+ * @summary List organization available roles
34256
+ * @param {string} organizationId Organization ID
34257
+ * @param {*} [options] Override http request option.
34258
+ * @throws {RequiredError}
34259
+ */
34260
+ listOrganizationAvailableRoles: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
34261
+ // verify required parameter 'organizationId' is not null or undefined
34262
+ assertParamExists('listOrganizationAvailableRoles', 'organizationId', organizationId)
34263
+ const localVarPath = `/organization/{organizationId}/availableRole`
34264
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
34265
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34266
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34267
+ let baseOptions;
34268
+ if (configuration) {
34269
+ baseOptions = configuration.baseOptions;
34270
+ }
34271
+
34272
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34273
+ const localVarHeaderParameter = {} as any;
34274
+ const localVarQueryParameter = {} as any;
34275
+
34276
+ // authentication bearerAuth required
34277
+ // http bearer authentication required
34278
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
34279
+
34280
+
34281
+
33322
34282
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33323
34283
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33324
34284
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33393,6 +34353,17 @@ export const OrganizationMainCallsApiFp = function(configuration?: Configuration
33393
34353
  const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganization(options);
33394
34354
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33395
34355
  },
34356
+ /**
34357
+ * List organization available roles
34358
+ * @summary List organization available roles
34359
+ * @param {string} organizationId Organization ID
34360
+ * @param {*} [options] Override http request option.
34361
+ * @throws {RequiredError}
34362
+ */
34363
+ async listOrganizationAvailableRoles(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAvailableRoleList>> {
34364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationAvailableRoles(organizationId, options);
34365
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
34366
+ },
33396
34367
  }
33397
34368
  };
33398
34369
 
@@ -33453,6 +34424,16 @@ export const OrganizationMainCallsApiFactory = function (configuration?: Configu
33453
34424
  listOrganization(options?: any): AxiosPromise<OrganizationResponseList> {
33454
34425
  return localVarFp.listOrganization(options).then((request) => request(axios, basePath));
33455
34426
  },
34427
+ /**
34428
+ * List organization available roles
34429
+ * @summary List organization available roles
34430
+ * @param {string} organizationId Organization ID
34431
+ * @param {*} [options] Override http request option.
34432
+ * @throws {RequiredError}
34433
+ */
34434
+ listOrganizationAvailableRoles(organizationId: string, options?: any): AxiosPromise<OrganizationAvailableRoleList> {
34435
+ return localVarFp.listOrganizationAvailableRoles(organizationId, options).then((request) => request(axios, basePath));
34436
+ },
33456
34437
  };
33457
34438
  };
33458
34439
 
@@ -33522,6 +34503,18 @@ export class OrganizationMainCallsApi extends BaseAPI {
33522
34503
  public listOrganization(options?: AxiosRequestConfig) {
33523
34504
  return OrganizationMainCallsApiFp(this.configuration).listOrganization(options).then((request) => request(this.axios, this.basePath));
33524
34505
  }
34506
+
34507
+ /**
34508
+ * List organization available roles
34509
+ * @summary List organization available roles
34510
+ * @param {string} organizationId Organization ID
34511
+ * @param {*} [options] Override http request option.
34512
+ * @throws {RequiredError}
34513
+ * @memberof OrganizationMainCallsApi
34514
+ */
34515
+ public listOrganizationAvailableRoles(organizationId: string, options?: AxiosRequestConfig) {
34516
+ return OrganizationMainCallsApiFp(this.configuration).listOrganizationAvailableRoles(organizationId, options).then((request) => request(this.axios, this.basePath));
34517
+ }
33525
34518
  }
33526
34519
 
33527
34520