@tellescope/types-models 1.200.2 → 1.202.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.
@@ -248,6 +248,7 @@ export type OrganizationSettings = {
248
248
  interface?: {
249
249
  dontPersistSearches?: boolean;
250
250
  showEndusersV2?: boolean;
251
+ showInboxV2?: boolean;
251
252
  };
252
253
  };
253
254
  export type OrganizationLimits = {
@@ -1051,10 +1052,10 @@ export interface Email_updatesDisabled {
1051
1052
  inbound?: boolean;
1052
1053
  logOnly?: boolean;
1053
1054
  timestamp?: Date;
1054
- userId: string;
1055
1055
  journeyId?: string;
1056
1056
  }
1057
1057
  export interface Email extends Email_required, Email_readonly, Email_updatesDisabled, TextCommunication {
1058
+ userId: string;
1058
1059
  hiddenFromTimeline?: boolean;
1059
1060
  isAutoreply?: boolean;
1060
1061
  replyTo?: string | null;
@@ -1155,6 +1156,7 @@ export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
1155
1156
  export interface ChatRoom_readonly extends ClientRecord {
1156
1157
  recentMessage?: string;
1157
1158
  recentEnduserMessage?: string;
1159
+ recentEnduserMessageSentAt?: number;
1158
1160
  recentSender?: string;
1159
1161
  recentMessageSentAt?: number;
1160
1162
  numMessages: number;
@@ -1688,6 +1690,7 @@ export interface Form_required {
1688
1690
  export interface Form_updatesDisabled {
1689
1691
  }
1690
1692
  export interface Form extends Form_readonly, Form_required, Form_updatesDisabled {
1693
+ gtmTag?: string;
1691
1694
  ipAddressCustomField: string;
1692
1695
  archivedAt?: Date | '';
1693
1696
  displayTitle?: string;
@@ -2222,6 +2225,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2222
2225
  athenaDepartmentId?: string;
2223
2226
  generateAthenaTelehealthLink?: boolean;
2224
2227
  athenaTypeId?: string;
2228
+ athenaBookingTypeId?: string;
2225
2229
  actualDuration?: number;
2226
2230
  dontSyncToCanvas?: boolean;
2227
2231
  reason?: string;
@@ -2335,6 +2339,7 @@ export interface Product extends Product_readonly, Product_required, Product_upd
2335
2339
  maxCheckoutCount?: number | '';
2336
2340
  stripeSubscriptionId?: string;
2337
2341
  stripeProductId?: string;
2342
+ stripePriceId?: string;
2338
2343
  }
2339
2344
  export interface Purchase_readonly extends ClientRecord {
2340
2345
  }
@@ -2438,6 +2443,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2438
2443
  athenaDepartmentId?: string;
2439
2444
  generateAthenaTelehealthLink?: boolean;
2440
2445
  athenaTypeId?: string;
2446
+ athenaBookingTypeId?: string;
2441
2447
  }
2442
2448
  export interface AppointmentLocation_readonly extends ClientRecord {
2443
2449
  }
@@ -2518,6 +2524,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
2518
2524
  appointmentSlotsMaxHeight?: number;
2519
2525
  includeRelatedContactTypes?: string[];
2520
2526
  archivedAt?: Date | '';
2527
+ gtmTag?: string;
2521
2528
  }
2522
2529
  export interface CalendarEventRSVP_readonly extends ClientRecord {
2523
2530
  creatorType: SessionType;
@@ -2815,6 +2822,10 @@ export type CreateCarePlanAutomationAction = AutomationActionBuilder<'createCare
2815
2822
  export type CompleteCarePlanAutomationAction = AutomationActionBuilder<'completeCarePlan', {}>;
2816
2823
  export type ZusSyncAutomationAction = AutomationActionBuilder<'zusSync', {}>;
2817
2824
  export type ZusPullAutomationAction = AutomationActionBuilder<'zusPull', {}>;
2825
+ export type ZusSubscribeAutomationAction = AutomationActionBuilder<'zusSubscribe', {
2826
+ practitionerId: string;
2827
+ packageIds: string[];
2828
+ }>;
2818
2829
  export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'pagerDutyCreateIncident', {
2819
2830
  type: string;
2820
2831
  title: string;
@@ -2941,6 +2952,7 @@ export type AutomationActionForType = {
2941
2952
  'completeCarePlan': CompleteCarePlanAutomationAction;
2942
2953
  'zusSync': ZusSyncAutomationAction;
2943
2954
  'zusPull': ZusPullAutomationAction;
2955
+ 'zusSubscribe': ZusSubscribeAutomationAction;
2944
2956
  'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
2945
2957
  'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
2946
2958
  'healthieSync': HealthieSyncAutomationAction;
@@ -3499,6 +3511,7 @@ export type AnalyticsEnduserFilterField = {
3499
3511
  export type AnalyticsQueryFilterForType = {
3500
3512
  "Endusers": {
3501
3513
  activeSince?: Date | '';
3514
+ "Contacted Since"?: Date | '';
3502
3515
  "Submitted Forms"?: {
3503
3516
  qualifier: ListQueryQualifier;
3504
3517
  formIds: string[];
@@ -4297,6 +4310,7 @@ export interface TicketThreadComment_required {
4297
4310
  enduserId: string;
4298
4311
  public: boolean;
4299
4312
  inbound: boolean;
4313
+ assignedTo?: string[];
4300
4314
  }
4301
4315
  export interface TicketThreadComment_updatesDisabled {
4302
4316
  }
@@ -4483,13 +4497,10 @@ export type GroupMMSUserState = {
4483
4497
  };
4484
4498
  export interface GroupMMSConversation_readonly extends ClientRecord {
4485
4499
  externalId: string;
4486
- phoneNumber: string;
4500
+ destinations: string[];
4487
4501
  messages: GroupMMSMessage[];
4502
+ phoneNumber: string;
4488
4503
  title: string;
4489
- userIds: string[];
4490
- enduserIds: string[];
4491
- destinations: string[];
4492
- userStates: GroupMMSUserState[];
4493
4504
  pinnedAt?: Date | '';
4494
4505
  tags?: string[];
4495
4506
  suggestedReply?: string;
@@ -4497,15 +4508,18 @@ export interface GroupMMSConversation_readonly extends ClientRecord {
4497
4508
  [index: string]: Date | '';
4498
4509
  };
4499
4510
  hiddenForAll?: boolean;
4500
- assignedTo?: string[];
4501
4511
  }
4502
4512
  export interface GroupMMSConversation_updatesDisabled {
4503
4513
  }
4504
4514
  export interface GroupMMSConversation_required {
4515
+ userIds: string[];
4516
+ userStates: GroupMMSUserState[];
4517
+ enduserIds: string[];
4505
4518
  }
4506
4519
  export interface GroupMMSConversation extends GroupMMSConversation_readonly, GroupMMSConversation_required, GroupMMSConversation_updatesDisabled {
4507
4520
  markedUnreadForAll?: boolean;
4508
4521
  inboxStatus?: string;
4522
+ assignedTo?: string[];
4509
4523
  }
4510
4524
  export type VitalComparisons = {
4511
4525
  'Less Than': {