@acorex/connectivity 21.0.0-next.2 → 21.0.0-next.21

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 (56) hide show
  1. package/api/index.d.ts +6 -65
  2. package/fesm2022/{acorex-connectivity-api-execute.command-CQt_HF1B.mjs → acorex-connectivity-api-execute.command-Di850KiF.mjs} +7 -7
  3. package/fesm2022/acorex-connectivity-api-execute.command-Di850KiF.mjs.map +1 -0
  4. package/fesm2022/acorex-connectivity-api.mjs +128 -206
  5. package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
  6. package/fesm2022/acorex-connectivity-mock-assign-to-manager.command-T6-ao4e9.mjs +66 -0
  7. package/fesm2022/acorex-connectivity-mock-assign-to-manager.command-T6-ao4e9.mjs.map +1 -0
  8. package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Dsxj98tX.mjs → acorex-connectivity-mock-category-with-items.query-KB7GIYeb.mjs} +4 -4
  9. package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Dsxj98tX.mjs.map → acorex-connectivity-mock-category-with-items.query-KB7GIYeb.mjs.map} +1 -1
  10. package/fesm2022/acorex-connectivity-mock-check-permission.command-C-AZTcHP.mjs +53 -0
  11. package/fesm2022/acorex-connectivity-mock-check-permission.command-C-AZTcHP.mjs.map +1 -0
  12. package/fesm2022/acorex-connectivity-mock-complete-signature-process.command-CHci1rOa.mjs +80 -0
  13. package/fesm2022/acorex-connectivity-mock-complete-signature-process.command-CHci1rOa.mjs.map +1 -0
  14. package/fesm2022/{acorex-connectivity-mock-distribution-record.command-DRiDwlqN.mjs → acorex-connectivity-mock-distribution-record.command-DMoZvago.mjs} +4 -4
  15. package/fesm2022/{acorex-connectivity-mock-distribution-record.command-DRiDwlqN.mjs.map → acorex-connectivity-mock-distribution-record.command-DMoZvago.mjs.map} +1 -1
  16. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-B1TrIBvU.mjs +115 -0
  17. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-B1TrIBvU.mjs.map +1 -0
  18. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-CvNjA4OH.mjs +163 -0
  19. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-CvNjA4OH.mjs.map +1 -0
  20. package/fesm2022/acorex-connectivity-mock-get-employee-list.query--f2M5RgC.mjs +213 -0
  21. package/fesm2022/acorex-connectivity-mock-get-employee-list.query--f2M5RgC.mjs.map +1 -0
  22. package/fesm2022/acorex-connectivity-mock-get-location-list.query-Cz55arFF.mjs +209 -0
  23. package/fesm2022/acorex-connectivity-mock-get-location-list.query-Cz55arFF.mjs.map +1 -0
  24. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-C7v7D4ep.mjs +186 -0
  25. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-C7v7D4ep.mjs.map +1 -0
  26. package/fesm2022/acorex-connectivity-mock-get-product-list.query-DTj8RYwR.mjs +246 -0
  27. package/fesm2022/acorex-connectivity-mock-get-product-list.query-DTj8RYwR.mjs.map +1 -0
  28. package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-DdLhRbP5.mjs +192 -0
  29. package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-DdLhRbP5.mjs.map +1 -0
  30. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-ybmzmVl5.mjs +56 -0
  31. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-ybmzmVl5.mjs.map +1 -0
  32. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-kciEUx7d.mjs +246 -0
  33. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-kciEUx7d.mjs.map +1 -0
  34. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-BDfrwf5Z.mjs +258 -0
  35. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-BDfrwf5Z.mjs.map +1 -0
  36. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-BD4T2loB.mjs +56 -0
  37. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-BD4T2loB.mjs.map +1 -0
  38. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-CMJ8W3Ns.mjs +294 -0
  39. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-CMJ8W3Ns.mjs.map +1 -0
  40. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-C-gCUjbX.mjs +212 -0
  41. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-C-gCUjbX.mjs.map +1 -0
  42. package/fesm2022/acorex-connectivity-mock-notify-signers.command-DLMsWjWQ.mjs +69 -0
  43. package/fesm2022/acorex-connectivity-mock-notify-signers.command-DLMsWjWQ.mjs.map +1 -0
  44. package/fesm2022/acorex-connectivity-mock-request-signature.command-JNkj9-Yz.mjs +72 -0
  45. package/fesm2022/acorex-connectivity-mock-request-signature.command-JNkj9-Yz.mjs.map +1 -0
  46. package/fesm2022/{acorex-connectivity-mock-sample.command-CkH5bmEs.mjs → acorex-connectivity-mock-sample.command-CyrjdvEA.mjs} +4 -4
  47. package/fesm2022/{acorex-connectivity-mock-sample.command-CkH5bmEs.mjs.map → acorex-connectivity-mock-sample.command-CyrjdvEA.mjs.map} +1 -1
  48. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.command-xKr94NrA.mjs +81 -0
  49. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.command-xKr94NrA.mjs.map +1 -0
  50. package/fesm2022/acorex-connectivity-mock.mjs +63874 -45210
  51. package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
  52. package/fesm2022/acorex-connectivity-utils.mjs +7 -7
  53. package/fesm2022/acorex-connectivity-utils.mjs.map +1 -1
  54. package/mock/index.d.ts +986 -1839
  55. package/package.json +6 -6
  56. package/fesm2022/acorex-connectivity-api-execute.command-CQt_HF1B.mjs.map +0 -1
package/mock/index.d.ts CHANGED
@@ -1,28 +1,29 @@
1
- import * as _acorex_platform_core from '@acorex/platform/core';
2
1
  import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPCategorizedEntityDto, AXPCategoryEntity, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPFileListItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
3
2
  import * as i0 from '@angular/core';
4
3
  import { Injector, Type } from '@angular/core';
5
4
  import * as _acorex_platform_auth from '@acorex/platform/auth';
6
- import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext, AXPLoginChallengeProvider, AXPChallengeCheckResult, AXPLoginChallengeData, AXPLoginChallengeComponentBase, AXPTenant, AXPApplication } from '@acorex/platform/auth';
5
+ import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext, AXPLoginChallengeProvider, AXPChallengeCheckResult, AXPLoginChallengeData, AXPLoginChallengeComponentBase } from '@acorex/platform/auth';
7
6
  import * as i1 from '@acorex/platform/runtime';
8
- import { AXPQuery, AXPCommand } from '@acorex/platform/runtime';
7
+ import { AXPQuery } from '@acorex/platform/runtime';
9
8
  import { Router } from '@angular/router';
10
9
  import { AXMAuthConfigs } from '@acorex/modules/auth';
11
10
  import { AXPEntityStorageService, AXPDataSeeder, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
12
11
  import Dexie, { Table } from 'dexie';
13
- import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel, AXMApplicationManagementFeatureEntityModel, AXMApplicationManagementModuleEntityModel } from '@acorex/modules/application-management';
14
- import * as _acorex_modules_report_management from '@acorex/modules/report-management';
15
- import { AXPReportCategoryProvider, AXPReportCategory, AXPReportDefinitionProvider, AXPReportDefinition, AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
12
+ import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel } from '@acorex/modules/application-management';
13
+ import { AXMTenantManagementTenantEntityModel } from '@acorex/modules/tenant-management';
14
+ import { AXMSecurityManagementRolesEntityModel, AXMSecurityManagementUsersEntityModel } from '@acorex/modules/security-management';
15
+ import { AXPSpreadsheetData } from '@acorex/platform/layout/components';
16
+ import * as _acorex_platform_common from '@acorex/platform/common';
17
+ import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, CanonicalChange as CanonicalChange$1, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
18
+ import { AXMPersonCorePersonIdentifierTypeEntityModel, AXMPersonCorePersonRelationshipTypeEntityModel } from '@acorex/modules/person-core';
19
+ import { AXPWorkflowDefinition, AXPActivityCategory, AXPActivityDefinition, AXPWorkflowCategory, AXPWorkflowInstance, AXPWorkflowEngine, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPGetWorkflowStateRequest, AXPWorkflowInstanceState, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse } from '@acorex/platform/workflow';
16
20
  import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
17
21
  import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
22
+ import { AXMMetaDataDefinitionEntityModel, AXMMetaDataSelectorValue, AXMDataManagementEquipmentEntityModel } from '@acorex/modules/data-management';
23
+ import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
18
24
  import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
19
25
  import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
20
26
  import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
21
- import { AXMLocationManagementLocationEntityModel } from '@acorex/modules/location-management';
22
- import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, CanonicalChange as CanonicalChange$1, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
23
- import { AXPWorkflowInstance, AXPWorkflowExecutionService, AXPStartWorkflowExecutionRequest, AXPStartWorkflowExecutionResponse, AXPResumeWorkflowExecutionRequest, AXPResumeWorkflowExecutionResponse, AXPGetWorkflowExecutionStateRequest, AXPWorkflowExecutionState, AXPGetWorkflowDefinitionRequest, AXPGetWorkflowDefinitionResponse, AXPWorkflowDefinition } from '@acorex/platform/workflow';
24
- import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
25
- import { AXMSystemInsightAuditLogEntityModel } from '@acorex/modules/system-insight';
26
27
  import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
27
28
 
28
29
  declare class AXCCommonMockModule {
@@ -55,6 +56,30 @@ declare class AXCCustomerManagementMockModule {
55
56
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
56
57
  }
57
58
 
59
+ declare class AXCSupplierManagementMockModule {
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSupplierManagementMockModule, never>;
61
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSupplierManagementMockModule, never, never, never>;
62
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSupplierManagementMockModule>;
63
+ }
64
+
65
+ declare class AXCProcurementManagementMockModule {
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCProcurementManagementMockModule, never>;
67
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProcurementManagementMockModule, never, never, never>;
68
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCProcurementManagementMockModule>;
69
+ }
70
+
71
+ declare class AXCOrderManagementMockModule {
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrderManagementMockModule, never>;
73
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrderManagementMockModule, never, never, never>;
74
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
75
+ }
76
+
77
+ declare class AXCSubscriptionManagementMockModule {
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
79
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
80
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSubscriptionManagementMockModule>;
81
+ }
82
+
58
83
  declare class AXCContactManagementMockModule {
59
84
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
60
85
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
@@ -67,6 +92,12 @@ declare class AXCLocationManagementMockModule {
67
92
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocationManagementMockModule>;
68
93
  }
69
94
 
95
+ declare class AXCContactCoreMockModule {
96
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactCoreMockModule, never>;
97
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactCoreMockModule, never, never, never>;
98
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactCoreMockModule>;
99
+ }
100
+
70
101
  declare class AXCOrganizationManagementMockModule {
71
102
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrganizationManagementMockModule, never>;
72
103
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrganizationManagementMockModule, never, never, never>;
@@ -121,6 +152,12 @@ declare class AXCApplicationManagementMockModule {
121
152
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
122
153
  }
123
154
 
155
+ declare class AXCTenantManagementMockModule {
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
157
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
158
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
159
+ }
160
+
124
161
  declare class AXCLearningManagementMockModule {
125
162
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
126
163
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
@@ -151,12 +188,6 @@ declare class AXCHelpDeskMockModule {
151
188
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
152
189
  }
153
190
 
154
- declare class AXCSystemInsightMockModule {
155
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightMockModule, never>;
156
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSystemInsightMockModule, never, never, never>;
157
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSystemInsightMockModule>;
158
- }
159
-
160
191
  declare class AXCCalendarManagementMockModule {
161
192
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
162
193
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
@@ -187,10 +218,22 @@ declare class AXCTaskManagementMockModule {
187
218
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
188
219
  }
189
220
 
190
- declare class AXCPartyManagementMockModule {
191
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPartyManagementMockModule, never>;
192
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPartyManagementMockModule, never, never, never>;
193
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPartyManagementMockModule>;
221
+ declare class AXCPersonCoreMockModule {
222
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonCoreMockModule, never>;
223
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonCoreMockModule, never, never, never>;
224
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonCoreMockModule>;
225
+ }
226
+
227
+ declare class AXCHealthCoreMockModule {
228
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCHealthCoreMockModule, never>;
229
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHealthCoreMockModule, never, never, never>;
230
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCHealthCoreMockModule>;
231
+ }
232
+
233
+ declare class AXCPersonManagementMockModule {
234
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonManagementMockModule, never>;
235
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonManagementMockModule, never, never, never>;
236
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonManagementMockModule>;
194
237
  }
195
238
 
196
239
  declare class AXCContentManagementMockModule {
@@ -229,12 +272,24 @@ declare class AXCMeasurementCoreMockModule {
229
272
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeasurementCoreMockModule>;
230
273
  }
231
274
 
275
+ declare class AXCBusinessCoreMockModule {
276
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCBusinessCoreMockModule, never>;
277
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCBusinessCoreMockModule, never, never, never>;
278
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCBusinessCoreMockModule>;
279
+ }
280
+
232
281
  declare class AXCProductCatalogMockModule {
233
282
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCProductCatalogMockModule, never>;
234
283
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProductCatalogMockModule, never, never, never>;
235
284
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCProductCatalogMockModule>;
236
285
  }
237
286
 
287
+ declare class AXCReservationManagementMockModule {
288
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCReservationManagementMockModule, never>;
289
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReservationManagementMockModule, never, never, never>;
290
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCReservationManagementMockModule>;
291
+ }
292
+
238
293
  declare class AXCMiddlewaresModule {
239
294
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
240
295
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, never, never>;
@@ -244,7 +299,7 @@ declare class AXCMiddlewaresModule {
244
299
  declare class AXCMockModule {
245
300
  constructor(appInitService: AXPAppStartUpService, injector: Injector);
246
301
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
247
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCSystemInsightMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPartyManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCMiddlewaresModule], never>;
302
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonCoreMockModule, typeof AXCHealthCoreMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCBusinessCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMiddlewaresModule], never>;
248
303
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
249
304
  }
250
305
 
@@ -416,7 +471,8 @@ declare class AXCDexieEntityStorageService extends Dexie implements AXPEntitySto
416
471
  */
417
472
  private isCategoryEntity;
418
473
  /**
419
- * Calculate childrenCount for each category entity
474
+ * Calculate childrenCount for each category entity.
475
+ * Uses stored childrenCount when present; computes only when missing or invalid.
420
476
  */
421
477
  private calculateChildrenCounts;
422
478
  /**
@@ -450,6 +506,24 @@ declare class AXCApplicationDataSeeder implements AXPDataSeeder {
450
506
  }
451
507
 
452
508
  declare const EDITIONS: AXMApplicationManagementEditionEntityModel[];
509
+ declare const SHOP_BASIC: AXMApplicationManagementEditionEntityModel;
510
+ declare const SHOP_PRO: AXMApplicationManagementEditionEntityModel;
511
+ declare const SHOP_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
512
+ declare const FINANCE_BASIC: AXMApplicationManagementEditionEntityModel;
513
+ declare const FINANCE_PRO: AXMApplicationManagementEditionEntityModel;
514
+ declare const FINANCE_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
515
+ declare const ORDERING_BASIC: AXMApplicationManagementEditionEntityModel;
516
+ declare const ORDERING_STANDARD: AXMApplicationManagementEditionEntityModel;
517
+ declare const ORDERING_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
518
+ declare const PLATFORM_CONSOLE: AXMApplicationManagementEditionEntityModel;
519
+ declare const SAFETYMINDER_BASIC: AXMApplicationManagementEditionEntityModel;
520
+ declare const SAFETYMINDER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
521
+ declare const SAFETYMINDER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
522
+ declare const COSTMANAGER_STANDARD: AXMApplicationManagementEditionEntityModel;
523
+ declare const COSTMANAGER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
524
+ declare const COSTMANAGER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
525
+ declare const CRM_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
526
+ declare const HR_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
453
527
 
454
528
  declare class AXCEditionDataSeeder implements AXPDataSeeder {
455
529
  private readonly storageService;
@@ -458,22 +532,19 @@ declare class AXCEditionDataSeeder implements AXPDataSeeder {
458
532
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
459
533
  }
460
534
 
461
- declare const FEATURES: AXMApplicationManagementFeatureEntityModel[];
462
-
463
- declare class AXCFeatureDataSeeder implements AXPDataSeeder {
464
- private readonly storageService;
535
+ declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
536
+ private storageService;
537
+ private appVersionService;
465
538
  seed(): Promise<void>;
466
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFeatureDataSeeder, never>;
467
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFeatureDataSeeder>;
539
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
540
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
468
541
  }
469
542
 
470
- declare const MODULES: AXMApplicationManagementModuleEntityModel[];
471
-
472
- declare class AXCModuleDataSeeder implements AXPDataSeeder {
473
- private readonly storageService;
543
+ declare class AXCAppTermDataSeeder implements AXPDataSeeder {
544
+ private storageService;
474
545
  seed(): Promise<void>;
475
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCModuleDataSeeder, never>;
476
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCModuleDataSeeder>;
546
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
547
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
477
548
  }
478
549
 
479
550
  interface QuestionBankItemMockDto extends AXPCategorizedEntityDto {
@@ -503,8 +574,40 @@ interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
503
574
  title: string;
504
575
  description?: string;
505
576
  type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
506
- sections: any[];
507
- items: any[];
577
+ preEnabled?: boolean;
578
+ preContent?: string | Record<string, string>;
579
+ postReviewEnabled?: boolean;
580
+ postSummaryEnabled?: boolean;
581
+ postSummaryContent?: string | Record<string, string>;
582
+ structure?: {
583
+ sections: Array<{
584
+ id: string;
585
+ title: string;
586
+ description?: string;
587
+ order: number;
588
+ visibilityCondition?: string;
589
+ scoringWeight?: number;
590
+ items: Array<{
591
+ id: string;
592
+ questionBankItemId: string;
593
+ order: number;
594
+ isRequired?: boolean;
595
+ visibilityCondition?: string;
596
+ requiredCondition?: string;
597
+ scoringOverride?: {
598
+ points?: number;
599
+ weight?: number;
600
+ };
601
+ }>;
602
+ }>;
603
+ displaySettings?: {
604
+ viewMode?: 'single-page' | 'page-per-group' | 'page-per-question';
605
+ showProgressBar?: boolean;
606
+ showTimer?: boolean;
607
+ showSectionTitles?: boolean;
608
+ showQuestionNumbers?: boolean;
609
+ };
610
+ };
508
611
  scoringType: 'none' | 'cumulative' | 'weighted' | 'formula';
509
612
  passingScore?: number;
510
613
  scoringFormula?: string;
@@ -515,7 +618,6 @@ interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
515
618
  allowBackNavigation: boolean;
516
619
  randomizeQuestions: boolean;
517
620
  requireAllAnswers: boolean;
518
- showProgressBar: boolean;
519
621
  categoryIds: string[];
520
622
  categories: {
521
623
  id: string;
@@ -555,379 +657,303 @@ declare class AXMQuestionnaireDataSeeder implements AXPDataSeeder {
555
657
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireDataSeeder>;
556
658
  }
557
659
 
558
- declare const publicationMock: ({
660
+ declare const assessmentCaseMock: {
559
661
  id: string;
560
662
  questionnaireId: string;
561
663
  questionnaire: {
562
664
  id: string;
563
665
  title: string;
564
- type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
666
+ type: "questionnaire" | "survey" | "checklist" | "test" | "evaluation";
565
667
  };
566
668
  title: string;
567
669
  description: string;
568
- mode: string;
569
- assignedToUserIds: never[];
570
- assignedToUsers: never[];
571
- validFrom: Date;
572
- validTo: Date;
573
- timerMode: string;
574
- timeLimit: number;
575
- allowMultipleSubmissions: boolean;
576
- showResults: string;
577
- requireReview: boolean;
578
- createdAt: Date;
579
- updatedAt: Date;
580
- accessCode?: undefined;
581
- isActive?: undefined;
582
- } | {
583
- id: string;
584
- questionnaireId: string;
585
- questionnaire: {
586
- id: string;
587
- title: string;
588
- type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
589
- };
590
- title: string;
591
- description: string;
592
- mode: string;
593
- accessCode: string;
594
- validFrom: Date;
595
- validTo: Date;
596
- timerMode: string;
597
- timeLimit: number;
598
- allowMultipleSubmissions: boolean;
599
- showResults: string;
600
- requireReview: boolean;
601
- isActive: boolean;
602
- createdAt: Date;
603
- updatedAt: Date;
604
- assignedToUserIds?: undefined;
605
- assignedToUsers?: undefined;
606
- } | {
607
- id: string;
608
- questionnaireId: string;
609
- questionnaire: {
670
+ subjectRef: {
671
+ type: string;
610
672
  id: string;
611
673
  title: string;
612
- type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
613
674
  };
614
- title: string;
615
- description: string;
616
- mode: string;
617
- assignedToUserIds: never[];
618
- assignedToUsers: never[];
619
- timerMode: string;
620
- allowMultipleSubmissions: boolean;
621
- showResults: string;
622
- requireReview: boolean;
675
+ statusId: string;
623
676
  createdAt: Date;
624
677
  updatedAt: Date;
625
- validFrom?: undefined;
626
- validTo?: undefined;
627
- timeLimit?: undefined;
628
- accessCode?: undefined;
629
- isActive?: undefined;
630
- })[];
678
+ }[];
631
679
 
632
- declare class AXMPublicationDataSeeder implements AXPDataSeeder {
680
+ declare class AXMAssessmentCaseDataSeeder implements AXPDataSeeder {
633
681
  private storage;
634
682
  seed(): Promise<void>;
635
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPublicationDataSeeder, never>;
636
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPublicationDataSeeder>;
683
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentCaseDataSeeder, never>;
684
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentCaseDataSeeder>;
637
685
  }
638
686
 
639
- declare const responseSessionMock: ({
687
+ declare const assessmentSessionMock: ({
640
688
  id: string;
641
- publicationId: string;
642
- publication: {
689
+ caseId: string;
690
+ case: {
643
691
  id: string;
644
692
  title: string;
645
693
  };
646
- primaryResponderId: string;
647
- primaryResponder: {
694
+ responderId: string;
695
+ responder: {
648
696
  id: string;
649
697
  displayName: string;
650
698
  };
651
- status: string;
699
+ role: string;
700
+ statusId: string;
652
701
  startedAt: Date;
702
+ lastSavedAt: Date;
653
703
  timeSpent: number;
654
- currentSectionId: string;
655
- currentItemIndex: number;
656
- completionPercentage: number;
657
- createdAt: Date;
658
- updatedAt: Date;
659
- completedAt?: undefined;
660
- submittedAt?: undefined;
661
- totalScore?: undefined;
662
- maxScore?: undefined;
663
- percentage?: undefined;
664
- grade?: undefined;
665
- passed?: undefined;
666
- reviewedBy?: undefined;
667
- reviewer?: undefined;
668
- } | {
669
- id: string;
670
- publicationId: string;
671
- publication: {
672
- id: string;
673
- title: string;
674
- };
675
- primaryResponderId: string;
676
- primaryResponder: {
677
- id: string;
678
- displayName: string;
704
+ progressPercentage: number;
705
+ answeredQuestionsCount: number;
706
+ answers: {
707
+ 'item-1': {
708
+ value: string;
709
+ };
710
+ 'item-2': {
711
+ value: number;
712
+ };
713
+ 'item-3': {
714
+ value: string;
715
+ };
716
+ 'item-4': {
717
+ value: string;
718
+ };
719
+ 'item-5': {
720
+ value: string;
721
+ };
722
+ 'item-6': {
723
+ value: string;
724
+ };
725
+ 'item-7'?: undefined;
726
+ 'item-8'?: undefined;
727
+ 'item-9'?: undefined;
728
+ 'item-10'?: undefined;
679
729
  };
680
- status: string;
681
- startedAt: Date;
682
- completedAt: Date;
683
- submittedAt: Date;
684
- timeSpent: number;
685
- currentItemIndex: number;
686
- completionPercentage: number;
687
- totalScore: number;
688
- maxScore: number;
689
- percentage: number;
690
- grade: string;
691
- passed: boolean;
692
730
  createdAt: Date;
693
731
  updatedAt: Date;
694
- currentSectionId?: undefined;
695
- reviewedBy?: undefined;
696
- reviewer?: undefined;
732
+ previousId?: undefined;
697
733
  } | {
698
734
  id: string;
699
- publicationId: string;
700
- publication: {
735
+ caseId: string;
736
+ case: {
701
737
  id: string;
702
738
  title: string;
703
739
  };
704
- primaryResponderId: string;
705
- primaryResponder: {
740
+ responderId: string;
741
+ responder: {
706
742
  id: string;
707
743
  displayName: string;
708
744
  };
709
- status: string;
745
+ role: string;
746
+ statusId: string;
710
747
  startedAt: Date;
711
- completedAt: Date;
712
- submittedAt: Date;
748
+ lastSavedAt: Date;
713
749
  timeSpent: number;
714
- currentItemIndex: number;
715
- completionPercentage: number;
716
- totalScore: number;
717
- maxScore: number;
718
- percentage: number;
719
- grade: string;
720
- passed: boolean;
721
- reviewedBy: string;
722
- reviewer: {
723
- id: string;
724
- displayName: string;
725
- };
726
- createdAt: Date;
727
- updatedAt: Date;
728
- currentSectionId?: undefined;
729
- })[];
730
-
731
- declare class AXMResponseSessionDataSeeder implements AXPDataSeeder {
732
- private storage;
733
- seed(): Promise<void>;
734
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMResponseSessionDataSeeder, never>;
735
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMResponseSessionDataSeeder>;
736
- }
737
-
738
- declare const collaboratorMock: ({
739
- id: string;
740
- sessionId: string;
741
- session: {
742
- id: string;
743
- publicationId: string;
744
- };
745
- userId: string;
746
- user: {
747
- id: string;
748
- displayName: string;
750
+ progressPercentage: number;
751
+ answeredQuestionsCount: number;
752
+ answers: {
753
+ 'item-1': {
754
+ value: string;
755
+ };
756
+ 'item-2': {
757
+ value: number;
758
+ };
759
+ 'item-3': {
760
+ value: string;
761
+ };
762
+ 'item-4': {
763
+ value: string;
764
+ };
765
+ 'item-5': {
766
+ value: string;
767
+ };
768
+ 'item-6': {
769
+ value: string;
770
+ };
771
+ 'item-7': {
772
+ value: string;
773
+ };
774
+ 'item-8': {
775
+ value: string;
776
+ };
777
+ 'item-9': {
778
+ value: string;
779
+ };
780
+ 'item-10': {
781
+ value: string;
782
+ };
749
783
  };
750
- role: string;
751
- canRespond: boolean;
752
- canOverride: boolean;
753
- canReview: boolean;
754
- canView: boolean;
755
- joinedAt: Date;
756
- lastActiveAt: Date;
757
784
  createdAt: Date;
758
785
  updatedAt: Date;
786
+ previousId?: undefined;
759
787
  } | {
760
788
  id: string;
761
- sessionId: string;
762
- session: {
763
- id: string;
764
- publicationId: string;
765
- };
766
- userId: string;
767
- user: {
768
- id: string;
769
- displayName: string;
770
- };
771
- role: string;
772
- canRespond: boolean;
773
- canOverride: boolean;
774
- canReview: boolean;
775
- canView: boolean;
776
- joinedAt: Date;
777
- createdAt: Date;
778
- updatedAt: Date;
779
- lastActiveAt?: undefined;
780
- })[];
781
-
782
- declare class AXMCollaboratorDataSeeder implements AXPDataSeeder {
783
- private storage;
784
- seed(): Promise<void>;
785
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMCollaboratorDataSeeder, never>;
786
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMCollaboratorDataSeeder>;
787
- }
788
-
789
- declare const responseEntryMock: ({
790
- id: string;
791
- sessionId: string;
792
- session: {
789
+ caseId: string;
790
+ case: {
793
791
  id: string;
794
- publicationId: string;
792
+ title: string;
795
793
  };
796
- questionnaireItemId: string;
797
794
  responderId: string;
798
795
  responder: {
799
796
  id: string;
800
797
  displayName: string;
801
798
  };
802
- responderRole: string;
803
- answer: {
804
- rating: number;
805
- text?: undefined;
806
- selectedOption?: undefined;
807
- };
808
- isOverridden: boolean;
809
- score: number;
810
- maxScore: number;
811
- isCorrect: boolean;
812
- answeredAt: Date;
799
+ role: string;
800
+ statusId: string;
801
+ previousId: string;
802
+ startedAt: Date;
803
+ lastSavedAt: Date;
813
804
  timeSpent: number;
814
- attemptCount: number;
815
- skipped: boolean;
816
- flaggedForReview: boolean;
805
+ progressPercentage: number;
806
+ answeredQuestionsCount: number;
807
+ answers: {
808
+ 'item-1': {
809
+ value: string;
810
+ };
811
+ 'item-2': {
812
+ value: number;
813
+ };
814
+ 'item-3': {
815
+ value: string;
816
+ };
817
+ 'item-4': {
818
+ value: string;
819
+ };
820
+ 'item-5': {
821
+ value: string;
822
+ };
823
+ 'item-6': {
824
+ value: string;
825
+ };
826
+ 'item-7': {
827
+ value: string;
828
+ };
829
+ 'item-8': {
830
+ value: string;
831
+ };
832
+ 'item-9': {
833
+ value: string;
834
+ };
835
+ 'item-10': {
836
+ value: string;
837
+ };
838
+ };
817
839
  createdAt: Date;
818
840
  updatedAt: Date;
819
- overriddenBy?: undefined;
820
- overrider?: undefined;
821
- overriddenAt?: undefined;
822
- originalAnswer?: undefined;
823
- overrideReason?: undefined;
824
841
  } | {
825
842
  id: string;
826
- sessionId: string;
827
- session: {
843
+ caseId: string;
844
+ case: {
828
845
  id: string;
829
- publicationId: string;
846
+ title: string;
830
847
  };
831
- questionnaireItemId: string;
832
848
  responderId: string;
833
849
  responder: {
834
850
  id: string;
835
851
  displayName: string;
836
852
  };
837
- responderRole: string;
838
- answer: {
839
- text: string;
840
- rating?: undefined;
841
- selectedOption?: undefined;
842
- };
843
- isOverridden: boolean;
844
- overriddenBy: string;
845
- overrider: {
846
- id: string;
847
- displayName: string;
848
- };
849
- overriddenAt: Date;
850
- originalAnswer: {
851
- text: string;
853
+ role: string;
854
+ statusId: string;
855
+ progressPercentage: number;
856
+ answeredQuestionsCount: number;
857
+ answers: {
858
+ 'item-1'?: undefined;
859
+ 'item-2'?: undefined;
860
+ 'item-3'?: undefined;
861
+ 'item-4'?: undefined;
862
+ 'item-5'?: undefined;
863
+ 'item-6'?: undefined;
864
+ 'item-7'?: undefined;
865
+ 'item-8'?: undefined;
866
+ 'item-9'?: undefined;
867
+ 'item-10'?: undefined;
852
868
  };
853
- overrideReason: string;
854
- score: number;
855
- maxScore: number;
856
- answeredAt: Date;
857
- timeSpent: number;
858
- attemptCount: number;
859
- skipped: boolean;
860
- flaggedForReview: boolean;
861
869
  createdAt: Date;
862
870
  updatedAt: Date;
863
- isCorrect?: undefined;
871
+ startedAt?: undefined;
872
+ lastSavedAt?: undefined;
873
+ timeSpent?: undefined;
874
+ previousId?: undefined;
864
875
  } | {
865
876
  id: string;
866
- sessionId: string;
867
- session: {
877
+ caseId: string;
878
+ case: {
868
879
  id: string;
869
- publicationId: string;
880
+ title: string;
870
881
  };
871
- questionnaireItemId: string;
872
882
  responderId: string;
873
883
  responder: {
874
884
  id: string;
875
885
  displayName: string;
876
886
  };
877
- responderRole: string;
878
- answer: {
879
- selectedOption: string;
880
- rating?: undefined;
881
- text?: undefined;
882
- };
883
- isOverridden: boolean;
884
- score: number;
885
- maxScore: number;
886
- isCorrect: boolean;
887
- answeredAt: Date;
887
+ role: string;
888
+ statusId: string;
889
+ startedAt: Date;
890
+ lastSavedAt: Date;
888
891
  timeSpent: number;
889
- attemptCount: number;
890
- skipped: boolean;
891
- flaggedForReview: boolean;
892
+ progressPercentage: number;
893
+ answeredQuestionsCount: number;
894
+ answers: {
895
+ 'item-1': {
896
+ value: string;
897
+ };
898
+ 'item-2': {
899
+ value: string;
900
+ };
901
+ 'item-3': {
902
+ value: string;
903
+ };
904
+ 'item-4'?: undefined;
905
+ 'item-5'?: undefined;
906
+ 'item-6'?: undefined;
907
+ 'item-7'?: undefined;
908
+ 'item-8'?: undefined;
909
+ 'item-9'?: undefined;
910
+ 'item-10'?: undefined;
911
+ };
892
912
  createdAt: Date;
893
913
  updatedAt: Date;
894
- overriddenBy?: undefined;
895
- overrider?: undefined;
896
- overriddenAt?: undefined;
897
- originalAnswer?: undefined;
898
- overrideReason?: undefined;
914
+ previousId?: undefined;
899
915
  })[];
900
916
 
901
- declare class AXMResponseEntryDataSeeder implements AXPDataSeeder {
917
+ declare class AXMAssessmentSessionDataSeeder implements AXPDataSeeder {
902
918
  private storage;
903
919
  seed(): Promise<void>;
904
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMResponseEntryDataSeeder, never>;
905
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMResponseEntryDataSeeder>;
906
- }
907
-
908
- declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
909
- private storageService;
910
- private appVersionService;
911
- seed(): Promise<void>;
912
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
913
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
920
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentSessionDataSeeder, never>;
921
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentSessionDataSeeder>;
914
922
  }
915
923
 
916
- declare class AXCGlobalVariablesDataSeeder implements AXPDataSeeder {
924
+ declare class AXCTokensDataSeeder implements AXPDataSeeder {
917
925
  private storageService;
918
926
  seed(): Promise<void>;
919
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGlobalVariablesDataSeeder, never>;
920
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGlobalVariablesDataSeeder>;
927
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTokensDataSeeder, never>;
928
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTokensDataSeeder>;
921
929
  }
922
930
 
923
- declare const GLOBAL_VARIABLES: {
931
+ declare const TOKENS: {
924
932
  id: string;
925
933
  name: string;
926
934
  title: string;
927
- dataType: string;
928
- value: string;
935
+ description: string;
936
+ type: "String" | "Integer" | "Boolean" | "Expression";
937
+ expression: string;
929
938
  }[];
930
939
 
940
+ /**
941
+ * Tenant ID constants for use across mock data.
942
+ * These are generated once and exported to ensure consistency.
943
+ */
944
+ declare const PLATFORM_TENANT_ID: string;
945
+ declare const TIMEPLICITY_TENANT_ID: string;
946
+ declare const LASER_PLUMBING_TENANT_ID: string;
947
+
948
+ declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
949
+
950
+ declare class AXCTenantSeeder implements AXPDataSeeder {
951
+ private readonly storageService;
952
+ seed(): Promise<void>;
953
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantSeeder, never>;
954
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTenantSeeder>;
955
+ }
956
+
931
957
  declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
932
958
  private storageService;
933
959
  seed(): Promise<void>;
@@ -942,23 +968,13 @@ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
942
968
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
943
969
  }
944
970
 
945
- declare const tenantsMock: AXPTenant[];
946
-
947
- declare const applications: AXPApplication[];
948
-
949
- declare const mockRoleDefinitions: {
950
- id: string;
951
- name: string;
952
- title: string;
953
- description: string;
954
- permissions: string[];
955
- }[];
971
+ type RoleMockDto = AXMSecurityManagementRolesEntityModel;
972
+ declare const mockRoleDefinitions: RoleMockDto[];
956
973
 
957
- interface AXCMockUserMockDto {
974
+ interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
958
975
  id: string;
959
976
  username: string;
960
977
  displayName: string;
961
- partyId: string;
962
978
  roleIds: string[];
963
979
  roles: {
964
980
  id: string;
@@ -1016,15 +1032,15 @@ declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | unde
1016
1032
  interface AXCEmployeeMockDto {
1017
1033
  id: string;
1018
1034
  userId?: string;
1019
- partyId: string;
1020
- party: {
1035
+ personId: string;
1036
+ person: {
1021
1037
  id: string;
1022
1038
  displayName: string;
1023
1039
  };
1024
1040
  birthDate: Date;
1025
1041
  employeeCode: string;
1026
- roleId: string;
1027
- role: {
1042
+ jobDefinitionId: string;
1043
+ jobDefinition: {
1028
1044
  id: string;
1029
1045
  title: string;
1030
1046
  };
@@ -1040,28 +1056,28 @@ interface AXCEmployeeMockDto {
1040
1056
  }
1041
1057
  declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
1042
1058
 
1043
- type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
1059
+ type AXCEmployeeMock$1 = (typeof EMPLOYEES_MOCK)[number];
1044
1060
  interface AXCTeamMockDto {
1045
1061
  id: string;
1046
1062
  title: string;
1047
1063
  description: string;
1048
1064
  leaderId: string;
1049
- leader: AXCEmployeeMock;
1065
+ leader: AXCEmployeeMock$1;
1050
1066
  managerId: string;
1051
- manager: AXCEmployeeMock;
1067
+ manager: AXCEmployeeMock$1;
1052
1068
  memberIds: string[];
1053
- members: AXCEmployeeMock[];
1069
+ members: AXCEmployeeMock$1[];
1054
1070
  }
1055
1071
  interface AXCTeamMockDto {
1056
1072
  id: string;
1057
1073
  title: string;
1058
1074
  description: string;
1059
1075
  leaderId: string;
1060
- leader: AXCEmployeeMock;
1076
+ leader: AXCEmployeeMock$1;
1061
1077
  managerId: string;
1062
- manager: AXCEmployeeMock;
1078
+ manager: AXCEmployeeMock$1;
1063
1079
  memberIds: string[];
1064
- members: AXCEmployeeMock[];
1080
+ members: AXCEmployeeMock$1[];
1065
1081
  }
1066
1082
  declare const TEAMS_MOCK: AXCTeamMockDto[];
1067
1083
 
@@ -1072,8 +1088,44 @@ declare class AXMTeamDataSeeder implements AXPDataSeeder {
1072
1088
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
1073
1089
  }
1074
1090
 
1091
+ interface AXCTeamMemberRoleMockDto {
1092
+ id: string;
1093
+ title: string;
1094
+ name: 'leader' | 'member' | 'co-leader' | 'advisor';
1095
+ }
1096
+ declare const TEAM_MEMBER_ROLES_MOCK: AXCTeamMemberRoleMockDto[];
1097
+
1098
+ declare class AXMTeamMemberRoleDataSeeder implements AXPDataSeeder {
1099
+ private storageService;
1100
+ seed(): Promise<void>;
1101
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamMemberRoleDataSeeder, never>;
1102
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamMemberRoleDataSeeder>;
1103
+ }
1104
+
1105
+ type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
1106
+ type AXCTeamMock = (typeof TEAMS_MOCK)[number];
1107
+ type AXCTeamMemberRoleMock = (typeof TEAM_MEMBER_ROLES_MOCK)[number];
1108
+ interface AXCTeamMemberMockDto {
1109
+ id: string;
1110
+ teamId: string;
1111
+ team: AXCTeamMock;
1112
+ employeeId: string;
1113
+ employee: AXCEmployeeMock;
1114
+ roleId: string;
1115
+ role: AXCTeamMemberRoleMock;
1116
+ }
1117
+ declare const TEAM_MEMBERS_MOCK: AXCTeamMemberMockDto[];
1118
+
1119
+ declare class AXMTeamMemberDataSeeder implements AXPDataSeeder {
1120
+ private storageService;
1121
+ seed(): Promise<void>;
1122
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamMemberDataSeeder, never>;
1123
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamMemberDataSeeder>;
1124
+ }
1125
+
1075
1126
  interface PositionMockDto extends AXPCategorizedEntityDto {
1076
1127
  id: string;
1128
+ code: string;
1077
1129
  title: string;
1078
1130
  description: string;
1079
1131
  categoryIds: string[];
@@ -1081,7 +1133,22 @@ interface PositionMockDto extends AXPCategorizedEntityDto {
1081
1133
  id: string;
1082
1134
  title: string;
1083
1135
  }[];
1084
- isManager?: boolean;
1136
+ jobLevelId: string;
1137
+ jobLevel?: {
1138
+ id: string;
1139
+ title: string;
1140
+ };
1141
+ jobDefinitionId?: string;
1142
+ jobDefinition?: {
1143
+ id: string;
1144
+ title: string;
1145
+ };
1146
+ businessUnitId?: string;
1147
+ businessUnit?: {
1148
+ id: string;
1149
+ title: string;
1150
+ };
1151
+ capacity?: number;
1085
1152
  }
1086
1153
  declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1087
1154
  declare const POSITIONS_MOCK: PositionMockDto[];
@@ -1093,7 +1160,7 @@ declare class AXMPositionDataSeeder implements AXPDataSeeder {
1093
1160
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
1094
1161
  }
1095
1162
 
1096
- interface RoleMockDto extends AXPCategorizedEntityDto {
1163
+ interface JobDefinitionMockDto extends AXPCategorizedEntityDto {
1097
1164
  id: string;
1098
1165
  title: string;
1099
1166
  description: string;
@@ -1102,25 +1169,38 @@ interface RoleMockDto extends AXPCategorizedEntityDto {
1102
1169
  id: string;
1103
1170
  title: string;
1104
1171
  }[];
1105
- skillsId: string[];
1106
- skills: {
1107
- id: string;
1108
- title: string;
1109
- }[];
1110
- responsibilitiesId: string[];
1111
- responsibilities: {
1172
+ responsibilityLevelIds?: string[];
1173
+ responsibilities?: AXPSpreadsheetData;
1174
+ jobLevelIds?: string[];
1175
+ jobLevels?: {
1112
1176
  id: string;
1113
1177
  title: string;
1114
1178
  }[];
1179
+ skillRequirements?: AXPSpreadsheetData;
1180
+ }
1181
+ declare const JOB_DEFINITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1182
+ declare const JOB_DEFINITIONS_MOCK: JobDefinitionMockDto[];
1183
+
1184
+ declare class AXMJobDefinitionDataSeeder implements AXPDataSeeder {
1185
+ private storageService;
1186
+ seed(): Promise<void>;
1187
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobDefinitionDataSeeder, never>;
1188
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobDefinitionDataSeeder>;
1189
+ }
1190
+
1191
+ interface JobLevelMockDto {
1192
+ id: string;
1193
+ title: string;
1194
+ description?: string;
1195
+ level: number;
1115
1196
  }
1116
- declare const ROLES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1117
- declare const ROLES_MOCK: RoleMockDto[];
1197
+ declare const JOB_LEVELS_MOCK: JobLevelMockDto[];
1118
1198
 
1119
- declare class AXMRoleDataSeeder implements AXPDataSeeder {
1199
+ declare class AXMJobLevelDataSeeder implements AXPDataSeeder {
1120
1200
  private storageService;
1121
1201
  seed(): Promise<void>;
1122
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMRoleDataSeeder, never>;
1123
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMRoleDataSeeder>;
1202
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobLevelDataSeeder, never>;
1203
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobLevelDataSeeder>;
1124
1204
  }
1125
1205
 
1126
1206
  interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
@@ -1172,116 +1252,49 @@ declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
1172
1252
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
1173
1253
  }
1174
1254
 
1175
- interface SkillMockDto extends AXPCategorizedEntityDto {
1176
- id: string;
1177
- title: string;
1178
- description: string;
1179
- categoryIds: string[];
1180
- categories: {
1181
- id: string;
1182
- title: string;
1183
- }[];
1184
- }
1185
- declare const SKILLS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1186
- declare const SKILLS_MOCK: SkillMockDto[];
1255
+ declare const EMPLOYMENT_TYPES_MOCK: any[];
1187
1256
 
1188
- declare class AXMSkillDataSeeder implements AXPDataSeeder {
1257
+ declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
1189
1258
  private storageService;
1190
1259
  seed(): Promise<void>;
1191
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMSkillDataSeeder, never>;
1192
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMSkillDataSeeder>;
1193
- }
1194
-
1195
- interface AXCSkillLevelMockDto {
1196
- id: string;
1197
- title: string;
1198
- order: number;
1199
- isActive: boolean;
1200
- description?: string;
1201
- }
1202
- declare const SKILL_LEVELS_MOCK: AXCSkillLevelMockDto[];
1203
-
1204
- declare class AXMSkillLevelDataSeeder implements AXPDataSeeder {
1205
- private readonly storageService;
1206
- seed(): Promise<void>;
1207
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMSkillLevelDataSeeder, never>;
1208
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMSkillLevelDataSeeder>;
1209
- }
1210
-
1211
- /**
1212
- * Mock DTO for employee skill relation entries.
1213
- */
1214
- interface AXCEmployeeSkillMockDto {
1215
- id: string;
1216
- employeeId: string;
1217
- employee?: any;
1218
- skillId: string;
1219
- skill?: any;
1220
- levelId: string;
1221
- level?: any;
1222
- yearsOfExperience?: number;
1223
- lastUsedDate?: Date;
1224
- validatedBy?: string;
1225
- validationSource?: string;
1226
- validationDate?: Date;
1227
- notes?: string;
1228
- }
1229
- declare const EMPLOYEE_SKILLS_MOCK: AXCEmployeeSkillMockDto[];
1230
-
1231
- declare class AXMEmployeeSkillDataSeeder implements AXPDataSeeder {
1232
- private storageService;
1233
- seed(): Promise<void>;
1234
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillDataSeeder, never>;
1235
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillDataSeeder>;
1236
- }
1237
-
1238
- declare const EMPLOYMENT_TYPES_MOCK: any[];
1239
-
1240
- declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
1241
- private storageService;
1242
- seed(): Promise<void>;
1243
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmploymentTypeDataSeeder, never>;
1244
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmploymentTypeDataSeeder>;
1260
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmploymentTypeDataSeeder, never>;
1261
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmploymentTypeDataSeeder>;
1245
1262
  }
1246
1263
 
1247
1264
  declare const LEAVE_REQUEST_STATUS_DEFINITIONS: readonly [{
1248
- readonly name: _acorex_platform_core.AXPSystemStatusType.Pending;
1265
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Pending;
1249
1266
  readonly title: string;
1250
1267
  readonly icon: "fa-light fa-clock";
1251
1268
  readonly color: "warning";
1252
1269
  readonly description: string;
1253
1270
  readonly order: 1;
1254
- readonly isActive: true;
1255
1271
  readonly isInitial: true;
1256
1272
  readonly isFinal: false;
1257
1273
  }, {
1258
- readonly name: _acorex_platform_core.AXPSystemStatusType.Approved;
1274
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Approved;
1259
1275
  readonly title: string;
1260
1276
  readonly icon: "fa-light fa-check-circle";
1261
1277
  readonly color: "success";
1262
1278
  readonly description: string;
1263
1279
  readonly order: 3;
1264
- readonly isActive: true;
1265
1280
  readonly isInitial: false;
1266
1281
  readonly isFinal: false;
1267
1282
  }, {
1268
- readonly name: _acorex_platform_core.AXPSystemStatusType.Rejected;
1283
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Rejected;
1269
1284
  readonly title: string;
1270
1285
  readonly icon: "fa-light fa-times-circle";
1271
1286
  readonly color: "danger";
1272
1287
  readonly description: string;
1273
1288
  readonly order: 6;
1274
- readonly isActive: true;
1275
1289
  readonly isInitial: false;
1276
1290
  readonly isFinal: true;
1277
1291
  }, {
1278
- readonly name: _acorex_platform_core.AXPSystemStatusType.Cancelled;
1292
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Cancelled;
1279
1293
  readonly title: string;
1280
1294
  readonly icon: "fa-light fa-times-circle";
1281
1295
  readonly color: "neutral";
1282
1296
  readonly description: string;
1283
1297
  readonly order: 6;
1284
- readonly isActive: true;
1285
1298
  readonly isInitial: false;
1286
1299
  readonly isFinal: true;
1287
1300
  }];
@@ -1311,111 +1324,13 @@ declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
1311
1324
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
1312
1325
  }
1313
1326
 
1314
- declare class AXMEmployeeSkillsCategoryProvider implements AXPReportCategoryProvider {
1315
- getList(parentId?: string): Promise<AXPReportCategory[]>;
1316
- getById(id: string): Promise<AXPReportCategory | undefined>;
1317
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillsCategoryProvider, never>;
1318
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillsCategoryProvider>;
1319
- }
1320
- declare class AXMEmployeeSkillsReportDefinitionProvider implements AXPReportDefinitionProvider {
1321
- getList(categoryId: string): Promise<AXPReportDefinition[]>;
1322
- getById(id: string): Promise<AXPReportDefinition | undefined>;
1323
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeSkillsReportDefinitionProvider, never>;
1324
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeSkillsReportDefinitionProvider>;
1325
- }
1326
- declare const AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER: {
1327
- provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
1328
- useClass: typeof AXMEmployeeSkillsCategoryProvider;
1329
- multi: boolean;
1330
- };
1331
- declare const AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER: {
1332
- provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
1333
- useClass: typeof AXMEmployeeSkillsReportDefinitionProvider;
1334
- multi: boolean;
1335
- };
1327
+ type PersonIdentifierTypeMockDto = AXMPersonCorePersonIdentifierTypeEntityModel;
1328
+ declare const personIdentifierTypeMock: PersonIdentifierTypeMockDto[];
1336
1329
 
1337
- type ListInput = {
1338
- skillId?: string;
1339
- levelId?: string;
1340
- minYears?: number;
1341
- startDate?: Date | string;
1342
- endDate?: Date | string;
1343
- skip?: number;
1344
- take?: number;
1345
- };
1346
- declare class AXQEmployeeSkillsListQuery implements AXPQuery<ListInput, {
1347
- items: any[];
1348
- total: number;
1349
- }> {
1350
- private employeeSkillService;
1351
- private skillLevelService;
1352
- fetch(input: ListInput): Promise<{
1353
- items: any[];
1354
- total: number;
1355
- }>;
1356
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsListQuery, never>;
1357
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsListQuery>;
1358
- }
1359
- type StatsInput = {
1360
- skillId?: string;
1361
- levelId?: string;
1362
- minYears?: number;
1363
- startDate?: Date | string;
1364
- endDate?: Date | string;
1365
- };
1366
- declare class AXQEmployeeSkillsStatsQuery implements AXPQuery<StatsInput, Record<string, number>> {
1367
- private employeeSkillService;
1368
- fetch(input: StatsInput): Promise<Record<string, number>>;
1369
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsStatsQuery, never>;
1370
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsStatsQuery>;
1371
- }
1372
- type LevelsInput = {
1373
- skillId?: string;
1374
- levelId?: string;
1375
- minYears?: number;
1376
- startDate?: Date | string;
1377
- endDate?: Date | string;
1378
- };
1379
- declare class AXQEmployeeSkillsLevelsQuery implements AXPQuery<LevelsInput, Record<string, number>> {
1380
- private employeeSkillService;
1381
- private skillLevelService;
1382
- fetch(input: LevelsInput): Promise<Record<string, number>>;
1383
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsLevelsQuery, never>;
1384
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsLevelsQuery>;
1385
- }
1386
- type TrendInput = {
1387
- startDate?: Date | string;
1388
- endDate?: Date | string;
1389
- skillId?: string;
1390
- levelId?: string;
1391
- };
1392
- declare class AXQEmployeeSkillsTrendQuery implements AXPQuery<TrendInput, {
1393
- month: string;
1394
- value: number;
1395
- }[]> {
1396
- private employeeSkillService;
1397
- fetch(input: TrendInput): Promise<{
1398
- month: string;
1399
- value: number;
1400
- }[]>;
1401
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsTrendQuery, never>;
1402
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsTrendQuery>;
1403
- }
1404
- declare class AXQEmployeeSkillsSkillPercentagesQuery implements AXPQuery<StatsInput, Record<string, number>> {
1405
- private employeeSkillService;
1406
- fetch(input: StatsInput): Promise<Record<string, number>>;
1407
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsSkillPercentagesQuery, never>;
1408
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsSkillPercentagesQuery>;
1409
- }
1410
- declare class AXQEmployeeSkillsLevelPercentagesQuery implements AXPQuery<LevelsInput, Record<string, number>> {
1411
- private employeeSkillService;
1412
- private skillLevelService;
1413
- fetch(input: LevelsInput): Promise<Record<string, number>>;
1414
- static ɵfac: i0.ɵɵFactoryDeclaration<AXQEmployeeSkillsLevelPercentagesQuery, never>;
1415
- static ɵprov: i0.ɵɵInjectableDeclaration<AXQEmployeeSkillsLevelPercentagesQuery>;
1416
- }
1417
-
1418
- interface PartyMockData {
1330
+ type PersonRelationshipTypeMockDto = AXMPersonCorePersonRelationshipTypeEntityModel;
1331
+ declare const personRelationshipTypeMock: PersonRelationshipTypeMockDto[];
1332
+
1333
+ interface PersonMockData {
1419
1334
  id: string;
1420
1335
  firstName: string;
1421
1336
  lastName: string;
@@ -1425,16 +1340,7 @@ interface PartyMockData {
1425
1340
  gender: string;
1426
1341
  type: string;
1427
1342
  }
1428
- declare function findPartyById(id: string): PartyMockData | null;
1429
-
1430
- declare class AXMIndustryDataSeeder implements AXPDataSeeder {
1431
- private readonly storageService;
1432
- seed(): Promise<void>;
1433
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMIndustryDataSeeder, never>;
1434
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMIndustryDataSeeder>;
1435
- }
1436
-
1437
- declare function findContactMethod(referenceId: string, type: string): string | undefined;
1343
+ declare function findPersonById(id: string): PersonMockData | null;
1438
1344
 
1439
1345
  declare class AXCJsaSeeder implements AXPDataSeeder {
1440
1346
  private storageService;
@@ -1517,7 +1423,16 @@ interface TaskTemplate {
1517
1423
  declare const TASK_TEMPLATES: TaskTemplate[];
1518
1424
 
1519
1425
  /**
1520
- * Mock workflow definition entities for the entity list.
1426
+ * Mock workflow definitions for testing and demonstration.
1427
+ * Used by workflow-definition provider and entity list.
1428
+ */
1429
+ declare const workflowDefinitionMock: AXPWorkflowDefinition[];
1430
+ declare const workflowDefinitionIds: {
1431
+ createLeaveRequest: string;
1432
+ };
1433
+ /**
1434
+ * Mock workflow definition entities for the entity list and seeder.
1435
+ * Attach Staff category directly to entity (similar to other mocks that bind category in data).
1521
1436
  */
1522
1437
  declare const workflowDefinitionEntityMock: AXMWorkflowManagementWorkflowDefinitionEntityModel[];
1523
1438
 
@@ -1528,6 +1443,49 @@ declare class AXCWorkflowDefinitionDataSeeder implements AXPDataSeeder {
1528
1443
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowDefinitionDataSeeder>;
1529
1444
  }
1530
1445
 
1446
+ /**
1447
+ * Activity categories with stable IDs (same pattern as metadata-category).
1448
+ * Uses childrenCount & itemsCount for performance:
1449
+ * - childrenCount: Direct child categories (for lazy loading)
1450
+ * - itemsCount: Direct activities in this category
1451
+ */
1452
+ declare const activityCategoryMocks: AXPActivityCategory[];
1453
+ /** @deprecated Use activityCategoryMocks. Kept for backward compatibility (seeder, etc.). */
1454
+ declare const ACTIVITY_CATEGORIES: AXPActivityCategory[];
1455
+
1456
+ declare class AXCActivityCategorySeeder implements AXPDataSeeder {
1457
+ private readonly storageService;
1458
+ seed(): Promise<void>;
1459
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityCategorySeeder, never>;
1460
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityCategorySeeder>;
1461
+ }
1462
+
1463
+ declare const ACTIVITY_DEFINITIONS: AXPActivityDefinition[];
1464
+
1465
+ declare class AXCActivityDefinitionSeeder implements AXPDataSeeder {
1466
+ private readonly storageService;
1467
+ seed(): Promise<void>;
1468
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityDefinitionSeeder, never>;
1469
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityDefinitionSeeder>;
1470
+ }
1471
+
1472
+ /**
1473
+ * Single workflow category for company: Staff.
1474
+ * Workflow provider maps this category to Leave Request workflow.
1475
+ */
1476
+ declare const WORKFLOW_CATEGORIES: AXPWorkflowCategory[];
1477
+
1478
+ /**
1479
+ * Seeds workflow categories into entity storage.
1480
+ * Module’s AXMWorkflowCategoryProvider reads from this key (same pattern as report categories).
1481
+ */
1482
+ declare class AXCWorkflowCategorySeeder implements AXPDataSeeder {
1483
+ private readonly storageService;
1484
+ seed(): Promise<void>;
1485
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowCategorySeeder, never>;
1486
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowCategorySeeder>;
1487
+ }
1488
+
1531
1489
  type extraFields$1 = {
1532
1490
  recievedDate: Date;
1533
1491
  };
@@ -1594,13 +1552,6 @@ declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTask
1594
1552
  getStatuses(): Promise<AXPTaskStatus[]>;
1595
1553
  }
1596
1554
 
1597
- declare class AXCAppTermDataSeeder implements AXPDataSeeder {
1598
- private storageService;
1599
- seed(): Promise<void>;
1600
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
1601
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
1602
- }
1603
-
1604
1555
  declare class AXMAiResponderService {
1605
1556
  private readonly geminiApiKey;
1606
1557
  getAIResponse(prompt: string): Promise<string>;
@@ -1698,6 +1649,69 @@ declare class AXCQueryCategoryMetadataInheritanceQuery implements AXPQuery<Categ
1698
1649
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCQueryCategoryMetadataInheritanceQuery>;
1699
1650
  }
1700
1651
 
1652
+ type MetadataCategoryMockDto = AXPCategoryEntity;
1653
+ declare const metadataCategoryMocks: MetadataCategoryMockDto[];
1654
+
1655
+ declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
1656
+ private readonly storageService;
1657
+ seed(): Promise<void>;
1658
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataCategorySeeder, never>;
1659
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
1660
+ }
1661
+
1662
+ interface MetadataElectricityMockDto extends AXMMetaDataDefinitionEntityModel, AXPCategorizedEntityDto {
1663
+ id: string;
1664
+ name: string;
1665
+ title: string;
1666
+ defaultValue: string;
1667
+ interface: AXPWidgetNode;
1668
+ }
1669
+ /** Single category for all electricity metadata (تجهیزات) */
1670
+ declare const EQUIPMENT_CATEGORY_ID = "equipment";
1671
+ declare const metadataElectricityCategoryMocks: AXPCategoryEntity<string>[];
1672
+ declare const METADATA_ELECTRICITY_MOCK: MetadataElectricityMockDto[];
1673
+
1674
+ declare class AXCMetaDataDefinitionElectricityDataSeeder implements AXPDataSeeder {
1675
+ private storageService;
1676
+ seed(): Promise<void>;
1677
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionElectricityDataSeeder, never>;
1678
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionElectricityDataSeeder>;
1679
+ }
1680
+
1681
+ declare class AXCMetadataElectricityCategorySeeder implements AXPDataSeeder {
1682
+ private readonly storageService;
1683
+ seed(): Promise<void>;
1684
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataElectricityCategorySeeder, never>;
1685
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataElectricityCategorySeeder>;
1686
+ }
1687
+
1688
+ /**
1689
+ * Equipment categories built from equipment-type-meta-data-list.json.
1690
+ * Each entry has typeCode, categoryId, and metaDataList (groups with fields).
1691
+ */
1692
+ type EquipmentCategoryMockDto = AXPCategoryEntity & {
1693
+ icon?: string;
1694
+ color?: string;
1695
+ metaDataList?: AXMMetaDataSelectorValue;
1696
+ };
1697
+ declare const equipmentCategoryMocks: EquipmentCategoryMockDto[];
1698
+
1699
+ declare class AXCEquipmentCategorySeeder implements AXPDataSeeder {
1700
+ private readonly storageService;
1701
+ seed(): Promise<void>;
1702
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEquipmentCategorySeeder, never>;
1703
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCEquipmentCategorySeeder>;
1704
+ }
1705
+
1706
+ declare const equipmentMocks: AXMDataManagementEquipmentEntityModel[];
1707
+
1708
+ declare class AXCEquipmentSeeder implements AXPDataSeeder {
1709
+ private readonly storageService;
1710
+ seed(): Promise<void>;
1711
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEquipmentSeeder, never>;
1712
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCEquipmentSeeder>;
1713
+ }
1714
+
1701
1715
  interface AXMTag {
1702
1716
  id: string;
1703
1717
  title: string;
@@ -1731,76 +1745,6 @@ declare class AXPDashboardDataSeeder implements AXPDataSeeder {
1731
1745
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
1732
1746
  }
1733
1747
 
1734
- declare class AXMReportCategoryDataSeeder implements AXPDataSeeder {
1735
- private storageService;
1736
- seed(): Promise<void>;
1737
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportCategoryDataSeeder, never>;
1738
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportCategoryDataSeeder>;
1739
- }
1740
-
1741
- declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
1742
- private storageService;
1743
- seed(): Promise<void>;
1744
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportDefinitionDataSeeder, never>;
1745
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportDefinitionDataSeeder>;
1746
- }
1747
-
1748
- declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
1749
- private readonly queryService;
1750
- private readonly mockDataService;
1751
- private readonly reportDataCache;
1752
- private readonly CACHE_TTL_MS;
1753
- private readonly DEFAULT_TOTAL_ITEMS;
1754
- private readonly reportDefinitionService;
1755
- constructor();
1756
- execute(context: AXPLayoutExecutionContext): Promise<AXPExecuteCommandResult<AXPExecutionReportCommandResult>>;
1757
- private generateLayoutData;
1758
- private generateTableData;
1759
- private generateChartData;
1760
- private generateLayoutDataFromQuery;
1761
- private buildQueryInput;
1762
- private assignByPath;
1763
- private normalizeTableQueryResult;
1764
- private normalizeChartQueryResult;
1765
- private generateSystemHealthChartData;
1766
- private readonly reportDefinitionFallback;
1767
- private applyAuditTrailFilters;
1768
- private applyLoginLogsFilters;
1769
- private applyChangePasswordLogsFilters;
1770
- private applyIdentityAuditLogErrorLogsFilters;
1771
- private getCachedOrGenerateReportData;
1772
- private generateCacheKey;
1773
- private generateReportVersion;
1774
- private isCacheValid;
1775
- private clearExpiredCache;
1776
- /**
1777
- * Manually clear all cached report data (useful for debugging or forcing refresh)
1778
- */
1779
- clearCache(): void;
1780
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
1781
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
1782
- }
1783
-
1784
- /**
1785
- * Provides mock data generation for reports, separated from execution concerns.
1786
- */
1787
- declare class AXMReportMockDataService {
1788
- /**
1789
- * Generate mock data based on report title heuristics.
1790
- */
1791
- generateMockDataForReport(reportDefinition: AXPReportDefinition, parameters: Record<string, unknown>, pageSize: number): Record<string, unknown>[];
1792
- private generateAuditTrailData;
1793
- private generateFinancialData;
1794
- private generateIncomeData;
1795
- private generateEmployeeData;
1796
- private generateSalesData;
1797
- private generateSafetyData;
1798
- private generateGenericData;
1799
- private getRandomPastDate;
1800
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportMockDataService, never>;
1801
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportMockDataService>;
1802
- }
1803
-
1804
1748
  declare const calendarMock: ({
1805
1749
  id: string;
1806
1750
  name: string;
@@ -1986,7 +1930,12 @@ declare const meetingMock: ({
1986
1930
  };
1987
1931
  meetingProviderType: string;
1988
1932
  isRecorded: boolean;
1989
- mettingStatus: string;
1933
+ setInGoogleCalendar: boolean;
1934
+ meetingStatusId: string;
1935
+ meetingStatus: {
1936
+ id: string;
1937
+ title: string;
1938
+ };
1990
1939
  isFullysignedOff: boolean;
1991
1940
  meetingLocationId: {
1992
1941
  id: string;
@@ -2006,7 +1955,12 @@ declare const meetingMock: ({
2006
1955
  joinUrl: string;
2007
1956
  hostUrl: string;
2008
1957
  isRecorded: boolean;
2009
- mettingStatus: string;
1958
+ setInGoogleCalendar: boolean;
1959
+ meetingStatusId: string;
1960
+ meetingStatus: {
1961
+ id: string;
1962
+ title: string;
1963
+ };
2010
1964
  isFullysignedOff: boolean;
2011
1965
  meetingLocationId?: undefined;
2012
1966
  } | {
@@ -2021,7 +1975,12 @@ declare const meetingMock: ({
2021
1975
  joinUrl: string;
2022
1976
  hostUrl: string;
2023
1977
  isRecorded: boolean;
2024
- mettingStatus: string;
1978
+ setInGoogleCalendar: boolean;
1979
+ meetingStatusId: string;
1980
+ meetingStatus: {
1981
+ id: string;
1982
+ title: string;
1983
+ };
2025
1984
  isFullysignedOff: boolean;
2026
1985
  meetingLocationId: {
2027
1986
  id: string;
@@ -2051,7 +2010,27 @@ declare class AXMMeetingTypeDataSeeder implements AXPDataSeeder {
2051
2010
  declare const meetingParticipantMock: ({
2052
2011
  id: string;
2053
2012
  meetingId: string;
2054
- userId: {
2013
+ employeeId: {
2014
+ id: string;
2015
+ title: string;
2016
+ };
2017
+ jointime: Date;
2018
+ leaveTime: Date;
2019
+ duration: number;
2020
+ signOffAt: Date;
2021
+ participantStatusId: "present";
2022
+ participantStatus: {
2023
+ id: "present";
2024
+ title: "Present";
2025
+ };
2026
+ meetingRoleTypeIds: {
2027
+ id: string;
2028
+ title: string;
2029
+ };
2030
+ } | {
2031
+ id: string;
2032
+ meetingId: string;
2033
+ employeeId: {
2055
2034
  id: string;
2056
2035
  title: string;
2057
2036
  };
@@ -2059,7 +2038,11 @@ declare const meetingParticipantMock: ({
2059
2038
  leaveTime: Date;
2060
2039
  duration: number;
2061
2040
  signOffAt: Date;
2062
- participantStatus: string;
2041
+ participantStatusId: "accept";
2042
+ participantStatus: {
2043
+ id: "accept";
2044
+ title: "Accept";
2045
+ };
2063
2046
  meetingRoleTypeIds: {
2064
2047
  id: string;
2065
2048
  title: string;
@@ -2067,7 +2050,7 @@ declare const meetingParticipantMock: ({
2067
2050
  } | {
2068
2051
  id: string;
2069
2052
  meetingId: string;
2070
- userId: {
2053
+ employeeId: {
2071
2054
  id: string;
2072
2055
  title: string;
2073
2056
  };
@@ -2075,7 +2058,31 @@ declare const meetingParticipantMock: ({
2075
2058
  leaveTime: null;
2076
2059
  duration: number;
2077
2060
  signOffAt: null;
2078
- participantStatus: string;
2061
+ participantStatusId: "present";
2062
+ participantStatus: {
2063
+ id: "present";
2064
+ title: "Present";
2065
+ };
2066
+ meetingRoleTypeIds: {
2067
+ id: string;
2068
+ title: string;
2069
+ };
2070
+ } | {
2071
+ id: string;
2072
+ meetingId: string;
2073
+ employeeId: {
2074
+ id: string;
2075
+ title: string;
2076
+ };
2077
+ jointime: Date;
2078
+ leaveTime: Date;
2079
+ duration: number;
2080
+ signOffAt: Date;
2081
+ participantStatusId: "absent";
2082
+ participantStatus: {
2083
+ id: "absent";
2084
+ title: "Absent";
2085
+ };
2079
2086
  meetingRoleTypeIds: {
2080
2087
  id: string;
2081
2088
  title: string;
@@ -2217,906 +2224,62 @@ declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
2217
2224
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
2218
2225
  }
2219
2226
 
2220
- interface AXMLocationManagementLocationMockModel extends AXMLocationManagementLocationEntityModel {
2221
- country?: {
2222
- id: string;
2223
- title: string;
2224
- };
2225
- state?: {
2226
- id: string;
2227
- title: string;
2228
- };
2229
- city?: {
2230
- id: string;
2231
- title: string;
2232
- };
2233
- district?: {
2234
- id: string;
2235
- title: string;
2236
- };
2237
- locationType?: {
2238
- id: string;
2239
- title: string;
2240
- description?: string;
2241
- icon?: string;
2242
- color?: string;
2243
- };
2227
+ declare class AXCLockService implements AXPLockService {
2228
+ private className;
2229
+ private db;
2230
+ constructor();
2231
+ private get lockTable();
2232
+ protected entityName: string;
2233
+ /**
2234
+ * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
2235
+ * at runtime using {@link setCacheDuration}.
2236
+ */
2237
+ private cacheTTL;
2238
+ /** In-memory cache for lock information. */
2239
+ private readonly cacheMap;
2240
+ /** Reference to the recurring cache-flush timer. */
2241
+ private cacheTimer;
2242
+ /**
2243
+ * Generates a unique cache key based on the lock request parameters.
2244
+ */
2245
+ private getCacheKey;
2246
+ /**
2247
+ * Starts or restarts the interval that clears the cache.
2248
+ */
2249
+ private startCacheTimer;
2250
+ /**
2251
+ * Allows consumers to change the cache duration (in milliseconds) at runtime.
2252
+ * The new duration is applied immediately.
2253
+ */
2254
+ setCacheDuration(ms: number): void;
2255
+ lock(request: AXPLockRequest): Promise<AXPLockInfo>;
2256
+ unlock(request: AXPUnLockRequest): Promise<void>;
2257
+ check(request: AXPLockGetInfoRequest): Promise<boolean>;
2258
+ getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
2259
+ getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
2260
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
2261
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
2244
2262
  }
2245
2263
 
2246
- declare const learningSkillCategoryMock: ({
2247
- id: string;
2248
- title: string;
2249
- description: string;
2250
- parentId: null;
2251
- } | {
2252
- id: string;
2253
- title: string;
2254
- description: string;
2255
- parentId: string;
2256
- })[];
2257
- declare const learningSkillLevelMock: {
2258
- id: string;
2259
- name: string;
2260
- levelNumber: number;
2261
- description: string;
2262
- }[];
2263
- declare const learningSkillMock: {
2264
- id: string;
2265
- title: string;
2266
- description: string;
2267
- code: string;
2268
- categoryIds: string[];
2269
- categories: {
2270
- id: string;
2271
- title: string;
2272
- }[];
2273
- relatedCourseIds: string[];
2274
- }[];
2275
- declare const learningCourseTypeMock: {
2276
- id: string;
2277
- name: string;
2278
- description: string;
2279
- deliveryMode: string;
2280
- }[];
2281
- declare const learningCourseMock: {
2282
- id: string;
2283
- code: string;
2284
- title: string;
2285
- description: string;
2286
- courseTypeId: string;
2287
- courseType: {
2288
- id: string;
2289
- name: string;
2290
- description: string;
2291
- deliveryMode: string;
2292
- };
2293
- durationHours: number;
2294
- relatedSkillIds: string[];
2295
- skills: {
2296
- id: string;
2297
- title: string;
2298
- }[];
2299
- certificateDefinitionIds: string[];
2300
- certificateDefinitions: Array<{
2301
- id: string;
2302
- title: string;
2303
- }>;
2304
- }[];
2305
- declare const learningTrainingTypeMock: {
2306
- id: string;
2307
- name: string;
2308
- description: string;
2309
- }[];
2310
- declare const learningTrainingDefinitionMock: ({
2311
- id: string;
2312
- title: string;
2313
- description: string;
2314
- courseId: string;
2315
- course: {
2316
- id: string;
2317
- title: string;
2318
- };
2319
- trainingTypeId: string;
2320
- trainingType: {
2321
- id: string;
2322
- name: string;
2323
- description: string;
2324
- };
2325
- defaultDurationHours: number;
2326
- defaultCapacity: number;
2327
- defaultLocationId: string;
2328
- defaultLocation: AXMLocationManagementLocationMockModel;
2329
- isActive: boolean;
2330
- } | {
2331
- id: string;
2332
- title: string;
2333
- description: string;
2334
- courseId: string;
2335
- course: {
2336
- id: string;
2337
- title: string;
2338
- };
2339
- trainingTypeId: string;
2340
- trainingType: {
2341
- id: string;
2342
- name: string;
2343
- description: string;
2344
- };
2345
- defaultDurationHours: number;
2346
- defaultCapacity: number;
2347
- defaultLocationId: null;
2348
- defaultLocation: null;
2349
- isActive: boolean;
2350
- })[];
2351
- declare const learningTrainingMock: ({
2352
- id: string;
2353
- trainingDefinitionId: string;
2354
- trainingDefinition: {
2355
- id: string;
2356
- title: string;
2357
- };
2358
- courseId: string;
2359
- course: {
2360
- id: string;
2361
- code: string;
2362
- title: string;
2363
- description: string;
2364
- courseTypeId: string;
2365
- courseType: {
2366
- id: string;
2367
- name: string;
2368
- description: string;
2369
- deliveryMode: string;
2370
- };
2371
- durationHours: number;
2372
- relatedSkillIds: string[];
2373
- skills: {
2374
- id: string;
2375
- title: string;
2376
- }[];
2377
- certificateDefinitionIds: string[];
2378
- certificateDefinitions: Array<{
2379
- id: string;
2380
- title: string;
2381
- }>;
2382
- };
2383
- trainingTypeId: string;
2384
- trainingType: {
2385
- id: string;
2386
- name: string;
2387
- description: string;
2388
- };
2389
- startDate: Date;
2390
- endDate: Date;
2391
- locationId: string;
2392
- location: AXMLocationManagementLocationMockModel;
2393
- instructorId: string;
2394
- instructor: {
2395
- id: string;
2396
- displayName: string;
2397
- } | null;
2398
- capacity: number;
2399
- status: "Open";
2400
- notes: string;
2401
- } | {
2402
- id: string;
2403
- trainingDefinitionId: string;
2404
- trainingDefinition: {
2405
- id: string;
2406
- title: string;
2407
- };
2408
- courseId: string;
2409
- course: {
2410
- id: string;
2411
- code: string;
2412
- title: string;
2413
- description: string;
2414
- courseTypeId: string;
2415
- courseType: {
2416
- id: string;
2417
- name: string;
2418
- description: string;
2419
- deliveryMode: string;
2420
- };
2421
- durationHours: number;
2422
- relatedSkillIds: string[];
2423
- skills: {
2424
- id: string;
2425
- title: string;
2426
- }[];
2427
- certificateDefinitionIds: string[];
2428
- certificateDefinitions: Array<{
2429
- id: string;
2430
- title: string;
2431
- }>;
2432
- };
2433
- trainingTypeId: string;
2434
- trainingType: {
2435
- id: string;
2436
- name: string;
2437
- description: string;
2438
- };
2439
- startDate: Date;
2440
- endDate: Date;
2441
- locationId: null;
2442
- location: null;
2443
- instructorId: string;
2444
- instructor: {
2445
- id: string;
2446
- displayName: string;
2447
- } | null;
2448
- capacity: number;
2449
- status: "Draft";
2450
- notes: string;
2451
- })[];
2452
- declare const learningEnrollmentMock: ({
2453
- id: string;
2454
- employeeId: string;
2455
- employee: {
2456
- id: string;
2457
- displayName: string;
2458
- } | null;
2459
- trainingId: string;
2460
- training: {
2461
- id: string;
2462
- title: string;
2463
- };
2464
- status: "Approved";
2465
- workflowInstanceId: null;
2466
- notes: string;
2467
- } | {
2468
- id: string;
2469
- employeeId: string;
2470
- employee: {
2471
- id: string;
2472
- displayName: string;
2473
- } | null;
2474
- trainingId: string;
2475
- training: {
2476
- id: string;
2477
- title: string;
2478
- };
2479
- status: "Requested";
2480
- workflowInstanceId: null;
2481
- notes: string;
2482
- })[];
2483
- declare const learningAttendanceMock: ({
2484
- id: string;
2485
- enrollmentId: string;
2486
- enrollment: {
2487
- id: string;
2488
- trainingId: string;
2489
- };
2490
- sessionDate: Date;
2491
- status: "Present";
2492
- notes: string;
2493
- } | {
2494
- id: string;
2495
- enrollmentId: string;
2496
- enrollment: {
2497
- id: string;
2498
- trainingId: string;
2499
- };
2500
- sessionDate: Date;
2501
- status: "Late";
2502
- notes: string;
2503
- })[];
2504
- declare const learningEmployeeSkillMock: ({
2505
- id: string;
2506
- employeeId: string;
2507
- employee: {
2508
- id: string;
2509
- displayName: string;
2510
- } | null;
2511
- skillId: string;
2512
- skill: {
2513
- id: string;
2514
- title: string;
2515
- };
2516
- levelId: string;
2517
- level: {
2518
- id: string;
2519
- name: string;
2520
- };
2521
- source: "Training";
2522
- verifiedBy: string;
2523
- verifier: {
2524
- id: string;
2525
- displayName: string;
2526
- } | null;
2527
- verifiedAt: Date;
2528
- notes: string;
2529
- } | {
2530
- id: string;
2531
- employeeId: string;
2532
- employee: {
2533
- id: string;
2534
- displayName: string;
2535
- } | null;
2536
- skillId: string;
2537
- skill: {
2538
- id: string;
2539
- title: string;
2540
- };
2541
- levelId: string;
2542
- level: {
2543
- id: string;
2544
- name: string;
2545
- };
2546
- source: "Assessment";
2547
- verifiedBy: string;
2548
- verifier: {
2549
- id: string;
2550
- displayName: string;
2551
- } | null;
2552
- verifiedAt: Date;
2553
- notes: string;
2554
- })[];
2555
- declare const learningCertificateTypeMock: {
2556
- id: string;
2557
- name: string;
2558
- description: string;
2559
- validityDays: number;
2560
- templateId: null;
2561
- }[];
2562
- declare const learningCertificateDefinitionMock: {
2563
- id: string;
2564
- title: string;
2565
- description: string;
2566
- certificateTypeId: string;
2567
- certificateType: {
2568
- id: string;
2569
- name: string;
2570
- description: string;
2571
- validityDays: number;
2572
- templateId: null;
2573
- };
2574
- courseId: string;
2575
- course: {
2576
- id: string;
2577
- title: string;
2578
- };
2579
- validityDays: number;
2580
- templateId: null;
2581
- isActive: boolean;
2582
- }[];
2583
- declare const learningCertificateMock: {
2584
- id: string;
2585
- certificateDefinitionId: string;
2586
- certificateDefinition: {
2587
- id: string;
2588
- title: string;
2589
- };
2590
- certificateTypeId: string;
2591
- certificateType: {
2592
- id: string;
2593
- name: string;
2594
- description: string;
2595
- validityDays: number;
2596
- templateId: null;
2597
- };
2598
- employeeId: string;
2599
- employee: {
2600
- id: string;
2601
- displayName: string;
2602
- } | null;
2603
- courseId: string;
2604
- course: {
2605
- id: string;
2606
- title: string;
2607
- };
2608
- issueDate: Date;
2609
- expiryDate: Date;
2610
- fileId: null;
2611
- notes: string;
2612
- }[];
2613
- declare const learningLearningPathMock: {
2614
- id: string;
2615
- name: string;
2616
- description: string;
2617
- isActive: boolean;
2618
- }[];
2619
- declare const learningLearningPathCourseMock: {
2620
- id: string;
2621
- learningPathId: string;
2622
- courseId: string;
2623
- course: {
2624
- id: string;
2625
- title: string;
2626
- };
2627
- orderIndex: number;
2628
- }[];
2629
- declare const learningMandatoryTrainingRuleMock: {
2630
- id: string;
2631
- positionId: string;
2632
- position: {
2633
- id: string;
2634
- title: string;
2635
- } | null;
2636
- courseId: string;
2637
- course: {
2638
- id: string;
2639
- title: string;
2640
- };
2641
- frequencyMonths: number;
2642
- notes: string;
2643
- }[];
2644
- declare const learningManagementMockData: {
2645
- categories: ({
2646
- id: string;
2647
- title: string;
2648
- description: string;
2649
- parentId: null;
2650
- } | {
2651
- id: string;
2652
- title: string;
2653
- description: string;
2654
- parentId: string;
2655
- })[];
2656
- skills: {
2657
- id: string;
2658
- title: string;
2659
- description: string;
2660
- code: string;
2661
- categoryIds: string[];
2662
- categories: {
2663
- id: string;
2664
- title: string;
2665
- }[];
2666
- relatedCourseIds: string[];
2667
- }[];
2668
- skillLevels: {
2669
- id: string;
2670
- name: string;
2671
- levelNumber: number;
2672
- description: string;
2673
- }[];
2674
- employeeSkills: ({
2675
- id: string;
2676
- employeeId: string;
2677
- employee: {
2678
- id: string;
2679
- displayName: string;
2680
- } | null;
2681
- skillId: string;
2682
- skill: {
2683
- id: string;
2684
- title: string;
2685
- };
2686
- levelId: string;
2687
- level: {
2688
- id: string;
2689
- name: string;
2690
- };
2691
- source: "Training";
2692
- verifiedBy: string;
2693
- verifier: {
2694
- id: string;
2695
- displayName: string;
2696
- } | null;
2697
- verifiedAt: Date;
2698
- notes: string;
2699
- } | {
2700
- id: string;
2701
- employeeId: string;
2702
- employee: {
2703
- id: string;
2704
- displayName: string;
2705
- } | null;
2706
- skillId: string;
2707
- skill: {
2708
- id: string;
2709
- title: string;
2710
- };
2711
- levelId: string;
2712
- level: {
2713
- id: string;
2714
- name: string;
2715
- };
2716
- source: "Assessment";
2717
- verifiedBy: string;
2718
- verifier: {
2719
- id: string;
2720
- displayName: string;
2721
- } | null;
2722
- verifiedAt: Date;
2723
- notes: string;
2724
- })[];
2725
- courseTypes: {
2726
- id: string;
2727
- name: string;
2728
- description: string;
2729
- deliveryMode: string;
2730
- }[];
2731
- courses: {
2732
- id: string;
2733
- code: string;
2734
- title: string;
2735
- description: string;
2736
- courseTypeId: string;
2737
- courseType: {
2738
- id: string;
2739
- name: string;
2740
- description: string;
2741
- deliveryMode: string;
2742
- };
2743
- durationHours: number;
2744
- relatedSkillIds: string[];
2745
- skills: {
2746
- id: string;
2747
- title: string;
2748
- }[];
2749
- certificateDefinitionIds: string[];
2750
- certificateDefinitions: Array<{
2751
- id: string;
2752
- title: string;
2753
- }>;
2754
- }[];
2755
- trainingTypes: {
2756
- id: string;
2757
- name: string;
2758
- description: string;
2759
- }[];
2760
- trainingDefinitions: ({
2761
- id: string;
2762
- title: string;
2763
- description: string;
2764
- courseId: string;
2765
- course: {
2766
- id: string;
2767
- title: string;
2768
- };
2769
- trainingTypeId: string;
2770
- trainingType: {
2771
- id: string;
2772
- name: string;
2773
- description: string;
2774
- };
2775
- defaultDurationHours: number;
2776
- defaultCapacity: number;
2777
- defaultLocationId: string;
2778
- defaultLocation: AXMLocationManagementLocationMockModel;
2779
- isActive: boolean;
2780
- } | {
2781
- id: string;
2782
- title: string;
2783
- description: string;
2784
- courseId: string;
2785
- course: {
2786
- id: string;
2787
- title: string;
2788
- };
2789
- trainingTypeId: string;
2790
- trainingType: {
2791
- id: string;
2792
- name: string;
2793
- description: string;
2794
- };
2795
- defaultDurationHours: number;
2796
- defaultCapacity: number;
2797
- defaultLocationId: null;
2798
- defaultLocation: null;
2799
- isActive: boolean;
2800
- })[];
2801
- trainings: ({
2802
- id: string;
2803
- trainingDefinitionId: string;
2804
- trainingDefinition: {
2805
- id: string;
2806
- title: string;
2807
- };
2808
- courseId: string;
2809
- course: {
2810
- id: string;
2811
- code: string;
2812
- title: string;
2813
- description: string;
2814
- courseTypeId: string;
2815
- courseType: {
2816
- id: string;
2817
- name: string;
2818
- description: string;
2819
- deliveryMode: string;
2820
- };
2821
- durationHours: number;
2822
- relatedSkillIds: string[];
2823
- skills: {
2824
- id: string;
2825
- title: string;
2826
- }[];
2827
- certificateDefinitionIds: string[];
2828
- certificateDefinitions: Array<{
2829
- id: string;
2830
- title: string;
2831
- }>;
2832
- };
2833
- trainingTypeId: string;
2834
- trainingType: {
2835
- id: string;
2836
- name: string;
2837
- description: string;
2838
- };
2839
- startDate: Date;
2840
- endDate: Date;
2841
- locationId: string;
2842
- location: AXMLocationManagementLocationMockModel;
2843
- instructorId: string;
2844
- instructor: {
2845
- id: string;
2846
- displayName: string;
2847
- } | null;
2848
- capacity: number;
2849
- status: "Open";
2850
- notes: string;
2851
- } | {
2852
- id: string;
2853
- trainingDefinitionId: string;
2854
- trainingDefinition: {
2855
- id: string;
2856
- title: string;
2857
- };
2858
- courseId: string;
2859
- course: {
2860
- id: string;
2861
- code: string;
2862
- title: string;
2863
- description: string;
2864
- courseTypeId: string;
2865
- courseType: {
2866
- id: string;
2867
- name: string;
2868
- description: string;
2869
- deliveryMode: string;
2870
- };
2871
- durationHours: number;
2872
- relatedSkillIds: string[];
2873
- skills: {
2874
- id: string;
2875
- title: string;
2876
- }[];
2877
- certificateDefinitionIds: string[];
2878
- certificateDefinitions: Array<{
2879
- id: string;
2880
- title: string;
2881
- }>;
2882
- };
2883
- trainingTypeId: string;
2884
- trainingType: {
2885
- id: string;
2886
- name: string;
2887
- description: string;
2888
- };
2889
- startDate: Date;
2890
- endDate: Date;
2891
- locationId: null;
2892
- location: null;
2893
- instructorId: string;
2894
- instructor: {
2895
- id: string;
2896
- displayName: string;
2897
- } | null;
2898
- capacity: number;
2899
- status: "Draft";
2900
- notes: string;
2901
- })[];
2902
- enrollments: ({
2903
- id: string;
2904
- employeeId: string;
2905
- employee: {
2906
- id: string;
2907
- displayName: string;
2908
- } | null;
2909
- trainingId: string;
2910
- training: {
2911
- id: string;
2912
- title: string;
2913
- };
2914
- status: "Approved";
2915
- workflowInstanceId: null;
2916
- notes: string;
2917
- } | {
2918
- id: string;
2919
- employeeId: string;
2920
- employee: {
2921
- id: string;
2922
- displayName: string;
2923
- } | null;
2924
- trainingId: string;
2925
- training: {
2926
- id: string;
2927
- title: string;
2928
- };
2929
- status: "Requested";
2930
- workflowInstanceId: null;
2931
- notes: string;
2932
- })[];
2933
- attendance: ({
2934
- id: string;
2935
- enrollmentId: string;
2936
- enrollment: {
2937
- id: string;
2938
- trainingId: string;
2939
- };
2940
- sessionDate: Date;
2941
- status: "Present";
2942
- notes: string;
2943
- } | {
2944
- id: string;
2945
- enrollmentId: string;
2946
- enrollment: {
2947
- id: string;
2948
- trainingId: string;
2949
- };
2950
- sessionDate: Date;
2951
- status: "Late";
2952
- notes: string;
2953
- })[];
2954
- certificateTypes: {
2955
- id: string;
2956
- name: string;
2957
- description: string;
2958
- validityDays: number;
2959
- templateId: null;
2960
- }[];
2961
- certificateDefinitions: {
2962
- id: string;
2963
- title: string;
2964
- description: string;
2965
- certificateTypeId: string;
2966
- certificateType: {
2967
- id: string;
2968
- name: string;
2969
- description: string;
2970
- validityDays: number;
2971
- templateId: null;
2972
- };
2973
- courseId: string;
2974
- course: {
2975
- id: string;
2976
- title: string;
2977
- };
2978
- validityDays: number;
2979
- templateId: null;
2980
- isActive: boolean;
2981
- }[];
2982
- certificates: {
2983
- id: string;
2984
- certificateDefinitionId: string;
2985
- certificateDefinition: {
2986
- id: string;
2987
- title: string;
2988
- };
2989
- certificateTypeId: string;
2990
- certificateType: {
2991
- id: string;
2992
- name: string;
2993
- description: string;
2994
- validityDays: number;
2995
- templateId: null;
2996
- };
2997
- employeeId: string;
2998
- employee: {
2999
- id: string;
3000
- displayName: string;
3001
- } | null;
3002
- courseId: string;
3003
- course: {
3004
- id: string;
3005
- title: string;
3006
- };
3007
- issueDate: Date;
3008
- expiryDate: Date;
3009
- fileId: null;
3010
- notes: string;
3011
- }[];
3012
- learningPaths: {
3013
- id: string;
3014
- name: string;
3015
- description: string;
3016
- isActive: boolean;
3017
- }[];
3018
- learningPathCourses: {
3019
- id: string;
3020
- learningPathId: string;
3021
- courseId: string;
3022
- course: {
3023
- id: string;
3024
- title: string;
3025
- };
3026
- orderIndex: number;
3027
- }[];
3028
- mandatoryTrainingRules: {
3029
- id: string;
3030
- positionId: string;
3031
- position: {
3032
- id: string;
3033
- title: string;
3034
- } | null;
3035
- courseId: string;
3036
- course: {
3037
- id: string;
3038
- title: string;
3039
- };
3040
- frequencyMonths: number;
3041
- notes: string;
3042
- }[];
3043
- };
3044
- declare const learningManagementEntityKeys: {
3045
- skillCategory: string;
3046
- skill: string;
3047
- skillLevel: string;
3048
- employeeSkill: string;
3049
- courseType: string;
3050
- course: string;
3051
- trainingType: string;
3052
- trainingDefinition: string;
3053
- training: string;
3054
- enrollment: string;
3055
- attendance: string;
3056
- certificateType: string;
3057
- certificateDefinition: string;
3058
- certificate: string;
3059
- learningPath: string;
3060
- learningPathCourse: string;
3061
- mandatoryTrainingRule: string;
3062
- };
3063
-
3064
- declare class AXCLockService implements AXPLockService {
3065
- private className;
3066
- private db;
3067
- constructor();
3068
- private get lockTable();
3069
- protected entityName: string;
3070
- /**
3071
- * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
3072
- * at runtime using {@link setCacheDuration}.
3073
- */
3074
- private cacheTTL;
3075
- /** In-memory cache for lock information. */
3076
- private readonly cacheMap;
3077
- /** Reference to the recurring cache-flush timer. */
3078
- private cacheTimer;
3079
- /**
3080
- * Generates a unique cache key based on the lock request parameters.
3081
- */
3082
- private getCacheKey;
3083
- /**
3084
- * Starts or restarts the interval that clears the cache.
3085
- */
3086
- private startCacheTimer;
3087
- /**
3088
- * Allows consumers to change the cache duration (in milliseconds) at runtime.
3089
- * The new duration is applied immediately.
3090
- */
3091
- setCacheDuration(ms: number): void;
3092
- lock(request: AXPLockRequest): Promise<AXPLockInfo>;
3093
- unlock(request: AXPUnLockRequest): Promise<void>;
3094
- check(request: AXPLockGetInfoRequest): Promise<boolean>;
3095
- getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
3096
- getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
3097
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
3098
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
3099
- }
3100
-
3101
- declare class AXCFileStorageService implements AXPFileStorageService {
3102
- private fileService;
3103
- private mapToFileStorageInfo;
3104
- save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
3105
- commit(fileId: string): Promise<void>;
3106
- markForDeletion(fileId: string): Promise<void>;
3107
- update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
3108
- find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
3109
- getInfo(fileId: string): Promise<AXPFileStorageInfo>;
3110
- remove(fileId: string): Promise<void>;
3111
- private cleanupTemporaryFiles;
3112
- private cleanupMarkedFiles;
3113
- constructor();
3114
- findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
3115
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
3116
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
3117
- }
3118
-
3119
- interface AXPVersionStream {
2264
+ declare class AXCFileStorageService implements AXPFileStorageService {
2265
+ private fileService;
2266
+ private mapToFileStorageInfo;
2267
+ save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
2268
+ commit(fileId: string): Promise<void>;
2269
+ markForDeletion(fileId: string): Promise<void>;
2270
+ update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
2271
+ find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
2272
+ getInfo(fileId: string): Promise<AXPFileStorageInfo>;
2273
+ remove(fileId: string): Promise<void>;
2274
+ private cleanupTemporaryFiles;
2275
+ private cleanupMarkedFiles;
2276
+ constructor();
2277
+ findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
2278
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
2279
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
2280
+ }
2281
+
2282
+ interface AXPVersionStream {
3120
2283
  id: string;
3121
2284
  entityType: string;
3122
2285
  entityId: string;
@@ -3219,14 +2382,35 @@ declare function normalizeAnyFileArrayForView(arr: any[], fileStorage: AXPFileSt
3219
2382
  declare function normalizeSnapshotFileFieldsForView(snapshot: any, fileStorage: AXPFileStorageService): Promise<any>;
3220
2383
 
3221
2384
  /**
3222
- * Dexie database for workflow instances.
2385
+ * Bookmark entity for IndexedDB storage.
2386
+ * Aligns with ERD: BOOKMARK table structure.
2387
+ */
2388
+ interface AXCBookmarkEntity {
2389
+ id: string;
2390
+ instanceId: string;
2391
+ activityId: string;
2392
+ type: string;
2393
+ hash: string;
2394
+ payloadJson: string;
2395
+ isConsumed: boolean;
2396
+ createdAt: string;
2397
+ }
2398
+ /**
2399
+ * Dexie database for workflow instances and bookmarks.
2400
+ * Aligns with ERD structure: WORKFLOW_INSTANCE + BOOKMARK tables.
3223
2401
  */
3224
2402
  declare class AXCWorkflowExecutionDB extends Dexie {
3225
2403
  /**
3226
2404
  * Table for workflow instances.
3227
2405
  * Uses id as primary key.
2406
+ * Aligns with WORKFLOW_INSTANCE table in ERD.
3228
2407
  */
3229
2408
  instances: Table<AXPWorkflowInstance, string>;
2409
+ /**
2410
+ * Table for workflow bookmarks.
2411
+ * Aligns with BOOKMARK table in ERD.
2412
+ */
2413
+ bookmarks: Table<AXCBookmarkEntity, string>;
3230
2414
  constructor();
3231
2415
  }
3232
2416
  /**
@@ -3235,78 +2419,117 @@ declare class AXCWorkflowExecutionDB extends Dexie {
3235
2419
  declare const axWorkflowExecutionDB: AXCWorkflowExecutionDB;
3236
2420
 
3237
2421
  /**
3238
- * Mock implementation of AXPWorkflowExecutionService.
2422
+ * Mock implementation of AXPWorkflowEngine.
3239
2423
  *
3240
- * Uses IndexedDB (via Dexie) to store workflow execution states.
2424
+ * Uses IndexedDB (via Dexie) to store workflow instance states.
3241
2425
  *
3242
2426
  * @example
3243
2427
  * ```typescript
3244
2428
  * // In module providers
3245
2429
  * {
3246
- * provide: AXPWorkflowExecutionService,
3247
- * useClass: AXCWorkflowExecutionService,
2430
+ * provide: AXP_WORKFLOW_ENGINE,
2431
+ * useClass: AXCWorkflowEngine,
3248
2432
  * }
3249
2433
  * ```
3250
2434
  */
3251
- declare class AXCWorkflowExecutionService implements AXPWorkflowExecutionService {
2435
+ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
3252
2436
  private readonly db;
3253
- private readonly activityProviderService;
3254
2437
  private readonly commandService;
3255
2438
  private readonly entityStorageService;
2439
+ private readonly activityDefinitionService;
2440
+ private readonly workflowProviders;
2441
+ private readonly expressionScopeService;
2442
+ private readonly expressionEvaluator;
2443
+ /**
2444
+ * Get workflow definition by name using workflow providers.
2445
+ * Falls back to entity storage query by name if providers fail.
2446
+ *
2447
+ * [AXCWorkflowRuntimeService] Uses workflow providers for consistency with Workflow Management UI.
2448
+ */
2449
+ private getDefinition;
2450
+ /**
2451
+ * Secure task token storage.
2452
+ * Key: token (UUID)
2453
+ * Value: { instanceId, activityId, expiresAt }
2454
+ */
2455
+ private taskTokens;
2456
+ /**
2457
+ * Token expiration time: 30 minutes
2458
+ */
2459
+ private readonly TOKEN_EXPIRATION_MS;
2460
+ /**
2461
+ * Generate secure, non-guessable task token (UUID).
2462
+ */
2463
+ private generateTaskToken;
2464
+ /**
2465
+ * Validate task token.
2466
+ * Returns true if token exists, not expired, and matches instanceId + activityId.
2467
+ */
2468
+ private validateTaskToken;
2469
+ /**
2470
+ * Remove task token after completion to prevent replay.
2471
+ */
2472
+ private removeTaskToken;
2473
+ /**
2474
+ * Cleanup expired tokens (lightweight).
2475
+ */
2476
+ private cleanupExpiredTokens;
3256
2477
  /**
3257
- * Start a new workflow execution.
2478
+ * Start a new workflow instance.
3258
2479
  * Creates a workflow instance and stores it in IndexedDB.
3259
2480
  */
3260
- startExecution(request: AXPStartWorkflowExecutionRequest): Promise<AXPStartWorkflowExecutionResponse>;
2481
+ start(request: AXPStartWorkflowRequest): Promise<AXPStartWorkflowResponse>;
2482
+ /**
2483
+ * Find activity in Graph by ID.
2484
+ */
2485
+ private findActivityInGraph;
3261
2486
  /**
3262
- * Find activity in Flowchart by ID.
2487
+ * Ensure value is a plain object for use as scope.outputs.
2488
+ * Each step overwrites outputs; the next activity's input sees this as outputs.id, outputs.xxx, etc.
3263
2489
  */
3264
- private findActivityInFlowchart;
2490
+ private ensureOutputsForScope;
3265
2491
  /**
3266
- * Resume a suspended workflow execution.
2492
+ * Resume a suspended workflow instance.
3267
2493
  *
3268
2494
  * After frontend completes its task:
3269
- * 1. Validates taskToken
3270
- * 2. Finds next activity based on outcome
3271
- * 3. Executes ALL backend activities in sequence
3272
- * 4. Stops at first frontend activity and returns it as pendingTask
2495
+ * 1. Validates taskToken (secure, non-guessable)
2496
+ * 2. Verifies resumed activity matches currentStepId/bookmark
2497
+ * 3. Marks related bookmark as consumed
2498
+ * 4. Applies frontend outputs into workflow state
2499
+ * 5. Traverses to next activity based on outcomes
2500
+ * 6. Executes ALL backend activities until hitting frontend activity or completion
2501
+ * 7. Returns either pendingTask (with new secure token) or completed status
3273
2502
  */
3274
- resumeExecution(request: AXPResumeWorkflowExecutionRequest): Promise<AXPResumeWorkflowExecutionResponse>;
2503
+ resume(request: AXPResumeWorkflowRequest): Promise<AXPResumeWorkflowResponse>;
3275
2504
  /**
3276
2505
  * Get current workflow execution state.
3277
2506
  */
3278
- getExecutionState(request: AXPGetWorkflowExecutionStateRequest): Promise<AXPWorkflowExecutionState>;
2507
+ getState(request: AXPGetWorkflowStateRequest): Promise<AXPWorkflowInstanceState>;
3279
2508
  /**
3280
- * Get workflow definition by ID.
3281
- *
3282
- * In mock implementation, this retrieves workflow definition from localStorage.
3283
- * In production, this would make an HTTP call to backend API.
3284
- *
3285
- * @param request - Get workflow definition request
3286
- * @returns Workflow definition
2509
+ * Cache for activity definitions to avoid repeated queries.
3287
2510
  */
3288
- getWorkflowDefinition(request: AXPGetWorkflowDefinitionRequest): Promise<AXPGetWorkflowDefinitionResponse>;
2511
+ private activityDefinitionCache;
3289
2512
  /**
3290
- * Generate unique task token for task-based execution.
3291
- * Inspired by Temporal's task tokens for secure task completion.
2513
+ * Cache TTL: 5 minutes
3292
2514
  */
3293
- private generateTaskToken;
2515
+ private readonly CACHE_TTL_MS;
3294
2516
  /**
3295
- * Determine execution mode for an activity.
2517
+ * Determine execution mode for an activity (async).
3296
2518
  *
3297
2519
  * Priority (highest to lowest):
3298
2520
  * 1. Activity instance's executionMode (from AXPActivity in workflow definition)
3299
- * 2. ActivityDescriptor's executionMode (from ActivityProviderService)
2521
+ * 2. ActivityDefinition's executionMode (from ActivityDefinitionService)
3300
2522
  * 3. Default: 'frontend'
3301
2523
  *
3302
- * @param activityType - Activity type (e.g., 'workflow-activity:write-line')
2524
+ * @param activityType - Activity type (e.g., 'workflow-activity:show-toast')
3303
2525
  * @param activity - Activity from workflow definition (AXPActivity)
3304
- * @returns Execution mode: 'frontend', 'backend', or 'both'
2526
+ * @returns Promise of execution mode: 'frontend', 'backend', or 'both'
3305
2527
  */
3306
2528
  private determineExecutionMode;
3307
2529
  /**
3308
2530
  * Create a task from a workflow activity.
3309
2531
  * Inspired by Temporal's Activity Task and Elsa's Bookmark pattern.
2532
+ * Uses same expression scope (inputs, variables, outputs, context.eval) as backend execution.
3310
2533
  */
3311
2534
  private createTaskFromActivity;
3312
2535
  /**
@@ -3322,9 +2545,16 @@ declare class AXCWorkflowExecutionService implements AXPWorkflowExecutionService
3322
2545
  * Execute backend activities locally using CommandBus.
3323
2546
  *
3324
2547
  * Backend activities are registered as Commands and executed via CommandService.
3325
- * This provides a unified execution channel for all activities.
2548
+ * Uses WorkflowExpressionScopeService + AXPExpressionEvaluatorService for expression
2549
+ * evaluation (inputs, variables, outputs, context.eval) so backend activities get the
2550
+ * same expression handling as the platform ActivityExecutor.
3326
2551
  */
3327
2552
  private executeBackendActivityLocally;
2553
+ /**
2554
+ * Build variable updates from activity output using activity's outputToVariables (BPMN-style: activity → variable).
2555
+ * For each entry in activity.outputToVariables, sets variables[variableName] = output[outputPath].
2556
+ */
2557
+ private getVariableUpdatesFromOutput;
3328
2558
  /**
3329
2559
  * Set variable activity - stores value in workflow state.
3330
2560
  */
@@ -3335,256 +2565,81 @@ declare class AXCWorkflowExecutionService implements AXPWorkflowExecutionService
3335
2565
  */
3336
2566
  private executeHttpRequest;
3337
2567
  /**
3338
- * Convert workflow instance to execution state (for backward compatibility).
3339
- */
3340
- private instanceToExecutionState;
3341
- /**
3342
- * Update execution state in instance and save to IndexedDB.
3343
- */
3344
- private updateInstanceFromExecutionState;
3345
- /**
3346
- * Get workflow instance from IndexedDB.
3347
- */
3348
- private getInstance;
3349
- /**
3350
- * Update workflow instance in IndexedDB.
3351
- */
3352
- private updateInstance;
3353
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowExecutionService, never>;
3354
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowExecutionService>;
3355
- }
3356
-
3357
- /**
3358
- * Mock workflow definitions for testing and demonstration.
3359
- */
3360
- declare const workflowDefinitionMock: AXPWorkflowDefinition[];
3361
- /**
3362
- * Export definitionId list for easy access
3363
- */
3364
- declare const workflowDefinitionIds: {
3365
- createUser: string;
3366
- welcome: string;
3367
- dataProcessing: string;
3368
- };
3369
-
3370
- /**
3371
- * Input for CheckPermission activity.
3372
- */
3373
- interface CheckPermissionInput {
3374
- /**
3375
- * Permission key to check (e.g., "Users.Create")
3376
- */
3377
- permission: string;
3378
- /**
3379
- * User ID to check (optional, defaults to current user)
3380
- */
3381
- userId?: string;
3382
- }
3383
- /**
3384
- * Output for CheckPermission activity.
3385
- */
3386
- interface CheckPermissionOutput {
3387
- /**
3388
- * Whether user has the permission
3389
- */
3390
- hasPermission: boolean;
3391
- /**
3392
- * User ID that was checked
3393
- */
3394
- userId: string;
3395
- /**
3396
- * Permission that was checked
3397
- */
3398
- permission: string;
3399
- }
3400
- /**
3401
- * CheckPermission Activity (Backend)
3402
- *
3403
- * Checks if a user has specific permission.
3404
- * This is a mock implementation that always grants permission for demo purposes.
3405
- *
3406
- * In production, this would check against real permission system.
3407
- *
3408
- * Execution Mode: backend
3409
- * Activity Type: workflow-activity:check-permission
3410
- *
3411
- * Outcomes:
3412
- * - HasPermission: User has the permission
3413
- * - NoPermission: User does not have the permission
3414
- */
3415
- declare class CheckPermissionActivity implements AXPCommand<CheckPermissionInput, {
3416
- output: CheckPermissionOutput;
3417
- outcomes: Record<string, any>;
3418
- }> {
3419
- execute(input: CheckPermissionInput): Promise<AXPExecuteCommandResult<{
3420
- output: CheckPermissionOutput;
3421
- outcomes: Record<string, any>;
3422
- }>>;
3423
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckPermissionActivity, never>;
3424
- static ɵprov: i0.ɵɵInjectableDeclaration<CheckPermissionActivity>;
3425
- }
3426
-
3427
- /**
3428
- * Input for ExecuteQuery activity.
3429
- */
3430
- interface ExecuteQueryInput {
3431
- /**
3432
- * Query key to execute (e.g., "User:CheckEmailExists")
3433
- */
3434
- queryKey: string;
3435
- /**
3436
- * Query parameters
3437
- */
3438
- parameters?: Record<string, any>;
3439
- }
3440
- /**
3441
- * Output for ExecuteQuery activity.
3442
- */
3443
- interface ExecuteQueryOutput {
3444
- /**
3445
- * Query result data
3446
- */
3447
- data: any;
3448
- /**
3449
- * Whether query executed successfully
3450
- */
3451
- success: boolean;
3452
- /**
3453
- * Error message if query failed
3454
- */
3455
- error?: string;
3456
- }
3457
- /**
3458
- * ExecuteQuery Activity (Backend)
3459
- *
3460
- * Executes a query operation.
3461
- * This is a mock implementation that simulates common queries.
3462
- *
3463
- * Execution Mode: backend
3464
- * Activity Type: workflow-activity:execute-query
3465
- *
3466
- * Outcomes:
3467
- * - Done: Query executed successfully
3468
- * - Valid: Data is valid (for validation queries)
3469
- * - Exists: Data exists (for existence checks)
3470
- * - NotFound: Data not found
3471
- * - Failed: Query execution failed
3472
- */
3473
- declare class ExecuteQueryActivity implements AXPCommand<ExecuteQueryInput, {
3474
- output: ExecuteQueryOutput;
3475
- outcomes: Record<string, any>;
3476
- }> {
3477
- private readonly storageService;
3478
- execute(input: ExecuteQueryInput): Promise<AXPExecuteCommandResult<{
3479
- output: ExecuteQueryOutput;
3480
- outcomes: Record<string, any>;
3481
- }>>;
3482
- /**
3483
- * Routes query to appropriate handler based on queryKey.
3484
- */
3485
- private routeQuery;
3486
- /**
3487
- * Checks if email already exists in database.
3488
- */
3489
- private checkEmailExists;
3490
- /**
3491
- * Validates data structure and content.
3492
- */
3493
- private validateData;
3494
- static ɵfac: i0.ɵɵFactoryDeclaration<ExecuteQueryActivity, never>;
3495
- static ɵprov: i0.ɵɵInjectableDeclaration<ExecuteQueryActivity>;
3496
- }
3497
-
3498
- /**
3499
- * Input for ExecuteCommand activity.
3500
- */
3501
- interface ExecuteCommandInput {
3502
- /**
3503
- * Command key to execute (e.g., "User:Create")
3504
- */
3505
- commandKey: string;
3506
- /**
3507
- * Command input data
2568
+ * Create a bookmark for a workflow instance.
2569
+ * Aligns with ERD: BOOKMARK table structure.
2570
+ *
2571
+ * @param instanceId - Workflow instance ID
2572
+ * @param activityId - Activity ID where bookmark is created
2573
+ * @param type - Bookmark type (e.g., 'user-task', 'event', 'timer')
2574
+ * @param payload - Bookmark payload data
2575
+ * @returns Bookmark ID
3508
2576
  */
3509
- input?: Record<string, any>;
3510
- }
3511
- /**
3512
- * Output for ExecuteCommand activity.
3513
- */
3514
- interface ExecuteCommandOutput {
2577
+ private createBookmark;
3515
2578
  /**
3516
- * Command result data
2579
+ * Consume (mark as consumed) a bookmark for a workflow instance.
2580
+ *
2581
+ * @param instanceId - Workflow instance ID
2582
+ * @param activityId - Activity ID of the bookmark to consume
3517
2583
  */
3518
- result: any;
2584
+ private consumeBookmark;
3519
2585
  /**
3520
- * Whether command executed successfully
2586
+ * Get active bookmarks for a workflow instance.
2587
+ *
2588
+ * @param instanceId - Workflow instance ID
2589
+ * @returns Array of active (non-consumed) bookmarks
3521
2590
  */
3522
- success: boolean;
2591
+ private getActiveBookmarks;
3523
2592
  /**
3524
- * Error message if command failed
2593
+ * Convert workflow instance to instance state.
2594
+ *
2595
+ * Aligns with ERD structure:
2596
+ * - WORKFLOW_INSTANCE: header fields (status, subStatus, timestamps)
2597
+ * - WORKFLOW_INSTANCE_STATE: heavy state (input, output, properties, stateJson)
2598
+ * - BOOKMARK: separate table (used to derive currentStepId)
3525
2599
  */
3526
- error?: string;
2600
+ private instanceToInstanceState;
3527
2601
  /**
3528
- * Created/Updated entity ID (if applicable)
2602
+ * Update instance state in instance and save to IndexedDB.
2603
+ *
2604
+ * Aligns with ERD structure:
2605
+ * - WORKFLOW_INSTANCE: header fields (status, subStatus, timestamps, correlationId)
2606
+ * - WORKFLOW_INSTANCE_STATE: heavy state (input, output, properties, stateJson)
2607
+ *
2608
+ * Handles status transitions correctly:
2609
+ * - running → suspended (when frontend activity encountered)
2610
+ * - suspended → running → completed (when workflow finishes)
2611
+ * - any → error (on errors)
3529
2612
  */
3530
- entityId?: string;
3531
- }
3532
- /**
3533
- * ExecuteCommand Activity (Backend)
3534
- *
3535
- * Executes a command operation.
3536
- * This is a mock implementation that simulates common commands.
3537
- *
3538
- * Execution Mode: backend
3539
- * Activity Type: workflow-activity:execute-command
3540
- *
3541
- * Outcomes:
3542
- * - Done: Command executed successfully
3543
- * - Failed: Command execution failed
3544
- */
3545
- declare class ExecuteCommandActivity implements AXPCommand<ExecuteCommandInput, {
3546
- output: ExecuteCommandOutput;
3547
- outcomes: Record<string, any>;
3548
- }> {
3549
- private readonly storageService;
3550
- execute(input: ExecuteCommandInput): Promise<AXPExecuteCommandResult<{
3551
- output: ExecuteCommandOutput;
3552
- outcomes: Record<string, any>;
3553
- }>>;
2613
+ private updateInstanceFromState;
3554
2614
  /**
3555
- * Routes command to appropriate handler based on commandKey.
2615
+ * Get workflow instance from IndexedDB.
3556
2616
  */
3557
- private routeCommand;
2617
+ private getInstance;
3558
2618
  /**
3559
- * Creates a new user in the system.
2619
+ * Update workflow instance in IndexedDB.
3560
2620
  */
3561
- private createUser;
2621
+ private updateInstance;
3562
2622
  /**
3563
- * Processes data according to business rules.
2623
+ * Complete a frontend activity and continue workflow execution.
2624
+ *
2625
+ * This method is called when a frontend activity (ui-activity) completes execution.
2626
+ * It applies the frontend output to workflow state, finds the next activity based on outcome,
2627
+ * and executes all backend activities until reaching the next frontend activity or completion.
2628
+ *
2629
+ * Flow:
2630
+ * 1. Apply frontend output to workflow state
2631
+ * 2. Find next activity based on outcome from connections
2632
+ * 3. Execute ALL backend activities until hitting frontend activity or completion
2633
+ * 4. Return either nextTask (with new secure token) or completed status
2634
+ *
2635
+ * @param request - Front activity completion request with instanceId, activityNode, output, and outcome
2636
+ * @returns Response with nextTask (if frontend activity) or completion status
3564
2637
  */
3565
- private processData;
3566
- static ɵfac: i0.ɵɵFactoryDeclaration<ExecuteCommandActivity, never>;
3567
- static ɵprov: i0.ɵɵInjectableDeclaration<ExecuteCommandActivity>;
2638
+ frontActivtyComplete(request: AXPFrontActivityCompleteRequest): Promise<AXPFrontActivityCompleteResponse>;
2639
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowEngine, never>;
2640
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowEngine>;
3568
2641
  }
3569
2642
 
3570
- /**
3571
- * Provides all backend workflow activities as Commands.
3572
- *
3573
- * These activities are registered with the CommandBus and can be executed
3574
- * by the workflow execution service.
3575
- *
3576
- * Usage:
3577
- * ```typescript
3578
- * @NgModule({
3579
- * providers: [
3580
- * provideWorkflowActivities(),
3581
- * ]
3582
- * })
3583
- * export class AppModule {}
3584
- * ```
3585
- */
3586
- declare function provideWorkflowActivities(): i0.EnvironmentProviders;
3587
-
3588
2643
  declare const titleInterface: AXPWidgetNode;
3589
2644
  declare const descriptionInterface: AXPWidgetNode;
3590
2645
  declare const versionInterface: AXPWidgetNode;
@@ -3620,38 +2675,6 @@ declare const multipleChoiceInterface: AXPWidgetNode;
3620
2675
  declare const multipleSelectInterface: AXPWidgetNode;
3621
2676
  declare const longTextAnswerInterface: AXPWidgetNode;
3622
2677
 
3623
- declare class AXCSystemInsightReportCategoryProvider implements AXPReportCategoryProvider {
3624
- getList(parentId?: string): Promise<AXPReportCategory[]>;
3625
- getById(id: string): Promise<AXPReportCategory | undefined>;
3626
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightReportCategoryProvider, never>;
3627
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCSystemInsightReportCategoryProvider>;
3628
- }
3629
- declare class AXCSystemInsightReportDefinitionProvider implements AXPReportDefinitionProvider {
3630
- getList(categoryId: string): Promise<AXPReportDefinition[]>;
3631
- getById(id: string): Promise<AXPReportDefinition | undefined>;
3632
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSystemInsightReportDefinitionProvider, never>;
3633
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCSystemInsightReportDefinitionProvider>;
3634
- }
3635
- declare const AXC_SYSTEM_INSIGHT_REPORT_CATEGORY_PROVIDER: {
3636
- provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportCategoryProviderToken[]>;
3637
- useClass: typeof AXCSystemInsightReportCategoryProvider;
3638
- multi: boolean;
3639
- };
3640
- declare const AXC_SYSTEM_INSIGHT_REPORT_DEFINITION_PROVIDER: {
3641
- provide: i0.InjectionToken<_acorex_modules_report_management.AXPReportDefinitionProviderToken[]>;
3642
- useClass: typeof AXCSystemInsightReportDefinitionProvider;
3643
- multi: boolean;
3644
- };
3645
-
3646
- declare const auditLogMock: AXMSystemInsightAuditLogEntityModel[];
3647
-
3648
- declare class AXMSystemInsightAuditLogDataSeeder implements AXPDataSeeder {
3649
- private storageService;
3650
- seed(): Promise<void>;
3651
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMSystemInsightAuditLogDataSeeder, never>;
3652
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMSystemInsightAuditLogDataSeeder>;
3653
- }
3654
-
3655
2678
  interface AXPRuleRow extends AXPIdentifierRule {
3656
2679
  }
3657
2680
  interface AXPSeqRow {
@@ -3731,8 +2754,31 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
3731
2754
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
3732
2755
  }
3733
2756
 
2757
+ /**
2758
+ * Middleware that automatically tracks audit information for entity operations.
2759
+ *
2760
+ * Tracks:
2761
+ * - CREATE: Sets created and updated timestamps with user info, initializes stateInfo and ownershipInfo
2762
+ * - UPDATE: Updates the updated timestamp with current user info
2763
+ * - DELETE: Records deleted timestamp with user info (useful for soft delete or history tracking)
2764
+ *
2765
+ * The audit info follows the AXPAuditInfo interface with created, updated, and deleted events.
2766
+ * Ownership info includes tenantId and applicationId from the current session.
2767
+ */
3734
2768
  declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
3735
2769
 
2770
+ /**
2771
+ * Category Resolver Middleware
2772
+ *
2773
+ * - On create/update: resolves categoryIds to full category objects with ancestor chain
2774
+ * and persists categories: [{id, parentId, title}, ...] on the record.
2775
+ * - On getOne/query/getAll: enriches records that have categoryIds but no categories
2776
+ * (e.g. seeded data) so the column can display full paths.
2777
+ *
2778
+ * Real API can return the same shape via JOIN; mock enriches at write and read time.
2779
+ */
2780
+ declare const categoryResolverMiddleware: AXPEntityStorageMiddleware;
2781
+
3736
2782
  declare const childCountMiddleware: AXPEntityStorageMiddleware;
3737
2783
 
3738
2784
  /**
@@ -3760,29 +2806,25 @@ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
3760
2806
  /**
3761
2807
  * Lookup Resolver Middleware
3762
2808
  *
3763
- * This middleware resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
2809
+ * Resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
3764
2810
  *
3765
2811
  * Behavior:
3766
2812
  * - Runs on 'create' and 'update' operations
3767
- * - Finds fields ending with 'Id' or 'Ids' (case sensitive)
2813
+ * - Finds fields ending with 'Id'/'Ids' (case-insensitive)
3768
2814
  * - Resolves IDs to full objects from corresponding entity
3769
- * - Replaces ID values with constructed objects
2815
+ * - Skips fields that are already resolved or have explicit entity config failures
3770
2816
  *
3771
2817
  * Resolution Strategy (in order):
3772
- * 1. Check entity property definition for LookupBox with entity option
3773
- * 2. If property contains dot (X.assignId -> X.assign)
3774
- * 3. Use current module name (ModuleName.assign)
3775
- * 4. Try name variants with common modules
2818
+ * 1. Check entity property definition for LookupBox with entity option (preferred)
2819
+ * 2. Use naming conventions: dotted path (X.assignId -> X.assign) or module fallback (ModuleName.entityName)
3776
2820
  *
3777
2821
  * Naming Convention:
3778
2822
  * - testId -> creates 'test' object with full record
3779
2823
  * - testIds -> creates 'testList' array with full records
3780
- * - documentId -> creates 'document' object with full record
3781
- * - categoryIds -> creates 'categoryList' array with full records
3782
2824
  *
3783
2825
  * Example:
3784
- * Input: { stageId: "123" } with lookup to CustomerManagement.opportunityStage
3785
- * Result: { stage: { id: "123", title: "Stage Title", ... } }
2826
+ * Input: { brandId: "123" } with lookup to product-catalog.brand
2827
+ * Result: { brand: { id: "123", title: "Brand Name", ... } }
3786
2828
  */
3787
2829
  declare const lookupResolverMiddleware: AXPEntityStorageMiddleware;
3788
2830
 
@@ -3825,7 +2867,112 @@ declare const signatureLoaderMiddleware: AXPEntityStorageMiddleware;
3825
2867
  */
3826
2868
  declare const lockGuardMiddleware: AXPEntityStorageMiddleware;
3827
2869
 
2870
+ /**
2871
+ * Group Order Item Calculator Middleware
2872
+ *
2873
+ * Calculates quantityInOrder and quantityAvailable for group order items.
2874
+ * Also calculates total based on price, quantityInOrder, and GST (1.15).
2875
+ *
2876
+ * quantityInOrder = sum of all member order line quantities for this item
2877
+ * quantityAvailable = size - quantityInOrder
2878
+ * total = price * quantityInOrder * 1.15 (GST)
2879
+ *
2880
+ * Runs on:
2881
+ * - GroupOrderItem create/update: Calculate for the item itself
2882
+ * - MemberOrderLine create/update/delete: Recalculate the related group order item
2883
+ */
2884
+ declare const groupOrderItemCalculatorMiddleware: AXPEntityStorageMiddleware;
2885
+
2886
+ /**
2887
+ * Key used in request params to bypass visibility filtering (isHidden flag).
2888
+ * Similar to ABP Framework's filter disabling mechanism.
2889
+ *
2890
+ * Usage:
2891
+ * ```typescript
2892
+ * await storageService.query(entityName, {
2893
+ * ...request,
2894
+ * params: { [VISIBILITY_FILTER_BYPASS]: 'true' }
2895
+ * });
2896
+ * ```
2897
+ */
2898
+ declare const VISIBILITY_FILTER_BYPASS = "__bypassVisibilityFilter";
2899
+ /**
2900
+ * Key used in request params to bypass ownership filtering (tenantId/applicationId).
2901
+ * Similar to ABP Framework's filter disabling mechanism.
2902
+ *
2903
+ * Usage:
2904
+ * ```typescript
2905
+ * await storageService.query(entityName, {
2906
+ * ...request,
2907
+ * params: { [OWNERSHIP_FILTER_BYPASS]: 'true' }
2908
+ * });
2909
+ * ```
2910
+ */
2911
+ declare const OWNERSHIP_FILTER_BYPASS = "__bypassOwnershipFilter";
2912
+ /**
2913
+ * Middleware that automatically filters out records with `isSystem` or `isHidden` flags
2914
+ * from query and getAll operations.
2915
+ *
2916
+ * This ensures that:
2917
+ * - System records (isSystem: true) are hidden from regular users
2918
+ * - Hidden records (isHidden: true) are not visible in lists
2919
+ * - Records are filtered by current tenant and application context
2920
+ * - Single record lookups (getOne) still work for direct access
2921
+ * - Filtering can be bypassed using VISIBILITY_FILTER_BYPASS or OWNERSHIP_FILTER_BYPASS in request params
2922
+ *
2923
+ * Bypass options:
2924
+ * - VISIBILITY_FILTER_BYPASS: Bypasses isHidden filtering only
2925
+ * - OWNERSHIP_FILTER_BYPASS: Bypasses tenantId/applicationId filtering only
2926
+ * - Both: Bypasses all filtering
2927
+ *
2928
+ * Note: This is applied AFTER the data is fetched from storage.
2929
+ */
2930
+ declare const visibilityFilterMiddleware: AXPEntityStorageMiddleware;
2931
+
2932
+ /**
2933
+ * Helper function to create a query request that bypasses visibility filtering (isHidden flag).
2934
+ * Similar to ABP Framework's filter disabling pattern.
2935
+ *
2936
+ * @example
2937
+ * ```typescript
2938
+ * // Bypass visibility filter for authentication
2939
+ * const users = await storageService.query(
2940
+ * entityName,
2941
+ * bypassVisibilityFilter({ skip: 0, take: 1000 })
2942
+ * );
2943
+ * ```
2944
+ */
2945
+ declare function bypassVisibilityFilter<T extends AXPQueryRequest>(request: T): T;
2946
+ /**
2947
+ * Helper function to create a query request that bypasses ownership filtering (tenantId/applicationId).
2948
+ * Similar to ABP Framework's filter disabling pattern.
2949
+ *
2950
+ * @example
2951
+ * ```typescript
2952
+ * // Bypass ownership filter to query across tenants/applications
2953
+ * const records = await storageService.query(
2954
+ * entityName,
2955
+ * bypassOwnershipFilter({ skip: 0, take: 1000 })
2956
+ * );
2957
+ * ```
2958
+ */
2959
+ declare function bypassOwnershipFilter<T extends AXPQueryRequest>(request: T): T;
2960
+ /**
2961
+ * Helper function to create a query request that bypasses both visibility and ownership filtering.
2962
+ * Similar to ABP Framework's filter disabling pattern.
2963
+ *
2964
+ * @example
2965
+ * ```typescript
2966
+ * // Bypass all filters for system operations
2967
+ * const records = await storageService.query(
2968
+ * entityName,
2969
+ * bypassAllFilters({ skip: 0, take: 1000 })
2970
+ * );
2971
+ * ```
2972
+ */
2973
+ declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
2974
+
3828
2975
  declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
3829
2976
 
3830
- export { APPLICATIONS, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCFeatureDataSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGlobalVariablesDataSeeder, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCModuleDataSeeder, AXCNotificationManagementMockModule, AXCOrganizationManagementMockModule, AXCPartyManagementMockModule, AXCPlatformManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSystemInsightMockModule, AXCSystemInsightReportCategoryProvider, AXCSystemInsightReportDefinitionProvider, AXCTaskManagementMockModule, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowDefinitionDataSeeder, AXCWorkflowExecutionDB, AXCWorkflowExecutionService, AXCWorkflowManagementMockModule, AXC_SYSTEM_INSIGHT_REPORT_CATEGORY_PROVIDER, AXC_SYSTEM_INSIGHT_REPORT_DEFINITION_PROVIDER, AXMAiResponderService, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMCollaboratorDataSeeder, AXMEmployeeDataSeeder, AXMEmployeeSkillDataSeeder, AXMEmployeeSkillsCategoryProvider, AXMEmployeeSkillsReportDefinitionProvider, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMIndustryDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMPublicationDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMReportMockDataService, AXMResponseEntryDataSeeder, AXMResponseSessionDataSeeder, AXMResponsibilityDataSeeder, AXMRoleDataSeeder, AXMSkillDataSeeder, AXMSkillLevelDataSeeder, AXMSystemInsightAuditLogDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXM_EMPLOYEE_SKILLS_CATEGORY_PROVIDER, AXM_EMPLOYEE_SKILLS_DEFINITION_PROVIDER, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXQEmployeeSkillsLevelPercentagesQuery, AXQEmployeeSkillsLevelsQuery, AXQEmployeeSkillsListQuery, AXQEmployeeSkillsSkillPercentagesQuery, AXQEmployeeSkillsStatsQuery, AXQEmployeeSkillsTrendQuery, AXVChangeType, BUSINESS_UNITS_MOCK, CheckPermissionActivity, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYEE_SKILLS_MOCK, EMPLOYMENT_TYPES_MOCK, ExecuteCommandActivity, ExecuteQueryActivity, FEATURES, GLOBAL_VARIABLES, LEAVE_REQUESTS_MOCK, MODULES, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, ROLES_CATEGORY_MOCK, ROLES_MOCK, SKILLS_CATEGORY_MOCK, SKILLS_MOCK, SKILL_LEVELS_MOCK, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, applications, auditLogMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, calendarEventMock, calendarEventTypeMockData, calendarMock, checkboxInterface, childCountMiddleware, collaboratorMock, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, fileUploaderInterface, findContactMethod, findEmployeeById, findPartyById, generateUserDashboard, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, learningAttendanceMock, learningCertificateDefinitionMock, learningCertificateMock, learningCertificateTypeMock, learningCourseMock, learningCourseTypeMock, learningEmployeeSkillMock, learningEnrollmentMock, learningLearningPathCourseMock, learningLearningPathMock, learningManagementEntityKeys, learningManagementMockData, learningMandatoryTrainingRuleMock, learningSkillCategoryMock, learningSkillLevelMock, learningSkillMock, learningTrainingDefinitionMock, learningTrainingMock, learningTrainingTypeMock, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, phoneInterface, primaryMiddleware, provideWorkflowActivities, publicationMock, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, responseEntryMock, responseSessionMock, richTextInterface, scaleInterface, selectInterface, selectionListInterface, signatureInterface, signatureLoaderMiddleware, tagInterface, tenantsMock, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, urlInterface, versionInterface, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
3831
- export type { AXCBusinessUnitMockDto, AXCEmployeeSkillMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCSkillLevelMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, CheckPermissionInput, CheckPermissionOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, MockUserPassCredentials, PartyMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, RoleMockDto, SkillMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };
2977
+ export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactCoreMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEquipmentCategorySeeder, AXCEquipmentSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetaDataDefinitionElectricityDataSeeder, AXCMetadataCategorySeeder, AXCMetadataElectricityCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowCategorySeeder, AXCWorkflowDefinitionDataSeeder, AXCWorkflowEngine, AXCWorkflowExecutionDB, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMAssessmentCaseDataSeeder, AXMAssessmentSessionDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXMTeamMemberDataSeeder, AXMTeamMemberRoleDataSeeder, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BUSINESS_UNITS_MOCK, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CRM_ENTERPRISE, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, EQUIPMENT_CATEGORY_ID, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, HR_ENTERPRISE, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, METADATA_ELECTRICITY_MOCK, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEAM_MEMBERS_MOCK, TEAM_MEMBER_ROLES_MOCK, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, WORKFLOW_CATEGORIES, activityCategoryMocks, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, categoryResolverMiddleware, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, equipmentCategoryMocks, equipmentMocks, fileUploaderInterface, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, metadataElectricityCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, personIdentifierTypeMock, personRelationshipTypeMock, phoneInterface, primaryMiddleware, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, signatureInterface, signatureLoaderMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
2978
+ export type { AXCBookmarkEntity, AXCBusinessUnitMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMemberMockDto, AXCTeamMemberRoleMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, JobDefinitionMockDto, JobLevelMockDto, MetadataElectricityMockDto, MockUserPassCredentials, PersonMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };