@tellescope/types-models 1.83.1 → 1.84.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 +29 -1
- 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 +29 -1
- 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 +2 -2
- package/src/index.ts +32 -3
package/lib/cjs/index.d.ts
CHANGED
|
@@ -193,6 +193,10 @@ export type OrganizationSettings = {
|
|
|
193
193
|
export type OrganizationLimits = {
|
|
194
194
|
[K in ModelName]?: number;
|
|
195
195
|
};
|
|
196
|
+
export type BasicWebhook = {
|
|
197
|
+
label: string;
|
|
198
|
+
url: string;
|
|
199
|
+
};
|
|
196
200
|
export interface Organization_readonly extends ClientRecord {
|
|
197
201
|
subscriptionExpiresAt: Date;
|
|
198
202
|
subscriptionPeriod: number;
|
|
@@ -277,6 +281,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
277
281
|
videoCallBackgroundImage?: string;
|
|
278
282
|
sendToVoicemailOOO?: boolean;
|
|
279
283
|
outOfOfficeVoicemail?: PhonePlayback;
|
|
284
|
+
enduserProfileWebhooks?: BasicWebhook[];
|
|
280
285
|
}
|
|
281
286
|
export type OrganizationTheme = {
|
|
282
287
|
name: string;
|
|
@@ -368,6 +373,7 @@ export type WeeklyAvailability = {
|
|
|
368
373
|
intervalInMinutes?: number;
|
|
369
374
|
active?: DateRange;
|
|
370
375
|
locationId?: string;
|
|
376
|
+
locationIds?: string[];
|
|
371
377
|
validTemplateIds?: string[];
|
|
372
378
|
};
|
|
373
379
|
export type NotificationPreference = {
|
|
@@ -1076,6 +1082,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1076
1082
|
requireConfirmation?: boolean;
|
|
1077
1083
|
reminders?: TicketReminder[];
|
|
1078
1084
|
preserveContext?: boolean;
|
|
1085
|
+
phoneCallId?: string;
|
|
1079
1086
|
}
|
|
1080
1087
|
export type AttendeeInfo = {
|
|
1081
1088
|
ExternalUserId: string;
|
|
@@ -1262,6 +1269,7 @@ export type FormType = 'note' | 'enduserFacing';
|
|
|
1262
1269
|
export type FormCustomization = {
|
|
1263
1270
|
publicFormHTMLDescription?: string;
|
|
1264
1271
|
publicFormSubmitHTMLDescription?: string;
|
|
1272
|
+
logoHeight?: number;
|
|
1265
1273
|
publicLabelPrefix?: string;
|
|
1266
1274
|
hideProgressBar?: boolean;
|
|
1267
1275
|
showRestartAtEnd?: boolean;
|
|
@@ -1690,6 +1698,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1690
1698
|
bufferStartMinutes?: number;
|
|
1691
1699
|
bufferEndMinutes?: number;
|
|
1692
1700
|
canvasCoding?: CanvasCoding;
|
|
1701
|
+
canvasLocationId?: string;
|
|
1693
1702
|
}
|
|
1694
1703
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1695
1704
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -1810,6 +1819,7 @@ export interface AppointmentLocation extends AppointmentLocation_readonly, Appoi
|
|
|
1810
1819
|
state?: string;
|
|
1811
1820
|
phone?: string;
|
|
1812
1821
|
timezone?: Timezone;
|
|
1822
|
+
canvasLocationId?: string;
|
|
1813
1823
|
}
|
|
1814
1824
|
export type AppointmentTerm = {
|
|
1815
1825
|
title: string;
|
|
@@ -2225,6 +2235,12 @@ export interface EnduserObservation extends EnduserObservation_readonly, Enduser
|
|
|
2225
2235
|
externalId?: string;
|
|
2226
2236
|
deviceId?: string;
|
|
2227
2237
|
references?: RelatedRecord[];
|
|
2238
|
+
reviewedAt?: Date;
|
|
2239
|
+
reviewedBy?: string;
|
|
2240
|
+
classifications?: {
|
|
2241
|
+
configurationId: string;
|
|
2242
|
+
classification: string;
|
|
2243
|
+
}[];
|
|
2228
2244
|
}
|
|
2229
2245
|
export type BlockType = 'h1' | 'h2' | 'html' | 'image' | 'youtube' | 'pdf' | 'iframe';
|
|
2230
2246
|
export type ContentBlockBuilder<BLOCK extends BlockType, INFO extends object> = {
|
|
@@ -2302,7 +2318,7 @@ export interface ManagedContentRecordAssignment_updatesDisabled {
|
|
|
2302
2318
|
}
|
|
2303
2319
|
export interface ManagedContentRecordAssignment extends ManagedContentRecordAssignment_readonly, ManagedContentRecordAssignment_required, ManagedContentRecordAssignment_updatesDisabled {
|
|
2304
2320
|
}
|
|
2305
|
-
export type PortalPage = "Home" | "Care Plan" | "Documents" | "Education" | "Community" | "Communications" | "Appointment Booking";
|
|
2321
|
+
export type PortalPage = "Home" | "Care Plan" | "Documents" | "Education" | "My Events" | "Community" | "Communications" | "Appointment Booking";
|
|
2306
2322
|
type BuildPortalBlockInfo<T, I> = {
|
|
2307
2323
|
type: T;
|
|
2308
2324
|
info: I;
|
|
@@ -2949,6 +2965,7 @@ export type Address = {
|
|
|
2949
2965
|
state: string;
|
|
2950
2966
|
zipCode: string;
|
|
2951
2967
|
zipPlusFour?: string;
|
|
2968
|
+
title?: string;
|
|
2952
2969
|
};
|
|
2953
2970
|
type SuperbillProviderInfoRequired = {
|
|
2954
2971
|
phone: string;
|
|
@@ -3195,6 +3212,9 @@ export interface TicketQueue_required {
|
|
|
3195
3212
|
userIds: string[];
|
|
3196
3213
|
}
|
|
3197
3214
|
export interface TicketQueue extends TicketQueue_readonly, TicketQueue_required, TicketQueue_updatesDisabled {
|
|
3215
|
+
type?: string;
|
|
3216
|
+
defaultFromNumber?: string;
|
|
3217
|
+
enduserFields?: string[];
|
|
3198
3218
|
}
|
|
3199
3219
|
export interface EnduserOrder_readonly extends ClientRecord {
|
|
3200
3220
|
}
|
|
@@ -3216,6 +3236,11 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
3216
3236
|
}[];
|
|
3217
3237
|
tracking?: string;
|
|
3218
3238
|
}
|
|
3239
|
+
export type CandidProcedureCode = {
|
|
3240
|
+
code: string;
|
|
3241
|
+
quantity: number;
|
|
3242
|
+
units: 'MJ' | 'UN';
|
|
3243
|
+
};
|
|
3219
3244
|
export declare const DIAGNOSIS_TYPE_MAPPING: {
|
|
3220
3245
|
ABF: string;
|
|
3221
3246
|
ABJ: string;
|
|
@@ -3233,6 +3258,7 @@ export type DiagnosisType = keyof DiagnosisTypes;
|
|
|
3233
3258
|
export type Diagnosis = {
|
|
3234
3259
|
type: keyof DiagnosisTypes;
|
|
3235
3260
|
code: string;
|
|
3261
|
+
procedureCodes?: CandidProcedureCode[];
|
|
3236
3262
|
};
|
|
3237
3263
|
export interface EnduserEncounter_readonly extends ClientRecord {
|
|
3238
3264
|
externalId?: string;
|
|
@@ -3250,6 +3276,8 @@ export interface EnduserEncounter extends EnduserEncounter_readonly, EnduserEnco
|
|
|
3250
3276
|
diagnoses: Diagnosis[];
|
|
3251
3277
|
authorizedRelease: boolean;
|
|
3252
3278
|
placeOfServiceCode: string;
|
|
3279
|
+
billingProviderAddress?: Address;
|
|
3280
|
+
serviceFacilityAddress?: Address;
|
|
3253
3281
|
error?: string;
|
|
3254
3282
|
}
|
|
3255
3283
|
export interface TicketQueue_readonly extends ClientRecord {
|