@tellescope/types-models 1.244.2 → 1.244.3

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.
@@ -305,6 +305,18 @@ export type BasicWebhook = {
305
305
  url: string;
306
306
  method?: 'Link' | 'POST';
307
307
  };
308
+ export type TimeTrackingBillingCode = {
309
+ billingCode: string;
310
+ timeInMinutes: number;
311
+ };
312
+ export type TimeTrackingProgramForm = {
313
+ id: string;
314
+ };
315
+ export type TimeTrackingProgram = {
316
+ title: string;
317
+ billingCodes: TimeTrackingBillingCode[];
318
+ forms?: TimeTrackingProgramForm[];
319
+ };
308
320
  export type SyncDirection = "Bidirectional" | "From Tellescope" | "To Tellescope";
309
321
  export type AthenaFieldSync = {
310
322
  field: string;
@@ -537,6 +549,7 @@ export interface Organization extends Organization_readonly, Organization_requir
537
549
  incomingCallDisplayFields?: string[];
538
550
  skipActivePatientBilling?: boolean;
539
551
  portalV2SchemaURL?: string;
552
+ timeTrackingPrograms?: TimeTrackingProgram[];
540
553
  }
541
554
  export type OrganizationTheme = {
542
555
  name: string;
@@ -1556,7 +1569,7 @@ export interface Ticket extends Ticket_readonly, Ticket_required, Ticket_updates
1556
1569
  closedForReason?: string;
1557
1570
  closeReasons?: string[];
1558
1571
  automationStepId?: string;
1559
- dueDateInMS?: number;
1572
+ dueDateInMS?: number | null;
1560
1573
  message?: string;
1561
1574
  type?: string;
1562
1575
  owner?: string;
@@ -1854,6 +1867,7 @@ export type FormFieldOptions = FormFieldValidation & {
1854
1867
  chargebeePlanId?: string;
1855
1868
  chargebeeItemId?: string;
1856
1869
  chargebeeCollectPaymentMethodOnly?: boolean;
1870
+ chargebeeCouponIds?: string[];
1857
1871
  relatedContactTypes?: string[];
1858
1872
  radioChoices?: string[];
1859
1873
  elationHistoryType?: string;
@@ -2670,6 +2684,7 @@ export interface Product extends Product_readonly, Product_required, Product_upd
2670
2684
  stripeProductId?: string;
2671
2685
  stripePriceId?: string;
2672
2686
  additionalStripePriceIds?: string[];
2687
+ chargebeeItemPriceId?: string;
2673
2688
  }
2674
2689
  export interface Purchase_readonly extends ClientRecord {
2675
2690
  }
@@ -3372,6 +3387,12 @@ export type StripeCancelSubscriptionAutomationAction = AutomationActionBuilder<'
3372
3387
  metadataValue: string;
3373
3388
  cancelImmediately?: boolean;
3374
3389
  }>;
3390
+ export type ChargebeeChargeCardOnFileAutomationAction = AutomationActionBuilder<'chargebeeChargeCardOnFile', {
3391
+ chargebeeEnvironment: string;
3392
+ chargeType: 'One-Time' | 'Subscription';
3393
+ itemPriceId: string;
3394
+ quantity?: number;
3395
+ }>;
3375
3396
  export type AIContextSource = {
3376
3397
  type: "Email" | "SMS" | "PhoneCall";
3377
3398
  limit: number;
@@ -3390,6 +3411,7 @@ export type AutomationActionForType = {
3390
3411
  'assignInboxItem': AssignInboxItemAutomationAction;
3391
3412
  'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
3392
3413
  'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
3414
+ 'chargebeeChargeCardOnFile': ChargebeeChargeCardOnFileAutomationAction;
3393
3415
  'outboundCall': OutboundCallAutomationAction;
3394
3416
  "sendEmail": SendEmailAutomationAction;
3395
3417
  "sendSMS": SendSMSAutomationAction;
@@ -4623,6 +4645,7 @@ export type AutomationTriggerEvents = {
4623
4645
  skus?: string[];
4624
4646
  skuPartials?: string[];
4625
4647
  titlePartials?: string[];
4648
+ titlePartialsAnd?: string[];
4626
4649
  }, {}>;
4627
4650
  'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
4628
4651
  phoneNumbers?: string[];
@@ -5028,6 +5051,11 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
5028
5051
  timestamps?: TimeTrackTimestamp[];
5029
5052
  closedAt?: Date | '';
5030
5053
  totalDurationInMS?: number;
5054
+ programTitle?: string;
5055
+ activity?: {
5056
+ type: string;
5057
+ id: string;
5058
+ };
5031
5059
  }
5032
5060
  export interface TicketQueue_readonly extends ClientRecord {
5033
5061
  count?: number;