@tellescope/types-models 1.226.0 → 1.227.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -105,6 +105,7 @@ export type PortalSettings = {
105
105
  loginTitle?: string,
106
106
  loginDescription?: string,
107
107
  loginGraphic?: string,
108
+ loginBottomHTML?: string,
108
109
  registerTitle?: string,
109
110
  registerDescription?: string,
110
111
  registerGraphic?: string,
@@ -404,6 +405,7 @@ export interface Organization extends Organization_readonly, Organization_requir
404
405
  hasConnectedSuperDial?: boolean,
405
406
  hasConnectedBeluga?: boolean,
406
407
  hasConnectedMetriport?: boolean,
408
+ hasConnectedPaubox?: boolean,
407
409
  hasConfiguredZoom?: boolean,
408
410
  hasTicketQueues?: boolean,
409
411
  vitalTeamId?: string,
@@ -468,6 +470,7 @@ export interface Organization extends Organization_readonly, Organization_requir
468
470
  hasIntegrations?: string[],
469
471
  outOfOfficeHours?: OutOfOfficeBlock[],
470
472
  // _AIEnabled?: boolean,
473
+ skipActivePatientBilling?: boolean,
471
474
  }
472
475
  export type OrganizationTheme = {
473
476
  name: string,
@@ -614,6 +617,7 @@ export interface User_readonly extends ClientRecord {
614
617
  organization?: string
615
618
  username?: string;
616
619
  orgEmail?: string;
620
+ pauboxEmail?: string;
617
621
  lastActive?: Date;
618
622
  lastLogout?: Date;
619
623
  isa?: boolean,
@@ -1637,11 +1641,16 @@ export type FormFieldFeedback = {
1637
1641
  ifEquals: string,
1638
1642
  display: string,
1639
1643
  }
1644
+ export type FormFieldOptionDetails = {
1645
+ option: string,
1646
+ description?: string,
1647
+ }
1640
1648
  export interface CanvasConsentCategory extends CanvasCoding {}
1641
1649
  export type FormFieldOptions = FormFieldValidation & {
1642
1650
  default?: string,
1643
- tableChoices?: TableInputChoice[],
1651
+ tableChoices?: TableInputChoice[],
1644
1652
  choices?: string[];
1653
+ optionDetails?: FormFieldOptionDetails[];
1645
1654
  canvasCodings?: CanvasCoding[],
1646
1655
  from?: number,
1647
1656
  to?: number,
@@ -1659,6 +1668,7 @@ export type FormFieldOptions = FormFieldValidation & {
1659
1668
  databaseId?: string,
1660
1669
  databaseLabel?: string,
1661
1670
  databaseLabels?: string[],
1671
+ filterByEnduserState?: boolean,
1662
1672
  databaseFilter?: {
1663
1673
  fieldId?: string,
1664
1674
  databaseLabel?: string,
@@ -1691,6 +1701,7 @@ export type FormFieldOptions = FormFieldValidation & {
1691
1701
  groupPadding?: number,
1692
1702
  saveIntakeOnPartial?: boolean,
1693
1703
  stripeKey?: string, // publishable key of custom stripe API keys
1704
+ stripeProductSelectionMode?: boolean, // enable product selection step for Stripe questions
1694
1705
  dataSource?: string, // e.g. Canvas for Allergies
1695
1706
  canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'> // for category
1696
1707
  canvasDocumentType?: CanvasCoding, // for type
@@ -1711,7 +1722,7 @@ export type FormFieldOptions = FormFieldValidation & {
1711
1722
  elationAppendToNote?: boolean,
1712
1723
  elationAppendToNotePrefix?: string,
1713
1724
  }
1714
- export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>
1725
+ export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other' | 'optionDetails' | 'radioChoices'>
1715
1726
 
1716
1727
  export type FormFieldCalloutConditionComparison = 'Equals'
1717
1728
  export type FormFieldCalloutCondition = {
@@ -1994,6 +2005,7 @@ export interface Database_updatesDisabled {}
1994
2005
  export interface Database extends Database_readonly, Database_required, Database_updatesDisabled {
1995
2006
  // organizationRead?: boolean,
1996
2007
  visibleForRoles?: string[],
2008
+ isReferralDatabase?: boolean,
1997
2009
  }
1998
2010
 
1999
2011
  export interface DatabaseRecord_readonly extends ClientRecord {}
@@ -2221,6 +2233,7 @@ export interface FormResponse_required {
2221
2233
  publicSubmit?: boolean,
2222
2234
  submittedBy?: string,
2223
2235
  submittedByIsPlaceholder?: boolean,
2236
+ markedAsSubmitted?: boolean,
2224
2237
  submittedAt?: Date,
2225
2238
  accessCode?: string,
2226
2239
  userEmail?: string,
@@ -2467,6 +2480,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2467
2480
  preventRescheduleMinutesInAdvance?: number,
2468
2481
  preventCancelMinutesInAdvance?: number,
2469
2482
  sendIcsEmail?: boolean,
2483
+ healthieInsuranceBillingEnabled?: boolean,
2470
2484
  // isAllDay?: boolean,
2471
2485
  }
2472
2486
 
@@ -2599,6 +2613,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2599
2613
  generateAthenaTelehealthLink?: boolean,
2600
2614
  athenaTypeId?: string, // for searching slots (default booking type)
2601
2615
  athenaBookingTypeId?: string, // for booking a different type than the slot
2616
+ healthieInsuranceBillingEnabled?: boolean,
2602
2617
  }
2603
2618
 
2604
2619
  export interface AppointmentLocation_readonly extends ClientRecord {}
@@ -3337,6 +3352,7 @@ export type PortalBlockForType = {
3337
3352
  title: string,
3338
3353
  roles?: string[],
3339
3354
  showAll?: boolean,
3355
+ hideContactButton?: boolean,
3340
3356
  // members: CareTeamMemberPortalCustomizationInfo[],
3341
3357
  }>,
3342
3358
  carePlan: BuildPortalBlockInfo<'carePlan', {}>,
@@ -3564,6 +3580,7 @@ export type UserUIRestrictions = {
3564
3580
  hideMergeEndusers?: boolean,
3565
3581
  hideQueuedTicketsViewer?: boolean,
3566
3582
  hideIncomingFaxesIcon?: boolean,
3583
+ hideNotificationsIcon?: boolean,
3567
3584
  hideBulkEnduserActions?: boolean,
3568
3585
  visibleIntegrations?: string[],
3569
3586
  }
@@ -3662,6 +3679,8 @@ export type AnalyticsQueryInfoForType = {
3662
3679
  },
3663
3680
  "Journey Logs": { Total: AnalyticsQueryInfoBuilder<'Total', undefined> },
3664
3681
  "Orders": { Total: AnalyticsQueryInfoBuilder<'Total', undefined> },
3682
+ "Chat Rooms": { Total: AnalyticsQueryInfoBuilder<'Total', undefined> },
3683
+ "Chats": { Total: AnalyticsQueryInfoBuilder<'Total', undefined> },
3665
3684
  }
3666
3685
  export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType
3667
3686
  export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType]
@@ -3733,10 +3752,12 @@ export type AnalyticsQueryFilterForType = {
3733
3752
  Files: {
3734
3753
  names?: string[],
3735
3754
  },
3736
- "Journey Logs": {
3755
+ "Journey Logs": {
3737
3756
  automationStepIds?: string[],
3738
3757
  },
3739
3758
  Orders: { },
3759
+ "Chat Rooms": { },
3760
+ "Chats": { },
3740
3761
  }
3741
3762
 
3742
3763
  export type EnduserGrouping = {
@@ -3784,8 +3805,10 @@ export type AnalyticsQueryGroupingForType = {
3784
3805
  "Medications": {} & EnduserGrouping & { Enduser: string },
3785
3806
  "Files": {} & EnduserGrouping & { Enduser: string },
3786
3807
  "Journey Logs": {} & EnduserGrouping & { Enduser: string },
3787
- "Meetings": { Host?: boolean },
3808
+ "Meetings": { Host?: boolean },
3788
3809
  "Orders": {} & EnduserGrouping & { Enduser: string },
3810
+ "Chat Rooms": {} & EnduserGrouping & { Enduser: string },
3811
+ "Chats": {} & EnduserGrouping & { Enduser: string },
3789
3812
  }
3790
3813
 
3791
3814
  type DefaultRangeKey = 'Created At' | 'Updated At'
@@ -3804,6 +3827,8 @@ export type AnalyticsQueryRangeKeyForType = {
3804
3827
  "Meetings": DefaultRangeKey,
3805
3828
  "Journey Logs": DefaultRangeKey,
3806
3829
  "Orders": DefaultRangeKey,
3830
+ "Chat Rooms": DefaultRangeKey,
3831
+ "Chats": DefaultRangeKey,
3807
3832
  }
3808
3833
  export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At"
3809
3834
 
@@ -3913,12 +3938,26 @@ export type AnalyticsQueryForType = {
3913
3938
  AnalyticsQueryRangeKeyForType['Journey Logs']
3914
3939
  >,
3915
3940
  "Orders": AnalyticsQueryBuilder<
3916
- "Orders",
3941
+ "Orders",
3917
3942
  AnalyticsQueryInfoForType['Orders'][keyof AnalyticsQueryInfoForType['Orders']],
3918
3943
  AnalyticsQueryFilterForType['Orders'],
3919
3944
  AnalyticsQueryGroupingForType['Orders'],
3920
3945
  AnalyticsQueryRangeKeyForType['Orders']
3921
3946
  >,
3947
+ "Chat Rooms": AnalyticsQueryBuilder<
3948
+ "Chat Rooms",
3949
+ AnalyticsQueryInfoForType['Chat Rooms'][keyof AnalyticsQueryInfoForType['Chat Rooms']],
3950
+ AnalyticsQueryFilterForType['Chat Rooms'],
3951
+ AnalyticsQueryGroupingForType['Chat Rooms'],
3952
+ AnalyticsQueryRangeKeyForType['Chat Rooms']
3953
+ >,
3954
+ "Chats": AnalyticsQueryBuilder<
3955
+ "Chats",
3956
+ AnalyticsQueryInfoForType['Chats'][keyof AnalyticsQueryInfoForType['Chats']],
3957
+ AnalyticsQueryFilterForType['Chats'],
3958
+ AnalyticsQueryGroupingForType['Chats'],
3959
+ AnalyticsQueryRangeKeyForType['Chats']
3960
+ >,
3922
3961
  }
3923
3962
  export type AnalyticsQueryType = keyof AnalyticsQueryForType
3924
3963
  export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType]
@@ -3938,6 +3977,8 @@ export const resource_to_modelName: { [K in AnalyticsQueryType] : ModelName } =
3938
3977
  Meetings: "meetings",
3939
3978
  "Journey Logs": "automated_actions",
3940
3979
  Orders: "enduser_orders",
3980
+ "Chat Rooms": "chat_rooms",
3981
+ "Chats": "chats",
3941
3982
  }
3942
3983
 
3943
3984
  export type AnalyticsQueryOptions = {
@@ -4134,7 +4175,7 @@ export type AutomationTriggerEvents = {
4134
4175
  hasExpiredEvent?: boolean,
4135
4176
  }, {}>,
4136
4177
  'Form Unsubmitted': AutomationTriggerEventBuilder<"Form Unsubmitted", { formId: string, intervalInMS: number }, {}>,
4137
- 'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", { titles?: string[], productIds?: string[] }, {}>,
4178
+ 'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", { titles?: string[], productIds?: string[], titlePartialMatches?: string[] }, {}>,
4138
4179
  'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", { }, {}>,
4139
4180
  'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", { productIds?: string[] }, {}>,
4140
4181
  'Subscription Payment Failed': AutomationTriggerEventBuilder<"Subscription Payment Failed", { }, {}>,