authula 0.3.4 → 0.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.
- package/README.md +219 -39
- package/dist/{fetch-B4O1awi2.js → fetch-CDNq42ed.js} +6 -2
- package/dist/fetch-CDNq42ed.js.map +1 -0
- package/dist/{fetch-q98rEoAp.cjs → fetch-DBol2Fc9.cjs} +6 -2
- package/dist/fetch-DBol2Fc9.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/plugins/index.cjs +263 -150
- package/dist/plugins/index.cjs.map +1 -1
- package/dist/plugins/index.d.cts +367 -211
- package/dist/plugins/index.d.ts +367 -211
- package/dist/plugins/index.js +263 -151
- package/dist/plugins/index.js.map +1 -1
- package/dist/{sdk-BWoai6MP.d.ts → sdk-C0cWDM6F.d.ts} +5 -1
- package/dist/{sdk-DV73pbRH.d.cts → sdk-CONwA-47.d.cts} +5 -1
- package/package.json +1 -1
- package/dist/fetch-B4O1awi2.js.map +0 -1
- package/dist/fetch-q98rEoAp.cjs.map +0 -1
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,6 +1,215 @@
|
|
|
1
|
-
import { h as User, l as Plugin, m as Session, p as Account, t as ClientWithPlugins, u as AuthulaClient } from "../sdk-
|
|
1
|
+
import { h as User, l as Plugin, m as Session, p as Account, t as ClientWithPlugins, u as AuthulaClient } from "../sdk-C0cWDM6F.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
|
+
//#region src/plugins/access-control/types.d.ts
|
|
5
|
+
declare const roleSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
weight: z.ZodNumber;
|
|
10
|
+
isSystem: z.ZodBoolean;
|
|
11
|
+
createdAt: z.ZodISODateTime;
|
|
12
|
+
updatedAt: z.ZodISODateTime;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
type Role = z.infer<typeof roleSchema>;
|
|
15
|
+
declare const permissionSchema: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
key: z.ZodString;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
isSystem: z.ZodBoolean;
|
|
20
|
+
createdAt: z.ZodISODateTime;
|
|
21
|
+
updatedAt: z.ZodISODateTime;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
type Permission = z.infer<typeof permissionSchema>;
|
|
24
|
+
declare const permissionGrantSourceSchema: z.ZodObject<{
|
|
25
|
+
roleId: z.ZodString;
|
|
26
|
+
roleName: z.ZodString;
|
|
27
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
type PermissionGrantSource = z.infer<typeof permissionGrantSourceSchema>;
|
|
31
|
+
declare const userPermissionInfoSchema: z.ZodObject<{
|
|
32
|
+
permissionId: z.ZodString;
|
|
33
|
+
permissionKey: z.ZodString;
|
|
34
|
+
permissionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
37
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
|
+
roleId: z.ZodString;
|
|
39
|
+
roleName: z.ZodString;
|
|
40
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
type UserPermissionInfo = z.infer<typeof userPermissionInfoSchema>;
|
|
45
|
+
declare const userRoleInfoSchema: z.ZodObject<{
|
|
46
|
+
roleId: z.ZodString;
|
|
47
|
+
roleName: z.ZodString;
|
|
48
|
+
roleDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
assignedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
assignedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
51
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
type UserRoleInfo = z.infer<typeof userRoleInfoSchema>;
|
|
54
|
+
declare const roleDetailsSchema: z.ZodObject<{
|
|
55
|
+
role: z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
|
+
weight: z.ZodNumber;
|
|
60
|
+
isSystem: z.ZodBoolean;
|
|
61
|
+
createdAt: z.ZodISODateTime;
|
|
62
|
+
updatedAt: z.ZodISODateTime;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
65
|
+
permissionId: z.ZodString;
|
|
66
|
+
permissionKey: z.ZodString;
|
|
67
|
+
permissionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
70
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
71
|
+
roleId: z.ZodString;
|
|
72
|
+
roleName: z.ZodString;
|
|
73
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
type RoleDetails = z.infer<typeof roleDetailsSchema>;
|
|
79
|
+
declare const getUserPermissionsResponseSchema: z.ZodObject<{
|
|
80
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
81
|
+
permissionId: z.ZodString;
|
|
82
|
+
permissionKey: z.ZodString;
|
|
83
|
+
permissionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
86
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
|
+
roleId: z.ZodString;
|
|
88
|
+
roleName: z.ZodString;
|
|
89
|
+
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
91
|
+
}, z.core.$strip>>>;
|
|
92
|
+
}, z.core.$strip>>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
type GetUserPermissionsResponse = z.infer<typeof getUserPermissionsResponseSchema>;
|
|
95
|
+
declare const checkUserPermissionsResponseSchema: z.ZodObject<{
|
|
96
|
+
hasPermissions: z.ZodBoolean;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
type CheckUserPermissionsResponse = z.infer<typeof checkUserPermissionsResponseSchema>;
|
|
99
|
+
type CreateRoleRequest = {
|
|
100
|
+
name: string;
|
|
101
|
+
description?: string | null;
|
|
102
|
+
weight?: number;
|
|
103
|
+
isSystem?: boolean;
|
|
104
|
+
};
|
|
105
|
+
type CreateRoleResponse = {
|
|
106
|
+
role: Role;
|
|
107
|
+
};
|
|
108
|
+
type UpdateRoleRequest = {
|
|
109
|
+
name?: string | null;
|
|
110
|
+
description?: string | null;
|
|
111
|
+
weight?: number;
|
|
112
|
+
};
|
|
113
|
+
type UpdateRoleResponse = {
|
|
114
|
+
role: Role;
|
|
115
|
+
};
|
|
116
|
+
type DeleteRoleResponse = {
|
|
117
|
+
message: string;
|
|
118
|
+
};
|
|
119
|
+
type CreatePermissionRequest = {
|
|
120
|
+
key: string;
|
|
121
|
+
description?: string | null;
|
|
122
|
+
isSystem?: boolean;
|
|
123
|
+
};
|
|
124
|
+
type CreatePermissionResponse = {
|
|
125
|
+
permission: Permission;
|
|
126
|
+
};
|
|
127
|
+
type UpdatePermissionRequest = {
|
|
128
|
+
description?: string | null;
|
|
129
|
+
};
|
|
130
|
+
type UpdatePermissionResponse = {
|
|
131
|
+
permission: Permission;
|
|
132
|
+
};
|
|
133
|
+
type DeletePermissionResponse = {
|
|
134
|
+
message: string;
|
|
135
|
+
};
|
|
136
|
+
type AddRolePermissionRequest = {
|
|
137
|
+
permissionId: string;
|
|
138
|
+
};
|
|
139
|
+
type AddRolePermissionResponse = {
|
|
140
|
+
message: string;
|
|
141
|
+
};
|
|
142
|
+
type ReplaceRolePermissionsRequest = {
|
|
143
|
+
permissionIds: string[];
|
|
144
|
+
};
|
|
145
|
+
type ReplaceRolePermissionResponse = {
|
|
146
|
+
message: string;
|
|
147
|
+
};
|
|
148
|
+
type RemoveRolePermissionResponse = {
|
|
149
|
+
message: string;
|
|
150
|
+
};
|
|
151
|
+
type AssignUserRoleRequest = {
|
|
152
|
+
roleId: string;
|
|
153
|
+
expiresAt?: string | null;
|
|
154
|
+
};
|
|
155
|
+
type ReplaceUserRolesRequest = {
|
|
156
|
+
roleIds: string[];
|
|
157
|
+
};
|
|
158
|
+
type ReplaceUserRolesResponse = {
|
|
159
|
+
message: string;
|
|
160
|
+
};
|
|
161
|
+
type AssignUserRoleResponse = {
|
|
162
|
+
message: string;
|
|
163
|
+
};
|
|
164
|
+
type RemoveUserRoleResponse = {
|
|
165
|
+
message: string;
|
|
166
|
+
};
|
|
167
|
+
type CheckUserPermissionsRequest = {
|
|
168
|
+
permissionKeys: string[];
|
|
169
|
+
};
|
|
170
|
+
type UserWithPermissions = {
|
|
171
|
+
user: User;
|
|
172
|
+
permissions: UserPermissionInfo[];
|
|
173
|
+
};
|
|
174
|
+
type UserAuthorizationProfile = {
|
|
175
|
+
user: User;
|
|
176
|
+
roles: UserRoleInfo[];
|
|
177
|
+
permissions: UserPermissionInfo[];
|
|
178
|
+
};
|
|
179
|
+
type UserWithRoles = {
|
|
180
|
+
user: User;
|
|
181
|
+
roles: UserRoleInfo[];
|
|
182
|
+
};
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/plugins/access-control/plugin.d.ts
|
|
185
|
+
declare class AccessControlPlugin implements Plugin {
|
|
186
|
+
readonly id = "accessControl";
|
|
187
|
+
constructor();
|
|
188
|
+
init(client: AuthulaClient): {
|
|
189
|
+
createRole: (data: CreateRoleRequest) => Promise<CreateRoleResponse>;
|
|
190
|
+
getAllRoles: () => Promise<Role[]>;
|
|
191
|
+
getRoleByName: (roleName: string) => Promise<Role>;
|
|
192
|
+
getRoleById: (roleId: string) => Promise<RoleDetails>;
|
|
193
|
+
updateRole: (roleId: string, data: UpdateRoleRequest) => Promise<UpdateRoleResponse>;
|
|
194
|
+
deleteRole: (roleId: string) => Promise<DeleteRoleResponse>;
|
|
195
|
+
createPermission: (data: CreatePermissionRequest) => Promise<CreatePermissionResponse>;
|
|
196
|
+
getAllPermissions: () => Promise<Permission[]>;
|
|
197
|
+
getPermissionById: (permissionId: string) => Promise<Permission>;
|
|
198
|
+
updatePermission: (permissionId: string, data: UpdatePermissionRequest) => Promise<UpdatePermissionResponse>;
|
|
199
|
+
deletePermission: (permissionId: string) => Promise<DeletePermissionResponse>;
|
|
200
|
+
addRolePermission: (roleId: string, data: AddRolePermissionRequest) => Promise<AddRolePermissionResponse>;
|
|
201
|
+
getRolePermissions: (roleId: string) => Promise<UserPermissionInfo[]>;
|
|
202
|
+
replaceRolePermissions: (roleId: string, data: ReplaceRolePermissionsRequest) => Promise<ReplaceRolePermissionResponse>;
|
|
203
|
+
removeRolePermission: (roleId: string, permissionId: string) => Promise<RemoveRolePermissionResponse>;
|
|
204
|
+
getUserRoles: (userId: string) => Promise<UserRoleInfo[]>;
|
|
205
|
+
assignUserRole: (userId: string, data: AssignUserRoleRequest) => Promise<AssignUserRoleResponse>;
|
|
206
|
+
replaceUserRoles: (userId: string, data: ReplaceUserRolesRequest) => Promise<ReplaceUserRolesResponse>;
|
|
207
|
+
removeUserRole: (userId: string, roleId: string) => Promise<RemoveUserRoleResponse>;
|
|
208
|
+
getUserPermissions: (userId: string) => Promise<GetUserPermissionsResponse>;
|
|
209
|
+
checkUserPermissions: (userId: string, data: CheckUserPermissionsRequest) => Promise<CheckUserPermissionsResponse>;
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
//#endregion
|
|
4
213
|
//#region src/plugins/admin/types.d.ts
|
|
5
214
|
declare const adminUserStateSchema: z.ZodObject<{
|
|
6
215
|
userId: z.ZodString;
|
|
@@ -250,215 +459,6 @@ declare class AdminPlugin implements Plugin {
|
|
|
250
459
|
};
|
|
251
460
|
}
|
|
252
461
|
//#endregion
|
|
253
|
-
//#region src/plugins/access-control/types.d.ts
|
|
254
|
-
declare const roleSchema: z.ZodObject<{
|
|
255
|
-
id: z.ZodString;
|
|
256
|
-
name: z.ZodString;
|
|
257
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
258
|
-
weight: z.ZodNumber;
|
|
259
|
-
isSystem: z.ZodBoolean;
|
|
260
|
-
createdAt: z.ZodISODateTime;
|
|
261
|
-
updatedAt: z.ZodISODateTime;
|
|
262
|
-
}, z.core.$strip>;
|
|
263
|
-
type Role = z.infer<typeof roleSchema>;
|
|
264
|
-
declare const permissionSchema: z.ZodObject<{
|
|
265
|
-
id: z.ZodString;
|
|
266
|
-
key: z.ZodString;
|
|
267
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
268
|
-
isSystem: z.ZodBoolean;
|
|
269
|
-
createdAt: z.ZodISODateTime;
|
|
270
|
-
updatedAt: z.ZodISODateTime;
|
|
271
|
-
}, z.core.$strip>;
|
|
272
|
-
type Permission = z.infer<typeof permissionSchema>;
|
|
273
|
-
declare const permissionGrantSourceSchema: z.ZodObject<{
|
|
274
|
-
roleId: z.ZodString;
|
|
275
|
-
roleName: z.ZodString;
|
|
276
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
277
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
278
|
-
}, z.core.$strip>;
|
|
279
|
-
type PermissionGrantSource = z.infer<typeof permissionGrantSourceSchema>;
|
|
280
|
-
declare const userPermissionInfoSchema: z.ZodObject<{
|
|
281
|
-
permissionId: z.ZodString;
|
|
282
|
-
permissionKey: z.ZodString;
|
|
283
|
-
permissionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
286
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
287
|
-
roleId: z.ZodString;
|
|
288
|
-
roleName: z.ZodString;
|
|
289
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
290
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
291
|
-
}, z.core.$strip>>>;
|
|
292
|
-
}, z.core.$strip>;
|
|
293
|
-
type UserPermissionInfo = z.infer<typeof userPermissionInfoSchema>;
|
|
294
|
-
declare const userRoleInfoSchema: z.ZodObject<{
|
|
295
|
-
roleId: z.ZodString;
|
|
296
|
-
roleName: z.ZodString;
|
|
297
|
-
roleDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
298
|
-
assignedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
299
|
-
assignedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
300
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
301
|
-
}, z.core.$strip>;
|
|
302
|
-
type UserRoleInfo = z.infer<typeof userRoleInfoSchema>;
|
|
303
|
-
declare const roleDetailsSchema: z.ZodObject<{
|
|
304
|
-
role: z.ZodObject<{
|
|
305
|
-
id: z.ZodString;
|
|
306
|
-
name: z.ZodString;
|
|
307
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
308
|
-
weight: z.ZodNumber;
|
|
309
|
-
isSystem: z.ZodBoolean;
|
|
310
|
-
createdAt: z.ZodISODateTime;
|
|
311
|
-
updatedAt: z.ZodISODateTime;
|
|
312
|
-
}, z.core.$strip>;
|
|
313
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
314
|
-
permissionId: z.ZodString;
|
|
315
|
-
permissionKey: z.ZodString;
|
|
316
|
-
permissionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
319
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
320
|
-
roleId: z.ZodString;
|
|
321
|
-
roleName: z.ZodString;
|
|
322
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
323
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
324
|
-
}, z.core.$strip>>>;
|
|
325
|
-
}, z.core.$strip>>;
|
|
326
|
-
}, z.core.$strip>;
|
|
327
|
-
type RoleDetails = z.infer<typeof roleDetailsSchema>;
|
|
328
|
-
declare const getUserPermissionsResponseSchema: z.ZodObject<{
|
|
329
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
330
|
-
permissionId: z.ZodString;
|
|
331
|
-
permissionKey: z.ZodString;
|
|
332
|
-
permissionDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
335
|
-
sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
336
|
-
roleId: z.ZodString;
|
|
337
|
-
roleName: z.ZodString;
|
|
338
|
-
grantedByUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
|
-
grantedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
340
|
-
}, z.core.$strip>>>;
|
|
341
|
-
}, z.core.$strip>>;
|
|
342
|
-
}, z.core.$strip>;
|
|
343
|
-
type GetUserPermissionsResponse = z.infer<typeof getUserPermissionsResponseSchema>;
|
|
344
|
-
declare const checkUserPermissionsResponseSchema: z.ZodObject<{
|
|
345
|
-
hasPermissions: z.ZodBoolean;
|
|
346
|
-
}, z.core.$strip>;
|
|
347
|
-
type CheckUserPermissionsResponse = z.infer<typeof checkUserPermissionsResponseSchema>;
|
|
348
|
-
type CreateRoleRequest = {
|
|
349
|
-
name: string;
|
|
350
|
-
description?: string | null;
|
|
351
|
-
weight?: number;
|
|
352
|
-
isSystem?: boolean;
|
|
353
|
-
};
|
|
354
|
-
type CreateRoleResponse = {
|
|
355
|
-
role: Role;
|
|
356
|
-
};
|
|
357
|
-
type UpdateRoleRequest = {
|
|
358
|
-
name?: string | null;
|
|
359
|
-
description?: string | null;
|
|
360
|
-
weight?: number;
|
|
361
|
-
};
|
|
362
|
-
type UpdateRoleResponse = {
|
|
363
|
-
role: Role;
|
|
364
|
-
};
|
|
365
|
-
type DeleteRoleResponse = {
|
|
366
|
-
message: string;
|
|
367
|
-
};
|
|
368
|
-
type CreatePermissionRequest = {
|
|
369
|
-
key: string;
|
|
370
|
-
description?: string | null;
|
|
371
|
-
isSystem?: boolean;
|
|
372
|
-
};
|
|
373
|
-
type CreatePermissionResponse = {
|
|
374
|
-
permission: Permission;
|
|
375
|
-
};
|
|
376
|
-
type UpdatePermissionRequest = {
|
|
377
|
-
description?: string | null;
|
|
378
|
-
};
|
|
379
|
-
type UpdatePermissionResponse = {
|
|
380
|
-
permission: Permission;
|
|
381
|
-
};
|
|
382
|
-
type DeletePermissionResponse = {
|
|
383
|
-
message: string;
|
|
384
|
-
};
|
|
385
|
-
type AddRolePermissionRequest = {
|
|
386
|
-
permissionId: string;
|
|
387
|
-
};
|
|
388
|
-
type AddRolePermissionResponse = {
|
|
389
|
-
message: string;
|
|
390
|
-
};
|
|
391
|
-
type ReplaceRolePermissionsRequest = {
|
|
392
|
-
permissionIds: string[];
|
|
393
|
-
};
|
|
394
|
-
type ReplaceRolePermissionResponse = {
|
|
395
|
-
message: string;
|
|
396
|
-
};
|
|
397
|
-
type RemoveRolePermissionResponse = {
|
|
398
|
-
message: string;
|
|
399
|
-
};
|
|
400
|
-
type AssignUserRoleRequest = {
|
|
401
|
-
roleId: string;
|
|
402
|
-
expiresAt?: string | null;
|
|
403
|
-
};
|
|
404
|
-
type ReplaceUserRolesRequest = {
|
|
405
|
-
roleIds: string[];
|
|
406
|
-
};
|
|
407
|
-
type ReplaceUserRolesResponse = {
|
|
408
|
-
message: string;
|
|
409
|
-
};
|
|
410
|
-
type AssignUserRoleResponse = {
|
|
411
|
-
message: string;
|
|
412
|
-
};
|
|
413
|
-
type RemoveUserRoleResponse = {
|
|
414
|
-
message: string;
|
|
415
|
-
};
|
|
416
|
-
type CheckUserPermissionsRequest = {
|
|
417
|
-
permissionKeys: string[];
|
|
418
|
-
};
|
|
419
|
-
type UserWithPermissions = {
|
|
420
|
-
user: User;
|
|
421
|
-
permissions: UserPermissionInfo[];
|
|
422
|
-
};
|
|
423
|
-
type UserAuthorizationProfile = {
|
|
424
|
-
user: User;
|
|
425
|
-
roles: UserRoleInfo[];
|
|
426
|
-
permissions: UserPermissionInfo[];
|
|
427
|
-
};
|
|
428
|
-
type UserWithRoles = {
|
|
429
|
-
user: User;
|
|
430
|
-
roles: UserRoleInfo[];
|
|
431
|
-
};
|
|
432
|
-
//#endregion
|
|
433
|
-
//#region src/plugins/access-control/plugin.d.ts
|
|
434
|
-
declare class AccessControlPlugin implements Plugin {
|
|
435
|
-
readonly id = "accessControl";
|
|
436
|
-
constructor();
|
|
437
|
-
init(client: AuthulaClient): {
|
|
438
|
-
createRole: (data: CreateRoleRequest) => Promise<CreateRoleResponse>;
|
|
439
|
-
getAllRoles: () => Promise<Role[]>;
|
|
440
|
-
getRoleByName: (roleName: string) => Promise<Role>;
|
|
441
|
-
getRoleById: (roleId: string) => Promise<RoleDetails>;
|
|
442
|
-
updateRole: (roleId: string, data: UpdateRoleRequest) => Promise<UpdateRoleResponse>;
|
|
443
|
-
deleteRole: (roleId: string) => Promise<DeleteRoleResponse>;
|
|
444
|
-
createPermission: (data: CreatePermissionRequest) => Promise<CreatePermissionResponse>;
|
|
445
|
-
getAllPermissions: () => Promise<Permission[]>;
|
|
446
|
-
getPermissionById: (permissionId: string) => Promise<Permission>;
|
|
447
|
-
updatePermission: (permissionId: string, data: UpdatePermissionRequest) => Promise<UpdatePermissionResponse>;
|
|
448
|
-
deletePermission: (permissionId: string) => Promise<DeletePermissionResponse>;
|
|
449
|
-
addRolePermission: (roleId: string, data: AddRolePermissionRequest) => Promise<AddRolePermissionResponse>;
|
|
450
|
-
getRolePermissions: (roleId: string) => Promise<UserPermissionInfo[]>;
|
|
451
|
-
replaceRolePermissions: (roleId: string, data: ReplaceRolePermissionsRequest) => Promise<ReplaceRolePermissionResponse>;
|
|
452
|
-
removeRolePermission: (roleId: string, permissionId: string) => Promise<RemoveRolePermissionResponse>;
|
|
453
|
-
getUserRoles: (userId: string) => Promise<UserRoleInfo[]>;
|
|
454
|
-
assignUserRole: (userId: string, data: AssignUserRoleRequest) => Promise<AssignUserRoleResponse>;
|
|
455
|
-
replaceUserRoles: (userId: string, data: ReplaceUserRolesRequest) => Promise<ReplaceUserRolesResponse>;
|
|
456
|
-
removeUserRole: (userId: string, roleId: string) => Promise<RemoveUserRoleResponse>;
|
|
457
|
-
getUserPermissions: (userId: string) => Promise<GetUserPermissionsResponse>;
|
|
458
|
-
checkUserPermissions: (userId: string, data: CheckUserPermissionsRequest) => Promise<CheckUserPermissionsResponse>;
|
|
459
|
-
};
|
|
460
|
-
}
|
|
461
|
-
//#endregion
|
|
462
462
|
//#region src/plugins/bearer/types.d.ts
|
|
463
463
|
type BearerPluginOptions = {
|
|
464
464
|
headerName?: string;
|
|
@@ -622,6 +622,162 @@ declare class OAuth2Plugin implements Plugin {
|
|
|
622
622
|
};
|
|
623
623
|
}
|
|
624
624
|
//#endregion
|
|
625
|
+
//#region src/plugins/organizations/types.d.ts
|
|
626
|
+
type Organization = {
|
|
627
|
+
id: string;
|
|
628
|
+
ownerId: string;
|
|
629
|
+
name: string;
|
|
630
|
+
slug: string;
|
|
631
|
+
logo: string | null;
|
|
632
|
+
metadata: Record<string, unknown> | null;
|
|
633
|
+
createdAt: string;
|
|
634
|
+
updatedAt: string;
|
|
635
|
+
};
|
|
636
|
+
type OrganizationInvitationStatus = "pending" | "accepted" | "rejected" | "revoked" | "expired";
|
|
637
|
+
type OrganizationInvitation = {
|
|
638
|
+
id: string;
|
|
639
|
+
email: string;
|
|
640
|
+
inviterId: string;
|
|
641
|
+
organizationId: string;
|
|
642
|
+
role: string;
|
|
643
|
+
status: OrganizationInvitationStatus;
|
|
644
|
+
expiresAt: string;
|
|
645
|
+
createdAt: string;
|
|
646
|
+
updatedAt: string;
|
|
647
|
+
};
|
|
648
|
+
type OrganizationMember = {
|
|
649
|
+
id: string;
|
|
650
|
+
organizationId: string;
|
|
651
|
+
userId: string;
|
|
652
|
+
role: string;
|
|
653
|
+
createdAt: string;
|
|
654
|
+
updatedAt: string;
|
|
655
|
+
};
|
|
656
|
+
type OrganizationTeam = {
|
|
657
|
+
id: string;
|
|
658
|
+
organizationId: string;
|
|
659
|
+
name: string;
|
|
660
|
+
slug: string;
|
|
661
|
+
description: string | null;
|
|
662
|
+
metadata: Record<string, unknown> | null;
|
|
663
|
+
createdAt: string;
|
|
664
|
+
updatedAt: string;
|
|
665
|
+
};
|
|
666
|
+
type OrganizationTeamMember = {
|
|
667
|
+
id: string;
|
|
668
|
+
teamId: string;
|
|
669
|
+
memberId: string;
|
|
670
|
+
createdAt: string;
|
|
671
|
+
};
|
|
672
|
+
type CreateOrganizationRequest = {
|
|
673
|
+
name: string;
|
|
674
|
+
role: string;
|
|
675
|
+
slug?: string | null;
|
|
676
|
+
logo?: string | null;
|
|
677
|
+
metadata?: Record<string, unknown> | null;
|
|
678
|
+
};
|
|
679
|
+
type CreateOrganizationResponse = Organization;
|
|
680
|
+
type GetAllOrganizationsResponse = Array<Organization>;
|
|
681
|
+
type GetOrganizationByIdResponse = Organization;
|
|
682
|
+
type UpdateOrganizationRequest = {
|
|
683
|
+
name: string;
|
|
684
|
+
slug?: string | null;
|
|
685
|
+
logo?: string | null;
|
|
686
|
+
metadata?: Record<string, unknown> | null;
|
|
687
|
+
};
|
|
688
|
+
type UpdateOrganizationResponse = Organization;
|
|
689
|
+
type DeleteOrganizationResponse = {
|
|
690
|
+
message: string;
|
|
691
|
+
};
|
|
692
|
+
type AddOrganizationMemberRequest = {
|
|
693
|
+
userId: string;
|
|
694
|
+
role: string;
|
|
695
|
+
};
|
|
696
|
+
type AddOrganizationMemberResponse = OrganizationMember;
|
|
697
|
+
type GetOrganizationMembersResponse = Array<OrganizationMember>;
|
|
698
|
+
type GetOrganizationMemberResponse = OrganizationMember;
|
|
699
|
+
type UpdateOrganizationMemberRequest = {
|
|
700
|
+
role: string;
|
|
701
|
+
};
|
|
702
|
+
type UpdateOrganizationMemberResponse = OrganizationMember;
|
|
703
|
+
type DeleteOrganizationMemberResponse = {
|
|
704
|
+
message: string;
|
|
705
|
+
};
|
|
706
|
+
type CreateOrganizationTeamRequest = {
|
|
707
|
+
name: string;
|
|
708
|
+
slug?: string | null;
|
|
709
|
+
description?: string | null;
|
|
710
|
+
metadata?: Record<string, unknown> | null;
|
|
711
|
+
};
|
|
712
|
+
type CreateOrganizationTeamResponse = OrganizationTeam;
|
|
713
|
+
type GetAllOrganizationTeamsResponse = Array<OrganizationTeam>;
|
|
714
|
+
type GetOrganizationTeamResponse = OrganizationTeam;
|
|
715
|
+
type UpdateOrganizationTeamRequest = {
|
|
716
|
+
name: string;
|
|
717
|
+
slug?: string | null;
|
|
718
|
+
description?: string | null;
|
|
719
|
+
metadata?: Record<string, unknown> | null;
|
|
720
|
+
};
|
|
721
|
+
type UpdateOrganizationTeamResponse = OrganizationTeam;
|
|
722
|
+
type DeleteOrganizationTeamResponse = {
|
|
723
|
+
message: string;
|
|
724
|
+
};
|
|
725
|
+
type AddOrganizationTeamMemberRequest = {
|
|
726
|
+
memberId: string;
|
|
727
|
+
};
|
|
728
|
+
type AddOrganizationTeamMemberResponse = OrganizationTeamMember;
|
|
729
|
+
type GetAllOrganizationTeamMembersResponse = Array<OrganizationTeamMember>;
|
|
730
|
+
type GetOrganizationTeamMemberResponse = OrganizationTeamMember;
|
|
731
|
+
type DeleteOrganizationTeamMemberResponse = {
|
|
732
|
+
message: string;
|
|
733
|
+
};
|
|
734
|
+
type CreateOrganizationInvitationRequest = {
|
|
735
|
+
email: string;
|
|
736
|
+
role: string;
|
|
737
|
+
redirectUrl?: string;
|
|
738
|
+
};
|
|
739
|
+
type CreateOrganizationInvitationResponse = OrganizationInvitation;
|
|
740
|
+
type GetAllOrganizationInvitationsResponse = Array<OrganizationInvitation>;
|
|
741
|
+
type GetOrganizationInvitationResponse = OrganizationInvitation;
|
|
742
|
+
type RevokeOrganizationInvitationResponse = OrganizationInvitation;
|
|
743
|
+
type AcceptOrganizationInvitationRequest = {
|
|
744
|
+
redirectUrl?: string;
|
|
745
|
+
};
|
|
746
|
+
type AcceptOrganizationInvitationResponse = OrganizationInvitation;
|
|
747
|
+
type RejectOrganizationInvitationResponse = OrganizationInvitation;
|
|
748
|
+
//#endregion
|
|
749
|
+
//#region src/plugins/organizations/plugin.d.ts
|
|
750
|
+
declare class OrganizationsPlugin implements Plugin {
|
|
751
|
+
readonly id = "organizations";
|
|
752
|
+
init(client: AuthulaClient): {
|
|
753
|
+
createOrganization: (data: CreateOrganizationRequest) => Promise<CreateOrganizationResponse>;
|
|
754
|
+
getAllOrganizations: () => Promise<GetAllOrganizationsResponse>;
|
|
755
|
+
getOrganizationById: (organizationId: string) => Promise<GetOrganizationByIdResponse>;
|
|
756
|
+
updateOrganization: (organizationId: string, data: UpdateOrganizationRequest) => Promise<UpdateOrganizationResponse>;
|
|
757
|
+
deleteOrganization: (organizationId: string) => Promise<DeleteOrganizationResponse>;
|
|
758
|
+
createOrganizationInvitation: (organizationId: string, data: CreateOrganizationInvitationRequest) => Promise<CreateOrganizationInvitationResponse>;
|
|
759
|
+
getAllOrganizationInvitations: (organizationId: string) => Promise<GetAllOrganizationInvitationsResponse>;
|
|
760
|
+
getOrganizationInvitation: (organizationId: string, invitationId: string) => Promise<GetOrganizationInvitationResponse>;
|
|
761
|
+
revokeOrganizationInvitation: (organizationId: string, invitationId: string) => Promise<RevokeOrganizationInvitationResponse>;
|
|
762
|
+
acceptOrganizationInvitation: (organizationId: string, invitationId: string, data?: AcceptOrganizationInvitationRequest) => Promise<AcceptOrganizationInvitationResponse>;
|
|
763
|
+
rejectOrganizationInvitation: (organizationId: string, invitationId: string) => Promise<RejectOrganizationInvitationResponse>;
|
|
764
|
+
addOrganizationMember: (organizationId: string, data: AddOrganizationMemberRequest) => Promise<AddOrganizationMemberResponse>;
|
|
765
|
+
getAllOrganizationMembers: (organizationId: string) => Promise<GetOrganizationMembersResponse>;
|
|
766
|
+
getOrganizationMember: (organizationId: string, memberId: string) => Promise<GetOrganizationMemberResponse>;
|
|
767
|
+
updateOrganizationMember: (organizationId: string, memberId: string, data: UpdateOrganizationMemberRequest) => Promise<UpdateOrganizationMemberResponse>;
|
|
768
|
+
deleteOrganizationMember: (organizationId: string, memberId: string) => Promise<DeleteOrganizationMemberResponse>;
|
|
769
|
+
createOrganizationTeam: (organizationId: string, data: CreateOrganizationTeamRequest) => Promise<CreateOrganizationTeamResponse>;
|
|
770
|
+
getAllOrganizationTeams: (organizationId: string) => Promise<GetAllOrganizationTeamsResponse>;
|
|
771
|
+
getOrganizationTeam: (organizationId: string, teamId: string) => Promise<GetOrganizationTeamResponse>;
|
|
772
|
+
updateOrganizationTeam: (organizationId: string, teamId: string, data: UpdateOrganizationTeamRequest) => Promise<UpdateOrganizationTeamResponse>;
|
|
773
|
+
deleteOrganizationTeam: (organizationId: string, teamId: string) => Promise<DeleteOrganizationTeamResponse>;
|
|
774
|
+
addOrganizationTeamMember: (organizationId: string, teamId: string, data: AddOrganizationTeamMemberRequest) => Promise<AddOrganizationTeamMemberResponse>;
|
|
775
|
+
getAllOrganizationTeamMembers: (organizationId: string, teamId: string) => Promise<GetAllOrganizationTeamMembersResponse>;
|
|
776
|
+
getOrganizationTeamMember: (organizationId: string, teamId: string, memberId: string) => Promise<GetOrganizationTeamMemberResponse>;
|
|
777
|
+
deleteOrganizationTeamMember: (organizationId: string, teamId: string, memberId: string) => Promise<DeleteOrganizationTeamMemberResponse>;
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
//#endregion
|
|
625
781
|
//#region src/plugins/totp/types.d.ts
|
|
626
782
|
type EnableResponse = {
|
|
627
783
|
totpUri: string;
|
|
@@ -666,5 +822,5 @@ declare class TOTPPlugin implements Plugin {
|
|
|
666
822
|
};
|
|
667
823
|
}
|
|
668
824
|
//#endregion
|
|
669
|
-
export { AccessControlPlugin, AddRolePermissionRequest, AddRolePermissionResponse, AdminPlugin, AdminSessionState, AdminUserSession, AdminUserState, AssignUserRoleRequest, AssignUserRoleResponse, BanUserRequest, BanUserResponse, BearerPlugin, BearerPluginOptions, CSRFPlugin, CSRFPluginOptions, ChangePasswordRequest, CheckUserPermissionsRequest, CheckUserPermissionsResponse, CreateAccountRequest, CreateAccountResponse, CreatePermissionRequest, CreatePermissionResponse, CreateRoleRequest, CreateRoleResponse, CreateSessionStateRequest, CreateSessionStateResponse, CreateUserRequest, CreateUserResponse, CreateUserStateRequest, CreateUserStateResponse, DeleteAccountResponse, DeletePermissionResponse, DeleteRoleResponse, DeleteSessionStateResponse, DeleteUserResponse, DeleteUserStateResponse, DisableResponse, EmailPasswordPlugin, EnableResponse, GenerateBackupCodesResponse, GetAccountByIdResponse, GetAllImpersonationsResponse, GetAllUsersResponse, GetBannedUserStatesResponse, GetImpersonationByIdResponse, GetRevokedSessionStatesResponse, GetSessionStateResponse, GetTOTPURIResponse, GetUserAccountsResponse, GetUserAdminSessionsResponse, GetUserByIdResponse, GetUserPermissionsResponse, GetUserStateResponse, Impersonation, JWKSKey, JWTAlgorithm, JWTPlugin, JWTTokensResponse, MagicLinkExchangeRequest, MagicLinkPlugin, MagicLinkSignInRequest, MagicLinkSignInResponse, MagicLinkVerifyRequest, MagicLinkVerifyResponse, OAuth2Plugin, OAuth2ProviderType, Permission, PermissionGrantSource, RemoveRolePermissionResponse, RemoveUserRoleResponse, ReplaceRolePermissionResponse, ReplaceRolePermissionsRequest, ReplaceUserRolesRequest, ReplaceUserRolesResponse, RequestEmailChangeRequest, RequestPasswordResetRequest, RevokeSessionRequest, RevokeSessionResponse, Role, RoleDetails, SendEmailVerificationRequest, SignInRequest, SignInWithOAuth2Request, SignInWithOAuth2Response, SignUpRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationResponse, TOTPPlugin, TokenRefreshRequest, TokenRefreshResponse, UnbanUserResponse, UpdateAccountRequest, UpdateAccountResponse, UpdatePermissionRequest, UpdatePermissionResponse, UpdateRoleRequest, UpdateRoleResponse, UpdateSessionStateRequest, UpdateSessionStateResponse, UpdateUserRequest, UpdateUserResponse, UpdateUserStateRequest, UpdateUserStateResponse, UserAuthorizationProfile, UserPermissionInfo, UserRoleInfo, UserWithPermissions, UserWithRoles, VerifyBackupCodeRequest, VerifyBackupCodeResponse, VerifyEmailRequest, VerifyTOTPRequest, VerifyTOTPResponse, adminSessionStateSchema, adminUserSessionSchema, adminUserStateSchema, checkUserPermissionsResponseSchema, getUserPermissionsResponseSchema, impersonationSchema, permissionGrantSourceSchema, permissionSchema, roleDetailsSchema, roleSchema, userPermissionInfoSchema, userRoleInfoSchema };
|
|
825
|
+
export { AcceptOrganizationInvitationRequest, AcceptOrganizationInvitationResponse, AccessControlPlugin, AddOrganizationMemberRequest, AddOrganizationMemberResponse, AddOrganizationTeamMemberRequest, AddOrganizationTeamMemberResponse, AddRolePermissionRequest, AddRolePermissionResponse, AdminPlugin, AdminSessionState, AdminUserSession, AdminUserState, AssignUserRoleRequest, AssignUserRoleResponse, BanUserRequest, BanUserResponse, BearerPlugin, BearerPluginOptions, CSRFPlugin, CSRFPluginOptions, ChangePasswordRequest, CheckUserPermissionsRequest, CheckUserPermissionsResponse, CreateAccountRequest, CreateAccountResponse, CreateOrganizationInvitationRequest, CreateOrganizationInvitationResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOrganizationTeamRequest, CreateOrganizationTeamResponse, CreatePermissionRequest, CreatePermissionResponse, CreateRoleRequest, CreateRoleResponse, CreateSessionStateRequest, CreateSessionStateResponse, CreateUserRequest, CreateUserResponse, CreateUserStateRequest, CreateUserStateResponse, DeleteAccountResponse, DeleteOrganizationMemberResponse, DeleteOrganizationResponse, DeleteOrganizationTeamMemberResponse, DeleteOrganizationTeamResponse, DeletePermissionResponse, DeleteRoleResponse, DeleteSessionStateResponse, DeleteUserResponse, DeleteUserStateResponse, DisableResponse, EmailPasswordPlugin, EnableResponse, GenerateBackupCodesResponse, GetAccountByIdResponse, GetAllImpersonationsResponse, GetAllOrganizationInvitationsResponse, GetAllOrganizationTeamMembersResponse, GetAllOrganizationTeamsResponse, GetAllOrganizationsResponse, GetAllUsersResponse, GetBannedUserStatesResponse, GetImpersonationByIdResponse, GetOrganizationByIdResponse, GetOrganizationInvitationResponse, GetOrganizationMemberResponse, GetOrganizationMembersResponse, GetOrganizationTeamMemberResponse, GetOrganizationTeamResponse, GetRevokedSessionStatesResponse, GetSessionStateResponse, GetTOTPURIResponse, GetUserAccountsResponse, GetUserAdminSessionsResponse, GetUserByIdResponse, GetUserPermissionsResponse, GetUserStateResponse, Impersonation, JWKSKey, JWTAlgorithm, JWTPlugin, JWTTokensResponse, MagicLinkExchangeRequest, MagicLinkPlugin, MagicLinkSignInRequest, MagicLinkSignInResponse, MagicLinkVerifyRequest, MagicLinkVerifyResponse, OAuth2Plugin, OAuth2ProviderType, Organization, OrganizationInvitation, OrganizationInvitationStatus, OrganizationMember, OrganizationTeam, OrganizationTeamMember, OrganizationsPlugin, Permission, PermissionGrantSource, RejectOrganizationInvitationResponse, RemoveRolePermissionResponse, RemoveUserRoleResponse, ReplaceRolePermissionResponse, ReplaceRolePermissionsRequest, ReplaceUserRolesRequest, ReplaceUserRolesResponse, RequestEmailChangeRequest, RequestPasswordResetRequest, RevokeOrganizationInvitationResponse, RevokeSessionRequest, RevokeSessionResponse, Role, RoleDetails, SendEmailVerificationRequest, SignInRequest, SignInWithOAuth2Request, SignInWithOAuth2Response, SignUpRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationResponse, TOTPPlugin, TokenRefreshRequest, TokenRefreshResponse, UnbanUserResponse, UpdateAccountRequest, UpdateAccountResponse, UpdateOrganizationMemberRequest, UpdateOrganizationMemberResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOrganizationTeamRequest, UpdateOrganizationTeamResponse, UpdatePermissionRequest, UpdatePermissionResponse, UpdateRoleRequest, UpdateRoleResponse, UpdateSessionStateRequest, UpdateSessionStateResponse, UpdateUserRequest, UpdateUserResponse, UpdateUserStateRequest, UpdateUserStateResponse, UserAuthorizationProfile, UserPermissionInfo, UserRoleInfo, UserWithPermissions, UserWithRoles, VerifyBackupCodeRequest, VerifyBackupCodeResponse, VerifyEmailRequest, VerifyTOTPRequest, VerifyTOTPResponse, adminSessionStateSchema, adminUserSessionSchema, adminUserStateSchema, checkUserPermissionsResponseSchema, getUserPermissionsResponseSchema, impersonationSchema, permissionGrantSourceSchema, permissionSchema, roleDetailsSchema, roleSchema, userPermissionInfoSchema, userRoleInfoSchema };
|
|
670
826
|
//# sourceMappingURL=index.d.ts.map
|