@tellescope/types-models 1.242.10 → 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;
@@ -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,7 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
5166
5208
  drugId?: string;
5167
5209
  ndc?: string;
5168
5210
  quantity?: number;
5211
+ refills?: number;
5169
5212
  compoundQuantity?: number;
5170
5213
  compoundQuantityQualifier?: string;
5171
5214
  sig?: string;
@@ -5358,7 +5401,7 @@ export interface InboxThread_readonly extends ClientRecord {
5358
5401
  searchKeywords?: string[];
5359
5402
  }
5360
5403
  export interface InboxThread_required {
5361
- type: "Email" | "SMS" | "Chat" | "GroupMMS" | "Phone";
5404
+ type: "Email" | "SMS" | "Chat" | "GroupMMS" | "Phone" | "Zendesk";
5362
5405
  title: string;
5363
5406
  preview: string;
5364
5407
  timestamp: Date;
@@ -5427,6 +5470,7 @@ export type ModelForName_required = {
5427
5470
  analytics_frames: AnalyticsFrame_required;
5428
5471
  endusers: Enduser_required;
5429
5472
  enduser_profile_views: EnduserProfileView_required;
5473
+ custom_dashboards: CustomDashboard_required;
5430
5474
  engagement_events: EngagementEvent_required;
5431
5475
  journeys: Journey_required;
5432
5476
  api_keys: APIKey_required;
@@ -5571,6 +5615,7 @@ export interface ModelForName_readonly {
5571
5615
  purchase_credits: PurchaseCredit_readonly;
5572
5616
  phone_calls: PhoneCall_readonly;
5573
5617
  enduser_profile_views: EnduserProfileView_readonly;
5618
+ custom_dashboards: CustomDashboard_readonly;
5574
5619
  table_views: TableView_readonly;
5575
5620
  email_sync_denials: EmailSyncDenial_readonly;
5576
5621
  time_tracks: TimeTrack_readonly;
@@ -5665,6 +5710,7 @@ export interface ModelForName_updatesDisabled {
5665
5710
  purchase_credits: PurchaseCredit_updatesDisabled;
5666
5711
  phone_calls: PhoneCall_updatesDisabled;
5667
5712
  enduser_profile_views: EnduserProfileView_updatesDisabled;
5713
+ custom_dashboards: CustomDashboard_updatesDisabled;
5668
5714
  table_views: TableView_updatesDisabled;
5669
5715
  email_sync_denials: EmailSyncDenial_updatesDisabled;
5670
5716
  time_tracks: TimeTrack_updatesDisabled;
@@ -5759,6 +5805,7 @@ export interface ModelForName extends ModelForName_required, ModelForName_readon
5759
5805
  purchase_credits: PurchaseCredit;
5760
5806
  phone_calls: PhoneCall;
5761
5807
  enduser_profile_views: EnduserProfileView;
5808
+ custom_dashboards: CustomDashboard;
5762
5809
  table_views: TableView;
5763
5810
  email_sync_denials: EmailSyncDenial;
5764
5811
  time_tracks: TimeTrack;