@tesouro/embedded-components-react 0.3.22 → 0.3.24

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 (94) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +10 -10
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +15 -15
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +31 -32
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +42 -1
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +158 -43
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +33 -4
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -16
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +45 -12
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +4 -64
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +13 -26
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +14 -62
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +56 -123
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +18 -3
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +15 -10
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +61 -40
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +130 -50
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +20 -4
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +38 -69
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +48 -46
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +5 -93
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +71 -34
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +48 -139
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +91 -66
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -5
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +34 -22
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +146 -210
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +72 -209
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +21 -103
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +209 -12
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +211 -44
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +104 -30
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +12 -165
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +47 -35
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +29 -99
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +64 -5
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +181 -12
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +34 -243
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +104 -4
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +12 -27
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +267 -81
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +4 -145
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +33 -3
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +82 -2
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +155 -37
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +2 -0
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +2 -6
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +2 -6
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +43 -9
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +1 -94
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +8 -3
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +7 -5
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +85 -13
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +3 -59
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +9 -3
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +19 -120
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +56 -8
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +3 -32
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +3 -46
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +116 -15
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +8 -28
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +43 -83
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +19 -47
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +27 -249
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +82 -109
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +47 -206
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +253 -4
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +111 -6
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +6 -39
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +197 -102
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -0
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +6 -23
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +114 -0
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +1 -0
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +25 -0
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -24
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +3 -162
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +9 -6
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +10 -11
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +123 -8
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -170
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +18 -2
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +7 -11
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +163 -82
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +1 -1
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +14 -0
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +108 -0
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -0
  90. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +2 -2
  91. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +27 -27
  92. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  93. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
  94. package/package.json +1 -1
@@ -1,89 +1,170 @@
1
- import { Button as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BillUploadDropzone as n } from "./index3.js";
3
- import "./index5.js";
4
- import { SOURCE_DOCUMENT_PANEL_LABELS_EN as r } from "./index86.js";
5
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
- import { Download as o, Trash2 as s } from "lucide-react";
1
+ import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as o, DialogHeader as ee, DialogTitle as s, Label as c, Popover as l, PopoverContent as u, PopoverTrigger as d, Select as f, SelectContent as p, SelectItem as m, SelectTrigger as h, SelectValue as g, cn as _ } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index85.js";
3
+ import { TONE_TEXT_CLASS as y } from "./index86.js";
4
+ import { useId as b } from "react";
5
+ import { jsx as x, jsxs as S } from "react/jsx-runtime";
6
+ import { CalendarIcon as C } from "lucide-react";
7
7
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js
8
- function c(c) {
9
- let { mode: l, testId: u, labels: d } = c, f = {
10
- ...r,
11
- ...d,
12
- dropzone: {
13
- ...r.dropzone,
14
- ...d?.dropzone
15
- }
16
- };
17
- if (l === "loading") return /* @__PURE__ */ a("div", {
18
- className: "ttw:flex ttw:flex-col ttw:gap-3",
19
- "data-testid": u,
20
- children: [/* @__PURE__ */ i("div", {
21
- className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
22
- children: /* @__PURE__ */ i("span", {
23
- "aria-live": "polite",
24
- className: "ttw:text-sm ttw:text-muted-foreground",
25
- children: c.fileName ? f.scanningAttachment(c.fileName) : f.scanning
26
- })
27
- }), /* @__PURE__ */ a("div", {
28
- className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
8
+ var w = {
9
+ sufficient: y.muted,
10
+ warning: y.warning,
11
+ error: y.error
12
+ };
13
+ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateSuffix: O, paymentAmountLabel: k, paymentAmount: A, selectedDate: j, selectedDateLabel: M, calendarDisabled: N, isToday: P, selectedAccountId: F, accounts: I, poweredByBankName: L, funds: R, isAccountsLoading: z, isAccountsError: B, isSubmitting: V, onDateChange: H, onAccountChange: U, onReview: W, onCancel: G, testId: K, labels: q }) {
14
+ let J = {
15
+ ...v,
16
+ ...q
17
+ }, Y = b(), X = b(), Z = b(), Q = z || B || I.length === 0, $ = I.find((e) => e.id === F);
18
+ return /* @__PURE__ */ x(r, {
19
+ open: y,
20
+ onOpenChange: (e) => e ? T(e) : G(),
21
+ children: /* @__PURE__ */ S(i, {
22
+ "data-testid": K,
23
+ className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
29
24
  children: [
30
- /* @__PURE__ */ i(t, { className: "ttw:h-6 ttw:w-2/5" }),
31
- /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-3/5" }),
32
- /* @__PURE__ */ i(t, { className: "ttw:mt-4 ttw:h-4 ttw:w-full" }),
33
- /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-full" }),
34
- /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4/5" }),
35
- /* @__PURE__ */ i(t, { className: "ttw:mt-auto ttw:h-24 ttw:w-full" })
36
- ]
37
- })]
38
- });
39
- if (l === "document") {
40
- let { fileName: t, preview: n, onDownload: r, onDelete: l } = c;
41
- return /* @__PURE__ */ a("div", {
42
- className: "ttw:flex ttw:flex-col ttw:gap-3",
43
- "data-testid": u,
44
- children: [/* @__PURE__ */ a("div", {
45
- className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
46
- children: [
47
- /* @__PURE__ */ i("span", {
48
- className: "ttw:text-sm ttw:text-muted-foreground",
49
- children: f.scannedAttachment(t ?? "")
50
- }),
51
- r ? /* @__PURE__ */ i(e, {
25
+ /* @__PURE__ */ S(ee, { children: [/* @__PURE__ */ x(s, { children: J.title }), /* @__PURE__ */ x(a, {
26
+ className: "ttw:sr-only",
27
+ children: J.hiddenDescription
28
+ })] }),
29
+ /* @__PURE__ */ S("div", {
30
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
31
+ children: [
32
+ /* @__PURE__ */ S("div", {
33
+ className: "ttw:flex ttw:flex-col ttw:gap-1.5",
34
+ children: [/* @__PURE__ */ x("p", {
35
+ className: "ttw:text-base ttw:text-muted-foreground",
36
+ children: E
37
+ }), /* @__PURE__ */ S("div", {
38
+ className: "ttw:flex ttw:flex-wrap ttw:items-end ttw:gap-2",
39
+ children: [/* @__PURE__ */ x("p", {
40
+ className: "ttw:text-4xl ttw:font-semibold ttw:text-foreground",
41
+ children: D
42
+ }), O ? /* @__PURE__ */ x("p", {
43
+ className: "ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
44
+ children: O
45
+ }) : null]
46
+ })]
47
+ }),
48
+ /* @__PURE__ */ S("div", {
49
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
50
+ children: [/* @__PURE__ */ S("div", {
51
+ className: "ttw:grid ttw:gap-2.5",
52
+ children: [/* @__PURE__ */ x(c, { children: k }), /* @__PURE__ */ x("div", {
53
+ "aria-disabled": !0,
54
+ className: "ttw:flex ttw:h-9 ttw:items-center ttw:rounded-md ttw:border ttw:border-border ttw:bg-muted ttw:px-3 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
55
+ children: A
56
+ })]
57
+ }), /* @__PURE__ */ S("div", {
58
+ className: "ttw:grid ttw:gap-2.5",
59
+ children: [/* @__PURE__ */ x(c, {
60
+ id: Y,
61
+ children: J.paymentDate
62
+ }), /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(d, {
63
+ asChild: !0,
64
+ children: /* @__PURE__ */ S(t, {
65
+ type: "button",
66
+ variant: "outline",
67
+ className: "ttw:justify-start ttw:gap-2",
68
+ "aria-labelledby": `${Y} ${X}`,
69
+ children: [
70
+ /* @__PURE__ */ x(C, { className: "ttw:size-4" }),
71
+ /* @__PURE__ */ x("span", {
72
+ id: X,
73
+ children: M ?? J.paymentDatePlaceholder
74
+ }),
75
+ P ? /* @__PURE__ */ x(e, {
76
+ variant: "secondary",
77
+ children: J.today
78
+ }) : null
79
+ ]
80
+ })
81
+ }), /* @__PURE__ */ x(u, {
82
+ align: "start",
83
+ className: "ttw:w-auto ttw:p-0",
84
+ children: /* @__PURE__ */ x(n, {
85
+ mode: "single",
86
+ selected: j,
87
+ onSelect: H,
88
+ disabled: N
89
+ })
90
+ })] })]
91
+ })]
92
+ }),
93
+ /* @__PURE__ */ S("div", {
94
+ className: "ttw:grid ttw:gap-2.5",
95
+ children: [
96
+ /* @__PURE__ */ x(c, {
97
+ id: Z,
98
+ children: J.payFrom
99
+ }),
100
+ /* @__PURE__ */ S(f, {
101
+ value: F,
102
+ disabled: Q,
103
+ onValueChange: U,
104
+ children: [/* @__PURE__ */ x(h, {
105
+ className: "ttw:w-full ttw:data-[size=default]:h-14",
106
+ "aria-labelledby": Z,
107
+ children: $ ? /* @__PURE__ */ S("span", {
108
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:gap-3",
109
+ children: [/* @__PURE__ */ S("span", {
110
+ className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:text-left",
111
+ children: [/* @__PURE__ */ x("span", {
112
+ className: "ttw:truncate",
113
+ children: $.primaryLabel
114
+ }), $.secondaryLabel ? /* @__PURE__ */ x("span", {
115
+ className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
116
+ children: $.secondaryLabel
117
+ }) : null]
118
+ }), L ? /* @__PURE__ */ x(e, {
119
+ variant: "secondary",
120
+ className: "ttw:shrink-0",
121
+ children: J.poweredByBank(L)
122
+ }) : null]
123
+ }) : /* @__PURE__ */ x(g, { placeholder: J.payFromPlaceholder })
124
+ }), /* @__PURE__ */ x(p, { children: I.map((e) => /* @__PURE__ */ x(m, {
125
+ value: e.id,
126
+ children: /* @__PURE__ */ S("span", {
127
+ className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
128
+ children: [/* @__PURE__ */ x("span", {
129
+ className: "ttw:truncate",
130
+ children: e.primaryLabel
131
+ }), e.secondaryLabel ? /* @__PURE__ */ x("span", {
132
+ className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
133
+ children: e.secondaryLabel
134
+ }) : null]
135
+ })
136
+ }, e.id)) })]
137
+ }),
138
+ Q ? /* @__PURE__ */ x("p", {
139
+ className: _("ttw:text-sm", B ? "ttw:text-destructive" : "ttw:text-muted-foreground"),
140
+ role: B ? "alert" : void 0,
141
+ children: z ? J.loadingAccounts : B ? J.accountsError : J.noAccounts
142
+ }) : null
143
+ ]
144
+ }),
145
+ R.message ? /* @__PURE__ */ x("p", {
146
+ className: _("ttw:text-sm", w[R.state]),
147
+ children: R.message
148
+ }) : null
149
+ ]
150
+ }),
151
+ /* @__PURE__ */ S(o, {
152
+ className: "ttw:pt-4 ttw:sm:gap-3",
153
+ children: [/* @__PURE__ */ x(t, {
52
154
  type: "button",
53
- variant: "ghost",
54
- size: "icon",
55
- "aria-label": f.download,
56
- onClick: r,
57
- children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
58
- }) : null,
59
- l ? /* @__PURE__ */ i(e, {
155
+ variant: "outline",
156
+ onClick: G,
157
+ children: J.cancelButton
158
+ }), /* @__PURE__ */ x(t, {
60
159
  type: "button",
61
- variant: "ghost",
62
- size: "icon",
63
- "aria-label": f.delete,
64
- onClick: l,
65
- children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
66
- }) : null
67
- ]
68
- }), /* @__PURE__ */ i("div", {
69
- className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
70
- children: n
71
- })]
72
- });
73
- }
74
- return /* @__PURE__ */ a("div", {
75
- className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
76
- "data-testid": u,
77
- children: [/* @__PURE__ */ i("p", {
78
- className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
79
- children: f.uploadHeading
80
- }), /* @__PURE__ */ i(n, {
81
- status: c.uploadStatus,
82
- errorMessage: c.uploadErrorMessage,
83
- onFilesSelected: c.onFilesSelected,
84
- labels: f.dropzone
85
- })]
160
+ loading: V,
161
+ onClick: W,
162
+ children: J.reviewButton
163
+ })]
164
+ })
165
+ ]
166
+ })
86
167
  });
87
168
  }
88
169
  //#endregion
89
- export { c as SourceDocumentPanel, c as default };
170
+ export { T as SchedulePaymentDialog, T as default };
@@ -1,2 +1,2 @@
1
- import "./index86.js";
1
+ import "./index85.js";
2
2
  import "./index87.js";
@@ -0,0 +1,14 @@
1
+ import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
2
+ import "./index5.js";
3
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js
4
+ var t = {
5
+ uploadHeading: "Attach an invoice (optional)",
6
+ scannedAttachment: (e) => `Scanned attachment: ${e}`,
7
+ scanning: "Scanning attachment…",
8
+ scanningAttachment: (e) => `Scanning attachment: ${e}`,
9
+ download: "Download the scanned attachment",
10
+ delete: "Delete the scanned attachment",
11
+ dropzone: e
12
+ };
13
+ //#endregion
14
+ export { t as SOURCE_DOCUMENT_PANEL_LABELS_EN };
@@ -0,0 +1,108 @@
1
+ import { Button as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BillUploadDropzone as n } from "./index3.js";
3
+ import "./index5.js";
4
+ import { SOURCE_DOCUMENT_PANEL_LABELS_EN as r } from "./index89.js";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Download as o, Trash2 as s } from "lucide-react";
7
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js
8
+ function c(c) {
9
+ let { mode: l, testId: u, labels: d } = c, f = {
10
+ ...r,
11
+ ...d,
12
+ dropzone: {
13
+ ...r.dropzone,
14
+ ...d?.dropzone
15
+ }
16
+ };
17
+ if (l === "loading") return /* @__PURE__ */ a("div", {
18
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
19
+ "data-testid": u,
20
+ children: [/* @__PURE__ */ i("div", {
21
+ className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
22
+ children: /* @__PURE__ */ i("span", {
23
+ "aria-live": "polite",
24
+ className: "ttw:text-sm ttw:text-muted-foreground",
25
+ children: c.fileName ? f.scanningAttachment(c.fileName) : f.scanning
26
+ })
27
+ }), /* @__PURE__ */ a("div", {
28
+ className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
29
+ children: [
30
+ /* @__PURE__ */ i(t, { className: "ttw:h-6 ttw:w-2/5" }),
31
+ /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-3/5" }),
32
+ /* @__PURE__ */ i(t, { className: "ttw:mt-4 ttw:h-4 ttw:w-full" }),
33
+ /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-full" }),
34
+ /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4/5" }),
35
+ /* @__PURE__ */ i(t, { className: "ttw:mt-auto ttw:h-24 ttw:w-full" })
36
+ ]
37
+ })]
38
+ });
39
+ if (l === "document") {
40
+ let { fileName: t, preview: n, onDownload: r, onDelete: l, isDeleting: d, deleteErrorMessage: p } = c;
41
+ return /* @__PURE__ */ a("div", {
42
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
43
+ "data-testid": u,
44
+ children: [
45
+ /* @__PURE__ */ a("div", {
46
+ className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
47
+ children: [
48
+ /* @__PURE__ */ i("span", {
49
+ className: "ttw:text-sm ttw:text-muted-foreground",
50
+ children: f.scannedAttachment(t ?? "")
51
+ }),
52
+ r ? /* @__PURE__ */ i(e, {
53
+ type: "button",
54
+ variant: "ghost",
55
+ size: "icon",
56
+ "aria-label": f.download,
57
+ onClick: r,
58
+ children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
59
+ }) : null,
60
+ l ? /* @__PURE__ */ i(e, {
61
+ type: "button",
62
+ variant: "ghost",
63
+ size: "icon",
64
+ "aria-label": f.delete,
65
+ disabled: d,
66
+ onClick: l,
67
+ children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
68
+ }) : null
69
+ ]
70
+ }),
71
+ p ? /* @__PURE__ */ i("p", {
72
+ role: "alert",
73
+ className: "ttw:text-sm ttw:text-destructive",
74
+ "data-testid": u ? `${u}-delete-error` : void 0,
75
+ children: p
76
+ }) : null,
77
+ /* @__PURE__ */ i("div", {
78
+ className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
79
+ children: n
80
+ })
81
+ ]
82
+ });
83
+ }
84
+ return /* @__PURE__ */ a("div", {
85
+ className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
86
+ "data-testid": u,
87
+ children: [
88
+ /* @__PURE__ */ i("p", {
89
+ className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
90
+ children: f.uploadHeading
91
+ }),
92
+ c.noticeMessage ? /* @__PURE__ */ i("p", {
93
+ "aria-live": "polite",
94
+ className: "ttw:mb-3 ttw:text-sm ttw:text-muted-foreground",
95
+ "data-testid": u ? `${u}-notice` : void 0,
96
+ children: c.noticeMessage
97
+ }) : null,
98
+ /* @__PURE__ */ i(n, {
99
+ status: c.uploadStatus,
100
+ errorMessage: c.uploadErrorMessage,
101
+ onFilesSelected: c.onFilesSelected,
102
+ labels: f.dropzone
103
+ })
104
+ ]
105
+ });
106
+ }
107
+ //#endregion
108
+ export { c as SourceDocumentPanel, c as default };
@@ -0,0 +1,2 @@
1
+ import "./index89.js";
2
+ import "./index90.js";
@@ -5,7 +5,7 @@ import { isWidgetGatewayHost as c } from "./lib/widgetGatewayHosts.js";
5
5
  import "./lib/rest/client.gen.js";
6
6
  import { EmbedApiProvider as l, useEmbedApi as u } from "./lib/EmbedApiContext.js";
7
7
  import { optionalOrganizationHeaders as d, organizationHeaders as f } from "./lib/organizationHeaders.js";
8
- import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteFilesId as C, deleteMeasureUnitsId as w, deletePayablesId as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getBankAccountAccess as M, getDepartment as N, getExternalBankAccountAccess as P, getLocation as F, getPayablesId as I, getPayablesIdLineItems as L, getPaymentRecords as R, getUsers as z, listDepartments as B, listLocations as V, listRoles as H, manageBankAccountAccess as U, patchCounterpartsId as W, patchCounterpartsIdAddressesId as G, patchCounterpartsIdBankAccountsId as K, patchMeasureUnitsId as q, patchPayablesId as J, patchProductsId as Y, patchReceivablesId as X, patchTagsId as Z, postApprovalRequestsIdApprove as Q, postApprovalRequestsIdReject as $, postCounterparts as ee, postCounterpartsIdAddresses as te, postCounterpartsIdBankAccounts as ne, postCounterpartsIdBankAccountsIdMakeDefault as re, postMeasureUnits as ie, postPayables as ae, postPayablesIdApprovePaymentOperation as oe, postPayablesIdAttachFile as se, postPayablesIdCancel as ce, postPayablesIdMarkAsPaid as le, postPayablesIdReject as ue, postPayablesIdReopen as de, postPayablesIdSchedulePayment as fe, postPayablesIdSubmitForApproval as pe, postPayablesIdValidate as me, postPayablesUploadFromFile as he, postPaymentRecordsIdCancel as ge, postProducts as _e, postReceivables as ve, postReceivablesIdAccept as ye, postReceivablesIdCancel as be, postReceivablesIdClone as xe, postReceivablesIdDecline as Se, postReceivablesIdIssue as Ce, postReceivablesIdMarkAsPaid as we, postReceivablesIdMarkAsPartiallyPaid as Te, postReceivablesIdMarkAsUncollectible as Ee, postReceivablesIdSend as De, postTags as Oe, putPayablesIdLineItems as ke, putReceivablesIdLineItems as Ae, updateDepartment as je, updateLocation as Me, updateUser as Ne } from "./lib/rest/sdk.gen.js";
8
+ import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteMeasureUnitsId as C, deletePayablesId as w, deletePayablesIdFile as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getBankAccountAccess as M, getDepartment as N, getExternalBankAccountAccess as P, getLocation as F, getPayablesId as I, getPayablesIdLineItems as L, getPaymentRecords as R, getUsers as z, listDepartments as B, listLocations as V, listRoles as H, manageBankAccountAccess as U, patchCounterpartsId as W, patchCounterpartsIdAddressesId as G, patchCounterpartsIdBankAccountsId as K, patchMeasureUnitsId as q, patchPayablesId as J, patchProductsId as Y, patchReceivablesId as X, patchTagsId as Z, postApprovalRequestsIdApprove as Q, postApprovalRequestsIdReject as $, postCounterparts as ee, postCounterpartsIdAddresses as te, postCounterpartsIdBankAccounts as ne, postCounterpartsIdBankAccountsIdMakeDefault as re, postMeasureUnits as ie, postPayables as ae, postPayablesIdApprovePaymentOperation as oe, postPayablesIdAttachFile as se, postPayablesIdCancel as ce, postPayablesIdMarkAsPaid as le, postPayablesIdReject as ue, postPayablesIdReopen as de, postPayablesIdSchedulePayment as fe, postPayablesIdSubmitForApproval as pe, postPayablesIdValidate as me, postPayablesUploadFromFile as he, postPaymentRecordsIdCancel as ge, postProducts as _e, postReceivables as ve, postReceivablesIdAccept as ye, postReceivablesIdCancel as be, postReceivablesIdClone as xe, postReceivablesIdDecline as Se, postReceivablesIdIssue as Ce, postReceivablesIdMarkAsPaid as we, postReceivablesIdMarkAsPartiallyPaid as Te, postReceivablesIdMarkAsUncollectible as Ee, postReceivablesIdSend as De, postTags as Oe, putPayablesIdLineItems as ke, putReceivablesIdLineItems as Ae, updateDepartment as je, updateLocation as Me, updateUser as Ne } from "./lib/rest/sdk.gen.js";
9
9
  import { fetchWidgetInit as Pe } from "./lib/fetchWidgetInit.js";
10
10
  import { hasAnyScope as Fe } from "./lib/hasAnyScope.js";
11
11
  import { connectExternalBankAccountMutation as Ie, createAchMoneyMovementMutation as Le, createApplicationMutation as Re, createBankAccountMutation as ze, createBookTransferMutation as Be, createDebitCardMutation as Ve, deleteApprovalPoliciesIdMutation as He, deleteLedgerAccountsIdMutation as Ue, deleteReceiptsIdMutation as We, disableUserMutation as Ge, getAnalyticsPayablesOptions as Ke, getAnalyticsReceivablesOptions as qe, getApplicationStatusOptions as Je, getApprovalPoliciesOptions as Ye, getApprovalPoliciesQueryKey as Xe, getApprovalRequestsOptions as Ze, getApprovalRequestsQueryKey as Qe, getBankAccountAccessQueryKey as $e, getBankAccountOptions as et, getBankAccountQueryKey as tt, getBankAccountTransactionsOptions as nt, getBankAccountTransfersOptions as rt, getBankAccountTransfersQueryKey as it, getBankAccountsQueryKey as at, getCounterpartsIdAddressesOptions as ot, getCounterpartsIdAddressesQueryKey as st, getCounterpartsIdBankAccountsOptions as ct, getCounterpartsIdBankAccountsQueryKey as lt, getCounterpartsIdOptions as ut, getCounterpartsIdQueryKey as dt, getCounterpartsOptions as ft, getCounterpartsQueryKey as pt, getCreditCardByIdOptions as mt, getCreditCardsOptions as ht, getDebitCardByIdOptions as gt, getDebitCardsOptions as _t, getDebitCardsQueryKey as vt, getDepartmentOptions as yt, getDepartmentQueryKey as bt, getEntitiesIdSettingsOptions as xt, getEntitiesIdSettingsQueryKey as St, getEntitiesMeOptions as Ct, getEntityUsersMyEntityOptions as wt, getEntityUsersOptions as Tt, getExternalBankAccountAccessQueryKey as Et, getExternalBankAccountsOptions as Dt, getExternalBankAccountsQueryKey as Ot, getLedgerAccountsQueryKey as kt, getLocationOptions as At, getLocationQueryKey as jt, getMeasureUnitsOptions as Mt, getMeasureUnitsQueryKey as Nt, getOrganizationOptions as Pt, getPayablesAnalyticsOptions as Ft, getPayablesAnalyticsQueryKey as It, getPayablesIdHistoryOptions as Lt, getPayablesIdHistoryQueryKey as Rt, getPayablesIdLineItemsOptions as zt, getPayablesIdLineItemsQueryKey as Bt, getPayablesIdOptions as Vt, getPayablesIdQueryKey as Ht, getPayablesIdSuggestionsOptions as Ut, getPayablesOptions as Wt, getPayablesQueryKey as Gt, getPaymentRecordsOptions as Kt, getPaymentRecordsQueryKey as qt, getProductsIdOptions as Jt, getProductsIdQueryKey as Yt, getProductsOptions as Xt, getProductsQueryKey as Zt, getReceiptsIdQueryKey as Qt, getReceiptsOptions as $t, getReceiptsQueryKey as en, getReceivablesIdHistoryOptions as tn, getReceivablesIdHistoryQueryKey as nn, getReceivablesIdMailsOptions as rn, getReceivablesIdMailsQueryKey as an, getReceivablesIdOptions as on, getReceivablesIdPdfLinkOptions as sn, getReceivablesIdPdfLinkQueryKey as cn, getReceivablesIdQueryKey as ln, getReceivablesOptions as un, getReceivablesQueryKey as dn, getTagsOptions as fn, getTagsQueryKey as pn, getTransactionsIdQueryKey as mn, getTransactionsOptions as hn, getTransactionsQueryKey as gn, getTransactionsValidationsOptions as _n, getTransactionsValidationsQueryKey as vn, getUsersOptions as yn, getUsersQueryKey as bn, grantBankAccountAccessMutation as xn, grantExternalBankAccountAccessMutation as Sn, linkExternalBankAccountMutation as Cn, listDepartmentsOptions as wn, listDepartmentsQueryKey as Tn, listLocationsOptions as En, listLocationsQueryKey as Dn, listRolesQueryKey as On, manageDebitCardAccessMutation as kn, patchApprovalPoliciesIdMutation as An, patchEntitiesIdSettingsMutation as jn, patchLedgerAccountsIdMutation as Mn, patchReceiptsIdMutation as Nn, postApprovalPoliciesMutation as Pn, postLedgerAccountsMutation as Fn, putTransactionsValidationsMutation as In, submitApplicationMutation as Ln, unlinkExternalBankAccountMutation as Rn, updateApplicationMutation as zn, updateBankAccountMutation as Bn, updateExternalBankAccountMutation as Vn, validateExternalBankAccountMutation as Hn } from "./lib/rest/@tanstack/react-query.gen.js";
@@ -28,4 +28,4 @@ import { useRolePermissionsQueries as ar } from "./lib/role/useRolePermissionsQu
28
28
  import { useAllOrganizationUsersQuery as or } from "./lib/user/useAllOrganizationUsersQuery.js";
29
29
  import { useAcceptWidgetDisclosures as sr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
30
30
  import { useDisclosuresQuery as cr } from "./lib/disclosures/useDisclosuresQuery.js";
31
- export { l as EmbedApiProvider, Jn as Scope, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ie as connectExternalBankAccountMutation, Le as createAchMoneyMovementMutation, Re as createApplicationMutation, ze as createBankAccountMutation, Be as createBookTransferMutation, Ve as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, y as deactivateDepartment, b as deactivateLocation, He as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, C as deleteFilesId, Ue as deleteLedgerAccountsIdMutation, w as deleteMeasureUnitsId, T as deletePayablesId, E as deleteProductsId, We as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Ge as disableUserMutation, k as downloadBankAccountTransactions, Pe as fetchWidgetInit, Yn as getAllPagesNextPageParam, Xn as getAllPagesNextPaginationTokenParam, Ke as getAnalyticsPayablesOptions, qe as getAnalyticsReceivablesOptions, A as getApplicationStatus, Je as getApplicationStatusOptions, j as getApprovalPolicies, Ye as getApprovalPoliciesOptions, Xe as getApprovalPoliciesQueryKey, Ze as getApprovalRequestsOptions, Qe as getApprovalRequestsQueryKey, M as getBankAccountAccess, $e as getBankAccountAccessQueryKey, et as getBankAccountOptions, tt as getBankAccountQueryKey, nt as getBankAccountTransactionsOptions, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, 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 getCreditCardsOptions, gt as getDebitCardByIdOptions, _t as getDebitCardsOptions, vt as getDebitCardsQueryKey, N as getDepartment, yt as getDepartmentOptions, bt as getDepartmentQueryKey, xt as getEntitiesIdSettingsOptions, St as getEntitiesIdSettingsQueryKey, Ct as getEntitiesMeOptions, wt as getEntityUsersMyEntityOptions, Tt as getEntityUsersOptions, P as getExternalBankAccountAccess, Et as getExternalBankAccountAccessQueryKey, Dt as getExternalBankAccountsOptions, Ot as getExternalBankAccountsQueryKey, kt as getLedgerAccountsQueryKey, F as getLocation, At as getLocationOptions, jt as getLocationQueryKey, Mt as getMeasureUnitsOptions, Nt as getMeasureUnitsQueryKey, Pt as getOrganizationOptions, Ft as getPayablesAnalyticsOptions, It as getPayablesAnalyticsQueryKey, I as getPayablesId, Lt as getPayablesIdHistoryOptions, Rt as getPayablesIdHistoryQueryKey, L as getPayablesIdLineItems, zt as getPayablesIdLineItemsOptions, Bt as getPayablesIdLineItemsQueryKey, Vt as getPayablesIdOptions, Ht as getPayablesIdQueryKey, Ut as getPayablesIdSuggestionsOptions, Wt as getPayablesOptions, Gt as getPayablesQueryKey, R as getPaymentRecords, Kt as getPaymentRecordsOptions, qt as getPaymentRecordsQueryKey, Jt as getProductsIdOptions, Yt as getProductsIdQueryKey, Xt as getProductsOptions, Zt as getProductsQueryKey, Qt as getReceiptsIdQueryKey, $t as getReceiptsOptions, en as getReceiptsQueryKey, tn as getReceivablesIdHistoryOptions, nn as getReceivablesIdHistoryQueryKey, rn as getReceivablesIdMailsOptions, an as getReceivablesIdMailsQueryKey, on as getReceivablesIdOptions, sn as getReceivablesIdPdfLinkOptions, cn as getReceivablesIdPdfLinkQueryKey, ln as getReceivablesIdQueryKey, un as getReceivablesOptions, dn as getReceivablesQueryKey, fn as getTagsOptions, pn as getTagsQueryKey, mn as getTransactionsIdQueryKey, hn as getTransactionsOptions, gn as getTransactionsQueryKey, _n as getTransactionsValidationsOptions, vn as getTransactionsValidationsQueryKey, z as getUsers, yn as getUsersOptions, bn as getUsersQueryKey, xn as grantBankAccountAccessMutation, Sn as grantExternalBankAccountAccessMutation, Fe as hasAnyScope, t as invalidateAllClients, Zn as isAllPagesResolving, Gn as isApiNotFoundError, c as isWidgetGatewayHost, Cn as linkExternalBankAccountMutation, B as listDepartments, wn as listDepartmentsOptions, Tn as listDepartmentsQueryKey, V as listLocations, En as listLocationsOptions, Dn as listLocationsQueryKey, H as listRoles, On as listRolesQueryKey, U as manageBankAccountAccess, kn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, An as patchApprovalPoliciesIdMutation, W as patchCounterpartsId, G as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, jn as patchEntitiesIdSettingsMutation, Mn as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, Nn as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchTagsId, Pn as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, Fn as postLedgerAccountsMutation, ie as postMeasureUnits, ae as postPayables, oe as postPayablesIdApprovePaymentOperation, se as postPayablesIdAttachFile, ce as postPayablesIdCancel, le as postPayablesIdMarkAsPaid, ue as postPayablesIdReject, de as postPayablesIdReopen, fe as postPayablesIdSchedulePayment, pe as postPayablesIdSubmitForApproval, me as postPayablesIdValidate, he as postPayablesUploadFromFile, ge as postPaymentRecordsIdCancel, _e as postProducts, ve as postReceivables, ye as postReceivablesIdAccept, be as postReceivablesIdCancel, xe as postReceivablesIdClone, Se as postReceivablesIdDecline, Ce as postReceivablesIdIssue, we as postReceivablesIdMarkAsPaid, Te as postReceivablesIdMarkAsPartiallyPaid, Ee as postReceivablesIdMarkAsUncollectible, De as postReceivablesIdSend, Oe as postTags, ke as putPayablesIdLineItems, Ae as putReceivablesIdLineItems, In as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Ln as submitApplicationMutation, Rn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, zn as updateApplicationMutation, Bn as updateBankAccountMutation, je as updateDepartment, Vn as updateExternalBankAccountMutation, Me as updateLocation, Ne as updateUser, sr as useAcceptWidgetDisclosures, $n as useAllBankAccountsQuery, er as useAllExternalBankAccountsQuery, tr as useAllLedgerAccountsQuery, ir as useAllOrganizationRolesQuery, or as useAllOrganizationUsersQuery, Qn as useAutoFetchNextPage, Wn as useCurrentUserQuery, cr as useDisclosuresQuery, u as useEmbedApi, Kn as useGetUserDataQuery, nr as useLedgerAccountsQuery, rr as usePaymentTermsQuery, ar as useRolePermissionsQueries, qn as useUpsertUserDataMutation, Hn as validateExternalBankAccountMutation, Un as withAuthEpoch };
31
+ export { l as EmbedApiProvider, Jn as Scope, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ie as connectExternalBankAccountMutation, Le as createAchMoneyMovementMutation, Re as createApplicationMutation, ze as createBankAccountMutation, Be as createBookTransferMutation, Ve as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, y as deactivateDepartment, b as deactivateLocation, He as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, Ue as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, We as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Ge as disableUserMutation, k as downloadBankAccountTransactions, Pe as fetchWidgetInit, Yn as getAllPagesNextPageParam, Xn as getAllPagesNextPaginationTokenParam, Ke as getAnalyticsPayablesOptions, qe as getAnalyticsReceivablesOptions, A as getApplicationStatus, Je as getApplicationStatusOptions, j as getApprovalPolicies, Ye as getApprovalPoliciesOptions, Xe as getApprovalPoliciesQueryKey, Ze as getApprovalRequestsOptions, Qe as getApprovalRequestsQueryKey, M as getBankAccountAccess, $e as getBankAccountAccessQueryKey, et as getBankAccountOptions, tt as getBankAccountQueryKey, nt as getBankAccountTransactionsOptions, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, 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 getCreditCardsOptions, gt as getDebitCardByIdOptions, _t as getDebitCardsOptions, vt as getDebitCardsQueryKey, N as getDepartment, yt as getDepartmentOptions, bt as getDepartmentQueryKey, xt as getEntitiesIdSettingsOptions, St as getEntitiesIdSettingsQueryKey, Ct as getEntitiesMeOptions, wt as getEntityUsersMyEntityOptions, Tt as getEntityUsersOptions, P as getExternalBankAccountAccess, Et as getExternalBankAccountAccessQueryKey, Dt as getExternalBankAccountsOptions, Ot as getExternalBankAccountsQueryKey, kt as getLedgerAccountsQueryKey, F as getLocation, At as getLocationOptions, jt as getLocationQueryKey, Mt as getMeasureUnitsOptions, Nt as getMeasureUnitsQueryKey, Pt as getOrganizationOptions, Ft as getPayablesAnalyticsOptions, It as getPayablesAnalyticsQueryKey, I as getPayablesId, Lt as getPayablesIdHistoryOptions, Rt as getPayablesIdHistoryQueryKey, L as getPayablesIdLineItems, zt as getPayablesIdLineItemsOptions, Bt as getPayablesIdLineItemsQueryKey, Vt as getPayablesIdOptions, Ht as getPayablesIdQueryKey, Ut as getPayablesIdSuggestionsOptions, Wt as getPayablesOptions, Gt as getPayablesQueryKey, R as getPaymentRecords, Kt as getPaymentRecordsOptions, qt as getPaymentRecordsQueryKey, Jt as getProductsIdOptions, Yt as getProductsIdQueryKey, Xt as getProductsOptions, Zt as getProductsQueryKey, Qt as getReceiptsIdQueryKey, $t as getReceiptsOptions, en as getReceiptsQueryKey, tn as getReceivablesIdHistoryOptions, nn as getReceivablesIdHistoryQueryKey, rn as getReceivablesIdMailsOptions, an as getReceivablesIdMailsQueryKey, on as getReceivablesIdOptions, sn as getReceivablesIdPdfLinkOptions, cn as getReceivablesIdPdfLinkQueryKey, ln as getReceivablesIdQueryKey, un as getReceivablesOptions, dn as getReceivablesQueryKey, fn as getTagsOptions, pn as getTagsQueryKey, mn as getTransactionsIdQueryKey, hn as getTransactionsOptions, gn as getTransactionsQueryKey, _n as getTransactionsValidationsOptions, vn as getTransactionsValidationsQueryKey, z as getUsers, yn as getUsersOptions, bn as getUsersQueryKey, xn as grantBankAccountAccessMutation, Sn as grantExternalBankAccountAccessMutation, Fe as hasAnyScope, t as invalidateAllClients, Zn as isAllPagesResolving, Gn as isApiNotFoundError, c as isWidgetGatewayHost, Cn as linkExternalBankAccountMutation, B as listDepartments, wn as listDepartmentsOptions, Tn as listDepartmentsQueryKey, V as listLocations, En as listLocationsOptions, Dn as listLocationsQueryKey, H as listRoles, On as listRolesQueryKey, U as manageBankAccountAccess, kn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, An as patchApprovalPoliciesIdMutation, W as patchCounterpartsId, G as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, jn as patchEntitiesIdSettingsMutation, Mn as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, Nn as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchTagsId, Pn as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, Fn as postLedgerAccountsMutation, ie as postMeasureUnits, ae as postPayables, oe as postPayablesIdApprovePaymentOperation, se as postPayablesIdAttachFile, ce as postPayablesIdCancel, le as postPayablesIdMarkAsPaid, ue as postPayablesIdReject, de as postPayablesIdReopen, fe as postPayablesIdSchedulePayment, pe as postPayablesIdSubmitForApproval, me as postPayablesIdValidate, he as postPayablesUploadFromFile, ge as postPaymentRecordsIdCancel, _e as postProducts, ve as postReceivables, ye as postReceivablesIdAccept, be as postReceivablesIdCancel, xe as postReceivablesIdClone, Se as postReceivablesIdDecline, Ce as postReceivablesIdIssue, we as postReceivablesIdMarkAsPaid, Te as postReceivablesIdMarkAsPartiallyPaid, Ee as postReceivablesIdMarkAsUncollectible, De as postReceivablesIdSend, Oe as postTags, ke as putPayablesIdLineItems, Ae as putReceivablesIdLineItems, In as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Ln as submitApplicationMutation, Rn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, zn as updateApplicationMutation, Bn as updateBankAccountMutation, je as updateDepartment, Vn as updateExternalBankAccountMutation, Me as updateLocation, Ne as updateUser, sr as useAcceptWidgetDisclosures, $n as useAllBankAccountsQuery, er as useAllExternalBankAccountsQuery, tr as useAllLedgerAccountsQuery, ir as useAllOrganizationRolesQuery, or as useAllOrganizationUsersQuery, Qn as useAutoFetchNextPage, Wn as useCurrentUserQuery, cr as useDisclosuresQuery, u as useEmbedApi, Kn as useGetUserDataQuery, nr as useLedgerAccountsQuery, rr as usePaymentTermsQuery, ar as useRolePermissionsQueries, qn as useUpsertUserDataMutation, Hn as validateExternalBankAccountMutation, Un as withAuthEpoch };
@@ -686,15 +686,7 @@ var n = (e) => (e.client ?? t).post({
686
686
  }],
687
687
  url: "/finops/v1/entity-users/my-entity",
688
688
  ...e
689
- }), ce = (e) => (e.client ?? t).delete({
690
- security: [{
691
- key: "HTTPBearer",
692
- scheme: "bearer",
693
- type: "http"
694
- }],
695
- url: "/finops/v1/files/{file_id}",
696
- ...e
697
- }), le = (e) => (e.client ?? t).get({
689
+ }), ce = (e) => (e.client ?? t).get({
698
690
  security: [{
699
691
  key: "HTTPBearer",
700
692
  scheme: "bearer",
@@ -702,7 +694,7 @@ var n = (e) => (e.client ?? t).post({
702
694
  }],
703
695
  url: "/finops/v1/ledger-accounts",
704
696
  ...e
705
- }), ue = (e) => (e.client ?? t).post({
697
+ }), le = (e) => (e.client ?? t).post({
706
698
  security: [{
707
699
  key: "HTTPBearer",
708
700
  scheme: "bearer",
@@ -714,7 +706,7 @@ var n = (e) => (e.client ?? t).post({
714
706
  "Content-Type": "application/json",
715
707
  ...e.headers
716
708
  }
717
- }), de = (e) => (e.client ?? t).delete({
709
+ }), ue = (e) => (e.client ?? t).delete({
718
710
  security: [{
719
711
  key: "HTTPBearer",
720
712
  scheme: "bearer",
@@ -722,7 +714,7 @@ var n = (e) => (e.client ?? t).post({
722
714
  }],
723
715
  url: "/finops/v1/ledger-accounts/{ledger_account_id}",
724
716
  ...e
725
- }), fe = (e) => (e.client ?? t).patch({
717
+ }), de = (e) => (e.client ?? t).patch({
726
718
  security: [{
727
719
  key: "HTTPBearer",
728
720
  scheme: "bearer",
@@ -734,7 +726,7 @@ var n = (e) => (e.client ?? t).post({
734
726
  "Content-Type": "application/json",
735
727
  ...e.headers
736
728
  }
737
- }), pe = (e) => (e.client ?? t).get({
729
+ }), fe = (e) => (e.client ?? t).get({
738
730
  security: [{
739
731
  key: "HTTPBearer",
740
732
  scheme: "bearer",
@@ -742,7 +734,7 @@ var n = (e) => (e.client ?? t).post({
742
734
  }],
743
735
  url: "/finops/v1/measure-units",
744
736
  ...e
745
- }), me = (e) => (e.client ?? t).post({
737
+ }), pe = (e) => (e.client ?? t).post({
746
738
  security: [{
747
739
  key: "HTTPBearer",
748
740
  scheme: "bearer",
@@ -754,7 +746,7 @@ var n = (e) => (e.client ?? t).post({
754
746
  "Content-Type": "application/json",
755
747
  ...e.headers
756
748
  }
757
- }), he = (e) => (e.client ?? t).delete({
749
+ }), me = (e) => (e.client ?? t).delete({
758
750
  security: [{
759
751
  key: "HTTPBearer",
760
752
  scheme: "bearer",
@@ -762,7 +754,7 @@ var n = (e) => (e.client ?? t).post({
762
754
  }],
763
755
  url: "/finops/v1/measure-units/{unit_id}",
764
756
  ...e
765
- }), ge = (e) => (e.client ?? t).patch({
757
+ }), he = (e) => (e.client ?? t).patch({
766
758
  security: [{
767
759
  key: "HTTPBearer",
768
760
  scheme: "bearer",
@@ -774,7 +766,7 @@ var n = (e) => (e.client ?? t).post({
774
766
  "Content-Type": "application/json",
775
767
  ...e.headers
776
768
  }
777
- }), _e = (e) => (e.client ?? t).get({
769
+ }), ge = (e) => (e.client ?? t).get({
778
770
  security: [{
779
771
  key: "HTTPBearer",
780
772
  scheme: "bearer",
@@ -782,7 +774,7 @@ var n = (e) => (e.client ?? t).post({
782
774
  }],
783
775
  url: "/finops/v1/payables",
784
776
  ...e
785
- }), ve = (e) => (e.client ?? t).post({
777
+ }), _e = (e) => (e.client ?? t).post({
786
778
  security: [{
787
779
  key: "HTTPBearer",
788
780
  scheme: "bearer",
@@ -794,7 +786,7 @@ var n = (e) => (e.client ?? t).post({
794
786
  "Content-Type": "application/json",
795
787
  ...e.headers
796
788
  }
797
- }), ye = (e) => (e.client ?? t).get({
789
+ }), ve = (e) => (e.client ?? t).get({
798
790
  security: [{
799
791
  key: "HTTPBearer",
800
792
  scheme: "bearer",
@@ -802,7 +794,7 @@ var n = (e) => (e.client ?? t).post({
802
794
  }],
803
795
  url: "/finops/v1/payables/analytics",
804
796
  ...e
805
- }), be = (n) => (n.client ?? t).post({
797
+ }), ye = (n) => (n.client ?? t).post({
806
798
  ...e,
807
799
  security: [{
808
800
  key: "HTTPBearer",
@@ -815,7 +807,7 @@ var n = (e) => (e.client ?? t).post({
815
807
  "Content-Type": null,
816
808
  ...n.headers
817
809
  }
818
- }), xe = (e) => (e.client ?? t).delete({
810
+ }), be = (e) => (e.client ?? t).delete({
819
811
  security: [{
820
812
  key: "HTTPBearer",
821
813
  scheme: "bearer",
@@ -823,7 +815,7 @@ var n = (e) => (e.client ?? t).post({
823
815
  }],
824
816
  url: "/finops/v1/payables/{payable_id}",
825
817
  ...e
826
- }), Se = (e) => (e.client ?? t).get({
818
+ }), xe = (e) => (e.client ?? t).get({
827
819
  security: [{
828
820
  key: "HTTPBearer",
829
821
  scheme: "bearer",
@@ -831,7 +823,7 @@ var n = (e) => (e.client ?? t).post({
831
823
  }],
832
824
  url: "/finops/v1/payables/{payable_id}",
833
825
  ...e
834
- }), Ce = (e) => (e.client ?? t).patch({
826
+ }), Se = (e) => (e.client ?? t).patch({
835
827
  security: [{
836
828
  key: "HTTPBearer",
837
829
  scheme: "bearer",
@@ -843,7 +835,7 @@ var n = (e) => (e.client ?? t).post({
843
835
  "Content-Type": "application/json",
844
836
  ...e.headers
845
837
  }
846
- }), we = (e) => (e.client ?? t).post({
838
+ }), Ce = (e) => (e.client ?? t).post({
847
839
  security: [{
848
840
  key: "HTTPBearer",
849
841
  scheme: "bearer",
@@ -851,7 +843,7 @@ var n = (e) => (e.client ?? t).post({
851
843
  }],
852
844
  url: "/finops/v1/payables/{payable_id}/approve-payment-operation",
853
845
  ...e
854
- }), Te = (n) => (n.client ?? t).post({
846
+ }), we = (n) => (n.client ?? t).post({
855
847
  ...e,
856
848
  security: [{
857
849
  key: "HTTPBearer",
@@ -864,7 +856,7 @@ var n = (e) => (e.client ?? t).post({
864
856
  "Content-Type": null,
865
857
  ...n.headers
866
858
  }
867
- }), Ee = (e) => (e.client ?? t).post({
859
+ }), Te = (e) => (e.client ?? t).post({
868
860
  security: [{
869
861
  key: "HTTPBearer",
870
862
  scheme: "bearer",
@@ -872,6 +864,14 @@ var n = (e) => (e.client ?? t).post({
872
864
  }],
873
865
  url: "/finops/v1/payables/{payable_id}/cancel",
874
866
  ...e
867
+ }), Ee = (e) => (e.client ?? t).delete({
868
+ security: [{
869
+ key: "HTTPBearer",
870
+ scheme: "bearer",
871
+ type: "http"
872
+ }],
873
+ url: "/finops/v1/payables/{payable_id}/file",
874
+ ...e
875
875
  }), De = (e) => (e.client ?? t).get({
876
876
  security: [{
877
877
  key: "HTTPBearer",
@@ -1622,4 +1622,4 @@ var n = (e) => (e.client ?? t).post({
1622
1622
  ...e
1623
1623
  });
1624
1624
  //#endregion
1625
- export { wt as bulkUpdateDepartmentMembers, jt as bulkUpdateLocationMembers, Pt as bulkUpdateRoleMembers, T as connectExternalBankAccount, M as createAchMoneyMovement, a as createApplication, l as createBankAccount, N as createBookTransfer, x as createDebitCard, bt as createDepartment, Dt as createLocation, zt as createUser, xt as deactivateDepartment, Ot as deactivateLocation, R as deleteApprovalPoliciesId, G as deleteCounterpartsId, $ as deleteCounterpartsIdBankAccountsId, ce as deleteFilesId, de as deleteLedgerAccountsId, he as deleteMeasureUnitsId, xe as deletePayablesId, He as deleteProductsId, Ke as deleteReceiptsId, Xe as deleteReceivablesId, mt as deleteTagsId, Vt as disableUser, g as downloadBankAccountTransactions, P as getAnalyticsPayables, F as getAnalyticsReceivables, r as getApiWidgetGatewayInit, i as getApplicationStatus, I as getApprovalPolicies, B as getApprovalRequests, d as getBankAccount, p as getBankAccountAccess, h as getBankAccountTransactions, _ as getBankAccountTransfers, c as getBankAccounts, U as getCounterparts, K as getCounterpartsId, J as getCounterpartsIdAddresses, Z as getCounterpartsIdBankAccounts, y as getCreditCardById, v as getCreditCards, C as getDebitCardById, b as getDebitCards, St as getDepartment, Tt as getDisclosures, re as getEntitiesIdSettings, ne as getEntitiesMe, ae as getEntityUsers, oe as getEntityUsersMe, se as getEntityUsersMyEntity, O as getExternalBankAccountAccess, w as getExternalBankAccounts, le as getLedgerAccounts, kt as getLocation, pe as getMeasureUnits, Mt as getOrganization, _e as getPayables, ye as getPayablesAnalytics, Se as getPayablesId, De as getPayablesIdHistory, Oe as getPayablesIdLineItems, Fe as getPayablesIdSuggestions, Le as getPaymentRecords, ze as getPaymentTerms, Be as getProducts, Ue as getProductsId, Ge as getReceipts, Je as getReceivables, Ze as getReceivablesId, rt as getReceivablesIdHistory, ot as getReceivablesIdMails, ut as getReceivablesIdPdfLink, ft as getTags, gt as getTransactions, _t as getTransactionsValidations, It as getUserData, Rt as getUsers, m as grantBankAccountAccess, k as grantExternalBankAccountAccess, A as linkExternalBankAccount, yt as listDepartments, Et as listLocations, Ft as listRolePermissions, Nt as listRoles, u as manageBankAccountAccess, S as manageDebitCardAccess, z as patchApprovalPoliciesId, q as patchCounterpartsId, X as patchCounterpartsIdAddressesId, ee as patchCounterpartsIdBankAccountsId, ie as patchEntitiesIdSettings, fe as patchLedgerAccountsId, ge as patchMeasureUnitsId, Ce as patchPayablesId, We as patchProductsId, qe as patchReceiptsId, Qe as patchReceivablesId, ht as patchTagsId, n as postApiWidgetGatewayDisclosureAcceptance, L as postApprovalPolicies, V as postApprovalRequestsIdApprove, H as postApprovalRequestsIdReject, W as postCounterparts, Y as postCounterpartsIdAddresses, Q as postCounterpartsIdBankAccounts, te as postCounterpartsIdBankAccountsIdMakeDefault, ue as postLedgerAccounts, me as postMeasureUnits, ve as postPayables, we as postPayablesIdApprovePaymentOperation, Te as postPayablesIdAttachFile, Ee as postPayablesIdCancel, Ae as postPayablesIdMarkAsPaid, je as postPayablesIdReject, Me as postPayablesIdReopen, Ne as postPayablesIdSchedulePayment, Pe as postPayablesIdSubmitForApproval, Ie as postPayablesIdValidate, be as postPayablesUploadFromFile, Re as postPaymentRecordsIdCancel, Ve as postProducts, Ye as postReceivables, $e as postReceivablesIdAccept, et as postReceivablesIdCancel, tt as postReceivablesIdClone, nt as postReceivablesIdDecline, it as postReceivablesIdIssue, st as postReceivablesIdMarkAsPaid, ct as postReceivablesIdMarkAsPartiallyPaid, lt as postReceivablesIdMarkAsUncollectible, dt as postReceivablesIdSend, pt as postTags, ke as putPayablesIdLineItems, at as putReceivablesIdLineItems, vt as putTransactionsValidations, s as submitApplication, E as unlinkExternalBankAccount, o as updateApplication, f as updateBankAccount, Ct as updateDepartment, D as updateExternalBankAccount, At as updateLocation, Bt as updateUser, Lt as upsertUserData, j as validateExternalBankAccount };
1625
+ export { wt as bulkUpdateDepartmentMembers, jt as bulkUpdateLocationMembers, Pt as bulkUpdateRoleMembers, T as connectExternalBankAccount, M as createAchMoneyMovement, a as createApplication, l as createBankAccount, N as createBookTransfer, x as createDebitCard, bt as createDepartment, Dt as createLocation, zt as createUser, xt as deactivateDepartment, Ot as deactivateLocation, R as deleteApprovalPoliciesId, G as deleteCounterpartsId, $ as deleteCounterpartsIdBankAccountsId, ue as deleteLedgerAccountsId, me as deleteMeasureUnitsId, be as deletePayablesId, Ee as deletePayablesIdFile, He as deleteProductsId, Ke as deleteReceiptsId, Xe as deleteReceivablesId, mt as deleteTagsId, Vt as disableUser, g as downloadBankAccountTransactions, P as getAnalyticsPayables, F as getAnalyticsReceivables, r as getApiWidgetGatewayInit, i as getApplicationStatus, I as getApprovalPolicies, B as getApprovalRequests, d as getBankAccount, p as getBankAccountAccess, h as getBankAccountTransactions, _ as getBankAccountTransfers, c as getBankAccounts, U as getCounterparts, K as getCounterpartsId, J as getCounterpartsIdAddresses, Z as getCounterpartsIdBankAccounts, y as getCreditCardById, v as getCreditCards, C as getDebitCardById, b as getDebitCards, St as getDepartment, Tt as getDisclosures, re as getEntitiesIdSettings, ne as getEntitiesMe, ae as getEntityUsers, oe as getEntityUsersMe, se as getEntityUsersMyEntity, O as getExternalBankAccountAccess, w as getExternalBankAccounts, ce as getLedgerAccounts, kt as getLocation, fe as getMeasureUnits, Mt as getOrganization, ge as getPayables, ve as getPayablesAnalytics, xe as getPayablesId, De as getPayablesIdHistory, Oe as getPayablesIdLineItems, Fe as getPayablesIdSuggestions, Le as getPaymentRecords, ze as getPaymentTerms, Be as getProducts, Ue as getProductsId, Ge as getReceipts, Je as getReceivables, Ze as getReceivablesId, rt as getReceivablesIdHistory, ot as getReceivablesIdMails, ut as getReceivablesIdPdfLink, ft as getTags, gt as getTransactions, _t as getTransactionsValidations, It as getUserData, Rt as getUsers, m as grantBankAccountAccess, k as grantExternalBankAccountAccess, A as linkExternalBankAccount, yt as listDepartments, Et as listLocations, Ft as listRolePermissions, Nt as listRoles, u as manageBankAccountAccess, S as manageDebitCardAccess, z as patchApprovalPoliciesId, q as patchCounterpartsId, X as patchCounterpartsIdAddressesId, ee as patchCounterpartsIdBankAccountsId, ie as patchEntitiesIdSettings, de as patchLedgerAccountsId, he as patchMeasureUnitsId, Se as patchPayablesId, We as patchProductsId, qe as patchReceiptsId, Qe as patchReceivablesId, ht as patchTagsId, n as postApiWidgetGatewayDisclosureAcceptance, L as postApprovalPolicies, V as postApprovalRequestsIdApprove, H as postApprovalRequestsIdReject, W as postCounterparts, Y as postCounterpartsIdAddresses, Q as postCounterpartsIdBankAccounts, te as postCounterpartsIdBankAccountsIdMakeDefault, le as postLedgerAccounts, pe as postMeasureUnits, _e as postPayables, Ce as postPayablesIdApprovePaymentOperation, we as postPayablesIdAttachFile, Te as postPayablesIdCancel, Ae as postPayablesIdMarkAsPaid, je as postPayablesIdReject, Me as postPayablesIdReopen, Ne as postPayablesIdSchedulePayment, Pe as postPayablesIdSubmitForApproval, Ie as postPayablesIdValidate, ye as postPayablesUploadFromFile, Re as postPaymentRecordsIdCancel, Ve as postProducts, Ye as postReceivables, $e as postReceivablesIdAccept, et as postReceivablesIdCancel, tt as postReceivablesIdClone, nt as postReceivablesIdDecline, it as postReceivablesIdIssue, st as postReceivablesIdMarkAsPaid, ct as postReceivablesIdMarkAsPartiallyPaid, lt as postReceivablesIdMarkAsUncollectible, dt as postReceivablesIdSend, pt as postTags, ke as putPayablesIdLineItems, at as putReceivablesIdLineItems, vt as putTransactionsValidations, s as submitApplication, E as unlinkExternalBankAccount, o as updateApplication, f as updateBankAccount, Ct as updateDepartment, D as updateExternalBankAccount, At as updateLocation, Bt as updateUser, Lt as upsertUserData, j as validateExternalBankAccount };