diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 97568b34d..9e5b2892e 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -6,15 +6,16 @@ sources: sourceBlobDigest: sha256:e3b85ac9da28706696320ca22b6ca215624531b31c3d79474802b1dbf485bd4d tags: - latest + - speakeasy-sdk-regen-1768565298 - 0.0.1 targets: outpost-go: source: Outpost API sourceNamespace: outpost-api - sourceRevisionDigest: sha256:4042dbef541e06289b580460ccfb39d8f444c852e134de2245b13e1ffd43dcf3 - sourceBlobDigest: sha256:3859f29c380e176f9382eb969cefbb9c8701875d4837ee8a9549b78bf92eebc6 + sourceRevisionDigest: sha256:1534dabb139bd405d19820be4eddbd8540fc924fa5a267332a7296f8663dd15a + sourceBlobDigest: sha256:e3b85ac9da28706696320ca22b6ca215624531b31c3d79474802b1dbf485bd4d codeSamplesNamespace: outpost-api-go-code-samples - codeSamplesRevisionDigest: sha256:0e3fa3204f6f516dd30a924b7a1c07749873126109ccc30817795cd02c9854d7 + codeSamplesRevisionDigest: sha256:4e04f777fdfd32143739dbe63196004706a4ec75c9c4a872e97af1d9df1ae472 outpost-python: source: Outpost API sourceNamespace: outpost-api diff --git a/sdks/outpost-go/.speakeasy/gen.lock b/sdks/outpost-go/.speakeasy/gen.lock index 1e2d9bf4c..b6220a874 100644 --- a/sdks/outpost-go/.speakeasy/gen.lock +++ b/sdks/outpost-go/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: f0627709-5a00-43ac-8678-ca716d6f379c management: - docChecksum: 69b1d2171bde78e84ab6cfa4914c6bf9 + docChecksum: 9aa6a27d328a44e041c80d25dbe5ee7f docVersion: 0.0.1 speakeasyVersion: 1.686.0 generationVersion: 2.796.1 - releaseVersion: 0.5.0 - configChecksum: 4cd14feb7870b13553464297b65ca701 + releaseVersion: 0.5.1 + configChecksum: 54dfb5f2f1b9e3dc0d3c45a533aafbe9 repoURL: https://github.com/hookdeck/outpost.git repoSubDirectory: sdks/outpost-go installationURL: https://github.com/hookdeck/outpost/sdks/outpost-go persistentEdits: - generation_id: 8620d4f8-fde0-4516-9f97-a4788bf57870 - pristine_commit_hash: 4297383af2e1eafc06a91ad9104a77dfde8d9a5e - pristine_tree_hash: 07e403e65a91efdec4264b062e7961869eddab37 + generation_id: c090645a-0264-4d2b-80c1-186d8f608a95 + pristine_commit_hash: 6c2494bc5e393b4b46257b32f98501bd4dafe871 + pristine_tree_hash: 1d51d2f73b6a1a95846b694058ed4a6c0c90cbad features: go: additionalDependencies: 0.1.0 @@ -641,8 +641,8 @@ trackedFiles: pristine_git_object: 7e8d820ece407b74b2b6e7fd76775829892c7d47 docs/models/operations/listtenanteventsbydestinationresponsebody.md: id: 21df1a9f12ee - last_write_checksum: sha1:d38466d12e091fd32a9b8e1238d43159b655339f - pristine_git_object: 404b319d4d16b392b6a47792a8ef2f943d04bd25 + last_write_checksum: sha1:7bc58f28ba4db36f57c9306a8ef27c66333e58eb + pristine_git_object: f0b9e04e33e3eb5313579ad27599f1ca8e2d681b docs/models/operations/listtenanteventsbydestinationstatus.md: id: 887bb9af7442 last_write_checksum: sha1:11c44888c11428180e88a4c9866cb78a114f590e @@ -661,8 +661,8 @@ trackedFiles: pristine_git_object: aedf50891a14a3c18af96da00ef82ba4ec7c1354 docs/models/operations/listtenanteventsresponsebody.md: id: b06c193eed0f - last_write_checksum: sha1:ef56aa89328de913a56751eaa3a3aecf47b507b3 - pristine_git_object: c63b5e750a8e876f49d11911a280c936fca45259 + last_write_checksum: sha1:841a4cc34e086c1bdef5dd32bd8e25d20b1ef400 + pristine_git_object: 1fd825b163c4e83e0f6b38a99bf39625d07dff91 docs/models/operations/listtenanteventsstatus.md: id: a94fcd5ae97c last_write_checksum: sha1:170b653d18a29431cb482f91c71a4ef56a0c7f21 @@ -1205,12 +1205,12 @@ trackedFiles: pristine_git_object: da3142762db8f3f580ac96d62755bbc421f46e22 models/operations/listtenantevents.go: id: b47c5316331a - last_write_checksum: sha1:8ab84babef1d1f441039597d25b418f9a7f2cf55 - pristine_git_object: 9537c52d3c9ecc39d4c04349ab884af0f07c1c7e + last_write_checksum: sha1:5a993195a1d9846087faec19fba45044cae334f7 + pristine_git_object: 9160720a04438f078648ef5853d7babbb09050fa models/operations/listtenanteventsbydestination.go: id: 490fbee57544 - last_write_checksum: sha1:1eb22bd31162d5f16bc493c56b0fca2fa4630e9c - pristine_git_object: 54748211b8de5beadb51caa139eca88daa7c17ef + last_write_checksum: sha1:63bbfd3ee2e6bb74df243721356ae15080c3bb87 + pristine_git_object: 6fa44db994362bea53f60ed18a18f2dc136d14dd models/operations/listtenants.go: id: 1d503b0f52be last_write_checksum: sha1:60f820282697bfa9d2c418a1e6d78025b6ae5371 @@ -1253,8 +1253,8 @@ trackedFiles: pristine_git_object: e6e5a01c6e721e879e24a38a1f97e3e27d4686d4 outpost.go: id: 7aebc57e3f81 - last_write_checksum: sha1:9df00493102717a8630b2560b2626513db750f72 - pristine_git_object: 8ebcbb64f0e3cbcdf9bd360374786f953990036e + last_write_checksum: sha1:47a66ff1c4a543df32899ece9c45ac7ca8d17115 + pristine_git_object: b15e049d0f7ed3fddc0bf1f39c9c98d938f6678c publish.go: id: b4cd78c909e0 last_write_checksum: sha1:c7f08f05b5fa72f932b9d0e92952185cc67ea44c @@ -1600,7 +1600,7 @@ examples: application/json: {"error": "list tenant not supported"} examplesVersion: 1.0.2 generatedTests: {} -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" +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" generatedFiles: - .gitattributes - /models/apierrors/badrequesterror.go diff --git a/sdks/outpost-go/.speakeasy/gen.yaml b/sdks/outpost-go/.speakeasy/gen.yaml index 58ce4bc27..d1bdfba41 100644 --- a/sdks/outpost-go/.speakeasy/gen.yaml +++ b/sdks/outpost-go/.speakeasy/gen.yaml @@ -27,7 +27,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false go: - version: 0.5.0 + version: 0.5.1 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false baseErrorName: OutpostError diff --git a/sdks/outpost-go/RELEASES.md b/sdks/outpost-go/RELEASES.md index 3948649bd..d80571dbf 100644 --- a/sdks/outpost-go/RELEASES.md +++ b/sdks/outpost-go/RELEASES.md @@ -68,4 +68,14 @@ Based on: ### Generated - [go v0.5.0] sdks/outpost-go ### Releases -- [Go v0.5.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.0 - sdks/outpost-go \ No newline at end of file +- [Go v0.5.0] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.0 - sdks/outpost-go + +## 2026-01-16 12:07:57 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.686.0 (2.796.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v0.5.1] sdks/outpost-go +### Releases +- [Go v0.5.1] https://github.com/hookdeck/outpost/releases/tag/sdks/outpost-go/v0.5.1 - sdks/outpost-go \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listtenanteventsbydestinationresponsebody.md b/sdks/outpost-go/docs/models/operations/listtenanteventsbydestinationresponsebody.md index 404b319d4..f0b9e04e3 100644 --- a/sdks/outpost-go/docs/models/operations/listtenanteventsbydestinationresponsebody.md +++ b/sdks/outpost-go/docs/models/operations/listtenanteventsbydestinationresponsebody.md @@ -9,5 +9,5 @@ A paginated list of events for the destination. | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | | `Count` | *int64* | :heavy_check_mark: | Total number of items across all pages | 42 | | `Data` | [][components.Event](../../models/components/event.md) | :heavy_check_mark: | N/A | | -| `NextCursor` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | | -| `PrevCursor` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | | \ No newline at end of file +| `Next` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | | +| `Prev` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | | \ No newline at end of file diff --git a/sdks/outpost-go/docs/models/operations/listtenanteventsresponsebody.md b/sdks/outpost-go/docs/models/operations/listtenanteventsresponsebody.md index c63b5e750..1fd825b16 100644 --- a/sdks/outpost-go/docs/models/operations/listtenanteventsresponsebody.md +++ b/sdks/outpost-go/docs/models/operations/listtenanteventsresponsebody.md @@ -9,5 +9,5 @@ A paginated list of events. | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | | `Count` | *int64* | :heavy_check_mark: | Total number of items across all pages | 42 | | `Data` | [][components.Event](../../models/components/event.md) | :heavy_check_mark: | N/A | | -| `NextCursor` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | | -| `PrevCursor` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | | \ No newline at end of file +| `Next` | *string* | :heavy_check_mark: | Cursor for next page (empty string if no next page) | | +| `Prev` | *string* | :heavy_check_mark: | Cursor for previous page (empty string if no previous page) | | \ No newline at end of file diff --git a/sdks/outpost-go/models/operations/listtenantevents.go b/sdks/outpost-go/models/operations/listtenantevents.go index 9537c52d3..9160720a0 100644 --- a/sdks/outpost-go/models/operations/listtenantevents.go +++ b/sdks/outpost-go/models/operations/listtenantevents.go @@ -205,9 +205,9 @@ type ListTenantEventsResponseBody struct { Count int64 `json:"count"` Data []components.Event `json:"data"` // Cursor for next page (empty string if no next page) - NextCursor string `json:"next"` + Next string `json:"next"` // Cursor for previous page (empty string if no previous page) - PrevCursor string `json:"prev"` + Prev string `json:"prev"` } func (l *ListTenantEventsResponseBody) GetCount() int64 { @@ -224,18 +224,18 @@ func (l *ListTenantEventsResponseBody) GetData() []components.Event { return l.Data } -func (l *ListTenantEventsResponseBody) GetNextCursor() string { +func (l *ListTenantEventsResponseBody) GetNext() string { if l == nil { return "" } - return l.NextCursor + return l.Next } -func (l *ListTenantEventsResponseBody) GetPrevCursor() string { +func (l *ListTenantEventsResponseBody) GetPrev() string { if l == nil { return "" } - return l.PrevCursor + return l.Prev } type ListTenantEventsResponse struct { diff --git a/sdks/outpost-go/models/operations/listtenanteventsbydestination.go b/sdks/outpost-go/models/operations/listtenanteventsbydestination.go index 54748211b..6fa44db99 100644 --- a/sdks/outpost-go/models/operations/listtenanteventsbydestination.go +++ b/sdks/outpost-go/models/operations/listtenanteventsbydestination.go @@ -140,9 +140,9 @@ type ListTenantEventsByDestinationResponseBody struct { Count int64 `json:"count"` Data []components.Event `json:"data"` // Cursor for next page (empty string if no next page) - NextCursor string `json:"next"` + Next string `json:"next"` // Cursor for previous page (empty string if no previous page) - PrevCursor string `json:"prev"` + Prev string `json:"prev"` } func (l *ListTenantEventsByDestinationResponseBody) GetCount() int64 { @@ -159,18 +159,18 @@ func (l *ListTenantEventsByDestinationResponseBody) GetData() []components.Event return l.Data } -func (l *ListTenantEventsByDestinationResponseBody) GetNextCursor() string { +func (l *ListTenantEventsByDestinationResponseBody) GetNext() string { if l == nil { return "" } - return l.NextCursor + return l.Next } -func (l *ListTenantEventsByDestinationResponseBody) GetPrevCursor() string { +func (l *ListTenantEventsByDestinationResponseBody) GetPrev() string { if l == nil { return "" } - return l.PrevCursor + return l.Prev } type ListTenantEventsByDestinationResponse struct { diff --git a/sdks/outpost-go/outpost.go b/sdks/outpost-go/outpost.go index 8ebcbb64f..b15e049d0 100644 --- a/sdks/outpost-go/outpost.go +++ b/sdks/outpost-go/outpost.go @@ -174,9 +174,9 @@ func WithTimeout(timeout time.Duration) SDKOption { // New creates a new instance of the SDK with the provided options func New(opts ...SDKOption) *Outpost { sdk := &Outpost{ - SDKVersion: "0.5.0", + SDKVersion: "0.5.1", sdkConfiguration: config.SDKConfiguration{ - UserAgent: "speakeasy-sdk/go 0.5.0 2.796.1 0.0.1 github.com/hookdeck/outpost/sdks/outpost-go", + UserAgent: "speakeasy-sdk/go 0.5.1 2.796.1 0.0.1 github.com/hookdeck/outpost/sdks/outpost-go", Globals: globals.Globals{}, ServerList: ServerList, },