Skip to content

Commit 4f9d22b

Browse files
🤖 Merge PR DefinitelyTyped#74821 Updates types for Recurly.js v4.41.2 by @recurly-integrations
Co-authored-by: recurly-integrations <recurly-integrations@users.noreply.github.com>
1 parent 35f9535 commit 4f9d22b

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

‎types/recurly__recurly-js/lib/paypal.d.ts‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,26 @@ export type DirectConfig = {
2727
};
2828
};
2929

30+
export type UsagePattern =
31+
| 'SUBSCRIPTION_PREPAID'
32+
| 'SUBSCRIPTION_POSTPAID'
33+
| 'RECURRING_PREPAID'
34+
| 'RECURRING_POSTPAID'
35+
| 'UNSCHEDULED_POSTPAID'
36+
| 'UNSCHEDULED_PREPAID'
37+
| 'INSTALLMENT_POSTPAID'
38+
| 'INSTALLMENT_PREPAID';
39+
40+
export type BillingPlan = {
41+
[key: string]: any;
42+
};
43+
3044
export type PayPalCompleteConfig = {
31-
payPalComplete?: boolean;
45+
payPalComplete?: boolean | { target: string; buttonOptions?: object };
3246
display?: PayPalDisplayConfig;
3347
gatewayCode?: string;
48+
usagePattern?: UsagePattern;
49+
billingPlan?: BillingPlan;
3450
};
3551

3652
export type PayPalConfig = BraintreeConfig | DirectConfig | PayPalCompleteConfig;

‎types/recurly__recurly-js/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@types/recurly__recurly-js",
4-
"version": "4.39.9999",
4+
"version": "4.41.9999",
55
"nonNpm": true,
66
"nonNpmDescription": "@recurly/recurly-js",
77
"projects": [

0 commit comments

Comments
 (0)