@tellescope/types-models 1.189.0 → 1.191.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 +29 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +29 -1
- 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 +3 -3
- package/src/index.ts +29 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export type CustomEnduserFields = {
|
|
|
131
131
|
"Table": BuildCustomEnduserField<"Table", {
|
|
132
132
|
columns: TableInputChoice[];
|
|
133
133
|
}>;
|
|
134
|
+
'Checkbox': BuildCustomEnduserField<'Checkbox', {}>;
|
|
134
135
|
};
|
|
135
136
|
export type CustomEnduserFieldType = keyof CustomEnduserFields;
|
|
136
137
|
export type CustomEnduserField = CustomEnduserFields[CustomEnduserFieldType];
|
|
@@ -390,6 +391,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
390
391
|
questionId: string;
|
|
391
392
|
};
|
|
392
393
|
canvasSyncEmailConsent?: boolean;
|
|
394
|
+
canvasSyncPhoneConsent?: boolean;
|
|
393
395
|
dosespotClinics?: {
|
|
394
396
|
id: string;
|
|
395
397
|
name: string;
|
|
@@ -418,6 +420,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
418
420
|
customPortalLoginEmailSubject?: string;
|
|
419
421
|
customPortalLoginEmailHTML?: string;
|
|
420
422
|
customerIOFields?: string[];
|
|
423
|
+
createEnduserForms?: string[];
|
|
421
424
|
}
|
|
422
425
|
export type OrganizationTheme = {
|
|
423
426
|
name: string;
|
|
@@ -512,6 +515,7 @@ export type WeeklyAvailability = {
|
|
|
512
515
|
startTimeInMinutes: number;
|
|
513
516
|
endTimeInMinutes: number;
|
|
514
517
|
intervalInMinutes?: number;
|
|
518
|
+
bufferStartMinutes?: number;
|
|
515
519
|
active?: DateRange;
|
|
516
520
|
locationId?: string;
|
|
517
521
|
locationIds?: string[];
|
|
@@ -1056,6 +1060,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
1056
1060
|
discussionRoomId?: string;
|
|
1057
1061
|
markedUnreadForAll?: boolean;
|
|
1058
1062
|
inboxStatus?: string;
|
|
1063
|
+
relatedContactId?: string;
|
|
1059
1064
|
}
|
|
1060
1065
|
export interface SMSMessage_readonly extends ClientRecord {
|
|
1061
1066
|
delivered: boolean;
|
|
@@ -1113,6 +1118,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1113
1118
|
mediaURLs?: string[];
|
|
1114
1119
|
markedUnreadForAll?: boolean;
|
|
1115
1120
|
inboxStatus?: string;
|
|
1121
|
+
relatedContactId?: string;
|
|
1116
1122
|
}
|
|
1117
1123
|
export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
|
|
1118
1124
|
export interface ChatRoom_readonly extends ClientRecord {
|
|
@@ -1251,7 +1257,6 @@ export interface File_readonly extends ClientRecord {
|
|
|
1251
1257
|
recentlyViewedAt: Date;
|
|
1252
1258
|
type: 'user' | 'enduser';
|
|
1253
1259
|
}>;
|
|
1254
|
-
source?: string;
|
|
1255
1260
|
externalId?: string;
|
|
1256
1261
|
timestamp?: Date;
|
|
1257
1262
|
confirmedAt?: Date;
|
|
@@ -1329,6 +1334,7 @@ export interface Ticket_required {
|
|
|
1329
1334
|
export interface Ticket_updatesDisabled {
|
|
1330
1335
|
}
|
|
1331
1336
|
export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updatesDisabled {
|
|
1337
|
+
disableEditTitle?: boolean;
|
|
1332
1338
|
queueId?: string;
|
|
1333
1339
|
dequeuedAt?: Date | '';
|
|
1334
1340
|
dequeuedFrom?: string;
|
|
@@ -1381,6 +1387,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1381
1387
|
restrictByTagsQualifier?: ListQueryQualifier;
|
|
1382
1388
|
archiveReason?: string;
|
|
1383
1389
|
contextFormIds?: string[];
|
|
1390
|
+
contextContentIds?: string[];
|
|
1384
1391
|
triggerFileId?: string;
|
|
1385
1392
|
orderId?: string;
|
|
1386
1393
|
contextEnduserFields?: string[];
|
|
@@ -1694,6 +1701,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1694
1701
|
canvasNoteCoding?: Partial<CanvasCoding>;
|
|
1695
1702
|
syncToCanvasAsDataImport?: boolean;
|
|
1696
1703
|
matchCareTeamTagsForCanvasPractitionerResolution?: ListOfStringsWithQualifier;
|
|
1704
|
+
dontSyncToCanvasOnSubmission?: boolean;
|
|
1697
1705
|
}
|
|
1698
1706
|
export interface FormGroup_readonly extends ClientRecord {
|
|
1699
1707
|
}
|
|
@@ -1765,6 +1773,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1765
1773
|
dontPullCalendarEvent?: boolean;
|
|
1766
1774
|
pushAddedTags?: boolean;
|
|
1767
1775
|
pushRemovedTags?: boolean;
|
|
1776
|
+
overwriteAddress?: boolean;
|
|
1768
1777
|
}
|
|
1769
1778
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1770
1779
|
type: K;
|
|
@@ -2246,6 +2255,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2246
2255
|
at: Date;
|
|
2247
2256
|
}[];
|
|
2248
2257
|
confirmedAt?: Date | '';
|
|
2258
|
+
preventRescheduleMinutesInAdvance?: number;
|
|
2259
|
+
preventCancelMinutesInAdvance?: number;
|
|
2249
2260
|
}
|
|
2250
2261
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2251
2262
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2368,6 +2379,8 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2368
2379
|
requiresEnduser?: boolean;
|
|
2369
2380
|
requirePortalCancelReason?: boolean;
|
|
2370
2381
|
allowGroupReschedule?: boolean;
|
|
2382
|
+
preventRescheduleMinutesInAdvance?: number;
|
|
2383
|
+
preventCancelMinutesInAdvance?: number;
|
|
2371
2384
|
}
|
|
2372
2385
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2373
2386
|
}
|
|
@@ -2576,6 +2589,7 @@ export type AfterActionEventInfo = {
|
|
|
2576
2589
|
delay: number;
|
|
2577
2590
|
unit: UnitOfTime;
|
|
2578
2591
|
officeHoursOnly?: boolean;
|
|
2592
|
+
useEnduserTimezone?: boolean;
|
|
2579
2593
|
cancelConditions?: CancelCondition[];
|
|
2580
2594
|
abTestCondition?: string;
|
|
2581
2595
|
};
|
|
@@ -2688,6 +2702,8 @@ export type CreateTicketActionInfo = {
|
|
|
2688
2702
|
tags?: string[];
|
|
2689
2703
|
contextFormIds?: string[];
|
|
2690
2704
|
contextEnduserFields?: string[];
|
|
2705
|
+
contextContentIds?: string[];
|
|
2706
|
+
disableEditTitle?: boolean;
|
|
2691
2707
|
};
|
|
2692
2708
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
2693
2709
|
fromEmailOverride?: string;
|
|
@@ -2784,6 +2800,11 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
|
|
|
2784
2800
|
}>;
|
|
2785
2801
|
export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
|
|
2786
2802
|
export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
|
|
2803
|
+
export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCreateNote', {
|
|
2804
|
+
formIds: string[];
|
|
2805
|
+
matchCareTeamTagsForCanvasPractitionerResolution: ListOfStringsWithQualifier;
|
|
2806
|
+
noteCoding: CanvasCoding;
|
|
2807
|
+
}>;
|
|
2787
2808
|
export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
|
|
2788
2809
|
export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
|
|
2789
2810
|
drugs: DevelopHealthDrug[];
|
|
@@ -2870,6 +2891,7 @@ export type AutomationActionForType = {
|
|
|
2870
2891
|
switchToRelatedContact: SwitchToRelatedContactAutomationAction;
|
|
2871
2892
|
'elationSync': ElationSyncAutomationAction;
|
|
2872
2893
|
canvasSync: CanvasSyncAutomationAction;
|
|
2894
|
+
canvasCreateNote: CanvasCreateNoteAutomationAction;
|
|
2873
2895
|
pushFormsToPortal: PushFormsAutomationAction;
|
|
2874
2896
|
developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
|
|
2875
2897
|
cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
|
|
@@ -3775,6 +3797,9 @@ export type AutomationTriggerActions = {
|
|
|
3775
3797
|
waitlistId: string;
|
|
3776
3798
|
count: number;
|
|
3777
3799
|
}>;
|
|
3800
|
+
"Reply to Chat": AutomationTriggerActionBuilder<'Reply to Chat', {
|
|
3801
|
+
message: string;
|
|
3802
|
+
}>;
|
|
3778
3803
|
};
|
|
3779
3804
|
export type AutomationTriggerActionType = keyof AutomationTriggerActions;
|
|
3780
3805
|
export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
|
|
@@ -3816,6 +3841,7 @@ export type AutomationTriggerEvents = {
|
|
|
3816
3841
|
'Appointment Created': AutomationTriggerEventBuilder<"Appointment Created", {
|
|
3817
3842
|
titles?: string[];
|
|
3818
3843
|
templateIds?: string[];
|
|
3844
|
+
excludeTemplateIds?: string[];
|
|
3819
3845
|
}, {}>;
|
|
3820
3846
|
'Appointment Completed': AutomationTriggerEventBuilder<"Appointment Completed", {
|
|
3821
3847
|
titles?: string[];
|
|
@@ -3824,6 +3850,7 @@ export type AutomationTriggerEvents = {
|
|
|
3824
3850
|
'Appointment Cancelled': AutomationTriggerEventBuilder<"Appointment Cancelled", {
|
|
3825
3851
|
titles?: string[];
|
|
3826
3852
|
templateIds?: string[];
|
|
3853
|
+
excludeTemplateIds?: string[];
|
|
3827
3854
|
by?: '' | 'enduser' | 'user';
|
|
3828
3855
|
}, {}>;
|
|
3829
3856
|
'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
|
|
@@ -4998,6 +5025,7 @@ export type JourneyContext = {
|
|
|
4998
5025
|
databaseRecordCreator?: string;
|
|
4999
5026
|
eligibilityResultId?: string;
|
|
5000
5027
|
fileId?: string;
|
|
5028
|
+
chatRoomId?: string;
|
|
5001
5029
|
};
|
|
5002
5030
|
export declare const TIMEZONE_MAP: {
|
|
5003
5031
|
readonly "Africa/Abidjan": "+00:00";
|