qovery-typescript-axios 1.1.20 → 1.1.22

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 +113 -64
  2. package/dist/api.d.ts +99 -54
  3. package/dist/api.js +37 -35
  4. package/package.json +1 -1
package/api.ts CHANGED
@@ -218,7 +218,7 @@ export interface Application {
218
218
  */
219
219
  'healthcheck'?: Healthcheck;
220
220
  /**
221
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
221
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
222
222
  * @type {boolean}
223
223
  * @memberof Application
224
224
  */
@@ -535,7 +535,7 @@ export interface ApplicationAllOf {
535
535
  */
536
536
  'healthcheck'?: Healthcheck;
537
537
  /**
538
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
538
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
539
539
  * @type {boolean}
540
540
  * @memberof ApplicationAllOf
541
541
  */
@@ -762,7 +762,7 @@ export interface ApplicationEditRequest {
762
762
  */
763
763
  'healthcheck'?: Healthcheck;
764
764
  /**
765
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
765
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
766
766
  * @type {boolean}
767
767
  * @memberof ApplicationEditRequest
768
768
  */
@@ -853,7 +853,7 @@ export interface ApplicationEditRequestAllOf {
853
853
  */
854
854
  'healthcheck'?: Healthcheck;
855
855
  /**
856
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
856
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
857
857
  * @type {boolean}
858
858
  * @memberof ApplicationEditRequestAllOf
859
859
  */
@@ -1080,7 +1080,7 @@ export interface ApplicationRequest {
1080
1080
  */
1081
1081
  'healthcheck'?: Healthcheck;
1082
1082
  /**
1083
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
1083
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
1084
1084
  * @type {boolean}
1085
1085
  * @memberof ApplicationRequest
1086
1086
  */
@@ -1159,7 +1159,7 @@ export interface ApplicationRequestAllOf {
1159
1159
  */
1160
1160
  'healthcheck'?: Healthcheck;
1161
1161
  /**
1162
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
1162
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
1163
1163
  * @type {boolean}
1164
1164
  * @memberof ApplicationRequestAllOf
1165
1165
  */
@@ -1196,6 +1196,12 @@ export interface AvailableContainerRegistryResponse {
1196
1196
  * @memberof AvailableContainerRegistryResponse
1197
1197
  */
1198
1198
  'required_config'?: { [key: string]: object; };
1199
+ /**
1200
+ *
1201
+ * @type {boolean}
1202
+ * @memberof AvailableContainerRegistryResponse
1203
+ */
1204
+ 'is_mandatory'?: boolean;
1199
1205
  }
1200
1206
  /**
1201
1207
  *
@@ -3263,11 +3269,11 @@ export interface ContainerRegistryRequest {
3263
3269
  */
3264
3270
  'description'?: string;
3265
3271
  /**
3266
- * URL of the container registry: * For `DOCKER_HUB`: should be `https://docker.io` * For others: must start by `https://`
3272
+ * URL of the container registry: * For `DOCKER_HUB`: it must be `https://docker.io` (default with \'https://docker.io\' if no url provided for DOCKER_HUB) * For others: it\'s required and must start by `https://`
3267
3273
  * @type {string}
3268
3274
  * @memberof ContainerRegistryRequest
3269
3275
  */
3270
- 'url': string;
3276
+ 'url'?: string;
3271
3277
  /**
3272
3278
  *
3273
3279
  * @type {ContainerRegistryRequestConfig}
@@ -3276,7 +3282,7 @@ export interface ContainerRegistryRequest {
3276
3282
  'config': ContainerRegistryRequestConfig;
3277
3283
  }
3278
3284
  /**
3279
- * This field is dependent of the container registry kind: * `ECR` needs in the config: region, access_key_id, secret_access_key * `SCALEWAY_CR` needs in the config: region, scaleway_access_key, scaleway_secret_key * `DOCKER_HUB` needs in the config: username, password * `PUBLIC_ECR` needs in the config: access_key_id, secret_access_key * `DOCR` is not supported anymore
3285
+ * This field is dependent of the container registry kind: * `ECR` needs in the config: region, access_key_id, secret_access_key * `SCALEWAY_CR` needs in the config: region, scaleway_access_key, scaleway_secret_key * `DOCKER_HUB` needs in the config (optional): username, password * `PUBLIC_ECR` doesn\'t need credentials info * `DOCR` is not supported anymore
3280
3286
  * @export
3281
3287
  * @interface ContainerRegistryRequestConfig
3282
3288
  */
@@ -3312,13 +3318,13 @@ export interface ContainerRegistryRequestConfig {
3312
3318
  */
3313
3319
  'scaleway_secret_key'?: string;
3314
3320
  /**
3315
- * Required if kind is `DOCKER_HUB`
3321
+ * optional, for kind `DOCKER_HUB` We encourage you to set credentials for Docker Hub due to the limits on the pull rate
3316
3322
  * @type {string}
3317
3323
  * @memberof ContainerRegistryRequestConfig
3318
3324
  */
3319
3325
  'username'?: string;
3320
3326
  /**
3321
- * Required if kind is `DOCKER_HUB`
3327
+ * optional, for kind `DOCKER_HUB` We encourage you to set credentials for Docker Hub due to the limits on the pull rate
3322
3328
  * @type {string}
3323
3329
  * @memberof ContainerRegistryRequestConfig
3324
3330
  */
@@ -3448,7 +3454,7 @@ export interface ContainerRequest {
3448
3454
  */
3449
3455
  'registry_id': string;
3450
3456
  /**
3451
- * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
3457
+ * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository`
3452
3458
  * @type {string}
3453
3459
  * @memberof ContainerRequest
3454
3460
  */
@@ -3495,6 +3501,12 @@ export interface ContainerRequest {
3495
3501
  * @memberof ContainerRequest
3496
3502
  */
3497
3503
  'max_running_instances'?: number;
3504
+ /**
3505
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3506
+ * @type {boolean}
3507
+ * @memberof ContainerRequest
3508
+ */
3509
+ 'auto_preview'?: boolean;
3498
3510
  }
3499
3511
  /**
3500
3512
  *
@@ -3515,7 +3527,7 @@ export interface ContainerRequestAllOf {
3515
3527
  */
3516
3528
  'registry_id': string;
3517
3529
  /**
3518
- * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
3530
+ * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository`
3519
3531
  * @type {string}
3520
3532
  * @memberof ContainerRequestAllOf
3521
3533
  */
@@ -3562,6 +3574,12 @@ export interface ContainerRequestAllOf {
3562
3574
  * @memberof ContainerRequestAllOf
3563
3575
  */
3564
3576
  'max_running_instances'?: number;
3577
+ /**
3578
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3579
+ * @type {boolean}
3580
+ * @memberof ContainerRequestAllOf
3581
+ */
3582
+ 'auto_preview'?: boolean;
3565
3583
  }
3566
3584
  /**
3567
3585
  *
@@ -3672,7 +3690,7 @@ export interface ContainerResponse {
3672
3690
  */
3673
3691
  'max_running_instances': number;
3674
3692
  /**
3675
- * Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
3693
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3676
3694
  * @type {boolean}
3677
3695
  * @memberof ContainerResponse
3678
3696
  */
@@ -3769,7 +3787,7 @@ export interface ContainerResponseAllOf {
3769
3787
  */
3770
3788
  'max_running_instances': number;
3771
3789
  /**
3772
- * Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
3790
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3773
3791
  * @type {boolean}
3774
3792
  * @memberof ContainerResponseAllOf
3775
3793
  */
@@ -4662,19 +4680,6 @@ export interface DatabaseVersionMode {
4662
4680
  */
4663
4681
  'supported_mode'?: DatabaseModeEnum;
4664
4682
  }
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
-
4678
4683
  /**
4679
4684
  *
4680
4685
  * @export
@@ -7060,6 +7065,18 @@ export interface InviteMember {
7060
7065
  * @memberof InviteMember
7061
7066
  */
7062
7067
  'logo_url'?: string;
7068
+ /**
7069
+ *
7070
+ * @type {string}
7071
+ * @memberof InviteMember
7072
+ */
7073
+ 'role_id'?: string;
7074
+ /**
7075
+ *
7076
+ * @type {string}
7077
+ * @memberof InviteMember
7078
+ */
7079
+ 'role_name'?: string;
7063
7080
  }
7064
7081
  /**
7065
7082
  *
@@ -7103,6 +7120,18 @@ export interface InviteMemberAllOf {
7103
7120
  * @memberof InviteMemberAllOf
7104
7121
  */
7105
7122
  'logo_url'?: string;
7123
+ /**
7124
+ *
7125
+ * @type {string}
7126
+ * @memberof InviteMemberAllOf
7127
+ */
7128
+ 'role_id'?: string;
7129
+ /**
7130
+ *
7131
+ * @type {string}
7132
+ * @memberof InviteMemberAllOf
7133
+ */
7134
+ 'role_name'?: string;
7106
7135
  }
7107
7136
  /**
7108
7137
  *
@@ -7121,7 +7150,13 @@ export interface InviteMemberRequest {
7121
7150
  * @type {InviteMemberRoleEnum}
7122
7151
  * @memberof InviteMemberRequest
7123
7152
  */
7124
- 'role': InviteMemberRoleEnum;
7153
+ 'role'?: InviteMemberRoleEnum;
7154
+ /**
7155
+ * the target role to attribute to the new member
7156
+ * @type {string}
7157
+ * @memberof InviteMemberRequest
7158
+ */
7159
+ 'role_id'?: string;
7125
7160
  }
7126
7161
  /**
7127
7162
  *
@@ -7560,6 +7595,12 @@ export interface Member {
7560
7595
  * @memberof Member
7561
7596
  */
7562
7597
  'role_name'?: string;
7598
+ /**
7599
+ *
7600
+ * @type {string}
7601
+ * @memberof Member
7602
+ */
7603
+ 'role_id'?: string;
7563
7604
  }
7564
7605
  /**
7565
7606
  *
@@ -7609,6 +7650,12 @@ export interface MemberAllOf {
7609
7650
  * @memberof MemberAllOf
7610
7651
  */
7611
7652
  'role_name'?: string;
7653
+ /**
7654
+ *
7655
+ * @type {string}
7656
+ * @memberof MemberAllOf
7657
+ */
7658
+ 'role_id'?: string;
7612
7659
  }
7613
7660
  /**
7614
7661
  *
@@ -7634,19 +7681,13 @@ export interface MemberRoleUpdateRequest {
7634
7681
  * @type {string}
7635
7682
  * @memberof MemberRoleUpdateRequest
7636
7683
  */
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;
7684
+ 'user_id': string;
7644
7685
  /**
7645
7686
  *
7646
- * @type {DefaultMemberRole}
7687
+ * @type {string}
7647
7688
  * @memberof MemberRoleUpdateRequest
7648
7689
  */
7649
- 'default_role_name'?: DefaultMemberRole;
7690
+ 'role_id': string;
7650
7691
  }
7651
7692
  /**
7652
7693
  *
@@ -8267,23 +8308,17 @@ export enum OrganizationApiTokenScope {
8267
8308
  */
8268
8309
  export interface OrganizationAvailableRole {
8269
8310
  /**
8270
- * Filled only for an organization custom role
8311
+ *
8271
8312
  * @type {string}
8272
8313
  * @memberof OrganizationAvailableRole
8273
8314
  */
8274
8315
  'id'?: string;
8275
8316
  /**
8276
- * It can be either a custom role name or a default role name
8317
+ *
8277
8318
  * @type {string}
8278
8319
  * @memberof OrganizationAvailableRole
8279
8320
  */
8280
8321
  '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
8322
  }
8288
8323
  /**
8289
8324
  *
@@ -8544,7 +8579,7 @@ export interface OrganizationCustomRoleProjectPermissions {
8544
8579
  */
8545
8580
  'project_name'?: string;
8546
8581
  /**
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
8582
+ * 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
8583
  * @type {boolean}
8549
8584
  * @memberof OrganizationCustomRoleProjectPermissions
8550
8585
  */
@@ -8638,7 +8673,7 @@ export interface OrganizationCustomRoleUpdateRequestProjectPermissions {
8638
8673
  */
8639
8674
  'project_id'?: string;
8640
8675
  /**
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
8676
+ * 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
8677
  * @type {boolean}
8643
8678
  * @memberof OrganizationCustomRoleUpdateRequestProjectPermissions
8644
8679
  */
@@ -33692,14 +33727,18 @@ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuratio
33692
33727
  * Delete organization custom role
33693
33728
  * @summary Delete organization custom role
33694
33729
  * @param {string} organizationId Organization ID
33730
+ * @param {string} customRoleId Custom Role ID
33695
33731
  * @param {*} [options] Override http request option.
33696
33732
  * @throws {RequiredError}
33697
33733
  */
33698
- deleteOrganizationCustomRole: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33734
+ deleteOrganizationCustomRole: async (organizationId: string, customRoleId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33699
33735
  // verify required parameter 'organizationId' is not null or undefined
33700
33736
  assertParamExists('deleteOrganizationCustomRole', 'organizationId', organizationId)
33737
+ // verify required parameter 'customRoleId' is not null or undefined
33738
+ assertParamExists('deleteOrganizationCustomRole', 'customRoleId', customRoleId)
33701
33739
  const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
33702
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33740
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
33741
+ .replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
33703
33742
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33704
33743
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33705
33744
  let baseOptions;
@@ -33730,15 +33769,19 @@ export const OrganizationCustomRoleApiAxiosParamCreator = function (configuratio
33730
33769
  * Edit an organization custom role
33731
33770
  * @summary Edit an organization custom role
33732
33771
  * @param {string} organizationId Organization ID
33772
+ * @param {string} customRoleId Custom Role ID
33733
33773
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
33734
33774
  * @param {*} [options] Override http request option.
33735
33775
  * @throws {RequiredError}
33736
33776
  */
33737
- editOrganizationCustomRole: async (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33777
+ editOrganizationCustomRole: async (organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33738
33778
  // verify required parameter 'organizationId' is not null or undefined
33739
33779
  assertParamExists('editOrganizationCustomRole', 'organizationId', organizationId)
33780
+ // verify required parameter 'customRoleId' is not null or undefined
33781
+ assertParamExists('editOrganizationCustomRole', 'customRoleId', customRoleId)
33740
33782
  const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
33741
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33783
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
33784
+ .replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
33742
33785
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
33743
33786
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33744
33787
  let baseOptions;
@@ -33874,23 +33917,25 @@ export const OrganizationCustomRoleApiFp = function(configuration?: Configuratio
33874
33917
  * Delete organization custom role
33875
33918
  * @summary Delete organization custom role
33876
33919
  * @param {string} organizationId Organization ID
33920
+ * @param {string} customRoleId Custom Role ID
33877
33921
  * @param {*} [options] Override http request option.
33878
33922
  * @throws {RequiredError}
33879
33923
  */
33880
- async deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
33881
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, options);
33924
+ async deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
33925
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, customRoleId, options);
33882
33926
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33883
33927
  },
33884
33928
  /**
33885
33929
  * Edit an organization custom role
33886
33930
  * @summary Edit an organization custom role
33887
33931
  * @param {string} organizationId Organization ID
33932
+ * @param {string} customRoleId Custom Role ID
33888
33933
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
33889
33934
  * @param {*} [options] Override http request option.
33890
33935
  * @throws {RequiredError}
33891
33936
  */
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);
33937
+ async editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>> {
33938
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options);
33894
33939
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33895
33940
  },
33896
33941
  /**
@@ -33941,22 +33986,24 @@ export const OrganizationCustomRoleApiFactory = function (configuration?: Config
33941
33986
  * Delete organization custom role
33942
33987
  * @summary Delete organization custom role
33943
33988
  * @param {string} organizationId Organization ID
33989
+ * @param {string} customRoleId Custom Role ID
33944
33990
  * @param {*} [options] Override http request option.
33945
33991
  * @throws {RequiredError}
33946
33992
  */
33947
- deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void> {
33948
- return localVarFp.deleteOrganizationCustomRole(organizationId, options).then((request) => request(axios, basePath));
33993
+ deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<void> {
33994
+ return localVarFp.deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(axios, basePath));
33949
33995
  },
33950
33996
  /**
33951
33997
  * Edit an organization custom role
33952
33998
  * @summary Edit an organization custom role
33953
33999
  * @param {string} organizationId Organization ID
34000
+ * @param {string} customRoleId Custom Role ID
33954
34001
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
33955
34002
  * @param {*} [options] Override http request option.
33956
34003
  * @throws {RequiredError}
33957
34004
  */
33958
- editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
33959
- return localVarFp.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
34005
+ editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole> {
34006
+ return localVarFp.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
33960
34007
  },
33961
34008
  /**
33962
34009
  * Get an organization custom role
@@ -34006,25 +34053,27 @@ export class OrganizationCustomRoleApi extends BaseAPI {
34006
34053
  * Delete organization custom role
34007
34054
  * @summary Delete organization custom role
34008
34055
  * @param {string} organizationId Organization ID
34056
+ * @param {string} customRoleId Custom Role ID
34009
34057
  * @param {*} [options] Override http request option.
34010
34058
  * @throws {RequiredError}
34011
34059
  * @memberof OrganizationCustomRoleApi
34012
34060
  */
34013
- public deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig) {
34014
- return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, options).then((request) => request(this.axios, this.basePath));
34061
+ public deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig) {
34062
+ return OrganizationCustomRoleApiFp(this.configuration).deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(this.axios, this.basePath));
34015
34063
  }
34016
34064
 
34017
34065
  /**
34018
34066
  * Edit an organization custom role
34019
34067
  * @summary Edit an organization custom role
34020
34068
  * @param {string} organizationId Organization ID
34069
+ * @param {string} customRoleId Custom Role ID
34021
34070
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
34022
34071
  * @param {*} [options] Override http request option.
34023
34072
  * @throws {RequiredError}
34024
34073
  * @memberof OrganizationCustomRoleApi
34025
34074
  */
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));
34075
+ public editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) {
34076
+ return OrganizationCustomRoleApiFp(this.configuration).editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
34028
34077
  }
34029
34078
 
34030
34079
  /**
package/dist/api.d.ts CHANGED
@@ -207,7 +207,7 @@ export interface Application {
207
207
  */
208
208
  'healthcheck'?: Healthcheck;
209
209
  /**
210
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
210
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
211
211
  * @type {boolean}
212
212
  * @memberof Application
213
213
  */
@@ -522,7 +522,7 @@ export interface ApplicationAllOf {
522
522
  */
523
523
  'healthcheck'?: Healthcheck;
524
524
  /**
525
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
525
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
526
526
  * @type {boolean}
527
527
  * @memberof ApplicationAllOf
528
528
  */
@@ -749,7 +749,7 @@ export interface ApplicationEditRequest {
749
749
  */
750
750
  'healthcheck'?: Healthcheck;
751
751
  /**
752
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
752
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
753
753
  * @type {boolean}
754
754
  * @memberof ApplicationEditRequest
755
755
  */
@@ -840,7 +840,7 @@ export interface ApplicationEditRequestAllOf {
840
840
  */
841
841
  'healthcheck'?: Healthcheck;
842
842
  /**
843
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
843
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
844
844
  * @type {boolean}
845
845
  * @memberof ApplicationEditRequestAllOf
846
846
  */
@@ -1067,7 +1067,7 @@ export interface ApplicationRequest {
1067
1067
  */
1068
1068
  'healthcheck'?: Healthcheck;
1069
1069
  /**
1070
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
1070
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
1071
1071
  * @type {boolean}
1072
1072
  * @memberof ApplicationRequest
1073
1073
  */
@@ -1146,7 +1146,7 @@ export interface ApplicationRequestAllOf {
1146
1146
  */
1147
1147
  'healthcheck'?: Healthcheck;
1148
1148
  /**
1149
- * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request.
1149
+ * Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment.
1150
1150
  * @type {boolean}
1151
1151
  * @memberof ApplicationRequestAllOf
1152
1152
  */
@@ -1185,6 +1185,12 @@ export interface AvailableContainerRegistryResponse {
1185
1185
  'required_config'?: {
1186
1186
  [key: string]: object;
1187
1187
  };
1188
+ /**
1189
+ *
1190
+ * @type {boolean}
1191
+ * @memberof AvailableContainerRegistryResponse
1192
+ */
1193
+ 'is_mandatory'?: boolean;
1188
1194
  }
1189
1195
  /**
1190
1196
  *
@@ -3236,11 +3242,11 @@ export interface ContainerRegistryRequest {
3236
3242
  */
3237
3243
  'description'?: string;
3238
3244
  /**
3239
- * URL of the container registry: * For `DOCKER_HUB`: should be `https://docker.io` * For others: must start by `https://`
3245
+ * URL of the container registry: * For `DOCKER_HUB`: it must be `https://docker.io` (default with \'https://docker.io\' if no url provided for DOCKER_HUB) * For others: it\'s required and must start by `https://`
3240
3246
  * @type {string}
3241
3247
  * @memberof ContainerRegistryRequest
3242
3248
  */
3243
- 'url': string;
3249
+ 'url'?: string;
3244
3250
  /**
3245
3251
  *
3246
3252
  * @type {ContainerRegistryRequestConfig}
@@ -3249,7 +3255,7 @@ export interface ContainerRegistryRequest {
3249
3255
  'config': ContainerRegistryRequestConfig;
3250
3256
  }
3251
3257
  /**
3252
- * This field is dependent of the container registry kind: * `ECR` needs in the config: region, access_key_id, secret_access_key * `SCALEWAY_CR` needs in the config: region, scaleway_access_key, scaleway_secret_key * `DOCKER_HUB` needs in the config: username, password * `PUBLIC_ECR` needs in the config: access_key_id, secret_access_key * `DOCR` is not supported anymore
3258
+ * This field is dependent of the container registry kind: * `ECR` needs in the config: region, access_key_id, secret_access_key * `SCALEWAY_CR` needs in the config: region, scaleway_access_key, scaleway_secret_key * `DOCKER_HUB` needs in the config (optional): username, password * `PUBLIC_ECR` doesn\'t need credentials info * `DOCR` is not supported anymore
3253
3259
  * @export
3254
3260
  * @interface ContainerRegistryRequestConfig
3255
3261
  */
@@ -3285,13 +3291,13 @@ export interface ContainerRegistryRequestConfig {
3285
3291
  */
3286
3292
  'scaleway_secret_key'?: string;
3287
3293
  /**
3288
- * Required if kind is `DOCKER_HUB`
3294
+ * optional, for kind `DOCKER_HUB` We encourage you to set credentials for Docker Hub due to the limits on the pull rate
3289
3295
  * @type {string}
3290
3296
  * @memberof ContainerRegistryRequestConfig
3291
3297
  */
3292
3298
  'username'?: string;
3293
3299
  /**
3294
- * Required if kind is `DOCKER_HUB`
3300
+ * optional, for kind `DOCKER_HUB` We encourage you to set credentials for Docker Hub due to the limits on the pull rate
3295
3301
  * @type {string}
3296
3302
  * @memberof ContainerRegistryRequestConfig
3297
3303
  */
@@ -3421,7 +3427,7 @@ export interface ContainerRequest {
3421
3427
  */
3422
3428
  'registry_id': string;
3423
3429
  /**
3424
- * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
3430
+ * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository`
3425
3431
  * @type {string}
3426
3432
  * @memberof ContainerRequest
3427
3433
  */
@@ -3468,6 +3474,12 @@ export interface ContainerRequest {
3468
3474
  * @memberof ContainerRequest
3469
3475
  */
3470
3476
  'max_running_instances'?: number;
3477
+ /**
3478
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3479
+ * @type {boolean}
3480
+ * @memberof ContainerRequest
3481
+ */
3482
+ 'auto_preview'?: boolean;
3471
3483
  }
3472
3484
  /**
3473
3485
  *
@@ -3488,7 +3500,7 @@ export interface ContainerRequestAllOf {
3488
3500
  */
3489
3501
  'registry_id': string;
3490
3502
  /**
3491
- * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `namespace/image` * `PUBLIC_ECR`: `registry_alias/repository`
3503
+ * The image name pattern differs according to chosen container registry provider: * `ECR`: `repository` * `SCALEWAY_CR`: `namespace/image` * `DOCKER_HUB`: `image` or `repository/image` * `PUBLIC_ECR`: `registry_alias/repository`
3492
3504
  * @type {string}
3493
3505
  * @memberof ContainerRequestAllOf
3494
3506
  */
@@ -3535,6 +3547,12 @@ export interface ContainerRequestAllOf {
3535
3547
  * @memberof ContainerRequestAllOf
3536
3548
  */
3537
3549
  'max_running_instances'?: number;
3550
+ /**
3551
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3552
+ * @type {boolean}
3553
+ * @memberof ContainerRequestAllOf
3554
+ */
3555
+ 'auto_preview'?: boolean;
3538
3556
  }
3539
3557
  /**
3540
3558
  *
@@ -3645,7 +3663,7 @@ export interface ContainerResponse {
3645
3663
  */
3646
3664
  'max_running_instances': number;
3647
3665
  /**
3648
- * Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
3666
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3649
3667
  * @type {boolean}
3650
3668
  * @memberof ContainerResponse
3651
3669
  */
@@ -3742,7 +3760,7 @@ export interface ContainerResponseAllOf {
3742
3760
  */
3743
3761
  'max_running_instances': number;
3744
3762
  /**
3745
- * Specify if the environment preview option is activated or not for this container. If activated, a preview environment will be automatically cloned at each pull request.
3763
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment.
3746
3764
  * @type {boolean}
3747
3765
  * @memberof ContainerResponseAllOf
3748
3766
  */
@@ -4625,17 +4643,6 @@ export interface DatabaseVersionMode {
4625
4643
  */
4626
4644
  'supported_mode'?: DatabaseModeEnum;
4627
4645
  }
4628
- /**
4629
- * used to specify a default role, otherwise `null`
4630
- * @export
4631
- * @enum {string}
4632
- */
4633
- export declare enum DefaultMemberRole {
4634
- VIEWER = "VIEWER",
4635
- BILLING = "BILLING",
4636
- DEVOPS = "DEVOPS",
4637
- ADMIN = "ADMIN"
4638
- }
4639
4646
  /**
4640
4647
  *
4641
4648
  * @export
@@ -7007,6 +7014,18 @@ export interface InviteMember {
7007
7014
  * @memberof InviteMember
7008
7015
  */
7009
7016
  'logo_url'?: string;
7017
+ /**
7018
+ *
7019
+ * @type {string}
7020
+ * @memberof InviteMember
7021
+ */
7022
+ 'role_id'?: string;
7023
+ /**
7024
+ *
7025
+ * @type {string}
7026
+ * @memberof InviteMember
7027
+ */
7028
+ 'role_name'?: string;
7010
7029
  }
7011
7030
  /**
7012
7031
  *
@@ -7050,6 +7069,18 @@ export interface InviteMemberAllOf {
7050
7069
  * @memberof InviteMemberAllOf
7051
7070
  */
7052
7071
  'logo_url'?: string;
7072
+ /**
7073
+ *
7074
+ * @type {string}
7075
+ * @memberof InviteMemberAllOf
7076
+ */
7077
+ 'role_id'?: string;
7078
+ /**
7079
+ *
7080
+ * @type {string}
7081
+ * @memberof InviteMemberAllOf
7082
+ */
7083
+ 'role_name'?: string;
7053
7084
  }
7054
7085
  /**
7055
7086
  *
@@ -7068,7 +7099,13 @@ export interface InviteMemberRequest {
7068
7099
  * @type {InviteMemberRoleEnum}
7069
7100
  * @memberof InviteMemberRequest
7070
7101
  */
7071
- 'role': InviteMemberRoleEnum;
7102
+ 'role'?: InviteMemberRoleEnum;
7103
+ /**
7104
+ * the target role to attribute to the new member
7105
+ * @type {string}
7106
+ * @memberof InviteMemberRequest
7107
+ */
7108
+ 'role_id'?: string;
7072
7109
  }
7073
7110
  /**
7074
7111
  *
@@ -7497,6 +7534,12 @@ export interface Member {
7497
7534
  * @memberof Member
7498
7535
  */
7499
7536
  'role_name'?: string;
7537
+ /**
7538
+ *
7539
+ * @type {string}
7540
+ * @memberof Member
7541
+ */
7542
+ 'role_id'?: string;
7500
7543
  }
7501
7544
  /**
7502
7545
  *
@@ -7546,6 +7589,12 @@ export interface MemberAllOf {
7546
7589
  * @memberof MemberAllOf
7547
7590
  */
7548
7591
  'role_name'?: string;
7592
+ /**
7593
+ *
7594
+ * @type {string}
7595
+ * @memberof MemberAllOf
7596
+ */
7597
+ 'role_id'?: string;
7549
7598
  }
7550
7599
  /**
7551
7600
  *
@@ -7571,19 +7620,13 @@ export interface MemberRoleUpdateRequest {
7571
7620
  * @type {string}
7572
7621
  * @memberof MemberRoleUpdateRequest
7573
7622
  */
7574
- 'user_id'?: string;
7575
- /**
7576
- * used to specify an organization custom role, otherwise `null`
7577
- * @type {string}
7578
- * @memberof MemberRoleUpdateRequest
7579
- */
7580
- 'custom_role_id'?: string;
7623
+ 'user_id': string;
7581
7624
  /**
7582
7625
  *
7583
- * @type {DefaultMemberRole}
7626
+ * @type {string}
7584
7627
  * @memberof MemberRoleUpdateRequest
7585
7628
  */
7586
- 'default_role_name'?: DefaultMemberRole;
7629
+ 'role_id': string;
7587
7630
  }
7588
7631
  /**
7589
7632
  *
@@ -8202,23 +8245,17 @@ export declare enum OrganizationApiTokenScope {
8202
8245
  */
8203
8246
  export interface OrganizationAvailableRole {
8204
8247
  /**
8205
- * Filled only for an organization custom role
8248
+ *
8206
8249
  * @type {string}
8207
8250
  * @memberof OrganizationAvailableRole
8208
8251
  */
8209
8252
  'id'?: string;
8210
8253
  /**
8211
- * It can be either a custom role name or a default role name
8254
+ *
8212
8255
  * @type {string}
8213
8256
  * @memberof OrganizationAvailableRole
8214
8257
  */
8215
8258
  'name'?: string;
8216
- /**
8217
- * - `true` if it is a Qovery role - `false` if it is a custom role
8218
- * @type {boolean}
8219
- * @memberof OrganizationAvailableRole
8220
- */
8221
- 'is_default'?: boolean;
8222
8259
  }
8223
8260
  /**
8224
8261
  *
@@ -8475,7 +8512,7 @@ export interface OrganizationCustomRoleProjectPermissions {
8475
8512
  */
8476
8513
  'project_name'?: string;
8477
8514
  /**
8478
- * 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
8515
+ * 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
8479
8516
  * @type {boolean}
8480
8517
  * @memberof OrganizationCustomRoleProjectPermissions
8481
8518
  */
@@ -8569,7 +8606,7 @@ export interface OrganizationCustomRoleUpdateRequestProjectPermissions {
8569
8606
  */
8570
8607
  'project_id'?: string;
8571
8608
  /**
8572
- * 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
8609
+ * 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
8573
8610
  * @type {boolean}
8574
8611
  * @memberof OrganizationCustomRoleUpdateRequestProjectPermissions
8575
8612
  */
@@ -22016,19 +22053,21 @@ export declare const OrganizationCustomRoleApiAxiosParamCreator: (configuration?
22016
22053
  * Delete organization custom role
22017
22054
  * @summary Delete organization custom role
22018
22055
  * @param {string} organizationId Organization ID
22056
+ * @param {string} customRoleId Custom Role ID
22019
22057
  * @param {*} [options] Override http request option.
22020
22058
  * @throws {RequiredError}
22021
22059
  */
22022
- deleteOrganizationCustomRole: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22060
+ deleteOrganizationCustomRole: (organizationId: string, customRoleId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22023
22061
  /**
22024
22062
  * Edit an organization custom role
22025
22063
  * @summary Edit an organization custom role
22026
22064
  * @param {string} organizationId Organization ID
22065
+ * @param {string} customRoleId Custom Role ID
22027
22066
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
22028
22067
  * @param {*} [options] Override http request option.
22029
22068
  * @throws {RequiredError}
22030
22069
  */
22031
- editOrganizationCustomRole: (organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22070
+ editOrganizationCustomRole: (organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22032
22071
  /**
22033
22072
  * Get an organization custom role
22034
22073
  * @summary Get an organization custom role
@@ -22065,19 +22104,21 @@ export declare const OrganizationCustomRoleApiFp: (configuration?: Configuration
22065
22104
  * Delete organization custom role
22066
22105
  * @summary Delete organization custom role
22067
22106
  * @param {string} organizationId Organization ID
22107
+ * @param {string} customRoleId Custom Role ID
22068
22108
  * @param {*} [options] Override http request option.
22069
22109
  * @throws {RequiredError}
22070
22110
  */
22071
- deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22111
+ deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
22072
22112
  /**
22073
22113
  * Edit an organization custom role
22074
22114
  * @summary Edit an organization custom role
22075
22115
  * @param {string} organizationId Organization ID
22116
+ * @param {string} customRoleId Custom Role ID
22076
22117
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
22077
22118
  * @param {*} [options] Override http request option.
22078
22119
  * @throws {RequiredError}
22079
22120
  */
22080
- editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>>;
22121
+ editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomRole>>;
22081
22122
  /**
22082
22123
  * Get an organization custom role
22083
22124
  * @summary Get an organization custom role
@@ -22114,19 +22155,21 @@ export declare const OrganizationCustomRoleApiFactory: (configuration?: Configur
22114
22155
  * Delete organization custom role
22115
22156
  * @summary Delete organization custom role
22116
22157
  * @param {string} organizationId Organization ID
22158
+ * @param {string} customRoleId Custom Role ID
22117
22159
  * @param {*} [options] Override http request option.
22118
22160
  * @throws {RequiredError}
22119
22161
  */
22120
- deleteOrganizationCustomRole(organizationId: string, options?: any): AxiosPromise<void>;
22162
+ deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: any): AxiosPromise<void>;
22121
22163
  /**
22122
22164
  * Edit an organization custom role
22123
22165
  * @summary Edit an organization custom role
22124
22166
  * @param {string} organizationId Organization ID
22167
+ * @param {string} customRoleId Custom Role ID
22125
22168
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
22126
22169
  * @param {*} [options] Override http request option.
22127
22170
  * @throws {RequiredError}
22128
22171
  */
22129
- editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole>;
22172
+ editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: any): AxiosPromise<OrganizationCustomRole>;
22130
22173
  /**
22131
22174
  * Get an organization custom role
22132
22175
  * @summary Get an organization custom role
@@ -22166,21 +22209,23 @@ export declare class OrganizationCustomRoleApi extends BaseAPI {
22166
22209
  * Delete organization custom role
22167
22210
  * @summary Delete organization custom role
22168
22211
  * @param {string} organizationId Organization ID
22212
+ * @param {string} customRoleId Custom Role ID
22169
22213
  * @param {*} [options] Override http request option.
22170
22214
  * @throws {RequiredError}
22171
22215
  * @memberof OrganizationCustomRoleApi
22172
22216
  */
22173
- deleteOrganizationCustomRole(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
22217
+ deleteOrganizationCustomRole(organizationId: string, customRoleId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
22174
22218
  /**
22175
22219
  * Edit an organization custom role
22176
22220
  * @summary Edit an organization custom role
22177
22221
  * @param {string} organizationId Organization ID
22222
+ * @param {string} customRoleId Custom Role ID
22178
22223
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
22179
22224
  * @param {*} [options] Override http request option.
22180
22225
  * @throws {RequiredError}
22181
22226
  * @memberof OrganizationCustomRoleApi
22182
22227
  */
22183
- editOrganizationCustomRole(organizationId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRole>>;
22228
+ editOrganizationCustomRole(organizationId: string, customRoleId: string, organizationCustomRoleUpdateRequest?: OrganizationCustomRoleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomRole>>;
22184
22229
  /**
22185
22230
  * Get an organization custom role
22186
22231
  * @summary Get an organization custom role
package/dist/api.js CHANGED
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StatusKindEnum = exports.StateEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DefaultMemberRole = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsReadinessProbeTypeEnum = exports.CompanySizeEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsLivenessProbeTypeEnum = exports.ApplicationAdvancedSettingsReadinessProbeTypeEnum = exports.APIVariableScopeEnum = void 0;
26
- exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationDatabaseApi = exports.ApplicationDatabaseApiFactory = exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = void 0;
27
- exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerDependencyApi = exports.ContainerDependencyApiFactory = exports.ContainerDependencyApiFp = exports.ContainerDependencyApiAxiosParamCreator = exports.ContainerDatabaseApi = exports.ContainerDatabaseApiFactory = exports.ContainerDatabaseApiFp = exports.ContainerDatabaseApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = void 0;
28
- exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = 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.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = void 0;
29
- 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.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.DependencyApi = exports.DependencyApiFactory = exports.DependencyApiFp = exports.DependencyApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = void 0;
30
- 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 = 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.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = void 0;
31
- exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = void 0;
25
+ exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StatusKindEnum = exports.StateEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsReadinessProbeTypeEnum = exports.CompanySizeEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsLivenessProbeTypeEnum = exports.ApplicationAdvancedSettingsReadinessProbeTypeEnum = exports.APIVariableScopeEnum = void 0;
26
+ exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationDatabaseApi = exports.ApplicationDatabaseApiFactory = exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = void 0;
27
+ exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerDependencyApi = exports.ContainerDependencyApiFactory = exports.ContainerDependencyApiFp = exports.ContainerDependencyApiAxiosParamCreator = exports.ContainerDatabaseApi = exports.ContainerDatabaseApiFactory = exports.ContainerDatabaseApiFp = exports.ContainerDatabaseApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = void 0;
28
+ exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = 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.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = void 0;
29
+ exports.LogicalDatabaseApiAxiosParamCreator = 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.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.DependencyApi = exports.DependencyApiFactory = exports.DependencyApiFp = exports.DependencyApiAxiosParamCreator = exports.DatabasesApi = void 0;
30
+ 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 = 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.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = void 0;
31
+ exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = void 0;
32
32
  const axios_1 = require("axios");
33
33
  // Some imports not used depending on template conditions
34
34
  // @ts-ignore
@@ -236,18 +236,6 @@ var DatabaseTypeEnum;
236
236
  DatabaseTypeEnum["POSTGRESQL"] = "POSTGRESQL";
237
237
  DatabaseTypeEnum["REDIS"] = "REDIS";
238
238
  })(DatabaseTypeEnum = exports.DatabaseTypeEnum || (exports.DatabaseTypeEnum = {}));
239
- /**
240
- * used to specify a default role, otherwise `null`
241
- * @export
242
- * @enum {string}
243
- */
244
- var DefaultMemberRole;
245
- (function (DefaultMemberRole) {
246
- DefaultMemberRole["VIEWER"] = "VIEWER";
247
- DefaultMemberRole["BILLING"] = "BILLING";
248
- DefaultMemberRole["DEVOPS"] = "DEVOPS";
249
- DefaultMemberRole["ADMIN"] = "ADMIN";
250
- })(DefaultMemberRole = exports.DefaultMemberRole || (exports.DefaultMemberRole = {}));
251
239
  /**
252
240
  *
253
241
  * @export
@@ -21789,14 +21777,18 @@ const OrganizationCustomRoleApiAxiosParamCreator = function (configuration) {
21789
21777
  * Delete organization custom role
21790
21778
  * @summary Delete organization custom role
21791
21779
  * @param {string} organizationId Organization ID
21780
+ * @param {string} customRoleId Custom Role ID
21792
21781
  * @param {*} [options] Override http request option.
21793
21782
  * @throws {RequiredError}
21794
21783
  */
21795
- deleteOrganizationCustomRole: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
21784
+ deleteOrganizationCustomRole: (organizationId, customRoleId, options = {}) => __awaiter(this, void 0, void 0, function* () {
21796
21785
  // verify required parameter 'organizationId' is not null or undefined
21797
21786
  (0, common_1.assertParamExists)('deleteOrganizationCustomRole', 'organizationId', organizationId);
21787
+ // verify required parameter 'customRoleId' is not null or undefined
21788
+ (0, common_1.assertParamExists)('deleteOrganizationCustomRole', 'customRoleId', customRoleId);
21798
21789
  const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
21799
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
21790
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
21791
+ .replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
21800
21792
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21801
21793
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21802
21794
  let baseOptions;
@@ -21821,15 +21813,19 @@ const OrganizationCustomRoleApiAxiosParamCreator = function (configuration) {
21821
21813
  * Edit an organization custom role
21822
21814
  * @summary Edit an organization custom role
21823
21815
  * @param {string} organizationId Organization ID
21816
+ * @param {string} customRoleId Custom Role ID
21824
21817
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
21825
21818
  * @param {*} [options] Override http request option.
21826
21819
  * @throws {RequiredError}
21827
21820
  */
21828
- editOrganizationCustomRole: (organizationId, organizationCustomRoleUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
21821
+ editOrganizationCustomRole: (organizationId, customRoleId, organizationCustomRoleUpdateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
21829
21822
  // verify required parameter 'organizationId' is not null or undefined
21830
21823
  (0, common_1.assertParamExists)('editOrganizationCustomRole', 'organizationId', organizationId);
21824
+ // verify required parameter 'customRoleId' is not null or undefined
21825
+ (0, common_1.assertParamExists)('editOrganizationCustomRole', 'customRoleId', customRoleId);
21831
21826
  const localVarPath = `/organization/{organizationId}/customRole/{customRoleId}`
21832
- .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
21827
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
21828
+ .replace(`{${"customRoleId"}}`, encodeURIComponent(String(customRoleId)));
21833
21829
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21834
21830
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
21835
21831
  let baseOptions;
@@ -21948,12 +21944,13 @@ const OrganizationCustomRoleApiFp = function (configuration) {
21948
21944
  * Delete organization custom role
21949
21945
  * @summary Delete organization custom role
21950
21946
  * @param {string} organizationId Organization ID
21947
+ * @param {string} customRoleId Custom Role ID
21951
21948
  * @param {*} [options] Override http request option.
21952
21949
  * @throws {RequiredError}
21953
21950
  */
21954
- deleteOrganizationCustomRole(organizationId, options) {
21951
+ deleteOrganizationCustomRole(organizationId, customRoleId, options) {
21955
21952
  return __awaiter(this, void 0, void 0, function* () {
21956
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, options);
21953
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationCustomRole(organizationId, customRoleId, options);
21957
21954
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
21958
21955
  });
21959
21956
  },
@@ -21961,13 +21958,14 @@ const OrganizationCustomRoleApiFp = function (configuration) {
21961
21958
  * Edit an organization custom role
21962
21959
  * @summary Edit an organization custom role
21963
21960
  * @param {string} organizationId Organization ID
21961
+ * @param {string} customRoleId Custom Role ID
21964
21962
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
21965
21963
  * @param {*} [options] Override http request option.
21966
21964
  * @throws {RequiredError}
21967
21965
  */
21968
- editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options) {
21966
+ editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options) {
21969
21967
  return __awaiter(this, void 0, void 0, function* () {
21970
- const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options);
21968
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options);
21971
21969
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
21972
21970
  });
21973
21971
  },
@@ -22023,22 +22021,24 @@ const OrganizationCustomRoleApiFactory = function (configuration, basePath, axio
22023
22021
  * Delete organization custom role
22024
22022
  * @summary Delete organization custom role
22025
22023
  * @param {string} organizationId Organization ID
22024
+ * @param {string} customRoleId Custom Role ID
22026
22025
  * @param {*} [options] Override http request option.
22027
22026
  * @throws {RequiredError}
22028
22027
  */
22029
- deleteOrganizationCustomRole(organizationId, options) {
22030
- return localVarFp.deleteOrganizationCustomRole(organizationId, options).then((request) => request(axios, basePath));
22028
+ deleteOrganizationCustomRole(organizationId, customRoleId, options) {
22029
+ return localVarFp.deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(axios, basePath));
22031
22030
  },
22032
22031
  /**
22033
22032
  * Edit an organization custom role
22034
22033
  * @summary Edit an organization custom role
22035
22034
  * @param {string} organizationId Organization ID
22035
+ * @param {string} customRoleId Custom Role ID
22036
22036
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
22037
22037
  * @param {*} [options] Override http request option.
22038
22038
  * @throws {RequiredError}
22039
22039
  */
22040
- editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options) {
22041
- return localVarFp.editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
22040
+ editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options) {
22041
+ return localVarFp.editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(axios, basePath));
22042
22042
  },
22043
22043
  /**
22044
22044
  * Get an organization custom role
@@ -22087,24 +22087,26 @@ class OrganizationCustomRoleApi extends base_1.BaseAPI {
22087
22087
  * Delete organization custom role
22088
22088
  * @summary Delete organization custom role
22089
22089
  * @param {string} organizationId Organization ID
22090
+ * @param {string} customRoleId Custom Role ID
22090
22091
  * @param {*} [options] Override http request option.
22091
22092
  * @throws {RequiredError}
22092
22093
  * @memberof OrganizationCustomRoleApi
22093
22094
  */
22094
- deleteOrganizationCustomRole(organizationId, options) {
22095
- return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).deleteOrganizationCustomRole(organizationId, options).then((request) => request(this.axios, this.basePath));
22095
+ deleteOrganizationCustomRole(organizationId, customRoleId, options) {
22096
+ return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).deleteOrganizationCustomRole(organizationId, customRoleId, options).then((request) => request(this.axios, this.basePath));
22096
22097
  }
22097
22098
  /**
22098
22099
  * Edit an organization custom role
22099
22100
  * @summary Edit an organization custom role
22100
22101
  * @param {string} organizationId Organization ID
22102
+ * @param {string} customRoleId Custom Role ID
22101
22103
  * @param {OrganizationCustomRoleUpdateRequest} [organizationCustomRoleUpdateRequest]
22102
22104
  * @param {*} [options] Override http request option.
22103
22105
  * @throws {RequiredError}
22104
22106
  * @memberof OrganizationCustomRoleApi
22105
22107
  */
22106
- editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options) {
22107
- return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).editOrganizationCustomRole(organizationId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
22108
+ editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options) {
22109
+ return (0, exports.OrganizationCustomRoleApiFp)(this.configuration).editOrganizationCustomRole(organizationId, customRoleId, organizationCustomRoleUpdateRequest, options).then((request) => request(this.axios, this.basePath));
22108
22110
  }
22109
22111
  /**
22110
22112
  * Get an organization custom role
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [