@tesouro/embedded-components-react 0.7.36 → 0.7.40
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/fixtures/index.d.ts +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/lib/TransfersWidget.d.ts +5 -0
- package/dist/lib/WidgetSuite.d.ts +5 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/fieldInput/formatPhoneNumberInput.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/mocks/bankAccounts.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +50 -50
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index3.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index7.js +16 -13
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index8.js +4 -10
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/TransfersWidgetInner.js +99 -75
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/featureLabels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/lib/TransfersWidget/useTransfersPageState.js +49 -0
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/labels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/mocks/transfers.js +103 -85
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/TransfersWidget.js +73 -61
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js +3 -0
- package/package.json +1 -1
package/dist/fixtures/index.d.ts
CHANGED
|
@@ -4516,7 +4516,7 @@ declare const A_COMPLETE_BANK_ACCOUNT_APPLICATION: ApplicationStatusEntry;
|
|
|
4516
4516
|
declare const AN_EXTERNAL_BANK_ACCOUNT: ExternalBankAccountResponse;
|
|
4517
4517
|
/**
|
|
4518
4518
|
* One completed book transfer out of {@link A_BANK_ACCOUNT}, as
|
|
4519
|
-
* `GET /bank-accounts/
|
|
4519
|
+
* `GET /bank-accounts/transfers` returns it.
|
|
4520
4520
|
*
|
|
4521
4521
|
* Both ends are `{ id, nickname }` and nothing more, which is the whole reason
|
|
4522
4522
|
* the transfers list is a two-read screen: the id is resolved against the
|
package/dist/index.d.ts
CHANGED
|
@@ -3699,6 +3699,9 @@ interface TransfersWidgetLabels {
|
|
|
3699
3699
|
loadErrorRetry: string;
|
|
3700
3700
|
emptyTitle: string;
|
|
3701
3701
|
emptyDescription: string;
|
|
3702
|
+
paginationRowsPerPage: string;
|
|
3703
|
+
paginationPreviousPage: string;
|
|
3704
|
+
paginationNextPage: string;
|
|
3702
3705
|
modalTitle: string;
|
|
3703
3706
|
/** Shown under the title on the accounts step (e.g. ACH timing). */
|
|
3704
3707
|
modalAccountsSubtitle: string;
|
|
@@ -3757,6 +3760,8 @@ interface FeatureLabels {
|
|
|
3757
3760
|
routeSeparator: string;
|
|
3758
3761
|
defaultCurrencyCode: string;
|
|
3759
3762
|
defaultSecCode: string;
|
|
3763
|
+
/** Prefix before the page's row range, e.g. "Viewing 1-25". */
|
|
3764
|
+
viewingRangeLabel: string;
|
|
3760
3765
|
}
|
|
3761
3766
|
declare const DEFAULT_FEATURE_LABELS: FeatureLabels;
|
|
3762
3767
|
|
|
@@ -645,6 +645,9 @@ interface TransfersWidgetLabels {
|
|
|
645
645
|
loadErrorRetry: string;
|
|
646
646
|
emptyTitle: string;
|
|
647
647
|
emptyDescription: string;
|
|
648
|
+
paginationRowsPerPage: string;
|
|
649
|
+
paginationPreviousPage: string;
|
|
650
|
+
paginationNextPage: string;
|
|
648
651
|
modalTitle: string;
|
|
649
652
|
/** Shown under the title on the accounts step (e.g. ACH timing). */
|
|
650
653
|
modalAccountsSubtitle: string;
|
|
@@ -703,6 +706,8 @@ interface FeatureLabels {
|
|
|
703
706
|
routeSeparator: string;
|
|
704
707
|
defaultCurrencyCode: string;
|
|
705
708
|
defaultSecCode: string;
|
|
709
|
+
/** Prefix before the page's row range, e.g. "Viewing 1-25". */
|
|
710
|
+
viewingRangeLabel: string;
|
|
706
711
|
}
|
|
707
712
|
declare const DEFAULT_FEATURE_LABELS: FeatureLabels;
|
|
708
713
|
|
|
@@ -2737,6 +2737,9 @@ interface TransfersWidgetLabels {
|
|
|
2737
2737
|
loadErrorRetry: string;
|
|
2738
2738
|
emptyTitle: string;
|
|
2739
2739
|
emptyDescription: string;
|
|
2740
|
+
paginationRowsPerPage: string;
|
|
2741
|
+
paginationPreviousPage: string;
|
|
2742
|
+
paginationNextPage: string;
|
|
2740
2743
|
modalTitle: string;
|
|
2741
2744
|
/** Shown under the title on the accounts step (e.g. ACH timing). */
|
|
2742
2745
|
modalAccountsSubtitle: string;
|
|
@@ -2794,6 +2797,8 @@ interface FeatureLabels {
|
|
|
2794
2797
|
routeSeparator: string;
|
|
2795
2798
|
defaultCurrencyCode: string;
|
|
2796
2799
|
defaultSecCode: string;
|
|
2800
|
+
/** Prefix before the page's row range, e.g. "Viewing 1-25". */
|
|
2801
|
+
viewingRangeLabel: string;
|
|
2797
2802
|
}
|
|
2798
2803
|
|
|
2799
2804
|
interface TransfersWidgetPassthroughProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/fieldInput/formatPhoneNumberInput.js
|
|
2
2
|
function e(e) {
|
|
3
|
-
let t = e.replace(/\D/g, "").slice(0, 10),
|
|
4
|
-
return
|
|
3
|
+
let t = e.replace(/\D/g, ""), n = (t.length === 11 && t.startsWith("1") ? t.slice(1) : t).slice(0, 10), r = n.slice(0, 3), i = n.slice(3, 6), a = n.slice(6, 10);
|
|
4
|
+
return n.length > 6 ? `${r}-${i}-${a}` : n.length > 3 ? `${r}-${i}` : r;
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { e as formatPhoneNumberInput };
|
|
@@ -96,7 +96,10 @@ var C = [e.BankAccountReadOrg], w = [e.BankAccountReadOrg, e.BankAccountWriteOrg
|
|
|
96
96
|
let r = t.get("Status") === "INVITED";
|
|
97
97
|
return t.has("Permissions") ? p(z(r ? [] : [n])) : p(z(r ? [R] : [n, L]));
|
|
98
98
|
}), c((e) => e === `${o}/roles`, () => p(z([t, I])))], V = `${s}/bank-accounts`, H = (e) => e === V, U = (e = {}) => {
|
|
99
|
-
let t = [...O], n = y(), r = 0, i = (e) => t.find((t) => t.id === e), a = () => h(404, "Not Found", "No such bank account.")
|
|
99
|
+
let t = [...O], n = y(), r = 0, i = (e) => t.find((t) => t.id === e), a = () => h(404, "Not Found", "No such bank account."), o = d("GET", `${V}/:id`, (e, { id: t }) => {
|
|
100
|
+
let n = i(t);
|
|
101
|
+
return n ? p(n) : a();
|
|
102
|
+
});
|
|
100
103
|
return [
|
|
101
104
|
...B(e.rosterFails),
|
|
102
105
|
c((e) => e === V, () => p(z(t))),
|
|
@@ -108,10 +111,7 @@ var C = [e.BankAccountReadOrg], w = [e.BankAccountReadOrg, e.BankAccountWriteOrg
|
|
|
108
111
|
return t.push(a), p(a, 201);
|
|
109
112
|
}),
|
|
110
113
|
d("POST", `${V}/:id/access`, () => m()),
|
|
111
|
-
|
|
112
|
-
let n = i(t);
|
|
113
|
-
return n ? p(n) : a();
|
|
114
|
-
}),
|
|
114
|
+
(e) => e.path === `${V}/transfers` ? void 0 : o(e),
|
|
115
115
|
d("PATCH", `${V}/:id`, async (e, { id: n }) => {
|
|
116
116
|
let r = t.findIndex((e) => e.id === n), i = t[r];
|
|
117
117
|
if (!i) return a();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./lib/finopsApiVersion.js";
|
|
2
2
|
import "./lib/rest/client.gen.js";
|
|
3
3
|
import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, 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, getReceivablesIdHistory as I, getUsers as L, listDepartments as R, listLocations as z, listRoles as B, manageBankAccountAccess as V, manageDebitCardAccess as H, patchCounterpartsId as U, patchCounterpartsIdAddressesId as W, patchCounterpartsIdBankAccountsId as G, patchEntitiesIdSettings as K, patchMeasureUnitsId as q, patchPayablesId as J, patchProductsId as Y, patchReceivablesId as X, patchRecurrencesId as Z, patchTransactionsId as Q, postApprovalRequestsIdApprove as $, postApprovalRequestsIdReject as ee, postBankDetails as te, postCounterparts as ne, postCounterpartsIdAddresses as re, postCounterpartsIdBankAccounts as ie, postFiles as ae, postMeasureUnits as oe, postOverdueReminders as se, postPayables as ce, postPayablesIdApprovePaymentOperation as le, postPayablesIdAttachFile as ue, postPayablesIdCancel as de, postPayablesIdDuplicatesIdConfirm as fe, postPayablesIdDuplicatesIdDismiss as pe, postPayablesIdMarkAsPaid as me, postPayablesIdReject as he, postPayablesIdReopen as ge, postPayablesIdSchedulePayment as _e, postPayablesIdSubmitForApproval as ve, postPayablesIdValidate as ye, postPayablesUploadFromFile as be, postPaymentIntentsIdCancel as xe, postPaymentLinks as Se, postPaymentRecords as Ce, postPaymentReminders as we, postProducts as Te, postReceivables as Ee, postReceivablesIdAccept as De, postReceivablesIdCancel as Oe, postReceivablesIdClone as ke, postReceivablesIdDecline as Ae, postReceivablesIdIssue as je, postReceivablesIdMarkAsPaid as Me, postReceivablesIdMarkAsUncollectible as Ne, postReceivablesIdSend as Pe, postRecurrences as Fe, postRecurrencesIdCancel as Ie, postRecurrencesIdPause as Le, postRecurrencesIdResume as Re, postTransactionsIdApprove as ze, postTransactionsIdReject as Be, postTransactionsIdReopen as Ve, postTransactionsIdSubmit as He, putEntitiesIdLogo as Ue, putPayablesIdLineItems as We, updateDepartment as Ge, updateLocation as Ke, updateUser as qe } from "./lib/rest/sdk.gen.js";
|
|
4
|
-
import { activateCreditCardMutation as Je, activateDebitCardMutation as Ye, connectExternalBankAccountMutation as Xe, createAchMoneyMovementMutation as Ze, createApplicationMutation as Qe, createBankAccountMutation as $e, createBookTransferMutation as et, createCheckDepositMutation as tt, createDebitCardMutation as nt, createVelocityControlMutation as rt, deleteApprovalPoliciesIdMutation as it, deleteBankAccountApplicationMutation as at, deleteLedgerAccountsIdMutation as ot, deleteReceiptsIdMutation as st, disableUserMutation as ct, getAnalyticsPayablesOptions as lt, getAnalyticsPayablesQueryKey as ut, getAnalyticsReceiptsOptions as dt, getAnalyticsReceiptsQueryKey as ft, getAnalyticsReceivablesOptions as pt, getAnalyticsReceivablesQueryKey as mt, getAnalyticsTransactionsOptions as ht, getAnalyticsTransactionsQueryKey as gt, getApprovalPoliciesOptions as _t, getApprovalPoliciesQueryKey as vt, getApprovalRequestsOptions as yt, getApprovalRequestsQueryKey as bt, getBankAccountAccessQueryKey as xt, getBankAccountApplicationOptions as St, getBankAccountOptions as Ct, getBankAccountQueryKey as wt, getBankAccountStatementsOptions as Tt, getBankAccountTransactionsOptions as Et, getBankAccountTransactionsQueryKey as Dt,
|
|
4
|
+
import { activateCreditCardMutation as Je, activateDebitCardMutation as Ye, connectExternalBankAccountMutation as Xe, createAchMoneyMovementMutation as Ze, createApplicationMutation as Qe, createBankAccountMutation as $e, createBookTransferMutation as et, createCheckDepositMutation as tt, createDebitCardMutation as nt, createVelocityControlMutation as rt, deleteApprovalPoliciesIdMutation as it, deleteBankAccountApplicationMutation as at, deleteLedgerAccountsIdMutation as ot, deleteReceiptsIdMutation as st, disableUserMutation as ct, getAnalyticsPayablesOptions as lt, getAnalyticsPayablesQueryKey as ut, getAnalyticsReceiptsOptions as dt, getAnalyticsReceiptsQueryKey as ft, getAnalyticsReceivablesOptions as pt, getAnalyticsReceivablesQueryKey as mt, getAnalyticsTransactionsOptions as ht, getAnalyticsTransactionsQueryKey as gt, getApprovalPoliciesOptions as _t, getApprovalPoliciesQueryKey as vt, getApprovalRequestsOptions as yt, getApprovalRequestsQueryKey as bt, getBankAccountAccessQueryKey as xt, getBankAccountApplicationOptions as St, getBankAccountOptions as Ct, getBankAccountQueryKey as wt, getBankAccountStatementsOptions as Tt, getBankAccountTransactionsOptions as Et, getBankAccountTransactionsQueryKey as Dt, getBankAccountsQueryKey as Ot, getBankDetailsIdOptions as kt, getBankDetailsOptions as At, getBankDetailsQueryKey as jt, getCounterpartsIdAddressesOptions as Mt, getCounterpartsIdAddressesQueryKey as Nt, getCounterpartsIdBankAccountsOptions as Pt, getCounterpartsIdBankAccountsQueryKey as Ft, getCounterpartsIdOptions as It, getCounterpartsIdQueryKey as Lt, getCounterpartsOptions as Rt, getCounterpartsQueryKey as zt, getCreditCardByIdOptions as Bt, getCreditCardByIdQueryKey as Vt, getCreditCardsOptions as Ht, getCreditCardsQueryKey as Ut, getDebitCardByIdOptions as Wt, getDebitCardByIdQueryKey as Gt, getDebitCardCredentialsOptions as Kt, getDebitCardsOptions as qt, getDebitCardsQueryKey as Jt, getDepartmentOptions as Yt, getDepartmentQueryKey as Xt, getDepositableBankAccountsOptions as Zt, getDocumentsIdNextNumbersOptions as Qt, getDocumentsIdNextNumbersQueryKey as $t, getEntitiesIdPaymentMethodsOptions as en, getEntitiesIdSettingsOptions as tn, getEntitiesIdSettingsQueryKey as nn, getEntityUsersOptions as rn, getExternalBankAccountAccessQueryKey as an, getExternalBankAccountOptions as on, getExternalBankAccountsOptions as sn, getExternalBankAccountsQueryKey as cn, getFilesQueryKey as ln, getLedgerAccountsQueryKey as un, getLocationOptions as dn, getLocationQueryKey as fn, getMeOptions as pn, getMeasureUnitsOptions as mn, getMeasureUnitsQueryKey as hn, getOrganizationOptions as gn, getOrganizationTransfersOptions as _n, getOrganizationTransfersQueryKey as vn, getOverdueRemindersOptions as yn, getOverdueRemindersQueryKey as bn, getPayablesIdHistoryOptions as xn, getPayablesIdHistoryQueryKey as Sn, getPayablesIdLineItemsOptions as Cn, getPayablesIdLineItemsQueryKey as wn, getPayablesIdOptions as Tn, getPayablesIdQueryKey as En, getPayablesIdSuggestionsOptions as Dn, getPayablesOptions as On, getPayablesQueryKey as kn, getPaymentRecordsOptions as An, getPaymentRecordsQueryKey as jn, getPaymentRemindersOptions as Mn, getPaymentRemindersQueryKey as Nn, getProductsIdOptions as Pn, getProductsIdQueryKey as Fn, getProductsOptions as In, getProductsQueryKey as Ln, getReceiptsIdQueryKey as Rn, getReceiptsOptions as zn, getReceiptsQueryKey as Bn, getReceivablesIdHistoryQueryKey as Vn, getReceivablesIdMailsQueryKey as Hn, getReceivablesIdOptions as Un, getReceivablesIdPdfLinkOptions as Wn, getReceivablesIdPdfLinkQueryKey as Gn, getReceivablesIdQueryKey as Kn, getReceivablesOptions as qn, getReceivablesQueryKey as Jn, getReceivablesRequiredFieldsOptions as Yn, getRecurrencesIdOptions as Xn, getRecurrencesIdQueryKey as Zn, getRecurrencesQueryKey as Qn, getTransactionsIdExpenseHistoryOptions as $n, getTransactionsIdExpenseHistoryQueryKey as er, getTransactionsIdOptions as tr, getTransactionsIdQueryKey as nr, getTransactionsOptions as rr, getTransactionsQueryKey as ir, getTransactionsValidationsOptions as ar, getTransactionsValidationsQueryKey as or, getUsersOptions as sr, getUsersQueryKey as cr, getVelocityControlsQueryKey as lr, grantBankAccountAccessMutation as ur, grantExternalBankAccountAccessMutation as dr, linkExternalBankAccountMutation as fr, listDepartmentsOptions as pr, listDepartmentsQueryKey as mr, listLocationsOptions as hr, listLocationsQueryKey as gr, listRolesQueryKey as _r, manageDebitCardAccessMutation as vr, patchApprovalPoliciesIdMutation as yr, patchLedgerAccountsIdMutation as br, patchReceiptsIdMutation as xr, postApprovalPoliciesMutation as Sr, postLedgerAccountsMutation as Cr, postReceiptsUploadFromFileMutation as wr, putTransactionsValidationsMutation as Tr, setDebitCardLockStatusMutation as Er, submitApplicationMutation as Dr, unlinkExternalBankAccountMutation as Or, updateApplicationMutation as kr, updateBankAccountMutation as Ar, updateDebitCardMutation as jr, updateExternalBankAccountMutation as Mr, validateExternalBankAccountMutation as Nr, verifyDebitCardMutation as Pr } from "./lib/rest/@tanstack/react-query.gen.js";
|
|
5
5
|
import { widgetTokenCacheId as Fr } from "./lib/widgetTokenCacheId.js";
|
|
6
6
|
import { OrganizationStatus as Ir, isOrganizationOnItsWay as Lr } from "./lib/organizationStatus.js";
|
|
7
7
|
import { withAuthEpoch as Rr, withAuthEpochInfinite as zr } from "./lib/withAuthEpoch.js";
|
|
@@ -45,4 +45,4 @@ import { useDisclosuresQuery as Ni } from "./lib/disclosures/useDisclosuresQuery
|
|
|
45
45
|
import { OnboardingSuppressionReason as Pi } from "./lib/onboardingSuppressionReason.js";
|
|
46
46
|
import { useOrganizationOnboardingSuppression as Fi } from "./lib/useOrganizationOnboardingSuppression.js";
|
|
47
47
|
import { useOrganizationApplicationStatus as Ii } from "./lib/useOrganizationApplicationStatus.js";
|
|
48
|
-
export { $r as EmbedApiProvider, Pi as OnboardingSuppressionReason, Ir as OrganizationStatus, hi as Scope, Je as activateCreditCardMutation, Ye as activateDebitCardMutation, Br as applicationStatusInvalidationKey, Vr as applicationStatusQueryOptions, Qr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Ur as cancelAllClients, Xr as cloneEmbeddedClient, Xe as connectExternalBankAccountMutation, Ze as createAchMoneyMovementMutation, Qe as createApplicationMutation, $e as createBankAccountMutation, et as createBookTransferMutation, tt as createCheckDepositMutation, Hr as createClientSecretInstaller, nt as createDebitCardMutation, r as createDepartment, Zr as createEmbeddedClient, i as createLocation, a as createUser, rt as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, it as deleteApprovalPoliciesIdMutation, at as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ot as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, st as deleteReceiptsIdMutation, g as deleteReceivablesId, ct as disableUserMutation, _ as downloadBankAccountTransactions, ri as fetchWidgetInit, _i as getAllPagesNextPageParam, vi as getAllPagesNextPaginationTokenParam, lt as getAnalyticsPayablesOptions, ut as getAnalyticsPayablesQueryKey, dt as getAnalyticsReceiptsOptions, ft as getAnalyticsReceiptsQueryKey, pt as getAnalyticsReceivablesOptions, mt as getAnalyticsReceivablesQueryKey, ht as getAnalyticsTransactionsOptions, gt as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, _t as getApprovalPoliciesOptions, vt as getApprovalPoliciesQueryKey, b as getApprovalRequests, yt as getApprovalRequestsOptions, bt as getApprovalRequestsQueryKey, x as getBankAccountAccess, xt as getBankAccountAccessQueryKey, St as getBankAccountApplicationOptions, Ct as getBankAccountOptions, wt as getBankAccountQueryKey, S as getBankAccountStatement, Tt as getBankAccountStatementsOptions, Et as getBankAccountTransactionsOptions, Dt as getBankAccountTransactionsQueryKey, Ot as
|
|
48
|
+
export { $r as EmbedApiProvider, Pi as OnboardingSuppressionReason, Ir as OrganizationStatus, hi as Scope, Je as activateCreditCardMutation, Ye as activateDebitCardMutation, Br as applicationStatusInvalidationKey, Vr as applicationStatusQueryOptions, Qr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Ur as cancelAllClients, Xr as cloneEmbeddedClient, Xe as connectExternalBankAccountMutation, Ze as createAchMoneyMovementMutation, Qe as createApplicationMutation, $e as createBankAccountMutation, et as createBookTransferMutation, tt as createCheckDepositMutation, Hr as createClientSecretInstaller, nt as createDebitCardMutation, r as createDepartment, Zr as createEmbeddedClient, i as createLocation, a as createUser, rt as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, it as deleteApprovalPoliciesIdMutation, at as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ot as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, st as deleteReceiptsIdMutation, g as deleteReceivablesId, ct as disableUserMutation, _ as downloadBankAccountTransactions, ri as fetchWidgetInit, _i as getAllPagesNextPageParam, vi as getAllPagesNextPaginationTokenParam, lt as getAnalyticsPayablesOptions, ut as getAnalyticsPayablesQueryKey, dt as getAnalyticsReceiptsOptions, ft as getAnalyticsReceiptsQueryKey, pt as getAnalyticsReceivablesOptions, mt as getAnalyticsReceivablesQueryKey, ht as getAnalyticsTransactionsOptions, gt as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, _t as getApprovalPoliciesOptions, vt as getApprovalPoliciesQueryKey, b as getApprovalRequests, yt as getApprovalRequestsOptions, bt as getApprovalRequestsQueryKey, x as getBankAccountAccess, xt as getBankAccountAccessQueryKey, St as getBankAccountApplicationOptions, Ct as getBankAccountOptions, wt as getBankAccountQueryKey, S as getBankAccountStatement, Tt as getBankAccountStatementsOptions, Et as getBankAccountTransactionsOptions, Dt as getBankAccountTransactionsQueryKey, Ot as getBankAccountsQueryKey, kt as getBankDetailsIdOptions, At as getBankDetailsOptions, jt as getBankDetailsQueryKey, C as getCounterparts, Mt as getCounterpartsIdAddressesOptions, Nt as getCounterpartsIdAddressesQueryKey, Pt as getCounterpartsIdBankAccountsOptions, Ft as getCounterpartsIdBankAccountsQueryKey, It as getCounterpartsIdOptions, Lt as getCounterpartsIdQueryKey, Rt as getCounterpartsOptions, zt as getCounterpartsQueryKey, Bt as getCreditCardByIdOptions, Vt as getCreditCardByIdQueryKey, Ht as getCreditCardsOptions, Ut as getCreditCardsQueryKey, Wt as getDebitCardByIdOptions, Gt as getDebitCardByIdQueryKey, Kt as getDebitCardCredentialsOptions, qt as getDebitCardsOptions, Jt as getDebitCardsQueryKey, w as getDepartment, Yt as getDepartmentOptions, Xt as getDepartmentQueryKey, T as getDepositableBankAccounts, Zt as getDepositableBankAccountsOptions, Qt as getDocumentsIdNextNumbersOptions, $t as getDocumentsIdNextNumbersQueryKey, en as getEntitiesIdPaymentMethodsOptions, tn as getEntitiesIdSettingsOptions, nn as getEntitiesIdSettingsQueryKey, rn as getEntityUsersOptions, E as getExternalBankAccountAccess, an as getExternalBankAccountAccessQueryKey, on as getExternalBankAccountOptions, sn as getExternalBankAccountsOptions, cn as getExternalBankAccountsQueryKey, ln as getFilesQueryKey, un as getLedgerAccountsQueryKey, D as getLocation, dn as getLocationOptions, fn as getLocationQueryKey, pn as getMeOptions, mn as getMeasureUnitsOptions, hn as getMeasureUnitsQueryKey, gn as getOrganizationOptions, _n as getOrganizationTransfersOptions, vn as getOrganizationTransfersQueryKey, yn as getOverdueRemindersOptions, bn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, xn as getPayablesIdHistoryOptions, Sn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, Cn as getPayablesIdLineItemsOptions, wn as getPayablesIdLineItemsQueryKey, Tn as getPayablesIdOptions, En as getPayablesIdQueryKey, Dn as getPayablesIdSuggestionsOptions, On as getPayablesOptions, kn as getPayablesQueryKey, M as getPaymentRecords, An as getPaymentRecordsOptions, jn as getPaymentRecordsQueryKey, Mn as getPaymentRemindersOptions, Nn as getPaymentRemindersQueryKey, N as getProducts, Pn as getProductsIdOptions, Fn as getProductsIdQueryKey, In as getProductsOptions, Ln as getProductsQueryKey, P as getReceipts, Rn as getReceiptsIdQueryKey, zn as getReceiptsOptions, Bn as getReceiptsQueryKey, F as getReceivables, I as getReceivablesIdHistory, Vn as getReceivablesIdHistoryQueryKey, Hn as getReceivablesIdMailsQueryKey, Un as getReceivablesIdOptions, Wn as getReceivablesIdPdfLinkOptions, Gn as getReceivablesIdPdfLinkQueryKey, Kn as getReceivablesIdQueryKey, qn as getReceivablesOptions, Jn as getReceivablesQueryKey, Yn as getReceivablesRequiredFieldsOptions, Xn as getRecurrencesIdOptions, Zn as getRecurrencesIdQueryKey, Qn as getRecurrencesQueryKey, $n as getTransactionsIdExpenseHistoryOptions, er as getTransactionsIdExpenseHistoryQueryKey, tr as getTransactionsIdOptions, nr as getTransactionsIdQueryKey, rr as getTransactionsOptions, ir as getTransactionsQueryKey, ar as getTransactionsValidationsOptions, or as getTransactionsValidationsQueryKey, L as getUsers, sr as getUsersOptions, cr as getUsersQueryKey, lr as getVelocityControlsQueryKey, ur as grantBankAccountAccessMutation, dr as grantExternalBankAccountAccessMutation, ii as hasAnyScope, Wr as invalidateAllClients, yi as isAllPagesResolving, li as isApiConflictError, ui as isApiForbiddenError, di as isApiNotFoundError, fi as isApiUnprocessableError, Lr as isOrganizationOnItsWay, gi as isScope, fr as linkExternalBankAccountMutation, R as listDepartments, pr as listDepartmentsOptions, mr as listDepartmentsQueryKey, z as listLocations, hr as listLocationsOptions, gr as listLocationsQueryKey, B as listRoles, _r as listRolesQueryKey, V as manageBankAccountAccess, H as manageDebitCardAccess, vr as manageDebitCardAccessMutation, ai as myEntityInvalidationKey, ti as optionalOrganizationHeaders, ni as organizationHeaders, yr as patchApprovalPoliciesIdMutation, U as patchCounterpartsId, W as patchCounterpartsIdAddressesId, G as patchCounterpartsIdBankAccountsId, K as patchEntitiesIdSettings, br as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, xr as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchRecurrencesId, Q as patchTransactionsId, ji as personDisclosure, Sr as postApprovalPoliciesMutation, $ as postApprovalRequestsIdApprove, ee as postApprovalRequestsIdReject, te as postBankDetails, ne as postCounterparts, re as postCounterpartsIdAddresses, ie as postCounterpartsIdBankAccounts, ae as postFiles, Cr as postLedgerAccountsMutation, oe as postMeasureUnits, se as postOverdueReminders, ce as postPayables, le as postPayablesIdApprovePaymentOperation, ue as postPayablesIdAttachFile, de as postPayablesIdCancel, fe as postPayablesIdDuplicatesIdConfirm, pe as postPayablesIdDuplicatesIdDismiss, me as postPayablesIdMarkAsPaid, he as postPayablesIdReject, ge as postPayablesIdReopen, _e as postPayablesIdSchedulePayment, ve as postPayablesIdSubmitForApproval, ye as postPayablesIdValidate, be as postPayablesUploadFromFile, xe as postPaymentIntentsIdCancel, Se as postPaymentLinks, Ce as postPaymentRecords, we as postPaymentReminders, Te as postProducts, wr as postReceiptsUploadFromFileMutation, Ee as postReceivables, De as postReceivablesIdAccept, Oe as postReceivablesIdCancel, ke as postReceivablesIdClone, Ae as postReceivablesIdDecline, je as postReceivablesIdIssue, Me as postReceivablesIdMarkAsPaid, Ne as postReceivablesIdMarkAsUncollectible, Pe as postReceivablesIdSend, Fe as postRecurrences, Ie as postRecurrencesIdCancel, Le as postRecurrencesIdPause, Re as postRecurrencesIdResume, ze as postTransactionsIdApprove, Be as postTransactionsIdReject, Ve as postTransactionsIdReopen, He as postTransactionsIdSubmit, Ue as putEntitiesIdLogo, We as putPayablesIdLineItems, Tr as putTransactionsValidationsMutation, Gr as registerQueryClient, Kr as removeInactiveFromAllClients, qr as resetAllClients, Jr as setAllClientsQueriesData, Er as setDebitCardLockStatusMutation, Dr as submitApplicationMutation, Or as unlinkExternalBankAccountMutation, Yr as unregisterQueryClient, kr as updateApplicationMutation, Ar as updateBankAccountMutation, jr as updateDebitCardMutation, Ge as updateDepartment, Mr as updateExternalBankAccountMutation, Ke as updateLocation, qe as updateUser, Mi as useAcceptWidgetDisclosures, xi as useAllBankAccountsQuery, Si as useAllDebitCardsQuery, Ci as useAllExternalBankAccountsQuery, Ti as useAllLedgerAccountsQuery, wi as useAllMerchantCategoryGroupsQuery, Oi as useAllOrganizationRolesQuery, Ai as useAllOrganizationUsersQuery, bi as useAutoFetchNextPage, oi as useCurrentUserQuery, Ni as useDisclosuresQuery, ei as useEmbedApi, pi as useGetUserDataQuery, Ei as useLedgerAccountsQuery, ci as useMailboxAddress, si as useMyEntityQuery, Ii as useOrganizationApplicationStatus, Fi as useOrganizationOnboardingSuppression, Di as usePaymentTermsQuery, ki as useRolePermissionsQueries, mi as useUpsertUserDataMutation, Nr as validateExternalBankAccountMutation, Pr as verifyDebitCardMutation, Fr as widgetTokenCacheId, Rr as withAuthEpoch, zr as withAuthEpochInfinite };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { client as e } from "../client.gen.js";
|
|
2
|
-
import { activateCreditCard as t, activateDebitCard as n, connectExternalBankAccount as r, createAchMoneyMovement as i, createApplication as a, createBankAccount as ee, createBookTransfer as te, createCheckDeposit as ne, createDebitCard as re, createVelocityControl as ie, deleteApprovalPoliciesId as ae, deleteBankAccountApplication as oe, deleteLedgerAccountsId as se, deleteReceiptsId as ce, disableUser as le, getAnalyticsPayables as ue, getAnalyticsReceipts as de, getAnalyticsReceivables as fe, getAnalyticsTransactions as pe, getApplicationStatus as me, getApprovalPolicies as he, getApprovalRequests as ge, getBankAccount as _e, getBankAccountApplication as ve, getBankAccountStatements as ye, getBankAccountTransactions as be,
|
|
2
|
+
import { activateCreditCard as t, activateDebitCard as n, connectExternalBankAccount as r, createAchMoneyMovement as i, createApplication as a, createBankAccount as ee, createBookTransfer as te, createCheckDeposit as ne, createDebitCard as re, createVelocityControl as ie, deleteApprovalPoliciesId as ae, deleteBankAccountApplication as oe, deleteLedgerAccountsId as se, deleteReceiptsId as ce, disableUser as le, getAnalyticsPayables as ue, getAnalyticsReceipts as de, getAnalyticsReceivables as fe, getAnalyticsTransactions as pe, getApplicationStatus as me, getApprovalPolicies as he, getApprovalRequests as ge, getBankAccount as _e, getBankAccountApplication as ve, getBankAccountStatements as ye, getBankAccountTransactions as be, getBankAccounts as xe, getBankDetails as Se, getBankDetailsId as Ce, getCounterparts as we, getCounterpartsId as Te, getCounterpartsIdAddresses as Ee, getCounterpartsIdBankAccounts as De, getCreditCardById as Oe, getCreditCards as ke, getDebitCardById as Ae, getDebitCardCredentials as je, getDebitCards as Me, getDepartment as Ne, getDepositableBankAccounts as Pe, getDocumentsIdNextNumbers as Fe, getEntitiesIdPaymentMethods as Ie, getEntitiesIdSettings as Le, getEntityUsers as Re, getEntityUsersMe as ze, getEntityUsersMyEntity as Be, getExternalBankAccount as Ve, getExternalBankAccounts as He, getLedgerAccounts as Ue, getLocation as We, getMailboxes as Ge, getMe as Ke, getMeasureUnits as qe, getMerchantCategoryGroups as Je, getOrganization as Ye, getOrganizationTransfers as Xe, getOverdueReminders as Ze, getPayables as Qe, getPayablesId as $e, getPayablesIdHistory as et, getPayablesIdLineItems as tt, getPayablesIdSuggestions as nt, getPaymentRecords as rt, getPaymentReminders as it, getPaymentTerms as at, getProducts as ot, getProductsId as st, getReceipts as ct, getReceivables as lt, getReceivablesId as ut, getReceivablesIdPdfLink as dt, getReceivablesRequiredFields as ft, getRecurrencesId as pt, getTransactions as mt, getTransactionsId as ht, getTransactionsIdExpenseHistory as gt, getTransactionsValidations as _t, getUserData as vt, getUsers as yt, grantBankAccountAccess as bt, grantExternalBankAccountAccess as xt, linkExternalBankAccount as St, listDepartments as Ct, listLocations as wt, listRolePermissions as Tt, listRoles as Et, manageDebitCardAccess as Dt, patchApprovalPoliciesId as Ot, patchLedgerAccountsId as kt, patchReceiptsId as At, postApprovalPolicies as jt, postLedgerAccounts as Mt, postReceiptsUploadFromFile as Nt, putTransactionsValidations as Pt, setDebitCardLockStatus as Ft, submitApplication as It, unlinkExternalBankAccount as Lt, updateApplication as Rt, updateBankAccount as zt, updateDebitCard as Bt, updateExternalBankAccount as Vt, upsertUserData as Ht, validateExternalBankAccount as Ut, verifyDebitCard as Wt } from "../sdk.gen.js";
|
|
3
3
|
import { queryOptions as o } from "@tanstack/react-query";
|
|
4
4
|
//#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js
|
|
5
5
|
var s = (t, n, r, i) => {
|
|
@@ -21,7 +21,7 @@ var s = (t, n, r, i) => {
|
|
|
21
21
|
queryKey: c(e)
|
|
22
22
|
}), Kt = (e) => s("getMerchantCategoryGroups", e), qt = (e) => o({
|
|
23
23
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
24
|
-
let { data: r } = await
|
|
24
|
+
let { data: r } = await Je({
|
|
25
25
|
...e,
|
|
26
26
|
...t[0],
|
|
27
27
|
signal: n,
|
|
@@ -78,7 +78,7 @@ var s = (t, n, r, i) => {
|
|
|
78
78
|
return n;
|
|
79
79
|
} }), u = (e) => s("getBankAccounts", e), tn = (e) => o({
|
|
80
80
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
81
|
-
let { data: r } = await
|
|
81
|
+
let { data: r } = await xe({
|
|
82
82
|
...e,
|
|
83
83
|
...t[0],
|
|
84
84
|
signal: n,
|
|
@@ -96,7 +96,7 @@ var s = (t, n, r, i) => {
|
|
|
96
96
|
return n;
|
|
97
97
|
} }), d = (e) => s("getDepositableBankAccounts", e), rn = (e) => o({
|
|
98
98
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
99
|
-
let { data: r } = await
|
|
99
|
+
let { data: r } = await Pe({
|
|
100
100
|
...e,
|
|
101
101
|
...t[0],
|
|
102
102
|
signal: n,
|
|
@@ -105,9 +105,9 @@ var s = (t, n, r, i) => {
|
|
|
105
105
|
return r;
|
|
106
106
|
},
|
|
107
107
|
queryKey: d(e)
|
|
108
|
-
}), f = (e) => s("
|
|
108
|
+
}), f = (e) => s("getOrganizationTransfers", e), an = (e) => o({
|
|
109
109
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
110
|
-
let { data: r } = await
|
|
110
|
+
let { data: r } = await Xe({
|
|
111
111
|
...e,
|
|
112
112
|
...t[0],
|
|
113
113
|
signal: n,
|
|
@@ -116,28 +116,39 @@ var s = (t, n, r, i) => {
|
|
|
116
116
|
return r;
|
|
117
117
|
},
|
|
118
118
|
queryKey: f(e)
|
|
119
|
-
}),
|
|
119
|
+
}), p = (e) => s("getBankAccount", e), on = (e) => o({
|
|
120
|
+
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
121
|
+
let { data: r } = await _e({
|
|
122
|
+
...e,
|
|
123
|
+
...t[0],
|
|
124
|
+
signal: n,
|
|
125
|
+
throwOnError: !0
|
|
126
|
+
});
|
|
127
|
+
return r;
|
|
128
|
+
},
|
|
129
|
+
queryKey: p(e)
|
|
130
|
+
}), sn = (e) => ({ mutationFn: async (t) => {
|
|
120
131
|
let { data: n } = await zt({
|
|
121
132
|
...e,
|
|
122
133
|
...t,
|
|
123
134
|
throwOnError: !0
|
|
124
135
|
});
|
|
125
136
|
return n;
|
|
126
|
-
} }),
|
|
137
|
+
} }), cn = (e) => s("getBankAccountAccess", e), ln = (e) => ({ mutationFn: async (t) => {
|
|
127
138
|
let { data: n } = await bt({
|
|
128
139
|
...e,
|
|
129
140
|
...t,
|
|
130
141
|
throwOnError: !0
|
|
131
142
|
});
|
|
132
143
|
return n;
|
|
133
|
-
} }),
|
|
144
|
+
} }), un = (e) => ({ mutationFn: async (t) => {
|
|
134
145
|
let { data: n } = await ne({
|
|
135
146
|
...e,
|
|
136
147
|
...t,
|
|
137
148
|
throwOnError: !0
|
|
138
149
|
});
|
|
139
150
|
return n;
|
|
140
|
-
} }),
|
|
151
|
+
} }), m = (e) => s("getBankAccountStatements", e), dn = (e) => o({
|
|
141
152
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
142
153
|
let { data: r } = await ye({
|
|
143
154
|
...e,
|
|
@@ -147,21 +158,10 @@ var s = (t, n, r, i) => {
|
|
|
147
158
|
});
|
|
148
159
|
return r;
|
|
149
160
|
},
|
|
150
|
-
queryKey: p(e)
|
|
151
|
-
}), m = (e) => s("getBankAccountTransactions", e), dn = (e) => o({
|
|
152
|
-
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
153
|
-
let { data: r } = await be({
|
|
154
|
-
...e,
|
|
155
|
-
...t[0],
|
|
156
|
-
signal: n,
|
|
157
|
-
throwOnError: !0
|
|
158
|
-
});
|
|
159
|
-
return r;
|
|
160
|
-
},
|
|
161
161
|
queryKey: m(e)
|
|
162
|
-
}), h = (e) => s("
|
|
162
|
+
}), h = (e) => s("getBankAccountTransactions", e), fn = (e) => o({
|
|
163
163
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
164
|
-
let { data: r } = await
|
|
164
|
+
let { data: r } = await be({
|
|
165
165
|
...e,
|
|
166
166
|
...t[0],
|
|
167
167
|
signal: n,
|
|
@@ -172,7 +172,7 @@ var s = (t, n, r, i) => {
|
|
|
172
172
|
queryKey: h(e)
|
|
173
173
|
}), g = (e) => s("getCreditCards", e), pn = (e) => o({
|
|
174
174
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
175
|
-
let { data: r } = await
|
|
175
|
+
let { data: r } = await ke({
|
|
176
176
|
...e,
|
|
177
177
|
...t[0],
|
|
178
178
|
signal: n,
|
|
@@ -183,7 +183,7 @@ var s = (t, n, r, i) => {
|
|
|
183
183
|
queryKey: g(e)
|
|
184
184
|
}), _ = (e) => s("getCreditCardById", e), mn = (e) => o({
|
|
185
185
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
186
|
-
let { data: r } = await
|
|
186
|
+
let { data: r } = await Oe({
|
|
187
187
|
...e,
|
|
188
188
|
...t[0],
|
|
189
189
|
signal: n,
|
|
@@ -201,7 +201,7 @@ var s = (t, n, r, i) => {
|
|
|
201
201
|
return r;
|
|
202
202
|
} }), v = (e) => s("getDebitCards", e), gn = (e) => o({
|
|
203
203
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
204
|
-
let { data: r } = await
|
|
204
|
+
let { data: r } = await Me({
|
|
205
205
|
...e,
|
|
206
206
|
...t[0],
|
|
207
207
|
signal: n,
|
|
@@ -226,7 +226,7 @@ var s = (t, n, r, i) => {
|
|
|
226
226
|
return n;
|
|
227
227
|
} }), y = (e) => s("getDebitCardById", e), yn = (e) => o({
|
|
228
228
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
229
|
-
let { data: r } = await
|
|
229
|
+
let { data: r } = await Ae({
|
|
230
230
|
...e,
|
|
231
231
|
...t[0],
|
|
232
232
|
signal: n,
|
|
@@ -251,7 +251,7 @@ var s = (t, n, r, i) => {
|
|
|
251
251
|
return r;
|
|
252
252
|
} }), b = (e) => s("getDebitCardCredentials", e), Sn = (e) => o({
|
|
253
253
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
254
|
-
let { data: r } = await
|
|
254
|
+
let { data: r } = await je({
|
|
255
255
|
...e,
|
|
256
256
|
...t[0],
|
|
257
257
|
signal: n,
|
|
@@ -276,7 +276,7 @@ var s = (t, n, r, i) => {
|
|
|
276
276
|
return n;
|
|
277
277
|
} }), x = (e) => s("getExternalBankAccounts", e), Tn = (e) => o({
|
|
278
278
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
279
|
-
let { data: r } = await
|
|
279
|
+
let { data: r } = await He({
|
|
280
280
|
...e,
|
|
281
281
|
...t[0],
|
|
282
282
|
signal: n,
|
|
@@ -301,7 +301,7 @@ var s = (t, n, r, i) => {
|
|
|
301
301
|
return n;
|
|
302
302
|
} }), S = (e) => s("getExternalBankAccount", e), On = (e) => o({
|
|
303
303
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
304
|
-
let { data: r } = await
|
|
304
|
+
let { data: r } = await Ve({
|
|
305
305
|
...e,
|
|
306
306
|
...t[0],
|
|
307
307
|
signal: n,
|
|
@@ -441,7 +441,7 @@ var s = (t, n, r, i) => {
|
|
|
441
441
|
queryKey: O(e)
|
|
442
442
|
}), k = (e) => s("getBankDetails", e), Gn = (e) => o({
|
|
443
443
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
444
|
-
let { data: r } = await
|
|
444
|
+
let { data: r } = await Se({
|
|
445
445
|
...e,
|
|
446
446
|
...t[0],
|
|
447
447
|
signal: n,
|
|
@@ -452,7 +452,7 @@ var s = (t, n, r, i) => {
|
|
|
452
452
|
queryKey: k(e)
|
|
453
453
|
}), A = (e) => s("getBankDetailsId", e), Kn = (e) => o({
|
|
454
454
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
455
|
-
let { data: r } = await
|
|
455
|
+
let { data: r } = await Ce({
|
|
456
456
|
...e,
|
|
457
457
|
...t[0],
|
|
458
458
|
signal: n,
|
|
@@ -463,7 +463,7 @@ var s = (t, n, r, i) => {
|
|
|
463
463
|
queryKey: A(e)
|
|
464
464
|
}), j = (e) => s("getCounterparts", e), qn = (e) => o({
|
|
465
465
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
466
|
-
let { data: r } = await
|
|
466
|
+
let { data: r } = await we({
|
|
467
467
|
...e,
|
|
468
468
|
...t[0],
|
|
469
469
|
signal: n,
|
|
@@ -474,7 +474,7 @@ var s = (t, n, r, i) => {
|
|
|
474
474
|
queryKey: j(e)
|
|
475
475
|
}), M = (e) => s("getCounterpartsId", e), Jn = (e) => o({
|
|
476
476
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
477
|
-
let { data: r } = await
|
|
477
|
+
let { data: r } = await Te({
|
|
478
478
|
...e,
|
|
479
479
|
...t[0],
|
|
480
480
|
signal: n,
|
|
@@ -485,7 +485,7 @@ var s = (t, n, r, i) => {
|
|
|
485
485
|
queryKey: M(e)
|
|
486
486
|
}), N = (e) => s("getCounterpartsIdAddresses", e), Yn = (e) => o({
|
|
487
487
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
488
|
-
let { data: r } = await
|
|
488
|
+
let { data: r } = await Ee({
|
|
489
489
|
...e,
|
|
490
490
|
...t[0],
|
|
491
491
|
signal: n,
|
|
@@ -496,7 +496,7 @@ var s = (t, n, r, i) => {
|
|
|
496
496
|
queryKey: N(e)
|
|
497
497
|
}), P = (e) => s("getCounterpartsIdBankAccounts", e), Xn = (e) => o({
|
|
498
498
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
499
|
-
let { data: r } = await
|
|
499
|
+
let { data: r } = await De({
|
|
500
500
|
...e,
|
|
501
501
|
...t[0],
|
|
502
502
|
signal: n,
|
|
@@ -507,7 +507,7 @@ var s = (t, n, r, i) => {
|
|
|
507
507
|
queryKey: P(e)
|
|
508
508
|
}), F = (e) => s("getDocumentsIdNextNumbers", e), Zn = (e) => o({
|
|
509
509
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
510
|
-
let { data: r } = await
|
|
510
|
+
let { data: r } = await Fe({
|
|
511
511
|
...e,
|
|
512
512
|
...t[0],
|
|
513
513
|
signal: n,
|
|
@@ -518,7 +518,7 @@ var s = (t, n, r, i) => {
|
|
|
518
518
|
queryKey: F(e)
|
|
519
519
|
}), I = (e) => s("getEntitiesIdPaymentMethods", e), Qn = (e) => o({
|
|
520
520
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
521
|
-
let { data: r } = await
|
|
521
|
+
let { data: r } = await Ie({
|
|
522
522
|
...e,
|
|
523
523
|
...t[0],
|
|
524
524
|
signal: n,
|
|
@@ -529,7 +529,7 @@ var s = (t, n, r, i) => {
|
|
|
529
529
|
queryKey: I(e)
|
|
530
530
|
}), L = (e) => s("getEntitiesIdSettings", e), $n = (e) => o({
|
|
531
531
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
532
|
-
let { data: r } = await
|
|
532
|
+
let { data: r } = await Le({
|
|
533
533
|
...e,
|
|
534
534
|
...t[0],
|
|
535
535
|
signal: n,
|
|
@@ -540,7 +540,7 @@ var s = (t, n, r, i) => {
|
|
|
540
540
|
queryKey: L(e)
|
|
541
541
|
}), R = (e) => s("getEntityUsers", e), er = (e) => o({
|
|
542
542
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
543
|
-
let { data: r } = await
|
|
543
|
+
let { data: r } = await Re({
|
|
544
544
|
...e,
|
|
545
545
|
...t[0],
|
|
546
546
|
signal: n,
|
|
@@ -551,7 +551,7 @@ var s = (t, n, r, i) => {
|
|
|
551
551
|
queryKey: R(e)
|
|
552
552
|
}), z = (e) => s("getEntityUsersMe", e), tr = (e) => o({
|
|
553
553
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
554
|
-
let { data: r } = await
|
|
554
|
+
let { data: r } = await ze({
|
|
555
555
|
...e,
|
|
556
556
|
...t[0],
|
|
557
557
|
signal: n,
|
|
@@ -562,7 +562,7 @@ var s = (t, n, r, i) => {
|
|
|
562
562
|
queryKey: z(e)
|
|
563
563
|
}), B = (e) => s("getEntityUsersMyEntity", e), nr = (e) => o({
|
|
564
564
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
565
|
-
let { data: r } = await
|
|
565
|
+
let { data: r } = await Be({
|
|
566
566
|
...e,
|
|
567
567
|
...t[0],
|
|
568
568
|
signal: n,
|
|
@@ -573,7 +573,7 @@ var s = (t, n, r, i) => {
|
|
|
573
573
|
queryKey: B(e)
|
|
574
574
|
}), rr = (e) => s("getFiles", e), V = (e) => s("getLedgerAccounts", e), ir = (e) => o({
|
|
575
575
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
576
|
-
let { data: r } = await
|
|
576
|
+
let { data: r } = await Ue({
|
|
577
577
|
...e,
|
|
578
578
|
...t[0],
|
|
579
579
|
signal: n,
|
|
@@ -605,7 +605,7 @@ var s = (t, n, r, i) => {
|
|
|
605
605
|
return n;
|
|
606
606
|
} }), H = (e) => s("getMailboxes", e), cr = (e) => o({
|
|
607
607
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
608
|
-
let { data: r } = await
|
|
608
|
+
let { data: r } = await Ge({
|
|
609
609
|
...e,
|
|
610
610
|
...t[0],
|
|
611
611
|
signal: n,
|
|
@@ -616,7 +616,7 @@ var s = (t, n, r, i) => {
|
|
|
616
616
|
queryKey: H(e)
|
|
617
617
|
}), U = (e) => s("getMeasureUnits", e), lr = (e) => o({
|
|
618
618
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
619
|
-
let { data: r } = await
|
|
619
|
+
let { data: r } = await qe({
|
|
620
620
|
...e,
|
|
621
621
|
...t[0],
|
|
622
622
|
signal: n,
|
|
@@ -897,7 +897,7 @@ var s = (t, n, r, i) => {
|
|
|
897
897
|
queryKey: Zr(e)
|
|
898
898
|
}), $ = (e) => s("getDepartment", e), $r = (e) => o({
|
|
899
899
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
900
|
-
let { data: r } = await
|
|
900
|
+
let { data: r } = await Ne({
|
|
901
901
|
...e,
|
|
902
902
|
...t[0],
|
|
903
903
|
signal: n,
|
|
@@ -919,7 +919,7 @@ var s = (t, n, r, i) => {
|
|
|
919
919
|
queryKey: ei(e)
|
|
920
920
|
}), ni = (e) => s("getLocation", e), ri = (e) => o({
|
|
921
921
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
922
|
-
let { data: r } = await
|
|
922
|
+
let { data: r } = await We({
|
|
923
923
|
...e,
|
|
924
924
|
...t[0],
|
|
925
925
|
signal: n,
|
|
@@ -930,7 +930,7 @@ var s = (t, n, r, i) => {
|
|
|
930
930
|
queryKey: ni(e)
|
|
931
931
|
}), ii = (e) => s("getOrganization", e), ai = (e) => o({
|
|
932
932
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
933
|
-
let { data: r } = await
|
|
933
|
+
let { data: r } = await Ye({
|
|
934
934
|
...e,
|
|
935
935
|
...t[0],
|
|
936
936
|
signal: n,
|
|
@@ -992,7 +992,7 @@ var s = (t, n, r, i) => {
|
|
|
992
992
|
queryKey: pi(e)
|
|
993
993
|
}), hi = (e) => s("getMe", e), gi = (e) => o({
|
|
994
994
|
queryFn: async ({ queryKey: t, signal: n }) => {
|
|
995
|
-
let { data: r } = await
|
|
995
|
+
let { data: r } = await Ke({
|
|
996
996
|
...e,
|
|
997
997
|
...t[0],
|
|
998
998
|
signal: n,
|
|
@@ -1010,4 +1010,4 @@ var s = (t, n, r, i) => {
|
|
|
1010
1010
|
return n;
|
|
1011
1011
|
} });
|
|
1012
1012
|
//#endregion
|
|
1013
|
-
export { hn as activateCreditCardMutation, xn as activateDebitCardMutation, En as connectExternalBankAccountMutation, Pn as createAchMoneyMovementMutation, Xt as createApplicationMutation, nn as createBankAccountMutation, Fn as createBookTransferMutation,
|
|
1013
|
+
export { hn as activateCreditCardMutation, xn as activateDebitCardMutation, En as connectExternalBankAccountMutation, Pn as createAchMoneyMovementMutation, Xt as createApplicationMutation, nn as createBankAccountMutation, Fn as createBookTransferMutation, un as createCheckDepositMutation, _n as createDebitCardMutation, Yt as createVelocityControlMutation, Hn as deleteApprovalPoliciesIdMutation, Zt as deleteBankAccountApplicationMutation, or as deleteLedgerAccountsIdMutation, Er as deleteReceiptsIdMutation, _i as disableUserMutation, In as getAnalyticsPayablesOptions, C as getAnalyticsPayablesQueryKey, Ln as getAnalyticsReceiptsOptions, w as getAnalyticsReceiptsQueryKey, Rn as getAnalyticsReceivablesOptions, T as getAnalyticsReceivablesQueryKey, zn as getAnalyticsTransactionsOptions, E as getAnalyticsTransactionsQueryKey, Gt as getApplicationStatusOptions, c as getApplicationStatusQueryKey, Bn as getApprovalPoliciesOptions, D as getApprovalPoliciesQueryKey, Wn as getApprovalRequestsOptions, O as getApprovalRequestsQueryKey, cn as getBankAccountAccessQueryKey, Qt as getBankAccountApplicationOptions, l as getBankAccountApplicationQueryKey, on as getBankAccountOptions, p as getBankAccountQueryKey, dn as getBankAccountStatementsOptions, m as getBankAccountStatementsQueryKey, fn as getBankAccountTransactionsOptions, h as getBankAccountTransactionsQueryKey, tn as getBankAccountsOptions, u as getBankAccountsQueryKey, Kn as getBankDetailsIdOptions, A as getBankDetailsIdQueryKey, Gn as getBankDetailsOptions, k as getBankDetailsQueryKey, Yn as getCounterpartsIdAddressesOptions, N as getCounterpartsIdAddressesQueryKey, Xn as getCounterpartsIdBankAccountsOptions, P as getCounterpartsIdBankAccountsQueryKey, Jn as getCounterpartsIdOptions, M as getCounterpartsIdQueryKey, qn as getCounterpartsOptions, j as getCounterpartsQueryKey, mn as getCreditCardByIdOptions, _ as getCreditCardByIdQueryKey, pn as getCreditCardsOptions, g as getCreditCardsQueryKey, yn as getDebitCardByIdOptions, y as getDebitCardByIdQueryKey, Sn as getDebitCardCredentialsOptions, b as getDebitCardCredentialsQueryKey, gn as getDebitCardsOptions, v as getDebitCardsQueryKey, $r as getDepartmentOptions, $ as getDepartmentQueryKey, rn as getDepositableBankAccountsOptions, d as getDepositableBankAccountsQueryKey, Zn as getDocumentsIdNextNumbersOptions, F as getDocumentsIdNextNumbersQueryKey, Qn as getEntitiesIdPaymentMethodsOptions, I as getEntitiesIdPaymentMethodsQueryKey, $n as getEntitiesIdSettingsOptions, L as getEntitiesIdSettingsQueryKey, tr as getEntityUsersMeOptions, z as getEntityUsersMeQueryKey, nr as getEntityUsersMyEntityOptions, B as getEntityUsersMyEntityQueryKey, er as getEntityUsersOptions, R as getEntityUsersQueryKey, An as getExternalBankAccountAccessQueryKey, On as getExternalBankAccountOptions, S as getExternalBankAccountQueryKey, Tn as getExternalBankAccountsOptions, x as getExternalBankAccountsQueryKey, rr as getFilesQueryKey, ir as getLedgerAccountsOptions, V as getLedgerAccountsQueryKey, ri as getLocationOptions, ni as getLocationQueryKey, cr as getMailboxesOptions, H as getMailboxesQueryKey, gi as getMeOptions, hi as getMeQueryKey, lr as getMeasureUnitsOptions, U as getMeasureUnitsQueryKey, qt as getMerchantCategoryGroupsOptions, Kt as getMerchantCategoryGroupsQueryKey, ai as getOrganizationOptions, ii as getOrganizationQueryKey, an as getOrganizationTransfersOptions, f as getOrganizationTransfersQueryKey, dr as getOverdueRemindersOptions, ur as getOverdueRemindersQueryKey, mr as getPayablesIdHistoryOptions, K as getPayablesIdHistoryQueryKey, hr as getPayablesIdLineItemsOptions, q as getPayablesIdLineItemsQueryKey, pr as getPayablesIdOptions, G as getPayablesIdQueryKey, gr as getPayablesIdSuggestionsOptions, J as getPayablesIdSuggestionsQueryKey, fr as getPayablesOptions, W as getPayablesQueryKey, _r as getPaymentRecordsOptions, Y as getPaymentRecordsQueryKey, vr as getPaymentRemindersOptions, X as getPaymentRemindersQueryKey, yr as getPaymentTermsOptions, Z as getPaymentTermsQueryKey, Sr as getProductsIdOptions, xr as getProductsIdQueryKey, br as getProductsOptions, Q as getProductsQueryKey, Dr as getReceiptsIdQueryKey, wr as getReceiptsOptions, Cr as getReceiptsQueryKey, Fr as getReceivablesIdHistoryQueryKey, Ir as getReceivablesIdMailsQueryKey, Pr as getReceivablesIdOptions, Rr as getReceivablesIdPdfLinkOptions, Lr as getReceivablesIdPdfLinkQueryKey, Nr as getReceivablesIdQueryKey, Ar as getReceivablesOptions, kr as getReceivablesQueryKey, Mr as getReceivablesRequiredFieldsOptions, jr as getReceivablesRequiredFieldsQueryKey, Vr as getRecurrencesIdOptions, Br as getRecurrencesIdQueryKey, zr as getRecurrencesQueryKey, Xr as getTransactionsIdExpenseHistoryOptions, Yr as getTransactionsIdExpenseHistoryQueryKey, Jr as getTransactionsIdOptions, qr as getTransactionsIdQueryKey, Ur as getTransactionsOptions, Hr as getTransactionsQueryKey, Gr as getTransactionsValidationsOptions, Wr as getTransactionsValidationsQueryKey, di as getUserDataOptions, ui as getUserDataQueryKey, mi as getUsersOptions, pi as getUsersQueryKey, Jt as getVelocityControlsQueryKey, ln as grantBankAccountAccessMutation, jn as grantExternalBankAccountAccessMutation, Mn as linkExternalBankAccountMutation, Qr as listDepartmentsOptions, Zr as listDepartmentsQueryKey, ti as listLocationsOptions, ei as listLocationsQueryKey, li as listRolePermissionsOptions, ci as listRolePermissionsQueryKey, si as listRolesOptions, oi as listRolesQueryKey, vn as manageDebitCardAccessMutation, Un as patchApprovalPoliciesIdMutation, sr as patchLedgerAccountsIdMutation, Or as patchReceiptsIdMutation, Vn as postApprovalPoliciesMutation, ar as postLedgerAccountsMutation, Tr as postReceiptsUploadFromFileMutation, Kr as putTransactionsValidationsMutation, Cn as setDebitCardLockStatusMutation, en as submitApplicationMutation, Dn as unlinkExternalBankAccountMutation, $t as updateApplicationMutation, sn as updateBankAccountMutation, bn as updateDebitCardMutation, kn as updateExternalBankAccountMutation, fi as upsertUserDataMutation, Nn as validateExternalBankAccountMutation, wn as verifyDebitCardMutation };
|