@cosmotech/api-ts 2.0.4 → 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: 2.0.4-dev
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).
@@ -406,6 +406,19 @@ export interface OrganizationAccessControl {
406
406
  */
407
407
  'role': string;
408
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
+ }
409
422
  /**
410
423
  * the Organization security information
411
424
  * @export
@@ -1132,6 +1145,19 @@ export interface ScenarioLastRun {
1132
1145
  */
1133
1146
  'workflowName'?: string;
1134
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
+ }
1135
1161
  /**
1136
1162
  * a ScenarioRun with only base properties
1137
1163
  * @export
@@ -2159,6 +2185,19 @@ export interface WorkspaceFile {
2159
2185
  */
2160
2186
  'fileName'?: string;
2161
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
+ }
2162
2201
  /**
2163
2202
  * the workspace security information
2164
2203
  * @export
@@ -2758,7 +2797,7 @@ export declare class DatasetApi extends BaseAPI {
2758
2797
  export declare const OrganizationApiAxiosParamCreator: (configuration?: Configuration) => {
2759
2798
  /**
2760
2799
  *
2761
- * @summary add a control acccess to the Organization
2800
+ * @summary Add a control access to the Organization
2762
2801
  * @param {string} organizationId the Organization identifier
2763
2802
  * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
2764
2803
  * @param {*} [options] Override http request option.
@@ -2789,7 +2828,7 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2789
2828
  getAllPermissions: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2790
2829
  /**
2791
2830
  *
2792
- * @summary get a control acccess for the Organization
2831
+ * @summary Get a control access for the Organization
2793
2832
  * @param {string} organizationId the Organization identifier
2794
2833
  * @param {string} identityId the User identifier
2795
2834
  * @param {*} [options] Override http request option.
@@ -2816,7 +2855,7 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2816
2855
  /**
2817
2856
  *
2818
2857
  * @summary Get the Organization security users list
2819
- * @param {string} organizationId the Organization identifier
2858
+ * @param {string} organizationId The Organization identifier
2820
2859
  * @param {*} [options] Override http request option.
2821
2860
  * @throws {RequiredError}
2822
2861
  */
@@ -2840,13 +2879,13 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2840
2879
  removeOrganizationAccessControl: (organizationId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2841
2880
  /**
2842
2881
  *
2843
- * @summary set the Organization default security
2882
+ * @summary Set the Organization default security
2844
2883
  * @param {string} organizationId the Organization identifier
2845
- * @param {string} body the new Organization default security.
2884
+ * @param {OrganizationRole} organizationRole the new Organization default security.
2846
2885
  * @param {*} [options] Override http request option.
2847
2886
  * @throws {RequiredError}
2848
2887
  */
2849
- setOrganizationDefaultSecurity: (organizationId: string, body: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2888
+ setOrganizationDefaultSecurity: (organizationId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2850
2889
  /**
2851
2890
  *
2852
2891
  * @summary Unregister an organization
@@ -2864,6 +2903,16 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2864
2903
  * @throws {RequiredError}
2865
2904
  */
2866
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>;
2867
2916
  /**
2868
2917
  *
2869
2918
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -2901,7 +2950,7 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
2901
2950
  export declare const OrganizationApiFp: (configuration?: Configuration) => {
2902
2951
  /**
2903
2952
  *
2904
- * @summary add a control acccess to the Organization
2953
+ * @summary Add a control access to the Organization
2905
2954
  * @param {string} organizationId the Organization identifier
2906
2955
  * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
2907
2956
  * @param {*} [options] Override http request option.
@@ -2932,7 +2981,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2932
2981
  getAllPermissions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ComponentRolePermissions>>>;
2933
2982
  /**
2934
2983
  *
2935
- * @summary get a control acccess for the Organization
2984
+ * @summary Get a control access for the Organization
2936
2985
  * @param {string} organizationId the Organization identifier
2937
2986
  * @param {string} identityId the User identifier
2938
2987
  * @param {*} [options] Override http request option.
@@ -2959,7 +3008,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2959
3008
  /**
2960
3009
  *
2961
3010
  * @summary Get the Organization security users list
2962
- * @param {string} organizationId the Organization identifier
3011
+ * @param {string} organizationId The Organization identifier
2963
3012
  * @param {*} [options] Override http request option.
2964
3013
  * @throws {RequiredError}
2965
3014
  */
@@ -2983,13 +3032,13 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
2983
3032
  removeOrganizationAccessControl(organizationId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2984
3033
  /**
2985
3034
  *
2986
- * @summary set the Organization default security
3035
+ * @summary Set the Organization default security
2987
3036
  * @param {string} organizationId the Organization identifier
2988
- * @param {string} body the new Organization default security.
3037
+ * @param {OrganizationRole} organizationRole the new Organization default security.
2989
3038
  * @param {*} [options] Override http request option.
2990
3039
  * @throws {RequiredError}
2991
3040
  */
2992
- setOrganizationDefaultSecurity(organizationId: string, body: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationSecurity>>;
3041
+ setOrganizationDefaultSecurity(organizationId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationSecurity>>;
2993
3042
  /**
2994
3043
  *
2995
3044
  * @summary Unregister an organization
@@ -3007,6 +3056,16 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
3007
3056
  * @throws {RequiredError}
3008
3057
  */
3009
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>>;
3010
3069
  /**
3011
3070
  *
3012
3071
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -3046,7 +3105,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
3046
3105
  export declare const OrganizationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3047
3106
  /**
3048
3107
  *
3049
- * @summary add a control acccess to the Organization
3108
+ * @summary Add a control access to the Organization
3050
3109
  * @param {string} organizationId the Organization identifier
3051
3110
  * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
3052
3111
  * @param {*} [options] Override http request option.
@@ -3077,7 +3136,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
3077
3136
  getAllPermissions(options?: any): AxiosPromise<Array<ComponentRolePermissions>>;
3078
3137
  /**
3079
3138
  *
3080
- * @summary get a control acccess for the Organization
3139
+ * @summary Get a control access for the Organization
3081
3140
  * @param {string} organizationId the Organization identifier
3082
3141
  * @param {string} identityId the User identifier
3083
3142
  * @param {*} [options] Override http request option.
@@ -3104,7 +3163,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
3104
3163
  /**
3105
3164
  *
3106
3165
  * @summary Get the Organization security users list
3107
- * @param {string} organizationId the Organization identifier
3166
+ * @param {string} organizationId The Organization identifier
3108
3167
  * @param {*} [options] Override http request option.
3109
3168
  * @throws {RequiredError}
3110
3169
  */
@@ -3128,13 +3187,13 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
3128
3187
  removeOrganizationAccessControl(organizationId: string, identityId: string, options?: any): AxiosPromise<void>;
3129
3188
  /**
3130
3189
  *
3131
- * @summary set the Organization default security
3190
+ * @summary Set the Organization default security
3132
3191
  * @param {string} organizationId the Organization identifier
3133
- * @param {string} body the new Organization default security.
3192
+ * @param {OrganizationRole} organizationRole the new Organization default security.
3134
3193
  * @param {*} [options] Override http request option.
3135
3194
  * @throws {RequiredError}
3136
3195
  */
3137
- setOrganizationDefaultSecurity(organizationId: string, body: string, options?: any): AxiosPromise<OrganizationSecurity>;
3196
+ setOrganizationDefaultSecurity(organizationId: string, organizationRole: OrganizationRole, options?: any): AxiosPromise<OrganizationSecurity>;
3138
3197
  /**
3139
3198
  *
3140
3199
  * @summary Unregister an organization
@@ -3152,6 +3211,16 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
3152
3211
  * @throws {RequiredError}
3153
3212
  */
3154
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>;
3155
3224
  /**
3156
3225
  *
3157
3226
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -3193,7 +3262,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
3193
3262
  export declare class OrganizationApi extends BaseAPI {
3194
3263
  /**
3195
3264
  *
3196
- * @summary add a control acccess to the Organization
3265
+ * @summary Add a control access to the Organization
3197
3266
  * @param {string} organizationId the Organization identifier
3198
3267
  * @param {OrganizationAccessControl} organizationAccessControl the new Organization security access to add.
3199
3268
  * @param {*} [options] Override http request option.
@@ -3228,7 +3297,7 @@ export declare class OrganizationApi extends BaseAPI {
3228
3297
  getAllPermissions(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ComponentRolePermissions[]>>;
3229
3298
  /**
3230
3299
  *
3231
- * @summary get a control acccess for the Organization
3300
+ * @summary Get a control access for the Organization
3232
3301
  * @param {string} organizationId the Organization identifier
3233
3302
  * @param {string} identityId the User identifier
3234
3303
  * @param {*} [options] Override http request option.
@@ -3258,7 +3327,7 @@ export declare class OrganizationApi extends BaseAPI {
3258
3327
  /**
3259
3328
  *
3260
3329
  * @summary Get the Organization security users list
3261
- * @param {string} organizationId the Organization identifier
3330
+ * @param {string} organizationId The Organization identifier
3262
3331
  * @param {*} [options] Override http request option.
3263
3332
  * @throws {RequiredError}
3264
3333
  * @memberof OrganizationApi
@@ -3285,14 +3354,14 @@ export declare class OrganizationApi extends BaseAPI {
3285
3354
  removeOrganizationAccessControl(organizationId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3286
3355
  /**
3287
3356
  *
3288
- * @summary set the Organization default security
3357
+ * @summary Set the Organization default security
3289
3358
  * @param {string} organizationId the Organization identifier
3290
- * @param {string} body the new Organization default security.
3359
+ * @param {OrganizationRole} organizationRole the new Organization default security.
3291
3360
  * @param {*} [options] Override http request option.
3292
3361
  * @throws {RequiredError}
3293
3362
  * @memberof OrganizationApi
3294
3363
  */
3295
- setOrganizationDefaultSecurity(organizationId: string, body: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationSecurity>>;
3364
+ setOrganizationDefaultSecurity(organizationId: string, organizationRole: OrganizationRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationSecurity>>;
3296
3365
  /**
3297
3366
  *
3298
3367
  * @summary Unregister an organization
@@ -3312,6 +3381,17 @@ export declare class OrganizationApi extends BaseAPI {
3312
3381
  * @memberof OrganizationApi
3313
3382
  */
3314
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>>;
3315
3395
  /**
3316
3396
  *
3317
3397
  * @summary Update the solutions container registry configuration for the Organization specified
@@ -3365,7 +3445,7 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3365
3445
  addOrReplaceScenarioParameterValues: (organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3366
3446
  /**
3367
3447
  *
3368
- * @summary add a control acccess to the Scenario
3448
+ * @summary Add a control access to the Scenario
3369
3449
  * @param {string} organizationId the Organization identifier
3370
3450
  * @param {string} workspaceId the Workspace identifier
3371
3451
  * @param {string} scenarioId the Scenario identifier
@@ -3456,7 +3536,7 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3456
3536
  findScenarioById: (organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3457
3537
  /**
3458
3538
  *
3459
- * @summary get a control acccess for the Scenario
3539
+ * @summary Get a control access for the Scenario
3460
3540
  * @param {string} organizationId the Organization identifier
3461
3541
  * @param {string} workspaceId the Workspace identifier
3462
3542
  * @param {string} scenarioId the Scenario identifier
@@ -3548,15 +3628,15 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3548
3628
  removeScenarioAccessControl: (organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3549
3629
  /**
3550
3630
  *
3551
- * @summary set the Scenario default security
3631
+ * @summary Set the Scenario default security
3552
3632
  * @param {string} organizationId the Organization identifier
3553
3633
  * @param {string} workspaceId the Workspace identifier
3554
3634
  * @param {string} scenarioId the Scenario identifier
3555
- * @param {string} body the new Scenario default security.
3635
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
3556
3636
  * @param {*} [options] Override http request option.
3557
3637
  * @throws {RequiredError}
3558
3638
  */
3559
- setScenarioDefaultSecurity: (organizationId: string, workspaceId: string, scenarioId: string, body: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3639
+ setScenarioDefaultSecurity: (organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3560
3640
  /**
3561
3641
  *
3562
3642
  * @summary Update a scenario
@@ -3568,6 +3648,18 @@ export declare const ScenarioApiAxiosParamCreator: (configuration?: Configuratio
3568
3648
  * @throws {RequiredError}
3569
3649
  */
3570
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>;
3571
3663
  };
3572
3664
  /**
3573
3665
  * ScenarioApi - functional programming interface
@@ -3587,7 +3679,7 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3587
3679
  addOrReplaceScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ScenarioRunTemplateParameterValue>>>;
3588
3680
  /**
3589
3681
  *
3590
- * @summary add a control acccess to the Scenario
3682
+ * @summary Add a control access to the Scenario
3591
3683
  * @param {string} organizationId the Organization identifier
3592
3684
  * @param {string} workspaceId the Workspace identifier
3593
3685
  * @param {string} scenarioId the Scenario identifier
@@ -3678,7 +3770,7 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3678
3770
  findScenarioById(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Scenario>>;
3679
3771
  /**
3680
3772
  *
3681
- * @summary get a control acccess for the Scenario
3773
+ * @summary Get a control access for the Scenario
3682
3774
  * @param {string} organizationId the Organization identifier
3683
3775
  * @param {string} workspaceId the Workspace identifier
3684
3776
  * @param {string} scenarioId the Scenario identifier
@@ -3770,15 +3862,15 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3770
3862
  removeScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3771
3863
  /**
3772
3864
  *
3773
- * @summary set the Scenario default security
3865
+ * @summary Set the Scenario default security
3774
3866
  * @param {string} organizationId the Organization identifier
3775
3867
  * @param {string} workspaceId the Workspace identifier
3776
3868
  * @param {string} scenarioId the Scenario identifier
3777
- * @param {string} body the new Scenario default security.
3869
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
3778
3870
  * @param {*} [options] Override http request option.
3779
3871
  * @throws {RequiredError}
3780
3872
  */
3781
- setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, body: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioSecurity>>;
3873
+ setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScenarioSecurity>>;
3782
3874
  /**
3783
3875
  *
3784
3876
  * @summary Update a scenario
@@ -3790,6 +3882,18 @@ export declare const ScenarioApiFp: (configuration?: Configuration) => {
3790
3882
  * @throws {RequiredError}
3791
3883
  */
3792
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>>;
3793
3897
  };
3794
3898
  /**
3795
3899
  * ScenarioApi - factory interface
@@ -3809,7 +3913,7 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3809
3913
  addOrReplaceScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: any): AxiosPromise<Array<ScenarioRunTemplateParameterValue>>;
3810
3914
  /**
3811
3915
  *
3812
- * @summary add a control acccess to the Scenario
3916
+ * @summary Add a control access to the Scenario
3813
3917
  * @param {string} organizationId the Organization identifier
3814
3918
  * @param {string} workspaceId the Workspace identifier
3815
3919
  * @param {string} scenarioId the Scenario identifier
@@ -3900,7 +4004,7 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3900
4004
  findScenarioById(organizationId: string, workspaceId: string, scenarioId: string, options?: any): AxiosPromise<Scenario>;
3901
4005
  /**
3902
4006
  *
3903
- * @summary get a control acccess for the Scenario
4007
+ * @summary Get a control access for the Scenario
3904
4008
  * @param {string} organizationId the Organization identifier
3905
4009
  * @param {string} workspaceId the Workspace identifier
3906
4010
  * @param {string} scenarioId the Scenario identifier
@@ -3992,15 +4096,15 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
3992
4096
  removeScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: any): AxiosPromise<void>;
3993
4097
  /**
3994
4098
  *
3995
- * @summary set the Scenario default security
4099
+ * @summary Set the Scenario default security
3996
4100
  * @param {string} organizationId the Organization identifier
3997
4101
  * @param {string} workspaceId the Workspace identifier
3998
4102
  * @param {string} scenarioId the Scenario identifier
3999
- * @param {string} body the new Scenario default security.
4103
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
4000
4104
  * @param {*} [options] Override http request option.
4001
4105
  * @throws {RequiredError}
4002
4106
  */
4003
- setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, body: string, options?: any): AxiosPromise<ScenarioSecurity>;
4107
+ setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: any): AxiosPromise<ScenarioSecurity>;
4004
4108
  /**
4005
4109
  *
4006
4110
  * @summary Update a scenario
@@ -4012,6 +4116,18 @@ export declare const ScenarioApiFactory: (configuration?: Configuration, basePat
4012
4116
  * @throws {RequiredError}
4013
4117
  */
4014
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>;
4015
4131
  };
4016
4132
  /**
4017
4133
  * ScenarioApi - object-oriented interface
@@ -4034,7 +4150,7 @@ export declare class ScenarioApi extends BaseAPI {
4034
4150
  addOrReplaceScenarioParameterValues(organizationId: string, workspaceId: string, scenarioId: string, scenarioRunTemplateParameterValue: Array<ScenarioRunTemplateParameterValue>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioRunTemplateParameterValue[]>>;
4035
4151
  /**
4036
4152
  *
4037
- * @summary add a control acccess to the Scenario
4153
+ * @summary Add a control access to the Scenario
4038
4154
  * @param {string} organizationId the Organization identifier
4039
4155
  * @param {string} workspaceId the Workspace identifier
4040
4156
  * @param {string} scenarioId the Scenario identifier
@@ -4134,7 +4250,7 @@ export declare class ScenarioApi extends BaseAPI {
4134
4250
  findScenarioById(organizationId: string, workspaceId: string, scenarioId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Scenario>>;
4135
4251
  /**
4136
4252
  *
4137
- * @summary get a control acccess for the Scenario
4253
+ * @summary Get a control access for the Scenario
4138
4254
  * @param {string} organizationId the Organization identifier
4139
4255
  * @param {string} workspaceId the Workspace identifier
4140
4256
  * @param {string} scenarioId the Scenario identifier
@@ -4235,16 +4351,16 @@ export declare class ScenarioApi extends BaseAPI {
4235
4351
  removeScenarioAccessControl(organizationId: string, workspaceId: string, scenarioId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
4236
4352
  /**
4237
4353
  *
4238
- * @summary set the Scenario default security
4354
+ * @summary Set the Scenario default security
4239
4355
  * @param {string} organizationId the Organization identifier
4240
4356
  * @param {string} workspaceId the Workspace identifier
4241
4357
  * @param {string} scenarioId the Scenario identifier
4242
- * @param {string} body the new Scenario default security.
4358
+ * @param {ScenarioRole} scenarioRole the new Scenario default security.
4243
4359
  * @param {*} [options] Override http request option.
4244
4360
  * @throws {RequiredError}
4245
4361
  * @memberof ScenarioApi
4246
4362
  */
4247
- setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, body: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioSecurity>>;
4363
+ setScenarioDefaultSecurity(organizationId: string, workspaceId: string, scenarioId: string, scenarioRole: ScenarioRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ScenarioSecurity>>;
4248
4364
  /**
4249
4365
  *
4250
4366
  * @summary Update a scenario
@@ -4257,6 +4373,19 @@ export declare class ScenarioApi extends BaseAPI {
4257
4373
  * @memberof ScenarioApi
4258
4374
  */
4259
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>>;
4260
4389
  }
4261
4390
  /**
4262
4391
  * ScenariorunApi - axios parameter creator
@@ -6128,7 +6257,7 @@ export declare class ValidatorApi extends BaseAPI {
6128
6257
  export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configuration) => {
6129
6258
  /**
6130
6259
  *
6131
- * @summary add a control acccess to the Workspace
6260
+ * @summary Add a control access to the Workspace
6132
6261
  * @param {string} organizationId the Organization identifier
6133
6262
  * @param {string} workspaceId the Workspace identifier
6134
6263
  * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
@@ -6211,7 +6340,7 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
6211
6340
  findWorkspaceById: (organizationId: string, workspaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6212
6341
  /**
6213
6342
  *
6214
- * @summary get a control acccess for the Workspace
6343
+ * @summary Get a control access for the Workspace
6215
6344
  * @param {string} organizationId the Organization identifier
6216
6345
  * @param {string} workspaceId the Workspace identifier
6217
6346
  * @param {string} identityId the User identifier
@@ -6259,24 +6388,35 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
6259
6388
  removeWorkspaceAccessControl: (organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6260
6389
  /**
6261
6390
  *
6262
- * @summary set the Workspace default security
6391
+ * @summary Set the Workspace default security
6263
6392
  * @param {string} organizationId the Organization identifier
6264
6393
  * @param {string} workspaceId the Workspace identifier
6265
- * @param {string} body the new Workspace default security.
6394
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6266
6395
  * @param {*} [options] Override http request option.
6267
6396
  * @throws {RequiredError}
6268
6397
  */
6269
- setWorkspaceDefaultSecurity: (organizationId: string, workspaceId: string, body: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6398
+ setWorkspaceDefaultSecurity: (organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig) => Promise<RequestArgs>;
6270
6399
  /**
6271
6400
  *
6272
6401
  * @summary Update a workspace
6273
6402
  * @param {string} organizationId the Organization identifier
6274
6403
  * @param {string} workspaceId the Workspace identifier
6275
- * @param {Workspace} workspace the new Workspace details.
6404
+ * @param {Workspace} workspace The new Workspace details.
6276
6405
  * @param {*} [options] Override http request option.
6277
6406
  * @throws {RequiredError}
6278
6407
  */
6279
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>;
6280
6420
  /**
6281
6421
  *
6282
6422
  * @summary Upload a file for the Workspace
@@ -6297,7 +6437,7 @@ export declare const WorkspaceApiAxiosParamCreator: (configuration?: Configurati
6297
6437
  export declare const WorkspaceApiFp: (configuration?: Configuration) => {
6298
6438
  /**
6299
6439
  *
6300
- * @summary add a control acccess to the Workspace
6440
+ * @summary Add a control access to the Workspace
6301
6441
  * @param {string} organizationId the Organization identifier
6302
6442
  * @param {string} workspaceId the Workspace identifier
6303
6443
  * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
@@ -6380,7 +6520,7 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
6380
6520
  findWorkspaceById(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Workspace>>;
6381
6521
  /**
6382
6522
  *
6383
- * @summary get a control acccess for the Workspace
6523
+ * @summary Get a control access for the Workspace
6384
6524
  * @param {string} organizationId the Organization identifier
6385
6525
  * @param {string} workspaceId the Workspace identifier
6386
6526
  * @param {string} identityId the User identifier
@@ -6428,24 +6568,35 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
6428
6568
  removeWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6429
6569
  /**
6430
6570
  *
6431
- * @summary set the Workspace default security
6571
+ * @summary Set the Workspace default security
6432
6572
  * @param {string} organizationId the Organization identifier
6433
6573
  * @param {string} workspaceId the Workspace identifier
6434
- * @param {string} body the new Workspace default security.
6574
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6435
6575
  * @param {*} [options] Override http request option.
6436
6576
  * @throws {RequiredError}
6437
6577
  */
6438
- setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, body: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceSecurity>>;
6578
+ setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkspaceSecurity>>;
6439
6579
  /**
6440
6580
  *
6441
6581
  * @summary Update a workspace
6442
6582
  * @param {string} organizationId the Organization identifier
6443
6583
  * @param {string} workspaceId the Workspace identifier
6444
- * @param {Workspace} workspace the new Workspace details.
6584
+ * @param {Workspace} workspace The new Workspace details.
6445
6585
  * @param {*} [options] Override http request option.
6446
6586
  * @throws {RequiredError}
6447
6587
  */
6448
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>>;
6449
6600
  /**
6450
6601
  *
6451
6602
  * @summary Upload a file for the Workspace
@@ -6466,7 +6617,7 @@ export declare const WorkspaceApiFp: (configuration?: Configuration) => {
6466
6617
  export declare const WorkspaceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6467
6618
  /**
6468
6619
  *
6469
- * @summary add a control acccess to the Workspace
6620
+ * @summary Add a control access to the Workspace
6470
6621
  * @param {string} organizationId the Organization identifier
6471
6622
  * @param {string} workspaceId the Workspace identifier
6472
6623
  * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
@@ -6549,7 +6700,7 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
6549
6700
  findWorkspaceById(organizationId: string, workspaceId: string, options?: any): AxiosPromise<Workspace>;
6550
6701
  /**
6551
6702
  *
6552
- * @summary get a control acccess for the Workspace
6703
+ * @summary Get a control access for the Workspace
6553
6704
  * @param {string} organizationId the Organization identifier
6554
6705
  * @param {string} workspaceId the Workspace identifier
6555
6706
  * @param {string} identityId the User identifier
@@ -6597,24 +6748,35 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
6597
6748
  removeWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: any): AxiosPromise<void>;
6598
6749
  /**
6599
6750
  *
6600
- * @summary set the Workspace default security
6751
+ * @summary Set the Workspace default security
6601
6752
  * @param {string} organizationId the Organization identifier
6602
6753
  * @param {string} workspaceId the Workspace identifier
6603
- * @param {string} body the new Workspace default security.
6754
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6604
6755
  * @param {*} [options] Override http request option.
6605
6756
  * @throws {RequiredError}
6606
6757
  */
6607
- setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, body: string, options?: any): AxiosPromise<WorkspaceSecurity>;
6758
+ setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: any): AxiosPromise<WorkspaceSecurity>;
6608
6759
  /**
6609
6760
  *
6610
6761
  * @summary Update a workspace
6611
6762
  * @param {string} organizationId the Organization identifier
6612
6763
  * @param {string} workspaceId the Workspace identifier
6613
- * @param {Workspace} workspace the new Workspace details.
6764
+ * @param {Workspace} workspace The new Workspace details.
6614
6765
  * @param {*} [options] Override http request option.
6615
6766
  * @throws {RequiredError}
6616
6767
  */
6617
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>;
6618
6780
  /**
6619
6781
  *
6620
6782
  * @summary Upload a file for the Workspace
@@ -6637,7 +6799,7 @@ export declare const WorkspaceApiFactory: (configuration?: Configuration, basePa
6637
6799
  export declare class WorkspaceApi extends BaseAPI {
6638
6800
  /**
6639
6801
  *
6640
- * @summary add a control acccess to the Workspace
6802
+ * @summary Add a control access to the Workspace
6641
6803
  * @param {string} organizationId the Organization identifier
6642
6804
  * @param {string} workspaceId the Workspace identifier
6643
6805
  * @param {WorkspaceAccessControl} workspaceAccessControl the new Workspace security access to add.
@@ -6729,7 +6891,7 @@ export declare class WorkspaceApi extends BaseAPI {
6729
6891
  findWorkspaceById(organizationId: string, workspaceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Workspace>>;
6730
6892
  /**
6731
6893
  *
6732
- * @summary get a control acccess for the Workspace
6894
+ * @summary Get a control access for the Workspace
6733
6895
  * @param {string} organizationId the Organization identifier
6734
6896
  * @param {string} workspaceId the Workspace identifier
6735
6897
  * @param {string} identityId the User identifier
@@ -6782,26 +6944,38 @@ export declare class WorkspaceApi extends BaseAPI {
6782
6944
  removeWorkspaceAccessControl(organizationId: string, workspaceId: string, identityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6783
6945
  /**
6784
6946
  *
6785
- * @summary set the Workspace default security
6947
+ * @summary Set the Workspace default security
6786
6948
  * @param {string} organizationId the Organization identifier
6787
6949
  * @param {string} workspaceId the Workspace identifier
6788
- * @param {string} body the new Workspace default security.
6950
+ * @param {WorkspaceRole} workspaceRole the new Workspace default security.
6789
6951
  * @param {*} [options] Override http request option.
6790
6952
  * @throws {RequiredError}
6791
6953
  * @memberof WorkspaceApi
6792
6954
  */
6793
- setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, body: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceSecurity>>;
6955
+ setWorkspaceDefaultSecurity(organizationId: string, workspaceId: string, workspaceRole: WorkspaceRole, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WorkspaceSecurity>>;
6794
6956
  /**
6795
6957
  *
6796
6958
  * @summary Update a workspace
6797
6959
  * @param {string} organizationId the Organization identifier
6798
6960
  * @param {string} workspaceId the Workspace identifier
6799
- * @param {Workspace} workspace the new Workspace details.
6961
+ * @param {Workspace} workspace The new Workspace details.
6800
6962
  * @param {*} [options] Override http request option.
6801
6963
  * @throws {RequiredError}
6802
6964
  * @memberof WorkspaceApi
6803
6965
  */
6804
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>>;
6805
6979
  /**
6806
6980
  *
6807
6981
  * @summary Upload a file for the Workspace