@tesouro/embedded-components-react 0.5.162 → 0.5.164

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.
package/README.md CHANGED
@@ -216,16 +216,16 @@ A whole banking page in one component: a section menu over the widgets behind it
216
216
 
217
217
  #### Props
218
218
 
219
- | Prop | Type | Default | Description |
220
- | --------------------------- | --------------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
221
- | `sections` | `readonly WidgetSuiteSectionId[]` | `WIDGET_SUITE_DEFAULT_SECTIONS` | Which sections the suite offers, in menu order. A listed section is still hidden when the token does not earn it. |
222
- | `section` | `WidgetSuiteSectionId` | — | Which section is showing. Supplying it puts the menu in controlled mode for the lifetime of the mount, so pair it with `onSectionChange`. |
223
- | `defaultSection` | `WidgetSuiteSectionId` | first of `sections` | Which section the suite opens on. Read once per mount, and ignored when `section` is supplied. |
224
- | `onSectionChange` | `(section) => void` | `undefined` | Called when a person moves the suite. Never fired on mount, and never for the entitlement fallback, so a URL mirroring it cannot erase a deep link. |
225
- | `labels` | `WidgetSuiteLabelOverrides` | `WIDGET_SUITE_LABELS_EN` | Every string on the page, in one tree: a group for the shell, the menu names, the section heading, the disclosure states, and one per section carrying that section's widget copy. Override any leaf and its siblings keep their defaults. |
226
- | `showSectionTitle` | `boolean` | `true` | Shows a heading above each section, named as its menu item is. Set `false` when your page already heads the suite. |
227
- | `onboardingDisclosureLinks` | `DisclosureLinks` | `undefined` | Legal disclosure URLs (Terms, Privacy, Electronic Communication, Patriot Act) for the entry-point onboarding widget's business-details agreement step, shown to a session whose organization has no application yet. Omitted fields render as plain, non-clickable text. |
228
- | `cardArtSrc` | `string` | `undefined` | Card artwork URL for the debit list's built-in Create card sheet. Omit it and Create card stays hidden. Credit Create card is always hidden in the suite. |
219
+ | Prop | Type | Default | Description |
220
+ | --------------------------- | --------------------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
221
+ | `sections` | `readonly WidgetSuiteSectionId[]` | `WIDGET_SUITE_DEFAULT_SECTIONS` | Which sections the suite offers, in menu order. A listed section is still hidden when the token does not earn it. |
222
+ | `section` | `WidgetSuiteSectionId` | — | Which section is showing. Supplying it puts the menu in controlled mode for the lifetime of the mount, so pair it with `onSectionChange`. |
223
+ | `defaultSection` | `WidgetSuiteSectionId` | first of `sections` | Which section the suite opens on. Read once per mount, and ignored when `section` is supplied. |
224
+ | `onSectionChange` | `(section) => void` | `undefined` | Called when a person moves the suite. Never fired on mount, and never for the entitlement fallback, so a URL mirroring it cannot erase a deep link. |
225
+ | `labels` | `WidgetSuiteLabelOverrides` | `WIDGET_SUITE_LABELS_EN` | Every string on the page, in one tree: a group for the shell, the menu names, the section heading, the disclosure states, and one per section carrying that section's widget copy. Override any leaf and its siblings keep their defaults. |
226
+ | `showSectionTitle` | `boolean` | `true` | Shows a heading above each section, named as its menu item is. Set `false` when your page already heads the suite. |
227
+ | `onboardingDisclosureLinks` | `DisclosureLinks` | `undefined` | Legal disclosure URLs (Terms, Privacy, Electronic Communication, Patriot Act) for the entry-point onboarding widget's business-details agreement step, shown to a session whose organization has no application yet. Omitted fields render as plain, non-clickable text. |
228
+ | `cardArtSrc` | `string` | `undefined` | Card artwork URL for the debit list's built-in Create card sheet and details card face. Omit it and both use a built-in neutral plastic, so Create card still shows when the token holds the issue, roster and funding scopes. Credit Create card is always hidden in the suite. |
229
229
 
230
230
  ### AcceptDisclosuresWidget
231
231
 
@@ -422,7 +422,7 @@ _Standalone presentational widget — it does not take the shared auth/scope pro
422
422
 
423
423
  | Prop | Type | Default | Description |
424
424
  | ----------------- | --------------------------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
425
- | `emailAddress` | `string` | _required_ | Forwarding email address shown in the popover with a copy button; receipts emailed here are processed automatically. |
425
+ | `emailAddress` | `string` | `undefined` | Forwarding email address shown in the popover with a copy button. Omit it to hide the email option. |
426
426
  | `onFileUpload` | `(file: File) => unknown \| Promise<unknown>` | `undefined` | Called once per selected file. The widget awaits each call and counts resolutions vs. rejections to drive its toasts. Omit to disable uploading. |
427
427
  | `onAwaitMatching` | `(uploadedCount: number) => Promise<ReceiptMatchSummary>` | `undefined` | Awaited after every file in a batch has uploaded. Resolve once the backend has finished OCR and auto-matching, and the widget reports the aggregate outcome in its batch toast. Omit to stop at the upload confirmation. |
428
428
  | `isUploading` | `boolean` | `false` | Host-controlled loading flag. While `true` (or while a batch is in flight) the popover shows a processing state and blocks new uploads. |
package/dist/index.d.ts CHANGED
@@ -3638,10 +3638,11 @@ interface WidgetSuiteProps extends WidgetProviderProps {
3638
3638
  */
3639
3639
  onboardingDisclosureLinks?: DisclosureLinks;
3640
3640
  /**
3641
- * Card artwork URL for the debit list's built-in Create card sheet. Host-resolved
3642
- * for the same reason as `onboardingDisclosureLinks`: the package ships no
3643
- * artwork. Omitted, Create card stays hidden. Credit has no in-package issuance
3644
- * flow, so its Create card stays hidden either way.
3641
+ * Card artwork URL for the debit list's built-in Create card sheet and its
3642
+ * details card face. Omitted, both use a built-in neutral plastic, so Create
3643
+ * card still shows whenever the token holds the issue, roster and funding
3644
+ * scopes. Credit has no in-package issuance flow, so its Create card stays
3645
+ * hidden either way.
3645
3646
  */
3646
3647
  cardArtSrc?: string;
3647
3648
  }
@@ -4489,7 +4490,7 @@ interface ReceiptMatchSummary {
4489
4490
  stillProcessing: number;
4490
4491
  }
4491
4492
  interface UploadReceiptWidgetProps {
4492
- emailAddress: string;
4493
+ emailAddress?: string;
4493
4494
  onFileUpload?: (file: File) => unknown | Promise<unknown>;
4494
4495
  /**
4495
4496
  * Awaited after every file in the batch has uploaded. Resolve once the backend
@@ -648,7 +648,7 @@ interface ReceiptMatchSummary {
648
648
  stillProcessing: number;
649
649
  }
650
650
  interface UploadReceiptWidgetProps {
651
- emailAddress: string;
651
+ emailAddress?: string;
652
652
  onFileUpload?: (file: File) => unknown | Promise<unknown>;
653
653
  /**
654
654
  * Awaited after every file in the batch has uploaded. Resolve once the backend
@@ -13,7 +13,7 @@ interface ReceiptMatchSummary {
13
13
  stillProcessing: number;
14
14
  }
15
15
  interface UploadReceiptWidgetProps {
16
- emailAddress: string;
16
+ emailAddress?: string;
17
17
  onFileUpload?: (file: File) => unknown | Promise<unknown>;
18
18
  /**
19
19
  * Awaited after every file in the batch has uploaded. Resolve once the backend
@@ -2777,10 +2777,11 @@ interface WidgetSuiteProps extends WidgetProviderProps {
2777
2777
  */
2778
2778
  onboardingDisclosureLinks?: DisclosureLinks;
2779
2779
  /**
2780
- * Card artwork URL for the debit list's built-in Create card sheet. Host-resolved
2781
- * for the same reason as `onboardingDisclosureLinks`: the package ships no
2782
- * artwork. Omitted, Create card stays hidden. Credit has no in-package issuance
2783
- * flow, so its Create card stays hidden either way.
2780
+ * Card artwork URL for the debit list's built-in Create card sheet and its
2781
+ * details card face. Omitted, both use a built-in neutral plastic, so Create
2782
+ * card still shows whenever the token holds the issue, roster and funding
2783
+ * scopes. Credit has no in-package issuance flow, so its Create card stays
2784
+ * hidden either way.
2784
2785
  */
2785
2786
  cardArtSrc?: string;
2786
2787
  }
@@ -4,140 +4,146 @@
4
4
  "use client";
5
5
  import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
6
  import { hasAnyScope as t } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
7
+ import { useMailboxAddress as ee } from "../../../shared/data-access/dist/lib/useMailboxAddress.js";
7
8
  import { Scope as n } from "../../../shared/data-access/dist/lib/scopes.js";
8
9
  import "../../../shared/data-access/dist/index.js";
9
10
  import "../../../shared/ui/dist/index.js";
10
- import { useWidgetConfig as ee, useWidgetInitStaleForToken as te } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import { useWidgetConfig as r, useWidgetInitStaleForToken as i } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
12
  import "../../../shared/feature/dist/index.js";
12
- import { useDuplicateBillsCount as ne } from "./index10.js";
13
- import { AddBillDialog as r } from "../../ui/dist/index10.js";
13
+ import { useDuplicateBillsCount as te } from "./index10.js";
14
+ import { AddBillDialog as ne } from "../../ui/dist/index10.js";
14
15
  import { BillsScreen as re } from "../../ui/dist/index84.js";
15
16
  import "../../ui/dist/index.js";
16
17
  import { DuplicateBillsContainer as ie } from "./index12.js";
17
18
  import "./index14.js";
18
- import { BillCreateDialog as i } from "./index62.js";
19
+ import { BillCreateDialog as a } from "./index62.js";
19
20
  import "./index63.js";
20
21
  import { BillDetailsContainer as ae } from "./index65.js";
21
22
  import "./index66.js";
22
23
  import "./index72.js";
23
24
  import "./index73.js";
24
- import { BILL_QUEUE_ORDER as a } from "./index75.js";
25
- import { BILLS_TAB_LABELS_EN as o } from "./index78.js";
26
- import { useBillsTable as s } from "./index86.js";
27
- import { formatBillQueueBadge as c } from "./index74.js";
28
- import { copyTextToClipboard as l } from "./index76.js";
29
- import { resolveDuplicateWarning as u } from "./index77.js";
30
- import { billsTabTestIds as d, billsTableCellTestIds as f } from "./index79.js";
31
- import { useBillQueueCounts as oe } from "./index80.js";
25
+ import { BILL_QUEUE_ORDER as o } from "./index75.js";
26
+ import { BILLS_TAB_LABELS_EN as s } from "./index78.js";
27
+ import { useBillsTable as c } from "./index86.js";
28
+ import { formatBillQueueBadge as l } from "./index74.js";
29
+ import { copyTextToClipboard as u } from "./index76.js";
30
+ import { resolveDuplicateWarning as d } from "./index77.js";
31
+ import { billsTabTestIds as f, billsTableCellTestIds as oe } from "./index79.js";
32
+ import { useBillQueueCounts as se } from "./index80.js";
32
33
  import { useCallback as p, useEffect as m, useMemo as h, useState as g } from "react";
33
- import { jsx as _, jsxs as se } from "react/jsx-runtime";
34
+ import { jsx as _, jsxs as v } from "react/jsx-runtime";
34
35
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js
35
- var v = "bills@business-banking.app";
36
- function y({ labels: y, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandled: S, vendorIntent: C, onVendorIntentHandled: w, poweredByBankName: T, onSettingsClick: E }) {
37
- let D = h(() => ({
38
- ...o,
36
+ function y({ labels: y, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandled: S, vendorIntent: C, onVendorIntentHandled: w, poweredByBankName: T, onSettingsClick: ce }) {
37
+ let E = h(() => ({
38
+ ...s,
39
39
  ...y,
40
40
  queues: {
41
- ...o.queues,
41
+ ...s.queues,
42
42
  ...y?.queues
43
43
  },
44
44
  scheduledRelativeDay: {
45
- ...o.scheduledRelativeDay,
45
+ ...s.scheduledRelativeDay,
46
46
  ...y?.scheduledRelativeDay
47
47
  },
48
48
  filters: {
49
- ...o.filters,
49
+ ...s.filters,
50
50
  ...y?.filters,
51
51
  presets: {
52
- ...o.filters.presets,
52
+ ...s.filters.presets,
53
53
  ...y?.filters?.presets
54
54
  },
55
55
  statuses: {
56
- ...o.filters.statuses,
56
+ ...s.filters.statuses,
57
57
  ...y?.filters?.statuses
58
58
  },
59
59
  dateFieldNames: {
60
- ...o.filters.dateFieldNames,
60
+ ...s.filters.dateFieldNames,
61
61
  ...y?.filters?.dateFieldNames
62
62
  }
63
63
  },
64
64
  filterBar: {
65
- ...o.filterBar,
65
+ ...s.filterBar,
66
66
  ...y?.filterBar
67
67
  },
68
- queueEmptyStates: a.reduce((e, t) => ({
68
+ queueEmptyStates: o.reduce((e, t) => ({
69
69
  ...e,
70
70
  [t]: {
71
- ...o.queueEmptyStates[t],
71
+ ...s.queueEmptyStates[t],
72
72
  ...y?.queueEmptyStates?.[t]
73
73
  }
74
74
  }), {})
75
- }), [y]), [ce, O] = g(!1), [le, k] = g(), [A, j] = g(), [M, N] = g(!1), [P, F] = g(), [I, L] = g(!1), [R, z] = g(!1), [B, V] = g(!1), { initResponse: H } = ee(), U = te(), ue = t(H?.scopes, [n.PayableReadOrg]), de = t(H?.scopes, [n.PayableWriteOrg]), W = !H || ue, G = !H || de, fe = p((e, t) => {
76
- if (t && G) {
77
- k(e), j(void 0), N(!0);
75
+ }), [y]), [le, D] = g(!1), [ue, O] = g(), [k, A] = g(), [j, M] = g(!1), [N, P] = g(), [F, I] = g(!1), [L, R] = g(!1), [z, B] = g(!1), { initResponse: V } = r(), H = i(), de = t(V?.scopes, [n.PayableReadOrg]), fe = t(V?.scopes, [n.PayableWriteOrg]), U = !V || de, W = !V || fe, pe = p((e, t) => {
76
+ if (t && W) {
77
+ O(e), A(void 0), M(!0);
78
78
  return;
79
79
  }
80
- F(e), z(!0);
81
- }, [G]), pe = t(H?.scopes, [n.CounterpartReadOrg]), K = s({
82
- enabled: W,
83
- canReadVendors: pe,
84
- isVendorFilterPaused: U,
85
- filterLabels: D.filters,
86
- onOpenBill: fe,
87
- duplicateRowNote: D.duplicateRowNote,
88
- attachmentLabel: D.attachmentIndicator,
89
- scheduledRelativeDayLabels: D.scheduledRelativeDay
90
- }), q = ne({ enabled: W }), me = u(q, D), J = oe({ enabled: W }), he = h(() => a.map((e) => ({
80
+ P(e), R(!0);
81
+ }, [W]), me = t(V?.scopes, [n.CounterpartReadOrg]), { mailboxAddress: G } = ee({ relatedObjectType: "payable" }), K = c({
82
+ enabled: U,
83
+ canReadVendors: me,
84
+ isVendorFilterPaused: H,
85
+ filterLabels: E.filters,
86
+ onOpenBill: pe,
87
+ duplicateRowNote: E.duplicateRowNote,
88
+ attachmentLabel: E.attachmentIndicator,
89
+ scheduledRelativeDayLabels: E.scheduledRelativeDay
90
+ }), q = te({ enabled: U }), he = d(q, E), J = se({ enabled: U }), ge = h(() => o.map((e) => ({
91
91
  id: e,
92
- label: D.queues[e],
93
- badge: c(J[e])
94
- })), [D.queues, J]), ge = (e) => {
95
- V(!1), F(e), z(!0);
96
- }, _e = () => {
97
- L(!1), z(!0);
92
+ label: E.queues[e],
93
+ badge: l(J[e])
94
+ })), [E.queues, J]), _e = (e) => {
95
+ B(!1), P(e), R(!0);
98
96
  }, ve = () => {
99
- z(!1), L(!0);
97
+ I(!1), R(!0);
98
+ }, ye = () => {
99
+ R(!1), I(!0);
100
100
  }, Y = () => {
101
- L(!1), z(!1), k(P), j(void 0), N(!0);
102
- }, ye = h(() => ({
103
- createButton: D.createButton,
104
- settingsButton: D.settingsButton,
105
- addBill: { heading: D.nonEmptyHeading }
101
+ I(!1), R(!1), O(N), A(void 0), M(!0);
102
+ }, be = h(() => ({
103
+ createButton: E.createButton,
104
+ settingsButton: E.settingsButton,
105
+ addBill: { heading: E.nonEmptyHeading }
106
106
  }), [
107
- D.createButton,
108
- D.settingsButton,
109
- D.nonEmptyHeading
110
- ]), be = h(() => ({
107
+ E.createButton,
108
+ E.settingsButton,
109
+ E.nonEmptyHeading
110
+ ]), xe = h(() => ({
111
111
  ...K.filterBarProps,
112
- labels: D.filterBar
113
- }), [K.filterBarProps, D.filterBar]), X = p((e) => {
114
- O(!1), k(void 0), j(e), N(!0);
112
+ labels: E.filterBar
113
+ }), [K.filterBarProps, E.filterBar]), X = p((e) => {
114
+ D(!1), O(void 0), A(e), M(!0);
115
115
  }, []), Z = (e) => {
116
- O(!1), b?.(e);
117
- }, Q = async () => {
118
- await l(v) ? e.success(D.emailCopiedToast) : e.error(D.emailCopyFailedToast);
116
+ D(!1), b?.(e);
117
+ }, Q = G ? {
118
+ emailAddress: G,
119
+ onCopyEmail: async () => {
120
+ G && (await u(G) ? e.success(E.emailCopiedToast) : e.error(E.emailCopyFailedToast));
121
+ }
122
+ } : {
123
+ emailAddress: void 0,
124
+ onCopyEmail: void 0
119
125
  };
120
126
  m(() => {
121
- x && (k(x), j(void 0), N(!0), S?.());
127
+ x && (O(x), A(void 0), M(!0), S?.());
122
128
  }, [S, x]);
123
129
  let { showVendorBills: $ } = K;
124
130
  return m(() => {
125
- C && (C.action === "createBill" ? G && X(C.vendorId) : $({
131
+ C && (C.action === "createBill" ? W && X(C.vendorId) : $({
126
132
  id: C.vendorId,
127
133
  name: C.vendorName
128
134
  }), w?.());
129
135
  }, [
130
- G,
136
+ W,
131
137
  w,
132
138
  X,
133
139
  $,
134
140
  C
135
- ]), /* @__PURE__ */ se("div", {
136
- "data-testid": d.root,
141
+ ]), /* @__PURE__ */ v("div", {
142
+ "data-testid": f.root,
137
143
  children: [
138
144
  /* @__PURE__ */ _(re, {
139
145
  rows: K.rows,
140
- isLoading: K.isLoading || !H,
146
+ isLoading: K.isLoading || !V,
141
147
  isError: K.isError,
142
148
  onRetry: K.onRetry,
143
149
  sorting: K.sorting,
@@ -148,67 +154,65 @@ function y({ labels: y, onEnqueueFiles: b, openPayableId: x, onOpenPayableHandle
148
154
  hasPrevPage: K.hasPrevPage,
149
155
  onNextPage: K.onNextPage,
150
156
  onPrevPage: K.onPrevPage,
151
- filterTabs: he,
157
+ filterTabs: ge,
152
158
  selectedFilterTabId: K.selectedFilterTabId,
153
159
  onFilterTabChange: K.onFilterTabChange,
154
160
  searchValue: K.searchValue,
155
161
  onSearchChange: K.onSearchChange,
156
- filters: be,
162
+ filters: xe,
157
163
  visibleColumns: K.visibleColumns,
158
- cellTestIds: f,
164
+ cellTestIds: oe,
159
165
  isSearchActive: K.isSearchActive,
160
166
  showAddPanelWhenEmpty: K.showAddPanelWhenEmpty,
161
- emptyState: D.queueEmptyStates[K.selectedFilterTabId],
162
- onCreateClick: G ? () => O(!0) : void 0,
163
- onSettingsClick: E,
164
- onEnterManually: G ? () => X() : void 0,
165
- onFilesSelected: G ? Z : void 0,
167
+ emptyState: E.queueEmptyStates[K.selectedFilterTabId],
168
+ onCreateClick: W ? () => D(!0) : void 0,
169
+ onSettingsClick: ce,
170
+ onEnterManually: W ? () => X() : void 0,
171
+ onFilesSelected: W ? Z : void 0,
166
172
  maxFiles: 10,
167
- emailAddress: v,
168
- onCopyEmail: Q,
169
- duplicateWarning: me,
170
- onReviewDuplicates: q.isError ? void 0 : () => V(!0),
171
- labels: ye
173
+ ...Q,
174
+ duplicateWarning: he,
175
+ onReviewDuplicates: q.isError ? void 0 : () => B(!0),
176
+ labels: be
172
177
  }),
173
- B ? /* @__PURE__ */ _(ie, {
174
- open: B,
175
- onOpenChange: V,
176
- enabled: W,
177
- canManageDuplicates: G,
178
- onOpenBill: ge
178
+ z ? /* @__PURE__ */ _(ie, {
179
+ open: z,
180
+ onOpenChange: B,
181
+ enabled: U,
182
+ canManageDuplicates: W,
183
+ onOpenBill: _e
179
184
  }) : null,
180
- G ? /* @__PURE__ */ _(r, {
181
- open: ce,
182
- onOpenChange: O,
185
+ W ? /* @__PURE__ */ _(ne, {
186
+ open: le,
187
+ onOpenChange: D,
183
188
  onFilesSelected: Z,
184
189
  maxFiles: 10,
185
190
  onEnterManually: () => X(),
186
- emailAddress: v,
187
- onCopyEmail: Q,
188
- labels: { heading: K.hasAnyBills ? D.nonEmptyHeading : D.emptyHeading }
191
+ ...Q,
192
+ labels: { heading: K.hasAnyBills ? E.nonEmptyHeading : E.emptyHeading }
189
193
  }) : null,
190
- M ? /* @__PURE__ */ _(i, {
191
- open: M,
192
- onOpenChange: N,
193
- payableId: le,
194
- initialCounterpartId: A
194
+ j ? /* @__PURE__ */ _(a, {
195
+ open: j,
196
+ onOpenChange: M,
197
+ payableId: ue,
198
+ initialCounterpartId: k
195
199
  }) : null,
196
- I ? /* @__PURE__ */ _(ae, {
197
- open: I,
198
- onOpenChange: L,
199
- payableId: P,
200
- onClose: () => L(!1),
201
- onExpand: _e,
200
+ F ? /* @__PURE__ */ _(ae, {
201
+ open: F,
202
+ onOpenChange: I,
203
+ payableId: N,
204
+ onClose: () => I(!1),
205
+ onExpand: ve,
202
206
  onEdit: Y,
203
- testId: d.detailsSheet,
207
+ testId: f.detailsSheet,
204
208
  poweredByBankName: T
205
209
  }) : null,
206
- R ? /* @__PURE__ */ _(i, {
207
- open: R,
208
- onOpenChange: z,
209
- payableId: P,
210
+ L ? /* @__PURE__ */ _(a, {
211
+ open: L,
212
+ onOpenChange: R,
213
+ payableId: N,
210
214
  readOnly: !0,
211
- onCollapse: ve,
215
+ onCollapse: ye,
212
216
  onEdit: Y,
213
217
  poweredByBankName: T
214
218
  }) : null
@@ -93,28 +93,30 @@ function d({ open: d, onClose: f, emailAddress: p, onFilesSelected: m, isUploadi
93
93
  })
94
94
  ]
95
95
  }),
96
- /* @__PURE__ */ a("p", {
97
- className: "ttw:text-sm ttw:font-medium ttw:text-primary ttw:mb-1",
98
- children: t.OrSendViaEmail
99
- }),
100
- /* @__PURE__ */ a("p", {
101
- className: "ttw:text-xs ttw:text-muted-foreground ttw:mb-3",
102
- children: t.EmailDescription
103
- }),
104
- /* @__PURE__ */ o("div", {
105
- className: "ttw:flex ttw:items-center ttw:justify-between ttw:border ttw:border-border ttw:rounded-lg ttw:px-3 ttw:py-2.5",
106
- children: [/* @__PURE__ */ a("span", {
107
- className: "ttw:text-sm ttw:text-foreground",
108
- children: p
109
- }), /* @__PURE__ */ o(e, {
110
- type: "button",
111
- variant: "ghost",
112
- size: "sm",
113
- className: "ttw:flex ttw:items-center ttw:gap-1.5 ttw:text-primary ttw:text-sm ttw:font-medium ttw:transition-colors",
114
- onClick: () => navigator.clipboard.writeText(p).catch(() => void 0),
115
- children: [/* @__PURE__ */ a(c, { size: 14 }), t.CopyButton]
116
- })]
117
- }),
96
+ p ? /* @__PURE__ */ o(i, { children: [
97
+ /* @__PURE__ */ a("p", {
98
+ className: "ttw:text-sm ttw:font-medium ttw:text-primary ttw:mb-1",
99
+ children: t.OrSendViaEmail
100
+ }),
101
+ /* @__PURE__ */ a("p", {
102
+ className: "ttw:text-xs ttw:text-muted-foreground ttw:mb-3",
103
+ children: t.EmailDescription
104
+ }),
105
+ /* @__PURE__ */ o("div", {
106
+ className: "ttw:flex ttw:items-center ttw:justify-between ttw:border ttw:border-border ttw:rounded-lg ttw:px-3 ttw:py-2.5",
107
+ children: [/* @__PURE__ */ a("span", {
108
+ className: "ttw:text-sm ttw:text-foreground",
109
+ children: p
110
+ }), /* @__PURE__ */ o(e, {
111
+ type: "button",
112
+ variant: "ghost",
113
+ size: "sm",
114
+ className: "ttw:flex ttw:items-center ttw:gap-1.5 ttw:text-primary ttw:text-sm ttw:font-medium ttw:transition-colors",
115
+ onClick: () => navigator.clipboard.writeText(p).catch(() => void 0),
116
+ children: [/* @__PURE__ */ a(c, { size: 14 }), t.CopyButton]
117
+ })]
118
+ })
119
+ ] }) : null,
118
120
  /* @__PURE__ */ a("input", {
119
121
  ref: g,
120
122
  type: "file",
@@ -15,27 +15,28 @@ import { fetchWidgetInit as dr } from "./lib/fetchWidgetInit.js";
15
15
  import { hasAnyScope as fr } from "./lib/hasAnyScope.js";
16
16
  import "./lib/queryKeys.js";
17
17
  import { useCurrentUserQuery as pr } from "./lib/useCurrentUserQuery.js";
18
+ import { useMailboxAddress as mr } from "./lib/useMailboxAddress.js";
18
19
  import "./lib/apiErrorStatus.js";
19
- import { isApiConflictError as mr } from "./lib/isApiConflictError.js";
20
- import { isApiForbiddenError as hr } from "./lib/isApiForbiddenError.js";
21
- import { isApiNotFoundError as gr } from "./lib/isApiNotFoundError.js";
22
- import { isApiUnprocessableError as _r } from "./lib/isApiUnprocessableError.js";
20
+ import { isApiConflictError as hr } from "./lib/isApiConflictError.js";
21
+ import { isApiForbiddenError as gr } from "./lib/isApiForbiddenError.js";
22
+ import { isApiNotFoundError as _r } from "./lib/isApiNotFoundError.js";
23
+ import { isApiUnprocessableError as vr } from "./lib/isApiUnprocessableError.js";
23
24
  import "./lib/isUserDataNotFoundError.js";
24
- import { useGetUserDataQuery as vr } from "./lib/useGetUserDataQuery.js";
25
- import { useUpsertUserDataMutation as yr } from "./lib/useUpsertUserDataMutation.js";
25
+ import { useGetUserDataQuery as yr } from "./lib/useGetUserDataQuery.js";
26
+ import { useUpsertUserDataMutation as br } from "./lib/useUpsertUserDataMutation.js";
26
27
  import "./lib/rest/zod.gen.js";
27
- import { Scope as br, isScope as xr } from "./lib/scopes.js";
28
- import { getAllPagesNextPageParam as Sr, getAllPagesNextPaginationTokenParam as Cr, isAllPagesResolving as wr, useAutoFetchNextPage as Tr } from "./lib/allPages.js";
29
- import { useAllBankAccountsQuery as Er } from "./lib/bank-account/useAllBankAccountsQuery.js";
30
- import { useAllExternalBankAccountsQuery as Dr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
31
- import { useAllMerchantCategoryGroupsQuery as Or } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
32
- import { useAllLedgerAccountsQuery as kr, useLedgerAccountsQuery as Ar } from "./lib/reference-data/useLedgerAccountsQuery.js";
33
- import { usePaymentTermsQuery as jr } from "./lib/reference-data/usePaymentTermsQuery.js";
34
- import { useAllOrganizationRolesQuery as Mr } from "./lib/role/useAllOrganizationRolesQuery.js";
35
- import { useRolePermissionsQueries as Nr } from "./lib/role/useRolePermissionsQueries.js";
36
- import { useAllOrganizationUsersQuery as Pr } from "./lib/user/useAllOrganizationUsersQuery.js";
37
- import { useAcceptWidgetDisclosures as Fr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
38
- import { useDisclosuresQuery as Ir } from "./lib/disclosures/useDisclosuresQuery.js";
39
- import { OnboardingSuppressionReason as Lr } from "./lib/onboardingSuppressionReason.js";
40
- import { useOrganizationOnboardingSuppression as Rr } from "./lib/useOrganizationOnboardingSuppression.js";
41
- export { sr as EmbedApiProvider, Lr as OnboardingSuppressionReason, br as Scope, ke as activateCreditCardMutation, Ae as activateDebitCardMutation, Yn as applicationStatusInvalidationKey, Xn as applicationStatusQueryOptions, or as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Qn as cancelAllClients, ir as cloneEmbeddedClient, je as connectExternalBankAccountMutation, Me as createAchMoneyMovementMutation, Ne as createApplicationMutation, Pe as createBankAccountMutation, Fe as createBookTransferMutation, Ie as createCheckDepositMutation, Zn as createClientSecretInstaller, Le as createDebitCardMutation, r as createDepartment, ar as createEmbeddedClient, i as createLocation, a as createUser, Re as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ze as deleteApprovalPoliciesIdMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Be as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ve as deleteReceiptsIdMutation, h as deleteReceivablesId, He as disableUserMutation, g as downloadBankAccountTransactions, dr as fetchWidgetInit, Sr as getAllPagesNextPageParam, Cr as getAllPagesNextPaginationTokenParam, Ue as getAnalyticsPayablesOptions, We as getAnalyticsPayablesQueryKey, Ge as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, Ke as getApprovalPoliciesOptions, qe as getApprovalPoliciesQueryKey, y as getApprovalRequests, Je as getApprovalRequestsOptions, Ye as getApprovalRequestsQueryKey, b as getBankAccountAccess, Xe as getBankAccountAccessQueryKey, Ze as getBankAccountApplicationOptions, Qe as getBankAccountOptions, $e as getBankAccountQueryKey, x as getBankAccountStatement, et as getBankAccountStatementsOptions, tt as getBankAccountTransactionsOptions, nt as getBankAccountTransactionsQueryKey, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, S as getCounterparts, ot as getCounterpartsIdAddressesOptions, st as getCounterpartsIdAddressesQueryKey, ct as getCounterpartsIdBankAccountsOptions, lt as getCounterpartsIdBankAccountsQueryKey, ut as getCounterpartsIdOptions, dt as getCounterpartsIdQueryKey, ft as getCounterpartsOptions, pt as getCounterpartsQueryKey, mt as getCreditCardByIdOptions, ht as getCreditCardByIdQueryKey, gt as getCreditCardsOptions, _t as getCreditCardsQueryKey, vt as getDebitCardByIdOptions, yt as getDebitCardByIdQueryKey, bt as getDebitCardCredentialsOptions, xt as getDebitCardsOptions, St as getDebitCardsQueryKey, C as getDepartment, Ct as getDepartmentOptions, wt as getDepartmentQueryKey, w as getDepositableBankAccounts, Tt as getDepositableBankAccountsOptions, Et as getDocumentsIdNextNumbersOptions, Dt as getDocumentsIdNextNumbersQueryKey, Ot as getEntitiesIdSettingsOptions, kt as getEntitiesIdSettingsQueryKey, At as getEntityUsersMyEntityOptions, jt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Mt as getExternalBankAccountAccessQueryKey, Nt as getExternalBankAccountsOptions, Pt as getExternalBankAccountsQueryKey, Ft as getLedgerAccountsQueryKey, E as getLocation, It as getLocationOptions, Lt as getLocationQueryKey, Rt as getMeasureUnitsOptions, zt as getMeasureUnitsQueryKey, Bt as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Vt as getPayablesIdHistoryOptions, Ht as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Ut as getPayablesIdLineItemsOptions, Wt as getPayablesIdLineItemsQueryKey, Gt as getPayablesIdOptions, Kt as getPayablesIdQueryKey, qt as getPayablesIdSuggestionsOptions, Jt as getPayablesOptions, Yt as getPayablesQueryKey, j as getPaymentRecords, Xt as getPaymentRecordsOptions, Zt as getPaymentRecordsQueryKey, Qt as getProductsIdOptions, $t as getProductsIdQueryKey, en as getProductsOptions, tn as getProductsQueryKey, nn as getReceiptsIdQueryKey, rn as getReceiptsOptions, an as getReceiptsQueryKey, M as getReceivables, on as getReceivablesIdHistoryOptions, sn as getReceivablesIdHistoryQueryKey, cn as getReceivablesIdMailsOptions, ln as getReceivablesIdMailsQueryKey, un as getReceivablesIdOptions, dn as getReceivablesIdPdfLinkOptions, fn as getReceivablesIdPdfLinkQueryKey, pn as getReceivablesIdQueryKey, mn as getReceivablesOptions, hn as getReceivablesQueryKey, gn as getTransactionsIdQueryKey, _n as getTransactionsOptions, vn as getTransactionsQueryKey, yn as getTransactionsValidationsOptions, bn as getTransactionsValidationsQueryKey, N as getUsers, xn as getUsersOptions, Sn as getUsersQueryKey, Cn as getVelocityControlsQueryKey, wn as grantBankAccountAccessMutation, Tn as grantExternalBankAccountAccessMutation, fr as hasAnyScope, $n as invalidateAllClients, wr as isAllPagesResolving, mr as isApiConflictError, hr as isApiForbiddenError, gr as isApiNotFoundError, _r as isApiUnprocessableError, xr as isScope, En as linkExternalBankAccountMutation, P as listDepartments, Dn as listDepartmentsOptions, On as listDepartmentsQueryKey, F as listLocations, kn as listLocationsOptions, An as listLocationsQueryKey, I as listRoles, jn as listRolesQueryKey, L as manageBankAccountAccess, Mn as manageDebitCardAccessMutation, lr as optionalOrganizationHeaders, ur as organizationHeaders, Nn as patchApprovalPoliciesIdMutation, R as patchCounterpartsId, z as patchCounterpartsIdAddressesId, B as patchCounterpartsIdBankAccountsId, V as patchEntitiesIdSettings, Pn as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, Fn as patchReceiptsIdMutation, G as patchReceivablesId, In as postApprovalPoliciesMutation, K as postApprovalRequestsIdApprove, q as postApprovalRequestsIdReject, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, Ln as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdApprovePaymentOperation, te as postPayablesIdAttachFile, ne as postPayablesIdCancel, re as postPayablesIdDuplicatesIdConfirm, ie as postPayablesIdDuplicatesIdDismiss, ae as postPayablesIdMarkAsPaid, oe as postPayablesIdReject, se as postPayablesIdReopen, ce as postPayablesIdSchedulePayment, le as postPayablesIdSubmitForApproval, ue as postPayablesIdValidate, de as postPayablesUploadFromFile, fe as postPaymentIntentsIdCancel, pe as postProducts, me as postReceivables, he as postReceivablesIdAccept, ge as postReceivablesIdCancel, _e as postReceivablesIdClone, ve as postReceivablesIdDecline, ye as postReceivablesIdIssue, be as postReceivablesIdMarkAsPaid, xe as postReceivablesIdMarkAsPartiallyPaid, Se as postReceivablesIdMarkAsUncollectible, Ce as postReceivablesIdSend, we as putEntitiesIdLogo, Te as putPayablesIdLineItems, Rn as putTransactionsValidationsMutation, er as registerQueryClient, tr as removeInactiveFromAllClients, nr as setAllClientsQueriesData, zn as setDebitCardLockStatusMutation, Bn as submitApplicationMutation, Vn as unlinkExternalBankAccountMutation, rr as unregisterQueryClient, Hn as updateApplicationMutation, Un as updateBankAccountMutation, Wn as updateDebitCardMutation, Ee as updateDepartment, Gn as updateExternalBankAccountMutation, De as updateLocation, Oe as updateUser, Fr as useAcceptWidgetDisclosures, Er as useAllBankAccountsQuery, Dr as useAllExternalBankAccountsQuery, kr as useAllLedgerAccountsQuery, Or as useAllMerchantCategoryGroupsQuery, Mr as useAllOrganizationRolesQuery, Pr as useAllOrganizationUsersQuery, Tr as useAutoFetchNextPage, pr as useCurrentUserQuery, Ir as useDisclosuresQuery, cr as useEmbedApi, vr as useGetUserDataQuery, Ar as useLedgerAccountsQuery, Rr as useOrganizationOnboardingSuppression, jr as usePaymentTermsQuery, Nr as useRolePermissionsQueries, yr as useUpsertUserDataMutation, Kn as validateExternalBankAccountMutation, qn as verifyDebitCardMutation, Jn as withAuthEpoch };
28
+ import { Scope as xr, isScope as Sr } from "./lib/scopes.js";
29
+ import { getAllPagesNextPageParam as Cr, getAllPagesNextPaginationTokenParam as wr, isAllPagesResolving as Tr, useAutoFetchNextPage as Er } from "./lib/allPages.js";
30
+ import { useAllBankAccountsQuery as Dr } from "./lib/bank-account/useAllBankAccountsQuery.js";
31
+ import { useAllExternalBankAccountsQuery as Or } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
32
+ import { useAllMerchantCategoryGroupsQuery as kr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
33
+ import { useAllLedgerAccountsQuery as Ar, useLedgerAccountsQuery as jr } from "./lib/reference-data/useLedgerAccountsQuery.js";
34
+ import { usePaymentTermsQuery as Mr } from "./lib/reference-data/usePaymentTermsQuery.js";
35
+ import { useAllOrganizationRolesQuery as Nr } from "./lib/role/useAllOrganizationRolesQuery.js";
36
+ import { useRolePermissionsQueries as Pr } from "./lib/role/useRolePermissionsQueries.js";
37
+ import { useAllOrganizationUsersQuery as Fr } from "./lib/user/useAllOrganizationUsersQuery.js";
38
+ import { useAcceptWidgetDisclosures as Ir } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
39
+ import { useDisclosuresQuery as Lr } from "./lib/disclosures/useDisclosuresQuery.js";
40
+ import { OnboardingSuppressionReason as Rr } from "./lib/onboardingSuppressionReason.js";
41
+ import { useOrganizationOnboardingSuppression as zr } from "./lib/useOrganizationOnboardingSuppression.js";
42
+ export { sr as EmbedApiProvider, Rr as OnboardingSuppressionReason, xr as Scope, ke as activateCreditCardMutation, Ae as activateDebitCardMutation, Yn as applicationStatusInvalidationKey, Xn as applicationStatusQueryOptions, or as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Qn as cancelAllClients, ir as cloneEmbeddedClient, je as connectExternalBankAccountMutation, Me as createAchMoneyMovementMutation, Ne as createApplicationMutation, Pe as createBankAccountMutation, Fe as createBookTransferMutation, Ie as createCheckDepositMutation, Zn as createClientSecretInstaller, Le as createDebitCardMutation, r as createDepartment, ar as createEmbeddedClient, i as createLocation, a as createUser, Re as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ze as deleteApprovalPoliciesIdMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Be as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ve as deleteReceiptsIdMutation, h as deleteReceivablesId, He as disableUserMutation, g as downloadBankAccountTransactions, dr as fetchWidgetInit, Cr as getAllPagesNextPageParam, wr as getAllPagesNextPaginationTokenParam, Ue as getAnalyticsPayablesOptions, We as getAnalyticsPayablesQueryKey, Ge as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, Ke as getApprovalPoliciesOptions, qe as getApprovalPoliciesQueryKey, y as getApprovalRequests, Je as getApprovalRequestsOptions, Ye as getApprovalRequestsQueryKey, b as getBankAccountAccess, Xe as getBankAccountAccessQueryKey, Ze as getBankAccountApplicationOptions, Qe as getBankAccountOptions, $e as getBankAccountQueryKey, x as getBankAccountStatement, et as getBankAccountStatementsOptions, tt as getBankAccountTransactionsOptions, nt as getBankAccountTransactionsQueryKey, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, S as getCounterparts, ot as getCounterpartsIdAddressesOptions, st as getCounterpartsIdAddressesQueryKey, ct as getCounterpartsIdBankAccountsOptions, lt as getCounterpartsIdBankAccountsQueryKey, ut as getCounterpartsIdOptions, dt as getCounterpartsIdQueryKey, ft as getCounterpartsOptions, pt as getCounterpartsQueryKey, mt as getCreditCardByIdOptions, ht as getCreditCardByIdQueryKey, gt as getCreditCardsOptions, _t as getCreditCardsQueryKey, vt as getDebitCardByIdOptions, yt as getDebitCardByIdQueryKey, bt as getDebitCardCredentialsOptions, xt as getDebitCardsOptions, St as getDebitCardsQueryKey, C as getDepartment, Ct as getDepartmentOptions, wt as getDepartmentQueryKey, w as getDepositableBankAccounts, Tt as getDepositableBankAccountsOptions, Et as getDocumentsIdNextNumbersOptions, Dt as getDocumentsIdNextNumbersQueryKey, Ot as getEntitiesIdSettingsOptions, kt as getEntitiesIdSettingsQueryKey, At as getEntityUsersMyEntityOptions, jt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Mt as getExternalBankAccountAccessQueryKey, Nt as getExternalBankAccountsOptions, Pt as getExternalBankAccountsQueryKey, Ft as getLedgerAccountsQueryKey, E as getLocation, It as getLocationOptions, Lt as getLocationQueryKey, Rt as getMeasureUnitsOptions, zt as getMeasureUnitsQueryKey, Bt as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Vt as getPayablesIdHistoryOptions, Ht as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Ut as getPayablesIdLineItemsOptions, Wt as getPayablesIdLineItemsQueryKey, Gt as getPayablesIdOptions, Kt as getPayablesIdQueryKey, qt as getPayablesIdSuggestionsOptions, Jt as getPayablesOptions, Yt as getPayablesQueryKey, j as getPaymentRecords, Xt as getPaymentRecordsOptions, Zt as getPaymentRecordsQueryKey, Qt as getProductsIdOptions, $t as getProductsIdQueryKey, en as getProductsOptions, tn as getProductsQueryKey, nn as getReceiptsIdQueryKey, rn as getReceiptsOptions, an as getReceiptsQueryKey, M as getReceivables, on as getReceivablesIdHistoryOptions, sn as getReceivablesIdHistoryQueryKey, cn as getReceivablesIdMailsOptions, ln as getReceivablesIdMailsQueryKey, un as getReceivablesIdOptions, dn as getReceivablesIdPdfLinkOptions, fn as getReceivablesIdPdfLinkQueryKey, pn as getReceivablesIdQueryKey, mn as getReceivablesOptions, hn as getReceivablesQueryKey, gn as getTransactionsIdQueryKey, _n as getTransactionsOptions, vn as getTransactionsQueryKey, yn as getTransactionsValidationsOptions, bn as getTransactionsValidationsQueryKey, N as getUsers, xn as getUsersOptions, Sn as getUsersQueryKey, Cn as getVelocityControlsQueryKey, wn as grantBankAccountAccessMutation, Tn as grantExternalBankAccountAccessMutation, fr as hasAnyScope, $n as invalidateAllClients, Tr as isAllPagesResolving, hr as isApiConflictError, gr as isApiForbiddenError, _r as isApiNotFoundError, vr as isApiUnprocessableError, Sr as isScope, En as linkExternalBankAccountMutation, P as listDepartments, Dn as listDepartmentsOptions, On as listDepartmentsQueryKey, F as listLocations, kn as listLocationsOptions, An as listLocationsQueryKey, I as listRoles, jn as listRolesQueryKey, L as manageBankAccountAccess, Mn as manageDebitCardAccessMutation, lr as optionalOrganizationHeaders, ur as organizationHeaders, Nn as patchApprovalPoliciesIdMutation, R as patchCounterpartsId, z as patchCounterpartsIdAddressesId, B as patchCounterpartsIdBankAccountsId, V as patchEntitiesIdSettings, Pn as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, Fn as patchReceiptsIdMutation, G as patchReceivablesId, In as postApprovalPoliciesMutation, K as postApprovalRequestsIdApprove, q as postApprovalRequestsIdReject, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, Ln as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdApprovePaymentOperation, te as postPayablesIdAttachFile, ne as postPayablesIdCancel, re as postPayablesIdDuplicatesIdConfirm, ie as postPayablesIdDuplicatesIdDismiss, ae as postPayablesIdMarkAsPaid, oe as postPayablesIdReject, se as postPayablesIdReopen, ce as postPayablesIdSchedulePayment, le as postPayablesIdSubmitForApproval, ue as postPayablesIdValidate, de as postPayablesUploadFromFile, fe as postPaymentIntentsIdCancel, pe as postProducts, me as postReceivables, he as postReceivablesIdAccept, ge as postReceivablesIdCancel, _e as postReceivablesIdClone, ve as postReceivablesIdDecline, ye as postReceivablesIdIssue, be as postReceivablesIdMarkAsPaid, xe as postReceivablesIdMarkAsPartiallyPaid, Se as postReceivablesIdMarkAsUncollectible, Ce as postReceivablesIdSend, we as putEntitiesIdLogo, Te as putPayablesIdLineItems, Rn as putTransactionsValidationsMutation, er as registerQueryClient, tr as removeInactiveFromAllClients, nr as setAllClientsQueriesData, zn as setDebitCardLockStatusMutation, Bn as submitApplicationMutation, Vn as unlinkExternalBankAccountMutation, rr as unregisterQueryClient, Hn as updateApplicationMutation, Un as updateBankAccountMutation, Wn as updateDebitCardMutation, Ee as updateDepartment, Gn as updateExternalBankAccountMutation, De as updateLocation, Oe as updateUser, Ir as useAcceptWidgetDisclosures, Dr as useAllBankAccountsQuery, Or as useAllExternalBankAccountsQuery, Ar as useAllLedgerAccountsQuery, kr as useAllMerchantCategoryGroupsQuery, Nr as useAllOrganizationRolesQuery, Fr as useAllOrganizationUsersQuery, Er as useAutoFetchNextPage, pr as useCurrentUserQuery, Lr as useDisclosuresQuery, cr as useEmbedApi, yr as useGetUserDataQuery, jr as useLedgerAccountsQuery, mr as useMailboxAddress, zr as useOrganizationOnboardingSuppression, Mr as usePaymentTermsQuery, Pr as useRolePermissionsQueries, br as useUpsertUserDataMutation, Kn as validateExternalBankAccountMutation, qn as verifyDebitCardMutation, Jn as withAuthEpoch };