Skip to content

Commit fe3b4a9

Browse files
authored
Merge pull request #637 from hookdeck/speakeasy-sdk-regen-1768565776
chore: 🐝 Update SDK - Generate OUTPOST-GO 0.5.1
2 parents 3b46e25 + 942ddc8 commit fe3b4a9

10 files changed

Lines changed: 55 additions & 44 deletions

File tree

.speakeasy/workflow.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,16 @@ sources:
66
sourceBlobDigest: sha256:e3b85ac9da28706696320ca22b6ca215624531b31c3d79474802b1dbf485bd4d
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1768565776
910
- 0.0.1
1011
targets:
1112
outpost-go:
1213
source: Outpost API
1314
sourceNamespace: outpost-api
14-
sourceRevisionDigest: sha256:4042dbef541e06289b580460ccfb39d8f444c852e134de2245b13e1ffd43dcf3
15-
sourceBlobDigest: sha256:3859f29c380e176f9382eb969cefbb9c8701875d4837ee8a9549b78bf92eebc6
15+
sourceRevisionDigest: sha256:1534dabb139bd405d19820be4eddbd8540fc924fa5a267332a7296f8663dd15a
16+
sourceBlobDigest: sha256:e3b85ac9da28706696320ca22b6ca215624531b31c3d79474802b1dbf485bd4d
1617
codeSamplesNamespace: outpost-api-go-code-samples
17-
codeSamplesRevisionDigest: sha256:0e3fa3204f6f516dd30a924b7a1c07749873126109ccc30817795cd02c9854d7
18+
codeSamplesRevisionDigest: sha256:4e04f777fdfd32143739dbe63196004706a4ec75c9c4a872e97af1d9df1ae472
1819
outpost-python:
1920
source: Outpost API
2021
sourceNamespace: outpost-api

docs/pages/guides/upgrade-v0.12.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This guide covers upgrading **Outpost platform** from v0.11 to v0.12.
1111
**Important**: Outpost platform versions (v0.12) are separate from SDK versions.
1212

1313
- **Outpost Platform**: The server/API version (currently v0.12)
14-
- **SDKs**: Client library versions (TypeScript v0.6.0, Python v0.5.0, Go v0.5.0)
14+
- **SDKs**: Client library versions (TypeScript v0.6.0, Python v0.5.0, Go v0.5.1)
1515

1616
SDK versions may not always match platform versions, as SDKs can have their own release cycle.
1717

@@ -64,7 +64,7 @@ DESTINATIONS_WEBHOOK_SIGNATURE_HEADER_TEMPLATE="t={{.Timestamp.Unix}},v0={{.Sign
6464

6565
## SDK Request Body Field Names (All SDKs)
6666

67-
All SDKs (TypeScript v0.6.0, Python v0.5.0, Go v0.5.0) now use a consistent `params` field name for request bodies instead of operation-specific names like `destinationCreate` or `destinationUpdate`.
67+
All SDKs (TypeScript v0.6.0, Python v0.5.0, Go v0.5.1) now use a consistent `params` field name for request bodies instead of operation-specific names like `destinationCreate` or `destinationUpdate`.
6868

6969
:::note[Examples]
7070
Examples shown in TypeScript, but changes apply to all SDKs (TypeScript, Python, Go).
@@ -120,7 +120,7 @@ await outpost.destinations.update({
120120

121121
## SDK Response Structure (All SDKs)
122122

123-
All SDKs (TypeScript v0.6.0, Python v0.5.0, Go v0.5.0) response structure has changed. Paginated responses (like events lists) now return data directly on the response object instead of nested under a `result` property.
123+
All SDKs (TypeScript v0.6.0, Python v0.5.0, Go v0.5.1) response structure has changed. Paginated responses (like events lists) now return data directly on the response object instead of nested under a `result` property.
124124

125125
:::note[Examples]
126126
Examples shown in TypeScript, but changes apply to all SDKs (TypeScript, Python, Go).
@@ -170,7 +170,7 @@ const events = response?.data || [];
170170

171171
Previously, all SDKs (TypeScript, Go, and Python) used `nextCursor`/`prevCursor` (or `next_cursor`/`prev_cursor` in Python) for pagination fields due to a shared overlay that renamed these fields to avoid Python's built-in `next()` function conflict.
172172

173-
With this release, we've separated the pagination overlay to be Python-specific. TypeScript v0.6.0 and Go v0.5.0 now use `next` and `prev` for pagination fields (both query parameters and response properties), matching the OpenAPI specification. Python v0.5.0 continues using `next_cursor` and `prev_cursor` consistently to avoid conflicts with Python's built-in `next()` function.
173+
With this release, we've separated the pagination overlay to be Python-specific. TypeScript v0.6.0 and Go v0.5.1 now use `next` and `prev` for pagination fields (both query parameters and response properties), matching the OpenAPI specification. Python v0.5.0 continues using `next_cursor` and `prev_cursor` consistently to avoid conflicts with Python's built-in `next()` function.
174174

175175
:::note[Examples]
176176
Examples shown in TypeScript, but changes apply to TypeScript and Go SDKs. Python SDK uses `next_cursor`/`prev_cursor` instead.

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
lockVersion: 2.0.0
22
id: f0627709-5a00-43ac-8678-ca716d6f379c
33
management:
4-
docChecksum: 69b1d2171bde78e84ab6cfa4914c6bf9
4+
docChecksum: 9aa6a27d328a44e041c80d25dbe5ee7f
55
docVersion: 0.0.1
66
speakeasyVersion: 1.686.0
77
generationVersion: 2.796.1
8-
releaseVersion: 0.5.0
9-
configChecksum: 4cd14feb7870b13553464297b65ca701
8+
releaseVersion: 0.5.1
9+
configChecksum: 54dfb5f2f1b9e3dc0d3c45a533aafbe9
1010
repoURL: https://github.com/hookdeck/outpost.git
1111
repoSubDirectory: sdks/outpost-go
1212
installationURL: https://github.com/hookdeck/outpost/sdks/outpost-go
1313
persistentEdits:
14-
generation_id: 8620d4f8-fde0-4516-9f97-a4788bf57870
15-
pristine_commit_hash: 4297383af2e1eafc06a91ad9104a77dfde8d9a5e
16-
pristine_tree_hash: 07e403e65a91efdec4264b062e7961869eddab37
14+
generation_id: 92481274-a5d5-4151-a41b-90a0ee20b10f
15+
pristine_commit_hash: 451a86a70e605c4a3d5e5fa42e9cc09fb7f32bb3
16+
pristine_tree_hash: 1d51d2f73b6a1a95846b694058ed4a6c0c90cbad
1717
features:
1818
go:
1919
additionalDependencies: 0.1.0
@@ -641,8 +641,8 @@ trackedFiles:
641641
pristine_git_object: 7e8d820ece407b74b2b6e7fd76775829892c7d47
642642
docs/models/operations/listtenanteventsbydestinationresponsebody.md:
643643
id: 21df1a9f12ee
644-
last_write_checksum: sha1:d38466d12e091fd32a9b8e1238d43159b655339f
645-
pristine_git_object: 404b319d4d16b392b6a47792a8ef2f943d04bd25
644+
last_write_checksum: sha1:7bc58f28ba4db36f57c9306a8ef27c66333e58eb
645+
pristine_git_object: f0b9e04e33e3eb5313579ad27599f1ca8e2d681b
646646
docs/models/operations/listtenanteventsbydestinationstatus.md:
647647
id: 887bb9af7442
648648
last_write_checksum: sha1:11c44888c11428180e88a4c9866cb78a114f590e
@@ -661,8 +661,8 @@ trackedFiles:
661661
pristine_git_object: aedf50891a14a3c18af96da00ef82ba4ec7c1354
662662
docs/models/operations/listtenanteventsresponsebody.md:
663663
id: b06c193eed0f
664-
last_write_checksum: sha1:ef56aa89328de913a56751eaa3a3aecf47b507b3
665-
pristine_git_object: c63b5e750a8e876f49d11911a280c936fca45259
664+
last_write_checksum: sha1:841a4cc34e086c1bdef5dd32bd8e25d20b1ef400
665+
pristine_git_object: 1fd825b163c4e83e0f6b38a99bf39625d07dff91
666666
docs/models/operations/listtenanteventsstatus.md:
667667
id: a94fcd5ae97c
668668
last_write_checksum: sha1:170b653d18a29431cb482f91c71a4ef56a0c7f21
@@ -1205,12 +1205,12 @@ trackedFiles:
12051205
pristine_git_object: da3142762db8f3f580ac96d62755bbc421f46e22
12061206
models/operations/listtenantevents.go:
12071207
id: b47c5316331a
1208-
last_write_checksum: sha1:8ab84babef1d1f441039597d25b418f9a7f2cf55
1209-
pristine_git_object: 9537c52d3c9ecc39d4c04349ab884af0f07c1c7e
1208+
last_write_checksum: sha1:5a993195a1d9846087faec19fba45044cae334f7
1209+
pristine_git_object: 9160720a04438f078648ef5853d7babbb09050fa
12101210
models/operations/listtenanteventsbydestination.go:
12111211
id: 490fbee57544
1212-
last_write_checksum: sha1:1eb22bd31162d5f16bc493c56b0fca2fa4630e9c
1213-
pristine_git_object: 54748211b8de5beadb51caa139eca88daa7c17ef
1212+
last_write_checksum: sha1:63bbfd3ee2e6bb74df243721356ae15080c3bb87
1213+
pristine_git_object: 6fa44db994362bea53f60ed18a18f2dc136d14dd
12141214
models/operations/listtenants.go:
12151215
id: 1d503b0f52be
12161216
last_write_checksum: sha1:60f820282697bfa9d2c418a1e6d78025b6ae5371
@@ -1253,8 +1253,8 @@ trackedFiles:
12531253
pristine_git_object: e6e5a01c6e721e879e24a38a1f97e3e27d4686d4
12541254
outpost.go:
12551255
id: 7aebc57e3f81
1256-
last_write_checksum: sha1:9df00493102717a8630b2560b2626513db750f72
1257-
pristine_git_object: 8ebcbb64f0e3cbcdf9bd360374786f953990036e
1256+
last_write_checksum: sha1:47a66ff1c4a543df32899ece9c45ac7ca8d17115
1257+
pristine_git_object: b15e049d0f7ed3fddc0bf1f39c9c98d938f6678c
12581258
publish.go:
12591259
id: b4cd78c909e0
12601260
last_write_checksum: sha1:c7f08f05b5fa72f932b9d0e92952185cc67ea44c
@@ -1600,7 +1600,7 @@ examples:
16001600
application/json: {"error": "list tenant not supported"}
16011601
examplesVersion: 1.0.2
16021602
generatedTests: {}
1603-
releaseNotes: "## Go SDK Changes:\n* `Outpost.Destinations.Enable()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.GetToken()`: \n * `response.TenantId` **Added**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.Upsert()`: \n * `request.Params` **Added**\n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.Get()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.Delete()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.GetPortalUrl()`: \n * `response.TenantId` **Added**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Delete()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.List()`: \n * `request.Type` **Changed** **Breaking** :warning:\n * `response.[]` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Create()`: \n * `request.Params` **Changed**\n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Get()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Health.Check()`: `response.status[200]` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Update()`: \n * `request.Params` **Changed**\n * `response.[destination]` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Schemas.Get()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Disable()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.Retry()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Schemas.ListTenantDestinationTypes()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.GetByDestination()`: \n * `response` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Topics.List()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.List()`: \n * `response` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.Get()`: \n * `response` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.ListDeliveries()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.ListByDestination()`: \n * `response` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.ListTenants()`: **Added**\n* `Outpost.Publish.Event()`: `response.Duplicate` **Added**\n"
1603+
releaseNotes: "## Go SDK Changes:\n* `Outpost.Destinations.Enable()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.GetToken()`: \n * `response.TenantId` **Added**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.Upsert()`: \n * `request.Params` **Added**\n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.Get()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.Delete()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.GetPortalUrl()`: \n * `response.TenantId` **Added**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Delete()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.List()`: \n * `request.Type` **Changed** **Breaking** :warning:\n * `response.[]` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Create()`: \n * `request.Params` **Changed**\n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Get()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Health.Check()`: `response.status[200]` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Update()`: \n * `request.Params` **Changed**\n * `response.[destination]` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Schemas.Get()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Destinations.Disable()`: \n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.Retry()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Schemas.ListTenantDestinationTypes()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.GetByDestination()`: \n * `response` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Topics.List()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.List()`: \n * `response.Data.[]` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.Get()`: \n * `response` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.ListDeliveries()`: `error` **Changed** **Breaking** :warning:\n* `Outpost.Events.ListByDestination()`: \n * `response.Data.[]` **Changed** **Breaking** :warning:\n * `error` **Changed** **Breaking** :warning:\n* `Outpost.Tenants.ListTenants()`: **Added**\n* `Outpost.Publish.Event()`: `response.Duplicate` **Added**\n"
16041604
generatedFiles:
16051605
- .gitattributes
16061606
- /models/apierrors/badrequesterror.go

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ generation:
2727
generateNewTests: false
2828
skipResponseBodyAssertions: false
2929
go:
30-
version: 0.5.0
30+
version: 0.5.1
3131
additionalDependencies: {}
3232
allowUnknownFieldsInWeakUnions: false
3333
baseErrorName: OutpostError

sdks/outpost-go/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,14 @@ Based on:
6868
### Generated
6969
- [go v0.5.0] sdks/outpost-go
7070
### Releases
71-
- [Go v0.5.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.0 - sdks/outpost-go
71+
- [Go v0.5.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.0 - sdks/outpost-go
72+
73+
## 2026-01-16 12:15:58
74+
### Changes
75+
Based on:
76+
- OpenAPI Doc
77+
- Speakeasy CLI 1.686.0 (2.796.1) https://github.com/speakeasy-api/speakeasy
78+
### Generated
79+
- [go v0.5.1] sdks/outpost-go
80+
### Releases
81+
- [Go v0.5.1] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.1 - sdks/outpost-go

sdks/outpost-go/docs/models/operations/listtenanteventsbydestinationresponsebody.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ A paginated list of events for the destination.
99
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
1010
| `Count` | *int64* | :heavy_check_mark: | Total number of items across all pages | 42 |
1111
| `Data` | [][components.Event](../../models/components/event.md) | :heavy_check_mark: | N/A | |
12-
| `NextCursor` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | |
13-
| `PrevCursor` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | |
12+
| `Next` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | |
13+
| `Prev` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | |

sdks/outpost-go/docs/models/operations/listtenanteventsresponsebody.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ A paginated list of events.
99
| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
1010
| `Count` | *int64* | :heavy_check_mark: | Total number of items across all pages | 42 |
1111
| `Data` | [][components.Event](../../models/components/event.md) | :heavy_check_mark: | N/A | |
12-
| `NextCursor` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | |
13-
| `PrevCursor` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | |
12+
| `Next` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | |
13+
| `Prev` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | |

sdks/outpost-go/models/operations/listtenantevents.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ type ListTenantEventsResponseBody struct {
205205
Count int64 `json:"count"`
206206
Data []components.Event `json:"data"`
207207
// Cursor for next page (empty string if no next page)
208-
NextCursor string `json:"next"`
208+
Next string `json:"next"`
209209
// Cursor for previous page (empty string if no previous page)
210-
PrevCursor string `json:"prev"`
210+
Prev string `json:"prev"`
211211
}
212212

213213
func (l *ListTenantEventsResponseBody) GetCount() int64 {
@@ -224,18 +224,18 @@ func (l *ListTenantEventsResponseBody) GetData() []components.Event {
224224
return l.Data
225225
}
226226

227-
func (l *ListTenantEventsResponseBody) GetNextCursor() string {
227+
func (l *ListTenantEventsResponseBody) GetNext() string {
228228
if l == nil {
229229
return ""
230230
}
231-
return l.NextCursor
231+
return l.Next
232232
}
233233

234-
func (l *ListTenantEventsResponseBody) GetPrevCursor() string {
234+
func (l *ListTenantEventsResponseBody) GetPrev() string {
235235
if l == nil {
236236
return ""
237237
}
238-
return l.PrevCursor
238+
return l.Prev
239239
}
240240

241241
type ListTenantEventsResponse struct {

0 commit comments

Comments
 (0)