/* Options: Date: 2025-12-06 05:24:29 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: CalendarRequest.* //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 enum CalendarFormat { Standard, ICS, } [Route("/v1/Calendar/{CalendarId}", "GET,OPTIONS")] [Route("/v1/Calendar/{CalendarId}/{StartDate}/{EndDate}", "GET,OPTIONS")] [Route("/v1/Calendar/CrewMember/Availability/{ContactId}/{StartDate}/{EndDate}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/{StartDate}/{EndDate}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/{ProjectId}/{StartDate}/{EndDate}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/{ProjectId}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/{ProjectId}/CalendarEventId/{CalendarEventId}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/ExpandRecurring/{ProjectId}/{StartDate}/{EndDate}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/ExpandRecurring/{ProjectId}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/ExpandRecurring/{ProjectId}/CalendarEventId/{CalendarEventId}", "GET,OPTIONS")] [Route("/v1/Calendar/Project/ExpandRecurring/ExpandAll/{ProjectId}/{StartDate}/{EndDate}", "GET,OPTIONS")] [Route("/v1/Calendar/Location/{LocationId}", "GET,OPTIONS")] [Route("/v1/Calendar/Agent/{AgentId}", "GET,OPTIONS")] public partial class CalendarRequest { public virtual Guid CalendarId { get; set; } public virtual int CalendarEventId { get; set; } public virtual CalendarType CalendarType { get; set; } public virtual CalendarFormat CalendarFormat { get; set; } public virtual int ContactId { get; set; } public virtual DateTime StartDate { get; set; } public virtual DateTime EndDate { get; set; } public virtual int ProjectId { get; set; } public virtual Guid LocationId { get; set; } public virtual int AgentId { get; set; } public virtual bool ExpandRecurringEvents { get; set; } public virtual bool ExpandAll { get; set; } } public enum CalendarType { All, Pera, Google, } }