@ancha-labs/cli 0.4.23 → 0.4.24

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.
@@ -241,6 +241,18 @@ CREATE VIEW ns_q_mediaitemfolder AS SELECT id, name, parent, description, datecr
241
241
  var col = (name, type, more = {}) => ({ name, type, ...more });
242
242
  var ref = (name, table) => col(name, "id", { ref: table });
243
243
  var dated = [col("datecreated", "datetime"), col("lastmodifieddate", "datetime")];
244
+ var TRANSACTION_LINKS = `SELECT * FROM ns_q_nexttransactionlinelink
245
+ UNION ALL SELECT l.createdfrom, l.orderline, l."transaction", l.line,
246
+ CASE WHEN t.type IN ('ItemRcpt','ItemShip') THEN 'ShipRcpt' WHEN t.type IN ('VendBill','CustInvc') THEN 'OrdBill' END,
247
+ l.amount, p.type, t.type, t.lastmodifieddate
248
+ FROM ns_lines l JOIN ns_transactions t ON t.id=l."transaction" JOIN ns_transactions p ON p.id=l.createdfrom
249
+ WHERE l.createdfrom IS NOT NULL
250
+ UNION ALL SELECT t.createdfrom, 0, t.id, 0, NULL, t.total, p.type, t.type, t.lastmodifieddate
251
+ FROM ns_transactions t JOIN ns_transactions p ON p.id=t.createdfrom
252
+ WHERE NOT EXISTS (SELECT 1 FROM ns_lines l WHERE l."transaction"=t.id AND l.createdfrom=t.createdfrom)
253
+ AND NOT EXISTS (SELECT 1 FROM ns_applications a WHERE a.source=t.id AND a.doc=t.createdfrom)`;
254
+ var SYSTEM_NOTES = `SELECT ${["id", "recordid", "recordtypeid", "date", "name", "field", "oldvalue", "newvalue", "context", "type"].map((c) => `json_extract(n.value, '$.${c}') AS "${c}"`).join(", ")}
255
+ FROM ns_extra e, json_each(e.fields, '$.notes') n WHERE substr(e.owner,1,20)='netsuite:systemnote:'`;
244
256
  var SUITEQL_TABLES = [
245
257
  { name: "customer", view: "ns_q_customer", display: "entityid", columns: [
246
258
  col("id", "id"),
@@ -432,6 +444,9 @@ var SUITEQL_TABLES = [
432
444
  col("closedondate", "date")
433
445
  ] },
434
446
  { name: "transaction", view: "ns_q_transaction", display: "tranid", columns: [
447
+ col("createdby", "id", { ref: "employee", sql: `COALESCE(
448
+ (SELECT json_extract(a.fields, '$.createdBy') FROM ns_extra a WHERE a.owner='netsuite:systemnote:' || ns_q_transaction.recordtype AND a.id=ns_q_transaction.id),
449
+ (SELECT COALESCE(json_extract(x.fields, '$.createdBy.id'),json_extract(x.fields, '$.createdby.id'),json_extract(x.fields, '$.createdBy'),json_extract(x.fields, '$.createdby')) FROM ns_extra x WHERE x.owner='transaction' AND x.id=ns_q_transaction.id))` }),
435
450
  col("id", "id"),
436
451
  col("tranid", "text"),
437
452
  col("trandate", "date"),
@@ -503,7 +518,7 @@ var SUITEQL_TABLES = [
503
518
  col("posting", "boolean"),
504
519
  ref("postingperiod", "accountingperiod")
505
520
  ] },
506
- ...["nexttransactionlinelink", "previoustransactionlinelink"].map((name) => ({ name, view: `ns_q_${name}`, display: "linktype", columns: [
521
+ ...["nexttransactionlinelink", "previoustransactionlinelink"].map((name) => ({ name, view: `ns_q_${name}`, source: TRANSACTION_LINKS, display: "linktype", columns: [
507
522
  ref("previousdoc", "transaction"),
508
523
  col("previousline", "integer"),
509
524
  ref("nextdoc", "transaction"),
@@ -514,6 +529,18 @@ var SUITEQL_TABLES = [
514
529
  col("nexttype", "text"),
515
530
  col("lastmodifieddate", "datetime")
516
531
  ] })),
532
+ { name: "systemnote", view: "ns_extra", source: SYSTEM_NOTES, display: "field", columns: [
533
+ col("id", "id"),
534
+ col("recordid", "id"),
535
+ col("recordtypeid", "integer"),
536
+ col("date", "datetime"),
537
+ ref("name", "entity"),
538
+ col("field", "text"),
539
+ col("oldvalue", "text"),
540
+ col("newvalue", "text"),
541
+ col("context", "text"),
542
+ col("type", "integer")
543
+ ] },
517
544
  { name: "file", view: "ns_q_file", display: "name", columns: [
518
545
  col("id", "id"),
519
546
  col("name", "text"),
@@ -1293,7 +1320,9 @@ function resolve(scope, name, qualifier) {
1293
1320
  scope.correlations.push(value);
1294
1321
  return value;
1295
1322
  }
1296
- invalid(`Field '${qualifier ? `${qualifier}.` : ""}${name}' was not found.`);
1323
+ const pending = { transaction: ["createdfrom", "total", "amountremaining"], transactionline: ["amount"] };
1324
+ const gap = owners.some((r) => r.columns.some((c) => c.origin && pending[c.origin.table.name]?.includes(name)));
1325
+ invalid(`Field '${qualifier ? `${qualifier}.` : ""}${name}' was not found.`, gap);
1297
1326
  }
1298
1327
  var key = (b) => JSON.stringify([b.sql, b.params]);
1299
1328
  var numeric = (t) => ["id", "integer", "number"].includes(t);
@@ -1544,7 +1573,7 @@ var Compiler = class {
1544
1573
  columns = [{ name: "dummy", type: "text", value: sql("") }];
1545
1574
  } else {
1546
1575
  const table = this.tables.find((t) => t.name === source.table);
1547
- if (!table) invalid(`Record '${source.table}' was not found.`);
1576
+ if (!table) invalid(`Record '${source.table}' was not found.`, source.table === "transactionlink");
1548
1577
  const computed = table.columns.filter((c) => c.sql);
1549
1578
  value = table.source ? sql("(", table.source, ")") : computed.length ? sql("(SELECT *, ", computed.map((c) => `${c.sql} AS ${quote(c.name)}`).join(", "), " FROM ", quote(table.view), ")") : sql(quote(table.view));
1550
1579
  columns = table.columns.map((column) => ({ name: column.name, type: column.type, value: sql(""), origin: { table, column, relation: alias } }));
@@ -1350,7 +1350,7 @@ function agentCrumb(batch) {
1350
1350
  }
1351
1351
  function runDetails(batch, tasks, attempts) {
1352
1352
  const baseline = batch.comparison?.baselineRunId, total = timeOf(batch.finishedAt) - timeOf(batch.startedAt ?? batch.createdAt);
1353
- return `<section class="k-card" aria-label="Details"><h2>Details</h2>` + (agentName(batch) ? detailRow("Agent", batch.agentId ? navLink(agentName(batch), "/agents/" + encodeURIComponent(String(batch.agentId))) : h(agentName(batch))) : "") + (batch.origin?.commit ? detailRow("Commit", `<span class="k-mono">${h(String(batch.origin.commit).slice(0, 7))}${batch.origin.dirty ? " + changes" : ""}</span>`) : "") + (baseline ? detailRow("Compared with", navLink(shortId(String(baseline)), "/playgrounds/" + encodeURIComponent(String(baseline)))) : "") + (batch.rerunOf ? detailRow("Rerun of", `<a href="/runs/${h(encodeURIComponent(batch.rerunOf.runId))}">${h(shortId(batch.rerunOf.runId))}</a>${batch.rerunOf.mode === "failed" ? " \xB7 failed tests" : ""}`) : "") + detailRow("From", h(originLabel(batch.origin) || "Console")) + (starterHtml(batch) ? detailRow("Started by", starterHtml(batch)) : "") + (batch.createdAt ? detailRow("Started", `<time datetime="${h(batch.createdAt)}" title="${h(utc(batch.createdAt))}">${h(utcClock(batch.createdAt))}<span class="k-meta"> \xB7 ${h(utcDay(batch.createdAt))}</span></time>`) : "") + (Number.isFinite(total) && total >= 0 ? detailRow("Duration", h(duration(total))) : "") + detailRow("Tests \xD7 attempts", h(`${count2(tasks.length, "test")} \xB7 ${count2(runCounts({ ...batch, tasks, attempts }).total, "attempt")}`)) + (Number(batch.concurrency) > 0 ? detailRow("At once", h(`${batch.concurrency} attempts`)) : "") + (batch.exitCode !== void 0 ? detailRow("Exit", h(batch.exitCode)) : "") + "</section>";
1353
+ return `<section class="k-card" aria-label="Details"><h2>Details</h2>` + (agentName(batch) ? detailRow("Agent", batch.agentId ? navLink(agentName(batch), "/agents/" + encodeURIComponent(String(batch.agentId))) : h(agentName(batch))) : "") + (batch.origin?.commit ? detailRow("Commit", `<span class="k-mono">${h(String(batch.origin.commit).slice(0, 7))}${batch.origin.dirty ? " + changes" : ""}</span>`) : "") + (baseline ? detailRow("Compared with", navLink(shortId(String(baseline)), "/playgrounds/" + encodeURIComponent(String(baseline)))) : "") + (batch.editedTests?.length ? detailRow("Test source", `${batch.editedTests.map((t) => `${t.source === "cli" ? "Edited via CLI" : t.source === "github-actions" ? "Edited via GitHub Actions" : "Edited in console"} \xB7 <a href="/runs/${h(encodeURIComponent(batch.id))}/test.yaml?test=${h(encodeURIComponent(t.id))}">Download ${h(t.id)} YAML</a>`).join(" \xB7 ")}`) : "") + (batch.rerunOf ? detailRow("Rerun of", `<a href="/runs/${h(encodeURIComponent(batch.rerunOf.runId))}">${h(shortId(batch.rerunOf.runId))}</a>${batch.rerunOf.mode === "failed" ? " \xB7 failed tests" : ""}`) : "") + detailRow("From", h(originLabel(batch.origin) || "Console")) + (starterHtml(batch) ? detailRow("Started by", starterHtml(batch)) : "") + (batch.createdAt ? detailRow("Started", `<time datetime="${h(batch.createdAt)}" title="${h(utc(batch.createdAt))}">${h(utcClock(batch.createdAt))}<span class="k-meta"> \xB7 ${h(utcDay(batch.createdAt))}</span></time>`) : "") + (Number.isFinite(total) && total >= 0 ? detailRow("Duration", h(duration(total))) : "") + detailRow("Tests \xD7 attempts", h(`${count2(tasks.length, "test")} \xB7 ${count2(runCounts({ ...batch, tasks, attempts }).total, "attempt")}`)) + (Number(batch.concurrency) > 0 ? detailRow("At once", h(`${batch.concurrency} attempts`)) : "") + (batch.exitCode !== void 0 ? detailRow("Exit", h(batch.exitCode)) : "") + "</section>";
1354
1354
  }
1355
1355
  function testSquares(batch, task, attempts) {
1356
1356
  const states = attemptStates({ tasks: [task], attempts });
@@ -1367,7 +1367,7 @@ function runProgress(batch) {
1367
1367
  return `<section class="k-card k-progress" aria-label="Progress"><div class="k-progress-line"><strong class="k-big mid">${c.finished} of ${c.total} attempts done</strong></div><div class="k-meter s059-meter" role="img" aria-label="${h(label2)}">${states.map((state) => `<span class="${resultClass(state)}"></span>`).join("")}</div><span class="k-meta">${h(label2)}. Results are graded as each attempt finishes.</span></section>`;
1368
1368
  }
1369
1369
  function renderRunOverview(batch, actionsHtml = "", options = {}) {
1370
- if (options.task && batch.rerun && /^run_cloud_/.test(String(batch.id))) actionsHtml += `<form method="post" action="/tests/rerun"><input type="hidden" name="runId" value="${h(batch.id)}"><input type="hidden" name="name" value="${h(options.task)}"><input type="hidden" name="idempotencyKey" value="${h(batch.rerun.key)}-test"><button type="submit" class="k-btn primary">Run x5</button></form>`;
1370
+ if (options.task && batch.rerun && /^run_cloud_/.test(String(batch.id))) actionsHtml += `<form method="post" action="/tests/rerun"><input type="hidden" name="runId" value="${h(batch.id)}"><input type="hidden" name="name" value="${h(options.task)}"><input type="hidden" name="idempotencyKey" value="${h(batch.rerun.key)}-test"><button type="submit" class="k-btn primary">Run x5</button></form><a class="k-btn" href="/tests/edit?runId=${h(encodeURIComponent(batch.id))}&amp;name=${h(encodeURIComponent(options.task))}">Edit</a>`;
1371
1371
  if (!options.task && batch.rerun && /^run_cloud_/.test(String(batch.id))) actionsHtml += [["again", "Run again"], ...batch.rerun.failed ? [["failed", "Rerun failed"]] : []].map(([mode, label2]) => `<form method="post" action="/runs/${h(encodeURIComponent(batch.id))}/rerun"><input type="hidden" name="mode" value="${mode}"><input type="hidden" name="idempotencyKey" value="${h(batch.rerun.key)}-${mode}"><button type="submit" class="k-btn">${label2}</button></form>`).join("");
1372
1372
  const groups = entrySections(batch), tasks = groups.flatMap((group) => group.tasks), allAttempts = records(batch.attempts), c = runCounts(batch);
1373
1373
  const rows3 = groups.flatMap(({ entry, tasks: tasks2, attempts }) => tasks2.map((task) => ({ entry, task, attempts: attempts.filter((a) => a.taskId === task.id) }))).filter((row2) => !options.task || row2.task.id === options.task);
@@ -2157,9 +2157,9 @@ var viewWorldsEmpty = (boot2) => viewBanner(boot2, /* @__PURE__ */ new Date(), "
2157
2157
 
2158
2158
  // frontend/src/generated/tool-catalog.ts
2159
2159
  var TOOL_CATALOG = [
2160
- { "name": "slack", "title": "Slack", "category": "Team chat", "description": "Channels, messages and threads", "version": "Web API", "env": ["SLACK_API_URL", "SLACK_BOT_TOKEN"], "endpoints": [["POST", "/api/apps.connections.open"], ["POST", "/api/assistant.threads.setStatus"], ["POST", "/api/assistant.threads.setSuggestedPrompts"], ["POST", "/api/assistant.threads.setTitle"], ["POST", "/api/auth.test"], ["POST", "/api/canvases.create"], ["POST", "/api/canvases.getContent"], ["POST", "/api/chat.appendStream"], ["POST", "/api/chat.delete"], ["POST", "/api/chat.getPermalink"], ["POST", "/api/chat.postEphemeral"], ["POST", "/api/chat.postMessage"], ["POST", "/api/chat.startStream"], ["POST", "/api/chat.stopStream"], ["POST", "/api/chat.update"], ["POST", "/api/conversations.create"], ["POST", "/api/conversations.history"], ["POST", "/api/conversations.info"], ["POST", "/api/conversations.join"], ["POST", "/api/conversations.list"], ["POST", "/api/conversations.members"], ["POST", "/api/conversations.open"], ["POST", "/api/conversations.replies"], ["POST", "/api/files.info"], ["POST", "/api/files.list"], ["POST", "/api/reactions.add"], ["POST", "/api/reactions.get"], ["POST", "/api/reactions.remove"], ["POST", "/api/search.messages"], ["POST", "/api/users.conversations"], ["POST", "/api/users.info"], ["POST", "/api/users.list"], ["POST", "/api/users.lookupByEmail"], ["POST", "/api/views.publish"]] },
2160
+ { "name": "slack", "title": "Slack", "category": "Team chat", "description": "Channels, messages and threads", "version": "Web API", "env": ["SLACK_API_URL", "SLACK_BOT_TOKEN"], "endpoints": [["POST", "/api/apps.connections.open"], ["POST", "/api/assistant.threads.setStatus"], ["POST", "/api/assistant.threads.setSuggestedPrompts"], ["POST", "/api/assistant.threads.setTitle"], ["POST", "/api/auth.test"], ["POST", "/api/canvases.create"], ["POST", "/api/canvases.getContent"], ["POST", "/api/chat.appendStream"], ["POST", "/api/chat.delete"], ["POST", "/api/chat.getPermalink"], ["POST", "/api/chat.postEphemeral"], ["POST", "/api/chat.postMessage"], ["POST", "/api/chat.startStream"], ["POST", "/api/chat.stopStream"], ["POST", "/api/chat.update"], ["POST", "/api/conversations.create"], ["POST", "/api/conversations.history"], ["POST", "/api/conversations.info"], ["POST", "/api/conversations.join"], ["POST", "/api/conversations.list"], ["POST", "/api/conversations.members"], ["POST", "/api/conversations.open"], ["POST", "/api/conversations.replies"], ["POST", "/api/files.info"], ["POST", "/api/files.list"], ["POST", "/api/pins.add"], ["POST", "/api/pins.list"], ["POST", "/api/pins.remove"], ["POST", "/api/reactions.add"], ["POST", "/api/reactions.get"], ["POST", "/api/reactions.remove"], ["POST", "/api/search.messages"], ["POST", "/api/users.conversations"], ["POST", "/api/users.info"], ["POST", "/api/users.list"], ["POST", "/api/users.lookupByEmail"], ["POST", "/api/views.publish"]] },
2161
2161
  { "name": "discord", "title": "Discord", "category": "Community chat", "description": "A community server as its bot sees it: channels, messages, threads and reactions", "version": "REST API v10", "env": ["DISCORD_API_URL", "DISCORD_BOT_TOKEN"], "endpoints": [["GET", "/api/v10/channels/{channel_id}"], ["GET", "/api/v10/channels/{channel_id}/messages"], ["POST", "/api/v10/channels/{channel_id}/messages"], ["GET", "/api/v10/channels/{channel_id}/messages/{message_id}"], ["PATCH", "/api/v10/channels/{channel_id}/messages/{message_id}"], ["DELETE", "/api/v10/channels/{channel_id}/messages/{message_id}"], ["GET", "/api/v10/channels/{channel_id}/messages/{message_id}/reactions/{emoji}"], ["PUT", "/api/v10/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me"], ["DELETE", "/api/v10/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me"], ["POST", "/api/v10/channels/{channel_id}/messages/{message_id}/threads"], ["GET", "/api/v10/channels/{channel_id}/pins"], ["PUT", "/api/v10/channels/{channel_id}/pins/{message_id}"], ["DELETE", "/api/v10/channels/{channel_id}/pins/{message_id}"], ["POST", "/api/v10/channels/{channel_id}/threads"], ["POST", "/api/v10/channels/{channel_id}/typing"], ["GET", "/api/v10/guilds/{guild_id}"], ["GET", "/api/v10/guilds/{guild_id}/channels"], ["GET", "/api/v10/guilds/{guild_id}/members"], ["GET", "/api/v10/guilds/{guild_id}/members/{user_id}"], ["GET", "/api/v10/guilds/{guild_id}/roles"], ["GET", "/api/v10/guilds/{guild_id}/threads/active"], ["GET", "/api/v10/users/{user_id}"], ["GET", "/api/v10/users/@me"], ["POST", "/api/v10/users/@me/channels"], ["GET", "/api/v10/users/@me/guilds"]] },
2162
- { "name": "github", "title": "GitHub", "category": "Code", "description": "Repositories, pull requests and deployments", "version": "REST", "env": ["GITHUB_API_URL", "GITHUB_TOKEN"], "endpoints": [["GET", "/repos/:owner/:repo/actions/runs"], ["GET", "/repos/:owner/:repo/actions/runs/:id"], ["POST", "/repos/:owner/:repo/actions/runs/:id/rerun"], ["GET", "/repos/:owner/:repo/actions/workflows/:workflow/runs"], ["GET", "/repos/:owner/:repo/branches"], ["GET", "/repos/:owner/:repo/branches/:branch"], ["GET", "/repos/:owner/:repo/check-runs/:id"], ["GET", "/repos/:owner/:repo/collaborators"], ["GET", "/repos/:owner/:repo/collaborators/:username"], ["PUT", "/repos/:owner/:repo/collaborators/:username"], ["DELETE", "/repos/:owner/:repo/collaborators/:username"], ["GET", "/repos/:owner/:repo/collaborators/:username/permission"], ["GET", "/repos/:owner/:repo/commits"], ["GET", "/repos/:owner/:repo/commits/:ref"], ["GET", "/repos/:owner/:repo/commits/:ref/check-runs"], ["GET", "/repos/:owner/:repo/compare/:base...:head"], ["PUT", "/repos/:owner/:repo/contents/:path"], ["GET", "/repos/:owner/:repo/contents/:path?"], ["GET", "/repos/:owner/:repo/deployments"], ["POST", "/repos/:owner/:repo/deployments"], ["GET", "/repos/:owner/:repo/deployments/:id"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses"], ["POST", "/repos/:owner/:repo/deployments/:id/statuses"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses/:statusId"], ["POST", "/repos/:owner/:repo/git/blobs"], ["GET", "/repos/:owner/:repo/git/blobs/:sha"], ["POST", "/repos/:owner/:repo/git/commits"], ["GET", "/repos/:owner/:repo/git/commits/:sha"], ["GET", "/repos/:owner/:repo/git/matching-refs/:ref?"], ["GET", "/repos/:owner/:repo/git/ref/:ref"], ["POST", "/repos/:owner/:repo/git/refs"], ["PATCH", "/repos/:owner/:repo/git/refs/:ref"], ["DELETE", "/repos/:owner/:repo/git/refs/:ref"], ["POST", "/repos/:owner/:repo/git/trees"], ["GET", "/repos/:owner/:repo/git/trees/:sha"], ["POST", "/graphql"], ["GET", "/repos/:owner/:repo/issues"], ["POST", "/repos/:owner/:repo/issues"], ["GET", "/repos/:owner/:repo/issues/:number"], ["PATCH", "/repos/:owner/:repo/issues/:number"], ["GET", "/repos/:owner/:repo/issues/:number/comments"], ["POST", "/repos/:owner/:repo/issues/:number/comments"], ["GET", "/repos/:owner/:repo/issues/:number/labels"], ["POST", "/repos/:owner/:repo/issues/:number/labels"], ["PUT", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels/:name"], ["GET", "/repos/:owner/:repo/issues/comments"], ["GET", "/repos/:owner/:repo/issues/comments/:id"], ["PATCH", "/repos/:owner/:repo/issues/comments/:id"], ["DELETE", "/repos/:owner/:repo/issues/comments/:id"], ["GET", "/repos/:owner/:repo/labels"], ["POST", "/repos/:owner/:repo/labels"], ["GET", "/repos/:owner/:repo/labels/:name"], ["PATCH", "/repos/:owner/:repo/labels/:name"], ["DELETE", "/repos/:owner/:repo/labels/:name"], ["GET", "/orgs/:org/members"], ["GET", "/orgs/:org/members/:username"], ["DELETE", "/orgs/:org/members/:username"], ["GET", "/orgs/:org/memberships/:username"], ["DELETE", "/orgs/:org/memberships/:username"], ["GET", "/orgs/:org/repos"], ["GET", "/repos/:owner/:repo/pulls"], ["POST", "/repos/:owner/:repo/pulls"], ["GET", "/repos/:owner/:repo/pulls/:number"], ["PATCH", "/repos/:owner/:repo/pulls/:number"], ["GET", "/repos/:owner/:repo/pulls/:number/comments"], ["POST", "/repos/:owner/:repo/pulls/:number/comments"], ["GET", "/repos/:owner/:repo/pulls/:number/commits"], ["GET", "/repos/:owner/:repo/pulls/:number/files"], ["GET", "/repos/:owner/:repo/pulls/:number/merge"], ["PUT", "/repos/:owner/:repo/pulls/:number/merge"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews"], ["POST", "/repos/:owner/:repo/pulls/:number/reviews"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews/:id"], ["GET", "/repos/:owner/:repo/pulls/comments"], ["GET", "/repos/:owner/:repo/pulls/comments/:id"], ["PATCH", "/repos/:owner/:repo/pulls/comments/:id"], ["DELETE", "/repos/:owner/:repo/pulls/comments/:id"], ["GET", "/repos/:owner/:repo"], ["GET", "/search/issues"], ["GET", "/user"], ["GET", "/user/repos"]] },
2162
+ { "name": "github", "title": "GitHub", "category": "Code", "description": "Repositories, pull requests and deployments", "version": "REST", "env": ["GITHUB_API_URL", "GITHUB_TOKEN"], "endpoints": [["GET", "/repos/:owner/:repo/actions/runs"], ["GET", "/repos/:owner/:repo/actions/runs/:id"], ["POST", "/repos/:owner/:repo/actions/runs/:id/rerun"], ["GET", "/repos/:owner/:repo/actions/workflows/:workflow/runs"], ["GET", "/repos/:owner/:repo/branches"], ["GET", "/repos/:owner/:repo/branches/:branch"], ["GET", "/repos/:owner/:repo/check-runs/:id"], ["GET", "/repos/:owner/:repo/collaborators"], ["GET", "/repos/:owner/:repo/collaborators/:username"], ["PUT", "/repos/:owner/:repo/collaborators/:username"], ["DELETE", "/repos/:owner/:repo/collaborators/:username"], ["GET", "/repos/:owner/:repo/collaborators/:username/permission"], ["GET", "/repos/:owner/:repo/commits"], ["GET", "/repos/:owner/:repo/commits/:ref"], ["GET", "/repos/:owner/:repo/commits/:ref/check-runs"], ["GET", "/repos/:owner/:repo/commits/:ref/status"], ["GET", "/repos/:owner/:repo/commits/:ref/statuses"], ["GET", "/repos/:owner/:repo/compare/:base...:head"], ["PUT", "/repos/:owner/:repo/contents/:path"], ["GET", "/repos/:owner/:repo/contents/:path?"], ["GET", "/repos/:owner/:repo/deployments"], ["POST", "/repos/:owner/:repo/deployments"], ["GET", "/repos/:owner/:repo/deployments/:id"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses"], ["POST", "/repos/:owner/:repo/deployments/:id/statuses"], ["GET", "/repos/:owner/:repo/deployments/:id/statuses/:statusId"], ["POST", "/repos/:owner/:repo/git/blobs"], ["GET", "/repos/:owner/:repo/git/blobs/:sha"], ["POST", "/repos/:owner/:repo/git/commits"], ["GET", "/repos/:owner/:repo/git/commits/:sha"], ["GET", "/repos/:owner/:repo/git/matching-refs/:ref?"], ["GET", "/repos/:owner/:repo/git/ref/:ref"], ["POST", "/repos/:owner/:repo/git/refs"], ["PATCH", "/repos/:owner/:repo/git/refs/:ref"], ["DELETE", "/repos/:owner/:repo/git/refs/:ref"], ["POST", "/repos/:owner/:repo/git/trees"], ["GET", "/repos/:owner/:repo/git/trees/:sha"], ["POST", "/graphql"], ["GET", "/repos/:owner/:repo/issues"], ["POST", "/repos/:owner/:repo/issues"], ["GET", "/repos/:owner/:repo/issues/:number"], ["PATCH", "/repos/:owner/:repo/issues/:number"], ["GET", "/repos/:owner/:repo/issues/:number/comments"], ["POST", "/repos/:owner/:repo/issues/:number/comments"], ["GET", "/repos/:owner/:repo/issues/:number/labels"], ["POST", "/repos/:owner/:repo/issues/:number/labels"], ["PUT", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels"], ["DELETE", "/repos/:owner/:repo/issues/:number/labels/:name"], ["GET", "/repos/:owner/:repo/issues/comments"], ["GET", "/repos/:owner/:repo/issues/comments/:id"], ["PATCH", "/repos/:owner/:repo/issues/comments/:id"], ["DELETE", "/repos/:owner/:repo/issues/comments/:id"], ["GET", "/repos/:owner/:repo/labels"], ["POST", "/repos/:owner/:repo/labels"], ["GET", "/repos/:owner/:repo/labels/:name"], ["PATCH", "/repos/:owner/:repo/labels/:name"], ["DELETE", "/repos/:owner/:repo/labels/:name"], ["GET", "/orgs/:org/members"], ["GET", "/orgs/:org/members/:username"], ["DELETE", "/orgs/:org/members/:username"], ["GET", "/orgs/:org/memberships/:username"], ["DELETE", "/orgs/:org/memberships/:username"], ["GET", "/orgs/:org/repos"], ["GET", "/repos/:owner/:repo/pulls"], ["POST", "/repos/:owner/:repo/pulls"], ["GET", "/repos/:owner/:repo/pulls/:number"], ["PATCH", "/repos/:owner/:repo/pulls/:number"], ["GET", "/repos/:owner/:repo/pulls/:number/comments"], ["POST", "/repos/:owner/:repo/pulls/:number/comments"], ["GET", "/repos/:owner/:repo/pulls/:number/commits"], ["GET", "/repos/:owner/:repo/pulls/:number/files"], ["GET", "/repos/:owner/:repo/pulls/:number/merge"], ["PUT", "/repos/:owner/:repo/pulls/:number/merge"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews"], ["POST", "/repos/:owner/:repo/pulls/:number/reviews"], ["GET", "/repos/:owner/:repo/pulls/:number/reviews/:id"], ["GET", "/repos/:owner/:repo/pulls/comments"], ["GET", "/repos/:owner/:repo/pulls/comments/:id"], ["PATCH", "/repos/:owner/:repo/pulls/comments/:id"], ["DELETE", "/repos/:owner/:repo/pulls/comments/:id"], ["GET", "/repos/:owner/:repo"], ["GET", "/search/issues"], ["GET", "/repos/:owner/:repo/statuses/:ref"], ["GET", "/user"], ["GET", "/user/repos"]] },
2163
2163
  { "name": "linear", "title": "Linear", "category": "Issues", "description": "Issues, projects and team workflows", "version": "GraphQL", "env": ["LINEAR_API_URL", "LINEAR_API_KEY"], "endpoints": [["QUERY", "comment"], ["MUTATION", "commentCreate"], ["MUTATION", "commentDelete"], ["QUERY", "comments"], ["MUTATION", "commentUpdate"], ["QUERY", "issue"], ["MUTATION", "issueAddLabel"], ["MUTATION", "issueArchive"], ["MUTATION", "issueCreate"], ["MUTATION", "issueDelete"], ["QUERY", "issueLabel"], ["MUTATION", "issueLabelCreate"], ["QUERY", "issueLabels"], ["MUTATION", "issueRemoveLabel"], ["QUERY", "issues"], ["MUTATION", "issueUpdate"], ["QUERY", "organization"], ["QUERY", "project"], ["QUERY", "projects"], ["QUERY", "searchIssues"], ["QUERY", "team"], ["QUERY", "teams"], ["QUERY", "user"], ["QUERY", "users"], ["QUERY", "viewer"], ["QUERY", "workflowState"], ["QUERY", "workflowStates"]] },
2164
2164
  { "name": "jira", "title": "Jira", "category": "Issues", "description": "Issues, JQL search, comments, transitions and sprints", "version": "REST v3/v2 and agile 1.0", "env": ["JIRA_BASE_URL", "JIRA_EMAIL", "JIRA_API_TOKEN"], "endpoints": [["POST", "/rest/agile/1.0/backlog/issue"], ["GET", "/rest/agile/1.0/board"], ["GET", "/rest/agile/1.0/board/:id"], ["GET", "/rest/agile/1.0/board/:id/backlog"], ["GET", "/rest/agile/1.0/board/:id/issue"], ["GET", "/rest/agile/1.0/board/:id/sprint"], ["POST", "/rest/agile/1.0/sprint"], ["GET", "/rest/agile/1.0/sprint/:id"], ["POST", "/rest/agile/1.0/sprint/:id"], ["GET", "/rest/agile/1.0/sprint/:id/issue"], ["POST", "/rest/agile/1.0/sprint/:id/issue"], ["GET", "/rest/api/3/field"], ["POST", "/rest/api/3/issue"], ["GET", "/rest/api/3/issue/:key"], ["PUT", "/rest/api/3/issue/:key"], ["DELETE", "/rest/api/3/issue/:key"], ["PUT", "/rest/api/3/issue/:key/assignee"], ["GET", "/rest/api/3/issue/:key/changelog"], ["GET", "/rest/api/3/issue/:key/comment"], ["POST", "/rest/api/3/issue/:key/comment"], ["GET", "/rest/api/3/issue/:key/comment/:id"], ["PUT", "/rest/api/3/issue/:key/comment/:id"], ["DELETE", "/rest/api/3/issue/:key/comment/:id"], ["GET", "/rest/api/3/issue/:key/transitions"], ["POST", "/rest/api/3/issue/:key/transitions"], ["GET", "/rest/api/3/issue/:key/watchers"], ["POST", "/rest/api/3/issue/:key/watchers"], ["DELETE", "/rest/api/3/issue/:key/watchers"], ["POST", "/rest/api/3/issue/bulk"], ["GET", "/rest/api/3/issue/createmeta/:key/issuetypes"], ["GET", "/rest/api/3/issue/createmeta/:key/issuetypes/:type"], ["POST", "/rest/api/3/issueLink"], ["GET", "/rest/api/3/issueLink/:id"], ["DELETE", "/rest/api/3/issueLink/:id"], ["GET", "/rest/api/3/issueLinkType"], ["GET", "/rest/api/3/issuetype"], ["GET", "/rest/api/3/label"], ["GET", "/rest/api/3/myself"], ["GET", "/rest/api/3/priority"], ["GET", "/rest/api/3/project"], ["GET", "/rest/api/3/project/:key"], ["GET", "/rest/api/3/project/:key/components"], ["GET", "/rest/api/3/project/:key/statuses"], ["GET", "/rest/api/3/project/:key/versions"], ["GET", "/rest/api/3/project/search"], ["GET", "/rest/api/3/resolution"], ["GET", "/rest/api/3/search"], ["POST", "/rest/api/3/search"], ["POST", "/rest/api/3/search/approximate-count"], ["GET", "/rest/api/3/search/jql"], ["POST", "/rest/api/3/search/jql"], ["GET", "/rest/api/3/serverInfo"], ["GET", "/rest/api/3/status"], ["GET", "/rest/api/3/statuscategory"], ["GET", "/rest/api/3/user"], ["GET", "/rest/api/3/user/assignable/search"], ["GET", "/rest/api/3/user/search"]] },
2165
2165
  { "name": "asana", "title": "Asana", "category": "Projects", "description": "Projects, sections, tasks, subtasks and comments", "version": "REST API 1.0", "env": ["ASANA_API_URL", "ASANA_ACCESS_TOKEN"], "endpoints": [["GET", "/api/1.0/projects"], ["GET", "/api/1.0/projects/{project_gid}"], ["GET", "/api/1.0/projects/{project_gid}/sections"], ["POST", "/api/1.0/projects/{project_gid}/sections"], ["GET", "/api/1.0/projects/{project_gid}/tasks"], ["POST", "/api/1.0/sections/{section_gid}/addTask"], ["GET", "/api/1.0/sections/{section_gid}/tasks"], ["GET", "/api/1.0/tasks"], ["POST", "/api/1.0/tasks"], ["GET", "/api/1.0/tasks/{task_gid}"], ["PUT", "/api/1.0/tasks/{task_gid}"], ["DELETE", "/api/1.0/tasks/{task_gid}"], ["POST", "/api/1.0/tasks/{task_gid}/addProject"], ["POST", "/api/1.0/tasks/{task_gid}/removeProject"], ["GET", "/api/1.0/tasks/{task_gid}/stories"], ["POST", "/api/1.0/tasks/{task_gid}/stories"], ["GET", "/api/1.0/tasks/{task_gid}/subtasks"], ["POST", "/api/1.0/tasks/{task_gid}/subtasks"], ["GET", "/api/1.0/users"], ["GET", "/api/1.0/users/{user_gid}"], ["GET", "/api/1.0/workspaces"], ["GET", "/api/1.0/workspaces/{workspace_gid}"], ["GET", "/api/1.0/workspaces/{workspace_gid}/tasks/search"]] },
@@ -2179,11 +2179,11 @@ var TOOL_CATALOG = [
2179
2179
  { "name": "amazon-s3", "title": "Amazon S3", "category": "Files", "description": "Buckets, objects and multipart uploads", "version": "REST (SigV4)", "env": ["AWS_ENDPOINT_URL_S3", "AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION"], "endpoints": [["HEAD", "/{Bucket}"], ["GET", "/{Bucket}"], ["PUT", "/{Bucket}"], ["DELETE", "/{Bucket}"], ["HEAD", "/{Bucket}/{Key+}"], ["GET", "/{Bucket}/{Key+}"], ["PUT", "/{Bucket}/{Key+}"], ["DELETE", "/{Bucket}/{Key+}"], ["PUT", "/{Bucket}/{Key+} (x-amz-copy-source)"], ["PUT", "/{Bucket}/{Key+}?partNumber&uploadId"], ["GET", "/{Bucket}/{Key+}?tagging"], ["PUT", "/{Bucket}/{Key+}?tagging"], ["DELETE", "/{Bucket}/{Key+}?tagging"], ["GET", "/{Bucket}/{Key+}?uploadId"], ["POST", "/{Bucket}/{Key+}?uploadId"], ["DELETE", "/{Bucket}/{Key+}?uploadId"], ["POST", "/{Bucket}/{Key+}?uploads"], ["POST", "/{Bucket}?delete"], ["GET", "/{Bucket}?list-type=2"], ["GET", "/{Bucket}?location"], ["GET", "/{Bucket}?tagging"], ["PUT", "/{Bucket}?tagging"], ["DELETE", "/{Bucket}?tagging"], ["GET", "/{Bucket}?uploads"], ["GET", "/"]] },
2180
2180
  { "name": "okta", "title": "Okta", "category": "Identity", "description": "People, groups, app assignments and the System Log", "version": "Management API v1", "env": ["OKTA_ORG_URL", "OKTA_API_TOKEN"], "endpoints": [["GET", "/api/v1/apps"], ["GET", "/api/v1/apps/{appId}"], ["GET", "/api/v1/apps/{appId}/groups"], ["PUT", "/api/v1/apps/{appId}/groups/{groupId}"], ["DELETE", "/api/v1/apps/{appId}/groups/{groupId}"], ["GET", "/api/v1/apps/{appId}/users"], ["POST", "/api/v1/apps/{appId}/users"], ["DELETE", "/api/v1/apps/{appId}/users/{userId}"], ["GET", "/api/v1/groups"], ["POST", "/api/v1/groups"], ["GET", "/api/v1/groups/{groupId}"], ["PUT", "/api/v1/groups/{groupId}"], ["DELETE", "/api/v1/groups/{groupId}"], ["GET", "/api/v1/groups/{groupId}/users"], ["PUT", "/api/v1/groups/{groupId}/users/{userId}"], ["DELETE", "/api/v1/groups/{groupId}/users/{userId}"], ["GET", "/api/v1/logs"], ["GET", "/api/v1/users"], ["POST", "/api/v1/users"], ["GET", "/api/v1/users/{id}"], ["POST", "/api/v1/users/{id}"], ["DELETE", "/api/v1/users/{id}"], ["GET", "/api/v1/users/{id}/appLinks"], ["GET", "/api/v1/users/{id}/groups"], ["POST", "/api/v1/users/{id}/lifecycle/activate"], ["POST", "/api/v1/users/{id}/lifecycle/deactivate"], ["POST", "/api/v1/users/{id}/lifecycle/reset_password"], ["POST", "/api/v1/users/{id}/lifecycle/suspend"], ["POST", "/api/v1/users/{id}/lifecycle/unlock"], ["POST", "/api/v1/users/{id}/lifecycle/unsuspend"], ["DELETE", "/api/v1/users/{id}/sessions"]] },
2181
2181
  { "name": "clerk", "title": "Clerk", "category": "Identity", "description": "Users, organizations, invitations and sessions", "version": "Backend API v1", "env": ["CLERK_API_URL", "CLERK_SECRET_KEY"], "endpoints": [["GET", "/v1/invitations"], ["POST", "/v1/invitations"], ["POST", "/v1/invitations/{invitation_id}/revoke"], ["GET", "/v1/organizations"], ["POST", "/v1/organizations"], ["GET", "/v1/organizations/{organization_id}"], ["PATCH", "/v1/organizations/{organization_id}"], ["DELETE", "/v1/organizations/{organization_id}"], ["GET", "/v1/organizations/{organization_id}/invitations"], ["POST", "/v1/organizations/{organization_id}/invitations"], ["GET", "/v1/organizations/{organization_id}/invitations/{invitation_id}"], ["POST", "/v1/organizations/{organization_id}/invitations/{invitation_id}/revoke"], ["GET", "/v1/organizations/{organization_id}/memberships"], ["POST", "/v1/organizations/{organization_id}/memberships"], ["PATCH", "/v1/organizations/{organization_id}/memberships/{user_id}"], ["DELETE", "/v1/organizations/{organization_id}/memberships/{user_id}"], ["PATCH", "/v1/organizations/{organization_id}/metadata"], ["GET", "/v1/sessions"], ["GET", "/v1/sessions/{session_id}"], ["POST", "/v1/sessions/{session_id}/revoke"], ["GET", "/v1/users"], ["POST", "/v1/users"], ["GET", "/v1/users/{user_id}"], ["PATCH", "/v1/users/{user_id}"], ["DELETE", "/v1/users/{user_id}"], ["POST", "/v1/users/{user_id}/ban"], ["POST", "/v1/users/{user_id}/lock"], ["PATCH", "/v1/users/{user_id}/metadata"], ["GET", "/v1/users/{user_id}/organization_memberships"], ["POST", "/v1/users/{user_id}/unban"], ["POST", "/v1/users/{user_id}/unlock"], ["GET", "/v1/users/count"]] },
2182
- { "name": "stripe", "title": "Stripe", "category": "Payments", "description": "Customers, subscriptions, invoices and payments", "version": "API 2026-10-28.endive", "env": ["STRIPE_API_URL", "STRIPE_SECRET_KEY"], "endpoints": [["GET", "/v1/balance"], ["GET", "/v1/charges"], ["GET", "/v1/charges/:id"], ["GET", "/v1/customers"], ["POST", "/v1/customers"], ["GET", "/v1/customers/:id"], ["POST", "/v1/customers/:id"], ["DELETE", "/v1/customers/:id"], ["GET", "/v1/customers/search"], ["GET", "/v1/invoiceitems"], ["POST", "/v1/invoiceitems"], ["GET", "/v1/invoices"], ["POST", "/v1/invoices"], ["GET", "/v1/invoices/:id"], ["POST", "/v1/invoices/:id"], ["POST", "/v1/invoices/:id/finalize"], ["POST", "/v1/invoices/:id/pay"], ["POST", "/v1/invoices/:id/void"], ["GET", "/v1/payment_intents"], ["POST", "/v1/payment_intents"], ["GET", "/v1/payment_intents/:id"], ["POST", "/v1/payment_intents/:id/cancel"], ["POST", "/v1/payment_intents/:id/confirm"], ["GET", "/v1/prices"], ["GET", "/v1/prices/:id"], ["GET", "/v1/products"], ["GET", "/v1/products/:id"], ["GET", "/v1/refunds"], ["POST", "/v1/refunds"], ["GET", "/v1/refunds/:id"], ["GET", "/v1/subscriptions"], ["GET", "/v1/subscriptions/:id"], ["POST", "/v1/subscriptions/:id"], ["DELETE", "/v1/subscriptions/:id"]] },
2182
+ { "name": "stripe", "title": "Stripe", "category": "Payments", "description": "Customers, subscriptions, invoices and payments", "version": "API 2026-10-28.endive", "env": ["STRIPE_API_URL", "STRIPE_SECRET_KEY"], "endpoints": [["GET", "/v1/balance"], ["GET", "/v1/balance_transactions"], ["GET", "/v1/charges"], ["GET", "/v1/charges/:id"], ["GET", "/v1/charges/:id/refunds"], ["GET", "/v1/charges/search"], ["GET", "/v1/credit_notes"], ["GET", "/v1/customers"], ["POST", "/v1/customers"], ["GET", "/v1/customers/:id"], ["POST", "/v1/customers/:id"], ["DELETE", "/v1/customers/:id"], ["GET", "/v1/customers/:id/balance_transactions"], ["GET", "/v1/customers/:id/cash_balance"], ["GET", "/v1/customers/:id/payment_methods"], ["GET", "/v1/customers/search"], ["GET", "/v1/disputes"], ["GET", "/v1/events"], ["GET", "/v1/invoiceitems"], ["POST", "/v1/invoiceitems"], ["GET", "/v1/invoices"], ["POST", "/v1/invoices"], ["GET", "/v1/invoices/:id"], ["POST", "/v1/invoices/:id"], ["POST", "/v1/invoices/:id/finalize"], ["POST", "/v1/invoices/:id/pay"], ["POST", "/v1/invoices/:id/void"], ["GET", "/v1/payment_intents"], ["POST", "/v1/payment_intents"], ["GET", "/v1/payment_intents/:id"], ["POST", "/v1/payment_intents/:id/cancel"], ["POST", "/v1/payment_intents/:id/confirm"], ["GET", "/v1/payment_intents/search"], ["GET", "/v1/payment_methods/:id"], ["GET", "/v1/prices"], ["GET", "/v1/prices/:id"], ["GET", "/v1/products"], ["GET", "/v1/products/:id"], ["GET", "/v1/refunds"], ["POST", "/v1/refunds"], ["GET", "/v1/refunds/:id"], ["GET", "/v1/subscriptions"], ["GET", "/v1/subscriptions/:id"], ["POST", "/v1/subscriptions/:id"], ["DELETE", "/v1/subscriptions/:id"]] },
2183
2183
  { "name": "paypal", "title": "PayPal", "category": "Payments", "description": "Invoices, checkout orders, payments, refunds, subscriptions and transaction reports", "version": "REST", "env": ["PAYPAL_API_URL", "PAYPAL_CLIENT_ID", "PAYPAL_CLIENT_SECRET"], "endpoints": [["GET", "/v1/billing/plans"], ["POST", "/v1/billing/plans"], ["GET", "/v1/billing/plans/:id"], ["POST", "/v1/billing/plans/:id/activate"], ["POST", "/v1/billing/plans/:id/deactivate"], ["GET", "/v1/billing/subscriptions"], ["POST", "/v1/billing/subscriptions"], ["GET", "/v1/billing/subscriptions/:id"], ["PATCH", "/v1/billing/subscriptions/:id"], ["POST", "/v1/billing/subscriptions/:id/activate"], ["POST", "/v1/billing/subscriptions/:id/cancel"], ["POST", "/v1/billing/subscriptions/:id/capture"], ["POST", "/v1/billing/subscriptions/:id/revise"], ["POST", "/v1/billing/subscriptions/:id/suspend"], ["GET", "/v1/billing/subscriptions/:id/transactions"], ["GET", "/v1/catalogs/products"], ["GET", "/v1/catalogs/products/:id"], ["POST", "/v2/checkout/orders"], ["GET", "/v2/checkout/orders/:id"], ["PATCH", "/v2/checkout/orders/:id"], ["POST", "/v2/checkout/orders/:id/authorize"], ["POST", "/v2/checkout/orders/:id/capture"], ["POST", "/v2/checkout/orders/:id/confirm-payment-source"], ["POST", "/v2/checkout/orders/:id/track"], ["PATCH", "/v2/checkout/orders/:id/trackers/:tracker"], ["GET", "/v2/invoicing/invoices"], ["POST", "/v2/invoicing/invoices"], ["GET", "/v2/invoicing/invoices/:id"], ["POST", "/v2/invoicing/invoices/:id/send"], ["POST", "/v1/oauth2/token"], ["GET", "/v2/payments/authorizations/:id"], ["POST", "/v2/payments/authorizations/:id/capture"], ["POST", "/v2/payments/authorizations/:id/reauthorize"], ["POST", "/v2/payments/authorizations/:id/void"], ["GET", "/v2/payments/captures/:id"], ["POST", "/v2/payments/captures/:id/refund"], ["GET", "/v2/payments/refunds/:id"], ["GET", "/v1/reporting/balances"], ["GET", "/v1/reporting/transactions"]] },
2184
2184
  { "name": "shopify", "title": "Shopify", "category": "Commerce", "description": "Orders, products, inventory, customers, fulfillments and refunds", "version": "Admin GraphQL 2026-10", "env": ["SHOPIFY_API_URL", "SHOPIFY_ACCESS_TOKEN", "SHOPIFY_API_VERSION"], "endpoints": [["QUERY", "customer"], ["MUTATION", "customerCreate"], ["QUERY", "customers"], ["MUTATION", "customerUpdate"], ["MUTATION", "fulfillmentCreate"], ["QUERY", "fulfillmentOrder"], ["MUTATION", "fulfillmentTrackingInfoUpdate"], ["MUTATION", "inventoryAdjustQuantities"], ["QUERY", "inventoryItem"], ["MUTATION", "inventorySetQuantities"], ["QUERY", "job"], ["QUERY", "location"], ["QUERY", "locations"], ["QUERY", "node"], ["QUERY", "nodes"], ["QUERY", "order"], ["MUTATION", "orderCancel"], ["MUTATION", "orderClose"], ["MUTATION", "orderMarkAsPaid"], ["MUTATION", "orderOpen"], ["QUERY", "orders"], ["MUTATION", "orderUpdate"], ["QUERY", "product"], ["QUERY", "products"], ["MUTATION", "productUpdate"], ["QUERY", "productVariant"], ["QUERY", "productVariants"], ["MUTATION", "productVariantsBulkUpdate"], ["MUTATION", "refundCreate"], ["QUERY", "shop"], ["MUTATION", "tagsAdd"], ["MUTATION", "tagsRemove"]] },
2185
2185
  { "name": "kalshi", "title": "Kalshi", "category": "Markets", "description": "Event contracts: markets, order books, orders, positions and settlements", "version": "Trade API v2", "env": ["KALSHI_API_URL", "KALSHI_API_KEY_ID", "KALSHI_PRIVATE_KEY"], "endpoints": [["GET", "/trade-api/v2/events"], ["GET", "/trade-api/v2/events/{event_ticker}"], ["GET", "/trade-api/v2/exchange/schedule"], ["GET", "/trade-api/v2/exchange/status"], ["GET", "/trade-api/v2/markets"], ["GET", "/trade-api/v2/markets/{ticker}"], ["GET", "/trade-api/v2/markets/{ticker}/orderbook"], ["GET", "/trade-api/v2/markets/trades"], ["GET", "/trade-api/v2/portfolio/balance"], ["POST", "/trade-api/v2/portfolio/events/orders"], ["DELETE", "/trade-api/v2/portfolio/events/orders"], ["DELETE", "/trade-api/v2/portfolio/events/orders/{order_id}"], ["POST", "/trade-api/v2/portfolio/events/orders/{order_id}/amend"], ["POST", "/trade-api/v2/portfolio/events/orders/{order_id}/decrease"], ["POST", "/trade-api/v2/portfolio/events/orders/batched"], ["DELETE", "/trade-api/v2/portfolio/events/orders/batched"], ["GET", "/trade-api/v2/portfolio/fills"], ["GET", "/trade-api/v2/portfolio/orders"], ["POST", "/trade-api/v2/portfolio/orders"], ["GET", "/trade-api/v2/portfolio/orders/{order_id}"], ["DELETE", "/trade-api/v2/portfolio/orders/{order_id}"], ["GET", "/trade-api/v2/portfolio/positions"], ["GET", "/trade-api/v2/portfolio/settlements"], ["GET", "/trade-api/v2/series"], ["GET", "/trade-api/v2/series/{series_ticker}"]] },
2186
- { "name": "datadog", "title": "Datadog", "category": "Monitoring", "description": "Monitors, metrics and logs", "version": "v1 / v2", "env": ["DATADOG_API_URL", "DD_API_KEY", "DD_APP_KEY"], "endpoints": [["GET", "/api/v1/dashboard"], ["GET", "/api/v1/dashboard/:id"], ["GET", "/api/v1/downtime"], ["POST", "/api/v1/downtime"], ["GET", "/api/v1/downtime/:id"], ["PUT", "/api/v1/downtime/:id"], ["DELETE", "/api/v1/downtime/:id"], ["GET", "/api/v2/downtime"], ["POST", "/api/v2/downtime"], ["GET", "/api/v2/downtime/:id"], ["PATCH", "/api/v2/downtime/:id"], ["DELETE", "/api/v2/downtime/:id"], ["GET", "/api/v1/events"], ["POST", "/api/v1/events"], ["GET", "/api/v2/incidents"], ["POST", "/api/v2/incidents"], ["GET", "/api/v2/incidents/:id"], ["PATCH", "/api/v2/incidents/:id"], ["POST", "/api/v2/logs/events/search"], ["GET", "/api/v1/monitor"], ["GET", "/api/v1/monitor/:id"], ["POST", "/api/v1/monitor/:id/mute"], ["POST", "/api/v1/monitor/:id/unmute"], ["GET", "/api/v1/monitor/:monitor_id/downtimes"], ["GET", "/api/v2/monitor/:monitor_id/downtime_matches"], ["GET", "/api/v1/query"]] },
2186
+ { "name": "datadog", "title": "Datadog", "category": "Monitoring", "description": "Monitors, metrics and logs", "version": "v1 / v2", "env": ["DATADOG_API_URL", "DD_API_KEY", "DD_APP_KEY"], "endpoints": [["GET", "/api/v1/dashboard"], ["GET", "/api/v1/dashboard/:id"], ["GET", "/api/v1/downtime"], ["POST", "/api/v1/downtime"], ["GET", "/api/v1/downtime/:id"], ["PUT", "/api/v1/downtime/:id"], ["DELETE", "/api/v1/downtime/:id"], ["GET", "/api/v2/downtime"], ["POST", "/api/v2/downtime"], ["GET", "/api/v2/downtime/:id"], ["PATCH", "/api/v2/downtime/:id"], ["DELETE", "/api/v2/downtime/:id"], ["GET", "/api/v1/events"], ["POST", "/api/v1/events"], ["GET", "/api/v2/incidents"], ["POST", "/api/v2/incidents"], ["GET", "/api/v2/incidents/:id"], ["PATCH", "/api/v2/incidents/:id"], ["POST", "/api/v2/logs/events/search"], ["GET", "/api/v1/monitor"], ["GET", "/api/v1/monitor/:id"], ["POST", "/api/v1/monitor/:id/mute"], ["POST", "/api/v1/monitor/:id/unmute"], ["GET", "/api/v1/monitor/:monitor_id/downtimes"], ["GET", "/api/v1/monitor/search"], ["GET", "/api/v2/monitor/:monitor_id/downtime_matches"], ["GET", "/api/v1/query"]] },
2187
2187
  { "name": "sentry", "title": "Sentry", "category": "Errors", "description": "Issues, error events, triage and releases", "version": "REST API /api/0", "env": ["SENTRY_API_URL", "SENTRY_AUTH_TOKEN"], "endpoints": [["GET", "/api/0/"], ["GET", "/api/0/organizations/"], ["GET", "/api/0/organizations/:org/"], ["GET", "/api/0/organizations/:org/eventids/:event/"], ["GET", "/api/0/organizations/:org/events/"], ["GET", "/api/0/organizations/:org/issues/"], ["PUT", "/api/0/organizations/:org/issues/"], ["GET", "/api/0/organizations/:org/issues/:issue/"], ["PUT", "/api/0/organizations/:org/issues/:issue/"], ["DELETE", "/api/0/organizations/:org/issues/:issue/"], ["GET", "/api/0/organizations/:org/issues/:issue/comments/"], ["POST", "/api/0/organizations/:org/issues/:issue/comments/"], ["GET", "/api/0/organizations/:org/issues/:issue/events/"], ["GET", "/api/0/organizations/:org/issues/:issue/events/:event/"], ["GET", "/api/0/organizations/:org/issues/:issue/tags/:key/"], ["GET", "/api/0/organizations/:org/issues/:issue/tags/:key/values/"], ["GET", "/api/0/organizations/:org/members/"], ["GET", "/api/0/organizations/:org/projects/"], ["GET", "/api/0/organizations/:org/releases/"], ["POST", "/api/0/organizations/:org/releases/"], ["GET", "/api/0/organizations/:org/releases/:version/"], ["PUT", "/api/0/organizations/:org/releases/:version/"], ["GET", "/api/0/organizations/:org/releases/:version/deploys/"], ["POST", "/api/0/organizations/:org/releases/:version/deploys/"], ["GET", "/api/0/organizations/:org/shortids/:short/"], ["GET", "/api/0/organizations/:org/teams/"], ["GET", "/api/0/projects/:org/:project/"], ["GET", "/api/0/projects/:org/:project/events/"], ["GET", "/api/0/projects/:org/:project/events/:event/"], ["GET", "/api/0/projects/:org/:project/issues/"], ["GET", "/api/0/projects/:org/:project/keys/"], ["GET", "/api/0/projects/:org/:project/releases/"]] },
2188
2188
  { "name": "better-stack", "title": "Better Stack", "category": "Uptime", "description": "Uptime monitors, heartbeats, incidents and status pages", "version": "Uptime API v2 / v3", "env": ["BETTER_STACK_API_URL", "BETTER_STACK_API_TOKEN"], "endpoints": [["GET", "/api/v1/heartbeat/{token}"], ["POST", "/api/v1/heartbeat/{token}"], ["GET", "/api/v2/heartbeats"], ["POST", "/api/v2/heartbeats"], ["GET", "/api/v2/heartbeats/{id}"], ["PATCH", "/api/v2/heartbeats/{id}"], ["DELETE", "/api/v2/heartbeats/{id}"], ["GET", "/api/v3/incidents"], ["POST", "/api/v3/incidents"], ["GET", "/api/v3/incidents/{id}"], ["DELETE", "/api/v3/incidents/{id}"], ["POST", "/api/v3/incidents/{id}/acknowledge"], ["POST", "/api/v3/incidents/{id}/resolve"], ["GET", "/api/v2/monitors"], ["POST", "/api/v2/monitors"], ["GET", "/api/v2/monitors/{id}"], ["PATCH", "/api/v2/monitors/{id}"], ["DELETE", "/api/v2/monitors/{id}"], ["GET", "/api/v2/monitors/{id}/response-times"], ["GET", "/api/v2/monitors/{id}/sla"], ["GET", "/api/v2/on-calls"], ["GET", "/api/v2/on-calls/{id}"], ["GET", "/api/v2/status-pages"], ["GET", "/api/v2/status-pages/{id}"], ["GET", "/api/v2/status-pages/{id}/resources"], ["GET", "/api/v2/status-pages/{id}/status-reports"], ["POST", "/api/v2/status-pages/{id}/status-reports"], ["GET", "/api/v2/status-pages/{id}/status-reports/{report_id}"], ["POST", "/api/v2/status-pages/{id}/status-reports/{report_id}/status-updates"]] },
2189
2189
  { "name": "pagerduty", "title": "PagerDuty", "category": "Incidents", "description": "Incidents, on-call and escalation", "version": "REST v2 / Events v2", "env": ["PAGERDUTY_API_URL", "PAGERDUTY_API_TOKEN", "PAGERDUTY_FROM_EMAIL"], "endpoints": [["POST", "/v2/enqueue"], ["GET", "/escalation_policies"], ["GET", "/escalation_policies/:id"], ["GET", "/incidents"], ["GET", "/incidents/:id"], ["PUT", "/incidents/:id"], ["GET", "/incidents/:id/log_entries"], ["GET", "/incidents/:id/notes"], ["POST", "/incidents/:id/notes"], ["GET", "/oncalls"], ["GET", "/schedules"], ["GET", "/schedules/:id"], ["GET", "/schedules/:id/overrides"], ["POST", "/schedules/:id/overrides"], ["DELETE", "/schedules/:id/overrides/:override_id"], ["GET", "/schedules/:id/users"], ["GET", "/services"], ["GET", "/services/:id"], ["GET", "/users"], ["GET", "/users/:id"]] },
@@ -2191,7 +2191,7 @@ var TOOL_CATALOG = [
2191
2191
  { "name": "salesforce", "title": "Salesforce", "category": "CRM", "description": "Accounts, contacts and pipeline", "version": "REST v67.0", "env": ["SALESFORCE_INSTANCE_URL", "SALESFORCE_ACCESS_TOKEN"], "endpoints": [["POST", "/services/data/v67.0/composite"], ["GET", "/services/data/v67.0/query"], ["GET", "/services/data/v67.0/query/:locator"], ["GET", "/services/data/v67.0/sobjects"], ["GET", "/services/data/v67.0/sobjects/:type"], ["POST", "/services/data/v67.0/sobjects/:type"], ["GET", "/services/data/v67.0/sobjects/:type/:field/:value"], ["PATCH", "/services/data/v67.0/sobjects/:type/:field/:value"], ["GET", "/services/data/v67.0/sobjects/:type/:id"], ["PATCH", "/services/data/v67.0/sobjects/:type/:id"], ["DELETE", "/services/data/v67.0/sobjects/:type/:id"], ["GET", "/services/data/v67.0/sobjects/:type/describe"], ["GET", "/services/data/"], ["GET", "/services/data/v67.0"]] },
2192
2192
  { "name": "attio", "title": "Attio", "category": "CRM", "description": "People, companies, deals, lists, notes and tasks", "version": "REST v2", "env": ["ATTIO_API_URL", "ATTIO_API_KEY"], "endpoints": [["GET", "/v2/:target/:identifier/attributes"], ["GET", "/v2/lists"], ["GET", "/v2/lists/:list"], ["POST", "/v2/lists/:list/entries"], ["PATCH", "/v2/lists/:list/entries/:entry_id"], ["DELETE", "/v2/lists/:list/entries/:entry_id"], ["POST", "/v2/lists/:list/entries/query"], ["GET", "/v2/notes"], ["POST", "/v2/notes"], ["GET", "/v2/notes/:note_id"], ["DELETE", "/v2/notes/:note_id"], ["GET", "/v2/objects"], ["GET", "/v2/objects/:object"], ["POST", "/v2/objects/:object/records"], ["PUT", "/v2/objects/:object/records"], ["GET", "/v2/objects/:object/records/:record_id"], ["PUT", "/v2/objects/:object/records/:record_id"], ["PATCH", "/v2/objects/:object/records/:record_id"], ["DELETE", "/v2/objects/:object/records/:record_id"], ["GET", "/v2/objects/:object/records/:record_id/attributes/:attribute/values"], ["GET", "/v2/objects/:object/records/:record_id/entries"], ["POST", "/v2/objects/:object/records/query"], ["GET", "/v2/self"], ["GET", "/v2/tasks"], ["POST", "/v2/tasks"], ["GET", "/v2/tasks/:task_id"], ["PATCH", "/v2/tasks/:task_id"], ["DELETE", "/v2/tasks/:task_id"], ["GET", "/v2/workspace_members"], ["GET", "/v2/workspace_members/:id"]] },
2193
2193
  { "name": "intercom", "title": "Intercom", "category": "Support", "description": "Inbox conversations, contacts, companies, tags, notes and help center articles", "version": "API 2.14", "env": ["INTERCOM_API_URL", "INTERCOM_ACCESS_TOKEN"], "endpoints": [["GET", "/admins"], ["GET", "/admins/:id"], ["PUT", "/admins/:id/away"], ["GET", "/articles"], ["POST", "/articles"], ["GET", "/articles/:id"], ["PUT", "/articles/:id"], ["GET", "/articles/search"], ["GET", "/companies"], ["POST", "/companies"], ["GET", "/companies/:id"], ["PUT", "/companies/:id"], ["GET", "/companies/:id/contacts"], ["POST", "/companies/list"], ["GET", "/contacts"], ["POST", "/contacts"], ["GET", "/contacts/:id"], ["PUT", "/contacts/:id"], ["DELETE", "/contacts/:id"], ["POST", "/contacts/:id/archive"], ["GET", "/contacts/:id/companies"], ["POST", "/contacts/:id/companies"], ["DELETE", "/contacts/:id/companies/:company"], ["GET", "/contacts/:id/notes"], ["POST", "/contacts/:id/notes"], ["GET", "/contacts/:id/tags"], ["POST", "/contacts/:id/tags"], ["DELETE", "/contacts/:id/tags/:tag"], ["POST", "/contacts/:id/unarchive"], ["GET", "/contacts/find_by_external_id/:id"], ["POST", "/contacts/search"], ["GET", "/conversations"], ["POST", "/conversations"], ["GET", "/conversations/:id"], ["PUT", "/conversations/:id"], ["POST", "/conversations/:id/parts"], ["POST", "/conversations/:id/reply"], ["POST", "/conversations/:id/tags"], ["DELETE", "/conversations/:id/tags/:tag"], ["POST", "/conversations/search"], ["GET", "/me"], ["GET", "/notes/:id"], ["GET", "/tags"], ["POST", "/tags"], ["GET", "/tags/:id"], ["DELETE", "/tags/:id"], ["GET", "/teams"], ["GET", "/teams/:id"]] },
2194
- { "name": "zendesk", "title": "Zendesk", "category": "Support", "description": "Support tickets, replies, people and organizations", "version": "Support API v2", "env": ["ZENDESK_API_URL", "ZENDESK_EMAIL", "ZENDESK_API_TOKEN"], "endpoints": [["GET", "/api/v2/groups"], ["GET", "/api/v2/macros"], ["GET", "/api/v2/organizations"], ["GET", "/api/v2/organizations/{id}"], ["GET", "/api/v2/organizations/{id}/tickets"], ["GET", "/api/v2/search"], ["GET", "/api/v2/tickets"], ["POST", "/api/v2/tickets"], ["GET", "/api/v2/tickets/{id}"], ["PUT", "/api/v2/tickets/{id}"], ["DELETE", "/api/v2/tickets/{id}"], ["GET", "/api/v2/tickets/{id}/comments"], ["GET", "/api/v2/tickets/{id}/macros/{macro_id}/apply"], ["GET", "/api/v2/users"], ["POST", "/api/v2/users"], ["GET", "/api/v2/users/{id}"], ["GET", "/api/v2/users/{id}/tickets/requested"], ["GET", "/api/v2/users/me"], ["GET", "/api/v2/users/search"], ["GET", "/api/v2/views"], ["GET", "/api/v2/views/{id}/tickets"]] },
2194
+ { "name": "zendesk", "title": "Zendesk", "category": "Support", "description": "Support tickets, replies, people and organizations", "version": "Support API v2", "env": ["ZENDESK_API_URL", "ZENDESK_EMAIL", "ZENDESK_API_TOKEN"], "endpoints": [["GET", "/api/v2/brands"], ["GET", "/api/v2/groups"], ["GET", "/api/v2/macros"], ["GET", "/api/v2/organizations"], ["GET", "/api/v2/organizations/{id}"], ["GET", "/api/v2/organizations/{id}/tickets"], ["GET", "/api/v2/organizations/autocomplete"], ["GET", "/api/v2/organizations/search"], ["GET", "/api/v2/search"], ["GET", "/api/v2/tickets"], ["POST", "/api/v2/tickets"], ["GET", "/api/v2/tickets/{id}"], ["PUT", "/api/v2/tickets/{id}"], ["DELETE", "/api/v2/tickets/{id}"], ["GET", "/api/v2/tickets/{id}/comments"], ["GET", "/api/v2/tickets/{id}/macros/{macro_id}/apply"], ["GET", "/api/v2/tickets/count"], ["GET", "/api/v2/users"], ["POST", "/api/v2/users"], ["GET", "/api/v2/users/{id}"], ["GET", "/api/v2/users/{id}/tickets/requested"], ["GET", "/api/v2/users/me"], ["GET", "/api/v2/users/search"], ["GET", "/api/v2/views"], ["GET", "/api/v2/views/{id}/tickets"]] },
2195
2195
  { "name": "gong", "title": "Gong", "category": "Sales calls", "description": "Sales calls and customer conversations", "version": "v2", "env": ["GONG_API_URL", "GONG_ACCESS_KEY", "GONG_ACCESS_KEY_SECRET"], "endpoints": [["GET", "/v2/calls"], ["POST", "/v2/calls/extensive"], ["POST", "/v2/calls/transcript"], ["GET", "/v2/users"], ["GET", "/v2/workspaces"]] },
2196
2196
  { "name": "ga4", "title": "Google Analytics", "category": "Analytics", "description": "Traffic, campaigns and conversions", "version": "Data API v1beta REST", "env": ["GA4_API_URL", "GA4_ACCESS_TOKEN"], "endpoints": [["POST", "/v1beta/properties/:property:batchRunReports"], ["POST", "/v1beta/properties/:property:checkCompatibility"], ["POST", "/v1beta/properties/:property:runReport"], ["GET", "/v1beta/properties/:property/metadata"]] },
2197
2197
  { "name": "google-ads", "title": "Google Ads", "category": "Ads", "description": "Search campaigns, ads and reports", "version": "v26", "env": ["GOOGLE_ADS_GRPC_ENDPOINT", "GOOGLE_ADS_ACCESS_TOKEN"], "endpoints": [["POST", "/v26/customers/:customerId/adGroupAds:mutate"], ["POST", "/v26/customers/:customerId/adGroupCriteria:mutate"], ["POST", "/v26/customers/:customerId/adGroups:mutate"], ["POST", "/v26/customers/:customerId/campaignBudgets:mutate"], ["POST", "/v26/customers/:customerId/campaigns:mutate"], ["GET", "/v26/customers:listAccessibleCustomers"], ["POST", "/v26/customers/:customerId/googleAds:mutate"], ["POST", "/v26/customers/:customerId/googleAds:search"], ["POST", "/v26/customers/:customerId/googleAds:searchStream"]] },