File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
types/recurly__recurly-js Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff 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+
3044export 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
3652export type PayPalConfig = BraintreeConfig | DirectConfig | PayPalCompleteConfig ;
Original file line number Diff line number Diff line change 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" : [
You can’t perform that action at this time.
0 commit comments