@tellescope/types-models 1.153.1 → 1.155.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 +30 -4
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +30 -4
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +25 -4
package/src/index.ts
CHANGED
|
@@ -204,6 +204,7 @@ export type OrganizationSettings = {
|
|
|
204
204
|
requireDueDate?: boolean,
|
|
205
205
|
allowArchival?: boolean,
|
|
206
206
|
returnToTicketsList?: boolean,
|
|
207
|
+
dontAddToCareTeamOnTicketAssignment?: boolean,
|
|
207
208
|
},
|
|
208
209
|
calendar?: {
|
|
209
210
|
dayStart?: {
|
|
@@ -849,6 +850,7 @@ export interface EnduserMedication extends EnduserMedication_readonly, EnduserMe
|
|
|
849
850
|
pharmacyName?: string,
|
|
850
851
|
pharmacyId?: string,
|
|
851
852
|
orderStatus?: string,
|
|
853
|
+
reasonForTaking?: string,
|
|
852
854
|
}
|
|
853
855
|
|
|
854
856
|
export interface APIKey_readonly extends ClientRecord {
|
|
@@ -1570,6 +1572,7 @@ export type FormCustomization = {
|
|
|
1570
1572
|
hideLogo?: boolean,
|
|
1571
1573
|
multiPagePublicQuestions?: boolean,
|
|
1572
1574
|
hideBg?: boolean,
|
|
1575
|
+
portalShowThanksAfterSubmission?: boolean,
|
|
1573
1576
|
}
|
|
1574
1577
|
export interface Form_readonly extends ClientRecord {
|
|
1575
1578
|
numFields: number,
|
|
@@ -1623,6 +1626,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
|
|
|
1623
1626
|
}[]
|
|
1624
1627
|
hideAfterUnsubmittedInMS?: number,
|
|
1625
1628
|
hideFromCompose?: boolean,
|
|
1629
|
+
enduserFieldsToAppendForSync?: string[],
|
|
1626
1630
|
}
|
|
1627
1631
|
|
|
1628
1632
|
export interface FormGroup_readonly extends ClientRecord {}
|
|
@@ -2073,6 +2077,8 @@ export type EnduserFormResponseForEvent = {
|
|
|
2073
2077
|
accessCode: string,
|
|
2074
2078
|
}
|
|
2075
2079
|
|
|
2080
|
+
export type GroupCancellation = { at: Date, id: string }
|
|
2081
|
+
|
|
2076
2082
|
export interface CalendarEventPortalSettings {
|
|
2077
2083
|
hideUsers?: boolean,
|
|
2078
2084
|
}
|
|
@@ -2147,10 +2153,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2147
2153
|
holdUntil?: Date,
|
|
2148
2154
|
holdFormResponseId?: string,
|
|
2149
2155
|
tags?: string[],
|
|
2150
|
-
cancelledGroupAttendees?:
|
|
2151
|
-
id: string,
|
|
2152
|
-
at: Date,
|
|
2153
|
-
}[],
|
|
2156
|
+
cancelledGroupAttendees?: GroupCancellation[],
|
|
2154
2157
|
useUserURL?: boolean,
|
|
2155
2158
|
healthieZoomStartURL?: string,
|
|
2156
2159
|
healthieZoomJoinURL?: string,
|
|
@@ -2165,6 +2168,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
2165
2168
|
displayDescription?: string,
|
|
2166
2169
|
dontBlockAvailability?: boolean,
|
|
2167
2170
|
previousStartTimes?: (number | string)[],
|
|
2171
|
+
requirePortalCancelReason?: boolean,
|
|
2168
2172
|
// isAllDay?: boolean,
|
|
2169
2173
|
}
|
|
2170
2174
|
|
|
@@ -2282,6 +2286,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2282
2286
|
displayTitle?: string,
|
|
2283
2287
|
displayDescription?: string,
|
|
2284
2288
|
requiresEnduser?: boolean,
|
|
2289
|
+
requirePortalCancelReason?: boolean,
|
|
2285
2290
|
}
|
|
2286
2291
|
|
|
2287
2292
|
export interface AppointmentLocation_readonly extends ClientRecord {}
|
|
@@ -3402,6 +3407,7 @@ export const resource_to_modelName: { [K in AnalyticsQueryType] : ModelName } =
|
|
|
3402
3407
|
export type AnalyticsQueryOptions = {
|
|
3403
3408
|
createdRange?: DateRange,
|
|
3404
3409
|
updatedRange?: DateRange,
|
|
3410
|
+
overrideGlobalRange?: boolean,
|
|
3405
3411
|
groupByCareTeam?: boolean, // supports multi-grouping for both care team and a normal field
|
|
3406
3412
|
}
|
|
3407
3413
|
|
|
@@ -3601,6 +3607,7 @@ export type AutomationTriggerEvents = {
|
|
|
3601
3607
|
'Message Link Clicked': AutomationTriggerEventBuilder<"Message Link Clicked", { templateIds?: string[] }, {}>,
|
|
3602
3608
|
'Healthie Note Locked': AutomationTriggerEventBuilder<"Healthie Note Locked", { healthieFormIds?: string[] }, {}>,
|
|
3603
3609
|
'Database Entry Added': AutomationTriggerEventBuilder<"Database Entry Added", { databaseId: string }, {}>,
|
|
3610
|
+
'Form Started': AutomationTriggerEventBuilder<"Form Started", { formIds?: string[] }, {}>,
|
|
3604
3611
|
}
|
|
3605
3612
|
export type AutomationTriggerEventType = keyof AutomationTriggerEvents
|
|
3606
3613
|
export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType]
|
|
@@ -4112,7 +4119,17 @@ export interface DiagnosisCode_required {
|
|
|
4112
4119
|
export interface DiagnosisCode_updatesDisabled {}
|
|
4113
4120
|
export interface DiagnosisCode extends DiagnosisCode_readonly, DiagnosisCode_required, DiagnosisCode_updatesDisabled {}
|
|
4114
4121
|
|
|
4122
|
+
export interface AllergyCode_readonly extends ClientRecord {}
|
|
4123
|
+
export interface AllergyCode_required {
|
|
4124
|
+
code: string,
|
|
4125
|
+
display: string,
|
|
4126
|
+
system: string,
|
|
4127
|
+
}
|
|
4128
|
+
export interface AllergyCode_updatesDisabled {}
|
|
4129
|
+
export interface AllergyCode extends AllergyCode_readonly, AllergyCode_required, AllergyCode_updatesDisabled {}
|
|
4130
|
+
|
|
4115
4131
|
export type ModelForName_required = {
|
|
4132
|
+
allergy_codes: AllergyCode_required,
|
|
4116
4133
|
diagnosis_codes: DiagnosisCode_required,
|
|
4117
4134
|
suggested_contacts: SuggestedContact_required,
|
|
4118
4135
|
call_hold_queues: CallHoldQueue_required,
|
|
@@ -4198,6 +4215,7 @@ export type ModelForName_required = {
|
|
|
4198
4215
|
export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
|
|
4199
4216
|
|
|
4200
4217
|
export interface ModelForName_readonly {
|
|
4218
|
+
allergy_codes: AllergyCode_readonly,
|
|
4201
4219
|
diagnosis_codes: DiagnosisCode_readonly,
|
|
4202
4220
|
suggested_contacts: SuggestedContact_readonly,
|
|
4203
4221
|
call_hold_queues: CallHoldQueue_readonly,
|
|
@@ -4283,6 +4301,7 @@ export interface ModelForName_readonly {
|
|
|
4283
4301
|
export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
|
|
4284
4302
|
|
|
4285
4303
|
export interface ModelForName_updatesDisabled {
|
|
4304
|
+
allergy_codes: AllergyCode_updatesDisabled,
|
|
4286
4305
|
diagnosis_codes: DiagnosisCode_updatesDisabled,
|
|
4287
4306
|
suggested_contacts: SuggestedContact_updatesDisabled,
|
|
4288
4307
|
call_hold_queues: CallHoldQueue_updatesDisabled,
|
|
@@ -4368,6 +4387,7 @@ export interface ModelForName_updatesDisabled {
|
|
|
4368
4387
|
export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
|
|
4369
4388
|
|
|
4370
4389
|
export interface ModelForName extends ModelForName_required, ModelForName_readonly {
|
|
4390
|
+
allergy_codes: AllergyCode,
|
|
4371
4391
|
diagnosis_codes: DiagnosisCode,
|
|
4372
4392
|
suggested_contacts: SuggestedContact,
|
|
4373
4393
|
call_hold_queues: CallHoldQueue,
|
|
@@ -4463,6 +4483,7 @@ export interface UserActivityInfo {
|
|
|
4463
4483
|
export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
|
|
4464
4484
|
|
|
4465
4485
|
export const modelNameChecker: { [K in ModelName] : true } = {
|
|
4486
|
+
allergy_codes: true,
|
|
4466
4487
|
diagnosis_codes: true,
|
|
4467
4488
|
suggested_contacts: true,
|
|
4468
4489
|
call_hold_queues: true,
|