// ----------------------
//
// 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