/* Options: Date: 2025-05-05 00:14:31 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: ListUsers.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Voice.Api; using Voice.Api.Authentication; namespace Voice.Api { public partial class ListRequest : IGet { /// ///The page of data to retrieve /// [ApiMember(Description="The page of data to retrieve")] public virtual int Page { get; set; } /// ///If you want all objects to be returned. This should be used with care /// [ApiMember(Description="If you want all objects to be returned. This should be used with care")] public virtual bool All { get; set; } /// ///The number per page to retrieve /// [ApiMember(Description="The number per page to retrieve")] public virtual int CountPerPage { get; set; } /// ///Specific IDs /// [ApiMember(Description="Specific IDs")] public virtual List SpecificIds { get; set; } /// ///Specify a sort field /// [ApiMember(Description="Specify a sort field")] public virtual string SortField { get; set; } /// ///Specify a sort order /// [ApiMember(Description="Specify a sort order")] public virtual SortOrders SortOrder { get; set; } /// ///Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array /// [ApiMember(Description="Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array")] public virtual bool SimplifiedPaging { get; set; } } public partial class ListResponse { /// ///The items /// [ApiMember(Description="The items")] public virtual List Items { get; set; } /// ///The total number of items /// [ApiMember(Description="The total number of items")] public virtual int TotalCount { get; set; } /// ///The total number of pages /// [ApiMember(Description="The total number of pages")] public virtual int TotalPages { get; set; } /// ///Are there more pages of items? Used with simplified paging /// [ApiMember(Description="Are there more pages of items? Used with simplified paging")] public virtual bool HasMorePages { get; set; } } public enum SortOrders { Ascend, Descend, } } namespace Voice.Api.Authentication { public enum DashboardPermissions { ViewFiles, ViewNotifications, ViewSessions, ViewEndpoints, ViewReports, ViewCustomers, ViewFlows, } /// ///Gets the users for the specified account /// [Route("/users", "GET")] [Api(Description="Gets the users for the specified account")] public partial class ListUsers : ListRequest, IReturn> { /// ///The account IDs whose users you want to retrieve /// [ApiMember(Description="The account IDs whose users you want to retrieve")] public virtual List AccountIds { get; set; } /// ///Filter by email /// [ApiMember(Description="Filter by email")] public virtual string EmailFilter { get; set; } } public partial class UserInfo { public virtual string Id { get; set; } public virtual bool IsAuthenticated { get; set; } public virtual string FirstName { get; set; } public virtual string LastName { get; set; } public virtual string Name { get; set; } public virtual string AvatarUrl { get; set; } public virtual string EmailAddress { get; set; } public virtual List Roles { get; set; } public virtual List AccountIds { get; set; } public virtual List AccountNames { get; set; } public virtual List DashboardPermissions { get; set; } } }