Skip to content

Commit ccab966

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 3.14.1 (#32)
* ## Python SDK Changes: * `novu.layouts.duplicate()`: `response.controls.ui_schema.properties.Map<UiSchemaProperty>.component.enum(email_renderer_select)` **Added** (Breaking ⚠️) * `novu.layouts.create()`: `response.controls.ui_schema.properties.Map<UiSchemaProperty>.component.enum(email_renderer_select)` **Added** (Breaking ⚠️) * `novu.layouts.list()`: `response.layouts[].controls.ui_schema.properties.Map<UiSchemaProperty>.component.enum(email_renderer_select)` **Added** (Breaking ⚠️) * `novu.layouts.update()`: `response.controls.ui_schema.properties.Map<UiSchemaProperty>.component.enum(email_renderer_select)` **Added** (Breaking ⚠️) * `novu.layouts.retrieve()`: `response.controls.ui_schema.properties.Map<UiSchemaProperty>.component.enum(email_renderer_select)` **Added** (Breaking ⚠️) * `novu.workflows.create()`: * `request.create_workflow_dto` **Changed** * `response.steps[]` **Changed** (Breaking ⚠️) * `novu.workflows.update()`: * `request.update_workflow_dto.steps[].union(email).control_values.union(EmailControlDto).renderer_type` **Added** * `response.steps[]` **Changed** (Breaking ⚠️) * `novu.workflows.get()`: `response.steps[].union(email)` **Changed** (Breaking ⚠️) * `novu.workflows.patch()`: `response.steps[]` **Changed** (Breaking ⚠️) * `novu.workflows.sync()`: `response.steps[]` **Changed** (Breaking ⚠️) * `novu.workflows.steps.retrieve()`: `response.controls.ui_schema.properties.Map<UiSchemaProperty>.component.enum(email_renderer_select)` **Added** (Breaking ⚠️) * `novu.environments.publish()`: **Added** * `novu.environments.diff()`: **Added** * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent b1da318 commit ccab966

File tree

75 files changed

+3114
-76
lines changed

Some content is hidden

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

75 files changed

+3114
-76
lines changed

.speakeasy/gen.lock

Lines changed: 299 additions & 49 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: false
3333
skipResponseBodyAssertions: false
3434
python:
35-
version: 3.14.0
35+
version: 3.14.1
3636
additionalDependencies:
3737
dev:
3838
- pytest>=6.0.0

.speakeasy/workflow.lock

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
speakeasyVersion: 1.725.0
1+
speakeasyVersion: 1.739.1
22
sources:
33
novu-OAS:
44
sourceNamespace: novu-oas
5-
sourceRevisionDigest: sha256:814dde43355a36e037439dabb5c133b0a4dce2861a0077fa3d24daf5a69489c5
6-
sourceBlobDigest: sha256:e2e29d718be387fb433829028660006da6a4284f2e96bd2bd6a7079d959676c7
5+
sourceRevisionDigest: sha256:8a2f7a356174aa0619b95dba3f1a10a3094fd16124928170762f85353ba3509e
6+
sourceBlobDigest: sha256:c7bcd36d7c18ea58398f85098ea50133860b80aba7eba3280a9f6c37fa4f8ed9
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1769646574
10-
- 3.13.0
9+
- 3.14.0
1110
targets:
1211
novu:
1312
source: novu-OAS
1413
sourceNamespace: novu-oas
15-
sourceRevisionDigest: sha256:814dde43355a36e037439dabb5c133b0a4dce2861a0077fa3d24daf5a69489c5
16-
sourceBlobDigest: sha256:e2e29d718be387fb433829028660006da6a4284f2e96bd2bd6a7079d959676c7
14+
sourceRevisionDigest: sha256:8a2f7a356174aa0619b95dba3f1a10a3094fd16124928170762f85353ba3509e
15+
sourceBlobDigest: sha256:c7bcd36d7c18ea58398f85098ea50133860b80aba7eba3280a9f6c37fa4f8ed9
1716
codeSamplesNamespace: novu-oas-python-code-samples
18-
codeSamplesRevisionDigest: sha256:8710fad31049d62c2e6de9b8cb0af2513a395ee5eb641a0994dd1a04376dcb14
17+
codeSamplesRevisionDigest: sha256:f70bfd3268209db82fd9b1a5ddf066021c798a45b2691505d1dd11d0973e59ae
1918
workflow:
2019
workflowVersion: 1.0.0
2120
speakeasyVersion: latest

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ asyncio.run(main())
527527
### [Environments](docs/sdks/environments/README.md)
528528

529529
* [get_tags](docs/sdks/environments/README.md#get_tags) - List environment tags
530+
* [diff](docs/sdks/environments/README.md#diff) - Compare resources between environments
531+
* [publish](docs/sdks/environments/README.md#publish) - Publish resources to target environment
530532
* [create](docs/sdks/environments/README.md#create) - Create an environment
531533
* [list](docs/sdks/environments/README.md#list) - List all environments
532534
* [update](docs/sdks/environments/README.md#update) - Update an environment
@@ -843,9 +845,9 @@ with Novu(
843845

844846

845847
**Inherit from [`NovuError`](./src/novu_py/models/novuerror.py)**:
846-
* [`PayloadValidationExceptionDto`](./src/novu_py/models/payloadvalidationexceptiondto.py): Status code `400`. Applicable to 3 of 93 methods.*
847-
* [`SubscriberResponseDtoError`](./src/novu_py/models/subscriberresponsedtoerror.py): Created. Status code `409`. Applicable to 1 of 93 methods.*
848-
* [`TopicResponseDtoError`](./src/novu_py/models/topicresponsedtoerror.py): OK. Status code `409`. Applicable to 1 of 93 methods.*
848+
* [`PayloadValidationExceptionDto`](./src/novu_py/models/payloadvalidationexceptiondto.py): Status code `400`. Applicable to 3 of 95 methods.*
849+
* [`SubscriberResponseDtoError`](./src/novu_py/models/subscriberresponsedtoerror.py): Created. Status code `409`. Applicable to 1 of 95 methods.*
850+
* [`TopicResponseDtoError`](./src/novu_py/models/topicresponsedtoerror.py): OK. Status code `409`. Applicable to 1 of 95 methods.*
849851
* [`ResponseValidationError`](./src/novu_py/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
850852

851853
</details>

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,14 @@ Based on:
158158
### Generated
159159
- [python v3.14.0] .
160160
### Releases
161-
- [PyPI v3.14.0] https://pypi.org/project/novu-py/3.14.0 - .
161+
- [PyPI v3.14.0] https://pypi.org/project/novu-py/3.14.0 - .
162+
163+
## 2026-03-03 13:29:01
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc
167+
- Speakeasy CLI 1.739.1 (2.846.1) https://github.com/speakeasy-api/speakeasy
168+
### Generated
169+
- [python v3.14.1] .
170+
### Releases
171+
- [PyPI v3.14.1] https://pypi.org/project/novu-py/3.14.1 - .
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DependencyReasonEnum
2+
3+
Reason for the dependency
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ------------------------------ | ------------------------------ |
10+
| `LAYOUT_REQUIRED_FOR_WORKFLOW` | LAYOUT_REQUIRED_FOR_WORKFLOW |
11+
| `LAYOUT_EXISTS_IN_TARGET` | LAYOUT_EXISTS_IN_TARGET |

docs/models/diffactionenum.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# DiffActionEnum
2+
3+
Type of change
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ----------- | ----------- |
10+
| `ADDED` | added |
11+
| `MODIFIED` | modified |
12+
| `DELETED` | deleted |
13+
| `UNCHANGED` | unchanged |
14+
| `MOVED` | moved |
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# DiffEnvironmentRequestDto
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
8+
| `source_environment_id` | *Optional[str]* | :heavy_minus_sign: | Source environment ID to compare from. Defaults to the Development environment if not provided. | 507f1f77bcf86cd799439011 |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# DiffEnvironmentResponseDto
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
8+
| `source_environment_id` | *str* | :heavy_check_mark: | Source environment ID |
9+
| `target_environment_id` | *str* | :heavy_check_mark: | Target environment ID |
10+
| `resources` | List[[models.ResourceDiffResultDto](../models/resourcediffresultdto.md)] | :heavy_check_mark: | Diff resources by resource type |
11+
| `summary` | [models.EnvironmentDiffSummaryDto](../models/environmentdiffsummarydto.md) | :heavy_check_mark: | Overall summary |

docs/models/diffs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Diffs
2+
3+
Detailed changes (only for modified resources)
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- |
10+
| `previous` | Dict[str, *Any*] | :heavy_minus_sign: | Previous state of the resource (null for added resources) |
11+
| `new` | Dict[str, *Any*] | :heavy_minus_sign: | New state of the resource (null for deleted resources) |

0 commit comments

Comments
 (0)