@tellescope/types-models 1.85.1 → 1.85.3
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 +23 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +23 -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 +21 -2
package/lib/esm/index.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export type OrganizationSettings = {
|
|
|
151
151
|
recordCalls?: boolean;
|
|
152
152
|
transcribeCalls?: boolean;
|
|
153
153
|
transcribeCallInboundPlayback?: string;
|
|
154
|
+
showDeleteCallRecordingOnTimeline?: boolean;
|
|
154
155
|
defaultPhoneNumber?: string;
|
|
155
156
|
sendSMSOnZoomStart?: boolean;
|
|
156
157
|
enableGroupMMS?: boolean;
|
|
@@ -290,6 +291,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
290
291
|
number: string;
|
|
291
292
|
label: string;
|
|
292
293
|
}[];
|
|
294
|
+
mfaxAccountId?: string;
|
|
293
295
|
}
|
|
294
296
|
export type OrganizationTheme = {
|
|
295
297
|
name: string;
|
|
@@ -1229,6 +1231,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1229
1231
|
userTags?: string[];
|
|
1230
1232
|
addressFields?: string[];
|
|
1231
1233
|
autoAdvance?: boolean;
|
|
1234
|
+
prefillSignature?: boolean;
|
|
1232
1235
|
};
|
|
1233
1236
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1234
1237
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1365,6 +1368,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1365
1368
|
calendarOnly?: boolean;
|
|
1366
1369
|
shouldCreateNotifications?: boolean;
|
|
1367
1370
|
disableEnduserAutoSync?: boolean;
|
|
1371
|
+
disableTicketAutoSync?: boolean;
|
|
1368
1372
|
redactExternalEvents?: boolean;
|
|
1369
1373
|
}
|
|
1370
1374
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
@@ -1565,7 +1569,7 @@ export interface FormResponse_required {
|
|
|
1565
1569
|
lname?: string;
|
|
1566
1570
|
state?: string;
|
|
1567
1571
|
dateOfBirth?: string;
|
|
1568
|
-
gender?:
|
|
1572
|
+
gender?: TellescopeGender;
|
|
1569
1573
|
customTypeId?: string;
|
|
1570
1574
|
}
|
|
1571
1575
|
export interface FormResponse_updatesDisabled {
|
|
@@ -2068,6 +2072,10 @@ export type CreateTicketAssignmentStrategies = {
|
|
|
2068
2072
|
type: 'queue';
|
|
2069
2073
|
info: AssignToQueueInfo;
|
|
2070
2074
|
};
|
|
2075
|
+
'Recently-Booked Appointment Host': {
|
|
2076
|
+
type: 'Recently-Booked Appointment Host';
|
|
2077
|
+
info: {};
|
|
2078
|
+
};
|
|
2071
2079
|
'default': {
|
|
2072
2080
|
type: 'default';
|
|
2073
2081
|
info: {};
|
|
@@ -2111,6 +2119,9 @@ export type ShareContentAutomationAction = AutomationActionBuilder<'shareContent
|
|
|
2111
2119
|
export type AddEnduserTagsAutomationAction = AutomationActionBuilder<'addEnduserTags', {
|
|
2112
2120
|
tags: string[];
|
|
2113
2121
|
}>;
|
|
2122
|
+
export type RemoveEnduserTagsAutomationAction = AutomationActionBuilder<'removeEnduserTags', {
|
|
2123
|
+
tags: string[];
|
|
2124
|
+
}>;
|
|
2114
2125
|
export type AddToJourneyAutomationAction = AutomationActionBuilder<'addToJourney', {
|
|
2115
2126
|
journeyId: string;
|
|
2116
2127
|
}>;
|
|
@@ -2145,6 +2156,7 @@ export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smar
|
|
|
2145
2156
|
lines: SmartMeterOrderLineItem[];
|
|
2146
2157
|
shipping?: string;
|
|
2147
2158
|
}>;
|
|
2159
|
+
export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
|
|
2148
2160
|
export type IterableFieldsMapping = {
|
|
2149
2161
|
iterable: string;
|
|
2150
2162
|
tellescope: string;
|
|
@@ -2181,6 +2193,7 @@ export type AutomationActionForType = {
|
|
|
2181
2193
|
'shareContent': ShareContentAutomationAction;
|
|
2182
2194
|
'notifyTeam': NotifyTeamAutomationAction;
|
|
2183
2195
|
'addEnduserTags': AddEnduserTagsAutomationAction;
|
|
2196
|
+
'removeEnduserTags': RemoveEnduserTagsAutomationAction;
|
|
2184
2197
|
'addToJourney': AddToJourneyAutomationAction;
|
|
2185
2198
|
'removeFromJourney': RemoveFromJourneyAutomationAction;
|
|
2186
2199
|
'iterableSendEmail': IterableSendEmailAutomationAction;
|
|
@@ -2191,6 +2204,7 @@ export type AutomationActionForType = {
|
|
|
2191
2204
|
'zusSync': ZusSyncAutomationAction;
|
|
2192
2205
|
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2193
2206
|
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2207
|
+
'healthieSync': HealthieSyncAutomationAction;
|
|
2194
2208
|
};
|
|
2195
2209
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2196
2210
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -2257,10 +2271,12 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2257
2271
|
references?: RelatedRecord[];
|
|
2258
2272
|
reviewedAt?: Date;
|
|
2259
2273
|
reviewedBy?: string;
|
|
2274
|
+
statusChangedBy?: string;
|
|
2260
2275
|
classifications?: {
|
|
2261
2276
|
configurationId: string;
|
|
2262
2277
|
classification: string;
|
|
2263
2278
|
}[];
|
|
2279
|
+
beforeMeal?: boolean;
|
|
2264
2280
|
}
|
|
2265
2281
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2266
2282
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2958,6 +2974,11 @@ export type AutomationTriggerEvents = {
|
|
|
2958
2974
|
}, {}>;
|
|
2959
2975
|
'SMS Reply': AutomationTriggerEventBuilder<"SMS Reply", {
|
|
2960
2976
|
templateIds: string[];
|
|
2977
|
+
replyKeywords?: string[];
|
|
2978
|
+
}, {}>;
|
|
2979
|
+
'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
|
|
2980
|
+
source: string;
|
|
2981
|
+
status: string;
|
|
2961
2982
|
}, {}>;
|
|
2962
2983
|
};
|
|
2963
2984
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
@@ -3705,6 +3726,7 @@ export type JourneyContext = {
|
|
|
3705
3726
|
formResponseId?: string;
|
|
3706
3727
|
purchaseId?: string;
|
|
3707
3728
|
templateId?: string;
|
|
3729
|
+
orderId?: string;
|
|
3708
3730
|
};
|
|
3709
3731
|
export declare const TIMEZONE_MAP: {
|
|
3710
3732
|
readonly "Africa/Abidjan": "+00:00";
|