Skip to content

Commit 022f268

Browse files
authored
Merge pull request #632 from hookdeck/speakeasy-sdk-regen-1768556640
chore: 🐝 Update SDK - Generate OUTPOST-GO 0.5.0
2 parents fa2caba + b8b6bb9 commit 022f268

File tree

193 files changed

+9656
-7534
lines changed

Some content is hidden

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

193 files changed

+9656
-7534
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.636.3
1+
speakeasyVersion: 1.686.0
22
sources:
33
Outpost API:
44
sourceNamespace: outpost-api
5-
sourceRevisionDigest: sha256:abcb227d706ddbbb55ab9a423da413260c4d83c247616a9f6067890ff4bfa997
6-
sourceBlobDigest: sha256:b8f43e14862cadf618bc568c76cec68ed15da6c4c7fec0541edd4671a3b26815
5+
sourceRevisionDigest: sha256:8941d1967366536a7f0a5ffcdc01778a28f4b8b924742cd71187bbc7b9d3c1bd
6+
sourceBlobDigest: sha256:bc4c78bf0f74da9cbc25c15d9c2fe8ccde94fabf447bb8de28307556efaa7d7d
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1768556640
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:8941d1967366536a7f0a5ffcdc01778a28f4b8b924742cd71187bbc7b9d3c1bd
16+
sourceBlobDigest: sha256:bc4c78bf0f74da9cbc25c15d9c2fe8ccde94fabf447bb8de28307556efaa7d7d
1617
codeSamplesNamespace: outpost-api-go-code-samples
17-
codeSamplesRevisionDigest: sha256:0e3fa3204f6f516dd30a924b7a1c07749873126109ccc30817795cd02c9854d7
18+
codeSamplesRevisionDigest: sha256:77daa72d768a7e2d49a8d9f4ddc6ad8b999fa186832b66c268e126ddcd7a40c6
1819
outpost-python:
1920
source: Outpost API
2021
sourceNamespace: outpost-api

sdks/outpost-go/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
# .gitignore
24
.DS_Store
35
**/.speakeasy/temp/

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

Lines changed: 1593 additions & 303 deletions
Large diffs are not rendered by default.

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.6.0
30+
version: 0.5.0
3131
additionalDependencies: {}
3232
allowUnknownFieldsInWeakUnions: false
3333
baseErrorName: OutpostError

sdks/outpost-go/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func main() {
6666
if err != nil {
6767
log.Fatal(err)
6868
}
69-
if res.Res != nil {
69+
if res.Object != nil {
7070
// handle response
7171
}
7272
}
@@ -102,15 +102,15 @@ func main() {
102102

103103
s := outpostgo.New(
104104
outpostgo.WithSecurity(components.Security{
105-
AdminAPIKey: outpostgo.String("<YOUR_BEARER_TOKEN_HERE>"),
105+
AdminAPIKey: outpostgo.Pointer("<YOUR_BEARER_TOKEN_HERE>"),
106106
}),
107107
)
108108

109109
res, err := s.Health.Check(ctx)
110110
if err != nil {
111111
log.Fatal(err)
112112
}
113-
if res.Res != nil {
113+
if res.Object != nil {
114114
// handle response
115115
}
116116
}
@@ -147,7 +147,6 @@ func main() {
147147

148148
* [Check](docs/sdks/health/README.md#check) - Health Check
149149

150-
151150
### [Publish](docs/sdks/publish/README.md)
152151

153152
* [Event](docs/sdks/publish/README.md#event) - Publish Event
@@ -161,6 +160,7 @@ func main() {
161160

162161
### [Tenants](docs/sdks/tenants/README.md)
163162

163+
* [ListTenants](docs/sdks/tenants/README.md#listtenants) - List Tenants
164164
* [Upsert](docs/sdks/tenants/README.md#upsert) - Create or Update Tenant
165165
* [Get](docs/sdks/tenants/README.md#get) - Get Tenant
166166
* [Delete](docs/sdks/tenants/README.md#delete) - Delete Tenant
@@ -209,11 +209,11 @@ func main() {
209209
s := outpostgo.New(
210210
outpostgo.WithTenantID("<id>"),
211211
outpostgo.WithSecurity(components.Security{
212-
AdminAPIKey: outpostgo.String("<YOUR_BEARER_TOKEN_HERE>"),
212+
AdminAPIKey: outpostgo.Pointer("<YOUR_BEARER_TOKEN_HERE>"),
213213
}),
214214
)
215215

216-
res, err := s.Tenants.Upsert(ctx)
216+
res, err := s.Tenants.Upsert(ctx, nil)
217217
if err != nil {
218218
log.Fatal(err)
219219
}
@@ -261,7 +261,7 @@ func main() {
261261
if err != nil {
262262
log.Fatal(err)
263263
}
264-
if res.Res != nil {
264+
if res.Object != nil {
265265
// handle response
266266
}
267267
}
@@ -300,7 +300,7 @@ func main() {
300300
if err != nil {
301301
log.Fatal(err)
302302
}
303-
if res.Res != nil {
303+
if res.Object != nil {
304304
// handle response
305305
}
306306
}
@@ -449,7 +449,7 @@ func main() {
449449
if err != nil {
450450
log.Fatal(err)
451451
}
452-
if res.Res != nil {
452+
if res.Object != nil {
453453
// handle response
454454
}
455455
}

sdks/outpost-go/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ Based on:
5858
### Generated
5959
- [go v0.4.0] sdks/outpost-go
6060
### Releases
61-
- [Go v0.4.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.4.0 - sdks/outpost-go
61+
- [Go v0.4.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.4.0 - sdks/outpost-go
62+
63+
## 2026-01-16 09:43:41
64+
### Changes
65+
Based on:
66+
- OpenAPI Doc
67+
- Speakeasy CLI 1.686.0 (2.796.1) https://github.com/speakeasy-api/speakeasy
68+
### Generated
69+
- [go v0.5.0] sdks/outpost-go
70+
### Releases
71+
- [Go v0.5.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.0 - sdks/outpost-go

sdks/outpost-go/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717
if err != nil {
1818
log.Fatal(err)
1919
}
20-
if res.Res != nil {
20+
if res.Object != nil {
2121
// handle response
2222
}
2323
}

0 commit comments

Comments
 (0)