(* Options: Date: 2024-11-21 12:16:21 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CreateCustomer.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type AddCustomField() = member val Id:Int32 = new Int32() with get,set member val Value:String = null with get,set [] type AddUserAccessKey() = member val Id:Nullable = new Nullable() with get,set member val CompanyId:Nullable = new Nullable() with get,set member val AccessKeyTypeId:Int32 = new Int32() with get,set member val Value:String = null with get,set member val CustomerId:Nullable = new Nullable() with get,set member val Description:String = null with get,set [] type InvoiceAddress() = member val CorporateIdentityNumber:String = null with get,set member val InvoiceAddress1:String = null with get,set member val InvoiceAddress2:String = null with get,set member val InvoiceCity:String = null with get,set member val InvoicePostalCode:String = null with get,set member val InvoiceCountryCode:String = null with get,set [] type BaseModel() = class end [] type UserAccessKeys() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val AccessKeyTypeId:Int32 = new Int32() with get,set [] member val Value:String = null with get,set [] member val CustomerId:Guid = new Guid() with get,set member val Description:String = null with get,set [] member val Id:Guid = new Guid() with get,set [] type CustomerQueryResponse() = member val Id:Guid = new Guid() with get,set member val Firstname:String = null with get,set member val Lastname:String = null with get,set member val Email:String = null with get,set member val Phone:String = null with get,set member val ImageUrl:String = null with get,set member val CustomFields:ResizeArray = new ResizeArray() with get,set member val CustomFieldValues:ResizeArray = new ResizeArray() with get,set member val Comments:ResizeArray = new ResizeArray() with get,set member val AccessKeys:ResizeArray = new ResizeArray() with get,set member val Updated:DateTime = new DateTime() with get,set member val Created:DateTime = new DateTime() with get,set member val ResponseStatus:Object = null with get,set member val SubscribedToNewsletter:Boolean = new Boolean() with get,set member val InvoiceAddress:InvoiceAddress = null with get,set [] type UpdateCustomerResponse() = inherit CustomerQueryResponse() member val FacebookUserName:String = null with get,set member val UserId:Nullable = new Nullable() with get,set member val CompanyId:Nullable = new Nullable() with get,set member val CreatedDate:Nullable = new Nullable() with get,set member val DeletedAccessKeys:ResizeArray = new ResizeArray() with get,set member val CreatedOrUpdatedAccessKeys:ResizeArray = new ResizeArray() with get,set [] [] [] [] [] type CreateCustomer() = interface IReturn /// ///Enter the company and id for the customer, if blank company id and you are an admin, your company id will be used. /// [] member val CompanyId:Nullable = new Nullable() with get,set [] member val Firstname:String = null with get,set [] member val Lastname:String = null with get,set [] member val Phone:String = null with get,set [] member val Email:String = null with get,set /// ///If Custom Fields are added to the customer, here you will send the id and the value for each custom field to be updated /// [] member val CustomFields:ResizeArray = new ResizeArray() with get,set /// ///List of Access Keys /// [] member val AccessKeys:ResizeArray = new ResizeArray() with get,set /// ///Customer invoice adress /// [] member val InvoiceAddress:InvoiceAddress = null with get,set