@tellescope/types-models 1.124.0 → 1.125.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 +24 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +24 -2
- 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 +25 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -170,6 +170,7 @@ export type OrganizationSettings = {
|
|
|
170
170
|
canMoveSMS?: boolean;
|
|
171
171
|
inboxRepliesMarkRead?: boolean;
|
|
172
172
|
alwaysShowInsurance?: boolean;
|
|
173
|
+
defaultToOutboundConferenceCall?: boolean;
|
|
173
174
|
};
|
|
174
175
|
tickets?: {
|
|
175
176
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
@@ -294,6 +295,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
294
295
|
hasConnectedAthena?: boolean;
|
|
295
296
|
hasConnectedActiveCampaign?: boolean;
|
|
296
297
|
hasConnectedDocsumo?: boolean;
|
|
298
|
+
hasConnectedEmotii?: boolean;
|
|
297
299
|
hasConfiguredZoom?: boolean;
|
|
298
300
|
hasTicketQueues?: boolean;
|
|
299
301
|
vitalTeamId?: string;
|
|
@@ -1296,7 +1298,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1296
1298
|
tags?: string[];
|
|
1297
1299
|
}
|
|
1298
1300
|
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";
|
|
1301
|
+
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
1302
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1301
1303
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
1302
1304
|
export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
|
|
@@ -1572,6 +1574,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1572
1574
|
defaultAttendeeId?: string;
|
|
1573
1575
|
sendEmailOnSync?: boolean;
|
|
1574
1576
|
enduserFieldMapping?: FieldMapping[];
|
|
1577
|
+
default_dietitian_id?: string;
|
|
1575
1578
|
}
|
|
1576
1579
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1577
1580
|
type: K;
|
|
@@ -1712,6 +1715,7 @@ export type FormResponseAnswerMultipleChoice = FormResponseValueAnswerBuilder<'m
|
|
|
1712
1715
|
export type FormResponseAnswerDropdown = FormResponseValueAnswerBuilder<'Dropdown', FormResponseAnswerMultipleChoiceValue>;
|
|
1713
1716
|
export type FormResponseAnswerRanking = FormResponseValueAnswerBuilder<'ranking', FormResponseAnswerMultipleChoiceValue>;
|
|
1714
1717
|
export type FormResponseAnswerHiddenValue = FormResponseValueAnswerBuilder<'Hidden Value', string>;
|
|
1718
|
+
export type FormResponseAnswerEmotii = FormResponseValueAnswerBuilder<'Emotii', string>;
|
|
1715
1719
|
export type FormResponseAnswerFileValue = {
|
|
1716
1720
|
secureName: string;
|
|
1717
1721
|
name: string;
|
|
@@ -1719,7 +1723,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
1719
1723
|
};
|
|
1720
1724
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1721
1725
|
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);
|
|
1726
|
+
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
1727
|
export type FormResponseValue = {
|
|
1724
1728
|
fieldId: string;
|
|
1725
1729
|
fieldTitle: string;
|
|
@@ -1761,6 +1765,7 @@ export type AnswerForType = {
|
|
|
1761
1765
|
'Height': FormResponseAnswerHeight['value'];
|
|
1762
1766
|
'Redirect': FormResponseAnswerRedirect['value'];
|
|
1763
1767
|
'Hidden Value': FormResponseAnswerHiddenValue['value'];
|
|
1768
|
+
'Emotii': FormResponseAnswerEmotii['value'];
|
|
1764
1769
|
};
|
|
1765
1770
|
export interface FormResponse_readonly extends ClientRecord {
|
|
1766
1771
|
openedAt?: Date;
|
|
@@ -1958,6 +1963,10 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1958
1963
|
healthieZoomJoinURL?: string;
|
|
1959
1964
|
instructions?: string;
|
|
1960
1965
|
scheduledBy?: string;
|
|
1966
|
+
statusChangeSource?: {
|
|
1967
|
+
source: string;
|
|
1968
|
+
identifier: string;
|
|
1969
|
+
};
|
|
1961
1970
|
}
|
|
1962
1971
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1963
1972
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2091,6 +2100,16 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
|
|
|
2091
2100
|
healthieUseZoom?: boolean;
|
|
2092
2101
|
instructions?: string;
|
|
2093
2102
|
}
|
|
2103
|
+
export interface BookingRestrictions {
|
|
2104
|
+
templateId: string;
|
|
2105
|
+
restrictions: {
|
|
2106
|
+
state?: boolean;
|
|
2107
|
+
careTeam?: boolean;
|
|
2108
|
+
tagsPortal?: string[];
|
|
2109
|
+
hoursBefore?: number | '';
|
|
2110
|
+
hoursAfter?: number | '';
|
|
2111
|
+
};
|
|
2112
|
+
}
|
|
2094
2113
|
export type AppointmentTerm = {
|
|
2095
2114
|
title: string;
|
|
2096
2115
|
link: string;
|
|
@@ -2131,6 +2150,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2131
2150
|
limitedByTagsPortal?: string[];
|
|
2132
2151
|
requireLocationSelection?: boolean;
|
|
2133
2152
|
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2153
|
+
restrictionsByTemplate?: BookingRestrictions[];
|
|
2134
2154
|
}
|
|
2135
2155
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2136
2156
|
creatorType: SessionType;
|
|
@@ -3511,6 +3531,7 @@ export type PhoneTreeActions = {
|
|
|
3511
3531
|
byTags?: ListOfStringsWithQualifier;
|
|
3512
3532
|
playback?: Partial<PhonePlayback>;
|
|
3513
3533
|
duration?: number;
|
|
3534
|
+
addToCareTeam?: boolean;
|
|
3514
3535
|
}>;
|
|
3515
3536
|
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
3516
3537
|
to: string;
|
|
@@ -3657,6 +3678,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
|
|
|
3657
3678
|
defaultFromNumber?: string;
|
|
3658
3679
|
enduserFields?: string[];
|
|
3659
3680
|
lastRefreshedCountAt?: Date;
|
|
3681
|
+
preventPull?: string[];
|
|
3660
3682
|
}
|
|
3661
3683
|
export interface EnduserOrder_readonly extends ClientRecord {
|
|
3662
3684
|
}
|