@tesouro/embedded-components-react 0.11.221 → 0.11.222

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/fixtures/index.d.ts +135 -112
  2. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/cardExpenseTypes.js +3 -0
  3. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/queryKeys.js +13 -13
  4. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useExpenseHistoryQuery.js +2 -2
  5. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useExpenseTransactionsCountQuery.js +18 -16
  6. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useGetTransactionQuery.js +2 -2
  7. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useGetTransactionsQuery.js +17 -13
  8. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useTransactionReviewMutations.js +6 -6
  9. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useTransactionValidationsQuery.js +1 -1
  10. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/mapTransactionRow.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/useExpensesTransactions.js +2 -2
  12. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/useExpensesTransactionsFilter.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/mocks/expenseManagement.js +13 -13
  14. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/mocks/settings.js +2 -2
  16. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +3 -3
  17. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +118 -118
  18. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +174 -174
  19. package/dist/libs/tesouro-embedded-components-react/shared/data-access-mocks/dist/lib/fixtures.js +2 -1
  20. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index2.js +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index3.js +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  23. package/package.json +1 -1
@@ -48,7 +48,7 @@ var D = (e) => `00000000-0000-4000-8000-000000000${String(400 + e).padStart(3, "
48
48
  }
49
49
  ], P = N[2]?.id ?? null, F = (e) => {
50
50
  let t = a.payment_method;
51
- return t.type === "card" ? {
51
+ return t?.type === "card" ? {
52
52
  ...t,
53
53
  details: {
54
54
  ...t.details,
@@ -288,7 +288,7 @@ function K(e) {
288
288
  let r = U(t, e);
289
289
  return r.length === 0 || n != null && r.includes(n);
290
290
  }, r = Math.abs(e.merchant_amount), i = t.get("amount__gt"), a = t.get("amount__lt"), o = t.get("created_at__gt"), s = t.get("created_at__lt"), c = t.get("merchant_name__icontains")?.toLowerCase(), l = W(t, "has_receipt"), u = W(t, "has_validation_errors");
291
- return n("entity_user_id__in", e.entity_user_id) && n("expense_status__in", e.expense_status) && n("type__in", e.type) && n("payment_processing_status__in", e.payment_processing_status) && n("payment_method__in", e.payment_method.type) && (l === void 0 || l === !!e.receipt_id) && (u === void 0 || u === k(e)) && (!c || e.merchant_name.toLowerCase().includes(c)) && (i === null || r > Number(i)) && (a === null || r < Number(a)) && (o === null || e.started_at > o) && (s === null || e.started_at < s);
291
+ return n("entity_user_id__in", e.entity_user_id) && n("expense_status__in", e.expense_status) && n("subtype__in", e.subtype) && n("payment_processing_status__in", e.payment_processing_status) && n("payment_method__in", e.payment_method?.type) && (l === void 0 || l === !!e.receipt_id) && (u === void 0 || u === k(e)) && (!c || e.merchant_name.toLowerCase().includes(c)) && (i === null || r > Number(i)) && (a === null || r < Number(a)) && (o === null || e.started_at > o) && (s === null || e.started_at < s);
292
292
  }, z = (e) => {
293
293
  let t = e.get("sort") === "merchant_amount" ? "merchant_amount" : "started_at", n = e.get("order") === "asc" ? 1 : -1;
294
294
  return I().filter((t) => L(t, e)).sort((e, r) => (e[t] < r[t] ? -1 : +(e[t] > r[t])) * n).map(A);
@@ -319,7 +319,7 @@ function K(e) {
319
319
  };
320
320
  return [
321
321
  K("/mailboxes", () => y({ data: [re] })),
322
- K("/transactions/validations", () => y(T)),
322
+ K("/expenses/validations", () => y(T)),
323
323
  K("/approval-policies", ({ query: e }) => y(S([t], e))),
324
324
  K("/ledger-accounts", ({ query: e }) => y(S(N, e))),
325
325
  K("/entity-users", ({ query: e }) => {
@@ -338,19 +338,19 @@ function K(e) {
338
338
  data: [l, u],
339
339
  nextPaginationToken: null
340
340
  }), m),
341
- K("/analytics/transactions", ({ query: e }) => Y(I().filter((t) => L(t, e)).length)),
341
+ K("/analytics/expenses", ({ query: e }) => Y(I().filter((t) => L(t, e)).length)),
342
342
  K("/analytics/receipts", ({ query: e }) => Y(X(e).length)),
343
- K("/transactions", ({ query: e }) => y(S(z(e), e))),
344
- K("/transactions/:id", (e, { id: t }) => {
343
+ K("/expenses", ({ query: e }) => y(S(z(e), e))),
344
+ K("/expenses/:id", (e, { id: t }) => {
345
345
  let n = j(t);
346
346
  return n ? y(A(n)) : q();
347
347
  }),
348
- K("/transactions/:id/expense-history", ({ query: e }, { id: t }) => y(S(c.get(t) ?? [], e))),
348
+ K("/expenses/:id/expense-history", ({ query: e }, { id: t }) => y(S(c.get(t) ?? [], e))),
349
349
  K("/approval-requests", ({ query: e }) => {
350
350
  let t = o.get(e.get("object_id") ?? "");
351
351
  return y(S(t ? [t] : [], e));
352
352
  }),
353
- V("PATCH", "/transactions/:id", (e, { id: t }) => {
353
+ V("PATCH", "/expenses/:id", (e, { id: t }) => {
354
354
  let n = g(e), r = j(t);
355
355
  if (!r) return q();
356
356
  let i = Object.fromEntries(Object.keys(n).map((e) => [e, "user"])), a = P(t, {
@@ -362,7 +362,7 @@ function K(e) {
362
362
  });
363
363
  return a && v(a, "expense_updated", { fields: Object.keys(n) }, O), a ? y(A(a)) : q();
364
364
  }),
365
- V("POST", "/transactions/:id/submit", (e, { id: n }) => {
365
+ V("POST", "/expenses/:id/submit", (e, { id: n }) => {
366
366
  let r = g(e), i = j(n);
367
367
  if (!i) return q();
368
368
  let a = Math.abs(i.merchant_amount) >= 1e4, s = P(n, {
@@ -377,18 +377,18 @@ function K(e) {
377
377
  no_receipt_reason: r.no_receipt_reason ?? null
378
378
  }, O), a ? (o.set(n, H(200 + o.size, s, "waiting")), v(s, "approval_requested", { approval_policy_name: t.name }, null)) : v(s, "auto_approved", {}, null), y(A(s))) : q();
379
379
  }),
380
- V("POST", "/transactions/:id/reopen", (e, { id: t }) => {
380
+ V("POST", "/expenses/:id/reopen", (e, { id: t }) => {
381
381
  let n = P(t, {
382
382
  expense_status: "new",
383
383
  reject_reason: null
384
384
  });
385
385
  return n && v(n, "reopened", {}, O), n ? y(A(n)) : q();
386
386
  }),
387
- V("POST", "/transactions/:id/approve", (e, { id: t }) => {
387
+ V("POST", "/expenses/:id/approve", (e, { id: t }) => {
388
388
  let n = j(t), r = n && J(n, "approved", "force");
389
389
  return r ? y(A(r)) : q();
390
390
  }),
391
- V("POST", "/transactions/:id/reject", (e, { id: t }) => {
391
+ V("POST", "/expenses/:id/reject", (e, { id: t }) => {
392
392
  let n = j(t), r = g(e)?.reject_reason, i = n && J(n, "rejected", "force", r);
393
393
  return i ? y(A(i)) : q();
394
394
  }),
@@ -429,7 +429,7 @@ var q = [
429
429
  e.ExpenseReadSelf,
430
430
  e.ExpenseWriteSelf,
431
431
  e.MailboxReadOrg
432
- ], J = ({ method: e, path: t }) => e === "GET" && (t === G("/transactions") || t.startsWith(G("/analytics/"))), Y = (e) => async (t) => {
432
+ ], J = ({ method: e, path: t }) => e === "GET" && (t === G("/expenses") || t.startsWith(G("/analytics/"))), Y = (e) => async (t) => {
433
433
  if (J(t)) {
434
434
  if (e === "failing") return b(500, "Internal Server Error", "Something went wrong.");
435
435
  await x(h);
@@ -152,7 +152,7 @@ function x({ preSelectedIds: t, onClose: m, targetTransactionId: h, onSingleTran
152
152
  if (I.length === 0 || !Y) return;
153
153
  let t = I, r = (e) => ({
154
154
  merchant: e.merchant_name,
155
- location: e.merchant_location,
155
+ location: e.merchant_location ?? "",
156
156
  date: n(e.started_at, { month: "long" }),
157
157
  time: ie(e.started_at),
158
158
  formattedAmount: p(e.amount, e.currency)
@@ -300,8 +300,8 @@ function X() {
300
300
  return i ? b(i) : S(404, "Not Found", "No such policy.");
301
301
  }),
302
302
  a("DELETE", "/approval-policies/:id", (t, { id: n }) => (e = e.filter((e) => e.id !== n), x())),
303
- v("GET", R("/transactions/validations"), () => b(n)),
304
- a("PUT", "/transactions/validations", (e) => (n = {
303
+ v("GET", R("/expenses/validations"), () => b(n)),
304
+ a("PUT", "/expenses/validations", (e) => (n = {
305
305
  ...n,
306
306
  ..._(e)
307
307
  }, b(n))),
@@ -1,7 +1,7 @@
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, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getAggregateHistoricalBalances as v, getApplicationStatus as y, getApprovalPolicies as b, getApprovalRequests as x, getBankAccountAccess as S, getBankAccountHistoricalBalances as C, getBankAccountStatement as w, getCounterparts as T, getDepartment as E, getDepositableBankAccounts as D, getExternalBankAccountAccess as O, getLocation as k, getPayables as A, getPayablesId as j, getPayablesIdHistory as M, getPayablesIdLineItems as N, getPaymentRecords as P, getProducts as F, getReceipts as I, getReceivables as L, getReceivablesIdHistory as R, getUsers as z, listDepartments as B, listLocations as V, listRoles as H, manageBankAccountAccess as U, manageDebitCardAccess as W, patchCounterpartsId as G, patchCounterpartsIdAddressesId as K, patchCounterpartsIdBankAccountsId as q, patchEntitiesIdSettings as J, patchMeasureUnitsId as Y, patchPayablesId as X, patchProductsId as Z, patchReceivablesId as Q, patchRecurrencesId as $, patchTransactionsId as ee, postApprovalRequestsIdApprove as te, postApprovalRequestsIdReject as ne, postBankDetails as re, postCounterparts as ie, postCounterpartsIdAddresses as ae, postCounterpartsIdBankAccounts as oe, postFiles as se, postMeasureUnits as ce, postOverdueReminders as le, postPayables as ue, postPayablesIdApprovePaymentOperation as de, postPayablesIdAttachFile as fe, postPayablesIdCancel as pe, postPayablesIdDuplicatesIdConfirm as me, postPayablesIdDuplicatesIdDismiss as he, postPayablesIdMarkAsPaid as ge, postPayablesIdReject as _e, postPayablesIdReopen as ve, postPayablesIdSchedulePayment as ye, postPayablesIdSubmitForApproval as be, postPayablesIdValidate as xe, postPayablesUploadFromFile as Se, postPaymentIntentsIdCancel as Ce, postPaymentRecords as we, postPaymentReminders as Te, postProducts as Ee, postReceivables as De, postReceivablesIdAccept as Oe, postReceivablesIdCancel as ke, postReceivablesIdClone as Ae, postReceivablesIdDecline as je, postReceivablesIdIssue as Me, postReceivablesIdMarkAsPaid as Ne, postReceivablesIdMarkAsUncollectible as Pe, postReceivablesIdSend as Fe, postRecurrences as Ie, postRecurrencesIdCancel as Le, postRecurrencesIdPause as Re, postRecurrencesIdResume as ze, postTransactionsIdApprove as Be, postTransactionsIdReject as Ve, postTransactionsIdReopen as He, postTransactionsIdSubmit as Ue, putEntitiesIdLogo as We, putPayablesIdLineItems as Ge, resendUserInvitation as Ke, updateDepartment as qe, updateLocation as Je, updateUser as Ye } from "./lib/rest/sdk.gen.js";
4
- import { activateCreditCardMutation as Xe, activateDebitCardMutation as Ze, connectExternalBankAccountMutation as Qe, createAchMoneyMovementMutation as $e, createApplicationMutation as et, createBankAccountMutation as tt, createBookTransferMutation as nt, createCheckDepositMutation as rt, createDebitCardMutation as it, createVelocityControlMutation as at, deleteApprovalPoliciesIdMutation as ot, deleteBankAccountApplicationMutation as st, deleteLedgerAccountsIdMutation as ct, deleteReceiptsIdMutation as lt, disableUserMutation as ut, getAggregateHistoricalBalancesQueryKey as dt, getAnalyticsPayablesOptions as ft, getAnalyticsPayablesQueryKey as pt, getAnalyticsReceiptsOptions as mt, getAnalyticsReceiptsQueryKey as ht, getAnalyticsReceivablesOptions as gt, getAnalyticsReceivablesQueryKey as _t, getAnalyticsTransactionsOptions as vt, getAnalyticsTransactionsQueryKey as yt, getApprovalPoliciesIdProcessesIdStepsOptions as bt, getApprovalPoliciesIdProcessesIdStepsQueryKey as xt, getApprovalPoliciesIdProcessesOptions as St, getApprovalPoliciesIdProcessesQueryKey as Ct, getApprovalPoliciesOptions as wt, getApprovalPoliciesQueryKey as Tt, getApprovalRequestsOptions as Et, getApprovalRequestsQueryKey as Dt, getBankAccountAccessQueryKey as Ot, getBankAccountApplicationOptions as kt, getBankAccountHistoricalBalancesQueryKey as At, getBankAccountOptions as jt, getBankAccountQueryKey as Mt, getBankAccountStatementsOptions as Nt, getBankAccountTransactionsOptions as Pt, getBankAccountTransactionsQueryKey as Ft, getBankAccountsQueryKey as It, getBankDetailsIdOptions as Lt, getBankDetailsOptions as Rt, getBankDetailsQueryKey as zt, getCounterpartsIdAddressesOptions as Bt, getCounterpartsIdAddressesQueryKey as Vt, getCounterpartsIdBankAccountsOptions as Ht, getCounterpartsIdBankAccountsQueryKey as Ut, getCounterpartsIdOptions as Wt, getCounterpartsIdQueryKey as Gt, getCounterpartsOptions as Kt, getCounterpartsQueryKey as qt, getCreditCardByIdOptions as Jt, getCreditCardByIdQueryKey as Yt, getCreditCardsOptions as Xt, getCreditCardsQueryKey as Zt, getDebitCardByIdOptions as Qt, getDebitCardByIdQueryKey as $t, getDebitCardCredentialsOptions as en, getDebitCardSpendSummaryOptions as tn, getDebitCardsOptions as nn, getDebitCardsQueryKey as rn, getDepartmentOptions as an, getDepartmentQueryKey as on, getDepositableBankAccountsOptions as sn, getDocumentsIdNextNumbersOptions as cn, getDocumentsIdNextNumbersQueryKey as ln, getEntitiesIdPaymentMethodsOptions as un, getEntitiesIdSettingsOptions as dn, getEntitiesIdSettingsQueryKey as fn, getEntityUsersOptions as pn, getExternalBankAccountAccessQueryKey as mn, getExternalBankAccountOptions as hn, getExternalBankAccountsOptions as gn, getExternalBankAccountsQueryKey as _n, getFilesQueryKey as vn, getLedgerAccountsQueryKey as yn, getLocationOptions as bn, getLocationQueryKey as xn, getMeOptions as Sn, getMeasureUnitsOptions as Cn, getMeasureUnitsQueryKey as wn, getOrganizationOptions as Tn, getOrganizationTransactionsOptions as En, getOrganizationTransfersOptions as Dn, getOrganizationTransfersQueryKey as On, getOverdueRemindersOptions as kn, getOverdueRemindersQueryKey as An, getPayablesIdHistoryOptions as jn, getPayablesIdHistoryQueryKey as Mn, getPayablesIdLineItemsOptions as Nn, getPayablesIdLineItemsQueryKey as Pn, getPayablesIdOptions as Fn, getPayablesIdQueryKey as In, getPayablesIdSuggestionsOptions as Ln, getPayablesOptions as Rn, getPayablesQueryKey as zn, getPaymentRecordsOptions as Bn, getPaymentRecordsQueryKey as Vn, getPaymentRemindersOptions as Hn, getPaymentRemindersQueryKey as Un, getProductsIdOptions as Wn, getProductsIdQueryKey as Gn, getProductsOptions as Kn, getProductsQueryKey as qn, getReceiptsIdQueryKey as Jn, getReceiptsOptions as Yn, getReceiptsQueryKey as Xn, getReceivablesIdHistoryQueryKey as Zn, getReceivablesIdMailsQueryKey as Qn, getReceivablesIdOptions as $n, getReceivablesIdPdfLinkOptions as er, getReceivablesIdPdfLinkQueryKey as tr, getReceivablesIdQueryKey as nr, getReceivablesOptions as rr, getReceivablesQueryKey as ir, getReceivablesRequiredFieldsOptions as ar, getRecurrencesIdOptions as or, getRecurrencesIdQueryKey as sr, getRecurrencesOptions as cr, getRecurrencesQueryKey as lr, getTransactionsIdExpenseHistoryOptions as ur, getTransactionsIdExpenseHistoryQueryKey as dr, getTransactionsIdOptions as fr, getTransactionsIdQueryKey as pr, getTransactionsOptions as mr, getTransactionsQueryKey as hr, getTransactionsValidationsOptions as gr, getTransactionsValidationsQueryKey as _r, getUsersOptions as vr, getUsersQueryKey as yr, getVelocityControlsQueryKey as br, grantBankAccountAccessMutation as xr, grantExternalBankAccountAccessMutation as Sr, linkExternalBankAccountMutation as Cr, listDepartmentsOptions as wr, listDepartmentsQueryKey as Tr, listLocationsOptions as Er, listLocationsQueryKey as Dr, listRolesQueryKey as Or, manageDebitCardAccessMutation as kr, patchApprovalPoliciesIdMutation as Ar, patchLedgerAccountsIdMutation as jr, patchReceiptsIdMutation as Mr, postApprovalPoliciesMutation as Nr, postLedgerAccountsMutation as Pr, postReceiptsUploadFromFileMutation as Fr, putTransactionsValidationsMutation as Ir, setDebitCardLockStatusMutation as Lr, submitApplicationMutation as Rr, unlinkExternalBankAccountMutation as zr, updateApplicationMutation as Br, updateBankAccountMutation as Vr, updateDebitCardMutation as Hr, updateExternalBankAccountMutation as Ur, validateExternalBankAccountMutation as Wr, verifyDebitCardMutation as Gr } from "./lib/rest/@tanstack/react-query.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, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getAggregateHistoricalBalances as v, getApplicationStatus as y, getApprovalPolicies as b, getApprovalRequests as x, getBankAccountAccess as S, getBankAccountHistoricalBalances as C, getBankAccountStatement as w, getCounterparts as T, getDepartment as E, getDepositableBankAccounts as D, getExternalBankAccountAccess as O, getLocation as k, getPayables as A, getPayablesId as j, getPayablesIdHistory as M, getPayablesIdLineItems as N, getPaymentRecords as P, getProducts as F, getReceipts as I, getReceivables as L, getReceivablesIdHistory as R, getUsers as z, listDepartments as B, listLocations as V, listRoles as H, manageBankAccountAccess as U, manageDebitCardAccess as W, patchCounterpartsId as G, patchCounterpartsIdAddressesId as K, patchCounterpartsIdBankAccountsId as q, patchEntitiesIdSettings as J, patchExpensesId as Y, patchMeasureUnitsId as X, patchPayablesId as Z, patchProductsId as Q, patchReceivablesId as $, patchRecurrencesId as ee, postApprovalRequestsIdApprove as te, postApprovalRequestsIdReject as ne, postBankDetails as re, postCounterparts as ie, postCounterpartsIdAddresses as ae, postCounterpartsIdBankAccounts as oe, postExpensesIdApprove as se, postExpensesIdReject as ce, postExpensesIdReopen as le, postExpensesIdSubmit as ue, postFiles as de, postMeasureUnits as fe, postOverdueReminders as pe, postPayables as me, postPayablesIdApprovePaymentOperation as he, postPayablesIdAttachFile as ge, postPayablesIdCancel as _e, postPayablesIdDuplicatesIdConfirm as ve, postPayablesIdDuplicatesIdDismiss as ye, postPayablesIdMarkAsPaid as be, postPayablesIdReject as xe, postPayablesIdReopen as Se, postPayablesIdSchedulePayment as Ce, postPayablesIdSubmitForApproval as we, postPayablesIdValidate as Te, postPayablesUploadFromFile as Ee, postPaymentIntentsIdCancel as De, postPaymentRecords as Oe, postPaymentReminders as ke, postProducts as Ae, postReceivables as je, postReceivablesIdAccept as Me, postReceivablesIdCancel as Ne, postReceivablesIdClone as Pe, postReceivablesIdDecline as Fe, postReceivablesIdIssue as Ie, postReceivablesIdMarkAsPaid as Le, postReceivablesIdMarkAsUncollectible as Re, postReceivablesIdSend as ze, postRecurrences as Be, postRecurrencesIdCancel as Ve, postRecurrencesIdPause as He, postRecurrencesIdResume as Ue, putEntitiesIdLogo as We, putPayablesIdLineItems as Ge, resendUserInvitation as Ke, updateDepartment as qe, updateLocation as Je, updateUser as Ye } from "./lib/rest/sdk.gen.js";
4
+ import { activateCreditCardMutation as Xe, activateDebitCardMutation as Ze, connectExternalBankAccountMutation as Qe, createAchMoneyMovementMutation as $e, createApplicationMutation as et, createBankAccountMutation as tt, createBookTransferMutation as nt, createCheckDepositMutation as rt, createDebitCardMutation as it, createVelocityControlMutation as at, deleteApprovalPoliciesIdMutation as ot, deleteBankAccountApplicationMutation as st, deleteLedgerAccountsIdMutation as ct, deleteReceiptsIdMutation as lt, disableUserMutation as ut, getAggregateHistoricalBalancesQueryKey as dt, getAnalyticsExpensesOptions as ft, getAnalyticsExpensesQueryKey as pt, getAnalyticsPayablesOptions as mt, getAnalyticsPayablesQueryKey as ht, getAnalyticsReceiptsOptions as gt, getAnalyticsReceiptsQueryKey as _t, getAnalyticsReceivablesOptions as vt, getAnalyticsReceivablesQueryKey as yt, getApprovalPoliciesIdProcessesIdStepsOptions as bt, getApprovalPoliciesIdProcessesIdStepsQueryKey as xt, getApprovalPoliciesIdProcessesOptions as St, getApprovalPoliciesIdProcessesQueryKey as Ct, getApprovalPoliciesOptions as wt, getApprovalPoliciesQueryKey as Tt, getApprovalRequestsOptions as Et, getApprovalRequestsQueryKey as Dt, getBankAccountAccessQueryKey as Ot, getBankAccountApplicationOptions as kt, getBankAccountHistoricalBalancesQueryKey as At, getBankAccountOptions as jt, getBankAccountQueryKey as Mt, getBankAccountStatementsOptions as Nt, getBankAccountTransactionsOptions as Pt, getBankAccountTransactionsQueryKey as Ft, getBankAccountsQueryKey as It, getBankDetailsIdOptions as Lt, getBankDetailsOptions as Rt, getBankDetailsQueryKey as zt, getCounterpartsIdAddressesOptions as Bt, getCounterpartsIdAddressesQueryKey as Vt, getCounterpartsIdBankAccountsOptions as Ht, getCounterpartsIdBankAccountsQueryKey as Ut, getCounterpartsIdOptions as Wt, getCounterpartsIdQueryKey as Gt, getCounterpartsOptions as Kt, getCounterpartsQueryKey as qt, getCreditCardByIdOptions as Jt, getCreditCardByIdQueryKey as Yt, getCreditCardsOptions as Xt, getCreditCardsQueryKey as Zt, getDebitCardByIdOptions as Qt, getDebitCardByIdQueryKey as $t, getDebitCardCredentialsOptions as en, getDebitCardSpendSummaryOptions as tn, getDebitCardsOptions as nn, getDebitCardsQueryKey as rn, getDepartmentOptions as an, getDepartmentQueryKey as on, getDepositableBankAccountsOptions as sn, getDocumentsIdNextNumbersOptions as cn, getDocumentsIdNextNumbersQueryKey as ln, getEntitiesIdPaymentMethodsOptions as un, getEntitiesIdSettingsOptions as dn, getEntitiesIdSettingsQueryKey as fn, getEntityUsersOptions as pn, getExpensesIdExpenseHistoryOptions as mn, getExpensesIdExpenseHistoryQueryKey as hn, getExpensesIdOptions as gn, getExpensesIdQueryKey as _n, getExpensesOptions as vn, getExpensesQueryKey as yn, getExpensesValidationsOptions as bn, getExpensesValidationsQueryKey as xn, getExternalBankAccountAccessQueryKey as Sn, getExternalBankAccountOptions as Cn, getExternalBankAccountsOptions as wn, getExternalBankAccountsQueryKey as Tn, getFilesQueryKey as En, getLedgerAccountsQueryKey as Dn, getLocationOptions as On, getLocationQueryKey as kn, getMeOptions as An, getMeasureUnitsOptions as jn, getMeasureUnitsQueryKey as Mn, getOrganizationOptions as Nn, getOrganizationTransactionsOptions as Pn, getOrganizationTransfersOptions as Fn, getOrganizationTransfersQueryKey as In, getOverdueRemindersOptions as Ln, getOverdueRemindersQueryKey as Rn, getPayablesIdHistoryOptions as zn, getPayablesIdHistoryQueryKey as Bn, getPayablesIdLineItemsOptions as Vn, getPayablesIdLineItemsQueryKey as Hn, getPayablesIdOptions as Un, getPayablesIdQueryKey as Wn, getPayablesIdSuggestionsOptions as Gn, getPayablesOptions as Kn, getPayablesQueryKey as qn, getPaymentRecordsOptions as Jn, getPaymentRecordsQueryKey as Yn, getPaymentRemindersOptions as Xn, getPaymentRemindersQueryKey as Zn, getProductsIdOptions as Qn, getProductsIdQueryKey as $n, getProductsOptions as er, getProductsQueryKey as tr, getReceiptsIdQueryKey as nr, getReceiptsOptions as rr, getReceiptsQueryKey as ir, getReceivablesIdHistoryQueryKey as ar, getReceivablesIdMailsQueryKey as or, getReceivablesIdOptions as sr, getReceivablesIdPdfLinkOptions as cr, getReceivablesIdPdfLinkQueryKey as lr, getReceivablesIdQueryKey as ur, getReceivablesOptions as dr, getReceivablesQueryKey as fr, getReceivablesRequiredFieldsOptions as pr, getRecurrencesIdOptions as mr, getRecurrencesIdQueryKey as hr, getRecurrencesOptions as gr, getRecurrencesQueryKey as _r, getUsersOptions as vr, getUsersQueryKey as yr, getVelocityControlsQueryKey as br, grantBankAccountAccessMutation as xr, grantExternalBankAccountAccessMutation as Sr, linkExternalBankAccountMutation as Cr, listDepartmentsOptions as wr, listDepartmentsQueryKey as Tr, listLocationsOptions as Er, listLocationsQueryKey as Dr, listRolesQueryKey as Or, manageDebitCardAccessMutation as kr, patchApprovalPoliciesIdMutation as Ar, patchLedgerAccountsIdMutation as jr, patchReceiptsIdMutation as Mr, postApprovalPoliciesMutation as Nr, postLedgerAccountsMutation as Pr, postReceiptsUploadFromFileMutation as Fr, putExpensesValidationsMutation as Ir, setDebitCardLockStatusMutation as Lr, submitApplicationMutation as Rr, unlinkExternalBankAccountMutation as zr, updateApplicationMutation as Br, updateBankAccountMutation as Vr, updateDebitCardMutation as Hr, updateExternalBankAccountMutation as Ur, validateExternalBankAccountMutation as Wr, verifyDebitCardMutation as Gr } from "./lib/rest/@tanstack/react-query.gen.js";
5
5
  import { widgetTokenCacheId as Kr } from "./lib/widgetTokenCacheId.js";
6
6
  import { OrganizationStatus as qr, isOrganizationOnItsWay as Jr } from "./lib/organizationStatus.js";
7
7
  import { withAuthEpoch as Yr, withAuthEpochInfinite as Xr } from "./lib/withAuthEpoch.js";
@@ -45,4 +45,4 @@ import { useDisclosuresQuery as Gi } from "./lib/disclosures/useDisclosuresQuery
45
45
  import { OnboardingSuppressionReason as Ki } from "./lib/onboardingSuppressionReason.js";
46
46
  import { useOrganizationOnboardingSuppression as qi } from "./lib/useOrganizationOnboardingSuppression.js";
47
47
  import { useOrganizationApplicationStatus as Ji } from "./lib/useOrganizationApplicationStatus.js";
48
- export { ui as EmbedApiProvider, Ki as OnboardingSuppressionReason, qr as OrganizationStatus, Ei as Scope, Xe as activateCreditCardMutation, Ze as activateDebitCardMutation, Zr as applicationStatusInvalidationKey, Qr as applicationStatusQueryOptions, li as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, ei as cancelAllClients, si as cloneEmbeddedClient, Qe as connectExternalBankAccountMutation, $e as createAchMoneyMovementMutation, et as createApplicationMutation, tt as createBankAccountMutation, nt as createBookTransferMutation, rt as createCheckDepositMutation, $r as createClientSecretInstaller, it as createDebitCardMutation, r as createDepartment, ci as createEmbeddedClient, i as createLocation, a as createUser, at as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ot as deleteApprovalPoliciesIdMutation, st as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ct as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, lt as deleteReceiptsIdMutation, g as deleteReceivablesId, ut as disableUserMutation, _ as downloadBankAccountTransactions, mi as fetchWidgetInit, v as getAggregateHistoricalBalances, dt as getAggregateHistoricalBalancesQueryKey, Oi as getAllPagesNextPageParam, ki as getAllPagesNextPaginationTokenParam, ft as getAnalyticsPayablesOptions, pt as getAnalyticsPayablesQueryKey, mt as getAnalyticsReceiptsOptions, ht as getAnalyticsReceiptsQueryKey, gt as getAnalyticsReceivablesOptions, _t as getAnalyticsReceivablesQueryKey, vt as getAnalyticsTransactionsOptions, yt as getAnalyticsTransactionsQueryKey, y as getApplicationStatus, b as getApprovalPolicies, bt as getApprovalPoliciesIdProcessesIdStepsOptions, xt as getApprovalPoliciesIdProcessesIdStepsQueryKey, St as getApprovalPoliciesIdProcessesOptions, Ct as getApprovalPoliciesIdProcessesQueryKey, wt as getApprovalPoliciesOptions, Tt as getApprovalPoliciesQueryKey, x as getApprovalRequests, Et as getApprovalRequestsOptions, Dt as getApprovalRequestsQueryKey, S as getBankAccountAccess, Ot as getBankAccountAccessQueryKey, kt as getBankAccountApplicationOptions, C as getBankAccountHistoricalBalances, At as getBankAccountHistoricalBalancesQueryKey, jt as getBankAccountOptions, Mt as getBankAccountQueryKey, w as getBankAccountStatement, Nt as getBankAccountStatementsOptions, Pt as getBankAccountTransactionsOptions, Ft as getBankAccountTransactionsQueryKey, It as getBankAccountsQueryKey, Lt as getBankDetailsIdOptions, Rt as getBankDetailsOptions, zt as getBankDetailsQueryKey, T as getCounterparts, Bt as getCounterpartsIdAddressesOptions, Vt as getCounterpartsIdAddressesQueryKey, Ht as getCounterpartsIdBankAccountsOptions, Ut as getCounterpartsIdBankAccountsQueryKey, Wt as getCounterpartsIdOptions, Gt as getCounterpartsIdQueryKey, Kt as getCounterpartsOptions, qt as getCounterpartsQueryKey, Jt as getCreditCardByIdOptions, Yt as getCreditCardByIdQueryKey, Xt as getCreditCardsOptions, Zt as getCreditCardsQueryKey, Qt as getDebitCardByIdOptions, $t as getDebitCardByIdQueryKey, en as getDebitCardCredentialsOptions, tn as getDebitCardSpendSummaryOptions, nn as getDebitCardsOptions, rn as getDebitCardsQueryKey, E as getDepartment, an as getDepartmentOptions, on as getDepartmentQueryKey, D as getDepositableBankAccounts, sn as getDepositableBankAccountsOptions, cn as getDocumentsIdNextNumbersOptions, ln as getDocumentsIdNextNumbersQueryKey, un as getEntitiesIdPaymentMethodsOptions, dn as getEntitiesIdSettingsOptions, fn as getEntitiesIdSettingsQueryKey, pn as getEntityUsersOptions, O as getExternalBankAccountAccess, mn as getExternalBankAccountAccessQueryKey, hn as getExternalBankAccountOptions, gn as getExternalBankAccountsOptions, _n as getExternalBankAccountsQueryKey, vn as getFilesQueryKey, yn as getLedgerAccountsQueryKey, k as getLocation, bn as getLocationOptions, xn as getLocationQueryKey, Sn as getMeOptions, Cn as getMeasureUnitsOptions, wn as getMeasureUnitsQueryKey, Tn as getOrganizationOptions, En as getOrganizationTransactionsOptions, Dn as getOrganizationTransfersOptions, On as getOrganizationTransfersQueryKey, kn as getOverdueRemindersOptions, An as getOverdueRemindersQueryKey, A as getPayables, j as getPayablesId, M as getPayablesIdHistory, jn as getPayablesIdHistoryOptions, Mn as getPayablesIdHistoryQueryKey, N as getPayablesIdLineItems, Nn as getPayablesIdLineItemsOptions, Pn as getPayablesIdLineItemsQueryKey, Fn as getPayablesIdOptions, In as getPayablesIdQueryKey, Ln as getPayablesIdSuggestionsOptions, Rn as getPayablesOptions, zn as getPayablesQueryKey, P as getPaymentRecords, Bn as getPaymentRecordsOptions, Vn as getPaymentRecordsQueryKey, Hn as getPaymentRemindersOptions, Un as getPaymentRemindersQueryKey, F as getProducts, Wn as getProductsIdOptions, Gn as getProductsIdQueryKey, Kn as getProductsOptions, qn as getProductsQueryKey, I as getReceipts, Jn as getReceiptsIdQueryKey, Yn as getReceiptsOptions, Xn as getReceiptsQueryKey, L as getReceivables, R as getReceivablesIdHistory, Zn as getReceivablesIdHistoryQueryKey, Qn as getReceivablesIdMailsQueryKey, $n as getReceivablesIdOptions, er as getReceivablesIdPdfLinkOptions, tr as getReceivablesIdPdfLinkQueryKey, nr as getReceivablesIdQueryKey, rr as getReceivablesOptions, ir as getReceivablesQueryKey, ar as getReceivablesRequiredFieldsOptions, or as getRecurrencesIdOptions, sr as getRecurrencesIdQueryKey, cr as getRecurrencesOptions, lr as getRecurrencesQueryKey, ur as getTransactionsIdExpenseHistoryOptions, dr as getTransactionsIdExpenseHistoryQueryKey, fr as getTransactionsIdOptions, pr as getTransactionsIdQueryKey, mr as getTransactionsOptions, hr as getTransactionsQueryKey, gr as getTransactionsValidationsOptions, _r as getTransactionsValidationsQueryKey, z as getUsers, vr as getUsersOptions, yr as getUsersQueryKey, br as getVelocityControlsQueryKey, xr as grantBankAccountAccessMutation, Sr as grantExternalBankAccountAccessMutation, hi as hasAnyScope, ti as invalidateAllClients, Ai as isAllPagesResolving, bi as isApiConflictError, xi as isApiForbiddenError, Si as isApiNotFoundError, Ci as isApiUnprocessableError, Jr as isOrganizationOnItsWay, Di as isScope, Cr as linkExternalBankAccountMutation, B as listDepartments, wr as listDepartmentsOptions, Tr as listDepartmentsQueryKey, V as listLocations, Er as listLocationsOptions, Dr as listLocationsQueryKey, H as listRoles, Or as listRolesQueryKey, U as manageBankAccountAccess, W as manageDebitCardAccess, kr as manageDebitCardAccessMutation, gi as myEntityInvalidationKey, fi as optionalOrganizationHeaders, pi as organizationHeaders, Ar as patchApprovalPoliciesIdMutation, G as patchCounterpartsId, K as patchCounterpartsIdAddressesId, q as patchCounterpartsIdBankAccountsId, J as patchEntitiesIdSettings, jr as patchLedgerAccountsIdMutation, Y as patchMeasureUnitsId, X as patchPayablesId, Z as patchProductsId, Mr as patchReceiptsIdMutation, Q as patchReceivablesId, $ as patchRecurrencesId, ee as patchTransactionsId, Ui as personDisclosure, Nr as postApprovalPoliciesMutation, te as postApprovalRequestsIdApprove, ne as postApprovalRequestsIdReject, re as postBankDetails, ie as postCounterparts, ae as postCounterpartsIdAddresses, oe as postCounterpartsIdBankAccounts, se as postFiles, Pr as postLedgerAccountsMutation, ce as postMeasureUnits, le as postOverdueReminders, ue as postPayables, de as postPayablesIdApprovePaymentOperation, fe as postPayablesIdAttachFile, pe as postPayablesIdCancel, me as postPayablesIdDuplicatesIdConfirm, he as postPayablesIdDuplicatesIdDismiss, ge as postPayablesIdMarkAsPaid, _e as postPayablesIdReject, ve as postPayablesIdReopen, ye as postPayablesIdSchedulePayment, be as postPayablesIdSubmitForApproval, xe as postPayablesIdValidate, Se as postPayablesUploadFromFile, Ce as postPaymentIntentsIdCancel, we as postPaymentRecords, Te as postPaymentReminders, Ee as postProducts, Fr as postReceiptsUploadFromFileMutation, De as postReceivables, Oe as postReceivablesIdAccept, ke as postReceivablesIdCancel, Ae as postReceivablesIdClone, je as postReceivablesIdDecline, Me as postReceivablesIdIssue, Ne as postReceivablesIdMarkAsPaid, Pe as postReceivablesIdMarkAsUncollectible, Fe as postReceivablesIdSend, Ie as postRecurrences, Le as postRecurrencesIdCancel, Re as postRecurrencesIdPause, ze as postRecurrencesIdResume, Be as postTransactionsIdApprove, Ve as postTransactionsIdReject, He as postTransactionsIdReopen, Ue as postTransactionsIdSubmit, We as putEntitiesIdLogo, Ge as putPayablesIdLineItems, Ir as putTransactionsValidationsMutation, ni as registerQueryClient, ri as removeInactiveFromAllClients, Ke as resendUserInvitation, ii as resetAllClients, ai as setAllClientsQueriesData, Lr as setDebitCardLockStatusMutation, Rr as submitApplicationMutation, zr as unlinkExternalBankAccountMutation, oi as unregisterQueryClient, Br as updateApplicationMutation, Vr as updateBankAccountMutation, Hr as updateDebitCardMutation, qe as updateDepartment, Ur as updateExternalBankAccountMutation, Je as updateLocation, Ye as updateUser, Wi as useAcceptWidgetDisclosures, Mi as useAllBankAccountsQuery, Ni as useAllDebitCardsQuery, Pi as useAllExternalBankAccountsQuery, Ii as useAllLedgerAccountsQuery, Fi as useAllMerchantCategoryGroupsQuery, Bi as useAllOrganizationRolesQuery, Hi as useAllOrganizationUsersQuery, ji as useAutoFetchNextPage, _i as useCurrentUserQuery, Gi as useDisclosuresQuery, di as useEmbedApi, wi as useGetUserDataQuery, Li as useLedgerAccountsQuery, yi as useMailboxAddress, vi as useMyEntityQuery, Ji as useOrganizationApplicationStatus, qi as useOrganizationOnboardingSuppression, zi as useOrganizationQuery, Ri as usePaymentTermsQuery, Vi as useRolePermissionsQueries, Ti as useUpsertUserDataMutation, Wr as validateExternalBankAccountMutation, Gr as verifyDebitCardMutation, Kr as widgetTokenCacheId, Yr as withAuthEpoch, Xr as withAuthEpochInfinite };
48
+ export { ui as EmbedApiProvider, Ki as OnboardingSuppressionReason, qr as OrganizationStatus, Ei as Scope, Xe as activateCreditCardMutation, Ze as activateDebitCardMutation, Zr as applicationStatusInvalidationKey, Qr as applicationStatusQueryOptions, li as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, ei as cancelAllClients, si as cloneEmbeddedClient, Qe as connectExternalBankAccountMutation, $e as createAchMoneyMovementMutation, et as createApplicationMutation, tt as createBankAccountMutation, nt as createBookTransferMutation, rt as createCheckDepositMutation, $r as createClientSecretInstaller, it as createDebitCardMutation, r as createDepartment, ci as createEmbeddedClient, i as createLocation, a as createUser, at as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ot as deleteApprovalPoliciesIdMutation, st as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ct as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, lt as deleteReceiptsIdMutation, g as deleteReceivablesId, ut as disableUserMutation, _ as downloadBankAccountTransactions, mi as fetchWidgetInit, v as getAggregateHistoricalBalances, dt as getAggregateHistoricalBalancesQueryKey, Oi as getAllPagesNextPageParam, ki as getAllPagesNextPaginationTokenParam, ft as getAnalyticsExpensesOptions, pt as getAnalyticsExpensesQueryKey, mt as getAnalyticsPayablesOptions, ht as getAnalyticsPayablesQueryKey, gt as getAnalyticsReceiptsOptions, _t as getAnalyticsReceiptsQueryKey, vt as getAnalyticsReceivablesOptions, yt as getAnalyticsReceivablesQueryKey, y as getApplicationStatus, b as getApprovalPolicies, bt as getApprovalPoliciesIdProcessesIdStepsOptions, xt as getApprovalPoliciesIdProcessesIdStepsQueryKey, St as getApprovalPoliciesIdProcessesOptions, Ct as getApprovalPoliciesIdProcessesQueryKey, wt as getApprovalPoliciesOptions, Tt as getApprovalPoliciesQueryKey, x as getApprovalRequests, Et as getApprovalRequestsOptions, Dt as getApprovalRequestsQueryKey, S as getBankAccountAccess, Ot as getBankAccountAccessQueryKey, kt as getBankAccountApplicationOptions, C as getBankAccountHistoricalBalances, At as getBankAccountHistoricalBalancesQueryKey, jt as getBankAccountOptions, Mt as getBankAccountQueryKey, w as getBankAccountStatement, Nt as getBankAccountStatementsOptions, Pt as getBankAccountTransactionsOptions, Ft as getBankAccountTransactionsQueryKey, It as getBankAccountsQueryKey, Lt as getBankDetailsIdOptions, Rt as getBankDetailsOptions, zt as getBankDetailsQueryKey, T as getCounterparts, Bt as getCounterpartsIdAddressesOptions, Vt as getCounterpartsIdAddressesQueryKey, Ht as getCounterpartsIdBankAccountsOptions, Ut as getCounterpartsIdBankAccountsQueryKey, Wt as getCounterpartsIdOptions, Gt as getCounterpartsIdQueryKey, Kt as getCounterpartsOptions, qt as getCounterpartsQueryKey, Jt as getCreditCardByIdOptions, Yt as getCreditCardByIdQueryKey, Xt as getCreditCardsOptions, Zt as getCreditCardsQueryKey, Qt as getDebitCardByIdOptions, $t as getDebitCardByIdQueryKey, en as getDebitCardCredentialsOptions, tn as getDebitCardSpendSummaryOptions, nn as getDebitCardsOptions, rn as getDebitCardsQueryKey, E as getDepartment, an as getDepartmentOptions, on as getDepartmentQueryKey, D as getDepositableBankAccounts, sn as getDepositableBankAccountsOptions, cn as getDocumentsIdNextNumbersOptions, ln as getDocumentsIdNextNumbersQueryKey, un as getEntitiesIdPaymentMethodsOptions, dn as getEntitiesIdSettingsOptions, fn as getEntitiesIdSettingsQueryKey, pn as getEntityUsersOptions, mn as getExpensesIdExpenseHistoryOptions, hn as getExpensesIdExpenseHistoryQueryKey, gn as getExpensesIdOptions, _n as getExpensesIdQueryKey, vn as getExpensesOptions, yn as getExpensesQueryKey, bn as getExpensesValidationsOptions, xn as getExpensesValidationsQueryKey, O as getExternalBankAccountAccess, Sn as getExternalBankAccountAccessQueryKey, Cn as getExternalBankAccountOptions, wn as getExternalBankAccountsOptions, Tn as getExternalBankAccountsQueryKey, En as getFilesQueryKey, Dn as getLedgerAccountsQueryKey, k as getLocation, On as getLocationOptions, kn as getLocationQueryKey, An as getMeOptions, jn as getMeasureUnitsOptions, Mn as getMeasureUnitsQueryKey, Nn as getOrganizationOptions, Pn as getOrganizationTransactionsOptions, Fn as getOrganizationTransfersOptions, In as getOrganizationTransfersQueryKey, Ln as getOverdueRemindersOptions, Rn as getOverdueRemindersQueryKey, A as getPayables, j as getPayablesId, M as getPayablesIdHistory, zn as getPayablesIdHistoryOptions, Bn as getPayablesIdHistoryQueryKey, N as getPayablesIdLineItems, Vn as getPayablesIdLineItemsOptions, Hn as getPayablesIdLineItemsQueryKey, Un as getPayablesIdOptions, Wn as getPayablesIdQueryKey, Gn as getPayablesIdSuggestionsOptions, Kn as getPayablesOptions, qn as getPayablesQueryKey, P as getPaymentRecords, Jn as getPaymentRecordsOptions, Yn as getPaymentRecordsQueryKey, Xn as getPaymentRemindersOptions, Zn as getPaymentRemindersQueryKey, F as getProducts, Qn as getProductsIdOptions, $n as getProductsIdQueryKey, er as getProductsOptions, tr as getProductsQueryKey, I as getReceipts, nr as getReceiptsIdQueryKey, rr as getReceiptsOptions, ir as getReceiptsQueryKey, L as getReceivables, R as getReceivablesIdHistory, ar as getReceivablesIdHistoryQueryKey, or as getReceivablesIdMailsQueryKey, sr as getReceivablesIdOptions, cr as getReceivablesIdPdfLinkOptions, lr as getReceivablesIdPdfLinkQueryKey, ur as getReceivablesIdQueryKey, dr as getReceivablesOptions, fr as getReceivablesQueryKey, pr as getReceivablesRequiredFieldsOptions, mr as getRecurrencesIdOptions, hr as getRecurrencesIdQueryKey, gr as getRecurrencesOptions, _r as getRecurrencesQueryKey, z as getUsers, vr as getUsersOptions, yr as getUsersQueryKey, br as getVelocityControlsQueryKey, xr as grantBankAccountAccessMutation, Sr as grantExternalBankAccountAccessMutation, hi as hasAnyScope, ti as invalidateAllClients, Ai as isAllPagesResolving, bi as isApiConflictError, xi as isApiForbiddenError, Si as isApiNotFoundError, Ci as isApiUnprocessableError, Jr as isOrganizationOnItsWay, Di as isScope, Cr as linkExternalBankAccountMutation, B as listDepartments, wr as listDepartmentsOptions, Tr as listDepartmentsQueryKey, V as listLocations, Er as listLocationsOptions, Dr as listLocationsQueryKey, H as listRoles, Or as listRolesQueryKey, U as manageBankAccountAccess, W as manageDebitCardAccess, kr as manageDebitCardAccessMutation, gi as myEntityInvalidationKey, fi as optionalOrganizationHeaders, pi as organizationHeaders, Ar as patchApprovalPoliciesIdMutation, G as patchCounterpartsId, K as patchCounterpartsIdAddressesId, q as patchCounterpartsIdBankAccountsId, J as patchEntitiesIdSettings, Y as patchExpensesId, jr as patchLedgerAccountsIdMutation, X as patchMeasureUnitsId, Z as patchPayablesId, Q as patchProductsId, Mr as patchReceiptsIdMutation, $ as patchReceivablesId, ee as patchRecurrencesId, Ui as personDisclosure, Nr as postApprovalPoliciesMutation, te as postApprovalRequestsIdApprove, ne as postApprovalRequestsIdReject, re as postBankDetails, ie as postCounterparts, ae as postCounterpartsIdAddresses, oe as postCounterpartsIdBankAccounts, se as postExpensesIdApprove, ce as postExpensesIdReject, le as postExpensesIdReopen, ue as postExpensesIdSubmit, de as postFiles, Pr as postLedgerAccountsMutation, fe as postMeasureUnits, pe as postOverdueReminders, me as postPayables, he as postPayablesIdApprovePaymentOperation, ge as postPayablesIdAttachFile, _e as postPayablesIdCancel, ve as postPayablesIdDuplicatesIdConfirm, ye as postPayablesIdDuplicatesIdDismiss, be as postPayablesIdMarkAsPaid, xe as postPayablesIdReject, Se as postPayablesIdReopen, Ce as postPayablesIdSchedulePayment, we as postPayablesIdSubmitForApproval, Te as postPayablesIdValidate, Ee as postPayablesUploadFromFile, De as postPaymentIntentsIdCancel, Oe as postPaymentRecords, ke as postPaymentReminders, Ae as postProducts, Fr as postReceiptsUploadFromFileMutation, je as postReceivables, Me as postReceivablesIdAccept, Ne as postReceivablesIdCancel, Pe as postReceivablesIdClone, Fe as postReceivablesIdDecline, Ie as postReceivablesIdIssue, Le as postReceivablesIdMarkAsPaid, Re as postReceivablesIdMarkAsUncollectible, ze as postReceivablesIdSend, Be as postRecurrences, Ve as postRecurrencesIdCancel, He as postRecurrencesIdPause, Ue as postRecurrencesIdResume, We as putEntitiesIdLogo, Ir as putExpensesValidationsMutation, Ge as putPayablesIdLineItems, ni as registerQueryClient, ri as removeInactiveFromAllClients, Ke as resendUserInvitation, ii as resetAllClients, ai as setAllClientsQueriesData, Lr as setDebitCardLockStatusMutation, Rr as submitApplicationMutation, zr as unlinkExternalBankAccountMutation, oi as unregisterQueryClient, Br as updateApplicationMutation, Vr as updateBankAccountMutation, Hr as updateDebitCardMutation, qe as updateDepartment, Ur as updateExternalBankAccountMutation, Je as updateLocation, Ye as updateUser, Wi as useAcceptWidgetDisclosures, Mi as useAllBankAccountsQuery, Ni as useAllDebitCardsQuery, Pi as useAllExternalBankAccountsQuery, Ii as useAllLedgerAccountsQuery, Fi as useAllMerchantCategoryGroupsQuery, Bi as useAllOrganizationRolesQuery, Hi as useAllOrganizationUsersQuery, ji as useAutoFetchNextPage, _i as useCurrentUserQuery, Gi as useDisclosuresQuery, di as useEmbedApi, wi as useGetUserDataQuery, Li as useLedgerAccountsQuery, yi as useMailboxAddress, vi as useMyEntityQuery, Ji as useOrganizationApplicationStatus, qi as useOrganizationOnboardingSuppression, zi as useOrganizationQuery, Ri as usePaymentTermsQuery, Vi as useRolePermissionsQueries, Ti as useUpsertUserDataMutation, Wr as validateExternalBankAccountMutation, Gr as verifyDebitCardMutation, Kr as widgetTokenCacheId, Yr as withAuthEpoch, Xr as withAuthEpochInfinite };