@tesouro/embedded-components-react 0.3.25 → 0.3.27
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.
- package/README.md +3 -0
- package/dist/experimental/WidgetSuite.d.ts +32 -3
- package/dist/experimental/index.d.ts +32 -3
- package/dist/index.d.ts +60 -25
- package/dist/lib/AcceptDisclosuresWidget.d.ts +32 -3
- package/dist/lib/BalancesWidget.d.ts +31 -2
- package/dist/lib/BankAccountOnboardingWidget.d.ts +32 -3
- package/dist/lib/BankAccountsWidget.d.ts +32 -3
- package/dist/lib/BillPayWidget.d.ts +31 -2
- package/dist/lib/CardDetailsWidget.d.ts +32 -3
- package/dist/lib/CardsWidget.d.ts +32 -3
- package/dist/lib/ChartOfAccountsWidget.d.ts +32 -3
- package/dist/lib/CounterpartsWidget.d.ts +32 -3
- package/dist/lib/CreateCardWidget.d.ts +32 -3
- package/dist/lib/ExpenseApprovalPoliciesWidget.d.ts +32 -3
- package/dist/lib/ExpenseManagementWidget.d.ts +32 -3
- package/dist/lib/ExpenseRequirementsWidget.d.ts +32 -3
- package/dist/lib/HelpWidget.d.ts +32 -3
- package/dist/lib/InsightsWidget.d.ts +31 -2
- package/dist/lib/InvoicingWidget.d.ts +32 -3
- package/dist/lib/LinkedAccountsWidget.d.ts +32 -3
- package/dist/lib/ProductsWidget.d.ts +32 -3
- package/dist/lib/ProfileWidget.d.ts +32 -3
- package/dist/lib/ReceiptMatchWidget.d.ts +32 -3
- package/dist/lib/ReceivablesWidget.d.ts +32 -3
- package/dist/lib/SettingsWidget.d.ts +32 -3
- package/dist/lib/TagsWidget.d.ts +32 -3
- package/dist/lib/TeamWidget.d.ts +32 -3
- package/dist/lib/TransfersWidget.d.ts +31 -2
- package/dist/lib/WidgetProvider.d.ts +39 -4
- package/dist/lib/WidgetProviderPublic.d.ts +31 -2
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index5.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +131 -130
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js +88 -87
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index6.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index9.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/help-widget/feature/dist/index3.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/index8.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/profile-widget/feature/dist/index4.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +50 -48
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetErrorBoundary.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +174 -163
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/labels.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/events.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/tags-widget/feature/dist/index11.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,7 @@ App-level provider. Resolves `baseUrl` / `widgetToken` / `organizationId` (falli
|
|
|
120
120
|
| `analytics` | `boolean` | Enables anonymous analytics for this provider tree (default `true`). `RootWidgetProvider` is the analytics owner; set `false` to disable capture and skip loading PostHog. |
|
|
121
121
|
| `unstable_initResponseOverride` | `WidgetInitResponse` | First-party hosts only. Skips the `GET /api/widget-gateway/init` fetch and exposes this host-authored object as `initResponse` to the subtree. Use when the host authenticates users directly against the Tesouro issuer and passes the user's bearer access token as `widgetToken`. Embed integrations minting widget JWEs must leave this unset. |
|
|
122
122
|
| `disclosuresAcceptance` | `ReactNode` | Accept surface shown when the caller owes disclosures (`INVITED`, or `REQUIRED` with `disclosuresAccepted: false`). Pass `<AcceptDisclosuresWidget />`. Cascades to nested providers. |
|
|
123
|
+
| `providerLabels` | `Partial<WidgetProviderLabels>` | Overrides the copy a provider renders in place of a widget: the error-boundary fallback and the disclosures gate. Any subset; unlisted keys keep their defaults. Cascades to nested providers. See Provider copy. |
|
|
123
124
|
| `children` | `ReactNode` | The React subtree that consumes the widget context. |
|
|
124
125
|
|
|
125
126
|
### `WidgetProvider`
|
|
@@ -142,6 +143,7 @@ Mid-tree or standalone provider. With no props it is a transparent pass-through
|
|
|
142
143
|
| `onError` | `(error: unknown, info: ErrorInfo) => void` | Optional telemetry hook. Runs once per caught error before the fallback renders. |
|
|
143
144
|
| `analytics` | `boolean` | Enables anonymous analytics (default `true`). Honored only when this is a standalone analytics owner (no `RootWidgetProvider` ancestor); on a nested provider it is a no-op. |
|
|
144
145
|
| `disclosuresAcceptance` | `ReactNode` | Accept surface shown when the caller owes disclosures (`INVITED`, or `REQUIRED` with `disclosuresAccepted: false`). Pass `<AcceptDisclosuresWidget />`. When omitted, inherits from the nearest ancestor. |
|
|
146
|
+
| `providerLabels` | `Partial<WidgetProviderLabels>` | Overrides the copy this provider renders in place of the widget: the error-boundary fallback and the disclosures gate. Any subset; unlisted keys keep their defaults. When omitted, inherits from the nearest ancestor. See Provider copy. |
|
|
145
147
|
| `children` | `ReactNode` | The React subtree that consumes the overridden context. |
|
|
146
148
|
|
|
147
149
|
### `WidgetTokenRefreshProvider`
|
|
@@ -175,6 +177,7 @@ Bundles `WidgetTokenRefreshProvider` + `RootWidgetProvider` and wires the live t
|
|
|
175
177
|
| `analytics` | `RootWidgetProvider` | Enables anonymous analytics (default `true`); set `false` to disable capture. |
|
|
176
178
|
| `unstable_initResponseOverride` | `RootWidgetProvider` | First-party hosts only. Skips the gateway init fetch and supplies host-authored identity for the subtree. |
|
|
177
179
|
| `disclosuresAcceptance` | `RootWidgetProvider` | Accept surface shown when the caller owes disclosures (`INVITED`, or `REQUIRED` with `disclosuresAccepted: false`). Cascades to nested providers. |
|
|
180
|
+
| `providerLabels` | `RootWidgetProvider` | Overrides the copy a provider renders in place of a widget (error-boundary fallback, disclosures gate). Any subset. Cascades to nested providers. |
|
|
178
181
|
| `fetcher` | `WidgetTokenRefreshProvider` | Required. |
|
|
179
182
|
| `leadSeconds` | `WidgetTokenRefreshProvider` | Default `60`. |
|
|
180
183
|
| `onToken` | `WidgetTokenRefreshProvider` | Fires once per distinct token; useful for telemetry, persistence, or — for non-React hosts — mirroring the token via `updateGlobalWidgetConfig`. |
|
|
@@ -595,6 +595,26 @@ interface WidgetProviderBaseProps extends WidgetConfigInput {
|
|
|
595
595
|
analytics?: boolean;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
+
/**
|
|
599
|
+
* Copy for the states `WidgetProvider` renders *itself*, in place of the widget:
|
|
600
|
+
* the error-boundary fallback and the disclosures gate. A host overrides any
|
|
601
|
+
* subset through the `providerLabels` prop, which cascades like
|
|
602
|
+
* `disclosuresAcceptance`.
|
|
603
|
+
*
|
|
604
|
+
* Not named `Labels` on the public surface: a widget's own `labels` prop is a
|
|
605
|
+
* different thing, and these two travel together on every widget's props type.
|
|
606
|
+
*/
|
|
607
|
+
interface WidgetProviderLabels {
|
|
608
|
+
/** Default copy for the built-in error boundary fallback. */
|
|
609
|
+
errorBoundaryFallback: string;
|
|
610
|
+
/** Heading when init reports disclosures are required and not yet accepted. */
|
|
611
|
+
disclosuresRequiredTitle: string;
|
|
612
|
+
/** Heading while a token-only refresh leaves init stale for the live token. */
|
|
613
|
+
disclosuresRefreshingTitle: string;
|
|
614
|
+
/** Supporting copy while the accept action is withheld for a stale init. */
|
|
615
|
+
disclosuresRefreshingDescription: string;
|
|
616
|
+
}
|
|
617
|
+
|
|
598
618
|
/**
|
|
599
619
|
* Props for {@link WidgetProvider}.
|
|
600
620
|
*
|
|
@@ -607,8 +627,8 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
607
627
|
* Fallback rendered when a render-time exception is caught inside this
|
|
608
628
|
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
609
629
|
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
610
|
-
* `react-error-boundary`. Default is a plain `role="alert"` div
|
|
611
|
-
*
|
|
630
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div whose copy
|
|
631
|
+
* comes from `providerLabels.errorBoundaryFallback`.
|
|
612
632
|
*/
|
|
613
633
|
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
614
634
|
/**
|
|
@@ -625,6 +645,15 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
625
645
|
* WidgetProvider cannot import the widget itself (cycle).
|
|
626
646
|
*/
|
|
627
647
|
disclosuresAcceptance?: ReactNode;
|
|
648
|
+
/**
|
|
649
|
+
* Overrides for the copy this provider renders in place of the widget: the
|
|
650
|
+
* built-in error-boundary fallback and the disclosures gate. Any subset;
|
|
651
|
+
* unlisted keys keep their defaults. Cascades like `linkComponent`.
|
|
652
|
+
*
|
|
653
|
+
* Named `providerLabels` rather than `labels` because a widget's own
|
|
654
|
+
* `labels` prop sits alongside this one on the same props type.
|
|
655
|
+
*/
|
|
656
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
628
657
|
}
|
|
629
658
|
|
|
630
659
|
/**
|
|
@@ -941,7 +970,7 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
941
970
|
* card list its cursor. That split is the widgets' current shape rather than a
|
|
942
971
|
* decision — see `WidgetSuiteSelection` for the ticket behind each gap.
|
|
943
972
|
*/
|
|
944
|
-
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
973
|
+
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
945
974
|
|
|
946
975
|
export { WIDGET_SUITE_CONTENT_LABELS_EN, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_DISCLOSURE_LABELS_EN, WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SECTION_TITLE_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
|
|
947
976
|
export type { PartialDeep, WidgetSuiteAccountsSelection, WidgetSuiteCardsSelection, WidgetSuiteCardsSelectionSnapshot, WidgetSuiteContentLabels, WidgetSuiteDefaultSelection, WidgetSuiteDisclosureLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteSelection, WidgetSuiteSelectionSnapshot, WidgetSuiteSettingsSelection, WidgetSuiteShellLabels };
|
|
@@ -595,6 +595,26 @@ interface WidgetProviderBaseProps extends WidgetConfigInput {
|
|
|
595
595
|
analytics?: boolean;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
+
/**
|
|
599
|
+
* Copy for the states `WidgetProvider` renders *itself*, in place of the widget:
|
|
600
|
+
* the error-boundary fallback and the disclosures gate. A host overrides any
|
|
601
|
+
* subset through the `providerLabels` prop, which cascades like
|
|
602
|
+
* `disclosuresAcceptance`.
|
|
603
|
+
*
|
|
604
|
+
* Not named `Labels` on the public surface: a widget's own `labels` prop is a
|
|
605
|
+
* different thing, and these two travel together on every widget's props type.
|
|
606
|
+
*/
|
|
607
|
+
interface WidgetProviderLabels {
|
|
608
|
+
/** Default copy for the built-in error boundary fallback. */
|
|
609
|
+
errorBoundaryFallback: string;
|
|
610
|
+
/** Heading when init reports disclosures are required and not yet accepted. */
|
|
611
|
+
disclosuresRequiredTitle: string;
|
|
612
|
+
/** Heading while a token-only refresh leaves init stale for the live token. */
|
|
613
|
+
disclosuresRefreshingTitle: string;
|
|
614
|
+
/** Supporting copy while the accept action is withheld for a stale init. */
|
|
615
|
+
disclosuresRefreshingDescription: string;
|
|
616
|
+
}
|
|
617
|
+
|
|
598
618
|
/**
|
|
599
619
|
* Props for {@link WidgetProvider}.
|
|
600
620
|
*
|
|
@@ -607,8 +627,8 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
607
627
|
* Fallback rendered when a render-time exception is caught inside this
|
|
608
628
|
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
609
629
|
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
610
|
-
* `react-error-boundary`. Default is a plain `role="alert"` div
|
|
611
|
-
*
|
|
630
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div whose copy
|
|
631
|
+
* comes from `providerLabels.errorBoundaryFallback`.
|
|
612
632
|
*/
|
|
613
633
|
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
614
634
|
/**
|
|
@@ -625,6 +645,15 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
625
645
|
* WidgetProvider cannot import the widget itself (cycle).
|
|
626
646
|
*/
|
|
627
647
|
disclosuresAcceptance?: ReactNode;
|
|
648
|
+
/**
|
|
649
|
+
* Overrides for the copy this provider renders in place of the widget: the
|
|
650
|
+
* built-in error-boundary fallback and the disclosures gate. Any subset;
|
|
651
|
+
* unlisted keys keep their defaults. Cascades like `linkComponent`.
|
|
652
|
+
*
|
|
653
|
+
* Named `providerLabels` rather than `labels` because a widget's own
|
|
654
|
+
* `labels` prop sits alongside this one on the same props type.
|
|
655
|
+
*/
|
|
656
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
628
657
|
}
|
|
629
658
|
|
|
630
659
|
/**
|
|
@@ -941,7 +970,7 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
941
970
|
* card list its cursor. That split is the widgets' current shape rather than a
|
|
942
971
|
* decision — see `WidgetSuiteSelection` for the ticket behind each gap.
|
|
943
972
|
*/
|
|
944
|
-
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
973
|
+
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
945
974
|
|
|
946
975
|
export { WIDGET_SUITE_CONTENT_LABELS_EN, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_DISCLOSURE_LABELS_EN, WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SECTION_TITLE_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
|
|
947
976
|
export type { PartialDeep, WidgetSuiteAccountsSelection, WidgetSuiteCardsSelection, WidgetSuiteCardsSelectionSnapshot, WidgetSuiteContentLabels, WidgetSuiteDefaultSelection, WidgetSuiteDisclosureLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteSelection, WidgetSuiteSelectionSnapshot, WidgetSuiteSettingsSelection, WidgetSuiteShellLabels };
|
package/dist/index.d.ts
CHANGED
|
@@ -814,6 +814,26 @@ interface WidgetConfig extends WidgetConfigInput {
|
|
|
814
814
|
initResponse?: WidgetInitResponse;
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
+
/**
|
|
818
|
+
* Copy for the states `WidgetProvider` renders *itself*, in place of the widget:
|
|
819
|
+
* the error-boundary fallback and the disclosures gate. A host overrides any
|
|
820
|
+
* subset through the `providerLabels` prop, which cascades like
|
|
821
|
+
* `disclosuresAcceptance`.
|
|
822
|
+
*
|
|
823
|
+
* Not named `Labels` on the public surface: a widget's own `labels` prop is a
|
|
824
|
+
* different thing, and these two travel together on every widget's props type.
|
|
825
|
+
*/
|
|
826
|
+
interface WidgetProviderLabels {
|
|
827
|
+
/** Default copy for the built-in error boundary fallback. */
|
|
828
|
+
errorBoundaryFallback: string;
|
|
829
|
+
/** Heading when init reports disclosures are required and not yet accepted. */
|
|
830
|
+
disclosuresRequiredTitle: string;
|
|
831
|
+
/** Heading while a token-only refresh leaves init stale for the live token. */
|
|
832
|
+
disclosuresRefreshingTitle: string;
|
|
833
|
+
/** Supporting copy while the accept action is withheld for a stale init. */
|
|
834
|
+
disclosuresRefreshingDescription: string;
|
|
835
|
+
}
|
|
836
|
+
|
|
817
837
|
/**
|
|
818
838
|
* Replaces the global widget config and notifies all reactive subscribers.
|
|
819
839
|
*
|
|
@@ -1028,6 +1048,12 @@ interface RootWidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
1028
1048
|
* WidgetProviders.
|
|
1029
1049
|
*/
|
|
1030
1050
|
disclosuresAcceptance?: ReactNode;
|
|
1051
|
+
/**
|
|
1052
|
+
* Overrides for the copy a descendant `WidgetProvider` renders in place of
|
|
1053
|
+
* its widget: the built-in error-boundary fallback and the disclosures gate.
|
|
1054
|
+
* Any subset; unlisted keys keep their defaults. Cascades to the whole tree.
|
|
1055
|
+
*/
|
|
1056
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
1031
1057
|
}
|
|
1032
1058
|
/**
|
|
1033
1059
|
* Top-level provider for the widget config cascade.
|
|
@@ -1081,7 +1107,7 @@ interface RootWidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
1081
1107
|
* @see {@link useWidgetConfig} to read the resolved config in descendants
|
|
1082
1108
|
* @see {@link setGlobalWidgetConfig} to push config imperatively from outside React
|
|
1083
1109
|
*/
|
|
1084
|
-
declare function RootWidgetProvider({ children, baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, implementation, analytics, unstable_initResponseOverride, disclosuresAcceptance, }: PropsWithChildren<RootWidgetProviderProps>): React.JSX.Element;
|
|
1110
|
+
declare function RootWidgetProvider({ children, baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, implementation, analytics, unstable_initResponseOverride, disclosuresAcceptance, providerLabels, }: PropsWithChildren<RootWidgetProviderProps>): React.JSX.Element;
|
|
1085
1111
|
|
|
1086
1112
|
/**
|
|
1087
1113
|
* Props for {@link WidgetProvider}.
|
|
@@ -1095,8 +1121,8 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
1095
1121
|
* Fallback rendered when a render-time exception is caught inside this
|
|
1096
1122
|
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
1097
1123
|
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
1098
|
-
* `react-error-boundary`. Default is a plain `role="alert"` div
|
|
1099
|
-
*
|
|
1124
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div whose copy
|
|
1125
|
+
* comes from `providerLabels.errorBoundaryFallback`.
|
|
1100
1126
|
*/
|
|
1101
1127
|
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
1102
1128
|
/**
|
|
@@ -1113,6 +1139,15 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
1113
1139
|
* WidgetProvider cannot import the widget itself (cycle).
|
|
1114
1140
|
*/
|
|
1115
1141
|
disclosuresAcceptance?: ReactNode;
|
|
1142
|
+
/**
|
|
1143
|
+
* Overrides for the copy this provider renders in place of the widget: the
|
|
1144
|
+
* built-in error-boundary fallback and the disclosures gate. Any subset;
|
|
1145
|
+
* unlisted keys keep their defaults. Cascades like `linkComponent`.
|
|
1146
|
+
*
|
|
1147
|
+
* Named `providerLabels` rather than `labels` because a widget's own
|
|
1148
|
+
* `labels` prop sits alongside this one on the same props type.
|
|
1149
|
+
*/
|
|
1150
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
1116
1151
|
}
|
|
1117
1152
|
|
|
1118
1153
|
declare const USStateAbbreviation: {
|
|
@@ -1490,7 +1525,7 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
1490
1525
|
*
|
|
1491
1526
|
* See `WidgetSuite`, which mounts it as its acceptance state.
|
|
1492
1527
|
*/
|
|
1493
|
-
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
1528
|
+
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
1494
1529
|
|
|
1495
1530
|
interface Labels$6 {
|
|
1496
1531
|
bankingTaglinePrefix: string;
|
|
@@ -1626,7 +1661,7 @@ interface BankAccountsWidgetProps extends WidgetProviderProps {
|
|
|
1626
1661
|
/** Called when the user opens account details or goes back to the list. */
|
|
1627
1662
|
onSelectedAccountIdChange?: (accountId: string | null) => void;
|
|
1628
1663
|
}
|
|
1629
|
-
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
1664
|
+
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
1630
1665
|
|
|
1631
1666
|
interface AddressFieldGroupLabels {
|
|
1632
1667
|
line1: string;
|
|
@@ -2266,7 +2301,7 @@ interface CardDetailsWidgetProps extends WidgetProviderProps {
|
|
|
2266
2301
|
* Both placements are covered by specs, because they take different code paths
|
|
2267
2302
|
* through the provider and this export exists for the standalone one.
|
|
2268
2303
|
*/
|
|
2269
|
-
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
2304
|
+
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
2270
2305
|
|
|
2271
2306
|
/**
|
|
2272
2307
|
* Reset-period tab labels and notice copy are deliberately absent: the owner
|
|
@@ -2413,7 +2448,7 @@ type CreateCardWidgetProps = WidgetProviderProps & {
|
|
|
2413
2448
|
* Self-contained Create Card widget. Issues a debit card via the Embed API and
|
|
2414
2449
|
* drives setup → preparing → success with sonner toasts for the mutation.
|
|
2415
2450
|
*/
|
|
2416
|
-
declare function CreateCardWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CreateCardWidgetProps): React.JSX.Element;
|
|
2451
|
+
declare function CreateCardWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CreateCardWidgetProps): React.JSX.Element;
|
|
2417
2452
|
|
|
2418
2453
|
/** Opaque UI format values — mapped to API `DebitCardType` in the feature. */
|
|
2419
2454
|
declare const CardFormatValue: {
|
|
@@ -2633,7 +2668,7 @@ interface CardsWidgetProps extends WidgetProviderProps {
|
|
|
2633
2668
|
* inside `WidgetProvider`'s subtree, which is what the data-access hooks read
|
|
2634
2669
|
* their client, org and token from.
|
|
2635
2670
|
*/
|
|
2636
|
-
declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CardsWidgetProps): React.JSX.Element;
|
|
2671
|
+
declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CardsWidgetProps): React.JSX.Element;
|
|
2637
2672
|
|
|
2638
2673
|
/**
|
|
2639
2674
|
* Co-located user-facing strings for the counterparts widget UI. Each component
|
|
@@ -2783,7 +2818,7 @@ type CounterpartsWidgetProps = WidgetProviderProps & CounterpartsWidgetOwnProps;
|
|
|
2783
2818
|
* />
|
|
2784
2819
|
* ```
|
|
2785
2820
|
*/
|
|
2786
|
-
declare function CounterpartsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: CounterpartsWidgetProps): React.JSX.Element;
|
|
2821
|
+
declare function CounterpartsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CounterpartsWidgetProps): React.JSX.Element;
|
|
2787
2822
|
|
|
2788
2823
|
interface Labels$4 {
|
|
2789
2824
|
description: string;
|
|
@@ -2826,7 +2861,7 @@ interface ExpenseManagementWidgetProps extends WidgetProviderProps {
|
|
|
2826
2861
|
policiesContent?: ReactNode;
|
|
2827
2862
|
requirementsContent?: ReactNode;
|
|
2828
2863
|
}
|
|
2829
|
-
declare function ExpenseManagementWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: ExpenseManagementWidgetProps): React.JSX.Element;
|
|
2864
|
+
declare function ExpenseManagementWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ExpenseManagementWidgetProps): React.JSX.Element;
|
|
2830
2865
|
|
|
2831
2866
|
type ReceiptMatchWidgetProps = WidgetProviderProps & {
|
|
2832
2867
|
isOpen?: boolean;
|
|
@@ -2835,7 +2870,7 @@ type ReceiptMatchWidgetProps = WidgetProviderProps & {
|
|
|
2835
2870
|
targetTransactionId?: string;
|
|
2836
2871
|
onSingleTransactionUpdate?: () => void;
|
|
2837
2872
|
};
|
|
2838
|
-
declare function ReceiptMatchWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, isOpen, preSelectedReceiptIds, onClose, targetTransactionId, onSingleTransactionUpdate, }: ReceiptMatchWidgetProps): React.JSX.Element;
|
|
2873
|
+
declare function ReceiptMatchWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, providerLabels, isOpen, preSelectedReceiptIds, onClose, targetTransactionId, onSingleTransactionUpdate, }: ReceiptMatchWidgetProps): React.JSX.Element;
|
|
2839
2874
|
|
|
2840
2875
|
type ExpenseApprovalPoliciesWidgetProps = WidgetProviderProps & {
|
|
2841
2876
|
/** @deprecated Use `widgetToken` instead */
|
|
@@ -2843,7 +2878,7 @@ type ExpenseApprovalPoliciesWidgetProps = WidgetProviderProps & {
|
|
|
2843
2878
|
/** @deprecated Use `organizationId` instead */
|
|
2844
2879
|
orgId?: string | null;
|
|
2845
2880
|
};
|
|
2846
|
-
declare function ExpenseApprovalPoliciesWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, }?: ExpenseApprovalPoliciesWidgetProps): React.JSX.Element;
|
|
2881
|
+
declare function ExpenseApprovalPoliciesWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, providerLabels, }?: ExpenseApprovalPoliciesWidgetProps): React.JSX.Element;
|
|
2847
2882
|
|
|
2848
2883
|
type ExpenseRequirementsWidgetProps = WidgetProviderProps & {
|
|
2849
2884
|
/** @deprecated Use `widgetToken` instead */
|
|
@@ -2851,7 +2886,7 @@ type ExpenseRequirementsWidgetProps = WidgetProviderProps & {
|
|
|
2851
2886
|
/** @deprecated Use `organizationId` instead */
|
|
2852
2887
|
orgId?: string | null;
|
|
2853
2888
|
};
|
|
2854
|
-
declare function ExpenseRequirementsWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, }?: ExpenseRequirementsWidgetProps): React.JSX.Element;
|
|
2889
|
+
declare function ExpenseRequirementsWidget({ token, orgId, widgetToken, organizationId, baseUrl, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, disclosuresAcceptance, providerLabels, }?: ExpenseRequirementsWidgetProps): React.JSX.Element;
|
|
2855
2890
|
|
|
2856
2891
|
interface BalancesWidgetLabels {
|
|
2857
2892
|
/** Card header title (e.g. next to the building icon) */
|
|
@@ -3302,7 +3337,7 @@ type ChartOfAccountsWidgetProps = WidgetProviderProps & TableProps & ChartOfAcco
|
|
|
3302
3337
|
* />
|
|
3303
3338
|
* ```
|
|
3304
3339
|
*/
|
|
3305
|
-
declare function ChartOfAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, analytics, disclosuresAcceptance, errorFallback, onError, ...tableProps }: ChartOfAccountsWidgetProps): React.JSX.Element;
|
|
3340
|
+
declare function ChartOfAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, analytics, disclosuresAcceptance, providerLabels, errorFallback, onError, ...tableProps }: ChartOfAccountsWidgetProps): React.JSX.Element;
|
|
3306
3341
|
|
|
3307
3342
|
/**
|
|
3308
3343
|
* Static FAQ content for the Help widget.
|
|
@@ -3410,12 +3445,12 @@ type HelpWidgetProps = WidgetProviderProps & HelpContentProps;
|
|
|
3410
3445
|
* <HelpWidget bankName="Acme Bank" contactUrl="https://acme.example/support" />
|
|
3411
3446
|
* ```
|
|
3412
3447
|
*/
|
|
3413
|
-
declare function HelpWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...contentProps }: HelpWidgetProps): React.JSX.Element;
|
|
3448
|
+
declare function HelpWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...contentProps }: HelpWidgetProps): React.JSX.Element;
|
|
3414
3449
|
|
|
3415
3450
|
type ReceivablesWidgetMoniteProps = MoniteRegionProviderProps & Omit<ReceivablesProps, 'pageTitleComponent' | 'initialView' | 'initialCounterpartId'> & {
|
|
3416
3451
|
pageTitleComponent?: ReceivablesProps['pageTitleComponent'];
|
|
3417
3452
|
};
|
|
3418
|
-
declare function ReceivablesWidgetMonite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, errorFallback, onError, finopsThemeColors, analytics, disclosuresAcceptance, pageTitleComponent, uiFramework, ...receivablesProps }: ReceivablesWidgetMoniteProps): React.JSX.Element;
|
|
3453
|
+
declare function ReceivablesWidgetMonite({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, errorFallback, onError, finopsThemeColors, analytics, disclosuresAcceptance, providerLabels, pageTitleComponent, uiFramework, ...receivablesProps }: ReceivablesWidgetMoniteProps): React.JSX.Element;
|
|
3419
3454
|
|
|
3420
3455
|
interface ProductFormSheetLabels {
|
|
3421
3456
|
createTitle: string;
|
|
@@ -3740,7 +3775,7 @@ interface ReceivablesWidgetOwnProps {
|
|
|
3740
3775
|
}
|
|
3741
3776
|
type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
|
|
3742
3777
|
|
|
3743
|
-
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
3778
|
+
declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
|
|
3744
3779
|
|
|
3745
3780
|
interface Labels$3 {
|
|
3746
3781
|
title: string;
|
|
@@ -3822,7 +3857,7 @@ interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
|
3822
3857
|
labels?: Partial<Labels$3>;
|
|
3823
3858
|
featureLabels?: Partial<FeatureLabels$4>;
|
|
3824
3859
|
}
|
|
3825
|
-
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
3860
|
+
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
3826
3861
|
|
|
3827
3862
|
interface AdditionalOwnersLabels {
|
|
3828
3863
|
heading: string;
|
|
@@ -4126,7 +4161,7 @@ interface BankAccountOnboardingWidgetInnerProps {
|
|
|
4126
4161
|
onOpenChange?: (open: boolean) => void;
|
|
4127
4162
|
}
|
|
4128
4163
|
type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboardingWidgetInnerProps;
|
|
4129
|
-
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
4164
|
+
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
4130
4165
|
|
|
4131
4166
|
/**
|
|
4132
4167
|
* Co-located user-facing strings for the products widget UI. Each component
|
|
@@ -4223,7 +4258,7 @@ type ProductsWidgetProps = WidgetProviderProps & ProductsWidgetOwnProps;
|
|
|
4223
4258
|
* <ProductsWidget baseUrl="https://api.tesouro.com" widgetToken="wt_..." organizationId="org_..." />
|
|
4224
4259
|
* ```
|
|
4225
4260
|
*/
|
|
4226
|
-
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
|
|
4261
|
+
declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
|
|
4227
4262
|
|
|
4228
4263
|
interface Labels$2 {
|
|
4229
4264
|
loadingLabel: string;
|
|
@@ -4264,7 +4299,7 @@ interface ProfileWidgetProps extends WidgetProviderProps {
|
|
|
4264
4299
|
*/
|
|
4265
4300
|
contactUrl?: string;
|
|
4266
4301
|
}
|
|
4267
|
-
declare function ProfileWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: ProfileWidgetProps): React.JSX.Element;
|
|
4302
|
+
declare function ProfileWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ProfileWidgetProps): React.JSX.Element;
|
|
4268
4303
|
|
|
4269
4304
|
interface Labels$1 {
|
|
4270
4305
|
description?: string;
|
|
@@ -4376,7 +4411,7 @@ interface SettingsWidgetProps extends MoniteRegionProviderProps {
|
|
|
4376
4411
|
tagsContent?: ReactNode;
|
|
4377
4412
|
invoiceContent?: ReactNode;
|
|
4378
4413
|
}
|
|
4379
|
-
declare function SettingsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, finopsThemeColors, analytics, disclosuresAcceptance, ...innerProps }: SettingsWidgetProps): React.JSX.Element;
|
|
4414
|
+
declare function SettingsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, finopsThemeColors, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: SettingsWidgetProps): React.JSX.Element;
|
|
4380
4415
|
|
|
4381
4416
|
/**
|
|
4382
4417
|
* Co-located user-facing strings for the tags widget UI. Each component takes a
|
|
@@ -4464,7 +4499,7 @@ type TagsWidgetProps = WidgetProviderProps & TagsWidgetOwnProps;
|
|
|
4464
4499
|
* <TagsWidget baseUrl="https://api.tesouro.com" widgetToken="wt_..." organizationId="org_..." />
|
|
4465
4500
|
* ```
|
|
4466
4501
|
*/
|
|
4467
|
-
declare function TagsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: TagsWidgetProps): React.JSX.Element;
|
|
4502
|
+
declare function TagsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: TagsWidgetProps): React.JSX.Element;
|
|
4468
4503
|
|
|
4469
4504
|
interface Labels {
|
|
4470
4505
|
title: string;
|
|
@@ -4711,7 +4746,7 @@ interface TeamWidgetProps extends WidgetProviderProps {
|
|
|
4711
4746
|
*/
|
|
4712
4747
|
acceptInviteRedirectUri?: string;
|
|
4713
4748
|
}
|
|
4714
|
-
declare function TeamWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: TeamWidgetProps): React.JSX.Element;
|
|
4749
|
+
declare function TeamWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: TeamWidgetProps): React.JSX.Element;
|
|
4715
4750
|
|
|
4716
4751
|
interface TransfersWidgetLabels {
|
|
4717
4752
|
widgetTitle: string;
|
|
@@ -4876,4 +4911,4 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
4876
4911
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
4877
4912
|
|
|
4878
4913
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ACCOUNT_DELETE_DIALOG_LABELS_EN, ACCOUNT_FORM_SHEET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, AccountDeleteDialog, AccountFormSheet, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CHART_OF_ACCOUNTS_LABELS_EN, CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN, CREATE_CARD_FEATURE_LABELS_EN, CardDetailsWidget, CardFormatValue, CardsWidget, ChartOfAccountsTable, ChartOfAccountsWidget, CounterpartsWidget, CreateCardWidget, ERROR_STATE_ID, ExpenseApprovalPoliciesWidget, ExpenseManagementWidget, ExpenseRequirementsWidget, HELP_FAQ_EN, HELP_WIDGET_LABELS_EN, HelpWidget, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, ProfileWidget, RESULT_LABELS_EN, ReceiptMatchWidget, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, SettingsSection, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WidgetProvider, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, getGlobalWidgetInitState, registerDesignSystemEnsurer, registerUIRenderers, resolveCreateCardFeatureLabels, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
|
|
4879
|
-
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccountDeleteDialogLabels, AccountDeleteDialogProps, Labels$5 as AccountDetailsWidgetLabels, AccountFormErrors, AccountFormMode, AccountFormSheetLabels, AccountFormSheetProps, AccountFormValues, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreateCardFeatureLabels, CreateCardWidgetLabels, CreateCardWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LedgerAccountRow, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchSummary, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
4914
|
+
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccountDeleteDialogLabels, AccountDeleteDialogProps, Labels$5 as AccountDetailsWidgetLabels, AccountFormErrors, AccountFormMode, AccountFormSheetLabels, AccountFormSheetProps, AccountFormValues, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps, ChartOfAccountsLabels, ChartOfAccountsMessageLabels, ChartOfAccountsTableProps, ChartOfAccountsWidgetLabelProps, ChartOfAccountsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreateCardFeatureLabels, CreateCardWidgetLabels, CreateCardWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LedgerAccountRow, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchSummary, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
@@ -691,6 +691,26 @@ interface WidgetProviderBaseProps extends WidgetConfigInput {
|
|
|
691
691
|
analytics?: boolean;
|
|
692
692
|
}
|
|
693
693
|
|
|
694
|
+
/**
|
|
695
|
+
* Copy for the states `WidgetProvider` renders *itself*, in place of the widget:
|
|
696
|
+
* the error-boundary fallback and the disclosures gate. A host overrides any
|
|
697
|
+
* subset through the `providerLabels` prop, which cascades like
|
|
698
|
+
* `disclosuresAcceptance`.
|
|
699
|
+
*
|
|
700
|
+
* Not named `Labels` on the public surface: a widget's own `labels` prop is a
|
|
701
|
+
* different thing, and these two travel together on every widget's props type.
|
|
702
|
+
*/
|
|
703
|
+
interface WidgetProviderLabels {
|
|
704
|
+
/** Default copy for the built-in error boundary fallback. */
|
|
705
|
+
errorBoundaryFallback: string;
|
|
706
|
+
/** Heading when init reports disclosures are required and not yet accepted. */
|
|
707
|
+
disclosuresRequiredTitle: string;
|
|
708
|
+
/** Heading while a token-only refresh leaves init stale for the live token. */
|
|
709
|
+
disclosuresRefreshingTitle: string;
|
|
710
|
+
/** Supporting copy while the accept action is withheld for a stale init. */
|
|
711
|
+
disclosuresRefreshingDescription: string;
|
|
712
|
+
}
|
|
713
|
+
|
|
694
714
|
/**
|
|
695
715
|
* Props for {@link WidgetProvider}.
|
|
696
716
|
*
|
|
@@ -703,8 +723,8 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
703
723
|
* Fallback rendered when a render-time exception is caught inside this
|
|
704
724
|
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
705
725
|
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
706
|
-
* `react-error-boundary`. Default is a plain `role="alert"` div
|
|
707
|
-
*
|
|
726
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div whose copy
|
|
727
|
+
* comes from `providerLabels.errorBoundaryFallback`.
|
|
708
728
|
*/
|
|
709
729
|
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
710
730
|
/**
|
|
@@ -721,6 +741,15 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
721
741
|
* WidgetProvider cannot import the widget itself (cycle).
|
|
722
742
|
*/
|
|
723
743
|
disclosuresAcceptance?: ReactNode;
|
|
744
|
+
/**
|
|
745
|
+
* Overrides for the copy this provider renders in place of the widget: the
|
|
746
|
+
* built-in error-boundary fallback and the disclosures gate. Any subset;
|
|
747
|
+
* unlisted keys keep their defaults. Cascades like `linkComponent`.
|
|
748
|
+
*
|
|
749
|
+
* Named `providerLabels` rather than `labels` because a widget's own
|
|
750
|
+
* `labels` prop sits alongside this one on the same props type.
|
|
751
|
+
*/
|
|
752
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
724
753
|
}
|
|
725
754
|
|
|
726
755
|
type UiOwnedProps = 'providerAttribution' | 'agreementText' | 'disclosureLinks' | 'isAgreed' | 'onAgreedChange' | 'onAccept' | 'isSubmitting' | 'isAccepted' | 'errorMessage' | 'testIds';
|
|
@@ -753,7 +782,7 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
753
782
|
*
|
|
754
783
|
* See `WidgetSuite`, which mounts it as its acceptance state.
|
|
755
784
|
*/
|
|
756
|
-
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
785
|
+
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
757
786
|
|
|
758
787
|
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, AcceptDisclosuresWidget };
|
|
759
788
|
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps };
|
|
@@ -587,6 +587,26 @@ interface WidgetProviderBaseProps extends WidgetConfigInput {
|
|
|
587
587
|
analytics?: boolean;
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
+
/**
|
|
591
|
+
* Copy for the states `WidgetProvider` renders *itself*, in place of the widget:
|
|
592
|
+
* the error-boundary fallback and the disclosures gate. A host overrides any
|
|
593
|
+
* subset through the `providerLabels` prop, which cascades like
|
|
594
|
+
* `disclosuresAcceptance`.
|
|
595
|
+
*
|
|
596
|
+
* Not named `Labels` on the public surface: a widget's own `labels` prop is a
|
|
597
|
+
* different thing, and these two travel together on every widget's props type.
|
|
598
|
+
*/
|
|
599
|
+
interface WidgetProviderLabels {
|
|
600
|
+
/** Default copy for the built-in error boundary fallback. */
|
|
601
|
+
errorBoundaryFallback: string;
|
|
602
|
+
/** Heading when init reports disclosures are required and not yet accepted. */
|
|
603
|
+
disclosuresRequiredTitle: string;
|
|
604
|
+
/** Heading while a token-only refresh leaves init stale for the live token. */
|
|
605
|
+
disclosuresRefreshingTitle: string;
|
|
606
|
+
/** Supporting copy while the accept action is withheld for a stale init. */
|
|
607
|
+
disclosuresRefreshingDescription: string;
|
|
608
|
+
}
|
|
609
|
+
|
|
590
610
|
/**
|
|
591
611
|
* Props for {@link WidgetProvider}.
|
|
592
612
|
*
|
|
@@ -599,8 +619,8 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
599
619
|
* Fallback rendered when a render-time exception is caught inside this
|
|
600
620
|
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
601
621
|
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
602
|
-
* `react-error-boundary`. Default is a plain `role="alert"` div
|
|
603
|
-
*
|
|
622
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div whose copy
|
|
623
|
+
* comes from `providerLabels.errorBoundaryFallback`.
|
|
604
624
|
*/
|
|
605
625
|
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
606
626
|
/**
|
|
@@ -617,6 +637,15 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
617
637
|
* WidgetProvider cannot import the widget itself (cycle).
|
|
618
638
|
*/
|
|
619
639
|
disclosuresAcceptance?: ReactNode;
|
|
640
|
+
/**
|
|
641
|
+
* Overrides for the copy this provider renders in place of the widget: the
|
|
642
|
+
* built-in error-boundary fallback and the disclosures gate. Any subset;
|
|
643
|
+
* unlisted keys keep their defaults. Cascades like `linkComponent`.
|
|
644
|
+
*
|
|
645
|
+
* Named `providerLabels` rather than `labels` because a widget's own
|
|
646
|
+
* `labels` prop sits alongside this one on the same props type.
|
|
647
|
+
*/
|
|
648
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
620
649
|
}
|
|
621
650
|
|
|
622
651
|
interface BalancesWidgetWithContextProps {
|
|
@@ -833,6 +833,26 @@ interface WidgetProviderBaseProps extends WidgetConfigInput {
|
|
|
833
833
|
analytics?: boolean;
|
|
834
834
|
}
|
|
835
835
|
|
|
836
|
+
/**
|
|
837
|
+
* Copy for the states `WidgetProvider` renders *itself*, in place of the widget:
|
|
838
|
+
* the error-boundary fallback and the disclosures gate. A host overrides any
|
|
839
|
+
* subset through the `providerLabels` prop, which cascades like
|
|
840
|
+
* `disclosuresAcceptance`.
|
|
841
|
+
*
|
|
842
|
+
* Not named `Labels` on the public surface: a widget's own `labels` prop is a
|
|
843
|
+
* different thing, and these two travel together on every widget's props type.
|
|
844
|
+
*/
|
|
845
|
+
interface WidgetProviderLabels {
|
|
846
|
+
/** Default copy for the built-in error boundary fallback. */
|
|
847
|
+
errorBoundaryFallback: string;
|
|
848
|
+
/** Heading when init reports disclosures are required and not yet accepted. */
|
|
849
|
+
disclosuresRequiredTitle: string;
|
|
850
|
+
/** Heading while a token-only refresh leaves init stale for the live token. */
|
|
851
|
+
disclosuresRefreshingTitle: string;
|
|
852
|
+
/** Supporting copy while the accept action is withheld for a stale init. */
|
|
853
|
+
disclosuresRefreshingDescription: string;
|
|
854
|
+
}
|
|
855
|
+
|
|
836
856
|
/**
|
|
837
857
|
* Props for {@link WidgetProvider}.
|
|
838
858
|
*
|
|
@@ -845,8 +865,8 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
845
865
|
* Fallback rendered when a render-time exception is caught inside this
|
|
846
866
|
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
847
867
|
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
848
|
-
* `react-error-boundary`. Default is a plain `role="alert"` div
|
|
849
|
-
*
|
|
868
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div whose copy
|
|
869
|
+
* comes from `providerLabels.errorBoundaryFallback`.
|
|
850
870
|
*/
|
|
851
871
|
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
852
872
|
/**
|
|
@@ -863,6 +883,15 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
863
883
|
* WidgetProvider cannot import the widget itself (cycle).
|
|
864
884
|
*/
|
|
865
885
|
disclosuresAcceptance?: ReactNode;
|
|
886
|
+
/**
|
|
887
|
+
* Overrides for the copy this provider renders in place of the widget: the
|
|
888
|
+
* built-in error-boundary fallback and the disclosures gate. Any subset;
|
|
889
|
+
* unlisted keys keep their defaults. Cascades like `linkComponent`.
|
|
890
|
+
*
|
|
891
|
+
* Named `providerLabels` rather than `labels` because a widget's own
|
|
892
|
+
* `labels` prop sits alongside this one on the same props type.
|
|
893
|
+
*/
|
|
894
|
+
providerLabels?: Partial<WidgetProviderLabels>;
|
|
866
895
|
}
|
|
867
896
|
|
|
868
897
|
/**
|
|
@@ -955,7 +984,7 @@ interface BankAccountOnboardingWidgetInnerProps {
|
|
|
955
984
|
onOpenChange?: (open: boolean) => void;
|
|
956
985
|
}
|
|
957
986
|
type BankAccountOnboardingWidgetProps = WidgetProviderProps & BankAccountOnboardingWidgetInnerProps;
|
|
958
|
-
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
987
|
+
declare function BankAccountOnboardingWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountOnboardingWidgetProps): React.JSX.Element;
|
|
959
988
|
|
|
960
989
|
export { ADDITIONAL_OWNERS_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BankAccountOnboardingWidget, PERSONAL_DETAILS_LABELS_EN, RESULT_LABELS_EN };
|
|
961
990
|
export type { AdditionalOwner, AdditionalOwnersLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, DisclosureLinks, MarketingWidgetContent, PersonalDetailsLabels, PersonalDetailsValues, ResultLabels };
|