@cosmotech/api-ts 0.1.14 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Cosmo Tech Plaform API
3
3
  * Cosmo Tech Platform API
4
4
  *
5
- * The version of the OpenAPI document: 0.0.13-SNAPSHOT
5
+ * The version of the OpenAPI document: 2.0.6-dev
6
6
  * Contact: platform@cosmotech.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,6 +12,27 @@
12
12
  import { Configuration } from './configuration';
13
13
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from './base';
15
+ /**
16
+ * a RBAC by component
17
+ * @export
18
+ * @interface ComponentRolePermissions
19
+ */
20
+ export interface ComponentRolePermissions {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof ComponentRolePermissions
25
+ */
26
+ 'component'?: string;
27
+ /**
28
+ *
29
+ * @type {{ [key: string]: Array<string>; }}
30
+ * @memberof ComponentRolePermissions
31
+ */
32
+ 'roles'?: {
33
+ [key: string]: Array<string>;
34
+ };
35
+ }
15
36
  /**
16
37
  * a version of a Connector
17
38
  * @export
@@ -355,16 +376,67 @@ export interface Organization {
355
376
  'ownerId'?: string;
356
377
  /**
357
378
  *
358
- * @type {Array<OrganizationUser>}
379
+ * @type {OrganizationServices}
359
380
  * @memberof Organization
360
381
  */
361
- 'users'?: Array<OrganizationUser>;
382
+ 'services'?: OrganizationServices;
362
383
  /**
363
384
  *
364
- * @type {OrganizationServices}
385
+ * @type {OrganizationSecurity}
365
386
  * @memberof Organization
366
387
  */
367
- 'services'?: OrganizationServices;
388
+ 'security'?: OrganizationSecurity;
389
+ }
390
+ /**
391
+ * a Organization access control item
392
+ * @export
393
+ * @interface OrganizationAccessControl
394
+ */
395
+ export interface OrganizationAccessControl {
396
+ /**
397
+ * the identity id
398
+ * @type {string}
399
+ * @memberof OrganizationAccessControl
400
+ */
401
+ 'id': string;
402
+ /**
403
+ * a role
404
+ * @type {string}
405
+ * @memberof OrganizationAccessControl
406
+ */
407
+ 'role': string;
408
+ }
409
+ /**
410
+ * the Organization Role
411
+ * @export
412
+ * @interface OrganizationRole
413
+ */
414
+ export interface OrganizationRole {
415
+ /**
416
+ * the Organization Role
417
+ * @type {string}
418
+ * @memberof OrganizationRole
419
+ */
420
+ 'role': string;
421
+ }
422
+ /**
423
+ * the Organization security information
424
+ * @export
425
+ * @interface OrganizationSecurity
426
+ */
427
+ export interface OrganizationSecurity {
428
+ /**
429
+ * the role by default
430
+ * @type {string}
431
+ * @memberof OrganizationSecurity
432
+ */
433
+ 'default': string;
434
+ /**
435
+ * the list which can access this Organization with detailed access control information
436
+ * @type {Array<OrganizationAccessControl>}
437
+ * @memberof OrganizationSecurity
438
+ */
439
+ 'accessControlList': Array<OrganizationAccessControl>;
368
440
  }
369
441
  /**
370
442
  * a cloud service resource
@@ -432,38 +504,6 @@ export interface OrganizationServices {
432
504
  */
433
505
  'solutionsContainerRegistry'?: OrganizationService;
434
506
  }
435
- /**
436
- * a User
437
- * @export
438
- * @interface OrganizationUser
439
- */
440
- export interface OrganizationUser {
441
- /**
442
- * the User unique identifier, in response
443
- * @type {string}
444
- * @memberof OrganizationUser
445
- */
446
- 'id'?: string;
447
- /**
448
- * the User name
449
- * @type {string}
450
- * @memberof OrganizationUser
451
- */
452
- 'name'?: string;
453
- /**
454
- * the User\'s roles for the Organization
455
- * @type {Array<string>}
456
- * @memberof OrganizationUser
457
- */
458
- 'roles': Array<OrganizationUserRolesEnum>;
459
- }
460
- export declare const OrganizationUserRolesEnum: {
461
- readonly Admin: "Admin";
462
- readonly User: "User";
463
- readonly Viewer: "Viewer";
464
- readonly Developer: "Developer";
465
- };
466
- export declare type OrganizationUserRolesEnum = typeof OrganizationUserRolesEnum[keyof typeof OrganizationUserRolesEnum];
467
507
  /**
468
508
  * a Solution Run Template
469
509
  * @export
@@ -481,7 +521,7 @@ export interface RunTemplate {
481
521
  * @type {string}
482
522
  * @memberof RunTemplate
483
523
  */
484
- 'name': string;
524
+ 'name'?: string;
485
525
  /**
486
526
  * the Run Template description
487
527
  * @type {string}
@@ -644,6 +684,12 @@ export interface RunTemplate {
644
684
  * @memberof RunTemplate
645
685
  */
646
686
  'runTemplateSourceDir'?: string;
687
+ /**
688
+ * an optional duration in seconds in which a workflow is allowed to run
689
+ * @type {number}
690
+ * @memberof RunTemplate
691
+ */
692
+ 'executionTimeout'?: number;
647
693
  }
648
694
  /**
649
695
  * the Run Template step handler identifier
@@ -676,7 +722,7 @@ export interface RunTemplateParameter {
676
722
  * @type {{ [key: string]: string; }}
677
723
  * @memberof RunTemplateParameter
678
724
  */
679
- 'labels': {
725
+ 'labels'?: {
680
726
  [key: string]: string;
681
727
  };
682
728
  /**
@@ -684,7 +730,7 @@ export interface RunTemplateParameter {
684
730
  * @type {string}
685
731
  * @memberof RunTemplateParameter
686
732
  */
687
- 'varType': string;
733
+ 'varType'?: string;
688
734
  /**
689
735
  * the default value for this parameter
690
736
  * @type {string}
@@ -735,7 +781,7 @@ export interface RunTemplateParameterGroup {
735
781
  * @type {{ [key: string]: string; }}
736
782
  * @memberof RunTemplateParameterGroup
737
783
  */
738
- 'labels': {
784
+ 'labels'?: {
739
785
  [key: string]: string;
740
786
  };
741
787
  /**
@@ -763,7 +809,7 @@ export interface RunTemplateParameterGroup {
763
809
  * @type {Array<string>}
764
810
  * @memberof RunTemplateParameterGroup
765
811
  */
766
- 'parameters': Array<string>;
812
+ 'parameters'?: Array<string>;
767
813
  }
768
814
  /**
769
815
  * the value of Analysis parameter for a Scenario for this ScenarioRun
@@ -868,12 +914,6 @@ export interface Scenario {
868
914
  * @memberof Scenario
869
915
  */
870
916
  'workspaceId'?: string;
871
- /**
872
- * the list of users Id with their role
873
- * @type {Array<ScenarioUser>}
874
- * @memberof Scenario
875
- */
876
- 'users'?: Array<ScenarioUser>;
877
917
  /**
878
918
  *
879
919
  * @type {ScenarioJobState}
@@ -946,6 +986,31 @@ export interface Scenario {
946
986
  * @memberof Scenario
947
987
  */
948
988
  'validationStatus'?: ScenarioValidationStatus;
989
+ /**
990
+ *
991
+ * @type {ScenarioSecurity}
992
+ * @memberof Scenario
993
+ */
994
+ 'security'?: ScenarioSecurity;
995
+ }
996
+ /**
997
+ * a Scenario access control item
998
+ * @export
999
+ * @interface ScenarioAccessControl
1000
+ */
1001
+ export interface ScenarioAccessControl {
1002
+ /**
1003
+ * the identity id
1004
+ * @type {string}
1005
+ * @memberof ScenarioAccessControl
1006
+ */
1007
+ 'id': string;
1008
+ /**
1009
+ * a role
1010
+ * @type {string}
1011
+ * @memberof ScenarioAccessControl
1012
+ */
1013
+ 'role': string;
949
1014
  }
950
1015
  /**
951
1016
  * the difference between the values of a parameter
@@ -1080,6 +1145,19 @@ export interface ScenarioLastRun {
1080
1145
  */
1081
1146
  'workflowName'?: string;
1082
1147
  }
1148
+ /**
1149
+ * the Scenario Role
1150
+ * @export
1151
+ * @interface ScenarioRole
1152
+ */
1153
+ export interface ScenarioRole {
1154
+ /**
1155
+ * the Scenario Role
1156
+ * @type {string}
1157
+ * @memberof ScenarioRole
1158
+ */
1159
+ 'role': string;
1160
+ }
1083
1161
  /**
1084
1162
  * a ScenarioRun with only base properties
1085
1163
  * @export
@@ -1660,35 +1738,24 @@ export interface ScenarioRunTemplateParameterValue {
1660
1738
  'isInherited'?: boolean;
1661
1739
  }
1662
1740
  /**
1663
- * a Scenario user with roles
1741
+ * the Scenario security information
1664
1742
  * @export
1665
- * @interface ScenarioUser
1743
+ * @interface ScenarioSecurity
1666
1744
  */
1667
- export interface ScenarioUser {
1668
- /**
1669
- * the User id
1670
- * @type {string}
1671
- * @memberof ScenarioUser
1672
- */
1673
- 'id': string;
1745
+ export interface ScenarioSecurity {
1674
1746
  /**
1675
- * the User name
1747
+ * the role by default
1676
1748
  * @type {string}
1677
- * @memberof ScenarioUser
1749
+ * @memberof ScenarioSecurity
1678
1750
  */
1679
- 'name'?: string;
1751
+ 'default': string;
1680
1752
  /**
1681
- * the User role
1682
- * @type {Array<string>}
1683
- * @memberof ScenarioUser
1753
+ * the list which can access this Scenario with detailed access control information
1754
+ * @type {Array<ScenarioAccessControl>}
1755
+ * @memberof ScenarioSecurity
1684
1756
  */
1685
- 'roles': Array<ScenarioUserRolesEnum>;
1757
+ 'accessControlList': Array<ScenarioAccessControl>;
1686
1758
  }
1687
- export declare const ScenarioUserRolesEnum: {
1688
- readonly Viewer: "Viewer";
1689
- readonly Editor: "Editor";
1690
- };
1691
- export declare type ScenarioUserRolesEnum = typeof ScenarioUserRolesEnum[keyof typeof ScenarioUserRolesEnum];
1692
1759
  /**
1693
1760
  * the validation status of the scenario
1694
1761
  * @export
@@ -1718,13 +1785,13 @@ export interface Solution {
1718
1785
  * @type {string}
1719
1786
  * @memberof Solution
1720
1787
  */
1721
- 'key': string;
1788
+ 'key'?: string;
1722
1789
  /**
1723
1790
  * the Solution name
1724
1791
  * @type {string}
1725
1792
  * @memberof Solution
1726
1793
  */
1727
- 'name': string;
1794
+ 'name'?: string;
1728
1795
  /**
1729
1796
  * the Solution description
1730
1797
  * @type {string}
@@ -1736,7 +1803,7 @@ export interface Solution {
1736
1803
  * @type {string}
1737
1804
  * @memberof Solution
1738
1805
  */
1739
- 'repository': string;
1806
+ 'repository'?: string;
1740
1807
  /**
1741
1808
  * the main Cosmo Tech simulator name used in standard Run Template
1742
1809
  * @type {string}
@@ -1748,7 +1815,7 @@ export interface Solution {
1748
1815
  * @type {string}
1749
1816
  * @memberof Solution
1750
1817
  */
1751
- 'version': string;
1818
+ 'version'?: string;
1752
1819
  /**
1753
1820
  * the User id which own this Solution
1754
1821
  * @type {string}
@@ -1790,7 +1857,7 @@ export interface Solution {
1790
1857
  * @type {Array<RunTemplate>}
1791
1858
  * @memberof Solution
1792
1859
  */
1793
- 'runTemplates': Array<RunTemplate>;
1860
+ 'runTemplates'?: Array<RunTemplate>;
1794
1861
  }
1795
1862
  /**
1796
1863
  * a User
@@ -2055,12 +2122,6 @@ export interface Workspace {
2055
2122
  * @memberof Workspace
2056
2123
  */
2057
2124
  'solution': WorkspaceSolution;
2058
- /**
2059
- * the list of users Id with their role
2060
- * @type {Array<WorkspaceUser>}
2061
- * @memberof Workspace
2062
- */
2063
- 'users'?: Array<WorkspaceUser>;
2064
2125
  /**
2065
2126
  *
2066
2127
  * @type {WorkspaceWebApp}
@@ -2079,6 +2140,37 @@ export interface Workspace {
2079
2140
  * @memberof Workspace
2080
2141
  */
2081
2142
  'useDedicatedEventHubNamespace'?: boolean;
2143
+ /**
2144
+ * Set this property to false to not send scenario metada to Azure Event Hub Namespace for this Workspace. The Event Hub Namespace must be named \\\'<organization_id\\>-<workspace_id\\>\\\' (in lower case). This Namespace must also contain two Event Hubs named \\\'scenariometadata\\\' and \\\'scenariorunmetadata\\\'.
2145
+ * @type {boolean}
2146
+ * @memberof Workspace
2147
+ */
2148
+ 'sendScenarioMetadataToEventHub'?: boolean;
2149
+ /**
2150
+ *
2151
+ * @type {WorkspaceSecurity}
2152
+ * @memberof Workspace
2153
+ */
2154
+ 'security'?: WorkspaceSecurity;
2155
+ }
2156
+ /**
2157
+ * a Workspace access control item
2158
+ * @export
2159
+ * @interface WorkspaceAccessControl
2160
+ */
2161
+ export interface WorkspaceAccessControl {
2162
+ /**
2163
+ * the identity id
2164
+ * @type {string}
2165
+ * @memberof WorkspaceAccessControl
2166
+ */
2167
+ 'id': string;
2168
+ /**
2169
+ * a role
2170
+ * @type {string}
2171
+ * @memberof WorkspaceAccessControl
2172
+ */
2173
+ 'role': string;
2082
2174
  }
2083
2175
  /**
2084
2176
  * a Workspace File resource
@@ -2093,6 +2185,38 @@ export interface WorkspaceFile {
2093
2185
  */
2094
2186
  'fileName'?: string;
2095
2187
  }
2188
+ /**
2189
+ * the Workspace Role
2190
+ * @export
2191
+ * @interface WorkspaceRole
2192
+ */
2193
+ export interface WorkspaceRole {
2194
+ /**
2195
+ * the Workspace Role
2196
+ * @type {string}
2197
+ * @memberof WorkspaceRole
2198
+ */
2199
+ 'role': string;
2200
+ }
2201
+ /**
2202
+ * the workspace security information
2203
+ * @export
2204
+ * @interface WorkspaceSecurity
2205
+ */
2206
+ export interface WorkspaceSecurity {
2207
+ /**
2208
+ * the role by default
2209
+ * @type {string}
2210
+ * @memberof WorkspaceSecurity
2211
+ */
2212
+ 'default': string;
2213
+ /**
2214
+ * the list which can access this Workspace with detailed access control information
2215
+ * @type {Array<WorkspaceAccessControl>}
2216
+ * @memberof WorkspaceSecurity
2217
+ */
2218
+ 'accessControlList': Array<WorkspaceAccessControl>;
2219
+ }
2096
2220
  /**
2097
2221
  * the Workspace Solution configuration
2098
2222
  * @export
@@ -2120,37 +2244,6 @@ export interface WorkspaceSolution {
2120
2244
  [key: string]: object;
2121
2245
  };
2122
2246
  }
2123
- /**
2124
- * a Workspace user with roles
2125
- * @export
2126
- * @interface WorkspaceUser
2127
- */
2128
- export interface WorkspaceUser {
2129
- /**
2130
- * the User id
2131
- * @type {string}
2132
- * @memberof WorkspaceUser
2133
- */
2134
- 'id': string;
2135
- /**
2136
- * the User name
2137
- * @type {string}
2138
- * @memberof WorkspaceUser
2139
- */
2140
- 'name'?: string;
2141
- /**
2142
- * the User roles
2143
- * @type {Array<string>}
2144
- * @memberof WorkspaceUser
2145
- */
2146
- 'roles': Array<WorkspaceUserRolesEnum>;
2147
- }
2148
- export declare const WorkspaceUserRolesEnum: {
2149
- readonly Admin: "Admin";
2150
- readonly User: "User";
2151
- readonly Viewer: "Viewer";
2152
- };
2153
- export declare type WorkspaceUserRolesEnum = typeof WorkspaceUserRolesEnum[keyof typeof WorkspaceUserRolesEnum];
2154
2247
  /**
2155
2248
  * a Workspace Web Application
2156
2249
  * @export
@@ -2704,13 +2797,13 @@ export declare class DatasetApi extends BaseAPI {
2704
2797
  export declare const OrganizationApiAxiosParamCreator: (configuration?: Configuration) => {
2705
2798
  /**
2706
2799
  *
2707
- * @summary Add (or replace) users in the Organization specified
2800
+ * @summary Add a control access to the Organization
2708
2801
  * @param {string} organizationId the Organization identifier
2709
- * @param {Array<OrganizationUser>} organizationUser the Users to add. Any User with the same ID is overwritten
2802
+ * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
2710
2803
  * @param {*} [options] Override http request option.
2711
2804
  * @throws {RequiredError}
2712
2805
  */
2713
- addOrReplaceUsersInOrganization: (organizationId: string, organizationUser: Array<OrganizationUser>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2806
+ addOrganizationAccessControl: (organizationId: string, organizationAccessControl: OrganizationAccessControl, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2714
2807
  /**
2715
2808
  *
2716
2809
  * @summary List all Organizations
@@ -2726,6 +2819,47 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2726
2819
  * @throws {RequiredError}
2727
2820
  */
2728
2821
  findOrganizationById: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2822
+ /**
2823
+ *
2824
+ * @summary Get all permissions per components
2825
+ * @param {*} [options] Override http request option.
2826
+ * @throws {RequiredError}
2827
+ */
2828
+ getAllPermissions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2829
+ /**
2830
+ *
2831
+ * @summary Get a control access for the Organization
2832
+ * @param {string} organizationId the Organization identifier
2833
+ * @param {string} identityId the User identifier
2834
+ * @param {*} [options] Override http request option.
2835
+ * @throws {RequiredError}
2836
+ */
2837
+ getOrganizationAccessControl: (organizationId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2838
+ /**
2839
+ *
2840
+ * @summary Get the Organization permissions by given role
2841
+ * @param {string} organizationId the Organization identifier
2842
+ * @param {string} role the Role
2843
+ * @param {*} [options] Override http request option.
2844
+ * @throws {RequiredError}
2845
+ */
2846
+ getOrganizationPermissions: (organizationId: string, role: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2847
+ /**
2848
+ *
2849
+ * @summary Get the Organization security information
2850
+ * @param {string} organizationId the Organization identifier
2851
+ * @param {*} [options] Override http request option.
2852
+ * @throws {RequiredError}
2853
+ */
2854
+ getOrganizationSecurity: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2855
+ /**
2856
+ *
2857
+ * @summary Get the Organization security users list
2858
+ * @param {string} organizationId The Organization identifier
2859
+ * @param {*} [options] Override http request option.
2860
+ * @throws {RequiredError}
2861
+ */
2862
+ getOrganizationSecurityUsers: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2729
2863
  /**
2730
2864
  *
2731
2865
  * @summary Register a new organization
@@ -2736,21 +2870,22 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2736
2870
  registerOrganization: (organization: Organization, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2737
2871
  /**
2738
2872
  *
2739
- * @summary Remove all users from the Organization specified
2873
+ * @summary Remove the specified access from the given Organization
2740
2874
  * @param {string} organizationId the Organization identifier
2875
+ * @param {string} identityId the User identifier
2741
2876
  * @param {*} [options] Override http request option.
2742
2877
  * @throws {RequiredError}
2743
2878
  */
2744
- removeAllUsersInOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2879
+ removeOrganizationAccessControl: (organizationId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2745
2880
  /**
2746
2881
  *
2747
- * @summary Remove the specified user from the given Organization
2882
+ * @summary Set the Organization default security
2748
2883
  * @param {string} organizationId the Organization identifier
2749
- * @param {string} userId the User identifier
2884
+ * @param {OrganizationRole} organizationRole the new Organization default security.
2750
2885
  * @param {*} [options] Override http request option.
2751
2886
  * @throws {RequiredError}
2752
2887
  */
2753
- removeUserFromOrganization: (organizationId: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2888
+ setOrganizationDefaultSecurity: (organizationId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2754
2889
  /**
2755
2890
  *
2756
2891
  * @summary Unregister an organization
@@ -2768,6 +2903,16 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2768
2903
  * @throws {RequiredError}
2769
2904
  */
2770
2905
  updateOrganization: (organizationId: string, organization: Organization, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2906
+ /**
2907
+ *
2908
+ * @summary Update the specified access to User for an Organization
2909
+ * @param {string} organizationId the Organization identifier
2910
+ * @param {string} identityId the User identifier
2911
+ * @param {OrganizationRole} organizationRole The new Organization Access Control
2912
+ * @param {*} [options] Override http request option.
2913
+ * @throws {RequiredError}
2914
+ */
2915
+ updateOrganizationAccessControl: (organizationId: string, identityId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2771
2916
  /**
2772
2917
  *
2773
2918
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -2805,13 +2950,13 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2805
2950
  export declare const OrganizationApiFp: (configuration?: Configuration) => {
2806
2951
  /**
2807
2952
  *
2808
- * @summary Add (or replace) users in the Organization specified
2953
+ * @summary Add a control access to the Organization
2809
2954
  * @param {string} organizationId the Organization identifier
2810
- * @param {Array<OrganizationUser>} organizationUser the Users to add. Any User with the same ID is overwritten
2955
+ * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
2811
2956
  * @param {*} [options] Override http request option.
2812
2957
  * @throws {RequiredError}
2813
2958
  */
2814
- addOrReplaceUsersInOrganization(organizationId: string, organizationUser: Array<OrganizationUser>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrganizationUser>>>;
2959
+ addOrganizationAccessControl(organizationId: string, organizationAccessControl: OrganizationAccessControl, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAccessControl>>;
2815
2960
  /**
2816
2961
  *
2817
2962
  * @summary List all Organizations
@@ -2827,6 +2972,47 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2827
2972
  * @throws {RequiredError}
2828
2973
  */
2829
2974
  findOrganizationById(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
2975
+ /**
2976
+ *
2977
+ * @summary Get all permissions per components
2978
+ * @param {*} [options] Override http request option.
2979
+ * @throws {RequiredError}
2980
+ */
2981
+ getAllPermissions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ComponentRolePermissions>>>;
2982
+ /**
2983
+ *
2984
+ * @summary Get a control access for the Organization
2985
+ * @param {string} organizationId the Organization identifier
2986
+ * @param {string} identityId the User identifier
2987
+ * @param {*} [options] Override http request option.
2988
+ * @throws {RequiredError}
2989
+ */
2990
+ getOrganizationAccessControl(organizationId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAccessControl>>;
2991
+ /**
2992
+ *
2993
+ * @summary Get the Organization permissions by given role
2994
+ * @param {string} organizationId the Organization identifier
2995
+ * @param {string} role the Role
2996
+ * @param {*} [options] Override http request option.
2997
+ * @throws {RequiredError}
2998
+ */
2999
+ getOrganizationPermissions(organizationId: string, role: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3000
+ /**
3001
+ *
3002
+ * @summary Get the Organization security information
3003
+ * @param {string} organizationId the Organization identifier
3004
+ * @param {*} [options] Override http request option.
3005
+ * @throws {RequiredError}
3006
+ */
3007
+ getOrganizationSecurity(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationSecurity>>;
3008
+ /**
3009
+ *
3010
+ * @summary Get the Organization security users list
3011
+ * @param {string} organizationId The Organization identifier
3012
+ * @param {*} [options] Override http request option.
3013
+ * @throws {RequiredError}
3014
+ */
3015
+ getOrganizationSecurityUsers(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
2830
3016
  /**
2831
3017
  *
2832
3018
  * @summary Register a new organization
@@ -2837,21 +3023,22 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2837
3023
  registerOrganization(organization: Organization, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
2838
3024
  /**
2839
3025
  *
2840
- * @summary Remove all users from the Organization specified
3026
+ * @summary Remove the specified access from the given Organization
2841
3027
  * @param {string} organizationId the Organization identifier
3028
+ * @param {string} identityId the User identifier
2842
3029
  * @param {*} [options] Override http request option.
2843
3030
  * @throws {RequiredError}
2844
3031
  */
2845
- removeAllUsersInOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3032
+ removeOrganizationAccessControl(organizationId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2846
3033
  /**
2847
3034
  *
2848
- * @summary Remove the specified user from the given Organization
3035
+ * @summary Set the Organization default security
2849
3036
  * @param {string} organizationId the Organization identifier
2850
- * @param {string} userId the User identifier
3037
+ * @param {OrganizationRole} organizationRole the new Organization default security.
2851
3038
  * @param {*} [options] Override http request option.
2852
3039
  * @throws {RequiredError}
2853
3040
  */
2854
- removeUserFromOrganization(organizationId: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3041
+ setOrganizationDefaultSecurity(organizationId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationSecurity>>;
2855
3042
  /**
2856
3043
  *
2857
3044
  * @summary Unregister an organization
@@ -2869,6 +3056,16 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2869
3056
  * @throws {RequiredError}
2870
3057
  */
2871
3058
  updateOrganization(organizationId: string, organization: Organization, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>>;
3059
+ /**
3060
+ *
3061
+ * @summary Update the specified access to User for an Organization
3062
+ * @param {string} organizationId the Organization identifier
3063
+ * @param {string} identityId the User identifier
3064
+ * @param {OrganizationRole} organizationRole The new Organization Access Control
3065
+ * @param {*} [options] Override http request option.
3066
+ * @throws {RequiredError}
3067
+ */
3068
+ updateOrganizationAccessControl(organizationId: string, identityId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationAccessControl>>;
2872
3069
  /**
2873
3070
  *
2874
3071
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -2908,13 +3105,13 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2908
3105
  export declare const OrganizationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2909
3106
  /**
2910
3107
  *
2911
- * @summary Add (or replace) users in the Organization specified
3108
+ * @summary Add a control access to the Organization
2912
3109
  * @param {string} organizationId the Organization identifier
2913
- * @param {Array<OrganizationUser>} organizationUser the Users to add. Any User with the same ID is overwritten
3110
+ * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
2914
3111
  * @param {*} [options] Override http request option.
2915
3112
  * @throws {RequiredError}
2916
3113
  */
2917
- addOrReplaceUsersInOrganization(organizationId: string, organizationUser: Array<OrganizationUser>, options?: any): AxiosPromise<Array<OrganizationUser>>;
3114
+ addOrganizationAccessControl(organizationId: string, organizationAccessControl: OrganizationAccessControl, options?: any): AxiosPromise<OrganizationAccessControl>;
2918
3115
  /**
2919
3116
  *
2920
3117
  * @summary List all Organizations
@@ -2932,58 +3129,110 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
2932
3129
  findOrganizationById(organizationId: string, options?: any): AxiosPromise<Organization>;
2933
3130
  /**
2934
3131
  *
2935
- * @summary Register a new organization
2936
- * @param {Organization} organization the Organization to register
3132
+ * @summary Get all permissions per components
2937
3133
  * @param {*} [options] Override http request option.
2938
3134
  * @throws {RequiredError}
2939
3135
  */
2940
- registerOrganization(organization: Organization, options?: any): AxiosPromise<Organization>;
3136
+ getAllPermissions(options?: any): AxiosPromise<Array<ComponentRolePermissions>>;
2941
3137
  /**
2942
3138
  *
2943
- * @summary Remove all users from the Organization specified
3139
+ * @summary Get a control access for the Organization
2944
3140
  * @param {string} organizationId the Organization identifier
3141
+ * @param {string} identityId the User identifier
2945
3142
  * @param {*} [options] Override http request option.
2946
3143
  * @throws {RequiredError}
2947
3144
  */
2948
- removeAllUsersInOrganization(organizationId: string, options?: any): AxiosPromise<void>;
3145
+ getOrganizationAccessControl(organizationId: string, identityId: string, options?: any): AxiosPromise<OrganizationAccessControl>;
2949
3146
  /**
2950
3147
  *
2951
- * @summary Remove the specified user from the given Organization
3148
+ * @summary Get the Organization permissions by given role
2952
3149
  * @param {string} organizationId the Organization identifier
2953
- * @param {string} userId the User identifier
3150
+ * @param {string} role the Role
2954
3151
  * @param {*} [options] Override http request option.
2955
3152
  * @throws {RequiredError}
2956
3153
  */
2957
- removeUserFromOrganization(organizationId: string, userId: string, options?: any): AxiosPromise<void>;
3154
+ getOrganizationPermissions(organizationId: string, role: string, options?: any): AxiosPromise<Array<string>>;
2958
3155
  /**
2959
3156
  *
2960
- * @summary Unregister an organization
3157
+ * @summary Get the Organization security information
2961
3158
  * @param {string} organizationId the Organization identifier
2962
3159
  * @param {*} [options] Override http request option.
2963
3160
  * @throws {RequiredError}
2964
3161
  */
2965
- unregisterOrganization(organizationId: string, options?: any): AxiosPromise<void>;
3162
+ getOrganizationSecurity(organizationId: string, options?: any): AxiosPromise<OrganizationSecurity>;
2966
3163
  /**
2967
3164
  *
2968
- * @summary Update an Organization
2969
- * @param {string} organizationId the Organization identifier
2970
- * @param {Organization} organization the new Organization details
3165
+ * @summary Get the Organization security users list
3166
+ * @param {string} organizationId The Organization identifier
2971
3167
  * @param {*} [options] Override http request option.
2972
3168
  * @throws {RequiredError}
2973
3169
  */
2974
- updateOrganization(organizationId: string, organization: Organization, options?: any): AxiosPromise<Organization>;
3170
+ getOrganizationSecurityUsers(organizationId: string, options?: any): AxiosPromise<Array<string>>;
2975
3171
  /**
2976
3172
  *
2977
- * @summary Update the solutions container registry configuration for the Organization specified
2978
- * @param {string} organizationId the Organization identifier
2979
- * @param {OrganizationService} organizationService the new solutions container registry configuration to use
3173
+ * @summary Register a new organization
3174
+ * @param {Organization} organization the Organization to register
2980
3175
  * @param {*} [options] Override http request option.
2981
3176
  * @throws {RequiredError}
2982
3177
  */
2983
- updateSolutionsContainerRegistryByOrganizationId(organizationId: string, organizationService: OrganizationService, options?: any): AxiosPromise<OrganizationService>;
3178
+ registerOrganization(organization: Organization, options?: any): AxiosPromise<Organization>;
2984
3179
  /**
2985
3180
  *
2986
- * @summary Update storage configuration for the Organization specified
3181
+ * @summary Remove the specified access from the given Organization
3182
+ * @param {string} organizationId the Organization identifier
3183
+ * @param {string} identityId the User identifier
3184
+ * @param {*} [options] Override http request option.
3185
+ * @throws {RequiredError}
3186
+ */
3187
+ removeOrganizationAccessControl(organizationId: string, identityId: string, options?: any): AxiosPromise<void>;
3188
+ /**
3189
+ *
3190
+ * @summary Set the Organization default security
3191
+ * @param {string} organizationId the Organization identifier
3192
+ * @param {OrganizationRole} organizationRole the new Organization default security.
3193
+ * @param {*} [options] Override http request option.
3194
+ * @throws {RequiredError}
3195
+ */
3196
+ setOrganizationDefaultSecurity(organizationId: string, organizationRole: OrganizationRole, options?: any): AxiosPromise<OrganizationSecurity>;
3197
+ /**
3198
+ *
3199
+ * @summary Unregister an organization
3200
+ * @param {string} organizationId the Organization identifier
3201
+ * @param {*} [options] Override http request option.
3202
+ * @throws {RequiredError}
3203
+ */
3204
+ unregisterOrganization(organizationId: string, options?: any): AxiosPromise<void>;
3205
+ /**
3206
+ *
3207
+ * @summary Update an Organization
3208
+ * @param {string} organizationId the Organization identifier
3209
+ * @param {Organization} organization the new Organization details
3210
+ * @param {*} [options] Override http request option.
3211
+ * @throws {RequiredError}
3212
+ */
3213
+ updateOrganization(organizationId: string, organization: Organization, options?: any): AxiosPromise<Organization>;
3214
+ /**
3215
+ *
3216
+ * @summary Update the specified access to User for an Organization
3217
+ * @param {string} organizationId the Organization identifier
3218
+ * @param {string} identityId the User identifier
3219
+ * @param {OrganizationRole} organizationRole The new Organization Access Control
3220
+ * @param {*} [options] Override http request option.
3221
+ * @throws {RequiredError}
3222
+ */
3223
+ updateOrganizationAccessControl(organizationId: string, identityId: string, organizationRole: OrganizationRole, options?: any): AxiosPromise<OrganizationAccessControl>;
3224
+ /**
3225
+ *
3226
+ * @summary Update the solutions container registry configuration for the Organization specified
3227
+ * @param {string} organizationId the Organization identifier
3228
+ * @param {OrganizationService} organizationService the new solutions container registry configuration to use
3229
+ * @param {*} [options] Override http request option.
3230
+ * @throws {RequiredError}
3231
+ */
3232
+ updateSolutionsContainerRegistryByOrganizationId(organizationId: string, organizationService: OrganizationService, options?: any): AxiosPromise<OrganizationService>;
3233
+ /**
3234
+ *
3235
+ * @summary Update storage configuration for the Organization specified
2987
3236
  * @param {string} organizationId the Organization identifier
2988
3237
  * @param {OrganizationService} organizationService the new Storage configuration to use
2989
3238
  * @param {*} [options] Override http request option.
@@ -3013,14 +3262,14 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
3013
3262
  export declare class OrganizationApi extends BaseAPI {
3014
3263
  /**
3015
3264
  *
3016
- * @summary Add (or replace) users in the Organization specified
3265
+ * @summary Add a control access to the Organization
3017
3266
  * @param {string} organizationId the Organization identifier
3018
- * @param {Array<OrganizationUser>} organizationUser the Users to add. Any User with the same ID is overwritten
3267
+ * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
3019
3268
  * @param {*} [options] Override http request option.
3020
3269
  * @throws {RequiredError}
3021
3270
  * @memberof OrganizationApi
3022
3271
  */
3023
- addOrReplaceUsersInOrganization(organizationId: string, organizationUser: Array<OrganizationUser>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationUser[]>>;
3272
+ addOrganizationAccessControl(organizationId: string, organizationAccessControl: OrganizationAccessControl, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationAccessControl>>;
3024
3273
  /**
3025
3274
  *
3026
3275
  * @summary List all Organizations
@@ -3038,6 +3287,52 @@ export declare class OrganizationApi extends BaseAPI {
3038
3287
  * @memberof OrganizationApi
3039
3288
  */
3040
3289
  findOrganizationById(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization>>;
3290
+ /**
3291
+ *
3292
+ * @summary Get all permissions per components
3293
+ * @param {*} [options] Override http request option.
3294
+ * @throws {RequiredError}
3295
+ * @memberof OrganizationApi
3296
+ */
3297
+ getAllPermissions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ComponentRolePermissions[]>>;
3298
+ /**
3299
+ *
3300
+ * @summary Get a control access for the Organization
3301
+ * @param {string} organizationId the Organization identifier
3302
+ * @param {string} identityId the User identifier
3303
+ * @param {*} [options] Override http request option.
3304
+ * @throws {RequiredError}
3305
+ * @memberof OrganizationApi
3306
+ */
3307
+ getOrganizationAccessControl(organizationId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationAccessControl>>;
3308
+ /**
3309
+ *
3310
+ * @summary Get the Organization permissions by given role
3311
+ * @param {string} organizationId the Organization identifier
3312
+ * @param {string} role the Role
3313
+ * @param {*} [options] Override http request option.
3314
+ * @throws {RequiredError}
3315
+ * @memberof OrganizationApi
3316
+ */
3317
+ getOrganizationPermissions(organizationId: string, role: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
3318
+ /**
3319
+ *
3320
+ * @summary Get the Organization security information
3321
+ * @param {string} organizationId the Organization identifier
3322
+ * @param {*} [options] Override http request option.
3323
+ * @throws {RequiredError}
3324
+ * @memberof OrganizationApi
3325
+ */
3326
+ getOrganizationSecurity(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationSecurity>>;
3327
+ /**
3328
+ *
3329
+ * @summary Get the Organization security users list
3330
+ * @param {string} organizationId The Organization identifier
3331
+ * @param {*} [options] Override http request option.
3332
+ * @throws {RequiredError}
3333
+ * @memberof OrganizationApi
3334
+ */
3335
+ getOrganizationSecurityUsers(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
3041
3336
  /**
3042
3337
  *
3043
3338
  * @summary Register a new organization
@@ -3049,23 +3344,24 @@ export declare class OrganizationApi extends BaseAPI {
3049
3344
  registerOrganization(organization: Organization, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization>>;
3050
3345
  /**
3051
3346
  *
3052
- * @summary Remove all users from the Organization specified
3347
+ * @summary Remove the specified access from the given Organization
3053
3348
  * @param {string} organizationId the Organization identifier
3349
+ * @param {string} identityId the User identifier
3054
3350
  * @param {*} [options] Override http request option.
3055
3351
  * @throws {RequiredError}
3056
3352
  * @memberof OrganizationApi
3057
3353
  */
3058
- removeAllUsersInOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3354
+ removeOrganizationAccessControl(organizationId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3059
3355
  /**
3060
3356
  *
3061
- * @summary Remove the specified user from the given Organization
3357
+ * @summary Set the Organization default security
3062
3358
  * @param {string} organizationId the Organization identifier
3063
- * @param {string} userId the User identifier
3359
+ * @param {OrganizationRole} organizationRole the new Organization default security.
3064
3360
  * @param {*} [options] Override http request option.
3065
3361
  * @throws {RequiredError}
3066
3362
  * @memberof OrganizationApi
3067
3363
  */
3068
- removeUserFromOrganization(organizationId: string, userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3364
+ setOrganizationDefaultSecurity(organizationId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationSecurity>>;
3069
3365
  /**
3070
3366
  *
3071
3367
  * @summary Unregister an organization
@@ -3085,6 +3381,17 @@ export declare class OrganizationApi extends BaseAPI {
3085
3381
  * @memberof OrganizationApi
3086
3382
  */
3087
3383
  updateOrganization(organizationId: string, organization: Organization, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization>>;
3384
+ /**
3385
+ *
3386
+ * @summary Update the specified access to User for an Organization
3387
+ * @param {string} organizationId the Organization identifier
3388
+ * @param {string} identityId the User identifier
3389
+ * @param {OrganizationRole} organizationRole The new Organization Access Control
3390
+ * @param {*} [options] Override http request option.
3391
+ * @throws {RequiredError}
3392
+ * @memberof OrganizationApi
3393
+ */
3394
+ updateOrganizationAccessControl(organizationId: string, identityId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationAccessControl>>;
3088
3395
  /**
3089
3396
  *
3090
3397
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -3138,15 +3445,15 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3138
3445
  addOrReplaceScenarioParameterValues: (organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3139
3446
  /**
3140
3447
  *
3141
- * @summary Add (or replace) users in the Scenario specified
3448
+ * @summary Add a control access to the Scenario
3142
3449
  * @param {string} organizationId the Organization identifier
3143
3450
  * @param {string} workspaceId the Workspace identifier
3144
3451
  * @param {string} scenarioId the Scenario identifier
3145
- * @param {Array<ScenarioUser>} scenarioUser the Users to add. Any User with the same ID is overwritten
3452
+ * @param {ScenarioAccessControl} scenarioAccessControl the new Scenario security access to add.
3146
3453
  * @param {*} [options] Override http request option.
3147
3454
  * @throws {RequiredError}
3148
3455
  */
3149
- addOrReplaceUsersInScenario: (organizationId: string, workspaceId: string, scenarioId: string, scenarioUser: Array<ScenarioUser>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3456
+ addScenarioAccessControl: (organizationId: string, workspaceId: string, scenarioId: string, scenarioAccessControl: ScenarioAccessControl, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3150
3457
  /**
3151
3458
  *
3152
3459
  * @summary Compare the Scenario with another one and returns the difference for parameters values
@@ -3227,6 +3534,17 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3227
3534
  * @throws {RequiredError}
3228
3535
  */
3229
3536
  findScenarioById: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3537
+ /**
3538
+ *
3539
+ * @summary Get a control access for the Scenario
3540
+ * @param {string} organizationId the Organization identifier
3541
+ * @param {string} workspaceId the Workspace identifier
3542
+ * @param {string} scenarioId the Scenario identifier
3543
+ * @param {string} identityId the User identifier
3544
+ * @param {*} [options] Override http request option.
3545
+ * @throws {RequiredError}
3546
+ */
3547
+ getScenarioAccessControl: (organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3230
3548
  /**
3231
3549
  *
3232
3550
  * @summary Get Scenario data download URL
@@ -3238,6 +3556,36 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3238
3556
  * @throws {RequiredError}
3239
3557
  */
3240
3558
  getScenarioDataDownloadJobInfo: (organizationId: string, workspaceId: string, scenarioId: string, downloadId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3559
+ /**
3560
+ *
3561
+ * @summary Get the Scenario permission by given role
3562
+ * @param {string} organizationId the Organization identifier
3563
+ * @param {string} workspaceId the Workspace identifier
3564
+ * @param {string} role the Role
3565
+ * @param {*} [options] Override http request option.
3566
+ * @throws {RequiredError}
3567
+ */
3568
+ getScenarioPermissions: (organizationId: string, workspaceId: string, role: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3569
+ /**
3570
+ *
3571
+ * @summary Get the Scenario security information
3572
+ * @param {string} organizationId the Organization identifier
3573
+ * @param {string} workspaceId the Workspace identifier
3574
+ * @param {string} scenarioId the Scenario identifier
3575
+ * @param {*} [options] Override http request option.
3576
+ * @throws {RequiredError}
3577
+ */
3578
+ getScenarioSecurity: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3579
+ /**
3580
+ *
3581
+ * @summary Get the Scenario security users list
3582
+ * @param {string} organizationId the Organization identifier
3583
+ * @param {string} workspaceId the Workspace identifier
3584
+ * @param {string} scenarioId the Scenario identifier
3585
+ * @param {*} [options] Override http request option.
3586
+ * @throws {RequiredError}
3587
+ */
3588
+ getScenarioSecurityUsers: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3241
3589
  /**
3242
3590
  *
3243
3591
  * @summary Get the validation status of an scenario
@@ -3269,25 +3617,26 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3269
3617
  removeAllScenarioParameterValues: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3270
3618
  /**
3271
3619
  *
3272
- * @summary Remove all users from the Scenario specified
3620
+ * @summary Remove the specified access from the given Organization Scenario
3273
3621
  * @param {string} organizationId the Organization identifier
3274
3622
  * @param {string} workspaceId the Workspace identifier
3275
3623
  * @param {string} scenarioId the Scenario identifier
3624
+ * @param {string} identityId the User identifier
3276
3625
  * @param {*} [options] Override http request option.
3277
3626
  * @throws {RequiredError}
3278
3627
  */
3279
- removeAllUsersOfScenario: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3628
+ removeScenarioAccessControl: (organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3280
3629
  /**
3281
3630
  *
3282
- * @summary Remove the specified user from the given Scenario
3631
+ * @summary Set the Scenario default security
3283
3632
  * @param {string} organizationId the Organization identifier
3284
3633
  * @param {string} workspaceId the Workspace identifier
3285
3634
  * @param {string} scenarioId the Scenario identifier
3286
- * @param {string} userId the User identifier
3635
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
3287
3636
  * @param {*} [options] Override http request option.
3288
3637
  * @throws {RequiredError}
3289
3638
  */
3290
- removeUserFromScenario: (organizationId: string, workspaceId: string, scenarioId: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3639
+ setScenarioDefaultSecurity: (organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3291
3640
  /**
3292
3641
  *
3293
3642
  * @summary Update a scenario
@@ -3299,6 +3648,18 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3299
3648
  * @throws {RequiredError}
3300
3649
  */
3301
3650
  updateScenario: (organizationId: string, workspaceId: string, scenarioId: string, scenario: Scenario, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3651
+ /**
3652
+ *
3653
+ * @summary Update the specified access to User for a Scenario
3654
+ * @param {string} organizationId the Organization identifier
3655
+ * @param {string} workspaceId the Workspace identifier
3656
+ * @param {string} scenarioId the Scenario identifier
3657
+ * @param {string} identityId the User identifier
3658
+ * @param {ScenarioRole} scenarioRole The new Scenario Access Control
3659
+ * @param {*} [options] Override http request option.
3660
+ * @throws {RequiredError}
3661
+ */
3662
+ updateScenarioAccessControl: (organizationId: string, workspaceId: string, scenarioId: string, identityId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3302
3663
  };
3303
3664
  /**
3304
3665
  * ScenarioApi - functional programming interface
@@ -3318,15 +3679,15 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3318
3679
  addOrReplaceScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ScenarioRunTemplateParameterValue>>>;
3319
3680
  /**
3320
3681
  *
3321
- * @summary Add (or replace) users in the Scenario specified
3682
+ * @summary Add a control access to the Scenario
3322
3683
  * @param {string} organizationId the Organization identifier
3323
3684
  * @param {string} workspaceId the Workspace identifier
3324
3685
  * @param {string} scenarioId the Scenario identifier
3325
- * @param {Array<ScenarioUser>} scenarioUser the Users to add. Any User with the same ID is overwritten
3686
+ * @param {ScenarioAccessControl} scenarioAccessControl the new Scenario security access to add.
3326
3687
  * @param {*} [options] Override http request option.
3327
3688
  * @throws {RequiredError}
3328
3689
  */
3329
- addOrReplaceUsersInScenario(organizationId: string, workspaceId: string, scenarioId: string, scenarioUser: Array<ScenarioUser>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ScenarioUser>>>;
3690
+ addScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, scenarioAccessControl: ScenarioAccessControl, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioAccessControl>>;
3330
3691
  /**
3331
3692
  *
3332
3693
  * @summary Compare the Scenario with another one and returns the difference for parameters values
@@ -3407,6 +3768,17 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3407
3768
  * @throws {RequiredError}
3408
3769
  */
3409
3770
  findScenarioById(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Scenario>>;
3771
+ /**
3772
+ *
3773
+ * @summary Get a control access for the Scenario
3774
+ * @param {string} organizationId the Organization identifier
3775
+ * @param {string} workspaceId the Workspace identifier
3776
+ * @param {string} scenarioId the Scenario identifier
3777
+ * @param {string} identityId the User identifier
3778
+ * @param {*} [options] Override http request option.
3779
+ * @throws {RequiredError}
3780
+ */
3781
+ getScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioAccessControl>>;
3410
3782
  /**
3411
3783
  *
3412
3784
  * @summary Get Scenario data download URL
@@ -3418,6 +3790,36 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3418
3790
  * @throws {RequiredError}
3419
3791
  */
3420
3792
  getScenarioDataDownloadJobInfo(organizationId: string, workspaceId: string, scenarioId: string, downloadId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioDataDownloadInfo>>;
3793
+ /**
3794
+ *
3795
+ * @summary Get the Scenario permission by given role
3796
+ * @param {string} organizationId the Organization identifier
3797
+ * @param {string} workspaceId the Workspace identifier
3798
+ * @param {string} role the Role
3799
+ * @param {*} [options] Override http request option.
3800
+ * @throws {RequiredError}
3801
+ */
3802
+ getScenarioPermissions(organizationId: string, workspaceId: string, role: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3803
+ /**
3804
+ *
3805
+ * @summary Get the Scenario security information
3806
+ * @param {string} organizationId the Organization identifier
3807
+ * @param {string} workspaceId the Workspace identifier
3808
+ * @param {string} scenarioId the Scenario identifier
3809
+ * @param {*} [options] Override http request option.
3810
+ * @throws {RequiredError}
3811
+ */
3812
+ getScenarioSecurity(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioSecurity>>;
3813
+ /**
3814
+ *
3815
+ * @summary Get the Scenario security users list
3816
+ * @param {string} organizationId the Organization identifier
3817
+ * @param {string} workspaceId the Workspace identifier
3818
+ * @param {string} scenarioId the Scenario identifier
3819
+ * @param {*} [options] Override http request option.
3820
+ * @throws {RequiredError}
3821
+ */
3822
+ getScenarioSecurityUsers(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
3421
3823
  /**
3422
3824
  *
3423
3825
  * @summary Get the validation status of an scenario
@@ -3449,25 +3851,26 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3449
3851
  removeAllScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3450
3852
  /**
3451
3853
  *
3452
- * @summary Remove all users from the Scenario specified
3854
+ * @summary Remove the specified access from the given Organization Scenario
3453
3855
  * @param {string} organizationId the Organization identifier
3454
3856
  * @param {string} workspaceId the Workspace identifier
3455
3857
  * @param {string} scenarioId the Scenario identifier
3858
+ * @param {string} identityId the User identifier
3456
3859
  * @param {*} [options] Override http request option.
3457
3860
  * @throws {RequiredError}
3458
3861
  */
3459
- removeAllUsersOfScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3862
+ removeScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3460
3863
  /**
3461
3864
  *
3462
- * @summary Remove the specified user from the given Scenario
3865
+ * @summary Set the Scenario default security
3463
3866
  * @param {string} organizationId the Organization identifier
3464
3867
  * @param {string} workspaceId the Workspace identifier
3465
3868
  * @param {string} scenarioId the Scenario identifier
3466
- * @param {string} userId the User identifier
3869
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
3467
3870
  * @param {*} [options] Override http request option.
3468
3871
  * @throws {RequiredError}
3469
3872
  */
3470
- removeUserFromScenario(organizationId: string, workspaceId: string, scenarioId: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3873
+ setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioSecurity>>;
3471
3874
  /**
3472
3875
  *
3473
3876
  * @summary Update a scenario
@@ -3479,6 +3882,18 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3479
3882
  * @throws {RequiredError}
3480
3883
  */
3481
3884
  updateScenario(organizationId: string, workspaceId: string, scenarioId: string, scenario: Scenario, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Scenario>>;
3885
+ /**
3886
+ *
3887
+ * @summary Update the specified access to User for a Scenario
3888
+ * @param {string} organizationId the Organization identifier
3889
+ * @param {string} workspaceId the Workspace identifier
3890
+ * @param {string} scenarioId the Scenario identifier
3891
+ * @param {string} identityId the User identifier
3892
+ * @param {ScenarioRole} scenarioRole The new Scenario Access Control
3893
+ * @param {*} [options] Override http request option.
3894
+ * @throws {RequiredError}
3895
+ */
3896
+ updateScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioAccessControl>>;
3482
3897
  };
3483
3898
  /**
3484
3899
  * ScenarioApi - factory interface
@@ -3498,15 +3913,15 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3498
3913
  addOrReplaceScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: any): AxiosPromise<Array<ScenarioRunTemplateParameterValue>>;
3499
3914
  /**
3500
3915
  *
3501
- * @summary Add (or replace) users in the Scenario specified
3916
+ * @summary Add a control access to the Scenario
3502
3917
  * @param {string} organizationId the Organization identifier
3503
3918
  * @param {string} workspaceId the Workspace identifier
3504
3919
  * @param {string} scenarioId the Scenario identifier
3505
- * @param {Array<ScenarioUser>} scenarioUser the Users to add. Any User with the same ID is overwritten
3920
+ * @param {ScenarioAccessControl} scenarioAccessControl the new Scenario security access to add.
3506
3921
  * @param {*} [options] Override http request option.
3507
3922
  * @throws {RequiredError}
3508
3923
  */
3509
- addOrReplaceUsersInScenario(organizationId: string, workspaceId: string, scenarioId: string, scenarioUser: Array<ScenarioUser>, options?: any): AxiosPromise<Array<ScenarioUser>>;
3924
+ addScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, scenarioAccessControl: ScenarioAccessControl, options?: any): AxiosPromise<ScenarioAccessControl>;
3510
3925
  /**
3511
3926
  *
3512
3927
  * @summary Compare the Scenario with another one and returns the difference for parameters values
@@ -3587,6 +4002,17 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3587
4002
  * @throws {RequiredError}
3588
4003
  */
3589
4004
  findScenarioById(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<Scenario>;
4005
+ /**
4006
+ *
4007
+ * @summary Get a control access for the Scenario
4008
+ * @param {string} organizationId the Organization identifier
4009
+ * @param {string} workspaceId the Workspace identifier
4010
+ * @param {string} scenarioId the Scenario identifier
4011
+ * @param {string} identityId the User identifier
4012
+ * @param {*} [options] Override http request option.
4013
+ * @throws {RequiredError}
4014
+ */
4015
+ getScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: any): AxiosPromise<ScenarioAccessControl>;
3590
4016
  /**
3591
4017
  *
3592
4018
  * @summary Get Scenario data download URL
@@ -3598,6 +4024,36 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3598
4024
  * @throws {RequiredError}
3599
4025
  */
3600
4026
  getScenarioDataDownloadJobInfo(organizationId: string, workspaceId: string, scenarioId: string, downloadId: string, options?: any): AxiosPromise<ScenarioDataDownloadInfo>;
4027
+ /**
4028
+ *
4029
+ * @summary Get the Scenario permission by given role
4030
+ * @param {string} organizationId the Organization identifier
4031
+ * @param {string} workspaceId the Workspace identifier
4032
+ * @param {string} role the Role
4033
+ * @param {*} [options] Override http request option.
4034
+ * @throws {RequiredError}
4035
+ */
4036
+ getScenarioPermissions(organizationId: string, workspaceId: string, role: string, options?: any): AxiosPromise<Array<string>>;
4037
+ /**
4038
+ *
4039
+ * @summary Get the Scenario security information
4040
+ * @param {string} organizationId the Organization identifier
4041
+ * @param {string} workspaceId the Workspace identifier
4042
+ * @param {string} scenarioId the Scenario identifier
4043
+ * @param {*} [options] Override http request option.
4044
+ * @throws {RequiredError}
4045
+ */
4046
+ getScenarioSecurity(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<ScenarioSecurity>;
4047
+ /**
4048
+ *
4049
+ * @summary Get the Scenario security users list
4050
+ * @param {string} organizationId the Organization identifier
4051
+ * @param {string} workspaceId the Workspace identifier
4052
+ * @param {string} scenarioId the Scenario identifier
4053
+ * @param {*} [options] Override http request option.
4054
+ * @throws {RequiredError}
4055
+ */
4056
+ getScenarioSecurityUsers(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<Array<string>>;
3601
4057
  /**
3602
4058
  *
3603
4059
  * @summary Get the validation status of an scenario
@@ -3629,25 +4085,26 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3629
4085
  removeAllScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<void>;
3630
4086
  /**
3631
4087
  *
3632
- * @summary Remove all users from the Scenario specified
4088
+ * @summary Remove the specified access from the given Organization Scenario
3633
4089
  * @param {string} organizationId the Organization identifier
3634
4090
  * @param {string} workspaceId the Workspace identifier
3635
4091
  * @param {string} scenarioId the Scenario identifier
4092
+ * @param {string} identityId the User identifier
3636
4093
  * @param {*} [options] Override http request option.
3637
4094
  * @throws {RequiredError}
3638
4095
  */
3639
- removeAllUsersOfScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<void>;
4096
+ removeScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: any): AxiosPromise<void>;
3640
4097
  /**
3641
4098
  *
3642
- * @summary Remove the specified user from the given Scenario
4099
+ * @summary Set the Scenario default security
3643
4100
  * @param {string} organizationId the Organization identifier
3644
4101
  * @param {string} workspaceId the Workspace identifier
3645
4102
  * @param {string} scenarioId the Scenario identifier
3646
- * @param {string} userId the User identifier
4103
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
3647
4104
  * @param {*} [options] Override http request option.
3648
4105
  * @throws {RequiredError}
3649
4106
  */
3650
- removeUserFromScenario(organizationId: string, workspaceId: string, scenarioId: string, userId: string, options?: any): AxiosPromise<void>;
4107
+ setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: any): AxiosPromise<ScenarioSecurity>;
3651
4108
  /**
3652
4109
  *
3653
4110
  * @summary Update a scenario
@@ -3659,6 +4116,18 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3659
4116
  * @throws {RequiredError}
3660
4117
  */
3661
4118
  updateScenario(organizationId: string, workspaceId: string, scenarioId: string, scenario: Scenario, options?: any): AxiosPromise<Scenario>;
4119
+ /**
4120
+ *
4121
+ * @summary Update the specified access to User for a Scenario
4122
+ * @param {string} organizationId the Organization identifier
4123
+ * @param {string} workspaceId the Workspace identifier
4124
+ * @param {string} scenarioId the Scenario identifier
4125
+ * @param {string} identityId the User identifier
4126
+ * @param {ScenarioRole} scenarioRole The new Scenario Access Control
4127
+ * @param {*} [options] Override http request option.
4128
+ * @throws {RequiredError}
4129
+ */
4130
+ updateScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, scenarioRole: ScenarioRole, options?: any): AxiosPromise<ScenarioAccessControl>;
3662
4131
  };
3663
4132
  /**
3664
4133
  * ScenarioApi - object-oriented interface
@@ -3681,16 +4150,16 @@ export declare class ScenarioApi extends BaseAPI {
3681
4150
  addOrReplaceScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioRunTemplateParameterValue[]>>;
3682
4151
  /**
3683
4152
  *
3684
- * @summary Add (or replace) users in the Scenario specified
4153
+ * @summary Add a control access to the Scenario
3685
4154
  * @param {string} organizationId the Organization identifier
3686
4155
  * @param {string} workspaceId the Workspace identifier
3687
4156
  * @param {string} scenarioId the Scenario identifier
3688
- * @param {Array<ScenarioUser>} scenarioUser the Users to add. Any User with the same ID is overwritten
4157
+ * @param {ScenarioAccessControl} scenarioAccessControl the new Scenario security access to add.
3689
4158
  * @param {*} [options] Override http request option.
3690
4159
  * @throws {RequiredError}
3691
4160
  * @memberof ScenarioApi
3692
4161
  */
3693
- addOrReplaceUsersInScenario(organizationId: string, workspaceId: string, scenarioId: string, scenarioUser: Array<ScenarioUser>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioUser[]>>;
4162
+ addScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, scenarioAccessControl: ScenarioAccessControl, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioAccessControl>>;
3694
4163
  /**
3695
4164
  *
3696
4165
  * @summary Compare the Scenario with another one and returns the difference for parameters values
@@ -3779,6 +4248,18 @@ export declare class ScenarioApi extends BaseAPI {
3779
4248
  * @memberof ScenarioApi
3780
4249
  */
3781
4250
  findScenarioById(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario>>;
4251
+ /**
4252
+ *
4253
+ * @summary Get a control access for the Scenario
4254
+ * @param {string} organizationId the Organization identifier
4255
+ * @param {string} workspaceId the Workspace identifier
4256
+ * @param {string} scenarioId the Scenario identifier
4257
+ * @param {string} identityId the User identifier
4258
+ * @param {*} [options] Override http request option.
4259
+ * @throws {RequiredError}
4260
+ * @memberof ScenarioApi
4261
+ */
4262
+ getScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioAccessControl>>;
3782
4263
  /**
3783
4264
  *
3784
4265
  * @summary Get Scenario data download URL
@@ -3791,6 +4272,39 @@ export declare class ScenarioApi extends BaseAPI {
3791
4272
  * @memberof ScenarioApi
3792
4273
  */
3793
4274
  getScenarioDataDownloadJobInfo(organizationId: string, workspaceId: string, scenarioId: string, downloadId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioDataDownloadInfo>>;
4275
+ /**
4276
+ *
4277
+ * @summary Get the Scenario permission by given role
4278
+ * @param {string} organizationId the Organization identifier
4279
+ * @param {string} workspaceId the Workspace identifier
4280
+ * @param {string} role the Role
4281
+ * @param {*} [options] Override http request option.
4282
+ * @throws {RequiredError}
4283
+ * @memberof ScenarioApi
4284
+ */
4285
+ getScenarioPermissions(organizationId: string, workspaceId: string, role: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
4286
+ /**
4287
+ *
4288
+ * @summary Get the Scenario security information
4289
+ * @param {string} organizationId the Organization identifier
4290
+ * @param {string} workspaceId the Workspace identifier
4291
+ * @param {string} scenarioId the Scenario identifier
4292
+ * @param {*} [options] Override http request option.
4293
+ * @throws {RequiredError}
4294
+ * @memberof ScenarioApi
4295
+ */
4296
+ getScenarioSecurity(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioSecurity>>;
4297
+ /**
4298
+ *
4299
+ * @summary Get the Scenario security users list
4300
+ * @param {string} organizationId the Organization identifier
4301
+ * @param {string} workspaceId the Workspace identifier
4302
+ * @param {string} scenarioId the Scenario identifier
4303
+ * @param {*} [options] Override http request option.
4304
+ * @throws {RequiredError}
4305
+ * @memberof ScenarioApi
4306
+ */
4307
+ getScenarioSecurityUsers(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
3794
4308
  /**
3795
4309
  *
3796
4310
  * @summary Get the validation status of an scenario
@@ -3825,27 +4339,28 @@ export declare class ScenarioApi extends BaseAPI {
3825
4339
  removeAllScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3826
4340
  /**
3827
4341
  *
3828
- * @summary Remove all users from the Scenario specified
4342
+ * @summary Remove the specified access from the given Organization Scenario
3829
4343
  * @param {string} organizationId the Organization identifier
3830
4344
  * @param {string} workspaceId the Workspace identifier
3831
4345
  * @param {string} scenarioId the Scenario identifier
4346
+ * @param {string} identityId the User identifier
3832
4347
  * @param {*} [options] Override http request option.
3833
4348
  * @throws {RequiredError}
3834
4349
  * @memberof ScenarioApi
3835
4350
  */
3836
- removeAllUsersOfScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4351
+ removeScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3837
4352
  /**
3838
4353
  *
3839
- * @summary Remove the specified user from the given Scenario
4354
+ * @summary Set the Scenario default security
3840
4355
  * @param {string} organizationId the Organization identifier
3841
4356
  * @param {string} workspaceId the Workspace identifier
3842
4357
  * @param {string} scenarioId the Scenario identifier
3843
- * @param {string} userId the User identifier
4358
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
3844
4359
  * @param {*} [options] Override http request option.
3845
4360
  * @throws {RequiredError}
3846
4361
  * @memberof ScenarioApi
3847
4362
  */
3848
- removeUserFromScenario(organizationId: string, workspaceId: string, scenarioId: string, userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4363
+ setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioSecurity>>;
3849
4364
  /**
3850
4365
  *
3851
4366
  * @summary Update a scenario
@@ -3858,12 +4373,43 @@ export declare class ScenarioApi extends BaseAPI {
3858
4373
  * @memberof ScenarioApi
3859
4374
  */
3860
4375
  updateScenario(organizationId: string, workspaceId: string, scenarioId: string, scenario: Scenario, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario>>;
4376
+ /**
4377
+ *
4378
+ * @summary Update the specified access to User for a Scenario
4379
+ * @param {string} organizationId the Organization identifier
4380
+ * @param {string} workspaceId the Workspace identifier
4381
+ * @param {string} scenarioId the Scenario identifier
4382
+ * @param {string} identityId the User identifier
4383
+ * @param {ScenarioRole} scenarioRole The new Scenario Access Control
4384
+ * @param {*} [options] Override http request option.
4385
+ * @throws {RequiredError}
4386
+ * @memberof ScenarioApi
4387
+ */
4388
+ updateScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioAccessControl>>;
3861
4389
  }
3862
4390
  /**
3863
4391
  * ScenariorunApi - axios parameter creator
3864
4392
  * @export
3865
4393
  */
3866
4394
  export declare const ScenariorunApiAxiosParamCreator: (configuration?: Configuration) => {
4395
+ /**
4396
+ *
4397
+ * @summary Delete all historical ScenarioRuns in the database
4398
+ * @param {string} organizationId the Organization identifier
4399
+ * @param {*} [options] Override http request option.
4400
+ * @throws {RequiredError}
4401
+ */
4402
+ deleteHistoricalDataOrganization: (organizationId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4403
+ /**
4404
+ *
4405
+ * @summary Delete all historical ScenarioRuns for the Scenario
4406
+ * @param {string} organizationId the Organization identifier
4407
+ * @param {string} workspaceId the Workspace identifier
4408
+ * @param {string} scenarioId the Scenario identifier
4409
+ * @param {*} [options] Override http request option.
4410
+ * @throws {RequiredError}
4411
+ */
4412
+ deleteHistoricalScenarioRunsByScenario: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3867
4413
  /**
3868
4414
  *
3869
4415
  * @summary Delete a scenariorun
@@ -3971,6 +4517,24 @@ export declare const ScenariorunApiAxiosParamCreator: (configuration?: Configura
3971
4517
  * @export
3972
4518
  */
3973
4519
  export declare const ScenariorunApiFp: (configuration?: Configuration) => {
4520
+ /**
4521
+ *
4522
+ * @summary Delete all historical ScenarioRuns in the database
4523
+ * @param {string} organizationId the Organization identifier
4524
+ * @param {*} [options] Override http request option.
4525
+ * @throws {RequiredError}
4526
+ */
4527
+ deleteHistoricalDataOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4528
+ /**
4529
+ *
4530
+ * @summary Delete all historical ScenarioRuns for the Scenario
4531
+ * @param {string} organizationId the Organization identifier
4532
+ * @param {string} workspaceId the Workspace identifier
4533
+ * @param {string} scenarioId the Scenario identifier
4534
+ * @param {*} [options] Override http request option.
4535
+ * @throws {RequiredError}
4536
+ */
4537
+ deleteHistoricalScenarioRunsByScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3974
4538
  /**
3975
4539
  *
3976
4540
  * @summary Delete a scenariorun
@@ -4078,6 +4642,24 @@ export declare const ScenariorunApiFp: (configuration?: Configuration) => {
4078
4642
  * @export
4079
4643
  */
4080
4644
  export declare const ScenariorunApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4645
+ /**
4646
+ *
4647
+ * @summary Delete all historical ScenarioRuns in the database
4648
+ * @param {string} organizationId the Organization identifier
4649
+ * @param {*} [options] Override http request option.
4650
+ * @throws {RequiredError}
4651
+ */
4652
+ deleteHistoricalDataOrganization(organizationId: string, options?: any): AxiosPromise<void>;
4653
+ /**
4654
+ *
4655
+ * @summary Delete all historical ScenarioRuns for the Scenario
4656
+ * @param {string} organizationId the Organization identifier
4657
+ * @param {string} workspaceId the Workspace identifier
4658
+ * @param {string} scenarioId the Scenario identifier
4659
+ * @param {*} [options] Override http request option.
4660
+ * @throws {RequiredError}
4661
+ */
4662
+ deleteHistoricalScenarioRunsByScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<void>;
4081
4663
  /**
4082
4664
  *
4083
4665
  * @summary Delete a scenariorun
@@ -4187,6 +4769,26 @@ export declare const ScenariorunApiFactory: (configuration?: Configuration, base
4187
4769
  * @extends {BaseAPI}
4188
4770
  */
4189
4771
  export declare class ScenariorunApi extends BaseAPI {
4772
+ /**
4773
+ *
4774
+ * @summary Delete all historical ScenarioRuns in the database
4775
+ * @param {string} organizationId the Organization identifier
4776
+ * @param {*} [options] Override http request option.
4777
+ * @throws {RequiredError}
4778
+ * @memberof ScenariorunApi
4779
+ */
4780
+ deleteHistoricalDataOrganization(organizationId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4781
+ /**
4782
+ *
4783
+ * @summary Delete all historical ScenarioRuns for the Scenario
4784
+ * @param {string} organizationId the Organization identifier
4785
+ * @param {string} workspaceId the Workspace identifier
4786
+ * @param {string} scenarioId the Scenario identifier
4787
+ * @param {*} [options] Override http request option.
4788
+ * @throws {RequiredError}
4789
+ * @memberof ScenariorunApi
4790
+ */
4791
+ deleteHistoricalScenarioRunsByScenario(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4190
4792
  /**
4191
4793
  *
4192
4794
  * @summary Delete a scenariorun
@@ -5655,14 +6257,14 @@ export declare class ValidatorApi extends BaseAPI {
5655
6257
  export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configuration) => {
5656
6258
  /**
5657
6259
  *
5658
- * @summary Add (or replace) users to the Workspace specified
6260
+ * @summary Add a control access to the Workspace
5659
6261
  * @param {string} organizationId the Organization identifier
5660
6262
  * @param {string} workspaceId the Workspace identifier
5661
- * @param {Array<WorkspaceUser>} workspaceUser the Users to add. Any User with the same ID is overwritten
6263
+ * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
5662
6264
  * @param {*} [options] Override http request option.
5663
6265
  * @throws {RequiredError}
5664
6266
  */
5665
- addOrReplaceUsersInOrganizationWorkspace: (organizationId: string, workspaceId: string, workspaceUser: Array<WorkspaceUser>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6267
+ addWorkspaceAccessControl: (organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5666
6268
  /**
5667
6269
  *
5668
6270
  * @summary Create a new workspace
@@ -5738,33 +6340,83 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
5738
6340
  findWorkspaceById: (organizationId: string, workspaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5739
6341
  /**
5740
6342
  *
5741
- * @summary Remove all users from the Workspace specified
6343
+ * @summary Get a control access for the Workspace
5742
6344
  * @param {string} organizationId the Organization identifier
5743
6345
  * @param {string} workspaceId the Workspace identifier
6346
+ * @param {string} identityId the User identifier
5744
6347
  * @param {*} [options] Override http request option.
5745
6348
  * @throws {RequiredError}
5746
6349
  */
5747
- removeAllUsersOfWorkspace: (organizationId: string, workspaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6350
+ getWorkspaceAccessControl: (organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5748
6351
  /**
5749
6352
  *
5750
- * @summary Remove the specified user from the given Organization Workspace
6353
+ * @summary Get the Workspace permission by given role
5751
6354
  * @param {string} organizationId the Organization identifier
5752
6355
  * @param {string} workspaceId the Workspace identifier
5753
- * @param {string} userId the User identifier
6356
+ * @param {string} role the Role
5754
6357
  * @param {*} [options] Override http request option.
5755
6358
  * @throws {RequiredError}
5756
6359
  */
5757
- removeUserFromOrganizationWorkspace: (organizationId: string, workspaceId: string, userId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6360
+ getWorkspacePermissions: (organizationId: string, workspaceId: string, role: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6361
+ /**
6362
+ *
6363
+ * @summary Get the Workspace security information
6364
+ * @param {string} organizationId the Organization identifier
6365
+ * @param {string} workspaceId the Workspace identifier
6366
+ * @param {*} [options] Override http request option.
6367
+ * @throws {RequiredError}
6368
+ */
6369
+ getWorkspaceSecurity: (organizationId: string, workspaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6370
+ /**
6371
+ *
6372
+ * @summary Get the Workspace security users list
6373
+ * @param {string} organizationId the Organization identifier
6374
+ * @param {string} workspaceId the Workspace identifier
6375
+ * @param {*} [options] Override http request option.
6376
+ * @throws {RequiredError}
6377
+ */
6378
+ getWorkspaceSecurityUsers: (organizationId: string, workspaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6379
+ /**
6380
+ *
6381
+ * @summary Remove the specified access from the given Organization Workspace
6382
+ * @param {string} organizationId the Organization identifier
6383
+ * @param {string} workspaceId the Workspace identifier
6384
+ * @param {string} identityId the User identifier
6385
+ * @param {*} [options] Override http request option.
6386
+ * @throws {RequiredError}
6387
+ */
6388
+ removeWorkspaceAccessControl: (organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6389
+ /**
6390
+ *
6391
+ * @summary Set the Workspace default security
6392
+ * @param {string} organizationId the Organization identifier
6393
+ * @param {string} workspaceId the Workspace identifier
6394
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6395
+ * @param {*} [options] Override http request option.
6396
+ * @throws {RequiredError}
6397
+ */
6398
+ setWorkspaceDefaultSecurity: (organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5758
6399
  /**
5759
6400
  *
5760
6401
  * @summary Update a workspace
5761
6402
  * @param {string} organizationId the Organization identifier
5762
6403
  * @param {string} workspaceId the Workspace identifier
5763
- * @param {Workspace} workspace the new Workspace details.
6404
+ * @param {Workspace} workspace The new Workspace details.
5764
6405
  * @param {*} [options] Override http request option.
5765
6406
  * @throws {RequiredError}
5766
6407
  */
5767
6408
  updateWorkspace: (organizationId: string, workspaceId: string, workspace: Workspace, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6409
+ /**
6410
+ *
6411
+ * @summary Update the specified access to User for a Workspace
6412
+ * @param {string} organizationId the Organization identifier
6413
+ * @param {string} workspaceId the Workspace identifier
6414
+ * @param {string} identityId the User identifier
6415
+ * @param {WorkspaceRole} workspaceRole The new Workspace Access Control
6416
+ * @param {*} [options] Override http request option.
6417
+ * @throws {RequiredError}
6418
+ */
6419
+ updateWorkspaceAccessControl: (organizationId: string, workspaceId: string, identityId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5768
6420
  /**
5769
6421
  *
5770
6422
  * @summary Upload a file for the Workspace
@@ -5785,14 +6437,14 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
5785
6437
  export declare const WorkspaceApiFp: (configuration?: Configuration) => {
5786
6438
  /**
5787
6439
  *
5788
- * @summary Add (or replace) users to the Workspace specified
6440
+ * @summary Add a control access to the Workspace
5789
6441
  * @param {string} organizationId the Organization identifier
5790
6442
  * @param {string} workspaceId the Workspace identifier
5791
- * @param {Array<WorkspaceUser>} workspaceUser the Users to add. Any User with the same ID is overwritten
6443
+ * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
5792
6444
  * @param {*} [options] Override http request option.
5793
6445
  * @throws {RequiredError}
5794
6446
  */
5795
- addOrReplaceUsersInOrganizationWorkspace(organizationId: string, workspaceId: string, workspaceUser: Array<WorkspaceUser>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<WorkspaceUser>>>;
6447
+ addWorkspaceAccessControl(organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceAccessControl>>;
5796
6448
  /**
5797
6449
  *
5798
6450
  * @summary Create a new workspace
@@ -5868,33 +6520,83 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
5868
6520
  findWorkspaceById(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
5869
6521
  /**
5870
6522
  *
5871
- * @summary Remove all users from the Workspace specified
6523
+ * @summary Get a control access for the Workspace
5872
6524
  * @param {string} organizationId the Organization identifier
5873
6525
  * @param {string} workspaceId the Workspace identifier
6526
+ * @param {string} identityId the User identifier
5874
6527
  * @param {*} [options] Override http request option.
5875
6528
  * @throws {RequiredError}
5876
6529
  */
5877
- removeAllUsersOfWorkspace(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6530
+ getWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceAccessControl>>;
5878
6531
  /**
5879
6532
  *
5880
- * @summary Remove the specified user from the given Organization Workspace
6533
+ * @summary Get the Workspace permission by given role
5881
6534
  * @param {string} organizationId the Organization identifier
5882
6535
  * @param {string} workspaceId the Workspace identifier
5883
- * @param {string} userId the User identifier
6536
+ * @param {string} role the Role
5884
6537
  * @param {*} [options] Override http request option.
5885
6538
  * @throws {RequiredError}
5886
6539
  */
5887
- removeUserFromOrganizationWorkspace(organizationId: string, workspaceId: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6540
+ getWorkspacePermissions(organizationId: string, workspaceId: string, role: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
6541
+ /**
6542
+ *
6543
+ * @summary Get the Workspace security information
6544
+ * @param {string} organizationId the Organization identifier
6545
+ * @param {string} workspaceId the Workspace identifier
6546
+ * @param {*} [options] Override http request option.
6547
+ * @throws {RequiredError}
6548
+ */
6549
+ getWorkspaceSecurity(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceSecurity>>;
6550
+ /**
6551
+ *
6552
+ * @summary Get the Workspace security users list
6553
+ * @param {string} organizationId the Organization identifier
6554
+ * @param {string} workspaceId the Workspace identifier
6555
+ * @param {*} [options] Override http request option.
6556
+ * @throws {RequiredError}
6557
+ */
6558
+ getWorkspaceSecurityUsers(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
6559
+ /**
6560
+ *
6561
+ * @summary Remove the specified access from the given Organization Workspace
6562
+ * @param {string} organizationId the Organization identifier
6563
+ * @param {string} workspaceId the Workspace identifier
6564
+ * @param {string} identityId the User identifier
6565
+ * @param {*} [options] Override http request option.
6566
+ * @throws {RequiredError}
6567
+ */
6568
+ removeWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6569
+ /**
6570
+ *
6571
+ * @summary Set the Workspace default security
6572
+ * @param {string} organizationId the Organization identifier
6573
+ * @param {string} workspaceId the Workspace identifier
6574
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6575
+ * @param {*} [options] Override http request option.
6576
+ * @throws {RequiredError}
6577
+ */
6578
+ setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceSecurity>>;
5888
6579
  /**
5889
6580
  *
5890
6581
  * @summary Update a workspace
5891
6582
  * @param {string} organizationId the Organization identifier
5892
6583
  * @param {string} workspaceId the Workspace identifier
5893
- * @param {Workspace} workspace the new Workspace details.
6584
+ * @param {Workspace} workspace The new Workspace details.
5894
6585
  * @param {*} [options] Override http request option.
5895
6586
  * @throws {RequiredError}
5896
6587
  */
5897
6588
  updateWorkspace(organizationId: string, workspaceId: string, workspace: Workspace, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
6589
+ /**
6590
+ *
6591
+ * @summary Update the specified access to User for a Workspace
6592
+ * @param {string} organizationId the Organization identifier
6593
+ * @param {string} workspaceId the Workspace identifier
6594
+ * @param {string} identityId the User identifier
6595
+ * @param {WorkspaceRole} workspaceRole The new Workspace Access Control
6596
+ * @param {*} [options] Override http request option.
6597
+ * @throws {RequiredError}
6598
+ */
6599
+ updateWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceAccessControl>>;
5898
6600
  /**
5899
6601
  *
5900
6602
  * @summary Upload a file for the Workspace
@@ -5915,14 +6617,14 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
5915
6617
  export declare const WorkspaceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5916
6618
  /**
5917
6619
  *
5918
- * @summary Add (or replace) users to the Workspace specified
6620
+ * @summary Add a control access to the Workspace
5919
6621
  * @param {string} organizationId the Organization identifier
5920
6622
  * @param {string} workspaceId the Workspace identifier
5921
- * @param {Array<WorkspaceUser>} workspaceUser the Users to add. Any User with the same ID is overwritten
6623
+ * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
5922
6624
  * @param {*} [options] Override http request option.
5923
6625
  * @throws {RequiredError}
5924
6626
  */
5925
- addOrReplaceUsersInOrganizationWorkspace(organizationId: string, workspaceId: string, workspaceUser: Array<WorkspaceUser>, options?: any): AxiosPromise<Array<WorkspaceUser>>;
6627
+ addWorkspaceAccessControl(organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: any): AxiosPromise<WorkspaceAccessControl>;
5926
6628
  /**
5927
6629
  *
5928
6630
  * @summary Create a new workspace
@@ -5998,33 +6700,83 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
5998
6700
  findWorkspaceById(organizationId: string, workspaceId: string, options?: any): AxiosPromise<Workspace>;
5999
6701
  /**
6000
6702
  *
6001
- * @summary Remove all users from the Workspace specified
6703
+ * @summary Get a control access for the Workspace
6002
6704
  * @param {string} organizationId the Organization identifier
6003
6705
  * @param {string} workspaceId the Workspace identifier
6706
+ * @param {string} identityId the User identifier
6004
6707
  * @param {*} [options] Override http request option.
6005
6708
  * @throws {RequiredError}
6006
6709
  */
6007
- removeAllUsersOfWorkspace(organizationId: string, workspaceId: string, options?: any): AxiosPromise<void>;
6710
+ getWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: any): AxiosPromise<WorkspaceAccessControl>;
6008
6711
  /**
6009
6712
  *
6010
- * @summary Remove the specified user from the given Organization Workspace
6713
+ * @summary Get the Workspace permission by given role
6011
6714
  * @param {string} organizationId the Organization identifier
6012
6715
  * @param {string} workspaceId the Workspace identifier
6013
- * @param {string} userId the User identifier
6716
+ * @param {string} role the Role
6717
+ * @param {*} [options] Override http request option.
6718
+ * @throws {RequiredError}
6719
+ */
6720
+ getWorkspacePermissions(organizationId: string, workspaceId: string, role: string, options?: any): AxiosPromise<Array<string>>;
6721
+ /**
6722
+ *
6723
+ * @summary Get the Workspace security information
6724
+ * @param {string} organizationId the Organization identifier
6725
+ * @param {string} workspaceId the Workspace identifier
6726
+ * @param {*} [options] Override http request option.
6727
+ * @throws {RequiredError}
6728
+ */
6729
+ getWorkspaceSecurity(organizationId: string, workspaceId: string, options?: any): AxiosPromise<WorkspaceSecurity>;
6730
+ /**
6731
+ *
6732
+ * @summary Get the Workspace security users list
6733
+ * @param {string} organizationId the Organization identifier
6734
+ * @param {string} workspaceId the Workspace identifier
6735
+ * @param {*} [options] Override http request option.
6736
+ * @throws {RequiredError}
6737
+ */
6738
+ getWorkspaceSecurityUsers(organizationId: string, workspaceId: string, options?: any): AxiosPromise<Array<string>>;
6739
+ /**
6740
+ *
6741
+ * @summary Remove the specified access from the given Organization Workspace
6742
+ * @param {string} organizationId the Organization identifier
6743
+ * @param {string} workspaceId the Workspace identifier
6744
+ * @param {string} identityId the User identifier
6014
6745
  * @param {*} [options] Override http request option.
6015
6746
  * @throws {RequiredError}
6016
6747
  */
6017
- removeUserFromOrganizationWorkspace(organizationId: string, workspaceId: string, userId: string, options?: any): AxiosPromise<void>;
6748
+ removeWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: any): AxiosPromise<void>;
6749
+ /**
6750
+ *
6751
+ * @summary Set the Workspace default security
6752
+ * @param {string} organizationId the Organization identifier
6753
+ * @param {string} workspaceId the Workspace identifier
6754
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6755
+ * @param {*} [options] Override http request option.
6756
+ * @throws {RequiredError}
6757
+ */
6758
+ setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: any): AxiosPromise<WorkspaceSecurity>;
6018
6759
  /**
6019
6760
  *
6020
6761
  * @summary Update a workspace
6021
6762
  * @param {string} organizationId the Organization identifier
6022
6763
  * @param {string} workspaceId the Workspace identifier
6023
- * @param {Workspace} workspace the new Workspace details.
6764
+ * @param {Workspace} workspace The new Workspace details.
6024
6765
  * @param {*} [options] Override http request option.
6025
6766
  * @throws {RequiredError}
6026
6767
  */
6027
6768
  updateWorkspace(organizationId: string, workspaceId: string, workspace: Workspace, options?: any): AxiosPromise<Workspace>;
6769
+ /**
6770
+ *
6771
+ * @summary Update the specified access to User for a Workspace
6772
+ * @param {string} organizationId the Organization identifier
6773
+ * @param {string} workspaceId the Workspace identifier
6774
+ * @param {string} identityId the User identifier
6775
+ * @param {WorkspaceRole} workspaceRole The new Workspace Access Control
6776
+ * @param {*} [options] Override http request option.
6777
+ * @throws {RequiredError}
6778
+ */
6779
+ updateWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, workspaceRole: WorkspaceRole, options?: any): AxiosPromise<WorkspaceAccessControl>;
6028
6780
  /**
6029
6781
  *
6030
6782
  * @summary Upload a file for the Workspace
@@ -6047,15 +6799,15 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
6047
6799
  export declare class WorkspaceApi extends BaseAPI {
6048
6800
  /**
6049
6801
  *
6050
- * @summary Add (or replace) users to the Workspace specified
6802
+ * @summary Add a control access to the Workspace
6051
6803
  * @param {string} organizationId the Organization identifier
6052
6804
  * @param {string} workspaceId the Workspace identifier
6053
- * @param {Array<WorkspaceUser>} workspaceUser the Users to add. Any User with the same ID is overwritten
6805
+ * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
6054
6806
  * @param {*} [options] Override http request option.
6055
6807
  * @throws {RequiredError}
6056
6808
  * @memberof WorkspaceApi
6057
6809
  */
6058
- addOrReplaceUsersInOrganizationWorkspace(organizationId: string, workspaceId: string, workspaceUser: Array<WorkspaceUser>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceUser[]>>;
6810
+ addWorkspaceAccessControl(organizationId: string, workspaceId: string, workspaceAccessControl: WorkspaceAccessControl, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceAccessControl>>;
6059
6811
  /**
6060
6812
  *
6061
6813
  * @summary Create a new workspace
@@ -6139,36 +6891,91 @@ export declare class WorkspaceApi extends BaseAPI {
6139
6891
  findWorkspaceById(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace>>;
6140
6892
  /**
6141
6893
  *
6142
- * @summary Remove all users from the Workspace specified
6894
+ * @summary Get a control access for the Workspace
6143
6895
  * @param {string} organizationId the Organization identifier
6144
6896
  * @param {string} workspaceId the Workspace identifier
6897
+ * @param {string} identityId the User identifier
6145
6898
  * @param {*} [options] Override http request option.
6146
6899
  * @throws {RequiredError}
6147
6900
  * @memberof WorkspaceApi
6148
6901
  */
6149
- removeAllUsersOfWorkspace(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6902
+ getWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceAccessControl>>;
6150
6903
  /**
6151
6904
  *
6152
- * @summary Remove the specified user from the given Organization Workspace
6905
+ * @summary Get the Workspace permission by given role
6906
+ * @param {string} organizationId the Organization identifier
6907
+ * @param {string} workspaceId the Workspace identifier
6908
+ * @param {string} role the Role
6909
+ * @param {*} [options] Override http request option.
6910
+ * @throws {RequiredError}
6911
+ * @memberof WorkspaceApi
6912
+ */
6913
+ getWorkspacePermissions(organizationId: string, workspaceId: string, role: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
6914
+ /**
6915
+ *
6916
+ * @summary Get the Workspace security information
6153
6917
  * @param {string} organizationId the Organization identifier
6154
6918
  * @param {string} workspaceId the Workspace identifier
6155
- * @param {string} userId the User identifier
6156
6919
  * @param {*} [options] Override http request option.
6157
6920
  * @throws {RequiredError}
6158
6921
  * @memberof WorkspaceApi
6159
6922
  */
6160
- removeUserFromOrganizationWorkspace(organizationId: string, workspaceId: string, userId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6923
+ getWorkspaceSecurity(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceSecurity>>;
6924
+ /**
6925
+ *
6926
+ * @summary Get the Workspace security users list
6927
+ * @param {string} organizationId the Organization identifier
6928
+ * @param {string} workspaceId the Workspace identifier
6929
+ * @param {*} [options] Override http request option.
6930
+ * @throws {RequiredError}
6931
+ * @memberof WorkspaceApi
6932
+ */
6933
+ getWorkspaceSecurityUsers(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string[]>>;
6934
+ /**
6935
+ *
6936
+ * @summary Remove the specified access from the given Organization Workspace
6937
+ * @param {string} organizationId the Organization identifier
6938
+ * @param {string} workspaceId the Workspace identifier
6939
+ * @param {string} identityId the User identifier
6940
+ * @param {*} [options] Override http request option.
6941
+ * @throws {RequiredError}
6942
+ * @memberof WorkspaceApi
6943
+ */
6944
+ removeWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6945
+ /**
6946
+ *
6947
+ * @summary Set the Workspace default security
6948
+ * @param {string} organizationId the Organization identifier
6949
+ * @param {string} workspaceId the Workspace identifier
6950
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6951
+ * @param {*} [options] Override http request option.
6952
+ * @throws {RequiredError}
6953
+ * @memberof WorkspaceApi
6954
+ */
6955
+ setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceSecurity>>;
6161
6956
  /**
6162
6957
  *
6163
6958
  * @summary Update a workspace
6164
6959
  * @param {string} organizationId the Organization identifier
6165
6960
  * @param {string} workspaceId the Workspace identifier
6166
- * @param {Workspace} workspace the new Workspace details.
6961
+ * @param {Workspace} workspace The new Workspace details.
6167
6962
  * @param {*} [options] Override http request option.
6168
6963
  * @throws {RequiredError}
6169
6964
  * @memberof WorkspaceApi
6170
6965
  */
6171
6966
  updateWorkspace(organizationId: string, workspaceId: string, workspace: Workspace, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace>>;
6967
+ /**
6968
+ *
6969
+ * @summary Update the specified access to User for a Workspace
6970
+ * @param {string} organizationId the Organization identifier
6971
+ * @param {string} workspaceId the Workspace identifier
6972
+ * @param {string} identityId the User identifier
6973
+ * @param {WorkspaceRole} workspaceRole The new Workspace Access Control
6974
+ * @param {*} [options] Override http request option.
6975
+ * @throws {RequiredError}
6976
+ * @memberof WorkspaceApi
6977
+ */
6978
+ updateWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceAccessControl>>;
6172
6979
  /**
6173
6980
  *
6174
6981
  * @summary Upload a file for the Workspace