@tellescope/types-models 1.85.3 → 1.86.1
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 +57 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +3 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +57 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +3 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/index.ts +57 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -37,13 +37,15 @@ export type Filters = {
|
|
|
37
37
|
_lte: number;
|
|
38
38
|
_all: any[];
|
|
39
39
|
_in: any[];
|
|
40
|
+
_nin: any[];
|
|
41
|
+
_ne: any;
|
|
40
42
|
};
|
|
41
43
|
export type ExistsFilter = {
|
|
42
44
|
_exists: boolean;
|
|
43
45
|
};
|
|
44
46
|
export type FilterType = Filters;
|
|
45
47
|
export type FilterKey = keyof Filters;
|
|
46
|
-
export declare const FilterKeys: readonly ["_exists", "_gt", "_gte", "_lt", "_lte", "_all"];
|
|
48
|
+
export declare const FilterKeys: readonly ["_exists", "_gt", "_gte", "_lt", "_lte", "_all", "_ne", "_nin"];
|
|
47
49
|
export type ReadFilter<T> = {
|
|
48
50
|
[K in keyof T]?: T[K] | Partial<FilterType>;
|
|
49
51
|
};
|
|
@@ -166,6 +168,7 @@ export type OrganizationSettings = {
|
|
|
166
168
|
defaultJourneyDueDateOffsetInMS?: number | '';
|
|
167
169
|
disableSnooze?: boolean;
|
|
168
170
|
showCommunications?: boolean;
|
|
171
|
+
showJourneys?: boolean;
|
|
169
172
|
};
|
|
170
173
|
calendar?: {
|
|
171
174
|
dayStart?: {
|
|
@@ -201,6 +204,17 @@ export type BasicWebhook = {
|
|
|
201
204
|
url: string;
|
|
202
205
|
method?: 'Link' | 'POST';
|
|
203
206
|
};
|
|
207
|
+
export type SyncDirection = "Bidirectional" | "From Tellescope" | "To Tellescope";
|
|
208
|
+
export type FieldSync = {
|
|
209
|
+
field: string;
|
|
210
|
+
externalField: string;
|
|
211
|
+
direction: SyncDirection;
|
|
212
|
+
};
|
|
213
|
+
export type AthenaSubscription = {
|
|
214
|
+
type: 'patients';
|
|
215
|
+
frequencyInMinutes: number;
|
|
216
|
+
lastSyncedAt: Date;
|
|
217
|
+
};
|
|
204
218
|
export interface Organization_readonly extends ClientRecord {
|
|
205
219
|
subscriptionExpiresAt: Date;
|
|
206
220
|
subscriptionPeriod: number;
|
|
@@ -259,6 +273,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
259
273
|
hasConnectedGoGoMeds?: boolean;
|
|
260
274
|
hasConnectedPagerDuty?: boolean;
|
|
261
275
|
hasConnectedSmartMeter?: boolean;
|
|
276
|
+
hasConnectedAthena?: boolean;
|
|
262
277
|
hasConfiguredZoom?: boolean;
|
|
263
278
|
hasTicketQueues?: boolean;
|
|
264
279
|
vitalTeamId?: string;
|
|
@@ -292,6 +307,9 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
292
307
|
label: string;
|
|
293
308
|
}[];
|
|
294
309
|
mfaxAccountId?: string;
|
|
310
|
+
athenaFieldsSync?: FieldSync[];
|
|
311
|
+
athenaSubscriptions?: AthenaSubscription[];
|
|
312
|
+
fieldsToAdminNote?: string[];
|
|
295
313
|
}
|
|
296
314
|
export type OrganizationTheme = {
|
|
297
315
|
name: string;
|
|
@@ -1018,6 +1036,7 @@ export interface File extends File_readonly, File_required, File_updatesDisabled
|
|
|
1018
1036
|
export type TicketActionBuilder<T, I> = {
|
|
1019
1037
|
type: T;
|
|
1020
1038
|
info: I;
|
|
1039
|
+
optional?: boolean;
|
|
1021
1040
|
completedAt?: Date | '';
|
|
1022
1041
|
};
|
|
1023
1042
|
export type TicketActions = {
|
|
@@ -1229,6 +1248,8 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1229
1248
|
billingProvider?: 'Canvas' | "Candid" | string;
|
|
1230
1249
|
bookingPageId?: string;
|
|
1231
1250
|
userTags?: string[];
|
|
1251
|
+
userFilterTags?: string[];
|
|
1252
|
+
requirePredefinedInsurer?: boolean;
|
|
1232
1253
|
addressFields?: string[];
|
|
1233
1254
|
autoAdvance?: boolean;
|
|
1234
1255
|
prefillSignature?: boolean;
|
|
@@ -1359,6 +1380,7 @@ export interface Integration_updatesDisabled {
|
|
|
1359
1380
|
}
|
|
1360
1381
|
export interface Integration extends Integration_readonly, Integration_required, Integration_updatesDisabled {
|
|
1361
1382
|
title: string;
|
|
1383
|
+
tenantId?: string;
|
|
1362
1384
|
authentication: IntegrationAuthentication;
|
|
1363
1385
|
emailDisabled?: boolean;
|
|
1364
1386
|
syncUnrecognizedSenders?: boolean;
|
|
@@ -1879,6 +1901,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
1879
1901
|
hoursBeforeBookingAllowed?: number | '';
|
|
1880
1902
|
limitedToCareTeam?: boolean;
|
|
1881
1903
|
limitedByState?: boolean;
|
|
1904
|
+
requireLocationSelection?: boolean;
|
|
1882
1905
|
}
|
|
1883
1906
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
1884
1907
|
creatorType: SessionType;
|
|
@@ -2157,6 +2180,9 @@ export type SmartMeterPlaceOrderAutomationAction = AutomationActionBuilder<'smar
|
|
|
2157
2180
|
shipping?: string;
|
|
2158
2181
|
}>;
|
|
2159
2182
|
export type HealthieSyncAutomationAction = AutomationActionBuilder<'healthieSync', {}>;
|
|
2183
|
+
export type CompleteTicketsAutomationAction = AutomationActionBuilder<'completeTickets', {
|
|
2184
|
+
journeyIds?: string[];
|
|
2185
|
+
}>;
|
|
2160
2186
|
export type IterableFieldsMapping = {
|
|
2161
2187
|
iterable: string;
|
|
2162
2188
|
tellescope: string;
|
|
@@ -2205,6 +2231,7 @@ export type AutomationActionForType = {
|
|
|
2205
2231
|
'pagerDutyCreateIncident': PagerDutyCreateIncidentAutomationAction;
|
|
2206
2232
|
'smartMeterPlaceOrder': SmartMeterPlaceOrderAutomationAction;
|
|
2207
2233
|
'healthieSync': HealthieSyncAutomationAction;
|
|
2234
|
+
'completeTickets': CompleteTicketsAutomationAction;
|
|
2208
2235
|
};
|
|
2209
2236
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2210
2237
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3406,8 +3433,31 @@ export interface VitalConfiguration extends VitalConfiguration_readonly, VitalCo
|
|
|
3406
3433
|
unit: string;
|
|
3407
3434
|
ranges: VitalConfigurationRange[];
|
|
3408
3435
|
}
|
|
3436
|
+
export interface BlockedPhone_readonly extends ClientRecord {
|
|
3437
|
+
}
|
|
3438
|
+
export interface BlockedPhone_required {
|
|
3439
|
+
}
|
|
3440
|
+
export interface BlockedPhone_updatesDisabled {
|
|
3441
|
+
}
|
|
3442
|
+
export interface BlockedPhone extends BlockedPhone_readonly, BlockedPhone_required, BlockedPhone_updatesDisabled {
|
|
3443
|
+
phone: string;
|
|
3444
|
+
}
|
|
3445
|
+
export interface PrescriptionRoute_readonly extends ClientRecord {
|
|
3446
|
+
}
|
|
3447
|
+
export interface PrescriptionRoute_required {
|
|
3448
|
+
}
|
|
3449
|
+
export interface PrescriptionRoute_updatesDisabled {
|
|
3450
|
+
}
|
|
3451
|
+
export interface PrescriptionRoute extends PrescriptionRoute_readonly, PrescriptionRoute_required, PrescriptionRoute_updatesDisabled {
|
|
3452
|
+
title: string;
|
|
3453
|
+
state: string;
|
|
3454
|
+
templateIds: string[];
|
|
3455
|
+
pharmacyId?: string;
|
|
3456
|
+
}
|
|
3409
3457
|
export type ModelForName_required = {
|
|
3458
|
+
prescription_routes: PrescriptionRoute_required;
|
|
3410
3459
|
vital_configurations: VitalConfiguration_required;
|
|
3460
|
+
blocked_phones: BlockedPhone_required;
|
|
3411
3461
|
enduser_encounters: EnduserEncounter_required;
|
|
3412
3462
|
enduser_orders: EnduserOrder_required;
|
|
3413
3463
|
group_mms_conversations: GroupMMSConversation_required;
|
|
@@ -3479,6 +3529,8 @@ export type ModelForName_required = {
|
|
|
3479
3529
|
};
|
|
3480
3530
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
3481
3531
|
export interface ModelForName_readonly {
|
|
3532
|
+
prescription_routes: PrescriptionRoute_readonly;
|
|
3533
|
+
blocked_phones: BlockedPhone_readonly;
|
|
3482
3534
|
vital_configurations: VitalConfiguration_readonly;
|
|
3483
3535
|
enduser_encounters: EnduserEncounter_readonly;
|
|
3484
3536
|
enduser_orders: EnduserOrder_readonly;
|
|
@@ -3551,6 +3603,8 @@ export interface ModelForName_readonly {
|
|
|
3551
3603
|
}
|
|
3552
3604
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
3553
3605
|
export interface ModelForName_updatesDisabled {
|
|
3606
|
+
prescription_routes: PrescriptionRoute_updatesDisabled;
|
|
3607
|
+
blocked_phones: BlockedPhone_updatesDisabled;
|
|
3554
3608
|
vital_configurations: VitalConfiguration_updatesDisabled;
|
|
3555
3609
|
enduser_encounters: EnduserEncounter_updatesDisabled;
|
|
3556
3610
|
enduser_orders: EnduserOrder_updatesDisabled;
|
|
@@ -3623,6 +3677,8 @@ export interface ModelForName_updatesDisabled {
|
|
|
3623
3677
|
}
|
|
3624
3678
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
3625
3679
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
3680
|
+
prescription_routes: PrescriptionRoute;
|
|
3681
|
+
blocked_phones: BlockedPhone;
|
|
3626
3682
|
vital_configurations: VitalConfiguration;
|
|
3627
3683
|
enduser_encounters: EnduserEncounter;
|
|
3628
3684
|
enduser_orders: EnduserOrder;
|