@tellescope/types-models 1.227.0 → 1.229.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 +44 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +44 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +47 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ export type PortalSettings = {
|
|
|
106
106
|
outstandingFormsTitle?: string;
|
|
107
107
|
availableFormsTitle?: string;
|
|
108
108
|
};
|
|
109
|
+
hideSettingsPage?: boolean;
|
|
109
110
|
};
|
|
110
111
|
export type WithLinkOpenTrackingIds = {
|
|
111
112
|
linkOpenTrackingIds: string[];
|
|
@@ -263,6 +264,9 @@ export type OrganizationSettings = {
|
|
|
263
264
|
showInboxV2?: boolean;
|
|
264
265
|
showDialerInTopbar?: boolean;
|
|
265
266
|
};
|
|
267
|
+
timeTracking?: {
|
|
268
|
+
enabled?: boolean;
|
|
269
|
+
};
|
|
266
270
|
};
|
|
267
271
|
export type OrganizationLimits = {
|
|
268
272
|
[K in ModelName]?: number;
|
|
@@ -473,6 +477,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
473
477
|
creditTrialStartedAt?: Date;
|
|
474
478
|
hasIntegrations?: string[];
|
|
475
479
|
outOfOfficeHours?: OutOfOfficeBlock[];
|
|
480
|
+
incomingCallDisplayFields?: string[];
|
|
476
481
|
skipActivePatientBilling?: boolean;
|
|
477
482
|
}
|
|
478
483
|
export type OrganizationTheme = {
|
|
@@ -575,6 +580,11 @@ export type StateCredentialInfo = {
|
|
|
575
580
|
export type MonthlyRestriction = {
|
|
576
581
|
occurrences: (1 | 2 | 3 | 4 | 5)[];
|
|
577
582
|
};
|
|
583
|
+
export type CalendarEventLimit = {
|
|
584
|
+
templateId: string;
|
|
585
|
+
period: number;
|
|
586
|
+
limit: number;
|
|
587
|
+
};
|
|
578
588
|
export type WeeklyAvailability = {
|
|
579
589
|
dayOfWeekStartingSundayIndexedByZero: number;
|
|
580
590
|
startTimeInMinutes: number;
|
|
@@ -646,6 +656,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
646
656
|
credentialedStates?: StateCredentialInfo[];
|
|
647
657
|
timezone?: Timezone;
|
|
648
658
|
weeklyAvailabilities?: WeeklyAvailability[];
|
|
659
|
+
calendarEventLimits?: CalendarEventLimit[];
|
|
649
660
|
autoReplyEnabled?: boolean;
|
|
650
661
|
twilioNumber?: string;
|
|
651
662
|
availableFromNumbers?: string[];
|
|
@@ -1758,6 +1769,8 @@ export type FormCustomization = {
|
|
|
1758
1769
|
hideBg?: boolean;
|
|
1759
1770
|
portalShowThanksAfterSubmission?: boolean;
|
|
1760
1771
|
maxWidth?: number;
|
|
1772
|
+
primaryColor?: string;
|
|
1773
|
+
secondaryColor?: string;
|
|
1761
1774
|
};
|
|
1762
1775
|
export interface Form_readonly extends ClientRecord {
|
|
1763
1776
|
numFields: number;
|
|
@@ -1829,6 +1842,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1829
1842
|
dontSyncToCanvasOnSubmission?: boolean;
|
|
1830
1843
|
belugaVisitType?: string;
|
|
1831
1844
|
showByUserTags?: string[];
|
|
1845
|
+
version?: 'v1' | 'v2';
|
|
1832
1846
|
}
|
|
1833
1847
|
export interface FormGroup_readonly extends ClientRecord {
|
|
1834
1848
|
}
|
|
@@ -2239,6 +2253,7 @@ export type BaseAvailabilityBlock = {
|
|
|
2239
2253
|
startTimeInMS: number;
|
|
2240
2254
|
durationInMinutes: number;
|
|
2241
2255
|
externalId?: string;
|
|
2256
|
+
priority?: number;
|
|
2242
2257
|
};
|
|
2243
2258
|
export interface AvailabilityBlock_readonly extends ClientRecord {
|
|
2244
2259
|
}
|
|
@@ -2553,6 +2568,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2553
2568
|
athenaTypeId?: string;
|
|
2554
2569
|
athenaBookingTypeId?: string;
|
|
2555
2570
|
healthieInsuranceBillingEnabled?: boolean;
|
|
2571
|
+
replaceHostOnReschedule?: boolean;
|
|
2556
2572
|
}
|
|
2557
2573
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2558
2574
|
}
|
|
@@ -3045,12 +3061,16 @@ export type AddAccessTagsAutomationAction = AutomationActionBuilder<'addAccessTa
|
|
|
3045
3061
|
export type RemoveAccessTagsAutomationAction = AutomationActionBuilder<'removeAccessTags', {
|
|
3046
3062
|
tags: string[];
|
|
3047
3063
|
}>;
|
|
3048
|
-
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
3064
|
+
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number" | "Date Difference";
|
|
3049
3065
|
export type EnduserFieldSetter = {
|
|
3050
3066
|
name: string;
|
|
3051
3067
|
type: EnduserFieldSetterType;
|
|
3052
3068
|
value: string;
|
|
3053
3069
|
increment?: number;
|
|
3070
|
+
dateDifferenceOptions?: {
|
|
3071
|
+
date1: string;
|
|
3072
|
+
date2: string;
|
|
3073
|
+
};
|
|
3054
3074
|
};
|
|
3055
3075
|
export type SetEnduserFieldsAutomationAction = AutomationActionBuilder<'setEnduserFields', {
|
|
3056
3076
|
fields: EnduserFieldSetter[];
|
|
@@ -4466,6 +4486,7 @@ export type PhoneTreeActions = {
|
|
|
4466
4486
|
}>;
|
|
4467
4487
|
'Forward Call': PhoneTreeActionBuilder<"Forward Call", {
|
|
4468
4488
|
to: string;
|
|
4489
|
+
playback?: Partial<PhonePlayback>;
|
|
4469
4490
|
}>;
|
|
4470
4491
|
'Conditional Split': PhoneTreeActionBuilder<"Conditional Split", {
|
|
4471
4492
|
timezone?: Timezone;
|
|
@@ -4618,6 +4639,24 @@ export interface Configuration_required {
|
|
|
4618
4639
|
}
|
|
4619
4640
|
export interface Configuration extends Configuration_readonly, Configuration_required, Configuration_updatesDisabled {
|
|
4620
4641
|
}
|
|
4642
|
+
export type TimeTrackTimestamp = {
|
|
4643
|
+
type: 'start' | 'pause' | 'resume';
|
|
4644
|
+
timestamp: Date;
|
|
4645
|
+
};
|
|
4646
|
+
export interface TimeTrack_readonly extends ClientRecord {
|
|
4647
|
+
}
|
|
4648
|
+
export interface TimeTrack_updatesDisabled {
|
|
4649
|
+
}
|
|
4650
|
+
export interface TimeTrack_required {
|
|
4651
|
+
title: string;
|
|
4652
|
+
userId: string;
|
|
4653
|
+
}
|
|
4654
|
+
export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeTrack_updatesDisabled {
|
|
4655
|
+
enduserId?: string;
|
|
4656
|
+
timestamps?: TimeTrackTimestamp[];
|
|
4657
|
+
closedAt?: Date | '';
|
|
4658
|
+
totalDurationInMS?: number;
|
|
4659
|
+
}
|
|
4621
4660
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
4622
4661
|
count?: number;
|
|
4623
4662
|
}
|
|
@@ -5133,6 +5172,7 @@ export type ModelForName_required = {
|
|
|
5133
5172
|
table_views: TableView_required;
|
|
5134
5173
|
email_sync_denials: EmailSyncDenial_required;
|
|
5135
5174
|
configurations: Configuration_required;
|
|
5175
|
+
time_tracks: TimeTrack_required;
|
|
5136
5176
|
};
|
|
5137
5177
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
5138
5178
|
export interface ModelForName_readonly {
|
|
@@ -5224,6 +5264,7 @@ export interface ModelForName_readonly {
|
|
|
5224
5264
|
enduser_profile_views: EnduserProfileView_readonly;
|
|
5225
5265
|
table_views: TableView_readonly;
|
|
5226
5266
|
email_sync_denials: EmailSyncDenial_readonly;
|
|
5267
|
+
time_tracks: TimeTrack_readonly;
|
|
5227
5268
|
}
|
|
5228
5269
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
5229
5270
|
export interface ModelForName_updatesDisabled {
|
|
@@ -5315,6 +5356,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
5315
5356
|
enduser_profile_views: EnduserProfileView_updatesDisabled;
|
|
5316
5357
|
table_views: TableView_updatesDisabled;
|
|
5317
5358
|
email_sync_denials: EmailSyncDenial_updatesDisabled;
|
|
5359
|
+
time_tracks: TimeTrack_updatesDisabled;
|
|
5318
5360
|
}
|
|
5319
5361
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
5320
5362
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
@@ -5406,6 +5448,7 @@ export interface ModelForName extends ModelForName_required, ModelForName_readon
|
|
|
5406
5448
|
enduser_profile_views: EnduserProfileView;
|
|
5407
5449
|
table_views: TableView;
|
|
5408
5450
|
email_sync_denials: EmailSyncDenial;
|
|
5451
|
+
time_tracks: TimeTrack;
|
|
5409
5452
|
}
|
|
5410
5453
|
export type ModelName = keyof ModelForName;
|
|
5411
5454
|
export type Model = ModelForName[keyof ModelForName];
|