@edsis/angular 0.0.2 → 21.0.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 (46) hide show
  1. package/README.md +74 -178
  2. package/fesm2022/edsis-angular-sdk-access.mjs +1365 -0
  3. package/fesm2022/edsis-angular-sdk-access.mjs.map +1 -0
  4. package/fesm2022/edsis-angular-sdk-approval.mjs +1259 -0
  5. package/fesm2022/edsis-angular-sdk-approval.mjs.map +1 -0
  6. package/fesm2022/edsis-angular-sdk-auth.mjs +254 -0
  7. package/fesm2022/edsis-angular-sdk-auth.mjs.map +1 -0
  8. package/fesm2022/edsis-angular-sdk-employee.mjs +284 -0
  9. package/fesm2022/edsis-angular-sdk-employee.mjs.map +1 -0
  10. package/fesm2022/edsis-angular-sdk-health.mjs +96 -0
  11. package/fesm2022/edsis-angular-sdk-health.mjs.map +1 -0
  12. package/fesm2022/edsis-angular-sdk-shared.mjs +2740 -0
  13. package/fesm2022/edsis-angular-sdk-shared.mjs.map +1 -0
  14. package/fesm2022/edsis-angular-sdk-storage.mjs +288 -0
  15. package/fesm2022/edsis-angular-sdk-storage.mjs.map +1 -0
  16. package/fesm2022/edsis-angular-sdk-user.mjs +489 -0
  17. package/fesm2022/edsis-angular-sdk-user.mjs.map +1 -0
  18. package/fesm2022/edsis-angular-sdk.mjs +75 -0
  19. package/fesm2022/edsis-angular-sdk.mjs.map +1 -0
  20. package/fesm2022/edsis-angular.mjs +0 -5707
  21. package/fesm2022/edsis-angular.mjs.map +1 -1
  22. package/package.json +47 -46
  23. package/types/edsis-angular-sdk-access.d.ts +547 -0
  24. package/types/edsis-angular-sdk-approval.d.ts +638 -0
  25. package/types/edsis-angular-sdk-auth.d.ts +128 -0
  26. package/types/edsis-angular-sdk-employee.d.ts +159 -0
  27. package/types/edsis-angular-sdk-health.d.ts +35 -0
  28. package/types/edsis-angular-sdk-shared.d.ts +176 -0
  29. package/types/edsis-angular-sdk-storage.d.ts +102 -0
  30. package/types/edsis-angular-sdk-user.d.ts +189 -0
  31. package/types/edsis-angular-sdk.d.ts +26 -0
  32. package/types/edsis-angular.d.ts +1 -824
  33. package/src/lib/styles/USAGE.md +0 -238
  34. package/src/lib/styles/container.css +0 -38
  35. package/src/lib/styles/fonts/commit-mono/CommitMonoVariable.woff2 +0 -0
  36. package/src/lib/styles/fonts/commit-mono/commit-mono.css +0 -2
  37. package/src/lib/styles/fonts/inter/InterVariable-Italic.woff2 +0 -0
  38. package/src/lib/styles/fonts/inter/InterVariable.woff2 +0 -0
  39. package/src/lib/styles/fonts/inter/inter.css +0 -2
  40. package/src/lib/styles/icons/README.md +0 -313
  41. package/src/lib/styles/icons/lucide.svg +0 -9768
  42. package/src/lib/styles/icons/material-symbols.css +0 -48
  43. package/src/lib/styles/main.css +0 -24
  44. package/src/lib/styles/tailwind/component/card.css +0 -7
  45. package/src/lib/styles/tailwind/tailwind.css +0 -144
  46. package/src/lib/styles/theme.css +0 -406
package/package.json CHANGED
@@ -1,63 +1,64 @@
1
1
  {
2
2
  "name": "@edsis/angular",
3
- "version": "0.0.2",
4
- "description": "Comprehensive UI Style System for Angular applications with themes, fonts, icons, and Tailwind CSS v4",
5
- "keywords": [
6
- "angular",
7
- "ui",
8
- "components",
9
- "theme",
10
- "tailwind",
11
- "lucide",
12
- "material-icons",
13
- "design-system",
14
- "style-system"
15
- ],
16
- "author": "etos",
17
- "license": "MIT",
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/edsis/angular.git",
21
- "directory": "projects/library/angular"
22
- },
23
- "homepage": "https://github.com/edsis/angular#readme",
24
- "bugs": {
25
- "url": "https://github.com/edsis/angular/issues"
26
- },
27
- "publishConfig": {
28
- "registry": "https://registry.npmjs.org",
29
- "access": "public"
30
- },
3
+ "version": "21.0.0",
31
4
  "peerDependencies": {
32
- "@angular/animations": "^21.0.0",
33
- "@angular/cdk": "^21.0.0",
34
- "@angular/common": "^21.0.0",
35
- "@angular/core": "^21.0.0",
36
- "@angular/forms": "^21.0.0",
37
- "@angular/material": "^21.0.0",
38
- "@angular/router": "^21.0.0",
39
- "rxjs": "^7.8.0",
40
- "@lucide/angular": "^1.0.0",
41
- "tailwindcss": "^4.0.0"
5
+ "@angular/common": "^21.2.0",
6
+ "@angular/core": "^21.2.0"
42
7
  },
43
8
  "dependencies": {
44
- "tslib": "^2.3.0"
9
+ "tslib": "^2.8.1"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public",
13
+ "registry": "https://registry.npmjs.org/"
45
14
  },
15
+ "sideEffects": false,
16
+ "module": "fesm2022/edsis-angular.mjs",
17
+ "typings": "types/edsis-angular.d.ts",
46
18
  "exports": {
47
- "./styles/main.css": "./src/lib/styles/main.css",
48
- "./styles/*": "./src/lib/styles/*",
49
19
  "./package.json": {
50
20
  "default": "./package.json"
51
21
  },
52
22
  ".": {
53
23
  "types": "./types/edsis-angular.d.ts",
54
24
  "default": "./fesm2022/edsis-angular.mjs"
25
+ },
26
+ "./sdk": {
27
+ "types": "./types/edsis-angular-sdk.d.ts",
28
+ "default": "./fesm2022/edsis-angular-sdk.mjs"
29
+ },
30
+ "./sdk/access": {
31
+ "types": "./types/edsis-angular-sdk-access.d.ts",
32
+ "default": "./fesm2022/edsis-angular-sdk-access.mjs"
33
+ },
34
+ "./sdk/approval": {
35
+ "types": "./types/edsis-angular-sdk-approval.d.ts",
36
+ "default": "./fesm2022/edsis-angular-sdk-approval.mjs"
37
+ },
38
+ "./sdk/auth": {
39
+ "types": "./types/edsis-angular-sdk-auth.d.ts",
40
+ "default": "./fesm2022/edsis-angular-sdk-auth.mjs"
41
+ },
42
+ "./sdk/employee": {
43
+ "types": "./types/edsis-angular-sdk-employee.d.ts",
44
+ "default": "./fesm2022/edsis-angular-sdk-employee.mjs"
45
+ },
46
+ "./sdk/health": {
47
+ "types": "./types/edsis-angular-sdk-health.d.ts",
48
+ "default": "./fesm2022/edsis-angular-sdk-health.mjs"
49
+ },
50
+ "./sdk/shared": {
51
+ "types": "./types/edsis-angular-sdk-shared.d.ts",
52
+ "default": "./fesm2022/edsis-angular-sdk-shared.mjs"
53
+ },
54
+ "./sdk/storage": {
55
+ "types": "./types/edsis-angular-sdk-storage.d.ts",
56
+ "default": "./fesm2022/edsis-angular-sdk-storage.mjs"
57
+ },
58
+ "./sdk/user": {
59
+ "types": "./types/edsis-angular-sdk-user.d.ts",
60
+ "default": "./fesm2022/edsis-angular-sdk-user.mjs"
55
61
  }
56
62
  },
57
- "sideEffects": [
58
- "*.css"
59
- ],
60
- "module": "fesm2022/edsis-angular.mjs",
61
- "typings": "types/edsis-angular.d.ts",
62
63
  "type": "module"
63
64
  }
@@ -0,0 +1,547 @@
1
+ import { PaginationMeta, StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
+ export * from '@edsis/angular/sdk/shared';
3
+ import { HttpClient, HttpContext } from '@angular/common/http';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from '@angular/core';
6
+
7
+ interface AccessMutationAckResponse {
8
+ status?: string;
9
+ message?: string;
10
+ data?: Record<string, unknown>;
11
+ }
12
+
13
+ interface CreatePermissionRequest {
14
+ namespace: string;
15
+ resource: string;
16
+ action: string;
17
+ scope?: string;
18
+ description?: string;
19
+ }
20
+
21
+ interface CreatePermissionUserRequest {
22
+ permission_id: string;
23
+ user_id: string;
24
+ }
25
+
26
+ interface CreateRolePermissionRequest {
27
+ role_id: string;
28
+ permission_id: string;
29
+ }
30
+
31
+ interface CreateRoleRequest {
32
+ name: string;
33
+ code: string;
34
+ description?: string;
35
+ }
36
+
37
+ interface CreateRoleUserRequest {
38
+ role_id: string;
39
+ user_id: string;
40
+ }
41
+
42
+ interface Permission {
43
+ id?: string;
44
+ name?: string;
45
+ code?: string;
46
+ namespace?: string;
47
+ resource?: string;
48
+ action?: string;
49
+ scope?: string | null;
50
+ description?: string | null;
51
+ created_at?: string;
52
+ updated_at?: string;
53
+ }
54
+
55
+ interface PermissionListResponse {
56
+ status?: string;
57
+ message?: string;
58
+ data?: Permission[];
59
+ meta?: PaginationMeta;
60
+ }
61
+
62
+ interface PermissionResponse {
63
+ status?: string;
64
+ message?: string;
65
+ data?: Permission;
66
+ }
67
+
68
+ interface PermissionUser {
69
+ id?: string;
70
+ permission_id?: string;
71
+ user_id?: string;
72
+ created_at?: string;
73
+ }
74
+
75
+ interface PermissionUserListResponse {
76
+ status?: string;
77
+ message?: string;
78
+ data?: PermissionUser[];
79
+ meta?: PaginationMeta;
80
+ }
81
+
82
+ interface PermissionUserResponse {
83
+ status?: string;
84
+ message?: string;
85
+ data?: PermissionUser;
86
+ }
87
+
88
+ interface Role {
89
+ id?: string;
90
+ name?: string;
91
+ code?: string;
92
+ description?: string | null;
93
+ created_at?: string;
94
+ updated_at?: string;
95
+ }
96
+
97
+ interface RoleListResponse {
98
+ status?: string;
99
+ message?: string;
100
+ data?: Role[];
101
+ meta?: PaginationMeta;
102
+ }
103
+
104
+ interface RolePermission {
105
+ id?: string;
106
+ role_id?: string;
107
+ permission_id?: string;
108
+ created_at?: string;
109
+ }
110
+
111
+ interface RolePermissionListResponse {
112
+ status?: string;
113
+ message?: string;
114
+ data?: RolePermission[];
115
+ meta?: PaginationMeta;
116
+ }
117
+
118
+ interface RolePermissionResponse {
119
+ status?: string;
120
+ message?: string;
121
+ data?: RolePermission;
122
+ }
123
+
124
+ interface RoleResponse {
125
+ status?: string;
126
+ message?: string;
127
+ data?: Role;
128
+ }
129
+
130
+ interface RoleUser {
131
+ id?: string;
132
+ role_id?: string;
133
+ user_id?: string;
134
+ created_at?: string;
135
+ }
136
+
137
+ interface RoleUserListResponse {
138
+ status?: string;
139
+ message?: string;
140
+ data?: RoleUser[];
141
+ meta?: PaginationMeta;
142
+ }
143
+
144
+ interface RoleUserResponse {
145
+ status?: string;
146
+ message?: string;
147
+ data?: RoleUser;
148
+ }
149
+
150
+ interface UpdatePermissionRequest {
151
+ namespace?: string;
152
+ resource?: string;
153
+ action?: string;
154
+ scope?: string;
155
+ description?: string;
156
+ }
157
+
158
+ interface UpdatePermissionUserRequest {
159
+ permission_id?: string;
160
+ user_id?: string;
161
+ }
162
+
163
+ interface UpdateRolePermissionRequest {
164
+ role_id?: string;
165
+ permission_id?: string;
166
+ }
167
+
168
+ interface UpdateRoleRequest {
169
+ name?: string;
170
+ code?: string;
171
+ description?: string;
172
+ }
173
+
174
+ interface UpdateRoleUserRequest {
175
+ role_id?: string;
176
+ user_id?: string;
177
+ }
178
+
179
+ interface CreatePermission$Params {
180
+ body: CreatePermissionRequest;
181
+ }
182
+ declare function createPermission(http: HttpClient, rootUrl: string, params: CreatePermission$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionResponse>>;
183
+ declare namespace createPermission {
184
+ var PATH: string;
185
+ }
186
+
187
+ interface DeletePermissionByID$Params {
188
+ id: string;
189
+ }
190
+ declare function deletePermissionByID(http: HttpClient, rootUrl: string, params: DeletePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
191
+ declare namespace deletePermissionByID {
192
+ var PATH: string;
193
+ }
194
+
195
+ interface GetPermissionByID$Params {
196
+ id: string;
197
+ }
198
+ declare function getPermissionByID(http: HttpClient, rootUrl: string, params: GetPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionResponse>>;
199
+ declare namespace getPermissionByID {
200
+ var PATH: string;
201
+ }
202
+
203
+ interface ListPermissions$Params {
204
+ page?: number;
205
+ limit?: number;
206
+ sort?: 'created_at' | 'name' | 'code' | 'resource' | 'action' | 'updated_at';
207
+ order?: 'asc' | 'desc';
208
+ search?: string;
209
+ namespace?: string;
210
+ resource?: string;
211
+ action?: string;
212
+ scope?: string;
213
+ }
214
+ declare function listPermissions(http: HttpClient, rootUrl: string, params?: ListPermissions$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionListResponse>>;
215
+ declare namespace listPermissions {
216
+ var PATH: string;
217
+ }
218
+
219
+ interface PatchPermissionByID$Params {
220
+ id: string;
221
+ body: UpdatePermissionRequest;
222
+ }
223
+ declare function patchPermissionByID(http: HttpClient, rootUrl: string, params: PatchPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionResponse>>;
224
+ declare namespace patchPermissionByID {
225
+ var PATH: string;
226
+ }
227
+
228
+ declare class PermissionService extends BaseService {
229
+ /** Create permission (POST /v1/access/permission) */
230
+ createPermission$Response(params: CreatePermission$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionResponse>>;
231
+ /** Create permission (POST /v1/access/permission) */
232
+ createPermission(params: CreatePermission$Params, context?: HttpContext): Observable<PermissionResponse>;
233
+ /** Delete permission (DELETE /v1/access/permission/{id}) */
234
+ deletePermissionByID$Response(params: DeletePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
235
+ /** Delete permission (DELETE /v1/access/permission/{id}) */
236
+ deletePermissionByID(params: DeletePermissionByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
237
+ /** Get permission detail (GET /v1/access/permission/{id}) */
238
+ getPermissionByID$Response(params: GetPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionResponse>>;
239
+ /** Get permission detail (GET /v1/access/permission/{id}) */
240
+ getPermissionByID(params: GetPermissionByID$Params, context?: HttpContext): Observable<PermissionResponse>;
241
+ /** List permissions (GET /v1/access/permission) */
242
+ listPermissions$Response(params?: ListPermissions$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionListResponse>>;
243
+ /** List permissions (GET /v1/access/permission) */
244
+ listPermissions(params?: ListPermissions$Params, context?: HttpContext): Observable<PermissionListResponse>;
245
+ /** Update permission (PATCH /v1/access/permission/{id}) */
246
+ patchPermissionByID$Response(params: PatchPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionResponse>>;
247
+ /** Update permission (PATCH /v1/access/permission/{id}) */
248
+ patchPermissionByID(params: PatchPermissionByID$Params, context?: HttpContext): Observable<PermissionResponse>;
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
250
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
251
+ }
252
+
253
+ interface CreatePermissionUser$Params {
254
+ body: CreatePermissionUserRequest;
255
+ }
256
+ declare function createPermissionUser(http: HttpClient, rootUrl: string, params: CreatePermissionUser$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserResponse>>;
257
+ declare namespace createPermissionUser {
258
+ var PATH: string;
259
+ }
260
+
261
+ interface DeletePermissionUserByID$Params {
262
+ id: string;
263
+ }
264
+ declare function deletePermissionUserByID(http: HttpClient, rootUrl: string, params: DeletePermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
265
+ declare namespace deletePermissionUserByID {
266
+ var PATH: string;
267
+ }
268
+
269
+ interface GetPermissionUserByID$Params {
270
+ id: string;
271
+ }
272
+ declare function getPermissionUserByID(http: HttpClient, rootUrl: string, params: GetPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserResponse>>;
273
+ declare namespace getPermissionUserByID {
274
+ var PATH: string;
275
+ }
276
+
277
+ interface ListPermissionUsers$Params {
278
+ page?: number;
279
+ limit?: number;
280
+ sort?: 'created_at' | 'permission_id' | 'user_id';
281
+ order?: 'asc' | 'desc';
282
+ permission_id?: string;
283
+ user_id?: string;
284
+ }
285
+ declare function listPermissionUsers(http: HttpClient, rootUrl: string, params?: ListPermissionUsers$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserListResponse>>;
286
+ declare namespace listPermissionUsers {
287
+ var PATH: string;
288
+ }
289
+
290
+ interface PatchPermissionUserByID$Params {
291
+ id: string;
292
+ body: UpdatePermissionUserRequest;
293
+ }
294
+ declare function patchPermissionUserByID(http: HttpClient, rootUrl: string, params: PatchPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserResponse>>;
295
+ declare namespace patchPermissionUserByID {
296
+ var PATH: string;
297
+ }
298
+
299
+ declare class PermissionUserService extends BaseService {
300
+ /** Create permission-user relation (POST /v1/access/permission-user) */
301
+ createPermissionUser$Response(params: CreatePermissionUser$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserResponse>>;
302
+ /** Create permission-user relation (POST /v1/access/permission-user) */
303
+ createPermissionUser(params: CreatePermissionUser$Params, context?: HttpContext): Observable<PermissionUserResponse>;
304
+ /** Delete permission-user relation (DELETE /v1/access/permission-user/{id}) */
305
+ deletePermissionUserByID$Response(params: DeletePermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
306
+ /** Delete permission-user relation (DELETE /v1/access/permission-user/{id}) */
307
+ deletePermissionUserByID(params: DeletePermissionUserByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
308
+ /** Get permission-user detail (GET /v1/access/permission-user/{id}) */
309
+ getPermissionUserByID$Response(params: GetPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserResponse>>;
310
+ /** Get permission-user detail (GET /v1/access/permission-user/{id}) */
311
+ getPermissionUserByID(params: GetPermissionUserByID$Params, context?: HttpContext): Observable<PermissionUserResponse>;
312
+ /** List permission-user relations (GET /v1/access/permission-user) */
313
+ listPermissionUsers$Response(params?: ListPermissionUsers$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserListResponse>>;
314
+ /** List permission-user relations (GET /v1/access/permission-user) */
315
+ listPermissionUsers(params?: ListPermissionUsers$Params, context?: HttpContext): Observable<PermissionUserListResponse>;
316
+ /** Update permission-user relation (PATCH /v1/access/permission-user/{id}) */
317
+ patchPermissionUserByID$Response(params: PatchPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<PermissionUserResponse>>;
318
+ /** Update permission-user relation (PATCH /v1/access/permission-user/{id}) */
319
+ patchPermissionUserByID(params: PatchPermissionUserByID$Params, context?: HttpContext): Observable<PermissionUserResponse>;
320
+ static ɵfac: i0.ɵɵFactoryDeclaration<PermissionUserService, never>;
321
+ static ɵprov: i0.ɵɵInjectableDeclaration<PermissionUserService>;
322
+ }
323
+
324
+ interface CreateRole$Params {
325
+ body: CreateRoleRequest;
326
+ }
327
+ declare function createRole(http: HttpClient, rootUrl: string, params: CreateRole$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleResponse>>;
328
+ declare namespace createRole {
329
+ var PATH: string;
330
+ }
331
+
332
+ interface DeleteRoleByID$Params {
333
+ id: string;
334
+ }
335
+ declare function deleteRoleByID(http: HttpClient, rootUrl: string, params: DeleteRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
336
+ declare namespace deleteRoleByID {
337
+ var PATH: string;
338
+ }
339
+
340
+ interface GetRoleByID$Params {
341
+ id: string;
342
+ }
343
+ declare function getRoleByID(http: HttpClient, rootUrl: string, params: GetRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleResponse>>;
344
+ declare namespace getRoleByID {
345
+ var PATH: string;
346
+ }
347
+
348
+ interface ListRoles$Params {
349
+ page?: number;
350
+ limit?: number;
351
+ sort?: 'created_at' | 'name' | 'code' | 'updated_at';
352
+ order?: 'asc' | 'desc';
353
+ search?: string;
354
+ }
355
+ declare function listRoles(http: HttpClient, rootUrl: string, params?: ListRoles$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleListResponse>>;
356
+ declare namespace listRoles {
357
+ var PATH: string;
358
+ }
359
+
360
+ interface PatchRoleByID$Params {
361
+ id: string;
362
+ body: UpdateRoleRequest;
363
+ }
364
+ declare function patchRoleByID(http: HttpClient, rootUrl: string, params: PatchRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleResponse>>;
365
+ declare namespace patchRoleByID {
366
+ var PATH: string;
367
+ }
368
+
369
+ declare class RoleService extends BaseService {
370
+ /** Create role (POST /v1/access/role) */
371
+ createRole$Response(params: CreateRole$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleResponse>>;
372
+ /** Create role (POST /v1/access/role) */
373
+ createRole(params: CreateRole$Params, context?: HttpContext): Observable<RoleResponse>;
374
+ /** Delete role (DELETE /v1/access/role/{id}) */
375
+ deleteRoleByID$Response(params: DeleteRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
376
+ /** Delete role (DELETE /v1/access/role/{id}) */
377
+ deleteRoleByID(params: DeleteRoleByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
378
+ /** Get role detail (GET /v1/access/role/{id}) */
379
+ getRoleByID$Response(params: GetRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleResponse>>;
380
+ /** Get role detail (GET /v1/access/role/{id}) */
381
+ getRoleByID(params: GetRoleByID$Params, context?: HttpContext): Observable<RoleResponse>;
382
+ /** List roles (GET /v1/access/role) */
383
+ listRoles$Response(params?: ListRoles$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleListResponse>>;
384
+ /** List roles (GET /v1/access/role) */
385
+ listRoles(params?: ListRoles$Params, context?: HttpContext): Observable<RoleListResponse>;
386
+ /** Update role (PATCH /v1/access/role/{id}) */
387
+ patchRoleByID$Response(params: PatchRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleResponse>>;
388
+ /** Update role (PATCH /v1/access/role/{id}) */
389
+ patchRoleByID(params: PatchRoleByID$Params, context?: HttpContext): Observable<RoleResponse>;
390
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleService, never>;
391
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleService>;
392
+ }
393
+
394
+ interface CreateRolePermission$Params {
395
+ body: CreateRolePermissionRequest;
396
+ }
397
+ declare function createRolePermission(http: HttpClient, rootUrl: string, params: CreateRolePermission$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionResponse>>;
398
+ declare namespace createRolePermission {
399
+ var PATH: string;
400
+ }
401
+
402
+ interface DeleteRolePermissionByID$Params {
403
+ id: string;
404
+ }
405
+ declare function deleteRolePermissionByID(http: HttpClient, rootUrl: string, params: DeleteRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
406
+ declare namespace deleteRolePermissionByID {
407
+ var PATH: string;
408
+ }
409
+
410
+ interface GetRolePermissionByID$Params {
411
+ id: string;
412
+ }
413
+ declare function getRolePermissionByID(http: HttpClient, rootUrl: string, params: GetRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionResponse>>;
414
+ declare namespace getRolePermissionByID {
415
+ var PATH: string;
416
+ }
417
+
418
+ interface ListRolePermissions$Params {
419
+ page?: number;
420
+ limit?: number;
421
+ sort?: 'created_at' | 'role_id' | 'permission_id';
422
+ order?: 'asc' | 'desc';
423
+ role_id?: string;
424
+ permission_id?: string;
425
+ }
426
+ declare function listRolePermissions(http: HttpClient, rootUrl: string, params?: ListRolePermissions$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionListResponse>>;
427
+ declare namespace listRolePermissions {
428
+ var PATH: string;
429
+ }
430
+
431
+ interface PatchRolePermissionByID$Params {
432
+ id: string;
433
+ body: UpdateRolePermissionRequest;
434
+ }
435
+ declare function patchRolePermissionByID(http: HttpClient, rootUrl: string, params: PatchRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionResponse>>;
436
+ declare namespace patchRolePermissionByID {
437
+ var PATH: string;
438
+ }
439
+
440
+ declare class RolePermissionService extends BaseService {
441
+ /** Create role-permission relation (POST /v1/access/role-permission) */
442
+ createRolePermission$Response(params: CreateRolePermission$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionResponse>>;
443
+ /** Create role-permission relation (POST /v1/access/role-permission) */
444
+ createRolePermission(params: CreateRolePermission$Params, context?: HttpContext): Observable<RolePermissionResponse>;
445
+ /** Delete role-permission relation (DELETE /v1/access/role-permission/{id}) */
446
+ deleteRolePermissionByID$Response(params: DeleteRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
447
+ /** Delete role-permission relation (DELETE /v1/access/role-permission/{id}) */
448
+ deleteRolePermissionByID(params: DeleteRolePermissionByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
449
+ /** Get role-permission detail (GET /v1/access/role-permission/{id}) */
450
+ getRolePermissionByID$Response(params: GetRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionResponse>>;
451
+ /** Get role-permission detail (GET /v1/access/role-permission/{id}) */
452
+ getRolePermissionByID(params: GetRolePermissionByID$Params, context?: HttpContext): Observable<RolePermissionResponse>;
453
+ /** List role-permission relations (GET /v1/access/role-permission) */
454
+ listRolePermissions$Response(params?: ListRolePermissions$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionListResponse>>;
455
+ /** List role-permission relations (GET /v1/access/role-permission) */
456
+ listRolePermissions(params?: ListRolePermissions$Params, context?: HttpContext): Observable<RolePermissionListResponse>;
457
+ /** Update role-permission relation (PATCH /v1/access/role-permission/{id}) */
458
+ patchRolePermissionByID$Response(params: PatchRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RolePermissionResponse>>;
459
+ /** Update role-permission relation (PATCH /v1/access/role-permission/{id}) */
460
+ patchRolePermissionByID(params: PatchRolePermissionByID$Params, context?: HttpContext): Observable<RolePermissionResponse>;
461
+ static ɵfac: i0.ɵɵFactoryDeclaration<RolePermissionService, never>;
462
+ static ɵprov: i0.ɵɵInjectableDeclaration<RolePermissionService>;
463
+ }
464
+
465
+ interface CreateRoleUser$Params {
466
+ body: CreateRoleUserRequest;
467
+ }
468
+ declare function createRoleUser(http: HttpClient, rootUrl: string, params: CreateRoleUser$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserResponse>>;
469
+ declare namespace createRoleUser {
470
+ var PATH: string;
471
+ }
472
+
473
+ interface DeleteRoleUserByID$Params {
474
+ id: string;
475
+ }
476
+ declare function deleteRoleUserByID(http: HttpClient, rootUrl: string, params: DeleteRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
477
+ declare namespace deleteRoleUserByID {
478
+ var PATH: string;
479
+ }
480
+
481
+ interface GetRoleUserByID$Params {
482
+ id: string;
483
+ }
484
+ declare function getRoleUserByID(http: HttpClient, rootUrl: string, params: GetRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserResponse>>;
485
+ declare namespace getRoleUserByID {
486
+ var PATH: string;
487
+ }
488
+
489
+ interface ListRoleUsers$Params {
490
+ page?: number;
491
+ limit?: number;
492
+ sort?: 'created_at' | 'role_id' | 'user_id';
493
+ order?: 'asc' | 'desc';
494
+ role_id?: string;
495
+ user_id?: string;
496
+ }
497
+ declare function listRoleUsers(http: HttpClient, rootUrl: string, params?: ListRoleUsers$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserListResponse>>;
498
+ declare namespace listRoleUsers {
499
+ var PATH: string;
500
+ }
501
+
502
+ interface PatchRoleUserByID$Params {
503
+ id: string;
504
+ body: UpdateRoleUserRequest;
505
+ }
506
+ declare function patchRoleUserByID(http: HttpClient, rootUrl: string, params: PatchRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserResponse>>;
507
+ declare namespace patchRoleUserByID {
508
+ var PATH: string;
509
+ }
510
+
511
+ declare class RoleUserService extends BaseService {
512
+ /** Create role-user relation (POST /v1/access/role-user) */
513
+ createRoleUser$Response(params: CreateRoleUser$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserResponse>>;
514
+ /** Create role-user relation (POST /v1/access/role-user) */
515
+ createRoleUser(params: CreateRoleUser$Params, context?: HttpContext): Observable<RoleUserResponse>;
516
+ /** Delete role-user relation (DELETE /v1/access/role-user/{id}) */
517
+ deleteRoleUserByID$Response(params: DeleteRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<AccessMutationAckResponse>>;
518
+ /** Delete role-user relation (DELETE /v1/access/role-user/{id}) */
519
+ deleteRoleUserByID(params: DeleteRoleUserByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
520
+ /** Get role-user detail (GET /v1/access/role-user/{id}) */
521
+ getRoleUserByID$Response(params: GetRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserResponse>>;
522
+ /** Get role-user detail (GET /v1/access/role-user/{id}) */
523
+ getRoleUserByID(params: GetRoleUserByID$Params, context?: HttpContext): Observable<RoleUserResponse>;
524
+ /** List role-user relations (GET /v1/access/role-user) */
525
+ listRoleUsers$Response(params?: ListRoleUsers$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserListResponse>>;
526
+ /** List role-user relations (GET /v1/access/role-user) */
527
+ listRoleUsers(params?: ListRoleUsers$Params, context?: HttpContext): Observable<RoleUserListResponse>;
528
+ /** Update role-user relation (PATCH /v1/access/role-user/{id}) */
529
+ patchRoleUserByID$Response(params: PatchRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse<RoleUserResponse>>;
530
+ /** Update role-user relation (PATCH /v1/access/role-user/{id}) */
531
+ patchRoleUserByID(params: PatchRoleUserByID$Params, context?: HttpContext): Observable<RoleUserResponse>;
532
+ static ɵfac: i0.ɵɵFactoryDeclaration<RoleUserService, never>;
533
+ static ɵprov: i0.ɵɵInjectableDeclaration<RoleUserService>;
534
+ }
535
+
536
+ declare const permissionOperationRules: Record<string, ApiOperationRule>;
537
+
538
+ declare const permissionUserOperationRules: Record<string, ApiOperationRule>;
539
+
540
+ declare const roleOperationRules: Record<string, ApiOperationRule>;
541
+
542
+ declare const rolePermissionOperationRules: Record<string, ApiOperationRule>;
543
+
544
+ declare const roleUserOperationRules: Record<string, ApiOperationRule>;
545
+
546
+ export { PermissionService, PermissionUserService, RolePermissionService, RoleService, RoleUserService, createPermission, createPermissionUser, createRole, createRolePermission, createRoleUser, deletePermissionByID, deletePermissionUserByID, deleteRoleByID, deleteRolePermissionByID, deleteRoleUserByID, getPermissionByID, getPermissionUserByID, getRoleByID, getRolePermissionByID, getRoleUserByID, listPermissionUsers, listPermissions, listRolePermissions, listRoleUsers, listRoles, patchPermissionByID, patchPermissionUserByID, patchRoleByID, patchRolePermissionByID, patchRoleUserByID, permissionOperationRules, permissionUserOperationRules, roleOperationRules, rolePermissionOperationRules, roleUserOperationRules };
547
+ export type { AccessMutationAckResponse, CreatePermission$Params, CreatePermissionRequest, CreatePermissionUser$Params, CreatePermissionUserRequest, CreateRole$Params, CreateRolePermission$Params, CreateRolePermissionRequest, CreateRoleRequest, CreateRoleUser$Params, CreateRoleUserRequest, DeletePermissionByID$Params, DeletePermissionUserByID$Params, DeleteRoleByID$Params, DeleteRolePermissionByID$Params, DeleteRoleUserByID$Params, GetPermissionByID$Params, GetPermissionUserByID$Params, GetRoleByID$Params, GetRolePermissionByID$Params, GetRoleUserByID$Params, ListPermissionUsers$Params, ListPermissions$Params, ListRolePermissions$Params, ListRoleUsers$Params, ListRoles$Params, PatchPermissionByID$Params, PatchPermissionUserByID$Params, PatchRoleByID$Params, PatchRolePermissionByID$Params, PatchRoleUserByID$Params, Permission, PermissionListResponse, PermissionResponse, PermissionUser, PermissionUserListResponse, PermissionUserResponse, Role, RoleListResponse, RolePermission, RolePermissionListResponse, RolePermissionResponse, RoleResponse, RoleUser, RoleUserListResponse, RoleUserResponse, UpdatePermissionRequest, UpdatePermissionUserRequest, UpdateRolePermissionRequest, UpdateRoleRequest, UpdateRoleUserRequest };