@tesouro/embedded-components-react 0.2.255 → 0.2.257

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 (38) hide show
  1. package/README.md +19 -0
  2. package/dist/index.d.ts +127 -111
  3. package/dist/index.js +42 -38
  4. package/dist/lib/CardsWidget.d.ts +4 -5
  5. package/dist/lib/CreateCardWidget.d.ts +686 -0
  6. package/dist/lib/CreateCardWidget.js +5 -0
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +117 -119
  8. package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index.js +5 -0
  9. package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index2.js +13 -0
  10. package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index3.js +12 -0
  11. package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index4.js +29 -0
  12. package/dist/libs/tesouro-embedded-components-react/create-card-widget/data-access/dist/index5.js +22 -0
  13. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index.js +4 -0
  14. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index2.js +4 -0
  15. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index3.js +56 -0
  16. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index4.js +31 -0
  17. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index5.js +16 -0
  18. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index6.js +52 -0
  19. package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index7.js +200 -0
  20. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/index.js +4 -0
  21. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/CardArt.js +12 -0
  22. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/CreateCardWidget.js +99 -0
  23. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/ManualAddressFields.js +67 -0
  24. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/PreparingView.js +31 -0
  25. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/SetupView.js +172 -0
  26. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/SuccessView.js +50 -0
  27. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/labels.js +103 -0
  28. package/dist/libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/types.js +11 -0
  29. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +16 -16
  30. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +169 -151
  31. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +141 -113
  32. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/withAuthEpoch.js +6 -4
  33. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +5 -5
  34. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +6 -3
  35. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  36. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +75 -45
  37. package/dist/pending-feature-style-sources.d.ts +1 -2
  38. package/package.json +1 -1
@@ -0,0 +1,103 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/labels.js
2
+ var e = {
3
+ header: {
4
+ title: "Create a new card",
5
+ closeAriaLabel: "Close"
6
+ },
7
+ cardArtAlt: "Card preview",
8
+ setup: {
9
+ sectionTitle: "Set up your card",
10
+ sectionDescription: "Please select an enrolled employee to issue a card to. To invite an employee to enroll, please navigate to the Team Members menu.",
11
+ cardholderLabel: "Cardholder",
12
+ cardholderPlaceholder: "Select team member",
13
+ cardFormatLabel: "Card format",
14
+ cardFormatPlaceholder: "Select physical or virtual",
15
+ cardFormatVirtual: "Virtual",
16
+ cardFormatPhysical: "Physical",
17
+ fundingAccountLabel: "Funding account",
18
+ fundingAccountPlaceholder: "Select a bank account"
19
+ },
20
+ mailing: {
21
+ sectionTitle: "Choose a mailing destination",
22
+ sectionDescription: "Configure where we should mail this physical card.",
23
+ businessTitle: "Use business address",
24
+ businessDescription: "Mail to the business address on file.",
25
+ customTitle: "Enter a different address",
26
+ customDescription: "Enter address manually for this recipient."
27
+ },
28
+ manualAddress: {
29
+ streetLabel: "Business address (no P.O. boxes)",
30
+ cityLabel: "City",
31
+ stateLabel: "State",
32
+ statePlaceholder: "Select state",
33
+ zipLabel: "ZIP code"
34
+ },
35
+ preparing: {
36
+ title: "Preparing your card",
37
+ description: "This will only take a moment"
38
+ },
39
+ success: {
40
+ title: "All set!",
41
+ description: "Your card is activated and ready to use.",
42
+ createAnother: "Create another card",
43
+ viewCard: "View card"
44
+ },
45
+ footer: {
46
+ cancel: "Cancel",
47
+ createCard: "Create card"
48
+ },
49
+ cardholderError: {
50
+ title: "Unable to load team members",
51
+ description: "Something went wrong. Please try again.",
52
+ retry: "Try again"
53
+ },
54
+ fundingAccountError: {
55
+ title: "Unable to load funding accounts",
56
+ description: "Something went wrong. Please try again.",
57
+ retry: "Try again"
58
+ }
59
+ };
60
+ function t(t) {
61
+ return {
62
+ ...e,
63
+ ...t,
64
+ header: {
65
+ ...e.header,
66
+ ...t?.header
67
+ },
68
+ setup: {
69
+ ...e.setup,
70
+ ...t?.setup
71
+ },
72
+ mailing: {
73
+ ...e.mailing,
74
+ ...t?.mailing
75
+ },
76
+ manualAddress: {
77
+ ...e.manualAddress,
78
+ ...t?.manualAddress
79
+ },
80
+ preparing: {
81
+ ...e.preparing,
82
+ ...t?.preparing
83
+ },
84
+ success: {
85
+ ...e.success,
86
+ ...t?.success
87
+ },
88
+ footer: {
89
+ ...e.footer,
90
+ ...t?.footer
91
+ },
92
+ cardholderError: {
93
+ ...e.cardholderError,
94
+ ...t?.cardholderError
95
+ },
96
+ fundingAccountError: {
97
+ ...e.fundingAccountError,
98
+ ...t?.fundingAccountError
99
+ }
100
+ };
101
+ }
102
+ //#endregion
103
+ export { e as CREATE_CARD_WIDGET_LABELS_EN, t as resolveCreateCardWidgetLabels };
@@ -0,0 +1,11 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/create-card-widget/ui/dist/lib/CreateCardWidget/types.js
2
+ var e = {
3
+ Setup: "setup",
4
+ Preparing: "preparing",
5
+ Success: "success"
6
+ }, t = {
7
+ BusinessAddress: "business-address",
8
+ DifferentAddress: "different-address"
9
+ };
10
+ //#endregion
11
+ export { e as CreateCardView, t as MailingOptionValue };
@@ -7,22 +7,22 @@ import { optionalOrganizationHeaders as c, organizationHeaders as l } from "./li
7
7
  import { bulkUpdateDepartmentMembers as u, bulkUpdateLocationMembers as d, bulkUpdateRoleMembers as f, createDepartment as p, createLocation as m, createUser as h, deactivateDepartment as g, deactivateLocation as _, deleteCounterpartsId as v, deleteCounterpartsIdBankAccountsId as y, deleteFilesId as b, deleteMeasureUnitsId as x, deleteProductsId as S, deleteReceivablesId as C, deleteTagsId as w, downloadBankAccountTransactions as T, getApplicationStatus as E, getApprovalPolicies as D, getBankAccountAccess as O, getDepartment as k, getDisclosures as A, getExternalBankAccountAccess as j, getLocation as M, getPayablesIdLineItems as N, getUsers as P, listDepartments as F, listLocations as I, listRoles as L, manageBankAccountAccess as R, patchCounterpartsId as z, patchCounterpartsIdAddressesId as B, patchCounterpartsIdBankAccountsId as V, patchMeasureUnitsId as H, patchPayablesId as U, patchProductsId as W, patchReceivablesId as G, patchTagsId as K, postApiWidgetGatewayDisclosureAcceptance as q, postCounterparts as J, postCounterpartsIdAddresses as Y, postCounterpartsIdBankAccounts as X, postCounterpartsIdBankAccountsIdMakeDefault as Z, postMeasureUnits as Q, postPayables as $, postPayablesIdAttachFile as ee, postPayablesIdSubmitForApproval as te, postPayablesIdValidate as ne, postPayablesUploadFromFile as re, postProducts as ie, postReceivables as ae, postReceivablesIdAccept as oe, postReceivablesIdCancel as se, postReceivablesIdClone as ce, postReceivablesIdDecline as le, postReceivablesIdIssue as ue, postReceivablesIdMarkAsPaid as de, postReceivablesIdMarkAsPartiallyPaid as fe, postReceivablesIdMarkAsUncollectible as pe, postReceivablesIdSend as me, postTags as he, putPayablesIdLineItems as ge, putReceivablesIdLineItems as _e, updateDepartment as ve, updateLocation as ye, updateUser as be } from "./lib/rest/sdk.gen.js";
8
8
  import { fetchWidgetInit as xe } from "./lib/fetchWidgetInit.js";
9
9
  import { hasAnyScope as Se } from "./lib/hasAnyScope.js";
10
- import { connectExternalBankAccountMutation as Ce, createAchMoneyMovementMutation as we, createApplicationMutation as Te, createBankAccountMutation as Ee, createBookTransferMutation as De, deleteApprovalPoliciesIdMutation as Oe, deleteLedgerAccountsIdMutation as ke, deleteReceiptsIdMutation as Ae, disableUserMutation as je, getAnalyticsPayablesOptions as Me, getAnalyticsReceivablesOptions as Ne, getApplicationStatusOptions as Pe, getApprovalPoliciesOptions as Fe, getApprovalPoliciesQueryKey as Ie, getApprovalRequestsQueryKey as Le, getBankAccountAccessQueryKey as Re, getBankAccountOptions as ze, getBankAccountQueryKey as Be, getBankAccountTransactionsOptions as Ve, getBankAccountTransfersOptions as He, getBankAccountTransfersQueryKey as Ue, getBankAccountsQueryKey as We, getCounterpartsIdAddressesOptions as Ge, getCounterpartsIdAddressesQueryKey as Ke, getCounterpartsIdBankAccountsOptions as qe, getCounterpartsIdBankAccountsQueryKey as Je, getCounterpartsIdOptions as Ye, getCounterpartsIdQueryKey as Xe, getCounterpartsOptions as Ze, getCounterpartsQueryKey as Qe, getCreditCardByIdOptions as $e, getCreditCardsOptions as et, getDebitCardByIdOptions as tt, getDebitCardsOptions as nt, getDepartmentOptions as rt, getDepartmentQueryKey as it, getEntitiesIdSettingsOptions as at, getEntitiesIdSettingsQueryKey as ot, getEntitiesMeOptions as st, getEntityUsersMyEntityOptions as ct, getEntityUsersOptions as lt, getExternalBankAccountAccessQueryKey as ut, getExternalBankAccountsOptions as dt, getExternalBankAccountsQueryKey as ft, getLedgerAccountsQueryKey as pt, getLocationOptions as mt, getLocationQueryKey as ht, getMeasureUnitsOptions as gt, getMeasureUnitsQueryKey as _t, getPayablesAnalyticsQueryKey as vt, getPayablesIdHistoryQueryKey as yt, getPayablesIdLineItemsOptions as bt, getPayablesIdLineItemsQueryKey as xt, getPayablesIdOptions as St, getPayablesIdQueryKey as Ct, getPayablesIdSuggestionsOptions as wt, getPayablesOptions as Tt, getPayablesQueryKey as Et, getProductsIdOptions as Dt, getProductsIdQueryKey as Ot, getProductsOptions as kt, getProductsQueryKey as At, getReceiptsIdQueryKey as jt, getReceiptsOptions as Mt, getReceiptsQueryKey as Nt, getReceivablesIdHistoryOptions as Pt, getReceivablesIdHistoryQueryKey as Ft, getReceivablesIdMailsOptions as It, getReceivablesIdMailsQueryKey as Lt, getReceivablesIdOptions as Rt, getReceivablesIdPdfLinkOptions as zt, getReceivablesIdPdfLinkQueryKey as Bt, getReceivablesIdQueryKey as Vt, getReceivablesOptions as Ht, getReceivablesQueryKey as Ut, getTagsOptions as Wt, getTagsQueryKey as Gt, getTransactionsIdQueryKey as Kt, getTransactionsOptions as qt, getTransactionsQueryKey as Jt, getTransactionsValidationsOptions as Yt, getTransactionsValidationsQueryKey as Xt, getUsersOptions as Zt, getUsersQueryKey as Qt, grantBankAccountAccessMutation as $t, grantExternalBankAccountAccessMutation as en, linkExternalBankAccountMutation as tn, listDepartmentsOptions as nn, listDepartmentsQueryKey as rn, listLocationsOptions as an, listLocationsQueryKey as on, listRolesQueryKey as sn, patchApprovalPoliciesIdMutation as cn, patchEntitiesIdSettingsMutation as ln, patchLedgerAccountsIdMutation as un, patchReceiptsIdMutation as dn, postApprovalPoliciesMutation as fn, postLedgerAccountsMutation as pn, putTransactionsValidationsMutation as mn, submitApplicationMutation as hn, unlinkExternalBankAccountMutation as gn, updateApplicationMutation as _n, updateBankAccountMutation as vn, updateExternalBankAccountMutation as yn, validateExternalBankAccountMutation as bn } from "./lib/rest/@tanstack/react-query.gen.js";
10
+ import { connectExternalBankAccountMutation as Ce, createAchMoneyMovementMutation as we, createApplicationMutation as Te, createBankAccountMutation as Ee, createBookTransferMutation as De, createDebitCardMutation as Oe, deleteApprovalPoliciesIdMutation as ke, deleteLedgerAccountsIdMutation as Ae, deleteReceiptsIdMutation as je, disableUserMutation as Me, getAnalyticsPayablesOptions as Ne, getAnalyticsReceivablesOptions as Pe, getApplicationStatusOptions as Fe, getApprovalPoliciesOptions as Ie, getApprovalPoliciesQueryKey as Le, getApprovalRequestsQueryKey as Re, getBankAccountAccessQueryKey as ze, getBankAccountOptions as Be, getBankAccountQueryKey as Ve, getBankAccountTransactionsOptions as He, getBankAccountTransfersOptions as Ue, getBankAccountTransfersQueryKey as We, getBankAccountsQueryKey as Ge, getCounterpartsIdAddressesOptions as Ke, getCounterpartsIdAddressesQueryKey as qe, getCounterpartsIdBankAccountsOptions as Je, getCounterpartsIdBankAccountsQueryKey as Ye, getCounterpartsIdOptions as Xe, getCounterpartsIdQueryKey as Ze, getCounterpartsOptions as Qe, getCounterpartsQueryKey as $e, getCreditCardByIdOptions as et, getCreditCardsOptions as tt, getDebitCardByIdOptions as nt, getDebitCardsOptions as rt, getDebitCardsQueryKey as it, getDepartmentOptions as at, getDepartmentQueryKey as ot, getEntitiesIdSettingsOptions as st, getEntitiesIdSettingsQueryKey as ct, getEntitiesMeOptions as lt, getEntityUsersMyEntityOptions as ut, getEntityUsersOptions as dt, getExternalBankAccountAccessQueryKey as ft, getExternalBankAccountsOptions as pt, getExternalBankAccountsQueryKey as mt, getLedgerAccountsQueryKey as ht, getLocationOptions as gt, getLocationQueryKey as _t, getMeasureUnitsOptions as vt, getMeasureUnitsQueryKey as yt, getOrganizationOptions as bt, getPayablesAnalyticsQueryKey as xt, getPayablesIdHistoryQueryKey as St, getPayablesIdLineItemsOptions as Ct, getPayablesIdLineItemsQueryKey as wt, getPayablesIdOptions as Tt, getPayablesIdQueryKey as Et, getPayablesIdSuggestionsOptions as Dt, getPayablesOptions as Ot, getPayablesQueryKey as kt, getProductsIdOptions as At, getProductsIdQueryKey as jt, getProductsOptions as Mt, getProductsQueryKey as Nt, getReceiptsIdQueryKey as Pt, getReceiptsOptions as Ft, getReceiptsQueryKey as It, getReceivablesIdHistoryOptions as Lt, getReceivablesIdHistoryQueryKey as Rt, getReceivablesIdMailsOptions as zt, getReceivablesIdMailsQueryKey as Bt, getReceivablesIdOptions as Vt, getReceivablesIdPdfLinkOptions as Ht, getReceivablesIdPdfLinkQueryKey as Ut, getReceivablesIdQueryKey as Wt, getReceivablesOptions as Gt, getReceivablesQueryKey as Kt, getTagsOptions as qt, getTagsQueryKey as Jt, getTransactionsIdQueryKey as Yt, getTransactionsOptions as Xt, getTransactionsQueryKey as Zt, getTransactionsValidationsOptions as Qt, getTransactionsValidationsQueryKey as $t, getUsersOptions as en, getUsersQueryKey as tn, grantBankAccountAccessMutation as nn, grantExternalBankAccountAccessMutation as rn, linkExternalBankAccountMutation as an, listDepartmentsOptions as on, listDepartmentsQueryKey as sn, listLocationsOptions as cn, listLocationsQueryKey as ln, listRolesQueryKey as un, patchApprovalPoliciesIdMutation as dn, patchEntitiesIdSettingsMutation as fn, patchLedgerAccountsIdMutation as pn, patchReceiptsIdMutation as mn, postApprovalPoliciesMutation as hn, postLedgerAccountsMutation as gn, putTransactionsValidationsMutation as _n, submitApplicationMutation as vn, unlinkExternalBankAccountMutation as yn, updateApplicationMutation as bn, updateBankAccountMutation as xn, updateExternalBankAccountMutation as Sn, validateExternalBankAccountMutation as Cn } from "./lib/rest/@tanstack/react-query.gen.js";
11
11
  import "./lib/queryKeys.js";
12
- import { withAuthEpoch as xn } from "./lib/withAuthEpoch.js";
13
- import { useCurrentUserQuery as Sn } from "./lib/useCurrentUserQuery.js";
14
- import { isApiNotFoundError as Cn } from "./lib/isApiNotFoundError.js";
12
+ import { withAuthEpoch as wn } from "./lib/withAuthEpoch.js";
13
+ import { useCurrentUserQuery as Tn } from "./lib/useCurrentUserQuery.js";
14
+ import { isApiNotFoundError as En } from "./lib/isApiNotFoundError.js";
15
15
  import "./lib/isUserDataNotFoundError.js";
16
- import { useGetUserDataQuery as wn } from "./lib/useGetUserDataQuery.js";
17
- import { useUpsertUserDataMutation as Tn } from "./lib/useUpsertUserDataMutation.js";
16
+ import { useGetUserDataQuery as Dn } from "./lib/useGetUserDataQuery.js";
17
+ import { useUpsertUserDataMutation as On } from "./lib/useUpsertUserDataMutation.js";
18
18
  import "./lib/rest/zod.gen.js";
19
- import { Scope as En } from "./lib/scopes.js";
20
- import { getAllPagesNextPageParam as Dn, getAllPagesNextPaginationTokenParam as On, isAllPagesResolving as kn, useAutoFetchNextPage as An } from "./lib/allPages.js";
21
- import { useAllBankAccountsQuery as jn } from "./lib/bank-account/useAllBankAccountsQuery.js";
22
- import { useAllExternalBankAccountsQuery as Mn } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
23
- import { useLedgerAccountsQuery as Nn } from "./lib/reference-data/useLedgerAccountsQuery.js";
24
- import { usePaymentTermsQuery as Pn } from "./lib/reference-data/usePaymentTermsQuery.js";
25
- import { useAllOrganizationRolesQuery as Fn } from "./lib/role/useAllOrganizationRolesQuery.js";
26
- import { useRolePermissionsQueries as In } from "./lib/role/useRolePermissionsQueries.js";
27
- import { useAllOrganizationUsersQuery as Ln } from "./lib/user/useAllOrganizationUsersQuery.js";
28
- export { o as EmbedApiProvider, En as Scope, u as bulkUpdateDepartmentMembers, d as bulkUpdateLocationMembers, f as bulkUpdateRoleMembers, i as cloneEmbeddedClient, Ce as connectExternalBankAccountMutation, we as createAchMoneyMovementMutation, Te as createApplicationMutation, Ee as createBankAccountMutation, De as createBookTransferMutation, p as createDepartment, a as createEmbeddedClient, m as createLocation, h as createUser, g as deactivateDepartment, _ as deactivateLocation, Oe as deleteApprovalPoliciesIdMutation, v as deleteCounterpartsId, y as deleteCounterpartsIdBankAccountsId, b as deleteFilesId, ke as deleteLedgerAccountsIdMutation, x as deleteMeasureUnitsId, S as deleteProductsId, Ae as deleteReceiptsIdMutation, C as deleteReceivablesId, w as deleteTagsId, je as disableUserMutation, T as downloadBankAccountTransactions, xe as fetchWidgetInit, Dn as getAllPagesNextPageParam, On as getAllPagesNextPaginationTokenParam, Me as getAnalyticsPayablesOptions, Ne as getAnalyticsReceivablesOptions, E as getApplicationStatus, Pe as getApplicationStatusOptions, D as getApprovalPolicies, Fe as getApprovalPoliciesOptions, Ie as getApprovalPoliciesQueryKey, Le as getApprovalRequestsQueryKey, O as getBankAccountAccess, Re as getBankAccountAccessQueryKey, ze as getBankAccountOptions, Be as getBankAccountQueryKey, Ve as getBankAccountTransactionsOptions, He as getBankAccountTransfersOptions, Ue as getBankAccountTransfersQueryKey, We as getBankAccountsQueryKey, Ge as getCounterpartsIdAddressesOptions, Ke as getCounterpartsIdAddressesQueryKey, qe as getCounterpartsIdBankAccountsOptions, Je as getCounterpartsIdBankAccountsQueryKey, Ye as getCounterpartsIdOptions, Xe as getCounterpartsIdQueryKey, Ze as getCounterpartsOptions, Qe as getCounterpartsQueryKey, $e as getCreditCardByIdOptions, et as getCreditCardsOptions, tt as getDebitCardByIdOptions, nt as getDebitCardsOptions, k as getDepartment, rt as getDepartmentOptions, it as getDepartmentQueryKey, A as getDisclosures, at as getEntitiesIdSettingsOptions, ot as getEntitiesIdSettingsQueryKey, st as getEntitiesMeOptions, ct as getEntityUsersMyEntityOptions, lt as getEntityUsersOptions, j as getExternalBankAccountAccess, ut as getExternalBankAccountAccessQueryKey, dt as getExternalBankAccountsOptions, ft as getExternalBankAccountsQueryKey, pt as getLedgerAccountsQueryKey, M as getLocation, mt as getLocationOptions, ht as getLocationQueryKey, gt as getMeasureUnitsOptions, _t as getMeasureUnitsQueryKey, vt as getPayablesAnalyticsQueryKey, yt as getPayablesIdHistoryQueryKey, N as getPayablesIdLineItems, bt as getPayablesIdLineItemsOptions, xt as getPayablesIdLineItemsQueryKey, St as getPayablesIdOptions, Ct as getPayablesIdQueryKey, wt as getPayablesIdSuggestionsOptions, Tt as getPayablesOptions, Et as getPayablesQueryKey, Dt as getProductsIdOptions, Ot as getProductsIdQueryKey, kt as getProductsOptions, At as getProductsQueryKey, jt as getReceiptsIdQueryKey, Mt as getReceiptsOptions, Nt as getReceiptsQueryKey, Pt as getReceivablesIdHistoryOptions, Ft as getReceivablesIdHistoryQueryKey, It as getReceivablesIdMailsOptions, Lt as getReceivablesIdMailsQueryKey, Rt as getReceivablesIdOptions, zt as getReceivablesIdPdfLinkOptions, Bt as getReceivablesIdPdfLinkQueryKey, Vt as getReceivablesIdQueryKey, Ht as getReceivablesOptions, Ut as getReceivablesQueryKey, Wt as getTagsOptions, Gt as getTagsQueryKey, Kt as getTransactionsIdQueryKey, qt as getTransactionsOptions, Jt as getTransactionsQueryKey, Yt as getTransactionsValidationsOptions, Xt as getTransactionsValidationsQueryKey, P as getUsers, Zt as getUsersOptions, Qt as getUsersQueryKey, $t as grantBankAccountAccessMutation, en as grantExternalBankAccountAccessMutation, Se as hasAnyScope, e as invalidateAllClients, kn as isAllPagesResolving, Cn as isApiNotFoundError, tn as linkExternalBankAccountMutation, F as listDepartments, nn as listDepartmentsOptions, rn as listDepartmentsQueryKey, I as listLocations, an as listLocationsOptions, on as listLocationsQueryKey, L as listRoles, sn as listRolesQueryKey, R as manageBankAccountAccess, c as optionalOrganizationHeaders, l as organizationHeaders, cn as patchApprovalPoliciesIdMutation, z as patchCounterpartsId, B as patchCounterpartsIdAddressesId, V as patchCounterpartsIdBankAccountsId, ln as patchEntitiesIdSettingsMutation, un as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, dn as patchReceiptsIdMutation, G as patchReceivablesId, K as patchTagsId, q as postApiWidgetGatewayDisclosureAcceptance, fn as postApprovalPoliciesMutation, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, pn as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdAttachFile, te as postPayablesIdSubmitForApproval, ne as postPayablesIdValidate, re as postPayablesUploadFromFile, ie as postProducts, ae as postReceivables, oe as postReceivablesIdAccept, se as postReceivablesIdCancel, ce as postReceivablesIdClone, le as postReceivablesIdDecline, ue as postReceivablesIdIssue, de as postReceivablesIdMarkAsPaid, fe as postReceivablesIdMarkAsPartiallyPaid, pe as postReceivablesIdMarkAsUncollectible, me as postReceivablesIdSend, he as postTags, ge as putPayablesIdLineItems, _e as putReceivablesIdLineItems, mn as putTransactionsValidationsMutation, t as registerQueryClient, n as setAllClientsQueriesData, hn as submitApplicationMutation, gn as unlinkExternalBankAccountMutation, r as unregisterQueryClient, _n as updateApplicationMutation, vn as updateBankAccountMutation, ve as updateDepartment, yn as updateExternalBankAccountMutation, ye as updateLocation, be as updateUser, jn as useAllBankAccountsQuery, Mn as useAllExternalBankAccountsQuery, Fn as useAllOrganizationRolesQuery, Ln as useAllOrganizationUsersQuery, An as useAutoFetchNextPage, Sn as useCurrentUserQuery, s as useEmbedApi, wn as useGetUserDataQuery, Nn as useLedgerAccountsQuery, Pn as usePaymentTermsQuery, In as useRolePermissionsQueries, Tn as useUpsertUserDataMutation, bn as validateExternalBankAccountMutation, xn as withAuthEpoch };
19
+ import { Scope as kn } from "./lib/scopes.js";
20
+ import { getAllPagesNextPageParam as An, getAllPagesNextPaginationTokenParam as jn, isAllPagesResolving as Mn, useAutoFetchNextPage as Nn } from "./lib/allPages.js";
21
+ import { useAllBankAccountsQuery as Pn } from "./lib/bank-account/useAllBankAccountsQuery.js";
22
+ import { useAllExternalBankAccountsQuery as Fn } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
23
+ import { useLedgerAccountsQuery as In } from "./lib/reference-data/useLedgerAccountsQuery.js";
24
+ import { usePaymentTermsQuery as Ln } from "./lib/reference-data/usePaymentTermsQuery.js";
25
+ import { useAllOrganizationRolesQuery as Rn } from "./lib/role/useAllOrganizationRolesQuery.js";
26
+ import { useRolePermissionsQueries as zn } from "./lib/role/useRolePermissionsQueries.js";
27
+ import { useAllOrganizationUsersQuery as Bn } from "./lib/user/useAllOrganizationUsersQuery.js";
28
+ export { o as EmbedApiProvider, kn as Scope, u as bulkUpdateDepartmentMembers, d as bulkUpdateLocationMembers, f as bulkUpdateRoleMembers, i as cloneEmbeddedClient, Ce as connectExternalBankAccountMutation, we as createAchMoneyMovementMutation, Te as createApplicationMutation, Ee as createBankAccountMutation, De as createBookTransferMutation, Oe as createDebitCardMutation, p as createDepartment, a as createEmbeddedClient, m as createLocation, h as createUser, g as deactivateDepartment, _ as deactivateLocation, ke as deleteApprovalPoliciesIdMutation, v as deleteCounterpartsId, y as deleteCounterpartsIdBankAccountsId, b as deleteFilesId, Ae as deleteLedgerAccountsIdMutation, x as deleteMeasureUnitsId, S as deleteProductsId, je as deleteReceiptsIdMutation, C as deleteReceivablesId, w as deleteTagsId, Me as disableUserMutation, T as downloadBankAccountTransactions, xe as fetchWidgetInit, An as getAllPagesNextPageParam, jn as getAllPagesNextPaginationTokenParam, Ne as getAnalyticsPayablesOptions, Pe as getAnalyticsReceivablesOptions, E as getApplicationStatus, Fe as getApplicationStatusOptions, D as getApprovalPolicies, Ie as getApprovalPoliciesOptions, Le as getApprovalPoliciesQueryKey, Re as getApprovalRequestsQueryKey, O as getBankAccountAccess, ze as getBankAccountAccessQueryKey, Be as getBankAccountOptions, Ve as getBankAccountQueryKey, He as getBankAccountTransactionsOptions, Ue as getBankAccountTransfersOptions, We as getBankAccountTransfersQueryKey, Ge as getBankAccountsQueryKey, Ke as getCounterpartsIdAddressesOptions, qe as getCounterpartsIdAddressesQueryKey, Je as getCounterpartsIdBankAccountsOptions, Ye as getCounterpartsIdBankAccountsQueryKey, Xe as getCounterpartsIdOptions, Ze as getCounterpartsIdQueryKey, Qe as getCounterpartsOptions, $e as getCounterpartsQueryKey, et as getCreditCardByIdOptions, tt as getCreditCardsOptions, nt as getDebitCardByIdOptions, rt as getDebitCardsOptions, it as getDebitCardsQueryKey, k as getDepartment, at as getDepartmentOptions, ot as getDepartmentQueryKey, A as getDisclosures, st as getEntitiesIdSettingsOptions, ct as getEntitiesIdSettingsQueryKey, lt as getEntitiesMeOptions, ut as getEntityUsersMyEntityOptions, dt as getEntityUsersOptions, j as getExternalBankAccountAccess, ft as getExternalBankAccountAccessQueryKey, pt as getExternalBankAccountsOptions, mt as getExternalBankAccountsQueryKey, ht as getLedgerAccountsQueryKey, M as getLocation, gt as getLocationOptions, _t as getLocationQueryKey, vt as getMeasureUnitsOptions, yt as getMeasureUnitsQueryKey, bt as getOrganizationOptions, xt as getPayablesAnalyticsQueryKey, St as getPayablesIdHistoryQueryKey, N as getPayablesIdLineItems, Ct as getPayablesIdLineItemsOptions, wt as getPayablesIdLineItemsQueryKey, Tt as getPayablesIdOptions, Et as getPayablesIdQueryKey, Dt as getPayablesIdSuggestionsOptions, Ot as getPayablesOptions, kt as getPayablesQueryKey, At as getProductsIdOptions, jt as getProductsIdQueryKey, Mt as getProductsOptions, Nt as getProductsQueryKey, Pt as getReceiptsIdQueryKey, Ft as getReceiptsOptions, It as getReceiptsQueryKey, Lt as getReceivablesIdHistoryOptions, Rt as getReceivablesIdHistoryQueryKey, zt as getReceivablesIdMailsOptions, Bt as getReceivablesIdMailsQueryKey, Vt as getReceivablesIdOptions, Ht as getReceivablesIdPdfLinkOptions, Ut as getReceivablesIdPdfLinkQueryKey, Wt as getReceivablesIdQueryKey, Gt as getReceivablesOptions, Kt as getReceivablesQueryKey, qt as getTagsOptions, Jt as getTagsQueryKey, Yt as getTransactionsIdQueryKey, Xt as getTransactionsOptions, Zt as getTransactionsQueryKey, Qt as getTransactionsValidationsOptions, $t as getTransactionsValidationsQueryKey, P as getUsers, en as getUsersOptions, tn as getUsersQueryKey, nn as grantBankAccountAccessMutation, rn as grantExternalBankAccountAccessMutation, Se as hasAnyScope, e as invalidateAllClients, Mn as isAllPagesResolving, En as isApiNotFoundError, an as linkExternalBankAccountMutation, F as listDepartments, on as listDepartmentsOptions, sn as listDepartmentsQueryKey, I as listLocations, cn as listLocationsOptions, ln as listLocationsQueryKey, L as listRoles, un as listRolesQueryKey, R as manageBankAccountAccess, c as optionalOrganizationHeaders, l as organizationHeaders, dn as patchApprovalPoliciesIdMutation, z as patchCounterpartsId, B as patchCounterpartsIdAddressesId, V as patchCounterpartsIdBankAccountsId, fn as patchEntitiesIdSettingsMutation, pn as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, mn as patchReceiptsIdMutation, G as patchReceivablesId, K as patchTagsId, q as postApiWidgetGatewayDisclosureAcceptance, hn as postApprovalPoliciesMutation, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, gn as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdAttachFile, te as postPayablesIdSubmitForApproval, ne as postPayablesIdValidate, re as postPayablesUploadFromFile, ie as postProducts, ae as postReceivables, oe as postReceivablesIdAccept, se as postReceivablesIdCancel, ce as postReceivablesIdClone, le as postReceivablesIdDecline, ue as postReceivablesIdIssue, de as postReceivablesIdMarkAsPaid, fe as postReceivablesIdMarkAsPartiallyPaid, pe as postReceivablesIdMarkAsUncollectible, me as postReceivablesIdSend, he as postTags, ge as putPayablesIdLineItems, _e as putReceivablesIdLineItems, _n as putTransactionsValidationsMutation, t as registerQueryClient, n as setAllClientsQueriesData, vn as submitApplicationMutation, yn as unlinkExternalBankAccountMutation, r as unregisterQueryClient, bn as updateApplicationMutation, xn as updateBankAccountMutation, ve as updateDepartment, Sn as updateExternalBankAccountMutation, ye as updateLocation, be as updateUser, Pn as useAllBankAccountsQuery, Fn as useAllExternalBankAccountsQuery, Rn as useAllOrganizationRolesQuery, Bn as useAllOrganizationUsersQuery, Nn as useAutoFetchNextPage, Tn as useCurrentUserQuery, s as useEmbedApi, Dn as useGetUserDataQuery, In as useLedgerAccountsQuery, Ln as usePaymentTermsQuery, zn as useRolePermissionsQueries, On as useUpsertUserDataMutation, Cn as validateExternalBankAccountMutation, wn as withAuthEpoch };