@tesouro/embedded-components-react 0.3.23 → 0.3.25

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 (85) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +10 -10
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +2 -2
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +2 -2
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +1 -1
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +17 -12
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -0
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +2 -0
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +47 -38
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +108 -93
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +14 -6
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +1 -1
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +1 -0
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +8 -4
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +1 -0
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +2 -2
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +33 -30
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +0 -1
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -40
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +23 -266
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +46 -6
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +273 -45
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +5 -18
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +45 -282
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +19 -13
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +273 -107
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +13 -9
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +113 -92
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +9 -10
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +95 -54
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +9 -50
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +53 -137
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +52 -2
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +138 -37
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +2 -5
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +37 -88
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +5 -2
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +88 -12
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -77
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +11 -253
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +2 -13
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +82 -0
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +264 -8
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +9 -45
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +0 -1
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +7 -36
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +47 -10
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +2 -201
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +39 -3
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +3 -7
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +188 -301
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +3 -10
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +12 -4
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +317 -81
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +10 -0
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +8 -2
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +91 -16
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +1 -1
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +14 -3
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +109 -26
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +3 -3
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +26 -30
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +4 -9
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +30 -102
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +9 -14
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +85 -104
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +10 -11
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +123 -8
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -170
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +18 -2
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +7 -11
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +163 -82
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +1 -1
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +14 -0
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +108 -0
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -0
  81. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +2 -2
  82. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +27 -27
  83. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  84. package/package.json +1 -1
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +0 -113
@@ -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 "./index92.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/index93.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 "./index92.js";
2
+ import "./index93.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 };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.3.23", n = "2c86c1a6096cdfb0a4143e242e82228176ddfae4", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.3.25", n = "d587f871fc9bd10dabe7c35c1dfaf759e988bb19", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {
@@ -1,113 +0,0 @@
1
- import { Button as e, Checkbox as t, Dialog as n, DialogContent as r, DialogDescription as i, DialogFooter as a, DialogHeader as o, DialogTitle as s, Table as c, TableBody as l, TableCell as u, TableHead as d, TableHeader as f, TableRow as p } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BillDuplicateBadge as m } from "./index54.js";
3
- import "./index55.js";
4
- import { DUPLICATE_BILLS_DIALOG_LABELS_EN as h } from "./index70.js";
5
- import { useMemo as g } from "react";
6
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
7
- import { Ban as y, ChevronRightIcon as b, CopyX as x } from "lucide-react";
8
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js
9
- function S({ open: S, onOpenChange: C, rows: w, selectAllChecked: T = !1, onToggleAllRows: E, onKeepSelected: D, onCancelDuplicates: O, isActionDisabled: k, labels: A }) {
10
- let j = g(() => ({
11
- ...h,
12
- ...A
13
- }), [A]);
14
- return /* @__PURE__ */ _(n, {
15
- open: S,
16
- onOpenChange: C,
17
- children: /* @__PURE__ */ v(r, {
18
- className: "ttw:flex ttw:flex-col ttw:gap-8 ttw:sm:max-w-208.75",
19
- showCloseButton: !0,
20
- children: [
21
- /* @__PURE__ */ v(o, {
22
- className: "ttw:items-center ttw:gap-3 ttw:text-center ttw:sm:text-center",
23
- children: [
24
- /* @__PURE__ */ _("div", {
25
- className: "ttw:flex ttw:items-center ttw:justify-center ttw:border ttw:rounded-full ttw:size-11 ttw:border-orange-300 ttw:bg-orange-200",
26
- children: /* @__PURE__ */ _(x, {
27
- className: "ttw:size-4 ttw:text-orange-950",
28
- "aria-hidden": !0
29
- })
30
- }),
31
- /* @__PURE__ */ _(s, { children: j.title }),
32
- /* @__PURE__ */ v(i, { children: [/* @__PURE__ */ _("span", {
33
- className: "ttw:block",
34
- children: j.descriptionFirstLine
35
- }), /* @__PURE__ */ _("span", {
36
- className: "ttw:block",
37
- children: j.descriptionSecondLine
38
- })] })
39
- ]
40
- }),
41
- /* @__PURE__ */ _("div", {
42
- className: "ttw:max-h-80 ttw:overflow-y-auto",
43
- children: /* @__PURE__ */ v(c, { children: [/* @__PURE__ */ _(f, {
44
- className: "ttw:sticky ttw:top-0 ttw:bg-background",
45
- children: /* @__PURE__ */ v(p, { children: [
46
- /* @__PURE__ */ _(d, {
47
- className: "ttw:w-10",
48
- children: /* @__PURE__ */ _(t, {
49
- "aria-label": j.selectAllRows,
50
- checked: T,
51
- onCheckedChange: E
52
- })
53
- }),
54
- /* @__PURE__ */ _(d, { children: j.columnDuplicate }),
55
- /* @__PURE__ */ _(d, { children: j.columnVendor }),
56
- /* @__PURE__ */ _(d, { children: j.columnInvoiceNumber }),
57
- /* @__PURE__ */ _(d, { children: j.columnAmount }),
58
- /* @__PURE__ */ _(d, { children: j.columnInvoiceDate }),
59
- /* @__PURE__ */ _(d, { children: j.columnAddedOn }),
60
- /* @__PURE__ */ _(d, {
61
- className: "ttw:w-10",
62
- children: /* @__PURE__ */ _("span", {
63
- className: "ttw:sr-only",
64
- children: j.columnActions
65
- })
66
- })
67
- ] })
68
- }), /* @__PURE__ */ _(l, { children: w.map((n) => /* @__PURE__ */ v(p, { children: [
69
- /* @__PURE__ */ _(u, { children: /* @__PURE__ */ _(t, {
70
- "aria-label": n.selectLabel,
71
- checked: n.isSelected ?? !1,
72
- onCheckedChange: n.onToggleSelected
73
- }) }),
74
- /* @__PURE__ */ _(u, { children: /* @__PURE__ */ _(m, { ...n.duplicateBadge }) }),
75
- /* @__PURE__ */ _(u, { children: n.vendorLabel }),
76
- /* @__PURE__ */ _(u, { children: n.invoiceNumberLabel }),
77
- /* @__PURE__ */ _(u, { children: n.amountLabel }),
78
- /* @__PURE__ */ _(u, { children: n.invoiceDateLabel }),
79
- /* @__PURE__ */ _(u, { children: n.addedOnLabel }),
80
- /* @__PURE__ */ _(u, { children: /* @__PURE__ */ _("div", {
81
- className: "ttw:flex ttw:justify-end",
82
- children: /* @__PURE__ */ _(e, {
83
- variant: "ghost",
84
- size: "icon",
85
- "aria-label": n.openLabel,
86
- onClick: n.onOpen,
87
- children: /* @__PURE__ */ _(b, { className: "ttw:size-4" })
88
- })
89
- }) })
90
- ] }, n.id)) })] })
91
- }),
92
- D || O ? /* @__PURE__ */ v(a, {
93
- className: "ttw:flex-row",
94
- children: [D ? /* @__PURE__ */ _(e, {
95
- variant: "outline",
96
- className: "ttw:flex-1",
97
- disabled: k,
98
- onClick: D,
99
- children: j.keepSelectedButton
100
- }) : null, O ? /* @__PURE__ */ v(e, {
101
- variant: "destructive",
102
- className: "ttw:flex-1",
103
- disabled: k,
104
- onClick: O,
105
- children: [/* @__PURE__ */ _(y, {}), j.cancelDuplicatesButton]
106
- }) : null]
107
- }) : null
108
- ]
109
- })
110
- });
111
- }
112
- //#endregion
113
- export { S as DuplicateBillsDialog, S as default };