@voxslopuli/teamdynamix-mcp 0.5.1 → 0.5.2

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/index.js CHANGED
@@ -15,7 +15,7 @@ var init_package = __esm({
15
15
  "package.json"() {
16
16
  package_default = {
17
17
  name: "@voxslopuli/teamdynamix-mcp",
18
- version: "0.5.1",
18
+ version: "0.5.2",
19
19
  private: false,
20
20
  description: "A production-ready TypeScript MCP server for TeamDynamix",
21
21
  keywords: [
@@ -61,7 +61,7 @@ var init_package = __esm({
61
61
  },
62
62
  dependencies: {
63
63
  "@modelcontextprotocol/sdk": "^1.30.0",
64
- "@voxslopuli/teamdynamix-ts": "^0.2.0",
64
+ "@voxslopuli/teamdynamix-ts": "^0.3.0",
65
65
  tablemark: "^4.1.0",
66
66
  zod: "^4.6.2"
67
67
  },
@@ -405,7 +405,7 @@ var init_client_factory = __esm({
405
405
  }
406
406
  searchTickets(appId, body) {
407
407
  return this.sdk().then(async (s) => {
408
- const { data, error } = await s.POST("/api/{appId}/tickets/search", {
408
+ const { data, error } = await s.tickets.appIdTicketsSearch({
409
409
  params: { path: { appId } },
410
410
  body: mapTicketSearchBody(body)
411
411
  });
@@ -452,7 +452,7 @@ var init_client_factory = __esm({
452
452
  );
453
453
  for (const entry of missing.slice(0, limit)) {
454
454
  const target = entry;
455
- const { data, error } = await s.GET("/api/feed/{id}", {
455
+ const { data, error } = await s.GET(`/api/feed/${target.ID}`, {
456
456
  params: { path: { id: target.ID } }
457
457
  });
458
458
  if (error) {
@@ -528,8 +528,7 @@ var init_client_factory = __esm({
528
528
  }
529
529
  searchKbArticles(appId, body) {
530
530
  return this.sdk().then(async (s) => {
531
- const post = s.POST;
532
- const { data, error } = await post("/api/{appId}/knowledgebase/search", {
531
+ const { data, error } = await s.referenceData.appIdKnowledgebaseSearch({
533
532
  params: { path: { appId } },
534
533
  body: sanitizeTo(body, ARTICLE_SEARCH_KEYS)
535
534
  });