' Options: 'Date: 2026-06-22 22:49:00 '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: CustomerLinkCreateRequest.* '''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 CustomerLink Public Overridable Property CustomerLinkId As Integer Public Overridable Property CustomerLinkUID As Guid Public Overridable Property TokenHash As String Public Overridable Property ResourceType As String Public Overridable Property ResourceUid 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? Public Overridable Property TenantId As Guid End Class Public Partial Class CustomerLinkCreateRequest Implements IReturn(Of CustomerLinkCreateResponse) Public Overridable Property ResourceType As String Public Overridable Property ResourceUid As Guid Public Overridable Property RecipientContactId As Integer? Public Overridable Property RecipientEmail As String Public Overridable Property RecipientPhone As String Public Overridable Property DeliverEmail As Boolean Public Overridable Property DeliverSms As Boolean Public Overridable Property ExpiresInHours As Integer? Public Overridable Property MaxViews As Integer? End Class Public Partial Class CustomerLinkCreateResponse Public Overridable Property ResponseStatus As ResponseStatus Public Overridable Property Link As CustomerLinkExtended Public Overridable Property PortalUrl As String Public Overridable Property DeliveryErrors As List(Of String) = New List(Of String) End Class Public Partial Class CustomerLinkExtended Inherits CustomerLink Public Overridable Property RecipientDisplayName As String Public Overridable Property RecipientType As String Public Overridable Property Status As String 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