@tesouro/embedded-components-react 0.3.55 → 0.3.57

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 (30) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +1 -1
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +65 -3
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +4 -5
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +5 -4
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +3 -32
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +30 -37
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +37 -158
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +165 -28
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +48 -1
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +1 -50
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +47 -4
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +4 -13
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -14
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +7 -57
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +54 -16
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +24 -60
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +1 -1
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +2 -2
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +6 -6
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +98 -98
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +51 -53
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +131 -140
  25. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +6 -6
  26. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +6 -5
  27. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +2 -3
  28. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +18 -0
  29. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  30. package/package.json +1 -1
@@ -11,169 +11,160 @@ import "../../../shared/feature/dist/index.js";
11
11
  import { useAllPayableLineItemsQuery as i } from "../../data-access/dist/index9.js";
12
12
  import { usePayableQuery as a } from "../../data-access/dist/index15.js";
13
13
  import "../../data-access/dist/index.js";
14
- import { resolveVendor as o } from "./index5.js";
15
- import { BillDecisionDialog as s } from "../../ui/dist/index50.js";
16
- import { BillDetailsSheet as c } from "../../ui/dist/index56.js";
17
- import { BillDuplicateNotice as l } from "../../ui/dist/index60.js";
18
- import { MarkAsPaidDialog as u } from "../../ui/dist/index87.js";
14
+ import { BillDecisionDialog as o } from "../../ui/dist/index50.js";
15
+ import { BillDetailsSheet as s } from "../../ui/dist/index56.js";
16
+ import { BillDuplicateNotice as c } from "../../ui/dist/index60.js";
17
+ import { MarkAsPaidDialog as l } from "../../ui/dist/index87.js";
19
18
  import "../../ui/dist/index.js";
20
- import { usePayableDuplicateReview as d } from "./index10.js";
19
+ import { usePayableDuplicateReview as u } from "./index10.js";
21
20
  import "./index11.js";
22
- import { resolveAmountDueMinorUnits as f } from "./index16.js";
23
- import { PayBillFlow as p } from "./index22.js";
24
- import "./index23.js";
25
- import { mergeMarkAsPaidFlowLabels as m } from "./index12.js";
26
- import { useMarkAsPaidFlow as h } from "./index14.js";
21
+ import { resolveAmountDueMinorUnits as d } from "./index17.js";
22
+ import { PayBillFlow as f } from "./index23.js";
23
+ import "./index24.js";
24
+ import { mergeMarkAsPaidFlowLabels as p } from "./index12.js";
25
+ import { useMarkAsPaidFlow as m } from "./index14.js";
27
26
  import "./index15.js";
28
- import { mergeDecisionDialogCopy as g } from "./index38.js";
29
- import { useApprovalPolicyCardView as _ } from "./index28.js";
30
- import { useCurrentApprovalRequestId as v } from "./index29.js";
31
- import { usePayableDetailActions as y } from "./index31.js";
32
- import { useScheduledPayment as b } from "./index32.js";
33
- import { BILL_DETAILS_LABELS_EN as x } from "./index55.js";
34
- import { mapPayableToBillDetails as S } from "./index56.js";
35
- import { useMemo as C, useRef as w } from "react";
36
- import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
27
+ import { mergeDecisionDialogCopy as h } from "./index38.js";
28
+ import { useApprovalPolicyCardView as g } from "./index29.js";
29
+ import { useCurrentApprovalRequestId as _ } from "./index30.js";
30
+ import { usePayableDetailActions as v } from "./index31.js";
31
+ import { useScheduledPayment as y } from "./index32.js";
32
+ import { BILL_DETAILS_LABELS_EN as b } from "./index55.js";
33
+ import { mapPayableToBillDetails as x } from "./index56.js";
34
+ import { useMemo as S, useRef as C } from "react";
35
+ import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
37
36
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js
38
- function O(e) {
39
- return !!(e?.bank_account?.account_holder_name && e.bank_account.routing_number && e.bank_account.account_number);
40
- }
41
- function k({ open: k, onOpenChange: A, payableId: j, onClose: M, onExpand: N, testId: P, labels: F, poweredByBankName: I }) {
42
- let L = C(() => ({
43
- ...x,
44
- ...F,
37
+ function D({ open: D, onOpenChange: O, payableId: k, onClose: A, onExpand: j, testId: M, labels: N, poweredByBankName: P }) {
38
+ let F = S(() => ({
39
+ ...b,
40
+ ...N,
45
41
  sheet: {
46
- ...x.sheet,
47
- ...F?.sheet,
42
+ ...b.sheet,
43
+ ...N?.sheet,
48
44
  statusBadge: {
49
- ...x.sheet.statusBadge,
50
- ...F?.sheet?.statusBadge
45
+ ...b.sheet.statusBadge,
46
+ ...N?.sheet?.statusBadge
51
47
  },
52
48
  approvalPolicy: {
53
- ...x.sheet.approvalPolicy,
54
- ...F?.sheet?.approvalPolicy
49
+ ...b.sheet.approvalPolicy,
50
+ ...N?.sheet?.approvalPolicy
55
51
  },
56
52
  dueDate: {
57
- ...x.sheet.dueDate,
58
- ...F?.sheet?.dueDate
53
+ ...b.sheet.dueDate,
54
+ ...N?.sheet?.dueDate
59
55
  }
60
56
  },
61
- decisionDialog: g(x.decisionDialog, F?.decisionDialog),
57
+ decisionDialog: h(b.decisionDialog, N?.decisionDialog),
62
58
  approvalPolicyCopy: {
63
- ...x.approvalPolicyCopy,
64
- ...F?.approvalPolicyCopy
59
+ ...b.approvalPolicyCopy,
60
+ ...N?.approvalPolicyCopy
65
61
  },
66
- markAsPaid: m(F?.markAsPaid),
62
+ markAsPaid: p(N?.markAsPaid),
67
63
  actionSuccess: {
68
- ...x.actionSuccess,
69
- ...F?.actionSuccess
64
+ ...b.actionSuccess,
65
+ ...N?.actionSuccess
70
66
  }
71
- }), [F]), R = a(j), z = i(j), B = n(), V = R.data, H = w(null), U = v({
72
- payableId: j,
73
- status: V?.status
74
- }), W = _({
75
- payableId: j,
76
- approvalPolicyId: V?.approval_policy_id,
77
- copy: L.approvalPolicyCopy
78
- }), G = b({
79
- payableId: j,
80
- scheduledPaymentDate: V?.scheduled_payment_date
81
- }), K = h({
82
- payableId: j,
83
- amountDueMinorUnits: f(V) ?? 0,
84
- amountToPayMinorUnits: V?.amount_to_pay ?? void 0,
85
- currencyCode: V?.currency ?? void 0,
86
- dueDate: V?.due_date,
87
- hasScheduledPayment: G.hasScheduledPayment,
88
- testId: P,
89
- labels: L.markAsPaid
90
- }), { actions: q, decisionDialog: J } = y({
91
- payableId: V ? j : void 0,
92
- status: V?.status,
93
- currentApprovalRequestId: U.id,
94
- isPolicyApprover: U.isPolicyApprover,
95
- hasWaitingRequest: U.hasWaitingRequest,
96
- hasScheduledPayment: G.hasScheduledPayment,
97
- scheduledPaymentIntentId: G.scheduledPaymentIntentId,
98
- isScheduledPaymentUnknown: G.isResolving,
99
- pendingApprovers: W.pendingApprovers,
100
- arePendingApproversUnknown: W.isLoading,
67
+ }), [N]), I = a(k), L = i(k), R = n(), z = I.data, B = C(null), V = _({
68
+ payableId: k,
69
+ status: z?.status
70
+ }), H = g({
71
+ payableId: k,
72
+ approvalPolicyId: z?.approval_policy_id,
73
+ copy: F.approvalPolicyCopy
74
+ }), U = y({
75
+ payableId: k,
76
+ scheduledPaymentDate: z?.scheduled_payment_date
77
+ }), W = m({
78
+ payableId: k,
79
+ amountDueMinorUnits: d(z) ?? 0,
80
+ amountToPayMinorUnits: z?.amount_to_pay ?? void 0,
81
+ currencyCode: z?.currency ?? void 0,
82
+ dueDate: z?.due_date,
83
+ hasScheduledPayment: U.hasScheduledPayment,
84
+ testId: M,
85
+ labels: F.markAsPaid
86
+ }), { actions: G, decisionDialog: K } = v({
87
+ payableId: z ? k : void 0,
88
+ status: z?.status,
89
+ currentApprovalRequestId: V.id,
90
+ isPolicyApprover: V.isPolicyApprover,
91
+ hasWaitingRequest: V.hasWaitingRequest,
92
+ hasScheduledPayment: U.hasScheduledPayment,
93
+ scheduledPaymentIntentId: U.scheduledPaymentIntentId,
94
+ isScheduledPaymentUnknown: U.isResolving,
95
+ pendingApprovers: H.pendingApprovers,
96
+ arePendingApproversUnknown: H.isLoading,
101
97
  labels: {
102
- payBill: L.sheet.payButton,
103
- markAsPaid: L.sheet.markAsPaidButton,
104
- reject: L.sheet.rejectButton,
105
- approve: L.sheet.approveButton,
106
- cancel: L.sheet.cancelButton,
107
- cancelScheduledPayment: L.sheet.cancelScheduledPaymentButton,
108
- reopen: L.sheet.reopenButton,
109
- forceApprove: L.sheet.forceApproveButton,
110
- forceReject: L.sheet.forceRejectButton,
111
- policyOverridesHeading: L.sheet.policyOverridesGroup,
112
- decisionDialog: L.decisionDialog,
113
- actionError: L.actionError,
114
- actionSuccess: L.actionSuccess
98
+ payBill: F.sheet.payButton,
99
+ markAsPaid: F.sheet.markAsPaidButton,
100
+ reject: F.sheet.rejectButton,
101
+ approve: F.sheet.approveButton,
102
+ cancel: F.sheet.cancelButton,
103
+ cancelScheduledPayment: F.sheet.cancelScheduledPaymentButton,
104
+ reopen: F.sheet.reopenButton,
105
+ forceApprove: F.sheet.forceApproveButton,
106
+ forceReject: F.sheet.forceRejectButton,
107
+ policyOverridesHeading: F.sheet.policyOverridesGroup,
108
+ decisionDialog: F.decisionDialog,
109
+ actionError: F.actionError,
110
+ actionSuccess: F.actionSuccess
115
111
  },
116
- isMarkAsPaidPending: K.isPending,
117
- onMarkAsPaidSelect: K.open,
118
- onPayBillSelect: () => {
119
- if (!O(o(V)) && N) {
120
- N();
121
- return;
122
- }
123
- H.current?.open();
124
- }
125
- }), Y = G.hasScheduledPayment && G.scheduledDateLabel ? /* @__PURE__ */ E("p", {
112
+ isMarkAsPaidPending: W.isPending,
113
+ onMarkAsPaidSelect: W.open,
114
+ onPayBillSelect: () => B.current?.open()
115
+ }), q = U.hasScheduledPayment && U.scheduledDateLabel ? /* @__PURE__ */ T("p", {
126
116
  className: "ttw:text-sm ttw:text-muted-foreground",
127
- children: L.scheduledSummary(G.scheduledDateLabel)
128
- }) : void 0, { initResponse: X } = r(), Z = d({
129
- payable: V,
130
- canManage: e(X?.scopes, [t.PayableWriteOrg])
131
- }), Q = Z.isPossibleDuplicate ? /* @__PURE__ */ E(l, {
132
- onNotADuplicate: Z.onNotADuplicate,
133
- isActionDisabled: Z.isBusy
134
- }) : void 0, $ = Q || Y ? /* @__PURE__ */ D(T, { children: [Q, Y] }) : void 0, ee = C(() => V ? S({
135
- payable: V,
136
- lineItems: z.lineItems,
137
- ledgerAccounts: B.data?.data ?? [],
138
- labels: L,
139
- hasScheduledPayment: G.hasScheduledPayment
117
+ children: F.scheduledSummary(U.scheduledDateLabel)
118
+ }) : void 0, { initResponse: J } = r(), Y = u({
119
+ payable: z,
120
+ canManage: e(J?.scopes, [t.PayableWriteOrg])
121
+ }), X = Y.isPossibleDuplicate ? /* @__PURE__ */ T(c, {
122
+ onNotADuplicate: Y.onNotADuplicate,
123
+ isActionDisabled: Y.isBusy
124
+ }) : void 0, Z = X || q ? /* @__PURE__ */ E(w, { children: [X, q] }) : void 0, Q = S(() => z ? x({
125
+ payable: z,
126
+ lineItems: L.lineItems,
127
+ ledgerAccounts: R.data?.data ?? [],
128
+ labels: F,
129
+ hasScheduledPayment: U.hasScheduledPayment
140
130
  }) : void 0, [
141
- V,
142
- z.lineItems,
143
- B.data,
144
- L,
145
- G.hasScheduledPayment
146
- ]), te = R.isLoading || z.isResolving || B.isResolving, ne = R.isError || z.isError || B.isError;
147
- return /* @__PURE__ */ D(T, { children: [
148
- /* @__PURE__ */ E(c, {
149
- open: k,
150
- onOpenChange: A,
151
- details: ee,
152
- actions: q,
153
- approvalPolicy: W.view,
154
- isLoading: te,
155
- isError: ne,
156
- notice: $,
157
- onClose: M,
158
- onExpand: N,
159
- testId: P,
160
- labels: L.sheet
131
+ z,
132
+ L.lineItems,
133
+ R.data,
134
+ F,
135
+ U.hasScheduledPayment
136
+ ]), $ = I.isLoading || L.isResolving || R.isResolving, ee = I.isError || L.isError || R.isError;
137
+ return /* @__PURE__ */ E(w, { children: [
138
+ /* @__PURE__ */ T(s, {
139
+ open: D,
140
+ onOpenChange: O,
141
+ details: Q,
142
+ actions: G,
143
+ approvalPolicy: H.view,
144
+ isLoading: $,
145
+ isError: ee,
146
+ notice: Z,
147
+ onClose: A,
148
+ onExpand: j,
149
+ testId: M,
150
+ labels: F.sheet
161
151
  }),
162
- /* @__PURE__ */ E(s, {
163
- ...J,
164
- labels: { cancelButton: L.decisionDialog.cancelButton },
165
- testId: P ? `${P}-decision-dialog` : void 0,
166
- confirmTestId: P ? `${P}-decision-confirm` : void 0,
167
- reasonTestId: P ? `${P}-decision-reason` : void 0,
168
- reasonFieldId: P ? `${P}-decision-reason-field` : void 0
152
+ /* @__PURE__ */ T(o, {
153
+ ...K,
154
+ labels: { cancelButton: F.decisionDialog.cancelButton },
155
+ testId: M ? `${M}-decision-dialog` : void 0,
156
+ confirmTestId: M ? `${M}-decision-confirm` : void 0,
157
+ reasonTestId: M ? `${M}-decision-reason` : void 0,
158
+ reasonFieldId: M ? `${M}-decision-reason-field` : void 0
169
159
  }),
170
- /* @__PURE__ */ E(u, { ...K.dialogProps }),
171
- V ? /* @__PURE__ */ E(p, {
172
- ref: H,
173
- payable: V,
174
- poweredByBankName: I
160
+ /* @__PURE__ */ T(l, { ...W.dialogProps }),
161
+ z ? /* @__PURE__ */ T(f, {
162
+ ref: B,
163
+ payable: z,
164
+ onMissingAchInstructions: j,
165
+ poweredByBankName: P
175
166
  }) : null
176
167
  ] });
177
168
  }
178
169
  //#endregion
179
- export { k as BillDetailsContainer, k as default };
170
+ export { D as BillDetailsContainer, D as default };
@@ -12,15 +12,15 @@ import "../../../data-access/dist/index.js";
12
12
  import { counterpartBankAccountsInvalidationKey as l, counterpartInvalidationKey as u } from "./index2.js";
13
13
  import { useMutation as d, useQuery as f } from "@tanstack/react-query";
14
14
  //#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js
15
- function p(e) {
16
- let { client: r, organizationId: i, widgetToken: a, authEpoch: o } = t(), l = !!(i && a && e), u = s({
17
- client: r,
18
- headers: n(i),
15
+ function p(e, { enabled: r = !0 } = {}) {
16
+ let { client: i, organizationId: a, widgetToken: o, authEpoch: l } = t(), u = !!(r && a && o && e), d = s({
17
+ client: i,
18
+ headers: n(a),
19
19
  path: { counterpart_id: e ?? "" }
20
20
  });
21
21
  return f({
22
- ...c(u, o),
23
- enabled: l
22
+ ...c(d, l),
23
+ enabled: u
24
24
  });
25
25
  }
26
26
  function m() {
@@ -13,10 +13,11 @@ import { useCounterpartAddressesForRowsQuery as E, useCounterpartAddressesQuery
13
13
  import "../../data-access/dist/index.js";
14
14
  import { useAddressForm as O } from "./lib/useAddressForm.js";
15
15
  import { useCounterpartDetails as k } from "./lib/useCounterpartDetails.js";
16
- import { useCounterpartForm as A } from "./lib/useCounterpartForm.js";
16
+ import { usePayableAchInstructions as A } from "./lib/usePayableAchInstructions.js";
17
+ import { useCounterpartForm as j } from "./lib/useCounterpartForm.js";
17
18
  import "./lib/useCounterpartSelector.js";
18
- import { CounterpartSelector as j } from "./lib/CounterpartSelector.js";
19
- import { useDeleteController as M } from "./lib/useDeleteController.js";
19
+ import { CounterpartSelector as M } from "./lib/CounterpartSelector.js";
20
+ import { useDeleteController as N } from "./lib/useDeleteController.js";
20
21
  import "./lib/useSubEntityForm.js";
21
- import { useBankAccountForm as N } from "./lib/subEntityForms.js";
22
- export { e as AchFieldGroup, a as AddressFormSheet, i as BankAccountFormSheet, s as COUNTERPART_MESSAGE_LABELS_EN, o as ConfirmDeleteDialog, t as CounterpartFormFields, n as CounterpartFormSheet, j as CounterpartSelector, c as buildAnalyticsMap, l as buildCounterpartRows, u as counterpartFormBankAccountToCreatePayload, d as counterpartFormBankAccountToUpdatePayload, f as formatCounterpartDate, p as formatMoney, m as getAchInstructions, h as getCounterpartEmail, g as getCounterpartName, _ as getPayableAchInstructions, v as hasAchFormValues, y as hasSelectedText, b as resolveCounterpartBankAccountWrite, O as useAddressForm, N as useBankAccountForm, E as useCounterpartAddressesForRowsQuery, D as useCounterpartAddressesQuery, C as useCounterpartBankAccountsQuery, k as useCounterpartDetails, A as useCounterpartForm, S as useCounterpartsQuery, w as useCreateCounterpartBankAccountMutation, M as useDeleteController, r as useFocusFirstInvalidField, T as useUpdateCounterpartBankAccountMutation, x as validateAchFormValues };
22
+ import { useBankAccountForm as P } from "./lib/subEntityForms.js";
23
+ export { e as AchFieldGroup, a as AddressFormSheet, i as BankAccountFormSheet, s as COUNTERPART_MESSAGE_LABELS_EN, o as ConfirmDeleteDialog, t as CounterpartFormFields, n as CounterpartFormSheet, M as CounterpartSelector, c as buildAnalyticsMap, l as buildCounterpartRows, u as counterpartFormBankAccountToCreatePayload, d as counterpartFormBankAccountToUpdatePayload, f as formatCounterpartDate, p as formatMoney, m as getAchInstructions, h as getCounterpartEmail, g as getCounterpartName, _ as getPayableAchInstructions, v as hasAchFormValues, y as hasSelectedText, b as resolveCounterpartBankAccountWrite, O as useAddressForm, P as useBankAccountForm, E as useCounterpartAddressesForRowsQuery, D as useCounterpartAddressesQuery, C as useCounterpartBankAccountsQuery, k as useCounterpartDetails, j as useCounterpartForm, S as useCounterpartsQuery, w as useCreateCounterpartBankAccountMutation, N as useDeleteController, r as useFocusFirstInvalidField, A as usePayableAchInstructions, T as useUpdateCounterpartBankAccountMutation, x as validateAchFormValues };
@@ -129,9 +129,8 @@ function b(e) {
129
129
  let t = (e ?? []).filter((e) => e.currency === "USD" && (!!e.routing_number || !!e.account_number));
130
130
  return t.find((e) => e.is_default_for_currency) ?? t[0];
131
131
  }
132
- function x(e) {
133
- let t = (e ?? []).filter((e) => e.currency === "USD" && !!e.account_holder_name && !!e.routing_number && !!e.account_number);
134
- return t.find((e) => e.is_default_for_currency) ?? t[0];
132
+ function x(e, t = "USD") {
133
+ return (e ?? []).find((e) => e.currency === t && e.is_default_for_currency && !!e.account_holder_name && !!e.routing_number && !!e.account_number);
135
134
  }
136
135
  function S(e, t = {}) {
137
136
  let n = e.line2.trim();
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { getPayableAchInstructions as e } from "./helpers.js";
6
+ import { useCounterpartBankAccountsQuery as t } from "../../../data-access/dist/index5.js";
7
+ import "../../../data-access/dist/index.js";
8
+ //#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js
9
+ function n({ counterpartId: n, currency: r, enabled: i = !0 } = {}) {
10
+ let a = t(n, { enabled: i });
11
+ return {
12
+ achInstructions: e(a.data?.data, r ?? void 0),
13
+ isLoading: a.isLoading,
14
+ isError: a.isError
15
+ };
16
+ }
17
+ //#endregion
18
+ export { n as usePayableAchInstructions };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.3.55", n = "31cebf93ef0909f4ac09872470a18e5b3678c4fb", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.3.57", n = "c2b9c135886a1756b0e32c4577811bfab6f8c3e1", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.55",
3
+ "version": "0.3.57",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {