/* Options: Date: 2025-08-22 22:36:08 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GDPRCustomerQuery.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/gdpr/customers/{CustomerId}", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") open 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") var CompanyId:UUID? = null /** * Id of the customer */ @ApiMember(Description="Id of the customer", IsRequired=true, ParameterType="path") var CustomerId:UUID? = null companion object { private val responseType = GDPRCustomerQueryResponse::class.java } override fun getResponseType(): Any? = GDPRCustomerQuery.responseType } open class GDPRCustomerQueryResponse { /** * List of all bookings associated with the customer */ @ApiMember(Description="List of all bookings associated with the customer") var Bookings:ArrayList = ArrayList() /** * List of all message logs associated with the customer */ @ApiMember(Description="List of all message logs associated with the customer") var MessageLog:ArrayList = ArrayList() /** * The user profile information for the customer */ @ApiMember(Description="The user profile information for the customer") var UserProfile:UserProfileResponse? = null /** * Detailed customer information */ @ApiMember(Description="Detailed customer information") var Customer:GDPRCustomerInfoResponse? = null /** * List of all comments associated with the customer */ @ApiMember(Description="List of all comments associated with the customer") var CustomerComment:ArrayList = ArrayList() /** * List of all newsletter logs associated with the customer */ @ApiMember(Description="List of all newsletter logs associated with the customer") var NewsletterLog:ArrayList = ArrayList() /** * Response status information */ @ApiMember(Description="Response status information") var ResponseStatus:ResponseStatus? = null } open interface ICompany { var CompanyId:UUID? } open class InvoiceAddressResponse { var InvoiceAddressId:UUID? = null var UserId:UUID? = null var CorporateIdentityNumber:String? = null var InvoiceAddress1:String? = null var InvoiceAddress2:String? = null var InvoiceCity:String? = null var InvoicePostalCode:String? = null var InvoiceCountryCode:String? = null } open class GDPRCustomerBookingsResponse { /** * The company ID associated with this booking */ @ApiMember(Description="The company ID associated with this booking") var CompanyId:UUID? = null /** * The unique identifier of the booking */ @ApiMember(Description="The unique identifier of the booking") var Id:Int? = null /** * The customer ID associated with this booking */ @ApiMember(Description="The customer ID associated with this booking") var CustomerId:UUID? = null /** * The service ID for this booking */ @ApiMember(Description="The service ID for this booking") var ServiceId:Int? = null /** * The current status of the booking */ @ApiMember(Description="The current status of the booking") var StatusId:Int? = null /** * The start date and time of the booking */ @ApiMember(Description="The start date and time of the booking") var From:Date? = null /** * The end date and time of the booking */ @ApiMember(Description="The end date and time of the booking") var To:Date? = null /** * The date when the booking was cancelled or unbooked */ @ApiMember(Description="The date when the booking was cancelled or unbooked") var UnbookedOn:Date? = null /** * Comments added when the booking was cancelled */ @ApiMember(Description="Comments added when the booking was cancelled") var UnbookedComments:String? = null /** * Comments added when the booking was created */ @ApiMember(Description="Comments added when the booking was created") var BookedComments:String? = null /** * The name of the person who made the booking */ @ApiMember(Description="The name of the person who made the booking") var BookedBy:String? = null /** * General comments about the booking */ @ApiMember(Description="General comments about the booking") var Comments:String? = null /** * Custom text field 1 */ @ApiMember(Description="Custom text field 1") var TextField1:String? = null /** * Custom text field 2 */ @ApiMember(Description="Custom text field 2") var TextField2:String? = null /** * Custom text field 3 */ @ApiMember(Description="Custom text field 3") var TextField3:String? = null /** * Custom text field 4 */ @ApiMember(Description="Custom text field 4") var TextField4:String? = null /** * Custom text field 5 */ @ApiMember(Description="Custom text field 5") var TextField5:String? = null /** * Custom text field 6 */ @ApiMember(Description="Custom text field 6") var TextField6:String? = null /** * Custom text field 7 */ @ApiMember(Description="Custom text field 7") var TextField7:String? = null /** * Custom text field 8 */ @ApiMember(Description="Custom text field 8") var TextField8:String? = null /** * Custom text field 9 */ @ApiMember(Description="Custom text field 9") var TextField9:String? = null /** * Custom text field 10 */ @ApiMember(Description="Custom text field 10") var TextField10:String? = null /** * Custom text field 11 */ @ApiMember(Description="Custom text field 11") var TextField11:String? = null /** * Custom text field 12 */ @ApiMember(Description="Custom text field 12") var TextField12:String? = null /** * Custom text field 13 */ @ApiMember(Description="Custom text field 13") var TextField13:String? = null /** * Custom text field 14 */ @ApiMember(Description="Custom text field 14") var TextField14:String? = null /** * Custom text field 15 */ @ApiMember(Description="Custom text field 15") var TextField15:String? = null /** * Custom text field 16 */ @ApiMember(Description="Custom text field 16") var TextField16:String? = null /** * Custom text field 17 */ @ApiMember(Description="Custom text field 17") var TextField17:String? = null /** * Custom text field 18 */ @ApiMember(Description="Custom text field 18") var TextField18:String? = null /** * Custom text field 19 */ @ApiMember(Description="Custom text field 19") var TextField19:String? = null /** * Custom text field 20 */ @ApiMember(Description="Custom text field 20") var TextField20:String? = null /** * The date when the booking was last updated */ @ApiMember(Description="The date when the booking was last updated") var UpdatedDate:Date? = null /** * The date when the booking was created */ @ApiMember(Description="The date when the booking was created") var CreatedDate:Date? = null /** * Comments sent to the customer about this booking */ @ApiMember(Description="Comments sent to the customer about this booking") var CommentsToCustomer:String? = null } open class GDPRCustomerMessageLogResponse { /** * The company ID associated with this message */ @ApiMember(Description="The company ID associated with this message") var CompanyId:UUID? = null /** * The unique identifier of the message */ @ApiMember(Description="The unique identifier of the message") var Id:Int? = null /** * The booking ID this message is related to, if any */ @ApiMember(Description="The booking ID this message is related to, if any") var BookingId:Int? = null /** * The recipient of the message */ @ApiMember(Description="The recipient of the message") var Receiver:String? = null /** * The sender of the message */ @ApiMember(Description="The sender of the message") var Sender:String? = null /** * The title or subject of the message */ @ApiMember(Description="The title or subject of the message") var MessageTitle:String? = null /** * The body content of the message */ @ApiMember(Description="The body content of the message") var MessageBody:String? = null /** * The name of the person who created the message */ @ApiMember(Description="The name of the person who created the message") var CreatedBy:String? = null /** * The date when the message was created */ @ApiMember(Description="The date when the message was created") var Created:Date? = null /** * Whether the message was successfully sent */ @ApiMember(Description="Whether the message was successfully sent") var Sent:Boolean? = null /** * The date when the message was sent */ @ApiMember(Description="The date when the message was sent") var SentDate:Date? = null /** * The method used to send the message (e.g., email, SMS) */ @ApiMember(Description="The method used to send the message (e.g., email, SMS)") var SendMethodId:Int? = null } open class UserProfileResponse { var Id:UUID? = null var Firstname:String? = null var Lastname:String? = null var Phone:String? = null var Email:String? = null var InvoiceAddress:InvoiceAddressResponse? = null } open class GDPRCustomerInfoResponse { /** * The unique identifier of the user */ @ApiMember(Description="The unique identifier of the user") var UserId:UUID? = null /** * The user's first name */ @ApiMember(Description="The user's first name") var Firstname:String? = null /** * The user's last name */ @ApiMember(Description="The user's last name") var Lastname:String? = null /** * The user's phone number */ @ApiMember(Description="The user's phone number") var Phone:String? = null /** * The user's email address */ @ApiMember(Description="The user's email address") var Email:String? = null /** * Whether the user account is currently active */ @ApiMember(Description="Whether the user account is currently active") var Active:Boolean? = null /** * The user's Facebook username */ @ApiMember(Description="The user's Facebook username") var FacebookUsername:String? = null /** * Custom text field 1 */ @ApiMember(Description="Custom text field 1") var TextField1:String? = null /** * Custom text field 2 */ @ApiMember(Description="Custom text field 2") var TextField2:String? = null /** * Custom text field 3 */ @ApiMember(Description="Custom text field 3") var TextField3:String? = null /** * Custom text field 4 */ @ApiMember(Description="Custom text field 4") var TextField4:String? = null /** * Custom text field 5 */ @ApiMember(Description="Custom text field 5") var TextField5:String? = null /** * Custom text field 6 */ @ApiMember(Description="Custom text field 6") var TextField6:String? = null /** * Custom text field 7 */ @ApiMember(Description="Custom text field 7") var TextField7:String? = null /** * Custom text field 8 */ @ApiMember(Description="Custom text field 8") var TextField8:String? = null /** * Custom text field 9 */ @ApiMember(Description="Custom text field 9") var TextField9:String? = null /** * Custom text field 10 */ @ApiMember(Description="Custom text field 10") var TextField10:String? = null /** * Custom text field 11 */ @ApiMember(Description="Custom text field 11") var TextField11:String? = null /** * Custom text field 12 */ @ApiMember(Description="Custom text field 12") var TextField12:String? = null /** * Custom text field 13 */ @ApiMember(Description="Custom text field 13") var TextField13:String? = null /** * Custom text field 14 */ @ApiMember(Description="Custom text field 14") var TextField14:String? = null /** * Custom text field 15 */ @ApiMember(Description="Custom text field 15") var TextField15:String? = null /** * Custom text field 16 */ @ApiMember(Description="Custom text field 16") var TextField16:String? = null /** * Custom text field 17 */ @ApiMember(Description="Custom text field 17") var TextField17:String? = null /** * Custom text field 18 */ @ApiMember(Description="Custom text field 18") var TextField18:String? = null /** * Custom text field 19 */ @ApiMember(Description="Custom text field 19") var TextField19:String? = null /** * Custom text field 20 */ @ApiMember(Description="Custom text field 20") var TextField20:String? = null /** * The date when the customer information was last updated */ @ApiMember(Description="The date when the customer information was last updated") var Updated:Date? = null /** * The date when the customer information was created */ @ApiMember(Description="The date when the customer information was created") var Created:Date? = null } open class GDPRCustomerCommentsResponse { /** * The company ID associated with this comment */ @ApiMember(Description="The company ID associated with this comment") var CompanyId:UUID? = null /** * The unique identifier of the comment */ @ApiMember(Description="The unique identifier of the comment") var Id:Int? = null /** * The customer ID this comment is associated with */ @ApiMember(Description="The customer ID this comment is associated with") var CustomerId:UUID? = null /** * The content of the comment */ @ApiMember(Description="The content of the comment") var Comments:String? = null /** * The date when the comment was last updated */ @ApiMember(Description="The date when the comment was last updated") var Updated:Date? = null /** * The date when the comment was created */ @ApiMember(Description="The date when the comment was created") var Created:Date? = null /** * URL to any image associated with the comment */ @ApiMember(Description="URL to any image associated with the comment") var ImageUrl:Uri? = null } open class GDPRCustomerNewsletterLogResponse { /** * The company ID associated with this newsletter */ @ApiMember(Description="The company ID associated with this newsletter") var CompanyId:UUID? = null /** * The unique identifier of the newsletter log entry */ @ApiMember(Description="The unique identifier of the newsletter log entry") var Id:Int? = null /** * The newsletter ID this log entry is related to, if any */ @ApiMember(Description="The newsletter ID this log entry is related to, if any") var NewslettersId:Int? = null /** * The recipient of the newsletter */ @ApiMember(Description="The recipient of the newsletter") var Receiver:String? = null /** * The sender of the newsletter */ @ApiMember(Description="The sender of the newsletter") var Sender:String? = null /** * The title or subject of the newsletter */ @ApiMember(Description="The title or subject of the newsletter") var MessageTitle:String? = null /** * The body content of the newsletter */ @ApiMember(Description="The body content of the newsletter") var MessageBody:String? = null /** * Whether the newsletter was successfully sent */ @ApiMember(Description="Whether the newsletter was successfully sent") var Sent:Boolean? = null /** * The date when the newsletter was created */ @ApiMember(Description="The date when the newsletter was created") var Created:Date? = null }