@tellescope/types-models 1.177.0 → 1.179.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.
@@ -191,6 +191,7 @@ export type OrganizationSettings = {
191
191
  showDiagnoses?: boolean;
192
192
  showDeviceOrders?: boolean;
193
193
  requireObservationInvalidationReason?: boolean;
194
+ defaultHideFilesFromPortal?: boolean;
194
195
  };
195
196
  tickets?: {
196
197
  defaultJourneyDueDateOffsetInMS?: number | '';
@@ -228,6 +229,9 @@ export type OrganizationSettings = {
228
229
  users?: {
229
230
  sessionDurationInHours?: number;
230
231
  };
232
+ integrations?: {
233
+ vitalLabOrderPhysicianOptional?: boolean;
234
+ };
231
235
  };
232
236
  export type OrganizationLimits = {
233
237
  [K in ModelName]?: number;
@@ -323,6 +327,7 @@ export interface Organization extends Organization_readonly, Organization_requir
323
327
  hasConnectedDocsumo?: boolean;
324
328
  hasConnectedEmotii?: boolean;
325
329
  hasConnectedDevelopHealth?: boolean;
330
+ hasConnectedCustomerIO?: boolean;
326
331
  hasConfiguredZoom?: boolean;
327
332
  hasTicketQueues?: boolean;
328
333
  vitalTeamId?: string;
@@ -1200,6 +1205,7 @@ export interface MessageTemplate extends MessageTemplate_readonly, MessageTempla
1200
1205
  hideFromCompose?: boolean;
1201
1206
  tags?: string[];
1202
1207
  archivedAt?: Date | '';
1208
+ mmsAttachmentURLs?: string[];
1203
1209
  }
1204
1210
  export interface MessageTemplateSnippet_readonly extends ClientRecord {
1205
1211
  }
@@ -1394,6 +1400,9 @@ export interface Note extends Note_readonly, Note_required, Note_updatesDisabled
1394
1400
  pinnedAt?: Date | '';
1395
1401
  tags?: string[];
1396
1402
  discussionRoomId?: string;
1403
+ source?: string;
1404
+ externalId?: string;
1405
+ hiddenFromTimeline?: boolean;
1397
1406
  }
1398
1407
  export type FormFieldLiteralType = 'Rich Text' | 'description' | 'string' | 'stringLong' | 'number' | 'email' | 'phone' | 'date' | 'dateString' | 'rating' | 'Time';
1399
1408
  export type FormFieldComplexType = "Conditions" | "Allergies" | "Emotii" | "Hidden Value" | "Redirect" | "Height" | "Appointment Booking" | "multiple_choice" | "file" | 'files' | "signature" | 'ranking' | 'Question Group' | 'Table Input' | "Address" | "Chargebee" | "Stripe" | "Dropdown" | "Database Select" | "Medications" | "Related Contacts" | "Insurance";
@@ -1648,6 +1657,7 @@ export interface Form extends Form_readonly, Form_required, Form_updatesDisabled
1648
1657
  allowPortalSubmission?: boolean;
1649
1658
  canvasNoteCoding?: Partial<CanvasCoding>;
1650
1659
  syncToCanvasAsDataImport?: boolean;
1660
+ matchCareTeamTagsForCanvasPractitionerResolution?: ListOfStringsWithQualifier;
1651
1661
  }
1652
1662
  export interface FormGroup_readonly extends ClientRecord {
1653
1663
  }
@@ -1981,6 +1991,7 @@ export interface FormResponse_updatesDisabled {
1981
1991
  automationStepId?: string;
1982
1992
  }
1983
1993
  export interface FormResponse extends FormResponse_readonly, FormResponse_required, FormResponse_updatesDisabled, EnduserPortalVisibility {
1994
+ hiddenFromTimeline?: boolean;
1984
1995
  draftSavedAt?: Date;
1985
1996
  draftSavedBy?: string;
1986
1997
  sharedVia?: CommunicationsChannel;
@@ -2761,6 +2772,11 @@ export type EnduserFieldSetter = {
2761
2772
  export type SetEnduserFieldsAutomationAction = AutomationActionBuilder<'setEnduserFields', {
2762
2773
  fields: EnduserFieldSetter[];
2763
2774
  }>;
2775
+ export type CustomerIOIdentifyAction = AutomationActionBuilder<'customerIOIdentify', {}>;
2776
+ export type CustomerIOTrackAction = AutomationActionBuilder<'customerIOTrack', {
2777
+ event: string;
2778
+ trackProperties?: string[];
2779
+ }>;
2764
2780
  export type AutomationConditionType = 'atJourneyState';
2765
2781
  export type AutomationConditionBuilder<T extends AutomationConditionType, V extends object> = {
2766
2782
  type: T;
@@ -2806,6 +2822,8 @@ export type AutomationActionForType = {
2806
2822
  pushFormsToPortal: PushFormsAutomationAction;
2807
2823
  developHealthMedEligibility: DevelopHealthMedicationEligibilityAutomationAction;
2808
2824
  cancelFutureAppointments: CancelFutureAppointmentsAutomationAction;
2825
+ customerIOIdentify: CustomerIOIdentifyAction;
2826
+ customerIOTrack: CustomerIOTrackAction;
2809
2827
  };
2810
2828
  export type AutomationActionType = keyof AutomationActionForType;
2811
2829
  export type AutomationAction = AutomationActionForType[AutomationActionType];
@@ -3330,6 +3348,12 @@ export type AnalyticsQueryInfoForType = {
3330
3348
  export type AnalyticsQueryInfoType = keyof AnalyticsQueryInfoForType;
3331
3349
  export type AnalyticsQueryInfo = AnalyticsQueryInfoForType[AnalyticsQueryInfoType];
3332
3350
  export type ListQueryQualifier = 'All Of' | 'One Of';
3351
+ export type AnalyticsEnduserFilterField = {
3352
+ key: string;
3353
+ value: string;
3354
+ operator?: string;
3355
+ range?: DateRange | '';
3356
+ };
3333
3357
  export type AnalyticsQueryFilterForType = {
3334
3358
  "Endusers": {
3335
3359
  activeSince?: Date | '';
@@ -3338,12 +3362,7 @@ export type AnalyticsQueryFilterForType = {
3338
3362
  formIds: string[];
3339
3363
  formResponseCondition?: CompoundFilter<string>;
3340
3364
  };
3341
- fields?: {
3342
- key: string;
3343
- value: string;
3344
- operator?: string;
3345
- range?: DateRange | '';
3346
- }[];
3365
+ fields?: AnalyticsEnduserFilterField[];
3347
3366
  gender?: TellescopeGender;
3348
3367
  assignedTo?: {
3349
3368
  qualifier: ListQueryQualifier;
@@ -3374,6 +3393,8 @@ export type AnalyticsQueryFilterForType = {
3374
3393
  "Tickets": {
3375
3394
  titles?: string[];
3376
3395
  closeReasons?: string[];
3396
+ userTags?: ListOfStringsWithQualifier;
3397
+ enduserFields?: AnalyticsEnduserFilterField[];
3377
3398
  };
3378
3399
  "Phone Calls": {};
3379
3400
  "Meetings": {};
@@ -3404,6 +3425,7 @@ export type AnalyticsQueryGroupingForType = {
3404
3425
  "Calendar Events": {
3405
3426
  Type: boolean;
3406
3427
  "Scheduled By"?: boolean;
3428
+ alsoGroupByHost?: boolean;
3407
3429
  } & EnduserGrouping & {
3408
3430
  Enduser: string;
3409
3431
  };
@@ -3503,6 +3525,7 @@ export declare const resource_to_modelName: {
3503
3525
  };
3504
3526
  export type AnalyticsQueryOptions = {
3505
3527
  createdRange?: DateRange;
3528
+ createdAvailabilities?: WeeklyAvailability[];
3506
3529
  updatedRange?: DateRange;
3507
3530
  overrideGlobalRange?: boolean;
3508
3531
  groupByCareTeam?: boolean;