@tellescope/types-models 1.242.5 → 1.242.7
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 +10 -1
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +10 -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 +13 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -717,6 +717,7 @@ export interface User extends User_required, User_readonly, User_updatesDisabled
|
|
|
717
717
|
voicemailPlayback?: PhonePlayback | {};
|
|
718
718
|
mfa?: MFASettings;
|
|
719
719
|
skills?: string[];
|
|
720
|
+
careTeamRole?: string;
|
|
720
721
|
lockedOutUntil?: number;
|
|
721
722
|
failedLoginAttempts?: number;
|
|
722
723
|
elationUserId?: number;
|
|
@@ -847,9 +848,9 @@ export interface Enduser_readonly extends UserActivityInfo, ClientRecord, Enduse
|
|
|
847
848
|
export interface Enduser_required {
|
|
848
849
|
}
|
|
849
850
|
export interface Enduser_updatesDisabled {
|
|
850
|
-
references?: RelatedRecord[];
|
|
851
851
|
}
|
|
852
852
|
export interface Enduser extends Enduser_readonly, Enduser_required, Enduser_updatesDisabled {
|
|
853
|
+
references?: RelatedRecord[];
|
|
853
854
|
recentViewers?: RecentViewer[];
|
|
854
855
|
healthie_dietitian_id?: string;
|
|
855
856
|
unsubscribePhone?: boolean;
|
|
@@ -3273,6 +3274,12 @@ export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'st
|
|
|
3273
3274
|
productIds?: string[];
|
|
3274
3275
|
subscriptionPriceId?: string;
|
|
3275
3276
|
}>;
|
|
3277
|
+
export type StripeCancelSubscriptionAutomationAction = AutomationActionBuilder<'stripeCancelSubscription', {
|
|
3278
|
+
stripeKey?: string;
|
|
3279
|
+
metadataKey: string;
|
|
3280
|
+
metadataValue: string;
|
|
3281
|
+
cancelImmediately?: boolean;
|
|
3282
|
+
}>;
|
|
3276
3283
|
export type AIContextSource = {
|
|
3277
3284
|
type: "Email" | "SMS" | "PhoneCall";
|
|
3278
3285
|
limit: number;
|
|
@@ -3290,6 +3297,7 @@ export type AutomationActionForType = {
|
|
|
3290
3297
|
'aiDecision': AIDecisionAutomationAction;
|
|
3291
3298
|
'assignInboxItem': AssignInboxItemAutomationAction;
|
|
3292
3299
|
'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
|
|
3300
|
+
'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
|
|
3293
3301
|
'outboundCall': OutboundCallAutomationAction;
|
|
3294
3302
|
"sendEmail": SendEmailAutomationAction;
|
|
3295
3303
|
"sendSMS": SendSMSAutomationAction;
|
|
@@ -4548,6 +4556,7 @@ export type AutomationTriggerEvents = {
|
|
|
4548
4556
|
}, {}>;
|
|
4549
4557
|
'Form Started': AutomationTriggerEventBuilder<"Form Started", {
|
|
4550
4558
|
formIds?: string[];
|
|
4559
|
+
sources?: ('Public Form' | 'Formsort')[];
|
|
4551
4560
|
}, {}>;
|
|
4552
4561
|
"Eligibility Result Received": AutomationTriggerEventBuilder<'Eligibility Result Received', {
|
|
4553
4562
|
source: string;
|