@tellescope/types-models 1.245.1 → 1.246.1
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 +27 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +27 -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 +32 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -663,6 +663,7 @@ export type MonthlyRestriction = {
|
|
|
663
663
|
};
|
|
664
664
|
export type CalendarEventLimit = {
|
|
665
665
|
templateId: string;
|
|
666
|
+
otherTemplateIds?: string[];
|
|
666
667
|
period: number;
|
|
667
668
|
limit: number;
|
|
668
669
|
};
|
|
@@ -1496,7 +1497,7 @@ export interface File_readonly extends ClientRecord {
|
|
|
1496
1497
|
}
|
|
1497
1498
|
export interface File_required {
|
|
1498
1499
|
name: string;
|
|
1499
|
-
type
|
|
1500
|
+
type?: string;
|
|
1500
1501
|
size: number;
|
|
1501
1502
|
}
|
|
1502
1503
|
export interface File_updatesDisabled {
|
|
@@ -1797,6 +1798,12 @@ export type FormFieldOptionDetails = {
|
|
|
1797
1798
|
};
|
|
1798
1799
|
export interface CanvasConsentCategory extends CanvasCoding {
|
|
1799
1800
|
}
|
|
1801
|
+
export type HistoricalDataSourceType = 'Observations' | 'Medications';
|
|
1802
|
+
export type HistoricalDataSource = {
|
|
1803
|
+
type: HistoricalDataSourceType;
|
|
1804
|
+
limit?: number;
|
|
1805
|
+
filter?: Record<string, any>;
|
|
1806
|
+
};
|
|
1800
1807
|
export type FormFieldOptions = FormFieldValidation & {
|
|
1801
1808
|
default?: string;
|
|
1802
1809
|
tableChoices?: TableInputChoice[];
|
|
@@ -1884,6 +1891,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1884
1891
|
elationIsAllergy?: boolean;
|
|
1885
1892
|
elationAppendToNote?: boolean;
|
|
1886
1893
|
elationAppendToNotePrefix?: string;
|
|
1894
|
+
historicalDataSources?: HistoricalDataSource[];
|
|
1887
1895
|
};
|
|
1888
1896
|
export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other' | 'optionDetails' | 'radioChoices'>;
|
|
1889
1897
|
export type FormFieldCalloutConditionComparison = 'Equals';
|
|
@@ -2029,6 +2037,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
2029
2037
|
dontSyncToCanvasOnSubmission?: boolean;
|
|
2030
2038
|
belugaVisitType?: string;
|
|
2031
2039
|
belugaVerificationId?: string;
|
|
2040
|
+
belugaPharmacyMappings?: BelugaPharmacyMapping[];
|
|
2032
2041
|
showByUserTags?: string[];
|
|
2033
2042
|
version?: 'v1' | 'v2';
|
|
2034
2043
|
mdiCaseOfferings?: {
|
|
@@ -2249,6 +2258,11 @@ export type BelugaPatientPreferenceResponse = {
|
|
|
2249
2258
|
dispenseUnit: string;
|
|
2250
2259
|
medId: string;
|
|
2251
2260
|
};
|
|
2261
|
+
export type BelugaPharmacyMapping = {
|
|
2262
|
+
pharmacyId: string;
|
|
2263
|
+
patientPreference: string;
|
|
2264
|
+
conditions: CompoundFilter<string>;
|
|
2265
|
+
};
|
|
2252
2266
|
export type FormResponseAnswerTable = FormResponseValueAnswerBuilder<'Table Input', TableInputCell[][]>;
|
|
2253
2267
|
export type FormResponseAnswerGroup = FormResponseValueAnswerBuilder<'Question Group', FormSubField[]>;
|
|
2254
2268
|
export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', ''>;
|
|
@@ -4587,6 +4601,7 @@ export type AutomationTriggerEvents = {
|
|
|
4587
4601
|
productIds?: string[];
|
|
4588
4602
|
}, {}>;
|
|
4589
4603
|
'Subscription Payment Failed': AutomationTriggerEventBuilder<"Subscription Payment Failed", {}, {}>;
|
|
4604
|
+
'Stripe: Payment Intent Failed': AutomationTriggerEventBuilder<"Stripe: Payment Intent Failed", {}, {}>;
|
|
4590
4605
|
'Appointment No-Showed': AutomationTriggerEventBuilder<"Appointment No-Showed", {
|
|
4591
4606
|
titles?: string[];
|
|
4592
4607
|
templateIds?: string[];
|
|
@@ -5058,6 +5073,7 @@ export type TimeTrackTimestamp = {
|
|
|
5058
5073
|
export interface TimeTrack_readonly extends ClientRecord {
|
|
5059
5074
|
}
|
|
5060
5075
|
export interface TimeTrack_updatesDisabled {
|
|
5076
|
+
isHistorical?: boolean;
|
|
5061
5077
|
}
|
|
5062
5078
|
export interface TimeTrack_required {
|
|
5063
5079
|
title: string;
|
|
@@ -5073,6 +5089,16 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
|
|
|
5073
5089
|
type: string;
|
|
5074
5090
|
id: string;
|
|
5075
5091
|
};
|
|
5092
|
+
correctedAt?: Date | '';
|
|
5093
|
+
correctedByUserId?: string;
|
|
5094
|
+
correctionNote?: string;
|
|
5095
|
+
originalTotalDurationInMS?: number;
|
|
5096
|
+
reviewedAt?: Date | '';
|
|
5097
|
+
reviewedByUserId?: string;
|
|
5098
|
+
reviewApproved?: boolean;
|
|
5099
|
+
reviewNote?: string;
|
|
5100
|
+
lockedAt?: Date | '';
|
|
5101
|
+
lockedByUserId?: string;
|
|
5076
5102
|
}
|
|
5077
5103
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
5078
5104
|
count?: number;
|