/** * @example * { * all_features_access: true, * email: "inviteuser@example.com", * privileges: [{}] * } */ export interface InviteAdminUserRequest { /** All access to the features */ all_features_access: boolean; /** Email address for the organization */ email: string; /** Ids of Group */ groupIds?: string[]; privileges: InviteAdminUserRequest.Privileges.Item[]; } export declare namespace InviteAdminUserRequest { type Privileges = Privileges.Item[]; namespace Privileges { /** * Privileges given to the user */ interface Item { /** Feature name */ feature?: Item.Feature | undefined; /** Permissions for a given feature */ permissions?: Item.Permissions.Item[] | undefined; } namespace Item { /** Feature name */ const Feature: { readonly MyPlan: "my_plan"; readonly Api: "api"; readonly UserManagement: "user_management"; readonly AppManagement: "app_management"; readonly SubOrganizationGroups: "sub_organization_groups"; readonly CreateSubOrganizations: "create_sub_organizations"; readonly ManageSubOrganizations: "manage_sub_organizations"; readonly Analytics: "analytics"; readonly Security: "security"; }; type Feature = (typeof Feature)[keyof typeof Feature]; type Permissions = Permissions.Item[]; namespace Permissions { const Item: { readonly All: "all"; readonly None: "none"; readonly Create: "create"; readonly EditDelete: "edit_delete"; readonly DownloadData: "download_data"; readonly CreateAlerts: "create_alerts"; }; type Item = (typeof Item)[keyof typeof Item]; } } } }