@mercoa/react 0.0.45 → 0.0.46-rc1

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.
@@ -32,11 +32,10 @@ export declare function AddBankViaPlaidOrManual({ title, actions, onSubmit, enti
32
32
  entityId?: Mercoa.EntityId;
33
33
  bankAccount?: Mercoa.BankAccountRequest;
34
34
  }): import("react/jsx-runtime").JSX.Element;
35
- export declare function AddBankAccount({ onSubmit, title, actions, formOnlySubmit, bankAccount, entityId, }: {
35
+ export declare function AddBankAccount({ onSubmit, title, actions, bankAccount, entityId, }: {
36
36
  onSubmit?: Function;
37
37
  title?: ReactNode;
38
38
  actions?: ReactNode;
39
- formOnlySubmit?: Function;
40
39
  bankAccount?: Mercoa.BankAccountRequest;
41
40
  entityId?: Mercoa.EntityId;
42
41
  }): import("react/jsx-runtime").JSX.Element;
@@ -12,11 +12,10 @@ export declare function AddCheckDialog({ entityId, onSelect, check, }: {
12
12
  onSelect?: Function;
13
13
  check?: Mercoa.CheckRequest;
14
14
  }): import("react/jsx-runtime").JSX.Element;
15
- export declare function AddCheck({ onSubmit, title, actions, formOnlySubmit, check, entityId, }: {
15
+ export declare function AddCheck({ onSubmit, title, actions, check, entityId, }: {
16
16
  onSubmit?: (data?: Mercoa.PaymentMethodResponse) => void;
17
17
  title?: ReactNode;
18
18
  actions?: ReactNode;
19
- formOnlySubmit?: Function;
20
19
  check?: Mercoa.CheckRequest;
21
20
  entityId?: Mercoa.EntityId;
22
21
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { ReactNode } from 'react';
2
1
  import { Mercoa } from '@mercoa/javascript';
2
+ import { ReactNode } from 'react';
3
3
  export declare function CustomPaymentMethods({ children, onSelect, showEdit, schema, }: {
4
4
  children?: Function;
5
5
  onSelect?: Function;
@@ -14,11 +14,10 @@ export declare function CustomPaymentMethod({ children, account, onSelect, selec
14
14
  showEdit?: boolean;
15
15
  schema?: Mercoa.CustomPaymentMethodSchemaResponse;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
- export declare function AddCustomPaymentMethod({ onSubmit, title, actions, formOnlySubmit, entityId, schema, }: {
17
+ export declare function AddCustomPaymentMethod({ onSubmit, title, actions, entityId, schema, }: {
18
18
  onSubmit?: (data: Mercoa.PaymentMethodResponse) => void;
19
19
  title?: ReactNode;
20
20
  actions?: ReactNode;
21
- formOnlySubmit?: Function;
22
21
  entityId?: string;
23
22
  schema: Mercoa.CustomPaymentMethodSchemaResponse;
24
23
  }): import("react/jsx-runtime").JSX.Element;
@@ -29,8 +29,9 @@ export declare function PayablesTable({ statuses, search, metadata, startDate, e
29
29
  columns?: InvoiceTableColumn[];
30
30
  children?: ({ dataLoaded, invoices, hasNext, getNext, hasPrevious, getPrevious, resultsPerPage, setResultsPerPage, selectedInvoiceStatuses, setSelectedInvoiceStatues, downloadCSV, }: PayablesTableChildrenProps) => ReactElement | null;
31
31
  }): import("react/jsx-runtime").JSX.Element | null;
32
- export declare function InvoiceStatusPill({ status, amount, payerId, vendorId, dueDate, paymentSourceId, paymentDestinationId, type, }: {
32
+ export declare function InvoiceStatusPill({ status, failureType, amount, payerId, vendorId, dueDate, paymentSourceId, paymentDestinationId, type, }: {
33
33
  status: Mercoa.InvoiceStatus;
34
+ failureType?: Mercoa.InvoiceFailureType;
34
35
  amount?: number;
35
36
  payerId?: string;
36
37
  vendorId?: string;