@tellescope/types-models 1.244.1 → 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.
- package/lib/cjs/index.d.ts +31 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +31 -1
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +32 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -1825,6 +1838,7 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1825
1838
|
autoAdvance?: boolean;
|
|
1826
1839
|
autoSubmit?: boolean;
|
|
1827
1840
|
prefillSignature?: boolean;
|
|
1841
|
+
prefillCurrentDate?: boolean;
|
|
1828
1842
|
includeGroupNumber?: boolean;
|
|
1829
1843
|
holdAppointmentMinutes?: number;
|
|
1830
1844
|
rangeStepSize?: number;
|
|
@@ -1852,6 +1866,8 @@ export type FormFieldOptions = FormFieldValidation & {
|
|
|
1852
1866
|
chargebeeEnvironment?: string;
|
|
1853
1867
|
chargebeePlanId?: string;
|
|
1854
1868
|
chargebeeItemId?: string;
|
|
1869
|
+
chargebeeCollectPaymentMethodOnly?: boolean;
|
|
1870
|
+
chargebeeCouponIds?: string[];
|
|
1855
1871
|
relatedContactTypes?: string[];
|
|
1856
1872
|
radioChoices?: string[];
|
|
1857
1873
|
elationHistoryType?: string;
|
|
@@ -2668,6 +2684,7 @@ export interface Product extends Product_readonly, Product_required, Product_upd
|
|
|
2668
2684
|
stripeProductId?: string;
|
|
2669
2685
|
stripePriceId?: string;
|
|
2670
2686
|
additionalStripePriceIds?: string[];
|
|
2687
|
+
chargebeeItemPriceId?: string;
|
|
2671
2688
|
}
|
|
2672
2689
|
export interface Purchase_readonly extends ClientRecord {
|
|
2673
2690
|
}
|
|
@@ -3370,6 +3387,12 @@ export type StripeCancelSubscriptionAutomationAction = AutomationActionBuilder<'
|
|
|
3370
3387
|
metadataValue: string;
|
|
3371
3388
|
cancelImmediately?: boolean;
|
|
3372
3389
|
}>;
|
|
3390
|
+
export type ChargebeeChargeCardOnFileAutomationAction = AutomationActionBuilder<'chargebeeChargeCardOnFile', {
|
|
3391
|
+
chargebeeEnvironment: string;
|
|
3392
|
+
chargeType: 'One-Time' | 'Subscription';
|
|
3393
|
+
itemPriceId: string;
|
|
3394
|
+
quantity?: number;
|
|
3395
|
+
}>;
|
|
3373
3396
|
export type AIContextSource = {
|
|
3374
3397
|
type: "Email" | "SMS" | "PhoneCall";
|
|
3375
3398
|
limit: number;
|
|
@@ -3388,6 +3411,7 @@ export type AutomationActionForType = {
|
|
|
3388
3411
|
'assignInboxItem': AssignInboxItemAutomationAction;
|
|
3389
3412
|
'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
|
|
3390
3413
|
'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
|
|
3414
|
+
'chargebeeChargeCardOnFile': ChargebeeChargeCardOnFileAutomationAction;
|
|
3391
3415
|
'outboundCall': OutboundCallAutomationAction;
|
|
3392
3416
|
"sendEmail": SendEmailAutomationAction;
|
|
3393
3417
|
"sendSMS": SendSMSAutomationAction;
|
|
@@ -4621,6 +4645,7 @@ export type AutomationTriggerEvents = {
|
|
|
4621
4645
|
skus?: string[];
|
|
4622
4646
|
skuPartials?: string[];
|
|
4623
4647
|
titlePartials?: string[];
|
|
4648
|
+
titlePartialsAnd?: string[];
|
|
4624
4649
|
}, {}>;
|
|
4625
4650
|
'Missed Call': AutomationTriggerEventBuilder<"Missed Call", {
|
|
4626
4651
|
phoneNumbers?: string[];
|
|
@@ -5026,6 +5051,11 @@ export interface TimeTrack extends TimeTrack_readonly, TimeTrack_required, TimeT
|
|
|
5026
5051
|
timestamps?: TimeTrackTimestamp[];
|
|
5027
5052
|
closedAt?: Date | '';
|
|
5028
5053
|
totalDurationInMS?: number;
|
|
5054
|
+
programTitle?: string;
|
|
5055
|
+
activity?: {
|
|
5056
|
+
type: string;
|
|
5057
|
+
id: string;
|
|
5058
|
+
};
|
|
5029
5059
|
}
|
|
5030
5060
|
export interface TicketQueue_readonly extends ClientRecord {
|
|
5031
5061
|
count?: number;
|