@acorex/connectivity 21.0.0-beta.2 → 21.0.0-beta.4
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-mock-acorex-connectivity-mock-BvDCXP5M.mjs → acorex-connectivity-mock-acorex-connectivity-mock-BwFZQ1Xw.mjs} +1056 -664
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-BwFZQ1Xw.mjs.map +1 -0
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-DQRHQ_jG.mjs → acorex-connectivity-mock-assign-to-manager.activity-BgaXGmcT.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-assign-to-manager.activity-DQRHQ_jG.mjs.map → acorex-connectivity-mock-assign-to-manager.activity-BgaXGmcT.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-D_2bFiuO.mjs → acorex-connectivity-mock-chat-generate-image.command-IUvQRJU0.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-generate-image.command-D_2bFiuO.mjs.map → acorex-connectivity-mock-chat-generate-image.command-IUvQRJU0.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-CWK6lBgb.mjs → acorex-connectivity-mock-chat-synthesize-speech.command-DE8YU17E.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-synthesize-speech.command-CWK6lBgb.mjs.map → acorex-connectivity-mock-chat-synthesize-speech.command-DE8YU17E.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-B1PpdDkQ.mjs → acorex-connectivity-mock-chat-transcribe-speech.command-Cr0QRiqr.mjs} +2 -2
- package/fesm2022/{acorex-connectivity-mock-chat-transcribe-speech.command-B1PpdDkQ.mjs.map → acorex-connectivity-mock-chat-transcribe-speech.command-Cr0QRiqr.mjs.map} +1 -1
- package/fesm2022/{acorex-connectivity-mock-user-roles-for-list-column.query-BSN7vEKz.mjs → acorex-connectivity-mock-user-roles-for-list-column.query-DBhWkX3w.mjs} +2 -3
- package/fesm2022/acorex-connectivity-mock-user-roles-for-list-column.query-DBhWkX3w.mjs.map +1 -0
- package/fesm2022/acorex-connectivity-mock.mjs +1 -1
- package/package.json +2 -2
- package/types/acorex-connectivity-mock.d.ts +106 -97
- package/fesm2022/acorex-connectivity-mock-acorex-connectivity-mock-BvDCXP5M.mjs.map +0 -1
- package/fesm2022/acorex-connectivity-mock-user-roles-for-list-column.query-BSN7vEKz.mjs.map +0 -1
|
@@ -9,11 +9,11 @@ import { AXPCommand, AXPQuery } from '@acorex/platform/runtime';
|
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
import { AXMAuthConfigs } from '@acorex/modules/auth';
|
|
11
11
|
import { AXDataSourceFilterOption } from '@acorex/cdk/common';
|
|
12
|
-
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
13
|
-
import { AXPEntity, AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, CanonicalChange as CanonicalChange$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
|
|
14
12
|
import { AXPEntityStorageService, AXPEntityDefinitionLoader, AXPDataSeeder, AXPRecordStateInfo, AXPEntityStorageMiddleware } from '@acorex/platform/layout/entity';
|
|
15
13
|
import Dexie, { Table } from 'dexie';
|
|
16
14
|
import { Firestore } from 'firebase/firestore';
|
|
15
|
+
import * as _acorex_platform_common from '@acorex/platform/common';
|
|
16
|
+
import { AXPEntity, AXPLockService, AXPLockRequest, AXPLockInfo, AXPUnLockRequest, AXPLockGetInfoRequest, AXPFileStorageService, AXPFileStorageCreateRequest, AXPFileStorageInfo, AXPFileStorageUpdateRequest, AXPFileStorageFindRequest, AXPFileManyStorageInfo, AXPVersioningService, AXPVersionEntry as AXPVersionEntry$1, CanonicalChange as CanonicalChange$1, AXVChangeType as AXVChangeType$1 } from '@acorex/platform/common';
|
|
17
17
|
import { AXPPropertyDefinition } from '@acorex/platform/domain';
|
|
18
18
|
import { AXMAiManagementModelEntityModel, AXMAiManagementAssistEntityModel } from '@acorex/modules/ai-management';
|
|
19
19
|
import { AXMApplicationManagementApplicationEntityModel, AXMApplicationManagementEditionEntityModel } from '@acorex/modules/application-management';
|
|
@@ -28,8 +28,8 @@ import * as _acorex_platform_workflow from '@acorex/platform/workflow';
|
|
|
28
28
|
import { AXPWorkflowInstance, AXPWorkflowEngine, AXPStartWorkflowRequest, AXPStartWorkflowResponse, AXPResumeWorkflowRequest, AXPResumeWorkflowResponse, AXPGetWorkflowStateRequest, AXPWorkflowInstanceState, AXPClaimWorkflowTaskRequest, AXPClaimWorkflowTaskResponse, AXPFrontActivityCompleteRequest, AXPFrontActivityCompleteResponse, AXPWorkflowDefinition, AXPActivityCategory, AXPActivityDefinition, AXPWorkflowCategory } from '@acorex/platform/workflow';
|
|
29
29
|
import { AXMWorkflowManagementWorkflowDefinitionEntityModel } from '@acorex/modules/workflow-management';
|
|
30
30
|
import { AXPWorkflowTaskProvider, AXPTaskFilter, AXPTask, AXPExtraField, AXPTaskStatus } from '@acorex/modules/task-management';
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
31
|
+
import { AXConversationCreateData, AXConversation, AXPagination, AXConversationFilters, AXPaginatedResult, AXConversationUpdateData, AXParticipant, AXParticipantUpdate, AXConversationSettingsUpdate, AXSendMessageCommand, AXMessage, AXMessagePayload, AXMessageSearchFilters, AXReadReceipt, AXMessageForwardData, AXPinnedMessage, AXConnectionStatus, AXConnectionOptions, AXConnectionEvent, AXTypingIndicator, AXPresenceUpdate, AXNotificationEvent, AXCallEvent, AXUserProfileUpdate, AXUserSearchFilters, AXPresenceStatus, AXBlockReportReason } from '@acorex/components/conversation2';
|
|
32
|
+
import { AXMChatConversationApi, AXMChatMessageApi, AXMChatRealtimeApi, AXMChatUserApi } from '@acorex/modules/conversation';
|
|
33
33
|
import { Observable } from 'rxjs';
|
|
34
34
|
import { ShowMetaDataFormPopupCommand, ShowMetaDataFormPopupInput, ResolveGroupsResult } from '@acorex/modules/data-management';
|
|
35
35
|
import { AXPDynamicFormGroupDefinition } from '@acorex/platform/layout/builder';
|
|
@@ -561,11 +561,6 @@ declare class AXCEntityStorageQueryQuery implements AXPQuery<AXCEntityStorageQue
|
|
|
561
561
|
* Returns null when the payload cannot be parsed.
|
|
562
562
|
*/
|
|
563
563
|
declare function parseEntityStorageQueryRequest(raw: AXPQueryRequest | string | undefined | null): AXPQueryRequest | null;
|
|
564
|
-
/**
|
|
565
|
-
* Derives lodash-get paths for quick search from the entity definition: string-like property names
|
|
566
|
-
* plus lookup `expose[].target` paths (e.g. `brand.title`).
|
|
567
|
-
*/
|
|
568
|
-
declare function collectQuickSearchFieldPathsFromEntityDefinition(entity: AXPEntity | null | undefined): string[];
|
|
569
564
|
/**
|
|
570
565
|
* Builds a broad OR filter: fixed “usual suspects” plus optional extra paths (`contains` only on extras).
|
|
571
566
|
* Extra paths typically come from the entity definition and/or caller-supplied {@link quickSearchFieldPaths}.
|
|
@@ -968,10 +963,10 @@ interface AXMAiManagementAssistMockModel extends AXMAiManagementAssistEntityMode
|
|
|
968
963
|
/** Catalog id of a row whose `modelPurposes` includes `image`; must match chat transport when generating images. */
|
|
969
964
|
imageModelId?: string | null;
|
|
970
965
|
}
|
|
971
|
-
/** Deterministic id for the platform
|
|
972
|
-
declare const
|
|
973
|
-
/** Deterministic id for the Demis AI
|
|
974
|
-
declare const
|
|
966
|
+
/** Deterministic id for the platform assistant assist row. */
|
|
967
|
+
declare const AXMAiPlatformAssistantAssistId = "b0000001-0000-4000-8000-000000000001";
|
|
968
|
+
/** Deterministic id for the Demis AI assistant assist row (mirror of platform assistant, lighter delegation). */
|
|
969
|
+
declare const AXMAiDemisAssistantAssistId = "b0000001-0000-4000-8000-000000000004";
|
|
975
970
|
declare const AI_ASSIST_MOCK: AXMAiManagementAssistMockModel[];
|
|
976
971
|
|
|
977
972
|
declare class AXCAiAssistSeeder implements AXPDataSeeder {
|
|
@@ -1009,6 +1004,7 @@ declare const AXM_AI_REGISTRY_COMMAND_NAME: {
|
|
|
1009
1004
|
declare const AXM_AI_REGISTRY_QUERY_NAME: {
|
|
1010
1005
|
readonly listRegisteredEntities: "PlatformManagement:ListRegisteredEntities";
|
|
1011
1006
|
readonly listRegisteredDataSources: "PlatformManagement:ListRegisteredDataSources";
|
|
1007
|
+
readonly listPlatformNavigationForAi: "PlatformManagement:ListPlatformNavigationForAi";
|
|
1012
1008
|
readonly entityStorageQuery: "ConnectivityMock:EntityStorage:Query";
|
|
1013
1009
|
readonly widgetsGetForAi: "Widgets:GetForAI";
|
|
1014
1010
|
};
|
|
@@ -2530,87 +2526,7 @@ declare abstract class AXCTextTemplateRenderBackend {
|
|
|
2530
2526
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCTextTemplateRenderBackend>;
|
|
2531
2527
|
}
|
|
2532
2528
|
|
|
2533
|
-
|
|
2534
|
-
* Mock implementation of AXMChatUserApi using conversation shared storage.
|
|
2535
|
-
* Provides user profile, discovery, presence, blocking, and settings operations.
|
|
2536
|
-
*/
|
|
2537
|
-
declare class AXCConversationMockUserApi extends AXMChatUserApi {
|
|
2538
|
-
getCurrentUser(): Promise<AXParticipant>;
|
|
2539
|
-
updateProfile(updates: AXUserProfileUpdate): Promise<AXParticipant>;
|
|
2540
|
-
uploadAvatar(file: File): Promise<string>;
|
|
2541
|
-
getUsers(filters?: AXUserSearchFilters): Promise<AXParticipant[]>;
|
|
2542
|
-
searchUsers(query: string): Promise<AXParticipant[]>;
|
|
2543
|
-
getUserById(userId: string): Promise<AXParticipant>;
|
|
2544
|
-
getUsersByIds(userIds: string[]): Promise<AXParticipant[]>;
|
|
2545
|
-
getUserPresence(userId: string): Promise<AXPresenceUpdate>;
|
|
2546
|
-
updatePresence(_status: AXPresenceStatus, _statusText?: string): Promise<void>;
|
|
2547
|
-
blockUser(_userId: string, _reason?: AXBlockReportReason): Promise<void>;
|
|
2548
|
-
unblockUser(_userId: string): Promise<void>;
|
|
2549
|
-
getBlockedUsers(): Promise<string[]>;
|
|
2550
|
-
reportUser(_userId: string, _reason: AXBlockReportReason): Promise<void>;
|
|
2551
|
-
getUserSettings(): Promise<Record<string, unknown>>;
|
|
2552
|
-
updateUserSettings(_settings: Record<string, unknown>): Promise<void>;
|
|
2553
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockUserApi, never>;
|
|
2554
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockUserApi>;
|
|
2555
|
-
}
|
|
2556
|
-
|
|
2557
|
-
/**
|
|
2558
|
-
* Mock implementation of AXMChatRealtimeApi using conversation shared storage.
|
|
2559
|
-
* Provides connection management and real-time event subscriptions.
|
|
2560
|
-
*/
|
|
2561
|
-
declare class AXCConversationMockRealtimeApi extends AXMChatRealtimeApi {
|
|
2562
|
-
readonly connectionStatus$: Observable<AXConnectionStatus>;
|
|
2563
|
-
connect(_options?: AXConnectionOptions): Promise<void>;
|
|
2564
|
-
disconnect(): Promise<void>;
|
|
2565
|
-
isConnected(): boolean;
|
|
2566
|
-
reconnect(): Promise<void>;
|
|
2567
|
-
subscribeToConnectionEvents(): Observable<AXConnectionEvent>;
|
|
2568
|
-
subscribeToMessages(conversationId: string): Observable<AXMessage>;
|
|
2569
|
-
subscribeToMessageUpdates(_conversationId?: string): Observable<AXMessage>;
|
|
2570
|
-
subscribeToMessageDeletions(_conversationId?: string): Observable<string>;
|
|
2571
|
-
subscribeToMessageReactions(_conversationId?: string): Observable<AXMessage>;
|
|
2572
|
-
subscribeToConversationUpdates(): Observable<AXConversation>;
|
|
2573
|
-
subscribeToConversationCreated(): Observable<AXConversation>;
|
|
2574
|
-
subscribeToConversationDeleted(): Observable<string>;
|
|
2575
|
-
subscribeToTypingIndicators(conversationId: string): Observable<AXTypingIndicator>;
|
|
2576
|
-
subscribeToPresenceUpdates(_userIds?: string[]): Observable<AXPresenceUpdate>;
|
|
2577
|
-
subscribeToReadReceipts(_conversationId?: string): Observable<{
|
|
2578
|
-
messageId: string;
|
|
2579
|
-
userId: string;
|
|
2580
|
-
readAt: Date;
|
|
2581
|
-
}>;
|
|
2582
|
-
subscribeToNotifications(): Observable<AXNotificationEvent>;
|
|
2583
|
-
subscribeToCallEvents(): Observable<AXCallEvent>;
|
|
2584
|
-
subscribeToUserBlockEvents(): Observable<{
|
|
2585
|
-
userId: string;
|
|
2586
|
-
blocked: boolean;
|
|
2587
|
-
}>;
|
|
2588
|
-
subscribeToParticipantEvents(_conversationId?: string): Observable<{
|
|
2589
|
-
conversationId: string;
|
|
2590
|
-
userId: string;
|
|
2591
|
-
action: 'added' | 'removed';
|
|
2592
|
-
}>;
|
|
2593
|
-
subscribeToSystemEvents(): Observable<{
|
|
2594
|
-
type: string;
|
|
2595
|
-
message: string;
|
|
2596
|
-
data?: unknown;
|
|
2597
|
-
}>;
|
|
2598
|
-
subscribeToMessageStatusChanges(_conversationId?: string): Observable<{
|
|
2599
|
-
messageId: string;
|
|
2600
|
-
status: 'sending' | 'sent' | 'delivered' | 'read' | 'failed';
|
|
2601
|
-
timestamp: Date;
|
|
2602
|
-
}>;
|
|
2603
|
-
subscribeToConversationSettingsChanges(_conversationId?: string): Observable<{
|
|
2604
|
-
conversationId: string;
|
|
2605
|
-
settings: Record<string, unknown>;
|
|
2606
|
-
}>;
|
|
2607
|
-
subscribeToDraftChanges(_conversationId?: string): Observable<{
|
|
2608
|
-
conversationId: string;
|
|
2609
|
-
draft: string | null;
|
|
2610
|
-
}>;
|
|
2611
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockRealtimeApi, never>;
|
|
2612
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockRealtimeApi>;
|
|
2613
|
-
}
|
|
2529
|
+
declare function awaitConversationMockSharedStorage(): Promise<void>;
|
|
2614
2530
|
|
|
2615
2531
|
/**
|
|
2616
2532
|
* Mock implementation of AXMChatConversationApi.
|
|
@@ -2620,6 +2536,7 @@ declare class AXCConversationMockRealtimeApi extends AXMChatRealtimeApi {
|
|
|
2620
2536
|
*/
|
|
2621
2537
|
declare class AXCConversationMockConversationApi extends AXMChatConversationApi {
|
|
2622
2538
|
private readonly translation;
|
|
2539
|
+
private readonly notificationService;
|
|
2623
2540
|
createConversation(data: AXConversationCreateData): Promise<AXConversation>;
|
|
2624
2541
|
getConversation(conversationId: string): Promise<AXConversation>;
|
|
2625
2542
|
getConversations(pagination: AXPagination, _filters?: AXConversationFilters): Promise<AXPaginatedResult<AXConversation>>;
|
|
@@ -2666,6 +2583,7 @@ declare class AXCConversationMockConversationApi extends AXMChatConversationApi
|
|
|
2666
2583
|
* Manages messages in conversation shared storage with AI assist response generation.
|
|
2667
2584
|
*/
|
|
2668
2585
|
declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
2586
|
+
#private;
|
|
2669
2587
|
private readonly aiEngine;
|
|
2670
2588
|
private readonly modelCatalog;
|
|
2671
2589
|
private readonly aiResponder;
|
|
@@ -2705,13 +2623,13 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2705
2623
|
}>;
|
|
2706
2624
|
updateMessageMetadata(_messageId: string, _metadata: Record<string, unknown>): Promise<void>;
|
|
2707
2625
|
getMessageMetadata(_messageId: string): Promise<Record<string, unknown>>;
|
|
2708
|
-
updateMessageStatus(
|
|
2626
|
+
updateMessageStatus(messageId: string, status: 'sending' | 'sent' | 'delivered' | 'read' | 'failed'): Promise<void>;
|
|
2709
2627
|
getMessageDeliveryStatus(_messageId: string): Promise<{
|
|
2710
2628
|
delivered: number;
|
|
2711
2629
|
read: number;
|
|
2712
2630
|
total: number;
|
|
2713
2631
|
}>;
|
|
2714
|
-
markMessagesAsRead(
|
|
2632
|
+
markMessagesAsRead(messageIds: string[]): Promise<void>;
|
|
2715
2633
|
bulkDeleteMessages(_conversationId: string, _messageIds: string[], _forEveryone?: boolean): Promise<void>;
|
|
2716
2634
|
exportMessages(_conversationId: string, _format: 'json' | 'csv' | 'txt'): Promise<string | Blob>;
|
|
2717
2635
|
private storeMessage;
|
|
@@ -2763,6 +2681,7 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2763
2681
|
* Order: conversation `metadata.modelEntityId` (info bar / overrides), then assist row `modelId`, then first catalog chat model.
|
|
2764
2682
|
* Empty-assist flow may send before the info bar writes `modelEntityId`, so assist `modelId` must be resolved here.
|
|
2765
2683
|
*/
|
|
2684
|
+
private resolveModelDisplayTitle;
|
|
2766
2685
|
private resolveModelEntityId;
|
|
2767
2686
|
/**
|
|
2768
2687
|
* Build chat lines for the AI engine. Only plain user/assistant text from each message
|
|
@@ -2786,6 +2705,96 @@ declare class AXCConversationMockMessageApi extends AXMChatMessageApi {
|
|
|
2786
2705
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockMessageApi>;
|
|
2787
2706
|
}
|
|
2788
2707
|
|
|
2708
|
+
/**
|
|
2709
|
+
* Mock implementation of AXMChatRealtimeApi using conversation shared storage.
|
|
2710
|
+
* Provides connection management and real-time event subscriptions.
|
|
2711
|
+
*/
|
|
2712
|
+
declare class AXCConversationMockRealtimeApi extends AXMChatRealtimeApi {
|
|
2713
|
+
readonly connectionStatus$: Observable<AXConnectionStatus>;
|
|
2714
|
+
connect(_options?: AXConnectionOptions): Promise<void>;
|
|
2715
|
+
disconnect(): Promise<void>;
|
|
2716
|
+
isConnected(): boolean;
|
|
2717
|
+
reconnect(): Promise<void>;
|
|
2718
|
+
subscribeToConnectionEvents(): Observable<AXConnectionEvent>;
|
|
2719
|
+
subscribeToMessages(conversationId: string): Observable<AXMessage>;
|
|
2720
|
+
subscribeToMessageUpdates(conversationId?: string): Observable<AXMessage>;
|
|
2721
|
+
subscribeToMessageDeletions(_conversationId?: string): Observable<string>;
|
|
2722
|
+
subscribeToMessageReactions(_conversationId?: string): Observable<AXMessage>;
|
|
2723
|
+
subscribeToConversationUpdates(): Observable<AXConversation>;
|
|
2724
|
+
subscribeToConversationCreated(): Observable<AXConversation>;
|
|
2725
|
+
subscribeToConversationDeleted(): Observable<string>;
|
|
2726
|
+
subscribeToTypingIndicators(conversationId?: string): Observable<AXTypingIndicator>;
|
|
2727
|
+
subscribeToPresenceUpdates(_userIds?: string[]): Observable<AXPresenceUpdate>;
|
|
2728
|
+
/**
|
|
2729
|
+
* Emits when a message transitions to {@link AXMessage.status} `read` (e.g. mark-as-read / conversation read).
|
|
2730
|
+
* Derived from {@link conversationSharedStorage.messageUpdates$} so mock APIs do not need a separate bus.
|
|
2731
|
+
*/
|
|
2732
|
+
subscribeToReadReceipts(conversationId?: string): Observable<{
|
|
2733
|
+
messageId: string;
|
|
2734
|
+
userId: string;
|
|
2735
|
+
readAt: Date;
|
|
2736
|
+
}>;
|
|
2737
|
+
subscribeToNotifications(): Observable<AXNotificationEvent>;
|
|
2738
|
+
subscribeToCallEvents(): Observable<AXCallEvent>;
|
|
2739
|
+
subscribeToUserBlockEvents(): Observable<{
|
|
2740
|
+
userId: string;
|
|
2741
|
+
blocked: boolean;
|
|
2742
|
+
}>;
|
|
2743
|
+
subscribeToParticipantEvents(_conversationId?: string): Observable<{
|
|
2744
|
+
conversationId: string;
|
|
2745
|
+
userId: string;
|
|
2746
|
+
action: 'added' | 'removed';
|
|
2747
|
+
}>;
|
|
2748
|
+
subscribeToSystemEvents(): Observable<{
|
|
2749
|
+
type: string;
|
|
2750
|
+
message: string;
|
|
2751
|
+
data?: unknown;
|
|
2752
|
+
}>;
|
|
2753
|
+
/**
|
|
2754
|
+
* New messages emit from {@link conversationSharedStorage.messageStream$}; status transitions emit from
|
|
2755
|
+
* {@link conversationSharedStorage.messageUpdates$} (same message id, different `status`).
|
|
2756
|
+
*/
|
|
2757
|
+
subscribeToMessageStatusChanges(conversationId?: string): Observable<{
|
|
2758
|
+
messageId: string;
|
|
2759
|
+
status: 'sending' | 'sent' | 'delivered' | 'read' | 'failed';
|
|
2760
|
+
timestamp: Date;
|
|
2761
|
+
}>;
|
|
2762
|
+
subscribeToConversationSettingsChanges(_conversationId?: string): Observable<{
|
|
2763
|
+
conversationId: string;
|
|
2764
|
+
settings: Record<string, unknown>;
|
|
2765
|
+
}>;
|
|
2766
|
+
subscribeToDraftChanges(_conversationId?: string): Observable<{
|
|
2767
|
+
conversationId: string;
|
|
2768
|
+
draft: string | null;
|
|
2769
|
+
}>;
|
|
2770
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockRealtimeApi, never>;
|
|
2771
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockRealtimeApi>;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* Mock implementation of AXMChatUserApi using conversation shared storage.
|
|
2776
|
+
* Provides user profile, discovery, presence, blocking, and settings operations.
|
|
2777
|
+
*/
|
|
2778
|
+
declare class AXCConversationMockUserApi extends AXMChatUserApi {
|
|
2779
|
+
getCurrentUser(): Promise<AXParticipant>;
|
|
2780
|
+
updateProfile(updates: AXUserProfileUpdate): Promise<AXParticipant>;
|
|
2781
|
+
uploadAvatar(file: File): Promise<string>;
|
|
2782
|
+
getUsers(filters?: AXUserSearchFilters): Promise<AXParticipant[]>;
|
|
2783
|
+
searchUsers(query: string): Promise<AXParticipant[]>;
|
|
2784
|
+
getUserById(userId: string): Promise<AXParticipant>;
|
|
2785
|
+
getUsersByIds(userIds: string[]): Promise<AXParticipant[]>;
|
|
2786
|
+
getUserPresence(userId: string): Promise<AXPresenceUpdate>;
|
|
2787
|
+
updatePresence(_status: AXPresenceStatus, _statusText?: string): Promise<void>;
|
|
2788
|
+
blockUser(_userId: string, _reason?: AXBlockReportReason): Promise<void>;
|
|
2789
|
+
unblockUser(_userId: string): Promise<void>;
|
|
2790
|
+
getBlockedUsers(): Promise<string[]>;
|
|
2791
|
+
reportUser(_userId: string, _reason: AXBlockReportReason): Promise<void>;
|
|
2792
|
+
getUserSettings(): Promise<Record<string, unknown>>;
|
|
2793
|
+
updateUserSettings(_settings: Record<string, unknown>): Promise<void>;
|
|
2794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCConversationMockUserApi, never>;
|
|
2795
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCConversationMockUserApi>;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2789
2798
|
/** All seeded participants: synthetic `current-user` plus every security mock user (stable UUID ids). */
|
|
2790
2799
|
declare const participantMock: AXParticipant[];
|
|
2791
2800
|
/**
|
|
@@ -4042,5 +4051,5 @@ declare function bypassAllFilters<T extends AXPQueryRequest>(request: T): T;
|
|
|
4042
4051
|
|
|
4043
4052
|
declare const AXCMockEntityLogListener: AXPDistributedEventListenerProvider<any>;
|
|
4044
4053
|
|
|
4045
|
-
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, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommandRegistryDataSeeder, AXCCommonMockModule, AXCContactCoreMockModule, AXCContentManagementMockModule, AXCConversationDataSeeder, AXCConversationMockConversationApi, AXCConversationMockMessageApi, AXCConversationMockModule, AXCConversationMockRealtimeApi, AXCConversationMockUserApi, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEntityDefinitionSeederService, AXCEntityDefinitionsModule, AXCEntityStorageInsertCommand, AXCEntityStorageModule, AXCEntityStorageQueryQuery, AXCFileStorageServiceDexie, AXCFileStorageServiceFirestore, AXCFinancialCoreMockModule, AXCFirestoreEntityStorageService, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCMockShowMetaDataFormPopupCommand, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryRegistryDataSeeder, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCStoredEntityDefinitionLoader, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, 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,
|
|
4054
|
+
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, AXCCalendarEventDataSeeder, AXCCalendarManagementMockModule, AXCCommandRegistryDataSeeder, AXCCommonMockModule, AXCContactCoreMockModule, AXCContentManagementMockModule, AXCConversationDataSeeder, AXCConversationMockConversationApi, AXCConversationMockMessageApi, AXCConversationMockModule, AXCConversationMockRealtimeApi, AXCConversationMockUserApi, AXCCustomerManagementMockModule, AXCDashboardManagementMockModule, AXCDataManagementMockModule, AXCDexieEntityStorageService, AXCDocumentManagementMockModule, AXCEditionDataSeeder, AXCEntityDefinitionSeederService, AXCEntityDefinitionsModule, AXCEntityStorageInsertCommand, AXCEntityStorageModule, AXCEntityStorageQueryQuery, AXCFileStorageServiceDexie, AXCFileStorageServiceFirestore, AXCFinancialCoreMockModule, AXCFirestoreEntityStorageService, AXCFormTemplateManagementMockModule, AXCGoogleStrategyMock, AXCHealthCoreMockModule, AXCHelpDeskMockModule, AXCHumanCapitalManagementMockModule, AXCIdentifierManagementMockModule, AXCImageCaptchaChallengeProviderMock, AXCLearningManagementMockModule, AXCLocaleManagementMockModule, AXCLocationManagementMockModule, AXCLockService, AXCMeasurementCoreMockModule, AXCMeetingManagementMockModule, AXCMetaDataDefinitionDataSeeder, AXCMetadataCategorySeeder, AXCMiddlewaresModule, AXCMockCaptchaChallengeComponent, AXCMockEntityLogListener, AXCMockModule, AXCMockShowMetaDataFormPopupCommand, AXCNotificationManagementMockModule, AXCOrderManagementMockModule, AXCOrganizationManagementMockModule, AXCPersonCoreMockModule, AXCPlatformManagementMockModule, AXCProcurementManagementMockModule, AXCProductCatalogMockModule, AXCProjectManagementMockModule, AXCQueryRegistryDataSeeder, AXCReportManagementMockModule, AXCSecurityManagementMockModule, AXCStoredEntityDefinitionLoader, AXCSubscriptionManagementMockModule, AXCSupplierManagementMockModule, AXCTaskManagementMockModule, AXCTenantManagementMockModule, AXCTenantSeeder, 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, AXMAiDemisAssistantAssistId, AXMAiModelStableIds, AXMAiPlatformAssistantAssistId, AXMAutomationDataSeeder, AXMBusinessUnitDataSeeder, AXMCalendarEventTypeSeeder, AXMDashboardChartDataSourceDefinition, AXMEmployeeDataSeeder, AXMEmploymentTypeDataSeeder, AXMFormDataSourcesProvider, AXMJobDefinitionDataSeeder, AXMJobLevelDataSeeder, AXMLeaveRequestDataSeeder, AXMMeetingDataSeeder, AXMMeetingFilesDataSeeder, AXMMeetingParticipantDataSeeder, AXMMeetingRoleTypeDataSeeder, AXMMeetingSessionDataSeeder, AXMMeetingTypeDataSeeder, AXMMeetingTypeFileTemplateDataSeeder, AXMPositionAssignmentDataSeeder, AXMPositionDataSeeder, AXMQuestionBankItemCategoryDataSeeder, AXMQuestionBankItemDataSeeder, AXMQuestionnaireCalculationDataSeeder, AXMQuestionnaireCategoryDataSeeder, AXMQuestionnaireDataSeeder, AXMResponsibilityDataSeeder, AXMTagDataSeeder, 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, COSTMANAGER_ENTERPRISE, COSTMANAGER_PROFESSIONAL, COSTMANAGER_STANDARD, CP, CRM_ENTERPRISE, DASHBOARDS, EDITIONS, EMPLOYEES_MOCK, EMPLOYMENT_TYPES_MOCK, ENTITY_DEFINITION_MAP, ENTITY_REGISTRY, FINANCE_BASIC, FINANCE_ENTERPRISE, FINANCE_PRO, G, HR_ENTERPRISE, HW, JOB_DEFINITIONS_CATEGORY_MOCK, JOB_DEFINITIONS_MOCK, JOB_DEFINITION_CATEGORY_KEY_TO_ID, JOB_LEVELS_MOCK, LASER_PLUMBING_TENANT_ID, LEAVE_REQUESTS_MOCK, METADATA_CATEGORY_IDS, METADATA_GENERAL_CATEGORY_REFS, METADATA_SYSTEM_CATEGORY_REFS, MLC, OHR, ORDERING_BASIC, ORDERING_ENTERPRISE, ORDERING_STANDARD, OWNERSHIP_FILTER_BYPASS, PLATFORM_CONSOLE, PLATFORM_TENANT_ID, PM, POSITIONS_CATEGORY_MOCK, POSITIONS_MOCK, POSITION_ASSIGNMENTS_MOCK, QCP, QGEN, QHW, QOHR, QPM, QTLE, QUESTIONNAIRE_CATEGORY_MOCK, QUESTION_BANK_ITEM_CATEGORY_MOCK, QWS, RESPONSIBILITIES_CATEGORY_MOCK, RESPONSIBILITIES_MOCK, RESPONSIBILITY_CATEGORY_KEY_TO_ID, SAFETYMINDER_BASIC, SAFETYMINDER_ENTERPRISE, SAFETYMINDER_PROFESSIONAL, SHOP_BASIC, SHOP_ENTERPRISE, SHOP_PRO, TAGS_MOCK, TASKS, TASK_STATUSES, TASK_TEMPLATES, TASK_TYPES, TEAMS_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, automationCommandMiddleware, automationMock, avatarInterface, awaitConversationMockSharedStorage, axVersionDB, axWorkflowExecutionDB, axcPatchEmployeeActivePrimaryBusinessUnitRefsFromRows, axcPatchEmployeeActivePrimaryPositionRefsFromRows, axcPatchEmployeeManagerRefsFromRows, axcResolveCommandRegistrySeedId, axcResolveQueryRegistrySeedId, axcResolveWidgetCatalogSeedId, bankCategory, buildEntityStorageQuickSearchFilter, buildWorkflowInstanceCartableDemoRows, bypassAllFilters, bypassOwnershipFilter, bypassVisibilityFilter, calendarEventMock, calendarEventTypeMockData, calendarMock, chatMessageMock, chatMock, checkboxInterface, childCountMiddleware, clearEntityDefinitionFirestoreCollections, colorInterface, computeDiff, contactInterface, conversationDemoSeedUserIds, createFileCastMiddleware, createWidgetLayoutConfig, dateInterface, dateTimeInterface, descriptionInterface, documentFolderSyncMiddleware, emailInterface, entityDefDb, entityValidationMiddleware, fileUploaderInterface, 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, questionnaireCalculationMock, questionnaireMock, ratingInterface, richTextInterface, scaleInterface, selectInterface, selectionListInterface, sexAtBirthInterface, signatureInterface, signatureLoaderMiddleware, statusDefaultMiddleware, tagInterface, tenantMocks, textAreaInterface, textInterface, timeDurationInterface, titleInterface, toUiRows, toggleInterface, tokenCategoryIds, tokenCategoryMocks, urlInterface, versionInterface, visibilityFilterMiddleware, workflowDefinitionEntityMock, workflowDefinitionIds, workflowDefinitionMock, yesNoInterface };
|
|
4046
4055
|
export type { AXCBookmarkEntity, AXCEntityStorageBackendType, AXCEntityStorageInsertInput, AXCEntityStorageInsertOutput, AXCEntityStorageQueryInput, AXCEntityStorageQueryResult, AXCFirestoreConfig, AXCLeaveRequestMockDto, AXCPositionAssignmentMockDto, AXCWorkflowExecutionStore, 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, EntityDefinitionFirestoreSnapshotFile, FirestoreSnapshotOperation, MockUserPassCredentials, QuestionBankItemCategoryTitle, QuestionBankItemMockDto, QuestionnaireCalculationMockDto, QuestionnaireCalculationMockResultKind, QuestionnaireCategoryTitle, QuestionnaireMockDto, ShowMetaDataFormPopupMockInput, Task, TaskStatus, TaskTemplate, TaskType, UIDiffRow, VersionedFileInfo, WorkflowInstanceEntityBookmark };
|