@tesouro/embedded-components-react 0.5.206 → 0.5.207
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 +1 -1
- package/dist/index.d.ts +40 -0
- package/dist/index.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +40 -0
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +84 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +31 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index11.js +151 -187
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +202 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +32 -145
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +145 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +42 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +58 -96
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +96 -47
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +103 -318
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +47 -70
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +350 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +68 -263
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +115 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +285 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +234 -78
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +80 -331
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +344 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +14 -1
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +220 -198
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +124 -84
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tabs as f, TabsList as p, TabsTrigger as m } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { EmptyState as h } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
3
|
+
import { ErrorState as g } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
4
|
+
import "../../../shared/ui/dist/index.js";
|
|
5
|
+
import { RECEIVABLES_SCREEN_LABELS_EN as _ } from "./index3.js";
|
|
6
|
+
import { ReceivableStatusBadge as v } from "./index12.js";
|
|
7
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
8
|
+
import { ArrowDownIcon as x, ArrowUpDownIcon as S, ArrowUpIcon as C, MoreHorizontalIcon as w, PlusIcon as T, SearchIcon as E, SettingsIcon as D } from "lucide-react";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js
|
|
10
|
+
var O = [
|
|
11
|
+
10,
|
|
12
|
+
25,
|
|
13
|
+
50,
|
|
14
|
+
100
|
|
15
|
+
], k = "all";
|
|
16
|
+
function A({ label: t, ariaLabel: n, column: r }) {
|
|
17
|
+
let i = r.getIsSorted();
|
|
18
|
+
return /* @__PURE__ */ b("div", {
|
|
19
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
20
|
+
children: [t, /* @__PURE__ */ y(e, {
|
|
21
|
+
variant: "ghost",
|
|
22
|
+
size: "icon-sm",
|
|
23
|
+
"aria-label": n,
|
|
24
|
+
onClick: () => r.toggleSorting(i === "asc"),
|
|
25
|
+
children: y(i === "asc" ? C : i === "desc" ? x : S, { className: "ttw:size-4" })
|
|
26
|
+
})]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function j({ labels: e, searchValue: t, onSearchChange: n, statusFilter: r, statusOptions: i, onStatusFilterChange: a }) {
|
|
30
|
+
return /* @__PURE__ */ b("div", {
|
|
31
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
|
|
32
|
+
children: [/* @__PURE__ */ b("div", {
|
|
33
|
+
className: "ttw:relative ttw:w-80",
|
|
34
|
+
children: [/* @__PURE__ */ y(E, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ y(o, {
|
|
35
|
+
className: "ttw:pl-9",
|
|
36
|
+
placeholder: e.searchPlaceholder,
|
|
37
|
+
value: t,
|
|
38
|
+
onChange: (e) => n(e.target.value)
|
|
39
|
+
})]
|
|
40
|
+
}), /* @__PURE__ */ b(s, {
|
|
41
|
+
value: r,
|
|
42
|
+
onValueChange: a,
|
|
43
|
+
children: [/* @__PURE__ */ y(u, {
|
|
44
|
+
"aria-label": e.columnStatus,
|
|
45
|
+
className: "ttw:w-48",
|
|
46
|
+
children: /* @__PURE__ */ y(d, {})
|
|
47
|
+
}), /* @__PURE__ */ b(c, { children: [/* @__PURE__ */ y(l, {
|
|
48
|
+
value: k,
|
|
49
|
+
children: e.statusFilterAll
|
|
50
|
+
}), i.map((t) => /* @__PURE__ */ y(l, {
|
|
51
|
+
value: t.value,
|
|
52
|
+
children: N(t, e.statusBadge)
|
|
53
|
+
}, t.value))] })]
|
|
54
|
+
})]
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function M({ enabled: e, label: t, action: n, row: r, onActionClick: a, variant: o }) {
|
|
58
|
+
return e ? /* @__PURE__ */ y(i, {
|
|
59
|
+
variant: o,
|
|
60
|
+
onClick: (e) => {
|
|
61
|
+
e.stopPropagation(), a(n, r);
|
|
62
|
+
},
|
|
63
|
+
children: t
|
|
64
|
+
}) : null;
|
|
65
|
+
}
|
|
66
|
+
function N(e, t) {
|
|
67
|
+
return t[e.value] ?? e.label;
|
|
68
|
+
}
|
|
69
|
+
function P({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l, isError: u, sorting: d, onSortingChange: x, pageSize: S, onPageSizeChange: C, pageSizeOptions: E = O, pageInfo: k, hasNextPage: N, hasPrevPage: P, onNextPage: F, onPrevPage: I, searchValue: L, onSearchChange: R, statusFilter: z, statusOptions: B, onStatusFilterChange: V, isFiltering: H, onCreateClick: U, onTemplateSettingsClick: W, onRowClick: G, onActionClick: K, onRetry: q, labels: J }) {
|
|
70
|
+
let Y = {
|
|
71
|
+
..._,
|
|
72
|
+
...J,
|
|
73
|
+
statusBadge: {
|
|
74
|
+
..._.statusBadge,
|
|
75
|
+
...J?.statusBadge
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
return /* @__PURE__ */ b("div", {
|
|
79
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
80
|
+
children: [/* @__PURE__ */ b("div", {
|
|
81
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
|
|
82
|
+
children: [/* @__PURE__ */ y("div", {
|
|
83
|
+
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
84
|
+
children: /* @__PURE__ */ y(f, {
|
|
85
|
+
value: o,
|
|
86
|
+
onValueChange: (e) => c(e),
|
|
87
|
+
children: /* @__PURE__ */ b(p, { children: [
|
|
88
|
+
s.includes("invoices") && /* @__PURE__ */ y(m, {
|
|
89
|
+
value: "invoices",
|
|
90
|
+
children: Y.tabInvoices
|
|
91
|
+
}),
|
|
92
|
+
s.includes("quotes") && /* @__PURE__ */ y(m, {
|
|
93
|
+
value: "quotes",
|
|
94
|
+
children: Y.tabQuotes
|
|
95
|
+
}),
|
|
96
|
+
s.includes("credit_notes") && /* @__PURE__ */ y(m, {
|
|
97
|
+
value: "credit_notes",
|
|
98
|
+
children: Y.tabCreditNotes
|
|
99
|
+
})
|
|
100
|
+
] })
|
|
101
|
+
})
|
|
102
|
+
}), /* @__PURE__ */ b("div", {
|
|
103
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
104
|
+
children: [W && /* @__PURE__ */ b(e, {
|
|
105
|
+
variant: "outline",
|
|
106
|
+
onClick: W,
|
|
107
|
+
children: [/* @__PURE__ */ y(D, { className: "ttw:size-4" }), Y.templateSettingsButton]
|
|
108
|
+
}), /* @__PURE__ */ b(e, {
|
|
109
|
+
onClick: U,
|
|
110
|
+
children: [/* @__PURE__ */ y(T, { className: "ttw:size-4" }), Y.createButton]
|
|
111
|
+
})]
|
|
112
|
+
})]
|
|
113
|
+
}), u ? /* @__PURE__ */ y(g, {
|
|
114
|
+
title: Y.errorTitle,
|
|
115
|
+
description: Y.errorDescription,
|
|
116
|
+
retryLabel: q ? Y.errorRetry : void 0,
|
|
117
|
+
onRetry: q
|
|
118
|
+
}) : /* @__PURE__ */ y(t, {
|
|
119
|
+
columns: [
|
|
120
|
+
{
|
|
121
|
+
accessorKey: "documentLabel",
|
|
122
|
+
enableSorting: !0,
|
|
123
|
+
header: ({ column: e }) => /* @__PURE__ */ y(A, {
|
|
124
|
+
column: e,
|
|
125
|
+
label: Y.columnDocument,
|
|
126
|
+
ariaLabel: Y.sortByDocument
|
|
127
|
+
}),
|
|
128
|
+
cell: ({ row: e }) => /* @__PURE__ */ b("div", {
|
|
129
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
130
|
+
children: [/* @__PURE__ */ y("span", {
|
|
131
|
+
className: "ttw:font-medium",
|
|
132
|
+
children: e.original.documentLabel
|
|
133
|
+
}), /* @__PURE__ */ y("span", {
|
|
134
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
135
|
+
children: e.original.type === "credit_note" ? Y.tabCreditNotes : e.original.type === "quote" ? Y.tabQuotes : Y.tabInvoices
|
|
136
|
+
})]
|
|
137
|
+
}),
|
|
138
|
+
minSize: 180
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
accessorKey: "customerLabel",
|
|
142
|
+
enableSorting: !0,
|
|
143
|
+
header: ({ column: e }) => /* @__PURE__ */ y(A, {
|
|
144
|
+
column: e,
|
|
145
|
+
label: Y.columnCustomer,
|
|
146
|
+
ariaLabel: Y.sortByCustomer
|
|
147
|
+
}),
|
|
148
|
+
minSize: 180
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
accessorKey: "status",
|
|
152
|
+
header: ({ column: e }) => /* @__PURE__ */ y(A, {
|
|
153
|
+
column: e,
|
|
154
|
+
label: Y.columnStatus,
|
|
155
|
+
ariaLabel: Y.sortByStatus
|
|
156
|
+
}),
|
|
157
|
+
cell: ({ row: e }) => /* @__PURE__ */ y(v, {
|
|
158
|
+
status: e.original.status,
|
|
159
|
+
tone: e.original.statusTone,
|
|
160
|
+
labels: Y.statusBadge
|
|
161
|
+
})
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
accessorKey: "issueDateLabel",
|
|
165
|
+
enableSorting: !0,
|
|
166
|
+
header: ({ column: e }) => /* @__PURE__ */ y(A, {
|
|
167
|
+
column: e,
|
|
168
|
+
label: Y.columnIssueDate,
|
|
169
|
+
ariaLabel: Y.sortByIssueDate
|
|
170
|
+
})
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
accessorKey: "dueDateLabel",
|
|
174
|
+
enableSorting: !0,
|
|
175
|
+
header: ({ column: e }) => /* @__PURE__ */ y(A, {
|
|
176
|
+
column: e,
|
|
177
|
+
label: Y.columnDueDate,
|
|
178
|
+
ariaLabel: Y.sortByDueDate
|
|
179
|
+
})
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
accessorKey: "totalLabel",
|
|
183
|
+
enableSorting: !0,
|
|
184
|
+
header: ({ column: e }) => /* @__PURE__ */ y("div", {
|
|
185
|
+
className: "ttw:flex ttw:justify-end",
|
|
186
|
+
children: /* @__PURE__ */ y(A, {
|
|
187
|
+
column: e,
|
|
188
|
+
label: Y.columnTotal,
|
|
189
|
+
ariaLabel: Y.sortByTotal
|
|
190
|
+
})
|
|
191
|
+
}),
|
|
192
|
+
cell: ({ row: e }) => /* @__PURE__ */ y("div", {
|
|
193
|
+
className: "ttw:text-right",
|
|
194
|
+
children: e.original.totalLabel
|
|
195
|
+
})
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
accessorKey: "amountDueLabel",
|
|
199
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
200
|
+
className: "ttw:text-right",
|
|
201
|
+
children: Y.columnAmountDue
|
|
202
|
+
}),
|
|
203
|
+
cell: ({ row: e }) => /* @__PURE__ */ y("div", {
|
|
204
|
+
className: "ttw:text-right",
|
|
205
|
+
children: e.original.amountDueLabel
|
|
206
|
+
})
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
id: "actions",
|
|
210
|
+
header: () => /* @__PURE__ */ y("span", {
|
|
211
|
+
className: "ttw:sr-only",
|
|
212
|
+
children: Y.columnActions
|
|
213
|
+
}),
|
|
214
|
+
cell: ({ row: t }) => /* @__PURE__ */ y("div", {
|
|
215
|
+
className: "ttw:flex ttw:justify-end",
|
|
216
|
+
children: /* @__PURE__ */ b(n, { children: [/* @__PURE__ */ y(a, {
|
|
217
|
+
asChild: !0,
|
|
218
|
+
children: /* @__PURE__ */ y(e, {
|
|
219
|
+
variant: "ghost",
|
|
220
|
+
size: "icon-sm",
|
|
221
|
+
"aria-label": Y.columnActions,
|
|
222
|
+
onClick: (e) => e.stopPropagation(),
|
|
223
|
+
children: /* @__PURE__ */ y(w, { className: "ttw:size-4" })
|
|
224
|
+
})
|
|
225
|
+
}), /* @__PURE__ */ b(r, {
|
|
226
|
+
align: "end",
|
|
227
|
+
children: [
|
|
228
|
+
/* @__PURE__ */ y(M, {
|
|
229
|
+
enabled: t.original.actions.edit,
|
|
230
|
+
label: Y.actionEdit,
|
|
231
|
+
action: "edit",
|
|
232
|
+
row: t.original,
|
|
233
|
+
onActionClick: K
|
|
234
|
+
}),
|
|
235
|
+
/* @__PURE__ */ y(M, {
|
|
236
|
+
enabled: t.original.actions.issue,
|
|
237
|
+
label: Y.actionIssue,
|
|
238
|
+
action: "issue",
|
|
239
|
+
row: t.original,
|
|
240
|
+
onActionClick: K
|
|
241
|
+
}),
|
|
242
|
+
/* @__PURE__ */ y(M, {
|
|
243
|
+
enabled: t.original.actions.send,
|
|
244
|
+
label: Y.actionSend,
|
|
245
|
+
action: "send",
|
|
246
|
+
row: t.original,
|
|
247
|
+
onActionClick: K
|
|
248
|
+
}),
|
|
249
|
+
/* @__PURE__ */ y(M, {
|
|
250
|
+
enabled: t.original.actions.recordPayment,
|
|
251
|
+
label: Y.actionRecordPayment,
|
|
252
|
+
action: "recordPayment",
|
|
253
|
+
row: t.original,
|
|
254
|
+
onActionClick: K
|
|
255
|
+
}),
|
|
256
|
+
/* @__PURE__ */ y(M, {
|
|
257
|
+
enabled: t.original.actions.markPaid,
|
|
258
|
+
label: Y.actionMarkPaid,
|
|
259
|
+
action: "markPaid",
|
|
260
|
+
row: t.original,
|
|
261
|
+
onActionClick: K
|
|
262
|
+
}),
|
|
263
|
+
/* @__PURE__ */ y(M, {
|
|
264
|
+
enabled: t.original.actions.markUncollectible,
|
|
265
|
+
label: Y.actionMarkUncollectible,
|
|
266
|
+
action: "markUncollectible",
|
|
267
|
+
row: t.original,
|
|
268
|
+
onActionClick: K
|
|
269
|
+
}),
|
|
270
|
+
/* @__PURE__ */ y(M, {
|
|
271
|
+
enabled: t.original.actions.accept,
|
|
272
|
+
label: Y.actionAccept,
|
|
273
|
+
action: "accept",
|
|
274
|
+
row: t.original,
|
|
275
|
+
onActionClick: K
|
|
276
|
+
}),
|
|
277
|
+
/* @__PURE__ */ y(M, {
|
|
278
|
+
enabled: t.original.actions.decline,
|
|
279
|
+
label: Y.actionDecline,
|
|
280
|
+
action: "decline",
|
|
281
|
+
row: t.original,
|
|
282
|
+
onActionClick: K
|
|
283
|
+
}),
|
|
284
|
+
/* @__PURE__ */ y(M, {
|
|
285
|
+
enabled: t.original.actions.cancel,
|
|
286
|
+
label: Y.actionCancel,
|
|
287
|
+
action: "cancel",
|
|
288
|
+
row: t.original,
|
|
289
|
+
onActionClick: K
|
|
290
|
+
}),
|
|
291
|
+
/* @__PURE__ */ y(M, {
|
|
292
|
+
enabled: t.original.actions.clone,
|
|
293
|
+
label: Y.actionClone,
|
|
294
|
+
action: "clone",
|
|
295
|
+
row: t.original,
|
|
296
|
+
onActionClick: K
|
|
297
|
+
}),
|
|
298
|
+
/* @__PURE__ */ y(M, {
|
|
299
|
+
enabled: t.original.actions.delete,
|
|
300
|
+
label: Y.actionDelete,
|
|
301
|
+
action: "delete",
|
|
302
|
+
row: t.original,
|
|
303
|
+
onActionClick: K,
|
|
304
|
+
variant: "destructive"
|
|
305
|
+
})
|
|
306
|
+
]
|
|
307
|
+
})] })
|
|
308
|
+
}),
|
|
309
|
+
size: 72
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
data: i,
|
|
313
|
+
isLoading: l,
|
|
314
|
+
sorting: d,
|
|
315
|
+
onSortingChange: x,
|
|
316
|
+
pageSize: S,
|
|
317
|
+
onPageSizeChange: C,
|
|
318
|
+
pageSizeOptions: E,
|
|
319
|
+
pageInfo: k,
|
|
320
|
+
hasNextPage: N,
|
|
321
|
+
hasPrevPage: P,
|
|
322
|
+
onNextPage: F,
|
|
323
|
+
onPrevPage: I,
|
|
324
|
+
onRowClick: G,
|
|
325
|
+
rowAriaLabel: (e) => Y.openRow(e.documentLabel),
|
|
326
|
+
filterComponent: /* @__PURE__ */ y(j, {
|
|
327
|
+
labels: Y,
|
|
328
|
+
searchValue: L,
|
|
329
|
+
onSearchChange: R,
|
|
330
|
+
statusFilter: z,
|
|
331
|
+
statusOptions: B,
|
|
332
|
+
onStatusFilterChange: V
|
|
333
|
+
}),
|
|
334
|
+
children: /* @__PURE__ */ y(h, {
|
|
335
|
+
title: H ? Y.filterEmptyTitle : Y.emptyTitle,
|
|
336
|
+
description: H ? Y.filterEmptyDescription : Y.emptyDescription,
|
|
337
|
+
actionLabel: H ? void 0 : Y.emptyAction,
|
|
338
|
+
onAction: H ? void 0 : U
|
|
339
|
+
})
|
|
340
|
+
})]
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
//#endregion
|
|
344
|
+
export { P as ReceivablesScreen, P as default };
|
|
@@ -125,7 +125,20 @@ var t = {
|
|
|
125
125
|
attachmentsDescription: "Associate additional documents with this invoice for your own reference or to share with the customer. e.g. contracts, photos, terms and conditions, etc.",
|
|
126
126
|
attachmentsDropPrompt: "Drop your files here, or",
|
|
127
127
|
attachmentsBrowseLink: "browse to upload",
|
|
128
|
-
attachmentsFormatsHint: "PDF, DOC, JPG, PNG (max. 3MB)"
|
|
128
|
+
attachmentsFormatsHint: "PDF, DOC, JPG, PNG (max. 3MB)",
|
|
129
|
+
remindersToggleLabel: "Payment reminders",
|
|
130
|
+
remindersDescription: "Send reminders when an invoice is approaching its due date or past due.",
|
|
131
|
+
remindersLibraryNote: "New reminders will be saved to your organization's library and can be managed via Invoice settings",
|
|
132
|
+
reminderNumberOfDays: "Number of days",
|
|
133
|
+
reminderBefore: "BEFORE",
|
|
134
|
+
reminderAfter: "AFTER",
|
|
135
|
+
reminderDueDate: "due date",
|
|
136
|
+
reminderNone: "No reminder",
|
|
137
|
+
reminderBeforeDueInputLabel: "Days before due date",
|
|
138
|
+
reminderPlaceholder: "e.g., 3",
|
|
139
|
+
reminderAddTermButton: "Add",
|
|
140
|
+
reminderClearButton: "Clear",
|
|
141
|
+
reminderSaveButton: "Save"
|
|
129
142
|
}, i = {
|
|
130
143
|
hiddenDescription: "Receivable details",
|
|
131
144
|
loadingTitle: "Loading...",
|
|
@@ -6,17 +6,17 @@ import { ConfirmDeleteDialog as i } from "../../ui/dist/index14.js";
|
|
|
6
6
|
import "../../ui/dist/index.js";
|
|
7
7
|
import { COUNTERPART_MESSAGE_LABELS_EN as a } from "./lib/labels.js";
|
|
8
8
|
import { buildAnalyticsMap as o, buildCounterpartRows as s, counterpartFormBankAccountToCreatePayload as c, counterpartFormBankAccountToUpdatePayload as l, formatCounterpartDate as u, formatMoney as d, getAchInstructions as f, getCounterpartEmail as p, getCounterpartName as m, getPayableAchInstructions as h, hasSelectedText as g, isAchCompatibleBankAccount as _, resolveCounterpartBankAccountWrite as v, validateAchFormValues as y } from "./lib/helpers.js";
|
|
9
|
-
import {
|
|
10
|
-
import { useCreateCounterpartBankAccountMutation as
|
|
11
|
-
import { useCounterpartAddressesForRowsQuery as
|
|
9
|
+
import { useCounterpartQuery as b, useCounterpartsByIdsQuery as x, useCounterpartsQuery as S } from "../../data-access/dist/index3.js";
|
|
10
|
+
import { useCreateCounterpartBankAccountMutation as C, useUpdateCounterpartBankAccountMutation as w } from "../../data-access/dist/index5.js";
|
|
11
|
+
import { useCounterpartAddressesForRowsQuery as T, useCounterpartAddressesQuery as E } from "../../data-access/dist/index7.js";
|
|
12
12
|
import "../../data-access/dist/index.js";
|
|
13
|
-
import { useAddressForm as
|
|
14
|
-
import { useCounterpartDetails as
|
|
15
|
-
import { usePayableAchInstructions as
|
|
16
|
-
import { useCounterpartForm as
|
|
13
|
+
import { useAddressForm as D } from "./lib/useAddressForm.js";
|
|
14
|
+
import { useCounterpartDetails as O } from "./lib/useCounterpartDetails.js";
|
|
15
|
+
import { usePayableAchInstructions as k } from "./lib/usePayableAchInstructions.js";
|
|
16
|
+
import { useCounterpartForm as A } from "./lib/useCounterpartForm.js";
|
|
17
17
|
import "./lib/useCounterpartSelector.js";
|
|
18
|
-
import { CounterpartSelector as
|
|
19
|
-
import { useDeleteController as
|
|
18
|
+
import { CounterpartSelector as j } from "./lib/CounterpartSelector.js";
|
|
19
|
+
import { useDeleteController as M } from "./lib/useDeleteController.js";
|
|
20
20
|
import "./lib/useSubEntityForm.js";
|
|
21
|
-
import { useBankAccountForm as
|
|
22
|
-
export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet,
|
|
21
|
+
import { useBankAccountForm as N } from "./lib/subEntityForms.js";
|
|
22
|
+
export { r as BankAccountFormSheet, a as COUNTERPART_MESSAGE_LABELS_EN, i as ConfirmDeleteDialog, e as CounterpartFormFields, t as CounterpartFormSheet, j as CounterpartSelector, o as buildAnalyticsMap, s as buildCounterpartRows, c as counterpartFormBankAccountToCreatePayload, l as counterpartFormBankAccountToUpdatePayload, u as formatCounterpartDate, d as formatMoney, f as getAchInstructions, p as getCounterpartEmail, m as getCounterpartName, h as getPayableAchInstructions, g as hasSelectedText, _ as isAchCompatibleBankAccount, v as resolveCounterpartBankAccountWrite, D as useAddressForm, N as useBankAccountForm, T as useCounterpartAddressesForRowsQuery, E as useCounterpartAddressesQuery, O as useCounterpartDetails, A as useCounterpartForm, b as useCounterpartQuery, x as useCounterpartsByIdsQuery, S as useCounterpartsQuery, C as useCreateCounterpartBankAccountMutation, M as useDeleteController, n as useFocusFirstInvalidField, k as usePayableAchInstructions, w as useUpdateCounterpartBankAccountMutation, y as validateAchFormValues };
|
|
@@ -1,45 +1,45 @@
|
|
|
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,
|
|
4
|
-
import { activateCreditCardMutation as
|
|
5
|
-
import { authEpochPlaceholder as
|
|
6
|
-
import { applicationStatusInvalidationKey as
|
|
7
|
-
import { createClientSecretInstaller as
|
|
8
|
-
import { cancelAllClients as
|
|
9
|
-
import { cloneEmbeddedClient as
|
|
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, getEntityUsersMyEntityQueryKey as Qt, getEntityUsersOptions as $t, getExternalBankAccountAccessQueryKey as en, getExternalBankAccountsOptions as tn, getExternalBankAccountsQueryKey as nn, getFilesQueryKey as rn, getLedgerAccountsQueryKey as an, getLocationOptions as on, getLocationQueryKey as sn, getMeasureUnitsOptions as cn, getMeasureUnitsQueryKey as ln, getOrganizationOptions as un, getOverdueRemindersOptions as dn, getOverdueRemindersQueryKey as fn, getPayablesIdHistoryOptions as pn, getPayablesIdHistoryQueryKey as mn, getPayablesIdLineItemsOptions as hn, getPayablesIdLineItemsQueryKey as gn, getPayablesIdOptions as _n, getPayablesIdQueryKey as vn, getPayablesIdSuggestionsOptions as yn, getPayablesOptions as bn, getPayablesQueryKey as xn, getPaymentRecordsOptions as Sn, getPaymentRecordsQueryKey as Cn, getPaymentRemindersOptions as wn, getPaymentRemindersQueryKey as Tn, getProductsIdOptions as En, getProductsIdQueryKey as Dn, getProductsOptions as On, getProductsQueryKey as kn, getReceiptsIdQueryKey as An, getReceiptsOptions as jn, getReceiptsQueryKey as Mn, getReceivablesIdHistoryOptions as Nn, getReceivablesIdHistoryQueryKey as Pn, getReceivablesIdMailsOptions as Fn, getReceivablesIdMailsQueryKey as In, getReceivablesIdOptions as Ln, getReceivablesIdPdfLinkOptions as Rn, getReceivablesIdPdfLinkQueryKey as zn, getReceivablesIdQueryKey as Bn, getReceivablesOptions as Vn, getReceivablesQueryKey as Hn, getTransactionsIdExpenseHistoryOptions as Un, getTransactionsIdExpenseHistoryQueryKey as Wn, getTransactionsIdOptions as Gn, getTransactionsIdQueryKey as Kn, getTransactionsOptions as qn, getTransactionsQueryKey as Jn, getTransactionsValidationsOptions as Yn, getTransactionsValidationsQueryKey as Xn, getUsersOptions as Zn, getUsersQueryKey as Qn, getVelocityControlsQueryKey as $n, grantBankAccountAccessMutation as er, grantExternalBankAccountAccessMutation as tr, linkExternalBankAccountMutation as nr, listDepartmentsOptions as rr, listDepartmentsQueryKey as ir, listLocationsOptions as ar, listLocationsQueryKey as or, listRolesQueryKey as sr, manageDebitCardAccessMutation as cr, patchApprovalPoliciesIdMutation as lr, patchLedgerAccountsIdMutation as ur, patchReceiptsIdMutation as dr, postApprovalPoliciesMutation as fr, postLedgerAccountsMutation as pr, postReceiptsUploadFromFileMutation as mr, putTransactionsValidationsMutation as hr, setDebitCardLockStatusMutation as gr, submitApplicationMutation as _r, unlinkExternalBankAccountMutation as vr, updateApplicationMutation as yr, updateBankAccountMutation as br, updateDebitCardMutation as xr, updateExternalBankAccountMutation as Sr, validateExternalBankAccountMutation as Cr, verifyDebitCardMutation as wr } from "./lib/rest/@tanstack/react-query.gen.js";
|
|
5
|
+
import { authEpochPlaceholder as Tr, withAuthEpoch as Er } from "./lib/withAuthEpoch.js";
|
|
6
|
+
import { applicationStatusInvalidationKey as Dr, applicationStatusQueryOptions as Or } from "./lib/applicationStatusQueryOptions.js";
|
|
7
|
+
import { createClientSecretInstaller as kr } from "./lib/scopedClientSecret.js";
|
|
8
|
+
import { cancelAllClients as Ar, invalidateAllClients as jr, registerQueryClient as Mr, removeInactiveFromAllClients as Nr, setAllClientsQueriesData as Pr, unregisterQueryClient as Fr } from "./lib/clientRegistry.js";
|
|
9
|
+
import { cloneEmbeddedClient as Ir, createEmbeddedClient as Lr } from "./lib/createEmbeddedClient.js";
|
|
10
10
|
import "./lib/widgetGatewayHosts.js";
|
|
11
|
-
import { attachTransportInterceptors as
|
|
12
|
-
import { EmbedApiProvider as
|
|
13
|
-
import { optionalOrganizationHeaders as
|
|
14
|
-
import { fetchWidgetInit as
|
|
15
|
-
import { hasAnyScope as
|
|
11
|
+
import { attachTransportInterceptors as Rr } from "./lib/transportInterceptors.js";
|
|
12
|
+
import { EmbedApiProvider as zr, useEmbedApi as Br } from "./lib/EmbedApiContext.js";
|
|
13
|
+
import { optionalOrganizationHeaders as Vr, organizationHeaders as Hr } from "./lib/organizationHeaders.js";
|
|
14
|
+
import { fetchWidgetInit as Ur } from "./lib/fetchWidgetInit.js";
|
|
15
|
+
import { hasAnyScope as Wr } from "./lib/hasAnyScope.js";
|
|
16
16
|
import "./lib/queryKeys.js";
|
|
17
|
-
import { useCurrentUserQuery as
|
|
18
|
-
import { useMailboxAddress as
|
|
17
|
+
import { useCurrentUserQuery as Gr } from "./lib/useCurrentUserQuery.js";
|
|
18
|
+
import { useMailboxAddress as Kr } from "./lib/useMailboxAddress.js";
|
|
19
19
|
import "./lib/apiErrorStatus.js";
|
|
20
|
-
import { isApiConflictError as
|
|
21
|
-
import { isApiForbiddenError as
|
|
22
|
-
import { isApiNotFoundError as
|
|
23
|
-
import { isApiUnprocessableError as
|
|
20
|
+
import { isApiConflictError as qr } from "./lib/isApiConflictError.js";
|
|
21
|
+
import { isApiForbiddenError as Jr } from "./lib/isApiForbiddenError.js";
|
|
22
|
+
import { isApiNotFoundError as Yr } from "./lib/isApiNotFoundError.js";
|
|
23
|
+
import { isApiUnprocessableError as Xr } from "./lib/isApiUnprocessableError.js";
|
|
24
24
|
import "./lib/isUserDataNotFoundError.js";
|
|
25
|
-
import { useGetUserDataQuery as
|
|
26
|
-
import { useUpsertUserDataMutation as
|
|
25
|
+
import { useGetUserDataQuery as Zr } from "./lib/useGetUserDataQuery.js";
|
|
26
|
+
import { useUpsertUserDataMutation as Qr } from "./lib/useUpsertUserDataMutation.js";
|
|
27
27
|
import "./lib/rest/zod.gen.js";
|
|
28
|
-
import { Scope as
|
|
29
|
-
import { getAllPagesNextPageParam as
|
|
30
|
-
import { useAllBankAccountsQuery as
|
|
31
|
-
import { useAllDebitCardsQuery as
|
|
32
|
-
import { useAllExternalBankAccountsQuery as
|
|
33
|
-
import { useAllMerchantCategoryGroupsQuery as
|
|
34
|
-
import { useAllLedgerAccountsQuery as
|
|
35
|
-
import { usePaymentTermsQuery as
|
|
36
|
-
import { useAllOrganizationRolesQuery as
|
|
37
|
-
import { useRolePermissionsQueries as
|
|
38
|
-
import { useAllOrganizationUsersQuery as
|
|
39
|
-
import { personDisclosure as
|
|
40
|
-
import { useAcceptWidgetDisclosures as
|
|
41
|
-
import { useDisclosuresQuery as
|
|
42
|
-
import { OnboardingSuppressionReason as
|
|
43
|
-
import { useOrganizationOnboardingSuppression as
|
|
44
|
-
import { useOrganizationApplicationStatus as
|
|
45
|
-
export {
|
|
28
|
+
import { Scope as $r, isScope as ei } from "./lib/scopes.js";
|
|
29
|
+
import { getAllPagesNextPageParam as ti, getAllPagesNextPaginationTokenParam as ni, isAllPagesResolving as ri, useAutoFetchNextPage as ii } from "./lib/allPages.js";
|
|
30
|
+
import { useAllBankAccountsQuery as ai } from "./lib/bank-account/useAllBankAccountsQuery.js";
|
|
31
|
+
import { useAllDebitCardsQuery as oi } from "./lib/debit-card/useAllDebitCardsQuery.js";
|
|
32
|
+
import { useAllExternalBankAccountsQuery as si } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
|
|
33
|
+
import { useAllMerchantCategoryGroupsQuery as ci } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
|
|
34
|
+
import { useAllLedgerAccountsQuery as li, useLedgerAccountsQuery as ui } from "./lib/reference-data/useLedgerAccountsQuery.js";
|
|
35
|
+
import { usePaymentTermsQuery as di } from "./lib/reference-data/usePaymentTermsQuery.js";
|
|
36
|
+
import { useAllOrganizationRolesQuery as fi } from "./lib/role/useAllOrganizationRolesQuery.js";
|
|
37
|
+
import { useRolePermissionsQueries as pi } from "./lib/role/useRolePermissionsQueries.js";
|
|
38
|
+
import { useAllOrganizationUsersQuery as mi } from "./lib/user/useAllOrganizationUsersQuery.js";
|
|
39
|
+
import { personDisclosure as hi } from "./lib/disclosures/personDisclosure.js";
|
|
40
|
+
import { useAcceptWidgetDisclosures as gi } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
|
|
41
|
+
import { useDisclosuresQuery as _i } from "./lib/disclosures/useDisclosuresQuery.js";
|
|
42
|
+
import { OnboardingSuppressionReason as vi } from "./lib/onboardingSuppressionReason.js";
|
|
43
|
+
import { useOrganizationOnboardingSuppression as yi } from "./lib/useOrganizationOnboardingSuppression.js";
|
|
44
|
+
import { useOrganizationApplicationStatus as bi } from "./lib/useOrganizationApplicationStatus.js";
|
|
45
|
+
export { zr as EmbedApiProvider, vi as OnboardingSuppressionReason, $r as Scope, He as activateCreditCardMutation, Ue as activateDebitCardMutation, Dr as applicationStatusInvalidationKey, Or as applicationStatusQueryOptions, Rr as attachTransportInterceptors, Tr as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Ar as cancelAllClients, Ir as cloneEmbeddedClient, We as connectExternalBankAccountMutation, Ge as createAchMoneyMovementMutation, Ke as createApplicationMutation, qe as createBankAccountMutation, Je as createBookTransferMutation, Ye as createCheckDepositMutation, kr as createClientSecretInstaller, Xe as createDebitCardMutation, r as createDepartment, Lr 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, Ur as fetchWidgetInit, ti as getAllPagesNextPageParam, ni 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 getEntityUsersMyEntityQueryKey, $t as getEntityUsersOptions, E as getExternalBankAccountAccess, en as getExternalBankAccountAccessQueryKey, tn as getExternalBankAccountsOptions, nn as getExternalBankAccountsQueryKey, rn as getFilesQueryKey, an as getLedgerAccountsQueryKey, D as getLocation, on as getLocationOptions, sn as getLocationQueryKey, cn as getMeasureUnitsOptions, ln as getMeasureUnitsQueryKey, un as getOrganizationOptions, dn as getOverdueRemindersOptions, fn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, pn as getPayablesIdHistoryOptions, mn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, hn as getPayablesIdLineItemsOptions, gn as getPayablesIdLineItemsQueryKey, _n as getPayablesIdOptions, vn as getPayablesIdQueryKey, yn as getPayablesIdSuggestionsOptions, bn as getPayablesOptions, xn as getPayablesQueryKey, M as getPaymentRecords, Sn as getPaymentRecordsOptions, Cn as getPaymentRecordsQueryKey, wn as getPaymentRemindersOptions, Tn as getPaymentRemindersQueryKey, N as getProducts, En as getProductsIdOptions, Dn as getProductsIdQueryKey, On as getProductsOptions, kn as getProductsQueryKey, P as getReceipts, An as getReceiptsIdQueryKey, jn as getReceiptsOptions, Mn as getReceiptsQueryKey, F as getReceivables, Nn as getReceivablesIdHistoryOptions, Pn as getReceivablesIdHistoryQueryKey, Fn as getReceivablesIdMailsOptions, In as getReceivablesIdMailsQueryKey, Ln as getReceivablesIdOptions, Rn as getReceivablesIdPdfLinkOptions, zn as getReceivablesIdPdfLinkQueryKey, Bn as getReceivablesIdQueryKey, Vn as getReceivablesOptions, Hn as getReceivablesQueryKey, Un as getTransactionsIdExpenseHistoryOptions, Wn as getTransactionsIdExpenseHistoryQueryKey, Gn as getTransactionsIdOptions, Kn as getTransactionsIdQueryKey, qn as getTransactionsOptions, Jn as getTransactionsQueryKey, Yn as getTransactionsValidationsOptions, Xn as getTransactionsValidationsQueryKey, I as getUsers, Zn as getUsersOptions, Qn as getUsersQueryKey, $n as getVelocityControlsQueryKey, er as grantBankAccountAccessMutation, tr as grantExternalBankAccountAccessMutation, Wr as hasAnyScope, jr as invalidateAllClients, ri as isAllPagesResolving, qr as isApiConflictError, Jr as isApiForbiddenError, Yr as isApiNotFoundError, Xr as isApiUnprocessableError, ei as isScope, nr as linkExternalBankAccountMutation, L as listDepartments, rr as listDepartmentsOptions, ir as listDepartmentsQueryKey, R as listLocations, ar as listLocationsOptions, or as listLocationsQueryKey, z as listRoles, sr as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, cr as manageDebitCardAccessMutation, Vr as optionalOrganizationHeaders, Hr as organizationHeaders, lr as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, ur as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, dr as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchTransactionsId, hi as personDisclosure, fr 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, pr 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, mr 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, hr as putTransactionsValidationsMutation, Mr as registerQueryClient, Nr as removeInactiveFromAllClients, Pr as setAllClientsQueriesData, gr as setDebitCardLockStatusMutation, _r as submitApplicationMutation, vr as unlinkExternalBankAccountMutation, Fr as unregisterQueryClient, yr as updateApplicationMutation, br as updateBankAccountMutation, xr as updateDebitCardMutation, ze as updateDepartment, Sr as updateExternalBankAccountMutation, Be as updateLocation, Ve as updateUser, gi as useAcceptWidgetDisclosures, ai as useAllBankAccountsQuery, oi as useAllDebitCardsQuery, si as useAllExternalBankAccountsQuery, li as useAllLedgerAccountsQuery, ci as useAllMerchantCategoryGroupsQuery, fi as useAllOrganizationRolesQuery, mi as useAllOrganizationUsersQuery, ii as useAutoFetchNextPage, Gr as useCurrentUserQuery, _i as useDisclosuresQuery, Br as useEmbedApi, Zr as useGetUserDataQuery, ui as useLedgerAccountsQuery, Kr as useMailboxAddress, bi as useOrganizationApplicationStatus, yi as useOrganizationOnboardingSuppression, di as usePaymentTermsQuery, pi as useRolePermissionsQueries, Qr as useUpsertUserDataMutation, Cr as validateExternalBankAccountMutation, wr as verifyDebitCardMutation, Er as withAuthEpoch };
|