@tellescope/types-models 1.245.1 → 1.246.2
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 +31 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +31 -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 +37 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export interface EnduserPortalVisibility {
|
|
|
4
4
|
}
|
|
5
5
|
export interface SearchOptions {
|
|
6
6
|
query: string;
|
|
7
|
+
minSearchScore?: number;
|
|
7
8
|
}
|
|
8
9
|
export type StripeCountryCode = "US" | "GB";
|
|
9
10
|
export type StripeCheckoutInfo = {
|
|
@@ -663,6 +664,7 @@ export type MonthlyRestriction = {
|
|
|
663
664
|
};
|
|
664
665
|
export type CalendarEventLimit = {
|
|
665
666
|
templateId: string;
|
|
667
|
+
otherTemplateIds?: string[];
|
|
666
668
|
period: number;
|
|
667
669
|
limit: number;
|
|
668
670
|
};
|
|
@@ -1394,6 +1396,7 @@ export interface ChatRoom extends ChatRoom_readonly, ChatRoom_required, ChatRoom
|
|
|
1394
1396
|
journeyId?: string;
|
|
1395
1397
|
archivedAt?: Date | '';
|
|
1396
1398
|
trashedAt?: Date | '';
|
|
1399
|
+
groupMentions?: string[];
|
|
1397
1400
|
}
|
|
1398
1401
|
export type ChatAttachmentType = 'image' | 'video' | 'file' | string;
|
|
1399
1402
|
export type ChatAttachment = {
|
|
@@ -1496,7 +1499,7 @@ export interface File_readonly extends ClientRecord {
|
|
|
1496
1499
|
}
|
|
1497
1500
|
export interface File_required {
|
|
1498
1501
|
name: string;
|
|
1499
|
-
type
|
|
1502
|
+
type?: string;
|
|
1500
1503
|
size: number;
|
|
1501
1504
|
}
|
|
1502
1505
|
export interface File_updatesDisabled {
|
|
@@ -1797,6 +1800,12 @@ export type FormFieldOptionDetails = {
|
|
|
1797
1800
|
};
|
|
1798
1801
|
export interface CanvasConsentCategory extends CanvasCoding {
|
|
1799
1802
|
}
|
|
1803
|
+
export type HistoricalDataSourceType = 'Observations' | 'Medications';
|
|
1804
|
+
export type HistoricalDataSource = {
|
|
1805
|
+
type: HistoricalDataSourceType;
|
|
1806
|
+
limit?: number;
|
|
1807
|
+
filter?: Record<string, any>;
|
|
1808
|
+
};
|
|
1800
1809
|
export type FormFieldOptions = FormFieldValidation & {
|
|
1801
1810
|
default?: string;
|
|
1802
1811
|
tableChoices?: TableInputChoice[];
|
|
@@ -1884,6 +1893,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1884
1893
|
elationIsAllergy?: boolean;
|
|
1885
1894
|
elationAppendToNote?: boolean;
|
|
1886
1895
|
elationAppendToNotePrefix?: string;
|
|
1896
|
+
historicalDataSources?: HistoricalDataSource[];
|
|
1887
1897
|
};
|
|
1888
1898
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other' | 'optionDetails' | 'radioChoices'>;
|
|
1889
1899
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -2029,6 +2039,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
2029
2039
|
dontSyncToCanvasOnSubmission?: boolean;
|
|
2030
2040
|
belugaVisitType?: string;
|
|
2031
2041
|
belugaVerificationId?: string;
|
|
2042
|
+
belugaPharmacyMappings?: BelugaPharmacyMapping[];
|
|
2032
2043
|
showByUserTags?: string[];
|
|
2033
2044
|
version?: 'v1' | 'v2';
|
|
2034
2045
|
mdiCaseOfferings?: {
|
|
@@ -2249,6 +2260,11 @@ export type BelugaPatientPreferenceResponse = {
|
|
|
2249
2260
|
dispenseUnit: string;
|
|
2250
2261
|
medId: string;
|
|
2251
2262
|
};
|
|
2263
|
+
export type BelugaPharmacyMapping = {
|
|
2264
|
+
pharmacyId: string;
|
|
2265
|
+
patientPreference: string;
|
|
2266
|
+
conditions: CompoundFilter<string>;
|
|
2267
|
+
};
|
|
2252
2268
|
export type FormResponseAnswerTable = FormResponseValueAnswerBuilder<'Table Input', TableInputCell[][]>;
|
|
2253
2269
|
export type FormResponseAnswerGroup = FormResponseValueAnswerBuilder<'Question Group', FormSubField[]>;
|
|
2254
2270
|
export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', ''>;
|
|
@@ -3418,6 +3434,8 @@ export type AssignInboxItemAutomationAction = AutomationActionBuilder<'assignInb
|
|
|
3418
3434
|
}>;
|
|
3419
3435
|
export type CreateScriptSureDraftAutomationAction = AutomationActionBuilder<'createScriptSureDraft', {
|
|
3420
3436
|
prescriptionRouteId: string;
|
|
3437
|
+
matchMedicationTitle?: string;
|
|
3438
|
+
matchEnduserState?: boolean;
|
|
3421
3439
|
}>;
|
|
3422
3440
|
export type AutomationActionForType = {
|
|
3423
3441
|
'aiDecision': AIDecisionAutomationAction;
|
|
@@ -4587,6 +4605,7 @@ export type AutomationTriggerEvents = {
|
|
|
4587
4605
|
productIds?: string[];
|
|
4588
4606
|
}, {}>;
|
|
4589
4607
|
'Subscription Payment Failed': AutomationTriggerEventBuilder<"Subscription Payment Failed", {}, {}>;
|
|
4608
|
+
'Stripe: Payment Intent Failed': AutomationTriggerEventBuilder<"Stripe: Payment Intent Failed", {}, {}>;
|
|
4590
4609
|
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
4591
4610
|
titles?: string[];
|
|
4592
4611
|
templateIds?: string[];
|
|
@@ -5058,6 +5077,7 @@ export type TimeTrackTimestamp = {
|
|
|
5058
5077
|
export interface TimeTrack_readonly extends ClientRecord {
|
|
5059
5078
|
}
|
|
5060
5079
|
export interface TimeTrack_updatesDisabled {
|
|
5080
|
+
isHistorical?: boolean;
|
|
5061
5081
|
}
|
|
5062
5082
|
export interface TimeTrack_required {
|
|
5063
5083
|
title: string;
|
|
@@ -5073,6 +5093,16 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
|
|
|
5073
5093
|
type: string;
|
|
5074
5094
|
id: string;
|
|
5075
5095
|
};
|
|
5096
|
+
correctedAt?: Date | '';
|
|
5097
|
+
correctedByUserId?: string;
|
|
5098
|
+
correctionNote?: string;
|
|
5099
|
+
originalTotalDurationInMS?: number;
|
|
5100
|
+
reviewedAt?: Date | '';
|
|
5101
|
+
reviewedByUserId?: string;
|
|
5102
|
+
reviewApproved?: boolean;
|
|
5103
|
+
reviewNote?: string;
|
|
5104
|
+
lockedAt?: Date | '';
|
|
5105
|
+
lockedByUserId?: string;
|
|
5076
5106
|
}
|
|
5077
5107
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
5078
5108
|
count?: number;
|