@burdenoff/microfe-botmanor 2026.1110.2 → 2026.1110.3
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/BotlitRoutes.js +130 -126
- package/dist/botlit/BotlitRoutes.js.map +1 -1
- package/dist/botlit/components/HandoffConfigPanel.d.ts +4 -0
- package/dist/botlit/components/HandoffConfigPanel.js +286 -0
- package/dist/botlit/components/HandoffConfigPanel.js.map +1 -0
- package/dist/botlit/hooks/index.d.ts +2 -0
- package/dist/botlit/hooks/index.js +2 -1
- package/dist/botlit/hooks/useHandoffs.d.ts +78 -0
- package/dist/botlit/hooks/useHandoffs.js +77 -0
- package/dist/botlit/hooks/useHandoffs.js.map +1 -0
- package/dist/botlit/pages/AgentDetailPage.js +281 -271
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/DashboardPage.js +58 -50
- package/dist/botlit/pages/DashboardPage.js.map +1 -1
- package/dist/botlit/pages/HandoffsPage.d.ts +2 -0
- package/dist/botlit/pages/HandoffsPage.js +212 -0
- package/dist/botlit/pages/HandoffsPage.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +484 -8
- package/dist/generated/wspace-operations.js +223 -49
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +47941 -9371
- package/dist/generated/wspace-types.js +7 -3
- package/dist/generated/wspace-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -43,7 +43,10 @@ export type BotAppStatus = 'ACTIVE' | 'ARCHIVED' | 'DRAFT' | 'PAUSED';
|
|
|
43
43
|
export type BotAppType = 'ANALYST' | 'ASSISTANT' | 'AUTOMATION' | 'SPECIALIST';
|
|
44
44
|
export type BotAppVisibility = 'PRIVATE' | 'PUBLIC' | 'WORKSPACE';
|
|
45
45
|
export type BotmanorAgentCapability = 'A2A' | 'CODE_EXECUTION' | 'MCP_TOOLS' | 'MEMORY' | 'MULTIMODAL' | 'RAG' | 'REASONING' | 'WEB_BROWSING';
|
|
46
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* `AgentFilterInput` with the BotManor enums (BOFF-9561). Filters exactly like the
|
|
48
|
+
* legacy input; `listBotmanorAgents` takes it in place of `AgentFilterInput`.
|
|
49
|
+
*/
|
|
47
50
|
export type BotmanorAgentFilterInput = {
|
|
48
51
|
bucketId?: string | number | null | undefined;
|
|
49
52
|
context?: ContextFilterInput | null | undefined;
|
|
@@ -56,7 +59,39 @@ export type BotmanorAgentFilterInput = {
|
|
|
56
59
|
};
|
|
57
60
|
export type BotmanorAgentStatus = 'ACTIVE' | 'ARCHIVED' | 'DRAFT' | 'PAUSED' | 'TRAINING';
|
|
58
61
|
export type BotmanorAgentType = 'ANALYST' | 'ASSISTANT' | 'AUTOMATION' | 'SPECIALIST';
|
|
59
|
-
|
|
62
|
+
export type BotmanorHandoffConfigInput = {
|
|
63
|
+
customIntents: Array<BotmanorHandoffCustomIntentInput>;
|
|
64
|
+
enabled: boolean;
|
|
65
|
+
explicitRequest: boolean;
|
|
66
|
+
fallbackBehavior: BotmanorHandoffFallbackBehavior;
|
|
67
|
+
handoffMessage?: string | null | undefined;
|
|
68
|
+
lowConfidence: boolean;
|
|
69
|
+
lowConfidenceThreshold: number;
|
|
70
|
+
notifyEmail: boolean;
|
|
71
|
+
notifyInApp: boolean;
|
|
72
|
+
notifyPush: boolean;
|
|
73
|
+
policyRefusal: boolean;
|
|
74
|
+
repeatedFailures: boolean;
|
|
75
|
+
repeatedFailuresConsecutive: number;
|
|
76
|
+
targetRole?: string | null | undefined;
|
|
77
|
+
targetUserIds: Array<string | number>;
|
|
78
|
+
};
|
|
79
|
+
export type BotmanorHandoffCustomIntentInput = {
|
|
80
|
+
isRegex: boolean;
|
|
81
|
+
name: string;
|
|
82
|
+
pattern: string;
|
|
83
|
+
};
|
|
84
|
+
export type BotmanorHandoffFallbackBehavior =
|
|
85
|
+
/** The bot stops autonomous replies as soon as a handoff is requested. */
|
|
86
|
+
'ABSTAIN'
|
|
87
|
+
/** The bot keeps answering until a human accepts the handoff. */
|
|
88
|
+
| 'CONTINUE';
|
|
89
|
+
export type BotmanorHandoffStatus = 'ACCEPTED' | 'ASSIGNED' | 'EXPIRED' | 'REJECTED' | 'RELEASED' | 'REQUESTED' | 'RESOLVED';
|
|
90
|
+
export type BotmanorHandoffTrigger = 'CUSTOM_INTENT' | 'EXPLICIT_REQUEST' | 'LOW_CONFIDENCE' | 'MANUAL' | 'POLICY_REFUSAL' | 'REPEATED_FAILURES';
|
|
91
|
+
/**
|
|
92
|
+
* `LLMProviderFilterInput` with the BotManor enum (BOFF-9561). Filters exactly
|
|
93
|
+
* like the legacy input; `listBotmanorLLMProviders` takes it in its place.
|
|
94
|
+
*/
|
|
60
95
|
export type BotmanorLlmProviderFilterInput = {
|
|
61
96
|
isActive?: boolean | null | undefined;
|
|
62
97
|
type?: BotmanorLlmProviderType | null | undefined;
|
|
@@ -159,7 +194,10 @@ export type CreateBotAppInput = {
|
|
|
159
194
|
status?: BotAppStatus | null | undefined;
|
|
160
195
|
/** Opaque tag IDs for federated tag lookup (legacy). */
|
|
161
196
|
tagIds?: Array<string | number> | null | undefined;
|
|
162
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
|
|
199
|
+
* records. Backed by the canonical `BotApp.tags` Json column.
|
|
200
|
+
*/
|
|
163
201
|
tags?: Record<string, unknown> | null | undefined;
|
|
164
202
|
type: BotAppType;
|
|
165
203
|
visibility?: BotAppVisibility | null | undefined;
|
|
@@ -185,7 +223,10 @@ export type CreateBotmanorAgentInput = {
|
|
|
185
223
|
systemPrompt: string;
|
|
186
224
|
/** Opaque tag IDs for federated tag lookup (legacy). */
|
|
187
225
|
tagIds?: Array<string | number> | null | undefined;
|
|
188
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
|
|
228
|
+
* records. Backed by the canonical agent `tags` Json column.
|
|
229
|
+
*/
|
|
189
230
|
tags?: Record<string, unknown> | null | undefined;
|
|
190
231
|
temperature?: number | null | undefined;
|
|
191
232
|
type: BotmanorAgentType;
|
|
@@ -373,7 +414,11 @@ export type ForkInstalledPackageInput = {
|
|
|
373
414
|
newName?: string | null | undefined;
|
|
374
415
|
workspaceId: string | number;
|
|
375
416
|
};
|
|
376
|
-
/**
|
|
417
|
+
/**
|
|
418
|
+
* Input for an incoming channel message forwarded from wspace-conversations-svc.
|
|
419
|
+
* All fields are platform-agnostic; the platform field identifies which channel type
|
|
420
|
+
* sent the message.
|
|
421
|
+
*/
|
|
377
422
|
export type HandleChannelMessageInput = {
|
|
378
423
|
/** Global channel ID from global-channel-svc */
|
|
379
424
|
channelId: string;
|
|
@@ -538,7 +583,10 @@ export type UpdateBotAppInput = {
|
|
|
538
583
|
status?: BotAppStatus | null | undefined;
|
|
539
584
|
/** Opaque tag IDs for federated tag lookup (legacy). */
|
|
540
585
|
tagIds?: Array<string | number> | null | undefined;
|
|
541
|
-
/**
|
|
586
|
+
/**
|
|
587
|
+
* Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
|
|
588
|
+
* records. Replaces the row's `BotApp.tags` Json column on update.
|
|
589
|
+
*/
|
|
542
590
|
tags?: Record<string, unknown> | null | undefined;
|
|
543
591
|
type?: BotAppType | null | undefined;
|
|
544
592
|
visibility?: BotAppVisibility | null | undefined;
|
|
@@ -563,7 +611,10 @@ export type UpdateBotmanorAgentInput = {
|
|
|
563
611
|
systemPrompt?: string | null | undefined;
|
|
564
612
|
/** Opaque tag IDs for federated tag lookup (legacy). */
|
|
565
613
|
tagIds?: Array<string | number> | null | undefined;
|
|
566
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Universal entity-owned tags (marqueue §251). JSON array of `{key,value,...}`
|
|
616
|
+
* records. Backed by the canonical agent `tags` Json column.
|
|
617
|
+
*/
|
|
567
618
|
tags?: Record<string, unknown> | null | undefined;
|
|
568
619
|
temperature?: number | null | undefined;
|
|
569
620
|
type?: BotmanorAgentType | null | undefined;
|
|
@@ -607,7 +658,13 @@ export type UpdateChannelRouteInput = {
|
|
|
607
658
|
policyBindings?: Record<string, unknown> | null | undefined;
|
|
608
659
|
routingOverrides?: Record<string, unknown> | null | undefined;
|
|
609
660
|
};
|
|
610
|
-
/**
|
|
661
|
+
/**
|
|
662
|
+
* Input for updating an execution to a terminal state and recording its outcome.
|
|
663
|
+
*
|
|
664
|
+
* `output` is the raw result payload. `errorCode`, `errorMessage` and
|
|
665
|
+
* `errorDetails` capture failure context. Token counts, duration and cost are
|
|
666
|
+
* aggregated into `ExecutionMetrics` and the workspace's daily rollups.
|
|
667
|
+
*/
|
|
611
668
|
export type UpdateExecutionStatusInput = {
|
|
612
669
|
cost?: number | null | undefined;
|
|
613
670
|
duration?: number | null | undefined;
|
|
@@ -1577,6 +1634,196 @@ export type UpdateExecutionStatusMutation = {
|
|
|
1577
1634
|
workspaceId: string;
|
|
1578
1635
|
};
|
|
1579
1636
|
};
|
|
1637
|
+
export type HandoffConfigQueryVariables = Exact<{
|
|
1638
|
+
agentId: string | number;
|
|
1639
|
+
}>;
|
|
1640
|
+
export type HandoffConfigQuery = {
|
|
1641
|
+
handoffConfig: {
|
|
1642
|
+
agentId: string;
|
|
1643
|
+
enabled: boolean;
|
|
1644
|
+
explicitRequest: boolean;
|
|
1645
|
+
lowConfidence: boolean;
|
|
1646
|
+
lowConfidenceThreshold: number;
|
|
1647
|
+
repeatedFailures: boolean;
|
|
1648
|
+
repeatedFailuresConsecutive: number;
|
|
1649
|
+
policyRefusal: boolean;
|
|
1650
|
+
targetUserIds: Array<string>;
|
|
1651
|
+
targetRole: string | null;
|
|
1652
|
+
notifyInApp: boolean;
|
|
1653
|
+
notifyEmail: boolean;
|
|
1654
|
+
notifyPush: boolean;
|
|
1655
|
+
fallbackBehavior: Types.BotmanorHandoffFallbackBehavior;
|
|
1656
|
+
handoffMessage: string | null;
|
|
1657
|
+
updatedAt: string | null;
|
|
1658
|
+
customIntents: Array<{
|
|
1659
|
+
name: string;
|
|
1660
|
+
pattern: string;
|
|
1661
|
+
isRegex: boolean;
|
|
1662
|
+
}>;
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
export type HandoffQueueQueryVariables = Exact<{
|
|
1666
|
+
agentId?: string | number | null | undefined;
|
|
1667
|
+
statuses?: Array<Types.BotmanorHandoffStatus> | Types.BotmanorHandoffStatus | null | undefined;
|
|
1668
|
+
pagination?: Types.PaginationInput | null | undefined;
|
|
1669
|
+
}>;
|
|
1670
|
+
export type HandoffQueueQuery = {
|
|
1671
|
+
handoffQueue: {
|
|
1672
|
+
total: number;
|
|
1673
|
+
hasMore: boolean;
|
|
1674
|
+
items: Array<{
|
|
1675
|
+
id: string;
|
|
1676
|
+
agentId: string;
|
|
1677
|
+
conversationKey: string;
|
|
1678
|
+
conversationId: string | null;
|
|
1679
|
+
status: Types.BotmanorHandoffStatus;
|
|
1680
|
+
trigger: Types.BotmanorHandoffTrigger;
|
|
1681
|
+
reason: string;
|
|
1682
|
+
userMessage: string | null;
|
|
1683
|
+
assignedToId: string | null;
|
|
1684
|
+
executionId: string | null;
|
|
1685
|
+
createdAt: string;
|
|
1686
|
+
acceptedAt: string | null;
|
|
1687
|
+
resolvedAt: string | null;
|
|
1688
|
+
releasedAt: string | null;
|
|
1689
|
+
events: Array<{
|
|
1690
|
+
at: string;
|
|
1691
|
+
actorId: string;
|
|
1692
|
+
from: Types.BotmanorHandoffStatus | null;
|
|
1693
|
+
to: Types.BotmanorHandoffStatus;
|
|
1694
|
+
note: string | null;
|
|
1695
|
+
}>;
|
|
1696
|
+
}>;
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1699
|
+
export type ConversationHandoffQueryVariables = Exact<{
|
|
1700
|
+
agentId: string | number;
|
|
1701
|
+
conversationKey: string;
|
|
1702
|
+
}>;
|
|
1703
|
+
export type ConversationHandoffQuery = {
|
|
1704
|
+
conversationHandoff: {
|
|
1705
|
+
id: string;
|
|
1706
|
+
agentId: string;
|
|
1707
|
+
conversationKey: string;
|
|
1708
|
+
conversationId: string | null;
|
|
1709
|
+
status: Types.BotmanorHandoffStatus;
|
|
1710
|
+
trigger: Types.BotmanorHandoffTrigger;
|
|
1711
|
+
reason: string;
|
|
1712
|
+
userMessage: string | null;
|
|
1713
|
+
assignedToId: string | null;
|
|
1714
|
+
executionId: string | null;
|
|
1715
|
+
createdAt: string;
|
|
1716
|
+
acceptedAt: string | null;
|
|
1717
|
+
resolvedAt: string | null;
|
|
1718
|
+
releasedAt: string | null;
|
|
1719
|
+
events: Array<{
|
|
1720
|
+
at: string;
|
|
1721
|
+
actorId: string;
|
|
1722
|
+
from: Types.BotmanorHandoffStatus | null;
|
|
1723
|
+
to: Types.BotmanorHandoffStatus;
|
|
1724
|
+
note: string | null;
|
|
1725
|
+
}>;
|
|
1726
|
+
} | null;
|
|
1727
|
+
};
|
|
1728
|
+
export type UpsertHandoffConfigMutationVariables = Exact<{
|
|
1729
|
+
agentId: string | number;
|
|
1730
|
+
input: Types.BotmanorHandoffConfigInput;
|
|
1731
|
+
}>;
|
|
1732
|
+
export type UpsertHandoffConfigMutation = {
|
|
1733
|
+
upsertHandoffConfig: {
|
|
1734
|
+
agentId: string;
|
|
1735
|
+
enabled: boolean;
|
|
1736
|
+
explicitRequest: boolean;
|
|
1737
|
+
lowConfidence: boolean;
|
|
1738
|
+
lowConfidenceThreshold: number;
|
|
1739
|
+
repeatedFailures: boolean;
|
|
1740
|
+
repeatedFailuresConsecutive: number;
|
|
1741
|
+
policyRefusal: boolean;
|
|
1742
|
+
targetUserIds: Array<string>;
|
|
1743
|
+
targetRole: string | null;
|
|
1744
|
+
notifyInApp: boolean;
|
|
1745
|
+
notifyEmail: boolean;
|
|
1746
|
+
notifyPush: boolean;
|
|
1747
|
+
fallbackBehavior: Types.BotmanorHandoffFallbackBehavior;
|
|
1748
|
+
handoffMessage: string | null;
|
|
1749
|
+
updatedAt: string | null;
|
|
1750
|
+
customIntents: Array<{
|
|
1751
|
+
name: string;
|
|
1752
|
+
pattern: string;
|
|
1753
|
+
isRegex: boolean;
|
|
1754
|
+
}>;
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
export type RequestHandoffMutationVariables = Exact<{
|
|
1758
|
+
agentId: string | number;
|
|
1759
|
+
conversationKey: string;
|
|
1760
|
+
reason?: string | null | undefined;
|
|
1761
|
+
}>;
|
|
1762
|
+
export type RequestHandoffMutation = {
|
|
1763
|
+
requestHandoff: {
|
|
1764
|
+
id: string;
|
|
1765
|
+
agentId: string;
|
|
1766
|
+
conversationKey: string;
|
|
1767
|
+
conversationId: string | null;
|
|
1768
|
+
status: Types.BotmanorHandoffStatus;
|
|
1769
|
+
trigger: Types.BotmanorHandoffTrigger;
|
|
1770
|
+
reason: string;
|
|
1771
|
+
userMessage: string | null;
|
|
1772
|
+
assignedToId: string | null;
|
|
1773
|
+
executionId: string | null;
|
|
1774
|
+
createdAt: string;
|
|
1775
|
+
acceptedAt: string | null;
|
|
1776
|
+
resolvedAt: string | null;
|
|
1777
|
+
releasedAt: string | null;
|
|
1778
|
+
events: Array<{
|
|
1779
|
+
at: string;
|
|
1780
|
+
actorId: string;
|
|
1781
|
+
from: Types.BotmanorHandoffStatus | null;
|
|
1782
|
+
to: Types.BotmanorHandoffStatus;
|
|
1783
|
+
note: string | null;
|
|
1784
|
+
}>;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
export type AcceptHandoffMutationVariables = Exact<{
|
|
1788
|
+
id: string | number;
|
|
1789
|
+
}>;
|
|
1790
|
+
export type AcceptHandoffMutation = {
|
|
1791
|
+
acceptHandoff: {
|
|
1792
|
+
id: string;
|
|
1793
|
+
status: Types.BotmanorHandoffStatus;
|
|
1794
|
+
assignedToId: string | null;
|
|
1795
|
+
acceptedAt: string | null;
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1798
|
+
export type ReleaseHandoffMutationVariables = Exact<{
|
|
1799
|
+
id: string | number;
|
|
1800
|
+
}>;
|
|
1801
|
+
export type ReleaseHandoffMutation = {
|
|
1802
|
+
releaseHandoff: {
|
|
1803
|
+
id: string;
|
|
1804
|
+
status: Types.BotmanorHandoffStatus;
|
|
1805
|
+
releasedAt: string | null;
|
|
1806
|
+
};
|
|
1807
|
+
};
|
|
1808
|
+
export type ResolveHandoffMutationVariables = Exact<{
|
|
1809
|
+
id: string | number;
|
|
1810
|
+
}>;
|
|
1811
|
+
export type ResolveHandoffMutation = {
|
|
1812
|
+
resolveHandoff: {
|
|
1813
|
+
id: string;
|
|
1814
|
+
status: Types.BotmanorHandoffStatus;
|
|
1815
|
+
resolvedAt: string | null;
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
export type RejectHandoffMutationVariables = Exact<{
|
|
1819
|
+
id: string | number;
|
|
1820
|
+
}>;
|
|
1821
|
+
export type RejectHandoffMutation = {
|
|
1822
|
+
rejectHandoff: {
|
|
1823
|
+
id: string;
|
|
1824
|
+
status: Types.BotmanorHandoffStatus;
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1580
1827
|
export type ListKnowledgeBasesQueryVariables = Exact<{
|
|
1581
1828
|
filters?: Types.KnowledgeBaseFilterInput | null | undefined;
|
|
1582
1829
|
pagination?: Types.PaginationInput | null | undefined;
|
|
@@ -3960,6 +4207,235 @@ export declare function useUpdateExecutionStatusMutation(baseOptions?: ApolloRea
|
|
|
3960
4207
|
export type UpdateExecutionStatusMutationHookResult = ReturnType<typeof useUpdateExecutionStatusMutation>;
|
|
3961
4208
|
export type UpdateExecutionStatusMutationResult = Apollo.MutationResult<Types.UpdateExecutionStatusMutation>;
|
|
3962
4209
|
export type UpdateExecutionStatusMutationOptions = Apollo.BaseMutationOptions<Types.UpdateExecutionStatusMutation, Types.UpdateExecutionStatusMutationVariables>;
|
|
4210
|
+
export declare const HandoffConfigDocument: Apollo.DocumentNode;
|
|
4211
|
+
/**
|
|
4212
|
+
* __useHandoffConfigQuery__
|
|
4213
|
+
*
|
|
4214
|
+
* To run a query within a React component, call `useHandoffConfigQuery` and pass it any options that fit your needs.
|
|
4215
|
+
* When your component renders, `useHandoffConfigQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4216
|
+
* you can use to render your UI.
|
|
4217
|
+
*
|
|
4218
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4219
|
+
*
|
|
4220
|
+
* @example
|
|
4221
|
+
* const { data, loading, error } = useHandoffConfigQuery({
|
|
4222
|
+
* variables: {
|
|
4223
|
+
* agentId: // value for 'agentId'
|
|
4224
|
+
* },
|
|
4225
|
+
* });
|
|
4226
|
+
*/
|
|
4227
|
+
export declare function useHandoffConfigQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables> & ({
|
|
4228
|
+
variables: Types.HandoffConfigQueryVariables;
|
|
4229
|
+
skip?: boolean;
|
|
4230
|
+
} | {
|
|
4231
|
+
skip: boolean;
|
|
4232
|
+
})): ApolloReactHooks.useQuery.Result<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables, "empty" | "complete" | "streaming", Types.HandoffConfigQueryVariables, undefined>;
|
|
4233
|
+
export declare function useHandoffConfigLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
4234
|
+
export declare function useHandoffConfigSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables>;
|
|
4235
|
+
export declare function useHandoffConfigSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.HandoffConfigQuery | undefined, Types.HandoffConfigQueryVariables>;
|
|
4236
|
+
export type HandoffConfigQueryHookResult = ReturnType<typeof useHandoffConfigQuery>;
|
|
4237
|
+
export type HandoffConfigLazyQueryHookResult = ReturnType<typeof useHandoffConfigLazyQuery>;
|
|
4238
|
+
export type HandoffConfigSuspenseQueryHookResult = ReturnType<typeof useHandoffConfigSuspenseQuery>;
|
|
4239
|
+
export type HandoffConfigQueryResult = Apollo.QueryResult<Types.HandoffConfigQuery, Types.HandoffConfigQueryVariables>;
|
|
4240
|
+
export declare const HandoffQueueDocument: Apollo.DocumentNode;
|
|
4241
|
+
/**
|
|
4242
|
+
* __useHandoffQueueQuery__
|
|
4243
|
+
*
|
|
4244
|
+
* To run a query within a React component, call `useHandoffQueueQuery` and pass it any options that fit your needs.
|
|
4245
|
+
* When your component renders, `useHandoffQueueQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4246
|
+
* you can use to render your UI.
|
|
4247
|
+
*
|
|
4248
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4249
|
+
*
|
|
4250
|
+
* @example
|
|
4251
|
+
* const { data, loading, error } = useHandoffQueueQuery({
|
|
4252
|
+
* variables: {
|
|
4253
|
+
* agentId: // value for 'agentId'
|
|
4254
|
+
* statuses: // value for 'statuses'
|
|
4255
|
+
* pagination: // value for 'pagination'
|
|
4256
|
+
* },
|
|
4257
|
+
* });
|
|
4258
|
+
*/
|
|
4259
|
+
export declare function useHandoffQueueQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables>): ApolloReactHooks.useQuery.Result<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables, "empty" | "complete" | "streaming", Types.HandoffQueueQueryVariables, undefined>;
|
|
4260
|
+
export declare function useHandoffQueueLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
4261
|
+
export declare function useHandoffQueueSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables>;
|
|
4262
|
+
export declare function useHandoffQueueSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.HandoffQueueQuery | undefined, Types.HandoffQueueQueryVariables>;
|
|
4263
|
+
export type HandoffQueueQueryHookResult = ReturnType<typeof useHandoffQueueQuery>;
|
|
4264
|
+
export type HandoffQueueLazyQueryHookResult = ReturnType<typeof useHandoffQueueLazyQuery>;
|
|
4265
|
+
export type HandoffQueueSuspenseQueryHookResult = ReturnType<typeof useHandoffQueueSuspenseQuery>;
|
|
4266
|
+
export type HandoffQueueQueryResult = Apollo.QueryResult<Types.HandoffQueueQuery, Types.HandoffQueueQueryVariables>;
|
|
4267
|
+
export declare const ConversationHandoffDocument: Apollo.DocumentNode;
|
|
4268
|
+
/**
|
|
4269
|
+
* __useConversationHandoffQuery__
|
|
4270
|
+
*
|
|
4271
|
+
* To run a query within a React component, call `useConversationHandoffQuery` and pass it any options that fit your needs.
|
|
4272
|
+
* When your component renders, `useConversationHandoffQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4273
|
+
* you can use to render your UI.
|
|
4274
|
+
*
|
|
4275
|
+
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
4276
|
+
*
|
|
4277
|
+
* @example
|
|
4278
|
+
* const { data, loading, error } = useConversationHandoffQuery({
|
|
4279
|
+
* variables: {
|
|
4280
|
+
* agentId: // value for 'agentId'
|
|
4281
|
+
* conversationKey: // value for 'conversationKey'
|
|
4282
|
+
* },
|
|
4283
|
+
* });
|
|
4284
|
+
*/
|
|
4285
|
+
export declare function useConversationHandoffQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables> & ({
|
|
4286
|
+
variables: Types.ConversationHandoffQueryVariables;
|
|
4287
|
+
skip?: boolean;
|
|
4288
|
+
} | {
|
|
4289
|
+
skip: boolean;
|
|
4290
|
+
})): ApolloReactHooks.useQuery.Result<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables, "empty" | "complete" | "streaming", Types.ConversationHandoffQueryVariables, undefined>;
|
|
4291
|
+
export declare function useConversationHandoffLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
4292
|
+
export declare function useConversationHandoffSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables>;
|
|
4293
|
+
export declare function useConversationHandoffSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.ConversationHandoffQuery | undefined, Types.ConversationHandoffQueryVariables>;
|
|
4294
|
+
export type ConversationHandoffQueryHookResult = ReturnType<typeof useConversationHandoffQuery>;
|
|
4295
|
+
export type ConversationHandoffLazyQueryHookResult = ReturnType<typeof useConversationHandoffLazyQuery>;
|
|
4296
|
+
export type ConversationHandoffSuspenseQueryHookResult = ReturnType<typeof useConversationHandoffSuspenseQuery>;
|
|
4297
|
+
export type ConversationHandoffQueryResult = Apollo.QueryResult<Types.ConversationHandoffQuery, Types.ConversationHandoffQueryVariables>;
|
|
4298
|
+
export declare const UpsertHandoffConfigDocument: Apollo.DocumentNode;
|
|
4299
|
+
export type UpsertHandoffConfigMutationFn = Apollo.MutationFunction<Types.UpsertHandoffConfigMutation, Types.UpsertHandoffConfigMutationVariables>;
|
|
4300
|
+
/**
|
|
4301
|
+
* __useUpsertHandoffConfigMutation__
|
|
4302
|
+
*
|
|
4303
|
+
* To run a mutation, you first call `useUpsertHandoffConfigMutation` within a React component and pass it any options that fit your needs.
|
|
4304
|
+
* When your component renders, `useUpsertHandoffConfigMutation` returns a tuple that includes:
|
|
4305
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4306
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4307
|
+
*
|
|
4308
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4309
|
+
*
|
|
4310
|
+
* @example
|
|
4311
|
+
* const [upsertHandoffConfigMutation, { data, loading, error }] = useUpsertHandoffConfigMutation({
|
|
4312
|
+
* variables: {
|
|
4313
|
+
* agentId: // value for 'agentId'
|
|
4314
|
+
* input: // value for 'input'
|
|
4315
|
+
* },
|
|
4316
|
+
* });
|
|
4317
|
+
*/
|
|
4318
|
+
export declare function useUpsertHandoffConfigMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UpsertHandoffConfigMutation, Types.UpsertHandoffConfigMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.UpsertHandoffConfigMutation, any, Apollo.ApolloCache, undefined>;
|
|
4319
|
+
export type UpsertHandoffConfigMutationHookResult = ReturnType<typeof useUpsertHandoffConfigMutation>;
|
|
4320
|
+
export type UpsertHandoffConfigMutationResult = Apollo.MutationResult<Types.UpsertHandoffConfigMutation>;
|
|
4321
|
+
export type UpsertHandoffConfigMutationOptions = Apollo.BaseMutationOptions<Types.UpsertHandoffConfigMutation, Types.UpsertHandoffConfigMutationVariables>;
|
|
4322
|
+
export declare const RequestHandoffDocument: Apollo.DocumentNode;
|
|
4323
|
+
export type RequestHandoffMutationFn = Apollo.MutationFunction<Types.RequestHandoffMutation, Types.RequestHandoffMutationVariables>;
|
|
4324
|
+
/**
|
|
4325
|
+
* __useRequestHandoffMutation__
|
|
4326
|
+
*
|
|
4327
|
+
* To run a mutation, you first call `useRequestHandoffMutation` within a React component and pass it any options that fit your needs.
|
|
4328
|
+
* When your component renders, `useRequestHandoffMutation` returns a tuple that includes:
|
|
4329
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4330
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4331
|
+
*
|
|
4332
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4333
|
+
*
|
|
4334
|
+
* @example
|
|
4335
|
+
* const [requestHandoffMutation, { data, loading, error }] = useRequestHandoffMutation({
|
|
4336
|
+
* variables: {
|
|
4337
|
+
* agentId: // value for 'agentId'
|
|
4338
|
+
* conversationKey: // value for 'conversationKey'
|
|
4339
|
+
* reason: // value for 'reason'
|
|
4340
|
+
* },
|
|
4341
|
+
* });
|
|
4342
|
+
*/
|
|
4343
|
+
export declare function useRequestHandoffMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RequestHandoffMutation, Types.RequestHandoffMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.RequestHandoffMutation, any, Apollo.ApolloCache, undefined>;
|
|
4344
|
+
export type RequestHandoffMutationHookResult = ReturnType<typeof useRequestHandoffMutation>;
|
|
4345
|
+
export type RequestHandoffMutationResult = Apollo.MutationResult<Types.RequestHandoffMutation>;
|
|
4346
|
+
export type RequestHandoffMutationOptions = Apollo.BaseMutationOptions<Types.RequestHandoffMutation, Types.RequestHandoffMutationVariables>;
|
|
4347
|
+
export declare const AcceptHandoffDocument: Apollo.DocumentNode;
|
|
4348
|
+
export type AcceptHandoffMutationFn = Apollo.MutationFunction<Types.AcceptHandoffMutation, Types.AcceptHandoffMutationVariables>;
|
|
4349
|
+
/**
|
|
4350
|
+
* __useAcceptHandoffMutation__
|
|
4351
|
+
*
|
|
4352
|
+
* To run a mutation, you first call `useAcceptHandoffMutation` within a React component and pass it any options that fit your needs.
|
|
4353
|
+
* When your component renders, `useAcceptHandoffMutation` returns a tuple that includes:
|
|
4354
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4355
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4356
|
+
*
|
|
4357
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4358
|
+
*
|
|
4359
|
+
* @example
|
|
4360
|
+
* const [acceptHandoffMutation, { data, loading, error }] = useAcceptHandoffMutation({
|
|
4361
|
+
* variables: {
|
|
4362
|
+
* id: // value for 'id'
|
|
4363
|
+
* },
|
|
4364
|
+
* });
|
|
4365
|
+
*/
|
|
4366
|
+
export declare function useAcceptHandoffMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AcceptHandoffMutation, Types.AcceptHandoffMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.AcceptHandoffMutation, any, Apollo.ApolloCache, undefined>;
|
|
4367
|
+
export type AcceptHandoffMutationHookResult = ReturnType<typeof useAcceptHandoffMutation>;
|
|
4368
|
+
export type AcceptHandoffMutationResult = Apollo.MutationResult<Types.AcceptHandoffMutation>;
|
|
4369
|
+
export type AcceptHandoffMutationOptions = Apollo.BaseMutationOptions<Types.AcceptHandoffMutation, Types.AcceptHandoffMutationVariables>;
|
|
4370
|
+
export declare const ReleaseHandoffDocument: Apollo.DocumentNode;
|
|
4371
|
+
export type ReleaseHandoffMutationFn = Apollo.MutationFunction<Types.ReleaseHandoffMutation, Types.ReleaseHandoffMutationVariables>;
|
|
4372
|
+
/**
|
|
4373
|
+
* __useReleaseHandoffMutation__
|
|
4374
|
+
*
|
|
4375
|
+
* To run a mutation, you first call `useReleaseHandoffMutation` within a React component and pass it any options that fit your needs.
|
|
4376
|
+
* When your component renders, `useReleaseHandoffMutation` returns a tuple that includes:
|
|
4377
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4378
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4379
|
+
*
|
|
4380
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4381
|
+
*
|
|
4382
|
+
* @example
|
|
4383
|
+
* const [releaseHandoffMutation, { data, loading, error }] = useReleaseHandoffMutation({
|
|
4384
|
+
* variables: {
|
|
4385
|
+
* id: // value for 'id'
|
|
4386
|
+
* },
|
|
4387
|
+
* });
|
|
4388
|
+
*/
|
|
4389
|
+
export declare function useReleaseHandoffMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ReleaseHandoffMutation, Types.ReleaseHandoffMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ReleaseHandoffMutation, any, Apollo.ApolloCache, undefined>;
|
|
4390
|
+
export type ReleaseHandoffMutationHookResult = ReturnType<typeof useReleaseHandoffMutation>;
|
|
4391
|
+
export type ReleaseHandoffMutationResult = Apollo.MutationResult<Types.ReleaseHandoffMutation>;
|
|
4392
|
+
export type ReleaseHandoffMutationOptions = Apollo.BaseMutationOptions<Types.ReleaseHandoffMutation, Types.ReleaseHandoffMutationVariables>;
|
|
4393
|
+
export declare const ResolveHandoffDocument: Apollo.DocumentNode;
|
|
4394
|
+
export type ResolveHandoffMutationFn = Apollo.MutationFunction<Types.ResolveHandoffMutation, Types.ResolveHandoffMutationVariables>;
|
|
4395
|
+
/**
|
|
4396
|
+
* __useResolveHandoffMutation__
|
|
4397
|
+
*
|
|
4398
|
+
* To run a mutation, you first call `useResolveHandoffMutation` within a React component and pass it any options that fit your needs.
|
|
4399
|
+
* When your component renders, `useResolveHandoffMutation` returns a tuple that includes:
|
|
4400
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4401
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4402
|
+
*
|
|
4403
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4404
|
+
*
|
|
4405
|
+
* @example
|
|
4406
|
+
* const [resolveHandoffMutation, { data, loading, error }] = useResolveHandoffMutation({
|
|
4407
|
+
* variables: {
|
|
4408
|
+
* id: // value for 'id'
|
|
4409
|
+
* },
|
|
4410
|
+
* });
|
|
4411
|
+
*/
|
|
4412
|
+
export declare function useResolveHandoffMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.ResolveHandoffMutation, Types.ResolveHandoffMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.ResolveHandoffMutation, any, Apollo.ApolloCache, undefined>;
|
|
4413
|
+
export type ResolveHandoffMutationHookResult = ReturnType<typeof useResolveHandoffMutation>;
|
|
4414
|
+
export type ResolveHandoffMutationResult = Apollo.MutationResult<Types.ResolveHandoffMutation>;
|
|
4415
|
+
export type ResolveHandoffMutationOptions = Apollo.BaseMutationOptions<Types.ResolveHandoffMutation, Types.ResolveHandoffMutationVariables>;
|
|
4416
|
+
export declare const RejectHandoffDocument: Apollo.DocumentNode;
|
|
4417
|
+
export type RejectHandoffMutationFn = Apollo.MutationFunction<Types.RejectHandoffMutation, Types.RejectHandoffMutationVariables>;
|
|
4418
|
+
/**
|
|
4419
|
+
* __useRejectHandoffMutation__
|
|
4420
|
+
*
|
|
4421
|
+
* To run a mutation, you first call `useRejectHandoffMutation` within a React component and pass it any options that fit your needs.
|
|
4422
|
+
* When your component renders, `useRejectHandoffMutation` returns a tuple that includes:
|
|
4423
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4424
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4425
|
+
*
|
|
4426
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
4427
|
+
*
|
|
4428
|
+
* @example
|
|
4429
|
+
* const [rejectHandoffMutation, { data, loading, error }] = useRejectHandoffMutation({
|
|
4430
|
+
* variables: {
|
|
4431
|
+
* id: // value for 'id'
|
|
4432
|
+
* },
|
|
4433
|
+
* });
|
|
4434
|
+
*/
|
|
4435
|
+
export declare function useRejectHandoffMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.RejectHandoffMutation, Types.RejectHandoffMutationVariables>): ApolloReactHooks.useMutation.ResultTuple<Types.RejectHandoffMutation, any, Apollo.ApolloCache, undefined>;
|
|
4436
|
+
export type RejectHandoffMutationHookResult = ReturnType<typeof useRejectHandoffMutation>;
|
|
4437
|
+
export type RejectHandoffMutationResult = Apollo.MutationResult<Types.RejectHandoffMutation>;
|
|
4438
|
+
export type RejectHandoffMutationOptions = Apollo.BaseMutationOptions<Types.RejectHandoffMutation, Types.RejectHandoffMutationVariables>;
|
|
3963
4439
|
export declare const ListKnowledgeBasesDocument: Apollo.DocumentNode;
|
|
3964
4440
|
/**
|
|
3965
4441
|
* __useListKnowledgeBasesQuery__
|