// ---------------------- // // generated using a custom program // // ---------------------- import { UnionConcat } from './enum-helpers' import { AutoPreFillSearchResponse, DriverRecordSearchResponse, DriversLicenseSearchResponse, PropertyAssessmentDetailsSearchResponse, ProfilePlusResponse } from './lg.net.fenris' import { ActivityHistory, LicenseVerification, MotorVehicleReport } from './lg.net.sambasafety' import { IDatabaseAttachment } from './lg.net.system' /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellLineOfBusinessToInterested { Id: number; LineOfBusiness?: Partial | null ; LineOfBusinessId: number; Person?: Partial | null ; PersonId: number; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellListing { Ams360CustomerName?: string | null ; CreatedBy?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; CustId?: string | null ; DataSource?: string | null ; DeletedDate?: string | null ; Description?: string | null ; ExpectedCommissionAmount?: number | null ; ExpirationDate: string; ExpiresInDays: number; FellThroughDate?: string | null ; Id: number; InterestedPeople: Array>; InviteEmailCount?: number | null ; IsDeleted?: boolean; IsDev?: boolean; LastInviteEmailSentDate?: string | null ; LastResponseDate?: string | null ; LineOfBusiness: string; ListerClGamePoint?: Partial | null ; ListerClGamePointId?: number | null ; /** * @deprecated Can be removed in next drop migration */ ListerCreatedClGamePoint?: Partial | null ; ListerCreatedClGamePointId?: number | null ; /** * @deprecated Can be removed in next drop migration */ ListerSoldClGamePoint?: Partial | null ; ListerSoldClGamePointId?: number | null ; /** * @deprecated Can be removed in next drop migration */ ListerTeamedUpClGamePoint?: Partial | null ; ListerTeamedUpClGamePointId?: number | null ; NAICSCode?: number | null ; NAICSDescription?: string | null ; NotificationEmails: Array>; NumberOfEmployees?: number | null ; PolicyId?: string | null ; SoldDate?: string | null ; SplitPercentage?: number | null ; State: string; Status: XSellListingStatusString; TeamedUpClGamePoint?: Partial | null ; TeamedUpClGamePointId?: number | null ; TeamedUpDate?: string | null ; TeamedUpPerson?: Partial | null ; TeamedUpPersonId?: number | null ; /** * @deprecated Can be removed in next drop migration */ TeamUpPersonSoldClGamePoint?: Partial | null ; TeamUpPersonSoldClGamePointId?: number | null ; /** * @deprecated Can be removed in next drop migration */ TeamUpPersonTeamedUpClGamePoint?: Partial | null ; TeamUpPersonTeamedUpClGamePointId?: number | null ; Title: string; ViewedBy: Array>; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellListingInterestedPerson { Id: number; Messages: Array>; Person?: Partial | null ; PersonId: number; StartDate: string; Status: XSellInterestedStatusString; XSellListing?: Partial | null ; XSellListingId: number; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellListingLineOfBusiness { EstimatedCommissionPerEmployee?: number | null ; Id: number; Interesteds: Array>; Name: string; Sequence: number; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellListingMessage { Body: string; Id: number; IsViewed?: boolean; NotificationEmailSentDate?: string | null ; SenderPerson?: Partial | null ; SenderPersonId: number; SentDate: string; XSellListingInterestedPerson?: Partial | null ; XSellListingInterestedPersonId: number; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellListingNotificationEmail { Date: string; Id: number; Listing?: Partial | null ; ListingId: number; Recipient?: Partial | null ; RecipientFullName?: string | null ; RecipientId?: number | null ; Subject: string; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellSetting { Game?: Partial | null ; GameId?: number | null ; Id: number; ListingCreatedPointQuestion?: Partial | null ; ListingCreatedPointQuestionId?: number | null ; ListingStatusPointQuestion?: Partial | null ; ListingStatusPointQuestionId?: number | null ; } /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ export interface XSellViewedListingToPerson { Id: number; ViewedBy?: Partial | null ; ViewedById: number; XSellListing?: Partial | null ; XSellListingId: number; } export interface WunderiteDataSource { ApiKey: string; Company?: Partial | null ; Description?: string | null ; Id: number; } export interface Offboarding { AssignAccountsToPerson?: Partial | null ; AssignAccountsToPersonId?: number | null ; Comments?: string | null ; CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; DaysToForwardEmail?: number | null ; Effective: OffboardingEffectiveTypeString; EffectiveDate?: string | null ; EligibleForReHire?: boolean | null ; ErrorCount: number; ForwardIncomingMailTo?: string | null ; HadAms360Access?: boolean | null ; HRTerminationDate?: string | null ; Id: number; LatestErrorMessage?: string | null ; MailingAddressCity?: string | null ; MailingAddressCountry?: string | null ; MailingAddressState?: string | null ; MailingAddressStreet1?: string | null ; MailingAddressStreet2?: string | null ; MailingAddressZip?: string | null ; MobilePhoneForCompanyEmails?: boolean | null ; NeedsDomoLicenseRemoved?: boolean | null ; OffboardingChanges: Array>; OpenSuspensesPerson?: string | null ; PayUntil?: string | null ; Person?: Partial | null ; PersonId: number; Phone?: string | null ; Reason?: string | null ; State: OffboardingStateTypeString; SubmittedDate?: string | null ; Tasks: Array>; } export interface OffboardingChange extends WorkforcePendingEmployeeChange { Offboarding?: Partial | null ; OffboardingId: number; } export interface Onboarding { AgencyLicenses?: string | null ; AgencyZoom?: OnboardingSoftwareAccessTypeString | null ; AgentEarnings?: OnboardingAgentEarningsTypeString | null ; AMS360?: OnboardingSoftwareAccessTypeString | null ; AMS360Access?: string | null ; AMS360MobileApp?: OnboardingSoftwareAccessTypeString | null ; AshbyCandidateId?: string | null ; BenefitPoint?: OnboardingSoftwareAccessTypeString | null ; BenefitPointAccess?: string | null ; Benefix?: OnboardingSoftwareAccessTypeString | null ; CellPhone?: string | null ; CommercialSubmissions?: OnboardingSoftwareAccessTypeString | null ; CompanyAddressCity?: string | null ; CompanyAddressCountry?: string | null ; CompanyAddressId?: number | null ; CompanyAddressState?: string | null ; CompanyAddressStreet1?: string | null ; CompanyAddressStreet2?: string | null ; CompanyAddressZip?: string | null ; CompanyId?: number | null ; CompanyName?: string | null ; CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; CRMAccess?: string | null ; DateOfBirth?: string | null ; DepartmentId?: number | null ; DepartmentName?: string | null ; DesiredPhoneExtension?: string | null ; Docusign?: OnboardingSoftwareAccessTypeString | null ; DOMOAccess?: string | null ; EffectiveDate?: string | null ; ErrorCount: number; FirstName?: string | null ; FullName?: string | null ; Gender?: string | null ; HomeAddressCity?: string | null ; HomeAddressCountry?: string | null ; HomeAddressState?: string | null ; HomeAddressStreet1?: string | null ; HomeAddressStreet2?: string | null ; HomeAddressZip?: string | null ; HomePhone?: string | null ; Hours?: OnboardingHoursTypeString | null ; Id: number; InsurLink?: OnboardingSoftwareAccessTypeString | null ; IsProducer?: boolean; IsRehire?: boolean; IsRemoteEmployee?: boolean; ITEquipmentNeeds?: string | null ; JobRoles?: string | null ; JobTitle?: string | null ; LastName?: string | null ; LatestErrorMessage?: string | null ; ManagerPersonFullName?: string | null ; ManagerPersonId?: number | null ; MarketTrends?: OnboardingSoftwareAccessTypeString | null ; MiddleName?: string | null ; NewEmploymentType?: EmploymentTypeString | null ; Notes?: string | null ; OfferLetter?: Partial | null ; OnboardingChanges: Array>; PayrollData?: Partial | null ; Person?: Partial | null ; PersonalEmailAddress?: string | null ; PersonId: number; PLRating?: OnboardingSoftwareAccessTypeString | null ; PreferredFirstName?: string | null ; ProspectiveProducerPerson?: Partial | null ; ProspectiveProducerPersonId?: number | null ; ReferenceConnect?: OnboardingSoftwareAccessTypeString | null ; RiskMatchBenchmarking?: OnboardingSoftwareAccessTypeString | null ; ServiceTagNumber?: string | null ; SetAMS360PermissionsSimilarTo?: Partial | null ; SetAMS360PermissionsSimilarToPersonId?: number | null ; SetPermissionsSimilarTo?: Partial | null ; SetPermissionsSimilarToPersonId?: number | null ; SickDayAccrual?: number | null ; StaffingOptionType?: StaffingOptionTypeString | null ; State: OnboardingStateTypeString; SubmittedDate?: string | null ; Tasks: Array>; TimeSupervisor?: Partial | null ; TimeSupervisorPersonId?: number | null ; TSDPerson?: Partial | null ; TSDPersonId?: number | null ; TypesOfInsuranceSold: TypesOfInsuranceSoldString; Wunderite?: OnboardingSoftwareAccessTypeString | null ; } export interface OnboardingChange extends WorkforcePendingEmployeeChange { Onboarding?: Partial | null ; OnboardingId: number; } export interface OnboardingOfferLetter extends IDatabaseAttachment { Onboarding: Partial; } export interface OnboardingPayrollData { AdditionalPayOther?: number | null ; AdditionalPayOtherLastModified?: string | null ; AdditionalPayPhone?: number | null ; AdditionalPayPhoneLastModified?: string | null ; AdditionalPayTravel?: number | null ; AdditionalPayTravelLastModified?: string | null ; ExemptAnnualSalary?: number | null ; ExemptAnnualSalaryLastModifedDate?: string | null ; HourlyNonExemptPerHourRate?: number | null ; HourlyNonExemptPerHourRateLastModifiedDate?: string | null ; Id: number; IsSalaryEmployee?: boolean | null ; Onboarding: Partial; VacationAccrual?: number | null ; VacationAccrualLastModifiedDate?: string | null ; } export interface TaskCategory { IconName?: string | null ; Id: number; Name: string; Sequence: number; Tasks: Array>; TaskTemplates: Array>; } export interface Transfer { CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; EffectiveDate: string; ErrorCount: number; Id: number; LatestErrorMessage?: string | null ; NewCompany?: Partial | null ; NewCompanyAddressCity: string; NewCompanyAddressCountry: string; NewCompanyAddressId: number; NewCompanyAddressState: string; NewCompanyAddressStreet1: string; NewCompanyAddressZip: string; NewCompanyId?: number | null ; NewCompanyName: string; NewDepartmentId?: number | null ; NewDepartmentName?: string | null ; OldCompany?: Partial | null ; OldCompanyAddressCity: string; OldCompanyAddressCountry: string; OldCompanyAddressId: number; OldCompanyAddressState: string; OldCompanyAddressStreet1: string; OldCompanyAddressZip: string; OldCompanyId?: number | null ; OldCompanyName: string; OldDepartmentId?: number | null ; OldDepartmentName?: string | null ; Person?: Partial | null ; PersonId: number; State: TransferStateTypeString; Tasks: Array>; TransferChanges: Array>; } export interface TransferChange extends WorkforcePendingEmployeeChange { Transfer?: Partial | null ; TransferId: number; } export interface WorkforcePendingEmployeeChange { CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; CurrentValue?: string | null ; Id: number; PreviousValue?: string | null ; Type: WorkforcePendingEmployeeChangeTypeString; } export interface WorkforceTask { AssigneeGroups: Array>; AssigneePeople: Array>; BlockedByWorkforceTasks: Array>; BlockingWorkforceTasks: Array>; Body?: string | null ; Category?: Partial | null ; CategoryId?: number | null ; CompletedBy?: Partial | null ; CompletedById?: number | null ; CompletedDate?: string | null ; CreatedDate: string; DueDate?: string | null ; EffectiveDate?: string | null ; IconName?: string | null ; Id: number; Name: string; Offboarding?: Partial | null ; OffboardingId?: number | null ; Onboarding?: Partial | null ; OnboardingId?: number | null ; Person: Partial; PersonId: number; Priority: PriorityTypeString; Status: WorkforceTaskStatusTypeString; Transfer?: Partial | null ; TransferId?: number | null ; Trigger: WorkforceTaskTriggerString; UniqueId: string; WorkforceTaskTemplate?: Partial | null ; WorkforceTaskTemplateId?: number | null ; } export interface WorkforceTaskDependency { BlockedTask: Partial; BlockedTaskId: number; BlockingTask: Partial; BlockingTaskId: number; Id: number; } export interface WorkforceTaskTemplate { AssigneeGroups: Array>; AssigneePeople: Array>; AssignToApOfHire?: boolean; AssignToControllerOfHire?: boolean; AssignToHire?: boolean; AssignToSupervisorOfHire?: boolean; BlockedByWorkforceTaskTemplates: Array>; BlockingWorkforceTaskTemplates: Array>; Body?: string | null ; Category?: Partial | null ; CategoryId?: number | null ; CreateITTicket?: boolean; DisableEmailNotifications?: boolean; DueDateOffset?: number | null ; IconName?: string | null ; Id: number; IsActive?: boolean; Name: string; NewEmploymentTypeProperties: NewEmploymentTypeTargetPropertyTypeString; Priority: PriorityTypeString; SoldInsuranceProperties: SoldInsurancePropertyTypeString; StaffingOptionTypeProperties: StaffingOptionTypePropertyTypeString; TargetAnyCompany?: boolean; TargetAnyDepartment?: boolean; TargetAnyEmploymentTypeProperty?: boolean; TargetAnyJobRoleType?: boolean; TargetAnySoldInsuranceProperty?: boolean; TargetCompanies: Array>; TargetDepartments: Array>; TargetExclusionCompanies: Array>; TargetJobRoleTypes: Array>; Trigger: WorkforceTaskTriggerString; UniqueId: string; WorkforceTasks: Array>; } export interface WorkforceTaskTemplateDependency { BlockedTemplate: Partial; BlockedTemplateId: number; BlockingTemplate: Partial; BlockingTemplateId: number; Id: number; } export interface WorkforceTaskTemplateToCompany { Company: Partial; CompanyId: number; Id: number; TaskTemplate: Partial; TaskTemplateId: number; } export interface WorkforceTaskTemplateToDepartment { Department: Partial; DepartmentId: number; Id: number; TaskTemplate: Partial; TaskTemplateId: number; } export interface WorkforceTaskTemplateToExclusionCompany { Company: Partial; CompanyId: number; Id: number; TaskTemplate: Partial; TaskTemplateId: number; } export interface WorkforceTaskTemplateToJobRoleType { Id: number; JobRoleType: Partial; JobRoleTypeId: number; TaskTemplate: Partial; TaskTemplateId: number; } export interface WorkforceTaskTemplateToPeopleGroup { Id: number; PeopleGroup: Partial; PeopleGroupId: number; TaskTemplate: Partial; TaskTemplateId: number; } export interface WorkforceTaskTemplateToPerson { Id: number; Person: Partial; PersonId: number; TaskTemplate: Partial; TaskTemplateId: number; } export interface WorkforceTaskToPeopleGroup { Id: number; PeopleGroup: Partial; PeopleGroupId: number; Task: Partial; TaskId: number; } export interface WorkforceTaskToPerson { Id: number; Person: Partial; PersonId: number; Task: Partial; TaskId: number; } export interface CheckoutVehicle { DeletedDate?: string | null ; Description?: string | null ; FuelLevel?: number | null ; FuelType: VehicleFuelTypeString; Id: number; Image?: Partial | null ; IsDeleted?: boolean; LicensePlate: string; Make: string; Mileage?: number | null ; Model: string; Name: string; Notes: Array>; Reservations: Array>; SeatingCapacity: number; TrackingNumber?: string | null ; TransmissionType: VehicleTransmissionTypeString; Unavailabilities: Array>; VehicleClass: VehicleClassString; VIN?: string | null ; Year: number; } export interface CheckoutVehicleImage extends IDatabaseAttachment { Vehicle?: Partial | null ; } export interface ReservationChangeLog { Body: string; Date: string; Id: number; Reservation?: Partial | null ; ReservationId?: number | null ; } export interface VehicleNote { Body: string; CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; Id: number; Reservation?: Partial | null ; ReservationId?: number | null ; Vehicle?: Partial | null ; VehicleId: number; } export interface VehicleReservation { CalendarInviteId?: string | null ; CalendarInviteSentDate?: string | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; DestinationCity: string; DestinationState: string; EndDate: string; Id: number; IsOverDue?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; Notes: Array>; NumberOfPassengers: number; Reason: string; ReservationChangeLogs: Array>; ReservedByPerson?: Partial | null ; ReservedByPersonId: number; ReturnedDate?: string | null ; SpecialInstructions?: string | null ; StartDate: string; Status: VehicleReservationStatusString; UserNote?: string | null ; Vehicle?: Partial | null ; VehicleId: number; } export interface VehicleUnavailability { EndDate?: string | null ; Id: number; Notes?: string | null ; StartDate: string; UnavailableReason: VehicleUnavailableReasonString; Vehicle?: Partial | null ; VehicleId: number; } export interface Basket { Fruits: Array>; Id: number; Image?: Partial | null ; Name: string; Sequence: number; } export interface BasketImage extends IDatabaseAttachment { Basket?: Partial | null ; } export interface Fruit { Basket?: Partial | null ; BasketId?: number | null ; Bool1?: boolean; Bool1nullable?: boolean | null ; Byte1: number; Datetime1: string; Datetime1nullable?: string | null ; Datetime2: string; Datetime2Nullable?: string | null ; DatetimeOffetSetOnConstructor: string; DatetimeSetOnConstructor: string; Decimal1: number; Decimal1nullable?: number | null ; Double1: number; Double1nullable?: number | null ; FlagEnumSample: number; Float1: number; Float1nullable?: number | null ; FruitMolds: Array>; FruitShape?: Partial | null ; FruitsToPeople: Array>; FruitsToPeopleGroups: Array>; Guid1: string; Guid1nullable?: string | null ; Id?: number | null ; Int1: number; Int1nullable?: number | null ; Int641: number; Int641nullable?: number | null ; Name?: string | null ; Pesticides: Array>; SeasonAvailable: SeasonsString; SeasonAvailableNullable?: SeasonsString | null ; } export interface FruitMold { Fruit?: Partial | null ; FruitId?: number | null ; Id: number; Name?: string | null ; } export interface FruitShape { Fruit?: Partial | null ; Id: number; Name: string; } export interface FruitsToPeopleGroup { CreatedDate: string; EndDate?: string | null ; Fruit?: Partial | null ; FruitId: number; Id: number; IsExpired?: boolean; LastModifiedDate: string; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface FruitsToPerson { CreatedDate: string; EndDate?: string | null ; Fruit?: Partial | null ; FruitId: number; Id: number; IsExpired?: boolean; LastModifiedDate: string; Person?: Partial | null ; PersonId: number; } export interface Pesticide { Fruits: Array>; Id: number; Name?: string | null ; } export interface EmailStyle { Body: string; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Description?: string | null ; EnableOptOut?: boolean; Id: number; LastModifiedDate?: string | null ; Name: string; Templates: Array>; } export interface EmailTemplate { Application?: Partial | null ; ApplicationId?: number | null ; Body?: string | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Description?: string | null ; EmailStyle?: Partial | null ; EmailStyleId?: number | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name: string; OptOuts: Array>; Recipients: Array>; Scoreboards: Array>; SendLogs: Array>; Subject?: string | null ; } export interface EmailTemplateLog { EmailBody?: string | null ; EmailTemplate?: Partial | null ; EmailTemplateId: number; Id: number; InstanceId?: number | null ; IpAddress?: string | null ; IsTestMessage?: boolean; MessageId?: string | null ; OmittedRecipients?: string | null ; Recipients?: string | null ; SentDate: string; StatusMessage?: string | null ; Subject?: string | null ; } export interface EmailTemplateOptOut { CreatorPerson?: Partial | null ; CreatorPersonId: number; DeletedByPerson?: Partial | null ; DeletedByPersonId?: number | null ; EmailTemplate?: Partial | null ; EmailTemplateId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; Person?: Partial | null ; PersonId: number; StartDate: string; } export interface EmailTemplateRecipient { CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; EmailAddress: string; EmailTemplate?: Partial | null ; EmailTemplateId: number; Id: number; } export interface TvInstance { AdminPeople: Array>; AdminPeopleGroups: Array>; Backgrounds: Array>; Id: number; Name: string; Slides: Array>; SlideShows: Array>; Tvs: Array>; } export interface TvInstanceBackground { Background?: string | null ; Id: number; TvInstance?: Partial | null ; TvInstanceId: number; } export interface TvPeopleGroupToInstance { Id: number; Instance?: Partial | null ; InstanceId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface TvPeopleGroupToSlide { Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; Slide?: Partial | null ; SlideId: number; } export interface TvPersonToInstance { Id: number; Instance?: Partial | null ; InstanceId: number; Person?: Partial | null ; PersonId: number; } export interface TvPersonToSlide { Id: number; Person?: Partial | null ; PersonId: number; Slide?: Partial | null ; SlideId: number; } export interface TvSlide { AdditionalDuration?: string | null ; AnniversaryYears?: string | null ; Background?: string | null ; Datasource: TvSlideDatasourceTypeString; Duration: string; Id: number; Image?: Partial | null ; ImageId?: number | null ; IncludeSelfReportedData?: boolean | null ; MakeFullscreen?: boolean | null ; MinAmount?: number | null ; Name?: string | null ; Path?: string | null ; PeopleGroupToTvSlides: Array>; PersonToTvSlides: Array>; PolicyType?: string | null ; QrCodeLabel?: string | null ; QrCodeUrl?: string | null ; Skip?: number | null ; SlideShowToSlides: Array>; SlideType: string; Top?: number | null ; TvInstance?: Partial | null ; TvInstanceId: number; YoutubeVideoKey?: string | null ; } export interface TvSlideImage extends IDatabaseAttachment { ImageSlides: Array>; LastModifiedDate: string; } export interface TvSlideShow { Id: number; Name?: string | null ; Schedules: Array>; SlideShowToSlides: Array>; TvInstance?: Partial | null ; TvInstanceId: number; } export interface TvSlideShowSchedule { EndDate?: string | null ; Id: number; SlideShow?: Partial | null ; SlideShowId: number; StartDate: string; Tvs: Array>; } export interface TvSlideShowToSlide { Duration: string; Id: number; Sequence: number; Slide?: Partial | null ; SlideShow?: Partial | null ; TvSlideId: number; TvSlideShowId: number; } export interface TvTv { Description?: string | null ; Id: number; Identifier?: string | null ; Name: string; TvInstance?: Partial | null ; TvInstanceId: number; TvSlideShowSchedules: Array>; } export interface SurveyAdminToPeopleGroupV2 { Admins: Array>; CreatorPerson?: Partial | null ; CreatorPersonId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; PeopleGroup?: Partial | null ; PeopleGroupId: number; StartDate: string; Survey?: Partial | null ; SurveyId: number; } export interface SurveyAdminV2 { AdminToPeopleGroup?: Partial | null ; CreatorPerson?: Partial | null ; CreatorPersonId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Person?: Partial | null ; PersonId: number; StartDate: string; Survey?: Partial | null ; SurveyAdminToPeopleGroupV2Id?: number | null ; SurveyId: number; } export interface SurveyAnswerV2 { CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Question?: Partial | null ; QuestionId: number; Sequence: number; Text?: string | null ; } export interface SurveyImageV2 extends IDatabaseAttachment { LastModifiedDate: string; Survey?: Partial | null ; } export interface SurveyParticipantToPeopleGroupV2 { Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; Survey?: Partial | null ; SurveyId: number; } export interface SurveyParticipantV2 { Id: number; Person?: Partial | null ; PersonId: number; Survey?: Partial | null ; SurveyId: number; } export interface SurveyQuestionResponseV2 { AnswerText?: string | null ; Comment?: string | null ; Id: number; Question?: Partial | null ; QuestionId: number; Response?: Partial | null ; ResponseId: number; } export interface SurveyQuestionV2 { AllowComments?: boolean; Answers: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Id: number; IsRequired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Responses: Array>; Sequence: number; Survey?: Partial | null ; SurveyId: number; Text?: string | null ; Type: SurveyQuestionTypeV2String; } export interface SurveyResponseV2 { CompletedDate: string; Id: number; Person: Partial; PersonId: number; QuestionResponses: Array>; Survey: Partial; SurveyId: number; } export interface SurveyV2 { Admins: Array>; AdminToPeopleGroups: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; DeletedDate?: string | null ; Description?: string | null ; ExpirationDate?: string | null ; Id: number; Image?: Partial | null ; IsAnonymous?: boolean; IsDeleted?: boolean; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; Participants: Array>; ParticipantToPeopleGroups: Array>; Questions: Array>; Responses: Array>; Sequence: number; StartDate?: string | null ; } export interface StateRate { ClearingFee: number; EffectiveDate: string; Id: number; LegalDisclaimer?: string | null ; LiabilityTax: number; Notes?: string | null ; OtherFee: number; OtherFlatFee: number; PropertyTax: number; State?: string | null ; StateTaxCalc?: string | null ; } export interface V2Surge { ColdCallingPeriods: Array>; EnableCrmIntegration?: boolean; Id: number; IsDeleted?: boolean; IsDevelopment?: boolean; Name?: string | null ; Players: Array>; PointTypes: Array>; Slides: Array>; Teams: Array>; Thumbnail?: Partial | null ; TimeZone?: string | null ; ViewerGroups: Array>; Viewers: Array>; } export interface V2SurgeCarouselSlide extends IDatabaseAttachment { Enabled?: boolean; Link?: string | null ; Sequence: number; Surge?: Partial | null ; SurgeId: number; } export interface V2SurgeColdCallingPeriod { EndDate?: string | null ; HasStarted?: boolean; IconName: string; Id: number; IntermissionLength: string; IsEnabled?: boolean; IsOver?: boolean; IsPaused?: boolean | null ; Name?: string | null ; NumSegments: number; Pauses: Array>; PlayerPointCaches: Array>; Prizes: Array>; SegmentLength: string; StartDate: string; Surge?: Partial | null ; SurgeId: number; SurgePoints: Array>; } export interface V2SurgePause { ColdCallingPeriod?: Partial | null ; ColdCallingPeriodId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; StartDate: string; } export interface V2SurgePlayerPointCache { ColdCallingPeriod?: Partial | null ; ColdCallingPeriodId: number; Id: number; IndividualOverallGrandPrizes?: string | null ; IndividualOverallPrizeAmount: number; IndividualOverallRank: number; MyGrandPrizes?: string | null ; MyPoints: number; MyPortionOfMyTeamsPrizeAmount: number; MyPrizeAmount: number; MyTeamsGrandPrizes?: string | null ; MyTeamsPoints: number; MyTeamsPrizeAmount: number; MyTeamsRank: number; Person?: Partial | null ; PersonId: number; RankOnTeam: number; RankOnTeamGrandPrizes?: string | null ; RankOnTeamPrizeAmount: number; } export interface V2SurgePoint { ClientName: string; ColdCallingPeriod?: Partial | null ; ColdCallingPeriodId: number; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; CrmAccountId?: string | null ; Date: string; DeletedByPerson?: Partial | null ; DeletedDate?: string | null ; DeletedPersonId?: number | null ; Id: number; IsDeleted?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; Person?: Partial | null ; PersonId: number; PointType?: Partial | null ; PointTypeId: number; } export interface V2SurgePointType { DeletedDate?: string | null ; IconName: string; Id: number; IsDeleted?: boolean; Name: string; Points: Array>; Surge?: Partial | null ; SurgeId: number; Value: number; } export interface V2SurgePrize { Amount?: number | null ; ColdCallingPeriod?: Partial | null ; ColdCallingPeriodId: number; GrandPrizeName?: string | null ; Id: number; Rank: number; Type: V2SurgePrizeTypeString; } export interface V2SurgeTeam { Banner?: Partial | null ; Id: number; Name: string; Players: Array>; Surge?: Partial | null ; SurgeId: number; Thumbnail?: Partial | null ; } export interface V2SurgeTeamBanner extends IDatabaseAttachment { Team?: Partial | null ; } export interface V2SurgeTeamPersonRole extends PersonRole { Surge?: Partial | null ; SurgeId: number; Team?: Partial | null ; TeamId?: number | null ; } export interface V2SurgeTeamThumbnail extends IDatabaseAttachment { Team?: Partial | null ; } export interface V2SurgeThumbnail extends IDatabaseAttachment { Surge?: Partial | null ; } export interface V2SurgeViewerPersonRole extends PersonRole { Surge?: Partial | null ; SurgeId: number; } export interface V2SurgeViewerToPeopleGroup { Group?: Partial | null ; GroupId: number; Id: number; Surge?: Partial | null ; SurgeId: number; } export interface BusinessCardTemplate { BackBusinessCards: Array>; CreatedDate?: string | null ; CreatorPerson?: Partial | null ; CreatorPersonId: number; FrontBusinessCards: Array>; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; PDFIdV2?: number | null ; PDFTemplateFieldKeys: Array>; PDFV2?: Partial | null ; } export interface BusinessCardTemplateAttachmentV2 extends IDatabaseAttachment { BusinessCardTemplates: Array>; EndDate?: string | null ; IsExpired?: boolean; IsScanned?: boolean; StartDate: string; } export interface PDFTemplateFieldKey { BusinessCardTemplate?: Partial | null ; BusinessCardTemplateId: number; Id: number; Key?: string | null ; Type: number; } export interface Stationery { AvailableToAll?: boolean; BackTemplate?: Partial | null ; BackTemplateId?: number | null ; Company?: Partial | null ; CompanyId?: number | null ; CreatedDate?: string | null ; CreatorPerson?: Partial | null ; CreatorPersonId: number; FrontTemplate?: Partial | null ; FrontTemplateId?: number | null ; Id: number; IsDisabled?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; PDFIdV2?: number | null ; PDFV2?: Partial | null ; StationeryCartItems: Array>; StationeryType?: Partial | null ; StationeryTypeId: number; } export interface StationeryAttachmentV2 extends IDatabaseAttachment { EndDate?: string | null ; IsExpired?: boolean; IsScanned?: boolean; StartDate: string; Stationeries: Array>; } export interface StationeryCart { Person?: Partial | null ; PersonId: number; StationeryCartItems: Array>; } export interface StationeryCartItem { BackAttachment?: Partial | null ; CreatedDate: string; FrontAttachment?: Partial | null ; Id: number; JsonData?: string | null ; Stationery: Partial; StationeryCart: Partial; StationeryCart_PersonId: number; StationeryCartId: number; StationeryId: number; } export interface StationeryOrder { City?: string | null ; CompanyId: number; CompanyName?: string | null ; Id: number; Items: Array>; OrderDate: string; OrderedByPerson?: Partial | null ; OrderedByPersonId: number; SpecialInstructions?: string | null ; State?: string | null ; Street1?: string | null ; Street2?: string | null ; TotalPrice: number; Zip?: string | null ; } export interface StationeryOrderAttachmentV2 extends IDatabaseAttachment { BackOrderAttachmentV2s: Array>; EndDate?: string | null ; FrontOrderAttachmentV2s: Array>; IsExpired?: boolean; IsScanned?: boolean; StartDate: string; } export interface StationeryOrderItem { BackOrderAttachmentIdV2?: number | null ; BackOrderAttachmentV2?: Partial | null ; FrontOrderAttachmentIdV2?: number | null ; FrontOrderAttachmentV2: Partial; Id: number; OrderedFor?: string | null ; Price: number; Quantity: number; StationeryId: number; StationeryName?: string | null ; StationeryOrder?: Partial | null ; StationeryOrderId: number; StationeryType?: string | null ; } export interface StationeryPreviewAttachment extends IDatabaseAttachment { BackCartItem?: Partial | null ; EndDate?: string | null ; FrontCartItem?: Partial | null ; IsExpired?: boolean; IsScanned?: boolean; StartDate: string; } export interface StationeryPrice { Id: number; Price: number; Quantity: number; StationeryType?: Partial | null ; StationeryTypeId: number; } export interface StationerySetting { EmailAddress?: string | null ; Id: number; } export interface StationeryType { Id: number; IsBusinessCard?: boolean; Name?: string | null ; Stationeries: Array>; StationeryPrices: Array>; } export interface ShareAgreement { AgencyLOBPercentages?: Array> | null ; Ams360DataSourceId?: string | null ; BaselineAmount?: number | null ; Branches: Array>; Category: ShareAgreementCategoryString; Class?: string | null ; Company?: Partial | null ; CompanyId?: number | null ; CompletedSteps: ShareAgreementCompletedStepsString; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; Depts: Array>; Divisions: Array>; EbitdaMultiple?: number | null ; EffectiveDate?: string | null ; EndDate?: string | null ; Id: number; MetricMultiple?: number | null ; /** * @deprecated Remove after migration data */ MultipleAgencyLevelEbita?: number | null ; /** * @deprecated Remove after migration data */ MultipleAgencyLevelTotalNetCommision?: number | null ; /** * @deprecated Remove after migration data */ MultipleAgreement1?: number | null ; /** * @deprecated Remove after migration data */ MultipleAgreement2?: number | null ; Notes?: string | null ; PerformanceBonusEligible?: boolean | null ; Person?: Partial | null ; PersonId?: number | null ; PerUnitOwnershipPercentage?: number | null ; Producers: Array>; RejectionReason?: string | null ; RevenueBase?: RevenueBaseString | null ; RevenueMultiple?: number | null ; ReviewDate?: string | null ; ReviewerPerson?: Partial | null ; ReviewerPersonId?: number | null ; Status: ShareStatusString; Unit?: number | null ; } export interface ShareAgreementToAgencyLobPercentage { AgencyLOBPercentage: Partial; AgencyLOBPercentageId: number; Agreement: Partial; AgreementId: number; Id: number; } export interface ShareAgreementToBranch { Agreement: Partial; AgreementId: number; Code: string; Id: number; Name: string; } export interface ShareAgreementToDepartment { Agreement: Partial; AgreementId: number; Code: string; Id: number; Name: string; } export interface ShareAgreementToDivision { Agreement: Partial; AgreementId: number; Code: string; Id: number; Name: string; } export interface ShareAgreementToProducer { Agreement: Partial; AgreementId: number; Code: string; Id: number; Name: string; } export interface SharesGlobalSettings { GlobalEbitdaMultiple?: number | null ; GlobalRevenueMultiple?: number | null ; Id: number; /** * @deprecated Remove after migration data */ MultipleAgencyLevelEbita?: number | null ; /** * @deprecated Remove after migration data */ MultipleAgencyLevelTotalNetCommision?: number | null ; } export interface GlobalScheduledTask extends GlobalTask, IScheduledTask { Attachments: Array>; } export interface GlobalScheduledTaskAttachment extends IDatabaseAttachment { Task?: Partial | null ; TaskId: number; } export interface GlobalServiceTask extends GlobalTask { Attachments: Array>; } export interface GlobalServiceTaskAttachment extends IDatabaseAttachment { Task?: Partial | null ; TaskId: number; } export interface GlobalTask extends STTask { } export interface IScheduledTask { IsAllDay?: boolean; NotifyWatchersOnComplete?: boolean; NotifyWatchersOnDueDate?: boolean; OutlookEndTime?: string | null ; OutlookStartTime?: string | null ; OutlookTimezone?: string | null ; RelativeDate: number; Reminders: Array>; SendCalendarInvite?: boolean; SendEmailReminder?: boolean; Status: TaskStatusTypeString; } export interface STContact { Biography?: string | null ; CompanyName?: string | null ; DoNotEmail?: boolean; Email?: string | null ; FaxPhoneNumber?: string | null ; Id: number; Name?: string | null ; Person?: Partial | null ; PersonId?: number | null ; Sequence: number; Title?: string | null ; WorkPhoneNumber?: string | null ; } export interface STTask { Category?: Partial | null ; CategoryId?: number | null ; Id: number; Name?: string | null ; Sequence: number; } export interface STTaskCategory { Id: number; Name?: string | null ; Tasks: Array>; } export interface TaskReminder { Date?: string | null ; GlobalScheduledTask?: Partial | null ; GlobalScheduledTaskId?: number | null ; Id: number; NoTimelineAccessMessageId?: string | null ; RelativeDate: number; TemplateScheduledTask?: Partial | null ; TemplateScheduledTaskId?: number | null ; TimelineAccessMessageId?: string | null ; TimelineScheduledTask?: Partial | null ; TimelineScheduledTaskId?: number | null ; } export interface TemplateContact extends STContact { AssignedTasks: Array>; Template?: Partial | null ; TemplateId: number; WatchedTasks: Array>; } export interface TemplateScheduledTask extends TemplateTask, IScheduledTask { Attachments: Array>; TimelineTemplate?: Partial | null ; TimelineTemplateId: number; Watchers: Array>; } export interface TemplateScheduledTaskAttachment extends IDatabaseAttachment { Task?: Partial | null ; TaskId: number; } export interface TemplateServiceTask extends TemplateTask { Attachments: Array>; TimelineTemplate?: Partial | null ; TimelineTemplateId: number; } export interface TemplateServiceTaskAttachment extends IDatabaseAttachment { Task?: Partial | null ; TaskId: number; } export interface TemplateTask extends STTask { Assignees: Array>; } export interface TemplateTaskToTemplateContactAssignee { Id: number; TemplateContact?: Partial | null ; TemplateContactId: number; TemplateTask?: Partial | null ; TemplateTaskId: number; } export interface TemplateTaskToTemplateContactWatcher { Id: number; TemplateContact?: Partial | null ; TemplateContactId: number; TemplateTask?: Partial | null ; TemplateTaskId: number; } export interface Timeline { AgencyCity?: string | null ; AgencyState?: string | null ; AgencyStreet1?: string | null ; AgencyStreet2?: string | null ; AgencyZip?: string | null ; City?: string | null ; CompanyName?: string | null ; CreatedDate: string; Creator?: Partial | null ; CreatorId: number; EnabledPages: Array>; Id: number; LastModifiedBy?: Partial | null ; LastModifiedById?: number | null ; LastModifiedDate?: string | null ; Owner?: Partial | null ; OwnerId?: number | null ; StartDate?: string | null ; State?: string | null ; Status: TimelineStatusTypeString; Street1?: string | null ; Street2?: string | null ; TimelineContacts: Array>; TimelineDocument?: Partial | null ; TimelineDocumentId?: number | null ; TimelineServiceTasks: Array>; TimelineTasks: Array>; Website?: string | null ; Zip?: string | null ; } export interface TimelineContact extends STContact { AssignedTasks: Array>; Timeline?: Partial | null ; TimelineId: number; Timelines: Array>; WatchedTasks: Array>; } export interface TimelineCoverPageImage extends IDatabaseAttachment { CoverPageName?: string | null ; IsActive?: boolean; Pages: Array>; } export interface TimelineDocument { Id: number; IsActive?: boolean; Name?: string | null ; Pages: Array>; TimelineDocumentImage?: Partial | null ; Timelines: Array>; WebComponentName?: string | null ; } export interface TimelineDocumentImage extends IDatabaseAttachment { TimelineDocument?: Partial | null ; } export interface TimelineDocumentPage { Description?: string | null ; Id: number; IsCoverPage?: boolean; Name?: string | null ; Sequence: number; TimelineDocument?: Partial | null ; TimelineDocumentId: number; TimelineEnabledPages: Array>; } export interface TimelineEnabledPage { Id: number; Timeline?: Partial | null ; TimelineCoverPageImage?: Partial | null ; TimelineCoverPageImageId?: number | null ; TimelineDocumentPage?: Partial | null ; TimelineDocumentPageId: number; TimelineId: number; } export interface TimelineScheduledTask extends TimelineTask, IScheduledTask { Attachments: Array>; CalendarInviteSentDate?: string | null ; DueDate?: string | null ; NoTimelineAccessCalendarInviteId?: string | null ; NoTimelineAccessNotifyWatchersOnDueDateMessageId?: string | null ; Timeline?: Partial | null ; TimelineAccessCalendarInviteId?: string | null ; TimelineAccessNotifyWatchersOnDueDateMessageId?: string | null ; TimelineId: number; Watchers: Array>; } export interface TimelineScheduledTaskAttachment extends IDatabaseAttachment { Task?: Partial | null ; TaskId: number; } export interface TimelineServiceTask extends TimelineTask { Attachments: Array>; Timeline?: Partial | null ; TimelineId: number; } export interface TimelineServiceTaskAttachment extends IDatabaseAttachment { Task?: Partial | null ; TaskId: number; } export interface TimelineTask extends STTask { Assignees: Array>; } export interface TimelineTaskToTimelineContactAssignee { Id: number; TimelineContact?: Partial | null ; TimelineContactId: number; TimelineTask?: Partial | null ; TimelineTaskId: number; } export interface TimelineTaskToTimelineContactWatcher { Id: number; TimelineContact?: Partial | null ; TimelineContactId: number; TimelineTask?: Partial | null ; TimelineTaskId: number; } export interface TimelineTemplate { Contacts: Array>; Creator?: Partial | null ; CreatorId: number; Description?: string | null ; Id: number; Name?: string | null ; ServiceTasks: Array>; SharedAgencies: Array>; Tasks: Array>; } export interface TimelineTemplateToCompany { Company?: Partial | null ; CompanyId: number; Creator?: Partial | null ; CreatorId: number; Id: number; TimelineTemplate?: Partial | null ; TimelineTemplateId: number; } export interface PolicySale { ClientName: string; CreatedById: number; CreatedByPerson?: Partial | null ; CreatedDate: string; EffectiveDate?: string | null ; Id: number; LastModifiedById: number; LastModifiedByPerson?: Partial | null ; LastModifiedDate: string; LineOfBusiness: LineOfBusinessTypeString; Person?: Partial | null ; PersonId: number; Written: number; } export interface ProducerAnnualPlan { AccountabilityPartnerMeetingTimeQuestion: string; AccountabilityPartnerQuestion: string; ALevelGoal: number; ALevelTargetProspects: string; BLevelGoal: number; BLevelTargetProspects: string; CLevelGoal: number; CLevelTargetProspects: string; CreatedById: number; CreatedByPerson?: Partial | null ; CreatedDate: string; GoingWellBusinessQuestion: string; GreatestConcernQuestion: string; GreatestConfidenceQuestion: string; Id: number; IdealClientProfileQuestion: string; LastModifiedById: number; LastModifiedByPerson?: Partial | null ; LastModifiedDate: string; NeedsImprovementQuestion: string; NumberOfAAccounts: number; NumberOfBAccounts: number; NumberOfCAccounts: number; PercentRevenueAAccounts: number; PercentRevenueBAccounts: number; PercentRevenueCAccounts: number; PersonalThemeQuestion: string; Producer?: Partial | null ; ProducerDevelopmentGoal1: string; ProducerDevelopmentGoal2: string; ProducerDevelopmentGoal3: string; ProducerDevelopmentGoal4: string; ProducerId: number; ResourcesToLeverageQuestion: string; RevenueOfAAccounts: number; RevenueOfBAccounts: number; RevenueOfCAccounts: number; RevenuePerRelationshipAAccounts: number; RevenuePerRelationshipBAccounts: number; RevenuePerRelationshipCAccounts: number; TacticsQuestion: string; ThreeYearQuestion: string; TimeAndProductivityTrackingQuestion: string; TopPrioritiesQuestion: string; TotalAccounts: number; TotalALevelNewRevenue: number; TotalBLevelNewRevenue: number; TotalCLevelNewRevenue: number; TotalNewRevenue: number; Year: string; Year1AppointmentToQFARatio: number; Year1ClosingRatio: number; Year1MinimumAccountSize: number; Year1NumberOfInitialAppointments: number; Year1NumberOfPresentations: number; Year1NumberOfQFAs: number; Year1ProspectToAppointmentRatio: number; Year1QFAToPresentationRatio: number; Year1RetentionByRevenue: number; Year1TargetedAccountSize: number; Year1TotalBookRevenue: number; Year1TotalProspectsNeeded: number; Year1TotalRenewalBookRevenue: number; Year2AppointmentToQFARatio: number; Year2ClosingRatio: number; Year2MinimumAccountSize: number; Year2NewBusinessGrowthRate: number; Year2NewRevenue: number; Year2NumberOfInitialAppointments: number; Year2NumberOfPresentations: number; Year2NumberOfQFAs: number; Year2NumberOfSales: number; Year2ProspectToAppointmentRatio: number; Year2QFAToPresentationRatio: number; Year2RetentionByRevenue: number; Year2TargetedAccountSize: number; Year2TotalBookRevenue: number; Year2TotalProspectsNeeded: number; Year2TotalRenewalBookRevenue: number; Year3AppointmentToQFARatio: number; Year3ClosingRatio: number; Year3MinimumAccountSize: number; Year3NewBusinessGrowthRate: number; Year3NewRevenue: number; Year3NumberOfInitialAppointments: number; Year3NumberOfPresentations: number; Year3NumberOfQFAs: number; Year3NumberOfSales: number; Year3ProspectToAppointmentRatio: number; Year3QFAToPresentationRatio: number; Year3RetentionByRevenue: number; Year3TargetedAccountSize: number; Year3TotalBookRevenue: number; Year3TotalProspectsNeeded: number; Year3TotalRenewalBookRevenue: number; } export interface SalesForceDataSource { APIVersion: string; ClientID: string; ClientSecret: string; Company?: Partial | null ; HostName: string; Id: number; IsActive?: boolean; } export interface CReportComment { Body?: string | null ; Company?: Partial | null ; CompanyId: number; CreatedDate: string; Id: number; IsCompleted?: boolean; LastModifiedBy?: Partial | null ; LastModifiedById: number; LastModifiedDate: string; ReportDate: string; } export interface DeferredCompensation { CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; DeferredCompensationBreakdowns: Array>; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Producer?: Partial | null ; ProducerId: number; RevenueThreshold: number; StartDate: string; } export interface DeferredCompensationBreakdown { CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; DeferredCompensation?: Partial | null ; DeferredCompensationId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Percentage: number; QualificationDate: string; StartDate: string; } export interface RecruitingCandidate { Attachments: Array>; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; Description?: string | null ; HomeEmail?: string | null ; Id: number; Instance?: Partial | null ; InstanceId: number; IsActive?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate: string; LatestRecruitedDate?: string | null ; MobilePhone?: string | null ; Notes: Array>; Person?: Partial | null ; PersonId: number; Projects: Array>; RecommendedCompanies: Array>; SourceType: CandidateSourceTypeString; SourceTypeReferralName?: string | null ; UserInputs: Array>; WorkEmail?: string | null ; } export interface RecruitingCandidateAttachment extends IDatabaseAttachment { Candidate?: Partial | null ; CandidateId: number; } export interface RecruitingCandidateCustomProperty { FilterInstance?: Partial | null ; FilterInstanceId?: number | null ; IconName?: string | null ; Id: number; InputType: InputTypeString; Instance?: Partial | null ; InstanceId: number; IsRequired?: boolean; Label: string; Options?: string | null ; Sequence: number; ShowGraphOnDashboard?: boolean; ShowInFilter?: boolean; ShowMetricOnDashboard?: boolean; UserInputs: Array>; } export interface RecruitingCandidateCustomPropertyUserInput { Candidate?: Partial | null ; CandidateId: number; CustomProperty?: Partial | null ; CustomPropertyId: number; Id: number; Value: string; } export interface RecruitingCandidateNote { Candidate?: Partial | null ; CandidateId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Id: number; LastModifiedDate?: string | null ; Message: string; } export interface RecruitingCandidateRecommendedForCompany { Candidate?: Partial | null ; CandidateId: number; Company?: Partial | null ; CompanyId: number; Id: number; } export interface RecruitingCandidateStage { CandidateToProjects: Array>; Color?: string | null ; IconName: string; Id: number; Instance?: Partial | null ; InstanceId: number; IsHired?: boolean; IsHiredByAnotherCompany?: boolean; Name: string; Sequence: number; } export interface RecruitingCompanyNote { Company?: Partial | null ; CompanyId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Date: string; Id: number; Instance?: Partial | null ; InstanceId: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastUpdatedDate?: string | null ; Message: string; } export interface RecruitingInstance { AdminGroups: Array>; AdminPeople: Array>; CandidateCustomProperties: Array>; Candidates: Array>; CandidateStages: Array>; CompanyNotes: Array>; EnableFilterbyCustomProperty?: boolean; EnableHiredCandidatesDashboardCard?: boolean; EnableMyProjectsDashboardCard?: boolean; FilterByCustomProperty?: Partial | null ; FilterByCustomPropertyId?: number | null ; FilterByCustomPropertyOption?: string | null ; Id: number; Name: string; ProjectCustomProperties: Array>; ProjectRequests: Array>; Projects: Array>; ProjectStages: Array>; TransactionTypes: Array>; UserGroups: Array>; UserPeople: Array>; } export interface RecruitingInstanceToAdminGroup { Group?: Partial | null ; GroupId: number; Id: number; Instance?: Partial | null ; InstanceId: number; } export interface RecruitingInstanceToAdminPerson { Id: number; Instance?: Partial | null ; InstanceId: number; Person?: Partial | null ; PersonId: number; } export interface RecruitingInstanceToUserGroup { Group?: Partial | null ; GroupId: number; Id: number; Instance?: Partial | null ; InstanceId: number; } export interface RecruitingInstanceToUserPerson { Id: number; Instance?: Partial | null ; InstanceId: number; Person?: Partial | null ; PersonId: number; } export interface RecruitingLGEInternProjectRequest extends RecruitingProjectRequest { BenefitToOrganization?: string | null ; CanConvertToPermanentOption?: CanConvertToPermanentOptionString | null ; FullTime?: boolean; HasJobDescription?: boolean; HasMentor?: boolean | null ; HasProjectPlan?: boolean | null ; LearningOutcomes?: string | null ; LGEInternJobTitle: string; LGEInternNumberOfPositions: number; TentativeEndDate?: string | null ; TentativeStartDate?: string | null ; WeeklyHours: number; } export interface RecruitingLGEProjectRequest extends RecruitingProjectRequest { LGEJobTitle: string; LGENumberOfPositions: number; } export interface RecruitingProject { Activities: Array>; Candidates: Array>; Company?: Partial | null ; CompanyId: number; Costs: Array>; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Department?: Partial | null ; DepartmentId?: number | null ; DepartmentName?: string | null ; EndDate?: string | null ; Id: number; Instance?: Partial | null ; InstanceId: number; IsOpen?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate: string; Leaders: Array>; Name: string; RecruitingProjectRequest?: Partial | null ; RecruitingProjectRequestId?: number | null ; RequestDate: string; SearchLocation?: string | null ; Stage?: Partial | null ; StageId: number; StartDate?: string | null ; TotalCost: number; UserInputs: Array>; } export interface RecruitingProjectActivity { CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Id: number; LastModifiedDate?: string | null ; Project?: Partial | null ; ProjectId: number; } export interface RecruitingProjectCost { Amount: number; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Id: number; LastModifiedDate?: string | null ; Name?: string | null ; Project?: Partial | null ; ProjectId: number; TransactionDate?: string | null ; TransactionType?: Partial | null ; TransactionTypeId?: number | null ; } export interface RecruitingProjectCostsTransactionType { Id: number; Instance?: Partial | null ; InstanceId: number; IsActive?: boolean; Name: string; RecruitingProjectCosts: Array>; Type: RecruitingAccountingTypeString; } export interface RecruitingProjectCustomProperty { IconName?: string | null ; Id: number; InputType: InputTypeString; Instance?: Partial | null ; InstanceId: number; IsRequired?: boolean; Label: string; Options?: string | null ; Sequence: number; ShowInFilter?: boolean; UserInputs: Array>; } export interface RecruitingProjectCustomPropertyUserInput { CustomProperty?: Partial | null ; CustomPropertyId: number; Id: number; Project?: Partial | null ; ProjectId: number; Value: string; } export interface RecruitingProjectNote extends RecruitingProjectActivity { Message: string; } export interface RecruitingProjectRequest { AgencyPartner?: Partial | null ; AgencyPartnerId?: number | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Department?: Partial | null ; DepartmentId?: number | null ; DepartmentName?: string | null ; HiringManager?: Partial | null ; HiringManagerId: number; Id: number; Instance?: Partial | null ; InstanceId: number; IsOpen?: boolean; JobDetails?: string | null ; MeetingRequestDetails?: string | null ; OfficeLocation?: Partial | null ; OfficeLocationId?: number | null ; PayInfo?: string | null ; RecruitingProjects: Array>; RequestingCompany?: Partial | null ; RequestingCompanyId: number; WorkingLocation?: string | null ; } export interface RecruitingProjectStage { Activities: Array>; Color?: string | null ; IconName: string; Id: number; Instance?: Partial | null ; InstanceId: number; Name: string; Projects: Array>; Sequence: number; } export interface RecruitingProjectStageActivity extends RecruitingProjectActivity { ProjectStage?: Partial | null ; ProjectStageId: number; } export interface RecruitingProjectToCandidate { Candidate?: Partial | null ; CandidateId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; DeletedDate?: string | null ; Id: number; IsDeleted?: boolean; LastModifiedDate?: string | null ; Project?: Partial | null ; ProjectId: number; Stage?: Partial | null ; StageId: number; } export interface RecruitingProjectToLeader { Id: number; Person?: Partial | null ; PersonId: number; Project?: Partial | null ; RecruitmentProjectId: number; } export interface RecruitingTAProjectRequest extends RecruitingProjectRequest { TAJobTitle: string; TANumberOfPositions: number; } export interface RecruitingTSDProjectRequest extends RecruitingProjectRequest { CommissionSplits: string; HiringManagerPhoneNumber: string; IndustryExperience: IndustryExperienceString; ReferralProgram?: boolean; SearchLocation: string; StartDate?: string | null ; SubsidyRangeHigh: number; SubsidyRangeLow: number; Type: RecruitmentProjectTypeString; } export interface HousingListing { Address1?: string | null ; Address2?: string | null ; City?: string | null ; CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; Description?: string | null ; Id: number; Images: Array>; IsActive?: boolean; ListingDate?: string | null ; Name?: string | null ; NumberOfBathrooms?: string | null ; NumberOfBedrooms?: string | null ; Price?: string | null ; SquareFeet?: string | null ; State?: string | null ; Tags: Array>; Type: HousingPropertyTypeString; UpdatedBy?: Partial | null ; UpdatedById: number; UpdatedDate: string; YearBuilt?: string | null ; Zip?: string | null ; } export interface HousingListingAttachment extends IDatabaseAttachment { Caption?: string | null ; HousingListingId: number; Listing?: Partial | null ; Sequence: number; } export interface HousingListingTag { Id: number; Listings?: Array> | null ; Name?: string | null ; TagColor?: string | null ; } export interface HousingListingToHousingListingTag { CreatedDate: string; HousingListingId: number; HousingListingTagId: number; Id: number; Listing?: Partial | null ; Tag?: Partial | null ; } export interface PublicRecordSearch { AMS360CustomerId?: string | null ; AMS360DataSource?: string | null ; BillingCompany?: Partial | null ; BillingCompanyAddress?: Partial | null ; BillingCompanyAddressId?: number | null ; BillingCompanyId: number; City?: string | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; DateOfBirth?: string | null ; DriversLicense?: string | null ; DriversLicenseState?: string | null ; ErrorMessage?: string | null ; FirstName?: string | null ; Id: number; LastModifiedDate: string; LastName?: string | null ; MiddleName?: string | null ; State?: string | null ; Street?: string | null ; Street2?: string | null ; Zip?: string | null ; } export interface PublicSearchSambaAgencyStateSettings { Company?: Partial | null ; CompanyId: number; HasActivityHistory?: boolean; HasDriversLicenseVerification?: boolean; HasFullStateMvr?: boolean; Id: number; State: string; } export interface PublicSearchSambaStateInfo { HasActivityHistory?: boolean; HasDriversLicenseVerification?: boolean; Id: number; State: string; SubType: StateInfoSubTypeString; TransactionalMVRBillingAmount: number; } export interface SambaPublicRecordSearch extends PublicRecordSearch { ActivityHistory?: Partial | null ; ActivityHistoryBillingAmount?: number | null ; ActivityHistoryCreatedBy?: Partial | null ; ActivityHistoryCreatedById?: number | null ; ActivityHistoryCreatedDate?: string | null ; ActivityHistoryErrorMessage?: string | null ; ActivityHistoryFinished?: boolean; ActivityHistoryOrderId?: string | null ; ActivityHistoryRequest?: string | null ; ActivityHistoryResponse?: string | null ; Gender?: SambaSearchGenderString | null ; LicenseVerification?: Partial | null ; LicenseVerificationBillingAmount?: number | null ; LicenseVerificationCreatedBy?: Partial | null ; LicenseVerificationCreatedById?: number | null ; LicenseVerificationCreatedDate?: string | null ; LicenseVerificationErrorMessage?: string | null ; LicenseVerificationFinished?: boolean; LicenseVerificationOrderId?: string | null ; LicenseVerificationRequest?: string | null ; LicenseVerificationResponse?: string | null ; MvrOrderId?: string | null ; SearchActivityHistory?: boolean; SearchLicenseVerification?: boolean; SearchTransactionalMVR?: boolean; TransactionalMVR?: Partial | null ; TransactionalMVRBillingAmount?: number | null ; TransactionalMVRCreatedBy?: Partial | null ; TransactionalMVRCreatedById?: number | null ; TransactionalMVRCreatedDate?: string | null ; TransactionalMVRErrorMessage?: string | null ; TransactionalMVRFinished?: boolean; TransactionalMVRRequest?: string | null ; TransactionalMVRResponse?: string | null ; } export interface AgencyProductionBudget { Company?: Partial | null ; CompanyId: number; Id: number; ProductionBudgets: Array>; TotalCommissionRevenue: number; TotalProducerProductionGoal: number; Year: number; } export interface BudgetGoal { FiscalPeriod: number; Id: number; NewRevenue: number; ProductionBudget?: Partial | null ; ProductionBudgetId: number; RenewRevenue: number; TotalRevenue?: number | null ; } export interface ProducerCodeTypeProductionBudget extends ProductionBudget { ProducerCodeType?: Partial | null ; ProducerCodeTypeId?: number | null ; } export interface ProducerProductionBudget extends ProductionBudget { Person?: Partial | null ; PersonId: number; } export interface ProductionBudget { AgencyProductionBudget?: Partial | null ; AgencyProductionBudgetId: number; BudgetGoals: Array>; Id: number; TotalGoalAmount: number; } export interface ProducerContactRequest { CreatedDate: string; Email?: string | null ; FullName?: string | null ; Id: number; IPAddress?: string | null ; Phone?: string | null ; Producer?: Partial | null ; ProducerId: number; QuestionOrComment?: string | null ; TextOptIn?: boolean; } export interface ProducerCenterQuestion { CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Options: Array>; Responses: Array>; Sequence: number; Text?: string | null ; Type: ProducerCenterQuestionTypeString; } export interface ProducerQuestionAnswerOption { CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Question?: Partial | null ; QuestionId: number; Sequence: number; Text?: string | null ; } export interface ProducerQuestionResponse { AnswerText?: string | null ; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Id: number; Person: Partial; PersonId: number; Question?: Partial | null ; QuestionId: number; } export interface AgencyCommissionRate { CommissionRateType: CommissionRateTypeString; Company?: Partial | null ; CompanyId: number; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Rate: number; StartDate: string; TransactionType: TransactionTypeString; } export interface BoBComposition { CompositionPercent: number; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; EndDate?: string | null ; Id: number; InstallmentPercent: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; SalesExpectation?: Partial | null ; SalesExpectationId: number; StartDate: string; Type: PolicyTypeString; } export interface DifferedCompensation { CreatorPerson: Partial; CreatorPersonId: number; DifferedCompensationBreakdowns: Array>; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson: Partial; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; RevenueThreshold: number; SalesExpectation: Partial; SalesExpectationId: number; StartDate: string; } export interface DifferedCompensationBreakdown { CreatorPerson: Partial; CreatorPersonId: number; DifferedCompensation: Partial; DifferedCompensationId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson: Partial; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Percentage: number; QualificationDate: string; StartDate: string; } export interface Expectation { CreatedDate: string; CreatorPerson: Partial; CreatorPersonId: number; DrawAmount: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson: Partial; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; ReportDate: string; SalesExpectation: Partial; SalesExpectationId: number; StartDate: string; SubsidyAmount: number; WrittenNewAmount: number; } export interface FailReason { Id: number; Message: string; SalesExpectationStatus: Partial; SalesExpectationStatusId: number; } export interface LifestyleEnhancement { Id: number; MinimumBooked: number; MonthlyAllowance: number; ProducerAssumption?: Partial | null ; ProducerAssumptionId: number; Year: number; } export interface ProducerAssumption { AgencyIncentiveThreshold?: number | null ; AssignedBook: number; AverageAccountSize: number; AvgCarrierNewCommissionRatePercentage?: number | null ; AvgCarrierRenewalCommissionRatePercentage?: number | null ; CreatedDate: string; CreatorPerson: Partial; CreatorPersonId: number; DeferredCompDate?: string | null ; DeferredCompPercentage?: number | null ; EligibleForAnnualIncentiveTrip?: boolean; EligibleForAssignedBookDeferredComp?: boolean; EligibleForBonusProgram?: boolean; EligibleForLifestyleEnhancement?: boolean; EligibleForTangibleGifts?: boolean; EndDate?: string | null ; GoalPercentage?: number | null ; Id: number; IncreaseType?: IncreaseTypeString | null ; IsExistingEmployee?: boolean; IsExpired?: boolean; IsTravelReimbursed?: boolean; LastModifiedByPerson: Partial; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; LifestyleEnhancements: Array>; NewToIndustry?: boolean; NewToSales?: boolean; QFAToCloseRatio: number; RetentionPercent: number; SalesExpectation: Partial; SalesExpectationId: number; StartDate: string; TalentSearch?: boolean; TangibleGifts: Array>; TravelExpense?: number | null ; YearlyIncrease?: number | null ; } export interface ProducerCommissionRate { CommissionPercent: number; CommissionRateType: CommissionRateTypeString; CreatedDate: string; CreatorPerson: Partial; CreatorPersonId: number; EffectiveDate: string; EndDate?: string | null ; ExpirationDate: string; Id: number; IsExpired?: boolean; LastModifiedByPerson: Partial; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; SalesExpectation: Partial; SalesExpectationId: number; StartDate: string; TransactionType: TransactionTypeString; } export interface ProspectiveProducerRole extends PersonRole { CompanyAddress?: Partial | null ; CompanyAddressId?: number | null ; } export interface SalesExpectation { BoBCompositions: Array>; CompletedSteps: CompletedStepsString; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; DifferedCompensations: Array>; EndDate?: string | null ; Expectations: Array>; HireDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Person?: Partial | null ; PersonId: number; ProducerAssumptions: Array>; ProducerCommissionRates: Array>; SalesExpectationStatus?: Partial | null ; StartDate: string; } export interface SalesExpectationStatus { ApprovalDate?: string | null ; Approver?: Partial | null ; ApproverId?: number | null ; FailReasons: Array>; Id: number; Reviewer?: Partial | null ; ReviewerId?: number | null ; ReviewerMessage?: string | null ; ReviewRequestDate?: string | null ; ReviewRequester?: Partial | null ; ReviewRequesterId?: number | null ; SalesExpectation?: Partial | null ; StatusType: SalesExpectationStatusTypeString; } export interface TangibleGift { Amount: number; Id: number; MinimumBookedThreshold: number; ProducerAssumption?: Partial | null ; ProducerAssumptionId: number; } export interface OnyxCarrierCodeMapping { CoCode: string; Id: number; OnyxCarrierName: string; } export interface OnyxPersonMapping { Ams360CustomerId?: string | null ; Id: number; OnyxContentHash?: string | null ; OnyxPersonId: number; } export interface OnyxPolicyMapping { Ams360PolicyId?: string | null ; Id: number; OnyxContentHash?: string | null ; OnyxPersonMappingId: number; OnyxPolicyId: number; OnyxPolicyStatus?: string | null ; } export interface OnyxPolicyTypeMapping { Ams360LineOfBusinessName: string; Id: number; OnyxPolicyTypeName: string; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface OAuthClient { ClientIdentifier?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; Name?: string | null ; OAuthClientGrants: Array>; RedirectUrl?: string | null ; RefreshTokens: Array>; Scope?: string | null ; StartDate: string; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface OAuthClientGrant { Code?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; OAuthClient?: Partial | null ; OAuthClientId: number; Person?: Partial | null ; PersonId: number; StartDate: string; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface RefreshToken { AccessTokensIssued: number; AccessType?: string | null ; EndDate?: string | null ; GrantType?: string | null ; Id: number; IsExpired?: boolean; IsRevoked?: boolean; Issuer?: string | null ; LastUsedDate?: string | null ; Location?: string | null ; OAuthClient?: Partial | null ; OAuthClientId: number; Person?: Partial | null ; PersonId: number; RedirectUri?: string | null ; RefreshTokenIssuedSites: Array>; RevokedDate?: string | null ; RevokerPerson?: Partial | null ; RevokerPersonId?: number | null ; StartDate: string; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface RefreshTokenIssuedSite { DateIssued: string; Id: number; Location?: string | null ; RedirectUri?: string | null ; RefreshToken?: Partial | null ; RefreshTokenId: number; } export interface NaicsCode { Code: number; Id: number; Industries: number; Title?: string | null ; } export interface CrmAccountMondayLink { CrmAccountId?: string | null ; Id: number; IsSyncActive?: boolean; LastSyncedDate?: string | null ; MondayItemId?: number | null ; UpdateToAnnotationLinks: Array>; } export interface PersonMondayAccount { Id: number; MondayId: number; Person?: Partial | null ; } export interface TeamSplit { BoardId?: string | null ; CreatedDate: string; CreatorPerson: Partial; CreatorPersonId: number; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; People: Array>; } export interface TeamSplitPercentage { BoardId?: string | null ; CreatedDate: string; CreatorPerson: Partial; CreatorPersonId: number; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; Percentage: number; Person: Partial; PersonId?: number | null ; } export interface UpdateToAnnotationLink { AnnotationId?: string | null ; CrmAccountMondayLink?: Partial | null ; CrmAccountMondayLinkId: number; Id: number; IsSyncActive?: boolean; LastSyncedDate?: string | null ; SyncType: UpdateToAnnotationSyncTypeString; UpdateId?: number | null ; } export interface AwayMessageAttachment extends IDatabaseAttachment { OutboundNumber?: Partial | null ; OutboundNumberId: number; } export interface CampaignTemplate { Attachments: Array>; Body: string; Campaign?: Partial | null ; CampaignId: number; Disabled?: boolean; Id: number; LastSentDate?: string | null ; Messages: Array>; Name: string; OffsetDays?: number | null ; ScheduledSendDate?: string | null ; Type: DripCampaignTemplateTypeString; } export interface CampaignTemplateAttachment extends IDatabaseAttachment { CampaignTemplate?: Partial | null ; CampaignTemplateId: number; } export interface CompanyMessageTemplate extends MessageTemplate { Company?: Partial | null ; CompanyId: number; } export interface ContactToAms360Client { Contact?: Partial | null ; ContactId: number; CustId: string; Id: number; Instance?: Partial | null ; InstanceId: number; } export interface ContactToCampaign { Campaign?: Partial | null ; CampaignId: number; Contact?: Partial | null ; ContactId: number; CreatedDate: string; Id: number; } export interface ContactToCompany { Company?: Partial | null ; CompanyId: number; Contact?: Partial | null ; ContactId: number; Id: number; IsDeleted?: boolean; } export interface Conversation { Contact?: Partial | null ; ContactId: number; CreatedBy?: Partial | null ; CreatedById?: number | null ; CurrentEmailReminderSentDate?: string | null ; Date: string; FirstResponseTimeSeconds?: number | null ; Id: number; IsArchived?: boolean; IsUnsubscribed?: boolean; Messages: Array>; MostRecentMessageDate?: string | null ; OutboundNumber?: Partial | null ; OutboundNumberId: number; Participants: Array>; ReadMessages: Array>; Representative?: Partial | null ; RepresentativeId?: number | null ; UnreadCount: number; UnsubscribedByPerson?: Partial | null ; UnsubscribedByPersonId?: number | null ; } export interface GoogleMessageIntegration { AccountName?: string | null ; CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; ExpirationDate?: string | null ; GooglePlaces: Array>; Id: number; IsExpired?: boolean; LastErrorMessage?: string | null ; Status: GoogleMessageIntegrationStatusString; } export interface GooglePlace { AccountId?: string | null ; AverageRating?: number | null ; Company: Partial; CompanyId: number; Description?: string | null ; GoogleMessageIntegration?: Partial | null ; GoogleMessageIntegrationId?: number | null ; GoogleReputationManagers: Array>; Id: number; LastErrorMessage?: string | null ; LocationId?: string | null ; OutboundNumbers: Array>; PlaceId?: string | null ; Reviews: Array>; Title?: string | null ; TotalReviewCount?: number | null ; } export interface GoogleReputationManager { GooglePlace: Partial; GooglePlaceId: number; Id: number; Person: Partial; PersonId: number; } export interface GoogleReview { AccountId?: string | null ; Body?: string | null ; CreatedDate: string; Id: number; Place?: Partial | null ; PlaceId?: number | null ; Rating?: GoogleReviewRatingTypeString | null ; ReplyComment?: string | null ; ReplyUpdateTime?: string | null ; ResourceName?: string | null ; ReviewerDisplayName?: string | null ; ReviewerIsAnonymous?: boolean; ReviewerPhotoUrl?: string | null ; ReviewId?: string | null ; } export interface Message { Body?: string | null ; Conversation?: Partial | null ; ConversationId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; Date: string; ErrorMessage?: string | null ; Id: number; IsAwayMessage?: boolean; IsNextMessageOptOut?: boolean; OrderInConversation: number; ReadPeople: Array>; UniqueClicksPerLink: number; } export interface MessageCampaignToAms360Instance { Ams360Instance?: Partial | null ; Ams360InstanceId: number; BranchCode: string; BranchCodeName: string; Id: number; MessagesCampaign?: Partial | null ; MessagesCampaignId: number; } export interface MessagesCampaign { Audience: Array>; FormToMessagesCampaigns: Array>; Id: number; IsActive?: boolean; LastActivityDate?: string | null ; MessageCampaignToAMSDataSources: Array>; Name?: string | null ; OffsetInDays: number; OutboundNumber?: Partial | null ; OutboundNumberId: number; Templates: Array>; Type: MessagesCampaignTypeString; } export interface MessagesCompanyAdminToPeopleGroup { Company: Partial; CompanyId: number; Id: number; PeopleGroup: Partial; PeopleGroupId: number; } export interface MessagesCompanyAdminToPerson { Company: Partial; CompanyId: number; Id: number; Person: Partial; PersonId: number; } export interface MessagesUserSetting { EnableDesktopNotificationsForMyUnreadMessages?: boolean; EnableDesktopNotificationsForUnassignedMessages?: boolean; Id: number; IsOnVacation?: boolean; LastReminderSentDate?: string | null ; Person?: Partial | null ; UnreadAssignedMessageEmailReminder?: string | null ; VacationAttachments: Array>; VacationEndDate?: string | null ; VacationMessage?: string | null ; VacationStartDate?: string | null ; } export interface MessageTemplate { Attachments: Array>; Body: string; CreatedDate: string; Id: number; IsActive?: boolean; LastSentDate?: string | null ; Name: string; UsageCount: number; } export interface MessageTemplateAttachment extends IDatabaseAttachment { MessageTemplate?: Partial | null ; MessageTemplateId: number; } export interface OutboundNumber { AwayMessageAttachments: Array>; AwayMessageEnabled?: boolean; AwayMessageTemplateBody?: string | null ; Campaigns: Array>; Company?: Partial | null ; CompanyId: number; Conversations: Array>; Description?: string | null ; FridayEnd?: string | null ; FridayStart?: string | null ; GooglePlace?: Partial | null ; GooglePlaceId?: number | null ; Id: number; MondayEnd?: string | null ; MondayStart?: string | null ; Name: string; PeopleCampaignEditors: Array>; PeopleGroupCampaignEditors: Array>; PhoneNumber: string; Representatives: Array>; SaturdayEnd?: string | null ; SaturdayStart?: string | null ; SundayEnd?: string | null ; SundayStart?: string | null ; ThursdayEnd?: string | null ; ThursdayStart?: string | null ; Timezone?: string | null ; TuesdayEnd?: string | null ; TuesdayStart?: string | null ; WednesdayEnd?: string | null ; WednesdayStart?: string | null ; } export interface OutboundNumberToPerson { Id: number; OutboundNumber?: Partial | null ; OutboundNumberId: number; Person?: Partial | null ; PersonId: number; } export interface Participant { Conversation?: Partial | null ; ConversationId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface PeopleCampaignEditor { Id: number; OutboundNumber?: Partial | null ; OutboundNumberId: number; Person?: Partial | null ; PersonId: number; } export interface PeopleGroupCampaignEditor { Id: number; OutboundNumber?: Partial | null ; OutboundNumberId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface PersonalMessageTemplate extends MessageTemplate { Person?: Partial | null ; PersonId: number; } export interface PhoneContact { Ams360Clients: Array>; Campaigns: Array>; CompanyName?: string | null ; ContactToCompanies: Array>; Conversations: Array>; DisplayName?: string | null ; FirstName?: string | null ; Id: number; LastBlockedByPerson?: Partial | null ; LastBlockedByPersonId?: number | null ; LastBlockedReason?: string | null ; LastName?: string | null ; PhoneNumber: string; } export interface ReadMessageToPerson { Conversation?: Partial | null ; ConversationId: number; Id: number; Message?: Partial | null ; MessageId: number; Person?: Partial | null ; PersonId?: number | null ; } export interface SmsMessage extends Message { Attachments: Array>; CampaignTemplateId?: number | null ; DeliveryStatus: DeliveryStatusString; Direction: MessageDirectionString; LinkClicks: Array>; MessageSid?: string | null ; RespondedTo?: boolean; RetryCount: number; Template?: Partial | null ; } export interface SmsMessageAttachment extends IDatabaseAttachment { Message?: Partial | null ; MessageId?: number | null ; } export interface SmsMessageLinkClick { Date: string; Id: number; IsPreview?: boolean; Link?: string | null ; Message?: Partial | null ; MessageId?: number | null ; UserAgent?: string | null ; } export interface SystemMessage extends Message { FromPerson?: Partial | null ; FromPersonId?: number | null ; ToPerson?: Partial | null ; ToPersonId?: number | null ; Type: SystemMessageTypeString; } export interface VacationAttachment extends IDatabaseAttachment { MessagesUserSetting?: Partial | null ; MessagesUserSettingId: number; } export interface ManualEntryBudget { BudgetAmt: number; DatabaseName?: string | null ; GLDivision?: string | null ; GLNumber?: string | null ; Id: number; TranDate: string; } export interface ManualEntryGeneralLedger { CreditAmt: number; DatabaseName?: string | null ; DebitAmt: number; GLDivision?: string | null ; GLNumber?: string | null ; Id: number; TranDate: string; } export interface ManualEntryProduction { CommAmt: number; DatabaseName?: string | null ; GLDivision?: string | null ; Id: number; PersonId?: number | null ; ProducerCodeTypeId?: number | null ; ProductionType: ManualEntryProductionTypeString; TranDate: string; TypeOfBusiness?: TypeOfBusinessString | null ; } export interface BenefitPointManagementSystem extends ManagementSystem { } export interface ManagementSystem { Company?: Partial | null ; CompanyId: number; DatabaseName?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; ManagementSystemDatabaseServer?: Partial | null ; ManagementSystemDatabaseServerId?: number | null ; StartDate: string; } export interface ManagementSystemDatabaseServer { Id: number; Ip?: string | null ; ManagementSystems: Array>; Name?: string | null ; Password?: string | null ; Username?: string | null ; } export interface ManualEntryBranchCode { Code?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; ManualEntryManagementSystem?: Partial | null ; ManualEntryManagementSystemId: number; StartDate: string; } export interface ManualEntryGlDivCode { Code?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; ManualEntryManagementSystem?: Partial | null ; ManualEntryManagementSystemId: number; StartDate: string; } export interface ManualEntryManagementSystem extends ManagementSystem { ManualEntryBranchCodes: Array>; ManualEntryGlDivCodes: Array>; } export interface SageManagementSystem extends ManagementSystem { } export interface Document extends IDatabaseAttachment { Company?: Partial | null ; CompanyId: number; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; DeletedByPerson?: Partial | null ; DeletedByPersonId?: number | null ; DeletedDate?: string | null ; DocumentType?: Partial | null ; DocumentTypeId: number; Fields: Array>; IsDeleted?: boolean; IsScanned?: boolean; LastModified: string; } export interface DocumentField { Answers: Array>; DocumentType?: Partial | null ; DocumentTypeId: number; Fields: Array>; Id: number; Name?: string | null ; OrderOnTable?: number | null ; ShowOnFilter?: boolean; ShowOnTable?: boolean; ValueType: DocumentFieldValueTypeString; } export interface DocumentFieldAnswer { DocumentField?: Partial | null ; DocumentFieldId: number; Id: number; Value?: string | null ; } export interface DocumentFieldValue { Document?: Partial | null ; DocumentField?: Partial | null ; DocumentFieldId: number; DocumentId: number; Id: number; Value: string; } export interface DocumentType { AgencyViewerToPeople: Array>; AgencyViewerToPeopleGroups: Array>; AllowedFileTypes?: string | null ; DeletedByPerson?: Partial | null ; DeletedByPersonId?: number | null ; DeletedDate?: string | null ; Documents: Array>; Fields: Array>; GlobalViewerToPeople: Array>; GlobalViewerToPeopleGroups: Array>; Icon?: string | null ; Id: number; IsDeleted?: boolean; Name?: string | null ; } export interface DocumentTypeAgencyViewerToPeopleGroup { CanAdminister?: boolean; DocumentType?: Partial | null ; DocumentTypeId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface DocumentTypeAgencyViewerToPerson { CanAdminister?: boolean; DocumentType?: Partial | null ; DocumentTypeId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface DocumentTypeGlobalViewerToPeopleGroup { CanAdminister?: boolean; DocumentType?: Partial | null ; DocumentTypeId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface DocumentTypeGlobalViewerToPerson { CanAdminister?: boolean; DocumentType?: Partial | null ; DocumentTypeId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface VertaforeAutoLookup { AirBagRear?: boolean; Alarm?: boolean; AntilockBrakes?: boolean; AntilockBrakes4Wheels?: boolean; AntiTheftDevice?: boolean; AutomaticSeatbelts?: boolean; BodyType?: string | null ; CostNewCollSym?: string | null ; CostNewCompSym?: string | null ; CountryWidePerformance?: string | null ; Cylinders: number; DaytimeRunningLights?: boolean; EngineDisplacementCubicInches: number; EngineSize?: string | null ; EngineType?: string | null ; FourWheelDrive?: string | null ; FullModelName?: string | null ; GVWWildCard: number; ISOCollSym?: string | null ; ISOCompSym?: string | null ; ISOLiabilitySymbol?: string | null ; ISOMedicalSymbol?: string | null ; ISOPerformanceCd?: string | null ; IsoSymbol?: string | null ; Key?: string | null ; ModelYear?: string | null ; NumericSymbol?: string | null ; PassiveAntiTheftDevice?: boolean; PassiveRestraintDriver?: boolean; PassiveRestraintPassenger?: boolean; Performance?: string | null ; PLRMake?: string | null ; PriceNewSym?: string | null ; SideAirBags?: boolean; VehEngine?: string | null ; VehId?: string | null ; VehMake?: string | null ; VehModel?: string | null ; VehSymbol?: string | null ; VehType?: string | null ; VehVIN?: string | null ; VINMasterVINPrefix?: string | null ; VINPrefix?: string | null ; } export interface RicochetLead { AdditionalComments?: string | null ; Address1?: string | null ; Address2?: string | null ; AssistedBy1?: string | null ; AssistedBy2?: string | null ; AssistedBy3?: string | null ; AssistedBy4?: string | null ; AssistedBy5?: string | null ; AssistedBy6?: string | null ; AssistedBy7?: string | null ; AssistedBy8?: string | null ; AssistedBy9?: string | null ; BlendLostAgencyCarrier?: string | null ; BlendLostLeadReason?: string | null ; BoldPenguinLeadId?: string | null ; CallHistories: Array>; CarrierQuoted1?: string | null ; CarrierQuoted2?: string | null ; CarrierQuoted3?: string | null ; CarrierQuoted4?: string | null ; CarrierQuoted5?: string | null ; CarrierQuoted6?: string | null ; CarrierQuoted7?: string | null ; CarrierQuoted8?: string | null ; CarrierQuoted9?: string | null ; ClCoverageTypes?: string | null ; CreatedAt?: string | null ; CurrentBlendStatus?: string | null ; DateOfAssist1?: string | null ; DateOfAssist2?: string | null ; DateOfAssist3?: string | null ; DateOfAssist4?: string | null ; DateOfAssist5?: string | null ; DateOfAssist6?: string | null ; DateOfAssist7?: string | null ; DateOfAssist8?: string | null ; DateOfAssist9?: string | null ; DateOfQuote1?: string | null ; DateOfQuote2?: string | null ; DateOfQuote3?: string | null ; DateOfQuote4?: string | null ; DateOfQuote5?: string | null ; DateOfQuote6?: string | null ; DateOfQuote7?: string | null ; DateOfQuote8?: string | null ; DateOfQuote9?: string | null ; DoNotCall?: boolean | null ; DoNotText: number; EffectiveDate1?: string | null ; EffectiveDate2?: string | null ; EffectiveDate3?: string | null ; EffectiveDate4?: string | null ; EffectiveDate5?: string | null ; EffectiveDate6?: string | null ; EffectiveDate7?: string | null ; EffectiveDate8?: string | null ; EffectiveDate9?: string | null ; Email?: string | null ; EstimatedAnnualPayroll?: string | null ; EstimatedAnnualRevenue?: string | null ; FirstName?: string | null ; Id: number; LastCalledAt?: string | null ; LastEmailAt?: string | null ; LastInboundCallAt?: string | null ; LastName?: string | null ; LastOutboundCallAt?: string | null ; LastSmsAt?: string | null ; LastStatusedAt?: string | null ; LeadId: number; LegalEntityName?: string | null ; LoanOfficer?: string | null ; LobAssisted1?: string | null ; LobAssisted2?: string | null ; LobAssisted3?: string | null ; LobAssisted4?: string | null ; LobAssisted5?: string | null ; LobAssisted6?: string | null ; LobAssisted7?: string | null ; LobAssisted8?: string | null ; LobAssisted9?: string | null ; MacuProductOfInterest?: string | null ; MacuReferralDateSubmitted?: string | null ; MacuReferralId?: string | null ; MacuReferrerBranchLocation?: string | null ; MacuReferrerName?: string | null ; MacuSourceOfReferral?: string | null ; MacuSubjectOfReferral?: string | null ; MacuTypeOfReferral?: string | null ; NaicsCode?: string | null ; NaicsDescription?: string | null ; NaicsDescription953?: string | null ; Office?: string | null ; OfficeId: number; Owner?: string | null ; OwnerId: number; Phone?: string | null ; PolicySold1?: string | null ; PolicySold2?: string | null ; PolicySold3?: string | null ; PolicySold4?: string | null ; PolicySold5?: string | null ; PolicySold6?: string | null ; PolicySold7?: string | null ; PolicySold8?: string | null ; PolicySold9?: string | null ; PolicySoldDate1?: string | null ; PolicySoldDate2?: string | null ; PolicySoldDate3?: string | null ; PolicySoldDate4?: string | null ; PolicySoldDate5?: string | null ; PolicySoldDate6?: string | null ; PolicySoldDate7?: string | null ; PolicySoldDate8?: string | null ; PolicySoldDate9?: string | null ; PremiumQuoted1?: number | null ; PremiumQuoted2?: number | null ; PremiumQuoted3?: number | null ; PremiumQuoted4?: number | null ; PremiumQuoted5?: number | null ; PremiumQuoted6?: number | null ; PremiumQuoted7?: number | null ; PremiumQuoted8?: number | null ; PremiumQuoted9?: number | null ; PropertyUsageType?: string | null ; QuotedBy1?: string | null ; QuotedBy2?: string | null ; QuotedBy3?: string | null ; QuotedBy4?: string | null ; QuotedBy5?: string | null ; QuotedBy6?: string | null ; QuotedBy7?: string | null ; QuotedBy8?: string | null ; QuotedBy9?: string | null ; State?: string | null ; Status?: string | null ; StatusId: number; TextOptIn?: boolean | null ; UpdatedAt?: string | null ; VendorId: number; VendorName?: string | null ; ZipCode?: string | null ; } export interface RicochetLeadCallHistory { AgentName?: string | null ; CallDate?: string | null ; CallFrom?: string | null ; CallHistoryId: number; CallStatus?: string | null ; CallType?: string | null ; CampaignSkinnyId?: number | null ; CampaignSkinnyName?: string | null ; CreatedAt?: string | null ; Duration?: string | null ; Id: number; Lead?: Partial | null ; LeadId?: number | null ; Missed?: number | null ; To?: number | null ; TransferFinish?: string | null ; TransferFrom?: number | null ; Transferred?: number | null ; TransferStart?: string | null ; TransferStatus?: string | null ; TransferTime?: string | null ; TransferTo?: number | null ; } export interface AutoAccident { AutoDriver?: Partial | null ; AutoDriverId: number; Date?: string | null ; Id: number; Type?: AutoAccidentTypeString | null ; } export interface AutoDriver { AutoAccidents: Array>; AutoDriverToAutoVehicles: Array>; DateOfBirth?: string | null ; EducationLevel?: EducationTypeString | null ; FirstLicensedAge?: number | null ; FirstName?: string | null ; Gender?: string | null ; HasAccidents?: boolean | null ; Id: number; LastName?: string | null ; LicenseState?: string | null ; LicenseStatus?: LicenseStatusTypeString | null ; MaritalStatus?: MaritalStatusTypeString | null ; PersonalPropertyQuoteRequest?: Partial | null ; PersonalPropertyQuoteRequestId: number; RelationshipToInsured?: RelationshipToInsuredTypeString | null ; } export interface AutoDriverToAutoVehicle { AutoDriver?: Partial | null ; AutoDriverId: number; AutoVehicle?: Partial | null ; AutoVehicleId: number; Id: number; } export interface AutoVehicle { AcquisitionDate?: string | null ; AnnualMilesDriven?: number | null ; AutoDriverToAutoVehicles: Array>; CollisionDeductible?: number | null ; ComprehensiveDeductible?: number | null ; Id: number; Make: string; Model: string; ModelYear: number; PersonalPropertyQuoteRequest?: Partial | null ; PersonalPropertyQuoteRequestId: number; TowingCoverageLimit?: number | null ; TransportationExpense?: string | null ; UnderInsuredMotoristPerAccidentLimit?: number | null ; UnderInsuredMotoristPerPersonLimit?: number | null ; UninsuredMotoristPerAccidentLimit?: number | null ; UninsuredMotoristPerPersonLimit?: number | null ; VehicleUsage?: VehicleUsageTypeString | null ; VIN: string; } export interface CarrierLogin { AgencyCode: string; Carrier?: Partial | null ; CarrierId: number; Id: number; Raters: Array>; Username: string; } export interface HomeOwnersCoverage { Description?: string | null ; HomeOwnersQuote?: Partial | null ; HomeOwnersQuoteId: number; Id: number; Limit1?: number | null ; Limit2?: number | null ; Premium?: number | null ; Type?: string | null ; Waived?: boolean; } export interface HomeOwnersQuote extends PersonalPropertyQuote { Coverages: Array>; } export interface PersonalAutoCoverage { Description?: string | null ; Id: number; Limit1?: number | null ; Limit2?: number | null ; PersonalAutoQuote?: Partial | null ; PersonalAutoQuoteId: number; Premium?: number | null ; Type?: string | null ; VehicleID?: number | null ; Waived?: boolean; } export interface PersonalAutoQuote extends PersonalPropertyQuote { Coverages: Array>; } export interface PersonalPropertyCarrier extends Carrier { CarrierErrors: Array>; Logins: Array>; Logo?: Partial | null ; Quotes: Array>; SelectedQuoteRequests: Array>; } export interface PersonalPropertyCarrierError { Carrier?: Partial | null ; CarrierId: number; CarrierName?: string | null ; CreatedDate: string; Id: number; LineOfBusiness: LineOfBusinessString; Message?: string | null ; PersonalPropertyQuoteRequest?: Partial | null ; PersonalPropertyQuoteRequestId: number; } export interface PersonalPropertyCarrierLogo extends IDatabaseAttachment { Carrier?: Partial | null ; CarrierId: number; } export interface PersonalPropertyLiabilityLimit { AutoInjuryCoverageLimit: number; AutoLiabilityCoverageLimit: number; Id: number; PersonalPropertyQuoteRequest?: Partial | null ; PersonalPropertyQuoteRequestId: number; } export interface PersonalPropertyQuote { Carrier?: Partial | null ; CarrierId?: number | null ; CompanyUnitId?: number | null ; CreatedDate: string; EffectiveDate?: string | null ; ExpirationDate?: string | null ; Id: number; PersonalPropertyQuoteRequest?: Partial | null ; PersonalPropertyQuoteRequestId: number; PolicyKey?: string | null ; Premium?: number | null ; RatedTermMonths: number; Source: PersonalPropertyQuoteSourceString; } export interface PersonalPropertyQuoteRequest extends QuoteRequest { AutoDrivers: Array>; AutoEffectiveDate?: string | null ; AutoExpirationDate?: string | null ; AutoInjuryCoverageLimit?: number | null ; AutoLiabilityCoverageLimit?: number | null ; AutoMonthsInsured?: number | null ; AutoVehicles: Array>; AvailableLiabilityLimits: Array>; AvailableUninsuredLimits: Array>; Baths?: number | null ; CarrierErrors: Array>; ClaimsLast5Years?: number | null ; ConstructionType?: ConstructionTypeString | null ; CorrelationId?: string | null ; DateOfBirth?: string | null ; ElectricalRenovationYear?: number | null ; EloquaContactId?: number | null ; EmailAddress?: string | null ; FirstName?: string | null ; FoundationType?: FoundationTypeString | null ; FulfillEndDate?: string | null ; FulfillErrorMessage?: string | null ; FulfillStartDate?: string | null ; HasAutomaticSprinklers?: boolean | null ; HasBeenFulfilled?: boolean; HasBeenInsuredInLastFiveYears?: boolean | null ; HasBurglarAlarm?: boolean | null ; HasCats?: boolean | null ; HasDeadBolts?: boolean | null ; HasDogs?: boolean | null ; HasFireAlarm?: boolean | null ; HasFireExtinguisher?: boolean | null ; HasFulfillBeenRequested?: boolean; HasSmokeDetector?: boolean | null ; HasSwimmingPool?: boolean | null ; HasTrampoline?: boolean | null ; HeatingRenovationYear?: number | null ; HomeEstimatedValue?: number | null ; IsEnrolledInDrivingProgram?: boolean | null ; LastName?: string | null ; NumberOfBedrooms?: number | null ; NumberOfStories?: NumberOfStoriesString | null ; OccupantType?: OccupantTypeString | null ; PleaseAdviseMeOnLiabilityLimits?: boolean | null ; PlRaterLaunchUrl?: string | null ; PlumbingRenovationYear?: number | null ; PrimaryHeatType?: HeatTypeString | null ; Quotes: Array>; QuoteType?: PersonalPropertyQuoteTypeString | null ; ResidenceType?: ResidenceTypeString | null ; RoofRenovationYear?: number | null ; RoofType?: RoofTypeString | null ; SelectedCarrier?: Partial | null ; SelectedCarrierId?: number | null ; SquareFootage?: number | null ; YearBuilt?: number | null ; } export interface PersonalPropertyRater extends Rater { AutoInjuryLimitHigh?: number | null ; AutoInjuryLimitLow?: number | null ; AutoLiabilityLimitHigh?: number | null ; AutoLiabilityLimitLow?: number | null ; AutoQuotingPrompt?: Partial | null ; AutoQuotingPromptId?: number | null ; Carriers: Array>; Disclaimer: string; EloquaCampaign?: string | null ; EnabledLinesOfBusiness: PersonalPropertyQuoteTypeString; FooterEmailAddress: string; ForceBundling?: boolean; HomeQuotingPrompt?: Partial | null ; HomeQuotingPromptId?: number | null ; Phone: string; PLRaterAgencyId?: number | null ; RenterQuotingPrompt?: Partial | null ; RenterQuotingPromptId?: number | null ; ToolbarTitle: string; } export interface PersonalPropertyRaterToPersonalPropertyCarrier { CarrierLogin?: Partial | null ; CarrierLoginId: number; CompanyUnitKey: number; Id: number; LineOfBusiness: LineOfBusinessString; Rater?: Partial | null ; RaterId: number; State: string; } export interface PersonalPropertyUninsuredLimit { CombinedLimit: number; Id: number; PersonalPropertyQuoteRequest?: Partial | null ; PersonalPropertyQuoteRequestId: number; } export interface QuotingPrompt { AutoRaters: Array>; Body: string; HomeRaters: Array>; Id: number; Name: string; RenterRaters: Array>; Type: QuotingPromptTypeString; Version: number; } export interface RenterCoverage { Description?: string | null ; Id: number; Limit1?: number | null ; Limit2?: number | null ; Premium?: number | null ; RenterQuote?: Partial | null ; RenterQuoteId: number; Type?: string | null ; Waived?: boolean; } export interface RenterQuote extends PersonalPropertyQuote { Coverages: Array>; } export interface LifeCarrier extends Carrier { IXNId: number; LargeLogoUrl?: string | null ; LifeErrors: Array>; LifeQuotes: Array>; LifeRaters: Array>; MedLogoUrl?: string | null ; SmallLogoUrl?: string | null ; WidgetLifeRaters: Array>; } export interface LifeCarrierError { CarrierId: number; Id: number; LifeCarrier?: Partial | null ; LifeQuoteRequest?: Partial | null ; LifeQuoteRequestId: number; } export interface LifeQuote { AnnualPremium: number; CarrierId: number; Company?: string | null ; CompanyCode?: string | null ; CreatedDate: string; HealthCategory?: string | null ; Id: number; LifeCarrier?: Partial | null ; LifeQuoteRequest?: Partial | null ; LifeQuoteRequestId: number; LogoUrl?: string | null ; PolicyFee: number; Premium: number; Product?: string | null ; ProductCode?: string | null ; } export interface LifeQuoteRequest extends QuoteRequest { CarrierErrors: Array>; CoverageAmount?: number | null ; DateOfBirth?: string | null ; EloquaContactId?: number | null ; EmailAddress?: string | null ; ErrorMessage?: string | null ; FirstName?: string | null ; Gender?: GenderTypeString | null ; HasBeenFulfilled?: boolean; HasFulfillBeenRequested?: boolean; HealthRating?: HealthRatingTypeString | null ; LastName?: string | null ; LifeQuotes: Array>; ProductType?: ProductTypeString | null ; SelectedQuoteId?: number | null ; Tobacco?: TobaccoTypeString | null ; UserGuid?: string | null ; WealthManager?: string | null ; WealthManagerEmail?: string | null ; } export interface LifeRater extends Rater { Carriers: Array>; Disclaimer: string; EloquaCampaign?: string | null ; FooterEmailAddress: string; Phone: string; ToolbarTitle: string; } export interface LifeRaterToCarrier { Carrier?: Partial | null ; CarrierId: number; Id: number; Rater?: Partial | null ; RaterId: number; } export interface WidgetLifeRater extends Rater { AppPrimaryColor?: string | null ; AppSecondaryColor?: string | null ; Carriers: Array>; EloquaCampaign?: string | null ; FooterEmailAddress: string; HeaderText?: string | null ; Phone: string; ShowWealthManagementFields?: boolean; } export interface WidgetLifeRaterToCarrier { Carrier?: Partial | null ; CarrierId: number; Id: number; Rater?: Partial | null ; RaterId: number; } export interface HartfordAvailableWcClassCode { HartfordQuoteRequest?: Partial | null ; HartfordQuoteRequestId: number; Id: number; RatingClassificationCode?: string | null ; RatingClassificationDesc?: string | null ; RatingClassificationDescCd?: string | null ; } export interface HartfordCoverageLimit { Coverage?: Partial | null ; CoverageId: number; Description?: string | null ; Id: number; LimitAmount?: number | null ; LimitAppliesToCode?: string | null ; } export interface HartfordOwner { HartfordQuoteRequest?: Partial | null ; HartfordQuoteRequestId?: number | null ; Id: number; OwnerIncluded?: boolean; OwnerName: string; OwnerPayroll: number; OwnerRatingClassificationCd: string; OwnershipPercentage: number; } export interface HartfordQuote { AdditionalInfo?: string | null ; BOPTypeCode?: string | null ; Coverages: Array>; CreatedDate: string; EmailedQuoteDate?: string | null ; HartfordQuoteRequest?: Partial | null ; HartfordQuoteRequestId: number; Id: number; IssuanceEligibleInd?: boolean; PolicyNumber?: string | null ; QuoteAccessUrl?: string | null ; QuoteIdentifier?: string | null ; StreamlinedQuoteStatus?: string | null ; TotalPremium?: number | null ; Type: HartfordQuoteTypeString; } export interface HartfordQuoteCoverage { CoverageCode?: string | null ; Description?: string | null ; Id: number; Limits: Array>; Quote?: Partial | null ; QuoteId: number; } export interface HartfordQuoteRequest extends QuoteRequest { AnnualSales?: number | null ; AvailableWcClassCodes: Array>; BoldPenguinApplicationFormId?: string | null ; BopFulfillEndDate?: string | null ; BopFulfillStartDate?: string | null ; BopRequestPayload?: string | null ; BopResponsePayload?: string | null ; BppLimit?: number | null ; BuildingSqft?: number | null ; BusinessStartYear?: number | null ; CarrierErrors: Array>; ClassName?: string | null ; ContactName?: string | null ; EffectiveDate?: string | null ; Email?: string | null ; FEIN?: string | null ; HartfordWorkersCompClassCodes: Array>; HasBopBeenFulfilled?: boolean; HasWcBeenFulfilled?: boolean; IsBopFulfilling?: boolean; IsBundled?: boolean | null ; IsWcFulfilling?: boolean; LastPageVisited: HartfordLastPageVisitedString; Name: string; NumberOfEmployees?: number | null ; NumberOfLosses?: number | null ; NumberOfOwners?: number | null ; Owners: Array>; QuoteRequestSessionId?: string | null ; Quotes: Array>; SpectrumClassCode?: string | null ; TotalEmployeePayroll?: number | null ; WcFulfillEndDate?: string | null ; WcFulfillStartDate?: string | null ; WcRequestPayload?: string | null ; WcResponsePayload?: string | null ; } export interface HartfordRater extends Rater { Disclaimer: string; FooterEmailAddress: string; Phone: string; ProducerCode?: string | null ; SourceSystem?: string | null ; ToolbarTitle: string; } export interface HartfordWorkersCompClassCode { HartfordQuoteRequest?: Partial | null ; HartfordQuoteRequestId?: number | null ; Id: number; NumberOfEmployees: number; Payroll: number; RatingClassificationCode?: string | null ; } export interface CoalitionIndustry { CoalitionId?: number | null ; DisplayName?: string | null ; GicsCode?: string | null ; IbcCode?: string | null ; Id: number; IsDev?: boolean | null ; RejectBusinessInterruption?: boolean | null ; RejectFtf?: boolean | null ; RejectMediaLiability?: boolean | null ; RejectTechEo?: boolean | null ; RequireAdultContentEi?: boolean | null ; RequireAllEngagedIndustries?: boolean | null ; RequireEoMpl?: boolean | null ; RequireGamblingEi?: boolean | null ; RequirePiiPhi?: boolean | null ; RequireTechEo?: boolean | null ; UseGrossProfitNetRevenue?: boolean | null ; } export interface CyberQuote { CreatedDate: string; CyberQuoteRequest?: Partial | null ; CyberQuoteRequestId: number; Id: number; Premium?: number | null ; } export interface CyberQuoteRequest extends QuoteRequest { AdministrativeDualControl?: CoalitionDualControlTypeString | null ; AwareOfNewClaims?: boolean | null ; AwareOfNewClaimsExplanation?: string | null ; AwareOfPriorClaims?: boolean | null ; AwareOfPriorClaimsAmount?: string | null ; AwareOfPriorClaimsCount?: number | null ; BackupAndRestore?: boolean | null ; BindErrorMessage?: string | null ; CCCustomerCount?: string | null ; CCCustomerCustomCount?: number | null ; CoalitionBundle?: CoalitionBundleTypeString | null ; CoalitionIndustryId?: number | null ; CoalitionPackageId?: string | null ; CompanyEmployeeCount?: number | null ; CompanyGrossProfitNetRevenue?: number | null ; CompanyName?: string | null ; CompanyRevenue?: number | null ; ContactName?: string | null ; ContentComplaints?: boolean | null ; DomainNames?: string | null ; DualControl?: CoalitionDualControlTypeString | null ; DualControl5K?: CoalitionDualControlTypeString | null ; EffectiveDate?: string | null ; EloquaContactId?: number | null ; EncryptsData?: CoalitionEncryptsDataTypeString | null ; EngagedIndustries?: CoalitionEngagedIndustriesTypeString | null ; FulfillEndDate?: string | null ; FulfillErrorMessage?: string | null ; FulfillStartDate?: string | null ; HasBeenFulfilled?: boolean; HasEoMpl?: boolean | null ; HasFulfillBeenRequested?: boolean; HasPackageRequestPayload?: boolean | null ; HasPackageResponsePayload?: boolean | null ; HasRequestPayload?: boolean | null ; HasResponsePayload?: boolean | null ; HasTechEo?: boolean | null ; IndustryCoalitionId?: string | null ; IndustryDisplayName?: string | null ; IndustryGicsCode?: string | null ; IndustryIbcCode?: string | null ; IndustryIsDev?: boolean | null ; IndustryRejectBusinessInterruption?: boolean | null ; IndustryRejectFtf?: boolean | null ; IndustryRejectMediaLiability?: boolean | null ; IndustryRejectTechEo?: boolean | null ; IndustryRequireAdultContentEi?: boolean | null ; IndustryRequireAllEngagedIndustries?: boolean | null ; IndustryRequireEoMpl?: boolean | null ; IndustryRequireGamblingEi?: boolean | null ; IndustryRequirePiiPhi?: boolean | null ; IndustryRequireTechEo?: boolean | null ; IndustryUseGrossProfitNetRevenue?: boolean | null ; IntendedPolicyHolderEmail?: string | null ; IsBound?: boolean | null ; IsMspOrBadIndustry?: boolean | null ; MfaEmail?: CoalitionMfaEmailTypeString | null ; MfaOtherPrivilegedAccounts?: CoalitionMfaOtherPrivilegedAccountsTypeString | null ; MfaRemoteAccess?: CoalitionMfaRemoteAccessTypeString | null ; MfaVpn?: CoalitionMfaVpnTypeString | null ; MitigatingClauses?: CoalitionMitigatingClausesTypeString | null ; PackageStatus?: CoalitionPackageStatusTypeString | null ; PiiPhi?: boolean | null ; PiiPhiCount?: string | null ; PiiPhiCustomCount?: number | null ; PriorClaims?: boolean | null ; PriorClaimsExplanation?: string | null ; ProfessionalServices?: string | null ; Quotes: Array>; ReviewsContent?: boolean | null ; ServicesByContract?: CoalitionServicesByContractTypeString | null ; SessionToken?: string | null ; TechEoDispute?: boolean | null ; TechEoDisputeExplanation?: string | null ; } export interface CyberRater extends Rater { CoalitionAgencyId?: string | null ; Disclaimer: string; EloquaCampaign?: string | null ; EnableCFC?: boolean; FooterEmailAddress: string; Phone: string; ToolbarTitle: string; } export interface CFCActivityCode { Code: string; Description: string; Id: number; } export interface CFCQuote { CFCQuoteRequest?: Partial | null ; CFCQuoteRequestId: number; Coverages: Array>; CreatedDate: string; Documents: Array>; FinancialSummaryFee?: number | null ; FinancialSummaryPremiumBreakdown?: string | null ; FinancialSummaryTax?: number | null ; /** * @deprecated Premium is already equivalent. Can be removed in any drop migration */ FinancialSummaryTotalPayable?: number | null ; Id: number; PolicyResponse?: string | null ; Premium?: number | null ; QuoteResponse?: string | null ; } export interface CFCQuoteCoverage { Category?: string | null ; CFCQuote?: Partial | null ; CFCQuoteId: number; Deductible?: number | null ; Id: number; Limit?: number | null ; Name?: string | null ; } export interface CFCQuoteDocument { CFCQuote?: Partial | null ; CFCQuoteId: number; Description?: string | null ; DocumentUID?: string | null ; Id: number; URL?: string | null ; } export interface CFCQuoteRequest extends QuoteRequest { ActivityCode?: string | null ; ActivityDisplayName?: string | null ; BindErrorMessage?: string | null ; CompanyName?: string | null ; ContactName?: string | null ; EffectiveDate?: string | null ; EloquaContactId?: number | null ; Email?: string | null ; EmployeeCount?: number | null ; ExpirationDate?: string | null ; FulfillEndDate?: string | null ; FulfillErrorMessage?: string | null ; FulfillStartDate?: string | null ; HasBeenFulfilled?: boolean; HasFulfillBeenRequested?: boolean; HasSelectedQuote?: boolean; IsBound?: boolean | null ; QuoteReference?: number | null ; Quotes: Array>; ScheduleOfInformation?: number | null ; SessionToken?: string | null ; Status?: string | null ; TemplateCode?: string | null ; TemplateDisplayName?: string | null ; TotalRevenue?: string | null ; URL?: string | null ; } export interface CFCRater extends Rater { BrokerEmail: string; Disclaimer: string; EloquaCampaign?: string | null ; FooterEmailAddress: string; Phone: string; ToolbarTitle: string; } export interface Carrier { Id: number; IsActive?: boolean; Name: string; } export interface CarrierError { HartfordQuoteRequest?: Partial | null ; HartfordQuoteRequestId: number; Id: number; Message?: string | null ; Type: HartfordQuoteTypeString; } export interface FenrisLookupRequest { AutoResponse?: Partial | null ; Company?: Partial | null ; CompanyId?: number | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; DriverRecordSearchResponse?: Partial | null ; DriversLicenseResponse?: Partial | null ; HomeResponse?: Partial | null ; Id: number; ProfilePlusResponse?: Partial | null ; RequestCity?: string | null ; RequestDOB?: string | null ; RequestFirstName?: string | null ; RequestLastName?: string | null ; RequestState?: string | null ; RequestStreet1?: string | null ; RequestZip?: string | null ; Type: FenrisLookupRequestTypeString; } export interface QuoteRequest { City?: string | null ; County?: string | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; HasEmailBeenSent?: boolean; Id: number; IsRealCustomerData?: boolean; IsRequote?: boolean; IsTest?: boolean; LastEditedByPerson?: Partial | null ; LastEditedByPersonId?: number | null ; LastEditedDate?: string | null ; PhoneNumber?: string | null ; PreferredContactMethod?: QuoteRequestContactMethodString | null ; Rater?: Partial | null ; RaterId?: number | null ; RemoteIpAddress?: string | null ; RicochetLeadId?: number | null ; State?: string | null ; Street1?: string | null ; Street2?: string | null ; TrackingCode?: string | null ; Zip?: string | null ; } export interface Rater { AccessPeople: Array>; AccessPeopleGroups: Array>; AdminPeople: Array>; AdminPeopleGroups: Array>; AdobeAnalyticUrl?: string | null ; BusinessHoursLine1: string; BusinessHoursLine2: string; GoogleTagManagerId?: string | null ; Id: number; IsActive?: boolean; IsDefault?: boolean; LeavittCompany?: Partial | null ; LeavittCompanyId?: number | null ; MDNeutralColor?: string | null ; MDNeutralVariantColor?: string | null ; MDPrimaryColor?: string | null ; MDSecondaryColor?: string | null ; MDTertiaryColor?: string | null ; Name: string; NotificationEmailAddress?: string | null ; QuoteRequests: Array>; RaterDomains: Array>; RicochetVendorId?: number | null ; SendToEloqua?: boolean; SendToRicochet?: boolean; ToolbarHeight?: LogoHeightTypeString | null ; UniqueId: string; } export interface RaterAdminPeopleGroup { Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; Rater?: Partial | null ; RaterId: number; } export interface RaterAdminPerson { Id: number; Person?: Partial | null ; PersonId: number; Rater?: Partial | null ; RaterId: number; } export interface RaterDomain { Id: number; Rater?: Partial | null ; RaterId: number; Url: string; } export interface RaterToPeopleGroup { Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; Rater?: Partial | null ; RaterId: number; } export interface RaterToPerson { Id: number; Person?: Partial | null ; PersonId: number; Rater?: Partial | null ; RaterId: number; } export interface AdditionalEmailRecipientsToPerson { Id: number; LeavittLegendsCompanySetting?: Partial | null ; LeavittLegendsCompanySettingId: number; Person?: Partial | null ; PersonId: number; } export interface LeavittLegendItem { Category?: Partial | null ; CategoryId: number; CreatedDate: string; Description?: string | null ; Id: number; Images: Array>; IsActive?: boolean; LastModifiedDate?: string | null ; Name: string; Orders: Array>; Price: number; Quantities: Array>; Quantity?: number | null ; ShippingType: ShippingTypeString; TokenItems: Array>; Variations: Array>; } export interface LeavittLegendItemCategory { Description?: string | null ; IconName?: string | null ; Id: number; Items: Array>; Name: string; Sequence: number; } export interface LeavittLegendItemImage extends IDatabaseAttachment { IsPrimary?: boolean; Item?: Partial | null ; ItemId: number; } export interface LeavittLegendItemQuantity { Id: number; IsDisabled?: boolean; Item?: Partial | null ; ItemId: number; Links: Array>; OrderItems: Array>; Quantity?: number | null ; TokenItems: Array>; } export interface LeavittLegendItemQuantityToLeavittLegendItemVariantOption { Id: number; Option?: Partial | null ; OptionId: number; Quantity?: Partial | null ; QuantityId: number; } export interface LeavittLegendItemVariant { Id: number; Item?: Partial | null ; ItemId: number; Name: string; Options: Array>; Sequence: number; } export interface LeavittLegendItemVariantOption { Id: number; Links: Array>; Name: string; Sequence: number; Variant?: Partial | null ; VariantId: number; } export interface LeavittLegendLedgerExistingCredit extends LeavittLegendLedgerItem { ShopifyId?: string | null ; } export interface LeavittLegendLedgerItem { Amount: number; CreatedDate: string; Id: number; IssuedByPerson?: Partial | null ; IssuedByPersonId?: number | null ; ModifiedDate: string; Person?: Partial | null ; PersonId?: number | null ; Summary: string; } export interface LeavittLegendLedgerManualCredit extends LeavittLegendLedgerItem { } export interface LeavittLegendLedgerOrderDebit extends LeavittLegendLedgerItem { Order?: Partial | null ; OrderId: number; } export interface LeavittLegendLedgerServiceCredit extends LeavittLegendLedgerItem { Token?: Partial | null ; TokenId: number; } export interface LeavittLegendOrder { AnniversaryDate?: string | null ; AutomatedOrderSurvey?: Partial | null ; AutomatedOrderToken?: Partial | null ; AutomatedOrderTokenId?: number | null ; City?: string | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Id: number; InPersonDeliveryBuildingNickname?: Partial | null ; InPersonDeliveryBuildingNicknameId?: number | null ; InPersonDeliveryBuildingNicknameName?: string | null ; IsTest?: boolean; Items: Array>; LastItemUpdatedDate?: string | null ; LedgerItems: Array>; Notes?: string | null ; OrderStatus: OrderStatusTypeString; Phone?: string | null ; Recipient?: Partial | null ; RecipientId: number; State?: string | null ; Street1?: string | null ; Street2?: string | null ; Total: number; Zip?: string | null ; } export interface LeavittLegendsAutomatedOrderSurvey { Id: number; LastCompletedDate?: string | null ; NameOnPlaque?: string | null ; NeedsPlaque?: boolean; Order?: Partial | null ; } export interface LeavittLegendsCompanySetting { AdditionalEmailRecipients: Array>; Company?: Partial | null ; Id: number; } export interface LeavittLegendsOrderItem { BackOrderedDate?: string | null ; CancelledByPerson?: Partial | null ; CancelledByPersonId?: number | null ; CancelledDate?: string | null ; DeliveredDate?: string | null ; Id: number; IsTest?: boolean; Item?: Partial | null ; ItemId?: number | null ; ItemStatus: ItemStatusTypeString; ItemVariants: Array>; Name: string; Order?: Partial | null ; OrderId: number; Price: number; ProcessingDate?: string | null ; Quantity?: Partial | null ; QuantityId?: number | null ; ShippedByPerson?: Partial | null ; ShippedByPersonId?: number | null ; ShippedDate?: string | null ; ShippoId?: string | null ; TrackingNumber?: string | null ; TransferredDate?: string | null ; } export interface LeavittLegendsOrderItemVariant { Id: number; Item?: Partial | null ; ItemId: number; Name?: string | null ; Option?: string | null ; } export interface LeavittLegendsTokenItem { Id: number; Item?: Partial | null ; ItemId?: number | null ; Name: string; Quantity?: Partial | null ; QuantityId?: number | null ; SelectedVariants: Array>; Token?: Partial | null ; TokenId: number; } export interface LeavittLegendsTokenItemVariant { Id: number; Item?: Partial | null ; ItemId: number; Name?: string | null ; Option?: string | null ; } export interface LeavittLegendToken { AutomatedOrders: Array>; IconName: string; Id: number; IsActive?: boolean; IssuanceYear: number; Items: Array>; LedgerItems: Array>; Name: string; Value: number; } export interface FitBitIntegration extends LeavittFitIntegration { } export interface FitBitIntegrationToActivity extends LeavittFitIntegrationToActivity { FitBitActivityId: string; } export interface FitnessChallenge { Activities: Array>; AllowInvitedGuests?: boolean; Description: string; DistanceGoal: number; DistanceGoalType: DistanceUnitTypeString; EndDate: string; Icon?: string | null ; Id: number; IsActive?: boolean; IsDev?: boolean; Logo?: Partial | null ; Mark?: Partial | null ; Milestones: Array>; Name: string; Participants: Array>; People: Array>; PeopleGroups: Array>; Prizes: Array>; QualifyingActivities: Array>; StartDate: string; } export interface FitnessChallengeGrandPrize extends FitnessChallengePrize { } export interface FitnessChallengeLogo extends IDatabaseAttachment { Challenge?: Partial | null ; } export interface FitnessChallengeMark extends IDatabaseAttachment { Challenge?: Partial | null ; } export interface FitnessChallengeMilestone { AchievedMilestones: Array>; DistanceGoal: number; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ DistanceGoalUnitType: DistanceUnitTypeString; FitnessChallenge?: Partial | null ; FitnessChallengeId: number; Id: number; MilestonePrizes: Array>; Name: string; } export interface FitnessChallengeMilestonePrize extends FitnessChallengePrize { Milestone?: Partial | null ; MilestoneId: number; } export interface FitnessChallengePrize { Amount?: number | null ; AwardedPrizes: Array>; FitnessChallenge?: Partial | null ; FitnessChallengeId: number; Id: number; NonMonetaryPrizeName?: string | null ; Quantity: number; } export interface FitnessChallengeQualifyingActivity { /** * @deprecated Can be deleted after no longer referenced in live or dev api */ ActivityDistanceUnitType: DistanceUnitTypeString; ActivityTypeDistance: number; ActivityTypes: Array>; Challenge?: Partial | null ; ChallengeId: number; EarnedDistance: number; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ EarnedDistanceUnitType: DistanceUnitTypeString; Icon?: string | null ; Id: number; Name: string; } export interface FitnessChallengeQualifyingActivityType { ActivityType?: Partial | null ; FitnessChallengeQualifyingActivityId: number; Id: number; LeavittFitActivityTypeId: number; QualifyingActivity?: Partial | null ; } export interface FitnessChallengeToPeopleGroup { Challenge?: Partial | null ; ChallengeId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface FitnessChallengeToPerson { Challenge?: Partial | null ; ChallengeId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface GoogleFitIntegration extends LeavittFitIntegration { ShouldSyncWeight?: boolean; } export interface GoogleFitIntegrationToActivity extends LeavittFitIntegrationToActivity { GoogleActivityId: string; } export interface GoogleHealthIntegration extends LeavittFitIntegration { } export interface GoogleHealthIntegrationToActivity extends LeavittFitIntegrationToActivity { GoogleActivityId: string; } export interface LeavittFitAchievedMilestone { Caption?: string | null ; Date: string; Id: number; LeavittFitChallengeParticipantId: number; Milestone?: Partial | null ; MilestoneId: number; Participant?: Partial | null ; Selfie?: Partial | null ; } export interface LeavittFitAchievedMilestoneSelfie extends IDatabaseAttachment { AchievedMilestone?: Partial | null ; } export interface LeavittFitActivity { Activity?: string | null ; ActivityDate: string; ActivityType?: Partial | null ; Challenges: Array>; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ Date: string; DeletedById?: number | null ; DeletedDate?: string | null ; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ Distance?: number | null ; DistanceKm?: number | null ; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ DistanceUnit?: string | null ; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ DistanceUnitType?: DistanceUnitTypeString | null ; DurationInSeconds: number; Id: number; IntegrationToActivity?: Partial | null ; IsDeleted?: boolean; LastEditedById?: number | null ; LastEditedDate: string; LeavittFitActivityTypeId?: number | null ; LeavittFitPersonRoleId: number; PersonRole?: Partial | null ; } export interface LeavittFitActivityToChallenge { Activity?: Partial | null ; ActivityId: number; Challenge?: Partial | null ; ChallengeId: number; Id: number; } export interface LeavittFitActivityType { Activities: Array>; GoogleHealthId?: string | null ; Icon?: string | null ; Id: number; /** * @deprecated Can be deleted after no longer referenced in live or dev api */ IsArchived?: boolean; Name: string; QualifyingActivityTypes: Array>; } export interface LeavittFitAwardedPrize { Date: string; FitnessChallengePrizeId: number; Id: number; LeavittFitChallengeParticipantId: number; Participant?: Partial | null ; Prize?: Partial | null ; } export interface LeavittFitChallengeParticipant { AwardedPrizes: Array>; Challenge?: Partial | null ; ChallengeId: number; EarnedDistance: number; Id: number; Milestones: Array>; Person?: Partial | null ; PersonId: number; Rank: number; } export interface LeavittFitIntegration { AccountName?: string | null ; CreatedDate: string; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastSyncDate?: string | null ; LeavittFitIntegrationToActivities: Array>; LeavittFitPersonRoleId: number; PersonRole?: Partial | null ; Status: LeavittFitIntegrationStatusString; UnauthorizedReminderEmailSentDate?: string | null ; } export interface LeavittFitIntegrationToActivity { Activity?: Partial | null ; Id: number; Integration?: Partial | null ; IntegrationId: number; } export interface LeavittFitInvitee { AcceptedDate?: string | null ; Email: string; FirstName: string; Id: number; InviteePerson?: Partial | null ; InviteePersonId?: number | null ; InviteLastSentDate?: string | null ; Inviter?: Partial | null ; InviterPersonRoleId: number; InvitesSent: number; LastName: string; Relationship: string; SentDate: string; } export interface LeavittFitMemberWeight { Date: string; Id: number; LeavittFitPersonRoleId: number; PersonRole?: Partial | null ; WeightInPounds: number; } export interface LeavittFitPersonRole extends PersonRole { Activities: Array>; Integrations: Array>; LeavittFitInvitees: Array>; MemberWeights: Array>; PreferredDistanceUnitType?: DistanceUnitTypeString | null ; } export interface LeavittFitSetting { Id: number; QualificationMinutesPerMonth: number; StartDate: string; } export interface CompanyLease { CalendarInviteId?: string | null ; CompanyAddress?: Partial | null ; CompanyLeaseAttachments: Array>; HoldoverPercentage?: number | null ; Id: number; LandlordType?: LandlordTypeString | null ; LastReviewedBy?: Partial | null ; LastReviewedById?: number | null ; LastReviewedDate?: string | null ; LeaseExpirationDate?: string | null ; LeaseType?: LeaseTypeString | null ; Notes?: string | null ; RenewalDate?: string | null ; SquareFootage?: number | null ; } export interface CompanyLeaseAttachment extends IDatabaseAttachment { CompanyLease?: Partial | null ; CompanyLeaseId: number; EndDate?: string | null ; IsExpired?: boolean; IsScanned?: boolean; StartDate: string; } export interface CompanyLeaseNotification { Company?: Partial | null ; EnableOutlookExpirationCalendarEvents?: boolean; EnablePostExpirationDailyNotifications?: boolean; EnablePreExpirationDailyNotification?: boolean; Id: number; PreExpirationNotifications: LeasePreExpirationNotificationOptionsString; } export interface Issue { Attachments: Array>; CreatedDate: string; Description?: string | null ; GitHubLink?: string | null ; Id: number; IsResolved?: boolean; IssueType: IssueTypeString; PathName?: string | null ; Person?: Partial | null ; PersonId: number; SiteName?: string | null ; } export interface IssueAttachment extends IDatabaseAttachment { Issue?: Partial | null ; IssueId: number; } export interface Form { AllowPublicResponses?: boolean; AnalyticsId?: string | null ; AppNeutralColor?: string | null ; AppNeutralVariantColor?: string | null ; AppPrimaryColor?: string | null ; AppSecondaryColor?: string | null ; AppTertiaryColor?: string | null ; AudiencePeople: Array>; AudiencePeopleGroup: Array>; Companies: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; CrmLeadOwnerPerson?: Partial | null ; CrmLeadOwnerPersonId?: number | null ; Description?: string | null ; ExportLeadToCrm?: boolean; ExportToLeavittMessages?: boolean; FormToMessagesCampaigns: Array>; Id: number; IsActive?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name: string; NotifyeePeople: Array>; NotifyeePeopleGroup: Array>; Questions: Array>; Responses: Array>; UniqueId: string; } export interface FormQuestion extends IFormQuestion { CrmLeadPropertyName?: string | null ; FollowUpQuestions: Array>; Form?: Partial
| null ; FormId: number; Guid: string; IsActive?: boolean; LeavittMessagesPropertyName?: string | null ; MaxSubResponses?: number | null ; MinSubResponses?: number | null ; Options: Array>; PrerequisiteQuestion?: Partial | null ; PrerequisiteQuestionGuid?: string | null ; PrerequisiteQuestionId?: number | null ; PrerequisiteValue?: string | null ; QuestionResponses: Array>; SubQuestionNoun?: string | null ; SubQuestions: Array>; Type: FormQuestionTypeString; } export interface FormQuestionOption extends IFormQuestionOption { Question?: Partial | null ; QuestionId: number; } export interface FormQuestionResponse extends IFormQuestionResponse { FormQuestionId: number; FormResponseId: number; Question?: Partial | null ; Response?: Partial | null ; SubQuestionResponses: Array>; } export interface FormResponse { Campaign?: string | null ; CreatedDate: string; Form?: Partial | null ; FormId: number; Id: number; IP?: string | null ; Person?: Partial | null ; PersonId?: number | null ; QuestionResponses: Array>; } export interface FormSubQuestion extends IFormQuestion { FollowUpSubQuestions: Array>; FormQuestionId: number; Guid: string; IsActive?: boolean; Options: Array>; ParentQuestion?: Partial | null ; PrerequisiteSubQuestion?: Partial | null ; PrerequisiteSubQuestionGuid?: string | null ; PrerequisiteSubQuestionId?: number | null ; PrerequisiteValue?: string | null ; Responses: Array>; Type: FormSubQuestionTypeString; } export interface FormSubQuestionOption extends IFormQuestionOption { SubQuestion?: Partial | null ; SubQuestionId: number; } export interface FormSubQuestionResponse extends IFormQuestionResponse { FormSubQuestionId: number; ParentQuestionResponse?: Partial | null ; ParentQuestionResponseId: number; Sequence: number; SubQuestion?: Partial | null ; } export interface FormToAudiencePeopleGroup { Form?: Partial | null ; FormId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface FormToAudiencePerson { Form?: Partial | null ; FormId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface FormToCompany { Company?: Partial | null ; CompanyId: number; Form?: Partial | null ; FormId: number; Id: number; } export interface FormToMessagesCampaign { Form?: Partial | null ; FormId: number; Id: number; MessagesCampaign?: Partial | null ; MessagesCampaignId: number; } export interface FormToNotifyeePeopleGroup { Form?: Partial | null ; FormId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface FormToNotifyeePerson { Form?: Partial | null ; FormId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface IFormQuestion { AriaLabel?: string | null ; Autocomplete?: string | null ; Id: number; IsRequired?: boolean; Placeholder?: string | null ; Sequence: number; SupportingText?: string | null ; Text?: string | null ; } export interface IFormQuestionOption { AllowFreeFormResponse?: boolean; Id: number; Sequence: number; Text?: string | null ; } export interface IFormQuestionResponse { AnswerText?: string | null ; Id: number; } export interface ExpenseBudget { Amount?: number | null ; BudgetAdjustments: Array>; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; ExpenseBudgetUserSettings: Array>; ExpenseItems: Array>; IconName: string; Id: number; Name: string; SharedWithPeople: Array>; SharedWithPeopleGroups: Array>; } export interface ExpenseBudgetAdjustment { Amount: number; Budget?: Partial | null ; BudgetId: number; CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; Description: string; Id: number; PurchaseDate: string; } export interface ExpenseBudgetToPeopleGroup { ExpenseBudget?: Partial | null ; ExpenseBudgetId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface ExpenseBudgetToPerson { ExpenseBudget?: Partial | null ; ExpenseBudgetId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface ExpenseBudgetUserSetting { Active?: boolean; ExpenseBudget?: Partial | null ; ExpenseBudgetId: number; Id: number; IsRejected?: boolean; Person?: Partial | null ; PersonId: number; ShowOnDashboard?: boolean; } export interface ExpenseCashItem extends ExpenseItem { Category?: Partial | null ; ExpenseCategoryId?: number | null ; Image?: Partial | null ; Merchant?: string | null ; } export interface ExpenseCashItemImage extends IDatabaseAttachment { ExpenseCashItem?: Partial | null ; } export interface ExpenseCategory { Id: number; IsActive?: boolean; Items: Array>; Name?: string | null ; } export interface ExpenseForm { ApprovedByPerson?: Partial | null ; ApprovedByPersonId?: number | null ; ApprovedDate?: string | null ; CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; DeletedDate?: string | null ; Id: number; IsDeleted?: boolean; Items: Array>; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; PaidByPerson?: Partial | null ; PaidByPersonId?: number | null ; PaidDate?: string | null ; RejectedDate?: string | null ; RejectedReason?: string | null ; RequestedApprover?: Partial | null ; RequestedApproverId?: number | null ; RequestedPayer?: Partial | null ; RequestedPayerId?: number | null ; Status: ExpenseStatusString; SubmittedDate?: string | null ; SupplementalDocuments: Array>; Total: number; } export interface ExpenseFormSupplementalDocument extends IDatabaseAttachment { ExpenseForm?: Partial | null ; ExpenseFormId: number; } export interface ExpenseItem { Amount?: number | null ; BillToCompany?: Partial | null ; BillToCompanyId?: number | null ; BillToDepartment?: Partial | null ; BillToDepartmentId?: number | null ; CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Date: string; Description?: string | null ; ExpenseBudgets: Array>; ExpenseForm?: Partial | null ; ExpenseFormId?: number | null ; Id: number; } export interface ExpenseItemToExpenseBudget { ExpenseBudget?: Partial | null ; ExpenseBudgetId: number; ExpenseItem?: Partial | null ; ExpenseItemId: number; Id: number; } export interface ExpenseMileageItem extends ExpenseItem { Miles: number; } export interface MileageRate { CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Id: number; Rate: number; } export interface SupplementalApprover { Approver?: Partial | null ; ApproverId: number; CreatedBy?: Partial | null ; CreatedById?: number | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; Submitter?: Partial | null ; SubmitterId: number; } export interface QuarterlyMeetingQuestion { CreatedDate?: string | null ; Id: number; Person?: Partial | null ; PersonId?: number | null ; PrivacyOption: QuarterlyMeetingQuestionPrivacyOptionString; Question: string; } export interface Activity { CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedByPersonName?: string | null ; CreatedDate?: string | null ; Data: Array>; Description?: string | null ; Id: number; OnBehalfOfAgencyName?: string | null ; PersonAffected?: Partial | null ; PersonAffectedId?: number | null ; PersonAffectedName?: string | null ; Requestor?: Partial | null ; RequestorId?: number | null ; RequestorName?: string | null ; Type?: string | null ; } export interface ActivityData { Activity?: Partial | null ; ActivityId: number; Id: number; Key?: string | null ; Value?: string | null ; } export interface Signature { Id: number; Name?: string | null ; Person?: Partial | null ; PersonId: number; SignaturePhotoAttachment?: Partial | null ; SignaturePhotoAttachmentId?: number | null ; SignatureTemplate?: Partial | null ; SignatureTemplateId: number; SignatureValues: Array>; UpdatedDate?: string | null ; } export interface SignaturePhotoAttachment extends IDatabaseAttachment { Signature?: Partial | null ; } export interface SignatureTemplate { CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; Id: number; IsActive?: boolean; IsAvailableToAll?: boolean; Name?: string | null ; Signatures: Array>; SignatureTemplateThumbnail?: Partial | null ; SignatureTemplateToCompanies: Array>; TemplateWebComponentName?: string | null ; } export interface SignatureTemplateThumbnail extends IDatabaseAttachment { SignatureTemplate?: Partial | null ; } export interface SignatureTemplateToCompany { Company?: Partial | null ; CompanyId: number; Id: number; SignatureTemplate?: Partial | null ; SignatureTemplateId: number; } export interface SignatureValue { Id: number; Key?: string | null ; Signature?: Partial | null ; SignatureId: number; Value?: string | null ; } /** * @deprecated Use new models in Academy schema. */ export interface CourseAdmin { Course?: Partial | null ; CourseId: number; CreatorPerson?: Partial | null ; CreatorPersonId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Person?: Partial | null ; PersonId: number; StartDate: string; } /** * @deprecated Use new models in Academy schema. */ export interface CourseAdminPeopleGroup { Course?: Partial | null ; CourseId: number; CreatorPerson?: Partial | null ; CreatorPersonId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; PeopleGroup?: Partial | null ; PeopleGroupId: number; StartDate: string; } /** * @deprecated Use new models in Academy schema. */ export interface CourseCategory { CourseToCategories: Array>; Description?: string | null ; Id: number; Image?: Partial | null ; Name?: string | null ; Sequence: number; } /** * @deprecated Use new models in Academy schema. */ export interface CourseParticipantStatus { CompletedDate?: string | null ; Course?: Partial | null ; CourseId: number; Id: number; IsCompleted?: boolean; PercentageComplete: number; Person?: Partial | null ; PersonId: number; } /** * @deprecated Use new models in Academy schema. */ export interface EducationAnswer { AnswerKey: Partial; CreatedDate: string; CreatorPerson: Partial; CreatorPersonId: number; Id: number; LastModifiedByPerson: Partial; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Question: Partial; QuestionId: number; Sequence: number; Text: string; } /** * @deprecated Use new models in Academy schema. */ export interface EducationAnswerKey { Answer: Partial; Id: number; IsCorrect?: boolean; } /** * @deprecated Use new models in Academy schema. */ export interface EducationChangeLog { Course?: Partial | null ; CreatedBy?: Partial | null ; CreatedById?: number | null ; Date?: string | null ; Description: string; EducationCourseId?: number | null ; EducationJourneyId?: number | null ; EducationLessonId?: number | null ; Id: number; Journey?: Partial | null ; Lesson?: Partial | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationCourse { ChangeLogs: Array>; CompletionCertificateId?: number | null ; CourseAdminPeopleGroups: Array>; CourseAdmins: Array>; CourseParticipantStatuses: Array>; CourseToCategories: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Description?: string | null ; EnableCertificates?: boolean; FeaturedImageId?: number | null ; Id: number; Image?: Partial | null ; IsActive?: boolean; IsDevelopment?: boolean; IssuedCertificates: Array>; IsValid?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Lessons: Array>; Reviewable?: boolean; ShortDescription?: string | null ; Title?: string | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationCourseCategoryImage extends IDatabaseAttachment { CourseCategory?: Partial | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationCourseImage extends IDatabaseAttachment { Course?: Partial | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationCourseToCategory { Category?: Partial | null ; CategoryId: number; Course?: Partial | null ; CourseId: number; Id: number; Sequence: number; } /** * @deprecated Use new models in Academy schema. */ export interface EducationIssuedCertificate { Course?: Partial | null ; CourseId?: number | null ; CourseName?: string | null ; Date: string; Id: number; Journey?: Partial | null ; JourneyId?: number | null ; JourneyName?: string | null ; LessonCount: number; Person?: Partial | null ; PersonId?: number | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationJourney { ChangeLogs: Array>; DaysToComplete?: number | null ; Description?: string | null ; EffectiveMembers: Array>; EnableCertificates?: boolean; Id: number; Image?: Partial | null ; IsActive?: boolean; IsDevelopment?: boolean; IssuedCertificates: Array>; IsValid?: boolean; JourneyItems: Array>; /** * @deprecated Use JourneyLesson instead */ Lessons: Array>; MemberPeople: Array>; MemberPeopleGroups: Array>; Name: string; OverdueEmailOffsetInDays?: number | null ; ReminderNoticeInDays1?: number | null ; ReminderNoticeInDays2?: number | null ; ReminderNoticeInDays3?: number | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationJourneyImage extends IDatabaseAttachment { Journey?: Partial | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationJourneyMemberToPeopleGroup { Id: number; Journey: Partial; JourneyId: number; OnlyMembersAfterDate?: string | null ; PeopleGroup: Partial; PeopleGroupId: number; } /** * @deprecated Use new models in Academy schema. */ export interface EducationJourneyMemberToPerson { Id: number; Journey: Partial; JourneyId: number; Person: Partial; PersonId: number; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLesson { ChangeLogs: Array>; Course?: Partial | null ; CourseId: number; CreatorPerson?: Partial | null ; CreatorPersonId: number; Description?: string | null ; Files: Array>; Id: number; Image?: Partial | null ; IsValid?: boolean; JourneyItems: Array>; /** * @deprecated Use JourneyLesson instead */ Journeys: Array>; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; LessonAssets: Array>; LessonParticipantActivities: Array>; LessonParticipantStatuses: Array>; Links: Array>; Name?: string | null ; PassingPercentage: number; Questions: Array>; Sequence: number; Services: Array>; ThirdPartyKey?: string | null ; VideoLength?: string | null ; YoutubeVideoKey?: string | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLessonActivity { Date: string; FileId?: number | null ; Id: number; Lesson?: Partial | null ; LessonId: number; Person?: Partial | null ; PersonId: number; Type: EducationLessonActivityTypeString; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLessonAsset extends IDatabaseAttachment { Lesson?: Partial | null ; LessonId: number; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLessonFile extends IDatabaseAttachment { Lesson?: Partial | null ; LessonId?: number | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLessonImage extends IDatabaseAttachment { Lesson?: Partial | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLessonLink { EducationLessonId: number; Id: number; Lesson?: Partial | null ; Link?: string | null ; Name?: string | null ; } /** * @deprecated Use new models in Academy schema. */ export interface EducationLessonToJourney { CreatedDate: string; Id: number; Journey?: Partial | null ; JourneyId: number; Lesson?: Partial | null ; LessonId: number; Sequence: number; } /** * @deprecated Use new models in Academy schema. */ export interface EducationQuestion { Answers: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Lesson?: Partial | null ; LessonId: number; Sequence: number; Text?: string | null ; Type: QuestionTypeString; } /** * @deprecated Use new models in Academy schema. */ export interface EffectiveMemberToJourney { CompletedDate?: string | null ; CreatedDate: string; DueDate?: string | null ; Id: number; IsDueDateOverridden?: boolean; Journey?: Partial | null ; JourneyId: number; OverdueEmailSentDate?: string | null ; PercentComplete: number; Person?: Partial | null ; PersonId: number; ReminderNoticeSent1?: string | null ; ReminderNoticeSent2?: string | null ; ReminderNoticeSent3?: string | null ; } /** * @deprecated Use new models in Academy schema. */ export interface JourneyCategory extends JourneyItem { Name: string; } /** * @deprecated Use new models in Academy schema. */ export interface JourneyItem { CreatedDate: string; Id: number; Journey?: Partial | null ; JourneyId: number; Sequence: number; } /** * @deprecated Use new models in Academy schema. */ export interface JourneyLesson extends JourneyItem { Lesson?: Partial | null ; LessonId: number; } /** * @deprecated Use new models in Academy schema. */ export interface LessonParticipantStatus { ActivityDate: string; Attempts: number; AttemptStatus: LessonAttemptStatusString; GradePercentage: number; Id: number; Lesson?: Partial | null ; LessonId: number; Person?: Partial | null ; PersonId: number; TimeToFail?: string | null ; TimeToPass?: string | null ; TimeWatched?: string | null ; } /** * @deprecated Use new models in Academy schema. */ export interface ManagedCourse extends EducationCourse { BaseUri?: string | null ; } export interface BulkImport { CompletedDate?: string | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; FailureDate?: string | null ; FailureReason?: string | null ; Failures: Array>; FileName?: string | null ; Id: number; OwnerPerson?: Partial | null ; OwnerPersonId: number; RecordCount: number; SuccessCount: number; } export interface BulkImportFailure { AccountName?: string | null ; AnnualSales?: string | null ; BulkImport?: Partial | null ; BulkImportId: number; BusinessPhone?: string | null ; Carrier?: string | null ; City?: string | null ; ContactFirstName?: string | null ; ContactLastName?: string | null ; Description?: string | null ; DoNotContactByEmail?: boolean; DoNotContactByPhone?: boolean; DoNotContactOrigin?: string | null ; DuplicateFieldType?: DuplicateFieldTypeString | null ; Email?: string | null ; EMod?: string | null ; ErrorMessage?: string | null ; EstimatedRevenue?: string | null ; FollowUpDate?: string | null ; Id: number; IsDuplicate?: boolean; JobTitle?: string | null ; LeadSource?: string | null ; MobilePhone?: string | null ; NAICSNumber?: string | null ; NoOfVehicles?: string | null ; NumberOfEmployees?: string | null ; Rating?: string | null ; SICCode?: string | null ; State?: string | null ; Street1?: string | null ; Street2?: string | null ; Topic?: string | null ; Website?: string | null ; XDate?: string | null ; Zip?: string | null ; } export interface DuplicateSearchLog { AccountName: string; City?: string | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; Email?: string | null ; FirstName?: string | null ; Id: number; LastName?: string | null ; Phone?: string | null ; SearchResult: string; State?: string | null ; Street?: string | null ; Zip?: string | null ; } export interface DocugamiAccount { BenefitPointId?: number | null ; Company?: Partial | null ; CompanyId: number; CreatedBy?: Partial | null ; CreatedById?: number | null ; CreatedDate: string; Documents: Array>; Id: number; LastUpdatedDate?: string | null ; Name: string; SoldPlans: Array>; UpdatedBy?: Partial | null ; UpdatedById?: number | null ; } export interface DocugamiArtifact { ArtifactId?: string | null ; ArtifactVersion?: string | null ; Document?: Partial | null ; DocumentId: number; HasProcessed?: boolean; Id: number; ProjectId?: string | null ; } export interface DocugamiDocument extends IDatabaseAttachment { Account?: Partial | null ; AccountId: number; Artifacts: Array>; CreatedBy?: Partial | null ; CreatedById?: number | null ; DocugamiDocumentId?: string | null ; ModifiedDate?: string | null ; ProcessedQuote: Array>; UpdatedBy?: Partial | null ; UpdatedById?: number | null ; } export interface SoldPlan { Account?: Partial | null ; AccountId: number; BenefitPointCarrierId?: number | null ; BenefitPointCarrierName?: string | null ; BenefitPointId?: number | null ; CommissionDate: string; CreatedDate: string; EffectiveDate: string; Id: number; Name?: string | null ; PolicyNumber?: string | null ; ProcessedQuote?: Partial | null ; ProcessedQuoteId?: number | null ; ProductType?: string | null ; RenewalDate: string; } export interface AccidentQuote extends DocugamiProcessedQuote { Ambulance?: string | null ; BeneReductionDueToAge?: string | null ; Contributions?: string | null ; CoverageType?: string | null ; Dislocations?: string | null ; EmergMedExpense?: string | null ; Fractures?: string | null ; HospConfinement?: string | null ; MonthlyPremium2P?: number | null ; MonthlyPremiumEC?: number | null ; MonthlyPremiumEC2Plus?: number | null ; MonthlyPremiumEE?: number | null ; MonthlyPremiumFam?: number | null ; NumberofEE?: string | null ; OfferedPlan?: string | null ; ParticipationReq?: string | null ; Portability?: string | null ; RateGuarantee?: string | null ; ReimbMethod?: string | null ; SportsAccRider?: string | null ; WellnessBene?: string | null ; XRay?: string | null ; } export interface CriticalIllnessQuote extends DocugamiProcessedQuote { Age25to29PremiumPer1000?: number | null ; Age30to34PremiumPer1000?: number | null ; Age35to39PremiumPer1000?: number | null ; Age40to44PremiumPer1000?: number | null ; Age45to49PremiumPer1000?: number | null ; Age50to54PremiumPer1000?: number | null ; Age55to59PremiumPer1000?: number | null ; Age60to64PremiumPer1000?: number | null ; BenefitReductionTerm?: string | null ; BeneReductionTerm?: string | null ; CCIBAlzheimers?: string | null ; CCIBAmyLateralSclerosis?: string | null ; CCIBBenignBrainTumor?: string | null ; CCIBCancerInvasive?: string | null ; CCIBCancerNonInvasive?: string | null ; CCIBCancerSkin?: string | null ; CCIBCardiacArrest?: string | null ; CCIBCardioBypass?: string | null ; CCIBCerebralPalsy?: string | null ; CCIBCleftLipPalate?: string | null ; CCIBComa?: string | null ; CCIBCysticFibrosis?: string | null ; CCIBDiabetesType1?: string | null ; CCIBDiphteria?: string | null ; CCIBDownSyndrome?: string | null ; CCIBEncephalitis?: string | null ; CCIBHeartAttack?: string | null ; CCIBKidneyFailure?: string | null ; CCIBLegionnaires?: string | null ; CCIBLossSpeechHearingSight?: string | null ; CCIBLupusEryth?: string | null ; CCIBMalaria?: string | null ; CCIBMeningitis?: string | null ; CCIBMultiSclerosis?: string | null ; CCIBMuscDystrophy?: string | null ; CCIBNecroFasciitis?: string | null ; CCIBOrganTransplant?: string | null ; CCIBOsteomyelitis?: string | null ; CCIBParalysisTwoPlusLimbs?: string | null ; CCIBParkinsons?: string | null ; CCIBRabies?: string | null ; CCIBSevereBurn?: string | null ; CCIBSickleAnemia?: string | null ; CCIBSpinaBifida?: string | null ; CCIBStroke?: string | null ; CCIBTetanus?: string | null ; CCIBTuberculosis?: string | null ; CCRBAlzheimers?: string | null ; CCRBAmyLateralSclerosis?: string | null ; CCRBBenignBrainTumor?: string | null ; CCRBCancerInvasive?: string | null ; CCRBCancerNonInvasive?: string | null ; CCRBCancerSkin?: string | null ; CCRBCardiacArrest?: string | null ; CCRBCardioBypass?: string | null ; CCRBCerebralPalsy?: string | null ; CCRBCleftLipPalate?: string | null ; CCRBComa?: string | null ; CCRBCysticFibrosis?: string | null ; CCRBDiabetesType1?: string | null ; CCRBDiphteria?: string | null ; CCRBDownSyndrome?: string | null ; CCRBEncephalitis?: string | null ; CCRBHeartAttack?: string | null ; CCRBKidneyFailure?: string | null ; CCRBLegionnaires?: string | null ; CCRBLossSpeechHearingSight?: string | null ; CCRBLupusEryth?: string | null ; CCRBMalaria?: string | null ; CCRBMeningitis?: string | null ; CCRBMultiSclerosis?: string | null ; CCRBMuscDystrophy?: string | null ; CCRBNecroFasciitis?: string | null ; CCRBOrganTransplant?: string | null ; CCRBOsteomyelitis?: string | null ; CCRBParalysisTwoPlusLimbs?: string | null ; CCRBParkinsons?: string | null ; CCRBRabies?: string | null ; CCRBSevereBurn?: string | null ; CCRBSickleAnemia?: string | null ; CCRBSpinaBifida?: string | null ; CCRBStroke?: string | null ; CCRBTetanus?: string | null ; CCRBTuberculosis?: string | null ; CoveredConditions?: string | null ; DependentCoverage?: string | null ; GuaranteedIssue?: string | null ; HowBenefitsPay?: string | null ; IncrementOpt1?: string | null ; IncrementOpt2?: string | null ; Increments?: string | null ; OfferedPlan?: string | null ; Over70PremiumPer1000?: number | null ; ParticipationReq?: string | null ; Portability?: string | null ; PreExistingConditions?: string | null ; PremiumBasis?: string | null ; PremiumsPer100025to29Inc1?: number | null ; PremiumsPer100025to29Inc2?: number | null ; PremiumsPer100025to29Inc3?: number | null ; PremiumsPer100030to34Inc1?: number | null ; PremiumsPer100030to34Inc2?: number | null ; PremiumsPer100030to34Inc3?: number | null ; PremiumsPer100035to39Inc1?: number | null ; PremiumsPer100035to39Inc2?: number | null ; PremiumsPer100035to39Inc3?: number | null ; PremiumsPer100040to44Inc1?: number | null ; PremiumsPer100040to44Inc2?: number | null ; PremiumsPer100040to44Inc3?: number | null ; PremiumsPer100045to49Inc1?: number | null ; PremiumsPer100045to49Inc2?: number | null ; PremiumsPer100045to49Inc3?: number | null ; PremiumsPer100050to54Inc1?: number | null ; PremiumsPer100050to54Inc2?: number | null ; PremiumsPer100050to54Inc3?: number | null ; PremiumsPer100055to59Inc1?: number | null ; PremiumsPer100055to59Inc2?: number | null ; PremiumsPer100055to59Inc3?: number | null ; PremiumsPer100060to64Inc1?: number | null ; PremiumsPer100060to64Inc2?: number | null ; PremiumsPer100060to64Inc3?: number | null ; PremiumsPer100065to69Inc1?: number | null ; PremiumsPer100065to69Inc2?: number | null ; PremiumsPer100065to69Inc3?: number | null ; PremiumsPer100070to74Inc1?: number | null ; PremiumsPer100070to74Inc2?: number | null ; PremiumsPer100070to74Inc3?: number | null ; PremiumsPer100075to79Inc1?: number | null ; PremiumsPer100075to79Inc2?: number | null ; PremiumsPer100075to79Inc3?: number | null ; PremiumsPer100080to84Inc1?: number | null ; PremiumsPer100080to84Inc2?: number | null ; PremiumsPer100080to84Inc3?: number | null ; PremiumsPer100085plusInc1?: number | null ; PremiumsPer100085plusInc2?: number | null ; PremiumsPer100085plusInc3?: number | null ; PremiumsPer1000Spouse25to29Inc1?: number | null ; PremiumsPer1000Spouse25to29Inc2?: number | null ; PremiumsPer1000Spouse25to29Inc3?: number | null ; PremiumsPer1000Spouse30to34Inc1?: number | null ; PremiumsPer1000Spouse30to34Inc2?: number | null ; PremiumsPer1000Spouse30to34Inc3?: number | null ; PremiumsPer1000Spouse35to39Inc1?: number | null ; PremiumsPer1000Spouse35to39Inc2?: number | null ; PremiumsPer1000Spouse35to39Inc3?: number | null ; PremiumsPer1000Spouse40to44Inc1?: number | null ; PremiumsPer1000Spouse40to44Inc2?: number | null ; PremiumsPer1000Spouse40to44Inc3?: number | null ; PremiumsPer1000Spouse45to49Inc1?: number | null ; PremiumsPer1000Spouse45to49Inc2?: number | null ; PremiumsPer1000Spouse45to49Inc3?: number | null ; PremiumsPer1000Spouse50to54Inc1?: number | null ; PremiumsPer1000Spouse50to54Inc2?: number | null ; PremiumsPer1000Spouse50to54Inc3?: number | null ; PremiumsPer1000Spouse55to59Inc1?: number | null ; PremiumsPer1000Spouse55to59Inc2?: number | null ; PremiumsPer1000Spouse55to59Inc3?: number | null ; PremiumsPer1000Spouse60to64Inc1?: number | null ; PremiumsPer1000Spouse60to64Inc2?: number | null ; PremiumsPer1000Spouse60to64Inc3?: number | null ; PremiumsPer1000Spouse65to69Inc1?: number | null ; PremiumsPer1000Spouse65to69Inc2?: number | null ; PremiumsPer1000Spouse65to69Inc3?: number | null ; PremiumsPer1000Spouse70to74Inc1?: number | null ; PremiumsPer1000Spouse70to74Inc2?: number | null ; PremiumsPer1000Spouse70to74Inc3?: number | null ; PremiumsPer1000Spouse75to79Inc1?: number | null ; PremiumsPer1000Spouse75to79Inc2?: number | null ; PremiumsPer1000Spouse75to79Inc3?: number | null ; PremiumsPer1000Spouse80to84Inc1?: number | null ; PremiumsPer1000Spouse80to84Inc2?: number | null ; PremiumsPer1000Spouse80to84Inc3?: number | null ; PremiumsPer1000Spouse85plusInc1?: number | null ; PremiumsPer1000Spouse85plusInc2?: number | null ; PremiumsPer1000Spouse85plusInc3?: number | null ; PremiumsPer1000SpouseUnder25Inc1?: number | null ; PremiumsPer1000SpouseUnder25Inc2?: number | null ; PremiumsPer1000SpouseUnder25Inc3?: number | null ; PremiumsPer1000under25Inc1?: number | null ; PremiumsPer1000under25Inc2?: number | null ; PremiumsPer1000under25Inc3?: number | null ; RateGuarantee?: string | null ; RecurrenceBenefit?: string | null ; ReoccurBenefit?: string | null ; SpouseCoverage?: string | null ; Sub25PremiumPer1000?: number | null ; WellnessBene?: string | null ; } export interface DentalQuote extends DocugamiProcessedQuote { AdminFees?: string | null ; AnnualMax?: string | null ; Basic?: string | null ; DeductibleFam?: number | null ; DeductibleInd?: number | null ; Endodontics?: string | null ; Implants?: string | null ; Major?: string | null ; MonthlyPremium2P?: number | null ; MonthlyPremiumEC?: number | null ; MonthlyPremiumEC2Plus?: number | null ; MonthlyPremiumEE?: number | null ; MonthlyPremiumFam?: number | null ; Network?: string | null ; OfferedPlan?: string | null ; OralSurgery?: string | null ; OrthoAdultCover?: string | null ; OrthoChildU19Cover?: string | null ; OrthoDeductible?: string | null ; OrthoLifetimeMax?: string | null ; ParticipationReq?: string | null ; Periodontics?: string | null ; PreventativeDiag?: string | null ; RateGuarantee?: string | null ; UCRPercentile?: string | null ; VolEmpPaidOption?: string | null ; WaitingBasic?: string | null ; WaitingMajor?: string | null ; WaitingOrtho?: string | null ; WaitingPreventative?: string | null ; } export interface DocugamiProcessedQuote { CreatedDate: string; Document?: Partial | null ; DocumentId: number; Id: number; SoldQuotePlan?: Partial | null ; } export interface HospitalQuote extends DocugamiProcessedQuote { BeneReductionDueToAge?: string | null ; DrugAlcoholBene?: string | null ; DrugAlcoholLimit?: string | null ; DrugsAlcohol?: string | null ; HospAdmission?: string | null ; HospAdmissionBene?: string | null ; HospAdmissionFreq?: string | null ; HospConfine?: string | null ; HospConfineBene?: string | null ; HospConfineLimit?: string | null ; HospIntenCareBene?: string | null ; MaternityBene?: string | null ; MaternityWaitPeriod?: string | null ; MentalDisorderBene?: string | null ; MentalDisorderLimit?: string | null ; MentalNervousDisorder?: string | null ; MonthlyPremium2P?: number | null ; MonthlyPremiumEC?: number | null ; MonthlyPremiumEC2Plus?: number | null ; MonthlyPremiumEE?: number | null ; MonthlyPremiumFam?: number | null ; OfferedPlan?: string | null ; ParticipationReq?: string | null ; Portability?: string | null ; PreExistingConditions?: string | null ; RateGuarantee?: string | null ; RehabFacilityBene?: string | null ; } export interface MedicalQuote extends DocugamiProcessedQuote { AdultRoutineEyeExam?: string | null ; Chiropractic?: string | null ; CoinsuranceCarrier?: string | null ; CoinsuranceMember?: string | null ; DedEmbedded?: string | null ; DeductibleFam?: number | null ; DeductibleInd?: number | null ; EmergencyRoom?: string | null ; Funding?: string | null ; HospOutpatientSurgery?: string | null ; InpatientHospPhysicians?: string | null ; InpatientMHCD?: string | null ; MajorLabDiagnostics?: string | null ; MentalHealthChemDependency?: string | null ; MinorLabDiagnostics?: string | null ; MonthlyPremium2P?: number | null ; MonthlyPremiumEC?: number | null ; MonthlyPremiumECPlus?: number | null ; MonthlyPremiumEE?: number | null ; MonthlyPremiumFam?: number | null ; Network?: string | null ; OfferedPlan?: string | null ; OOPEmbedded?: string | null ; OOPMaxFam?: number | null ; OOPMaxInd?: number | null ; PreventativeCare?: string | null ; PrimaryCarePhysicians?: string | null ; RxDeductible: number; RxMailT1?: string | null ; RxMailT2?: string | null ; RxMailT3?: string | null ; RxMailT4?: string | null ; RxRetailT1?: string | null ; RxRetailT2?: string | null ; RxRetailT3?: string | null ; RxRetailT4?: string | null ; Specialists?: string | null ; UrgentCare?: string | null ; } export interface VisionQuote extends DocugamiProcessedQuote { ContactsConv?: string | null ; ContactsDisposable?: string | null ; EyeExam?: string | null ; Frames?: string | null ; FreqContacts?: string | null ; FreqExams?: string | null ; FreqFrames?: string | null ; FreqLenses?: string | null ; LensesBifocal?: string | null ; LensesSingle?: string | null ; LensesTrifocal?: string | null ; MonthlyPremium2P?: number | null ; MonthlyPremiumEC?: number | null ; MonthlyPremiumEC2Plus?: number | null ; MonthlyPremiumEE?: number | null ; MonthlyPremiumFam?: number | null ; Network?: string | null ; OfferedPlan?: string | null ; ParticipationReq?: string | null ; RateGuarantee?: string | null ; VolEmpPaidOption?: string | null ; } export interface LeavittGroupTelemarketingEntry { ChangeLog: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Id: number; LastModifiedDate?: string | null ; PhoneNumber?: string | null ; Status: TelemarketingTypeString; } export interface LeavittGroupTelemarketingEntryChange { CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Date: string; Id: number; Status: TelemarketingTypeString; } export interface CultureRecognitionNominationV2 { AwardedByPerson?: Partial | null ; AwardedByPersonId?: number | null ; AwardedDate?: string | null ; AwardWinnerVideo?: string | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; CultureRecognitionPrincipleId?: number | null ; CultureRecognitionSite?: Partial | null ; CultureRecognitionSiteId?: number | null ; Id: number; NominatedPerson?: Partial | null ; NominatedPersonId: number; NominationReason?: string | null ; Principle?: Partial | null ; YoutubeKey?: string | null ; } export interface CultureRecognitionPrincipleIconAttachmentV2 extends IDatabaseAttachment { Principle?: Partial | null ; } export interface CultureRecognitionPrincipleV2 { CultureRecognitionSiteId: number; Description?: string | null ; Icon?: Partial | null ; Id: number; Name?: string | null ; Nominations: Array>; Sequence: number; Site?: Partial | null ; Videos: Array>; } export interface CultureRecognitionPrincipleVideoV2 { CultureRecognitionPrincipleId: number; Id: number; Principle?: Partial | null ; YouTubeId?: string | null ; } export interface CultureRecognitionSiteBannerV2 extends IDatabaseAttachment { CultureRecognitionSite?: Partial | null ; CultureRecognitionSiteId?: number | null ; Location: CultureRecognitionBannerLocationV2String; } export interface CultureRecognitionSiteToCompanyV2 { Company?: Partial | null ; CompanyId: number; CultureRecognitionSiteId: number; Id: number; Site?: Partial | null ; } export interface CultureRecognitionSiteV2 { Banners: Array>; CultureRecognitionSiteToCompanies: Array>; Id: number; NominationDescription?: string | null ; NominationMinimumCharacters?: number | null ; Nominations: Array>; Principles: Array>; Title?: string | null ; YoutubeKey?: string | null ; } export interface CultureClubNomination { AwardedByPerson?: Partial | null ; AwardedByPersonId?: number | null ; AwardedDate?: string | null ; AwardType?: AwardTypeString | null ; AwardWinnerVideo?: string | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; CultureClubPrincipleId?: number | null ; Id: number; NominatedPerson?: Partial | null ; NominatedPersonId: number; NominationReason?: string | null ; Principle?: Partial | null ; YoutubeKey?: string | null ; } export interface CultureClubPrinciple { Description?: string | null ; Icon?: Partial | null ; Id: number; Name?: string | null ; Nominations: Array>; Sequence: number; Videos: Array>; } export interface CultureClubPrincipleIconAttachment extends IDatabaseAttachment { Principle?: Partial | null ; } export interface CultureClubPrincipleVideo { CultureClubPrinciple: Partial; CultureClubPrincipleId: number; Id: number; YouTubeId: string; } export interface CultureClubSiteBanner extends IDatabaseAttachment { Location: CultureClubBannerLocationString; } export interface CultureClubSiteSetting { HomePageYouTubeUrl?: string | null ; Id: number; } export interface CrossSellAdminPeopleGroup { Id: number; Instance?: Partial | null ; InstanceId: number; IsGlobalAdmin?: boolean; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface CrossSellAdminPerson { Id: number; Instance?: Partial | null ; InstanceId: number; IsGlobalAdmin?: boolean; Person?: Partial | null ; PersonId: number; } export interface CrossSellInstance { AdminPeople: Array>; AdminPeopleGroups: Array>; Description?: string | null ; Game?: Partial | null ; GameId?: number | null ; Icon?: string | null ; Id: number; LegalPeople: Array>; LegalPeopleGroups: Array>; LineOfBusinesses: Array>; ListingCreatedPointQuestion?: Partial | null ; ListingCreatedPointQuestionId?: number | null ; Listings: Array>; ListingStatusPointQuestion?: Partial | null ; ListingStatusPointQuestionId?: number | null ; MonthlyRecapRecipientPeople: Array>; MonthlyRecapRecipientPeopleGroups: Array>; Name: string; UserPeople: Array>; UserPeopleGroups: Array>; } export interface CrossSellLegalPeopleGroup { Id: number; Instance?: Partial | null ; InstanceId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface CrossSellLegalPerson { Id: number; Instance?: Partial | null ; InstanceId: number; Person?: Partial | null ; PersonId: number; } export interface CrossSellLineOfBusiness { Icon?: string | null ; Id: number; Instance?: Partial | null ; InstanceId: number; Listings: Array>; Name: string; ProducerPool: ProducerPoolTypeString; Sequence: number; SiteAlerts: Array>; VettedProducers: Array>; WebComponentName?: string | null ; } export interface CrossSellListing { Ams360CustomerName?: string | null ; Conversations: Array>; CreatedBy?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; CustId?: string | null ; DataSource?: string | null ; DeletedDate?: string | null ; Description?: string | null ; ExpectedCommissionAmount?: number | null ; ExpirationDate: string; ExpiresInDays: number; FellThroughDate?: string | null ; Id: number; Instance?: Partial | null ; InstanceId: number; InviteEmailCount?: number | null ; IsDeleted?: boolean; LastInviteEmailSentDate?: string | null ; LastResponseDate?: string | null ; LineOfBusiness?: Partial | null ; LineOfBusinessId?: number | null ; LineOfBusinessName?: string | null ; /** * @deprecated This game point is no longer used. */ ListerClGamePoint?: Partial | null ; /** * @deprecated This game point is no longer used. */ ListerClGamePointId?: number | null ; ListerCreatedClGamePoint?: Partial | null ; ListerCreatedClGamePointId?: number | null ; ListerSoldClGamePoint?: Partial | null ; ListerSoldClGamePointId?: number | null ; ListerTeamedUpClGamePoint?: Partial | null ; ListerTeamedUpClGamePointId?: number | null ; ListingNotificationEmailLogs: Array>; PolicyId?: string | null ; SoldDate?: string | null ; SplitPercentage?: number | null ; State: string; Status: CrossSellListingStatusString; TeamedUpApprovedByPerson?: Partial | null ; TeamedUpApprovedByPersonId?: number | null ; /** * @deprecated This game point is no longer used. */ TeamedUpClGamePoint?: Partial | null ; /** * @deprecated This game point is no longer used. */ TeamedUpClGamePointId?: number | null ; TeamedUpDate?: string | null ; TeamedUpDeniedByPerson?: Partial | null ; TeamedUpDeniedByPersonId?: number | null ; TeamedUpDeniedDate?: string | null ; TeamedUpDeniedReason?: string | null ; TeamedUpPerson?: Partial | null ; TeamedUpPersonId?: number | null ; TeamedUpRequestedDate?: string | null ; TeamUpPersonSoldClGamePoint?: Partial | null ; TeamUpPersonSoldClGamePointId?: number | null ; TeamUpPersonTeamedUpClGamePoint?: Partial | null ; TeamUpPersonTeamedUpClGamePointId?: number | null ; Title: string; ViewedBy: Array>; } export interface CrossSellListingConversation { Id: number; Listing?: Partial | null ; ListingId: number; Messages: Array>; Person?: Partial | null ; PersonId: number; StartDate: string; Status: CrossSellInterestedStatusString; } export interface CrossSellListingMessage { Body: string; Conversation?: Partial | null ; ConversationId: number; Id: number; IsViewed?: boolean; NotificationEmailSentDate?: string | null ; SenderPerson?: Partial | null ; SenderPersonId?: number | null ; SentDate: string; } export interface CrossSellListingNotificationEmailLog { Date: string; Id: number; Listing?: Partial | null ; ListingId: number; Recipient?: Partial | null ; RecipientFullName?: string | null ; RecipientId: number; Subject: string; } export interface CrossSellMonthlyRecapRecipientPeopleGroup { Id: number; Instance?: Partial | null ; InstanceId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface CrossSellMonthlyRecapRecipientPerson { Id: number; Instance?: Partial | null ; InstanceId: number; Person?: Partial | null ; PersonId: number; } export interface CrossSellSiteAlert { CreatedDate: string; Id: number; LineOfBusiness?: Partial | null ; LineOfBusinessId: number; Person?: Partial | null ; PersonId: number; } export interface CrossSellUserPeopleGroup { Id: number; Instance?: Partial | null ; InstanceId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface CrossSellUserPerson { Id: number; Instance?: Partial | null ; InstanceId: number; Person?: Partial | null ; PersonId: number; } export interface CrossSellViewedListingToPerson { CrossSellListingId: number; Id: number; Listing?: Partial | null ; ViewedBy?: Partial | null ; ViewedById: number; } export interface VettedProducer { ApprovedByPerson?: Partial | null ; ApprovedByPersonId?: number | null ; ApprovedDate?: string | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Id: number; IsApproved?: boolean; LineOfBusiness?: Partial | null ; LineOfBusinessId: number; Person?: Partial | null ; PersonId: number; } export interface CrmAccount { AccountId: string; AccountStatus?: AccountStatusTypeString | null ; AccountTypeV2?: NewAccountTypeString | null ; Address1FullAddress?: string | null ; Address2City?: string | null ; Address2FullAddress?: string | null ; Address2State?: string | null ; Address2Street1?: string | null ; Address2Street2?: string | null ; Address2Zip?: string | null ; Ams360AccountId?: string | null ; AnnualPayroll?: string | null ; BenefitPointAccountId?: number | null ; City?: string | null ; CompanySize?: number | null ; ContactFullName?: string | null ; Contacts: Array>; CreatedOn?: string | null ; DoNotCall?: boolean; DoNotEmail?: boolean; DoNotText?: boolean; EffectiveDate?: string | null ; Email?: string | null ; Id: number; InitialAppointment?: string | null ; InitialConversation?: string | null ; LastActivityDate?: string | null ; LastModifiedDate?: string | null ; NAICSCode?: string | null ; Name?: string | null ; NumberOfEmployees?: string | null ; NumberOfLocations?: string | null ; Opportunities: Array>; OriginalSource?: string | null ; OwnerBusinessUnitId?: string | null ; OwnerId: string; Person?: Partial | null ; PersonId?: number | null ; Phone?: string | null ; Phone2?: string | null ; Phone3?: string | null ; PhoneCalls: Array>; PotentialRevenue?: number | null ; PreferredContactMethod?: PreferredContactMethodTypeString | null ; RecentSource?: string | null ; State?: string | null ; StateCode?: AccountStateCodeTypeString | null ; Status?: AccountStatusCodeTypeString | null ; Street1?: string | null ; Street2?: string | null ; Topic?: string | null ; WrittenYtd?: number | null ; Zip?: string | null ; } export interface CrmActivityPlanner { ActivityPlannerId: string; ActivityPlannerName: string; ClosingRatio?: number | null ; ConversationToInitialAppointmentRatio?: number | null ; ConversionOfInitialAppointmentToClose?: number | null ; EndDate?: string | null ; Id: number; InitialAppointmentToPresentationRatio?: number | null ; LastModifiedDate?: string | null ; MonthlyConversationsNeeded?: number | null ; MonthlyInitialAppointmentsNeeded?: number | null ; MonthlyPresentationsNeeded?: number | null ; MonthlyRevenueNeeded?: number | null ; MonthlySalesNeeded?: number | null ; NewRevenueGoal?: number | null ; OwnerId: string; Person?: Partial | null ; PersonId?: number | null ; RevenueAvgPerAccount?: number | null ; RevenueYtd?: number | null ; SaleProbabilityFromAppointmentToClose?: number | null ; StartDate?: string | null ; SubmissionPercentage?: number | null ; WeeklyConversationsNeeded?: number | null ; WeeklyInitialAppointmentsNeeded?: number | null ; WeeklyPresentationsNeeded?: number | null ; WeeklyRevenueNeeded?: number | null ; WeeklySalesNeeded?: number | null ; WeeksRemaining?: number | null ; YearlyConversationsNeeded?: number | null ; YearlyInitialAppointmentsNeeded?: number | null ; YearlyPresentationsNeeded?: number | null ; YearlyRevenueNeeded?: number | null ; YearlySalesNeeded?: number | null ; } export interface CrmAuditSyncLogEntry { Action: string; CrmInstance: number; EntityType: string; Id: number; LastSyncDate: string; } export interface CrmCommission { Amount: number; CommissionSplitId?: string | null ; Id: number; LastModifiedDate?: string | null ; Name?: string | null ; Opportunity?: Partial | null ; OpportunityId: number; OwnerId: string; Percent: number; Person?: Partial | null ; PersonId?: number | null ; Sponsor?: number | null ; } export interface CrmContact { AccountId: number; Address1?: string | null ; Address2?: string | null ; City?: string | null ; CrmAccount?: Partial | null ; CrmAccountGuid: string; CrmContactId: string; CrmPerson?: Partial | null ; CrmPersonId: number; Email?: string | null ; FirstName?: string | null ; Id: number; LastModifiedDate?: string | null ; LastName?: string | null ; OwnerId: string; Phone?: string | null ; State?: string | null ; Zip?: string | null ; } export interface CrmLead { Address1?: string | null ; Address1City?: string | null ; Address1Line1?: string | null ; Address1Line2?: string | null ; Address1Line3?: string | null ; Address1PostalCode?: string | null ; Address1StateOrProvince?: string | null ; Address2?: string | null ; Address2City?: string | null ; Address2Line1?: string | null ; Address2Line2?: string | null ; Address2Line3?: string | null ; Address2PostalCode?: string | null ; Address2StateOrProvince?: string | null ; AnnualSales?: string | null ; Carrier?: string | null ; CompanyName?: string | null ; CreatedOn?: string | null ; Description?: string | null ; DoNotPhone?: boolean | null ; EmailAddress1?: string | null ; EMod?: number | null ; EstimatedRevenue?: string | null ; Fax?: string | null ; FirstName?: string | null ; Id: number; JobTitle?: string | null ; LastActivityDate?: string | null ; LastName?: string | null ; LeadId?: string | null ; LeadSource?: LeadSourceTypeString | null ; ModifiedOn?: string | null ; NaicsCode?: string | null ; NoOfVehicles?: number | null ; NumberOfEmployees?: number | null ; OwnerId?: string | null ; OwningBusinessUnit?: string | null ; OwningUser?: string | null ; Person?: Partial | null ; PersonId?: number | null ; PreferredContactMethodCode?: PreferredContactMethodTypeString | null ; Rating?: LeadQualityTypeString | null ; SicCode?: string | null ; StateCode?: LeadStateCodeTypeString | null ; StatusCode?: LeadStatusCodeTypeString | null ; Telephone1?: string | null ; Telephone2?: string | null ; Telephone3?: string | null ; Topic?: string | null ; WebsiteUrl?: string | null ; XDate?: string | null ; } export interface CrmOpportunity { Account?: Partial | null ; AccountId: number; ActualCloseDate?: string | null ; BindAndCloseOn?: string | null ; BorSoldDate?: string | null ; Carrier?: number | null ; CarrierName?: string | null ; CommissionFee: number; CommissionPercentage: number; CreatedOn?: string | null ; CrmCommissions: Array>; EffectiveDate?: string | null ; Id: number; IsBor?: boolean; LastModifiedDate?: string | null ; LineOfBusiness?: CrmLineOfBusinessTypeString | null ; LineOfCoverageFriendlyName?: string | null ; Name?: string | null ; NewOrRenewal: NewOrRenewalTypeString; OpportunityId: string; OwnerId: string; Premium: number; ProposeOn?: string | null ; ProspectOn?: string | null ; ReportingSoldDate?: string | null ; SalesStage: OpportunitySalesStageString; Status: OpportunityStateCodeString; StatusReason: OpportunityStatusCodeString; TotalRevenue: number; } export interface CrmPhoneCall { Account?: Partial | null ; AccountId: number; ActivityId: string; ActivityTypeCode: ActivityTypeString; ActualEnd?: string | null ; ActualStart?: string | null ; CreatedOn: string; Description?: string | null ; Id: number; LastModifiedDate?: string | null ; Outgoing?: boolean; OwnerId: string; Person?: Partial | null ; PersonId?: number | null ; PhoneCallId: string; PhoneNumber?: string | null ; ReguardingObjectId: string; Subject?: string | null ; } export interface CrmUserPersonRole extends PersonRole { SystemUserGuid: string; } export interface ActiveDirectoryTenant { Application?: Partial | null ; ApplicationId: number; Id: number; Name: string; } export interface AgencyRole extends CompanyRole { FiscalPeriods: Array>; } export interface AgentLicense { Country?: string | null ; Date?: string | null ; Id: number; LicenseNumber?: string | null ; Person?: Partial | null ; PersonId: number; State?: string | null ; } export interface Application { Description?: string | null ; Discriminator?: string | null ; EmailTemplates: Array>; Id: number; IsActive?: boolean; IsDiscoverable?: boolean; LogoAttachment?: Partial | null ; LogoAttachmentId?: number | null ; Name: string; Owner: string; Tags: Array>; URL?: string | null ; } export interface ApplicationLogo extends Attachment { Applications: Array>; } export interface ApplicationTag { Applications: Array>; IconName?: string | null ; Id: number; Name: string; } export interface ApplicationToApplicationTag { Application?: Partial | null ; ApplicationId: number; ApplicationTag?: Partial | null ; ApplicationTagId: number; Id: number; } export interface Attachment extends ISynchronizable, IDatabaseAttachment { DeletedByPerson?: Partial | null ; DeletedByPersonId?: number | null ; DeletedDate?: string | null ; Description?: string | null ; EndDate?: string | null ; IsDeleted?: boolean; IsExpired?: boolean; LeaseId?: number | null ; Owner?: Partial | null ; OwnerId: number; StartDate?: string | null ; } export interface AuditableEmployeeChange extends EmployeeChangeTransaction { ChangedByPerson?: Partial | null ; ChangedByPersonId?: number | null ; ChangedByPersonName?: string | null ; } export interface AuditorCompanyRole extends CompanyRole { PeopleRoles: Array>; } /** * @deprecated Use Person.AccountType and Person.PreviousAccountType instead. */ export interface AuditorPersonRole extends PersonRole { AuditorCompanyRole?: Partial | null ; AuditorCompanyRoleId: number; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface AuthenticationFactor { CredentialId: number; DisplayName: string; EndDate?: string | null ; Id: number; IsExpired?: boolean; IsRequired?: boolean; LastUsed?: string | null ; RequiredDate?: string | null ; StartDate: string; } export interface AutomatedUserRole extends PersonRole { } export interface BuildingNickname { CompanyAddresses: Array>; Id: number; LeavittLegendOrders: Array>; Name?: string | null ; } export interface Company { AcquisitionDate?: string | null ; Addresses: Array>; AgencyCommissionRates: Array>; AgencyPartnerCount: number; AgencyProductionBudgets: Array>; AgencyZoomDataSources?: Partial | null ; Ams360InstancesV2: Array>; Ams360ReportCarriers: Array>; Ams360ReportExclusions: Array>; Ams360ReportInclusions: Array>; AshbyCompany?: Partial | null ; BenefitPointDataSource?: Partial | null ; BillToExpenseItems: Array>; BookOfBusinessChanges: Array>; BrokerDisclosureCompanySetting?: Partial | null ; CarrierAppointmentCompanySettings: Array>; CirclesOfExcellenceCompanySettings: Array>; ClientPortalAms360Customers: Array>; ClientPortalClientUsers: Array>; ClientPortalCompanySetting?: Partial | null ; CompanyGroupToCompanies: Array>; CompanyLeaseNotification?: Partial | null ; CompanyOwners: Array>; CompanyOwnershipsV2: Array>; ContactPersonRoles: Array>; CreatedDate: string; CReportComments: Array>; CultureRecognitionSiteToCompaniesV2: Array>; CurrentGradeId?: number | null ; DarkLogoUrl?: string | null ; DarkMarkUrl?: string | null ; Departments: Array>; DocugamiAccounts: Array>; Documents: Array>; Ein?: string | null ; EmailAddresses: Array>; EnableAms360ToEloquaDataSync?: boolean; EnableAms360ToPodiumDataSync?: boolean; EnableBenefitPointToEloquaDataSync?: boolean; EnableCrmToEloquaDataSync?: boolean; EndDate?: string | null ; ExcludedCompanyServices: Array>; ExclusionCompanyWorkforceTaskTemplates: Array>; FenrisLookupRequests: Array>; FiscalYearEnd: FiscalYearEndString; FormToCompanies: Array>; GooglePlaces: Array>; Grades: Array>; HideInDirectory?: boolean; Id: number; IncludedCompanyServices: Array>; IsExpired?: boolean; IsFiduciary?: boolean; IsFlowThrough?: boolean; IsTest?: boolean; JobRoleChangeLogs: Array>; JobRoles: Array>; LastModifiedDate: string; LeavittLegendsCompanySetting?: Partial | null ; Logos: Array>; LogoUrl?: string | null ; ManagementSystems: Array>; MarkUrl?: string | null ; MessagesCompanyAdminToPeople: Array>; MessagesCompanyAdminToPeopleGroups: Array>; MessagesContactToCompanies: Array>; MessageTemplates: Array>; Name?: string | null ; Names: Array>; NewCompanyTransfers: Array>; OldCompanyTransfers: Array>; OutboundNumbers: Array>; People: Array>; PhoneNumbers: Array>; PreferredCRM: PreferredCRMTypeString; PrimaryContactPerson?: Partial | null ; PrimaryContactPersonId?: number | null ; PublicRecordSearches: Array>; PublicSearchSambaAgencyStateSettings: Array>; Raters: Array>; RecommendedRecruitingCandidates: Array>; RecruitingCompanyNotes: Array>; RecruitingProjectRequests: Array>; RecruitingProjects: Array>; RenewalTemplates: Array>; Roles: Array>; SalesForceDataSource?: Partial | null ; Services: Array>; ShareAgreements: Array>; ShortName?: string | null ; SignatureTemplateToCompanies: Array>; StartDate: string; Stationeries: Array>; TimelineTemplateToCompanies: Array>; WorkforceTaskTemplates: Array>; WunderiteDataSource?: Partial | null ; } export interface CompanyAddress extends IAddress { AshbyCompanyAddress?: Partial | null ; BuildingNickname?: Partial | null ; BuildingNicknameId?: number | null ; Company?: Partial | null ; CompanyId: number; CompanyLease?: Partial | null ; CreatedDate: string; DepartmentToCompanyAddresses: Array>; EndDate?: string | null ; Image?: Partial | null ; IsEligibleForFMLA?: boolean | null ; IsExpired?: boolean; IsPrimaryAddress?: boolean; LastModifiedDate: string; Latitude?: number | null ; LGEmployeeRoleToCompanyAddresses: Array>; Longitude?: number | null ; NumberOfFMLAEligibleEmployees?: number | null ; OfficeLocationRecruitingProjectRequests: Array>; People: Array>; PhoneNumbers: Array>; ProspectiveProducerRoles: Array>; PublicRecordSearches: Array>; StartDate: string; } export interface CompanyAddressImage extends IDatabaseAttachment { CompanyAddress?: Partial | null ; LastModifiedDate: string; } export interface CompanyAddressPhoneNumber extends PhoneNumber { CompanyAddress?: Partial | null ; CompanyAddressId: number; } export interface CompanyContactPersonRole extends PersonRole { ContactCompany?: Partial | null ; ContactCompanyId: number; Title?: string | null ; } export interface CompanyEmailAddress extends EmailAddress { Company?: Partial | null ; CompanyId: number; } export interface CompanyGroup { CompanyGroupToCompanies: Array>; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; Description?: string | null ; Id: number; LastModifiedDate?: string | null ; Name: string; } export interface CompanyGroupToCompany { Company?: Partial | null ; CompanyGroup?: Partial | null ; CompanyGroupId: number; CompanyId: number; Id: number; } export interface CompanyHistoricalGrade { Company?: Partial | null ; CompanyId: number; EndDate?: string | null ; Grade: CompanyGradeString; Id: number; StartDate: string; } export interface CompanyLogo extends IDatabaseAttachment { Company?: Partial | null ; CompanyId?: number | null ; Type: CompanyLogoTypesString; } export interface CompanyName { Company?: Partial | null ; CompanyId: number; CompanyNameType: CompanyNameTypeString; CreatedDate: string; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedDate: string; Name: string; StartDate: string; } export interface CompanyOwner { CompanyId?: number | null ; CompanyOwnershipsV2?: Partial | null ; CompanyOwnershipV2Id?: number | null ; Id: number; Name: string; OwnerCompany?: Partial | null ; OwnerPerson?: Partial | null ; Percentage: number; PersonId?: number | null ; } export interface CompanyOwnershipV2 { Company?: Partial | null ; CompanyId: number; EndDate?: string | null ; Id: number; Owners: Array>; StartDate: string; } export interface CompanyPhoneNumber extends PhoneNumber { Company?: Partial | null ; CompanyId: number; } export interface CompanyRole extends Role { ClosureType?: Partial | null ; Company?: Partial | null ; CompanyId: number; MergedWithCompanies: Array>; } export interface CompanyRoleClosureType { CompanyRole?: Partial | null ; Id: number; } export interface CorporateDisposalClosureType extends CompanyRoleClosureType { } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface CredentialActivationCode { Attempts: number; Code?: string | null ; ExpiredDate: string; Id: number; IsExpired?: boolean; StartDate: string; } export interface CustomPeopleGroup extends PeopleGroup { } export interface Department { BillToExpenseItems: Array>; Company?: Partial | null ; CompanyId: number; DepartmentToCompanyAddresses: Array>; Id: number; JobRoleChangeLogs: Array>; JobRoles: Array>; LGEmployeeRoles: Array>; Name?: string | null ; People: Array>; PrimaryContact?: Partial | null ; PrimaryContactId?: number | null ; PrimaryEmail?: string | null ; PrimaryPhoneNumber?: string | null ; RecruitingProjectRequests: Array>; RecruitingProjects: Array>; WorkforceTaskTemplates: Array>; } export interface DepartmentToCompanyAddress { CompanyAddress?: Partial | null ; CompanyAddressId: number; Department?: Partial | null ; DepartmentId: number; Id: number; } export interface DisaffiliationClosureType extends CompanyRoleClosureType { } export interface DistributionGroupContact { Email?: string | null ; FirstName?: string | null ; Id: number; LastName?: string | null ; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface EffectiveMemberToPeopleGroup { Date?: string | null ; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; Person?: Partial | null ; PersonId: number; } export interface EmailAddress { Address: string; CreatedDate: string; EmailAddressType: EmailAddressTypesString; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedDate: string; StartDate: string; } export interface EmployeeChangeApproval extends EmployeeChangeTransaction { ApprovedByPerson?: Partial | null ; ApprovedByPersonId?: number | null ; ApprovedByPersonName?: string | null ; } export interface EmployeeChangeTransaction { Discriminator?: string | null ; Id: number; TargetPerson?: Partial | null ; TargetPersonId?: number | null ; TargetPersonName?: string | null ; TransactionDate: string; } export interface EmployeeTraining { CompletedDate?: string | null ; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; ModifiedDate?: string | null ; Person?: Partial | null ; PersonId: number; TrainingType: TrainingTypeString; } export interface FileExplorer { AdminPeopleGroups: Array>; Admins: Array>; AllowedFileTypes?: string | null ; Attachments: Array>; FilesCount: number; Folders: Array>; FoldersCount: number; Id: number; Name: string; Size: number; ViewerPeopleGroups: Array>; Viewers: Array>; Website?: string | null ; } export interface FileExplorerAdmin { EndDate?: string | null ; FileExplorer?: Partial | null ; FileExplorerId: number; Id: number; IsExpired?: boolean; Person?: Partial | null ; PersonId: number; StartDate: string; } export interface FileExplorerAdminToPeopleGroup { EndDate?: string | null ; FileExplorer?: Partial | null ; FileExplorerId: number; Id: number; IsExpired?: boolean; PeopleGroup?: Partial | null ; PeopleGroupId: number; StartDate: string; } export interface FileExplorerAttachment extends IDatabaseAttachment { Creator?: Partial | null ; CreatorId: number; FileExplorer?: Partial | null ; FileExplorerFolderId?: number | null ; FileExplorerId: number; Folder?: Partial | null ; } export interface FileExplorerFolder { Attachments: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; FileExplorer?: Partial | null ; FileExplorerId: number; FilesCount: number; FoldersCount: number; Id: number; InverseParentFolder: Array>; IsReadOnly?: boolean; Name: string; ParentFolder?: Partial | null ; ParentFolderId?: number | null ; Path?: string | null ; } export interface FileExplorerViewer { EndDate?: string | null ; FileExplorer?: Partial | null ; FileExplorerId: number; Id: number; IsExpired?: boolean; Person?: Partial | null ; PersonId: number; StartDate: string; } export interface FileExplorerViewerToPeopleGroup { EndDate?: string | null ; FileExplorer?: Partial | null ; FileExplorerId: number; Id: number; IsExpired?: boolean; PeopleGroup?: Partial | null ; PeopleGroupId: number; StartDate: string; } export interface Group { CreatedDate: string; Description?: string | null ; Discriminator?: string | null ; Id: number; LastModifiedDate: string; Name: string; } /** * @deprecated Use Person.AccountType and Person.PreviousAccountType instead. */ export interface GuestPersonRole extends PersonRole { CreatorPerson?: Partial | null ; CreatorPersonId: number; Description?: string | null ; RequestedByPerson?: Partial | null ; RequestedByPersonId: number; } export interface HiredEmployeeChange extends AuditableEmployeeChange { } export interface IAddress { City?: string | null ; Country?: string | null ; County?: string | null ; Id: number; State?: string | null ; Street1?: string | null ; Street2?: string | null ; Zip?: string | null ; } /** * @deprecated Use Person.AccountType and Person.PreviousAccountType instead. */ export interface InvestorPersonRole extends PersonRole { } export interface ItManagedApplication extends Application { ActiveUsers: Array>; Tenants: Array>; } export interface JobRole { Company?: Partial | null ; CompanyId: number; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Department?: Partial | null ; DepartmentId?: number | null ; FTEPercent?: number | null ; Id: number; JobRoleType?: Partial | null ; JobRoleTypeId: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate: string; LGEmployeeRole?: Partial | null ; LGEmployeeRoleId: number; Person?: Partial | null ; PersonId?: number | null ; StartDate: string; } export interface JobRoleChangeLog { ChangeDate: string; ChangedByPerson?: Partial | null ; ChangedByPersonId?: number | null ; ChangedByPersonName?: string | null ; ChangeType: JobRoleChangeTypeString; Company?: Partial | null ; CompanyId?: number | null ; CompanyName?: string | null ; Department?: Partial | null ; DepartmentId?: number | null ; DepartmentName?: string | null ; FTEPercent?: number | null ; Id: number; JobRoleType?: Partial | null ; JobRoleTypeId?: number | null ; JobRoleTypeName?: string | null ; PersonAffected?: Partial | null ; PersonAffectedId?: number | null ; PersonAffectedName?: string | null ; } export interface JobRoleEmployeeChange extends AuditableEmployeeChange { NewJobRoleCompanyName?: string | null ; NewJobRoleFte?: string | null ; NewJobRoleTitle?: string | null ; OriginalJobRoleCompanyName?: string | null ; OriginalJobRoleFte?: string | null ; OriginalJobRoleTitle?: string | null ; } export interface JobRoleType { AssignerPeople: Array>; AssignerPeopleGroups: Array>; Category?: Partial | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; EnableDepartmentAssignment?: boolean; EndDate?: string | null ; Id: number; IsExpired?: boolean; IsFullTimeEquivalenceType?: boolean; JobRoleChangeLogs: Array>; JobRoles: Array>; JobRoleTypeCategoryId?: number | null ; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; PeopleGroups: Array>; StartDate: string; WorkforceTaskTemplates: Array>; } export interface JobRoleTypeCategory { Id: number; JobRoleTypes: Array>; Name: string; Sequence: number; } export interface JobRoleTypeToAssignerPerson { Id: number; JobRoleType?: Partial | null ; JobRoleTypeId: number; Person?: Partial | null ; PersonId: number; } export interface JobRoleTypeToAssignerPeopleGroup { Id: number; JobRoleType?: Partial | null ; JobRoleTypeId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface LGEmployeeRole extends PersonRole { CreatedBy?: Partial | null ; CreatedById?: number | null ; DateStartedProducing?: string | null ; Department?: Partial | null ; DepartmentId?: number | null ; JobRoles: Array>; LastModifiedBy?: Partial | null ; LastModifiedById?: number | null ; LGEmployeeRoleToCompanyAddresses: Array>; TerminationReason?: string | null ; Titles: Array>; } export interface LGEmployeeRoleTitle { CreatedDate: string; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedDate: string; LGEmployeeRole?: Partial | null ; LGEmployeeRoleId: number; StartDate: string; Title: string; } export interface LGEmployeeRoleToCompanyAddress { CompanyAddress?: Partial | null ; CompanyAddressId: number; CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedBy?: Partial | null ; LastModifiedById?: number | null ; LastModifiedDate: string; LGEmployeeRole?: Partial | null ; LGEmployeeRoleId: number; StartDate: string; } export interface LLCCompanyRole extends CompanyRole { } export interface LssApplication extends Application { Permissions: Array>; } export interface MergerClosureType extends CompanyRoleClosureType { MergedWith?: Partial | null ; MergedWithId?: number | null ; } export interface PeopleGroup extends Group { AcademyCourseAdminPeopleGroups: Array>; AdminForCarrierAppointmentCompanySettings: Array>; AdminPeopleGroupToTvInstance: Array>; AdminRaters: Array>; AgencyViewerToPeopleGroups: Array>; AssignedWorkforceTasks: Array>; AssignedWorkforceTaskTemplates: Array>; BrokerDisclosureCompanySettings: Array>; ChildPeopleGroups: Array>; ClientPortalCompanySettings: Array>; CourseAdminPeopleGroups: Array>; CourseAssigneePeopleGroups: Array>; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CrossSellAdminPeopleGroups: Array>; CrossSellLegalPeopleGroups: Array>; CrossSellMonthlyRecapRecipientPeopleGroups: Array>; CrossSellUserPeopleGroups: Array>; DistributionGroupContacts: Array>; DistributionGroupEmailAddress?: string | null ; EducationJourneys: Array>; EffectiveMembers: Array>; EndDate?: string | null ; ExpenseBudgets: Array>; FileExplorerAdminsToPeopleGroups: Array>; FileExplorerViewersToPeopleGroups: Array>; FormToAudiencePeopleGroups: Array>; FormToNotifyeePeopleGroups: Array>; FruitsToPeopleGroups: Array>; GlobalViewerToPeopleGroups: Array>; GroupOperator: GroupLogicalOperatorString; IsExcludedLegendsPeopleGroup?: boolean; IsExpired?: boolean; JobRoleTypeAssignerPeopleGroups: Array>; LeavittFitChallenges: Array>; ManagedPeopleGroups: Array>; ManagerPeopleGroups: Array>; MessagesCompanyAdmins: Array>; ModifiedByPerson?: Partial | null ; ModifiedByPersonId?: number | null ; OutboundCallerIdToPeopleGroups: Array>; ParentPeopleGroups: Array>; PeopleGroupCampaignEditors: Array>; PeopleGroupToManagerPersons: Array>; PeopleGroupToTvSlides: Array>; PermissionToPeopleGroups: Array>; PermissionToPermissionManagerGroups: Array>; PersonToPeopleGroups: Array>; Raters: Array>; RecruitingInstanceToAdminGroups: Array>; RecruitingInstanceToUserGroups: Array>; SharedLessonFolders: Array>; StartDate: string; SurveyAdminToPeopleGroupsV2: Array>; SurveyParticipantToPeopleGroupsV2: Array>; Type: PeopleGroupTypeString; V2SurgeViewerToPeopleGroups: Array>; } export interface CompanyPeopleGroup extends PeopleGroup { } export interface StatePeopleGroup extends PeopleGroup { } export interface StateManagerPeopleGroup extends PeopleGroup { } export interface HomeStatePeopleGroup extends PeopleGroup { } export interface NotificationDistrubutionGroupRole extends PersonRole { } export interface JobRolePeopleGroup extends PeopleGroup { JobRoleType?: Partial | null ; JobRoleTypeId?: number | null ; } export interface DepartmentPeopleGroup extends PeopleGroup { } export interface CompanyGroupPeopleGroup extends PeopleGroup { } export interface TypesOfInsuranceSoldPeopleGroup extends PeopleGroup { } export interface TOISManagersPeopleGroup extends PeopleGroup { } export interface CityPeopleGroup extends PeopleGroup { } export interface BuildingPeopleGroup extends PeopleGroup { BuildingId: number; } export interface EmploymentTypePeopleGroup extends PeopleGroup { } export interface PeopleGroupUsage { LinkingId: number; LinkingInstanceName?: string | null ; LinkingType: string; Url?: string | null ; } export interface PeopleGroupToManagerPeopleGroup extends IExpirable { Id: number; ManagerPeopleGroup?: Partial | null ; ManagerPeopleGroupId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface PeopleGroupToManagerPerson extends IExpirable { Id: number; ManagerPerson?: Partial | null ; ManagerPersonId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface PeopleGroupToPeopleGroup extends IExpirable { ChildPeopleGroup?: Partial | null ; ChildPeopleGroupId: number; ExcludeFromGroup?: boolean; Id: number; ParentPeopleGroup?: Partial | null ; ParentPeopleGroupId: number; } export interface Permission { Applications: Array>; CreatedDate: string; Description?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedDate: string; Name: string; PermissionManagerToPermissions: Array>; PermissionToPeopleGroups: Array>; PermissionToPermissionManagerGroups: Array>; PersonToPermissions: Array>; Scope?: Partial | null ; ScopeId?: number | null ; StartDate: string; } export interface PermissionManagerToPermission { EndDate?: string | null ; Id: number; IsExpired?: boolean; Permission?: Partial | null ; PermissionId: number; Person?: Partial | null ; PersonId: number; StartDate: string; } export interface PermissionToApplication { Application?: Partial | null ; ApplicationId: number; Id: number; Permission?: Partial | null ; PermissionId: number; } export interface PermissionToPeopleGroup { EndDate?: string | null ; Id: number; IsExpired?: boolean; PeopleGroup?: Partial | null ; PeopleGroupId: number; Permission?: Partial | null ; PermissionId: number; StartDate: string; } export interface PermissionToPermissionManagerGroup { EndDate?: string | null ; Id: number; IsExpired?: boolean; PeopleGroup?: Partial | null ; PeopleGroupId: number; Permission?: Partial | null ; PermissionId: number; StartDate: string; } export interface Person { AcademyCourseAdminPeople: Array>; AcademyIssuedCertificates: Array>; AccountType: AccountTypeString; ActivityCreatedByPeople: Array>; ActivityPersonAffecteds: Array>; ActivityPlanners: Array>; ActivityRequestors: Array>; AdditionalTeamMemberToPeople: Array>; AdminForCarrierAppointmentCompanySettings: Array>; AdminPersonToTvInstance: Array>; AdminRaters: Array>; AffectedPersonJobRoleChangeLogs: Array>; AgencyCommissionRateCreatorPeople: Array>; AgencyCommissionRateLastModifiedByPeople: Array>; AgencyPartnerProjectRequests: Array>; AgencyViewerToPeople: Array>; AgencyZoomUsers: Array>; AgentLicenses: Array>; Ams360Access: Array>; AnneOLeavittAwardNominationAwardedByPeople: Array>; AnneOLeavittAwardNominationCreatorPeople: Array>; AnneOLeavittAwardNominationNominatedPeople: Array>; AppointedCarrierAppointments: Array>; ApprovedExpenseForms: Array>; AssignedOffboardingAccounts: Array>; AssignedWorkforceTasks: Array>; AssignedWorkforceTaskTemplates: Array>; AttachmentDeletedByPeople: Array>; AttachmentOwners: Array>; AuditableEmployeeChanges: Array>; AuthenticationType: AuthenticationTypeString; AwardedGameManuallyIssuedRewards: Array>; Biography?: string | null ; BlockedPhoneContacts: Array>; BoBCompositionCreatorPeople: Array>; BoBCompositionLastModifiedByPeople: Array>; BrokerDisclosureCompanySettings: Array>; BrokerDisclosureLastModifiedByPeople: Array>; BusinessCardTemplateCreatorPeople: Array>; BusinessCardTemplateLastModifiedByPeople: Array>; CancelledLeavittLegendsOrderItems: Array>; ChangedJobRoleChangeLogs: Array>; CirclesOfExcellenceAplApprovedByPeople: Array>; CirclesOfExcellenceAplApprovedPeople: Array>; CirclesOfExcellenceSales: Array>; CirclesOfExcellenceSalesLastModifiedBy: Array>; CLGamePlayerGroupToPeople: Array>; CLGamePointCreatorPeople: Array>; CLGamePointDeletedByPeople: Array>; CLGamePointLastModifiedByPeople: Array>; CLGameScoreboardBlackLists: Array>; ClientPortalChangeRequestsReplies: Array>; ClientPortalClientAssociations: Array>; ClientPortalClientUsers: Array>; ClientPortalCompanySettings: Array>; Company?: Partial | null ; CompanyAddress?: Partial | null ; CompanyAddressCity?: string | null ; CompanyAddressCountry?: string | null ; CompanyAddressCounty?: string | null ; CompanyAddressId?: number | null ; CompanyAddressState?: string | null ; CompanyAddressStreet1?: string | null ; CompanyAddressStreet2?: string | null ; CompanyAddressZip?: string | null ; CompanyGroups: Array>; CompanyId?: number | null ; CompanyName?: string | null ; CompanyOwners: Array>; ConnectedActivities: Array>; ConnectedServiceCategories: Array>; ContactCarrierAppointments: Array>; Contacts: Array>; CourseAdminCreatorPeople: Array>; CourseAdminLastModifiedByPeople: Array>; CourseAdminPeople: Array>; CourseAdminPeopleGroupCreatorPeople: Array>; CourseAdminPeopleGroupLastModifiedByPeople: Array>; CourseAssigneePeople: Array>; CourseEffectiveAssigneePeople: Array>; CourseGrades: Array>; CourseParticipantStatuses: Array>; CreatedAcademyChanges: Array>; CreatedAcademyCourses: Array>; CreatedAcademyLessons: Array>; CreatedAcademyTestAnswers: Array>; CreatedAcademyTestQuestions: Array>; CreatedAms360Reports: Array>; CreatedBulkImports: Array>; CreatedByExpenseBudgets: Array>; CreatedByExpenseForms: Array>; CreatedByExpenseItems: Array>; CreatedByForms: Array>; CreatedCarrierAppointmentCarrierStates: Array>; CreatedCarrierAppointmentCompanySettings: Array>; CreatedCarrierAppointments: Array>; CreatedChampionMeetings: Array>; CreatedClientPortalChangeRequests: Array>; CreatedClientPortalClientAssociations: Array>; CreatedConversations: Array>; CreatedCourseTopics: Array>; CreatedCrossSellListings: Array>; CreatedDate?: string | null ; CreatedDocugamiAccounts: Array>; CreatedDocugamiDocuments: Array>; CreatedDuplicateSearchLogs: Array>; CreatedEducationChangeLogs: Array>; CreatedEducationTests: Array>; CreatedExpenseForms: Array>; CreatedExpenseItems: Array>; CreatedGameManuallyIssuedRewards: Array>; CreatedGoogleMessageIntegrations: Array>; CreatedLeavittLegendOrders: Array>; CreatedLessonFolders: Array>; CreatedListings: Array>; CreatedMileageRates: Array>; CreatedOffboardings: Array>; CreatedOnboardings: Array>; CreatedPeopleGroups: Array>; CreatedPolicySales: Array>; CreatedProducerAnnualPlans: Array>; CreatedQuoteRequests: Array>; CreatedRecruitingCandidateNotes: Array>; CreatedRecruitingCandidates: Array>; CreatedRecruitingCompanyNotes: Array>; CreatedRecruitingProjectActivities: Array>; CreatedRecruitingProjectCosts: Array>; CreatedRecruitingProjectRequests: Array>; CreatedRecruitingProjects: Array>; CreatedRecruitingProjectToCandidate: Array>; CreatedRenewals: Array>; CreatedRenewalTemplates: Array>; CreatedShareAgreements: Array>; CreatedTeamSplitPercentages: Array>; CreatedTeamSplits: Array>; CreatedTransfers: Array>; CreatedV2SurgePoints: Array>; CreatedVehicleNotes: Array>; CreatedVehicleReservations: Array>; CreatedWorkforceEmployeeChanges: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ CreatedXSellListings: Array>; CreditedServiceDate?: string | null ; CReportComments: Array>; CrmAccounts: Array>; CrmCommissions: Array>; CrmLeadOwnerForms: Array>; CrmLeads: Array>; CrossSellAdminPeople: Array>; CrossSellLegalPeople: Array>; CrossSellListingConversations: Array>; CrossSellListingMessages: Array>; CrossSellListingNotificationEmailLogs: Array>; CrossSellMonthlyRecapRecipientPeople: Array>; CrossSellSiteAlerts: Array>; CrossSellTeamedUpApprovedByListings: Array>; CrossSellTeamedUpDeniedByListings: Array>; CrossSellTeamedUpListings: Array>; CrossSellUserPeople: Array>; CrossSellViewedListingToPeople: Array>; CultureClubNominationAwardedByPeople: Array>; CultureClubNominationCreatorPeople: Array>; CultureClubNominationNominatedPeople: Array>; CultureRecognitionNominationV2AwardedByPeople: Array>; CultureRecognitionNominationV2CreatorPeople: Array>; CultureRecognitionNominationV2NominatedPeople: Array>; DateOfBirth?: string | null ; DeletedCarrierAppointmentCarrierStates: Array>; DeletedV2SurgePoints: Array>; DeniedCarrierAppointments: Array>; Department?: Partial | null ; DepartmentId?: number | null ; DepartmentName?: string | null ; DepartmentPrimaryContacts: Array>; DifferedCompensationBreakdownCreatorPeople: Array>; DifferedCompensationBreakdownLastModifiedByPeople: Array>; DifferedCompensationCreatorPeople: Array>; DifferedCompensationLastModifiedByPeople: Array>; DocumentCreatorPeople: Array>; DocumentDeletedByPeople: Array>; DocumentTypes: Array>; EditedQuoteRequests: Array>; EducationAnswerCreatorPeople: Array>; EducationAnswerLastModifiedByPeople: Array>; EducationCourseCreatorPeople: Array>; EducationCourseLastModifiedByPeople: Array>; EducationJourneys: Array>; EducationLessonActivities: Array>; EducationLessonCreatorPeople: Array>; EducationLessonLastModifiedByPeople: Array>; EducationQuestionCreatorPeople: Array>; EducationQuestionLastModifiedByPeople: Array>; EffectiveEducationJourneys: Array>; EffectiveMemberToPeopleGroups: Array>; EmailAddresses: Array>; EmailStyles: Array>; EmailTemplateOptOutCreatorPeople: Array>; EmailTemplateOptOutDeletedByPeople: Array>; EmailTemplateOptOuts: Array>; EmailTemplateRecipients: Array>; EmailTemplates: Array>; EmailTemplatesLastModifiedByPeople: Array>; EmpCodeMappings: Array>; EmployeeChangeApprovals: Array>; EmployeeChanges: Array>; EmployeeTrainingLastModifiedByPeople: Array>; EmployeeTrainings: Array>; EmploymentType?: EmploymentTypeString | null ; ExpectationCreatorPeople: Array>; ExpectationLastModifiedByPeople: Array>; ExpenseBudgetAdjustments: Array>; ExpenseBudgets: Array>; ExpenseBudgetUserSettings: Array>; FenrisLookupRequests: Array>; FileExplorerAdminships: Array>; FileExplorerAttachments: Array>; FileExplorerFolders: Array>; FileExplorerViewerships: Array>; FirstName: string; FormResponses: Array>; FormToAudiencePeople: Array>; FormToNotifyeePeople: Array>; FromPersonConversations: Array>; FruitsToPeople: Array>; FullName?: string | null ; GamePointsOverrideFromPeople: Array>; GamePointsOverrideToPeople: Array>; Gender?: string | null ; GlobalViewerToPeople: Array>; GooglePlacesManaged: Array>; HashOfSalary?: string | null ; HideManager?: boolean; HireDate?: string | null ; HiringManagerRecruitingProjectRequests: Array>; HomeAddress?: Partial | null ; Id: number; InactiveDate?: string | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ InterestedLinesOfBusiness: Array>; IsActive?: boolean; IsExcludedLegendsPerson?: boolean; IsRemoteEmployee?: boolean; IssuedCertificates: Array>; Issues: Array>; IsTestUser?: boolean; JobRoleCreatorPeople: Array>; JobRoleLastModifiedByPeople: Array>; JobRoles: Array>; JobRoleTypeAssignerPeople: Array>; JobRoleTypeCreatorPeople: Array>; JobRoleTypeLastModifiedByPeople: Array>; JobTitle?: string | null ; LastModifiedDate?: string | null ; LastModifiedPolicySales: Array>; LastModifiedProducerAnnualPlans: Array>; LastModifiedRecruitingCandidates: Array>; LastModifiedRecruitingCompanyNotes: Array>; LastModifiedRecruitingProjects: Array>; LastModifiedRenewals: Array>; LastModifiedRenewalTemplates: Array>; LastName: string; LeavittFitChallengeParticipants: Array>; LeavittFitChallengePeople: Array>; LeavittFitInvitations: Array>; LeavittGroupTelemarketingEntries: Array>; LeavittGroupTelemarketingEntryChanges: Array>; LeavittLegendOrders: Array>; LeavittLegendsAdditionalEmailRecipients: Array>; LedgerItems: Array>; LedgerManualIssuedCredits: Array>; LessonGrades: Array>; LessonParticipantStatuses: Array>; LGEmployeeRoleToCompanyAddressCreatedBy: Array>; LGEmployeeRoleToCompanyAddressLastModifiedBy: Array>; ManagedPeople: Array>; ManagerPerson?: Partial | null ; ManagerPersonId?: number | null ; MessagesCompanyAdminToPeople: Array>; MessagesUserSetting?: Partial | null ; MessageTemplates: Array>; MiddleName?: string | null ; ModifiedAcademyCourses: Array>; ModifiedAcademyLessons: Array>; ModifiedAcademyTestAnswers: Array>; ModifiedAcademyTestQuestions: Array>; ModifiedCourseTopics: Array>; ModifiedEducationTests: Array>; ModifiedExpenseForms: Array>; ModifiedForms: Array>; ModifiedPeopleGroups: Array>; ModifiedRoles: Array>; ModifiedTeamSplitPercentages: Array>; ModifiedTeamSplits: Array>; ModifiedV2SurgePoints: Array>; ModifiedVehicleReservations: Array>; MondayAccount?: Partial | null ; Name?: string | null ; /** * @deprecated Can be removed when fully switched to Auth0 */ OAuthClientGrants: Array>; Offboardings: Array>; Onboardings: Array>; OriginalHireDate?: string | null ; OwnedBulkImports: Array>; PaidExpenseForms: Array>; ParticipantConversations: Array>; PeopleCampaignEditors: Array>; PeopleGroupToManagerPersons: Array>; PermissionManagerToPermissions: Array>; PersonAdpAccount?: Partial | null ; PersonAuth0Account?: Partial | null ; PersonLdapAccount?: Partial | null ; PersonNames: Array>; PersonToItManagedApplications: Array>; PersonToPeopleGroups: Array>; PersonToPermissions: Array>; PersonToTvSlides: Array>; PhoneCalls: Array>; PhoneExtension?: string | null ; PhoneNumbers: Array>; PlayerPointCaches: Array>; PolicySales: Array>; PreferredFirstName?: string | null ; PreviousAccountType: AccountTypeString; PrimaryContactCompanies: Array>; PrimaryWorkEmailAddress?: string | null ; ProducerAnnualPlans: Array>; ProducerAssumptionCreatorPeople: Array>; ProducerAssumptionLastModifiedByPeople: Array>; ProducerCenterQuestionLastModifiedByPeople: Array>; ProducerCommissionRateCreatorPeople: Array>; ProducerCommissionRateLastModifiedByPeople: Array>; ProducerContactRequests: Array>; ProducerLOBPercentages: Array>; ProducerProductionBudgets: Array>; ProducerQuestionAnswerCreatorPeople: Array>; ProducerQuestionAnswerOptionLastModifiedByPeople: Array>; ProducerQuestionCreatorPeople: Array>; ProducerQuestionResponseCreatorPeople: Array>; ProducerQuestionResponses: Array>; ProfilePictureCdnFileName?: string | null ; ProfilePicturePreviewExtension?: string | null ; ProfilePicturePreviewSizes?: string | null ; ProspectiveProducerOnboardings: Array>; PublicRecordSearches: Array>; Raters: Array>; ReadMessages: Array>; RecruitingCandidate?: Partial | null ; RecruitingInstanceToAdminPeople: Array>; RecruitingInstanceToUserPeople: Array>; RecruitingProjectToLeaders: Array>; /** * @deprecated Can be removed when fully switched to Auth0 */ RefreshTokenPeople: Array>; /** * @deprecated Can be removed when fully switched to Auth0 */ RefreshTokenRevokerPeople: Array>; ReportingDeferredCompensationBreakdownCreatorPeople: Array>; ReportingDeferredCompensationBreakdownLastModifiedByPeople: Array>; ReportingDeferredCompensationCreatorPeople: Array>; ReportingDeferredCompensationLastModifiedByPeople: Array>; ReportingDeferredCompensationProducers: Array>; RepresentativeConversations: Array>; RepresentativeOutboundNumbers: Array>; RequestApprovedExpenseForms: Array>; RequestedRoles: Array>; RequestPayerExpenseForms: Array>; ReviewedCompanyLeases: Array>; ReviewedShareAgreements: Array>; RoleCreatorPeople: Array>; Roles: Array>; RolesCreated: Array>; SalesExpectations: Array>; SalesExpectationsCreated: Array>; SalesExpectationsLastModified: Array>; SalesExpectationStatusApprovers: Array>; SalesExpectationStatusReviewers: Array>; SalesExpectationStatusReviewRequesters: Array>; SambaPublicRecordActivityHistorySearches: Array>; SambaPublicRecordLicenseVerificationSearches: Array>; SambaPublicRecordTransactionalMVRSearches: Array>; SentPhoneMessages: Array>; ServiceToChampions: Array>; ServiceToCompanyToChampions: Array>; SetAMS360PermissionsSimilarToOnboardings: Array>; SetPermissionsSimilarToOnboardings: Array>; ShareAgreements: Array>; SharedLessonFolders: Array>; ShippedLeavittLegendsOrderItems: Array>; Signatures: Array>; SignatureTemplates: Array>; StationeryCart?: Partial | null ; StationeryCreatorPeople: Array>; StationeryLastModifiedByPeople: Array>; StationeryOrders: Array>; STContacts: Array>; SubmittedCarrierAppointments: Array>; SupplementalApproverCreatedByPeople: Array>; SupplementalApprovers: Array>; SupplementalSubmitters: Array>; SurveyAdminCreatorPeopleV2: Array>; SurveyAdminLastModifiedByPeopleV2: Array>; SurveyAdminPeopleV2: Array>; SurveyAdminToPeopleGroupCreatorPeopleV2: Array>; SurveyAdminToPeopleGroupLastModifiedByPeopleV2: Array>; SurveyAnswerCreatorPeopleV2: Array>; SurveyAnswerLastModifiedByPeopleV2: Array>; SurveyCreatorPeopleV2: Array>; SurveyLastModifiedByPeopleV2: Array>; SurveyParticipantsV2: Array>; SurveyQuestionCreatorPeopleV2: Array>; SurveyQuestionLastModifiedByPeopleV2: Array>; SurveyResponsesV2: Array>; TeamSplit?: Partial | null ; TeamSplitId?: number | null ; TeamSplitPercentage?: Partial | null ; TerminatedCarrierAppointments: Array>; TestGrades: Array>; TimelineCreators: Array>; TimelineLastModifiedBies: Array>; TimelineTemplates: Array>; TimelineTemplateToCompanies: Array>; TimeSupervisorOnboardings: Array>; ToPersonConversations: Array>; Transfers: Array>; TSDOnboardings: Array>; TypesOfInsuranceSold: TypesOfInsuranceSoldString; UnsubscribedConversations: Array>; UpdatedDocugamiAccounts: Array>; UpdatedDocugamiDocuments: Array>; UpdatedListings: Array>; /** * @deprecated Use AuthenticationType and AccountType instead */ UserRoleType: UserRoleTypeString; V2SurgePoints: Array>; VehicleReservations: Array>; VettedProducers: Array>; VettedProducersApproved: Array>; VettedProducersCreated: Array>; WorkforceTasks: Array>; WorkforceTasksCompleted: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellListingInterestedPeople: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellListingMessages: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellListingNotificationEmailsReceived: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellTeamedUpListings: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellViewedListingToPeople: Array>; } export interface PersonAdpAccount { ADPAssociateOId?: string | null ; Id: number; Person?: Partial | null ; WorkerID?: string | null ; } export interface PersonAuth0Account { Blocked?: boolean; Email: string; Id: number; InviteEmailSent?: string | null ; LastTokenIssuanceDate?: string | null ; Person?: Partial | null ; UserAgent?: string | null ; UserId: string; } export interface PersonEmailAddress extends EmailAddress { Person?: Partial | null ; PersonId: number; } export interface PersonHomeAddress extends IAddress { Person?: Partial | null ; } export interface PersonLdapAccount { CreatedDate: string; DistinguishedName?: string | null ; Guid?: string | null ; Id: number; IsAccountDisabled?: boolean; LastModifiedDate?: string | null ; MailboxEnabled?: boolean | null ; Person?: Partial | null ; SamAccountName?: string | null ; Sid?: string | null ; } export interface PersonName { CreatedDate: string; EndDate?: string | null ; FirstName: string; Id: number; IsExpired?: boolean; LastModifiedDate: string; LastName: string; MiddleName?: string | null ; Person?: Partial | null ; PersonId: number; StartDate: string; Type: PersonNameTypeString; } export interface PersonPhoneNumber extends PhoneNumber { Person?: Partial | null ; PersonId: number; } export interface PersonRole extends Role { Person?: Partial | null ; PersonId: number; } export interface PersonToItManagedApplication { Id: number; ItManagedApplication?: Partial | null ; ItManagedApplicationId: number; Person?: Partial | null ; PersonId: number; } export interface PersonToPeopleGroup { CreatedDate: string; EndDate?: string | null ; ExcludeFromGroup?: boolean; Id: number; IsExpired?: boolean; LastModifiedDate: string; PeopleGroup?: Partial | null ; PeopleGroupId: number; Person?: Partial | null ; PersonId: number; StartDate: string; } export interface PersonToPermission { EndDate?: string | null ; Id: number; IsExpired?: boolean; Permission?: Partial | null ; PermissionId: number; Person?: Partial | null ; PersonId: number; StartDate: string; } export interface PhoneNumber extends IPhoneNumber { CreatedDate: string; EndDate?: string | null ; FullPhoneNumber: string; Id: number; IsExpired?: boolean; LastModifiedDate: string; PhoneNumberType: PhoneNumberTypeString; StartDate: string; } export interface ProfilePictureAttachment extends Attachment { } export interface RehiredEmployeeChange extends AuditableEmployeeChange { } export interface Role { CreatedDate: string; Discriminator?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedDate: string; StartDate: string; } export interface SalaryEmployeeChange extends AuditableEmployeeChange { } export interface Scope { CreatedDate: string; Description?: string | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; LastModifiedDate: string; Name: string; Permissions: Array>; StartDate: string; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface SMSAuthFactor extends AuthenticationFactor { DisplayName: string; IsVerified?: boolean; OneTimeCodes: Array>; PhoneNumber: string; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface SMSOneTimeCode { AttemptCount: number; Code: string; EndDate: string; Id: number; IsExpired?: boolean; SMSFactor?: Partial | null ; SMSFactorId: number; StartDate: string; } export interface TerminatedEmployeeChange extends AuditableEmployeeChange { } export interface TitleEmployeeChange extends AuditableEmployeeChange { NewTitle?: string | null ; OriginalTitle?: string | null ; } /** * @deprecated Can be removed when fully switched to Auth0 */ export interface TOTPAuthFactor extends AuthenticationFactor { DisplayName: string; IsVerified?: boolean; PreSharedKey: string; PreSharedKeyBase32: string; } export interface TransferAgencyEmployeeChange extends AuditableEmployeeChange { NewCompanyName?: string | null ; OriginalCompanyName?: string | null ; } export interface TypesOfInsuranceSoldEmployeeChange extends AuditableEmployeeChange { NewTypes?: string | null ; OriginalTypes?: string | null ; } export interface ConnectedActivity { CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; Id: number; ServiceToCompany?: Partial | null ; ServiceToCompanyId: number; } export interface ConnectedService { AcademyLessons: Array>; Categories: Array>; Champions: Array>; Companies: Array>; Description: string; ExcludedCompanies: Array>; Id: number; Image?: Partial | null ; IncludedCompanies: Array>; IsActive?: boolean; Lessons: Array>; Name: string; ServiceCost?: string | null ; ShowLicensing?: boolean; } export interface ConnectedServiceAttachment extends IDatabaseAttachment { ConnectedService?: Partial | null ; ConnectedServiceId: number; } export interface ConnectedServiceCategory { CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; Description?: string | null ; Id: number; Images: Array>; Name: string; ServiceToCategories: Array>; } export interface ConnectedServiceCategoryAttachment extends IDatabaseAttachment { ConnectedServiceCategory?: Partial | null ; ConnectedServiceCategoryId: number; } /** * @deprecated Use new models in Academy schema. */ export interface ConnectedServiceToEducationLesson { ConnectedService?: Partial | null ; ConnectedServiceId: number; EducationLesson?: Partial | null ; EducationLessonId: number; Id: number; } export interface ConnectedServiceToLesson { ConnectedService?: Partial | null ; ConnectedServiceId: number; Id: number; Lesson?: Partial | null ; LessonId: number; } export interface NoteActivity extends ConnectedActivity { Note?: string | null ; } export interface RequestedChampionMeeting { CompletedDate?: string | null ; CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; Id: number; IsCompleted?: boolean | null ; Notes?: string | null ; RequestedDate: string; ServiceToCompany?: Partial | null ; ServiceToCompanyId: number; Type: ChampionMeetingTypeString; } export interface ServiceToCategories { Category?: Partial | null ; CategoryId: number; Id: number; Service?: Partial | null ; ServiceId: number; } export interface ServiceToChampion { CreatedDate: string; Id: number; Person?: Partial | null ; PersonId: number; Service?: Partial | null ; ServiceId: number; } export interface ServiceToCompany { Activities: Array>; AgreementEndDate?: string | null ; AgreementStartDate?: string | null ; Champions: Array>; Company?: Partial | null ; CompanyId: number; CostPerLicense?: number | null ; CreatedDate: string; Documents: Array>; Id: number; NumOfLicenses?: number | null ; RequestedMeetings: Array>; Service?: Partial | null ; ServiceId: number; Status: ConnectedStatusString; UpdatedDate?: string | null ; } export interface ServiceToCompanyAttachment extends IDatabaseAttachment { ServiceToCompany?: Partial | null ; ServiceToCompanyId: number; } export interface ServiceToCompanyToChampion { CreatedDate: string; Id: number; Person?: Partial | null ; PersonId: number; ServiceToCompany?: Partial | null ; ServiceToCompanyId: number; } export interface ServiceToExcludedCompany { CompanyId: number; ExcludedCompany?: Partial | null ; Id: number; Service?: Partial | null ; ServiceId: number; } export interface ServiceToIncludedCompany { CompanyId: number; Id: number; IncludedCompany?: Partial | null ; Service?: Partial | null ; ServiceId: number; } export interface StatusChangedActivity extends ConnectedActivity { Status: ConnectedStatusString; } export interface ClaimChangeRequest extends ClientPortalChangeRequest { FromIncidentDate?: string | null ; ToIncidentDate?: string | null ; } export interface ClientPortalAdditionalTeamMemberToPerson { ClientPortalCompanySetting?: Partial | null ; ClientPortalCompanySettingId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface ClientPortalAms360Customer { ClientPortalChangeRequests: Array>; ClientPortalClientAssociations: Array>; Company?: Partial | null ; CompanyId: number; CustId: string; Datasource: string; Id: number; Name?: string | null ; Renewals: Array>; } export interface ClientPortalChangeRequest { Action: ChangeRequestActionString; AMS360UniqueId?: string | null ; ClientPortalAms360Customer?: Partial | null ; ClientPortalAms360CustomerId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; CreatedDate: string; DataSource: string; Id: number; LastEmailSentToClient?: string | null ; LOB?: string | null ; Note?: string | null ; PackageLOBs?: string | null ; PolicyId: string; PolicyNumber?: string | null ; ReplierPerson?: Partial | null ; ReplierPersonId?: number | null ; Reply?: string | null ; ReplyDate?: string | null ; /** * @deprecated Can be removed when not used in master */ ReplyEmailSentToClient?: boolean; Status: ChangeRequestStatusString; /** * @deprecated Can be removed when not used in master */ StatusEmailSentToClient?: boolean; WritingCompany?: string | null ; } export interface ClientPortalClientAssociation extends IExpirable { Ams360CustomerId: number; ClientPortalAms360Customer?: Partial | null ; CreatedByPerson?: Partial | null ; CreatedByPersonId?: number | null ; Id: number; Person?: Partial | null ; PersonId: number; } export interface ClientPortalClientUser { Company?: Partial | null ; CompanyId: number; CreatedDate: string; Id: number; Person?: Partial | null ; PersonId: number; } export interface ClientPortalCompanySetting { AdditionalTeamMemberToPeople: Array>; ClientPortalCompanySettingAdmins: Array>; ClientPortalCompanySettingPeopleGroupAdmins: Array>; Company?: Partial | null ; Id: number; } export interface ClientPortalCompanySettingAdminToPerson { ClientPortalCompanySetting?: Partial | null ; ClientPortalCompanySettingId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface ClientPortalCompanySettingPeopleGroupAdmin { ClientPortalCompanySetting?: Partial | null ; ClientPortalCompanySettingId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface DriverChangeRequest extends ClientPortalChangeRequest { FromDateOfBirth?: string | null ; FromGender?: string | null ; FromName?: string | null ; ToDateOfBirth?: string | null ; ToGender?: string | null ; ToName?: string | null ; } export interface FleetVehicleChangeRequest extends ClientPortalChangeRequest { FromLeasedCount?: string | null ; FromNotOwnedCount?: string | null ; FromOwnedCount?: string | null ; FromVehicleType?: string | null ; ToLeasedCount?: string | null ; ToNotOwnedCount?: string | null ; ToOwnedCount?: string | null ; ToVehicleType?: string | null ; } export interface PolicyDetailChangeRequest extends ClientPortalChangeRequest { } export interface Renewal { ClientPortalAms360Customer?: Partial | null ; ClientPortalAms360CustomerId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; CustomerName?: string | null ; DataSource: string; DueDate?: string | null ; Id: number; Items: Array>; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; PolicyEffectiveDate?: string | null ; PolicyExpirationDate?: string | null ; PolicyId: string; PolicyLob?: string | null ; PolicyNumber?: string | null ; PolicyWritingCompany?: string | null ; Status: RenewalStatusTypeString; } export interface RenewalItem { ClientResponse?: string | null ; CollectDocuments?: boolean; CollectResponse?: boolean; DateClientWasNotified?: string | null ; Description: string; Documents: Array>; DueDate: string; Id: number; IsActive?: boolean; Name: string; ProvidedDocuments: Array>; Renewal?: Partial | null ; RenewalId: number; RenewalTemplateItem?: Partial | null ; RenewalTemplateItemId?: number | null ; ResponsibleParty: ResponsiblePartyTypeString; Status: RenewalItemStatusTypeString; } export interface RenewalItemDocument extends IDatabaseAttachment { RenewalItem?: Partial | null ; RenewalItemId: number; } export interface RenewalItemProvidedDocument extends IDatabaseAttachment { RenewalItem?: Partial | null ; RenewalItemId: number; } export interface RenewalTemplate { Company?: Partial | null ; CompanyId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; Id: number; IsActive?: boolean; Items: Array>; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId: number; LastModifiedDate?: string | null ; Name: string; } export interface RenewalTemplateItem { CollectDocuments?: boolean; CollectResponse?: boolean; Description?: string | null ; Documents: Array>; Id: number; Name: string; OffsetDueDate: number; RenewalItems: Array>; RenewalTemplate?: Partial | null ; RenewalTemplateId: number; ResponsibleParty: ResponsiblePartyTypeString; } export interface RenewalTemplateItemDocument extends IDatabaseAttachment { RenewalTemplateItem?: Partial | null ; RenewalTemplateItemId: number; } export interface VehicleChangeRequest extends ClientPortalChangeRequest { FromBodyType?: string | null ; FromMake?: string | null ; FromModel?: string | null ; FromVin?: string | null ; FromYear?: string | null ; ToBodyType?: string | null ; ToMake?: string | null ; ToModel?: string | null ; ToVin?: string | null ; ToYear?: string | null ; } export interface CLGame { CLGamePlayerGroups: Array>; CrmInstance: number; CrossSellInstance?: Partial | null ; Divisions: Array>; EnableThirdPartyPointSync?: boolean; EndDate?: string | null ; GracePeriod: string; HasStarted?: boolean; Id: number; IsBlackedOut?: boolean; IsDeleted?: boolean; IsDevelopment?: boolean; IsGameOver?: boolean; IsPreQualification?: boolean; Mark?: Partial | null ; Name: string; Players: Array>; PointNameLabel?: string | null ; PointQuestions: Array>; PointType: GamePointTypeString; RewardTypes: Array>; Rules?: string | null ; Scoreboards: Array>; ScoringType: ScoringTypeString; Segments: Array>; SegmentTypes: Array>; Slides: Array>; SponsorLabel?: string | null ; Sponsors: Array>; StartDate?: string | null ; Teams: Array>; ThirdPartyPointSyncScoring?: ThirdPartyPointSyncScoringTypeString | null ; TimeZone: string; Videos: Array>; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellSetting?: Partial | null ; } export interface CLGameCarouselSlideAttachment extends IDatabaseAttachment { CLEnabled?: boolean; CLGame?: Partial | null ; CLGameId: number; CLLink?: string | null ; CLSequence: number; } export interface CLGameDivision { CLGame?: Partial | null ; CLGameDivisionToTeams: Array>; CLGameId: number; CLGamePrizes: Array>; Id: number; Name: string; Sequence: number; } export interface CLGameDivisionToTeam { Division?: Partial | null ; DivisionId: number; Id: number; Segment?: Partial | null ; SegmentId: number; Team?: Partial | null ; TeamId: number; } export interface ClGameMark extends IDatabaseAttachment { CLGame: Partial; } export interface CLGamePersonToCLGamePersonPointOverride { FromGamePerson?: Partial | null ; FromGamePersonId: number; Id: number; ToGamePerson?: Partial | null ; ToGamePersonId: number; } export interface CLGamePlayerGroup { CLGame?: Partial | null ; CLGameId: number; Id: number; Name: string; PlayerGroups: Array>; Players: Array>; } export interface CLGamePlayerGroupToPerson { EndDate?: string | null ; Id: number; IsExpired?: boolean; Person?: Partial | null ; PersonId: number; PlayerGroup?: Partial | null ; PlayerGroupId: number; StartDate: string; } export interface CLGamePlayerPersonRole extends PersonRole { CLGame?: Partial | null ; CLGameId: number; EmailLogs: Array>; } export interface CLGamePoint { Amount: number; AMS360DataSource?: string | null ; AMS360Id?: string | null ; Answers: Array>; ClientName: string; CommissionSplitId?: string | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; DeletedByPerson?: Partial | null ; DeletedByPersonId?: number | null ; DeletedDate?: string | null ; EffectiveDate: string; Id: number; IsDeleted?: boolean; IsEditedByAdmin?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; ListerCreatedCrossSellListing?: Partial | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ ListerCreatedXSellListing?: Partial | null ; ListerCrossSellListing?: Partial | null ; ListerSoldCrossSellListing?: Partial | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ ListerSoldXSellListing?: Partial | null ; ListerTeamedUpCrossSellListing?: Partial | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ ListerTeamedUpXSellListing?: Partial | null ; /** * @deprecated Can be removed in next drop migration */ ListerXSellListing?: Partial | null ; Source: CLGamePointSourceTypeString; Sponsor?: Partial | null ; SponsorId?: number | null ; TeamedUpCrossSellListing?: Partial | null ; /** * @deprecated Can be removed in next drop migration */ TeamedUpXSellListing?: Partial | null ; TeamPersonRole?: Partial | null ; TeamPersonRoleId: number; TeamUpPersonSoldCrossSellListing?: Partial | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ TeamUpPersonSoldXSellListing?: Partial | null ; TeamUpPersonTeamedUpCrossSellListing?: Partial | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ TeamUpPersonTeamedUpXSellListing?: Partial | null ; } export interface CLGamePrize { Amount?: number | null ; GrandPrizeName?: string | null ; Id: number; Scoreboard?: Partial | null ; ScoreboardId: number; } export interface CLGamePrizeDistribution { Id: number; Percent: number; RankOnTeam: number; Scoreboard?: Partial | null ; ScoreboardId: number; } export interface CLGameQualificationEmailLog { DateSent: string; Id: number; PlayerPersonRole: Partial; PlayerPersonRoleId: number; Scoreboard: Partial; ScoreboardId: number; Type: CLGameQualificationEmailTypeString; } export interface CLGameRankedPrize extends CLGamePrize { Rank: number; } export interface CLGameScoreboard { BlackListedPeople: Array>; CLGame?: Partial | null ; CLGameId: number; CLGamePrizeDistributions: Array>; CLGameScoreboardToSponsors: Array>; EmailLogs: Array>; IconName?: string | null ; Id: number; IsEnabled?: boolean; ManagementQualificationEmailRecipients?: string | null ; MinPrizeCutoffQualificationAmount: number; Name: string; PlayerGroups: Array>; PlayerQualificationEmailTemplate?: Partial | null ; PlayerQualificationEmailTemplateId?: number | null ; PointQuestions: Array>; Prizes: Array>; RewardType?: Partial | null ; RewardTypeId?: number | null ; SegmentType?: Partial | null ; SegmentTypeId?: number | null ; SendManagementQualificationEmails?: boolean; SendPlayerQualificationEmails?: boolean; Sequence: number; Take?: number | null ; WebComponentHTMLTag?: string | null ; } export interface CLGameScoreboardBlackList { Created: string; Id: number; Person?: Partial | null ; PersonId: number; Scoreboard?: Partial | null ; ScoreboardId: number; } export interface CLGameScoreboardToPlayerGroup { Id: number; PlayerGroup?: Partial | null ; PlayerGroupId: number; Scoreboard?: Partial | null ; ScoreboardId: number; } export interface CLGameScoreboardToSponsor { Id: number; Scoreboard: Partial; ScoreboardId: number; Sponsor: Partial; SponsorId: number; } export interface CLGameSegment { CLGame?: Partial | null ; CLGameId: number; DivisionToTeams: Array>; EndDate: string; Id: number; Name: string; Prizes: Array>; RewardCriterias: Array>; StartDate: string; Type?: Partial | null ; TypeId: number; } export interface CLGameSegmentToTeamReportPrize { Id: number; Segment?: Partial | null ; SegmentId: number; TeamReportPrize?: Partial | null ; TeamReportPrizeId: number; } export interface CLGameSegmentType { CLGame?: Partial | null ; CLGameId: number; Id: number; IsPrimaryGameSegment?: boolean; Name: string; Scoreboards: Array>; Segments: Array>; } export interface CLGameSponsor { CLGame?: Partial | null ; CLGameId: number; CLGameScoreboardToSponsors: Array>; CRMCarrierContainsTerms?: string | null ; Id: number; Name: string; Points: Array>; ThirdPartyCarrierContainsTerms?: string | null ; } export interface CLGameTeam { CLGame?: Partial | null ; CLGameId: number; CLGameTeamThumbnailAttachment?: Partial | null ; Divisions: Array>; Id: number; Image?: Partial | null ; Name: string; Players: Array>; } export interface CLGameTeamAttachment extends IDatabaseAttachment { Team?: Partial | null ; } export interface CLGameTeamPersonRole extends PersonRole { CLTeam?: Partial | null ; CLTeamId: number; IsCLTeamCaptain?: boolean; Points: Array>; } export interface CLGameTeamReportPrize extends CLGameRankedPrize { Division?: Partial | null ; DivisionId: number; Segments: Array>; } export interface CLGameTeamThumbnailAttachment extends IDatabaseAttachment { Team?: Partial | null ; } export interface CLGameThresholdPrize extends CLGamePrize { PerPersonLimit?: number | null ; Threshold: number; } export interface CLGameVideo { CLGame?: Partial | null ; CLGameId: number; Id: number; IsEnabled?: boolean; Name: string; Sequence: number; YoutubeKey?: string | null ; } export interface GameManuallyIssuedReward { Amount: number; CreatedBy?: Partial | null ; CreatedById: number; CreatedDate: string; Id: number; Note?: string | null ; Person?: Partial | null ; PersonId: number; Type?: Partial | null ; TypeId: number; } export interface GamePointAnswer { FreeformText?: string | null ; Id: number; Option?: Partial | null ; OptionId?: number | null ; Point?: Partial | null ; PointId: number; Question?: Partial | null ; QuestionId: number; Value: number; } export interface GamePointQuestion { Answers: Array>; CrossSellInstanceListingCreatedPointQuestion?: Partial | null ; CrossSellInstanceListingStatusPointQuestion?: Partial | null ; Game?: Partial | null ; GameId: number; Id: number; IsActive?: boolean; Options: Array>; QuestionValue?: number | null ; ScoreboardToGamePointQuestions: Array>; Sequence: number; Title: string; Type: GamePointQuestionTypeString; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellCreatedSetting?: Partial | null ; /** * @deprecated XSell feature is obsolete. Use CrossSell feature instead. */ XSellStatusSetting?: Partial | null ; } export interface GamePointQuestionOption { Answers: Array>; IconName: string; Id: number; Name: string; Question?: Partial | null ; QuestionId: number; Value: number; } export interface GameRewardCriteria { Id: number; MaximumPerPlayerPerSegment?: number | null ; Segments: Array>; TokensToIssue?: number | null ; Type?: Partial | null ; TypeId: number; } export interface GameRewardCriteriaToSegment { Id: number; RewardCriteria?: Partial | null ; RewardCriteriaId: number; Segment?: Partial | null ; SegmentId: number; } export interface GameRewardType { Game?: Partial | null ; GameId: number; IconName?: string | null ; Id: number; ManuallyIssuedRewards: Array>; Name: string; RewardCriterias: Array>; Scoreboards: Array>; } export interface GameWrittenRewardCriteria extends GameRewardCriteria { QualifyingAmount: number; } export interface ScoreboardToGamePointQuestion { CLGameScoreboardId: number; GamePointQuestionId: number; Id: number; PointCap?: number | null ; PointQuestion?: Partial | null ; Scoreboard?: Partial | null ; } export interface CirclesOfExcellenceAplApproval { ApprovedByPerson?: Partial | null ; ApprovedByPersonId: number; Id: number; LastApprovalDate?: string | null ; Person?: Partial | null ; PersonId: number; Year: number; } export interface CirclesOfExcellenceCompanySettings { CalculationType: CirclesOfExcellenceCalculationTypeString; Company?: Partial | null ; CompanyId: number; DisableTripCheck1?: boolean; Id: number; IsQualifiedForAgencyExcellence?: boolean; NBSAboveCutoffQualifyingAmount?: number | null ; NBSBelowCutoffQualifyingAmount: number; NBSBookedCutoffAmount?: number | null ; SalesLeader?: string | null ; TripCheck1QualificationAmount: number; TripCheck2PersonalQualificationAmount: number; TripCheck3Under3YearQualificationAmount: number; TripCheck5PositiveChangeQualificationAmount: number; TripCheck5QualificationAmountRegardlessOfBookDifference: number; TripQualifierNetBookGrowthAmount: number; Year: number; } export interface CirclesOfExcellenceSales { ChairmansCircleQualificationExclusion: ChairmansCircleQualificationTypeString; CreatedDate: string; Id: number; IsQualifiedForCoeTrip?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Month: number; NewToDateCommercialBooked: number; NewToDateCommercialNetGrowth: number; NewToDateCommercialWritten: number; NewToDatePersonalBooked: number; NewToDatePersonalNetGrowth: number; NewToDatePersonalWritten: number; OverWrittenNewToDateCommercialBooked?: number | null ; OverwrittenNewToDateCommercialNetGrowth?: number | null ; OverWrittenNewToDateCommercialWritten?: number | null ; OverWrittenNewToDatePersonalBooked?: number | null ; OverwrittenNewToDatePersonalNetGrowth?: number | null ; OverWrittenNewToDatePersonalWritten?: number | null ; OverWrittenRenewedToDateCommercialBooked?: number | null ; OverwrittenRenewedToDateCommercialNetGrowth?: number | null ; OverWrittenRenewedToDateCommercialWritten?: number | null ; OverWrittenRenewedToDatePersonalBooked?: number | null ; OverwrittenRenewedToDatePersonalNetGrowth?: number | null ; OverWrittenRenewedToDatePersonalWritten?: number | null ; Person?: Partial | null ; PersonId: number; ProjectedNewToDateCommercialBooked: number; ProjectedNewToDateCommercialNetGrowth: number; ProjectedNewToDateCommercialWritten: number; ProjectedNewToDatePersonalBooked: number; ProjectedNewToDatePersonalNetGrowth: number; ProjectedNewToDatePersonalWritten: number; ProjectedRenewedToDateCommercialBooked: number; ProjectedRenewedToDateCommercialNetGrowth: number; ProjectedRenewedToDateCommercialWritten: number; ProjectedRenewedToDatePersonalBooked: number; ProjectedRenewedToDatePersonalNetGrowth: number; ProjectedRenewedToDatePersonalWritten: number; RenewedToDateCommercialBooked: number; RenewedToDateCommercialNetGrowth: number; RenewedToDateCommercialWritten: number; RenewedToDatePersonalBooked: number; RenewedToDatePersonalNetGrowth: number; RenewedToDatePersonalWritten: number; Year: number; } export interface CirclesOfExcellenceSettings { ChairmansCircleMinimumGrowth: number; ChairmansCircleMinimumTimeWithAgency: number; EliteCircleDiamondQualificationAmount: number; EliteCircleGoldQualificationAmount: number; EliteCircleMinimumNewBusiness: number; EliteCirclePlatinumQualificationAmount: number; EliteCircleSilverQualificationAmount: number; Id: number; SalesLeadersQualificationAmount: number; SalesLeadersQualificationNumber: number; Year: number; } export interface CirclesOfExcellenceTripReportAttachment extends IDatabaseAttachment { } export interface CarrierAppointment { AppointedByPerson?: Partial | null ; AppointedByPersonId?: number | null ; AppointedDate?: string | null ; Carrier?: Partial | null ; CarrierId: number; Comments?: string | null ; CompanyContactPerson?: Partial | null ; CompanyContactPersonId: number; CompanySetting?: Partial | null ; CompanySettingId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; DeniedByPerson?: Partial | null ; DeniedByPersonId?: number | null ; DenyDate?: string | null ; DenyReason?: string | null ; Documents: Array>; EndDate?: string | null ; Id: number; IsExpired?: boolean; LOBs: Array>; StartDate?: string | null ; Status: CarrierAppointmentStatusString; SubmittedByPerson?: Partial | null ; SubmittedByPersonId?: number | null ; SubmittedDate?: string | null ; SubmittedToIRCDate?: string | null ; TerminatedByPerson?: Partial | null ; TerminatedByPersonId?: number | null ; TerminationDate?: string | null ; TerminationReason?: string | null ; } export interface CarrierAppointmentCarrier { AMS360DataSource?: string | null ; AMS360Id?: string | null ; CarrierAppointments: Array>; CompanySetting?: Partial | null ; CompanySettingId: number; CreatedDate: string; Id: number; IsActive?: boolean; LastModifiedDate: string; Name: string; States: Array>; } export interface CarrierAppointmentCarrierState { Carrier?: Partial | null ; CarrierId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; DeletedByPerson?: Partial | null ; DeletedByPersonId?: number | null ; EndDate?: string | null ; Id: number; IsExpired?: boolean; Name: string; StartDate: string; } export interface CarrierAppointmentCompanySetting { AdminPeople: Array>; AdminPeopleGroups: Array>; CarrierAppointments: Array>; Carriers: Array>; Company?: Partial | null ; CompanyId: number; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; Id: number; StartDate?: string | null ; } export interface CarrierAppointmentCompanySettingToAdminPeopleGroup { CompanySetting?: Partial | null ; CompanySettingId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface CarrierAppointmentCompanySettingToAdminPerson { CompanySetting?: Partial | null ; CompanySettingId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface CarrierAppointmentDocument extends IDatabaseAttachment { CarrierAppointment?: Partial | null ; CarrierAppointmentId?: number | null ; } export interface CarrierAppointmentLOB { CarrierAppointments: Array>; Id: number; IsArchived?: boolean; Name: string; } export interface CarrierAppointmentToLOB { CarrierAppointment?: Partial | null ; CarrierAppointmentId: number; Id: number; LOB?: Partial | null ; LOBId: number; } export interface CallManagerVersion { Channel: UpdateChannelString; CreatedDate: string; Id: number; Major: number; MajorRevision: number; Minor: number; MinorRevision: number; Url: string; } export interface OutboundCallerId { Id: number; Name: string; Number: string; OutboundCallerIdToPeopleGroups: Array>; Roles: Array>; } export interface OutboundCallerIdToPeopleGroup { Group?: Partial | null ; GroupId: number; Id: number; OutboundCallerId?: Partial | null ; OutboundCallerIdId: number; } export interface OutboundCallerIdToPersonRole extends PersonRole { OutboundCallerId?: Partial | null ; OutboundCallerIdId: number; } export interface UsageStatistic { ApplicationNameAndVersion?: string | null ; CommandLine?: string | null ; Id: number; Is64BitOperatingSystem?: boolean; Is64BitProcess?: boolean; LastReported: string; MachineId?: string | null ; MachineName?: string | null ; OsVersion?: string | null ; PhoneType?: string | null ; ProcessorCount: number; TotalCalls: number; UniqueInstallationId: string; UserDomainName?: string | null ; Username?: string | null ; Version?: string | null ; WorkingSet: number; } export interface Broker { BrokerName?: string | null ; Category: BrokerCategoryString; Id: number; Naic?: string | null ; Notes?: string | null ; } export interface BrokerDisclosure { BrokerDisclosureCompanySettingId: number; City?: string | null ; CompanySetting?: Partial | null ; ContactName?: string | null ; CreatedDate: string; DeletedDate?: string | null ; DirectCompensations: Array>; HistoricalAttachments: Array>; Id: number; IndirectCompensations: Array>; IsDeleted?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; ModifiedDate?: string | null ; Name?: string | null ; ServiceCategories: Array>; State?: string | null ; Street1?: string | null ; SubcontractorTransactions: Array>; Zip?: string | null ; } export interface BrokerDisclosureCarrier { AMSCarrierId?: string | null ; AMSCarrierName?: string | null ; BrokerDisclosureCompanySettingId: number; CompanySetting?: Partial | null ; DefaultCompensations: Array>; DeletedDate?: string | null ; Id: number; IndirectCompensations: Array>; IsDeleted?: boolean; Name?: string | null ; } export interface BrokerDisclosureCompanySetting { AgencyAdminPeople: Array>; AgencyAdminPeopleGroups: Array>; BrokerDisclosures: Array>; Carriers: Array>; Company?: Partial | null ; DefaultCompensations: Array>; Id: number; IsActive?: boolean; PaymentStructures: Array>; ServiceTemplates: Array>; } export interface BrokerDisclosureCompanySettingToPeopleGroup { BrokerDisclosureCompanySetting: Partial; BrokerDisclosureCompanySettingId: number; Id: number; PeopleGroup: Partial; PeopleGroupId: number; } export interface BrokerDisclosureCompanySettingToPerson { BrokerDisclosureCompanySetting: Partial; BrokerDisclosureCompanySettingId: number; Id: number; Person: Partial; PersonId: number; } export interface BrokerDisclosureDefaultCompensation { BrokerDisclosureCarrierId?: number | null ; BrokerDisclosureCompanySettingId: number; BrokerDisclosureIndirectCompensationCategoryId?: number | null ; BrokerDisclosureLineOfBusinessId?: number | null ; BrokerDisclosurePaymentStructureId?: number | null ; Carrier?: Partial | null ; CompanySetting?: Partial | null ; DeletedDate?: string | null ; Id: number; IndirectCompensationCategory?: Partial | null ; IsDeleted?: boolean; LineOfBusiness?: Partial | null ; Name?: string | null ; PaymentStructure?: Partial | null ; Type: BrokerDisclosureCompensationTypeString; Value?: number | null ; } export interface BrokerDisclosureDirectCompensation { BrokerDisclosure?: Partial | null ; BrokerDisclosureId: number; BrokerDisclosurePaymentStructureId?: number | null ; Id: number; Name?: string | null ; PaymentStructure?: Partial | null ; Value?: number | null ; } export interface BrokerDisclosureHistoricalAttachment extends IDatabaseAttachment { BrokerDisclosure?: Partial | null ; BrokerDisclosureId?: number | null ; } export interface BrokerDisclosureIndirectCompensation { BrokerDisclosure?: Partial | null ; BrokerDisclosureCarrierId?: number | null ; BrokerDisclosureId: number; BrokerDisclosureIndirectCompensationCategoryId?: number | null ; BrokerDisclosureLineOfBusinessId?: number | null ; BrokerDisclosurePaymentStructureId?: number | null ; Carrier?: Partial | null ; Id: number; IndirectCompensationCategory?: Partial | null ; LineOfBusiness?: Partial | null ; PaymentStructure?: Partial | null ; Type: BrokerDisclosureCompensationTypeString; Value?: number | null ; } export interface BrokerDisclosureIndirectCompensationCategory { DefaultCompensations: Array>; DeletedDate?: string | null ; Id: number; IndirectCompensations: Array>; IsDeleted?: boolean; Name?: string | null ; } export interface BrokerDisclosureLineOfBusiness { DefaultCompensations: Array>; DeletedDate?: string | null ; Id: number; IndirectCompensations: Array>; IsDeleted?: boolean; Name?: string | null ; Sequence: number; } export interface BrokerDisclosurePaymentStructure { BrokerDisclosureCompanySettingId: number; CompanySetting?: Partial | null ; DefaultCompensations: Array>; DeletedDate?: string | null ; DirectCompensations: Array>; Id: number; IndirectCompensations: Array>; IsDeleted?: boolean; Name?: string | null ; SubcontractorTransactions: Array>; SuffixText?: string | null ; Type: PaymentStructureTypeString; } export interface BrokerDisclosureService { BrokerDisclosureServiceCategoryId: number; Id: number; Name?: string | null ; Sequence: number; ServiceCategory?: Partial | null ; } export interface BrokerDisclosureServiceCategory { BrokerDisclosure?: Partial | null ; BrokerDisclosureId: number; Id: number; Name?: string | null ; Sequence: number; Services: Array>; } export interface BrokerDisclosureServiceTemplate { BrokerDisclosureCompanySettingId: number; CompanySetting?: Partial | null ; Description?: string | null ; Id: number; Name?: string | null ; ServiceTemplateCategories: Array>; } export interface BrokerDisclosureServiceTemplateCategory { BrokerDisclosureServiceTemplateId: number; Id: number; Name?: string | null ; Sequence: number; ServiceTemplate?: Partial | null ; ServiceTemplateServices: Array>; } export interface BrokerDisclosureServiceTemplateService { BrokerDisclosureServiceTemplateCategoryId: number; Id: number; Name?: string | null ; Sequence: number; ServiceTemplateCategory?: Partial | null ; } export interface BrokerDisclosureSubcontractorTransaction { BrokerDisclosure?: Partial | null ; BrokerDisclosureId: number; BrokerDisclosurePaymentStructureId: number; Id: number; IsAffiliate?: boolean; PaymentStructure?: Partial | null ; ServiceDescription?: string | null ; SubcontractorName?: string | null ; Value?: number | null ; } export interface BenefitPointDataSource { BrokerageId: string; Company?: Partial | null ; DataSource: string; Id: number; IsActive?: boolean; Password?: string | null ; Username?: string | null ; } export interface AutomatedApplication { EndDate?: string | null ; Frequency: number; Id: number; IsExpired?: boolean; IsInActiveDevelopment?: boolean; LastHeardFromDateTime?: string | null ; LastRunDateTime?: string | null ; Name?: string | null ; StartDate: string; } export interface AMS360CustomerBadDataStatistic { Address: number; DataSource: string; Date: string; DateOfBirth: number; DivisionCode: string; Emails: number; Id: number; NAICS: number; Phones: number; } export interface AMS360PolicyBadDataStatistic { DataSource: string; Date: string; Department: number; DivisionCode: string; Id: number; Premium: number; Status: number; WritingCompany: number; } export interface AssistNaicsCode { Code: string; Id: number; Title: string; } export interface PendingAMS360CustomerChange { CustomerId: string; DataSource: string; DivisionCode: string; EndDate: string; Id: number; IsExpired?: boolean; StartDate: string; Type: Ams360CustomerFieldsTypeString; } export interface PendingAMS360PolicyChange { DataSource: string; DivisionCode: string; EndDate: string; Id: number; IsExpired?: boolean; PolicyId: string; StartDate: string; Type: Ams360PolicyFieldsTypeString; } export interface PendingBenefitPointAccountChange { DataSource: string; EmployerId: number; EndDate: string; Id: number; IsExpired?: boolean; StartDate: string; TenantId: number; Type: BenefitPointAccountFieldsTypeString; } export interface PendingBenefitPointPlanChange { DataSource: string; EndDate: string; Id: number; IsExpired?: boolean; PlanId: number; StartDate: string; TenantId: number; Type: BenefitPointPlanFieldsTypeString; } export interface AshbyCompany { AshbyId?: string | null ; Company?: Partial | null ; Id: number; SandboxAshbyId?: string | null ; } export interface AshbyCompanyAddress { AshbyId?: string | null ; CompanyAddress?: Partial | null ; Id: number; SandboxAshbyId?: string | null ; } export interface AnneOLeavittAwardNomination { AwardedByPerson?: Partial | null ; AwardedByPersonId?: number | null ; AwardedDate?: string | null ; AwardType?: AnneOLeavittAwardTypeString | null ; AwardWinnerVideo?: string | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Id: number; NominatedPerson?: Partial | null ; NominatedPersonId: number; NominationReason?: string | null ; YoutubeKey?: string | null ; } export interface AnneOLeavittAwardSiteBanner extends IDatabaseAttachment { Location: AnneOLeavittAwardBannerLocationString; } export interface AnneOLeavittAwardSiteSetting { HomePageYouTubeUrl: string; Id: number; } export interface Ams360Report { Carriers: Array>; CreatedByPerson?: Partial | null ; CreatedByPersonId: number; CreatedDate: string; ExclusionCompanies: Array>; Id: number; InclusionCompanies: Array>; Name: string; Year: number; } export interface Ams360ReportCarrier { AfwCompanyId: string; Ams360Report?: Partial | null ; Ams360ReportId: number; CoCode: string; Company?: Partial | null ; CompanyId?: number | null ; CompanyName: string; DataSource: string; Id: number; Name: string; } export interface Ams360ReportToExclusionCompany { Ams360Report: Partial; Ams360ReportId: number; Company: Partial; CompanyId: number; Id: number; } export interface Ams360ReportToInclusionCompany { Ams360Report: Partial; Ams360ReportId: number; Company: Partial; CompanyId: number; Id: number; } export interface Ams360Access { Ams360Instance?: Partial | null ; Ams360InstanceV2Id: number; CreatedDate: string; Id: number; Person?: Partial | null ; PersonId: number; } export interface Ams360DataSource { Alias?: string | null ; DatabaseCatalog: string; EmpCodeMappings: Array>; EMSAppKey?: string | null ; Id: number; Instances: Array>; IsArchived?: boolean; Name: string; WebserviceApi?: Partial | null ; WebserviceApiId?: number | null ; } export interface Ams360EmpCodeMapping { DataSource?: Partial | null ; DataSourceId: number; EmpCode: string; Id: number; IsManagedBySyncer?: boolean; Person?: Partial | null ; PersonId?: number | null ; ProducerCodeType?: Partial | null ; ProducerCodeTypeId?: number | null ; ShortName?: string | null ; } export interface Ams360GLDepartmentMapping { CleanName?: string | null ; Id: number; Name?: string | null ; } export interface Ams360InstanceV2 { Ams360Access: Array>; Company?: Partial | null ; CompanyId: number; ContactToAms360Clients: Array>; DataSource?: Partial | null ; DataSourceId: number; GlDivisionCode: string; Id: number; InstanceType: Ams360InstanceTypeString; MessageCampaignToAMSDataSources: Array>; ShortName?: string | null ; } export interface Ams360ProducerCodeTypeV2 { EmpCodeMappings: Array>; Id: number; Name?: string | null ; ProducerCodeTypeProductionBudgets: Array>; ProducerLOBPercentages: Array>; } export interface Ams360WebServiceApiV2 { DataSources: Array>; Id: number; Name?: string | null ; Url?: string | null ; Username?: string | null ; } export interface AgencyZoomDataSource { Company?: Partial | null ; CompanyId: number; Id: number; IsActive?: boolean; Leads: Array>; LinkedAms360DataSource?: string | null ; Password: string; Username: string; Users: Array>; } export interface AgencyZoomLead { AgencyZoomDataSource?: Partial | null ; AgencyZoomDataSourceId?: number | null ; AgencyZoomId: number; AssignedTo?: number | null ; AssignedToFirstname?: string | null ; AssignedToLastname?: string | null ; AssignedToUser?: Partial | null ; AssignedToUserId?: number | null ; City?: string | null ; Comments?: string | null ; ContactDate?: string | null ; ContactFirstName?: string | null ; ContactLastName?: string | null ; ConvertedHouseholdId?: number | null ; Country?: string | null ; CreateDate?: string | null ; CreditToFirstname?: string | null ; CreditToLastname?: string | null ; CsrFirstname?: string | null ; CsrId?: number | null ; CsrLastname?: string | null ; CsrUser?: Partial | null ; CsrUserId?: number | null ; DeletedDate?: string | null ; DepartmentCode?: string | null ; DepartmentName?: string | null ; Email?: string | null ; EnterStageDate?: string | null ; ExternalId?: string | null ; ExternalSystem?: string | null ; FirstName?: string | null ; GroupCode?: string | null ; GroupName?: string | null ; Id: number; LastActivityDate?: string | null ; LastName?: string | null ; LeadSourceId?: number | null ; LeadSourceName?: string | null ; LeadType?: string | null ; LocationCode?: string | null ; LocationName?: string | null ; MiddleName?: string | null ; NextExpirationDate?: string | null ; Phone?: string | null ; Premium?: number | null ; Quoted?: number | null ; QuoteDate?: string | null ; SecondaryEmail?: string | null ; SecondaryPhone?: string | null ; SoldDate?: string | null ; State?: string | null ; Status?: AgencyZoomLeadStatusString | null ; StreetAddress?: string | null ; TagNames?: string | null ; TaskCount?: number | null ; WorkflowId?: number | null ; WorkflowName?: string | null ; WorkflowStageId?: number | null ; WorkflowStageName?: string | null ; XDate?: string | null ; Zip?: string | null ; } export interface AgencyZoomUser { AgencyZoomDataSource?: Partial | null ; AgencyZoomDataSourceId: number; AgencyZoomId: number; AssignedToLeads: Array>; CsrLeads: Array>; EndDate?: string | null ; FirstName?: string | null ; Id: number; IsExpired?: boolean; LastName?: string | null ; Person?: Partial | null ; PersonId?: number | null ; } export interface AgencyLOBPercentage { BookOfBusinessChange?: Partial | null ; BookOfBusinessChangeId: number; Id: number; LineOfBusinessType: LineOfBusinessTypeString; Percentage: number; ProducerLOBPercentages: Array>; ShareAgreements?: Array> | null ; } export interface BookOfBusinessChange { AgencyLOBPercentages: Array>; Amount?: number | null ; Company?: Partial | null ; CompanyId?: number | null ; Description?: string | null ; EffectiveDate?: string | null ; Id: number; IsIntercompany?: boolean; } export interface FiscalPeriod { AgencyRole?: Partial | null ; AgencyRoleId: number; EndDate?: string | null ; Id: number; IsExpired?: boolean; MonthOffset: number; StartDate: string; } export interface ProducerCodeName { EndDate?: string | null ; Id: number; IsExpired?: boolean; Name?: string | null ; ProducerCodeType?: Partial | null ; ProducerCodeTypeId: number; StartDate: string; } export interface ProducerCodeType { Id: number; Names: Array>; } export interface ProducerLOBPercentage { AgencyLOBPercentage?: Partial | null ; AgencyLOBPercentageId: number; Id: number; Percentage: number; Person?: Partial | null ; PersonId?: number | null ; ProducerCodeType?: Partial | null ; ProducerCodeTypeId?: number | null ; } export interface StandardChartOfAccount { GLNumber: number; Id: number; Tier1Description?: string | null ; Tier2Description?: string | null ; Tier3Description?: string | null ; Tier4Description?: string | null ; } export interface StandardizedGLDepartment { CleanName?: string | null ; Id: number; Name?: string | null ; } export interface StandardizedLinesOfBusiness { Id: number; LineOfBusinessCategory?: string | null ; LineOfBusinessName?: string | null ; } export interface AcademyCourseAdminPeopleGroup { Course?: Partial | null ; CourseId: number; Id: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface Course { AdminPeople: Array>; AdminPeopleGroups: Array>; AssigneePeople: Array>; AssigneePeopleGroups: Array>; Certificates: Array>; CourseToCourseTopics: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; DaysToComplete?: number | null ; Description?: string | null ; EffectiveMembers: Array>; EnableCertificates?: boolean; Grades: Array>; Id: number; Image?: Partial | null ; IsArchived?: boolean; IsDevelopment?: boolean; Items: Array>; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name: string; OverdueEmailOffsetInDays?: number | null ; ReminderNoticeInDays1?: number | null ; ReminderNoticeInDays2?: number | null ; ReminderNoticeInDays3?: number | null ; SourceType: CourseSourceTypeString; ThirdPartyBaseURI?: string | null ; ThirdPartyKey?: string | null ; } export interface CourseAdminPerson { Course?: Partial | null ; CourseId: number; Id: number; Person?: Partial | null ; PersonId: number; } export interface CourseAssigneePeopleGroup { Course: Partial; CourseId: number; Id: number; IsRequired?: boolean; OnlyMembersAfterDate?: string | null ; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface CourseAssigneePerson { Course?: Partial | null ; CourseId: number; Id: number; IsRequired?: boolean; Person?: Partial | null ; PersonId: number; } export interface CourseCertificate { Course?: Partial | null ; CourseId?: number | null ; CourseName: string; Date: string; Id: number; LessonCount: number; Person?: Partial | null ; PersonId: number; } export interface CourseEffectiveAssigneePerson { Course?: Partial | null ; CourseId: number; Id: number; IsRequired?: boolean; Person?: Partial | null ; PersonId: number; } export interface CourseGrade { CompletedDate?: string | null ; Course?: Partial | null ; CourseId: number; CreatedDate: string; DueDate?: string | null ; Id: number; IsDueDateOverridden?: boolean; IsRequired?: boolean; OverdueEmailSentDate?: string | null ; PercentComplete: number; Person?: Partial | null ; PersonId: number; ReminderNoticeSent1?: string | null ; ReminderNoticeSent2?: string | null ; ReminderNoticeSent3?: string | null ; } export interface CourseImage extends IDatabaseAttachment { Course?: Partial | null ; } export interface CourseItem { Course?: Partial | null ; CourseId: number; CreatedDate: string; Id: number; Sequence: number; } export interface CourseLesson extends CourseItem { Lesson?: Partial | null ; LessonId: number; } export interface CourseSection extends CourseItem { Name: string; } export interface CourseToCourseTopic { Course?: Partial | null ; CourseId: number; CourseTopic?: Partial | null ; Id: number; TopicId: number; } export interface CourseTopic { CourseToCourseTopics: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Description?: string | null ; Id: number; Image?: Partial | null ; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Name?: string | null ; Sequence: number; } export interface CourseTopicImage extends IDatabaseAttachment { Topic?: Partial | null ; } export interface EducationChange { Action: EducationChangeActionString; ChangeDescription?: string | null ; CreatedBy?: Partial | null ; CreatedByPersonId?: number | null ; CreatedByPersonName: string; Date: string; EntityId: number; EntityName: string; Id: number; NewValue?: string | null ; OldValue?: string | null ; Type: EducationEntityTypeString; ValueDiffSnippet: Array; } export interface EducationTest { CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Grades: Array>; Id: number; IsActive?: boolean; IsReviewable?: boolean; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Lesson?: Partial | null ; LessonId: number; PassingPercentage: number; Questions: Array>; RequiredToTake?: boolean; } export interface Lesson { Content?: string | null ; Courses: Array>; CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; FolderSequence?: number | null ; Grades: Array>; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; LessonAssets: Array>; LessonFolder?: Partial | null ; LessonFolderId?: number | null ; Name: string; Services: Array>; Tests: Array>; ThirdPartyKey?: string | null ; } export interface LessonAsset extends IDatabaseAttachment { Lesson?: Partial | null ; LessonId: number; } export interface LessonFolder { CreatorPerson?: Partial | null ; CreatorPersonId?: number | null ; Id: number; Lessons: Array>; Name: string; SharedWithPeople: Array>; SharedWithPeopleGroups: Array>; } export interface LessonFolderToPeopleGroup { Id: number; LessonFolder?: Partial | null ; LessonFolderId: number; PeopleGroup?: Partial | null ; PeopleGroupId: number; } export interface LessonFolderToPerson { Id: number; LessonFolder?: Partial | null ; LessonFolderId: number; Person?: Partial | null ; PersonId: number; } export interface LessonGrade { CompletedDate?: string | null ; Grade: number; /** * @deprecated Use IsComplete instead. */ HasPassed?: boolean; Id: number; IsComplete?: boolean; Lesson?: Partial | null ; LessonId: number; Person?: Partial | null ; PersonId: number; } export interface TestAnswer { AnswerKey?: Partial | null ; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Question?: Partial | null ; QuestionId: number; Sequence: number; Text: string; } export interface TestAnswerKey { Answer?: Partial | null ; Id: number; IsCorrect?: boolean; } export interface TestGrade { ActivityDate: string; Attempts: number; Grade: number; HasPassed?: boolean; Id: number; Person?: Partial | null ; PersonId: number; Test?: Partial | null ; TestId: number; } export interface TestQuestion { Answers: Array>; CreatedDate: string; CreatorPerson?: Partial | null ; CreatorPersonId: number; EducationTestId: number; Id: number; LastModifiedByPerson?: Partial | null ; LastModifiedByPersonId?: number | null ; LastModifiedDate?: string | null ; Sequence: number; Test?: Partial | null ; Text?: string | null ; Type: QuestionTypeString; } export interface ISynchronizable { CreatedDate: string; LastModifiedDate: string; } export interface IPhoneNumber { AreaCode: string; CountryCode: string; Extension: string; LineNumber: string; } export interface IExpirable { EndDate?: string | null ; IsExpired?: boolean; StartDate: string; } export enum Frequency { OneTime = 0, Hourly = 1, Daily = 2, Weekly = 3, Monthly = 4, Minutes = 5 } export type FrequencyString = keyof typeof Frequency; export enum XSellInterestedStatus { Interested = 0, Accepted = 1, Declined = 2 } export type XSellInterestedStatusString = keyof typeof XSellInterestedStatus; export enum XSellListingStatus { Active = 0, TeamedUp = 1, Expired = 2, Sold = 3, FellThrough = 4 } export type XSellListingStatusString = keyof typeof XSellListingStatus; export enum NewEmploymentTypeTargetPropertyType { None = 0, PaidEmployment = 1, ContractorEmployment = 2, UnpaidEmployment = 4 } export type NewEmploymentTypeTargetPropertyTypeDiscrete = 'PaidEmployment' | 'ContractorEmployment' | 'UnpaidEmployment'; export type NewEmploymentTypeTargetPropertyTypeNonDiscrete = 'None'; export type NewEmploymentTypeTargetPropertyTypeString = UnionConcat | NewEmploymentTypeTargetPropertyTypeNonDiscrete; export enum OffboardingEffectiveType { Immediately = 0, EndOfBusinessDay = 1, InTheFuture = 2 } export type OffboardingEffectiveTypeString = keyof typeof OffboardingEffectiveType; export enum OffboardingStateType { Draft = 0, Recalled = 1, Submitted = 2, Completed = 3 } export type OffboardingStateTypeString = keyof typeof OffboardingStateType; export enum OnboardingSoftwareAccessType { AccessOnly = 0, AccessAndTraining = 1 } export type OnboardingSoftwareAccessTypeString = keyof typeof OnboardingSoftwareAccessType; export enum OnboardingAgentEarningsType { Draw = 0, ProducerSalary = 1, CommissionOnly = 2, ProducerCompSubsidy = 3 } export type OnboardingAgentEarningsTypeString = keyof typeof OnboardingAgentEarningsType; export enum OnboardingHoursType { LessThanTwenty = 0, TwentyToTwentyNine = 1, ThirtyPlus = 2 } export type OnboardingHoursTypeString = keyof typeof OnboardingHoursType; export enum EmploymentType { PaidEmployee = 0, UnpaidEmployee = 1, Contractor = 2 } export type EmploymentTypeString = keyof typeof EmploymentType; export enum StaffingOptionType { FullTime = 0, PartTime = 1 } export type StaffingOptionTypeString = keyof typeof StaffingOptionType; export enum OnboardingStateType { Draft = 0, Submitted = 1, Recalled = 2, Completed = 3 } export type OnboardingStateTypeString = keyof typeof OnboardingStateType; export enum TypesOfInsuranceSold { None = 0, Commercial = 1, Benefit = 2, Life = 4, Personal = 8 } export type TypesOfInsuranceSoldDiscrete = 'Commercial' | 'Benefit' | 'Life' | 'Personal'; export type TypesOfInsuranceSoldNonDiscrete = 'None'; export type TypesOfInsuranceSoldString = UnionConcat | TypesOfInsuranceSoldNonDiscrete; export enum PriorityType { Default = 0, Medium = 1, High = 5 } export type PriorityTypeString = keyof typeof PriorityType; export enum SoldInsurancePropertyType { None = 0, CommercialSold = 1, BenefitSold = 2, PersonalSold = 4, LifeSold = 8 } export type SoldInsurancePropertyTypeDiscrete = 'CommercialSold' | 'BenefitSold' | 'PersonalSold' | 'LifeSold'; export type SoldInsurancePropertyTypeNonDiscrete = 'None'; export type SoldInsurancePropertyTypeString = UnionConcat | SoldInsurancePropertyTypeNonDiscrete; export enum StaffingOptionTypePropertyType { None = 0, FullTimeEmployment = 1, PartTimeEmployment = 2 } export type StaffingOptionTypePropertyTypeDiscrete = 'FullTimeEmployment' | 'PartTimeEmployment'; export type StaffingOptionTypePropertyTypeNonDiscrete = 'None'; export type StaffingOptionTypePropertyTypeString = UnionConcat | StaffingOptionTypePropertyTypeNonDiscrete; export enum TransferStateType { Submitted = 0, Completed = 1 } export type TransferStateTypeString = keyof typeof TransferStateType; export enum WorkforcePendingEmployeeChangeType { EffectiveDate = 0 } export type WorkforcePendingEmployeeChangeTypeString = keyof typeof WorkforcePendingEmployeeChangeType; export enum WorkforceTaskStatusType { NotStarted = 0, Blocked = 1, InProgress = 2, Completed = 3 } export type WorkforceTaskStatusTypeString = keyof typeof WorkforceTaskStatusType; export enum WorkforceTaskTrigger { Hire = 0, Transfer = 1, Terminate = 2 } export type WorkforceTaskTriggerString = keyof typeof WorkforceTaskTrigger; export enum VehicleFuelType { Gas = 0, NaturalGas = 1, Electric = 2 } export type VehicleFuelTypeString = keyof typeof VehicleFuelType; export enum VehicleTransmissionType { Automatic = 0, Manual = 1 } export type VehicleTransmissionTypeString = keyof typeof VehicleTransmissionType; export enum VehicleClass { Coupe = 0, Sedan = 1, CrossOver = 2, SUV = 3, Truck = 4 } export type VehicleClassString = keyof typeof VehicleClass; export enum VehicleReservationStatus { Pending = 0, Approved = 1, Denied = 2, CheckedOut = 3, Returned = 4 } export type VehicleReservationStatusString = keyof typeof VehicleReservationStatus; export enum VehicleUnavailableReason { Maintenance = 0, Repairs = 1, Cleaning = 2, AccidentDamage = 3, AdministrativeUse = 4, Other = 5 } export type VehicleUnavailableReasonString = keyof typeof VehicleUnavailableReason; export enum Seasons { Spring = 0, Winter = 1, Summer = 2, Fall = 3 } export type SeasonsString = keyof typeof Seasons; export enum TvSlideDatasourceType { None = 0, Ams360 = 1, AgencyZoom = 2, BenefitPoint = 4, Crm = 8 } export type TvSlideDatasourceTypeDiscrete = 'Ams360' | 'AgencyZoom' | 'BenefitPoint' | 'Crm'; export type TvSlideDatasourceTypeNonDiscrete = 'None'; export type TvSlideDatasourceTypeString = UnionConcat | TvSlideDatasourceTypeNonDiscrete; export enum SurveyQuestionTypeV2 { SingleSelect = 0, MultiSelect = 1, Text = 2, Dropdown = 3 } export type SurveyQuestionTypeV2String = keyof typeof SurveyQuestionTypeV2; export enum V2SurgePrizeType { RankOnTeam = 0, TopTeams = 1, TopIndividual = 2 } export type V2SurgePrizeTypeString = keyof typeof V2SurgePrizeType; export enum PdfTemplateFieldType { Text = 0, Image = 1, QRCode = 2 } export type PdfTemplateFieldTypeString = keyof typeof PdfTemplateFieldType; export enum ShareAgreementCategory { Pathway = 0, DBD = 1, Conversion = 2 } export type ShareAgreementCategoryString = keyof typeof ShareAgreementCategory; export enum ShareAgreementCompletedSteps { None = 0, Person = 1, Details = 4, Notes = 8 } export type ShareAgreementCompletedStepsDiscrete = 'Person' | 'Details' | 'Notes'; export type ShareAgreementCompletedStepsNonDiscrete = 'None'; export type ShareAgreementCompletedStepsString = UnionConcat | ShareAgreementCompletedStepsNonDiscrete; export enum RevenueBase { TotalNetCommissions_ARC = 0, EBITDA = 1 } export type RevenueBaseString = keyof typeof RevenueBase; export enum ShareStatus { InProgress = 0, Submitted = 1, Approved = 2, Rejected = 3 } export type ShareStatusString = keyof typeof ShareStatus; export enum TaskStatusType { NotStarted = 0, InProgress = 1, Completed = 2 } export type TaskStatusTypeString = keyof typeof TaskStatusType; export enum TimelineStatusType { Inactive = 0, Active = 1 } export type TimelineStatusTypeString = keyof typeof TimelineStatusType; export enum LineOfBusinessType { Commercial = 0, Life = 1, Personal = 2, Benefit = 3 } export type LineOfBusinessTypeString = keyof typeof LineOfBusinessType; export enum CandidateSourceType { Active = 0, Passive = 1, Referral = 2 } export type CandidateSourceTypeString = keyof typeof CandidateSourceType; export enum IndustryExperience { None = 0, Sales = 1, NonSales = 2 } export type IndustryExperienceString = keyof typeof IndustryExperience; export enum InputType { Text = 0, Number = 1, Dropdown = 2, Bool = 3 } export type InputTypeString = keyof typeof InputType; export enum RecruitingAccountingType { Expense = 0, Income = 1 } export type RecruitingAccountingTypeString = keyof typeof RecruitingAccountingType; export enum CanConvertToPermanentOption { Unknown = 0, Yes = 1, No = 2 } export type CanConvertToPermanentOptionString = keyof typeof CanConvertToPermanentOption; export enum RecruitmentProjectType { CL = 0, EB = 1, PL = 2, Other = 3 } export type RecruitmentProjectTypeString = keyof typeof RecruitmentProjectType; export enum HousingPropertyType { Single = 0, Family = 1 } export type HousingPropertyTypeString = keyof typeof HousingPropertyType; export enum StateInfoSubType { _3Y = 0, _5Y = 1, _7Y = 2, EM = 3, DB = 4, CR = 5 } export type StateInfoSubTypeString = keyof typeof StateInfoSubType; export enum SambaSearchGender { M = 0, F = 1, X = 2 } export type SambaSearchGenderString = keyof typeof SambaSearchGender; export enum ProducerCenterQuestionType { SingleSelect = 0, MultiSelect = 1, TextField = 2, TextArea = 3, Numeric = 4 } export type ProducerCenterQuestionTypeString = keyof typeof ProducerCenterQuestionType; export enum CommissionRateType { CommercialLines = 0, PersonalLines = 1, Benefits = 2, Life = 3, Assigned = 4, Bonding = 5, Crop = 6, Ag = 7 } export type CommissionRateTypeString = keyof typeof CommissionRateType; export enum TransactionType { NewBusiness = 0, RenewPolicy = 1 } export type TransactionTypeString = keyof typeof TransactionType; export enum PolicyType { CommercialLines = 0, PersonalLines = 1, Benefits = 2, Life = 3, Bonding = 4, Crop = 5, Ag = 6 } export type PolicyTypeString = keyof typeof PolicyType; export enum CompletedSteps { None = 0, ProducerAssumptions = 1, DeferredCompensation = 4, Gifts = 8, Expectations = 16, BookOfBusiness = 32 } export type CompletedStepsDiscrete = 'ProducerAssumptions' | 'DeferredCompensation' | 'Gifts' | 'Expectations' | 'BookOfBusiness'; export type CompletedStepsNonDiscrete = 'None'; export type CompletedStepsString = UnionConcat | CompletedStepsNonDiscrete; export enum IncreaseType { Percent = 0, DollarAmount = 1 } export type IncreaseTypeString = keyof typeof IncreaseType; export enum SalesExpectationStatusType { SystemRejected = 0, AplRejected = 1, SystemApproved = 2, AplApproved = 3 } export type SalesExpectationStatusTypeString = keyof typeof SalesExpectationStatusType; export enum UpdateToAnnotationSyncType { BothWays = 0, ToCrmOnly = 1, ToMondayOnly = 2, RenewalDate = 4, EstimatedRevenue = 8, CreatedDate = 16, AdditionalBroker = 32 } export type UpdateToAnnotationSyncTypeDiscrete = 'ToCrmOnly' | 'ToMondayOnly' | 'RenewalDate' | 'EstimatedRevenue' | 'CreatedDate' | 'AdditionalBroker'; export type UpdateToAnnotationSyncTypeNonDiscrete = 'BothWays'; export type UpdateToAnnotationSyncTypeString = UnionConcat | UpdateToAnnotationSyncTypeNonDiscrete; export enum DripCampaignTemplateType { Drip = 0, Welcome = 1 } export type DripCampaignTemplateTypeString = keyof typeof DripCampaignTemplateType; export enum DeliveryStatus { queued = 0, failed = 1, delivered = 2, read = 3 } export type DeliveryStatusString = keyof typeof DeliveryStatus; export enum GoogleMessageIntegrationStatus { Active = 0, Revoked = 1 } export type GoogleMessageIntegrationStatusString = keyof typeof GoogleMessageIntegrationStatus; export enum GoogleReviewRatingType { STAR_RATING_UNSPECIFIED = 0, ONE = 1, TWO = 2, THREE = 3, FOUR = 4, FIVE = 5 } export type GoogleReviewRatingTypeString = keyof typeof GoogleReviewRatingType; export enum MessageDirection { Inbound = 0, Outbound = 1 } export type MessageDirectionString = keyof typeof MessageDirection; export enum MessagesCampaignType { NewPolicy = 0, PolicyExpiration = 1, Drip = 2 } export type MessagesCampaignTypeString = keyof typeof MessagesCampaignType; export enum MessageTemplateVariable { GoogleReviewLink = 2, RepresentativeName = 4, RepresentativeFullName = 5, CustomerName = 6, CustomerFullName = 7, AgencyName = 8 } export type MessageTemplateVariableString = keyof typeof MessageTemplateVariable; export enum SystemMessageType { ConversationCreated = 0, ConversationArchived = 1, ConversationUnarchived = 2, ContactUnsubscribed = 3, ContactResubscribed = 4, RepresentativeChanged = 5, ConversationBlocked = 6, ConversationUnblocked = 7 } export type SystemMessageTypeString = keyof typeof SystemMessageType; export enum ManualEntryProductionType { New = 0, Renew = 1 } export type ManualEntryProductionTypeString = keyof typeof ManualEntryProductionType; export enum TypeOfBusiness { Commercial = 0, Life = 1, Personal = 2, Benefit = 3 } export type TypeOfBusinessString = keyof typeof TypeOfBusiness; export enum DocumentFieldValueType { Date = 0, String = 1, YesNo = 2, Money = 3, PersonCompanyFreeFormMultiSelector = 4, SingleSelect = 5 } export type DocumentFieldValueTypeString = keyof typeof DocumentFieldValueType; export enum AutoAccidentType { Speeding = 0, DWI = 1, StopSign = 2, NotAtFaultAccident = 3, OtherMinorViolation = 4, OtherMajorViolation = 5 } export type AutoAccidentTypeString = keyof typeof AutoAccidentType; export enum EducationType { SOME_HIGH_SCHOOL = 0, HIGH_SCHOOL = 1, SOME_COLLEGE = 2, ASSOCIATES_DEGREE = 3, BACHELORS_DEGREE = 4, MASTERS_DEGREE = 5, DOCTORATE_DEGREE = 6, GED = 7, VOCATIONAL_TECHNICAL = 8 } export type EducationTypeString = keyof typeof EducationType; export enum LicenseStatusType { Active = 0, Canceled = 1, Revoked = 2, Suspended = 3, None = 4, Expired = 5, Permit = 6 } export type LicenseStatusTypeString = keyof typeof LicenseStatusType; export enum MaritalStatusType { Single = 0, Married = 1, Separated = 2, Divorced = 3, Widowed = 4, DomesticPartner = 5 } export type MaritalStatusTypeString = keyof typeof MaritalStatusType; export enum RelationshipToInsuredType { Self = 0, Spouse = 1, Parent = 2, Child = 3, Other = 4 } export type RelationshipToInsuredTypeString = keyof typeof RelationshipToInsuredType; export enum VehicleUsageType { Business = 0, Personal = 1 } export type VehicleUsageTypeString = keyof typeof VehicleUsageType; export enum CoApplicantRelationshipToInsured { SPOUSE = 0, PARTNER = 1, CHILD = 2, OTHER_RELATIVE = 3, OTHER_NON_RELATIVE = 4, PARENT = 5 } export type CoApplicantRelationshipToInsuredString = keyof typeof CoApplicantRelationshipToInsured; export enum ConstructionType { FRAME = 0, JOISTED_MASONRY = 1, MASONRY = 2, MASONRY_VENEER = 3, MODIFIED_FIRE_RESISTIVE = 4, FIRE_RESISTIVE_SUPERIOR = 5, SUPERIOR_NON_COMBUSTIBLE = 6, STUCCO = 7, METAL_ALUMINUM_SIDING = 8, CONCRETE = 9, STEEL = 10, MOBILE_HOME = 11, LOG_HOME = 12 } export type ConstructionTypeString = keyof typeof ConstructionType; export enum FoundationType { SLAB = 0, CRAWL_SPACE = 1, BASEMENT = 2, PIER = 3, HILLSIDE = 4, OTHER = 5 } export type FoundationTypeString = keyof typeof FoundationType; export enum HeatType { Electric = 0, Gas = 1, Wood = 2, Oil = 3, Other = 4 } export type HeatTypeString = keyof typeof HeatType; export enum HomeStyle { Unknown = 0, Ranch = 1, CapeCod = 2, Colonial = 3, BiLevel = 4, SplitLevel = 5, BackSplit = 6, Bungalow = 7, CondoCoOp = 8, Contemporary = 9, Cottage = 10, FederalColonial = 11, Mediterranean = 12, OrnateVictorian = 13, QueenAnne = 14, RaisedRanch = 15, Rambler = 16, SouthwestAdobe = 17, SplitFoyer = 18, RowHouseCenter = 19, RowHouseEnd = 20, TriLevel = 21, Victorian = 22, BiLevelRowEnd = 23, BiLevelRowCenter = 24, TriLevelRowEnd = 25, TriLevelRowCenter = 26 } export type HomeStyleString = keyof typeof HomeStyle; export enum PersonalPropertyLastPageVisited { GettingStarted2 = 0, HomeOwnersStep1 = 1, HomeOwnersStep2 = 2, HomeOwnersStep3 = 3, HomeOwnersStep4 = 4, HomeOwnersStep5 = 5, HomeOwnersStep6 = 6, HomeOwnersStep7 = 7, HomeOwnersRenovations = 8, HomeOwnersStep10 = 9, AutoPreviousPolicy = 10, AutoNewPolicy = 11, AutoVehicles = 12, AutoDrivers = 13, DiscountsOne = 14, DiscountsTwo = 15, ChooseBundle = 16, Quotes = 17, SelectedQuote = 18 } export type PersonalPropertyLastPageVisitedString = keyof typeof PersonalPropertyLastPageVisited; export enum LineOfBusiness { HOMEOWNERS = 1, PERSONAL_PACKAGE = 2, PERSONAL_AUTO = 3 } export type LineOfBusinessString = keyof typeof LineOfBusiness; export enum NumberOfStories { One = 0, OnePointFive = 1, Two = 2, TwoPointFive = 3, Three = 4, ThreePointFive = 5, Four = 6 } export type NumberOfStoriesString = keyof typeof NumberOfStories; export enum OccupantType { OWNER = 0, TENANT = 1 } export type OccupantTypeString = keyof typeof OccupantType; export enum OverallQuality { Standard = 0, High = 1, Premium = 2 } export type OverallQualityString = keyof typeof OverallQuality; export enum PersonalPropertyLineOfBusiness { HOMEOWNERS = 1, PERSONAL_PACKAGE = 2, PERSONAL_AUTO = 3 } export type PersonalPropertyLineOfBusinessString = keyof typeof PersonalPropertyLineOfBusiness; export enum PersonalPropertyQuoteSource { Vertafore = 0, ChatGPT = 1 } export type PersonalPropertyQuoteSourceString = keyof typeof PersonalPropertyQuoteSource; export enum PersonalPropertyQuoteType { None = 0, Home = 1, Car = 2, Renters = 4 } export type PersonalPropertyQuoteTypeDiscrete = 'Home' | 'Car' | 'Renters'; export type PersonalPropertyQuoteTypeNonDiscrete = 'None'; export type PersonalPropertyQuoteTypeString = UnionConcat | PersonalPropertyQuoteTypeNonDiscrete; export enum ResidenceType { SingleFamilyDwelling = 0, Condo = 1, Apartment = 2, MobileHome = 3, CoOp = 4, Townhouse = 5, Rowhouse = 6, Other = 7 } export type ResidenceTypeString = keyof typeof ResidenceType; export enum RoofType { ALUMINUM_SHINGLES = 0, ARCHITECTURAL_SHINGLES = 1, ASBESTOS = 2, ASPHALT_SHINGLE = 3, CEDAR_SHAKES = 4, CEDAR_SHINGLES = 5, CLAY_TILE_OR_SLATE = 6, COMPOSITION_FIBERGLASS_ASPHALT_ETC = 7, CONCRETE_TILE = 8, CONCRETE_NOT_TILE = 9, COPPER = 10, FIBERGLASS = 11, FOAM = 12, GRAVEL = 13, METAL = 14, MINERAL_FIBER = 15, MISSION_TILE = 16, OTHER = 17, PLASTIC = 18, POURED = 19, RECYCLED_ROOFING_PRODUCTS = 20, ROCK = 21, ROLLED_ROOFING = 22, RUBBER_ROOF = 23, SLATE = 24, SPANISH_TILE = 25, CORRUGATED_STEEL = 26, STEEL_PORCELAIN_SHINGLES = 27, TAR_AND_GRAVEL = 28, TILE = 29, TIN = 30, WOOD_FIBER_SHINGLES = 31, WOOD_SHAKES = 32, WOOD_SHINGLES = 33, WOOD_SHAKE_SHINGLE = 34 } export type RoofTypeString = keyof typeof RoofType; export enum PersonalPropertySiteSeed { Home = 0, Auto = 1 } export type PersonalPropertySiteSeedString = keyof typeof PersonalPropertySiteSeed; export enum QuotingPromptType { Home = 0, Auto = 1, Renter = 2 } export type QuotingPromptTypeString = keyof typeof QuotingPromptType; export enum StartingLobType { Homeowners = 0, Auto = 1 } export type StartingLobTypeString = keyof typeof StartingLobType; export enum GenderType { Unknown = 0, Male = 1, Female = 2 } export type GenderTypeString = keyof typeof GenderType; export enum HealthRatingType { Unknown = 0, PreferredPlus = 1, Preferred = 2, StandardPlus = 3, Standard = 4 } export type HealthRatingTypeString = keyof typeof HealthRatingType; export enum ProductType { Unknown = 0, YearTerm5 = 1, YearTerm10 = 2, YearTerm15 = 3, YearTerm20 = 4, YearTerm25 = 5, YearTerm30 = 6, YearTerm35 = 7, YearTerm40 = 8 } export type ProductTypeString = keyof typeof ProductType; export enum TobaccoType { Unknown = 0, Yes = 1, No = 2 } export type TobaccoTypeString = keyof typeof TobaccoType; export enum LifeQuoteRequestStatus { GettingStarted2 = 0, YourHealth = 1, PreferredInsurance = 2, Quotes = 3, SelectedQuote = 4 } export type LifeQuoteRequestStatusString = keyof typeof LifeQuoteRequestStatus; export enum HartfordLastPageVisited { BopStepOne = 0, BopStepTwo = 1, BopStepThree = 2, BopStepFour = 3, Bundle = 4, WcStepOne = 5, WcStepTwo = 6, Quotes = 7, Buy = 8 } export type HartfordLastPageVisitedString = keyof typeof HartfordLastPageVisited; export enum HartfordQuoteType { BOP = 0, WorkersComp = 1 } export type HartfordQuoteTypeString = keyof typeof HartfordQuoteType; export enum CoalitionBundleType { Essential = 0, MostPopular = 1, Comprehensive = 2 } export type CoalitionBundleTypeString = keyof typeof CoalitionBundleType; export enum CoalitionDualControlType { Yes = 0, No = 1, NA = 2 } export type CoalitionDualControlTypeString = keyof typeof CoalitionDualControlType; export enum CoalitionEncryptsDataType { Yes = 0, No = 1, Sometimes = 2 } export type CoalitionEncryptsDataTypeString = keyof typeof CoalitionEncryptsDataType; export enum CoalitionEngagedIndustriesType { None = 0, Adult = 1, CryptoBlockchain = 2, Gambling = 4, PaymentProcessing = 8, ServicesProvider = 16 } export type CoalitionEngagedIndustriesTypeDiscrete = 'Adult' | 'CryptoBlockchain' | 'Gambling' | 'PaymentProcessing' | 'ServicesProvider'; export type CoalitionEngagedIndustriesTypeNonDiscrete = 'None'; export type CoalitionEngagedIndustriesTypeString = UnionConcat | CoalitionEngagedIndustriesTypeNonDiscrete; export enum CoalitionMfaEmailType { Yes = 0, No = 1, NA = 2 } export type CoalitionMfaEmailTypeString = keyof typeof CoalitionMfaEmailType; export enum CoalitionMfaOtherPrivilegedAccountsType { Yes = 0, No = 1, Administrative = 2 } export type CoalitionMfaOtherPrivilegedAccountsTypeString = keyof typeof CoalitionMfaOtherPrivilegedAccountsType; export enum CoalitionMfaRemoteAccessType { Yes = 0, No = 1, NA = 2 } export type CoalitionMfaRemoteAccessTypeString = keyof typeof CoalitionMfaRemoteAccessType; export enum CoalitionMfaVpnType { Yes = 0, No = 1, NA = 2 } export type CoalitionMfaVpnTypeString = keyof typeof CoalitionMfaVpnType; export enum CoalitionMitigatingClausesType { None = 0, CustomerSignOff = 1, DisclaimerOfWarranties = 2, HoldHarmlessAgreements = 4, LimitationOfLiablility = 8, ExclusionOfDamages = 16, Indemnification = 32, BindingArbitration = 64, Milestones = 128 } export type CoalitionMitigatingClausesTypeDiscrete = 'CustomerSignOff' | 'DisclaimerOfWarranties' | 'HoldHarmlessAgreements' | 'LimitationOfLiablility' | 'ExclusionOfDamages' | 'Indemnification' | 'BindingArbitration' | 'Milestones'; export type CoalitionMitigatingClausesTypeNonDiscrete = 'None'; export type CoalitionMitigatingClausesTypeString = UnionConcat | CoalitionMitigatingClausesTypeNonDiscrete; export enum CoalitionPackageStatusType { Incomplete = 0, Active = 1, UnderReview = 2, Declined = 3, Contingent = 4, Expired = 5, Bound = 6, SignedPolicy = 7, PolicyExpired = 8, Terminated = 9, Archived = 10, Cancelled = 11 } export type CoalitionPackageStatusTypeString = keyof typeof CoalitionPackageStatusType; export enum CoalitionServicesByContractType { Zero = 0, LessThanFifty = 1, FiftyOrMore = 2, OneHundred = 3 } export type CoalitionServicesByContractTypeString = keyof typeof CoalitionServicesByContractType; export enum FenrisLookupRequestType { Auto = 1, Home = 2, DriversLicense = 4, DriverRecord = 8, ClientRating = 16 } export type FenrisLookupRequestTypeDiscrete = 'Auto' | 'Home' | 'DriversLicense' | 'DriverRecord' | 'ClientRating'; export type FenrisLookupRequestTypeString = UnionConcat; export enum LogoHeightType { Small = 0, Medium = 1, Large = 2 } export type LogoHeightTypeString = keyof typeof LogoHeightType; export enum QuoteRequestContactMethod { SMS = 0, Call = 1, Email = 2 } export type QuoteRequestContactMethodString = keyof typeof QuoteRequestContactMethod; export enum ItemStatusType { Processing = 0, BackOrdered = 5, Shipped = 10, Cancelled = 15, Delivered = 20, TransferredToThirdParty = 25 } export type ItemStatusTypeString = keyof typeof ItemStatusType; export enum ShippingType { Physical = 0, Digital = 1 } export type ShippingTypeString = keyof typeof ShippingType; export enum OrderStatusType { Processing = 0, PartiallyShipped = 5, BackOrdered = 10, Incomplete = 15, Shipped = 20, Cancelled = 25, Delivered = 30 } export type OrderStatusTypeString = keyof typeof OrderStatusType; export enum DistanceUnitType { Miles = 0, Kilometers = 1 } export type DistanceUnitTypeString = keyof typeof DistanceUnitType; export enum LeavittFitIntegrationStatus { Active = 0, Unauthorized = 1 } export type LeavittFitIntegrationStatusString = keyof typeof LeavittFitIntegrationStatus; export enum LandlordType { ThirdParty = 0, LLC = 1, CoOwner = 2 } export type LandlordTypeString = keyof typeof LandlordType; export enum LeaseType { Fixed = 0, MonthToMonth = 1 } export type LeaseTypeString = keyof typeof LeaseType; export enum LeasePreExpirationNotificationOptions { NotificationsDisabled = 0, OneMonthNotification = 2, TwoMonthNotification = 4, ThreeMonthNotification = 8, FourMonthNotification = 16, FiveMonthNotification = 32, SixMonthNotification = 64, SevenMonthNotification = 128, EightMonthNotification = 256 } export type LeasePreExpirationNotificationOptionsDiscrete = 'OneMonthNotification' | 'TwoMonthNotification' | 'ThreeMonthNotification' | 'FourMonthNotification' | 'FiveMonthNotification' | 'SixMonthNotification' | 'SevenMonthNotification' | 'EightMonthNotification'; export type LeasePreExpirationNotificationOptionsNonDiscrete = 'NotificationsDisabled'; export type LeasePreExpirationNotificationOptionsString = UnionConcat | LeasePreExpirationNotificationOptionsNonDiscrete; export enum IssueType { Bug = 0, Feedback = 1 } export type IssueTypeString = keyof typeof IssueType; export enum FormQuestionType { SingleSelect = 0, MultiSelect = 1, Text = 2, Dropdown = 3, Date = 4, TextField = 5, Email = 6, Phone = 7, Switch = 8, AgreementCheckBox = 9, RepeatedQuestionGroup = 10 } export type FormQuestionTypeString = keyof typeof FormQuestionType; export enum FormSubQuestionType { SingleSelect = 0, MultiSelect = 1, Text = 2, Dropdown = 3, Date = 4, TextField = 5, Email = 6, Phone = 7, Switch = 8 } export type FormSubQuestionTypeString = keyof typeof FormSubQuestionType; export enum ExpenseStatus { Open = 0, Submitted = 1, Approved = 2, Paid = 3 } export type ExpenseStatusString = keyof typeof ExpenseStatus; export enum QuarterlyMeetingQuestionPrivacyOption { Public = 0, ShowToPresident = 1, Private = 2 } export type QuarterlyMeetingQuestionPrivacyOptionString = keyof typeof QuarterlyMeetingQuestionPrivacyOption; export enum EducationLessonActivityType { Passed = 0, Failed = 1, WatchedVideo = 2, ViewedFile = 3, MarkedComplete = 4, RetakeTest = 5 } export type EducationLessonActivityTypeString = keyof typeof EducationLessonActivityType; export enum QuestionType { SingleSelect = 0, MultiSelect = 1 } export type QuestionTypeString = keyof typeof QuestionType; export enum LessonAttemptStatus { Pass = 0, Fail = 1, InProgress = 2 } export type LessonAttemptStatusString = keyof typeof LessonAttemptStatus; export enum DuplicateFieldType { None = 0, Name = 1, Address = 2, Email = 4, Phone = 8, ContactFullname = 16, CrmAccount = 32, Ams360 = 64, CrmLead = 128, BenefitPointAccount = 256 } export type DuplicateFieldTypeDiscrete = 'Name' | 'Address' | 'Email' | 'Phone' | 'ContactFullname' | 'CrmAccount' | 'Ams360' | 'CrmLead' | 'BenefitPointAccount'; export type DuplicateFieldTypeNonDiscrete = 'None'; export type DuplicateFieldTypeString = UnionConcat | DuplicateFieldTypeNonDiscrete; export enum TelemarketingType { OptIn = 0, OptOut = 1 } export type TelemarketingTypeString = keyof typeof TelemarketingType; export enum CultureRecognitionBannerLocationV2 { HomePageHero = 0, HomePageHeroMobile = 1, AwardWinnersPage = 2, AwardWinnersPageMobile = 3, NominateEmployeePage = 4, NominateEmployeePageMobile = 5, MyNominationsPage = 6, MyNominationsPageMobile = 7, GoverningPrinciplesPage = 8, GoverningPrinciplesPageMobile = 9 } export type CultureRecognitionBannerLocationV2String = keyof typeof CultureRecognitionBannerLocationV2; export enum AwardType { TopCultureChampion = 0, CultureChampion = 1 } export type AwardTypeString = keyof typeof AwardType; export enum CultureClubBannerLocation { HomePageHero = 0, HomePageHeroMobile = 1, AwardWinnersPage = 2, AwardWinnersPageMobile = 3, NominateEmployeePage = 4, NominateEmployeePageMobile = 5, MyNominationsPage = 6, MyNominationsPageMobile = 7, GoverningPrinciplesPage = 8, GoverningPrinciplesPageMobile = 9 } export type CultureClubBannerLocationString = keyof typeof CultureClubBannerLocation; export enum CrossSellInterestedStatus { Interested = 0, Accepted = 1, Declined = 2 } export type CrossSellInterestedStatusString = keyof typeof CrossSellInterestedStatus; export enum ProducerPoolType { NAICS = 0, Vetted = 1 } export type ProducerPoolTypeString = keyof typeof ProducerPoolType; export enum CrossSellListingStatus { Active = 0, TeamedUp = 1, Expired = 2, Sold = 3, FellThrough = 4, TeamedUpDenied = 5, TeamedUpRequested = 6 } export type CrossSellListingStatusString = keyof typeof CrossSellListingStatus; export enum AccountStateCodeType { Active = 0, Inactive = 1 } export type AccountStateCodeTypeString = keyof typeof AccountStateCodeType; export enum AccountStatusCodeType { Active = 0, Inactive = 1 } export type AccountStatusCodeTypeString = keyof typeof AccountStatusCodeType; export enum AccountStatusType { Prospect = 100000000, Client = 100000001 } export type AccountStatusTypeString = keyof typeof AccountStatusType; export enum ActivityType { Appointment = 4201, Email = 4202, Fax = 4204, CaseResolution = 4206, Letter = 4207, OpportunityClose = 4208, OrderClose = 4209, PhoneCall = 4210, QuoteClose = 4211, Task = 4212, ServiceActivity = 4214, RecurringAppointment = 4251, CampaignResponse = 4401, CampaignActivity = 4402, BulkOperation = 4406, Converstaion = 10036, PromotionalMail = 10037, inMail = 10078, Message = 10079, PointDrivePresentationCreated = 10080, PointDrivePresentationViewed = 10081, Surveyinvite = 10158, Surveyresponse = 10159 } export type ActivityTypeString = keyof typeof ActivityType; export enum CompanySizeType { Large = 100000000, Small = 100000001 } export type CompanySizeTypeString = keyof typeof CompanySizeType; export enum NewAccountType { Commercial = 100000000, Personal = 100000001, EmployeeBenefits = 100000002, FinancialServices = 100000003, CenterOfInfluence = 100000004 } export type NewAccountTypeString = keyof typeof NewAccountType; export enum PreferredContactMethodType { Any = 1, Email = 2, Phone = 3, Fax = 4, Mail = 5, Text = 6 } export type PreferredContactMethodTypeString = keyof typeof PreferredContactMethodType; export enum LeadSourceType { Advertisement = 1, Employee_Referral = 2, External_Referral = 3, Partner = 4, Public_Relations = 5, Seminar = 6, Trade_Show = 7, Web = 8, Word_of_Mouth = 9, Other = 10, Social_Media = 11, Traditional_Advertising = 12, Unknown = 13, Telemarketing = 14, Tradeshow = 100000000, miEdge = 747470000 } export type LeadSourceTypeString = keyof typeof LeadSourceType; export enum LeadQualityType { Hot = 1, Warm = 2, Cold = 3 } export type LeadQualityTypeString = keyof typeof LeadQualityType; export enum LeadStateCodeType { Open = 0, Qualified = 1, Disqualified = 2 } export type LeadStateCodeTypeString = keyof typeof LeadStateCodeType; export enum LeadStatusCodeType { New = 1, Contacted = 2, Qualified = 3, Lost = 4, Cannot_Contact = 5, No_Longer_Interested = 6, Canceled = 7 } export type LeadStatusCodeTypeString = keyof typeof LeadStatusCodeType; export enum CrmLineOfBusinessType { Commercial = 100000000, Personal = 100000001, EmployeeBenefits = 100000002, Retirement = 100000003 } export type CrmLineOfBusinessTypeString = keyof typeof CrmLineOfBusinessType; export enum NewOrRenewalType { New = 0, Renewal = 1 } export type NewOrRenewalTypeString = keyof typeof NewOrRenewalType; export enum OpportunitySalesStage { Qualify = 10, Prospect = 11, Propose = 12, BindAndClose = 13 } export type OpportunitySalesStageString = keyof typeof OpportunitySalesStage; export enum OpportunityStateCode { Open = 0, Won = 1, Lost = 2 } export type OpportunityStateCodeString = keyof typeof OpportunityStateCode; export enum OpportunityStatusCode { InProgress = 1, OnHold = 2, Won = 3, Canceled = 4, OutSold = 5, Sold = 100000000, SoldBor = 100000001, RequoteAtRenewal = 100000002, DoNotRequote = 100000003, Deactivate = 100000004 } export type OpportunityStatusCodeString = keyof typeof OpportunityStatusCode; export enum FailureType { GeneralFailure = 0, Duplicate = 1 } export type FailureTypeString = keyof typeof FailureType; export enum AccountType { None = 0, PendingEmployee = 1, Employee = 2, Auditor = 4, Guest = 8, Investor = 16, Client = 32, PCMS = 64, Recruiting = 128, LeavittFitnessUser = 256 } export type AccountTypeDiscrete = 'PendingEmployee' | 'Employee' | 'Auditor' | 'Guest' | 'Investor' | 'Client' | 'PCMS' | 'Recruiting' | 'LeavittFitnessUser'; export type AccountTypeNonDiscrete = 'None'; export type AccountTypeString = UnionConcat | AccountTypeNonDiscrete; export enum AuthenticationType { None = 0, Okta = 1, Auth0 = 2 } export type AuthenticationTypeString = keyof typeof AuthenticationType; export enum ChairmansCircleQualificationType { None = 0, NewBooked = 1, NetGrowth = 2 } export type ChairmansCircleQualificationTypeDiscrete = 'NewBooked' | 'NetGrowth'; export type ChairmansCircleQualificationTypeNonDiscrete = 'None'; export type ChairmansCircleQualificationTypeString = UnionConcat | ChairmansCircleQualificationTypeNonDiscrete; export enum FiscalYearEnd { January = 0, February = 1, March = 2, April = 3, May = 4, June = 5, July = 6, August = 7, September = 8, October = 9, November = 10, December = 11 } export type FiscalYearEndString = keyof typeof FiscalYearEnd; export enum PreferredCRMType { None = 0, Dynamics = 1, AgencyZoom = 2, Monday = 3 } export type PreferredCRMTypeString = keyof typeof PreferredCRMType; export enum CompanyGrade { APlus = 0, A = 1, AMinus = 2, BPlus = 3, B = 4, BMinus = 5, CPlus = 6, C = 7, CMinus = 8, DPlus = 9, D = 10, DMinus = 11, FPlus = 12, F = 13, FMinus = 14 } export type CompanyGradeString = keyof typeof CompanyGrade; export enum CompanyLogoTypes { Logo = 0, Mark = 1, DarkLogo = 2, DarkMark = 3 } export type CompanyLogoTypesString = keyof typeof CompanyLogoTypes; export enum CompanyNameType { HrCompanyName = 0, HrCompanyDbaName = 1, Legal = 2, Short = 3, Main = 4 } export type CompanyNameTypeString = keyof typeof CompanyNameType; export enum EmailAddressTypes { PrimaryWork = 0, Personal = 2 } export type EmailAddressTypesString = keyof typeof EmailAddressTypes; export enum TrainingType { Elevate = 0 } export type TrainingTypeString = keyof typeof TrainingType; export enum GroupLogicalOperator { OR = 0, AND = 1 } export type GroupLogicalOperatorString = keyof typeof GroupLogicalOperator; export enum JobRoleAssignmentType { CommercialLines = 0, PersonalLines = 1, Benefits = 2, Life = 3 } export type JobRoleAssignmentTypeString = keyof typeof JobRoleAssignmentType; export enum JobRoleChangeType { Add = 0, Delete = 1, Modify = 2 } export type JobRoleChangeTypeString = keyof typeof JobRoleChangeType; export enum PeopleGroupType { None = 0, Security = 1, Distribution = 2, Okta = 4, Unily = 8, VitalSignsReportingGroup = 16 } export type PeopleGroupTypeDiscrete = 'Security' | 'Distribution' | 'Okta' | 'Unily' | 'VitalSignsReportingGroup'; export type PeopleGroupTypeNonDiscrete = 'None'; export type PeopleGroupTypeString = UnionConcat | PeopleGroupTypeNonDiscrete; export enum UserRoleType { None = 0, Employee = 1, Guest = 2, Auditor = 3, Investor = 4, ConferenceUser = 5, AutomatedUser = 6, PendingEmployee = 7, Client = 8 } export type UserRoleTypeString = keyof typeof UserRoleType; export enum PersonNameType { Legal = 0, Preffered = 1 } export type PersonNameTypeString = keyof typeof PersonNameType; export enum PhoneNumberType { HrCompanyMain = 0, HrCompanyFax = 1, HrCompanyOther = 3, HrCompanyAddressMain = 4, HrCompanyAddressFax = 5, PrimaryWork = 7, PrimaryHome = 9, Mobile = 11, Fax = 12 } export type PhoneNumberTypeString = keyof typeof PhoneNumberType; export enum ChampionMeetingType { InitialDemo = 0, Training = 1, Support = 2 } export type ChampionMeetingTypeString = keyof typeof ChampionMeetingType; export enum ConnectedStatus { NotDiscussed = 0, Discussed = 2, Using = 4, NotInterested = 5 } export type ConnectedStatusString = keyof typeof ConnectedStatus; export enum ChangeRequestAction { Add = 0, Edit = 1, Delete = 2 } export type ChangeRequestActionString = keyof typeof ChangeRequestAction; export enum ChangeRequestStatus { Open = 0, Closed = 1 } export type ChangeRequestStatusString = keyof typeof ChangeRequestStatus; export enum RenewalStatusType { ClientIncomplete = 0, AgentIncomplete = 1, Complete = 2 } export type RenewalStatusTypeString = keyof typeof RenewalStatusType; export enum ResponsiblePartyType { Client = 0, Agent = 1 } export type ResponsiblePartyTypeString = keyof typeof ResponsiblePartyType; export enum RenewalItemStatusType { Incomplete = 0, InReview = 1, Complete = 3 } export type RenewalItemStatusTypeString = keyof typeof RenewalItemStatusType; export enum GamePointType { Written = 0, Premium = 1, PotentialSales = 2 } export type GamePointTypeString = keyof typeof GamePointType; export enum ScoringType { None = 0, WrittenPremiumOrBooked = 1, PointQuestion = 2 } export type ScoringTypeDiscrete = 'WrittenPremiumOrBooked' | 'PointQuestion'; export type ScoringTypeNonDiscrete = 'None'; export type ScoringTypeString = UnionConcat | ScoringTypeNonDiscrete; export enum ThirdPartyPointSyncScoringType { CL_2020 = 0, PL_2025 = 1, CL_2025 = 2 } export type ThirdPartyPointSyncScoringTypeString = keyof typeof ThirdPartyPointSyncScoringType; export enum CLGamePointSourceType { CRM = 0, Website = 1, AMS360 = 2, CrossSell = 3 } export type CLGamePointSourceTypeString = keyof typeof CLGamePointSourceType; export enum CLGamePointType { Sale = 0, BOR = 1 } export type CLGamePointTypeString = keyof typeof CLGamePointType; export enum CLGameQualificationEmailType { Management = 0, Player = 1 } export type CLGameQualificationEmailTypeString = keyof typeof CLGameQualificationEmailType; export enum GamePointQuestionType { Bool = 0, Number = 1, SingleSelect = 2, FreeForm = 3 } export type GamePointQuestionTypeString = keyof typeof GamePointQuestionType; export enum CirclesOfExcellenceCalculationType { None = 0, Written = 1, Booked = 2, NetGrowth = 3 } export type CirclesOfExcellenceCalculationTypeString = keyof typeof CirclesOfExcellenceCalculationType; export enum CarrierAppointmentStatus { Draft = 0, SubmittedToIRC = 1, Denied = 2, Appointed = 3, Terminated = 4 } export type CarrierAppointmentStatusString = keyof typeof CarrierAppointmentStatus; export enum UpdateChannel { Beta = 0, Stable = 1 } export type UpdateChannelString = keyof typeof UpdateChannel; export enum BrokerCategory { Select = 0, NotApproved = 1, NonParticipating = 2, Carrier = 3, Benefit = 4, Approved = 5 } export type BrokerCategoryString = keyof typeof BrokerCategory; export enum BrokerDisclosureCompensationType { ClientAllocation = 0, ClientSpecific = 1 } export type BrokerDisclosureCompensationTypeString = keyof typeof BrokerDisclosureCompensationType; export enum PaymentStructureType { Currency = 0, Percentage = 1 } export type PaymentStructureTypeString = keyof typeof PaymentStructureType; export enum Ams360CustomerFieldsExclusionType { None = 0, AnyDnc = 1 } export type Ams360CustomerFieldsExclusionTypeDiscrete = 'AnyDnc'; export type Ams360CustomerFieldsExclusionTypeNonDiscrete = 'None'; export type Ams360CustomerFieldsExclusionTypeString = UnionConcat | Ams360CustomerFieldsExclusionTypeNonDiscrete; export enum Ams360CustomerFieldsType { None = 0, Phones = 1, Emails = 2, DateOfBirth = 4, Address = 8, NAICS = 16, EmptyEmails = 32 } export type Ams360CustomerFieldsTypeDiscrete = 'Phones' | 'Emails' | 'DateOfBirth' | 'Address' | 'NAICS' | 'EmptyEmails'; export type Ams360CustomerFieldsTypeNonDiscrete = 'None'; export type Ams360CustomerFieldsTypeString = UnionConcat | Ams360CustomerFieldsTypeNonDiscrete; export enum Ams360PolicyFieldsType { None = 0, WritingCompany = 1, Department = 2, Status = 4, HasManualOverride = 8, NonRenewedStatus = 16, InvalidPremium = 32 } export type Ams360PolicyFieldsTypeDiscrete = 'WritingCompany' | 'Department' | 'Status' | 'HasManualOverride' | 'NonRenewedStatus' | 'InvalidPremium'; export type Ams360PolicyFieldsTypeNonDiscrete = 'None'; export type Ams360PolicyFieldsTypeString = UnionConcat | Ams360PolicyFieldsTypeNonDiscrete; export enum Ams360PolicyStatusType { C = 0, N = 1, A = 2, E = 3, R = 4, W = 5, T = 6, I = 7, Q = 8 } export type Ams360PolicyStatusTypeString = keyof typeof Ams360PolicyStatusType; export enum BenefitPointAccountFieldsType { None = 0, Active = 1, AccountType = 2 } export type BenefitPointAccountFieldsTypeDiscrete = 'Active' | 'AccountType'; export type BenefitPointAccountFieldsTypeNonDiscrete = 'None'; export type BenefitPointAccountFieldsTypeString = UnionConcat | BenefitPointAccountFieldsTypeNonDiscrete; export enum BenefitPointPlanFieldsType { None = 0, Continuous = 1, EffectiveDate = 2, SalesLead = 4, ServiceLead = 8, Carrier = 16, Splits = 32 } export type BenefitPointPlanFieldsTypeDiscrete = 'Continuous' | 'EffectiveDate' | 'SalesLead' | 'ServiceLead' | 'Carrier' | 'Splits'; export type BenefitPointPlanFieldsTypeNonDiscrete = 'None'; export type BenefitPointPlanFieldsTypeString = UnionConcat | BenefitPointPlanFieldsTypeNonDiscrete; export enum AnneOLeavittAwardBannerLocation { HomePageHero = 0, HomePageHeroMobile = 1, AwardWinnersPage = 2, AwardWinnersPageMobile = 3, NominateEmployeePage = 4, NominateEmployeePageMobile = 5, MyNominationsPage = 6, MyNominationsPageMobile = 7 } export type AnneOLeavittAwardBannerLocationString = keyof typeof AnneOLeavittAwardBannerLocation; export enum AnneOLeavittAwardType { AnneOLeavittAwardType = 0, QuarterlyCultureAward = 1 } export type AnneOLeavittAwardTypeString = keyof typeof AnneOLeavittAwardType; export enum Ams360InstanceType { Primary = 0, OnTopEntry = 1 } export type Ams360InstanceTypeString = keyof typeof Ams360InstanceType; export enum AgencyZoomLeadStatus { NEW = 0, QUOTED = 1, WON = 2, LOST = 3, CONTACTED = 4, EXPIRED = 5 } export type AgencyZoomLeadStatusString = keyof typeof AgencyZoomLeadStatus; export enum CourseSourceType { LGE = 0, KnowBe4 = 1, TotalCSR = 2 } export type CourseSourceTypeString = keyof typeof CourseSourceType; export enum EducationChangeAction { Added = 0, Edited = 1, Deleted = 2 } export type EducationChangeActionString = keyof typeof EducationChangeAction; export enum EducationEntityType { Course = 0, Lesson = 1 } export type EducationEntityTypeString = keyof typeof EducationEntityType;