Skip to content

Commit 729c58b

Browse files
authored
Merge pull request #396 from hookdeck/speakeasy-sdk-regen-1747696543
chore: 🐝 Update SDK - Generate OUTPOST-TS 0.2.0
2 parents a3168c8 + a882a48 commit 729c58b

File tree

17 files changed

+124
-101
lines changed

17 files changed

+124
-101
lines changed

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.548.1
22
sources:
33
Outpost API:
44
sourceNamespace: outpost-api
5-
sourceRevisionDigest: sha256:1c4019762580e312c96694a507028f356021a8928e3b18a48b4ae6f3b3e1a0f3
5+
sourceRevisionDigest: sha256:6e2b5a5c7fd7a97711c7521cb88ce3d76affdff2a1c36721316ecee8a6521954
66
sourceBlobDigest: sha256:6b2da637ba05af9973197a916e59dedc050a6ea79d39d6be15166bf3ee049bed
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1747682690
9+
- speakeasy-sdk-regen-1747696543
1010
- 0.0.1
1111
targets:
1212
outpost-go:
@@ -26,10 +26,10 @@ targets:
2626
outpost-ts:
2727
source: Outpost API
2828
sourceNamespace: outpost-api
29-
sourceRevisionDigest: sha256:d29ca10e30557b054364e2f189779b6eae2eb027592e66d96694164e2dfd5d3b
30-
sourceBlobDigest: sha256:0e5867349e513ef193e2077149c98453ab2d429af67bfb7fee79a86f22f8e47e
29+
sourceRevisionDigest: sha256:6e2b5a5c7fd7a97711c7521cb88ce3d76affdff2a1c36721316ecee8a6521954
30+
sourceBlobDigest: sha256:6b2da637ba05af9973197a916e59dedc050a6ea79d39d6be15166bf3ee049bed
3131
codeSamplesNamespace: outpost-api-typescript-code-samples
32-
codeSamplesRevisionDigest: sha256:14bbf6d827f25245332b833dd539e0d1af8add597750bdd1107329cf717e7c88
32+
codeSamplesRevisionDigest: sha256:9442b593b18cdda5586e8bc29d6f4cb6f4e88799814d4ed80361be405ee81bc1
3333
workflow:
3434
workflowVersion: 1.0.0
3535
speakeasyVersion: latest

sdks/outpost-typescript/.speakeasy/gen.lock

Lines changed: 43 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
lockVersion: 2.0.0
22
id: edb58086-83b9-45a3-9095-52bf57a11009
33
management:
4-
docChecksum: facaffd173e65f9c7d9b42e7d5d4f736
4+
docChecksum: 9d08f718ce55c534f292ba05af3425db
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.543.4
7-
generationVersion: 2.598.22
8-
releaseVersion: 0.1.1
9-
configChecksum: 611d67272cc407af6d96d2106ffcf268
6+
speakeasyVersion: 1.548.1
7+
generationVersion: 2.605.0
8+
releaseVersion: 0.2.0
9+
configChecksum: 532da1aa2b75a3a3630b0cfd89f7a064
10+
repoURL: https://github.com/hookdeck/outpost.git
11+
repoSubDirectory: sdks/outpost-typescript
12+
installationURL: https://gitpkg.now.sh/hookdeck/outpost/sdks/outpost-typescript
1013
published: true
1114
features:
1215
typescript:
1316
additionalDependencies: 0.1.0
1417
additionalProperties: 0.1.1
15-
core: 3.21.7
18+
core: 3.21.8
1619
defaultEnabledRetries: 0.1.0
1720
enumUnions: 0.1.0
1821
envVarSecurityUsage: 0.1.2
@@ -342,25 +345,25 @@ examples:
342345
"200":
343346
text/plain: "<value>"
344347
"404":
345-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
348+
application/json: {}
346349
"401":
347-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
350+
application/json: {}
348351
"408":
349-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
352+
application/json: {}
350353
"429":
351-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
354+
application/json: {}
352355
"400":
353-
application/json: {"key": "<value>", "key1": "<value>"}
356+
application/json: {}
354357
"504":
355-
application/json: {"key": "<value>", "key1": "<value>"}
358+
application/json: {}
356359
"501":
357-
application/json: {"key": "<value>"}
360+
application/json: {}
358361
"500":
359-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
362+
application/json: {}
360363
"510":
361-
application/json: {"key": "<value>"}
364+
application/json: {}
362365
"511":
363-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
366+
application/json: {}
364367
upsertTenant:
365368
TenantExample:
366369
parameters:
@@ -437,10 +440,10 @@ examples:
437440
tenant_id: "<id>"
438441
destination_id: "<id>"
439442
requestBody:
440-
application/json: {"topics": "*", "config": {"stream_name": "my-data-stream", "region": "us-east-1", "endpoint": "https://kinesis.us-east-1.amazonaws.com", "partition_key_template": "data.\"user_id\""}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", "session": "AQoDYXdzEPT//////////wEXAMPLE..."}}
443+
application/json: {"topics": "*", "config": {"server_url": "localhost:5672", "exchange": "my-exchange", "tls": "false"}, "credentials": {"username": "guest", "password": "guest"}}
441444
responses:
442445
"200":
443-
application/json: {"id": "des_rmq_789", "type": "rabbitmq", "topics": ["inventory.updated"], "disabled_at": null, "created_at": "2024-01-10T09:00:00Z", "config": {"server_url": "amqp.cloudamqp.com:5671", "exchange": "events-exchange", "tls": "true"}, "credentials": {"username": "app_user", "password": "secure_password_123"}}
446+
application/json: {"id": "des_kns_xyz", "type": "aws_kinesis", "topics": ["user.created", "user.updated"], "disabled_at": null, "created_at": "2024-03-10T15:30:00Z", "config": {"stream_name": "production-events", "region": "eu-west-1"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}
444447
deleteTenantDestination:
445448
SuccessExample:
446449
parameters:
@@ -471,28 +474,28 @@ examples:
471474
publishEvent:
472475
speakeasy-default-publish-event:
473476
requestBody:
474-
application/json: {"tenant_id": "<TENANT_ID>", "destination_id": "<DESTINATION_ID>", "topic": "topic.name", "eligible_for_retry": false, "metadata": {"source": "crm"}, "data": {"user_id": "userid", "status": "active"}}
477+
application/json: {"id": "evt_custom_123", "tenant_id": "<TENANT_ID>", "destination_id": "<DESTINATION_ID>", "topic": "topic.name", "metadata": {"source": "crm"}, "data": {"user_id": "userid", "status": "active"}}
475478
responses:
476479
"404":
477-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
480+
application/json: {}
478481
"403":
479-
application/json: {"key": "<value>", "key1": "<value>"}
482+
application/json: {}
480483
"408":
481-
application/json: {"key": "<value>", "key1": "<value>"}
484+
application/json: {}
482485
"429":
483-
application/json: {"key": "<value>", "key1": "<value>"}
486+
application/json: {}
484487
"413":
485-
application/json: {"key": "<value>"}
488+
application/json: {}
486489
"504":
487-
application/json: {"key": "<value>", "key1": "<value>"}
490+
application/json: {}
488491
"501":
489-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
492+
application/json: {}
490493
"500":
491-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
494+
application/json: {}
492495
"510":
493-
application/json: {"key": "<value>", "key1": "<value>"}
496+
application/json: {}
494497
"511":
495-
application/json: {"key": "<value>", "key1": "<value>"}
498+
application/json: {}
496499
listTenantDestinationTypeSchemas:
497500
DestinationTypesExample:
498501
parameters:
@@ -519,7 +522,7 @@ examples:
519522
WebhookSchemaExample:
520523
parameters:
521524
path:
522-
type: "aws_kinesis"
525+
type: "rabbitmq"
523526
responses:
524527
"200":
525528
application/json: {"type": "webhook", "label": "Webhook", "description": "Send event via an HTTP POST request to a URL", "icon": "<svg />", "instructions": "Enter the URL...", "config_fields": [{"type": "text", "label": "URL", "description": "The URL to send the webhook to.", "required": true, "pattern": "^https?://.*"}], "credential_fields": [{"type": "text", "label": "Secret", "description": "Optional signing secret.", "required": false, "sensitive": true}]}
@@ -592,22 +595,22 @@ examples:
592595
event_id: "<id>"
593596
responses:
594597
"401":
595-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
598+
application/json: {}
596599
"408":
597-
application/json: {"key": "<value>"}
600+
application/json: {}
598601
"429":
599-
application/json: {"key": "<value>", "key1": "<value>", "key2": "<value>"}
602+
application/json: {}
600603
"400":
601-
application/json: {"key": "<value>"}
604+
application/json: {}
602605
"504":
603-
application/json: {"key": "<value>", "key1": "<value>"}
606+
application/json: {}
604607
"501":
605-
application/json: {"key": "<value>"}
608+
application/json: {}
606609
"500":
607-
application/json: {"key": "<value>", "key1": "<value>"}
610+
application/json: {}
608611
"510":
609-
application/json: {"key": "<value>", "key1": "<value>"}
612+
application/json: {}
610613
"511":
611-
application/json: {"key": "<value>"}
612-
examplesVersion: 1.0.1
614+
application/json: {}
615+
examplesVersion: 1.0.2
613616
generatedTests: {}

sdks/outpost-typescript/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ Based on:
88
### Generated
99
- [typescript v0.1.0] sdks/typescript
1010
### Releases
11-
- [NPM v0.1.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/0.1.0 - sdks/typescript
11+
- [NPM v0.1.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/0.1.0 - sdks/typescript
12+
13+
## 2025-05-19 23:15:26
14+
### Changes
15+
Based on:
16+
- OpenAPI Doc
17+
- Speakeasy CLI 1.548.1 (2.605.0) https://github.com/speakeasy-api/speakeasy
18+
### Generated
19+
- [typescript v0.2.0] sdks/outpost-typescript
20+
### Releases
21+
- [NPM v0.2.0] https://www.npmjs.com/package/@hookdeck/outpost-sdk/v/0.2.0 - sdks/outpost-typescript

sdks/outpost-typescript/docs/models/components/publishrequest.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
import { PublishRequest } from "@hookdeck/outpost-sdk/models/components";
77

88
let value: PublishRequest = {
9+
id: "evt_custom_123",
910
tenantId: "<TENANT_ID>",
1011
destinationId: "<DESTINATION_ID>",
1112
topic: "topic.name",
12-
eligibleForRetry: false,
1313
metadata: {
1414
"source": "crm",
1515
},
@@ -22,11 +22,12 @@ let value: PublishRequest = {
2222

2323
## Fields
2424

25-
| Field | Type | Required | Description | Example |
26-
| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ |
27-
| `tenantId` | *string* | :heavy_check_mark: | The ID of the tenant to publish for. | <TENANT_ID> |
28-
| `destinationId` | *string* | :heavy_minus_sign: | Optional. Route event to a specific destination. | <DESTINATION_ID> |
29-
| `topic` | *string* | :heavy_check_mark: | Topic name for the event. | topic.name |
30-
| `eligibleForRetry` | *boolean* | :heavy_check_mark: | Should event delivery be retried on failure. | |
31-
| `metadata` | Record<string, *string*> | :heavy_minus_sign: | Any key-value string pairs for metadata. | {<br/>"source": "crm"<br/>} |
32-
| `data` | Record<string, *any*> | :heavy_check_mark: | Any JSON payload for the event data. | {<br/>"user_id": "userid",<br/>"status": "active"<br/>} |
25+
| Field | Type | Required | Description | Example |
26+
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
27+
| `id` | *string* | :heavy_minus_sign: | Optional. A unique identifier for the event. If not provided, a UUID will be generated. | evt_custom_123 |
28+
| `tenantId` | *string* | :heavy_minus_sign: | The ID of the tenant to publish for. | <TENANT_ID> |
29+
| `destinationId` | *string* | :heavy_minus_sign: | Optional. Route event to a specific destination. | <DESTINATION_ID> |
30+
| `topic` | *string* | :heavy_minus_sign: | Topic name for the event. Required if Outpost has been configured with topics. | topic.name |
31+
| `eligibleForRetry` | *boolean* | :heavy_minus_sign: | Should event delivery be retried on failure. | |
32+
| `metadata` | Record<string, *string*> | :heavy_minus_sign: | Any key-value string pairs for metadata. | {<br/>"source": "crm"<br/>} |
33+
| `data` | Record<string, *any*> | :heavy_check_mark: | Any JSON payload for the event data. | {<br/>"user_id": "userid",<br/>"status": "active"<br/>} |

sdks/outpost-typescript/docs/sdks/destinations/README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -357,15 +357,13 @@ async function run() {
357357
destinationUpdate: {
358358
topics: "*",
359359
config: {
360-
streamName: "my-data-stream",
361-
region: "us-east-1",
362-
endpoint: "https://kinesis.us-east-1.amazonaws.com",
363-
partitionKeyTemplate: "data.\"user_id\"",
360+
serverUrl: "localhost:5672",
361+
exchange: "my-exchange",
362+
tls: "false",
364363
},
365364
credentials: {
366-
key: "AKIAIOSFODNN7EXAMPLE",
367-
secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
368-
session: "AQoDYXdzEPT//////////wEXAMPLE...",
365+
username: "guest",
366+
password: "guest",
369367
},
370368
},
371369
});
@@ -400,15 +398,13 @@ async function run() {
400398
destinationUpdate: {
401399
topics: "*",
402400
config: {
403-
streamName: "my-data-stream",
404-
region: "us-east-1",
405-
endpoint: "https://kinesis.us-east-1.amazonaws.com",
406-
partitionKeyTemplate: "data.\"user_id\"",
401+
serverUrl: "localhost:5672",
402+
exchange: "my-exchange",
403+
tls: "false",
407404
},
408405
credentials: {
409-
key: "AKIAIOSFODNN7EXAMPLE",
410-
secret: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
411-
session: "AQoDYXdzEPT//////////wEXAMPLE...",
406+
username: "guest",
407+
password: "guest",
412408
},
413409
},
414410
});

sdks/outpost-typescript/docs/sdks/publish/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ const outpost = new Outpost({
2626

2727
async function run() {
2828
await outpost.publish.event({
29+
id: "evt_custom_123",
2930
tenantId: "<TENANT_ID>",
3031
destinationId: "<DESTINATION_ID>",
3132
topic: "topic.name",
32-
eligibleForRetry: false,
3333
metadata: {
3434
"source": "crm",
3535
},
@@ -63,10 +63,10 @@ const outpost = new OutpostCore({
6363

6464
async function run() {
6565
const res = await publishEvent(outpost, {
66+
id: "evt_custom_123",
6667
tenantId: "<TENANT_ID>",
6768
destinationId: "<DESTINATION_ID>",
6869
topic: "topic.name",
69-
eligibleForRetry: false,
7070
metadata: {
7171
"source": "crm",
7272
},

sdks/outpost-typescript/docs/sdks/schemas/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ const outpost = new Outpost({
294294

295295
async function run() {
296296
const result = await outpost.schemas.getDestinationTypeJwt({
297-
type: "aws_kinesis",
297+
type: "rabbitmq",
298298
});
299299

300300
// Handle the result
@@ -322,7 +322,7 @@ const outpost = new OutpostCore({
322322

323323
async function run() {
324324
const res = await schemasGetDestinationTypeJwt(outpost, {
325-
type: "aws_kinesis",
325+
type: "rabbitmq",
326326
});
327327

328328
if (!res.ok) {

sdks/outpost-typescript/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@hookdeck/outpost-sdk",
5-
"version": "0.1.1",
5+
"version": "0.2.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

sdks/outpost-typescript/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/outpost-typescript/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hookdeck/outpost-sdk",
3-
"version": "0.1.1",
3+
"version": "0.2.0",
44
"author": "Speakeasy",
55
"type": "module",
66
"bin": {
@@ -22,6 +22,11 @@
2222
}
2323
},
2424
"sideEffects": false,
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/hookdeck/outpost.git",
28+
"directory": "sdks/outpost-typescript"
29+
},
2530
"scripts": {
2631
"lint": "eslint --cache --max-warnings=0 src",
2732
"build:mcp": "bun src/mcp-server/build.mts",

0 commit comments

Comments
 (0)