@tellescope/types-models 1.253.0 → 1.254.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.
@@ -291,6 +291,7 @@ export type OrganizationSettings = {
291
291
  };
292
292
  users?: {
293
293
  sessionDurationInHours?: number;
294
+ enableResourceAccessTags?: boolean;
294
295
  };
295
296
  integrations?: {
296
297
  vitalLabOrderPhysicianOptional?: boolean;
@@ -305,6 +306,8 @@ export type OrganizationSettings = {
305
306
  };
306
307
  timeTracking?: {
307
308
  enabled?: boolean;
309
+ setAppointmentDurationOnTimeTrackClose?: boolean;
310
+ inactivityThresholdInSeconds?: number;
308
311
  };
309
312
  };
310
313
  export type OrganizationLimits = {
@@ -410,7 +413,9 @@ export interface Organization extends Organization_readonly, Organization_requir
410
413
  inboxThreadsBuiltTo?: Date | '';
411
414
  bedrockAIAllowed?: boolean;
412
415
  plan?: OrganizationPlan;
413
- onboardingStatus?: string;
416
+ onboardingStatus?: {
417
+ [key: string]: string | boolean;
418
+ };
414
419
  subdomains?: string[];
415
420
  owner?: string;
416
421
  timezone?: Timezone;
@@ -664,9 +669,11 @@ export interface UserSession extends Session, OrganizationLimits {
664
669
  limits?: OrganizationLimits;
665
670
  uiRestrictions?: UserUIRestrictions;
666
671
  fieldRedactions?: UserFieldRedactions;
672
+ portalSchemaRestrictions?: PortalSchemaRestrictions;
667
673
  dashboardView?: CustomDashboardView;
668
674
  hasTicketQueues?: boolean;
669
675
  eat?: boolean;
676
+ erat?: boolean;
670
677
  lockedOutUntil?: number;
671
678
  duration?: number;
672
679
  doseSpotUserId?: string;
@@ -1265,6 +1272,7 @@ export interface Journey_required {
1265
1272
  title: string;
1266
1273
  }
1267
1274
  export interface Journey extends Journey_readonly, Journey_required, Journey_updatesDisabled {
1275
+ accessTags?: string[];
1268
1276
  defaultState: string;
1269
1277
  states: JourneyState[];
1270
1278
  description?: string;
@@ -1520,6 +1528,7 @@ export interface MessageTemplate_required {
1520
1528
  export interface MessageTemplate_updatesDisabled {
1521
1529
  }
1522
1530
  export interface MessageTemplate extends MessageTemplate_readonly, MessageTemplate_required, MessageTemplate_updatesDisabled {
1531
+ accessTags?: string[];
1523
1532
  html: string;
1524
1533
  type?: MessageTemplateType;
1525
1534
  editorState?: string;
@@ -1564,7 +1573,9 @@ export interface File_required {
1564
1573
  export interface File_updatesDisabled {
1565
1574
  }
1566
1575
  export interface File extends File_readonly, File_required, File_updatesDisabled, EnduserPortalVisibility {
1576
+ accessTags?: string[];
1567
1577
  enduserId?: string;
1578
+ formResponseId?: string;
1568
1579
  pushedToClientPortal?: boolean;
1569
1580
  hiddenFromEnduser?: boolean;
1570
1581
  source?: string;
@@ -2025,6 +2036,7 @@ export type FormCustomization = {
2025
2036
  publicFormSubmitHTMLDescription?: string;
2026
2037
  logoURL?: string;
2027
2038
  logoHeight?: number;
2039
+ logoAlignment?: 'left' | 'center' | 'right';
2028
2040
  publicLabelPrefix?: string;
2029
2041
  publicFnameLabel?: string;
2030
2042
  publicLnameLabel?: string;
@@ -2053,6 +2065,7 @@ export interface Form_required {
2053
2065
  export interface Form_updatesDisabled {
2054
2066
  }
2055
2067
  export interface Form extends Form_readonly, Form_required, Form_updatesDisabled {
2068
+ accessTags?: string[];
2056
2069
  gtmTag?: string;
2057
2070
  ipAddressCustomField: string;
2058
2071
  archivedAt?: Date | '';
@@ -2660,10 +2673,19 @@ export type AttendeeStatus = {
2660
2673
  export interface CalendarEventPortalSettings {
2661
2674
  hideUsers?: boolean;
2662
2675
  }
2676
+ export type VideoCallParticipantEvent = {
2677
+ id: string;
2678
+ type: 'connected' | 'disconnected';
2679
+ timestamp: Date;
2680
+ meetingId: string;
2681
+ participantSid?: string;
2682
+ durationSeconds?: number;
2683
+ };
2663
2684
  export interface CalendarEvent_readonly extends ClientRecord {
2664
2685
  meetingId?: string;
2665
2686
  meetingStatus?: MeetingStatus;
2666
2687
  references?: RelatedRecord[];
2688
+ videoCallAttendance?: VideoCallParticipantEvent[];
2667
2689
  }
2668
2690
  export interface CalendarEvent_required {
2669
2691
  title: string;
@@ -2865,6 +2887,7 @@ export interface CalendarEventTemplate_required {
2865
2887
  export interface CalendarEventTemplate_updatesDisabled {
2866
2888
  }
2867
2889
  export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, CalendarEventTemplate_required, CalendarEventTemplate_updatesDisabled {
2890
+ accessTags?: string[];
2868
2891
  dontSyncToElation?: boolean;
2869
2892
  sendIcsEmail?: boolean;
2870
2893
  createAndBookAthenaSlot?: boolean;
@@ -2966,6 +2989,7 @@ export interface AppointmentBookingPage_required {
2966
2989
  export interface AppointmentBookingPage_updatesDisabled {
2967
2990
  }
2968
2991
  export interface AppointmentBookingPage extends AppointmentBookingPage_readonly, AppointmentBookingPage_required, AppointmentBookingPage_updatesDisabled {
2992
+ accessTags?: string[];
2969
2993
  startDate?: Date;
2970
2994
  endDate?: Date;
2971
2995
  primaryColor?: string;
@@ -3757,6 +3781,7 @@ export interface ManagedContentRecord_updatesDisabled {
3757
3781
  type?: ManagedContentRecordType;
3758
3782
  }
3759
3783
  export interface ManagedContentRecord extends ManagedContentRecord_readonly, ManagedContentRecord_required, ManagedContentRecord_updatesDisabled {
3784
+ accessTags?: string[];
3760
3785
  index?: number;
3761
3786
  headerPhoto?: string;
3762
3787
  publicRead?: boolean;
@@ -4027,6 +4052,11 @@ export type TypedField = {
4027
4052
  export type UserFieldRedactions = {
4028
4053
  [modelName: string]: string[];
4029
4054
  };
4055
+ export type PortalSchemaRestrictions = {
4056
+ disableEditContent?: boolean;
4057
+ disableEditTheming?: boolean;
4058
+ disableEditSnippets?: boolean;
4059
+ };
4030
4060
  export type UserUIRestrictions = {
4031
4061
  hideDashboard?: boolean;
4032
4062
  hideInbox?: boolean;
@@ -4058,6 +4088,9 @@ export interface RoleBasedAccessPermission_required {
4058
4088
  permissions: Partial<AccessPermissions>;
4059
4089
  uiRestrictions?: UserUIRestrictions;
4060
4090
  fieldRedactions?: UserFieldRedactions;
4091
+ portalSchemaRestrictions?: PortalSchemaRestrictions;
4092
+ color?: string;
4093
+ description?: string;
4061
4094
  }
4062
4095
  export interface RoleBasedAccessPermission_updatesDisabled {
4063
4096
  }
@@ -4668,6 +4701,7 @@ export type AutomationTriggerActions = {
4668
4701
  tags: ListOfStringsWithQualifier;
4669
4702
  limitToOneUser?: boolean;
4670
4703
  setAsPrimary?: boolean;
4704
+ restrictByState?: boolean;
4671
4705
  }>;
4672
4706
  "Canvas: Add Patient": AutomationTriggerActionBuilder<'Canvas: Add Patient', {}>;
4673
4707
  "Zus: Delete Enrollment": AutomationTriggerActionBuilder<'Zus: Delete Enrollment', {
@@ -4805,7 +4839,7 @@ export type AutomationTriggerEvents = {
4805
4839
  }, {}>;
4806
4840
  'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
4807
4841
  source: string;
4808
- status: string;
4842
+ status?: string;
4809
4843
  fills?: string[];
4810
4844
  skus?: string[];
4811
4845
  skuPartials?: string[];
@@ -4895,6 +4929,7 @@ export interface AutomationTrigger_required {
4895
4929
  export interface AutomationTrigger_updatesDisabled {
4896
4930
  }
4897
4931
  export interface AutomationTrigger extends AutomationTrigger_readonly, AutomationTrigger_required, AutomationTrigger_updatesDisabled {
4932
+ accessTags?: string[];
4898
4933
  enduserCondition?: Record<string, any>;
4899
4934
  journeyId?: string;
4900
4935
  oncePerEnduser?: boolean;
@@ -5059,7 +5094,10 @@ export type PhoneTreeActions = {
5059
5094
  playbackVoicemail?: Partial<PhonePlayback>;
5060
5095
  }>;
5061
5096
  'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
5062
- to: string;
5097
+ to?: string;
5098
+ sipUrl?: string;
5099
+ sipUsername?: string;
5100
+ sipPassword?: string;
5063
5101
  playback?: Partial<PhonePlayback>;
5064
5102
  }>;
5065
5103
  'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
@@ -5127,6 +5165,7 @@ export interface TableView_required {
5127
5165
  export interface TableView_updatesDisabled {
5128
5166
  }
5129
5167
  export interface TableView extends TableView_readonly, TableView_required, TableView_updatesDisabled {
5168
+ accessTags?: string[];
5130
5169
  defaultForRoles?: string[];
5131
5170
  defaultForUserIds?: string[];
5132
5171
  filter?: Indexable;
@@ -5221,6 +5260,14 @@ export type TimeTrackTimestamp = {
5221
5260
  type: 'start' | 'pause' | 'resume';
5222
5261
  timestamp: Date;
5223
5262
  };
5263
+ export type TimeTrackReviewHistoryItem = {
5264
+ reviewedAt: Date;
5265
+ reviewedByUserId?: string;
5266
+ reviewApproved?: boolean;
5267
+ reviewNote?: string;
5268
+ resubmittedAt?: Date;
5269
+ resubmittedByUserId?: string;
5270
+ };
5224
5271
  export interface TimeTrack_readonly extends ClientRecord {
5225
5272
  }
5226
5273
  export interface TimeTrack_updatesDisabled {
@@ -5250,6 +5297,7 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
5250
5297
  reviewNote?: string;
5251
5298
  lockedAt?: Date | '';
5252
5299
  lockedByUserId?: string;
5300
+ reviewHistory?: TimeTrackReviewHistoryItem[];
5253
5301
  }
5254
5302
  export interface TicketQueue_readonly extends ClientRecord {
5255
5303
  count?: number;
@@ -5588,7 +5636,7 @@ export interface AllergyCode extends AllergyCode_readonly, AllergyCode_required,
5588
5636
  }
5589
5637
  export interface IntegrationLog_readonly extends ClientRecord {
5590
5638
  integration: string;
5591
- status: "Success" | "Error";
5639
+ status: "Success" | "Error" | "Info";
5592
5640
  type: string;
5593
5641
  url?: string;
5594
5642
  payload?: string;