@tellescope/types-models 1.120.0 → 1.121.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.
@@ -113,6 +113,7 @@ export type CustomEnduserFields = {
113
113
  options: string[];
114
114
  }>;
115
115
  "Text": BuildCustomEnduserField<'Text', {}>;
116
+ "Number": BuildCustomEnduserField<'Number', {}>;
116
117
  "Multiple Text": BuildCustomEnduserField<'Multiple Text', {}>;
117
118
  "Date": BuildCustomEnduserField<'Date', {}>;
118
119
  "File": BuildCustomEnduserField<'File', {}>;
@@ -289,6 +290,7 @@ export interface Organization extends Organization_readonly, Organization_requir
289
290
  hasConnectedPagerDuty?: boolean;
290
291
  hasConnectedSmartMeter?: boolean;
291
292
  hasConnectedAthena?: boolean;
293
+ hasConnectedActiveCampaign?: boolean;
292
294
  hasConnectedDocsumo?: boolean;
293
295
  hasConfiguredZoom?: boolean;
294
296
  hasTicketQueues?: boolean;
@@ -689,6 +691,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
689
691
  athenaPracticeId?: string;
690
692
  athenaDepartmentId?: string;
691
693
  vitalTriggersDisabled?: boolean;
694
+ defaultFromPhone?: string;
695
+ defaultFromEmail?: string;
692
696
  }
693
697
  export interface EnduserCustomType_readonly extends ClientRecord {
694
698
  }
@@ -1152,6 +1156,10 @@ export type TicketActions = {
1152
1156
  templateId: string;
1153
1157
  smsId?: string;
1154
1158
  }>;
1159
+ "Send Email": TicketActionBuilder<'Send Email', {
1160
+ templateId: string;
1161
+ emailId?: string;
1162
+ }>;
1155
1163
  };
1156
1164
  export type TicketActionType = keyof TicketActions;
1157
1165
  export type TicketAction = TicketActions[TicketActionType];
@@ -1513,6 +1521,11 @@ export type IntegrationAuthentication = ({
1513
1521
  type: 'apiKey';
1514
1522
  info: OAuth2AuthenticationFields;
1515
1523
  });
1524
+ export type FieldMapping = {
1525
+ field: string;
1526
+ externalField: string;
1527
+ type: string;
1528
+ };
1516
1529
  export interface Integration_readonly extends ClientRecord {
1517
1530
  lastSync?: number;
1518
1531
  lastSyncId?: string;
@@ -1545,6 +1558,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1545
1558
  fhirExpiryDate?: number;
1546
1559
  defaultAttendeeId?: string;
1547
1560
  sendEmailOnSync?: boolean;
1561
+ enduserFieldMapping?: FieldMapping[];
1548
1562
  }
1549
1563
  export type BuildDatabaseRecordField<K extends string, V, O> = {
1550
1564
  type: K;
@@ -1916,6 +1930,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1916
1930
  bufferStartMinutes?: number;
1917
1931
  bufferEndMinutes?: number;
1918
1932
  canvasCoding?: CanvasCoding;
1933
+ canvasReasonCoding?: CanvasCoding;
1919
1934
  canvasLocationId?: string;
1920
1935
  completedAt?: Date | '';
1921
1936
  holdUntil?: Date;
@@ -2034,6 +2049,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2034
2049
  bufferStartMinutes?: number;
2035
2050
  bufferEndMinutes?: number;
2036
2051
  canvasCoding?: CanvasCoding;
2052
+ canvasReasonCoding?: CanvasCoding;
2037
2053
  tags?: string[];
2038
2054
  matchToHealthieTemplate?: boolean;
2039
2055
  useUserURL?: boolean;
@@ -2374,6 +2390,7 @@ export type CreateCarePlanAutomationAction = AutomationActionBuilder<'createCare
2374
2390
  }>;
2375
2391
  export type CompleteCarePlanAutomationAction = AutomationActionBuilder<'completeCarePlan', {}>;
2376
2392
  export type ZusSyncAutomationAction = AutomationActionBuilder<'zusSync', {}>;
2393
+ export type ZusPullAutomationAction = AutomationActionBuilder<'zusPull', {}>;
2377
2394
  export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'pagerDutyCreateIncident', {
2378
2395
  type: string;
2379
2396
  title: string;
@@ -2402,6 +2419,7 @@ export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeT
2402
2419
  export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeContactType', {
2403
2420
  type: string;
2404
2421
  }>;
2422
+ export type ActiveCampaignSyncAutomationAction = AutomationActionBuilder<'activeCampaignSync', {}>;
2405
2423
  export type IterableFieldsMapping = {
2406
2424
  iterable: string;
2407
2425
  tellescope: string;
@@ -2447,6 +2465,7 @@ export type AutomationActionForType = {
2447
2465
  'createCarePlan': CreateCarePlanAutomationAction;
2448
2466
  'completeCarePlan': CompleteCarePlanAutomationAction;
2449
2467
  'zusSync': ZusSyncAutomationAction;
2468
+ 'zusPull': ZusPullAutomationAction;
2450
2469
  'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
2451
2470
  'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
2452
2471
  'healthieSync': HealthieSyncAutomationAction;
@@ -2454,6 +2473,7 @@ export type AutomationActionForType = {
2454
2473
  healthieSendChat: HealthieSendChatAutomationAction;
2455
2474
  'completeTickets': CompleteTicketsAutomationAction;
2456
2475
  'changeContactType': ChangeContactTypeAutomationAction;
2476
+ activeCampaignSync: ActiveCampaignSyncAutomationAction;
2457
2477
  };
2458
2478
  export type AutomationActionType = keyof AutomationActionForType;
2459
2479
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3079,6 +3099,10 @@ export type AnalyticsQueryOptions = {
3079
3099
  updatedRange?: DateRange;
3080
3100
  groupByCareTeam?: boolean;
3081
3101
  };
3102
+ export type AnalyticsFrameGroupingCategory = {
3103
+ category: string;
3104
+ keys: string[];
3105
+ };
3082
3106
  export type AnalyticsFrameType = 'Percentage';
3083
3107
  export interface AnalyticsFrame_readonly extends ClientRecord {
3084
3108
  }
@@ -3094,6 +3118,8 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
3094
3118
  type?: AnalyticsFrameType;
3095
3119
  groupMin?: number | '';
3096
3120
  groupMax?: number | '';
3121
+ displayType?: string;
3122
+ analyticsFrameGroupingCategory?: AnalyticsFrameGroupingCategory[];
3097
3123
  }
3098
3124
  export interface BackgroundError_readonly extends ClientRecord {
3099
3125
  }
@@ -3156,6 +3182,9 @@ export type EnduserProfileViewBlocks = {
3156
3182
  formId: string;
3157
3183
  fieldIds: string[];
3158
3184
  }>;
3185
+ "Zus Encounters": EnduserProfileViewBlockBuilder<"Zus Encounters", {
3186
+ title: string;
3187
+ }>;
3159
3188
  };
3160
3189
  export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
3161
3190
  export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
@@ -3664,6 +3693,7 @@ export type Diagnosis = {
3664
3693
  };
3665
3694
  export interface EnduserEncounter_readonly extends ClientRecord {
3666
3695
  externalId?: string;
3696
+ source?: string;
3667
3697
  integration?: 'Candid';
3668
3698
  }
3669
3699
  export interface EnduserEncounter_updatesDisabled {
@@ -3682,6 +3712,11 @@ export interface EnduserEncounter extends EnduserEncounter_readonly, EnduserEnco
3682
3712
  serviceFacilityAddress?: Address;
3683
3713
  modifiers?: string[];
3684
3714
  error?: string;
3715
+ class?: string;
3716
+ status?: string;
3717
+ location?: string;
3718
+ providerNames?: string[];
3719
+ diagnosisDisplays?: string[];
3685
3720
  }
3686
3721
  export interface TicketQueue_readonly extends ClientRecord {
3687
3722
  count?: number;