@tesouro/embedded-components-react 0.5.230 → 0.5.232

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 (175) hide show
  1. package/README.md +1 -0
  2. package/dist/index.css +14 -0
  3. package/dist/index.d.ts +125 -22
  4. package/dist/index.js +3 -3
  5. package/dist/lib/ExpenseManagementWidget.d.ts +22 -21
  6. package/dist/lib/ExpenseManagementWidget.js +1 -1
  7. package/dist/lib/ReceivablesWidget.d.ts +104 -2
  8. package/dist/lib/ReceivablesWidget.js +1 -1
  9. package/dist/lib/UploadReceiptWidget.d.ts +2 -2
  10. package/dist/lib/UploadReceiptWidget.js +2 -2
  11. package/dist/lib/WidgetSuite.d.ts +17 -15
  12. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index.js +3 -0
  13. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/feature/dist/index2.js +5 -0
  14. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{feature/dist/index24.js → approval-policies/feature/dist/index3.js} +7 -7
  15. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{feature/dist/index25.js → approval-policies/feature/dist/index4.js} +1 -1
  16. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{feature/dist/index26.js → approval-policies/feature/dist/index5.js} +1 -1
  17. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{feature/dist/index27.js → approval-policies/feature/dist/index6.js} +53 -53
  18. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/approval-policies/ui/dist/index.js +8 -0
  19. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/types.js → approval-policies/ui/dist/index2.js} +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/labels.js → approval-policies/ui/dist/index3.js} +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/conditionLabel.js → approval-policies/ui/dist/index4.js} +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/EmptyApprovalRules.js → approval-policies/ui/dist/index5.js} +3 -3
  23. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ApprovalRuleCard.js → approval-policies/ui/dist/index6.js} +5 -5
  24. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ApprovalRuleForm.js → approval-policies/ui/dist/index7.js} +4 -4
  25. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ExpenseApprovalPoliciesWidget/lib/ExpenseApprovalsPage.js → approval-policies/ui/dist/index8.js} +7 -7
  26. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index.js +18 -19
  27. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/invalidation.js +2 -0
  28. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index20.js → lib/invalidateTransactionViews.js} +4 -4
  29. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index10.js → lib/queryKeys.js} +4 -4
  30. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index5.js → lib/useEntityUsersByIdsQuery.js} +6 -6
  31. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index8.js → lib/useExpenseHistoryQuery.js} +6 -6
  32. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index7.js → lib/useExpenseLedgerAccountsQuery.js} +3 -3
  33. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index17.js → lib/useExpenseReceiptsCountQuery.js} +5 -5
  34. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index16.js → lib/useExpenseTransactionIdsQuery.js} +2 -2
  35. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index15.js → lib/useExpenseTransactionsCountQuery.js} +5 -5
  36. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index19.js → lib/useGetApprovalRequestsQuery.js} +5 -5
  37. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index9.js → lib/useGetTransactionQuery.js} +5 -5
  38. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index3.js → lib/useGetTransactionsQuery.js} +5 -5
  39. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useHasDirectReportsQuery.js +34 -0
  40. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index4.js → lib/useOrganizationDepartmentsQuery.js} +6 -6
  41. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/lib/useOrganizationLocationsQuery.js +28 -0
  42. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index11.js → lib/usePatchReceiptMutation.js} +7 -7
  43. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index14.js → lib/useTrackReceiptMatching.js} +7 -7
  44. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index21.js → lib/useTransactionReviewMutations.js} +6 -6
  45. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index18.js → lib/useTransactionValidationsQuery.js} +5 -5
  46. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/{index13.js → lib/useUploadReceiptMutation.js} +7 -7
  47. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index.js +10 -10
  48. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index10.js +77 -160
  49. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index11.js +356 -63
  50. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index12.js +36 -71
  51. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +130 -344
  52. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index14.js +223 -36
  53. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index15.js +192 -137
  54. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index16.js +11 -227
  55. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index17.js +81 -186
  56. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index18.js +37 -11
  57. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index19.js +309 -82
  58. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js +30 -87
  59. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index20.js +1 -39
  60. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js +3 -2
  61. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index5.js +23 -257
  62. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index6.js +18 -2
  63. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index7.js +160 -59
  64. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index8.js +62 -28
  65. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index9.js +28 -18
  66. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/data-access/dist/index.js +3 -0
  67. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{data-access → receipt-match/data-access}/dist/index2.js +5 -5
  68. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/data-access/dist/index3.js +40 -0
  69. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index.js +2 -0
  70. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index2.js +256 -0
  71. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index3.js +5 -0
  72. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/feature/dist/index4.js +65 -0
  73. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/receipt-match/ui/dist/index.js +8 -0
  74. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/labels.js → receipt-match/ui/dist/index2.js} +1 -1
  75. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/ReceiptInboxItem.js → receipt-match/ui/dist/index3.js} +3 -3
  76. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/ReceiptInboxStep.js → receipt-match/ui/dist/index4.js} +6 -6
  77. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/TransactionsMatchStep.js → receipt-match/ui/dist/index5.js} +27 -27
  78. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/MatchConfirmationStep.js → receipt-match/ui/dist/index6.js} +3 -3
  79. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/ReceiptMatchSidebar.js → receipt-match/ui/dist/index7.js} +6 -6
  80. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui/dist/lib/ReceiptMatchWidget/lib/ReceiptMatchLauncher.js → receipt-match/ui/dist/index8.js} +1 -1
  81. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/index.js +9 -28
  82. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseStatusBadge/ExpenseStatusBadge.js +7 -12
  83. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseStatusBadge/badgeTones.js +1 -7
  84. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesScreen/ExpensesScreen.js +61 -55
  85. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesScreen/labels.js +2 -1
  86. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsTable/ExpensesTransactionsTable.js +42 -44
  87. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/FileViewer.js +6 -6
  88. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/TransactionDetails.js +137 -138
  89. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/TransactionDetailsActions.js +82 -80
  90. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/{ui → util}/dist/lib/isPdf.js +1 -1
  91. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/util/dist/lib/widgetName.js +4 -0
  92. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +11 -10
  93. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +92 -55
  94. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +64 -142
  95. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +186 -17
  96. package/dist/libs/tesouro-embedded-components-react/{expense-management-widget/data-access/dist/index6.js → invoicing-widget/data-access/dist/index13.js} +8 -9
  97. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +45 -74
  98. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +68 -53
  99. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +66 -32
  100. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +32 -34
  101. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +24 -166
  102. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +175 -1
  103. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +42 -95
  104. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
  105. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +36 -33
  106. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index14.js +38 -0
  107. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +206 -147
  109. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +2 -2
  110. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +39 -58
  111. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +53 -227
  112. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +216 -287
  113. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +453 -43
  114. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +103 -126
  115. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +122 -146
  116. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +145 -41
  117. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +39 -115
  118. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +113 -90
  119. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +81 -98
  120. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +111 -27
  121. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +26 -633
  122. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +639 -39
  123. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +41 -40
  124. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +35 -74
  125. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index34.js +73 -130
  126. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index35.js +133 -329
  127. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index36.js +345 -0
  128. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +13 -12
  129. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +15 -12
  130. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +35 -24
  131. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +8 -71
  132. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +70 -17
  133. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +31 -12
  134. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +18 -30
  135. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +12 -301
  136. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +33 -1
  137. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +14 -46
  138. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +23 -67
  139. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +76 -485
  140. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +392 -95
  141. package/dist/libs/tesouro-embedded-components-react/{expense-management-widget/feature/dist/index22.js → invoicing-widget/ui/dist/index31.js} +1 -0
  142. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +48 -2
  143. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +72 -4
  144. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +496 -1
  145. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +97 -91
  146. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +2 -236
  147. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +3 -2
  148. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +1 -249
  149. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +89 -82
  150. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +23 -54
  151. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +223 -340
  152. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +3 -0
  153. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +249 -0
  154. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +93 -0
  155. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +59 -0
  156. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +353 -0
  157. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +17 -1
  158. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +1 -1
  159. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +41 -41
  160. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +75 -43
  161. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  162. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatTimestampDate.js +13 -0
  163. package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/index.js +4 -0
  164. package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/feature/dist/index2.js +91 -0
  165. package/dist/libs/tesouro-embedded-components-react/upload-receipt-widget/ui/dist/index.js +4 -0
  166. package/dist/libs/tesouro-embedded-components-react/{expense-management-widget/ui/dist/lib/UploadReceiptWidget/labels.js → upload-receipt-widget/ui/dist/index2.js} +1 -1
  167. package/dist/libs/tesouro-embedded-components-react/{expense-management-widget/ui/dist/lib/UploadReceiptWidget/UploadReceiptButton.js → upload-receipt-widget/ui/dist/index3.js} +3 -3
  168. package/dist/libs/tesouro-embedded-components-react/{expense-management-widget/ui/dist/lib/UploadReceiptWidget/UploadReceiptModal.js → upload-receipt-widget/ui/dist/index4.js} +3 -3
  169. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index11.js +1 -1
  170. package/package.json +1 -1
  171. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index12.js +0 -39
  172. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index21.js +0 -297
  173. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index23.js +0 -4
  174. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseStatusBadge/labels.js +0 -13
  175. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +0 -28
@@ -0,0 +1,353 @@
1
+ import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Tabs as f, TabsList as p, TabsTrigger as m } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { EmptyState as h } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
+ import { ErrorState as g } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
4
+ import "../../../shared/ui/dist/index.js";
5
+ import { RECEIVABLES_SCREEN_LABELS_EN as _ } from "./index9.js";
6
+ import { ReceivableStatusBadge as v } from "./index18.js";
7
+ import { ReceivableStatusCards as y } from "./index46.js";
8
+ import { jsx as b, jsxs as x } from "react/jsx-runtime";
9
+ import { ArrowDownIcon as S, ArrowUpDownIcon as C, ArrowUpIcon as w, MoreHorizontalIcon as T, PlusIcon as E, SearchIcon as D, SettingsIcon as O } from "lucide-react";
10
+ //#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js
11
+ var k = [
12
+ 10,
13
+ 25,
14
+ 50,
15
+ 100
16
+ ], A = "all";
17
+ function j({ label: t, ariaLabel: n, column: r }) {
18
+ let i = r.getIsSorted();
19
+ return /* @__PURE__ */ x("div", {
20
+ className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
21
+ children: [t, /* @__PURE__ */ b(e, {
22
+ variant: "ghost",
23
+ size: "icon-sm",
24
+ "aria-label": n,
25
+ onClick: () => r.toggleSorting(i === "asc"),
26
+ children: b(i === "asc" ? w : i === "desc" ? S : C, { className: "ttw:size-4" })
27
+ })]
28
+ });
29
+ }
30
+ function M({ labels: e, searchValue: t, onSearchChange: n, statusFilter: r, statusOptions: i, onStatusFilterChange: a }) {
31
+ return /* @__PURE__ */ x("div", {
32
+ className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
33
+ children: [/* @__PURE__ */ x("div", {
34
+ className: "ttw:relative ttw:w-80",
35
+ children: [/* @__PURE__ */ b(D, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ b(o, {
36
+ className: "ttw:pl-9",
37
+ placeholder: e.searchPlaceholder,
38
+ value: t,
39
+ onChange: (e) => n(e.target.value)
40
+ })]
41
+ }), /* @__PURE__ */ x(s, {
42
+ value: r,
43
+ onValueChange: a,
44
+ children: [/* @__PURE__ */ b(u, {
45
+ "aria-label": e.columnStatus,
46
+ className: "ttw:w-48",
47
+ children: /* @__PURE__ */ b(d, {})
48
+ }), /* @__PURE__ */ x(c, { children: [/* @__PURE__ */ b(l, {
49
+ value: A,
50
+ children: e.statusFilterAll
51
+ }), i.map((t) => /* @__PURE__ */ b(l, {
52
+ value: t.value,
53
+ children: P(t, e.statusBadge)
54
+ }, t.value))] })]
55
+ })]
56
+ });
57
+ }
58
+ function N({ enabled: e, label: t, action: n, row: r, onActionClick: a, variant: o }) {
59
+ return e ? /* @__PURE__ */ b(i, {
60
+ variant: o,
61
+ onClick: (e) => {
62
+ e.stopPropagation(), a(n, r);
63
+ },
64
+ children: t
65
+ }) : null;
66
+ }
67
+ function P(e, t) {
68
+ return t[e.value] ?? e.label;
69
+ }
70
+ function F({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l, isError: u, sorting: d, onSortingChange: S, pageSize: C, onPageSizeChange: w, pageSizeOptions: D = k, pageInfo: A, hasNextPage: P, hasPrevPage: F, onNextPage: I, onPrevPage: L, searchValue: R, onSearchChange: z, statusFilter: B, statusOptions: V, onStatusFilterChange: H, statusCards: U, onStatusCardSelect: W, isFiltering: G, onCreateClick: K, onTemplateSettingsClick: q, onRowClick: J, onActionClick: Y, onRetry: X, labels: Z }) {
71
+ let Q = {
72
+ ..._,
73
+ ...Z,
74
+ statusBadge: {
75
+ ..._.statusBadge,
76
+ ...Z?.statusBadge
77
+ }
78
+ };
79
+ return /* @__PURE__ */ x("div", {
80
+ className: "ttw:flex ttw:flex-col ttw:gap-4",
81
+ children: [
82
+ /* @__PURE__ */ x("div", {
83
+ className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
84
+ children: [/* @__PURE__ */ b("div", {
85
+ className: "ttw:flex ttw:items-center ttw:gap-3",
86
+ children: /* @__PURE__ */ b(f, {
87
+ value: o,
88
+ onValueChange: (e) => c(e),
89
+ children: /* @__PURE__ */ x(p, { children: [
90
+ s.includes("invoices") && /* @__PURE__ */ b(m, {
91
+ value: "invoices",
92
+ children: Q.tabInvoices
93
+ }),
94
+ s.includes("quotes") && /* @__PURE__ */ b(m, {
95
+ value: "quotes",
96
+ children: Q.tabQuotes
97
+ }),
98
+ s.includes("credit_notes") && /* @__PURE__ */ b(m, {
99
+ value: "credit_notes",
100
+ children: Q.tabCreditNotes
101
+ })
102
+ ] })
103
+ })
104
+ }), /* @__PURE__ */ x("div", {
105
+ className: "ttw:flex ttw:items-center ttw:gap-2",
106
+ children: [q && /* @__PURE__ */ x(e, {
107
+ variant: "outline",
108
+ onClick: q,
109
+ children: [/* @__PURE__ */ b(O, { className: "ttw:size-4" }), Q.templateSettingsButton]
110
+ }), /* @__PURE__ */ x(e, {
111
+ onClick: K,
112
+ children: [/* @__PURE__ */ b(E, { className: "ttw:size-4" }), Q.createButton]
113
+ })]
114
+ })]
115
+ }),
116
+ U && W && /* @__PURE__ */ b(y, {
117
+ view: U,
118
+ onSelect: W,
119
+ labels: { all: Q.statusCardsAll }
120
+ }),
121
+ u ? /* @__PURE__ */ b(g, {
122
+ title: Q.errorTitle,
123
+ description: Q.errorDescription,
124
+ retryLabel: X ? Q.errorRetry : void 0,
125
+ onRetry: X
126
+ }) : /* @__PURE__ */ b(t, {
127
+ columns: [
128
+ {
129
+ accessorKey: "documentLabel",
130
+ enableSorting: !0,
131
+ header: ({ column: e }) => /* @__PURE__ */ b(j, {
132
+ column: e,
133
+ label: Q.columnDocument,
134
+ ariaLabel: Q.sortByDocument
135
+ }),
136
+ cell: ({ row: e }) => /* @__PURE__ */ x("div", {
137
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
138
+ children: [/* @__PURE__ */ b("span", {
139
+ className: "ttw:font-medium",
140
+ children: e.original.documentLabel
141
+ }), /* @__PURE__ */ b("span", {
142
+ className: "ttw:text-xs ttw:text-muted-foreground",
143
+ children: e.original.type === "credit_note" ? Q.tabCreditNotes : e.original.type === "quote" ? Q.tabQuotes : Q.tabInvoices
144
+ })]
145
+ }),
146
+ minSize: 180
147
+ },
148
+ {
149
+ accessorKey: "customerLabel",
150
+ enableSorting: !0,
151
+ header: ({ column: e }) => /* @__PURE__ */ b(j, {
152
+ column: e,
153
+ label: Q.columnCustomer,
154
+ ariaLabel: Q.sortByCustomer
155
+ }),
156
+ minSize: 180
157
+ },
158
+ {
159
+ accessorKey: "status",
160
+ header: ({ column: e }) => /* @__PURE__ */ b(j, {
161
+ column: e,
162
+ label: Q.columnStatus,
163
+ ariaLabel: Q.sortByStatus
164
+ }),
165
+ cell: ({ row: e }) => /* @__PURE__ */ b(v, {
166
+ status: e.original.status,
167
+ tone: e.original.statusTone,
168
+ labels: Q.statusBadge
169
+ })
170
+ },
171
+ {
172
+ accessorKey: "issueDateLabel",
173
+ enableSorting: !0,
174
+ header: ({ column: e }) => /* @__PURE__ */ b(j, {
175
+ column: e,
176
+ label: Q.columnIssueDate,
177
+ ariaLabel: Q.sortByIssueDate
178
+ })
179
+ },
180
+ {
181
+ accessorKey: "dueDateLabel",
182
+ enableSorting: !0,
183
+ header: ({ column: e }) => /* @__PURE__ */ b(j, {
184
+ column: e,
185
+ label: Q.columnDueDate,
186
+ ariaLabel: Q.sortByDueDate
187
+ })
188
+ },
189
+ {
190
+ accessorKey: "totalLabel",
191
+ enableSorting: !0,
192
+ header: ({ column: e }) => /* @__PURE__ */ b("div", {
193
+ className: "ttw:flex ttw:justify-end",
194
+ children: /* @__PURE__ */ b(j, {
195
+ column: e,
196
+ label: Q.columnTotal,
197
+ ariaLabel: Q.sortByTotal
198
+ })
199
+ }),
200
+ cell: ({ row: e }) => /* @__PURE__ */ b("div", {
201
+ className: "ttw:text-right",
202
+ children: e.original.totalLabel
203
+ })
204
+ },
205
+ {
206
+ accessorKey: "amountDueLabel",
207
+ header: () => /* @__PURE__ */ b("div", {
208
+ className: "ttw:text-right",
209
+ children: Q.columnAmountDue
210
+ }),
211
+ cell: ({ row: e }) => /* @__PURE__ */ b("div", {
212
+ className: "ttw:text-right",
213
+ children: e.original.amountDueLabel
214
+ })
215
+ },
216
+ {
217
+ id: "actions",
218
+ header: () => /* @__PURE__ */ b("span", {
219
+ className: "ttw:sr-only",
220
+ children: Q.columnActions
221
+ }),
222
+ cell: ({ row: t }) => /* @__PURE__ */ b("div", {
223
+ className: "ttw:flex ttw:justify-end",
224
+ children: /* @__PURE__ */ x(n, { children: [/* @__PURE__ */ b(a, {
225
+ asChild: !0,
226
+ children: /* @__PURE__ */ b(e, {
227
+ variant: "ghost",
228
+ size: "icon-sm",
229
+ "aria-label": Q.columnActions,
230
+ onClick: (e) => e.stopPropagation(),
231
+ children: /* @__PURE__ */ b(T, { className: "ttw:size-4" })
232
+ })
233
+ }), /* @__PURE__ */ x(r, {
234
+ align: "end",
235
+ children: [
236
+ /* @__PURE__ */ b(N, {
237
+ enabled: t.original.actions.edit,
238
+ label: Q.actionEdit,
239
+ action: "edit",
240
+ row: t.original,
241
+ onActionClick: Y
242
+ }),
243
+ /* @__PURE__ */ b(N, {
244
+ enabled: t.original.actions.issue,
245
+ label: Q.actionIssue,
246
+ action: "issue",
247
+ row: t.original,
248
+ onActionClick: Y
249
+ }),
250
+ /* @__PURE__ */ b(N, {
251
+ enabled: t.original.actions.send,
252
+ label: Q.actionSend,
253
+ action: "send",
254
+ row: t.original,
255
+ onActionClick: Y
256
+ }),
257
+ /* @__PURE__ */ b(N, {
258
+ enabled: t.original.actions.recordPayment,
259
+ label: Q.actionRecordPayment,
260
+ action: "recordPayment",
261
+ row: t.original,
262
+ onActionClick: Y
263
+ }),
264
+ /* @__PURE__ */ b(N, {
265
+ enabled: t.original.actions.markPaid,
266
+ label: Q.actionMarkPaid,
267
+ action: "markPaid",
268
+ row: t.original,
269
+ onActionClick: Y
270
+ }),
271
+ /* @__PURE__ */ b(N, {
272
+ enabled: t.original.actions.markUncollectible,
273
+ label: Q.actionMarkUncollectible,
274
+ action: "markUncollectible",
275
+ row: t.original,
276
+ onActionClick: Y
277
+ }),
278
+ /* @__PURE__ */ b(N, {
279
+ enabled: t.original.actions.accept,
280
+ label: Q.actionAccept,
281
+ action: "accept",
282
+ row: t.original,
283
+ onActionClick: Y
284
+ }),
285
+ /* @__PURE__ */ b(N, {
286
+ enabled: t.original.actions.decline,
287
+ label: Q.actionDecline,
288
+ action: "decline",
289
+ row: t.original,
290
+ onActionClick: Y
291
+ }),
292
+ /* @__PURE__ */ b(N, {
293
+ enabled: t.original.actions.cancel,
294
+ label: Q.actionCancel,
295
+ action: "cancel",
296
+ row: t.original,
297
+ onActionClick: Y
298
+ }),
299
+ /* @__PURE__ */ b(N, {
300
+ enabled: t.original.actions.clone,
301
+ label: Q.actionClone,
302
+ action: "clone",
303
+ row: t.original,
304
+ onActionClick: Y
305
+ }),
306
+ /* @__PURE__ */ b(N, {
307
+ enabled: t.original.actions.delete,
308
+ label: Q.actionDelete,
309
+ action: "delete",
310
+ row: t.original,
311
+ onActionClick: Y,
312
+ variant: "destructive"
313
+ })
314
+ ]
315
+ })] })
316
+ }),
317
+ size: 72
318
+ }
319
+ ],
320
+ data: i,
321
+ isLoading: l,
322
+ sorting: d,
323
+ onSortingChange: S,
324
+ pageSize: C,
325
+ onPageSizeChange: w,
326
+ pageSizeOptions: D,
327
+ pageInfo: A,
328
+ hasNextPage: P,
329
+ hasPrevPage: F,
330
+ onNextPage: I,
331
+ onPrevPage: L,
332
+ onRowClick: J,
333
+ rowAriaLabel: (e) => Q.openRow(e.documentLabel),
334
+ filterComponent: /* @__PURE__ */ b(M, {
335
+ labels: Q,
336
+ searchValue: R,
337
+ onSearchChange: z,
338
+ statusFilter: B,
339
+ statusOptions: V,
340
+ onStatusFilterChange: H
341
+ }),
342
+ children: /* @__PURE__ */ b(h, {
343
+ title: G ? Q.filterEmptyTitle : Q.emptyTitle,
344
+ description: G ? Q.filterEmptyDescription : Q.emptyDescription,
345
+ actionLabel: G ? void 0 : Q.emptyAction,
346
+ onAction: G ? void 0 : K
347
+ })
348
+ })
349
+ ]
350
+ });
351
+ }
352
+ //#endregion
353
+ export { F as ReceivablesScreen, F as default };
@@ -164,7 +164,20 @@ var r = {
164
164
  paymentHistoryEmpty: "You've received no payments yet.",
165
165
  paymentHistoryTotalLabel: "Total received",
166
166
  customerDetailsHeading: "Customer details",
167
- recurrenceHeading: "Recurrence history",
167
+ recurringAmountCaption: "Recurring amount",
168
+ startsOnCaption: "Starts on",
169
+ endsOnCaption: "Ends on",
170
+ recurringSeriesRowLabel: "Recurring series",
171
+ scheduleIssueDateColumn: "Issue date",
172
+ scheduleAmountColumn: "Amount",
173
+ scheduleStatusColumn: "Status",
174
+ scheduleNumberColumn: "Number",
175
+ scheduleEmpty: "No invoices are scheduled.",
176
+ auditHistoryHeading: "Audit history",
177
+ auditHistoryEmpty: "No history yet.",
178
+ auditHistoryLoading: "Loading history",
179
+ auditHistoryError: "The audit history could not be loaded.",
180
+ auditHistoryNamesError: "Some names could not be loaded.",
168
181
  billingHeading: "Billing details",
169
182
  lineItemsHeading: "Line items",
170
183
  notesHeading: "Notes",
@@ -188,6 +201,9 @@ var r = {
188
201
  cancelButton: "Cancel invoice",
189
202
  cloneButton: "Duplicate",
190
203
  deleteButton: "Delete",
204
+ pauseRecurrenceButton: "Pause series",
205
+ resumeRecurrenceButton: "Resume series",
206
+ cancelRecurrenceButton: "Cancel series",
191
207
  recurringBadge: "Recurring"
192
208
  }, c = {
193
209
  title: "Send receivable",
@@ -3,7 +3,7 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { ExpenseApprovalPoliciesWidget as i } from "../../../expense-management-widget/feature/dist/index27.js";
6
+ import { ExpenseApprovalPoliciesWidget as i } from "../../../expense-management-widget/approval-policies/feature/dist/index6.js";
7
7
  import "../../../expense-management-widget/feature/dist/index.js";
8
8
  import { ExpenseRequirementsWidget as a } from "../../../shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js";
9
9
  import "../../../shared/expense-requirements/feature/dist/index.js";
@@ -1,47 +1,47 @@
1
1
  import "./lib/finopsApiVersion.js";
2
2
  import "./lib/rest/client.gen.js";
3
- import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, getUsers as I, listDepartments as L, listLocations as R, listRoles as z, manageBankAccountAccess as B, manageDebitCardAccess as V, patchCounterpartsId as H, patchCounterpartsIdAddressesId as U, patchCounterpartsIdBankAccountsId as W, patchEntitiesIdSettings as G, patchMeasureUnitsId as K, patchPayablesId as q, patchProductsId as J, patchReceivablesId as Y, patchRecurrencesId as X, patchTransactionsId as Z, postApprovalRequestsIdApprove as Q, postApprovalRequestsIdReject as $, postBankDetails as ee, postCounterparts as te, postCounterpartsIdAddresses as ne, postCounterpartsIdBankAccounts as re, postCounterpartsIdBankAccountsIdMakeDefault as ie, postFiles as ae, postMeasureUnits as oe, postOverdueReminders as se, postPayables as ce, postPayablesIdApprovePaymentOperation as le, postPayablesIdAttachFile as ue, postPayablesIdCancel as de, postPayablesIdDuplicatesIdConfirm as fe, postPayablesIdDuplicatesIdDismiss as pe, postPayablesIdMarkAsPaid as me, postPayablesIdReject as he, postPayablesIdReopen as ge, postPayablesIdSchedulePayment as _e, postPayablesIdSubmitForApproval as ve, postPayablesIdValidate as ye, postPayablesUploadFromFile as be, postPaymentIntentsIdCancel as xe, postPaymentReminders as Se, postProducts as Ce, postReceivables as we, postReceivablesIdAccept as Te, postReceivablesIdCancel as Ee, postReceivablesIdClone as De, postReceivablesIdDecline as Oe, postReceivablesIdIssue as ke, postReceivablesIdMarkAsPaid as Ae, postReceivablesIdMarkAsPartiallyPaid as je, postReceivablesIdMarkAsUncollectible as Me, postReceivablesIdSend as Ne, postRecurrences as Pe, postTransactionsIdApprove as Fe, postTransactionsIdReject as Ie, postTransactionsIdReopen as Le, postTransactionsIdSubmit as Re, putEntitiesIdLogo as ze, putPayablesIdLineItems as Be, updateDepartment as Ve, updateLocation as He, updateUser as Ue } from "./lib/rest/sdk.gen.js";
4
- import { activateCreditCardMutation as We, activateDebitCardMutation as Ge, connectExternalBankAccountMutation as Ke, createAchMoneyMovementMutation as qe, createApplicationMutation as Je, createBankAccountMutation as Ye, createBookTransferMutation as Xe, createCheckDepositMutation as Ze, createDebitCardMutation as Qe, createVelocityControlMutation as $e, deleteApprovalPoliciesIdMutation as et, deleteBankAccountApplicationMutation as tt, deleteLedgerAccountsIdMutation as nt, deleteReceiptsIdMutation as rt, disableUserMutation as it, getAnalyticsPayablesOptions as at, getAnalyticsPayablesQueryKey as ot, getAnalyticsReceiptsOptions as st, getAnalyticsReceiptsQueryKey as ct, getAnalyticsReceivablesOptions as lt, getAnalyticsReceivablesQueryKey as ut, getAnalyticsTransactionsOptions as dt, getAnalyticsTransactionsQueryKey as ft, getApprovalPoliciesOptions as pt, getApprovalPoliciesQueryKey as mt, getApprovalRequestsOptions as ht, getApprovalRequestsQueryKey as gt, getBankAccountAccessQueryKey as _t, getBankAccountApplicationOptions as vt, getBankAccountOptions as yt, getBankAccountQueryKey as bt, getBankAccountStatementsOptions as xt, getBankAccountTransactionsOptions as St, getBankAccountTransactionsQueryKey as Ct, getBankAccountTransfersOptions as wt, getBankAccountTransfersQueryKey as Tt, getBankAccountsQueryKey as Et, getBankDetailsOptions as Dt, getBankDetailsQueryKey as Ot, getCounterpartsIdAddressesOptions as kt, getCounterpartsIdAddressesQueryKey as At, getCounterpartsIdBankAccountsOptions as jt, getCounterpartsIdBankAccountsQueryKey as Mt, getCounterpartsIdOptions as Nt, getCounterpartsIdQueryKey as Pt, getCounterpartsOptions as Ft, getCounterpartsQueryKey as It, getCreditCardByIdOptions as Lt, getCreditCardByIdQueryKey as Rt, getCreditCardsOptions as zt, getCreditCardsQueryKey as Bt, getDebitCardByIdOptions as Vt, getDebitCardByIdQueryKey as Ht, getDebitCardCredentialsOptions as Ut, getDebitCardsOptions as Wt, getDebitCardsQueryKey as Gt, getDepartmentOptions as Kt, getDepartmentQueryKey as qt, getDepositableBankAccountsOptions as Jt, getDocumentsIdNextNumbersOptions as Yt, getDocumentsIdNextNumbersQueryKey as Xt, getEntitiesIdSettingsOptions as Zt, getEntitiesIdSettingsQueryKey as Qt, getEntityUsersMyEntityOptions as $t, getEntityUsersOptions as en, getExternalBankAccountAccessQueryKey as tn, getExternalBankAccountsOptions as nn, getExternalBankAccountsQueryKey as rn, getFilesQueryKey as an, getLedgerAccountsQueryKey as on, getLocationOptions as sn, getLocationQueryKey as cn, getMeasureUnitsOptions as ln, getMeasureUnitsQueryKey as un, getOrganizationOptions as dn, getOverdueRemindersOptions as fn, getOverdueRemindersQueryKey as pn, getPayablesIdHistoryOptions as mn, getPayablesIdHistoryQueryKey as hn, getPayablesIdLineItemsOptions as gn, getPayablesIdLineItemsQueryKey as _n, getPayablesIdOptions as vn, getPayablesIdQueryKey as yn, getPayablesIdSuggestionsOptions as bn, getPayablesOptions as xn, getPayablesQueryKey as Sn, getPaymentRecordsOptions as Cn, getPaymentRecordsQueryKey as wn, getPaymentRemindersOptions as Tn, getPaymentRemindersQueryKey as En, getProductsIdOptions as Dn, getProductsIdQueryKey as On, getProductsOptions as kn, getProductsQueryKey as An, getReceiptsIdQueryKey as jn, getReceiptsOptions as Mn, getReceiptsQueryKey as Nn, getReceivablesIdHistoryQueryKey as Pn, getReceivablesIdMailsQueryKey as Fn, getReceivablesIdOptions as In, getReceivablesIdPdfLinkOptions as Ln, getReceivablesIdPdfLinkQueryKey as Rn, getReceivablesIdQueryKey as zn, getReceivablesOptions as Bn, getReceivablesQueryKey as Vn, getReceivablesRequiredFieldsOptions as Hn, getRecurrencesIdOptions as Un, getRecurrencesIdQueryKey as Wn, getRecurrencesQueryKey as Gn, getTransactionsIdExpenseHistoryOptions as Kn, getTransactionsIdExpenseHistoryQueryKey as qn, getTransactionsIdOptions as Jn, getTransactionsIdQueryKey as Yn, getTransactionsOptions as Xn, getTransactionsQueryKey as Zn, getTransactionsValidationsOptions as Qn, getTransactionsValidationsQueryKey as $n, getUsersOptions as er, getUsersQueryKey as tr, getVelocityControlsQueryKey as nr, grantBankAccountAccessMutation as rr, grantExternalBankAccountAccessMutation as ir, linkExternalBankAccountMutation as ar, listDepartmentsOptions as or, listDepartmentsQueryKey as sr, listLocationsOptions as cr, listLocationsQueryKey as lr, listRolesQueryKey as ur, manageDebitCardAccessMutation as dr, patchApprovalPoliciesIdMutation as fr, patchLedgerAccountsIdMutation as pr, patchReceiptsIdMutation as mr, postApprovalPoliciesMutation as hr, postLedgerAccountsMutation as gr, postReceiptsUploadFromFileMutation as _r, putTransactionsValidationsMutation as vr, setDebitCardLockStatusMutation as yr, submitApplicationMutation as br, unlinkExternalBankAccountMutation as xr, updateApplicationMutation as Sr, updateBankAccountMutation as Cr, updateDebitCardMutation as wr, updateExternalBankAccountMutation as Tr, validateExternalBankAccountMutation as Er, verifyDebitCardMutation as Dr } from "./lib/rest/@tanstack/react-query.gen.js";
5
- import { OrganizationStatus as Or, isOrganizationOnItsWay as kr } from "./lib/organizationStatus.js";
6
- import { withAuthEpoch as Ar, withAuthEpochInfinite as jr } from "./lib/withAuthEpoch.js";
7
- import { applicationStatusInvalidationKey as Mr, applicationStatusQueryOptions as Nr } from "./lib/applicationStatusQueryOptions.js";
8
- import { createClientSecretInstaller as Pr } from "./lib/scopedClientSecret.js";
9
- import { cancelAllClients as Fr, invalidateAllClients as Ir, registerQueryClient as Lr, removeInactiveFromAllClients as Rr, setAllClientsQueriesData as zr, unregisterQueryClient as Br } from "./lib/clientRegistry.js";
10
- import { cloneEmbeddedClient as Vr, createEmbeddedClient as Hr } from "./lib/createEmbeddedClient.js";
3
+ import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, getReceivablesIdHistory as I, getUsers as L, listDepartments as R, listLocations as z, listRoles as B, manageBankAccountAccess as V, manageDebitCardAccess as H, patchCounterpartsId as U, patchCounterpartsIdAddressesId as W, patchCounterpartsIdBankAccountsId as G, patchEntitiesIdSettings as K, patchMeasureUnitsId as q, patchPayablesId as J, patchProductsId as Y, patchReceivablesId as X, patchRecurrencesId as Z, patchTransactionsId as Q, postApprovalRequestsIdApprove as $, postApprovalRequestsIdReject as ee, postBankDetails as te, postCounterparts as ne, postCounterpartsIdAddresses as re, postCounterpartsIdBankAccounts as ie, postCounterpartsIdBankAccountsIdMakeDefault as ae, postFiles as oe, postMeasureUnits as se, postOverdueReminders as ce, postPayables as le, postPayablesIdApprovePaymentOperation as ue, postPayablesIdAttachFile as de, postPayablesIdCancel as fe, postPayablesIdDuplicatesIdConfirm as pe, postPayablesIdDuplicatesIdDismiss as me, postPayablesIdMarkAsPaid as he, postPayablesIdReject as ge, postPayablesIdReopen as _e, postPayablesIdSchedulePayment as ve, postPayablesIdSubmitForApproval as ye, postPayablesIdValidate as be, postPayablesUploadFromFile as xe, postPaymentIntentsIdCancel as Se, postPaymentReminders as Ce, postProducts as we, postReceivables as Te, postReceivablesIdAccept as Ee, postReceivablesIdCancel as De, postReceivablesIdClone as Oe, postReceivablesIdDecline as ke, postReceivablesIdIssue as Ae, postReceivablesIdMarkAsPaid as je, postReceivablesIdMarkAsPartiallyPaid as Me, postReceivablesIdMarkAsUncollectible as Ne, postReceivablesIdSend as Pe, postRecurrences as Fe, postRecurrencesIdCancel as Ie, postRecurrencesIdPause as Le, postRecurrencesIdResume as Re, postTransactionsIdApprove as ze, postTransactionsIdReject as Be, postTransactionsIdReopen as Ve, postTransactionsIdSubmit as He, putEntitiesIdLogo as Ue, putPayablesIdLineItems as We, updateDepartment as Ge, updateLocation as Ke, updateUser as qe } from "./lib/rest/sdk.gen.js";
4
+ import { activateCreditCardMutation as Je, activateDebitCardMutation as Ye, connectExternalBankAccountMutation as Xe, createAchMoneyMovementMutation as Ze, createApplicationMutation as Qe, createBankAccountMutation as $e, createBookTransferMutation as et, createCheckDepositMutation as tt, createDebitCardMutation as nt, createVelocityControlMutation as rt, deleteApprovalPoliciesIdMutation as it, deleteBankAccountApplicationMutation as at, deleteLedgerAccountsIdMutation as ot, deleteReceiptsIdMutation as st, disableUserMutation as ct, getAnalyticsPayablesOptions as lt, getAnalyticsPayablesQueryKey as ut, getAnalyticsReceiptsOptions as dt, getAnalyticsReceiptsQueryKey as ft, getAnalyticsReceivablesOptions as pt, getAnalyticsReceivablesQueryKey as mt, getAnalyticsTransactionsOptions as ht, getAnalyticsTransactionsQueryKey as gt, getApprovalPoliciesOptions as _t, getApprovalPoliciesQueryKey as vt, getApprovalRequestsOptions as yt, getApprovalRequestsQueryKey as bt, getBankAccountAccessQueryKey as xt, getBankAccountApplicationOptions as St, getBankAccountOptions as Ct, getBankAccountQueryKey as wt, getBankAccountStatementsOptions as Tt, getBankAccountTransactionsOptions as Et, getBankAccountTransactionsQueryKey as Dt, getBankAccountTransfersOptions as Ot, getBankAccountTransfersQueryKey as kt, getBankAccountsQueryKey as At, getBankDetailsOptions as jt, getBankDetailsQueryKey as Mt, getCounterpartsIdAddressesOptions as Nt, getCounterpartsIdAddressesQueryKey as Pt, getCounterpartsIdBankAccountsOptions as Ft, getCounterpartsIdBankAccountsQueryKey as It, getCounterpartsIdOptions as Lt, getCounterpartsIdQueryKey as Rt, getCounterpartsOptions as zt, getCounterpartsQueryKey as Bt, getCreditCardByIdOptions as Vt, getCreditCardByIdQueryKey as Ht, getCreditCardsOptions as Ut, getCreditCardsQueryKey as Wt, getDebitCardByIdOptions as Gt, getDebitCardByIdQueryKey as Kt, getDebitCardCredentialsOptions as qt, getDebitCardsOptions as Jt, getDebitCardsQueryKey as Yt, getDepartmentOptions as Xt, getDepartmentQueryKey as Zt, getDepositableBankAccountsOptions as Qt, getDocumentsIdNextNumbersOptions as $t, getDocumentsIdNextNumbersQueryKey as en, getEntitiesIdSettingsOptions as tn, getEntitiesIdSettingsQueryKey as nn, getEntityUsersMyEntityOptions as rn, getEntityUsersOptions as an, getExternalBankAccountAccessQueryKey as on, getExternalBankAccountsOptions as sn, getExternalBankAccountsQueryKey as cn, getFilesQueryKey as ln, getLedgerAccountsQueryKey as un, getLocationOptions as dn, getLocationQueryKey as fn, getMeasureUnitsOptions as pn, getMeasureUnitsQueryKey as mn, getOrganizationOptions as hn, getOverdueRemindersOptions as gn, getOverdueRemindersQueryKey as _n, getPayablesIdHistoryOptions as vn, getPayablesIdHistoryQueryKey as yn, getPayablesIdLineItemsOptions as bn, getPayablesIdLineItemsQueryKey as xn, getPayablesIdOptions as Sn, getPayablesIdQueryKey as Cn, getPayablesIdSuggestionsOptions as wn, getPayablesOptions as Tn, getPayablesQueryKey as En, getPaymentRecordsOptions as Dn, getPaymentRecordsQueryKey as On, getPaymentRemindersOptions as kn, getPaymentRemindersQueryKey as An, getProductsIdOptions as jn, getProductsIdQueryKey as Mn, getProductsOptions as Nn, getProductsQueryKey as Pn, getReceiptsIdQueryKey as Fn, getReceiptsOptions as In, getReceiptsQueryKey as Ln, getReceivablesIdHistoryQueryKey as Rn, getReceivablesIdMailsQueryKey as zn, getReceivablesIdOptions as Bn, getReceivablesIdPdfLinkOptions as Vn, getReceivablesIdPdfLinkQueryKey as Hn, getReceivablesIdQueryKey as Un, getReceivablesOptions as Wn, getReceivablesQueryKey as Gn, getReceivablesRequiredFieldsOptions as Kn, getRecurrencesIdOptions as qn, getRecurrencesIdQueryKey as Jn, getRecurrencesQueryKey as Yn, getTransactionsIdExpenseHistoryOptions as Xn, getTransactionsIdExpenseHistoryQueryKey as Zn, getTransactionsIdOptions as Qn, getTransactionsIdQueryKey as $n, getTransactionsOptions as er, getTransactionsQueryKey as tr, getTransactionsValidationsOptions as nr, getTransactionsValidationsQueryKey as rr, getUsersOptions as ir, getUsersQueryKey as ar, getVelocityControlsQueryKey as or, grantBankAccountAccessMutation as sr, grantExternalBankAccountAccessMutation as cr, linkExternalBankAccountMutation as lr, listDepartmentsOptions as ur, listDepartmentsQueryKey as dr, listLocationsOptions as fr, listLocationsQueryKey as pr, listRolesQueryKey as mr, manageDebitCardAccessMutation as hr, patchApprovalPoliciesIdMutation as gr, patchLedgerAccountsIdMutation as _r, patchReceiptsIdMutation as vr, postApprovalPoliciesMutation as yr, postLedgerAccountsMutation as br, postReceiptsUploadFromFileMutation as xr, putTransactionsValidationsMutation as Sr, setDebitCardLockStatusMutation as Cr, submitApplicationMutation as wr, unlinkExternalBankAccountMutation as Tr, updateApplicationMutation as Er, updateBankAccountMutation as Dr, updateDebitCardMutation as Or, updateExternalBankAccountMutation as kr, validateExternalBankAccountMutation as Ar, verifyDebitCardMutation as jr } from "./lib/rest/@tanstack/react-query.gen.js";
5
+ import { OrganizationStatus as Mr, isOrganizationOnItsWay as Nr } from "./lib/organizationStatus.js";
6
+ import { withAuthEpoch as Pr, withAuthEpochInfinite as Fr } from "./lib/withAuthEpoch.js";
7
+ import { applicationStatusInvalidationKey as Ir, applicationStatusQueryOptions as Lr } from "./lib/applicationStatusQueryOptions.js";
8
+ import { createClientSecretInstaller as Rr } from "./lib/scopedClientSecret.js";
9
+ import { cancelAllClients as zr, invalidateAllClients as Br, registerQueryClient as Vr, removeInactiveFromAllClients as Hr, setAllClientsQueriesData as Ur, unregisterQueryClient as Wr } from "./lib/clientRegistry.js";
10
+ import { cloneEmbeddedClient as Gr, createEmbeddedClient as Kr } from "./lib/createEmbeddedClient.js";
11
11
  import "./lib/widgetGatewayHosts.js";
12
- import { attachTransportInterceptors as Ur } from "./lib/transportInterceptors.js";
13
- import { EmbedApiProvider as Wr, useEmbedApi as Gr } from "./lib/EmbedApiContext.js";
14
- import { optionalOrganizationHeaders as Kr, organizationHeaders as qr } from "./lib/organizationHeaders.js";
15
- import { fetchWidgetInit as Jr } from "./lib/fetchWidgetInit.js";
16
- import { hasAnyScope as Yr } from "./lib/hasAnyScope.js";
17
- import { myEntityInvalidationKey as Xr } from "./lib/queryKeys.js";
18
- import { useCurrentUserQuery as Zr } from "./lib/useCurrentUserQuery.js";
19
- import { useMyEntityQuery as Qr } from "./lib/useMyEntityQuery.js";
20
- import { useMailboxAddress as $r } from "./lib/useMailboxAddress.js";
12
+ import { attachTransportInterceptors as qr } from "./lib/transportInterceptors.js";
13
+ import { EmbedApiProvider as Jr, useEmbedApi as Yr } from "./lib/EmbedApiContext.js";
14
+ import { optionalOrganizationHeaders as Xr, organizationHeaders as Zr } from "./lib/organizationHeaders.js";
15
+ import { fetchWidgetInit as Qr } from "./lib/fetchWidgetInit.js";
16
+ import { hasAnyScope as $r } from "./lib/hasAnyScope.js";
17
+ import { myEntityInvalidationKey as ei } from "./lib/queryKeys.js";
18
+ import { useCurrentUserQuery as ti } from "./lib/useCurrentUserQuery.js";
19
+ import { useMyEntityQuery as ni } from "./lib/useMyEntityQuery.js";
20
+ import { useMailboxAddress as ri } from "./lib/useMailboxAddress.js";
21
21
  import "./lib/apiErrorStatus.js";
22
- import { isApiConflictError as ei } from "./lib/isApiConflictError.js";
23
- import { isApiForbiddenError as ti } from "./lib/isApiForbiddenError.js";
24
- import { isApiNotFoundError as ni } from "./lib/isApiNotFoundError.js";
25
- import { isApiUnprocessableError as ri } from "./lib/isApiUnprocessableError.js";
22
+ import { isApiConflictError as ii } from "./lib/isApiConflictError.js";
23
+ import { isApiForbiddenError as ai } from "./lib/isApiForbiddenError.js";
24
+ import { isApiNotFoundError as oi } from "./lib/isApiNotFoundError.js";
25
+ import { isApiUnprocessableError as si } from "./lib/isApiUnprocessableError.js";
26
26
  import "./lib/isUserDataNotFoundError.js";
27
- import { useGetUserDataQuery as ii } from "./lib/useGetUserDataQuery.js";
28
- import { useUpsertUserDataMutation as ai } from "./lib/useUpsertUserDataMutation.js";
27
+ import { useGetUserDataQuery as ci } from "./lib/useGetUserDataQuery.js";
28
+ import { useUpsertUserDataMutation as li } from "./lib/useUpsertUserDataMutation.js";
29
29
  import "./lib/rest/zod.gen.js";
30
- import { Scope as oi, isScope as si } from "./lib/scopes.js";
31
- import { getAllPagesNextPageParam as ci, getAllPagesNextPaginationTokenParam as li, isAllPagesResolving as ui, useAutoFetchNextPage as di } from "./lib/allPages.js";
32
- import { useAllBankAccountsQuery as fi } from "./lib/bank-account/useAllBankAccountsQuery.js";
33
- import { useAllDebitCardsQuery as pi } from "./lib/debit-card/useAllDebitCardsQuery.js";
34
- import { useAllExternalBankAccountsQuery as mi } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
35
- import { useAllMerchantCategoryGroupsQuery as hi } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
36
- import { useAllLedgerAccountsQuery as gi, useLedgerAccountsQuery as _i } from "./lib/reference-data/useLedgerAccountsQuery.js";
37
- import { usePaymentTermsQuery as vi } from "./lib/reference-data/usePaymentTermsQuery.js";
38
- import { useAllOrganizationRolesQuery as yi } from "./lib/role/useAllOrganizationRolesQuery.js";
39
- import { useRolePermissionsQueries as bi } from "./lib/role/useRolePermissionsQueries.js";
40
- import { useAllOrganizationUsersQuery as xi } from "./lib/user/useAllOrganizationUsersQuery.js";
41
- import { personDisclosure as Si } from "./lib/disclosures/personDisclosure.js";
42
- import { useAcceptWidgetDisclosures as Ci } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
43
- import { useDisclosuresQuery as wi } from "./lib/disclosures/useDisclosuresQuery.js";
44
- import { OnboardingSuppressionReason as Ti } from "./lib/onboardingSuppressionReason.js";
45
- import { useOrganizationOnboardingSuppression as Ei } from "./lib/useOrganizationOnboardingSuppression.js";
46
- import { useOrganizationApplicationStatus as Di } from "./lib/useOrganizationApplicationStatus.js";
47
- export { Wr as EmbedApiProvider, Ti as OnboardingSuppressionReason, Or as OrganizationStatus, oi as Scope, We as activateCreditCardMutation, Ge as activateDebitCardMutation, Mr as applicationStatusInvalidationKey, Nr as applicationStatusQueryOptions, Ur as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Fr as cancelAllClients, Vr as cloneEmbeddedClient, Ke as connectExternalBankAccountMutation, qe as createAchMoneyMovementMutation, Je as createApplicationMutation, Ye as createBankAccountMutation, Xe as createBookTransferMutation, Ze as createCheckDepositMutation, Pr as createClientSecretInstaller, Qe as createDebitCardMutation, r as createDepartment, Hr as createEmbeddedClient, i as createLocation, a as createUser, $e as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, et as deleteApprovalPoliciesIdMutation, tt as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, nt as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, rt as deleteReceiptsIdMutation, g as deleteReceivablesId, it as disableUserMutation, _ as downloadBankAccountTransactions, Jr as fetchWidgetInit, ci as getAllPagesNextPageParam, li as getAllPagesNextPaginationTokenParam, at as getAnalyticsPayablesOptions, ot as getAnalyticsPayablesQueryKey, st as getAnalyticsReceiptsOptions, ct as getAnalyticsReceiptsQueryKey, lt as getAnalyticsReceivablesOptions, ut as getAnalyticsReceivablesQueryKey, dt as getAnalyticsTransactionsOptions, ft as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, pt as getApprovalPoliciesOptions, mt as getApprovalPoliciesQueryKey, b as getApprovalRequests, ht as getApprovalRequestsOptions, gt as getApprovalRequestsQueryKey, x as getBankAccountAccess, _t as getBankAccountAccessQueryKey, vt as getBankAccountApplicationOptions, yt as getBankAccountOptions, bt as getBankAccountQueryKey, S as getBankAccountStatement, xt as getBankAccountStatementsOptions, St as getBankAccountTransactionsOptions, Ct as getBankAccountTransactionsQueryKey, wt as getBankAccountTransfersOptions, Tt as getBankAccountTransfersQueryKey, Et as getBankAccountsQueryKey, Dt as getBankDetailsOptions, Ot as getBankDetailsQueryKey, C as getCounterparts, kt as getCounterpartsIdAddressesOptions, At as getCounterpartsIdAddressesQueryKey, jt as getCounterpartsIdBankAccountsOptions, Mt as getCounterpartsIdBankAccountsQueryKey, Nt as getCounterpartsIdOptions, Pt as getCounterpartsIdQueryKey, Ft as getCounterpartsOptions, It as getCounterpartsQueryKey, Lt as getCreditCardByIdOptions, Rt as getCreditCardByIdQueryKey, zt as getCreditCardsOptions, Bt as getCreditCardsQueryKey, Vt as getDebitCardByIdOptions, Ht as getDebitCardByIdQueryKey, Ut as getDebitCardCredentialsOptions, Wt as getDebitCardsOptions, Gt as getDebitCardsQueryKey, w as getDepartment, Kt as getDepartmentOptions, qt as getDepartmentQueryKey, T as getDepositableBankAccounts, Jt as getDepositableBankAccountsOptions, Yt as getDocumentsIdNextNumbersOptions, Xt as getDocumentsIdNextNumbersQueryKey, Zt as getEntitiesIdSettingsOptions, Qt as getEntitiesIdSettingsQueryKey, $t as getEntityUsersMyEntityOptions, en as getEntityUsersOptions, E as getExternalBankAccountAccess, tn as getExternalBankAccountAccessQueryKey, nn as getExternalBankAccountsOptions, rn as getExternalBankAccountsQueryKey, an as getFilesQueryKey, on as getLedgerAccountsQueryKey, D as getLocation, sn as getLocationOptions, cn as getLocationQueryKey, ln as getMeasureUnitsOptions, un as getMeasureUnitsQueryKey, dn as getOrganizationOptions, fn as getOverdueRemindersOptions, pn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, mn as getPayablesIdHistoryOptions, hn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, gn as getPayablesIdLineItemsOptions, _n as getPayablesIdLineItemsQueryKey, vn as getPayablesIdOptions, yn as getPayablesIdQueryKey, bn as getPayablesIdSuggestionsOptions, xn as getPayablesOptions, Sn as getPayablesQueryKey, M as getPaymentRecords, Cn as getPaymentRecordsOptions, wn as getPaymentRecordsQueryKey, Tn as getPaymentRemindersOptions, En as getPaymentRemindersQueryKey, N as getProducts, Dn as getProductsIdOptions, On as getProductsIdQueryKey, kn as getProductsOptions, An as getProductsQueryKey, P as getReceipts, jn as getReceiptsIdQueryKey, Mn as getReceiptsOptions, Nn as getReceiptsQueryKey, F as getReceivables, Pn as getReceivablesIdHistoryQueryKey, Fn as getReceivablesIdMailsQueryKey, In as getReceivablesIdOptions, Ln as getReceivablesIdPdfLinkOptions, Rn as getReceivablesIdPdfLinkQueryKey, zn as getReceivablesIdQueryKey, Bn as getReceivablesOptions, Vn as getReceivablesQueryKey, Hn as getReceivablesRequiredFieldsOptions, Un as getRecurrencesIdOptions, Wn as getRecurrencesIdQueryKey, Gn as getRecurrencesQueryKey, Kn as getTransactionsIdExpenseHistoryOptions, qn as getTransactionsIdExpenseHistoryQueryKey, Jn as getTransactionsIdOptions, Yn as getTransactionsIdQueryKey, Xn as getTransactionsOptions, Zn as getTransactionsQueryKey, Qn as getTransactionsValidationsOptions, $n as getTransactionsValidationsQueryKey, I as getUsers, er as getUsersOptions, tr as getUsersQueryKey, nr as getVelocityControlsQueryKey, rr as grantBankAccountAccessMutation, ir as grantExternalBankAccountAccessMutation, Yr as hasAnyScope, Ir as invalidateAllClients, ui as isAllPagesResolving, ei as isApiConflictError, ti as isApiForbiddenError, ni as isApiNotFoundError, ri as isApiUnprocessableError, kr as isOrganizationOnItsWay, si as isScope, ar as linkExternalBankAccountMutation, L as listDepartments, or as listDepartmentsOptions, sr as listDepartmentsQueryKey, R as listLocations, cr as listLocationsOptions, lr as listLocationsQueryKey, z as listRoles, ur as listRolesQueryKey, B as manageBankAccountAccess, V as manageDebitCardAccess, dr as manageDebitCardAccessMutation, Xr as myEntityInvalidationKey, Kr as optionalOrganizationHeaders, qr as organizationHeaders, fr as patchApprovalPoliciesIdMutation, H as patchCounterpartsId, U as patchCounterpartsIdAddressesId, W as patchCounterpartsIdBankAccountsId, G as patchEntitiesIdSettings, pr as patchLedgerAccountsIdMutation, K as patchMeasureUnitsId, q as patchPayablesId, J as patchProductsId, mr as patchReceiptsIdMutation, Y as patchReceivablesId, X as patchRecurrencesId, Z as patchTransactionsId, Si as personDisclosure, hr as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postBankDetails, te as postCounterparts, ne as postCounterpartsIdAddresses, re as postCounterpartsIdBankAccounts, ie as postCounterpartsIdBankAccountsIdMakeDefault, ae as postFiles, gr as postLedgerAccountsMutation, oe as postMeasureUnits, se as postOverdueReminders, ce as postPayables, le as postPayablesIdApprovePaymentOperation, ue as postPayablesIdAttachFile, de as postPayablesIdCancel, fe as postPayablesIdDuplicatesIdConfirm, pe as postPayablesIdDuplicatesIdDismiss, me as postPayablesIdMarkAsPaid, he as postPayablesIdReject, ge as postPayablesIdReopen, _e as postPayablesIdSchedulePayment, ve as postPayablesIdSubmitForApproval, ye as postPayablesIdValidate, be as postPayablesUploadFromFile, xe as postPaymentIntentsIdCancel, Se as postPaymentReminders, Ce as postProducts, _r as postReceiptsUploadFromFileMutation, we as postReceivables, Te as postReceivablesIdAccept, Ee as postReceivablesIdCancel, De as postReceivablesIdClone, Oe as postReceivablesIdDecline, ke as postReceivablesIdIssue, Ae as postReceivablesIdMarkAsPaid, je as postReceivablesIdMarkAsPartiallyPaid, Me as postReceivablesIdMarkAsUncollectible, Ne as postReceivablesIdSend, Pe as postRecurrences, Fe as postTransactionsIdApprove, Ie as postTransactionsIdReject, Le as postTransactionsIdReopen, Re as postTransactionsIdSubmit, ze as putEntitiesIdLogo, Be as putPayablesIdLineItems, vr as putTransactionsValidationsMutation, Lr as registerQueryClient, Rr as removeInactiveFromAllClients, zr as setAllClientsQueriesData, yr as setDebitCardLockStatusMutation, br as submitApplicationMutation, xr as unlinkExternalBankAccountMutation, Br as unregisterQueryClient, Sr as updateApplicationMutation, Cr as updateBankAccountMutation, wr as updateDebitCardMutation, Ve as updateDepartment, Tr as updateExternalBankAccountMutation, He as updateLocation, Ue as updateUser, Ci as useAcceptWidgetDisclosures, fi as useAllBankAccountsQuery, pi as useAllDebitCardsQuery, mi as useAllExternalBankAccountsQuery, gi as useAllLedgerAccountsQuery, hi as useAllMerchantCategoryGroupsQuery, yi as useAllOrganizationRolesQuery, xi as useAllOrganizationUsersQuery, di as useAutoFetchNextPage, Zr as useCurrentUserQuery, wi as useDisclosuresQuery, Gr as useEmbedApi, ii as useGetUserDataQuery, _i as useLedgerAccountsQuery, $r as useMailboxAddress, Qr as useMyEntityQuery, Di as useOrganizationApplicationStatus, Ei as useOrganizationOnboardingSuppression, vi as usePaymentTermsQuery, bi as useRolePermissionsQueries, ai as useUpsertUserDataMutation, Er as validateExternalBankAccountMutation, Dr as verifyDebitCardMutation, Ar as withAuthEpoch, jr as withAuthEpochInfinite };
30
+ import { Scope as ui, isScope as di } from "./lib/scopes.js";
31
+ import { getAllPagesNextPageParam as fi, getAllPagesNextPaginationTokenParam as pi, isAllPagesResolving as mi, useAutoFetchNextPage as hi } from "./lib/allPages.js";
32
+ import { useAllBankAccountsQuery as gi } from "./lib/bank-account/useAllBankAccountsQuery.js";
33
+ import { useAllDebitCardsQuery as _i } from "./lib/debit-card/useAllDebitCardsQuery.js";
34
+ import { useAllExternalBankAccountsQuery as vi } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
35
+ import { useAllMerchantCategoryGroupsQuery as yi } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
36
+ import { useAllLedgerAccountsQuery as bi, useLedgerAccountsQuery as xi } from "./lib/reference-data/useLedgerAccountsQuery.js";
37
+ import { usePaymentTermsQuery as Si } from "./lib/reference-data/usePaymentTermsQuery.js";
38
+ import { useAllOrganizationRolesQuery as Ci } from "./lib/role/useAllOrganizationRolesQuery.js";
39
+ import { useRolePermissionsQueries as wi } from "./lib/role/useRolePermissionsQueries.js";
40
+ import { useAllOrganizationUsersQuery as Ti } from "./lib/user/useAllOrganizationUsersQuery.js";
41
+ import { personDisclosure as Ei } from "./lib/disclosures/personDisclosure.js";
42
+ import { useAcceptWidgetDisclosures as Di } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
43
+ import { useDisclosuresQuery as Oi } from "./lib/disclosures/useDisclosuresQuery.js";
44
+ import { OnboardingSuppressionReason as ki } from "./lib/onboardingSuppressionReason.js";
45
+ import { useOrganizationOnboardingSuppression as Ai } from "./lib/useOrganizationOnboardingSuppression.js";
46
+ import { useOrganizationApplicationStatus as ji } from "./lib/useOrganizationApplicationStatus.js";
47
+ export { Jr as EmbedApiProvider, ki as OnboardingSuppressionReason, Mr as OrganizationStatus, ui as Scope, Je as activateCreditCardMutation, Ye as activateDebitCardMutation, Ir as applicationStatusInvalidationKey, Lr as applicationStatusQueryOptions, qr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, zr as cancelAllClients, Gr as cloneEmbeddedClient, Xe as connectExternalBankAccountMutation, Ze as createAchMoneyMovementMutation, Qe as createApplicationMutation, $e as createBankAccountMutation, et as createBookTransferMutation, tt as createCheckDepositMutation, Rr as createClientSecretInstaller, nt as createDebitCardMutation, r as createDepartment, Kr as createEmbeddedClient, i as createLocation, a as createUser, rt as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, it as deleteApprovalPoliciesIdMutation, at as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ot as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, st as deleteReceiptsIdMutation, g as deleteReceivablesId, ct as disableUserMutation, _ as downloadBankAccountTransactions, Qr as fetchWidgetInit, fi as getAllPagesNextPageParam, pi as getAllPagesNextPaginationTokenParam, lt as getAnalyticsPayablesOptions, ut as getAnalyticsPayablesQueryKey, dt as getAnalyticsReceiptsOptions, ft as getAnalyticsReceiptsQueryKey, pt as getAnalyticsReceivablesOptions, mt as getAnalyticsReceivablesQueryKey, ht as getAnalyticsTransactionsOptions, gt as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, _t as getApprovalPoliciesOptions, vt as getApprovalPoliciesQueryKey, b as getApprovalRequests, yt as getApprovalRequestsOptions, bt as getApprovalRequestsQueryKey, x as getBankAccountAccess, xt as getBankAccountAccessQueryKey, St as getBankAccountApplicationOptions, Ct as getBankAccountOptions, wt as getBankAccountQueryKey, S as getBankAccountStatement, Tt as getBankAccountStatementsOptions, Et as getBankAccountTransactionsOptions, Dt as getBankAccountTransactionsQueryKey, Ot as getBankAccountTransfersOptions, kt as getBankAccountTransfersQueryKey, At as getBankAccountsQueryKey, jt as getBankDetailsOptions, Mt as getBankDetailsQueryKey, C as getCounterparts, Nt as getCounterpartsIdAddressesOptions, Pt as getCounterpartsIdAddressesQueryKey, Ft as getCounterpartsIdBankAccountsOptions, It as getCounterpartsIdBankAccountsQueryKey, Lt as getCounterpartsIdOptions, Rt as getCounterpartsIdQueryKey, zt as getCounterpartsOptions, Bt as getCounterpartsQueryKey, Vt as getCreditCardByIdOptions, Ht as getCreditCardByIdQueryKey, Ut as getCreditCardsOptions, Wt as getCreditCardsQueryKey, Gt as getDebitCardByIdOptions, Kt as getDebitCardByIdQueryKey, qt as getDebitCardCredentialsOptions, Jt as getDebitCardsOptions, Yt as getDebitCardsQueryKey, w as getDepartment, Xt as getDepartmentOptions, Zt as getDepartmentQueryKey, T as getDepositableBankAccounts, Qt as getDepositableBankAccountsOptions, $t as getDocumentsIdNextNumbersOptions, en as getDocumentsIdNextNumbersQueryKey, tn as getEntitiesIdSettingsOptions, nn as getEntitiesIdSettingsQueryKey, rn as getEntityUsersMyEntityOptions, an as getEntityUsersOptions, E as getExternalBankAccountAccess, on as getExternalBankAccountAccessQueryKey, sn as getExternalBankAccountsOptions, cn as getExternalBankAccountsQueryKey, ln as getFilesQueryKey, un as getLedgerAccountsQueryKey, D as getLocation, dn as getLocationOptions, fn as getLocationQueryKey, pn as getMeasureUnitsOptions, mn as getMeasureUnitsQueryKey, hn as getOrganizationOptions, gn as getOverdueRemindersOptions, _n as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, vn as getPayablesIdHistoryOptions, yn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, bn as getPayablesIdLineItemsOptions, xn as getPayablesIdLineItemsQueryKey, Sn as getPayablesIdOptions, Cn as getPayablesIdQueryKey, wn as getPayablesIdSuggestionsOptions, Tn as getPayablesOptions, En as getPayablesQueryKey, M as getPaymentRecords, Dn as getPaymentRecordsOptions, On as getPaymentRecordsQueryKey, kn as getPaymentRemindersOptions, An as getPaymentRemindersQueryKey, N as getProducts, jn as getProductsIdOptions, Mn as getProductsIdQueryKey, Nn as getProductsOptions, Pn as getProductsQueryKey, P as getReceipts, Fn as getReceiptsIdQueryKey, In as getReceiptsOptions, Ln as getReceiptsQueryKey, F as getReceivables, I as getReceivablesIdHistory, Rn as getReceivablesIdHistoryQueryKey, zn as getReceivablesIdMailsQueryKey, Bn as getReceivablesIdOptions, Vn as getReceivablesIdPdfLinkOptions, Hn as getReceivablesIdPdfLinkQueryKey, Un as getReceivablesIdQueryKey, Wn as getReceivablesOptions, Gn as getReceivablesQueryKey, Kn as getReceivablesRequiredFieldsOptions, qn as getRecurrencesIdOptions, Jn as getRecurrencesIdQueryKey, Yn as getRecurrencesQueryKey, Xn as getTransactionsIdExpenseHistoryOptions, Zn as getTransactionsIdExpenseHistoryQueryKey, Qn as getTransactionsIdOptions, $n as getTransactionsIdQueryKey, er as getTransactionsOptions, tr as getTransactionsQueryKey, nr as getTransactionsValidationsOptions, rr as getTransactionsValidationsQueryKey, L as getUsers, ir as getUsersOptions, ar as getUsersQueryKey, or as getVelocityControlsQueryKey, sr as grantBankAccountAccessMutation, cr as grantExternalBankAccountAccessMutation, $r as hasAnyScope, Br as invalidateAllClients, mi as isAllPagesResolving, ii as isApiConflictError, ai as isApiForbiddenError, oi as isApiNotFoundError, si as isApiUnprocessableError, Nr as isOrganizationOnItsWay, di as isScope, lr as linkExternalBankAccountMutation, R as listDepartments, ur as listDepartmentsOptions, dr as listDepartmentsQueryKey, z as listLocations, fr as listLocationsOptions, pr as listLocationsQueryKey, B as listRoles, mr as listRolesQueryKey, V as manageBankAccountAccess, H as manageDebitCardAccess, hr as manageDebitCardAccessMutation, ei as myEntityInvalidationKey, Xr as optionalOrganizationHeaders, Zr as organizationHeaders, gr as patchApprovalPoliciesIdMutation, U as patchCounterpartsId, W as patchCounterpartsIdAddressesId, G as patchCounterpartsIdBankAccountsId, K as patchEntitiesIdSettings, _r as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, vr as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchRecurrencesId, Q as patchTransactionsId, Ei as personDisclosure, yr as postApprovalPoliciesMutation, $ as postApprovalRequestsIdApprove, ee as postApprovalRequestsIdReject, te as postBankDetails, ne as postCounterparts, re as postCounterpartsIdAddresses, ie as postCounterpartsIdBankAccounts, ae as postCounterpartsIdBankAccountsIdMakeDefault, oe as postFiles, br as postLedgerAccountsMutation, se as postMeasureUnits, ce as postOverdueReminders, le as postPayables, ue as postPayablesIdApprovePaymentOperation, de as postPayablesIdAttachFile, fe as postPayablesIdCancel, pe as postPayablesIdDuplicatesIdConfirm, me as postPayablesIdDuplicatesIdDismiss, he as postPayablesIdMarkAsPaid, ge as postPayablesIdReject, _e as postPayablesIdReopen, ve as postPayablesIdSchedulePayment, ye as postPayablesIdSubmitForApproval, be as postPayablesIdValidate, xe as postPayablesUploadFromFile, Se as postPaymentIntentsIdCancel, Ce as postPaymentReminders, we as postProducts, xr as postReceiptsUploadFromFileMutation, Te as postReceivables, Ee as postReceivablesIdAccept, De as postReceivablesIdCancel, Oe as postReceivablesIdClone, ke as postReceivablesIdDecline, Ae as postReceivablesIdIssue, je as postReceivablesIdMarkAsPaid, Me as postReceivablesIdMarkAsPartiallyPaid, Ne as postReceivablesIdMarkAsUncollectible, Pe as postReceivablesIdSend, Fe as postRecurrences, Ie as postRecurrencesIdCancel, Le as postRecurrencesIdPause, Re as postRecurrencesIdResume, ze as postTransactionsIdApprove, Be as postTransactionsIdReject, Ve as postTransactionsIdReopen, He as postTransactionsIdSubmit, Ue as putEntitiesIdLogo, We as putPayablesIdLineItems, Sr as putTransactionsValidationsMutation, Vr as registerQueryClient, Hr as removeInactiveFromAllClients, Ur as setAllClientsQueriesData, Cr as setDebitCardLockStatusMutation, wr as submitApplicationMutation, Tr as unlinkExternalBankAccountMutation, Wr as unregisterQueryClient, Er as updateApplicationMutation, Dr as updateBankAccountMutation, Or as updateDebitCardMutation, Ge as updateDepartment, kr as updateExternalBankAccountMutation, Ke as updateLocation, qe as updateUser, Di as useAcceptWidgetDisclosures, gi as useAllBankAccountsQuery, _i as useAllDebitCardsQuery, vi as useAllExternalBankAccountsQuery, bi as useAllLedgerAccountsQuery, yi as useAllMerchantCategoryGroupsQuery, Ci as useAllOrganizationRolesQuery, Ti as useAllOrganizationUsersQuery, hi as useAutoFetchNextPage, ti as useCurrentUserQuery, Oi as useDisclosuresQuery, Yr as useEmbedApi, ci as useGetUserDataQuery, xi as useLedgerAccountsQuery, ri as useMailboxAddress, ni as useMyEntityQuery, ji as useOrganizationApplicationStatus, Ai as useOrganizationOnboardingSuppression, Si as usePaymentTermsQuery, wi as useRolePermissionsQueries, li as useUpsertUserDataMutation, Ar as validateExternalBankAccountMutation, jr as verifyDebitCardMutation, Pr as withAuthEpoch, Fr as withAuthEpochInfinite };