@tesouro/embedded-components-react 0.5.224 → 0.5.226

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 (41) hide show
  1. package/README.md +335 -413
  2. package/dist/index.d.ts +23 -2
  3. package/dist/index.js +1 -1
  4. package/dist/lib/ReceivablesWidget.d.ts +23 -2
  5. package/dist/lib/ReceivablesWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +45 -31
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +51 -32
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +20 -1
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +17 -202
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +220 -31
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +32 -145
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +126 -44
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +145 -117
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +46 -58
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +113 -87
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +58 -116
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +98 -225
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +111 -27
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +225 -462
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +34 -41
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +627 -34
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +39 -77
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +34 -112
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +75 -310
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +124 -0
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +324 -0
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +20 -15
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +56 -53
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -29
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +184 -162
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +1 -3
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +78 -69
  35. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js +7 -6
  36. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js +20 -19
  37. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +39 -39
  38. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +210 -199
  39. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +60 -52
  40. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  41. package/package.json +1 -1
@@ -99,11 +99,11 @@ function E({ idPrefix: e, values: t, errors: n, canCancel: r, isSaving: a, label
99
99
  ]
100
100
  });
101
101
  }
102
- function D({ idPrefix: i, view: a, disabled: o, onAccountSelect: s, onAddAccountClick: c, onFormChange: l, onFormSave: T, onFormCancel: D, labels: O }) {
103
- let k = {
102
+ function D({ idPrefix: i, view: a, error: o, disabled: c, onAccountSelect: l, onAddAccountClick: T, onFormChange: D, onFormSave: O, onFormCancel: k, labels: A }) {
103
+ let j = {
104
104
  ...v,
105
- ...O
106
- }, A = `${i}-bank-account`;
105
+ ...A
106
+ }, M = `${i}-bank-account`;
107
107
  return /* @__PURE__ */ x("div", {
108
108
  className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-xl ttw:border ttw:border-border ttw:p-6",
109
109
  children: [
@@ -111,92 +111,101 @@ function D({ idPrefix: i, view: a, disabled: o, onAccountSelect: s, onAddAccount
111
111
  className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
112
112
  children: [/* @__PURE__ */ b(_, {
113
113
  variant: "h4",
114
- children: k.bankAccountHeading
114
+ children: j.bankAccountHeading
115
115
  }), /* @__PURE__ */ b(_, {
116
116
  variant: "body2",
117
117
  color: "muted",
118
118
  className: "ttw:font-medium",
119
- children: k.bankAccountDescription
119
+ children: j.bankAccountDescription
120
120
  })]
121
121
  }),
122
122
  (a.kind === "loading" || a.kind === "picker") && /* @__PURE__ */ x("div", {
123
123
  className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:rounded-xl ttw:border ttw:border-border ttw:p-3",
124
- children: [/* @__PURE__ */ x("div", {
125
- className: "ttw:flex ttw:flex-col ttw:gap-1",
126
- children: [/* @__PURE__ */ b(_, {
127
- variant: "body2",
128
- children: k.bankAccountLabel
129
- }), /* @__PURE__ */ b(_, {
130
- variant: "caption",
131
- color: "muted",
132
- children: k.bankAccountHint
133
- })]
134
- }), a.kind === "loading" ? /* @__PURE__ */ b(g, { className: "ttw:h-9 ttw:w-full ttw:rounded-md" }) : /* @__PURE__ */ x(u, {
135
- disabled: o,
136
- value: a.selected?.value ?? "",
137
- onValueChange: (e) => {
138
- if (e === w) {
139
- c();
140
- return;
141
- }
142
- s(e);
143
- },
144
- children: [/* @__PURE__ */ b(m, {
145
- id: A,
146
- className: "ttw:w-full",
147
- "aria-label": k.bankAccountSelectorLabel,
148
- children: /* @__PURE__ */ b(h, {
149
- placeholder: k.bankAccountPlaceholder,
150
- children: a.selected && /* @__PURE__ */ x("span", {
124
+ children: [
125
+ /* @__PURE__ */ x("div", {
126
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
127
+ children: [/* @__PURE__ */ b(_, {
128
+ variant: "body2",
129
+ children: j.bankAccountLabel
130
+ }), /* @__PURE__ */ b(_, {
131
+ variant: "caption",
132
+ color: "muted",
133
+ children: j.bankAccountHint
134
+ })]
135
+ }),
136
+ a.kind === "loading" ? /* @__PURE__ */ b(g, { className: "ttw:h-9 ttw:w-full ttw:rounded-md" }) : /* @__PURE__ */ x(u, {
137
+ disabled: c,
138
+ value: a.selected?.value ?? "",
139
+ onValueChange: (e) => {
140
+ if (e === w) {
141
+ T();
142
+ return;
143
+ }
144
+ l(e);
145
+ },
146
+ children: [/* @__PURE__ */ b(m, {
147
+ id: M,
148
+ className: "ttw:w-full",
149
+ "aria-label": j.bankAccountSelectorLabel,
150
+ "aria-invalid": !!o,
151
+ children: /* @__PURE__ */ b(h, {
152
+ placeholder: j.bankAccountPlaceholder,
153
+ children: a.selected && /* @__PURE__ */ x("span", {
154
+ className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
155
+ children: [/* @__PURE__ */ b("span", {
156
+ className: "ttw:truncate",
157
+ children: a.selected.label
158
+ }), a.selected.sourceLabel && /* @__PURE__ */ b(r, {
159
+ variant: "secondary",
160
+ className: "ttw:shrink-0",
161
+ children: a.selected.sourceLabel
162
+ })]
163
+ })
164
+ })
165
+ }), /* @__PURE__ */ x(d, { children: [a.options.map((e) => /* @__PURE__ */ b(f, {
166
+ value: e.value,
167
+ children: /* @__PURE__ */ x("span", {
151
168
  className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
152
169
  children: [/* @__PURE__ */ b("span", {
153
170
  className: "ttw:truncate",
154
- children: a.selected.label
155
- }), a.selected.sourceLabel && /* @__PURE__ */ b(r, {
156
- variant: "secondary",
157
- className: "ttw:shrink-0",
158
- children: a.selected.sourceLabel
171
+ children: e.label
172
+ }), e.sourceLabel && /* @__PURE__ */ b("span", {
173
+ className: "ttw:shrink-0 ttw:text-muted-foreground",
174
+ children: e.sourceLabel
159
175
  })]
160
176
  })
161
- })
162
- }), /* @__PURE__ */ x(d, { children: [a.options.map((e) => /* @__PURE__ */ b(f, {
163
- value: e.value,
164
- children: /* @__PURE__ */ x("span", {
165
- className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:justify-between ttw:gap-2",
166
- children: [/* @__PURE__ */ b("span", {
167
- className: "ttw:truncate",
168
- children: e.label
169
- }), e.sourceLabel && /* @__PURE__ */ b("span", {
170
- className: "ttw:shrink-0 ttw:text-muted-foreground",
171
- children: e.sourceLabel
172
- })]
173
- })
174
- }, e.value)), a.canAddAccount && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(p, {}), /* @__PURE__ */ x(f, {
175
- value: w,
176
- className: "ttw:font-semibold ttw:text-primary ttw:hover:text-primary ttw:focus:text-primary",
177
- children: [/* @__PURE__ */ b(S, { className: "ttw:text-primary" }), k.bankAccountAddOption]
178
- })] })] })]
179
- })]
177
+ }, e.value)), a.canAddAccount && /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(p, {}), /* @__PURE__ */ x(f, {
178
+ value: w,
179
+ className: "ttw:font-semibold ttw:text-primary ttw:hover:text-primary ttw:focus:text-primary",
180
+ children: [/* @__PURE__ */ b(S, { className: "ttw:text-primary" }), j.bankAccountAddOption]
181
+ })] })] })]
182
+ }),
183
+ /* @__PURE__ */ b(s, { errors: o ? [{ message: o }] : [] })
184
+ ]
180
185
  }),
181
- a.kind === "form" && /* @__PURE__ */ b(E, {
182
- idPrefix: i,
183
- values: a.values,
184
- errors: a.errors,
185
- canCancel: a.canCancel,
186
- isSaving: a.isSaving,
187
- labels: k,
188
- onChange: l,
189
- onSave: T,
190
- onCancel: D
186
+ a.kind === "form" && /* @__PURE__ */ x("div", {
187
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
188
+ "aria-invalid": o ? !0 : void 0,
189
+ children: [/* @__PURE__ */ b(E, {
190
+ idPrefix: i,
191
+ values: a.values,
192
+ errors: a.errors,
193
+ canCancel: a.canCancel,
194
+ isSaving: a.isSaving,
195
+ labels: j,
196
+ onChange: D,
197
+ onSave: O,
198
+ onCancel: k
199
+ }), /* @__PURE__ */ b(s, { errors: o ? [{ message: o }] : [] })]
191
200
  }),
192
201
  a.kind === "restricted" && /* @__PURE__ */ x(e, {
193
202
  className: "ttw:border-transparent ttw:bg-yellow-50 ttw:text-yellow-900 ttw:dark:bg-yellow-950 ttw:dark:text-yellow-100",
194
203
  children: [
195
204
  /* @__PURE__ */ b(C, {}),
196
- /* @__PURE__ */ b(n, { children: k.bankAccountRestrictedTitle }),
205
+ /* @__PURE__ */ b(n, { children: j.bankAccountRestrictedTitle }),
197
206
  /* @__PURE__ */ b(t, {
198
207
  className: "ttw:text-current",
199
- children: k.bankAccountRestrictedDescription
208
+ children: j.bankAccountRestrictedDescription
200
209
  })
201
210
  ]
202
211
  })
@@ -7,20 +7,21 @@ import "../../../ui/dist/index.js";
7
7
  import { useCounterpartSelector as t } from "./useCounterpartSelector.js";
8
8
  import { jsx as n } from "react/jsx-runtime";
9
9
  //#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js
10
- function r({ value: r, onValueChange: i, mode: a, limit: o, debounceMs: s, disabled: c, onCreateClick: l, labels: u, typeLabels: d }) {
11
- let f = t({
10
+ function r({ value: r, onValueChange: i, mode: a, limit: o, debounceMs: s, disabled: c, invalid: l, onCreateClick: u, labels: d, typeLabels: f }) {
11
+ let p = t({
12
12
  value: r,
13
13
  onValueChange: i,
14
14
  mode: a,
15
15
  limit: o,
16
16
  debounceMs: s,
17
- typeLabels: d
17
+ typeLabels: f
18
18
  });
19
19
  return /* @__PURE__ */ n(e, {
20
- ...f,
20
+ ...p,
21
21
  disabled: c,
22
- onCreateClick: l,
23
- labels: u
22
+ invalid: l,
23
+ onCreateClick: u,
24
+ labels: d
24
25
  });
25
26
  }
26
27
  //#endregion
@@ -3,23 +3,23 @@ import { COUNTERPART_SELECTOR_LABELS_EN as c } from "./index2.js";
3
3
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
4
4
  import { PlusIcon as d, RotateCwIcon as f, SearchIcon as p } from "lucide-react";
5
5
  //#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js
6
- function m({ value: m, options: h, searchValue: g, isLoading: _, isError: v, disabled: y, onSearchChange: b, onValueChange: x, onRetry: S, onCreateClick: C, labels: w }) {
7
- let T = {
6
+ function m({ value: m, options: h, searchValue: g, isLoading: _, isError: v, disabled: y, invalid: b, onSearchChange: x, onValueChange: S, onRetry: C, onCreateClick: w, labels: T }) {
7
+ let E = {
8
8
  ...c,
9
- ...w
10
- }, E = h.length > 0;
9
+ ...T
10
+ }, D = h.length > 0;
11
11
  return /* @__PURE__ */ u("div", {
12
12
  className: "ttw:flex ttw:flex-col ttw:gap-2",
13
13
  children: [
14
14
  /* @__PURE__ */ u("div", {
15
15
  className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
16
- children: [/* @__PURE__ */ l(n, { children: T.fieldLabel }), C ? /* @__PURE__ */ u(e, {
16
+ children: [/* @__PURE__ */ l(n, { children: E.fieldLabel }), w ? /* @__PURE__ */ u(e, {
17
17
  type: "button",
18
18
  variant: "ghost",
19
19
  size: "sm",
20
- onClick: C,
20
+ onClick: w,
21
21
  disabled: y,
22
- children: [/* @__PURE__ */ l(d, { className: "ttw:size-4" }), T.createButton]
22
+ children: [/* @__PURE__ */ l(d, { className: "ttw:size-4" }), E.createButton]
23
23
  }) : null]
24
24
  }),
25
25
  /* @__PURE__ */ u("div", {
@@ -27,9 +27,9 @@ function m({ value: m, options: h, searchValue: g, isLoading: _, isError: v, dis
27
27
  children: [/* @__PURE__ */ l(p, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ l(t, {
28
28
  className: "ttw:pl-9",
29
29
  value: g,
30
- placeholder: T.searchPlaceholder,
30
+ placeholder: E.searchPlaceholder,
31
31
  disabled: y,
32
- onChange: (e) => b(e.target.value),
32
+ onChange: (e) => x(e.target.value),
33
33
  onKeyDown: (e) => {
34
34
  e.key === "Enter" && e.preventDefault();
35
35
  }
@@ -37,11 +37,12 @@ function m({ value: m, options: h, searchValue: g, isLoading: _, isError: v, dis
37
37
  }),
38
38
  /* @__PURE__ */ u(r, {
39
39
  value: m || void 0,
40
- onValueChange: x,
41
- disabled: y || _ || v || !E,
40
+ onValueChange: S,
41
+ disabled: y || _ || v || !D,
42
42
  children: [/* @__PURE__ */ l(o, {
43
43
  className: "ttw:w-full",
44
- children: /* @__PURE__ */ l(s, { placeholder: T.selectPlaceholder })
44
+ "aria-invalid": b || void 0,
45
+ children: /* @__PURE__ */ l(s, { placeholder: E.selectPlaceholder })
45
46
  }), /* @__PURE__ */ l(i, { children: h.map((e) => /* @__PURE__ */ l(a, {
46
47
  value: e.value,
47
48
  children: /* @__PURE__ */ u("span", {
@@ -55,22 +56,22 @@ function m({ value: m, options: h, searchValue: g, isLoading: _, isError: v, dis
55
56
  }),
56
57
  _ ? /* @__PURE__ */ l("p", {
57
58
  className: "ttw:text-sm ttw:text-muted-foreground",
58
- children: T.loadingText
59
+ children: E.loadingText
59
60
  }) : v ? /* @__PURE__ */ u("div", {
60
61
  className: "ttw:flex ttw:items-center ttw:gap-2",
61
62
  children: [/* @__PURE__ */ l("p", {
62
63
  className: "ttw:text-sm ttw:text-destructive",
63
- children: T.errorText
64
- }), S ? /* @__PURE__ */ u(e, {
64
+ children: E.errorText
65
+ }), C ? /* @__PURE__ */ u(e, {
65
66
  type: "button",
66
67
  variant: "outline",
67
68
  size: "sm",
68
- onClick: S,
69
- children: [/* @__PURE__ */ l(f, { className: "ttw:size-4" }), T.retryButton]
69
+ onClick: C,
70
+ children: [/* @__PURE__ */ l(f, { className: "ttw:size-4" }), E.retryButton]
70
71
  }) : null]
71
- }) : E ? null : /* @__PURE__ */ l("p", {
72
+ }) : D ? null : /* @__PURE__ */ l("p", {
72
73
  className: "ttw:text-sm ttw:text-muted-foreground",
73
- children: T.emptyText
74
+ children: E.emptyText
74
75
  })
75
76
  ]
76
77
  });
@@ -1,46 +1,46 @@
1
1
  import "./lib/finopsApiVersion.js";
2
2
  import "./lib/rest/client.gen.js";
3
3
  import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, 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, patchRecurrencesId as X, patchTransactionsId as Z, postApprovalRequestsIdApprove as Q, postApprovalRequestsIdReject as $, postBankDetails as ee, postCounterparts as te, postCounterpartsIdAddresses as ne, postCounterpartsIdBankAccounts as re, postCounterpartsIdBankAccountsIdMakeDefault as ie, postFiles as ae, postMeasureUnits as oe, postOverdueReminders as se, postPayables as ce, postPayablesIdApprovePaymentOperation as le, postPayablesIdAttachFile as ue, postPayablesIdCancel as de, postPayablesIdDuplicatesIdConfirm as fe, postPayablesIdDuplicatesIdDismiss as pe, postPayablesIdMarkAsPaid as me, postPayablesIdReject as he, postPayablesIdReopen as ge, postPayablesIdSchedulePayment as _e, postPayablesIdSubmitForApproval as ve, postPayablesIdValidate as ye, postPayablesUploadFromFile as be, postPaymentIntentsIdCancel as xe, postPaymentReminders as Se, postProducts as Ce, postReceivables as we, postReceivablesIdAccept as Te, postReceivablesIdCancel as Ee, postReceivablesIdClone as De, postReceivablesIdDecline as Oe, postReceivablesIdIssue as ke, postReceivablesIdMarkAsPaid as Ae, postReceivablesIdMarkAsPartiallyPaid as je, postReceivablesIdMarkAsUncollectible as Me, postReceivablesIdSend as Ne, postRecurrences as Pe, postTransactionsIdApprove as Fe, postTransactionsIdReject as Ie, postTransactionsIdReopen as Le, postTransactionsIdSubmit as Re, putEntitiesIdLogo as ze, putPayablesIdLineItems as Be, updateDepartment as Ve, updateLocation as He, updateUser as Ue } from "./lib/rest/sdk.gen.js";
4
- import { activateCreditCardMutation as We, activateDebitCardMutation as Ge, connectExternalBankAccountMutation as Ke, createAchMoneyMovementMutation as qe, createApplicationMutation as Je, createBankAccountMutation as Ye, createBookTransferMutation as Xe, createCheckDepositMutation as Ze, createDebitCardMutation as Qe, createVelocityControlMutation as $e, deleteApprovalPoliciesIdMutation as et, deleteBankAccountApplicationMutation as tt, deleteLedgerAccountsIdMutation as nt, deleteReceiptsIdMutation as rt, disableUserMutation as it, getAnalyticsPayablesOptions as at, getAnalyticsPayablesQueryKey as ot, getAnalyticsReceiptsOptions as st, getAnalyticsReceiptsQueryKey as ct, getAnalyticsReceivablesOptions as lt, getAnalyticsReceivablesQueryKey as ut, getAnalyticsTransactionsOptions as dt, getAnalyticsTransactionsQueryKey as ft, getApprovalPoliciesOptions as pt, getApprovalPoliciesQueryKey as mt, getApprovalRequestsOptions as ht, getApprovalRequestsQueryKey as gt, getBankAccountAccessQueryKey as _t, getBankAccountApplicationOptions as vt, getBankAccountOptions as yt, getBankAccountQueryKey as bt, getBankAccountStatementsOptions as xt, getBankAccountTransactionsOptions as St, getBankAccountTransactionsQueryKey as Ct, getBankAccountTransfersOptions as wt, getBankAccountTransfersQueryKey as Tt, getBankAccountsQueryKey as Et, getBankDetailsOptions as Dt, getBankDetailsQueryKey as Ot, getCounterpartsIdAddressesOptions as kt, getCounterpartsIdAddressesQueryKey as At, getCounterpartsIdBankAccountsOptions as jt, getCounterpartsIdBankAccountsQueryKey as Mt, getCounterpartsIdOptions as Nt, getCounterpartsIdQueryKey as Pt, getCounterpartsOptions as Ft, getCounterpartsQueryKey as It, getCreditCardByIdOptions as Lt, getCreditCardByIdQueryKey as Rt, getCreditCardsOptions as zt, getCreditCardsQueryKey as Bt, getDebitCardByIdOptions as Vt, getDebitCardByIdQueryKey as Ht, getDebitCardCredentialsOptions as Ut, getDebitCardsOptions as Wt, getDebitCardsQueryKey as Gt, getDepartmentOptions as Kt, getDepartmentQueryKey as qt, getDepositableBankAccountsOptions as Jt, getDocumentsIdNextNumbersOptions as Yt, getDocumentsIdNextNumbersQueryKey as Xt, getEntitiesIdSettingsOptions as Zt, getEntitiesIdSettingsQueryKey as Qt, getEntityUsersMyEntityOptions as $t, getEntityUsersOptions as en, getExternalBankAccountAccessQueryKey as tn, getExternalBankAccountsOptions as nn, getExternalBankAccountsQueryKey as rn, getFilesQueryKey as an, getLedgerAccountsQueryKey as on, getLocationOptions as sn, getLocationQueryKey as cn, getMeasureUnitsOptions as ln, getMeasureUnitsQueryKey as un, getOrganizationOptions as dn, getOverdueRemindersOptions as fn, getOverdueRemindersQueryKey as pn, getPayablesIdHistoryOptions as mn, getPayablesIdHistoryQueryKey as hn, getPayablesIdLineItemsOptions as gn, getPayablesIdLineItemsQueryKey as _n, getPayablesIdOptions as vn, getPayablesIdQueryKey as yn, getPayablesIdSuggestionsOptions as bn, getPayablesOptions as xn, getPayablesQueryKey as Sn, getPaymentRecordsOptions as Cn, getPaymentRecordsQueryKey as wn, getPaymentRemindersOptions as Tn, getPaymentRemindersQueryKey as En, getProductsIdOptions as Dn, getProductsIdQueryKey as On, getProductsOptions as kn, getProductsQueryKey as An, getReceiptsIdQueryKey as jn, getReceiptsOptions as Mn, getReceiptsQueryKey as Nn, getReceivablesIdHistoryOptions as Pn, getReceivablesIdHistoryQueryKey as Fn, getReceivablesIdMailsOptions as In, getReceivablesIdMailsQueryKey as Ln, getReceivablesIdOptions as Rn, getReceivablesIdPdfLinkOptions as zn, getReceivablesIdPdfLinkQueryKey as Bn, getReceivablesIdQueryKey as Vn, getReceivablesOptions as Hn, getReceivablesQueryKey as Un, getRecurrencesIdOptions as Wn, getRecurrencesIdQueryKey as Gn, getRecurrencesQueryKey as Kn, getTransactionsIdExpenseHistoryOptions as qn, getTransactionsIdExpenseHistoryQueryKey as Jn, getTransactionsIdOptions as Yn, getTransactionsIdQueryKey as Xn, getTransactionsOptions as Zn, getTransactionsQueryKey as Qn, getTransactionsValidationsOptions as $n, getTransactionsValidationsQueryKey as er, getUsersOptions as tr, getUsersQueryKey as nr, getVelocityControlsQueryKey as rr, grantBankAccountAccessMutation as ir, grantExternalBankAccountAccessMutation as ar, linkExternalBankAccountMutation as or, listDepartmentsOptions as sr, listDepartmentsQueryKey as cr, listLocationsOptions as lr, listLocationsQueryKey as ur, listRolesQueryKey as dr, manageDebitCardAccessMutation as fr, patchApprovalPoliciesIdMutation as pr, patchLedgerAccountsIdMutation as mr, patchReceiptsIdMutation as hr, postApprovalPoliciesMutation as gr, postLedgerAccountsMutation as _r, postReceiptsUploadFromFileMutation as vr, putTransactionsValidationsMutation as yr, setDebitCardLockStatusMutation as br, submitApplicationMutation as xr, unlinkExternalBankAccountMutation as Sr, updateApplicationMutation as Cr, updateBankAccountMutation as wr, updateDebitCardMutation as Tr, updateExternalBankAccountMutation as Er, validateExternalBankAccountMutation as Dr, verifyDebitCardMutation as Or } from "./lib/rest/@tanstack/react-query.gen.js";
5
- import { authEpochPlaceholder as kr, withAuthEpoch as Ar } from "./lib/withAuthEpoch.js";
6
- import { applicationStatusInvalidationKey as jr, applicationStatusQueryOptions as Mr } from "./lib/applicationStatusQueryOptions.js";
7
- import { createClientSecretInstaller as Nr } from "./lib/scopedClientSecret.js";
8
- import { cancelAllClients as Pr, invalidateAllClients as Fr, registerQueryClient as Ir, removeInactiveFromAllClients as Lr, setAllClientsQueriesData as Rr, unregisterQueryClient as zr } from "./lib/clientRegistry.js";
9
- import { cloneEmbeddedClient as Br, createEmbeddedClient as Vr } from "./lib/createEmbeddedClient.js";
4
+ import { activateCreditCardMutation as We, activateDebitCardMutation as Ge, connectExternalBankAccountMutation as Ke, createAchMoneyMovementMutation as qe, createApplicationMutation as Je, createBankAccountMutation as Ye, createBookTransferMutation as Xe, createCheckDepositMutation as Ze, createDebitCardMutation as Qe, createVelocityControlMutation as $e, deleteApprovalPoliciesIdMutation as et, deleteBankAccountApplicationMutation as tt, deleteLedgerAccountsIdMutation as nt, deleteReceiptsIdMutation as rt, disableUserMutation as it, getAnalyticsPayablesOptions as at, getAnalyticsPayablesQueryKey as ot, getAnalyticsReceiptsOptions as st, getAnalyticsReceiptsQueryKey as ct, getAnalyticsReceivablesOptions as lt, getAnalyticsReceivablesQueryKey as ut, getAnalyticsTransactionsOptions as dt, getAnalyticsTransactionsQueryKey as ft, getApprovalPoliciesOptions as pt, getApprovalPoliciesQueryKey as mt, getApprovalRequestsOptions as ht, getApprovalRequestsQueryKey as gt, getBankAccountAccessQueryKey as _t, getBankAccountApplicationOptions as vt, getBankAccountOptions as yt, getBankAccountQueryKey as bt, getBankAccountStatementsOptions as xt, getBankAccountTransactionsOptions as St, getBankAccountTransactionsQueryKey as Ct, getBankAccountTransfersOptions as wt, getBankAccountTransfersQueryKey as Tt, getBankAccountsQueryKey as Et, getBankDetailsOptions as Dt, getBankDetailsQueryKey as Ot, getCounterpartsIdAddressesOptions as kt, getCounterpartsIdAddressesQueryKey as At, getCounterpartsIdBankAccountsOptions as jt, getCounterpartsIdBankAccountsQueryKey as Mt, getCounterpartsIdOptions as Nt, getCounterpartsIdQueryKey as Pt, getCounterpartsOptions as Ft, getCounterpartsQueryKey as It, getCreditCardByIdOptions as Lt, getCreditCardByIdQueryKey as Rt, getCreditCardsOptions as zt, getCreditCardsQueryKey as Bt, getDebitCardByIdOptions as Vt, getDebitCardByIdQueryKey as Ht, getDebitCardCredentialsOptions as Ut, getDebitCardsOptions as Wt, getDebitCardsQueryKey as Gt, getDepartmentOptions as Kt, getDepartmentQueryKey as qt, getDepositableBankAccountsOptions as Jt, getDocumentsIdNextNumbersOptions as Yt, getDocumentsIdNextNumbersQueryKey as Xt, getEntitiesIdSettingsOptions as Zt, getEntitiesIdSettingsQueryKey as Qt, getEntityUsersMyEntityOptions as $t, getEntityUsersOptions as en, getExternalBankAccountAccessQueryKey as tn, getExternalBankAccountsOptions as nn, getExternalBankAccountsQueryKey as rn, getFilesQueryKey as an, getLedgerAccountsQueryKey as on, getLocationOptions as sn, getLocationQueryKey as cn, getMeasureUnitsOptions as ln, getMeasureUnitsQueryKey as un, getOrganizationOptions as dn, getOverdueRemindersOptions as fn, getOverdueRemindersQueryKey as pn, getPayablesIdHistoryOptions as mn, getPayablesIdHistoryQueryKey as hn, getPayablesIdLineItemsOptions as gn, getPayablesIdLineItemsQueryKey as _n, getPayablesIdOptions as vn, getPayablesIdQueryKey as yn, getPayablesIdSuggestionsOptions as bn, getPayablesOptions as xn, getPayablesQueryKey as Sn, getPaymentRecordsOptions as Cn, getPaymentRecordsQueryKey as wn, getPaymentRemindersOptions as Tn, getPaymentRemindersQueryKey as En, getProductsIdOptions as Dn, getProductsIdQueryKey as On, getProductsOptions as kn, getProductsQueryKey as An, getReceiptsIdQueryKey as jn, getReceiptsOptions as Mn, getReceiptsQueryKey as Nn, getReceivablesIdHistoryOptions as Pn, getReceivablesIdHistoryQueryKey as Fn, getReceivablesIdMailsOptions as In, getReceivablesIdMailsQueryKey as Ln, getReceivablesIdOptions as Rn, getReceivablesIdPdfLinkOptions as zn, getReceivablesIdPdfLinkQueryKey as Bn, getReceivablesIdQueryKey as Vn, getReceivablesOptions as Hn, getReceivablesQueryKey as Un, getReceivablesRequiredFieldsOptions as Wn, getRecurrencesIdOptions as Gn, getRecurrencesIdQueryKey as Kn, getRecurrencesQueryKey as qn, getTransactionsIdExpenseHistoryOptions as Jn, getTransactionsIdExpenseHistoryQueryKey as Yn, getTransactionsIdOptions as Xn, getTransactionsIdQueryKey as Zn, getTransactionsOptions as Qn, getTransactionsQueryKey as $n, getTransactionsValidationsOptions as er, getTransactionsValidationsQueryKey as tr, getUsersOptions as nr, getUsersQueryKey as rr, getVelocityControlsQueryKey as ir, grantBankAccountAccessMutation as ar, grantExternalBankAccountAccessMutation as or, linkExternalBankAccountMutation as sr, listDepartmentsOptions as cr, listDepartmentsQueryKey as lr, listLocationsOptions as ur, listLocationsQueryKey as dr, listRolesQueryKey as fr, manageDebitCardAccessMutation as pr, patchApprovalPoliciesIdMutation as mr, patchLedgerAccountsIdMutation as hr, patchReceiptsIdMutation as gr, postApprovalPoliciesMutation as _r, postLedgerAccountsMutation as vr, postReceiptsUploadFromFileMutation as yr, putTransactionsValidationsMutation as br, setDebitCardLockStatusMutation as xr, submitApplicationMutation as Sr, unlinkExternalBankAccountMutation as Cr, updateApplicationMutation as wr, updateBankAccountMutation as Tr, updateDebitCardMutation as Er, updateExternalBankAccountMutation as Dr, validateExternalBankAccountMutation as Or, verifyDebitCardMutation as kr } from "./lib/rest/@tanstack/react-query.gen.js";
5
+ import { authEpochPlaceholder as Ar, withAuthEpoch as jr } from "./lib/withAuthEpoch.js";
6
+ import { applicationStatusInvalidationKey as Mr, applicationStatusQueryOptions as Nr } from "./lib/applicationStatusQueryOptions.js";
7
+ import { createClientSecretInstaller as Pr } from "./lib/scopedClientSecret.js";
8
+ import { cancelAllClients as Fr, invalidateAllClients as Ir, registerQueryClient as Lr, removeInactiveFromAllClients as Rr, setAllClientsQueriesData as zr, unregisterQueryClient as Br } from "./lib/clientRegistry.js";
9
+ import { cloneEmbeddedClient as Vr, createEmbeddedClient as Hr } from "./lib/createEmbeddedClient.js";
10
10
  import "./lib/widgetGatewayHosts.js";
11
- import { attachTransportInterceptors as Hr } from "./lib/transportInterceptors.js";
12
- import { EmbedApiProvider as Ur, useEmbedApi as Wr } from "./lib/EmbedApiContext.js";
13
- import { optionalOrganizationHeaders as Gr, organizationHeaders as Kr } from "./lib/organizationHeaders.js";
14
- import { fetchWidgetInit as qr } from "./lib/fetchWidgetInit.js";
15
- import { hasAnyScope as Jr } from "./lib/hasAnyScope.js";
16
- import { myEntityInvalidationKey as Yr } from "./lib/queryKeys.js";
17
- import { useCurrentUserQuery as Xr } from "./lib/useCurrentUserQuery.js";
18
- import { useMyEntityQuery as Zr } from "./lib/useMyEntityQuery.js";
19
- import { useMailboxAddress as Qr } from "./lib/useMailboxAddress.js";
11
+ import { attachTransportInterceptors as Ur } from "./lib/transportInterceptors.js";
12
+ import { EmbedApiProvider as Wr, useEmbedApi as Gr } from "./lib/EmbedApiContext.js";
13
+ import { optionalOrganizationHeaders as Kr, organizationHeaders as qr } from "./lib/organizationHeaders.js";
14
+ import { fetchWidgetInit as Jr } from "./lib/fetchWidgetInit.js";
15
+ import { hasAnyScope as Yr } from "./lib/hasAnyScope.js";
16
+ import { myEntityInvalidationKey as Xr } from "./lib/queryKeys.js";
17
+ import { useCurrentUserQuery as Zr } from "./lib/useCurrentUserQuery.js";
18
+ import { useMyEntityQuery as Qr } from "./lib/useMyEntityQuery.js";
19
+ import { useMailboxAddress as $r } from "./lib/useMailboxAddress.js";
20
20
  import "./lib/apiErrorStatus.js";
21
- import { isApiConflictError as $r } from "./lib/isApiConflictError.js";
22
- import { isApiForbiddenError as ei } from "./lib/isApiForbiddenError.js";
23
- import { isApiNotFoundError as ti } from "./lib/isApiNotFoundError.js";
24
- import { isApiUnprocessableError as ni } from "./lib/isApiUnprocessableError.js";
21
+ import { isApiConflictError as ei } from "./lib/isApiConflictError.js";
22
+ import { isApiForbiddenError as ti } from "./lib/isApiForbiddenError.js";
23
+ import { isApiNotFoundError as ni } from "./lib/isApiNotFoundError.js";
24
+ import { isApiUnprocessableError as ri } from "./lib/isApiUnprocessableError.js";
25
25
  import "./lib/isUserDataNotFoundError.js";
26
- import { useGetUserDataQuery as ri } from "./lib/useGetUserDataQuery.js";
27
- import { useUpsertUserDataMutation as ii } from "./lib/useUpsertUserDataMutation.js";
26
+ import { useGetUserDataQuery as ii } from "./lib/useGetUserDataQuery.js";
27
+ import { useUpsertUserDataMutation as ai } from "./lib/useUpsertUserDataMutation.js";
28
28
  import "./lib/rest/zod.gen.js";
29
- import { Scope as ai, isScope as oi } from "./lib/scopes.js";
30
- import { getAllPagesNextPageParam as si, getAllPagesNextPaginationTokenParam as ci, isAllPagesResolving as li, useAutoFetchNextPage as ui } from "./lib/allPages.js";
31
- import { useAllBankAccountsQuery as di } from "./lib/bank-account/useAllBankAccountsQuery.js";
32
- import { useAllDebitCardsQuery as fi } from "./lib/debit-card/useAllDebitCardsQuery.js";
33
- import { useAllExternalBankAccountsQuery as pi } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
34
- import { useAllMerchantCategoryGroupsQuery as mi } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
35
- import { useAllLedgerAccountsQuery as hi, useLedgerAccountsQuery as gi } from "./lib/reference-data/useLedgerAccountsQuery.js";
36
- import { usePaymentTermsQuery as _i } from "./lib/reference-data/usePaymentTermsQuery.js";
37
- import { useAllOrganizationRolesQuery as vi } from "./lib/role/useAllOrganizationRolesQuery.js";
38
- import { useRolePermissionsQueries as yi } from "./lib/role/useRolePermissionsQueries.js";
39
- import { useAllOrganizationUsersQuery as bi } from "./lib/user/useAllOrganizationUsersQuery.js";
40
- import { personDisclosure as xi } from "./lib/disclosures/personDisclosure.js";
41
- import { useAcceptWidgetDisclosures as Si } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
42
- import { useDisclosuresQuery as Ci } from "./lib/disclosures/useDisclosuresQuery.js";
43
- import { OnboardingSuppressionReason as wi } from "./lib/onboardingSuppressionReason.js";
44
- import { useOrganizationOnboardingSuppression as Ti } from "./lib/useOrganizationOnboardingSuppression.js";
45
- import { useOrganizationApplicationStatus as Ei } from "./lib/useOrganizationApplicationStatus.js";
46
- export { Ur as EmbedApiProvider, wi as OnboardingSuppressionReason, ai as Scope, We as activateCreditCardMutation, Ge as activateDebitCardMutation, jr as applicationStatusInvalidationKey, Mr as applicationStatusQueryOptions, Hr as attachTransportInterceptors, kr as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Pr as cancelAllClients, Br as cloneEmbeddedClient, Ke as connectExternalBankAccountMutation, qe as createAchMoneyMovementMutation, Je as createApplicationMutation, Ye as createBankAccountMutation, Xe as createBookTransferMutation, Ze as createCheckDepositMutation, Nr as createClientSecretInstaller, Qe as createDebitCardMutation, r as createDepartment, Vr as createEmbeddedClient, i as createLocation, a as createUser, $e as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, et as deleteApprovalPoliciesIdMutation, tt as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, nt as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, rt as deleteReceiptsIdMutation, g as deleteReceivablesId, it as disableUserMutation, _ as downloadBankAccountTransactions, qr as fetchWidgetInit, si as getAllPagesNextPageParam, ci as getAllPagesNextPaginationTokenParam, at as getAnalyticsPayablesOptions, ot as getAnalyticsPayablesQueryKey, st as getAnalyticsReceiptsOptions, ct as getAnalyticsReceiptsQueryKey, lt as getAnalyticsReceivablesOptions, ut as getAnalyticsReceivablesQueryKey, dt as getAnalyticsTransactionsOptions, ft as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, pt as getApprovalPoliciesOptions, mt as getApprovalPoliciesQueryKey, b as getApprovalRequests, ht as getApprovalRequestsOptions, gt as getApprovalRequestsQueryKey, x as getBankAccountAccess, _t as getBankAccountAccessQueryKey, vt as getBankAccountApplicationOptions, yt as getBankAccountOptions, bt as getBankAccountQueryKey, S as getBankAccountStatement, xt as getBankAccountStatementsOptions, St as getBankAccountTransactionsOptions, Ct as getBankAccountTransactionsQueryKey, wt as getBankAccountTransfersOptions, Tt as getBankAccountTransfersQueryKey, Et as getBankAccountsQueryKey, Dt as getBankDetailsOptions, Ot as getBankDetailsQueryKey, C as getCounterparts, kt as getCounterpartsIdAddressesOptions, At as getCounterpartsIdAddressesQueryKey, jt as getCounterpartsIdBankAccountsOptions, Mt as getCounterpartsIdBankAccountsQueryKey, Nt as getCounterpartsIdOptions, Pt as getCounterpartsIdQueryKey, Ft as getCounterpartsOptions, It as getCounterpartsQueryKey, Lt as getCreditCardByIdOptions, Rt as getCreditCardByIdQueryKey, zt as getCreditCardsOptions, Bt as getCreditCardsQueryKey, Vt as getDebitCardByIdOptions, Ht as getDebitCardByIdQueryKey, Ut as getDebitCardCredentialsOptions, Wt as getDebitCardsOptions, Gt as getDebitCardsQueryKey, w as getDepartment, Kt as getDepartmentOptions, qt as getDepartmentQueryKey, T as getDepositableBankAccounts, Jt as getDepositableBankAccountsOptions, Yt as getDocumentsIdNextNumbersOptions, Xt as getDocumentsIdNextNumbersQueryKey, Zt as getEntitiesIdSettingsOptions, Qt as getEntitiesIdSettingsQueryKey, $t as getEntityUsersMyEntityOptions, en as getEntityUsersOptions, E as getExternalBankAccountAccess, tn as getExternalBankAccountAccessQueryKey, nn as getExternalBankAccountsOptions, rn as getExternalBankAccountsQueryKey, an as getFilesQueryKey, on as getLedgerAccountsQueryKey, D as getLocation, sn as getLocationOptions, cn as getLocationQueryKey, ln as getMeasureUnitsOptions, un as getMeasureUnitsQueryKey, dn as getOrganizationOptions, fn as getOverdueRemindersOptions, pn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, mn as getPayablesIdHistoryOptions, hn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, gn as getPayablesIdLineItemsOptions, _n as getPayablesIdLineItemsQueryKey, vn as getPayablesIdOptions, yn as getPayablesIdQueryKey, bn as getPayablesIdSuggestionsOptions, xn as getPayablesOptions, Sn as getPayablesQueryKey, M as getPaymentRecords, Cn as getPaymentRecordsOptions, wn as getPaymentRecordsQueryKey, Tn as getPaymentRemindersOptions, En as getPaymentRemindersQueryKey, N as getProducts, Dn as getProductsIdOptions, On as getProductsIdQueryKey, kn as getProductsOptions, An as getProductsQueryKey, P as getReceipts, jn as getReceiptsIdQueryKey, Mn as getReceiptsOptions, Nn as getReceiptsQueryKey, F as getReceivables, Pn as getReceivablesIdHistoryOptions, Fn as getReceivablesIdHistoryQueryKey, In as getReceivablesIdMailsOptions, Ln as getReceivablesIdMailsQueryKey, Rn as getReceivablesIdOptions, zn as getReceivablesIdPdfLinkOptions, Bn as getReceivablesIdPdfLinkQueryKey, Vn as getReceivablesIdQueryKey, Hn as getReceivablesOptions, Un as getReceivablesQueryKey, Wn as getRecurrencesIdOptions, Gn as getRecurrencesIdQueryKey, Kn as getRecurrencesQueryKey, qn as getTransactionsIdExpenseHistoryOptions, Jn as getTransactionsIdExpenseHistoryQueryKey, Yn as getTransactionsIdOptions, Xn as getTransactionsIdQueryKey, Zn as getTransactionsOptions, Qn as getTransactionsQueryKey, $n as getTransactionsValidationsOptions, er as getTransactionsValidationsQueryKey, I as getUsers, tr as getUsersOptions, nr as getUsersQueryKey, rr as getVelocityControlsQueryKey, ir as grantBankAccountAccessMutation, ar as grantExternalBankAccountAccessMutation, Jr as hasAnyScope, Fr as invalidateAllClients, li as isAllPagesResolving, $r as isApiConflictError, ei as isApiForbiddenError, ti as isApiNotFoundError, ni as isApiUnprocessableError, oi as isScope, or as linkExternalBankAccountMutation, L as listDepartments, sr as listDepartmentsOptions, cr as listDepartmentsQueryKey, R as listLocations, lr as listLocationsOptions, ur as listLocationsQueryKey, z as listRoles, dr as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, fr as manageDebitCardAccessMutation, Yr as myEntityInvalidationKey, Gr as optionalOrganizationHeaders, Kr as organizationHeaders, pr as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, mr as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, hr as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchRecurrencesId, Z as patchTransactionsId, xi as personDisclosure, gr as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postBankDetails, te as postCounterparts, ne as postCounterpartsIdAddresses, re as postCounterpartsIdBankAccounts, ie as postCounterpartsIdBankAccountsIdMakeDefault, ae as postFiles, _r as postLedgerAccountsMutation, oe as postMeasureUnits, se as postOverdueReminders, ce as postPayables, le as postPayablesIdApprovePaymentOperation, ue as postPayablesIdAttachFile, de as postPayablesIdCancel, fe as postPayablesIdDuplicatesIdConfirm, pe as postPayablesIdDuplicatesIdDismiss, me as postPayablesIdMarkAsPaid, he as postPayablesIdReject, ge as postPayablesIdReopen, _e as postPayablesIdSchedulePayment, ve as postPayablesIdSubmitForApproval, ye as postPayablesIdValidate, be as postPayablesUploadFromFile, xe as postPaymentIntentsIdCancel, Se as postPaymentReminders, Ce as postProducts, vr as postReceiptsUploadFromFileMutation, we as postReceivables, Te as postReceivablesIdAccept, Ee as postReceivablesIdCancel, De as postReceivablesIdClone, Oe as postReceivablesIdDecline, ke as postReceivablesIdIssue, Ae as postReceivablesIdMarkAsPaid, je as postReceivablesIdMarkAsPartiallyPaid, Me as postReceivablesIdMarkAsUncollectible, Ne as postReceivablesIdSend, Pe as postRecurrences, Fe as postTransactionsIdApprove, Ie as postTransactionsIdReject, Le as postTransactionsIdReopen, Re as postTransactionsIdSubmit, ze as putEntitiesIdLogo, Be as putPayablesIdLineItems, yr as putTransactionsValidationsMutation, Ir as registerQueryClient, Lr as removeInactiveFromAllClients, Rr as setAllClientsQueriesData, br as setDebitCardLockStatusMutation, xr as submitApplicationMutation, Sr as unlinkExternalBankAccountMutation, zr as unregisterQueryClient, Cr as updateApplicationMutation, wr as updateBankAccountMutation, Tr as updateDebitCardMutation, Ve as updateDepartment, Er as updateExternalBankAccountMutation, He as updateLocation, Ue as updateUser, Si as useAcceptWidgetDisclosures, di as useAllBankAccountsQuery, fi as useAllDebitCardsQuery, pi as useAllExternalBankAccountsQuery, hi as useAllLedgerAccountsQuery, mi as useAllMerchantCategoryGroupsQuery, vi as useAllOrganizationRolesQuery, bi as useAllOrganizationUsersQuery, ui as useAutoFetchNextPage, Xr as useCurrentUserQuery, Ci as useDisclosuresQuery, Wr as useEmbedApi, ri as useGetUserDataQuery, gi as useLedgerAccountsQuery, Qr as useMailboxAddress, Zr as useMyEntityQuery, Ei as useOrganizationApplicationStatus, Ti as useOrganizationOnboardingSuppression, _i as usePaymentTermsQuery, yi as useRolePermissionsQueries, ii as useUpsertUserDataMutation, Dr as validateExternalBankAccountMutation, Or as verifyDebitCardMutation, Ar as withAuthEpoch };
29
+ import { Scope as oi, isScope as si } from "./lib/scopes.js";
30
+ import { getAllPagesNextPageParam as ci, getAllPagesNextPaginationTokenParam as li, isAllPagesResolving as ui, useAutoFetchNextPage as di } from "./lib/allPages.js";
31
+ import { useAllBankAccountsQuery as fi } from "./lib/bank-account/useAllBankAccountsQuery.js";
32
+ import { useAllDebitCardsQuery as pi } from "./lib/debit-card/useAllDebitCardsQuery.js";
33
+ import { useAllExternalBankAccountsQuery as mi } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
34
+ import { useAllMerchantCategoryGroupsQuery as hi } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
35
+ import { useAllLedgerAccountsQuery as gi, useLedgerAccountsQuery as _i } from "./lib/reference-data/useLedgerAccountsQuery.js";
36
+ import { usePaymentTermsQuery as vi } from "./lib/reference-data/usePaymentTermsQuery.js";
37
+ import { useAllOrganizationRolesQuery as yi } from "./lib/role/useAllOrganizationRolesQuery.js";
38
+ import { useRolePermissionsQueries as bi } from "./lib/role/useRolePermissionsQueries.js";
39
+ import { useAllOrganizationUsersQuery as xi } from "./lib/user/useAllOrganizationUsersQuery.js";
40
+ import { personDisclosure as Si } from "./lib/disclosures/personDisclosure.js";
41
+ import { useAcceptWidgetDisclosures as Ci } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
42
+ import { useDisclosuresQuery as wi } from "./lib/disclosures/useDisclosuresQuery.js";
43
+ import { OnboardingSuppressionReason as Ti } from "./lib/onboardingSuppressionReason.js";
44
+ import { useOrganizationOnboardingSuppression as Ei } from "./lib/useOrganizationOnboardingSuppression.js";
45
+ import { useOrganizationApplicationStatus as Di } from "./lib/useOrganizationApplicationStatus.js";
46
+ export { Wr as EmbedApiProvider, Ti as OnboardingSuppressionReason, oi as Scope, We as activateCreditCardMutation, Ge as activateDebitCardMutation, Mr as applicationStatusInvalidationKey, Nr as applicationStatusQueryOptions, Ur as attachTransportInterceptors, Ar as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Fr as cancelAllClients, Vr as cloneEmbeddedClient, Ke as connectExternalBankAccountMutation, qe as createAchMoneyMovementMutation, Je as createApplicationMutation, Ye as createBankAccountMutation, Xe as createBookTransferMutation, Ze as createCheckDepositMutation, Pr as createClientSecretInstaller, Qe as createDebitCardMutation, r as createDepartment, Hr as createEmbeddedClient, i as createLocation, a as createUser, $e as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, et as deleteApprovalPoliciesIdMutation, tt as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, nt as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, rt as deleteReceiptsIdMutation, g as deleteReceivablesId, it as disableUserMutation, _ as downloadBankAccountTransactions, Jr as fetchWidgetInit, ci as getAllPagesNextPageParam, li as getAllPagesNextPaginationTokenParam, at as getAnalyticsPayablesOptions, ot as getAnalyticsPayablesQueryKey, st as getAnalyticsReceiptsOptions, ct as getAnalyticsReceiptsQueryKey, lt as getAnalyticsReceivablesOptions, ut as getAnalyticsReceivablesQueryKey, dt as getAnalyticsTransactionsOptions, ft as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, pt as getApprovalPoliciesOptions, mt as getApprovalPoliciesQueryKey, b as getApprovalRequests, ht as getApprovalRequestsOptions, gt as getApprovalRequestsQueryKey, x as getBankAccountAccess, _t as getBankAccountAccessQueryKey, vt as getBankAccountApplicationOptions, yt as getBankAccountOptions, bt as getBankAccountQueryKey, S as getBankAccountStatement, xt as getBankAccountStatementsOptions, St as getBankAccountTransactionsOptions, Ct as getBankAccountTransactionsQueryKey, wt as getBankAccountTransfersOptions, Tt as getBankAccountTransfersQueryKey, Et as getBankAccountsQueryKey, Dt as getBankDetailsOptions, Ot as getBankDetailsQueryKey, C as getCounterparts, kt as getCounterpartsIdAddressesOptions, At as getCounterpartsIdAddressesQueryKey, jt as getCounterpartsIdBankAccountsOptions, Mt as getCounterpartsIdBankAccountsQueryKey, Nt as getCounterpartsIdOptions, Pt as getCounterpartsIdQueryKey, Ft as getCounterpartsOptions, It as getCounterpartsQueryKey, Lt as getCreditCardByIdOptions, Rt as getCreditCardByIdQueryKey, zt as getCreditCardsOptions, Bt as getCreditCardsQueryKey, Vt as getDebitCardByIdOptions, Ht as getDebitCardByIdQueryKey, Ut as getDebitCardCredentialsOptions, Wt as getDebitCardsOptions, Gt as getDebitCardsQueryKey, w as getDepartment, Kt as getDepartmentOptions, qt as getDepartmentQueryKey, T as getDepositableBankAccounts, Jt as getDepositableBankAccountsOptions, Yt as getDocumentsIdNextNumbersOptions, Xt as getDocumentsIdNextNumbersQueryKey, Zt as getEntitiesIdSettingsOptions, Qt as getEntitiesIdSettingsQueryKey, $t as getEntityUsersMyEntityOptions, en as getEntityUsersOptions, E as getExternalBankAccountAccess, tn as getExternalBankAccountAccessQueryKey, nn as getExternalBankAccountsOptions, rn as getExternalBankAccountsQueryKey, an as getFilesQueryKey, on as getLedgerAccountsQueryKey, D as getLocation, sn as getLocationOptions, cn as getLocationQueryKey, ln as getMeasureUnitsOptions, un as getMeasureUnitsQueryKey, dn as getOrganizationOptions, fn as getOverdueRemindersOptions, pn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, mn as getPayablesIdHistoryOptions, hn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, gn as getPayablesIdLineItemsOptions, _n as getPayablesIdLineItemsQueryKey, vn as getPayablesIdOptions, yn as getPayablesIdQueryKey, bn as getPayablesIdSuggestionsOptions, xn as getPayablesOptions, Sn as getPayablesQueryKey, M as getPaymentRecords, Cn as getPaymentRecordsOptions, wn as getPaymentRecordsQueryKey, Tn as getPaymentRemindersOptions, En as getPaymentRemindersQueryKey, N as getProducts, Dn as getProductsIdOptions, On as getProductsIdQueryKey, kn as getProductsOptions, An as getProductsQueryKey, P as getReceipts, jn as getReceiptsIdQueryKey, Mn as getReceiptsOptions, Nn as getReceiptsQueryKey, F as getReceivables, Pn as getReceivablesIdHistoryOptions, Fn as getReceivablesIdHistoryQueryKey, In as getReceivablesIdMailsOptions, Ln as getReceivablesIdMailsQueryKey, Rn as getReceivablesIdOptions, zn as getReceivablesIdPdfLinkOptions, Bn as getReceivablesIdPdfLinkQueryKey, Vn as getReceivablesIdQueryKey, Hn as getReceivablesOptions, Un as getReceivablesQueryKey, Wn as getReceivablesRequiredFieldsOptions, Gn as getRecurrencesIdOptions, Kn as getRecurrencesIdQueryKey, qn as getRecurrencesQueryKey, Jn as getTransactionsIdExpenseHistoryOptions, Yn as getTransactionsIdExpenseHistoryQueryKey, Xn as getTransactionsIdOptions, Zn as getTransactionsIdQueryKey, Qn as getTransactionsOptions, $n as getTransactionsQueryKey, er as getTransactionsValidationsOptions, tr as getTransactionsValidationsQueryKey, I as getUsers, nr as getUsersOptions, rr as getUsersQueryKey, ir as getVelocityControlsQueryKey, ar as grantBankAccountAccessMutation, or as grantExternalBankAccountAccessMutation, Yr as hasAnyScope, Ir as invalidateAllClients, ui as isAllPagesResolving, ei as isApiConflictError, ti as isApiForbiddenError, ni as isApiNotFoundError, ri as isApiUnprocessableError, si as isScope, sr as linkExternalBankAccountMutation, L as listDepartments, cr as listDepartmentsOptions, lr as listDepartmentsQueryKey, R as listLocations, ur as listLocationsOptions, dr as listLocationsQueryKey, z as listRoles, fr as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, pr as manageDebitCardAccessMutation, Xr as myEntityInvalidationKey, Kr as optionalOrganizationHeaders, qr as organizationHeaders, mr as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, hr as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, gr as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchRecurrencesId, Z as patchTransactionsId, Si as personDisclosure, _r as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postBankDetails, te as postCounterparts, ne as postCounterpartsIdAddresses, re as postCounterpartsIdBankAccounts, ie as postCounterpartsIdBankAccountsIdMakeDefault, ae as postFiles, vr as postLedgerAccountsMutation, oe as postMeasureUnits, se as postOverdueReminders, ce as postPayables, le as postPayablesIdApprovePaymentOperation, ue as postPayablesIdAttachFile, de as postPayablesIdCancel, fe as postPayablesIdDuplicatesIdConfirm, pe as postPayablesIdDuplicatesIdDismiss, me as postPayablesIdMarkAsPaid, he as postPayablesIdReject, ge as postPayablesIdReopen, _e as postPayablesIdSchedulePayment, ve as postPayablesIdSubmitForApproval, ye as postPayablesIdValidate, be as postPayablesUploadFromFile, xe as postPaymentIntentsIdCancel, Se as postPaymentReminders, Ce as postProducts, yr as postReceiptsUploadFromFileMutation, we as postReceivables, Te as postReceivablesIdAccept, Ee as postReceivablesIdCancel, De as postReceivablesIdClone, Oe as postReceivablesIdDecline, ke as postReceivablesIdIssue, Ae as postReceivablesIdMarkAsPaid, je as postReceivablesIdMarkAsPartiallyPaid, Me as postReceivablesIdMarkAsUncollectible, Ne as postReceivablesIdSend, Pe as postRecurrences, Fe as postTransactionsIdApprove, Ie as postTransactionsIdReject, Le as postTransactionsIdReopen, Re as postTransactionsIdSubmit, ze as putEntitiesIdLogo, Be as putPayablesIdLineItems, br as putTransactionsValidationsMutation, Lr as registerQueryClient, Rr as removeInactiveFromAllClients, zr as setAllClientsQueriesData, xr as setDebitCardLockStatusMutation, Sr as submitApplicationMutation, Cr as unlinkExternalBankAccountMutation, Br as unregisterQueryClient, wr as updateApplicationMutation, Tr as updateBankAccountMutation, Er as updateDebitCardMutation, Ve as updateDepartment, Dr as updateExternalBankAccountMutation, He as updateLocation, Ue as updateUser, Ci as useAcceptWidgetDisclosures, fi as useAllBankAccountsQuery, pi as useAllDebitCardsQuery, mi as useAllExternalBankAccountsQuery, gi as useAllLedgerAccountsQuery, hi as useAllMerchantCategoryGroupsQuery, yi as useAllOrganizationRolesQuery, xi as useAllOrganizationUsersQuery, di as useAutoFetchNextPage, Zr as useCurrentUserQuery, wi as useDisclosuresQuery, Gr as useEmbedApi, ii as useGetUserDataQuery, _i as useLedgerAccountsQuery, $r as useMailboxAddress, Qr as useMyEntityQuery, Di as useOrganizationApplicationStatus, Ei as useOrganizationOnboardingSuppression, vi as usePaymentTermsQuery, bi as useRolePermissionsQueries, ai as useUpsertUserDataMutation, Or as validateExternalBankAccountMutation, kr as verifyDebitCardMutation, jr as withAuthEpoch };