/* Options: Date: 2025-12-06 06:10:35 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: ActivityPlanRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/ActivityPlan", "POST,OPTIONS") // @Route("/v1/ActivityPlan/{AgentId}/{DateFrom}/{DateTo}", "GET,OPTIONS") public class ActivityPlanRequest : IReturn, Codable { public typealias Return = ActivityPlanResponse public var activityPlan:ActivityPlan? public var agentId:Int? public var dateFrom:Date? public var dateTo:Date? public var applicationGoal:Int? public var appointmentSetGoal:Int? public var learningGoal:Int? public var marketingGoal:Int? public var referralGoal:Int? public var leadGoal:Int? public var clientUpdateGoal:Int? public var firstContactGoal:Int? public var firstAppointmentGoal:Int? public var secondAppointmentGoal:Int? public var secondAppointmentSetGoal:Int? public var monthlyCashFlowGoal:Int? public var ytdCashFlowGoal:Int? public var recruitGoal:Int? required public init(){} } public class ActivityPlanResponse : Codable { public var responseStatus:ResponseStatus? public var activityPlans:[ActivityPlan] = [] public var activityData:ActivityPlanExtended? required public init(){} } public class ActivityPlan : Codable { public var id:Int? public var agentId:Int? public var eventTypeId:Int? public var goal:Int? public var dateFrom:Date? public var dateTo:Date? public var dateCreated:Date? public var mthlyCashFlow:Int? public var ytdCashFlow:Int? public var recruit:Int? public var eventTypeName:String? public var actual:Int? required public init(){} } public class ActivityPlanExtended : Codable { public var appCount:Int? public var avgFlow:Int? public var avgTransfer:Int? public var avgLife:Int? public var lifePerAnnuity:Double? public var flowTransfer:Double? public var transferRatio:Double? required public init(){} }