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

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 (30) hide show
  1. package/api/index.d.ts +5 -6
  2. package/fesm2022/{acorex-connectivity-api-execute.command-CQt_HF1B.mjs → acorex-connectivity-api-execute.command-SGNBLcOi.mjs} +2 -2
  3. package/fesm2022/acorex-connectivity-api-execute.command-SGNBLcOi.mjs.map +1 -0
  4. package/fesm2022/acorex-connectivity-api.mjs +29 -23
  5. package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
  6. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-C3eQfF0A.mjs +115 -0
  7. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-C3eQfF0A.mjs.map +1 -0
  8. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-CLzDz9ob.mjs +163 -0
  9. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-CLzDz9ob.mjs.map +1 -0
  10. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-DDVVFeYN.mjs +97 -0
  11. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-DDVVFeYN.mjs.map +1 -0
  12. package/fesm2022/acorex-connectivity-mock-get-product-list.query-ChtYlSTt.mjs +157 -0
  13. package/fesm2022/acorex-connectivity-mock-get-product-list.query-ChtYlSTt.mjs.map +1 -0
  14. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-HxX_bCT8.mjs +56 -0
  15. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-HxX_bCT8.mjs.map +1 -0
  16. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-dp08JqLP.mjs +168 -0
  17. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-dp08JqLP.mjs.map +1 -0
  18. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-IATTXcAV.mjs +180 -0
  19. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-IATTXcAV.mjs.map +1 -0
  20. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-DlXi4Rcg.mjs +56 -0
  21. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-DlXi4Rcg.mjs.map +1 -0
  22. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-hskw8Ioa.mjs +216 -0
  23. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-hskw8Ioa.mjs.map +1 -0
  24. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-Bs5U5tze.mjs +134 -0
  25. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-Bs5U5tze.mjs.map +1 -0
  26. package/fesm2022/acorex-connectivity-mock.mjs +28129 -27839
  27. package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
  28. package/mock/index.d.ts +622 -1896
  29. package/package.json +6 -6
  30. package/fesm2022/acorex-connectivity-api-execute.command-CQt_HF1B.mjs.map +0 -1
package/mock/index.d.ts CHANGED
@@ -1,28 +1,28 @@
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
- import { Injector, Type } from '@angular/core';
3
+ import { Injector } 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 } 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';
16
18
  import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
19
+ import { AXPActivityCategory, AXPActivityDefinition, AXPWorkflowInstance, AXPWorkflowExecutionService, AXPStartWorkflowExecutionRequest, AXPStartWorkflowExecutionResponse, AXPResumeWorkflowExecutionRequest, AXPResumeWorkflowExecutionResponse, AXPGetWorkflowExecutionStateRequest, AXPWorkflowExecutionState, AXPGetWorkflowDefinitionRequest, AXPGetWorkflowDefinitionResponse, AXPWorkflowDefinition } from '@acorex/platform/workflow';
17
20
  import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
18
21
  import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
22
+ import { AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
19
23
  import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
20
24
  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
25
  import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
25
- import { AXMSystemInsightAuditLogEntityModel } from '@acorex/modules/system-insight';
26
26
  import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
27
27
 
28
28
  declare class AXCCommonMockModule {
@@ -55,6 +55,30 @@ declare class AXCCustomerManagementMockModule {
55
55
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
56
56
  }
57
57
 
58
+ declare class AXCSupplierManagementMockModule {
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSupplierManagementMockModule, never>;
60
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSupplierManagementMockModule, never, never, never>;
61
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSupplierManagementMockModule>;
62
+ }
63
+
64
+ declare class AXCProcurementManagementMockModule {
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCProcurementManagementMockModule, never>;
66
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProcurementManagementMockModule, never, never, never>;
67
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCProcurementManagementMockModule>;
68
+ }
69
+
70
+ declare class AXCOrderManagementMockModule {
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrderManagementMockModule, never>;
72
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrderManagementMockModule, never, never, never>;
73
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
74
+ }
75
+
76
+ declare class AXCSubscriptionManagementMockModule {
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
78
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
79
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSubscriptionManagementMockModule>;
80
+ }
81
+
58
82
  declare class AXCContactManagementMockModule {
59
83
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
60
84
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
@@ -121,6 +145,12 @@ declare class AXCApplicationManagementMockModule {
121
145
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
122
146
  }
123
147
 
148
+ declare class AXCTenantManagementMockModule {
149
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
150
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
151
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
152
+ }
153
+
124
154
  declare class AXCLearningManagementMockModule {
125
155
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
126
156
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
@@ -151,12 +181,6 @@ declare class AXCHelpDeskMockModule {
151
181
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
152
182
  }
153
183
 
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
184
  declare class AXCCalendarManagementMockModule {
161
185
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
162
186
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
@@ -169,12 +193,6 @@ declare class AXCDataManagementMockModule {
169
193
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
170
194
  }
171
195
 
172
- declare class AXCWorkflowManagementMockModule {
173
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
174
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
175
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
176
- }
177
-
178
196
  declare class AXCNotificationManagementMockModule {
179
197
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
180
198
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
@@ -187,10 +205,10 @@ declare class AXCTaskManagementMockModule {
187
205
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
188
206
  }
189
207
 
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>;
208
+ declare class AXCPersonManagementMockModule {
209
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonManagementMockModule, never>;
210
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonManagementMockModule, never, never, never>;
211
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonManagementMockModule>;
194
212
  }
195
213
 
196
214
  declare class AXCContentManagementMockModule {
@@ -229,6 +247,12 @@ declare class AXCMeasurementCoreMockModule {
229
247
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeasurementCoreMockModule>;
230
248
  }
231
249
 
250
+ declare class AXCBusinessCoreMockModule {
251
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCBusinessCoreMockModule, never>;
252
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCBusinessCoreMockModule, never, never, never>;
253
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCBusinessCoreMockModule>;
254
+ }
255
+
232
256
  declare class AXCProductCatalogMockModule {
233
257
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCProductCatalogMockModule, never>;
234
258
  static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProductCatalogMockModule, never, never, never>;
@@ -244,7 +268,7 @@ declare class AXCMiddlewaresModule {
244
268
  declare class AXCMockModule {
245
269
  constructor(appInitService: AXPAppStartUpService, injector: Injector);
246
270
  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>;
271
+ 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 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 AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCBusinessCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCMiddlewaresModule], never>;
248
272
  static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
249
273
  }
250
274
 
@@ -292,99 +316,6 @@ declare class AXCGoogleStrategyMock extends AXPAuthStrategy {
292
316
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCGoogleStrategyMock>;
293
317
  }
294
318
 
295
- /**
296
- * Mock implementation of AXPLoginChallengeProvider for testing
297
- *
298
- * This provider simulates a server-side captcha system:
299
- * - Tracks failed login attempts
300
- * - After 3 failed attempts, requires captcha
301
- * - Generates mock captcha images client-side (for demo purposes)
302
- *
303
- * @example
304
- * ```typescript
305
- * // In your module providers:
306
- * {
307
- * provide: AXP_LOGIN_CHALLENGE_PROVIDER,
308
- * useClass: AXCImageCaptchaChallengeProviderMock
309
- * }
310
- * ```
311
- */
312
- declare class AXCImageCaptchaChallengeProviderMock extends AXPLoginChallengeProvider {
313
- readonly name = "image-captcha-mock";
314
- /** Current captcha code that user needs to enter */
315
- private currentCaptchaCode;
316
- /** Current challenge ID */
317
- private currentChallengeId;
318
- /** Failed attempts tracker */
319
- private attemptsTracker;
320
- /**
321
- * Checks if the login error indicates that a captcha is required
322
- *
323
- * In this mock implementation, we check:
324
- * 1. If the error contains requiresCaptcha flag
325
- * 2. If failed attempts threshold is reached
326
- * 3. If error status is 429 (Too Many Requests)
327
- */
328
- checkResponse(error: unknown): AXPChallengeCheckResult | null;
329
- /**
330
- * Generates a new captcha challenge
331
- *
332
- * In this mock implementation:
333
- * - Generates a random code
334
- * - Creates a captcha image client-side
335
- * - Returns the challenge data
336
- *
337
- * In a real implementation, this would call the server API
338
- */
339
- getChallenge(serverData?: Record<string, unknown>): Promise<AXPLoginChallengeData>;
340
- /**
341
- * Generates a fresh captcha, replacing the current one
342
- */
343
- refreshChallenge(): Promise<AXPLoginChallengeData>;
344
- /**
345
- * Returns the custom mock captcha component for rendering
346
- */
347
- getChallengeComponent(): Type<AXPLoginChallengeComponentBase>;
348
- /**
349
- * Validates the captcha response (for testing purposes)
350
- * In a real implementation, validation happens on the server
351
- */
352
- validateCaptchaResponse(challengeId: string, response: string): boolean;
353
- /**
354
- * Resets the failed attempts counter (for testing)
355
- */
356
- resetAttempts(): void;
357
- /**
358
- * Gets current failed attempts count (for testing/debugging)
359
- */
360
- getFailedAttempts(): number;
361
- /**
362
- * Simulates network delay for realistic behavior
363
- */
364
- private simulateNetworkDelay;
365
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCImageCaptchaChallengeProviderMock, never>;
366
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCImageCaptchaChallengeProviderMock>;
367
- }
368
-
369
- /**
370
- * Mock CAPTCHA challenge component with custom styling
371
- * Demonstrates how providers can create custom challenge UIs
372
- */
373
- declare class AXCMockCaptchaChallengeComponent extends AXPLoginChallengeComponentBase {
374
- /** Local state for the response input */
375
- protected response: i0.WritableSignal<string>;
376
- /**
377
- * Handles response input change
378
- */
379
- protected onResponseChange(value: string): void;
380
- /**
381
- * Handles refresh button click
382
- */
383
- protected onRefreshClick(): void;
384
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockCaptchaChallengeComponent, never>;
385
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCMockCaptchaChallengeComponent, "axc-mock-captcha-challenge", never, {}, {}, never, never, true, never>;
386
- }
387
-
388
319
  declare class AXCDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
389
320
  private sessionService;
390
321
  constructor();
@@ -450,6 +381,24 @@ declare class AXCApplicationDataSeeder implements AXPDataSeeder {
450
381
  }
451
382
 
452
383
  declare const EDITIONS: AXMApplicationManagementEditionEntityModel[];
384
+ declare const SHOP_BASIC: AXMApplicationManagementEditionEntityModel;
385
+ declare const SHOP_PRO: AXMApplicationManagementEditionEntityModel;
386
+ declare const SHOP_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
387
+ declare const FINANCE_BASIC: AXMApplicationManagementEditionEntityModel;
388
+ declare const FINANCE_PRO: AXMApplicationManagementEditionEntityModel;
389
+ declare const FINANCE_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
390
+ declare const ORDERING_BASIC: AXMApplicationManagementEditionEntityModel;
391
+ declare const ORDERING_STANDARD: AXMApplicationManagementEditionEntityModel;
392
+ declare const ORDERING_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
393
+ declare const PLATFORM_CONSOLE: AXMApplicationManagementEditionEntityModel;
394
+ declare const SAFETYMINDER_BASIC: AXMApplicationManagementEditionEntityModel;
395
+ declare const SAFETYMINDER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
396
+ declare const SAFETYMINDER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
397
+ declare const COSTMANAGER_STANDARD: AXMApplicationManagementEditionEntityModel;
398
+ declare const COSTMANAGER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
399
+ declare const COSTMANAGER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
400
+ declare const CRM_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
401
+ declare const HR_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
453
402
 
454
403
  declare class AXCEditionDataSeeder implements AXPDataSeeder {
455
404
  private readonly storageService;
@@ -458,22 +407,19 @@ declare class AXCEditionDataSeeder implements AXPDataSeeder {
458
407
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
459
408
  }
460
409
 
461
- declare const FEATURES: AXMApplicationManagementFeatureEntityModel[];
462
-
463
- declare class AXCFeatureDataSeeder implements AXPDataSeeder {
464
- private readonly storageService;
410
+ declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
411
+ private storageService;
412
+ private appVersionService;
465
413
  seed(): Promise<void>;
466
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFeatureDataSeeder, never>;
467
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFeatureDataSeeder>;
414
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
415
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
468
416
  }
469
417
 
470
- declare const MODULES: AXMApplicationManagementModuleEntityModel[];
471
-
472
- declare class AXCModuleDataSeeder implements AXPDataSeeder {
473
- private readonly storageService;
418
+ declare class AXCAppTermDataSeeder implements AXPDataSeeder {
419
+ private storageService;
474
420
  seed(): Promise<void>;
475
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCModuleDataSeeder, never>;
476
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCModuleDataSeeder>;
421
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
422
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
477
423
  }
478
424
 
479
425
  interface QuestionBankItemMockDto extends AXPCategorizedEntityDto {
@@ -503,8 +449,35 @@ interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
503
449
  title: string;
504
450
  description?: string;
505
451
  type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
506
- sections: any[];
507
- items: any[];
452
+ structure?: {
453
+ sections: Array<{
454
+ id: string;
455
+ title: string;
456
+ description?: string;
457
+ order: number;
458
+ visibilityCondition?: string;
459
+ scoringWeight?: number;
460
+ items: Array<{
461
+ id: string;
462
+ questionBankItemId: string;
463
+ order: number;
464
+ isRequired?: boolean;
465
+ visibilityCondition?: string;
466
+ requiredCondition?: string;
467
+ scoringOverride?: {
468
+ points?: number;
469
+ weight?: number;
470
+ };
471
+ }>;
472
+ }>;
473
+ displaySettings?: {
474
+ viewMode?: 'single-page' | 'page-per-group' | 'page-per-question';
475
+ showProgressBar?: boolean;
476
+ showTimer?: boolean;
477
+ showSectionTitles?: boolean;
478
+ showQuestionNumbers?: boolean;
479
+ };
480
+ };
508
481
  scoringType: 'none' | 'cumulative' | 'weighted' | 'formula';
509
482
  passingScore?: number;
510
483
  scoringFormula?: string;
@@ -515,7 +488,6 @@ interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
515
488
  allowBackNavigation: boolean;
516
489
  randomizeQuestions: boolean;
517
490
  requireAllAnswers: boolean;
518
- showProgressBar: boolean;
519
491
  categoryIds: string[];
520
492
  categories: {
521
493
  id: string;
@@ -555,379 +527,303 @@ declare class AXMQuestionnaireDataSeeder implements AXPDataSeeder {
555
527
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireDataSeeder>;
556
528
  }
557
529
 
558
- declare const publicationMock: ({
559
- id: string;
560
- questionnaireId: string;
561
- questionnaire: {
562
- id: string;
563
- title: string;
564
- type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
565
- };
566
- title: string;
567
- 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
- } | {
530
+ declare const assessmentCaseMock: {
583
531
  id: string;
584
532
  questionnaireId: string;
585
533
  questionnaire: {
586
534
  id: string;
587
535
  title: string;
588
- type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
536
+ type: "checklist" | "questionnaire" | "survey" | "test" | "evaluation";
589
537
  };
590
538
  title: string;
591
539
  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: {
540
+ subjectRef: {
541
+ type: string;
610
542
  id: string;
611
543
  title: string;
612
- type: "test" | "checklist" | "questionnaire" | "survey" | "evaluation";
613
544
  };
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;
545
+ statusId: string;
623
546
  createdAt: Date;
624
547
  updatedAt: Date;
625
- validFrom?: undefined;
626
- validTo?: undefined;
627
- timeLimit?: undefined;
628
- accessCode?: undefined;
629
- isActive?: undefined;
630
- })[];
548
+ }[];
631
549
 
632
- declare class AXMPublicationDataSeeder implements AXPDataSeeder {
550
+ declare class AXMAssessmentCaseDataSeeder implements AXPDataSeeder {
633
551
  private storage;
634
552
  seed(): Promise<void>;
635
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPublicationDataSeeder, never>;
636
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPublicationDataSeeder>;
553
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentCaseDataSeeder, never>;
554
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentCaseDataSeeder>;
637
555
  }
638
556
 
639
- declare const responseSessionMock: ({
557
+ declare const assessmentSessionMock: ({
640
558
  id: string;
641
- publicationId: string;
642
- publication: {
559
+ caseId: string;
560
+ case: {
643
561
  id: string;
644
562
  title: string;
645
563
  };
646
- primaryResponderId: string;
647
- primaryResponder: {
564
+ responderId: string;
565
+ responder: {
648
566
  id: string;
649
567
  displayName: string;
650
568
  };
651
- status: string;
569
+ role: string;
570
+ statusId: string;
652
571
  startedAt: Date;
572
+ lastSavedAt: Date;
653
573
  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;
574
+ progressPercentage: number;
575
+ answeredQuestionsCount: number;
576
+ answers: {
577
+ 'item-1': {
578
+ value: string;
579
+ };
580
+ 'item-2': {
581
+ value: number;
582
+ };
583
+ 'item-3': {
584
+ value: string;
585
+ };
586
+ 'item-4': {
587
+ value: string;
588
+ };
589
+ 'item-5': {
590
+ value: string;
591
+ };
592
+ 'item-6': {
593
+ value: string;
594
+ };
595
+ 'item-7'?: undefined;
596
+ 'item-8'?: undefined;
597
+ 'item-9'?: undefined;
598
+ 'item-10'?: undefined;
679
599
  };
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
600
  createdAt: Date;
693
601
  updatedAt: Date;
694
- currentSectionId?: undefined;
695
- reviewedBy?: undefined;
696
- reviewer?: undefined;
602
+ previousId?: undefined;
697
603
  } | {
698
604
  id: string;
699
- publicationId: string;
700
- publication: {
605
+ caseId: string;
606
+ case: {
701
607
  id: string;
702
608
  title: string;
703
609
  };
704
- primaryResponderId: string;
705
- primaryResponder: {
610
+ responderId: string;
611
+ responder: {
706
612
  id: string;
707
613
  displayName: string;
708
614
  };
709
- status: string;
615
+ role: string;
616
+ statusId: string;
710
617
  startedAt: Date;
711
- completedAt: Date;
712
- submittedAt: Date;
618
+ lastSavedAt: Date;
713
619
  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;
620
+ progressPercentage: number;
621
+ answeredQuestionsCount: number;
622
+ answers: {
623
+ 'item-1': {
624
+ value: string;
625
+ };
626
+ 'item-2': {
627
+ value: number;
628
+ };
629
+ 'item-3': {
630
+ value: string;
631
+ };
632
+ 'item-4': {
633
+ value: string;
634
+ };
635
+ 'item-5': {
636
+ value: string;
637
+ };
638
+ 'item-6': {
639
+ value: string;
640
+ };
641
+ 'item-7': {
642
+ value: string;
643
+ };
644
+ 'item-8': {
645
+ value: string;
646
+ };
647
+ 'item-9': {
648
+ value: string;
649
+ };
650
+ 'item-10': {
651
+ value: string;
652
+ };
749
653
  };
750
- role: string;
751
- canRespond: boolean;
752
- canOverride: boolean;
753
- canReview: boolean;
754
- canView: boolean;
755
- joinedAt: Date;
756
- lastActiveAt: Date;
757
654
  createdAt: Date;
758
655
  updatedAt: Date;
656
+ previousId?: undefined;
759
657
  } | {
760
658
  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: {
659
+ caseId: string;
660
+ case: {
793
661
  id: string;
794
- publicationId: string;
662
+ title: string;
795
663
  };
796
- questionnaireItemId: string;
797
664
  responderId: string;
798
665
  responder: {
799
666
  id: string;
800
667
  displayName: string;
801
668
  };
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;
669
+ role: string;
670
+ statusId: string;
671
+ previousId: string;
672
+ startedAt: Date;
673
+ lastSavedAt: Date;
813
674
  timeSpent: number;
814
- attemptCount: number;
815
- skipped: boolean;
816
- flaggedForReview: boolean;
675
+ progressPercentage: number;
676
+ answeredQuestionsCount: number;
677
+ answers: {
678
+ 'item-1': {
679
+ value: string;
680
+ };
681
+ 'item-2': {
682
+ value: number;
683
+ };
684
+ 'item-3': {
685
+ value: string;
686
+ };
687
+ 'item-4': {
688
+ value: string;
689
+ };
690
+ 'item-5': {
691
+ value: string;
692
+ };
693
+ 'item-6': {
694
+ value: string;
695
+ };
696
+ 'item-7': {
697
+ value: string;
698
+ };
699
+ 'item-8': {
700
+ value: string;
701
+ };
702
+ 'item-9': {
703
+ value: string;
704
+ };
705
+ 'item-10': {
706
+ value: string;
707
+ };
708
+ };
817
709
  createdAt: Date;
818
710
  updatedAt: Date;
819
- overriddenBy?: undefined;
820
- overrider?: undefined;
821
- overriddenAt?: undefined;
822
- originalAnswer?: undefined;
823
- overrideReason?: undefined;
824
711
  } | {
825
712
  id: string;
826
- sessionId: string;
827
- session: {
713
+ caseId: string;
714
+ case: {
828
715
  id: string;
829
- publicationId: string;
716
+ title: string;
830
717
  };
831
- questionnaireItemId: string;
832
718
  responderId: string;
833
719
  responder: {
834
720
  id: string;
835
721
  displayName: string;
836
722
  };
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;
723
+ role: string;
724
+ statusId: string;
725
+ progressPercentage: number;
726
+ answeredQuestionsCount: number;
727
+ answers: {
728
+ 'item-1'?: undefined;
729
+ 'item-2'?: undefined;
730
+ 'item-3'?: undefined;
731
+ 'item-4'?: undefined;
732
+ 'item-5'?: undefined;
733
+ 'item-6'?: undefined;
734
+ 'item-7'?: undefined;
735
+ 'item-8'?: undefined;
736
+ 'item-9'?: undefined;
737
+ 'item-10'?: undefined;
852
738
  };
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
739
  createdAt: Date;
862
740
  updatedAt: Date;
863
- isCorrect?: undefined;
741
+ startedAt?: undefined;
742
+ lastSavedAt?: undefined;
743
+ timeSpent?: undefined;
744
+ previousId?: undefined;
864
745
  } | {
865
746
  id: string;
866
- sessionId: string;
867
- session: {
747
+ caseId: string;
748
+ case: {
868
749
  id: string;
869
- publicationId: string;
750
+ title: string;
870
751
  };
871
- questionnaireItemId: string;
872
752
  responderId: string;
873
753
  responder: {
874
754
  id: string;
875
755
  displayName: string;
876
756
  };
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;
757
+ role: string;
758
+ statusId: string;
759
+ startedAt: Date;
760
+ lastSavedAt: Date;
888
761
  timeSpent: number;
889
- attemptCount: number;
890
- skipped: boolean;
891
- flaggedForReview: boolean;
762
+ progressPercentage: number;
763
+ answeredQuestionsCount: number;
764
+ answers: {
765
+ 'item-1': {
766
+ value: string;
767
+ };
768
+ 'item-2': {
769
+ value: string;
770
+ };
771
+ 'item-3': {
772
+ value: string;
773
+ };
774
+ 'item-4'?: undefined;
775
+ 'item-5'?: undefined;
776
+ 'item-6'?: undefined;
777
+ 'item-7'?: undefined;
778
+ 'item-8'?: undefined;
779
+ 'item-9'?: undefined;
780
+ 'item-10'?: undefined;
781
+ };
892
782
  createdAt: Date;
893
783
  updatedAt: Date;
894
- overriddenBy?: undefined;
895
- overrider?: undefined;
896
- overriddenAt?: undefined;
897
- originalAnswer?: undefined;
898
- overrideReason?: undefined;
784
+ previousId?: undefined;
899
785
  })[];
900
786
 
901
- declare class AXMResponseEntryDataSeeder implements AXPDataSeeder {
787
+ declare class AXMAssessmentSessionDataSeeder implements AXPDataSeeder {
902
788
  private storage;
903
789
  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>;
790
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentSessionDataSeeder, never>;
791
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentSessionDataSeeder>;
914
792
  }
915
793
 
916
- declare class AXCGlobalVariablesDataSeeder implements AXPDataSeeder {
794
+ declare class AXCTokensDataSeeder implements AXPDataSeeder {
917
795
  private storageService;
918
796
  seed(): Promise<void>;
919
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGlobalVariablesDataSeeder, never>;
920
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGlobalVariablesDataSeeder>;
797
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTokensDataSeeder, never>;
798
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTokensDataSeeder>;
921
799
  }
922
800
 
923
- declare const GLOBAL_VARIABLES: {
801
+ declare const TOKENS: {
924
802
  id: string;
925
803
  name: string;
926
804
  title: string;
927
- dataType: string;
928
- value: string;
805
+ description: string;
806
+ type: "String" | "Integer" | "Boolean" | "Expression";
807
+ expression: string;
929
808
  }[];
930
809
 
810
+ /**
811
+ * Tenant ID constants for use across mock data.
812
+ * These are generated once and exported to ensure consistency.
813
+ */
814
+ declare const PLATFORM_TENANT_ID: string;
815
+ declare const TIMEPLICITY_TENANT_ID: string;
816
+ declare const LASER_PLUMBING_TENANT_ID: string;
817
+
818
+ declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
819
+
820
+ declare class AXCTenantSeeder implements AXPDataSeeder {
821
+ private readonly storageService;
822
+ seed(): Promise<void>;
823
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantSeeder, never>;
824
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTenantSeeder>;
825
+ }
826
+
931
827
  declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
932
828
  private storageService;
933
829
  seed(): Promise<void>;
@@ -942,23 +838,13 @@ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
942
838
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
943
839
  }
944
840
 
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
- }[];
841
+ type RoleMockDto = AXMSecurityManagementRolesEntityModel;
842
+ declare const mockRoleDefinitions: RoleMockDto[];
956
843
 
957
- interface AXCMockUserMockDto {
844
+ interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
958
845
  id: string;
959
846
  username: string;
960
847
  displayName: string;
961
- partyId: string;
962
848
  roleIds: string[];
963
849
  roles: {
964
850
  id: string;
@@ -1016,15 +902,15 @@ declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | unde
1016
902
  interface AXCEmployeeMockDto {
1017
903
  id: string;
1018
904
  userId?: string;
1019
- partyId: string;
1020
- party: {
905
+ personId: string;
906
+ person: {
1021
907
  id: string;
1022
908
  displayName: string;
1023
909
  };
1024
910
  birthDate: Date;
1025
911
  employeeCode: string;
1026
- roleId: string;
1027
- role: {
912
+ jobDefinitionId: string;
913
+ jobDefinition: {
1028
914
  id: string;
1029
915
  title: string;
1030
916
  };
@@ -1074,6 +960,7 @@ declare class AXMTeamDataSeeder implements AXPDataSeeder {
1074
960
 
1075
961
  interface PositionMockDto extends AXPCategorizedEntityDto {
1076
962
  id: string;
963
+ code: string;
1077
964
  title: string;
1078
965
  description: string;
1079
966
  categoryIds: string[];
@@ -1081,7 +968,22 @@ interface PositionMockDto extends AXPCategorizedEntityDto {
1081
968
  id: string;
1082
969
  title: string;
1083
970
  }[];
1084
- isManager?: boolean;
971
+ jobLevelId: string;
972
+ jobLevel?: {
973
+ id: string;
974
+ title: string;
975
+ };
976
+ jobDefinitionId?: string;
977
+ jobDefinition?: {
978
+ id: string;
979
+ title: string;
980
+ };
981
+ businessUnitId?: string;
982
+ businessUnit?: {
983
+ id: string;
984
+ title: string;
985
+ };
986
+ capacity?: number;
1085
987
  }
1086
988
  declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1087
989
  declare const POSITIONS_MOCK: PositionMockDto[];
@@ -1093,7 +995,7 @@ declare class AXMPositionDataSeeder implements AXPDataSeeder {
1093
995
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
1094
996
  }
1095
997
 
1096
- interface RoleMockDto extends AXPCategorizedEntityDto {
998
+ interface JobDefinitionMockDto extends AXPCategorizedEntityDto {
1097
999
  id: string;
1098
1000
  title: string;
1099
1001
  description: string;
@@ -1102,25 +1004,38 @@ interface RoleMockDto extends AXPCategorizedEntityDto {
1102
1004
  id: string;
1103
1005
  title: string;
1104
1006
  }[];
1105
- skillsId: string[];
1106
- skills: {
1107
- id: string;
1108
- title: string;
1109
- }[];
1110
- responsibilitiesId: string[];
1111
- responsibilities: {
1007
+ responsibilityLevelIds?: string[];
1008
+ responsibilities?: AXPSpreadsheetData;
1009
+ jobLevelIds?: string[];
1010
+ jobLevels?: {
1112
1011
  id: string;
1113
1012
  title: string;
1114
1013
  }[];
1014
+ skillRequirements?: AXPSpreadsheetData;
1015
+ }
1016
+ declare const JOB_DEFINITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1017
+ declare const JOB_DEFINITIONS_MOCK: JobDefinitionMockDto[];
1018
+
1019
+ declare class AXMJobDefinitionDataSeeder implements AXPDataSeeder {
1020
+ private storageService;
1021
+ seed(): Promise<void>;
1022
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobDefinitionDataSeeder, never>;
1023
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobDefinitionDataSeeder>;
1024
+ }
1025
+
1026
+ interface JobLevelMockDto {
1027
+ id: string;
1028
+ title: string;
1029
+ description?: string;
1030
+ order: number;
1115
1031
  }
1116
- declare const ROLES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1117
- declare const ROLES_MOCK: RoleMockDto[];
1032
+ declare const JOB_LEVELS_MOCK: JobLevelMockDto[];
1118
1033
 
1119
- declare class AXMRoleDataSeeder implements AXPDataSeeder {
1034
+ declare class AXMJobLevelDataSeeder implements AXPDataSeeder {
1120
1035
  private storageService;
1121
1036
  seed(): Promise<void>;
1122
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMRoleDataSeeder, never>;
1123
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMRoleDataSeeder>;
1037
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobLevelDataSeeder, never>;
1038
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobLevelDataSeeder>;
1124
1039
  }
1125
1040
 
1126
1041
  interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
@@ -1172,69 +1087,6 @@ declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
1172
1087
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
1173
1088
  }
1174
1089
 
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[];
1187
-
1188
- declare class AXMSkillDataSeeder implements AXPDataSeeder {
1189
- private storageService;
1190
- 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
1090
  declare const EMPLOYMENT_TYPES_MOCK: any[];
1239
1091
 
1240
1092
  declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
@@ -1245,43 +1097,39 @@ declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
1245
1097
  }
1246
1098
 
1247
1099
  declare const LEAVE_REQUEST_STATUS_DEFINITIONS: readonly [{
1248
- readonly name: _acorex_platform_core.AXPSystemStatusType.Pending;
1100
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Pending;
1249
1101
  readonly title: string;
1250
1102
  readonly icon: "fa-light fa-clock";
1251
1103
  readonly color: "warning";
1252
1104
  readonly description: string;
1253
1105
  readonly order: 1;
1254
- readonly isActive: true;
1255
1106
  readonly isInitial: true;
1256
1107
  readonly isFinal: false;
1257
1108
  }, {
1258
- readonly name: _acorex_platform_core.AXPSystemStatusType.Approved;
1109
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Approved;
1259
1110
  readonly title: string;
1260
1111
  readonly icon: "fa-light fa-check-circle";
1261
1112
  readonly color: "success";
1262
1113
  readonly description: string;
1263
1114
  readonly order: 3;
1264
- readonly isActive: true;
1265
1115
  readonly isInitial: false;
1266
1116
  readonly isFinal: false;
1267
1117
  }, {
1268
- readonly name: _acorex_platform_core.AXPSystemStatusType.Rejected;
1118
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Rejected;
1269
1119
  readonly title: string;
1270
1120
  readonly icon: "fa-light fa-times-circle";
1271
1121
  readonly color: "danger";
1272
1122
  readonly description: string;
1273
1123
  readonly order: 6;
1274
- readonly isActive: true;
1275
1124
  readonly isInitial: false;
1276
1125
  readonly isFinal: true;
1277
1126
  }, {
1278
- readonly name: _acorex_platform_core.AXPSystemStatusType.Cancelled;
1127
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Cancelled;
1279
1128
  readonly title: string;
1280
1129
  readonly icon: "fa-light fa-times-circle";
1281
1130
  readonly color: "neutral";
1282
1131
  readonly description: string;
1283
1132
  readonly order: 6;
1284
- readonly isActive: true;
1285
1133
  readonly isInitial: false;
1286
1134
  readonly isFinal: true;
1287
1135
  }];
@@ -1311,111 +1159,7 @@ declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
1311
1159
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
1312
1160
  }
1313
1161
 
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
- };
1336
-
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 {
1162
+ interface PersonMockData {
1419
1163
  id: string;
1420
1164
  firstName: string;
1421
1165
  lastName: string;
@@ -1425,14 +1169,7 @@ interface PartyMockData {
1425
1169
  gender: string;
1426
1170
  type: string;
1427
1171
  }
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
- }
1172
+ declare function findPersonById(id: string): PersonMockData | null;
1436
1173
 
1437
1174
  declare function findContactMethod(referenceId: string, type: string): string | undefined;
1438
1175
 
@@ -1516,6 +1253,12 @@ interface TaskTemplate {
1516
1253
  }
1517
1254
  declare const TASK_TEMPLATES: TaskTemplate[];
1518
1255
 
1256
+ declare class AXCWorkflowManagementMockModule {
1257
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
1258
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
1259
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
1260
+ }
1261
+
1519
1262
  /**
1520
1263
  * Mock workflow definition entities for the entity list.
1521
1264
  */
@@ -1528,6 +1271,24 @@ declare class AXCWorkflowDefinitionDataSeeder implements AXPDataSeeder {
1528
1271
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowDefinitionDataSeeder>;
1529
1272
  }
1530
1273
 
1274
+ declare const ACTIVITY_CATEGORIES: AXPActivityCategory[];
1275
+
1276
+ declare class AXCActivityCategorySeeder implements AXPDataSeeder {
1277
+ private readonly entityService;
1278
+ seed(): Promise<void>;
1279
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityCategorySeeder, never>;
1280
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityCategorySeeder>;
1281
+ }
1282
+
1283
+ declare const ACTIVITY_DEFINITIONS: AXPActivityDefinition[];
1284
+
1285
+ declare class AXCActivityDefinitionSeeder implements AXPDataSeeder {
1286
+ private readonly entityService;
1287
+ seed(): Promise<void>;
1288
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityDefinitionSeeder, never>;
1289
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityDefinitionSeeder>;
1290
+ }
1291
+
1531
1292
  type extraFields$1 = {
1532
1293
  recievedDate: Date;
1533
1294
  };
@@ -1594,13 +1355,6 @@ declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTask
1594
1355
  getStatuses(): Promise<AXPTaskStatus[]>;
1595
1356
  }
1596
1357
 
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
1358
  declare class AXMAiResponderService {
1605
1359
  private readonly geminiApiKey;
1606
1360
  getAIResponse(prompt: string): Promise<string>;
@@ -1698,6 +1452,16 @@ declare class AXCQueryCategoryMetadataInheritanceQuery implements AXPQuery<Categ
1698
1452
  static ɵprov: i0.ɵɵInjectableDeclaration<AXCQueryCategoryMetadataInheritanceQuery>;
1699
1453
  }
1700
1454
 
1455
+ type MetadataCategoryMockDto = AXPCategoryEntity;
1456
+ declare const metadataCategoryMocks: MetadataCategoryMockDto[];
1457
+
1458
+ declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
1459
+ private readonly storageService;
1460
+ seed(): Promise<void>;
1461
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataCategorySeeder, never>;
1462
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
1463
+ }
1464
+
1701
1465
  interface AXMTag {
1702
1466
  id: string;
1703
1467
  title: string;
@@ -1731,76 +1495,21 @@ declare class AXPDashboardDataSeeder implements AXPDataSeeder {
1731
1495
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
1732
1496
  }
1733
1497
 
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
1498
  declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
1749
1499
  private readonly queryService;
1750
- private readonly mockDataService;
1751
- private readonly reportDataCache;
1752
- private readonly CACHE_TTL_MS;
1753
- private readonly DEFAULT_TOTAL_ITEMS;
1754
1500
  private readonly reportDefinitionService;
1755
- constructor();
1756
1501
  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
1502
  /**
1777
- * Manually clear all cached report data (useful for debugging or forcing refresh)
1503
+ * Extract filters from AXPFilterClause and convert to query filters
1504
+ * Maps report parameter paths to actual entity field names
1778
1505
  */
1779
- clearCache(): void;
1506
+ private extractFiltersFromParameters;
1507
+ private normalizeTableResult;
1508
+ private normalizeChartResult;
1780
1509
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
1781
1510
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
1782
1511
  }
1783
1512
 
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
1513
  declare const calendarMock: ({
1805
1514
  id: string;
1806
1515
  name: string;
@@ -2217,945 +1926,101 @@ declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
2217
1926
  static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
2218
1927
  }
2219
1928
 
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
- };
1929
+ declare class AXCLockService implements AXPLockService {
1930
+ private className;
1931
+ private db;
1932
+ constructor();
1933
+ private get lockTable();
1934
+ protected entityName: string;
1935
+ /**
1936
+ * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
1937
+ * at runtime using {@link setCacheDuration}.
1938
+ */
1939
+ private cacheTTL;
1940
+ /** In-memory cache for lock information. */
1941
+ private readonly cacheMap;
1942
+ /** Reference to the recurring cache-flush timer. */
1943
+ private cacheTimer;
1944
+ /**
1945
+ * Generates a unique cache key based on the lock request parameters.
1946
+ */
1947
+ private getCacheKey;
1948
+ /**
1949
+ * Starts or restarts the interval that clears the cache.
1950
+ */
1951
+ private startCacheTimer;
1952
+ /**
1953
+ * Allows consumers to change the cache duration (in milliseconds) at runtime.
1954
+ * The new duration is applied immediately.
1955
+ */
1956
+ setCacheDuration(ms: number): void;
1957
+ lock(request: AXPLockRequest): Promise<AXPLockInfo>;
1958
+ unlock(request: AXPUnLockRequest): Promise<void>;
1959
+ check(request: AXPLockGetInfoRequest): Promise<boolean>;
1960
+ getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
1961
+ getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
1962
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
1963
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
2244
1964
  }
2245
1965
 
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: {
1966
+ declare class AXCFileStorageService implements AXPFileStorageService {
1967
+ private fileService;
1968
+ private mapToFileStorageInfo;
1969
+ save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
1970
+ commit(fileId: string): Promise<void>;
1971
+ markForDeletion(fileId: string): Promise<void>;
1972
+ update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
1973
+ find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
1974
+ getInfo(fileId: string): Promise<AXPFileStorageInfo>;
1975
+ remove(fileId: string): Promise<void>;
1976
+ private cleanupTemporaryFiles;
1977
+ private cleanupMarkedFiles;
1978
+ constructor();
1979
+ findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
1980
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
1981
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
1982
+ }
1983
+
1984
+ interface AXPVersionStream {
2276
1985
  id: string;
2277
- name: string;
2278
- description: string;
2279
- deliveryMode: string;
2280
- }[];
2281
- declare const learningCourseMock: {
1986
+ entityType: string;
1987
+ entityId: string;
1988
+ createdAt: string;
1989
+ }
1990
+ declare enum AXVChangeType {
1991
+ Create = "Create",
1992
+ Update = "Update",
1993
+ Delete = "Delete"
1994
+ }
1995
+ type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
1996
+ interface CanonicalChange {
1997
+ path: string;
1998
+ op: CanonicalChangeOp;
1999
+ oldValue?: unknown;
2000
+ newValue?: unknown;
2001
+ meta?: Record<string, unknown>;
2002
+ }
2003
+ interface AXPVersionEntry {
2282
2004
  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 {
3120
- id: string;
3121
- entityType: string;
3122
- entityId: string;
3123
- createdAt: string;
3124
- }
3125
- declare enum AXVChangeType {
3126
- Create = "Create",
3127
- Update = "Update",
3128
- Delete = "Delete"
3129
- }
3130
- type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
3131
- interface CanonicalChange {
3132
- path: string;
3133
- op: CanonicalChangeOp;
3134
- oldValue?: unknown;
3135
- newValue?: unknown;
3136
- meta?: Record<string, unknown>;
3137
- }
3138
- interface AXPVersionEntry {
3139
- id: string;
3140
- streamId: string;
3141
- versionNumber: number;
3142
- changeType: AXVChangeType;
3143
- changedBy: string;
3144
- changedAt: string;
3145
- snapshotJson: unknown;
3146
- patchFromPrevJson: CanonicalChange[];
3147
- summary?: string;
3148
- metadataJson?: unknown;
3149
- }
3150
- interface AXPVersionChange {
3151
- id?: number;
3152
- versionEntryId: string;
3153
- path: string;
3154
- op: CanonicalChangeOp;
3155
- oldValue?: unknown;
3156
- newValue?: unknown;
3157
- }
3158
- interface VersionedFileInfo {
2005
+ streamId: string;
2006
+ versionNumber: number;
2007
+ changeType: AXVChangeType;
2008
+ changedBy: string;
2009
+ changedAt: string;
2010
+ snapshotJson: unknown;
2011
+ patchFromPrevJson: CanonicalChange[];
2012
+ summary?: string;
2013
+ metadataJson?: unknown;
2014
+ }
2015
+ interface AXPVersionChange {
2016
+ id?: number;
2017
+ versionEntryId: string;
2018
+ path: string;
2019
+ op: CanonicalChangeOp;
2020
+ oldValue?: unknown;
2021
+ newValue?: unknown;
2022
+ }
2023
+ interface VersionedFileInfo {
3159
2024
  id: string;
3160
2025
  name: string;
3161
2026
  size: number;
@@ -3250,7 +2115,6 @@ declare const axWorkflowExecutionDB: AXCWorkflowExecutionDB;
3250
2115
  */
3251
2116
  declare class AXCWorkflowExecutionService implements AXPWorkflowExecutionService {
3252
2117
  private readonly db;
3253
- private readonly activityProviderService;
3254
2118
  private readonly commandService;
3255
2119
  private readonly entityStorageService;
3256
2120
  /**
@@ -3367,224 +2231,6 @@ declare const workflowDefinitionIds: {
3367
2231
  dataProcessing: string;
3368
2232
  };
3369
2233
 
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
3508
- */
3509
- input?: Record<string, any>;
3510
- }
3511
- /**
3512
- * Output for ExecuteCommand activity.
3513
- */
3514
- interface ExecuteCommandOutput {
3515
- /**
3516
- * Command result data
3517
- */
3518
- result: any;
3519
- /**
3520
- * Whether command executed successfully
3521
- */
3522
- success: boolean;
3523
- /**
3524
- * Error message if command failed
3525
- */
3526
- error?: string;
3527
- /**
3528
- * Created/Updated entity ID (if applicable)
3529
- */
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
- }>>;
3554
- /**
3555
- * Routes command to appropriate handler based on commandKey.
3556
- */
3557
- private routeCommand;
3558
- /**
3559
- * Creates a new user in the system.
3560
- */
3561
- private createUser;
3562
- /**
3563
- * Processes data according to business rules.
3564
- */
3565
- private processData;
3566
- static ɵfac: i0.ɵɵFactoryDeclaration<ExecuteCommandActivity, never>;
3567
- static ɵprov: i0.ɵɵInjectableDeclaration<ExecuteCommandActivity>;
3568
- }
3569
-
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
2234
  declare const titleInterface: AXPWidgetNode;
3589
2235
  declare const descriptionInterface: AXPWidgetNode;
3590
2236
  declare const versionInterface: AXPWidgetNode;
@@ -3620,38 +2266,6 @@ declare const multipleChoiceInterface: AXPWidgetNode;
3620
2266
  declare const multipleSelectInterface: AXPWidgetNode;
3621
2267
  declare const longTextAnswerInterface: AXPWidgetNode;
3622
2268
 
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
2269
  interface AXPRuleRow extends AXPIdentifierRule {
3656
2270
  }
3657
2271
  interface AXPSeqRow {
@@ -3731,6 +2345,17 @@ declare class AXPMockIdentifierService extends AXPIdentifierService {
3731
2345
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
3732
2346
  }
3733
2347
 
2348
+ /**
2349
+ * Middleware that automatically tracks audit information for entity operations.
2350
+ *
2351
+ * Tracks:
2352
+ * - CREATE: Sets created and updated timestamps with user info, initializes stateInfo and ownershipInfo
2353
+ * - UPDATE: Updates the updated timestamp with current user info
2354
+ * - DELETE: Records deleted timestamp with user info (useful for soft delete or history tracking)
2355
+ *
2356
+ * The audit info follows the AXPAuditInfo interface with created, updated, and deleted events.
2357
+ * Ownership info includes tenantId and applicationId from the current session.
2358
+ */
3734
2359
  declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
3735
2360
 
3736
2361
  declare const childCountMiddleware: AXPEntityStorageMiddleware;
@@ -3760,29 +2385,25 @@ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
3760
2385
  /**
3761
2386
  * Lookup Resolver Middleware
3762
2387
  *
3763
- * This middleware resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
2388
+ * Resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
3764
2389
  *
3765
2390
  * Behavior:
3766
2391
  * - Runs on 'create' and 'update' operations
3767
- * - Finds fields ending with 'Id' or 'Ids' (case sensitive)
2392
+ * - Finds fields ending with 'Id'/'Ids' (case-insensitive)
3768
2393
  * - Resolves IDs to full objects from corresponding entity
3769
- * - Replaces ID values with constructed objects
2394
+ * - Skips fields that are already resolved or have explicit entity config failures
3770
2395
  *
3771
2396
  * 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
2397
+ * 1. Check entity property definition for LookupBox with entity option (preferred)
2398
+ * 2. Use naming conventions: dotted path (X.assignId -> X.assign) or module fallback (ModuleName.entityName)
3776
2399
  *
3777
2400
  * Naming Convention:
3778
2401
  * - testId -> creates 'test' object with full record
3779
2402
  * - testIds -> creates 'testList' array with full records
3780
- * - documentId -> creates 'document' object with full record
3781
- * - categoryIds -> creates 'categoryList' array with full records
3782
2403
  *
3783
2404
  * Example:
3784
- * Input: { stageId: "123" } with lookup to CustomerManagement.opportunityStage
3785
- * Result: { stage: { id: "123", title: "Stage Title", ... } }
2405
+ * Input: { brandId: "123" } with lookup to product-catalog.brand
2406
+ * Result: { brand: { id: "123", title: "Brand Name", ... } }
3786
2407
  */
3787
2408
  declare const lookupResolverMiddleware: AXPEntityStorageMiddleware;
3788
2409
 
@@ -3825,7 +2446,112 @@ declare const signatureLoaderMiddleware: AXPEntityStorageMiddleware;
3825
2446
  */
3826
2447
  declare const lockGuardMiddleware: AXPEntityStorageMiddleware;
3827
2448
 
2449
+ /**
2450
+ * Group Order Item Calculator Middleware
2451
+ *
2452
+ * Calculates quantityInOrder and quantityAvailable for group order items.
2453
+ * Also calculates total based on price, quantityInOrder, and GST (1.15).
2454
+ *
2455
+ * quantityInOrder = sum of all member order line quantities for this item
2456
+ * quantityAvailable = size - quantityInOrder
2457
+ * total = price * quantityInOrder * 1.15 (GST)
2458
+ *
2459
+ * Runs on:
2460
+ * - GroupOrderItem create/update: Calculate for the item itself
2461
+ * - MemberOrderLine create/update/delete: Recalculate the related group order item
2462
+ */
2463
+ declare const groupOrderItemCalculatorMiddleware: AXPEntityStorageMiddleware;
2464
+
2465
+ /**
2466
+ * Key used in request params to bypass visibility filtering (isHidden flag).
2467
+ * Similar to ABP Framework's filter disabling mechanism.
2468
+ *
2469
+ * Usage:
2470
+ * ```typescript
2471
+ * await storageService.query(entityName, {
2472
+ * ...request,
2473
+ * params: { [VISIBILITY_FILTER_BYPASS]: 'true' }
2474
+ * });
2475
+ * ```
2476
+ */
2477
+ declare const VISIBILITY_FILTER_BYPASS = "__bypassVisibilityFilter";
2478
+ /**
2479
+ * Key used in request params to bypass ownership filtering (tenantId/applicationId).
2480
+ * Similar to ABP Framework's filter disabling mechanism.
2481
+ *
2482
+ * Usage:
2483
+ * ```typescript
2484
+ * await storageService.query(entityName, {
2485
+ * ...request,
2486
+ * params: { [OWNERSHIP_FILTER_BYPASS]: 'true' }
2487
+ * });
2488
+ * ```
2489
+ */
2490
+ declare const OWNERSHIP_FILTER_BYPASS = "__bypassOwnershipFilter";
2491
+ /**
2492
+ * Middleware that automatically filters out records with `isSystem` or `isHidden` flags
2493
+ * from query and getAll operations.
2494
+ *
2495
+ * This ensures that:
2496
+ * - System records (isSystem: true) are hidden from regular users
2497
+ * - Hidden records (isHidden: true) are not visible in lists
2498
+ * - Records are filtered by current tenant and application context
2499
+ * - Single record lookups (getOne) still work for direct access
2500
+ * - Filtering can be bypassed using VISIBILITY_FILTER_BYPASS or OWNERSHIP_FILTER_BYPASS in request params
2501
+ *
2502
+ * Bypass options:
2503
+ * - VISIBILITY_FILTER_BYPASS: Bypasses isHidden filtering only
2504
+ * - OWNERSHIP_FILTER_BYPASS: Bypasses tenantId/applicationId filtering only
2505
+ * - Both: Bypasses all filtering
2506
+ *
2507
+ * Note: This is applied AFTER the data is fetched from storage.
2508
+ */
2509
+ declare const visibilityFilterMiddleware: AXPEntityStorageMiddleware;
2510
+
2511
+ /**
2512
+ * Helper function to create a query request that bypasses visibility filtering (isHidden flag).
2513
+ * Similar to ABP Framework's filter disabling pattern.
2514
+ *
2515
+ * @example
2516
+ * ```typescript
2517
+ * // Bypass visibility filter for authentication
2518
+ * const users = await storageService.query(
2519
+ * entityName,
2520
+ * bypassVisibilityFilter({ skip: 0, take: 1000 })
2521
+ * );
2522
+ * ```
2523
+ */
2524
+ declare function bypassVisibilityFilter<T extends AXPQueryRequest>(request: T): T;
2525
+ /**
2526
+ * Helper function to create a query request that bypasses ownership filtering (tenantId/applicationId).
2527
+ * Similar to ABP Framework's filter disabling pattern.
2528
+ *
2529
+ * @example
2530
+ * ```typescript
2531
+ * // Bypass ownership filter to query across tenants/applications
2532
+ * const records = await storageService.query(
2533
+ * entityName,
2534
+ * bypassOwnershipFilter({ skip: 0, take: 1000 })
2535
+ * );
2536
+ * ```
2537
+ */
2538
+ declare function bypassOwnershipFilter<T extends AXPQueryRequest>(request: T): T;
2539
+ /**
2540
+ * Helper function to create a query request that bypasses both visibility and ownership filtering.
2541
+ * Similar to ABP Framework's filter disabling pattern.
2542
+ *
2543
+ * @example
2544
+ * ```typescript
2545
+ * // Bypass all filters for system operations
2546
+ * const records = await storageService.query(
2547
+ * entityName,
2548
+ * bypassAllFilters({ skip: 0, take: 1000 })
2549
+ * );
2550
+ * ```
2551
+ */
2552
+ declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
2553
+
3828
2554
  declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
3829
2555
 
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 };
2556
+ export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowDefinitionDataSeeder, AXCWorkflowExecutionDB, AXCWorkflowExecutionService, 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, AXMReportExecuteCommand, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, 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, 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, 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, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, fileUploaderInterface, findContactMethod, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, 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 };
2557
+ export type { AXCBusinessUnitMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, JobDefinitionMockDto, JobLevelMockDto, MockUserPassCredentials, PersonMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };