@tellescope/types-models 1.91.1 → 1.92.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.
@@ -219,7 +219,7 @@ export type AthenaFieldSync = {
219
219
  dateFormat?: string;
220
220
  };
221
221
  export type AthenaSubscription = {
222
- type: 'patients';
222
+ type: 'patients' | 'appointments' | 'orders' | 'chart/healthhistory/problems';
223
223
  frequencyInMinutes: number;
224
224
  lastSyncedAt: Date;
225
225
  };
@@ -317,12 +317,19 @@ export interface Organization extends Organization_readonly, Organization_requir
317
317
  mfaxAccountId?: string;
318
318
  athenaFieldsSync?: AthenaFieldSync[];
319
319
  athenaSubscriptions?: AthenaSubscription[];
320
- athenaDepartmentIds?: string[];
320
+ athenaDepartments?: {
321
+ id: string;
322
+ timezone: Timezone;
323
+ }[];
321
324
  fieldsToAdminNote?: string[];
322
325
  canvasMessageSync?: {
323
326
  id: string;
324
327
  questionId: string;
325
328
  };
329
+ dosespotClinics?: {
330
+ id: string;
331
+ name: string;
332
+ }[];
326
333
  }
327
334
  export type OrganizationTheme = {
328
335
  name: string;
@@ -401,6 +408,7 @@ export interface UserSession extends Session, OrganizationLimits {
401
408
  eat?: boolean;
402
409
  lockedOutUntil?: number;
403
410
  duration?: number;
411
+ doseSpotUserId?: string;
404
412
  availablePhoneNumbers: string[];
405
413
  }
406
414
  export type StateCredentialInfo = {
@@ -489,6 +497,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
489
497
  lockedOutUntil?: number;
490
498
  elationUserId?: number;
491
499
  iOSBadgeCount?: number;
500
+ doseSpotUserId?: string;
492
501
  }
493
502
  export type Preference = 'email' | 'sms' | 'call' | 'chat';
494
503
  export type CustomField = string | number | object | {
@@ -549,6 +558,7 @@ export type EnduserInsurance = {
549
558
  gender?: TellescopeGender;
550
559
  dateOfBirth?: string;
551
560
  };
561
+ payerType?: string;
552
562
  };
553
563
  export type TellescopeGender = "Male" | "Female" | "Other" | "Unknown";
554
564
  export interface Enduser_readonly extends UserActivityInfo, ClientRecord, EnduserEngagementTimestamps {
@@ -1029,6 +1039,9 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
1029
1039
  mode?: MessageTemplateMode;
1030
1040
  embeddingHash?: string;
1031
1041
  isMarketing?: boolean;
1042
+ forChannels?: string[];
1043
+ forRoles?: string[];
1044
+ hideFromCompose?: boolean;
1032
1045
  }
1033
1046
  export interface File_readonly extends ClientRecord {
1034
1047
  secureName: string;
@@ -1250,6 +1263,7 @@ export interface CanvasConsentCategory extends CanvasCoding {
1250
1263
  export type FormFieldOptions = FormFieldValidation & {
1251
1264
  tableChoices?: TableInputChoice[];
1252
1265
  choices?: string[];
1266
+ canvasCodings?: CanvasCoding[];
1253
1267
  from?: number;
1254
1268
  to?: number;
1255
1269
  radio?: boolean;
@@ -1778,6 +1792,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1778
1792
  bufferEndMinutes?: number;
1779
1793
  canvasCoding?: CanvasCoding;
1780
1794
  canvasLocationId?: string;
1795
+ completedAt?: Date | '';
1781
1796
  }
1782
1797
  export type PaymentProcessor = 'Square' | 'Stripe';
1783
1798
  export interface Product_readonly extends ClientRecord {
@@ -2077,6 +2092,9 @@ export type AfterActionAutomationEvent = AutomationEventBuilder<'afterAction', A
2077
2092
  field: string;
2078
2093
  before?: boolean;
2079
2094
  };
2095
+ eventCondition?: {
2096
+ before?: boolean;
2097
+ };
2080
2098
  }>;
2081
2099
  export type FormUnsubmittedEvent = AutomationEventBuilder<'formUnsubmitted', FormUnsubmittedEventInfo>;
2082
2100
  export type FormsUnsubmittedEvent = AutomationEventBuilder<'formsUnsubmitted', FormUnsubmittedEventInfo>;
@@ -2535,6 +2553,7 @@ export interface AutomatedAction_readonly extends ClientRecord {
2535
2553
  lockedAt?: number;
2536
2554
  lockId?: string;
2537
2555
  lockCount?: number;
2556
+ processedAt?: Date;
2538
2557
  }
2539
2558
  export interface AutomatedAction_required {
2540
2559
  enduserId: string;
@@ -3017,6 +3036,9 @@ export type AutomationTriggerEvents = {
3017
3036
  'Appointment Created': AutomationTriggerEventBuilder<"Appointment Created", {
3018
3037
  titles?: string[];
3019
3038
  }, {}>;
3039
+ 'Appointment Completed': AutomationTriggerEventBuilder<"Appointment Completed", {
3040
+ titles?: string[];
3041
+ }, {}>;
3020
3042
  'Medication Added': AutomationTriggerEventBuilder<"Medication Added", {
3021
3043
  titles: string[];
3022
3044
  }, {}>;