@tellescope/types-models 1.79.0 → 1.80.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.
@@ -183,6 +183,9 @@ export type OrganizationSettings = {
183
183
  templateRequired?: boolean;
184
184
  locationRequired?: boolean;
185
185
  };
186
+ users?: {
187
+ sessionDurationInHours?: number;
188
+ };
186
189
  };
187
190
  export type OrganizationLimits = {
188
191
  [K in ModelName]?: number;
@@ -344,6 +347,7 @@ export interface UserSession extends Session, OrganizationLimits {
344
347
  hasTicketQueues?: boolean;
345
348
  eat?: boolean;
346
349
  lockedOutUntil?: number;
350
+ duration?: number;
347
351
  }
348
352
  export type StateCredentialInfo = {
349
353
  state: string;
@@ -561,6 +565,11 @@ export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_upd
561
565
  accessTags?: string[];
562
566
  unsubscribedFromMarketing?: boolean;
563
567
  insurance?: EnduserInsurance;
568
+ insuranceSecondary?: EnduserInsurance;
569
+ bookingNotes?: {
570
+ bookingPageId: string;
571
+ note: string;
572
+ }[];
564
573
  }
565
574
  export interface EnduserCustomType_readonly extends ClientRecord {
566
575
  }
@@ -850,6 +859,7 @@ export interface SMSMessage extends SMSMessage_readonly, SMSMessage_required, SM
850
859
  enduserPhoneNumber?: string;
851
860
  tags?: string[];
852
861
  batchId?: string;
862
+ replyToTemplateId?: string;
853
863
  }
854
864
  export type ChatRoomType = 'internal' | 'external' | 'Group Chat';
855
865
  export interface ChatRoom_readonly extends ClientRecord {
@@ -1142,11 +1152,13 @@ export type FormFieldValidation = {
1142
1152
  maxLength?: number;
1143
1153
  repeat?: boolean;
1144
1154
  };
1145
- export type CanvasConsentCategory = {
1155
+ export type CanvasCoding = {
1146
1156
  system: string;
1147
1157
  code: string;
1148
1158
  display: string;
1149
1159
  };
1160
+ export interface CanvasConsentCategory extends CanvasCoding {
1161
+ }
1150
1162
  export type FormFieldOptions = FormFieldValidation & {
1151
1163
  tableChoices?: TableInputChoice[];
1152
1164
  choices?: string[];
@@ -1519,6 +1531,7 @@ export interface FormResponse extends FormResponse_readonly, FormResponse_requir
1519
1531
  lockedAt?: Date | '';
1520
1532
  carePlanId?: string;
1521
1533
  context?: string;
1534
+ calendarEventId?: string;
1522
1535
  }
1523
1536
  export interface WebHook_readonly extends ClientRecord {
1524
1537
  }
@@ -1645,6 +1658,7 @@ export interface CalendarEvent extends CalendarEvent_readonly, CalendarEvent_req
1645
1658
  enduserAttendeeLimit?: number;
1646
1659
  bufferStartMinutes?: number;
1647
1660
  bufferEndMinutes?: number;
1661
+ canvasCoding?: CanvasCoding;
1648
1662
  }
1649
1663
  export type PaymentProcessor = 'Square' | 'Stripe';
1650
1664
  export interface Product_readonly extends ClientRecord {
@@ -1749,6 +1763,7 @@ export interface CalendarEventTemplate extends CalendarEventTemplate_readonly, C
1749
1763
  apiOnly?: boolean;
1750
1764
  bufferStartMinutes?: number;
1751
1765
  bufferEndMinutes?: number;
1766
+ canvasCoding?: CanvasCoding;
1752
1767
  }
1753
1768
  export interface AppointmentLocation_readonly extends ClientRecord {
1754
1769
  }
@@ -2414,6 +2429,7 @@ export type UserUIRestrictions = {
2414
2429
  hiddenFields?: TypedField[];
2415
2430
  disabledFields?: TypedField[];
2416
2431
  hideCareplan?: boolean;
2432
+ hideUnsubmittedForms?: boolean;
2417
2433
  };
2418
2434
  export interface RoleBasedAccessPermission_readonly extends ClientRecord {
2419
2435
  }
@@ -2469,6 +2485,7 @@ export type AnalyticsQueryResultValue = {
2469
2485
  value: number;
2470
2486
  numerator?: number;
2471
2487
  denominator?: number;
2488
+ userId?: string;
2472
2489
  };
2473
2490
  export type AnalyticsQueryResult = {
2474
2491
  count?: number;
@@ -2652,6 +2669,7 @@ export declare const resource_to_modelName: {
2652
2669
  export type AnalyticsQueryOptions = {
2653
2670
  createdRange?: DateRange;
2654
2671
  updatedRange?: DateRange;
2672
+ groupByCareTeam?: boolean;
2655
2673
  };
2656
2674
  export type AnalyticsFrameType = 'Percentage';
2657
2675
  export interface AnalyticsFrame_readonly extends ClientRecord {
@@ -2659,6 +2677,7 @@ export interface AnalyticsFrame_readonly extends ClientRecord {
2659
2677
  export interface AnalyticsFrame_required {
2660
2678
  title: string;
2661
2679
  query: AnalyticsQuery;
2680
+ groupByCareTeam?: boolean;
2662
2681
  }
2663
2682
  export interface AnalyticsFrame_updatesDisabled {
2664
2683
  }
@@ -2696,6 +2715,7 @@ export interface EnduserView_updatesDisabled {
2696
2715
  }
2697
2716
  export interface EnduserView extends EnduserView_readonly, EnduserView_required, EnduserView_updatesDisabled {
2698
2717
  defaultForRole?: string;
2718
+ hideFromRoles?: string[];
2699
2719
  defaultForUserIds?: string[];
2700
2720
  hideProfileLink?: boolean;
2701
2721
  customTypeId?: string;
@@ -2856,37 +2876,6 @@ export interface SuperbillProvider extends SuperbillProviderInfo, SuperbillProvi
2856
2876
  export type Insurance = {
2857
2877
  name: string;
2858
2878
  };
2859
- export interface ReferralProvider_readonly extends ClientRecord {
2860
- }
2861
- export interface ReferralProvider_required {
2862
- }
2863
- export interface ReferralProvider_updatesDisabled {
2864
- }
2865
- export interface ReferralProvider extends ReferralProvider_readonly, ReferralProvider_required, ReferralProvider_updatesDisabled {
2866
- fname?: string;
2867
- lname?: string;
2868
- description?: string;
2869
- activeRelationshipStatus?: string;
2870
- acceptingReferralsStatus?: string;
2871
- inPersonServiceStatus?: string;
2872
- virtualServiceStatus?: string;
2873
- services?: string[];
2874
- locations?: string[];
2875
- languages?: string[];
2876
- eligibilityCriteria?: string[];
2877
- organizationName: string;
2878
- clinicName: string;
2879
- types: string[];
2880
- acceptedInsurance?: Insurance[];
2881
- address?: Address;
2882
- phone?: string;
2883
- phoneExtension?: string;
2884
- email?: string;
2885
- website?: string;
2886
- bookingLink?: string;
2887
- notes?: string;
2888
- uninsuredDescription?: string;
2889
- }
2890
2879
  export type BillingCode = {
2891
2880
  code: number;
2892
2881
  label: string;
@@ -3214,7 +3203,6 @@ export type ModelForName_required = {
3214
3203
  ticket_thread_comments: TicketThreadComment_required;
3215
3204
  enduser_custom_types: EnduserCustomType_required;
3216
3205
  phone_trees: PhoneTree_required;
3217
- referral_providers: ReferralProvider_required;
3218
3206
  superbill_providers: SuperbillProvider_required;
3219
3207
  superbills: Superbill_required;
3220
3208
  automation_triggers: AutomationTrigger_required;
@@ -3288,7 +3276,6 @@ export interface ModelForName_readonly {
3288
3276
  enduser_custom_types: EnduserCustomType_readonly;
3289
3277
  phone_trees: PhoneTree_readonly;
3290
3278
  enduser_medications: EnduserMedication_readonly;
3291
- referral_providers: ReferralProvider_readonly;
3292
3279
  superbill_providers: SuperbillProvider_readonly;
3293
3280
  superbills: Superbill_readonly;
3294
3281
  automation_triggers: AutomationTrigger_readonly;
@@ -3360,7 +3347,6 @@ export interface ModelForName_updatesDisabled {
3360
3347
  enduser_custom_types: EnduserCustomType_updatesDisabled;
3361
3348
  phone_trees: PhoneTree_updatesDisabled;
3362
3349
  enduser_medications: EnduserMedication_updatesDisabled;
3363
- referral_providers: ReferralProvider_updatesDisabled;
3364
3350
  superbill_providers: SuperbillProvider_updatesDisabled;
3365
3351
  superbills: Superbill_updatesDisabled;
3366
3352
  automation_triggers: AutomationTrigger_updatesDisabled;
@@ -3432,7 +3418,6 @@ export interface ModelForName extends ModelForName_required, ModelForName_readon
3432
3418
  enduser_custom_types: EnduserCustomType;
3433
3419
  phone_trees: PhoneTree;
3434
3420
  enduser_medications: EnduserMedication;
3435
- referral_providers: ReferralProvider;
3436
3421
  superbill_providers: SuperbillProvider;
3437
3422
  superbills: Superbill;
3438
3423
  automation_triggers: AutomationTrigger;
@@ -4141,4 +4126,5 @@ export type DataSyncRecord = {
4141
4126
  userIds: string[];
4142
4127
  enduserIds: string[];
4143
4128
  };
4129
+ export type InsuranceType = "Primary" | "Secondary";
4144
4130
  //# sourceMappingURL=index.d.ts.map