@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
package/mock/index.d.ts DELETED
@@ -1,2775 +0,0 @@
1
- import { AXPAppStartUpService, AXPQueryRequest, AXPPagedListResult, AXPModuleAccessControlService, AXPModuleManifest, AXPModuleAccessContext, AXPCategorizedEntityDto, AXPCategoryEntity, AXPExecuteCommand, AXPExecuteCommandResult, AXPActionMenuItem, AXPDataSourceDefinitionProvider, AXPDataSourceDefinition, AXPFileListItem, AXPDistributedEventListenerProvider } from '@acorex/platform/core';
2
- import * as i0 from '@angular/core';
3
- import { Injector } from '@angular/core';
4
- import * as _acorex_platform_auth from '@acorex/platform/auth';
5
- import { AXPBaseCredentials, AXPAuthStrategy, AXPSignInResult, AXPSessionContext } from '@acorex/platform/auth';
6
- import * as i1 from '@acorex/platform/runtime';
7
- import { AXPQuery, AXPCommand } from '@acorex/platform/runtime';
8
- import { Router } from '@angular/router';
9
- import { AXMAuthConfigs } from '@acorex/modules/auth';
10
- import { AXPEntityStorageService, AXPDataSeeder, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
11
- import Dexie, { Table } from 'dexie';
12
- import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel } from '@acorex/modules/application-management';
13
- import { AXMTenantManagementTenantEntityModel } from '@acorex/modules/tenant-management';
14
- import { AXMSecurityManagementRolesEntityModel, AXMSecurityManagementUsersEntityModel } from '@acorex/modules/security-management';
15
- import { AXPSpreadsheetData } from '@acorex/platform/layout/components';
16
- import * as _acorex_platform_common from '@acorex/platform/common';
17
- import { AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, CanonicalChange as CanonicalChange$1, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
18
- import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
19
- import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
20
- import { AXMCommonDashboardEntityModel } from '@acorex/modules/dashboard-management';
21
- import { AXPExecutionReportCommand, AXPLayoutExecutionContext, AXPExecutionReportCommandResult } from '@acorex/modules/report-management';
22
- import * as _acorex_modules_calendar_management from '@acorex/modules/calendar-management';
23
- import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
24
- import { AXPWorkflowInstance, AXPWorkflowExecutionService, AXPStartWorkflowExecutionRequest, AXPStartWorkflowExecutionResponse, AXPResumeWorkflowExecutionRequest, AXPResumeWorkflowExecutionResponse, AXPGetWorkflowExecutionStateRequest, AXPWorkflowExecutionState, AXPGetWorkflowDefinitionRequest, AXPGetWorkflowDefinitionResponse, AXPWorkflowDefinition } from '@acorex/platform/workflow';
25
- import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
26
- import { AXPIdentifierRule, AXPClockProvider, AXPChecksumProvider, AXPPolicyProvider, AXPLookupProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
27
-
28
- declare class AXCCommonMockModule {
29
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCommonMockModule, never>;
30
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCommonMockModule, never, never, never>;
31
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCommonMockModule>;
32
- }
33
-
34
- declare class AXCIdentifierManagementMockModule {
35
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCIdentifierManagementMockModule, never>;
36
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCIdentifierManagementMockModule, never, never, never>;
37
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCIdentifierManagementMockModule>;
38
- }
39
-
40
- declare class AXCSecurityManagementMockModule {
41
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSecurityManagementMockModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSecurityManagementMockModule, never, never, never>;
43
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSecurityManagementMockModule>;
44
- }
45
-
46
- declare class AXCFormTemplateManagementMockModule {
47
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFormTemplateManagementMockModule, never>;
48
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFormTemplateManagementMockModule, never, never, never>;
49
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCFormTemplateManagementMockModule>;
50
- }
51
-
52
- declare class AXCCustomerManagementMockModule {
53
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCustomerManagementMockModule, never>;
54
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCustomerManagementMockModule, never, never, never>;
55
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCustomerManagementMockModule>;
56
- }
57
-
58
- declare class AXCSupplierManagementMockModule {
59
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSupplierManagementMockModule, never>;
60
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSupplierManagementMockModule, never, never, never>;
61
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSupplierManagementMockModule>;
62
- }
63
-
64
- declare class AXCProcurementManagementMockModule {
65
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProcurementManagementMockModule, never>;
66
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProcurementManagementMockModule, never, never, never>;
67
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProcurementManagementMockModule>;
68
- }
69
-
70
- declare class AXCOrderManagementMockModule {
71
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrderManagementMockModule, never>;
72
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrderManagementMockModule, never, never, never>;
73
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrderManagementMockModule>;
74
- }
75
-
76
- declare class AXCSubscriptionManagementMockModule {
77
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSubscriptionManagementMockModule, never>;
78
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSubscriptionManagementMockModule, never, never, never>;
79
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSubscriptionManagementMockModule>;
80
- }
81
-
82
- declare class AXCContactManagementMockModule {
83
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContactManagementMockModule, never>;
84
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContactManagementMockModule, never, never, never>;
85
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContactManagementMockModule>;
86
- }
87
-
88
- declare class AXCLocationManagementMockModule {
89
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocationManagementMockModule, never>;
90
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocationManagementMockModule, never, never, never>;
91
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocationManagementMockModule>;
92
- }
93
-
94
- declare class AXCOrganizationManagementMockModule {
95
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCOrganizationManagementMockModule, never>;
96
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCOrganizationManagementMockModule, never, never, never>;
97
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCOrganizationManagementMockModule>;
98
- }
99
-
100
- declare class AXCHumanCapitalManagementMockModule {
101
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHumanCapitalManagementMockModule, never>;
102
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHumanCapitalManagementMockModule, never, never, never>;
103
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHumanCapitalManagementMockModule>;
104
- }
105
-
106
- declare class AXCReportManagementMockModule {
107
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCReportManagementMockModule, never>;
108
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCReportManagementMockModule, never, [typeof i1.AXPRuntimeModule], never>;
109
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCReportManagementMockModule>;
110
- }
111
-
112
- declare class AXCLocaleManagementMockModule {
113
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLocaleManagementMockModule, never>;
114
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLocaleManagementMockModule, never, never, never>;
115
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLocaleManagementMockModule>;
116
- }
117
-
118
- declare class AXCDashboardManagementMockModule {
119
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDashboardManagementMockModule, never>;
120
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDashboardManagementMockModule, never, never, never>;
121
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDashboardManagementMockModule>;
122
- }
123
-
124
- declare class AXCConversationMockModule {
125
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockModule, never>;
126
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCConversationMockModule, never, never, never>;
127
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCConversationMockModule>;
128
- }
129
-
130
- declare class AXCAuthMockModule {
131
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAuthMockModule, never>;
132
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAuthMockModule, never, never, never>;
133
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAuthMockModule>;
134
- }
135
-
136
- declare class AXCPlatformManagementMockModule {
137
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPlatformManagementMockModule, never>;
138
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPlatformManagementMockModule, never, never, never>;
139
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPlatformManagementMockModule>;
140
- }
141
-
142
- declare class AXCApplicationManagementMockModule {
143
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationManagementMockModule, never>;
144
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCApplicationManagementMockModule, never, never, never>;
145
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCApplicationManagementMockModule>;
146
- }
147
-
148
- declare class AXCTenantManagementMockModule {
149
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantManagementMockModule, never>;
150
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTenantManagementMockModule, never, never, never>;
151
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTenantManagementMockModule>;
152
- }
153
-
154
- declare class AXCLearningManagementMockModule {
155
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLearningManagementMockModule, never>;
156
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCLearningManagementMockModule, never, never, never>;
157
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCLearningManagementMockModule>;
158
- }
159
-
160
- declare class AXCAssetManagementMockModule {
161
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAssetManagementMockModule, never>;
162
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAssetManagementMockModule, never, never, never>;
163
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAssetManagementMockModule>;
164
- }
165
-
166
- declare class AXCProjectManagementMockModule {
167
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProjectManagementMockModule, never>;
168
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProjectManagementMockModule, never, never, never>;
169
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProjectManagementMockModule>;
170
- }
171
-
172
- declare class AXCDocumentManagementMockModule {
173
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDocumentManagementMockModule, never>;
174
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDocumentManagementMockModule, never, never, never>;
175
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDocumentManagementMockModule>;
176
- }
177
-
178
- declare class AXCHelpDeskMockModule {
179
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCHelpDeskMockModule, never>;
180
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCHelpDeskMockModule, never, never, never>;
181
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCHelpDeskMockModule>;
182
- }
183
-
184
- declare class AXCCalendarManagementMockModule {
185
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarManagementMockModule, never>;
186
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCCalendarManagementMockModule, never, never, never>;
187
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCCalendarManagementMockModule>;
188
- }
189
-
190
- declare class AXCDataManagementMockModule {
191
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDataManagementMockModule, never>;
192
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCDataManagementMockModule, never, never, never>;
193
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCDataManagementMockModule>;
194
- }
195
-
196
- declare class AXCNotificationManagementMockModule {
197
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCNotificationManagementMockModule, never>;
198
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCNotificationManagementMockModule, never, never, never>;
199
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCNotificationManagementMockModule>;
200
- }
201
-
202
- declare class AXCTaskManagementMockModule {
203
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTaskManagementMockModule, never>;
204
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCTaskManagementMockModule, never, never, never>;
205
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCTaskManagementMockModule>;
206
- }
207
-
208
- declare class AXCPersonManagementMockModule {
209
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCPersonManagementMockModule, never>;
210
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCPersonManagementMockModule, never, never, never>;
211
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCPersonManagementMockModule>;
212
- }
213
-
214
- declare class AXCContentManagementMockModule {
215
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCContentManagementMockModule, never>;
216
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCContentManagementMockModule, never, never, never>;
217
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCContentManagementMockModule>;
218
- }
219
-
220
- declare class AXCMeetingManagementMockModule {
221
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeetingManagementMockModule, never>;
222
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeetingManagementMockModule, never, never, never>;
223
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeetingManagementMockModule>;
224
- }
225
-
226
- declare class AXCSettingsManagementMockModule {
227
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCSettingsManagementMockModule, never>;
228
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCSettingsManagementMockModule, never, never, never>;
229
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCSettingsManagementMockModule>;
230
- }
231
-
232
- declare class AXCAssessmentManagementMockModule {
233
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAssessmentManagementMockModule, never>;
234
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCAssessmentManagementMockModule, never, never, never>;
235
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCAssessmentManagementMockModule>;
236
- }
237
-
238
- declare class AXCFinancialCoreMockModule {
239
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFinancialCoreMockModule, never>;
240
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCFinancialCoreMockModule, never, never, never>;
241
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCFinancialCoreMockModule>;
242
- }
243
-
244
- declare class AXCMeasurementCoreMockModule {
245
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMeasurementCoreMockModule, never>;
246
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMeasurementCoreMockModule, never, never, never>;
247
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMeasurementCoreMockModule>;
248
- }
249
-
250
- declare class AXCProductCatalogMockModule {
251
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCProductCatalogMockModule, never>;
252
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCProductCatalogMockModule, never, never, never>;
253
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCProductCatalogMockModule>;
254
- }
255
-
256
- declare class AXCMiddlewaresModule {
257
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMiddlewaresModule, never>;
258
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMiddlewaresModule, never, never, never>;
259
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMiddlewaresModule>;
260
- }
261
-
262
- declare class AXCMockModule {
263
- constructor(appInitService: AXPAppStartUpService, injector: Injector);
264
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
265
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCContactManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonManagementMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCMiddlewaresModule], never>;
266
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
267
- }
268
-
269
- interface MockUserPassCredentials extends AXPBaseCredentials {
270
- username: string;
271
- password: string;
272
- }
273
- declare class AXCUserPassStrategyMock extends AXPAuthStrategy {
274
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
275
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
276
- router: Router;
277
- constructor();
278
- private entityRegistery;
279
- private deviceSessionsService;
280
- get name(): string;
281
- signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
282
- private createDeviceSession;
283
- private getDeviceName;
284
- private getOperatingSystem;
285
- private getBrowser;
286
- signout(): Promise<void>;
287
- refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
288
- updateToken(params: {
289
- [key: string]: any;
290
- }): Promise<AXPSignInResult>;
291
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCUserPassStrategyMock, never>;
292
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCUserPassStrategyMock>;
293
- }
294
-
295
- declare class AXCGoogleStrategyMock extends AXPAuthStrategy {
296
- tenantLoader: _acorex_platform_auth.AXPTenantLoader;
297
- protected configs: AXMAuthConfigs;
298
- private externalAuthorizationService;
299
- applicationLoader: _acorex_platform_auth.AXPApplicationLoader;
300
- router: Router;
301
- constructor();
302
- get name(): string;
303
- signin(credentials: AXPBaseCredentials): Promise<void>;
304
- signout(): Promise<void>;
305
- refreshToken(context: AXPSessionContext): Promise<AXPSignInResult>;
306
- updateToken(params: {
307
- [key: string]: any;
308
- }): Promise<AXPSignInResult>;
309
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCGoogleStrategyMock, never>;
310
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCGoogleStrategyMock>;
311
- }
312
-
313
- declare class AXCDexieEntityStorageService extends Dexie implements AXPEntityStorageService<string, any> {
314
- private sessionService;
315
- constructor();
316
- get dbName(): string;
317
- /**
318
- * Seed the storage with the provided collection only if it has not been
319
- * inserted before.
320
- *
321
- * Rather than relying on the total record count, we inspect whether the first
322
- * item of the incoming collection (identified by its `id`) already exists in
323
- * the table for the given `entityName`. If it exists, the data has already
324
- * been seeded and no action is taken; otherwise, the entire collection is
325
- * bulk-inserted.
326
- */
327
- initial<T = any>(entityName: string, collection: T[], options?: {
328
- mergeType: 'merge' | 'replace';
329
- uniqueKeys: string[];
330
- }): Promise<T[]>;
331
- getOne<T = any>(entityName: string, id: string): Promise<T>;
332
- updateOne<T = any>(entityName: string, id: string, keyValue: {
333
- [key: string]: any;
334
- }): Promise<T>;
335
- deleteOne(entityName: string, id: string): Promise<void>;
336
- insertOne<T = any>(entityName: string, entity: T): Promise<string>;
337
- getAll<T = any>(entityName: string): Promise<T[]>;
338
- query<T = any>(entityName: string, request: AXPQueryRequest): Promise<AXPPagedListResult<T>>;
339
- /**
340
- * Check if the entity is a category entity (ends with 'Category')
341
- */
342
- private isCategoryEntity;
343
- /**
344
- * Calculate childrenCount for each category entity
345
- */
346
- private calculateChildrenCounts;
347
- /**
348
- * Get the count of direct children for a category
349
- */
350
- private getDirectChildCount;
351
- /**
352
- * Check if the filter is a category filter (contains operator on categoryIds field)
353
- * Handles both simple filters and compound filters
354
- */
355
- private isCategoryFilter;
356
- /**
357
- * Apply recursive category filtering - finds entities that belong to the category or any of its children
358
- */
359
- private applyRecursiveCategoryFilter;
360
- /**
361
- * Recursively gets all child category IDs including the parent category itself
362
- */
363
- private getAllChildCategoryIds;
364
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCDexieEntityStorageService, never>;
365
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCDexieEntityStorageService>;
366
- }
367
-
368
- /**
369
- * Mock implementation of module access control service.
370
- * Checks if module is enabled in edition.modulesAndFeatures.modules.
371
- * This is the default behavior - modules are accessible if they're in the edition configuration.
372
- */
373
- declare class MockModuleAccessControlService implements AXPModuleAccessControlService {
374
- checkAccess(manifest: AXPModuleManifest, context: AXPModuleAccessContext): boolean;
375
- static ɵfac: i0.ɵɵFactoryDeclaration<MockModuleAccessControlService, never>;
376
- static ɵprov: i0.ɵɵInjectableDeclaration<MockModuleAccessControlService>;
377
- }
378
-
379
- declare const APPLICATIONS: AXMApplicationManagementApplicationEntityModel[];
380
-
381
- declare class AXCApplicationDataSeeder implements AXPDataSeeder {
382
- private readonly storageService;
383
- seed(): Promise<void>;
384
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCApplicationDataSeeder, never>;
385
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCApplicationDataSeeder>;
386
- }
387
-
388
- declare const EDITIONS: AXMApplicationManagementEditionEntityModel[];
389
- declare const SHOP_BASIC: AXMApplicationManagementEditionEntityModel;
390
- declare const SHOP_PRO: AXMApplicationManagementEditionEntityModel;
391
- declare const SHOP_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
392
- declare const FINANCE_BASIC: AXMApplicationManagementEditionEntityModel;
393
- declare const FINANCE_PRO: AXMApplicationManagementEditionEntityModel;
394
- declare const FINANCE_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
395
- declare const ORDERING_BASIC: AXMApplicationManagementEditionEntityModel;
396
- declare const ORDERING_STANDARD: AXMApplicationManagementEditionEntityModel;
397
- declare const ORDERING_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
398
- declare const PLATFORM_CONSOLE: AXMApplicationManagementEditionEntityModel;
399
- declare const SAFETYMINDER_BASIC: AXMApplicationManagementEditionEntityModel;
400
- declare const SAFETYMINDER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
401
- declare const SAFETYMINDER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
402
- declare const COSTMANAGER_STANDARD: AXMApplicationManagementEditionEntityModel;
403
- declare const COSTMANAGER_PROFESSIONAL: AXMApplicationManagementEditionEntityModel;
404
- declare const COSTMANAGER_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
405
- declare const CRM_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
406
- declare const HR_ENTERPRISE: AXMApplicationManagementEditionEntityModel;
407
-
408
- declare class AXCEditionDataSeeder implements AXPDataSeeder {
409
- private readonly storageService;
410
- seed(): Promise<void>;
411
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCEditionDataSeeder, never>;
412
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCEditionDataSeeder>;
413
- }
414
-
415
- declare class AXCAppVersionDataSeeder implements AXPDataSeeder {
416
- private storageService;
417
- private appVersionService;
418
- seed(): Promise<void>;
419
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppVersionDataSeeder, never>;
420
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppVersionDataSeeder>;
421
- }
422
-
423
- declare class AXCAppTermDataSeeder implements AXPDataSeeder {
424
- private storageService;
425
- seed(): Promise<void>;
426
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCAppTermDataSeeder, never>;
427
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCAppTermDataSeeder>;
428
- }
429
-
430
- interface QuestionBankItemMockDto extends AXPCategorizedEntityDto {
431
- id: string;
432
- title: string;
433
- description?: string;
434
- interface?: any;
435
- scoringType?: 'none' | 'points' | 'weighted' | 'formula';
436
- points?: number;
437
- weight?: number;
438
- correctAnswer?: any;
439
- difficulty?: 'easy' | 'medium' | 'hard';
440
- estimatedTime?: number;
441
- categoryIds: string[];
442
- categories: {
443
- id: string;
444
- title: string;
445
- }[];
446
- createdAt: Date;
447
- updatedAt: Date;
448
- }
449
- declare const QUESTION_BANK_ITEM_CATEGORY_MOCK: AXPCategoryEntity<string>[];
450
- declare const questionBankItemMock: QuestionBankItemMockDto[];
451
-
452
- interface QuestionnaireMockDto extends AXPCategorizedEntityDto {
453
- id: string;
454
- title: string;
455
- description?: string;
456
- type: 'questionnaire' | 'survey' | 'checklist' | 'test' | 'evaluation';
457
- structure?: {
458
- sections: Array<{
459
- id: string;
460
- title: string;
461
- description?: string;
462
- order: number;
463
- visibilityCondition?: string;
464
- scoringWeight?: number;
465
- items: Array<{
466
- id: string;
467
- questionBankItemId: string;
468
- order: number;
469
- isRequired?: boolean;
470
- visibilityCondition?: string;
471
- requiredCondition?: string;
472
- scoringOverride?: {
473
- points?: number;
474
- weight?: number;
475
- };
476
- }>;
477
- }>;
478
- displaySettings?: {
479
- viewMode?: 'single-page' | 'page-per-group' | 'page-per-question';
480
- showProgressBar?: boolean;
481
- showTimer?: boolean;
482
- showSectionTitles?: boolean;
483
- showQuestionNumbers?: boolean;
484
- };
485
- };
486
- scoringType: 'none' | 'cumulative' | 'weighted' | 'formula';
487
- passingScore?: number;
488
- scoringFormula?: string;
489
- evaluationRules?: string;
490
- gradingScale?: string;
491
- timeLimit?: number;
492
- allowPause: boolean;
493
- allowBackNavigation: boolean;
494
- randomizeQuestions: boolean;
495
- requireAllAnswers: boolean;
496
- categoryIds: string[];
497
- categories: {
498
- id: string;
499
- title: string;
500
- }[];
501
- createdAt: Date;
502
- updatedAt: Date;
503
- }
504
- declare const QUESTIONNAIRE_CATEGORY_MOCK: AXPCategoryEntity<string>[];
505
- declare const questionnaireMock: QuestionnaireMockDto[];
506
-
507
- declare class AXMQuestionBankItemCategoryDataSeeder implements AXPDataSeeder {
508
- private storage;
509
- seed(): Promise<void>;
510
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionBankItemCategoryDataSeeder, never>;
511
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionBankItemCategoryDataSeeder>;
512
- }
513
-
514
- declare class AXMQuestionnaireCategoryDataSeeder implements AXPDataSeeder {
515
- private storage;
516
- seed(): Promise<void>;
517
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireCategoryDataSeeder, never>;
518
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireCategoryDataSeeder>;
519
- }
520
-
521
- declare class AXMQuestionBankItemDataSeeder implements AXPDataSeeder {
522
- private storage;
523
- seed(): Promise<void>;
524
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionBankItemDataSeeder, never>;
525
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionBankItemDataSeeder>;
526
- }
527
-
528
- declare class AXMQuestionnaireDataSeeder implements AXPDataSeeder {
529
- private storage;
530
- seed(): Promise<void>;
531
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMQuestionnaireDataSeeder, never>;
532
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMQuestionnaireDataSeeder>;
533
- }
534
-
535
- declare const assessmentCaseMock: {
536
- id: string;
537
- questionnaireId: string;
538
- questionnaire: {
539
- id: string;
540
- title: string;
541
- type: "checklist" | "questionnaire" | "survey" | "test" | "evaluation";
542
- };
543
- title: string;
544
- description: string;
545
- subjectRef: {
546
- type: string;
547
- id: string;
548
- title: string;
549
- };
550
- statusId: string;
551
- createdAt: Date;
552
- updatedAt: Date;
553
- }[];
554
-
555
- declare class AXMAssessmentCaseDataSeeder implements AXPDataSeeder {
556
- private storage;
557
- seed(): Promise<void>;
558
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentCaseDataSeeder, never>;
559
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentCaseDataSeeder>;
560
- }
561
-
562
- declare const assessmentSessionMock: ({
563
- id: string;
564
- caseId: string;
565
- case: {
566
- id: string;
567
- title: string;
568
- };
569
- responderId: string;
570
- responder: {
571
- id: string;
572
- displayName: string;
573
- };
574
- role: string;
575
- statusId: string;
576
- startedAt: Date;
577
- lastSavedAt: Date;
578
- timeSpent: number;
579
- progressPercentage: number;
580
- answeredQuestionsCount: number;
581
- answers: {
582
- 'item-1': {
583
- value: string;
584
- };
585
- 'item-2': {
586
- value: number;
587
- };
588
- 'item-3': {
589
- value: string;
590
- };
591
- 'item-4': {
592
- value: string;
593
- };
594
- 'item-5': {
595
- value: string;
596
- };
597
- 'item-6': {
598
- value: string;
599
- };
600
- 'item-7'?: undefined;
601
- 'item-8'?: undefined;
602
- 'item-9'?: undefined;
603
- 'item-10'?: undefined;
604
- };
605
- createdAt: Date;
606
- updatedAt: Date;
607
- previousId?: undefined;
608
- } | {
609
- id: string;
610
- caseId: string;
611
- case: {
612
- id: string;
613
- title: string;
614
- };
615
- responderId: string;
616
- responder: {
617
- id: string;
618
- displayName: string;
619
- };
620
- role: string;
621
- statusId: string;
622
- startedAt: Date;
623
- lastSavedAt: Date;
624
- timeSpent: number;
625
- progressPercentage: number;
626
- answeredQuestionsCount: number;
627
- answers: {
628
- 'item-1': {
629
- value: string;
630
- };
631
- 'item-2': {
632
- value: number;
633
- };
634
- 'item-3': {
635
- value: string;
636
- };
637
- 'item-4': {
638
- value: string;
639
- };
640
- 'item-5': {
641
- value: string;
642
- };
643
- 'item-6': {
644
- value: string;
645
- };
646
- 'item-7': {
647
- value: string;
648
- };
649
- 'item-8': {
650
- value: string;
651
- };
652
- 'item-9': {
653
- value: string;
654
- };
655
- 'item-10': {
656
- value: string;
657
- };
658
- };
659
- createdAt: Date;
660
- updatedAt: Date;
661
- previousId?: undefined;
662
- } | {
663
- id: string;
664
- caseId: string;
665
- case: {
666
- id: string;
667
- title: string;
668
- };
669
- responderId: string;
670
- responder: {
671
- id: string;
672
- displayName: string;
673
- };
674
- role: string;
675
- statusId: string;
676
- previousId: string;
677
- startedAt: Date;
678
- lastSavedAt: Date;
679
- timeSpent: number;
680
- progressPercentage: number;
681
- answeredQuestionsCount: number;
682
- answers: {
683
- 'item-1': {
684
- value: string;
685
- };
686
- 'item-2': {
687
- value: number;
688
- };
689
- 'item-3': {
690
- value: string;
691
- };
692
- 'item-4': {
693
- value: string;
694
- };
695
- 'item-5': {
696
- value: string;
697
- };
698
- 'item-6': {
699
- value: string;
700
- };
701
- 'item-7': {
702
- value: string;
703
- };
704
- 'item-8': {
705
- value: string;
706
- };
707
- 'item-9': {
708
- value: string;
709
- };
710
- 'item-10': {
711
- value: string;
712
- };
713
- };
714
- createdAt: Date;
715
- updatedAt: Date;
716
- } | {
717
- id: string;
718
- caseId: string;
719
- case: {
720
- id: string;
721
- title: string;
722
- };
723
- responderId: string;
724
- responder: {
725
- id: string;
726
- displayName: string;
727
- };
728
- role: string;
729
- statusId: string;
730
- progressPercentage: number;
731
- answeredQuestionsCount: number;
732
- answers: {
733
- 'item-1'?: undefined;
734
- 'item-2'?: undefined;
735
- 'item-3'?: undefined;
736
- 'item-4'?: undefined;
737
- 'item-5'?: undefined;
738
- 'item-6'?: undefined;
739
- 'item-7'?: undefined;
740
- 'item-8'?: undefined;
741
- 'item-9'?: undefined;
742
- 'item-10'?: undefined;
743
- };
744
- createdAt: Date;
745
- updatedAt: Date;
746
- startedAt?: undefined;
747
- lastSavedAt?: undefined;
748
- timeSpent?: undefined;
749
- previousId?: undefined;
750
- } | {
751
- id: string;
752
- caseId: string;
753
- case: {
754
- id: string;
755
- title: string;
756
- };
757
- responderId: string;
758
- responder: {
759
- id: string;
760
- displayName: string;
761
- };
762
- role: string;
763
- statusId: string;
764
- startedAt: Date;
765
- lastSavedAt: Date;
766
- timeSpent: number;
767
- progressPercentage: number;
768
- answeredQuestionsCount: number;
769
- answers: {
770
- 'item-1': {
771
- value: string;
772
- };
773
- 'item-2': {
774
- value: string;
775
- };
776
- 'item-3': {
777
- value: string;
778
- };
779
- 'item-4'?: undefined;
780
- 'item-5'?: undefined;
781
- 'item-6'?: undefined;
782
- 'item-7'?: undefined;
783
- 'item-8'?: undefined;
784
- 'item-9'?: undefined;
785
- 'item-10'?: undefined;
786
- };
787
- createdAt: Date;
788
- updatedAt: Date;
789
- previousId?: undefined;
790
- })[];
791
-
792
- declare class AXMAssessmentSessionDataSeeder implements AXPDataSeeder {
793
- private storage;
794
- seed(): Promise<void>;
795
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAssessmentSessionDataSeeder, never>;
796
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAssessmentSessionDataSeeder>;
797
- }
798
-
799
- declare class AXCTokensDataSeeder implements AXPDataSeeder {
800
- private storageService;
801
- seed(): Promise<void>;
802
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTokensDataSeeder, never>;
803
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTokensDataSeeder>;
804
- }
805
-
806
- declare const TOKENS: {
807
- id: string;
808
- name: string;
809
- title: string;
810
- description: string;
811
- type: "Expression" | "String" | "Integer" | "Boolean";
812
- expression: string;
813
- }[];
814
-
815
- /**
816
- * Tenant ID constants for use across mock data.
817
- * These are generated once and exported to ensure consistency.
818
- */
819
- declare const PLATFORM_TENANT_ID: string;
820
- declare const TIMEPLICITY_TENANT_ID: string;
821
- declare const LASER_PLUMBING_TENANT_ID: string;
822
-
823
- declare const tenantMocks: AXMTenantManagementTenantEntityModel[];
824
-
825
- declare class AXCTenantSeeder implements AXPDataSeeder {
826
- private readonly storageService;
827
- seed(): Promise<void>;
828
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCTenantSeeder, never>;
829
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCTenantSeeder>;
830
- }
831
-
832
- declare class AXPSecurityManagementRoleDataSeeder implements AXPDataSeeder {
833
- private storageService;
834
- seed(): Promise<void>;
835
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementRoleDataSeeder, never>;
836
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementRoleDataSeeder>;
837
- }
838
-
839
- declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
840
- private storageService;
841
- seed(): Promise<void>;
842
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPSecurityManagementUserDataSeeder, never>;
843
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPSecurityManagementUserDataSeeder>;
844
- }
845
-
846
- type RoleMockDto = AXMSecurityManagementRolesEntityModel;
847
- declare const mockRoleDefinitions: RoleMockDto[];
848
-
849
- interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
850
- id: string;
851
- username: string;
852
- displayName: string;
853
- roleIds: string[];
854
- roles: {
855
- id: string;
856
- title: string;
857
- }[];
858
- password: string;
859
- }
860
- declare const mockUsers: AXCMockUserMockDto[];
861
-
862
- interface AXCBusinessUnitMockDto {
863
- id: string;
864
- title: string;
865
- description?: string;
866
- typeId: string;
867
- parentId?: string | null;
868
- countryId?: string | null;
869
- stateId?: string | null;
870
- cityId?: string | null;
871
- country?: {
872
- id: string;
873
- title: string;
874
- } | null;
875
- state?: {
876
- id: string;
877
- title: string;
878
- } | null;
879
- city?: {
880
- id: string;
881
- title: string;
882
- } | null;
883
- parent?: {
884
- id: string;
885
- title: string;
886
- } | null;
887
- type: {
888
- id: string;
889
- title: string;
890
- } | null;
891
- positionIds?: string[];
892
- positions?: {
893
- id: string;
894
- title: string;
895
- }[];
896
- }
897
- declare const BUSINESS_UNITS_MOCK: AXCBusinessUnitMockDto[];
898
-
899
- declare class AXMBusinessUnitDataSeeder implements AXPDataSeeder {
900
- private storage;
901
- seed(): Promise<void>;
902
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMBusinessUnitDataSeeder, never>;
903
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMBusinessUnitDataSeeder>;
904
- }
905
-
906
- declare function findEmployeeById(employeeId: string): AXCEmployeeMockDto | undefined;
907
- interface AXCEmployeeMockDto {
908
- id: string;
909
- userId?: string;
910
- personId: string;
911
- person: {
912
- id: string;
913
- displayName: string;
914
- };
915
- birthDate: Date;
916
- employeeCode: string;
917
- jobDefinitionId: string;
918
- jobDefinition: {
919
- id: string;
920
- title: string;
921
- };
922
- employmentTypeId: string;
923
- employmentType: {
924
- id: string;
925
- title: string;
926
- };
927
- hireDate: Date;
928
- managerId: string | null;
929
- manager: AXCEmployeeMockDto | null;
930
- imageId: string[];
931
- }
932
- declare const EMPLOYEES_MOCK: AXCEmployeeMockDto[];
933
-
934
- type AXCEmployeeMock = (typeof EMPLOYEES_MOCK)[number];
935
- interface AXCTeamMockDto {
936
- id: string;
937
- title: string;
938
- description: string;
939
- leaderId: string;
940
- leader: AXCEmployeeMock;
941
- managerId: string;
942
- manager: AXCEmployeeMock;
943
- memberIds: string[];
944
- members: AXCEmployeeMock[];
945
- }
946
- interface AXCTeamMockDto {
947
- id: string;
948
- title: string;
949
- description: string;
950
- leaderId: string;
951
- leader: AXCEmployeeMock;
952
- managerId: string;
953
- manager: AXCEmployeeMock;
954
- memberIds: string[];
955
- members: AXCEmployeeMock[];
956
- }
957
- declare const TEAMS_MOCK: AXCTeamMockDto[];
958
-
959
- declare class AXMTeamDataSeeder implements AXPDataSeeder {
960
- private storageService;
961
- seed(): Promise<void>;
962
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTeamDataSeeder, never>;
963
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTeamDataSeeder>;
964
- }
965
-
966
- interface PositionMockDto extends AXPCategorizedEntityDto {
967
- id: string;
968
- code: string;
969
- title: string;
970
- description: string;
971
- categoryIds: string[];
972
- categories: {
973
- id: string;
974
- title: string;
975
- }[];
976
- jobLevelId: string;
977
- jobLevel?: {
978
- id: string;
979
- title: string;
980
- };
981
- jobDefinitionId?: string;
982
- jobDefinition?: {
983
- id: string;
984
- title: string;
985
- };
986
- businessUnitId?: string;
987
- businessUnit?: {
988
- id: string;
989
- title: string;
990
- };
991
- capacity?: number;
992
- }
993
- declare const POSITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
994
- declare const POSITIONS_MOCK: PositionMockDto[];
995
-
996
- declare class AXMPositionDataSeeder implements AXPDataSeeder {
997
- private storageService;
998
- seed(): Promise<void>;
999
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionDataSeeder, never>;
1000
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionDataSeeder>;
1001
- }
1002
-
1003
- interface JobDefinitionMockDto extends AXPCategorizedEntityDto {
1004
- id: string;
1005
- title: string;
1006
- description: string;
1007
- categoryIds: string[];
1008
- categories: {
1009
- id: string;
1010
- title: string;
1011
- }[];
1012
- responsibilitiesId: string[];
1013
- responsibilities: {
1014
- id: string;
1015
- title: string;
1016
- }[];
1017
- skillRequirements?: AXPSpreadsheetData;
1018
- }
1019
- declare const JOB_DEFINITIONS_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1020
- declare const JOB_DEFINITIONS_MOCK: JobDefinitionMockDto[];
1021
-
1022
- declare class AXMJobDefinitionDataSeeder implements AXPDataSeeder {
1023
- private storageService;
1024
- seed(): Promise<void>;
1025
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobDefinitionDataSeeder, never>;
1026
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobDefinitionDataSeeder>;
1027
- }
1028
-
1029
- interface JobLevelMockDto {
1030
- id: string;
1031
- title: string;
1032
- description?: string;
1033
- order: number;
1034
- }
1035
- declare const JOB_LEVELS_MOCK: JobLevelMockDto[];
1036
-
1037
- declare class AXMJobLevelDataSeeder implements AXPDataSeeder {
1038
- private storageService;
1039
- seed(): Promise<void>;
1040
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMJobLevelDataSeeder, never>;
1041
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMJobLevelDataSeeder>;
1042
- }
1043
-
1044
- interface ResponsibilityMockDto extends AXPCategorizedEntityDto {
1045
- id: string;
1046
- title: string;
1047
- description: string;
1048
- categoryIds: string[];
1049
- categories: {
1050
- id: string;
1051
- title: string;
1052
- }[];
1053
- }
1054
- declare const RESPONSIBILITIES_CATEGORY_MOCK: AXPCategoryEntity<string>[];
1055
- declare const RESPONSIBILITIES_MOCK: ResponsibilityMockDto[];
1056
-
1057
- declare class AXMResponsibilityDataSeeder implements AXPDataSeeder {
1058
- private storageService;
1059
- seed(): Promise<void>;
1060
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMResponsibilityDataSeeder, never>;
1061
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMResponsibilityDataSeeder>;
1062
- }
1063
-
1064
- declare class AXMEmployeeDataSeeder implements AXPDataSeeder {
1065
- private storageService;
1066
- seed(): Promise<void>;
1067
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmployeeDataSeeder, never>;
1068
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmployeeDataSeeder>;
1069
- }
1070
-
1071
- interface AXCPositionAssignmentMockDto {
1072
- id: string;
1073
- employeeId: string;
1074
- employee?: any;
1075
- positionId: string;
1076
- position?: any;
1077
- businessUnitId: string;
1078
- businessUnit?: any;
1079
- startDate: Date;
1080
- endDate?: Date | null;
1081
- isPrimary?: boolean;
1082
- notes?: string;
1083
- }
1084
- declare const POSITION_ASSIGNMENTS_MOCK: AXCPositionAssignmentMockDto[];
1085
-
1086
- declare class AXMPositionAssignmentDataSeeder implements AXPDataSeeder {
1087
- private storageService;
1088
- seed(): Promise<void>;
1089
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMPositionAssignmentDataSeeder, never>;
1090
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMPositionAssignmentDataSeeder>;
1091
- }
1092
-
1093
- declare const EMPLOYMENT_TYPES_MOCK: any[];
1094
-
1095
- declare class AXMEmploymentTypeDataSeeder implements AXPDataSeeder {
1096
- private storageService;
1097
- seed(): Promise<void>;
1098
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMEmploymentTypeDataSeeder, never>;
1099
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMEmploymentTypeDataSeeder>;
1100
- }
1101
-
1102
- declare const LEAVE_REQUEST_STATUS_DEFINITIONS: readonly [{
1103
- readonly name: _acorex_platform_common.AXPSystemStatusType.Pending;
1104
- readonly title: string;
1105
- readonly icon: "fa-light fa-clock";
1106
- readonly color: "warning";
1107
- readonly description: string;
1108
- readonly order: 1;
1109
- readonly isInitial: true;
1110
- readonly isFinal: false;
1111
- }, {
1112
- readonly name: _acorex_platform_common.AXPSystemStatusType.Approved;
1113
- readonly title: string;
1114
- readonly icon: "fa-light fa-check-circle";
1115
- readonly color: "success";
1116
- readonly description: string;
1117
- readonly order: 3;
1118
- readonly isInitial: false;
1119
- readonly isFinal: false;
1120
- }, {
1121
- readonly name: _acorex_platform_common.AXPSystemStatusType.Rejected;
1122
- readonly title: string;
1123
- readonly icon: "fa-light fa-times-circle";
1124
- readonly color: "danger";
1125
- readonly description: string;
1126
- readonly order: 6;
1127
- readonly isInitial: false;
1128
- readonly isFinal: true;
1129
- }, {
1130
- readonly name: _acorex_platform_common.AXPSystemStatusType.Cancelled;
1131
- readonly title: string;
1132
- readonly icon: "fa-light fa-times-circle";
1133
- readonly color: "neutral";
1134
- readonly description: string;
1135
- readonly order: 6;
1136
- readonly isInitial: false;
1137
- readonly isFinal: true;
1138
- }];
1139
- type LeaveRequestStatusId = (typeof LEAVE_REQUEST_STATUS_DEFINITIONS)[number]['name'];
1140
- interface AXCLeaveRequestMockDto {
1141
- id: string;
1142
- employeeId: string;
1143
- employee?: any;
1144
- leaveTypeId: string;
1145
- leaveType?: any;
1146
- startDate: Date;
1147
- endDate: Date;
1148
- durationDays: number;
1149
- reason?: string;
1150
- statusId: LeaveRequestStatusId;
1151
- status?: {
1152
- id: LeaveRequestStatusId;
1153
- title: string;
1154
- };
1155
- }
1156
- declare const LEAVE_REQUESTS_MOCK: AXCLeaveRequestMockDto[];
1157
-
1158
- declare class AXMLeaveRequestDataSeeder implements AXPDataSeeder {
1159
- private storageService;
1160
- seed(): Promise<void>;
1161
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMLeaveRequestDataSeeder, never>;
1162
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMLeaveRequestDataSeeder>;
1163
- }
1164
-
1165
- interface PersonMockData {
1166
- id: string;
1167
- firstName: string;
1168
- lastName: string;
1169
- displayName: string;
1170
- email: string;
1171
- mobile: string;
1172
- gender: string;
1173
- type: string;
1174
- }
1175
- declare function findPersonById(id: string): PersonMockData | null;
1176
-
1177
- declare function findContactMethod(referenceId: string, type: string): string | undefined;
1178
-
1179
- declare class AXCJsaSeeder implements AXPDataSeeder {
1180
- private storageService;
1181
- seed(): Promise<void>;
1182
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCJsaSeeder, never>;
1183
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCJsaSeeder>;
1184
- }
1185
-
1186
- interface TaskType {
1187
- id: string;
1188
- name: string;
1189
- title: string;
1190
- description: string;
1191
- icon: string;
1192
- color: string;
1193
- isActive: boolean;
1194
- order: number;
1195
- features: string[];
1196
- workflowSteps: string[];
1197
- estimatedHours: number;
1198
- priority: string;
1199
- category: string;
1200
- }
1201
- declare const TASK_TYPES: TaskType[];
1202
- interface TaskStatus {
1203
- id: string;
1204
- taskTypeId: string;
1205
- name: string;
1206
- title: string;
1207
- description: string;
1208
- color: string;
1209
- icon: string;
1210
- isInitial: boolean;
1211
- isFinal: boolean;
1212
- order: number;
1213
- nextStatuses: string[];
1214
- isActive: boolean;
1215
- }
1216
- declare const TASK_STATUSES: TaskStatus[];
1217
- interface Task {
1218
- id: string;
1219
- title: string;
1220
- description: string;
1221
- taskTypeId: string;
1222
- taskStatusId: string;
1223
- priority: string;
1224
- estimatedHours: number;
1225
- actualHours: number;
1226
- startDate: Date;
1227
- dueDate: Date;
1228
- completedDate?: Date;
1229
- assignedToUserId: string;
1230
- createdByUserId: string;
1231
- tags: string[];
1232
- progress: number;
1233
- isActive: boolean;
1234
- }
1235
- declare const TASKS: Task[];
1236
- interface TaskTemplate {
1237
- id: string;
1238
- name: string;
1239
- title: string;
1240
- description: string;
1241
- taskTypeId: string;
1242
- templateData: {
1243
- title: string;
1244
- description: string;
1245
- estimatedHours: number;
1246
- priority: string;
1247
- tags: string[];
1248
- checklistItems: Array<{
1249
- title: string;
1250
- description?: string;
1251
- order: number;
1252
- }>;
1253
- };
1254
- isPublic: boolean;
1255
- createdBy: string;
1256
- }
1257
- declare const TASK_TEMPLATES: TaskTemplate[];
1258
-
1259
- declare class AXCWorkflowManagementMockModule {
1260
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowManagementMockModule, never>;
1261
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkflowManagementMockModule, never, never, never>;
1262
- static ɵinj: i0.ɵɵInjectorDeclaration<AXCWorkflowManagementMockModule>;
1263
- }
1264
-
1265
- /**
1266
- * Mock workflow definition entities for the entity list.
1267
- */
1268
- declare const workflowDefinitionEntityMock: AXMWorkflowManagementWorkflowDefinitionEntityModel[];
1269
-
1270
- declare class AXCWorkflowDefinitionDataSeeder implements AXPDataSeeder {
1271
- private readonly storageService;
1272
- seed(): Promise<void>;
1273
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowDefinitionDataSeeder, never>;
1274
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowDefinitionDataSeeder>;
1275
- }
1276
-
1277
- type extraFields$1 = {
1278
- recievedDate: Date;
1279
- };
1280
- declare class AXPTaskBoardProjectManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields$1> {
1281
- private calendarService;
1282
- private list;
1283
- get name(): string;
1284
- get title(): string;
1285
- get icon(): string;
1286
- /**
1287
- * Retrieves a list of tasks, applying all provided filters and pagination.
1288
- * @param options Filtering and pagination options.
1289
- * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
1290
- */
1291
- getTasks(options?: AXPTaskFilter): Promise<{
1292
- items: AXPTask<extraFields$1>[];
1293
- total: number;
1294
- }>;
1295
- /**
1296
- * Updates one or more tasks in the provider's list.
1297
- * This method finds each task by its ID and applies the new properties from the input.
1298
- * It also automatically recalculates the `allDay` flag based on the task's duration.
1299
- * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
1300
- * @returns An array of the tasks that were successfully updated.
1301
- */
1302
- updateTasks(tasksToUpdate: AXPTask<extraFields$1>[]): Promise<AXPTask<extraFields$1>[]>;
1303
- private isDurationMoreThan24Hours;
1304
- executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
1305
- getActions(task?: AXPTask<extraFields$1>): Promise<AXPActionMenuItem[]>;
1306
- getExtraFields(): Promise<AXPExtraField[]>;
1307
- getStatuses(): Promise<AXPTaskStatus[]>;
1308
- }
1309
-
1310
- type extraFields = {
1311
- recievedDate: Date;
1312
- };
1313
- declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields> {
1314
- private calendarService;
1315
- private list;
1316
- get name(): string;
1317
- get title(): string;
1318
- get icon(): string;
1319
- /**
1320
- * Retrieves a list of tasks, applying all provided filters and pagination.
1321
- * @param options Filtering and pagination options.
1322
- * @returns A promise resolving to the paginated list of tasks and the total count of filtered tasks.
1323
- */
1324
- getTasks(options?: AXPTaskFilter): Promise<{
1325
- items: AXPTask<extraFields>[];
1326
- total: number;
1327
- }>;
1328
- /**
1329
- * Updates one or more tasks in the provider's list.
1330
- * This method finds each task by its ID and applies the new properties from the input.
1331
- * It also automatically recalculates the `allDay` flag based on the task's duration.
1332
- * @param tasksToUpdate An array of task objects to update. Each object must have an `id`.
1333
- * @returns An array of the tasks that were successfully updated.
1334
- */
1335
- updateTasks(tasksToUpdate: AXPTask<extraFields>[]): Promise<AXPTask<extraFields>[]>;
1336
- private isDurationMoreThan24Hours;
1337
- executeCommand(command: AXPExecuteCommand): Promise<AXPExecuteCommandResult>;
1338
- getActions(task?: AXPTask<extraFields>): Promise<AXPActionMenuItem[]>;
1339
- getExtraFields(): Promise<AXPExtraField[]>;
1340
- getStatuses(): Promise<AXPTaskStatus[]>;
1341
- }
1342
-
1343
- declare class AXMAiResponderService {
1344
- private readonly geminiApiKey;
1345
- getAIResponse(prompt: string): Promise<string>;
1346
- private getRandomReply;
1347
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMAiResponderService, never>;
1348
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMAiResponderService>;
1349
- }
1350
-
1351
- declare class AXPMessageDataSeeder implements AXPDataSeeder {
1352
- private storageService;
1353
- private chatService;
1354
- private chatRealtimeService;
1355
- private commentService;
1356
- private commentRealtimeService;
1357
- private aiResponderService;
1358
- private usersService;
1359
- private sessionService;
1360
- private userNameCache;
1361
- private getUserName;
1362
- seed(): Promise<void>;
1363
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMessageDataSeeder, never>;
1364
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMessageDataSeeder>;
1365
- }
1366
-
1367
- declare class AXPRoomDataSeeder implements AXPDataSeeder {
1368
- private storageService;
1369
- seed(): Promise<void>;
1370
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPRoomDataSeeder, never>;
1371
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPRoomDataSeeder>;
1372
- }
1373
-
1374
- declare class AXMFormDataSourcesProvider implements AXPDataSourceDefinitionProvider {
1375
- private yesNoOptions;
1376
- private yesNoNaOptions;
1377
- private booleanOptions;
1378
- private weatherConditions;
1379
- private visibilityLevels;
1380
- private workAreas;
1381
- private departments;
1382
- private permitTypes;
1383
- private approvalStatus;
1384
- private workCompletionStatus;
1385
- private trainingStatus;
1386
- private certificationStatus;
1387
- private priorityLevels;
1388
- private incidentTypes;
1389
- private severityLevels;
1390
- items(): Promise<AXPDataSourceDefinition[]>;
1391
- }
1392
-
1393
- declare class AXCMetaDataDefinitionDataSeeder implements AXPDataSeeder {
1394
- private storageService;
1395
- seed(): Promise<void>;
1396
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetaDataDefinitionDataSeeder, never>;
1397
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetaDataDefinitionDataSeeder>;
1398
- }
1399
-
1400
- interface CategoryMetadataInheritanceQueryParams {
1401
- entityName: string;
1402
- categoryId: string;
1403
- }
1404
- /**
1405
- * Result structure that preserves groups organization
1406
- */
1407
- interface CategoryMetadataInheritanceGroupResult {
1408
- name: string;
1409
- title?: string;
1410
- description?: string;
1411
- order: number;
1412
- fields: Array<{
1413
- id: string;
1414
- name: string;
1415
- title: string;
1416
- description?: string;
1417
- interface: string;
1418
- configuration?: any;
1419
- defaultValue?: any;
1420
- order: number;
1421
- }>;
1422
- }
1423
- type CategoryMetadataInheritanceResult = CategoryMetadataInheritanceGroupResult[];
1424
- declare class AXCQueryCategoryMetadataInheritanceQuery implements AXPQuery<CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult> {
1425
- private injector;
1426
- private metaDataService;
1427
- fetch(params: CategoryMetadataInheritanceQueryParams): Promise<CategoryMetadataInheritanceResult>;
1428
- private findCategoryById;
1429
- private buildCategoryHierarchy;
1430
- /**
1431
- * Merge metadata groups from category hierarchy, preserving group structure
1432
- * Groups are merged by name, with fields from child categories taking precedence
1433
- */
1434
- private mergeMetadataGroupsFromHierarchy;
1435
- private collectInheritedMetadata;
1436
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCQueryCategoryMetadataInheritanceQuery, never>;
1437
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCQueryCategoryMetadataInheritanceQuery>;
1438
- }
1439
-
1440
- type MetadataCategoryMockDto = AXPCategoryEntity;
1441
- declare const metadataCategoryMocks: MetadataCategoryMockDto[];
1442
-
1443
- declare class AXCMetadataCategorySeeder implements AXPDataSeeder {
1444
- private readonly storageService;
1445
- seed(): Promise<void>;
1446
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCMetadataCategorySeeder, never>;
1447
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCMetadataCategorySeeder>;
1448
- }
1449
-
1450
- interface AXMTag {
1451
- id: string;
1452
- title: string;
1453
- color: string;
1454
- description?: string;
1455
- scope: 'system' | 'tenant' | 'user';
1456
- createdAt?: Date;
1457
- }
1458
- declare const TAGS_MOCK: AXMTag[];
1459
-
1460
- declare class AXMTagDataSeeder implements AXPDataSeeder {
1461
- private storageService;
1462
- seed(): Promise<void>;
1463
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMTagDataSeeder, never>;
1464
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMTagDataSeeder>;
1465
- }
1466
-
1467
- declare function generateUserDashboard(user: (typeof mockUsers)[0]): AXMCommonDashboardEntityModel;
1468
- declare function createDashboardForUser(dashboardName: string, userId: string, widgetTypesInput: string[]): AXMCommonDashboardEntityModel;
1469
- declare function createAndSaveDashboardForUser(params: {
1470
- name: string;
1471
- userId: string;
1472
- widgetTypes: string[];
1473
- }, injector: Injector): Promise<string>;
1474
- declare const DASHBOARDS: AXMCommonDashboardEntityModel[];
1475
-
1476
- declare class AXPDashboardDataSeeder implements AXPDataSeeder {
1477
- private storageService;
1478
- seed(): Promise<void>;
1479
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPDashboardDataSeeder, never>;
1480
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPDashboardDataSeeder>;
1481
- }
1482
-
1483
- declare class AXMReportCategoryDataSeeder implements AXPDataSeeder {
1484
- private storageService;
1485
- seed(): Promise<void>;
1486
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportCategoryDataSeeder, never>;
1487
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportCategoryDataSeeder>;
1488
- }
1489
-
1490
- declare class AXMReportDefinitionDataSeeder implements AXPDataSeeder {
1491
- private storageService;
1492
- seed(): Promise<void>;
1493
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportDefinitionDataSeeder, never>;
1494
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportDefinitionDataSeeder>;
1495
- }
1496
-
1497
- declare class AXMReportExecuteCommand implements AXPExecutionReportCommand {
1498
- private readonly queryService;
1499
- private readonly reportDefinitionService;
1500
- execute(context: AXPLayoutExecutionContext): Promise<AXPExecuteCommandResult<AXPExecutionReportCommandResult>>;
1501
- /**
1502
- * Extract filters from AXPFilterClause and convert to query filters
1503
- * Maps report parameter paths to actual entity field names
1504
- */
1505
- private extractFiltersFromParameters;
1506
- private normalizeTableResult;
1507
- private normalizeChartResult;
1508
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMReportExecuteCommand, never>;
1509
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMReportExecuteCommand>;
1510
- }
1511
-
1512
- declare const calendarMock: ({
1513
- id: string;
1514
- name: string;
1515
- title: string;
1516
- description: string;
1517
- calendarTypeId: string;
1518
- calendarType: {
1519
- id: string;
1520
- title: string;
1521
- };
1522
- parentId: null;
1523
- parent: null;
1524
- weekends: string[];
1525
- firstDayOfWeek: string;
1526
- workingHours: {
1527
- start: string;
1528
- end: string;
1529
- breakStart: string;
1530
- breakEnd: string;
1531
- };
1532
- timeZone: string;
1533
- isTemplate: boolean;
1534
- isActive: boolean;
1535
- order: number;
1536
- notes: string;
1537
- created: {
1538
- at: Date;
1539
- };
1540
- updated: {
1541
- at: Date;
1542
- };
1543
- scope?: undefined;
1544
- scopeEntityId?: undefined;
1545
- } | {
1546
- id: string;
1547
- name: string;
1548
- title: string;
1549
- description: string;
1550
- calendarTypeId: string;
1551
- calendarType: {
1552
- id: string;
1553
- title: string;
1554
- };
1555
- parentId: null;
1556
- parent: null;
1557
- scope: string;
1558
- scopeEntityId: null;
1559
- weekends: string[];
1560
- firstDayOfWeek: string;
1561
- workingHours: {
1562
- start: string;
1563
- end: string;
1564
- breakStart: string;
1565
- breakEnd: string;
1566
- };
1567
- timeZone: string;
1568
- isTemplate: boolean;
1569
- isActive: boolean;
1570
- order: number;
1571
- notes: string;
1572
- created: {
1573
- at: Date;
1574
- };
1575
- updated: {
1576
- at: Date;
1577
- };
1578
- } | {
1579
- id: string;
1580
- name: string;
1581
- title: string;
1582
- description: string;
1583
- calendarTypeId: string;
1584
- calendarType: {
1585
- id: string;
1586
- title: string;
1587
- };
1588
- parentId: null;
1589
- parent: null;
1590
- scope: string;
1591
- scopeEntityId: string;
1592
- weekends: string[];
1593
- firstDayOfWeek: string;
1594
- workingHours: {
1595
- start: string;
1596
- end: string;
1597
- breakStart: string;
1598
- breakEnd: string;
1599
- };
1600
- timeZone: string;
1601
- isTemplate: boolean;
1602
- isActive: boolean;
1603
- order: number;
1604
- notes: string;
1605
- created: {
1606
- at: Date;
1607
- };
1608
- updated: {
1609
- at: Date;
1610
- };
1611
- })[];
1612
-
1613
- declare class AXCCalendarDataSeeder implements AXPDataSeeder {
1614
- private readonly storageService;
1615
- seed(): Promise<void>;
1616
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarDataSeeder, never>;
1617
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarDataSeeder>;
1618
- }
1619
-
1620
- declare const calendarEventMock: ({
1621
- id: string;
1622
- calendarId: string;
1623
- calendar: {
1624
- id: string;
1625
- title: string;
1626
- };
1627
- title: string;
1628
- description: string;
1629
- typeId: string;
1630
- type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1631
- date: Date;
1632
- isRecurring: boolean;
1633
- recurrenceRule: string;
1634
- isActive: boolean;
1635
- order: number;
1636
- created: {
1637
- at: Date;
1638
- };
1639
- updated: {
1640
- at: Date;
1641
- };
1642
- } | {
1643
- id: string;
1644
- calendarId: string;
1645
- calendar: {
1646
- id: string;
1647
- title: string;
1648
- };
1649
- title: string;
1650
- description: string;
1651
- typeId: string;
1652
- type: _acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
1653
- date: Date;
1654
- isRecurring: boolean;
1655
- recurrenceRule: null;
1656
- isActive: boolean;
1657
- order: number;
1658
- created: {
1659
- at: Date;
1660
- };
1661
- updated: {
1662
- at: Date;
1663
- };
1664
- })[];
1665
-
1666
- declare class AXCCalendarEventDataSeeder implements AXPDataSeeder {
1667
- private readonly storageService;
1668
- seed(): Promise<void>;
1669
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarEventDataSeeder, never>;
1670
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarEventDataSeeder>;
1671
- }
1672
-
1673
- declare const calendarEventTypeMockData: AXMCalendarManagementCalendarEventTypeEntityModel[];
1674
-
1675
- declare class AXMCalendarEventTypeSeeder implements AXPDataSeeder {
1676
- private readonly storageService;
1677
- seed(): Promise<void>;
1678
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarEventTypeSeeder, never>;
1679
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMCalendarEventTypeSeeder>;
1680
- }
1681
-
1682
- declare const meetingIds: {
1683
- dailyStandup1: string;
1684
- dailyStandup2: string;
1685
- projectReview1: string;
1686
- };
1687
- declare const meetingMock: ({
1688
- id: string;
1689
- title: string;
1690
- meetingNotes: string;
1691
- meetingType: {
1692
- id: string;
1693
- title: string;
1694
- };
1695
- meetingProviderType: string;
1696
- isRecorded: boolean;
1697
- mettingStatus: string;
1698
- isFullysignedOff: boolean;
1699
- meetingLocationId: {
1700
- id: string;
1701
- title: string;
1702
- };
1703
- joinUrl?: undefined;
1704
- hostUrl?: undefined;
1705
- } | {
1706
- id: string;
1707
- title: string;
1708
- meetingNotes: string;
1709
- meetingType: {
1710
- id: string;
1711
- title: string;
1712
- };
1713
- meetingProviderType: string;
1714
- joinUrl: string;
1715
- hostUrl: string;
1716
- isRecorded: boolean;
1717
- mettingStatus: string;
1718
- isFullysignedOff: boolean;
1719
- meetingLocationId?: undefined;
1720
- } | {
1721
- id: string;
1722
- title: string;
1723
- meetingNotes: string;
1724
- meetingType: {
1725
- id: string;
1726
- title: string;
1727
- };
1728
- meetingProviderType: string;
1729
- joinUrl: string;
1730
- hostUrl: string;
1731
- isRecorded: boolean;
1732
- mettingStatus: string;
1733
- isFullysignedOff: boolean;
1734
- meetingLocationId: {
1735
- id: string;
1736
- title: string;
1737
- };
1738
- })[];
1739
-
1740
- declare class AXMMeetingDataSeeder implements AXPDataSeeder {
1741
- private readonly storageService;
1742
- seed(): Promise<void>;
1743
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingDataSeeder, never>;
1744
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingDataSeeder>;
1745
- }
1746
-
1747
- declare const meetingTypeMock: {
1748
- id: string;
1749
- title: string;
1750
- }[];
1751
-
1752
- declare class AXMMeetingTypeDataSeeder implements AXPDataSeeder {
1753
- private readonly storageService;
1754
- seed(): Promise<void>;
1755
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeDataSeeder, never>;
1756
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeDataSeeder>;
1757
- }
1758
-
1759
- declare const meetingParticipantMock: ({
1760
- id: string;
1761
- meetingId: string;
1762
- userId: {
1763
- id: string;
1764
- title: string;
1765
- };
1766
- jointime: Date;
1767
- leaveTime: Date;
1768
- duration: number;
1769
- signOffAt: Date;
1770
- participantStatus: string;
1771
- meetingRoleTypeIds: {
1772
- id: string;
1773
- title: string;
1774
- };
1775
- } | {
1776
- id: string;
1777
- meetingId: string;
1778
- userId: {
1779
- id: string;
1780
- title: string;
1781
- };
1782
- jointime: Date;
1783
- leaveTime: null;
1784
- duration: number;
1785
- signOffAt: null;
1786
- participantStatus: string;
1787
- meetingRoleTypeIds: {
1788
- id: string;
1789
- title: string;
1790
- };
1791
- })[];
1792
-
1793
- declare class AXMMeetingParticipantDataSeeder implements AXPDataSeeder {
1794
- private readonly storageService;
1795
- seed(): Promise<void>;
1796
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingParticipantDataSeeder, never>;
1797
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingParticipantDataSeeder>;
1798
- }
1799
-
1800
- declare const meetingSessionMock: ({
1801
- id: string;
1802
- meetingId: string;
1803
- title: string;
1804
- scheduleDate: Date;
1805
- startTime: Date;
1806
- endTime: Date;
1807
- actualDate: Date;
1808
- actualStartTime: Date;
1809
- actualEndTime: Date;
1810
- } | {
1811
- id: string;
1812
- meetingId: string;
1813
- title: string;
1814
- scheduleDate: Date;
1815
- startTime: Date;
1816
- endTime: Date;
1817
- actualDate: Date;
1818
- actualStartTime: Date;
1819
- actualEndTime?: undefined;
1820
- } | {
1821
- id: string;
1822
- meetingId: string;
1823
- title: string;
1824
- scheduleDate: Date;
1825
- startTime: Date;
1826
- endTime: Date;
1827
- actualDate?: undefined;
1828
- actualStartTime?: undefined;
1829
- actualEndTime?: undefined;
1830
- })[];
1831
-
1832
- declare class AXMMeetingSessionDataSeeder implements AXPDataSeeder {
1833
- private readonly storageService;
1834
- seed(): Promise<void>;
1835
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingSessionDataSeeder, never>;
1836
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingSessionDataSeeder>;
1837
- }
1838
-
1839
- declare const meetingTimeSlotMock: ({
1840
- id: string;
1841
- meetingId: string;
1842
- scheduleDate: Date;
1843
- startTime: Date;
1844
- endTime: Date;
1845
- actualDate: Date;
1846
- actualStartTime: Date;
1847
- actualEndTime: Date;
1848
- } | {
1849
- id: string;
1850
- meetingId: string;
1851
- scheduleDate: Date;
1852
- startTime: Date;
1853
- endTime: Date;
1854
- actualDate: Date;
1855
- actualStartTime: Date;
1856
- actualEndTime?: undefined;
1857
- } | {
1858
- id: string;
1859
- meetingId: string;
1860
- scheduleDate: Date;
1861
- startTime: Date;
1862
- endTime: Date;
1863
- actualDate?: undefined;
1864
- actualStartTime?: undefined;
1865
- actualEndTime?: undefined;
1866
- })[];
1867
-
1868
- declare const meetingFilesMock: {
1869
- id: string;
1870
- meetingId: string;
1871
- documentId: string;
1872
- description: string;
1873
- }[];
1874
-
1875
- declare class AXMMeetingFilesDataSeeder implements AXPDataSeeder {
1876
- private readonly storageService;
1877
- seed(): Promise<void>;
1878
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingFilesDataSeeder, never>;
1879
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingFilesDataSeeder>;
1880
- }
1881
-
1882
- declare const participantIds: {
1883
- participant1: string;
1884
- participant2: string;
1885
- participant3: string;
1886
- participant4: string;
1887
- participant5: string;
1888
- participant6: string;
1889
- participant7: string;
1890
- participant8: string;
1891
- participant9: string;
1892
- };
1893
- declare const meetingRoleTypeMock: {
1894
- id: string;
1895
- title: string;
1896
- meetingParticipantId: string;
1897
- }[];
1898
-
1899
- declare class AXMMeetingRoleTypeDataSeeder implements AXPDataSeeder {
1900
- private readonly storageService;
1901
- seed(): Promise<void>;
1902
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingRoleTypeDataSeeder, never>;
1903
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingRoleTypeDataSeeder>;
1904
- }
1905
-
1906
- declare const meetingTypeFileTemplateMock: ({
1907
- id: string;
1908
- title: string;
1909
- templateId: string;
1910
- typeId: string;
1911
- } | {
1912
- id: string;
1913
- title: string;
1914
- templateId: string;
1915
- typeId: {
1916
- id: string;
1917
- title: string;
1918
- };
1919
- })[];
1920
-
1921
- declare class AXMMeetingTypeFileTemplateDataSeeder implements AXPDataSeeder {
1922
- private readonly storageService;
1923
- seed(): Promise<void>;
1924
- static ɵfac: i0.ɵɵFactoryDeclaration<AXMMeetingTypeFileTemplateDataSeeder, never>;
1925
- static ɵprov: i0.ɵɵInjectableDeclaration<AXMMeetingTypeFileTemplateDataSeeder>;
1926
- }
1927
-
1928
- declare class AXCLockService implements AXPLockService {
1929
- private className;
1930
- private db;
1931
- constructor();
1932
- private get lockTable();
1933
- protected entityName: string;
1934
- /**
1935
- * Cache Time-To-Live in milliseconds. Default is 5 seconds but can be overridden
1936
- * at runtime using {@link setCacheDuration}.
1937
- */
1938
- private cacheTTL;
1939
- /** In-memory cache for lock information. */
1940
- private readonly cacheMap;
1941
- /** Reference to the recurring cache-flush timer. */
1942
- private cacheTimer;
1943
- /**
1944
- * Generates a unique cache key based on the lock request parameters.
1945
- */
1946
- private getCacheKey;
1947
- /**
1948
- * Starts or restarts the interval that clears the cache.
1949
- */
1950
- private startCacheTimer;
1951
- /**
1952
- * Allows consumers to change the cache duration (in milliseconds) at runtime.
1953
- * The new duration is applied immediately.
1954
- */
1955
- setCacheDuration(ms: number): void;
1956
- lock(request: AXPLockRequest): Promise<AXPLockInfo>;
1957
- unlock(request: AXPUnLockRequest): Promise<void>;
1958
- check(request: AXPLockGetInfoRequest): Promise<boolean>;
1959
- getInfo(request: AXPLockGetInfoRequest): Promise<AXPLockInfo>;
1960
- getItems(request: AXPLockGetInfoRequest): Promise<AXPLockInfo[]>;
1961
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCLockService, never>;
1962
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCLockService>;
1963
- }
1964
-
1965
- declare class AXCFileStorageService implements AXPFileStorageService {
1966
- private fileService;
1967
- private mapToFileStorageInfo;
1968
- save(request: AXPFileStorageCreateRequest): Promise<AXPFileStorageInfo>;
1969
- commit(fileId: string): Promise<void>;
1970
- markForDeletion(fileId: string): Promise<void>;
1971
- update(request: AXPFileStorageUpdateRequest): Promise<AXPFileStorageInfo>;
1972
- find(request: AXPFileStorageFindRequest): Promise<AXPFileStorageInfo[]>;
1973
- getInfo(fileId: string): Promise<AXPFileStorageInfo>;
1974
- remove(fileId: string): Promise<void>;
1975
- private cleanupTemporaryFiles;
1976
- private cleanupMarkedFiles;
1977
- constructor();
1978
- findMany(ids: string[]): Promise<AXPFileManyStorageInfo[]>;
1979
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCFileStorageService, never>;
1980
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCFileStorageService>;
1981
- }
1982
-
1983
- interface AXPVersionStream {
1984
- id: string;
1985
- entityType: string;
1986
- entityId: string;
1987
- createdAt: string;
1988
- }
1989
- declare enum AXVChangeType {
1990
- Create = "Create",
1991
- Update = "Update",
1992
- Delete = "Delete"
1993
- }
1994
- type CanonicalChangeOp = 'add' | 'remove' | 'replace' | 'rename' | 'metadata';
1995
- interface CanonicalChange {
1996
- path: string;
1997
- op: CanonicalChangeOp;
1998
- oldValue?: unknown;
1999
- newValue?: unknown;
2000
- meta?: Record<string, unknown>;
2001
- }
2002
- interface AXPVersionEntry {
2003
- id: string;
2004
- streamId: string;
2005
- versionNumber: number;
2006
- changeType: AXVChangeType;
2007
- changedBy: string;
2008
- changedAt: string;
2009
- snapshotJson: unknown;
2010
- patchFromPrevJson: CanonicalChange[];
2011
- summary?: string;
2012
- metadataJson?: unknown;
2013
- }
2014
- interface AXPVersionChange {
2015
- id?: number;
2016
- versionEntryId: string;
2017
- path: string;
2018
- op: CanonicalChangeOp;
2019
- oldValue?: unknown;
2020
- newValue?: unknown;
2021
- }
2022
- interface VersionedFileInfo {
2023
- id: string;
2024
- name: string;
2025
- size: number;
2026
- mime: string;
2027
- hash: string;
2028
- url?: string;
2029
- thumbUrl?: string;
2030
- }
2031
- declare class AXCVersionDB extends Dexie {
2032
- version_streams: Table<AXPVersionStream, string>;
2033
- version_entries: Table<AXPVersionEntry, string>;
2034
- version_changes: Table<AXPVersionChange, number>;
2035
- constructor();
2036
- }
2037
- declare const axVersionDB: AXCVersionDB;
2038
-
2039
- /**
2040
- * Compute canonical JSON Patch-like changes with custom ops for file arrays.
2041
- */
2042
- declare function computeDiff(prevSnapshot: unknown, nextSnapshot: unknown, basePath?: string): CanonicalChange$1[];
2043
- declare class AXCVersioningService implements AXPVersioningService {
2044
- private readonly db;
2045
- private readonly fileStorage;
2046
- upsertStream(entityType: string, entityId: string): Promise<string>;
2047
- /** Gets stream id if it exists, otherwise returns null (does not create). */
2048
- getStreamIdIfExists(entityType: string, entityId: string): Promise<string | null>;
2049
- getCurrentVersion(streamId: string): Promise<number>;
2050
- /** Lists version entries for a given stream, newest first. */
2051
- listEntries(streamId: string, options?: {
2052
- limit?: number;
2053
- offset?: number;
2054
- }): Promise<AXPVersionEntry$1[]>;
2055
- createVersion(entityType: string, entityId: string, newSnapshot: unknown, changes?: CanonicalChange$1[], options?: {
2056
- changeType?: AXVChangeType$1;
2057
- changedBy?: string;
2058
- summary?: string;
2059
- metadata?: unknown;
2060
- }): Promise<AXPVersionEntry$1>;
2061
- getDiffForVersions(streamId: string, v1: number, v2: number): Promise<CanonicalChange$1[]>;
2062
- getUiFriendlyDiff(streamId: string, v1: number, v2: number): Promise<Array<{
2063
- badge: string;
2064
- path: string;
2065
- summary: string;
2066
- oldValue?: unknown;
2067
- newValue?: unknown;
2068
- }>>;
2069
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCVersioningService, never>;
2070
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCVersioningService>;
2071
- }
2072
-
2073
- interface UIDiffRow {
2074
- badge: 'Added' | 'Removed' | 'Replaced' | 'Renamed' | 'Metadata' | 'Updated';
2075
- path: string;
2076
- summary: string;
2077
- oldValue?: unknown;
2078
- newValue?: unknown;
2079
- }
2080
- declare function toUiRows(changes: CanonicalChange[]): UIDiffRow[];
2081
-
2082
- declare function normalizeAnyFileArrayForView(arr: any[], fileStorage: AXPFileStorageService): Promise<AXPFileListItem[]>;
2083
- declare function normalizeSnapshotFileFieldsForView(snapshot: any, fileStorage: AXPFileStorageService): Promise<any>;
2084
-
2085
- /**
2086
- * Dexie database for workflow instances.
2087
- */
2088
- declare class AXCWorkflowExecutionDB extends Dexie {
2089
- /**
2090
- * Table for workflow instances.
2091
- * Uses id as primary key.
2092
- */
2093
- instances: Table<AXPWorkflowInstance, string>;
2094
- constructor();
2095
- }
2096
- /**
2097
- * Singleton instance of workflow execution database.
2098
- */
2099
- declare const axWorkflowExecutionDB: AXCWorkflowExecutionDB;
2100
-
2101
- /**
2102
- * Mock implementation of AXPWorkflowExecutionService.
2103
- *
2104
- * Uses IndexedDB (via Dexie) to store workflow execution states.
2105
- *
2106
- * @example
2107
- * ```typescript
2108
- * // In module providers
2109
- * {
2110
- * provide: AXPWorkflowExecutionService,
2111
- * useClass: AXCWorkflowExecutionService,
2112
- * }
2113
- * ```
2114
- */
2115
- declare class AXCWorkflowExecutionService implements AXPWorkflowExecutionService {
2116
- private readonly db;
2117
- private readonly activityProviderService;
2118
- private readonly commandService;
2119
- private readonly entityStorageService;
2120
- /**
2121
- * Start a new workflow execution.
2122
- * Creates a workflow instance and stores it in IndexedDB.
2123
- */
2124
- startExecution(request: AXPStartWorkflowExecutionRequest): Promise<AXPStartWorkflowExecutionResponse>;
2125
- /**
2126
- * Find activity in Flowchart by ID.
2127
- */
2128
- private findActivityInFlowchart;
2129
- /**
2130
- * Resume a suspended workflow execution.
2131
- *
2132
- * After frontend completes its task:
2133
- * 1. Validates taskToken
2134
- * 2. Finds next activity based on outcome
2135
- * 3. Executes ALL backend activities in sequence
2136
- * 4. Stops at first frontend activity and returns it as pendingTask
2137
- */
2138
- resumeExecution(request: AXPResumeWorkflowExecutionRequest): Promise<AXPResumeWorkflowExecutionResponse>;
2139
- /**
2140
- * Get current workflow execution state.
2141
- */
2142
- getExecutionState(request: AXPGetWorkflowExecutionStateRequest): Promise<AXPWorkflowExecutionState>;
2143
- /**
2144
- * Get workflow definition by ID.
2145
- *
2146
- * In mock implementation, this retrieves workflow definition from localStorage.
2147
- * In production, this would make an HTTP call to backend API.
2148
- *
2149
- * @param request - Get workflow definition request
2150
- * @returns Workflow definition
2151
- */
2152
- getWorkflowDefinition(request: AXPGetWorkflowDefinitionRequest): Promise<AXPGetWorkflowDefinitionResponse>;
2153
- /**
2154
- * Generate unique task token for task-based execution.
2155
- * Inspired by Temporal's task tokens for secure task completion.
2156
- */
2157
- private generateTaskToken;
2158
- /**
2159
- * Determine execution mode for an activity.
2160
- *
2161
- * Priority (highest to lowest):
2162
- * 1. Activity instance's executionMode (from AXPActivity in workflow definition)
2163
- * 2. ActivityDescriptor's executionMode (from ActivityProviderService)
2164
- * 3. Default: 'frontend'
2165
- *
2166
- * @param activityType - Activity type (e.g., 'workflow-activity:write-line')
2167
- * @param activity - Activity from workflow definition (AXPActivity)
2168
- * @returns Execution mode: 'frontend', 'backend', or 'both'
2169
- */
2170
- private determineExecutionMode;
2171
- /**
2172
- * Create a task from a workflow activity.
2173
- * Inspired by Temporal's Activity Task and Elsa's Bookmark pattern.
2174
- */
2175
- private createTaskFromActivity;
2176
- /**
2177
- * Save workflow instance to entity service for entity-based access.
2178
- */
2179
- private saveInstanceToEntityService;
2180
- /**
2181
- * Update workflow instance in entity service.
2182
- * Uses upsert pattern: try update first, if fails then insert.
2183
- */
2184
- private updateInstanceInEntityService;
2185
- /**
2186
- * Execute backend activities locally using CommandBus.
2187
- *
2188
- * Backend activities are registered as Commands and executed via CommandService.
2189
- * This provides a unified execution channel for all activities.
2190
- */
2191
- private executeBackendActivityLocally;
2192
- /**
2193
- * Set variable activity - stores value in workflow state.
2194
- */
2195
- private executeSetVariable;
2196
- /**
2197
- * Execute HTTP request - makes real HTTP call.
2198
- * Supports different HTTP methods and handles timeouts.
2199
- */
2200
- private executeHttpRequest;
2201
- /**
2202
- * Convert workflow instance to execution state (for backward compatibility).
2203
- */
2204
- private instanceToExecutionState;
2205
- /**
2206
- * Update execution state in instance and save to IndexedDB.
2207
- */
2208
- private updateInstanceFromExecutionState;
2209
- /**
2210
- * Get workflow instance from IndexedDB.
2211
- */
2212
- private getInstance;
2213
- /**
2214
- * Update workflow instance in IndexedDB.
2215
- */
2216
- private updateInstance;
2217
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkflowExecutionService, never>;
2218
- static ɵprov: i0.ɵɵInjectableDeclaration<AXCWorkflowExecutionService>;
2219
- }
2220
-
2221
- /**
2222
- * Mock workflow definitions for testing and demonstration.
2223
- */
2224
- declare const workflowDefinitionMock: AXPWorkflowDefinition[];
2225
- /**
2226
- * Export definitionId list for easy access
2227
- */
2228
- declare const workflowDefinitionIds: {
2229
- createUser: string;
2230
- welcome: string;
2231
- dataProcessing: string;
2232
- };
2233
-
2234
- /**
2235
- * Input for CheckPermission activity.
2236
- */
2237
- interface CheckPermissionInput {
2238
- /**
2239
- * Permission key to check (e.g., "Users.Create")
2240
- */
2241
- permission: string;
2242
- /**
2243
- * User ID to check (optional, defaults to current user)
2244
- */
2245
- userId?: string;
2246
- }
2247
- /**
2248
- * Output for CheckPermission activity.
2249
- */
2250
- interface CheckPermissionOutput {
2251
- /**
2252
- * Whether user has the permission
2253
- */
2254
- hasPermission: boolean;
2255
- /**
2256
- * User ID that was checked
2257
- */
2258
- userId: string;
2259
- /**
2260
- * Permission that was checked
2261
- */
2262
- permission: string;
2263
- }
2264
- /**
2265
- * CheckPermission Activity (Backend)
2266
- *
2267
- * Checks if a user has specific permission.
2268
- * This is a mock implementation that always grants permission for demo purposes.
2269
- *
2270
- * In production, this would check against real permission system.
2271
- *
2272
- * Execution Mode: backend
2273
- * Activity Type: workflow-activity:check-permission
2274
- *
2275
- * Outcomes:
2276
- * - HasPermission: User has the permission
2277
- * - NoPermission: User does not have the permission
2278
- */
2279
- declare class CheckPermissionActivity implements AXPCommand<CheckPermissionInput, {
2280
- output: CheckPermissionOutput;
2281
- outcomes: Record<string, any>;
2282
- }> {
2283
- execute(input: CheckPermissionInput): Promise<AXPExecuteCommandResult<{
2284
- output: CheckPermissionOutput;
2285
- outcomes: Record<string, any>;
2286
- }>>;
2287
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckPermissionActivity, never>;
2288
- static ɵprov: i0.ɵɵInjectableDeclaration<CheckPermissionActivity>;
2289
- }
2290
-
2291
- /**
2292
- * Input for ExecuteQuery activity.
2293
- */
2294
- interface ExecuteQueryInput {
2295
- /**
2296
- * Query key to execute (e.g., "User:CheckEmailExists")
2297
- */
2298
- queryKey: string;
2299
- /**
2300
- * Query parameters
2301
- */
2302
- parameters?: Record<string, any>;
2303
- }
2304
- /**
2305
- * Output for ExecuteQuery activity.
2306
- */
2307
- interface ExecuteQueryOutput {
2308
- /**
2309
- * Query result data
2310
- */
2311
- data: any;
2312
- /**
2313
- * Whether query executed successfully
2314
- */
2315
- success: boolean;
2316
- /**
2317
- * Error message if query failed
2318
- */
2319
- error?: string;
2320
- }
2321
- /**
2322
- * ExecuteQuery Activity (Backend)
2323
- *
2324
- * Executes a query operation.
2325
- * This is a mock implementation that simulates common queries.
2326
- *
2327
- * Execution Mode: backend
2328
- * Activity Type: workflow-activity:execute-query
2329
- *
2330
- * Outcomes:
2331
- * - Done: Query executed successfully
2332
- * - Valid: Data is valid (for validation queries)
2333
- * - Exists: Data exists (for existence checks)
2334
- * - NotFound: Data not found
2335
- * - Failed: Query execution failed
2336
- */
2337
- declare class ExecuteQueryActivity implements AXPCommand<ExecuteQueryInput, {
2338
- output: ExecuteQueryOutput;
2339
- outcomes: Record<string, any>;
2340
- }> {
2341
- private readonly storageService;
2342
- execute(input: ExecuteQueryInput): Promise<AXPExecuteCommandResult<{
2343
- output: ExecuteQueryOutput;
2344
- outcomes: Record<string, any>;
2345
- }>>;
2346
- /**
2347
- * Routes query to appropriate handler based on queryKey.
2348
- */
2349
- private routeQuery;
2350
- /**
2351
- * Checks if email already exists in database.
2352
- */
2353
- private checkEmailExists;
2354
- /**
2355
- * Validates data structure and content.
2356
- */
2357
- private validateData;
2358
- static ɵfac: i0.ɵɵFactoryDeclaration<ExecuteQueryActivity, never>;
2359
- static ɵprov: i0.ɵɵInjectableDeclaration<ExecuteQueryActivity>;
2360
- }
2361
-
2362
- /**
2363
- * Input for ExecuteCommand activity.
2364
- */
2365
- interface ExecuteCommandInput {
2366
- /**
2367
- * Command key to execute (e.g., "User:Create")
2368
- */
2369
- commandKey: string;
2370
- /**
2371
- * Command input data
2372
- */
2373
- input?: Record<string, any>;
2374
- }
2375
- /**
2376
- * Output for ExecuteCommand activity.
2377
- */
2378
- interface ExecuteCommandOutput {
2379
- /**
2380
- * Command result data
2381
- */
2382
- result: any;
2383
- /**
2384
- * Whether command executed successfully
2385
- */
2386
- success: boolean;
2387
- /**
2388
- * Error message if command failed
2389
- */
2390
- error?: string;
2391
- /**
2392
- * Created/Updated entity ID (if applicable)
2393
- */
2394
- entityId?: string;
2395
- }
2396
- /**
2397
- * ExecuteCommand Activity (Backend)
2398
- *
2399
- * Executes a command operation.
2400
- * This is a mock implementation that simulates common commands.
2401
- *
2402
- * Execution Mode: backend
2403
- * Activity Type: workflow-activity:execute-command
2404
- *
2405
- * Outcomes:
2406
- * - Done: Command executed successfully
2407
- * - Failed: Command execution failed
2408
- */
2409
- declare class ExecuteCommandActivity implements AXPCommand<ExecuteCommandInput, {
2410
- output: ExecuteCommandOutput;
2411
- outcomes: Record<string, any>;
2412
- }> {
2413
- private readonly storageService;
2414
- execute(input: ExecuteCommandInput): Promise<AXPExecuteCommandResult<{
2415
- output: ExecuteCommandOutput;
2416
- outcomes: Record<string, any>;
2417
- }>>;
2418
- /**
2419
- * Routes command to appropriate handler based on commandKey.
2420
- */
2421
- private routeCommand;
2422
- /**
2423
- * Creates a new user in the system.
2424
- */
2425
- private createUser;
2426
- /**
2427
- * Processes data according to business rules.
2428
- */
2429
- private processData;
2430
- static ɵfac: i0.ɵɵFactoryDeclaration<ExecuteCommandActivity, never>;
2431
- static ɵprov: i0.ɵɵInjectableDeclaration<ExecuteCommandActivity>;
2432
- }
2433
-
2434
- /**
2435
- * Provides all backend workflow activities as Commands.
2436
- *
2437
- * These activities are registered with the CommandBus and can be executed
2438
- * by the workflow execution service.
2439
- *
2440
- * Usage:
2441
- * ```typescript
2442
- * @NgModule({
2443
- * providers: [
2444
- * provideWorkflowActivities(),
2445
- * ]
2446
- * })
2447
- * export class AppModule {}
2448
- * ```
2449
- */
2450
- declare function provideWorkflowActivities(): i0.EnvironmentProviders;
2451
-
2452
- declare const titleInterface: AXPWidgetNode;
2453
- declare const descriptionInterface: AXPWidgetNode;
2454
- declare const versionInterface: AXPWidgetNode;
2455
- declare const dateInterface: AXPWidgetNode;
2456
- declare const dateTimeInterface: AXPWidgetNode;
2457
- declare const numberInterface: AXPWidgetNode;
2458
- declare const selectInterface: AXPWidgetNode;
2459
- declare const checkboxInterface: AXPWidgetNode;
2460
- declare const toggleInterface: AXPWidgetNode;
2461
- declare const richTextInterface: AXPWidgetNode;
2462
- declare const emailInterface: AXPWidgetNode;
2463
- declare const urlInterface: AXPWidgetNode;
2464
- declare const passwordInterface: AXPWidgetNode;
2465
- declare const phoneInterface: AXPWidgetNode;
2466
- declare const colorInterface: AXPWidgetNode;
2467
- declare const tagInterface: AXPWidgetNode;
2468
- declare const textInterface: AXPWidgetNode;
2469
- declare const textAreaInterface: AXPWidgetNode;
2470
- declare const fileUploaderInterface: AXPWidgetNode;
2471
- declare const lookupInterface: AXPWidgetNode;
2472
- declare const selectionListInterface: AXPWidgetNode;
2473
- declare const contactInterface: AXPWidgetNode;
2474
- declare const mapInterface: AXPWidgetNode;
2475
- declare const signatureInterface: AXPWidgetNode;
2476
- declare const qrcodeInterface: AXPWidgetNode;
2477
- declare const avatarInterface: AXPWidgetNode;
2478
- declare const imageInterface: AXPWidgetNode;
2479
- declare const timeDurationInterface: AXPWidgetNode;
2480
- declare const ratingInterface: AXPWidgetNode;
2481
- declare const scaleInterface: AXPWidgetNode;
2482
- declare const yesNoInterface: AXPWidgetNode;
2483
- declare const multipleChoiceInterface: AXPWidgetNode;
2484
- declare const multipleSelectInterface: AXPWidgetNode;
2485
- declare const longTextAnswerInterface: AXPWidgetNode;
2486
-
2487
- interface AXPRuleRow extends AXPIdentifierRule {
2488
- }
2489
- interface AXPSeqRow {
2490
- id: string;
2491
- ruleId: string;
2492
- scopeHash: string;
2493
- currentValue: number;
2494
- hi?: number;
2495
- next?: number;
2496
- lastResetKey?: string;
2497
- }
2498
- interface AXPLogRow {
2499
- id: string;
2500
- entity: string;
2501
- tenantId?: string;
2502
- code: string;
2503
- createdAt: string;
2504
- }
2505
- declare class AXPIdentifierDB extends Dexie {
2506
- rules: Table<AXPRuleRow, string>;
2507
- sequences: Table<AXPSeqRow, string>;
2508
- logs: Table<AXPLogRow, string>;
2509
- constructor();
2510
- }
2511
- declare class AXPMockClockProvider implements AXPClockProvider {
2512
- now(): Date;
2513
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockClockProvider, never>;
2514
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockClockProvider>;
2515
- }
2516
- declare class AXPMockChecksumProvider implements AXPChecksumProvider {
2517
- compute(algo: 'luhn' | 'mod11', input: string): string;
2518
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockChecksumProvider, never>;
2519
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockChecksumProvider>;
2520
- }
2521
- declare class AXPMockPolicyProvider implements AXPPolicyProvider {
2522
- isAllowed(): boolean;
2523
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockPolicyProvider, never>;
2524
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockPolicyProvider>;
2525
- }
2526
- declare class AXPMockLookupProvider implements AXPLookupProvider {
2527
- private readonly map;
2528
- get(key: string): Promise<string | undefined>;
2529
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockLookupProvider, never>;
2530
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockLookupProvider>;
2531
- }
2532
- declare class AXPMockSequenceProvider implements AXPSequenceProvider {
2533
- private readonly db;
2534
- private readonly rulesFromProviders;
2535
- next(scopeHash: string, ruleId: string, options?: {
2536
- pad?: number;
2537
- consume?: boolean;
2538
- }): Promise<number>;
2539
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockSequenceProvider, never>;
2540
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockSequenceProvider>;
2541
- }
2542
-
2543
- declare class AXPMockIdentifierService extends AXPIdentifierService {
2544
- private readonly engine;
2545
- private readonly rulesFromProviders;
2546
- private readonly seq;
2547
- private readonly checksum;
2548
- private readonly lookup;
2549
- private readonly policy;
2550
- private readonly clock;
2551
- private readonly rules;
2552
- generate(req: AXPIdentifierRequest): Promise<AXPIdentifierResult>;
2553
- peek(req: AXPIdentifierRequest): Promise<AXPIdentifierPeekResult>;
2554
- validate(_code: string, _entity: string, _tenantId?: string): Promise<boolean>;
2555
- private pickRule;
2556
- private createContext;
2557
- private createScopeHash;
2558
- private validateRequestAgainstRule;
2559
- private evaluateInternal;
2560
- commitWithToken(token: string): Promise<AXPIdentifierResult>;
2561
- commitByCode(req: AXPIdentifierRequest, code: string): Promise<AXPIdentifierResult>;
2562
- static ɵfac: i0.ɵɵFactoryDeclaration<AXPMockIdentifierService, never>;
2563
- static ɵprov: i0.ɵɵInjectableDeclaration<AXPMockIdentifierService>;
2564
- }
2565
-
2566
- /**
2567
- * Middleware that automatically tracks audit information for entity operations.
2568
- *
2569
- * Tracks:
2570
- * - CREATE: Sets created and updated timestamps with user info, initializes stateInfo and ownershipInfo
2571
- * - UPDATE: Updates the updated timestamp with current user info
2572
- * - DELETE: Records deleted timestamp with user info (useful for soft delete or history tracking)
2573
- *
2574
- * The audit info follows the AXPAuditInfo interface with created, updated, and deleted events.
2575
- * Ownership info includes tenantId and applicationId from the current session.
2576
- */
2577
- declare const auditLoggerMiddleware: AXPEntityStorageMiddleware;
2578
-
2579
- declare const childCountMiddleware: AXPEntityStorageMiddleware;
2580
-
2581
- /**
2582
- * File Cast Middleware - Handles file operations in entity storage
2583
- *
2584
- * This middleware processes files during entity operations:
2585
- *
2586
- * CREATE/UPDATE Operations:
2587
- * - New files: Uploads to file storage and replaces with file IDs
2588
- * - Existing files: Keeps existing file IDs
2589
- * - Deleted files: Removes from file storage and excludes from entity data
2590
- *
2591
- * QUERY/GET_ONE Operations:
2592
- * - Converts file IDs back to AXPFileListItem objects for UI display
2593
- *
2594
- * File Status Handling:
2595
- * - 'uploaded'/'remote'/'editing': Keep existing file ID
2596
- * - 'deleted': Remove from storage, exclude from entity
2597
- * - 'attached'/'uploading': Upload new file
2598
- */
2599
- declare const createFileCastMiddleware: AXPEntityStorageMiddleware;
2600
-
2601
- declare const identifierCommitMiddleware: AXPEntityStorageMiddleware;
2602
-
2603
- /**
2604
- * Lookup Resolver Middleware
2605
- *
2606
- * Resolves lookup field IDs to full objects based on entity property definitions or naming conventions.
2607
- *
2608
- * Behavior:
2609
- * - Runs on 'create' and 'update' operations
2610
- * - Finds fields ending with 'Id'/'Ids' (case-insensitive)
2611
- * - Resolves IDs to full objects from corresponding entity
2612
- * - Skips fields that are already resolved or have explicit entity config failures
2613
- *
2614
- * Resolution Strategy (in order):
2615
- * 1. Check entity property definition for LookupBox with entity option (preferred)
2616
- * 2. Use naming conventions: dotted path (X.assignId -> X.assign) or module fallback (ModuleName.entityName)
2617
- *
2618
- * Naming Convention:
2619
- * - testId -> creates 'test' object with full record
2620
- * - testIds -> creates 'testList' array with full records
2621
- *
2622
- * Example:
2623
- * Input: { brandId: "123" } with lookup to product-catalog.brand
2624
- * Result: { brand: { id: "123", title: "Brand Name", ... } }
2625
- */
2626
- declare const lookupResolverMiddleware: AXPEntityStorageMiddleware;
2627
-
2628
- declare const mergeDetailRelationMiddleware: AXPEntityStorageMiddleware;
2629
-
2630
- declare const primaryMiddleware: AXPEntityStorageMiddleware;
2631
-
2632
- declare const historyLoggerMiddleware: AXPEntityStorageMiddleware;
2633
-
2634
- /**
2635
- * Signature Loader Middleware
2636
- *
2637
- * This middleware loads digital signatures for entities by attempting to query
2638
- * the corresponding signature table ({EntityName}Signature).
2639
- *
2640
- * Behavior:
2641
- * - Only runs on 'getOne' operation (entity details)
2642
- * - Attempts to query signature table without checking plugin existence
2643
- * - If signature table exists and has data, attaches signatures to result
2644
- * - If table doesn't exist or query fails, silently continues
2645
- *
2646
- * Example:
2647
- * Entity: "ContentManagement.Promotion"
2648
- * Signature table: "ContentManagement.PromotionSignature"
2649
- * Result: ctx.result.signatures = [{ id, signed, meta, ... }]
2650
- */
2651
- declare const signatureLoaderMiddleware: AXPEntityStorageMiddleware;
2652
-
2653
- /**
2654
- * Middleware that prevents editing or deleting locked records.
2655
- *
2656
- * Supports two types of locks:
2657
- * 1. 'user' lock: Automatic lock when edit popup is opened.
2658
- * - Only the user who locked it can edit
2659
- * - Other users cannot edit
2660
- *
2661
- * 2. 'admin' lock: Manual lock by admin for a specific duration or permanently.
2662
- * - Even the admin who locked it cannot edit
2663
- * - All users are blocked until lock expires (if expireAt is set)
2664
- */
2665
- declare const lockGuardMiddleware: AXPEntityStorageMiddleware;
2666
-
2667
- /**
2668
- * Group Order Item Calculator Middleware
2669
- *
2670
- * Calculates quantityInOrder and quantityAvailable for group order items.
2671
- * Also calculates total based on price, quantityInOrder, and GST (1.15).
2672
- *
2673
- * quantityInOrder = sum of all member order line quantities for this item
2674
- * quantityAvailable = size - quantityInOrder
2675
- * total = price * quantityInOrder * 1.15 (GST)
2676
- *
2677
- * Runs on:
2678
- * - GroupOrderItem create/update: Calculate for the item itself
2679
- * - MemberOrderLine create/update/delete: Recalculate the related group order item
2680
- */
2681
- declare const groupOrderItemCalculatorMiddleware: AXPEntityStorageMiddleware;
2682
-
2683
- /**
2684
- * Key used in request params to bypass visibility filtering (isHidden flag).
2685
- * Similar to ABP Framework's filter disabling mechanism.
2686
- *
2687
- * Usage:
2688
- * ```typescript
2689
- * await storageService.query(entityName, {
2690
- * ...request,
2691
- * params: { [VISIBILITY_FILTER_BYPASS]: 'true' }
2692
- * });
2693
- * ```
2694
- */
2695
- declare const VISIBILITY_FILTER_BYPASS = "__bypassVisibilityFilter";
2696
- /**
2697
- * Key used in request params to bypass ownership filtering (tenantId/applicationId).
2698
- * Similar to ABP Framework's filter disabling mechanism.
2699
- *
2700
- * Usage:
2701
- * ```typescript
2702
- * await storageService.query(entityName, {
2703
- * ...request,
2704
- * params: { [OWNERSHIP_FILTER_BYPASS]: 'true' }
2705
- * });
2706
- * ```
2707
- */
2708
- declare const OWNERSHIP_FILTER_BYPASS = "__bypassOwnershipFilter";
2709
- /**
2710
- * Middleware that automatically filters out records with `isSystem` or `isHidden` flags
2711
- * from query and getAll operations.
2712
- *
2713
- * This ensures that:
2714
- * - System records (isSystem: true) are hidden from regular users
2715
- * - Hidden records (isHidden: true) are not visible in lists
2716
- * - Records are filtered by current tenant and application context
2717
- * - Single record lookups (getOne) still work for direct access
2718
- * - Filtering can be bypassed using VISIBILITY_FILTER_BYPASS or OWNERSHIP_FILTER_BYPASS in request params
2719
- *
2720
- * Bypass options:
2721
- * - VISIBILITY_FILTER_BYPASS: Bypasses isHidden filtering only
2722
- * - OWNERSHIP_FILTER_BYPASS: Bypasses tenantId/applicationId filtering only
2723
- * - Both: Bypasses all filtering
2724
- *
2725
- * Note: This is applied AFTER the data is fetched from storage.
2726
- */
2727
- declare const visibilityFilterMiddleware: AXPEntityStorageMiddleware;
2728
-
2729
- /**
2730
- * Helper function to create a query request that bypasses visibility filtering (isHidden flag).
2731
- * Similar to ABP Framework's filter disabling pattern.
2732
- *
2733
- * @example
2734
- * ```typescript
2735
- * // Bypass visibility filter for authentication
2736
- * const users = await storageService.query(
2737
- * entityName,
2738
- * bypassVisibilityFilter({ skip: 0, take: 1000 })
2739
- * );
2740
- * ```
2741
- */
2742
- declare function bypassVisibilityFilter<T extends AXPQueryRequest>(request: T): T;
2743
- /**
2744
- * Helper function to create a query request that bypasses ownership filtering (tenantId/applicationId).
2745
- * Similar to ABP Framework's filter disabling pattern.
2746
- *
2747
- * @example
2748
- * ```typescript
2749
- * // Bypass ownership filter to query across tenants/applications
2750
- * const records = await storageService.query(
2751
- * entityName,
2752
- * bypassOwnershipFilter({ skip: 0, take: 1000 })
2753
- * );
2754
- * ```
2755
- */
2756
- declare function bypassOwnershipFilter<T extends AXPQueryRequest>(request: T): T;
2757
- /**
2758
- * Helper function to create a query request that bypasses both visibility and ownership filtering.
2759
- * Similar to ABP Framework's filter disabling pattern.
2760
- *
2761
- * @example
2762
- * ```typescript
2763
- * // Bypass all filters for system operations
2764
- * const records = await storageService.query(
2765
- * entityName,
2766
- * bypassAllFilters({ skip: 0, take: 1000 })
2767
- * );
2768
- * ```
2769
- */
2770
- declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
2771
-
2772
- declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
2773
-
2774
- export { APPLICATIONS, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommonMockModule, AXCContactManagementMockModule, AXCContentManagementMockModule, AXCConversationMockModule, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCFileStorageService, AXCFinancialCoreMockModule, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCJsaSeeder, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockEntityLogListener, AXCMockModule, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonManagementMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryCategoryMetadataInheritanceQuery, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWorkflowDefinitionDataSeeder, AXCWorkflowExecutionDB, AXCWorkflowExecutionService, AXCWorkflowManagementMockModule, AXMAiResponderService, AXMAssessmentCaseDataSeeder, AXMAssessmentSessionDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMReportCategoryDataSeeder, AXMReportDefinitionDataSeeder, AXMReportExecuteCommand, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamDataSeeder, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BUSINESS_UNITS_MOCK, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CRM_ENTERPRISE, CheckPermissionActivity, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, ExecuteCommandActivity, ExecuteQueryActivity, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, HR_ENTERPRISE, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, MockModuleAccessControlService, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_MOCK, TIMEPLICITY_TENANT_ID, TOKENS, VISIBILITY_FILTER_BYPASS, assessmentCaseMock, assessmentSessionMock, auditLoggerMiddleware, avatarInterface, axVersionDB, axWorkflowExecutionDB, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, checkboxInterface, childCountMiddleware, colorInterface, computeDiff, contactInterface, createAndSaveDashboardForUser, createDashboardForUser, createFileCastMiddleware, dateInterface, dateTimeInterface, descriptionInterface, emailInterface, fileUploaderInterface, findContactMethod, findEmployeeById, findPersonById, generateUserDashboard, groupOrderItemCalculatorMiddleware, historyLoggerMiddleware, identifierCommitMiddleware, imageInterface, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, metadataCategoryMocks, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, participantIds, passwordInterface, phoneInterface, primaryMiddleware, provideWorkflowActivities, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, signatureInterface, signatureLoaderMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
2775
- export type { AXCBusinessUnitMockDto, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCTeamMockDto, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPVersionChange, AXPVersionEntry, AXPVersionStream, CanonicalChange, CanonicalChangeOp, CategoryMetadataInheritanceGroupResult, CategoryMetadataInheritanceQueryParams, CategoryMetadataInheritanceResult, CheckPermissionInput, CheckPermissionOutput, ExecuteCommandInput, ExecuteCommandOutput, ExecuteQueryInput, ExecuteQueryOutput, JobDefinitionMockDto, JobLevelMockDto, MockUserPassCredentials, PersonMockData, PositionMockDto, QuestionBankItemMockDto, QuestionnaireMockDto, ResponsibilityMockDto, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo };