@tesouro/embedded-components-react 0.5.257 → 0.5.259

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 (64) hide show
  1. package/README.md +2 -1
  2. package/dist/fixtures/index.d.ts +1 -1
  3. package/dist/index.css +109 -9
  4. package/dist/index.d.ts +41 -10
  5. package/dist/lib/ReceivablesWidget.d.ts +41 -10
  6. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +11 -10
  7. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +42 -94
  8. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +91 -76
  9. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +67 -173
  10. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index13.js +186 -17
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index14.js +27 -0
  12. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +28 -72
  13. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +128 -53
  14. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +66 -28
  15. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +28 -34
  16. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +24 -168
  17. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +173 -44
  18. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +274 -267
  19. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +99 -95
  20. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +1 -0
  21. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentTerms.js +28 -25
  22. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/preview.js +49 -43
  23. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/unsavedChanges.js +13 -0
  24. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +4 -4
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +2 -2
  26. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +1 -1
  27. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +77 -72
  28. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +4 -4
  29. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +363 -295
  30. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableIssuePreflight.js +1 -1
  31. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +1 -1
  32. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePreview.js +36 -21
  33. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
  34. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +1 -1
  35. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +1 -1
  36. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +12 -10
  37. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +21 -14
  38. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +1 -1
  39. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +68 -64
  41. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +383 -379
  42. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +22 -0
  43. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +8 -2
  44. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +258 -1
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +2 -100
  46. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +95 -23
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +23 -231
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +237 -3
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +3 -249
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +234 -78
  51. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +87 -53
  52. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +49 -349
  53. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js +359 -0
  54. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +45 -0
  55. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
  56. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +247 -214
  57. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +175 -147
  58. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1 -1
  59. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/feature/dist/index.js +12 -12
  61. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index2.js +2 -1
  62. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +109 -89
  63. package/package.json +1 -1
  64. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +0 -4
@@ -1,38 +1,32 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { postReceivablesIdSend as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
- import { invalidateAllClients as t } from "../../../shared/data-access/dist/lib/clientRegistry.js";
7
- import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
- import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
1
+ import { invalidateAllClients as e, resetAllClients as t } from "../../../shared/data-access/dist/lib/clientRegistry.js";
9
2
  import "../../../shared/data-access/dist/index.js";
10
- import { receivableMailsInvalidationKey as i } from "./index2.js";
11
- import { invalidateReceivable as a } from "./index6.js";
12
- import { useMutation as o } from "@tanstack/react-query";
3
+ import { receivableHistoryInvalidationKey as n, receivableInvalidationKey as r, receivablePdfInvalidationKey as i, receivablesAnalyticsInvalidationKey as a, receivablesInvalidationKey as o } from "./index2.js";
13
4
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js
14
- function s() {
15
- let { client: s, organizationId: c } = n();
16
- return o({
17
- mutationFn: async ({ path: t, body: n }) => {
18
- let { data: i } = await e({
19
- client: s,
20
- headers: r(c),
21
- path: t,
22
- body: n,
23
- throwOnError: !0
24
- });
25
- return i;
26
- },
27
- onSuccess: async (e, n) => {
28
- let r = {
29
- client: s,
30
- organizationId: c,
31
- receivableId: n.path.receivable_id
32
- };
33
- await Promise.all([t(i(r)), a(r)]);
34
- }
35
- });
5
+ async function s({ client: s, organizationId: c, receivableId: l, resetPdf: u = !1 }) {
6
+ let d = [
7
+ o({
8
+ client: s,
9
+ organizationId: c
10
+ }),
11
+ a({
12
+ client: s,
13
+ organizationId: c
14
+ }),
15
+ ...l ? [r({
16
+ client: s,
17
+ organizationId: c,
18
+ receivableId: l
19
+ }), n({
20
+ client: s,
21
+ organizationId: c,
22
+ receivableId: l
23
+ })] : []
24
+ ], f = l ? i({
25
+ client: s,
26
+ organizationId: c,
27
+ receivableId: l
28
+ }) : void 0;
29
+ await Promise.all([...d.map((t) => e(t)), ...f ? [u ? t(f) : e(f)] : []]);
36
30
  }
37
31
  //#endregion
38
- export { s as useSendReceivableEmailMutation };
32
+ export { s as invalidateReceivable };
@@ -2,181 +2,37 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { deleteReceivablesId as e, patchReceivablesId as t, postReceivables as n, postReceivablesIdAccept as r, postReceivablesIdCancel as i, postReceivablesIdClone as a, postReceivablesIdDecline as o, postReceivablesIdIssue as s } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
- import { useEmbedApi as c } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { organizationHeaders as l } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
5
+ import { postReceivablesIdSend as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
+ import { invalidateAllClients as t } from "../../../shared/data-access/dist/lib/clientRegistry.js";
7
+ import { useEmbedApi as n } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
+ import { organizationHeaders as r } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
9
  import "../../../shared/data-access/dist/index.js";
9
- import { invalidateReceivable as u } from "./index6.js";
10
- import { useMutation as d } from "@tanstack/react-query";
10
+ import { receivableMailsInvalidationKey as i } from "./index2.js";
11
+ import { invalidateReceivable as a } from "./index7.js";
12
+ import { useMutation as o } from "@tanstack/react-query";
11
13
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js
12
- function f() {
13
- let { client: e, organizationId: t } = c();
14
- return d({
15
- mutationFn: async ({ body: r }) => {
16
- let { data: i } = await n({
17
- client: e,
18
- headers: l(t),
19
- body: r,
14
+ function s() {
15
+ let { client: s, organizationId: c } = n();
16
+ return o({
17
+ mutationFn: async ({ path: t, body: n }) => {
18
+ let { data: i } = await e({
19
+ client: s,
20
+ headers: r(c),
21
+ path: t,
22
+ body: n,
20
23
  throwOnError: !0
21
24
  });
22
25
  return i;
23
26
  },
24
- onSuccess: async () => {
25
- await u({
26
- client: e,
27
- organizationId: t
28
- });
29
- }
30
- });
31
- }
32
- function p() {
33
- let { client: e, organizationId: n } = c();
34
- return d({
35
- mutationFn: async ({ path: r, body: i }) => {
36
- let { data: a } = await t({
37
- client: e,
38
- headers: l(n),
39
- path: r,
40
- body: i,
41
- throwOnError: !0
42
- });
43
- return a;
44
- },
45
- onSuccess: async (t, r) => {
46
- await u({
47
- client: e,
48
- organizationId: n,
49
- receivableId: r.path.receivable_id,
50
- resetPdf: !0
51
- });
52
- }
53
- });
54
- }
55
- function m() {
56
- let { client: t, organizationId: n } = c();
57
- return d({
58
- mutationFn: async ({ path: r }) => {
59
- await e({
60
- client: t,
61
- headers: l(n),
62
- path: r,
63
- throwOnError: !0
64
- });
65
- },
66
- onSuccess: async (e, r) => {
67
- await u({
68
- client: t,
69
- organizationId: n,
70
- receivableId: r.path.receivable_id
71
- });
72
- }
73
- });
74
- }
75
- function h() {
76
- let { client: e, organizationId: t } = c();
77
- return d({
78
- mutationFn: async ({ path: n }) => {
79
- let { data: r } = await s({
80
- client: e,
81
- headers: l(t),
82
- path: n,
83
- throwOnError: !0
84
- });
85
- return r;
86
- },
87
- onSuccess: async (n, r) => {
88
- await u({
89
- client: e,
90
- organizationId: t,
91
- receivableId: r.path.receivable_id,
92
- resetPdf: !0
93
- });
94
- }
95
- });
96
- }
97
- function g() {
98
- let { client: e, organizationId: t } = c();
99
- return d({
100
- mutationFn: async ({ path: n }) => {
101
- await i({
102
- client: e,
103
- headers: l(t),
104
- path: n,
105
- throwOnError: !0
106
- });
107
- },
108
- onSuccess: async (n, r) => {
109
- await u({
110
- client: e,
111
- organizationId: t,
112
- receivableId: r.path.receivable_id
113
- });
114
- }
115
- });
116
- }
117
- function _() {
118
- let { client: e, organizationId: t } = c();
119
- return d({
120
- mutationFn: async ({ path: n }) => {
121
- let { data: r } = await a({
122
- client: e,
123
- headers: l(t),
124
- path: n,
125
- throwOnError: !0
126
- });
127
- return r;
128
- },
129
- onSuccess: async () => {
130
- await u({
131
- client: e,
132
- organizationId: t
133
- });
134
- }
135
- });
136
- }
137
- function v() {
138
- let { client: e, organizationId: t } = c();
139
- return d({
140
- mutationFn: async ({ path: n, body: i }) => {
141
- let { data: a } = await r({
142
- client: e,
143
- headers: l(t),
144
- path: n,
145
- body: i,
146
- throwOnError: !0
147
- });
148
- return a;
149
- },
150
- onSuccess: async (n, r) => {
151
- await u({
152
- client: e,
153
- organizationId: t,
154
- receivableId: r.path.receivable_id
155
- });
156
- }
157
- });
158
- }
159
- function y() {
160
- let { client: e, organizationId: t } = c();
161
- return d({
162
- mutationFn: async ({ path: n, body: r }) => {
163
- let { data: i } = await o({
164
- client: e,
165
- headers: l(t),
166
- path: n,
167
- body: r,
168
- throwOnError: !0
169
- });
170
- return i;
171
- },
172
- onSuccess: async (n, r) => {
173
- await u({
174
- client: e,
175
- organizationId: t,
176
- receivableId: r.path.receivable_id
177
- });
27
+ onSuccess: async (e, n) => {
28
+ let r = {
29
+ client: s,
30
+ organizationId: c,
31
+ receivableId: n.path.receivable_id
32
+ };
33
+ await Promise.all([t(i(r)), a(r)]);
178
34
  }
179
35
  });
180
36
  }
181
37
  //#endregion
182
- export { v as useAcceptReceivableMutation, g as useCancelReceivableMutation, _ as useCloneReceivableMutation, f as useCreateReceivableMutation, y as useDeclineReceivableMutation, m as useDeleteReceivableMutation, h as useIssueReceivableMutation, p as useUpdateReceivableMutation };
38
+ export { s as useSendReceivableEmailMutation };
@@ -2,52 +2,181 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { getPaymentRecords as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
- import { getPaymentRecordsQueryKey as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
- import { withAuthEpoch as n } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
- import { useEmbedApi as r } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
- import { organizationHeaders as i } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
5
+ import { deleteReceivablesId as e, patchReceivablesId as t, postReceivables as n, postReceivablesIdAccept as r, postReceivablesIdCancel as i, postReceivablesIdClone as a, postReceivablesIdDecline as o, postReceivablesIdIssue as s } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
+ import { useEmbedApi as c } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
+ import { organizationHeaders as l } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
10
8
  import "../../../shared/data-access/dist/index.js";
11
- import { queryOptions as a, useQuery as o } from "@tanstack/react-query";
9
+ import { invalidateReceivable as u } from "./index7.js";
10
+ import { useMutation as d } from "@tanstack/react-query";
12
11
  //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js
13
- var s = 100;
14
- function c(c, { enabled: l = !0 } = {}) {
15
- let { client: u, organizationId: d, widgetToken: f, authEpoch: p, organizationStatus: m } = r(), h = i(d), g = {
16
- object_id: c ?? "",
17
- limit: s
18
- }, _ = a({
19
- queryKey: [...t({
20
- client: u,
21
- headers: h,
22
- query: g
23
- }), "all"],
24
- queryFn: async ({ signal: t }) => {
25
- let n = [], r = /* @__PURE__ */ new Set(), i;
26
- do {
27
- let { data: a } = await e({
28
- client: u,
29
- headers: h,
30
- query: {
31
- ...g,
32
- ...i ? { pagination_token: i } : {}
33
- },
34
- signal: t,
35
- throwOnError: !0
36
- });
37
- n.push(...a.data ?? []);
38
- let o = a.next_pagination_token ?? void 0;
39
- i = o && !r.has(o) ? o : void 0, i && r.add(i);
40
- } while (i);
41
- return { data: n };
42
- }
43
- });
44
- return o({
45
- ...n(_, {
46
- authEpoch: p,
47
- organizationStatus: m
48
- }),
49
- enabled: !!(d && f && c) && l
12
+ function f() {
13
+ let { client: e, organizationId: t } = c();
14
+ return d({
15
+ mutationFn: async ({ body: r }) => {
16
+ let { data: i } = await n({
17
+ client: e,
18
+ headers: l(t),
19
+ body: r,
20
+ throwOnError: !0
21
+ });
22
+ return i;
23
+ },
24
+ onSuccess: async () => {
25
+ await u({
26
+ client: e,
27
+ organizationId: t
28
+ });
29
+ }
30
+ });
31
+ }
32
+ function p() {
33
+ let { client: e, organizationId: n } = c();
34
+ return d({
35
+ mutationFn: async ({ path: r, body: i }) => {
36
+ let { data: a } = await t({
37
+ client: e,
38
+ headers: l(n),
39
+ path: r,
40
+ body: i,
41
+ throwOnError: !0
42
+ });
43
+ return a;
44
+ },
45
+ onSuccess: async (t, r) => {
46
+ await u({
47
+ client: e,
48
+ organizationId: n,
49
+ receivableId: r.path.receivable_id,
50
+ resetPdf: !0
51
+ });
52
+ }
53
+ });
54
+ }
55
+ function m() {
56
+ let { client: t, organizationId: n } = c();
57
+ return d({
58
+ mutationFn: async ({ path: r }) => {
59
+ await e({
60
+ client: t,
61
+ headers: l(n),
62
+ path: r,
63
+ throwOnError: !0
64
+ });
65
+ },
66
+ onSuccess: async (e, r) => {
67
+ await u({
68
+ client: t,
69
+ organizationId: n,
70
+ receivableId: r.path.receivable_id
71
+ });
72
+ }
73
+ });
74
+ }
75
+ function h() {
76
+ let { client: e, organizationId: t } = c();
77
+ return d({
78
+ mutationFn: async ({ path: n }) => {
79
+ let { data: r } = await s({
80
+ client: e,
81
+ headers: l(t),
82
+ path: n,
83
+ throwOnError: !0
84
+ });
85
+ return r;
86
+ },
87
+ onSuccess: async (n, r) => {
88
+ await u({
89
+ client: e,
90
+ organizationId: t,
91
+ receivableId: r.path.receivable_id,
92
+ resetPdf: !0
93
+ });
94
+ }
95
+ });
96
+ }
97
+ function g() {
98
+ let { client: e, organizationId: t } = c();
99
+ return d({
100
+ mutationFn: async ({ path: n }) => {
101
+ await i({
102
+ client: e,
103
+ headers: l(t),
104
+ path: n,
105
+ throwOnError: !0
106
+ });
107
+ },
108
+ onSuccess: async (n, r) => {
109
+ await u({
110
+ client: e,
111
+ organizationId: t,
112
+ receivableId: r.path.receivable_id
113
+ });
114
+ }
115
+ });
116
+ }
117
+ function _() {
118
+ let { client: e, organizationId: t } = c();
119
+ return d({
120
+ mutationFn: async ({ path: n }) => {
121
+ let { data: r } = await a({
122
+ client: e,
123
+ headers: l(t),
124
+ path: n,
125
+ throwOnError: !0
126
+ });
127
+ return r;
128
+ },
129
+ onSuccess: async () => {
130
+ await u({
131
+ client: e,
132
+ organizationId: t
133
+ });
134
+ }
135
+ });
136
+ }
137
+ function v() {
138
+ let { client: e, organizationId: t } = c();
139
+ return d({
140
+ mutationFn: async ({ path: n, body: i }) => {
141
+ let { data: a } = await r({
142
+ client: e,
143
+ headers: l(t),
144
+ path: n,
145
+ body: i,
146
+ throwOnError: !0
147
+ });
148
+ return a;
149
+ },
150
+ onSuccess: async (n, r) => {
151
+ await u({
152
+ client: e,
153
+ organizationId: t,
154
+ receivableId: r.path.receivable_id
155
+ });
156
+ }
157
+ });
158
+ }
159
+ function y() {
160
+ let { client: e, organizationId: t } = c();
161
+ return d({
162
+ mutationFn: async ({ path: n, body: r }) => {
163
+ let { data: i } = await o({
164
+ client: e,
165
+ headers: l(t),
166
+ path: n,
167
+ body: r,
168
+ throwOnError: !0
169
+ });
170
+ return i;
171
+ },
172
+ onSuccess: async (n, r) => {
173
+ await u({
174
+ client: e,
175
+ organizationId: t,
176
+ receivableId: r.path.receivable_id
177
+ });
178
+ }
50
179
  });
51
180
  }
52
181
  //#endregion
53
- export { c as useReceivablePaymentRecordsQuery };
182
+ export { v as useAcceptReceivableMutation, g as useCancelReceivableMutation, _ as useCloneReceivableMutation, f as useCreateReceivableMutation, y as useDeclineReceivableMutation, m as useDeleteReceivableMutation, h as useIssueReceivableMutation, p as useUpdateReceivableMutation };