@tellescope/types-models 1.242.10 → 1.243.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.
@@ -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;
@@ -3212,6 +3234,9 @@ export type CanvasCreateNoteAutomationAction = AutomationActionBuilder<'canvasCr
3212
3234
  matchCareTeamTagsForCanvasPractitionerResolution: ListOfStringsWithQualifier;
3213
3235
  noteCoding: CanvasCoding;
3214
3236
  }>;
3237
+ export type CanvasAddToGroupAutomationAction = AutomationActionBuilder<'canvasAddToGroup', {
3238
+ groupId: string;
3239
+ }>;
3215
3240
  export type CancelFutureAppointmentsAutomationAction = AutomationActionBuilder<'cancelFutureAppointments', {}>;
3216
3241
  export type DevelopHealthMedicationEligibilityAutomationAction = AutomationActionBuilder<'developHealthMedEligibility', {
3217
3242
  drugs: DevelopHealthDrug[];
@@ -3348,6 +3373,7 @@ export type AutomationActionForType = {
3348
3373
  'athenaSync': AthenaSyncAutomationAction;
3349
3374
  canvasSync: CanvasSyncAutomationAction;
3350
3375
  canvasCreateNote: CanvasCreateNoteAutomationAction;
3376
+ canvasAddToGroup: CanvasAddToGroupAutomationAction;
3351
3377
  pushFormsToPortal: PushFormsAutomationAction;
3352
3378
  developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
3353
3379
  cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
@@ -4346,6 +4372,22 @@ export interface EnduserProfileView extends EnduserProfileView_readonly, Enduser
4346
4372
  defaultForRoles?: string[];
4347
4373
  hiddenFromRoles?: string[];
4348
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
+ }
4349
4391
  export type ListOfStringsWithQualifier = {
4350
4392
  qualifier: ListQueryQualifier;
4351
4393
  values: string[];
@@ -5166,6 +5208,8 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
5166
5208
  drugId?: string;
5167
5209
  ndc?: string;
5168
5210
  quantity?: number;
5211
+ refills?: number;
5212
+ duration?: number;
5169
5213
  compoundQuantity?: number;
5170
5214
  compoundQuantityQualifier?: string;
5171
5215
  sig?: string;
@@ -5358,7 +5402,7 @@ export interface InboxThread_readonly extends ClientRecord {
5358
5402
  searchKeywords?: string[];
5359
5403
  }
5360
5404
  export interface InboxThread_required {
5361
- type: "Email" | "SMS" | "Chat" | "GroupMMS" | "Phone";
5405
+ type: "Email" | "SMS" | "Chat" | "GroupMMS" | "Phone" | "Zendesk";
5362
5406
  title: string;
5363
5407
  preview: string;
5364
5408
  timestamp: Date;
@@ -5427,6 +5471,7 @@ export type ModelForName_required = {
5427
5471
  analytics_frames: AnalyticsFrame_required;
5428
5472
  endusers: Enduser_required;
5429
5473
  enduser_profile_views: EnduserProfileView_required;
5474
+ custom_dashboards: CustomDashboard_required;
5430
5475
  engagement_events: EngagementEvent_required;
5431
5476
  journeys: Journey_required;
5432
5477
  api_keys: APIKey_required;
@@ -5571,6 +5616,7 @@ export interface ModelForName_readonly {
5571
5616
  purchase_credits: PurchaseCredit_readonly;
5572
5617
  phone_calls: PhoneCall_readonly;
5573
5618
  enduser_profile_views: EnduserProfileView_readonly;
5619
+ custom_dashboards: CustomDashboard_readonly;
5574
5620
  table_views: TableView_readonly;
5575
5621
  email_sync_denials: EmailSyncDenial_readonly;
5576
5622
  time_tracks: TimeTrack_readonly;
@@ -5665,6 +5711,7 @@ export interface ModelForName_updatesDisabled {
5665
5711
  purchase_credits: PurchaseCredit_updatesDisabled;
5666
5712
  phone_calls: PhoneCall_updatesDisabled;
5667
5713
  enduser_profile_views: EnduserProfileView_updatesDisabled;
5714
+ custom_dashboards: CustomDashboard_updatesDisabled;
5668
5715
  table_views: TableView_updatesDisabled;
5669
5716
  email_sync_denials: EmailSyncDenial_updatesDisabled;
5670
5717
  time_tracks: TimeTrack_updatesDisabled;
@@ -5759,6 +5806,7 @@ export interface ModelForName extends ModelForName_required, ModelForName_readon
5759
5806
  purchase_credits: PurchaseCredit;
5760
5807
  phone_calls: PhoneCall;
5761
5808
  enduser_profile_views: EnduserProfileView;
5809
+ custom_dashboards: CustomDashboard;
5762
5810
  table_views: TableView;
5763
5811
  email_sync_denials: EmailSyncDenial;
5764
5812
  time_tracks: TimeTrack;