@tesouro/embedded-components-react 0.5.83 → 0.5.84

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 (21) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +6 -7
  2. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +28 -21
  3. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index2.js +7 -23
  4. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index3.js +34 -6
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +8 -8
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +11 -17
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index7.js +37 -16
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +3 -43
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +31 -3
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +29 -33
  11. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +31 -30
  12. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +7 -5
  13. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +186 -175
  14. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopedClientSecret.js +8 -0
  15. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/transportInterceptors.js +9 -6
  16. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +39 -36
  17. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +86 -83
  18. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  19. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/client.js +3 -2
  20. package/package.json +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +0 -48
@@ -1,39 +1,40 @@
1
1
  import "./lib/finopsApiVersion.js";
2
- import { cancelAllClients as e, invalidateAllClients as t, registerQueryClient as n, removeInactiveFromAllClients as r, setAllClientsQueriesData as i, unregisterQueryClient as a } from "./lib/clientRegistry.js";
3
- import { cloneEmbeddedClient as o, createEmbeddedClient as s } from "./lib/createEmbeddedClient.js";
2
+ import { createClientSecretInstaller as e } from "./lib/scopedClientSecret.js";
3
+ import { cancelAllClients as t, invalidateAllClients as n, registerQueryClient as r, removeInactiveFromAllClients as i, setAllClientsQueriesData as a, unregisterQueryClient as o } from "./lib/clientRegistry.js";
4
+ import { cloneEmbeddedClient as s, createEmbeddedClient as c } from "./lib/createEmbeddedClient.js";
4
5
  import "./lib/widgetGatewayHosts.js";
5
- import { attachTransportInterceptors as c } from "./lib/transportInterceptors.js";
6
+ import { attachTransportInterceptors as l } from "./lib/transportInterceptors.js";
6
7
  import "./lib/rest/client.gen.js";
7
- import { EmbedApiProvider as l, useEmbedApi as u } from "./lib/EmbedApiContext.js";
8
- import { optionalOrganizationHeaders as d, organizationHeaders as f } from "./lib/organizationHeaders.js";
9
- import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteMeasureUnitsId as C, deletePayablesId as w, deletePayablesIdFile as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getApprovalRequests as M, getBankAccountAccess as N, getBankAccountApplication as P, getCounterparts as F, getDepartment as I, getExternalBankAccountAccess as L, getLocation as R, getPayables as z, getPayablesId as B, getPayablesIdHistory as V, getPayablesIdLineItems as H, getPaymentRecords as U, getReceivables as W, getUsers as G, listDepartments as K, listLocations as q, listRoles as J, manageBankAccountAccess as Y, patchCounterpartsId as X, patchCounterpartsIdAddressesId as Z, patchCounterpartsIdBankAccountsId as Q, patchMeasureUnitsId as $, patchPayablesId as ee, patchProductsId as te, patchReceivablesId as ne, patchTagsId as re, postApprovalRequestsIdApprove as ie, postApprovalRequestsIdReject as ae, postCounterparts as oe, postCounterpartsIdAddresses as se, postCounterpartsIdBankAccounts as ce, postCounterpartsIdBankAccountsIdMakeDefault as le, postMeasureUnits as ue, postPayables as de, postPayablesIdApprovePaymentOperation as fe, postPayablesIdAttachFile as pe, postPayablesIdCancel as me, postPayablesIdDuplicatesIdConfirm as he, postPayablesIdDuplicatesIdDismiss as ge, postPayablesIdMarkAsPaid as _e, postPayablesIdReject as ve, postPayablesIdReopen as ye, postPayablesIdSchedulePayment as be, postPayablesIdSubmitForApproval as xe, postPayablesIdValidate as Se, postPayablesUploadFromFile as Ce, postPaymentIntentsIdCancel as we, postProducts as Te, postReceivables as Ee, postReceivablesIdAccept as De, postReceivablesIdCancel as Oe, postReceivablesIdClone as ke, postReceivablesIdDecline as Ae, postReceivablesIdIssue as je, postReceivablesIdMarkAsPaid as Me, postReceivablesIdMarkAsPartiallyPaid as Ne, postReceivablesIdMarkAsUncollectible as Pe, postReceivablesIdSend as Fe, postTags as Ie, putPayablesIdLineItems as Le, updateDepartment as Re, updateLocation as ze, updateUser as Be } from "./lib/rest/sdk.gen.js";
8
+ import { EmbedApiProvider as u, useEmbedApi as d } from "./lib/EmbedApiContext.js";
9
+ import { optionalOrganizationHeaders as f, organizationHeaders as p } from "./lib/organizationHeaders.js";
10
+ import { bulkUpdateDepartmentMembers as m, bulkUpdateLocationMembers as h, bulkUpdateRoleMembers as g, createDepartment as _, createLocation as v, createUser as y, deactivateDepartment as b, deactivateLocation as x, deleteCounterpartsId as S, deleteCounterpartsIdBankAccountsId as C, deleteMeasureUnitsId as w, deletePayablesId as T, deletePayablesIdFile as E, deleteProductsId as D, deleteReceivablesId as O, deleteTagsId as k, downloadBankAccountTransactions as A, getApplicationStatus as j, getApprovalPolicies as M, getApprovalRequests as N, getBankAccountAccess as P, getCounterparts as F, getDepartment as I, getExternalBankAccountAccess as L, getLocation as R, getPayables as z, getPayablesId as B, getPayablesIdHistory as V, getPayablesIdLineItems as H, getPaymentRecords as U, getReceivables as W, getUsers as G, listDepartments as K, listLocations as q, listRoles as J, manageBankAccountAccess as Y, patchCounterpartsId as X, patchCounterpartsIdAddressesId as Z, patchCounterpartsIdBankAccountsId as Q, patchMeasureUnitsId as $, patchPayablesId as ee, patchProductsId as te, patchReceivablesId as ne, patchTagsId as re, postApprovalRequestsIdApprove as ie, postApprovalRequestsIdReject as ae, postCounterparts as oe, postCounterpartsIdAddresses as se, postCounterpartsIdBankAccounts as ce, postCounterpartsIdBankAccountsIdMakeDefault as le, postMeasureUnits as ue, postPayables as de, postPayablesIdApprovePaymentOperation as fe, postPayablesIdAttachFile as pe, postPayablesIdCancel as me, postPayablesIdDuplicatesIdConfirm as he, postPayablesIdDuplicatesIdDismiss as ge, postPayablesIdMarkAsPaid as _e, postPayablesIdReject as ve, postPayablesIdReopen as ye, postPayablesIdSchedulePayment as be, postPayablesIdSubmitForApproval as xe, postPayablesIdValidate as Se, postPayablesUploadFromFile as Ce, postPaymentIntentsIdCancel as we, postProducts as Te, postReceivables as Ee, postReceivablesIdAccept as De, postReceivablesIdCancel as Oe, postReceivablesIdClone as ke, postReceivablesIdDecline as Ae, postReceivablesIdIssue as je, postReceivablesIdMarkAsPaid as Me, postReceivablesIdMarkAsPartiallyPaid as Ne, postReceivablesIdMarkAsUncollectible as Pe, postReceivablesIdSend as Fe, postTags as Ie, putPayablesIdLineItems as Le, updateDepartment as Re, updateLocation as ze, updateUser as Be } from "./lib/rest/sdk.gen.js";
10
11
  import { fetchWidgetInit as Ve } from "./lib/fetchWidgetInit.js";
11
12
  import { hasAnyScope as He } from "./lib/hasAnyScope.js";
12
- import { activateCreditCardMutation as Ue, activateDebitCardMutation as We, connectExternalBankAccountMutation as Ge, createAchMoneyMovementMutation as Ke, createApplicationMutation as qe, createBankAccountMutation as Je, createBookTransferMutation as Ye, createCheckDepositMutation as Xe, createDebitCardMutation as Ze, createVelocityControlMutation as Qe, deleteApprovalPoliciesIdMutation as $e, deleteLedgerAccountsIdMutation as et, deleteReceiptsIdMutation as tt, disableUserMutation as nt, getAnalyticsPayablesOptions as rt, getAnalyticsReceivablesOptions as it, getApplicationStatusOptions as at, getApprovalPoliciesOptions as ot, getApprovalPoliciesQueryKey as st, getApprovalRequestsOptions as ct, getApprovalRequestsQueryKey as lt, getBankAccountAccessQueryKey as ut, getBankAccountOptions as dt, getBankAccountQueryKey as ft, getBankAccountTransactionsOptions as pt, getBankAccountTransactionsQueryKey as mt, getBankAccountTransfersOptions as ht, getBankAccountTransfersQueryKey as gt, getBankAccountsQueryKey as _t, getCounterpartsIdAddressesOptions as vt, getCounterpartsIdAddressesQueryKey as yt, getCounterpartsIdBankAccountsOptions as bt, getCounterpartsIdBankAccountsQueryKey as xt, getCounterpartsIdOptions as St, getCounterpartsIdQueryKey as Ct, getCounterpartsOptions as wt, getCounterpartsQueryKey as Tt, getCreditCardByIdOptions as Et, getCreditCardByIdQueryKey as Dt, getCreditCardsOptions as Ot, getCreditCardsQueryKey as kt, getDebitCardByIdOptions as At, getDebitCardByIdQueryKey as jt, getDebitCardCredentialsOptions as Mt, getDebitCardsOptions as Nt, getDebitCardsQueryKey as Pt, getDepartmentOptions as Ft, getDepartmentQueryKey as It, getEntitiesIdSettingsOptions as Lt, getEntitiesIdSettingsQueryKey as Rt, getEntitiesMeOptions as zt, getEntityUsersMyEntityOptions as Bt, getEntityUsersOptions as Vt, getExternalBankAccountAccessQueryKey as Ht, getExternalBankAccountsOptions as Ut, getExternalBankAccountsQueryKey as Wt, getLedgerAccountsQueryKey as Gt, getLocationOptions as Kt, getLocationQueryKey as qt, getMeasureUnitsOptions as Jt, getMeasureUnitsQueryKey as Yt, getOrganizationOptions as Xt, getPayablesAnalyticsOptions as Zt, getPayablesAnalyticsQueryKey as Qt, getPayablesIdHistoryOptions as $t, getPayablesIdHistoryQueryKey as en, getPayablesIdLineItemsOptions as tn, getPayablesIdLineItemsQueryKey as nn, getPayablesIdOptions as rn, getPayablesIdQueryKey as an, getPayablesIdSuggestionsOptions as on, getPayablesOptions as sn, getPayablesQueryKey as cn, getPaymentRecordsOptions as ln, getPaymentRecordsQueryKey as un, getProductsIdOptions as dn, getProductsIdQueryKey as fn, getProductsOptions as pn, getProductsQueryKey as mn, getReceiptsIdQueryKey as hn, getReceiptsOptions as gn, getReceiptsQueryKey as _n, getReceivablesIdHistoryOptions as vn, getReceivablesIdHistoryQueryKey as yn, getReceivablesIdMailsOptions as bn, getReceivablesIdMailsQueryKey as xn, getReceivablesIdOptions as Sn, getReceivablesIdPdfLinkOptions as Cn, getReceivablesIdPdfLinkQueryKey as wn, getReceivablesIdQueryKey as Tn, getReceivablesOptions as En, getReceivablesQueryKey as Dn, getTagsOptions as On, getTagsQueryKey as kn, getTransactionsIdQueryKey as An, getTransactionsOptions as jn, getTransactionsQueryKey as Mn, getTransactionsValidationsOptions as Nn, getTransactionsValidationsQueryKey as Pn, getUsersOptions as Fn, getUsersQueryKey as In, getVelocityControlsQueryKey as Ln, grantBankAccountAccessMutation as Rn, grantExternalBankAccountAccessMutation as zn, linkExternalBankAccountMutation as Bn, listDepartmentsOptions as Vn, listDepartmentsQueryKey as Hn, listLocationsOptions as Un, listLocationsQueryKey as Wn, listRolesQueryKey as Gn, manageDebitCardAccessMutation as Kn, patchApprovalPoliciesIdMutation as qn, patchEntitiesIdSettingsMutation as Jn, patchLedgerAccountsIdMutation as Yn, patchReceiptsIdMutation as Xn, postApprovalPoliciesMutation as Zn, postLedgerAccountsMutation as Qn, putTransactionsValidationsMutation as $n, setDebitCardLockStatusMutation as er, submitApplicationMutation as tr, unlinkExternalBankAccountMutation as nr, updateApplicationMutation as rr, updateBankAccountMutation as ir, updateDebitCardMutation as ar, updateExternalBankAccountMutation as or, validateExternalBankAccountMutation as sr, verifyDebitCardMutation as cr } from "./lib/rest/@tanstack/react-query.gen.js";
13
+ import { activateCreditCardMutation as Ue, activateDebitCardMutation as We, connectExternalBankAccountMutation as Ge, createAchMoneyMovementMutation as Ke, createApplicationMutation as qe, createBankAccountMutation as Je, createBookTransferMutation as Ye, createCheckDepositMutation as Xe, createDebitCardMutation as Ze, createVelocityControlMutation as Qe, deleteApprovalPoliciesIdMutation as $e, deleteLedgerAccountsIdMutation as et, deleteReceiptsIdMutation as tt, disableUserMutation as nt, getAnalyticsPayablesOptions as rt, getAnalyticsReceivablesOptions as it, getApplicationStatusOptions as at, getApprovalPoliciesOptions as ot, getApprovalPoliciesQueryKey as st, getApprovalRequestsOptions as ct, getApprovalRequestsQueryKey as lt, getBankAccountAccessQueryKey as ut, getBankAccountApplicationOptions as dt, getBankAccountOptions as ft, getBankAccountQueryKey as pt, getBankAccountTransactionsOptions as mt, getBankAccountTransactionsQueryKey as ht, getBankAccountTransfersOptions as gt, getBankAccountTransfersQueryKey as _t, getBankAccountsQueryKey as vt, getCounterpartsIdAddressesOptions as yt, getCounterpartsIdAddressesQueryKey as bt, getCounterpartsIdBankAccountsOptions as xt, getCounterpartsIdBankAccountsQueryKey as St, getCounterpartsIdOptions as Ct, getCounterpartsIdQueryKey as wt, getCounterpartsOptions as Tt, getCounterpartsQueryKey as Et, getCreditCardByIdOptions as Dt, getCreditCardByIdQueryKey as Ot, getCreditCardsOptions as kt, getCreditCardsQueryKey as At, getDebitCardByIdOptions as jt, getDebitCardByIdQueryKey as Mt, getDebitCardCredentialsOptions as Nt, getDebitCardsOptions as Pt, getDebitCardsQueryKey as Ft, getDepartmentOptions as It, getDepartmentQueryKey as Lt, getEntitiesIdSettingsOptions as Rt, getEntitiesIdSettingsQueryKey as zt, getEntitiesMeOptions as Bt, getEntityUsersMyEntityOptions as Vt, getEntityUsersOptions as Ht, getExternalBankAccountAccessQueryKey as Ut, getExternalBankAccountsOptions as Wt, getExternalBankAccountsQueryKey as Gt, getLedgerAccountsQueryKey as Kt, getLocationOptions as qt, getLocationQueryKey as Jt, getMeasureUnitsOptions as Yt, getMeasureUnitsQueryKey as Xt, getOrganizationOptions as Zt, getPayablesAnalyticsOptions as Qt, getPayablesAnalyticsQueryKey as $t, getPayablesIdHistoryOptions as en, getPayablesIdHistoryQueryKey as tn, getPayablesIdLineItemsOptions as nn, getPayablesIdLineItemsQueryKey as rn, getPayablesIdOptions as an, getPayablesIdQueryKey as on, getPayablesIdSuggestionsOptions as sn, getPayablesOptions as cn, getPayablesQueryKey as ln, getPaymentRecordsOptions as un, getPaymentRecordsQueryKey as dn, getProductsIdOptions as fn, getProductsIdQueryKey as pn, getProductsOptions as mn, getProductsQueryKey as hn, getReceiptsIdQueryKey as gn, getReceiptsOptions as _n, getReceiptsQueryKey as vn, getReceivablesIdHistoryOptions as yn, getReceivablesIdHistoryQueryKey as bn, getReceivablesIdMailsOptions as xn, getReceivablesIdMailsQueryKey as Sn, getReceivablesIdOptions as Cn, getReceivablesIdPdfLinkOptions as wn, getReceivablesIdPdfLinkQueryKey as Tn, getReceivablesIdQueryKey as En, getReceivablesOptions as Dn, getReceivablesQueryKey as On, getTagsOptions as kn, getTagsQueryKey as An, getTransactionsIdQueryKey as jn, getTransactionsOptions as Mn, getTransactionsQueryKey as Nn, getTransactionsValidationsOptions as Pn, getTransactionsValidationsQueryKey as Fn, getUsersOptions as In, getUsersQueryKey as Ln, getVelocityControlsQueryKey as Rn, grantBankAccountAccessMutation as zn, grantExternalBankAccountAccessMutation as Bn, linkExternalBankAccountMutation as Vn, listDepartmentsOptions as Hn, listDepartmentsQueryKey as Un, listLocationsOptions as Wn, listLocationsQueryKey as Gn, listRolesQueryKey as Kn, manageDebitCardAccessMutation as qn, patchApprovalPoliciesIdMutation as Jn, patchEntitiesIdSettingsMutation as Yn, patchLedgerAccountsIdMutation as Xn, patchReceiptsIdMutation as Zn, postApprovalPoliciesMutation as Qn, postLedgerAccountsMutation as $n, putTransactionsValidationsMutation as er, setDebitCardLockStatusMutation as tr, submitApplicationMutation as nr, unlinkExternalBankAccountMutation as rr, updateApplicationMutation as ir, updateBankAccountMutation as ar, updateDebitCardMutation as or, updateExternalBankAccountMutation as sr, validateExternalBankAccountMutation as cr, verifyDebitCardMutation as lr } from "./lib/rest/@tanstack/react-query.gen.js";
13
14
  import "./lib/queryKeys.js";
14
- import { withAuthEpoch as lr } from "./lib/withAuthEpoch.js";
15
- import { useCurrentUserQuery as ur } from "./lib/useCurrentUserQuery.js";
15
+ import { withAuthEpoch as ur } from "./lib/withAuthEpoch.js";
16
+ import { useCurrentUserQuery as dr } from "./lib/useCurrentUserQuery.js";
16
17
  import "./lib/apiErrorStatus.js";
17
- import { isApiConflictError as dr } from "./lib/isApiConflictError.js";
18
- import { isApiForbiddenError as fr } from "./lib/isApiForbiddenError.js";
19
- import { isApiNotFoundError as pr } from "./lib/isApiNotFoundError.js";
20
- import { isApiUnprocessableError as mr } from "./lib/isApiUnprocessableError.js";
18
+ import { isApiConflictError as fr } from "./lib/isApiConflictError.js";
19
+ import { isApiForbiddenError as pr } from "./lib/isApiForbiddenError.js";
20
+ import { isApiNotFoundError as mr } from "./lib/isApiNotFoundError.js";
21
+ import { isApiUnprocessableError as hr } from "./lib/isApiUnprocessableError.js";
21
22
  import "./lib/isUserDataNotFoundError.js";
22
- import { useGetUserDataQuery as hr } from "./lib/useGetUserDataQuery.js";
23
- import { useUpsertUserDataMutation as gr } from "./lib/useUpsertUserDataMutation.js";
23
+ import { useGetUserDataQuery as gr } from "./lib/useGetUserDataQuery.js";
24
+ import { useUpsertUserDataMutation as _r } from "./lib/useUpsertUserDataMutation.js";
24
25
  import "./lib/rest/zod.gen.js";
25
- import { Scope as _r } from "./lib/scopes.js";
26
- import { getAllPagesNextPageParam as vr, getAllPagesNextPaginationTokenParam as yr, isAllPagesResolving as br, useAutoFetchNextPage as xr } from "./lib/allPages.js";
27
- import { useAllBankAccountsQuery as Sr } from "./lib/bank-account/useAllBankAccountsQuery.js";
28
- import { useAllExternalBankAccountsQuery as Cr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
29
- import { useAllMerchantCategoryGroupsQuery as wr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
30
- import { useAllLedgerAccountsQuery as Tr, useLedgerAccountsQuery as Er } from "./lib/reference-data/useLedgerAccountsQuery.js";
31
- import { usePaymentTermsQuery as Dr } from "./lib/reference-data/usePaymentTermsQuery.js";
32
- import { useAllOrganizationRolesQuery as Or } from "./lib/role/useAllOrganizationRolesQuery.js";
33
- import { useRolePermissionsQueries as kr } from "./lib/role/useRolePermissionsQueries.js";
34
- import { useAllOrganizationUsersQuery as Ar } from "./lib/user/useAllOrganizationUsersQuery.js";
35
- import { useAcceptWidgetDisclosures as jr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
36
- import { useDisclosuresQuery as Mr } from "./lib/disclosures/useDisclosuresQuery.js";
37
- import { OnboardingSuppressionReason as Nr } from "./lib/onboardingSuppressionReason.js";
38
- import { useOrganizationOnboardingSuppression as Pr } from "./lib/useOrganizationOnboardingSuppression.js";
39
- export { l as EmbedApiProvider, Nr as OnboardingSuppressionReason, _r as Scope, Ue as activateCreditCardMutation, We as activateDebitCardMutation, c as attachTransportInterceptors, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ge as connectExternalBankAccountMutation, Ke as createAchMoneyMovementMutation, qe as createApplicationMutation, Je as createBankAccountMutation, Ye as createBookTransferMutation, Xe as createCheckDepositMutation, Ze as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, Qe as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, $e as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, et as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, tt as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, nt as disableUserMutation, k as downloadBankAccountTransactions, Ve as fetchWidgetInit, vr as getAllPagesNextPageParam, yr as getAllPagesNextPaginationTokenParam, rt as getAnalyticsPayablesOptions, it as getAnalyticsReceivablesOptions, A as getApplicationStatus, at as getApplicationStatusOptions, j as getApprovalPolicies, ot as getApprovalPoliciesOptions, st as getApprovalPoliciesQueryKey, M as getApprovalRequests, ct as getApprovalRequestsOptions, lt as getApprovalRequestsQueryKey, N as getBankAccountAccess, ut as getBankAccountAccessQueryKey, P as getBankAccountApplication, dt as getBankAccountOptions, ft as getBankAccountQueryKey, pt as getBankAccountTransactionsOptions, mt as getBankAccountTransactionsQueryKey, ht as getBankAccountTransfersOptions, gt as getBankAccountTransfersQueryKey, _t as getBankAccountsQueryKey, F as getCounterparts, vt as getCounterpartsIdAddressesOptions, yt as getCounterpartsIdAddressesQueryKey, bt as getCounterpartsIdBankAccountsOptions, xt as getCounterpartsIdBankAccountsQueryKey, St as getCounterpartsIdOptions, Ct as getCounterpartsIdQueryKey, wt as getCounterpartsOptions, Tt as getCounterpartsQueryKey, Et as getCreditCardByIdOptions, Dt as getCreditCardByIdQueryKey, Ot as getCreditCardsOptions, kt as getCreditCardsQueryKey, At as getDebitCardByIdOptions, jt as getDebitCardByIdQueryKey, Mt as getDebitCardCredentialsOptions, Nt as getDebitCardsOptions, Pt as getDebitCardsQueryKey, I as getDepartment, Ft as getDepartmentOptions, It as getDepartmentQueryKey, Lt as getEntitiesIdSettingsOptions, Rt as getEntitiesIdSettingsQueryKey, zt as getEntitiesMeOptions, Bt as getEntityUsersMyEntityOptions, Vt as getEntityUsersOptions, L as getExternalBankAccountAccess, Ht as getExternalBankAccountAccessQueryKey, Ut as getExternalBankAccountsOptions, Wt as getExternalBankAccountsQueryKey, Gt as getLedgerAccountsQueryKey, R as getLocation, Kt as getLocationOptions, qt as getLocationQueryKey, Jt as getMeasureUnitsOptions, Yt as getMeasureUnitsQueryKey, Xt as getOrganizationOptions, z as getPayables, Zt as getPayablesAnalyticsOptions, Qt as getPayablesAnalyticsQueryKey, B as getPayablesId, V as getPayablesIdHistory, $t as getPayablesIdHistoryOptions, en as getPayablesIdHistoryQueryKey, H as getPayablesIdLineItems, tn as getPayablesIdLineItemsOptions, nn as getPayablesIdLineItemsQueryKey, rn as getPayablesIdOptions, an as getPayablesIdQueryKey, on as getPayablesIdSuggestionsOptions, sn as getPayablesOptions, cn as getPayablesQueryKey, U as getPaymentRecords, ln as getPaymentRecordsOptions, un as getPaymentRecordsQueryKey, dn as getProductsIdOptions, fn as getProductsIdQueryKey, pn as getProductsOptions, mn as getProductsQueryKey, hn as getReceiptsIdQueryKey, gn as getReceiptsOptions, _n as getReceiptsQueryKey, W as getReceivables, vn as getReceivablesIdHistoryOptions, yn as getReceivablesIdHistoryQueryKey, bn as getReceivablesIdMailsOptions, xn as getReceivablesIdMailsQueryKey, Sn as getReceivablesIdOptions, Cn as getReceivablesIdPdfLinkOptions, wn as getReceivablesIdPdfLinkQueryKey, Tn as getReceivablesIdQueryKey, En as getReceivablesOptions, Dn as getReceivablesQueryKey, On as getTagsOptions, kn as getTagsQueryKey, An as getTransactionsIdQueryKey, jn as getTransactionsOptions, Mn as getTransactionsQueryKey, Nn as getTransactionsValidationsOptions, Pn as getTransactionsValidationsQueryKey, G as getUsers, Fn as getUsersOptions, In as getUsersQueryKey, Ln as getVelocityControlsQueryKey, Rn as grantBankAccountAccessMutation, zn as grantExternalBankAccountAccessMutation, He as hasAnyScope, t as invalidateAllClients, br as isAllPagesResolving, dr as isApiConflictError, fr as isApiForbiddenError, pr as isApiNotFoundError, mr as isApiUnprocessableError, Bn as linkExternalBankAccountMutation, K as listDepartments, Vn as listDepartmentsOptions, Hn as listDepartmentsQueryKey, q as listLocations, Un as listLocationsOptions, Wn as listLocationsQueryKey, J as listRoles, Gn as listRolesQueryKey, Y as manageBankAccountAccess, Kn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, qn as patchApprovalPoliciesIdMutation, X as patchCounterpartsId, Z as patchCounterpartsIdAddressesId, Q as patchCounterpartsIdBankAccountsId, Jn as patchEntitiesIdSettingsMutation, Yn as patchLedgerAccountsIdMutation, $ as patchMeasureUnitsId, ee as patchPayablesId, te as patchProductsId, Xn as patchReceiptsIdMutation, ne as patchReceivablesId, re as patchTagsId, Zn as postApprovalPoliciesMutation, ie as postApprovalRequestsIdApprove, ae as postApprovalRequestsIdReject, oe as postCounterparts, se as postCounterpartsIdAddresses, ce as postCounterpartsIdBankAccounts, le as postCounterpartsIdBankAccountsIdMakeDefault, Qn as postLedgerAccountsMutation, ue as postMeasureUnits, de as postPayables, fe as postPayablesIdApprovePaymentOperation, pe as postPayablesIdAttachFile, me as postPayablesIdCancel, he as postPayablesIdDuplicatesIdConfirm, ge as postPayablesIdDuplicatesIdDismiss, _e as postPayablesIdMarkAsPaid, ve as postPayablesIdReject, ye as postPayablesIdReopen, be as postPayablesIdSchedulePayment, xe as postPayablesIdSubmitForApproval, Se as postPayablesIdValidate, Ce as postPayablesUploadFromFile, we as postPaymentIntentsIdCancel, Te as postProducts, Ee as postReceivables, De as postReceivablesIdAccept, Oe as postReceivablesIdCancel, ke as postReceivablesIdClone, Ae as postReceivablesIdDecline, je as postReceivablesIdIssue, Me as postReceivablesIdMarkAsPaid, Ne as postReceivablesIdMarkAsPartiallyPaid, Pe as postReceivablesIdMarkAsUncollectible, Fe as postReceivablesIdSend, Ie as postTags, Le as putPayablesIdLineItems, $n as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, er as setDebitCardLockStatusMutation, tr as submitApplicationMutation, nr as unlinkExternalBankAccountMutation, a as unregisterQueryClient, rr as updateApplicationMutation, ir as updateBankAccountMutation, ar as updateDebitCardMutation, Re as updateDepartment, or as updateExternalBankAccountMutation, ze as updateLocation, Be as updateUser, jr as useAcceptWidgetDisclosures, Sr as useAllBankAccountsQuery, Cr as useAllExternalBankAccountsQuery, Tr as useAllLedgerAccountsQuery, wr as useAllMerchantCategoryGroupsQuery, Or as useAllOrganizationRolesQuery, Ar as useAllOrganizationUsersQuery, xr as useAutoFetchNextPage, ur as useCurrentUserQuery, Mr as useDisclosuresQuery, u as useEmbedApi, hr as useGetUserDataQuery, Er as useLedgerAccountsQuery, Pr as useOrganizationOnboardingSuppression, Dr as usePaymentTermsQuery, kr as useRolePermissionsQueries, gr as useUpsertUserDataMutation, sr as validateExternalBankAccountMutation, cr as verifyDebitCardMutation, lr as withAuthEpoch };
26
+ import { Scope as vr } from "./lib/scopes.js";
27
+ import { getAllPagesNextPageParam as yr, getAllPagesNextPaginationTokenParam as br, isAllPagesResolving as xr, useAutoFetchNextPage as Sr } from "./lib/allPages.js";
28
+ import { useAllBankAccountsQuery as Cr } from "./lib/bank-account/useAllBankAccountsQuery.js";
29
+ import { useAllExternalBankAccountsQuery as wr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
30
+ import { useAllMerchantCategoryGroupsQuery as Tr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
31
+ import { useAllLedgerAccountsQuery as Er, useLedgerAccountsQuery as Dr } from "./lib/reference-data/useLedgerAccountsQuery.js";
32
+ import { usePaymentTermsQuery as Or } from "./lib/reference-data/usePaymentTermsQuery.js";
33
+ import { useAllOrganizationRolesQuery as kr } from "./lib/role/useAllOrganizationRolesQuery.js";
34
+ import { useRolePermissionsQueries as Ar } from "./lib/role/useRolePermissionsQueries.js";
35
+ import { useAllOrganizationUsersQuery as jr } from "./lib/user/useAllOrganizationUsersQuery.js";
36
+ import { useAcceptWidgetDisclosures as Mr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
37
+ import { useDisclosuresQuery as Nr } from "./lib/disclosures/useDisclosuresQuery.js";
38
+ import { OnboardingSuppressionReason as Pr } from "./lib/onboardingSuppressionReason.js";
39
+ import { useOrganizationOnboardingSuppression as Fr } from "./lib/useOrganizationOnboardingSuppression.js";
40
+ export { u as EmbedApiProvider, Pr as OnboardingSuppressionReason, vr as Scope, Ue as activateCreditCardMutation, We as activateDebitCardMutation, l as attachTransportInterceptors, m as bulkUpdateDepartmentMembers, h as bulkUpdateLocationMembers, g as bulkUpdateRoleMembers, t as cancelAllClients, s as cloneEmbeddedClient, Ge as connectExternalBankAccountMutation, Ke as createAchMoneyMovementMutation, qe as createApplicationMutation, Je as createBankAccountMutation, Ye as createBookTransferMutation, Xe as createCheckDepositMutation, e as createClientSecretInstaller, Ze as createDebitCardMutation, _ as createDepartment, c as createEmbeddedClient, v as createLocation, y as createUser, Qe as createVelocityControlMutation, b as deactivateDepartment, x as deactivateLocation, $e as deleteApprovalPoliciesIdMutation, S as deleteCounterpartsId, C as deleteCounterpartsIdBankAccountsId, et as deleteLedgerAccountsIdMutation, w as deleteMeasureUnitsId, T as deletePayablesId, E as deletePayablesIdFile, D as deleteProductsId, tt as deleteReceiptsIdMutation, O as deleteReceivablesId, k as deleteTagsId, nt as disableUserMutation, A as downloadBankAccountTransactions, Ve as fetchWidgetInit, yr as getAllPagesNextPageParam, br as getAllPagesNextPaginationTokenParam, rt as getAnalyticsPayablesOptions, it as getAnalyticsReceivablesOptions, j as getApplicationStatus, at as getApplicationStatusOptions, M as getApprovalPolicies, ot as getApprovalPoliciesOptions, st as getApprovalPoliciesQueryKey, N as getApprovalRequests, ct as getApprovalRequestsOptions, lt as getApprovalRequestsQueryKey, P as getBankAccountAccess, ut as getBankAccountAccessQueryKey, dt as getBankAccountApplicationOptions, ft as getBankAccountOptions, pt as getBankAccountQueryKey, mt as getBankAccountTransactionsOptions, ht as getBankAccountTransactionsQueryKey, gt as getBankAccountTransfersOptions, _t as getBankAccountTransfersQueryKey, vt as getBankAccountsQueryKey, F as getCounterparts, yt as getCounterpartsIdAddressesOptions, bt as getCounterpartsIdAddressesQueryKey, xt as getCounterpartsIdBankAccountsOptions, St as getCounterpartsIdBankAccountsQueryKey, Ct as getCounterpartsIdOptions, wt as getCounterpartsIdQueryKey, Tt as getCounterpartsOptions, Et as getCounterpartsQueryKey, Dt as getCreditCardByIdOptions, Ot as getCreditCardByIdQueryKey, kt as getCreditCardsOptions, At as getCreditCardsQueryKey, jt as getDebitCardByIdOptions, Mt as getDebitCardByIdQueryKey, Nt as getDebitCardCredentialsOptions, Pt as getDebitCardsOptions, Ft as getDebitCardsQueryKey, I as getDepartment, It as getDepartmentOptions, Lt as getDepartmentQueryKey, Rt as getEntitiesIdSettingsOptions, zt as getEntitiesIdSettingsQueryKey, Bt as getEntitiesMeOptions, Vt as getEntityUsersMyEntityOptions, Ht as getEntityUsersOptions, L as getExternalBankAccountAccess, Ut as getExternalBankAccountAccessQueryKey, Wt as getExternalBankAccountsOptions, Gt as getExternalBankAccountsQueryKey, Kt as getLedgerAccountsQueryKey, R as getLocation, qt as getLocationOptions, Jt as getLocationQueryKey, Yt as getMeasureUnitsOptions, Xt as getMeasureUnitsQueryKey, Zt as getOrganizationOptions, z as getPayables, Qt as getPayablesAnalyticsOptions, $t as getPayablesAnalyticsQueryKey, B as getPayablesId, V as getPayablesIdHistory, en as getPayablesIdHistoryOptions, tn as getPayablesIdHistoryQueryKey, H as getPayablesIdLineItems, nn as getPayablesIdLineItemsOptions, rn as getPayablesIdLineItemsQueryKey, an as getPayablesIdOptions, on as getPayablesIdQueryKey, sn as getPayablesIdSuggestionsOptions, cn as getPayablesOptions, ln as getPayablesQueryKey, U as getPaymentRecords, un as getPaymentRecordsOptions, dn as getPaymentRecordsQueryKey, fn as getProductsIdOptions, pn as getProductsIdQueryKey, mn as getProductsOptions, hn as getProductsQueryKey, gn as getReceiptsIdQueryKey, _n as getReceiptsOptions, vn as getReceiptsQueryKey, W as getReceivables, yn as getReceivablesIdHistoryOptions, bn as getReceivablesIdHistoryQueryKey, xn as getReceivablesIdMailsOptions, Sn as getReceivablesIdMailsQueryKey, Cn as getReceivablesIdOptions, wn as getReceivablesIdPdfLinkOptions, Tn as getReceivablesIdPdfLinkQueryKey, En as getReceivablesIdQueryKey, Dn as getReceivablesOptions, On as getReceivablesQueryKey, kn as getTagsOptions, An as getTagsQueryKey, jn as getTransactionsIdQueryKey, Mn as getTransactionsOptions, Nn as getTransactionsQueryKey, Pn as getTransactionsValidationsOptions, Fn as getTransactionsValidationsQueryKey, G as getUsers, In as getUsersOptions, Ln as getUsersQueryKey, Rn as getVelocityControlsQueryKey, zn as grantBankAccountAccessMutation, Bn as grantExternalBankAccountAccessMutation, He as hasAnyScope, n as invalidateAllClients, xr as isAllPagesResolving, fr as isApiConflictError, pr as isApiForbiddenError, mr as isApiNotFoundError, hr as isApiUnprocessableError, Vn as linkExternalBankAccountMutation, K as listDepartments, Hn as listDepartmentsOptions, Un as listDepartmentsQueryKey, q as listLocations, Wn as listLocationsOptions, Gn as listLocationsQueryKey, J as listRoles, Kn as listRolesQueryKey, Y as manageBankAccountAccess, qn as manageDebitCardAccessMutation, f as optionalOrganizationHeaders, p as organizationHeaders, Jn as patchApprovalPoliciesIdMutation, X as patchCounterpartsId, Z as patchCounterpartsIdAddressesId, Q as patchCounterpartsIdBankAccountsId, Yn as patchEntitiesIdSettingsMutation, Xn as patchLedgerAccountsIdMutation, $ as patchMeasureUnitsId, ee as patchPayablesId, te as patchProductsId, Zn as patchReceiptsIdMutation, ne as patchReceivablesId, re as patchTagsId, Qn as postApprovalPoliciesMutation, ie as postApprovalRequestsIdApprove, ae as postApprovalRequestsIdReject, oe as postCounterparts, se as postCounterpartsIdAddresses, ce as postCounterpartsIdBankAccounts, le as postCounterpartsIdBankAccountsIdMakeDefault, $n as postLedgerAccountsMutation, ue as postMeasureUnits, de as postPayables, fe as postPayablesIdApprovePaymentOperation, pe as postPayablesIdAttachFile, me as postPayablesIdCancel, he as postPayablesIdDuplicatesIdConfirm, ge as postPayablesIdDuplicatesIdDismiss, _e as postPayablesIdMarkAsPaid, ve as postPayablesIdReject, ye as postPayablesIdReopen, be as postPayablesIdSchedulePayment, xe as postPayablesIdSubmitForApproval, Se as postPayablesIdValidate, Ce as postPayablesUploadFromFile, we as postPaymentIntentsIdCancel, Te as postProducts, Ee as postReceivables, De as postReceivablesIdAccept, Oe as postReceivablesIdCancel, ke as postReceivablesIdClone, Ae as postReceivablesIdDecline, je as postReceivablesIdIssue, Me as postReceivablesIdMarkAsPaid, Ne as postReceivablesIdMarkAsPartiallyPaid, Pe as postReceivablesIdMarkAsUncollectible, Fe as postReceivablesIdSend, Ie as postTags, Le as putPayablesIdLineItems, er as putTransactionsValidationsMutation, r as registerQueryClient, i as removeInactiveFromAllClients, a as setAllClientsQueriesData, tr as setDebitCardLockStatusMutation, nr as submitApplicationMutation, rr as unlinkExternalBankAccountMutation, o as unregisterQueryClient, ir as updateApplicationMutation, ar as updateBankAccountMutation, or as updateDebitCardMutation, Re as updateDepartment, sr as updateExternalBankAccountMutation, ze as updateLocation, Be as updateUser, Mr as useAcceptWidgetDisclosures, Cr as useAllBankAccountsQuery, wr as useAllExternalBankAccountsQuery, Er as useAllLedgerAccountsQuery, Tr as useAllMerchantCategoryGroupsQuery, kr as useAllOrganizationRolesQuery, jr as useAllOrganizationUsersQuery, Sr as useAutoFetchNextPage, dr as useCurrentUserQuery, Nr as useDisclosuresQuery, d as useEmbedApi, gr as useGetUserDataQuery, Dr as useLedgerAccountsQuery, Fr as useOrganizationOnboardingSuppression, Or as usePaymentTermsQuery, Ar as useRolePermissionsQueries, _r as useUpsertUserDataMutation, cr as validateExternalBankAccountMutation, lr as verifyDebitCardMutation, ur as withAuthEpoch };
@@ -10,20 +10,22 @@ var a = t({
10
10
  client: e,
11
11
  authEpoch: 0
12
12
  });
13
- function o({ children: e, client: t, widgetToken: n, organizationId: o, authEpoch: s }) {
14
- let c = r(() => ({
13
+ function o({ children: e, client: t, widgetToken: n, organizationId: o, installClientSecret: s, authEpoch: c }) {
14
+ let l = r(() => ({
15
15
  client: t,
16
16
  organizationId: o,
17
17
  widgetToken: n,
18
- authEpoch: s
18
+ installClientSecret: s,
19
+ authEpoch: c
19
20
  }), [
20
21
  t,
21
22
  o,
22
23
  n,
23
- s
24
+ s,
25
+ c
24
26
  ]);
25
27
  return /* @__PURE__ */ i(a.Provider, {
26
- value: c,
28
+ value: l,
27
29
  children: e
28
30
  });
29
31
  }