@types/paypal-checkout-components
Advanced tools
Comparing version 4.0.5 to 4.0.6
@@ -7,29 +7,27 @@ // Type definitions for paypal-checkout-components 4.0 | ||
import { | ||
ButtonRenderer, ButtonsRenderer, FundingOption | ||
} from './modules/button'; | ||
import { ButtonRenderer, ButtonsRenderer, FundingOption } from "./modules/button"; | ||
import { | ||
ButtonColorOption, | ||
ButtonLabelOption, | ||
ButtonShapeOption, | ||
ButtonSizeOption, | ||
ButtonStyle, | ||
Environment, | ||
} from './modules/configuration'; | ||
ButtonColorOption, | ||
ButtonLabelOption, | ||
ButtonShapeOption, | ||
ButtonSizeOption, | ||
ButtonStyle, | ||
Environment, | ||
} from "./modules/configuration"; | ||
import { | ||
Address, | ||
AuthorizationData, | ||
AuthorizationResponse, | ||
CancellationData, | ||
CreditFinancingOptions, | ||
FlowType, | ||
Intent, | ||
LineItem, | ||
LineItemKind, | ||
ShippingOption, | ||
ShippingOptionType, | ||
AuthorizationResponseDetails, | ||
} from './modules/callback-data'; | ||
Address, | ||
AuthorizationData, | ||
AuthorizationResponse, | ||
AuthorizationResponseDetails, | ||
CancellationData, | ||
CreditFinancingOptions, | ||
FlowType, | ||
Intent, | ||
LineItem, | ||
LineItemKind, | ||
ShippingOption, | ||
ShippingOptionType, | ||
} from "./modules/callback-data"; | ||
@@ -41,28 +39,28 @@ export const Button: ButtonRenderer; | ||
export { | ||
Address, | ||
AuthorizationData, | ||
AuthorizationResponse, | ||
AuthorizationResponse as AuthorizationTokenizePayload, // maintain backwards compatibility | ||
AuthorizationResponse as TokenizePayload, // maintain backwards compatibility | ||
AuthorizationResponseDetails, | ||
AuthorizationResponseDetails as TokenizePayloadDetails, // maintain backwards compatibility | ||
ButtonRenderer, | ||
ButtonsRenderer, | ||
ButtonColorOption, | ||
ButtonLabelOption, | ||
ButtonShapeOption, | ||
ButtonSizeOption, | ||
ButtonStyle, | ||
CancellationData, | ||
CreditFinancingOptions, | ||
Environment, | ||
FlowType, | ||
FundingOption as FUNDING, | ||
Intent, | ||
LineItem, | ||
LineItemKind, | ||
ShippingOption, | ||
ShippingOptionType, | ||
Address, | ||
AuthorizationData, | ||
AuthorizationResponse, | ||
AuthorizationResponse as AuthorizationTokenizePayload, // maintain backwards compatibility | ||
AuthorizationResponse as TokenizePayload, // maintain backwards compatibility | ||
AuthorizationResponseDetails, | ||
AuthorizationResponseDetails as TokenizePayloadDetails, // maintain backwards compatibility | ||
ButtonColorOption, | ||
ButtonLabelOption, | ||
ButtonRenderer, | ||
ButtonShapeOption, | ||
ButtonSizeOption, | ||
ButtonsRenderer, | ||
ButtonStyle, | ||
CancellationData, | ||
CreditFinancingOptions, | ||
Environment, | ||
FlowType, | ||
FundingOption as FUNDING, | ||
Intent, | ||
LineItem, | ||
LineItemKind, | ||
ShippingOption, | ||
ShippingOptionType, | ||
}; | ||
export as namespace paypal; |
@@ -1,4 +0,4 @@ | ||
import { Environment, ButtonStyle } from './configuration'; | ||
import { ButtonStyle, Environment } from "./configuration"; | ||
import { AuthorizationData, AuthorizationResponse, CancellationData } from './callback-data'; | ||
import { AuthorizationData, AuthorizationResponse, CancellationData } from "./callback-data"; | ||
@@ -31,5 +31,5 @@ export enum FundingOption { | ||
| { | ||
allowed?: FundingOption[] | undefined; | ||
disallowed?: FundingOption[] | undefined; | ||
} | ||
allowed?: FundingOption[] | undefined; | ||
disallowed?: FundingOption[] | undefined; | ||
} | ||
| undefined; | ||
@@ -36,0 +36,0 @@ |
export enum LineItemKind { | ||
Debit = 'debit', | ||
Credit = 'credit', | ||
Debit = "debit", | ||
Credit = "credit", | ||
} | ||
@@ -52,3 +52,3 @@ | ||
*/ | ||
Shipping = 'SHIPPING', | ||
Shipping = "SHIPPING", | ||
@@ -58,3 +58,3 @@ /** | ||
*/ | ||
Pickup = 'PICKUP', | ||
Pickup = "PICKUP", | ||
} | ||
@@ -228,3 +228,3 @@ | ||
*/ | ||
Vault = 'vault', | ||
Vault = "vault", | ||
@@ -234,3 +234,3 @@ /** | ||
*/ | ||
Checkout = 'checkout', | ||
Checkout = "checkout", | ||
} | ||
@@ -242,3 +242,3 @@ | ||
*/ | ||
Authorize = 'authorize', | ||
Authorize = "authorize", | ||
@@ -250,3 +250,3 @@ /** | ||
*/ | ||
Order = 'order', | ||
Order = "order", | ||
@@ -257,3 +257,3 @@ /** | ||
*/ | ||
Capture = 'capture', | ||
Capture = "capture", | ||
} | ||
@@ -260,0 +260,0 @@ |
export enum Environment { | ||
Production = 'production', | ||
Sandbox = 'sandbox', | ||
Production = "production", | ||
Sandbox = "sandbox", | ||
} | ||
@@ -13,3 +13,3 @@ | ||
*/ | ||
Gold = 'gold', | ||
Gold = "gold", | ||
@@ -22,3 +22,3 @@ /** | ||
*/ | ||
Blue = 'blue', | ||
Blue = "blue", | ||
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
Silver = 'silver', | ||
Silver = "silver", | ||
@@ -40,3 +40,3 @@ /** | ||
*/ | ||
Black = 'black', | ||
Black = "black", | ||
@@ -46,3 +46,3 @@ /** | ||
*/ | ||
White = 'white', | ||
White = "white", | ||
} | ||
@@ -56,3 +56,3 @@ | ||
*/ | ||
Pill = 'pill', | ||
Pill = "pill", | ||
@@ -63,3 +63,3 @@ /** | ||
*/ | ||
Rect = 'rect', | ||
Rect = "rect", | ||
} | ||
@@ -72,3 +72,3 @@ | ||
*/ | ||
Small = 'small', | ||
Small = "small", | ||
@@ -78,3 +78,3 @@ /** | ||
*/ | ||
Medium = 'medium', | ||
Medium = "medium", | ||
@@ -84,3 +84,3 @@ /** | ||
*/ | ||
Large = 'large', | ||
Large = "large", | ||
@@ -92,3 +92,3 @@ /** | ||
*/ | ||
Responsive = 'responsive', | ||
Responsive = "responsive", | ||
} | ||
@@ -100,3 +100,3 @@ | ||
*/ | ||
Checkout = 'checkout', | ||
Checkout = "checkout", | ||
@@ -106,3 +106,3 @@ /** | ||
*/ | ||
Credit = 'credit', | ||
Credit = "credit", | ||
@@ -112,3 +112,3 @@ /** | ||
*/ | ||
Pay = 'pay', | ||
Pay = "pay", | ||
@@ -119,3 +119,3 @@ /** | ||
*/ | ||
BuyNow = 'buynow', | ||
BuyNow = "buynow", | ||
@@ -125,3 +125,3 @@ /** | ||
*/ | ||
PayPal = 'paypal', | ||
PayPal = "paypal", | ||
} | ||
@@ -128,0 +128,0 @@ |
{ | ||
"name": "@types/paypal-checkout-components", | ||
"version": "4.0.5", | ||
"version": "4.0.6", | ||
"description": "TypeScript definitions for paypal-checkout-components", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/paypal-checkout-components", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "0cf2f4c9ac3a05fd0268aa45e4aa9bea7531fadceff53c1eebcef0d182c2a7e9", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "4432d3ec584525c6b1e75e8922e5a83701726d679def6ea1012160ba98a735fd", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 14 Feb 2023 22:09:22 GMT | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `paypal` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16575
445