Skip to content

Commit 0bc8cfb

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 1.7.1 (#90)
* ## Typescript SDK Changes Detected: * `novu.trigger()`: * `request.triggereventrequestdto.to.[topicPayloadDto].exclude` **Added** * `novu.triggerBulk()`: * `request.bulktriggereventdto.events.[].to.[topicPayloadDto].exclude` **Added** * `novu.layouts.list()`: `response.layouts.[].isTranslationEnabled` **Added** * `novu.layouts.create()`: * `request.createlayoutdto.isTranslationEnabled` **Added** * `response.istranslationenabled` **Added** * `novu.layouts.retrieve()`: `response.istranslationenabled` **Added** * `novu.layouts.update()`: * `request.updatelayoutdto.isTranslationEnabled` **Added** * `response.istranslationenabled` **Added** * `novu.layouts.duplicate()`: * `request.duplicatelayoutdto.isTranslationEnabled` **Added** * `response.istranslationenabled` **Added** * `novu.translations.retrieve()`: * `request.resourceType` **Changed** * `novu.translations.delete()`: * `request.resourceType` **Changed** * `novu.translations.upload()`: * `request.uploadtranslationsrequestdto.resourceType` **Changed** * `novu.translations.groups.delete()`: `request.resourcetype` **Changed** * `novu.translations.groups.retrieve()`: `request.resourcetype` **Changed** * `novu.translations.master.retrieve()`: `response.layouts` **Added** * `novu.workflows.create()`: * `request.createworkflowdto.steps.[]` **Changed** * `response.steps.[].[delay]` **Changed** * `novu.workflows.get()`: `response.steps.[].[delay]` **Changed** * `novu.workflows.update()`: * `request.updateworkflowdto.steps.[]` **Changed** * `response.steps.[].[delay]` **Changed** * `novu.workflows.patch()`: `response.steps.[].[delay]` **Changed** * `novu.workflows.sync()`: `response.steps.[].[delay]` **Changed** * `novu.notifications.list()`: * `request.contextSearch` **Added** * `response.data.[].jobs.[].digest.timed.untilDate` **Added** * `novu.notifications.retrieve()`: `response.jobs.[].digest.timed.untilDate` **Added** * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 4394b41 commit 0bc8cfb

File tree

90 files changed

+519
-175
lines changed

Some content is hidden

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

90 files changed

+519
-175
lines changed

.speakeasy/gen.lock

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 6bff3a53-3f0b-40b4-942f-ff70dc583ae5
33
management:
4-
docChecksum: 69647246cb021031645cd0abb1f72c9a
4+
docChecksum: 32546790d40bccefee26797a74de7197
55
docVersion: 3.9.0
6-
speakeasyVersion: 1.631.5
7-
generationVersion: 2.716.16
8-
releaseVersion: 1.7.0
9-
configChecksum: 58b5b32d13a553ae45af049a83e93b76
6+
speakeasyVersion: 1.634.2
7+
generationVersion: 2.721.3
8+
releaseVersion: 1.7.1
9+
configChecksum: 0f6f893b246e8acc0fbeb3df8455af21
1010
repoURL: https://github.com/novuhq/novu-ts.git
1111
installationURL: https://github.com/novuhq/novu-ts
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 0.1.0
1616
additionalProperties: 0.1.1
1717
constsAndDefaults: 0.1.12
18-
core: 3.21.25
18+
core: 3.21.26
1919
defaultEnabledRetries: 0.1.0
2020
deprecations: 2.81.1
2121
enumUnions: 0.1.0
@@ -33,7 +33,7 @@ features:
3333
responseFormat: 0.2.3
3434
retries: 2.83.0
3535
sdkHooks: 0.3.0
36-
unions: 2.85.12
36+
unions: 2.86.0
3737
generatedFiles:
3838
- .gitattributes
3939
- .npmignore
@@ -208,6 +208,7 @@ generatedFiles:
208208
- docs/models/components/layoutpreviewrequestdto.md
209209
- docs/models/components/layoutresponsedto.md
210210
- docs/models/components/layoutresponsedtosortfield.md
211+
- docs/models/components/layouts.md
211212
- docs/models/components/listlayoutresponsedto.md
212213
- docs/models/components/listsubscribersresponsedto.md
213214
- docs/models/components/listtopicsresponsedto.md
@@ -2134,10 +2135,10 @@ examples:
21342135
LayoutsController_create:
21352136
speakeasy-default-layouts-controller-create:
21362137
requestBody:
2137-
application/json: {"layoutId": "<id>", "name": "<value>", "__source": "dashboard"}
2138+
application/json: {"layoutId": "<id>", "name": "<value>", "isTranslationEnabled": false, "__source": "dashboard"}
21382139
responses:
21392140
"201":
2140-
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": true, "updatedAt": "1735665022530", "createdAt": "1730096151643", "origin": "novu-cloud-v1", "type": "BRIDGE", "controls": {"values": {}}}
2141+
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": true, "isTranslationEnabled": true, "updatedAt": "1735665022530", "createdAt": "1730096151643", "origin": "novu-cloud-v1", "type": "BRIDGE", "controls": {"values": {}}}
21412142
"414":
21422143
application/json: {"statusCode": 404, "timestamp": "2024-12-12T13:00:00Z", "path": "/api/v1/resource", "message": "xx xx xx ", "ctx": {"workflowId": "some_wf_id", "stepId": "some_wf_id"}, "errorId": "abc123"}
21432144
"400":
@@ -2150,7 +2151,7 @@ examples:
21502151
speakeasy-default-layouts-controller-list:
21512152
responses:
21522153
"200":
2153-
application/json: {"layouts": [{"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": false, "updatedAt": "1735604623075", "createdAt": "1732563359623", "origin": "external", "type": "ECHO", "controls": {"values": {}}}], "totalCount": 8515.1}
2154+
application/json: {"layouts": [{"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": false, "isTranslationEnabled": false, "updatedAt": "1735604623075", "createdAt": "1732563359623", "origin": "external", "type": "ECHO", "controls": {"values": {}}}], "totalCount": 8515.1}
21542155
"414":
21552156
application/json: {"statusCode": 404, "timestamp": "2024-12-12T13:00:00Z", "path": "/api/v1/resource", "message": "xx xx xx ", "ctx": {"workflowId": "some_wf_id", "stepId": "some_wf_id"}, "errorId": "abc123"}
21562157
"400":
@@ -2165,10 +2166,10 @@ examples:
21652166
path:
21662167
layoutId: "<id>"
21672168
requestBody:
2168-
application/json: {"name": "<value>"}
2169+
application/json: {"name": "<value>", "isTranslationEnabled": false}
21692170
responses:
21702171
"200":
2171-
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": true, "updatedAt": "1735617825142", "createdAt": "1712735891318", "origin": "novu-cloud-v1", "type": "BRIDGE", "controls": {"values": {}}}
2172+
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": true, "isTranslationEnabled": true, "updatedAt": "1735617825142", "createdAt": "1712735891318", "origin": "novu-cloud-v1", "type": "BRIDGE", "controls": {"values": {}}}
21722173
"414":
21732174
application/json: {"statusCode": 404, "timestamp": "2024-12-12T13:00:00Z", "path": "/api/v1/resource", "message": "xx xx xx ", "ctx": {"workflowId": "some_wf_id", "stepId": "some_wf_id"}, "errorId": "abc123"}
21742175
"400":
@@ -2184,7 +2185,7 @@ examples:
21842185
layoutId: "<id>"
21852186
responses:
21862187
"200":
2187-
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": false, "updatedAt": "1735664130299", "createdAt": "1727615996858", "origin": "external", "type": "ECHO", "controls": {"values": {}}}
2188+
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": false, "isTranslationEnabled": false, "updatedAt": "1735664130299", "createdAt": "1727615996858", "origin": "external", "type": "ECHO", "controls": {"values": {}}}
21882189
"414":
21892190
application/json: {"statusCode": 404, "timestamp": "2024-12-12T13:00:00Z", "path": "/api/v1/resource", "message": "xx xx xx ", "ctx": {"workflowId": "some_wf_id", "stepId": "some_wf_id"}, "errorId": "abc123"}
21902191
"400":
@@ -2213,10 +2214,10 @@ examples:
22132214
path:
22142215
layoutId: "<id>"
22152216
requestBody:
2216-
application/json: {"name": "<value>"}
2217+
application/json: {"name": "<value>", "isTranslationEnabled": false}
22172218
responses:
22182219
"201":
2219-
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": true, "updatedAt": "1735641806286", "createdAt": "1705127183206", "origin": "novu-cloud", "type": "BRIDGE", "controls": {"values": {}}}
2220+
application/json: {"_id": "<id>", "layoutId": "<id>", "slug": "{}", "name": "<value>", "isDefault": true, "isTranslationEnabled": true, "updatedAt": "1735641806286", "createdAt": "1705127183206", "origin": "novu-cloud", "type": "BRIDGE", "controls": {"values": {}}}
22202221
"414":
22212222
application/json: {"statusCode": 404, "timestamp": "2024-12-12T13:00:00Z", "path": "/api/v1/resource", "message": "xx xx xx ", "ctx": {"workflowId": "some_wf_id", "stepId": "some_wf_id"}, "errorId": "abc123"}
22222223
"400":
@@ -2312,7 +2313,7 @@ examples:
23122313
locale: "en_US"
23132314
responses:
23142315
"200":
2315-
application/json: {"workflows": {}}
2316+
application/json: {"workflows": {}, "layouts": {}}
23162317
TranslationController_importMasterJsonEndpoint:
23172318
speakeasy-default-translation-controller-import-master-json-endpoint:
23182319
requestBody:
@@ -2395,4 +2396,4 @@ generatedTests:
23952396
TopicsController_removeSubscribers: "2024-12-24T08:36:06+01:00"
23962397
TestingController_idempotency: "2024-12-24T08:36:06+01:00"
23972398
TestingController_idempotencyGet: "2024-12-24T08:36:06+01:00"
2398-
releaseNotes: "## Typescript SDK Changes Detected:\n* `novu.workflows.get()`: `response` **Changed** **Breaking** :warning:\n* `novu.workflows.update()`: `response` **Changed** **Breaking** :warning:\n* `novu.layouts.retrieve()`: `response` **Changed** **Breaking** :warning:\n* `novu.notifications.retrieve()`: `response` **Changed** **Breaking** :warning:\n* `novu.layouts.duplicate()`: `response` **Changed** **Breaking** :warning:\n* `novu.notifications.list()`: `response.data.[]` **Changed** **Breaking** :warning:\n* `novu.workflows.steps.retrieve()`: `response.slug` **Changed** **Breaking** :warning:\n* `novu.workflows.sync()`: `response` **Changed** **Breaking** :warning:\n* `novu.layouts.create()`: `response` **Changed** **Breaking** :warning:\n* `novu.workflows.list()`: `response.workflows.[]` **Changed** **Breaking** :warning:\n* `novu.layouts.update()`: `response` **Changed** **Breaking** :warning:\n* `novu.workflows.create()`: \n * `request.createworkflowdto.steps.[].[throttle]` **Added**\n * `response` **Changed** **Breaking** :warning:\n* `novu.layouts.list()`: `response.layouts.[]` **Changed** **Breaking** :warning:\n* `novu.workflows.patch()`: `response` **Changed** **Breaking** :warning:\n* `novu.topics.list()`: `response` **Changed**\n* `novu.subscribers.topics.list()`: `response` **Changed**\n* `novu.subscribers.preferences.update()`: `request.patchsubscriberpreferencesdto` **Changed**\n* `novu.subscribers.search()`: `response` **Changed**\n* `novu.topics.subscriptions.list()`: `response` **Changed**\n"
2399+
releaseNotes: "## Typescript SDK Changes Detected:\n* `novu.trigger()`: \n * `request.triggereventrequestdto.to.[topicPayloadDto].exclude` **Added**\n* `novu.triggerBulk()`: \n * `request.bulktriggereventdto.events.[].to.[topicPayloadDto].exclude` **Added**\n* `novu.layouts.list()`: `response.layouts.[].isTranslationEnabled` **Added**\n* `novu.layouts.create()`: \n * `request.createlayoutdto.isTranslationEnabled` **Added**\n * `response.istranslationenabled` **Added**\n* `novu.layouts.retrieve()`: `response.istranslationenabled` **Added**\n* `novu.layouts.update()`: \n * `request.updatelayoutdto.isTranslationEnabled` **Added**\n * `response.istranslationenabled` **Added**\n* `novu.layouts.duplicate()`: \n * `request.duplicatelayoutdto.isTranslationEnabled` **Added**\n * `response.istranslationenabled` **Added**\n* `novu.translations.retrieve()`: \n * `request.resourceType` **Changed**\n* `novu.translations.delete()`: \n * `request.resourceType` **Changed**\n* `novu.translations.upload()`: \n * `request.uploadtranslationsrequestdto.resourceType` **Changed**\n* `novu.translations.groups.delete()`: `request.resourcetype` **Changed**\n* `novu.translations.groups.retrieve()`: `request.resourcetype` **Changed**\n* `novu.translations.master.retrieve()`: `response.layouts` **Added**\n* `novu.workflows.create()`: \n * `request.createworkflowdto.steps.[]` **Changed**\n * `response.steps.[].[delay]` **Changed**\n* `novu.workflows.get()`: `response.steps.[].[delay]` **Changed**\n* `novu.workflows.update()`: \n * `request.updateworkflowdto.steps.[]` **Changed**\n * `response.steps.[].[delay]` **Changed**\n* `novu.workflows.patch()`: `response.steps.[].[delay]` **Changed**\n* `novu.workflows.sync()`: `response.steps.[].[delay]` **Changed**\n* `novu.notifications.list()`: \n * `request.contextSearch` **Added**\n * `response.data.[].jobs.[].digest.timed.untilDate` **Added**\n* `novu.notifications.retrieve()`: `response.jobs.[].digest.timed.untilDate` **Added**\n"

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ generation:
2222
generateNewTests: false
2323
skipResponseBodyAssertions: false
2424
typescript:
25-
version: 1.7.0
25+
version: 1.7.1
26+
acceptHeaderEnum: true
2627
additionalDependencies:
2728
dependencies: {}
2829
devDependencies: {}

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.631.5
1+
speakeasyVersion: 1.634.2
22
sources:
33
json-development:
44
sourceNamespace: json-development
5-
sourceRevisionDigest: sha256:3e9b205ca7e3ea8c307959a8f8c4f7958724adea3d0b23b2e26ff63548da627b
6-
sourceBlobDigest: sha256:003ebb88ab8474e4aa253f13b5dc6c8b977506cdc4a7fa0eab6ddd1473a97ef7
5+
sourceRevisionDigest: sha256:a48383d199a6f3baed1183a8f5425366e417acf21da1f721e35f8a7f20ff61a7
6+
sourceBlobDigest: sha256:29d5f43a125b6f4d3f62d5eeb0f014bd4a49720b077f78db9acf83893a47ef36
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1758759548
9+
- speakeasy-sdk-regen-1759767821
1010
- 3.9.0
1111
targets:
1212
my-first-target:
1313
source: json-development
1414
sourceNamespace: json-development
15-
sourceRevisionDigest: sha256:3e9b205ca7e3ea8c307959a8f8c4f7958724adea3d0b23b2e26ff63548da627b
16-
sourceBlobDigest: sha256:003ebb88ab8474e4aa253f13b5dc6c8b977506cdc4a7fa0eab6ddd1473a97ef7
15+
sourceRevisionDigest: sha256:a48383d199a6f3baed1183a8f5425366e417acf21da1f721e35f8a7f20ff61a7
16+
sourceBlobDigest: sha256:29d5f43a125b6f4d3f62d5eeb0f014bd4a49720b077f78db9acf83893a47ef36
1717
codeSamplesNamespace: code-samples-typescript
18-
codeSamplesRevisionDigest: sha256:fbb4bf83a7c40320ec6c8dee331a569ea3c4fc6c12e12411cbdf8e57d8483aaf
18+
codeSamplesRevisionDigest: sha256:1a5be3f8633e6ef4b97903c37610481a934e1e65ba6e7536adb65776bb2c4bf8
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,14 @@ Based on:
248248
### Generated
249249
- [typescript v1.7.0] .
250250
### Releases
251-
- [NPM v1.7.0] https://www.npmjs.com/package/@novu/api/v/1.7.0 - .
251+
- [NPM v1.7.0] https://www.npmjs.com/package/@novu/api/v/1.7.0 - .
252+
253+
## 2025-10-06 16:23:19
254+
### Changes
255+
Based on:
256+
- OpenAPI Doc
257+
- Speakeasy CLI 1.634.2 (2.721.3) https://github.com/speakeasy-api/speakeasy
258+
### Generated
259+
- [typescript v1.7.1] .
260+
### Releases
261+
- [NPM v1.7.1] https://www.npmjs.com/package/@novu/api/v/1.7.1 - .

docs/models/components/chatstepupsertdto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ let value: ChatStepUpsertDto = {
4545

4646
| Field | Type | Required | Description |
4747
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
48-
| `id` | *string* | :heavy_minus_sign: | Unique identifier of the step |
48+
| `id` | *string* | :heavy_minus_sign: | Database identifier of the step. Used for updating the step. |
49+
| `stepId` | *string* | :heavy_minus_sign: | Unique identifier for the step |
4950
| `name` | *string* | :heavy_check_mark: | Name of the step |
5051
| `type` | [components.StepTypeEnum](../../models/components/steptypeenum.md) | :heavy_check_mark: | Type of the step |
5152
| `controlValues` | *components.ChatStepUpsertDtoControlValues* | :heavy_minus_sign: | Control values for the Chat step. |

docs/models/components/createlayoutdto.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ let value: CreateLayoutDto = {
1717
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
1818
| `layoutId` | *string* | :heavy_check_mark: | Unique identifier for the layout |
1919
| `name` | *string* | :heavy_check_mark: | Name of the layout |
20+
| `isTranslationEnabled` | *boolean* | :heavy_minus_sign: | Enable or disable translations for this layout |
2021
| `source` | [components.LayoutCreationSourceEnum](../../models/components/layoutcreationsourceenum.md) | :heavy_minus_sign: | Source of layout creation |

docs/models/components/customstepupsertdto.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ let value: CustomStepUpsertDto = {
1515

1616
| Field | Type | Required | Description |
1717
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
18-
| `id` | *string* | :heavy_minus_sign: | Unique identifier of the step |
18+
| `id` | *string* | :heavy_minus_sign: | Database identifier of the step. Used for updating the step. |
19+
| `stepId` | *string* | :heavy_minus_sign: | Unique identifier for the step |
1920
| `name` | *string* | :heavy_check_mark: | Name of the step |
2021
| `type` | [components.StepTypeEnum](../../models/components/steptypeenum.md) | :heavy_check_mark: | Type of the step |
2122
| `controlValues` | *components.CustomStepUpsertDtoControlValues* | :heavy_minus_sign: | Control values for the Custom step. |

0 commit comments

Comments
 (0)