@tesouro/embedded-components-react 0.2.249 → 0.2.253

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 (44) hide show
  1. package/README.md +15 -6
  2. package/dist/experimental/WidgetSuite.d.ts +649 -25
  3. package/dist/experimental/WidgetSuite.js +5 -2
  4. package/dist/experimental/index.d.ts +649 -25
  5. package/dist/experimental/index.js +5 -2
  6. package/dist/index.css +22 -2
  7. package/dist/index.d.ts +35 -14
  8. package/dist/lib/AcceptDisclosuresWidget.d.ts +35 -14
  9. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/data-access/dist/index.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/data-access/dist/index2.js +25 -6
  11. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/index4.js +81 -46
  12. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/index2.js +1 -0
  13. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/ui/dist/index3.js +23 -13
  14. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index8.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index.js +2 -2
  17. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/{index3.js → lib/AccountCard.js} +3 -3
  18. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/{index6.js → lib/BankAccountsWidgetUi.js} +7 -7
  19. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/{index4.js → lib/BankingHeader.js} +2 -2
  20. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/{index5.js → lib/CreateAccountDialog.js} +4 -4
  21. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/{index2.js → lib/labels.js} +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/index.js +3 -3
  24. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/{index3.js → lib/SettingsWidgetUi/SettingsWidgetUi.js} +3 -3
  25. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/index.js +2 -0
  26. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/{index2.js → lib/SettingsWidgetUi/labels.js} +1 -1
  27. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +19 -19
  28. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +4 -0
  29. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +149 -156
  30. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +54 -42
  31. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +4 -0
  32. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +4 -0
  33. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/UIContext/UIProvider.js +4 -0
  35. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index.js +5 -2
  36. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index2.js +4 -0
  37. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index3.js +8 -0
  38. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +34 -0
  39. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js +59 -0
  40. package/dist/libs/tesouro-embedded-components-react/widget-suite/ui/dist/index.js +3 -3
  41. package/dist/libs/tesouro-embedded-components-react/widget-suite/ui/dist/index2.js +6 -3
  42. package/dist/libs/tesouro-embedded-components-react/widget-suite/ui/dist/index3.js +70 -18
  43. package/package.json +1 -1
  44. package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/index4.js +0 -2
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index2.js
1
+ //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/labels.js
2
2
  var e = {
3
3
  title: "Accounts",
4
4
  bankingTaglinePrefix: "Business Banking provided by",
@@ -26,7 +26,7 @@ import { TagsWidget as m } from "../../../tags-widget/feature/dist/index11.js";
26
26
  import "../../../tags-widget/feature/dist/index.js";
27
27
  import { TeamWidget as h } from "../../../team-widget/feature/dist/index17.js";
28
28
  import "../../../team-widget/feature/dist/index.js";
29
- import { SettingsWidgetUi as g } from "../../ui/dist/index3.js";
29
+ import { SettingsWidgetUi as g } from "../../ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js";
30
30
  import "../../ui/dist/index.js";
31
31
  import { useEffect as _, useState as v } from "react";
32
32
  import { jsx as y } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import "./index2.js";
2
- import { SettingsWidgetUi as e } from "./index3.js";
3
- import "./index4.js";
1
+ import "./lib/SettingsWidgetUi/labels.js";
2
+ import { SettingsWidgetUi as e } from "./lib/SettingsWidgetUi/SettingsWidgetUi.js";
3
+ import "./lib/SettingsWidgetUi/index.js";
4
4
  export { e as SettingsWidgetUi };
@@ -2,10 +2,10 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { DEFAULT_LABELS as i } from "./index2.js";
5
+ import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import { DEFAULT_LABELS as i } from "./labels.js";
7
7
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
8
- //#region ../../libs/tesouro-embedded-components-react/settings-widget/ui/dist/index3.js
8
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js
9
9
  function s({ labels: s, sections: c, selectedSectionId: l, onSectionChange: u }) {
10
10
  let d = {
11
11
  ...i,
@@ -0,0 +1,2 @@
1
+ import "./labels.js";
2
+ import "./SettingsWidgetUi.js";
@@ -1,4 +1,4 @@
1
- //#region ../../libs/tesouro-embedded-components-react/settings-widget/ui/dist/index2.js
1
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/ui/dist/lib/SettingsWidgetUi/labels.js
2
2
  var e = { title: "Settings" };
3
3
  //#endregion
4
4
  export { e as DEFAULT_LABELS };
@@ -4,25 +4,25 @@ import { cloneEmbeddedClient as i, createEmbeddedClient as a } from "./lib/creat
4
4
  import "./lib/rest/client.gen.js";
5
5
  import { EmbedApiProvider as o, useEmbedApi as s } from "./lib/EmbedApiContext.js";
6
6
  import { optionalOrganizationHeaders as c, organizationHeaders as l } from "./lib/organizationHeaders.js";
7
- import { bulkUpdateDepartmentMembers as u, bulkUpdateLocationMembers as d, bulkUpdateRoleMembers as f, createDepartment as p, createLocation as m, createUser as h, deactivateDepartment as g, deactivateLocation as _, deleteCounterpartsId as v, deleteCounterpartsIdBankAccountsId as y, deleteMeasureUnitsId as b, deleteProductsId as x, deleteReceivablesId as S, deleteTagsId as C, downloadBankAccountTransactions as w, getApplicationStatus as T, getApprovalPolicies as E, getBankAccountAccess as D, getDepartment as O, getExternalBankAccountAccess as k, getLocation as A, getUsers as j, listDepartments as M, listLocations as N, listRoles as P, manageBankAccountAccess as F, patchCounterpartsId as I, patchCounterpartsIdAddressesId as L, patchCounterpartsIdBankAccountsId as R, patchMeasureUnitsId as z, patchProductsId as B, patchReceivablesId as V, patchTagsId as H, postCounterparts as U, postCounterpartsIdAddresses as W, postCounterpartsIdBankAccounts as G, postCounterpartsIdBankAccountsIdMakeDefault as K, postMeasureUnits as q, postProducts as J, postReceivables as Y, postReceivablesIdAccept as X, postReceivablesIdCancel as Z, postReceivablesIdClone as Q, postReceivablesIdDecline as $, postReceivablesIdIssue as ee, postReceivablesIdMarkAsPaid as te, postReceivablesIdMarkAsPartiallyPaid as ne, postReceivablesIdMarkAsUncollectible as re, postReceivablesIdSend as ie, postTags as ae, putReceivablesIdLineItems as oe, updateDepartment as se, updateLocation as ce, updateUser as le } from "./lib/rest/sdk.gen.js";
8
- import { fetchWidgetInit as ue } from "./lib/fetchWidgetInit.js";
9
- import { hasAnyScope as de } from "./lib/hasAnyScope.js";
10
- import { acceptDisclosuresMutation as fe, connectExternalBankAccountMutation as pe, createAchMoneyMovementMutation as me, createApplicationMutation as he, createBankAccountMutation as ge, createBookTransferMutation as _e, deleteApprovalPoliciesIdMutation as ve, deleteLedgerAccountsIdMutation as ye, deleteReceiptsIdMutation as be, disableUserMutation as xe, getAnalyticsPayablesOptions as Se, getAnalyticsReceivablesOptions as Ce, getApplicationStatusOptions as we, getApprovalPoliciesOptions as Te, getApprovalPoliciesQueryKey as Ee, getBankAccountAccessQueryKey as De, getBankAccountOptions as Oe, getBankAccountQueryKey as ke, getBankAccountTransactionsOptions as Ae, getBankAccountTransfersOptions as je, getBankAccountTransfersQueryKey as Me, getBankAccountsQueryKey as Ne, getCounterpartsIdAddressesOptions as Pe, getCounterpartsIdAddressesQueryKey as Fe, getCounterpartsIdBankAccountsOptions as Ie, getCounterpartsIdBankAccountsQueryKey as Le, getCounterpartsIdOptions as Re, getCounterpartsIdQueryKey as ze, getCounterpartsOptions as Be, getCounterpartsQueryKey as Ve, getCreditCardByIdOptions as He, getCreditCardsOptions as Ue, getDebitCardByIdOptions as We, getDebitCardsOptions as Ge, getDepartmentOptions as Ke, getDepartmentQueryKey as qe, getEntitiesIdSettingsOptions as Je, getEntitiesIdSettingsQueryKey as Ye, getEntitiesMeOptions as Xe, getEntityUsersMyEntityOptions as Ze, getEntityUsersOptions as Qe, getExternalBankAccountAccessQueryKey as $e, getExternalBankAccountsOptions as et, getExternalBankAccountsQueryKey as tt, getLedgerAccountsQueryKey as nt, getLocationOptions as rt, getLocationQueryKey as it, getMeasureUnitsOptions as at, getMeasureUnitsQueryKey as ot, getPayablesOptions as st, getProductsIdOptions as ct, getProductsIdQueryKey as lt, getProductsOptions as ut, getProductsQueryKey as dt, getReceiptsIdQueryKey as ft, getReceiptsOptions as pt, getReceiptsQueryKey as mt, getReceivablesIdHistoryOptions as ht, getReceivablesIdHistoryQueryKey as gt, getReceivablesIdMailsOptions as _t, getReceivablesIdMailsQueryKey as vt, getReceivablesIdOptions as yt, getReceivablesIdPdfLinkOptions as bt, getReceivablesIdPdfLinkQueryKey as xt, getReceivablesIdQueryKey as St, getReceivablesOptions as Ct, getReceivablesQueryKey as wt, getTagsOptions as Tt, getTagsQueryKey as Et, getTransactionsIdQueryKey as Dt, getTransactionsOptions as Ot, getTransactionsQueryKey as kt, getTransactionsValidationsOptions as At, getTransactionsValidationsQueryKey as jt, getUsersOptions as Mt, getUsersQueryKey as Nt, grantBankAccountAccessMutation as Pt, grantExternalBankAccountAccessMutation as Ft, linkExternalBankAccountMutation as It, listDepartmentsOptions as Lt, listDepartmentsQueryKey as Rt, listLocationsOptions as zt, listLocationsQueryKey as Bt, listRolesQueryKey as Vt, patchApprovalPoliciesIdMutation as Ht, patchEntitiesIdSettingsMutation as Ut, patchLedgerAccountsIdMutation as Wt, patchReceiptsIdMutation as Gt, postApprovalPoliciesMutation as Kt, postLedgerAccountsMutation as qt, putTransactionsValidationsMutation as Jt, submitApplicationMutation as Yt, unlinkExternalBankAccountMutation as Xt, updateApplicationMutation as Zt, updateBankAccountMutation as Qt, updateExternalBankAccountMutation as $t, validateExternalBankAccountMutation as en } from "./lib/rest/@tanstack/react-query.gen.js";
7
+ import { bulkUpdateDepartmentMembers as u, bulkUpdateLocationMembers as d, bulkUpdateRoleMembers as f, createDepartment as p, createLocation as m, createUser as h, deactivateDepartment as g, deactivateLocation as _, deleteCounterpartsId as v, deleteCounterpartsIdBankAccountsId as y, deleteMeasureUnitsId as b, deleteProductsId as x, deleteReceivablesId as S, deleteTagsId as C, downloadBankAccountTransactions as w, getApplicationStatus as T, getApprovalPolicies as E, getBankAccountAccess as D, getDepartment as O, getDisclosures as k, getExternalBankAccountAccess as A, getLocation as j, getUsers as M, listDepartments as N, listLocations as P, listRoles as F, manageBankAccountAccess as I, patchCounterpartsId as L, patchCounterpartsIdAddressesId as R, patchCounterpartsIdBankAccountsId as z, patchMeasureUnitsId as B, patchProductsId as V, patchReceivablesId as H, patchTagsId as U, postApiWidgetGatewayDisclosureAcceptance as W, postCounterparts as G, postCounterpartsIdAddresses as K, postCounterpartsIdBankAccounts as q, postCounterpartsIdBankAccountsIdMakeDefault as J, postMeasureUnits as Y, postProducts as X, postReceivables as Z, postReceivablesIdAccept as Q, postReceivablesIdCancel as $, postReceivablesIdClone as ee, postReceivablesIdDecline as te, postReceivablesIdIssue as ne, postReceivablesIdMarkAsPaid as re, postReceivablesIdMarkAsPartiallyPaid as ie, postReceivablesIdMarkAsUncollectible as ae, postReceivablesIdSend as oe, postTags as se, putReceivablesIdLineItems as ce, updateDepartment as le, updateLocation as ue, updateUser as de } from "./lib/rest/sdk.gen.js";
8
+ import { fetchWidgetInit as fe } from "./lib/fetchWidgetInit.js";
9
+ import { hasAnyScope as pe } from "./lib/hasAnyScope.js";
10
+ import { connectExternalBankAccountMutation as me, createAchMoneyMovementMutation as he, createApplicationMutation as ge, createBankAccountMutation as _e, createBookTransferMutation as ve, deleteApprovalPoliciesIdMutation as ye, deleteLedgerAccountsIdMutation as be, deleteReceiptsIdMutation as xe, disableUserMutation as Se, getAnalyticsPayablesOptions as Ce, getAnalyticsReceivablesOptions as we, getApplicationStatusOptions as Te, getApprovalPoliciesOptions as Ee, getApprovalPoliciesQueryKey as De, getBankAccountAccessQueryKey as Oe, getBankAccountOptions as ke, getBankAccountQueryKey as Ae, getBankAccountTransactionsOptions as je, getBankAccountTransfersOptions as Me, getBankAccountTransfersQueryKey as Ne, getBankAccountsQueryKey as Pe, getCounterpartsIdAddressesOptions as Fe, getCounterpartsIdAddressesQueryKey as Ie, getCounterpartsIdBankAccountsOptions as Le, getCounterpartsIdBankAccountsQueryKey as Re, getCounterpartsIdOptions as ze, getCounterpartsIdQueryKey as Be, getCounterpartsOptions as Ve, getCounterpartsQueryKey as He, getCreditCardByIdOptions as Ue, getCreditCardsOptions as We, getDebitCardByIdOptions as Ge, getDebitCardsOptions as Ke, getDepartmentOptions as qe, getDepartmentQueryKey as Je, getEntitiesIdSettingsOptions as Ye, getEntitiesIdSettingsQueryKey as Xe, getEntitiesMeOptions as Ze, getEntityUsersMyEntityOptions as Qe, getEntityUsersOptions as $e, getExternalBankAccountAccessQueryKey as et, getExternalBankAccountsOptions as tt, getExternalBankAccountsQueryKey as nt, getLedgerAccountsQueryKey as rt, getLocationOptions as it, getLocationQueryKey as at, getMeasureUnitsOptions as ot, getMeasureUnitsQueryKey as st, getPayablesOptions as ct, getProductsIdOptions as lt, getProductsIdQueryKey as ut, getProductsOptions as dt, getProductsQueryKey as ft, getReceiptsIdQueryKey as pt, getReceiptsOptions as mt, getReceiptsQueryKey as ht, getReceivablesIdHistoryOptions as gt, getReceivablesIdHistoryQueryKey as _t, getReceivablesIdMailsOptions as vt, getReceivablesIdMailsQueryKey as yt, getReceivablesIdOptions as bt, getReceivablesIdPdfLinkOptions as xt, getReceivablesIdPdfLinkQueryKey as St, getReceivablesIdQueryKey as Ct, getReceivablesOptions as wt, getReceivablesQueryKey as Tt, getTagsOptions as Et, getTagsQueryKey as Dt, getTransactionsIdQueryKey as Ot, getTransactionsOptions as kt, getTransactionsQueryKey as At, getTransactionsValidationsOptions as jt, getTransactionsValidationsQueryKey as Mt, getUsersOptions as Nt, getUsersQueryKey as Pt, grantBankAccountAccessMutation as Ft, grantExternalBankAccountAccessMutation as It, linkExternalBankAccountMutation as Lt, listDepartmentsOptions as Rt, listDepartmentsQueryKey as zt, listLocationsOptions as Bt, listLocationsQueryKey as Vt, listRolesQueryKey as Ht, patchApprovalPoliciesIdMutation as Ut, patchEntitiesIdSettingsMutation as Wt, patchLedgerAccountsIdMutation as Gt, patchReceiptsIdMutation as Kt, postApprovalPoliciesMutation as qt, postLedgerAccountsMutation as Jt, putTransactionsValidationsMutation as Yt, submitApplicationMutation as Xt, unlinkExternalBankAccountMutation as Zt, updateApplicationMutation as Qt, updateBankAccountMutation as $t, updateExternalBankAccountMutation as en, validateExternalBankAccountMutation as tn } from "./lib/rest/@tanstack/react-query.gen.js";
11
11
  import "./lib/queryKeys.js";
12
- import { withAuthEpoch as tn } from "./lib/withAuthEpoch.js";
13
- import { useCurrentUserQuery as nn } from "./lib/useCurrentUserQuery.js";
14
- import { isApiNotFoundError as rn } from "./lib/isApiNotFoundError.js";
12
+ import { withAuthEpoch as nn } from "./lib/withAuthEpoch.js";
13
+ import { useCurrentUserQuery as rn } from "./lib/useCurrentUserQuery.js";
14
+ import { isApiNotFoundError as an } from "./lib/isApiNotFoundError.js";
15
15
  import "./lib/isUserDataNotFoundError.js";
16
- import { useGetUserDataQuery as an } from "./lib/useGetUserDataQuery.js";
17
- import { useUpsertUserDataMutation as on } from "./lib/useUpsertUserDataMutation.js";
16
+ import { useGetUserDataQuery as on } from "./lib/useGetUserDataQuery.js";
17
+ import { useUpsertUserDataMutation as sn } from "./lib/useUpsertUserDataMutation.js";
18
18
  import "./lib/rest/zod.gen.js";
19
- import { Scope as sn } from "./lib/scopes.js";
20
- import { getAllPagesNextPageParam as cn, getAllPagesNextPaginationTokenParam as ln, isAllPagesResolving as un, useAutoFetchNextPage as dn } from "./lib/allPages.js";
21
- import { useAllBankAccountsQuery as fn } from "./lib/bank-account/useAllBankAccountsQuery.js";
22
- import { useAllExternalBankAccountsQuery as pn } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
23
- import { useLedgerAccountsQuery as mn } from "./lib/reference-data/useLedgerAccountsQuery.js";
24
- import { usePaymentTermsQuery as hn } from "./lib/reference-data/usePaymentTermsQuery.js";
25
- import { useAllOrganizationRolesQuery as gn } from "./lib/role/useAllOrganizationRolesQuery.js";
26
- import { useRolePermissionsQueries as _n } from "./lib/role/useRolePermissionsQueries.js";
27
- import { useAllOrganizationUsersQuery as vn } from "./lib/user/useAllOrganizationUsersQuery.js";
28
- export { o as EmbedApiProvider, sn as Scope, fe as acceptDisclosuresMutation, u as bulkUpdateDepartmentMembers, d as bulkUpdateLocationMembers, f as bulkUpdateRoleMembers, i as cloneEmbeddedClient, pe as connectExternalBankAccountMutation, me as createAchMoneyMovementMutation, he as createApplicationMutation, ge as createBankAccountMutation, _e as createBookTransferMutation, p as createDepartment, a as createEmbeddedClient, m as createLocation, h as createUser, g as deactivateDepartment, _ as deactivateLocation, ve as deleteApprovalPoliciesIdMutation, v as deleteCounterpartsId, y as deleteCounterpartsIdBankAccountsId, ye as deleteLedgerAccountsIdMutation, b as deleteMeasureUnitsId, x as deleteProductsId, be as deleteReceiptsIdMutation, S as deleteReceivablesId, C as deleteTagsId, xe as disableUserMutation, w as downloadBankAccountTransactions, ue as fetchWidgetInit, cn as getAllPagesNextPageParam, ln as getAllPagesNextPaginationTokenParam, Se as getAnalyticsPayablesOptions, Ce as getAnalyticsReceivablesOptions, T as getApplicationStatus, we as getApplicationStatusOptions, E as getApprovalPolicies, Te as getApprovalPoliciesOptions, Ee as getApprovalPoliciesQueryKey, D as getBankAccountAccess, De as getBankAccountAccessQueryKey, Oe as getBankAccountOptions, ke as getBankAccountQueryKey, Ae as getBankAccountTransactionsOptions, je as getBankAccountTransfersOptions, Me as getBankAccountTransfersQueryKey, Ne as getBankAccountsQueryKey, Pe as getCounterpartsIdAddressesOptions, Fe as getCounterpartsIdAddressesQueryKey, Ie as getCounterpartsIdBankAccountsOptions, Le as getCounterpartsIdBankAccountsQueryKey, Re as getCounterpartsIdOptions, ze as getCounterpartsIdQueryKey, Be as getCounterpartsOptions, Ve as getCounterpartsQueryKey, He as getCreditCardByIdOptions, Ue as getCreditCardsOptions, We as getDebitCardByIdOptions, Ge as getDebitCardsOptions, O as getDepartment, Ke as getDepartmentOptions, qe as getDepartmentQueryKey, Je as getEntitiesIdSettingsOptions, Ye as getEntitiesIdSettingsQueryKey, Xe as getEntitiesMeOptions, Ze as getEntityUsersMyEntityOptions, Qe as getEntityUsersOptions, k as getExternalBankAccountAccess, $e as getExternalBankAccountAccessQueryKey, et as getExternalBankAccountsOptions, tt as getExternalBankAccountsQueryKey, nt as getLedgerAccountsQueryKey, A as getLocation, rt as getLocationOptions, it as getLocationQueryKey, at as getMeasureUnitsOptions, ot as getMeasureUnitsQueryKey, st as getPayablesOptions, ct as getProductsIdOptions, lt as getProductsIdQueryKey, ut as getProductsOptions, dt as getProductsQueryKey, ft as getReceiptsIdQueryKey, pt as getReceiptsOptions, mt as getReceiptsQueryKey, ht as getReceivablesIdHistoryOptions, gt as getReceivablesIdHistoryQueryKey, _t as getReceivablesIdMailsOptions, vt as getReceivablesIdMailsQueryKey, yt as getReceivablesIdOptions, bt as getReceivablesIdPdfLinkOptions, xt as getReceivablesIdPdfLinkQueryKey, St as getReceivablesIdQueryKey, Ct as getReceivablesOptions, wt as getReceivablesQueryKey, Tt as getTagsOptions, Et as getTagsQueryKey, Dt as getTransactionsIdQueryKey, Ot as getTransactionsOptions, kt as getTransactionsQueryKey, At as getTransactionsValidationsOptions, jt as getTransactionsValidationsQueryKey, j as getUsers, Mt as getUsersOptions, Nt as getUsersQueryKey, Pt as grantBankAccountAccessMutation, Ft as grantExternalBankAccountAccessMutation, de as hasAnyScope, e as invalidateAllClients, un as isAllPagesResolving, rn as isApiNotFoundError, It as linkExternalBankAccountMutation, M as listDepartments, Lt as listDepartmentsOptions, Rt as listDepartmentsQueryKey, N as listLocations, zt as listLocationsOptions, Bt as listLocationsQueryKey, P as listRoles, Vt as listRolesQueryKey, F as manageBankAccountAccess, c as optionalOrganizationHeaders, l as organizationHeaders, Ht as patchApprovalPoliciesIdMutation, I as patchCounterpartsId, L as patchCounterpartsIdAddressesId, R as patchCounterpartsIdBankAccountsId, Ut as patchEntitiesIdSettingsMutation, Wt as patchLedgerAccountsIdMutation, z as patchMeasureUnitsId, B as patchProductsId, Gt as patchReceiptsIdMutation, V as patchReceivablesId, H as patchTagsId, Kt as postApprovalPoliciesMutation, U as postCounterparts, W as postCounterpartsIdAddresses, G as postCounterpartsIdBankAccounts, K as postCounterpartsIdBankAccountsIdMakeDefault, qt as postLedgerAccountsMutation, q as postMeasureUnits, J as postProducts, Y as postReceivables, X as postReceivablesIdAccept, Z as postReceivablesIdCancel, Q as postReceivablesIdClone, $ as postReceivablesIdDecline, ee as postReceivablesIdIssue, te as postReceivablesIdMarkAsPaid, ne as postReceivablesIdMarkAsPartiallyPaid, re as postReceivablesIdMarkAsUncollectible, ie as postReceivablesIdSend, ae as postTags, oe as putReceivablesIdLineItems, Jt as putTransactionsValidationsMutation, t as registerQueryClient, n as setAllClientsQueriesData, Yt as submitApplicationMutation, Xt as unlinkExternalBankAccountMutation, r as unregisterQueryClient, Zt as updateApplicationMutation, Qt as updateBankAccountMutation, se as updateDepartment, $t as updateExternalBankAccountMutation, ce as updateLocation, le as updateUser, fn as useAllBankAccountsQuery, pn as useAllExternalBankAccountsQuery, gn as useAllOrganizationRolesQuery, vn as useAllOrganizationUsersQuery, dn as useAutoFetchNextPage, nn as useCurrentUserQuery, s as useEmbedApi, an as useGetUserDataQuery, mn as useLedgerAccountsQuery, hn as usePaymentTermsQuery, _n as useRolePermissionsQueries, on as useUpsertUserDataMutation, en as validateExternalBankAccountMutation, tn as withAuthEpoch };
19
+ import { Scope as cn } from "./lib/scopes.js";
20
+ import { getAllPagesNextPageParam as ln, getAllPagesNextPaginationTokenParam as un, isAllPagesResolving as dn, useAutoFetchNextPage as fn } from "./lib/allPages.js";
21
+ import { useAllBankAccountsQuery as pn } from "./lib/bank-account/useAllBankAccountsQuery.js";
22
+ import { useAllExternalBankAccountsQuery as mn } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
23
+ import { useLedgerAccountsQuery as hn } from "./lib/reference-data/useLedgerAccountsQuery.js";
24
+ import { usePaymentTermsQuery as gn } from "./lib/reference-data/usePaymentTermsQuery.js";
25
+ import { useAllOrganizationRolesQuery as _n } from "./lib/role/useAllOrganizationRolesQuery.js";
26
+ import { useRolePermissionsQueries as vn } from "./lib/role/useRolePermissionsQueries.js";
27
+ import { useAllOrganizationUsersQuery as yn } from "./lib/user/useAllOrganizationUsersQuery.js";
28
+ export { o as EmbedApiProvider, cn as Scope, u as bulkUpdateDepartmentMembers, d as bulkUpdateLocationMembers, f as bulkUpdateRoleMembers, i as cloneEmbeddedClient, me as connectExternalBankAccountMutation, he as createAchMoneyMovementMutation, ge as createApplicationMutation, _e as createBankAccountMutation, ve as createBookTransferMutation, p as createDepartment, a as createEmbeddedClient, m as createLocation, h as createUser, g as deactivateDepartment, _ as deactivateLocation, ye as deleteApprovalPoliciesIdMutation, v as deleteCounterpartsId, y as deleteCounterpartsIdBankAccountsId, be as deleteLedgerAccountsIdMutation, b as deleteMeasureUnitsId, x as deleteProductsId, xe as deleteReceiptsIdMutation, S as deleteReceivablesId, C as deleteTagsId, Se as disableUserMutation, w as downloadBankAccountTransactions, fe as fetchWidgetInit, ln as getAllPagesNextPageParam, un as getAllPagesNextPaginationTokenParam, Ce as getAnalyticsPayablesOptions, we as getAnalyticsReceivablesOptions, T as getApplicationStatus, Te as getApplicationStatusOptions, E as getApprovalPolicies, Ee as getApprovalPoliciesOptions, De as getApprovalPoliciesQueryKey, D as getBankAccountAccess, Oe as getBankAccountAccessQueryKey, ke as getBankAccountOptions, Ae as getBankAccountQueryKey, je as getBankAccountTransactionsOptions, Me as getBankAccountTransfersOptions, Ne as getBankAccountTransfersQueryKey, Pe as getBankAccountsQueryKey, Fe as getCounterpartsIdAddressesOptions, Ie as getCounterpartsIdAddressesQueryKey, Le as getCounterpartsIdBankAccountsOptions, Re as getCounterpartsIdBankAccountsQueryKey, ze as getCounterpartsIdOptions, Be as getCounterpartsIdQueryKey, Ve as getCounterpartsOptions, He as getCounterpartsQueryKey, Ue as getCreditCardByIdOptions, We as getCreditCardsOptions, Ge as getDebitCardByIdOptions, Ke as getDebitCardsOptions, O as getDepartment, qe as getDepartmentOptions, Je as getDepartmentQueryKey, k as getDisclosures, Ye as getEntitiesIdSettingsOptions, Xe as getEntitiesIdSettingsQueryKey, Ze as getEntitiesMeOptions, Qe as getEntityUsersMyEntityOptions, $e as getEntityUsersOptions, A as getExternalBankAccountAccess, et as getExternalBankAccountAccessQueryKey, tt as getExternalBankAccountsOptions, nt as getExternalBankAccountsQueryKey, rt as getLedgerAccountsQueryKey, j as getLocation, it as getLocationOptions, at as getLocationQueryKey, ot as getMeasureUnitsOptions, st as getMeasureUnitsQueryKey, ct as getPayablesOptions, lt as getProductsIdOptions, ut as getProductsIdQueryKey, dt as getProductsOptions, ft as getProductsQueryKey, pt as getReceiptsIdQueryKey, mt as getReceiptsOptions, ht as getReceiptsQueryKey, gt as getReceivablesIdHistoryOptions, _t as getReceivablesIdHistoryQueryKey, vt as getReceivablesIdMailsOptions, yt as getReceivablesIdMailsQueryKey, bt as getReceivablesIdOptions, xt as getReceivablesIdPdfLinkOptions, St as getReceivablesIdPdfLinkQueryKey, Ct as getReceivablesIdQueryKey, wt as getReceivablesOptions, Tt as getReceivablesQueryKey, Et as getTagsOptions, Dt as getTagsQueryKey, Ot as getTransactionsIdQueryKey, kt as getTransactionsOptions, At as getTransactionsQueryKey, jt as getTransactionsValidationsOptions, Mt as getTransactionsValidationsQueryKey, M as getUsers, Nt as getUsersOptions, Pt as getUsersQueryKey, Ft as grantBankAccountAccessMutation, It as grantExternalBankAccountAccessMutation, pe as hasAnyScope, e as invalidateAllClients, dn as isAllPagesResolving, an as isApiNotFoundError, Lt as linkExternalBankAccountMutation, N as listDepartments, Rt as listDepartmentsOptions, zt as listDepartmentsQueryKey, P as listLocations, Bt as listLocationsOptions, Vt as listLocationsQueryKey, F as listRoles, Ht as listRolesQueryKey, I as manageBankAccountAccess, c as optionalOrganizationHeaders, l as organizationHeaders, Ut as patchApprovalPoliciesIdMutation, L as patchCounterpartsId, R as patchCounterpartsIdAddressesId, z as patchCounterpartsIdBankAccountsId, Wt as patchEntitiesIdSettingsMutation, Gt as patchLedgerAccountsIdMutation, B as patchMeasureUnitsId, V as patchProductsId, Kt as patchReceiptsIdMutation, H as patchReceivablesId, U as patchTagsId, W as postApiWidgetGatewayDisclosureAcceptance, qt as postApprovalPoliciesMutation, G as postCounterparts, K as postCounterpartsIdAddresses, q as postCounterpartsIdBankAccounts, J as postCounterpartsIdBankAccountsIdMakeDefault, Jt as postLedgerAccountsMutation, Y as postMeasureUnits, X as postProducts, Z as postReceivables, Q as postReceivablesIdAccept, $ as postReceivablesIdCancel, ee as postReceivablesIdClone, te as postReceivablesIdDecline, ne as postReceivablesIdIssue, re as postReceivablesIdMarkAsPaid, ie as postReceivablesIdMarkAsPartiallyPaid, ae as postReceivablesIdMarkAsUncollectible, oe as postReceivablesIdSend, se as postTags, ce as putReceivablesIdLineItems, Yt as putTransactionsValidationsMutation, t as registerQueryClient, n as setAllClientsQueriesData, Xt as submitApplicationMutation, Zt as unlinkExternalBankAccountMutation, r as unregisterQueryClient, Qt as updateApplicationMutation, $t as updateBankAccountMutation, le as updateDepartment, en as updateExternalBankAccountMutation, ue as updateLocation, de as updateUser, pn as useAllBankAccountsQuery, mn as useAllExternalBankAccountsQuery, _n as useAllOrganizationRolesQuery, yn as useAllOrganizationUsersQuery, fn as useAutoFetchNextPage, rn as useCurrentUserQuery, s as useEmbedApi, on as useGetUserDataQuery, hn as useLedgerAccountsQuery, gn as usePaymentTermsQuery, vn as useRolePermissionsQueries, sn as useUpsertUserDataMutation, tn as validateExternalBankAccountMutation, nn as withAuthEpoch };
@@ -1,3 +1,7 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
1
5
  import { client as e } from "./rest/client.gen.js";
2
6
  import { createContext as t, useContext as n, useMemo as r } from "react";
3
7
  import { jsx as i } from "react/jsx-runtime";