@tellescope/types-models 1.82.0 → 1.83.1
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 +26 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +26 -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 +2 -2
- package/src/index.ts +24 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ export type OrganizationSettings = {
|
|
|
146
146
|
autoReplyEnabled?: boolean;
|
|
147
147
|
tags?: string[];
|
|
148
148
|
showFreeNote?: boolean;
|
|
149
|
+
canDeleteFreeNote?: boolean;
|
|
149
150
|
recordCalls?: boolean;
|
|
150
151
|
transcribeCalls?: boolean;
|
|
151
152
|
transcribeCallInboundPlayback?: string;
|
|
@@ -274,6 +275,8 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
274
275
|
billingOrganizationTaxId?: string;
|
|
275
276
|
billingOrganizationAddress?: Address;
|
|
276
277
|
videoCallBackgroundImage?: string;
|
|
278
|
+
sendToVoicemailOOO?: boolean;
|
|
279
|
+
outOfOfficeVoicemail?: PhonePlayback;
|
|
277
280
|
}
|
|
278
281
|
export type OrganizationTheme = {
|
|
279
282
|
name: string;
|
|
@@ -362,6 +365,7 @@ export type WeeklyAvailability = {
|
|
|
362
365
|
dayOfWeekStartingSundayIndexedByZero: number;
|
|
363
366
|
startTimeInMinutes: number;
|
|
364
367
|
endTimeInMinutes: number;
|
|
368
|
+
intervalInMinutes?: number;
|
|
365
369
|
active?: DateRange;
|
|
366
370
|
locationId?: string;
|
|
367
371
|
validTemplateIds?: string[];
|
|
@@ -1071,6 +1075,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1071
1075
|
snoozes?: TicketSnooze[];
|
|
1072
1076
|
requireConfirmation?: boolean;
|
|
1073
1077
|
reminders?: TicketReminder[];
|
|
1078
|
+
preserveContext?: boolean;
|
|
1074
1079
|
}
|
|
1075
1080
|
export type AttendeeInfo = {
|
|
1076
1081
|
ExternalUserId: string;
|
|
@@ -1170,6 +1175,10 @@ export type CanvasCoding = {
|
|
|
1170
1175
|
code: string;
|
|
1171
1176
|
display: string;
|
|
1172
1177
|
};
|
|
1178
|
+
export type FormFieldFeedback = {
|
|
1179
|
+
ifEquals: string;
|
|
1180
|
+
display: string;
|
|
1181
|
+
};
|
|
1173
1182
|
export interface CanvasConsentCategory extends CanvasCoding {
|
|
1174
1183
|
}
|
|
1175
1184
|
export type FormFieldOptions = FormFieldValidation & {
|
|
@@ -1235,6 +1244,7 @@ export interface FormField extends FormField_readonly, FormField_required, FormF
|
|
|
1235
1244
|
sharedWithEnduser?: boolean;
|
|
1236
1245
|
prepopulateFromFields?: boolean;
|
|
1237
1246
|
calloutConditions?: FormFieldCalloutCondition[];
|
|
1247
|
+
feedback?: FormFieldFeedback[];
|
|
1238
1248
|
highlightOnTimeline?: boolean;
|
|
1239
1249
|
prepopulateFromDatabase?: {
|
|
1240
1250
|
databaseId?: string;
|
|
@@ -1332,6 +1342,9 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1332
1342
|
calendars?: string[];
|
|
1333
1343
|
environment?: string;
|
|
1334
1344
|
webhooksSecret?: string;
|
|
1345
|
+
calendarOnly?: boolean;
|
|
1346
|
+
shouldCreateNotifications?: boolean;
|
|
1347
|
+
disableEnduserAutoSync?: boolean;
|
|
1335
1348
|
}
|
|
1336
1349
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1337
1350
|
type: K;
|
|
@@ -1367,6 +1380,7 @@ export type DatabaseRecordFields = {
|
|
|
1367
1380
|
label: string;
|
|
1368
1381
|
required?: boolean;
|
|
1369
1382
|
hideFromTable?: boolean;
|
|
1383
|
+
wrap?: string;
|
|
1370
1384
|
options?: DatabaseRecordFieldsInfo[K]['options'];
|
|
1371
1385
|
};
|
|
1372
1386
|
};
|
|
@@ -1954,6 +1968,7 @@ export type AfterActionEventInfo = {
|
|
|
1954
1968
|
delayInMS: number;
|
|
1955
1969
|
delay: number;
|
|
1956
1970
|
unit: UnitOfTime;
|
|
1971
|
+
officeHoursOnly?: boolean;
|
|
1957
1972
|
cancelConditions?: CancelCondition[];
|
|
1958
1973
|
};
|
|
1959
1974
|
export type TicketCompletedEventInfo = {
|
|
@@ -2047,6 +2062,7 @@ export type CreateTicketActionInfo = {
|
|
|
2047
2062
|
requireConfirmation?: boolean;
|
|
2048
2063
|
reminders?: TicketReminder[];
|
|
2049
2064
|
priority?: number;
|
|
2065
|
+
preserveContext?: boolean;
|
|
2050
2066
|
};
|
|
2051
2067
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage>;
|
|
2052
2068
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
@@ -2208,6 +2224,7 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2208
2224
|
notes?: string;
|
|
2209
2225
|
externalId?: string;
|
|
2210
2226
|
deviceId?: string;
|
|
2227
|
+
references?: RelatedRecord[];
|
|
2211
2228
|
}
|
|
2212
2229
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2213
2230
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2413,6 +2430,7 @@ export interface AutomatedAction_required {
|
|
|
2413
2430
|
cancelReason?: number;
|
|
2414
2431
|
cancelConditions?: CancelCondition[];
|
|
2415
2432
|
processAfter: number;
|
|
2433
|
+
didDelayForOutOfOffice?: boolean;
|
|
2416
2434
|
errorMessage?: string;
|
|
2417
2435
|
enduserConditions?: Record<any, any>;
|
|
2418
2436
|
}
|
|
@@ -2701,7 +2719,7 @@ export type AnalyticsQueryRangeKeyForType = {
|
|
|
2701
2719
|
"Medications": DefaultRangeKey;
|
|
2702
2720
|
"Files": DefaultRangeKey;
|
|
2703
2721
|
};
|
|
2704
|
-
export type AnalyticsQueryRangeInterval = 'Daily' | 'Weekly' | 'Monthly';
|
|
2722
|
+
export type AnalyticsQueryRangeInterval = 'Hourly' | 'Daily' | 'Weekly' | 'Monthly';
|
|
2705
2723
|
export type AnalyticsQueryRange<R> = {
|
|
2706
2724
|
interval: AnalyticsQueryRangeInterval;
|
|
2707
2725
|
key: R;
|
|
@@ -2789,6 +2807,7 @@ export interface EnduserView extends EnduserView_readonly, EnduserView_required,
|
|
|
2789
2807
|
style?: {
|
|
2790
2808
|
[index: string]: {
|
|
2791
2809
|
width?: number;
|
|
2810
|
+
wrap?: string;
|
|
2792
2811
|
};
|
|
2793
2812
|
};
|
|
2794
2813
|
}
|
|
@@ -2899,6 +2918,9 @@ export type AutomationTriggerEvents = {
|
|
|
2899
2918
|
configurationIds: string[];
|
|
2900
2919
|
classifications: string[];
|
|
2901
2920
|
}, {}>;
|
|
2921
|
+
'SMS Reply': AutomationTriggerEventBuilder<"SMS Reply", {
|
|
2922
|
+
templateIds: string[];
|
|
2923
|
+
}, {}>;
|
|
2902
2924
|
};
|
|
2903
2925
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
2904
2926
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -3068,6 +3090,7 @@ export type TableViewColumn = {
|
|
|
3068
3090
|
field: string;
|
|
3069
3091
|
type?: string;
|
|
3070
3092
|
width?: number | '';
|
|
3093
|
+
wrap?: string;
|
|
3071
3094
|
};
|
|
3072
3095
|
export interface TableView_readonly extends ClientRecord {
|
|
3073
3096
|
}
|
|
@@ -3191,6 +3214,7 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3191
3214
|
title: string;
|
|
3192
3215
|
tracking?: string;
|
|
3193
3216
|
}[];
|
|
3217
|
+
tracking?: string;
|
|
3194
3218
|
}
|
|
3195
3219
|
export declare const DIAGNOSIS_TYPE_MAPPING: {
|
|
3196
3220
|
ABF: string;
|
|
@@ -3630,6 +3654,7 @@ export type JourneyContext = {
|
|
|
3630
3654
|
calendarEventId?: string;
|
|
3631
3655
|
formResponseId?: string;
|
|
3632
3656
|
purchaseId?: string;
|
|
3657
|
+
templateId?: string;
|
|
3633
3658
|
};
|
|
3634
3659
|
export declare const TIMEZONE_MAP: {
|
|
3635
3660
|
readonly "Africa/Abidjan": "+00:00";
|