@tesouro/embedded-components-react 0.5.225 → 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.
- package/README.md +21 -21
- package/dist/index.d.ts +23 -2
- package/dist/index.js +1 -1
- package/dist/lib/ReceivablesWidget.d.ts +23 -2
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index3.js +41 -39
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index9.js +150 -147
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +46 -51
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index7.js +130 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index21.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index22.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index4.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index2.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index13.js +154 -150
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/data-access/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +151 -149
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index17.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index24.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index27.js +89 -87
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index5.js +133 -130
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index8.js +36 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +50 -36
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js +51 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +17 -202
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +220 -31
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index17.js +32 -145
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index18.js +126 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +145 -117
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index20.js +46 -58
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +113 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index22.js +58 -116
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +98 -225
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index24.js +111 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index25.js +225 -462
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index26.js +34 -41
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index27.js +627 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index28.js +39 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index29.js +34 -112
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index30.js +75 -310
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +124 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +324 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index6.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index8.js +56 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +184 -162
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +78 -69
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +209 -207
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index4.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index5.js +10 -5
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/data-access/dist/index6.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index13.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index14.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index17.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index18.js +37 -34
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index21.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index22.js +37 -34
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +294 -292
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index5.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +47 -48
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/CounterpartSelector.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index15.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/EmbedApiContext.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/allPages.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/applicationStatusQueryOptions.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/debit-card/useAllDebitCardsQuery.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/disclosures/useDisclosuresQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js +28 -29
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/organizationStatus.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/usePaymentTermsQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +210 -199
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +60 -52
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useRolePermissionsQueries.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMailboxAddress.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useMyEntityQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/withAuthEpoch.js +33 -22
- package/dist/libs/tesouro-embedded-components-react/shared/expense-requirements/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +43 -32
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +138 -127
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/deriveOrganizationStatus.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetFetch.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +60 -58
- package/package.json +1 -1
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js
CHANGED
|
@@ -2,84 +2,98 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { getReceivablesIdHistoryOptions as e, getReceivablesIdMailsOptions as t, getReceivablesIdOptions as n, getReceivablesIdPdfLinkOptions as r, getReceivablesOptions as i } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
-
import { withAuthEpoch as
|
|
7
|
-
import { useEmbedApi as
|
|
8
|
-
import { organizationHeaders as
|
|
5
|
+
import { getReceivablesIdHistoryOptions as e, getReceivablesIdMailsOptions as t, getReceivablesIdOptions as n, getReceivablesIdPdfLinkOptions as r, getReceivablesOptions as i, getReceivablesRequiredFieldsOptions as a } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
6
|
+
import { withAuthEpoch as o } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
7
|
+
import { useEmbedApi as s } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
8
|
+
import { organizationHeaders as c } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
9
9
|
import "../../../shared/data-access/dist/index.js";
|
|
10
|
-
import { useQuery as
|
|
10
|
+
import { useQuery as l } from "@tanstack/react-query";
|
|
11
11
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js
|
|
12
|
-
function
|
|
13
|
-
let { client: n, organizationId: r, widgetToken:
|
|
12
|
+
function u({ enabled: e, ...t } = {}) {
|
|
13
|
+
let { client: n, organizationId: r, widgetToken: a, authEpoch: u, organizationStatus: d } = s(), f = !!(r && a) && (e === !0 || e === void 0), p = i({
|
|
14
14
|
client: n,
|
|
15
|
-
headers:
|
|
15
|
+
headers: c(r),
|
|
16
16
|
query: t
|
|
17
17
|
});
|
|
18
|
-
return
|
|
19
|
-
...
|
|
18
|
+
return l({
|
|
19
|
+
...o(p, {
|
|
20
20
|
authEpoch: u,
|
|
21
|
-
|
|
21
|
+
organizationStatus: d
|
|
22
22
|
}, { carryWithinOrg: !0 }),
|
|
23
23
|
enabled: f
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
let { client: r, organizationId: i, widgetToken:
|
|
26
|
+
function d(e, { enabled: t = !0 } = {}) {
|
|
27
|
+
let { client: r, organizationId: i, widgetToken: a, authEpoch: u, organizationStatus: d } = s(), f = !!(i && a && e) && t, p = n({
|
|
28
28
|
client: r,
|
|
29
|
-
headers:
|
|
29
|
+
headers: c(i),
|
|
30
30
|
path: { receivable_id: e ?? "" }
|
|
31
31
|
});
|
|
32
|
-
return
|
|
33
|
-
...
|
|
32
|
+
return l({
|
|
33
|
+
...o(p, {
|
|
34
34
|
authEpoch: u,
|
|
35
|
-
|
|
35
|
+
organizationStatus: d
|
|
36
36
|
}),
|
|
37
37
|
enabled: f
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
let { client:
|
|
40
|
+
function f({ enabled: e, ...t } = {}) {
|
|
41
|
+
let { client: n, organizationId: r, widgetToken: i, authEpoch: u, organizationStatus: d } = s(), f = !!(r && i) && (e === !0 || e === void 0), p = a({
|
|
42
|
+
client: n,
|
|
43
|
+
headers: c(r),
|
|
44
|
+
query: t
|
|
45
|
+
});
|
|
46
|
+
return l({
|
|
47
|
+
...o(p, {
|
|
48
|
+
authEpoch: u,
|
|
49
|
+
organizationStatus: d
|
|
50
|
+
}),
|
|
51
|
+
enabled: f
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function p(t, { enabled: n, ...r } = {}) {
|
|
55
|
+
let { client: i, organizationId: a, widgetToken: u, authEpoch: d, organizationStatus: f } = s(), p = !!(a && u && t) && (n === !0 || n === void 0), m = e({
|
|
42
56
|
client: i,
|
|
43
|
-
headers:
|
|
57
|
+
headers: c(a),
|
|
44
58
|
path: { receivable_id: t ?? "" },
|
|
45
59
|
query: r
|
|
46
60
|
});
|
|
47
|
-
return
|
|
48
|
-
...
|
|
61
|
+
return l({
|
|
62
|
+
...o(m, {
|
|
49
63
|
authEpoch: d,
|
|
50
|
-
|
|
64
|
+
organizationStatus: f
|
|
51
65
|
}),
|
|
52
66
|
enabled: p
|
|
53
67
|
});
|
|
54
68
|
}
|
|
55
|
-
function
|
|
56
|
-
let { client: i, organizationId:
|
|
69
|
+
function m(e, { enabled: n, ...r } = {}) {
|
|
70
|
+
let { client: i, organizationId: a, widgetToken: u, authEpoch: d, organizationStatus: f } = s(), p = !!(a && u && e) && (n === !0 || n === void 0), m = t({
|
|
57
71
|
client: i,
|
|
58
|
-
headers:
|
|
72
|
+
headers: c(a),
|
|
59
73
|
path: { receivable_id: e ?? "" },
|
|
60
74
|
query: r
|
|
61
75
|
});
|
|
62
|
-
return
|
|
63
|
-
...
|
|
76
|
+
return l({
|
|
77
|
+
...o(m, {
|
|
64
78
|
authEpoch: d,
|
|
65
|
-
|
|
79
|
+
organizationStatus: f
|
|
66
80
|
}),
|
|
67
81
|
enabled: p
|
|
68
82
|
});
|
|
69
83
|
}
|
|
70
|
-
function
|
|
71
|
-
let { client: n, organizationId: i, widgetToken:
|
|
84
|
+
function h(e, { enabled: t = !0 } = {}) {
|
|
85
|
+
let { client: n, organizationId: i, widgetToken: a, authEpoch: u, organizationStatus: d } = s(), f = !!(i && a && e) && t, p = r({
|
|
72
86
|
client: n,
|
|
73
|
-
headers:
|
|
87
|
+
headers: c(i),
|
|
74
88
|
path: { receivable_id: e ?? "" }
|
|
75
89
|
});
|
|
76
|
-
return
|
|
77
|
-
...
|
|
90
|
+
return l({
|
|
91
|
+
...o(p, {
|
|
78
92
|
authEpoch: u,
|
|
79
|
-
|
|
93
|
+
organizationStatus: d
|
|
80
94
|
}),
|
|
81
95
|
enabled: f
|
|
82
96
|
});
|
|
83
97
|
}
|
|
84
98
|
//#endregion
|
|
85
|
-
export {
|
|
99
|
+
export { p as useReceivableHistoryQuery, m as useReceivableMailsQuery, h as useReceivablePdfLinkQuery, d as useReceivableQuery, f as useReceivableRequiredFieldsQuery, u as useReceivablesQuery };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js
CHANGED
|
@@ -21,27 +21,27 @@ function v() {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
function y({ enabled: e = !0 } = {}) {
|
|
24
|
-
let { client: t, organizationId: n, authEpoch: r,
|
|
24
|
+
let { client: t, organizationId: n, authEpoch: r, organizationStatus: i, isEnabled: o } = v(), c = a({
|
|
25
25
|
client: t,
|
|
26
26
|
headers: u(n)
|
|
27
27
|
});
|
|
28
28
|
return _({
|
|
29
29
|
...s(c, {
|
|
30
30
|
authEpoch: r,
|
|
31
|
-
|
|
31
|
+
organizationStatus: i
|
|
32
32
|
}),
|
|
33
33
|
enabled: o && e
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
function b({ enabled: e = !0 } = {}) {
|
|
37
|
-
let { client: t, organizationId: n, authEpoch: r,
|
|
37
|
+
let { client: t, organizationId: n, authEpoch: r, organizationStatus: a, isEnabled: o } = v(), c = i({
|
|
38
38
|
client: t,
|
|
39
39
|
headers: u(n)
|
|
40
40
|
});
|
|
41
41
|
return _({
|
|
42
42
|
...s(c, {
|
|
43
43
|
authEpoch: r,
|
|
44
|
-
|
|
44
|
+
organizationStatus: a
|
|
45
45
|
}),
|
|
46
46
|
enabled: o && e
|
|
47
47
|
});
|
|
@@ -105,7 +105,7 @@ async function C({ client: e, organizationId: t, recurrenceId: n, receivableId:
|
|
|
105
105
|
]);
|
|
106
106
|
}
|
|
107
107
|
function w(e) {
|
|
108
|
-
let { client: t, organizationId: n, authEpoch: r,
|
|
108
|
+
let { client: t, organizationId: n, authEpoch: r, organizationStatus: i, isEnabled: a } = v(), c = o({
|
|
109
109
|
client: t,
|
|
110
110
|
headers: u(n),
|
|
111
111
|
path: { recurrence_id: e ?? "" }
|
|
@@ -113,7 +113,7 @@ function w(e) {
|
|
|
113
113
|
return _({
|
|
114
114
|
...s(c, {
|
|
115
115
|
authEpoch: r,
|
|
116
|
-
|
|
116
|
+
organizationStatus: i
|
|
117
117
|
}),
|
|
118
118
|
enabled: a && !!e
|
|
119
119
|
});
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js
CHANGED
|
@@ -10,7 +10,7 @@ import "../../../shared/data-access/dist/index.js";
|
|
|
10
10
|
import { useQuery as i } from "@tanstack/react-query";
|
|
11
11
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js
|
|
12
12
|
function a({ enabled: a = !0, ...o }) {
|
|
13
|
-
let { client: s, organizationId: c, widgetToken: l, authEpoch: u,
|
|
13
|
+
let { client: s, organizationId: c, widgetToken: l, authEpoch: u, organizationStatus: d } = n(), f = !!(c && l) && a, p = e({
|
|
14
14
|
client: s,
|
|
15
15
|
headers: r(c),
|
|
16
16
|
query: o
|
|
@@ -18,7 +18,7 @@ function a({ enabled: a = !0, ...o }) {
|
|
|
18
18
|
return i({
|
|
19
19
|
...t(p, {
|
|
20
20
|
authEpoch: u,
|
|
21
|
-
|
|
21
|
+
organizationStatus: d
|
|
22
22
|
}),
|
|
23
23
|
enabled: f
|
|
24
24
|
});
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js
CHANGED
|
@@ -4,81 +4,82 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { postBankDetails as e } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
|
|
6
6
|
import { getBankDetailsOptions as t } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
7
|
+
import { OrganizationStatus as n } from "../../../shared/data-access/dist/lib/organizationStatus.js";
|
|
8
|
+
import { withAuthEpoch as r } from "../../../shared/data-access/dist/lib/withAuthEpoch.js";
|
|
9
|
+
import { invalidateAllClients as i } from "../../../shared/data-access/dist/lib/clientRegistry.js";
|
|
10
|
+
import { useEmbedApi as a } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
11
|
+
import { organizationHeaders as o } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
|
|
12
|
+
import { useAllBankAccountsQuery as s } from "../../../shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js";
|
|
13
|
+
import { useAllExternalBankAccountsQuery as c } from "../../../shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js";
|
|
13
14
|
import "../../../shared/data-access/dist/index.js";
|
|
14
|
-
import { entityBankAccountsInvalidationKey as
|
|
15
|
-
import { useMemo as
|
|
16
|
-
import { useMutation as
|
|
15
|
+
import { entityBankAccountsInvalidationKey as l } from "./index2.js";
|
|
16
|
+
import { useMemo as u } from "react";
|
|
17
|
+
import { useMutation as d, useQuery as f } from "@tanstack/react-query";
|
|
17
18
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index3.js
|
|
18
|
-
function
|
|
19
|
-
let { client:
|
|
20
|
-
client:
|
|
21
|
-
headers:
|
|
19
|
+
function p({ enabled: e = !0 } = {}) {
|
|
20
|
+
let { client: n, organizationId: i, widgetToken: s, authEpoch: c, organizationStatus: l } = a(), u = t({
|
|
21
|
+
client: n,
|
|
22
|
+
headers: o(i)
|
|
22
23
|
});
|
|
23
|
-
return
|
|
24
|
-
...
|
|
24
|
+
return f({
|
|
25
|
+
...r(u, {
|
|
25
26
|
authEpoch: c,
|
|
26
|
-
|
|
27
|
+
organizationStatus: l
|
|
27
28
|
}),
|
|
28
|
-
enabled: e && !!(
|
|
29
|
+
enabled: e && !!(i && s)
|
|
29
30
|
});
|
|
30
31
|
}
|
|
31
|
-
function
|
|
32
|
-
let { client: t, organizationId: n } =
|
|
33
|
-
return
|
|
32
|
+
function m() {
|
|
33
|
+
let { client: t, organizationId: n } = a();
|
|
34
|
+
return d({
|
|
34
35
|
mutationFn: async ({ body: r }) => {
|
|
35
36
|
let { data: i } = await e({
|
|
36
37
|
client: t,
|
|
37
|
-
headers:
|
|
38
|
+
headers: o(n),
|
|
38
39
|
body: r,
|
|
39
40
|
throwOnError: !0
|
|
40
41
|
});
|
|
41
42
|
return i;
|
|
42
43
|
},
|
|
43
44
|
onSuccess: async () => {
|
|
44
|
-
await
|
|
45
|
+
await i(l({
|
|
45
46
|
client: t,
|
|
46
47
|
organizationId: n
|
|
47
48
|
}));
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
53
|
-
let { organizationId:
|
|
54
|
-
...(
|
|
52
|
+
var h = (e) => e ? e.slice(-4) : null;
|
|
53
|
+
function g({ enabled: e = !0, canReadEmbedded: t = !1, canReadExternal: r = !1 } = {}) {
|
|
54
|
+
let { organizationId: i, widgetToken: o, organizationStatus: l } = a(), d = l === n.Rotating, f = e && !!(o && (i || d)), m = f && t, g = f && r, _ = p({ enabled: e }), v = s({ enabled: m }), y = c({ enabled: g }), b = f ? _.data?.data : void 0, x = m ? v.data?.data : void 0, S = g ? y.data?.data : void 0, C = u(() => [
|
|
55
|
+
...(b ?? []).map((e) => ({
|
|
55
56
|
id: e.id,
|
|
56
57
|
type: "BANK_DETAILS",
|
|
57
58
|
displayName: e.display_name ?? null,
|
|
58
|
-
accountNumberLast4:
|
|
59
|
+
accountNumberLast4: h(e.account_number) ?? e.account_number_last4 ?? null
|
|
59
60
|
})),
|
|
60
|
-
...(
|
|
61
|
+
...(x ?? []).filter((e) => e.status === "ACTIVE").map((e) => ({
|
|
61
62
|
id: e.id,
|
|
62
63
|
type: "INTERNAL",
|
|
63
64
|
displayName: e.nickname ?? null,
|
|
64
|
-
accountNumberLast4:
|
|
65
|
+
accountNumberLast4: h(e.accountNumber)
|
|
65
66
|
})),
|
|
66
|
-
...(
|
|
67
|
+
...(S ?? []).filter((e) => e.accountStatus === "ACTIVE" && e.verificationStatus === "VERIFIED").map((e) => ({
|
|
67
68
|
id: e.id,
|
|
68
69
|
type: "EXTERNAL",
|
|
69
70
|
displayName: e.nickname || e.nameOnAccount || null,
|
|
70
|
-
accountNumberLast4:
|
|
71
|
+
accountNumberLast4: h(e.accountNumber)
|
|
71
72
|
}))
|
|
72
73
|
], [
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
]),
|
|
74
|
+
b,
|
|
75
|
+
x,
|
|
76
|
+
S
|
|
77
|
+
]), w = f && _.isLoading || m && v.isLoading || g && y.isLoading;
|
|
77
78
|
return {
|
|
78
|
-
paymentAccounts:
|
|
79
|
-
isLoading:
|
|
80
|
-
isIncomplete:
|
|
79
|
+
paymentAccounts: C,
|
|
80
|
+
isLoading: w,
|
|
81
|
+
isIncomplete: w || f && d || f && (_.isFetching || _.isError) || m && (v.isFetching || v.isError || v.hasNextPage) || g && (y.isFetching || y.isError || y.hasNextPage) || !!(f && _.data?.next_pagination_token)
|
|
81
82
|
};
|
|
82
83
|
}
|
|
83
84
|
//#endregion
|
|
84
|
-
export {
|
|
85
|
+
export { m as useCreateEntityBankAccountMutation, p as useEntityBankAccountsQuery, g as usePaymentAccountsQuery };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index12.js
CHANGED
|
@@ -254,27 +254,36 @@ function z(e, t) {
|
|
|
254
254
|
].map((e) => e.email).filter(Boolean);
|
|
255
255
|
return n.length > 0 ? n.join(", ") : t.recipientsNone;
|
|
256
256
|
}
|
|
257
|
-
function B({ values: e, billingAddressId: t, messages: n }) {
|
|
258
|
-
let
|
|
259
|
-
e.customerId ? t || (
|
|
260
|
-
let
|
|
257
|
+
function B({ values: e, billingAddressId: t, messages: n, willIssue: r = !1, hasStartedRecurrence: i = !1 }) {
|
|
258
|
+
let a = {};
|
|
259
|
+
e.customerId ? t || (a.customerId = n.customerAddressRequired) : a.customerId = n.customerRequired, e.currency || (a.currency = n.currencyRequired), r && !e.paymentTermsId && (a.paymentTermsId = n.paymentTermsRequired), r && !e.bankAccountId && (a.bankAccountId = n.bankAccountRequired);
|
|
260
|
+
let o = u(e.lineItems, {
|
|
261
261
|
currency: e.currency,
|
|
262
|
-
messages: n
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
262
|
+
messages: n,
|
|
263
|
+
requireComplete: r || i
|
|
264
|
+
}), s = c(o, x(e, n), (r || i) && e.lineItems.length === 0 ? n.lineItemsRequired : void 0);
|
|
265
|
+
o && (a.lineItems = o), s && (a.lineItemsSummary = s);
|
|
266
|
+
let l = b(e, n);
|
|
267
|
+
return l && (a.discount = l), a;
|
|
267
268
|
}
|
|
268
269
|
function V(e) {
|
|
269
270
|
return Object.keys(e).length > 0;
|
|
270
271
|
}
|
|
271
|
-
function H(
|
|
272
|
+
function H(e, t) {
|
|
273
|
+
return !V(B({
|
|
274
|
+
values: G(e),
|
|
275
|
+
billingAddressId: e.type === "invoice" ? e.counterpart_billing_address?.id ?? void 0 : void 0,
|
|
276
|
+
messages: t,
|
|
277
|
+
willIssue: !0
|
|
278
|
+
}));
|
|
279
|
+
}
|
|
280
|
+
function U({ bankAccountId: e, bankAccountType: t }) {
|
|
272
281
|
return {
|
|
273
282
|
bank_account_id: e || void 0,
|
|
274
283
|
bank_account_type: e && t || void 0
|
|
275
284
|
};
|
|
276
285
|
}
|
|
277
|
-
function
|
|
286
|
+
function W({ values: e, billingAddressId: t, unitNamesById: n }) {
|
|
278
287
|
let i = e.lineItems.filter((e) => !r(e)).map((t) => a({
|
|
279
288
|
lineItem: t,
|
|
280
289
|
currency: e.currency,
|
|
@@ -288,7 +297,7 @@ function U({ values: e, billingAddressId: t, unitNamesById: n }) {
|
|
|
288
297
|
memo: e.openingNote,
|
|
289
298
|
footer: e.closingNote,
|
|
290
299
|
discount: v(e) ?? void 0,
|
|
291
|
-
...
|
|
300
|
+
...U(e)
|
|
292
301
|
};
|
|
293
302
|
return e.type === "quote" ? {
|
|
294
303
|
...o,
|
|
@@ -303,7 +312,7 @@ function U({ values: e, billingAddressId: t, unitNamesById: n }) {
|
|
|
303
312
|
type: "invoice"
|
|
304
313
|
};
|
|
305
314
|
}
|
|
306
|
-
function
|
|
315
|
+
function G(e, t) {
|
|
307
316
|
let r = e.type === "quote" ? "quote" : "invoice", i = l(e.line_items), a = e.type === "invoice" ? e : void 0, o = e.line_items.map((n) => s({
|
|
308
317
|
lineItem: n,
|
|
309
318
|
currency: e.currency,
|
|
@@ -314,8 +323,8 @@ function W(e, t) {
|
|
|
314
323
|
type: r,
|
|
315
324
|
customerId: e.counterpart_id,
|
|
316
325
|
currency: e.currency,
|
|
317
|
-
issueDate:
|
|
318
|
-
dueDate: e.type === "quote" ?
|
|
326
|
+
issueDate: X(e.issue_date),
|
|
327
|
+
dueDate: e.type === "quote" ? X(e.expiry_date) : "",
|
|
319
328
|
openingNote: e.memo ?? "",
|
|
320
329
|
closingNote: e.footer ?? "",
|
|
321
330
|
...e.type === "invoice" ? g(e.payment_terms) : {},
|
|
@@ -324,16 +333,16 @@ function W(e, t) {
|
|
|
324
333
|
...y(e.discount, e.currency),
|
|
325
334
|
lineItems: o.length > 0 ? o : [n(e.currency)],
|
|
326
335
|
bankAccountId: e.bank_account_id ?? "",
|
|
327
|
-
bankAccountType:
|
|
336
|
+
bankAccountType: K(e.bank_account_type),
|
|
328
337
|
paymentReminderId: a?.payment_reminder_id ?? "",
|
|
329
338
|
overdueReminderId: a?.overdue_reminder_id ?? "",
|
|
330
339
|
attachments: f(e)
|
|
331
340
|
};
|
|
332
341
|
}
|
|
333
|
-
function
|
|
342
|
+
function K(e) {
|
|
334
343
|
return e === "BANK_DETAILS" || e === "INTERNAL" || e === "EXTERNAL" ? e : "";
|
|
335
344
|
}
|
|
336
|
-
function
|
|
345
|
+
function q({ values: e, billingAddressId: t, lineItemChanges: n }) {
|
|
337
346
|
let r = {
|
|
338
347
|
counterpart_billing_address_id: t,
|
|
339
348
|
counterpart_id: e.customerId,
|
|
@@ -342,7 +351,7 @@ function K({ values: e, billingAddressId: t, lineItemChanges: n }) {
|
|
|
342
351
|
memo: e.openingNote,
|
|
343
352
|
footer: e.closingNote,
|
|
344
353
|
discount: v(e),
|
|
345
|
-
...
|
|
354
|
+
...U(e)
|
|
346
355
|
};
|
|
347
356
|
return e.type === "quote" ? { quote: {
|
|
348
357
|
...r,
|
|
@@ -358,7 +367,7 @@ function K({ values: e, billingAddressId: t, lineItemChanges: n }) {
|
|
|
358
367
|
attachments: d(e.attachments) ?? null
|
|
359
368
|
} };
|
|
360
369
|
}
|
|
361
|
-
function
|
|
370
|
+
function J({ values: e, originalLineItems: t, originalCurrency: n, unitNamesById: a, units: c }) {
|
|
362
371
|
let u = l(t), d = i(e.taxRate, u), f = (e, t, n) => o({
|
|
363
372
|
lineItem: e,
|
|
364
373
|
currency: t,
|
|
@@ -384,20 +393,29 @@ function q({ values: e, originalLineItems: t, originalCurrency: n, unitNamesById
|
|
|
384
393
|
...v.length ? { remove: v } : {}
|
|
385
394
|
};
|
|
386
395
|
}
|
|
387
|
-
function
|
|
396
|
+
function Y({ values: e, originalLineItems: t, changes: n }) {
|
|
397
|
+
let i = e.lineItems.filter((e) => !r(e)).map((e) => e.id);
|
|
398
|
+
if (!t) return { created: i };
|
|
399
|
+
let a = new Set(t.map((e) => e.id));
|
|
400
|
+
return {
|
|
401
|
+
added: i.filter((e) => !a.has(e)),
|
|
402
|
+
replaced: n?.replace?.map((e) => e.id) ?? []
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
function X(e) {
|
|
388
406
|
return e?.slice(0, 10) ?? "";
|
|
389
407
|
}
|
|
390
|
-
function
|
|
408
|
+
function Z(e, t) {
|
|
391
409
|
let n = {};
|
|
392
410
|
return e.to.trim() || (n.to = t.sendToRequired), e.subject.trim() || (n.subject = t.sendSubjectRequired), e.body.trim() || (n.body = t.sendBodyRequired), n;
|
|
393
411
|
}
|
|
394
|
-
function
|
|
412
|
+
function Q(e) {
|
|
395
413
|
return Object.keys(e).length > 0;
|
|
396
414
|
}
|
|
397
|
-
function
|
|
415
|
+
function $(e) {
|
|
398
416
|
return e.split(",").map((e) => e.trim()).filter(Boolean);
|
|
399
417
|
}
|
|
400
|
-
function
|
|
418
|
+
function ee(e, t, n) {
|
|
401
419
|
let r = {};
|
|
402
420
|
if (e.mode === "partial") {
|
|
403
421
|
let i = j(e.amountPaid, n);
|
|
@@ -405,10 +423,10 @@ function Q(e, t, n) {
|
|
|
405
423
|
}
|
|
406
424
|
return r;
|
|
407
425
|
}
|
|
408
|
-
function
|
|
426
|
+
function te(e) {
|
|
409
427
|
return Object.keys(e).length > 0;
|
|
410
428
|
}
|
|
411
|
-
function
|
|
429
|
+
function ne(e, t) {
|
|
412
430
|
return {
|
|
413
431
|
...S,
|
|
414
432
|
to: e?.counterpart_contact?.email ?? "",
|
|
@@ -416,14 +434,14 @@ function ee(e, t) {
|
|
|
416
434
|
body: t.sendBodyDefault
|
|
417
435
|
};
|
|
418
436
|
}
|
|
419
|
-
function
|
|
437
|
+
function re() {
|
|
420
438
|
return {
|
|
421
439
|
...C,
|
|
422
440
|
paidAt: (/* @__PURE__ */ new Date()).toISOString().slice(0, 10)
|
|
423
441
|
};
|
|
424
442
|
}
|
|
425
|
-
function
|
|
426
|
-
|
|
443
|
+
function ie(e = "all") {
|
|
444
|
+
let t = [
|
|
427
445
|
"draft",
|
|
428
446
|
"issued",
|
|
429
447
|
"failed",
|
|
@@ -436,10 +454,11 @@ function ne() {
|
|
|
436
454
|
"overdue",
|
|
437
455
|
"uncollectible",
|
|
438
456
|
"canceled"
|
|
439
|
-
]
|
|
457
|
+
];
|
|
458
|
+
return e !== "all" && !t.includes(e) && t.push(e), t.map((e) => ({
|
|
440
459
|
value: e,
|
|
441
460
|
label: e.split("_").map((e) => `${e.slice(0, 1).toUpperCase()}${e.slice(1)}`).join(" ")
|
|
442
461
|
}));
|
|
443
462
|
}
|
|
444
463
|
//#endregion
|
|
445
|
-
export { C as EMPTY_RECEIVABLE_PAYMENT_VALUES, S as EMPTY_RECEIVABLE_SEND_VALUES, F as buildReceivableActions, L as buildReceivableDetailsView, I as buildReceivableRows, D as coerceEnabledTabs, w as createEmptyReceivableFormValues, n as createLineItem,
|
|
464
|
+
export { C as EMPTY_RECEIVABLE_PAYMENT_VALUES, S as EMPTY_RECEIVABLE_SEND_VALUES, F as buildReceivableActions, L as buildReceivableDetailsView, I as buildReceivableRows, D as coerceEnabledTabs, w as createEmptyReceivableFormValues, n as createLineItem, re as defaultPaymentValues, ne as defaultSendValues, k as formatDate, A as formatMoney, j as fromMajorUnits, M as getDocumentTitle, N as getDocumentTypeLabel, P as getStatusTone, te as hasPaymentErrors, V as hasReceivableFormErrors, Q as hasSendErrors, H as isReceivableReadyToIssue, W as receivableFormValuesToCreatePayload, J as receivableFormValuesToLineItemChanges, q as receivableFormValuesToUpdatePayload, G as receivableToFormValues, O as resolveInitialTab, $ as splitEmailList, ie as statusFilterOptions, Y as submittedLineItemRows, E as tabForType, T as typeForTab, ee as validatePaymentValues, B as validateReceivableForm, Z as validateSendValues };
|
package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index13.js
CHANGED
|
@@ -128,6 +128,9 @@ var e = {
|
|
|
128
128
|
recurrenceRemoveRecipient: "Remove {recipient}",
|
|
129
129
|
recurrenceActivateButton: "Activate recurring billing schedule",
|
|
130
130
|
recurrenceUpdateButton: "Update recurring billing schedule",
|
|
131
|
+
saveDraftButton: "Save as draft",
|
|
132
|
+
updateDraftButton: "Update draft",
|
|
133
|
+
issueButton: "Issue invoice",
|
|
131
134
|
recurrenceStartDateRequired: "Start date is required",
|
|
132
135
|
recurrenceDayOfMonthRequired: "Day of month is required",
|
|
133
136
|
recurrenceDayOfWeekRequired: "Day of week is required",
|
|
@@ -163,6 +166,20 @@ var e = {
|
|
|
163
166
|
issueRemindersDisabled: "Payment reminders are disabled for this customer. Please enable them in the customer details or turn them off.",
|
|
164
167
|
issueRemindersNoEmail: "No email address is added for the selected customer. Please add it to the customer details or turn off the reminders.",
|
|
165
168
|
issueRemindersDisabledNoEmail: "Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders.",
|
|
169
|
+
lineItemNameRequired: "Name is a required field",
|
|
170
|
+
lineItemQuantityRequired: "Quantity is a required field",
|
|
171
|
+
lineItemsRequired: "Please, add at least 1 item to proceed with this invoice",
|
|
172
|
+
paymentTermsRequired: "Payment terms is a required field",
|
|
173
|
+
bankAccountRequired: "Choose how to get paid.",
|
|
174
|
+
issueTaxIdRequired: "Set your organization's Tax ID to issue invoice",
|
|
175
|
+
issueBankAccountUnavailable: "Contact your company admin to set up a bank account before creating an invoice.",
|
|
176
|
+
issueChecksLoading: "Please wait for invoice checks to finish.",
|
|
177
|
+
attachmentsUploading: "Please wait for attachments to finish uploading.",
|
|
178
|
+
issueFailedAfterSave: "The invoice was saved but could not be issued.",
|
|
179
|
+
createFailed: "Failed to create invoice: {errorMessage}",
|
|
180
|
+
updateFailed: "Failed to update receivable: {errorMessage}",
|
|
181
|
+
unknownError: "Unknown",
|
|
182
|
+
apiErrorsSummary: "{message} (+{count} more)",
|
|
166
183
|
previewTaxId: "Tax: {taxId}",
|
|
167
184
|
previewTaxableYes: "Yes",
|
|
168
185
|
previewTaxableNo: "No",
|
|
@@ -179,7 +196,9 @@ var e = {
|
|
|
179
196
|
previewEarlyPaymentDiscount: "{rate}% discount",
|
|
180
197
|
previewAccountHolderName: "Account holder name: {value}",
|
|
181
198
|
previewRoutingNumber: "Routing number: {value}",
|
|
182
|
-
previewAccountNumber: "Account number: {value}"
|
|
199
|
+
previewAccountNumber: "Account number: {value}",
|
|
200
|
+
previewLogoAlt: "{name} logo",
|
|
201
|
+
previewLogoAltNoName: "Logo"
|
|
183
202
|
};
|
|
184
203
|
//#endregion
|
|
185
204
|
export { e as RECEIVABLE_MESSAGE_LABELS_EN };
|