@tesouro/embedded-components-react 0.5.154 → 0.5.156

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 (40) hide show
  1. package/README.md +1 -2
  2. package/dist/index.css +0 -3
  3. package/dist/index.d.ts +0 -3
  4. package/dist/lib/SettingsWidget.d.ts +0 -3
  5. package/dist/lib/WidgetSuite.d.ts +0 -3
  6. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index3.js +0 -1
  7. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js +0 -1
  8. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +56 -64
  9. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +34 -34
  10. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +191 -231
  11. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +91 -147
  12. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  13. package/package.json +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index.js +0 -10
  15. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index10.js +0 -28
  16. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index2.js +0 -27
  17. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index3.js +0 -13
  18. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index4.js +0 -34
  19. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index5.js +0 -35
  20. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index6.js +0 -33
  21. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index7.js +0 -22
  22. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index8.js +0 -25
  23. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/data-access/dist/index9.js +0 -26
  24. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index.js +0 -2
  25. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index10.js +0 -62
  26. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index11.js +0 -60
  27. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index12.js +0 -107
  28. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index2.js +0 -5
  29. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index3.js +0 -10
  30. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index4.js +0 -14
  31. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index5.js +0 -28
  32. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index6.js +0 -99
  33. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index7.js +0 -36
  34. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index8.js +0 -80
  35. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/feature/dist/index9.js +0 -146
  36. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index.js +0 -5
  37. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index2.js +0 -41
  38. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index3.js +0 -143
  39. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index4.js +0 -36
  40. package/dist/libs/tesouro-embedded-components-react/settings-widget/tags/ui/dist/index5.js +0 -127
package/README.md CHANGED
@@ -563,7 +563,7 @@ A self-contained native widget for listing, creating, editing, and acting on cus
563
563
 
564
564
  ### SettingsWidget
565
565
 
566
- A composite settings widget that combines profile, team, invoice, bill-pay, expense, accounting, tags, legal and help settings in one navigable surface.
566
+ A composite settings widget that combines profile, team, invoice, bill-pay, expense, accounting, legal and help settings in one navigable surface.
567
567
 
568
568
  #### Props
569
569
 
@@ -577,7 +577,6 @@ A composite settings widget that combines profile, team, invoice, bill-pay, expe
577
577
  | `invoiceContent` | `ReactNode` | Invoice settings widget | Replaces invoice settings content. |
578
578
  | `billPayContent` | `ReactNode` | Approval policies settings | Replaces bill-pay settings content. |
579
579
  | `accountingContent` | `ReactNode` | Chart of accounts widget | Replaces accounting content. |
580
- | `tagsContent` | `ReactNode` | Tags widget | Replaces tags content. |
581
580
  | `expenseContent` | `ReactNode` | Expense policies and requirements | Replaces expense content. |
582
581
  | `legalContent` | `ReactNode` | Bank disclosures widget | Replaces the Legal section content. |
583
582
  | `profileContactUrl` | `string` | `undefined` | Forwarded to the Profile section's widget — where its "to change this information, contact your bank" line links. Left unset, the card shows the plain unlinked sentence instead; the bank name comes from widget init. |
package/dist/index.css CHANGED
@@ -476,9 +476,6 @@
476
476
  .ttw\:mr-2 {
477
477
  margin-right: calc(var(--ttw-spacing) * 2);
478
478
  }
479
- .ttw\:mr-auto {
480
- margin-right: auto;
481
- }
482
479
  .ttw\:-mb-px {
483
480
  margin-bottom: -1px;
484
481
  }
package/dist/index.d.ts CHANGED
@@ -3117,7 +3117,6 @@ interface FeatureLabels$1 {
3117
3117
  billPaySection: string;
3118
3118
  billPayDescription: string;
3119
3119
  accountingSection: string;
3120
- tagsSection: string;
3121
3120
  expenseSection: string;
3122
3121
  legalSection: string;
3123
3122
  helpSection: string;
@@ -3137,7 +3136,6 @@ declare const SettingsSection: {
3137
3136
  readonly Expense: "expense";
3138
3137
  readonly BillPay: "bill-pay";
3139
3138
  readonly Accounting: "accounting";
3140
- readonly Tags: "tags";
3141
3139
  readonly Legal: "legal";
3142
3140
  readonly Help: "help";
3143
3141
  };
@@ -3215,7 +3213,6 @@ interface SettingsWidgetProps extends MoniteRegionProviderProps {
3215
3213
  helpContent?: ReactNode;
3216
3214
  expenseContent?: ReactNode;
3217
3215
  accountingContent?: ReactNode;
3218
- tagsContent?: ReactNode;
3219
3216
  invoiceContent?: ReactNode;
3220
3217
  legalContent?: ReactNode;
3221
3218
  }
@@ -695,7 +695,6 @@ interface FeatureLabels {
695
695
  billPaySection: string;
696
696
  billPayDescription: string;
697
697
  accountingSection: string;
698
- tagsSection: string;
699
698
  expenseSection: string;
700
699
  legalSection: string;
701
700
  helpSection: string;
@@ -715,7 +714,6 @@ declare const SettingsSection: {
715
714
  readonly Expense: "expense";
716
715
  readonly BillPay: "bill-pay";
717
716
  readonly Accounting: "accounting";
718
- readonly Tags: "tags";
719
717
  readonly Legal: "legal";
720
718
  readonly Help: "help";
721
719
  };
@@ -793,7 +791,6 @@ interface SettingsWidgetProps extends MoniteRegionProviderProps {
793
791
  helpContent?: ReactNode;
794
792
  expenseContent?: ReactNode;
795
793
  accountingContent?: ReactNode;
796
- tagsContent?: ReactNode;
797
794
  invoiceContent?: ReactNode;
798
795
  legalContent?: ReactNode;
799
796
  }
@@ -2260,7 +2260,6 @@ interface FeatureLabels$1 {
2260
2260
  billPaySection: string;
2261
2261
  billPayDescription: string;
2262
2262
  accountingSection: string;
2263
- tagsSection: string;
2264
2263
  expenseSection: string;
2265
2264
  legalSection: string;
2266
2265
  helpSection: string;
@@ -2280,7 +2279,6 @@ declare const SettingsSection: {
2280
2279
  readonly Expense: "expense";
2281
2280
  readonly BillPay: "bill-pay";
2282
2281
  readonly Accounting: "accounting";
2283
- readonly Tags: "tags";
2284
2282
  readonly Legal: "legal";
2285
2283
  readonly Help: "help";
2286
2284
  };
@@ -2358,7 +2356,6 @@ interface SettingsWidgetProps extends MoniteRegionProviderProps {
2358
2356
  helpContent?: ReactNode;
2359
2357
  expenseContent?: ReactNode;
2360
2358
  accountingContent?: ReactNode;
2361
- tagsContent?: ReactNode;
2362
2359
  invoiceContent?: ReactNode;
2363
2360
  legalContent?: ReactNode;
2364
2361
  }
@@ -6,7 +6,6 @@ var e = {
6
6
  billPaySection: "Bill pay",
7
7
  billPayDescription: "Set who needs to approve bills before payment.",
8
8
  accountingSection: "Chart of accounts",
9
- tagsSection: "Tags",
10
9
  expenseSection: "Expenses",
11
10
  legalSection: "Legal",
12
11
  helpSection: "Help",
@@ -6,7 +6,6 @@ var e = {
6
6
  Expense: "expense",
7
7
  BillPay: "bill-pay",
8
8
  Accounting: "accounting",
9
- Tags: "tags",
10
9
  Legal: "legal",
11
10
  Help: "help"
12
11
  }, t = new Set(Object.values(e));
@@ -18,25 +18,23 @@ import { SettingsWidgetAnalyticsEvent as l, WIDGET_NAME as u } from "./index2.js
18
18
  import { ExpenseSettingsTabs as d } from "./index5.js";
19
19
  import { InvoiceSettings as f } from "../../invoice-settings/feature/dist/index10.js";
20
20
  import "../../invoice-settings/feature/dist/index.js";
21
- import { TagsWidget as p } from "../../tags/feature/dist/index12.js";
22
- import "../../tags/feature/dist/index.js";
23
- import { BankDisclosuresWidget as m } from "../../../shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js";
21
+ import { BankDisclosuresWidget as p } from "../../../shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js";
24
22
  import "../../../shared/bank-disclosures/feature/dist/index.js";
25
- import { TeamWidget as h } from "../../team/feature/dist/index17.js";
23
+ import { TeamWidget as m } from "../../team/feature/dist/index17.js";
26
24
  import "../../team/feature/dist/index.js";
27
- import { SettingsWidgetUi as g } from "../../ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js";
25
+ import { SettingsWidgetUi as h } from "../../ui/dist/lib/SettingsWidgetUi/SettingsWidgetUi.js";
28
26
  import "../../ui/dist/index.js";
29
- import { ChartOfAccountsWidget as _ } from "../../chart-of-accounts/feature/dist/index8.js";
27
+ import { ChartOfAccountsWidget as g } from "../../chart-of-accounts/feature/dist/index8.js";
30
28
  import "../../chart-of-accounts/feature/dist/index.js";
31
- import { HelpWidget as v } from "../../help/feature/dist/index3.js";
29
+ import { HelpWidget as _ } from "../../help/feature/dist/index3.js";
32
30
  import "../../help/feature/dist/index.js";
33
- import { ProfileWidget as y } from "../../profile/feature/dist/index4.js";
31
+ import { ProfileWidget as v } from "../../profile/feature/dist/index4.js";
34
32
  import "../../profile/feature/dist/index.js";
35
- import { useCallback as b, useEffect as x, useRef as S } from "react";
36
- import { jsx as C } from "react/jsx-runtime";
37
- import { useControllableState as w } from "@radix-ui/react-use-controllable-state";
33
+ import { useCallback as y, useEffect as b, useRef as x } from "react";
34
+ import { jsx as S } from "react/jsx-runtime";
35
+ import { useControllableState as C } from "@radix-ui/react-use-controllable-state";
38
36
  //#region ../../libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js
39
- var T = {
37
+ var w = {
40
38
  [s.Profile]: [],
41
39
  [s.Team]: [t.UserReadOrg],
42
40
  [s.Invoice]: [t.OrganizationSettingsWriteOrg],
@@ -47,98 +45,92 @@ var T = {
47
45
  t.UserReadOrg
48
46
  ],
49
47
  [s.Accounting]: [t.AccountingConfigReadOrg],
50
- [s.Tags]: [t.AccountingConfigReadOrg],
51
48
  [s.Expense]: [t.ApprovalPolicyWriteOrg, t.ExpenseWriteOrg],
52
49
  [s.Legal]: [],
53
50
  [s.Help]: []
54
51
  };
55
- function E({ labels: t, featureLabels: a, acceptInviteRedirectUri: u, helpContactUrl: E, helpFaq: D, profileContactUrl: O, selectedSection: k, defaultSelectedSection: A, onSelectedSectionChange: j, additionalSections: M, profileContent: N, teamContent: P, billPayContent: F, helpContent: I, expenseContent: L, accountingContent: R, tagsContent: z, invoiceContent: B, legalContent: V }) {
56
- let H = {
52
+ function T({ labels: t, featureLabels: a, acceptInviteRedirectUri: u, helpContactUrl: T, helpFaq: E, profileContactUrl: D, selectedSection: O, defaultSelectedSection: k, onSelectedSectionChange: A, additionalSections: j, profileContent: M, teamContent: N, billPayContent: P, helpContent: F, expenseContent: I, accountingContent: L, invoiceContent: R, legalContent: z }) {
53
+ let B = {
57
54
  ...o,
58
55
  ...a
59
- }, U = S(null), W = n();
60
- x(() => {
61
- W(l.Mounted);
62
- }, [W]);
63
- let { initResponse: G } = r(), K = G?.scopes, q = [
56
+ }, V = x(null), H = n();
57
+ b(() => {
58
+ H(l.Mounted);
59
+ }, [H]);
60
+ let { initResponse: U } = r(), W = U?.scopes, G = [
64
61
  {
65
62
  id: s.Profile,
66
- label: H.profileSection,
67
- content: N ?? /* @__PURE__ */ C(y, { contactUrl: O })
63
+ label: B.profileSection,
64
+ content: M ?? /* @__PURE__ */ S(v, { contactUrl: D })
68
65
  },
69
66
  {
70
67
  id: s.Team,
71
- label: H.teamSection,
72
- content: P ?? /* @__PURE__ */ C(h, { acceptInviteRedirectUri: u })
68
+ label: B.teamSection,
69
+ content: N ?? /* @__PURE__ */ S(m, { acceptInviteRedirectUri: u })
73
70
  },
74
71
  {
75
72
  id: s.Invoice,
76
- label: H.invoiceSection,
77
- content: B ?? /* @__PURE__ */ C(f, { ref: U })
73
+ label: B.invoiceSection,
74
+ content: R ?? /* @__PURE__ */ S(f, { ref: V })
78
75
  },
79
76
  {
80
77
  id: s.Expense,
81
- label: H.expenseSection,
82
- content: L ?? /* @__PURE__ */ C(d, {
83
- approvalsLabel: H.expenseApprovalsTab,
84
- requirementsLabel: H.expenseRequirementsTab
78
+ label: B.expenseSection,
79
+ content: I ?? /* @__PURE__ */ S(d, {
80
+ approvalsLabel: B.expenseApprovalsTab,
81
+ requirementsLabel: B.expenseRequirementsTab
85
82
  })
86
83
  },
87
84
  {
88
85
  id: s.BillPay,
89
- label: H.billPaySection,
90
- content: F ?? /* @__PURE__ */ C(i, {
86
+ label: B.billPaySection,
87
+ content: P ?? /* @__PURE__ */ S(i, {
91
88
  showHeaderTitle: !1,
92
- componentLabels: { header: { Description: H.billPayDescription } }
89
+ componentLabels: { header: { Description: B.billPayDescription } }
93
90
  })
94
91
  },
95
92
  {
96
93
  id: s.Accounting,
97
- label: H.accountingSection,
98
- content: R ?? /* @__PURE__ */ C(_, {})
99
- },
100
- {
101
- id: s.Tags,
102
- label: H.tagsSection,
103
- content: z ?? /* @__PURE__ */ C(p, {})
94
+ label: B.accountingSection,
95
+ content: L ?? /* @__PURE__ */ S(g, {})
104
96
  },
105
97
  {
106
98
  id: s.Legal,
107
- label: H.legalSection,
108
- content: V ?? /* @__PURE__ */ C(m, {})
99
+ label: B.legalSection,
100
+ content: z ?? /* @__PURE__ */ S(p, {})
109
101
  },
110
102
  {
111
103
  id: s.Help,
112
- label: H.helpSection,
113
- content: I ?? /* @__PURE__ */ C(v, {
114
- contactUrl: E,
115
- faq: D
104
+ label: B.helpSection,
105
+ content: F ?? /* @__PURE__ */ S(_, {
106
+ contactUrl: T,
107
+ faq: E
116
108
  })
117
109
  }
118
- ], J = c(q.filter((t) => T[t.id].every((t) => e(K, [t]))), M ?? []), Y = J[0]?.id ?? "", [X, Z] = w({
119
- prop: k,
120
- defaultProp: A ?? Y,
121
- onChange: j,
110
+ ], K = c(G.filter((t) => w[t.id].every((t) => e(W, [t]))), j ?? []), q = K[0]?.id ?? "", [J, Y] = C({
111
+ prop: O,
112
+ defaultProp: k ?? q,
113
+ onChange: A,
122
114
  caller: "SettingsWidget"
123
- }), Q = J.some((e) => e.id === X) ? X : Y, $ = b((e) => {
124
- let t = U.current;
125
- if (Q !== s.Invoice || !t) {
126
- Z(e);
115
+ }), X = K.some((e) => e.id === J) ? J : q, Z = y((e) => {
116
+ let t = V.current;
117
+ if (X !== s.Invoice || !t) {
118
+ Y(e);
127
119
  return;
128
120
  }
129
121
  t.confirmLeave().then((t) => {
130
- t && Z(e);
122
+ t && Y(e);
131
123
  });
132
- }, [Q, Z]);
133
- return /* @__PURE__ */ C(g, {
124
+ }, [X, Y]);
125
+ return /* @__PURE__ */ S(h, {
134
126
  labels: t,
135
- sections: J,
136
- selectedSectionId: Q,
137
- onSectionChange: $
127
+ sections: K,
128
+ selectedSectionId: X,
129
+ onSectionChange: Z
138
130
  });
139
131
  }
140
- function D({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: d, finopsThemeColors: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
141
- return /* @__PURE__ */ C(a, {
132
+ function E({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: i, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: d, finopsThemeColors: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
133
+ return /* @__PURE__ */ S(a, {
142
134
  widgetName: u,
143
135
  baseUrl: e,
144
136
  widgetToken: t,
@@ -154,8 +146,8 @@ function D({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gat
154
146
  analytics: p,
155
147
  disclosuresAcceptance: m,
156
148
  providerLabels: h,
157
- children: /* @__PURE__ */ C(E, { ...g })
149
+ children: /* @__PURE__ */ S(T, { ...g })
158
150
  });
159
151
  }
160
152
  //#endregion
161
- export { D as SettingsWidget, D as default };
153
+ export { E as SettingsWidget, E as default };
@@ -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, 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";
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, downloadBankAccountTransactions as g, getApplicationStatus as _, getApprovalPolicies as v, getApprovalRequests as y, getBankAccountAccess as b, getBankAccountStatement 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, postApprovalRequestsIdApprove as K, postApprovalRequestsIdReject as q, postCounterparts as J, postCounterpartsIdAddresses as Y, postCounterpartsIdBankAccounts as X, postCounterpartsIdBankAccountsIdMakeDefault as Z, postMeasureUnits as Q, postPayables as $, postPayablesIdApprovePaymentOperation as ee, postPayablesIdAttachFile as te, postPayablesIdCancel as ne, postPayablesIdDuplicatesIdConfirm as re, postPayablesIdDuplicatesIdDismiss as ie, postPayablesIdMarkAsPaid as ae, postPayablesIdReject as oe, postPayablesIdReopen as se, postPayablesIdSchedulePayment as ce, postPayablesIdSubmitForApproval as le, postPayablesIdValidate as ue, postPayablesUploadFromFile as de, postPaymentIntentsIdCancel as fe, postProducts as pe, postReceivables as me, postReceivablesIdAccept as he, postReceivablesIdCancel as ge, postReceivablesIdClone as _e, postReceivablesIdDecline as ve, postReceivablesIdIssue as ye, postReceivablesIdMarkAsPaid as be, postReceivablesIdMarkAsPartiallyPaid as xe, postReceivablesIdMarkAsUncollectible as Se, postReceivablesIdSend as Ce, putEntitiesIdLogo as we, putPayablesIdLineItems as Te, updateDepartment as Ee, updateLocation as De, updateUser as Oe } from "./lib/rest/sdk.gen.js";
4
+ import { activateCreditCardMutation as ke, activateDebitCardMutation as Ae, connectExternalBankAccountMutation as je, createAchMoneyMovementMutation as Me, createApplicationMutation as Ne, createBankAccountMutation as Pe, createBookTransferMutation as Fe, createCheckDepositMutation as Ie, createDebitCardMutation as Le, createVelocityControlMutation as Re, deleteApprovalPoliciesIdMutation as ze, deleteLedgerAccountsIdMutation as Be, deleteReceiptsIdMutation as Ve, disableUserMutation as He, getAnalyticsPayablesOptions as Ue, getAnalyticsPayablesQueryKey as We, getAnalyticsReceivablesOptions as Ge, getApprovalPoliciesOptions as Ke, getApprovalPoliciesQueryKey as qe, getApprovalRequestsOptions as Je, getApprovalRequestsQueryKey as Ye, getBankAccountAccessQueryKey as Xe, getBankAccountApplicationOptions as Ze, getBankAccountOptions as Qe, getBankAccountQueryKey as $e, getBankAccountStatementsOptions as et, getBankAccountTransactionsOptions as tt, getBankAccountTransactionsQueryKey as nt, getBankAccountTransfersOptions as rt, getBankAccountTransfersQueryKey as it, getBankAccountsQueryKey as at, getCounterpartsIdAddressesOptions as ot, getCounterpartsIdAddressesQueryKey as st, getCounterpartsIdBankAccountsOptions as ct, getCounterpartsIdBankAccountsQueryKey as lt, getCounterpartsIdOptions as ut, getCounterpartsIdQueryKey as dt, getCounterpartsOptions as ft, getCounterpartsQueryKey as pt, getCreditCardByIdOptions as mt, getCreditCardByIdQueryKey as ht, getCreditCardsOptions as gt, getCreditCardsQueryKey as _t, getDebitCardByIdOptions as vt, getDebitCardByIdQueryKey as yt, getDebitCardCredentialsOptions as bt, getDebitCardsOptions as xt, getDebitCardsQueryKey as St, getDepartmentOptions as Ct, getDepartmentQueryKey as wt, getDepositableBankAccountsOptions as Tt, getDocumentsIdNextNumbersOptions as Et, getDocumentsIdNextNumbersQueryKey as Dt, getEntitiesIdSettingsOptions as Ot, getEntitiesIdSettingsQueryKey as kt, getEntityUsersMyEntityOptions as At, getEntityUsersMyEntityQueryKey as jt, getExternalBankAccountAccessQueryKey as Mt, getExternalBankAccountsOptions as Nt, getExternalBankAccountsQueryKey as Pt, getLedgerAccountsQueryKey as Ft, getLocationOptions as It, getLocationQueryKey as Lt, getMeasureUnitsOptions as Rt, getMeasureUnitsQueryKey as zt, getOrganizationOptions as Bt, getPayablesIdHistoryOptions as Vt, getPayablesIdHistoryQueryKey as Ht, getPayablesIdLineItemsOptions as Ut, getPayablesIdLineItemsQueryKey as Wt, getPayablesIdOptions as Gt, getPayablesIdQueryKey as Kt, getPayablesIdSuggestionsOptions as qt, getPayablesOptions as Jt, getPayablesQueryKey as Yt, getPaymentRecordsOptions as Xt, getPaymentRecordsQueryKey as Zt, getProductsIdOptions as Qt, getProductsIdQueryKey as $t, getProductsOptions as en, getProductsQueryKey as tn, getReceiptsIdQueryKey as nn, getReceiptsOptions as rn, getReceiptsQueryKey as an, getReceivablesIdHistoryOptions as on, getReceivablesIdHistoryQueryKey as sn, getReceivablesIdMailsOptions as cn, getReceivablesIdMailsQueryKey as ln, getReceivablesIdOptions as un, getReceivablesIdPdfLinkOptions as dn, getReceivablesIdPdfLinkQueryKey as fn, getReceivablesIdQueryKey as pn, getReceivablesOptions as mn, getReceivablesQueryKey as hn, getTransactionsIdQueryKey as gn, getTransactionsOptions as _n, getTransactionsQueryKey as vn, getTransactionsValidationsOptions as yn, getTransactionsValidationsQueryKey as bn, getUsersOptions as xn, getUsersQueryKey as Sn, getVelocityControlsQueryKey as Cn, grantBankAccountAccessMutation as wn, grantExternalBankAccountAccessMutation as Tn, linkExternalBankAccountMutation as En, listDepartmentsOptions as Dn, listDepartmentsQueryKey as On, listLocationsOptions as kn, listLocationsQueryKey as An, listRolesQueryKey as jn, manageDebitCardAccessMutation as Mn, patchApprovalPoliciesIdMutation as Nn, patchLedgerAccountsIdMutation as Pn, patchReceiptsIdMutation as Fn, postApprovalPoliciesMutation as In, postLedgerAccountsMutation as Ln, putTransactionsValidationsMutation as Rn, setDebitCardLockStatusMutation as zn, submitApplicationMutation as Bn, unlinkExternalBankAccountMutation as Vn, updateApplicationMutation as Hn, updateBankAccountMutation as Un, updateDebitCardMutation as Wn, updateExternalBankAccountMutation as Gn, validateExternalBankAccountMutation as Kn, verifyDebitCardMutation as qn } from "./lib/rest/@tanstack/react-query.gen.js";
5
+ import { withAuthEpoch as Jn } from "./lib/withAuthEpoch.js";
6
+ import { applicationStatusInvalidationKey as Yn, applicationStatusQueryOptions as Xn } from "./lib/applicationStatusQueryOptions.js";
7
+ import { createClientSecretInstaller as Zn } from "./lib/scopedClientSecret.js";
8
+ import { cancelAllClients as Qn, invalidateAllClients as $n, registerQueryClient as er, removeInactiveFromAllClients as tr, setAllClientsQueriesData as nr, unregisterQueryClient as rr } from "./lib/clientRegistry.js";
9
+ import { cloneEmbeddedClient as ir, createEmbeddedClient as ar } from "./lib/createEmbeddedClient.js";
10
10
  import "./lib/widgetGatewayHosts.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";
11
+ import { attachTransportInterceptors as or } from "./lib/transportInterceptors.js";
12
+ import { EmbedApiProvider as sr, useEmbedApi as cr } from "./lib/EmbedApiContext.js";
13
+ import { optionalOrganizationHeaders as lr, organizationHeaders as ur } from "./lib/organizationHeaders.js";
14
+ import { fetchWidgetInit as dr } from "./lib/fetchWidgetInit.js";
15
+ import { hasAnyScope as fr } from "./lib/hasAnyScope.js";
16
16
  import "./lib/queryKeys.js";
17
- import { useCurrentUserQuery as xr } from "./lib/useCurrentUserQuery.js";
17
+ import { useCurrentUserQuery as pr } from "./lib/useCurrentUserQuery.js";
18
18
  import "./lib/apiErrorStatus.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";
19
+ import { isApiConflictError as mr } from "./lib/isApiConflictError.js";
20
+ import { isApiForbiddenError as hr } from "./lib/isApiForbiddenError.js";
21
+ import { isApiNotFoundError as gr } from "./lib/isApiNotFoundError.js";
22
+ import { isApiUnprocessableError as _r } from "./lib/isApiUnprocessableError.js";
23
23
  import "./lib/isUserDataNotFoundError.js";
24
- import { useGetUserDataQuery as Er } from "./lib/useGetUserDataQuery.js";
25
- import { useUpsertUserDataMutation as Dr } from "./lib/useUpsertUserDataMutation.js";
24
+ import { useGetUserDataQuery as vr } from "./lib/useGetUserDataQuery.js";
25
+ import { useUpsertUserDataMutation as yr } from "./lib/useUpsertUserDataMutation.js";
26
26
  import "./lib/rest/zod.gen.js";
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 };
27
+ import { Scope as br, isScope as xr } from "./lib/scopes.js";
28
+ import { getAllPagesNextPageParam as Sr, getAllPagesNextPaginationTokenParam as Cr, isAllPagesResolving as wr, useAutoFetchNextPage as Tr } from "./lib/allPages.js";
29
+ import { useAllBankAccountsQuery as Er } from "./lib/bank-account/useAllBankAccountsQuery.js";
30
+ import { useAllExternalBankAccountsQuery as Dr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
31
+ import { useAllMerchantCategoryGroupsQuery as Or } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
32
+ import { useAllLedgerAccountsQuery as kr, useLedgerAccountsQuery as Ar } from "./lib/reference-data/useLedgerAccountsQuery.js";
33
+ import { usePaymentTermsQuery as jr } from "./lib/reference-data/usePaymentTermsQuery.js";
34
+ import { useAllOrganizationRolesQuery as Mr } from "./lib/role/useAllOrganizationRolesQuery.js";
35
+ import { useRolePermissionsQueries as Nr } from "./lib/role/useRolePermissionsQueries.js";
36
+ import { useAllOrganizationUsersQuery as Pr } from "./lib/user/useAllOrganizationUsersQuery.js";
37
+ import { useAcceptWidgetDisclosures as Fr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
38
+ import { useDisclosuresQuery as Ir } from "./lib/disclosures/useDisclosuresQuery.js";
39
+ import { OnboardingSuppressionReason as Lr } from "./lib/onboardingSuppressionReason.js";
40
+ import { useOrganizationOnboardingSuppression as Rr } from "./lib/useOrganizationOnboardingSuppression.js";
41
+ export { sr as EmbedApiProvider, Lr as OnboardingSuppressionReason, br as Scope, ke as activateCreditCardMutation, Ae as activateDebitCardMutation, Yn as applicationStatusInvalidationKey, Xn as applicationStatusQueryOptions, or as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Qn as cancelAllClients, ir as cloneEmbeddedClient, je as connectExternalBankAccountMutation, Me as createAchMoneyMovementMutation, Ne as createApplicationMutation, Pe as createBankAccountMutation, Fe as createBookTransferMutation, Ie as createCheckDepositMutation, Zn as createClientSecretInstaller, Le as createDebitCardMutation, r as createDepartment, ar as createEmbeddedClient, i as createLocation, a as createUser, Re as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, ze as deleteApprovalPoliciesIdMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Be as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ve as deleteReceiptsIdMutation, h as deleteReceivablesId, He as disableUserMutation, g as downloadBankAccountTransactions, dr as fetchWidgetInit, Sr as getAllPagesNextPageParam, Cr as getAllPagesNextPaginationTokenParam, Ue as getAnalyticsPayablesOptions, We as getAnalyticsPayablesQueryKey, Ge as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, Ke as getApprovalPoliciesOptions, qe as getApprovalPoliciesQueryKey, y as getApprovalRequests, Je as getApprovalRequestsOptions, Ye as getApprovalRequestsQueryKey, b as getBankAccountAccess, Xe as getBankAccountAccessQueryKey, Ze as getBankAccountApplicationOptions, Qe as getBankAccountOptions, $e as getBankAccountQueryKey, x as getBankAccountStatement, et as getBankAccountStatementsOptions, tt as getBankAccountTransactionsOptions, nt as getBankAccountTransactionsQueryKey, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, S as getCounterparts, ot as getCounterpartsIdAddressesOptions, st as getCounterpartsIdAddressesQueryKey, ct as getCounterpartsIdBankAccountsOptions, lt as getCounterpartsIdBankAccountsQueryKey, ut as getCounterpartsIdOptions, dt as getCounterpartsIdQueryKey, ft as getCounterpartsOptions, pt as getCounterpartsQueryKey, mt as getCreditCardByIdOptions, ht as getCreditCardByIdQueryKey, gt as getCreditCardsOptions, _t as getCreditCardsQueryKey, vt as getDebitCardByIdOptions, yt as getDebitCardByIdQueryKey, bt as getDebitCardCredentialsOptions, xt as getDebitCardsOptions, St as getDebitCardsQueryKey, C as getDepartment, Ct as getDepartmentOptions, wt as getDepartmentQueryKey, w as getDepositableBankAccounts, Tt as getDepositableBankAccountsOptions, Et as getDocumentsIdNextNumbersOptions, Dt as getDocumentsIdNextNumbersQueryKey, Ot as getEntitiesIdSettingsOptions, kt as getEntitiesIdSettingsQueryKey, At as getEntityUsersMyEntityOptions, jt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Mt as getExternalBankAccountAccessQueryKey, Nt as getExternalBankAccountsOptions, Pt as getExternalBankAccountsQueryKey, Ft as getLedgerAccountsQueryKey, E as getLocation, It as getLocationOptions, Lt as getLocationQueryKey, Rt as getMeasureUnitsOptions, zt as getMeasureUnitsQueryKey, Bt as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Vt as getPayablesIdHistoryOptions, Ht as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Ut as getPayablesIdLineItemsOptions, Wt as getPayablesIdLineItemsQueryKey, Gt as getPayablesIdOptions, Kt as getPayablesIdQueryKey, qt as getPayablesIdSuggestionsOptions, Jt as getPayablesOptions, Yt as getPayablesQueryKey, j as getPaymentRecords, Xt as getPaymentRecordsOptions, Zt as getPaymentRecordsQueryKey, Qt as getProductsIdOptions, $t as getProductsIdQueryKey, en as getProductsOptions, tn as getProductsQueryKey, nn as getReceiptsIdQueryKey, rn as getReceiptsOptions, an as getReceiptsQueryKey, M as getReceivables, on as getReceivablesIdHistoryOptions, sn as getReceivablesIdHistoryQueryKey, cn as getReceivablesIdMailsOptions, ln as getReceivablesIdMailsQueryKey, un as getReceivablesIdOptions, dn as getReceivablesIdPdfLinkOptions, fn as getReceivablesIdPdfLinkQueryKey, pn as getReceivablesIdQueryKey, mn as getReceivablesOptions, hn as getReceivablesQueryKey, gn as getTransactionsIdQueryKey, _n as getTransactionsOptions, vn as getTransactionsQueryKey, yn as getTransactionsValidationsOptions, bn as getTransactionsValidationsQueryKey, N as getUsers, xn as getUsersOptions, Sn as getUsersQueryKey, Cn as getVelocityControlsQueryKey, wn as grantBankAccountAccessMutation, Tn as grantExternalBankAccountAccessMutation, fr as hasAnyScope, $n as invalidateAllClients, wr as isAllPagesResolving, mr as isApiConflictError, hr as isApiForbiddenError, gr as isApiNotFoundError, _r as isApiUnprocessableError, xr as isScope, En as linkExternalBankAccountMutation, P as listDepartments, Dn as listDepartmentsOptions, On as listDepartmentsQueryKey, F as listLocations, kn as listLocationsOptions, An as listLocationsQueryKey, I as listRoles, jn as listRolesQueryKey, L as manageBankAccountAccess, Mn as manageDebitCardAccessMutation, lr as optionalOrganizationHeaders, ur as organizationHeaders, Nn as patchApprovalPoliciesIdMutation, R as patchCounterpartsId, z as patchCounterpartsIdAddressesId, B as patchCounterpartsIdBankAccountsId, V as patchEntitiesIdSettings, Pn as patchLedgerAccountsIdMutation, H as patchMeasureUnitsId, U as patchPayablesId, W as patchProductsId, Fn as patchReceiptsIdMutation, G as patchReceivablesId, In as postApprovalPoliciesMutation, K as postApprovalRequestsIdApprove, q as postApprovalRequestsIdReject, J as postCounterparts, Y as postCounterpartsIdAddresses, X as postCounterpartsIdBankAccounts, Z as postCounterpartsIdBankAccountsIdMakeDefault, Ln as postLedgerAccountsMutation, Q as postMeasureUnits, $ as postPayables, ee as postPayablesIdApprovePaymentOperation, te as postPayablesIdAttachFile, ne as postPayablesIdCancel, re as postPayablesIdDuplicatesIdConfirm, ie as postPayablesIdDuplicatesIdDismiss, ae as postPayablesIdMarkAsPaid, oe as postPayablesIdReject, se as postPayablesIdReopen, ce as postPayablesIdSchedulePayment, le as postPayablesIdSubmitForApproval, ue as postPayablesIdValidate, de as postPayablesUploadFromFile, fe as postPaymentIntentsIdCancel, pe as postProducts, me as postReceivables, he as postReceivablesIdAccept, ge as postReceivablesIdCancel, _e as postReceivablesIdClone, ve as postReceivablesIdDecline, ye as postReceivablesIdIssue, be as postReceivablesIdMarkAsPaid, xe as postReceivablesIdMarkAsPartiallyPaid, Se as postReceivablesIdMarkAsUncollectible, Ce as postReceivablesIdSend, we as putEntitiesIdLogo, Te as putPayablesIdLineItems, Rn as putTransactionsValidationsMutation, er as registerQueryClient, tr as removeInactiveFromAllClients, nr as setAllClientsQueriesData, zn as setDebitCardLockStatusMutation, Bn as submitApplicationMutation, Vn as unlinkExternalBankAccountMutation, rr as unregisterQueryClient, Hn as updateApplicationMutation, Un as updateBankAccountMutation, Wn as updateDebitCardMutation, Ee as updateDepartment, Gn as updateExternalBankAccountMutation, De as updateLocation, Oe as updateUser, Fr as useAcceptWidgetDisclosures, Er as useAllBankAccountsQuery, Dr as useAllExternalBankAccountsQuery, kr as useAllLedgerAccountsQuery, Or as useAllMerchantCategoryGroupsQuery, Mr as useAllOrganizationRolesQuery, Pr as useAllOrganizationUsersQuery, Tr as useAutoFetchNextPage, pr as useCurrentUserQuery, Ir as useDisclosuresQuery, cr as useEmbedApi, vr as useGetUserDataQuery, Ar as useLedgerAccountsQuery, Rr as useOrganizationOnboardingSuppression, jr as usePaymentTermsQuery, Nr as useRolePermissionsQueries, yr as useUpsertUserDataMutation, Kn as validateExternalBankAccountMutation, qn as verifyDebitCardMutation, Jn as withAuthEpoch };