@edsis/angular 21.1.3 → 21.1.4

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 (29) hide show
  1. package/fesm2022/edsis-angular-auth.mjs +17 -18
  2. package/fesm2022/edsis-angular-auth.mjs.map +1 -1
  3. package/fesm2022/edsis-angular-sdk-access.mjs +1103 -1104
  4. package/fesm2022/edsis-angular-sdk-access.mjs.map +1 -1
  5. package/fesm2022/edsis-angular-sdk-approval.mjs +1016 -1017
  6. package/fesm2022/edsis-angular-sdk-approval.mjs.map +1 -1
  7. package/fesm2022/edsis-angular-sdk-auth.mjs +120 -121
  8. package/fesm2022/edsis-angular-sdk-auth.mjs.map +1 -1
  9. package/fesm2022/edsis-angular-sdk-employee.mjs +112 -113
  10. package/fesm2022/edsis-angular-sdk-employee.mjs.map +1 -1
  11. package/fesm2022/edsis-angular-sdk-health.mjs +41 -42
  12. package/fesm2022/edsis-angular-sdk-health.mjs.map +1 -1
  13. package/fesm2022/edsis-angular-sdk-shared.mjs +9 -9
  14. package/fesm2022/edsis-angular-sdk-storage.mjs +131 -132
  15. package/fesm2022/edsis-angular-sdk-storage.mjs.map +1 -1
  16. package/fesm2022/edsis-angular-sdk-user.mjs +204 -205
  17. package/fesm2022/edsis-angular-sdk-user.mjs.map +1 -1
  18. package/fesm2022/edsis-angular-sdk.mjs +6679 -24
  19. package/fesm2022/edsis-angular-sdk.mjs.map +1 -1
  20. package/package.json +1 -1
  21. package/types/edsis-angular-auth.d.ts +1 -2
  22. package/types/edsis-angular-sdk-access.d.ts +11 -12
  23. package/types/edsis-angular-sdk-approval.d.ts +11 -12
  24. package/types/edsis-angular-sdk-auth.d.ts +3 -4
  25. package/types/edsis-angular-sdk-employee.d.ts +3 -4
  26. package/types/edsis-angular-sdk-health.d.ts +3 -4
  27. package/types/edsis-angular-sdk-storage.d.ts +5 -6
  28. package/types/edsis-angular-sdk-user.d.ts +3 -4
  29. package/types/edsis-angular-sdk.d.ts +1918 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edsis/angular",
3
- "version": "21.1.3",
3
+ "version": "21.1.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.0",
6
6
  "@angular/core": "^21.2.0"
@@ -46,14 +46,12 @@ declare class AuthLoginPage {
46
46
  private readonly destroyRef;
47
47
  private readonly formBuilder;
48
48
  private readonly authService;
49
- private readonly authConfig;
50
49
  protected readonly form: _angular_forms.FormGroup<{
51
50
  email: _angular_forms.FormControl<string>;
52
51
  }>;
53
52
  protected readonly isSubmitting: i0.WritableSignal<boolean>;
54
53
  protected readonly responseMessage: i0.WritableSignal<string | null>;
55
54
  protected readonly errorMessage: i0.WritableSignal<string | null>;
56
- protected readonly verifyUrl: string;
57
55
  protected readonly emailControl: _angular_forms.FormControl<string>;
58
56
  protected hasInlineError(): boolean;
59
57
  protected fieldTone(): 'idle' | 'error' | 'success';
@@ -101,6 +99,7 @@ interface StoredAuthSession {
101
99
  accessToken: string;
102
100
  userId?: string;
103
101
  role?: string;
102
+ name?: string;
104
103
  }
105
104
  declare function hasStoredSession(documentRef: Document): boolean;
106
105
  declare function readStoredAccessToken(documentRef: Document): string;
@@ -1,5 +1,4 @@
1
- import { PaginationMeta, StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { PaginationMeta, ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -176,6 +175,16 @@ interface UpdateRoleUserRequest {
176
175
  user_id?: string;
177
176
  }
178
177
 
178
+ declare const permissionOperationRules: Record<string, ApiOperationRule>;
179
+
180
+ declare const permissionUserOperationRules: Record<string, ApiOperationRule>;
181
+
182
+ declare const roleOperationRules: Record<string, ApiOperationRule>;
183
+
184
+ declare const rolePermissionOperationRules: Record<string, ApiOperationRule>;
185
+
186
+ declare const roleUserOperationRules: Record<string, ApiOperationRule>;
187
+
179
188
  interface CreatePermission$Params {
180
189
  body: CreatePermissionRequest;
181
190
  }
@@ -533,15 +542,5 @@ declare class RoleUserService extends BaseService {
533
542
  static ɵprov: i0.ɵɵInjectableDeclaration<RoleUserService>;
534
543
  }
535
544
 
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
545
  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
546
  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 };
@@ -1,5 +1,4 @@
1
- import { PaginationMeta, StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { PaginationMeta, ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -276,6 +275,16 @@ interface WorkflowActionResponse {
276
275
  data?: WorkflowAction;
277
276
  }
278
277
 
278
+ declare const approvalActorOperationRules: Record<string, ApiOperationRule>;
279
+
280
+ declare const approvalDefinitionOperationRules: Record<string, ApiOperationRule>;
281
+
282
+ declare const approvalInstanceOperationRules: Record<string, ApiOperationRule>;
283
+
284
+ declare const approvalStageOperationRules: Record<string, ApiOperationRule>;
285
+
286
+ declare const approvalTransitionOperationRules: Record<string, ApiOperationRule>;
287
+
279
288
  interface CreateApprovalActor$Params {
280
289
  body: CreateActorRequest;
281
290
  }
@@ -624,15 +633,5 @@ declare class ApprovalTransitionService extends BaseService {
624
633
  static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalTransitionService>;
625
634
  }
626
635
 
627
- declare const approvalActorOperationRules: Record<string, ApiOperationRule>;
628
-
629
- declare const approvalDefinitionOperationRules: Record<string, ApiOperationRule>;
630
-
631
- declare const approvalInstanceOperationRules: Record<string, ApiOperationRule>;
632
-
633
- declare const approvalStageOperationRules: Record<string, ApiOperationRule>;
634
-
635
- declare const approvalTransitionOperationRules: Record<string, ApiOperationRule>;
636
-
637
636
  export { ApprovalActorService, ApprovalDefinitionService, ApprovalInstanceService, ApprovalStageService, ApprovalTransitionService, approvalActorOperationRules, approvalDefinitionOperationRules, approvalInstanceOperationRules, approvalStageOperationRules, approvalTransitionOperationRules, approveApprovalStep, createApprovalActor, createApprovalDefinition, createApprovalStage, createApprovalTransition, deleteApprovalActorByID, deleteApprovalDefinitionByID, deleteApprovalStageByID, deleteApprovalTransitionByID, getApprovalActorByID, getApprovalDefinitionByID, getApprovalInstanceByID, getApprovalStageByID, getApprovalTransitionByID, listApprovalActors, listApprovalDefinitions, listApprovalStages, listApprovalTransitions, listPendingApprovalItems, patchApprovalActorByID, patchApprovalDefinitionByID, patchApprovalStageByID, patchApprovalTransitionByID, rejectApprovalStep, submitApprovalWorkflow };
638
637
  export type { Actor, ActorListResponse, ActorResponse, ApprovalMutationAckResponse, ApproveApprovalStep$Params, ApproveRequest, CreateActorRequest, CreateApprovalActor$Params, CreateApprovalDefinition$Params, CreateApprovalStage$Params, CreateApprovalTransition$Params, CreateDefinitionActorRequest, CreateDefinitionRequest, CreateDefinitionStageRequest, CreateDefinitionTransitionRequest, CreateStageRequest, CreateTransitionRequest, Definition, DefinitionDetail, DefinitionListResponse, DefinitionResponse, DeleteApprovalActorByID$Params, DeleteApprovalDefinitionByID$Params, DeleteApprovalStageByID$Params, DeleteApprovalTransitionByID$Params, GetApprovalActorByID$Params, GetApprovalDefinitionByID$Params, GetApprovalInstanceByID$Params, GetApprovalStageByID$Params, GetApprovalTransitionByID$Params, InstanceDetail, InstanceDetailResponse, InstanceStepDetail, ListApprovalActors$Params, ListApprovalDefinitions$Params, ListApprovalStages$Params, ListApprovalTransitions$Params, ListPendingApprovalItems$Params, PatchApprovalActorByID$Params, PatchApprovalDefinitionByID$Params, PatchApprovalStageByID$Params, PatchApprovalTransitionByID$Params, PendingItem, PendingListResponse, RejectApprovalStep$Params, RejectRequest, Stage, StageDetail, StageDetailResponse, StageListResponse, StageResponse, SubmitApprovalWorkflow$Params, SubmitRequest, Transition, TransitionListResponse, TransitionResponse, UpdateActorRequest, UpdateDefinitionRequest, UpdateStageRequest, UpdateTransitionRequest, WorkflowAction, WorkflowActionResponse };
@@ -1,5 +1,4 @@
1
- import { StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -49,6 +48,8 @@ interface MagicLinkDispatchResponse {
49
48
  data?: Record<string, unknown>;
50
49
  }
51
50
 
51
+ declare const authOperationRules: Record<string, ApiOperationRule>;
52
+
52
53
  type LogoutAuthSession$Params = Record<string, never>;
53
54
  declare function logoutAuthSession(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse<unknown>>;
54
55
  declare namespace logoutAuthSession {
@@ -122,7 +123,5 @@ declare class AuthService extends BaseService {
122
123
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
123
124
  }
124
125
 
125
- declare const authOperationRules: Record<string, ApiOperationRule>;
126
-
127
126
  export { AuthService, authOperationRules, logoutAuthSession, refreshAuthToken, registerAuthPrincipal, requestMagicLoginLink, resendMagicLink, verifyMagicLink };
128
127
  export type { AuthLoginRequest, AuthRegisterRequest, AuthResendRequest, AuthTokenResponse, AuthUser, AuthUserResponse, AuthVerifyRequest, LogoutAuthSession$Params, MagicLinkDispatchResponse, RefreshAuthToken$Params, RegisterAuthPrincipal$Params, RequestMagicLoginLink$Params, ResendMagicLink$Params, VerifyMagicLink$Params };
@@ -1,5 +1,4 @@
1
- import { PaginationMeta, StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { PaginationMeta, ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -83,6 +82,8 @@ interface UpdateEmployeeRequest {
83
82
  photo_id?: string;
84
83
  }
85
84
 
85
+ declare const employeeOperationRules: Record<string, ApiOperationRule>;
86
+
86
87
  interface CreateEmployee$Params {
87
88
  body: CreateEmployeeRequest;
88
89
  }
@@ -153,7 +154,5 @@ declare class EmployeeService extends BaseService {
153
154
  static ɵprov: i0.ɵɵInjectableDeclaration<EmployeeService>;
154
155
  }
155
156
 
156
- declare const employeeOperationRules: Record<string, ApiOperationRule>;
157
-
158
157
  export { EmployeeService, createEmployee, deleteEmployeeByID, employeeOperationRules, getEmployeeByID, listEmployees, patchEmployeeByID };
159
158
  export type { CreateEmployee$Params, CreateEmployeeRequest, DeleteEmployeeByID$Params, Employee, EmployeeListResponse, EmployeeMutationAckResponse, EmployeeResponse, GetEmployeeByID$Params, ListEmployees$Params, PatchEmployeeByID$Params, UpdateEmployeeRequest };
@@ -1,9 +1,10 @@
1
- import { StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
6
5
 
6
+ declare const healthOperationRules: Record<string, ApiOperationRule>;
7
+
7
8
  type GetGatewayAPIRoot$Params = Record<string, never>;
8
9
  declare function getGatewayAPIRoot(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse<unknown>>;
9
10
  declare namespace getGatewayAPIRoot {
@@ -29,7 +30,5 @@ declare class HealthService extends BaseService {
29
30
  static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
30
31
  }
31
32
 
32
- declare const healthOperationRules: Record<string, ApiOperationRule>;
33
-
34
33
  export { HealthService, getGatewayAPIRoot, getGatewayHealth, healthOperationRules };
35
34
  export type { GetGatewayAPIRoot$Params, GetGatewayHealth$Params };
@@ -1,5 +1,4 @@
1
- import { StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -16,6 +15,10 @@ interface StorageUploadResponse {
16
15
  data?: Record<string, unknown>;
17
16
  }
18
17
 
18
+ declare const gCSOperationRules: Record<string, ApiOperationRule>;
19
+
20
+ declare const s3OperationRules: Record<string, ApiOperationRule>;
21
+
19
22
  interface DownloadObjectGCS$Params {
20
23
  key: string;
21
24
  }
@@ -94,9 +97,5 @@ declare class S3Service extends BaseService {
94
97
  static ɵprov: i0.ɵɵInjectableDeclaration<S3Service>;
95
98
  }
96
99
 
97
- declare const gCSOperationRules: Record<string, ApiOperationRule>;
98
-
99
- declare const s3OperationRules: Record<string, ApiOperationRule>;
100
-
101
100
  export { GCSService, S3Service, downloadObjectGCS, downloadObjectS3, gCSOperationRules, getObjectGCS, getObjectS3, s3OperationRules, uploadGCS, uploadS3 };
102
101
  export type { DownloadObjectGCS$Params, DownloadObjectS3$Params, GetObjectGCS$Params, GetObjectS3$Params, StorageObjectResponse, StorageUploadResponse, UploadGCS$Params, UploadS3$Params };
@@ -1,5 +1,4 @@
1
- import { PaginationMeta, StrictHttpResponse, BaseService, ApiOperationRule } from '@edsis/angular/sdk/shared';
2
- export * from '@edsis/angular/sdk/shared';
1
+ import { PaginationMeta, ApiOperationRule, StrictHttpResponse, BaseService } from '@edsis/angular/sdk/shared';
3
2
  import { HttpClient, HttpContext } from '@angular/common/http';
4
3
  import { Observable } from 'rxjs';
5
4
  import * as i0 from '@angular/core';
@@ -55,6 +54,8 @@ interface UserUpdateResponse {
55
54
  data?: User;
56
55
  }
57
56
 
57
+ declare const userOperationRules: Record<string, ApiOperationRule>;
58
+
58
59
  interface CreateUser$Params {
59
60
  body: UserCreateRequest;
60
61
  }
@@ -183,7 +184,5 @@ declare class UserService extends BaseService {
183
184
  static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
184
185
  }
185
186
 
186
- declare const userOperationRules: Record<string, ApiOperationRule>;
187
-
188
187
  export { UserService, createUser, deleteUserByID, getCurrentUser, getUserByID, listUsers, patchCurrentUser, patchUserActive, patchUserByID, patchUserReset, patchUserSuspend, userOperationRules };
189
188
  export type { CreateUser$Params, DeleteUserByID$Params, GetCurrentUser$Params, GetUserByID$Params, ListUsers$Params, PatchCurrentUser$Params, PatchUserActive$Params, PatchUserByID$Params, PatchUserReset$Params, PatchUserSuspend$Params, User, UserCreateRequest, UserListResponse, UserMutationResponse, UserSelfUpdateRequest, UserUpdateRequest, UserUpdateResponse };