@tellescope/types-models 1.189.0 → 1.190.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 +21 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +21 -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 +21 -1
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;
|
|
@@ -512,6 +514,7 @@ export type WeeklyAvailability = {
|
|
|
512
514
|
startTimeInMinutes: number;
|
|
513
515
|
endTimeInMinutes: number;
|
|
514
516
|
intervalInMinutes?: number;
|
|
517
|
+
bufferStartMinutes?: number;
|
|
515
518
|
active?: DateRange;
|
|
516
519
|
locationId?: string;
|
|
517
520
|
locationIds?: string[];
|
|
@@ -1056,6 +1059,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
1056
1059
|
discussionRoomId?: string;
|
|
1057
1060
|
markedUnreadForAll?: boolean;
|
|
1058
1061
|
inboxStatus?: string;
|
|
1062
|
+
relatedContactId?: string;
|
|
1059
1063
|
}
|
|
1060
1064
|
export interface SMSMessage_readonly extends ClientRecord {
|
|
1061
1065
|
delivered: boolean;
|
|
@@ -1113,6 +1117,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1113
1117
|
mediaURLs?: string[];
|
|
1114
1118
|
markedUnreadForAll?: boolean;
|
|
1115
1119
|
inboxStatus?: string;
|
|
1120
|
+
relatedContactId?: string;
|
|
1116
1121
|
}
|
|
1117
1122
|
export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
|
|
1118
1123
|
export interface ChatRoom_readonly extends ClientRecord {
|
|
@@ -1251,7 +1256,6 @@ export interface File_readonly extends ClientRecord {
|
|
|
1251
1256
|
recentlyViewedAt: Date;
|
|
1252
1257
|
type: 'user' | 'enduser';
|
|
1253
1258
|
}>;
|
|
1254
|
-
source?: string;
|
|
1255
1259
|
externalId?: string;
|
|
1256
1260
|
timestamp?: Date;
|
|
1257
1261
|
confirmedAt?: Date;
|
|
@@ -1329,6 +1333,7 @@ export interface Ticket_required {
|
|
|
1329
1333
|
export interface Ticket_updatesDisabled {
|
|
1330
1334
|
}
|
|
1331
1335
|
export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updatesDisabled {
|
|
1336
|
+
disableEditTitle?: boolean;
|
|
1332
1337
|
queueId?: string;
|
|
1333
1338
|
dequeuedAt?: Date | '';
|
|
1334
1339
|
dequeuedFrom?: string;
|
|
@@ -1381,6 +1386,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1381
1386
|
restrictByTagsQualifier?: ListQueryQualifier;
|
|
1382
1387
|
archiveReason?: string;
|
|
1383
1388
|
contextFormIds?: string[];
|
|
1389
|
+
contextContentIds?: string[];
|
|
1384
1390
|
triggerFileId?: string;
|
|
1385
1391
|
orderId?: string;
|
|
1386
1392
|
contextEnduserFields?: string[];
|
|
@@ -1694,6 +1700,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1694
1700
|
canvasNoteCoding?: Partial<CanvasCoding>;
|
|
1695
1701
|
syncToCanvasAsDataImport?: boolean;
|
|
1696
1702
|
matchCareTeamTagsForCanvasPractitionerResolution?: ListOfStringsWithQualifier;
|
|
1703
|
+
dontSyncToCanvasOnSubmission?: boolean;
|
|
1697
1704
|
}
|
|
1698
1705
|
export interface FormGroup_readonly extends ClientRecord {
|
|
1699
1706
|
}
|
|
@@ -2246,6 +2253,8 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2246
2253
|
at: Date;
|
|
2247
2254
|
}[];
|
|
2248
2255
|
confirmedAt?: Date | '';
|
|
2256
|
+
preventRescheduleMinutesInAdvance?: number;
|
|
2257
|
+
preventCancelMinutesInAdvance?: number;
|
|
2249
2258
|
}
|
|
2250
2259
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2251
2260
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2368,6 +2377,8 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2368
2377
|
requiresEnduser?: boolean;
|
|
2369
2378
|
requirePortalCancelReason?: boolean;
|
|
2370
2379
|
allowGroupReschedule?: boolean;
|
|
2380
|
+
preventRescheduleMinutesInAdvance?: number;
|
|
2381
|
+
preventCancelMinutesInAdvance?: number;
|
|
2371
2382
|
}
|
|
2372
2383
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2373
2384
|
}
|
|
@@ -2576,6 +2587,7 @@ export type AfterActionEventInfo = {
|
|
|
2576
2587
|
delay: number;
|
|
2577
2588
|
unit: UnitOfTime;
|
|
2578
2589
|
officeHoursOnly?: boolean;
|
|
2590
|
+
useEnduserTimezone?: boolean;
|
|
2579
2591
|
cancelConditions?: CancelCondition[];
|
|
2580
2592
|
abTestCondition?: string;
|
|
2581
2593
|
};
|
|
@@ -2688,6 +2700,8 @@ export type CreateTicketActionInfo = {
|
|
|
2688
2700
|
tags?: string[];
|
|
2689
2701
|
contextFormIds?: string[];
|
|
2690
2702
|
contextEnduserFields?: string[];
|
|
2703
|
+
contextContentIds?: string[];
|
|
2704
|
+
disableEditTitle?: boolean;
|
|
2691
2705
|
};
|
|
2692
2706
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
2693
2707
|
fromEmailOverride?: string;
|
|
@@ -2784,6 +2798,11 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
|
|
|
2784
2798
|
}>;
|
|
2785
2799
|
export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
|
|
2786
2800
|
export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
|
|
2801
|
+
export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCreateNote', {
|
|
2802
|
+
formIds: string[];
|
|
2803
|
+
matchCareTeamTagsForCanvasPractitionerResolution: ListOfStringsWithQualifier;
|
|
2804
|
+
noteCoding: CanvasCoding;
|
|
2805
|
+
}>;
|
|
2787
2806
|
export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
|
|
2788
2807
|
export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
|
|
2789
2808
|
drugs: DevelopHealthDrug[];
|
|
@@ -2870,6 +2889,7 @@ export type AutomationActionForType = {
|
|
|
2870
2889
|
switchToRelatedContact: SwitchToRelatedContactAutomationAction;
|
|
2871
2890
|
'elationSync': ElationSyncAutomationAction;
|
|
2872
2891
|
canvasSync: CanvasSyncAutomationAction;
|
|
2892
|
+
canvasCreateNote: CanvasCreateNoteAutomationAction;
|
|
2873
2893
|
pushFormsToPortal: PushFormsAutomationAction;
|
|
2874
2894
|
developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
|
|
2875
2895
|
cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
|