@tellescope/types-models 1.181.0 → 1.182.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.
@@ -89,6 +89,7 @@ export type PortalSettings = {
89
89
  };
90
90
  communication?: {
91
91
  allowEnduserInitiatedChat?: boolean;
92
+ allowChatCareTeamSelection?: boolean;
92
93
  enduserInitiatedChatDefaultSubject?: string;
93
94
  sendEmailNotificationsToEnduser?: boolean;
94
95
  sendSMSNotificationsToEnduser?: boolean;
@@ -195,6 +196,7 @@ export type OrganizationSettings = {
195
196
  requireObservationInvalidationReason?: boolean;
196
197
  defaultHideFilesFromPortal?: boolean;
197
198
  hideUnorderedFullscriptMeds?: boolean;
199
+ detailField?: string;
198
200
  };
199
201
  tickets?: {
200
202
  defaultJourneyDueDateOffsetInMS?: number | '';
@@ -534,6 +536,7 @@ export interface User_updatesDisabled {
534
536
  verifiedEmail: boolean;
535
537
  }
536
538
  export interface User extends User_required, User_readonly, User_updatesDisabled {
539
+ defaultLocationId?: string;
537
540
  termsSigned?: Date;
538
541
  termsVersion?: string;
539
542
  externalId?: string;
@@ -1279,6 +1282,11 @@ export type TicketActions = {
1279
1282
  templateId: string;
1280
1283
  emailId?: string;
1281
1284
  }>;
1285
+ "Send Chat": TicketActionBuilder<'Send Chat', {
1286
+ templateId: string;
1287
+ chatId?: string;
1288
+ chatRoomId?: string;
1289
+ }>;
1282
1290
  };
1283
1291
  export type TicketActionType = keyof TicketActions;
1284
1292
  export type TicketAction = TicketActions[TicketActionType];
@@ -1542,6 +1550,7 @@ export type FormFieldOptions = FormFieldValidation & {
1542
1550
  autoUploadFiles?: boolean;
1543
1551
  chargebeeEnvironment?: string;
1544
1552
  chargebeePlanId?: string;
1553
+ relatedContactTypes?: string[];
1545
1554
  };
1546
1555
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1547
1556
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -3009,6 +3018,7 @@ export type PortalBlockForType = {
3009
3018
  careTeam: BuildPortalBlockInfo<'careTeam', {
3010
3019
  title: string;
3011
3020
  roles?: string[];
3021
+ showAll?: boolean;
3012
3022
  }>;
3013
3023
  carePlan: BuildPortalBlockInfo<'carePlan', {}>;
3014
3024
  education: BuildPortalBlockInfo<'education', {}>;
@@ -3754,7 +3764,10 @@ export type AutomationTriggerEvents = {
3754
3764
  formId: string;
3755
3765
  intervalInMS: number;
3756
3766
  }, {}>;
3757
- 'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {}, {}>;
3767
+ 'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {
3768
+ titles?: string[];
3769
+ productIds?: string[];
3770
+ }, {}>;
3758
3771
  'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
3759
3772
  'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {}, {}>;
3760
3773
  'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {