@bluehive/sdk-mcp 0.1.0-alpha.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 (139) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +188 -0
  3. package/compat.d.mts +56 -0
  4. package/compat.d.mts.map +1 -0
  5. package/compat.d.ts +56 -0
  6. package/compat.d.ts.map +1 -0
  7. package/compat.js +382 -0
  8. package/compat.js.map +1 -0
  9. package/compat.mjs +373 -0
  10. package/compat.mjs.map +1 -0
  11. package/dynamic-tools.d.mts +12 -0
  12. package/dynamic-tools.d.mts.map +1 -0
  13. package/dynamic-tools.d.ts +12 -0
  14. package/dynamic-tools.d.ts.map +1 -0
  15. package/dynamic-tools.js +135 -0
  16. package/dynamic-tools.js.map +1 -0
  17. package/dynamic-tools.mjs +132 -0
  18. package/dynamic-tools.mjs.map +1 -0
  19. package/index.d.mts +3 -0
  20. package/index.d.mts.map +1 -0
  21. package/index.d.ts +3 -0
  22. package/index.d.ts.map +1 -0
  23. package/index.js +86 -0
  24. package/index.js.map +1 -0
  25. package/index.mjs +84 -0
  26. package/index.mjs.map +1 -0
  27. package/options.d.mts +14 -0
  28. package/options.d.mts.map +1 -0
  29. package/options.d.ts +14 -0
  30. package/options.d.ts.map +1 -0
  31. package/options.js +296 -0
  32. package/options.js.map +1 -0
  33. package/options.mjs +290 -0
  34. package/options.mjs.map +1 -0
  35. package/package.json +121 -0
  36. package/server.d.mts +47 -0
  37. package/server.d.mts.map +1 -0
  38. package/server.d.ts +47 -0
  39. package/server.d.ts.map +1 -0
  40. package/server.js +114 -0
  41. package/server.js.map +1 -0
  42. package/server.mjs +101 -0
  43. package/server.mjs.map +1 -0
  44. package/src/compat.ts +478 -0
  45. package/src/dynamic-tools.ts +153 -0
  46. package/src/index.ts +104 -0
  47. package/src/options.ts +319 -0
  48. package/src/server.ts +145 -0
  49. package/src/tools/database/check-health-database.ts +31 -0
  50. package/src/tools/fax/list-providers-fax.ts +31 -0
  51. package/src/tools/fax/retrieve-status-fax.ts +36 -0
  52. package/src/tools/fax/send-fax.ts +76 -0
  53. package/src/tools/health/check-health.ts +31 -0
  54. package/src/tools/index.ts +83 -0
  55. package/src/tools/providers/lookup-providers.ts +49 -0
  56. package/src/tools/types.ts +103 -0
  57. package/src/tools/version/retrieve-version.ts +31 -0
  58. package/src/tools.ts +1 -0
  59. package/src/tsconfig.json +11 -0
  60. package/tools/database/check-health-database.d.mts +45 -0
  61. package/tools/database/check-health-database.d.mts.map +1 -0
  62. package/tools/database/check-health-database.d.ts +45 -0
  63. package/tools/database/check-health-database.d.ts.map +1 -0
  64. package/tools/database/check-health-database.js +27 -0
  65. package/tools/database/check-health-database.js.map +1 -0
  66. package/tools/database/check-health-database.mjs +23 -0
  67. package/tools/database/check-health-database.mjs.map +1 -0
  68. package/tools/fax/list-providers-fax.d.mts +45 -0
  69. package/tools/fax/list-providers-fax.d.mts.map +1 -0
  70. package/tools/fax/list-providers-fax.d.ts +45 -0
  71. package/tools/fax/list-providers-fax.d.ts.map +1 -0
  72. package/tools/fax/list-providers-fax.js +27 -0
  73. package/tools/fax/list-providers-fax.js.map +1 -0
  74. package/tools/fax/list-providers-fax.mjs +23 -0
  75. package/tools/fax/list-providers-fax.mjs.map +1 -0
  76. package/tools/fax/retrieve-status-fax.d.mts +45 -0
  77. package/tools/fax/retrieve-status-fax.d.mts.map +1 -0
  78. package/tools/fax/retrieve-status-fax.d.ts +45 -0
  79. package/tools/fax/retrieve-status-fax.d.ts.map +1 -0
  80. package/tools/fax/retrieve-status-fax.js +32 -0
  81. package/tools/fax/retrieve-status-fax.js.map +1 -0
  82. package/tools/fax/retrieve-status-fax.mjs +28 -0
  83. package/tools/fax/retrieve-status-fax.mjs.map +1 -0
  84. package/tools/fax/send-fax.d.mts +45 -0
  85. package/tools/fax/send-fax.d.mts.map +1 -0
  86. package/tools/fax/send-fax.d.ts +45 -0
  87. package/tools/fax/send-fax.d.ts.map +1 -0
  88. package/tools/fax/send-fax.js +72 -0
  89. package/tools/fax/send-fax.js.map +1 -0
  90. package/tools/fax/send-fax.mjs +68 -0
  91. package/tools/fax/send-fax.mjs.map +1 -0
  92. package/tools/health/check-health.d.mts +45 -0
  93. package/tools/health/check-health.d.mts.map +1 -0
  94. package/tools/health/check-health.d.ts +45 -0
  95. package/tools/health/check-health.d.ts.map +1 -0
  96. package/tools/health/check-health.js +27 -0
  97. package/tools/health/check-health.js.map +1 -0
  98. package/tools/health/check-health.mjs +23 -0
  99. package/tools/health/check-health.mjs.map +1 -0
  100. package/tools/index.d.mts +10 -0
  101. package/tools/index.d.mts.map +1 -0
  102. package/tools/index.d.ts +10 -0
  103. package/tools/index.d.ts.map +1 -0
  104. package/tools/index.js +67 -0
  105. package/tools/index.js.map +1 -0
  106. package/tools/index.mjs +60 -0
  107. package/tools/index.mjs.map +1 -0
  108. package/tools/providers/lookup-providers.d.mts +45 -0
  109. package/tools/providers/lookup-providers.d.mts.map +1 -0
  110. package/tools/providers/lookup-providers.d.ts +45 -0
  111. package/tools/providers/lookup-providers.d.ts.map +1 -0
  112. package/tools/providers/lookup-providers.js +45 -0
  113. package/tools/providers/lookup-providers.js.map +1 -0
  114. package/tools/providers/lookup-providers.mjs +41 -0
  115. package/tools/providers/lookup-providers.mjs.map +1 -0
  116. package/tools/types.d.mts +51 -0
  117. package/tools/types.d.mts.map +1 -0
  118. package/tools/types.d.ts +51 -0
  119. package/tools/types.d.ts.map +1 -0
  120. package/tools/types.js +46 -0
  121. package/tools/types.js.map +1 -0
  122. package/tools/types.mjs +42 -0
  123. package/tools/types.mjs.map +1 -0
  124. package/tools/version/retrieve-version.d.mts +45 -0
  125. package/tools/version/retrieve-version.d.mts.map +1 -0
  126. package/tools/version/retrieve-version.d.ts +45 -0
  127. package/tools/version/retrieve-version.d.ts.map +1 -0
  128. package/tools/version/retrieve-version.js +27 -0
  129. package/tools/version/retrieve-version.js.map +1 -0
  130. package/tools/version/retrieve-version.mjs +23 -0
  131. package/tools/version/retrieve-version.mjs.map +1 -0
  132. package/tools.d.mts +2 -0
  133. package/tools.d.mts.map +1 -0
  134. package/tools.d.ts +2 -0
  135. package/tools.d.ts.map +1 -0
  136. package/tools.js +18 -0
  137. package/tools.js.map +1 -0
  138. package/tools.mjs +2 -0
  139. package/tools.mjs.map +1 -0
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const types_1 = require("@bluehive/sdk-mcp/tools/types");
6
+ exports.metadata = {
7
+ resource: 'fax',
8
+ operation: 'read',
9
+ tags: [],
10
+ httpMethod: 'get',
11
+ httpPath: '/v1/fax/providers',
12
+ operationId: 'listFaxProviders',
13
+ };
14
+ exports.tool = {
15
+ name: 'list_providers_fax',
16
+ description: 'Get a list of available fax providers and their configuration status.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {},
20
+ },
21
+ };
22
+ const handler = async (client, args) => {
23
+ return (0, types_1.asTextContentResult)(await client.fax.listProviders());
24
+ };
25
+ exports.handler = handler;
26
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
27
+ //# sourceMappingURL=list-providers-fax.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-providers-fax.js","sourceRoot":"","sources":["../../src/tools/fax/list-providers-fax.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAAoE;AAMvD,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,uEAAuE;IACpF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,OAAO,IAAA,2BAAmB,EAAC,MAAM,MAAM,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;AAC/D,CAAC,CAAC;AAFW,QAAA,OAAO,WAElB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { asTextContentResult } from '@bluehive/sdk-mcp/tools/types';
3
+ export const metadata = {
4
+ resource: 'fax',
5
+ operation: 'read',
6
+ tags: [],
7
+ httpMethod: 'get',
8
+ httpPath: '/v1/fax/providers',
9
+ operationId: 'listFaxProviders',
10
+ };
11
+ export const tool = {
12
+ name: 'list_providers_fax',
13
+ description: 'Get a list of available fax providers and their configuration status.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {},
17
+ },
18
+ };
19
+ export const handler = async (client, args) => {
20
+ return asTextContentResult(await client.fax.listProviders());
21
+ };
22
+ export default { metadata, tool, handler };
23
+ //# sourceMappingURL=list-providers-fax.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-providers-fax.mjs","sourceRoot":"","sources":["../../src/tools/fax/list-providers-fax.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,+BAA+B;AAMnE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,mBAAmB;IAC7B,WAAW,EAAE,kBAAkB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,uEAAuE;IACpF,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC;AAC/D,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.mjs";
3
+ import BlueHive from '@bluehive/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=retrieve-status-fax.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-status-fax.d.mts","sourceRoot":"","sources":["../../src/tools/fax/retrieve-status-fax.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,QAAQ,MAAM,eAAe;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAWlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
@@ -0,0 +1,45 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.js";
3
+ import BlueHive from '@bluehive/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=retrieve-status-fax.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-status-fax.d.ts","sourceRoot":"","sources":["../../src/tools/fax/retrieve-status-fax.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,QAAQ,MAAM,eAAe;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAWlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const types_1 = require("@bluehive/sdk-mcp/tools/types");
6
+ exports.metadata = {
7
+ resource: 'fax',
8
+ operation: 'read',
9
+ tags: [],
10
+ httpMethod: 'get',
11
+ httpPath: '/v1/fax/status/{id}',
12
+ operationId: 'getFaxStatus',
13
+ };
14
+ exports.tool = {
15
+ name: 'retrieve_status_fax',
16
+ description: 'Retrieve the current status and details of a fax by its ID.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {
20
+ id: {
21
+ type: 'string',
22
+ },
23
+ },
24
+ },
25
+ };
26
+ const handler = async (client, args) => {
27
+ const { id, ...body } = args;
28
+ return (0, types_1.asTextContentResult)(await client.fax.retrieveStatus(id));
29
+ };
30
+ exports.handler = handler;
31
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
32
+ //# sourceMappingURL=retrieve-status-fax.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-status-fax.js","sourceRoot":"","sources":["../../src/tools/fax/retrieve-status-fax.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAAoE;AAMvD,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,6DAA6D;IAC1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;aACf;SACF;KACF;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACpC,OAAO,IAAA,2BAAmB,EAAC,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,28 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { asTextContentResult } from '@bluehive/sdk-mcp/tools/types';
3
+ export const metadata = {
4
+ resource: 'fax',
5
+ operation: 'read',
6
+ tags: [],
7
+ httpMethod: 'get',
8
+ httpPath: '/v1/fax/status/{id}',
9
+ operationId: 'getFaxStatus',
10
+ };
11
+ export const tool = {
12
+ name: 'retrieve_status_fax',
13
+ description: 'Retrieve the current status and details of a fax by its ID.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {
17
+ id: {
18
+ type: 'string',
19
+ },
20
+ },
21
+ },
22
+ };
23
+ export const handler = async (client, args) => {
24
+ const { id, ...body } = args;
25
+ return asTextContentResult(await client.fax.retrieveStatus(id));
26
+ };
27
+ export default { metadata, tool, handler };
28
+ //# sourceMappingURL=retrieve-status-fax.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retrieve-status-fax.mjs","sourceRoot":"","sources":["../../src/tools/fax/retrieve-status-fax.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,+BAA+B;AAMnE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,qBAAqB;IAC/B,WAAW,EAAE,cAAc;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,6DAA6D;IAC1E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;aACf;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACpC,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.mjs";
3
+ import BlueHive from '@bluehive/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=send-fax.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-fax.d.mts","sourceRoot":"","sources":["../../src/tools/fax/send-fax.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,QAAQ,MAAM,eAAe;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmDlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
@@ -0,0 +1,45 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.js";
3
+ import BlueHive from '@bluehive/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=send-fax.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-fax.d.ts","sourceRoot":"","sources":["../../src/tools/fax/send-fax.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,QAAQ,MAAM,eAAe;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAmDlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAGxF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAHoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAKzF,wBAA2C"}
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const types_1 = require("@bluehive/sdk-mcp/tools/types");
6
+ exports.metadata = {
7
+ resource: 'fax',
8
+ operation: 'write',
9
+ tags: [],
10
+ httpMethod: 'post',
11
+ httpPath: '/v1/fax/send',
12
+ operationId: 'sendFax',
13
+ };
14
+ exports.tool = {
15
+ name: 'send_fax',
16
+ description: 'Send a fax document to a specified number using the configured fax provider.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {
20
+ document: {
21
+ type: 'object',
22
+ properties: {
23
+ content: {
24
+ type: 'string',
25
+ description: 'Base64 encoded document content',
26
+ },
27
+ contentType: {
28
+ type: 'string',
29
+ description: 'MIME type of the document',
30
+ enum: [
31
+ 'application/pdf',
32
+ 'image/tiff',
33
+ 'image/tif',
34
+ 'image/jpeg',
35
+ 'image/jpg',
36
+ 'image/png',
37
+ 'text/plain',
38
+ ],
39
+ },
40
+ filename: {
41
+ type: 'string',
42
+ description: 'Optional filename for the document',
43
+ },
44
+ },
45
+ required: ['content', 'contentType'],
46
+ },
47
+ to: {
48
+ type: 'string',
49
+ description: 'Recipient fax number (E.164 format preferred)',
50
+ },
51
+ from: {
52
+ type: 'string',
53
+ description: 'Sender fax number (optional, uses default if not provided)',
54
+ },
55
+ provider: {
56
+ type: 'string',
57
+ description: 'Optional provider override (uses default if not specified)',
58
+ },
59
+ subject: {
60
+ type: 'string',
61
+ description: 'Subject line for the fax',
62
+ },
63
+ },
64
+ },
65
+ };
66
+ const handler = async (client, args) => {
67
+ const body = args;
68
+ return (0, types_1.asTextContentResult)(await client.fax.send(body));
69
+ };
70
+ exports.handler = handler;
71
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
72
+ //# sourceMappingURL=send-fax.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-fax.js","sourceRoot":"","sources":["../../src/tools/fax/send-fax.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAAoE;AAMvD,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,cAAc;IACxB,WAAW,EAAE,SAAS;CACvB,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,8EAA8E;IAC3F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iCAAiC;qBAC/C;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,2BAA2B;wBACxC,IAAI,EAAE;4BACJ,iBAAiB;4BACjB,YAAY;4BACZ,WAAW;4BACX,YAAY;4BACZ,WAAW;4BACX,WAAW;4BACX,YAAY;yBACb;qBACF;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,oCAAoC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;aACrC;YACD,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+CAA+C;aAC7D;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;SACF;KACF;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1D,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,68 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { asTextContentResult } from '@bluehive/sdk-mcp/tools/types';
3
+ export const metadata = {
4
+ resource: 'fax',
5
+ operation: 'write',
6
+ tags: [],
7
+ httpMethod: 'post',
8
+ httpPath: '/v1/fax/send',
9
+ operationId: 'sendFax',
10
+ };
11
+ export const tool = {
12
+ name: 'send_fax',
13
+ description: 'Send a fax document to a specified number using the configured fax provider.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {
17
+ document: {
18
+ type: 'object',
19
+ properties: {
20
+ content: {
21
+ type: 'string',
22
+ description: 'Base64 encoded document content',
23
+ },
24
+ contentType: {
25
+ type: 'string',
26
+ description: 'MIME type of the document',
27
+ enum: [
28
+ 'application/pdf',
29
+ 'image/tiff',
30
+ 'image/tif',
31
+ 'image/jpeg',
32
+ 'image/jpg',
33
+ 'image/png',
34
+ 'text/plain',
35
+ ],
36
+ },
37
+ filename: {
38
+ type: 'string',
39
+ description: 'Optional filename for the document',
40
+ },
41
+ },
42
+ required: ['content', 'contentType'],
43
+ },
44
+ to: {
45
+ type: 'string',
46
+ description: 'Recipient fax number (E.164 format preferred)',
47
+ },
48
+ from: {
49
+ type: 'string',
50
+ description: 'Sender fax number (optional, uses default if not provided)',
51
+ },
52
+ provider: {
53
+ type: 'string',
54
+ description: 'Optional provider override (uses default if not specified)',
55
+ },
56
+ subject: {
57
+ type: 'string',
58
+ description: 'Subject line for the fax',
59
+ },
60
+ },
61
+ },
62
+ };
63
+ export const handler = async (client, args) => {
64
+ const body = args;
65
+ return asTextContentResult(await client.fax.send(body));
66
+ };
67
+ export default { metadata, tool, handler };
68
+ //# sourceMappingURL=send-fax.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send-fax.mjs","sourceRoot":"","sources":["../../src/tools/fax/send-fax.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,+BAA+B;AAMnE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,KAAK;IACf,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,cAAc;IACxB,WAAW,EAAE,SAAS;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,8EAA8E;IAC3F,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iCAAiC;qBAC/C;oBACD,WAAW,EAAE;wBACX,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,2BAA2B;wBACxC,IAAI,EAAE;4BACJ,iBAAiB;4BACjB,YAAY;4BACZ,WAAW;4BACX,YAAY;4BACZ,WAAW;4BACX,WAAW;4BACX,YAAY;yBACb;qBACF;oBACD,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,oCAAoC;qBAClD;iBACF;gBACD,QAAQ,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;aACrC;YACD,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,+CAA+C;aAC7D;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,4DAA4D;aAC1E;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,0BAA0B;aACxC;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.mjs";
3
+ import BlueHive from '@bluehive/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=check-health.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-health.d.mts","sourceRoot":"","sources":["../../src/tools/health/check-health.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,QAAQ,MAAM,eAAe;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAOlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAExF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAFoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAIzF,wBAA2C"}
@@ -0,0 +1,45 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { Metadata } from "..//index.js";
3
+ import BlueHive from '@bluehive/sdk';
4
+ export declare const metadata: Metadata;
5
+ export declare const tool: Tool;
6
+ export declare const handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
7
+ declare const _default: {
8
+ metadata: Metadata;
9
+ tool: {
10
+ [x: string]: unknown;
11
+ name: string;
12
+ inputSchema: {
13
+ [x: string]: unknown;
14
+ type: "object";
15
+ properties?: {
16
+ [x: string]: unknown;
17
+ } | undefined;
18
+ required?: string[] | undefined;
19
+ };
20
+ title?: string | undefined;
21
+ description?: string | undefined;
22
+ outputSchema?: {
23
+ [x: string]: unknown;
24
+ type: "object";
25
+ properties?: {
26
+ [x: string]: unknown;
27
+ } | undefined;
28
+ required?: string[] | undefined;
29
+ } | undefined;
30
+ annotations?: {
31
+ [x: string]: unknown;
32
+ title?: string | undefined;
33
+ readOnlyHint?: boolean | undefined;
34
+ destructiveHint?: boolean | undefined;
35
+ idempotentHint?: boolean | undefined;
36
+ openWorldHint?: boolean | undefined;
37
+ } | undefined;
38
+ _meta?: {
39
+ [x: string]: unknown;
40
+ } | undefined;
41
+ };
42
+ handler: (client: BlueHive, args: Record<string, unknown> | undefined) => Promise<import("@bluehive/sdk-mcp/tools/types").ToolCallResult>;
43
+ };
44
+ export default _default;
45
+ //# sourceMappingURL=check-health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-health.d.ts","sourceRoot":"","sources":["../../src/tools/health/check-health.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,QAAQ,MAAM,eAAe;AAEpC,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAOlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,QAAQ,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,oEAExF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAFoC,QAAQ,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAIzF,wBAA2C"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.handler = exports.tool = exports.metadata = void 0;
5
+ const types_1 = require("@bluehive/sdk-mcp/tools/types");
6
+ exports.metadata = {
7
+ resource: 'health',
8
+ operation: 'read',
9
+ tags: [],
10
+ httpMethod: 'get',
11
+ httpPath: '/v1/health',
12
+ operationId: 'healthCheck',
13
+ };
14
+ exports.tool = {
15
+ name: 'check_health',
16
+ description: 'Check the service health and ensure the API is running properly.',
17
+ inputSchema: {
18
+ type: 'object',
19
+ properties: {},
20
+ },
21
+ };
22
+ const handler = async (client, args) => {
23
+ return (0, types_1.asTextContentResult)(await client.health.check());
24
+ };
25
+ exports.handler = handler;
26
+ exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
27
+ //# sourceMappingURL=check-health.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-health.js","sourceRoot":"","sources":["../../src/tools/health/check-health.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,yDAAoE;AAMvD,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,kEAAkE;IAC/E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,OAAO,IAAA,2BAAmB,EAAC,MAAM,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;AAC1D,CAAC,CAAC;AAFW,QAAA,OAAO,WAElB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { asTextContentResult } from '@bluehive/sdk-mcp/tools/types';
3
+ export const metadata = {
4
+ resource: 'health',
5
+ operation: 'read',
6
+ tags: [],
7
+ httpMethod: 'get',
8
+ httpPath: '/v1/health',
9
+ operationId: 'healthCheck',
10
+ };
11
+ export const tool = {
12
+ name: 'check_health',
13
+ description: 'Check the service health and ensure the API is running properly.',
14
+ inputSchema: {
15
+ type: 'object',
16
+ properties: {},
17
+ },
18
+ };
19
+ export const handler = async (client, args) => {
20
+ return asTextContentResult(await client.health.check());
21
+ };
22
+ export default { metadata, tool, handler };
23
+ //# sourceMappingURL=check-health.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-health.mjs","sourceRoot":"","sources":["../../src/tools/health/check-health.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,+BAA+B;AAMnE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,kEAAkE;IAC/E,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,MAAgB,EAAE,IAAyC,EAAE,EAAE;IAC3F,OAAO,mBAAmB,CAAC,MAAM,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC;AAC1D,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}