/* Options: Date: 2026-06-23 00:03:18 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CustomerLinkListRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class CustomerLink { public CustomerLinkId: number; public CustomerLinkUID: string; public TokenHash: string; public ResourceType: string; public ResourceUid: string; public SensitivityTier: string; public RequireOtp: boolean; public OtpChannel: string; public DeliveryChannels: string; public RecipientContactId?: number; public RecipientEmail: string; public RecipientPhone: string; public SmsConsentSnapshot: boolean; public CreatedByUserId: string; public CreatedByAgentId?: number; public CreatedAtUtc: string; public ExpiresAtUtc?: string; public MaxViews?: number; public ViewCount: number; public RevokedAtUtc?: string; public RevokedByUserId?: string; public TenantId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CustomerLinkExtended extends CustomerLink { public RecipientDisplayName: string; public RecipientType: string; public Status: string; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[] = []; // @DataMember(Order=5) public Meta: { [index:string]: string; } = {}; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CustomerLinkListResponse { public ResponseStatus: ResponseStatus; public Links: CustomerLinkExtended[] = []; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/v1/customerlink/resource/{ResourceType}/{ResourceUid}", "GET,OPTIONS") export class CustomerLinkListRequest implements IReturn { public ResourceType: string; public ResourceUid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CustomerLinkListRequest'; } public getMethod() { return 'GET'; } public createResponse() { return new CustomerLinkListResponse(); } }