@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.
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +28 -21
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index2.js +7 -23
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index3.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index7.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +3 -43
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +31 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +31 -30
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +186 -175
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopedClientSecret.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/transportInterceptors.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +39 -36
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +86 -83
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/client.js +3 -2
- package/package.json +1 -1
- 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 {
|
|
3
|
-
import {
|
|
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
|
|
6
|
+
import { attachTransportInterceptors as l } from "./lib/transportInterceptors.js";
|
|
6
7
|
import "./lib/rest/client.gen.js";
|
|
7
|
-
import { EmbedApiProvider as
|
|
8
|
-
import { optionalOrganizationHeaders as
|
|
9
|
-
import { bulkUpdateDepartmentMembers as
|
|
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,
|
|
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
|
|
15
|
-
import { useCurrentUserQuery as
|
|
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
|
|
18
|
-
import { isApiForbiddenError as
|
|
19
|
-
import { isApiNotFoundError as
|
|
20
|
-
import { isApiUnprocessableError as
|
|
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
|
|
23
|
-
import { useUpsertUserDataMutation as
|
|
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
|
|
26
|
-
import { getAllPagesNextPageParam as
|
|
27
|
-
import { useAllBankAccountsQuery as
|
|
28
|
-
import { useAllExternalBankAccountsQuery as
|
|
29
|
-
import { useAllMerchantCategoryGroupsQuery as
|
|
30
|
-
import { useAllLedgerAccountsQuery as
|
|
31
|
-
import { usePaymentTermsQuery as
|
|
32
|
-
import { useAllOrganizationRolesQuery as
|
|
33
|
-
import { useRolePermissionsQueries as
|
|
34
|
-
import { useAllOrganizationUsersQuery as
|
|
35
|
-
import { useAcceptWidgetDisclosures as
|
|
36
|
-
import { useDisclosuresQuery as
|
|
37
|
-
import { OnboardingSuppressionReason as
|
|
38
|
-
import { useOrganizationOnboardingSuppression as
|
|
39
|
-
export {
|
|
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 };
|
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js
CHANGED
|
@@ -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,
|
|
14
|
-
let
|
|
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
|
-
|
|
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:
|
|
28
|
+
value: l,
|
|
27
29
|
children: e
|
|
28
30
|
});
|
|
29
31
|
}
|