@tellescope/types-models 1.113.0 → 1.115.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
@@ -271,6 +271,7 @@ export interface Organization_updatesDisabled {
271
271
  subdomain: string;
272
272
  }
273
273
  export interface Organization extends Organization_readonly, Organization_required, Organization_updatesDisabled {
274
+ subdomains?: string[],
274
275
  owner?: string,
275
276
  timezone?: Timezone,
276
277
  roles?: string[];
@@ -284,6 +285,7 @@ export interface Organization extends Organization_readonly, Organization_requir
284
285
  customProviderURL?: string,
285
286
  customTermsOfService?: string,
286
287
  customPrivacyPolicy?: string,
288
+ requireCustomTermsOnMagicLink?: boolean,
287
289
  settings?: OrganizationSettings,
288
290
  portalSettings?: PortalSettings,
289
291
  enduserDisplayName?: string,
@@ -345,6 +347,10 @@ export interface Organization extends Organization_readonly, Organization_requir
345
347
  answersSyncToPortal?: { id: string, questions: string[] }[]
346
348
  externalFormIdsToSync?: string[],
347
349
  enforceMFA?: boolean,
350
+ analyticsIframes?: {
351
+ title: string,
352
+ iframeURL: string,
353
+ }[]
348
354
  // _AIEnabled?: boolean,
349
355
  }
350
356
  export type OrganizationTheme = {
@@ -360,6 +366,7 @@ export type OrganizationTheme = {
360
366
  portalSettings?: PortalSettings,
361
367
  customTermsOfService?: string,
362
368
  customPrivacyPolicy?: string,
369
+ requireCustomTermsOnMagicLink?: boolean,
363
370
  }
364
371
 
365
372
 
@@ -467,6 +474,8 @@ export type UserCallRoutingBehavior = (
467
474
 
468
475
  export type MFASettings = { email?: boolean }
469
476
 
477
+ export type LabeledField = { field: string, value: string }
478
+
470
479
  export interface User_readonly extends ClientRecord {
471
480
  organization?: string
472
481
  username?: string;
@@ -538,6 +547,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
538
547
  doseSpotUserId?: string,
539
548
  url?: string,
540
549
  requiresMFAConfiguration?: boolean,
550
+ templateFields?: LabeledField[]
541
551
  }
542
552
 
543
553
  export type Preference = 'email' | 'sms' | 'call' | 'chat'
@@ -784,6 +794,8 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
784
794
  frequency?: string,
785
795
  },
786
796
  notes?: string,
797
+ pharmacyName?: string,
798
+ orderStatus?: string,
787
799
  }
788
800
 
789
801
  export interface APIKey_readonly extends ClientRecord {
@@ -944,6 +956,7 @@ export interface Journey extends Journey_readonly, Journey_required, Journey_upd
944
956
  export interface TextCommunication extends WithLinkOpenTrackingIds {
945
957
  automationStepId?: string,
946
958
  templateId?: string,
959
+ calendarEventId?: string,
947
960
  }
948
961
 
949
962
  export type EmailEncoding = '' | 'base64'
@@ -1437,6 +1450,7 @@ export interface FormField extends FormField_readonly, FormField_required, FormF
1437
1450
  externalId?: string,
1438
1451
  sharedWithEnduser?: boolean,
1439
1452
  prepopulateFromFields?: boolean,
1453
+ disabledWhenPrepopulated?: boolean,
1440
1454
  calloutConditions?: FormFieldCalloutCondition[],
1441
1455
  feedback?: FormFieldFeedback[],
1442
1456
  highlightOnTimeline?: boolean,
@@ -1764,6 +1778,7 @@ export type FormResponseValue = {
1764
1778
  externalId?: string,
1765
1779
  sharedWithEnduser?: boolean,
1766
1780
  isCalledOut?: boolean,
1781
+ disabled?: boolean,
1767
1782
  isHighlightedOnTimeline?: boolean,
1768
1783
  computedValueKey?: 'Height' | 'Weight' | 'Date of Birth',
1769
1784
  }
@@ -1980,6 +1995,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1980
1995
  at: Date,
1981
1996
  }[],
1982
1997
  useUserURL?: boolean,
1998
+ healthieZoomStartURL?: string,
1999
+ healthieZoomJoinURL?: string,
1983
2000
  // isAllDay?: boolean,
1984
2001
  }
1985
2002
 
@@ -2623,7 +2640,7 @@ export interface ManagedContentRecordAssignment_required {
2623
2640
  export interface ManagedContentRecordAssignment_updatesDisabled {}
2624
2641
  export interface ManagedContentRecordAssignment extends ManagedContentRecordAssignment_readonly, ManagedContentRecordAssignment_required, ManagedContentRecordAssignment_updatesDisabled {}
2625
2642
 
2626
- export type PortalPage = "Home" | "Care Plan" | "Documents" | "Education" | "My Events" | "Community" | "Communications" | "Appointment Booking"
2643
+ export type PortalPage = "Home" | "Care Plan" | "Documents" | "Education" | "My Events" | "Community" | "Communications" | "Appointment Booking" | "Orders"
2627
2644
 
2628
2645
  type BuildPortalBlockInfo <T, I> = { type: T, info: I }
2629
2646
 
@@ -2670,6 +2687,7 @@ export const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: { [K in PortalP
2670
2687
  "Care Plan": MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION,
2671
2688
  "Appointment Booking": MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION,
2672
2689
  "My Events": MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION,
2690
+ "Orders": MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION,
2673
2691
  }
2674
2692
 
2675
2693
  export interface Forum_readonly extends ClientRecord {}
@@ -3713,6 +3731,21 @@ export interface FlowchartNote extends FlowchartNote_readonly, FlowchartNote_req
3713
3731
  flowchartUI?: FlowchartUI,
3714
3732
  }
3715
3733
 
3734
+ export interface PortalBranding_readonly extends ClientRecord { }
3735
+ export interface PortalBranding_required {
3736
+ title: string,
3737
+ enduserField: string,
3738
+ enduserValue: string,
3739
+ }
3740
+ export interface PortalBranding_updatesDisabled {}
3741
+ export interface PortalBranding extends PortalBranding_readonly, PortalBranding_required, PortalBranding_updatesDisabled {
3742
+ primary?: string,
3743
+ secondary?: string,
3744
+ logoURL?: string,
3745
+ subdomain?: string,
3746
+ customPortalURL?: string,
3747
+ }
3748
+
3716
3749
  export interface WebhookLog_readonly extends ClientRecord {
3717
3750
  url: string,
3718
3751
  payload: object,
@@ -3724,6 +3757,7 @@ export interface WebhookLog_updatesDisabled {}
3724
3757
  export interface WebhookLog extends WebhookLog_readonly, WebhookLog_required, WebhookLog_updatesDisabled {}
3725
3758
 
3726
3759
  export type ModelForName_required = {
3760
+ portal_brandings: PortalBranding_required
3727
3761
  form_groups: FormGroup_required,
3728
3762
  webhook_logs: WebhookLog_required,
3729
3763
  flowchart_notes: FlowchartNote_required,
@@ -3803,6 +3837,7 @@ export type ModelForName_required = {
3803
3837
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
3804
3838
 
3805
3839
  export interface ModelForName_readonly {
3840
+ portal_brandings: PortalBranding_readonly,
3806
3841
  form_groups: FormGroup_readonly,
3807
3842
  webhook_logs: WebhookLog_readonly,
3808
3843
  flowchart_notes: FlowchartNote_readonly,
@@ -3882,6 +3917,7 @@ export interface ModelForName_readonly {
3882
3917
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
3883
3918
 
3884
3919
  export interface ModelForName_updatesDisabled {
3920
+ portal_brandings: PortalBranding_updatesDisabled,
3885
3921
  form_groups: FormGroup_updatesDisabled,
3886
3922
  webhook_logs: WebhookLog_updatesDisabled,
3887
3923
  flowchart_notes: FlowchartNote_updatesDisabled,
@@ -3961,6 +3997,7 @@ export interface ModelForName_updatesDisabled {
3961
3997
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
3962
3998
 
3963
3999
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4000
+ portal_brandings: PortalBranding,
3964
4001
  form_groups: FormGroup,
3965
4002
  webhook_logs: WebhookLog,
3966
4003
  flowchart_notes: FlowchartNote,
@@ -4050,6 +4087,7 @@ export interface UserActivityInfo {
4050
4087
  export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
4051
4088
 
4052
4089
  export const modelNameChecker: { [K in ModelName] : true } = {
4090
+ portal_brandings: true,
4053
4091
  form_groups: true,
4054
4092
  webhook_logs: true,
4055
4093
  flowchart_notes: true,