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