@tellescope/types-models 1.173.0 → 1.175.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 +32 -0
- 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 +32 -0
- 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 +34 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -96,6 +96,9 @@ export type PortalSettings = {
|
|
|
96
96
|
orders?: {
|
|
97
97
|
customOrderTrackingURL?: string;
|
|
98
98
|
};
|
|
99
|
+
documents?: {
|
|
100
|
+
hideMissingAnswers?: boolean;
|
|
101
|
+
};
|
|
99
102
|
};
|
|
100
103
|
export type WithLinkOpenTrackingIds = {
|
|
101
104
|
linkOpenTrackingIds: string[];
|
|
@@ -1501,6 +1504,9 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1501
1504
|
stripeKey?: string;
|
|
1502
1505
|
dataSource?: string;
|
|
1503
1506
|
canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'>;
|
|
1507
|
+
canvasDocumentType?: CanvasCoding;
|
|
1508
|
+
canvasDocumentComment?: string;
|
|
1509
|
+
canvasReviewMode?: string;
|
|
1504
1510
|
esignatureTermsCompanyName?: string;
|
|
1505
1511
|
observationCode?: string;
|
|
1506
1512
|
observationDisplay?: string;
|
|
@@ -2711,6 +2717,7 @@ export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'sw
|
|
|
2711
2717
|
}>;
|
|
2712
2718
|
export type ElationSyncAutomationAction = AutomationActionBuilder<'elationSync', {}>;
|
|
2713
2719
|
export type CanvasSyncAutomationAction = AutomationActionBuilder<'canvasSync', {}>;
|
|
2720
|
+
export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
|
|
2714
2721
|
export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
|
|
2715
2722
|
drugs: DevelopHealthDrug[];
|
|
2716
2723
|
diagnoses: DevelopHealthDiagnosis[];
|
|
@@ -2726,6 +2733,7 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
|
|
|
2726
2733
|
description: string;
|
|
2727
2734
|
dataFieldsMapping?: IterableFieldsMapping[];
|
|
2728
2735
|
environment?: string;
|
|
2736
|
+
customEmailField?: string;
|
|
2729
2737
|
}>;
|
|
2730
2738
|
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
2731
2739
|
export type EnduserFieldSetter = {
|
|
@@ -2781,6 +2789,7 @@ export type AutomationActionForType = {
|
|
|
2781
2789
|
canvasSync: CanvasSyncAutomationAction;
|
|
2782
2790
|
pushFormsToPortal: PushFormsAutomationAction;
|
|
2783
2791
|
developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
|
|
2792
|
+
cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
|
|
2784
2793
|
};
|
|
2785
2794
|
export type AutomationActionType = keyof AutomationActionForType;
|
|
2786
2795
|
export type AutomationAction = AutomationActionForType[AutomationActionType];
|
|
@@ -3661,6 +3670,13 @@ export type AutomationTriggerActions = {
|
|
|
3661
3670
|
"Require Form Followups": AutomationTriggerActionBuilder<'Require Form Followups', {
|
|
3662
3671
|
formIds: string[];
|
|
3663
3672
|
}>;
|
|
3673
|
+
"Add to Waitlist": AutomationTriggerActionBuilder<'Add to Waitlist', {
|
|
3674
|
+
waitlistId: string;
|
|
3675
|
+
}>;
|
|
3676
|
+
"Grant Access From Waitlist": AutomationTriggerActionBuilder<'Grant Access From Waitlist', {
|
|
3677
|
+
waitlistId: string;
|
|
3678
|
+
count: number;
|
|
3679
|
+
}>;
|
|
3664
3680
|
};
|
|
3665
3681
|
export type AutomationTriggerActionType = keyof AutomationTriggerActions;
|
|
3666
3682
|
export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
|
|
@@ -4454,7 +4470,20 @@ export interface AgentRecord extends AgentRecord_readonly, AgentRecord_required,
|
|
|
4454
4470
|
externalId?: string;
|
|
4455
4471
|
indexed?: boolean;
|
|
4456
4472
|
}
|
|
4473
|
+
export interface Waitlist_readonly extends ClientRecord {
|
|
4474
|
+
}
|
|
4475
|
+
export interface Waitlist_required {
|
|
4476
|
+
title: string;
|
|
4477
|
+
journeyId: string;
|
|
4478
|
+
}
|
|
4479
|
+
export interface Waitlist_updatesDisabled {
|
|
4480
|
+
}
|
|
4481
|
+
export interface Waitlist extends Waitlist_readonly, Waitlist_required, Waitlist_updatesDisabled {
|
|
4482
|
+
enduserIds: string[];
|
|
4483
|
+
tags?: string[];
|
|
4484
|
+
}
|
|
4457
4485
|
export type ModelForName_required = {
|
|
4486
|
+
waitlists: Waitlist_required;
|
|
4458
4487
|
agent_records: AgentRecord_required;
|
|
4459
4488
|
enduser_eligibility_results: EnduserEligibilityResult_required;
|
|
4460
4489
|
integration_logs: IntegrationLog_required;
|
|
@@ -4543,6 +4572,7 @@ export type ModelForName_required = {
|
|
|
4543
4572
|
};
|
|
4544
4573
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
|
|
4545
4574
|
export interface ModelForName_readonly {
|
|
4575
|
+
waitlists: Waitlist_readonly;
|
|
4546
4576
|
agent_records: AgentRecord_readonly;
|
|
4547
4577
|
enduser_eligibility_results: EnduserEligibilityResult_readonly;
|
|
4548
4578
|
integration_logs: IntegrationLog_readonly;
|
|
@@ -4631,6 +4661,7 @@ export interface ModelForName_readonly {
|
|
|
4631
4661
|
}
|
|
4632
4662
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
|
|
4633
4663
|
export interface ModelForName_updatesDisabled {
|
|
4664
|
+
waitlists: Waitlist_updatesDisabled;
|
|
4634
4665
|
agent_records: AgentRecord_updatesDisabled;
|
|
4635
4666
|
enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled;
|
|
4636
4667
|
integration_logs: IntegrationLog_updatesDisabled;
|
|
@@ -4719,6 +4750,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
4719
4750
|
}
|
|
4720
4751
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
|
|
4721
4752
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
4753
|
+
waitlists: Waitlist;
|
|
4722
4754
|
agent_records: AgentRecord;
|
|
4723
4755
|
enduser_eligibility_results: EnduserEligibilityResult;
|
|
4724
4756
|
integration_logs: IntegrationLog;
|