@tesouro/embedded-components-react 0.5.2 → 0.5.4

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.
Files changed (113) hide show
  1. package/README.md +15 -2
  2. package/dist/index.d.ts +120 -100
  3. package/dist/index.js +7 -4
  4. package/dist/lib/BankAccountOnboardingWidget.d.ts +214 -246
  5. package/dist/lib/BillPayWidget.js +1 -1
  6. package/dist/lib/MarketingWidget.d.ts +684 -0
  7. package/dist/lib/MarketingWidget.js +4 -0
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +9 -8
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +0 -2
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +183 -205
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +1 -4
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +13 -13
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +70 -5
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +37 -64
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +110 -38
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +73 -104
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +7 -87
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +21 -7
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +22 -17
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +63 -23
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +2 -66
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +81 -2
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +3 -78
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +4 -5
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +32 -3
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +39 -30
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +166 -37
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +39 -164
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -48
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +50 -1
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +11 -45
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -13
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +14 -8
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +59 -7
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -64
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +24 -8
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +139 -18
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +16 -139
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -24
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +41 -4
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +14 -39
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +8 -16
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +91 -8
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +86 -80
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +3 -97
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +49 -3
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +135 -47
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +33 -135
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +186 -33
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +75 -186
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +21 -75
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +25 -14
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +232 -22
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +210 -223
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +103 -202
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +13 -121
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +47 -12
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +31 -47
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +198 -27
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +31 -198
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +234 -31
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +19 -240
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +24 -25
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +427 -19
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -433
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +38 -4
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +220 -35
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -224
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +10 -6
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +57 -21
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +110 -10
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -112
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +46 -8
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -43
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -58
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +101 -239
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +202 -107
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -209
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +8 -4
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +113 -6
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -115
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +24 -0
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +4 -5
  96. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index.js +3 -0
  97. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index2.js +8 -0
  98. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index26.js → marketing-widget/feature/dist/index3.js} +1 -1
  99. package/dist/libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js +81 -0
  100. package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index.js +4 -0
  101. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index24.js → marketing-widget/ui/dist/index2.js} +1 -1
  102. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index25.js → marketing-widget/ui/dist/index3.js} +1 -1
  103. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/ui/dist/index27.js → marketing-widget/ui/dist/index4.js} +36 -37
  104. package/dist/libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index5.js +75 -0
  105. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +24 -22
  106. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/data-access/dist/index9.js → shared/data-access/dist/lib/onboardingSuppressionReason.js} +1 -1
  107. package/dist/libs/tesouro-embedded-components-react/{bank-account-onboarding-widget/data-access/dist/index10.js → shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js} +5 -6
  108. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +1 -0
  109. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  110. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  111. package/package.json +1 -1
  112. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +0 -75
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -25
@@ -1,115 +1 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
6
- import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
7
- import "../../../shared/data-access/dist/index.js";
8
- import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
9
- import "../../../shared/ui/dist/index.js";
10
- import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
11
- import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
- import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
13
- import "../../../shared/feature/dist/index.js";
14
- import { BillPayWidgetUi as o } from "../../ui/dist/index53.js";
15
- import { BillUploadStatusTray as s } from "../../ui/dist/index79.js";
16
- import "../../ui/dist/index.js";
17
- import { ApprovalPoliciesSettings as c } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
18
- import "../../../shared/approval-policy/feature/dist/index.js";
19
- import { useBillUploadQueue as l } from "./index71.js";
20
- import "./index72.js";
21
- import { billsTabTestIds as u } from "./index77.js";
22
- import { BillsTab as d } from "./index83.js";
23
- import "./index84.js";
24
- import { BillPayWidgetAnalyticsEvent as f, WIDGET_NAME as p } from "./index66.js";
25
- import { DEFAULT_TABS_LABELS as m } from "./index85.js";
26
- import { CounterpartsWidget as h } from "../../../counterparts-widget/feature/dist/index8.js";
27
- import "../../../counterparts-widget/feature/dist/index.js";
28
- import { useCallback as g, useEffect as _, useState as v } from "react";
29
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
30
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js
31
- var S = {
32
- Bills: "bills",
33
- Vendors: "vendors",
34
- Settings: "settings"
35
- }, C = [
36
- S.Bills,
37
- S.Vendors,
38
- S.Settings
39
- ];
40
- function w({ labels: i, tabsLabels: p, approvalPolicyLabels: w, approvalPolicyComponentLabels: T, vendorLabels: E, poweredByBankName: D }) {
41
- let O = r();
42
- _(() => {
43
- O(f.Mounted);
44
- }, [O]);
45
- let k = {
46
- ...m,
47
- ...p
48
- }, { initResponse: A } = a(), j = e(A?.scopes, [t.ApprovalPolicyWriteOrg]), M = !A || j, [N, P] = v(S.Bills), [F, I] = v(), L = g((e) => {
49
- P(S.Bills), I(e);
50
- }, []), R = l({ onOpenBill: L }), z = [{
51
- id: S.Bills,
52
- label: k.bills,
53
- content: /* @__PURE__ */ b(d, {
54
- onEnqueueFiles: R.enqueue,
55
- openPayableId: F,
56
- onOpenPayableHandled: () => I(void 0),
57
- poweredByBankName: D
58
- })
59
- }, {
60
- id: S.Vendors,
61
- label: k.vendors,
62
- content: /* @__PURE__ */ b(h, {
63
- ...E,
64
- counterpartType: "vendor",
65
- onViewAllDocuments: () => P(S.Bills)
66
- })
67
- }];
68
- M && z.push({
69
- id: S.Settings,
70
- label: k.settings,
71
- content: /* @__PURE__ */ b(c, {
72
- labels: w,
73
- componentLabels: T
74
- })
75
- });
76
- let B = z.some((e) => e.id === N) ? N : C.find((e) => z.some((t) => t.id === e)) ?? z[0]?.id ?? "";
77
- return /* @__PURE__ */ x(y, { children: [
78
- /* @__PURE__ */ b(n, {}),
79
- /* @__PURE__ */ b(o, {
80
- labels: i,
81
- tabs: z,
82
- selectedTabId: B,
83
- onTabChange: P
84
- }),
85
- R.isVisible ? /* @__PURE__ */ b(s, {
86
- sections: R.sections,
87
- summaryLabel: R.summaryLabel,
88
- collapsed: R.collapsed,
89
- onToggleCollapsed: R.onToggleCollapsed,
90
- onClose: R.onClose,
91
- testId: u.uploadTray
92
- }) : null
93
- ] });
94
- }
95
- function T({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: f, providerLabels: m, ...h }) {
96
- return /* @__PURE__ */ b(i, {
97
- widgetName: p,
98
- baseUrl: e,
99
- widgetToken: t,
100
- organizationId: n,
101
- configClient: r,
102
- gatewayRouting: a,
103
- linkComponent: o,
104
- implementation: s,
105
- uiFramework: c,
106
- errorFallback: l,
107
- onError: u,
108
- analytics: d,
109
- disclosuresAcceptance: f,
110
- providerLabels: m,
111
- children: /* @__PURE__ */ b(w, { ...h })
112
- });
113
- }
114
- //#endregion
115
- export { T as BillPayWidgetNative, T as default };
1
+ import "./index85.js";
@@ -1 +1,25 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { Implementation as e } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
6
+ import { useWidgetConfig as t } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
7
+ import "../../../shared/feature/dist/index.js";
8
+ import { BillPayWidgetMonite as n } from "./index66.js";
9
+ import "./index67.js";
10
+ import { BillPayWidgetNative as r } from "./index85.js";
1
11
  import "./index86.js";
12
+ import { jsx as i } from "react/jsx-runtime";
13
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js
14
+ function a({ implementation: a, ...o }) {
15
+ let s = t().implementation, c = a ?? s ?? e.Monite;
16
+ return c === e.Native ? /* @__PURE__ */ i(r, {
17
+ implementation: c,
18
+ ...o
19
+ }) : /* @__PURE__ */ i(n, {
20
+ implementation: c,
21
+ ...o
22
+ });
23
+ }
24
+ //#endregion
25
+ export { a as BillPayWidget, a as default };
@@ -1,9 +1,8 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js
2
2
  function e(e) {
3
- return e?.counterpart ?? e?.counterpart_raw_data ?? void 0;
4
- }
5
- function t(e) {
6
- return e?.counterpart?.name ?? e?.counterpart_raw_data?.name ?? "";
3
+ if (e === "draft") return "delete";
4
+ if (e === "new") return "cancel";
5
+ if (e === "canceled") return "confirm";
7
6
  }
8
7
  //#endregion
9
- export { e as resolveVendor, t as resolveVendorName };
8
+ export { e as payableRemoval };
@@ -0,0 +1,3 @@
1
+ import { MARKETING_WIDGET_LABELS_EN as e } from "../../ui/dist/index2.js";
2
+ import { MarketingWidget as t } from "./index4.js";
3
+ export { e as MARKETING_WIDGET_LABELS_EN, t as MarketingWidget };
@@ -0,0 +1,8 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index2.js
2
+ var e = {
3
+ Mounted: "marketing.mounted",
4
+ OpenModal: "marketing.open_modal",
5
+ PrimaryCta: "marketing.primary_cta"
6
+ }, t = "marketing";
7
+ //#endregion
8
+ export { e as MarketingWidgetAnalyticsEvent, t as WIDGET_NAME };
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index26.js
1
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index3.js
2
2
  var e = {
3
3
  root: "marketing-widget",
4
4
  learnMoreButton: "marketing-widget-learn-more-button",
@@ -0,0 +1,81 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useOrganizationOnboardingSuppression as e } from "../../../shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js";
6
+ import "../../../shared/data-access/dist/index.js";
7
+ import { useAnalyticsTrack as t } from "../../../shared/feature/dist/lib/analytics/hooks.js";
8
+ import { WidgetProvider as n } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
9
+ import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
10
+ import "../../../shared/feature/dist/index.js";
11
+ import { MarketingWidgetAnalyticsEvent as i, WIDGET_NAME as a } from "./index2.js";
12
+ import { marketingWidgetTestIds as o } from "./index3.js";
13
+ import { MARKETING_WIDGET_LABELS_EN as s } from "../../ui/dist/index2.js";
14
+ import { MarketingWidget as c } from "../../ui/dist/index5.js";
15
+ import "../../ui/dist/index.js";
16
+ import { useCallback as l, useEffect as u, useState as d } from "react";
17
+ import { jsx as f } from "react/jsx-runtime";
18
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/feature/dist/index4.js
19
+ var p = /* @__PURE__ */ new Set([
20
+ "ACTIVE",
21
+ "INACTIVE",
22
+ "INVITED"
23
+ ]);
24
+ function m({ content: n, onPrimaryCtaClick: a, labels: s }) {
25
+ let m = t(), { initResponse: h } = r(), g = e(), [_, v] = d(!1);
26
+ u(() => {
27
+ m(i.Mounted);
28
+ }, [m]);
29
+ let y = l(() => {
30
+ m(i.OpenModal), v(!0);
31
+ }, [m]), b = l(() => {
32
+ v(!1);
33
+ }, []), x = l(() => {
34
+ m(i.PrimaryCta), v(!1), a();
35
+ }, [a, m]);
36
+ return !h?.status || p.has(h.status) || g.isSuppressed || !g.isResolved ? null : /* @__PURE__ */ f(c, {
37
+ open: _,
38
+ vspLogo: n.vspLogo,
39
+ bankingText: n.bankingText,
40
+ primaryCaption: n.primaryCaption,
41
+ secondaryCaption: n.secondaryCaption,
42
+ providedByCaption: n.providedByCaption,
43
+ modalPrimaryImg: n.modalPrimaryImg,
44
+ primaryModalHeader: n.primaryModalHeader,
45
+ benefits: n.benefits,
46
+ appearance: n.appearance,
47
+ onOpenMarketingModal: y,
48
+ onCloseMarketingModal: b,
49
+ onPrimaryCtaClick: x,
50
+ labels: s,
51
+ testIds: {
52
+ root: o.root,
53
+ learnMoreButton: o.learnMoreButton,
54
+ modal: {
55
+ root: o.modal,
56
+ primaryCtaButton: o.primaryCtaButton
57
+ }
58
+ }
59
+ });
60
+ }
61
+ function h({ baseUrl: e, widgetToken: t, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: s, implementation: c, uiFramework: l, errorFallback: u, onError: d, analytics: p, disclosuresAcceptance: h, providerLabels: g, ..._ }) {
62
+ return /* @__PURE__ */ f(n, {
63
+ widgetName: a,
64
+ baseUrl: e,
65
+ widgetToken: t,
66
+ organizationId: r,
67
+ configClient: i,
68
+ gatewayRouting: o,
69
+ linkComponent: s,
70
+ implementation: c,
71
+ uiFramework: l,
72
+ errorFallback: u,
73
+ onError: d,
74
+ analytics: p,
75
+ disclosuresAcceptance: h,
76
+ providerLabels: g,
77
+ children: /* @__PURE__ */ f(m, { ..._ })
78
+ });
79
+ }
80
+ //#endregion
81
+ export { s as MARKETING_WIDGET_LABELS_EN, h as MarketingWidget };
@@ -0,0 +1,4 @@
1
+ import { MARKETING_WIDGET_LABELS_EN as e } from "./index2.js";
2
+ import "./index4.js";
3
+ import { MarketingWidget as t } from "./index5.js";
4
+ export { e as MARKETING_WIDGET_LABELS_EN, t as MarketingWidget };
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js
1
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index2.js
2
2
  var e = {
3
3
  learnMore: "Learn more",
4
4
  primaryCta: "Apply for an account",
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  import { CheckCircle2 as n } from "lucide-react";
3
- //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index25.js
3
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index3.js
4
4
  function r({ text: r, iconColor: i }) {
5
5
  return /* @__PURE__ */ t("div", {
6
6
  className: "ttw:flex ttw:gap-2",
@@ -1,75 +1,74 @@
1
1
  import { Button as e, Dialog as t, DialogClose as n, DialogContent as r, DialogTitle as i } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { MARKETING_WIDGET_LABELS_EN as a } from "./index24.js";
3
- import { MarketingBenefitItem as o } from "./index25.js";
4
- import { marketingWidgetTestIds as s } from "./index26.js";
5
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
6
- import { ArrowRight as u, X as d } from "lucide-react";
7
- //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js
8
- function f({ open: f, providedByCaption: p, modalPrimaryImg: m, primaryModalHeader: h, benefits: g, appearance: _, onClose: v, onPrimaryCtaClick: y, labels: b }) {
2
+ import { MARKETING_WIDGET_LABELS_EN as a } from "./index2.js";
3
+ import { MarketingBenefitItem as o } from "./index3.js";
4
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
5
+ import { ArrowRight as l, X as u } from "lucide-react";
6
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index4.js
7
+ function d({ open: d, providedByCaption: f, modalPrimaryImg: p, primaryModalHeader: m, benefits: h, appearance: g, onClose: _, onPrimaryCtaClick: v, labels: y, testIds: b }) {
9
8
  let x = {
10
9
  ...a,
11
- ...b
10
+ ...y
12
11
  };
13
- return /* @__PURE__ */ c(t, {
14
- open: f,
12
+ return /* @__PURE__ */ s(t, {
13
+ open: d,
15
14
  onOpenChange: (e) => {
16
- e || v();
15
+ e || _();
17
16
  },
18
- children: /* @__PURE__ */ l(r, {
19
- "data-testid": s.modal,
17
+ children: /* @__PURE__ */ c(r, {
18
+ "data-testid": b?.root,
20
19
  showCloseButton: !1,
21
20
  className: "ttw:max-w-[500px] ttw:gap-0 ttw:p-6",
22
21
  style: {
23
- backgroundColor: _.modalBackgroundColor,
24
- borderRadius: _.borderRadius
22
+ backgroundColor: g.modalBackgroundColor,
23
+ borderRadius: g.borderRadius
25
24
  },
26
25
  children: [
27
- /* @__PURE__ */ c(n, {
26
+ /* @__PURE__ */ s(n, {
28
27
  className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:text-muted-foreground ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2",
29
- onClick: v,
28
+ onClick: _,
30
29
  "aria-label": x.dismissModalAriaLabel,
31
- children: /* @__PURE__ */ c(d, {
30
+ children: /* @__PURE__ */ s(u, {
32
31
  className: "ttw:size-5",
33
32
  "aria-hidden": !0
34
33
  })
35
34
  }),
36
- /* @__PURE__ */ c(i, {
35
+ /* @__PURE__ */ s(i, {
37
36
  className: "ttw:mb-2 ttw:text-center ttw:text-[1.35rem] ttw:font-semibold ttw:leading-tight",
38
- children: h
37
+ children: m
39
38
  }),
40
- /* @__PURE__ */ c("p", {
39
+ /* @__PURE__ */ s("p", {
41
40
  className: "ttw:mb-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
42
- children: p
41
+ children: f
43
42
  }),
44
- /* @__PURE__ */ c("div", {
43
+ /* @__PURE__ */ s("div", {
45
44
  className: "ttw:mb-6 ttw:flex ttw:justify-center",
46
- children: /* @__PURE__ */ c("img", {
47
- src: m.src,
48
- alt: m.alt,
45
+ children: /* @__PURE__ */ s("img", {
46
+ src: p.src,
47
+ alt: p.alt,
49
48
  width: 432,
50
49
  height: 200,
51
50
  className: "ttw:h-[200px] ttw:w-[60%] ttw:rounded-lg ttw:object-cover"
52
51
  })
53
52
  }),
54
- /* @__PURE__ */ c("div", {
53
+ /* @__PURE__ */ s("div", {
55
54
  className: "ttw:mb-6 ttw:grid ttw:grid-cols-2 ttw:gap-4",
56
- children: g.map((e) => /* @__PURE__ */ c(o, {
55
+ children: h.map((e) => /* @__PURE__ */ s(o, {
57
56
  text: e,
58
- iconColor: _.primaryColor
57
+ iconColor: g.primaryColor
59
58
  }, e))
60
59
  }),
61
- /* @__PURE__ */ c("div", {
60
+ /* @__PURE__ */ s("div", {
62
61
  className: "ttw:flex ttw:justify-center",
63
- children: /* @__PURE__ */ l(e, {
62
+ children: /* @__PURE__ */ c(e, {
64
63
  type: "button",
65
- onClick: y,
64
+ onClick: v,
66
65
  className: "ttw:h-auto ttw:w-[83%] ttw:rounded-xl ttw:py-3 ttw:text-base ttw:font-medium ttw:transition-[filter] ttw:hover:brightness-90",
67
66
  style: {
68
- backgroundColor: _.primaryColor,
69
- color: _.primaryContrastColor
67
+ backgroundColor: g.primaryColor,
68
+ color: g.primaryContrastColor
70
69
  },
71
- "data-testid": s.primaryCtaButton,
72
- children: [x.primaryCta, /* @__PURE__ */ c(u, {
70
+ "data-testid": b?.primaryCtaButton,
71
+ children: [x.primaryCta, /* @__PURE__ */ s(l, {
73
72
  className: "ttw:size-4",
74
73
  "aria-hidden": !0
75
74
  })]
@@ -80,4 +79,4 @@ function f({ open: f, providedByCaption: p, modalPrimaryImg: m, primaryModalHead
80
79
  });
81
80
  }
82
81
  //#endregion
83
- export { f as MarketingWidgetModal };
82
+ export { d as MarketingWidgetModal };
@@ -0,0 +1,75 @@
1
+ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { MARKETING_WIDGET_LABELS_EN as t } from "./index2.js";
3
+ import { MarketingWidgetModal as n } from "./index4.js";
4
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ //#region ../../libs/tesouro-embedded-components-react/marketing-widget/ui/dist/index5.js
6
+ function o({ open: o, vspLogo: s, bankingText: c, primaryCaption: l, secondaryCaption: u, providedByCaption: d, modalPrimaryImg: f, primaryModalHeader: p, benefits: m, appearance: h, onOpenMarketingModal: g, onCloseMarketingModal: _, onPrimaryCtaClick: v, labels: y, testIds: b }) {
7
+ let x = {
8
+ ...t,
9
+ ...y
10
+ };
11
+ return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
12
+ "data-testid": b?.root,
13
+ className: "ttw:relative ttw:flex ttw:w-full ttw:flex-col ttw:items-start ttw:overflow-hidden ttw:border ttw:border-border ttw:p-6",
14
+ style: {
15
+ backgroundColor: h.cardBackgroundColor,
16
+ borderRadius: h.borderRadius,
17
+ boxShadow: h.boxShadow
18
+ },
19
+ children: [
20
+ /* @__PURE__ */ a("div", {
21
+ className: "ttw:mb-2 ttw:flex ttw:items-center ttw:gap-3",
22
+ children: [/* @__PURE__ */ i("img", {
23
+ src: s.src,
24
+ alt: s.alt,
25
+ height: 40,
26
+ width: s.width,
27
+ className: "ttw:h-10 ttw:w-auto ttw:object-contain"
28
+ }), /* @__PURE__ */ i("p", {
29
+ className: "ttw:text-xl ttw:font-semibold ttw:text-foreground",
30
+ children: c
31
+ })]
32
+ }),
33
+ /* @__PURE__ */ i("p", {
34
+ className: "ttw:mb-2 ttw:text-sm ttw:text-muted-foreground",
35
+ children: d
36
+ }),
37
+ /* @__PURE__ */ a("div", {
38
+ className: "ttw:mb-2 ttw:flex ttw:flex-col",
39
+ children: [/* @__PURE__ */ i("p", {
40
+ className: "ttw:text-xl ttw:font-semibold",
41
+ style: { color: h.primaryColor },
42
+ children: l
43
+ }), /* @__PURE__ */ i("p", {
44
+ className: "ttw:leading-snug",
45
+ style: { color: h.primaryColor },
46
+ children: u
47
+ })]
48
+ }),
49
+ /* @__PURE__ */ i(e, {
50
+ type: "button",
51
+ "data-testid": b?.learnMoreButton,
52
+ onClick: g,
53
+ className: "ttw:h-auto ttw:rounded-xl ttw:px-6 ttw:py-2 ttw:text-base ttw:font-light ttw:transition-[filter] ttw:hover:brightness-90",
54
+ style: {
55
+ backgroundColor: h.primaryColor,
56
+ color: h.primaryContrastColor
57
+ },
58
+ children: x.learnMore
59
+ })
60
+ ]
61
+ }), /* @__PURE__ */ i(n, {
62
+ open: o,
63
+ providedByCaption: d,
64
+ modalPrimaryImg: f,
65
+ primaryModalHeader: p,
66
+ benefits: m,
67
+ appearance: h,
68
+ onClose: _,
69
+ onPrimaryCtaClick: v,
70
+ labels: y,
71
+ testIds: b?.modal
72
+ })] });
73
+ }
74
+ //#endregion
75
+ export { o as MarketingWidget };
@@ -9,29 +9,31 @@ import { optionalOrganizationHeaders as d, organizationHeaders as f } from "./li
9
9
  import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteMeasureUnitsId as C, deletePayablesId as w, deletePayablesIdFile as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getApprovalRequests as M, getBankAccountAccess as N, getCounterparts as P, getDepartment as F, getExternalBankAccountAccess as I, getLocation as L, getPayables as R, getPayablesId as z, getPayablesIdHistory as B, getPayablesIdLineItems as V, getPaymentRecords as H, getReceivables as U, getUsers as W, listDepartments as G, listLocations as K, listRoles as q, manageBankAccountAccess as J, patchCounterpartsId as Y, patchCounterpartsIdAddressesId as X, patchCounterpartsIdBankAccountsId as Z, patchMeasureUnitsId as Q, patchPayablesId as $, patchProductsId as ee, patchReceivablesId as te, patchTagsId as ne, postApprovalRequestsIdApprove as re, postApprovalRequestsIdReject as ie, postCounterparts as ae, postCounterpartsIdAddresses as oe, postCounterpartsIdBankAccounts as se, postCounterpartsIdBankAccountsIdMakeDefault as ce, postMeasureUnits as le, postPayables as ue, postPayablesIdApprovePaymentOperation as de, postPayablesIdAttachFile as fe, postPayablesIdCancel as pe, postPayablesIdDuplicatesIdConfirm as me, postPayablesIdDuplicatesIdDismiss as he, postPayablesIdMarkAsPaid as ge, postPayablesIdReject as _e, postPayablesIdReopen as ve, postPayablesIdSchedulePayment as ye, postPayablesIdSubmitForApproval as be, postPayablesIdValidate as xe, postPayablesUploadFromFile as Se, postPaymentIntentsIdCancel as Ce, postProducts as we, postReceivables as Te, postReceivablesIdAccept as Ee, postReceivablesIdCancel as De, postReceivablesIdClone as Oe, postReceivablesIdDecline as ke, postReceivablesIdIssue as Ae, postReceivablesIdMarkAsPaid as je, postReceivablesIdMarkAsPartiallyPaid as Me, postReceivablesIdMarkAsUncollectible as Ne, postReceivablesIdSend as Pe, postTags as Fe, putPayablesIdLineItems as Ie, putReceivablesIdLineItems as Le, updateDepartment as Re, updateLocation as ze, updateUser as Be } from "./lib/rest/sdk.gen.js";
10
10
  import { fetchWidgetInit as Ve } from "./lib/fetchWidgetInit.js";
11
11
  import { hasAnyScope as He } from "./lib/hasAnyScope.js";
12
- import { activateCreditCardMutation as Ue, activateDebitCardMutation as We, connectExternalBankAccountMutation as Ge, createAchMoneyMovementMutation as Ke, createApplicationMutation as qe, createBankAccountMutation as Je, createBookTransferMutation as Ye, createCheckDepositMutation as Xe, createDebitCardMutation as Ze, createVelocityControlMutation as Qe, deleteApprovalPoliciesIdMutation as $e, deleteLedgerAccountsIdMutation as et, deleteReceiptsIdMutation as tt, disableUserMutation as nt, getAnalyticsPayablesOptions as rt, getAnalyticsReceivablesOptions as it, getApplicationStatusOptions as at, getApprovalPoliciesOptions as ot, getApprovalPoliciesQueryKey as st, getApprovalRequestsOptions as ct, getApprovalRequestsQueryKey as lt, getBankAccountAccessQueryKey as ut, getBankAccountOptions as dt, getBankAccountQueryKey as ft, getBankAccountTransactionsOptions as pt, getBankAccountTransactionsQueryKey as mt, getBankAccountTransfersOptions as ht, getBankAccountTransfersQueryKey as gt, getBankAccountsQueryKey as _t, getCounterpartsIdAddressesOptions as vt, getCounterpartsIdAddressesQueryKey as yt, getCounterpartsIdBankAccountsOptions as bt, getCounterpartsIdBankAccountsQueryKey as xt, getCounterpartsIdOptions as St, getCounterpartsIdQueryKey as Ct, getCounterpartsOptions as wt, getCounterpartsQueryKey as Tt, getCreditCardByIdOptions as Et, getCreditCardByIdQueryKey as Dt, getCreditCardsOptions as Ot, getCreditCardsQueryKey as kt, getDebitCardByIdOptions as At, getDebitCardByIdQueryKey as jt, getDebitCardCredentialsOptions as Mt, getDebitCardsOptions as Nt, getDebitCardsQueryKey as Pt, getDepartmentOptions as Ft, getDepartmentQueryKey as It, getEntitiesIdSettingsOptions as Lt, getEntitiesIdSettingsQueryKey as Rt, getEntitiesMeOptions as zt, getEntityUsersMyEntityOptions as Bt, getEntityUsersOptions as Vt, getExternalBankAccountAccessQueryKey as Ht, getExternalBankAccountsOptions as Ut, getExternalBankAccountsQueryKey as Wt, getLedgerAccountsQueryKey as Gt, getLocationOptions as Kt, getLocationQueryKey as qt, getMeasureUnitsOptions as Jt, getMeasureUnitsQueryKey as Yt, getOrganizationOptions as Xt, getPayablesAnalyticsOptions as Zt, getPayablesAnalyticsQueryKey as Qt, getPayablesIdHistoryOptions as $t, getPayablesIdHistoryQueryKey as en, getPayablesIdLineItemsOptions as tn, getPayablesIdLineItemsQueryKey as nn, getPayablesIdOptions as rn, getPayablesIdQueryKey as an, getPayablesIdSuggestionsOptions as on, getPayablesOptions as sn, getPayablesQueryKey as cn, getPaymentRecordsOptions as ln, getPaymentRecordsQueryKey as un, getProductsIdOptions as dn, getProductsIdQueryKey as fn, getProductsOptions as pn, getProductsQueryKey as mn, getReceiptsIdQueryKey as hn, getReceiptsOptions as gn, getReceiptsQueryKey as _n, getReceivablesIdHistoryOptions as vn, getReceivablesIdHistoryQueryKey as yn, getReceivablesIdMailsOptions as bn, getReceivablesIdMailsQueryKey as xn, getReceivablesIdOptions as Sn, getReceivablesIdPdfLinkOptions as Cn, getReceivablesIdPdfLinkQueryKey as wn, getReceivablesIdQueryKey as Tn, getReceivablesOptions as En, getReceivablesQueryKey as Dn, getTagsOptions as On, getTagsQueryKey as kn, getTransactionsIdQueryKey as An, getTransactionsOptions as jn, getTransactionsQueryKey as Mn, getTransactionsValidationsOptions as Nn, getTransactionsValidationsQueryKey as Pn, getUsersOptions as Fn, getUsersQueryKey as In, getVelocityControlsQueryKey as Ln, grantBankAccountAccessMutation as Rn, grantExternalBankAccountAccessMutation as zn, linkExternalBankAccountMutation as Bn, listDepartmentsOptions as Vn, listDepartmentsQueryKey as Hn, listLocationsOptions as Un, listLocationsQueryKey as Wn, listRolesQueryKey as Gn, manageDebitCardAccessMutation as Kn, patchApprovalPoliciesIdMutation as qn, patchEntitiesIdSettingsMutation as Jn, patchLedgerAccountsIdMutation as Yn, patchReceiptsIdMutation as Xn, postApprovalPoliciesMutation as Zn, postLedgerAccountsMutation as Qn, putTransactionsValidationsMutation as $n, setDebitCardLockStatusMutation as er, submitApplicationMutation as tr, unlinkExternalBankAccountMutation as nr, updateApplicationMutation as rr, updateBankAccountMutation as ir, updateDebitCardMutation as ar, updateExternalBankAccountMutation as or, validateExternalBankAccountMutation as sr, verifyDebitCardMutation as cr } from "./lib/rest/@tanstack/react-query.gen.js";
12
+ import { activateCreditCardMutation as Ue, activateDebitCardMutation as We, connectExternalBankAccountMutation as Ge, createAchMoneyMovementMutation as Ke, createApplicationMutation as qe, createBankAccountMutation as Je, createBookTransferMutation as Ye, createCheckDepositMutation as Xe, createDebitCardMutation as Ze, createVelocityControlMutation as Qe, deleteApprovalPoliciesIdMutation as $e, deleteLedgerAccountsIdMutation as et, deleteReceiptsIdMutation as tt, disableUserMutation as nt, getAnalyticsPayablesOptions as rt, getAnalyticsReceivablesOptions as it, getApprovalPoliciesOptions as at, getApprovalPoliciesQueryKey as ot, getApprovalRequestsOptions as st, getApprovalRequestsQueryKey as ct, getBankAccountAccessQueryKey as lt, getBankAccountOptions as ut, getBankAccountQueryKey as dt, getBankAccountTransactionsOptions as ft, getBankAccountTransactionsQueryKey as pt, getBankAccountTransfersOptions as mt, getBankAccountTransfersQueryKey as ht, getBankAccountsQueryKey as gt, getCounterpartsIdAddressesOptions as _t, getCounterpartsIdAddressesQueryKey as vt, getCounterpartsIdBankAccountsOptions as yt, getCounterpartsIdBankAccountsQueryKey as bt, getCounterpartsIdOptions as xt, getCounterpartsIdQueryKey as St, getCounterpartsOptions as Ct, getCounterpartsQueryKey as wt, getCreditCardByIdOptions as Tt, getCreditCardByIdQueryKey as Et, getCreditCardsOptions as Dt, getCreditCardsQueryKey as Ot, getDebitCardByIdOptions as kt, getDebitCardByIdQueryKey as At, getDebitCardCredentialsOptions as jt, getDebitCardsOptions as Mt, getDebitCardsQueryKey as Nt, getDepartmentOptions as Pt, getDepartmentQueryKey as Ft, getEntitiesIdSettingsOptions as It, getEntitiesIdSettingsQueryKey as Lt, getEntitiesMeOptions as Rt, getEntityUsersMyEntityOptions as zt, getEntityUsersOptions as Bt, getExternalBankAccountAccessQueryKey as Vt, getExternalBankAccountsOptions as Ht, getExternalBankAccountsQueryKey as Ut, getLedgerAccountsQueryKey as Wt, getLocationOptions as Gt, getLocationQueryKey as Kt, getMeasureUnitsOptions as qt, getMeasureUnitsQueryKey as Jt, getOrganizationOptions as Yt, getPayablesAnalyticsOptions as Xt, getPayablesAnalyticsQueryKey as Zt, getPayablesIdHistoryOptions as Qt, getPayablesIdHistoryQueryKey as $t, getPayablesIdLineItemsOptions as en, getPayablesIdLineItemsQueryKey as tn, getPayablesIdOptions as nn, getPayablesIdQueryKey as rn, getPayablesIdSuggestionsOptions as an, getPayablesOptions as on, getPayablesQueryKey as sn, getPaymentRecordsOptions as cn, getPaymentRecordsQueryKey as ln, getProductsIdOptions as un, getProductsIdQueryKey as dn, getProductsOptions as fn, getProductsQueryKey as pn, getReceiptsIdQueryKey as mn, getReceiptsOptions as hn, getReceiptsQueryKey as gn, getReceivablesIdHistoryOptions as _n, getReceivablesIdHistoryQueryKey as vn, getReceivablesIdMailsOptions as yn, getReceivablesIdMailsQueryKey as bn, getReceivablesIdOptions as xn, getReceivablesIdPdfLinkOptions as Sn, getReceivablesIdPdfLinkQueryKey as Cn, getReceivablesIdQueryKey as wn, getReceivablesOptions as Tn, getReceivablesQueryKey as En, getTagsOptions as Dn, getTagsQueryKey as On, getTransactionsIdQueryKey as kn, getTransactionsOptions as An, getTransactionsQueryKey as jn, getTransactionsValidationsOptions as Mn, getTransactionsValidationsQueryKey as Nn, getUsersOptions as Pn, getUsersQueryKey as Fn, getVelocityControlsQueryKey as In, grantBankAccountAccessMutation as Ln, grantExternalBankAccountAccessMutation as Rn, linkExternalBankAccountMutation as zn, listDepartmentsOptions as Bn, listDepartmentsQueryKey as Vn, listLocationsOptions as Hn, listLocationsQueryKey as Un, listRolesQueryKey as Wn, manageDebitCardAccessMutation as Gn, patchApprovalPoliciesIdMutation as Kn, patchEntitiesIdSettingsMutation as qn, patchLedgerAccountsIdMutation as Jn, patchReceiptsIdMutation as Yn, postApprovalPoliciesMutation as Xn, postLedgerAccountsMutation as Zn, putTransactionsValidationsMutation as Qn, setDebitCardLockStatusMutation as $n, submitApplicationMutation as er, unlinkExternalBankAccountMutation as tr, updateApplicationMutation as nr, updateBankAccountMutation as rr, updateDebitCardMutation as ir, updateExternalBankAccountMutation as ar, validateExternalBankAccountMutation as or, verifyDebitCardMutation as sr } from "./lib/rest/@tanstack/react-query.gen.js";
13
13
  import "./lib/queryKeys.js";
14
- import { withAuthEpoch as lr } from "./lib/withAuthEpoch.js";
15
- import { useCurrentUserQuery as ur } from "./lib/useCurrentUserQuery.js";
14
+ import { withAuthEpoch as cr } from "./lib/withAuthEpoch.js";
15
+ import { useCurrentUserQuery as lr } from "./lib/useCurrentUserQuery.js";
16
16
  import "./lib/apiErrorStatus.js";
17
- import { isApiConflictError as dr } from "./lib/isApiConflictError.js";
18
- import { isApiForbiddenError as fr } from "./lib/isApiForbiddenError.js";
19
- import { isApiNotFoundError as pr } from "./lib/isApiNotFoundError.js";
20
- import { isApiUnprocessableError as mr } from "./lib/isApiUnprocessableError.js";
17
+ import { isApiConflictError as ur } from "./lib/isApiConflictError.js";
18
+ import { isApiForbiddenError as dr } from "./lib/isApiForbiddenError.js";
19
+ import { isApiNotFoundError as fr } from "./lib/isApiNotFoundError.js";
20
+ import { isApiUnprocessableError as pr } from "./lib/isApiUnprocessableError.js";
21
21
  import "./lib/isUserDataNotFoundError.js";
22
- import { useGetUserDataQuery as hr } from "./lib/useGetUserDataQuery.js";
23
- import { useUpsertUserDataMutation as gr } from "./lib/useUpsertUserDataMutation.js";
22
+ import { useGetUserDataQuery as mr } from "./lib/useGetUserDataQuery.js";
23
+ import { useUpsertUserDataMutation as hr } from "./lib/useUpsertUserDataMutation.js";
24
24
  import "./lib/rest/zod.gen.js";
25
- import { Scope as _r } from "./lib/scopes.js";
26
- import { getAllPagesNextPageParam as vr, getAllPagesNextPaginationTokenParam as yr, isAllPagesResolving as br, useAutoFetchNextPage as xr } from "./lib/allPages.js";
27
- import { useAllBankAccountsQuery as Sr } from "./lib/bank-account/useAllBankAccountsQuery.js";
28
- import { useAllExternalBankAccountsQuery as Cr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
29
- import { useAllMerchantCategoryGroupsQuery as wr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
30
- import { useAllLedgerAccountsQuery as Tr, useLedgerAccountsQuery as Er } from "./lib/reference-data/useLedgerAccountsQuery.js";
31
- import { usePaymentTermsQuery as Dr } from "./lib/reference-data/usePaymentTermsQuery.js";
32
- import { useAllOrganizationRolesQuery as Or } from "./lib/role/useAllOrganizationRolesQuery.js";
33
- import { useRolePermissionsQueries as kr } from "./lib/role/useRolePermissionsQueries.js";
34
- import { useAllOrganizationUsersQuery as Ar } from "./lib/user/useAllOrganizationUsersQuery.js";
35
- import { useAcceptWidgetDisclosures as jr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
36
- import { useDisclosuresQuery as Mr } from "./lib/disclosures/useDisclosuresQuery.js";
37
- export { l as EmbedApiProvider, _r as Scope, Ue as activateCreditCardMutation, We as activateDebitCardMutation, c as attachTransportInterceptors, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ge as connectExternalBankAccountMutation, Ke as createAchMoneyMovementMutation, qe as createApplicationMutation, Je as createBankAccountMutation, Ye as createBookTransferMutation, Xe as createCheckDepositMutation, Ze as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, Qe as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, $e as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, et as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, tt as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, nt as disableUserMutation, k as downloadBankAccountTransactions, Ve as fetchWidgetInit, vr as getAllPagesNextPageParam, yr as getAllPagesNextPaginationTokenParam, rt as getAnalyticsPayablesOptions, it as getAnalyticsReceivablesOptions, A as getApplicationStatus, at as getApplicationStatusOptions, j as getApprovalPolicies, ot as getApprovalPoliciesOptions, st as getApprovalPoliciesQueryKey, M as getApprovalRequests, ct as getApprovalRequestsOptions, lt as getApprovalRequestsQueryKey, N as getBankAccountAccess, ut as getBankAccountAccessQueryKey, dt as getBankAccountOptions, ft as getBankAccountQueryKey, pt as getBankAccountTransactionsOptions, mt as getBankAccountTransactionsQueryKey, ht as getBankAccountTransfersOptions, gt as getBankAccountTransfersQueryKey, _t as getBankAccountsQueryKey, P as getCounterparts, vt as getCounterpartsIdAddressesOptions, yt as getCounterpartsIdAddressesQueryKey, bt as getCounterpartsIdBankAccountsOptions, xt as getCounterpartsIdBankAccountsQueryKey, St as getCounterpartsIdOptions, Ct as getCounterpartsIdQueryKey, wt as getCounterpartsOptions, Tt as getCounterpartsQueryKey, Et as getCreditCardByIdOptions, Dt as getCreditCardByIdQueryKey, Ot as getCreditCardsOptions, kt as getCreditCardsQueryKey, At as getDebitCardByIdOptions, jt as getDebitCardByIdQueryKey, Mt as getDebitCardCredentialsOptions, Nt as getDebitCardsOptions, Pt as getDebitCardsQueryKey, F as getDepartment, Ft as getDepartmentOptions, It as getDepartmentQueryKey, Lt as getEntitiesIdSettingsOptions, Rt as getEntitiesIdSettingsQueryKey, zt as getEntitiesMeOptions, Bt as getEntityUsersMyEntityOptions, Vt as getEntityUsersOptions, I as getExternalBankAccountAccess, Ht as getExternalBankAccountAccessQueryKey, Ut as getExternalBankAccountsOptions, Wt as getExternalBankAccountsQueryKey, Gt as getLedgerAccountsQueryKey, L as getLocation, Kt as getLocationOptions, qt as getLocationQueryKey, Jt as getMeasureUnitsOptions, Yt as getMeasureUnitsQueryKey, Xt as getOrganizationOptions, R as getPayables, Zt as getPayablesAnalyticsOptions, Qt as getPayablesAnalyticsQueryKey, z as getPayablesId, B as getPayablesIdHistory, $t as getPayablesIdHistoryOptions, en as getPayablesIdHistoryQueryKey, V as getPayablesIdLineItems, tn as getPayablesIdLineItemsOptions, nn as getPayablesIdLineItemsQueryKey, rn as getPayablesIdOptions, an as getPayablesIdQueryKey, on as getPayablesIdSuggestionsOptions, sn as getPayablesOptions, cn as getPayablesQueryKey, H as getPaymentRecords, ln as getPaymentRecordsOptions, un as getPaymentRecordsQueryKey, dn as getProductsIdOptions, fn as getProductsIdQueryKey, pn as getProductsOptions, mn as getProductsQueryKey, hn as getReceiptsIdQueryKey, gn as getReceiptsOptions, _n as getReceiptsQueryKey, U as getReceivables, vn as getReceivablesIdHistoryOptions, yn as getReceivablesIdHistoryQueryKey, bn as getReceivablesIdMailsOptions, xn as getReceivablesIdMailsQueryKey, Sn as getReceivablesIdOptions, Cn as getReceivablesIdPdfLinkOptions, wn as getReceivablesIdPdfLinkQueryKey, Tn as getReceivablesIdQueryKey, En as getReceivablesOptions, Dn as getReceivablesQueryKey, On as getTagsOptions, kn as getTagsQueryKey, An as getTransactionsIdQueryKey, jn as getTransactionsOptions, Mn as getTransactionsQueryKey, Nn as getTransactionsValidationsOptions, Pn as getTransactionsValidationsQueryKey, W as getUsers, Fn as getUsersOptions, In as getUsersQueryKey, Ln as getVelocityControlsQueryKey, Rn as grantBankAccountAccessMutation, zn as grantExternalBankAccountAccessMutation, He as hasAnyScope, t as invalidateAllClients, br as isAllPagesResolving, dr as isApiConflictError, fr as isApiForbiddenError, pr as isApiNotFoundError, mr as isApiUnprocessableError, Bn as linkExternalBankAccountMutation, G as listDepartments, Vn as listDepartmentsOptions, Hn as listDepartmentsQueryKey, K as listLocations, Un as listLocationsOptions, Wn as listLocationsQueryKey, q as listRoles, Gn as listRolesQueryKey, J as manageBankAccountAccess, Kn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, qn as patchApprovalPoliciesIdMutation, Y as patchCounterpartsId, X as patchCounterpartsIdAddressesId, Z as patchCounterpartsIdBankAccountsId, Jn as patchEntitiesIdSettingsMutation, Yn as patchLedgerAccountsIdMutation, Q as patchMeasureUnitsId, $ as patchPayablesId, ee as patchProductsId, Xn as patchReceiptsIdMutation, te as patchReceivablesId, ne as patchTagsId, Zn as postApprovalPoliciesMutation, re as postApprovalRequestsIdApprove, ie as postApprovalRequestsIdReject, ae as postCounterparts, oe as postCounterpartsIdAddresses, se as postCounterpartsIdBankAccounts, ce as postCounterpartsIdBankAccountsIdMakeDefault, Qn as postLedgerAccountsMutation, le as postMeasureUnits, ue as postPayables, de as postPayablesIdApprovePaymentOperation, fe as postPayablesIdAttachFile, pe as postPayablesIdCancel, me as postPayablesIdDuplicatesIdConfirm, he as postPayablesIdDuplicatesIdDismiss, ge as postPayablesIdMarkAsPaid, _e as postPayablesIdReject, ve as postPayablesIdReopen, ye as postPayablesIdSchedulePayment, be as postPayablesIdSubmitForApproval, xe as postPayablesIdValidate, Se as postPayablesUploadFromFile, Ce as postPaymentIntentsIdCancel, we as postProducts, Te as postReceivables, Ee as postReceivablesIdAccept, De as postReceivablesIdCancel, Oe as postReceivablesIdClone, ke as postReceivablesIdDecline, Ae as postReceivablesIdIssue, je as postReceivablesIdMarkAsPaid, Me as postReceivablesIdMarkAsPartiallyPaid, Ne as postReceivablesIdMarkAsUncollectible, Pe as postReceivablesIdSend, Fe as postTags, Ie as putPayablesIdLineItems, Le as putReceivablesIdLineItems, $n as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, er as setDebitCardLockStatusMutation, tr as submitApplicationMutation, nr as unlinkExternalBankAccountMutation, a as unregisterQueryClient, rr as updateApplicationMutation, ir as updateBankAccountMutation, ar as updateDebitCardMutation, Re as updateDepartment, or as updateExternalBankAccountMutation, ze as updateLocation, Be as updateUser, jr as useAcceptWidgetDisclosures, Sr as useAllBankAccountsQuery, Cr as useAllExternalBankAccountsQuery, Tr as useAllLedgerAccountsQuery, wr as useAllMerchantCategoryGroupsQuery, Or as useAllOrganizationRolesQuery, Ar as useAllOrganizationUsersQuery, xr as useAutoFetchNextPage, ur as useCurrentUserQuery, Mr as useDisclosuresQuery, u as useEmbedApi, hr as useGetUserDataQuery, Er as useLedgerAccountsQuery, Dr as usePaymentTermsQuery, kr as useRolePermissionsQueries, gr as useUpsertUserDataMutation, sr as validateExternalBankAccountMutation, cr as verifyDebitCardMutation, lr as withAuthEpoch };
25
+ import { Scope as gr } from "./lib/scopes.js";
26
+ import { getAllPagesNextPageParam as _r, getAllPagesNextPaginationTokenParam as vr, isAllPagesResolving as yr, useAutoFetchNextPage as br } from "./lib/allPages.js";
27
+ import { useAllBankAccountsQuery as xr } from "./lib/bank-account/useAllBankAccountsQuery.js";
28
+ import { useAllExternalBankAccountsQuery as Sr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
29
+ import { useAllMerchantCategoryGroupsQuery as Cr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
30
+ import { useAllLedgerAccountsQuery as wr, useLedgerAccountsQuery as Tr } from "./lib/reference-data/useLedgerAccountsQuery.js";
31
+ import { usePaymentTermsQuery as Er } from "./lib/reference-data/usePaymentTermsQuery.js";
32
+ import { useAllOrganizationRolesQuery as Dr } from "./lib/role/useAllOrganizationRolesQuery.js";
33
+ import { useRolePermissionsQueries as Or } from "./lib/role/useRolePermissionsQueries.js";
34
+ import { useAllOrganizationUsersQuery as kr } from "./lib/user/useAllOrganizationUsersQuery.js";
35
+ import { useAcceptWidgetDisclosures as Ar } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
36
+ import { useDisclosuresQuery as jr } from "./lib/disclosures/useDisclosuresQuery.js";
37
+ import { OnboardingSuppressionReason as Mr } from "./lib/onboardingSuppressionReason.js";
38
+ import { useOrganizationOnboardingSuppression as Nr } from "./lib/useOrganizationOnboardingSuppression.js";
39
+ export { l as EmbedApiProvider, Mr as OnboardingSuppressionReason, gr as Scope, Ue as activateCreditCardMutation, We as activateDebitCardMutation, c as attachTransportInterceptors, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ge as connectExternalBankAccountMutation, Ke as createAchMoneyMovementMutation, qe as createApplicationMutation, Je as createBankAccountMutation, Ye as createBookTransferMutation, Xe as createCheckDepositMutation, Ze as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, Qe as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, $e as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, et as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, tt as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, nt as disableUserMutation, k as downloadBankAccountTransactions, Ve as fetchWidgetInit, _r as getAllPagesNextPageParam, vr as getAllPagesNextPaginationTokenParam, rt as getAnalyticsPayablesOptions, it as getAnalyticsReceivablesOptions, A as getApplicationStatus, j as getApprovalPolicies, at as getApprovalPoliciesOptions, ot as getApprovalPoliciesQueryKey, M as getApprovalRequests, st as getApprovalRequestsOptions, ct as getApprovalRequestsQueryKey, N as getBankAccountAccess, lt as getBankAccountAccessQueryKey, ut as getBankAccountOptions, dt as getBankAccountQueryKey, ft as getBankAccountTransactionsOptions, pt as getBankAccountTransactionsQueryKey, mt as getBankAccountTransfersOptions, ht as getBankAccountTransfersQueryKey, gt as getBankAccountsQueryKey, P as getCounterparts, _t as getCounterpartsIdAddressesOptions, vt as getCounterpartsIdAddressesQueryKey, yt as getCounterpartsIdBankAccountsOptions, bt as getCounterpartsIdBankAccountsQueryKey, xt as getCounterpartsIdOptions, St as getCounterpartsIdQueryKey, Ct as getCounterpartsOptions, wt as getCounterpartsQueryKey, Tt as getCreditCardByIdOptions, Et as getCreditCardByIdQueryKey, Dt as getCreditCardsOptions, Ot as getCreditCardsQueryKey, kt as getDebitCardByIdOptions, At as getDebitCardByIdQueryKey, jt as getDebitCardCredentialsOptions, Mt as getDebitCardsOptions, Nt as getDebitCardsQueryKey, F as getDepartment, Pt as getDepartmentOptions, Ft as getDepartmentQueryKey, It as getEntitiesIdSettingsOptions, Lt as getEntitiesIdSettingsQueryKey, Rt as getEntitiesMeOptions, zt as getEntityUsersMyEntityOptions, Bt as getEntityUsersOptions, I as getExternalBankAccountAccess, Vt as getExternalBankAccountAccessQueryKey, Ht as getExternalBankAccountsOptions, Ut as getExternalBankAccountsQueryKey, Wt as getLedgerAccountsQueryKey, L as getLocation, Gt as getLocationOptions, Kt as getLocationQueryKey, qt as getMeasureUnitsOptions, Jt as getMeasureUnitsQueryKey, Yt as getOrganizationOptions, R as getPayables, Xt as getPayablesAnalyticsOptions, Zt as getPayablesAnalyticsQueryKey, z as getPayablesId, B as getPayablesIdHistory, Qt as getPayablesIdHistoryOptions, $t as getPayablesIdHistoryQueryKey, V as getPayablesIdLineItems, en as getPayablesIdLineItemsOptions, tn as getPayablesIdLineItemsQueryKey, nn as getPayablesIdOptions, rn as getPayablesIdQueryKey, an as getPayablesIdSuggestionsOptions, on as getPayablesOptions, sn as getPayablesQueryKey, H as getPaymentRecords, cn as getPaymentRecordsOptions, ln as getPaymentRecordsQueryKey, un as getProductsIdOptions, dn as getProductsIdQueryKey, fn as getProductsOptions, pn as getProductsQueryKey, mn as getReceiptsIdQueryKey, hn as getReceiptsOptions, gn as getReceiptsQueryKey, U as getReceivables, _n as getReceivablesIdHistoryOptions, vn as getReceivablesIdHistoryQueryKey, yn as getReceivablesIdMailsOptions, bn as getReceivablesIdMailsQueryKey, xn as getReceivablesIdOptions, Sn as getReceivablesIdPdfLinkOptions, Cn as getReceivablesIdPdfLinkQueryKey, wn as getReceivablesIdQueryKey, Tn as getReceivablesOptions, En as getReceivablesQueryKey, Dn as getTagsOptions, On as getTagsQueryKey, kn as getTransactionsIdQueryKey, An as getTransactionsOptions, jn as getTransactionsQueryKey, Mn as getTransactionsValidationsOptions, Nn as getTransactionsValidationsQueryKey, W as getUsers, Pn as getUsersOptions, Fn as getUsersQueryKey, In as getVelocityControlsQueryKey, Ln as grantBankAccountAccessMutation, Rn as grantExternalBankAccountAccessMutation, He as hasAnyScope, t as invalidateAllClients, yr as isAllPagesResolving, ur as isApiConflictError, dr as isApiForbiddenError, fr as isApiNotFoundError, pr as isApiUnprocessableError, zn as linkExternalBankAccountMutation, G as listDepartments, Bn as listDepartmentsOptions, Vn as listDepartmentsQueryKey, K as listLocations, Hn as listLocationsOptions, Un as listLocationsQueryKey, q as listRoles, Wn as listRolesQueryKey, J as manageBankAccountAccess, Gn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, Kn as patchApprovalPoliciesIdMutation, Y as patchCounterpartsId, X as patchCounterpartsIdAddressesId, Z as patchCounterpartsIdBankAccountsId, qn as patchEntitiesIdSettingsMutation, Jn as patchLedgerAccountsIdMutation, Q as patchMeasureUnitsId, $ as patchPayablesId, ee as patchProductsId, Yn as patchReceiptsIdMutation, te as patchReceivablesId, ne as patchTagsId, Xn as postApprovalPoliciesMutation, re as postApprovalRequestsIdApprove, ie as postApprovalRequestsIdReject, ae as postCounterparts, oe as postCounterpartsIdAddresses, se as postCounterpartsIdBankAccounts, ce as postCounterpartsIdBankAccountsIdMakeDefault, Zn as postLedgerAccountsMutation, le as postMeasureUnits, ue as postPayables, de as postPayablesIdApprovePaymentOperation, fe as postPayablesIdAttachFile, pe as postPayablesIdCancel, me as postPayablesIdDuplicatesIdConfirm, he as postPayablesIdDuplicatesIdDismiss, ge as postPayablesIdMarkAsPaid, _e as postPayablesIdReject, ve as postPayablesIdReopen, ye as postPayablesIdSchedulePayment, be as postPayablesIdSubmitForApproval, xe as postPayablesIdValidate, Se as postPayablesUploadFromFile, Ce as postPaymentIntentsIdCancel, we as postProducts, Te as postReceivables, Ee as postReceivablesIdAccept, De as postReceivablesIdCancel, Oe as postReceivablesIdClone, ke as postReceivablesIdDecline, Ae as postReceivablesIdIssue, je as postReceivablesIdMarkAsPaid, Me as postReceivablesIdMarkAsPartiallyPaid, Ne as postReceivablesIdMarkAsUncollectible, Pe as postReceivablesIdSend, Fe as postTags, Ie as putPayablesIdLineItems, Le as putReceivablesIdLineItems, Qn as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, $n as setDebitCardLockStatusMutation, er as submitApplicationMutation, tr as unlinkExternalBankAccountMutation, a as unregisterQueryClient, nr as updateApplicationMutation, rr as updateBankAccountMutation, ir as updateDebitCardMutation, Re as updateDepartment, ar as updateExternalBankAccountMutation, ze as updateLocation, Be as updateUser, Ar as useAcceptWidgetDisclosures, xr as useAllBankAccountsQuery, Sr as useAllExternalBankAccountsQuery, wr as useAllLedgerAccountsQuery, Cr as useAllMerchantCategoryGroupsQuery, Dr as useAllOrganizationRolesQuery, kr as useAllOrganizationUsersQuery, br as useAutoFetchNextPage, lr as useCurrentUserQuery, jr as useDisclosuresQuery, u as useEmbedApi, mr as useGetUserDataQuery, Tr as useLedgerAccountsQuery, Nr as useOrganizationOnboardingSuppression, Er as usePaymentTermsQuery, Or as useRolePermissionsQueries, hr as useUpsertUserDataMutation, or as validateExternalBankAccountMutation, sr as verifyDebitCardMutation, cr as withAuthEpoch };
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js
1
+ //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/onboardingSuppressionReason.js
2
2
  var e = {
3
3
  UserAlreadyOnboarded: "user_already_onboarded",
4
4
  UserInvitedToOrganization: "user_invited_to_organization",
@@ -2,13 +2,12 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
- import { getApplicationStatusOptions as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
- import { withAuthEpoch as n } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
- import "../../../shared/data-access/dist/index.js";
9
- import { OnboardingSuppressionReason as r } from "./index9.js";
5
+ import { useEmbedApi as e } from "./EmbedApiContext.js";
6
+ import { getApplicationStatusOptions as t } from "./rest/@tanstack/react-query.gen.js";
7
+ import { withAuthEpoch as n } from "./withAuthEpoch.js";
8
+ import { OnboardingSuppressionReason as r } from "./onboardingSuppressionReason.js";
10
9
  import { useQuery as i } from "@tanstack/react-query";
11
- //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js
10
+ //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js
12
11
  var a = "COMPLETE", o = "BANK_ACCOUNT", s = "STARTED_BY_OTHER", c = 2, l = 300;
13
12
  function u(e) {
14
13
  let t = e.filter((e) => e.product === o);
@@ -2,6 +2,7 @@
2
2
  var e = "widget-disclosures-required", t = /* @__PURE__ */ new Set([
3
3
  "accept_disclosures",
4
4
  "onboarding",
5
+ "marketing",
5
6
  "widget_suite"
6
7
  ]);
7
8
  function n(e) {