@trycompai/mcp-server 0.2.2 → 0.2.3

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.
@@ -915,7 +915,7 @@ http_headers = { "apikey" = "YOUR_APIKEY" }`;
915
915
  <h1>Instructions</h1>
916
916
  <p>One-click installation for Claude Desktop users</p>
917
917
  <div class="instruction-item">
918
- <a href="https://github.com/trycompai/comp/releases/download/v0.2.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
918
+ <a href="https://github.com/trycompai/comp/releases/download/v0.2.3/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
919
919
  📥 Download MCP Bundle
920
920
  </a>
921
921
  </div>
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "1.0";
38
- readonly sdkVersion: "0.2.2";
38
+ readonly sdkVersion: "0.2.3";
39
39
  readonly genVersion: "2.918.3";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.2.2 2.918.3 1.0 @trycompai/mcp-server";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.2.3 2.918.3 1.0 @trycompai/mcp-server";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -27,8 +27,8 @@ export function serverURLFromOptions(options) {
27
27
  export const SDK_METADATA = {
28
28
  language: "typescript",
29
29
  openapiDocVersion: "1.0",
30
- sdkVersion: "0.2.2",
30
+ sdkVersion: "0.2.3",
31
31
  genVersion: "2.918.3",
32
- userAgent: "speakeasy-sdk/mcp-typescript 0.2.2 2.918.3 1.0 @trycompai/mcp-server",
32
+ userAgent: "speakeasy-sdk/mcp-typescript 0.2.3 2.918.3 1.0 @trycompai/mcp-server",
33
33
  };
34
34
  //# sourceMappingURL=config.js.map
@@ -18,7 +18,7 @@ const routes = buildRouteMap({
18
18
  export const app = buildApplication(routes, {
19
19
  name: "mcp",
20
20
  versionInfo: {
21
- currentVersion: "0.2.2",
21
+ currentVersion: "0.2.3",
22
22
  },
23
23
  });
24
24
  run(app, process.argv.slice(2), buildContext(process));
@@ -381,7 +381,7 @@ import { tool$vendorsVendorsControllerUpdateVendorV1 } from "./tools/vendorsVend
381
381
  export function createMCPServer(deps) {
382
382
  const server = new McpServer({
383
383
  name: "CompAi",
384
- version: "0.2.2",
384
+ version: "0.2.3",
385
385
  });
386
386
  const getClient = deps.getSDK || (() => new CompAiCore({
387
387
  security: deps.security,
@@ -13,6 +13,13 @@ export type PeopleControllerUpdateMemberV1InternalServerErrorResponseBody = {
13
13
  message?: string | undefined;
14
14
  };
15
15
  export declare const PeopleControllerUpdateMemberV1InternalServerErrorResponseBody$zodSchema: z.ZodType<PeopleControllerUpdateMemberV1InternalServerErrorResponseBody>;
16
+ /**
17
+ * Conflict - Login email already used by another account, or the member belongs to other organizations
18
+ */
19
+ export type PeopleControllerUpdateMemberV1ConflictResponseBody = {
20
+ message?: string | undefined;
21
+ };
22
+ export declare const PeopleControllerUpdateMemberV1ConflictResponseBody$zodSchema: z.ZodType<PeopleControllerUpdateMemberV1ConflictResponseBody>;
16
23
  /**
17
24
  * Organization, member, or user not found
18
25
  */
@@ -34,6 +41,6 @@ export type PeopleControllerUpdateMemberV1BadRequestResponseBody = {
34
41
  message?: string | undefined;
35
42
  };
36
43
  export declare const PeopleControllerUpdateMemberV1BadRequestResponseBody$zodSchema: z.ZodType<PeopleControllerUpdateMemberV1BadRequestResponseBody>;
37
- export type PeopleControllerUpdateMemberV1Response = PeopleResponseDto | PeopleControllerUpdateMemberV1BadRequestResponseBody | PeopleControllerUpdateMemberV1UnauthorizedResponseBody | PeopleControllerUpdateMemberV1NotFoundResponseBody | PeopleControllerUpdateMemberV1InternalServerErrorResponseBody;
44
+ export type PeopleControllerUpdateMemberV1Response = PeopleResponseDto | PeopleControllerUpdateMemberV1BadRequestResponseBody | PeopleControllerUpdateMemberV1UnauthorizedResponseBody | PeopleControllerUpdateMemberV1NotFoundResponseBody | PeopleControllerUpdateMemberV1ConflictResponseBody | PeopleControllerUpdateMemberV1InternalServerErrorResponseBody;
38
45
  export declare const PeopleControllerUpdateMemberV1Response$zodSchema: z.ZodType<PeopleControllerUpdateMemberV1Response>;
39
46
  //# sourceMappingURL=peoplecontrollerupdatememberv1op.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"peoplecontrollerupdatememberv1op.d.ts","sourceRoot":"","sources":["../../src/models/peoplecontrollerupdatememberv1op.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,qCAAqC,GAAG;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,qCAAqC,CAIrC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,6DAA6D,GAAG;IAC1E,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uEAAuE,EAClF,CAAC,CAAC,OAAO,CAAC,6DAA6D,CAGjC,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CAAC,kDAAkD,CAEN,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gEAAgE,EAC3E,CAAC,CAAC,OAAO,CAAC,sDAAsD,CAI/D,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,oDAAoD,GAAG;IACjE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,8DAA8D,EACzE,CAAC,CAAC,OAAO,CAAC,oDAAoD,CAEG,CAAC;AAEpE,MAAM,MAAM,sCAAsC,GAC9C,iBAAiB,GACjB,oDAAoD,GACpD,sDAAsD,GACtD,kDAAkD,GAClD,6DAA6D,CAAC;AAElE,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAWtC,CAAC"}
1
+ {"version":3,"file":"peoplecontrollerupdatememberv1op.d.ts","sourceRoot":"","sources":["../../src/models/peoplecontrollerupdatememberv1op.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,qCAAqC,GAAG;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,qCAAqC,CAIrC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,6DAA6D,GAAG;IAC1E,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uEAAuE,EAClF,CAAC,CAAC,OAAO,CAAC,6DAA6D,CAGjC,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CAAC,kDAAkD,CAI3D,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CAAC,kDAAkD,CAEN,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,sDAAsD,GAAG;IACnE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gEAAgE,EAC3E,CAAC,CAAC,OAAO,CAAC,sDAAsD,CAI/D,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,oDAAoD,GAAG;IACjE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,8DAA8D,EACzE,CAAC,CAAC,OAAO,CAAC,oDAAoD,CAEG,CAAC;AAEpE,MAAM,MAAM,sCAAsC,GAC9C,iBAAiB,GACjB,oDAAoD,GACpD,sDAAsD,GACtD,kDAAkD,GAClD,kDAAkD,GAClD,6DAA6D,CAAC;AAElE,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,OAAO,CACtE,sCAAsC,CAYtC,CAAC"}
@@ -12,6 +12,9 @@ export const PeopleControllerUpdateMemberV1InternalServerErrorResponseBody$zodSc
12
12
  .object({
13
13
  message: z.string().optional(),
14
14
  }).describe("Internal server error");
15
+ export const PeopleControllerUpdateMemberV1ConflictResponseBody$zodSchema = z.object({
16
+ message: z.string().optional(),
17
+ }).describe("Conflict - Login email already used by another account, or the member belongs to other organizations");
15
18
  export const PeopleControllerUpdateMemberV1NotFoundResponseBody$zodSchema = z.object({
16
19
  message: z.string().optional(),
17
20
  }).describe("Organization, member, or user not found");
@@ -26,6 +29,7 @@ export const PeopleControllerUpdateMemberV1Response$zodSchema = z.union([
26
29
  z.lazy(() => PeopleControllerUpdateMemberV1BadRequestResponseBody$zodSchema),
27
30
  z.lazy(() => PeopleControllerUpdateMemberV1UnauthorizedResponseBody$zodSchema),
28
31
  z.lazy(() => PeopleControllerUpdateMemberV1NotFoundResponseBody$zodSchema),
32
+ z.lazy(() => PeopleControllerUpdateMemberV1ConflictResponseBody$zodSchema),
29
33
  z.lazy(() => PeopleControllerUpdateMemberV1InternalServerErrorResponseBody$zodSchema),
30
34
  ]);
31
35
  //# sourceMappingURL=peoplecontrollerupdatememberv1op.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"peoplecontrollerupdatememberv1op.js","sourceRoot":"","sources":["../../src/models/peoplecontrollerupdatememberv1op.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAO9B,MAAM,CAAC,MAAM,+CAA+C,GAExD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,yBAAyB,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC9D,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC;CACrC,CAAC,CAAC;AASH,MAAM,CAAC,MAAM,uEAAuE,GACP,CAAC;KACzE,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC;AASzC,MAAM,CAAC,MAAM,4DAA4D,GACP,CAAC,CAAC,MAAM,CAAC;IACvE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC,QAAQ,CAAC,yCAAyC,CAAC,CAAC;AASzD,MAAM,CAAC,MAAM,gEAAgE,GACP,CAAC,CAAC,MAAM,CAAC;IAC3E,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CA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  "type": "module",
6
6
  "sideEffects": false,
@@ -930,7 +930,7 @@ http_headers = { "apikey" = "YOUR_APIKEY" }`;
930
930
  <h1>Instructions</h1>
931
931
  <p>One-click installation for Claude Desktop users</p>
932
932
  <div class="instruction-item">
933
- <a href="https://github.com/trycompai/comp/releases/download/v0.2.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
933
+ <a href="https://github.com/trycompai/comp/releases/download/v0.2.3/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
934
934
  📥 Download MCP Bundle
935
935
  </a>
936
936
  </div>
package/src/lib/config.ts CHANGED
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "1.0",
68
- sdkVersion: "0.2.2",
68
+ sdkVersion: "0.2.3",
69
69
  genVersion: "2.918.3",
70
70
  userAgent:
71
- "speakeasy-sdk/mcp-typescript 0.2.2 2.918.3 1.0 @trycompai/mcp-server",
71
+ "speakeasy-sdk/mcp-typescript 0.2.3 2.918.3 1.0 @trycompai/mcp-server",
72
72
  } as const;
@@ -21,7 +21,7 @@ const routes = buildRouteMap({
21
21
  export const app = buildApplication(routes, {
22
22
  name: "mcp",
23
23
  versionInfo: {
24
- currentVersion: "0.2.2",
24
+ currentVersion: "0.2.3",
25
25
  },
26
26
  });
27
27
 
@@ -403,7 +403,7 @@ export function createMCPServer(deps: {
403
403
  }) {
404
404
  const server = new McpServer({
405
405
  name: "CompAi",
406
- version: "0.2.2",
406
+ version: "0.2.3",
407
407
  });
408
408
 
409
409
  const getClient = deps.getSDK || (() =>
@@ -37,6 +37,20 @@ export const PeopleControllerUpdateMemberV1InternalServerErrorResponseBody$zodSc
37
37
  message: z.string().optional(),
38
38
  }).describe("Internal server error");
39
39
 
40
+ /**
41
+ * Conflict - Login email already used by another account, or the member belongs to other organizations
42
+ */
43
+ export type PeopleControllerUpdateMemberV1ConflictResponseBody = {
44
+ message?: string | undefined;
45
+ };
46
+
47
+ export const PeopleControllerUpdateMemberV1ConflictResponseBody$zodSchema:
48
+ z.ZodType<PeopleControllerUpdateMemberV1ConflictResponseBody> = z.object({
49
+ message: z.string().optional(),
50
+ }).describe(
51
+ "Conflict - Login email already used by another account, or the member belongs to other organizations",
52
+ );
53
+
40
54
  /**
41
55
  * Organization, member, or user not found
42
56
  */
@@ -80,6 +94,7 @@ export type PeopleControllerUpdateMemberV1Response =
80
94
  | PeopleControllerUpdateMemberV1BadRequestResponseBody
81
95
  | PeopleControllerUpdateMemberV1UnauthorizedResponseBody
82
96
  | PeopleControllerUpdateMemberV1NotFoundResponseBody
97
+ | PeopleControllerUpdateMemberV1ConflictResponseBody
83
98
  | PeopleControllerUpdateMemberV1InternalServerErrorResponseBody;
84
99
 
85
100
  export const PeopleControllerUpdateMemberV1Response$zodSchema: z.ZodType<
@@ -91,6 +106,7 @@ export const PeopleControllerUpdateMemberV1Response$zodSchema: z.ZodType<
91
106
  PeopleControllerUpdateMemberV1UnauthorizedResponseBody$zodSchema
92
107
  ),
93
108
  z.lazy(() => PeopleControllerUpdateMemberV1NotFoundResponseBody$zodSchema),
109
+ z.lazy(() => PeopleControllerUpdateMemberV1ConflictResponseBody$zodSchema),
94
110
  z.lazy(() =>
95
111
  PeopleControllerUpdateMemberV1InternalServerErrorResponseBody$zodSchema
96
112
  ),