@tellescope/types-models 1.150.1 → 1.152.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.
@@ -598,7 +598,7 @@ export type ScheduledJourney = {
598
598
  addAt: Date;
599
599
  };
600
600
  export type EnduserRelationship = {
601
- type: ('Parent' | 'Child' | 'Spouse' | 'Partner' | 'Sibling' | 'Grandparent' | 'Grandchild' | 'Caregiver' | 'Caretaker' | 'Care Recipient' | 'Power of Attorney' | 'Power of Attorney For' | "Emergency Contact" | "Emergency Contact For" | "Care Partner" | 'Relates To');
601
+ type: ('Parent' | 'Child' | 'Spouse' | 'Partner' | 'Sibling' | 'Grandparent' | 'Grandchild' | 'Caregiver' | 'Caretaker' | 'Care Recipient' | 'Power of Attorney' | 'Power of Attorney For' | "Emergency Contact" | "Emergency Contact For" | "Care Partner" | 'Relates To' | "Referring Provider" | "Referred Patient");
602
602
  id: string;
603
603
  };
604
604
  export type Language = {
@@ -626,6 +626,8 @@ export type EnduserInsurance = {
626
626
  };
627
627
  payerType?: string;
628
628
  groupNumber?: string;
629
+ planName?: string;
630
+ startDate?: string;
629
631
  };
630
632
  export type EnduserDiagnosis = {
631
633
  id?: string;
@@ -1835,6 +1837,11 @@ export type AnswerForType = {
1835
1837
  'Hidden Value': FormResponseAnswerHiddenValue['value'];
1836
1838
  'Emotii': FormResponseAnswerEmotii['value'];
1837
1839
  };
1840
+ export type Addendum = {
1841
+ timestamp: Date;
1842
+ userId: string;
1843
+ text: string;
1844
+ };
1838
1845
  export interface FormResponse_readonly extends ClientRecord {
1839
1846
  openedAt?: Date;
1840
1847
  references?: RelatedRecord[];
@@ -1907,6 +1914,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1907
1914
  discussionRoomId?: string;
1908
1915
  formsort?: string;
1909
1916
  hideAfterUnsubmittedInMS?: number;
1917
+ addenda?: Addendum[];
1910
1918
  }
1911
1919
  export interface WebHook_readonly extends ClientRecord {
1912
1920
  }
@@ -2062,7 +2070,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2062
2070
  displayTitle?: string;
2063
2071
  displayDescription?: string;
2064
2072
  dontBlockAvailability?: boolean;
2065
- previousStartTimes?: number[];
2073
+ previousStartTimes?: (number | string)[];
2066
2074
  }
2067
2075
  export type PaymentProcessor = 'Square' | 'Stripe';
2068
2076
  export interface Product_readonly extends ClientRecord {
@@ -2351,6 +2359,9 @@ export interface AutomationForMessage extends AutomationForTemplate, AutomationF
2351
2359
  }
2352
2360
  export interface AutomationForWebhook {
2353
2361
  message: string;
2362
+ url?: string;
2363
+ secret?: string;
2364
+ fields?: LabeledField[];
2354
2365
  }
2355
2366
  export type FormResponseAutomationEvent = AutomationEventBuilder<'formResponse', {
2356
2367
  automationStepId: string;
@@ -2553,6 +2564,11 @@ export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smar
2553
2564
  lines: SmartMeterOrderLineItem[];
2554
2565
  shipping?: string;
2555
2566
  }>;
2567
+ export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
2568
+ templateId: string;
2569
+ identifier: string;
2570
+ includeCareTeam?: boolean;
2571
+ }>;
2556
2572
  export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
2557
2573
  export type HealthieAddToCourseAutomationAction = AutomationActionBuilder<'healthieAddToCourse', {
2558
2574
  courseId: string;
@@ -2604,6 +2620,7 @@ export type AutomationCondition = AtJourneyStateAutomationCondition;
2604
2620
  export type AutomationActionForType = {
2605
2621
  "sendEmail": SendEmailAutomationAction;
2606
2622
  "sendSMS": SendSMSAutomationAction;
2623
+ "sendChat": SendChatAutomationAction;
2607
2624
  "sendForm": SendFormAutomationAction;
2608
2625
  "createTicket": CreateTicketAutomationAction;
2609
2626
  'sendWebhook': SendWebhookAutomationAction;