@acorex/connectivity 21.0.0-next.71 → 21.0.0-next.73
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.
- package/fesm2022/{acorex-connectivity-api-execute.command-CiBl7z_H.mjs → acorex-connectivity-api-execute.command-CjCFEav4.mjs} +13 -3
- package/fesm2022/acorex-connectivity-api-execute.command-CjCFEav4.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-api.mjs +7 -6
- package/fesm2022/acorex-connectivity-api.mjs.map +1 -1
- package/fesm2022/{acorex-connectivity-mock-acorex-connectivity-mock-Wofp2dW8.mjs → acorex-connectivity-mock-acorex-connectivity-mock-uNCIA7zG.mjs} +5654 -2915
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-uNCIA7zG.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-C18ksdYp.mjs → acorex-connectivity-mock-assign-to-manager.activity-Cv-qHyrL.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-C18ksdYp.mjs.map → acorex-connectivity-mock-assign-to-manager.activity-Cv-qHyrL.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs → acorex-connectivity-mock-category-metadata-inheritance.query-CIof4zTg.mjs} +10 -8
- package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CIof4zTg.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs → acorex-connectivity-mock-category-with-items.query-DAKUJIIt.mjs} +15 -14
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-DAKUJIIt.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-B4aTFrkL.mjs → acorex-connectivity-mock-chat-generate-image.command-D_9xGJJM.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-B4aTFrkL.mjs.map → acorex-connectivity-mock-chat-generate-image.command-D_9xGJJM.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-WgAOpZ71.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-B_JHheAI.mjs} +17 -32
- package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-B_JHheAI.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-BzqFA5rc.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-B9LSB17Y.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-BzqFA5rc.mjs.map → acorex-connectivity-mock-chat-transcribe-speech.command-B9LSB17Y.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs → acorex-connectivity-mock-distribution-record.activity-a1_k9Czb.mjs} +12 -9
- package/fesm2022/acorex-connectivity-mock-distribution-record.activity-a1_k9Czb.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs → acorex-connectivity-mock-get-employee-list.query-BWbZj3tp.mjs} +5 -4
- package/fesm2022/acorex-connectivity-mock-get-employee-list.query-BWbZj3tp.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs → acorex-connectivity-mock-get-location-list.query-CQ2rFDUM.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-location-list.query-CQ2rFDUM.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-product-list.query-f-mTj4ah.mjs → acorex-connectivity-mock-get-product-list.query-Bv1im5yj.mjs} +5 -4
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-Bv1im5yj.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-Co1V52c4.mjs → acorex-connectivity-mock-get-product-pdf-data.query-Cp65_mpB.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-product-pdf-data.query-Co1V52c4.mjs.map → acorex-connectivity-mock-get-product-pdf-data.query-Cp65_mpB.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs → acorex-connectivity-mock-get-subscriptions-chart-data.query-CkQnH-F_.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-chart-data.query-BQT5a_hn.mjs.map → acorex-connectivity-mock-get-subscriptions-chart-data.query-CkQnH-F_.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs → acorex-connectivity-mock-get-subscriptions-timeline.query-C_ecGCyk.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-C_ecGCyk.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs → acorex-connectivity-mock-get-tenant-application-access.query-t4BHU8qk.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-t4BHU8qk.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs → acorex-connectivity-mock-get-tenant-registration-chart-data.query-CgMZxfzh.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-chart-data.query-Cg4ykZU2.mjs.map → acorex-connectivity-mock-get-tenant-registration-chart-data.query-CgMZxfzh.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs → acorex-connectivity-mock-get-tenant-registration-timeline.query-COmTsDCV.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-COmTsDCV.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs → acorex-connectivity-mock-get-tenant-user-distribution.query-jQAsUf_h.mjs} +2 -2
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-jQAsUf_h.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock-report-summary.util-CGOhHIZr.mjs +56 -0
- package/fesm2022/acorex-connectivity-mock-report-summary.util-CGOhHIZr.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-DkMa4-Ju.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-B-R4X8Ft.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-DkMa4-Ju.mjs.map → acorex-connectivity-mock-user-roles-for-list-column.query-B-R4X8Ft.mjs.map} +1 -1
- package/fesm2022/acorex-connectivity-mock.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-connectivity-api.d.ts +1 -0
- package/types/acorex-connectivity-mock.d.ts +91 -159
- package/fesm2022/acorex-connectivity-api-execute.command-CiBl7z_H.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-Wofp2dW8.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-category-metadata-inheritance.query-CWRL1dTa.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-category-with-items.query-Cj6FWu7S.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-chat-synthesize-speech.command-WgAOpZ71.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-distribution-record.activity-DuNluOzA.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-employee-list.query-DifHwuqH.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-location-list.query-bMjkZnzq.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-product-list.query-f-mTj4ah.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-subscriptions-timeline.query-D4qfDfeV.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-application-access.query-n1_Azada.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-registration-timeline.query-0sCBtdbp.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-get-tenant-user-distribution.query-rD811gtM.mjs.map +0 -1
|
@@ -8,7 +8,7 @@ import * as i1 from '@acorex/platform/runtime';
|
|
|
8
8
|
import { AXPCommand, AXPQuery } from '@acorex/platform/runtime';
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
import { AXMAuthConfigs } from '@acorex/modules/auth';
|
|
11
|
-
import { AXPEntityAggregateRequest, AXPEntityStorageService, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityAggregateOptions, AXPEntityAggregateResult, AXPEntityDefinitionLoader, AXPDataSeeder, AXPRecordStateInfo, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
|
|
11
|
+
import { AXPEntityAggregateRequest, AXPEntityStorageService, AXPEntityQueryAllOptions, AXPEntityQueryAllResult, AXPEntityAggregateOptions, AXPEntityAggregateResult, AXPEntityDefinitionLoader, AXPDataSeeder, AXPRecordStateInfo, AXPMockDto, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
|
|
12
12
|
import { AXDataSourceFilterOption } from '@acorex/cdk/common';
|
|
13
13
|
import Dexie, { Table } from 'dexie';
|
|
14
14
|
import { Firestore } from 'firebase/firestore';
|
|
@@ -34,8 +34,7 @@ import { Observable } from 'rxjs';
|
|
|
34
34
|
import { ShowMetaDataFormPopupCommand, ShowMetaDataFormPopupInput, ResolveGroupsResult } from '@acorex/modules/data-management';
|
|
35
35
|
import { AXPDynamicFormGroupDefinition } from '@acorex/platform/layout/builder';
|
|
36
36
|
import { AXMCommonDashboardEntityModel, AXMDashboardWidgetLayoutMap } from '@acorex/modules/dashboard-management';
|
|
37
|
-
import
|
|
38
|
-
import { AXMCalendarManagementCalendarEventTypeEntityModel } from '@acorex/modules/calendar-management';
|
|
37
|
+
import { AXMCalendarManagementCalendarEntityModel, AXMCalendarManagementCalendarOccasionEntityModel, AXMCalendarManagementCalendarOccasionTypeEntityModel } from '@acorex/modules/calendar-management';
|
|
39
38
|
import { AXPWidgetNode } from '@acorex/platform/layout/widget-core';
|
|
40
39
|
import { AXPIdentifierRule, AXPChecksumProvider, AXPClockProvider, AXPLookupProvider, AXPPolicyProvider, AXPSequenceProvider, AXPIdentifierService, AXPIdentifierRequest, AXPIdentifierResult, AXPIdentifierPeekResult } from '@acorex/modules/identifier-management';
|
|
41
40
|
export { AXC_TEXT_TEMPLATE_RENDER_COMMAND_KEY } from '@acorex/modules/content-management';
|
|
@@ -319,6 +318,12 @@ declare class AXCMaintenanceManagementMockModule {
|
|
|
319
318
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMaintenanceManagementMockModule>;
|
|
320
319
|
}
|
|
321
320
|
|
|
321
|
+
declare class AXCRiskManagementMockModule {
|
|
322
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCRiskManagementMockModule, never>;
|
|
323
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCRiskManagementMockModule, never, never, never>;
|
|
324
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCRiskManagementMockModule>;
|
|
325
|
+
}
|
|
326
|
+
|
|
322
327
|
declare class AXCWorkplaceSafetyManagementMockModule {
|
|
323
328
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCWorkplaceSafetyManagementMockModule, never>;
|
|
324
329
|
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCWorkplaceSafetyManagementMockModule, never, never, never>;
|
|
@@ -345,7 +350,7 @@ declare class AXCMiddlewaresModule {
|
|
|
345
350
|
declare class AXCMockModule {
|
|
346
351
|
constructor(appInitService: AXPAppStartUpService, injector: Injector);
|
|
347
352
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCMockModule, never>;
|
|
348
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCBusinessCoreMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCAiManagementMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonCoreMockModule, typeof AXCHealthCoreMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMaintenanceManagementMockModule, typeof AXCWorkplaceSafetyManagementMockModule, typeof AXCMiddlewaresModule], never>;
|
|
353
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCMockModule, never, [typeof _acorex_platform_auth.AXPAuthModule, typeof AXCCommonMockModule, typeof AXCIdentifierManagementMockModule, typeof AXCSecurityManagementMockModule, typeof AXCFormTemplateManagementMockModule, typeof AXCBusinessCoreMockModule, typeof AXCCustomerManagementMockModule, typeof AXCSupplierManagementMockModule, typeof AXCProcurementManagementMockModule, typeof AXCOrderManagementMockModule, typeof AXCTenantManagementMockModule, typeof AXCSubscriptionManagementMockModule, typeof AXCLocationManagementMockModule, typeof AXCContactCoreMockModule, typeof AXCOrganizationManagementMockModule, typeof AXCAssessmentManagementMockModule, typeof AXCHumanCapitalManagementMockModule, typeof AXCReportManagementMockModule, typeof AXCLocaleManagementMockModule, typeof AXCDashboardManagementMockModule, typeof AXCConversationMockModule, typeof AXCAuthMockModule, typeof AXCAiManagementMockModule, typeof AXCPlatformManagementMockModule, typeof AXCApplicationManagementMockModule, typeof AXCLearningManagementMockModule, typeof AXCAssetManagementMockModule, typeof AXCProjectManagementMockModule, typeof AXCDocumentManagementMockModule, typeof AXCHelpDeskMockModule, typeof AXCCalendarManagementMockModule, typeof AXCDataManagementMockModule, typeof AXCWorkflowManagementMockModule, typeof AXCNotificationManagementMockModule, typeof AXCTaskManagementMockModule, typeof AXCPersonCoreMockModule, typeof AXCHealthCoreMockModule, typeof AXCContentManagementMockModule, typeof AXCMeetingManagementMockModule, typeof AXCSettingsManagementMockModule, typeof AXCFinancialCoreMockModule, typeof AXCMeasurementCoreMockModule, typeof AXCProductCatalogMockModule, typeof AXCReservationManagementMockModule, typeof AXCMaintenanceManagementMockModule, typeof AXCRiskManagementMockModule, typeof AXCWorkplaceSafetyManagementMockModule, typeof AXCMiddlewaresModule], never>;
|
|
349
354
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCMockModule>;
|
|
350
355
|
}
|
|
351
356
|
|
|
@@ -359,7 +364,8 @@ declare class AXCUserPassStrategyMock extends AXPAuthStrategy {
|
|
|
359
364
|
router: Router;
|
|
360
365
|
constructor();
|
|
361
366
|
private entityRegistery;
|
|
362
|
-
private
|
|
367
|
+
private entityService;
|
|
368
|
+
private deviceSessionsData;
|
|
363
369
|
get name(): string;
|
|
364
370
|
signin(credentials: MockUserPassCredentials): Promise<AXPSignInResult>;
|
|
365
371
|
private createDeviceSession;
|
|
@@ -1488,6 +1494,10 @@ declare class AXPSecurityManagementUserDataSeeder implements AXPDataSeeder {
|
|
|
1488
1494
|
* Aligns stored user ownership with mock data so tenant-scoped list filtering works after re-seeds.
|
|
1489
1495
|
*/
|
|
1490
1496
|
private syncOwnershipInfoFromMock;
|
|
1497
|
+
/**
|
|
1498
|
+
* Backfills audit created time for seeded users so profile "Joined" metadata is available in demo.
|
|
1499
|
+
*/
|
|
1500
|
+
private syncAuditInfoFromMock;
|
|
1491
1501
|
/**
|
|
1492
1502
|
* Keeps MAGFA collaboration demo user aligned with the conversation-only role in storage.
|
|
1493
1503
|
*/
|
|
@@ -1509,6 +1519,7 @@ interface AXCMockUserMockDto extends AXMSecurityManagementUsersEntityModel {
|
|
|
1509
1519
|
title: string;
|
|
1510
1520
|
}[];
|
|
1511
1521
|
password: string;
|
|
1522
|
+
pinCode?: string;
|
|
1512
1523
|
accountState: string;
|
|
1513
1524
|
accessState: AXMUserAccessState;
|
|
1514
1525
|
effectiveState: string;
|
|
@@ -2163,6 +2174,10 @@ declare class AXCWorkflowEngine implements AXPWorkflowEngine {
|
|
|
2163
2174
|
private reassignTaskOnWorkflowInstanceEntity;
|
|
2164
2175
|
private canReassignTaskToSelf;
|
|
2165
2176
|
private validateHumanTaskReassignPayload;
|
|
2177
|
+
/**
|
|
2178
|
+
* Persists human-task assignment on workflow variables so history can resolve assignee after bookmark consumption.
|
|
2179
|
+
*/
|
|
2180
|
+
private buildStepAssignmentAuditPatch;
|
|
2166
2181
|
private buildReassignAuditVariablePatch;
|
|
2167
2182
|
/**
|
|
2168
2183
|
* Activities that suspend for the task board (inbox), same completion path as human-task.
|
|
@@ -2542,6 +2557,7 @@ type extraFields$1 = {
|
|
|
2542
2557
|
};
|
|
2543
2558
|
declare class AXPTaskBoardProjectManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields$1> {
|
|
2544
2559
|
private calendarService;
|
|
2560
|
+
private dueStatusProviderService;
|
|
2545
2561
|
private list;
|
|
2546
2562
|
get name(): string;
|
|
2547
2563
|
get title(): string;
|
|
@@ -2575,6 +2591,7 @@ type extraFields = {
|
|
|
2575
2591
|
};
|
|
2576
2592
|
declare class AXPTaskBoardPlatformManagementTaskProvider extends AXPWorkflowTaskProvider<extraFields> {
|
|
2577
2593
|
private calendarService;
|
|
2594
|
+
private dueStatusProviderService;
|
|
2578
2595
|
private list;
|
|
2579
2596
|
get name(): string;
|
|
2580
2597
|
get title(): string;
|
|
@@ -2712,6 +2729,7 @@ declare abstract class AXCTextTemplateRenderBackend {
|
|
|
2712
2729
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateRenderBackend>;
|
|
2713
2730
|
}
|
|
2714
2731
|
|
|
2732
|
+
declare function registerConversationMockAfterHydration(hook: () => void): void;
|
|
2715
2733
|
declare function awaitConversationMockSharedStorage(): Promise<void>;
|
|
2716
2734
|
|
|
2717
2735
|
/**
|
|
@@ -2723,6 +2741,7 @@ declare function awaitConversationMockSharedStorage(): Promise<void>;
|
|
|
2723
2741
|
declare class AXCConversationMockConversationApi extends AXMChatConversationApi {
|
|
2724
2742
|
private readonly translation;
|
|
2725
2743
|
private readonly notificationService;
|
|
2744
|
+
reportFocusedConversation(conversationId: string | null): void;
|
|
2726
2745
|
private isConversationPinned;
|
|
2727
2746
|
private conversationLastMessageMs;
|
|
2728
2747
|
createConversation(data: AXConversationCreateData): Promise<AXConversation>;
|
|
@@ -2778,12 +2797,20 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2778
2797
|
private readonly notificationService;
|
|
2779
2798
|
private readonly aiChatRouter;
|
|
2780
2799
|
private readonly fileStorage;
|
|
2800
|
+
private readonly assistBackgroundOperation;
|
|
2801
|
+
private readonly translationService;
|
|
2802
|
+
/** Cached agent catalog titles for background-operation tool status text. */
|
|
2803
|
+
private readonly assistToolDisplayTitleByAgentId;
|
|
2781
2804
|
private readonly assistRowData;
|
|
2782
2805
|
private readonly agentRowData;
|
|
2806
|
+
/** Placeholder message ids with an in-flight {@link #generateAiChatResponse} run. */
|
|
2807
|
+
private readonly activeAssistGenerations;
|
|
2808
|
+
constructor();
|
|
2783
2809
|
/** Session / locale snapshot for assist engine runs (prompt assembly stays in mock AI engine). */
|
|
2784
2810
|
private resolvePlatformRuntimeContextForRun;
|
|
2785
2811
|
sendMessage(command: AXSendMessageCommand): Promise<AXMessage>;
|
|
2786
2812
|
getMessage(messageId: string): Promise<AXMessage>;
|
|
2813
|
+
retryAssistResponse(conversationId: string, messageId: string): Promise<AXMessage>;
|
|
2787
2814
|
getMessages(conversationId: string, pagination: AXPagination): Promise<AXPaginatedResult<AXMessage>>;
|
|
2788
2815
|
editMessage(messageId: string, payload: AXMessagePayload): Promise<AXMessage>;
|
|
2789
2816
|
deleteMessage(messageId: string, _forEveryone?: boolean): Promise<void>;
|
|
@@ -2818,7 +2845,11 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2818
2845
|
exportMessages(_conversationId: string, _format: 'json' | 'csv' | 'txt'): Promise<string | Blob>;
|
|
2819
2846
|
private storeMessage;
|
|
2820
2847
|
private createNotificationForIncomingMessage;
|
|
2821
|
-
|
|
2848
|
+
/**
|
|
2849
|
+
* Notifies when an assist response finishes. Placeholders are published without {@link #storeMessage}.
|
|
2850
|
+
*/
|
|
2851
|
+
private createNotificationForAssistResponseComplete;
|
|
2852
|
+
private persistChatNotification;
|
|
2822
2853
|
private toUserReference;
|
|
2823
2854
|
/**
|
|
2824
2855
|
* Generates an automatic reply from a random participant for regular
|
|
@@ -2832,6 +2863,11 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2832
2863
|
private shouldGenerateAssistConversationTitle;
|
|
2833
2864
|
private generateAssistConversationTitle;
|
|
2834
2865
|
private normalizeConversationTitle;
|
|
2866
|
+
/**
|
|
2867
|
+
* Starts or resumes assist generation for the user turn anchored by {@link userMessageId}.
|
|
2868
|
+
* Reuses an existing incomplete/failed/stale placeholder for that turn instead of appending another AI bubble.
|
|
2869
|
+
*/
|
|
2870
|
+
private startAssistResponseGeneration;
|
|
2835
2871
|
private generateAiChatResponse;
|
|
2836
2872
|
/**
|
|
2837
2873
|
* Demis has no delegated follow-up agent — run {@link AXMAiDemisGeneralAssistId} (no `agent_uuid`)
|
|
@@ -2906,6 +2942,32 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2906
2942
|
*/
|
|
2907
2943
|
private buildAiMessages;
|
|
2908
2944
|
private isStreamingPlaceholder;
|
|
2945
|
+
/** Incomplete, failed, or in-flight assist placeholders must not be sent to the model. */
|
|
2946
|
+
private isExcludedAssistPlaceholderForAiContext;
|
|
2947
|
+
/**
|
|
2948
|
+
* Marks persisted streaming placeholders as incomplete when no generation is active
|
|
2949
|
+
* (e.g. user closed the browser mid-stream).
|
|
2950
|
+
*/
|
|
2951
|
+
private reconcileStaleAssistPlaceholders;
|
|
2952
|
+
/** Clears persisted `isTyping` when no assist generation is active for that conversation. */
|
|
2953
|
+
private reconcileStaleConversationTyping;
|
|
2954
|
+
private getSortedConversationMessages;
|
|
2955
|
+
private isAssistResponseMessage;
|
|
2956
|
+
private findLatestUserMessage;
|
|
2957
|
+
private findAssistPlaceholderAfterUserMessage;
|
|
2958
|
+
private findPrecedingUserMessageForAssist;
|
|
2959
|
+
private findReuseableAssistPlaceholderForLatestUserTurn;
|
|
2960
|
+
private pruneDuplicateAssistPlaceholdersInTurn;
|
|
2961
|
+
private clearAssistTypingForConversation;
|
|
2962
|
+
private trackAssistBackgroundOperationStart;
|
|
2963
|
+
private trackAssistBackgroundOperationStreaming;
|
|
2964
|
+
private resolveAssistToolDisplayTitle;
|
|
2965
|
+
private trackAssistBackgroundOperationTool;
|
|
2966
|
+
private trackAssistBackgroundOperationComplete;
|
|
2967
|
+
private trackAssistBackgroundOperationFailed;
|
|
2968
|
+
private markAssistResponseIncomplete;
|
|
2969
|
+
private markAssistResponseFailed;
|
|
2970
|
+
private resetAssistPlaceholderForRetry;
|
|
2909
2971
|
private extractLatestAssistantContent;
|
|
2910
2972
|
/**
|
|
2911
2973
|
* Maps a stored conversation message to a platform {@link AXPAiChatMessage}.
|
|
@@ -2928,6 +2990,7 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2928
2990
|
private transcribeUserAudioMedia;
|
|
2929
2991
|
/** Reply timestamps must be strictly after the latest user message (avoids same-ms ordering glitches). */
|
|
2930
2992
|
private resolveReplyTimestampAfterUserMessages;
|
|
2993
|
+
private extractMessageTextForNotification;
|
|
2931
2994
|
private extractMessageText;
|
|
2932
2995
|
private getAssistParticipantId;
|
|
2933
2996
|
private setConversationTyping;
|
|
@@ -3125,6 +3188,7 @@ declare class AXMFormDataSourcesProvider implements AXPDataSourceDefinitionProvi
|
|
|
3125
3188
|
private priorityLevels;
|
|
3126
3189
|
private incidentTypes;
|
|
3127
3190
|
private severityLevels;
|
|
3191
|
+
private questionDifficultyOptions;
|
|
3128
3192
|
items(): Promise<AXPDataSourceDefinition[]>;
|
|
3129
3193
|
}
|
|
3130
3194
|
|
|
@@ -3284,106 +3348,13 @@ declare class AXMDashboardChartDataSourceDefinition implements AXPDataSourceDefi
|
|
|
3284
3348
|
items(): Promise<AXPDataSourceDefinition[]>;
|
|
3285
3349
|
}
|
|
3286
3350
|
|
|
3287
|
-
declare const
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
id: string;
|
|
3295
|
-
title: string;
|
|
3296
|
-
};
|
|
3297
|
-
parentId: null;
|
|
3298
|
-
parent: null;
|
|
3299
|
-
weekends: string[];
|
|
3300
|
-
firstDayOfWeek: string;
|
|
3301
|
-
workingHours: {
|
|
3302
|
-
start: string;
|
|
3303
|
-
end: string;
|
|
3304
|
-
breakStart: string;
|
|
3305
|
-
breakEnd: string;
|
|
3306
|
-
};
|
|
3307
|
-
timeZone: string;
|
|
3308
|
-
isTemplate: boolean;
|
|
3309
|
-
isActive: boolean;
|
|
3310
|
-
order: number;
|
|
3311
|
-
notes: string;
|
|
3312
|
-
created: {
|
|
3313
|
-
at: Date;
|
|
3314
|
-
};
|
|
3315
|
-
updated: {
|
|
3316
|
-
at: Date;
|
|
3317
|
-
};
|
|
3318
|
-
scope?: undefined;
|
|
3319
|
-
scopeEntityId?: undefined;
|
|
3320
|
-
} | {
|
|
3321
|
-
id: string;
|
|
3322
|
-
name: string;
|
|
3323
|
-
title: string;
|
|
3324
|
-
description: string;
|
|
3325
|
-
calendarTypeId: string;
|
|
3326
|
-
calendarType: {
|
|
3327
|
-
id: string;
|
|
3328
|
-
title: string;
|
|
3329
|
-
};
|
|
3330
|
-
parentId: null;
|
|
3331
|
-
parent: null;
|
|
3332
|
-
scope: string;
|
|
3333
|
-
scopeEntityId: null;
|
|
3334
|
-
weekends: string[];
|
|
3335
|
-
firstDayOfWeek: string;
|
|
3336
|
-
workingHours: {
|
|
3337
|
-
start: string;
|
|
3338
|
-
end: string;
|
|
3339
|
-
breakStart: string;
|
|
3340
|
-
breakEnd: string;
|
|
3341
|
-
};
|
|
3342
|
-
timeZone: string;
|
|
3343
|
-
isTemplate: boolean;
|
|
3344
|
-
isActive: boolean;
|
|
3345
|
-
order: number;
|
|
3346
|
-
notes: string;
|
|
3347
|
-
created: {
|
|
3348
|
-
at: Date;
|
|
3349
|
-
};
|
|
3350
|
-
updated: {
|
|
3351
|
-
at: Date;
|
|
3352
|
-
};
|
|
3353
|
-
} | {
|
|
3354
|
-
id: string;
|
|
3355
|
-
name: string;
|
|
3356
|
-
title: string;
|
|
3357
|
-
description: string;
|
|
3358
|
-
calendarTypeId: string;
|
|
3359
|
-
calendarType: {
|
|
3360
|
-
id: string;
|
|
3361
|
-
title: string;
|
|
3362
|
-
};
|
|
3363
|
-
parentId: null;
|
|
3364
|
-
parent: null;
|
|
3365
|
-
scope: string;
|
|
3366
|
-
scopeEntityId: string;
|
|
3367
|
-
weekends: string[];
|
|
3368
|
-
firstDayOfWeek: string;
|
|
3369
|
-
workingHours: {
|
|
3370
|
-
start: string;
|
|
3371
|
-
end: string;
|
|
3372
|
-
breakStart: string;
|
|
3373
|
-
breakEnd: string;
|
|
3374
|
-
};
|
|
3375
|
-
timeZone: string;
|
|
3376
|
-
isTemplate: boolean;
|
|
3377
|
-
isActive: boolean;
|
|
3378
|
-
order: number;
|
|
3379
|
-
notes: string;
|
|
3380
|
-
created: {
|
|
3381
|
-
at: Date;
|
|
3382
|
-
};
|
|
3383
|
-
updated: {
|
|
3384
|
-
at: Date;
|
|
3385
|
-
};
|
|
3386
|
-
})[];
|
|
3351
|
+
declare const MOCK_CALENDAR_IRAN_PERSIAN_ID = "c0010001-0000-4000-a000-000000000001";
|
|
3352
|
+
declare const MOCK_CALENDAR_INTERNATIONAL_GREGORIAN_ID = "c0010002-0000-4000-a000-000000000002";
|
|
3353
|
+
declare const MOCK_CALENDAR_AUSTRALIA_ID = "c0010003-0000-4000-a000-000000000003";
|
|
3354
|
+
declare const MOCK_CALENDAR_NEW_ZEALAND_ID = "c0010004-0000-4000-a000-000000000004";
|
|
3355
|
+
|
|
3356
|
+
type CalendarMockDto = AXPMockDto<string> & Pick<AXMCalendarManagementCalendarEntityModel, 'name' | 'title' | 'description' | 'isActive'>;
|
|
3357
|
+
declare const calendarMock: CalendarMockDto[];
|
|
3387
3358
|
|
|
3388
3359
|
declare class AXCCalendarDataSeeder implements AXPDataSeeder {
|
|
3389
3360
|
private readonly storageService;
|
|
@@ -3392,66 +3363,27 @@ declare class AXCCalendarDataSeeder implements AXPDataSeeder {
|
|
|
3392
3363
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarDataSeeder>;
|
|
3393
3364
|
}
|
|
3394
3365
|
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
title: string;
|
|
3401
|
-
};
|
|
3402
|
-
title: string;
|
|
3403
|
-
description: string;
|
|
3404
|
-
typeId: string;
|
|
3405
|
-
type: dist_libs_modules_types_acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
|
|
3406
|
-
date: Date;
|
|
3407
|
-
isRecurring: boolean;
|
|
3408
|
-
recurrenceRule: string;
|
|
3409
|
-
isActive: boolean;
|
|
3410
|
-
order: number;
|
|
3411
|
-
created: {
|
|
3412
|
-
at: Date;
|
|
3413
|
-
};
|
|
3414
|
-
updated: {
|
|
3415
|
-
at: Date;
|
|
3416
|
-
};
|
|
3417
|
-
} | {
|
|
3418
|
-
id: string;
|
|
3419
|
-
calendarId: string;
|
|
3420
|
-
calendar: {
|
|
3421
|
-
id: string;
|
|
3422
|
-
title: string;
|
|
3423
|
-
};
|
|
3424
|
-
title: string;
|
|
3425
|
-
description: string;
|
|
3426
|
-
typeId: string;
|
|
3427
|
-
type: dist_libs_modules_types_acorex_modules_calendar_management.AXMCalendarManagementCalendarEventTypeEntityModel;
|
|
3428
|
-
date: Date;
|
|
3429
|
-
isRecurring: boolean;
|
|
3430
|
-
recurrenceRule: null;
|
|
3431
|
-
isActive: boolean;
|
|
3432
|
-
order: number;
|
|
3433
|
-
created: {
|
|
3434
|
-
at: Date;
|
|
3435
|
-
};
|
|
3436
|
-
updated: {
|
|
3437
|
-
at: Date;
|
|
3438
|
-
};
|
|
3439
|
-
})[];
|
|
3366
|
+
type CalendarOccasionMockDto = AXPMockDto<string> & Pick<AXMCalendarManagementCalendarOccasionEntityModel, 'calendarId' | 'title' | 'description' | 'typeId' | 'date' | 'isRecurring' | 'recurrenceRule' | 'isPublicHoliday' | 'isActive' | 'order'>;
|
|
3367
|
+
declare const calendarOccasionMock: CalendarOccasionMockDto[];
|
|
3368
|
+
/** Adds lookup snapshots required for list columns (type.title); seed DTO stays scalar-only. */
|
|
3369
|
+
declare function enrichCalendarOccasionForStorage(row: CalendarOccasionMockDto): AXMCalendarManagementCalendarOccasionEntityModel;
|
|
3370
|
+
declare const calendarOccasionSeedData: AXMCalendarManagementCalendarOccasionEntityModel[];
|
|
3440
3371
|
|
|
3441
|
-
declare class
|
|
3372
|
+
declare class AXCCalendarOccasionDataSeeder implements AXPDataSeeder {
|
|
3442
3373
|
private readonly storageService;
|
|
3443
3374
|
seed(): Promise<void>;
|
|
3444
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
3445
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
3375
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCCalendarOccasionDataSeeder, never>;
|
|
3376
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCCalendarOccasionDataSeeder>;
|
|
3446
3377
|
}
|
|
3447
3378
|
|
|
3448
|
-
|
|
3379
|
+
type CalendarOccasionTypeMockDto = AXPMockDto<string> & Pick<AXMCalendarManagementCalendarOccasionTypeEntityModel, 'title' | 'description' | 'isPublicHoliday' | 'color' | 'icon' | 'isActive'>;
|
|
3380
|
+
declare const calendarOccasionTypeMockData: CalendarOccasionTypeMockDto[];
|
|
3449
3381
|
|
|
3450
|
-
declare class
|
|
3382
|
+
declare class AXMCalendarOccasionTypeSeeder implements AXPDataSeeder {
|
|
3451
3383
|
private readonly storageService;
|
|
3452
3384
|
seed(): Promise<void>;
|
|
3453
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
3454
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
3385
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCalendarOccasionTypeSeeder, never>;
|
|
3386
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMCalendarOccasionTypeSeeder>;
|
|
3455
3387
|
}
|
|
3456
3388
|
|
|
3457
3389
|
declare const meetingIds: {
|
|
@@ -4287,5 +4219,5 @@ declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
|
|
|
4287
4219
|
|
|
4288
4220
|
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
4289
4221
|
|
|
4290
|
-
export { ACTIVITY_CATEGORIES, ACTIVITY_CATEGORY_ID_BY_KEY, ACTIVITY_DEFINITIONS, AI_ASSIST_MOCK, AI_MODEL_MOCK, APPLICATIONS, APPLICATION_CATEGORY_IDS, APPLICATION_CATEGORY_MOCKS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAiAssistSeeder, AXCAiManagementMockModule, AXCAiModelSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationCategoryDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder,
|
|
4222
|
+
export { ACTIVITY_CATEGORIES, ACTIVITY_CATEGORY_ID_BY_KEY, ACTIVITY_DEFINITIONS, AI_ASSIST_MOCK, AI_MODEL_MOCK, APPLICATIONS, APPLICATION_CATEGORY_IDS, APPLICATION_CATEGORY_MOCKS, AXCActivityCategorySeeder, AXCActivityDefinitionSeeder, AXCAiAssistSeeder, AXCAiManagementMockModule, AXCAiModelSeeder, AXCAppTermDataSeeder, AXCAppVersionDataSeeder, AXCApplicationCategoryDataSeeder, AXCApplicationDataSeeder, AXCApplicationManagementMockModule, AXCAssessmentManagementMockModule, AXCAssetManagementMockModule, AXCAuthMockModule, AXCCalendarDataSeeder, AXCCalendarManagementMockModule, AXCCalendarOccasionDataSeeder, AXCCommandRegistryDataSeeder, AXCCommonMockModule, AXCContactCoreMockModule, AXCContentManagementMockModule, AXCConversationDataSeeder, AXCConversationMockConversationApi, AXCConversationMockMessageApi, AXCConversationMockModule, AXCConversationMockRealtimeApi, AXCConversationMockUploaderService, AXCConversationMockUserApi, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEntityDefinitionSeederService, AXCEntityDefinitionsModule, AXCEntityStorageInsertCommand, AXCEntityStorageModule, AXCEntityStorageQueryQuery, AXCFileStorageServiceDexie, AXCFileStorageServiceFirestore, AXCFinancialCoreMockModule, AXCFirestoreEntityStorageService, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCMockShowMetaDataFormPopupCommand, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryRegistryDataSeeder, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCStoredEntityDefinitionLoader, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, AXCTextTemplateRenderBackend, AXCTokensDataSeeder, AXCUserPassStrategyMock, AXCVersionDB, AXCVersioningService, AXCWidgetCatalogDataSeeder, AXCWorkflowCategorySeeder, AXCWorkflowDefinitionDataSeeder, AXCWorkflowEngine, AXCWorkflowExecutionDB, AXCWorkflowExecutionStoreDexie, AXCWorkflowExecutionStoreFirestore, AXCWorkflowInstanceCartableDemoSeeder, AXCWorkflowManagementMockModule, AXC_ENTITY_STORAGE_BACKEND_TYPE, AXC_FIRESTORE_CONFIG, AXC_FIRESTORE_DB, AXC_WORKFLOW_EXECUTION_STORE, AXMAiDemisAssistAgentUuid, AXMAiDemisAssistId, AXMAiDemisGeneralAssistId, AXMAiModelStableIds, AXMAiPlatformAssistantAssistId, AXMAutomationDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarOccasionTypeSeeder, AXMDashboardChartDataSourceDefinition, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMResponsibilityDataSeeder, AXMTagDataSeeder, AXMTeamBusinessUnitDataSeeder, AXMTeamDataSeeder, AXMTeamMemberDataSeeder, AXMTeamMemberRoleDataSeeder, AXMWorkflowDashboardChartDataSourceDefinition, AXM_AI_REGISTRY_COMMAND_NAME, AXM_AI_REGISTRY_QUERY_NAME, AXM_CORPORATE_BUSINESS_UNIT_ID, AXPDashboardDataSeeder, AXPIdentifierDB, AXPMessageDataSeeder, AXPMockChecksumProvider, AXPMockClockProvider, AXPMockIdentifierService, AXPMockLookupProvider, AXPMockPolicyProvider, AXPMockSequenceProvider, AXPRoomDataSeeder, AXPSecurityManagementRoleDataSeeder, AXPSecurityManagementUserDataSeeder, AXPTaskBoardPlatformManagementTaskProvider, AXPTaskBoardProjectManagementTaskProvider, AXVChangeType, BCC, BOC, BUSINESS_UNITS_MOCK, CHAT_LAST_MESSAGE_IDS, COLLABORATION_STANDARD, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CP, CRM_ENTERPRISE, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, ENTITY_DEFINITION_MAP, ENTITY_REGISTRY, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, G, HR_ENTERPRISE, HW, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_DEFINITION_CATEGORY_KEY_TO_ID, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, MAGFA_COMMERCE_STANDARD, MAGFA_CONVERSATION_DASHBOARD, MAGFA_TENANT_ID, METADATA_CATEGORY_IDS, METADATA_GENERAL_CATEGORY_REFS, METADATA_SYSTEM_CATEGORY_REFS, MLC, MOCK_CALENDAR_AUSTRALIA_ID, MOCK_CALENDAR_INTERNATIONAL_GREGORIAN_ID, MOCK_CALENDAR_IRAN_PERSIAN_ID, MOCK_CALENDAR_NEW_ZEALAND_ID, OHR, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, PM, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QCP, QGEN, QHW, QOHR, QPM, QTLE, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, QWS, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, RESPONSIBILITY_CATEGORY_KEY_TO_ID, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_CATEGORY_MOCK, TEAMS_MOCK, TEAM_BUSINESS_UNITS_MOCK, TEAM_CATEGORY_KEY_TO_ID, TEAM_MEMBERS_MOCK, TEAM_MEMBER_ROLES_MOCK, TIMEPLICITY_TENANT_ID, TLA, TOKENS, TPC, VISIBILITY_FILTER_BYPASS, WORKFLOW_CATEGORIES, WS, activityCategoryMocks, activityDefinitionEntityMock, applyEntityDefinitionFirestoreSnapshot, attachmentsInterface, automationCommandMiddleware, automationMock, avatarInterface, awaitConversationMockSharedStorage, axVersionDB, axWorkflowExecutionDB, axcPatchEmployeeActivePrimaryBusinessUnitRefsFromRows, axcPatchEmployeeActivePrimaryPositionRefsFromRows, axcPatchEmployeeManagerRefsFromRows, axcResolveCommandRegistrySeedId, axcResolveQueryRegistrySeedId, axcResolveWidgetCatalogSeedId, bankCategory, buildEntityStorageQuickSearchFilter, buildWorkflowInstanceCartableDemoRows, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarMock, calendarOccasionMock, calendarOccasionSeedData, calendarOccasionTypeMockData, chatMessageMock, chatMock, checkboxInterface, childCountMiddleware, clearEntityDefinitionFirestoreCollections, colorInterface, computeDiff, contactInterface, conversationDemoSeedUserIds, createFileCastMiddleware, createWidgetLayoutConfig, createWorkflowDefinitionEntityMock, dateInterface, dateTimeInterface, descriptionInterface, documentFolderSyncMiddleware, emailInterface, enrichCalendarOccasionForStorage, enrichWorkflowGraph, entityDefDb, entityValidationMiddleware, finalizeActivityCategoryItemCounts, findEmployeeById, folderStorageMiddleware, groupOrderItemCalculatorMiddleware, historyMiddleware, identifierCommitMiddleware, imageInterface, inspectionOkXNaInterface, loadMockPropertyDefinitions, lockGuardMiddleware, longTextAnswerInterface, lookupInterface, lookupResolverMiddleware, mapInterface, meetingFilesMock, meetingIds, meetingMock, meetingParticipantMock, meetingRoleTypeMock, meetingSessionMock, meetingTimeSlotMock, meetingTypeFileTemplateMock, meetingTypeMock, mergeDetailRelationMiddleware, mergeQuickSearchIntoRequest, metadataCategoryMocks, mockParticipantIndexForSecurityUserId, mockQuestionBankItemByName, mockRoleDefinitions, mockUsers, multipleChoiceInterface, multipleSelectInterface, normalizeAnyFileArrayForView, normalizeSnapshotFileFieldsForView, numberInterface, parseEntityStorageInsertData, parseEntityStorageQueryRequest, participantIds, participantMock, passwordInterface, personIdentifierTypeMock, personIds, personLegalIds, personMock, personNaturalIds, phoneInterface, primaryMiddleware, provideMockPropertySetups, qrcodeInterface, questionBankItemMock, questionnaireMock, ratingInterface, registerConversationMockAfterHydration, richTextInterface, scaleInterface, selectInterface, selectionListInterface, sexAtBirthInterface, signatureInterface, statusDefaultMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, tokenCategoryIds, tokenCategoryMocks, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
|
|
4291
4223
|
export type { AXCBookmarkEntity, AXCEntityStorageBackendType, AXCEntityStorageInsertInput, AXCEntityStorageInsertOutput, AXCEntityStorageQueryInput, AXCEntityStorageQueryResult, AXCFirestoreConfig, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCWorkflowExecutionStore, AXMAiManagementAssistDemisMockMetadata, AXMAiManagementAssistMockModel, AXMAiManagementModelMockModel, AXMApplicationManagementApplicationCategoryMockModel, AXMOrganizationManagementBusinessUnitMockModel, AXMOrganizationManagementJobDefinitionMockModel, AXMOrganizationManagementJobLevelMockModel, AXMOrganizationManagementPositionMockModel, AXMOrganizationManagementResponsibilityMockModel, AXMOrganizationManagementTeamBusinessUnitMockModel, AXMOrganizationManagementTeamMemberMockModel, AXMOrganizationManagementTeamMemberRoleMockModel, AXMOrganizationManagementTeamMockModel, AXMTag, AXPLogRow, AXPRuleRow, AXPSeqRow, AXPTextTemplateRenderRequest, AXPTextTemplateRenderResult, AXPVersionChange, AXPVersionEntry, AXPVersionStream, AutomationCommandDto, AutomationMockDto, CanonicalChange, CanonicalChangeOp, CreateWorkflowDefinitionEntityMockOptions, EntityDefinitionFirestoreSnapshotFile, FirestoreSnapshotOperation, MockUserPassCredentials, QuestionBankItemCategoryTitle, QuestionBankItemMockDto, QuestionnaireCategoryTitle, QuestionnaireMockDto, ShowMetaDataFormPopupMockInput, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo, WorkflowInstanceEntityBookmark };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-connectivity-api-execute.command-CiBl7z_H.mjs","sources":["../../../../libs/connectivity/api/src/lib/report-management/execute.command.ts"],"sourcesContent":["import {\n AXPExecutionReportCommand,\n AXPExecutionReportCommandResult,\n AXPExecutionReportResult,\n AXPLayoutExecutionContext,\n AXPReportViewerService,\n AXPReportLayoutDefinition,\n} from '@acorex/modules/report-management';\nimport { AXP_ROOT_CONFIG_TOKEN } from '@acorex/platform/common';\nimport { HttpClient } from '@angular/common/http';\nimport { inject, Injectable } from '@angular/core';\nimport { firstValueFrom } from 'rxjs';\nimport { AXPExecuteReportDto } from './report-management-api.providers';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXCReportExecuteCommand implements AXPExecutionReportCommand {\n private readonly http = inject(HttpClient);\n private readonly reportDefinitionService = inject(AXPReportViewerService);\n private readonly configs = inject(AXP_ROOT_CONFIG_TOKEN);\n private readonly baseUrl = this.configs.baseUrl;\n\n //#region ---- Command Implementation ----\n\n async execute(context: AXPLayoutExecutionContext) {\n try {\n const { reportId, layoutId, filters: parameters } = context;\n\n // Get the report definition to find the layout\n const reportDefinition = await this.reportDefinitionService.getReportById(reportId);\n if (!reportDefinition) {\n throw new Error(`Report with ID ${reportId} not found`);\n }\n\n // Find the specific layout\n const layoutDefinition = reportDefinition.layouts.find((l: AXPReportLayoutDefinition) => l.id === layoutId);\n if (!layoutDefinition) {\n throw new Error(`Layout with ID ${layoutId} not found in report ${reportId}`);\n }\n\n // Call the Execute API endpoint\n const url = `${this.baseUrl}/v1/global/Report-Management/report/Execute`;\n const body = {\n reportId,\n parameters,\n };\n\n const executeResult: AXPExecuteReportDto = await firstValueFrom(this.http.post<AXPExecuteReportDto>(url, body));\n\n // Convert ExecuteReportDto to AXPExecutionReportResult format\n let executionResult: AXPExecutionReportResult;\n\n if (executeResult.type === 'table') {\n executionResult = {\n type: 'table',\n items: executeResult.items,\n total: executeResult.totalCount,\n };\n } else if (executeResult.type === 'chart') {\n executionResult = {\n type: 'chart',\n data: executeResult.items[0] || {},\n };\n } else if (executeResult.type === 'cards') {\n executionResult = {\n type: 'cards',\n items: executeResult.items,\n };\n } else {\n executionResult = {\n type: 'custom',\n data: executeResult.items,\n };\n }\n\n // Return the combined layout configuration and data\n return {\n success: true,\n data: {\n ...layoutDefinition.layout,\n data: executionResult,\n },\n };\n } catch (error) {\n console.error('Error executing report:', error);\n const errorMessage = error instanceof Error ? error.message : 'Unknown error';\n return {\n success: false,\n message: {\n type: 'error' as const,\n text: `Failed to execute report: ${errorMessage}`,\n },\n };\n }\n }\n\n //#endregion\n}\n"],"names":[],"mappings":"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"}
|