@tellescope/types-models 1.175.0 → 1.177.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 +23 -2
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +23 -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 +18 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -394,6 +394,8 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
394
394
|
groups?: string[];
|
|
395
395
|
observationInvalidationReasons?: string[];
|
|
396
396
|
chargebeeEnvironments?: string[];
|
|
397
|
+
customNotificationTypes?: string[];
|
|
398
|
+
hasConnectedMedplum?: boolean;
|
|
397
399
|
}
|
|
398
400
|
export type OrganizationTheme = {
|
|
399
401
|
name: string;
|
|
@@ -558,6 +560,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
558
560
|
pushNotificationDestinations?: string[];
|
|
559
561
|
drChronoId?: string;
|
|
560
562
|
canvasId?: string;
|
|
563
|
+
medplumId?: string;
|
|
561
564
|
zoomId?: string;
|
|
562
565
|
zendeskId?: number;
|
|
563
566
|
tags?: string[];
|
|
@@ -960,6 +963,7 @@ export interface Journey extends Journey_readonly, Journey_required, Journey_upd
|
|
|
960
963
|
description?: string;
|
|
961
964
|
onIncomingEnduserCommunication?: 'Remove' | '';
|
|
962
965
|
tags?: string[];
|
|
966
|
+
archivedAt?: Date | '';
|
|
963
967
|
}
|
|
964
968
|
export interface TextCommunication extends WithLinkOpenTrackingIds {
|
|
965
969
|
automationStepId?: string;
|
|
@@ -1195,6 +1199,7 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
|
|
|
1195
1199
|
forEntityTypes?: string[];
|
|
1196
1200
|
hideFromCompose?: boolean;
|
|
1197
1201
|
tags?: string[];
|
|
1202
|
+
archivedAt?: Date | '';
|
|
1198
1203
|
}
|
|
1199
1204
|
export interface MessageTemplateSnippet_readonly extends ClientRecord {
|
|
1200
1205
|
}
|
|
@@ -1336,6 +1341,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1336
1341
|
restrictByTagsQualifier?: ListQueryQualifier;
|
|
1337
1342
|
archiveReason?: string;
|
|
1338
1343
|
contextFormIds?: string[];
|
|
1344
|
+
triggerFileId?: string;
|
|
1339
1345
|
orderId?: string;
|
|
1340
1346
|
contextEnduserFields?: string[];
|
|
1341
1347
|
isTodo?: boolean;
|
|
@@ -1592,6 +1598,7 @@ export interface Form_required {
|
|
|
1592
1598
|
export interface Form_updatesDisabled {
|
|
1593
1599
|
}
|
|
1594
1600
|
export interface Form extends Form_readonly, Form_required, Form_updatesDisabled {
|
|
1601
|
+
archivedAt?: Date | '';
|
|
1595
1602
|
displayTitle?: string;
|
|
1596
1603
|
description?: string;
|
|
1597
1604
|
customSubject?: string;
|
|
@@ -1710,6 +1717,8 @@ export interface Integration extends Integration_readonly, Integration_required,
|
|
|
1710
1717
|
default_dietitian_id?: string;
|
|
1711
1718
|
dontPushCalendarEvent?: boolean;
|
|
1712
1719
|
dontPullCalendarEvent?: boolean;
|
|
1720
|
+
pushAddedTags?: boolean;
|
|
1721
|
+
pushRemovedTags?: boolean;
|
|
1713
1722
|
}
|
|
1714
1723
|
export type BuildDatabaseRecordField<K extends string, V, O> = {
|
|
1715
1724
|
type: K;
|
|
@@ -2056,6 +2065,7 @@ type BuildCalendarEventReminderInfo<T, I> = {
|
|
|
2056
2065
|
msBeforeStartTime: number;
|
|
2057
2066
|
dontSendIfPassed?: boolean;
|
|
2058
2067
|
didRemind?: boolean;
|
|
2068
|
+
dontSendIfJoined?: boolean;
|
|
2059
2069
|
};
|
|
2060
2070
|
export type CalendarEventReminderInfoForType = {
|
|
2061
2071
|
"webhook": BuildCalendarEventReminderInfo<'webhook', {}>;
|
|
@@ -2182,6 +2192,10 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2182
2192
|
startLinkToken?: string;
|
|
2183
2193
|
canvasEncounterId?: string;
|
|
2184
2194
|
allowGroupReschedule?: boolean;
|
|
2195
|
+
joinedVideoCall?: {
|
|
2196
|
+
id: string;
|
|
2197
|
+
at: Date;
|
|
2198
|
+
}[];
|
|
2185
2199
|
}
|
|
2186
2200
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
2187
2201
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -2267,6 +2281,7 @@ export interface CalendarEventTemplate_required {
|
|
|
2267
2281
|
export interface CalendarEventTemplate_updatesDisabled {
|
|
2268
2282
|
}
|
|
2269
2283
|
export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, CalendarEventTemplate_required, CalendarEventTemplate_updatesDisabled {
|
|
2284
|
+
archivedAt?: Date | '';
|
|
2270
2285
|
type?: string;
|
|
2271
2286
|
enableVideoCall?: boolean;
|
|
2272
2287
|
videoIntegration?: VideoIntegrationType;
|
|
@@ -2381,6 +2396,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2381
2396
|
publicUserFilterTags?: string[];
|
|
2382
2397
|
appointmentSlotsMaxHeight?: number;
|
|
2383
2398
|
includeRelatedContactTypes?: string[];
|
|
2399
|
+
archivedAt?: Date | '';
|
|
2384
2400
|
}
|
|
2385
2401
|
export interface CalendarEventRSVP_readonly extends ClientRecord {
|
|
2386
2402
|
creatorType: SessionType;
|
|
@@ -3804,9 +3820,12 @@ export type AutomationTriggerEvents = {
|
|
|
3804
3820
|
'Form Started': AutomationTriggerEventBuilder<"Form Started", {
|
|
3805
3821
|
formIds?: string[];
|
|
3806
3822
|
}, {}>;
|
|
3807
|
-
"Eligibility Result Received":
|
|
3823
|
+
"Eligibility Result Received": AutomationTriggerEventBuilder<'Eligibility Result Received', {
|
|
3808
3824
|
source: string;
|
|
3809
|
-
}>;
|
|
3825
|
+
}, {}>;
|
|
3826
|
+
'File Added': AutomationTriggerEventBuilder<"File Added", {
|
|
3827
|
+
source: string;
|
|
3828
|
+
}, {}>;
|
|
3810
3829
|
};
|
|
3811
3830
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
|
|
3812
3831
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
|
|
@@ -3829,6 +3848,7 @@ export interface AutomationTrigger extends AutomationTrigger_readonly, Automatio
|
|
|
3829
3848
|
tags?: string[];
|
|
3830
3849
|
availabilityTimezone?: Timezone;
|
|
3831
3850
|
weeklyAvailabilities?: WeeklyAvailability[];
|
|
3851
|
+
archivedAt?: Date | '';
|
|
3832
3852
|
}
|
|
3833
3853
|
export type Address = {
|
|
3834
3854
|
lineOne: string;
|
|
@@ -4881,6 +4901,7 @@ export type JourneyContext = {
|
|
|
4881
4901
|
databaseRecordId?: string;
|
|
4882
4902
|
databaseRecordCreator?: string;
|
|
4883
4903
|
eligibilityResultId?: string;
|
|
4904
|
+
fileId?: string;
|
|
4884
4905
|
};
|
|
4885
4906
|
export declare const TIMEZONE_MAP: {
|
|
4886
4907
|
readonly "Africa/Abidjan": "+00:00";
|