@tesouro/embedded-components-react 0.5.214 → 0.5.215

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 (74) hide show
  1. package/dist/index.d.ts +88 -1
  2. package/dist/index.js +1 -1
  3. package/dist/lib/ReceivablesWidget.d.ts +88 -1
  4. package/dist/lib/ReceivablesWidget.js +1 -1
  5. package/dist/libs/shared/util-validation/dist/index5.js +7 -0
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +7 -7
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +63 -67
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +160 -1
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +6 -0
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +32 -25
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +25 -200
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +175 -1
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +1 -101
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +92 -71
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +44 -100
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +93 -421
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +442 -112
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +166 -157
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +150 -204
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +202 -31
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +32 -145
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +145 -37
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +44 -58
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +113 -87
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +58 -116
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +83 -357
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +111 -65
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +449 -99
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +68 -281
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +115 -0
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +314 -0
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +34 -23
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +444 -92
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +113 -52
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +18 -14
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +2 -92
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +95 -3
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +3 -24
  41. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +24 -1
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +1 -3
  43. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +1 -1
  44. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +3 -18
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +18 -1
  46. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +0 -3
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +0 -8
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +11 -0
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +1 -264
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +258 -42
  51. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +38 -62
  52. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +61 -463
  53. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +457 -89
  54. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +91 -234
  55. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +89 -82
  56. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +22 -338
  57. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +236 -0
  58. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +26 -204
  59. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +3 -0
  60. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +249 -0
  61. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +93 -0
  62. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +344 -0
  63. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +208 -32
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +29 -202
  65. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +183 -137
  66. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +157 -12
  67. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +10 -19
  68. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +23 -2
  69. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
  70. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +167 -156
  71. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +66 -34
  72. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  73. package/dist/packages/shared-ui-shadcn/dist/index.js +13 -13
  74. package/package.json +1 -1
@@ -1,16 +1,161 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
1
+ import { Button as e, Checkbox as t, Separator as n, Typography as r, cn as i } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { RECEIVABLE_FORM_SHEET_LABELS_EN as a } from "./index4.js";
3
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
4
+ import { FileText as l, ImageIcon as u, Loader2 as d, Trash2 as f, X as p } from "lucide-react";
2
5
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js
3
- function n({ option: n }) {
4
- return /* @__PURE__ */ t("span", {
5
- className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2",
6
- children: [/* @__PURE__ */ e("span", {
7
- className: "ttw:truncate",
8
- children: n.label
9
- }), n.dueDateLabel && /* @__PURE__ */ e("span", {
10
- className: "ttw:shrink-0 ttw:text-xs ttw:text-muted-foreground",
11
- children: n.dueDateLabel
12
- })]
6
+ function m({ view: m, isDragging: h, disabled: g, inputRef: _, onBrowseClick: v, onDragOver: y, onDragLeave: b, onDrop: x, onFilesSelect: S, onIncludeInEmailChange: C, onRemove: w, labels: T }) {
7
+ let E = {
8
+ ...a,
9
+ ...T
10
+ };
11
+ return /* @__PURE__ */ c("div", {
12
+ className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-xl ttw:border ttw:border-border ttw:p-6",
13
+ children: [
14
+ /* @__PURE__ */ c("div", {
15
+ className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
16
+ children: [/* @__PURE__ */ s(r, {
17
+ variant: "h4",
18
+ children: E.attachmentsHeading
19
+ }), /* @__PURE__ */ s(r, {
20
+ variant: "body2",
21
+ color: "muted",
22
+ className: "ttw:font-medium",
23
+ children: E.attachmentsDescription
24
+ })]
25
+ }),
26
+ m.showRows && /* @__PURE__ */ c("div", {
27
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
28
+ children: [m.emailCaption && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(r, {
29
+ variant: "caption",
30
+ color: "muted",
31
+ children: m.emailCaption
32
+ }), /* @__PURE__ */ s(n, {})] }), /* @__PURE__ */ c("ul", {
33
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
34
+ children: [m.attachedRows.map((n) => /* @__PURE__ */ c("li", {
35
+ className: "ttw:flex ttw:items-center ttw:gap-2",
36
+ children: [/* @__PURE__ */ s(t, {
37
+ checked: n.includeInEmail,
38
+ disabled: g,
39
+ "aria-label": n.includeInEmailLabel,
40
+ onCheckedChange: (e) => C(n.id, e === !0)
41
+ }), /* @__PURE__ */ c("div", {
42
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1",
43
+ children: [/* @__PURE__ */ c("div", {
44
+ className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:gap-1",
45
+ children: [/* @__PURE__ */ s(r, {
46
+ variant: "body2",
47
+ className: "ttw:truncate",
48
+ children: n.name
49
+ }), /* @__PURE__ */ c(r, {
50
+ variant: "body2",
51
+ color: "muted",
52
+ className: "ttw:shrink-0",
53
+ children: [
54
+ "(",
55
+ n.sizeLabel,
56
+ ")"
57
+ ]
58
+ })]
59
+ }), /* @__PURE__ */ s(e, {
60
+ type: "button",
61
+ variant: "ghost",
62
+ size: "icon",
63
+ className: "ttw:size-4",
64
+ disabled: g,
65
+ "aria-label": n.removeLabel,
66
+ onClick: () => w(n.id),
67
+ children: /* @__PURE__ */ s(f, { className: "ttw:size-4" })
68
+ })]
69
+ })]
70
+ }, n.id)), m.pendingRows.map((t) => /* @__PURE__ */ c("li", {
71
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1",
72
+ children: [
73
+ t.state === "uploading" ? /* @__PURE__ */ s(d, { className: "ttw:size-5 ttw:shrink-0 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ s(l, { className: "ttw:size-5 ttw:shrink-0 ttw:text-destructive" }),
74
+ /* @__PURE__ */ c("div", {
75
+ className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
76
+ children: [/* @__PURE__ */ s(r, {
77
+ variant: "body2",
78
+ className: "ttw:truncate",
79
+ children: t.name
80
+ }), t.state === "uploading" ? /* @__PURE__ */ s(r, {
81
+ variant: "caption",
82
+ color: "muted",
83
+ children: t.message
84
+ }) : /* @__PURE__ */ s(r, {
85
+ variant: "caption",
86
+ role: "alert",
87
+ className: "ttw:text-destructive",
88
+ children: t.message
89
+ })]
90
+ }),
91
+ /* @__PURE__ */ s(e, {
92
+ type: "button",
93
+ variant: "ghost",
94
+ size: "icon",
95
+ disabled: g,
96
+ "aria-label": t.removeLabel,
97
+ onClick: () => w(t.id),
98
+ children: /* @__PURE__ */ s(p, { className: "ttw:size-4" })
99
+ })
100
+ ]
101
+ }, t.id))]
102
+ })]
103
+ }),
104
+ /* @__PURE__ */ c("button", {
105
+ type: "button",
106
+ disabled: g,
107
+ onClick: v,
108
+ onDragOver: (e) => {
109
+ e.preventDefault(), y();
110
+ },
111
+ onDragLeave: (e) => {
112
+ e.preventDefault(), b();
113
+ },
114
+ onDrop: (e) => {
115
+ e.preventDefault(), x(e.dataTransfer.files);
116
+ },
117
+ className: i("ttw:flex ttw:w-full ttw:flex-col ttw:items-center ttw:gap-2 ttw:rounded-xl ttw:border ttw:border-dashed ttw:p-6 ttw:text-center ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", h ? "ttw:border-primary ttw:bg-primary/5" : "ttw:border-border ttw:bg-muted"),
118
+ children: [
119
+ /* @__PURE__ */ s("span", {
120
+ className: "ttw:flex ttw:size-10 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-border",
121
+ children: /* @__PURE__ */ s(u, { className: "ttw:size-5 ttw:text-muted-foreground" })
122
+ }),
123
+ /* @__PURE__ */ c(r, {
124
+ variant: "body2",
125
+ children: [
126
+ E.attachmentsDropPrompt,
127
+ " ",
128
+ /* @__PURE__ */ s("span", {
129
+ className: "ttw:text-primary ttw:underline",
130
+ children: E.attachmentsBrowseLink
131
+ })
132
+ ]
133
+ }),
134
+ /* @__PURE__ */ s(r, {
135
+ variant: "caption",
136
+ color: "muted",
137
+ children: E.attachmentsFormatsHint
138
+ })
139
+ ]
140
+ }),
141
+ m.countLimitMessage && /* @__PURE__ */ s(r, {
142
+ variant: "body2",
143
+ role: "alert",
144
+ className: "ttw:text-destructive",
145
+ children: m.countLimitMessage
146
+ }),
147
+ /* @__PURE__ */ s("input", {
148
+ ref: _,
149
+ type: "file",
150
+ multiple: !0,
151
+ tabIndex: -1,
152
+ "aria-hidden": !0,
153
+ className: "ttw:sr-only",
154
+ accept: m.accept,
155
+ onChange: (e) => S(e.target.files)
156
+ })
157
+ ]
13
158
  });
14
159
  }
15
160
  //#endregion
16
- export { n as OptionRow };
161
+ export { m as ReceivableAttachmentsSection };
@@ -1,25 +1,16 @@
1
- import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { OptionRow as t } from "./index7.js";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { CalendarIcon as i } from "lucide-react";
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
5
2
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js
6
- function a({ selection: a, labels: o }) {
7
- return a?.kind === "receiptDue" ? /* @__PURE__ */ n("span", {
8
- className: "ttw:truncate",
9
- children: o.paymentTermsReceiptDue
10
- }) : a?.kind === "customDate" ? /* @__PURE__ */ r("span", {
3
+ function n({ option: n }) {
4
+ return /* @__PURE__ */ t("span", {
11
5
  className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2",
12
- children: [/* @__PURE__ */ r("span", {
13
- className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-1.5",
14
- children: [/* @__PURE__ */ n(i, { className: e("ttw:size-4 ttw:shrink-0", !a.hasDate && "ttw:text-muted-foreground") }), /* @__PURE__ */ n("span", {
15
- className: e("ttw:truncate", !a.hasDate && "ttw:text-muted-foreground"),
16
- children: a.dateLabel
17
- })]
18
- }), /* @__PURE__ */ n("span", {
6
+ children: [/* @__PURE__ */ e("span", {
7
+ className: "ttw:truncate",
8
+ children: n.label
9
+ }), n.dueDateLabel && /* @__PURE__ */ e("span", {
19
10
  className: "ttw:shrink-0 ttw:text-xs ttw:text-muted-foreground",
20
- children: o.paymentTermsCustomDate
11
+ children: n.dueDateLabel
21
12
  })]
22
- }) : a?.kind === "term" ? /* @__PURE__ */ n(t, { option: a.option }) : null;
13
+ });
23
14
  }
24
15
  //#endregion
25
- export { a as SelectionValue };
16
+ export { n as OptionRow };
@@ -1,4 +1,25 @@
1
+ import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { OptionRow as t } from "./index8.js";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { CalendarIcon as i } from "lucide-react";
1
5
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js
2
- var e = "receipt_due", t = "custom";
6
+ function a({ selection: a, labels: o }) {
7
+ return a?.kind === "receiptDue" ? /* @__PURE__ */ n("span", {
8
+ className: "ttw:truncate",
9
+ children: o.paymentTermsReceiptDue
10
+ }) : a?.kind === "customDate" ? /* @__PURE__ */ r("span", {
11
+ className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2",
12
+ children: [/* @__PURE__ */ r("span", {
13
+ className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-1.5",
14
+ children: [/* @__PURE__ */ n(i, { className: e("ttw:size-4 ttw:shrink-0", !a.hasDate && "ttw:text-muted-foreground") }), /* @__PURE__ */ n("span", {
15
+ className: e("ttw:truncate", !a.hasDate && "ttw:text-muted-foreground"),
16
+ children: a.dateLabel
17
+ })]
18
+ }), /* @__PURE__ */ n("span", {
19
+ className: "ttw:shrink-0 ttw:text-xs ttw:text-muted-foreground",
20
+ children: o.paymentTermsCustomDate
21
+ })]
22
+ }) : a?.kind === "term" ? /* @__PURE__ */ n(t, { option: a.option }) : null;
23
+ }
3
24
  //#endregion
4
- export { t as RECEIVABLE_PAYMENT_TERMS_CUSTOM_DATE, e as RECEIVABLE_PAYMENT_TERMS_RECEIPT_DUE };
25
+ export { a as SelectionValue };
@@ -1,46 +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, 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";
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";
10
10
  import "./lib/widgetGatewayHosts.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";
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";
20
20
  import "./lib/apiErrorStatus.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";
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";
25
25
  import "./lib/isUserDataNotFoundError.js";
26
- import { useGetUserDataQuery as Qr } from "./lib/useGetUserDataQuery.js";
27
- import { useUpsertUserDataMutation as $r } from "./lib/useUpsertUserDataMutation.js";
26
+ import { useGetUserDataQuery as ri } from "./lib/useGetUserDataQuery.js";
27
+ import { useUpsertUserDataMutation as ii } from "./lib/useUpsertUserDataMutation.js";
28
28
  import "./lib/rest/zod.gen.js";
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 };
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 };