(* Options: Date: 2024-07-03 12:50:42 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: MessageLogQuery.* //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 System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type MessageLog() = inherit BaseModel() member val BookingId:Nullable = new Nullable() with get,set [] member val PublicMessage:Boolean = new Boolean() with get,set [] member val MessageType:Int32 = new Int32() with get,set [] member val iCalAttachment:Boolean = new Boolean() with get,set [] member val SenderName:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val CorrelationId:Nullable = new Nullable() with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val Receiver:String = null with get,set [] member val Sender:String = null with get,set member val MessageTitle:String = null with get,set [] member val MessageBody:String = null with get,set member val CreatedBy:String = null with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Sent:Boolean = new Boolean() with get,set [] member val ToSendDate:DateTime = new DateTime() with get,set member val SentDate:Nullable = new Nullable() with get,set [] member val SendMethodId:Int32 = new Int32() with get,set member val MessageCount:Nullable = new Nullable() with get,set member val SMSStatus:Nullable = new Nullable() with get,set [] member val MessageRetries:Int32 = new Int32() with get,set member val StorageUrl:String = null with get,set member val Language:String = null with get,set [] type IMessageLog = abstract CompanyId:Guid with get,set abstract Id:Int32 with get,set abstract Receiver:String with get,set abstract Sender:String with get,set abstract MessageTitle:String with get,set abstract MessageBody:String with get,set abstract CreatedBy:String with get,set abstract Created:DateTime with get,set abstract Sent:Boolean with get,set abstract ToSendDate:DateTime with get,set abstract SentDate:Nullable with get,set abstract SendMethodId:Int32 with get,set abstract MessageCount:Nullable with get,set abstract SMSStatus:Nullable with get,set abstract MessageRetries:Int32 with get,set abstract StorageUrl:String with get,set [] type MessageLogQueryResponse() = /// ///The message log id /// [] member val Id:Int32 = new Int32() with get,set /// ///The booking id for the message (if connected to a booking). /// [] member val BookingId:Nullable = new Nullable() with get,set /// ///The message receiver. Either a email or a mobile phone number. /// [] member val Receiver:String = null with get,set /// ///Message Title. /// [] member val MessageTitle:String = null with get,set /// ///Message Storage Url. /// [] member val StorageUrl:String = null with get,set /// ///Message Body. /// [] member val MessageBody:String = null with get,set /// ///When message was created. /// [] member val Created:DateTime = new DateTime() with get,set /// ///When the message will be sent. /// [] member val ToSendDate:DateTime = new DateTime() with get,set /// ///When the message was sent. /// [] member val SentDate:Nullable = new Nullable() with get,set /// ///If Message is sent /// [] member val Sent:Boolean = new Boolean() with get,set /// ///Number of retries to send the message /// [] member val MessageRetries:Int32 = new Int32() with get,set /// ///Send Method. 1 = Email, 2 = SMS /// [] member val SendMethodId:Int32 = new Int32() with get,set [] [] [] [] type MessageLogQuery() = inherit QueryDb() interface IReturn> /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///If you want to search on sent messages /// [] member val Sent:Nullable = new Nullable() with get,set /// ///Message Id /// [] member val Id:Nullable = new Nullable() with get,set /// ///If you want to search on a messages for a specific booking /// [] member val BookingId:Nullable = new Nullable() with get,set /// ///If you want to search on a messages for a specific receiver /// [] member val Receiver:String = null with get,set /// ///If you want to search on a messages created a specific date /// [] member val Created:Nullable = new Nullable() with get,set /// ///If you want to search on a messages sent a specific date /// [] member val SentDate:Nullable = new Nullable() with get,set member val ResponseStatus:ResponseStatus = null with get,set