@flipdish/authorization 0.2.36 → 0.2.37-rc.1779456495

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/configuration.ts CHANGED
@@ -100,7 +100,7 @@ export class Configuration {
100
100
 
101
101
  const extraHeaders = param.useDefaultUserAgent ? {} : {
102
102
  headers: {
103
- "user-agent": "Flipdish authorization typescript SDK / 0.2.36"
103
+ "user-agent": "Flipdish authorization typescript SDK / 0.2.37-rc.1779456495"
104
104
  }
105
105
  };
106
106
 
package/dist/api.d.ts CHANGED
@@ -1102,23 +1102,23 @@ export interface ListOrgRolesSuccessResponseValue {
1102
1102
  */
1103
1103
  'optionalPermissionSetKeys'?: Array<string>;
1104
1104
  /**
1105
- * Property IDs the roles are scoped to
1106
- * @type {Array<string>}
1105
+ * Property IDs, or * for all properties, the roles are scoped to
1106
+ * @type {Array<ListOrgRolesSuccessResponseValueAnyOfPropertiesInner>}
1107
1107
  * @memberof ListOrgRolesSuccessResponseValue
1108
1108
  */
1109
- 'properties'?: Array<string>;
1109
+ 'properties'?: Array<ListOrgRolesSuccessResponseValueAnyOfPropertiesInner>;
1110
1110
  /**
1111
- * Brand IDs the roles are scoped to
1112
- * @type {Array<string>}
1111
+ * Brand IDs, or * for all brands, the roles are scoped to
1112
+ * @type {Array<ListOrgRolesSuccessResponseValueAnyOfBrandsInner>}
1113
1113
  * @memberof ListOrgRolesSuccessResponseValue
1114
1114
  */
1115
- 'brands'?: Array<string>;
1115
+ 'brands'?: Array<ListOrgRolesSuccessResponseValueAnyOfBrandsInner>;
1116
1116
  /**
1117
- * Sales channel IDs the roles are scoped to
1118
- * @type {Array<string>}
1117
+ * Sales channel IDs, or * for all sales channels, the roles are scoped to
1118
+ * @type {Array<ListOrgRolesSuccessResponseValueAnyOfSalesChannelsInner>}
1119
1119
  * @memberof ListOrgRolesSuccessResponseValue
1120
1120
  */
1121
- 'salesChannels'?: Array<string>;
1121
+ 'salesChannels'?: Array<ListOrgRolesSuccessResponseValueAnyOfSalesChannelsInner>;
1122
1122
  }
1123
1123
  export declare const ListOrgRolesSuccessResponseValueRolesEnum: {
1124
1124
  readonly Owner: "Owner";
@@ -1154,23 +1154,23 @@ export interface ListOrgRolesSuccessResponseValueAnyOf {
1154
1154
  */
1155
1155
  'optionalPermissionSetKeys'?: Array<string>;
1156
1156
  /**
1157
- * Property IDs the roles are scoped to
1158
- * @type {Array<string>}
1157
+ * Property IDs, or * for all properties, the roles are scoped to
1158
+ * @type {Array<ListOrgRolesSuccessResponseValueAnyOfPropertiesInner>}
1159
1159
  * @memberof ListOrgRolesSuccessResponseValueAnyOf
1160
1160
  */
1161
- 'properties'?: Array<string>;
1161
+ 'properties'?: Array<ListOrgRolesSuccessResponseValueAnyOfPropertiesInner>;
1162
1162
  /**
1163
- * Brand IDs the roles are scoped to
1164
- * @type {Array<string>}
1163
+ * Brand IDs, or * for all brands, the roles are scoped to
1164
+ * @type {Array<ListOrgRolesSuccessResponseValueAnyOfBrandsInner>}
1165
1165
  * @memberof ListOrgRolesSuccessResponseValueAnyOf
1166
1166
  */
1167
- 'brands'?: Array<string>;
1167
+ 'brands'?: Array<ListOrgRolesSuccessResponseValueAnyOfBrandsInner>;
1168
1168
  /**
1169
- * Sales channel IDs the roles are scoped to
1170
- * @type {Array<string>}
1169
+ * Sales channel IDs, or * for all sales channels, the roles are scoped to
1170
+ * @type {Array<ListOrgRolesSuccessResponseValueAnyOfSalesChannelsInner>}
1171
1171
  * @memberof ListOrgRolesSuccessResponseValueAnyOf
1172
1172
  */
1173
- 'salesChannels'?: Array<string>;
1173
+ 'salesChannels'?: Array<ListOrgRolesSuccessResponseValueAnyOfSalesChannelsInner>;
1174
1174
  }
1175
1175
  export declare const ListOrgRolesSuccessResponseValueAnyOfRolesEnum: {
1176
1176
  readonly Owner: "Owner";
@@ -1181,6 +1181,13 @@ export declare const ListOrgRolesSuccessResponseValueAnyOfRolesEnum: {
1181
1181
  readonly FinanceManager: "FinanceManager";
1182
1182
  };
1183
1183
  export type ListOrgRolesSuccessResponseValueAnyOfRolesEnum = typeof ListOrgRolesSuccessResponseValueAnyOfRolesEnum[keyof typeof ListOrgRolesSuccessResponseValueAnyOfRolesEnum];
1184
+ /**
1185
+ *
1186
+ * @export
1187
+ * @interface ListOrgRolesSuccessResponseValueAnyOfBrandsInner
1188
+ */
1189
+ export interface ListOrgRolesSuccessResponseValueAnyOfBrandsInner {
1190
+ }
1184
1191
  /**
1185
1192
  * ID of the org the roles are assigned in
1186
1193
  * @export
@@ -1188,6 +1195,20 @@ export type ListOrgRolesSuccessResponseValueAnyOfRolesEnum = typeof ListOrgRoles
1188
1195
  */
1189
1196
  export interface ListOrgRolesSuccessResponseValueAnyOfOrgId {
1190
1197
  }
1198
+ /**
1199
+ *
1200
+ * @export
1201
+ * @interface ListOrgRolesSuccessResponseValueAnyOfPropertiesInner
1202
+ */
1203
+ export interface ListOrgRolesSuccessResponseValueAnyOfPropertiesInner {
1204
+ }
1205
+ /**
1206
+ *
1207
+ * @export
1208
+ * @interface ListOrgRolesSuccessResponseValueAnyOfSalesChannelsInner
1209
+ */
1210
+ export interface ListOrgRolesSuccessResponseValueAnyOfSalesChannelsInner {
1211
+ }
1191
1212
  /**
1192
1213
  *
1193
1214
  * @export
@@ -1906,6 +1927,46 @@ export declare const UpdateTeammateAccessRequestBodyAppAccessLevelEnum: {
1906
1927
  readonly Integrator: "Integrator";
1907
1928
  };
1908
1929
  export type UpdateTeammateAccessRequestBodyAppAccessLevelEnum = typeof UpdateTeammateAccessRequestBodyAppAccessLevelEnum[keyof typeof UpdateTeammateAccessRequestBodyAppAccessLevelEnum];
1930
+ /**
1931
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
1932
+ * @export
1933
+ * @interface V2UiRoleAssignmentRequestBody
1934
+ */
1935
+ export interface V2UiRoleAssignmentRequestBody {
1936
+ /**
1937
+ * Teammate app access level (role)
1938
+ * @type {string}
1939
+ * @memberof V2UiRoleAssignmentRequestBody
1940
+ */
1941
+ 'appAccessLevel': V2UiRoleAssignmentRequestBodyAppAccessLevelEnum;
1942
+ /**
1943
+ * Org-wide store access; when false, propertyIds are required for property-scoped roles
1944
+ * @type {boolean}
1945
+ * @memberof V2UiRoleAssignmentRequestBody
1946
+ */
1947
+ 'hasAccessToAllStores': boolean;
1948
+ /**
1949
+ * Property resource ids (e.g. p123) when scoped to properties
1950
+ * @type {Array<string>}
1951
+ * @memberof V2UiRoleAssignmentRequestBody
1952
+ */
1953
+ 'propertyIds'?: Array<string>;
1954
+ /**
1955
+ * Optional v2 permission set keys to apply to this teammate role
1956
+ * @type {Array<string>}
1957
+ * @memberof V2UiRoleAssignmentRequestBody
1958
+ */
1959
+ 'optionalPermissionSetKeys'?: Array<string>;
1960
+ }
1961
+ export declare const V2UiRoleAssignmentRequestBodyAppAccessLevelEnum: {
1962
+ readonly Owner: "Owner";
1963
+ readonly ManagedOwner: "ManagedOwner";
1964
+ readonly PropertyOwner: "PropertyOwner";
1965
+ readonly PropertyManager: "PropertyManager";
1966
+ readonly FinanceManager: "FinanceManager";
1967
+ readonly Integrator: "Integrator";
1968
+ };
1969
+ export type V2UiRoleAssignmentRequestBodyAppAccessLevelEnum = typeof V2UiRoleAssignmentRequestBodyAppAccessLevelEnum[keyof typeof V2UiRoleAssignmentRequestBodyAppAccessLevelEnum];
1909
1970
  /**
1910
1971
  *
1911
1972
  * @export
@@ -2548,6 +2609,16 @@ export declare const RoleAssignmentApiAxiosParamCreator: (configuration?: Config
2548
2609
  * @throws {RequiredError}
2549
2610
  */
2550
2611
  grantTeammateAccess: (orgId: string, userId: string, grantTeammateAccessRequestBody?: GrantTeammateAccessRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2612
+ /**
2613
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2614
+ * @summary Grant v2 teammate access to a user
2615
+ * @param {string} orgId
2616
+ * @param {string} userId Target Flipdish user id (numeric string)
2617
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2618
+ * @param {*} [options] Override http request option.
2619
+ * @throws {RequiredError}
2620
+ */
2621
+ grantTeammateAccessV2: (orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2551
2622
  /**
2552
2623
  * Rematerializes a V2 role assignment and applies the resulting policy assignments
2553
2624
  * @summary Rematerialize V2 Role Assignment
@@ -2585,6 +2656,16 @@ export declare const RoleAssignmentApiAxiosParamCreator: (configuration?: Config
2585
2656
  * @throws {RequiredError}
2586
2657
  */
2587
2658
  updateTeammateAccess: (orgId: string, userId: string, updateTeammateAccessRequestBody?: UpdateTeammateAccessRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2659
+ /**
2660
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2661
+ * @summary Update v2 teammate access for a user
2662
+ * @param {string} orgId
2663
+ * @param {string} userId Target Flipdish user id (numeric string)
2664
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2665
+ * @param {*} [options] Override http request option.
2666
+ * @throws {RequiredError}
2667
+ */
2668
+ updateTeammateAccessV2: (orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2588
2669
  };
2589
2670
  /**
2590
2671
  * RoleAssignmentApi - functional programming interface
@@ -2619,6 +2700,16 @@ export declare const RoleAssignmentApiFp: (configuration?: Configuration) => {
2619
2700
  * @throws {RequiredError}
2620
2701
  */
2621
2702
  grantTeammateAccess(orgId: string, userId: string, grantTeammateAccessRequestBody?: GrantTeammateAccessRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeammateAccessSuccessResponse>>;
2703
+ /**
2704
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2705
+ * @summary Grant v2 teammate access to a user
2706
+ * @param {string} orgId
2707
+ * @param {string} userId Target Flipdish user id (numeric string)
2708
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2709
+ * @param {*} [options] Override http request option.
2710
+ * @throws {RequiredError}
2711
+ */
2712
+ grantTeammateAccessV2(orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeammateAccessSuccessResponse>>;
2622
2713
  /**
2623
2714
  * Rematerializes a V2 role assignment and applies the resulting policy assignments
2624
2715
  * @summary Rematerialize V2 Role Assignment
@@ -2656,6 +2747,16 @@ export declare const RoleAssignmentApiFp: (configuration?: Configuration) => {
2656
2747
  * @throws {RequiredError}
2657
2748
  */
2658
2749
  updateTeammateAccess(orgId: string, userId: string, updateTeammateAccessRequestBody?: UpdateTeammateAccessRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeammateAccessSuccessResponse>>;
2750
+ /**
2751
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2752
+ * @summary Update v2 teammate access for a user
2753
+ * @param {string} orgId
2754
+ * @param {string} userId Target Flipdish user id (numeric string)
2755
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2756
+ * @param {*} [options] Override http request option.
2757
+ * @throws {RequiredError}
2758
+ */
2759
+ updateTeammateAccessV2(orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TeammateAccessSuccessResponse>>;
2659
2760
  };
2660
2761
  /**
2661
2762
  * RoleAssignmentApi - factory interface
@@ -2690,6 +2791,16 @@ export declare const RoleAssignmentApiFactory: (configuration?: Configuration, b
2690
2791
  * @throws {RequiredError}
2691
2792
  */
2692
2793
  grantTeammateAccess(orgId: string, userId: string, grantTeammateAccessRequestBody?: GrantTeammateAccessRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<TeammateAccessSuccessResponse>;
2794
+ /**
2795
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2796
+ * @summary Grant v2 teammate access to a user
2797
+ * @param {string} orgId
2798
+ * @param {string} userId Target Flipdish user id (numeric string)
2799
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2800
+ * @param {*} [options] Override http request option.
2801
+ * @throws {RequiredError}
2802
+ */
2803
+ grantTeammateAccessV2(orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<TeammateAccessSuccessResponse>;
2693
2804
  /**
2694
2805
  * Rematerializes a V2 role assignment and applies the resulting policy assignments
2695
2806
  * @summary Rematerialize V2 Role Assignment
@@ -2727,6 +2838,16 @@ export declare const RoleAssignmentApiFactory: (configuration?: Configuration, b
2727
2838
  * @throws {RequiredError}
2728
2839
  */
2729
2840
  updateTeammateAccess(orgId: string, userId: string, updateTeammateAccessRequestBody?: UpdateTeammateAccessRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<TeammateAccessSuccessResponse>;
2841
+ /**
2842
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2843
+ * @summary Update v2 teammate access for a user
2844
+ * @param {string} orgId
2845
+ * @param {string} userId Target Flipdish user id (numeric string)
2846
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2847
+ * @param {*} [options] Override http request option.
2848
+ * @throws {RequiredError}
2849
+ */
2850
+ updateTeammateAccessV2(orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<TeammateAccessSuccessResponse>;
2730
2851
  };
2731
2852
  /**
2732
2853
  * RoleAssignmentApi - object-oriented interface
@@ -2766,6 +2887,17 @@ export declare class RoleAssignmentApi extends BaseAPI {
2766
2887
  * @memberof RoleAssignmentApi
2767
2888
  */
2768
2889
  grantTeammateAccess(orgId: string, userId: string, grantTeammateAccessRequestBody?: GrantTeammateAccessRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeammateAccessSuccessResponse, any, {}>>;
2890
+ /**
2891
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2892
+ * @summary Grant v2 teammate access to a user
2893
+ * @param {string} orgId
2894
+ * @param {string} userId Target Flipdish user id (numeric string)
2895
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2896
+ * @param {*} [options] Override http request option.
2897
+ * @throws {RequiredError}
2898
+ * @memberof RoleAssignmentApi
2899
+ */
2900
+ grantTeammateAccessV2(orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeammateAccessSuccessResponse, any, {}>>;
2769
2901
  /**
2770
2902
  * Rematerializes a V2 role assignment and applies the resulting policy assignments
2771
2903
  * @summary Rematerialize V2 Role Assignment
@@ -2807,6 +2939,17 @@ export declare class RoleAssignmentApi extends BaseAPI {
2807
2939
  * @memberof RoleAssignmentApi
2808
2940
  */
2809
2941
  updateTeammateAccess(orgId: string, userId: string, updateTeammateAccessRequestBody?: UpdateTeammateAccessRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeammateAccessSuccessResponse, any, {}>>;
2942
+ /**
2943
+ * Apply a v2 UI role assignment without invoking legacy teammate/Zeus role assignment flows.
2944
+ * @summary Update v2 teammate access for a user
2945
+ * @param {string} orgId
2946
+ * @param {string} userId Target Flipdish user id (numeric string)
2947
+ * @param {V2UiRoleAssignmentRequestBody} [v2UiRoleAssignmentRequestBody]
2948
+ * @param {*} [options] Override http request option.
2949
+ * @throws {RequiredError}
2950
+ * @memberof RoleAssignmentApi
2951
+ */
2952
+ updateTeammateAccessV2(orgId: string, userId: string, v2UiRoleAssignmentRequestBody?: V2UiRoleAssignmentRequestBody, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TeammateAccessSuccessResponse, any, {}>>;
2810
2953
  }
2811
2954
  /**
2812
2955
  * UserManagementApi - axios parameter creator
@@ -2821,6 +2964,14 @@ export declare const UserManagementApiAxiosParamCreator: (configuration?: Config
2821
2964
  * @throws {RequiredError}
2822
2965
  */
2823
2966
  listUsersInOrg: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2967
+ /**
2968
+ * List the users in a given org for the v2 control plane UI
2969
+ * @summary List Users in Org V2
2970
+ * @param {string} orgId
2971
+ * @param {*} [options] Override http request option.
2972
+ * @throws {RequiredError}
2973
+ */
2974
+ listUsersInOrgV2: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2824
2975
  /**
2825
2976
  * Same principals as list users, plus roleDisplay and isCustomised per principal (extra Dynamo reads for compensating roles and granular assignments).
2826
2977
  * @summary List Users in Org with teammate permission summary
@@ -2843,6 +2994,14 @@ export declare const UserManagementApiFp: (configuration?: Configuration) => {
2843
2994
  * @throws {RequiredError}
2844
2995
  */
2845
2996
  listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrincipalsInOrgResponse>>;
2997
+ /**
2998
+ * List the users in a given org for the v2 control plane UI
2999
+ * @summary List Users in Org V2
3000
+ * @param {string} orgId
3001
+ * @param {*} [options] Override http request option.
3002
+ * @throws {RequiredError}
3003
+ */
3004
+ listUsersInOrgV2(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrincipalsInOrgResponse>>;
2846
3005
  /**
2847
3006
  * Same principals as list users, plus roleDisplay and isCustomised per principal (extra Dynamo reads for compensating roles and granular assignments).
2848
3007
  * @summary List Users in Org with teammate permission summary
@@ -2865,6 +3024,14 @@ export declare const UserManagementApiFactory: (configuration?: Configuration, b
2865
3024
  * @throws {RequiredError}
2866
3025
  */
2867
3026
  listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<PrincipalsInOrgResponse>;
3027
+ /**
3028
+ * List the users in a given org for the v2 control plane UI
3029
+ * @summary List Users in Org V2
3030
+ * @param {string} orgId
3031
+ * @param {*} [options] Override http request option.
3032
+ * @throws {RequiredError}
3033
+ */
3034
+ listUsersInOrgV2(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<PrincipalsInOrgResponse>;
2868
3035
  /**
2869
3036
  * Same principals as list users, plus roleDisplay and isCustomised per principal (extra Dynamo reads for compensating roles and granular assignments).
2870
3037
  * @summary List Users in Org with teammate permission summary
@@ -2890,6 +3057,15 @@ export declare class UserManagementApi extends BaseAPI {
2890
3057
  * @memberof UserManagementApi
2891
3058
  */
2892
3059
  listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrincipalsInOrgResponse, any, {}>>;
3060
+ /**
3061
+ * List the users in a given org for the v2 control plane UI
3062
+ * @summary List Users in Org V2
3063
+ * @param {string} orgId
3064
+ * @param {*} [options] Override http request option.
3065
+ * @throws {RequiredError}
3066
+ * @memberof UserManagementApi
3067
+ */
3068
+ listUsersInOrgV2(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PrincipalsInOrgResponse, any, {}>>;
2893
3069
  /**
2894
3070
  * Same principals as list users, plus roleDisplay and isCustomised per principal (extra Dynamo reads for compensating roles and granular assignments).
2895
3071
  * @summary List Users in Org with teammate permission summary
@@ -2913,6 +3089,14 @@ export declare const UserPermissionsApiAxiosParamCreator: (configuration?: Confi
2913
3089
  * @throws {RequiredError}
2914
3090
  */
2915
3091
  listOrgPermissions: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3092
+ /**
3093
+ * List the v2 materialized permissions for an org
3094
+ * @summary List Org Permissions V2
3095
+ * @param {string} orgId
3096
+ * @param {*} [options] Override http request option.
3097
+ * @throws {RequiredError}
3098
+ */
3099
+ listOrgPermissionsV2: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2916
3100
  /**
2917
3101
  * List the available roles for the current user
2918
3102
  * @summary List Org Roles
@@ -2921,6 +3105,14 @@ export declare const UserPermissionsApiAxiosParamCreator: (configuration?: Confi
2921
3105
  * @throws {RequiredError}
2922
3106
  */
2923
3107
  listOrgRoles: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3108
+ /**
3109
+ * List the v2 role assignments for an org
3110
+ * @summary List Org Roles V2
3111
+ * @param {string} orgId
3112
+ * @param {*} [options] Override http request option.
3113
+ * @throws {RequiredError}
3114
+ */
3115
+ listOrgRolesV2: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2924
3116
  /**
2925
3117
  * List the available permissions for the current user
2926
3118
  * @summary List Own Permissions
@@ -2929,6 +3121,14 @@ export declare const UserPermissionsApiAxiosParamCreator: (configuration?: Confi
2929
3121
  * @throws {RequiredError}
2930
3122
  */
2931
3123
  listOwnPermissions: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3124
+ /**
3125
+ * List the v2 materialized permissions for the current user
3126
+ * @summary List Own Permissions V2
3127
+ * @param {string} orgId
3128
+ * @param {*} [options] Override http request option.
3129
+ * @throws {RequiredError}
3130
+ */
3131
+ listOwnPermissionsV2: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2932
3132
  /**
2933
3133
  * List the available permissions for a given user
2934
3134
  * @summary List User Permissions
@@ -2938,6 +3138,15 @@ export declare const UserPermissionsApiAxiosParamCreator: (configuration?: Confi
2938
3138
  * @throws {RequiredError}
2939
3139
  */
2940
3140
  listUserPermissions: (orgId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3141
+ /**
3142
+ * List the v2 materialized permissions for a given user
3143
+ * @summary List User Permissions V2
3144
+ * @param {string} orgId
3145
+ * @param {string} userId
3146
+ * @param {*} [options] Override http request option.
3147
+ * @throws {RequiredError}
3148
+ */
3149
+ listUserPermissionsV2: (orgId: string, userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2941
3150
  };
2942
3151
  /**
2943
3152
  * UserPermissionsApi - functional programming interface
@@ -2956,6 +3165,18 @@ export declare const UserPermissionsApiFp: (configuration?: Configuration) => {
2956
3165
  [key: string]: GetUserPermissionsSuccessResponseResourcesValue;
2957
3166
  };
2958
3167
  }>>;
3168
+ /**
3169
+ * List the v2 materialized permissions for an org
3170
+ * @summary List Org Permissions V2
3171
+ * @param {string} orgId
3172
+ * @param {*} [options] Override http request option.
3173
+ * @throws {RequiredError}
3174
+ */
3175
+ listOrgPermissionsV2(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
3176
+ [key: string]: {
3177
+ [key: string]: GetUserPermissionsSuccessResponseResourcesValue;
3178
+ };
3179
+ }>>;
2959
3180
  /**
2960
3181
  * List the available roles for the current user
2961
3182
  * @summary List Org Roles
@@ -2966,6 +3187,16 @@ export declare const UserPermissionsApiFp: (configuration?: Configuration) => {
2966
3187
  listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
2967
3188
  [key: string]: ListOrgRolesSuccessResponseValue;
2968
3189
  }>>;
3190
+ /**
3191
+ * List the v2 role assignments for an org
3192
+ * @summary List Org Roles V2
3193
+ * @param {string} orgId
3194
+ * @param {*} [options] Override http request option.
3195
+ * @throws {RequiredError}
3196
+ */
3197
+ listOrgRolesV2(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
3198
+ [key: string]: ListOrgRolesSuccessResponseValue;
3199
+ }>>;
2969
3200
  /**
2970
3201
  * List the available permissions for the current user
2971
3202
  * @summary List Own Permissions
@@ -2974,6 +3205,14 @@ export declare const UserPermissionsApiFp: (configuration?: Configuration) => {
2974
3205
  * @throws {RequiredError}
2975
3206
  */
2976
3207
  listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPermissionsSuccessResponse>>;
3208
+ /**
3209
+ * List the v2 materialized permissions for the current user
3210
+ * @summary List Own Permissions V2
3211
+ * @param {string} orgId
3212
+ * @param {*} [options] Override http request option.
3213
+ * @throws {RequiredError}
3214
+ */
3215
+ listOwnPermissionsV2(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPermissionsSuccessResponse>>;
2977
3216
  /**
2978
3217
  * List the available permissions for a given user
2979
3218
  * @summary List User Permissions
@@ -2983,6 +3222,15 @@ export declare const UserPermissionsApiFp: (configuration?: Configuration) => {
2983
3222
  * @throws {RequiredError}
2984
3223
  */
2985
3224
  listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPermissionsSuccessResponse>>;
3225
+ /**
3226
+ * List the v2 materialized permissions for a given user
3227
+ * @summary List User Permissions V2
3228
+ * @param {string} orgId
3229
+ * @param {string} userId
3230
+ * @param {*} [options] Override http request option.
3231
+ * @throws {RequiredError}
3232
+ */
3233
+ listUserPermissionsV2(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUserPermissionsSuccessResponse>>;
2986
3234
  };
2987
3235
  /**
2988
3236
  * UserPermissionsApi - factory interface
@@ -3001,6 +3249,18 @@ export declare const UserPermissionsApiFactory: (configuration?: Configuration,
3001
3249
  [key: string]: GetUserPermissionsSuccessResponseResourcesValue;
3002
3250
  };
3003
3251
  }>;
3252
+ /**
3253
+ * List the v2 materialized permissions for an org
3254
+ * @summary List Org Permissions V2
3255
+ * @param {string} orgId
3256
+ * @param {*} [options] Override http request option.
3257
+ * @throws {RequiredError}
3258
+ */
3259
+ listOrgPermissionsV2(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
3260
+ [key: string]: {
3261
+ [key: string]: GetUserPermissionsSuccessResponseResourcesValue;
3262
+ };
3263
+ }>;
3004
3264
  /**
3005
3265
  * List the available roles for the current user
3006
3266
  * @summary List Org Roles
@@ -3011,6 +3271,16 @@ export declare const UserPermissionsApiFactory: (configuration?: Configuration,
3011
3271
  listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
3012
3272
  [key: string]: ListOrgRolesSuccessResponseValue;
3013
3273
  }>;
3274
+ /**
3275
+ * List the v2 role assignments for an org
3276
+ * @summary List Org Roles V2
3277
+ * @param {string} orgId
3278
+ * @param {*} [options] Override http request option.
3279
+ * @throws {RequiredError}
3280
+ */
3281
+ listOrgRolesV2(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
3282
+ [key: string]: ListOrgRolesSuccessResponseValue;
3283
+ }>;
3014
3284
  /**
3015
3285
  * List the available permissions for the current user
3016
3286
  * @summary List Own Permissions
@@ -3019,6 +3289,14 @@ export declare const UserPermissionsApiFactory: (configuration?: Configuration,
3019
3289
  * @throws {RequiredError}
3020
3290
  */
3021
3291
  listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPermissionsSuccessResponse>;
3292
+ /**
3293
+ * List the v2 materialized permissions for the current user
3294
+ * @summary List Own Permissions V2
3295
+ * @param {string} orgId
3296
+ * @param {*} [options] Override http request option.
3297
+ * @throws {RequiredError}
3298
+ */
3299
+ listOwnPermissionsV2(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPermissionsSuccessResponse>;
3022
3300
  /**
3023
3301
  * List the available permissions for a given user
3024
3302
  * @summary List User Permissions
@@ -3028,6 +3306,15 @@ export declare const UserPermissionsApiFactory: (configuration?: Configuration,
3028
3306
  * @throws {RequiredError}
3029
3307
  */
3030
3308
  listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPermissionsSuccessResponse>;
3309
+ /**
3310
+ * List the v2 materialized permissions for a given user
3311
+ * @summary List User Permissions V2
3312
+ * @param {string} orgId
3313
+ * @param {string} userId
3314
+ * @param {*} [options] Override http request option.
3315
+ * @throws {RequiredError}
3316
+ */
3317
+ listUserPermissionsV2(orgId: string, userId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetUserPermissionsSuccessResponse>;
3031
3318
  };
3032
3319
  /**
3033
3320
  * UserPermissionsApi - object-oriented interface
@@ -3049,6 +3336,19 @@ export declare class UserPermissionsApi extends BaseAPI {
3049
3336
  [key: string]: GetUserPermissionsSuccessResponseResourcesValue;
3050
3337
  };
3051
3338
  }, any, {}>>;
3339
+ /**
3340
+ * List the v2 materialized permissions for an org
3341
+ * @summary List Org Permissions V2
3342
+ * @param {string} orgId
3343
+ * @param {*} [options] Override http request option.
3344
+ * @throws {RequiredError}
3345
+ * @memberof UserPermissionsApi
3346
+ */
3347
+ listOrgPermissionsV2(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3348
+ [key: string]: {
3349
+ [key: string]: GetUserPermissionsSuccessResponseResourcesValue;
3350
+ };
3351
+ }, any, {}>>;
3052
3352
  /**
3053
3353
  * List the available roles for the current user
3054
3354
  * @summary List Org Roles
@@ -3060,6 +3360,17 @@ export declare class UserPermissionsApi extends BaseAPI {
3060
3360
  listOrgRoles(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3061
3361
  [key: string]: ListOrgRolesSuccessResponseValue;
3062
3362
  }, any, {}>>;
3363
+ /**
3364
+ * List the v2 role assignments for an org
3365
+ * @summary List Org Roles V2
3366
+ * @param {string} orgId
3367
+ * @param {*} [options] Override http request option.
3368
+ * @throws {RequiredError}
3369
+ * @memberof UserPermissionsApi
3370
+ */
3371
+ listOrgRolesV2(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3372
+ [key: string]: ListOrgRolesSuccessResponseValue;
3373
+ }, any, {}>>;
3063
3374
  /**
3064
3375
  * List the available permissions for the current user
3065
3376
  * @summary List Own Permissions
@@ -3069,6 +3380,15 @@ export declare class UserPermissionsApi extends BaseAPI {
3069
3380
  * @memberof UserPermissionsApi
3070
3381
  */
3071
3382
  listOwnPermissions(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
3383
+ /**
3384
+ * List the v2 materialized permissions for the current user
3385
+ * @summary List Own Permissions V2
3386
+ * @param {string} orgId
3387
+ * @param {*} [options] Override http request option.
3388
+ * @throws {RequiredError}
3389
+ * @memberof UserPermissionsApi
3390
+ */
3391
+ listOwnPermissionsV2(orgId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
3072
3392
  /**
3073
3393
  * List the available permissions for a given user
3074
3394
  * @summary List User Permissions
@@ -3079,4 +3399,14 @@ export declare class UserPermissionsApi extends BaseAPI {
3079
3399
  * @memberof UserPermissionsApi
3080
3400
  */
3081
3401
  listUserPermissions(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
3402
+ /**
3403
+ * List the v2 materialized permissions for a given user
3404
+ * @summary List User Permissions V2
3405
+ * @param {string} orgId
3406
+ * @param {string} userId
3407
+ * @param {*} [options] Override http request option.
3408
+ * @throws {RequiredError}
3409
+ * @memberof UserPermissionsApi
3410
+ */
3411
+ listUserPermissionsV2(orgId: string, userId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserPermissionsSuccessResponse, any, {}>>;
3082
3412
  }