' Options: 'Date: 2026-06-13 04:09:01 'Version: 8.80 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://api.dev.dynamics.trendsic.com ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: True '''ExportValueTypes: False 'IncludeTypes: DocumentShareRevokeRequest.* '''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 System.Net Imports CRM.AgencyPlatform.API.Internal Namespace Global Namespace CRM.AgencyPlatform.API.Internal Public Partial Class DocumentShare Public Overridable Property DocumentShareId As Integer Public Overridable Property DocumentShareUID As Guid Public Overridable Property TokenHash As String Public Overridable Property AttachmentId As Guid Public Overridable Property SensitivityTier As String Public Overridable Property RequireOtp As Boolean Public Overridable Property OtpChannel As String Public Overridable Property DeliveryChannels As String Public Overridable Property RecipientContactId As Integer? Public Overridable Property RecipientEmail As String Public Overridable Property RecipientPhone As String Public Overridable Property SmsConsentSnapshot As Boolean Public Overridable Property CreatedByUserId As Guid Public Overridable Property CreatedByAgentId As Integer? Public Overridable Property CreatedAtUtc As Date Public Overridable Property ExpiresAtUtc As Date Public Overridable Property MaxViews As Integer? Public Overridable Property ViewCount As Integer Public Overridable Property RevokedAtUtc As Date? Public Overridable Property RevokedByUserId As Guid? End Class Public Partial Class DocumentShareExtended Inherits DocumentShare Public Overridable Property AttachmentName As String Public Overridable Property RecipientDisplayName As String Public Overridable Property RecipientType As String Public Overridable Property CreatedByName As String Public Overridable Property Status As String End Class Public Partial Class DocumentShareResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property DocumentShare As List(Of DocumentShareExtended) = New List(Of DocumentShareExtended) Public Overridable Property ShareUrl As String End Class Public Partial Class DocumentShareRevokeRequest Implements IReturn(Of DocumentShareResponse) Public Overridable Property DocumentShareId As Integer 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) = New List(Of ResponseError) Public Overridable Property Meta As Dictionary(Of String, String) Implements IMeta.Meta = New Dictionary(Of String, String) End Class End Namespace End Namespace