@tellescope/types-models 1.158.0 → 1.159.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 +26 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +26 -2
- 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 +22 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -744,6 +744,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
744
744
|
stripeKey?: string;
|
|
745
745
|
lastDoseSpotSyncAt?: Date;
|
|
746
746
|
diagnoses?: EnduserDiagnosis[];
|
|
747
|
+
lockedFromPortal?: boolean;
|
|
747
748
|
}
|
|
748
749
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
749
750
|
}
|
|
@@ -1471,6 +1472,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1471
1472
|
saveIntakeOnPartial?: boolean;
|
|
1472
1473
|
stripeKey?: string;
|
|
1473
1474
|
dataSource?: string;
|
|
1475
|
+
canvasDocumentCoding?: Pick<CanvasCoding, 'system' | 'code'>;
|
|
1474
1476
|
};
|
|
1475
1477
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
|
|
1476
1478
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -1763,11 +1765,16 @@ export type MedicationResponse = {
|
|
|
1763
1765
|
NDCs?: string[];
|
|
1764
1766
|
reasonForTaking?: string;
|
|
1765
1767
|
};
|
|
1766
|
-
export type
|
|
1768
|
+
export type BaseResponse = {
|
|
1767
1769
|
display: string;
|
|
1768
1770
|
code: string;
|
|
1769
1771
|
system?: string;
|
|
1770
1772
|
};
|
|
1773
|
+
export type AllergyResponse = BaseResponse & {
|
|
1774
|
+
severity?: string;
|
|
1775
|
+
note?: string;
|
|
1776
|
+
};
|
|
1777
|
+
export type ConditionResponse = BaseResponse;
|
|
1771
1778
|
export type FormResponseAnswerTable = FormResponseValueAnswerBuilder<'Table Input', TableInputCell[][]>;
|
|
1772
1779
|
export type FormResponseAnswerGroup = FormResponseValueAnswerBuilder<'Question Group', FormSubField[]>;
|
|
1773
1780
|
export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', ''>;
|
|
@@ -1792,7 +1799,7 @@ export type FormResponseAnswerHeight = FormResponseValueAnswerBuilder<'Height',
|
|
|
1792
1799
|
}>;
|
|
1793
1800
|
export type FormResponseAnswerRedirect = FormResponseValueAnswerBuilder<'Redirect', string>;
|
|
1794
1801
|
export type FormResponseAnswerAllergies = FormResponseValueAnswerBuilder<'Allergies', AllergyResponse[]>;
|
|
1795
|
-
export type FormResponseAnswerConditions = FormResponseValueAnswerBuilder<'Conditions',
|
|
1802
|
+
export type FormResponseAnswerConditions = FormResponseValueAnswerBuilder<'Conditions', ConditionResponse[]>;
|
|
1796
1803
|
export type FormResponseAnswerSignatureValue = {
|
|
1797
1804
|
fullName: string;
|
|
1798
1805
|
signed: boolean;
|
|
@@ -1866,6 +1873,11 @@ export type Addendum = {
|
|
|
1866
1873
|
userId: string;
|
|
1867
1874
|
text: string;
|
|
1868
1875
|
};
|
|
1876
|
+
export type FormResponseFollowup = {
|
|
1877
|
+
formId: string;
|
|
1878
|
+
formResponseId?: string;
|
|
1879
|
+
completedAt?: Date;
|
|
1880
|
+
};
|
|
1869
1881
|
export interface FormResponse_readonly extends ClientRecord {
|
|
1870
1882
|
openedAt?: Date;
|
|
1871
1883
|
references?: RelatedRecord[];
|
|
@@ -1889,6 +1901,7 @@ export interface FormResponse_required {
|
|
|
1889
1901
|
dateOfBirth?: string;
|
|
1890
1902
|
gender?: TellescopeGender;
|
|
1891
1903
|
customTypeId?: string;
|
|
1904
|
+
followups?: FormResponseFollowup[];
|
|
1892
1905
|
}
|
|
1893
1906
|
export interface FormResponse_updatesDisabled {
|
|
1894
1907
|
submissionExpiresAt?: number;
|
|
@@ -2097,6 +2110,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2097
2110
|
dontBlockAvailability?: boolean;
|
|
2098
2111
|
previousStartTimes?: (number | string)[];
|
|
2099
2112
|
requirePortalCancelReason?: boolean;
|
|
2113
|
+
startLinkToken?: string;
|
|
2100
2114
|
}
|
|
2101
2115
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2102
2116
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2614,6 +2628,9 @@ export type ChangeContactTypeAutomationAction = AutomationActionBuilder<'changeC
|
|
|
2614
2628
|
type: string;
|
|
2615
2629
|
}>;
|
|
2616
2630
|
export type ActiveCampaignSyncAutomationAction = AutomationActionBuilder<'activeCampaignSync', {}>;
|
|
2631
|
+
export type ActiveCampaignAddToListsAutomationAction = AutomationActionBuilder<'activeCampaignAddToLists', {
|
|
2632
|
+
listIds: string[];
|
|
2633
|
+
}>;
|
|
2617
2634
|
export type SwitchToRelatedContactAutomationAction = AutomationActionBuilder<'switchToRelatedContact', {
|
|
2618
2635
|
type: string;
|
|
2619
2636
|
otherTypes?: string[];
|
|
@@ -2676,6 +2693,7 @@ export type AutomationActionForType = {
|
|
|
2676
2693
|
'completeTickets': CompleteTicketsAutomationAction;
|
|
2677
2694
|
'changeContactType': ChangeContactTypeAutomationAction;
|
|
2678
2695
|
activeCampaignSync: ActiveCampaignSyncAutomationAction;
|
|
2696
|
+
activeCampaignAddToLists: ActiveCampaignAddToListsAutomationAction;
|
|
2679
2697
|
switchToRelatedContact: SwitchToRelatedContactAutomationAction;
|
|
2680
2698
|
'elationSync': ElationSyncAutomationAction;
|
|
2681
2699
|
canvasSync: CanvasSyncAutomationAction;
|
|
@@ -3468,6 +3486,9 @@ export type EnduserProfileViewBlocks = {
|
|
|
3468
3486
|
"Diagnoses": EnduserProfileViewBlockBuilder<"Diagnoses", {
|
|
3469
3487
|
title: string;
|
|
3470
3488
|
}>;
|
|
3489
|
+
"Timeline": EnduserProfileViewBlockBuilder<"Timeline", {
|
|
3490
|
+
title: string;
|
|
3491
|
+
}>;
|
|
3471
3492
|
};
|
|
3472
3493
|
export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
|
|
3473
3494
|
export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
|
|
@@ -3525,6 +3546,9 @@ export type AutomationTriggerActions = {
|
|
|
3525
3546
|
"Remove Care Team": AutomationTriggerActionBuilder<'Remove Care Team', {
|
|
3526
3547
|
tags: ListOfStringsWithQualifier;
|
|
3527
3548
|
}>;
|
|
3549
|
+
"Require Form Followups": AutomationTriggerActionBuilder<'Require Form Followups', {
|
|
3550
|
+
formIds: string[];
|
|
3551
|
+
}>;
|
|
3528
3552
|
};
|
|
3529
3553
|
export type AutomationTriggerActionType = keyof AutomationTriggerActions;
|
|
3530
3554
|
export type AutomationTriggerAction = AutomationTriggerActions[AutomationTriggerActionType];
|