@tesouro/embedded-components-react 0.5.226 → 0.5.227

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 (105) hide show
  1. package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +41 -39
  2. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index12.js +2 -2
  3. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index2.js +2 -2
  4. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +2 -2
  5. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +2 -2
  6. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index9.js +150 -147
  7. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +46 -51
  8. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +130 -128
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js +31 -32
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index19.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index2.js +2 -2
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index21.js +2 -2
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index22.js +2 -2
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index3.js +2 -2
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index4.js +36 -37
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index2.js +2 -2
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +2 -2
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index2.js +6 -10
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index3.js +2 -2
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index4.js +2 -2
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js +2 -2
  22. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index6.js +2 -2
  23. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index7.js +2 -2
  24. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index8.js +2 -2
  25. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index13.js +154 -150
  26. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index7.js +2 -2
  27. package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +2 -2
  28. package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +2 -2
  29. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +151 -149
  30. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
  31. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +4 -4
  32. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index15.js +2 -2
  33. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index17.js +2 -2
  34. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index18.js +2 -2
  35. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index19.js +2 -2
  36. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index2.js +2 -2
  37. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index3.js +2 -2
  38. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index4.js +2 -2
  39. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index5.js +2 -2
  40. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index6.js +2 -2
  41. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index8.js +2 -2
  42. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index9.js +2 -2
  43. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index24.js +1 -0
  44. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index27.js +89 -87
  45. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index5.js +133 -130
  46. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index8.js +36 -34
  47. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +12 -12
  48. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -6
  49. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +2 -2
  50. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +40 -39
  51. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +2 -2
  52. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +209 -207
  53. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index4.js +10 -5
  54. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index5.js +10 -5
  55. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index6.js +11 -6
  56. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index2.js +2 -2
  57. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index3.js +2 -2
  58. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/data-access/dist/index2.js +2 -2
  59. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index12.js +2 -2
  60. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index13.js +2 -2
  61. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index14.js +30 -28
  62. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index17.js +28 -26
  63. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index18.js +37 -34
  64. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index21.js +28 -26
  65. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index22.js +37 -34
  66. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +294 -292
  67. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index5.js +58 -58
  68. package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +47 -48
  69. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +4 -4
  70. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +2 -2
  71. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +4 -4
  72. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +39 -38
  73. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +14 -13
  74. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/allPages.js +1 -1
  75. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/applicationStatusQueryOptions.js +16 -15
  76. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +7 -5
  77. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js +7 -5
  78. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js +2 -2
  79. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +7 -5
  80. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js +28 -29
  81. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/organizationStatus.js +10 -0
  82. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +26 -27
  83. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/usePaymentTermsQuery.js +2 -2
  84. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +31 -32
  85. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useRolePermissionsQueries.js +2 -2
  86. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +2 -2
  87. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +2 -2
  88. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMailboxAddress.js +2 -2
  89. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js +2 -2
  90. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +33 -34
  91. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/withAuthEpoch.js +33 -22
  92. package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index3.js +2 -2
  93. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +43 -32
  94. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +138 -127
  95. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/deriveOrganizationStatus.js +6 -0
  96. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetFetch.js +1 -1
  97. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  98. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index10.js +2 -2
  99. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index2.js +2 -2
  100. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +2 -2
  101. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index4.js +2 -2
  102. package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index9.js +2 -2
  103. package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +2 -2
  104. package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +60 -58
  105. package/package.json +1 -1
@@ -11,7 +11,7 @@ import { useQuery as i } from "@tanstack/react-query";
11
11
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index3.js
12
12
  var a = 100;
13
13
  function o(o, { enabled: s } = {}) {
14
- let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = !!(l && u && o) && s !== !1, m = e({
14
+ let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationStatus: f } = n(), p = !!(l && u && o) && s !== !1, m = e({
15
15
  client: c,
16
16
  headers: r(l),
17
17
  path: { payable_id: o ?? "" },
@@ -24,7 +24,7 @@ function o(o, { enabled: s } = {}) {
24
24
  return i({
25
25
  ...t(m, {
26
26
  authEpoch: d,
27
- organizationPending: f
27
+ organizationStatus: f
28
28
  }),
29
29
  enabled: p
30
30
  });
@@ -4,38 +4,37 @@
4
4
  "use client";
5
5
  import { getPayablesIdLineItems as e, putPayablesIdLineItems as t } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
6
  import { getPayablesIdLineItemsOptions as n } from "../../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
7
- import { authEpochPlaceholder as r, withAuthEpoch as i } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
- import { useEmbedApi as a } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
- import { organizationHeaders as o } from "../../../../shared/data-access/dist/lib/organizationHeaders.js";
10
- import { getAllPagesNextPaginationTokenParam as s, isAllPagesResolving as c, useAutoFetchNextPage as l } from "../../../../shared/data-access/dist/lib/allPages.js";
7
+ import { withAuthEpochInfinite 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
+ 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
- import { invalidatePayableQueries as u } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
12
+ import { invalidatePayableQueries as l } from "../../../data-access/dist/lib/invalidatePayableQueries/invalidatePayableQueries.js";
13
13
  import "../../../data-access/dist/invalidation.js";
14
- import { useMemo as d } from "react";
15
- import { useInfiniteQuery as f, useMutation as p } from "@tanstack/react-query";
14
+ import { useMemo as u } from "react";
15
+ import { useInfiniteQuery as d, useMutation as f } from "@tanstack/react-query";
16
16
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index4.js
17
- var m = 100;
18
- function h(t, { enabled: u } = {}) {
19
- let { client: p, organizationId: h, widgetToken: g, authEpoch: _, organizationPending: v } = a(), y = o(h), b = !!(h && g && t) && u !== !1, x = n({
20
- client: p,
21
- headers: y,
17
+ var p = 100;
18
+ function m(t, { enabled: l } = {}) {
19
+ let { client: f, organizationId: m, widgetToken: h, authEpoch: g, organizationStatus: _ } = i(), v = a(m), y = !!(m && h && t) && l !== !1, b = n({
20
+ client: f,
21
+ headers: v,
22
22
  path: { payable_id: t ?? "" },
23
- query: { limit: m }
24
- }), S = f({
25
- queryKey: [...i(x, {
26
- authEpoch: _,
27
- organizationPending: v
28
- }).queryKey, "all"],
29
- placeholderData: r(x.queryKey, v),
30
- enabled: b,
23
+ query: { limit: p }
24
+ }), x = d({
25
+ ...r(b.queryKey, {
26
+ authEpoch: g,
27
+ organizationStatus: _
28
+ }, { suffix: ["all"] }),
29
+ enabled: y,
31
30
  initialPageParam: void 0,
32
31
  queryFn: async ({ signal: n, pageParam: r }) => {
33
32
  let { data: i } = await e({
34
- client: p,
35
- headers: y,
33
+ client: f,
34
+ headers: v,
36
35
  path: { payable_id: t ?? "" },
37
36
  query: {
38
- limit: m,
37
+ limit: p,
39
38
  ...r ? { pagination_token: r } : {}
40
39
  },
41
40
  signal: n,
@@ -43,31 +42,31 @@ function h(t, { enabled: u } = {}) {
43
42
  });
44
43
  return i;
45
44
  },
46
- getNextPageParam: s
45
+ getNextPageParam: o
47
46
  });
48
- l(S, b);
49
- let C = d(() => S.data?.pages.flatMap((e) => e.data ?? []) ?? [], [S.data]);
47
+ c(x, y);
48
+ let S = u(() => x.data?.pages.flatMap((e) => e.data ?? []) ?? [], [x.data]);
50
49
  return {
51
- ...S,
52
- lineItems: C,
53
- isResolving: c(S)
50
+ ...x,
51
+ lineItems: S,
52
+ isResolving: s(x)
54
53
  };
55
54
  }
56
- function g() {
57
- let { client: e, organizationId: n } = a();
58
- return p({
55
+ function h() {
56
+ let { client: e, organizationId: n } = i();
57
+ return f({
59
58
  mutationFn: async ({ path: r, body: i }) => {
60
- let { data: a } = await t({
59
+ let { data: o } = await t({
61
60
  client: e,
62
- headers: o(n),
61
+ headers: a(n),
63
62
  path: r,
64
63
  body: i,
65
64
  throwOnError: !0
66
65
  });
67
- return a;
66
+ return o;
68
67
  },
69
68
  onSuccess: async (t, r) => {
70
- await u({
69
+ await l({
71
70
  client: e,
72
71
  organizationId: n,
73
72
  payableId: r.path.payable_id,
@@ -77,4 +76,4 @@ function g() {
77
76
  });
78
77
  }
79
78
  //#endregion
80
- export { h as useAllPayableLineItemsQuery, g as useReplacePayableLineItemsMutation };
79
+ export { m as useAllPayableLineItemsQuery, h as useReplacePayableLineItemsMutation };
@@ -11,7 +11,7 @@ import "../../../data-access/dist/invalidation.js";
11
11
  import { useQueries as i } from "@tanstack/react-query";
12
12
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index2.js
13
13
  function a({ payableIds: a, enabled: o }) {
14
- let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationPending: d } = t(), f = !!(c && l) && (o === !0 || o === void 0);
14
+ let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = t(), f = !!(c && l) && (o === !0 || o === void 0);
15
15
  return i({
16
16
  queries: a.map((t) => ({
17
17
  ...e(r({
@@ -20,7 +20,7 @@ function a({ payableIds: a, enabled: o }) {
20
20
  payableId: t
21
21
  }), {
22
22
  authEpoch: u,
23
- organizationPending: d
23
+ organizationStatus: d
24
24
  }),
25
25
  enabled: f && !!t
26
26
  })),
@@ -23,7 +23,7 @@ function g({ onOpenBill: g, labels: _ } = {}) {
23
23
  let v = {
24
24
  ...s,
25
25
  ..._
26
- }, y = _?.tooManyFilesError ?? s.tooManyFilesError, b = _?.remainingCapacityError ?? s.remainingCapacityError, { client: x, organizationId: S, authEpoch: C, organizationPending: w } = r(), T = h(), E = f(() => o(S), [S]), D = l(), [O, k] = p(!1), { data: A = [] } = m({
26
+ }, y = _?.tooManyFilesError ?? s.tooManyFilesError, b = _?.remainingCapacityError ?? s.remainingCapacityError, { client: x, organizationId: S, authEpoch: C, organizationStatus: w } = r(), T = h(), E = f(() => o(S), [S]), D = l(), [O, k] = p(!1), { data: A = [] } = m({
27
27
  queryKey: E,
28
28
  queryFn: () => T.getQueryData(E) ?? [],
29
29
  staleTime: Infinity,
@@ -88,7 +88,7 @@ function g({ onOpenBill: g, labels: _ } = {}) {
88
88
  path: { payable_id: o }
89
89
  }), {
90
90
  authEpoch: C,
91
- organizationPending: w
91
+ organizationStatus: w
92
92
  }),
93
93
  retry: !1
94
94
  }).catch((e) => {
@@ -4,7 +4,7 @@
4
4
  "use client";
5
5
  import { getPayables as e } from "../../../../shared/data-access/dist/lib/rest/sdk.gen.js";
6
6
  import { getPayablesOptions 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";
7
+ import { withAuthEpochInfinite as n } from "../../../../shared/data-access/dist/lib/withAuthEpoch.js";
8
8
  import { useEmbedApi as r } from "../../../../shared/data-access/dist/lib/EmbedApiContext.js";
9
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";
@@ -13,19 +13,15 @@ import { useMemo as c } from "react";
13
13
  import { useInfiniteQuery as l } from "@tanstack/react-query";
14
14
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index2.js
15
15
  function u({ enabled: u, maxPages: d = 3, ...f } = {}) {
16
- let { client: p, organizationId: m, widgetToken: h, authEpoch: g, organizationPending: _ } = r(), v = i(m), y = !!(m && h) && (u === !0 || u === void 0), b = t({
16
+ let { client: p, organizationId: m, widgetToken: h, authEpoch: g, organizationStatus: _ } = r(), v = i(m), y = !!(m && h) && (u === !0 || u === void 0), b = t({
17
17
  client: p,
18
18
  headers: v,
19
19
  query: f
20
20
  }), x = l({
21
- queryKey: [
22
- ...n(b, {
23
- authEpoch: g,
24
- organizationPending: _
25
- }).queryKey,
26
- "first-pages",
27
- d
28
- ],
21
+ ...n(b.queryKey, {
22
+ authEpoch: g,
23
+ organizationStatus: _
24
+ }, { suffix: ["first-pages", d] }),
29
25
  enabled: y,
30
26
  initialPageParam: void 0,
31
27
  queryFn: async ({ signal: t, pageParam: n }) => {
@@ -13,7 +13,7 @@ import { useMemo as a } from "react";
13
13
  import { useQueries as o } from "@tanstack/react-query";
14
14
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index3.js
15
15
  function s({ filters: s, enabled: c }) {
16
- let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationPending: p } = n(), m = r(u), h = !!(u && d) && (c === !0 || c === void 0), g = o({ queries: s.map((n) => ({
16
+ let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationStatus: p } = n(), m = r(u), h = !!(u && d) && (c === !0 || c === void 0), g = o({ queries: s.map((n) => ({
17
17
  ...t(e({
18
18
  client: l,
19
19
  headers: m,
@@ -23,7 +23,7 @@ function s({ filters: s, enabled: c }) {
23
23
  }
24
24
  }), {
25
25
  authEpoch: f,
26
- organizationPending: p
26
+ organizationStatus: p
27
27
  }),
28
28
  enabled: h
29
29
  })) });
@@ -12,7 +12,7 @@ import "../../../data-access/dist/invalidation.js";
12
12
  import { useQuery as a } from "@tanstack/react-query";
13
13
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index4.js
14
14
  function o({ enabled: o, pollWhileOcrProcessing: s = !1, ...c } = {}) {
15
- let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationPending: p } = n(), m = !!(u && d) && (o === !0 || o === void 0), h = e({
15
+ let { client: l, organizationId: u, widgetToken: d, authEpoch: f, organizationStatus: p } = n(), m = !!(u && d) && (o === !0 || o === void 0), h = e({
16
16
  client: l,
17
17
  headers: r(u),
18
18
  query: c
@@ -20,7 +20,7 @@ function o({ enabled: o, pollWhileOcrProcessing: s = !1, ...c } = {}) {
20
20
  return a({
21
21
  ...t(h, {
22
22
  authEpoch: f,
23
- organizationPending: p
23
+ organizationStatus: p
24
24
  }),
25
25
  enabled: m,
26
26
  ...s ? { refetchInterval: (e) => (e.state.data?.data ?? []).some((e) => e.ocr_status === "processing") ? i : !1 } : {}
@@ -12,7 +12,7 @@ import "../../../data-access/dist/index.js";
12
12
  import { useQuery as a } from "@tanstack/react-query";
13
13
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js
14
14
  function o({ enabled: o } = {}) {
15
- let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationPending: d } = n(), f = !!(c && l) && (o === !0 || o === void 0), p = e({
15
+ let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = n(), f = !!(c && l) && (o === !0 || o === void 0), p = e({
16
16
  client: s,
17
17
  headers: r(c),
18
18
  query: i
@@ -20,7 +20,7 @@ function o({ enabled: o } = {}) {
20
20
  return a({
21
21
  ...t(p, {
22
22
  authEpoch: u,
23
- organizationPending: d
23
+ organizationStatus: d
24
24
  }),
25
25
  enabled: f,
26
26
  select: (e) => ({ count: e.data[0]?.metric_value ?? 0 })
@@ -11,14 +11,14 @@ import { withNotFoundOutcome as i } from "./index5.js";
11
11
  import { useQuery as a } from "@tanstack/react-query";
12
12
  //#region ../../libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index6.js
13
13
  function o({ cardId: o, enabled: s }) {
14
- let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = e({
14
+ let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationStatus: f } = n(), p = e({
15
15
  client: c,
16
16
  headers: r(l),
17
17
  path: { cardId: o ?? "" }
18
18
  }), m = a({
19
19
  ...t(p, {
20
20
  authEpoch: d,
21
- organizationPending: f
21
+ organizationStatus: f
22
22
  }),
23
23
  enabled: !!(o && l && u) && s !== !1
24
24
  });
@@ -11,14 +11,14 @@ import "../../../shared/data-access/dist/index.js";
11
11
  import { useQuery as a } from "@tanstack/react-query";
12
12
  //#region ../../libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index7.js
13
13
  function o({ cardId: o, enabled: s }) {
14
- let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = !!(o && l && u) && s, m = p ? o ?? "" : "", h = e({
14
+ let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationStatus: f } = n(), p = !!(o && l && u) && s, m = p ? o ?? "" : "", h = e({
15
15
  client: c,
16
16
  headers: r(l),
17
17
  path: { id: m }
18
18
  }), g = a({
19
19
  ...t(h, {
20
20
  authEpoch: d,
21
- organizationPending: f
21
+ organizationStatus: f
22
22
  }),
23
23
  enabled: p,
24
24
  staleTime: 0,
@@ -11,14 +11,14 @@ import { withNotFoundOutcome as i } from "./index5.js";
11
11
  import { useQuery as a } from "@tanstack/react-query";
12
12
  //#region ../../libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index8.js
13
13
  function o({ cardId: o, enabled: s }) {
14
- let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationPending: f } = n(), p = e({
14
+ let { client: c, organizationId: l, widgetToken: u, authEpoch: d, organizationStatus: f } = n(), p = e({
15
15
  client: c,
16
16
  headers: r(l),
17
17
  path: { id: o ?? "" }
18
18
  }), m = a({
19
19
  ...t(p, {
20
20
  authEpoch: d,
21
- organizationPending: f
21
+ organizationStatus: f
22
22
  }),
23
23
  enabled: !!(o && l && u) && s !== !1
24
24
  });