@acorex/connectivity 21.0.0-next.3 → 21.0.0-next.31

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 (95) hide show
  1. package/fesm2022/{acorex-connectivity-api-execute.command-SGNBLcOi.mjs → acorex-connectivity-api-execute.command-CiBl7z_H.mjs} +6 -6
  2. package/fesm2022/acorex-connectivity-api-execute.command-CiBl7z_H.mjs.map +1 -0
  3. package/fesm2022/acorex-connectivity-api.mjs +101 -185
  4. package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
  5. package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-G8Opk5JU.mjs +65509 -0
  6. package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-G8Opk5JU.mjs.map +1 -0
  7. package/fesm2022/acorex-connectivity-mock-assign-to-manager.activity-DTPM1eU1.mjs +79 -0
  8. package/fesm2022/acorex-connectivity-mock-assign-to-manager.activity-DTPM1eU1.mjs.map +1 -0
  9. package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs +198 -0
  10. package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs.map +1 -0
  11. package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Dsxj98tX.mjs → acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs} +4 -4
  12. package/fesm2022/acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs.map +1 -0
  13. package/fesm2022/acorex-connectivity-mock-chat-generate-image.command-CPGQNlRz.mjs +114 -0
  14. package/fesm2022/acorex-connectivity-mock-chat-generate-image.command-CPGQNlRz.mjs.map +1 -0
  15. package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-BXem7bHF.mjs +130 -0
  16. package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-BXem7bHF.mjs.map +1 -0
  17. package/fesm2022/acorex-connectivity-mock-chat-transcribe-speech.command-TP4dUKlp.mjs +110 -0
  18. package/fesm2022/acorex-connectivity-mock-chat-transcribe-speech.command-TP4dUKlp.mjs.map +1 -0
  19. package/fesm2022/acorex-connectivity-mock-check-permission.activity-vr3OHtjC.mjs +45 -0
  20. package/fesm2022/acorex-connectivity-mock-check-permission.activity-vr3OHtjC.mjs.map +1 -0
  21. package/fesm2022/acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs +56 -0
  22. package/fesm2022/acorex-connectivity-mock-complete-signature-process.activity-BO-IFsHT.mjs.map +1 -0
  23. package/fesm2022/acorex-connectivity-mock-contact-core.module-5TLCGWOR.mjs +968 -0
  24. package/fesm2022/acorex-connectivity-mock-contact-core.module-5TLCGWOR.mjs.map +1 -0
  25. package/fesm2022/acorex-connectivity-mock-content-management.module-GQdqKsPB.mjs +16 -0
  26. package/fesm2022/acorex-connectivity-mock-content-management.module-GQdqKsPB.mjs.map +1 -0
  27. package/fesm2022/{acorex-connectivity-mock-distribution-record.command-DRiDwlqN.mjs → acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs} +18 -6
  28. package/fesm2022/acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs.map +1 -0
  29. package/fesm2022/acorex-connectivity-mock-entity-create.activity-Ca19tIj4.mjs +60 -0
  30. package/fesm2022/acorex-connectivity-mock-entity-create.activity-Ca19tIj4.mjs.map +1 -0
  31. package/fesm2022/acorex-connectivity-mock-entity-delete.activity-ErEN1c24.mjs +60 -0
  32. package/fesm2022/acorex-connectivity-mock-entity-delete.activity-ErEN1c24.mjs.map +1 -0
  33. package/fesm2022/acorex-connectivity-mock-entity-read.activity-1fJW8gVe.mjs +67 -0
  34. package/fesm2022/acorex-connectivity-mock-entity-read.activity-1fJW8gVe.mjs.map +1 -0
  35. package/fesm2022/acorex-connectivity-mock-entity-update.activity-D0hyBha-.mjs +70 -0
  36. package/fesm2022/acorex-connectivity-mock-entity-update.activity-D0hyBha-.mjs.map +1 -0
  37. package/fesm2022/acorex-connectivity-mock-extract-document-text.command-nGfUTSf6.mjs +64 -0
  38. package/fesm2022/acorex-connectivity-mock-extract-document-text.command-nGfUTSf6.mjs.map +1 -0
  39. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-DwVuYuKx.mjs +115 -0
  40. package/fesm2022/acorex-connectivity-mock-get-application-versions-chart-data.query-DwVuYuKx.mjs.map +1 -0
  41. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-sFKYynZA.mjs +163 -0
  42. package/fesm2022/acorex-connectivity-mock-get-application-versions-timeline.query-sFKYynZA.mjs.map +1 -0
  43. package/fesm2022/acorex-connectivity-mock-get-current-session-user.activity-C6S4ZJgp.mjs +35 -0
  44. package/fesm2022/acorex-connectivity-mock-get-current-session-user.activity-C6S4ZJgp.mjs.map +1 -0
  45. package/fesm2022/acorex-connectivity-mock-get-current-user-manager.activity-C1mj2bgB.mjs +69 -0
  46. package/fesm2022/acorex-connectivity-mock-get-current-user-manager.activity-C1mj2bgB.mjs.map +1 -0
  47. package/fesm2022/acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs +213 -0
  48. package/fesm2022/acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs.map +1 -0
  49. package/fesm2022/acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs +209 -0
  50. package/fesm2022/acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs.map +1 -0
  51. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-D7DBzLT-.mjs +186 -0
  52. package/fesm2022/acorex-connectivity-mock-get-product-chart-data.query-D7DBzLT-.mjs.map +1 -0
  53. package/fesm2022/acorex-connectivity-mock-get-product-list.query-B06aC73T.mjs +251 -0
  54. package/fesm2022/acorex-connectivity-mock-get-product-list.query-B06aC73T.mjs.map +1 -0
  55. package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-CM7bsjl7.mjs +192 -0
  56. package/fesm2022/acorex-connectivity-mock-get-product-pdf-data.query-CM7bsjl7.mjs.map +1 -0
  57. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs +56 -0
  58. package/fesm2022/acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs.map +1 -0
  59. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs +246 -0
  60. package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs.map +1 -0
  61. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs +258 -0
  62. package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs.map +1 -0
  63. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs +56 -0
  64. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs.map +1 -0
  65. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs +294 -0
  66. package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs.map +1 -0
  67. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs +212 -0
  68. package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs.map +1 -0
  69. package/fesm2022/acorex-connectivity-mock-if.activity-DvzuhItL.mjs +35 -0
  70. package/fesm2022/acorex-connectivity-mock-if.activity-DvzuhItL.mjs.map +1 -0
  71. package/fesm2022/acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs +49 -0
  72. package/fesm2022/acorex-connectivity-mock-notify-signers.activity-Dg0sKGip.mjs.map +1 -0
  73. package/fesm2022/acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs +60 -0
  74. package/fesm2022/acorex-connectivity-mock-request-signature.activity-CoRT_H2u.mjs.map +1 -0
  75. package/fesm2022/{acorex-connectivity-mock-sample.command-CkH5bmEs.mjs → acorex-connectivity-mock-sample.command-CJmDL4pL.mjs} +4 -4
  76. package/fesm2022/acorex-connectivity-mock-sample.command-CJmDL4pL.mjs.map +1 -0
  77. package/fesm2022/acorex-connectivity-mock-structured-text-completion.command-l31pjl9-.mjs +38 -0
  78. package/fesm2022/acorex-connectivity-mock-structured-text-completion.command-l31pjl9-.mjs.map +1 -0
  79. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs +61 -0
  80. package/fesm2022/acorex-connectivity-mock-validate-all-signatures.activity-JuHjNFFS.mjs.map +1 -0
  81. package/fesm2022/acorex-connectivity-mock.mjs +1 -51504
  82. package/fesm2022/acorex-connectivity-mock.mjs.map +1 -1
  83. package/fesm2022/acorex-connectivity-utils.mjs +7 -7
  84. package/fesm2022/acorex-connectivity-utils.mjs.map +1 -1
  85. package/fesm2022/acorex-connectivity.mjs.map +1 -1
  86. package/package.json +8 -7
  87. package/{api/index.d.ts → types/acorex-connectivity-api.d.ts} +1 -59
  88. package/types/acorex-connectivity-mock.d.ts +3909 -0
  89. package/fesm2022/acorex-connectivity-api-execute.command-SGNBLcOi.mjs.map +0 -1
  90. package/fesm2022/acorex-connectivity-mock-category-with-items.query-Dsxj98tX.mjs.map +0 -1
  91. package/fesm2022/acorex-connectivity-mock-distribution-record.command-DRiDwlqN.mjs.map +0 -1
  92. package/fesm2022/acorex-connectivity-mock-sample.command-CkH5bmEs.mjs.map +0 -1
  93. package/mock/index.d.ts +0 -2775
  94. /package/{utils/index.d.ts → types/acorex-connectivity-utils.d.ts} +0 -0
  95. /package/{index.d.ts → types/acorex-connectivity.d.ts} +0 -0
@@ -0,0 +1,3909 @@
1
+ import * as _acorex_platform_core from '@acorex/platform/core';
2
+ import { AXPAppStartUpService, AXPExecuteCommandResult, AXPQueryRequest, AXPCategoryEntity, AXPCategorizedEntityDto, AXPMultiLanguageString, AXPCategoryListItem, AXPExecuteCommand, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPFileListItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
3
+ import * as i0 from '@angular/core';
4
+ import { Injector, Type, InjectionToken, EnvironmentProviders } from '@angular/core';
5
+ import * as _acorex_platform_auth from '@acorex/platform/auth';
6
+ import { AXPAuthStrategy, AXPBaseCredentials, AXPSignInResult, AXPSessionContext, AXPLoginChallengeProvider, AXPChallengeCheckResult, AXPLoginChallengeData, AXPLoginChallengeComponentBase } from '@acorex/platform/auth';
7
+ import * as i1 from '@acorex/platform/runtime';
8
+ import { AXPCommand, AXPQuery } from '@acorex/platform/runtime';
9
+ import { Router } from '@angular/router';
10
+ import { AXMAuthConfigs } from '@acorex/modules/auth';
11
+ import { AXDataSourceFilterOption } from '@acorex/cdk/common';
12
+ import * as _acorex_platform_common from '@acorex/platform/common';
13
+ import { AXPEntity, AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, CanonicalChange as CanonicalChange$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
14
+ import { AXPEntityStorageService, AXPEntityDefinitionLoader, AXPDataSeeder, AXPRecordStateInfo, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
15
+ import Dexie, { Table } from 'dexie';
16
+ import { Firestore } from 'firebase/firestore';
17
+ import { AXPPropertyDefinition } from '@acorex/platform/domain';
18
+ import { AXPAiPlanningMode } from '@acorex/modules/ai-management';
19
+ import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel } from '@acorex/modules/application-management';
20
+ import { PreQuestionnaireConfig, PostQuestionnaireConfig, QuestionnaireEntityDisplaySettings } from '@acorex/modules/assessment-management';
21
+ import { AXMTenantManagementTenantEntityModel } from '@acorex/modules/tenant-management';
22
+ import { AXMSecurityManagementRolesEntityModel, AXMSecurityManagementUsersEntityModel } from '@acorex/modules/security-management';
23
+ import { AXMHumanCapitalManagementEmploymentTypeEntityModel } from '@acorex/modules/human-capital-management';
24
+ import { AXPSpreadsheetData } from '@acorex/platform/layout/components';
25
+ import { AXMPersonCorePersonEntityModel, AXMPersonCorePersonIdentifierTypeEntityModel } from '@acorex/modules/person-core';
26
+ import * as _acorex_platform_workflow from '@acorex/platform/workflow';
27
+ import { AXPWorkflowInstance, AXPWorkflowEngine, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPGetWorkflowStateRequest, AXPWorkflowInstanceState, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse, AXPWorkflowDefinition, AXPActivityCategory, AXPActivityDefinition, AXPWorkflowCategory } from '@acorex/platform/workflow';
28
+ import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
29
+ import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
30
+ import { AXParticipant, AXUserProfileUpdate, AXUserSearchFilters, AXPresenceUpdate, AXPresenceStatus, AXBlockReportReason, AXConnectionStatus, AXConnectionOptions, AXConnectionEvent, AXMessage, AXConversation, AXTypingIndicator, AXNotificationEvent, AXCallEvent, AXConversationCreateData, AXPagination, AXConversationFilters, AXPaginatedResult, AXConversationUpdateData, AXParticipantUpdate, AXConversationSettingsUpdate, AXSendMessageCommand, AXMessagePayload, AXMessageSearchFilters, AXReadReceipt, AXMessageForwardData, AXPinnedMessage } from '@acorex/components/conversation2';
31
+ import { AXMChatUserApi, AXMChatRealtimeApi, AXMChatConversationApi, AXMChatMessageApi } from '@acorex/modules/conversation';
32
+ import { Observable } from 'rxjs';
33
+ import { ShowMetaDataFormPopupCommand, ShowMetaDataFormPopupInput, ResolveGroupsResult } from '@acorex/modules/data-management';
34
+ import { AXPDynamicFormGroupDefinition } from '@acorex/platform/layout/builder';
35
+ import { AXMCommonDashboardEntityModel, AXMDashboardWidgetLayoutMap } from '@acorex/modules/dashboard-management';
36
+ import * as dist_libs_modules_types_acorex_modules_calendar_management from 'dist/libs/modules/types/acorex-modules-calendar-management';
37
+ import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
38
+ import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
39
+ import { AXPIdentifierRule, AXPChecksumProvider, AXPClockProvider, AXPLookupProvider, AXPPolicyProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
40
+
41
+ declare class AXCCommonMockModule {
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
44
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
45
+ }
46
+
47
+ /**
48
+ * Module that provides entity storage backends (Dexie/IndexedDB and Firestore).
49
+ * When AXC_FIRESTORE_CONFIG is provided, AXC_FIRESTORE_DB is also provided so other mock storages (versioning, file-storage, identifier, workflow) can use Firestore.
50
+ */
51
+ declare class AXCEntityStorageModule {
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEntityStorageModule, never>;
53
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCEntityStorageModule, never, never, never>;
54
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCEntityStorageModule>;
55
+ }
56
+
57
+ declare class AXCIdentifierManagementMockModule {
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCIdentifierManagementMockModule, never>;
59
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIdentifierManagementMockModule, never, [typeof AXCEntityStorageModule], never>;
60
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCIdentifierManagementMockModule>;
61
+ }
62
+
63
+ declare class AXCSecurityManagementMockModule {
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
65
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
66
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
67
+ }
68
+
69
+ declare class AXCFormTemplateManagementMockModule {
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
71
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
72
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
73
+ }
74
+
75
+ declare class AXCBusinessCoreMockModule {
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCBusinessCoreMockModule, never>;
77
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCBusinessCoreMockModule, never, never, never>;
78
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCBusinessCoreMockModule>;
79
+ }
80
+
81
+ declare class AXCCustomerManagementMockModule {
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCustomerManagementMockModule, never>;
83
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCustomerManagementMockModule, never, never, never>;
84
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
85
+ }
86
+
87
+ declare class AXCSupplierManagementMockModule {
88
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSupplierManagementMockModule, never>;
89
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSupplierManagementMockModule, never, never, never>;
90
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSupplierManagementMockModule>;
91
+ }
92
+
93
+ declare class AXCProcurementManagementMockModule {
94
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCProcurementManagementMockModule, never>;
95
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProcurementManagementMockModule, never, never, never>;
96
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCProcurementManagementMockModule>;
97
+ }
98
+
99
+ declare class AXCOrderManagementMockModule {
100
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrderManagementMockModule, never>;
101
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrderManagementMockModule, never, never, never>;
102
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
103
+ }
104
+
105
+ declare class AXCSubscriptionManagementMockModule {
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
107
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
108
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSubscriptionManagementMockModule>;
109
+ }
110
+
111
+ declare class AXCLocationManagementMockModule {
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocationManagementMockModule, never>;
113
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocationManagementMockModule, never, never, never>;
114
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocationManagementMockModule>;
115
+ }
116
+
117
+ declare class AXCContactCoreMockModule {
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactCoreMockModule, never>;
119
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactCoreMockModule, never, never, never>;
120
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactCoreMockModule>;
121
+ }
122
+
123
+ declare class AXCOrganizationManagementMockModule {
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrganizationManagementMockModule, never>;
125
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrganizationManagementMockModule, never, never, never>;
126
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrganizationManagementMockModule>;
127
+ }
128
+
129
+ declare class AXCHumanCapitalManagementMockModule {
130
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCHumanCapitalManagementMockModule, never>;
131
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHumanCapitalManagementMockModule, never, never, never>;
132
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCHumanCapitalManagementMockModule>;
133
+ }
134
+
135
+ declare class AXCReportManagementMockModule {
136
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
137
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
138
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
139
+ }
140
+
141
+ declare class AXCLocaleManagementMockModule {
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocaleManagementMockModule, never>;
143
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocaleManagementMockModule, never, never, never>;
144
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocaleManagementMockModule>;
145
+ }
146
+
147
+ declare class AXCDashboardManagementMockModule {
148
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
149
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
150
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
151
+ }
152
+
153
+ declare class AXCConversationMockModule {
154
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
155
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
156
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
157
+ }
158
+
159
+ declare class AXCAuthMockModule {
160
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
161
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
162
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
163
+ }
164
+
165
+ /**
166
+ * Mock AI connectivity: {@link AXPAiEngine} plus leaf chat vendors and {@link AXCAiChatRouterService}
167
+ * as the single entry for chat, vision, and image generation.
168
+ */
169
+ declare class AXCAiManagementMockModule {
170
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAiManagementMockModule, never>;
171
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAiManagementMockModule, never, never, never>;
172
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCAiManagementMockModule>;
173
+ }
174
+
175
+ declare class AXCPlatformManagementMockModule {
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
177
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
178
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
179
+ }
180
+
181
+ declare class AXCApplicationManagementMockModule {
182
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationManagementMockModule, never>;
183
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApplicationManagementMockModule, never, never, never>;
184
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
185
+ }
186
+
187
+ declare class AXCTenantManagementMockModule {
188
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
189
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
190
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
191
+ }
192
+
193
+ declare class AXCLearningManagementMockModule {
194
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
195
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
196
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCLearningManagementMockModule>;
197
+ }
198
+
199
+ declare class AXCAssetManagementMockModule {
200
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAssetManagementMockModule, never>;
201
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAssetManagementMockModule, never, never, never>;
202
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCAssetManagementMockModule>;
203
+ }
204
+
205
+ declare class AXCProjectManagementMockModule {
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
207
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
208
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
209
+ }
210
+
211
+ declare class AXCDocumentManagementMockModule {
212
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
213
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
214
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
215
+ }
216
+
217
+ declare class AXCHelpDeskMockModule {
218
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCHelpDeskMockModule, never>;
219
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHelpDeskMockModule, never, never, never>;
220
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
221
+ }
222
+
223
+ declare class AXCCalendarManagementMockModule {
224
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
225
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
226
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCCalendarManagementMockModule>;
227
+ }
228
+
229
+ declare class AXCDataManagementMockModule {
230
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
231
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
232
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
233
+ }
234
+
235
+ declare class AXCWorkflowManagementMockModule {
236
+ constructor(appInitService: AXPAppStartUpService, injector: Injector);
237
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
238
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, [typeof AXCEntityStorageModule], never>;
239
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
240
+ }
241
+
242
+ declare class AXCNotificationManagementMockModule {
243
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
244
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
245
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
246
+ }
247
+
248
+ declare class AXCTaskManagementMockModule {
249
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTaskManagementMockModule, never>;
250
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTaskManagementMockModule, never, never, never>;
251
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
252
+ }
253
+
254
+ declare class AXCPersonCoreMockModule {
255
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonCoreMockModule, never>;
256
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonCoreMockModule, never, never, never>;
257
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonCoreMockModule>;
258
+ }
259
+
260
+ declare class AXCHealthCoreMockModule {
261
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCHealthCoreMockModule, never>;
262
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHealthCoreMockModule, never, never, never>;
263
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCHealthCoreMockModule>;
264
+ }
265
+
266
+ declare class AXCContentManagementMockModule {
267
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCContentManagementMockModule, never>;
268
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContentManagementMockModule, never, never, never>;
269
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCContentManagementMockModule>;
270
+ }
271
+
272
+ declare class AXCMeetingManagementMockModule {
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeetingManagementMockModule, never>;
274
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeetingManagementMockModule, never, never, never>;
275
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeetingManagementMockModule>;
276
+ }
277
+
278
+ declare class AXCSettingsManagementMockModule {
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCSettingsManagementMockModule, never>;
280
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSettingsManagementMockModule, never, never, never>;
281
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCSettingsManagementMockModule>;
282
+ }
283
+
284
+ declare class AXCAssessmentManagementMockModule {
285
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAssessmentManagementMockModule, never>;
286
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAssessmentManagementMockModule, never, never, never>;
287
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCAssessmentManagementMockModule>;
288
+ }
289
+
290
+ declare class AXCFinancialCoreMockModule {
291
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFinancialCoreMockModule, never>;
292
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFinancialCoreMockModule, never, never, never>;
293
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCFinancialCoreMockModule>;
294
+ }
295
+
296
+ declare class AXCMeasurementCoreMockModule {
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeasurementCoreMockModule, never>;
298
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeasurementCoreMockModule, never, never, never>;
299
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeasurementCoreMockModule>;
300
+ }
301
+
302
+ declare class AXCProductCatalogMockModule {
303
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCProductCatalogMockModule, never>;
304
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProductCatalogMockModule, never, never, never>;
305
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCProductCatalogMockModule>;
306
+ }
307
+
308
+ declare class AXCReservationManagementMockModule {
309
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCReservationManagementMockModule, never>;
310
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReservationManagementMockModule, never, never, never>;
311
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCReservationManagementMockModule>;
312
+ }
313
+
314
+ declare class AXCMaintenanceManagementMockModule {
315
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMaintenanceManagementMockModule, never>;
316
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMaintenanceManagementMockModule, never, never, never>;
317
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCMaintenanceManagementMockModule>;
318
+ }
319
+
320
+ /**
321
+ * Provides entity definition loaders (Dexie, Firestore via AXCStoredEntityDefinitionLoader),
322
+ * CRUD service for management UI, seeder, and registration of module manifests from the same store.
323
+ */
324
+ declare class AXCEntityDefinitionsModule {
325
+ constructor(appInitService: AXPAppStartUpService);
326
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEntityDefinitionsModule, never>;
327
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCEntityDefinitionsModule, never, [typeof AXCEntityStorageModule], never>;
328
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCEntityDefinitionsModule>;
329
+ }
330
+
331
+ declare class AXCMiddlewaresModule {
332
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
333
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, [typeof AXCEntityStorageModule, typeof AXCEntityDefinitionsModule], never>;
334
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCMiddlewaresModule>;
335
+ }
336
+
337
+ declare class AXCMockModule {
338
+ constructor(appInitService: AXPAppStartUpService, injector: Injector);
339
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
340
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCBusinessCoreMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCAiManagementMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonCoreMockModule, typeof AXCHealthCoreMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMaintenanceManagementMockModule, typeof AXCMiddlewaresModule], never>;
341
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
342
+ }
343
+
344
+ interface MockUserPassCredentials extends AXPBaseCredentials {
345
+ username: string;
346
+ password: string;
347
+ }
348
+ declare class AXCUserPassStrategyMock extends AXPAuthStrategy {
349
+ tenantLoader: _acorex_platform_auth.AXPTenantLoader;
350
+ applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
351
+ router: Router;
352
+ constructor();
353
+ private entityRegistery;
354
+ private deviceSessionsService;
355
+ get name(): string;
356
+ signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
357
+ private createDeviceSession;
358
+ private getDeviceName;
359
+ private getOperatingSystem;
360
+ private getBrowser;
361
+ signout(): Promise<void>;
362
+ refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
363
+ updateToken(params: {
364
+ [key: string]: any;
365
+ }): Promise<AXPSignInResult>;
366
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCUserPassStrategyMock, never>;
367
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCUserPassStrategyMock>;
368
+ }
369
+
370
+ declare class AXCGoogleStrategyMock extends AXPAuthStrategy {
371
+ tenantLoader: _acorex_platform_auth.AXPTenantLoader;
372
+ protected configs: AXMAuthConfigs;
373
+ private externalAuthorizationService;
374
+ applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
375
+ router: Router;
376
+ constructor();
377
+ get name(): string;
378
+ signin(credentials: AXPBaseCredentials): Promise<void>;
379
+ signout(): Promise<void>;
380
+ refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
381
+ updateToken(params: {
382
+ [key: string]: any;
383
+ }): Promise<AXPSignInResult>;
384
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCGoogleStrategyMock, never>;
385
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCGoogleStrategyMock>;
386
+ }
387
+
388
+ /**
389
+ * Mock implementation of AXPLoginChallengeProvider for testing
390
+ *
391
+ * This provider simulates a server-side captcha system:
392
+ * - Tracks failed login attempts
393
+ * - After 3 failed attempts, requires captcha
394
+ * - Generates mock captcha images client-side (for demo purposes)
395
+ *
396
+ * @example
397
+ * ```typescript
398
+ * // In your module providers:
399
+ * {
400
+ * provide: AXP_LOGIN_CHALLENGE_PROVIDER,
401
+ * useClass: AXCImageCaptchaChallengeProviderMock
402
+ * }
403
+ * ```
404
+ */
405
+ declare class AXCImageCaptchaChallengeProviderMock extends AXPLoginChallengeProvider {
406
+ readonly name = "image-captcha-mock";
407
+ /** Current captcha code that user needs to enter */
408
+ private currentCaptchaCode;
409
+ /** Current challenge ID */
410
+ private currentChallengeId;
411
+ /** Failed attempts tracker */
412
+ private attemptsTracker;
413
+ /**
414
+ * Checks if the login error indicates that a captcha is required
415
+ *
416
+ * In this mock implementation, we check:
417
+ * 1. If the error contains requiresCaptcha flag
418
+ * 2. If failed attempts threshold is reached
419
+ * 3. If error status is 429 (Too Many Requests)
420
+ */
421
+ checkResponse(error: unknown): AXPChallengeCheckResult | null;
422
+ /**
423
+ * Generates a new captcha challenge
424
+ *
425
+ * In this mock implementation:
426
+ * - Generates a random code
427
+ * - Creates a captcha image client-side
428
+ * - Returns the challenge data
429
+ *
430
+ * In a real implementation, this would call the server API
431
+ */
432
+ getChallenge(serverData?: Record<string, unknown>): Promise<AXPLoginChallengeData>;
433
+ /**
434
+ * Generates a fresh captcha, replacing the current one
435
+ */
436
+ refreshChallenge(): Promise<AXPLoginChallengeData>;
437
+ /**
438
+ * Returns the custom mock captcha component for rendering
439
+ */
440
+ getChallengeComponent(): Type<AXPLoginChallengeComponentBase>;
441
+ /**
442
+ * Validates the captcha response (for testing purposes)
443
+ * In a real implementation, validation happens on the server
444
+ */
445
+ validateCaptchaResponse(challengeId: string, response: string): boolean;
446
+ /**
447
+ * Resets the failed attempts counter (for testing)
448
+ */
449
+ resetAttempts(): void;
450
+ /**
451
+ * Gets current failed attempts count (for testing/debugging)
452
+ */
453
+ getFailedAttempts(): number;
454
+ /**
455
+ * Simulates network delay for realistic behavior
456
+ */
457
+ private simulateNetworkDelay;
458
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCImageCaptchaChallengeProviderMock, never>;
459
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCImageCaptchaChallengeProviderMock>;
460
+ }
461
+
462
+ /**
463
+ * Mock CAPTCHA challenge component with custom styling
464
+ * Demonstrates how providers can create custom challenge UIs
465
+ */
466
+ declare class AXCMockCaptchaChallengeComponent extends AXPLoginChallengeComponentBase {
467
+ /** Local state for the response input */
468
+ protected response: i0.WritableSignal<string>;
469
+ /**
470
+ * Handles response input change
471
+ */
472
+ protected onResponseChange(value: string): void;
473
+ /**
474
+ * Handles refresh button click
475
+ */
476
+ protected onRefreshClick(): void;
477
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockCaptchaChallengeComponent, never>;
478
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCMockCaptchaChallengeComponent, "axc-mock-captcha-challenge", never, {}, {}, never, never, true, never>;
479
+ }
480
+
481
+ /** Same entity key as queries and CRUD seeds: `ModuleName.EntityName`. */
482
+ interface AXCEntityStorageInsertInput {
483
+ entity: string;
484
+ /**
485
+ * Field values for the new row (object or JSON string).
486
+ * Omit `id` to let storage generate a UUID; include `id` only when intentionally setting the primary key.
487
+ */
488
+ data: Record<string, unknown> | string;
489
+ }
490
+ interface AXCEntityStorageInsertOutput {
491
+ id: string;
492
+ /** Persisted row after middleware (same shape as {@link AXPEntityStorageService#getOne}). */
493
+ record: unknown;
494
+ }
495
+ /**
496
+ * Inserts one row via {@link AXPEntityStorageService#insertOne} so storage middlewares
497
+ * (validation, lookups, identifiers, audit, …) run on the mock backend (Dexie or Firestore).
498
+ */
499
+ declare class AXCEntityStorageInsertCommand implements AXPCommand<AXCEntityStorageInsertInput, AXCEntityStorageInsertOutput> {
500
+ private readonly entityStorage;
501
+ execute(input: AXCEntityStorageInsertInput): Promise<AXPExecuteCommandResult<AXCEntityStorageInsertOutput>>;
502
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEntityStorageInsertCommand, never>;
503
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCEntityStorageInsertCommand>;
504
+ }
505
+
506
+ /**
507
+ * Normalizes AI/tool payloads into a plain record for {@link AXPEntityStorageService#insertOne}.
508
+ * Returns null when the payload is missing or not a JSON object.
509
+ */
510
+ declare function parseEntityStorageInsertData(raw: Record<string, unknown> | string | undefined | null): Record<string, unknown> | null;
511
+
512
+ interface AXCEntityStorageQueryInput {
513
+ /** Entity key as `ModuleName.EntityName` (same as CRUD / seeds). */
514
+ entity: string;
515
+ /**
516
+ * Optional {@link AXPQueryRequest} as object, or JSON string.
517
+ * Omitted fields default to `skip: 0`, `take: 100`.
518
+ * Ignored when {@link id} is set (single-record load uses `getOne`).
519
+ */
520
+ queryRequest?: AXPQueryRequest | string;
521
+ /**
522
+ * Primary key of the row. When set, runs `getOne` and returns that row in `items` (0 or 1) —
523
+ * use only when the real storage id/GUID is known; do not pass product codes here.
524
+ */
525
+ id?: string;
526
+ /**
527
+ * Free-text match (e.g. product code like PROD-007, name fragment). Converted inside the tool
528
+ * to OR filters on fixed baseline fields plus paths from the entity definition (string-like
529
+ * properties and lookup `expose` targets) and optional {@link quickSearchFieldPaths}.
530
+ * Ignored when {@link id} is set.
531
+ */
532
+ quickSearch?: string;
533
+ /**
534
+ * Extra lodash-get paths to OR with `contains` for {@link quickSearch} (e.g. `tags`, `notes`).
535
+ * Merged with paths inferred from the registered entity definition; use when schema is missing
536
+ * or you need additional storage paths. May be a string array or a JSON / comma-separated string from tools.
537
+ */
538
+ quickSearchFieldPaths?: string[] | string;
539
+ }
540
+ interface AXCEntityStorageQueryResult {
541
+ success: boolean;
542
+ total?: number;
543
+ items?: unknown[];
544
+ error?: string;
545
+ }
546
+ /**
547
+ * Runs {@link AXPEntityStorageService#query} against the active mock storage backend (Dexie or Firestore).
548
+ */
549
+ declare class AXCEntityStorageQueryQuery implements AXPQuery<AXCEntityStorageQueryInput, AXCEntityStorageQueryResult> {
550
+ private readonly entityStorage;
551
+ private readonly entityResolver;
552
+ fetch(input: AXCEntityStorageQueryInput): Promise<AXCEntityStorageQueryResult>;
553
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEntityStorageQueryQuery, never>;
554
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCEntityStorageQueryQuery>;
555
+ }
556
+
557
+ /**
558
+ * Normalizes tool/AI input into an {@link AXPQueryRequest} with safe defaults.
559
+ * Returns null when the payload cannot be parsed.
560
+ */
561
+ declare function parseEntityStorageQueryRequest(raw: AXPQueryRequest | string | undefined | null): AXPQueryRequest | null;
562
+ /**
563
+ * Derives lodash-get paths for quick search from the entity definition: string-like property names
564
+ * plus lookup `expose[].target` paths (e.g. `brand.title`).
565
+ */
566
+ declare function collectQuickSearchFieldPathsFromEntityDefinition(entity: AXPEntity | null | undefined): string[];
567
+ /**
568
+ * Builds a broad OR filter: fixed “usual suspects” plus optional extra paths (`contains` only on extras).
569
+ * Extra paths typically come from the entity definition and/or caller-supplied {@link quickSearchFieldPaths}.
570
+ */
571
+ declare function buildEntityStorageQuickSearchFilter(term: string, extraContainsFieldPaths?: string[]): AXDataSourceFilterOption;
572
+ /**
573
+ * AND-combines an optional quick-search clause with any existing `request.filter`.
574
+ *
575
+ * @param quickSearchExtraContainsFieldPaths Merged: from entity schema, caller `quickSearchFieldPaths`, deduped with base fields.
576
+ */
577
+ declare function mergeQuickSearchIntoRequest(request: AXPQueryRequest, quickSearch: string | undefined | null, quickSearchExtraContainsFieldPaths?: string[] | null): AXPQueryRequest;
578
+
579
+ declare class AXCDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
580
+ private sessionService;
581
+ constructor();
582
+ get dbName(): string;
583
+ /**
584
+ * Seed the storage with the provided collection only if it has not been
585
+ * inserted before.
586
+ *
587
+ * Rather than relying on the total record count, we inspect whether the first
588
+ * item of the incoming collection (identified by its `id`) already exists in
589
+ * the table for the given `entityName`. If it exists, the data has already
590
+ * been seeded and no action is taken; otherwise, the entire collection is
591
+ * bulk-inserted.
592
+ */
593
+ initial<T = any>(entityName: string, collection: T[], options?: {
594
+ mergeType?: 'merge' | 'replace';
595
+ uniqueKeys?: string[];
596
+ }): Promise<T[]>;
597
+ getOne<T = any>(entityName: string, id: string): Promise<T>;
598
+ updateOne<T = any>(entityName: string, id: string, keyValue: {
599
+ [key: string]: any;
600
+ }): Promise<T>;
601
+ deleteOne(entityName: string, id: string): Promise<void>;
602
+ insertOne<T = any>(entityName: string, entity: T): Promise<string>;
603
+ getAll<T = any>(entityName: string): Promise<T[]>;
604
+ query<T = any>(entityName: string, request: AXPQueryRequest): Promise<_acorex_platform_core.AXPPagedListResult<T>>;
605
+ private getDirectChildCount;
606
+ private getAllChildCategoryIds;
607
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCDexieEntityStorageService, never>;
608
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCDexieEntityStorageService>;
609
+ }
610
+
611
+ declare class AXCFirestoreEntityStorageService implements AXPEntityStorageService<string, any> {
612
+ private readonly sessionService;
613
+ private readonly db;
614
+ private ensureDb;
615
+ get dbName(): string;
616
+ /**
617
+ * Deletes all documents in `entity-store` (batched). No-op when Firestore is not configured.
618
+ * Used before mock data seeding so Firestore matches a fresh mock dataset.
619
+ */
620
+ clearAllEntityStore(): Promise<void>;
621
+ initial<T = any>(entityName: string, collectionData: T[], options?: {
622
+ mergeType: 'merge' | 'replace';
623
+ uniqueKeys: string[];
624
+ }): Promise<T[]>;
625
+ getOne<T = any>(entityName: string, id: string): Promise<T>;
626
+ updateOne<T = any>(entityName: string, id: string, keyValue: {
627
+ [key: string]: any;
628
+ }): Promise<T>;
629
+ deleteOne(entityName: string, id: string): Promise<void>;
630
+ insertOne<T = any>(entityName: string, entity: T): Promise<string>;
631
+ getAll<T = any>(entityName: string): Promise<T[]>;
632
+ query<T = any>(entityName: string, request: AXPQueryRequest): Promise<_acorex_platform_core.AXPPagedListResult<T>>;
633
+ /**
634
+ * Load all documents for an entity (same approach as Dexie: load by entityName, filter in runEntityQuery).
635
+ * Firestore and Dexie share the same runEntityQuery + applyFilterArray so behavior stays consistent.
636
+ */
637
+ private getRawAll;
638
+ private getDirectChildCount;
639
+ private getAllChildCategoryIds;
640
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFirestoreEntityStorageService, never>;
641
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFirestoreEntityStorageService>;
642
+ }
643
+
644
+ /**
645
+ * Injected Firestore instance when Firebase is configured; null otherwise.
646
+ * Used by entity-storage, versioning, file-storage, identifier, workflow.
647
+ */
648
+ declare const AXC_FIRESTORE_DB: InjectionToken<Firestore | null>;
649
+
650
+ type AXCEntityStorageBackendType = 'dexie' | 'firestore';
651
+ declare const AXC_ENTITY_STORAGE_BACKEND_TYPE: InjectionToken<AXCEntityStorageBackendType>;
652
+ interface AXCFirestoreConfig {
653
+ apiKey: string;
654
+ projectId: string;
655
+ authDomain?: string;
656
+ storageBucket?: string;
657
+ messagingSenderId?: string;
658
+ appId?: string;
659
+ }
660
+ declare const AXC_FIRESTORE_CONFIG: InjectionToken<AXCFirestoreConfig | null>;
661
+
662
+ /**
663
+ * Entity registry: one canonical id per entity.
664
+ * Canonical id = module.aggregate.entity (e.g. contactcore.emergencyservices.emergencyservice).
665
+ * Loaders return raw entity fragments for Dexie/Firestore seeding (fields-array shape).
666
+ */
667
+ declare const ENTITY_REGISTRY: Array<{
668
+ canonicalId: string;
669
+ module: string;
670
+ aggregate: string;
671
+ loader: () => Promise<{
672
+ default: unknown;
673
+ }>;
674
+ }>;
675
+ /** Map canonicalId -> loader for seeder */
676
+ declare const ENTITY_DEFINITION_MAP: Record<string, () => Promise<{
677
+ default: unknown;
678
+ }>>;
679
+
680
+ /**
681
+ * Loads entity definitions from persistent storage (Dexie or Firestore) and converts to AXPEntity.
682
+ * Lookup: module first -> aggregates -> entity (module.aggregate.entity).
683
+ * Implements AXPEntityDefinitionLoader for layout.
684
+ */
685
+ declare class AXCStoredEntityDefinitionLoader implements AXPEntityDefinitionLoader {
686
+ private readonly sourceType;
687
+ private readonly firestoreDb;
688
+ get(moduleName: string, entityName: string): Promise<AXPEntity | null>;
689
+ list(): Promise<{
690
+ name: string;
691
+ module: string;
692
+ }[]>;
693
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCStoredEntityDefinitionLoader, never>;
694
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCStoredEntityDefinitionLoader>;
695
+ }
696
+
697
+ /**
698
+ * Seeds all definition collections from JSON files into Dexie or Firestore.
699
+ * Seed order: properties -> schemaDefinitions -> interfaces -> entities -> aggregates -> relations -> modules.
700
+ */
701
+ declare class AXCEntityDefinitionSeederService {
702
+ private readonly sourceType;
703
+ private readonly firestoreDb;
704
+ private readonly crudService;
705
+ /** Inject so widget providers are instantiated and register with the registry before we seed interfaces. */
706
+ private readonly _widgetDefinitionProviders;
707
+ private readonly widgetRegistry;
708
+ seed(): Promise<void>;
709
+ private hasDataInDexie;
710
+ private hasDataInFirestore;
711
+ private seedToDexie;
712
+ private seedPropertiesToDexie;
713
+ private seedSchemaDefinitionsToDexie;
714
+ private seedEntitiesToDexie;
715
+ private seedToFirestore;
716
+ private seedPropertiesToFirestore;
717
+ private seedSchemaDefinitionsToFirestore;
718
+ private seedPluginDefinitionsToFirestore;
719
+ private seedValidationDefinitionsToFirestore;
720
+ private seedInterfaceDefinitionsToFirestore;
721
+ private loadAndResolveEntity;
722
+ private seedEntitiesToFirestore;
723
+ private seedAggregatesToFirestore;
724
+ private seedRelationsToFirestore;
725
+ private seedModulesToFirestore;
726
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEntityDefinitionSeederService, never>;
727
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCEntityDefinitionSeederService>;
728
+ }
729
+
730
+ /**
731
+ * Loads mock {@link AXPPropertyDefinition} rows from schema-and-common-fields.data.ts (no JSON resolution).
732
+ */
733
+ declare function loadMockPropertyDefinitions(): Promise<Array<{
734
+ definition: AXPPropertyDefinition;
735
+ }>>;
736
+ /**
737
+ * Registers mock property definitions in {@link AXPPropertyRegistry} when using mock connectivity.
738
+ */
739
+ declare function provideMockPropertySetups(): EnvironmentProviders;
740
+
741
+ /**
742
+ * Serialized state of the Module aggregate root (snapshot), independent of store technology.
743
+ * Nested entities/aggregates are persisted elsewhere; this object is manifest metadata only.
744
+ */
745
+ interface ModuleAggregateState {
746
+ /** Stable identity; must equal the persistence row key {@link ModulePersistedRecord.name} in this codebase. */
747
+ id: string;
748
+ /** Business name (matches RootConfig / manifest `name`). */
749
+ name: string;
750
+ /** Title (translation key or literal). */
751
+ title: string;
752
+ /** Icon class or token. */
753
+ icon: string;
754
+ /** Module version for manifest bridge (optional in seed data). */
755
+ version?: string;
756
+ /** Optional description for manifest. */
757
+ description?: string;
758
+ /** i18n scope name for manifest. */
759
+ i18n?: string;
760
+ /** Module dependencies for manifest. */
761
+ dependencies?: string[];
762
+ /** Whether module is required. */
763
+ required?: boolean;
764
+ /** Extra metadata for manifest. */
765
+ metadata?: Record<string, unknown>;
766
+ /**
767
+ * Loose bag for forward-compatible manifest keys and safe use with generic serialization/CRUD
768
+ * (`Record<string, unknown>`) without forcing casts at every call site.
769
+ */
770
+ [key: string]: unknown;
771
+ }
772
+ /** Alias for {@link ModuleAggregateState}; kept for existing imports across the mock layer. */
773
+ type ModuleAggregateDefinition = ModuleAggregateState;
774
+
775
+ interface EntityRecord {
776
+ id: string;
777
+ definition: Record<string, unknown>;
778
+ }
779
+ interface AggregateRecord {
780
+ id: string;
781
+ definition: Record<string, unknown>;
782
+ }
783
+ interface RelationRecord {
784
+ id: string;
785
+ definition: Record<string, unknown>;
786
+ }
787
+ /**
788
+ * Dexie row: keyed by module slug; {@link ModuleAggregateDefinition} is the module aggregate root (no embedded aggregates).
789
+ */
790
+ interface ModuleRecord {
791
+ name: string;
792
+ definition: ModuleAggregateDefinition;
793
+ }
794
+ interface SchemaDefinitionRecord {
795
+ name: string;
796
+ definition: Record<string, unknown>;
797
+ }
798
+ interface InterfaceRecord {
799
+ name: string;
800
+ definition: Record<string, unknown>;
801
+ }
802
+ interface PropertyRecord {
803
+ id: string;
804
+ definition: Record<string, unknown>;
805
+ }
806
+ interface PluginRecord {
807
+ name: string;
808
+ definition: Record<string, unknown>;
809
+ }
810
+ interface ValidationRecord {
811
+ name: string;
812
+ definition: Record<string, unknown>;
813
+ }
814
+ interface MenuRecord {
815
+ id: string;
816
+ definition: Record<string, unknown>;
817
+ }
818
+ interface CommandRecord {
819
+ id: string;
820
+ definition: Record<string, unknown>;
821
+ }
822
+ interface QueryRecord {
823
+ id: string;
824
+ definition: Record<string, unknown>;
825
+ }
826
+ interface PermissionGroupRecord {
827
+ id: string;
828
+ definition: Record<string, unknown>;
829
+ }
830
+ declare class EntityDefinitionDatabase extends Dexie {
831
+ entities: Table<EntityRecord, string>;
832
+ aggregates: Table<AggregateRecord, string>;
833
+ relations: Table<RelationRecord, string>;
834
+ modules: Table<ModuleRecord, string>;
835
+ schemaDefinitions: Table<SchemaDefinitionRecord, string>;
836
+ interfaces: Table<InterfaceRecord, string>;
837
+ properties: Table<PropertyRecord, string>;
838
+ plugins: Table<PluginRecord, string>;
839
+ validations: Table<ValidationRecord, string>;
840
+ menus: Table<MenuRecord, string>;
841
+ permissionGroups: Table<PermissionGroupRecord, string>;
842
+ commands: Table<CommandRecord, string>;
843
+ queries: Table<QueryRecord, string>;
844
+ constructor();
845
+ }
846
+ declare const entityDefDb: EntityDefinitionDatabase;
847
+
848
+ /**
849
+ * Seeds command registry rows into Dexie/Firestore via AXPEntityDefinitionCrudService.
850
+ * Data is generated from `scripts/runtime/generated/runtime-catalog.json` (see command-registry-seed.data.ts).
851
+ * Upserts by command name: updates existing rows or creates with stable ids from seed data.
852
+ */
853
+ declare class AXCCommandRegistryDataSeeder implements AXPDataSeeder {
854
+ private readonly crud;
855
+ seed(): Promise<void>;
856
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommandRegistryDataSeeder, never>;
857
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCCommandRegistryDataSeeder>;
858
+ }
859
+
860
+ /**
861
+ * Seeds query registry rows into Dexie/Firestore via AXPEntityDefinitionCrudService.
862
+ * Data is generated from `scripts/runtime/generated/runtime-catalog.json` (see query-registry-seed.data.ts).
863
+ * Upserts by query name: updates existing rows or creates with stable ids from seed data.
864
+ */
865
+ declare class AXCQueryRegistryDataSeeder implements AXPDataSeeder {
866
+ private readonly crud;
867
+ seed(): Promise<void>;
868
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCQueryRegistryDataSeeder, never>;
869
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCQueryRegistryDataSeeder>;
870
+ }
871
+
872
+ /** Matches scripts/firebase/generated/entity-definition-firestore-snapshot.json */
873
+ interface FirestoreSnapshotOperation {
874
+ collection: string;
875
+ docId: string;
876
+ data: Record<string, unknown>;
877
+ }
878
+ interface EntityDefinitionFirestoreSnapshotFile {
879
+ snapshotVersion: 1;
880
+ generatedAt: string;
881
+ operations: FirestoreSnapshotOperation[];
882
+ warnings?: string[];
883
+ }
884
+ /**
885
+ * Applies a pre-generated entity-definition snapshot using batched writes (max 500 ops per batch).
886
+ * Yields between batches so the UI thread can stay responsive.
887
+ */
888
+ declare function applyEntityDefinitionFirestoreSnapshot(db: Firestore, payload: EntityDefinitionFirestoreSnapshotFile, options?: {
889
+ yieldBetweenBatches?: boolean;
890
+ }): Promise<void>;
891
+ /**
892
+ * Deletes all documents in the entity-definition collections used by the mock seeder (best-effort).
893
+ * Call before applying a full snapshot when replacing existing mock data.
894
+ */
895
+ declare function clearEntityDefinitionFirestoreCollections(db: Firestore): Promise<void>;
896
+
897
+ /**
898
+ * Fixed UUIDs so assists and settings can reference models deterministically across reseeds.
899
+ */
900
+ declare const AXMAiModelStableIds: {
901
+ readonly gemini25Flash: "a0000001-0000-4000-8000-000000000001";
902
+ readonly gpt54: "a0000001-0000-4000-8000-000000000023";
903
+ readonly gpt54Mini: "a0000001-0000-4000-8000-000000000025";
904
+ readonly gpt54Nano: "a0000001-0000-4000-8000-000000000026";
905
+ readonly demisAi: "a0000001-0000-4000-8000-000000000024";
906
+ readonly imagen4Generate001: "a0000001-0000-4000-8000-000000000030";
907
+ readonly openaiGptImage1: "a0000001-0000-4000-8000-000000000031";
908
+ readonly lmStudioQwen35_9b: "a0000001-0000-4000-8000-000000000032";
909
+ readonly lmStudioQwen3_4b: "a0000001-0000-4000-8000-000000000033";
910
+ readonly lmStudioGemma3_4b: "a0000001-0000-4000-8000-000000000034";
911
+ readonly ollamaQwen35_9b: "a0000001-0000-4000-8000-000000000035";
912
+ readonly ollamaQwen3_4b: "a0000001-0000-4000-8000-000000000036";
913
+ readonly ollamaGemma3_4b: "a0000001-0000-4000-8000-000000000037";
914
+ readonly openaiWhisper1: "a0000001-0000-4000-8000-000000000040";
915
+ /** OpenAI audio/speech API (`tts-1`). */
916
+ readonly openaiTts1: "a0000001-0000-4000-8000-000000000042";
917
+ };
918
+ /**
919
+ * Catalog mock rows. Monetary fields are USD per 1M tokens (Standard / paid tier) unless noted.
920
+ *
921
+ * OpenAI: platform.openai.com/docs/pricing (Standard: input, cached input, output per 1M tokens).
922
+ * Gemini: ai.google.dev/gemini-api/docs/pricing (Paid tier Standard tables; context caching where listed).
923
+ */
924
+ interface AXCAiModelMock {
925
+ id: string;
926
+ title: string;
927
+ /** Exact model id string sent to the vendor API (same as catalog `name`). */
928
+ name: string;
929
+ description?: string;
930
+ chatTransport: 'gemini' | 'openai';
931
+ /** Required when {@link chatTransport} is `openai`; OpenAiEndpoint catalog id. */
932
+ openAiEndpointId?: string;
933
+ /**
934
+ * Capability tags: `chat`, `vision` (image-in-chat), `image` (generation), `speech`, `tts`.
935
+ * Stored as tag titles (see AiModel entity tag-editor).
936
+ */
937
+ modelPurposes?: ('chat' | 'vision' | 'image' | 'speech' | 'tts')[];
938
+ /** Total context window (tokens), for UI / estimation. */
939
+ maxContextTokens?: number;
940
+ maxOutputTokens?: number;
941
+ maxInputTokens?: number;
942
+ /** USD per 1M input tokens (reference). */
943
+ inputPricePerMillion?: number;
944
+ /** USD per 1M output tokens (reference). */
945
+ outputPricePerMillion?: number;
946
+ /** USD per 1M cached prompt tokens (OpenAI prompt cache) or context-cache input (Gemini), when documented. */
947
+ cachedInputPricePerMillion?: number;
948
+ /** Disable plugin: model excluded from chat when true. */
949
+ isDisabled?: boolean;
950
+ /** Denormalized: linked OpenAI endpoint is disabled (middleware-maintained). */
951
+ openAiEndpointIsDisabled?: boolean;
952
+ }
953
+ declare const AI_MODEL_MOCK: AXCAiModelMock[];
954
+
955
+ declare class AXCAiModelSeeder implements AXPDataSeeder {
956
+ private readonly storageService;
957
+ seed(): Promise<void>;
958
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAiModelSeeder, never>;
959
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAiModelSeeder>;
960
+ }
961
+
962
+ interface AXCAiAssistMock {
963
+ id: string;
964
+ name: string;
965
+ title: string;
966
+ description?: string;
967
+ /** Official chat model (AiModel catalog id) for supervisor assist runs. */
968
+ modelId?: string | null;
969
+ /** For list/column display; aligned with model catalog. */
970
+ aiModel?: {
971
+ id?: string;
972
+ title?: string;
973
+ name?: string;
974
+ };
975
+ /** Catalog id of a row whose `modelPurposes` includes `image`; must match chat transport when generating images. */
976
+ imageModelId?: string | null;
977
+ tools?: {
978
+ id: string;
979
+ title?: string;
980
+ name?: string;
981
+ }[];
982
+ systemPrompt?: string;
983
+ initialMessages?: string;
984
+ professionImageUrl?: string;
985
+ /** Assist default for tool-free planning preamble (`off` when omitted). */
986
+ planningMode?: AXPAiPlanningMode;
987
+ /**
988
+ * AI agent catalog rows this assist may delegate to (`type` = agent id, `options` = assist-locked / assist-default values).
989
+ */
990
+ delegatedAgents?: {
991
+ type?: string;
992
+ options?: Record<string, unknown>;
993
+ }[] | null;
994
+ }
995
+ /** Deterministic id for the platform default assist row. */
996
+ declare const AXMAiPlatformDefaultAssistId = "b0000001-0000-4000-8000-000000000001";
997
+ /** Deterministic id for the Demis AI default assist row (mirror of platform default, Demis model). */
998
+ declare const AXMAiDemisDefaultAssistId = "b0000001-0000-4000-8000-000000000004";
999
+ declare const AI_ASSIST_MOCK: AXCAiAssistMock[];
1000
+
1001
+ declare class AXCAiAssistSeeder implements AXPDataSeeder {
1002
+ private readonly storageService;
1003
+ seed(): Promise<void>;
1004
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAiAssistSeeder, never>;
1005
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAiAssistSeeder>;
1006
+ }
1007
+
1008
+ /**
1009
+ * Returns the mock registry row id for a command `definition.name` from {@link COMMAND_REGISTRY_SEED}.
1010
+ * Add or regenerate rows in command-registry-seed.data.ts; do not hardcode `cmd_*` ids in agent seeds.
1011
+ */
1012
+ declare function axcResolveCommandRegistrySeedId(registryName: string): string;
1013
+ /**
1014
+ * Returns the mock registry row id for a query `definition.name` from {@link QUERY_REGISTRY_SEED}.
1015
+ */
1016
+ declare function axcResolveQueryRegistrySeedId(registryName: string): string;
1017
+ /** `definition.name` values used by AI agent mocks — ids come from {@link axcResolveCommandRegistrySeedId}. */
1018
+ declare const AXM_AI_REGISTRY_COMMAND_NAME: {
1019
+ readonly entityCreate: "Entity:Create";
1020
+ readonly entityUpdate: "Entity:Update";
1021
+ readonly commonGetCurrentTime: "common.get_current_time";
1022
+ readonly extractDocumentText: "AiManagement:ExtractDocumentText";
1023
+ readonly chatTranscribeSpeech: "AiManagement:ChatTranscribeSpeech";
1024
+ readonly chatSynthesizeSpeech: "AiManagement:ChatSynthesizeSpeech";
1025
+ };
1026
+ /** `definition.name` values used by AI agent mocks — ids come from {@link axcResolveQueryRegistrySeedId}. */
1027
+ declare const AXM_AI_REGISTRY_QUERY_NAME: {
1028
+ readonly listRegisteredEntities: "PlatformManagement:ListRegisteredEntities";
1029
+ readonly entityStorageQuery: "ConnectivityMock:EntityStorage:Query";
1030
+ };
1031
+
1032
+ declare const APPLICATIONS: AXMApplicationManagementApplicationEntityModel[];
1033
+
1034
+ declare class AXCApplicationDataSeeder implements AXPDataSeeder {
1035
+ private readonly storageService;
1036
+ seed(): Promise<void>;
1037
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationDataSeeder, never>;
1038
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCApplicationDataSeeder>;
1039
+ }
1040
+
1041
+ declare const EDITIONS: AXMApplicationManagementEditionEntityModel[];
1042
+ declare const SHOP_BASIC: AXMApplicationManagementEditionEntityModel;
1043
+ declare const SHOP_PRO: AXMApplicationManagementEditionEntityModel;
1044
+ declare const SHOP_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1045
+ declare const FINANCE_BASIC: AXMApplicationManagementEditionEntityModel;
1046
+ declare const FINANCE_PRO: AXMApplicationManagementEditionEntityModel;
1047
+ declare const FINANCE_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1048
+ declare const ORDERING_BASIC: AXMApplicationManagementEditionEntityModel;
1049
+ declare const ORDERING_STANDARD: AXMApplicationManagementEditionEntityModel;
1050
+ declare const ORDERING_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1051
+ declare const PLATFORM_CONSOLE: AXMApplicationManagementEditionEntityModel;
1052
+ declare const SAFETYMINDER_BASIC: AXMApplicationManagementEditionEntityModel;
1053
+ declare const SAFETYMINDER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
1054
+ declare const SAFETYMINDER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1055
+ declare const COSTMANAGER_STANDARD: AXMApplicationManagementEditionEntityModel;
1056
+ declare const COSTMANAGER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
1057
+ declare const COSTMANAGER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1058
+ declare const CRM_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1059
+ declare const HR_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
1060
+
1061
+ declare class AXCEditionDataSeeder implements AXPDataSeeder {
1062
+ private readonly storageService;
1063
+ seed(): Promise<void>;
1064
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCEditionDataSeeder, never>;
1065
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
1066
+ }
1067
+
1068
+ declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
1069
+ private storageService;
1070
+ private appVersionService;
1071
+ seed(): Promise<void>;
1072
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
1073
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
1074
+ }
1075
+
1076
+ declare class AXCAppTermDataSeeder implements AXPDataSeeder {
1077
+ private storageService;
1078
+ seed(): Promise<void>;
1079
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
1080
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
1081
+ }
1082
+
1083
+ /**
1084
+ * Titles = short admin labels. `question` = full respondent text.
1085
+ * Mix of numbers, scales, ratings, long text, and a few yes/no for variety.
1086
+ */
1087
+ interface QuestionBankItemMockDto extends AXPCategorizedEntityDto {
1088
+ id: string;
1089
+ title: AXPMultiLanguageString;
1090
+ name?: string;
1091
+ question?: AXPMultiLanguageString;
1092
+ note?: AXPMultiLanguageString;
1093
+ interface?: any;
1094
+ /** Respondent comment box (viewer); default off when omitted. */
1095
+ comment?: {
1096
+ enabled: boolean;
1097
+ required: boolean;
1098
+ };
1099
+ difficulty?: 'easy' | 'medium' | 'hard';
1100
+ estimatedTime?: number;
1101
+ categoryIds: string[];
1102
+ categories: AXPCategoryListItem[];
1103
+ createdAt: Date;
1104
+ updatedAt: Date;
1105
+ }
1106
+ declare const QUESTION_BANK_ITEM_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1107
+ type QuestionBankItemCategoryTitle = 'General' | 'Organization & Human Resources' | 'Health & Wellness' | 'Workplace Safety' | 'Plant Maintenance' | 'Compliance & Permits' | 'Team Lead & Leadership Assessment' | 'Technical & Professional Competencies' | 'Behavioral & Communication Competencies' | 'Management & Leadership Competencies' | 'Business & Organizational Competencies';
1108
+ declare function bankCategory(title: QuestionBankItemCategoryTitle): AXPCategoryEntity;
1109
+ declare const G: () => AXPCategoryEntity<string>;
1110
+ /** Root folder for HR / people programs (question bank tree). */
1111
+ declare const OHR: () => AXPCategoryEntity<string>;
1112
+ declare const HW: () => AXPCategoryEntity<string>;
1113
+ declare const WS: () => AXPCategoryEntity<string>;
1114
+ declare const PM: () => AXPCategoryEntity<string>;
1115
+ declare const CP: () => AXPCategoryEntity<string>;
1116
+ /** Parent folder for the four team-lead competency subcategories (question bank tree). */
1117
+ declare const TLA: () => AXPCategoryEntity<string>;
1118
+ declare const TPC: () => AXPCategoryEntity<string>;
1119
+ declare const BCC: () => AXPCategoryEntity<string>;
1120
+ declare const MLC: () => AXPCategoryEntity<string>;
1121
+ declare const BOC: () => AXPCategoryEntity<string>;
1122
+
1123
+ declare const questionBankItemMock: QuestionBankItemMockDto[];
1124
+ declare function mockQuestionBankItemByName(name: string): QuestionBankItemMockDto;
1125
+
1126
+ /** Questionnaire category mock row with bilingual title/description (matches seeded category storage). */
1127
+ interface QuestionnaireCategoryMockEntity extends Omit<AXPCategoryEntity, 'title' | 'description'> {
1128
+ title: AXPMultiLanguageString;
1129
+ description?: AXPMultiLanguageString;
1130
+ }
1131
+ interface QuestionnaireMockDto extends Omit<AXPCategorizedEntityDto, 'categories'> {
1132
+ id: string;
1133
+ title: AXPMultiLanguageString;
1134
+ description?: AXPMultiLanguageString;
1135
+ type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
1136
+ pre?: PreQuestionnaireConfig;
1137
+ post?: PostQuestionnaireConfig;
1138
+ display?: QuestionnaireEntityDisplaySettings;
1139
+ questions?: {
1140
+ sections: Array<{
1141
+ id: string;
1142
+ title: AXPMultiLanguageString;
1143
+ description?: AXPMultiLanguageString;
1144
+ order: number;
1145
+ isVisible?: boolean | string;
1146
+ scoringWeight?: number;
1147
+ items: Array<{
1148
+ id: string;
1149
+ questionBankItemId: string;
1150
+ order: number;
1151
+ isRequired?: boolean | string;
1152
+ isVisible?: boolean | string;
1153
+ scoringOverride?: {
1154
+ points?: number;
1155
+ weight?: number;
1156
+ };
1157
+ }>;
1158
+ }>;
1159
+ };
1160
+ scoringType: 'none' | 'cumulative' | 'weighted' | 'formula';
1161
+ passingScore?: number;
1162
+ scoringFormula?: string;
1163
+ evaluationRules?: string;
1164
+ gradingScale?: string;
1165
+ timeLimit?: number;
1166
+ allowPause: boolean;
1167
+ allowBackNavigation: boolean;
1168
+ randomizeQuestions: boolean;
1169
+ requireAllAnswers: boolean;
1170
+ categoryIds: string[];
1171
+ categories: QuestionnaireCategoryMockEntity[];
1172
+ createdAt: Date;
1173
+ updatedAt: Date;
1174
+ }
1175
+ declare const QUESTIONNAIRE_CATEGORY_MOCK: QuestionnaireCategoryMockEntity[];
1176
+ type QuestionnaireCategoryTitle = 'General' | 'Organization & Human Resources' | 'Health & Wellness' | 'Workplace Safety' | 'Plant Maintenance' | 'Compliance & Permits' | 'Team Lead Evaluation';
1177
+ /** Category row for mock questionnaires (aligned with question-bank-item titles). */
1178
+ declare const QGEN: () => QuestionnaireCategoryMockEntity;
1179
+ declare const QOHR: () => QuestionnaireCategoryMockEntity;
1180
+ declare const QHW: () => QuestionnaireCategoryMockEntity;
1181
+ declare const QWS: () => QuestionnaireCategoryMockEntity;
1182
+ declare const QPM: () => QuestionnaireCategoryMockEntity;
1183
+ declare const QCP: () => QuestionnaireCategoryMockEntity;
1184
+ /** Questionnaires folder for team lead / supervisor evaluations. */
1185
+ declare const QTLE: () => QuestionnaireCategoryMockEntity;
1186
+
1187
+ /**
1188
+ * Mock questionnaires by category (General → … → Compliance; team-lead competencies).
1189
+ * Outcome rules use stable ids exported from each `questionnaires-*.mock.ts` file — see questionnaire-calculation.mock.ts.
1190
+ */
1191
+ declare const questionnaireMock: QuestionnaireMockDto[];
1192
+
1193
+ declare class AXMQuestionBankItemCategoryDataSeeder implements AXPDataSeeder {
1194
+ private storage;
1195
+ seed(): Promise<void>;
1196
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionBankItemCategoryDataSeeder, never>;
1197
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionBankItemCategoryDataSeeder>;
1198
+ }
1199
+
1200
+ declare class AXMQuestionnaireCategoryDataSeeder implements AXPDataSeeder {
1201
+ private storage;
1202
+ seed(): Promise<void>;
1203
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireCategoryDataSeeder, never>;
1204
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireCategoryDataSeeder>;
1205
+ }
1206
+
1207
+ declare class AXMQuestionBankItemDataSeeder implements AXPDataSeeder {
1208
+ private storage;
1209
+ seed(): Promise<void>;
1210
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionBankItemDataSeeder, never>;
1211
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionBankItemDataSeeder>;
1212
+ }
1213
+
1214
+ declare class AXMQuestionnaireDataSeeder implements AXPDataSeeder {
1215
+ private storage;
1216
+ seed(): Promise<void>;
1217
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireDataSeeder, never>;
1218
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireDataSeeder>;
1219
+ }
1220
+
1221
+ /** Command payload for automation (activity key + parameters). */
1222
+ interface AutomationCommandDto {
1223
+ commandKey: string;
1224
+ params?: Record<string, unknown>;
1225
+ }
1226
+ /** Automation mock DTO (WorkflowManagement.Automation: refType + refId). */
1227
+ interface AutomationMockDto {
1228
+ id: string;
1229
+ refType: string;
1230
+ refId: string;
1231
+ name?: string;
1232
+ title?: string;
1233
+ description?: string;
1234
+ condition: Record<string, unknown>;
1235
+ /** Activity/command key and parameters (single field for form UX). */
1236
+ command: AutomationCommandDto;
1237
+ createdAt?: Date;
1238
+ updatedAt?: Date;
1239
+ }
1240
+ declare const automationMock: AutomationMockDto[];
1241
+
1242
+ /** Seeds WorkflowManagement.Automation with assessment questionnaire automations (refType + refId). */
1243
+ declare class AXMAutomationDataSeeder implements AXPDataSeeder {
1244
+ private storage;
1245
+ seed(): Promise<void>;
1246
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMAutomationDataSeeder, never>;
1247
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMAutomationDataSeeder>;
1248
+ }
1249
+
1250
+ type QuestionnaireCalculationMockResultKind = 'number' | 'string' | 'boolean';
1251
+ interface QuestionnaireCalculationMockDto {
1252
+ id: string;
1253
+ questionnaireId: string;
1254
+ name?: string;
1255
+ title?: AXPMultiLanguageString;
1256
+ description?: AXPMultiLanguageString;
1257
+ resultKind: QuestionnaireCalculationMockResultKind;
1258
+ expression?: string;
1259
+ createdAt?: Date;
1260
+ updatedAt?: Date;
1261
+ }
1262
+ declare const questionnaireCalculationMock: QuestionnaireCalculationMockDto[];
1263
+
1264
+ declare class AXMQuestionnaireCalculationDataSeeder implements AXPDataSeeder {
1265
+ private storage;
1266
+ seed(): Promise<void>;
1267
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireCalculationDataSeeder, never>;
1268
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireCalculationDataSeeder>;
1269
+ }
1270
+
1271
+ type TokenCategoryMockDto = AXPCategoryEntity & {
1272
+ icon?: string;
1273
+ color?: string;
1274
+ };
1275
+ /** Token category IDs for reference in token mocks */
1276
+ declare const tokenCategoryIds: {
1277
+ platform: string;
1278
+ session: string;
1279
+ template: string;
1280
+ integration: string;
1281
+ commerce: string;
1282
+ support: string;
1283
+ };
1284
+ declare const tokenCategoryMocks: TokenCategoryMockDto[];
1285
+
1286
+ declare class AXCTokensDataSeeder implements AXPDataSeeder {
1287
+ private storageService;
1288
+ seed(): Promise<void>;
1289
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTokensDataSeeder, never>;
1290
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTokensDataSeeder>;
1291
+ }
1292
+
1293
+ declare const TOKENS: {
1294
+ id: string;
1295
+ name: string;
1296
+ title: string;
1297
+ description: string | undefined;
1298
+ kind: "Context" | "Secret" | "Static";
1299
+ dataType: "Boolean" | "String" | "Integer";
1300
+ format: "None" | "Currency" | "Url";
1301
+ expression: string;
1302
+ sampleValue: string;
1303
+ isSensitive: boolean | undefined;
1304
+ maskPattern: "Partial" | undefined;
1305
+ categoryIds: string[];
1306
+ categories: {
1307
+ id: string;
1308
+ title: _acorex_platform_core.AXPMultiLanguageString;
1309
+ }[];
1310
+ }[];
1311
+
1312
+ /**
1313
+ * Tenant ID constants for use across mock data.
1314
+ * These are generated once and exported to ensure consistency.
1315
+ */
1316
+ declare const PLATFORM_TENANT_ID: string;
1317
+ declare const TIMEPLICITY_TENANT_ID: string;
1318
+ declare const LASER_PLUMBING_TENANT_ID: string;
1319
+
1320
+ declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
1321
+
1322
+ declare class AXCTenantSeeder implements AXPDataSeeder {
1323
+ private readonly storageService;
1324
+ seed(): Promise<void>;
1325
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantSeeder, never>;
1326
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCTenantSeeder>;
1327
+ }
1328
+
1329
+ declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
1330
+ private storageService;
1331
+ seed(): Promise<void>;
1332
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
1333
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
1334
+ }
1335
+
1336
+ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
1337
+ private storageService;
1338
+ seed(): Promise<void>;
1339
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
1340
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
1341
+ }
1342
+
1343
+ type RoleMockDto = AXMSecurityManagementRolesEntityModel;
1344
+ declare const mockRoleDefinitions: RoleMockDto[];
1345
+
1346
+ interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
1347
+ id: string;
1348
+ username: string;
1349
+ displayName: string;
1350
+ roleIds: string[];
1351
+ roles: {
1352
+ id: string;
1353
+ title: string;
1354
+ }[];
1355
+ password: string;
1356
+ }
1357
+ declare const mockUsers: AXCMockUserMockDto[];
1358
+
1359
+ /**
1360
+ * Stable id for the built-in enterprise-root business unit (C-suite and company-level positions).
1361
+ * Aligns with SAP/Oracle-style “corporate / headquarters” org unit — not nullable on assignments.
1362
+ */
1363
+ declare const AXM_CORPORATE_BUSINESS_UNIT_ID = "a1b2c3d4-e5f6-4789-a012-34567890abcd";
1364
+ interface AXCBusinessUnitMockDto {
1365
+ id: string;
1366
+ title: AXPMultiLanguageString;
1367
+ description?: AXPMultiLanguageString;
1368
+ typeId: string;
1369
+ parentId?: string | null;
1370
+ geographicRegionId?: string | null;
1371
+ hasChild?: boolean;
1372
+ geographicRegion?: {
1373
+ id: string;
1374
+ title: string;
1375
+ } | null;
1376
+ parent?: {
1377
+ id: string;
1378
+ title: AXPMultiLanguageString;
1379
+ } | null;
1380
+ type: {
1381
+ id: string;
1382
+ title: AXPMultiLanguageString;
1383
+ isLocationBased?: boolean;
1384
+ } | null;
1385
+ positionIds?: string[];
1386
+ positions?: {
1387
+ id: string;
1388
+ title: string;
1389
+ }[];
1390
+ headPositionId?: string | null;
1391
+ headPosition?: {
1392
+ id: string;
1393
+ title: string;
1394
+ } | null;
1395
+ stateInfo?: AXPRecordStateInfo;
1396
+ }
1397
+ declare const BUSINESS_UNITS_MOCK: AXCBusinessUnitMockDto[];
1398
+
1399
+ declare class AXMBusinessUnitDataSeeder implements AXPDataSeeder {
1400
+ private storage;
1401
+ seed(): Promise<void>;
1402
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMBusinessUnitDataSeeder, never>;
1403
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMBusinessUnitDataSeeder>;
1404
+ }
1405
+
1406
+ interface JobDefinitionMockDto extends AXPCategorizedEntityDto {
1407
+ id: string;
1408
+ title: AXPMultiLanguageString;
1409
+ description: AXPMultiLanguageString;
1410
+ categoryIds: string[];
1411
+ categories: AXPCategoryListItem[];
1412
+ responsibilityLevelIds?: string[];
1413
+ responsibilities?: AXPSpreadsheetData;
1414
+ jobLevelIds?: string[];
1415
+ jobLevels?: AXPCategoryListItem[];
1416
+ skillRequirements?: AXPSpreadsheetData;
1417
+ }
1418
+ /** English category keys → id (for parents after localized titles). */
1419
+ declare const JOB_DEFINITION_CATEGORY_KEY_TO_ID: Record<string, string>;
1420
+ declare const JOB_DEFINITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1421
+ declare const JOB_DEFINITIONS_MOCK: JobDefinitionMockDto[];
1422
+
1423
+ declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | undefined;
1424
+ interface AXCEmployeeMockDto {
1425
+ id: string;
1426
+ statusId: string;
1427
+ userId?: string;
1428
+ personId: string;
1429
+ person: {
1430
+ id: string;
1431
+ displayName: string;
1432
+ fullName: string;
1433
+ };
1434
+ birthDate: Date;
1435
+ employeeCode: string;
1436
+ jobDefinitionId: string;
1437
+ jobDefinition: JobDefinitionMockDto;
1438
+ employmentTypeId: string;
1439
+ employmentType: AXMHumanCapitalManagementEmploymentTypeEntityModel;
1440
+ hireDate: Date;
1441
+ managerId: string | null;
1442
+ manager: AXCEmployeeMockDto | null;
1443
+ activePrimaryPositionId?: string | null;
1444
+ activePrimaryPosition?: {
1445
+ id: string;
1446
+ title?: unknown;
1447
+ } | null;
1448
+ imageId: string[];
1449
+ }
1450
+ declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
1451
+ /** Sync in-memory mock rows with `managerId` values (e.g. after storage reconciliation). */
1452
+ declare function axcPatchEmployeeManagerRefsFromRows(rows: {
1453
+ id: string;
1454
+ managerId?: string | null;
1455
+ }[]): void;
1456
+ /** Sync in-memory mock rows with `activePrimaryPositionId` / nested position (after storage reconciliation). */
1457
+ declare function axcPatchEmployeeActivePrimaryPositionRefsFromRows(rows: {
1458
+ id: string;
1459
+ activePrimaryPositionId?: string | null;
1460
+ }[]): void;
1461
+
1462
+ type AXCEmployeeMock$1 = (typeof EMPLOYEES_MOCK)[number];
1463
+ interface AXCTeamMockDto {
1464
+ id: string;
1465
+ title: AXPMultiLanguageString;
1466
+ description: AXPMultiLanguageString;
1467
+ leaderId: string;
1468
+ leader: AXCEmployeeMock$1;
1469
+ managerId: string;
1470
+ manager: AXCEmployeeMock$1;
1471
+ memberIds: string[];
1472
+ members: AXCEmployeeMock$1[];
1473
+ }
1474
+ declare const TEAMS_MOCK: AXCTeamMockDto[];
1475
+
1476
+ declare class AXMTeamDataSeeder implements AXPDataSeeder {
1477
+ private storageService;
1478
+ seed(): Promise<void>;
1479
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamDataSeeder, never>;
1480
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
1481
+ }
1482
+
1483
+ interface AXCTeamMemberRoleMockDto {
1484
+ id: string;
1485
+ title: AXPMultiLanguageString;
1486
+ name: 'leader' | 'member' | 'co-leader' | 'advisor';
1487
+ }
1488
+ declare const TEAM_MEMBER_ROLES_MOCK: AXCTeamMemberRoleMockDto[];
1489
+
1490
+ declare class AXMTeamMemberRoleDataSeeder implements AXPDataSeeder {
1491
+ private storageService;
1492
+ seed(): Promise<void>;
1493
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamMemberRoleDataSeeder, never>;
1494
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamMemberRoleDataSeeder>;
1495
+ }
1496
+
1497
+ type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
1498
+ type AXCTeamMock = (typeof TEAMS_MOCK)[number];
1499
+ type AXCTeamMemberRoleMock = (typeof TEAM_MEMBER_ROLES_MOCK)[number];
1500
+ interface AXCTeamMemberMockDto {
1501
+ id: string;
1502
+ teamId: string;
1503
+ team: AXCTeamMock;
1504
+ employeeId: string;
1505
+ employee: AXCEmployeeMock;
1506
+ roleId: string;
1507
+ role: AXCTeamMemberRoleMock;
1508
+ }
1509
+ declare const TEAM_MEMBERS_MOCK: AXCTeamMemberMockDto[];
1510
+
1511
+ declare class AXMTeamMemberDataSeeder implements AXPDataSeeder {
1512
+ private storageService;
1513
+ seed(): Promise<void>;
1514
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamMemberDataSeeder, never>;
1515
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamMemberDataSeeder>;
1516
+ }
1517
+
1518
+ interface PositionMockDto extends AXPCategorizedEntityDto {
1519
+ id: string;
1520
+ code: string;
1521
+ title: AXPMultiLanguageString;
1522
+ description: AXPMultiLanguageString;
1523
+ categoryIds: string[];
1524
+ categories: {
1525
+ id: string;
1526
+ title: AXPMultiLanguageString;
1527
+ }[];
1528
+ jobLevelId: string;
1529
+ jobLevel?: {
1530
+ id: string;
1531
+ title: AXPMultiLanguageString;
1532
+ };
1533
+ jobDefinitionId?: string;
1534
+ jobDefinition?: {
1535
+ id: string;
1536
+ title: AXPMultiLanguageString;
1537
+ };
1538
+ businessUnitId?: string;
1539
+ businessUnit?: {
1540
+ id: string;
1541
+ title: AXPMultiLanguageString;
1542
+ };
1543
+ capacity?: number;
1544
+ reportsToPositionId?: string;
1545
+ reportsToPosition?: {
1546
+ id: string;
1547
+ title: AXPMultiLanguageString;
1548
+ };
1549
+ isManager?: boolean;
1550
+ }
1551
+ declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1552
+ declare const POSITIONS_MOCK: PositionMockDto[];
1553
+
1554
+ declare class AXMPositionDataSeeder implements AXPDataSeeder {
1555
+ private storageService;
1556
+ seed(): Promise<void>;
1557
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionDataSeeder, never>;
1558
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
1559
+ }
1560
+
1561
+ declare class AXMJobDefinitionDataSeeder implements AXPDataSeeder {
1562
+ private storageService;
1563
+ seed(): Promise<void>;
1564
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobDefinitionDataSeeder, never>;
1565
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobDefinitionDataSeeder>;
1566
+ }
1567
+
1568
+ interface JobLevelMockDto {
1569
+ id: string;
1570
+ title: AXPMultiLanguageString;
1571
+ description?: AXPMultiLanguageString;
1572
+ level: number;
1573
+ }
1574
+ declare const JOB_LEVELS_MOCK: JobLevelMockDto[];
1575
+
1576
+ declare class AXMJobLevelDataSeeder implements AXPDataSeeder {
1577
+ private storageService;
1578
+ seed(): Promise<void>;
1579
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobLevelDataSeeder, never>;
1580
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobLevelDataSeeder>;
1581
+ }
1582
+
1583
+ interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
1584
+ id: string;
1585
+ title: AXPMultiLanguageString;
1586
+ description: AXPMultiLanguageString;
1587
+ categoryIds: string[];
1588
+ categories: {
1589
+ id: string;
1590
+ title: AXPMultiLanguageString;
1591
+ }[];
1592
+ }
1593
+ /** English category keys → id (stable lookup after localized titles). */
1594
+ declare const RESPONSIBILITY_CATEGORY_KEY_TO_ID: Record<string, string>;
1595
+ declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1596
+ declare const RESPONSIBILITIES_MOCK: ResponsibilityMockDto[];
1597
+
1598
+ declare class AXMResponsibilityDataSeeder implements AXPDataSeeder {
1599
+ private storageService;
1600
+ seed(): Promise<void>;
1601
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMResponsibilityDataSeeder, never>;
1602
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMResponsibilityDataSeeder>;
1603
+ }
1604
+
1605
+ declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
1606
+ private storageService;
1607
+ seed(): Promise<void>;
1608
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeDataSeeder, never>;
1609
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeDataSeeder>;
1610
+ }
1611
+
1612
+ interface AXCPositionAssignmentMockDto {
1613
+ id: string;
1614
+ employeeId: string;
1615
+ employee?: any;
1616
+ positionId: string;
1617
+ position?: any;
1618
+ businessUnitId: string;
1619
+ businessUnit?: any;
1620
+ startDate: Date;
1621
+ endDate?: Date | null;
1622
+ isPrimary?: boolean;
1623
+ notes?: string;
1624
+ }
1625
+ declare const POSITION_ASSIGNMENTS_MOCK: AXCPositionAssignmentMockDto[];
1626
+
1627
+ declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
1628
+ private storageService;
1629
+ seed(): Promise<void>;
1630
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionAssignmentDataSeeder, never>;
1631
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
1632
+ }
1633
+
1634
+ declare const EMPLOYMENT_TYPES_MOCK: AXMHumanCapitalManagementEmploymentTypeEntityModel[];
1635
+
1636
+ declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
1637
+ private storageService;
1638
+ seed(): Promise<void>;
1639
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmploymentTypeDataSeeder, never>;
1640
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmploymentTypeDataSeeder>;
1641
+ }
1642
+
1643
+ declare const LEAVE_REQUEST_STATUS_DEFINITIONS: readonly [{
1644
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Pending;
1645
+ readonly title: string;
1646
+ readonly icon: "fa-light fa-clock";
1647
+ readonly color: "warning";
1648
+ readonly description: string;
1649
+ readonly order: 1;
1650
+ readonly isInitial: true;
1651
+ readonly isFinal: false;
1652
+ }, {
1653
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Approved;
1654
+ readonly title: string;
1655
+ readonly icon: "fa-light fa-check-circle";
1656
+ readonly color: "success";
1657
+ readonly description: string;
1658
+ readonly order: 3;
1659
+ readonly isInitial: false;
1660
+ readonly isFinal: false;
1661
+ }, {
1662
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Rejected;
1663
+ readonly title: string;
1664
+ readonly icon: "fa-light fa-times-circle";
1665
+ readonly color: "danger";
1666
+ readonly description: string;
1667
+ readonly order: 6;
1668
+ readonly isInitial: false;
1669
+ readonly isFinal: true;
1670
+ }, {
1671
+ readonly name: _acorex_platform_common.AXPSystemStatusType.Cancelled;
1672
+ readonly title: string;
1673
+ readonly icon: "fa-light fa-times-circle";
1674
+ readonly color: "neutral";
1675
+ readonly description: string;
1676
+ readonly order: 6;
1677
+ readonly isInitial: false;
1678
+ readonly isFinal: true;
1679
+ }];
1680
+ type LeaveRequestStatusId = (typeof LEAVE_REQUEST_STATUS_DEFINITIONS)[number]['name'];
1681
+ interface AXCLeaveRequestMockDto {
1682
+ id: string;
1683
+ employeeId: string;
1684
+ employee?: any;
1685
+ leaveTypeId: string;
1686
+ leaveType?: any;
1687
+ startDate: Date;
1688
+ endDate: Date;
1689
+ durationDays: number;
1690
+ reason?: string;
1691
+ statusId: LeaveRequestStatusId;
1692
+ status?: {
1693
+ id: LeaveRequestStatusId;
1694
+ title: string;
1695
+ };
1696
+ }
1697
+ declare const LEAVE_REQUESTS_MOCK: AXCLeaveRequestMockDto[];
1698
+
1699
+ declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
1700
+ private storageService;
1701
+ seed(): Promise<void>;
1702
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMLeaveRequestDataSeeder, never>;
1703
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
1704
+ }
1705
+
1706
+ type PersonMockDto = AXMPersonCorePersonEntityModel;
1707
+ declare const personIds: {
1708
+ readonly johnSmith: "ddd51595-13ab-4580-9db5-3b13b233ddf1";
1709
+ readonly sarahJohnson: "ddd51595-13ab-4580-9db5-3b13b233ddf2";
1710
+ readonly mikeChen: "ddd51595-13ab-4580-9db5-3b13b233ddf3";
1711
+ readonly emilyRodriguez: "ddd51595-13ab-4580-9db5-3b13b233ddf4";
1712
+ readonly davidThompson: "ddd51595-13ab-4580-9db5-3b13b233ddf5";
1713
+ readonly lisaWang: "ddd51595-13ab-4580-9db5-3b13b233ddf6";
1714
+ readonly jenniferLopez: "ddd51595-13ab-4580-9db5-3b13b233ddf7";
1715
+ readonly robertWilson: "ddd51595-13ab-4580-9db5-3b13b233ddf8";
1716
+ readonly mariaGarcia: "ddd51595-13ab-4580-9db5-3b13b233ddf9";
1717
+ readonly alexandraKim: "ddd51595-13ab-4580-9db5-3b13b233ddf10";
1718
+ readonly marcusSchmidt: "ddd51595-13ab-4580-9db5-3b13b233ddf11";
1719
+ readonly fatimaAlZahra: "ddd51595-13ab-4580-9db5-3b13b233ddf12";
1720
+ readonly jamesOConnor: "ddd51595-13ab-4580-9db5-3b13b233ddf13";
1721
+ readonly yukiTanaka: "ddd51595-13ab-4580-9db5-3b13b233ddf14";
1722
+ readonly carlosRodriguez: "ddd51595-13ab-4580-9db5-3b13b233ddf15";
1723
+ readonly root: "ddd51595-13ab-4580-9db5-3b13b233ddf16";
1724
+ readonly admin: "ddd51595-13ab-4580-9db5-3b13b233ddf17";
1725
+ readonly rodJensen: "ddd51595-13ab-4580-9db5-3b13b233ddf18";
1726
+ readonly heidiThonig: "ddd51595-13ab-4580-9db5-3b13b233ddf19";
1727
+ readonly techSolutionsInc: "c3000001-0000-0000-0000-000000000001";
1728
+ readonly acmeCorporation: "c3000001-0000-0000-0000-000000000002";
1729
+ readonly globalSuppliersLtd: "c3000001-0000-0000-0000-000000000003";
1730
+ readonly pacificRimTechnologies: "c3000001-0000-0000-0000-000000000004";
1731
+ readonly europeanManufacturingConsortium: "c3000001-0000-0000-0000-000000000005";
1732
+ readonly innovativeSoftwareSolutions: "c3000001-0000-0000-0000-000000000006";
1733
+ readonly globalLogisticsPartners: "c3000001-0000-0000-0000-000000000007";
1734
+ readonly sustainableEnergyCorpLtd: "c3000001-0000-0000-0000-000000000008";
1735
+ readonly digitalMarketingAgencyGroup: "c3000001-0000-0000-0000-000000000009";
1736
+ readonly premiumConsultingServices: "c3000001-0000-0000-0000-000000000010";
1737
+ readonly middleEastInvestmentGroup: "c3000001-0000-0000-0000-000000000011";
1738
+ readonly australianInnovationHub: "c3000001-0000-0000-0000-000000000012";
1739
+ readonly nordicDesignCollective: "c3000001-0000-0000-0000-000000000013";
1740
+ readonly asianDevelopmentPartners: "c3000001-0000-0000-0000-000000000014";
1741
+ readonly latinAmericanTradeAlliance: "c3000001-0000-0000-0000-000000000015";
1742
+ };
1743
+ declare const personNaturalIds: {
1744
+ readonly johnSmith: "ddd51595-13ab-4580-9db5-3b13b233ddf1";
1745
+ readonly sarahJohnson: "ddd51595-13ab-4580-9db5-3b13b233ddf2";
1746
+ readonly mikeChen: "ddd51595-13ab-4580-9db5-3b13b233ddf3";
1747
+ readonly emilyRodriguez: "ddd51595-13ab-4580-9db5-3b13b233ddf4";
1748
+ readonly davidThompson: "ddd51595-13ab-4580-9db5-3b13b233ddf5";
1749
+ readonly lisaWang: "ddd51595-13ab-4580-9db5-3b13b233ddf6";
1750
+ readonly jenniferLopez: "ddd51595-13ab-4580-9db5-3b13b233ddf7";
1751
+ readonly robertWilson: "ddd51595-13ab-4580-9db5-3b13b233ddf8";
1752
+ readonly mariaGarcia: "ddd51595-13ab-4580-9db5-3b13b233ddf9";
1753
+ readonly alexandraKim: "ddd51595-13ab-4580-9db5-3b13b233ddf10";
1754
+ readonly marcusSchmidt: "ddd51595-13ab-4580-9db5-3b13b233ddf11";
1755
+ readonly fatimaAlZahra: "ddd51595-13ab-4580-9db5-3b13b233ddf12";
1756
+ readonly jamesOConnor: "ddd51595-13ab-4580-9db5-3b13b233ddf13";
1757
+ readonly yukiTanaka: "ddd51595-13ab-4580-9db5-3b13b233ddf14";
1758
+ readonly carlosRodriguez: "ddd51595-13ab-4580-9db5-3b13b233ddf15";
1759
+ readonly root: "ddd51595-13ab-4580-9db5-3b13b233ddf16";
1760
+ readonly admin: "ddd51595-13ab-4580-9db5-3b13b233ddf17";
1761
+ readonly rodJensen: "ddd51595-13ab-4580-9db5-3b13b233ddf18";
1762
+ readonly heidiThonig: "ddd51595-13ab-4580-9db5-3b13b233ddf19";
1763
+ };
1764
+ declare const personLegalIds: {
1765
+ readonly techSolutionsInc: "c3000001-0000-0000-0000-000000000001";
1766
+ readonly acmeCorporation: "c3000001-0000-0000-0000-000000000002";
1767
+ readonly globalSuppliersLtd: "c3000001-0000-0000-0000-000000000003";
1768
+ readonly pacificRimTechnologies: "c3000001-0000-0000-0000-000000000004";
1769
+ readonly europeanManufacturingConsortium: "c3000001-0000-0000-0000-000000000005";
1770
+ readonly innovativeSoftwareSolutions: "c3000001-0000-0000-0000-000000000006";
1771
+ readonly globalLogisticsPartners: "c3000001-0000-0000-0000-000000000007";
1772
+ readonly sustainableEnergyCorpLtd: "c3000001-0000-0000-0000-000000000008";
1773
+ readonly digitalMarketingAgencyGroup: "c3000001-0000-0000-0000-000000000009";
1774
+ readonly premiumConsultingServices: "c3000001-0000-0000-0000-000000000010";
1775
+ readonly middleEastInvestmentGroup: "c3000001-0000-0000-0000-000000000011";
1776
+ readonly australianInnovationHub: "c3000001-0000-0000-0000-000000000012";
1777
+ readonly nordicDesignCollective: "c3000001-0000-0000-0000-000000000013";
1778
+ readonly asianDevelopmentPartners: "c3000001-0000-0000-0000-000000000014";
1779
+ readonly latinAmericanTradeAlliance: "c3000001-0000-0000-0000-000000000015";
1780
+ };
1781
+ declare const personMock: PersonMockDto[];
1782
+
1783
+ type PersonIdentifierTypeMockDto = AXMPersonCorePersonIdentifierTypeEntityModel;
1784
+ declare const personIdentifierTypeMock: PersonIdentifierTypeMockDto[];
1785
+
1786
+ interface TaskType {
1787
+ id: string;
1788
+ name: string;
1789
+ title: string;
1790
+ description: string;
1791
+ icon: string;
1792
+ color: string;
1793
+ isActive: boolean;
1794
+ order: number;
1795
+ features: string[];
1796
+ workflowSteps: string[];
1797
+ estimatedHours: number;
1798
+ priority: string;
1799
+ category: string;
1800
+ }
1801
+ declare const TASK_TYPES: TaskType[];
1802
+ interface TaskStatus {
1803
+ id: string;
1804
+ taskTypeId: string;
1805
+ name: string;
1806
+ title: string;
1807
+ description: string;
1808
+ color: string;
1809
+ icon: string;
1810
+ isInitial: boolean;
1811
+ isFinal: boolean;
1812
+ order: number;
1813
+ nextStatuses: string[];
1814
+ isActive: boolean;
1815
+ }
1816
+ declare const TASK_STATUSES: TaskStatus[];
1817
+ interface Task {
1818
+ id: string;
1819
+ title: string;
1820
+ description: string;
1821
+ taskTypeId: string;
1822
+ taskStatusId: string;
1823
+ priority: string;
1824
+ estimatedHours: number;
1825
+ actualHours: number;
1826
+ startDate: Date;
1827
+ dueDate: Date;
1828
+ completedDate?: Date;
1829
+ assignedToUserId: string;
1830
+ createdByUserId: string;
1831
+ tags: string[];
1832
+ progress: number;
1833
+ isActive: boolean;
1834
+ }
1835
+ declare const TASKS: Task[];
1836
+ interface TaskTemplate {
1837
+ id: string;
1838
+ name: string;
1839
+ title: string;
1840
+ description: string;
1841
+ taskTypeId: string;
1842
+ templateData: {
1843
+ title: string;
1844
+ description: string;
1845
+ estimatedHours: number;
1846
+ priority: string;
1847
+ tags: string[];
1848
+ checklistItems: Array<{
1849
+ title: string;
1850
+ description?: string;
1851
+ order: number;
1852
+ }>;
1853
+ };
1854
+ isPublic: boolean;
1855
+ createdBy: string;
1856
+ }
1857
+ declare const TASK_TEMPLATES: TaskTemplate[];
1858
+
1859
+ /**
1860
+ * Bookmark entity for IndexedDB storage.
1861
+ * Aligns with ERD: BOOKMARK table structure.
1862
+ */
1863
+ interface AXCBookmarkEntity {
1864
+ id: string;
1865
+ instanceId: string;
1866
+ activityId: string;
1867
+ type: string;
1868
+ hash: string;
1869
+ payloadJson: string;
1870
+ isConsumed: boolean;
1871
+ createdAt: string;
1872
+ }
1873
+ /**
1874
+ * Dexie database for workflow instances and bookmarks.
1875
+ * Aligns with ERD structure: WORKFLOW_INSTANCE + BOOKMARK tables.
1876
+ */
1877
+ declare class AXCWorkflowExecutionDB extends Dexie {
1878
+ /**
1879
+ * Table for workflow instances.
1880
+ * Uses id as primary key.
1881
+ * Aligns with WORKFLOW_INSTANCE table in ERD.
1882
+ */
1883
+ instances: Table<AXPWorkflowInstance, string>;
1884
+ /**
1885
+ * Table for workflow bookmarks.
1886
+ * Aligns with BOOKMARK table in ERD.
1887
+ */
1888
+ bookmarks: Table<AXCBookmarkEntity, string>;
1889
+ constructor();
1890
+ }
1891
+ /**
1892
+ * Singleton instance of workflow execution database.
1893
+ */
1894
+ declare const axWorkflowExecutionDB: AXCWorkflowExecutionDB;
1895
+
1896
+ declare const AXC_WORKFLOW_EXECUTION_STORE: InjectionToken<AXCWorkflowExecutionStore>;
1897
+ /**
1898
+ * Abstraction for workflow instance and bookmark persistence.
1899
+ * Implementations: Dexie (IndexedDB) or Firestore.
1900
+ */
1901
+ interface AXCWorkflowExecutionStore {
1902
+ addInstance(instance: AXPWorkflowInstance): Promise<void>;
1903
+ getInstance(instanceId: string): Promise<AXPWorkflowInstance | null>;
1904
+ updateInstance(instance: AXPWorkflowInstance): Promise<void>;
1905
+ putInstance(instance: AXPWorkflowInstance): Promise<void>;
1906
+ getInstancesBySubStatus(subStatus: string): Promise<AXPWorkflowInstance[]>;
1907
+ addBookmark(bookmark: AXCBookmarkEntity): Promise<void>;
1908
+ updateBookmark(bookmark: AXCBookmarkEntity): Promise<void>;
1909
+ getBookmarksByInstanceAndActivity(instanceId: string, activityId: string, onlyActive: boolean): Promise<AXCBookmarkEntity[]>;
1910
+ getActiveBookmarks(instanceId: string): Promise<AXCBookmarkEntity[]>;
1911
+ }
1912
+
1913
+ declare class AXCWorkflowExecutionStoreDexie implements AXCWorkflowExecutionStore {
1914
+ private readonly db;
1915
+ addInstance(instance: AXPWorkflowInstance): Promise<void>;
1916
+ getInstance(instanceId: string): Promise<AXPWorkflowInstance | null>;
1917
+ updateInstance(instance: AXPWorkflowInstance): Promise<void>;
1918
+ putInstance(instance: AXPWorkflowInstance): Promise<void>;
1919
+ getInstancesBySubStatus(subStatus: string): Promise<AXPWorkflowInstance[]>;
1920
+ addBookmark(bookmark: AXCBookmarkEntity): Promise<void>;
1921
+ updateBookmark(bookmark: AXCBookmarkEntity): Promise<void>;
1922
+ getBookmarksByInstanceAndActivity(instanceId: string, activityId: string, onlyActive: boolean): Promise<AXCBookmarkEntity[]>;
1923
+ getActiveBookmarks(instanceId: string): Promise<AXCBookmarkEntity[]>;
1924
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowExecutionStoreDexie, never>;
1925
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowExecutionStoreDexie>;
1926
+ }
1927
+
1928
+ declare class AXCWorkflowExecutionStoreFirestore implements AXCWorkflowExecutionStore {
1929
+ private readonly db;
1930
+ constructor(db: Firestore);
1931
+ addInstance(instance: AXPWorkflowInstance): Promise<void>;
1932
+ getInstance(instanceId: string): Promise<AXPWorkflowInstance | null>;
1933
+ updateInstance(instance: AXPWorkflowInstance): Promise<void>;
1934
+ putInstance(instance: AXPWorkflowInstance): Promise<void>;
1935
+ getInstancesBySubStatus(subStatus: string): Promise<AXPWorkflowInstance[]>;
1936
+ addBookmark(bookmark: AXCBookmarkEntity): Promise<void>;
1937
+ updateBookmark(bookmark: AXCBookmarkEntity): Promise<void>;
1938
+ getBookmarksByInstanceAndActivity(instanceId: string, activityId: string, onlyActive: boolean): Promise<AXCBookmarkEntity[]>;
1939
+ getActiveBookmarks(instanceId: string): Promise<AXCBookmarkEntity[]>;
1940
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowExecutionStoreFirestore, never>;
1941
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowExecutionStoreFirestore>;
1942
+ }
1943
+
1944
+ /**
1945
+ * Mock implementation of AXPWorkflowEngine.
1946
+ *
1947
+ * Uses IndexedDB (via Dexie) to store workflow instance states.
1948
+ *
1949
+ * @example
1950
+ * ```typescript
1951
+ * // In module providers
1952
+ * {
1953
+ * provide: AXP_WORKFLOW_ENGINE,
1954
+ * useClass: AXCWorkflowEngine,
1955
+ * }
1956
+ * ```
1957
+ */
1958
+ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
1959
+ private readonly store;
1960
+ private readonly commandService;
1961
+ private readonly entityStorageService;
1962
+ private readonly activityDefinitionService;
1963
+ private readonly workflowProviders;
1964
+ private readonly expressionScopeService;
1965
+ private readonly expressionEvaluator;
1966
+ /**
1967
+ * Get workflow definition by name using workflow providers.
1968
+ * Falls back to entity storage query by name if providers fail.
1969
+ *
1970
+ * [AXCWorkflowRuntimeService] Uses workflow providers for consistency with Workflow Management UI.
1971
+ */
1972
+ private getDefinition;
1973
+ /**
1974
+ * Secure task token storage.
1975
+ * Key: token (UUID)
1976
+ * Value: { instanceId, activityId, expiresAt }
1977
+ */
1978
+ private taskTokens;
1979
+ /**
1980
+ * Token expiration time: 30 minutes.
1981
+ * Tasks in task board (human-task) may wait days; resume is allowed via bookmark fallback when token is expired.
1982
+ */
1983
+ private readonly TOKEN_EXPIRATION_MS;
1984
+ /**
1985
+ * Generate secure, non-guessable task token (UUID).
1986
+ */
1987
+ private generateTaskToken;
1988
+ /**
1989
+ * Validate task token.
1990
+ * Returns true if token exists, not expired, and matches instanceId + activityId.
1991
+ */
1992
+ private validateTaskToken;
1993
+ /**
1994
+ * Allow resume when token is missing/expired but instance is suspended and has an active bookmark for this step.
1995
+ * Used for task board tasks that may wait days (token is in-memory and expires after 30 min).
1996
+ */
1997
+ private canResumeByBookmark;
1998
+ /**
1999
+ * Remove task token after completion to prevent replay.
2000
+ */
2001
+ private removeTaskToken;
2002
+ /**
2003
+ * Cleanup expired tokens (lightweight).
2004
+ */
2005
+ private cleanupExpiredTokens;
2006
+ /**
2007
+ * Start a new workflow instance.
2008
+ * Creates a workflow instance and stores it in IndexedDB.
2009
+ */
2010
+ start(request: AXPStartWorkflowRequest): Promise<AXPStartWorkflowResponse>;
2011
+ /**
2012
+ * Find activity in Graph by ID.
2013
+ */
2014
+ private findActivityInGraph;
2015
+ /**
2016
+ * Default outcome used when the requested outcome is not in the allowed list (standard scenario).
2017
+ */
2018
+ private static readonly DEFAULT_UNMATCHED_OUTCOME;
2019
+ /**
2020
+ * Resolve allowed outcomes for the current activity from the workflow definition.
2021
+ * - First: use outgoing connection ports from the workflow graph (so workflow-defined ports like 'Submitted'/'Cancelled' are accepted).
2022
+ * - For human-task: parse activity instance inputs.actions (prefix/suffix) and use action names as outcomes.
2023
+ * - Otherwise: use activity definition outcomes or ['Done'].
2024
+ */
2025
+ private getActivityAllowedOutcomes;
2026
+ /**
2027
+ * Normalize outcome: if it is in the allowed list, return as-is; otherwise use standard fallback and log.
2028
+ */
2029
+ private normalizeOutcome;
2030
+ /**
2031
+ * Normalize value to a plain object for use as scope.outputs.
2032
+ * Used when building expression scope so that outputs.* (e.g. outputs.result, outputs.action) is available.
2033
+ */
2034
+ private ensureOutputsForScope;
2035
+ /**
2036
+ * Resume a suspended workflow instance.
2037
+ *
2038
+ * After frontend completes its task:
2039
+ * 1. Validates taskToken (secure, non-guessable)
2040
+ * 2. Verifies resumed activity matches currentStepId/bookmark
2041
+ * 3. Marks related bookmark as consumed
2042
+ * 4. Applies frontend outputs into workflow state
2043
+ * 5. Traverses to next activity based on outcomes
2044
+ * 6. Executes ALL backend activities until hitting frontend activity or completion
2045
+ * 7. Returns either pendingTask (with new secure token) or completed status
2046
+ */
2047
+ resume(request: AXPResumeWorkflowRequest): Promise<AXPResumeWorkflowResponse>;
2048
+ /**
2049
+ * Get current workflow execution state.
2050
+ */
2051
+ getState(request: AXPGetWorkflowStateRequest): Promise<AXPWorkflowInstanceState>;
2052
+ /**
2053
+ * Cache for activity definitions to avoid repeated queries.
2054
+ */
2055
+ private activityDefinitionCache;
2056
+ /**
2057
+ * Cache TTL: 5 minutes
2058
+ */
2059
+ private readonly CACHE_TTL_MS;
2060
+ /**
2061
+ * Determine execution mode for an activity (async).
2062
+ *
2063
+ * Priority (highest to lowest):
2064
+ * 1. Activity instance's executionMode (from AXPActivity in workflow definition)
2065
+ * 2. ActivityDefinition's executionMode (from ActivityDefinitionService)
2066
+ * 3. Default: 'frontend'
2067
+ *
2068
+ * @param activityType - Activity type (e.g., 'workflow-activity:show-toast')
2069
+ * @param activity - Activity from workflow definition (AXPActivity)
2070
+ * @returns Promise of execution mode: 'frontend', 'backend', or 'both'
2071
+ */
2072
+ private determineExecutionMode;
2073
+ /**
2074
+ * Create a task from a workflow activity.
2075
+ * Inspired by Temporal's Activity Task and Elsa's Bookmark pattern.
2076
+ * Uses same expression scope (inputs, variables, outputs, context.eval) as backend execution.
2077
+ */
2078
+ private createTaskFromActivity;
2079
+ /**
2080
+ * Build variables table for entity: only variables defined in workflow definition (name, title, value).
2081
+ */
2082
+ private computeWorkflowVariablesTable;
2083
+ /**
2084
+ * Compute overview display fields for entity model (statusDisplay, step progress, etc.).
2085
+ */
2086
+ private computeOverviewDisplayFields;
2087
+ /**
2088
+ * Compute runtime details for task board style overview fields.
2089
+ */
2090
+ private computeRuntimeDetails;
2091
+ /**
2092
+ * Resolve current step from active bookmark first, then running context.
2093
+ */
2094
+ private resolveCurrentStepId;
2095
+ /**
2096
+ * Resolve friendly activity title using payload/title inputs and fallback label.
2097
+ */
2098
+ private resolveActivityTitle;
2099
+ /**
2100
+ * Resolve next activity title from workflow graph and known outcome.
2101
+ */
2102
+ private resolveNextActivityTitle;
2103
+ /**
2104
+ * Build current assignees display from bookmark payload.
2105
+ */
2106
+ private resolveCurrentAssignees;
2107
+ /**
2108
+ * Parse bookmark payload safely.
2109
+ */
2110
+ private parseBookmarkPayloadJson;
2111
+ /**
2112
+ * Convert technical identifier to readable title-case label.
2113
+ */
2114
+ private formatReadableLabel;
2115
+ /**
2116
+ * Build a user-friendly task board status from workflow status and sub-status.
2117
+ * Returns plain English labels instead of translation keys.
2118
+ */
2119
+ private getWorkflowStatusDisplay;
2120
+ /**
2121
+ * Save workflow instance to entity service for entity-based access.
2122
+ */
2123
+ private saveInstanceToEntityService;
2124
+ /**
2125
+ * Update workflow instance in entity service.
2126
+ * Uses upsert pattern: try update first, if fails then insert.
2127
+ */
2128
+ private updateInstanceInEntityService;
2129
+ /**
2130
+ * Execute backend activities locally using CommandBus.
2131
+ *
2132
+ * Backend activities are registered as Commands and executed via CommandService.
2133
+ * Uses WorkflowExpressionScopeService + AXPExpressionEvaluatorService for expression
2134
+ * evaluation (inputs, variables, outputs, context.eval) so backend activities get the
2135
+ * same expression handling as the platform ActivityExecutor.
2136
+ */
2137
+ private executeBackendActivityLocally;
2138
+ /**
2139
+ * Build variable updates from activity output using activity's outputToVariables (BPMN-style: activity → variable).
2140
+ * For each entry in activity.outputToVariables, sets variables[variableName] = output[outputPath].
2141
+ */
2142
+ private getVariableUpdatesFromOutput;
2143
+ /**
2144
+ * Normalize user/role id field to array for bookmark payload (task board expects array).
2145
+ * Expression may evaluate to single string (e.g. {{ variables.managerId }}) or already array.
2146
+ */
2147
+ private normalizeUserIds;
2148
+ /**
2149
+ * Set variable activity - stores value(s) in workflow state.
2150
+ * Supports single variable (variableName + value) or multiple (variables: [{ variableName, value }, ...]).
2151
+ */
2152
+ private executeSetVariable;
2153
+ /**
2154
+ * Execute HTTP request - makes real HTTP call.
2155
+ * Supports different HTTP methods and handles timeouts.
2156
+ */
2157
+ private executeHttpRequest;
2158
+ /**
2159
+ * Create a bookmark for a workflow instance.
2160
+ * Aligns with ERD: BOOKMARK table structure.
2161
+ *
2162
+ * @param instanceId - Workflow instance ID
2163
+ * @param activityId - Activity ID where bookmark is created
2164
+ * @param type - Bookmark type (e.g., 'user-task', 'event', 'timer')
2165
+ * @param payload - Bookmark payload data
2166
+ * @returns Bookmark ID
2167
+ */
2168
+ private createBookmark;
2169
+ /**
2170
+ * Consume (mark as consumed) a bookmark for a workflow instance.
2171
+ *
2172
+ * @param instanceId - Workflow instance ID
2173
+ * @param activityId - Activity ID of the bookmark to consume
2174
+ */
2175
+ private consumeBookmark;
2176
+ /**
2177
+ * Get active bookmarks for a workflow instance.
2178
+ *
2179
+ * @param instanceId - Workflow instance ID
2180
+ * @returns Array of active (non-consumed) bookmarks
2181
+ */
2182
+ private getActiveBookmarks;
2183
+ /**
2184
+ * Convert workflow instance to instance state.
2185
+ *
2186
+ * Aligns with ERD structure:
2187
+ * - WORKFLOW_INSTANCE: header fields (status, subStatus, timestamps)
2188
+ * - WORKFLOW_INSTANCE_STATE: heavy state (input, output, properties, stateJson)
2189
+ * - BOOKMARK: separate table (used to derive currentStepId)
2190
+ */
2191
+ private instanceToInstanceState;
2192
+ /**
2193
+ * Update instance state in instance and save to IndexedDB.
2194
+ *
2195
+ * Aligns with ERD structure:
2196
+ * - WORKFLOW_INSTANCE: header fields (status, subStatus, timestamps, correlationId)
2197
+ * - WORKFLOW_INSTANCE_STATE: heavy state (input, output, properties, stateJson)
2198
+ *
2199
+ * Handles status transitions correctly:
2200
+ * - running → suspended (when frontend activity encountered)
2201
+ * - suspended → running → completed (when workflow finishes)
2202
+ * - any → error (on errors)
2203
+ */
2204
+ private updateInstanceFromState;
2205
+ /**
2206
+ * Get workflow instance from IndexedDB.
2207
+ */
2208
+ private getInstance;
2209
+ /**
2210
+ * Update workflow instance in store.
2211
+ */
2212
+ private updateInstance;
2213
+ /**
2214
+ * Complete a frontend activity and continue workflow execution.
2215
+ *
2216
+ * This method is called when a frontend activity (ui-activity) completes execution.
2217
+ * It applies the frontend output to workflow state, finds the next activity based on outcome,
2218
+ * and executes all backend activities until reaching the next frontend activity or completion.
2219
+ *
2220
+ * Flow:
2221
+ * 1. Apply frontend output to workflow state
2222
+ * 2. Find next activity based on outcome from connections
2223
+ * 3. Execute ALL backend activities until hitting frontend activity or completion
2224
+ * 4. Return either nextTask (with new secure token) or completed status
2225
+ *
2226
+ * @param request - Front activity completion request with instanceId, activityNode, output, and outcome
2227
+ * @returns Response with nextTask (if frontend activity) or completion status
2228
+ */
2229
+ frontActivtyComplete(request: AXPFrontActivityCompleteRequest): Promise<AXPFrontActivityCompleteResponse>;
2230
+ /**
2231
+ * Cleans up stale UI activities (form/popup) when user refreshed without submitting.
2232
+ * - Suspended instances with non-human-task bookmark → resume with outcome 'cancel'.
2233
+ * - Running instances with non-human-task bookmark (e.g. rejectionReasonDialog) → frontActivtyComplete with outcome 'cancel'.
2234
+ * So e.g. leave request: manager clicks Reject, dialog opens, user refreshes → dialog is "cancelled" and workflow goes back to managerConfirm (task board).
2235
+ */
2236
+ resumeStaleNonHumanTaskSuspensions(): Promise<void>;
2237
+ private parseBookmarkPayload;
2238
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowEngine, never>;
2239
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowEngine>;
2240
+ }
2241
+
2242
+ /**
2243
+ * Mock workflow definitions for testing and demonstration.
2244
+ * Used by workflow-definition provider and entity list.
2245
+ */
2246
+ declare const workflowDefinitionMock: AXPWorkflowDefinition[];
2247
+ declare const workflowDefinitionIds: {
2248
+ createLeaveRequest: string;
2249
+ documentReview: string;
2250
+ fillQuestionnaireForm: string;
2251
+ };
2252
+ /**
2253
+ * Mock workflow definition entities for the entity list and seeder.
2254
+ * Each workflow is attached to its category (Staff vs Documents).
2255
+ */
2256
+ declare const workflowDefinitionEntityMock: AXMWorkflowManagementWorkflowDefinitionEntityModel[];
2257
+
2258
+ declare class AXCWorkflowDefinitionDataSeeder implements AXPDataSeeder {
2259
+ private readonly storageService;
2260
+ seed(): Promise<void>;
2261
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowDefinitionDataSeeder, never>;
2262
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowDefinitionDataSeeder>;
2263
+ }
2264
+
2265
+ /**
2266
+ * Activity categories for mock.
2267
+ * Same structure as workflow-category: only categories that have activities.
2268
+ * Only activities with a handler (backend command or frontend activity) are listed in activity-definition;
2269
+ * they are all under Command.
2270
+ */
2271
+ /**
2272
+ * Same structure as WORKFLOW_CATEGORIES: id, title, description, parentId, childrenCount, itemsCount.
2273
+ */
2274
+ declare const ACTIVITY_CATEGORIES: AXPActivityCategory[];
2275
+ /** @deprecated Use ACTIVITY_CATEGORIES. Kept for backward compatibility (seeder, etc.). */
2276
+ declare const activityCategoryMocks: AXPActivityCategory[];
2277
+
2278
+ declare class AXCActivityCategorySeeder implements AXPDataSeeder {
2279
+ private readonly storageService;
2280
+ seed(): Promise<void>;
2281
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityCategorySeeder, never>;
2282
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityCategorySeeder>;
2283
+ }
2284
+
2285
+ /** Raw definitions (category already set). */
2286
+ declare const ACTIVITY_DEFINITIONS: AXPActivityDefinition[];
2287
+ /**
2288
+ * Entity mock for storage/seeder – same pattern as workflow-definition (id + category per record).
2289
+ * Seeded as WorkflowManagement.ActivityDefinition; provider getList(categoryId) filters by category.
2290
+ */
2291
+ declare const activityDefinitionEntityMock: {
2292
+ id: string;
2293
+ name: string;
2294
+ type: string;
2295
+ title?: string;
2296
+ description?: string;
2297
+ category?: string;
2298
+ icon?: string;
2299
+ executionMode?: "frontend" | "backend" | "both";
2300
+ taskType?: _acorex_platform_workflow.AXPTaskType;
2301
+ inputs?: _acorex_platform_workflow.AXPWorkflowInputDescriptor[];
2302
+ outputs?: _acorex_platform_workflow.AXPWorkflowOutputDescriptor[];
2303
+ outcomes?: string[];
2304
+ isBrowsable?: boolean;
2305
+ isContainer?: boolean;
2306
+ }[];
2307
+
2308
+ declare class AXCActivityDefinitionSeeder implements AXPDataSeeder {
2309
+ private readonly storageService;
2310
+ seed(): Promise<void>;
2311
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCActivityDefinitionSeeder, never>;
2312
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCActivityDefinitionSeeder>;
2313
+ }
2314
+
2315
+ /**
2316
+ * Workflow categories for mock.
2317
+ * Staff: leave request and HR workflows. Documents: document review (EDMS-style).
2318
+ */
2319
+ declare const WORKFLOW_CATEGORIES: AXPWorkflowCategory[];
2320
+
2321
+ /**
2322
+ * Seeds workflow categories into entity storage.
2323
+ * Module’s AXMWorkflowCategoryProvider reads from this key (same pattern as report categories).
2324
+ */
2325
+ declare class AXCWorkflowCategorySeeder implements AXPDataSeeder {
2326
+ private readonly storageService;
2327
+ seed(): Promise<void>;
2328
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowCategorySeeder, never>;
2329
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowCategorySeeder>;
2330
+ }
2331
+
2332
+ type extraFields$1 = {
2333
+ recievedDate: Date;
2334
+ };
2335
+ declare class AXPTaskBoardProjectManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields$1> {
2336
+ private calendarService;
2337
+ private list;
2338
+ get name(): string;
2339
+ get title(): string;
2340
+ get icon(): string;
2341
+ /**
2342
+ * Retrieves a list of tasks, applying all provided filters and pagination.
2343
+ * @param options Filtering and pagination options.
2344
+ * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
2345
+ */
2346
+ getTasks(options?: AXPTaskFilter): Promise<{
2347
+ items: AXPTask<extraFields$1>[];
2348
+ total: number;
2349
+ }>;
2350
+ /**
2351
+ * Updates one or more tasks in the provider's list.
2352
+ * This method finds each task by its ID and applies the new properties from the input.
2353
+ * It also automatically recalculates the `allDay` flag based on the task's duration.
2354
+ * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
2355
+ * @returns An array of the tasks that were successfully updated.
2356
+ */
2357
+ updateTasks(tasksToUpdate: AXPTask<extraFields$1>[]): Promise<AXPTask<extraFields$1>[]>;
2358
+ private isDurationMoreThan24Hours;
2359
+ executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
2360
+ getActions(task?: AXPTask<extraFields$1>): Promise<AXPActionMenuItem[]>;
2361
+ getExtraFields(): Promise<AXPExtraField[]>;
2362
+ getStatuses(): Promise<AXPTaskStatus[]>;
2363
+ }
2364
+
2365
+ type extraFields = {
2366
+ recievedDate: Date;
2367
+ };
2368
+ declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields> {
2369
+ private calendarService;
2370
+ private list;
2371
+ get name(): string;
2372
+ get title(): string;
2373
+ get icon(): string;
2374
+ /**
2375
+ * Retrieves a list of tasks, applying all provided filters and pagination.
2376
+ * @param options Filtering and pagination options.
2377
+ * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
2378
+ */
2379
+ getTasks(options?: AXPTaskFilter): Promise<{
2380
+ items: AXPTask<extraFields>[];
2381
+ total: number;
2382
+ }>;
2383
+ /**
2384
+ * Updates one or more tasks in the provider's list.
2385
+ * This method finds each task by its ID and applies the new properties from the input.
2386
+ * It also automatically recalculates the `allDay` flag based on the task's duration.
2387
+ * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
2388
+ * @returns An array of the tasks that were successfully updated.
2389
+ */
2390
+ updateTasks(tasksToUpdate: AXPTask<extraFields>[]): Promise<AXPTask<extraFields>[]>;
2391
+ private isDurationMoreThan24Hours;
2392
+ executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
2393
+ getActions(task?: AXPTask<extraFields>): Promise<AXPActionMenuItem[]>;
2394
+ getExtraFields(): Promise<AXPExtraField[]>;
2395
+ getStatuses(): Promise<AXPTaskStatus[]>;
2396
+ }
2397
+
2398
+ declare class AXMWorkflowDashboardChartDataSourceDefinition implements AXPDataSourceDefinitionProvider {
2399
+ private readonly colorVars500;
2400
+ private readonly pendingApprovalByAgeItems;
2401
+ private readonly workloadByProcessItems;
2402
+ private readonly slaComplianceItems;
2403
+ private readonly throughputItems;
2404
+ private pickColorVar;
2405
+ private getUniqueColorVars;
2406
+ private asRgbVar;
2407
+ private asRgbVarWithAlpha;
2408
+ private withRandomColor;
2409
+ private buildThroughputItems;
2410
+ private readonly workflowPendingApprovalByAgeDataSource;
2411
+ private readonly workflowWorkloadByProcessDataSource;
2412
+ private readonly workflowSlaComplianceDataSource;
2413
+ private readonly workflowThroughputLast8WeeksDataSource;
2414
+ items(): Promise<AXPDataSourceDefinition[]>;
2415
+ }
2416
+
2417
+ /**
2418
+ * Mock implementation of AXMChatUserApi using conversation shared storage.
2419
+ * Provides user profile, discovery, presence, blocking, and settings operations.
2420
+ */
2421
+ declare class AXCConversationMockUserApi extends AXMChatUserApi {
2422
+ getCurrentUser(): Promise<AXParticipant>;
2423
+ updateProfile(updates: AXUserProfileUpdate): Promise<AXParticipant>;
2424
+ uploadAvatar(file: File): Promise<string>;
2425
+ getUsers(filters?: AXUserSearchFilters): Promise<AXParticipant[]>;
2426
+ searchUsers(query: string): Promise<AXParticipant[]>;
2427
+ getUserById(userId: string): Promise<AXParticipant>;
2428
+ getUsersByIds(userIds: string[]): Promise<AXParticipant[]>;
2429
+ getUserPresence(userId: string): Promise<AXPresenceUpdate>;
2430
+ updatePresence(_status: AXPresenceStatus, _statusText?: string): Promise<void>;
2431
+ blockUser(_userId: string, _reason?: AXBlockReportReason): Promise<void>;
2432
+ unblockUser(_userId: string): Promise<void>;
2433
+ getBlockedUsers(): Promise<string[]>;
2434
+ reportUser(_userId: string, _reason: AXBlockReportReason): Promise<void>;
2435
+ getUserSettings(): Promise<Record<string, unknown>>;
2436
+ updateUserSettings(_settings: Record<string, unknown>): Promise<void>;
2437
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockUserApi, never>;
2438
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockUserApi>;
2439
+ }
2440
+
2441
+ /**
2442
+ * Mock implementation of AXMChatRealtimeApi using conversation shared storage.
2443
+ * Provides connection management and real-time event subscriptions.
2444
+ */
2445
+ declare class AXCConversationMockRealtimeApi extends AXMChatRealtimeApi {
2446
+ readonly connectionStatus$: Observable<AXConnectionStatus>;
2447
+ connect(_options?: AXConnectionOptions): Promise<void>;
2448
+ disconnect(): Promise<void>;
2449
+ isConnected(): boolean;
2450
+ reconnect(): Promise<void>;
2451
+ subscribeToConnectionEvents(): Observable<AXConnectionEvent>;
2452
+ subscribeToMessages(conversationId: string): Observable<AXMessage>;
2453
+ subscribeToMessageUpdates(_conversationId?: string): Observable<AXMessage>;
2454
+ subscribeToMessageDeletions(_conversationId?: string): Observable<string>;
2455
+ subscribeToMessageReactions(_conversationId?: string): Observable<AXMessage>;
2456
+ subscribeToConversationUpdates(): Observable<AXConversation>;
2457
+ subscribeToConversationCreated(): Observable<AXConversation>;
2458
+ subscribeToConversationDeleted(): Observable<string>;
2459
+ subscribeToTypingIndicators(conversationId: string): Observable<AXTypingIndicator>;
2460
+ subscribeToPresenceUpdates(_userIds?: string[]): Observable<AXPresenceUpdate>;
2461
+ subscribeToReadReceipts(_conversationId?: string): Observable<{
2462
+ messageId: string;
2463
+ userId: string;
2464
+ readAt: Date;
2465
+ }>;
2466
+ subscribeToNotifications(): Observable<AXNotificationEvent>;
2467
+ subscribeToCallEvents(): Observable<AXCallEvent>;
2468
+ subscribeToUserBlockEvents(): Observable<{
2469
+ userId: string;
2470
+ blocked: boolean;
2471
+ }>;
2472
+ subscribeToParticipantEvents(_conversationId?: string): Observable<{
2473
+ conversationId: string;
2474
+ userId: string;
2475
+ action: 'added' | 'removed';
2476
+ }>;
2477
+ subscribeToSystemEvents(): Observable<{
2478
+ type: string;
2479
+ message: string;
2480
+ data?: unknown;
2481
+ }>;
2482
+ subscribeToMessageStatusChanges(_conversationId?: string): Observable<{
2483
+ messageId: string;
2484
+ status: 'sending' | 'sent' | 'delivered' | 'read' | 'failed';
2485
+ timestamp: Date;
2486
+ }>;
2487
+ subscribeToConversationSettingsChanges(_conversationId?: string): Observable<{
2488
+ conversationId: string;
2489
+ settings: Record<string, unknown>;
2490
+ }>;
2491
+ subscribeToDraftChanges(_conversationId?: string): Observable<{
2492
+ conversationId: string;
2493
+ draft: string | null;
2494
+ }>;
2495
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockRealtimeApi, never>;
2496
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockRealtimeApi>;
2497
+ }
2498
+
2499
+ /**
2500
+ * Mock implementation of AXMChatConversationApi.
2501
+ * Manages conversations in conversation shared storage with assist peer support.
2502
+ * Assist replies are generated in {@link AXCConversationMockMessageApi}; RTL scripts in message
2503
+ * text are handled in the chat assist renderer.
2504
+ */
2505
+ declare class AXCConversationMockConversationApi extends AXMChatConversationApi {
2506
+ createConversation(data: AXConversationCreateData): Promise<AXConversation>;
2507
+ getConversation(conversationId: string): Promise<AXConversation>;
2508
+ getConversations(pagination: AXPagination, _filters?: AXConversationFilters): Promise<AXPaginatedResult<AXConversation>>;
2509
+ updateConversation(conversationId: string, updates: AXConversationUpdateData): Promise<AXConversation>;
2510
+ deleteConversation(conversationId: string): Promise<boolean>;
2511
+ archiveConversation(conversationId: string): Promise<void>;
2512
+ unarchiveConversation(conversationId: string): Promise<void>;
2513
+ pinConversation(_conversationId: string): Promise<void>;
2514
+ unpinConversation(_conversationId: string): Promise<void>;
2515
+ markConversationAsRead(conversationId: string): Promise<void>;
2516
+ markConversationAsUnread(conversationId: string): Promise<void>;
2517
+ searchConversations(query: string): Promise<AXConversation[]>;
2518
+ filterConversations(_filters: AXConversationFilters, pagination?: AXPagination): Promise<AXPaginatedResult<AXConversation>>;
2519
+ getParticipants(conversationId: string): Promise<AXParticipant[]>;
2520
+ addParticipants(conversationId: string, _userIds: string[]): Promise<AXConversation>;
2521
+ removeParticipant(conversationId: string, _userId: string): Promise<AXConversation>;
2522
+ leaveConversation(_conversationId: string): Promise<void>;
2523
+ updateParticipant(conversationId: string, _update: AXParticipantUpdate): Promise<AXConversation>;
2524
+ getConversationSettings(conversationId: string): Promise<AXConversationSettingsUpdate>;
2525
+ updateConversationSettings(_conversationId: string, _settings: AXConversationSettingsUpdate): Promise<void>;
2526
+ muteConversation(_conversationId: string, _duration?: number): Promise<void>;
2527
+ unmuteConversation(_conversationId: string): Promise<void>;
2528
+ uploadConversationAvatar(_conversationId: string, file: File): Promise<string>;
2529
+ getConversationMedia(_conversationId: string, _pagination?: AXPagination): Promise<AXPaginatedResult<unknown>>;
2530
+ addConversationTags(_conversationId: string, _tags: string[]): Promise<void>;
2531
+ removeConversationTags(_conversationId: string, _tags: string[]): Promise<void>;
2532
+ getConversationTags(_conversationId: string): Promise<string[]>;
2533
+ getConversationPermissions(_conversationId: string): Promise<Record<string, boolean>>;
2534
+ updateConversationPermissions(_conversationId: string, _permissions: Record<string, boolean>): Promise<void>;
2535
+ saveDraft(_conversationId: string, _draft: string): Promise<void>;
2536
+ getDraft(_conversationId: string): Promise<string | null>;
2537
+ clearDraft(_conversationId: string): Promise<void>;
2538
+ /**
2539
+ * Ensures synthetic assist-{assistId} participants exist in shared storage
2540
+ * and IndexedDB for private chats with assist metadata.
2541
+ */
2542
+ private ensureAssistPeerParticipants;
2543
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockConversationApi, never>;
2544
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockConversationApi>;
2545
+ }
2546
+
2547
+ /**
2548
+ * Mock implementation of AXMChatMessageApi.
2549
+ * Manages messages in conversation shared storage with AI assist response generation.
2550
+ */
2551
+ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
2552
+ private readonly aiEngine;
2553
+ private readonly modelCatalog;
2554
+ private readonly aiResponder;
2555
+ private readonly toastService;
2556
+ private readonly entityService;
2557
+ private readonly notificationService;
2558
+ private readonly assistRowData;
2559
+ sendMessage(command: AXSendMessageCommand): Promise<AXMessage>;
2560
+ getMessage(messageId: string): Promise<AXMessage>;
2561
+ getMessages(conversationId: string, pagination: AXPagination): Promise<AXPaginatedResult<AXMessage>>;
2562
+ editMessage(messageId: string, payload: AXMessagePayload): Promise<AXMessage>;
2563
+ deleteMessage(messageId: string, _forEveryone?: boolean): Promise<void>;
2564
+ deleteMessages(messageIds: string[], forEveryone?: boolean): Promise<void>;
2565
+ searchMessages(conversationId: string, filters: AXMessageSearchFilters, _pagination?: AXPagination): Promise<AXPaginatedResult<AXMessage>>;
2566
+ searchAllMessages(_filters: AXMessageSearchFilters, _pagination?: AXPagination): Promise<AXPaginatedResult<AXMessage>>;
2567
+ addReaction(messageId: string, emoji: string): Promise<void>;
2568
+ removeReaction(messageId: string, emoji: string): Promise<void>;
2569
+ getAvailableReactions(): Promise<string[]>;
2570
+ markAsRead(conversationId: string, messageIds: string[]): Promise<void>;
2571
+ markAsUnread(conversationId: string): Promise<void>;
2572
+ getReadReceipts(_messageId: string): Promise<AXReadReceipt[]>;
2573
+ forwardMessage(_data: AXMessageForwardData): Promise<AXMessage[]>;
2574
+ pinMessage(_conversationId: string, _messageId: string): Promise<void>;
2575
+ unpinMessage(_conversationId: string, _messageId: string): Promise<void>;
2576
+ getPinnedMessages(_conversationId: string): Promise<AXPinnedMessage[]>;
2577
+ getMessageReplies(messageId: string, pagination?: AXPagination): Promise<AXPaginatedResult<AXMessage>>;
2578
+ getReplyCount(messageId: string): Promise<number>;
2579
+ getForwardCount(messageId: string): Promise<number>;
2580
+ sendTypingIndicator(conversationId: string): Promise<void>;
2581
+ stopTypingIndicator(conversationId: string): Promise<void>;
2582
+ uploadFile(file: File, _conversationId: string): Promise<{
2583
+ url: string;
2584
+ thumbnailUrl?: string;
2585
+ size: number;
2586
+ mimeType: string;
2587
+ metadata?: Record<string, unknown>;
2588
+ }>;
2589
+ updateMessageMetadata(_messageId: string, _metadata: Record<string, unknown>): Promise<void>;
2590
+ getMessageMetadata(_messageId: string): Promise<Record<string, unknown>>;
2591
+ updateMessageStatus(_messageId: string, _status: 'sending' | 'sent' | 'delivered' | 'read' | 'failed'): Promise<void>;
2592
+ getMessageDeliveryStatus(_messageId: string): Promise<{
2593
+ delivered: number;
2594
+ read: number;
2595
+ total: number;
2596
+ }>;
2597
+ markMessagesAsRead(_messageIds: string[]): Promise<void>;
2598
+ bulkDeleteMessages(_conversationId: string, _messageIds: string[], _forEveryone?: boolean): Promise<void>;
2599
+ exportMessages(_conversationId: string, _format: 'json' | 'csv' | 'txt'): Promise<string | Blob>;
2600
+ private storeMessage;
2601
+ private updateConversationLastMessage;
2602
+ private createNotificationForIncomingMessage;
2603
+ private markNotificationsAsReadForMessages;
2604
+ private toUserReference;
2605
+ /**
2606
+ * Generates an automatic reply from a random participant for regular
2607
+ * (non-assist) conversations using the AI responder fallback service.
2608
+ */
2609
+ private generateRegularAutoReply;
2610
+ /** Extracts a text context from a send command for AI processing. */
2611
+ private extractSendCommandContext;
2612
+ /** Builds a formatted conversation history string for AI context (last 20 messages). */
2613
+ private buildConversationHistory;
2614
+ private delay;
2615
+ private getAssistId;
2616
+ private shouldGenerateAssistConversationTitle;
2617
+ private generateAssistConversationTitle;
2618
+ private normalizeConversationTitle;
2619
+ private generateAssistResponse;
2620
+ private createPlaceholderMessage;
2621
+ private publishPlaceholderMessage;
2622
+ private emitMessageUpdate;
2623
+ private updateStreamingText;
2624
+ /** Clears nested specialist stream for one supervisor `agent:*` tool call (delegated sub-run round). */
2625
+ private resetDelegatedNestedStream;
2626
+ /** Appends streamed specialist text for a delegated agent run into that tool row (not the main bubble). */
2627
+ private appendDelegatedNestedStream;
2628
+ private pushDelegatedNestedTool;
2629
+ private completeDelegatedNestedTool;
2630
+ private addToolCall;
2631
+ private completeToolCall;
2632
+ /**
2633
+ * Builds {@link AXPAiChatMessage} lines for the assist bot renderer while streaming.
2634
+ */
2635
+ private rebuildAiTranscriptDraft;
2636
+ private finalizeMessage;
2637
+ private resolveModelEntityId;
2638
+ private buildAiMessages;
2639
+ private isStreamingPlaceholder;
2640
+ private extractLatestAssistantContent;
2641
+ private extractMessageText;
2642
+ private getAssistParticipantId;
2643
+ private setConversationTyping;
2644
+ private buildUserFriendlyError;
2645
+ /**
2646
+ * Parses provider errors where JSON is wrapped by a text prefix,
2647
+ * e.g. "Gemini API error 429: { ... }".
2648
+ */
2649
+ private extractApiErrorMessage;
2650
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockMessageApi, never>;
2651
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockMessageApi>;
2652
+ }
2653
+
2654
+ declare const participantMock: AXParticipant[];
2655
+
2656
+ declare const chatMock: AXConversation[];
2657
+
2658
+ declare const chatMessageMock: AXMessage[];
2659
+ /**
2660
+ * Mapping of last message IDs per conversation, used by the chat seeder
2661
+ * to set `lastMessage` references on conversations after messages are seeded.
2662
+ */
2663
+ declare const CHAT_LAST_MESSAGE_IDS: Record<string, string>;
2664
+
2665
+ /**
2666
+ * Consolidated seeder for all conversation2 component data.
2667
+ * Seeds participants, conversations, and messages into conversationSharedStorage
2668
+ * and IndexedDB, then starts presence and message simulations.
2669
+ */
2670
+ declare class AXCConversationDataSeeder implements AXPDataSeeder {
2671
+ private readonly notificationService;
2672
+ seed(): Promise<void>;
2673
+ private seedParticipants;
2674
+ private seedConversations;
2675
+ private seedMessages;
2676
+ /** Sets `lastMessage` on each conversation using the mapping from mock data. */
2677
+ private linkLastMessages;
2678
+ /** Randomly toggles participant online/offline/away status every 20-40 seconds. */
2679
+ private startPresenceSimulation;
2680
+ /** Sends random messages from online users every 30-90 seconds with typing indicators. */
2681
+ private startMessageSimulation;
2682
+ private isAssistConversation;
2683
+ private createNotificationForIncomingMessage;
2684
+ private toUserReference;
2685
+ private extractMessageText;
2686
+ private delay;
2687
+ /** Returns a contextual random message template based on conversation type. */
2688
+ private getMessageTemplate;
2689
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationDataSeeder, never>;
2690
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationDataSeeder>;
2691
+ }
2692
+
2693
+ declare class AXPMessageDataSeeder implements AXPDataSeeder {
2694
+ private storageService;
2695
+ private chatService;
2696
+ private chatRealtimeService;
2697
+ private commentService;
2698
+ private commentRealtimeService;
2699
+ private usersService;
2700
+ private sessionService;
2701
+ private userNameCache;
2702
+ private getUserName;
2703
+ seed(): Promise<void>;
2704
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
2705
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
2706
+ }
2707
+
2708
+ declare class AXPRoomDataSeeder implements AXPDataSeeder {
2709
+ private storageService;
2710
+ seed(): Promise<void>;
2711
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
2712
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
2713
+ }
2714
+
2715
+ declare class AXMFormDataSourcesProvider implements AXPDataSourceDefinitionProvider {
2716
+ private yesNoOptions;
2717
+ private yesNoNaOptions;
2718
+ private booleanOptions;
2719
+ private weatherConditions;
2720
+ private visibilityLevels;
2721
+ private workAreas;
2722
+ private departments;
2723
+ private permitTypes;
2724
+ private approvalStatus;
2725
+ private workCompletionStatus;
2726
+ private trainingStatus;
2727
+ private certificationStatus;
2728
+ private priorityLevels;
2729
+ private incidentTypes;
2730
+ private severityLevels;
2731
+ items(): Promise<AXPDataSourceDefinition[]>;
2732
+ }
2733
+
2734
+ interface ShowMetaDataFormPopupMockInput extends ShowMetaDataFormPopupInput {
2735
+ /** Manual groups for meta-data-form-editor (bypasses resolveGroups) */
2736
+ groups?: AXPDynamicFormGroupDefinition[];
2737
+ /** Manual record for initial form context (bypasses findRecord) */
2738
+ data?: Record<string, unknown>;
2739
+ }
2740
+ /**
2741
+ * Sample mock override of ShowMetaDataFormPopupCommand for testing.
2742
+ * Overrides findRecord and resolveGroups to support manual data and groups
2743
+ * from input, without overriding execute.
2744
+ */
2745
+ declare class AXCMockShowMetaDataFormPopupCommand extends ShowMetaDataFormPopupCommand {
2746
+ protected findRecord(entity: string, id: string, input?: ShowMetaDataFormPopupInput): Promise<Record<string, unknown> | null>;
2747
+ protected resolveGroups(input: ShowMetaDataFormPopupInput, currentRecord: Record<string, unknown>): Promise<ResolveGroupsResult>;
2748
+ protected updateRecord(entity: string, id: string, data: Record<string, unknown>): Promise<Record<string, unknown>>;
2749
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockShowMetaDataFormPopupCommand, never>;
2750
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMockShowMetaDataFormPopupCommand>;
2751
+ }
2752
+
2753
+ declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
2754
+ private storageService;
2755
+ seed(): Promise<void>;
2756
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
2757
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
2758
+ }
2759
+
2760
+ /** Stable ids for metadata definition categories (System tree). */
2761
+ declare const METADATA_CATEGORY_IDS: {
2762
+ readonly systemRoot: "cafe1000-0001-4000-8000-000000000001";
2763
+ readonly foundation: "cafe1000-0001-4000-8000-000000000002";
2764
+ readonly flagsAndState: "cafe1000-0001-4000-8000-000000000003";
2765
+ readonly classification: "cafe1000-0001-4000-8000-000000000004";
2766
+ readonly schedulingAndValidity: "cafe1000-0001-4000-8000-000000000005";
2767
+ readonly audit: "cafe1000-0001-4000-8000-000000000006";
2768
+ readonly amountsAndOrdering: "cafe1000-0001-4000-8000-000000000007";
2769
+ readonly location: "cafe1000-0001-4000-8000-000000000008";
2770
+ readonly generalRoot: "cafe3000-0001-4000-8000-000000000010";
2771
+ readonly generalRating: "cafe3000-0001-4000-8000-000000000012";
2772
+ readonly generalText: "cafe3000-0001-4000-8000-000000000013";
2773
+ readonly generalChoiceOptions: "cafe3000-0001-4000-8000-000000000014";
2774
+ readonly generalDate: "cafe3000-0001-4000-8000-000000000015";
2775
+ };
2776
+ type MetadataCategoryMockDto = Omit<AXPCategoryEntity, 'title' | 'description'> & {
2777
+ title: AXPMultiLanguageString;
2778
+ description?: AXPMultiLanguageString;
2779
+ stateInfo?: AXPRecordStateInfo;
2780
+ };
2781
+ /**
2782
+ * References for building metadata rows (id + MLS title).
2783
+ */
2784
+ declare const METADATA_SYSTEM_CATEGORY_REFS: {
2785
+ readonly foundation: {
2786
+ readonly id: string;
2787
+ readonly title: AXPMultiLanguageString;
2788
+ };
2789
+ readonly flagsAndState: {
2790
+ readonly id: string;
2791
+ readonly title: AXPMultiLanguageString;
2792
+ };
2793
+ readonly classification: {
2794
+ readonly id: string;
2795
+ readonly title: AXPMultiLanguageString;
2796
+ };
2797
+ readonly schedulingAndValidity: {
2798
+ readonly id: string;
2799
+ readonly title: AXPMultiLanguageString;
2800
+ };
2801
+ readonly audit: {
2802
+ readonly id: string;
2803
+ readonly title: AXPMultiLanguageString;
2804
+ };
2805
+ readonly amountsAndOrdering: {
2806
+ readonly id: string;
2807
+ readonly title: AXPMultiLanguageString;
2808
+ };
2809
+ readonly location: {
2810
+ readonly id: string;
2811
+ readonly title: AXPMultiLanguageString;
2812
+ };
2813
+ };
2814
+ /**
2815
+ * General catalog categories (non-system): forms, surveys, common UX patterns.
2816
+ */
2817
+ declare const METADATA_GENERAL_CATEGORY_REFS: {
2818
+ readonly choiceOptions: {
2819
+ readonly id: string;
2820
+ readonly title: AXPMultiLanguageString;
2821
+ };
2822
+ readonly rating: {
2823
+ readonly id: string;
2824
+ readonly title: AXPMultiLanguageString;
2825
+ };
2826
+ readonly text: {
2827
+ readonly id: string;
2828
+ readonly title: AXPMultiLanguageString;
2829
+ };
2830
+ readonly date: {
2831
+ readonly id: string;
2832
+ readonly title: AXPMultiLanguageString;
2833
+ };
2834
+ };
2835
+ declare const metadataCategoryMocks: MetadataCategoryMockDto[];
2836
+
2837
+ declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
2838
+ private readonly storageService;
2839
+ seed(): Promise<void>;
2840
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataCategorySeeder, never>;
2841
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
2842
+ }
2843
+
2844
+ interface AXMTag {
2845
+ id: string;
2846
+ title: string;
2847
+ color: string;
2848
+ description?: string;
2849
+ scope: 'system' | 'tenant' | 'user';
2850
+ createdAt?: Date;
2851
+ }
2852
+ declare const TAGS_MOCK: AXMTag[];
2853
+
2854
+ declare class AXMTagDataSeeder implements AXPDataSeeder {
2855
+ private storageService;
2856
+ seed(): Promise<void>;
2857
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMTagDataSeeder, never>;
2858
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMTagDataSeeder>;
2859
+ }
2860
+
2861
+ /**
2862
+ * Creates a per-breakpoint widget layout config from the new dimensions format.
2863
+ * Each breakpoint node receives the shared widget id.
2864
+ */
2865
+ declare function createWidgetLayoutConfig(dimensions: Record<string, any> | undefined): AXMDashboardWidgetLayoutMap;
2866
+ declare function generateUserDashboard(user: (typeof mockUsers)[0]): AXMCommonDashboardEntityModel;
2867
+ declare function createDashboardForUser(dashboardName: string, userId: string, widgetTypesInput: string[]): AXMCommonDashboardEntityModel;
2868
+ declare function createAndSaveDashboardForUser(params: {
2869
+ name: string;
2870
+ userId: string;
2871
+ widgetTypes: string[];
2872
+ }, injector: Injector): Promise<string>;
2873
+ declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
2874
+
2875
+ declare class AXPDashboardDataSeeder implements AXPDataSeeder {
2876
+ private storageService;
2877
+ seed(): Promise<void>;
2878
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
2879
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
2880
+ }
2881
+
2882
+ declare class AXMDashboardChartDataSourceDefinition implements AXPDataSourceDefinitionProvider {
2883
+ private readonly barChartItems;
2884
+ private readonly donutChartItems;
2885
+ private readonly gaugeChartItems;
2886
+ private readonly lineChartItems;
2887
+ private readonly dataSources;
2888
+ private createDataSource;
2889
+ items(): Promise<AXPDataSourceDefinition[]>;
2890
+ }
2891
+
2892
+ declare const calendarMock: ({
2893
+ id: string;
2894
+ name: string;
2895
+ title: string;
2896
+ description: string;
2897
+ calendarTypeId: string;
2898
+ calendarType: {
2899
+ id: string;
2900
+ title: string;
2901
+ };
2902
+ parentId: null;
2903
+ parent: null;
2904
+ weekends: string[];
2905
+ firstDayOfWeek: string;
2906
+ workingHours: {
2907
+ start: string;
2908
+ end: string;
2909
+ breakStart: string;
2910
+ breakEnd: string;
2911
+ };
2912
+ timeZone: string;
2913
+ isTemplate: boolean;
2914
+ isActive: boolean;
2915
+ order: number;
2916
+ notes: string;
2917
+ created: {
2918
+ at: Date;
2919
+ };
2920
+ updated: {
2921
+ at: Date;
2922
+ };
2923
+ scope?: undefined;
2924
+ scopeEntityId?: undefined;
2925
+ } | {
2926
+ id: string;
2927
+ name: string;
2928
+ title: string;
2929
+ description: string;
2930
+ calendarTypeId: string;
2931
+ calendarType: {
2932
+ id: string;
2933
+ title: string;
2934
+ };
2935
+ parentId: null;
2936
+ parent: null;
2937
+ scope: string;
2938
+ scopeEntityId: null;
2939
+ weekends: string[];
2940
+ firstDayOfWeek: string;
2941
+ workingHours: {
2942
+ start: string;
2943
+ end: string;
2944
+ breakStart: string;
2945
+ breakEnd: string;
2946
+ };
2947
+ timeZone: string;
2948
+ isTemplate: boolean;
2949
+ isActive: boolean;
2950
+ order: number;
2951
+ notes: string;
2952
+ created: {
2953
+ at: Date;
2954
+ };
2955
+ updated: {
2956
+ at: Date;
2957
+ };
2958
+ } | {
2959
+ id: string;
2960
+ name: string;
2961
+ title: string;
2962
+ description: string;
2963
+ calendarTypeId: string;
2964
+ calendarType: {
2965
+ id: string;
2966
+ title: string;
2967
+ };
2968
+ parentId: null;
2969
+ parent: null;
2970
+ scope: string;
2971
+ scopeEntityId: string;
2972
+ weekends: string[];
2973
+ firstDayOfWeek: string;
2974
+ workingHours: {
2975
+ start: string;
2976
+ end: string;
2977
+ breakStart: string;
2978
+ breakEnd: string;
2979
+ };
2980
+ timeZone: string;
2981
+ isTemplate: boolean;
2982
+ isActive: boolean;
2983
+ order: number;
2984
+ notes: string;
2985
+ created: {
2986
+ at: Date;
2987
+ };
2988
+ updated: {
2989
+ at: Date;
2990
+ };
2991
+ })[];
2992
+
2993
+ declare class AXCCalendarDataSeeder implements AXPDataSeeder {
2994
+ private readonly storageService;
2995
+ seed(): Promise<void>;
2996
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarDataSeeder, never>;
2997
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarDataSeeder>;
2998
+ }
2999
+
3000
+ declare const calendarEventMock: ({
3001
+ id: string;
3002
+ calendarId: string;
3003
+ calendar: {
3004
+ id: string;
3005
+ title: string;
3006
+ };
3007
+ title: string;
3008
+ description: string;
3009
+ typeId: string;
3010
+ type: dist_libs_modules_types_acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
3011
+ date: Date;
3012
+ isRecurring: boolean;
3013
+ recurrenceRule: string;
3014
+ isActive: boolean;
3015
+ order: number;
3016
+ created: {
3017
+ at: Date;
3018
+ };
3019
+ updated: {
3020
+ at: Date;
3021
+ };
3022
+ } | {
3023
+ id: string;
3024
+ calendarId: string;
3025
+ calendar: {
3026
+ id: string;
3027
+ title: string;
3028
+ };
3029
+ title: string;
3030
+ description: string;
3031
+ typeId: string;
3032
+ type: dist_libs_modules_types_acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
3033
+ date: Date;
3034
+ isRecurring: boolean;
3035
+ recurrenceRule: null;
3036
+ isActive: boolean;
3037
+ order: number;
3038
+ created: {
3039
+ at: Date;
3040
+ };
3041
+ updated: {
3042
+ at: Date;
3043
+ };
3044
+ })[];
3045
+
3046
+ declare class AXCCalendarEventDataSeeder implements AXPDataSeeder {
3047
+ private readonly storageService;
3048
+ seed(): Promise<void>;
3049
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarEventDataSeeder, never>;
3050
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarEventDataSeeder>;
3051
+ }
3052
+
3053
+ declare const calendarEventTypeMockData: AXMCalendarManagementCalendarEventTypeEntityModel[];
3054
+
3055
+ declare class AXMCalendarEventTypeSeeder implements AXPDataSeeder {
3056
+ private readonly storageService;
3057
+ seed(): Promise<void>;
3058
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarEventTypeSeeder, never>;
3059
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMCalendarEventTypeSeeder>;
3060
+ }
3061
+
3062
+ declare const meetingIds: {
3063
+ dailyStandup1: string;
3064
+ dailyStandup2: string;
3065
+ projectReview1: string;
3066
+ };
3067
+ declare const meetingMock: ({
3068
+ id: string;
3069
+ title: string;
3070
+ meetingNotes: string;
3071
+ meetingType: {
3072
+ id: string;
3073
+ title: string;
3074
+ };
3075
+ meetingProviderType: string;
3076
+ isRecorded: boolean;
3077
+ setInGoogleCalendar: boolean;
3078
+ meetingStatusId: string;
3079
+ meetingStatus: {
3080
+ id: string;
3081
+ title: string;
3082
+ };
3083
+ isFullysignedOff: boolean;
3084
+ meetingLocationId: {
3085
+ id: string;
3086
+ title: string;
3087
+ };
3088
+ joinUrl?: undefined;
3089
+ hostUrl?: undefined;
3090
+ } | {
3091
+ id: string;
3092
+ title: string;
3093
+ meetingNotes: string;
3094
+ meetingType: {
3095
+ id: string;
3096
+ title: string;
3097
+ };
3098
+ meetingProviderType: string;
3099
+ joinUrl: string;
3100
+ hostUrl: string;
3101
+ isRecorded: boolean;
3102
+ setInGoogleCalendar: boolean;
3103
+ meetingStatusId: string;
3104
+ meetingStatus: {
3105
+ id: string;
3106
+ title: string;
3107
+ };
3108
+ isFullysignedOff: boolean;
3109
+ meetingLocationId?: undefined;
3110
+ } | {
3111
+ id: string;
3112
+ title: string;
3113
+ meetingNotes: string;
3114
+ meetingType: {
3115
+ id: string;
3116
+ title: string;
3117
+ };
3118
+ meetingProviderType: string;
3119
+ joinUrl: string;
3120
+ hostUrl: string;
3121
+ isRecorded: boolean;
3122
+ setInGoogleCalendar: boolean;
3123
+ meetingStatusId: string;
3124
+ meetingStatus: {
3125
+ id: string;
3126
+ title: string;
3127
+ };
3128
+ isFullysignedOff: boolean;
3129
+ meetingLocationId: {
3130
+ id: string;
3131
+ title: string;
3132
+ };
3133
+ })[];
3134
+
3135
+ declare class AXMMeetingDataSeeder implements AXPDataSeeder {
3136
+ private readonly storageService;
3137
+ seed(): Promise<void>;
3138
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingDataSeeder, never>;
3139
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingDataSeeder>;
3140
+ }
3141
+
3142
+ declare const meetingTypeMock: {
3143
+ id: string;
3144
+ title: string;
3145
+ }[];
3146
+
3147
+ declare class AXMMeetingTypeDataSeeder implements AXPDataSeeder {
3148
+ private readonly storageService;
3149
+ seed(): Promise<void>;
3150
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeDataSeeder, never>;
3151
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeDataSeeder>;
3152
+ }
3153
+
3154
+ declare const meetingParticipantMock: ({
3155
+ id: string;
3156
+ meetingId: string;
3157
+ employeeId: {
3158
+ id: string;
3159
+ title: string;
3160
+ };
3161
+ jointime: Date;
3162
+ leaveTime: Date;
3163
+ duration: number;
3164
+ signOffAt: Date;
3165
+ participantStatusId: "present";
3166
+ participantStatus: {
3167
+ id: "present";
3168
+ title: "Present";
3169
+ };
3170
+ meetingRoleTypeIds: {
3171
+ id: string;
3172
+ title: string;
3173
+ };
3174
+ } | {
3175
+ id: string;
3176
+ meetingId: string;
3177
+ employeeId: {
3178
+ id: string;
3179
+ title: string;
3180
+ };
3181
+ jointime: Date;
3182
+ leaveTime: Date;
3183
+ duration: number;
3184
+ signOffAt: Date;
3185
+ participantStatusId: "accept";
3186
+ participantStatus: {
3187
+ id: "accept";
3188
+ title: "Accept";
3189
+ };
3190
+ meetingRoleTypeIds: {
3191
+ id: string;
3192
+ title: string;
3193
+ };
3194
+ } | {
3195
+ id: string;
3196
+ meetingId: string;
3197
+ employeeId: {
3198
+ id: string;
3199
+ title: string;
3200
+ };
3201
+ jointime: Date;
3202
+ leaveTime: null;
3203
+ duration: number;
3204
+ signOffAt: null;
3205
+ participantStatusId: "present";
3206
+ participantStatus: {
3207
+ id: "present";
3208
+ title: "Present";
3209
+ };
3210
+ meetingRoleTypeIds: {
3211
+ id: string;
3212
+ title: string;
3213
+ };
3214
+ } | {
3215
+ id: string;
3216
+ meetingId: string;
3217
+ employeeId: {
3218
+ id: string;
3219
+ title: string;
3220
+ };
3221
+ jointime: Date;
3222
+ leaveTime: Date;
3223
+ duration: number;
3224
+ signOffAt: Date;
3225
+ participantStatusId: "absent";
3226
+ participantStatus: {
3227
+ id: "absent";
3228
+ title: "Absent";
3229
+ };
3230
+ meetingRoleTypeIds: {
3231
+ id: string;
3232
+ title: string;
3233
+ };
3234
+ })[];
3235
+
3236
+ declare class AXMMeetingParticipantDataSeeder implements AXPDataSeeder {
3237
+ private readonly storageService;
3238
+ seed(): Promise<void>;
3239
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingParticipantDataSeeder, never>;
3240
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingParticipantDataSeeder>;
3241
+ }
3242
+
3243
+ declare const meetingSessionMock: ({
3244
+ id: string;
3245
+ meetingId: string;
3246
+ title: string;
3247
+ scheduleDate: Date;
3248
+ startTime: Date;
3249
+ endTime: Date;
3250
+ actualDate: Date;
3251
+ actualStartTime: Date;
3252
+ actualEndTime: Date;
3253
+ } | {
3254
+ id: string;
3255
+ meetingId: string;
3256
+ title: string;
3257
+ scheduleDate: Date;
3258
+ startTime: Date;
3259
+ endTime: Date;
3260
+ actualDate: Date;
3261
+ actualStartTime: Date;
3262
+ actualEndTime?: undefined;
3263
+ } | {
3264
+ id: string;
3265
+ meetingId: string;
3266
+ title: string;
3267
+ scheduleDate: Date;
3268
+ startTime: Date;
3269
+ endTime: Date;
3270
+ actualDate?: undefined;
3271
+ actualStartTime?: undefined;
3272
+ actualEndTime?: undefined;
3273
+ })[];
3274
+
3275
+ declare class AXMMeetingSessionDataSeeder implements AXPDataSeeder {
3276
+ private readonly storageService;
3277
+ seed(): Promise<void>;
3278
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingSessionDataSeeder, never>;
3279
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingSessionDataSeeder>;
3280
+ }
3281
+
3282
+ declare const meetingTimeSlotMock: ({
3283
+ id: string;
3284
+ meetingId: string;
3285
+ scheduleDate: Date;
3286
+ startTime: Date;
3287
+ endTime: Date;
3288
+ actualDate: Date;
3289
+ actualStartTime: Date;
3290
+ actualEndTime: Date;
3291
+ } | {
3292
+ id: string;
3293
+ meetingId: string;
3294
+ scheduleDate: Date;
3295
+ startTime: Date;
3296
+ endTime: Date;
3297
+ actualDate: Date;
3298
+ actualStartTime: Date;
3299
+ actualEndTime?: undefined;
3300
+ } | {
3301
+ id: string;
3302
+ meetingId: string;
3303
+ scheduleDate: Date;
3304
+ startTime: Date;
3305
+ endTime: Date;
3306
+ actualDate?: undefined;
3307
+ actualStartTime?: undefined;
3308
+ actualEndTime?: undefined;
3309
+ })[];
3310
+
3311
+ declare const meetingFilesMock: {
3312
+ id: string;
3313
+ meetingId: string;
3314
+ documentId: string;
3315
+ description: string;
3316
+ }[];
3317
+
3318
+ declare class AXMMeetingFilesDataSeeder implements AXPDataSeeder {
3319
+ private readonly storageService;
3320
+ seed(): Promise<void>;
3321
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingFilesDataSeeder, never>;
3322
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingFilesDataSeeder>;
3323
+ }
3324
+
3325
+ declare const participantIds: {
3326
+ participant1: string;
3327
+ participant2: string;
3328
+ participant3: string;
3329
+ participant4: string;
3330
+ participant5: string;
3331
+ participant6: string;
3332
+ participant7: string;
3333
+ participant8: string;
3334
+ participant9: string;
3335
+ };
3336
+ declare const meetingRoleTypeMock: {
3337
+ id: string;
3338
+ title: string;
3339
+ meetingParticipantId: string;
3340
+ }[];
3341
+
3342
+ declare class AXMMeetingRoleTypeDataSeeder implements AXPDataSeeder {
3343
+ private readonly storageService;
3344
+ seed(): Promise<void>;
3345
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingRoleTypeDataSeeder, never>;
3346
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingRoleTypeDataSeeder>;
3347
+ }
3348
+
3349
+ declare const meetingTypeFileTemplateMock: ({
3350
+ id: string;
3351
+ title: string;
3352
+ templateId: string;
3353
+ typeId: string;
3354
+ } | {
3355
+ id: string;
3356
+ title: string;
3357
+ templateId: string;
3358
+ typeId: {
3359
+ id: string;
3360
+ title: string;
3361
+ };
3362
+ })[];
3363
+
3364
+ declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
3365
+ private readonly storageService;
3366
+ seed(): Promise<void>;
3367
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeFileTemplateDataSeeder, never>;
3368
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
3369
+ }
3370
+
3371
+ declare class AXCLockService implements AXPLockService {
3372
+ private className;
3373
+ private db;
3374
+ constructor();
3375
+ private get lockTable();
3376
+ protected entityName: string;
3377
+ /**
3378
+ * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
3379
+ * at runtime using {@link setCacheDuration}.
3380
+ */
3381
+ private cacheTTL;
3382
+ /** In-memory cache for lock information. */
3383
+ private readonly cacheMap;
3384
+ /** Reference to the recurring cache-flush timer. */
3385
+ private cacheTimer;
3386
+ /**
3387
+ * Generates a unique cache key based on the lock request parameters.
3388
+ */
3389
+ private getCacheKey;
3390
+ /**
3391
+ * Starts or restarts the interval that clears the cache.
3392
+ */
3393
+ private startCacheTimer;
3394
+ /**
3395
+ * Allows consumers to change the cache duration (in milliseconds) at runtime.
3396
+ * The new duration is applied immediately.
3397
+ */
3398
+ setCacheDuration(ms: number): void;
3399
+ lock(request: AXPLockRequest): Promise<AXPLockInfo>;
3400
+ unlock(request: AXPUnLockRequest): Promise<void>;
3401
+ check(request: AXPLockGetInfoRequest): Promise<boolean>;
3402
+ getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
3403
+ getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
3404
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
3405
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
3406
+ }
3407
+
3408
+ declare class AXCFileStorageServiceDexie implements AXPFileStorageService {
3409
+ private fileService;
3410
+ private mapToFileStorageInfo;
3411
+ save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
3412
+ commit(fileId: string): Promise<void>;
3413
+ markForDeletion(fileId: string): Promise<void>;
3414
+ update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
3415
+ find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
3416
+ getInfo(fileId: string): Promise<AXPFileStorageInfo>;
3417
+ remove(fileId: string): Promise<void>;
3418
+ private cleanupTemporaryFiles;
3419
+ private cleanupMarkedFiles;
3420
+ constructor();
3421
+ findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
3422
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageServiceDexie, never>;
3423
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageServiceDexie>;
3424
+ }
3425
+
3426
+ declare class AXCFileStorageServiceFirestore implements AXPFileStorageService {
3427
+ private readonly db;
3428
+ private readonly fileService;
3429
+ constructor(db: Firestore);
3430
+ private docToFileStorageInfo;
3431
+ save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
3432
+ commit(fileId: string): Promise<void>;
3433
+ markForDeletion(fileId: string): Promise<void>;
3434
+ update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
3435
+ find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
3436
+ getInfo(fileId: string): Promise<AXPFileStorageInfo>;
3437
+ remove(fileId: string): Promise<void>;
3438
+ findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
3439
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageServiceFirestore, never>;
3440
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageServiceFirestore>;
3441
+ }
3442
+
3443
+ interface AXPVersionStream {
3444
+ id: string;
3445
+ entityType: string;
3446
+ entityId: string;
3447
+ createdAt: string;
3448
+ }
3449
+ declare enum AXVChangeType {
3450
+ Create = "Create",
3451
+ Update = "Update",
3452
+ Delete = "Delete"
3453
+ }
3454
+ type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
3455
+ interface CanonicalChange {
3456
+ path: string;
3457
+ op: CanonicalChangeOp;
3458
+ oldValue?: unknown;
3459
+ newValue?: unknown;
3460
+ meta?: Record<string, unknown>;
3461
+ }
3462
+ interface AXPVersionEntry {
3463
+ id: string;
3464
+ streamId: string;
3465
+ versionNumber: number;
3466
+ changeType: AXVChangeType;
3467
+ changedBy: string;
3468
+ changedAt: string;
3469
+ snapshotJson: unknown;
3470
+ patchFromPrevJson: CanonicalChange[];
3471
+ summary?: string;
3472
+ metadataJson?: unknown;
3473
+ }
3474
+ interface AXPVersionChange {
3475
+ id?: number;
3476
+ versionEntryId: string;
3477
+ path: string;
3478
+ op: CanonicalChangeOp;
3479
+ oldValue?: unknown;
3480
+ newValue?: unknown;
3481
+ }
3482
+ interface VersionedFileInfo {
3483
+ id: string;
3484
+ name: string;
3485
+ size: number;
3486
+ mime: string;
3487
+ hash: string;
3488
+ url?: string;
3489
+ thumbUrl?: string;
3490
+ }
3491
+ declare class AXCVersionDB extends Dexie {
3492
+ version_streams: Table<AXPVersionStream, string>;
3493
+ version_entries: Table<AXPVersionEntry, string>;
3494
+ version_changes: Table<AXPVersionChange, number>;
3495
+ constructor();
3496
+ }
3497
+ declare const axVersionDB: AXCVersionDB;
3498
+
3499
+ /**
3500
+ * Compute canonical JSON Patch-like changes with custom ops for file arrays.
3501
+ */
3502
+ declare function computeDiff(prevSnapshot: unknown, nextSnapshot: unknown, basePath?: string): CanonicalChange$1[];
3503
+ declare class AXCVersioningService implements AXPVersioningService {
3504
+ private readonly store;
3505
+ private readonly fileStorage;
3506
+ upsertStream(entityType: string, entityId: string): Promise<string>;
3507
+ /** Gets stream id if it exists, otherwise returns null (does not create). */
3508
+ getStreamIdIfExists(entityType: string, entityId: string): Promise<string | null>;
3509
+ getCurrentVersion(streamId: string): Promise<number>;
3510
+ /** Lists version entries for a given stream, newest first. */
3511
+ listEntries(streamId: string, options?: {
3512
+ limit?: number;
3513
+ offset?: number;
3514
+ }): Promise<AXPVersionEntry$1[]>;
3515
+ createVersion(entityType: string, entityId: string, newSnapshot: unknown, changes?: CanonicalChange$1[], options?: {
3516
+ changeType?: AXVChangeType$1;
3517
+ changedBy?: string;
3518
+ summary?: string;
3519
+ metadata?: unknown;
3520
+ }): Promise<AXPVersionEntry$1>;
3521
+ getDiffForVersions(streamId: string, v1: number, v2: number): Promise<CanonicalChange$1[]>;
3522
+ getUiFriendlyDiff(streamId: string, v1: number, v2: number): Promise<Array<{
3523
+ badge: string;
3524
+ path: string;
3525
+ summary: string;
3526
+ oldValue?: unknown;
3527
+ newValue?: unknown;
3528
+ }>>;
3529
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCVersioningService, never>;
3530
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXCVersioningService>;
3531
+ }
3532
+
3533
+ interface UIDiffRow {
3534
+ badge: 'Added' | 'Removed' | 'Replaced' | 'Renamed' | 'Metadata' | 'Updated';
3535
+ path: string;
3536
+ summary: string;
3537
+ oldValue?: unknown;
3538
+ newValue?: unknown;
3539
+ }
3540
+ declare function toUiRows(changes: CanonicalChange[]): UIDiffRow[];
3541
+
3542
+ declare function normalizeAnyFileArrayForView(arr: any[], fileStorage: AXPFileStorageService): Promise<AXPFileListItem[]>;
3543
+ declare function normalizeSnapshotFileFieldsForView(snapshot: any, fileStorage: AXPFileStorageService): Promise<any>;
3544
+
3545
+ declare const titleInterface: AXPWidgetNode;
3546
+ declare const descriptionInterface: AXPWidgetNode;
3547
+ declare const versionInterface: AXPWidgetNode;
3548
+ declare const dateInterface: AXPWidgetNode;
3549
+ declare const dateTimeInterface: AXPWidgetNode;
3550
+ declare const numberInterface: AXPWidgetNode;
3551
+ declare const selectInterface: AXPWidgetNode;
3552
+ declare const checkboxInterface: AXPWidgetNode;
3553
+ declare const toggleInterface: AXPWidgetNode;
3554
+ declare const richTextInterface: AXPWidgetNode;
3555
+ declare const emailInterface: AXPWidgetNode;
3556
+ declare const urlInterface: AXPWidgetNode;
3557
+ declare const passwordInterface: AXPWidgetNode;
3558
+ declare const phoneInterface: AXPWidgetNode;
3559
+ declare const colorInterface: AXPWidgetNode;
3560
+ declare const tagInterface: AXPWidgetNode;
3561
+ declare const textInterface: AXPWidgetNode;
3562
+ declare const textAreaInterface: AXPWidgetNode;
3563
+ declare const fileUploaderInterface: AXPWidgetNode;
3564
+ declare const lookupInterface: AXPWidgetNode;
3565
+ declare const selectionListInterface: AXPWidgetNode;
3566
+ declare const contactInterface: AXPWidgetNode;
3567
+ declare const mapInterface: AXPWidgetNode;
3568
+ declare const signatureInterface: AXPWidgetNode;
3569
+ declare const qrcodeInterface: AXPWidgetNode;
3570
+ declare const avatarInterface: AXPWidgetNode;
3571
+ declare const imageInterface: AXPWidgetNode;
3572
+ declare const timeDurationInterface: AXPWidgetNode;
3573
+ /**
3574
+ * 1–5 scale via selection list (radio-style, horizontal).
3575
+ * Stored value is `id`: `1` | `2` | `3` | `4` | `5` (same as `scaleInterface` ids for formulas).
3576
+ */
3577
+ declare const ratingInterface: AXPWidgetNode;
3578
+ declare const scaleInterface: AXPWidgetNode;
3579
+ /** Yes/No via selection list (radio-style); stored value is `id`: `yes` | `no`. */
3580
+ declare const yesNoInterface: AXPWidgetNode;
3581
+ /** Field inspection status: OK, fault (X), or not applicable (N/A). Stored ids: `ok` | `x` | `na`. */
3582
+ declare const inspectionOkXNaInterface: AXPWidgetNode;
3583
+ declare const multipleChoiceInterface: AXPWidgetNode;
3584
+ declare const multipleSelectInterface: AXPWidgetNode;
3585
+ declare const longTextAnswerInterface: AXPWidgetNode;
3586
+ /** Select for sex at birth; stored ids: female | male */
3587
+ declare const sexAtBirthInterface: AXPWidgetNode;
3588
+
3589
+ interface AXPRuleRow extends AXPIdentifierRule {
3590
+ }
3591
+ interface AXPSeqRow {
3592
+ id: string;
3593
+ ruleId: string;
3594
+ scopeHash: string;
3595
+ currentValue: number;
3596
+ hi?: number;
3597
+ next?: number;
3598
+ lastResetKey?: string;
3599
+ }
3600
+ interface AXPLogRow {
3601
+ id: string;
3602
+ entity: string;
3603
+ tenantId?: string;
3604
+ code: string;
3605
+ createdAt: string;
3606
+ }
3607
+ declare class AXPIdentifierDB extends Dexie {
3608
+ rules: Table<AXPRuleRow, string>;
3609
+ sequences: Table<AXPSeqRow, string>;
3610
+ logs: Table<AXPLogRow, string>;
3611
+ constructor();
3612
+ }
3613
+ declare class AXPMockClockProvider implements AXPClockProvider {
3614
+ now(): Date;
3615
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockClockProvider, never>;
3616
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockClockProvider>;
3617
+ }
3618
+ declare class AXPMockChecksumProvider implements AXPChecksumProvider {
3619
+ compute(algo: 'luhn' | 'mod11', input: string): string;
3620
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockChecksumProvider, never>;
3621
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockChecksumProvider>;
3622
+ }
3623
+ declare class AXPMockPolicyProvider implements AXPPolicyProvider {
3624
+ isAllowed(): boolean;
3625
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockPolicyProvider, never>;
3626
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockPolicyProvider>;
3627
+ }
3628
+ declare class AXPMockLookupProvider implements AXPLookupProvider {
3629
+ private readonly map;
3630
+ get(key: string): Promise<string | undefined>;
3631
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockLookupProvider, never>;
3632
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockLookupProvider>;
3633
+ }
3634
+ declare class AXPMockSequenceProvider implements AXPSequenceProvider {
3635
+ private readonly store;
3636
+ private readonly rulesFromProviders;
3637
+ next(scopeHash: string, ruleId: string, options?: {
3638
+ pad?: number;
3639
+ consume?: boolean;
3640
+ }): Promise<number>;
3641
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockSequenceProvider, never>;
3642
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockSequenceProvider>;
3643
+ }
3644
+
3645
+ declare class AXPMockIdentifierService extends AXPIdentifierService {
3646
+ private readonly engine;
3647
+ private readonly rulesFromProviders;
3648
+ private readonly seq;
3649
+ private readonly checksum;
3650
+ private readonly lookup;
3651
+ private readonly policy;
3652
+ private readonly clock;
3653
+ private readonly rules;
3654
+ generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
3655
+ peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;
3656
+ validate(_code: string, _entity: string, _tenantId?: string): Promise<boolean>;
3657
+ private pickRule;
3658
+ private createContext;
3659
+ private createScopeHash;
3660
+ private validateRequestAgainstRule;
3661
+ private evaluateInternal;
3662
+ commitWithToken(token: string): Promise<AXPIdentifierResult>;
3663
+ commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;
3664
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockIdentifierService, never>;
3665
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
3666
+ }
3667
+
3668
+ /**
3669
+ * Pre-save middleware: loads entity definition and validates ctx.data before persist.
3670
+ * Validates required, minLength, maxLength, email and unique constraints
3671
+ * (from definition rule: 'unique' or layout extensions.uniqueFields).
3672
+ * Runs early (order: 5) before lock/audit middlewares.
3673
+ */
3674
+ declare const entityValidationMiddleware: AXPEntityStorageMiddleware;
3675
+
3676
+ /**
3677
+ * Backend middleware: sets default status for entities with status plugin when creating/updating.
3678
+ * Runs before validation (order 3). Client must not trust client-sent status for security;
3679
+ * backend controls defaults and other security-sensitive fields.
3680
+ */
3681
+ declare const statusDefaultMiddleware: AXPEntityStorageMiddleware;
3682
+
3683
+ declare const childCountMiddleware: AXPEntityStorageMiddleware;
3684
+
3685
+ /**
3686
+ * File Cast Middleware - Handles file operations in entity storage
3687
+ *
3688
+ * This middleware processes files during entity operations:
3689
+ *
3690
+ * CREATE/UPDATE Operations:
3691
+ * - New files: Uploads to file storage and replaces with file IDs
3692
+ * - Existing files: Keeps existing file IDs
3693
+ * - Deleted files: Removes from file storage and excludes from entity data
3694
+ *
3695
+ * QUERY/GET_ONE Operations:
3696
+ * - Converts file IDs back to AXPFileListItem objects for UI display
3697
+ *
3698
+ * File Status Handling:
3699
+ * - 'uploaded'/'remote'/'editing': Keep existing file ID
3700
+ * - 'deleted': Remove from storage, exclude from entity
3701
+ * - 'attached'/'uploading': Upload new file
3702
+ */
3703
+ declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
3704
+
3705
+ /**
3706
+ * Folder Storage Middleware
3707
+ *
3708
+ * Applies folder-specific behavior via storage layer (no service override):
3709
+ * - create: enriches ownership from session, default inherit; after persist syncs parent.folders.
3710
+ * - update: after persist, removes from old parent if parentId changed, syncs parent.folders.
3711
+ * - delete: before delete loads folder, after delete removes from parent.folders.
3712
+ * - getOne: enriches childrenCount/itemsCount and inherited properties (ownership, documentTypes).
3713
+ */
3714
+ declare const folderStorageMiddleware: AXPEntityStorageMiddleware;
3715
+
3716
+ /**
3717
+ * Document–Folder Sync Middleware
3718
+ *
3719
+ * Keeps parent folder's documents array in sync when documents are created, updated, or deleted.
3720
+ * Runs in storage layer so no document service override is needed.
3721
+ */
3722
+ declare const documentFolderSyncMiddleware: AXPEntityStorageMiddleware;
3723
+
3724
+ declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
3725
+
3726
+ /**
3727
+ * Lookup Resolver Middleware
3728
+ *
3729
+ * Resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
3730
+ *
3731
+ * Behavior:
3732
+ * - Runs on 'create' and 'update' operations
3733
+ * - Finds fields ending with 'Id'/'Ids' (case-insensitive)
3734
+ * - Resolves IDs to full objects from corresponding entity
3735
+ * - Skips fields that are already resolved or have explicit entity config failures
3736
+ *
3737
+ * Resolution Strategy (in order):
3738
+ * 1. Check entity property definition for LookupBox with entity option (preferred)
3739
+ * 2. Use naming conventions: dotted path (X.assignId -> X.assign) or module fallback (ModuleName.entityName)
3740
+ *
3741
+ * Naming Convention:
3742
+ * - testId -> creates 'test' object with full record
3743
+ * - testIds -> creates 'testList' array with full records
3744
+ *
3745
+ * Example:
3746
+ * Input: { brandId: "123" } with lookup to product-catalog.brand
3747
+ * Result: { brand: { id: "123", title: "Brand Name", ... } }
3748
+ */
3749
+ declare const lookupResolverMiddleware: AXPEntityStorageMiddleware;
3750
+
3751
+ /**
3752
+ * Simple debug middleware for WorkflowManagement.Automation
3753
+ * Logs command payload on create/update so we can ensure it is persisted correctly.
3754
+ */
3755
+ declare const automationCommandMiddleware: AXPEntityStorageMiddleware;
3756
+
3757
+ declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
3758
+
3759
+ declare const primaryMiddleware: AXPEntityStorageMiddleware;
3760
+
3761
+ /**
3762
+ * Combined middleware: enriches entity records with audit info (who/when) and records
3763
+ * version history for the "Change history" timeline. Version snapshots exclude auditInfo
3764
+ * (and stateInfo, ownershipInfo) so we don't log audit metadata again in the version store.
3765
+ */
3766
+ declare const historyMiddleware: AXPEntityStorageMiddleware;
3767
+
3768
+ /**
3769
+ * Signature Loader Middleware
3770
+ *
3771
+ * This middleware loads digital signatures for entities by attempting to query
3772
+ * the corresponding signature table ({EntityName}Signature).
3773
+ *
3774
+ * Behavior:
3775
+ * - Only runs on 'getOne' operation (entity details)
3776
+ * - Attempts to query signature table without checking plugin existence
3777
+ * - If signature table exists and has data, attaches signatures to result
3778
+ * - If table doesn't exist or query fails, silently continues
3779
+ *
3780
+ * Example:
3781
+ * Entity: "ContentManagement.Promotion"
3782
+ * Signature table: "ContentManagement.PromotionSignature"
3783
+ * Result: ctx.result.signatures = [{ id, signed, meta, ... }]
3784
+ */
3785
+ declare const signatureLoaderMiddleware: AXPEntityStorageMiddleware;
3786
+
3787
+ /**
3788
+ * Middleware that prevents editing or deleting locked records.
3789
+ *
3790
+ * Supports two types of locks:
3791
+ * 1. 'user' lock: Automatic lock when edit popup is opened.
3792
+ * - Only the user who locked it can edit
3793
+ * - Other users cannot edit
3794
+ *
3795
+ * 2. 'admin' lock: Manual lock by admin for a specific duration or permanently.
3796
+ * - Even the admin who locked it cannot edit
3797
+ * - All users are blocked until lock expires (if expireAt is set)
3798
+ */
3799
+ declare const lockGuardMiddleware: AXPEntityStorageMiddleware;
3800
+
3801
+ /**
3802
+ * Group Order Item Calculator Middleware
3803
+ *
3804
+ * Calculates quantityInOrder and quantityAvailable for group order items.
3805
+ * Also calculates total based on price, quantityInOrder, and GST (1.15).
3806
+ *
3807
+ * quantityInOrder = sum of all member order line quantities for this item
3808
+ * quantityAvailable = size - quantityInOrder
3809
+ * total = price * quantityInOrder * 1.15 (GST)
3810
+ *
3811
+ * Runs on:
3812
+ * - GroupOrderItem create/update: Calculate for the item itself
3813
+ * - MemberOrderLine create/update/delete: Recalculate the related group order item
3814
+ */
3815
+ declare const groupOrderItemCalculatorMiddleware: AXPEntityStorageMiddleware;
3816
+
3817
+ /**
3818
+ * Key used in request params to bypass visibility filtering (isHidden flag).
3819
+ * Similar to ABP Framework's filter disabling mechanism.
3820
+ *
3821
+ * Usage:
3822
+ * ```typescript
3823
+ * await storageService.query(entityName, {
3824
+ * ...request,
3825
+ * params: { [VISIBILITY_FILTER_BYPASS]: 'true' }
3826
+ * });
3827
+ * ```
3828
+ */
3829
+ declare const VISIBILITY_FILTER_BYPASS = "__bypassVisibilityFilter";
3830
+ /**
3831
+ * Key used in request params to bypass ownership filtering (tenantId/applicationId).
3832
+ * Similar to ABP Framework's filter disabling mechanism.
3833
+ *
3834
+ * Usage:
3835
+ * ```typescript
3836
+ * await storageService.query(entityName, {
3837
+ * ...request,
3838
+ * params: { [OWNERSHIP_FILTER_BYPASS]: 'true' }
3839
+ * });
3840
+ * ```
3841
+ */
3842
+ declare const OWNERSHIP_FILTER_BYPASS = "__bypassOwnershipFilter";
3843
+ /**
3844
+ * Middleware that automatically filters out records with `isSystem` or `isHidden` flags
3845
+ * from query and getAll operations.
3846
+ *
3847
+ * This ensures that:
3848
+ * - System records (isSystem: true) are hidden from regular users
3849
+ * - Hidden records (isHidden: true) are not visible in lists
3850
+ * - Records are filtered by current tenant and application context
3851
+ * - Single record lookups (getOne) still work for direct access
3852
+ * - Filtering can be bypassed using VISIBILITY_FILTER_BYPASS or OWNERSHIP_FILTER_BYPASS in request params
3853
+ *
3854
+ * Bypass options:
3855
+ * - VISIBILITY_FILTER_BYPASS: Bypasses isHidden filtering only
3856
+ * - OWNERSHIP_FILTER_BYPASS: Bypasses tenantId/applicationId filtering only
3857
+ * - Both: Bypasses all filtering
3858
+ *
3859
+ * Note: This is applied AFTER the data is fetched from storage.
3860
+ */
3861
+ declare const visibilityFilterMiddleware: AXPEntityStorageMiddleware;
3862
+
3863
+ /**
3864
+ * Helper function to create a query request that bypasses visibility filtering (isHidden flag).
3865
+ * Similar to ABP Framework's filter disabling pattern.
3866
+ *
3867
+ * @example
3868
+ * ```typescript
3869
+ * // Bypass visibility filter for authentication
3870
+ * const users = await storageService.query(
3871
+ * entityName,
3872
+ * bypassVisibilityFilter({ skip: 0, take: 1000 })
3873
+ * );
3874
+ * ```
3875
+ */
3876
+ declare function bypassVisibilityFilter<T extends AXPQueryRequest>(request: T): T;
3877
+ /**
3878
+ * Helper function to create a query request that bypasses ownership filtering (tenantId/applicationId).
3879
+ * Similar to ABP Framework's filter disabling pattern.
3880
+ *
3881
+ * @example
3882
+ * ```typescript
3883
+ * // Bypass ownership filter to query across tenants/applications
3884
+ * const records = await storageService.query(
3885
+ * entityName,
3886
+ * bypassOwnershipFilter({ skip: 0, take: 1000 })
3887
+ * );
3888
+ * ```
3889
+ */
3890
+ declare function bypassOwnershipFilter<T extends AXPQueryRequest>(request: T): T;
3891
+ /**
3892
+ * Helper function to create a query request that bypasses both visibility and ownership filtering.
3893
+ * Similar to ABP Framework's filter disabling pattern.
3894
+ *
3895
+ * @example
3896
+ * ```typescript
3897
+ * // Bypass all filters for system operations
3898
+ * const records = await storageService.query(
3899
+ * entityName,
3900
+ * bypassAllFilters({ skip: 0, take: 1000 })
3901
+ * );
3902
+ * ```
3903
+ */
3904
+ declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
3905
+
3906
+ declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
3907
+
3908
+ export { ACTIVITY_CATEGORIES, ACTIVITY_DEFINITIONS, AI_ASSIST_MOCK, AI_MODEL_MOCK, APPLICATIONS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAiAssistSeeder, AXCAiManagementMockModule, AXCAiModelSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommandRegistryDataSeeder, AXCCommonMockModule, AXCContactCoreMockModule, AXCContentManagementMockModule, AXCConversationDataSeeder, AXCConversationMockConversationApi, AXCConversationMockMessageApi, AXCConversationMockModule, AXCConversationMockRealtimeApi, AXCConversationMockUserApi, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEntityDefinitionSeederService, AXCEntityDefinitionsModule, AXCEntityStorageInsertCommand, AXCEntityStorageModule, AXCEntityStorageQueryQuery, AXCFileStorageServiceDexie, AXCFileStorageServiceFirestore, AXCFinancialCoreMockModule, AXCFirestoreEntityStorageService, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCMockShowMetaDataFormPopupCommand, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryRegistryDataSeeder, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCStoredEntityDefinitionLoader, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowCategorySeeder, AXCWorkflowDefinitionDataSeeder, AXCWorkflowEngine, AXCWorkflowExecutionDB, AXCWorkflowExecutionStoreDexie, AXCWorkflowExecutionStoreFirestore, AXCWorkflowManagementMockModule, AXC_ENTITY_STORAGE_BACKEND_TYPE, AXC_FIRESTORE_CONFIG, AXC_FIRESTORE_DB, AXC_WORKFLOW_EXECUTION_STORE, AXMAiDemisDefaultAssistId, AXMAiModelStableIds, AXMAiPlatformDefaultAssistId, AXMAutomationDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMDashboardChartDataSourceDefinition, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCalculationDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXMTeamMemberDataSeeder, AXMTeamMemberRoleDataSeeder, AXMWorkflowDashboardChartDataSourceDefinition, AXM_AI_REGISTRY_COMMAND_NAME, AXM_AI_REGISTRY_QUERY_NAME, AXM_CORPORATE_BUSINESS_UNIT_ID, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BCC, BOC, BUSINESS_UNITS_MOCK, CHAT_LAST_MESSAGE_IDS, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CP, CRM_ENTERPRISE, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, ENTITY_DEFINITION_MAP, ENTITY_REGISTRY, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, G, HR_ENTERPRISE, HW, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_DEFINITION_CATEGORY_KEY_TO_ID, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, METADATA_CATEGORY_IDS, METADATA_GENERAL_CATEGORY_REFS, METADATA_SYSTEM_CATEGORY_REFS, MLC, OHR, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, PM, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QCP, QGEN, QHW, QOHR, QPM, QTLE, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, QWS, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, RESPONSIBILITY_CATEGORY_KEY_TO_ID, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TEAM_MEMBERS_MOCK, TEAM_MEMBER_ROLES_MOCK, TIMEPLICITY_TENANT_ID, TLA, TOKENS, TPC, VISIBILITY_FILTER_BYPASS, WORKFLOW_CATEGORIES, WS, activityCategoryMocks, activityDefinitionEntityMock, applyEntityDefinitionFirestoreSnapshot, automationCommandMiddleware, automationMock, avatarInterface, axVersionDB, axWorkflowExecutionDB, axcPatchEmployeeActivePrimaryPositionRefsFromRows, axcPatchEmployeeManagerRefsFromRows, axcResolveCommandRegistrySeedId, axcResolveQueryRegistrySeedId, bankCategory, buildEntityStorageQuickSearchFilter, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, chatMessageMock, chatMock, checkboxInterface, childCountMiddleware, clearEntityDefinitionFirestoreCollections, collectQuickSearchFieldPathsFromEntityDefinition, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, createWidgetLayoutConfig, dateInterface, dateTimeInterface, descriptionInterface, documentFolderSyncMiddleware, emailInterface, entityDefDb, entityValidationMiddleware, fileUploaderInterface, findEmployeeById, folderStorageMiddleware, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyMiddleware, identifierCommitMiddleware, imageInterface, inspectionOkXNaInterface, loadMockPropertyDefinitions, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mergeQuickSearchIntoRequest, metadataCategoryMocks, mockQuestionBankItemByName, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, parseEntityStorageInsertData, parseEntityStorageQueryRequest, participantIds, participantMock, passwordInterface, personIdentifierTypeMock, personIds, personLegalIds, personMock, personNaturalIds, phoneInterface, primaryMiddleware, provideMockPropertySetups, qrcodeInterface, questionBankItemMock, questionnaireCalculationMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, sexAtBirthInterface, signatureInterface, signatureLoaderMiddleware, statusDefaultMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, tokenCategoryIds, tokenCategoryMocks, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
3909
+ export type { AXCAiAssistMock, AXCAiModelMock, AXCBookmarkEntity, AXCBusinessUnitMockDto, AXCEntityStorageBackendType, AXCEntityStorageInsertInput, AXCEntityStorageInsertOutput, AXCEntityStorageQueryInput, AXCEntityStorageQueryResult, AXCFirestoreConfig, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMemberMockDto, AXCTeamMemberRoleMockDto, AXCTeamMockDto, AXCWorkflowExecutionStore, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, AutomationCommandDto, AutomationMockDto, CanonicalChange, CanonicalChangeOp, EntityDefinitionFirestoreSnapshotFile, FirestoreSnapshotOperation, JobDefinitionMockDto, JobLevelMockDto, MockUserPassCredentials, PositionMockDto, QuestionBankItemCategoryTitle, QuestionBankItemMockDto, QuestionnaireCalculationMockDto, QuestionnaireCalculationMockResultKind, QuestionnaireCategoryTitle, QuestionnaireMockDto, ResponsibilityMockDto, ShowMetaDataFormPopupMockInput, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };