export interface Inviteuser { /** All access to the features */ all_features_access: boolean; /** Email address for the organization */ email: string; privileges: Inviteuser.Privileges.Item[]; } export declare namespace Inviteuser { 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 EmailCampaigns: "email_campaigns"; readonly SmsCampaigns: "sms_campaigns"; readonly Contacts: "contacts"; readonly Templates: "templates"; readonly Workflows: "workflows"; readonly LandingPages: "landing_pages"; readonly TransactionalEmails: "transactional_emails"; readonly SmtpApi: "smtp_api"; readonly UserManagement: "user_management"; readonly SalesPlatform: "sales_platform"; readonly Phone: "phone"; readonly Conversations: "conversations"; readonly SendersDomainsDedicatedIps: "senders_domains_dedicated_ips"; readonly PushNotifications: "push_notifications"; readonly Companies: "companies"; }; type Feature = (typeof Feature)[keyof typeof Feature]; type Permissions = Permissions.Item[]; namespace Permissions { const Item: { readonly CreateEditDelete: "create_edit_delete"; readonly SendScheduleSuspend: "send_schedule_suspend"; readonly View: "view"; readonly Import: "import"; readonly Export: "export"; readonly ListAndAttributes: "list_and_attributes"; readonly Forms: "forms"; readonly ActivateDeactivate: "activate_deactivate"; readonly ActivateDeactivatePause: "activate_deactivate_pause"; readonly Settings: "settings"; readonly SchedulePause: "schedule_pause"; readonly All: "all"; readonly Logs: "logs"; readonly Access: "access"; readonly Assign: "assign"; readonly Configure: "configure"; readonly CreateEditDeals: "create_edit_deals"; readonly DeleteDeals: "delete_deals"; readonly ManageOthersDealsTasks: "manage_others_deals_tasks"; readonly ManageOwnedCompanies: "manage_owned_companies"; readonly ManageOthersCompanies: "manage_others_companies"; readonly Reports: "reports"; readonly SendersManagement: "senders_management"; readonly DomainsManagement: "domains_management"; readonly DedicatedIpsManagement: "dedicated_ips_management"; readonly Send: "send"; readonly Smtp: "smtp"; readonly ApiKeys: "api_keys"; readonly AuthorizedIps: "authorized_ips"; readonly None: "none"; }; type Item = (typeof Item)[keyof typeof Item]; } } } }