@tesouro/embedded-components-react 0.5.200 → 0.5.202
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/index.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +20 -0
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +65 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +174 -234
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +32 -65
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +143 -102
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +48 -221
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +303 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +75 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +114 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +237 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index4.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +30 -215
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +211 -370
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index7.js +64 -62
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +409 -187
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +73 -40
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +0 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +10 -263
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +1 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +241 -363
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +66 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +406 -76
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +92 -330
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +344 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +157 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +24 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +3 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +18 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +37 -37
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +54 -54
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +115 -94
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import "./lib/finopsApiVersion.js";
|
|
2
2
|
import "./lib/rest/client.gen.js";
|
|
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,
|
|
4
|
-
import { activateCreditCardMutation as
|
|
5
|
-
import { authEpochPlaceholder as
|
|
6
|
-
import { applicationStatusInvalidationKey as
|
|
7
|
-
import { createClientSecretInstaller as
|
|
8
|
-
import { cancelAllClients as
|
|
9
|
-
import { cloneEmbeddedClient as
|
|
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, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, getUsers as I, listDepartments as L, listLocations as R, listRoles as z, manageBankAccountAccess as B, manageDebitCardAccess as V, patchCounterpartsId as H, patchCounterpartsIdAddressesId as U, patchCounterpartsIdBankAccountsId as W, patchEntitiesIdSettings as G, patchMeasureUnitsId as K, patchPayablesId as q, patchProductsId as J, patchReceivablesId as Y, patchTransactionsId as X, postApprovalRequestsIdApprove as Z, postApprovalRequestsIdReject as Q, postCounterparts as $, postCounterpartsIdAddresses as ee, postCounterpartsIdBankAccounts as te, postCounterpartsIdBankAccountsIdMakeDefault as ne, postFiles as re, postMeasureUnits as ie, postPayables as ae, postPayablesIdApprovePaymentOperation as oe, postPayablesIdAttachFile as se, postPayablesIdCancel as ce, postPayablesIdDuplicatesIdConfirm as le, postPayablesIdDuplicatesIdDismiss as ue, postPayablesIdMarkAsPaid as de, postPayablesIdReject as fe, postPayablesIdReopen as pe, postPayablesIdSchedulePayment as me, postPayablesIdSubmitForApproval as he, postPayablesIdValidate as ge, postPayablesUploadFromFile as _e, postPaymentIntentsIdCancel as ve, postProducts as ye, postReceivables as be, postReceivablesIdAccept as xe, postReceivablesIdCancel as Se, postReceivablesIdClone as Ce, postReceivablesIdDecline as we, postReceivablesIdIssue as Te, postReceivablesIdMarkAsPaid as Ee, postReceivablesIdMarkAsPartiallyPaid as De, postReceivablesIdMarkAsUncollectible as Oe, postReceivablesIdSend as ke, postTransactionsIdApprove as Ae, postTransactionsIdReject as je, postTransactionsIdReopen as Me, postTransactionsIdSubmit as Ne, putEntitiesIdLogo as Pe, putPayablesIdLineItems as Fe, updateDepartment as Ie, updateLocation as Le, updateUser as Re } from "./lib/rest/sdk.gen.js";
|
|
4
|
+
import { activateCreditCardMutation as ze, activateDebitCardMutation as Be, connectExternalBankAccountMutation as Ve, createAchMoneyMovementMutation as He, createApplicationMutation as Ue, createBankAccountMutation as We, createBookTransferMutation as Ge, createCheckDepositMutation as Ke, createDebitCardMutation as qe, createVelocityControlMutation as Je, deleteApprovalPoliciesIdMutation as Ye, deleteBankAccountApplicationMutation as Xe, deleteLedgerAccountsIdMutation as Ze, deleteReceiptsIdMutation as Qe, disableUserMutation as $e, getAnalyticsPayablesOptions as et, getAnalyticsPayablesQueryKey as tt, getAnalyticsReceiptsOptions as nt, getAnalyticsReceiptsQueryKey as rt, getAnalyticsReceivablesOptions as it, getAnalyticsReceivablesQueryKey as at, getAnalyticsTransactionsOptions as ot, getAnalyticsTransactionsQueryKey as st, getApprovalPoliciesOptions as ct, getApprovalPoliciesQueryKey as lt, getApprovalRequestsOptions as ut, getApprovalRequestsQueryKey as dt, getBankAccountAccessQueryKey as ft, getBankAccountApplicationOptions as pt, getBankAccountOptions as mt, getBankAccountQueryKey as ht, getBankAccountStatementsOptions as gt, getBankAccountTransactionsOptions as _t, getBankAccountTransactionsQueryKey as vt, getBankAccountTransfersOptions as yt, getBankAccountTransfersQueryKey as bt, getBankAccountsQueryKey as xt, getCounterpartsIdAddressesOptions as St, getCounterpartsIdAddressesQueryKey as Ct, getCounterpartsIdBankAccountsOptions as wt, getCounterpartsIdBankAccountsQueryKey as Tt, getCounterpartsIdOptions as Et, getCounterpartsIdQueryKey as Dt, getCounterpartsOptions as Ot, getCounterpartsQueryKey as kt, getCreditCardByIdOptions as At, getCreditCardByIdQueryKey as jt, getCreditCardsOptions as Mt, getCreditCardsQueryKey as Nt, getDebitCardByIdOptions as Pt, getDebitCardByIdQueryKey as Ft, getDebitCardCredentialsOptions as It, getDebitCardsOptions as Lt, getDebitCardsQueryKey as Rt, getDepartmentOptions as zt, getDepartmentQueryKey as Bt, getDepositableBankAccountsOptions as Vt, getDocumentsIdNextNumbersOptions as Ht, getDocumentsIdNextNumbersQueryKey as Ut, getEntitiesIdSettingsOptions as Wt, getEntitiesIdSettingsQueryKey as Gt, getEntityUsersMyEntityOptions as Kt, getEntityUsersMyEntityQueryKey as qt, getEntityUsersOptions as Jt, getExternalBankAccountAccessQueryKey as Yt, getExternalBankAccountsOptions as Xt, getExternalBankAccountsQueryKey as Zt, getFilesQueryKey as Qt, getLedgerAccountsQueryKey as $t, getLocationOptions as en, getLocationQueryKey as tn, getMeasureUnitsOptions as nn, getMeasureUnitsQueryKey as rn, getOrganizationOptions as an, getPayablesIdHistoryOptions as on, getPayablesIdHistoryQueryKey as sn, getPayablesIdLineItemsOptions as cn, getPayablesIdLineItemsQueryKey as ln, getPayablesIdOptions as un, getPayablesIdQueryKey as dn, getPayablesIdSuggestionsOptions as fn, getPayablesOptions as pn, getPayablesQueryKey as mn, getPaymentRecordsOptions as hn, getPaymentRecordsQueryKey as gn, getProductsIdOptions as _n, getProductsIdQueryKey as vn, getProductsOptions as yn, getProductsQueryKey as bn, getReceiptsIdQueryKey as xn, getReceiptsOptions as Sn, getReceiptsQueryKey as Cn, getReceivablesIdHistoryOptions as wn, getReceivablesIdHistoryQueryKey as Tn, getReceivablesIdMailsOptions as En, getReceivablesIdMailsQueryKey as Dn, getReceivablesIdOptions as On, getReceivablesIdPdfLinkOptions as kn, getReceivablesIdPdfLinkQueryKey as An, getReceivablesIdQueryKey as jn, getReceivablesOptions as Mn, getReceivablesQueryKey as Nn, getTransactionsIdExpenseHistoryOptions as Pn, getTransactionsIdExpenseHistoryQueryKey as Fn, getTransactionsIdOptions as In, getTransactionsIdQueryKey as Ln, getTransactionsOptions as Rn, getTransactionsQueryKey as zn, getTransactionsValidationsOptions as Bn, getTransactionsValidationsQueryKey as Vn, getUsersOptions as Hn, getUsersQueryKey as Un, getVelocityControlsQueryKey as Wn, grantBankAccountAccessMutation as Gn, grantExternalBankAccountAccessMutation as Kn, linkExternalBankAccountMutation as qn, listDepartmentsOptions as Jn, listDepartmentsQueryKey as Yn, listLocationsOptions as Xn, listLocationsQueryKey as Zn, listRolesQueryKey as Qn, manageDebitCardAccessMutation as $n, patchApprovalPoliciesIdMutation as er, patchLedgerAccountsIdMutation as tr, patchReceiptsIdMutation as nr, postApprovalPoliciesMutation as rr, postLedgerAccountsMutation as ir, postReceiptsUploadFromFileMutation as ar, putTransactionsValidationsMutation as or, setDebitCardLockStatusMutation as sr, submitApplicationMutation as cr, unlinkExternalBankAccountMutation as lr, updateApplicationMutation as ur, updateBankAccountMutation as dr, updateDebitCardMutation as fr, updateExternalBankAccountMutation as pr, validateExternalBankAccountMutation as mr, verifyDebitCardMutation as hr } from "./lib/rest/@tanstack/react-query.gen.js";
|
|
5
|
+
import { authEpochPlaceholder as gr, withAuthEpoch as _r } from "./lib/withAuthEpoch.js";
|
|
6
|
+
import { applicationStatusInvalidationKey as vr, applicationStatusQueryOptions as yr } from "./lib/applicationStatusQueryOptions.js";
|
|
7
|
+
import { createClientSecretInstaller as br } from "./lib/scopedClientSecret.js";
|
|
8
|
+
import { cancelAllClients as xr, invalidateAllClients as Sr, registerQueryClient as Cr, removeInactiveFromAllClients as wr, setAllClientsQueriesData as Tr, unregisterQueryClient as Er } from "./lib/clientRegistry.js";
|
|
9
|
+
import { cloneEmbeddedClient as Dr, createEmbeddedClient as Or } from "./lib/createEmbeddedClient.js";
|
|
10
10
|
import "./lib/widgetGatewayHosts.js";
|
|
11
|
-
import { attachTransportInterceptors as
|
|
12
|
-
import { EmbedApiProvider as
|
|
13
|
-
import { optionalOrganizationHeaders as
|
|
14
|
-
import { fetchWidgetInit as
|
|
15
|
-
import { hasAnyScope as
|
|
11
|
+
import { attachTransportInterceptors as kr } from "./lib/transportInterceptors.js";
|
|
12
|
+
import { EmbedApiProvider as Ar, useEmbedApi as jr } from "./lib/EmbedApiContext.js";
|
|
13
|
+
import { optionalOrganizationHeaders as Mr, organizationHeaders as Nr } from "./lib/organizationHeaders.js";
|
|
14
|
+
import { fetchWidgetInit as Pr } from "./lib/fetchWidgetInit.js";
|
|
15
|
+
import { hasAnyScope as Fr } from "./lib/hasAnyScope.js";
|
|
16
16
|
import "./lib/queryKeys.js";
|
|
17
|
-
import { useCurrentUserQuery as
|
|
18
|
-
import { useMailboxAddress as
|
|
17
|
+
import { useCurrentUserQuery as Ir } from "./lib/useCurrentUserQuery.js";
|
|
18
|
+
import { useMailboxAddress as Lr } from "./lib/useMailboxAddress.js";
|
|
19
19
|
import "./lib/apiErrorStatus.js";
|
|
20
|
-
import { isApiConflictError as
|
|
21
|
-
import { isApiForbiddenError as
|
|
22
|
-
import { isApiNotFoundError as
|
|
23
|
-
import { isApiUnprocessableError as
|
|
20
|
+
import { isApiConflictError as Rr } from "./lib/isApiConflictError.js";
|
|
21
|
+
import { isApiForbiddenError as zr } from "./lib/isApiForbiddenError.js";
|
|
22
|
+
import { isApiNotFoundError as Br } from "./lib/isApiNotFoundError.js";
|
|
23
|
+
import { isApiUnprocessableError as Vr } from "./lib/isApiUnprocessableError.js";
|
|
24
24
|
import "./lib/isUserDataNotFoundError.js";
|
|
25
|
-
import { useGetUserDataQuery as
|
|
26
|
-
import { useUpsertUserDataMutation as
|
|
25
|
+
import { useGetUserDataQuery as Hr } from "./lib/useGetUserDataQuery.js";
|
|
26
|
+
import { useUpsertUserDataMutation as Ur } from "./lib/useUpsertUserDataMutation.js";
|
|
27
27
|
import "./lib/rest/zod.gen.js";
|
|
28
|
-
import { Scope as
|
|
29
|
-
import { getAllPagesNextPageParam as
|
|
30
|
-
import { useAllBankAccountsQuery as
|
|
31
|
-
import { useAllDebitCardsQuery as
|
|
32
|
-
import { useAllExternalBankAccountsQuery as
|
|
33
|
-
import { useAllMerchantCategoryGroupsQuery as
|
|
34
|
-
import { useAllLedgerAccountsQuery as
|
|
35
|
-
import { usePaymentTermsQuery as
|
|
36
|
-
import { useAllOrganizationRolesQuery as
|
|
37
|
-
import { useRolePermissionsQueries as
|
|
38
|
-
import { useAllOrganizationUsersQuery as
|
|
39
|
-
import { personDisclosure as
|
|
40
|
-
import { useAcceptWidgetDisclosures as
|
|
41
|
-
import { useDisclosuresQuery as
|
|
42
|
-
import { OnboardingSuppressionReason as
|
|
43
|
-
import { useOrganizationOnboardingSuppression as
|
|
44
|
-
export {
|
|
28
|
+
import { Scope as Wr, isScope as Gr } from "./lib/scopes.js";
|
|
29
|
+
import { getAllPagesNextPageParam as Kr, getAllPagesNextPaginationTokenParam as qr, isAllPagesResolving as Jr, useAutoFetchNextPage as Yr } from "./lib/allPages.js";
|
|
30
|
+
import { useAllBankAccountsQuery as Xr } from "./lib/bank-account/useAllBankAccountsQuery.js";
|
|
31
|
+
import { useAllDebitCardsQuery as Zr } from "./lib/debit-card/useAllDebitCardsQuery.js";
|
|
32
|
+
import { useAllExternalBankAccountsQuery as Qr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
|
|
33
|
+
import { useAllMerchantCategoryGroupsQuery as $r } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
|
|
34
|
+
import { useAllLedgerAccountsQuery as ei, useLedgerAccountsQuery as ti } from "./lib/reference-data/useLedgerAccountsQuery.js";
|
|
35
|
+
import { usePaymentTermsQuery as ni } from "./lib/reference-data/usePaymentTermsQuery.js";
|
|
36
|
+
import { useAllOrganizationRolesQuery as ri } from "./lib/role/useAllOrganizationRolesQuery.js";
|
|
37
|
+
import { useRolePermissionsQueries as ii } from "./lib/role/useRolePermissionsQueries.js";
|
|
38
|
+
import { useAllOrganizationUsersQuery as ai } from "./lib/user/useAllOrganizationUsersQuery.js";
|
|
39
|
+
import { personDisclosure as oi } from "./lib/disclosures/personDisclosure.js";
|
|
40
|
+
import { useAcceptWidgetDisclosures as si } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
|
|
41
|
+
import { useDisclosuresQuery as ci } from "./lib/disclosures/useDisclosuresQuery.js";
|
|
42
|
+
import { OnboardingSuppressionReason as li } from "./lib/onboardingSuppressionReason.js";
|
|
43
|
+
import { useOrganizationOnboardingSuppression as ui } from "./lib/useOrganizationOnboardingSuppression.js";
|
|
44
|
+
export { Ar as EmbedApiProvider, li as OnboardingSuppressionReason, Wr as Scope, ze as activateCreditCardMutation, Be as activateDebitCardMutation, vr as applicationStatusInvalidationKey, yr as applicationStatusQueryOptions, kr as attachTransportInterceptors, gr as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, xr as cancelAllClients, Dr as cloneEmbeddedClient, Ve as connectExternalBankAccountMutation, He as createAchMoneyMovementMutation, Ue as createApplicationMutation, We as createBankAccountMutation, Ge as createBookTransferMutation, Ke as createCheckDepositMutation, br as createClientSecretInstaller, qe as createDebitCardMutation, r as createDepartment, Or as createEmbeddedClient, i as createLocation, a as createUser, Je as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, Ye as deleteApprovalPoliciesIdMutation, Xe as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, Ze as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, Qe as deleteReceiptsIdMutation, g as deleteReceivablesId, $e as disableUserMutation, _ as downloadBankAccountTransactions, Pr as fetchWidgetInit, Kr as getAllPagesNextPageParam, qr as getAllPagesNextPaginationTokenParam, et as getAnalyticsPayablesOptions, tt as getAnalyticsPayablesQueryKey, nt as getAnalyticsReceiptsOptions, rt as getAnalyticsReceiptsQueryKey, it as getAnalyticsReceivablesOptions, at as getAnalyticsReceivablesQueryKey, ot as getAnalyticsTransactionsOptions, st as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, ct as getApprovalPoliciesOptions, lt as getApprovalPoliciesQueryKey, b as getApprovalRequests, ut as getApprovalRequestsOptions, dt as getApprovalRequestsQueryKey, x as getBankAccountAccess, ft as getBankAccountAccessQueryKey, pt as getBankAccountApplicationOptions, mt as getBankAccountOptions, ht as getBankAccountQueryKey, S as getBankAccountStatement, gt as getBankAccountStatementsOptions, _t as getBankAccountTransactionsOptions, vt as getBankAccountTransactionsQueryKey, yt as getBankAccountTransfersOptions, bt as getBankAccountTransfersQueryKey, xt as getBankAccountsQueryKey, C as getCounterparts, St as getCounterpartsIdAddressesOptions, Ct as getCounterpartsIdAddressesQueryKey, wt as getCounterpartsIdBankAccountsOptions, Tt as getCounterpartsIdBankAccountsQueryKey, Et as getCounterpartsIdOptions, Dt as getCounterpartsIdQueryKey, Ot as getCounterpartsOptions, kt as getCounterpartsQueryKey, At as getCreditCardByIdOptions, jt as getCreditCardByIdQueryKey, Mt as getCreditCardsOptions, Nt as getCreditCardsQueryKey, Pt as getDebitCardByIdOptions, Ft as getDebitCardByIdQueryKey, It as getDebitCardCredentialsOptions, Lt as getDebitCardsOptions, Rt as getDebitCardsQueryKey, w as getDepartment, zt as getDepartmentOptions, Bt as getDepartmentQueryKey, T as getDepositableBankAccounts, Vt as getDepositableBankAccountsOptions, Ht as getDocumentsIdNextNumbersOptions, Ut as getDocumentsIdNextNumbersQueryKey, Wt as getEntitiesIdSettingsOptions, Gt as getEntitiesIdSettingsQueryKey, Kt as getEntityUsersMyEntityOptions, qt as getEntityUsersMyEntityQueryKey, Jt as getEntityUsersOptions, E as getExternalBankAccountAccess, Yt as getExternalBankAccountAccessQueryKey, Xt as getExternalBankAccountsOptions, Zt as getExternalBankAccountsQueryKey, Qt as getFilesQueryKey, $t as getLedgerAccountsQueryKey, D as getLocation, en as getLocationOptions, tn as getLocationQueryKey, nn as getMeasureUnitsOptions, rn as getMeasureUnitsQueryKey, an as getOrganizationOptions, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, on as getPayablesIdHistoryOptions, sn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, cn as getPayablesIdLineItemsOptions, ln as getPayablesIdLineItemsQueryKey, un as getPayablesIdOptions, dn as getPayablesIdQueryKey, fn as getPayablesIdSuggestionsOptions, pn as getPayablesOptions, mn as getPayablesQueryKey, M as getPaymentRecords, hn as getPaymentRecordsOptions, gn as getPaymentRecordsQueryKey, N as getProducts, _n as getProductsIdOptions, vn as getProductsIdQueryKey, yn as getProductsOptions, bn as getProductsQueryKey, P as getReceipts, xn as getReceiptsIdQueryKey, Sn as getReceiptsOptions, Cn as getReceiptsQueryKey, F as getReceivables, wn as getReceivablesIdHistoryOptions, Tn as getReceivablesIdHistoryQueryKey, En as getReceivablesIdMailsOptions, Dn as getReceivablesIdMailsQueryKey, On as getReceivablesIdOptions, kn as getReceivablesIdPdfLinkOptions, An as getReceivablesIdPdfLinkQueryKey, jn as getReceivablesIdQueryKey, Mn as getReceivablesOptions, Nn as getReceivablesQueryKey, Pn as getTransactionsIdExpenseHistoryOptions, Fn as getTransactionsIdExpenseHistoryQueryKey, In as getTransactionsIdOptions, Ln as getTransactionsIdQueryKey, Rn as getTransactionsOptions, zn as getTransactionsQueryKey, Bn as getTransactionsValidationsOptions, Vn as getTransactionsValidationsQueryKey, I as getUsers, Hn as getUsersOptions, Un as getUsersQueryKey, Wn as getVelocityControlsQueryKey, Gn as grantBankAccountAccessMutation, Kn as grantExternalBankAccountAccessMutation, Fr as hasAnyScope, Sr as invalidateAllClients, Jr as isAllPagesResolving, Rr as isApiConflictError, zr as isApiForbiddenError, Br as isApiNotFoundError, Vr as isApiUnprocessableError, Gr as isScope, qn as linkExternalBankAccountMutation, L as listDepartments, Jn as listDepartmentsOptions, Yn as listDepartmentsQueryKey, R as listLocations, Xn as listLocationsOptions, Zn as listLocationsQueryKey, z as listRoles, Qn as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, $n as manageDebitCardAccessMutation, Mr as optionalOrganizationHeaders, Nr as organizationHeaders, er as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, tr as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, nr as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchTransactionsId, oi as personDisclosure, rr as postApprovalPoliciesMutation, Z as postApprovalRequestsIdApprove, Q as postApprovalRequestsIdReject, $ as postCounterparts, ee as postCounterpartsIdAddresses, te as postCounterpartsIdBankAccounts, ne as postCounterpartsIdBankAccountsIdMakeDefault, re as postFiles, ir as postLedgerAccountsMutation, ie as postMeasureUnits, ae as postPayables, oe as postPayablesIdApprovePaymentOperation, se as postPayablesIdAttachFile, ce as postPayablesIdCancel, le as postPayablesIdDuplicatesIdConfirm, ue as postPayablesIdDuplicatesIdDismiss, de as postPayablesIdMarkAsPaid, fe as postPayablesIdReject, pe as postPayablesIdReopen, me as postPayablesIdSchedulePayment, he as postPayablesIdSubmitForApproval, ge as postPayablesIdValidate, _e as postPayablesUploadFromFile, ve as postPaymentIntentsIdCancel, ye as postProducts, ar as postReceiptsUploadFromFileMutation, be as postReceivables, xe as postReceivablesIdAccept, Se as postReceivablesIdCancel, Ce as postReceivablesIdClone, we as postReceivablesIdDecline, Te as postReceivablesIdIssue, Ee as postReceivablesIdMarkAsPaid, De as postReceivablesIdMarkAsPartiallyPaid, Oe as postReceivablesIdMarkAsUncollectible, ke as postReceivablesIdSend, Ae as postTransactionsIdApprove, je as postTransactionsIdReject, Me as postTransactionsIdReopen, Ne as postTransactionsIdSubmit, Pe as putEntitiesIdLogo, Fe as putPayablesIdLineItems, or as putTransactionsValidationsMutation, Cr as registerQueryClient, wr as removeInactiveFromAllClients, Tr as setAllClientsQueriesData, sr as setDebitCardLockStatusMutation, cr as submitApplicationMutation, lr as unlinkExternalBankAccountMutation, Er as unregisterQueryClient, ur as updateApplicationMutation, dr as updateBankAccountMutation, fr as updateDebitCardMutation, Ie as updateDepartment, pr as updateExternalBankAccountMutation, Le as updateLocation, Re as updateUser, si as useAcceptWidgetDisclosures, Xr as useAllBankAccountsQuery, Zr as useAllDebitCardsQuery, Qr as useAllExternalBankAccountsQuery, ei as useAllLedgerAccountsQuery, $r as useAllMerchantCategoryGroupsQuery, ri as useAllOrganizationRolesQuery, ai as useAllOrganizationUsersQuery, Yr as useAutoFetchNextPage, Ir as useCurrentUserQuery, ci as useDisclosuresQuery, jr as useEmbedApi, Hr as useGetUserDataQuery, ti as useLedgerAccountsQuery, Lr as useMailboxAddress, ui as useOrganizationOnboardingSuppression, ni as usePaymentTermsQuery, ii as useRolePermissionsQueries, Ur as useUpsertUserDataMutation, mr as validateExternalBankAccountMutation, hr as verifyDebitCardMutation, _r as withAuthEpoch };
|
|
@@ -527,7 +527,7 @@ var s = (t, n, r, i) => {
|
|
|
527
527
|
return r;
|
|
528
528
|
},
|
|
529
529
|
queryKey: Gn(e)
|
|
530
|
-
}), I = (e) => s("getLedgerAccounts", e),
|
|
530
|
+
}), qn = (e) => s("getFiles", e), I = (e) => s("getLedgerAccounts", e), Jn = (e) => o({
|
|
531
531
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
532
532
|
let { data: r } = await Be({
|
|
533
533
|
...e,
|
|
@@ -538,28 +538,28 @@ var s = (t, n, r, i) => {
|
|
|
538
538
|
return r;
|
|
539
539
|
},
|
|
540
540
|
queryKey: I(e)
|
|
541
|
-
}),
|
|
541
|
+
}), Yn = (e) => ({ mutationFn: async (t) => {
|
|
542
542
|
let { data: n } = await Tt({
|
|
543
543
|
...e,
|
|
544
544
|
...t,
|
|
545
545
|
throwOnError: !0
|
|
546
546
|
});
|
|
547
547
|
return n;
|
|
548
|
-
} }),
|
|
548
|
+
} }), Xn = (e) => ({ mutationFn: async (t) => {
|
|
549
549
|
let { data: n } = await se({
|
|
550
550
|
...e,
|
|
551
551
|
...t,
|
|
552
552
|
throwOnError: !0
|
|
553
553
|
});
|
|
554
554
|
return n;
|
|
555
|
-
} }),
|
|
555
|
+
} }), Zn = (e) => ({ mutationFn: async (t) => {
|
|
556
556
|
let { data: n } = await St({
|
|
557
557
|
...e,
|
|
558
558
|
...t,
|
|
559
559
|
throwOnError: !0
|
|
560
560
|
});
|
|
561
561
|
return n;
|
|
562
|
-
} }), L = (e) => s("getMailboxes", e),
|
|
562
|
+
} }), L = (e) => s("getMailboxes", e), Qn = (e) => o({
|
|
563
563
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
564
564
|
let { data: r } = await He({
|
|
565
565
|
...e,
|
|
@@ -570,7 +570,7 @@ var s = (t, n, r, i) => {
|
|
|
570
570
|
return r;
|
|
571
571
|
},
|
|
572
572
|
queryKey: L(e)
|
|
573
|
-
}), R = (e) => s("getMeasureUnits", e),
|
|
573
|
+
}), R = (e) => s("getMeasureUnits", e), $n = (e) => o({
|
|
574
574
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
575
575
|
let { data: r } = await Ue({
|
|
576
576
|
...e,
|
|
@@ -581,7 +581,7 @@ var s = (t, n, r, i) => {
|
|
|
581
581
|
return r;
|
|
582
582
|
},
|
|
583
583
|
queryKey: R(e)
|
|
584
|
-
}), z = (e) => s("getPayables", e),
|
|
584
|
+
}), z = (e) => s("getPayables", e), er = (e) => o({
|
|
585
585
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
586
586
|
let { data: r } = await Ke({
|
|
587
587
|
...e,
|
|
@@ -592,7 +592,7 @@ var s = (t, n, r, i) => {
|
|
|
592
592
|
return r;
|
|
593
593
|
},
|
|
594
594
|
queryKey: z(e)
|
|
595
|
-
}), B = (e) => s("getPayablesId", e),
|
|
595
|
+
}), B = (e) => s("getPayablesId", e), tr = (e) => o({
|
|
596
596
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
597
597
|
let { data: r } = await qe({
|
|
598
598
|
...e,
|
|
@@ -603,7 +603,7 @@ var s = (t, n, r, i) => {
|
|
|
603
603
|
return r;
|
|
604
604
|
},
|
|
605
605
|
queryKey: B(e)
|
|
606
|
-
}), V = (e) => s("getPayablesIdHistory", e),
|
|
606
|
+
}), V = (e) => s("getPayablesIdHistory", e), nr = (e) => o({
|
|
607
607
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
608
608
|
let { data: r } = await Je({
|
|
609
609
|
...e,
|
|
@@ -614,7 +614,7 @@ var s = (t, n, r, i) => {
|
|
|
614
614
|
return r;
|
|
615
615
|
},
|
|
616
616
|
queryKey: V(e)
|
|
617
|
-
}), H = (e) => s("getPayablesIdLineItems", e),
|
|
617
|
+
}), H = (e) => s("getPayablesIdLineItems", e), rr = (e) => o({
|
|
618
618
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
619
619
|
let { data: r } = await Ye({
|
|
620
620
|
...e,
|
|
@@ -625,7 +625,7 @@ var s = (t, n, r, i) => {
|
|
|
625
625
|
return r;
|
|
626
626
|
},
|
|
627
627
|
queryKey: H(e)
|
|
628
|
-
}), U = (e) => s("getPayablesIdSuggestions", e),
|
|
628
|
+
}), U = (e) => s("getPayablesIdSuggestions", e), ir = (e) => o({
|
|
629
629
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
630
630
|
let { data: r } = await Xe({
|
|
631
631
|
...e,
|
|
@@ -636,7 +636,7 @@ var s = (t, n, r, i) => {
|
|
|
636
636
|
return r;
|
|
637
637
|
},
|
|
638
638
|
queryKey: U(e)
|
|
639
|
-
}), W = (e) => s("getPaymentRecords", e),
|
|
639
|
+
}), W = (e) => s("getPaymentRecords", e), ar = (e) => o({
|
|
640
640
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
641
641
|
let { data: r } = await Ze({
|
|
642
642
|
...e,
|
|
@@ -647,7 +647,7 @@ var s = (t, n, r, i) => {
|
|
|
647
647
|
return r;
|
|
648
648
|
},
|
|
649
649
|
queryKey: W(e)
|
|
650
|
-
}), G = (e) => s("getPaymentTerms", e),
|
|
650
|
+
}), G = (e) => s("getPaymentTerms", e), or = (e) => o({
|
|
651
651
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
652
652
|
let { data: r } = await Qe({
|
|
653
653
|
...e,
|
|
@@ -658,7 +658,7 @@ var s = (t, n, r, i) => {
|
|
|
658
658
|
return r;
|
|
659
659
|
},
|
|
660
660
|
queryKey: G(e)
|
|
661
|
-
}), K = (e) => s("getProducts", e),
|
|
661
|
+
}), K = (e) => s("getProducts", e), sr = (e) => o({
|
|
662
662
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
663
663
|
let { data: r } = await $e({
|
|
664
664
|
...e,
|
|
@@ -669,7 +669,7 @@ var s = (t, n, r, i) => {
|
|
|
669
669
|
return r;
|
|
670
670
|
},
|
|
671
671
|
queryKey: K(e)
|
|
672
|
-
}), q = (e) => s("getProductsId", e),
|
|
672
|
+
}), q = (e) => s("getProductsId", e), cr = (e) => o({
|
|
673
673
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
674
674
|
let { data: r } = await et({
|
|
675
675
|
...e,
|
|
@@ -680,7 +680,7 @@ var s = (t, n, r, i) => {
|
|
|
680
680
|
return r;
|
|
681
681
|
},
|
|
682
682
|
queryKey: q(e)
|
|
683
|
-
}), J = (e) => s("getReceipts", e),
|
|
683
|
+
}), J = (e) => s("getReceipts", e), lr = (e) => o({
|
|
684
684
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
685
685
|
let { data: r } = await tt({
|
|
686
686
|
...e,
|
|
@@ -691,28 +691,28 @@ var s = (t, n, r, i) => {
|
|
|
691
691
|
return r;
|
|
692
692
|
},
|
|
693
693
|
queryKey: J(e)
|
|
694
|
-
}),
|
|
694
|
+
}), ur = (e) => ({ mutationFn: async (t) => {
|
|
695
695
|
let { data: n } = await Et({
|
|
696
696
|
...e,
|
|
697
697
|
...t,
|
|
698
698
|
throwOnError: !0
|
|
699
699
|
});
|
|
700
700
|
return n;
|
|
701
|
-
} }),
|
|
701
|
+
} }), dr = (e) => ({ mutationFn: async (t) => {
|
|
702
702
|
let { data: n } = await ce({
|
|
703
703
|
...e,
|
|
704
704
|
...t,
|
|
705
705
|
throwOnError: !0
|
|
706
706
|
});
|
|
707
707
|
return n;
|
|
708
|
-
} }),
|
|
708
|
+
} }), fr = (e) => s("getReceiptsId", e), pr = (e) => ({ mutationFn: async (t) => {
|
|
709
709
|
let { data: n } = await Ct({
|
|
710
710
|
...e,
|
|
711
711
|
...t,
|
|
712
712
|
throwOnError: !0
|
|
713
713
|
});
|
|
714
714
|
return n;
|
|
715
|
-
} }), Y = (e) => s("getReceivables", e),
|
|
715
|
+
} }), Y = (e) => s("getReceivables", e), mr = (e) => o({
|
|
716
716
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
717
717
|
let { data: r } = await nt({
|
|
718
718
|
...e,
|
|
@@ -723,7 +723,7 @@ var s = (t, n, r, i) => {
|
|
|
723
723
|
return r;
|
|
724
724
|
},
|
|
725
725
|
queryKey: Y(e)
|
|
726
|
-
}), X = (e) => s("getReceivablesId", e),
|
|
726
|
+
}), X = (e) => s("getReceivablesId", e), hr = (e) => o({
|
|
727
727
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
728
728
|
let { data: r } = await rt({
|
|
729
729
|
...e,
|
|
@@ -734,7 +734,7 @@ var s = (t, n, r, i) => {
|
|
|
734
734
|
return r;
|
|
735
735
|
},
|
|
736
736
|
queryKey: X(e)
|
|
737
|
-
}), Z = (e) => s("getReceivablesIdHistory", e),
|
|
737
|
+
}), Z = (e) => s("getReceivablesIdHistory", e), gr = (e) => o({
|
|
738
738
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
739
739
|
let { data: r } = await it({
|
|
740
740
|
...e,
|
|
@@ -745,7 +745,7 @@ var s = (t, n, r, i) => {
|
|
|
745
745
|
return r;
|
|
746
746
|
},
|
|
747
747
|
queryKey: Z(e)
|
|
748
|
-
}), Q = (e) => s("getReceivablesIdMails", e),
|
|
748
|
+
}), Q = (e) => s("getReceivablesIdMails", e), _r = (e) => o({
|
|
749
749
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
750
750
|
let { data: r } = await at({
|
|
751
751
|
...e,
|
|
@@ -756,7 +756,7 @@ var s = (t, n, r, i) => {
|
|
|
756
756
|
return r;
|
|
757
757
|
},
|
|
758
758
|
queryKey: Q(e)
|
|
759
|
-
}),
|
|
759
|
+
}), vr = (e) => s("getReceivablesIdPdfLink", e), yr = (e) => o({
|
|
760
760
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
761
761
|
let { data: r } = await ot({
|
|
762
762
|
...e,
|
|
@@ -766,8 +766,8 @@ var s = (t, n, r, i) => {
|
|
|
766
766
|
});
|
|
767
767
|
return r;
|
|
768
768
|
},
|
|
769
|
-
queryKey:
|
|
770
|
-
}),
|
|
769
|
+
queryKey: vr(e)
|
|
770
|
+
}), br = (e) => s("getTransactions", e), xr = (e) => o({
|
|
771
771
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
772
772
|
let { data: r } = await st({
|
|
773
773
|
...e,
|
|
@@ -777,8 +777,8 @@ var s = (t, n, r, i) => {
|
|
|
777
777
|
});
|
|
778
778
|
return r;
|
|
779
779
|
},
|
|
780
|
-
queryKey:
|
|
781
|
-
}),
|
|
780
|
+
queryKey: br(e)
|
|
781
|
+
}), Sr = (e) => s("getTransactionsValidations", e), Cr = (e) => o({
|
|
782
782
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
783
783
|
let { data: r } = await ut({
|
|
784
784
|
...e,
|
|
@@ -788,15 +788,15 @@ var s = (t, n, r, i) => {
|
|
|
788
788
|
});
|
|
789
789
|
return r;
|
|
790
790
|
},
|
|
791
|
-
queryKey:
|
|
792
|
-
}),
|
|
791
|
+
queryKey: Sr(e)
|
|
792
|
+
}), wr = (e) => ({ mutationFn: async (t) => {
|
|
793
793
|
let { data: n } = await Dt({
|
|
794
794
|
...e,
|
|
795
795
|
...t,
|
|
796
796
|
throwOnError: !0
|
|
797
797
|
});
|
|
798
798
|
return n;
|
|
799
|
-
} }),
|
|
799
|
+
} }), Tr = (e) => s("getTransactionsId", e), Er = (e) => o({
|
|
800
800
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
801
801
|
let { data: r } = await ct({
|
|
802
802
|
...e,
|
|
@@ -806,8 +806,8 @@ var s = (t, n, r, i) => {
|
|
|
806
806
|
});
|
|
807
807
|
return r;
|
|
808
808
|
},
|
|
809
|
-
queryKey:
|
|
810
|
-
}),
|
|
809
|
+
queryKey: Tr(e)
|
|
810
|
+
}), Dr = (e) => s("getTransactionsIdExpenseHistory", e), Or = (e) => o({
|
|
811
811
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
812
812
|
let { data: r } = await lt({
|
|
813
813
|
...e,
|
|
@@ -817,8 +817,8 @@ var s = (t, n, r, i) => {
|
|
|
817
817
|
});
|
|
818
818
|
return r;
|
|
819
819
|
},
|
|
820
|
-
queryKey:
|
|
821
|
-
}), $ = (e) => s("listDepartments", e),
|
|
820
|
+
queryKey: Dr(e)
|
|
821
|
+
}), $ = (e) => s("listDepartments", e), kr = (e) => o({
|
|
822
822
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
823
823
|
let { data: r } = await gt({
|
|
824
824
|
...e,
|
|
@@ -829,7 +829,7 @@ var s = (t, n, r, i) => {
|
|
|
829
829
|
return r;
|
|
830
830
|
},
|
|
831
831
|
queryKey: $(e)
|
|
832
|
-
}),
|
|
832
|
+
}), Ar = (e) => s("getDepartment", e), jr = (e) => o({
|
|
833
833
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
834
834
|
let { data: r } = await Me({
|
|
835
835
|
...e,
|
|
@@ -839,8 +839,8 @@ var s = (t, n, r, i) => {
|
|
|
839
839
|
});
|
|
840
840
|
return r;
|
|
841
841
|
},
|
|
842
|
-
queryKey:
|
|
843
|
-
}),
|
|
842
|
+
queryKey: Ar(e)
|
|
843
|
+
}), Mr = (e) => s("listLocations", e), Nr = (e) => o({
|
|
844
844
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
845
845
|
let { data: r } = await _t({
|
|
846
846
|
...e,
|
|
@@ -850,8 +850,8 @@ var s = (t, n, r, i) => {
|
|
|
850
850
|
});
|
|
851
851
|
return r;
|
|
852
852
|
},
|
|
853
|
-
queryKey:
|
|
854
|
-
}),
|
|
853
|
+
queryKey: Mr(e)
|
|
854
|
+
}), Pr = (e) => s("getLocation", e), Fr = (e) => o({
|
|
855
855
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
856
856
|
let { data: r } = await Ve({
|
|
857
857
|
...e,
|
|
@@ -861,8 +861,8 @@ var s = (t, n, r, i) => {
|
|
|
861
861
|
});
|
|
862
862
|
return r;
|
|
863
863
|
},
|
|
864
|
-
queryKey:
|
|
865
|
-
}),
|
|
864
|
+
queryKey: Pr(e)
|
|
865
|
+
}), Ir = (e) => s("getOrganization", e), Lr = (e) => o({
|
|
866
866
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
867
867
|
let { data: r } = await Ge({
|
|
868
868
|
...e,
|
|
@@ -872,8 +872,8 @@ var s = (t, n, r, i) => {
|
|
|
872
872
|
});
|
|
873
873
|
return r;
|
|
874
874
|
},
|
|
875
|
-
queryKey:
|
|
876
|
-
}),
|
|
875
|
+
queryKey: Ir(e)
|
|
876
|
+
}), Rr = (e) => s("listRoles", e), zr = (e) => o({
|
|
877
877
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
878
878
|
let { data: r } = await yt({
|
|
879
879
|
...e,
|
|
@@ -883,8 +883,8 @@ var s = (t, n, r, i) => {
|
|
|
883
883
|
});
|
|
884
884
|
return r;
|
|
885
885
|
},
|
|
886
|
-
queryKey:
|
|
887
|
-
}),
|
|
886
|
+
queryKey: Rr(e)
|
|
887
|
+
}), Br = (e) => s("listRolePermissions", e), Vr = (e) => o({
|
|
888
888
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
889
889
|
let { data: r } = await vt({
|
|
890
890
|
...e,
|
|
@@ -894,8 +894,8 @@ var s = (t, n, r, i) => {
|
|
|
894
894
|
});
|
|
895
895
|
return r;
|
|
896
896
|
},
|
|
897
|
-
queryKey:
|
|
898
|
-
}),
|
|
897
|
+
queryKey: Br(e)
|
|
898
|
+
}), Hr = (e) => s("getUserData", e), Ur = (e) => o({
|
|
899
899
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
900
900
|
let { data: r } = await dt({
|
|
901
901
|
...e,
|
|
@@ -905,15 +905,15 @@ var s = (t, n, r, i) => {
|
|
|
905
905
|
});
|
|
906
906
|
return r;
|
|
907
907
|
},
|
|
908
|
-
queryKey:
|
|
909
|
-
}),
|
|
908
|
+
queryKey: Hr(e)
|
|
909
|
+
}), Wr = (e) => ({ mutationFn: async (t) => {
|
|
910
910
|
let { data: n } = await Ft({
|
|
911
911
|
...e,
|
|
912
912
|
...t,
|
|
913
913
|
throwOnError: !0
|
|
914
914
|
});
|
|
915
915
|
return n;
|
|
916
|
-
} }),
|
|
916
|
+
} }), Gr = (e) => s("getUsers", e), Kr = (e) => o({
|
|
917
917
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
918
918
|
let { data: r } = await ft({
|
|
919
919
|
...e,
|
|
@@ -923,8 +923,8 @@ var s = (t, n, r, i) => {
|
|
|
923
923
|
});
|
|
924
924
|
return r;
|
|
925
925
|
},
|
|
926
|
-
queryKey:
|
|
927
|
-
}),
|
|
926
|
+
queryKey: Gr(e)
|
|
927
|
+
}), qr = (e) => ({ mutationFn: async (t) => {
|
|
928
928
|
let { data: n } = await le({
|
|
929
929
|
...e,
|
|
930
930
|
...t,
|
|
@@ -933,4 +933,4 @@ var s = (t, n, r, i) => {
|
|
|
933
933
|
return n;
|
|
934
934
|
} });
|
|
935
935
|
//#endregion
|
|
936
|
-
export { cn as activateCreditCardMutation, mn as activateDebitCardMutation, yn as connectExternalBankAccountMutation, En as createAchMoneyMovementMutation, Ut as createApplicationMutation, Yt as createBankAccountMutation, Dn as createBookTransferMutation, tn as createCheckDepositMutation, un as createDebitCardMutation, Ht as createVelocityControlMutation, Pn as deleteApprovalPoliciesIdMutation, Wt as deleteBankAccountApplicationMutation,
|
|
936
|
+
export { cn as activateCreditCardMutation, mn as activateDebitCardMutation, yn as connectExternalBankAccountMutation, En as createAchMoneyMovementMutation, Ut as createApplicationMutation, Yt as createBankAccountMutation, Dn as createBookTransferMutation, tn as createCheckDepositMutation, un as createDebitCardMutation, Ht as createVelocityControlMutation, Pn as deleteApprovalPoliciesIdMutation, Wt as deleteBankAccountApplicationMutation, Xn as deleteLedgerAccountsIdMutation, dr as deleteReceiptsIdMutation, qr as disableUserMutation, On as getAnalyticsPayablesOptions, S as getAnalyticsPayablesQueryKey, kn as getAnalyticsReceiptsOptions, C as getAnalyticsReceiptsQueryKey, An as getAnalyticsReceivablesOptions, w as getAnalyticsReceivablesQueryKey, jn as getAnalyticsTransactionsOptions, T as getAnalyticsTransactionsQueryKey, Rt as getApplicationStatusOptions, c as getApplicationStatusQueryKey, Mn as getApprovalPoliciesOptions, E as getApprovalPoliciesQueryKey, In as getApprovalRequestsOptions, D as getApprovalRequestsQueryKey, $t as getBankAccountAccessQueryKey, Gt as getBankAccountApplicationOptions, l as getBankAccountApplicationQueryKey, Zt as getBankAccountOptions, f as getBankAccountQueryKey, nn as getBankAccountStatementsOptions, p as getBankAccountStatementsQueryKey, rn as getBankAccountTransactionsOptions, m as getBankAccountTransactionsQueryKey, an as getBankAccountTransfersOptions, h as getBankAccountTransfersQueryKey, Jt as getBankAccountsOptions, u as getBankAccountsQueryKey, zn as getCounterpartsIdAddressesOptions, A as getCounterpartsIdAddressesQueryKey, Bn as getCounterpartsIdBankAccountsOptions, j as getCounterpartsIdBankAccountsQueryKey, Rn as getCounterpartsIdOptions, k as getCounterpartsIdQueryKey, Ln as getCounterpartsOptions, O as getCounterpartsQueryKey, sn as getCreditCardByIdOptions, _ as getCreditCardByIdQueryKey, on as getCreditCardsOptions, g as getCreditCardsQueryKey, fn as getDebitCardByIdOptions, y as getDebitCardByIdQueryKey, hn as getDebitCardCredentialsOptions, b as getDebitCardCredentialsQueryKey, ln as getDebitCardsOptions, v as getDebitCardsQueryKey, jr as getDepartmentOptions, Ar as getDepartmentQueryKey, Xt as getDepositableBankAccountsOptions, d as getDepositableBankAccountsQueryKey, Vn as getDocumentsIdNextNumbersOptions, M as getDocumentsIdNextNumbersQueryKey, Hn as getEntitiesIdSettingsOptions, N as getEntitiesIdSettingsQueryKey, Wn as getEntityUsersMeOptions, F as getEntityUsersMeQueryKey, Kn as getEntityUsersMyEntityOptions, Gn as getEntityUsersMyEntityQueryKey, Un as getEntityUsersOptions, P as getEntityUsersQueryKey, Sn as getExternalBankAccountAccessQueryKey, vn as getExternalBankAccountsOptions, x as getExternalBankAccountsQueryKey, qn as getFilesQueryKey, Jn as getLedgerAccountsOptions, I as getLedgerAccountsQueryKey, Fr as getLocationOptions, Pr as getLocationQueryKey, Qn as getMailboxesOptions, L as getMailboxesQueryKey, $n as getMeasureUnitsOptions, R as getMeasureUnitsQueryKey, Bt as getMerchantCategoryGroupsOptions, zt as getMerchantCategoryGroupsQueryKey, Lr as getOrganizationOptions, Ir as getOrganizationQueryKey, nr as getPayablesIdHistoryOptions, V as getPayablesIdHistoryQueryKey, rr as getPayablesIdLineItemsOptions, H as getPayablesIdLineItemsQueryKey, tr as getPayablesIdOptions, B as getPayablesIdQueryKey, ir as getPayablesIdSuggestionsOptions, U as getPayablesIdSuggestionsQueryKey, er as getPayablesOptions, z as getPayablesQueryKey, ar as getPaymentRecordsOptions, W as getPaymentRecordsQueryKey, or as getPaymentTermsOptions, G as getPaymentTermsQueryKey, cr as getProductsIdOptions, q as getProductsIdQueryKey, sr as getProductsOptions, K as getProductsQueryKey, fr as getReceiptsIdQueryKey, lr as getReceiptsOptions, J as getReceiptsQueryKey, gr as getReceivablesIdHistoryOptions, Z as getReceivablesIdHistoryQueryKey, _r as getReceivablesIdMailsOptions, Q as getReceivablesIdMailsQueryKey, hr as getReceivablesIdOptions, yr as getReceivablesIdPdfLinkOptions, vr as getReceivablesIdPdfLinkQueryKey, X as getReceivablesIdQueryKey, mr as getReceivablesOptions, Y as getReceivablesQueryKey, Or as getTransactionsIdExpenseHistoryOptions, Dr as getTransactionsIdExpenseHistoryQueryKey, Er as getTransactionsIdOptions, Tr as getTransactionsIdQueryKey, xr as getTransactionsOptions, br as getTransactionsQueryKey, Cr as getTransactionsValidationsOptions, Sr as getTransactionsValidationsQueryKey, Ur as getUserDataOptions, Hr as getUserDataQueryKey, Kr as getUsersOptions, Gr as getUsersQueryKey, Vt as getVelocityControlsQueryKey, en as grantBankAccountAccessMutation, Cn as grantExternalBankAccountAccessMutation, wn as linkExternalBankAccountMutation, kr as listDepartmentsOptions, $ as listDepartmentsQueryKey, Nr as listLocationsOptions, Mr as listLocationsQueryKey, Vr as listRolePermissionsOptions, Br as listRolePermissionsQueryKey, zr as listRolesOptions, Rr as listRolesQueryKey, dn as manageDebitCardAccessMutation, Fn as patchApprovalPoliciesIdMutation, Zn as patchLedgerAccountsIdMutation, pr as patchReceiptsIdMutation, Nn as postApprovalPoliciesMutation, Yn as postLedgerAccountsMutation, ur as postReceiptsUploadFromFileMutation, wr as putTransactionsValidationsMutation, gn as setDebitCardLockStatusMutation, qt as submitApplicationMutation, bn as unlinkExternalBankAccountMutation, Kt as updateApplicationMutation, Qt as updateBankAccountMutation, pn as updateDebitCardMutation, xn as updateExternalBankAccountMutation, Wr as upsertUserDataMutation, Tn as validateExternalBankAccountMutation, _n as verifyDebitCardMutation };
|