@hookdeck/outpost-sdk 0.1.0 → 0.1.1
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/README.md +0 -5
- package/bin/mcp-server.js +6 -6
- package/bin/mcp-server.js.map +4 -4
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/docs/sdks/destinations/README.md +26 -22
- package/docs/sdks/schemas/README.md +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -6
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
|
@@ -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: "0.0.1";
|
|
38
|
-
readonly sdkVersion: "0.1.
|
|
39
|
-
readonly genVersion: "2.598.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.
|
|
38
|
+
readonly sdkVersion: "0.1.1";
|
|
39
|
+
readonly genVersion: "2.598.22";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.1 2.598.22 0.0.1 @hookdeck/outpost-sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.1",
|
|
34
|
-
sdkVersion: "0.1.
|
|
35
|
-
genVersion: "2.598.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.
|
|
34
|
+
sdkVersion: "0.1.1",
|
|
35
|
+
genVersion: "2.598.22",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.1 2.598.22 0.0.1 @hookdeck/outpost-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.1.
|
|
25
|
+
currentVersion: "0.1.1",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -38,7 +38,7 @@ const topicsListJwt_js_1 = require("./tools/topicsListJwt.js");
|
|
|
38
38
|
function createMCPServer(deps) {
|
|
39
39
|
const server = new mcp_js_1.McpServer({
|
|
40
40
|
name: "Outpost",
|
|
41
|
-
version: "0.1.
|
|
41
|
+
version: "0.1.1",
|
|
42
42
|
});
|
|
43
43
|
const client = new core_js_1.OutpostCore({
|
|
44
44
|
security: deps.security,
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -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: "0.0.1";
|
|
38
|
-
readonly sdkVersion: "0.1.
|
|
39
|
-
readonly genVersion: "2.598.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.
|
|
38
|
+
readonly sdkVersion: "0.1.1";
|
|
39
|
+
readonly genVersion: "2.598.22";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.1 2.598.22 0.0.1 @hookdeck/outpost-sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/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: "0.0.1",
|
|
30
|
-
sdkVersion: "0.1.
|
|
31
|
-
genVersion: "2.598.
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.1.
|
|
30
|
+
sdkVersion: "0.1.1",
|
|
31
|
+
genVersion: "2.598.22",
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.1.1 2.598.22 0.0.1 @hookdeck/outpost-sdk",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
|
@@ -35,7 +35,7 @@ import { tool$topicsListJwt } from "./tools/topicsListJwt.js";
|
|
|
35
35
|
export function createMCPServer(deps) {
|
|
36
36
|
const server = new McpServer({
|
|
37
37
|
name: "Outpost",
|
|
38
|
-
version: "0.1.
|
|
38
|
+
version: "0.1.1",
|
|
39
39
|
});
|
|
40
40
|
const client = new OutpostCore({
|
|
41
41
|
security: deps.security,
|
|
@@ -147,16 +147,16 @@ async function run() {
|
|
|
147
147
|
tenantId: "<id>",
|
|
148
148
|
destinationCreate: {
|
|
149
149
|
id: "user-provided-id",
|
|
150
|
-
type: "
|
|
150
|
+
type: "rabbitmq",
|
|
151
151
|
topics: "*",
|
|
152
152
|
config: {
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
serverUrl: "localhost:5672",
|
|
154
|
+
exchange: "my-exchange",
|
|
155
|
+
tls: "false",
|
|
155
156
|
},
|
|
156
157
|
credentials: {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
session: "AQoDYXdzEPT//////////wEXAMPLE...",
|
|
158
|
+
username: "guest",
|
|
159
|
+
password: "guest",
|
|
160
160
|
},
|
|
161
161
|
},
|
|
162
162
|
});
|
|
@@ -189,16 +189,16 @@ async function run() {
|
|
|
189
189
|
tenantId: "<id>",
|
|
190
190
|
destinationCreate: {
|
|
191
191
|
id: "user-provided-id",
|
|
192
|
-
type: "
|
|
192
|
+
type: "rabbitmq",
|
|
193
193
|
topics: "*",
|
|
194
194
|
config: {
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
serverUrl: "localhost:5672",
|
|
196
|
+
exchange: "my-exchange",
|
|
197
|
+
tls: "false",
|
|
197
198
|
},
|
|
198
199
|
credentials: {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
session: "AQoDYXdzEPT//////////wEXAMPLE...",
|
|
200
|
+
username: "guest",
|
|
201
|
+
password: "guest",
|
|
202
202
|
},
|
|
203
203
|
},
|
|
204
204
|
});
|
|
@@ -357,13 +357,15 @@ async function run() {
|
|
|
357
357
|
destinationUpdate: {
|
|
358
358
|
topics: "*",
|
|
359
359
|
config: {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
360
|
+
streamName: "my-data-stream",
|
|
361
|
+
region: "us-east-1",
|
|
362
|
+
endpoint: "https://kinesis.us-east-1.amazonaws.com",
|
|
363
|
+
partitionKeyTemplate: "data.\"user_id\"",
|
|
363
364
|
},
|
|
364
365
|
credentials: {
|
|
365
|
-
|
|
366
|
-
|
|
366
|
+
key: "AKIAIOSFODNN7EXAMPLE",
|
|
367
|
+
secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
|
|
368
|
+
session: "AQoDYXdzEPT//////////wEXAMPLE...",
|
|
367
369
|
},
|
|
368
370
|
},
|
|
369
371
|
});
|
|
@@ -398,13 +400,15 @@ async function run() {
|
|
|
398
400
|
destinationUpdate: {
|
|
399
401
|
topics: "*",
|
|
400
402
|
config: {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
403
|
+
streamName: "my-data-stream",
|
|
404
|
+
region: "us-east-1",
|
|
405
|
+
endpoint: "https://kinesis.us-east-1.amazonaws.com",
|
|
406
|
+
partitionKeyTemplate: "data.\"user_id\"",
|
|
404
407
|
},
|
|
405
408
|
credentials: {
|
|
406
|
-
|
|
407
|
-
|
|
409
|
+
key: "AKIAIOSFODNN7EXAMPLE",
|
|
410
|
+
secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
|
|
411
|
+
session: "AQoDYXdzEPT//////////wEXAMPLE...",
|
|
408
412
|
},
|
|
409
413
|
},
|
|
410
414
|
});
|
|
@@ -119,7 +119,7 @@ const outpost = new Outpost({
|
|
|
119
119
|
async function run() {
|
|
120
120
|
const result = await outpost.schemas.get({
|
|
121
121
|
tenantId: "<id>",
|
|
122
|
-
type: "
|
|
122
|
+
type: "hookdeck",
|
|
123
123
|
});
|
|
124
124
|
|
|
125
125
|
// Handle the result
|
|
@@ -148,7 +148,7 @@ const outpost = new OutpostCore({
|
|
|
148
148
|
async function run() {
|
|
149
149
|
const res = await schemasGet(outpost, {
|
|
150
150
|
tenantId: "<id>",
|
|
151
|
-
type: "
|
|
151
|
+
type: "hookdeck",
|
|
152
152
|
});
|
|
153
153
|
|
|
154
154
|
if (!res.ok) {
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hookdeck/outpost-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"author": "Speakeasy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,11 +22,6 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"sideEffects": false,
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "https://github.com/hookdeck/outpost.git",
|
|
28
|
-
"directory": "sdks/typescript"
|
|
29
|
-
},
|
|
30
25
|
"scripts": {
|
|
31
26
|
"lint": "eslint --cache --max-warnings=0 src",
|
|
32
27
|
"build:mcp": "bun src/mcp-server/build.mts",
|
package/src/lib/config.ts
CHANGED
|
@@ -69,8 +69,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
69
69
|
export const SDK_METADATA = {
|
|
70
70
|
language: "typescript",
|
|
71
71
|
openapiDocVersion: "0.0.1",
|
|
72
|
-
sdkVersion: "0.1.
|
|
73
|
-
genVersion: "2.598.
|
|
72
|
+
sdkVersion: "0.1.1",
|
|
73
|
+
genVersion: "2.598.22",
|
|
74
74
|
userAgent:
|
|
75
|
-
"speakeasy-sdk/typescript 0.1.
|
|
75
|
+
"speakeasy-sdk/typescript 0.1.1 2.598.22 0.0.1 @hookdeck/outpost-sdk",
|
|
76
76
|
} as const;
|