@tellescope/types-models 1.124.0 → 1.126.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 +37 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +37 -3
- 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 +39 -5
package/lib/cjs/index.d.ts
CHANGED
|
@@ -170,6 +170,8 @@ export type OrganizationSettings = {
|
|
|
170
170
|
canMoveSMS?: boolean;
|
|
171
171
|
inboxRepliesMarkRead?: boolean;
|
|
172
172
|
alwaysShowInsurance?: boolean;
|
|
173
|
+
defaultToOutboundConferenceCall?: boolean;
|
|
174
|
+
sharedInboxReadStatus?: boolean;
|
|
173
175
|
};
|
|
174
176
|
tickets?: {
|
|
175
177
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -178,6 +180,7 @@ export type OrganizationSettings = {
|
|
|
178
180
|
showJourneys?: boolean;
|
|
179
181
|
requireDueDate?: boolean;
|
|
180
182
|
allowArchival?: boolean;
|
|
183
|
+
returnToTicketsList?: boolean;
|
|
181
184
|
};
|
|
182
185
|
calendar?: {
|
|
183
186
|
dayStart?: {
|
|
@@ -294,6 +297,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
294
297
|
hasConnectedAthena?: boolean;
|
|
295
298
|
hasConnectedActiveCampaign?: boolean;
|
|
296
299
|
hasConnectedDocsumo?: boolean;
|
|
300
|
+
hasConnectedEmotii?: boolean;
|
|
297
301
|
hasConfiguredZoom?: boolean;
|
|
298
302
|
hasTicketQueues?: boolean;
|
|
299
303
|
vitalTeamId?: string;
|
|
@@ -1296,7 +1300,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1296
1300
|
tags?: string[];
|
|
1297
1301
|
}
|
|
1298
1302
|
export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1299
|
-
export type FormFieldComplexType = "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
|
|
1303
|
+
export type FormFieldComplexType = "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
|
|
1300
1304
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1301
1305
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
1302
1306
|
export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
|
|
@@ -1572,6 +1576,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1572
1576
|
defaultAttendeeId?: string;
|
|
1573
1577
|
sendEmailOnSync?: boolean;
|
|
1574
1578
|
enduserFieldMapping?: FieldMapping[];
|
|
1579
|
+
default_dietitian_id?: string;
|
|
1575
1580
|
}
|
|
1576
1581
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1577
1582
|
type: K;
|
|
@@ -1712,6 +1717,7 @@ export type FormResponseAnswerMultipleChoice = FormResponseValueAnswerBuilder<'m
|
|
|
1712
1717
|
export type FormResponseAnswerDropdown = FormResponseValueAnswerBuilder<'Dropdown', FormResponseAnswerMultipleChoiceValue>;
|
|
1713
1718
|
export type FormResponseAnswerRanking = FormResponseValueAnswerBuilder<'ranking', FormResponseAnswerMultipleChoiceValue>;
|
|
1714
1719
|
export type FormResponseAnswerHiddenValue = FormResponseValueAnswerBuilder<'Hidden Value', string>;
|
|
1720
|
+
export type FormResponseAnswerEmotii = FormResponseValueAnswerBuilder<'Emotii', string>;
|
|
1715
1721
|
export type FormResponseAnswerFileValue = {
|
|
1716
1722
|
secureName: string;
|
|
1717
1723
|
name: string;
|
|
@@ -1719,7 +1725,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
1719
1725
|
};
|
|
1720
1726
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1721
1727
|
export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
|
|
1722
|
-
export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue);
|
|
1728
|
+
export type FormResponseValueAnswer = (FormResponseAnswerGroup | FormResponseAnswerTable | FormResponseAnswerDescription | FormResponseAnswerEmail | FormResponseAnswerNumber | FormResponseAnswerPhone | FormResponseAnswerString | FormResponseAnswerStringLong | FormResponseAnswerSignature | FormResponseAnswerMultipleChoice | FormResponseAnswerFile | FormResponseAnswerFiles | FormResponseAnswerDate | FormResponseAnswerRating | FormResponseAnswerRanking | FormResponseAnswerDateString | FormResponseAnswerAddress | FormResponseAnswerTime | FormResponseAnswerStripe | FormResponseAnswerDropdown | FormResponseAnswerDatabaseSelect | FormResponseAnswerMedications | FormResponseAnswerRelatedContacts | FormResponseAnswerInsurance | FormResponseAnswerAppointmentBooking | FormResponseAnswerHeight | FormResponseAnswerRedirect | FormResponseAnswerHiddenValue | FormResponseAnswerEmotii);
|
|
1723
1729
|
export type FormResponseValue = {
|
|
1724
1730
|
fieldId: string;
|
|
1725
1731
|
fieldTitle: string;
|
|
@@ -1732,7 +1738,7 @@ export type FormResponseValue = {
|
|
|
1732
1738
|
isCalledOut?: boolean;
|
|
1733
1739
|
disabled?: boolean;
|
|
1734
1740
|
isHighlightedOnTimeline?: boolean;
|
|
1735
|
-
computedValueKey?: 'Height' | 'Weight' | 'Date of Birth';
|
|
1741
|
+
computedValueKey?: 'Height' | 'Weight' | 'Date of Birth' | "Gender";
|
|
1736
1742
|
};
|
|
1737
1743
|
export type AnswerForType = {
|
|
1738
1744
|
'email': FormResponseAnswerEmail['value'];
|
|
@@ -1761,6 +1767,7 @@ export type AnswerForType = {
|
|
|
1761
1767
|
'Height': FormResponseAnswerHeight['value'];
|
|
1762
1768
|
'Redirect': FormResponseAnswerRedirect['value'];
|
|
1763
1769
|
'Hidden Value': FormResponseAnswerHiddenValue['value'];
|
|
1770
|
+
'Emotii': FormResponseAnswerEmotii['value'];
|
|
1764
1771
|
};
|
|
1765
1772
|
export interface FormResponse_readonly extends ClientRecord {
|
|
1766
1773
|
openedAt?: Date;
|
|
@@ -1814,6 +1821,10 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
|
|
|
1814
1821
|
groupInstance?: string;
|
|
1815
1822
|
groupPosition?: number;
|
|
1816
1823
|
utm?: LabeledField[];
|
|
1824
|
+
emotii?: {
|
|
1825
|
+
id?: string;
|
|
1826
|
+
scores?: any;
|
|
1827
|
+
}[];
|
|
1817
1828
|
}
|
|
1818
1829
|
export interface WebHook_readonly extends ClientRecord {
|
|
1819
1830
|
}
|
|
@@ -1850,6 +1861,7 @@ type BuildCalendarEventReminderInfo<T, I> = {
|
|
|
1850
1861
|
type: T;
|
|
1851
1862
|
info: I;
|
|
1852
1863
|
msBeforeStartTime: number;
|
|
1864
|
+
dontSendIfPassed?: boolean;
|
|
1853
1865
|
didRemind?: boolean;
|
|
1854
1866
|
};
|
|
1855
1867
|
export type CalendarEventReminderInfoForType = {
|
|
@@ -1894,6 +1906,7 @@ export interface CalendarEvent_updatesDisabled {
|
|
|
1894
1906
|
}
|
|
1895
1907
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
1896
1908
|
reason?: string;
|
|
1909
|
+
cancelReason?: string;
|
|
1897
1910
|
attendees: UserIdentity[];
|
|
1898
1911
|
color?: string;
|
|
1899
1912
|
enableVideoCall?: boolean;
|
|
@@ -1958,6 +1971,10 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1958
1971
|
healthieZoomJoinURL?: string;
|
|
1959
1972
|
instructions?: string;
|
|
1960
1973
|
scheduledBy?: string;
|
|
1974
|
+
statusChangeSource?: {
|
|
1975
|
+
source: string;
|
|
1976
|
+
identifier: string;
|
|
1977
|
+
};
|
|
1961
1978
|
}
|
|
1962
1979
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1963
1980
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2091,6 +2108,16 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
|
|
|
2091
2108
|
healthieUseZoom?: boolean;
|
|
2092
2109
|
instructions?: string;
|
|
2093
2110
|
}
|
|
2111
|
+
export interface BookingRestrictions {
|
|
2112
|
+
templateId: string;
|
|
2113
|
+
restrictions: {
|
|
2114
|
+
state?: boolean;
|
|
2115
|
+
careTeam?: boolean;
|
|
2116
|
+
tagsPortal?: string[];
|
|
2117
|
+
hoursBefore?: number | '';
|
|
2118
|
+
hoursAfter?: number | '';
|
|
2119
|
+
};
|
|
2120
|
+
}
|
|
2094
2121
|
export type AppointmentTerm = {
|
|
2095
2122
|
title: string;
|
|
2096
2123
|
link: string;
|
|
@@ -2131,6 +2158,10 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2131
2158
|
limitedByTagsPortal?: string[];
|
|
2132
2159
|
requireLocationSelection?: boolean;
|
|
2133
2160
|
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2161
|
+
restrictionsByTemplate?: BookingRestrictions[];
|
|
2162
|
+
publicMulti?: boolean;
|
|
2163
|
+
publicUserTags?: string[];
|
|
2164
|
+
publicUserFilterTags?: string[];
|
|
2134
2165
|
}
|
|
2135
2166
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2136
2167
|
creatorType: SessionType;
|
|
@@ -3511,7 +3542,9 @@ export type PhoneTreeActions = {
|
|
|
3511
3542
|
byTags?: ListOfStringsWithQualifier;
|
|
3512
3543
|
playback?: Partial<PhonePlayback>;
|
|
3513
3544
|
duration?: number;
|
|
3545
|
+
addToCareTeam?: boolean;
|
|
3514
3546
|
}>;
|
|
3547
|
+
"Select Care Team Member": PhoneTreeActionBuilder<"Select Care Team Member", {}>;
|
|
3515
3548
|
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
3516
3549
|
to: string;
|
|
3517
3550
|
}>;
|
|
@@ -3657,6 +3690,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
|
|
|
3657
3690
|
defaultFromNumber?: string;
|
|
3658
3691
|
enduserFields?: string[];
|
|
3659
3692
|
lastRefreshedCountAt?: Date;
|
|
3693
|
+
preventPull?: string[];
|
|
3660
3694
|
}
|
|
3661
3695
|
export interface EnduserOrder_readonly extends ClientRecord {
|
|
3662
3696
|
}
|