@bunnyapp/components 1.0.48 → 1.0.50

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import "../../styles/index.less";
3
3
  import { ShadowType } from "../../types/shadowType";
4
- export default function Signup({ companyName, priceListCode, returnUrl, isCardEnabled, className, shadow, style, }: {
4
+ export default function Signup({ companyName, priceListCode, returnUrl, isCardEnabled, className, shadow, style, entityId, }: {
5
5
  /** The company name to display on the signup page */
6
6
  companyName: string;
7
7
  /** The price list code to use for the signup */
@@ -16,4 +16,6 @@ export default function Signup({ companyName, priceListCode, returnUrl, isCardEn
16
16
  shadow?: ShadowType;
17
17
  /** A custom style to apply to the component */
18
18
  style?: React.CSSProperties;
19
+ /** The entity ID to use for the signup */
20
+ entityId: string;
19
21
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ declare const Amex: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Amex;
@@ -0,0 +1,4 @@
1
+ declare const ChinaUnionPay: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default ChinaUnionPay;
@@ -0,0 +1,4 @@
1
+ declare const CreditCard: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default CreditCard;
@@ -0,0 +1,4 @@
1
+ declare const DinersClub: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default DinersClub;
@@ -0,0 +1,4 @@
1
+ declare const Discover: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Discover;
@@ -0,0 +1,4 @@
1
+ declare const JCB: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default JCB;
@@ -0,0 +1,4 @@
1
+ declare const Mastercard: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Mastercard;
@@ -0,0 +1,4 @@
1
+ declare const Visa: ({ className }: {
2
+ className?: string | undefined;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default Visa;
@@ -1,4 +1,4 @@
1
- declare const accountSignup: ({ token, apiHost, accountId, quoteId, paymentToken, paymentMethodId, pluginId, priceListCode, }: {
1
+ declare const accountSignup: ({ token, apiHost, accountId, quoteId, paymentToken, paymentMethodId, pluginId, priceListCode, entityId, }: {
2
2
  token: string;
3
3
  apiHost: string;
4
4
  accountId: string;
@@ -7,5 +7,6 @@ declare const accountSignup: ({ token, apiHost, accountId, quoteId, paymentToken
7
7
  paymentMethodId?: string | undefined;
8
8
  pluginId: string;
9
9
  priceListCode: string;
10
+ entityId: string;
10
11
  }) => Promise<any>;
11
12
  export default accountSignup;
@@ -3,11 +3,12 @@ type BillingContact = {
3
3
  lastName: string;
4
4
  email: string;
5
5
  };
6
- declare const quoteAccountSignup: ({ token, apiHost, priceListCode, accountName, billingContact, }: {
6
+ declare const quoteAccountSignup: ({ token, apiHost, priceListCode, accountName, billingContact, entityId, }: {
7
7
  token?: string | undefined;
8
8
  apiHost: string;
9
9
  priceListCode: string;
10
10
  accountName: string;
11
11
  billingContact: BillingContact;
12
+ entityId: string;
12
13
  }) => Promise<any>;
13
14
  export default quoteAccountSignup;