@tellescope/types-models 1.247.0 → 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.
@@ -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
  }
@@ -2089,6 +2094,12 @@ export interface Integration_required {
2089
2094
  }
2090
2095
  export interface Integration_updatesDisabled {
2091
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
+ */
2092
2103
  export interface Integration extends Integration_readonly, Integration_required, Integration_updatesDisabled {
2093
2104
  title: string;
2094
2105
  tenantId?: string;
@@ -2262,13 +2273,14 @@ export type BelugaPatientPreferenceResponse = {
2262
2273
  medId: string;
2263
2274
  };
2264
2275
  export type BelugaPharmacyMapping = {
2276
+ title?: string;
2265
2277
  pharmacyId: string;
2266
2278
  patientPreference: string;
2267
2279
  conditions: CompoundFilter<string>;
2268
2280
  };
2269
2281
  export type FormResponseAnswerTable = FormResponseValueAnswerBuilder<'Table Input', TableInputCell[][]>;
2270
2282
  export type FormResponseAnswerGroup = FormResponseValueAnswerBuilder<'Question Group', FormSubField[]>;
2271
- export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', ''>;
2283
+ export type FormResponseAnswerDescription = FormResponseValueAnswerBuilder<'description', string>;
2272
2284
  export type FormResponseAnswerEmail = FormResponseValueAnswerBuilder<'email', string>;
2273
2285
  export type FormResponseAnswerNumber = FormResponseValueAnswerBuilder<'number', number>;
2274
2286
  export type FormResponseAnswerPhone = FormResponseValueAnswerBuilder<'phone', string>;
@@ -3914,6 +3926,9 @@ export type TypedField = {
3914
3926
  type?: string;
3915
3927
  field?: string;
3916
3928
  };
3929
+ export type UserFieldRedactions = {
3930
+ [modelName: string]: string[];
3931
+ };
3917
3932
  export type UserUIRestrictions = {
3918
3933
  hideDashboard?: boolean;
3919
3934
  hideInbox?: boolean;
@@ -3933,6 +3948,10 @@ export type UserUIRestrictions = {
3933
3948
  visibleIntegrations?: string[];
3934
3949
  hideViewPortalAsEnduser?: boolean;
3935
3950
  hideEnduserNote?: boolean;
3951
+ disableTimeTrackApproval?: boolean;
3952
+ hideCalendarUserSelector?: boolean;
3953
+ hideCalendarSavedViews?: boolean;
3954
+ hideCalendarFilters?: boolean;
3936
3955
  };
3937
3956
  export interface RoleBasedAccessPermission_readonly extends ClientRecord {
3938
3957
  }
@@ -3940,6 +3959,7 @@ export interface RoleBasedAccessPermission_required {
3940
3959
  role: string;
3941
3960
  permissions: Partial<AccessPermissions>;
3942
3961
  uiRestrictions?: UserUIRestrictions;
3962
+ fieldRedactions?: UserFieldRedactions;
3943
3963
  }
3944
3964
  export interface RoleBasedAccessPermission_updatesDisabled {
3945
3965
  }
@@ -4594,6 +4614,7 @@ export type AutomationTriggerEvents = {
4594
4614
  submitterType?: SessionType | 'Anyone';
4595
4615
  publicIdentifier?: string;
4596
4616
  hasExpiredEvent?: boolean;
4617
+ conditionsByFormId?: Record<string, any>;
4597
4618
  }, {}>;
4598
4619
  'Form Unsubmitted': AutomationTriggerEventBuilder<"Form Unsubmitted", {
4599
4620
  formId: string;
@@ -4686,6 +4707,7 @@ export type AutomationTriggerEvents = {
4686
4707
  skuPartials?: string[];
4687
4708
  titlePartials?: string[];
4688
4709
  titlePartialsAnd?: string[];
4710
+ protocols?: string[];
4689
4711
  }, {}>;
4690
4712
  'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
4691
4713
  phoneNumbers?: string[];
@@ -5160,6 +5182,7 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
5160
5182
  cancellationReason?: string;
5161
5183
  medication?: string;
5162
5184
  medicationSku?: string;
5185
+ protocol?: string;
5163
5186
  }
5164
5187
  export interface EnduserProblem_readonly extends ClientRecord {
5165
5188
  }