@tellescope/types-models 1.81.0 → 1.83.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 +37 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +37 -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 +32 -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;
|
|
@@ -362,6 +363,7 @@ export type WeeklyAvailability = {
|
|
|
362
363
|
dayOfWeekStartingSundayIndexedByZero: number;
|
|
363
364
|
startTimeInMinutes: number;
|
|
364
365
|
endTimeInMinutes: number;
|
|
366
|
+
intervalInMinutes?: number;
|
|
365
367
|
active?: DateRange;
|
|
366
368
|
locationId?: string;
|
|
367
369
|
validTemplateIds?: string[];
|
|
@@ -576,6 +578,10 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
576
578
|
bookingPageId: string;
|
|
577
579
|
note: string;
|
|
578
580
|
}[];
|
|
581
|
+
devices?: {
|
|
582
|
+
title: string;
|
|
583
|
+
id: string;
|
|
584
|
+
}[];
|
|
579
585
|
}
|
|
580
586
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
581
587
|
}
|
|
@@ -1067,6 +1073,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1067
1073
|
snoozes?: TicketSnooze[];
|
|
1068
1074
|
requireConfirmation?: boolean;
|
|
1069
1075
|
reminders?: TicketReminder[];
|
|
1076
|
+
preserveContext?: boolean;
|
|
1070
1077
|
}
|
|
1071
1078
|
export type AttendeeInfo = {
|
|
1072
1079
|
ExternalUserId: string;
|
|
@@ -1328,6 +1335,8 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1328
1335
|
calendars?: string[];
|
|
1329
1336
|
environment?: string;
|
|
1330
1337
|
webhooksSecret?: string;
|
|
1338
|
+
calendarOnly?: boolean;
|
|
1339
|
+
shouldCreateNotifications?: boolean;
|
|
1331
1340
|
}
|
|
1332
1341
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1333
1342
|
type: K;
|
|
@@ -1363,6 +1372,7 @@ export type DatabaseRecordFields = {
|
|
|
1363
1372
|
label: string;
|
|
1364
1373
|
required?: boolean;
|
|
1365
1374
|
hideFromTable?: boolean;
|
|
1375
|
+
wrap?: string;
|
|
1366
1376
|
options?: DatabaseRecordFieldsInfo[K]['options'];
|
|
1367
1377
|
};
|
|
1368
1378
|
};
|
|
@@ -1950,6 +1960,7 @@ export type AfterActionEventInfo = {
|
|
|
1950
1960
|
delayInMS: number;
|
|
1951
1961
|
delay: number;
|
|
1952
1962
|
unit: UnitOfTime;
|
|
1963
|
+
officeHoursOnly?: boolean;
|
|
1953
1964
|
cancelConditions?: CancelCondition[];
|
|
1954
1965
|
};
|
|
1955
1966
|
export type TicketCompletedEventInfo = {
|
|
@@ -2043,6 +2054,7 @@ export type CreateTicketActionInfo = {
|
|
|
2043
2054
|
requireConfirmation?: boolean;
|
|
2044
2055
|
reminders?: TicketReminder[];
|
|
2045
2056
|
priority?: number;
|
|
2057
|
+
preserveContext?: boolean;
|
|
2046
2058
|
};
|
|
2047
2059
|
export type SendEmailAutomationAction = AutomationActionBuilder<'sendEmail', AutomationForMessage>;
|
|
2048
2060
|
export type NotifyTeamAutomationAction = AutomationActionBuilder<'notifyTeam', {
|
|
@@ -2087,6 +2099,14 @@ export type PagerDutyCreateIncidentAutomationAction = AutomationActionBuilder<'p
|
|
|
2087
2099
|
title: string;
|
|
2088
2100
|
serviceId: string;
|
|
2089
2101
|
}>;
|
|
2102
|
+
export type SmartMeterOrderLineItem = {
|
|
2103
|
+
quantity: number;
|
|
2104
|
+
sku: string;
|
|
2105
|
+
};
|
|
2106
|
+
export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smartMeterPlaceOrder', {
|
|
2107
|
+
lines: SmartMeterOrderLineItem[];
|
|
2108
|
+
shipping?: string;
|
|
2109
|
+
}>;
|
|
2090
2110
|
export type IterableFieldsMapping = {
|
|
2091
2111
|
iterable: string;
|
|
2092
2112
|
tellescope: string;
|
|
@@ -2132,6 +2152,7 @@ export type AutomationActionForType = {
|
|
|
2132
2152
|
'completeCarePlan': CompleteCarePlanAutomationAction;
|
|
2133
2153
|
'zusSync': ZusSyncAutomationAction;
|
|
2134
2154
|
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2155
|
+
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2135
2156
|
};
|
|
2136
2157
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2137
2158
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -2193,6 +2214,9 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2193
2214
|
type?: string;
|
|
2194
2215
|
source?: string;
|
|
2195
2216
|
notes?: string;
|
|
2217
|
+
externalId?: string;
|
|
2218
|
+
deviceId?: string;
|
|
2219
|
+
references?: RelatedRecord[];
|
|
2196
2220
|
}
|
|
2197
2221
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2198
2222
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2398,6 +2422,7 @@ export interface AutomatedAction_required {
|
|
|
2398
2422
|
cancelReason?: number;
|
|
2399
2423
|
cancelConditions?: CancelCondition[];
|
|
2400
2424
|
processAfter: number;
|
|
2425
|
+
didDelayForOutOfOffice?: boolean;
|
|
2401
2426
|
errorMessage?: string;
|
|
2402
2427
|
enduserConditions?: Record<any, any>;
|
|
2403
2428
|
}
|
|
@@ -2774,6 +2799,7 @@ export interface EnduserView extends EnduserView_readonly, EnduserView_required,
|
|
|
2774
2799
|
style?: {
|
|
2775
2800
|
[index: string]: {
|
|
2776
2801
|
width?: number;
|
|
2802
|
+
wrap?: string;
|
|
2777
2803
|
};
|
|
2778
2804
|
};
|
|
2779
2805
|
}
|
|
@@ -2884,6 +2910,9 @@ export type AutomationTriggerEvents = {
|
|
|
2884
2910
|
configurationIds: string[];
|
|
2885
2911
|
classifications: string[];
|
|
2886
2912
|
}, {}>;
|
|
2913
|
+
'SMS Reply': AutomationTriggerEventBuilder<"SMS Reply", {
|
|
2914
|
+
templateIds: string[];
|
|
2915
|
+
}, {}>;
|
|
2887
2916
|
};
|
|
2888
2917
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
2889
2918
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -2937,7 +2966,7 @@ export type Insurance = {
|
|
|
2937
2966
|
name: string;
|
|
2938
2967
|
};
|
|
2939
2968
|
export type BillingCode = {
|
|
2940
|
-
code: number;
|
|
2969
|
+
code: number | string;
|
|
2941
2970
|
label: string;
|
|
2942
2971
|
};
|
|
2943
2972
|
export type SuperbillLineItem = {
|
|
@@ -3053,6 +3082,7 @@ export type TableViewColumn = {
|
|
|
3053
3082
|
field: string;
|
|
3054
3083
|
type?: string;
|
|
3055
3084
|
width?: number | '';
|
|
3085
|
+
wrap?: string;
|
|
3056
3086
|
};
|
|
3057
3087
|
export interface TableView_readonly extends ClientRecord {
|
|
3058
3088
|
}
|
|
@@ -3172,6 +3202,11 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3172
3202
|
enduserId: string;
|
|
3173
3203
|
userId?: string;
|
|
3174
3204
|
error?: string;
|
|
3205
|
+
items?: {
|
|
3206
|
+
title: string;
|
|
3207
|
+
tracking?: string;
|
|
3208
|
+
}[];
|
|
3209
|
+
tracking?: string;
|
|
3175
3210
|
}
|
|
3176
3211
|
export declare const DIAGNOSIS_TYPE_MAPPING: {
|
|
3177
3212
|
ABF: string;
|
|
@@ -3611,6 +3646,7 @@ export type JourneyContext = {
|
|
|
3611
3646
|
calendarEventId?: string;
|
|
3612
3647
|
formResponseId?: string;
|
|
3613
3648
|
purchaseId?: string;
|
|
3649
|
+
templateId?: string;
|
|
3614
3650
|
};
|
|
3615
3651
|
export declare const TIMEZONE_MAP: {
|
|
3616
3652
|
readonly "Africa/Abidjan": "+00:00";
|