@burdenoff/microfe-botmanor 2026.1120.6 → 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.
Files changed (36) hide show
  1. package/dist/botlit/components/AssistantChannelPanel.js +3 -3
  2. package/dist/botlit/components/AssistantChannelPanel.js.map +1 -1
  3. package/dist/botlit/components/ChannelRoutesPanel.d.ts +9 -0
  4. package/dist/botlit/components/ChannelRoutesPanel.js +275 -0
  5. package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -0
  6. package/dist/botlit/components/CreateChannelRouteDialog.d.ts +13 -0
  7. package/dist/botlit/components/CreateChannelRouteDialog.js +188 -0
  8. package/dist/botlit/components/CreateChannelRouteDialog.js.map +1 -0
  9. package/dist/botlit/hooks/index.d.ts +3 -3
  10. package/dist/botlit/hooks/index.js +19 -19
  11. package/dist/botlit/hooks/useBots.d.ts +5 -0
  12. package/dist/botlit/hooks/useBots.js +63 -50
  13. package/dist/botlit/hooks/useBots.js.map +1 -1
  14. package/dist/botlit/hooks/useChannels.d.ts +49 -23
  15. package/dist/botlit/hooks/useChannels.js +141 -135
  16. package/dist/botlit/hooks/useChannels.js.map +1 -1
  17. package/dist/botlit/pages/BotChannelsTab.js +12 -3
  18. package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
  19. package/dist/botlit/pages/ChannelDetailPage.js +642 -776
  20. package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
  21. package/dist/botlit/pages/ChannelRoutesPage.js +22 -208
  22. package/dist/botlit/pages/ChannelRoutesPage.js.map +1 -1
  23. package/dist/botlit/pages/ChannelsPage.js +314 -251
  24. package/dist/botlit/pages/ChannelsPage.js.map +1 -1
  25. package/dist/botlit/utils/channelConnectors.d.ts +13 -0
  26. package/dist/botlit/utils/channelConnectors.js +21 -1
  27. package/dist/botlit/utils/channelConnectors.js.map +1 -1
  28. package/dist/botlit/utils/errors.d.ts +8 -0
  29. package/dist/botlit/utils/errors.js +21 -1
  30. package/dist/botlit/utils/errors.js.map +1 -1
  31. package/dist/generated/wspace-operations.d.ts +57 -12
  32. package/dist/generated/wspace-operations.js +99 -91
  33. package/dist/generated/wspace-operations.js.map +1 -1
  34. package/dist/generated/wspace-types.d.ts +32 -0
  35. package/dist/generated/wspace-types.js.map +1 -1
  36. 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
  };
@@ -127629,6 +127656,7 @@ export type Query = {
127629
127656
  cargoItemsCount: Scalars['Int']['output'];
127630
127657
  changeRequest?: Maybe<ChangeRequest>;
127631
127658
  changeRequests: Array<ChangeRequest>;
127659
+ channelOverview: ChannelOverview;
127632
127660
  checkAvailability: Scalars['Boolean']['output'];
127633
127661
  /** Check if file is locked and if current user can acquire lock */
127634
127662
  checkFileLock: LockCheckResult;
@@ -179092,10 +179120,14 @@ export type UpdateChannelConnectorInput = {
179092
179120
  };
179093
179121
  export type UpdateChannelRouteInput = {
179094
179122
  appId?: InputMaybe<Scalars['ID']['input']>;
179123
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
179095
179124
  formatPolicyId?: InputMaybe<Scalars['ID']['input']>;
179125
+ isActive?: InputMaybe<Scalars['Boolean']['input']>;
179096
179126
  locationId?: InputMaybe<Scalars['String']['input']>;
179097
179127
  metadata?: InputMaybe<Scalars['JSON']['input']>;
179128
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
179098
179129
  policyBindings?: InputMaybe<Scalars['JSON']['input']>;
179130
+ /** @deprecated Not applied by channel routing. Values other than null are rejected (BOFF-12567). */
179099
179131
  routingOverrides?: InputMaybe<Scalars['JSON']['input']>;
179100
179132
  };
179101
179133
  export type UpdateChecklistItemInput = {