@tellescope/types-models 1.166.1 → 1.167.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.
@@ -263,6 +263,8 @@ export interface Organization_readonly extends ClientRecord {
263
263
  environment: string;
264
264
  };
265
265
  fromEmails?: string[];
266
+ twilioSID?: string;
267
+ twilioCustomerId?: string;
266
268
  }
267
269
  export interface Organization_required {
268
270
  }
@@ -797,6 +799,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
797
799
  dosage?: {
798
800
  value: string;
799
801
  unit: string;
802
+ description?: string;
800
803
  quantity?: string;
801
804
  frequency?: string;
802
805
  frequencyDescriptor?: string;
@@ -1483,6 +1486,9 @@ export type FormFieldOptions = FormFieldValidation & {
1483
1486
  dataSource?: string;
1484
1487
  canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'>;
1485
1488
  esignatureTermsCompanyName?: string;
1489
+ observationCode?: string;
1490
+ observationDisplay?: string;
1491
+ observationUnit?: string;
1486
1492
  };
1487
1493
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1488
1494
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1538,6 +1544,13 @@ export type FormCustomization = {
1538
1544
  publicFormSubmitHTMLDescription?: string;
1539
1545
  logoHeight?: number;
1540
1546
  publicLabelPrefix?: string;
1547
+ publicFnameLabel?: string;
1548
+ publicLnameLabel?: string;
1549
+ publicEmailLabel?: string;
1550
+ publicPhoneLabel?: string;
1551
+ publicStateLabel?: string;
1552
+ publicDateOfBirthLabel?: string;
1553
+ publicGenderLabel?: string;
1541
1554
  hideProgressBar?: boolean;
1542
1555
  showRestartAtEnd?: boolean;
1543
1556
  hideLogo?: boolean;
@@ -1600,6 +1613,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1600
1613
  enduserFieldsToAppendForSync?: string[];
1601
1614
  allowPortalSubmission?: boolean;
1602
1615
  canvasNoteCoding?: Partial<CanvasCoding>;
1616
+ syncToCanvasAsDataImport?: boolean;
1603
1617
  }
1604
1618
  export interface FormGroup_readonly extends ClientRecord {
1605
1619
  }
@@ -1774,6 +1788,7 @@ export type MedicationResponse = {
1774
1788
  dosage?: {
1775
1789
  value: string;
1776
1790
  unit: string;
1791
+ description?: string;
1777
1792
  quantity?: string;
1778
1793
  frequency?: string;
1779
1794
  frequencyDescriptor?: string;
@@ -1969,6 +1984,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1969
1984
  hideAfterUnsubmittedInMS?: number;
1970
1985
  addenda?: Addendum[];
1971
1986
  canvasEncounterId?: string;
1987
+ pushedToPortalAt?: Date;
1972
1988
  }
1973
1989
  export interface WebHook_readonly extends ClientRecord {
1974
1990
  }
@@ -2132,6 +2148,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2132
2148
  requirePortalCancelReason?: boolean;
2133
2149
  startLinkToken?: string;
2134
2150
  canvasEncounterId?: string;
2151
+ allowGroupReschedule?: boolean;
2135
2152
  }
2136
2153
  export type PaymentProcessor = 'Square' | 'Stripe';
2137
2154
  export interface Product_readonly extends ClientRecord {
@@ -2251,6 +2268,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2251
2268
  displayDescription?: string;
2252
2269
  requiresEnduser?: boolean;
2253
2270
  requirePortalCancelReason?: boolean;
2271
+ allowGroupReschedule?: boolean;
2254
2272
  }
2255
2273
  export interface AppointmentLocation_readonly extends ClientRecord {
2256
2274
  }
@@ -2420,6 +2438,7 @@ export interface AutomationForFormRequest extends AutomationForForm, AutomationF
2420
2438
  channel?: CommunicationsChannel;
2421
2439
  }
2422
2440
  export interface AutomationForMessage extends AutomationForTemplate, AutomationForSender {
2441
+ sendToDestinationOfRelatedContactTypes?: string[];
2423
2442
  }
2424
2443
  export interface AutomationForWebhook {
2425
2444
  message: string;
@@ -2581,6 +2600,9 @@ export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
2581
2600
  }>;
2582
2601
  export type SendSMSAutomationAction = AutomationActionBuilder<'sendSMS', AutomationForMessage>;
2583
2602
  export type SendFormAutomationAction = AutomationActionBuilder<'sendForm', AutomationForFormRequest>;
2603
+ export type PushFormsAutomationAction = AutomationActionBuilder<'pushFormsToPortal', {
2604
+ formIds: string[];
2605
+ }>;
2584
2606
  export type SetEnduserStatusAutomationAction = AutomationActionBuilder<'setEnduserStatus', SetEnduserStatusInfo>;
2585
2607
  export type CreateTicketAutomationAction = AutomationActionBuilder<'createTicket', CreateTicketActionInfo>;
2586
2608
  export type SendWebhookAutomationAction = AutomationActionBuilder<'sendWebhook', AutomationForWebhook>;
@@ -2719,6 +2741,7 @@ export type AutomationActionForType = {
2719
2741
  switchToRelatedContact: SwitchToRelatedContactAutomationAction;
2720
2742
  'elationSync': ElationSyncAutomationAction;
2721
2743
  canvasSync: CanvasSyncAutomationAction;
2744
+ pushFormsToPortal: PushFormsAutomationAction;
2722
2745
  };
2723
2746
  export type AutomationActionType = keyof AutomationActionForType;
2724
2747
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -2896,6 +2919,11 @@ export type PortalBlockForType = {
2896
2919
  text: string;
2897
2920
  }>;
2898
2921
  chat: BuildPortalBlockInfo<'chat', {}>;
2922
+ "Orders": BuildPortalBlockInfo<'Orders', {}>;
2923
+ "Manage Subscription Button": BuildPortalBlockInfo<'Manage Subscription Button', {}>;
2924
+ HTML: BuildPortalBlockInfo<'HTML', {
2925
+ html: string;
2926
+ }>;
2899
2927
  };
2900
2928
  export type PortalBlockType = keyof PortalBlockForType;
2901
2929
  export type PortalBlock = PortalBlockForType[PortalBlockType];
@@ -3545,6 +3573,7 @@ export interface EnduserProfileView extends EnduserProfileView_readonly, Enduser
3545
3573
  showCompose?: boolean;
3546
3574
  defaultForUserIds?: string[];
3547
3575
  defaultForRoles?: string[];
3576
+ hiddenFromRoles?: string[];
3548
3577
  }
3549
3578
  export type ListOfStringsWithQualifier = {
3550
3579
  qualifier: ListQueryQualifier;
@@ -3865,6 +3894,7 @@ export type PhoneTreeActions = {
3865
3894
  }>;
3866
3895
  'Route Call': PhoneTreeActionBuilder<"Route Call", {
3867
3896
  prePlayback?: Partial<PhonePlayback>;
3897
+ byCareTeamPrimary?: boolean;
3868
3898
  byCareTeam?: boolean;
3869
3899
  byRole?: string;
3870
3900
  byTags?: ListOfStringsWithQualifier;
@@ -3882,6 +3912,7 @@ export type PhoneTreeActions = {
3882
3912
  'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
3883
3913
  timezone?: Timezone;
3884
3914
  weeklyAvailabilities?: WeeklyAvailability[];
3915
+ hasCareTeam?: boolean;
3885
3916
  }>;
3886
3917
  'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
3887
3918
  queueId: string;
@@ -4372,6 +4403,8 @@ export interface AgentRecord extends AgentRecord_readonly, AgentRecord_required,
4372
4403
  embedding?: number[];
4373
4404
  source?: string;
4374
4405
  externalId?: string;
4406
+ indexed?: boolean;
4407
+ indexId?: string;
4375
4408
  }
4376
4409
  export type ModelForName_required = {
4377
4410
  agent_records: AgentRecord_required;