@tellescope/types-models 1.92.0 → 1.93.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.
@@ -170,6 +170,7 @@ export type OrganizationSettings = {
170
170
  disableSnooze?: boolean;
171
171
  showCommunications?: boolean;
172
172
  showJourneys?: boolean;
173
+ requireDueDate?: boolean;
173
174
  };
174
175
  calendar?: {
175
176
  dayStart?: {
@@ -498,6 +499,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
498
499
  elationUserId?: number;
499
500
  iOSBadgeCount?: number;
500
501
  doseSpotUserId?: string;
502
+ url?: string;
501
503
  }
502
504
  export type Preference = 'email' | 'sms' | 'call' | 'chat';
503
505
  export type CustomField = string | number | object | {
@@ -559,6 +561,7 @@ export type EnduserInsurance = {
559
561
  dateOfBirth?: string;
560
562
  };
561
563
  payerType?: string;
564
+ groupNumber?: string;
562
565
  };
563
566
  export type TellescopeGender = "Male" | "Female" | "Other" | "Unknown";
564
567
  export interface Enduser_readonly extends UserActivityInfo, ClientRecord, EnduserEngagementTimestamps {
@@ -1284,6 +1287,7 @@ export type FormFieldOptions = FormFieldValidation & {
1284
1287
  };
1285
1288
  useDatePicker?: boolean;
1286
1289
  sharedIntakeFields?: string[];
1290
+ hiddenDefaultFields?: string[];
1287
1291
  copyResponse?: boolean;
1288
1292
  disableGoBack?: boolean;
1289
1293
  disableNext?: boolean;
@@ -1297,6 +1301,7 @@ export type FormFieldOptions = FormFieldValidation & {
1297
1301
  validStates?: string[];
1298
1302
  autoAdvance?: boolean;
1299
1303
  prefillSignature?: boolean;
1304
+ includeGroupNumber?: boolean;
1300
1305
  };
1301
1306
  export type MultipleChoiceOptions = Pick<FormFieldOptions, 'choices' | 'radio' | 'other'>;
1302
1307
  export type FormFieldCalloutConditionComparison = 'Equals';
@@ -1430,6 +1435,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1430
1435
  authentication: IntegrationAuthentication;
1431
1436
  emailDisabled?: boolean;
1432
1437
  syncUnrecognizedSenders?: boolean;
1438
+ createEndusersForUnrecognizedSenders?: boolean;
1433
1439
  calendars?: string[];
1434
1440
  environment?: string;
1435
1441
  webhooksSecret?: string;
@@ -3039,6 +3045,12 @@ export type AutomationTriggerEvents = {
3039
3045
  'Appointment Completed': AutomationTriggerEventBuilder<"Appointment Completed", {
3040
3046
  titles?: string[];
3041
3047
  }, {}>;
3048
+ 'Appointment Cancelled': AutomationTriggerEventBuilder<"Appointment Cancelled", {
3049
+ titles?: string[];
3050
+ }, {}>;
3051
+ 'Appointment Rescheduled': AutomationTriggerEventBuilder<"Appointment Rescheduled", {
3052
+ titles?: string[];
3053
+ }, {}>;
3042
3054
  'Medication Added': AutomationTriggerEventBuilder<"Medication Added", {
3043
3055
  titles: string[];
3044
3056
  }, {}>;
@@ -3075,6 +3087,12 @@ export type AutomationTriggerEvents = {
3075
3087
  phoneNumbers?: string[];
3076
3088
  inputs?: string[];
3077
3089
  }, {}>;
3090
+ 'Order Created': AutomationTriggerEventBuilder<"Order Created", {
3091
+ titles?: string[];
3092
+ }, {}>;
3093
+ 'Problem Created': AutomationTriggerEventBuilder<"Problem Created", {
3094
+ titles?: string[];
3095
+ }, {}>;
3078
3096
  };
3079
3097
  export type AutomationTriggerEventType = keyof AutomationTriggerEvents;
3080
3098
  export type AutomationTriggerEvent = AutomationTriggerEvents[AutomationTriggerEventType];
@@ -3364,6 +3382,7 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
3364
3382
  externalId: string;
3365
3383
  source: string;
3366
3384
  title: string;
3385
+ description?: string;
3367
3386
  status: string;
3368
3387
  enduserId: string;
3369
3388
  userId?: string;
@@ -3374,6 +3393,21 @@ export interface EnduserOrder extends EnduserOrder_readonly, EnduserOrder_requir
3374
3393
  }[];
3375
3394
  tracking?: string;
3376
3395
  }
3396
+ export interface EnduserProblem_readonly extends ClientRecord {
3397
+ }
3398
+ export interface EnduserProblem_updatesDisabled {
3399
+ }
3400
+ export interface EnduserProblem_required {
3401
+ }
3402
+ export interface EnduserProblem extends EnduserProblem_readonly, EnduserProblem_required, EnduserProblem_updatesDisabled {
3403
+ externalId?: string;
3404
+ source?: string;
3405
+ title: string;
3406
+ enduserId: string;
3407
+ code?: string;
3408
+ codeset?: string;
3409
+ references?: RelatedRecord[];
3410
+ }
3377
3411
  export type CandidProcedureCode = {
3378
3412
  code: string;
3379
3413
  quantity: number;
@@ -3523,8 +3557,11 @@ export interface PrescriptionRoute extends PrescriptionRoute_readonly, Prescript
3523
3557
  state: string;
3524
3558
  templateIds: string[];
3525
3559
  pharmacyId?: string;
3560
+ pharmacyLabel?: string;
3561
+ tags?: string[];
3526
3562
  }
3527
3563
  export type ModelForName_required = {
3564
+ enduser_problems: EnduserProblem_required;
3528
3565
  prescription_routes: PrescriptionRoute_required;
3529
3566
  vital_configurations: VitalConfiguration_required;
3530
3567
  blocked_phones: BlockedPhone_required;
@@ -3599,6 +3636,7 @@ export type ModelForName_required = {
3599
3636
  };
3600
3637
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required];
3601
3638
  export interface ModelForName_readonly {
3639
+ enduser_problems: EnduserProblem_readonly;
3602
3640
  prescription_routes: PrescriptionRoute_readonly;
3603
3641
  blocked_phones: BlockedPhone_readonly;
3604
3642
  vital_configurations: VitalConfiguration_readonly;
@@ -3673,6 +3711,7 @@ export interface ModelForName_readonly {
3673
3711
  }
3674
3712
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly];
3675
3713
  export interface ModelForName_updatesDisabled {
3714
+ enduser_problems: EnduserProblem_updatesDisabled;
3676
3715
  prescription_routes: PrescriptionRoute_updatesDisabled;
3677
3716
  blocked_phones: BlockedPhone_updatesDisabled;
3678
3717
  vital_configurations: VitalConfiguration_updatesDisabled;
@@ -3747,6 +3786,7 @@ export interface ModelForName_updatesDisabled {
3747
3786
  }
3748
3787
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled];
3749
3788
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
3789
+ enduser_problems: EnduserProblem;
3750
3790
  prescription_routes: PrescriptionRoute;
3751
3791
  blocked_phones: BlockedPhone;
3752
3792
  vital_configurations: VitalConfiguration;