@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.
@@ -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.0";
39
- readonly genVersion: "2.598.21";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.1.0 2.598.21 0.0.1 @hookdeck/outpost-sdk";
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.0",
35
- genVersion: "2.598.21",
36
- userAgent: "speakeasy-sdk/typescript 0.1.0 2.598.21 0.0.1 @hookdeck/outpost-sdk",
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.0",
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.0",
41
+ version: "0.1.1",
42
42
  });
43
43
  const client = new core_js_1.OutpostCore({
44
44
  security: deps.security,
@@ -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.0";
39
- readonly genVersion: "2.598.21";
40
- readonly userAgent: "speakeasy-sdk/typescript 0.1.0 2.598.21 0.0.1 @hookdeck/outpost-sdk";
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
@@ -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.0",
31
- genVersion: "2.598.21",
32
- userAgent: "speakeasy-sdk/typescript 0.1.0 2.598.21 0.0.1 @hookdeck/outpost-sdk",
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
@@ -16,7 +16,7 @@ const routes = buildRouteMap({
16
16
  export const app = buildApplication(routes, {
17
17
  name: "mcp",
18
18
  versionInfo: {
19
- currentVersion: "0.1.0",
19
+ currentVersion: "0.1.1",
20
20
  },
21
21
  });
22
22
  run(app, process.argv.slice(2), buildContext(process));
@@ -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.0",
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: "aws_sqs",
150
+ type: "rabbitmq",
151
151
  topics: "*",
152
152
  config: {
153
- endpoint: "https://sqs.us-east-1.amazonaws.com",
154
- queueUrl: "https://sqs.us-east-1.amazonaws.com/123456789012/my-queue",
153
+ serverUrl: "localhost:5672",
154
+ exchange: "my-exchange",
155
+ tls: "false",
155
156
  },
156
157
  credentials: {
157
- key: "AKIAIOSFODNN7EXAMPLE",
158
- secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
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: "aws_sqs",
192
+ type: "rabbitmq",
193
193
  topics: "*",
194
194
  config: {
195
- endpoint: "https://sqs.us-east-1.amazonaws.com",
196
- queueUrl: "https://sqs.us-east-1.amazonaws.com/123456789012/my-queue",
195
+ serverUrl: "localhost:5672",
196
+ exchange: "my-exchange",
197
+ tls: "false",
197
198
  },
198
199
  credentials: {
199
- key: "AKIAIOSFODNN7EXAMPLE",
200
- secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
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
- serverUrl: "localhost:5672",
361
- exchange: "my-exchange",
362
- tls: "false",
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
- username: "guest",
366
- password: "guest",
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
- serverUrl: "localhost:5672",
402
- exchange: "my-exchange",
403
- tls: "false",
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
- username: "guest",
407
- password: "guest",
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: "rabbitmq",
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: "rabbitmq",
151
+ type: "hookdeck",
152
152
  });
153
153
 
154
154
  if (!res.ok) {
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@hookdeck/outpost-sdk",
5
- "version": "0.1.0",
5
+ "version": "0.1.1",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hookdeck/outpost-sdk",
3
- "version": "0.1.0",
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.0",
73
- genVersion: "2.598.21",
72
+ sdkVersion: "0.1.1",
73
+ genVersion: "2.598.22",
74
74
  userAgent:
75
- "speakeasy-sdk/typescript 0.1.0 2.598.21 0.0.1 @hookdeck/outpost-sdk",
75
+ "speakeasy-sdk/typescript 0.1.1 2.598.22 0.0.1 @hookdeck/outpost-sdk",
76
76
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.1.0",
22
+ currentVersion: "0.1.1",
23
23
  },
24
24
  });
25
25
 
@@ -51,7 +51,7 @@ export function createMCPServer(deps: {
51
51
  }) {
52
52
  const server = new McpServer({
53
53
  name: "Outpost",
54
- version: "0.1.0",
54
+ version: "0.1.1",
55
55
  });
56
56
 
57
57
  const client = new OutpostCore({