veryfront 0.1.920 → 0.1.922
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/esm/cli/templates/manifest.d.ts +3 -0
- package/esm/cli/templates/manifest.js +7 -4
- package/esm/deno.js +1 -1
- package/esm/src/integrations/_data.d.ts.map +1 -1
- package/esm/src/integrations/_data.js +443 -0
- package/esm/src/integrations/_tool_summaries.d.ts.map +1 -1
- package/esm/src/integrations/_tool_summaries.js +25 -0
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +1 -1
|
@@ -424,9 +424,12 @@ declare namespace _default {
|
|
|
424
424
|
"app/api/auth/outlook/callback/route.ts": string;
|
|
425
425
|
"app/api/auth/outlook/route.ts": string;
|
|
426
426
|
"lib/outlook-client.ts": string;
|
|
427
|
+
"tools/create-draft.ts": string;
|
|
427
428
|
"tools/get-email.ts": string;
|
|
429
|
+
"tools/get-thread.ts": string;
|
|
428
430
|
"tools/list-emails.ts": string;
|
|
429
431
|
"tools/list-folders.ts": string;
|
|
432
|
+
"tools/list-threads.ts": string;
|
|
430
433
|
"tools/search-emails.ts": string;
|
|
431
434
|
"tools/send-email.ts": string;
|
|
432
435
|
};
|
|
@@ -423,11 +423,14 @@ export default {
|
|
|
423
423
|
".env.example": "# Microsoft Outlook Integration\n# Get these from: https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade\n\n# Your Microsoft Azure App Client ID (Application ID)\nMICROSOFT_CLIENT_ID=your_client_id_here\n\n# Your Microsoft Azure App Client Secret\nMICROSOFT_CLIENT_SECRET=your_client_secret_here\n",
|
|
424
424
|
"app/api/auth/outlook/callback/route.ts": "import { createOAuthCallbackHandler, outlookConfig } from \"veryfront/oauth\";\nimport { tokenStore } from \"../../../../../lib/token-store.ts\";\nimport { oauthMemoryTokenStore } from \"../../../../../lib/oauth-memory-store.ts\";\n\nconst hybridTokenStore = {\n getTokens(serviceId: string, userId: string) {\n return tokenStore.getToken(userId, serviceId);\n },\n async setTokens(\n serviceId: string,\n userId: string,\n tokens: { accessToken: string; refreshToken?: string; expiresAt?: number },\n ) {\n await tokenStore.setToken(userId, serviceId, tokens);\n },\n async clearTokens(serviceId: string, userId: string) {\n await tokenStore.revokeToken(userId, serviceId);\n },\n setState(\n state: string,\n meta: {\n userId: string;\n serviceId: string;\n codeVerifier?: string;\n redirectUri?: string;\n scopes?: string[];\n createdAt: number;\n },\n ) {\n return oauthMemoryTokenStore.setState(state, meta);\n },\n consumeState(state: string) {\n return oauthMemoryTokenStore.consumeState(state);\n },\n};\n\nexport const GET = createOAuthCallbackHandler(outlookConfig, { tokenStore: hybridTokenStore });\n",
|
|
425
425
|
"app/api/auth/outlook/route.ts": "import { createOAuthInitHandler, outlookConfig } from \"veryfront/oauth\";\nimport { oauthMemoryTokenStore } from \"../../../../../lib/oauth-memory-store.ts\";\nimport { requireUserIdFromRequest } from \"../../../../../lib/user-id.ts\";\n\nfunction getUserId(request: Request): string {\n return requireUserIdFromRequest(request);\n}\n\nexport const GET = createOAuthInitHandler(outlookConfig, {\n tokenStore: oauthMemoryTokenStore,\n getUserId,\n});",
|
|
426
|
-
"lib/outlook-client.ts": "import { getAccessToken } from \"./token-store.ts\";\n\nconst GRAPH_BASE_URL = \"https://graph.microsoft.com/v1.0\";\n\ninterface GraphResponse<T> {\n value?: T[];\n \"@odata.nextLink\"?: string;\n}\n\nexport interface OutlookMessage {\n id: string;\n subject: string;\n bodyPreview: string;\n body: {\n contentType: \"text\" | \"html\";\n content: string;\n };\n from
|
|
427
|
-
"tools/
|
|
428
|
-
"tools/
|
|
426
|
+
"lib/outlook-client.ts": "import { getAccessToken } from \"./token-store.ts\";\n\nconst GRAPH_BASE_URL = \"https://graph.microsoft.com/v1.0\";\n\ninterface GraphResponse<T> {\n value?: T[];\n \"@odata.nextLink\"?: string;\n}\n\ninterface OutlookEmailAddress {\n name?: string;\n address?: string;\n}\n\nexport interface OutlookContact {\n emailAddress?: OutlookEmailAddress | null;\n}\n\nexport interface OutlookMessage {\n id: string;\n subject: string;\n bodyPreview: string;\n body: {\n contentType: \"text\" | \"html\";\n content: string;\n };\n from?: OutlookContact | null;\n toRecipients: OutlookContact[];\n ccRecipients?: OutlookContact[] | null;\n receivedDateTime: string;\n sentDateTime: string;\n isRead: boolean;\n hasAttachments: boolean;\n importance: \"low\" | \"normal\" | \"high\";\n conversationId: string;\n webLink: string;\n}\n\nexport interface OutlookFolder {\n id: string;\n displayName: string;\n parentFolderId: string;\n childFolderCount: number;\n unreadItemCount: number;\n totalItemCount: number;\n}\n\nexport interface SendEmailOptions {\n to: string[];\n subject: string;\n body: string;\n cc?: string[];\n bcc?: string[];\n importance?: \"low\" | \"normal\" | \"high\";\n bodyType?: \"text\" | \"html\";\n}\n\nexport interface CreateDraftOptions extends SendEmailOptions {\n replyTo?: string[];\n categories?: string[];\n}\n\nasync function graphFetch<T>(endpoint: string, options: RequestInit = {}): Promise<T> {\n const token = await getAccessToken();\n if (!token) {\n throw new Error(\"Not authenticated with Microsoft. Please connect your account.\");\n }\n\n const response = await fetch(`${GRAPH_BASE_URL}${endpoint}`, {\n ...options,\n headers: {\n Authorization: `Bearer ${token}`,\n \"Content-Type\": \"application/json\",\n ...options.headers,\n },\n });\n\n if (!response.ok) {\n const error = await response.json().catch(() => ({}));\n throw new Error(\n `Microsoft Graph API error: ${response.status} ${error.error?.message ?? response.statusText}`,\n );\n }\n\n return response.json();\n}\n\nexport async function listEmails(options?: {\n folderId?: string;\n top?: number;\n skip?: number;\n filter?: string;\n orderBy?: string;\n}): Promise<OutlookMessage[]> {\n const params = new URLSearchParams();\n\n if (options?.top != null) params.set(\"$top\", options.top.toString());\n if (options?.skip != null) params.set(\"$skip\", options.skip.toString());\n if (options?.filter) params.set(\"$filter\", options.filter);\n if (options?.orderBy) params.set(\"$orderby\", options.orderBy);\n\n const folderPath = options?.folderId\n ? `/mailFolders/${options.folderId}/messages`\n : \"/messages\";\n\n const queryString = params.toString();\n const endpoint = queryString ? `${folderPath}?${queryString}` : folderPath;\n\n const response = await graphFetch<GraphResponse<OutlookMessage>>(endpoint);\n return response.value ?? [];\n}\n\nexport function getEmail(messageId: string): Promise<OutlookMessage> {\n return graphFetch<OutlookMessage>(`/messages/${messageId}`);\n}\n\nexport async function sendEmail(options: SendEmailOptions): Promise<void> {\n const message = buildMessage(options);\n\n await graphFetch(\"/sendMail\", {\n method: \"POST\",\n body: JSON.stringify({ message }),\n });\n}\n\nfunction buildMessage(options: CreateDraftOptions) {\n return {\n subject: options.subject,\n body: {\n contentType: options.bodyType ?? \"text\",\n content: options.body,\n },\n toRecipients: options.to.map((email) => ({\n emailAddress: { address: email },\n })),\n ccRecipients: options.cc?.map((email) => ({\n emailAddress: { address: email },\n })),\n bccRecipients: options.bcc?.map((email) => ({\n emailAddress: { address: email },\n })),\n replyTo: options.replyTo?.map((email) => ({\n emailAddress: { address: email },\n })),\n importance: options.importance ?? \"normal\",\n categories: options.categories,\n };\n}\n\nexport async function createDraft(options: CreateDraftOptions): Promise<OutlookMessage> {\n return graphFetch<OutlookMessage>(\"/messages\", {\n method: \"POST\",\n body: JSON.stringify(buildMessage(options)),\n });\n}\n\nexport async function searchEmails(options: {\n query: string;\n top?: number;\n skip?: number;\n}): Promise<OutlookMessage[]> {\n const params = new URLSearchParams({ $search: `\"${options.query}\"` });\n\n if (options.top != null) params.set(\"$top\", options.top.toString());\n if (options.skip != null) params.set(\"$skip\", options.skip.toString());\n\n const response = await graphFetch<GraphResponse<OutlookMessage>>(`/messages?${params.toString()}`);\n return response.value ?? [];\n}\n\nexport async function listFolders(): Promise<OutlookFolder[]> {\n const response = await graphFetch<GraphResponse<OutlookFolder>>(\"/mailFolders\");\n return response.value ?? [];\n}\n\nexport async function listThreads(options?: {\n folderId?: string;\n top?: number;\n filter?: string;\n orderBy?: string;\n}): Promise<OutlookMessage[]> {\n const messages = await listEmails({\n folderId: options?.folderId ?? \"inbox\",\n top: options?.top,\n filter: options?.filter,\n orderBy: options?.orderBy ?? \"receivedDateTime desc\",\n });\n\n const seenConversationIds = new Set<string>();\n return messages.filter((message) => {\n const conversationId = message.conversationId || message.id;\n if (seenConversationIds.has(conversationId)) return false;\n seenConversationIds.add(conversationId);\n return true;\n });\n}\n\nexport async function getThread(threadId: string, limit = 25): Promise<OutlookMessage[]> {\n const safeThreadId = threadId.replaceAll(\"'\", \"''\");\n const params = new URLSearchParams({\n $filter: `conversationId eq '${safeThreadId}'`,\n $top: String(limit),\n $select:\n \"id,conversationId,internetMessageId,subject,body,bodyPreview,from,sender,toRecipients,ccRecipients,bccRecipients,replyTo,receivedDateTime,sentDateTime,categories,isRead,importance,hasAttachments,webLink,flag\",\n });\n\n const response = await graphFetch<GraphResponse<OutlookMessage>>(`/messages?${params}`);\n return response.value ?? [];\n}\n\nasync function setReadState(messageId: string, isRead: boolean): Promise<void> {\n await graphFetch(`/messages/${messageId}`, {\n method: \"PATCH\",\n body: JSON.stringify({ isRead }),\n });\n}\n\nexport async function markAsRead(messageId: string): Promise<void> {\n await setReadState(messageId, true);\n}\n\nexport async function markAsUnread(messageId: string): Promise<void> {\n await setReadState(messageId, false);\n}\n\nexport async function deleteEmail(messageId: string): Promise<void> {\n await graphFetch(`/messages/${messageId}`, { method: \"DELETE\" });\n}\n\nexport async function moveEmail(messageId: string, destinationFolderId: string): Promise<void> {\n await graphFetch(`/messages/${messageId}/move`, {\n method: \"POST\",\n body: JSON.stringify({ destinationId: destinationFolderId }),\n });\n}\n\nexport function formatEmail(message: OutlookMessage): string {\n const fromContact = summarizeContact(message.from);\n const from = fromContact.name || fromContact.email || \"Unknown sender\";\n const to = summarizeContacts(message.toRecipients).map((r) => r.email).filter(Boolean).join(\", \");\n const date = new Date(message.receivedDateTime).toLocaleString();\n const read = message.isRead ? \"Yes\" : \"No\";\n\n return `From: ${from}\nTo: ${to}\nSubject: ${message.subject}\nDate: ${date}\nRead: ${read}\n\n${message.bodyPreview}`;\n}\n\nexport function summarizeContact(contact?: OutlookContact | null): { name: string; email: string } {\n const emailAddress = contact?.emailAddress;\n const email = emailAddress?.address ?? \"\";\n return {\n name: emailAddress?.name ?? email,\n email,\n };\n}\n\nexport function summarizeContacts(contacts?: OutlookContact[] | null): Array<{\n name: string;\n email: string;\n}> {\n return (contacts ?? []).map(summarizeContact);\n}\n",
|
|
427
|
+
"tools/create-draft.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { createDraft, summarizeContacts } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"create-draft\",\n description:\n \"Create an Outlook email draft for human approval. This does not send the message.\",\n inputSchema: defineSchema((v) => v.object({\n to: v.array(v.string().email()).min(1).describe(\"Email addresses of recipients\"),\n subject: v.string().min(1).describe(\"Email subject line\"),\n body: v.string().min(1).describe(\"Email body content\"),\n cc: v.array(v.string().email()).optional().describe(\"Email addresses to CC\"),\n bcc: v.array(v.string().email()).optional().describe(\"Email addresses to BCC\"),\n replyTo: v.array(v.string().email()).optional().describe(\"Reply-to addresses\"),\n importance: v\n .enum([\"low\", \"normal\", \"high\"])\n .default(\"normal\")\n .describe(\"Email importance level\"),\n bodyType: v\n .enum([\"text\", \"html\"])\n .default(\"text\")\n .describe(\"Body content type\"),\n categories: v.array(v.string()).optional().describe(\"Outlook category names\"),\n }))(),\n async execute({ to, subject, body, cc, bcc, replyTo, importance, bodyType, categories }) {\n const draft = await createDraft({\n to,\n subject,\n body,\n cc,\n bcc,\n replyTo,\n importance,\n bodyType,\n categories,\n });\n\n return {\n draft: {\n id: draft.id,\n thread_id: draft.conversationId,\n subject: draft.subject,\n to: summarizeContacts(draft.toRecipients),\n preview: draft.bodyPreview,\n webLink: draft.webLink,\n isDraft: true,\n },\n };\n },\n});\n",
|
|
428
|
+
"tools/get-email.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { getEmail, summarizeContact, summarizeContacts } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"get-email\",\n description:\n \"Get detailed information about a specific email, including full body content, recipients, and metadata.\",\n inputSchema: defineSchema((v) => v.object({\n messageId: v.string().describe(\"The ID of the email message to retrieve\"),\n includeBody: v\n .boolean()\n .default(true)\n .describe(\"Include full email body content\"),\n }))(),\n async execute({ messageId, includeBody }) {\n const message = await getEmail(messageId);\n\n const body = includeBody\n ? {\n contentType: message.body.contentType,\n content: message.body.content,\n }\n : undefined;\n\n return {\n id: message.id,\n subject: message.subject,\n from: summarizeContact(message.from),\n to: summarizeContacts(message.toRecipients),\n cc: summarizeContacts(message.ccRecipients),\n body,\n bodyPreview: message.bodyPreview,\n receivedAt: message.receivedDateTime,\n sentAt: message.sentDateTime,\n isRead: message.isRead,\n hasAttachments: message.hasAttachments,\n importance: message.importance,\n conversationId: message.conversationId,\n webLink: message.webLink,\n };\n },\n});\n",
|
|
429
|
+
"tools/get-thread.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { getThread, summarizeContact, summarizeContacts } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"get-thread\",\n description:\n \"Get all Outlook messages in a conversation thread by thread_id. thread_id is the conversationId returned by list-threads.\",\n inputSchema: defineSchema((v) => v.object({\n thread_id: v\n .string()\n .min(1)\n .describe(\"Outlook conversationId returned by list-threads\"),\n limit: v\n .number()\n .min(1)\n .max(50)\n .default(25)\n .describe(\"Maximum messages to return for the thread\"),\n }))(),\n async execute({ thread_id, limit }) {\n const messages = await getThread(thread_id, limit);\n const firstMessage = messages[0];\n\n return {\n thread: {\n thread_id,\n subject: firstMessage?.subject ?? \"\",\n messages: messages.map((message) => ({\n id: message.id,\n subject: message.subject,\n from: summarizeContact(message.from),\n to: summarizeContacts(message.toRecipients),\n cc: summarizeContacts(message.ccRecipients),\n body: message.body,\n bodyPreview: message.bodyPreview,\n receivedAt: message.receivedDateTime,\n sentAt: message.sentDateTime,\n isRead: message.isRead,\n hasAttachments: message.hasAttachments,\n importance: message.importance,\n webLink: message.webLink,\n })),\n },\n };\n },\n});\n",
|
|
430
|
+
"tools/list-emails.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { listEmails, summarizeContact, summarizeContacts } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"list-emails\",\n description:\n \"List recent emails from inbox or a specific folder. Returns email metadata including subject, sender, date, and preview.\",\n inputSchema: defineSchema((v) => v.object({\n folderId: v\n .string()\n .optional()\n .describe(\"Folder ID to list emails from (default: inbox)\"),\n limit: v\n .number()\n .min(1)\n .max(50)\n .default(10)\n .describe(\"Maximum number of emails to return\"),\n unreadOnly: v.boolean().default(false).describe(\"Only return unread emails\"),\n orderBy: v\n .enum([\"receivedDateTime desc\", \"receivedDateTime asc\", \"subject\"])\n .default(\"receivedDateTime desc\")\n .describe(\"Sort order for emails\"),\n }))(),\n async execute({ folderId, limit, unreadOnly, orderBy }) {\n const messages = await listEmails({\n folderId,\n top: limit,\n filter: unreadOnly ? \"isRead eq false\" : undefined,\n orderBy,\n });\n\n return messages.map((msg) => ({\n id: msg.id,\n subject: msg.subject,\n from: summarizeContact(msg.from),\n to: summarizeContacts(msg.toRecipients),\n preview: msg.bodyPreview,\n receivedAt: msg.receivedDateTime,\n isRead: msg.isRead,\n hasAttachments: msg.hasAttachments,\n importance: msg.importance,\n webLink: msg.webLink,\n }));\n },\n});\n",
|
|
429
431
|
"tools/list-folders.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { listFolders } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"list-folders\",\n description:\n \"List all mail folders in the mailbox, including inbox, sent items, drafts, and custom folders.\",\n inputSchema: defineSchema((v) => v.object({}))(),\n async execute() {\n const folders = await listFolders();\n\n return folders.map((folder) => ({\n id: folder.id,\n name: folder.displayName,\n parentFolderId: folder.parentFolderId,\n childFolderCount: folder.childFolderCount,\n unreadItemCount: folder.unreadItemCount,\n totalItemCount: folder.totalItemCount,\n }));\n },\n});\n",
|
|
430
|
-
"tools/
|
|
432
|
+
"tools/list-threads.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { listThreads, summarizeContact } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"list-threads\",\n description:\n \"List recent Outlook conversation threads for request-desk triage. Returns representative messages with thread_id values that can be passed to get-thread.\",\n inputSchema: defineSchema((v) => v.object({\n folderId: v\n .string()\n .default(\"inbox\")\n .describe(\"Folder ID or well-known folder name to inspect\"),\n limit: v\n .number()\n .min(1)\n .max(50)\n .default(10)\n .describe(\"Maximum recent messages to inspect as thread representatives\"),\n unreadOnly: v.boolean().default(false).describe(\"Only return unread messages\"),\n orderBy: v\n .enum([\"receivedDateTime desc\", \"receivedDateTime asc\", \"subject\"])\n .default(\"receivedDateTime desc\")\n .describe(\"Sort order for representative messages\"),\n }))(),\n async execute({ folderId, limit, unreadOnly, orderBy }) {\n const messages = await listThreads({\n folderId,\n top: limit,\n filter: unreadOnly ? \"isRead eq false\" : undefined,\n orderBy,\n });\n\n return {\n threads: messages.map((message) => ({\n thread_id: message.conversationId,\n messageId: message.id,\n subject: message.subject,\n from: summarizeContact(message.from),\n preview: message.bodyPreview,\n receivedAt: message.receivedDateTime,\n isRead: message.isRead,\n hasAttachments: message.hasAttachments,\n importance: message.importance,\n webLink: message.webLink,\n })),\n };\n },\n});\n",
|
|
433
|
+
"tools/search-emails.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { searchEmails, summarizeContact, summarizeContacts } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"search-emails\",\n description:\n \"Search emails by query string. Searches across subject, body, sender, and recipients. Supports advanced search syntax.\",\n inputSchema: defineSchema((v) => v.object({\n query: v\n .string()\n .min(1)\n .describe(\"Search query (searches subject, body, from, to fields)\"),\n limit: v\n .number()\n .min(1)\n .max(50)\n .default(10)\n .describe(\"Maximum number of results to return\"),\n }))(),\n async execute({ query, limit }) {\n const messages = await searchEmails({ query, top: limit });\n\n return {\n totalResults: messages.length,\n emails: messages.map((msg) => ({\n id: msg.id,\n subject: msg.subject,\n from: summarizeContact(msg.from),\n to: summarizeContacts(msg.toRecipients),\n preview: msg.bodyPreview,\n receivedAt: msg.receivedDateTime,\n isRead: msg.isRead,\n hasAttachments: msg.hasAttachments,\n importance: msg.importance,\n webLink: msg.webLink,\n })),\n };\n },\n});\n",
|
|
431
434
|
"tools/send-email.ts": "import { tool } from \"veryfront/tool\";\nimport { defineSchema } from \"veryfront/schemas\";\nimport { sendEmail } from \"../../lib/outlook-client.ts\";\n\nexport default tool({\n id: \"send-email\",\n description:\n \"Send a new email message. Supports multiple recipients, CC, BCC, and importance levels.\",\n inputSchema: defineSchema((v) => v.object({\n to: v.array(v.string().email()).min(1).describe(\"Email addresses of recipients\"),\n subject: v.string().min(1).describe(\"Email subject line\"),\n body: v.string().min(1).describe(\"Email body content\"),\n cc: v.array(v.string().email()).optional().describe(\"Email addresses to CC\"),\n bcc: v.array(v.string().email()).optional().describe(\"Email addresses to BCC\"),\n importance: v\n .enum([\"low\", \"normal\", \"high\"])\n .default(\"normal\")\n .describe(\"Email importance level\"),\n bodyType: v\n .enum([\"text\", \"html\"])\n .default(\"text\")\n .describe(\"Body content type (text or html)\"),\n }))(),\n async execute({ to, subject, body, cc, bcc, importance, bodyType }) {\n await sendEmail({ to, subject, body, cc, bcc, importance, bodyType });\n\n return {\n success: true,\n message: `Email sent successfully to ${to.join(\", \")}`,\n recipients: { to, cc, bcc },\n };\n },\n});\n"
|
|
432
435
|
}
|
|
433
436
|
},
|
package/esm/deno.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_data.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/_data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"_data.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/_data.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAAiB,EAsk3DzC,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAyZxC,CAAC"}
|
|
@@ -37276,6 +37276,106 @@ export const connectors = [
|
|
|
37276
37276
|
},
|
|
37277
37277
|
},
|
|
37278
37278
|
},
|
|
37279
|
+
}, {
|
|
37280
|
+
"id": "list_threads",
|
|
37281
|
+
"name": "List Threads",
|
|
37282
|
+
"description": "List recent Outlook conversation threads for request-desk triage. Returns one representative message per conversationId; pass that value as thread_id to the template get-thread tool or use it in get_thread's filter.",
|
|
37283
|
+
"requiresWrite": false,
|
|
37284
|
+
"endpoint": {
|
|
37285
|
+
"method": "GET",
|
|
37286
|
+
"url": "https://graph.microsoft.com/v1.0/me/mailFolders/{folderId}/messages",
|
|
37287
|
+
"params": {
|
|
37288
|
+
"folderId": {
|
|
37289
|
+
"type": "string",
|
|
37290
|
+
"in": "path",
|
|
37291
|
+
"description": "Mail folder ID or well-known folder name",
|
|
37292
|
+
"required": true,
|
|
37293
|
+
"default": "inbox",
|
|
37294
|
+
},
|
|
37295
|
+
"$top": {
|
|
37296
|
+
"type": "number",
|
|
37297
|
+
"in": "query",
|
|
37298
|
+
"description": "Maximum recent messages to inspect as thread representatives",
|
|
37299
|
+
"default": 25,
|
|
37300
|
+
},
|
|
37301
|
+
"$select": {
|
|
37302
|
+
"type": "string",
|
|
37303
|
+
"in": "query",
|
|
37304
|
+
"description": "Comma-separated message fields to return",
|
|
37305
|
+
"default": "id,conversationId,internetMessageId,subject,from,sender,toRecipients,ccRecipients,receivedDateTime,sentDateTime,bodyPreview,categories,isRead,importance,hasAttachments,webLink,flag",
|
|
37306
|
+
},
|
|
37307
|
+
"$orderby": {
|
|
37308
|
+
"type": "string",
|
|
37309
|
+
"in": "query",
|
|
37310
|
+
"description": "Sort expression",
|
|
37311
|
+
"default": "receivedDateTime desc",
|
|
37312
|
+
},
|
|
37313
|
+
"$filter": {
|
|
37314
|
+
"type": "string",
|
|
37315
|
+
"in": "query",
|
|
37316
|
+
"description": "Optional OData filter expression, e.g. isRead eq false",
|
|
37317
|
+
},
|
|
37318
|
+
},
|
|
37319
|
+
"response": {
|
|
37320
|
+
"transform": "value",
|
|
37321
|
+
"historicalSummary": {
|
|
37322
|
+
"collectionKeys": ["value", "data", "messages"],
|
|
37323
|
+
"collectionName": "threads",
|
|
37324
|
+
"itemFields": [
|
|
37325
|
+
{ "name": "id" },
|
|
37326
|
+
{ "name": "conversationId" },
|
|
37327
|
+
{ "name": "internetMessageId" },
|
|
37328
|
+
{ "name": "from", "kind": "contact" },
|
|
37329
|
+
{ "name": "sender", "kind": "contact" },
|
|
37330
|
+
{ "name": "toRecipients", "kind": "contact-array" },
|
|
37331
|
+
{ "name": "ccRecipients", "kind": "contact-array" },
|
|
37332
|
+
{ "name": "subject" },
|
|
37333
|
+
{ "name": "receivedDateTime" },
|
|
37334
|
+
{ "name": "sentDateTime" },
|
|
37335
|
+
{ "name": "bodyPreview", "maxLength": 300 },
|
|
37336
|
+
{ "name": "categories", "kind": "string-array" },
|
|
37337
|
+
{ "name": "isRead" },
|
|
37338
|
+
{ "name": "importance" },
|
|
37339
|
+
{ "name": "hasAttachments" },
|
|
37340
|
+
{ "name": "webLink" },
|
|
37341
|
+
{ "name": "flag", "kind": "object" },
|
|
37342
|
+
],
|
|
37343
|
+
"outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }],
|
|
37344
|
+
"omitted": "large email bodies and provider-specific message fields",
|
|
37345
|
+
},
|
|
37346
|
+
},
|
|
37347
|
+
},
|
|
37348
|
+
}, {
|
|
37349
|
+
"id": "get_thread",
|
|
37350
|
+
"name": "Get Thread",
|
|
37351
|
+
"description": "Get Outlook messages in a conversation. Pass a Microsoft Graph OData filter such as conversationId eq 'AAQk...'.",
|
|
37352
|
+
"requiresWrite": false,
|
|
37353
|
+
"endpoint": {
|
|
37354
|
+
"method": "GET",
|
|
37355
|
+
"url": "https://graph.microsoft.com/v1.0/me/messages",
|
|
37356
|
+
"params": {
|
|
37357
|
+
"filter": {
|
|
37358
|
+
"type": "string",
|
|
37359
|
+
"in": "query",
|
|
37360
|
+
"description": "Microsoft Graph OData filter, for example conversationId eq 'AAQk...'. Escape embedded single quotes by doubling them.",
|
|
37361
|
+
"required": true,
|
|
37362
|
+
"queryName": "$filter",
|
|
37363
|
+
},
|
|
37364
|
+
"$top": {
|
|
37365
|
+
"type": "number",
|
|
37366
|
+
"in": "query",
|
|
37367
|
+
"description": "Maximum messages to return",
|
|
37368
|
+
"default": 25,
|
|
37369
|
+
},
|
|
37370
|
+
"$select": {
|
|
37371
|
+
"type": "string",
|
|
37372
|
+
"in": "query",
|
|
37373
|
+
"description": "Comma-separated message fields to return",
|
|
37374
|
+
"default": "id,conversationId,internetMessageId,subject,body,bodyPreview,from,sender,toRecipients,ccRecipients,bccRecipients,replyTo,receivedDateTime,sentDateTime,categories,isRead,importance,hasAttachments,webLink,flag",
|
|
37375
|
+
},
|
|
37376
|
+
},
|
|
37377
|
+
"response": { "transform": "value" },
|
|
37378
|
+
},
|
|
37279
37379
|
}, {
|
|
37280
37380
|
"id": "list_shared_mailbox_emails",
|
|
37281
37381
|
"name": "List Shared Mailbox Emails",
|
|
@@ -47094,6 +47194,9 @@ export const connectors = [
|
|
|
47094
47194
|
"requiredApis": [{
|
|
47095
47195
|
"name": "ServiceNow Table API",
|
|
47096
47196
|
"enableUrl": "https://developer.servicenow.com/dev.do",
|
|
47197
|
+
}, {
|
|
47198
|
+
"name": "ServiceNow Service Catalog API",
|
|
47199
|
+
"enableUrl": "https://www.servicenow.com/docs/r/api-reference/rest-apis/c_ServiceCatalogAPI.html",
|
|
47097
47200
|
}],
|
|
47098
47201
|
"keyName": "SERVICENOW_ACCESS_TOKEN",
|
|
47099
47202
|
"headerName": "Authorization",
|
|
@@ -47243,6 +47346,346 @@ export const connectors = [
|
|
|
47243
47346
|
},
|
|
47244
47347
|
"response": { "transform": "result" },
|
|
47245
47348
|
},
|
|
47349
|
+
}, {
|
|
47350
|
+
"id": "list_interactions",
|
|
47351
|
+
"name": "List Interactions",
|
|
47352
|
+
"description": "List ServiceNow Interaction records used for request-desk intake and routing",
|
|
47353
|
+
"requiresWrite": false,
|
|
47354
|
+
"endpoint": {
|
|
47355
|
+
"method": "GET",
|
|
47356
|
+
"url": "https://{instanceHost}/api/now/v1/table/interaction",
|
|
47357
|
+
"params": {
|
|
47358
|
+
"instanceHost": {
|
|
47359
|
+
"type": "string",
|
|
47360
|
+
"in": "path",
|
|
47361
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47362
|
+
"required": true,
|
|
47363
|
+
},
|
|
47364
|
+
"sysparm_query": {
|
|
47365
|
+
"type": "string",
|
|
47366
|
+
"in": "query",
|
|
47367
|
+
"description": "Encoded ServiceNow query",
|
|
47368
|
+
"default": "active=true^ORDERBYDESCsys_updated_on",
|
|
47369
|
+
},
|
|
47370
|
+
"sysparm_limit": {
|
|
47371
|
+
"type": "number",
|
|
47372
|
+
"in": "query",
|
|
47373
|
+
"description": "Maximum interactions to return",
|
|
47374
|
+
"default": 25,
|
|
47375
|
+
},
|
|
47376
|
+
"sysparm_fields": {
|
|
47377
|
+
"type": "string",
|
|
47378
|
+
"in": "query",
|
|
47379
|
+
"description": "Comma-separated interaction fields to return",
|
|
47380
|
+
"default": "sys_id,number,short_description,description,state,type,opened_for,opened_by,parent,sys_created_on,sys_updated_on",
|
|
47381
|
+
},
|
|
47382
|
+
},
|
|
47383
|
+
"response": { "transform": "result" },
|
|
47384
|
+
},
|
|
47385
|
+
}, {
|
|
47386
|
+
"id": "get_interaction",
|
|
47387
|
+
"name": "Get Interaction",
|
|
47388
|
+
"description": "Get details of a specific ServiceNow Interaction record",
|
|
47389
|
+
"requiresWrite": false,
|
|
47390
|
+
"endpoint": {
|
|
47391
|
+
"method": "GET",
|
|
47392
|
+
"url": "https://{instanceHost}/api/now/v1/table/interaction/{sysId}",
|
|
47393
|
+
"params": {
|
|
47394
|
+
"instanceHost": {
|
|
47395
|
+
"type": "string",
|
|
47396
|
+
"in": "path",
|
|
47397
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47398
|
+
"required": true,
|
|
47399
|
+
},
|
|
47400
|
+
"sysId": {
|
|
47401
|
+
"type": "string",
|
|
47402
|
+
"in": "path",
|
|
47403
|
+
"description": "Interaction sys_id",
|
|
47404
|
+
"required": true,
|
|
47405
|
+
},
|
|
47406
|
+
"sysparm_display_value": {
|
|
47407
|
+
"type": "string",
|
|
47408
|
+
"in": "query",
|
|
47409
|
+
"description": "Display value mode",
|
|
47410
|
+
"default": "all",
|
|
47411
|
+
},
|
|
47412
|
+
},
|
|
47413
|
+
"response": { "transform": "result" },
|
|
47414
|
+
},
|
|
47415
|
+
}, {
|
|
47416
|
+
"id": "create_interaction",
|
|
47417
|
+
"name": "Create Interaction",
|
|
47418
|
+
"description": "Create a ServiceNow Interaction intake record before converting or linking it to an incident or request",
|
|
47419
|
+
"requiresWrite": true,
|
|
47420
|
+
"endpoint": {
|
|
47421
|
+
"method": "POST",
|
|
47422
|
+
"url": "https://{instanceHost}/api/now/v1/table/interaction",
|
|
47423
|
+
"params": {
|
|
47424
|
+
"instanceHost": {
|
|
47425
|
+
"type": "string",
|
|
47426
|
+
"in": "path",
|
|
47427
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47428
|
+
"required": true,
|
|
47429
|
+
},
|
|
47430
|
+
},
|
|
47431
|
+
"body": {
|
|
47432
|
+
"short_description": {
|
|
47433
|
+
"type": "string",
|
|
47434
|
+
"description": "Interaction short description",
|
|
47435
|
+
"required": true,
|
|
47436
|
+
},
|
|
47437
|
+
"description": { "type": "string", "description": "Interaction details" },
|
|
47438
|
+
"opened_for": { "type": "string", "description": "Requester sys_id or display value" },
|
|
47439
|
+
"opened_by": { "type": "string", "description": "Opener sys_id or display value" },
|
|
47440
|
+
"type": {
|
|
47441
|
+
"type": "string",
|
|
47442
|
+
"description": "Interaction channel or type, for example email, phone, chat, or portal",
|
|
47443
|
+
},
|
|
47444
|
+
"parent": { "type": "string", "description": "Optional parent record sys_id" },
|
|
47445
|
+
"work_notes": { "type": "string", "description": "Internal work notes" },
|
|
47446
|
+
},
|
|
47447
|
+
"response": { "transform": "result" },
|
|
47448
|
+
},
|
|
47449
|
+
}, {
|
|
47450
|
+
"id": "update_interaction",
|
|
47451
|
+
"name": "Update Interaction",
|
|
47452
|
+
"description": "Update an existing ServiceNow Interaction with routing status, parent record, notes, or comments",
|
|
47453
|
+
"requiresWrite": true,
|
|
47454
|
+
"endpoint": {
|
|
47455
|
+
"method": "PATCH",
|
|
47456
|
+
"url": "https://{instanceHost}/api/now/v1/table/interaction/{sysId}",
|
|
47457
|
+
"params": {
|
|
47458
|
+
"instanceHost": {
|
|
47459
|
+
"type": "string",
|
|
47460
|
+
"in": "path",
|
|
47461
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47462
|
+
"required": true,
|
|
47463
|
+
},
|
|
47464
|
+
"sysId": {
|
|
47465
|
+
"type": "string",
|
|
47466
|
+
"in": "path",
|
|
47467
|
+
"description": "Interaction sys_id",
|
|
47468
|
+
"required": true,
|
|
47469
|
+
},
|
|
47470
|
+
},
|
|
47471
|
+
"body": {
|
|
47472
|
+
"state": { "type": "string", "description": "Interaction state" },
|
|
47473
|
+
"parent": { "type": "string", "description": "Parent incident, request, or task sys_id" },
|
|
47474
|
+
"short_description": { "type": "string", "description": "Updated short description" },
|
|
47475
|
+
"description": { "type": "string", "description": "Updated interaction details" },
|
|
47476
|
+
"work_notes": { "type": "string", "description": "Internal work notes" },
|
|
47477
|
+
"comments": { "type": "string", "description": "Customer-visible comments" },
|
|
47478
|
+
},
|
|
47479
|
+
"response": { "transform": "result" },
|
|
47480
|
+
},
|
|
47481
|
+
}, {
|
|
47482
|
+
"id": "list_requests",
|
|
47483
|
+
"name": "List Requests",
|
|
47484
|
+
"description": "List ServiceNow service request records from the sc_request table",
|
|
47485
|
+
"requiresWrite": false,
|
|
47486
|
+
"endpoint": {
|
|
47487
|
+
"method": "GET",
|
|
47488
|
+
"url": "https://{instanceHost}/api/now/v1/table/sc_request",
|
|
47489
|
+
"params": {
|
|
47490
|
+
"instanceHost": {
|
|
47491
|
+
"type": "string",
|
|
47492
|
+
"in": "path",
|
|
47493
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47494
|
+
"required": true,
|
|
47495
|
+
},
|
|
47496
|
+
"sysparm_query": {
|
|
47497
|
+
"type": "string",
|
|
47498
|
+
"in": "query",
|
|
47499
|
+
"description": "Encoded ServiceNow query",
|
|
47500
|
+
"default": "ORDERBYDESCsys_updated_on",
|
|
47501
|
+
},
|
|
47502
|
+
"sysparm_limit": {
|
|
47503
|
+
"type": "number",
|
|
47504
|
+
"in": "query",
|
|
47505
|
+
"description": "Maximum requests to return",
|
|
47506
|
+
"default": 25,
|
|
47507
|
+
},
|
|
47508
|
+
"sysparm_fields": {
|
|
47509
|
+
"type": "string",
|
|
47510
|
+
"in": "query",
|
|
47511
|
+
"description": "Comma-separated request fields to return",
|
|
47512
|
+
"default": "sys_id,number,short_description,description,request_state,stage,approval,requested_for,opened_by,assignment_group,sys_created_on,sys_updated_on",
|
|
47513
|
+
},
|
|
47514
|
+
},
|
|
47515
|
+
"response": { "transform": "result" },
|
|
47516
|
+
},
|
|
47517
|
+
}, {
|
|
47518
|
+
"id": "get_request",
|
|
47519
|
+
"name": "Get Request",
|
|
47520
|
+
"description": "Get details of a specific ServiceNow service request",
|
|
47521
|
+
"requiresWrite": false,
|
|
47522
|
+
"endpoint": {
|
|
47523
|
+
"method": "GET",
|
|
47524
|
+
"url": "https://{instanceHost}/api/now/v1/table/sc_request/{sysId}",
|
|
47525
|
+
"params": {
|
|
47526
|
+
"instanceHost": {
|
|
47527
|
+
"type": "string",
|
|
47528
|
+
"in": "path",
|
|
47529
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47530
|
+
"required": true,
|
|
47531
|
+
},
|
|
47532
|
+
"sysId": {
|
|
47533
|
+
"type": "string",
|
|
47534
|
+
"in": "path",
|
|
47535
|
+
"description": "Request sys_id",
|
|
47536
|
+
"required": true,
|
|
47537
|
+
},
|
|
47538
|
+
"sysparm_display_value": {
|
|
47539
|
+
"type": "string",
|
|
47540
|
+
"in": "query",
|
|
47541
|
+
"description": "Display value mode",
|
|
47542
|
+
"default": "all",
|
|
47543
|
+
},
|
|
47544
|
+
},
|
|
47545
|
+
"response": { "transform": "result" },
|
|
47546
|
+
},
|
|
47547
|
+
}, {
|
|
47548
|
+
"id": "create_request",
|
|
47549
|
+
"name": "Create Request",
|
|
47550
|
+
"description": "Order a Service Catalog item to create a workflow-backed ServiceNow request",
|
|
47551
|
+
"requiresWrite": true,
|
|
47552
|
+
"endpoint": {
|
|
47553
|
+
"method": "POST",
|
|
47554
|
+
"url": "https://{instanceHost}/api/sn_sc/v1/servicecatalog/items/{catalogItemSysId}/order_now",
|
|
47555
|
+
"params": {
|
|
47556
|
+
"instanceHost": {
|
|
47557
|
+
"type": "string",
|
|
47558
|
+
"in": "path",
|
|
47559
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47560
|
+
"required": true,
|
|
47561
|
+
},
|
|
47562
|
+
"catalogItemSysId": {
|
|
47563
|
+
"type": "string",
|
|
47564
|
+
"in": "path",
|
|
47565
|
+
"description": "Service Catalog item sys_id to order",
|
|
47566
|
+
"required": true,
|
|
47567
|
+
},
|
|
47568
|
+
},
|
|
47569
|
+
"body": {
|
|
47570
|
+
"sysparm_quantity": {
|
|
47571
|
+
"type": "number",
|
|
47572
|
+
"description": "Quantity to order",
|
|
47573
|
+
"default": 1,
|
|
47574
|
+
},
|
|
47575
|
+
"variables": {
|
|
47576
|
+
"type": "object",
|
|
47577
|
+
"description": "Catalog item variables, for example requested_for, business_justification, or short_description",
|
|
47578
|
+
},
|
|
47579
|
+
},
|
|
47580
|
+
"response": { "transform": "result" },
|
|
47581
|
+
},
|
|
47582
|
+
}, {
|
|
47583
|
+
"id": "list_request_items",
|
|
47584
|
+
"name": "List Request Items",
|
|
47585
|
+
"description": "List ServiceNow requested item records from the sc_req_item table",
|
|
47586
|
+
"requiresWrite": false,
|
|
47587
|
+
"endpoint": {
|
|
47588
|
+
"method": "GET",
|
|
47589
|
+
"url": "https://{instanceHost}/api/now/v1/table/sc_req_item",
|
|
47590
|
+
"params": {
|
|
47591
|
+
"instanceHost": {
|
|
47592
|
+
"type": "string",
|
|
47593
|
+
"in": "path",
|
|
47594
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47595
|
+
"required": true,
|
|
47596
|
+
},
|
|
47597
|
+
"sysparm_query": {
|
|
47598
|
+
"type": "string",
|
|
47599
|
+
"in": "query",
|
|
47600
|
+
"description": "Encoded ServiceNow query",
|
|
47601
|
+
"default": "ORDERBYDESCsys_updated_on",
|
|
47602
|
+
},
|
|
47603
|
+
"sysparm_limit": {
|
|
47604
|
+
"type": "number",
|
|
47605
|
+
"in": "query",
|
|
47606
|
+
"description": "Maximum requested items to return",
|
|
47607
|
+
"default": 25,
|
|
47608
|
+
},
|
|
47609
|
+
"sysparm_fields": {
|
|
47610
|
+
"type": "string",
|
|
47611
|
+
"in": "query",
|
|
47612
|
+
"description": "Comma-separated requested item fields to return",
|
|
47613
|
+
"default": "sys_id,number,request,cat_item,short_description,description,state,stage,approval,requested_for,assignment_group,sys_created_on,sys_updated_on",
|
|
47614
|
+
},
|
|
47615
|
+
},
|
|
47616
|
+
"response": { "transform": "result" },
|
|
47617
|
+
},
|
|
47618
|
+
}, {
|
|
47619
|
+
"id": "get_request_item",
|
|
47620
|
+
"name": "Get Request Item",
|
|
47621
|
+
"description": "Get details of a specific ServiceNow requested item",
|
|
47622
|
+
"requiresWrite": false,
|
|
47623
|
+
"endpoint": {
|
|
47624
|
+
"method": "GET",
|
|
47625
|
+
"url": "https://{instanceHost}/api/now/v1/table/sc_req_item/{sysId}",
|
|
47626
|
+
"params": {
|
|
47627
|
+
"instanceHost": {
|
|
47628
|
+
"type": "string",
|
|
47629
|
+
"in": "path",
|
|
47630
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47631
|
+
"required": true,
|
|
47632
|
+
},
|
|
47633
|
+
"sysId": {
|
|
47634
|
+
"type": "string",
|
|
47635
|
+
"in": "path",
|
|
47636
|
+
"description": "Requested item sys_id",
|
|
47637
|
+
"required": true,
|
|
47638
|
+
},
|
|
47639
|
+
"sysparm_display_value": {
|
|
47640
|
+
"type": "string",
|
|
47641
|
+
"in": "query",
|
|
47642
|
+
"description": "Display value mode",
|
|
47643
|
+
"default": "all",
|
|
47644
|
+
},
|
|
47645
|
+
},
|
|
47646
|
+
"response": { "transform": "result" },
|
|
47647
|
+
},
|
|
47648
|
+
}, {
|
|
47649
|
+
"id": "create_request_item",
|
|
47650
|
+
"name": "Create Request Item",
|
|
47651
|
+
"description": "Create a requested item table record when direct sc_req_item writes are allowed",
|
|
47652
|
+
"requiresWrite": true,
|
|
47653
|
+
"endpoint": {
|
|
47654
|
+
"method": "POST",
|
|
47655
|
+
"url": "https://{instanceHost}/api/now/v1/table/sc_req_item",
|
|
47656
|
+
"params": {
|
|
47657
|
+
"instanceHost": {
|
|
47658
|
+
"type": "string",
|
|
47659
|
+
"in": "path",
|
|
47660
|
+
"description": "ServiceNow instance host, for example example.service-now.com",
|
|
47661
|
+
"required": true,
|
|
47662
|
+
},
|
|
47663
|
+
},
|
|
47664
|
+
"body": {
|
|
47665
|
+
"request": {
|
|
47666
|
+
"type": "string",
|
|
47667
|
+
"description": "Parent sc_request sys_id",
|
|
47668
|
+
"required": true,
|
|
47669
|
+
},
|
|
47670
|
+
"cat_item": { "type": "string", "description": "Catalog item sys_id" },
|
|
47671
|
+
"short_description": {
|
|
47672
|
+
"type": "string",
|
|
47673
|
+
"description": "Requested item short description",
|
|
47674
|
+
"required": true,
|
|
47675
|
+
},
|
|
47676
|
+
"description": { "type": "string", "description": "Requested item details" },
|
|
47677
|
+
"requested_for": { "type": "string", "description": "Requester sys_id or display value" },
|
|
47678
|
+
"assignment_group": {
|
|
47679
|
+
"type": "string",
|
|
47680
|
+
"description": "Assignment group sys_id or display value",
|
|
47681
|
+
},
|
|
47682
|
+
"state": { "type": "string", "description": "Requested item state" },
|
|
47683
|
+
"stage": { "type": "string", "description": "Requested item stage" },
|
|
47684
|
+
"work_notes": { "type": "string", "description": "Internal work notes" },
|
|
47685
|
+
"comments": { "type": "string", "description": "Customer-visible comments" },
|
|
47686
|
+
},
|
|
47687
|
+
"response": { "transform": "result" },
|
|
47688
|
+
},
|
|
47246
47689
|
}, {
|
|
47247
47690
|
"id": "search_knowledge",
|
|
47248
47691
|
"name": "Search Knowledge Base",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_tool_summaries.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/_tool_summaries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAExE,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,oCAAoC,
|
|
1
|
+
{"version":3,"file":"_tool_summaries.d.ts","sourceRoot":"","sources":["../../../src/src/integrations/_tool_summaries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAExE,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,oCAAoC,CAomHxF,CAAC"}
|
|
@@ -2654,6 +2654,31 @@ export const historicalToolSummaries = {
|
|
|
2654
2654
|
"outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }],
|
|
2655
2655
|
"omitted": "large email bodies and provider-specific message fields",
|
|
2656
2656
|
},
|
|
2657
|
+
"outlook__list_threads": {
|
|
2658
|
+
"collectionKeys": ["value", "data", "messages"],
|
|
2659
|
+
"collectionName": "threads",
|
|
2660
|
+
"itemFields": [
|
|
2661
|
+
{ "name": "id" },
|
|
2662
|
+
{ "name": "conversationId" },
|
|
2663
|
+
{ "name": "internetMessageId" },
|
|
2664
|
+
{ "name": "from", "kind": "contact" },
|
|
2665
|
+
{ "name": "sender", "kind": "contact" },
|
|
2666
|
+
{ "name": "toRecipients", "kind": "contact-array" },
|
|
2667
|
+
{ "name": "ccRecipients", "kind": "contact-array" },
|
|
2668
|
+
{ "name": "subject" },
|
|
2669
|
+
{ "name": "receivedDateTime" },
|
|
2670
|
+
{ "name": "sentDateTime" },
|
|
2671
|
+
{ "name": "bodyPreview", "maxLength": 300 },
|
|
2672
|
+
{ "name": "categories", "kind": "string-array" },
|
|
2673
|
+
{ "name": "isRead" },
|
|
2674
|
+
{ "name": "importance" },
|
|
2675
|
+
{ "name": "hasAttachments" },
|
|
2676
|
+
{ "name": "webLink" },
|
|
2677
|
+
{ "name": "flag", "kind": "object" },
|
|
2678
|
+
],
|
|
2679
|
+
"outputFields": [{ "name": "@odata.nextLink" }, { "name": "@odata.count" }],
|
|
2680
|
+
"omitted": "large email bodies and provider-specific message fields",
|
|
2681
|
+
},
|
|
2657
2682
|
"outlook__search_emails": {
|
|
2658
2683
|
"collectionKeys": ["value", "data", "messages"],
|
|
2659
2684
|
"collectionName": "messages",
|