@bunnyapp/components 1.0.17 → 1.0.19

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,11 +1,10 @@
1
1
  import "../../styles/index.less";
2
2
  import { ShadowType } from "../../types/shadowType";
3
- declare const BillingDetails: ({ entityId, isCardEnabled, shadow, className, accountId: accountIdProp, hidePaymentMethodForm, countryListFilter, }: {
3
+ declare const BillingDetails: ({ entityId, isCardEnabled, shadow, className, hidePaymentMethodForm, countryListFilter, }: {
4
4
  entityId: string;
5
5
  isCardEnabled?: boolean | undefined;
6
6
  shadow?: ShadowType | undefined;
7
7
  className?: string | undefined;
8
- accountId?: string | undefined;
9
8
  hidePaymentMethodForm?: boolean | undefined;
10
9
  countryListFilter?: ((country: {
11
10
  value: string;
@@ -1,2 +1,3 @@
1
1
  import { InvoiceQuoteContextProps } from "./InvoiceQuoteContext";
2
+ import "../../styles/index.less";
2
3
  export default function Invoice({ id, invoiceQuoteViewComponent, backButtonName, onBackButtonClick, onInvoiceDownloadError, onPaymentSuccess, entityId, shadow, className, hideDownloadButton, }: InvoiceQuoteContextProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
- export default function InvoicePDF({ invoiceUuid, apiHost, }: {
1
+ export default function InvoicePDF({ invoiceUuid, apiHost, token, }: {
2
2
  invoiceUuid?: string;
3
3
  apiHost: string;
4
+ token: string;
4
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ declare const billingDetailsUpdate: ({ attributes, token, apiHost, }: {
2
+ attributes: Record<string, string>;
3
+ token: string;
4
+ apiHost: string;
5
+ }) => Promise<any>;
6
+ export default billingDetailsUpdate;
@@ -0,0 +1,6 @@
1
+ import BillingDetails from "../../types/billingDetails";
2
+ declare const getBillingDetails: ({ token, apiHost, }: {
3
+ token: string;
4
+ apiHost: string;
5
+ }) => Promise<BillingDetails>;
6
+ export default getBillingDetails;
@@ -0,0 +1,12 @@
1
+ export default interface BillingDetails {
2
+ name?: string;
3
+ billingCity?: string;
4
+ billingContact?: {
5
+ email?: string;
6
+ };
7
+ billingCountry?: string;
8
+ billingState?: string;
9
+ billingStreet?: string;
10
+ billingZip?: string;
11
+ taxNumber?: string;
12
+ }