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