@tellescope/types-models 1.190.0 → 1.192.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 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +21 -2
- 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 +19 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ export interface Organization_readonly extends ClientRecord {
|
|
|
292
292
|
fromEmails?: string[];
|
|
293
293
|
twilioSID?: string;
|
|
294
294
|
twilioCustomerId?: string;
|
|
295
|
+
customPortalScriptTags?: string[];
|
|
295
296
|
}
|
|
296
297
|
export interface Organization_required {
|
|
297
298
|
}
|
|
@@ -420,6 +421,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
420
421
|
customPortalLoginEmailSubject?: string;
|
|
421
422
|
customPortalLoginEmailHTML?: string;
|
|
422
423
|
customerIOFields?: string[];
|
|
424
|
+
createEnduserForms?: string[];
|
|
423
425
|
}
|
|
424
426
|
export type OrganizationTheme = {
|
|
425
427
|
name: string;
|
|
@@ -431,7 +433,11 @@ export type OrganizationTheme = {
|
|
|
431
433
|
logoURL?: string;
|
|
432
434
|
customPortalURL?: string;
|
|
433
435
|
faviconURL?: string;
|
|
434
|
-
portalSettings?: PortalSettings
|
|
436
|
+
portalSettings?: PortalSettings & {
|
|
437
|
+
html: {
|
|
438
|
+
scripts?: string[];
|
|
439
|
+
};
|
|
440
|
+
};
|
|
435
441
|
customTermsOfService?: string;
|
|
436
442
|
customPrivacyPolicy?: string;
|
|
437
443
|
requireCustomTermsOnMagicLink?: boolean;
|
|
@@ -1649,6 +1655,7 @@ export interface Form_required {
|
|
|
1649
1655
|
export interface Form_updatesDisabled {
|
|
1650
1656
|
}
|
|
1651
1657
|
export interface Form extends Form_readonly, Form_required, Form_updatesDisabled {
|
|
1658
|
+
ipAddressCustomField: string;
|
|
1652
1659
|
archivedAt?: Date | '';
|
|
1653
1660
|
displayTitle?: string;
|
|
1654
1661
|
description?: string;
|
|
@@ -1772,6 +1779,8 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1772
1779
|
dontPullCalendarEvent?: boolean;
|
|
1773
1780
|
pushAddedTags?: boolean;
|
|
1774
1781
|
pushRemovedTags?: boolean;
|
|
1782
|
+
overwriteAddress?: boolean;
|
|
1783
|
+
requirePhoneToPushEnduser?: boolean;
|
|
1775
1784
|
}
|
|
1776
1785
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1777
1786
|
type: K;
|
|
@@ -2166,6 +2175,7 @@ export interface CalendarEvent_required {
|
|
|
2166
2175
|
export interface CalendarEvent_updatesDisabled {
|
|
2167
2176
|
}
|
|
2168
2177
|
export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_required, CalendarEvent_updatesDisabled {
|
|
2178
|
+
athenaDepartmentId?: string;
|
|
2169
2179
|
actualDuration?: number;
|
|
2170
2180
|
dontSyncToCanvas?: boolean;
|
|
2171
2181
|
reason?: string;
|
|
@@ -2379,6 +2389,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2379
2389
|
allowGroupReschedule?: boolean;
|
|
2380
2390
|
preventRescheduleMinutesInAdvance?: number;
|
|
2381
2391
|
preventCancelMinutesInAdvance?: number;
|
|
2392
|
+
athenaDepartmentId?: string;
|
|
2382
2393
|
}
|
|
2383
2394
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2384
2395
|
}
|
|
@@ -3795,6 +3806,9 @@ export type AutomationTriggerActions = {
|
|
|
3795
3806
|
waitlistId: string;
|
|
3796
3807
|
count: number;
|
|
3797
3808
|
}>;
|
|
3809
|
+
"Reply to Chat": AutomationTriggerActionBuilder<'Reply to Chat', {
|
|
3810
|
+
message: string;
|
|
3811
|
+
}>;
|
|
3798
3812
|
};
|
|
3799
3813
|
export type AutomationTriggerActionType = keyof AutomationTriggerActions;
|
|
3800
3814
|
export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
|
|
@@ -3832,10 +3846,13 @@ export type AutomationTriggerEvents = {
|
|
|
3832
3846
|
'Tag Added': AutomationTriggerEventBuilder<"Tag Added", {
|
|
3833
3847
|
tag: string;
|
|
3834
3848
|
}, {}>;
|
|
3835
|
-
'Contact Created': AutomationTriggerEventBuilder<"Contact Created", {
|
|
3849
|
+
'Contact Created': AutomationTriggerEventBuilder<"Contact Created", {
|
|
3850
|
+
entityTypes?: string[];
|
|
3851
|
+
}, {}>;
|
|
3836
3852
|
'Appointment Created': AutomationTriggerEventBuilder<"Appointment Created", {
|
|
3837
3853
|
titles?: string[];
|
|
3838
3854
|
templateIds?: string[];
|
|
3855
|
+
excludeTemplateIds?: string[];
|
|
3839
3856
|
}, {}>;
|
|
3840
3857
|
'Appointment Completed': AutomationTriggerEventBuilder<"Appointment Completed", {
|
|
3841
3858
|
titles?: string[];
|
|
@@ -3844,6 +3861,7 @@ export type AutomationTriggerEvents = {
|
|
|
3844
3861
|
'Appointment Cancelled': AutomationTriggerEventBuilder<"Appointment Cancelled", {
|
|
3845
3862
|
titles?: string[];
|
|
3846
3863
|
templateIds?: string[];
|
|
3864
|
+
excludeTemplateIds?: string[];
|
|
3847
3865
|
by?: '' | 'enduser' | 'user';
|
|
3848
3866
|
}, {}>;
|
|
3849
3867
|
'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
|
|
@@ -5018,6 +5036,7 @@ export type JourneyContext = {
|
|
|
5018
5036
|
databaseRecordCreator?: string;
|
|
5019
5037
|
eligibilityResultId?: string;
|
|
5020
5038
|
fileId?: string;
|
|
5039
|
+
chatRoomId?: string;
|
|
5021
5040
|
};
|
|
5022
5041
|
export declare const TIMEZONE_MAP: {
|
|
5023
5042
|
readonly "Africa/Abidjan": "+00:00";
|