@moh-sso/clients 0.0.0-stage → 1.4.0

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 (142) hide show
  1. package/README.md +25 -2
  2. package/dist/_types/apps/clients/src/api/clientRoles.api.d.ts +539 -0
  3. package/dist/_types/apps/clients/src/api/clients.api.d.ts +1035 -0
  4. package/dist/_types/apps/clients/src/api/index.d.ts +2 -0
  5. package/dist/_types/apps/clients/src/api/onboarding.api.d.ts +544 -0
  6. package/dist/_types/apps/clients/src/components/ClientFilters.d.ts +17 -0
  7. package/dist/_types/apps/clients/src/components/EnableClientModal.d.ts +9 -0
  8. package/dist/_types/apps/clients/src/components/client-form-panel.d.ts +9 -0
  9. package/dist/_types/apps/clients/src/components/client-onboarding-panel.d.ts +5 -0
  10. package/dist/_types/apps/clients/src/components/onboarding-draft.d.ts +18 -0
  11. package/dist/_types/apps/clients/src/components/roles/client-roles-panel.d.ts +6 -0
  12. package/dist/_types/apps/clients/src/components/roles/create-client-role-form.d.ts +6 -0
  13. package/dist/_types/apps/clients/src/components/useEnableClientModal.d.ts +9 -0
  14. package/dist/_types/apps/clients/src/components/user-client-roles-panel.d.ts +5 -0
  15. package/dist/_types/apps/clients/src/index.d.ts +7 -0
  16. package/dist/_types/apps/clients/src/pages/client-actions-menu.component.d.ts +8 -0
  17. package/dist/_types/apps/clients/src/pages/client-bulk-actions.component.d.ts +9 -0
  18. package/dist/_types/apps/clients/src/pages/client.component.d.ts +1 -0
  19. package/dist/_types/apps/clients/src/root.component.d.ts +2 -0
  20. package/dist/_types/apps/clients/src/routes.d.ts +2 -0
  21. package/dist/_types/apps/clients/src/single-spa.d.ts +1 -0
  22. package/dist/_types/apps/clients/src/types/client-role.types.d.ts +6 -0
  23. package/dist/_types/apps/clients/src/types/index.d.ts +2 -0
  24. package/dist/_types/apps/clients/src/types/user-role.types.d.ts +6 -0
  25. package/dist/_types/apps/rbac/src/api/health-context.api.d.ts +2482 -0
  26. package/dist/_types/apps/rbac/src/api/index.d.ts +2 -0
  27. package/dist/_types/apps/rbac/src/api/rbac.api.d.ts +10383 -0
  28. package/dist/_types/apps/rbac/src/types/health-context.types.d.ts +92 -0
  29. package/dist/_types/apps/rbac/src/types/index.d.ts +2 -0
  30. package/dist/_types/apps/rbac/src/types/rbac.types.d.ts +451 -0
  31. package/dist/_types/packages/api/src/api/baseApi.d.ts +2 -0
  32. package/dist/_types/packages/api/src/index.d.ts +1 -0
  33. package/dist/_types/packages/auth/src/api/auth.api.d.ts +531 -0
  34. package/dist/_types/packages/auth/src/api/health-context.api.d.ts +374 -0
  35. package/dist/_types/packages/auth/src/auth/AuthBootstrap.d.ts +1 -0
  36. package/dist/_types/packages/auth/src/auth/HealthContextProvider.d.ts +20 -0
  37. package/dist/_types/packages/auth/src/auth/PermissionGuard.d.ts +10 -0
  38. package/dist/_types/packages/auth/src/auth/auth.selectors.d.ts +896 -0
  39. package/dist/_types/packages/auth/src/auth/auth.slice.d.ts +14 -0
  40. package/dist/_types/packages/auth/src/auth/auth.types.d.ts +61 -0
  41. package/dist/_types/packages/auth/src/auth/login-url.d.ts +2 -0
  42. package/dist/_types/packages/auth/src/auth/permissions.d.ts +58 -0
  43. package/dist/_types/packages/auth/src/auth/rbac.d.ts +8 -0
  44. package/dist/_types/packages/auth/src/auth/system-launch-url.d.ts +9 -0
  45. package/dist/_types/packages/auth/src/auth/useAuthorization.d.ts +14 -0
  46. package/dist/_types/packages/auth/src/index.d.ts +14 -0
  47. package/dist/_types/packages/config/src/appMeta.d.ts +3 -0
  48. package/dist/_types/packages/config/src/index.d.ts +6 -0
  49. package/dist/_types/packages/config/src/lib/constants/api.constants.d.ts +178 -0
  50. package/dist/_types/packages/config/src/lib/constants/document-templates.d.ts +11 -0
  51. package/dist/_types/packages/config/src/lib/errors/errorMessages.d.ts +2 -0
  52. package/dist/_types/packages/config/src/lib/errors/errorSeverity.d.ts +3 -0
  53. package/dist/_types/packages/config/src/lib/errors/errorTypes.d.ts +1 -0
  54. package/dist/_types/packages/microfrontend/src/basename.d.ts +1 -0
  55. package/dist/_types/packages/microfrontend/src/index.d.ts +6 -0
  56. package/dist/_types/packages/microfrontend/src/lifecycle.d.ts +6 -0
  57. package/dist/_types/packages/microfrontend/src/navigation.d.ts +2 -0
  58. package/dist/_types/packages/microfrontend/src/props.d.ts +44 -0
  59. package/dist/_types/packages/microfrontend/src/react-lifecycle.d.ts +11 -0
  60. package/dist/_types/packages/microfrontend/src/routes.d.ts +13 -0
  61. package/dist/_types/packages/state/src/clients/clients.selectors.d.ts +534 -0
  62. package/dist/_types/packages/state/src/clients/clients.slice.d.ts +4 -0
  63. package/dist/_types/packages/state/src/document/documents.selectors.d.ts +1 -0
  64. package/dist/_types/packages/state/src/index.d.ts +29 -0
  65. package/dist/_types/packages/state/src/ui/ui.state.d.ts +1 -0
  66. package/dist/_types/packages/types/src/index.d.ts +6 -0
  67. package/dist/_types/packages/types/src/types/announcement-summary.types.d.ts +16 -0
  68. package/dist/_types/packages/types/src/types/client-role.types.d.ts +6 -0
  69. package/dist/_types/packages/types/src/types/client.types.d.ts +46 -0
  70. package/dist/_types/packages/types/src/types/document-processing.types.d.ts +1 -0
  71. package/dist/_types/packages/types/src/types/notifications.types.d.ts +96 -0
  72. package/dist/_types/packages/types/src/types/system-navigation.types.d.ts +18 -0
  73. package/dist/_types/packages/ui/src/accessibility/index.d.ts +1 -0
  74. package/dist/_types/packages/ui/src/accessibility/useFocusTrap.d.ts +10 -0
  75. package/dist/_types/packages/ui/src/branding/BuildMeta.d.ts +6 -0
  76. package/dist/_types/packages/ui/src/branding/PublicFooter.d.ts +6 -0
  77. package/dist/_types/packages/ui/src/branding/index.d.ts +2 -0
  78. package/dist/_types/packages/ui/src/data-display/DataTablePagination.d.ts +12 -0
  79. package/dist/_types/packages/ui/src/data-display/DataTableShell.d.ts +35 -0
  80. package/dist/_types/packages/ui/src/data-display/RowActionsCell.d.ts +7 -0
  81. package/dist/_types/packages/ui/src/data-display/TableEmptyState.d.ts +8 -0
  82. package/dist/_types/packages/ui/src/data-display/TableStatusTag.d.ts +8 -0
  83. package/dist/_types/packages/ui/src/data-display/index.d.ts +5 -0
  84. package/dist/_types/packages/ui/src/feedback/comingsoon/ComingSoon.d.ts +7 -0
  85. package/dist/_types/packages/ui/src/feedback/emptystate/EmptyState.d.ts +15 -0
  86. package/dist/_types/packages/ui/src/feedback/errorstate/ErrorState.d.ts +14 -0
  87. package/dist/_types/packages/ui/src/feedback/errorstate/MicrofrontendErrorBoundary.d.ts +16 -0
  88. package/dist/_types/packages/ui/src/feedback/index.d.ts +5 -0
  89. package/dist/_types/packages/ui/src/feedback/loadingstate/LoadingState.d.ts +5 -0
  90. package/dist/_types/packages/ui/src/forms/CaseFormsGrid.d.ts +1 -0
  91. package/dist/_types/packages/ui/src/forms/index.d.ts +1 -0
  92. package/dist/_types/packages/ui/src/index.d.ts +16 -0
  93. package/dist/_types/packages/ui/src/layout/PageShell/PageShell.d.ts +9 -0
  94. package/dist/_types/packages/ui/src/layout/SectionCard/SectionCard.d.ts +11 -0
  95. package/dist/_types/packages/ui/src/layout/index.d.ts +2 -0
  96. package/dist/_types/packages/ui/src/navigation/appmenu/AppGridContent.d.ts +12 -0
  97. package/dist/_types/packages/ui/src/navigation/appmenu/AppMenu.component.d.ts +6 -0
  98. package/dist/_types/packages/ui/src/navigation/appmenu/AppMenuItem.component.d.ts +13 -0
  99. package/dist/_types/packages/ui/src/navigation/appmenu/appMenuGroups.d.ts +11 -0
  100. package/dist/_types/packages/ui/src/navigation/breadcrumbs/AppBreadcrumbs.d.ts +12 -0
  101. package/dist/_types/packages/ui/src/navigation/breadcrumbs/BreadcrumbBar.d.ts +10 -0
  102. package/dist/_types/packages/ui/src/navigation/index.d.ts +2 -0
  103. package/dist/_types/packages/ui/src/navigation/sidenav/ClientSideNav.d.ts +14 -0
  104. package/dist/_types/packages/ui/src/notifications/FormInlineAlert.d.ts +7 -0
  105. package/dist/_types/packages/ui/src/notifications/NotificationsPanel.d.ts +14 -0
  106. package/dist/_types/packages/ui/src/notifications/index.d.ts +4 -0
  107. package/dist/_types/packages/ui/src/notifications/toast/ToastProvider.d.ts +20 -0
  108. package/dist/_types/packages/ui/src/notifications/toast/useToast.d.ts +20 -0
  109. package/dist/_types/packages/ui/src/overlays/header-panel/ReusableHeaderPanel.d.ts +17 -0
  110. package/dist/_types/packages/ui/src/overlays/header-panel/header-panel.context.d.ts +23 -0
  111. package/dist/_types/packages/ui/src/overlays/index.d.ts +4 -0
  112. package/dist/_types/packages/ui/src/overlays/modal/ReusableModal.d.ts +20 -0
  113. package/dist/_types/packages/ui/src/overlays/modal/modal.context.d.ts +14 -0
  114. package/dist/_types/packages/ui/src/shell/ExternalAppHeader.d.ts +22 -0
  115. package/dist/_types/packages/ui/src/shell/PublicHeader.component.d.ts +8 -0
  116. package/dist/_types/packages/ui/src/shell/UserHeader.component.d.ts +17 -0
  117. package/dist/_types/packages/ui/src/shell/index.d.ts +5 -0
  118. package/dist/_types/packages/ui/src/theme/ThemeProvider.d.ts +8 -0
  119. package/dist/_types/packages/ui/src/theme/index.d.ts +1 -0
  120. package/dist/_types/packages/ui/src/utils/severity.d.ts +22 -0
  121. package/dist/_types/packages/ui/src/utils/status.d.ts +1 -0
  122. package/dist/api.d.ts +1 -0
  123. package/dist/api.js +38 -0
  124. package/dist/api.js.map +1 -0
  125. package/dist/assets/clients-DjhOVsFS.css +1 -0
  126. package/dist/assets/clients.api-DqQdrhve.js +169 -0
  127. package/dist/assets/clients.api-DqQdrhve.js.map +1 -0
  128. package/dist/assets/root.component-WxWhdR-e.js +1132 -0
  129. package/dist/assets/root.component-WxWhdR-e.js.map +1 -0
  130. package/dist/index.d.ts +1 -0
  131. package/dist/index.js +811 -0
  132. package/dist/index.js.map +1 -0
  133. package/dist/routes.d.ts +1 -0
  134. package/dist/routes.js +32 -0
  135. package/dist/routes.js.map +1 -0
  136. package/dist/single-spa.d.ts +1 -0
  137. package/dist/single-spa.js +32 -0
  138. package/dist/single-spa.js.map +1 -0
  139. package/dist/types.d.ts +1 -0
  140. package/dist/types.js +25 -0
  141. package/dist/types.js.map +1 -0
  142. package/package.json +64 -4
package/dist/index.js ADDED
@@ -0,0 +1,811 @@
1
+
2
+ const __mohCssFiles = [new URL("assets/clients-DjhOVsFS.css", import.meta.url).href];
3
+ const __mohInjectCss = () => {
4
+ if (typeof document === "undefined") {
5
+ return;
6
+ }
7
+
8
+ for (const file of __mohCssFiles) {
9
+ const href = file;
10
+ if (document.querySelector('link[data-moh-css="' + href + '"]')) {
11
+ continue;
12
+ }
13
+
14
+ const link = document.createElement("link");
15
+ link.rel = "stylesheet";
16
+ link.href = href;
17
+ link.setAttribute("data-moh-css", href);
18
+ document.head.appendChild(link);
19
+ }
20
+ };
21
+ queueMicrotask(__mohInjectCss);
22
+
23
+
24
+ import { a as at, b as rt, C as nt } from "./assets/root.component-WxWhdR-e.js";
25
+ import { c as ut, a as mt, u as pt, b as dt, d as ct, e as lt, f as yt, g as Rt, h as Tt, i as St, j as gt } from "./assets/clients.api-DqQdrhve.js";
26
+ import { clientsRoute as $t } from "./routes.js";
27
+ import { jsx as p, jsxs as c } from "react/jsx-runtime";
28
+ import { InlineLoading as v, Stack as l, Tile as S, MultiSelect as g, Button as U } from "@carbon/react";
29
+ import { useState as C, useMemo as $, useEffect as f } from "react";
30
+ import { baseApi as h } from "@moh-sso/api";
31
+ import { useToast as L } from "@moh-sso/ui";
32
+ const a = "/admin/rbac", P = h.injectEndpoints({
33
+ endpoints: (o) => ({
34
+ registerRbacSystem: o.mutation({
35
+ query: (e) => ({ url: `${a}/systems`, method: "POST", body: e }),
36
+ transformResponse: (e) => e.data,
37
+ invalidatesTags: [{ type: "RbacSystem", id: "LIST" }]
38
+ }),
39
+ listRbacSystems: o.query({
40
+ query: () => `${a}/systems`,
41
+ transformResponse: (e) => e.data,
42
+ providesTags: [{ type: "RbacSystem", id: "LIST" }]
43
+ }),
44
+ getRbacSystem: o.query({
45
+ query: (e) => `${a}/systems/${encodeURIComponent(e)}`,
46
+ transformResponse: (e) => e.data,
47
+ providesTags: (e, t, s) => [{ type: "RbacSystem", id: s }]
48
+ }),
49
+ updateRbacSystem: o.mutation({
50
+ query: ({ clientId: e, data: t }) => ({
51
+ url: `${a}/systems/${encodeURIComponent(e)}`,
52
+ method: "PUT",
53
+ body: t
54
+ }),
55
+ transformResponse: (e) => e.data,
56
+ invalidatesTags: (e, t, { clientId: s }) => [
57
+ { type: "RbacSystem", id: "LIST" },
58
+ { type: "RbacSystem", id: s }
59
+ ]
60
+ }),
61
+ transitionRbacSystem: o.mutation({
62
+ query: ({ clientId: e, ...t }) => ({
63
+ url: `${a}/systems/${encodeURIComponent(e)}/lifecycle`,
64
+ method: "POST",
65
+ body: t
66
+ }),
67
+ transformResponse: (e) => e.data,
68
+ invalidatesTags: (e, t, { clientId: s }) => [
69
+ { type: "RbacSystem", id: "LIST" },
70
+ { type: "RbacSystem", id: s },
71
+ { type: "RbacAudit", id: "LIST" }
72
+ ]
73
+ }),
74
+ listRbacPermissions: o.query({
75
+ query: () => `${a}/permissions`,
76
+ transformResponse: (e) => e.data,
77
+ providesTags: [{ type: "RbacPermission", id: "LIST" }]
78
+ }),
79
+ updateRbacPermissionMetadata: o.mutation({
80
+ query: ({ permissionKey: e, data: t }) => ({
81
+ url: `${a}/permissions/${encodeURIComponent(e)}`,
82
+ method: "PUT",
83
+ body: t
84
+ }),
85
+ transformResponse: (e) => e.data,
86
+ invalidatesTags: [{ type: "RbacPermission", id: "LIST" }]
87
+ }),
88
+ listSystemRoles: o.query({
89
+ query: (e) => `${a}/systems/${encodeURIComponent(e)}/roles`,
90
+ transformResponse: (e) => e.data,
91
+ providesTags: (e, t, s) => [{ type: "RbacSystem", id: s }]
92
+ }),
93
+ createSystemRole: o.mutation(
94
+ {
95
+ query: ({ clientId: e, data: t }) => ({
96
+ url: `${a}/systems/${encodeURIComponent(e)}/roles`,
97
+ method: "POST",
98
+ body: t
99
+ }),
100
+ transformResponse: (e) => e.data,
101
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
102
+ }
103
+ ),
104
+ updateSystemRole: o.mutation({
105
+ query: ({ roleId: e, data: t }) => ({
106
+ url: `${a}/roles/${encodeURIComponent(e)}`,
107
+ method: "PUT",
108
+ body: t
109
+ }),
110
+ transformResponse: (e) => e.data,
111
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
112
+ }),
113
+ deleteSystemRole: o.mutation({
114
+ query: ({ roleId: e }) => ({
115
+ url: `${a}/roles/${encodeURIComponent(e)}`,
116
+ method: "DELETE"
117
+ }),
118
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
119
+ }),
120
+ getRoleUsage: o.query({
121
+ query: (e) => `${a}/roles/${encodeURIComponent(e)}/usage`,
122
+ transformResponse: (e) => e.data
123
+ }),
124
+ copyRolePermissions: o.mutation({
125
+ query: ({ roleId: e, data: t }) => ({
126
+ url: `${a}/roles/${encodeURIComponent(e)}/copy-permissions`,
127
+ method: "POST",
128
+ body: t
129
+ }),
130
+ transformResponse: (e) => e.data,
131
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
132
+ }),
133
+ assignSystemRolePermission: o.mutation({
134
+ query: ({ roleId: e, data: t }) => ({
135
+ url: `${a}/roles/${encodeURIComponent(e)}/permissions`,
136
+ method: "POST",
137
+ body: t
138
+ }),
139
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
140
+ }),
141
+ removeSystemRolePermission: o.mutation({
142
+ query: ({ roleId: e, permissionKey: t }) => ({
143
+ url: `${a}/roles/${encodeURIComponent(e)}/permissions/${encodeURIComponent(t)}`,
144
+ method: "DELETE"
145
+ }),
146
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
147
+ }),
148
+ listRealmRolePermissions: o.query({
149
+ query: () => `${a}/realm-roles`,
150
+ transformResponse: (e) => e.data,
151
+ providesTags: [{ type: "RbacRealmRole", id: "LIST" }]
152
+ }),
153
+ listRbacGroups: o.query({
154
+ query: () => `${a}/groups`,
155
+ transformResponse: (e) => e.data,
156
+ providesTags: [{ type: "RbacGroup", id: "LIST" }]
157
+ }),
158
+ getRbacGroup: o.query({
159
+ query: (e) => `${a}/groups/${encodeURIComponent(e)}`,
160
+ transformResponse: (e) => e.data,
161
+ providesTags: (e, t, s) => [{ type: "RbacGroup", id: s }]
162
+ }),
163
+ listRbacGroupMembers: o.query({
164
+ query: (e) => `${a}/groups/${encodeURIComponent(e)}/members`,
165
+ transformResponse: (e) => e.data,
166
+ providesTags: (e, t, s) => [{ type: "RbacGroup", id: `${s}:members` }]
167
+ }),
168
+ upsertRbacGroup: o.mutation({
169
+ query: (e) => ({
170
+ url: `${a}/groups`,
171
+ method: "POST",
172
+ body: e
173
+ }),
174
+ transformResponse: (e) => e.data,
175
+ invalidatesTags: [
176
+ { type: "RbacGroup", id: "LIST" },
177
+ { type: "RbacAudit", id: "LIST" }
178
+ ]
179
+ }),
180
+ addRbacGroupMember: o.mutation({
181
+ query: ({ groupId: e, data: t }) => ({
182
+ url: `${a}/groups/${encodeURIComponent(e)}/members`,
183
+ method: "POST",
184
+ body: t
185
+ }),
186
+ transformResponse: (e) => e.data,
187
+ invalidatesTags: (e, t, { groupId: s, data: i }) => [
188
+ { type: "RbacGroup", id: s },
189
+ { type: "RbacGroup", id: `${s}:members` },
190
+ { type: "RbacGroup", id: "LIST" },
191
+ { type: "RbacAudit", id: "LIST" },
192
+ { type: "User", id: i.userId }
193
+ ]
194
+ }),
195
+ removeRbacGroupMember: o.mutation({
196
+ query: ({ groupId: e, userId: t }) => ({
197
+ url: `${a}/groups/${encodeURIComponent(e)}/members/${encodeURIComponent(t)}`,
198
+ method: "DELETE"
199
+ }),
200
+ transformResponse: (e) => e.data,
201
+ invalidatesTags: (e, t, { groupId: s, userId: i }) => [
202
+ { type: "RbacGroup", id: s },
203
+ { type: "RbacGroup", id: `${s}:members` },
204
+ { type: "RbacGroup", id: "LIST" },
205
+ { type: "RbacAudit", id: "LIST" },
206
+ { type: "User", id: i }
207
+ ]
208
+ }),
209
+ syncRbacGroupMembers: o.mutation({
210
+ query: (e) => ({
211
+ url: `${a}/groups/${encodeURIComponent(e)}/sync-members`,
212
+ method: "POST"
213
+ }),
214
+ transformResponse: (e) => e.data,
215
+ invalidatesTags: (e, t, s) => [
216
+ { type: "RbacGroup", id: s },
217
+ { type: "RbacGroup", id: `${s}:members` },
218
+ { type: "RbacGroup", id: "LIST" },
219
+ { type: "RbacAudit", id: "LIST" }
220
+ ]
221
+ }),
222
+ replaceRbacGroupMembers: o.mutation({
223
+ query: ({ groupId: e, data: t }) => ({
224
+ url: `${a}/groups/${encodeURIComponent(e)}/members`,
225
+ method: "PUT",
226
+ body: t
227
+ }),
228
+ invalidatesTags: (e, t, { groupId: s }) => [
229
+ { type: "RbacGroup", id: s },
230
+ { type: "RbacGroup", id: "LIST" },
231
+ { type: "RbacAudit", id: "LIST" }
232
+ ]
233
+ }),
234
+ assignGroupPermission: o.mutation(
235
+ {
236
+ query: ({ groupId: e, data: t }) => ({
237
+ url: `${a}/groups/${encodeURIComponent(e)}/permissions`,
238
+ method: "POST",
239
+ body: t
240
+ }),
241
+ invalidatesTags: (e, t, { groupId: s }) => [
242
+ { type: "RbacGroup", id: s },
243
+ { type: "RbacGroup", id: "LIST" }
244
+ ]
245
+ }
246
+ ),
247
+ removeGroupPermission: o.mutation({
248
+ query: ({ groupId: e, permissionKey: t }) => ({
249
+ url: `${a}/groups/${encodeURIComponent(e)}/permissions/${encodeURIComponent(t)}`,
250
+ method: "DELETE"
251
+ }),
252
+ invalidatesTags: (e, t, { groupId: s }) => [
253
+ { type: "RbacGroup", id: s },
254
+ { type: "RbacGroup", id: "LIST" }
255
+ ]
256
+ }),
257
+ assignGroupRealmRole: o.mutation({
258
+ query: ({ groupId: e, data: t }) => ({
259
+ url: `${a}/groups/${encodeURIComponent(e)}/realm-roles`,
260
+ method: "POST",
261
+ body: t
262
+ }),
263
+ invalidatesTags: (e, t, { groupId: s }) => [
264
+ { type: "RbacGroup", id: s },
265
+ { type: "RbacGroup", id: "LIST" }
266
+ ]
267
+ }),
268
+ removeGroupRealmRole: o.mutation({
269
+ query: ({ groupId: e, realmRole: t }) => ({
270
+ url: `${a}/groups/${encodeURIComponent(e)}/realm-roles/${encodeURIComponent(t)}`,
271
+ method: "DELETE"
272
+ }),
273
+ invalidatesTags: (e, t, { groupId: s }) => [
274
+ { type: "RbacGroup", id: s },
275
+ { type: "RbacGroup", id: "LIST" }
276
+ ]
277
+ }),
278
+ assignGroupSystemRole: o.mutation({
279
+ query: ({ groupId: e, data: t }) => ({
280
+ url: `${a}/groups/${encodeURIComponent(e)}/system-roles`,
281
+ method: "POST",
282
+ body: t
283
+ }),
284
+ invalidatesTags: (e, t, { groupId: s }) => [
285
+ { type: "RbacGroup", id: s },
286
+ { type: "RbacGroup", id: "LIST" }
287
+ ]
288
+ }),
289
+ removeGroupSystemRole: o.mutation({
290
+ query: ({ groupId: e, clientId: t, roleName: s }) => ({
291
+ url: `${a}/groups/${encodeURIComponent(e)}/system-roles/${encodeURIComponent(t)}/${encodeURIComponent(s)}`,
292
+ method: "DELETE"
293
+ }),
294
+ invalidatesTags: (e, t, { groupId: s }) => [
295
+ { type: "RbacGroup", id: s },
296
+ { type: "RbacGroup", id: "LIST" }
297
+ ]
298
+ }),
299
+ getRealmRoleUsage: o.query({
300
+ query: (e) => `${a}/realm-roles/${encodeURIComponent(e)}/usage`,
301
+ transformResponse: (e) => e.data
302
+ }),
303
+ assignRealmRolePermission: o.mutation({
304
+ query: ({ realmRole: e, data: t }) => ({
305
+ url: `${a}/realm-roles/${encodeURIComponent(e)}/permissions`,
306
+ method: "POST",
307
+ body: t
308
+ }),
309
+ invalidatesTags: [{ type: "RbacRealmRole", id: "LIST" }]
310
+ }),
311
+ removeRealmRolePermission: o.mutation(
312
+ {
313
+ query: ({ realmRole: e, permissionKey: t }) => ({
314
+ url: `${a}/realm-roles/${encodeURIComponent(e)}/permissions/${encodeURIComponent(t)}`,
315
+ method: "DELETE"
316
+ }),
317
+ invalidatesTags: [{ type: "RbacRealmRole", id: "LIST" }]
318
+ }
319
+ ),
320
+ addSystemAccessRole: o.mutation({
321
+ query: ({ clientId: e, data: t }) => ({
322
+ url: `${a}/systems/${encodeURIComponent(e)}/access-roles`,
323
+ method: "POST",
324
+ body: t
325
+ }),
326
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
327
+ }),
328
+ removeSystemAccessRole: o.mutation({
329
+ query: ({ clientId: e, roleName: t, force: s }) => ({
330
+ url: `${a}/systems/${encodeURIComponent(e)}/access-roles/${encodeURIComponent(t)}${s ? "?force=true" : ""}`,
331
+ method: "DELETE"
332
+ }),
333
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
334
+ }),
335
+ getRbacDrift: o.query({
336
+ query: () => `${a}/drift`,
337
+ transformResponse: (e) => e.data,
338
+ providesTags: [{ type: "RbacSystem", id: "DRIFT" }]
339
+ }),
340
+ previewRbacRealmExportDrift: o.mutation({
341
+ query: (e) => ({
342
+ url: `${a}/drift/realm-export`,
343
+ method: "POST",
344
+ body: e
345
+ }),
346
+ transformResponse: (e) => e.data
347
+ }),
348
+ previewRbacSync: o.mutation({
349
+ query: (e) => ({
350
+ url: `${a}/sync/preview`,
351
+ method: "POST",
352
+ body: e
353
+ }),
354
+ transformResponse: (e) => e.data
355
+ }),
356
+ applyRbacSync: o.mutation({
357
+ query: (e) => ({
358
+ url: `${a}/sync/apply`,
359
+ method: "POST",
360
+ body: e
361
+ }),
362
+ transformResponse: (e) => e.data,
363
+ invalidatesTags: [
364
+ { type: "RbacSystem", id: "LIST" },
365
+ { type: "RbacSystem", id: "DRIFT" },
366
+ { type: "RbacRealmRole", id: "LIST" }
367
+ ]
368
+ }),
369
+ getRbacEffectiveAccess: o.query({
370
+ query: ({ userId: e = "lookup", username: t, email: s }) => {
371
+ const i = new URLSearchParams();
372
+ t && i.set("username", t), s && i.set("email", s);
373
+ const d = i.toString();
374
+ return `${a}/effective-access/users/${encodeURIComponent(e)}${d ? `?${d}` : ""}`;
375
+ },
376
+ transformResponse: (e) => e.data
377
+ }),
378
+ getAssignableUserAccess: o.query({
379
+ query: () => `${a}/user-access/assignable`,
380
+ transformResponse: (e) => e.data,
381
+ providesTags: [{ type: "RbacSystem", id: "USER_ACCESS_ASSIGNABLE" }]
382
+ }),
383
+ getUserAccessProfile: o.query({
384
+ query: (e) => `${a}/user-access/users/${encodeURIComponent(e)}`,
385
+ transformResponse: (e) => e.data,
386
+ providesTags: (e, t, s) => [
387
+ { type: "RbacSystem", id: "USER_ACCESS_ASSIGNABLE" },
388
+ { type: "User", id: s },
389
+ { type: "UserClientRole", id: `LIST-${s}` }
390
+ ]
391
+ }),
392
+ updateUserAccess: o.mutation({
393
+ query: ({ userId: e, data: t }) => ({
394
+ url: `${a}/user-access/users/${encodeURIComponent(e)}`,
395
+ method: "PUT",
396
+ body: t
397
+ }),
398
+ transformResponse: (e) => e.data,
399
+ invalidatesTags: (e, t, { userId: s }) => [
400
+ { type: "User", id: s },
401
+ { type: "User", id: "LIST" },
402
+ { type: "UserClientRole", id: `LIST-${s}` },
403
+ { type: "RbacAudit", id: "LIST" }
404
+ ]
405
+ }),
406
+ previewRbacChange: o.mutation({
407
+ query: (e) => ({ url: `${a}/changes/preview`, method: "POST", body: e }),
408
+ transformResponse: (e) => e.data
409
+ }),
410
+ exportRbacSeed: o.query({
411
+ query: () => `${a}/export`,
412
+ transformResponse: (e) => e.data
413
+ }),
414
+ previewRbacImport: o.mutation({
415
+ query: (e) => ({ url: `${a}/import/preview`, method: "POST", body: e }),
416
+ transformResponse: (e) => e.data
417
+ }),
418
+ applyRbacImport: o.mutation({
419
+ query: (e) => ({ url: `${a}/import/apply`, method: "POST", body: e }),
420
+ transformResponse: (e) => e.data,
421
+ invalidatesTags: [{ type: "RbacSystem", id: "LIST" }]
422
+ }),
423
+ listRbacAuditEvents: o.query({
424
+ query: (e) => {
425
+ const t = new URLSearchParams();
426
+ e?.actor && t.set("actor", e.actor), e?.systemClientId && t.set("systemClientId", e.systemClientId), e?.roleName && t.set("roleName", e.roleName), e?.permissionKey && t.set("permissionKey", e.permissionKey), e?.action && t.set("action", e.action), e?.from && t.set("from", e.from), e?.to && t.set("to", e.to), e?.limit && t.set("limit", String(e.limit));
427
+ const s = t.toString();
428
+ return `${a}/audit${s ? `?${s}` : ""}`;
429
+ },
430
+ transformResponse: (e) => e.data,
431
+ providesTags: [{ type: "RbacAudit", id: "LIST" }]
432
+ }),
433
+ listRbacRoleTemplates: o.query({
434
+ query: () => `${a}/role-templates`,
435
+ transformResponse: (e) => e.data
436
+ }),
437
+ createRoleFromTemplate: o.mutation({
438
+ query: ({ clientId: e, data: t }) => ({
439
+ url: `${a}/systems/${encodeURIComponent(e)}/roles/from-template`,
440
+ method: "POST",
441
+ body: t
442
+ }),
443
+ transformResponse: (e) => e.data,
444
+ invalidatesTags: (e, t, { clientId: s }) => [{ type: "RbacSystem", id: s }]
445
+ }),
446
+ bulkAssignPermission: o.mutation({
447
+ query: (e) => ({ url: `${a}/bulk/assign-permission`, method: "POST", body: e }),
448
+ invalidatesTags: [{ type: "RbacSystem", id: "LIST" }]
449
+ }),
450
+ bulkRemovePermission: o.mutation({
451
+ query: (e) => ({ url: `${a}/bulk/remove-permission`, method: "POST", body: e }),
452
+ invalidatesTags: [{ type: "RbacSystem", id: "LIST" }]
453
+ }),
454
+ listAccessRequests: o.query({
455
+ query: () => `${a}/access-requests`,
456
+ transformResponse: (e) => e.data,
457
+ providesTags: [{ type: "RbacAccessRequest", id: "LIST" }]
458
+ }),
459
+ createAccessRequest: o.mutation({
460
+ query: (e) => ({ url: "/access-requests", method: "POST", body: e }),
461
+ transformResponse: (e) => e.data,
462
+ invalidatesTags: [{ type: "RbacAccessRequest", id: "LIST" }]
463
+ }),
464
+ decideAccessRequest: o.mutation({
465
+ query: ({ id: e, decision: t, data: s }) => ({
466
+ url: `${a}/access-requests/${encodeURIComponent(e)}/${t}`,
467
+ method: "POST",
468
+ body: s ?? {}
469
+ }),
470
+ transformResponse: (e) => e.data,
471
+ invalidatesTags: [
472
+ { type: "RbacAccessRequest", id: "LIST" },
473
+ { type: "RbacAudit", id: "LIST" }
474
+ ]
475
+ }),
476
+ listChangeRequests: o.query({
477
+ query: () => `${a}/change-requests`,
478
+ transformResponse: (e) => e.data,
479
+ providesTags: [{ type: "RbacChangeRequest", id: "LIST" }]
480
+ }),
481
+ createChangeRequest: o.mutation({
482
+ query: (e) => ({ url: `${a}/change-requests`, method: "POST", body: e }),
483
+ transformResponse: (e) => e.data,
484
+ invalidatesTags: [{ type: "RbacChangeRequest", id: "LIST" }]
485
+ }),
486
+ decideChangeRequest: o.mutation({
487
+ query: ({ id: e, decision: t, data: s }) => ({
488
+ url: `${a}/change-requests/${encodeURIComponent(e)}/${t}`,
489
+ method: "POST",
490
+ body: s ?? {}
491
+ }),
492
+ transformResponse: (e) => e.data,
493
+ invalidatesTags: [
494
+ { type: "RbacChangeRequest", id: "LIST" },
495
+ { type: "RbacAudit", id: "LIST" }
496
+ ]
497
+ }),
498
+ simulateRbacAccess: o.mutation({
499
+ query: (e) => ({ url: `${a}/simulate`, method: "POST", body: e }),
500
+ transformResponse: (e) => e.data
501
+ })
502
+ })
503
+ }), {
504
+ useApplyRbacSyncMutation: D,
505
+ useApplyRbacImportMutation: Q,
506
+ useAddSystemAccessRoleMutation: w,
507
+ useAddRbacGroupMemberMutation: k,
508
+ useAssignGroupPermissionMutation: N,
509
+ useAssignGroupRealmRoleMutation: F,
510
+ useAssignGroupSystemRoleMutation: B,
511
+ useAssignRealmRolePermissionMutation: j,
512
+ useAssignSystemRolePermissionMutation: K,
513
+ useBulkAssignPermissionMutation: z,
514
+ useBulkRemovePermissionMutation: J,
515
+ useCopyRolePermissionsMutation: V,
516
+ useCreateAccessRequestMutation: W,
517
+ useCreateChangeRequestMutation: X,
518
+ useCreateRoleFromTemplateMutation: Y,
519
+ useCreateSystemRoleMutation: Z,
520
+ useDecideAccessRequestMutation: ee,
521
+ useDecideChangeRequestMutation: te,
522
+ useDeleteSystemRoleMutation: se,
523
+ useExportRbacSeedQuery: oe,
524
+ useGetRbacDriftQuery: ae,
525
+ useGetRbacEffectiveAccessQuery: re,
526
+ useGetRbacGroupQuery: ne,
527
+ useGetAssignableUserAccessQuery: ie,
528
+ useGetUserAccessProfileQuery: _,
529
+ useGetRealmRoleUsageQuery: ue,
530
+ useGetRoleUsageQuery: me,
531
+ useListAccessRequestsQuery: pe,
532
+ useListChangeRequestsQuery: de,
533
+ useListRbacAuditEventsQuery: ce,
534
+ useGetRbacSystemQuery: le,
535
+ useListRbacPermissionsQuery: ye,
536
+ useListRbacGroupMembersQuery: Re,
537
+ useListRbacGroupsQuery: Te,
538
+ useListRbacRoleTemplatesQuery: Se,
539
+ useListRbacSystemsQuery: ge,
540
+ useListRealmRolePermissionsQuery: Ce,
541
+ useListSystemRolesQuery: $e,
542
+ usePreviewRbacChangeMutation: he,
543
+ usePreviewRbacImportMutation: be,
544
+ usePreviewRbacRealmExportDriftMutation: qe,
545
+ usePreviewRbacSyncMutation: Ie,
546
+ useRemoveGroupPermissionMutation: ve,
547
+ useRemoveRbacGroupMemberMutation: Ue,
548
+ useRemoveGroupRealmRoleMutation: fe,
549
+ useRemoveGroupSystemRoleMutation: Le,
550
+ useRemoveRealmRolePermissionMutation: Pe,
551
+ useRemoveSystemAccessRoleMutation: _e,
552
+ useRemoveSystemRolePermissionMutation: Ae,
553
+ useSimulateRbacAccessMutation: Ge,
554
+ useSyncRbacGroupMembersMutation: xe,
555
+ useUpdateUserAccessMutation: A,
556
+ useUpdateRbacPermissionMetadataMutation: Me,
557
+ useUpdateRbacSystemMutation: Ee,
558
+ useRegisterRbacSystemMutation: He,
559
+ useTransitionRbacSystemMutation: Oe,
560
+ useUpdateSystemRoleMutation: De,
561
+ useUpsertRbacGroupMutation: Qe,
562
+ useReplaceRbacGroupMembersMutation: we
563
+ } = P, n = "/admin/health-contexts", G = h.injectEndpoints({
564
+ endpoints: (o) => ({
565
+ listHealthContexts: o.query({
566
+ query: (e) => {
567
+ const t = new URLSearchParams();
568
+ e?.includeDisabled && t.set("includeDisabled", "true"), e?.type && t.set("type", e.type);
569
+ const s = t.toString();
570
+ return `${n}${s ? `?${s}` : ""}`;
571
+ },
572
+ transformResponse: (e) => e.data,
573
+ providesTags: [{ type: "HealthContext", id: "LIST" }]
574
+ }),
575
+ createHealthContext: o.mutation({
576
+ query: (e) => ({ url: n, method: "POST", body: e }),
577
+ transformResponse: (e) => e.data,
578
+ invalidatesTags: [{ type: "HealthContext", id: "LIST" }]
579
+ }),
580
+ updateHealthContext: o.mutation({
581
+ query: ({ contextId: e, body: t }) => ({
582
+ url: `${n}/${encodeURIComponent(e)}`,
583
+ method: "PUT",
584
+ body: t
585
+ }),
586
+ transformResponse: (e) => e.data,
587
+ invalidatesTags: (e, t, { contextId: s }) => [
588
+ { type: "HealthContext", id: "LIST" },
589
+ { type: "HealthContext", id: s }
590
+ ]
591
+ }),
592
+ deleteHealthContext: o.mutation({
593
+ query: (e) => ({
594
+ url: `${n}/${encodeURIComponent(e)}`,
595
+ method: "DELETE"
596
+ }),
597
+ invalidatesTags: [{ type: "HealthContext", id: "LIST" }]
598
+ }),
599
+ listHealthContextAliases: o.query({
600
+ query: (e) => `${n}/${encodeURIComponent(e)}/aliases`,
601
+ transformResponse: (e) => e.data,
602
+ providesTags: (e, t, s) => [
603
+ { type: "HealthContext", id: `${s}:aliases` }
604
+ ]
605
+ }),
606
+ upsertHealthContextAlias: o.mutation({
607
+ query: ({ contextId: e, ...t }) => ({
608
+ url: `${n}/${encodeURIComponent(e)}/aliases`,
609
+ method: "PUT",
610
+ body: t
611
+ }),
612
+ transformResponse: (e) => e.data,
613
+ invalidatesTags: (e, t, { contextId: s }) => [
614
+ { type: "HealthContext", id: `${s}:aliases` }
615
+ ]
616
+ }),
617
+ deleteHealthContextAlias: o.mutation({
618
+ query: ({ contextId: e, aliasId: t }) => ({
619
+ url: `${n}/${encodeURIComponent(e)}/aliases/${encodeURIComponent(t)}`,
620
+ method: "DELETE"
621
+ }),
622
+ invalidatesTags: (e, t, { contextId: s }) => [
623
+ { type: "HealthContext", id: `${s}:aliases` }
624
+ ]
625
+ }),
626
+ listUserHealthContexts: o.query({
627
+ query: (e) => `/admin/users/${encodeURIComponent(e)}/health-contexts`,
628
+ transformResponse: (e) => e.data,
629
+ providesTags: (e, t, s) => [
630
+ { type: "HealthContext", id: `user:${s}` }
631
+ ]
632
+ }),
633
+ replaceUserHealthContexts: o.mutation({
634
+ query: ({ targetId: e, assignments: t }) => ({
635
+ url: `/admin/users/${encodeURIComponent(e)}/health-contexts`,
636
+ method: "PUT",
637
+ body: { assignments: t }
638
+ }),
639
+ invalidatesTags: (e, t, { targetId: s }) => [
640
+ { type: "HealthContext", id: `user:${s}` }
641
+ ]
642
+ }),
643
+ listGroupHealthContexts: o.query({
644
+ query: (e) => `/admin/rbac/groups/${encodeURIComponent(e)}/health-contexts`,
645
+ transformResponse: (e) => e.data,
646
+ providesTags: (e, t, s) => [
647
+ { type: "HealthContext", id: `group:${s}` }
648
+ ]
649
+ }),
650
+ replaceGroupHealthContexts: o.mutation({
651
+ query: ({ targetId: e, assignments: t }) => ({
652
+ url: `/admin/rbac/groups/${encodeURIComponent(e)}/health-contexts`,
653
+ method: "PUT",
654
+ body: { assignments: t }
655
+ }),
656
+ invalidatesTags: (e, t, { targetId: s }) => [
657
+ { type: "HealthContext", id: `group:${s}` }
658
+ ]
659
+ }),
660
+ getHealthContextDrift: o.query({
661
+ query: () => `${n}/drift`,
662
+ transformResponse: (e) => e.data,
663
+ providesTags: [{ type: "HealthContext", id: "DRIFT" }]
664
+ }),
665
+ previewHealthContextSync: o.mutation({
666
+ query: (e) => ({
667
+ url: `${n}/sync/preview`,
668
+ method: "POST",
669
+ body: e
670
+ }),
671
+ transformResponse: (e) => e.data
672
+ }),
673
+ applyHealthContextSync: o.mutation({
674
+ query: (e) => ({
675
+ url: `${n}/sync/apply`,
676
+ method: "POST",
677
+ body: e
678
+ }),
679
+ transformResponse: (e) => e.data,
680
+ invalidatesTags: [
681
+ { type: "HealthContext", id: "DRIFT" },
682
+ { type: "HealthContext", id: "LIST" }
683
+ ]
684
+ })
685
+ })
686
+ }), {
687
+ useApplyHealthContextSyncMutation: ke,
688
+ useCreateHealthContextMutation: Ne,
689
+ useDeleteHealthContextAliasMutation: Fe,
690
+ useDeleteHealthContextMutation: Be,
691
+ useListGroupHealthContextsQuery: je,
692
+ useGetHealthContextDriftQuery: Ke,
693
+ useListHealthContextAliasesQuery: ze,
694
+ useListHealthContextsQuery: Je,
695
+ useListUserHealthContextsQuery: Ve,
696
+ useReplaceGroupHealthContextsMutation: We,
697
+ useReplaceUserHealthContextsMutation: Xe,
698
+ usePreviewHealthContextSyncMutation: Ye,
699
+ useUpdateHealthContextMutation: Ze,
700
+ useUpsertHealthContextAliasMutation: et
701
+ } = G;
702
+ function tt({ userId: o }) {
703
+ const e = L(), { data: t, isLoading: s } = _(o), [i, { isLoading: d }] = A(), [u, b] = C(null), [y, R] = C([]), m = $(
704
+ () => t?.assignable.systems.find((r) => r.clientId === u),
705
+ [t?.assignable.systems, u]
706
+ );
707
+ f(() => {
708
+ !u || !t || R(t.effectiveAccess.clientRoles[u] ?? []);
709
+ }, [u, t]);
710
+ const T = $(
711
+ () => (m?.roles ?? []).map((r) => ({
712
+ id: r.name,
713
+ text: r.displayName || r.name
714
+ })),
715
+ [m?.roles]
716
+ ), q = async () => {
717
+ if (!(!u || !t))
718
+ try {
719
+ await i({
720
+ userId: o,
721
+ data: {
722
+ realmRoles: t.effectiveAccess.realmRoles,
723
+ clientRoles: {
724
+ ...t.effectiveAccess.clientRoles,
725
+ [u]: y
726
+ }
727
+ }
728
+ }).unwrap(), e.success("Roles updated", "User client roles were updated successfully");
729
+ } catch {
730
+ e.error("Update failed", "Unable to update client roles");
731
+ }
732
+ };
733
+ return s ? /* @__PURE__ */ p(v, { description: "Loading client roles…" }) : /* @__PURE__ */ c(l, { gap: 5, children: [
734
+ /* @__PURE__ */ p(S, { children: /* @__PURE__ */ c(l, { gap: 4, children: [
735
+ /* @__PURE__ */ p("strong", { children: "Select application" }),
736
+ /* @__PURE__ */ p(
737
+ g,
738
+ {
739
+ id: "client-selector",
740
+ label: "",
741
+ hideLabel: !0,
742
+ titleText: "Application",
743
+ items: (t?.assignable.systems ?? []).map((r) => ({
744
+ id: r.clientId,
745
+ text: r.displayName || r.clientId
746
+ })),
747
+ itemToString: (r) => r?.text ?? "",
748
+ selectedItems: m ? [
749
+ {
750
+ id: m.clientId,
751
+ text: m.displayName || m.clientId
752
+ }
753
+ ] : [],
754
+ onChange: ({ selectedItems: r }) => {
755
+ b((r ?? [])[0]?.id ?? null);
756
+ }
757
+ }
758
+ )
759
+ ] }) }),
760
+ u && /* @__PURE__ */ p(S, { children: /* @__PURE__ */ c(l, { gap: 4, children: [
761
+ /* @__PURE__ */ c("strong", { children: [
762
+ "Roles for ",
763
+ m?.displayName || m?.clientId
764
+ ] }),
765
+ /* @__PURE__ */ p(
766
+ g,
767
+ {
768
+ id: "client-roles",
769
+ label: "",
770
+ hideLabel: !0,
771
+ titleText: "Client roles",
772
+ items: T,
773
+ itemToString: (r) => r?.text ?? "",
774
+ selectedItems: T.filter((r) => y.includes(r.id)),
775
+ onChange: ({ selectedItems: r }) => {
776
+ R((r ?? []).map((I) => I.id));
777
+ }
778
+ }
779
+ ),
780
+ /* @__PURE__ */ p(
781
+ U,
782
+ {
783
+ kind: "primary",
784
+ size: "sm",
785
+ disabled: d || !u,
786
+ onClick: q,
787
+ children: d ? "Saving…" : "Save roles"
788
+ }
789
+ )
790
+ ] }) })
791
+ ] });
792
+ }
793
+ export {
794
+ at as ClientFormPanel,
795
+ rt as ClientsPage,
796
+ nt as ClientsRoot,
797
+ tt as UserClientRolesPanel,
798
+ ut as clientRolesApi,
799
+ mt as clientsApi,
800
+ $t as clientsRoute,
801
+ pt as useCreateClientMutation,
802
+ dt as useCreateClientRoleMutation,
803
+ ct as useDeleteClientMutation,
804
+ lt as useDeleteClientRoleMutation,
805
+ yt as useGetClientQuery,
806
+ Rt as useListClientRolesQuery,
807
+ Tt as useListClientsQuery,
808
+ St as useToggleClientMutation,
809
+ gt as useUpdateClientMutation
810
+ };
811
+ //# sourceMappingURL=index.js.map