@tellescope/types-models 1.205.0 → 1.206.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.
- package/lib/cjs/index.d.ts +31 -7
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +31 -7
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +28 -7
package/lib/cjs/index.d.ts
CHANGED
|
@@ -461,6 +461,7 @@ export type OrganizationTheme = {
|
|
|
461
461
|
customPoliciesVersion?: string;
|
|
462
462
|
requireCustomTermsOnMagicLink?: boolean;
|
|
463
463
|
hasConnectedVital?: boolean;
|
|
464
|
+
brandId?: string;
|
|
464
465
|
};
|
|
465
466
|
export interface RecordInfo {
|
|
466
467
|
businessId: string;
|
|
@@ -703,6 +704,12 @@ export type EnduserInsurance = {
|
|
|
703
704
|
planName?: string;
|
|
704
705
|
startDate?: string;
|
|
705
706
|
};
|
|
707
|
+
export type EnduserDevice = {
|
|
708
|
+
title: string;
|
|
709
|
+
id: string;
|
|
710
|
+
gatewayId?: string;
|
|
711
|
+
disabled?: boolean;
|
|
712
|
+
};
|
|
706
713
|
export type EnduserDiagnosis = {
|
|
707
714
|
id?: string;
|
|
708
715
|
createdAt?: Date;
|
|
@@ -806,11 +813,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
806
813
|
bookingPageId: string;
|
|
807
814
|
note: string;
|
|
808
815
|
}[];
|
|
809
|
-
devices?:
|
|
810
|
-
title: string;
|
|
811
|
-
id: string;
|
|
812
|
-
disabled?: boolean;
|
|
813
|
-
}[];
|
|
816
|
+
devices?: EnduserDevice[];
|
|
814
817
|
salesforceId?: string;
|
|
815
818
|
athenaPracticeId?: string;
|
|
816
819
|
athenaDepartmentId?: string;
|
|
@@ -1582,6 +1585,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1582
1585
|
fieldId?: string;
|
|
1583
1586
|
databaseLabel?: string;
|
|
1584
1587
|
};
|
|
1588
|
+
allowAddToDatabase?: boolean;
|
|
1585
1589
|
useDatePicker?: boolean;
|
|
1586
1590
|
sharedIntakeFields?: string[];
|
|
1587
1591
|
hiddenDefaultFields?: string[];
|
|
@@ -1645,6 +1649,7 @@ export interface FormField_required {
|
|
|
1645
1649
|
export interface FormField_updatesDisabled {
|
|
1646
1650
|
}
|
|
1647
1651
|
export interface FormField extends FormField_readonly, FormField_required, FormField_updatesDisabled {
|
|
1652
|
+
internalNote?: string;
|
|
1648
1653
|
placeholder?: string;
|
|
1649
1654
|
isOptional?: boolean;
|
|
1650
1655
|
fullZIP?: boolean;
|
|
@@ -2238,6 +2243,7 @@ export interface CalendarEvent_required {
|
|
|
2238
2243
|
export interface CalendarEvent_updatesDisabled {
|
|
2239
2244
|
}
|
|
2240
2245
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
2246
|
+
updateKey?: string;
|
|
2241
2247
|
createAndBookAthenaSlot?: boolean;
|
|
2242
2248
|
athenaDepartmentId?: string;
|
|
2243
2249
|
generateAthenaTelehealthLink?: boolean;
|
|
@@ -2582,7 +2588,7 @@ export interface WebhookCall {
|
|
|
2582
2588
|
integrity: string;
|
|
2583
2589
|
description?: string;
|
|
2584
2590
|
}
|
|
2585
|
-
export type AutomationEventType = 'onJourneyStart' | 'afterAction' | "formResponse" | "formResponses" | "formUnsubmitted" | "formsUnsubmitted" | "ticketCompleted" | 'waitForTrigger';
|
|
2591
|
+
export type AutomationEventType = 'onJourneyStart' | 'afterAction' | "formResponse" | "formResponses" | "formUnsubmitted" | "formsUnsubmitted" | "ticketCompleted" | 'waitForTrigger' | "onCallOutcome";
|
|
2586
2592
|
interface AutomationEventBuilder<T extends AutomationEventType, V extends object> {
|
|
2587
2593
|
type: T;
|
|
2588
2594
|
info: V;
|
|
@@ -2642,6 +2648,8 @@ export interface AutomationForWebhook {
|
|
|
2642
2648
|
url?: string;
|
|
2643
2649
|
secret?: string;
|
|
2644
2650
|
fields?: LabeledField[];
|
|
2651
|
+
headers?: LabeledField[];
|
|
2652
|
+
method?: 'get' | 'patch' | 'post' | 'put' | 'delete';
|
|
2645
2653
|
}
|
|
2646
2654
|
export type FormResponseAutomationEvent = AutomationEventBuilder<'formResponse', {
|
|
2647
2655
|
automationStepId: string;
|
|
@@ -2706,7 +2714,11 @@ export type WaitForTriggerAutomationEvent = AutomationEventBuilder<'waitForTrigg
|
|
|
2706
2714
|
automationStepId: string;
|
|
2707
2715
|
triggerId: string;
|
|
2708
2716
|
}>;
|
|
2709
|
-
export type
|
|
2717
|
+
export type OnCallOutcomeAutomationEvent = AutomationEventBuilder<'onCallOutcome', {
|
|
2718
|
+
automationStepId: string;
|
|
2719
|
+
outcome: string;
|
|
2720
|
+
}>;
|
|
2721
|
+
export type AutomationEvent = FormResponseAutomationEvent | FormResponsesAutomationEvent | AfterActionAutomationEvent | OnJourneyStartAutomationEvent | FormUnsubmittedEvent | FormsUnsubmittedEvent | TicketCompletedAutomationEvent | WaitForTriggerAutomationEvent | OnCallOutcomeAutomationEvent;
|
|
2710
2722
|
export type AutomationEventForType = {
|
|
2711
2723
|
'onJourneyStart': OnJourneyStartAutomationEvent;
|
|
2712
2724
|
'afterAction': AfterActionAutomationEvent;
|
|
@@ -2716,6 +2728,7 @@ export type AutomationEventForType = {
|
|
|
2716
2728
|
'formsUnsubmitted': FormsUnsubmittedEvent;
|
|
2717
2729
|
'ticketCompleted': TicketCompletedAutomationEvent;
|
|
2718
2730
|
'waitForTrigger': WaitForTriggerAutomationEvent;
|
|
2731
|
+
'onCallOutcome': OnCallOutcomeAutomationEvent;
|
|
2719
2732
|
};
|
|
2720
2733
|
export type SetEnduserStatusInfo = {
|
|
2721
2734
|
status: string;
|
|
@@ -2946,7 +2959,11 @@ export type AutomationConditionBuilder<T extends AutomationConditionType, V exte
|
|
|
2946
2959
|
};
|
|
2947
2960
|
export type AtJourneyStateAutomationCondition = AutomationConditionBuilder<'atJourneyState', AutomationForJourneyAndState>;
|
|
2948
2961
|
export type AutomationCondition = AtJourneyStateAutomationCondition;
|
|
2962
|
+
export type OutboundCallAutomationAction = AutomationActionBuilder<'outboundCall', {
|
|
2963
|
+
treeId: string;
|
|
2964
|
+
}>;
|
|
2949
2965
|
export type AutomationActionForType = {
|
|
2966
|
+
'outboundCall': OutboundCallAutomationAction;
|
|
2950
2967
|
"sendEmail": SendEmailAutomationAction;
|
|
2951
2968
|
"sendSMS": SendSMSAutomationAction;
|
|
2952
2969
|
"sendChat": SendChatAutomationAction;
|
|
@@ -3200,6 +3217,7 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
|
|
|
3200
3217
|
hideReschedule?: boolean;
|
|
3201
3218
|
hiddenEventTitles?: string[];
|
|
3202
3219
|
hiddenFormIds?: string[];
|
|
3220
|
+
brandId?: string;
|
|
3203
3221
|
}
|
|
3204
3222
|
export declare const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000;
|
|
3205
3223
|
export declare const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: {
|
|
@@ -4203,6 +4221,9 @@ export type PhoneTreeActions = {
|
|
|
4203
4221
|
'Play Message': PhoneTreeActionBuilder<"Play Message", {
|
|
4204
4222
|
playback: PhonePlayback;
|
|
4205
4223
|
journeyId?: string;
|
|
4224
|
+
outcome?: string;
|
|
4225
|
+
cancelAppointment?: boolean;
|
|
4226
|
+
confirmAppointment?: boolean;
|
|
4206
4227
|
}>;
|
|
4207
4228
|
'Dial Users': PhoneTreeActionBuilder<"Dial Users", {
|
|
4208
4229
|
userIds: string[];
|
|
@@ -4269,6 +4290,8 @@ export interface PhoneTree extends PhoneTree_readonly, PhoneTree_required, Phone
|
|
|
4269
4290
|
bypassOOO?: boolean;
|
|
4270
4291
|
defaultEntityType?: string;
|
|
4271
4292
|
tags?: string[];
|
|
4293
|
+
title?: string;
|
|
4294
|
+
outboundNumber?: string;
|
|
4272
4295
|
}
|
|
4273
4296
|
export type TableViewColumn = {
|
|
4274
4297
|
field: string;
|
|
@@ -4639,6 +4662,7 @@ export interface PortalBranding extends PortalBranding_readonly, PortalBranding_
|
|
|
4639
4662
|
logoURL?: string;
|
|
4640
4663
|
subdomain?: string;
|
|
4641
4664
|
customPortalURL?: string;
|
|
4665
|
+
portalSettings?: PortalSettings;
|
|
4642
4666
|
}
|
|
4643
4667
|
export interface WebhookLog_readonly extends ClientRecord {
|
|
4644
4668
|
url: string;
|