@steuerboard/mcp 0.1.0 → 0.1.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.
Files changed (88) hide show
  1. package/bin/mcp-server.js +38 -36
  2. package/bin/mcp-server.js.map +29 -29
  3. package/esm/src/funcs/adminClientsCreateClient.js +1 -1
  4. package/esm/src/funcs/adminClientsCreateClient.js.map +1 -1
  5. package/esm/src/funcs/adminClientsGetClient.js +1 -1
  6. package/esm/src/funcs/adminClientsGetClient.js.map +1 -1
  7. package/esm/src/funcs/adminClientsListClients.js +1 -1
  8. package/esm/src/funcs/adminClientsListClients.js.map +1 -1
  9. package/esm/src/funcs/authMe.js +1 -1
  10. package/esm/src/funcs/authMe.js.map +1 -1
  11. package/esm/src/funcs/filesCreateFile.js +1 -1
  12. package/esm/src/funcs/filesCreateFile.js.map +1 -1
  13. package/esm/src/funcs/filesDeleteFile.js +1 -1
  14. package/esm/src/funcs/filesDeleteFile.js.map +1 -1
  15. package/esm/src/funcs/filesGetFile.js +1 -1
  16. package/esm/src/funcs/filesGetFile.js.map +1 -1
  17. package/esm/src/funcs/filesListFiles.js +1 -1
  18. package/esm/src/funcs/filesListFiles.js.map +1 -1
  19. package/esm/src/funcs/filesUpdateFile.js +1 -1
  20. package/esm/src/funcs/filesUpdateFile.js.map +1 -1
  21. package/esm/src/funcs/healthIndex.js +1 -1
  22. package/esm/src/funcs/healthIndex.js.map +1 -1
  23. package/esm/src/funcs/healthPing.js +1 -1
  24. package/esm/src/funcs/healthPing.js.map +1 -1
  25. package/esm/src/funcs/tasksCreateTask.js +1 -1
  26. package/esm/src/funcs/tasksCreateTask.js.map +1 -1
  27. package/esm/src/funcs/tasksDeleteTask.js +1 -1
  28. package/esm/src/funcs/tasksDeleteTask.js.map +1 -1
  29. package/esm/src/funcs/tasksGetTask.js +1 -1
  30. package/esm/src/funcs/tasksGetTask.js.map +1 -1
  31. package/esm/src/funcs/tasksListTasks.js +1 -1
  32. package/esm/src/funcs/tasksListTasks.js.map +1 -1
  33. package/esm/src/funcs/tasksUpdateTask.js +1 -1
  34. package/esm/src/funcs/tasksUpdateTask.js.map +1 -1
  35. package/esm/src/funcs/workspacesCreateWorkspace.js +1 -1
  36. package/esm/src/funcs/workspacesCreateWorkspace.js.map +1 -1
  37. package/esm/src/funcs/workspacesGetWorkspace.js +1 -1
  38. package/esm/src/funcs/workspacesGetWorkspace.js.map +1 -1
  39. package/esm/src/funcs/workspacesListWorkspaces.js +1 -1
  40. package/esm/src/funcs/workspacesListWorkspaces.js.map +1 -1
  41. package/esm/src/lib/config.d.ts +3 -3
  42. package/esm/src/lib/config.d.ts.map +1 -1
  43. package/esm/src/lib/config.js +5 -3
  44. package/esm/src/lib/config.js.map +1 -1
  45. package/esm/src/mcp-server/mcp-server.js +1 -1
  46. package/esm/src/mcp-server/mcp-server.js.map +1 -1
  47. package/esm/src/mcp-server/server.d.ts.map +1 -1
  48. package/esm/src/mcp-server/server.js +13 -14
  49. package/esm/src/mcp-server/server.js.map +1 -1
  50. package/esm/src/models/client.js +3 -3
  51. package/esm/src/models/client.js.map +1 -1
  52. package/esm/src/models/file.js +3 -3
  53. package/esm/src/models/file.js.map +1 -1
  54. package/esm/src/models/fileupdate.js +1 -1
  55. package/esm/src/models/fileupdate.js.map +1 -1
  56. package/esm/src/models/taskcreate.js +1 -1
  57. package/esm/src/models/taskcreate.js.map +1 -1
  58. package/esm/src/models/workspace.js +3 -3
  59. package/esm/src/models/workspace.js.map +1 -1
  60. package/manifest.json +1 -1
  61. package/package.json +1 -1
  62. package/src/funcs/adminClientsCreateClient.ts +1 -1
  63. package/src/funcs/adminClientsGetClient.ts +1 -1
  64. package/src/funcs/adminClientsListClients.ts +1 -1
  65. package/src/funcs/authMe.ts +1 -1
  66. package/src/funcs/filesCreateFile.ts +1 -1
  67. package/src/funcs/filesDeleteFile.ts +1 -1
  68. package/src/funcs/filesGetFile.ts +1 -1
  69. package/src/funcs/filesListFiles.ts +1 -1
  70. package/src/funcs/filesUpdateFile.ts +1 -1
  71. package/src/funcs/healthIndex.ts +1 -1
  72. package/src/funcs/healthPing.ts +1 -1
  73. package/src/funcs/tasksCreateTask.ts +1 -1
  74. package/src/funcs/tasksDeleteTask.ts +1 -1
  75. package/src/funcs/tasksGetTask.ts +1 -1
  76. package/src/funcs/tasksListTasks.ts +1 -1
  77. package/src/funcs/tasksUpdateTask.ts +1 -1
  78. package/src/funcs/workspacesCreateWorkspace.ts +1 -1
  79. package/src/funcs/workspacesGetWorkspace.ts +1 -1
  80. package/src/funcs/workspacesListWorkspaces.ts +1 -1
  81. package/src/lib/config.ts +43 -41
  82. package/src/mcp-server/mcp-server.ts +10 -10
  83. package/src/mcp-server/server.ts +70 -73
  84. package/src/models/client.ts +3 -3
  85. package/src/models/file.ts +3 -3
  86. package/src/models/fileupdate.ts +1 -1
  87. package/src/models/taskcreate.ts +1 -1
  88. package/src/models/workspace.ts +3 -3
package/bin/mcp-server.js CHANGED
@@ -40754,13 +40754,15 @@ function serverURLFromOptions(options) {
40754
40754
  var ServerList, SDK_METADATA;
40755
40755
  var init_config = __esm(() => {
40756
40756
  init_url();
40757
- ServerList = ["https://api.steuerboard.com"];
40757
+ ServerList = [
40758
+ "https://api.steuerboard.com/v1"
40759
+ ];
40758
40760
  SDK_METADATA = {
40759
40761
  language: "typescript",
40760
40762
  openapiDocVersion: "0.1.0",
40761
- sdkVersion: "0.1.0",
40763
+ sdkVersion: "0.1.2",
40762
40764
  genVersion: "2.709.0",
40763
- userAgent: "speakeasy-sdk/mcp-typescript 0.1.0 2.709.0 0.1.0 @steuerboard/mcp"
40765
+ userAgent: "speakeasy-sdk/mcp-typescript 0.1.2 2.709.0 0.1.0 @steuerboard/mcp"
40764
40766
  };
40765
40767
  });
40766
40768
 
@@ -42210,8 +42212,8 @@ var init_client = __esm(() => {
42210
42212
  "legal_person"
42211
42213
  ]).describe("The type of the client. 'natural_person' for individuals, 'legal_person' for companies like UG, GmbH, AG, Ltd., Inc., etc. and 'individual_enterprise' for sole proprietorships.");
42212
42214
  Client$zodSchema = objectType({
42213
- archivedAt: stringType().nullable(),
42214
- createdAt: stringType(),
42215
+ archivedAt: stringType().datetime({ offset: true }).nullable(),
42216
+ createdAt: stringType().datetime({ offset: true }),
42215
42217
  customId: stringType().nullable(),
42216
42218
  datevClientId: stringType().nullable(),
42217
42219
  id: stringType(),
@@ -42219,7 +42221,7 @@ var init_client = __esm(() => {
42219
42221
  name: stringType(),
42220
42222
  slug: stringType(),
42221
42223
  type: ClientClientType$zodSchema,
42222
- updatedAt: stringType()
42224
+ updatedAt: stringType().datetime({ offset: true })
42223
42225
  });
42224
42226
  });
42225
42227
 
@@ -42329,7 +42331,7 @@ async function $do(client$, request, options) {
42329
42331
  }
42330
42332
  const payload$ = parsed$.value;
42331
42333
  const body$ = encodeJSON("body", payload$, { explode: true });
42332
- const path$ = pathToFunc("/v1/admin/clients")();
42334
+ const path$ = pathToFunc("/admin/clients")();
42333
42335
  const headers$ = new Headers(compactMap({
42334
42336
  "Content-Type": "application/json",
42335
42337
  Accept: "application/json"
@@ -42518,7 +42520,7 @@ async function $do2(client$, request, options) {
42518
42520
  charEncoding: "percent"
42519
42521
  })
42520
42522
  };
42521
- const path$ = pathToFunc("/v1/admin/clients/{id}")(pathParams$);
42523
+ const path$ = pathToFunc("/admin/clients/{id}")(pathParams$);
42522
42524
  const headers$ = new Headers(compactMap({
42523
42525
  Accept: "application/json"
42524
42526
  }));
@@ -42730,7 +42732,7 @@ async function $do3(client$, request, options) {
42730
42732
  }
42731
42733
  const payload$ = parsed$.value;
42732
42734
  const body$ = null;
42733
- const path$ = pathToFunc("/v1/admin/clients")();
42735
+ const path$ = pathToFunc("/admin/clients")();
42734
42736
  const query$ = encodeFormQuery({
42735
42737
  archived: payload$?.archived,
42736
42738
  cursor: payload$?.cursor,
@@ -42880,7 +42882,7 @@ function authMe(client$, options) {
42880
42882
  return new APIPromise($do4(client$, options));
42881
42883
  }
42882
42884
  async function $do4(client$, options) {
42883
- const path$ = pathToFunc("/v1/me")();
42885
+ const path$ = pathToFunc("/me")();
42884
42886
  const headers$ = new Headers(compactMap({
42885
42887
  Accept: "application/json"
42886
42888
  }));
@@ -43045,9 +43047,9 @@ var FileT$zodSchema;
43045
43047
  var init_file = __esm(() => {
43046
43048
  init_zod();
43047
43049
  FileT$zodSchema = objectType({
43048
- createdAt: stringType(),
43050
+ createdAt: stringType().datetime({ offset: true }),
43049
43051
  createdById: stringType().nullable(),
43050
- documentDate: stringType().nullable(),
43052
+ documentDate: stringType().datetime({ offset: true }).nullable(),
43051
43053
  folderId: stringType().nullable(),
43052
43054
  id: stringType(),
43053
43055
  labelIds: arrayType(stringType()).nullable(),
@@ -43055,7 +43057,7 @@ var init_file = __esm(() => {
43055
43057
  name: stringType(),
43056
43058
  size: numberType(),
43057
43059
  taskId: stringType().nullable(),
43058
- updatedAt: stringType(),
43060
+ updatedAt: stringType().datetime({ offset: true }),
43059
43061
  workspaceId: stringType()
43060
43062
  });
43061
43063
  });
@@ -43211,7 +43213,7 @@ async function $do5(client$, request, options) {
43211
43213
  if (payload$.FileCreate.taskId !== undefined) {
43212
43214
  appendForm(body$, "taskId", payload$.FileCreate.taskId);
43213
43215
  }
43214
- const path$ = pathToFunc("/v1/files")();
43216
+ const path$ = pathToFunc("/files")();
43215
43217
  const headers$ = new Headers(compactMap({
43216
43218
  Accept: "application/json",
43217
43219
  "x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
@@ -43400,7 +43402,7 @@ async function $do6(client$, request, options) {
43400
43402
  charEncoding: "percent"
43401
43403
  })
43402
43404
  };
43403
- const path$ = pathToFunc("/v1/files/{id}")(pathParams$);
43405
+ const path$ = pathToFunc("/files/{id}")(pathParams$);
43404
43406
  const headers$ = new Headers(compactMap({
43405
43407
  Accept: "application/json",
43406
43408
  "x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
@@ -43578,7 +43580,7 @@ async function $do7(client$, request, options) {
43578
43580
  charEncoding: "percent"
43579
43581
  })
43580
43582
  };
43581
- const path$ = pathToFunc("/v1/files/{id}")(pathParams$);
43583
+ const path$ = pathToFunc("/files/{id}")(pathParams$);
43582
43584
  const headers$ = new Headers(compactMap({
43583
43585
  Accept: "application/json",
43584
43586
  "x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
@@ -43762,7 +43764,7 @@ async function $do8(client$, request, options) {
43762
43764
  }
43763
43765
  const payload$ = parsed$.value;
43764
43766
  const body$ = null;
43765
- const path$ = pathToFunc("/v1/files")();
43767
+ const path$ = pathToFunc("/files")();
43766
43768
  const query$ = encodeFormQuery({
43767
43769
  cursor: payload$.cursor,
43768
43770
  limit: payload$.limit,
@@ -43873,7 +43875,7 @@ var FileUpdate$zodSchema;
43873
43875
  var init_fileupdate = __esm(() => {
43874
43876
  init_zod();
43875
43877
  FileUpdate$zodSchema = objectType({
43876
- documentDate: stringType().optional(),
43878
+ documentDate: stringType().datetime({ offset: true }).optional(),
43877
43879
  folderId: stringType().optional(),
43878
43880
  name: stringType().optional()
43879
43881
  });
@@ -43986,7 +43988,7 @@ async function $do9(client$, request, options) {
43986
43988
  charEncoding: "percent"
43987
43989
  })
43988
43990
  };
43989
- const path$ = pathToFunc("/v1/files/{id}")(pathParams$);
43991
+ const path$ = pathToFunc("/files/{id}")(pathParams$);
43990
43992
  const headers$ = new Headers(compactMap({
43991
43993
  "Content-Type": "application/json",
43992
43994
  Accept: "application/json",
@@ -44111,7 +44113,7 @@ function healthIndex(client$, options) {
44111
44113
  return new APIPromise($do10(client$, options));
44112
44114
  }
44113
44115
  async function $do10(client$, options) {
44114
- const path$ = pathToFunc("/v1")();
44116
+ const path$ = pathToFunc("/")();
44115
44117
  const headers$ = new Headers(compactMap({
44116
44118
  Accept: "application/json"
44117
44119
  }));
@@ -44211,7 +44213,7 @@ function healthPing(client$, options) {
44211
44213
  return new APIPromise($do11(client$, options));
44212
44214
  }
44213
44215
  async function $do11(client$, options) {
44214
- const path$ = pathToFunc("/v1/ping")();
44216
+ const path$ = pathToFunc("/ping")();
44215
44217
  const headers$ = new Headers(compactMap({
44216
44218
  Accept: "application/json"
44217
44219
  }));
@@ -44327,7 +44329,7 @@ var TaskCreate$zodSchema;
44327
44329
  var init_taskcreate = __esm(() => {
44328
44330
  init_zod();
44329
44331
  TaskCreate$zodSchema = objectType({
44330
- dueDate: stringType().optional(),
44332
+ dueDate: stringType().datetime({ offset: true }).optional(),
44331
44333
  text: stringType().optional(),
44332
44334
  title: stringType(),
44333
44335
  workspaceId: stringType()
@@ -44403,7 +44405,7 @@ async function $do12(client$, request, options) {
44403
44405
  }
44404
44406
  const payload$ = parsed$.value;
44405
44407
  const body$ = encodeJSON("body", payload$.TaskCreate, { explode: true });
44406
- const path$ = pathToFunc("/v1/tasks")();
44408
+ const path$ = pathToFunc("/tasks")();
44407
44409
  const headers$ = new Headers(compactMap({
44408
44410
  "Content-Type": "application/json",
44409
44411
  Accept: "application/json",
@@ -44580,7 +44582,7 @@ async function $do13(client$, request, options) {
44580
44582
  charEncoding: "percent"
44581
44583
  })
44582
44584
  };
44583
- const path$ = pathToFunc("/v1/tasks/{id}")(pathParams$);
44585
+ const path$ = pathToFunc("/tasks/{id}")(pathParams$);
44584
44586
  const headers$ = new Headers(compactMap({
44585
44587
  Accept: "application/json",
44586
44588
  "x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
@@ -44756,7 +44758,7 @@ async function $do14(client$, request, options) {
44756
44758
  charEncoding: "percent"
44757
44759
  })
44758
44760
  };
44759
- const path$ = pathToFunc("/v1/tasks/{id}")(pathParams$);
44761
+ const path$ = pathToFunc("/tasks/{id}")(pathParams$);
44760
44762
  const headers$ = new Headers(compactMap({
44761
44763
  Accept: "application/json",
44762
44764
  "x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
@@ -44951,7 +44953,7 @@ async function $do15(client$, request, options) {
44951
44953
  }
44952
44954
  const payload$ = parsed$.value;
44953
44955
  const body$ = null;
44954
- const path$ = pathToFunc("/v1/tasks")();
44956
+ const path$ = pathToFunc("/tasks")();
44955
44957
  const query$ = encodeFormQuery({
44956
44958
  cursor: payload$.cursor,
44957
44959
  limit: payload$.limit,
@@ -45186,7 +45188,7 @@ async function $do16(client$, request, options) {
45186
45188
  charEncoding: "percent"
45187
45189
  })
45188
45190
  };
45189
- const path$ = pathToFunc("/v1/tasks/{id}")(pathParams$);
45191
+ const path$ = pathToFunc("/tasks/{id}")(pathParams$);
45190
45192
  const headers$ = new Headers(compactMap({
45191
45193
  "Content-Type": "application/json",
45192
45194
  Accept: "application/json",
@@ -45288,12 +45290,12 @@ var Workspace$zodSchema;
45288
45290
  var init_workspace = __esm(() => {
45289
45291
  init_zod();
45290
45292
  Workspace$zodSchema = objectType({
45291
- archivedAt: stringType().nullable(),
45293
+ archivedAt: stringType().datetime({ offset: true }).nullable(),
45292
45294
  clientId: stringType(),
45293
- createdAt: stringType(),
45295
+ createdAt: stringType().datetime({ offset: true }),
45294
45296
  id: stringType(),
45295
45297
  name: stringType(),
45296
- updatedAt: stringType()
45298
+ updatedAt: stringType().datetime({ offset: true })
45297
45299
  });
45298
45300
  });
45299
45301
 
@@ -45375,7 +45377,7 @@ async function $do17(client$, request, options) {
45375
45377
  }
45376
45378
  const payload$ = parsed$.value;
45377
45379
  const body$ = encodeJSON("body", payload$.WorkspaceCreate, { explode: true });
45378
- const path$ = pathToFunc("/v1/workspaces")();
45380
+ const path$ = pathToFunc("/workspaces")();
45379
45381
  const headers$ = new Headers(compactMap({
45380
45382
  "Content-Type": "application/json",
45381
45383
  Accept: "application/json",
@@ -45552,7 +45554,7 @@ async function $do18(client$, request, options) {
45552
45554
  charEncoding: "percent"
45553
45555
  })
45554
45556
  };
45555
- const path$ = pathToFunc("/v1/workspaces/{id}")(pathParams$);
45557
+ const path$ = pathToFunc("/workspaces/{id}")(pathParams$);
45556
45558
  const headers$ = new Headers(compactMap({
45557
45559
  Accept: "application/json",
45558
45560
  "x-client-id": encodeSimple("x-client-id", payload$.xClientId, {
@@ -45733,7 +45735,7 @@ async function $do19(client$, request, options) {
45733
45735
  }
45734
45736
  const payload$ = parsed$.value;
45735
45737
  const body$ = null;
45736
- const path$ = pathToFunc("/v1/workspaces")();
45738
+ const path$ = pathToFunc("/workspaces")();
45737
45739
  const query$ = encodeFormQuery({
45738
45740
  cursor: payload$.cursor,
45739
45741
  limit: payload$.limit
@@ -45844,7 +45846,7 @@ Returns a paginated list of workspaces.`,
45844
45846
  function createMCPServer(deps) {
45845
45847
  const server = new McpServer({
45846
45848
  name: "Steuerboard",
45847
- version: "0.1.0"
45849
+ version: "0.1.2"
45848
45850
  });
45849
45851
  const getClient = deps.getSDK || (() => new SteuerboardCore({
45850
45852
  security: deps.security,
@@ -47103,7 +47105,7 @@ var routes = ln({
47103
47105
  var app = _e(routes, {
47104
47106
  name: "mcp",
47105
47107
  versionInfo: {
47106
- currentVersion: "0.1.0"
47108
+ currentVersion: "0.1.2"
47107
47109
  }
47108
47110
  });
47109
47111
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -47111,5 +47113,5 @@ export {
47111
47113
  app
47112
47114
  };
47113
47115
 
47114
- //# debugId=49813532CB67895064756E2164756E21
47116
+ //# debugId=C38145541C9F872864756E2164756E21
47115
47117
  //# sourceMappingURL=mcp-server.js.map