@tellescope/types-models 1.198.0 → 1.199.1

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.
@@ -236,6 +236,7 @@ export type OrganizationSettings = {
236
236
  templateRequired?: boolean;
237
237
  locationRequired?: boolean;
238
238
  cancelReasons?: string[];
239
+ copyRemindersByDefault?: boolean;
239
240
  };
240
241
  users?: {
241
242
  sessionDurationInHours?: number;
@@ -427,6 +428,7 @@ export interface Organization extends Organization_readonly, Organization_requir
427
428
  customPortalLoginEmailSubject?: string;
428
429
  customPortalLoginEmailHTML?: string;
429
430
  customerIOFields?: string[];
431
+ customerIOIdField?: string;
430
432
  createEnduserForms?: string[];
431
433
  }
432
434
  export type OrganizationTheme = {
@@ -752,6 +754,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
752
754
  unredactedFields?: CustomFields;
753
755
  preference?: Preference;
754
756
  assignedTo?: string[];
757
+ primaryAssignee?: string;
755
758
  avatar?: string;
756
759
  unread?: boolean;
757
760
  termsSigned?: Date;
@@ -759,6 +762,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
759
762
  timezone?: Timezone;
760
763
  dateOfBirth?: string;
761
764
  gender?: TellescopeGender;
765
+ genderIdentity?: string;
766
+ pronouns?: string;
762
767
  height?: GenericQuantityWithUnit;
763
768
  weight?: GenericQuantityWithUnit;
764
769
  source?: string;
@@ -1596,6 +1601,10 @@ export type FormFieldOptions = FormFieldValidation & {
1596
1601
  chargebeeItemId?: string;
1597
1602
  relatedContactTypes?: string[];
1598
1603
  radioChoices?: string[];
1604
+ elationHistoryType?: string;
1605
+ elationIsAllergy?: boolean;
1606
+ elationAppendToNote?: boolean;
1607
+ elationAppendToNotePrefix?: string;
1599
1608
  };
1600
1609
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1601
1610
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1711,6 +1720,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1711
1720
  isNonVisitElationNote?: boolean;
1712
1721
  elationVisitNotePractitionerIds?: string[];
1713
1722
  elationVisitNoteType?: string;
1723
+ elationSkipBlankResponses?: boolean;
1714
1724
  canvasId?: string;
1715
1725
  canvasQuestionId?: string;
1716
1726
  syncToOLH?: boolean;
@@ -1802,6 +1812,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1802
1812
  overwriteAddress?: boolean;
1803
1813
  requirePhoneToPushEnduser?: boolean;
1804
1814
  syncAsActive?: boolean;
1815
+ syncEnduserId?: boolean;
1805
1816
  shardId?: string;
1806
1817
  }
1807
1818
  export type BuildDatabaseRecordField<K extends string, V, O> = {
@@ -3522,7 +3533,11 @@ export type AnalyticsQueryFilterForType = {
3522
3533
  direction?: string;
3523
3534
  messages?: string[];
3524
3535
  };
3525
- Emails: {};
3536
+ Emails: {
3537
+ direction?: "Inbound" | "Outbound" | "Both";
3538
+ templateIds?: string[];
3539
+ subjects?: string[];
3540
+ };
3526
3541
  Medications: {};
3527
3542
  Files: {
3528
3543
  names?: string[];
@@ -3819,6 +3834,7 @@ export type AutomationTriggerActions = {
3819
3834
  "Assign Care Team": AutomationTriggerActionBuilder<'Assign Care Team', {
3820
3835
  tags: ListOfStringsWithQualifier;
3821
3836
  limitToOneUser?: boolean;
3837
+ setAsPrimary?: boolean;
3822
3838
  }>;
3823
3839
  "Canvas: Add Patient": AutomationTriggerActionBuilder<'Canvas: Add Patient', {}>;
3824
3840
  "Zus: Delete Enrollment": AutomationTriggerActionBuilder<'Zus: Delete Enrollment', {
@@ -3866,6 +3882,7 @@ export type AutomationTriggerEvents = {
3866
3882
  }, {}>;
3867
3883
  'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
3868
3884
  'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {}, {}>;
3885
+ 'Subscription Payment Failed': AutomationTriggerEventBuilder<"Subscription Payment Failed", {}, {}>;
3869
3886
  'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
3870
3887
  titles?: string[];
3871
3888
  templateIds?: string[];