(* Options: Date: 2026-04-04 02:55:03 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: SaveAutoNotification.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace Eros.Subtle.Canvara.WebAPIModel.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type AutomationModel() = /// ///The unique automation Id /// [] member val AutomationId:Guid = new Guid() with get,set /// ///The automation type Id /// [] member val AutomationTypeId:Guid = new Guid() with get,set /// ///The automation type /// [] member val AutomationType:String = null with get,set /// ///The object this automation applies to /// [] member val ObjectId:Guid = new Guid() with get,set /// ///The object name this automation applies to /// [] member val ObjectName:String = null with get,set /// ///The Id of the object type that this automation applies to. /// [] member val RmsTableCtxIdObject:Guid = new Guid() with get,set /// ///The name of the object type that this automation applies to. /// [] member val RmsTableCtxName:String = null with get,set /// ///A guid list containing the selected system action Id's that trigger this automation. /// [] member val ActionList:ResizeArray = null with get,set /// ///A comma separated string of the selected system action names that trigger this automation. /// [] member val Actions:String = null with get,set /// ///Name of the automation. /// [] member val Name:String = null with get,set /// ///Description of the automation /// [] member val Description:String = null with get,set /// ///Owner Contact Id /// [] member val OwnerContactId:Guid = new Guid() with get,set /// ///Record Status of the automation. /// [] member val RecordStatus:String = null with get,set [] type AutoNotificationModel() = inherit AutomationModel() /// ///Contact Id of the licensee this notification has been created for. /// [] member val ContactIdLicensee:Guid = new Guid() with get,set /// ///Contact Role Group Id. If the notification is setup for people in a specified contact role group. /// [] member val ContactRoleGroupId:Guid = new Guid() with get,set /// ///Contact Role Id. If the notification is setup for people in a specified role. /// [] member val ContactRoleId:Guid = new Guid() with get,set /// ///Contact Role Name. If the notification is setup for people in a specified role. /// [] member val ContactRoleName:String = null with get,set /// ///Contact Id. If the notification is setup for a specific person. /// [] member val ContactId:Guid = new Guid() with get,set /// ///If true, then only contacts who are connected to the relevant object are notified. /// [] member val ObjectContactConnectionRequired:Boolean = new Boolean() with get,set /// ///Document Notification: If true, then the notification will include a link to download the document. /// [] member val AllowDirectAccess:Boolean = new Boolean() with get,set /// ///If true, the notification is sent as soon as it can be processed /// [] member val SendImmediately:Boolean = new Boolean() with get,set /// ///If true, the notification is flagged and sent out when subscription/batch emails are next sent. /// [] member val Batched:Boolean = new Boolean() with get,set /// ///Document Notification: If true, the notification is sent when a document has a status of draft. /// [] member val DraftStatus:Boolean = new Boolean() with get,set /// ///Document Notification: If true, the notification is sent when a document has a status of final. /// [] member val FinalStatus:Boolean = new Boolean() with get,set /// ///True if we want to include a report on an email notification. /// [] member val IncludeReport:Boolean = new Boolean() with get,set /// ///True if this notification is based on a template. /// [] member val IsTemplateNotification:Boolean = new Boolean() with get,set /// ///When Inserting a new notification we can have 1+ roles. They should be passed to this field when inserting. /// [] member val Roles:ResizeArray = null with get,set /// ///Communication Type Id. /// [] member val CommunicationTypeId:Guid = new Guid() with get,set /// ///Communication Type. /// [] member val CommunicationType:String = null with get,set /// ///If communication type is email, this is the subject of the email to be sent. /// [] member val Subject:String = null with get,set /// ///This is the notification details to be sent. /// [] member val Body:String = null with get,set /// ///If true, we will include the relevant project URL in the notification. /// [] member val IncludeURL:Boolean = new Boolean() with get,set /// ///The notification Id of a notification setup in Workflow Notification Management to use for the notification. /// [] member val NotificationId:Guid = new Guid() with get,set /// ///The notification nameof a notification setup in Workflow Notification Management to use for the notification. /// [] member val NotificationName:String = null with get,set /// ///The suite id the notification is setup for /// [] member val SuiteId:Guid = new Guid() with get,set /// ///The suite name the notification is setup for /// [] member val SuiteName:String = null with get,set [] [] type ResponseStatus() = [] member val ErrorCode:String = null with get,set [] member val Message:String = null with get,set [] member val StackTrace:String = null with get,set [] member val Errors:ResizeArray = null with get,set [] member val Meta:Dictionary = null with get,set [] [] type GetAutomationNotificationsForObjectResponse() = /// ///List of (automation) notifications. /// [] member val Notifications:ResizeArray = null with get,set member val ResponseStatus:ResponseStatus = null with get,set /// ///Add or update an (automation) notification for an object /// [] [] [] [] type SaveAutoNotification() = interface IReturn /// ///Details of the (automation) notification to be added or updated. /// [] member val Notification:AutoNotificationModel = null with get,set /// ///Id of the automation. /// [] member val AutomationId:Guid = new Guid() with get,set