/* Options: Date: 2024-11-21 11:33:37 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.IO; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class GDPRCustomerBookingsResponse { public virtual Guid CompanyId { get; set; } public virtual int Id { get; set; } public virtual Guid CustomerId { get; set; } public virtual int ServiceId { get; set; } public virtual int StatusId { get; set; } public virtual DateTime From { get; set; } public virtual DateTime To { get; set; } public virtual DateTime? UnbookedOn { get; set; } public virtual string UnbookedComments { get; set; } public virtual string BookedComments { get; set; } public virtual string BookedBy { get; set; } public virtual string Comments { get; set; } public virtual string TextField1 { get; set; } public virtual string TextField2 { get; set; } public virtual string TextField3 { get; set; } public virtual string TextField4 { get; set; } public virtual string TextField5 { get; set; } public virtual string TextField6 { get; set; } public virtual string TextField7 { get; set; } public virtual string TextField8 { get; set; } public virtual string TextField9 { get; set; } public virtual string TextField10 { get; set; } public virtual string TextField11 { get; set; } public virtual string TextField12 { get; set; } public virtual string TextField13 { get; set; } public virtual string TextField14 { get; set; } public virtual string TextField15 { get; set; } public virtual string TextField16 { get; set; } public virtual string TextField17 { get; set; } public virtual string TextField18 { get; set; } public virtual string TextField19 { get; set; } public virtual string TextField20 { get; set; } public virtual DateTime UpdatedDate { get; set; } public virtual DateTime CreatedDate { get; set; } public virtual string CommentsToCustomer { get; set; } } public partial class GDPRCustomerCommentsResponse { public virtual Guid CompanyId { get; set; } public virtual int Id { get; set; } public virtual Guid CustomerId { get; set; } public virtual string Comments { get; set; } public virtual DateTime Updated { get; set; } public virtual DateTime Created { get; set; } public virtual Uri ImageUrl { get; set; } } public partial class GDPRCustomerInfoResponse { public virtual Guid UserId { 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 bool Active { get; set; } public virtual string FacebookUsername { get; set; } public virtual string TextField1 { get; set; } public virtual string TextField2 { get; set; } public virtual string TextField3 { get; set; } public virtual string TextField4 { get; set; } public virtual string TextField5 { get; set; } public virtual string TextField6 { get; set; } public virtual string TextField7 { get; set; } public virtual string TextField8 { get; set; } public virtual string TextField9 { get; set; } public virtual string TextField10 { get; set; } public virtual string TextField11 { get; set; } public virtual string TextField12 { get; set; } public virtual string TextField13 { get; set; } public virtual string TextField14 { get; set; } public virtual string TextField15 { get; set; } public virtual string TextField16 { get; set; } public virtual string TextField17 { get; set; } public virtual string TextField18 { get; set; } public virtual string TextField19 { get; set; } public virtual string TextField20 { get; set; } public virtual DateTime Updated { get; set; } public virtual DateTime Created { get; set; } } public partial class GDPRCustomerMessageLogResponse { public virtual Guid CompanyId { get; set; } public virtual int Id { get; set; } public virtual int? BookingId { get; set; } public virtual string Receiver { get; set; } public virtual string Sender { get; set; } public virtual string MessageTitle { get; set; } public virtual string MessageBody { get; set; } public virtual string CreatedBy { get; set; } public virtual DateTime Created { get; set; } public virtual bool Sent { get; set; } public virtual DateTime? SentDate { get; set; } public virtual int SendMethodId { get; set; } } public partial class GDPRCustomerNewsletterLogResponse { public virtual Guid CompanyId { get; set; } public virtual int Id { get; set; } public virtual int? NewslettersId { get; set; } public virtual string Receiver { get; set; } public virtual string Sender { get; set; } public virtual string MessageTitle { get; set; } public virtual string MessageBody { get; set; } public virtual bool Sent { get; set; } 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{}; } public virtual List Bookings { get; set; } public virtual List MessageLog { get; set; } public virtual UserProfileResponse UserProfile { get; set; } public virtual GDPRCustomerInfoResponse Customer { get; set; } public virtual List CustomerComment { get; set; } public virtual List NewsletterLog { get; set; } public virtual ResponseStatus ResponseStatus { 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; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }