@meetkai/mka1 0.49.13 → 0.49.15
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/README.md +3 -3
- package/bin/mcp-server.js +17 -9
- package/bin/mcp-server.js.map +12 -12
- package/dist/commonjs/funcs/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/commonjs/funcs/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/commonjs/funcs/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
- package/dist/commonjs/funcs/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/commonjs/mcp-server/tools/agentConnectorsCreateAgentConnector.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
- package/dist/commonjs/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js.map +1 -1
- package/dist/commonjs/models/components/createwhatsappagentconnectorrequest.d.ts +4 -1
- package/dist/commonjs/models/components/createwhatsappagentconnectorrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createwhatsappagentconnectorrequest.js.map +1 -1
- package/dist/commonjs/models/components/mcptoolcall.d.ts +2 -0
- package/dist/commonjs/models/components/mcptoolcall.d.ts.map +1 -1
- package/dist/commonjs/models/components/mcptoolcall.js +4 -0
- package/dist/commonjs/models/components/mcptoolcall.js.map +1 -1
- package/dist/commonjs/models/components/mcptoolcallwithid.d.ts +2 -0
- package/dist/commonjs/models/components/mcptoolcallwithid.d.ts.map +1 -1
- package/dist/commonjs/models/components/mcptoolcallwithid.js +4 -0
- package/dist/commonjs/models/components/mcptoolcallwithid.js.map +1 -1
- package/dist/commonjs/react-query/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/commonjs/react-query/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/commonjs/react-query/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
- package/dist/commonjs/react-query/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
- package/dist/commonjs/sdk/agentconnectors.d.ts +3 -3
- package/dist/commonjs/sdk/agentconnectors.js +3 -3
- package/dist/esm/funcs/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/esm/funcs/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/esm/funcs/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
- package/dist/esm/funcs/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/esm/mcp-server/tools/agentConnectorsCreateAgentConnector.js.map +1 -1
- package/dist/esm/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
- package/dist/esm/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js.map +1 -1
- package/dist/esm/models/components/createwhatsappagentconnectorrequest.d.ts +4 -1
- package/dist/esm/models/components/createwhatsappagentconnectorrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createwhatsappagentconnectorrequest.js.map +1 -1
- package/dist/esm/models/components/mcptoolcall.d.ts +2 -0
- package/dist/esm/models/components/mcptoolcall.d.ts.map +1 -1
- package/dist/esm/models/components/mcptoolcall.js +4 -0
- package/dist/esm/models/components/mcptoolcall.js.map +1 -1
- package/dist/esm/models/components/mcptoolcallwithid.d.ts +2 -0
- package/dist/esm/models/components/mcptoolcallwithid.d.ts.map +1 -1
- package/dist/esm/models/components/mcptoolcallwithid.js +4 -0
- package/dist/esm/models/components/mcptoolcallwithid.js.map +1 -1
- package/dist/esm/react-query/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/esm/react-query/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/esm/react-query/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
- package/dist/esm/react-query/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
- package/dist/esm/sdk/agentconnectors.d.ts +3 -3
- package/dist/esm/sdk/agentconnectors.js +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/agentConnectorsCreateAgentConnector.ts +1 -1
- package/src/funcs/agentConnectorsSetupWhatsAppAppWebhook.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts +1 -1
- package/src/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.ts +2 -2
- package/src/models/components/createwhatsappagentconnectorrequest.ts +4 -1
- package/src/models/components/mcptoolcall.ts +6 -0
- package/src/models/components/mcptoolcallwithid.ts +6 -0
- package/src/react-query/agentConnectorsCreateAgentConnector.ts +1 -1
- package/src/react-query/agentConnectorsSetupWhatsAppAppWebhook.ts +2 -2
- package/src/sdk/agentconnectors.ts +3 -3
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Create a connector
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
16
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
17
17
|
*/
|
|
18
18
|
export declare function agentConnectorsCreateAgentConnector(client: SDKCore, request: operations.CreateAgentConnectorRequest, options?: RequestOptions): APIPromise<Result<components.AgentConnector, errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=agentConnectorsCreateAgentConnector.d.ts.map
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* Create a connector
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
55
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
56
56
|
*/
|
|
57
57
|
function agentConnectorsCreateAgentConnector(client, request, options) {
|
|
58
58
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Set up a WhatsApp app webhook
|
|
12
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
15
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
16
16
|
*/
|
|
17
17
|
export declare function agentConnectorsSetupWhatsAppAppWebhook(client: SDKCore, request: operations.SetupWhatsAppAppWebhookRequest, options?: RequestOptions): APIPromise<Result<operations.SetupWhatsAppAppWebhookResponse, errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=agentConnectorsSetupWhatsAppAppWebhook.d.ts.map
|
|
@@ -48,10 +48,10 @@ const errors = __importStar(require("../models/errors/index.js"));
|
|
|
48
48
|
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
49
|
const async_js_1 = require("../types/async.js");
|
|
50
50
|
/**
|
|
51
|
-
* Set up a WhatsApp app webhook
|
|
51
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
54
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
55
55
|
*/
|
|
56
56
|
function agentConnectorsSetupWhatsAppAppWebhook(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.49.
|
|
35
|
-
readonly genVersion: "2.918.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.49.
|
|
34
|
+
readonly sdkVersion: "0.49.15";
|
|
35
|
+
readonly genVersion: "2.918.4";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.49.15 2.918.4 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "1.1.0",
|
|
38
|
-
sdkVersion: "0.49.
|
|
39
|
-
genVersion: "2.918.
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.49.
|
|
38
|
+
sdkVersion: "0.49.15",
|
|
39
|
+
genVersion: "2.918.4",
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.49.15 2.918.4 1.1.0 @meetkai/mka1",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.49.
|
|
25
|
+
currentVersion: "0.49.15",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -334,7 +334,7 @@ const usageSandbox_js_1 = require("./tools/usageSandbox.js");
|
|
|
334
334
|
function createMCPServer(deps) {
|
|
335
335
|
const server = new mcp_js_1.McpServer({
|
|
336
336
|
name: "SDK",
|
|
337
|
-
version: "0.49.
|
|
337
|
+
version: "0.49.15",
|
|
338
338
|
});
|
|
339
339
|
const client = new core_js_1.SDKCore({
|
|
340
340
|
bearerAuth: deps.bearerAuth,
|
|
@@ -47,7 +47,7 @@ exports.tool$agentConnectorsCreateAgentConnector = {
|
|
|
47
47
|
name: "agent-connectors-create-agent-connector",
|
|
48
48
|
description: `Create a connector
|
|
49
49
|
|
|
50
|
-
Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.`,
|
|
50
|
+
Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.`,
|
|
51
51
|
args,
|
|
52
52
|
tool: async (client, args, ctx) => {
|
|
53
53
|
const [result, apiCall] = await (0, agentConnectorsCreateAgentConnector_js_1.agentConnectorsCreateAgentConnector)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentConnectorsCreateAgentConnector.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+GAAyG;AACzG,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC;CAC9D,CAAC;AAEW,QAAA,wCAAwC,GAEjD;IACF,IAAI,EAAE,yCAAyC;IAC/C,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"agentConnectorsCreateAgentConnector.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+GAAyG;AACzG,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC;CAC9D,CAAC;AAEW,QAAA,wCAAwC,GAEjD;IACF,IAAI,EAAE,yCAAyC;IAC/C,WAAW,EAAE;;2/BAE4+B;IACz/B,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,4EAAmC,EACjE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -45,9 +45,9 @@ const args = {
|
|
|
45
45
|
};
|
|
46
46
|
exports.tool$agentConnectorsSetupWhatsAppAppWebhook = {
|
|
47
47
|
name: "agent-connectors-setup-whats-app-app-webhook",
|
|
48
|
-
description: `Set up a WhatsApp app webhook
|
|
48
|
+
description: `Set up a WhatsApp app webhook (Beta)
|
|
49
49
|
|
|
50
|
-
Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.`,
|
|
50
|
+
Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.`,
|
|
51
51
|
args,
|
|
52
52
|
tool: async (client, args, ctx) => {
|
|
53
53
|
const [result, apiCall] = await (0, agentConnectorsSetupWhatsAppAppWebhook_js_1.agentConnectorsSetupWhatsAppAppWebhook)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentConnectorsSetupWhatsAppAppWebhook.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qHAA+G;AAC/G,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,4CAA4C;CACjE,CAAC;AAEW,QAAA,2CAA2C,GAEpD;IACF,IAAI,EAAE,8CAA8C;IACpD,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"agentConnectorsSetupWhatsAppAppWebhook.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qHAA+G;AAC/G,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,4CAA4C;CACjE,CAAC;AAEW,QAAA,2CAA2C,GAEpD;IACF,IAAI,EAAE,8CAA8C;IACpD,WAAW,EAAE;;0SAE2R;IACxS,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,kFAAsC,EACpE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -31,9 +31,12 @@ export type CreateWhatsAppAgentConnectorRequestAccess = {
|
|
|
31
31
|
mode: CreateWhatsAppAgentConnectorRequestMode;
|
|
32
32
|
userIds: Array<string>;
|
|
33
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* Beta WhatsApp Cloud API connector configuration.
|
|
36
|
+
*/
|
|
34
37
|
export type CreateWhatsAppAgentConnectorRequest = {
|
|
35
38
|
/**
|
|
36
|
-
* WhatsApp Cloud API connector with text, image, document, and native thumbs-reaction feedback support.
|
|
39
|
+
* Beta WhatsApp Cloud API connector with text, image, document, and native thumbs-reaction feedback support.
|
|
37
40
|
*/
|
|
38
41
|
provider: "whatsapp";
|
|
39
42
|
name?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createwhatsappagentconnectorrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/createwhatsappagentconnectorrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,8CAA8C,GAAG;IAC3D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IAC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;AAED,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GAAG;IACzD,QAAQ,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,EAAE,uDAAuD,CAAC;IACrE,OAAO,EAAE,gBAAgB,CAAC;IAC1B,MAAM,EAAE,kDAAkD,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAWnC,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AACD,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
1
|
+
{"version":3,"file":"createwhatsappagentconnectorrequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/createwhatsappagentconnectorrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,8CAA8C,GAAG;IAC3D;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB,EAAE,MAAM,CAAC;IACl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AC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GAAG;IACzD,QAAQ,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,WAAW,EAAE,uDAAuD,CAAC;IACrE,OAAO,EAAE,gBAAgB,CAAC;IAC1B,MAAM,EAAE,kDAAkD,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAWnC,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AACD,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createwhatsappagentconnectorrequest.js","sourceRoot":"","sources":["../../../../src/models/components/createwhatsappagentconnectorrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createwhatsappagentconnectorrequest.js","sourceRoot":"","sources":["../../../../src/models/components/createwhatsappagentconnectorrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkGH,oHASC;AACD,wHAcC;AAuCD,sCAEC;AACD,0CAQC;AA6CD,0GASC;AACD,8GAcC;AA0CD,8FAQC;AACD,kGASC;AA3SD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAyBpC,QAAA,uCAAuC,GAAG;IACrD,SAAS,EAAE,WAAW;CACd,CAAC;AA8BX,gBAAgB;AACH,QAAA,4DAA4D,GAKnE,CA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9E,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,kDAAkD,GAI3D,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,WAAW,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvB,qEAA6D,CAC9D;IACD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8BAAsB,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAClB,gEAAwD,CACzD;CACF,CAAC,CAAC;AAEH,SAAgB,yCAAyC,CACvD,mCAAwE;IAExE,OAAO,IAAI,CAAC,SAAS,CACnB,0DAAkD,CAAC,KAAK,CACtD,mCAAmC,CACpC,CACF,CAAC;AACJ,CAAC;AACD,SAAgB,2CAA2C,CACzD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC"}
|
|
@@ -7,6 +7,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
7
7
|
export type MCPToolCall = {
|
|
8
8
|
type: "mcp_call";
|
|
9
9
|
id: string;
|
|
10
|
+
approvalRequestId?: string | null | undefined;
|
|
10
11
|
arguments: string;
|
|
11
12
|
name: string;
|
|
12
13
|
serverLabel: string;
|
|
@@ -19,6 +20,7 @@ export declare const MCPToolCall$inboundSchema: z.ZodType<MCPToolCall, z.ZodType
|
|
|
19
20
|
export type MCPToolCall$Outbound = {
|
|
20
21
|
type: "mcp_call";
|
|
21
22
|
id: string;
|
|
23
|
+
approval_request_id?: string | null | undefined;
|
|
22
24
|
arguments: string;
|
|
23
25
|
name: string;
|
|
24
26
|
server_label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcptoolcall.d.ts","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcall.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"mcptoolcall.d.ts","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcall.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,WAAW,CAeX,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,WAAW,EAAE,WAAW,GAAG,MAAM,CAElE;AACD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -46,6 +46,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
46
46
|
exports.MCPToolCall$inboundSchema = z.object({
|
|
47
47
|
type: z.literal("mcp_call"),
|
|
48
48
|
id: z.string(),
|
|
49
|
+
approval_request_id: z.nullable(z.string()).optional(),
|
|
49
50
|
arguments: z.string(),
|
|
50
51
|
name: z.string(),
|
|
51
52
|
server_label: z.string(),
|
|
@@ -53,6 +54,7 @@ exports.MCPToolCall$inboundSchema = z.object({
|
|
|
53
54
|
output: z.string().optional(),
|
|
54
55
|
}).transform((v) => {
|
|
55
56
|
return (0, primitives_js_1.remap)(v, {
|
|
57
|
+
"approval_request_id": "approvalRequestId",
|
|
56
58
|
"server_label": "serverLabel",
|
|
57
59
|
});
|
|
58
60
|
});
|
|
@@ -60,6 +62,7 @@ exports.MCPToolCall$inboundSchema = z.object({
|
|
|
60
62
|
exports.MCPToolCall$outboundSchema = z.object({
|
|
61
63
|
type: z.literal("mcp_call"),
|
|
62
64
|
id: z.string(),
|
|
65
|
+
approvalRequestId: z.nullable(z.string()).optional(),
|
|
63
66
|
arguments: z.string(),
|
|
64
67
|
name: z.string(),
|
|
65
68
|
serverLabel: z.string(),
|
|
@@ -67,6 +70,7 @@ exports.MCPToolCall$outboundSchema = z.object({
|
|
|
67
70
|
output: z.string().optional(),
|
|
68
71
|
}).transform((v) => {
|
|
69
72
|
return (0, primitives_js_1.remap)(v, {
|
|
73
|
+
approvalRequestId: "approval_request_id",
|
|
70
74
|
serverLabel: "server_label",
|
|
71
75
|
});
|
|
72
76
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcptoolcall.js","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcall.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"mcptoolcall.js","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcall.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EH,8CAEC;AACD,kDAQC;AApFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAkBjD,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC3B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAA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,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AACD,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -10,6 +10,7 @@ export type MCPToolCallWithId = {
|
|
|
10
10
|
* The unique ID of the message.
|
|
11
11
|
*/
|
|
12
12
|
id: string;
|
|
13
|
+
approvalRequestId?: string | null | undefined;
|
|
13
14
|
arguments: string;
|
|
14
15
|
name: string;
|
|
15
16
|
serverLabel: string;
|
|
@@ -32,6 +33,7 @@ export declare const MCPToolCallWithId$inboundSchema: z.ZodType<MCPToolCallWithI
|
|
|
32
33
|
export type MCPToolCallWithId$Outbound = {
|
|
33
34
|
type: "mcp_call";
|
|
34
35
|
id: string;
|
|
36
|
+
approval_request_id?: string | null | undefined;
|
|
35
37
|
arguments: string;
|
|
36
38
|
name: string;
|
|
37
39
|
server_label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcptoolcallwithid.d.ts","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcallwithid.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,C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,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAkBP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAkBjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AACD,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -46,6 +46,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
46
46
|
exports.MCPToolCallWithId$inboundSchema = z.object({
|
|
47
47
|
type: z.literal("mcp_call"),
|
|
48
48
|
id: z.string(),
|
|
49
|
+
approval_request_id: z.nullable(z.string()).optional(),
|
|
49
50
|
arguments: z.string(),
|
|
50
51
|
name: z.string(),
|
|
51
52
|
server_label: z.string(),
|
|
@@ -55,6 +56,7 @@ exports.MCPToolCallWithId$inboundSchema = z.object({
|
|
|
55
56
|
metadata: z.nullable(z.record(z.string())).optional(),
|
|
56
57
|
}).transform((v) => {
|
|
57
58
|
return (0, primitives_js_1.remap)(v, {
|
|
59
|
+
"approval_request_id": "approvalRequestId",
|
|
58
60
|
"server_label": "serverLabel",
|
|
59
61
|
"response_id": "responseId",
|
|
60
62
|
});
|
|
@@ -63,6 +65,7 @@ exports.MCPToolCallWithId$inboundSchema = z.object({
|
|
|
63
65
|
exports.MCPToolCallWithId$outboundSchema = z.object({
|
|
64
66
|
type: z.literal("mcp_call"),
|
|
65
67
|
id: z.string(),
|
|
68
|
+
approvalRequestId: z.nullable(z.string()).optional(),
|
|
66
69
|
arguments: z.string(),
|
|
67
70
|
name: z.string(),
|
|
68
71
|
serverLabel: z.string(),
|
|
@@ -72,6 +75,7 @@ exports.MCPToolCallWithId$outboundSchema = z.object({
|
|
|
72
75
|
metadata: z.nullable(z.record(z.string())).optional(),
|
|
73
76
|
}).transform((v) => {
|
|
74
77
|
return (0, primitives_js_1.remap)(v, {
|
|
78
|
+
approvalRequestId: "approval_request_id",
|
|
75
79
|
serverLabel: "server_label",
|
|
76
80
|
responseId: "response_id",
|
|
77
81
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcptoolcallwithid.js","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcallwithid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"mcptoolcallwithid.js","sourceRoot":"","sources":["../../../../src/models/components/mcptoolcallwithid.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FH,0DAMC;AACD,8DAQC;AA3GD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AA6BjD,gBAAgB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IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,qBAAqB;QACxC,WAAW,EAAE,cAAc;QAC3B,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AACD,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -19,7 +19,7 @@ export type AgentConnectorsCreateAgentConnectorMutationError = errors.ErrorEnvel
|
|
|
19
19
|
* Create a connector
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
22
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
23
23
|
*/
|
|
24
24
|
export declare function useAgentConnectorsCreateAgentConnectorMutation(options?: MutationHookOptions<AgentConnectorsCreateAgentConnectorMutationData, AgentConnectorsCreateAgentConnectorMutationError, AgentConnectorsCreateAgentConnectorMutationVariables>): UseMutationResult<AgentConnectorsCreateAgentConnectorMutationData, AgentConnectorsCreateAgentConnectorMutationError, AgentConnectorsCreateAgentConnectorMutationVariables>;
|
|
25
25
|
export declare function mutationKeyAgentConnectorsCreateAgentConnector(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Create a connector
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
18
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
19
19
|
*/
|
|
20
20
|
function useAgentConnectorsCreateAgentConnectorMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -15,10 +15,10 @@ export type AgentConnectorsSetupWhatsAppAppWebhookMutationVariables = {
|
|
|
15
15
|
export type AgentConnectorsSetupWhatsAppAppWebhookMutationData = operations.SetupWhatsAppAppWebhookResponse;
|
|
16
16
|
export type AgentConnectorsSetupWhatsAppAppWebhookMutationError = errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError;
|
|
17
17
|
/**
|
|
18
|
-
* Set up a WhatsApp app webhook
|
|
18
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
19
19
|
*
|
|
20
20
|
* @remarks
|
|
21
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
21
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
22
22
|
*/
|
|
23
23
|
export declare function useAgentConnectorsSetupWhatsAppAppWebhookMutation(options?: MutationHookOptions<AgentConnectorsSetupWhatsAppAppWebhookMutationData, AgentConnectorsSetupWhatsAppAppWebhookMutationError, AgentConnectorsSetupWhatsAppAppWebhookMutationVariables>): UseMutationResult<AgentConnectorsSetupWhatsAppAppWebhookMutationData, AgentConnectorsSetupWhatsAppAppWebhookMutationError, AgentConnectorsSetupWhatsAppAppWebhookMutationVariables>;
|
|
24
24
|
export declare function mutationKeyAgentConnectorsSetupWhatsAppAppWebhook(): MutationKey;
|
|
@@ -12,10 +12,10 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
12
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
13
|
const _context_js_1 = require("./_context.js");
|
|
14
14
|
/**
|
|
15
|
-
* Set up a WhatsApp app webhook
|
|
15
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
18
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
19
19
|
*/
|
|
20
20
|
function useAgentConnectorsSetupWhatsAppAppWebhookMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useSDKContext)();
|
|
@@ -13,14 +13,14 @@ export declare class AgentConnectors extends ClientSDK {
|
|
|
13
13
|
* Create a connector
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
16
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
17
17
|
*/
|
|
18
18
|
createAgentConnector(request: operations.CreateAgentConnectorRequest, options?: RequestOptions): Promise<components.AgentConnector>;
|
|
19
19
|
/**
|
|
20
|
-
* Set up a WhatsApp app webhook
|
|
20
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
23
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
24
24
|
*/
|
|
25
25
|
setupWhatsAppAppWebhook(request: operations.SetupWhatsAppAppWebhookRequest, options?: RequestOptions): Promise<operations.SetupWhatsAppAppWebhookResponse>;
|
|
26
26
|
/**
|
|
@@ -26,16 +26,16 @@ class AgentConnectors extends sdks_js_1.ClientSDK {
|
|
|
26
26
|
* Create a connector
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
29
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
30
30
|
*/
|
|
31
31
|
async createAgentConnector(request, options) {
|
|
32
32
|
return (0, fp_js_1.unwrapAsync)((0, agentConnectorsCreateAgentConnector_js_1.agentConnectorsCreateAgentConnector)(this, request, options));
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
* Set up a WhatsApp app webhook
|
|
35
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
38
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
39
39
|
*/
|
|
40
40
|
async setupWhatsAppAppWebhook(request, options) {
|
|
41
41
|
return (0, fp_js_1.unwrapAsync)((0, agentConnectorsSetupWhatsAppAppWebhook_js_1.agentConnectorsSetupWhatsAppAppWebhook)(this, request, options));
|
|
@@ -13,7 +13,7 @@ import { Result } from "../types/fp.js";
|
|
|
13
13
|
* Create a connector
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
16
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
17
17
|
*/
|
|
18
18
|
export declare function agentConnectorsCreateAgentConnector(client: SDKCore, request: operations.CreateAgentConnectorRequest, options?: RequestOptions): APIPromise<Result<components.AgentConnector, errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
19
19
|
//# sourceMappingURL=agentConnectorsCreateAgentConnector.d.ts.map
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* Create a connector
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
19
|
+
* Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.
|
|
20
20
|
*/
|
|
21
21
|
export function agentConnectorsCreateAgentConnector(client, request, options) {
|
|
22
22
|
return new APIPromise($do(client, request, options));
|
|
@@ -9,10 +9,10 @@ import * as operations from "../models/operations/index.js";
|
|
|
9
9
|
import { APIPromise } from "../types/async.js";
|
|
10
10
|
import { Result } from "../types/fp.js";
|
|
11
11
|
/**
|
|
12
|
-
* Set up a WhatsApp app webhook
|
|
12
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
15
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
16
16
|
*/
|
|
17
17
|
export declare function agentConnectorsSetupWhatsAppAppWebhook(client: SDKCore, request: operations.SetupWhatsAppAppWebhookRequest, options?: RequestOptions): APIPromise<Result<operations.SetupWhatsAppAppWebhookResponse, errors.ErrorEnvelope | SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=agentConnectorsSetupWhatsAppAppWebhook.d.ts.map
|
|
@@ -12,10 +12,10 @@ import * as errors from "../models/errors/index.js";
|
|
|
12
12
|
import * as operations from "../models/operations/index.js";
|
|
13
13
|
import { APIPromise } from "../types/async.js";
|
|
14
14
|
/**
|
|
15
|
-
* Set up a WhatsApp app webhook
|
|
15
|
+
* Set up a WhatsApp app webhook (Beta)
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
18
|
+
* Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.
|
|
19
19
|
*/
|
|
20
20
|
export function agentConnectorsSetupWhatsAppAppWebhook(client, request, options) {
|
|
21
21
|
return new APIPromise($do(client, request, options));
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.49.
|
|
35
|
-
readonly genVersion: "2.918.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.49.
|
|
34
|
+
readonly sdkVersion: "0.49.15";
|
|
35
|
+
readonly genVersion: "2.918.4";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.49.15 2.918.4 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "1.1.0",
|
|
34
|
-
sdkVersion: "0.49.
|
|
35
|
-
genVersion: "2.918.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.49.
|
|
34
|
+
sdkVersion: "0.49.15",
|
|
35
|
+
genVersion: "2.918.4",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.49.15 2.918.4 1.1.0 @meetkai/mka1",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -331,7 +331,7 @@ import { tool$usageSandbox } from "./tools/usageSandbox.js";
|
|
|
331
331
|
export function createMCPServer(deps) {
|
|
332
332
|
const server = new McpServer({
|
|
333
333
|
name: "SDK",
|
|
334
|
-
version: "0.49.
|
|
334
|
+
version: "0.49.15",
|
|
335
335
|
});
|
|
336
336
|
const client = new SDKCore({
|
|
337
337
|
bearerAuth: deps.bearerAuth,
|
|
@@ -11,7 +11,7 @@ export const tool$agentConnectorsCreateAgentConnector = {
|
|
|
11
11
|
name: "agent-connectors-create-agent-connector",
|
|
12
12
|
description: `Create a connector
|
|
13
13
|
|
|
14
|
-
Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.`,
|
|
14
|
+
Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.`,
|
|
15
15
|
args,
|
|
16
16
|
tool: async (client, args, ctx) => {
|
|
17
17
|
const [result, apiCall] = await agentConnectorsCreateAgentConnector(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentConnectorsCreateAgentConnector.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC;CAC9D,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAEjD;IACF,IAAI,EAAE,yCAAyC;IAC/C,WAAW,EAAE;;
|
|
1
|
+
{"version":3,"file":"agentConnectorsCreateAgentConnector.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,oDAAoD,CAAC;AACzG,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC;CAC9D,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAEjD;IACF,IAAI,EAAE,yCAAyC;IAC/C,WAAW,EAAE;;2/BAE4+B;IACz/B,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,mCAAmC,CACjE,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -9,9 +9,9 @@ const args = {
|
|
|
9
9
|
};
|
|
10
10
|
export const tool$agentConnectorsSetupWhatsAppAppWebhook = {
|
|
11
11
|
name: "agent-connectors-setup-whats-app-app-webhook",
|
|
12
|
-
description: `Set up a WhatsApp app webhook
|
|
12
|
+
description: `Set up a WhatsApp app webhook (Beta)
|
|
13
13
|
|
|
14
|
-
Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.`,
|
|
14
|
+
Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.`,
|
|
15
15
|
args,
|
|
16
16
|
tool: async (client, args, ctx) => {
|
|
17
17
|
const [result, apiCall] = await agentConnectorsSetupWhatsAppAppWebhook(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|