@tellescope/types-models 1.197.0 → 1.199.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 +28 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +28 -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 +24 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ export type OrganizationSettings = {
|
|
|
236
236
|
templateRequired?: boolean;
|
|
237
237
|
locationRequired?: boolean;
|
|
238
238
|
cancelReasons?: string[];
|
|
239
|
+
copyRemindersByDefault?: boolean;
|
|
239
240
|
};
|
|
240
241
|
users?: {
|
|
241
242
|
sessionDurationInHours?: number;
|
|
@@ -427,6 +428,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
427
428
|
customPortalLoginEmailSubject?: string;
|
|
428
429
|
customPortalLoginEmailHTML?: string;
|
|
429
430
|
customerIOFields?: string[];
|
|
431
|
+
customerIOIdField?: string;
|
|
430
432
|
createEnduserForms?: string[];
|
|
431
433
|
}
|
|
432
434
|
export type OrganizationTheme = {
|
|
@@ -752,6 +754,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
752
754
|
unredactedFields?: CustomFields;
|
|
753
755
|
preference?: Preference;
|
|
754
756
|
assignedTo?: string[];
|
|
757
|
+
primaryAssignee?: string;
|
|
755
758
|
avatar?: string;
|
|
756
759
|
unread?: boolean;
|
|
757
760
|
termsSigned?: Date;
|
|
@@ -759,6 +762,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
759
762
|
timezone?: Timezone;
|
|
760
763
|
dateOfBirth?: string;
|
|
761
764
|
gender?: TellescopeGender;
|
|
765
|
+
genderIdentity?: string;
|
|
766
|
+
pronouns?: string;
|
|
762
767
|
height?: GenericQuantityWithUnit;
|
|
763
768
|
weight?: GenericQuantityWithUnit;
|
|
764
769
|
source?: string;
|
|
@@ -1596,6 +1601,10 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1596
1601
|
chargebeeItemId?: string;
|
|
1597
1602
|
relatedContactTypes?: string[];
|
|
1598
1603
|
radioChoices?: string[];
|
|
1604
|
+
elationHistoryType?: string;
|
|
1605
|
+
elationIsAllergy?: boolean;
|
|
1606
|
+
elationAppendToNote?: boolean;
|
|
1607
|
+
elationAppendToNotePrefix?: string;
|
|
1599
1608
|
};
|
|
1600
1609
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1601
1610
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1711,6 +1720,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1711
1720
|
isNonVisitElationNote?: boolean;
|
|
1712
1721
|
elationVisitNotePractitionerIds?: string[];
|
|
1713
1722
|
elationVisitNoteType?: string;
|
|
1723
|
+
elationSkipBlankResponses?: boolean;
|
|
1714
1724
|
canvasId?: string;
|
|
1715
1725
|
canvasQuestionId?: string;
|
|
1716
1726
|
syncToOLH?: boolean;
|
|
@@ -1802,6 +1812,7 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1802
1812
|
overwriteAddress?: boolean;
|
|
1803
1813
|
requirePhoneToPushEnduser?: boolean;
|
|
1804
1814
|
syncAsActive?: boolean;
|
|
1815
|
+
syncEnduserId?: boolean;
|
|
1805
1816
|
shardId?: string;
|
|
1806
1817
|
}
|
|
1807
1818
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
@@ -2835,6 +2846,9 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
|
|
|
2835
2846
|
otherTypes?: string[];
|
|
2836
2847
|
}>;
|
|
2837
2848
|
export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
|
|
2849
|
+
export type AthenaSyncAutomationAction = AutomationActionBuilder<'athenaSync', {
|
|
2850
|
+
departmentid: string;
|
|
2851
|
+
}>;
|
|
2838
2852
|
export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
|
|
2839
2853
|
export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCreateNote', {
|
|
2840
2854
|
formIds: string[];
|
|
@@ -2926,6 +2940,7 @@ export type AutomationActionForType = {
|
|
|
2926
2940
|
activeCampaignAddToLists: ActiveCampaignAddToListsAutomationAction;
|
|
2927
2941
|
switchToRelatedContact: SwitchToRelatedContactAutomationAction;
|
|
2928
2942
|
'elationSync': ElationSyncAutomationAction;
|
|
2943
|
+
'athenaSync': AthenaSyncAutomationAction;
|
|
2929
2944
|
canvasSync: CanvasSyncAutomationAction;
|
|
2930
2945
|
canvasCreateNote: CanvasCreateNoteAutomationAction;
|
|
2931
2946
|
pushFormsToPortal: PushFormsAutomationAction;
|
|
@@ -3518,7 +3533,11 @@ export type AnalyticsQueryFilterForType = {
|
|
|
3518
3533
|
direction?: string;
|
|
3519
3534
|
messages?: string[];
|
|
3520
3535
|
};
|
|
3521
|
-
Emails: {
|
|
3536
|
+
Emails: {
|
|
3537
|
+
direction?: "Inbound" | "Outbound" | "Both";
|
|
3538
|
+
templateIds?: string[];
|
|
3539
|
+
subjects?: string[];
|
|
3540
|
+
};
|
|
3522
3541
|
Medications: {};
|
|
3523
3542
|
Files: {
|
|
3524
3543
|
names?: string[];
|
|
@@ -3815,6 +3834,7 @@ export type AutomationTriggerActions = {
|
|
|
3815
3834
|
"Assign Care Team": AutomationTriggerActionBuilder<'Assign Care Team', {
|
|
3816
3835
|
tags: ListOfStringsWithQualifier;
|
|
3817
3836
|
limitToOneUser?: boolean;
|
|
3837
|
+
setAsPrimary?: boolean;
|
|
3818
3838
|
}>;
|
|
3819
3839
|
"Canvas: Add Patient": AutomationTriggerActionBuilder<'Canvas: Add Patient', {}>;
|
|
3820
3840
|
"Zus: Delete Enrollment": AutomationTriggerActionBuilder<'Zus: Delete Enrollment', {
|
|
@@ -3927,6 +3947,7 @@ export type AutomationTriggerEvents = {
|
|
|
3927
3947
|
status: string;
|
|
3928
3948
|
fills?: string[];
|
|
3929
3949
|
skus?: string[];
|
|
3950
|
+
skuPartials?: string[];
|
|
3930
3951
|
}, {}>;
|
|
3931
3952
|
'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
|
|
3932
3953
|
phoneNumbers?: string[];
|
|
@@ -4159,6 +4180,12 @@ export type PhoneTreeActions = {
|
|
|
4159
4180
|
queueId: string;
|
|
4160
4181
|
playback?: Partial<PhonePlayback>;
|
|
4161
4182
|
}>;
|
|
4183
|
+
'Route Extensions': PhoneTreeActionBuilder<"Route Extensions", {
|
|
4184
|
+
extensions: {
|
|
4185
|
+
input: string;
|
|
4186
|
+
userId: string;
|
|
4187
|
+
}[];
|
|
4188
|
+
}>;
|
|
4162
4189
|
};
|
|
4163
4190
|
export type PhoneTreeActionType = keyof PhoneTreeActions;
|
|
4164
4191
|
export type PhoneTreeAction = PhoneTreeActions[PhoneTreeActionType];
|