@tellescope/types-models 1.108.0 → 1.110.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 +28 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +28 -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 +29 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -452,6 +452,7 @@ export interface User_readonly extends ClientRecord {
|
|
|
452
452
|
lastActive?: Date;
|
|
453
453
|
lastLogout?: Date;
|
|
454
454
|
isa?: boolean;
|
|
455
|
+
passwordLastChangedAt?: Date;
|
|
455
456
|
}
|
|
456
457
|
export interface User_required {
|
|
457
458
|
email: string;
|
|
@@ -590,6 +591,7 @@ export interface Enduser_readonly extends UserActivityInfo, ClientRecord, Enduse
|
|
|
590
591
|
_age?: number;
|
|
591
592
|
mergedIds?: string[];
|
|
592
593
|
_updateKey?: string;
|
|
594
|
+
passwordLastChangedAt?: Date;
|
|
593
595
|
}
|
|
594
596
|
export interface Enduser_required {
|
|
595
597
|
}
|
|
@@ -889,6 +891,7 @@ export interface Email_updatesDisabled {
|
|
|
889
891
|
logOnly?: boolean;
|
|
890
892
|
timestamp?: Date;
|
|
891
893
|
userId: string;
|
|
894
|
+
journeyId?: string;
|
|
892
895
|
}
|
|
893
896
|
export interface Email extends Email_required, Email_readonly, Email_updatesDisabled, TextCommunication {
|
|
894
897
|
isAutoreply?: boolean;
|
|
@@ -906,6 +909,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
906
909
|
syncedAt?: Date;
|
|
907
910
|
cc?: string[];
|
|
908
911
|
fromEmailOverride?: string;
|
|
912
|
+
scheduledFromEmail?: string;
|
|
909
913
|
ticketIds?: string[];
|
|
910
914
|
alternateToAddress?: string;
|
|
911
915
|
hiddenBy?: {
|
|
@@ -943,6 +947,7 @@ export interface SMSMessage_updatesDisabled {
|
|
|
943
947
|
inbound: boolean;
|
|
944
948
|
newThread: boolean;
|
|
945
949
|
logOnly?: boolean;
|
|
950
|
+
journeyId?: string;
|
|
946
951
|
}
|
|
947
952
|
export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SMSMessage_updatesDisabled, TextCommunication, WithLinkOpenTrackingIds {
|
|
948
953
|
isAutoreply?: boolean;
|
|
@@ -1086,6 +1091,7 @@ export interface File_readonly extends ClientRecord {
|
|
|
1086
1091
|
source?: string;
|
|
1087
1092
|
externalId?: string;
|
|
1088
1093
|
timestamp?: Date;
|
|
1094
|
+
confirmedAt?: Date;
|
|
1089
1095
|
}
|
|
1090
1096
|
export interface File_required {
|
|
1091
1097
|
name: string;
|
|
@@ -1243,7 +1249,7 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
|
|
|
1243
1249
|
tags?: string[];
|
|
1244
1250
|
}
|
|
1245
1251
|
export type FormFieldLiteralType = 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
|
|
1246
|
-
export type FormFieldComplexType = "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
|
|
1252
|
+
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";
|
|
1247
1253
|
export type FormFieldType = FormFieldLiteralType | FormFieldComplexType;
|
|
1248
1254
|
export type PreviousFormFieldType = 'root' | 'after' | 'previousEquals' | 'compoundLogic';
|
|
1249
1255
|
export type PreviousFormFieldBuilder<T extends PreviousFormFieldType, V> = {
|
|
@@ -1326,6 +1332,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1326
1332
|
useDatePicker?: boolean;
|
|
1327
1333
|
sharedIntakeFields?: string[];
|
|
1328
1334
|
hiddenDefaultFields?: string[];
|
|
1335
|
+
customTypeId?: string;
|
|
1329
1336
|
copyResponse?: boolean;
|
|
1330
1337
|
disableGoBack?: boolean;
|
|
1331
1338
|
disableNext?: boolean;
|
|
@@ -1496,6 +1503,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1496
1503
|
shouldCreateNotifications?: boolean;
|
|
1497
1504
|
disableEnduserAutoSync?: boolean;
|
|
1498
1505
|
disableTicketAutoSync?: boolean;
|
|
1506
|
+
syncEnduserFiles?: boolean;
|
|
1499
1507
|
pushCalendarDetails?: boolean;
|
|
1500
1508
|
redactExternalEvents?: boolean;
|
|
1501
1509
|
fhirClientId?: string;
|
|
@@ -1641,6 +1649,7 @@ export type FormResponseAnswerMultipleChoiceValue = string[];
|
|
|
1641
1649
|
export type FormResponseAnswerMultipleChoice = FormResponseValueAnswerBuilder<'multiple_choice', FormResponseAnswerMultipleChoiceValue>;
|
|
1642
1650
|
export type FormResponseAnswerDropdown = FormResponseValueAnswerBuilder<'Dropdown', FormResponseAnswerMultipleChoiceValue>;
|
|
1643
1651
|
export type FormResponseAnswerRanking = FormResponseValueAnswerBuilder<'ranking', FormResponseAnswerMultipleChoiceValue>;
|
|
1652
|
+
export type FormResponseAnswerHiddenValue = FormResponseValueAnswerBuilder<'Hidden Value', string>;
|
|
1644
1653
|
export type FormResponseAnswerFileValue = {
|
|
1645
1654
|
secureName: string;
|
|
1646
1655
|
name: string;
|
|
@@ -1648,13 +1657,14 @@ export type FormResponseAnswerFileValue = {
|
|
|
1648
1657
|
};
|
|
1649
1658
|
export type FormResponseAnswerFile = FormResponseValueAnswerBuilder<'file', FormResponseAnswerFileValue>;
|
|
1650
1659
|
export type FormResponseAnswerFiles = FormResponseValueAnswerBuilder<'files', FormResponseAnswerFileValue[]>;
|
|
1651
|
-
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);
|
|
1660
|
+
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);
|
|
1652
1661
|
export type FormResponseValue = {
|
|
1653
1662
|
fieldId: string;
|
|
1654
1663
|
fieldTitle: string;
|
|
1655
1664
|
fieldDescription?: string;
|
|
1656
1665
|
fieldHtmlDescription?: string;
|
|
1657
1666
|
answer: FormResponseValueAnswer;
|
|
1667
|
+
answerIsHTML?: boolean;
|
|
1658
1668
|
externalId?: string;
|
|
1659
1669
|
sharedWithEnduser?: boolean;
|
|
1660
1670
|
isCalledOut?: boolean;
|
|
@@ -1687,6 +1697,7 @@ export type AnswerForType = {
|
|
|
1687
1697
|
'Appointment Booking': FormResponseAnswerAppointmentBooking['value'];
|
|
1688
1698
|
'Height': FormResponseAnswerHeight['value'];
|
|
1689
1699
|
'Redirect': FormResponseAnswerRedirect['value'];
|
|
1700
|
+
'Hidden Value': FormResponseAnswerHiddenValue['value'];
|
|
1690
1701
|
};
|
|
1691
1702
|
export interface FormResponse_readonly extends ClientRecord {
|
|
1692
1703
|
openedAt?: Date;
|
|
@@ -1854,6 +1865,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1854
1865
|
isEphemeral?: boolean;
|
|
1855
1866
|
videoIntegration?: VideoIntegrationType;
|
|
1856
1867
|
videoURL?: string;
|
|
1868
|
+
externalVideoURL?: string;
|
|
1857
1869
|
videoHostUserId?: string;
|
|
1858
1870
|
timezone?: Timezone;
|
|
1859
1871
|
copiedFrom?: string;
|
|
@@ -1870,6 +1882,11 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1870
1882
|
holdUntil?: Date;
|
|
1871
1883
|
holdFormResponseId?: string;
|
|
1872
1884
|
tags?: string[];
|
|
1885
|
+
cancelledGroupAttendees?: {
|
|
1886
|
+
id: string;
|
|
1887
|
+
at: Date;
|
|
1888
|
+
}[];
|
|
1889
|
+
useUserURL?: boolean;
|
|
1873
1890
|
}
|
|
1874
1891
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1875
1892
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -1977,6 +1994,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
1977
1994
|
canvasCoding?: CanvasCoding;
|
|
1978
1995
|
tags?: string[];
|
|
1979
1996
|
matchToHealthieTemplate?: boolean;
|
|
1997
|
+
useUserURL?: boolean;
|
|
1980
1998
|
}
|
|
1981
1999
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
1982
2000
|
}
|
|
@@ -3317,6 +3335,8 @@ export type PhoneTreeEvents = {
|
|
|
3317
3335
|
transcription?: string;
|
|
3318
3336
|
handleNoInput?: boolean;
|
|
3319
3337
|
}>;
|
|
3338
|
+
'If True': PhoneTreeEventBuilder<'If True', {}>;
|
|
3339
|
+
'If False': PhoneTreeEventBuilder<'If False', {}>;
|
|
3320
3340
|
};
|
|
3321
3341
|
export type PhoneTreeEventType = keyof PhoneTreeEvents;
|
|
3322
3342
|
export type PhoneTreeEvent = PhoneTreeEvents[PhoneTreeEventType];
|
|
@@ -3369,6 +3389,10 @@ export type PhoneTreeActions = {
|
|
|
3369
3389
|
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
3370
3390
|
to: string;
|
|
3371
3391
|
}>;
|
|
3392
|
+
'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
|
|
3393
|
+
timezone?: Timezone;
|
|
3394
|
+
weeklyAvailabilities?: WeeklyAvailability[];
|
|
3395
|
+
}>;
|
|
3372
3396
|
};
|
|
3373
3397
|
export type PhoneTreeActionType = keyof PhoneTreeActions;
|
|
3374
3398
|
export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];
|
|
@@ -3526,6 +3550,8 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3526
3550
|
tracking?: string;
|
|
3527
3551
|
}[];
|
|
3528
3552
|
tracking?: string;
|
|
3553
|
+
instructions?: string;
|
|
3554
|
+
shippedDate?: string;
|
|
3529
3555
|
}
|
|
3530
3556
|
export interface EnduserProblem_readonly extends ClientRecord {
|
|
3531
3557
|
}
|