Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3,181 changes: 1,835 additions & 1,346 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
go:
version: 3.14.0
version: 3.15.0
additionalDependencies:
github.com/google/uuid: v1.6.0
allowUnknownFieldsInWeakUnions: false
baseErrorName: NovuError
clientServerStatusCodesAsErrors: true
defaultErrorName: APIError
enableCustomCodeRegions: false
enableSkipDeserialization: false
envVarPrefix: NOVU
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
Expand Down
15 changes: 7 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.725.0
speakeasyVersion: 1.758.0
sources:
novu-OAS:
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:cc74b40cf202a2f1708a8f54f3ad9f0e186f3e817a2b0f8c69f7e5bebce79ccb
sourceBlobDigest: sha256:72f5de3eca967611e8f4e0b202b5404893bffc8360322acb29e7727300c07256
sourceRevisionDigest: sha256:b885ef5a0b1c51364b6c9c4d8cd5a02d41c8423055a08891696ab5c31373e9f0
sourceBlobDigest: sha256:4c44edd51d9ab44bc35d38124704872e33e9c438d6e8ca075a7c4bcc4e37ef24
tags:
- latest
- speakeasy-sdk-regen-1769645992
- 3.13.0
- 3.14.0
targets:
novu:
source: novu-OAS
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:cc74b40cf202a2f1708a8f54f3ad9f0e186f3e817a2b0f8c69f7e5bebce79ccb
sourceBlobDigest: sha256:72f5de3eca967611e8f4e0b202b5404893bffc8360322acb29e7727300c07256
sourceRevisionDigest: sha256:b885ef5a0b1c51364b6c9c4d8cd5a02d41c8423055a08891696ab5c31373e9f0
sourceBlobDigest: sha256:4c44edd51d9ab44bc35d38124704872e33e9c438d6e8ca075a7c4bcc4e37ef24
codeSamplesNamespace: novu-oas-go-code-samples
codeSamplesRevisionDigest: sha256:51370ec6fd3b3adfec76df8edd42fc4b23724cf5a1d3565105c4416685b4e10f
codeSamplesRevisionDigest: sha256:805e4990da36858fd73e4109bb81982d134279ddd2cf15e1f2027544aeccf471
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ func main() {
### [Environments](docs/sdks/environments/README.md)

* [GetTags](docs/sdks/environments/README.md#gettags) - List environment tags
* [Diff](docs/sdks/environments/README.md#diff) - Compare resources between environments
* [Publish](docs/sdks/environments/README.md#publish) - Publish resources to target environment
* [Create](docs/sdks/environments/README.md#create) - Create an environment
* [List](docs/sdks/environments/README.md#list) - List all environments
* [Update](docs/sdks/environments/README.md#update) - Update an environment
Expand Down Expand Up @@ -532,6 +534,7 @@ func main() {

#### [Workflows.Steps](docs/sdks/steps/README.md)

* [GeneratePreview](docs/sdks/steps/README.md#generatepreview) - Generate step preview
* [Retrieve](docs/sdks/steps/README.md#retrieve) - Retrieve workflow step

</details>
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,14 @@ Based on:
### Generated
- [go v3.14.0] .
### Releases
- [Go v3.14.0] https://github.com/novuhq/novu-go/releases/tag/v3.14.0 - .
- [Go v3.14.0] https://github.com/novuhq/novu-go/releases/tag/v3.14.0 - .

## 2026-03-20 00:22:00
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.758.0 (2.866.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v3.15.0] .
### Releases
- [Go v3.15.0] https://github.com/novuhq/novu-go/releases/tag/v3.15.0 - .
1 change: 1 addition & 0 deletions credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ func (s *Credentials) Delete(ctx context.Context, subscriberID string, providerI
switch {
case httpRes.StatusCode == 204:
res.Headers = httpRes.Header

utils.DrainBody(httpRes)
case httpRes.StatusCode == 414:
switch {
Expand Down
10 changes: 5 additions & 5 deletions docs/models/apierrors/errordto.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| `StatusCode` | *float64* | :heavy_check_mark: | HTTP status code of the error response. | 404 |
| `Timestamp` | *string* | :heavy_check_mark: | Timestamp of when the error occurred. | 2024-12-12T13:00:00Z |
| `Path` | *string* | :heavy_check_mark: | The path where the error occurred. | /api/v1/resource |
| `StatusCode` | `float64` | :heavy_check_mark: | HTTP status code of the error response. | 404 |
| `Timestamp` | `string` | :heavy_check_mark: | Timestamp of when the error occurred. | 2024-12-12T13:00:00Z |
| `Path` | `string` | :heavy_check_mark: | The path where the error occurred. | /api/v1/resource |
| `Message` | [*apierrors.Message](../../models/apierrors/message.md) | :heavy_minus_sign: | Value that failed validation | xx xx xx |
| `Ctx` | map[string]*any* | :heavy_minus_sign: | Optional context object for additional error details. | {<br/>"workflowId": "some_wf_id",<br/>"stepId": "some_wf_id"<br/>} |
| `ErrorID` | **string* | :heavy_minus_sign: | Optional unique identifier for the error, useful for tracking using Sentry and <br/> New Relic, only available for 500. | abc123 |
| `Ctx` | map[string]`any` | :heavy_minus_sign: | Optional context object for additional error details. | {<br/>"workflowId": "some_wf_id",<br/>"stepId": "some_wf_id"<br/>} |
| `ErrorID` | `*string` | :heavy_minus_sign: | Optional unique identifier for the error, useful for tracking using Sentry and <br/> New Relic, only available for 500. | abc123 |
Loading