/* Options: Date: 2025-12-06 08:28:32 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 //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: UserNotificationsRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Net; using CRM.AgencyPlatform.API.Internal; namespace CRM.AgencyPlatform.API.Internal { public partial class UserNotification { public virtual int NotificationId { get; set; } public virtual int AgentId { get; set; } public virtual string Description { get; set; } public virtual string From { get; set; } public virtual DateTime CreatedDate { get; set; } public virtual string Type { get; set; } public virtual string URL { get; set; } public virtual string RefId { get; set; } public virtual bool IsDeleted { get; set; } } [Route("/v1/UserNotifications/{AgentId}", "GET,OPTIONS")] [Route("/v1/UserNotifications/{NotificationId}", "DELETE,OPTIONS")] public partial class UserNotificationsRequest : IReturn { public virtual int AgentId { get; set; } public virtual int NotificationId { get; set; } public virtual bool ShowDeleted { get; set; } } public partial class UserNotificationsResponse { public virtual ResponseStatus ResponseStatus { get; set; } public virtual List Notifications { get; set; } = []; public virtual bool Deleted { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } = []; [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } = new(); } }