@burdenoff/microfe-botmanor 2026.1120.5 → 2026.1120.7
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/dist/botlit/components/AssistantChannelPanel.js +3 -3
- package/dist/botlit/components/AssistantChannelPanel.js.map +1 -1
- package/dist/botlit/components/ChannelRoutesPanel.d.ts +9 -0
- package/dist/botlit/components/ChannelRoutesPanel.js +275 -0
- package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -0
- package/dist/botlit/components/CreateChannelRouteDialog.d.ts +13 -0
- package/dist/botlit/components/CreateChannelRouteDialog.js +188 -0
- package/dist/botlit/components/CreateChannelRouteDialog.js.map +1 -0
- package/dist/botlit/hooks/index.d.ts +3 -3
- package/dist/botlit/hooks/index.js +19 -19
- package/dist/botlit/hooks/useAssistantChat.d.ts +32 -0
- package/dist/botlit/hooks/useAssistantChat.js +98 -0
- package/dist/botlit/hooks/useAssistantChat.js.map +1 -0
- package/dist/botlit/hooks/useBots.d.ts +5 -0
- package/dist/botlit/hooks/useBots.js +63 -50
- package/dist/botlit/hooks/useBots.js.map +1 -1
- package/dist/botlit/hooks/useChannels.d.ts +49 -23
- package/dist/botlit/hooks/useChannels.js +141 -135
- package/dist/botlit/hooks/useChannels.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.js +12 -3
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/ChannelDetailPage.js +642 -776
- package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
- package/dist/botlit/pages/ChannelRoutesPage.js +22 -208
- package/dist/botlit/pages/ChannelRoutesPage.js.map +1 -1
- package/dist/botlit/pages/ChannelsPage.js +314 -251
- package/dist/botlit/pages/ChannelsPage.js.map +1 -1
- package/dist/botlit/pages/ChatPage.js +207 -83
- package/dist/botlit/pages/ChatPage.js.map +1 -1
- package/dist/botlit/utils/assistantAvailability.d.ts +34 -0
- package/dist/botlit/utils/assistantAvailability.js +24 -0
- package/dist/botlit/utils/assistantAvailability.js.map +1 -0
- package/dist/botlit/utils/channelConnectors.d.ts +13 -0
- package/dist/botlit/utils/channelConnectors.js +21 -1
- package/dist/botlit/utils/channelConnectors.js.map +1 -1
- package/dist/botlit/utils/errors.d.ts +8 -0
- package/dist/botlit/utils/errors.js +21 -1
- package/dist/botlit/utils/errors.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +200 -12
- package/dist/generated/wspace-operations.js +153 -110
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +40 -0
- package/dist/generated/wspace-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -17486,12 +17486,19 @@ export type ChannelConnector = {
|
|
|
17486
17486
|
defaultPolicyBindings?: Maybe<Scalars['JSON']['output']>;
|
|
17487
17487
|
description?: Maybe<Scalars['String']['output']>;
|
|
17488
17488
|
id: Scalars['ID']['output'];
|
|
17489
|
+
/** When the last unanswered inbound message arrived. */
|
|
17490
|
+
lastUnroutedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
17489
17491
|
metadata?: Maybe<Scalars['JSON']['output']>;
|
|
17490
17492
|
name: Scalars['String']['output'];
|
|
17491
17493
|
revision: Scalars['Int']['output'];
|
|
17492
17494
|
status: EntityStatus;
|
|
17493
17495
|
tags: Array<Scalars['String']['output']>;
|
|
17494
17496
|
type: ChannelType;
|
|
17497
|
+
/**
|
|
17498
|
+
* Inbound messages this connector received that no live route answered: no
|
|
17499
|
+
* route for the location, the route is turned off, or its bot is not live.
|
|
17500
|
+
*/
|
|
17501
|
+
unroutedMessageCount: Scalars['Int']['output'];
|
|
17495
17502
|
updatedAt: Scalars['DateTime']['output'];
|
|
17496
17503
|
updatedById: Scalars['ID']['output'];
|
|
17497
17504
|
visibility: Visibility;
|
|
@@ -17513,6 +17520,16 @@ export declare enum ChannelMessageStatus {
|
|
|
17513
17520
|
/** Processing error occurred */
|
|
17514
17521
|
Error = "ERROR"
|
|
17515
17522
|
}
|
|
17523
|
+
export type ChannelOverview = {
|
|
17524
|
+
__typename?: 'ChannelOverview';
|
|
17525
|
+
activeConnectorCount: Scalars['Int']['output'];
|
|
17526
|
+
/** Routes that are turned on (inactive routes are ignored by routing). */
|
|
17527
|
+
activeRouteCount: Scalars['Int']['output'];
|
|
17528
|
+
connectorCount: Scalars['Int']['output'];
|
|
17529
|
+
routeCount: Scalars['Int']['output'];
|
|
17530
|
+
/** Inbound messages no live route answered, across all connectors. */
|
|
17531
|
+
unroutedMessageCount: Scalars['Int']['output'];
|
|
17532
|
+
};
|
|
17516
17533
|
/** Supported channel platforms */
|
|
17517
17534
|
export declare enum ChannelPlatform {
|
|
17518
17535
|
/** Discord server */
|
|
@@ -17533,12 +17550,17 @@ export type ChannelRoute = {
|
|
|
17533
17550
|
appId: Scalars['ID']['output'];
|
|
17534
17551
|
connectorId: Scalars['ID']['output'];
|
|
17535
17552
|
createdAt: Scalars['DateTime']['output'];
|
|
17553
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
17536
17554
|
formatPolicyId?: Maybe<Scalars['ID']['output']>;
|
|
17537
17555
|
id: Scalars['ID']['output'];
|
|
17556
|
+
/** An inactive route is ignored by inbound routing, as if it did not exist. */
|
|
17557
|
+
isActive: Scalars['Boolean']['output'];
|
|
17538
17558
|
locationId: Scalars['String']['output'];
|
|
17539
17559
|
metadata?: Maybe<Scalars['JSON']['output']>;
|
|
17560
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
17540
17561
|
policyBindings?: Maybe<Scalars['JSON']['output']>;
|
|
17541
17562
|
revision: Scalars['Int']['output'];
|
|
17563
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
17542
17564
|
routingOverrides?: Maybe<Scalars['JSON']['output']>;
|
|
17543
17565
|
updatedAt: Scalars['DateTime']['output'];
|
|
17544
17566
|
workspaceId: Scalars['ID']['output'];
|
|
@@ -17546,6 +17568,7 @@ export type ChannelRoute = {
|
|
|
17546
17568
|
export type ChannelRouteFilterInput = {
|
|
17547
17569
|
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
17548
17570
|
connectorId?: InputMaybe<Scalars['ID']['input']>;
|
|
17571
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
17549
17572
|
workspaceId?: InputMaybe<Scalars['ID']['input']>;
|
|
17550
17573
|
};
|
|
17551
17574
|
/** Sender information from external channel platform */
|
|
@@ -25830,10 +25853,14 @@ export type CreateChannelConnectorInput = {
|
|
|
25830
25853
|
export type CreateChannelRouteInput = {
|
|
25831
25854
|
appId: Scalars['ID']['input'];
|
|
25832
25855
|
connectorId: Scalars['ID']['input'];
|
|
25856
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
25833
25857
|
formatPolicyId?: InputMaybe<Scalars['ID']['input']>;
|
|
25858
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
25834
25859
|
locationId: Scalars['String']['input'];
|
|
25835
25860
|
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
25861
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
25836
25862
|
policyBindings?: InputMaybe<Scalars['JSON']['input']>;
|
|
25863
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
25837
25864
|
routingOverrides?: InputMaybe<Scalars['JSON']['input']>;
|
|
25838
25865
|
workspaceId: Scalars['ID']['input'];
|
|
25839
25866
|
};
|
|
@@ -114952,6 +114979,12 @@ export type MutationResponse = {
|
|
|
114952
114979
|
message: Scalars['String']['output'];
|
|
114953
114980
|
success: Scalars['Boolean']['output'];
|
|
114954
114981
|
};
|
|
114982
|
+
/** How long the caller's saved assistant conversations are kept in this workspace. */
|
|
114983
|
+
export type MyAssistantConversationRetention = {
|
|
114984
|
+
__typename?: 'MyAssistantConversationRetention';
|
|
114985
|
+
/** Days after which a saved conversation is retired; null when no retention period applies */
|
|
114986
|
+
conversationRetentionDays?: Maybe<Scalars['Int']['output']>;
|
|
114987
|
+
};
|
|
114955
114988
|
export type MyCrewShiftFilterInput = {
|
|
114956
114989
|
from?: InputMaybe<Scalars['DateTime']['input']>;
|
|
114957
114990
|
status?: InputMaybe<CrewShiftStatus>;
|
|
@@ -127623,6 +127656,7 @@ export type Query = {
|
|
|
127623
127656
|
cargoItemsCount: Scalars['Int']['output'];
|
|
127624
127657
|
changeRequest?: Maybe<ChangeRequest>;
|
|
127625
127658
|
changeRequests: Array<ChangeRequest>;
|
|
127659
|
+
channelOverview: ChannelOverview;
|
|
127626
127660
|
checkAvailability: Scalars['Boolean']['output'];
|
|
127627
127661
|
/** Check if file is locked and if current user can acquire lock */
|
|
127628
127662
|
checkFileLock: LockCheckResult;
|
|
@@ -130837,6 +130871,8 @@ export type Query = {
|
|
|
130837
130871
|
myApprovalRequests: Array<TimeApprovalRequest>;
|
|
130838
130872
|
/** One of my conversations. Exactly one of clientConversationId / conversationId. Default: the newest 50. */
|
|
130839
130873
|
myAssistantConversationEntries: AssistantHistoryEntryConnection;
|
|
130874
|
+
/** The retention period that applies to the caller's saved assistant conversations. */
|
|
130875
|
+
myAssistantConversationRetention: MyAssistantConversationRetention;
|
|
130840
130876
|
/**
|
|
130841
130877
|
* My live conversations, most recently changed first. filter omitted = every live conversation, archived included (older
|
|
130842
130878
|
* clients unchanged). filter given = its fields apply, and archived defaults to EXCLUDE. filter.query searches them
|
|
@@ -179084,10 +179120,14 @@ export type UpdateChannelConnectorInput = {
|
|
|
179084
179120
|
};
|
|
179085
179121
|
export type UpdateChannelRouteInput = {
|
|
179086
179122
|
appId?: InputMaybe<Scalars['ID']['input']>;
|
|
179123
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
179087
179124
|
formatPolicyId?: InputMaybe<Scalars['ID']['input']>;
|
|
179125
|
+
isActive?: InputMaybe<Scalars['Boolean']['input']>;
|
|
179088
179126
|
locationId?: InputMaybe<Scalars['String']['input']>;
|
|
179089
179127
|
metadata?: InputMaybe<Scalars['JSON']['input']>;
|
|
179128
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
179090
179129
|
policyBindings?: InputMaybe<Scalars['JSON']['input']>;
|
|
179130
|
+
/** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
|
|
179091
179131
|
routingOverrides?: InputMaybe<Scalars['JSON']['input']>;
|
|
179092
179132
|
};
|
|
179093
179133
|
export type UpdateChecklistItemInput = {
|