/* Options: Date: 2026-04-01 02:31:19 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: PreviewSummarizedInvoice.* //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 System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Enums; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class PreviewCustomerGroup { public virtual Guid CustomerId { get; set; } public virtual string CustomerName { get; set; } public virtual string? Email { get; set; } public virtual int BookingCount { get; set; } public virtual List BookingIds { get; set; } = []; public virtual bool MissingInvoiceAddress { get; set; } public virtual bool MissingEmail { get; set; } } [Route("/eaccounting/summarizedinvoice/preview", "GET")] [ValidateRequest("IsAuthenticated")] public partial class PreviewSummarizedInvoice : IReturn, ICompany { /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } /// ///Start date for the booking range to include. /// [ApiMember(Description="Start date for the booking range to include.", IsRequired=true)] public virtual DateTime DateFrom { get; set; } /// ///End date for the booking range to include. /// [ApiMember(Description="End date for the booking range to include.", IsRequired=true)] public virtual DateTime DateTo { get; set; } /// ///Optional customer id filter. /// [ApiMember(Description="Optional customer id filter.")] public virtual Guid? CustomerId { get; set; } /// ///Optional service/event id filter. /// [ApiMember(Description="Optional service/event id filter.")] public virtual int? ServiceId { get; set; } /// ///Optional list of booking status ids to include. If empty, all statuses are included. /// [ApiMember(Description="Optional list of booking status ids to include. If empty, all statuses are included.")] public virtual List? BookingStatusIds { get; set; } /// ///Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery. /// [ApiMember(Description="Send type for invoices. 0 = None, 1 = AutoInvoiceElectronic, 2 = AutoInvoicePrint, 3 = AutoInvoiceB2C. Used to validate customer addresses for postal delivery.")] public virtual EAccountingInvoiceSendTypes? SendType { get; set; } } public partial class PreviewSummarizedInvoiceResponse { public virtual int TotalCustomers { get; set; } public virtual int TotalBookings { get; set; } public virtual List Customers { get; set; } = []; public virtual ResponseStatus ResponseStatus { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }