@tellescope/types-models 1.255.19 → 1.256.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 +19 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +19 -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 +22 -0
package/lib/cjs/index.d.ts
CHANGED
|
@@ -586,6 +586,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
586
586
|
customerIOFields?: string[];
|
|
587
587
|
customerIOIdField?: string;
|
|
588
588
|
createEnduserForms?: string[];
|
|
589
|
+
defaultSummaryJourneyId?: string;
|
|
589
590
|
creditCount?: number;
|
|
590
591
|
creditTrialStartedAt?: Date;
|
|
591
592
|
hasIntegrations?: string[];
|
|
@@ -5143,6 +5144,22 @@ export type PhonePlaybackInfo = {
|
|
|
5143
5144
|
};
|
|
5144
5145
|
export type PhonePlaybackType = keyof PhonePlaybackInfo;
|
|
5145
5146
|
export type PhonePlayback = PhonePlaybackInfo[PhonePlaybackType];
|
|
5147
|
+
export type PhoneTreeAgentToolBuilder<T extends string, V> = {
|
|
5148
|
+
type: T;
|
|
5149
|
+
info: V;
|
|
5150
|
+
};
|
|
5151
|
+
export type PhoneTreeAgentTools = {
|
|
5152
|
+
'Submit Form': PhoneTreeAgentToolBuilder<'Submit Form', {
|
|
5153
|
+
formId: string;
|
|
5154
|
+
useWhen?: string;
|
|
5155
|
+
}>;
|
|
5156
|
+
'Book Appointment': PhoneTreeAgentToolBuilder<'Book Appointment', {
|
|
5157
|
+
appointmentBookingPageId: string;
|
|
5158
|
+
useWhen?: string;
|
|
5159
|
+
}>;
|
|
5160
|
+
};
|
|
5161
|
+
export type PhoneTreeAgentToolType = keyof PhoneTreeAgentTools;
|
|
5162
|
+
export type PhoneTreeAgentTool = PhoneTreeAgentTools[PhoneTreeAgentToolType];
|
|
5146
5163
|
export type PhoneTreeActionBuilder<T, V> = {
|
|
5147
5164
|
type: T;
|
|
5148
5165
|
info: V;
|
|
@@ -5234,6 +5251,7 @@ export type PhoneTreeActions = {
|
|
|
5234
5251
|
value: string;
|
|
5235
5252
|
description: string;
|
|
5236
5253
|
}[];
|
|
5254
|
+
tools?: PhoneTreeAgentTool[];
|
|
5237
5255
|
}>;
|
|
5238
5256
|
};
|
|
5239
5257
|
export type PhoneTreeActionType = keyof PhoneTreeActions;
|
|
@@ -6956,6 +6974,7 @@ export type DataSyncRecord = {
|
|
|
6956
6974
|
data: 'deleted' | string;
|
|
6957
6975
|
userIds: string[];
|
|
6958
6976
|
enduserIds: string[];
|
|
6977
|
+
visibleToAllUsers?: boolean;
|
|
6959
6978
|
};
|
|
6960
6979
|
export type InsuranceType = "Primary" | "Secondary";
|
|
6961
6980
|
export type TwilioQueue = {
|