@tellescope/types-models 1.166.0 → 1.167.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.
@@ -797,6 +797,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
797
797
  dosage?: {
798
798
  value: string;
799
799
  unit: string;
800
+ description?: string;
800
801
  quantity?: string;
801
802
  frequency?: string;
802
803
  frequencyDescriptor?: string;
@@ -1483,6 +1484,9 @@ export type FormFieldOptions = FormFieldValidation & {
1483
1484
  dataSource?: string;
1484
1485
  canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'>;
1485
1486
  esignatureTermsCompanyName?: string;
1487
+ observationCode?: string;
1488
+ observationDisplay?: string;
1489
+ observationUnit?: string;
1486
1490
  };
1487
1491
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1488
1492
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1538,6 +1542,13 @@ export type FormCustomization = {
1538
1542
  publicFormSubmitHTMLDescription?: string;
1539
1543
  logoHeight?: number;
1540
1544
  publicLabelPrefix?: string;
1545
+ publicFnameLabel?: string;
1546
+ publicLnameLabel?: string;
1547
+ publicEmailLabel?: string;
1548
+ publicPhoneLabel?: string;
1549
+ publicStateLabel?: string;
1550
+ publicDateOfBirthLabel?: string;
1551
+ publicGenderLabel?: string;
1541
1552
  hideProgressBar?: boolean;
1542
1553
  showRestartAtEnd?: boolean;
1543
1554
  hideLogo?: boolean;
@@ -1600,6 +1611,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1600
1611
  enduserFieldsToAppendForSync?: string[];
1601
1612
  allowPortalSubmission?: boolean;
1602
1613
  canvasNoteCoding?: Partial<CanvasCoding>;
1614
+ syncToCanvasAsDataImport?: boolean;
1603
1615
  }
1604
1616
  export interface FormGroup_readonly extends ClientRecord {
1605
1617
  }
@@ -1774,6 +1786,7 @@ export type MedicationResponse = {
1774
1786
  dosage?: {
1775
1787
  value: string;
1776
1788
  unit: string;
1789
+ description?: string;
1777
1790
  quantity?: string;
1778
1791
  frequency?: string;
1779
1792
  frequencyDescriptor?: string;
@@ -1969,6 +1982,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1969
1982
  hideAfterUnsubmittedInMS?: number;
1970
1983
  addenda?: Addendum[];
1971
1984
  canvasEncounterId?: string;
1985
+ pushedToPortalAt?: Date;
1972
1986
  }
1973
1987
  export interface WebHook_readonly extends ClientRecord {
1974
1988
  }
@@ -2132,6 +2146,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
2132
2146
  requirePortalCancelReason?: boolean;
2133
2147
  startLinkToken?: string;
2134
2148
  canvasEncounterId?: string;
2149
+ allowGroupReschedule?: boolean;
2135
2150
  }
2136
2151
  export type PaymentProcessor = 'Square' | 'Stripe';
2137
2152
  export interface Product_readonly extends ClientRecord {
@@ -2251,6 +2266,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
2251
2266
  displayDescription?: string;
2252
2267
  requiresEnduser?: boolean;
2253
2268
  requirePortalCancelReason?: boolean;
2269
+ allowGroupReschedule?: boolean;
2254
2270
  }
2255
2271
  export interface AppointmentLocation_readonly extends ClientRecord {
2256
2272
  }
@@ -2420,6 +2436,7 @@ export interface AutomationForFormRequest extends AutomationForForm, AutomationF
2420
2436
  channel?: CommunicationsChannel;
2421
2437
  }
2422
2438
  export interface AutomationForMessage extends AutomationForTemplate, AutomationForSender {
2439
+ sendToDestinationOfRelatedContactTypes?: string[];
2423
2440
  }
2424
2441
  export interface AutomationForWebhook {
2425
2442
  message: string;
@@ -2581,6 +2598,9 @@ export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
2581
2598
  }>;
2582
2599
  export type SendSMSAutomationAction = AutomationActionBuilder<'sendSMS', AutomationForMessage>;
2583
2600
  export type SendFormAutomationAction = AutomationActionBuilder<'sendForm', AutomationForFormRequest>;
2601
+ export type PushFormsAutomationAction = AutomationActionBuilder<'pushFormsToPortal', {
2602
+ formIds: string[];
2603
+ }>;
2584
2604
  export type SetEnduserStatusAutomationAction = AutomationActionBuilder<'setEnduserStatus', SetEnduserStatusInfo>;
2585
2605
  export type CreateTicketAutomationAction = AutomationActionBuilder<'createTicket', CreateTicketActionInfo>;
2586
2606
  export type SendWebhookAutomationAction = AutomationActionBuilder<'sendWebhook', AutomationForWebhook>;
@@ -2719,6 +2739,7 @@ export type AutomationActionForType = {
2719
2739
  switchToRelatedContact: SwitchToRelatedContactAutomationAction;
2720
2740
  'elationSync': ElationSyncAutomationAction;
2721
2741
  canvasSync: CanvasSyncAutomationAction;
2742
+ pushFormsToPortal: PushFormsAutomationAction;
2722
2743
  };
2723
2744
  export type AutomationActionType = keyof AutomationActionForType;
2724
2745
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3545,6 +3566,7 @@ export interface EnduserProfileView extends EnduserProfileView_readonly, Enduser
3545
3566
  showCompose?: boolean;
3546
3567
  defaultForUserIds?: string[];
3547
3568
  defaultForRoles?: string[];
3569
+ hiddenFromRoles?: string[];
3548
3570
  }
3549
3571
  export type ListOfStringsWithQualifier = {
3550
3572
  qualifier: ListQueryQualifier;
@@ -3865,6 +3887,7 @@ export type PhoneTreeActions = {
3865
3887
  }>;
3866
3888
  'Route Call': PhoneTreeActionBuilder<"Route Call", {
3867
3889
  prePlayback?: Partial<PhonePlayback>;
3890
+ byCareTeamPrimary?: boolean;
3868
3891
  byCareTeam?: boolean;
3869
3892
  byRole?: string;
3870
3893
  byTags?: ListOfStringsWithQualifier;
@@ -3882,6 +3905,7 @@ export type PhoneTreeActions = {
3882
3905
  'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
3883
3906
  timezone?: Timezone;
3884
3907
  weeklyAvailabilities?: WeeklyAvailability[];
3908
+ hasCareTeam?: boolean;
3885
3909
  }>;
3886
3910
  'Add to Queue': PhoneTreeActionBuilder<"Add to Queue", {
3887
3911
  queueId: string;