@tellescope/types-models 1.131.1 → 1.132.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 +9 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +9 -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 +7 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export type StripeCheckoutInfo = {
|
|
|
13
13
|
stripeAccount: string;
|
|
14
14
|
businessName: string;
|
|
15
15
|
};
|
|
16
|
-
export type SortBy = 'updatedAt';
|
|
16
|
+
export type SortBy = 'updatedAt' | 'dueDateInMS';
|
|
17
17
|
export type AccessType = "All" | "Default" | "Assigned" | null;
|
|
18
18
|
export type AccessAction = "create" | "read" | "update" | "delete";
|
|
19
19
|
export type AccessResources = ModelName | 'apiKeys';
|
|
@@ -2520,6 +2520,7 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
|
|
|
2520
2520
|
type: string;
|
|
2521
2521
|
otherTypes?: string[];
|
|
2522
2522
|
}>;
|
|
2523
|
+
export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
|
|
2523
2524
|
export type IterableFieldsMapping = {
|
|
2524
2525
|
iterable: string;
|
|
2525
2526
|
tellescope: string;
|
|
@@ -2575,6 +2576,7 @@ export type AutomationActionForType = {
|
|
|
2575
2576
|
'changeContactType': ChangeContactTypeAutomationAction;
|
|
2576
2577
|
activeCampaignSync: ActiveCampaignSyncAutomationAction;
|
|
2577
2578
|
switchToRelatedContact: SwitchToRelatedContactAutomationAction;
|
|
2579
|
+
'elationSync': ElationSyncAutomationAction;
|
|
2578
2580
|
};
|
|
2579
2581
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2580
2582
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3102,6 +3104,7 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3102
3104
|
wasCancelled?: boolean;
|
|
3103
3105
|
wasRescheduled?: boolean;
|
|
3104
3106
|
wasNoShowed?: boolean;
|
|
3107
|
+
scheduledBy?: string;
|
|
3105
3108
|
};
|
|
3106
3109
|
"Form Responses": {
|
|
3107
3110
|
formIds?: string[];
|
|
@@ -3137,6 +3140,7 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3137
3140
|
"Endusers": EnduserGrouping;
|
|
3138
3141
|
"Calendar Events": {
|
|
3139
3142
|
Type: boolean;
|
|
3143
|
+
"Scheduled By"?: boolean;
|
|
3140
3144
|
} & EnduserGrouping & {
|
|
3141
3145
|
Enduser: string;
|
|
3142
3146
|
};
|
|
@@ -3356,6 +3360,9 @@ export type AutomationTriggerActions = {
|
|
|
3356
3360
|
"Add Access Tags": AutomationTriggerActionBuilder<'Add Access Tags', {
|
|
3357
3361
|
tags: string[];
|
|
3358
3362
|
}>;
|
|
3363
|
+
"Set Fields": AutomationTriggerActionBuilder<'Set Fields', {
|
|
3364
|
+
fields: EnduserFieldSetter[];
|
|
3365
|
+
}>;
|
|
3359
3366
|
"Move To Step": AutomationTriggerActionBuilder<'Move To Step', {}>;
|
|
3360
3367
|
"Assign Care Team": AutomationTriggerActionBuilder<'Assign Care Team', {
|
|
3361
3368
|
tags: ListOfStringsWithQualifier;
|
|
@@ -3385,6 +3392,7 @@ export type AutomationTriggerEvents = {
|
|
|
3385
3392
|
intervalInMS: number;
|
|
3386
3393
|
}, {}>;
|
|
3387
3394
|
'Purchase Made': AutomationTriggerEventBuilder<"Purchase Made", {}, {}>;
|
|
3395
|
+
'Refund Issued': AutomationTriggerEventBuilder<"Refund Issued", {}, {}>;
|
|
3388
3396
|
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
3389
3397
|
titles?: string[];
|
|
3390
3398
|
templateIds?: string[];
|