@burdenoff/microfe-botmanor 2026.1120.26 → 2026.1120.28
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/BotmanorRootInner.js +43 -41
- package/dist/botlit/BotmanorRootInner.js.map +1 -1
- package/dist/botlit/components/ChannelRoutesPanel.js +8 -8
- package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -1
- package/dist/botlit/components/CreateChannelRouteDialog.js +7 -7
- package/dist/botlit/components/GettingStartedChecklist.d.ts +13 -0
- package/dist/botlit/components/GettingStartedChecklist.js +126 -0
- package/dist/botlit/components/GettingStartedChecklist.js.map +1 -0
- package/dist/botlit/components/HandoffConfigPanel.js +133 -132
- package/dist/botlit/components/HandoffConfigPanel.js.map +1 -1
- package/dist/botlit/components/HandoffTargetPickers.d.ts +28 -0
- package/dist/botlit/components/HandoffTargetPickers.js +180 -0
- package/dist/botlit/components/HandoffTargetPickers.js.map +1 -0
- package/dist/botlit/components/PageLayout.d.ts +7 -0
- package/dist/botlit/components/PageLayout.js +4 -1
- package/dist/botlit/components/PageLayout.js.map +1 -1
- package/dist/botlit/hooks/index.js +2 -2
- package/dist/botlit/hooks/useHandoffInbox.d.ts +26 -0
- package/dist/botlit/hooks/useHandoffInbox.js +126 -0
- package/dist/botlit/hooks/useHandoffInbox.js.map +1 -0
- package/dist/botlit/hooks/useHandoffs.js +36 -63
- package/dist/botlit/hooks/useHandoffs.js.map +1 -1
- package/dist/botlit/hooks/useMyIntegrationConnections.d.ts +4 -0
- package/dist/botlit/hooks/useMyIntegrationConnections.js +26 -0
- package/dist/botlit/hooks/useMyIntegrationConnections.js.map +1 -0
- package/dist/botlit/hooks/useStorePublishing.d.ts +1 -1
- package/dist/botlit/hooks/useWorkspaceMemberDirectory.d.ts +26 -0
- package/dist/botlit/hooks/useWorkspaceMemberDirectory.js +84 -0
- package/dist/botlit/hooks/useWorkspaceMemberDirectory.js.map +1 -0
- package/dist/botlit/index.d.ts +1 -0
- package/dist/botlit/index.js +2 -1
- package/dist/botlit/pages/AgentsListPage.js +1 -0
- package/dist/botlit/pages/AgentsListPage.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.js +313 -275
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/BotsListPage.js +1 -0
- package/dist/botlit/pages/BotsListPage.js.map +1 -1
- package/dist/botlit/pages/BucketDetailPage.js +16 -16
- package/dist/botlit/pages/BucketDetailPage.js.map +1 -1
- package/dist/botlit/pages/ChannelDetailPage.js +12 -12
- package/dist/botlit/pages/ChannelsPage.js +6 -6
- package/dist/botlit/pages/ChannelsPage.js.map +1 -1
- package/dist/botlit/pages/ChatPage.js +1 -0
- package/dist/botlit/pages/ChatPage.js.map +1 -1
- package/dist/botlit/pages/DashboardPage.js +33 -26
- package/dist/botlit/pages/DashboardPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionsPage.js +9 -8
- package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
- package/dist/botlit/pages/HandoffsPage.js +190 -149
- package/dist/botlit/pages/HandoffsPage.js.map +1 -1
- package/dist/botlit/pages/KnowledgeBasesPage.js +1 -0
- package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
- package/dist/botlit/tours/tourRoutes.d.ts +25 -0
- package/dist/botlit/tours/tourRoutes.js +108 -0
- package/dist/botlit/tours/tourRoutes.js.map +1 -0
- package/dist/botlit/utils/gettingStarted.d.ts +16 -0
- package/dist/botlit/utils/gettingStarted.js +7 -0
- package/dist/botlit/utils/gettingStarted.js.map +1 -0
- package/dist/botlit/utils/handoffInbox.d.ts +64 -0
- package/dist/botlit/utils/handoffInbox.js +62 -0
- package/dist/botlit/utils/handoffInbox.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +193 -0
- package/dist/generated/wspace-operations.js +134 -87
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +8 -6
- package/dist/generated/wspace-types.js.map +1 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { graphqlErrorCode as e } from "./errors.js";
|
|
2
|
+
// src/botlit/utils/handoffInbox.ts
|
|
3
|
+
var t = 2e4;
|
|
4
|
+
function n(e) {
|
|
5
|
+
let t = /* @__PURE__ */ new Set(), n = [];
|
|
6
|
+
for (let r of e) for (let e of r) t.has(e.id) || (t.add(e.id), n.push(e));
|
|
7
|
+
return n;
|
|
8
|
+
}
|
|
9
|
+
function r(e, t) {
|
|
10
|
+
return t.filter((t) => !e.has(t.id)).map((e) => e.id);
|
|
11
|
+
}
|
|
12
|
+
function i(t) {
|
|
13
|
+
return e(t) === "FAILED_PRECONDITION";
|
|
14
|
+
}
|
|
15
|
+
var a = [
|
|
16
|
+
"owner",
|
|
17
|
+
"admin",
|
|
18
|
+
"member",
|
|
19
|
+
"viewer"
|
|
20
|
+
];
|
|
21
|
+
function o(e, t) {
|
|
22
|
+
let n = /* @__PURE__ */ new Map(), r = (e) => {
|
|
23
|
+
let t = e?.trim();
|
|
24
|
+
if (!t) return;
|
|
25
|
+
let r = t.toLowerCase();
|
|
26
|
+
n.has(r) || n.set(r, t);
|
|
27
|
+
};
|
|
28
|
+
a.forEach(r), e.forEach(r), r(t);
|
|
29
|
+
let i = t?.trim();
|
|
30
|
+
return i && n.set(i.toLowerCase(), i), [...n.values()];
|
|
31
|
+
}
|
|
32
|
+
var s = {
|
|
33
|
+
SLACK: ["slack"],
|
|
34
|
+
TEAMS: ["teams", "microsoft"],
|
|
35
|
+
DISCORD: ["discord"],
|
|
36
|
+
WHATSAPP: ["whatsapp"]
|
|
37
|
+
};
|
|
38
|
+
function c(e, t) {
|
|
39
|
+
let n = s[t.toUpperCase()] ?? [t.toLowerCase()];
|
|
40
|
+
return e.filter((e) => {
|
|
41
|
+
if (e.status !== "ACTIVE" || !e.provider) return !1;
|
|
42
|
+
let t = `${e.provider.key} ${e.provider.name}`.toLowerCase();
|
|
43
|
+
return n.some((e) => t.includes(e));
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function l(e, t, n) {
|
|
47
|
+
let r = new Set(t), i = n.trim().toLowerCase();
|
|
48
|
+
return e.filter((e) => !r.has(e.userId) && (!i || e.displayName.toLowerCase().includes(i) || (e.email ?? "").toLowerCase().includes(i)));
|
|
49
|
+
}
|
|
50
|
+
var u = {
|
|
51
|
+
ArrowDown: (e, t) => (e + 1) % t,
|
|
52
|
+
ArrowUp: (e, t) => (e - 1 + t) % t,
|
|
53
|
+
Home: () => 0,
|
|
54
|
+
End: (e, t) => t - 1
|
|
55
|
+
};
|
|
56
|
+
function d(e, t, n) {
|
|
57
|
+
let r = u[e];
|
|
58
|
+
return r && n > 0 ? r(Math.max(t, 0), n) : null;
|
|
59
|
+
}
|
|
60
|
+
export { a as DEFAULT_MEMBER_ROLES, t as INBOX_REFRESH_MS, i as isHandoffConflict, c as linkableConnections, o as memberRoleOptions, n as mergeHandoffPages, r as newHandoffIds, d as nextListboxIndex, l as teammateCandidates };
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=handoffInbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handoffInbox.js","names":["INBOX_REFRESH_MS","mergeHandoffPages","seen","merged","page","pages","item","newHandoffIds","items","known","isHandoffConflict","graphqlErrorCode","error","DEFAULT_MEMBER_ROLES","memberRoleOptions","byKey","add","trimmed","role","key","memberRoles","current","saved","PLATFORM_PROVIDER_HINTS","linkableConnections","hints","platform","connections","connection","haystack","hint","teammateCandidates","picked","chosen","needle","query","members","member","LISTBOX_MOVES","index","count","nextListboxIndex","move"],"sources":["../../../src/botlit/utils/handoffInbox.ts"],"sourcesContent":["/**\n * Handoff inbox helpers (BOFF-15472)\n * @module botlit/utils\n *\n * Pure logic behind the team inbox and the handoff routing pickers, kept out\n * of the components so it is unit-tested on its own: page merging and new-item\n * detection for the auto-refreshing queue, the \"someone else got there first\"\n * check for a take-over, the role options of the routing select, and which\n * integration connections can be linked to a platform channel.\n */\n\nimport { graphqlErrorCode } from './errors';\n\n/** How often the inbox re-reads the queue while the page is visible. */\nexport const INBOX_REFRESH_MS = 20_000;\n\n/** The server caps one queue page at 100 handoffs. */\nexport const INBOX_PAGE_SIZE = 100;\n\n/** Concatenates queue pages in order, keeping the first copy of each id. */\nexport function mergeHandoffPages<T extends { id: string }>(pages: readonly T[][]): T[] {\n const seen = new Set<string>();\n const merged: T[] = [];\n for (const page of pages) {\n for (const item of page) {\n if (seen.has(item.id)) continue;\n seen.add(item.id);\n merged.push(item);\n }\n }\n return merged;\n}\n\n/** Ids in `items` that were not in `known` (the previous read). */\nexport function newHandoffIds(\n known: ReadonlySet<string>,\n items: readonly { id: string }[]\n): string[] {\n return items.filter((item) => !known.has(item.id)).map((item) => item.id);\n}\n\n/**\n * True when a handoff transition failed because the handoff moved on in the\n * meantime, e.g. a teammate took it over first. The server reports that as\n * FAILED_PRECONDITION (`handoff.errors.invalidTransition`).\n */\nexport function isHandoffConflict(error: unknown): boolean {\n return graphqlErrorCode(error) === 'FAILED_PRECONDITION';\n}\n\n/**\n * Workspace membership roles the handoff runtime matches `targetRole`\n * against (`WorkspaceMember.role`, compared case-insensitively).\n */\nexport const DEFAULT_MEMBER_ROLES = ['owner', 'admin', 'member', 'viewer'] as const;\n\n/**\n * The options of the \"workspace role\" select: the default membership roles,\n * every role a member of this workspace actually holds, and the saved value\n * even when nobody holds it any more, so opening the form never drops it.\n * Roles are unique case-insensitively; the saved value's casing wins.\n */\nexport function memberRoleOptions(\n memberRoles: readonly (string | null | undefined)[],\n current: string | null | undefined\n): string[] {\n const byKey = new Map<string, string>();\n const add = (role: string | null | undefined) => {\n const trimmed = role?.trim();\n if (!trimmed) return;\n const key = trimmed.toLowerCase();\n if (!byKey.has(key)) byKey.set(key, trimmed);\n };\n DEFAULT_MEMBER_ROLES.forEach(add);\n memberRoles.forEach(add);\n add(current);\n // The saved value keeps its own casing, so the select (which matches values\n // exactly) still shows it as chosen; its position does not change.\n const saved = current?.trim();\n if (saved) byKey.set(saved.toLowerCase(), saved);\n return [...byKey.values()];\n}\n\n/** Provider name fragments that identify each channel platform's connections. */\nconst PLATFORM_PROVIDER_HINTS: Record<string, readonly string[]> = {\n SLACK: ['slack'],\n TEAMS: ['teams', 'microsoft'],\n DISCORD: ['discord'],\n WHATSAPP: ['whatsapp'],\n};\n\nexport interface LinkableConnection {\n id: string;\n status: string;\n provider: { key: string; name: string } | null;\n}\n\n/**\n * The caller's integration connections that can be linked to a channel of\n * `platform`: ACTIVE ones whose provider is that platform's.\n */\nexport function linkableConnections<T extends LinkableConnection>(\n connections: readonly T[],\n platform: string\n): T[] {\n const hints = PLATFORM_PROVIDER_HINTS[platform.toUpperCase()] ?? [platform.toLowerCase()];\n return connections.filter((connection) => {\n if (connection.status !== 'ACTIVE' || !connection.provider) return false;\n const haystack = `${connection.provider.key} ${connection.provider.name}`.toLowerCase();\n return hints.some((hint) => haystack.includes(hint));\n });\n}\n\n/** Members not yet chosen whose name or email contains the search text. */\nexport function teammateCandidates<\n T extends { userId: string; displayName: string; email?: string | null },\n>(members: readonly T[], chosen: readonly string[], query: string): T[] {\n const picked = new Set(chosen);\n const needle = query.trim().toLowerCase();\n return members.filter(\n (member) =>\n !picked.has(member.userId) &&\n (!needle ||\n member.displayName.toLowerCase().includes(needle) ||\n (member.email ?? '').toLowerCase().includes(needle))\n );\n}\n\nconst LISTBOX_MOVES: Partial<Record<string, (index: number, count: number) => number>> = {\n ArrowDown: (index, count) => (index + 1) % count,\n ArrowUp: (index, count) => (index - 1 + count) % count,\n Home: () => 0,\n End: (_index, count) => count - 1,\n};\n\n/**\n * Where a listbox key moves the highlight (wrapping at both ends), or null\n * when the key doesn't move it or the list is empty.\n */\nexport function nextListboxIndex(key: string, index: number, count: number): number | null {\n const move = LISTBOX_MOVES[key];\n return move && count > 0 ? move(Math.max(index, 0), count) : null;\n}\n"],"mappings":";;AAcA,IAAaA,IAAmB;AAMhC,SAAgBC,EAA4C,GAA4B;CACtF,IAAMC,oBAAO,IAAI,IAAY,GACvBC,IAAc,CAAC;CACrB,KAAK,IAAMC,KAAQC,GACjB,KAAK,IAAMC,KAAQF,GACjB,AAAIF,EAAK,IAAII,EAAK,EAAE,MACpBJ,EAAK,IAAII,EAAK,EAAE,GAChBH,EAAO,KAAKG,CAAI;CAGpB,OAAOH;AACT;AAGA,SAAgBI,EACd,GACA,GACU;CACV,OAAOC,EAAM,QAAQ,MAAS,CAACC,EAAM,IAAIH,EAAK,EAAE,CAAC,CAAC,CAAC,KAAK,MAASA,EAAK,EAAE;AAC1E;AAOA,SAAgBI,EAAkB,GAAyB;CACzD,OAAOC,EAAiBC,CAAK,MAAM;AACrC;AAMA,IAAaC,IAAuB;CAAC;CAAS;CAAS;CAAU;AAAQ;AAQzE,SAAgBC,EACd,GACA,GACU;CACV,IAAMC,oBAAQ,IAAI,IAAoB,GAChCC,KAAO,MAAoC;EAC/C,IAAMC,IAAUC,GAAM,KAAK;EAC3B,IAAI,CAACD,GAAS;EACd,IAAME,IAAMF,EAAQ,YAAY;EAChC,AAAKF,EAAM,IAAII,CAAG,KAAGJ,EAAM,IAAII,GAAKF,CAAO;CAC7C;CAGA,AAFAJ,EAAqB,QAAQG,CAAG,GAChCI,EAAY,QAAQJ,CAAG,GACvBA,EAAIK,CAAO;CAGX,IAAMC,IAAQD,GAAS,KAAK;CAE5B,OADIC,KAAOP,EAAM,IAAIO,EAAM,YAAY,GAAGA,CAAK,GACxC,CAAC,GAAGP,EAAM,OAAO,CAAC;AAC3B;AAGA,IAAMQ,IAA6D;CACjE,OAAO,CAAC,OAAO;CACf,OAAO,CAAC,SAAS,WAAW;CAC5B,SAAS,CAAC,SAAS;CACnB,UAAU,CAAC,UAAU;AACvB;AAYA,SAAgBC,EACd,GACA,GACK;CACL,IAAMC,IAAQF,EAAwBG,EAAS,YAAY,MAAM,CAACA,EAAS,YAAY,CAAC;CACxF,OAAOC,EAAY,QAAQ,MAAe;EACxC,IAAIC,EAAW,WAAW,YAAY,CAACA,EAAW,UAAU,OAAO;EACnE,IAAMC,IAAW,GAAGD,EAAW,SAAS,IAAI,GAAGA,EAAW,SAAS,OAAO,YAAY;EACtF,OAAOH,EAAM,MAAM,MAASI,EAAS,SAASC,CAAI,CAAC;CACrD,CAAC;AACH;AAGA,SAAgBC,EAEd,GAAuB,GAA2B,GAAoB;CACtE,IAAMC,IAAS,IAAI,IAAIC,CAAM,GACvBC,IAASC,EAAM,KAAK,CAAC,CAAC,YAAY;CACxC,OAAOC,EAAQ,QACZ,MACC,CAACJ,EAAO,IAAIK,EAAO,MAAM,MACxB,CAACH,KACAG,EAAO,YAAY,YAAY,CAAC,CAAC,SAASH,CAAM,MAC/CG,EAAO,SAAS,GAAA,CAAI,YAAY,CAAC,CAAC,SAASH,CAAM,EACxD;AACF;AAEA,IAAMI,IAAmF;CACvF,YAAY,GAAO,OAAWC,IAAQ,KAAKC;CAC3C,UAAU,GAAO,OAAWD,IAAQ,IAAIC,KAASA;CACjD,YAAY;CACZ,MAAM,GAAQ,MAAUA,IAAQ;AAClC;AAMA,SAAgBC,EAAiB,GAAa,GAAe,GAA8B;CACzF,IAAMC,IAAOJ,EAAcnB;CAC3B,OAAOuB,KAAQF,IAAQ,IAAIE,EAAK,KAAK,IAAIH,GAAO,CAAC,GAAGC,CAAK,IAAI;AAC/D"}
|
|
@@ -141,6 +141,22 @@ export type ConfigureSupervisorInput = {
|
|
|
141
141
|
enabled?: boolean | null | undefined;
|
|
142
142
|
timezone?: string | null | undefined;
|
|
143
143
|
};
|
|
144
|
+
/** Narrows getConnections to how the caller reaches a connection. */
|
|
145
|
+
export type ConnectionAccessFilter =
|
|
146
|
+
/** Connections the caller owns */
|
|
147
|
+
'OWNED_BY_ME'
|
|
148
|
+
/** Connections someone else owns and shared with the caller, directly or through a group or project */
|
|
149
|
+
| 'SHARED_WITH_ME';
|
|
150
|
+
export type ConnectionFilterInput = {
|
|
151
|
+
/** Only connections the caller owns, or only those shared with them */
|
|
152
|
+
access?: ConnectionAccessFilter | null | undefined;
|
|
153
|
+
context?: ContextFilterInput | null | undefined;
|
|
154
|
+
providerCategory?: ProviderCategory | null | undefined;
|
|
155
|
+
providerId?: string | number | null | undefined;
|
|
156
|
+
search?: string | null | undefined;
|
|
157
|
+
status?: ConnectionStatus | null | undefined;
|
|
158
|
+
};
|
|
159
|
+
export type ConnectionStatus = 'ACTIVE' | 'ERROR' | 'EXPIRED' | 'INACTIVE' | 'PENDING_AUTH' | 'REVOKED';
|
|
144
160
|
/**
|
|
145
161
|
* Context filter input for querying records by context.
|
|
146
162
|
* Supports exact match filtering on context fields.
|
|
@@ -525,6 +541,11 @@ export type InstalledPackageFilterInput = {
|
|
|
525
541
|
packageId?: string | number | null | undefined;
|
|
526
542
|
workspaceId: string | number;
|
|
527
543
|
};
|
|
544
|
+
export type IntegrationsPaginationInput = {
|
|
545
|
+
cursor?: string | null | undefined;
|
|
546
|
+
limit?: number | null | undefined;
|
|
547
|
+
offset?: number | null | undefined;
|
|
548
|
+
};
|
|
528
549
|
export type KnowledgeBaseFilterInput = {
|
|
529
550
|
indexStatus?: IndexStatus | null | undefined;
|
|
530
551
|
search?: string | null | undefined;
|
|
@@ -571,6 +592,7 @@ export type PromptTemplateFilterInput = {
|
|
|
571
592
|
workspaceId?: string | number | null | undefined;
|
|
572
593
|
};
|
|
573
594
|
export type PromptVersionBump = 'MAJOR' | 'MINOR' | 'PATCH';
|
|
595
|
+
export type ProviderCategory = 'ACCOUNTING' | 'ANALYTICS' | 'CALENDAR' | 'CLOUD_STORAGE' | 'COMMUNICATION' | 'CRM' | 'CUSTOM' | 'DEVELOPMENT' | 'EMAIL' | 'PAYMENT' | 'PRODUCTIVITY' | 'SOCIAL';
|
|
574
596
|
export type RetrievalMode = 'BM25_ONLY' | 'HYBRID' | 'VECTOR';
|
|
575
597
|
export type RetrievalProfileFilterInput = {
|
|
576
598
|
bucketId?: string | number | null | undefined;
|
|
@@ -2089,6 +2111,64 @@ export type GetExecutionSummaryQuery = {
|
|
|
2089
2111
|
unpricedRuns: number;
|
|
2090
2112
|
};
|
|
2091
2113
|
};
|
|
2114
|
+
export type BotmanorGettingStartedKnowledgeQueryVariables = Exact<{
|
|
2115
|
+
filters?: Types.KnowledgeBaseFilterInput | null | undefined;
|
|
2116
|
+
}>;
|
|
2117
|
+
export type BotmanorGettingStartedKnowledgeQuery = {
|
|
2118
|
+
listKnowledgeBases: Array<{
|
|
2119
|
+
id: string;
|
|
2120
|
+
}>;
|
|
2121
|
+
};
|
|
2122
|
+
export type BotmanorWorkspaceMembersQueryVariables = Exact<{
|
|
2123
|
+
workspaceId: string | number;
|
|
2124
|
+
pagination?: Types.PaginationInput | null | undefined;
|
|
2125
|
+
}>;
|
|
2126
|
+
export type BotmanorWorkspaceMembersQuery = {
|
|
2127
|
+
workspaceMembers: {
|
|
2128
|
+
hasMore: boolean;
|
|
2129
|
+
total: number;
|
|
2130
|
+
items: Array<{
|
|
2131
|
+
id: string;
|
|
2132
|
+
userId: string;
|
|
2133
|
+
role: string;
|
|
2134
|
+
status: string;
|
|
2135
|
+
}>;
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
export type BotmanorWorkspaceMemberIdentitiesQueryVariables = Exact<{
|
|
2139
|
+
workspaceId: string | number;
|
|
2140
|
+
userIds: Array<string | number> | string | number;
|
|
2141
|
+
}>;
|
|
2142
|
+
export type BotmanorWorkspaceMemberIdentitiesQuery = {
|
|
2143
|
+
workspaceMemberIdentities: Array<{
|
|
2144
|
+
userId: string;
|
|
2145
|
+
displayName: string;
|
|
2146
|
+
email: string | null;
|
|
2147
|
+
avatar: string | null;
|
|
2148
|
+
}>;
|
|
2149
|
+
};
|
|
2150
|
+
export type BotmanorMyIntegrationConnectionsQueryVariables = Exact<{
|
|
2151
|
+
filter?: Types.ConnectionFilterInput | null | undefined;
|
|
2152
|
+
pagination?: Types.IntegrationsPaginationInput | null | undefined;
|
|
2153
|
+
}>;
|
|
2154
|
+
export type BotmanorMyIntegrationConnectionsQuery = {
|
|
2155
|
+
getConnections: {
|
|
2156
|
+
hasMore: boolean;
|
|
2157
|
+
total: number;
|
|
2158
|
+
items: Array<{
|
|
2159
|
+
id: string;
|
|
2160
|
+
name: string;
|
|
2161
|
+
status: Types.ConnectionStatus;
|
|
2162
|
+
externalAccountName: string | null;
|
|
2163
|
+
externalAccountEmail: string | null;
|
|
2164
|
+
provider: {
|
|
2165
|
+
id: string;
|
|
2166
|
+
key: string;
|
|
2167
|
+
name: string;
|
|
2168
|
+
};
|
|
2169
|
+
}>;
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2092
2172
|
export type HandoffConfigQueryVariables = Exact<{
|
|
2093
2173
|
agentId: string | number;
|
|
2094
2174
|
}>;
|
|
@@ -5720,6 +5800,119 @@ export type GetExecutionSummaryQueryHookResult = ReturnType<typeof useGetExecuti
|
|
|
5720
5800
|
export type GetExecutionSummaryLazyQueryHookResult = ReturnType<typeof useGetExecutionSummaryLazyQuery>;
|
|
5721
5801
|
export type GetExecutionSummarySuspenseQueryHookResult = ReturnType<typeof useGetExecutionSummarySuspenseQuery>;
|
|
5722
5802
|
export type GetExecutionSummaryQueryResult = Apollo.QueryResult<Types.GetExecutionSummaryQuery, Types.GetExecutionSummaryQueryVariables>;
|
|
5803
|
+
export declare const BotmanorGettingStartedKnowledgeDocument: Apollo.DocumentNode;
|
|
5804
|
+
/**
|
|
5805
|
+
* __useBotmanorGettingStartedKnowledgeQuery__
|
|
5806
|
+
*
|
|
5807
|
+
* To run a query within a React component, call `useBotmanorGettingStartedKnowledgeQuery` and pass it any options that fit your needs.
|
|
5808
|
+
* When your component renders, `useBotmanorGettingStartedKnowledgeQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5809
|
+
* you can use to render your UI.
|
|
5810
|
+
*
|
|
5811
|
+
* @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;
|
|
5812
|
+
*
|
|
5813
|
+
* @example
|
|
5814
|
+
* const { data, loading, error } = useBotmanorGettingStartedKnowledgeQuery({
|
|
5815
|
+
* variables: {
|
|
5816
|
+
* filters: // value for 'filters'
|
|
5817
|
+
* },
|
|
5818
|
+
* });
|
|
5819
|
+
*/
|
|
5820
|
+
export declare function useBotmanorGettingStartedKnowledgeQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables>): ApolloReactHooks.useQuery.Result<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables, "empty" | "complete" | "streaming", Types.BotmanorGettingStartedKnowledgeQueryVariables, undefined>;
|
|
5821
|
+
export declare function useBotmanorGettingStartedKnowledgeLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
5822
|
+
export declare function useBotmanorGettingStartedKnowledgeSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables>;
|
|
5823
|
+
export declare function useBotmanorGettingStartedKnowledgeSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorGettingStartedKnowledgeQuery | undefined, Types.BotmanorGettingStartedKnowledgeQueryVariables>;
|
|
5824
|
+
export type BotmanorGettingStartedKnowledgeQueryHookResult = ReturnType<typeof useBotmanorGettingStartedKnowledgeQuery>;
|
|
5825
|
+
export type BotmanorGettingStartedKnowledgeLazyQueryHookResult = ReturnType<typeof useBotmanorGettingStartedKnowledgeLazyQuery>;
|
|
5826
|
+
export type BotmanorGettingStartedKnowledgeSuspenseQueryHookResult = ReturnType<typeof useBotmanorGettingStartedKnowledgeSuspenseQuery>;
|
|
5827
|
+
export type BotmanorGettingStartedKnowledgeQueryResult = Apollo.QueryResult<Types.BotmanorGettingStartedKnowledgeQuery, Types.BotmanorGettingStartedKnowledgeQueryVariables>;
|
|
5828
|
+
export declare const BotmanorWorkspaceMembersDocument: Apollo.DocumentNode;
|
|
5829
|
+
/**
|
|
5830
|
+
* __useBotmanorWorkspaceMembersQuery__
|
|
5831
|
+
*
|
|
5832
|
+
* To run a query within a React component, call `useBotmanorWorkspaceMembersQuery` and pass it any options that fit your needs.
|
|
5833
|
+
* When your component renders, `useBotmanorWorkspaceMembersQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5834
|
+
* you can use to render your UI.
|
|
5835
|
+
*
|
|
5836
|
+
* @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;
|
|
5837
|
+
*
|
|
5838
|
+
* @example
|
|
5839
|
+
* const { data, loading, error } = useBotmanorWorkspaceMembersQuery({
|
|
5840
|
+
* variables: {
|
|
5841
|
+
* workspaceId: // value for 'workspaceId'
|
|
5842
|
+
* pagination: // value for 'pagination'
|
|
5843
|
+
* },
|
|
5844
|
+
* });
|
|
5845
|
+
*/
|
|
5846
|
+
export declare function useBotmanorWorkspaceMembersQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables> & ({
|
|
5847
|
+
variables: Types.BotmanorWorkspaceMembersQueryVariables;
|
|
5848
|
+
skip?: boolean;
|
|
5849
|
+
} | {
|
|
5850
|
+
skip: boolean;
|
|
5851
|
+
})): ApolloReactHooks.useQuery.Result<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables, "empty" | "complete" | "streaming", Types.BotmanorWorkspaceMembersQueryVariables, undefined>;
|
|
5852
|
+
export declare function useBotmanorWorkspaceMembersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
5853
|
+
export declare function useBotmanorWorkspaceMembersSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables>;
|
|
5854
|
+
export declare function useBotmanorWorkspaceMembersSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorWorkspaceMembersQuery | undefined, Types.BotmanorWorkspaceMembersQueryVariables>;
|
|
5855
|
+
export type BotmanorWorkspaceMembersQueryHookResult = ReturnType<typeof useBotmanorWorkspaceMembersQuery>;
|
|
5856
|
+
export type BotmanorWorkspaceMembersLazyQueryHookResult = ReturnType<typeof useBotmanorWorkspaceMembersLazyQuery>;
|
|
5857
|
+
export type BotmanorWorkspaceMembersSuspenseQueryHookResult = ReturnType<typeof useBotmanorWorkspaceMembersSuspenseQuery>;
|
|
5858
|
+
export type BotmanorWorkspaceMembersQueryResult = Apollo.QueryResult<Types.BotmanorWorkspaceMembersQuery, Types.BotmanorWorkspaceMembersQueryVariables>;
|
|
5859
|
+
export declare const BotmanorWorkspaceMemberIdentitiesDocument: Apollo.DocumentNode;
|
|
5860
|
+
/**
|
|
5861
|
+
* __useBotmanorWorkspaceMemberIdentitiesQuery__
|
|
5862
|
+
*
|
|
5863
|
+
* To run a query within a React component, call `useBotmanorWorkspaceMemberIdentitiesQuery` and pass it any options that fit your needs.
|
|
5864
|
+
* When your component renders, `useBotmanorWorkspaceMemberIdentitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5865
|
+
* you can use to render your UI.
|
|
5866
|
+
*
|
|
5867
|
+
* @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;
|
|
5868
|
+
*
|
|
5869
|
+
* @example
|
|
5870
|
+
* const { data, loading, error } = useBotmanorWorkspaceMemberIdentitiesQuery({
|
|
5871
|
+
* variables: {
|
|
5872
|
+
* workspaceId: // value for 'workspaceId'
|
|
5873
|
+
* userIds: // value for 'userIds'
|
|
5874
|
+
* },
|
|
5875
|
+
* });
|
|
5876
|
+
*/
|
|
5877
|
+
export declare function useBotmanorWorkspaceMemberIdentitiesQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables> & ({
|
|
5878
|
+
variables: Types.BotmanorWorkspaceMemberIdentitiesQueryVariables;
|
|
5879
|
+
skip?: boolean;
|
|
5880
|
+
} | {
|
|
5881
|
+
skip: boolean;
|
|
5882
|
+
})): ApolloReactHooks.useQuery.Result<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables, "empty" | "complete" | "streaming", Types.BotmanorWorkspaceMemberIdentitiesQueryVariables, undefined>;
|
|
5883
|
+
export declare function useBotmanorWorkspaceMemberIdentitiesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
5884
|
+
export declare function useBotmanorWorkspaceMemberIdentitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables>;
|
|
5885
|
+
export declare function useBotmanorWorkspaceMemberIdentitiesSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorWorkspaceMemberIdentitiesQuery | undefined, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables>;
|
|
5886
|
+
export type BotmanorWorkspaceMemberIdentitiesQueryHookResult = ReturnType<typeof useBotmanorWorkspaceMemberIdentitiesQuery>;
|
|
5887
|
+
export type BotmanorWorkspaceMemberIdentitiesLazyQueryHookResult = ReturnType<typeof useBotmanorWorkspaceMemberIdentitiesLazyQuery>;
|
|
5888
|
+
export type BotmanorWorkspaceMemberIdentitiesSuspenseQueryHookResult = ReturnType<typeof useBotmanorWorkspaceMemberIdentitiesSuspenseQuery>;
|
|
5889
|
+
export type BotmanorWorkspaceMemberIdentitiesQueryResult = Apollo.QueryResult<Types.BotmanorWorkspaceMemberIdentitiesQuery, Types.BotmanorWorkspaceMemberIdentitiesQueryVariables>;
|
|
5890
|
+
export declare const BotmanorMyIntegrationConnectionsDocument: Apollo.DocumentNode;
|
|
5891
|
+
/**
|
|
5892
|
+
* __useBotmanorMyIntegrationConnectionsQuery__
|
|
5893
|
+
*
|
|
5894
|
+
* To run a query within a React component, call `useBotmanorMyIntegrationConnectionsQuery` and pass it any options that fit your needs.
|
|
5895
|
+
* When your component renders, `useBotmanorMyIntegrationConnectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
5896
|
+
* you can use to render your UI.
|
|
5897
|
+
*
|
|
5898
|
+
* @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;
|
|
5899
|
+
*
|
|
5900
|
+
* @example
|
|
5901
|
+
* const { data, loading, error } = useBotmanorMyIntegrationConnectionsQuery({
|
|
5902
|
+
* variables: {
|
|
5903
|
+
* filter: // value for 'filter'
|
|
5904
|
+
* pagination: // value for 'pagination'
|
|
5905
|
+
* },
|
|
5906
|
+
* });
|
|
5907
|
+
*/
|
|
5908
|
+
export declare function useBotmanorMyIntegrationConnectionsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables>): ApolloReactHooks.useQuery.Result<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables, "empty" | "complete" | "streaming", Types.BotmanorMyIntegrationConnectionsQueryVariables, undefined>;
|
|
5909
|
+
export declare function useBotmanorMyIntegrationConnectionsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
5910
|
+
export declare function useBotmanorMyIntegrationConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables>;
|
|
5911
|
+
export declare function useBotmanorMyIntegrationConnectionsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.BotmanorMyIntegrationConnectionsQuery | undefined, Types.BotmanorMyIntegrationConnectionsQueryVariables>;
|
|
5912
|
+
export type BotmanorMyIntegrationConnectionsQueryHookResult = ReturnType<typeof useBotmanorMyIntegrationConnectionsQuery>;
|
|
5913
|
+
export type BotmanorMyIntegrationConnectionsLazyQueryHookResult = ReturnType<typeof useBotmanorMyIntegrationConnectionsLazyQuery>;
|
|
5914
|
+
export type BotmanorMyIntegrationConnectionsSuspenseQueryHookResult = ReturnType<typeof useBotmanorMyIntegrationConnectionsSuspenseQuery>;
|
|
5915
|
+
export type BotmanorMyIntegrationConnectionsQueryResult = Apollo.QueryResult<Types.BotmanorMyIntegrationConnectionsQuery, Types.BotmanorMyIntegrationConnectionsQueryVariables>;
|
|
5723
5916
|
export declare const HandoffConfigDocument: Apollo.DocumentNode;
|
|
5724
5917
|
/**
|
|
5725
5918
|
* __useHandoffConfigQuery__
|