@tesouro/embedded-components-react 0.5.132 → 0.5.133
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/dist/index.d.ts +13 -0
- package/dist/lib/BankAccountsWidget.d.ts +13 -0
- package/dist/lib/WidgetSuite.d.ts +13 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +17 -35
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index6.js +28 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index7.js +32 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index4.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index5.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index8.js +226 -139
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index7.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js +110 -95
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index4.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +203 -192
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +168 -144
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -2,169 +2,184 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { Button as e, Skeleton as t, Tabs as
|
|
6
|
-
import { InlineErrorAlert as
|
|
5
|
+
import { Button as e, Skeleton as t, Tabs as ee, TabsContent as n, TabsList as r, TabsTrigger as i, Tooltip as a, TooltipContent as o, TooltipProvider as s, TooltipTrigger as c, Typography as l } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { InlineErrorAlert as u } from "../../../../shared/ui/dist/lib/InlineErrorAlert/InlineErrorAlert.js";
|
|
7
7
|
import "../../../../shared/ui/dist/index.js";
|
|
8
|
-
import { DEFAULT_LABELS as
|
|
9
|
-
import { AccountDetailsPanel as
|
|
10
|
-
import { AccountActionsMenu as
|
|
11
|
-
import { ExportTransactionsDialog as
|
|
12
|
-
import { StatementsPanel as
|
|
13
|
-
import { TransactionsTable as
|
|
14
|
-
import { Fragment as
|
|
15
|
-
import { ChevronLeftIcon as
|
|
8
|
+
import { DEFAULT_LABELS as te } from "./index7.js";
|
|
9
|
+
import { AccountDetailsPanel as ne } from "./index2.js";
|
|
10
|
+
import { AccountActionsMenu as re, EditAccountDialog as ie } from "./index3.js";
|
|
11
|
+
import { ExportTransactionsDialog as ae } from "./index4.js";
|
|
12
|
+
import { StatementsPanel as oe } from "./index5.js";
|
|
13
|
+
import { TransactionsTable as se } from "./index6.js";
|
|
14
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
15
|
+
import { ChevronLeftIcon as m, HelpCircleIcon as h } from "lucide-react";
|
|
16
16
|
//#region ../../libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js
|
|
17
|
-
function
|
|
17
|
+
function g({ labels: g, title: _, bankDisplayName: v, bankLogoSrc: y, bankLogoAlt: b, balanceLabel: x, balanceTestId: S, isBankingTaglineVisible: C, activeTab: w, transactionRows: T, statementRows: E, isStatementsLoading: D, isStatementsError: O, onStatementsRetry: k, isStatementsPaginationVisible: A, statementsPageSize: j, statementsPageSizeOptions: M, statementsRangeLabel: N = "", isStatementsPreviousPageDisabled: P, isStatementsNextPageDisabled: F, onStatementsPageSizeChange: I, onStatementsPreviousPageClick: L, onStatementsNextPageClick: R, showExport: z, isExportOpen: B, exportStartDate: V, exportEndDate: H, isExportDownloading: U, isExportDownloadDisabled: W, disabledExportStartDates: G, disabledExportEndDates: K, accountNumberLabel: ce, maskedAccountNumberLabel: le, accountNumberTestId: ue, routingNumberLabel: de, bankAddressLabel: fe, wireAccountNumberLabel: pe, domesticWireIntroLabel: me, domesticWireNoteLabel: he, thingsToKnowBodyLabel: ge, supportTeamHref: _e, isAccountNumberVisible: q, isAccountNumberCopied: ve, isRoutingNumberCopied: ye, isDomesticWireExpanded: be, isLoading: J, isError: Y, isEditOpen: xe, isEditDisabled: Se, isEditError: Ce, isSubmitting: we, editForm: Te, canEdit: Ee, onBack: De, onTabChange: Oe, onToggleAccountNumberVisibility: ke, onCopyAccountNumber: X, onCopyRoutingNumber: Z, onCopyBankName: Ae, onCopyBankAddress: je, onDomesticWireExpandedChange: Me, onEditOpenChange: Ne, onEditFormChange: Pe, onEditSubmit: Fe, onEditNicknameClick: Ie, onExportOpenChange: Q, onExportStartDateChange: Le, onExportEndDateChange: Re, onExportDownload: ze }) {
|
|
18
18
|
let $ = {
|
|
19
|
-
...
|
|
20
|
-
...
|
|
21
|
-
},
|
|
19
|
+
...te,
|
|
20
|
+
...g
|
|
21
|
+
}, Be = /* @__PURE__ */ p(e, {
|
|
22
22
|
type: "button",
|
|
23
23
|
variant: "ghost",
|
|
24
24
|
className: "ttw:h-auto ttw:justify-start ttw:gap-1 ttw:px-0 ttw:py-1 ttw:has-[>svg]:px-0 ttw:text-sm ttw:font-medium ttw:leading-5 ttw:text-primary ttw:hover:bg-transparent",
|
|
25
|
-
onClick:
|
|
26
|
-
children: [/* @__PURE__ */ m
|
|
25
|
+
onClick: De,
|
|
26
|
+
children: [/* @__PURE__ */ f(m, { className: "ttw:size-4" }), $.backToAccounts]
|
|
27
27
|
});
|
|
28
|
-
return /* @__PURE__ */
|
|
28
|
+
return /* @__PURE__ */ p("section", {
|
|
29
29
|
className: "ttw:w-full ttw:space-y-4",
|
|
30
30
|
children: [
|
|
31
|
-
!J && !Y ? /* @__PURE__ */
|
|
31
|
+
!J && !Y ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(ie, {
|
|
32
32
|
labels: $,
|
|
33
|
-
open:
|
|
34
|
-
form:
|
|
35
|
-
isSubmitting:
|
|
36
|
-
isError:
|
|
37
|
-
onOpenChange:
|
|
38
|
-
onFormChange:
|
|
39
|
-
onSubmit:
|
|
40
|
-
}), /* @__PURE__ */
|
|
33
|
+
open: xe,
|
|
34
|
+
form: Te,
|
|
35
|
+
isSubmitting: we,
|
|
36
|
+
isError: Ce,
|
|
37
|
+
onOpenChange: Ne,
|
|
38
|
+
onFormChange: Pe,
|
|
39
|
+
onSubmit: Fe
|
|
40
|
+
}), /* @__PURE__ */ f(ae, {
|
|
41
41
|
labels: $,
|
|
42
|
-
open:
|
|
43
|
-
startDate:
|
|
44
|
-
endDate:
|
|
45
|
-
isDownloading:
|
|
46
|
-
isDownloadDisabled:
|
|
47
|
-
disabledStartDates:
|
|
48
|
-
disabledEndDates:
|
|
42
|
+
open: B,
|
|
43
|
+
startDate: V,
|
|
44
|
+
endDate: H,
|
|
45
|
+
isDownloading: U,
|
|
46
|
+
isDownloadDisabled: W,
|
|
47
|
+
disabledStartDates: G,
|
|
48
|
+
disabledEndDates: K,
|
|
49
49
|
onOpenChange: Q,
|
|
50
|
-
onStartDateChange:
|
|
51
|
-
onEndDateChange:
|
|
52
|
-
onDownload:
|
|
50
|
+
onStartDateChange: Le,
|
|
51
|
+
onEndDateChange: Re,
|
|
52
|
+
onDownload: ze
|
|
53
53
|
})] }) : null,
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ p("div", {
|
|
55
55
|
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-4",
|
|
56
|
-
children: [
|
|
56
|
+
children: [Be, !J && !Y ? /* @__PURE__ */ f(re, {
|
|
57
57
|
labels: $,
|
|
58
|
-
canEdit:
|
|
59
|
-
onEditNickname:
|
|
58
|
+
canEdit: Ee,
|
|
59
|
+
onEditNickname: Ie
|
|
60
60
|
}) : null]
|
|
61
61
|
}),
|
|
62
|
-
J ? /* @__PURE__ */
|
|
62
|
+
J ? /* @__PURE__ */ p("div", {
|
|
63
63
|
className: "ttw:space-y-4",
|
|
64
64
|
"aria-label": $.loadingLabel,
|
|
65
|
-
children: [/* @__PURE__ */
|
|
66
|
-
}) : Y ? /* @__PURE__ */
|
|
65
|
+
children: [/* @__PURE__ */ f(t, { className: "ttw:h-10 ttw:w-64" }), /* @__PURE__ */ f(t, { className: "ttw:h-64 ttw:w-full ttw:rounded-xl" })]
|
|
66
|
+
}) : Y ? /* @__PURE__ */ f(u, { children: $.errorTitle }) : /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ p("div", {
|
|
67
67
|
className: "ttw:space-y-4",
|
|
68
|
-
children: [/* @__PURE__ */
|
|
68
|
+
children: [/* @__PURE__ */ p("div", {
|
|
69
69
|
className: "ttw:space-y-0.5",
|
|
70
|
-
children: [/* @__PURE__ */
|
|
70
|
+
children: [/* @__PURE__ */ f(l, {
|
|
71
71
|
variant: "h2",
|
|
72
72
|
className: "ttw:leading-9 ttw:tracking-[-0.75px]",
|
|
73
|
-
children:
|
|
74
|
-
}),
|
|
73
|
+
children: _
|
|
74
|
+
}), C && v ? /* @__PURE__ */ p("div", {
|
|
75
75
|
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-1",
|
|
76
|
-
children: [/* @__PURE__ */
|
|
76
|
+
children: [/* @__PURE__ */ f(l, {
|
|
77
77
|
component: "span",
|
|
78
78
|
variant: "body2",
|
|
79
79
|
color: "muted",
|
|
80
80
|
className: "ttw:text-sm ttw:font-normal ttw:leading-5",
|
|
81
81
|
children: $.bankingTaglinePrefix
|
|
82
|
-
}),
|
|
83
|
-
src:
|
|
84
|
-
alt:
|
|
82
|
+
}), y ? /* @__PURE__ */ f("img", {
|
|
83
|
+
src: y,
|
|
84
|
+
alt: b ?? v,
|
|
85
85
|
className: "ttw:block ttw:h-auto ttw:max-w-[120px]"
|
|
86
|
-
}) : /* @__PURE__ */
|
|
86
|
+
}) : /* @__PURE__ */ f(l, {
|
|
87
87
|
component: "span",
|
|
88
88
|
variant: "body2",
|
|
89
89
|
color: "muted",
|
|
90
90
|
className: "ttw:text-sm ttw:font-normal ttw:leading-5",
|
|
91
|
-
children:
|
|
91
|
+
children: v
|
|
92
92
|
})]
|
|
93
93
|
}) : null]
|
|
94
|
-
}), /* @__PURE__ */
|
|
94
|
+
}), /* @__PURE__ */ p("div", {
|
|
95
95
|
className: "ttw:space-y-1.5",
|
|
96
|
-
children: [/* @__PURE__ */
|
|
96
|
+
children: [/* @__PURE__ */ p("div", {
|
|
97
97
|
className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:text-muted-foreground",
|
|
98
|
-
children: [/* @__PURE__ */
|
|
98
|
+
children: [/* @__PURE__ */ f("span", { children: $.availableBalanceLabel }), /* @__PURE__ */ f(s, { children: /* @__PURE__ */ p(a, { children: [/* @__PURE__ */ f(c, {
|
|
99
99
|
type: "button",
|
|
100
100
|
className: "ttw:inline-flex ttw:cursor-help",
|
|
101
101
|
"aria-label": $.availableBalanceTooltip,
|
|
102
|
-
children: /* @__PURE__ */
|
|
103
|
-
}), /* @__PURE__ */
|
|
104
|
-
}), /* @__PURE__ */
|
|
105
|
-
"data-testid":
|
|
102
|
+
children: /* @__PURE__ */ f(h, { className: "ttw:size-4" })
|
|
103
|
+
}), /* @__PURE__ */ f(o, { children: $.availableBalanceTooltip })] }) })]
|
|
104
|
+
}), /* @__PURE__ */ f("p", {
|
|
105
|
+
"data-testid": S,
|
|
106
106
|
className: "ttw:text-4xl ttw:font-bold ttw:text-primary",
|
|
107
|
-
children:
|
|
107
|
+
children: x
|
|
108
108
|
})]
|
|
109
109
|
})]
|
|
110
|
-
}), /* @__PURE__ */
|
|
111
|
-
value:
|
|
112
|
-
onValueChange: (e) =>
|
|
110
|
+
}), /* @__PURE__ */ p(ee, {
|
|
111
|
+
value: w,
|
|
112
|
+
onValueChange: (e) => Oe(e),
|
|
113
113
|
className: "ttw:gap-4",
|
|
114
114
|
children: [
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ p(r, { children: [
|
|
116
|
+
/* @__PURE__ */ f(i, {
|
|
117
117
|
value: "transactions",
|
|
118
118
|
children: $.transactionsTab
|
|
119
119
|
}),
|
|
120
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ f(i, {
|
|
121
121
|
value: "statements",
|
|
122
122
|
children: $.statementsTab
|
|
123
123
|
}),
|
|
124
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ f(i, {
|
|
125
125
|
value: "details",
|
|
126
126
|
children: $.detailsTab
|
|
127
127
|
})
|
|
128
128
|
] }),
|
|
129
|
-
/* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ f(n, {
|
|
130
130
|
value: "transactions",
|
|
131
|
-
children: /* @__PURE__ */
|
|
131
|
+
children: /* @__PURE__ */ f(se, {
|
|
132
132
|
labels: $,
|
|
133
|
-
rows:
|
|
134
|
-
showExport:
|
|
133
|
+
rows: T,
|
|
134
|
+
showExport: z,
|
|
135
135
|
onExportClick: () => Q(!0)
|
|
136
136
|
})
|
|
137
137
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
138
|
+
/* @__PURE__ */ f(n, {
|
|
139
139
|
value: "statements",
|
|
140
|
-
children: /* @__PURE__ */
|
|
140
|
+
children: /* @__PURE__ */ f(oe, {
|
|
141
|
+
labels: $,
|
|
142
|
+
rows: E,
|
|
143
|
+
isLoading: D,
|
|
144
|
+
isError: O,
|
|
145
|
+
onRetry: k,
|
|
146
|
+
isPaginationVisible: A,
|
|
147
|
+
pageSize: j,
|
|
148
|
+
pageSizeOptions: M,
|
|
149
|
+
rangeLabel: N,
|
|
150
|
+
isPreviousPageDisabled: P,
|
|
151
|
+
isNextPageDisabled: F,
|
|
152
|
+
onPageSizeChange: I,
|
|
153
|
+
onPreviousPageClick: L,
|
|
154
|
+
onNextPageClick: R
|
|
155
|
+
})
|
|
141
156
|
}),
|
|
142
|
-
/* @__PURE__ */
|
|
157
|
+
/* @__PURE__ */ f(n, {
|
|
143
158
|
value: "details",
|
|
144
|
-
children: /* @__PURE__ */
|
|
159
|
+
children: /* @__PURE__ */ f(ne, {
|
|
145
160
|
labels: $,
|
|
146
|
-
routingNumberLabel:
|
|
147
|
-
accountNumberDisplayLabel:
|
|
148
|
-
accountNumberTestId:
|
|
149
|
-
wireAccountNumberLabel:
|
|
150
|
-
bankNameLabel:
|
|
151
|
-
bankAddressLabel:
|
|
152
|
-
domesticWireIntroLabel:
|
|
153
|
-
domesticWireNoteLabel:
|
|
154
|
-
thingsToKnowBodyLabel:
|
|
155
|
-
supportTeamHref:
|
|
156
|
-
isAccountNumberVisible:
|
|
157
|
-
isAccountNumberCopied:
|
|
158
|
-
isRoutingNumberCopied:
|
|
159
|
-
isDomesticWireExpanded:
|
|
160
|
-
onDomesticWireExpandedChange:
|
|
161
|
-
onToggleAccountNumberVisibility:
|
|
161
|
+
routingNumberLabel: de,
|
|
162
|
+
accountNumberDisplayLabel: q ? ce : le,
|
|
163
|
+
accountNumberTestId: ue,
|
|
164
|
+
wireAccountNumberLabel: pe,
|
|
165
|
+
bankNameLabel: v,
|
|
166
|
+
bankAddressLabel: fe,
|
|
167
|
+
domesticWireIntroLabel: me,
|
|
168
|
+
domesticWireNoteLabel: he,
|
|
169
|
+
thingsToKnowBodyLabel: ge,
|
|
170
|
+
supportTeamHref: _e,
|
|
171
|
+
isAccountNumberVisible: q,
|
|
172
|
+
isAccountNumberCopied: ve,
|
|
173
|
+
isRoutingNumberCopied: ye,
|
|
174
|
+
isDomesticWireExpanded: be,
|
|
175
|
+
onDomesticWireExpandedChange: Me,
|
|
176
|
+
onToggleAccountNumberVisibility: ke,
|
|
162
177
|
onCopyAccountNumber: X,
|
|
163
178
|
onCopyRoutingNumber: Z,
|
|
164
179
|
onCopyWireAccountNumber: X,
|
|
165
180
|
onCopyWireRoutingNumber: Z,
|
|
166
|
-
onCopyBankName:
|
|
167
|
-
onCopyBankAddress:
|
|
181
|
+
onCopyBankName: Ae,
|
|
182
|
+
onCopyBankAddress: je
|
|
168
183
|
})
|
|
169
184
|
})
|
|
170
185
|
]
|
|
@@ -173,4 +188,4 @@ function v({ labels: v, title: y, bankDisplayName: b, bankLogoSrc: x, bankLogoAl
|
|
|
173
188
|
});
|
|
174
189
|
}
|
|
175
190
|
//#endregion
|
|
176
|
-
export {
|
|
191
|
+
export { g as AccountDetailsWidgetUi };
|
package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index4.js
CHANGED
|
@@ -7,7 +7,8 @@ var e = {
|
|
|
7
7
|
copyRoutingNumberToast: "Routing number copied to clipboard",
|
|
8
8
|
exportLoadingToast: "Exporting CSV...",
|
|
9
9
|
exportSuccessToast: "Transactions have been exported",
|
|
10
|
-
exportErrorToast: "Unable to export transactions"
|
|
10
|
+
exportErrorToast: "Unable to export transactions",
|
|
11
|
+
viewStatementErrorToast: "Unable to open statement"
|
|
11
12
|
};
|
|
12
13
|
//#endregion
|
|
13
14
|
export { e as DEFAULT_FEATURE_LABELS };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import "./lib/finopsApiVersion.js";
|
|
2
2
|
import "./lib/rest/client.gen.js";
|
|
3
|
-
import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, deleteTagsId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x,
|
|
4
|
-
import { activateCreditCardMutation as
|
|
5
|
-
import { withAuthEpoch as
|
|
6
|
-
import { applicationStatusInvalidationKey as
|
|
7
|
-
import { createClientSecretInstaller as
|
|
8
|
-
import { cancelAllClients as
|
|
9
|
-
import { cloneEmbeddedClient as
|
|
3
|
+
import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, deleteTagsId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getReceivables as N, getUsers as P, listDepartments as F, listLocations as I, listRoles as L, manageBankAccountAccess as R, patchCounterpartsId as z, patchCounterpartsIdAddressesId as B, patchCounterpartsIdBankAccountsId as V, patchEntitiesIdSettings as H, patchMeasureUnitsId as U, patchPayablesId as W, patchProductsId as G, patchReceivablesId as K, patchTagsId as q, postApprovalRequestsIdApprove as J, postApprovalRequestsIdReject as Y, postCounterparts as X, postCounterpartsIdAddresses as Z, postCounterpartsIdBankAccounts as Q, postCounterpartsIdBankAccountsIdMakeDefault as $, postMeasureUnits as ee, postPayables as te, postPayablesIdApprovePaymentOperation as ne, postPayablesIdAttachFile as re, postPayablesIdCancel as ie, postPayablesIdDuplicatesIdConfirm as ae, postPayablesIdDuplicatesIdDismiss as oe, postPayablesIdMarkAsPaid as se, postPayablesIdReject as ce, postPayablesIdReopen as le, postPayablesIdSchedulePayment as ue, postPayablesIdSubmitForApproval as de, postPayablesIdValidate as fe, postPayablesUploadFromFile as pe, postPaymentIntentsIdCancel as me, postProducts as he, postReceivables as ge, postReceivablesIdAccept as _e, postReceivablesIdCancel as ve, postReceivablesIdClone as ye, postReceivablesIdDecline as be, postReceivablesIdIssue as xe, postReceivablesIdMarkAsPaid as Se, postReceivablesIdMarkAsPartiallyPaid as Ce, postReceivablesIdMarkAsUncollectible as we, postReceivablesIdSend as Te, postTags as Ee, putEntitiesIdLogo as De, putPayablesIdLineItems as Oe, updateDepartment as ke, updateLocation as Ae, updateUser as je } from "./lib/rest/sdk.gen.js";
|
|
4
|
+
import { activateCreditCardMutation as Me, activateDebitCardMutation as Ne, connectExternalBankAccountMutation as Pe, createAchMoneyMovementMutation as Fe, createApplicationMutation as Ie, createBankAccountMutation as Le, createBookTransferMutation as Re, createCheckDepositMutation as ze, createDebitCardMutation as Be, createVelocityControlMutation as Ve, deleteApprovalPoliciesIdMutation as He, deleteLedgerAccountsIdMutation as Ue, deleteReceiptsIdMutation as We, disableUserMutation as Ge, getAnalyticsPayablesOptions as Ke, getAnalyticsPayablesQueryKey as qe, getAnalyticsReceivablesOptions as Je, getApprovalPoliciesOptions as Ye, getApprovalPoliciesQueryKey as Xe, getApprovalRequestsOptions as Ze, getApprovalRequestsQueryKey as Qe, getBankAccountAccessQueryKey as $e, getBankAccountApplicationOptions as et, getBankAccountOptions as tt, getBankAccountQueryKey as nt, getBankAccountStatementsOptions as rt, getBankAccountTransactionsOptions as it, getBankAccountTransactionsQueryKey as at, getBankAccountTransfersOptions as ot, getBankAccountTransfersQueryKey as st, getBankAccountsQueryKey as ct, getCounterpartsIdAddressesOptions as lt, getCounterpartsIdAddressesQueryKey as ut, getCounterpartsIdBankAccountsOptions as dt, getCounterpartsIdBankAccountsQueryKey as ft, getCounterpartsIdOptions as pt, getCounterpartsIdQueryKey as mt, getCounterpartsOptions as ht, getCounterpartsQueryKey as gt, getCreditCardByIdOptions as _t, getCreditCardByIdQueryKey as vt, getCreditCardsOptions as yt, getCreditCardsQueryKey as bt, getDebitCardByIdOptions as xt, getDebitCardByIdQueryKey as St, getDebitCardCredentialsOptions as Ct, getDebitCardsOptions as wt, getDebitCardsQueryKey as Tt, getDepartmentOptions as Et, getDepartmentQueryKey as Dt, getDepositableBankAccountsOptions as Ot, getDocumentsIdNextNumbersOptions as kt, getDocumentsIdNextNumbersQueryKey as At, getEntitiesIdSettingsOptions as jt, getEntitiesIdSettingsQueryKey as Mt, getEntitiesMeOptions as Nt, getEntityUsersMyEntityOptions as Pt, getEntityUsersMyEntityQueryKey as Ft, getEntityUsersOptions as It, getExternalBankAccountAccessQueryKey as Lt, getExternalBankAccountsOptions as Rt, getExternalBankAccountsQueryKey as zt, getLedgerAccountsQueryKey as Bt, getLocationOptions as Vt, getLocationQueryKey as Ht, getMeasureUnitsOptions as Ut, getMeasureUnitsQueryKey as Wt, getOrganizationOptions as Gt, getPayablesIdHistoryOptions as Kt, getPayablesIdHistoryQueryKey as qt, getPayablesIdLineItemsOptions as Jt, getPayablesIdLineItemsQueryKey as Yt, getPayablesIdOptions as Xt, getPayablesIdQueryKey as Zt, getPayablesIdSuggestionsOptions as Qt, getPayablesOptions as $t, getPayablesQueryKey as en, getPaymentRecordsOptions as tn, getPaymentRecordsQueryKey as nn, getProductsIdOptions as rn, getProductsIdQueryKey as an, getProductsOptions as on, getProductsQueryKey as sn, getReceiptsIdQueryKey as cn, getReceiptsOptions as ln, getReceiptsQueryKey as un, getReceivablesIdHistoryOptions as dn, getReceivablesIdHistoryQueryKey as fn, getReceivablesIdMailsOptions as pn, getReceivablesIdMailsQueryKey as mn, getReceivablesIdOptions as hn, getReceivablesIdPdfLinkOptions as gn, getReceivablesIdPdfLinkQueryKey as _n, getReceivablesIdQueryKey as vn, getReceivablesOptions as yn, getReceivablesQueryKey as bn, getTagsOptions as xn, getTagsQueryKey as Sn, getTransactionsIdQueryKey as Cn, getTransactionsOptions as wn, getTransactionsQueryKey as Tn, getTransactionsValidationsOptions as En, getTransactionsValidationsQueryKey as Dn, getUsersOptions as On, getUsersQueryKey as kn, getVelocityControlsQueryKey as An, grantBankAccountAccessMutation as jn, grantExternalBankAccountAccessMutation as Mn, linkExternalBankAccountMutation as Nn, listDepartmentsOptions as Pn, listDepartmentsQueryKey as Fn, listLocationsOptions as In, listLocationsQueryKey as Ln, listRolesQueryKey as Rn, manageDebitCardAccessMutation as zn, patchApprovalPoliciesIdMutation as Bn, patchEntitiesIdSettingsMutation as Vn, patchLedgerAccountsIdMutation as Hn, patchReceiptsIdMutation as Un, postApprovalPoliciesMutation as Wn, postLedgerAccountsMutation as Gn, putTransactionsValidationsMutation as Kn, setDebitCardLockStatusMutation as qn, submitApplicationMutation as Jn, unlinkExternalBankAccountMutation as Yn, updateApplicationMutation as Xn, updateBankAccountMutation as Zn, updateDebitCardMutation as Qn, updateExternalBankAccountMutation as $n, validateExternalBankAccountMutation as er, verifyDebitCardMutation as tr } from "./lib/rest/@tanstack/react-query.gen.js";
|
|
5
|
+
import { withAuthEpoch as nr } from "./lib/withAuthEpoch.js";
|
|
6
|
+
import { applicationStatusInvalidationKey as rr, applicationStatusQueryOptions as ir } from "./lib/applicationStatusQueryOptions.js";
|
|
7
|
+
import { createClientSecretInstaller as ar } from "./lib/scopedClientSecret.js";
|
|
8
|
+
import { cancelAllClients as or, invalidateAllClients as sr, registerQueryClient as cr, removeInactiveFromAllClients as lr, setAllClientsQueriesData as ur, unregisterQueryClient as dr } from "./lib/clientRegistry.js";
|
|
9
|
+
import { cloneEmbeddedClient as fr, createEmbeddedClient as pr } from "./lib/createEmbeddedClient.js";
|
|
10
10
|
import "./lib/widgetGatewayHosts.js";
|
|
11
|
-
import { attachTransportInterceptors as
|
|
12
|
-
import { EmbedApiProvider as
|
|
13
|
-
import { optionalOrganizationHeaders as
|
|
14
|
-
import { fetchWidgetInit as
|
|
15
|
-
import { hasAnyScope as
|
|
11
|
+
import { attachTransportInterceptors as mr } from "./lib/transportInterceptors.js";
|
|
12
|
+
import { EmbedApiProvider as hr, useEmbedApi as gr } from "./lib/EmbedApiContext.js";
|
|
13
|
+
import { optionalOrganizationHeaders as _r, organizationHeaders as vr } from "./lib/organizationHeaders.js";
|
|
14
|
+
import { fetchWidgetInit as yr } from "./lib/fetchWidgetInit.js";
|
|
15
|
+
import { hasAnyScope as br } from "./lib/hasAnyScope.js";
|
|
16
16
|
import "./lib/queryKeys.js";
|
|
17
|
-
import { useCurrentUserQuery as
|
|
17
|
+
import { useCurrentUserQuery as xr } from "./lib/useCurrentUserQuery.js";
|
|
18
18
|
import "./lib/apiErrorStatus.js";
|
|
19
|
-
import { isApiConflictError as
|
|
20
|
-
import { isApiForbiddenError as
|
|
21
|
-
import { isApiNotFoundError as
|
|
22
|
-
import { isApiUnprocessableError as
|
|
19
|
+
import { isApiConflictError as Sr } from "./lib/isApiConflictError.js";
|
|
20
|
+
import { isApiForbiddenError as Cr } from "./lib/isApiForbiddenError.js";
|
|
21
|
+
import { isApiNotFoundError as wr } from "./lib/isApiNotFoundError.js";
|
|
22
|
+
import { isApiUnprocessableError as Tr } from "./lib/isApiUnprocessableError.js";
|
|
23
23
|
import "./lib/isUserDataNotFoundError.js";
|
|
24
|
-
import { useGetUserDataQuery as
|
|
25
|
-
import { useUpsertUserDataMutation as
|
|
24
|
+
import { useGetUserDataQuery as Er } from "./lib/useGetUserDataQuery.js";
|
|
25
|
+
import { useUpsertUserDataMutation as Dr } from "./lib/useUpsertUserDataMutation.js";
|
|
26
26
|
import "./lib/rest/zod.gen.js";
|
|
27
|
-
import { Scope as
|
|
28
|
-
import { getAllPagesNextPageParam as
|
|
29
|
-
import { useAllBankAccountsQuery as
|
|
30
|
-
import { useAllExternalBankAccountsQuery as
|
|
31
|
-
import { useAllMerchantCategoryGroupsQuery as
|
|
32
|
-
import { useAllLedgerAccountsQuery as
|
|
33
|
-
import { usePaymentTermsQuery as
|
|
34
|
-
import { useAllOrganizationRolesQuery as
|
|
35
|
-
import { useRolePermissionsQueries as
|
|
36
|
-
import { useAllOrganizationUsersQuery as
|
|
37
|
-
import { useAcceptWidgetDisclosures as
|
|
38
|
-
import { useDisclosuresQuery as
|
|
39
|
-
import { OnboardingSuppressionReason as
|
|
40
|
-
import { useOrganizationOnboardingSuppression as
|
|
41
|
-
export {
|
|
27
|
+
import { Scope as Or, isScope as kr } from "./lib/scopes.js";
|
|
28
|
+
import { getAllPagesNextPageParam as Ar, getAllPagesNextPaginationTokenParam as jr, isAllPagesResolving as Mr, useAutoFetchNextPage as Nr } from "./lib/allPages.js";
|
|
29
|
+
import { useAllBankAccountsQuery as Pr } from "./lib/bank-account/useAllBankAccountsQuery.js";
|
|
30
|
+
import { useAllExternalBankAccountsQuery as Fr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
|
|
31
|
+
import { useAllMerchantCategoryGroupsQuery as Ir } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
|
|
32
|
+
import { useAllLedgerAccountsQuery as Lr, useLedgerAccountsQuery as Rr } from "./lib/reference-data/useLedgerAccountsQuery.js";
|
|
33
|
+
import { usePaymentTermsQuery as zr } from "./lib/reference-data/usePaymentTermsQuery.js";
|
|
34
|
+
import { useAllOrganizationRolesQuery as Br } from "./lib/role/useAllOrganizationRolesQuery.js";
|
|
35
|
+
import { useRolePermissionsQueries as Vr } from "./lib/role/useRolePermissionsQueries.js";
|
|
36
|
+
import { useAllOrganizationUsersQuery as Hr } from "./lib/user/useAllOrganizationUsersQuery.js";
|
|
37
|
+
import { useAcceptWidgetDisclosures as Ur } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
|
|
38
|
+
import { useDisclosuresQuery as Wr } from "./lib/disclosures/useDisclosuresQuery.js";
|
|
39
|
+
import { OnboardingSuppressionReason as Gr } from "./lib/onboardingSuppressionReason.js";
|
|
40
|
+
import { useOrganizationOnboardingSuppression as Kr } from "./lib/useOrganizationOnboardingSuppression.js";
|
|
41
|
+
export { hr as EmbedApiProvider, Gr as OnboardingSuppressionReason, Or as Scope, Me as activateCreditCardMutation, Ne as activateDebitCardMutation, rr as applicationStatusInvalidationKey, ir as applicationStatusQueryOptions, mr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, or as cancelAllClients, fr as cloneEmbeddedClient, Pe as connectExternalBankAccountMutation, Fe as createAchMoneyMovementMutation, Ie as createApplicationMutation, Le as createBankAccountMutation, Re as createBookTransferMutation, ze as createCheckDepositMutation, ar as createClientSecretInstaller, Be as createDebitCardMutation, r as createDepartment, pr as createEmbeddedClient, i as createLocation, a as createUser, Ve as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, He as deleteApprovalPoliciesIdMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Ue as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, We as deleteReceiptsIdMutation, h as deleteReceivablesId, g as deleteTagsId, Ge as disableUserMutation, _ as downloadBankAccountTransactions, yr as fetchWidgetInit, Ar as getAllPagesNextPageParam, jr as getAllPagesNextPaginationTokenParam, Ke as getAnalyticsPayablesOptions, qe as getAnalyticsPayablesQueryKey, Je as getAnalyticsReceivablesOptions, v as getApplicationStatus, y as getApprovalPolicies, Ye as getApprovalPoliciesOptions, Xe as getApprovalPoliciesQueryKey, b as getApprovalRequests, Ze as getApprovalRequestsOptions, Qe as getApprovalRequestsQueryKey, x as getBankAccountAccess, $e as getBankAccountAccessQueryKey, et as getBankAccountApplicationOptions, tt as getBankAccountOptions, nt as getBankAccountQueryKey, S as getBankAccountStatement, rt as getBankAccountStatementsOptions, it as getBankAccountTransactionsOptions, at as getBankAccountTransactionsQueryKey, ot as getBankAccountTransfersOptions, st as getBankAccountTransfersQueryKey, ct as getBankAccountsQueryKey, C as getCounterparts, lt as getCounterpartsIdAddressesOptions, ut as getCounterpartsIdAddressesQueryKey, dt as getCounterpartsIdBankAccountsOptions, ft as getCounterpartsIdBankAccountsQueryKey, pt as getCounterpartsIdOptions, mt as getCounterpartsIdQueryKey, ht as getCounterpartsOptions, gt as getCounterpartsQueryKey, _t as getCreditCardByIdOptions, vt as getCreditCardByIdQueryKey, yt as getCreditCardsOptions, bt as getCreditCardsQueryKey, xt as getDebitCardByIdOptions, St as getDebitCardByIdQueryKey, Ct as getDebitCardCredentialsOptions, wt as getDebitCardsOptions, Tt as getDebitCardsQueryKey, w as getDepartment, Et as getDepartmentOptions, Dt as getDepartmentQueryKey, T as getDepositableBankAccounts, Ot as getDepositableBankAccountsOptions, kt as getDocumentsIdNextNumbersOptions, At as getDocumentsIdNextNumbersQueryKey, jt as getEntitiesIdSettingsOptions, Mt as getEntitiesIdSettingsQueryKey, Nt as getEntitiesMeOptions, Pt as getEntityUsersMyEntityOptions, Ft as getEntityUsersMyEntityQueryKey, It as getEntityUsersOptions, E as getExternalBankAccountAccess, Lt as getExternalBankAccountAccessQueryKey, Rt as getExternalBankAccountsOptions, zt as getExternalBankAccountsQueryKey, Bt as getLedgerAccountsQueryKey, D as getLocation, Vt as getLocationOptions, Ht as getLocationQueryKey, Ut as getMeasureUnitsOptions, Wt as getMeasureUnitsQueryKey, Gt as getOrganizationOptions, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, Kt as getPayablesIdHistoryOptions, qt as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, Jt as getPayablesIdLineItemsOptions, Yt as getPayablesIdLineItemsQueryKey, Xt as getPayablesIdOptions, Zt as getPayablesIdQueryKey, Qt as getPayablesIdSuggestionsOptions, $t as getPayablesOptions, en as getPayablesQueryKey, M as getPaymentRecords, tn as getPaymentRecordsOptions, nn as getPaymentRecordsQueryKey, rn as getProductsIdOptions, an as getProductsIdQueryKey, on as getProductsOptions, sn as getProductsQueryKey, cn as getReceiptsIdQueryKey, ln as getReceiptsOptions, un as getReceiptsQueryKey, N as getReceivables, dn as getReceivablesIdHistoryOptions, fn as getReceivablesIdHistoryQueryKey, pn as getReceivablesIdMailsOptions, mn as getReceivablesIdMailsQueryKey, hn as getReceivablesIdOptions, gn as getReceivablesIdPdfLinkOptions, _n as getReceivablesIdPdfLinkQueryKey, vn as getReceivablesIdQueryKey, yn as getReceivablesOptions, bn as getReceivablesQueryKey, xn as getTagsOptions, Sn as getTagsQueryKey, Cn as getTransactionsIdQueryKey, wn as getTransactionsOptions, Tn as getTransactionsQueryKey, En as getTransactionsValidationsOptions, Dn as getTransactionsValidationsQueryKey, P as getUsers, On as getUsersOptions, kn as getUsersQueryKey, An as getVelocityControlsQueryKey, jn as grantBankAccountAccessMutation, Mn as grantExternalBankAccountAccessMutation, br as hasAnyScope, sr as invalidateAllClients, Mr as isAllPagesResolving, Sr as isApiConflictError, Cr as isApiForbiddenError, wr as isApiNotFoundError, Tr as isApiUnprocessableError, kr as isScope, Nn as linkExternalBankAccountMutation, F as listDepartments, Pn as listDepartmentsOptions, Fn as listDepartmentsQueryKey, I as listLocations, In as listLocationsOptions, Ln as listLocationsQueryKey, L as listRoles, Rn as listRolesQueryKey, R as manageBankAccountAccess, zn as manageDebitCardAccessMutation, _r as optionalOrganizationHeaders, vr as organizationHeaders, Bn as patchApprovalPoliciesIdMutation, z as patchCounterpartsId, B as patchCounterpartsIdAddressesId, V as patchCounterpartsIdBankAccountsId, H as patchEntitiesIdSettings, Vn as patchEntitiesIdSettingsMutation, Hn as patchLedgerAccountsIdMutation, U as patchMeasureUnitsId, W as patchPayablesId, G as patchProductsId, Un as patchReceiptsIdMutation, K as patchReceivablesId, q as patchTagsId, Wn as postApprovalPoliciesMutation, J as postApprovalRequestsIdApprove, Y as postApprovalRequestsIdReject, X as postCounterparts, Z as postCounterpartsIdAddresses, Q as postCounterpartsIdBankAccounts, $ as postCounterpartsIdBankAccountsIdMakeDefault, Gn as postLedgerAccountsMutation, ee as postMeasureUnits, te as postPayables, ne as postPayablesIdApprovePaymentOperation, re as postPayablesIdAttachFile, ie as postPayablesIdCancel, ae as postPayablesIdDuplicatesIdConfirm, oe as postPayablesIdDuplicatesIdDismiss, se as postPayablesIdMarkAsPaid, ce as postPayablesIdReject, le as postPayablesIdReopen, ue as postPayablesIdSchedulePayment, de as postPayablesIdSubmitForApproval, fe as postPayablesIdValidate, pe as postPayablesUploadFromFile, me as postPaymentIntentsIdCancel, he as postProducts, ge as postReceivables, _e as postReceivablesIdAccept, ve as postReceivablesIdCancel, ye as postReceivablesIdClone, be as postReceivablesIdDecline, xe as postReceivablesIdIssue, Se as postReceivablesIdMarkAsPaid, Ce as postReceivablesIdMarkAsPartiallyPaid, we as postReceivablesIdMarkAsUncollectible, Te as postReceivablesIdSend, Ee as postTags, De as putEntitiesIdLogo, Oe as putPayablesIdLineItems, Kn as putTransactionsValidationsMutation, cr as registerQueryClient, lr as removeInactiveFromAllClients, ur as setAllClientsQueriesData, qn as setDebitCardLockStatusMutation, Jn as submitApplicationMutation, Yn as unlinkExternalBankAccountMutation, dr as unregisterQueryClient, Xn as updateApplicationMutation, Zn as updateBankAccountMutation, Qn as updateDebitCardMutation, ke as updateDepartment, $n as updateExternalBankAccountMutation, Ae as updateLocation, je as updateUser, Ur as useAcceptWidgetDisclosures, Pr as useAllBankAccountsQuery, Fr as useAllExternalBankAccountsQuery, Lr as useAllLedgerAccountsQuery, Ir as useAllMerchantCategoryGroupsQuery, Br as useAllOrganizationRolesQuery, Hr as useAllOrganizationUsersQuery, Nr as useAutoFetchNextPage, xr as useCurrentUserQuery, Wr as useDisclosuresQuery, gr as useEmbedApi, Er as useGetUserDataQuery, Rr as useLedgerAccountsQuery, Kr as useOrganizationOnboardingSuppression, zr as usePaymentTermsQuery, Vr as useRolePermissionsQueries, Dr as useUpsertUserDataMutation, er as validateExternalBankAccountMutation, tr as verifyDebitCardMutation, nr as withAuthEpoch };
|