/* Options: Date: 2025-05-04 22:10:26 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: EndpointsReport.* //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.Endpoints; using Voice.Api.Reports; namespace Voice.Api.Endpoints { public enum EndpointTypes { PhoneNumber, User, FaxNumber, EmailAddress, Unused_1, Unused_2, Unused_3, Unused_4, Unused_5, Team, Assistant, } } namespace Voice.Api.Reports { /// ///This report returns all of the endpoints broken down by type per tab /// [Route("/reports/endpoints", "GET")] [Api(Description="This report returns all of the endpoints broken down by type per tab")] public partial class EndpointsReport : ReportRequest, IReturn { /// ///The types of endpoints to return /// [ApiMember(Description="The types of endpoints to return")] public virtual List Types { get; set; } /// ///Filter by specific customer /// [ApiMember(Description="Filter by specific customer")] public virtual string CustomerId { get; set; } } public partial class ReportInfo { public virtual string Id { get; set; } public virtual string Name { get; set; } public virtual ReportStatuses Status { get; set; } public virtual string StatusMessage { get; set; } public virtual string DateCreated { get; set; } public virtual string DateUpdated { get; set; } public virtual string DownloadLink { get; set; } public virtual string JobId { get; set; } public virtual string EmailAddressToNotify { get; set; } public virtual string Server { get; set; } } public partial class ReportRequest : IPost { /// ///The account ID this report should be run for /// [ApiMember(Description="The account ID this report should be run for")] public virtual string AccountId { get; set; } /// ///The email address to notify after the report is run /// [ApiMember(Description="The email address to notify after the report is run")] public virtual string EmailAddressToNotify { get; set; } /// ///The webhook to call after the report is complete with the data from the report /// [ApiMember(Description="The webhook to call after the report is complete with the data from the report")] public virtual string WebhookUrl { get; set; } } public enum ReportStatuses { Queued, Running, Completed, Error, } }