@tellescope/types-models 1.246.2 → 1.248.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 +28 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +28 -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 +34 -8
package/lib/cjs/index.d.ts
CHANGED
|
@@ -497,6 +497,8 @@ export interface Organization extends Organization_readonly, Organization_requir
|
|
|
497
497
|
label: string;
|
|
498
498
|
number: string;
|
|
499
499
|
}[];
|
|
500
|
+
faxCoverPageEnabled?: boolean;
|
|
501
|
+
faxCoverPageId?: string;
|
|
500
502
|
mfaxAccountId?: string;
|
|
501
503
|
athenaFieldsSync?: AthenaFieldSync[];
|
|
502
504
|
athenaSubscriptions?: AthenaSubscription[];
|
|
@@ -644,6 +646,7 @@ export interface UserSession extends Session, OrganizationLimits {
|
|
|
644
646
|
wasAutomated: boolean;
|
|
645
647
|
limits?: OrganizationLimits;
|
|
646
648
|
uiRestrictions?: UserUIRestrictions;
|
|
649
|
+
fieldRedactions?: UserFieldRedactions;
|
|
647
650
|
dashboardView?: CustomDashboardView;
|
|
648
651
|
hasTicketQueues?: boolean;
|
|
649
652
|
eat?: boolean;
|
|
@@ -899,6 +902,7 @@ export interface Enduser_required {
|
|
|
899
902
|
export interface Enduser_updatesDisabled {
|
|
900
903
|
}
|
|
901
904
|
export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_updatesDisabled {
|
|
905
|
+
invalidateSessionsBefore?: Date;
|
|
902
906
|
references?: RelatedRecord[];
|
|
903
907
|
recentViewers?: RecentViewer[];
|
|
904
908
|
healthie_dietitian_id?: string;
|
|
@@ -1000,6 +1004,7 @@ export interface EnduserCustomType_updatesDisabled {
|
|
|
1000
1004
|
export interface EnduserCustomType extends EnduserCustomType_readonly, EnduserCustomType_required, EnduserCustomType_updatesDisabled {
|
|
1001
1005
|
builtinFields?: EnduserBuiltInField[];
|
|
1002
1006
|
customFields?: CustomEnduserField[];
|
|
1007
|
+
createEnduserForms?: string[];
|
|
1003
1008
|
}
|
|
1004
1009
|
export interface EnduserStatusUpdate_readonly extends ClientRecord {
|
|
1005
1010
|
}
|
|
@@ -1825,6 +1830,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1825
1830
|
signatureUrl?: string;
|
|
1826
1831
|
productIds?: string[];
|
|
1827
1832
|
chargeImmediately?: boolean;
|
|
1833
|
+
saveCardOnFile?: boolean;
|
|
1828
1834
|
databaseId?: string;
|
|
1829
1835
|
databaseLabel?: string;
|
|
1830
1836
|
databaseLabels?: string[];
|
|
@@ -2088,6 +2094,12 @@ export interface Integration_required {
|
|
|
2088
2094
|
}
|
|
2089
2095
|
export interface Integration_updatesDisabled {
|
|
2090
2096
|
}
|
|
2097
|
+
/**
|
|
2098
|
+
* IMPORTANT: When adding new non-sensitive, user-configurable fields to this interface,
|
|
2099
|
+
* also add them to INTEGRATION_SETTINGS_ALLOWLIST in packages/private/api/api/v1/api.ts
|
|
2100
|
+
* so they can be updated via the update_settings endpoint.
|
|
2101
|
+
* Do NOT add sensitive fields (credentials, tokens, secrets) to the allowlist.
|
|
2102
|
+
*/
|
|
2091
2103
|
export interface Integration extends Integration_readonly, Integration_required, Integration_updatesDisabled {
|
|
2092
2104
|
title: string;
|
|
2093
2105
|
tenantId?: string;
|
|
@@ -2261,13 +2273,14 @@ export type BelugaPatientPreferenceResponse = {
|
|
|
2261
2273
|
medId: string;
|
|
2262
2274
|
};
|
|
2263
2275
|
export type BelugaPharmacyMapping = {
|
|
2276
|
+
title?: string;
|
|
2264
2277
|
pharmacyId: string;
|
|
2265
2278
|
patientPreference: string;
|
|
2266
2279
|
conditions: CompoundFilter<string>;
|
|
2267
2280
|
};
|
|
2268
2281
|
export type FormResponseAnswerTable = FormResponseValueAnswerBuilder<'Table Input', TableInputCell[][]>;
|
|
2269
2282
|
export type FormResponseAnswerGroup = FormResponseValueAnswerBuilder<'Question Group', FormSubField[]>;
|
|
2270
|
-
export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description',
|
|
2283
|
+
export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', string>;
|
|
2271
2284
|
export type FormResponseAnswerEmail = FormResponseValueAnswerBuilder<'email', string>;
|
|
2272
2285
|
export type FormResponseAnswerNumber = FormResponseValueAnswerBuilder<'number', number>;
|
|
2273
2286
|
export type FormResponseAnswerPhone = FormResponseValueAnswerBuilder<'phone', string>;
|
|
@@ -2885,6 +2898,7 @@ export interface AppointmentBookingPage extends AppointmentBookingPage_readonly,
|
|
|
2885
2898
|
topLogo?: string;
|
|
2886
2899
|
intakeTitle?: string;
|
|
2887
2900
|
intakeDescription?: string;
|
|
2901
|
+
portalDescription?: string;
|
|
2888
2902
|
thankYouRedirectURL?: string;
|
|
2889
2903
|
thankYouTitle?: string;
|
|
2890
2904
|
thankYouDescription?: string;
|
|
@@ -3332,6 +3346,7 @@ export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCr
|
|
|
3332
3346
|
formIds: string[];
|
|
3333
3347
|
matchCareTeamTagsForCanvasPractitionerResolution: ListOfStringsWithQualifier;
|
|
3334
3348
|
noteCoding: CanvasCoding;
|
|
3349
|
+
syncAllFormResponses?: boolean;
|
|
3335
3350
|
}>;
|
|
3336
3351
|
export type CanvasAddToGroupAutomationAction = AutomationActionBuilder<'canvasAddToGroup', {
|
|
3337
3352
|
groupId: string;
|
|
@@ -3911,6 +3926,9 @@ export type TypedField = {
|
|
|
3911
3926
|
type?: string;
|
|
3912
3927
|
field?: string;
|
|
3913
3928
|
};
|
|
3929
|
+
export type UserFieldRedactions = {
|
|
3930
|
+
[modelName: string]: string[];
|
|
3931
|
+
};
|
|
3914
3932
|
export type UserUIRestrictions = {
|
|
3915
3933
|
hideDashboard?: boolean;
|
|
3916
3934
|
hideInbox?: boolean;
|
|
@@ -3929,6 +3947,11 @@ export type UserUIRestrictions = {
|
|
|
3929
3947
|
hideBulkEnduserActions?: boolean;
|
|
3930
3948
|
visibleIntegrations?: string[];
|
|
3931
3949
|
hideViewPortalAsEnduser?: boolean;
|
|
3950
|
+
hideEnduserNote?: boolean;
|
|
3951
|
+
disableTimeTrackApproval?: boolean;
|
|
3952
|
+
hideCalendarUserSelector?: boolean;
|
|
3953
|
+
hideCalendarSavedViews?: boolean;
|
|
3954
|
+
hideCalendarFilters?: boolean;
|
|
3932
3955
|
};
|
|
3933
3956
|
export interface RoleBasedAccessPermission_readonly extends ClientRecord {
|
|
3934
3957
|
}
|
|
@@ -3936,6 +3959,7 @@ export interface RoleBasedAccessPermission_required {
|
|
|
3936
3959
|
role: string;
|
|
3937
3960
|
permissions: Partial<AccessPermissions>;
|
|
3938
3961
|
uiRestrictions?: UserUIRestrictions;
|
|
3962
|
+
fieldRedactions?: UserFieldRedactions;
|
|
3939
3963
|
}
|
|
3940
3964
|
export interface RoleBasedAccessPermission_updatesDisabled {
|
|
3941
3965
|
}
|
|
@@ -4590,6 +4614,7 @@ export type AutomationTriggerEvents = {
|
|
|
4590
4614
|
submitterType?: SessionType | 'Anyone';
|
|
4591
4615
|
publicIdentifier?: string;
|
|
4592
4616
|
hasExpiredEvent?: boolean;
|
|
4617
|
+
conditionsByFormId?: Record<string, any>;
|
|
4593
4618
|
}, {}>;
|
|
4594
4619
|
'Form Unsubmitted': AutomationTriggerEventBuilder<"Form Unsubmitted", {
|
|
4595
4620
|
formId: string;
|
|
@@ -4682,6 +4707,7 @@ export type AutomationTriggerEvents = {
|
|
|
4682
4707
|
skuPartials?: string[];
|
|
4683
4708
|
titlePartials?: string[];
|
|
4684
4709
|
titlePartialsAnd?: string[];
|
|
4710
|
+
protocols?: string[];
|
|
4685
4711
|
}, {}>;
|
|
4686
4712
|
'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
|
|
4687
4713
|
phoneNumbers?: string[];
|
|
@@ -5156,6 +5182,7 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
|
|
|
5156
5182
|
cancellationReason?: string;
|
|
5157
5183
|
medication?: string;
|
|
5158
5184
|
medicationSku?: string;
|
|
5185
|
+
protocol?: string;
|
|
5159
5186
|
}
|
|
5160
5187
|
export interface EnduserProblem_readonly extends ClientRecord {
|
|
5161
5188
|
}
|