Skip to content

Commit 4a56864

Browse files
committed
## Go SDK Changes Detected:
* `Outpost.Events.List()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `Outpost.Events.ListByDestination()`: * `request` **Changed** **Breaking** ⚠️ * `response` **Changed** **Breaking** ⚠️ * `Outpost.Destinations.List()`: * `request.Type` **Changed** * `response.[].[awsS3]` **Added** * `Outpost.Destinations.Create()`: * `request.DestinationCreate.[awsS3]` **Added** * `response.[awsS3]` **Added** * `Outpost.Destinations.Get()`: `response.[awsS3]` **Added** * `Outpost.Destinations.Update()`: * `request.DestinationUpdate.[destinationUpdateAwss3]` **Added** * `response.[destination].[awsS3]` **Added** * `Outpost.Destinations.Enable()`: `response.[awsS3]` **Added** * `Outpost.Destinations.Disable()`: `response.[awsS3]` **Added** * `Outpost.Schemas.Get()`: `request.Type` **Changed** * `Outpost.Schemas.GetDestinationTypeJwt()`: `request.Type` **Changed**
1 parent fa36922 commit 4a56864

File tree

81 files changed

+1362
-184
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+1362
-184
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.594.0
1+
speakeasyVersion: 1.608.0
22
sources:
33
Outpost API:
44
sourceNamespace: outpost-api
5-
sourceRevisionDigest: sha256:837897b6e2774d7ba547d9616639367bfce651d53d84190c3ee0cd32cee7e8b1
6-
sourceBlobDigest: sha256:3b1cd63370e0cf368a2049eaa26c9f94cd94a929de42592f8488adb5a6a3f182
5+
sourceRevisionDigest: sha256:4042dbef541e06289b580460ccfb39d8f444c852e134de2245b13e1ffd43dcf3
6+
sourceBlobDigest: sha256:3859f29c380e176f9382eb969cefbb9c8701875d4837ee8a9549b78bf92eebc6
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753978509
9+
- speakeasy-sdk-regen-1756910957
1010
- 0.0.1
1111
targets:
1212
outpost-go:
1313
source: Outpost API
1414
sourceNamespace: outpost-api
15-
sourceRevisionDigest: sha256:837897b6e2774d7ba547d9616639367bfce651d53d84190c3ee0cd32cee7e8b1
16-
sourceBlobDigest: sha256:3b1cd63370e0cf368a2049eaa26c9f94cd94a929de42592f8488adb5a6a3f182
15+
sourceRevisionDigest: sha256:4042dbef541e06289b580460ccfb39d8f444c852e134de2245b13e1ffd43dcf3
16+
sourceBlobDigest: sha256:3859f29c380e176f9382eb969cefbb9c8701875d4837ee8a9549b78bf92eebc6
1717
codeSamplesNamespace: outpost-api-go-code-samples
18-
codeSamplesRevisionDigest: sha256:1009c456ca9523b22ee077420e48d3a7dfb1ea14ec10807f78145eab51af6e0a
18+
codeSamplesRevisionDigest: sha256:0e3fa3204f6f516dd30a924b7a1c07749873126109ccc30817795cd02c9854d7
1919
outpost-python:
2020
source: Outpost API
2121
sourceNamespace: outpost-api

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

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
lockVersion: 2.0.0
22
id: f0627709-5a00-43ac-8678-ca716d6f379c
33
management:
4-
docChecksum: 3d3f028a2fdd56804d9ae8a2d95a414b
4+
docChecksum: b861adfcca926bafba8ea408261b6b73
55
docVersion: 0.0.1
6-
speakeasyVersion: 1.594.0
7-
generationVersion: 2.670.1
8-
releaseVersion: 0.3.0
9-
configChecksum: f3bcf03bfde867a784160194946cc34d
6+
speakeasyVersion: 1.608.0
7+
generationVersion: 2.691.6
8+
releaseVersion: 0.4.0
9+
configChecksum: 43464e6037bc44205e4d81ff9337663b
1010
repoURL: https://github.com/hookdeck/outpost.git
1111
repoSubDirectory: sdks/outpost-go
1212
installationURL: https://github.com/hookdeck/outpost/sdks/outpost-go
1313
features:
1414
go:
1515
additionalDependencies: 0.1.0
1616
additionalProperties: 0.1.2
17-
core: 3.9.3
17+
constsAndDefaults: 0.1.12
18+
core: 3.9.6
1819
defaultEnabledRetries: 0.2.0
1920
envVarSecurityUsage: 0.3.2
2021
flattening: 2.81.1
@@ -26,9 +27,9 @@ features:
2627
nameOverrides: 2.81.2
2728
nullables: 0.1.1
2829
responseFormat: 0.1.2
29-
retries: 2.84.0
30+
retries: 2.84.2
3031
sdkHooks: 0.2.0
31-
unions: 2.85.12
32+
unions: 2.85.14
3233
generatedFiles:
3334
- .gitattributes
3435
- /models/apierrors/badrequesterror.go
@@ -39,17 +40,21 @@ generatedFiles:
3940
- /models/apierrors/unauthorizederror.go
4041
- /models/components/awskinesisconfig.go
4142
- /models/components/awskinesiscredentials.go
43+
- /models/components/awss3config.go
44+
- /models/components/awss3credentials.go
4245
- /models/components/awssqsconfig.go
4346
- /models/components/awssqscredentials.go
4447
- /models/components/azureservicebusconfig.go
4548
- /models/components/azureservicebuscredentials.go
4649
- /models/components/deliveryattempt.go
4750
- /models/components/destination.go
4851
- /models/components/destinationawskinesis.go
52+
- /models/components/destinationawss3.go
4953
- /models/components/destinationawssqs.go
5054
- /models/components/destinationazureservicebus.go
5155
- /models/components/destinationcreate.go
5256
- /models/components/destinationcreateawskinesis.go
57+
- /models/components/destinationcreateawss3.go
5358
- /models/components/destinationcreateawssqs.go
5459
- /models/components/destinationcreateazureservicebus.go
5560
- /models/components/destinationcreatehookdeck.go
@@ -61,6 +66,7 @@ generatedFiles:
6166
- /models/components/destinationtypeschema.go
6267
- /models/components/destinationupdate.go
6368
- /models/components/destinationupdateawskinesis.go
69+
- /models/components/destinationupdateawss3.go
6470
- /models/components/destinationupdateawssqs.go
6571
- /models/components/destinationupdatehookdeck.go
6672
- /models/components/destinationupdaterabbitmq.go
@@ -118,6 +124,8 @@ generatedFiles:
118124
- docs/models/apierrors/unauthorizederror.md
119125
- docs/models/components/awskinesisconfig.md
120126
- docs/models/components/awskinesiscredentials.md
127+
- docs/models/components/awss3config.md
128+
- docs/models/components/awss3credentials.md
121129
- docs/models/components/awssqsconfig.md
122130
- docs/models/components/awssqscredentials.md
123131
- docs/models/components/azureservicebusconfig.md
@@ -126,13 +134,17 @@ generatedFiles:
126134
- docs/models/components/destination.md
127135
- docs/models/components/destinationawskinesis.md
128136
- docs/models/components/destinationawskinesistype.md
137+
- docs/models/components/destinationawss3.md
138+
- docs/models/components/destinationawss3type.md
129139
- docs/models/components/destinationawssqs.md
130140
- docs/models/components/destinationawssqstype.md
131141
- docs/models/components/destinationazureservicebus.md
132142
- docs/models/components/destinationazureservicebustype.md
133143
- docs/models/components/destinationcreate.md
134144
- docs/models/components/destinationcreateawskinesis.md
135145
- docs/models/components/destinationcreateawskinesistype.md
146+
- docs/models/components/destinationcreateawss3.md
147+
- docs/models/components/destinationcreateawss3type.md
136148
- docs/models/components/destinationcreateawssqs.md
137149
- docs/models/components/destinationcreateawssqstype.md
138150
- docs/models/components/destinationcreateazureservicebus.md
@@ -152,6 +164,7 @@ generatedFiles:
152164
- docs/models/components/destinationtypeschema.md
153165
- docs/models/components/destinationupdate.md
154166
- docs/models/components/destinationupdateawskinesis.md
167+
- docs/models/components/destinationupdateawss3.md
155168
- docs/models/components/destinationupdateawssqs.md
156169
- docs/models/components/destinationupdatehookdeck.md
157170
- docs/models/components/destinationupdaterabbitmq.md
@@ -234,10 +247,12 @@ generatedFiles:
234247
- docs/models/operations/listtenanteventsbydestinationglobals.md
235248
- docs/models/operations/listtenanteventsbydestinationrequest.md
236249
- docs/models/operations/listtenanteventsbydestinationresponse.md
250+
- docs/models/operations/listtenanteventsbydestinationresponsebody.md
237251
- docs/models/operations/listtenanteventsbydestinationstatus.md
238252
- docs/models/operations/listtenanteventsglobals.md
239253
- docs/models/operations/listtenanteventsrequest.md
240254
- docs/models/operations/listtenanteventsresponse.md
255+
- docs/models/operations/listtenanteventsresponsebody.md
241256
- docs/models/operations/listtenanteventsstatus.md
242257
- docs/models/operations/listtenanttopicsglobals.md
243258
- docs/models/operations/listtenanttopicsrequest.md
@@ -371,7 +386,7 @@ examples:
371386
query: {}
372387
responses:
373388
"200":
374-
application/json: [{"id": "des_webhook_123", "type": "webhook", "topics": ["user.created", "order.shipped"], "disabled_at": null, "created_at": "2024-02-15T10:00:00Z", "config": {"url": "https://my-service.com/webhook/handler"}, "credentials": {"secret": "whsec_abc123def456", "previous_secret": "whsec_prev789xyz012", "previous_secret_invalid_at": "2024-02-16T10:00:00Z"}}, {"id": "des_sqs_456", "type": "aws_sqs", "topics": ["*"], "disabled_at": "2024-03-01T12:00:00Z", "created_at": "2024-02-20T11:30:00Z", "config": {"endpoint": "https://sqs.us-west-2.amazonaws.com", "queue_url": "https://sqs.us-west-2.amazonaws.com/123456789012/my-app-queue"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}]
389+
application/json: [{"id": "des_webhook_123", "type": "webhook", "topics": ["user.created", "order.shipped"], "disabled_at": null, "created_at": "2024-02-15T10:00:00Z", "config": {"url": "https://my-service.com/webhook/handler"}, "credentials": {"secret": "whsec_abc123def456", "previous_secret": "whsec_prev789xyz012", "previous_secret_invalid_at": "2024-02-16T10:00:00Z"}}, {"id": "des_sqs_456", "type": "aws_sqs", "topics": ["*"], "disabled_at": "2024-03-01T12:00:00Z", "created_at": "2024-02-20T11:30:00Z", "config": {"endpoint": "https://sqs.us-west-2.amazonaws.com", "queue_url": "https://sqs.us-west-2.amazonaws.com/123456789012/my-app-queue"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}, {"id": "des_s3_789", "type": "aws_s3", "topics": ["*"], "disabled_at": null, "created_at": "2024-03-20T12:00:00Z", "config": {"bucket": "my-bucket", "region": "us-east-1"}, "credentials": {"key": "AKIAIOSFODNN7EXAMPLE", "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}]
375390
createTenantDestination:
376391
WebhookCreatedExample:
377392
parameters:
@@ -463,7 +478,7 @@ examples:
463478
tenant_id: "<id>"
464479
responses:
465480
"200":
466-
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}]}, {"type": "aws_sqs", "label": "AWS SQS", "description": "Send event to an AWS SQS queue", "icon": "<svg />", "instructions": "Enter Queue URL...", "config_fields": [{"type": "text", "label": "Queue URL", "description": "The URL of the SQS queue.", "required": true}, {"type": "text", "label": "Endpoint", "description": "Optional custom AWS endpoint URL.", "required": false}], "credential_fields": [{"type": "text", "label": "Key", "description": "AWS Access Key ID.", "required": true, "sensitive": true}, {"type": "text", "label": "Secret", "description": "AWS Secret Access Key.", "required": true, "sensitive": true}, {"type": "text", "label": "Session", "description": "Optional AWS Session Token.", "required": false, "sensitive": true}]}]
481+
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}]}, {"type": "aws_sqs", "label": "AWS SQS", "description": "Send event to an AWS SQS queue", "icon": "<svg />", "instructions": "Enter Queue URL...", "config_fields": [{"type": "text", "label": "Queue URL", "description": "The URL of the SQS queue.", "required": true}, {"type": "text", "label": "Endpoint", "description": "Optional custom AWS endpoint URL.", "required": false}], "credential_fields": [{"type": "text", "label": "Key", "description": "AWS Access Key ID.", "required": true, "sensitive": true}, {"type": "text", "label": "Secret", "description": "AWS Secret Access Key.", "required": true, "sensitive": true}, {"type": "text", "label": "Session", "description": "Optional AWS Session Token.", "required": false, "sensitive": true}]}, {"type": "aws_s3", "label": "AWS S3", "description": "Store events in an Amazon S3 bucket", "icon": "<svg />", "instructions": "Enter bucket and region...", "config_fields": [{"type": "text", "label": "Bucket Name", "description": "The name of the S3 bucket.", "required": true}, {"type": "text", "label": "AWS Region", "description": "The AWS region where the bucket is located.", "required": true}], "credential_fields": [{"type": "text", "label": "Key", "description": "AWS Access Key ID.", "required": true, "sensitive": true}, {"type": "text", "label": "Secret", "description": "AWS Secret Access Key.", "required": true, "sensitive": true}]}, {"type": "aws_s3", "label": "AWS S3", "description": "Store events in an Amazon S3 bucket", "icon": "<svg />", "instructions": "Enter bucket and region...", "config_fields": [{"type": "text", "label": "Bucket Name", "description": "The name of the S3 bucket.", "required": true}, {"type": "text", "label": "AWS Region", "description": "The AWS region where the bucket is located.", "required": true}], "credential_fields": [{"type": "text", "label": "Key", "description": "AWS Access Key ID.", "required": true, "sensitive": true}, {"type": "text", "label": "Secret", "description": "AWS Secret Access Key.", "required": true, "sensitive": true}]}]
467482
getTenantDestinationTypeSchema:
468483
WebhookSchemaExample:
469484
parameters:
@@ -504,10 +519,11 @@ examples:
504519
parameters:
505520
path:
506521
tenant_id: "<id>"
507-
query: {}
522+
query:
523+
limit: 100
508524
responses:
509525
"200":
510-
application/json: [{"id": "evt_123", "destination_id": "des_456", "topic": "user.created", "time": "2024-01-01T00:00:00Z", "successful_at": "2024-01-01T00:00:05Z", "metadata": {"source": "crm"}, "data": {"user_id": "userid", "status": "active"}}, {"id": "evt_789", "destination_id": "des_456", "topic": "order.shipped", "time": "2024-01-02T10:00:00Z", "successful_at": null, "metadata": {"source": "oms"}, "data": {"order_id": "orderid", "tracking": "1Z..."}}]
526+
application/json: {"count": 2, "data": [{"id": "evt_123", "destination_id": "des_456", "topic": "user.created", "time": "2024-01-01T00:00:00Z", "successful_at": "2024-01-01T00:00:05Z", "metadata": {"source": "crm"}, "data": {"user_id": "userid", "status": "active"}}, {"id": "evt_789", "destination_id": "des_456", "topic": "order.shipped", "time": "2024-01-02T10:00:00Z", "successful_at": null, "metadata": {"source": "oms"}, "data": {"order_id": "orderid", "tracking": "1Z..."}}], "next": "", "prev": ""}
511527
getTenantEvent:
512528
EventExample:
513529
parameters:
@@ -532,10 +548,11 @@ examples:
532548
path:
533549
tenant_id: "<id>"
534550
destination_id: "<id>"
535-
query: {}
551+
query:
552+
limit: 100
536553
responses:
537554
"200":
538-
application/json: [{"id": "evt_123", "destination_id": "des_456", "topic": "user.created", "time": "2024-01-01T00:00:00Z", "successful_at": "2024-01-01T00:00:05Z", "metadata": {"source": "crm"}, "data": {"user_id": "userid", "status": "active"}}, {"id": "evt_789", "destination_id": "des_456", "topic": "order.shipped", "time": "2024-01-02T10:00:00Z", "successful_at": null, "metadata": {"source": "oms"}, "data": {"order_id": "orderid", "tracking": "1Z..."}}]
555+
application/json: {"count": 2, "data": [{"id": "evt_123", "destination_id": "des_456", "topic": "user.created", "time": "2024-01-01T00:00:00Z", "successful_at": "2024-01-01T00:00:05Z", "metadata": {"source": "crm"}, "data": {"user_id": "userid", "status": "active"}}, {"id": "evt_789", "destination_id": "des_456", "topic": "order.shipped", "time": "2024-01-02T10:00:00Z", "successful_at": null, "metadata": {"source": "oms"}, "data": {"order_id": "orderid", "tracking": "1Z..."}}], "next": "", "prev": ""}
539556
getTenantEventByDestination:
540557
EventExample:
541558
parameters:
@@ -574,3 +591,4 @@ examples:
574591
application/json: {}
575592
examplesVersion: 1.0.2
576593
generatedTests: {}
594+
releaseNotes: "## Go SDK Changes Detected:\n* `Outpost.Events.List()`: \n * `request` **Changed** **Breaking** :warning:\n * `response` **Changed** **Breaking** :warning:\n* `Outpost.Events.ListByDestination()`: \n * `request` **Changed** **Breaking** :warning:\n * `response` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.List()`: \n * `request.Type` **Changed**\n * `response.[].[awsS3]` **Added**\n* `Outpost.Destinations.Create()`: \n * `request.DestinationCreate.[awsS3]` **Added**\n * `response.[awsS3]` **Added**\n* `Outpost.Destinations.Get()`: `response.[awsS3]` **Added**\n* `Outpost.Destinations.Update()`: \n * `request.DestinationUpdate.[destinationUpdateAwss3]` **Added**\n * `response.[destination].[awsS3]` **Added**\n* `Outpost.Destinations.Enable()`: `response.[awsS3]` **Added**\n* `Outpost.Destinations.Disable()`: `response.[awsS3]` **Added**\n* `Outpost.Schemas.Get()`: `request.Type` **Changed**\n* `Outpost.Schemas.GetDestinationTypeJwt()`: `request.Type` **Changed**\n"

sdks/outpost-go/.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
go:
24-
version: 0.3.0
24+
version: 0.4.0
2525
additionalDependencies: {}
2626
allowUnknownFieldsInWeakUnions: false
2727
baseErrorName: OutpostError
@@ -42,5 +42,6 @@ go:
4242
modulePath: ""
4343
outputModelSuffix: output
4444
packageName: github.com/hookdeck/outpost/sdks/outpost-go
45+
respectRequiredFields: false
4546
responseFormat: envelope-http
4647
sdkPackageName: ""

sdks/outpost-go/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,14 @@ Based on:
4848
### Generated
4949
- [go v0.3.0] sdks/outpost-go
5050
### Releases
51-
- [Go v0.3.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.3.0 - sdks/outpost-go
51+
- [Go v0.3.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.3.0 - sdks/outpost-go
52+
53+
## 2025-09-03 14:48:55
54+
### Changes
55+
Based on:
56+
- OpenAPI Doc
57+
- Speakeasy CLI 1.608.0 (2.691.6) https://github.com/speakeasy-api/speakeasy
58+
### Generated
59+
- [go v0.4.0] sdks/outpost-go
60+
### Releases
61+
- [Go v0.4.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.4.0 - sdks/outpost-go

0 commit comments

Comments
 (0)