/* Options: Date: 2025-09-07 13:51:43 Version: 8.23 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: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: GDPRCustomerQuery.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; 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.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class GDPRCustomerBookingsResponse { /// ///The company ID associated with this booking /// [ApiMember(Description="The company ID associated with this booking")] public virtual Guid CompanyId { get; set; } /// ///The unique identifier of the booking /// [ApiMember(Description="The unique identifier of the booking")] public virtual int Id { get; set; } /// ///The customer ID associated with this booking /// [ApiMember(Description="The customer ID associated with this booking")] public virtual Guid CustomerId { get; set; } /// ///The service ID for this booking /// [ApiMember(Description="The service ID for this booking")] public virtual int ServiceId { get; set; } /// ///The current status of the booking /// [ApiMember(Description="The current status of the booking")] public virtual int StatusId { get; set; } /// ///The start date and time of the booking /// [ApiMember(Description="The start date and time of the booking")] public virtual DateTime From { get; set; } /// ///The end date and time of the booking /// [ApiMember(Description="The end date and time of the booking")] public virtual DateTime To { get; set; } /// ///The date when the booking was cancelled or unbooked /// [ApiMember(Description="The date when the booking was cancelled or unbooked")] public virtual DateTime? UnbookedOn { get; set; } /// ///Comments added when the booking was cancelled /// [ApiMember(Description="Comments added when the booking was cancelled")] public virtual string UnbookedComments { get; set; } /// ///Comments added when the booking was created /// [ApiMember(Description="Comments added when the booking was created")] public virtual string BookedComments { get; set; } /// ///The name of the person who made the booking /// [ApiMember(Description="The name of the person who made the booking")] public virtual string BookedBy { get; set; } /// ///General comments about the booking /// [ApiMember(Description="General comments about the booking")] public virtual string Comments { get; set; } /// ///Custom text field 1 /// [ApiMember(Description="Custom text field 1")] public virtual string TextField1 { get; set; } /// ///Custom text field 2 /// [ApiMember(Description="Custom text field 2")] public virtual string TextField2 { get; set; } /// ///Custom text field 3 /// [ApiMember(Description="Custom text field 3")] public virtual string TextField3 { get; set; } /// ///Custom text field 4 /// [ApiMember(Description="Custom text field 4")] public virtual string TextField4 { get; set; } /// ///Custom text field 5 /// [ApiMember(Description="Custom text field 5")] public virtual string TextField5 { get; set; } /// ///Custom text field 6 /// [ApiMember(Description="Custom text field 6")] public virtual string TextField6 { get; set; } /// ///Custom text field 7 /// [ApiMember(Description="Custom text field 7")] public virtual string TextField7 { get; set; } /// ///Custom text field 8 /// [ApiMember(Description="Custom text field 8")] public virtual string TextField8 { get; set; } /// ///Custom text field 9 /// [ApiMember(Description="Custom text field 9")] public virtual string TextField9 { get; set; } /// ///Custom text field 10 /// [ApiMember(Description="Custom text field 10")] public virtual string TextField10 { get; set; } /// ///Custom text field 11 /// [ApiMember(Description="Custom text field 11")] public virtual string TextField11 { get; set; } /// ///Custom text field 12 /// [ApiMember(Description="Custom text field 12")] public virtual string TextField12 { get; set; } /// ///Custom text field 13 /// [ApiMember(Description="Custom text field 13")] public virtual string TextField13 { get; set; } /// ///Custom text field 14 /// [ApiMember(Description="Custom text field 14")] public virtual string TextField14 { get; set; } /// ///Custom text field 15 /// [ApiMember(Description="Custom text field 15")] public virtual string TextField15 { get; set; } /// ///Custom text field 16 /// [ApiMember(Description="Custom text field 16")] public virtual string TextField16 { get; set; } /// ///Custom text field 17 /// [ApiMember(Description="Custom text field 17")] public virtual string TextField17 { get; set; } /// ///Custom text field 18 /// [ApiMember(Description="Custom text field 18")] public virtual string TextField18 { get; set; } /// ///Custom text field 19 /// [ApiMember(Description="Custom text field 19")] public virtual string TextField19 { get; set; } /// ///Custom text field 20 /// [ApiMember(Description="Custom text field 20")] public virtual string TextField20 { get; set; } /// ///The date when the booking was last updated /// [ApiMember(Description="The date when the booking was last updated")] public virtual DateTime UpdatedDate { get; set; } /// ///The date when the booking was created /// [ApiMember(Description="The date when the booking was created")] public virtual DateTime CreatedDate { get; set; } /// ///Comments sent to the customer about this booking /// [ApiMember(Description="Comments sent to the customer about this booking")] public virtual string CommentsToCustomer { get; set; } } public partial class GDPRCustomerCommentsResponse { /// ///The company ID associated with this comment /// [ApiMember(Description="The company ID associated with this comment")] public virtual Guid CompanyId { get; set; } /// ///The unique identifier of the comment /// [ApiMember(Description="The unique identifier of the comment")] public virtual int Id { get; set; } /// ///The customer ID this comment is associated with /// [ApiMember(Description="The customer ID this comment is associated with")] public virtual Guid CustomerId { get; set; } /// ///The content of the comment /// [ApiMember(Description="The content of the comment")] public virtual string Comments { get; set; } /// ///The date when the comment was last updated /// [ApiMember(Description="The date when the comment was last updated")] public virtual DateTime Updated { get; set; } /// ///The date when the comment was created /// [ApiMember(Description="The date when the comment was created")] public virtual DateTime Created { get; set; } /// ///URL to any image associated with the comment /// [ApiMember(Description="URL to any image associated with the comment")] public virtual Uri ImageUrl { get; set; } } public partial class GDPRCustomerInfoResponse { /// ///The unique identifier of the user /// [ApiMember(Description="The unique identifier of the user")] public virtual Guid UserId { get; set; } /// ///The user's first name /// [ApiMember(Description="The user's first name")] public virtual string Firstname { get; set; } /// ///The user's last name /// [ApiMember(Description="The user's last name")] public virtual string Lastname { get; set; } /// ///The user's phone number /// [ApiMember(Description="The user's phone number")] public virtual string Phone { get; set; } /// ///The user's email address /// [ApiMember(Description="The user's email address")] public virtual string Email { get; set; } /// ///Whether the user account is currently active /// [ApiMember(Description="Whether the user account is currently active")] public virtual bool Active { get; set; } /// ///The user's Facebook username /// [ApiMember(Description="The user's Facebook username")] public virtual string FacebookUsername { get; set; } /// ///Custom text field 1 /// [ApiMember(Description="Custom text field 1")] public virtual string TextField1 { get; set; } /// ///Custom text field 2 /// [ApiMember(Description="Custom text field 2")] public virtual string TextField2 { get; set; } /// ///Custom text field 3 /// [ApiMember(Description="Custom text field 3")] public virtual string TextField3 { get; set; } /// ///Custom text field 4 /// [ApiMember(Description="Custom text field 4")] public virtual string TextField4 { get; set; } /// ///Custom text field 5 /// [ApiMember(Description="Custom text field 5")] public virtual string TextField5 { get; set; } /// ///Custom text field 6 /// [ApiMember(Description="Custom text field 6")] public virtual string TextField6 { get; set; } /// ///Custom text field 7 /// [ApiMember(Description="Custom text field 7")] public virtual string TextField7 { get; set; } /// ///Custom text field 8 /// [ApiMember(Description="Custom text field 8")] public virtual string TextField8 { get; set; } /// ///Custom text field 9 /// [ApiMember(Description="Custom text field 9")] public virtual string TextField9 { get; set; } /// ///Custom text field 10 /// [ApiMember(Description="Custom text field 10")] public virtual string TextField10 { get; set; } /// ///Custom text field 11 /// [ApiMember(Description="Custom text field 11")] public virtual string TextField11 { get; set; } /// ///Custom text field 12 /// [ApiMember(Description="Custom text field 12")] public virtual string TextField12 { get; set; } /// ///Custom text field 13 /// [ApiMember(Description="Custom text field 13")] public virtual string TextField13 { get; set; } /// ///Custom text field 14 /// [ApiMember(Description="Custom text field 14")] public virtual string TextField14 { get; set; } /// ///Custom text field 15 /// [ApiMember(Description="Custom text field 15")] public virtual string TextField15 { get; set; } /// ///Custom text field 16 /// [ApiMember(Description="Custom text field 16")] public virtual string TextField16 { get; set; } /// ///Custom text field 17 /// [ApiMember(Description="Custom text field 17")] public virtual string TextField17 { get; set; } /// ///Custom text field 18 /// [ApiMember(Description="Custom text field 18")] public virtual string TextField18 { get; set; } /// ///Custom text field 19 /// [ApiMember(Description="Custom text field 19")] public virtual string TextField19 { get; set; } /// ///Custom text field 20 /// [ApiMember(Description="Custom text field 20")] public virtual string TextField20 { get; set; } /// ///The date when the customer information was last updated /// [ApiMember(Description="The date when the customer information was last updated")] public virtual DateTime Updated { get; set; } /// ///The date when the customer information was created /// [ApiMember(Description="The date when the customer information was created")] public virtual DateTime Created { get; set; } } public partial class GDPRCustomerMessageLogResponse { /// ///The company ID associated with this message /// [ApiMember(Description="The company ID associated with this message")] public virtual Guid CompanyId { get; set; } /// ///The unique identifier of the message /// [ApiMember(Description="The unique identifier of the message")] public virtual int Id { get; set; } /// ///The booking ID this message is related to, if any /// [ApiMember(Description="The booking ID this message is related to, if any")] public virtual int? BookingId { get; set; } /// ///The recipient of the message /// [ApiMember(Description="The recipient of the message")] public virtual string Receiver { get; set; } /// ///The sender of the message /// [ApiMember(Description="The sender of the message")] public virtual string Sender { get; set; } /// ///The title or subject of the message /// [ApiMember(Description="The title or subject of the message")] public virtual string MessageTitle { get; set; } /// ///The body content of the message /// [ApiMember(Description="The body content of the message")] public virtual string MessageBody { get; set; } /// ///The name of the person who created the message /// [ApiMember(Description="The name of the person who created the message")] public virtual string CreatedBy { get; set; } /// ///The date when the message was created /// [ApiMember(Description="The date when the message was created")] public virtual DateTime Created { get; set; } /// ///Whether the message was successfully sent /// [ApiMember(Description="Whether the message was successfully sent")] public virtual bool Sent { get; set; } /// ///The date when the message was sent /// [ApiMember(Description="The date when the message was sent")] public virtual DateTime? SentDate { get; set; } /// ///The method used to send the message (e.g., email, SMS) /// [ApiMember(Description="The method used to send the message (e.g., email, SMS)")] public virtual int SendMethodId { get; set; } } public partial class GDPRCustomerNewsletterLogResponse { /// ///The company ID associated with this newsletter /// [ApiMember(Description="The company ID associated with this newsletter")] public virtual Guid CompanyId { get; set; } /// ///The unique identifier of the newsletter log entry /// [ApiMember(Description="The unique identifier of the newsletter log entry")] public virtual int Id { get; set; } /// ///The newsletter ID this log entry is related to, if any /// [ApiMember(Description="The newsletter ID this log entry is related to, if any")] public virtual int? NewslettersId { get; set; } /// ///The recipient of the newsletter /// [ApiMember(Description="The recipient of the newsletter")] public virtual string Receiver { get; set; } /// ///The sender of the newsletter /// [ApiMember(Description="The sender of the newsletter")] public virtual string Sender { get; set; } /// ///The title or subject of the newsletter /// [ApiMember(Description="The title or subject of the newsletter")] public virtual string MessageTitle { get; set; } /// ///The body content of the newsletter /// [ApiMember(Description="The body content of the newsletter")] public virtual string MessageBody { get; set; } /// ///Whether the newsletter was successfully sent /// [ApiMember(Description="Whether the newsletter was successfully sent")] public virtual bool Sent { get; set; } /// ///The date when the newsletter was created /// [ApiMember(Description="The date when the newsletter was created")] public virtual DateTime Created { get; set; } } [Route("/gdpr/customers/{CustomerId}", "GET")] [ValidateRequest("IsAuthenticated")] public partial class GDPRCustomerQuery : IReturn, ICompany { /// ///Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown /// [ApiMember(Description="Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", IsRequired=true, ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///Id of the customer /// [ApiMember(Description="Id of the customer", IsRequired=true, ParameterType="path")] public virtual Guid CustomerId { get; set; } } public partial class GDPRCustomerQueryResponse { public GDPRCustomerQueryResponse() { Bookings = new List{}; MessageLog = new List{}; CustomerComment = new List{}; NewsletterLog = new List{}; } /// ///List of all bookings associated with the customer /// [ApiMember(Description="List of all bookings associated with the customer")] public virtual List Bookings { get; set; } /// ///List of all message logs associated with the customer /// [ApiMember(Description="List of all message logs associated with the customer")] public virtual List MessageLog { get; set; } /// ///The user profile information for the customer /// [ApiMember(Description="The user profile information for the customer")] public virtual UserProfileResponse UserProfile { get; set; } /// ///Detailed customer information /// [ApiMember(Description="Detailed customer information")] public virtual GDPRCustomerInfoResponse Customer { get; set; } /// ///List of all comments associated with the customer /// [ApiMember(Description="List of all comments associated with the customer")] public virtual List CustomerComment { get; set; } /// ///List of all newsletter logs associated with the customer /// [ApiMember(Description="List of all newsletter logs associated with the customer")] public virtual List NewsletterLog { get; set; } /// ///Response status information /// [ApiMember(Description="Response status information")] public virtual ResponseStatus ResponseStatus { get; set; } } public partial class InvoiceAddressResponse { public virtual Guid InvoiceAddressId { get; set; } public virtual Guid? UserId { get; set; } public virtual string CorporateIdentityNumber { get; set; } public virtual string InvoiceAddress1 { get; set; } public virtual string InvoiceAddress2 { get; set; } public virtual string InvoiceCity { get; set; } public virtual string InvoicePostalCode { get; set; } public virtual string InvoiceCountryCode { get; set; } } public partial class UserProfileResponse { public virtual Guid Id { get; set; } public virtual string Firstname { get; set; } public virtual string Lastname { get; set; } public virtual string Phone { get; set; } public virtual string Email { get; set; } public virtual InvoiceAddressResponse InvoiceAddress { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }