@tellescope/types-models 1.123.1 → 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 +25 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +25 -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 +26 -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;
|
|
@@ -699,6 +701,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
699
701
|
defaultFromPhone?: string;
|
|
700
702
|
defaultFromEmail?: string;
|
|
701
703
|
useDefaultFromEmailInAutomations?: boolean;
|
|
704
|
+
useDefaultFromPhoneInAutomations?: boolean;
|
|
702
705
|
stripeCustomerId?: string;
|
|
703
706
|
stripeKey?: string;
|
|
704
707
|
}
|
|
@@ -1295,7 +1298,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1295
1298
|
tags?: string[];
|
|
1296
1299
|
}
|
|
1297
1300
|
export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1298
|
-
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";
|
|
1299
1302
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1300
1303
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
1301
1304
|
export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
|
|
@@ -1571,6 +1574,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1571
1574
|
defaultAttendeeId?: string;
|
|
1572
1575
|
sendEmailOnSync?: boolean;
|
|
1573
1576
|
enduserFieldMapping?: FieldMapping[];
|
|
1577
|
+
default_dietitian_id?: string;
|
|
1574
1578
|
}
|
|
1575
1579
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1576
1580
|
type: K;
|
|
@@ -1711,6 +1715,7 @@ export type FormResponseAnswerMultipleChoice = FormResponseValueAnswerBuilder<'m
|
|
|
1711
1715
|
export type FormResponseAnswerDropdown = FormResponseValueAnswerBuilder<'Dropdown', FormResponseAnswerMultipleChoiceValue>;
|
|
1712
1716
|
export type FormResponseAnswerRanking = FormResponseValueAnswerBuilder<'ranking', FormResponseAnswerMultipleChoiceValue>;
|
|
1713
1717
|
export type FormResponseAnswerHiddenValue = FormResponseValueAnswerBuilder<'Hidden Value', string>;
|
|
1718
|
+
export type FormResponseAnswerEmotii = FormResponseValueAnswerBuilder<'Emotii', string>;
|
|
1714
1719
|
export type FormResponseAnswerFileValue = {
|
|
1715
1720
|
secureName: string;
|
|
1716
1721
|
name: string;
|
|
@@ -1718,7 +1723,7 @@ export type FormResponseAnswerFileValue = {
|
|
|
1718
1723
|
};
|
|
1719
1724
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1720
1725
|
export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
|
|
1721
|
-
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);
|
|
1722
1727
|
export type FormResponseValue = {
|
|
1723
1728
|
fieldId: string;
|
|
1724
1729
|
fieldTitle: string;
|
|
@@ -1760,6 +1765,7 @@ export type AnswerForType = {
|
|
|
1760
1765
|
'Height': FormResponseAnswerHeight['value'];
|
|
1761
1766
|
'Redirect': FormResponseAnswerRedirect['value'];
|
|
1762
1767
|
'Hidden Value': FormResponseAnswerHiddenValue['value'];
|
|
1768
|
+
'Emotii': FormResponseAnswerEmotii['value'];
|
|
1763
1769
|
};
|
|
1764
1770
|
export interface FormResponse_readonly extends ClientRecord {
|
|
1765
1771
|
openedAt?: Date;
|
|
@@ -1957,6 +1963,10 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1957
1963
|
healthieZoomJoinURL?: string;
|
|
1958
1964
|
instructions?: string;
|
|
1959
1965
|
scheduledBy?: string;
|
|
1966
|
+
statusChangeSource?: {
|
|
1967
|
+
source: string;
|
|
1968
|
+
identifier: string;
|
|
1969
|
+
};
|
|
1960
1970
|
}
|
|
1961
1971
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1962
1972
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2090,6 +2100,16 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
|
|
|
2090
2100
|
healthieUseZoom?: boolean;
|
|
2091
2101
|
instructions?: string;
|
|
2092
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
|
+
}
|
|
2093
2113
|
export type AppointmentTerm = {
|
|
2094
2114
|
title: string;
|
|
2095
2115
|
link: string;
|
|
@@ -2130,6 +2150,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2130
2150
|
limitedByTagsPortal?: string[];
|
|
2131
2151
|
requireLocationSelection?: boolean;
|
|
2132
2152
|
collectReason?: "Do Not Collect" | 'Optional' | 'Required';
|
|
2153
|
+
restrictionsByTemplate?: BookingRestrictions[];
|
|
2133
2154
|
}
|
|
2134
2155
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2135
2156
|
creatorType: SessionType;
|
|
@@ -3510,6 +3531,7 @@ export type PhoneTreeActions = {
|
|
|
3510
3531
|
byTags?: ListOfStringsWithQualifier;
|
|
3511
3532
|
playback?: Partial<PhonePlayback>;
|
|
3512
3533
|
duration?: number;
|
|
3534
|
+
addToCareTeam?: boolean;
|
|
3513
3535
|
}>;
|
|
3514
3536
|
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
3515
3537
|
to: string;
|
|
@@ -3656,6 +3678,7 @@ export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required,
|
|
|
3656
3678
|
defaultFromNumber?: string;
|
|
3657
3679
|
enduserFields?: string[];
|
|
3658
3680
|
lastRefreshedCountAt?: Date;
|
|
3681
|
+
preventPull?: string[];
|
|
3659
3682
|
}
|
|
3660
3683
|
export interface EnduserOrder_readonly extends ClientRecord {
|
|
3661
3684
|
}
|