/* Options: Date: 2025-05-04 22:28:59 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListUsers.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export enum SortOrders { Ascend = 'Ascend', Descend = 'Descend', } export class ListRequest implements IGet { /** @description The page of data to retrieve */ // @ApiMember(Description="The page of data to retrieve") public page: number; /** @description 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 all: boolean; /** @description The number per page to retrieve */ // @ApiMember(Description="The number per page to retrieve") public countPerPage: number; /** @description Specific IDs */ // @ApiMember(Description="Specific IDs") public specificIds: string[]; /** @description Specify a sort field */ // @ApiMember(Description="Specify a sort field") public sortField: string; /** @description Specify a sort order */ // @ApiMember(Description="Specify a sort order") public sortOrder: SortOrders; /** @description 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 simplifiedPaging: boolean; public constructor(init?: Partial>) { (Object as any).assign(this, init); } } export enum DashboardPermissions { ViewFiles = 'ViewFiles', ViewNotifications = 'ViewNotifications', ViewSessions = 'ViewSessions', ViewEndpoints = 'ViewEndpoints', ViewReports = 'ViewReports', ViewCustomers = 'ViewCustomers', ViewFlows = 'ViewFlows', } export class ListResponse { /** @description The items */ // @ApiMember(Description="The items") public items: T[]; /** @description The total number of items */ // @ApiMember(Description="The total number of items") public totalCount: number; /** @description The total number of pages */ // @ApiMember(Description="The total number of pages") public totalPages: number; /** @description Are there more pages of items? Used with simplified paging */ // @ApiMember(Description="Are there more pages of items? Used with simplified paging") public hasMorePages: boolean; public constructor(init?: Partial>) { (Object as any).assign(this, init); } } export class UserInfo { public id: string; public isAuthenticated: boolean; public firstName: string; public lastName: string; public name: string; public avatarUrl: string; public emailAddress: string; public roles: string[]; public accountIds: string[]; public accountNames: string[]; public dashboardPermissions: DashboardPermissions[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Gets the users for the specified account */ // @Route("/users", "GET") // @Api(Description="Gets the users for the specified account") export class ListUsers extends ListRequest implements IReturn> { /** @description The account IDs whose users you want to retrieve */ // @ApiMember(Description="The account IDs whose users you want to retrieve") public accountIds: string[]; /** @description Filter by email */ // @ApiMember(Description="Filter by email") public emailFilter: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'ListUsers'; } public getMethod() { return 'GET'; } public createResponse() { return new ListResponse(); } }