@tesouro/embedded-components-react 0.5.232 → 0.5.235

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 (24) hide show
  1. package/README.md +16 -14
  2. package/dist/index.d.ts +66 -15
  3. package/dist/lib/BankAccountOnboardingWidget.d.ts +39 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +1 -0
  5. package/dist/lib/WidgetSuite.d.ts +65 -15
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +3 -2
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +2 -1
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +6 -0
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index23.js +15 -11
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +441 -409
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +18 -14
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -3
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +26 -30
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +4 -2
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +13 -13
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +4 -1
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +1 -0
  19. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -35
  20. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/clientRegistry.js +6 -3
  21. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index16.js +123 -92
  23. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +12 -5
  24. package/package.json +1 -1
@@ -11,45 +11,49 @@ var a = {
11
11
  [a.Warning]: "ttw:border-amber-100 ttw:bg-amber-100 ttw:text-amber-700",
12
12
  [a.Danger]: "ttw:border-destructive/20 ttw:bg-destructive/20 ttw:text-destructive"
13
13
  };
14
- function s({ chipTone: a, labels: s, className: c, testIds: l }) {
15
- let { title: u, bankDisclosure: d, chipLabel: f, heading: p, body: m } = {
14
+ function s({ chipTone: a, labels: s, action: c, className: l, testIds: u }) {
15
+ let { title: d, bankDisclosure: f, chipLabel: p, heading: m, body: h } = {
16
16
  ...n,
17
17
  ...s
18
18
  };
19
19
  return /* @__PURE__ */ i("section", {
20
- "data-testid": l?.root,
21
- "aria-label": u,
22
- className: t("ttw:flex ttw:w-full ttw:flex-col ttw:items-start ttw:gap-3 ttw:rounded-2xl ttw:border ttw:border-border ttw:bg-card ttw:p-6 ttw:text-card-foreground", c),
20
+ "data-testid": u?.root,
21
+ "aria-label": d,
22
+ className: t("ttw:flex ttw:w-full ttw:flex-col ttw:items-start ttw:gap-3 ttw:rounded-2xl ttw:border ttw:border-border ttw:bg-card ttw:p-6 ttw:text-card-foreground", l),
23
23
  children: [
24
24
  /* @__PURE__ */ i("header", {
25
25
  className: "ttw:flex ttw:w-full ttw:flex-wrap ttw:items-baseline ttw:justify-between ttw:gap-x-4 ttw:gap-y-1",
26
26
  children: [/* @__PURE__ */ r("p", {
27
27
  className: "ttw:text-lg ttw:font-semibold",
28
- children: u
29
- }), d ? /* @__PURE__ */ r("p", {
30
- className: "ttw:text-xs ttw:text-muted-foreground",
31
28
  children: d
29
+ }), f ? /* @__PURE__ */ r("p", {
30
+ className: "ttw:text-xs ttw:text-muted-foreground",
31
+ children: f
32
32
  }) : null]
33
33
  }),
34
34
  /* @__PURE__ */ i(e, {
35
- "data-testid": l?.chip,
35
+ "data-testid": u?.chip,
36
36
  variant: "outline",
37
37
  className: t("ttw:gap-2 ttw:rounded-full ttw:px-3 ttw:py-1 ttw:text-sm", o[a]),
38
38
  children: [/* @__PURE__ */ r("span", {
39
39
  "aria-hidden": "true",
40
40
  className: "ttw:size-2 ttw:rounded-full ttw:bg-current"
41
- }), f]
41
+ }), p]
42
42
  }),
43
43
  /* @__PURE__ */ i("div", {
44
44
  className: "ttw:flex ttw:flex-col ttw:gap-2",
45
- children: [p ? /* @__PURE__ */ r("p", {
45
+ children: [m ? /* @__PURE__ */ r("p", {
46
46
  className: "ttw:text-xl ttw:font-semibold ttw:text-primary",
47
- children: p
48
- }) : null, m.map((e) => /* @__PURE__ */ r("p", {
47
+ children: m
48
+ }) : null, h.map((e) => /* @__PURE__ */ r("p", {
49
49
  className: "ttw:text-sm ttw:text-muted-foreground",
50
50
  children: e
51
51
  }, e))]
52
- })
52
+ }),
53
+ c ? /* @__PURE__ */ r("div", {
54
+ className: "ttw:pt-2",
55
+ children: c
56
+ }) : null
53
57
  ]
54
58
  });
55
59
  }
@@ -69,7 +69,8 @@ function p({ enabled: e, ...t } = {}) {
69
69
  enabled: f
70
70
  });
71
71
  }
72
- function m(e, { enabled: n = !0 } = {}) {
72
+ var m = 1e3, h = 30;
73
+ function g(e, { enabled: n = !0 } = {}) {
73
74
  let { client: r, organizationId: s, widgetToken: l, authEpoch: u, organizationStatus: d } = a(), f = !!(s && l && e) && n, p = t({
74
75
  client: r,
75
76
  headers: o(s),
@@ -80,8 +81,10 @@ function m(e, { enabled: n = !0 } = {}) {
80
81
  authEpoch: u,
81
82
  organizationStatus: d
82
83
  }),
83
- enabled: f
84
+ enabled: f,
85
+ refetchInterval: ({ state: e }) => e.data?.file_url || e.dataUpdateCount + e.errorUpdateCount > h ? !1 : m,
86
+ refetchIntervalInBackground: !0
84
87
  });
85
88
  }
86
89
  //#endregion
87
- export { m as useReceivablePdfLinkQuery, u as useReceivableQuery, p as useReceivableRequiredFieldsQuery, f as useReceivablesByIdQueries, l as useReceivablesQuery };
90
+ export { g as useReceivablePdfLinkQuery, u as useReceivableQuery, p as useReceivableRequiredFieldsQuery, f as useReceivablesByIdQueries, l as useReceivablesQuery };
@@ -1,36 +1,32 @@
1
- import { invalidateAllClients as e } from "../../../shared/data-access/dist/lib/clientRegistry.js";
1
+ import { invalidateAllClients as e, resetAllClients as t } from "../../../shared/data-access/dist/lib/clientRegistry.js";
2
2
  import "../../../shared/data-access/dist/index.js";
3
- import { receivableHistoryInvalidationKey as t, receivableInvalidationKey as n, receivablePdfInvalidationKey as r, receivablesAnalyticsInvalidationKey as i, receivablesInvalidationKey as a } from "./index2.js";
3
+ import { receivableHistoryInvalidationKey as n, receivableInvalidationKey as r, receivablePdfInvalidationKey as i, receivablesAnalyticsInvalidationKey as a, receivablesInvalidationKey as o } from "./index2.js";
4
4
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js
5
- async function o({ client: o, organizationId: s, receivableId: c }) {
6
- let l = [
7
- a({
8
- client: o,
9
- organizationId: s
5
+ async function s({ client: s, organizationId: c, receivableId: l, resetPdf: u = !1 }) {
6
+ let d = [
7
+ o({
8
+ client: s,
9
+ organizationId: c
10
10
  }),
11
- i({
12
- client: o,
13
- organizationId: s
11
+ a({
12
+ client: s,
13
+ organizationId: c
14
14
  }),
15
- ...c ? [
16
- n({
17
- client: o,
18
- organizationId: s,
19
- receivableId: c
20
- }),
21
- t({
22
- client: o,
23
- organizationId: s,
24
- receivableId: c
25
- }),
26
- r({
27
- client: o,
28
- organizationId: s,
29
- receivableId: c
30
- })
31
- ] : []
32
- ];
33
- await Promise.all(l.map((t) => e(t)));
15
+ ...l ? [r({
16
+ client: s,
17
+ organizationId: c,
18
+ receivableId: l
19
+ }), n({
20
+ client: s,
21
+ organizationId: c,
22
+ receivableId: l
23
+ })] : []
24
+ ], f = l ? i({
25
+ client: s,
26
+ organizationId: c,
27
+ receivableId: l
28
+ }) : void 0;
29
+ await Promise.all([...d.map((t) => e(t)), ...f ? [u ? t(f) : e(f)] : []]);
34
30
  }
35
31
  //#endregion
36
- export { o as invalidateReceivable };
32
+ export { s as invalidateReceivable };
@@ -46,7 +46,8 @@ function p() {
46
46
  await u({
47
47
  client: e,
48
48
  organizationId: n,
49
- receivableId: r.path.receivable_id
49
+ receivableId: r.path.receivable_id,
50
+ resetPdf: !0
50
51
  });
51
52
  }
52
53
  });
@@ -87,7 +88,8 @@ function h() {
87
88
  await u({
88
89
  client: e,
89
90
  organizationId: t,
90
- receivableId: r.path.receivable_id
91
+ receivableId: r.path.receivable_id,
92
+ resetPdf: !0
91
93
  });
92
94
  }
93
95
  });
@@ -410,7 +410,7 @@ function O({ receivable: e, pdfUrl: n, paymentReminder: r, overdueReminder: s, d
410
410
  title: z ? w(N, z, A) : N.counterpart_name ?? A.invoiceType,
411
411
  status: L,
412
412
  statusTone: p[L] ?? "neutral",
413
- pdfUrl: n || N.file_url || N.original_file_url || void 0,
413
+ pdfUrl: n,
414
414
  lineItems: N.line_items.map((e, t) => ({
415
415
  id: `${e.product.id ?? "item"}-${t}`,
416
416
  name: e.product.name,
@@ -6,32 +6,32 @@ import { buildReceivableAuditHistory as e } from "../../../shared/util/dist/lib/
6
6
  import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
7
  import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
8
  import "../../../shared/data-access/dist/index.js";
9
- import { useWidgetConfig as r } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
10
- import { useOrganizationUserNames as ee } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
9
+ import { useWidgetConfig as ee } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
10
+ import { useOrganizationUserNames as r } from "../../../shared/feature/dist/lib/user/useOrganizationUserNames.js";
11
11
  import "../../../shared/feature/dist/index.js";
12
12
  import { RECEIVABLE_DETAILS_SECTION as i } from "../../ui/dist/index21.js";
13
13
  import "../../ui/dist/index.js";
14
14
  import { useAllReceivableHistoryQuery as a } from "../../data-access/dist/index3.js";
15
15
  import { usePaymentAccountsQuery as o } from "../../data-access/dist/index4.js";
16
16
  import { useReceivablePaymentRecordsQuery as s } from "../../data-access/dist/index9.js";
17
- import { useReceivablePdfLinkQuery as te, useReceivableQuery as c, useReceivablesByIdQueries as l } from "../../data-access/dist/index11.js";
18
- import { useOverdueRemindersQuery as u, usePaymentRemindersQuery as d, useRecurrenceQuery as f } from "../../data-access/dist/index12.js";
17
+ import { useReceivablePdfLinkQuery as c, useReceivableQuery as te, useReceivablesByIdQueries as l } from "../../data-access/dist/index11.js";
18
+ import { useOverdueRemindersQuery as u, usePaymentRemindersQuery as ne, useRecurrenceQuery as d } from "../../data-access/dist/index12.js";
19
19
  import "../../data-access/dist/index.js";
20
- import { buildReceivableAuditHistoryLabels as p } from "./index19.js";
21
- import { getBankAccountPermissions as ne } from "./index20.js";
22
- import { buildReceivableDetailsView as re, buildUnsupportedDetailsView as m } from "./index22.js";
20
+ import { buildReceivableAuditHistoryLabels as f } from "./index19.js";
21
+ import { getBankAccountPermissions as re } from "./index20.js";
22
+ import { buildReceivableDetailsView as p, buildUnsupportedDetailsView as m } from "./index22.js";
23
23
  import { useMemo as h, useState as g } from "react";
24
24
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js
25
25
  var _ = [i.attachments];
26
26
  function v({ selectedReceivableId: v, enabled: y = !0, messages: b, statusLabels: x, auditHistoryLabels: S, onOpenReceivable: C }) {
27
- let { initResponse: w } = r(), T = h(() => ne(w?.scopes), [w?.scopes]), E = c(v, { enabled: y }), D = E.data, O = D?.type === "invoice" ? D : void 0, k = te(v, { enabled: y && !!D }), ie = d({ enabled: y && !!O?.payment_reminder_id }), ae = u({ enabled: y && !!O?.overdue_reminder_id }), A = o({
27
+ let { initResponse: w } = ee(), T = h(() => re(w?.scopes), [w?.scopes]), E = te(v, { enabled: y }), D = E.data, O = D?.type === "invoice" ? D : void 0, k = c(v, { enabled: y && !!O }), ie = ne({ enabled: y && !!O?.payment_reminder_id }), ae = u({ enabled: y && !!O?.overdue_reminder_id }), A = o({
28
28
  enabled: y && !!O,
29
29
  canReadEmbedded: T.canReadEmbedded,
30
30
  canReadExternal: T.canReadExternal
31
- }), j = f(y ? O?.recurrence_id : void 0), M = j.data, N = s(O?.id, { enabled: y }), P = a(O?.id, { enabled: y && !!O }), F = h(() => O?.status === "recurring" ? (M?.iterations ?? []).flatMap((e) => e.issued_invoice_id ? [e.issued_invoice_id] : []) : [], [O?.status, M?.iterations]), I = l(F, { enabled: y }), L = h(() => new Map(I.filter((e) => !!e).map((e) => [e.id, e])), [I]), [R, z] = g(_), [B, V] = g(v);
31
+ }), j = d(y ? O?.recurrence_id : void 0), M = j.data, N = s(O?.id, { enabled: y }), P = a(O?.id, { enabled: y && !!O }), F = h(() => O?.status === "recurring" ? (M?.iterations ?? []).flatMap((e) => e.issued_invoice_id ? [e.issued_invoice_id] : []) : [], [O?.status, M?.iterations]), I = l(F, { enabled: y }), L = h(() => new Map(I.filter((e) => !!e).map((e) => [e.id, e])), [I]), [R, z] = g(_), [B, V] = g(v);
32
32
  B !== v && (V(v), z(_));
33
- let H = R.includes(i.auditHistory), U = h(() => P.data?.data ?? [], [P.data]), W = U.some((e) => e.recorded_by === "user" && !!e.entity_user_id), G = t(w?.scopes, [n.UserReadOrg]), { userNames: K, isError: q } = ee({ enabled: y && H && G && W }), J = h(() => ({
34
- ...p(b, x),
33
+ let H = R.includes(i.auditHistory), U = h(() => P.data?.data ?? [], [P.data]), W = U.some((e) => e.recorded_by === "user" && !!e.entity_user_id), G = t(w?.scopes, [n.UserReadOrg]), { userNames: K, isError: q } = r({ enabled: y && H && G && W }), J = h(() => ({
34
+ ...f(b, x),
35
35
  ...S
36
36
  }), [
37
37
  b,
@@ -62,11 +62,11 @@ function v({ selectedReceivableId: v, enabled: y = !0, messages: b, statusLabels
62
62
  G,
63
63
  q,
64
64
  W
65
- ]), X = ie.data?.data.find((e) => e.id === O?.payment_reminder_id), Z = ae.data?.data.find((e) => e.id === O?.overdue_reminder_id), Q = A.paymentAccounts.find((e) => e.id === O?.bank_account_id), $ = k.data?.file_url || k.data?.original_file_url || void 0;
65
+ ]), X = ie.data?.data.find((e) => e.id === O?.payment_reminder_id), Z = ae.data?.data.find((e) => e.id === O?.overdue_reminder_id), Q = A.paymentAccounts.find((e) => e.id === O?.bank_account_id), $ = k.data?.file_url || void 0;
66
66
  return {
67
67
  receivable: D,
68
68
  recurrence: M,
69
- detailsView: h(() => re({
69
+ detailsView: h(() => p({
70
70
  receivable: D,
71
71
  pdfUrl: $,
72
72
  paymentReminder: X,
@@ -252,7 +252,10 @@ function F({ open: F, onOpenChange: I, details: L, unsupported: R, isLoading: z,
252
252
  children: q.paymentHistoryHeading
253
253
  }), J.paymentHistory.isLoading ? /* @__PURE__ */ k("div", {
254
254
  className: "ttw:flex ttw:py-2",
255
- children: /* @__PURE__ */ k(te, { className: "ttw:size-5" })
255
+ children: /* @__PURE__ */ k(te, {
256
+ className: "ttw:size-5",
257
+ "aria-label": q.paymentHistoryLoading
258
+ })
256
259
  }) : J.paymentHistory.rows.length === 0 ? /* @__PURE__ */ k("p", {
257
260
  className: m("ttw:text-sm", J.paymentHistory.emptyTone === "danger" ? "ttw:text-red-600" : "ttw:text-muted-foreground"),
258
261
  children: q.paymentHistoryEmpty
@@ -163,6 +163,7 @@ var r = {
163
163
  paymentHistoryHeading: "Payment history",
164
164
  paymentHistoryEmpty: "You've received no payments yet.",
165
165
  paymentHistoryTotalLabel: "Total received",
166
+ paymentHistoryLoading: "Loading payment history",
166
167
  customerDetailsHeading: "Customer details",
167
168
  recurringAmountCaption: "Recurring amount",
168
169
  startsOnCaption: "Starts on",
@@ -6,42 +6,42 @@ import { OrganizationStatus as Mr, isOrganizationOnItsWay as Nr } from "./lib/or
6
6
  import { withAuthEpoch as Pr, withAuthEpochInfinite as Fr } from "./lib/withAuthEpoch.js";
7
7
  import { applicationStatusInvalidationKey as Ir, applicationStatusQueryOptions as Lr } from "./lib/applicationStatusQueryOptions.js";
8
8
  import { createClientSecretInstaller as Rr } from "./lib/scopedClientSecret.js";
9
- import { cancelAllClients as zr, invalidateAllClients as Br, registerQueryClient as Vr, removeInactiveFromAllClients as Hr, setAllClientsQueriesData as Ur, unregisterQueryClient as Wr } from "./lib/clientRegistry.js";
10
- import { cloneEmbeddedClient as Gr, createEmbeddedClient as Kr } from "./lib/createEmbeddedClient.js";
9
+ import { cancelAllClients as zr, invalidateAllClients as Br, registerQueryClient as Vr, removeInactiveFromAllClients as Hr, resetAllClients as Ur, setAllClientsQueriesData as Wr, unregisterQueryClient as Gr } from "./lib/clientRegistry.js";
10
+ import { cloneEmbeddedClient as Kr, createEmbeddedClient as qr } from "./lib/createEmbeddedClient.js";
11
11
  import "./lib/widgetGatewayHosts.js";
12
- import { attachTransportInterceptors as qr } from "./lib/transportInterceptors.js";
13
- import { EmbedApiProvider as Jr, useEmbedApi as Yr } from "./lib/EmbedApiContext.js";
14
- import { optionalOrganizationHeaders as Xr, organizationHeaders as Zr } from "./lib/organizationHeaders.js";
15
- import { fetchWidgetInit as Qr } from "./lib/fetchWidgetInit.js";
16
- import { hasAnyScope as $r } from "./lib/hasAnyScope.js";
17
- import { myEntityInvalidationKey as ei } from "./lib/queryKeys.js";
18
- import { useCurrentUserQuery as ti } from "./lib/useCurrentUserQuery.js";
19
- import { useMyEntityQuery as ni } from "./lib/useMyEntityQuery.js";
20
- import { useMailboxAddress as ri } from "./lib/useMailboxAddress.js";
12
+ import { attachTransportInterceptors as Jr } from "./lib/transportInterceptors.js";
13
+ import { EmbedApiProvider as Yr, useEmbedApi as Xr } from "./lib/EmbedApiContext.js";
14
+ import { optionalOrganizationHeaders as Zr, organizationHeaders as Qr } from "./lib/organizationHeaders.js";
15
+ import { fetchWidgetInit as $r } from "./lib/fetchWidgetInit.js";
16
+ import { hasAnyScope as ei } from "./lib/hasAnyScope.js";
17
+ import { myEntityInvalidationKey as ti } from "./lib/queryKeys.js";
18
+ import { useCurrentUserQuery as ni } from "./lib/useCurrentUserQuery.js";
19
+ import { useMyEntityQuery as ri } from "./lib/useMyEntityQuery.js";
20
+ import { useMailboxAddress as ii } from "./lib/useMailboxAddress.js";
21
21
  import "./lib/apiErrorStatus.js";
22
- import { isApiConflictError as ii } from "./lib/isApiConflictError.js";
23
- import { isApiForbiddenError as ai } from "./lib/isApiForbiddenError.js";
24
- import { isApiNotFoundError as oi } from "./lib/isApiNotFoundError.js";
25
- import { isApiUnprocessableError as si } from "./lib/isApiUnprocessableError.js";
22
+ import { isApiConflictError as ai } from "./lib/isApiConflictError.js";
23
+ import { isApiForbiddenError as oi } from "./lib/isApiForbiddenError.js";
24
+ import { isApiNotFoundError as si } from "./lib/isApiNotFoundError.js";
25
+ import { isApiUnprocessableError as ci } from "./lib/isApiUnprocessableError.js";
26
26
  import "./lib/isUserDataNotFoundError.js";
27
- import { useGetUserDataQuery as ci } from "./lib/useGetUserDataQuery.js";
28
- import { useUpsertUserDataMutation as li } from "./lib/useUpsertUserDataMutation.js";
27
+ import { useGetUserDataQuery as li } from "./lib/useGetUserDataQuery.js";
28
+ import { useUpsertUserDataMutation as ui } from "./lib/useUpsertUserDataMutation.js";
29
29
  import "./lib/rest/zod.gen.js";
30
- import { Scope as ui, isScope as di } from "./lib/scopes.js";
31
- import { getAllPagesNextPageParam as fi, getAllPagesNextPaginationTokenParam as pi, isAllPagesResolving as mi, useAutoFetchNextPage as hi } from "./lib/allPages.js";
32
- import { useAllBankAccountsQuery as gi } from "./lib/bank-account/useAllBankAccountsQuery.js";
33
- import { useAllDebitCardsQuery as _i } from "./lib/debit-card/useAllDebitCardsQuery.js";
34
- import { useAllExternalBankAccountsQuery as vi } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
35
- import { useAllMerchantCategoryGroupsQuery as yi } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
36
- import { useAllLedgerAccountsQuery as bi, useLedgerAccountsQuery as xi } from "./lib/reference-data/useLedgerAccountsQuery.js";
37
- import { usePaymentTermsQuery as Si } from "./lib/reference-data/usePaymentTermsQuery.js";
38
- import { useAllOrganizationRolesQuery as Ci } from "./lib/role/useAllOrganizationRolesQuery.js";
39
- import { useRolePermissionsQueries as wi } from "./lib/role/useRolePermissionsQueries.js";
40
- import { useAllOrganizationUsersQuery as Ti } from "./lib/user/useAllOrganizationUsersQuery.js";
41
- import { personDisclosure as Ei } from "./lib/disclosures/personDisclosure.js";
42
- import { useAcceptWidgetDisclosures as Di } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
43
- import { useDisclosuresQuery as Oi } from "./lib/disclosures/useDisclosuresQuery.js";
44
- import { OnboardingSuppressionReason as ki } from "./lib/onboardingSuppressionReason.js";
45
- import { useOrganizationOnboardingSuppression as Ai } from "./lib/useOrganizationOnboardingSuppression.js";
46
- import { useOrganizationApplicationStatus as ji } from "./lib/useOrganizationApplicationStatus.js";
47
- export { Jr as EmbedApiProvider, ki as OnboardingSuppressionReason, Mr as OrganizationStatus, ui as Scope, Je as activateCreditCardMutation, Ye as activateDebitCardMutation, Ir as applicationStatusInvalidationKey, Lr as applicationStatusQueryOptions, qr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, zr as cancelAllClients, Gr as cloneEmbeddedClient, Xe as connectExternalBankAccountMutation, Ze as createAchMoneyMovementMutation, Qe as createApplicationMutation, $e as createBankAccountMutation, et as createBookTransferMutation, tt as createCheckDepositMutation, Rr as createClientSecretInstaller, nt as createDebitCardMutation, r as createDepartment, Kr as createEmbeddedClient, i as createLocation, a as createUser, rt as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, it as deleteApprovalPoliciesIdMutation, at as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ot as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, st as deleteReceiptsIdMutation, g as deleteReceivablesId, ct as disableUserMutation, _ as downloadBankAccountTransactions, Qr as fetchWidgetInit, fi as getAllPagesNextPageParam, pi as getAllPagesNextPaginationTokenParam, lt as getAnalyticsPayablesOptions, ut as getAnalyticsPayablesQueryKey, dt as getAnalyticsReceiptsOptions, ft as getAnalyticsReceiptsQueryKey, pt as getAnalyticsReceivablesOptions, mt as getAnalyticsReceivablesQueryKey, ht as getAnalyticsTransactionsOptions, gt as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, _t as getApprovalPoliciesOptions, vt as getApprovalPoliciesQueryKey, b as getApprovalRequests, yt as getApprovalRequestsOptions, bt as getApprovalRequestsQueryKey, x as getBankAccountAccess, xt as getBankAccountAccessQueryKey, St as getBankAccountApplicationOptions, Ct as getBankAccountOptions, wt as getBankAccountQueryKey, S as getBankAccountStatement, Tt as getBankAccountStatementsOptions, Et as getBankAccountTransactionsOptions, Dt as getBankAccountTransactionsQueryKey, Ot as getBankAccountTransfersOptions, kt as getBankAccountTransfersQueryKey, At as getBankAccountsQueryKey, jt as getBankDetailsOptions, Mt as getBankDetailsQueryKey, C as getCounterparts, Nt as getCounterpartsIdAddressesOptions, Pt as getCounterpartsIdAddressesQueryKey, Ft as getCounterpartsIdBankAccountsOptions, It as getCounterpartsIdBankAccountsQueryKey, Lt as getCounterpartsIdOptions, Rt as getCounterpartsIdQueryKey, zt as getCounterpartsOptions, Bt as getCounterpartsQueryKey, Vt as getCreditCardByIdOptions, Ht as getCreditCardByIdQueryKey, Ut as getCreditCardsOptions, Wt as getCreditCardsQueryKey, Gt as getDebitCardByIdOptions, Kt as getDebitCardByIdQueryKey, qt as getDebitCardCredentialsOptions, Jt as getDebitCardsOptions, Yt as getDebitCardsQueryKey, w as getDepartment, Xt as getDepartmentOptions, Zt as getDepartmentQueryKey, T as getDepositableBankAccounts, Qt as getDepositableBankAccountsOptions, $t as getDocumentsIdNextNumbersOptions, en as getDocumentsIdNextNumbersQueryKey, tn as getEntitiesIdSettingsOptions, nn as getEntitiesIdSettingsQueryKey, rn as getEntityUsersMyEntityOptions, an as getEntityUsersOptions, E as getExternalBankAccountAccess, on as getExternalBankAccountAccessQueryKey, sn as getExternalBankAccountsOptions, cn as getExternalBankAccountsQueryKey, ln as getFilesQueryKey, un as getLedgerAccountsQueryKey, D as getLocation, dn as getLocationOptions, fn as getLocationQueryKey, pn as getMeasureUnitsOptions, mn as getMeasureUnitsQueryKey, hn as getOrganizationOptions, gn as getOverdueRemindersOptions, _n as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, vn as getPayablesIdHistoryOptions, yn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, bn as getPayablesIdLineItemsOptions, xn as getPayablesIdLineItemsQueryKey, Sn as getPayablesIdOptions, Cn as getPayablesIdQueryKey, wn as getPayablesIdSuggestionsOptions, Tn as getPayablesOptions, En as getPayablesQueryKey, M as getPaymentRecords, Dn as getPaymentRecordsOptions, On as getPaymentRecordsQueryKey, kn as getPaymentRemindersOptions, An as getPaymentRemindersQueryKey, N as getProducts, jn as getProductsIdOptions, Mn as getProductsIdQueryKey, Nn as getProductsOptions, Pn as getProductsQueryKey, P as getReceipts, Fn as getReceiptsIdQueryKey, In as getReceiptsOptions, Ln as getReceiptsQueryKey, F as getReceivables, I as getReceivablesIdHistory, Rn as getReceivablesIdHistoryQueryKey, zn as getReceivablesIdMailsQueryKey, Bn as getReceivablesIdOptions, Vn as getReceivablesIdPdfLinkOptions, Hn as getReceivablesIdPdfLinkQueryKey, Un as getReceivablesIdQueryKey, Wn as getReceivablesOptions, Gn as getReceivablesQueryKey, Kn as getReceivablesRequiredFieldsOptions, qn as getRecurrencesIdOptions, Jn as getRecurrencesIdQueryKey, Yn as getRecurrencesQueryKey, Xn as getTransactionsIdExpenseHistoryOptions, Zn as getTransactionsIdExpenseHistoryQueryKey, Qn as getTransactionsIdOptions, $n as getTransactionsIdQueryKey, er as getTransactionsOptions, tr as getTransactionsQueryKey, nr as getTransactionsValidationsOptions, rr as getTransactionsValidationsQueryKey, L as getUsers, ir as getUsersOptions, ar as getUsersQueryKey, or as getVelocityControlsQueryKey, sr as grantBankAccountAccessMutation, cr as grantExternalBankAccountAccessMutation, $r as hasAnyScope, Br as invalidateAllClients, mi as isAllPagesResolving, ii as isApiConflictError, ai as isApiForbiddenError, oi as isApiNotFoundError, si as isApiUnprocessableError, Nr as isOrganizationOnItsWay, di as isScope, lr as linkExternalBankAccountMutation, R as listDepartments, ur as listDepartmentsOptions, dr as listDepartmentsQueryKey, z as listLocations, fr as listLocationsOptions, pr as listLocationsQueryKey, B as listRoles, mr as listRolesQueryKey, V as manageBankAccountAccess, H as manageDebitCardAccess, hr as manageDebitCardAccessMutation, ei as myEntityInvalidationKey, Xr as optionalOrganizationHeaders, Zr as organizationHeaders, gr as patchApprovalPoliciesIdMutation, U as patchCounterpartsId, W as patchCounterpartsIdAddressesId, G as patchCounterpartsIdBankAccountsId, K as patchEntitiesIdSettings, _r as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, vr as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchRecurrencesId, Q as patchTransactionsId, Ei as personDisclosure, yr as postApprovalPoliciesMutation, $ as postApprovalRequestsIdApprove, ee as postApprovalRequestsIdReject, te as postBankDetails, ne as postCounterparts, re as postCounterpartsIdAddresses, ie as postCounterpartsIdBankAccounts, ae as postCounterpartsIdBankAccountsIdMakeDefault, oe as postFiles, br as postLedgerAccountsMutation, se as postMeasureUnits, ce as postOverdueReminders, le as postPayables, ue as postPayablesIdApprovePaymentOperation, de as postPayablesIdAttachFile, fe as postPayablesIdCancel, pe as postPayablesIdDuplicatesIdConfirm, me as postPayablesIdDuplicatesIdDismiss, he as postPayablesIdMarkAsPaid, ge as postPayablesIdReject, _e as postPayablesIdReopen, ve as postPayablesIdSchedulePayment, ye as postPayablesIdSubmitForApproval, be as postPayablesIdValidate, xe as postPayablesUploadFromFile, Se as postPaymentIntentsIdCancel, Ce as postPaymentReminders, we as postProducts, xr as postReceiptsUploadFromFileMutation, 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 postRecurrences, Ie as postRecurrencesIdCancel, Le as postRecurrencesIdPause, Re as postRecurrencesIdResume, ze as postTransactionsIdApprove, Be as postTransactionsIdReject, Ve as postTransactionsIdReopen, He as postTransactionsIdSubmit, Ue as putEntitiesIdLogo, We as putPayablesIdLineItems, Sr as putTransactionsValidationsMutation, Vr as registerQueryClient, Hr as removeInactiveFromAllClients, Ur as setAllClientsQueriesData, Cr as setDebitCardLockStatusMutation, wr as submitApplicationMutation, Tr as unlinkExternalBankAccountMutation, Wr as unregisterQueryClient, Er as updateApplicationMutation, Dr as updateBankAccountMutation, Or as updateDebitCardMutation, Ge as updateDepartment, kr as updateExternalBankAccountMutation, Ke as updateLocation, qe as updateUser, Di as useAcceptWidgetDisclosures, gi as useAllBankAccountsQuery, _i as useAllDebitCardsQuery, vi as useAllExternalBankAccountsQuery, bi as useAllLedgerAccountsQuery, yi as useAllMerchantCategoryGroupsQuery, Ci as useAllOrganizationRolesQuery, Ti as useAllOrganizationUsersQuery, hi as useAutoFetchNextPage, ti as useCurrentUserQuery, Oi as useDisclosuresQuery, Yr as useEmbedApi, ci as useGetUserDataQuery, xi as useLedgerAccountsQuery, ri as useMailboxAddress, ni as useMyEntityQuery, ji as useOrganizationApplicationStatus, Ai as useOrganizationOnboardingSuppression, Si as usePaymentTermsQuery, wi as useRolePermissionsQueries, li as useUpsertUserDataMutation, Ar as validateExternalBankAccountMutation, jr as verifyDebitCardMutation, Pr as withAuthEpoch, Fr as withAuthEpochInfinite };
30
+ import { Scope as di, isScope as fi } from "./lib/scopes.js";
31
+ import { getAllPagesNextPageParam as pi, getAllPagesNextPaginationTokenParam as mi, isAllPagesResolving as hi, useAutoFetchNextPage as gi } from "./lib/allPages.js";
32
+ import { useAllBankAccountsQuery as _i } from "./lib/bank-account/useAllBankAccountsQuery.js";
33
+ import { useAllDebitCardsQuery as vi } from "./lib/debit-card/useAllDebitCardsQuery.js";
34
+ import { useAllExternalBankAccountsQuery as yi } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
35
+ import { useAllMerchantCategoryGroupsQuery as bi } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
36
+ import { useAllLedgerAccountsQuery as xi, useLedgerAccountsQuery as Si } from "./lib/reference-data/useLedgerAccountsQuery.js";
37
+ import { usePaymentTermsQuery as Ci } from "./lib/reference-data/usePaymentTermsQuery.js";
38
+ import { useAllOrganizationRolesQuery as wi } from "./lib/role/useAllOrganizationRolesQuery.js";
39
+ import { useRolePermissionsQueries as Ti } from "./lib/role/useRolePermissionsQueries.js";
40
+ import { useAllOrganizationUsersQuery as Ei } from "./lib/user/useAllOrganizationUsersQuery.js";
41
+ import { personDisclosure as Di } from "./lib/disclosures/personDisclosure.js";
42
+ import { useAcceptWidgetDisclosures as Oi } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
43
+ import { useDisclosuresQuery as ki } from "./lib/disclosures/useDisclosuresQuery.js";
44
+ import { OnboardingSuppressionReason as Ai } from "./lib/onboardingSuppressionReason.js";
45
+ import { useOrganizationOnboardingSuppression as ji } from "./lib/useOrganizationOnboardingSuppression.js";
46
+ import { useOrganizationApplicationStatus as Mi } from "./lib/useOrganizationApplicationStatus.js";
47
+ export { Yr as EmbedApiProvider, Ai as OnboardingSuppressionReason, Mr as OrganizationStatus, di as Scope, Je as activateCreditCardMutation, Ye as activateDebitCardMutation, Ir as applicationStatusInvalidationKey, Lr as applicationStatusQueryOptions, Jr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, zr as cancelAllClients, Kr as cloneEmbeddedClient, Xe as connectExternalBankAccountMutation, Ze as createAchMoneyMovementMutation, Qe as createApplicationMutation, $e as createBankAccountMutation, et as createBookTransferMutation, tt as createCheckDepositMutation, Rr as createClientSecretInstaller, nt as createDebitCardMutation, r as createDepartment, qr as createEmbeddedClient, i as createLocation, a as createUser, rt as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, it as deleteApprovalPoliciesIdMutation, at as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ot as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, st as deleteReceiptsIdMutation, g as deleteReceivablesId, ct as disableUserMutation, _ as downloadBankAccountTransactions, $r as fetchWidgetInit, pi as getAllPagesNextPageParam, mi as getAllPagesNextPaginationTokenParam, lt as getAnalyticsPayablesOptions, ut as getAnalyticsPayablesQueryKey, dt as getAnalyticsReceiptsOptions, ft as getAnalyticsReceiptsQueryKey, pt as getAnalyticsReceivablesOptions, mt as getAnalyticsReceivablesQueryKey, ht as getAnalyticsTransactionsOptions, gt as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, _t as getApprovalPoliciesOptions, vt as getApprovalPoliciesQueryKey, b as getApprovalRequests, yt as getApprovalRequestsOptions, bt as getApprovalRequestsQueryKey, x as getBankAccountAccess, xt as getBankAccountAccessQueryKey, St as getBankAccountApplicationOptions, Ct as getBankAccountOptions, wt as getBankAccountQueryKey, S as getBankAccountStatement, Tt as getBankAccountStatementsOptions, Et as getBankAccountTransactionsOptions, Dt as getBankAccountTransactionsQueryKey, Ot as getBankAccountTransfersOptions, kt as getBankAccountTransfersQueryKey, At as getBankAccountsQueryKey, jt as getBankDetailsOptions, Mt as getBankDetailsQueryKey, C as getCounterparts, Nt as getCounterpartsIdAddressesOptions, Pt as getCounterpartsIdAddressesQueryKey, Ft as getCounterpartsIdBankAccountsOptions, It as getCounterpartsIdBankAccountsQueryKey, Lt as getCounterpartsIdOptions, Rt as getCounterpartsIdQueryKey, zt as getCounterpartsOptions, Bt as getCounterpartsQueryKey, Vt as getCreditCardByIdOptions, Ht as getCreditCardByIdQueryKey, Ut as getCreditCardsOptions, Wt as getCreditCardsQueryKey, Gt as getDebitCardByIdOptions, Kt as getDebitCardByIdQueryKey, qt as getDebitCardCredentialsOptions, Jt as getDebitCardsOptions, Yt as getDebitCardsQueryKey, w as getDepartment, Xt as getDepartmentOptions, Zt as getDepartmentQueryKey, T as getDepositableBankAccounts, Qt as getDepositableBankAccountsOptions, $t as getDocumentsIdNextNumbersOptions, en as getDocumentsIdNextNumbersQueryKey, tn as getEntitiesIdSettingsOptions, nn as getEntitiesIdSettingsQueryKey, rn as getEntityUsersMyEntityOptions, an as getEntityUsersOptions, E as getExternalBankAccountAccess, on as getExternalBankAccountAccessQueryKey, sn as getExternalBankAccountsOptions, cn as getExternalBankAccountsQueryKey, ln as getFilesQueryKey, un as getLedgerAccountsQueryKey, D as getLocation, dn as getLocationOptions, fn as getLocationQueryKey, pn as getMeasureUnitsOptions, mn as getMeasureUnitsQueryKey, hn as getOrganizationOptions, gn as getOverdueRemindersOptions, _n as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, vn as getPayablesIdHistoryOptions, yn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, bn as getPayablesIdLineItemsOptions, xn as getPayablesIdLineItemsQueryKey, Sn as getPayablesIdOptions, Cn as getPayablesIdQueryKey, wn as getPayablesIdSuggestionsOptions, Tn as getPayablesOptions, En as getPayablesQueryKey, M as getPaymentRecords, Dn as getPaymentRecordsOptions, On as getPaymentRecordsQueryKey, kn as getPaymentRemindersOptions, An as getPaymentRemindersQueryKey, N as getProducts, jn as getProductsIdOptions, Mn as getProductsIdQueryKey, Nn as getProductsOptions, Pn as getProductsQueryKey, P as getReceipts, Fn as getReceiptsIdQueryKey, In as getReceiptsOptions, Ln as getReceiptsQueryKey, F as getReceivables, I as getReceivablesIdHistory, Rn as getReceivablesIdHistoryQueryKey, zn as getReceivablesIdMailsQueryKey, Bn as getReceivablesIdOptions, Vn as getReceivablesIdPdfLinkOptions, Hn as getReceivablesIdPdfLinkQueryKey, Un as getReceivablesIdQueryKey, Wn as getReceivablesOptions, Gn as getReceivablesQueryKey, Kn as getReceivablesRequiredFieldsOptions, qn as getRecurrencesIdOptions, Jn as getRecurrencesIdQueryKey, Yn as getRecurrencesQueryKey, Xn as getTransactionsIdExpenseHistoryOptions, Zn as getTransactionsIdExpenseHistoryQueryKey, Qn as getTransactionsIdOptions, $n as getTransactionsIdQueryKey, er as getTransactionsOptions, tr as getTransactionsQueryKey, nr as getTransactionsValidationsOptions, rr as getTransactionsValidationsQueryKey, L as getUsers, ir as getUsersOptions, ar as getUsersQueryKey, or as getVelocityControlsQueryKey, sr as grantBankAccountAccessMutation, cr as grantExternalBankAccountAccessMutation, ei as hasAnyScope, Br as invalidateAllClients, hi as isAllPagesResolving, ai as isApiConflictError, oi as isApiForbiddenError, si as isApiNotFoundError, ci as isApiUnprocessableError, Nr as isOrganizationOnItsWay, fi as isScope, lr as linkExternalBankAccountMutation, R as listDepartments, ur as listDepartmentsOptions, dr as listDepartmentsQueryKey, z as listLocations, fr as listLocationsOptions, pr as listLocationsQueryKey, B as listRoles, mr as listRolesQueryKey, V as manageBankAccountAccess, H as manageDebitCardAccess, hr as manageDebitCardAccessMutation, ti as myEntityInvalidationKey, Zr as optionalOrganizationHeaders, Qr as organizationHeaders, gr as patchApprovalPoliciesIdMutation, U as patchCounterpartsId, W as patchCounterpartsIdAddressesId, G as patchCounterpartsIdBankAccountsId, K as patchEntitiesIdSettings, _r as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, vr as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchRecurrencesId, Q as patchTransactionsId, Di as personDisclosure, yr as postApprovalPoliciesMutation, $ as postApprovalRequestsIdApprove, ee as postApprovalRequestsIdReject, te as postBankDetails, ne as postCounterparts, re as postCounterpartsIdAddresses, ie as postCounterpartsIdBankAccounts, ae as postCounterpartsIdBankAccountsIdMakeDefault, oe as postFiles, br as postLedgerAccountsMutation, se as postMeasureUnits, ce as postOverdueReminders, le as postPayables, ue as postPayablesIdApprovePaymentOperation, de as postPayablesIdAttachFile, fe as postPayablesIdCancel, pe as postPayablesIdDuplicatesIdConfirm, me as postPayablesIdDuplicatesIdDismiss, he as postPayablesIdMarkAsPaid, ge as postPayablesIdReject, _e as postPayablesIdReopen, ve as postPayablesIdSchedulePayment, ye as postPayablesIdSubmitForApproval, be as postPayablesIdValidate, xe as postPayablesUploadFromFile, Se as postPaymentIntentsIdCancel, Ce as postPaymentReminders, we as postProducts, xr as postReceiptsUploadFromFileMutation, 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 postRecurrences, Ie as postRecurrencesIdCancel, Le as postRecurrencesIdPause, Re as postRecurrencesIdResume, ze as postTransactionsIdApprove, Be as postTransactionsIdReject, Ve as postTransactionsIdReopen, He as postTransactionsIdSubmit, Ue as putEntitiesIdLogo, We as putPayablesIdLineItems, Sr as putTransactionsValidationsMutation, Vr as registerQueryClient, Hr as removeInactiveFromAllClients, Ur as resetAllClients, Wr as setAllClientsQueriesData, Cr as setDebitCardLockStatusMutation, wr as submitApplicationMutation, Tr as unlinkExternalBankAccountMutation, Gr as unregisterQueryClient, Er as updateApplicationMutation, Dr as updateBankAccountMutation, Or as updateDebitCardMutation, Ge as updateDepartment, kr as updateExternalBankAccountMutation, Ke as updateLocation, qe as updateUser, Oi as useAcceptWidgetDisclosures, _i as useAllBankAccountsQuery, vi as useAllDebitCardsQuery, yi as useAllExternalBankAccountsQuery, xi as useAllLedgerAccountsQuery, bi as useAllMerchantCategoryGroupsQuery, wi as useAllOrganizationRolesQuery, Ei as useAllOrganizationUsersQuery, gi as useAutoFetchNextPage, ni as useCurrentUserQuery, ki as useDisclosuresQuery, Xr as useEmbedApi, li as useGetUserDataQuery, Si as useLedgerAccountsQuery, ii as useMailboxAddress, ri as useMyEntityQuery, Mi as useOrganizationApplicationStatus, ji as useOrganizationOnboardingSuppression, Ci as usePaymentTermsQuery, Ti as useRolePermissionsQueries, ui as useUpsertUserDataMutation, Ar as validateExternalBankAccountMutation, jr as verifyDebitCardMutation, Pr as withAuthEpoch, Fr as withAuthEpochInfinite };
@@ -14,16 +14,19 @@ function r(t) {
14
14
  return Promise.all([...e].map((e) => e.invalidateQueries({ queryKey: t }))).then(() => void 0);
15
15
  }
16
16
  function i(t) {
17
- return Promise.all([...e].map((e) => e.cancelQueries({ queryKey: t }))).then(() => void 0);
17
+ return Promise.all([...e].map((e) => e.resetQueries({ queryKey: t }))).then(() => void 0);
18
18
  }
19
19
  function a(t) {
20
+ return Promise.all([...e].map((e) => e.cancelQueries({ queryKey: t }))).then(() => void 0);
21
+ }
22
+ function o(t) {
20
23
  for (let n of e) n.removeQueries({
21
24
  queryKey: t,
22
25
  type: "inactive"
23
26
  });
24
27
  }
25
- function o(t, n) {
28
+ function s(t, n) {
26
29
  for (let r of e) r.setQueriesData({ queryKey: t }, n);
27
30
  }
28
31
  //#endregion
29
- export { i as cancelAllClients, r as invalidateAllClients, t as registerQueryClient, a as removeInactiveFromAllClients, o as setAllClientsQueriesData, n as unregisterQueryClient };
32
+ export { a as cancelAllClients, r as invalidateAllClients, t as registerQueryClient, o as removeInactiveFromAllClients, i as resetAllClients, s as setAllClientsQueriesData, n as unregisterQueryClient };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.232", n = "818d95aa54f2f346f0f006b4d2d8f47bc4db0537", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.235", n = "5e69bbf8fcd6b5b55bbb7c0e6af283533d4d6b1e", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n