(* Options: Date: 2024-12-03 18:18:07 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: TestSendMessageTemplate.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data [] type ICompany = abstract CompanyId:Nullable 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 TestSendMessageTemplate() = 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 /// ///The email recepient to receive the newsletter. For templates with send method SMS you need to enter a valid mobile phone number and send method Email a valid Email must be provided. /// [] member val Receiver:String = null with get,set /// ///The message template title. /// [] member val Title:String = null with get,set /// ///The newsletter template body. /// [] member val Body:String = null with get,set /// ///The message type id. See GET /messages/templates/types /// [] member val TypeId:Nullable = new Nullable() with get,set /// ///Message template lanugage /// [] member val Language:String = null with get,set /// ///The services that is connected to the message. If null it will be connected to all services. /// [] member val Services:Int32[] = [||] with get,set