@tesouro/embedded-components-react 0.5.115 → 0.5.117

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 (149) hide show
  1. package/dist/index.css +3 -0
  2. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +6 -6
  3. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +25 -31
  4. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +41 -0
  5. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index4.js +6 -15
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +15 -11
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +7 -7
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index7.js +14 -37
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index8.js +43 -3
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +3 -31
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +6 -6
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index17.js +20 -23
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index21.js +20 -23
  14. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index2.js +7 -7
  15. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +7 -7
  16. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +8 -8
  17. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +10 -10
  18. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index3.js +8 -8
  19. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index4.js +6 -6
  20. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +13 -13
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +25 -25
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +12 -12
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +8 -8
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +168 -168
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +7 -7
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +4 -4
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +44 -44
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index18.js +7 -7
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +4 -4
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +24 -24
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +81 -81
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +17 -17
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +31 -31
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +7 -7
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +15 -15
  36. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index10.js +6 -6
  37. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index11.js +6 -6
  38. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index2.js +15 -15
  39. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index4.js +15 -15
  40. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index6.js +7 -7
  41. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index7.js +7 -7
  42. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index8.js +7 -7
  43. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index9.js +6 -6
  44. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index3.js +10 -10
  45. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index4.js +8 -8
  46. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index5.js +8 -8
  47. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index6.js +8 -8
  48. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index7.js +5 -5
  49. package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +7 -7
  50. package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +7 -7
  51. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +14 -14
  52. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +14 -14
  53. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index2.js +5 -5
  54. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index3.js +5 -5
  55. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index4.js +15 -15
  56. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index5.js +12 -12
  57. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index6.js +9 -9
  58. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +22 -22
  59. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +12 -12
  60. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +87 -87
  61. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +44 -44
  62. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +36 -36
  63. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index2.js +6 -6
  64. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +7 -7
  65. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index2.js +21 -21
  66. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index3.js +13 -13
  67. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index4.js +9 -9
  68. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index5.js +9 -9
  69. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index6.js +10 -10
  70. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/data-access/dist/index2.js +4 -4
  71. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/data-access/dist/index3.js +22 -22
  72. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index2.js +7 -7
  73. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index3.js +7 -7
  74. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index4.js +7 -7
  75. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index5.js +11 -11
  76. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index6.js +13 -13
  77. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index7.js +11 -11
  78. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index8.js +11 -11
  79. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/data-access/dist/index2.js +7 -7
  80. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index10.js +7 -7
  81. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index2.js +7 -7
  82. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index3.js +6 -6
  83. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index4.js +11 -11
  84. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index5.js +11 -11
  85. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index6.js +10 -10
  86. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index7.js +5 -5
  87. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index8.js +5 -5
  88. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index9.js +7 -7
  89. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index10.js +16 -16
  90. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index12.js +14 -14
  91. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index13.js +7 -7
  92. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index14.js +9 -9
  93. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index15.js +59 -59
  94. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index17.js +9 -9
  95. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index18.js +9 -9
  96. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index19.js +41 -41
  97. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index2.js +4 -4
  98. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index21.js +9 -9
  99. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index22.js +9 -9
  100. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index23.js +41 -41
  101. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index3.js +8 -8
  102. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index4.js +9 -9
  103. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index5.js +4 -4
  104. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index6.js +4 -4
  105. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index7.js +73 -73
  106. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index8.js +11 -11
  107. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index9.js +20 -20
  108. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +61 -61
  109. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/queryKeys.js +4 -4
  110. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index2.js +16 -16
  111. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +51 -51
  112. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +63 -63
  113. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +44 -44
  114. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +35 -34
  115. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/applicationStatusQueryOptions.js +22 -0
  116. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +9 -9
  117. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/disclosures/useAcceptWidgetDisclosures.js +8 -8
  118. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js +8 -8
  119. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +7 -7
  120. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js +11 -11
  121. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +15 -15
  122. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/usePaymentTermsQuery.js +7 -7
  123. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +11 -11
  124. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useRolePermissionsQueries.js +7 -7
  125. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +7 -7
  126. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +5 -5
  127. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js +22 -21
  128. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useUpsertUserDataMutation.js +7 -7
  129. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +11 -11
  130. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/widgetTokenCacheId.js +11 -0
  131. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index2.js +4 -4
  132. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index3.js +14 -14
  133. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  134. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index10.js +11 -11
  135. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index11.js +11 -11
  136. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index12.js +11 -11
  137. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index2.js +7 -7
  138. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +7 -7
  139. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index4.js +11 -11
  140. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index5.js +11 -11
  141. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index6.js +13 -13
  142. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index7.js +10 -10
  143. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index8.js +7 -7
  144. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index9.js +7 -7
  145. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index3.js +11 -11
  146. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +7 -7
  147. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index7.js +12 -12
  148. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index8.js +11 -11
  149. package/package.json +1 -1
@@ -2,29 +2,29 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { invalidateAllClients as e } from "../../../../shared/data-access/dist/lib/clientRegistry.js";
6
- import { useEmbedApi as t } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { organizationHeaders as n } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
8
- import { getBankAccountQueryKey as r, getBankAccountsQueryKey as i, updateBankAccountMutation as a } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
5
+ import { getBankAccountQueryKey as e, getBankAccountsQueryKey as t, updateBankAccountMutation as n } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
+ import { invalidateAllClients as r } from "../../../../shared/data-access/dist/lib/clientRegistry.js";
7
+ import { useEmbedApi as i } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
+ import { organizationHeaders as a } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
9
9
  import "../../../../shared/data-access/dist/index.js";
10
10
  import { useMutation as o } from "@tanstack/react-query";
11
11
  //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js
12
12
  function s() {
13
- let { client: s, organizationId: c } = t(), l = n(c), u = a({
13
+ let { client: s, organizationId: c } = i(), l = a(c), u = n({
14
14
  client: s,
15
15
  headers: l
16
16
  });
17
17
  return o({
18
18
  ...u,
19
- onSuccess: async (t, n, ...a) => {
20
- await Promise.all([e(i({
19
+ onSuccess: async (n, i, ...a) => {
20
+ await Promise.all([r(t({
21
21
  client: s,
22
22
  headers: l
23
- })), e(r({
23
+ })), r(e({
24
24
  client: s,
25
25
  headers: l,
26
- path: n.path
27
- }))]), await u.onSuccess?.(t, n, ...a);
26
+ path: i.path
27
+ }))]), await u.onSuccess?.(n, i, ...a);
28
28
  }
29
29
  });
30
30
  }
@@ -2,25 +2,25 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { invalidateAllClients as e } from "../../../shared/data-access/dist/lib/clientRegistry.js";
6
- import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
- import { createBankAccountMutation as r, getBankAccountsQueryKey as i } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
5
+ import { createBankAccountMutation as e, getBankAccountsQueryKey as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
+ import { invalidateAllClients as n } from "../../../shared/data-access/dist/lib/clientRegistry.js";
7
+ import { useEmbedApi as r } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
+ import { organizationHeaders as i } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
9
9
  import "../../../shared/data-access/dist/index.js";
10
10
  import { useMutation as a } from "@tanstack/react-query";
11
11
  //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index3.js
12
12
  function o() {
13
- let { client: o, organizationId: s } = t(), c = n(s), l = r({
13
+ let { client: o, organizationId: s } = r(), c = i(s), l = e({
14
14
  client: o,
15
15
  headers: c
16
16
  });
17
17
  return a({
18
18
  ...l,
19
- onSuccess: async (...t) => {
20
- await e(i({
19
+ onSuccess: async (...e) => {
20
+ await n(t({
21
21
  client: o,
22
22
  headers: c
23
- })), await l.onSuccess?.(...t);
23
+ })), await l.onSuccess?.(...e);
24
24
  }
25
25
  });
26
26
  }
@@ -2,22 +2,22 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { invalidateAllClients as e } from "../../../shared/data-access/dist/lib/clientRegistry.js";
6
- import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
- import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
- import { getBankAccountsQueryKey as r, grantBankAccountAccessMutation as i } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
5
+ import { getBankAccountsQueryKey as e, grantBankAccountAccessMutation as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
+ import { invalidateAllClients as n } from "../../../shared/data-access/dist/lib/clientRegistry.js";
7
+ import { useEmbedApi as r } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
8
+ import { organizationHeaders as i } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
9
9
  import "../../../shared/data-access/dist/index.js";
10
10
  import { useMutation as a } from "@tanstack/react-query";
11
11
  //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index4.js
12
12
  function o() {
13
- let { client: o, organizationId: s } = t(), c = n(s), l = i({
13
+ let { client: o, organizationId: s } = r(), c = i(s), l = t({
14
14
  client: o,
15
15
  headers: c
16
16
  });
17
17
  return a({
18
18
  ...l,
19
19
  onSuccess: async (...t) => {
20
- await e(r({
20
+ await n(e({
21
21
  client: o,
22
22
  headers: c
23
23
  })), await l.onSuccess?.(...t);
@@ -2,18 +2,18 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
- import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
7
- import { getUsers as n } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
8
- import { getUsersOptions as r } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
9
- import { withAuthEpoch as i } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
5
+ import { getUsers as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
+ import { getUsersOptions as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
+ import { withAuthEpoch as n } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
+ import { useEmbedApi as r } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
+ import { organizationHeaders as i } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
10
10
  import "../../../shared/data-access/dist/index.js";
11
11
  import { useEffect as a, useMemo as o } from "react";
12
12
  import { useInfiniteQuery as s } from "@tanstack/react-query";
13
13
  //#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js
14
14
  var c = 100, l = ["ACTIVE", "INVITED"];
15
15
  function u(l, u, d) {
16
- let { client: f, organizationId: p, authEpoch: m } = e(), h = t(p), g = d?.length ? { Permissions: d } : {}, _ = r({
16
+ let { client: f, organizationId: p, authEpoch: m } = r(), h = i(p), g = d?.length ? { Permissions: d } : {}, _ = t({
17
17
  client: f,
18
18
  headers: h,
19
19
  query: {
@@ -23,23 +23,23 @@ function u(l, u, d) {
23
23
  }
24
24
  }), v = s({
25
25
  queryKey: [
26
- ...i(_, m).queryKey,
26
+ ...n(_, m).queryKey,
27
27
  "all",
28
28
  l
29
29
  ],
30
30
  enabled: u,
31
31
  initialPageParam: void 0,
32
- queryFn: async ({ signal: e, pageParam: t }) => {
33
- let { data: r } = await n({
32
+ queryFn: async ({ signal: t, pageParam: n }) => {
33
+ let { data: r } = await e({
34
34
  client: f,
35
35
  headers: h,
36
36
  query: {
37
37
  Status: l,
38
38
  Limit: c,
39
39
  ...g,
40
- ...t ? { PaginationToken: t } : {}
40
+ ...n ? { PaginationToken: n } : {}
41
41
  },
42
- signal: e,
42
+ signal: t,
43
43
  throwOnError: !0
44
44
  });
45
45
  return r;
@@ -70,8 +70,8 @@ function u(l, u, d) {
70
70
  data: y
71
71
  };
72
72
  }
73
- function d({ enabled: t, permissions: n } = {}) {
74
- let { organizationId: r, widgetToken: i } = e(), a = !!(r && i) && (t === !0 || t === void 0), s = u("ACTIVE", a, n), c = u("INVITED", a, n), d = o(() => {
73
+ function d({ enabled: e, permissions: t } = {}) {
74
+ let { organizationId: n, widgetToken: i } = r(), a = !!(n && i) && (e === !0 || e === void 0), s = u("ACTIVE", a, t), c = u("INVITED", a, t), d = o(() => {
75
75
  let e = /* @__PURE__ */ new Map();
76
76
  for (let t of l) {
77
77
  let n = t === "ACTIVE" ? s.data?.data ?? [] : c.data?.data ?? [];
@@ -2,11 +2,11 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
- import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
7
- import { getPayablesIdLineItems as n, putPayablesIdLineItems as r } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
8
- import { getPayablesIdLineItemsOptions as i } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
9
- import { withAuthEpoch as a } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
5
+ import { getPayablesIdLineItems as e, putPayablesIdLineItems as t } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
+ import { getPayablesIdLineItemsOptions as n } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
+ import { withAuthEpoch as r } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
+ import { useEmbedApi as i } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
+ import { organizationHeaders as a } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
10
10
  import { getAllPagesNextPaginationTokenParam as o, isAllPagesResolving as s, useAutoFetchNextPage as c } from "../../../shared/data-access/dist/lib/allPages.js";
11
11
  import "../../../shared/data-access/dist/index.js";
12
12
  import { invalidatePayableQueries as l } from "./index6.js";
@@ -14,26 +14,26 @@ import { useMemo as u } from "react";
14
14
  import { useInfiniteQuery as d, useMutation as f } from "@tanstack/react-query";
15
15
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js
16
16
  var p = 100;
17
- function m(r, { enabled: l } = {}) {
18
- let { client: f, organizationId: m, widgetToken: h, authEpoch: g } = e(), _ = t(m), v = !!(m && h && r) && l !== !1, y = i({
17
+ function m(t, { enabled: l } = {}) {
18
+ let { client: f, organizationId: m, widgetToken: h, authEpoch: g } = i(), _ = a(m), v = !!(m && h && t) && l !== !1, y = n({
19
19
  client: f,
20
20
  headers: _,
21
- path: { payable_id: r ?? "" },
21
+ path: { payable_id: t ?? "" },
22
22
  query: { limit: p }
23
23
  }), b = d({
24
- queryKey: [...a(y, g).queryKey, "all"],
24
+ queryKey: [...r(y, g).queryKey, "all"],
25
25
  enabled: v,
26
26
  initialPageParam: void 0,
27
- queryFn: async ({ signal: e, pageParam: t }) => {
28
- let { data: i } = await n({
27
+ queryFn: async ({ signal: n, pageParam: r }) => {
28
+ let { data: i } = await e({
29
29
  client: f,
30
30
  headers: _,
31
- path: { payable_id: r ?? "" },
31
+ path: { payable_id: t ?? "" },
32
32
  query: {
33
33
  limit: p,
34
- ...t ? { pagination_token: t } : {}
34
+ ...r ? { pagination_token: r } : {}
35
35
  },
36
- signal: e,
36
+ signal: n,
37
37
  throwOnError: !0
38
38
  });
39
39
  return i;
@@ -49,23 +49,23 @@ function m(r, { enabled: l } = {}) {
49
49
  };
50
50
  }
51
51
  function h() {
52
- let { client: n, organizationId: i } = e();
52
+ let { client: e, organizationId: n } = i();
53
53
  return f({
54
- mutationFn: async ({ path: e, body: a }) => {
55
- let { data: o } = await r({
56
- client: n,
57
- headers: t(i),
58
- path: e,
59
- body: a,
54
+ mutationFn: async ({ path: r, body: i }) => {
55
+ let { data: o } = await t({
56
+ client: e,
57
+ headers: a(n),
58
+ path: r,
59
+ body: i,
60
60
  throwOnError: !0
61
61
  });
62
62
  return o;
63
63
  },
64
- onSuccess: async (e, t) => {
64
+ onSuccess: async (t, r) => {
65
65
  await l({
66
- client: n,
67
- organizationId: i,
68
- payableId: t.path.payable_id,
66
+ client: e,
67
+ organizationId: n,
68
+ payableId: r.path.payable_id,
69
69
  includeLineItems: !0
70
70
  });
71
71
  }
@@ -2,11 +2,11 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
- import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
7
- import { getPaymentRecords as n } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
8
- import { getPaymentRecordsOptions as r } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
9
- import { withAuthEpoch as i } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
5
+ import { getPaymentRecords as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
+ import { getPaymentRecordsOptions as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
+ import { withAuthEpoch as n } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
+ import { useEmbedApi as r } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
+ import { organizationHeaders as i } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
10
10
  import { getAllPagesNextPaginationTokenParam as a, isAllPagesResolving as o, useAutoFetchNextPage as s } from "../../../shared/data-access/dist/lib/allPages.js";
11
11
  import "../../../shared/data-access/dist/index.js";
12
12
  import { useMemo as c } from "react";
@@ -14,28 +14,28 @@ import { useInfiniteQuery as l } from "@tanstack/react-query";
14
14
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js
15
15
  var u = 100;
16
16
  function d(d, { enabled: f } = {}) {
17
- let { client: p, organizationId: m, widgetToken: h, authEpoch: g } = e(), _ = t(m), v = !!(m && h && d) && f !== !1, y = {
17
+ let { client: p, organizationId: m, widgetToken: h, authEpoch: g } = r(), _ = i(m), v = !!(m && h && d) && f !== !1, y = {
18
18
  limit: u,
19
19
  object_id__in: d ? [d] : [],
20
20
  order: "desc",
21
21
  sort: "paid_at"
22
- }, b = r({
22
+ }, b = t({
23
23
  client: p,
24
24
  headers: _,
25
25
  query: y
26
26
  }), x = l({
27
- queryKey: [...i(b, g).queryKey, "all"],
27
+ queryKey: [...n(b, g).queryKey, "all"],
28
28
  enabled: v,
29
29
  initialPageParam: void 0,
30
- queryFn: async ({ signal: e, pageParam: t }) => {
31
- let { data: r } = await n({
30
+ queryFn: async ({ signal: t, pageParam: n }) => {
31
+ let { data: r } = await e({
32
32
  client: p,
33
33
  headers: _,
34
34
  query: {
35
35
  ...y,
36
- ...t ? { pagination_token: t } : {}
36
+ ...n ? { pagination_token: n } : {}
37
37
  },
38
- signal: e,
38
+ signal: t,
39
39
  throwOnError: !0
40
40
  });
41
41
  return r;
@@ -2,21 +2,21 @@
2
2
  "use client";
3
3
  "use client";
4
4
  "use client";
5
- import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
- import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
7
- import { postPayablesIdSchedulePayment as n } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
5
+ import { postPayablesIdSchedulePayment as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
+ import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
+ import { organizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
8
  import "../../../shared/data-access/dist/index.js";
9
9
  import { invalidatePayableQueries as r, reconcileScheduledPaymentQueries as i } from "./index6.js";
10
10
  import { useMutation as a } from "@tanstack/react-query";
11
11
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js
12
12
  function o() {
13
- let { client: o, organizationId: s } = e();
13
+ let { client: o, organizationId: s } = t();
14
14
  return a({
15
- mutationFn: async ({ payableId: e, paymentDate: r, sourceBankAccountId: i }) => {
16
- let { data: a } = await n({
15
+ mutationFn: async ({ payableId: t, paymentDate: r, sourceBankAccountId: i }) => {
16
+ let { data: a } = await e({
17
17
  client: o,
18
- headers: t(s),
19
- path: { payable_id: e },
18
+ headers: n(s),
19
+ path: { payable_id: t },
20
20
  body: {
21
21
  payment_date: r,
22
22
  source_bank_account_id: i