@tellescope/types-models 1.86.1 → 1.88.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.
@@ -163,6 +163,7 @@ export type OrganizationSettings = {
163
163
  autofillSignature?: boolean;
164
164
  showFullVitalsTab?: boolean;
165
165
  canMoveCalls?: boolean;
166
+ inboxRepliesMarkRead?: boolean;
166
167
  };
167
168
  tickets?: {
168
169
  defaultJourneyDueDateOffsetInMS?: number | '';
@@ -388,6 +389,7 @@ export interface UserSession extends Session, OrganizationLimits {
388
389
  eat?: boolean;
389
390
  lockedOutUntil?: number;
390
391
  duration?: number;
392
+ availablePhoneNumbers: string[];
391
393
  }
392
394
  export type StateCredentialInfo = {
393
395
  state: string;
@@ -453,6 +455,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
453
455
  weeklyAvailabilities?: WeeklyAvailability[];
454
456
  autoReplyEnabled?: boolean;
455
457
  twilioNumber?: string;
458
+ availableFromNumbers?: string[];
456
459
  hashedPass?: string;
457
460
  pushNotificationIosTokens?: string[];
458
461
  pushNotificationDestinations?: string[];
@@ -473,6 +476,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
473
476
  skills?: string[];
474
477
  lockedOutUntil?: number;
475
478
  elationUserId?: number;
479
+ iOSBadgeCount?: number;
476
480
  }
477
481
  export type Preference = 'email' | 'sms' | 'call' | 'chat';
478
482
  export type CustomField = string | number | object | {
@@ -986,6 +990,7 @@ export interface ChatMessage extends ChatMessage_readonly, ChatMessage_required,
986
990
  timestamp?: Date;
987
991
  ticketIds?: string[];
988
992
  tags?: string[];
993
+ mentions?: string[];
989
994
  userId?: string;
990
995
  enduserId?: string;
991
996
  }
@@ -1114,6 +1119,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1114
1119
  reminders?: TicketReminder[];
1115
1120
  preserveContext?: boolean;
1116
1121
  phoneCallId?: string;
1122
+ calendarEventId?: string;
1117
1123
  }
1118
1124
  export type AttendeeInfo = {
1119
1125
  ExternalUserId: string;
@@ -1251,6 +1257,7 @@ export type FormFieldOptions = FormFieldValidation & {
1251
1257
  userFilterTags?: string[];
1252
1258
  requirePredefinedInsurer?: boolean;
1253
1259
  addressFields?: string[];
1260
+ validStates?: string[];
1254
1261
  autoAdvance?: boolean;
1255
1262
  prefillSignature?: boolean;
1256
1263
  };
@@ -1544,7 +1551,7 @@ export type FormResponseValue = {
1544
1551
  sharedWithEnduser?: boolean;
1545
1552
  isCalledOut?: boolean;
1546
1553
  isHighlightedOnTimeline?: boolean;
1547
- computedValueKey?: 'Height' | 'Weight';
1554
+ computedValueKey?: 'Height' | 'Weight' | 'Date of Birth';
1548
1555
  };
1549
1556
  export type AnswerForType = {
1550
1557
  'email': FormResponseAnswerEmail['value'];
@@ -2763,7 +2770,9 @@ export type AnalyticsQueryGroupingForType = {
2763
2770
  "Purchase Credits": {} & EnduserGrouping & {
2764
2771
  Enduser: string;
2765
2772
  };
2766
- "Tickets": {} & EnduserGrouping & {
2773
+ "Tickets": {
2774
+ Owner: boolean;
2775
+ } & EnduserGrouping & {
2767
2776
  Enduser: string;
2768
2777
  };
2769
2778
  "Phone Calls": {} & EnduserGrouping & {
@@ -2788,16 +2797,17 @@ type DefaultRangeKey = 'Created At' | 'Updated At';
2788
2797
  export type AnalyticsQueryRangeKeyForType = {
2789
2798
  "Endusers": DefaultRangeKey;
2790
2799
  "Calendar Events": DefaultRangeKey;
2791
- "Form Responses": DefaultRangeKey;
2800
+ "Form Responses": DefaultRangeKey | "Submitted At";
2792
2801
  "Purchases": DefaultRangeKey;
2793
2802
  "Purchase Credits": DefaultRangeKey;
2794
- "Tickets": DefaultRangeKey;
2803
+ "Tickets": DefaultRangeKey | "Closed At";
2795
2804
  "Phone Calls": DefaultRangeKey;
2796
2805
  "SMS Messages": DefaultRangeKey;
2797
2806
  "Emails": DefaultRangeKey;
2798
2807
  "Medications": DefaultRangeKey;
2799
2808
  "Files": DefaultRangeKey;
2800
2809
  };
2810
+ export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At";
2801
2811
  export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
2802
2812
  export type AnalyticsQueryRange<R> = {
2803
2813
  interval: AnalyticsQueryRangeInterval;