@tellescope/types-models 1.256.6 → 1.256.9

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.
@@ -1864,6 +1864,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1864
1864
  hiddenFromTimeline?: boolean;
1865
1865
  copiedFrom?: string;
1866
1866
  copiedFromEnduserId?: string;
1867
+ aiGenerated?: boolean;
1867
1868
  }
1868
1869
  export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time' | "Timezone";
1869
1870
  export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Chargebee" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance" | "Bridge Eligibility" | "Candid Eligibility" | "Beluga Patient Preference" | "Pharmacy Search";
@@ -2173,6 +2174,10 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
2173
2174
  lockResponsesOnSubmission?: boolean;
2174
2175
  tags?: string[];
2175
2176
  language?: string;
2177
+ translationConfigurations?: {
2178
+ language: string;
2179
+ configurationId: string;
2180
+ }[];
2176
2181
  isNonVisitElationNote?: boolean;
2177
2182
  elationVisitNotePractitionerIds?: string[];
2178
2183
  elationVisitNoteType?: string;
@@ -2660,6 +2665,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
2660
2665
  enduserAISummary?: string;
2661
2666
  procedureCodes?: FormResponseProcedureCode[];
2662
2667
  diagnosisCodes?: FormResponseDiagnosisCode[];
2668
+ viewedInLanguage?: string;
2663
2669
  }
2664
2670
  export interface WebHook_readonly extends ClientRecord {
2665
2671
  }
@@ -2925,6 +2931,7 @@ export interface Purchase extends Purchase_readonly, Purchase_required, Purchase
2925
2931
  notes?: string;
2926
2932
  references?: RelatedRecord[];
2927
2933
  stripeProductName?: string;
2934
+ couponCodes?: string[];
2928
2935
  }
2929
2936
  type BuildPurchaseCreditInfo<T, I> = {
2930
2937
  type: T;
@@ -3515,6 +3522,9 @@ export type BelugaTriggerRefillAutomationAction = AutomationActionBuilder<'belug
3515
3522
  useOrganizationMapping?: boolean;
3516
3523
  customFieldName?: string;
3517
3524
  }>;
3525
+ export type MdiTriggerRefillAutomationAction = AutomationActionBuilder<'mdiTriggerRefill', {
3526
+ onlySubmitWhenDue?: boolean;
3527
+ }>;
3518
3528
  export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
3519
3529
  templateId: string;
3520
3530
  identifier: string;
@@ -3661,6 +3671,13 @@ export type AIDecisionAutomationAction = AutomationActionBuilder<'aiDecision', {
3661
3671
  export type GenerateEnduserSummaryAutomationAction = AutomationActionBuilder<'generateEnduserSummary', {
3662
3672
  aiSummaryConfiguration?: AISummaryConfiguration;
3663
3673
  }>;
3674
+ export type CreateNoteAutomationAction = AutomationActionBuilder<'createNote', {
3675
+ title: string;
3676
+ text?: string;
3677
+ tags?: string[];
3678
+ hiddenFromTimeline?: boolean;
3679
+ aiSummaryConfiguration?: AISummaryConfiguration;
3680
+ }>;
3664
3681
  export type AssignInboxItemAutomationAction = AutomationActionBuilder<'assignInboxItem', {
3665
3682
  tags: ListOfStringsWithQualifier;
3666
3683
  limit: number;
@@ -3681,6 +3698,7 @@ export type StartAIConversationAutomationAction = AutomationActionBuilder<'start
3681
3698
  export type AutomationActionForType = {
3682
3699
  'aiDecision': AIDecisionAutomationAction;
3683
3700
  'generateEnduserSummary': GenerateEnduserSummaryAutomationAction;
3701
+ 'createNote': CreateNoteAutomationAction;
3684
3702
  'startAIConversation': StartAIConversationAutomationAction;
3685
3703
  'assignInboxItem': AssignInboxItemAutomationAction;
3686
3704
  'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
@@ -3719,6 +3737,7 @@ export type AutomationActionForType = {
3719
3737
  'belugaAutoRx': BelugaAutoRxAutomationAction;
3720
3738
  'belugaUpdateVisit': BelugaUpdateVisitAutomationAction;
3721
3739
  'belugaTriggerRefill': BelugaTriggerRefillAutomationAction;
3740
+ 'mdiTriggerRefill': MdiTriggerRefillAutomationAction;
3722
3741
  'healthieSync': HealthieSyncAutomationAction;
3723
3742
  healthieAddToCourse: HealthieAddToCourseAutomationAction;
3724
3743
  healthieSendChat: HealthieSendChatAutomationAction;
@@ -4897,6 +4916,7 @@ export type AutomationTriggerEvents = {
4897
4916
  titles?: string[];
4898
4917
  productIds?: string[];
4899
4918
  titlePartialMatches?: string[];
4919
+ couponCodes?: string[];
4900
4920
  }, {}>;
4901
4921
  'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
4902
4922
  'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {
@@ -5447,6 +5467,7 @@ export interface Configuration_required {
5447
5467
  value: string;
5448
5468
  }
5449
5469
  export interface Configuration extends Configuration_readonly, Configuration_required, Configuration_updatesDisabled {
5470
+ publicRead?: boolean;
5450
5471
  }
5451
5472
  export type TimeTrackTimestamp = {
5452
5473
  type: 'start' | 'pause' | 'resume';