@tellescope/types-models 1.187.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 +23 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +23 -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 +19 -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;
|
|
@@ -1559,6 +1563,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1559
1563
|
autoUploadFiles?: boolean;
|
|
1560
1564
|
chargebeeEnvironment?: string;
|
|
1561
1565
|
chargebeePlanId?: string;
|
|
1566
|
+
chargebeeItemId?: string;
|
|
1562
1567
|
relatedContactTypes?: string[];
|
|
1563
1568
|
};
|
|
1564
1569
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
@@ -2240,6 +2245,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2240
2245
|
id: string;
|
|
2241
2246
|
at: Date;
|
|
2242
2247
|
}[];
|
|
2248
|
+
confirmedAt?: Date | '';
|
|
2243
2249
|
}
|
|
2244
2250
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2245
2251
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2796,6 +2802,13 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
|
|
|
2796
2802
|
environment?: string;
|
|
2797
2803
|
customEmailField?: string;
|
|
2798
2804
|
}>;
|
|
2805
|
+
export type AddAccessTagsAutomationAction = AutomationActionBuilder<'addAccessTags', {
|
|
2806
|
+
tags: string[];
|
|
2807
|
+
replaceExisting?: boolean;
|
|
2808
|
+
}>;
|
|
2809
|
+
export type RemoveAccessTagsAutomationAction = AutomationActionBuilder<'removeAccessTags', {
|
|
2810
|
+
tags: string[];
|
|
2811
|
+
}>;
|
|
2799
2812
|
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
2800
2813
|
export type EnduserFieldSetter = {
|
|
2801
2814
|
name: string;
|
|
@@ -2811,6 +2824,8 @@ export type CustomerIOTrackAction = AutomationActionBuilder<'customerIOTrack', {
|
|
|
2811
2824
|
event: string;
|
|
2812
2825
|
trackProperties?: string[];
|
|
2813
2826
|
}>;
|
|
2827
|
+
export type CancelCurrentEventAction = AutomationActionBuilder<'cancelCurrentEvent', {}>;
|
|
2828
|
+
export type ConfirmCurrentEventAction = AutomationActionBuilder<'confirmCurrentEvent', {}>;
|
|
2814
2829
|
export type AutomationConditionType = 'atJourneyState';
|
|
2815
2830
|
export type AutomationConditionBuilder<T extends AutomationConditionType, V extends object> = {
|
|
2816
2831
|
type: T;
|
|
@@ -2831,6 +2846,8 @@ export type AutomationActionForType = {
|
|
|
2831
2846
|
'notifyTeam': NotifyTeamAutomationAction;
|
|
2832
2847
|
'addEnduserTags': AddEnduserTagsAutomationAction;
|
|
2833
2848
|
'removeEnduserTags': RemoveEnduserTagsAutomationAction;
|
|
2849
|
+
'addAccessTags': AddAccessTagsAutomationAction;
|
|
2850
|
+
'removeAccessTags': RemoveAccessTagsAutomationAction;
|
|
2834
2851
|
'addToJourney': AddToJourneyAutomationAction;
|
|
2835
2852
|
'removeFromJourney': RemoveFromJourneyAutomationAction;
|
|
2836
2853
|
removeFromAllJourneys: RemoveFromAllJourneysAutomationAction;
|
|
@@ -2858,6 +2875,8 @@ export type AutomationActionForType = {
|
|
|
2858
2875
|
cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
|
|
2859
2876
|
customerIOIdentify: CustomerIOIdentifyAction;
|
|
2860
2877
|
customerIOTrack: CustomerIOTrackAction;
|
|
2878
|
+
cancelCurrentEvent: CancelCurrentEventAction;
|
|
2879
|
+
confirmCurrentEvent: ConfirmCurrentEventAction;
|
|
2861
2880
|
};
|
|
2862
2881
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2863
2882
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3433,6 +3452,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3433
3452
|
closeReasons?: string[];
|
|
3434
3453
|
userTags?: ListOfStringsWithQualifier;
|
|
3435
3454
|
enduserFields?: AnalyticsEnduserFilterField[];
|
|
3455
|
+
closedAtRange?: DateRange;
|
|
3436
3456
|
};
|
|
3437
3457
|
"Phone Calls": {};
|
|
3438
3458
|
"Meetings": {};
|
|
@@ -3594,6 +3614,7 @@ export interface AnalyticsFrame extends AnalyticsFrame_readonly, AnalyticsFrame_
|
|
|
3594
3614
|
orderedLabels?: string[];
|
|
3595
3615
|
visibleForRoles?: string[];
|
|
3596
3616
|
visibleForUserIds?: string[];
|
|
3617
|
+
index?: number;
|
|
3597
3618
|
}
|
|
3598
3619
|
export interface BackgroundError_readonly extends ClientRecord {
|
|
3599
3620
|
}
|
|
@@ -3802,6 +3823,7 @@ export type AutomationTriggerEvents = {
|
|
|
3802
3823
|
}, {}>;
|
|
3803
3824
|
'Appointment Cancelled': AutomationTriggerEventBuilder<"Appointment Cancelled", {
|
|
3804
3825
|
titles?: string[];
|
|
3826
|
+
templateIds?: string[];
|
|
3805
3827
|
by?: '' | 'enduser' | 'user';
|
|
3806
3828
|
}, {}>;
|
|
3807
3829
|
'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
|
|
@@ -3838,6 +3860,7 @@ export type AutomationTriggerEvents = {
|
|
|
3838
3860
|
'Order Status Equals': AutomationTriggerEventBuilder<"Order Status Equals", {
|
|
3839
3861
|
source: string;
|
|
3840
3862
|
status: string;
|
|
3863
|
+
fills?: string[];
|
|
3841
3864
|
}, {}>;
|
|
3842
3865
|
'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
|
|
3843
3866
|
phoneNumbers?: string[];
|