@tellescope/types-models 1.121.0 → 1.123.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 +20 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +20 -1
- 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 +2 -2
- package/src/index.ts +21 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ export type OrganizationSettings = {
|
|
|
169
169
|
canMoveCalls?: boolean;
|
|
170
170
|
canMoveSMS?: boolean;
|
|
171
171
|
inboxRepliesMarkRead?: boolean;
|
|
172
|
+
alwaysShowInsurance?: boolean;
|
|
172
173
|
};
|
|
173
174
|
tickets?: {
|
|
174
175
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -353,6 +354,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
353
354
|
title: string;
|
|
354
355
|
iframeURL: string;
|
|
355
356
|
}[];
|
|
357
|
+
stripePublicKeys?: string[];
|
|
356
358
|
}
|
|
357
359
|
export type OrganizationTheme = {
|
|
358
360
|
name: string;
|
|
@@ -536,6 +538,8 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
536
538
|
url?: string;
|
|
537
539
|
requiresMFAConfiguration?: boolean;
|
|
538
540
|
templateFields?: LabeledField[];
|
|
541
|
+
dashboardView?: CustomDashboardView;
|
|
542
|
+
hideFromCalendarView?: boolean;
|
|
539
543
|
}
|
|
540
544
|
export type Preference = 'email' | 'sms' | 'call' | 'chat';
|
|
541
545
|
export type CustomField = string | number | object | {
|
|
@@ -693,6 +697,9 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
693
697
|
vitalTriggersDisabled?: boolean;
|
|
694
698
|
defaultFromPhone?: string;
|
|
695
699
|
defaultFromEmail?: string;
|
|
700
|
+
useDefaultFromEmailInAutomations?: boolean;
|
|
701
|
+
stripeCustomerId?: string;
|
|
702
|
+
stripeKey?: string;
|
|
696
703
|
}
|
|
697
704
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
698
705
|
}
|
|
@@ -731,6 +738,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
731
738
|
calendarEventId?: string;
|
|
732
739
|
prescribedBy?: string;
|
|
733
740
|
prescribedAt?: Date | '';
|
|
741
|
+
prescriberName?: string;
|
|
734
742
|
startedTakingAt?: Date | '';
|
|
735
743
|
stoppedTakingAt?: Date | '';
|
|
736
744
|
rxNormCode?: string;
|
|
@@ -1429,6 +1437,7 @@ export interface FormField extends FormField_readonly, FormField_required, FormF
|
|
|
1429
1437
|
field?: string;
|
|
1430
1438
|
overwrite?: boolean;
|
|
1431
1439
|
};
|
|
1440
|
+
titleFontSize?: number;
|
|
1432
1441
|
}
|
|
1433
1442
|
export type FormScoring = {
|
|
1434
1443
|
title: string;
|
|
@@ -1944,6 +1953,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1944
1953
|
healthieZoomStartURL?: string;
|
|
1945
1954
|
healthieZoomJoinURL?: string;
|
|
1946
1955
|
instructions?: string;
|
|
1956
|
+
scheduledBy?: string;
|
|
1947
1957
|
}
|
|
1948
1958
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1949
1959
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -1990,6 +2000,7 @@ export interface Purchase extends Purchase_readonly, Purchase_required, Purchase
|
|
|
1990
2000
|
externalId?: string;
|
|
1991
2001
|
cptCode?: BillingCode;
|
|
1992
2002
|
notes?: string;
|
|
2003
|
+
references?: RelatedRecord[];
|
|
1993
2004
|
}
|
|
1994
2005
|
type BuildPurchaseCreditInfo<T, I> = {
|
|
1995
2006
|
type: T;
|
|
@@ -2029,6 +2040,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2029
2040
|
type?: string;
|
|
2030
2041
|
enableVideoCall?: boolean;
|
|
2031
2042
|
videoIntegration?: VideoIntegrationType;
|
|
2043
|
+
generateZoomLinkWhenBooked?: boolean;
|
|
2032
2044
|
enableSelfScheduling?: boolean;
|
|
2033
2045
|
restrictedByState?: boolean;
|
|
2034
2046
|
publicRead?: boolean;
|
|
@@ -2349,11 +2361,14 @@ export type CreateTicketActionInfo = {
|
|
|
2349
2361
|
preserveContext?: boolean;
|
|
2350
2362
|
tags?: string[];
|
|
2351
2363
|
};
|
|
2352
|
-
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage
|
|
2364
|
+
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
2365
|
+
fromEmailOverride?: string;
|
|
2366
|
+
}>;
|
|
2353
2367
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
2354
2368
|
templateId: string;
|
|
2355
2369
|
forAssigned: boolean;
|
|
2356
2370
|
roles?: string[];
|
|
2371
|
+
tags?: ListOfStringsWithQualifier;
|
|
2357
2372
|
}>;
|
|
2358
2373
|
export type SendSMSAutomationAction = AutomationActionBuilder<'sendSMS', AutomationForMessage>;
|
|
2359
2374
|
export type SendFormAutomationAction = AutomationActionBuilder<'sendForm', AutomationForFormRequest>;
|
|
@@ -2666,6 +2681,7 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
|
|
|
2666
2681
|
iframeURL?: string;
|
|
2667
2682
|
iconURL?: string;
|
|
2668
2683
|
activeIconURL?: string;
|
|
2684
|
+
showStripePortalLink?: boolean;
|
|
2669
2685
|
}
|
|
2670
2686
|
export declare const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000;
|
|
2671
2687
|
export declare const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: {
|
|
@@ -2907,6 +2923,9 @@ type AnalyticsQueryInfoBuilder<M extends string, P extends object | undefined> =
|
|
|
2907
2923
|
export type AnalyticsQueryInfoForType = {
|
|
2908
2924
|
"Endusers": {
|
|
2909
2925
|
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
2926
|
+
"Sum of Field": AnalyticsQueryInfoBuilder<"Sum of Field", {
|
|
2927
|
+
field: string;
|
|
2928
|
+
}>;
|
|
2910
2929
|
};
|
|
2911
2930
|
"Calendar Events": {
|
|
2912
2931
|
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|