@tellescope/types-models 1.145.0 → 1.147.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 +17 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +17 -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 +16 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -622,6 +622,15 @@ export type EnduserInsurance = {
|
|
|
622
622
|
payerType?: string;
|
|
623
623
|
groupNumber?: string;
|
|
624
624
|
};
|
|
625
|
+
export type EnduserDiagnosis = {
|
|
626
|
+
externalId?: string;
|
|
627
|
+
active?: boolean;
|
|
628
|
+
start?: string;
|
|
629
|
+
end?: string;
|
|
630
|
+
code?: string;
|
|
631
|
+
display?: string;
|
|
632
|
+
source?: string;
|
|
633
|
+
};
|
|
625
634
|
export type TellescopeGender = "Male" | "Female" | "Other" | "Unknown";
|
|
626
635
|
export interface Enduser_readonly extends UserActivityInfo, ClientRecord, EnduserEngagementTimestamps {
|
|
627
636
|
lastCommunication?: Date;
|
|
@@ -721,6 +730,7 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
721
730
|
stripeCustomerId?: string;
|
|
722
731
|
stripeKey?: string;
|
|
723
732
|
lastDoseSpotSyncAt?: Date;
|
|
733
|
+
diagnoses?: EnduserDiagnosis[];
|
|
724
734
|
}
|
|
725
735
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
726
736
|
}
|
|
@@ -1006,6 +1016,7 @@ export interface SMSMessage_updatesDisabled {
|
|
|
1006
1016
|
journeyId?: string;
|
|
1007
1017
|
}
|
|
1008
1018
|
export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SMSMessage_updatesDisabled, TextCommunication, WithLinkOpenTrackingIds {
|
|
1019
|
+
autoResolveToFrom?: boolean;
|
|
1009
1020
|
isAutoreply?: boolean;
|
|
1010
1021
|
userId?: string;
|
|
1011
1022
|
readBy?: {
|
|
@@ -2155,6 +2166,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2155
2166
|
dontAutoSyncPatientToHealthie?: boolean;
|
|
2156
2167
|
displayTitle?: string;
|
|
2157
2168
|
displayDescription?: string;
|
|
2169
|
+
requiresEnduser?: boolean;
|
|
2158
2170
|
}
|
|
2159
2171
|
export interface AppointmentLocation_readonly extends ClientRecord {
|
|
2160
2172
|
}
|
|
@@ -2558,11 +2570,12 @@ export type IterableCustomEventAutomationAction = AutomationActionBuilder<'itera
|
|
|
2558
2570
|
description: string;
|
|
2559
2571
|
dataFieldsMapping?: IterableFieldsMapping[];
|
|
2560
2572
|
}>;
|
|
2561
|
-
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date';
|
|
2573
|
+
export type EnduserFieldSetterType = 'Custom Value' | 'Current Timestamp' | 'Current Date' | "Increment Number";
|
|
2562
2574
|
export type EnduserFieldSetter = {
|
|
2563
2575
|
name: string;
|
|
2564
2576
|
type: EnduserFieldSetterType;
|
|
2565
2577
|
value: string;
|
|
2578
|
+
increment?: number;
|
|
2566
2579
|
};
|
|
2567
2580
|
export type SetEnduserFieldsAutomationAction = AutomationActionBuilder<'setEnduserFields', {
|
|
2568
2581
|
fields: EnduserFieldSetter[];
|
|
@@ -3375,6 +3388,9 @@ export type EnduserProfileViewBlocks = {
|
|
|
3375
3388
|
"Medications": EnduserProfileViewBlockBuilder<"Medications", {
|
|
3376
3389
|
title: string;
|
|
3377
3390
|
}>;
|
|
3391
|
+
"Diagnoses": EnduserProfileViewBlockBuilder<"Diagnoses", {
|
|
3392
|
+
title: string;
|
|
3393
|
+
}>;
|
|
3378
3394
|
};
|
|
3379
3395
|
export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks;
|
|
3380
3396
|
export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType];
|