@tesouro/embedded-components-react 0.3.51 → 0.3.53

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 (39) hide show
  1. package/README.md +47 -44
  2. package/dist/index.css +0 -6
  3. package/dist/index.d.ts +79 -5
  4. package/dist/index.js +1 -1
  5. package/dist/lib/CardDetailsWidget.d.ts +61 -1
  6. package/dist/lib/CardDetailsWidget.js +1 -1
  7. package/dist/lib/CreditCardsWidget.d.ts +78 -4
  8. package/dist/lib/DebitCardsWidget.d.ts +78 -4
  9. package/dist/lib/WidgetSuite.d.ts +78 -4
  10. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index.js +7 -4
  11. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index2.js +20 -0
  12. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index3.js +43 -6
  13. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index4.js +40 -14
  14. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index5.js +5 -26
  15. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index6.js +4 -4
  16. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index7.js +32 -0
  17. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index8.js +25 -0
  18. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index9.js +27 -0
  19. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index.js +2 -1
  20. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index5.js +1 -0
  21. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js +17 -160
  22. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index7.js +107 -0
  23. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index8.js +188 -0
  24. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/index.js +4 -2
  25. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/ActivateCardPanel.js +137 -8
  26. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/ActivateCardSuccessView.js +27 -2
  27. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/FieldError.js +12 -1
  28. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/labels.js +55 -0
  29. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/validation.js +47 -0
  30. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +37 -36
  31. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +22 -20
  32. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/isApiConflictError.js +7 -0
  33. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/isApiUnprocessableError.js +7 -0
  34. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +246 -225
  35. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +170 -134
  36. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1378 -1361
  37. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  38. package/package.json +27 -2
  39. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/PinField.js +0 -5
@@ -0,0 +1,55 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/labels.js
2
+ var e = {
3
+ header: {
4
+ title: "Activate Card",
5
+ closeAriaLabel: "Close activate card"
6
+ },
7
+ cardFace: { bankLogoAlt: "Bank logo" },
8
+ fields: {
9
+ expirationDate: "Expiration date",
10
+ expirationDatePlaceholder: "MM/YY",
11
+ securityCode: "Security code (CVV2)",
12
+ securityCodePlaceholder: "3 digits",
13
+ securityCodeInfoAriaLabel: "What is the security code?",
14
+ securityCodeInfo: "The CVV2 is the 3-digit security code printed on your card — usually near the signature strip on the back. It proves you have the physical card in hand."
15
+ },
16
+ validation: {
17
+ impossibleMonth: "Enter a month between 01 and 12.",
18
+ pastExpiration: "That expiration date has already passed.",
19
+ verificationRejected: "Those details don't match this card. Check the expiration date and security code printed on it, then try again."
20
+ },
21
+ status: {
22
+ submit: "Activate card",
23
+ submittingAriaLabel: "Activating card",
24
+ successTitle: "Card activated",
25
+ successDescription: "This card is ready to use.",
26
+ done: "Done",
27
+ errorDescription: "We couldn't activate this card. Check the details and try again."
28
+ }
29
+ };
30
+ function t(t) {
31
+ return {
32
+ header: {
33
+ ...e.header,
34
+ ...t?.header
35
+ },
36
+ cardFace: {
37
+ ...e.cardFace,
38
+ ...t?.cardFace
39
+ },
40
+ fields: {
41
+ ...e.fields,
42
+ ...t?.fields
43
+ },
44
+ validation: {
45
+ ...e.validation,
46
+ ...t?.validation
47
+ },
48
+ status: {
49
+ ...e.status,
50
+ ...t?.status
51
+ }
52
+ };
53
+ }
54
+ //#endregion
55
+ export { e as ACTIVATE_CARD_PANEL_LABELS_EN, t as resolveActivateCardPanelLabels };
@@ -0,0 +1,47 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/ActivateCardPanel/validation.js
2
+ var e = {
3
+ expirationDate: "",
4
+ securityCode: ""
5
+ }, t = {
6
+ ImpossibleMonth: "impossibleMonth",
7
+ PastExpiration: "pastExpiration"
8
+ }, n = { VerificationRejected: "verificationRejected" }, r = 4;
9
+ function i(e, t) {
10
+ return e.replace(/\D/g, "").slice(0, t);
11
+ }
12
+ function a(e) {
13
+ let t = e.replace(/\D/g, "");
14
+ return t.length > 0 && Number(t[0]) > 1 && (t = `0${t}`), t = t.slice(0, r), t.length <= 2 ? t : `${t.slice(0, 2)}/${t.slice(2)}`;
15
+ }
16
+ function o(e) {
17
+ return e.replace(/\D/g, "").slice(0, r);
18
+ }
19
+ function s(e) {
20
+ let t = o(e);
21
+ if (t.length < 2) return !0;
22
+ let n = Number(t.slice(0, 2));
23
+ return n >= 1 && n <= 12;
24
+ }
25
+ function c(e) {
26
+ return o(e).length === r;
27
+ }
28
+ function l(e, t = /* @__PURE__ */ new Date()) {
29
+ if (!c(e) || !s(e)) return !1;
30
+ let n = o(e), r = Number(n.slice(0, 2)), i = 2e3 + Number(n.slice(2, 4)), a = t.getFullYear(), l = t.getMonth() + 1;
31
+ return i < a || i === a && r < l;
32
+ }
33
+ function u(e, t = /* @__PURE__ */ new Date()) {
34
+ return c(e) && s(e) && !l(e, t);
35
+ }
36
+ function d(e) {
37
+ return (/* @__PURE__ */ RegExp("^\\d{3,4}$")).test(e);
38
+ }
39
+ function f(e, n = /* @__PURE__ */ new Date()) {
40
+ let r = {};
41
+ return s(e.expirationDate) ? l(e.expirationDate, n) && (r.expirationDate = t.PastExpiration) : r.expirationDate = t.ImpossibleMonth, {
42
+ errors: r,
43
+ isValid: u(e.expirationDate, n) && d(e.securityCode)
44
+ };
45
+ }
46
+ //#endregion
47
+ export { t as ActivateCardFieldError, n as ActivateCardFormError, e as EMPTY_ACTIVATE_CARD_FORM_VALUES, i as formatDigitsInput, a as formatExpirationDateInput, c as isExpirationDateComplete, l as isExpirationDateExpired, u as isExpirationDateValid, s as isExpirationMonthPossible, d as isSecurityCodeValid, f as validateActivateCardForm };
@@ -11,15 +11,15 @@ import { CardsList as i } from "../../ui/dist/lib/CardsList/CardsList.js";
11
11
  import { CardsListDetailsSheet as a } from "../../ui/dist/lib/CardsList/CardsListDetailsSheet.js";
12
12
  import "../../ui/dist/index.js";
13
13
  import { useCardsWidget as o } from "./index8.js";
14
- import { CardDetailsWidget as s } from "../../../card-details-widget/feature/dist/index6.js";
14
+ import { CardDetailsWidget as s } from "../../../card-details-widget/feature/dist/index8.js";
15
15
  import "../../../card-details-widget/feature/dist/index.js";
16
16
  import { CreateCardWidget as c } from "../../../create-card-widget/feature/dist/index8.js";
17
17
  import "../../../create-card-widget/feature/dist/index.js";
18
18
  import { useCallback as l, useMemo as u, useState as d } from "react";
19
19
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
20
20
  //#region ../../libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js
21
- function h({ cardProgram: e, pagination: t, defaultPagination: h, onPaginationChange: g, labels: _, featureLabels: v, selectedCardId: y, defaultSelectedCardId: b, onSelectedCardIdChange: x, cardDetailsLabels: S, cardDetailsFeatureLabels: C, bankLogoSrc: w, bankLogoAlt: T, cardArtSrc: E, createCardLabels: D, createCardFeatureLabels: O, onCreateCard: k, onActivateCard: A }) {
22
- let { selectedCardId: j, onSelectCard: M, onCreateCardClick: N, canCreateCard: P, canReadCards: F, ...I } = o({
21
+ function h({ cardProgram: e, pagination: t, defaultPagination: h, onPaginationChange: g, labels: _, featureLabels: v, selectedCardId: y, defaultSelectedCardId: b, onSelectedCardIdChange: x, cardDetailsLabels: S, cardDetailsFeatureLabels: C, cardDetailsActivateLabels: w, bankLogoSrc: T, bankLogoAlt: E, cardArtSrc: D, createCardLabels: O, createCardFeatureLabels: k, onCreateCard: A, onActivateCard: j }) {
22
+ let { selectedCardId: M, onSelectCard: N, onCreateCardClick: P, canCreateCard: F, canReadCards: I, ...L } = o({
23
23
  cardProgram: e,
24
24
  pagination: t,
25
25
  defaultPagination: h,
@@ -28,49 +28,50 @@ function h({ cardProgram: e, pagination: t, defaultPagination: h, onPaginationCh
28
28
  selectedCardId: y,
29
29
  defaultSelectedCardId: b,
30
30
  onSelectedCardIdChange: x,
31
- onCreateCard: k,
32
- onActivateCard: A,
33
- cardArtSrc: E
34
- }), L = u(() => r(_), [_]), [R, z] = d(!1), [B, V] = d(0), [H, U] = d(j), [W, G] = d(null), K = l(() => {
35
- j !== null && M(null), V((e) => e + 1), z(!0);
36
- }, [j, M]), q = l(() => {
37
- z(!1), j !== null && M(null);
38
- }, [j, M]), J = l((e) => {
39
- z(!1), M(e);
40
- }, [M]), Y = e === "debit" && !!E && !!P && N === void 0, X = R && j === null && Y;
41
- R && (j !== null || !Y) && z(!1), X ? W !== "create" && G("create") : j !== null && (W !== "details" && G("details"), j !== H && U(j));
42
- let Z = W === "create", Q = j !== null || X;
31
+ onCreateCard: A,
32
+ onActivateCard: j,
33
+ cardArtSrc: D
34
+ }), R = u(() => r(_), [_]), [z, B] = d(!1), [V, H] = d(0), [U, W] = d(M), [G, K] = d(null), q = l(() => {
35
+ M !== null && N(null), H((e) => e + 1), B(!0);
36
+ }, [M, N]), J = l(() => {
37
+ B(!1), M !== null && N(null);
38
+ }, [M, N]), Y = l((e) => {
39
+ B(!1), N(e);
40
+ }, [N]), X = e === "debit" && !!D && !!F && P === void 0, Z = z && M === null && X;
41
+ z && (M !== null || !X) && B(!1), Z ? G !== "create" && K("create") : M !== null && (G !== "details" && K("details"), M !== U && W(M));
42
+ let Q = G === "create", $ = M !== null || Z;
43
43
  return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(i, {
44
- ...I,
45
- canCreateCard: P,
46
- onCreateCardClick: N ?? K,
47
- labels: L,
44
+ ...L,
45
+ canCreateCard: F,
46
+ onCreateCardClick: P ?? q,
47
+ labels: R,
48
48
  testIds: {
49
49
  root: n.list,
50
50
  row: { cardFaceSwatch: { root: n.cardFaceSwatch } }
51
51
  }
52
52
  }), /* @__PURE__ */ p(a, {
53
- isOpen: Q,
54
- labels: Z ? L.createSheet : L.detailsSheet,
55
- contentClassName: Z ? "ttw:overflow-hidden ttw:p-0 ttw:min-h-0" : void 0,
56
- onClose: q,
57
- children: Z && Y && E ? /* @__PURE__ */ p(c, {
58
- cardArtSrc: E,
59
- labels: D,
60
- featureLabels: O,
61
- onClose: q,
62
- onCancel: q,
63
- onViewCard: F ? J : void 0,
53
+ isOpen: $,
54
+ labels: Q ? R.createSheet : R.detailsSheet,
55
+ contentClassName: Q ? "ttw:overflow-hidden ttw:p-0 ttw:min-h-0" : void 0,
56
+ onClose: J,
57
+ children: Q && X && D ? /* @__PURE__ */ p(c, {
58
+ cardArtSrc: D,
59
+ labels: O,
60
+ featureLabels: k,
61
+ onClose: J,
62
+ onCancel: J,
63
+ onViewCard: I ? Y : void 0,
64
64
  className: "ttw:min-h-0 ttw:flex-1"
65
- }, B) : H === null ? null : /* @__PURE__ */ p(s, {
66
- cardId: H,
65
+ }, V) : U === null ? null : /* @__PURE__ */ p(s, {
66
+ cardId: U,
67
67
  cardProgram: e,
68
68
  labels: S,
69
+ activateLabels: w,
69
70
  featureLabels: C,
70
- bankLogoSrc: w,
71
- bankLogoAlt: T,
72
- onClose: q
73
- }, H)
71
+ bankLogoSrc: T,
72
+ bankLogoAlt: E,
73
+ onClose: J
74
+ }, U)
74
75
  })] });
75
76
  }
76
77
  function g({ baseUrl: n, widgetToken: r, organizationId: i, configClient: a, gatewayRouting: o, linkComponent: s, implementation: c, uiFramework: l, errorFallback: u, onError: d, analytics: f, disclosuresAcceptance: m, providerLabels: g, ..._ }) {
@@ -8,27 +8,29 @@ import { optionalOrganizationHeaders as d, organizationHeaders as f } from "./li
8
8
  import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteMeasureUnitsId as C, deletePayablesId as w, deletePayablesIdFile as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getApprovalRequests as M, getBankAccountAccess as N, getDepartment as P, getExternalBankAccountAccess as F, getLocation as I, getPayables as L, getPayablesId as R, getPayablesIdHistory as z, getPayablesIdLineItems as B, getPaymentRecords as V, getUsers as H, listDepartments as U, listLocations as W, listRoles as G, manageBankAccountAccess as K, patchCounterpartsId as q, patchCounterpartsIdAddressesId as J, patchCounterpartsIdBankAccountsId as Y, patchMeasureUnitsId as X, patchPayablesId as Z, patchProductsId as Q, patchReceivablesId as $, patchTagsId as ee, postApprovalRequestsIdApprove as te, postApprovalRequestsIdReject as ne, postCounterparts as re, postCounterpartsIdAddresses as ie, postCounterpartsIdBankAccounts as ae, postCounterpartsIdBankAccountsIdMakeDefault as oe, postMeasureUnits 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, postProducts as Se, postReceivables as Ce, postReceivablesIdAccept as we, postReceivablesIdCancel as Te, postReceivablesIdClone as Ee, postReceivablesIdDecline as De, postReceivablesIdIssue as Oe, postReceivablesIdMarkAsPaid as ke, postReceivablesIdMarkAsPartiallyPaid as Ae, postReceivablesIdMarkAsUncollectible as je, postReceivablesIdSend as Me, postTags as Ne, putPayablesIdLineItems as Pe, putReceivablesIdLineItems as Fe, updateDepartment as Ie, updateLocation as Le, updateUser as Re } from "./lib/rest/sdk.gen.js";
9
9
  import { fetchWidgetInit as ze } from "./lib/fetchWidgetInit.js";
10
10
  import { hasAnyScope as Be } from "./lib/hasAnyScope.js";
11
- import { connectExternalBankAccountMutation as Ve, createAchMoneyMovementMutation as He, createApplicationMutation as Ue, createBankAccountMutation as We, createBookTransferMutation as Ge, createDebitCardMutation as Ke, createVelocityControlMutation as qe, deleteApprovalPoliciesIdMutation as Je, deleteLedgerAccountsIdMutation as Ye, deleteReceiptsIdMutation as Xe, disableUserMutation as Ze, getAnalyticsPayablesOptions as Qe, getAnalyticsReceivablesOptions as $e, getApplicationStatusOptions as et, getApprovalPoliciesOptions as tt, getApprovalPoliciesQueryKey as nt, getApprovalRequestsOptions as rt, getApprovalRequestsQueryKey as it, getBankAccountAccessQueryKey as at, getBankAccountOptions as ot, getBankAccountQueryKey as st, getBankAccountTransactionsOptions as ct, getBankAccountTransfersOptions as lt, getBankAccountTransfersQueryKey as ut, getBankAccountsQueryKey as dt, getCounterpartsIdAddressesOptions as ft, getCounterpartsIdAddressesQueryKey as pt, getCounterpartsIdBankAccountsOptions as mt, getCounterpartsIdBankAccountsQueryKey as ht, getCounterpartsIdOptions as gt, getCounterpartsIdQueryKey as _t, getCounterpartsOptions as vt, getCounterpartsQueryKey as yt, getCreditCardByIdOptions as bt, getCreditCardsOptions as xt, getDebitCardByIdOptions as St, getDebitCardCredentialsOptions as Ct, getDebitCardsOptions as wt, getDebitCardsQueryKey as Tt, getDepartmentOptions as Et, getDepartmentQueryKey as Dt, getEntitiesIdSettingsOptions as Ot, getEntitiesIdSettingsQueryKey as kt, getEntitiesMeOptions as At, getEntityUsersMyEntityOptions as jt, getEntityUsersOptions as Mt, getExternalBankAccountAccessQueryKey as Nt, getExternalBankAccountsOptions as Pt, getExternalBankAccountsQueryKey as Ft, getLedgerAccountsQueryKey as It, getLocationOptions as Lt, getLocationQueryKey as Rt, getMeasureUnitsOptions as zt, getMeasureUnitsQueryKey as Bt, getOrganizationOptions as Vt, getPayablesAnalyticsOptions as Ht, getPayablesAnalyticsQueryKey as Ut, getPayablesIdHistoryOptions as Wt, getPayablesIdHistoryQueryKey as Gt, getPayablesIdLineItemsOptions as Kt, getPayablesIdLineItemsQueryKey as qt, getPayablesIdOptions as Jt, getPayablesIdQueryKey as Yt, getPayablesIdSuggestionsOptions as Xt, getPayablesOptions as Zt, getPayablesQueryKey as Qt, getPaymentRecordsOptions as $t, getPaymentRecordsQueryKey as en, getProductsIdOptions as tn, getProductsIdQueryKey as nn, getProductsOptions as rn, getProductsQueryKey as an, getReceiptsIdQueryKey as on, getReceiptsOptions as sn, getReceiptsQueryKey as cn, getReceivablesIdHistoryOptions as ln, getReceivablesIdHistoryQueryKey as un, getReceivablesIdMailsOptions as dn, getReceivablesIdMailsQueryKey as fn, getReceivablesIdOptions as pn, getReceivablesIdPdfLinkOptions as mn, getReceivablesIdPdfLinkQueryKey as hn, getReceivablesIdQueryKey as gn, getReceivablesOptions as _n, getReceivablesQueryKey as vn, getTagsOptions as yn, getTagsQueryKey as bn, getTransactionsIdQueryKey as xn, getTransactionsOptions as Sn, getTransactionsQueryKey as Cn, getTransactionsValidationsOptions as wn, getTransactionsValidationsQueryKey as Tn, getUsersOptions as En, getUsersQueryKey as Dn, getVelocityControlsQueryKey as On, grantBankAccountAccessMutation as kn, grantExternalBankAccountAccessMutation as An, linkExternalBankAccountMutation as jn, listDepartmentsOptions as Mn, listDepartmentsQueryKey as Nn, listLocationsOptions as Pn, listLocationsQueryKey as Fn, listRolesQueryKey as In, manageDebitCardAccessMutation as Ln, patchApprovalPoliciesIdMutation as Rn, patchEntitiesIdSettingsMutation as zn, patchLedgerAccountsIdMutation as Bn, patchReceiptsIdMutation as Vn, postApprovalPoliciesMutation as Hn, postLedgerAccountsMutation as Un, putTransactionsValidationsMutation as Wn, submitApplicationMutation as Gn, unlinkExternalBankAccountMutation as Kn, updateApplicationMutation as qn, updateBankAccountMutation as Jn, updateExternalBankAccountMutation as Yn, validateExternalBankAccountMutation as Xn } from "./lib/rest/@tanstack/react-query.gen.js";
11
+ import { activateCreditCardMutation as Ve, activateDebitCardMutation as He, connectExternalBankAccountMutation as Ue, createAchMoneyMovementMutation as We, createApplicationMutation as Ge, createBankAccountMutation as Ke, createBookTransferMutation as qe, createDebitCardMutation as Je, createVelocityControlMutation as Ye, deleteApprovalPoliciesIdMutation as Xe, deleteLedgerAccountsIdMutation as Ze, deleteReceiptsIdMutation as Qe, disableUserMutation as $e, getAnalyticsPayablesOptions as et, getAnalyticsReceivablesOptions as tt, getApplicationStatusOptions as nt, getApprovalPoliciesOptions as rt, getApprovalPoliciesQueryKey as it, getApprovalRequestsOptions as at, getApprovalRequestsQueryKey as ot, getBankAccountAccessQueryKey as st, getBankAccountOptions as ct, getBankAccountQueryKey as lt, getBankAccountTransactionsOptions as ut, getBankAccountTransfersOptions as dt, getBankAccountTransfersQueryKey as ft, getBankAccountsQueryKey as pt, getCounterpartsIdAddressesOptions as mt, getCounterpartsIdAddressesQueryKey as ht, getCounterpartsIdBankAccountsOptions as gt, getCounterpartsIdBankAccountsQueryKey as _t, getCounterpartsIdOptions as vt, getCounterpartsIdQueryKey as yt, getCounterpartsOptions as bt, getCounterpartsQueryKey as xt, getCreditCardByIdOptions as St, getCreditCardByIdQueryKey as Ct, getCreditCardsOptions as wt, getCreditCardsQueryKey as Tt, getDebitCardByIdOptions as Et, getDebitCardByIdQueryKey as Dt, getDebitCardCredentialsOptions as Ot, getDebitCardsOptions as kt, getDebitCardsQueryKey as At, getDepartmentOptions as jt, getDepartmentQueryKey as Mt, getEntitiesIdSettingsOptions as Nt, getEntitiesIdSettingsQueryKey as Pt, getEntitiesMeOptions as Ft, getEntityUsersMyEntityOptions as It, getEntityUsersOptions as Lt, getExternalBankAccountAccessQueryKey as Rt, getExternalBankAccountsOptions as zt, getExternalBankAccountsQueryKey as Bt, getLedgerAccountsQueryKey as Vt, getLocationOptions as Ht, getLocationQueryKey as Ut, getMeasureUnitsOptions as Wt, getMeasureUnitsQueryKey as Gt, getOrganizationOptions as Kt, getPayablesAnalyticsOptions as qt, getPayablesAnalyticsQueryKey as Jt, getPayablesIdHistoryOptions as Yt, getPayablesIdHistoryQueryKey as Xt, getPayablesIdLineItemsOptions as Zt, getPayablesIdLineItemsQueryKey as Qt, getPayablesIdOptions as $t, getPayablesIdQueryKey as en, getPayablesIdSuggestionsOptions as tn, getPayablesOptions as nn, getPayablesQueryKey as rn, getPaymentRecordsOptions as an, getPaymentRecordsQueryKey as on, getProductsIdOptions as sn, getProductsIdQueryKey as cn, getProductsOptions as ln, getProductsQueryKey as un, getReceiptsIdQueryKey as dn, getReceiptsOptions as fn, getReceiptsQueryKey as pn, getReceivablesIdHistoryOptions as mn, getReceivablesIdHistoryQueryKey as hn, getReceivablesIdMailsOptions as gn, getReceivablesIdMailsQueryKey as _n, getReceivablesIdOptions as vn, getReceivablesIdPdfLinkOptions as yn, getReceivablesIdPdfLinkQueryKey as bn, getReceivablesIdQueryKey as xn, getReceivablesOptions as Sn, getReceivablesQueryKey as Cn, getTagsOptions as wn, getTagsQueryKey as Tn, getTransactionsIdQueryKey as En, getTransactionsOptions as Dn, getTransactionsQueryKey as On, getTransactionsValidationsOptions as kn, getTransactionsValidationsQueryKey as An, getUsersOptions as jn, getUsersQueryKey as Mn, getVelocityControlsQueryKey as Nn, grantBankAccountAccessMutation as Pn, grantExternalBankAccountAccessMutation as Fn, linkExternalBankAccountMutation as In, listDepartmentsOptions as Ln, listDepartmentsQueryKey as Rn, listLocationsOptions as zn, listLocationsQueryKey as Bn, listRolesQueryKey as Vn, manageDebitCardAccessMutation as Hn, patchApprovalPoliciesIdMutation as Un, patchEntitiesIdSettingsMutation as Wn, patchLedgerAccountsIdMutation as Gn, patchReceiptsIdMutation as Kn, postApprovalPoliciesMutation as qn, postLedgerAccountsMutation as Jn, putTransactionsValidationsMutation as Yn, submitApplicationMutation as Xn, unlinkExternalBankAccountMutation as Zn, updateApplicationMutation as Qn, updateBankAccountMutation as $n, updateExternalBankAccountMutation as er, validateExternalBankAccountMutation as tr, verifyDebitCardMutation as nr } from "./lib/rest/@tanstack/react-query.gen.js";
12
12
  import "./lib/queryKeys.js";
13
- import { withAuthEpoch as Zn } from "./lib/withAuthEpoch.js";
14
- import { useCurrentUserQuery as Qn } from "./lib/useCurrentUserQuery.js";
13
+ import { withAuthEpoch as rr } from "./lib/withAuthEpoch.js";
14
+ import { useCurrentUserQuery as ir } from "./lib/useCurrentUserQuery.js";
15
15
  import "./lib/apiErrorStatus.js";
16
- import { isApiForbiddenError as $n } from "./lib/isApiForbiddenError.js";
17
- import { isApiNotFoundError as er } from "./lib/isApiNotFoundError.js";
16
+ import { isApiConflictError as ar } from "./lib/isApiConflictError.js";
17
+ import { isApiForbiddenError as or } from "./lib/isApiForbiddenError.js";
18
+ import { isApiNotFoundError as sr } from "./lib/isApiNotFoundError.js";
19
+ import { isApiUnprocessableError as cr } from "./lib/isApiUnprocessableError.js";
18
20
  import "./lib/isUserDataNotFoundError.js";
19
- import { useGetUserDataQuery as tr } from "./lib/useGetUserDataQuery.js";
20
- import { useUpsertUserDataMutation as nr } from "./lib/useUpsertUserDataMutation.js";
21
+ import { useGetUserDataQuery as lr } from "./lib/useGetUserDataQuery.js";
22
+ import { useUpsertUserDataMutation as ur } from "./lib/useUpsertUserDataMutation.js";
21
23
  import "./lib/rest/zod.gen.js";
22
- import { Scope as rr } from "./lib/scopes.js";
23
- import { getAllPagesNextPageParam as ir, getAllPagesNextPaginationTokenParam as ar, isAllPagesResolving as or, useAutoFetchNextPage as sr } from "./lib/allPages.js";
24
- import { useAllBankAccountsQuery as cr } from "./lib/bank-account/useAllBankAccountsQuery.js";
25
- import { useAllExternalBankAccountsQuery as lr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
26
- import { useAllMerchantCategoryGroupsQuery as ur } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
27
- import { useAllLedgerAccountsQuery as dr, useLedgerAccountsQuery as fr } from "./lib/reference-data/useLedgerAccountsQuery.js";
28
- import { usePaymentTermsQuery as pr } from "./lib/reference-data/usePaymentTermsQuery.js";
29
- import { useAllOrganizationRolesQuery as mr } from "./lib/role/useAllOrganizationRolesQuery.js";
30
- import { useRolePermissionsQueries as hr } from "./lib/role/useRolePermissionsQueries.js";
31
- import { useAllOrganizationUsersQuery as gr } from "./lib/user/useAllOrganizationUsersQuery.js";
32
- import { useAcceptWidgetDisclosures as _r } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
33
- import { useDisclosuresQuery as vr } from "./lib/disclosures/useDisclosuresQuery.js";
34
- export { l as EmbedApiProvider, rr as Scope, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ve as connectExternalBankAccountMutation, He as createAchMoneyMovementMutation, Ue as createApplicationMutation, We as createBankAccountMutation, Ge as createBookTransferMutation, Ke as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, qe as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, Je as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, Ye as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, Xe as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Ze as disableUserMutation, k as downloadBankAccountTransactions, ze as fetchWidgetInit, ir as getAllPagesNextPageParam, ar as getAllPagesNextPaginationTokenParam, Qe as getAnalyticsPayablesOptions, $e as getAnalyticsReceivablesOptions, A as getApplicationStatus, et as getApplicationStatusOptions, j as getApprovalPolicies, tt as getApprovalPoliciesOptions, nt as getApprovalPoliciesQueryKey, M as getApprovalRequests, rt as getApprovalRequestsOptions, it as getApprovalRequestsQueryKey, N as getBankAccountAccess, at as getBankAccountAccessQueryKey, ot as getBankAccountOptions, st as getBankAccountQueryKey, ct as getBankAccountTransactionsOptions, lt as getBankAccountTransfersOptions, ut as getBankAccountTransfersQueryKey, dt as getBankAccountsQueryKey, ft as getCounterpartsIdAddressesOptions, pt as getCounterpartsIdAddressesQueryKey, mt as getCounterpartsIdBankAccountsOptions, ht as getCounterpartsIdBankAccountsQueryKey, gt as getCounterpartsIdOptions, _t as getCounterpartsIdQueryKey, vt as getCounterpartsOptions, yt as getCounterpartsQueryKey, bt as getCreditCardByIdOptions, xt as getCreditCardsOptions, St as getDebitCardByIdOptions, Ct as getDebitCardCredentialsOptions, wt as getDebitCardsOptions, Tt as getDebitCardsQueryKey, P as getDepartment, Et as getDepartmentOptions, Dt as getDepartmentQueryKey, Ot as getEntitiesIdSettingsOptions, kt as getEntitiesIdSettingsQueryKey, At as getEntitiesMeOptions, jt as getEntityUsersMyEntityOptions, Mt as getEntityUsersOptions, F as getExternalBankAccountAccess, Nt as getExternalBankAccountAccessQueryKey, Pt as getExternalBankAccountsOptions, Ft as getExternalBankAccountsQueryKey, It as getLedgerAccountsQueryKey, I as getLocation, Lt as getLocationOptions, Rt as getLocationQueryKey, zt as getMeasureUnitsOptions, Bt as getMeasureUnitsQueryKey, Vt as getOrganizationOptions, L as getPayables, Ht as getPayablesAnalyticsOptions, Ut as getPayablesAnalyticsQueryKey, R as getPayablesId, z as getPayablesIdHistory, Wt as getPayablesIdHistoryOptions, Gt as getPayablesIdHistoryQueryKey, B as getPayablesIdLineItems, Kt as getPayablesIdLineItemsOptions, qt as getPayablesIdLineItemsQueryKey, Jt as getPayablesIdOptions, Yt as getPayablesIdQueryKey, Xt as getPayablesIdSuggestionsOptions, Zt as getPayablesOptions, Qt as getPayablesQueryKey, V as getPaymentRecords, $t as getPaymentRecordsOptions, en as getPaymentRecordsQueryKey, tn as getProductsIdOptions, nn as getProductsIdQueryKey, rn as getProductsOptions, an as getProductsQueryKey, on as getReceiptsIdQueryKey, sn as getReceiptsOptions, cn as getReceiptsQueryKey, ln as getReceivablesIdHistoryOptions, un as getReceivablesIdHistoryQueryKey, dn as getReceivablesIdMailsOptions, fn as getReceivablesIdMailsQueryKey, pn as getReceivablesIdOptions, mn as getReceivablesIdPdfLinkOptions, hn as getReceivablesIdPdfLinkQueryKey, gn as getReceivablesIdQueryKey, _n as getReceivablesOptions, vn as getReceivablesQueryKey, yn as getTagsOptions, bn as getTagsQueryKey, xn as getTransactionsIdQueryKey, Sn as getTransactionsOptions, Cn as getTransactionsQueryKey, wn as getTransactionsValidationsOptions, Tn as getTransactionsValidationsQueryKey, H as getUsers, En as getUsersOptions, Dn as getUsersQueryKey, On as getVelocityControlsQueryKey, kn as grantBankAccountAccessMutation, An as grantExternalBankAccountAccessMutation, Be as hasAnyScope, t as invalidateAllClients, or as isAllPagesResolving, $n as isApiForbiddenError, er as isApiNotFoundError, c as isWidgetGatewayHost, jn as linkExternalBankAccountMutation, U as listDepartments, Mn as listDepartmentsOptions, Nn as listDepartmentsQueryKey, W as listLocations, Pn as listLocationsOptions, Fn as listLocationsQueryKey, G as listRoles, In as listRolesQueryKey, K as manageBankAccountAccess, Ln as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, Rn as patchApprovalPoliciesIdMutation, q as patchCounterpartsId, J as patchCounterpartsIdAddressesId, Y as patchCounterpartsIdBankAccountsId, zn as patchEntitiesIdSettingsMutation, Bn as patchLedgerAccountsIdMutation, X as patchMeasureUnitsId, Z as patchPayablesId, Q as patchProductsId, Vn as patchReceiptsIdMutation, $ as patchReceivablesId, ee as patchTagsId, Hn as postApprovalPoliciesMutation, te as postApprovalRequestsIdApprove, ne as postApprovalRequestsIdReject, re as postCounterparts, ie as postCounterpartsIdAddresses, ae as postCounterpartsIdBankAccounts, oe as postCounterpartsIdBankAccountsIdMakeDefault, Un as postLedgerAccountsMutation, se as postMeasureUnits, 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 postProducts, Ce as postReceivables, we as postReceivablesIdAccept, Te as postReceivablesIdCancel, Ee as postReceivablesIdClone, De as postReceivablesIdDecline, Oe as postReceivablesIdIssue, ke as postReceivablesIdMarkAsPaid, Ae as postReceivablesIdMarkAsPartiallyPaid, je as postReceivablesIdMarkAsUncollectible, Me as postReceivablesIdSend, Ne as postTags, Pe as putPayablesIdLineItems, Fe as putReceivablesIdLineItems, Wn as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Gn as submitApplicationMutation, Kn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, qn as updateApplicationMutation, Jn as updateBankAccountMutation, Ie as updateDepartment, Yn as updateExternalBankAccountMutation, Le as updateLocation, Re as updateUser, _r as useAcceptWidgetDisclosures, cr as useAllBankAccountsQuery, lr as useAllExternalBankAccountsQuery, dr as useAllLedgerAccountsQuery, ur as useAllMerchantCategoryGroupsQuery, mr as useAllOrganizationRolesQuery, gr as useAllOrganizationUsersQuery, sr as useAutoFetchNextPage, Qn as useCurrentUserQuery, vr as useDisclosuresQuery, u as useEmbedApi, tr as useGetUserDataQuery, fr as useLedgerAccountsQuery, pr as usePaymentTermsQuery, hr as useRolePermissionsQueries, nr as useUpsertUserDataMutation, Xn as validateExternalBankAccountMutation, Zn as withAuthEpoch };
24
+ import { Scope as dr } from "./lib/scopes.js";
25
+ import { getAllPagesNextPageParam as fr, getAllPagesNextPaginationTokenParam as pr, isAllPagesResolving as mr, useAutoFetchNextPage as hr } from "./lib/allPages.js";
26
+ import { useAllBankAccountsQuery as gr } from "./lib/bank-account/useAllBankAccountsQuery.js";
27
+ import { useAllExternalBankAccountsQuery as _r } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
28
+ import { useAllMerchantCategoryGroupsQuery as vr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
29
+ import { useAllLedgerAccountsQuery as yr, useLedgerAccountsQuery as br } from "./lib/reference-data/useLedgerAccountsQuery.js";
30
+ import { usePaymentTermsQuery as xr } from "./lib/reference-data/usePaymentTermsQuery.js";
31
+ import { useAllOrganizationRolesQuery as Sr } from "./lib/role/useAllOrganizationRolesQuery.js";
32
+ import { useRolePermissionsQueries as Cr } from "./lib/role/useRolePermissionsQueries.js";
33
+ import { useAllOrganizationUsersQuery as wr } from "./lib/user/useAllOrganizationUsersQuery.js";
34
+ import { useAcceptWidgetDisclosures as Tr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
35
+ import { useDisclosuresQuery as Er } from "./lib/disclosures/useDisclosuresQuery.js";
36
+ export { l as EmbedApiProvider, dr as Scope, Ve as activateCreditCardMutation, He as activateDebitCardMutation, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ue as connectExternalBankAccountMutation, We as createAchMoneyMovementMutation, Ge as createApplicationMutation, Ke as createBankAccountMutation, qe as createBookTransferMutation, Je as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, Ye as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, Xe as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, Ze as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, Qe as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, $e as disableUserMutation, k as downloadBankAccountTransactions, ze as fetchWidgetInit, fr as getAllPagesNextPageParam, pr as getAllPagesNextPaginationTokenParam, et as getAnalyticsPayablesOptions, tt as getAnalyticsReceivablesOptions, A as getApplicationStatus, nt as getApplicationStatusOptions, j as getApprovalPolicies, rt as getApprovalPoliciesOptions, it as getApprovalPoliciesQueryKey, M as getApprovalRequests, at as getApprovalRequestsOptions, ot as getApprovalRequestsQueryKey, N as getBankAccountAccess, st as getBankAccountAccessQueryKey, ct as getBankAccountOptions, lt as getBankAccountQueryKey, ut as getBankAccountTransactionsOptions, dt as getBankAccountTransfersOptions, ft as getBankAccountTransfersQueryKey, pt as getBankAccountsQueryKey, mt as getCounterpartsIdAddressesOptions, ht as getCounterpartsIdAddressesQueryKey, gt as getCounterpartsIdBankAccountsOptions, _t as getCounterpartsIdBankAccountsQueryKey, vt as getCounterpartsIdOptions, yt as getCounterpartsIdQueryKey, bt as getCounterpartsOptions, xt as getCounterpartsQueryKey, St as getCreditCardByIdOptions, Ct as getCreditCardByIdQueryKey, wt as getCreditCardsOptions, Tt as getCreditCardsQueryKey, Et as getDebitCardByIdOptions, Dt as getDebitCardByIdQueryKey, Ot as getDebitCardCredentialsOptions, kt as getDebitCardsOptions, At as getDebitCardsQueryKey, P as getDepartment, jt as getDepartmentOptions, Mt as getDepartmentQueryKey, Nt as getEntitiesIdSettingsOptions, Pt as getEntitiesIdSettingsQueryKey, Ft as getEntitiesMeOptions, It as getEntityUsersMyEntityOptions, Lt as getEntityUsersOptions, F as getExternalBankAccountAccess, Rt as getExternalBankAccountAccessQueryKey, zt as getExternalBankAccountsOptions, Bt as getExternalBankAccountsQueryKey, Vt as getLedgerAccountsQueryKey, I as getLocation, Ht as getLocationOptions, Ut as getLocationQueryKey, Wt as getMeasureUnitsOptions, Gt as getMeasureUnitsQueryKey, Kt as getOrganizationOptions, L as getPayables, qt as getPayablesAnalyticsOptions, Jt as getPayablesAnalyticsQueryKey, R as getPayablesId, z as getPayablesIdHistory, Yt as getPayablesIdHistoryOptions, Xt as getPayablesIdHistoryQueryKey, B as getPayablesIdLineItems, Zt as getPayablesIdLineItemsOptions, Qt as getPayablesIdLineItemsQueryKey, $t as getPayablesIdOptions, en as getPayablesIdQueryKey, tn as getPayablesIdSuggestionsOptions, nn as getPayablesOptions, rn as getPayablesQueryKey, V as getPaymentRecords, an as getPaymentRecordsOptions, on as getPaymentRecordsQueryKey, sn as getProductsIdOptions, cn as getProductsIdQueryKey, ln as getProductsOptions, un as getProductsQueryKey, dn as getReceiptsIdQueryKey, fn as getReceiptsOptions, pn as getReceiptsQueryKey, mn as getReceivablesIdHistoryOptions, hn as getReceivablesIdHistoryQueryKey, gn as getReceivablesIdMailsOptions, _n as getReceivablesIdMailsQueryKey, vn as getReceivablesIdOptions, yn as getReceivablesIdPdfLinkOptions, bn as getReceivablesIdPdfLinkQueryKey, xn as getReceivablesIdQueryKey, Sn as getReceivablesOptions, Cn as getReceivablesQueryKey, wn as getTagsOptions, Tn as getTagsQueryKey, En as getTransactionsIdQueryKey, Dn as getTransactionsOptions, On as getTransactionsQueryKey, kn as getTransactionsValidationsOptions, An as getTransactionsValidationsQueryKey, H as getUsers, jn as getUsersOptions, Mn as getUsersQueryKey, Nn as getVelocityControlsQueryKey, Pn as grantBankAccountAccessMutation, Fn as grantExternalBankAccountAccessMutation, Be as hasAnyScope, t as invalidateAllClients, mr as isAllPagesResolving, ar as isApiConflictError, or as isApiForbiddenError, sr as isApiNotFoundError, cr as isApiUnprocessableError, c as isWidgetGatewayHost, In as linkExternalBankAccountMutation, U as listDepartments, Ln as listDepartmentsOptions, Rn as listDepartmentsQueryKey, W as listLocations, zn as listLocationsOptions, Bn as listLocationsQueryKey, G as listRoles, Vn as listRolesQueryKey, K as manageBankAccountAccess, Hn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, Un as patchApprovalPoliciesIdMutation, q as patchCounterpartsId, J as patchCounterpartsIdAddressesId, Y as patchCounterpartsIdBankAccountsId, Wn as patchEntitiesIdSettingsMutation, Gn as patchLedgerAccountsIdMutation, X as patchMeasureUnitsId, Z as patchPayablesId, Q as patchProductsId, Kn as patchReceiptsIdMutation, $ as patchReceivablesId, ee as patchTagsId, qn as postApprovalPoliciesMutation, te as postApprovalRequestsIdApprove, ne as postApprovalRequestsIdReject, re as postCounterparts, ie as postCounterpartsIdAddresses, ae as postCounterpartsIdBankAccounts, oe as postCounterpartsIdBankAccountsIdMakeDefault, Jn as postLedgerAccountsMutation, se as postMeasureUnits, 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 postProducts, Ce as postReceivables, we as postReceivablesIdAccept, Te as postReceivablesIdCancel, Ee as postReceivablesIdClone, De as postReceivablesIdDecline, Oe as postReceivablesIdIssue, ke as postReceivablesIdMarkAsPaid, Ae as postReceivablesIdMarkAsPartiallyPaid, je as postReceivablesIdMarkAsUncollectible, Me as postReceivablesIdSend, Ne as postTags, Pe as putPayablesIdLineItems, Fe as putReceivablesIdLineItems, Yn as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Xn as submitApplicationMutation, Zn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, Qn as updateApplicationMutation, $n as updateBankAccountMutation, Ie as updateDepartment, er as updateExternalBankAccountMutation, Le as updateLocation, Re as updateUser, Tr as useAcceptWidgetDisclosures, gr as useAllBankAccountsQuery, _r as useAllExternalBankAccountsQuery, yr as useAllLedgerAccountsQuery, vr as useAllMerchantCategoryGroupsQuery, Sr as useAllOrganizationRolesQuery, wr as useAllOrganizationUsersQuery, hr as useAutoFetchNextPage, ir as useCurrentUserQuery, Er as useDisclosuresQuery, u as useEmbedApi, lr as useGetUserDataQuery, br as useLedgerAccountsQuery, xr as usePaymentTermsQuery, Cr as useRolePermissionsQueries, ur as useUpsertUserDataMutation, tr as validateExternalBankAccountMutation, nr as verifyDebitCardMutation, rr as withAuthEpoch };
@@ -0,0 +1,7 @@
1
+ import { hasApiStatus as e } from "./apiErrorStatus.js";
2
+ //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/isApiConflictError.js
3
+ function t(t) {
4
+ return e(t, 409);
5
+ }
6
+ //#endregion
7
+ export { t as isApiConflictError };
@@ -0,0 +1,7 @@
1
+ import { hasApiStatus as e } from "./apiErrorStatus.js";
2
+ //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/isApiUnprocessableError.js
3
+ function t(t) {
4
+ return e(t, 422);
5
+ }
6
+ //#endregion
7
+ export { t as isApiUnprocessableError };