@tellescope/types-models 1.242.9 → 1.243.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.
@@ -165,6 +165,28 @@ export type CustomDashboardViewBlock = {
165
165
  export type CustomDashboardView = {
166
166
  blocks: CustomDashboardViewBlock[];
167
167
  };
168
+ export type CustomDashboardBlockResponsive = {
169
+ colSpan?: number;
170
+ rowSpan?: number;
171
+ hidden?: boolean;
172
+ };
173
+ export type CustomDashboardBlock = {
174
+ type: string;
175
+ info?: Record<string, any>;
176
+ colSpan?: number;
177
+ rowSpan?: number;
178
+ responsive?: {
179
+ sm?: CustomDashboardBlockResponsive;
180
+ md?: CustomDashboardBlockResponsive;
181
+ lg?: CustomDashboardBlockResponsive;
182
+ };
183
+ style?: Record<string, any>;
184
+ };
185
+ export type CustomDashboardGridConfig = {
186
+ columns?: number;
187
+ gap?: number;
188
+ rowHeight?: number;
189
+ };
168
190
  export type OrganizationSettings = {
169
191
  dashboard?: {
170
192
  view?: CustomDashboardView;
@@ -221,6 +243,7 @@ export type OrganizationSettings = {
221
243
  showAlternateEmailsEditor?: boolean;
222
244
  excludeCareTeamFromSearch?: boolean;
223
245
  showVideoCallsOnTimeline?: boolean;
246
+ allowOverrideEmailUniqueness?: boolean;
224
247
  };
225
248
  tickets?: {
226
249
  defaultJourneyDueDateOffsetInMS?: number | '';
@@ -3211,6 +3234,9 @@ export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCr
3211
3234
  matchCareTeamTagsForCanvasPractitionerResolution: ListOfStringsWithQualifier;
3212
3235
  noteCoding: CanvasCoding;
3213
3236
  }>;
3237
+ export type CanvasAddToGroupAutomationAction = AutomationActionBuilder<'canvasAddToGroup', {
3238
+ groupId: string;
3239
+ }>;
3214
3240
  export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
3215
3241
  export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
3216
3242
  drugs: DevelopHealthDrug[];
@@ -3347,6 +3373,7 @@ export type AutomationActionForType = {
3347
3373
  'athenaSync': AthenaSyncAutomationAction;
3348
3374
  canvasSync: CanvasSyncAutomationAction;
3349
3375
  canvasCreateNote: CanvasCreateNoteAutomationAction;
3376
+ canvasAddToGroup: CanvasAddToGroupAutomationAction;
3350
3377
  pushFormsToPortal: PushFormsAutomationAction;
3351
3378
  developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
3352
3379
  cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
@@ -4345,6 +4372,22 @@ export interface EnduserProfileView extends EnduserProfileView_readonly, Enduser
4345
4372
  defaultForRoles?: string[];
4346
4373
  hiddenFromRoles?: string[];
4347
4374
  }
4375
+ export interface CustomDashboard_readonly extends ClientRecord {
4376
+ }
4377
+ export interface CustomDashboard_required {
4378
+ title: string;
4379
+ blocks: CustomDashboardBlock[];
4380
+ }
4381
+ export interface CustomDashboard_updatesDisabled {
4382
+ }
4383
+ export interface CustomDashboard extends CustomDashboard_readonly, CustomDashboard_required, CustomDashboard_updatesDisabled {
4384
+ description?: string;
4385
+ userIds?: string[];
4386
+ defaultForUserIds?: string[];
4387
+ defaultForRoles?: string[];
4388
+ hiddenFromRoles?: string[];
4389
+ gridConfig?: CustomDashboardGridConfig;
4390
+ }
4348
4391
  export type ListOfStringsWithQualifier = {
4349
4392
  qualifier: ListQueryQualifier;
4350
4393
  values: string[];
@@ -5165,6 +5208,7 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
5165
5208
  drugId?: string;
5166
5209
  ndc?: string;
5167
5210
  quantity?: number;
5211
+ refills?: number;
5168
5212
  compoundQuantity?: number;
5169
5213
  compoundQuantityQualifier?: string;
5170
5214
  sig?: string;
@@ -5357,7 +5401,7 @@ export interface InboxThread_readonly extends ClientRecord {
5357
5401
  searchKeywords?: string[];
5358
5402
  }
5359
5403
  export interface InboxThread_required {
5360
- type: "Email" | "SMS" | "Chat" | "GroupMMS" | "Phone";
5404
+ type: "Email" | "SMS" | "Chat" | "GroupMMS" | "Phone" | "Zendesk";
5361
5405
  title: string;
5362
5406
  preview: string;
5363
5407
  timestamp: Date;
@@ -5426,6 +5470,7 @@ export type ModelForName_required = {
5426
5470
  analytics_frames: AnalyticsFrame_required;
5427
5471
  endusers: Enduser_required;
5428
5472
  enduser_profile_views: EnduserProfileView_required;
5473
+ custom_dashboards: CustomDashboard_required;
5429
5474
  engagement_events: EngagementEvent_required;
5430
5475
  journeys: Journey_required;
5431
5476
  api_keys: APIKey_required;
@@ -5570,6 +5615,7 @@ export interface ModelForName_readonly {
5570
5615
  purchase_credits: PurchaseCredit_readonly;
5571
5616
  phone_calls: PhoneCall_readonly;
5572
5617
  enduser_profile_views: EnduserProfileView_readonly;
5618
+ custom_dashboards: CustomDashboard_readonly;
5573
5619
  table_views: TableView_readonly;
5574
5620
  email_sync_denials: EmailSyncDenial_readonly;
5575
5621
  time_tracks: TimeTrack_readonly;
@@ -5664,6 +5710,7 @@ export interface ModelForName_updatesDisabled {
5664
5710
  purchase_credits: PurchaseCredit_updatesDisabled;
5665
5711
  phone_calls: PhoneCall_updatesDisabled;
5666
5712
  enduser_profile_views: EnduserProfileView_updatesDisabled;
5713
+ custom_dashboards: CustomDashboard_updatesDisabled;
5667
5714
  table_views: TableView_updatesDisabled;
5668
5715
  email_sync_denials: EmailSyncDenial_updatesDisabled;
5669
5716
  time_tracks: TimeTrack_updatesDisabled;
@@ -5758,6 +5805,7 @@ export interface ModelForName extends ModelForName_required, ModelForName_readon
5758
5805
  purchase_credits: PurchaseCredit;
5759
5806
  phone_calls: PhoneCall;
5760
5807
  enduser_profile_views: EnduserProfileView;
5808
+ custom_dashboards: CustomDashboard;
5761
5809
  table_views: TableView;
5762
5810
  email_sync_denials: EmailSyncDenial;
5763
5811
  time_tracks: TimeTrack;