@tellescope/types-models 1.242.5 → 1.242.6
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 +8 -0
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/index.d.ts +8 -0
- 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 +11 -1
package/lib/cjs/index.d.ts
CHANGED
|
@@ -3273,6 +3273,12 @@ export type StripeChargeCardOnFileAutomationAction = AutomationActionBuilder<'st
|
|
|
3273
3273
|
productIds?: string[];
|
|
3274
3274
|
subscriptionPriceId?: string;
|
|
3275
3275
|
}>;
|
|
3276
|
+
export type StripeCancelSubscriptionAutomationAction = AutomationActionBuilder<'stripeCancelSubscription', {
|
|
3277
|
+
stripeKey?: string;
|
|
3278
|
+
metadataKey: string;
|
|
3279
|
+
metadataValue: string;
|
|
3280
|
+
cancelImmediately?: boolean;
|
|
3281
|
+
}>;
|
|
3276
3282
|
export type AIContextSource = {
|
|
3277
3283
|
type: "Email" | "SMS" | "PhoneCall";
|
|
3278
3284
|
limit: number;
|
|
@@ -3290,6 +3296,7 @@ export type AutomationActionForType = {
|
|
|
3290
3296
|
'aiDecision': AIDecisionAutomationAction;
|
|
3291
3297
|
'assignInboxItem': AssignInboxItemAutomationAction;
|
|
3292
3298
|
'stripeChargeCardOnFile': StripeChargeCardOnFileAutomationAction;
|
|
3299
|
+
'stripeCancelSubscription': StripeCancelSubscriptionAutomationAction;
|
|
3293
3300
|
'outboundCall': OutboundCallAutomationAction;
|
|
3294
3301
|
"sendEmail": SendEmailAutomationAction;
|
|
3295
3302
|
"sendSMS": SendSMSAutomationAction;
|
|
@@ -4548,6 +4555,7 @@ export type AutomationTriggerEvents = {
|
|
|
4548
4555
|
}, {}>;
|
|
4549
4556
|
'Form Started': AutomationTriggerEventBuilder<"Form Started", {
|
|
4550
4557
|
formIds?: string[];
|
|
4558
|
+
sources?: ('Public Form' | 'Formsort')[];
|
|
4551
4559
|
}, {}>;
|
|
4552
4560
|
"Eligibility Result Received": AutomationTriggerEventBuilder<'Eligibility Result Received', {
|
|
4553
4561
|
source: string;
|