@tesouro/embedded-components-react 0.5.206 → 0.5.210

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 (49) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +40 -0
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +40 -0
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +84 -2
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -25
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +22 -1
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +151 -187
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +202 -31
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +32 -145
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +145 -37
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +42 -58
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +58 -96
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +96 -47
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +103 -318
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +47 -70
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +350 -100
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +68 -263
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +115 -0
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +285 -0
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -2
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +4 -3
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +11 -10
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +234 -78
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +80 -331
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +344 -0
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +14 -1
  31. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index.js +7 -8
  32. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index2.js +11 -10
  33. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index3.js +2 -2
  34. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index4.js +12 -24
  35. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index5.js +36 -14
  36. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index6.js +16 -21
  37. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index7.js +6 -7
  38. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +23 -22
  39. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index8.js +2 -2
  41. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +11 -11
  42. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -39
  43. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/queryKeys.js +8 -4
  44. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +220 -198
  45. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +124 -84
  46. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js +25 -0
  47. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  48. package/package.json +1 -1
  49. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index8.js +0 -34
@@ -2,17 +2,18 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { EmbeddedToaster as e } from "../../../../shared/ui/dist/lib/EmbeddedToaster.js";
5
+ import { useMyEntityQuery as e } from "../../../../shared/data-access/dist/lib/useMyEntityQuery.js";
6
+ import "../../../../shared/data-access/dist/index.js";
7
+ import { EmbeddedToaster as t } from "../../../../shared/ui/dist/lib/EmbeddedToaster.js";
6
8
  import "../../../../shared/ui/dist/index.js";
7
- import { useAnalyticsTrack as t } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
8
- import { WidgetProvider as n } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
9
- import { useWidgetConfig as r } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
9
+ import { useAnalyticsTrack as n } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
10
+ import { WidgetProvider as r } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
11
+ import { useWidgetConfig as i } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
10
12
  import "../../../../shared/feature/dist/index.js";
11
- import { InvoiceSettingsAnalyticsEvent as i, WIDGET_NAME as a } from "./index9.js";
12
- import { getInvoiceSettingsPermissions as o } from "./index2.js";
13
- import { useMyEntityQuery as s } from "../../data-access/dist/index2.js";
14
- import { useEntitySettingsQuery as c } from "../../data-access/dist/index3.js";
15
- import { useNextDocumentNumbersQuery as l } from "../../data-access/dist/index4.js";
13
+ import { InvoiceSettingsAnalyticsEvent as a, WIDGET_NAME as o } from "./index9.js";
14
+ import { getInvoiceSettingsPermissions as s } from "./index2.js";
15
+ import { useEntitySettingsQuery as c } from "../../data-access/dist/index2.js";
16
+ import { useNextDocumentNumbersQuery as l } from "../../data-access/dist/index3.js";
16
17
  import "../../data-access/dist/index.js";
17
18
  import { useInvoiceSettingsForm as u } from "./index7.js";
18
19
  import { InvoiceSettingsPanel as d } from "../../ui/dist/index3.js";
@@ -65,12 +66,12 @@ function w({ entityId: e, entitySettings: t, nextNumbers: n, logo: r, confirmLea
65
66
  labels: c
66
67
  })] });
67
68
  }
68
- function T({ handleRef: n, panelLabels: a, logoLabels: u, dropzoneLabels: f, messageLabels: p, ...m }) {
69
- let T = t(), E = b(null);
70
- v(n, () => ({ confirmLeave: () => E.current?.() ?? Promise.resolve(!0) }), []), _(() => {
71
- T(i.Mounted);
69
+ function T({ handleRef: r, panelLabels: o, logoLabels: u, dropzoneLabels: f, messageLabels: p, ...m }) {
70
+ let T = n(), E = b(null);
71
+ v(r, () => ({ confirmLeave: () => E.current?.() ?? Promise.resolve(!0) }), []), _(() => {
72
+ T(a.Mounted);
72
73
  }, [T]);
73
- let { initResponse: D } = r(), { canEdit: O } = y(() => o(D?.scopes), [D?.scopes]), { data: k, isLoading: A, isError: j, refetch: M } = s(), N = k?.id, P = O ? N : void 0, { data: F, isLoading: I, isError: L, refetch: R } = c(P), { data: z, isLoading: B, isError: V, refetch: H } = l(P), U = g({
74
+ let { initResponse: D } = i(), { canEdit: O } = y(() => s(D?.scopes), [D?.scopes]), { data: k, isLoading: A, isError: j, refetch: M } = e(), N = k?.id, P = O ? N : void 0, { data: F, isLoading: I, isError: L, refetch: R } = c(P), { data: z, isLoading: B, isError: V, refetch: H } = l(P), U = g({
74
75
  entityId: N ?? "",
75
76
  labels: p
76
77
  }), W = y(() => ({
@@ -79,7 +80,7 @@ function T({ handleRef: n, panelLabels: a, logoLabels: u, dropzoneLabels: f, mes
79
80
  }), [U.fileTypesHint, f]);
80
81
  if (!O) return null;
81
82
  let G = N || A ? /* @__PURE__ */ C(x, { children: [
82
- /* @__PURE__ */ S(e, {}),
83
+ /* @__PURE__ */ S(t, {}),
83
84
  /* @__PURE__ */ S(h, {
84
85
  logoUrl: U.uploadedLogoUrl ?? k?.logo?.url,
85
86
  isLoading: A,
@@ -107,26 +108,26 @@ function T({ handleRef: n, panelLabels: a, logoLabels: u, dropzoneLabels: f, mes
107
108
  M(), R(), H();
108
109
  },
109
110
  onSubmit: () => void 0,
110
- labels: a
111
+ labels: o
111
112
  }) : /* @__PURE__ */ S(w, {
112
113
  entityId: N ?? "",
113
114
  entitySettings: F,
114
115
  nextNumbers: z,
115
116
  logo: G,
116
117
  confirmLeaveRef: E,
117
- panelLabels: a,
118
+ panelLabels: o,
118
119
  messageLabels: p,
119
120
  ...m
120
121
  }, N);
121
122
  }
122
- function E({ baseUrl: e, widgetToken: t, organizationId: r, configClient: i, gatewayRouting: o, linkComponent: s, implementation: c, uiFramework: l, analytics: u, disclosuresAcceptance: d, providerLabels: f, errorFallback: p, onError: m, ref: h, ...g }) {
123
- return /* @__PURE__ */ S(n, {
124
- widgetName: a,
123
+ function E({ baseUrl: e, widgetToken: t, organizationId: n, configClient: i, gatewayRouting: a, linkComponent: s, implementation: c, uiFramework: l, analytics: u, disclosuresAcceptance: d, providerLabels: f, errorFallback: p, onError: m, ref: h, ...g }) {
124
+ return /* @__PURE__ */ S(r, {
125
+ widgetName: o,
125
126
  baseUrl: e,
126
127
  widgetToken: t,
127
- organizationId: r,
128
+ organizationId: n,
128
129
  configClient: i,
129
- gatewayRouting: o,
130
+ gatewayRouting: a,
130
131
  linkComponent: s,
131
132
  implementation: c,
132
133
  uiFramework: l,
@@ -8,7 +8,7 @@ import { INVOICE_SETTINGS_MESSAGE_LABELS_EN as t } from "./index5.js";
8
8
  import { buildDocumentRendering as n, getBankDisplayValue as r } from "./index3.js";
9
9
  import { formatInvoiceNumberPreview as i, padStartingNumber as a } from "./index4.js";
10
10
  import { getInvoiceSettingsFormSchema as o } from "./index6.js";
11
- import { useUpdateEntitySettingsMutation as s } from "../../data-access/dist/index6.js";
11
+ import { useUpdateEntitySettingsMutation as s } from "../../data-access/dist/index5.js";
12
12
  import "../../data-access/dist/index.js";
13
13
  import { useCallback as c, useMemo as l, useRef as u, useState as d } from "react";
14
14
  //#region ../../libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index7.js
@@ -5,8 +5,8 @@
5
5
  import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
6
  import "../../../../shared/ui/dist/index.js";
7
7
  import { INVOICE_SETTINGS_MESSAGE_LABELS_EN as t } from "./index5.js";
8
- import { useUploadEntityLogoMutation as n } from "../../data-access/dist/index7.js";
9
- import { useDeleteEntityLogoMutation as r } from "../../data-access/dist/index8.js";
8
+ import { useUploadEntityLogoMutation as n } from "../../data-access/dist/index6.js";
9
+ import { useDeleteEntityLogoMutation as r } from "../../data-access/dist/index7.js";
10
10
  import "../../data-access/dist/index.js";
11
11
  import { LogoUploadStatus as i } from "../../ui/dist/index15.js";
12
12
  import "../../ui/dist/index.js";
@@ -6,17 +6,17 @@ import { ConfirmDeleteDialog as i } from "../../ui/dist/index14.js";
6
6
  import "../../ui/dist/index.js";
7
7
  import { COUNTERPART_MESSAGE_LABELS_EN as a } from "./lib/labels.js";
8
8
  import { buildAnalyticsMap as o, buildCounterpartRows as s, counterpartFormBankAccountToCreatePayload as c, counterpartFormBankAccountToUpdatePayload as l, formatCounterpartDate as u, formatMoney as d, getAchInstructions as f, getCounterpartEmail as p, getCounterpartName as m, getPayableAchInstructions as h, hasSelectedText as g, isAchCompatibleBankAccount as _, resolveCounterpartBankAccountWrite as v, validateAchFormValues as y } from "./lib/helpers.js";
9
- import { useCounterpartsByIdsQuery as b, useCounterpartsQuery as x } from "../../data-access/dist/index3.js";
10
- import { useCreateCounterpartBankAccountMutation as S, useUpdateCounterpartBankAccountMutation as C } from "../../data-access/dist/index5.js";
11
- import { useCounterpartAddressesForRowsQuery as w, useCounterpartAddressesQuery as T } from "../../data-access/dist/index7.js";
9
+ import { useCounterpartQuery as b, useCounterpartsByIdsQuery as x, useCounterpartsQuery as S } from "../../data-access/dist/index3.js";
10
+ import { useCreateCounterpartBankAccountMutation as C, useUpdateCounterpartBankAccountMutation as w } from "../../data-access/dist/index5.js";
11
+ import { useCounterpartAddressesForRowsQuery as T, useCounterpartAddressesQuery as E } from "../../data-access/dist/index7.js";
12
12
  import "../../data-access/dist/index.js";
13
- import { useAddressForm as E } from "./lib/useAddressForm.js";
14
- import { useCounterpartDetails as D } from "./lib/useCounterpartDetails.js";
15
- import { usePayableAchInstructions as O } from "./lib/usePayableAchInstructions.js";
16
- import { useCounterpartForm as k } from "./lib/useCounterpartForm.js";
13
+ import { useAddressForm as D } from "./lib/useAddressForm.js";
14
+ import { useCounterpartDetails as O } from "./lib/useCounterpartDetails.js";
15
+ import { usePayableAchInstructions as k } from "./lib/usePayableAchInstructions.js";
16
+ import { useCounterpartForm as A } from "./lib/useCounterpartForm.js";
17
17
  import "./lib/useCounterpartSelector.js";
18
- import { CounterpartSelector as A } from "./lib/CounterpartSelector.js";
19
- import { useDeleteController as j } from "./lib/useDeleteController.js";
18
+ import { CounterpartSelector as j } from "./lib/CounterpartSelector.js";
19
+ import { useDeleteController as M } from "./lib/useDeleteController.js";
20
20
  import "./lib/useSubEntityForm.js";
21
- import { useBankAccountForm as M } from "./lib/subEntityForms.js";
22
- export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet, A as CounterpartSelector, o as buildAnalyticsMap, s as buildCounterpartRows, c as counterpartFormBankAccountToCreatePayload, l as counterpartFormBankAccountToUpdatePayload, u as formatCounterpartDate, d as formatMoney, f as getAchInstructions, p as getCounterpartEmail, m as getCounterpartName, h as getPayableAchInstructions, g as hasSelectedText, _ as isAchCompatibleBankAccount, v as resolveCounterpartBankAccountWrite, E as useAddressForm, M as useBankAccountForm, w as useCounterpartAddressesForRowsQuery, T as useCounterpartAddressesQuery, D as useCounterpartDetails, k as useCounterpartForm, b as useCounterpartsByIdsQuery, x as useCounterpartsQuery, S as useCreateCounterpartBankAccountMutation, j as useDeleteController, n as useFocusFirstInvalidField, O as usePayableAchInstructions, C as useUpdateCounterpartBankAccountMutation, y as validateAchFormValues };
21
+ import { useBankAccountForm as N } from "./lib/subEntityForms.js";
22
+ export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet, j as CounterpartSelector, o as buildAnalyticsMap, s as buildCounterpartRows, c as counterpartFormBankAccountToCreatePayload, l as counterpartFormBankAccountToUpdatePayload, u as formatCounterpartDate, d as formatMoney, f as getAchInstructions, p as getCounterpartEmail, m as getCounterpartName, h as getPayableAchInstructions, g as hasSelectedText, _ as isAchCompatibleBankAccount, v as resolveCounterpartBankAccountWrite, D as useAddressForm, N as useBankAccountForm, T as useCounterpartAddressesForRowsQuery, E as useCounterpartAddressesQuery, O as useCounterpartDetails, A as useCounterpartForm, b as useCounterpartQuery, x as useCounterpartsByIdsQuery, S as useCounterpartsQuery, C as useCreateCounterpartBankAccountMutation, M as useDeleteController, n as useFocusFirstInvalidField, k as usePayableAchInstructions, w as useUpdateCounterpartBankAccountMutation, y as validateAchFormValues };
@@ -1,45 +1,46 @@
1
1
  import "./lib/finopsApiVersion.js";
2
2
  import "./lib/rest/client.gen.js";
3
- import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, getUsers as I, listDepartments as L, listLocations as R, listRoles as z, manageBankAccountAccess as B, manageDebitCardAccess as V, patchCounterpartsId as H, patchCounterpartsIdAddressesId as U, patchCounterpartsIdBankAccountsId as W, patchEntitiesIdSettings as G, patchMeasureUnitsId as K, patchPayablesId as q, patchProductsId as J, patchReceivablesId as Y, patchTransactionsId as X, postApprovalRequestsIdApprove as Z, postApprovalRequestsIdReject as Q, postBankDetails as $, postCounterparts as ee, postCounterpartsIdAddresses as te, postCounterpartsIdBankAccounts as ne, postCounterpartsIdBankAccountsIdMakeDefault as re, postFiles as ie, postMeasureUnits as ae, postPayables as oe, postPayablesIdApprovePaymentOperation as se, postPayablesIdAttachFile as ce, postPayablesIdCancel as le, postPayablesIdDuplicatesIdConfirm as ue, postPayablesIdDuplicatesIdDismiss as de, postPayablesIdMarkAsPaid as fe, postPayablesIdReject as pe, postPayablesIdReopen as me, postPayablesIdSchedulePayment as he, postPayablesIdSubmitForApproval as ge, postPayablesIdValidate as _e, postPayablesUploadFromFile as ve, postPaymentIntentsIdCancel as ye, postProducts as be, postReceivables as xe, postReceivablesIdAccept as Se, postReceivablesIdCancel as Ce, postReceivablesIdClone as we, postReceivablesIdDecline as Te, postReceivablesIdIssue as Ee, postReceivablesIdMarkAsPaid as De, postReceivablesIdMarkAsPartiallyPaid as Oe, postReceivablesIdMarkAsUncollectible as ke, postReceivablesIdSend as Ae, postTransactionsIdApprove as je, postTransactionsIdReject as Me, postTransactionsIdReopen as Ne, postTransactionsIdSubmit as Pe, putEntitiesIdLogo as Fe, putPayablesIdLineItems as Ie, updateDepartment as Le, updateLocation as Re, updateUser as ze } from "./lib/rest/sdk.gen.js";
4
- import { activateCreditCardMutation as Be, activateDebitCardMutation as Ve, connectExternalBankAccountMutation as He, createAchMoneyMovementMutation as Ue, createApplicationMutation as We, createBankAccountMutation as Ge, createBookTransferMutation as Ke, createCheckDepositMutation as qe, createDebitCardMutation as Je, createVelocityControlMutation as Ye, deleteApprovalPoliciesIdMutation as Xe, deleteBankAccountApplicationMutation as Ze, deleteLedgerAccountsIdMutation as Qe, deleteReceiptsIdMutation as $e, disableUserMutation as et, getAnalyticsPayablesOptions as tt, getAnalyticsPayablesQueryKey as nt, getAnalyticsReceiptsOptions as rt, getAnalyticsReceiptsQueryKey as it, getAnalyticsReceivablesOptions as at, getAnalyticsReceivablesQueryKey as ot, getAnalyticsTransactionsOptions as st, getAnalyticsTransactionsQueryKey as ct, getApprovalPoliciesOptions as lt, getApprovalPoliciesQueryKey as ut, getApprovalRequestsOptions as dt, getApprovalRequestsQueryKey as ft, getBankAccountAccessQueryKey as pt, getBankAccountApplicationOptions as mt, getBankAccountOptions as ht, getBankAccountQueryKey as gt, getBankAccountStatementsOptions as _t, getBankAccountTransactionsOptions as vt, getBankAccountTransactionsQueryKey as yt, getBankAccountTransfersOptions as bt, getBankAccountTransfersQueryKey as xt, getBankAccountsQueryKey as St, getBankDetailsOptions as Ct, getBankDetailsQueryKey as wt, getCounterpartsIdAddressesOptions as Tt, getCounterpartsIdAddressesQueryKey as Et, getCounterpartsIdBankAccountsOptions as Dt, getCounterpartsIdBankAccountsQueryKey as Ot, getCounterpartsIdOptions as kt, getCounterpartsIdQueryKey as At, getCounterpartsOptions as jt, getCounterpartsQueryKey as Mt, getCreditCardByIdOptions as Nt, getCreditCardByIdQueryKey as Pt, getCreditCardsOptions as Ft, getCreditCardsQueryKey as It, getDebitCardByIdOptions as Lt, getDebitCardByIdQueryKey as Rt, getDebitCardCredentialsOptions as zt, getDebitCardsOptions as Bt, getDebitCardsQueryKey as Vt, getDepartmentOptions as Ht, getDepartmentQueryKey as Ut, getDepositableBankAccountsOptions as Wt, getDocumentsIdNextNumbersOptions as Gt, getDocumentsIdNextNumbersQueryKey as Kt, getEntitiesIdSettingsOptions as qt, getEntitiesIdSettingsQueryKey as Jt, getEntityUsersMyEntityOptions as Yt, getEntityUsersMyEntityQueryKey as Xt, getEntityUsersOptions as Zt, getExternalBankAccountAccessQueryKey as Qt, getExternalBankAccountsOptions as $t, getExternalBankAccountsQueryKey as en, getFilesQueryKey as tn, getLedgerAccountsQueryKey as nn, getLocationOptions as rn, getLocationQueryKey as an, getMeasureUnitsOptions as on, getMeasureUnitsQueryKey as sn, getOrganizationOptions as cn, getPayablesIdHistoryOptions as ln, getPayablesIdHistoryQueryKey as un, getPayablesIdLineItemsOptions as dn, getPayablesIdLineItemsQueryKey as fn, getPayablesIdOptions as pn, getPayablesIdQueryKey as mn, getPayablesIdSuggestionsOptions as hn, getPayablesOptions as gn, getPayablesQueryKey as _n, getPaymentRecordsOptions as vn, getPaymentRecordsQueryKey as yn, getProductsIdOptions as bn, getProductsIdQueryKey as xn, getProductsOptions as Sn, getProductsQueryKey as Cn, getReceiptsIdQueryKey as wn, getReceiptsOptions as Tn, getReceiptsQueryKey as En, getReceivablesIdHistoryOptions as Dn, getReceivablesIdHistoryQueryKey as On, getReceivablesIdMailsOptions as kn, getReceivablesIdMailsQueryKey as An, getReceivablesIdOptions as jn, getReceivablesIdPdfLinkOptions as Mn, getReceivablesIdPdfLinkQueryKey as Nn, getReceivablesIdQueryKey as Pn, getReceivablesOptions as Fn, getReceivablesQueryKey as In, getTransactionsIdExpenseHistoryOptions as Ln, getTransactionsIdExpenseHistoryQueryKey as Rn, getTransactionsIdOptions as zn, getTransactionsIdQueryKey as Bn, getTransactionsOptions as Vn, getTransactionsQueryKey as Hn, getTransactionsValidationsOptions as Un, getTransactionsValidationsQueryKey as Wn, getUsersOptions as Gn, getUsersQueryKey as Kn, getVelocityControlsQueryKey as qn, grantBankAccountAccessMutation as Jn, grantExternalBankAccountAccessMutation as Yn, linkExternalBankAccountMutation as Xn, listDepartmentsOptions as Zn, listDepartmentsQueryKey as Qn, listLocationsOptions as $n, listLocationsQueryKey as er, listRolesQueryKey as tr, manageDebitCardAccessMutation as nr, patchApprovalPoliciesIdMutation as rr, patchLedgerAccountsIdMutation as ir, patchReceiptsIdMutation as ar, postApprovalPoliciesMutation as or, postLedgerAccountsMutation as sr, postReceiptsUploadFromFileMutation as cr, putTransactionsValidationsMutation as lr, setDebitCardLockStatusMutation as ur, submitApplicationMutation as dr, unlinkExternalBankAccountMutation as fr, updateApplicationMutation as pr, updateBankAccountMutation as mr, updateDebitCardMutation as hr, updateExternalBankAccountMutation as gr, validateExternalBankAccountMutation as _r, verifyDebitCardMutation as vr } from "./lib/rest/@tanstack/react-query.gen.js";
5
- import { authEpochPlaceholder as yr, withAuthEpoch as br } from "./lib/withAuthEpoch.js";
6
- import { applicationStatusInvalidationKey as xr, applicationStatusQueryOptions as Sr } from "./lib/applicationStatusQueryOptions.js";
7
- import { createClientSecretInstaller as Cr } from "./lib/scopedClientSecret.js";
8
- import { cancelAllClients as wr, invalidateAllClients as Tr, registerQueryClient as Er, removeInactiveFromAllClients as Dr, setAllClientsQueriesData as Or, unregisterQueryClient as kr } from "./lib/clientRegistry.js";
9
- import { cloneEmbeddedClient as Ar, createEmbeddedClient as jr } from "./lib/createEmbeddedClient.js";
3
+ import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, getUsers as I, listDepartments as L, listLocations as R, listRoles as z, manageBankAccountAccess as B, manageDebitCardAccess as V, patchCounterpartsId as H, patchCounterpartsIdAddressesId as U, patchCounterpartsIdBankAccountsId as W, patchEntitiesIdSettings as G, patchMeasureUnitsId as K, patchPayablesId as q, patchProductsId as J, patchReceivablesId as Y, patchTransactionsId as X, postApprovalRequestsIdApprove as Z, postApprovalRequestsIdReject as Q, postBankDetails as $, postCounterparts as ee, postCounterpartsIdAddresses as te, postCounterpartsIdBankAccounts as ne, postCounterpartsIdBankAccountsIdMakeDefault as re, postFiles as ie, postMeasureUnits as ae, postOverdueReminders as oe, postPayables as se, postPayablesIdApprovePaymentOperation as ce, postPayablesIdAttachFile as le, postPayablesIdCancel as ue, postPayablesIdDuplicatesIdConfirm as de, postPayablesIdDuplicatesIdDismiss as fe, postPayablesIdMarkAsPaid as pe, postPayablesIdReject as me, postPayablesIdReopen as he, postPayablesIdSchedulePayment as ge, postPayablesIdSubmitForApproval as _e, postPayablesIdValidate as ve, postPayablesUploadFromFile as ye, postPaymentIntentsIdCancel as be, postPaymentReminders 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, postTransactionsIdApprove as Ne, postTransactionsIdReject as Pe, postTransactionsIdReopen as Fe, postTransactionsIdSubmit as Ie, putEntitiesIdLogo as Le, putPayablesIdLineItems as Re, updateDepartment as ze, updateLocation as Be, updateUser as Ve } from "./lib/rest/sdk.gen.js";
4
+ import { activateCreditCardMutation as He, activateDebitCardMutation as Ue, connectExternalBankAccountMutation as We, createAchMoneyMovementMutation as Ge, createApplicationMutation as Ke, createBankAccountMutation as qe, createBookTransferMutation as Je, createCheckDepositMutation as Ye, createDebitCardMutation as Xe, createVelocityControlMutation as Ze, deleteApprovalPoliciesIdMutation as Qe, deleteBankAccountApplicationMutation as $e, deleteLedgerAccountsIdMutation as et, deleteReceiptsIdMutation as tt, disableUserMutation as nt, getAnalyticsPayablesOptions as rt, getAnalyticsPayablesQueryKey as it, getAnalyticsReceiptsOptions as at, getAnalyticsReceiptsQueryKey as ot, getAnalyticsReceivablesOptions as st, getAnalyticsReceivablesQueryKey as ct, getAnalyticsTransactionsOptions as lt, getAnalyticsTransactionsQueryKey as ut, getApprovalPoliciesOptions as dt, getApprovalPoliciesQueryKey as ft, getApprovalRequestsOptions as pt, getApprovalRequestsQueryKey as mt, getBankAccountAccessQueryKey as ht, getBankAccountApplicationOptions as gt, getBankAccountOptions as _t, getBankAccountQueryKey as vt, getBankAccountStatementsOptions as yt, getBankAccountTransactionsOptions as bt, getBankAccountTransactionsQueryKey as xt, getBankAccountTransfersOptions as St, getBankAccountTransfersQueryKey as Ct, getBankAccountsQueryKey as wt, getBankDetailsOptions as Tt, getBankDetailsQueryKey as Et, getCounterpartsIdAddressesOptions as Dt, getCounterpartsIdAddressesQueryKey as Ot, getCounterpartsIdBankAccountsOptions as kt, getCounterpartsIdBankAccountsQueryKey as At, getCounterpartsIdOptions as jt, getCounterpartsIdQueryKey as Mt, getCounterpartsOptions as Nt, getCounterpartsQueryKey as Pt, getCreditCardByIdOptions as Ft, getCreditCardByIdQueryKey as It, getCreditCardsOptions as Lt, getCreditCardsQueryKey as Rt, getDebitCardByIdOptions as zt, getDebitCardByIdQueryKey as Bt, getDebitCardCredentialsOptions as Vt, getDebitCardsOptions as Ht, getDebitCardsQueryKey as Ut, getDepartmentOptions as Wt, getDepartmentQueryKey as Gt, getDepositableBankAccountsOptions as Kt, getDocumentsIdNextNumbersOptions as qt, getDocumentsIdNextNumbersQueryKey as Jt, getEntitiesIdSettingsOptions as Yt, getEntitiesIdSettingsQueryKey as Xt, getEntityUsersMyEntityOptions as Zt, getEntityUsersOptions as Qt, getExternalBankAccountAccessQueryKey as $t, getExternalBankAccountsOptions as en, getExternalBankAccountsQueryKey as tn, getFilesQueryKey as nn, getLedgerAccountsQueryKey as rn, getLocationOptions as an, getLocationQueryKey as on, getMeasureUnitsOptions as sn, getMeasureUnitsQueryKey as cn, getOrganizationOptions as ln, getOverdueRemindersOptions as un, getOverdueRemindersQueryKey as dn, getPayablesIdHistoryOptions as fn, getPayablesIdHistoryQueryKey as pn, getPayablesIdLineItemsOptions as mn, getPayablesIdLineItemsQueryKey as hn, getPayablesIdOptions as gn, getPayablesIdQueryKey as _n, getPayablesIdSuggestionsOptions as vn, getPayablesOptions as yn, getPayablesQueryKey as bn, getPaymentRecordsOptions as xn, getPaymentRecordsQueryKey as Sn, getPaymentRemindersOptions as Cn, getPaymentRemindersQueryKey as wn, getProductsIdOptions as Tn, getProductsIdQueryKey as En, getProductsOptions as Dn, getProductsQueryKey as On, getReceiptsIdQueryKey as kn, getReceiptsOptions as An, getReceiptsQueryKey as jn, getReceivablesIdHistoryOptions as Mn, getReceivablesIdHistoryQueryKey as Nn, getReceivablesIdMailsOptions as Pn, getReceivablesIdMailsQueryKey as Fn, getReceivablesIdOptions as In, getReceivablesIdPdfLinkOptions as Ln, getReceivablesIdPdfLinkQueryKey as Rn, getReceivablesIdQueryKey as zn, getReceivablesOptions as Bn, getReceivablesQueryKey as Vn, getTransactionsIdExpenseHistoryOptions as Hn, getTransactionsIdExpenseHistoryQueryKey as Un, getTransactionsIdOptions as Wn, getTransactionsIdQueryKey as Gn, getTransactionsOptions as Kn, getTransactionsQueryKey as qn, getTransactionsValidationsOptions as Jn, getTransactionsValidationsQueryKey as Yn, getUsersOptions as Xn, getUsersQueryKey as Zn, getVelocityControlsQueryKey as Qn, grantBankAccountAccessMutation as $n, grantExternalBankAccountAccessMutation as er, linkExternalBankAccountMutation as tr, listDepartmentsOptions as nr, listDepartmentsQueryKey as rr, listLocationsOptions as ir, listLocationsQueryKey as ar, listRolesQueryKey as or, manageDebitCardAccessMutation as sr, patchApprovalPoliciesIdMutation as cr, patchLedgerAccountsIdMutation as lr, patchReceiptsIdMutation as ur, postApprovalPoliciesMutation as dr, postLedgerAccountsMutation as fr, postReceiptsUploadFromFileMutation as pr, putTransactionsValidationsMutation as mr, setDebitCardLockStatusMutation as hr, submitApplicationMutation as gr, unlinkExternalBankAccountMutation as _r, updateApplicationMutation as vr, updateBankAccountMutation as yr, updateDebitCardMutation as br, updateExternalBankAccountMutation as xr, validateExternalBankAccountMutation as Sr, verifyDebitCardMutation as Cr } from "./lib/rest/@tanstack/react-query.gen.js";
5
+ import { authEpochPlaceholder as wr, withAuthEpoch as Tr } from "./lib/withAuthEpoch.js";
6
+ import { applicationStatusInvalidationKey as Er, applicationStatusQueryOptions as Dr } from "./lib/applicationStatusQueryOptions.js";
7
+ import { createClientSecretInstaller as Or } from "./lib/scopedClientSecret.js";
8
+ import { cancelAllClients as kr, invalidateAllClients as Ar, registerQueryClient as jr, removeInactiveFromAllClients as Mr, setAllClientsQueriesData as Nr, unregisterQueryClient as Pr } from "./lib/clientRegistry.js";
9
+ import { cloneEmbeddedClient as Fr, createEmbeddedClient as Ir } from "./lib/createEmbeddedClient.js";
10
10
  import "./lib/widgetGatewayHosts.js";
11
- import { attachTransportInterceptors as Mr } from "./lib/transportInterceptors.js";
12
- import { EmbedApiProvider as Nr, useEmbedApi as Pr } from "./lib/EmbedApiContext.js";
13
- import { optionalOrganizationHeaders as Fr, organizationHeaders as Ir } from "./lib/organizationHeaders.js";
14
- import { fetchWidgetInit as Lr } from "./lib/fetchWidgetInit.js";
15
- import { hasAnyScope as Rr } from "./lib/hasAnyScope.js";
16
- import "./lib/queryKeys.js";
17
- import { useCurrentUserQuery as zr } from "./lib/useCurrentUserQuery.js";
18
- import { useMailboxAddress as Br } from "./lib/useMailboxAddress.js";
11
+ import { attachTransportInterceptors as Lr } from "./lib/transportInterceptors.js";
12
+ import { EmbedApiProvider as Rr, useEmbedApi as zr } from "./lib/EmbedApiContext.js";
13
+ import { optionalOrganizationHeaders as Br, organizationHeaders as Vr } from "./lib/organizationHeaders.js";
14
+ import { fetchWidgetInit as Hr } from "./lib/fetchWidgetInit.js";
15
+ import { hasAnyScope as Ur } from "./lib/hasAnyScope.js";
16
+ import { myEntityInvalidationKey as Wr } from "./lib/queryKeys.js";
17
+ import { useCurrentUserQuery as Gr } from "./lib/useCurrentUserQuery.js";
18
+ import { useMyEntityQuery as Kr } from "./lib/useMyEntityQuery.js";
19
+ import { useMailboxAddress as qr } from "./lib/useMailboxAddress.js";
19
20
  import "./lib/apiErrorStatus.js";
20
- import { isApiConflictError as Vr } from "./lib/isApiConflictError.js";
21
- import { isApiForbiddenError as Hr } from "./lib/isApiForbiddenError.js";
22
- import { isApiNotFoundError as Ur } from "./lib/isApiNotFoundError.js";
23
- import { isApiUnprocessableError as Wr } from "./lib/isApiUnprocessableError.js";
21
+ import { isApiConflictError as Jr } from "./lib/isApiConflictError.js";
22
+ import { isApiForbiddenError as Yr } from "./lib/isApiForbiddenError.js";
23
+ import { isApiNotFoundError as Xr } from "./lib/isApiNotFoundError.js";
24
+ import { isApiUnprocessableError as Zr } from "./lib/isApiUnprocessableError.js";
24
25
  import "./lib/isUserDataNotFoundError.js";
25
- import { useGetUserDataQuery as Gr } from "./lib/useGetUserDataQuery.js";
26
- import { useUpsertUserDataMutation as Kr } from "./lib/useUpsertUserDataMutation.js";
26
+ import { useGetUserDataQuery as Qr } from "./lib/useGetUserDataQuery.js";
27
+ import { useUpsertUserDataMutation as $r } from "./lib/useUpsertUserDataMutation.js";
27
28
  import "./lib/rest/zod.gen.js";
28
- import { Scope as qr, isScope as Jr } from "./lib/scopes.js";
29
- import { getAllPagesNextPageParam as Yr, getAllPagesNextPaginationTokenParam as Xr, isAllPagesResolving as Zr, useAutoFetchNextPage as Qr } from "./lib/allPages.js";
30
- import { useAllBankAccountsQuery as $r } from "./lib/bank-account/useAllBankAccountsQuery.js";
31
- import { useAllDebitCardsQuery as ei } from "./lib/debit-card/useAllDebitCardsQuery.js";
32
- import { useAllExternalBankAccountsQuery as ti } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
33
- import { useAllMerchantCategoryGroupsQuery as ni } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
34
- import { useAllLedgerAccountsQuery as ri, useLedgerAccountsQuery as ii } from "./lib/reference-data/useLedgerAccountsQuery.js";
35
- import { usePaymentTermsQuery as ai } from "./lib/reference-data/usePaymentTermsQuery.js";
36
- import { useAllOrganizationRolesQuery as oi } from "./lib/role/useAllOrganizationRolesQuery.js";
37
- import { useRolePermissionsQueries as si } from "./lib/role/useRolePermissionsQueries.js";
38
- import { useAllOrganizationUsersQuery as ci } from "./lib/user/useAllOrganizationUsersQuery.js";
39
- import { personDisclosure as li } from "./lib/disclosures/personDisclosure.js";
40
- import { useAcceptWidgetDisclosures as ui } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
41
- import { useDisclosuresQuery as di } from "./lib/disclosures/useDisclosuresQuery.js";
42
- import { OnboardingSuppressionReason as fi } from "./lib/onboardingSuppressionReason.js";
43
- import { useOrganizationOnboardingSuppression as pi } from "./lib/useOrganizationOnboardingSuppression.js";
44
- import { useOrganizationApplicationStatus as mi } from "./lib/useOrganizationApplicationStatus.js";
45
- export { Nr as EmbedApiProvider, fi as OnboardingSuppressionReason, qr as Scope, Be as activateCreditCardMutation, Ve as activateDebitCardMutation, xr as applicationStatusInvalidationKey, Sr as applicationStatusQueryOptions, Mr as attachTransportInterceptors, yr as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, wr as cancelAllClients, Ar as cloneEmbeddedClient, He as connectExternalBankAccountMutation, Ue as createAchMoneyMovementMutation, We as createApplicationMutation, Ge as createBankAccountMutation, Ke as createBookTransferMutation, qe as createCheckDepositMutation, Cr as createClientSecretInstaller, Je as createDebitCardMutation, r as createDepartment, jr as createEmbeddedClient, i as createLocation, a as createUser, Ye as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, Xe as deleteApprovalPoliciesIdMutation, Ze as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, Qe as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, $e as deleteReceiptsIdMutation, g as deleteReceivablesId, et as disableUserMutation, _ as downloadBankAccountTransactions, Lr as fetchWidgetInit, Yr as getAllPagesNextPageParam, Xr as getAllPagesNextPaginationTokenParam, tt as getAnalyticsPayablesOptions, nt as getAnalyticsPayablesQueryKey, rt as getAnalyticsReceiptsOptions, it as getAnalyticsReceiptsQueryKey, at as getAnalyticsReceivablesOptions, ot as getAnalyticsReceivablesQueryKey, st as getAnalyticsTransactionsOptions, ct as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, lt as getApprovalPoliciesOptions, ut as getApprovalPoliciesQueryKey, b as getApprovalRequests, dt as getApprovalRequestsOptions, ft as getApprovalRequestsQueryKey, x as getBankAccountAccess, pt as getBankAccountAccessQueryKey, mt as getBankAccountApplicationOptions, ht as getBankAccountOptions, gt as getBankAccountQueryKey, S as getBankAccountStatement, _t as getBankAccountStatementsOptions, vt as getBankAccountTransactionsOptions, yt as getBankAccountTransactionsQueryKey, bt as getBankAccountTransfersOptions, xt as getBankAccountTransfersQueryKey, St as getBankAccountsQueryKey, Ct as getBankDetailsOptions, wt as getBankDetailsQueryKey, C as getCounterparts, Tt as getCounterpartsIdAddressesOptions, Et as getCounterpartsIdAddressesQueryKey, Dt as getCounterpartsIdBankAccountsOptions, Ot as getCounterpartsIdBankAccountsQueryKey, kt as getCounterpartsIdOptions, At as getCounterpartsIdQueryKey, jt as getCounterpartsOptions, Mt as getCounterpartsQueryKey, Nt as getCreditCardByIdOptions, Pt as getCreditCardByIdQueryKey, Ft as getCreditCardsOptions, It as getCreditCardsQueryKey, Lt as getDebitCardByIdOptions, Rt as getDebitCardByIdQueryKey, zt as getDebitCardCredentialsOptions, Bt as getDebitCardsOptions, Vt as getDebitCardsQueryKey, w as getDepartment, Ht as getDepartmentOptions, Ut as getDepartmentQueryKey, T as getDepositableBankAccounts, Wt as getDepositableBankAccountsOptions, Gt as getDocumentsIdNextNumbersOptions, Kt as getDocumentsIdNextNumbersQueryKey, qt as getEntitiesIdSettingsOptions, Jt as getEntitiesIdSettingsQueryKey, Yt as getEntityUsersMyEntityOptions, Xt as getEntityUsersMyEntityQueryKey, Zt as getEntityUsersOptions, E as getExternalBankAccountAccess, Qt as getExternalBankAccountAccessQueryKey, $t as getExternalBankAccountsOptions, en as getExternalBankAccountsQueryKey, tn as getFilesQueryKey, nn as getLedgerAccountsQueryKey, D as getLocation, rn as getLocationOptions, an as getLocationQueryKey, on as getMeasureUnitsOptions, sn as getMeasureUnitsQueryKey, cn as getOrganizationOptions, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, ln as getPayablesIdHistoryOptions, un as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, dn as getPayablesIdLineItemsOptions, fn as getPayablesIdLineItemsQueryKey, pn as getPayablesIdOptions, mn as getPayablesIdQueryKey, hn as getPayablesIdSuggestionsOptions, gn as getPayablesOptions, _n as getPayablesQueryKey, M as getPaymentRecords, vn as getPaymentRecordsOptions, yn as getPaymentRecordsQueryKey, N as getProducts, bn as getProductsIdOptions, xn as getProductsIdQueryKey, Sn as getProductsOptions, Cn as getProductsQueryKey, P as getReceipts, wn as getReceiptsIdQueryKey, Tn as getReceiptsOptions, En as getReceiptsQueryKey, F as getReceivables, Dn as getReceivablesIdHistoryOptions, On as getReceivablesIdHistoryQueryKey, kn as getReceivablesIdMailsOptions, An as getReceivablesIdMailsQueryKey, jn as getReceivablesIdOptions, Mn as getReceivablesIdPdfLinkOptions, Nn as getReceivablesIdPdfLinkQueryKey, Pn as getReceivablesIdQueryKey, Fn as getReceivablesOptions, In as getReceivablesQueryKey, Ln as getTransactionsIdExpenseHistoryOptions, Rn as getTransactionsIdExpenseHistoryQueryKey, zn as getTransactionsIdOptions, Bn as getTransactionsIdQueryKey, Vn as getTransactionsOptions, Hn as getTransactionsQueryKey, Un as getTransactionsValidationsOptions, Wn as getTransactionsValidationsQueryKey, I as getUsers, Gn as getUsersOptions, Kn as getUsersQueryKey, qn as getVelocityControlsQueryKey, Jn as grantBankAccountAccessMutation, Yn as grantExternalBankAccountAccessMutation, Rr as hasAnyScope, Tr as invalidateAllClients, Zr as isAllPagesResolving, Vr as isApiConflictError, Hr as isApiForbiddenError, Ur as isApiNotFoundError, Wr as isApiUnprocessableError, Jr as isScope, Xn as linkExternalBankAccountMutation, L as listDepartments, Zn as listDepartmentsOptions, Qn as listDepartmentsQueryKey, R as listLocations, $n as listLocationsOptions, er as listLocationsQueryKey, z as listRoles, tr as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, nr as manageDebitCardAccessMutation, Fr as optionalOrganizationHeaders, Ir as organizationHeaders, rr as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, ir as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, ar as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchTransactionsId, li as personDisclosure, or as postApprovalPoliciesMutation, Z as postApprovalRequestsIdApprove, Q as postApprovalRequestsIdReject, $ as postBankDetails, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, ie as postFiles, sr as postLedgerAccountsMutation, ae as postMeasureUnits, oe as postPayables, se as postPayablesIdApprovePaymentOperation, ce as postPayablesIdAttachFile, le as postPayablesIdCancel, ue as postPayablesIdDuplicatesIdConfirm, de as postPayablesIdDuplicatesIdDismiss, fe as postPayablesIdMarkAsPaid, pe as postPayablesIdReject, me as postPayablesIdReopen, he as postPayablesIdSchedulePayment, ge as postPayablesIdSubmitForApproval, _e as postPayablesIdValidate, ve as postPayablesUploadFromFile, ye as postPaymentIntentsIdCancel, be as postProducts, cr as postReceiptsUploadFromFileMutation, xe as postReceivables, Se as postReceivablesIdAccept, Ce as postReceivablesIdCancel, we as postReceivablesIdClone, Te as postReceivablesIdDecline, Ee as postReceivablesIdIssue, De as postReceivablesIdMarkAsPaid, Oe as postReceivablesIdMarkAsPartiallyPaid, ke as postReceivablesIdMarkAsUncollectible, Ae as postReceivablesIdSend, je as postTransactionsIdApprove, Me as postTransactionsIdReject, Ne as postTransactionsIdReopen, Pe as postTransactionsIdSubmit, Fe as putEntitiesIdLogo, Ie as putPayablesIdLineItems, lr as putTransactionsValidationsMutation, Er as registerQueryClient, Dr as removeInactiveFromAllClients, Or as setAllClientsQueriesData, ur as setDebitCardLockStatusMutation, dr as submitApplicationMutation, fr as unlinkExternalBankAccountMutation, kr as unregisterQueryClient, pr as updateApplicationMutation, mr as updateBankAccountMutation, hr as updateDebitCardMutation, Le as updateDepartment, gr as updateExternalBankAccountMutation, Re as updateLocation, ze as updateUser, ui as useAcceptWidgetDisclosures, $r as useAllBankAccountsQuery, ei as useAllDebitCardsQuery, ti as useAllExternalBankAccountsQuery, ri as useAllLedgerAccountsQuery, ni as useAllMerchantCategoryGroupsQuery, oi as useAllOrganizationRolesQuery, ci as useAllOrganizationUsersQuery, Qr as useAutoFetchNextPage, zr as useCurrentUserQuery, di as useDisclosuresQuery, Pr as useEmbedApi, Gr as useGetUserDataQuery, ii as useLedgerAccountsQuery, Br as useMailboxAddress, mi as useOrganizationApplicationStatus, pi as useOrganizationOnboardingSuppression, ai as usePaymentTermsQuery, si as useRolePermissionsQueries, Kr as useUpsertUserDataMutation, _r as validateExternalBankAccountMutation, vr as verifyDebitCardMutation, br as withAuthEpoch };
29
+ import { Scope as ei, isScope as ti } from "./lib/scopes.js";
30
+ import { getAllPagesNextPageParam as ni, getAllPagesNextPaginationTokenParam as ri, isAllPagesResolving as ii, useAutoFetchNextPage as ai } from "./lib/allPages.js";
31
+ import { useAllBankAccountsQuery as oi } from "./lib/bank-account/useAllBankAccountsQuery.js";
32
+ import { useAllDebitCardsQuery as si } from "./lib/debit-card/useAllDebitCardsQuery.js";
33
+ import { useAllExternalBankAccountsQuery as ci } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
34
+ import { useAllMerchantCategoryGroupsQuery as li } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
35
+ import { useAllLedgerAccountsQuery as ui, useLedgerAccountsQuery as di } from "./lib/reference-data/useLedgerAccountsQuery.js";
36
+ import { usePaymentTermsQuery as fi } from "./lib/reference-data/usePaymentTermsQuery.js";
37
+ import { useAllOrganizationRolesQuery as pi } from "./lib/role/useAllOrganizationRolesQuery.js";
38
+ import { useRolePermissionsQueries as mi } from "./lib/role/useRolePermissionsQueries.js";
39
+ import { useAllOrganizationUsersQuery as hi } from "./lib/user/useAllOrganizationUsersQuery.js";
40
+ import { personDisclosure as gi } from "./lib/disclosures/personDisclosure.js";
41
+ import { useAcceptWidgetDisclosures as _i } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
42
+ import { useDisclosuresQuery as vi } from "./lib/disclosures/useDisclosuresQuery.js";
43
+ import { OnboardingSuppressionReason as yi } from "./lib/onboardingSuppressionReason.js";
44
+ import { useOrganizationOnboardingSuppression as bi } from "./lib/useOrganizationOnboardingSuppression.js";
45
+ import { useOrganizationApplicationStatus as xi } from "./lib/useOrganizationApplicationStatus.js";
46
+ export { Rr as EmbedApiProvider, yi as OnboardingSuppressionReason, ei as Scope, He as activateCreditCardMutation, Ue as activateDebitCardMutation, Er as applicationStatusInvalidationKey, Dr as applicationStatusQueryOptions, Lr as attachTransportInterceptors, wr as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, kr as cancelAllClients, Fr as cloneEmbeddedClient, We as connectExternalBankAccountMutation, Ge as createAchMoneyMovementMutation, Ke as createApplicationMutation, qe as createBankAccountMutation, Je as createBookTransferMutation, Ye as createCheckDepositMutation, Or as createClientSecretInstaller, Xe as createDebitCardMutation, r as createDepartment, Ir as createEmbeddedClient, i as createLocation, a as createUser, Ze as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, Qe as deleteApprovalPoliciesIdMutation, $e as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, et as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, tt as deleteReceiptsIdMutation, g as deleteReceivablesId, nt as disableUserMutation, _ as downloadBankAccountTransactions, Hr as fetchWidgetInit, ni as getAllPagesNextPageParam, ri as getAllPagesNextPaginationTokenParam, rt as getAnalyticsPayablesOptions, it as getAnalyticsPayablesQueryKey, at as getAnalyticsReceiptsOptions, ot as getAnalyticsReceiptsQueryKey, st as getAnalyticsReceivablesOptions, ct as getAnalyticsReceivablesQueryKey, lt as getAnalyticsTransactionsOptions, ut as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, dt as getApprovalPoliciesOptions, ft as getApprovalPoliciesQueryKey, b as getApprovalRequests, pt as getApprovalRequestsOptions, mt as getApprovalRequestsQueryKey, x as getBankAccountAccess, ht as getBankAccountAccessQueryKey, gt as getBankAccountApplicationOptions, _t as getBankAccountOptions, vt as getBankAccountQueryKey, S as getBankAccountStatement, yt as getBankAccountStatementsOptions, bt as getBankAccountTransactionsOptions, xt as getBankAccountTransactionsQueryKey, St as getBankAccountTransfersOptions, Ct as getBankAccountTransfersQueryKey, wt as getBankAccountsQueryKey, Tt as getBankDetailsOptions, Et as getBankDetailsQueryKey, C as getCounterparts, Dt as getCounterpartsIdAddressesOptions, Ot as getCounterpartsIdAddressesQueryKey, kt as getCounterpartsIdBankAccountsOptions, At as getCounterpartsIdBankAccountsQueryKey, jt as getCounterpartsIdOptions, Mt as getCounterpartsIdQueryKey, Nt as getCounterpartsOptions, Pt as getCounterpartsQueryKey, Ft as getCreditCardByIdOptions, It as getCreditCardByIdQueryKey, Lt as getCreditCardsOptions, Rt as getCreditCardsQueryKey, zt as getDebitCardByIdOptions, Bt as getDebitCardByIdQueryKey, Vt as getDebitCardCredentialsOptions, Ht as getDebitCardsOptions, Ut as getDebitCardsQueryKey, w as getDepartment, Wt as getDepartmentOptions, Gt as getDepartmentQueryKey, T as getDepositableBankAccounts, Kt as getDepositableBankAccountsOptions, qt as getDocumentsIdNextNumbersOptions, Jt as getDocumentsIdNextNumbersQueryKey, Yt as getEntitiesIdSettingsOptions, Xt as getEntitiesIdSettingsQueryKey, Zt as getEntityUsersMyEntityOptions, Qt as getEntityUsersOptions, E as getExternalBankAccountAccess, $t as getExternalBankAccountAccessQueryKey, en as getExternalBankAccountsOptions, tn as getExternalBankAccountsQueryKey, nn as getFilesQueryKey, rn as getLedgerAccountsQueryKey, D as getLocation, an as getLocationOptions, on as getLocationQueryKey, sn as getMeasureUnitsOptions, cn as getMeasureUnitsQueryKey, ln as getOrganizationOptions, un as getOverdueRemindersOptions, dn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, fn as getPayablesIdHistoryOptions, pn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, mn as getPayablesIdLineItemsOptions, hn as getPayablesIdLineItemsQueryKey, gn as getPayablesIdOptions, _n as getPayablesIdQueryKey, vn as getPayablesIdSuggestionsOptions, yn as getPayablesOptions, bn as getPayablesQueryKey, M as getPaymentRecords, xn as getPaymentRecordsOptions, Sn as getPaymentRecordsQueryKey, Cn as getPaymentRemindersOptions, wn as getPaymentRemindersQueryKey, N as getProducts, Tn as getProductsIdOptions, En as getProductsIdQueryKey, Dn as getProductsOptions, On as getProductsQueryKey, P as getReceipts, kn as getReceiptsIdQueryKey, An as getReceiptsOptions, jn as getReceiptsQueryKey, F as getReceivables, Mn as getReceivablesIdHistoryOptions, Nn as getReceivablesIdHistoryQueryKey, Pn as getReceivablesIdMailsOptions, Fn as getReceivablesIdMailsQueryKey, In as getReceivablesIdOptions, Ln as getReceivablesIdPdfLinkOptions, Rn as getReceivablesIdPdfLinkQueryKey, zn as getReceivablesIdQueryKey, Bn as getReceivablesOptions, Vn as getReceivablesQueryKey, Hn as getTransactionsIdExpenseHistoryOptions, Un as getTransactionsIdExpenseHistoryQueryKey, Wn as getTransactionsIdOptions, Gn as getTransactionsIdQueryKey, Kn as getTransactionsOptions, qn as getTransactionsQueryKey, Jn as getTransactionsValidationsOptions, Yn as getTransactionsValidationsQueryKey, I as getUsers, Xn as getUsersOptions, Zn as getUsersQueryKey, Qn as getVelocityControlsQueryKey, $n as grantBankAccountAccessMutation, er as grantExternalBankAccountAccessMutation, Ur as hasAnyScope, Ar as invalidateAllClients, ii as isAllPagesResolving, Jr as isApiConflictError, Yr as isApiForbiddenError, Xr as isApiNotFoundError, Zr as isApiUnprocessableError, ti as isScope, tr as linkExternalBankAccountMutation, L as listDepartments, nr as listDepartmentsOptions, rr as listDepartmentsQueryKey, R as listLocations, ir as listLocationsOptions, ar as listLocationsQueryKey, z as listRoles, or as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, sr as manageDebitCardAccessMutation, Wr as myEntityInvalidationKey, Br as optionalOrganizationHeaders, Vr as organizationHeaders, cr as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, lr as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, ur as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchTransactionsId, gi as personDisclosure, dr as postApprovalPoliciesMutation, Z as postApprovalRequestsIdApprove, Q as postApprovalRequestsIdReject, $ as postBankDetails, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, ie as postFiles, fr as postLedgerAccountsMutation, ae as postMeasureUnits, oe as postOverdueReminders, se as postPayables, ce as postPayablesIdApprovePaymentOperation, le as postPayablesIdAttachFile, ue as postPayablesIdCancel, de as postPayablesIdDuplicatesIdConfirm, fe as postPayablesIdDuplicatesIdDismiss, pe as postPayablesIdMarkAsPaid, me as postPayablesIdReject, he as postPayablesIdReopen, ge as postPayablesIdSchedulePayment, _e as postPayablesIdSubmitForApproval, ve as postPayablesIdValidate, ye as postPayablesUploadFromFile, be as postPaymentIntentsIdCancel, xe as postPaymentReminders, Se as postProducts, pr as postReceiptsUploadFromFileMutation, 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 postTransactionsIdApprove, Pe as postTransactionsIdReject, Fe as postTransactionsIdReopen, Ie as postTransactionsIdSubmit, Le as putEntitiesIdLogo, Re as putPayablesIdLineItems, mr as putTransactionsValidationsMutation, jr as registerQueryClient, Mr as removeInactiveFromAllClients, Nr as setAllClientsQueriesData, hr as setDebitCardLockStatusMutation, gr as submitApplicationMutation, _r as unlinkExternalBankAccountMutation, Pr as unregisterQueryClient, vr as updateApplicationMutation, yr as updateBankAccountMutation, br as updateDebitCardMutation, ze as updateDepartment, xr as updateExternalBankAccountMutation, Be as updateLocation, Ve as updateUser, _i as useAcceptWidgetDisclosures, oi as useAllBankAccountsQuery, si as useAllDebitCardsQuery, ci as useAllExternalBankAccountsQuery, ui as useAllLedgerAccountsQuery, li as useAllMerchantCategoryGroupsQuery, pi as useAllOrganizationRolesQuery, hi as useAllOrganizationUsersQuery, ai as useAutoFetchNextPage, Gr as useCurrentUserQuery, vi as useDisclosuresQuery, zr as useEmbedApi, Qr as useGetUserDataQuery, di as useLedgerAccountsQuery, qr as useMailboxAddress, Kr as useMyEntityQuery, xi as useOrganizationApplicationStatus, bi as useOrganizationOnboardingSuppression, fi as usePaymentTermsQuery, mi as useRolePermissionsQueries, $r as useUpsertUserDataMutation, Sr as validateExternalBankAccountMutation, Cr as verifyDebitCardMutation, Tr as withAuthEpoch };
@@ -1,8 +1,12 @@
1
- import { getUserDataQueryKey as e } from "./rest/@tanstack/react-query.gen.js";
1
+ import { getEntityUsersMyEntityQueryKey as e, getUserDataQueryKey as t } from "./rest/@tanstack/react-query.gen.js";
2
+ import { organizationHeaders as n } from "./organizationHeaders.js";
2
3
  //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/queryKeys.js
3
- var t = ({ client: t, key: n }) => e({
4
- client: t,
4
+ var r = ({ client: e, key: n }) => t({
5
+ client: e,
5
6
  path: { key: n }
7
+ }), i = ({ client: t, organizationId: r }) => e({
8
+ client: t,
9
+ headers: n(r)
6
10
  });
7
11
  //#endregion
8
- export { t as userDataInvalidationKey };
12
+ export { i as myEntityInvalidationKey, r as userDataInvalidationKey };