@tellescope/types-models 1.207.0 → 1.209.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 -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 +3 -3
- package/src/index.ts +29 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -133,6 +133,10 @@ export type CustomEnduserFields = {
|
|
|
133
133
|
columns: TableInputChoice[];
|
|
134
134
|
}>;
|
|
135
135
|
'Checkbox': BuildCustomEnduserField<'Checkbox', {}>;
|
|
136
|
+
"Database Select": BuildCustomEnduserField<'Database Select', {
|
|
137
|
+
databaseId: string;
|
|
138
|
+
columns: string[];
|
|
139
|
+
}>;
|
|
136
140
|
};
|
|
137
141
|
export type CustomEnduserFieldType = keyof CustomEnduserFields;
|
|
138
142
|
export type CustomEnduserField = CustomEnduserFields[CustomEnduserFieldType];
|
|
@@ -1738,6 +1742,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1738
1742
|
ga4measurementId?: string;
|
|
1739
1743
|
backgroundColor?: string;
|
|
1740
1744
|
productIds?: string[];
|
|
1745
|
+
redirectToBookedAppointmentOnSubmit?: boolean;
|
|
1741
1746
|
submitRedirectURL?: string;
|
|
1742
1747
|
publicFormIdRedirect?: string;
|
|
1743
1748
|
publicShowLanguage?: boolean;
|
|
@@ -1845,6 +1850,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1845
1850
|
requirePhoneToPushEnduser?: boolean;
|
|
1846
1851
|
syncAsActive?: boolean;
|
|
1847
1852
|
syncEnduserId?: boolean;
|
|
1853
|
+
syncCareTeam?: boolean;
|
|
1848
1854
|
shardId?: string;
|
|
1849
1855
|
}
|
|
1850
1856
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
@@ -2342,6 +2348,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2342
2348
|
confirmedAt?: Date | '';
|
|
2343
2349
|
preventRescheduleMinutesInAdvance?: number;
|
|
2344
2350
|
preventCancelMinutesInAdvance?: number;
|
|
2351
|
+
sendIcsEmail?: boolean;
|
|
2345
2352
|
}
|
|
2346
2353
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2347
2354
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2429,6 +2436,7 @@ export interface CalendarEventTemplate_required {
|
|
|
2429
2436
|
export interface CalendarEventTemplate_updatesDisabled {
|
|
2430
2437
|
}
|
|
2431
2438
|
export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, CalendarEventTemplate_required, CalendarEventTemplate_updatesDisabled {
|
|
2439
|
+
sendIcsEmail?: boolean;
|
|
2432
2440
|
createAndBookAthenaSlot?: boolean;
|
|
2433
2441
|
dontSyncToCanvas?: boolean;
|
|
2434
2442
|
archivedAt?: Date | '';
|
|
@@ -2968,6 +2976,12 @@ export type AutomationCondition = AtJourneyStateAutomationCondition;
|
|
|
2968
2976
|
export type OutboundCallAutomationAction = AutomationActionBuilder<'outboundCall', {
|
|
2969
2977
|
treeId: string;
|
|
2970
2978
|
}>;
|
|
2979
|
+
export type RemoveCareTeamAutomationAction = AutomationActionBuilder<'removeCareTeam', AutomationTriggerActions['Remove Care Team']['info']>;
|
|
2980
|
+
export type AssignCareTeamAutomationAction = AutomationActionBuilder<'assignCareTeam', AutomationTriggerActions['Assign Care Team']['info']>;
|
|
2981
|
+
export type CallUserAutomationAction = AutomationActionBuilder<'callUser', {
|
|
2982
|
+
message: string;
|
|
2983
|
+
routeBy: "Appointment Host";
|
|
2984
|
+
}>;
|
|
2971
2985
|
export type AutomationActionForType = {
|
|
2972
2986
|
'outboundCall': OutboundCallAutomationAction;
|
|
2973
2987
|
"sendEmail": SendEmailAutomationAction;
|
|
@@ -3016,6 +3030,9 @@ export type AutomationActionForType = {
|
|
|
3016
3030
|
customerIOTrack: CustomerIOTrackAction;
|
|
3017
3031
|
cancelCurrentEvent: CancelCurrentEventAction;
|
|
3018
3032
|
confirmCurrentEvent: ConfirmCurrentEventAction;
|
|
3033
|
+
removeCareTeam: RemoveCareTeamAutomationAction;
|
|
3034
|
+
assignCareTeam: AssignCareTeamAutomationAction;
|
|
3035
|
+
callUser: CallUserAutomationAction;
|
|
3019
3036
|
};
|
|
3020
3037
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
3021
3038
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3604,11 +3621,13 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3604
3621
|
"SMS Messages": {
|
|
3605
3622
|
direction?: string;
|
|
3606
3623
|
messages?: string[];
|
|
3624
|
+
"SMS Tags"?: ListOfStringsWithQualifier;
|
|
3607
3625
|
};
|
|
3608
3626
|
Emails: {
|
|
3609
3627
|
direction?: "Inbound" | "Outbound" | "Both";
|
|
3610
3628
|
templateIds?: string[];
|
|
3611
3629
|
subjects?: string[];
|
|
3630
|
+
"Email Tags"?: ListOfStringsWithQualifier;
|
|
3612
3631
|
};
|
|
3613
3632
|
Medications: {};
|
|
3614
3633
|
Files: {
|
|
@@ -3663,11 +3682,14 @@ export type AnalyticsQueryGroupingForType = {
|
|
|
3663
3682
|
Enduser: string;
|
|
3664
3683
|
};
|
|
3665
3684
|
"SMS Messages": {
|
|
3685
|
+
"SMS Tags"?: boolean;
|
|
3666
3686
|
Score?: boolean;
|
|
3667
3687
|
} & EnduserGrouping & {
|
|
3668
3688
|
Enduser: string;
|
|
3669
3689
|
};
|
|
3670
|
-
"Emails": {
|
|
3690
|
+
"Emails": {
|
|
3691
|
+
"Email Tags"?: boolean;
|
|
3692
|
+
} & EnduserGrouping & {
|
|
3671
3693
|
Enduser: string;
|
|
3672
3694
|
};
|
|
3673
3695
|
"Medications": {} & EnduserGrouping & {
|