@tesouro/embedded-components-react 0.5.182 → 0.5.183

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 (23) hide show
  1. package/dist/index.css +6 -0
  2. package/dist/index.d.ts +30 -1
  3. package/dist/lib/BankAccountOnboardingWidget.d.ts +30 -1
  4. package/dist/lib/WidgetSuite.d.ts +30 -1
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +5 -4
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +3 -32
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +24 -33
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index12.js +44 -0
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +13 -36
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +43 -3
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +4 -0
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index23.js +3 -0
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index25.js +339 -301
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index.js +3 -1
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js +11 -0
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js +64 -0
  17. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +34 -34
  18. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +188 -181
  19. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +162 -154
  20. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +67 -55
  22. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/labels.js +1 -0
  23. package/package.json +1 -1
@@ -13,4 +13,6 @@ import { AboutYouPanel as u } from "./index23.js";
13
13
  import { BusinessDisclosuresSection as d } from "./index24.js";
14
14
  import "./index25.js";
15
15
  import { UnsavedApplicationDialog as f } from "./index26.js";
16
- export { l as ABOUT_YOU_PANEL_LABELS_EN, e as ADDITIONAL_OWNERS_LABELS_EN, u as AboutYouPanel, t as AdditionalOwnersForm, n as BUSINESS_DETAILS_LABELS_EN, s as BUSINESS_DETAILS_PANEL_LABELS_EN, c as BusinessDetailsPanel, d as BusinessDisclosuresSection, i as PERSONAL_DETAILS_LABELS_EN, o as RESULT_LABELS_EN, a as ResultStep, f as UnsavedApplicationDialog, r as interpolateBankName };
16
+ import "./index27.js";
17
+ import { DeleteApplicationDialog as p } from "./index28.js";
18
+ export { l as ABOUT_YOU_PANEL_LABELS_EN, e as ADDITIONAL_OWNERS_LABELS_EN, u as AboutYouPanel, t as AdditionalOwnersForm, n as BUSINESS_DETAILS_LABELS_EN, s as BUSINESS_DETAILS_PANEL_LABELS_EN, c as BusinessDetailsPanel, d as BusinessDisclosuresSection, p as DeleteApplicationDialog, i as PERSONAL_DETAILS_LABELS_EN, o as RESULT_LABELS_EN, a as ResultStep, f as UnsavedApplicationDialog, r as interpolateBankName };
@@ -0,0 +1,11 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index27.js
2
+ var e = {
3
+ title: "Delete this application?",
4
+ descriptionBeforeEmphasis: "Everything you've entered so far will be permanently removed. If you'd rather come back later, use ",
5
+ descriptionEmphasis: "Save and close",
6
+ descriptionAfterEmphasis: " instead.",
7
+ keepEditingButton: "Keep editing",
8
+ deleteButton: "Delete application"
9
+ };
10
+ //#endregion
11
+ export { e as DELETE_APPLICATION_DIALOG_LABELS_EN };
@@ -0,0 +1,64 @@
1
+ import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { DELETE_APPLICATION_DIALOG_LABELS_EN as s } from "./index27.js";
3
+ import { useRef as c } from "react";
4
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
5
+ import { Trash2Icon as d } from "lucide-react";
6
+ //#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index28.js
7
+ function f({ open: f, onConfirm: p, onCancel: m, isDeleting: h = !1, labels: g, testIds: _ }) {
8
+ let v = {
9
+ ...s,
10
+ ...g
11
+ }, y = c(null);
12
+ return /* @__PURE__ */ l(e, {
13
+ open: f,
14
+ onOpenChange: (e) => {
15
+ !e && !h && m();
16
+ },
17
+ children: /* @__PURE__ */ u(t, {
18
+ "data-testid": _?.root,
19
+ onOpenAutoFocus: (e) => {
20
+ e.preventDefault(), y.current?.focus();
21
+ },
22
+ children: [/* @__PURE__ */ u(i, {
23
+ className: "ttw:items-center ttw:text-center ttw:sm:items-center ttw:sm:text-center",
24
+ children: [
25
+ /* @__PURE__ */ l("div", {
26
+ className: "ttw:flex ttw:size-14 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-destructive/10",
27
+ "aria-hidden": !0,
28
+ children: /* @__PURE__ */ l(d, { className: "ttw:size-6 ttw:text-destructive" })
29
+ }),
30
+ /* @__PURE__ */ l(a, { children: v.title }),
31
+ /* @__PURE__ */ u(n, { children: [
32
+ v.descriptionBeforeEmphasis,
33
+ /* @__PURE__ */ l("strong", {
34
+ className: "ttw:font-semibold ttw:text-foreground",
35
+ children: v.descriptionEmphasis
36
+ }),
37
+ v.descriptionAfterEmphasis
38
+ ] })
39
+ ]
40
+ }), /* @__PURE__ */ u(r, {
41
+ className: "ttw:sm:justify-center",
42
+ children: [/* @__PURE__ */ l(o, {
43
+ ref: y,
44
+ type: "button",
45
+ variant: "outline",
46
+ onClick: m,
47
+ disabled: h,
48
+ "data-testid": _?.cancel,
49
+ children: v.keepEditingButton
50
+ }), /* @__PURE__ */ l(o, {
51
+ type: "button",
52
+ variant: "destructive",
53
+ loading: h,
54
+ disabled: h,
55
+ onClick: p,
56
+ "data-testid": _?.confirm,
57
+ children: v.deleteButton
58
+ })]
59
+ })]
60
+ })
61
+ });
62
+ }
63
+ //#endregion
64
+ export { s as DELETE_APPLICATION_DIALOG_LABELS_EN, f as DeleteApplicationDialog };
@@ -1,42 +1,42 @@
1
1
  import "./lib/finopsApiVersion.js";
2
2
  import "./lib/rest/client.gen.js";
3
3
  import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, downloadBankAccountTransactions as g, getApplicationStatus as _, getApprovalPolicies as v, getApprovalRequests as y, getBankAccountAccess as b, getBankAccountStatement as x, getCounterparts as S, getDepartment as C, getDepositableBankAccounts as w, getExternalBankAccountAccess as T, getLocation as E, getPayables as D, getPayablesId as O, getPayablesIdHistory as k, getPayablesIdLineItems as A, getPaymentRecords as j, getReceivables as M, getUsers as N, listDepartments as P, listLocations as F, listRoles as I, manageBankAccountAccess as L, patchCounterpartsId as R, patchCounterpartsIdAddressesId as z, patchCounterpartsIdBankAccountsId as B, patchEntitiesIdSettings as V, patchMeasureUnitsId as H, patchPayablesId as U, patchProductsId as W, patchReceivablesId as G, postApprovalRequestsIdApprove as K, postApprovalRequestsIdReject as q, postCounterparts as J, postCounterpartsIdAddresses as Y, postCounterpartsIdBankAccounts as X, postCounterpartsIdBankAccountsIdMakeDefault as Z, postMeasureUnits as Q, postPayables as $, postPayablesIdApprovePaymentOperation as ee, postPayablesIdAttachFile as te, postPayablesIdCancel as ne, postPayablesIdDuplicatesIdConfirm as re, postPayablesIdDuplicatesIdDismiss as ie, postPayablesIdMarkAsPaid as ae, postPayablesIdReject as oe, postPayablesIdReopen as se, postPayablesIdSchedulePayment as ce, postPayablesIdSubmitForApproval as le, postPayablesIdValidate as ue, postPayablesUploadFromFile as de, postPaymentIntentsIdCancel as fe, postProducts as pe, postReceivables as me, postReceivablesIdAccept as he, postReceivablesIdCancel as ge, postReceivablesIdClone as _e, postReceivablesIdDecline as ve, postReceivablesIdIssue as ye, postReceivablesIdMarkAsPaid as be, postReceivablesIdMarkAsPartiallyPaid as xe, postReceivablesIdMarkAsUncollectible as Se, postReceivablesIdSend as Ce, putEntitiesIdLogo as we, putPayablesIdLineItems as Te, updateDepartment as Ee, updateLocation as De, updateUser as Oe } from "./lib/rest/sdk.gen.js";
4
- import { activateCreditCardMutation as ke, activateDebitCardMutation as Ae, connectExternalBankAccountMutation as je, createAchMoneyMovementMutation as Me, createApplicationMutation as Ne, createBankAccountMutation as Pe, createBookTransferMutation as Fe, createCheckDepositMutation as Ie, createDebitCardMutation as Le, createVelocityControlMutation as Re, deleteApprovalPoliciesIdMutation as ze, deleteLedgerAccountsIdMutation as Be, deleteReceiptsIdMutation as Ve, disableUserMutation as He, getAnalyticsPayablesOptions as Ue, getAnalyticsPayablesQueryKey as We, getAnalyticsReceivablesOptions as Ge, getApprovalPoliciesOptions as Ke, getApprovalPoliciesQueryKey as qe, getApprovalRequestsOptions as Je, getApprovalRequestsQueryKey as Ye, getBankAccountAccessQueryKey as Xe, getBankAccountApplicationOptions as Ze, getBankAccountOptions as Qe, getBankAccountQueryKey as $e, getBankAccountStatementsOptions as et, getBankAccountTransactionsOptions as tt, getBankAccountTransactionsQueryKey as nt, getBankAccountTransfersOptions as rt, getBankAccountTransfersQueryKey as it, getBankAccountsQueryKey as at, getCounterpartsIdAddressesOptions as ot, getCounterpartsIdAddressesQueryKey as st, getCounterpartsIdBankAccountsOptions as ct, getCounterpartsIdBankAccountsQueryKey as lt, getCounterpartsIdOptions as ut, getCounterpartsIdQueryKey as dt, getCounterpartsOptions as ft, getCounterpartsQueryKey as pt, getCreditCardByIdOptions as mt, getCreditCardByIdQueryKey as ht, getCreditCardsOptions as gt, getCreditCardsQueryKey as _t, getDebitCardByIdOptions as vt, getDebitCardByIdQueryKey as yt, getDebitCardCredentialsOptions as bt, getDebitCardsOptions as xt, getDebitCardsQueryKey as St, getDepartmentOptions as Ct, getDepartmentQueryKey as wt, getDepositableBankAccountsOptions as Tt, getDocumentsIdNextNumbersOptions as Et, getDocumentsIdNextNumbersQueryKey as Dt, getEntitiesIdSettingsOptions as Ot, getEntitiesIdSettingsQueryKey as kt, getEntityUsersMyEntityOptions as At, getEntityUsersMyEntityQueryKey as jt, getExternalBankAccountAccessQueryKey as Mt, getExternalBankAccountsOptions as Nt, getExternalBankAccountsQueryKey as Pt, getLedgerAccountsQueryKey as Ft, getLocationOptions as It, getLocationQueryKey as Lt, getMeasureUnitsOptions as Rt, getMeasureUnitsQueryKey as zt, getOrganizationOptions as Bt, getPayablesIdHistoryOptions as Vt, getPayablesIdHistoryQueryKey as Ht, getPayablesIdLineItemsOptions as Ut, getPayablesIdLineItemsQueryKey as Wt, getPayablesIdOptions as Gt, getPayablesIdQueryKey as Kt, getPayablesIdSuggestionsOptions as qt, getPayablesOptions as Jt, getPayablesQueryKey as Yt, getPaymentRecordsOptions as Xt, getPaymentRecordsQueryKey as Zt, getProductsIdOptions as Qt, getProductsIdQueryKey as $t, getProductsOptions as en, getProductsQueryKey as tn, getReceiptsIdQueryKey as nn, getReceiptsOptions as rn, getReceiptsQueryKey as an, getReceivablesIdHistoryOptions as on, getReceivablesIdHistoryQueryKey as sn, getReceivablesIdMailsOptions as cn, getReceivablesIdMailsQueryKey as ln, getReceivablesIdOptions as un, getReceivablesIdPdfLinkOptions as dn, getReceivablesIdPdfLinkQueryKey as fn, getReceivablesIdQueryKey as pn, getReceivablesOptions as mn, getReceivablesQueryKey as hn, getTransactionsIdQueryKey as gn, getTransactionsOptions as _n, getTransactionsQueryKey as vn, getTransactionsValidationsOptions as yn, getTransactionsValidationsQueryKey as bn, getUsersOptions as xn, getUsersQueryKey as Sn, getVelocityControlsQueryKey as Cn, grantBankAccountAccessMutation as wn, grantExternalBankAccountAccessMutation as Tn, linkExternalBankAccountMutation as En, listDepartmentsOptions as Dn, listDepartmentsQueryKey as On, listLocationsOptions as kn, listLocationsQueryKey as An, listRolesQueryKey as jn, manageDebitCardAccessMutation as Mn, patchApprovalPoliciesIdMutation as Nn, patchLedgerAccountsIdMutation as Pn, patchReceiptsIdMutation as Fn, postApprovalPoliciesMutation as In, postLedgerAccountsMutation as Ln, putTransactionsValidationsMutation as Rn, setDebitCardLockStatusMutation as zn, submitApplicationMutation as Bn, unlinkExternalBankAccountMutation as Vn, updateApplicationMutation as Hn, updateBankAccountMutation as Un, updateDebitCardMutation as Wn, updateExternalBankAccountMutation as Gn, validateExternalBankAccountMutation as Kn, verifyDebitCardMutation as qn } from "./lib/rest/@tanstack/react-query.gen.js";
5
- import { authEpochPlaceholder as Jn, withAuthEpoch as Yn } from "./lib/withAuthEpoch.js";
6
- import { applicationStatusInvalidationKey as Xn, applicationStatusQueryOptions as Zn } from "./lib/applicationStatusQueryOptions.js";
7
- import { createClientSecretInstaller as Qn } from "./lib/scopedClientSecret.js";
8
- import { cancelAllClients as $n, invalidateAllClients as er, registerQueryClient as tr, removeInactiveFromAllClients as nr, setAllClientsQueriesData as rr, unregisterQueryClient as ir } from "./lib/clientRegistry.js";
9
- import { cloneEmbeddedClient as ar, createEmbeddedClient as or } from "./lib/createEmbeddedClient.js";
4
+ import { activateCreditCardMutation as ke, activateDebitCardMutation as Ae, connectExternalBankAccountMutation as je, createAchMoneyMovementMutation as Me, createApplicationMutation as Ne, createBankAccountMutation as Pe, createBookTransferMutation as Fe, createCheckDepositMutation as Ie, createDebitCardMutation as Le, createVelocityControlMutation as Re, deleteApprovalPoliciesIdMutation as ze, deleteBankAccountApplicationMutation as Be, deleteLedgerAccountsIdMutation as Ve, deleteReceiptsIdMutation as He, disableUserMutation as Ue, getAnalyticsPayablesOptions as We, getAnalyticsPayablesQueryKey as Ge, getAnalyticsReceivablesOptions as Ke, getApprovalPoliciesOptions as qe, getApprovalPoliciesQueryKey as Je, getApprovalRequestsOptions as Ye, getApprovalRequestsQueryKey as Xe, getBankAccountAccessQueryKey as Ze, getBankAccountApplicationOptions as Qe, getBankAccountOptions as $e, getBankAccountQueryKey as et, getBankAccountStatementsOptions as tt, getBankAccountTransactionsOptions as nt, getBankAccountTransactionsQueryKey as rt, getBankAccountTransfersOptions as it, getBankAccountTransfersQueryKey as at, getBankAccountsQueryKey as ot, getCounterpartsIdAddressesOptions as st, getCounterpartsIdAddressesQueryKey as ct, getCounterpartsIdBankAccountsOptions as lt, getCounterpartsIdBankAccountsQueryKey as ut, getCounterpartsIdOptions as dt, getCounterpartsIdQueryKey as ft, getCounterpartsOptions as pt, getCounterpartsQueryKey as mt, getCreditCardByIdOptions as ht, getCreditCardByIdQueryKey as gt, getCreditCardsOptions as _t, getCreditCardsQueryKey as vt, getDebitCardByIdOptions as yt, getDebitCardByIdQueryKey as bt, getDebitCardCredentialsOptions as xt, getDebitCardsOptions as St, getDebitCardsQueryKey as Ct, getDepartmentOptions as wt, getDepartmentQueryKey as Tt, getDepositableBankAccountsOptions as Et, getDocumentsIdNextNumbersOptions as Dt, getDocumentsIdNextNumbersQueryKey as Ot, getEntitiesIdSettingsOptions as kt, getEntitiesIdSettingsQueryKey as At, getEntityUsersMyEntityOptions as jt, getEntityUsersMyEntityQueryKey as Mt, getExternalBankAccountAccessQueryKey as Nt, getExternalBankAccountsOptions as Pt, getExternalBankAccountsQueryKey as Ft, getLedgerAccountsQueryKey as It, getLocationOptions as Lt, getLocationQueryKey as Rt, getMeasureUnitsOptions as zt, getMeasureUnitsQueryKey as Bt, getOrganizationOptions as Vt, getPayablesIdHistoryOptions as Ht, getPayablesIdHistoryQueryKey as Ut, getPayablesIdLineItemsOptions as Wt, getPayablesIdLineItemsQueryKey as Gt, getPayablesIdOptions as Kt, getPayablesIdQueryKey as qt, getPayablesIdSuggestionsOptions as Jt, getPayablesOptions as Yt, getPayablesQueryKey as Xt, getPaymentRecordsOptions as Zt, getPaymentRecordsQueryKey as Qt, getProductsIdOptions as $t, getProductsIdQueryKey as en, getProductsOptions as tn, getProductsQueryKey as nn, getReceiptsIdQueryKey as rn, getReceiptsOptions as an, getReceiptsQueryKey as on, getReceivablesIdHistoryOptions as sn, getReceivablesIdHistoryQueryKey as cn, getReceivablesIdMailsOptions as ln, getReceivablesIdMailsQueryKey as un, getReceivablesIdOptions as dn, getReceivablesIdPdfLinkOptions as fn, getReceivablesIdPdfLinkQueryKey as pn, getReceivablesIdQueryKey as mn, getReceivablesOptions as hn, getReceivablesQueryKey as gn, getTransactionsIdQueryKey as _n, getTransactionsOptions as vn, getTransactionsQueryKey as yn, getTransactionsValidationsOptions as bn, getTransactionsValidationsQueryKey as xn, getUsersOptions as Sn, getUsersQueryKey as Cn, getVelocityControlsQueryKey as wn, grantBankAccountAccessMutation as Tn, grantExternalBankAccountAccessMutation as En, linkExternalBankAccountMutation as Dn, listDepartmentsOptions as On, listDepartmentsQueryKey as kn, listLocationsOptions as An, listLocationsQueryKey as jn, listRolesQueryKey as Mn, manageDebitCardAccessMutation as Nn, patchApprovalPoliciesIdMutation as Pn, patchLedgerAccountsIdMutation as Fn, patchReceiptsIdMutation as In, postApprovalPoliciesMutation as Ln, postLedgerAccountsMutation as Rn, putTransactionsValidationsMutation as zn, setDebitCardLockStatusMutation as Bn, submitApplicationMutation as Vn, unlinkExternalBankAccountMutation as Hn, updateApplicationMutation as Un, updateBankAccountMutation as Wn, updateDebitCardMutation as Gn, updateExternalBankAccountMutation as Kn, validateExternalBankAccountMutation as qn, verifyDebitCardMutation as Jn } from "./lib/rest/@tanstack/react-query.gen.js";
5
+ import { authEpochPlaceholder as Yn, withAuthEpoch as Xn } from "./lib/withAuthEpoch.js";
6
+ import { applicationStatusInvalidationKey as Zn, applicationStatusQueryOptions as Qn } from "./lib/applicationStatusQueryOptions.js";
7
+ import { createClientSecretInstaller as $n } from "./lib/scopedClientSecret.js";
8
+ import { cancelAllClients as er, invalidateAllClients as tr, registerQueryClient as nr, removeInactiveFromAllClients as rr, setAllClientsQueriesData as ir, unregisterQueryClient as ar } from "./lib/clientRegistry.js";
9
+ import { cloneEmbeddedClient as or, createEmbeddedClient as sr } from "./lib/createEmbeddedClient.js";
10
10
  import "./lib/widgetGatewayHosts.js";
11
- import { attachTransportInterceptors as sr } from "./lib/transportInterceptors.js";
12
- import { EmbedApiProvider as cr, useEmbedApi as lr } from "./lib/EmbedApiContext.js";
13
- import { optionalOrganizationHeaders as ur, organizationHeaders as dr } from "./lib/organizationHeaders.js";
14
- import { fetchWidgetInit as fr } from "./lib/fetchWidgetInit.js";
15
- import { hasAnyScope as pr } from "./lib/hasAnyScope.js";
11
+ import { attachTransportInterceptors as cr } from "./lib/transportInterceptors.js";
12
+ import { EmbedApiProvider as lr, useEmbedApi as ur } from "./lib/EmbedApiContext.js";
13
+ import { optionalOrganizationHeaders as dr, organizationHeaders as fr } from "./lib/organizationHeaders.js";
14
+ import { fetchWidgetInit as pr } from "./lib/fetchWidgetInit.js";
15
+ import { hasAnyScope as mr } from "./lib/hasAnyScope.js";
16
16
  import "./lib/queryKeys.js";
17
- import { useCurrentUserQuery as mr } from "./lib/useCurrentUserQuery.js";
18
- import { useMailboxAddress as hr } from "./lib/useMailboxAddress.js";
17
+ import { useCurrentUserQuery as hr } from "./lib/useCurrentUserQuery.js";
18
+ import { useMailboxAddress as gr } from "./lib/useMailboxAddress.js";
19
19
  import "./lib/apiErrorStatus.js";
20
- import { isApiConflictError as gr } from "./lib/isApiConflictError.js";
21
- import { isApiForbiddenError as _r } from "./lib/isApiForbiddenError.js";
22
- import { isApiNotFoundError as vr } from "./lib/isApiNotFoundError.js";
23
- import { isApiUnprocessableError as yr } from "./lib/isApiUnprocessableError.js";
20
+ import { isApiConflictError as _r } from "./lib/isApiConflictError.js";
21
+ import { isApiForbiddenError as vr } from "./lib/isApiForbiddenError.js";
22
+ import { isApiNotFoundError as yr } from "./lib/isApiNotFoundError.js";
23
+ import { isApiUnprocessableError as br } from "./lib/isApiUnprocessableError.js";
24
24
  import "./lib/isUserDataNotFoundError.js";
25
- import { useGetUserDataQuery as br } from "./lib/useGetUserDataQuery.js";
26
- import { useUpsertUserDataMutation as xr } from "./lib/useUpsertUserDataMutation.js";
25
+ import { useGetUserDataQuery as xr } from "./lib/useGetUserDataQuery.js";
26
+ import { useUpsertUserDataMutation as Sr } from "./lib/useUpsertUserDataMutation.js";
27
27
  import "./lib/rest/zod.gen.js";
28
- import { Scope as Sr, isScope as Cr } from "./lib/scopes.js";
29
- import { getAllPagesNextPageParam as wr, getAllPagesNextPaginationTokenParam as Tr, isAllPagesResolving as Er, useAutoFetchNextPage as Dr } from "./lib/allPages.js";
30
- import { useAllBankAccountsQuery as Or } from "./lib/bank-account/useAllBankAccountsQuery.js";
31
- import { useAllExternalBankAccountsQuery as kr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
32
- import { useAllMerchantCategoryGroupsQuery as Ar } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
33
- import { useAllLedgerAccountsQuery as jr, useLedgerAccountsQuery as Mr } from "./lib/reference-data/useLedgerAccountsQuery.js";
34
- import { usePaymentTermsQuery as Nr } from "./lib/reference-data/usePaymentTermsQuery.js";
35
- import { useAllOrganizationRolesQuery as Pr } from "./lib/role/useAllOrganizationRolesQuery.js";
36
- import { useRolePermissionsQueries as Fr } from "./lib/role/useRolePermissionsQueries.js";
37
- import { useAllOrganizationUsersQuery as Ir } from "./lib/user/useAllOrganizationUsersQuery.js";
38
- import { useAcceptWidgetDisclosures as Lr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
39
- import { useDisclosuresQuery as Rr } from "./lib/disclosures/useDisclosuresQuery.js";
40
- import { OnboardingSuppressionReason as zr } from "./lib/onboardingSuppressionReason.js";
41
- import { useOrganizationOnboardingSuppression as Br } from "./lib/useOrganizationOnboardingSuppression.js";
42
- export { cr as EmbedApiProvider, zr as OnboardingSuppressionReason, Sr as Scope, ke as activateCreditCardMutation, Ae as activateDebitCardMutation, Xn as applicationStatusInvalidationKey, Zn as applicationStatusQueryOptions, sr as attachTransportInterceptors, Jn as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, $n as cancelAllClients, ar as cloneEmbeddedClient, je as connectExternalBankAccountMutation, Me as createAchMoneyMovementMutation, Ne as createApplicationMutation, Pe as createBankAccountMutation, Fe as createBookTransferMutation, Ie as createCheckDepositMutation, Qn as createClientSecretInstaller, Le as createDebitCardMutation, r as createDepartment, or as createEmbeddedClient, i as createLocation, a as createUser, Re as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ze as deleteApprovalPoliciesIdMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Be as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ve as deleteReceiptsIdMutation, h as deleteReceivablesId, He as disableUserMutation, g as downloadBankAccountTransactions, fr as fetchWidgetInit, wr as getAllPagesNextPageParam, Tr as getAllPagesNextPaginationTokenParam, Ue as getAnalyticsPayablesOptions, We as getAnalyticsPayablesQueryKey, Ge as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, Ke as getApprovalPoliciesOptions, qe as getApprovalPoliciesQueryKey, y as getApprovalRequests, Je as getApprovalRequestsOptions, Ye as getApprovalRequestsQueryKey, b as getBankAccountAccess, Xe as getBankAccountAccessQueryKey, Ze as getBankAccountApplicationOptions, Qe as getBankAccountOptions, $e as getBankAccountQueryKey, x as getBankAccountStatement, et as getBankAccountStatementsOptions, tt as getBankAccountTransactionsOptions, nt as getBankAccountTransactionsQueryKey, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, S as getCounterparts, ot as getCounterpartsIdAddressesOptions, st as getCounterpartsIdAddressesQueryKey, ct as getCounterpartsIdBankAccountsOptions, lt as getCounterpartsIdBankAccountsQueryKey, ut as getCounterpartsIdOptions, dt as getCounterpartsIdQueryKey, ft as getCounterpartsOptions, pt as getCounterpartsQueryKey, mt as getCreditCardByIdOptions, ht as getCreditCardByIdQueryKey, gt as getCreditCardsOptions, _t as getCreditCardsQueryKey, vt as getDebitCardByIdOptions, yt as getDebitCardByIdQueryKey, bt as getDebitCardCredentialsOptions, xt as getDebitCardsOptions, St as getDebitCardsQueryKey, C as getDepartment, Ct as getDepartmentOptions, wt as getDepartmentQueryKey, w as getDepositableBankAccounts, Tt as getDepositableBankAccountsOptions, Et as getDocumentsIdNextNumbersOptions, Dt as getDocumentsIdNextNumbersQueryKey, Ot as getEntitiesIdSettingsOptions, kt as getEntitiesIdSettingsQueryKey, At as getEntityUsersMyEntityOptions, jt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Mt as getExternalBankAccountAccessQueryKey, Nt as getExternalBankAccountsOptions, Pt as getExternalBankAccountsQueryKey, Ft as getLedgerAccountsQueryKey, E as getLocation, It as getLocationOptions, Lt as getLocationQueryKey, Rt as getMeasureUnitsOptions, zt as getMeasureUnitsQueryKey, Bt as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Vt as getPayablesIdHistoryOptions, Ht as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Ut as getPayablesIdLineItemsOptions, Wt as getPayablesIdLineItemsQueryKey, Gt as getPayablesIdOptions, Kt as getPayablesIdQueryKey, qt as getPayablesIdSuggestionsOptions, Jt as getPayablesOptions, Yt as getPayablesQueryKey, j as getPaymentRecords, Xt as getPaymentRecordsOptions, Zt as getPaymentRecordsQueryKey, Qt as getProductsIdOptions, $t as getProductsIdQueryKey, en as getProductsOptions, tn as getProductsQueryKey, nn as getReceiptsIdQueryKey, rn as getReceiptsOptions, an as getReceiptsQueryKey, M as getReceivables, on as getReceivablesIdHistoryOptions, sn as getReceivablesIdHistoryQueryKey, cn as getReceivablesIdMailsOptions, ln as getReceivablesIdMailsQueryKey, un as getReceivablesIdOptions, dn as getReceivablesIdPdfLinkOptions, fn as getReceivablesIdPdfLinkQueryKey, pn as getReceivablesIdQueryKey, mn as getReceivablesOptions, hn as getReceivablesQueryKey, gn as getTransactionsIdQueryKey, _n as getTransactionsOptions, vn as getTransactionsQueryKey, yn as getTransactionsValidationsOptions, bn as getTransactionsValidationsQueryKey, N as getUsers, xn as getUsersOptions, Sn as getUsersQueryKey, Cn as getVelocityControlsQueryKey, wn as grantBankAccountAccessMutation, Tn as grantExternalBankAccountAccessMutation, pr as hasAnyScope, er as invalidateAllClients, Er as isAllPagesResolving, gr as isApiConflictError, _r as isApiForbiddenError, vr as isApiNotFoundError, yr as isApiUnprocessableError, Cr as isScope, En as linkExternalBankAccountMutation, P as listDepartments, Dn as listDepartmentsOptions, On as listDepartmentsQueryKey, F as listLocations, kn as listLocationsOptions, An as listLocationsQueryKey, I as listRoles, jn as listRolesQueryKey, L as manageBankAccountAccess, Mn as manageDebitCardAccessMutation, ur as optionalOrganizationHeaders, dr as organizationHeaders, Nn as patchApprovalPoliciesIdMutation, R as patchCounterpartsId, z as patchCounterpartsIdAddressesId, B as patchCounterpartsIdBankAccountsId, V as patchEntitiesIdSettings, Pn as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, Fn as patchReceiptsIdMutation, G as patchReceivablesId, In as postApprovalPoliciesMutation, K as postApprovalRequestsIdApprove, q as postApprovalRequestsIdReject, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, Ln as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdApprovePaymentOperation, te as postPayablesIdAttachFile, ne as postPayablesIdCancel, re as postPayablesIdDuplicatesIdConfirm, ie as postPayablesIdDuplicatesIdDismiss, ae as postPayablesIdMarkAsPaid, oe as postPayablesIdReject, se as postPayablesIdReopen, ce as postPayablesIdSchedulePayment, le as postPayablesIdSubmitForApproval, ue as postPayablesIdValidate, de as postPayablesUploadFromFile, fe as postPaymentIntentsIdCancel, pe as postProducts, me as postReceivables, he as postReceivablesIdAccept, ge as postReceivablesIdCancel, _e as postReceivablesIdClone, ve as postReceivablesIdDecline, ye as postReceivablesIdIssue, be as postReceivablesIdMarkAsPaid, xe as postReceivablesIdMarkAsPartiallyPaid, Se as postReceivablesIdMarkAsUncollectible, Ce as postReceivablesIdSend, we as putEntitiesIdLogo, Te as putPayablesIdLineItems, Rn as putTransactionsValidationsMutation, tr as registerQueryClient, nr as removeInactiveFromAllClients, rr as setAllClientsQueriesData, zn as setDebitCardLockStatusMutation, Bn as submitApplicationMutation, Vn as unlinkExternalBankAccountMutation, ir as unregisterQueryClient, Hn as updateApplicationMutation, Un as updateBankAccountMutation, Wn as updateDebitCardMutation, Ee as updateDepartment, Gn as updateExternalBankAccountMutation, De as updateLocation, Oe as updateUser, Lr as useAcceptWidgetDisclosures, Or as useAllBankAccountsQuery, kr as useAllExternalBankAccountsQuery, jr as useAllLedgerAccountsQuery, Ar as useAllMerchantCategoryGroupsQuery, Pr as useAllOrganizationRolesQuery, Ir as useAllOrganizationUsersQuery, Dr as useAutoFetchNextPage, mr as useCurrentUserQuery, Rr as useDisclosuresQuery, lr as useEmbedApi, br as useGetUserDataQuery, Mr as useLedgerAccountsQuery, hr as useMailboxAddress, Br as useOrganizationOnboardingSuppression, Nr as usePaymentTermsQuery, Fr as useRolePermissionsQueries, xr as useUpsertUserDataMutation, Kn as validateExternalBankAccountMutation, qn as verifyDebitCardMutation, Yn as withAuthEpoch };
28
+ import { Scope as Cr, isScope as wr } from "./lib/scopes.js";
29
+ import { getAllPagesNextPageParam as Tr, getAllPagesNextPaginationTokenParam as Er, isAllPagesResolving as Dr, useAutoFetchNextPage as Or } from "./lib/allPages.js";
30
+ import { useAllBankAccountsQuery as kr } from "./lib/bank-account/useAllBankAccountsQuery.js";
31
+ import { useAllExternalBankAccountsQuery as Ar } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
32
+ import { useAllMerchantCategoryGroupsQuery as jr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
33
+ import { useAllLedgerAccountsQuery as Mr, useLedgerAccountsQuery as Nr } from "./lib/reference-data/useLedgerAccountsQuery.js";
34
+ import { usePaymentTermsQuery as Pr } from "./lib/reference-data/usePaymentTermsQuery.js";
35
+ import { useAllOrganizationRolesQuery as Fr } from "./lib/role/useAllOrganizationRolesQuery.js";
36
+ import { useRolePermissionsQueries as Ir } from "./lib/role/useRolePermissionsQueries.js";
37
+ import { useAllOrganizationUsersQuery as Lr } from "./lib/user/useAllOrganizationUsersQuery.js";
38
+ import { useAcceptWidgetDisclosures as Rr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
39
+ import { useDisclosuresQuery as zr } from "./lib/disclosures/useDisclosuresQuery.js";
40
+ import { OnboardingSuppressionReason as Br } from "./lib/onboardingSuppressionReason.js";
41
+ import { useOrganizationOnboardingSuppression as Vr } from "./lib/useOrganizationOnboardingSuppression.js";
42
+ export { lr as EmbedApiProvider, Br as OnboardingSuppressionReason, Cr as Scope, ke as activateCreditCardMutation, Ae as activateDebitCardMutation, Zn as applicationStatusInvalidationKey, Qn as applicationStatusQueryOptions, cr as attachTransportInterceptors, Yn as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, er as cancelAllClients, or as cloneEmbeddedClient, je as connectExternalBankAccountMutation, Me as createAchMoneyMovementMutation, Ne as createApplicationMutation, Pe as createBankAccountMutation, Fe as createBookTransferMutation, Ie as createCheckDepositMutation, $n as createClientSecretInstaller, Le as createDebitCardMutation, r as createDepartment, sr as createEmbeddedClient, i as createLocation, a as createUser, Re as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ze as deleteApprovalPoliciesIdMutation, Be as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Ve as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, He as deleteReceiptsIdMutation, h as deleteReceivablesId, Ue as disableUserMutation, g as downloadBankAccountTransactions, pr as fetchWidgetInit, Tr as getAllPagesNextPageParam, Er as getAllPagesNextPaginationTokenParam, We as getAnalyticsPayablesOptions, Ge as getAnalyticsPayablesQueryKey, Ke as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, qe as getApprovalPoliciesOptions, Je as getApprovalPoliciesQueryKey, y as getApprovalRequests, Ye as getApprovalRequestsOptions, Xe as getApprovalRequestsQueryKey, b as getBankAccountAccess, Ze as getBankAccountAccessQueryKey, Qe as getBankAccountApplicationOptions, $e as getBankAccountOptions, et as getBankAccountQueryKey, x as getBankAccountStatement, tt as getBankAccountStatementsOptions, nt as getBankAccountTransactionsOptions, rt as getBankAccountTransactionsQueryKey, it as getBankAccountTransfersOptions, at as getBankAccountTransfersQueryKey, ot as getBankAccountsQueryKey, S as getCounterparts, st as getCounterpartsIdAddressesOptions, ct as getCounterpartsIdAddressesQueryKey, lt as getCounterpartsIdBankAccountsOptions, ut as getCounterpartsIdBankAccountsQueryKey, dt as getCounterpartsIdOptions, ft as getCounterpartsIdQueryKey, pt as getCounterpartsOptions, mt as getCounterpartsQueryKey, ht as getCreditCardByIdOptions, gt as getCreditCardByIdQueryKey, _t as getCreditCardsOptions, vt as getCreditCardsQueryKey, yt as getDebitCardByIdOptions, bt as getDebitCardByIdQueryKey, xt as getDebitCardCredentialsOptions, St as getDebitCardsOptions, Ct as getDebitCardsQueryKey, C as getDepartment, wt as getDepartmentOptions, Tt as getDepartmentQueryKey, w as getDepositableBankAccounts, Et as getDepositableBankAccountsOptions, Dt as getDocumentsIdNextNumbersOptions, Ot as getDocumentsIdNextNumbersQueryKey, kt as getEntitiesIdSettingsOptions, At as getEntitiesIdSettingsQueryKey, jt as getEntityUsersMyEntityOptions, Mt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Nt as getExternalBankAccountAccessQueryKey, Pt as getExternalBankAccountsOptions, Ft as getExternalBankAccountsQueryKey, It as getLedgerAccountsQueryKey, E as getLocation, Lt as getLocationOptions, Rt as getLocationQueryKey, zt as getMeasureUnitsOptions, Bt as getMeasureUnitsQueryKey, Vt as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Ht as getPayablesIdHistoryOptions, Ut as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Wt as getPayablesIdLineItemsOptions, Gt as getPayablesIdLineItemsQueryKey, Kt as getPayablesIdOptions, qt as getPayablesIdQueryKey, Jt as getPayablesIdSuggestionsOptions, Yt as getPayablesOptions, Xt as getPayablesQueryKey, j as getPaymentRecords, Zt as getPaymentRecordsOptions, Qt as getPaymentRecordsQueryKey, $t as getProductsIdOptions, en as getProductsIdQueryKey, tn as getProductsOptions, nn as getProductsQueryKey, rn as getReceiptsIdQueryKey, an as getReceiptsOptions, on as getReceiptsQueryKey, M as getReceivables, sn as getReceivablesIdHistoryOptions, cn as getReceivablesIdHistoryQueryKey, ln as getReceivablesIdMailsOptions, un as getReceivablesIdMailsQueryKey, dn as getReceivablesIdOptions, fn as getReceivablesIdPdfLinkOptions, pn as getReceivablesIdPdfLinkQueryKey, mn as getReceivablesIdQueryKey, hn as getReceivablesOptions, gn as getReceivablesQueryKey, _n as getTransactionsIdQueryKey, vn as getTransactionsOptions, yn as getTransactionsQueryKey, bn as getTransactionsValidationsOptions, xn as getTransactionsValidationsQueryKey, N as getUsers, Sn as getUsersOptions, Cn as getUsersQueryKey, wn as getVelocityControlsQueryKey, Tn as grantBankAccountAccessMutation, En as grantExternalBankAccountAccessMutation, mr as hasAnyScope, tr as invalidateAllClients, Dr as isAllPagesResolving, _r as isApiConflictError, vr as isApiForbiddenError, yr as isApiNotFoundError, br as isApiUnprocessableError, wr as isScope, Dn as linkExternalBankAccountMutation, P as listDepartments, On as listDepartmentsOptions, kn as listDepartmentsQueryKey, F as listLocations, An as listLocationsOptions, jn as listLocationsQueryKey, I as listRoles, Mn as listRolesQueryKey, L as manageBankAccountAccess, Nn as manageDebitCardAccessMutation, dr as optionalOrganizationHeaders, fr as organizationHeaders, Pn as patchApprovalPoliciesIdMutation, R as patchCounterpartsId, z as patchCounterpartsIdAddressesId, B as patchCounterpartsIdBankAccountsId, V as patchEntitiesIdSettings, Fn as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, In as patchReceiptsIdMutation, G as patchReceivablesId, Ln as postApprovalPoliciesMutation, K as postApprovalRequestsIdApprove, q as postApprovalRequestsIdReject, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, Rn as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdApprovePaymentOperation, te as postPayablesIdAttachFile, ne as postPayablesIdCancel, re as postPayablesIdDuplicatesIdConfirm, ie as postPayablesIdDuplicatesIdDismiss, ae as postPayablesIdMarkAsPaid, oe as postPayablesIdReject, se as postPayablesIdReopen, ce as postPayablesIdSchedulePayment, le as postPayablesIdSubmitForApproval, ue as postPayablesIdValidate, de as postPayablesUploadFromFile, fe as postPaymentIntentsIdCancel, pe as postProducts, me as postReceivables, he as postReceivablesIdAccept, ge as postReceivablesIdCancel, _e as postReceivablesIdClone, ve as postReceivablesIdDecline, ye as postReceivablesIdIssue, be as postReceivablesIdMarkAsPaid, xe as postReceivablesIdMarkAsPartiallyPaid, Se as postReceivablesIdMarkAsUncollectible, Ce as postReceivablesIdSend, we as putEntitiesIdLogo, Te as putPayablesIdLineItems, zn as putTransactionsValidationsMutation, nr as registerQueryClient, rr as removeInactiveFromAllClients, ir as setAllClientsQueriesData, Bn as setDebitCardLockStatusMutation, Vn as submitApplicationMutation, Hn as unlinkExternalBankAccountMutation, ar as unregisterQueryClient, Un as updateApplicationMutation, Wn as updateBankAccountMutation, Gn as updateDebitCardMutation, Ee as updateDepartment, Kn as updateExternalBankAccountMutation, De as updateLocation, Oe as updateUser, Rr as useAcceptWidgetDisclosures, kr as useAllBankAccountsQuery, Ar as useAllExternalBankAccountsQuery, Mr as useAllLedgerAccountsQuery, jr as useAllMerchantCategoryGroupsQuery, Fr as useAllOrganizationRolesQuery, Lr as useAllOrganizationUsersQuery, Or as useAutoFetchNextPage, hr as useCurrentUserQuery, zr as useDisclosuresQuery, ur as useEmbedApi, xr as useGetUserDataQuery, Nr as useLedgerAccountsQuery, gr as useMailboxAddress, Vr as useOrganizationOnboardingSuppression, Pr as usePaymentTermsQuery, Ir as useRolePermissionsQueries, Sr as useUpsertUserDataMutation, qn as validateExternalBankAccountMutation, Jn as verifyDebitCardMutation, Xn as withAuthEpoch };