@tellescope/types-models 1.188.0 → 1.189.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 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +21 -0
- 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 +17 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ export type OrganizationSettings = {
|
|
|
165
165
|
disableAutoreplyForCustomEntities?: boolean;
|
|
166
166
|
tags?: string[];
|
|
167
167
|
showFreeNote?: boolean;
|
|
168
|
+
autoSaveFreeNote?: boolean;
|
|
168
169
|
canDeleteFreeNote?: boolean;
|
|
169
170
|
recordCalls?: boolean;
|
|
170
171
|
recordCallAudioPlayback?: string;
|
|
@@ -186,6 +187,7 @@ export type OrganizationSettings = {
|
|
|
186
187
|
alwaysShowInsurance?: boolean;
|
|
187
188
|
defaultToOutboundConferenceCall?: boolean;
|
|
188
189
|
sharedInboxReadStatus?: boolean;
|
|
190
|
+
dontMarkReadForAssigned?: boolean;
|
|
189
191
|
matchEmailAndNames?: boolean;
|
|
190
192
|
hideNotesFromComposeForm?: boolean;
|
|
191
193
|
showSalesforceId?: boolean;
|
|
@@ -1370,6 +1372,8 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1370
1372
|
smsId?: string;
|
|
1371
1373
|
emailId?: string;
|
|
1372
1374
|
calendarEventId?: string;
|
|
1375
|
+
calendarEventTitle?: string;
|
|
1376
|
+
calendarEventStartTimeInMS?: number;
|
|
1373
1377
|
observationId?: string;
|
|
1374
1378
|
tags?: string[];
|
|
1375
1379
|
restrictByState?: string;
|
|
@@ -2241,6 +2245,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2241
2245
|
id: string;
|
|
2242
2246
|
at: Date;
|
|
2243
2247
|
}[];
|
|
2248
|
+
confirmedAt?: Date | '';
|
|
2244
2249
|
}
|
|
2245
2250
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2246
2251
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2797,6 +2802,13 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
|
|
|
2797
2802
|
environment?: string;
|
|
2798
2803
|
customEmailField?: string;
|
|
2799
2804
|
}>;
|
|
2805
|
+
export type AddAccessTagsAutomationAction = AutomationActionBuilder<'addAccessTags', {
|
|
2806
|
+
tags: string[];
|
|
2807
|
+
replaceExisting?: boolean;
|
|
2808
|
+
}>;
|
|
2809
|
+
export type RemoveAccessTagsAutomationAction = AutomationActionBuilder<'removeAccessTags', {
|
|
2810
|
+
tags: string[];
|
|
2811
|
+
}>;
|
|
2800
2812
|
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
2801
2813
|
export type EnduserFieldSetter = {
|
|
2802
2814
|
name: string;
|
|
@@ -2812,6 +2824,8 @@ export type CustomerIOTrackAction = AutomationActionBuilder<'customerIOTrack', {
|
|
|
2812
2824
|
event: string;
|
|
2813
2825
|
trackProperties?: string[];
|
|
2814
2826
|
}>;
|
|
2827
|
+
export type CancelCurrentEventAction = AutomationActionBuilder<'cancelCurrentEvent', {}>;
|
|
2828
|
+
export type ConfirmCurrentEventAction = AutomationActionBuilder<'confirmCurrentEvent', {}>;
|
|
2815
2829
|
export type AutomationConditionType = 'atJourneyState';
|
|
2816
2830
|
export type AutomationConditionBuilder<T extends AutomationConditionType, V extends object> = {
|
|
2817
2831
|
type: T;
|
|
@@ -2832,6 +2846,8 @@ export type AutomationActionForType = {
|
|
|
2832
2846
|
'notifyTeam': NotifyTeamAutomationAction;
|
|
2833
2847
|
'addEnduserTags': AddEnduserTagsAutomationAction;
|
|
2834
2848
|
'removeEnduserTags': RemoveEnduserTagsAutomationAction;
|
|
2849
|
+
'addAccessTags': AddAccessTagsAutomationAction;
|
|
2850
|
+
'removeAccessTags': RemoveAccessTagsAutomationAction;
|
|
2835
2851
|
'addToJourney': AddToJourneyAutomationAction;
|
|
2836
2852
|
'removeFromJourney': RemoveFromJourneyAutomationAction;
|
|
2837
2853
|
removeFromAllJourneys: RemoveFromAllJourneysAutomationAction;
|
|
@@ -2859,6 +2875,8 @@ export type AutomationActionForType = {
|
|
|
2859
2875
|
cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
|
|
2860
2876
|
customerIOIdentify: CustomerIOIdentifyAction;
|
|
2861
2877
|
customerIOTrack: CustomerIOTrackAction;
|
|
2878
|
+
cancelCurrentEvent: CancelCurrentEventAction;
|
|
2879
|
+
confirmCurrentEvent: ConfirmCurrentEventAction;
|
|
2862
2880
|
};
|
|
2863
2881
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2864
2882
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3596,6 +3614,7 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
|
|
|
3596
3614
|
orderedLabels?: string[];
|
|
3597
3615
|
visibleForRoles?: string[];
|
|
3598
3616
|
visibleForUserIds?: string[];
|
|
3617
|
+
index?: number;
|
|
3599
3618
|
}
|
|
3600
3619
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
3601
3620
|
}
|
|
@@ -3804,6 +3823,7 @@ export type AutomationTriggerEvents = {
|
|
|
3804
3823
|
}, {}>;
|
|
3805
3824
|
'Appointment Cancelled': AutomationTriggerEventBuilder<"Appointment Cancelled", {
|
|
3806
3825
|
titles?: string[];
|
|
3826
|
+
templateIds?: string[];
|
|
3807
3827
|
by?: '' | 'enduser' | 'user';
|
|
3808
3828
|
}, {}>;
|
|
3809
3829
|
'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
|
|
@@ -3840,6 +3860,7 @@ export type AutomationTriggerEvents = {
|
|
|
3840
3860
|
'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
|
|
3841
3861
|
source: string;
|
|
3842
3862
|
status: string;
|
|
3863
|
+
fills?: string[];
|
|
3843
3864
|
}, {}>;
|
|
3844
3865
|
'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
|
|
3845
3866
|
phoneNumbers?: string[];
|