@tellescope/types-models 1.122.0 → 1.123.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 +19 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +19 -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 +2 -2
- package/src/index.ts +20 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -177,6 +177,7 @@ export type OrganizationSettings = {
|
|
|
177
177
|
showCommunications?: boolean;
|
|
178
178
|
showJourneys?: boolean;
|
|
179
179
|
requireDueDate?: boolean;
|
|
180
|
+
allowArchival?: boolean;
|
|
180
181
|
};
|
|
181
182
|
calendar?: {
|
|
182
183
|
dayStart?: {
|
|
@@ -354,6 +355,7 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
354
355
|
title: string;
|
|
355
356
|
iframeURL: string;
|
|
356
357
|
}[];
|
|
358
|
+
stripePublicKeys?: string[];
|
|
357
359
|
}
|
|
358
360
|
export type OrganizationTheme = {
|
|
359
361
|
name: string;
|
|
@@ -538,6 +540,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
538
540
|
requiresMFAConfiguration?: boolean;
|
|
539
541
|
templateFields?: LabeledField[];
|
|
540
542
|
dashboardView?: CustomDashboardView;
|
|
543
|
+
hideFromCalendarView?: boolean;
|
|
541
544
|
}
|
|
542
545
|
export type Preference = 'email' | 'sms' | 'call' | 'chat';
|
|
543
546
|
export type CustomField = string | number | object | {
|
|
@@ -572,7 +575,7 @@ export type ScheduledJourney = {
|
|
|
572
575
|
addAt: Date;
|
|
573
576
|
};
|
|
574
577
|
export type EnduserRelationship = {
|
|
575
|
-
type: ('Parent' | 'Child' | 'Spouse' | 'Partner' | 'Sibling' | 'Grandparent' | 'Grandchild' | 'Caregiver' | 'Caretaker' | 'Care Recipient' | 'Power of Attorney' | 'Power of Attorney For' | "Emergency Contact" | "Emergency Contact For" | 'Relates To');
|
|
578
|
+
type: ('Parent' | 'Child' | 'Spouse' | 'Partner' | 'Sibling' | 'Grandparent' | 'Grandchild' | 'Caregiver' | 'Caretaker' | 'Care Recipient' | 'Power of Attorney' | 'Power of Attorney For' | "Emergency Contact" | "Emergency Contact For" | "Care Partner" | 'Relates To');
|
|
576
579
|
id: string;
|
|
577
580
|
};
|
|
578
581
|
export type Language = {
|
|
@@ -696,6 +699,8 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
|
|
|
696
699
|
defaultFromPhone?: string;
|
|
697
700
|
defaultFromEmail?: string;
|
|
698
701
|
useDefaultFromEmailInAutomations?: boolean;
|
|
702
|
+
stripeCustomerId?: string;
|
|
703
|
+
stripeKey?: string;
|
|
699
704
|
}
|
|
700
705
|
export interface EnduserCustomType_readonly extends ClientRecord {
|
|
701
706
|
}
|
|
@@ -1234,12 +1239,14 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
|
|
|
1234
1239
|
reminders?: TicketReminder[];
|
|
1235
1240
|
preserveContext?: boolean;
|
|
1236
1241
|
phoneCallId?: string;
|
|
1242
|
+
smsId?: string;
|
|
1237
1243
|
calendarEventId?: string;
|
|
1238
1244
|
observationId?: string;
|
|
1239
1245
|
tags?: string[];
|
|
1240
1246
|
restrictByState?: string;
|
|
1241
1247
|
restrictByTags?: string[];
|
|
1242
1248
|
restrictByTagsQualifier?: ListQueryQualifier;
|
|
1249
|
+
archiveReason?: string;
|
|
1243
1250
|
}
|
|
1244
1251
|
export type AttendeeInfo = {
|
|
1245
1252
|
ExternalUserId: string;
|
|
@@ -1949,6 +1956,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
|
|
|
1949
1956
|
healthieZoomStartURL?: string;
|
|
1950
1957
|
healthieZoomJoinURL?: string;
|
|
1951
1958
|
instructions?: string;
|
|
1959
|
+
scheduledBy?: string;
|
|
1952
1960
|
}
|
|
1953
1961
|
export type PaymentProcessor = 'Square' | 'Stripe';
|
|
1954
1962
|
export interface Product_readonly extends ClientRecord {
|
|
@@ -1995,6 +2003,7 @@ export interface Purchase extends Purchase_readonly, Purchase_required, Purchase
|
|
|
1995
2003
|
externalId?: string;
|
|
1996
2004
|
cptCode?: BillingCode;
|
|
1997
2005
|
notes?: string;
|
|
2006
|
+
references?: RelatedRecord[];
|
|
1998
2007
|
}
|
|
1999
2008
|
type BuildPurchaseCreditInfo<T, I> = {
|
|
2000
2009
|
type: T;
|
|
@@ -2034,6 +2043,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
|
|
|
2034
2043
|
type?: string;
|
|
2035
2044
|
enableVideoCall?: boolean;
|
|
2036
2045
|
videoIntegration?: VideoIntegrationType;
|
|
2046
|
+
generateZoomLinkWhenBooked?: boolean;
|
|
2037
2047
|
enableSelfScheduling?: boolean;
|
|
2038
2048
|
restrictedByState?: boolean;
|
|
2039
2049
|
publicRead?: boolean;
|
|
@@ -2674,6 +2684,9 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
|
|
|
2674
2684
|
iframeURL?: string;
|
|
2675
2685
|
iconURL?: string;
|
|
2676
2686
|
activeIconURL?: string;
|
|
2687
|
+
showStripePortalLink?: boolean;
|
|
2688
|
+
hideCancellatation?: boolean;
|
|
2689
|
+
hiddenEventTitles?: string[];
|
|
2677
2690
|
}
|
|
2678
2691
|
export declare const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000;
|
|
2679
2692
|
export declare const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: {
|
|
@@ -3320,6 +3333,10 @@ export type AutomationTriggerEvents = {
|
|
|
3320
3333
|
phoneNumbers?: string[];
|
|
3321
3334
|
inputs?: string[];
|
|
3322
3335
|
}, {}>;
|
|
3336
|
+
'Left Voicemail': AutomationTriggerEventBuilder<"Left Voicemail", {
|
|
3337
|
+
phoneNumbers?: string[];
|
|
3338
|
+
inputs?: string[];
|
|
3339
|
+
}, {}>;
|
|
3323
3340
|
'Order Created': AutomationTriggerEventBuilder<"Order Created", {
|
|
3324
3341
|
titles?: string[];
|
|
3325
3342
|
}, {}>;
|
|
@@ -3331,6 +3348,7 @@ export type AutomationTriggerEvents = {
|
|
|
3331
3348
|
noCareTeam?: boolean;
|
|
3332
3349
|
destinations?: string[];
|
|
3333
3350
|
channels?: string[];
|
|
3351
|
+
keywords?: string[];
|
|
3334
3352
|
}, {}>;
|
|
3335
3353
|
'Pregnancy Ended': AutomationTriggerEventBuilder<"Pregnancy Ended", {
|
|
3336
3354
|
reason?: string;
|