@tellescope/types-models 1.188.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 +42 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +42 -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 +38 -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];
|
|
@@ -165,6 +166,7 @@ export type OrganizationSettings = {
|
|
|
165
166
|
disableAutoreplyForCustomEntities?: boolean;
|
|
166
167
|
tags?: string[];
|
|
167
168
|
showFreeNote?: boolean;
|
|
169
|
+
autoSaveFreeNote?: boolean;
|
|
168
170
|
canDeleteFreeNote?: boolean;
|
|
169
171
|
recordCalls?: boolean;
|
|
170
172
|
recordCallAudioPlayback?: string;
|
|
@@ -186,6 +188,7 @@ export type OrganizationSettings = {
|
|
|
186
188
|
alwaysShowInsurance?: boolean;
|
|
187
189
|
defaultToOutboundConferenceCall?: boolean;
|
|
188
190
|
sharedInboxReadStatus?: boolean;
|
|
191
|
+
dontMarkReadForAssigned?: boolean;
|
|
189
192
|
matchEmailAndNames?: boolean;
|
|
190
193
|
hideNotesFromComposeForm?: boolean;
|
|
191
194
|
showSalesforceId?: boolean;
|
|
@@ -388,6 +391,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
388
391
|
questionId: string;
|
|
389
392
|
};
|
|
390
393
|
canvasSyncEmailConsent?: boolean;
|
|
394
|
+
canvasSyncPhoneConsent?: boolean;
|
|
391
395
|
dosespotClinics?: {
|
|
392
396
|
id: string;
|
|
393
397
|
name: string;
|
|
@@ -510,6 +514,7 @@ export type WeeklyAvailability = {
|
|
|
510
514
|
startTimeInMinutes: number;
|
|
511
515
|
endTimeInMinutes: number;
|
|
512
516
|
intervalInMinutes?: number;
|
|
517
|
+
bufferStartMinutes?: number;
|
|
513
518
|
active?: DateRange;
|
|
514
519
|
locationId?: string;
|
|
515
520
|
locationIds?: string[];
|
|
@@ -1054,6 +1059,7 @@ export interface Email extends Email_required, Email_readonly, Email_updatesDisa
|
|
|
1054
1059
|
discussionRoomId?: string;
|
|
1055
1060
|
markedUnreadForAll?: boolean;
|
|
1056
1061
|
inboxStatus?: string;
|
|
1062
|
+
relatedContactId?: string;
|
|
1057
1063
|
}
|
|
1058
1064
|
export interface SMSMessage_readonly extends ClientRecord {
|
|
1059
1065
|
delivered: boolean;
|
|
@@ -1111,6 +1117,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
|
|
|
1111
1117
|
mediaURLs?: string[];
|
|
1112
1118
|
markedUnreadForAll?: boolean;
|
|
1113
1119
|
inboxStatus?: string;
|
|
1120
|
+
relatedContactId?: string;
|
|
1114
1121
|
}
|
|
1115
1122
|
export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
|
|
1116
1123
|
export interface ChatRoom_readonly extends ClientRecord {
|
|
@@ -1249,7 +1256,6 @@ export interface File_readonly extends ClientRecord {
|
|
|
1249
1256
|
recentlyViewedAt: Date;
|
|
1250
1257
|
type: 'user' | 'enduser';
|
|
1251
1258
|
}>;
|
|
1252
|
-
source?: string;
|
|
1253
1259
|
externalId?: string;
|
|
1254
1260
|
timestamp?: Date;
|
|
1255
1261
|
confirmedAt?: Date;
|
|
@@ -1327,6 +1333,7 @@ export interface Ticket_required {
|
|
|
1327
1333
|
export interface Ticket_updatesDisabled {
|
|
1328
1334
|
}
|
|
1329
1335
|
export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updatesDisabled {
|
|
1336
|
+
disableEditTitle?: boolean;
|
|
1330
1337
|
queueId?: string;
|
|
1331
1338
|
dequeuedAt?: Date | '';
|
|
1332
1339
|
dequeuedFrom?: string;
|
|
@@ -1370,6 +1377,8 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1370
1377
|
smsId?: string;
|
|
1371
1378
|
emailId?: string;
|
|
1372
1379
|
calendarEventId?: string;
|
|
1380
|
+
calendarEventTitle?: string;
|
|
1381
|
+
calendarEventStartTimeInMS?: number;
|
|
1373
1382
|
observationId?: string;
|
|
1374
1383
|
tags?: string[];
|
|
1375
1384
|
restrictByState?: string;
|
|
@@ -1377,6 +1386,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1377
1386
|
restrictByTagsQualifier?: ListQueryQualifier;
|
|
1378
1387
|
archiveReason?: string;
|
|
1379
1388
|
contextFormIds?: string[];
|
|
1389
|
+
contextContentIds?: string[];
|
|
1380
1390
|
triggerFileId?: string;
|
|
1381
1391
|
orderId?: string;
|
|
1382
1392
|
contextEnduserFields?: string[];
|
|
@@ -1690,6 +1700,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1690
1700
|
canvasNoteCoding?: Partial<CanvasCoding>;
|
|
1691
1701
|
syncToCanvasAsDataImport?: boolean;
|
|
1692
1702
|
matchCareTeamTagsForCanvasPractitionerResolution?: ListOfStringsWithQualifier;
|
|
1703
|
+
dontSyncToCanvasOnSubmission?: boolean;
|
|
1693
1704
|
}
|
|
1694
1705
|
export interface FormGroup_readonly extends ClientRecord {
|
|
1695
1706
|
}
|
|
@@ -2241,6 +2252,9 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2241
2252
|
id: string;
|
|
2242
2253
|
at: Date;
|
|
2243
2254
|
}[];
|
|
2255
|
+
confirmedAt?: Date | '';
|
|
2256
|
+
preventRescheduleMinutesInAdvance?: number;
|
|
2257
|
+
preventCancelMinutesInAdvance?: number;
|
|
2244
2258
|
}
|
|
2245
2259
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2246
2260
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2363,6 +2377,8 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2363
2377
|
requiresEnduser?: boolean;
|
|
2364
2378
|
requirePortalCancelReason?: boolean;
|
|
2365
2379
|
allowGroupReschedule?: boolean;
|
|
2380
|
+
preventRescheduleMinutesInAdvance?: number;
|
|
2381
|
+
preventCancelMinutesInAdvance?: number;
|
|
2366
2382
|
}
|
|
2367
2383
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2368
2384
|
}
|
|
@@ -2571,6 +2587,7 @@ export type AfterActionEventInfo = {
|
|
|
2571
2587
|
delay: number;
|
|
2572
2588
|
unit: UnitOfTime;
|
|
2573
2589
|
officeHoursOnly?: boolean;
|
|
2590
|
+
useEnduserTimezone?: boolean;
|
|
2574
2591
|
cancelConditions?: CancelCondition[];
|
|
2575
2592
|
abTestCondition?: string;
|
|
2576
2593
|
};
|
|
@@ -2683,6 +2700,8 @@ export type CreateTicketActionInfo = {
|
|
|
2683
2700
|
tags?: string[];
|
|
2684
2701
|
contextFormIds?: string[];
|
|
2685
2702
|
contextEnduserFields?: string[];
|
|
2703
|
+
contextContentIds?: string[];
|
|
2704
|
+
disableEditTitle?: boolean;
|
|
2686
2705
|
};
|
|
2687
2706
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage & {
|
|
2688
2707
|
fromEmailOverride?: string;
|
|
@@ -2779,6 +2798,11 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
|
|
|
2779
2798
|
}>;
|
|
2780
2799
|
export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
|
|
2781
2800
|
export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
|
|
2801
|
+
export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCreateNote', {
|
|
2802
|
+
formIds: string[];
|
|
2803
|
+
matchCareTeamTagsForCanvasPractitionerResolution: ListOfStringsWithQualifier;
|
|
2804
|
+
noteCoding: CanvasCoding;
|
|
2805
|
+
}>;
|
|
2782
2806
|
export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
|
|
2783
2807
|
export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
|
|
2784
2808
|
drugs: DevelopHealthDrug[];
|
|
@@ -2797,6 +2821,13 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
|
|
|
2797
2821
|
environment?: string;
|
|
2798
2822
|
customEmailField?: string;
|
|
2799
2823
|
}>;
|
|
2824
|
+
export type AddAccessTagsAutomationAction = AutomationActionBuilder<'addAccessTags', {
|
|
2825
|
+
tags: string[];
|
|
2826
|
+
replaceExisting?: boolean;
|
|
2827
|
+
}>;
|
|
2828
|
+
export type RemoveAccessTagsAutomationAction = AutomationActionBuilder<'removeAccessTags', {
|
|
2829
|
+
tags: string[];
|
|
2830
|
+
}>;
|
|
2800
2831
|
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
2801
2832
|
export type EnduserFieldSetter = {
|
|
2802
2833
|
name: string;
|
|
@@ -2812,6 +2843,8 @@ export type CustomerIOTrackAction = AutomationActionBuilder<'customerIOTrack', {
|
|
|
2812
2843
|
event: string;
|
|
2813
2844
|
trackProperties?: string[];
|
|
2814
2845
|
}>;
|
|
2846
|
+
export type CancelCurrentEventAction = AutomationActionBuilder<'cancelCurrentEvent', {}>;
|
|
2847
|
+
export type ConfirmCurrentEventAction = AutomationActionBuilder<'confirmCurrentEvent', {}>;
|
|
2815
2848
|
export type AutomationConditionType = 'atJourneyState';
|
|
2816
2849
|
export type AutomationConditionBuilder<T extends AutomationConditionType, V extends object> = {
|
|
2817
2850
|
type: T;
|
|
@@ -2832,6 +2865,8 @@ export type AutomationActionForType = {
|
|
|
2832
2865
|
'notifyTeam': NotifyTeamAutomationAction;
|
|
2833
2866
|
'addEnduserTags': AddEnduserTagsAutomationAction;
|
|
2834
2867
|
'removeEnduserTags': RemoveEnduserTagsAutomationAction;
|
|
2868
|
+
'addAccessTags': AddAccessTagsAutomationAction;
|
|
2869
|
+
'removeAccessTags': RemoveAccessTagsAutomationAction;
|
|
2835
2870
|
'addToJourney': AddToJourneyAutomationAction;
|
|
2836
2871
|
'removeFromJourney': RemoveFromJourneyAutomationAction;
|
|
2837
2872
|
removeFromAllJourneys: RemoveFromAllJourneysAutomationAction;
|
|
@@ -2854,11 +2889,14 @@ export type AutomationActionForType = {
|
|
|
2854
2889
|
switchToRelatedContact: SwitchToRelatedContactAutomationAction;
|
|
2855
2890
|
'elationSync': ElationSyncAutomationAction;
|
|
2856
2891
|
canvasSync: CanvasSyncAutomationAction;
|
|
2892
|
+
canvasCreateNote: CanvasCreateNoteAutomationAction;
|
|
2857
2893
|
pushFormsToPortal: PushFormsAutomationAction;
|
|
2858
2894
|
developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
|
|
2859
2895
|
cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
|
|
2860
2896
|
customerIOIdentify: CustomerIOIdentifyAction;
|
|
2861
2897
|
customerIOTrack: CustomerIOTrackAction;
|
|
2898
|
+
cancelCurrentEvent: CancelCurrentEventAction;
|
|
2899
|
+
confirmCurrentEvent: ConfirmCurrentEventAction;
|
|
2862
2900
|
};
|
|
2863
2901
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2864
2902
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3596,6 +3634,7 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
|
|
|
3596
3634
|
orderedLabels?: string[];
|
|
3597
3635
|
visibleForRoles?: string[];
|
|
3598
3636
|
visibleForUserIds?: string[];
|
|
3637
|
+
index?: number;
|
|
3599
3638
|
}
|
|
3600
3639
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
3601
3640
|
}
|
|
@@ -3804,6 +3843,7 @@ export type AutomationTriggerEvents = {
|
|
|
3804
3843
|
}, {}>;
|
|
3805
3844
|
'Appointment Cancelled': AutomationTriggerEventBuilder<"Appointment Cancelled", {
|
|
3806
3845
|
titles?: string[];
|
|
3846
|
+
templateIds?: string[];
|
|
3807
3847
|
by?: '' | 'enduser' | 'user';
|
|
3808
3848
|
}, {}>;
|
|
3809
3849
|
'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
|
|
@@ -3840,6 +3880,7 @@ export type AutomationTriggerEvents = {
|
|
|
3840
3880
|
'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
|
|
3841
3881
|
source: string;
|
|
3842
3882
|
status: string;
|
|
3883
|
+
fills?: string[];
|
|
3843
3884
|
}, {}>;
|
|
3844
3885
|
'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
|
|
3845
3886
|
phoneNumbers?: string[];
|