@tellescope/types-models 1.244.2 → 1.244.4

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.
@@ -285,6 +285,7 @@ export type OrganizationSettings = {
285
285
  };
286
286
  integrations?: {
287
287
  vitalLabOrderPhysicianOptional?: boolean;
288
+ syncLabResultObservations?: boolean;
288
289
  athenaAppointmentSyncJITSeconds?: number;
289
290
  };
290
291
  interface?: {
@@ -305,6 +306,18 @@ export type BasicWebhook = {
305
306
  url: string;
306
307
  method?: 'Link' | 'POST';
307
308
  };
309
+ export type TimeTrackingBillingCode = {
310
+ billingCode: string;
311
+ timeInMinutes: number;
312
+ };
313
+ export type TimeTrackingProgramForm = {
314
+ id: string;
315
+ };
316
+ export type TimeTrackingProgram = {
317
+ title: string;
318
+ billingCodes: TimeTrackingBillingCode[];
319
+ forms?: TimeTrackingProgramForm[];
320
+ };
308
321
  export type SyncDirection = "Bidirectional" | "From Tellescope" | "To Tellescope";
309
322
  export type AthenaFieldSync = {
310
323
  field: string;
@@ -476,6 +489,10 @@ export interface Organization extends Organization_readonly, Organization_requir
476
489
  number: string;
477
490
  label: string;
478
491
  }[];
492
+ faxDestinations?: {
493
+ label: string;
494
+ number: string;
495
+ }[];
479
496
  mfaxAccountId?: string;
480
497
  athenaFieldsSync?: AthenaFieldSync[];
481
498
  athenaSubscriptions?: AthenaSubscription[];
@@ -537,6 +554,7 @@ export interface Organization extends Organization_readonly, Organization_requir
537
554
  incomingCallDisplayFields?: string[];
538
555
  skipActivePatientBilling?: boolean;
539
556
  portalV2SchemaURL?: string;
557
+ timeTrackingPrograms?: TimeTrackingProgram[];
540
558
  }
541
559
  export type OrganizationTheme = {
542
560
  name: string;
@@ -1556,7 +1574,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1556
1574
  closedForReason?: string;
1557
1575
  closeReasons?: string[];
1558
1576
  automationStepId?: string;
1559
- dueDateInMS?: number;
1577
+ dueDateInMS?: number | null;
1560
1578
  message?: string;
1561
1579
  type?: string;
1562
1580
  owner?: string;
@@ -1854,6 +1872,7 @@ export type FormFieldOptions = FormFieldValidation & {
1854
1872
  chargebeePlanId?: string;
1855
1873
  chargebeeItemId?: string;
1856
1874
  chargebeeCollectPaymentMethodOnly?: boolean;
1875
+ chargebeeCouponIds?: string[];
1857
1876
  relatedContactTypes?: string[];
1858
1877
  radioChoices?: string[];
1859
1878
  elationHistoryType?: string;
@@ -2670,6 +2689,7 @@ export interface Product extends Product_readonly, Product_required, Product_upd
2670
2689
  stripeProductId?: string;
2671
2690
  stripePriceId?: string;
2672
2691
  additionalStripePriceIds?: string[];
2692
+ chargebeeItemPriceId?: string;
2673
2693
  }
2674
2694
  export interface Purchase_readonly extends ClientRecord {
2675
2695
  }
@@ -3372,6 +3392,12 @@ export type StripeCancelSubscriptionAutomationAction = AutomationActionBuilder<'
3372
3392
  metadataValue: string;
3373
3393
  cancelImmediately?: boolean;
3374
3394
  }>;
3395
+ export type ChargebeeChargeCardOnFileAutomationAction = AutomationActionBuilder<'chargebeeChargeCardOnFile', {
3396
+ chargebeeEnvironment: string;
3397
+ chargeType: 'One-Time' | 'Subscription';
3398
+ itemPriceId: string;
3399
+ quantity?: number;
3400
+ }>;
3375
3401
  export type AIContextSource = {
3376
3402
  type: "Email" | "SMS" | "PhoneCall";
3377
3403
  limit: number;
@@ -3390,6 +3416,7 @@ export type AutomationActionForType = {
3390
3416
  'assignInboxItem': AssignInboxItemAutomationAction;
3391
3417
  'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
3392
3418
  'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
3419
+ 'chargebeeChargeCardOnFile': ChargebeeChargeCardOnFileAutomationAction;
3393
3420
  'outboundCall': OutboundCallAutomationAction;
3394
3421
  "sendEmail": SendEmailAutomationAction;
3395
3422
  "sendSMS": SendSMSAutomationAction;
@@ -3489,7 +3516,7 @@ export type ObservationValue = {
3489
3516
  unit: string;
3490
3517
  };
3491
3518
  export type ObservationStatusCode = ('registered' | 'preliminary' | 'final' | 'amended' | 'corrected' | 'cancelled' | 'entered-in-error' | 'unknown');
3492
- export type ObservationCategory = 'vital-signs';
3519
+ export type ObservationCategory = 'vital-signs' | 'laboratory';
3493
3520
  export interface EnduserObservation_readonly extends ClientRecord {
3494
3521
  }
3495
3522
  export interface EnduserObservation_required {
@@ -4623,6 +4650,7 @@ export type AutomationTriggerEvents = {
4623
4650
  skus?: string[];
4624
4651
  skuPartials?: string[];
4625
4652
  titlePartials?: string[];
4653
+ titlePartialsAnd?: string[];
4626
4654
  }, {}>;
4627
4655
  'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
4628
4656
  phoneNumbers?: string[];
@@ -5028,6 +5056,11 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
5028
5056
  timestamps?: TimeTrackTimestamp[];
5029
5057
  closedAt?: Date | '';
5030
5058
  totalDurationInMS?: number;
5059
+ programTitle?: string;
5060
+ activity?: {
5061
+ type: string;
5062
+ id: string;
5063
+ };
5031
5064
  }
5032
5065
  export interface TicketQueue_readonly extends ClientRecord {
5033
5066
  count?: number;
@@ -5363,6 +5396,7 @@ export interface IntegrationLog_readonly extends ClientRecord {
5363
5396
  url?: string;
5364
5397
  payload?: string;
5365
5398
  response?: string;
5399
+ enduserId?: string;
5366
5400
  }
5367
5401
  export interface IntegrationLog_required {
5368
5402
  }