@tellescope/types-models 1.250.2 → 1.252.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 +42 -3
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +42 -3
- 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 +53 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -534,6 +534,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
534
534
|
}[];
|
|
535
535
|
externalFormIdsToSync?: string[];
|
|
536
536
|
enforceMFA?: boolean;
|
|
537
|
+
accountSwitchingEnabled?: boolean;
|
|
537
538
|
analyticsIframes?: {
|
|
538
539
|
title: string;
|
|
539
540
|
iframeURL: string;
|
|
@@ -569,6 +570,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
569
570
|
skipActivePatientBilling?: boolean;
|
|
570
571
|
portalV2SchemaURL?: string;
|
|
571
572
|
timeTrackingPrograms?: TimeTrackingProgram[];
|
|
573
|
+
belugaAutomationMappings?: BelugaAutomationMappingEntry[];
|
|
572
574
|
}
|
|
573
575
|
export type OrganizationTheme = {
|
|
574
576
|
name: string;
|
|
@@ -664,6 +666,9 @@ export interface UserSession extends Session, OrganizationLimits {
|
|
|
664
666
|
availablePhoneNumbers: string[];
|
|
665
667
|
availableFromEmails: string[];
|
|
666
668
|
isa?: boolean;
|
|
669
|
+
actorUserId?: string;
|
|
670
|
+
actorEmail?: string;
|
|
671
|
+
actorBusinessId?: string;
|
|
667
672
|
}
|
|
668
673
|
export type StateCredentialInfo = {
|
|
669
674
|
state: string;
|
|
@@ -701,6 +706,25 @@ export type UserCallRoutingBehavior = ('' | 'Assigned' | 'Unassigned' | 'All');
|
|
|
701
706
|
export type MFASettings = {
|
|
702
707
|
email?: boolean;
|
|
703
708
|
};
|
|
709
|
+
export interface LinkedAccount {
|
|
710
|
+
id: string;
|
|
711
|
+
email: string;
|
|
712
|
+
orgName: string;
|
|
713
|
+
fname?: string;
|
|
714
|
+
lname?: string;
|
|
715
|
+
requiresMFA: boolean;
|
|
716
|
+
}
|
|
717
|
+
export type LinkedAccountAccessStatus = 'pending' | 'accepted';
|
|
718
|
+
export interface LinkedAccountAccessEntry {
|
|
719
|
+
userId: string;
|
|
720
|
+
email: string;
|
|
721
|
+
fname?: string;
|
|
722
|
+
lname?: string;
|
|
723
|
+
orgName?: string;
|
|
724
|
+
status: LinkedAccountAccessStatus;
|
|
725
|
+
createdAt: Date;
|
|
726
|
+
requestExpiresAt: Date;
|
|
727
|
+
}
|
|
704
728
|
export type LabeledField = {
|
|
705
729
|
field: string;
|
|
706
730
|
value: string;
|
|
@@ -791,6 +815,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
791
815
|
dashboardView?: CustomDashboardView;
|
|
792
816
|
hideFromCalendarView?: boolean;
|
|
793
817
|
requireSSO?: string[];
|
|
818
|
+
linkedAccountAccess?: LinkedAccountAccessEntry[];
|
|
794
819
|
}
|
|
795
820
|
export type Preference = 'email' | 'sms' | 'call' | 'chat';
|
|
796
821
|
export type CustomField = string | number | object | {
|
|
@@ -2066,6 +2091,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
2066
2091
|
score: string;
|
|
2067
2092
|
externalId: string;
|
|
2068
2093
|
}[];
|
|
2094
|
+
syncAnswersAsHtml?: boolean;
|
|
2069
2095
|
hideAfterUnsubmittedInMS?: number;
|
|
2070
2096
|
hideFromCompose?: boolean;
|
|
2071
2097
|
hideFromBulkSubmission?: boolean;
|
|
@@ -3332,8 +3358,10 @@ export type BelugaAutoRxPatientPreferenceItem = {
|
|
|
3332
3358
|
medId: string;
|
|
3333
3359
|
};
|
|
3334
3360
|
export type BelugaAutoRxAutomationAction = AutomationActionBuilder<'belugaAutoRx', {
|
|
3335
|
-
|
|
3336
|
-
|
|
3361
|
+
formId: string;
|
|
3362
|
+
patientPreference?: BelugaAutoRxPatientPreferenceItem;
|
|
3363
|
+
pharmacyId?: string;
|
|
3364
|
+
useOrganizationMapping?: boolean;
|
|
3337
3365
|
}>;
|
|
3338
3366
|
export type BelugaUpdateVisitPatientPreferenceItem = {
|
|
3339
3367
|
name: string;
|
|
@@ -3344,9 +3372,16 @@ export type BelugaUpdateVisitPatientPreferenceItem = {
|
|
|
3344
3372
|
medId: string;
|
|
3345
3373
|
};
|
|
3346
3374
|
export type BelugaUpdateVisitAutomationAction = AutomationActionBuilder<'belugaUpdateVisit', {
|
|
3375
|
+
formId: string;
|
|
3376
|
+
patientPreferences?: BelugaUpdateVisitPatientPreferenceItem[];
|
|
3377
|
+
pharmacyId?: string;
|
|
3378
|
+
useOrganizationMapping?: boolean;
|
|
3379
|
+
}>;
|
|
3380
|
+
export type BelugaAutomationMappingEntry = {
|
|
3381
|
+
enduserCondition: Record<string, any>;
|
|
3347
3382
|
patientPreferences: BelugaUpdateVisitPatientPreferenceItem[];
|
|
3348
3383
|
pharmacyId: string;
|
|
3349
|
-
}
|
|
3384
|
+
};
|
|
3350
3385
|
export type SendChatAutomationAction = AutomationActionBuilder<'sendChat', {
|
|
3351
3386
|
templateId: string;
|
|
3352
3387
|
identifier: string;
|
|
@@ -3915,6 +3950,7 @@ export interface UserLog extends UserLog_readonly, UserLog_required, UserLog_upd
|
|
|
3915
3950
|
info?: Indexable;
|
|
3916
3951
|
enduserId?: string;
|
|
3917
3952
|
note?: string;
|
|
3953
|
+
actorUserId?: string;
|
|
3918
3954
|
}
|
|
3919
3955
|
export interface EnduserTask_readonly extends ClientRecord {
|
|
3920
3956
|
}
|
|
@@ -4824,6 +4860,9 @@ export type AutomationTriggerEvents = {
|
|
|
4824
4860
|
'Incoming Fax': AutomationTriggerEventBuilder<"Incoming Fax", {
|
|
4825
4861
|
senderFaxNumbers?: string[];
|
|
4826
4862
|
}, {}>;
|
|
4863
|
+
'Beluga Visit Sync Failed': AutomationTriggerEventBuilder<"Beluga Visit Sync Failed", {
|
|
4864
|
+
formIds?: string[];
|
|
4865
|
+
}, {}>;
|
|
4827
4866
|
};
|
|
4828
4867
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
4829
4868
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|