@tellescope/types-models 1.226.0 → 1.228.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 +51 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +2 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +51 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +62 -7
package/lib/cjs/index.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ export type PortalSettings = {
|
|
|
82
82
|
loginTitle?: string;
|
|
83
83
|
loginDescription?: string;
|
|
84
84
|
loginGraphic?: string;
|
|
85
|
+
loginBottomHTML?: string;
|
|
85
86
|
registerTitle?: string;
|
|
86
87
|
registerDescription?: string;
|
|
87
88
|
registerGraphic?: string;
|
|
@@ -105,6 +106,7 @@ export type PortalSettings = {
|
|
|
105
106
|
outstandingFormsTitle?: string;
|
|
106
107
|
availableFormsTitle?: string;
|
|
107
108
|
};
|
|
109
|
+
hideSettingsPage?: boolean;
|
|
108
110
|
};
|
|
109
111
|
export type WithLinkOpenTrackingIds = {
|
|
110
112
|
linkOpenTrackingIds: string[];
|
|
@@ -386,6 +388,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
386
388
|
hasConnectedSuperDial?: boolean;
|
|
387
389
|
hasConnectedBeluga?: boolean;
|
|
388
390
|
hasConnectedMetriport?: boolean;
|
|
391
|
+
hasConnectedPaubox?: boolean;
|
|
389
392
|
hasConfiguredZoom?: boolean;
|
|
390
393
|
hasTicketQueues?: boolean;
|
|
391
394
|
vitalTeamId?: string;
|
|
@@ -471,6 +474,8 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
471
474
|
creditTrialStartedAt?: Date;
|
|
472
475
|
hasIntegrations?: string[];
|
|
473
476
|
outOfOfficeHours?: OutOfOfficeBlock[];
|
|
477
|
+
incomingCallDisplayFields?: string[];
|
|
478
|
+
skipActivePatientBilling?: boolean;
|
|
474
479
|
}
|
|
475
480
|
export type OrganizationTheme = {
|
|
476
481
|
name: string;
|
|
@@ -572,6 +577,11 @@ export type StateCredentialInfo = {
|
|
|
572
577
|
export type MonthlyRestriction = {
|
|
573
578
|
occurrences: (1 | 2 | 3 | 4 | 5)[];
|
|
574
579
|
};
|
|
580
|
+
export type CalendarEventLimit = {
|
|
581
|
+
templateId: string;
|
|
582
|
+
period: number;
|
|
583
|
+
limit: number;
|
|
584
|
+
};
|
|
575
585
|
export type WeeklyAvailability = {
|
|
576
586
|
dayOfWeekStartingSundayIndexedByZero: number;
|
|
577
587
|
startTimeInMinutes: number;
|
|
@@ -601,6 +611,7 @@ export interface User_readonly extends ClientRecord {
|
|
|
601
611
|
organization?: string;
|
|
602
612
|
username?: string;
|
|
603
613
|
orgEmail?: string;
|
|
614
|
+
pauboxEmail?: string;
|
|
604
615
|
lastActive?: Date;
|
|
605
616
|
lastLogout?: Date;
|
|
606
617
|
isa?: boolean;
|
|
@@ -642,6 +653,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
642
653
|
credentialedStates?: StateCredentialInfo[];
|
|
643
654
|
timezone?: Timezone;
|
|
644
655
|
weeklyAvailabilities?: WeeklyAvailability[];
|
|
656
|
+
calendarEventLimits?: CalendarEventLimit[];
|
|
645
657
|
autoReplyEnabled?: boolean;
|
|
646
658
|
twilioNumber?: string;
|
|
647
659
|
availableFromNumbers?: string[];
|
|
@@ -1604,12 +1616,17 @@ export type FormFieldFeedback = {
|
|
|
1604
1616
|
ifEquals: string;
|
|
1605
1617
|
display: string;
|
|
1606
1618
|
};
|
|
1619
|
+
export type FormFieldOptionDetails = {
|
|
1620
|
+
option: string;
|
|
1621
|
+
description?: string;
|
|
1622
|
+
};
|
|
1607
1623
|
export interface CanvasConsentCategory extends CanvasCoding {
|
|
1608
1624
|
}
|
|
1609
1625
|
export type FormFieldOptions = FormFieldValidation & {
|
|
1610
1626
|
default?: string;
|
|
1611
1627
|
tableChoices?: TableInputChoice[];
|
|
1612
1628
|
choices?: string[];
|
|
1629
|
+
optionDetails?: FormFieldOptionDetails[];
|
|
1613
1630
|
canvasCodings?: CanvasCoding[];
|
|
1614
1631
|
from?: number;
|
|
1615
1632
|
to?: number;
|
|
@@ -1627,6 +1644,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1627
1644
|
databaseId?: string;
|
|
1628
1645
|
databaseLabel?: string;
|
|
1629
1646
|
databaseLabels?: string[];
|
|
1647
|
+
filterByEnduserState?: boolean;
|
|
1630
1648
|
databaseFilter?: {
|
|
1631
1649
|
fieldId?: string;
|
|
1632
1650
|
databaseLabel?: string;
|
|
@@ -1658,6 +1676,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1658
1676
|
groupPadding?: number;
|
|
1659
1677
|
saveIntakeOnPartial?: boolean;
|
|
1660
1678
|
stripeKey?: string;
|
|
1679
|
+
stripeProductSelectionMode?: boolean;
|
|
1661
1680
|
dataSource?: string;
|
|
1662
1681
|
canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'>;
|
|
1663
1682
|
canvasDocumentType?: CanvasCoding;
|
|
@@ -1678,7 +1697,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1678
1697
|
elationAppendToNote?: boolean;
|
|
1679
1698
|
elationAppendToNotePrefix?: string;
|
|
1680
1699
|
};
|
|
1681
|
-
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1700
|
+
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other' | 'optionDetails' | 'radioChoices'>;
|
|
1682
1701
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
1683
1702
|
export type FormFieldCalloutCondition = {
|
|
1684
1703
|
comparison: FormFieldCalloutConditionComparison;
|
|
@@ -1959,6 +1978,7 @@ export interface Database_updatesDisabled {
|
|
|
1959
1978
|
}
|
|
1960
1979
|
export interface Database extends Database_readonly, Database_required, Database_updatesDisabled {
|
|
1961
1980
|
visibleForRoles?: string[];
|
|
1981
|
+
isReferralDatabase?: boolean;
|
|
1962
1982
|
}
|
|
1963
1983
|
export interface DatabaseRecord_readonly extends ClientRecord {
|
|
1964
1984
|
}
|
|
@@ -2143,6 +2163,7 @@ export interface FormResponse_required {
|
|
|
2143
2163
|
publicSubmit?: boolean;
|
|
2144
2164
|
submittedBy?: string;
|
|
2145
2165
|
submittedByIsPlaceholder?: boolean;
|
|
2166
|
+
markedAsSubmitted?: boolean;
|
|
2146
2167
|
submittedAt?: Date;
|
|
2147
2168
|
accessCode?: string;
|
|
2148
2169
|
userEmail?: string;
|
|
@@ -2226,6 +2247,7 @@ export type BaseAvailabilityBlock = {
|
|
|
2226
2247
|
startTimeInMS: number;
|
|
2227
2248
|
durationInMinutes: number;
|
|
2228
2249
|
externalId?: string;
|
|
2250
|
+
priority?: number;
|
|
2229
2251
|
};
|
|
2230
2252
|
export interface AvailabilityBlock_readonly extends ClientRecord {
|
|
2231
2253
|
}
|
|
@@ -2405,6 +2427,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2405
2427
|
preventRescheduleMinutesInAdvance?: number;
|
|
2406
2428
|
preventCancelMinutesInAdvance?: number;
|
|
2407
2429
|
sendIcsEmail?: boolean;
|
|
2430
|
+
healthieInsuranceBillingEnabled?: boolean;
|
|
2408
2431
|
}
|
|
2409
2432
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2410
2433
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2538,6 +2561,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2538
2561
|
generateAthenaTelehealthLink?: boolean;
|
|
2539
2562
|
athenaTypeId?: string;
|
|
2540
2563
|
athenaBookingTypeId?: string;
|
|
2564
|
+
healthieInsuranceBillingEnabled?: boolean;
|
|
2541
2565
|
}
|
|
2542
2566
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2543
2567
|
}
|
|
@@ -3030,12 +3054,16 @@ export type AddAccessTagsAutomationAction = AutomationActionBuilder<'addAccessTa
|
|
|
3030
3054
|
export type RemoveAccessTagsAutomationAction = AutomationActionBuilder<'removeAccessTags', {
|
|
3031
3055
|
tags: string[];
|
|
3032
3056
|
}>;
|
|
3033
|
-
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
3057
|
+
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number" | "Date Difference";
|
|
3034
3058
|
export type EnduserFieldSetter = {
|
|
3035
3059
|
name: string;
|
|
3036
3060
|
type: EnduserFieldSetterType;
|
|
3037
3061
|
value: string;
|
|
3038
3062
|
increment?: number;
|
|
3063
|
+
dateDifferenceOptions?: {
|
|
3064
|
+
date1: string;
|
|
3065
|
+
date2: string;
|
|
3066
|
+
};
|
|
3039
3067
|
};
|
|
3040
3068
|
export type SetEnduserFieldsAutomationAction = AutomationActionBuilder<'setEnduserFields', {
|
|
3041
3069
|
fields: EnduserFieldSetter[];
|
|
@@ -3321,6 +3349,7 @@ export type PortalBlockForType = {
|
|
|
3321
3349
|
title: string;
|
|
3322
3350
|
roles?: string[];
|
|
3323
3351
|
showAll?: boolean;
|
|
3352
|
+
hideContactButton?: boolean;
|
|
3324
3353
|
}>;
|
|
3325
3354
|
carePlan: BuildPortalBlockInfo<'carePlan', {}>;
|
|
3326
3355
|
education: BuildPortalBlockInfo<'education', {}>;
|
|
@@ -3553,6 +3582,7 @@ export type UserUIRestrictions = {
|
|
|
3553
3582
|
hideMergeEndusers?: boolean;
|
|
3554
3583
|
hideQueuedTicketsViewer?: boolean;
|
|
3555
3584
|
hideIncomingFaxesIcon?: boolean;
|
|
3585
|
+
hideNotificationsIcon?: boolean;
|
|
3556
3586
|
hideBulkEnduserActions?: boolean;
|
|
3557
3587
|
visibleIntegrations?: string[];
|
|
3558
3588
|
};
|
|
@@ -3685,6 +3715,12 @@ export type AnalyticsQueryInfoForType = {
|
|
|
3685
3715
|
"Orders": {
|
|
3686
3716
|
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3687
3717
|
};
|
|
3718
|
+
"Chat Rooms": {
|
|
3719
|
+
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3720
|
+
};
|
|
3721
|
+
"Chats": {
|
|
3722
|
+
Total: AnalyticsQueryInfoBuilder<'Total', undefined>;
|
|
3723
|
+
};
|
|
3688
3724
|
};
|
|
3689
3725
|
export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
|
|
3690
3726
|
export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
|
|
@@ -3762,6 +3798,8 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3762
3798
|
automationStepIds?: string[];
|
|
3763
3799
|
};
|
|
3764
3800
|
Orders: {};
|
|
3801
|
+
"Chat Rooms": {};
|
|
3802
|
+
"Chats": {};
|
|
3765
3803
|
};
|
|
3766
3804
|
export type EnduserGrouping = {
|
|
3767
3805
|
Field?: string;
|
|
@@ -3835,6 +3873,12 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3835
3873
|
"Orders": {} & EnduserGrouping & {
|
|
3836
3874
|
Enduser: string;
|
|
3837
3875
|
};
|
|
3876
|
+
"Chat Rooms": {} & EnduserGrouping & {
|
|
3877
|
+
Enduser: string;
|
|
3878
|
+
};
|
|
3879
|
+
"Chats": {} & EnduserGrouping & {
|
|
3880
|
+
Enduser: string;
|
|
3881
|
+
};
|
|
3838
3882
|
};
|
|
3839
3883
|
type DefaultRangeKey = 'Created At' | 'Updated At';
|
|
3840
3884
|
export type AnalyticsQueryRangeKeyForType = {
|
|
@@ -3852,6 +3896,8 @@ export type AnalyticsQueryRangeKeyForType = {
|
|
|
3852
3896
|
"Meetings": DefaultRangeKey;
|
|
3853
3897
|
"Journey Logs": DefaultRangeKey;
|
|
3854
3898
|
"Orders": DefaultRangeKey;
|
|
3899
|
+
"Chat Rooms": DefaultRangeKey;
|
|
3900
|
+
"Chats": DefaultRangeKey;
|
|
3855
3901
|
};
|
|
3856
3902
|
export type RangeKey = DefaultRangeKey | 'Submitted At' | "Closed At";
|
|
3857
3903
|
export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
|
|
@@ -3881,6 +3927,8 @@ export type AnalyticsQueryForType = {
|
|
|
3881
3927
|
"Meetings": AnalyticsQueryBuilder<"Meetings", AnalyticsQueryInfoForType['Meetings'][keyof AnalyticsQueryInfoForType['Meetings']], AnalyticsQueryFilterForType['Meetings'], AnalyticsQueryGroupingForType['Meetings'], AnalyticsQueryRangeKeyForType['Meetings']>;
|
|
3882
3928
|
"Journey Logs": AnalyticsQueryBuilder<"Journey Logs", AnalyticsQueryInfoForType['Journey Logs'][keyof AnalyticsQueryInfoForType['Journey Logs']], AnalyticsQueryFilterForType['Journey Logs'], AnalyticsQueryGroupingForType['Journey Logs'], AnalyticsQueryRangeKeyForType['Journey Logs']>;
|
|
3883
3929
|
"Orders": AnalyticsQueryBuilder<"Orders", AnalyticsQueryInfoForType['Orders'][keyof AnalyticsQueryInfoForType['Orders']], AnalyticsQueryFilterForType['Orders'], AnalyticsQueryGroupingForType['Orders'], AnalyticsQueryRangeKeyForType['Orders']>;
|
|
3930
|
+
"Chat Rooms": AnalyticsQueryBuilder<"Chat Rooms", AnalyticsQueryInfoForType['Chat Rooms'][keyof AnalyticsQueryInfoForType['Chat Rooms']], AnalyticsQueryFilterForType['Chat Rooms'], AnalyticsQueryGroupingForType['Chat Rooms'], AnalyticsQueryRangeKeyForType['Chat Rooms']>;
|
|
3931
|
+
"Chats": AnalyticsQueryBuilder<"Chats", AnalyticsQueryInfoForType['Chats'][keyof AnalyticsQueryInfoForType['Chats']], AnalyticsQueryFilterForType['Chats'], AnalyticsQueryGroupingForType['Chats'], AnalyticsQueryRangeKeyForType['Chats']>;
|
|
3884
3932
|
};
|
|
3885
3933
|
export type AnalyticsQueryType = keyof AnalyticsQueryForType;
|
|
3886
3934
|
export type AnalyticsQuery = AnalyticsQueryForType[AnalyticsQueryType];
|
|
@@ -4126,6 +4174,7 @@ export type AutomationTriggerEvents = {
|
|
|
4126
4174
|
'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {
|
|
4127
4175
|
titles?: string[];
|
|
4128
4176
|
productIds?: string[];
|
|
4177
|
+
titlePartialMatches?: string[];
|
|
4129
4178
|
}, {}>;
|
|
4130
4179
|
'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
|
|
4131
4180
|
'Subscription Ended': AutomationTriggerEventBuilder<"Subscription Ended", {
|