Skip to content

Commit fdd5f08

Browse files
committed
## Csharp SDK Changes:
* `Novu.Layouts.Create()`: `response.controls.UiSchema` **Changed** (Breaking ⚠️) * `Novu.Notifications.Retrieve()`: `response` **Changed** (Breaking ⚠️) * `Novu.Notifications.Get()`: `response.data[]` **Changed** (Breaking ⚠️) * `Novu.Workflows.Steps.Retrieve()`: `response` **Changed** (Breaking ⚠️) * `Novu.Workflows.Sync()`: `response` **Changed** (Breaking ⚠️) * `Novu.Workflows.Patch()`: `response` **Changed** (Breaking ⚠️) * `Novu.Workflows.Get()`: `response` **Changed** (Breaking ⚠️) * `Novu.Workflows.Update()`: * `request.updateWorkflowDto.Steps[]` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Novu.Workflows.List()`: `response.workflows[]` **Changed** (Breaking ⚠️) * `Novu.Workflows.Create()`: * `request.createWorkflowDto` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Novu.Layouts.Duplicate()`: `response.controls.UiSchema` **Changed** (Breaking ⚠️) * `Novu.Layouts.Retrieve()`: `response.controls.UiSchema` **Changed** (Breaking ⚠️) * `Novu.Layouts.Update()`: `response.controls.UiSchema` **Changed** (Breaking ⚠️) * `Novu.Layouts.List()`: `response.layouts[].Controls.UiSchema` **Changed** (Breaking ⚠️) * `Novu.Subscribers.Notifications.MarkAsUnread()`: **Added** * `Novu.TriggerBulk()`: `response.[].ActivityFeedLink` **Added** * `Novu.Subscribers.Notifications.ArchiveAllRead()`: **Added** * `Novu.Subscribers.Notifications.MarkAsSeen()`: **Added** * `Novu.Workflows.Steps.GeneratePreview()`: **Added** * `Novu.EnvironmentVariables.List()`: **Added** * `Novu.EnvironmentVariables.Create()`: **Added** * `Novu.EnvironmentVariables.Retrieve()`: **Added** * `Novu.EnvironmentVariables.Update()`: **Added** * `Novu.EnvironmentVariables.Delete()`: **Added** * `Novu.EnvironmentVariables.Usage()`: **Added** * `Novu.Trigger()`: `response.activityFeedLink` **Added** * `Novu.Broadcast()`: `response.activityFeedLink` **Added** * `Novu.Subscribers.Notifications.MarkAllAsRead()`: **Added** * `Novu.Subscribers.Notifications.DeleteAll()`: **Added** * `Novu.Subscribers.Notifications.Count()`: **Added** * `Novu.Subscribers.Notifications.ArchiveAll()`: **Added** * `Novu.Subscribers.Notifications.Unsnooze()`: **Added** * `Novu.Environments.Diff()`: **Added** * `Novu.Subscribers.Notifications.Unarchive()`: **Added** * `Novu.Subscribers.Notifications.Snooze()`: **Added** * `Novu.Subscribers.Notifications.MarkAsRead()`: **Added** * `Novu.Subscribers.Notifications.Archive()`: **Added** * `Novu.Subscribers.Notifications.RevertAction()`: **Added** * `Novu.Subscribers.Notifications.CompleteAction()`: **Added** * `Novu.Subscribers.Notifications.Delete()`: **Added** * `Novu.Subscribers.Notifications.List()`: **Added** * `Novu.Environments.Publish()`: **Added**
1 parent a9817d6 commit fdd5f08

File tree

501 files changed

+20208
-879
lines changed

Some content is hidden

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

501 files changed

+20208
-879
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.speakeasy/reports
12
.env
23
.env.local
34
.DS_Store

.speakeasy/gen.lock

Lines changed: 1991 additions & 447 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ generation:
2929
generateNewTests: false
3030
skipResponseBodyAssertions: false
3131
csharp:
32-
version: 3.14.0
32+
version: 3.15.0
3333
additionalDependencies: []
3434
author: Speakeasy
3535
baseErrorName: BaseException
@@ -38,6 +38,7 @@ csharp:
3838
disableNamespacePascalCasingApr2024: true
3939
dotnetVersion: net8.0
4040
enableCancellationToken: false
41+
enableFormatting: false
4142
enableSourceLink: false
4243
flattenGlobalSecurity: true
4344
flatteningOrder: parameters-first

.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.761.1
22
sources:
33
Novu API:
44
sourceNamespace: novu-api-csharp
5-
sourceRevisionDigest: sha256:ed14922657f3d2f2326127bdcf1061c555ad53372da4a27b09e507fcd65f1ad3
6-
sourceBlobDigest: sha256:cef71d8a8a5887c689eb3d1a7f1a63a1c58deb8ee765414368ef9e333a6428a6
5+
sourceRevisionDigest: sha256:5b6e39b324c6943a2e0c806d844d66a9e7a419bd84d294f2383b4ae037fbb455
6+
sourceBlobDigest: sha256:ff66d3f0596fa9a1095717d1cf4d2d800ac21b4f65dbe00e5e368d4071f0fc64
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1769645679
10-
- 3.13.0
9+
- 3.14.0
1110
targets:
1211
novu:
1312
source: Novu API
1413
sourceNamespace: novu-api-csharp
15-
sourceRevisionDigest: sha256:ed14922657f3d2f2326127bdcf1061c555ad53372da4a27b09e507fcd65f1ad3
16-
sourceBlobDigest: sha256:cef71d8a8a5887c689eb3d1a7f1a63a1c58deb8ee765414368ef9e333a6428a6
14+
sourceRevisionDigest: sha256:5b6e39b324c6943a2e0c806d844d66a9e7a419bd84d294f2383b4ae037fbb455
15+
sourceBlobDigest: sha256:ff66d3f0596fa9a1095717d1cf4d2d800ac21b4f65dbe00e5e368d4071f0fc64
1716
codeSamplesNamespace: novu-api-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:28429cda51710333917dda71eea10bb1f1cd5f4ea698339b4357d75d80dc3fdd
17+
codeSamplesRevisionDigest: sha256:c05fb9b99bc3c98445d98574df6294140d0b79f5695ddf2cd5636dee2663de97
1918
workflow:
2019
workflowVersion: 1.0.0
2120
speakeasyVersion: latest

NUGET.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,9 @@ catch (System.Net.Http.HttpRequestException ex)
390390
* [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`.
391391

392392
* Inheriting from [`BaseException`](./src/Novu/Models/Errors/BaseException.cs):
393-
* [`PayloadValidationExceptionDto`](./src/Novu/Models/Errors/PayloadValidationExceptionDto.cs): Status code `400`. Applicable to 3 of 93 methods.*
394-
* [`SubscriberResponseDto`](./src/Novu/Models/Errors/SubscriberResponseDto.cs): Created. Status code `409`. Applicable to 1 of 93 methods.*
395-
* [`TopicResponseDto`](./src/Novu/Models/Errors/TopicResponseDto.cs): OK. Status code `409`. Applicable to 1 of 93 methods.*
393+
* [`PayloadValidationExceptionDto`](./src/Novu/Models/Errors/PayloadValidationExceptionDto.cs): Status code `400`. Applicable to 3 of 118 methods.*
394+
* [`SubscriberResponseDto`](./src/Novu/Models/Errors/SubscriberResponseDto.cs): Created. Status code `409`. Applicable to 1 of 118 methods.*
395+
* [`TopicResponseDto`](./src/Novu/Models/Errors/TopicResponseDto.cs): OK. Status code `409`. Applicable to 1 of 118 methods.*
396396
* [`ResponseValidationError`](./src/Novu/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type.
397397

398398
\* Refer to the [relevant documentation](#available-resources-and-operations) to determine whether an exception applies to a specific operation.

README.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,20 @@ var res = await sdk.TriggerAsync(triggerEventRequestDto: new TriggerEventRequest
295295
* [Retrieve](docs/sdks/contexts/README.md#retrieve) - Retrieve a context
296296
* [Delete](docs/sdks/contexts/README.md#delete) - Delete a context
297297

298+
### [EnvironmentVariables](docs/sdks/environmentvariables/README.md)
299+
300+
* [List](docs/sdks/environmentvariables/README.md#list) - List environment variables
301+
* [Create](docs/sdks/environmentvariables/README.md#create) - Create environment variable
302+
* [Retrieve](docs/sdks/environmentvariables/README.md#retrieve) - Get environment variable
303+
* [Update](docs/sdks/environmentvariables/README.md#update) - Update environment variable
304+
* [Delete](docs/sdks/environmentvariables/README.md#delete) - Delete environment variable
305+
* [Usage](docs/sdks/environmentvariables/README.md#usage) - Get environment variable usage
306+
298307
### [Environments](docs/sdks/environments/README.md)
299308

300309
* [GetTags](docs/sdks/environments/README.md#gettags) - List environment tags
310+
* [Diff](docs/sdks/environments/README.md#diff) - Compare resources between environments
311+
* [Publish](docs/sdks/environments/README.md#publish) - Publish resources to target environment
301312
* [Create](docs/sdks/environments/README.md#create) - Create an environment
302313
* [List](docs/sdks/environments/README.md#list) - List all environments
303314
* [Update](docs/sdks/environments/README.md#update) - Update an environment
@@ -349,6 +360,25 @@ var res = await sdk.TriggerAsync(triggerEventRequestDto: new TriggerEventRequest
349360
* [DeleteCredentials](docs/sdks/subscribers/README.md#deletecredentials) - Delete provider credentials
350361
* [UpdateOnlineStatus](docs/sdks/subscribers/README.md#updateonlinestatus) - Update subscriber online status
351362

363+
#### [Subscribers.Notifications](docs/sdks/novunotifications/README.md)
364+
365+
* [List](docs/sdks/novunotifications/README.md#list) - Retrieve subscriber notifications
366+
* [Delete](docs/sdks/novunotifications/README.md#delete) - Delete notification
367+
* [CompleteAction](docs/sdks/novunotifications/README.md#completeaction) - Complete notification action
368+
* [RevertAction](docs/sdks/novunotifications/README.md#revertaction) - Revert notification action
369+
* [Archive](docs/sdks/novunotifications/README.md#archive) - Archive notification
370+
* [MarkAsRead](docs/sdks/novunotifications/README.md#markasread) - Mark notification as read
371+
* [Snooze](docs/sdks/novunotifications/README.md#snooze) - Snooze notification
372+
* [Unarchive](docs/sdks/novunotifications/README.md#unarchive) - Unarchive notification
373+
* [MarkAsUnread](docs/sdks/novunotifications/README.md#markasunread) - Mark notification as unread
374+
* [Unsnooze](docs/sdks/novunotifications/README.md#unsnooze) - Unsnooze notification
375+
* [ArchiveAll](docs/sdks/novunotifications/README.md#archiveall) - Archive all notifications
376+
* [Count](docs/sdks/novunotifications/README.md#count) - Retrieve subscriber notifications count
377+
* [DeleteAll](docs/sdks/novunotifications/README.md#deleteall) - Delete all notifications
378+
* [MarkAllAsRead](docs/sdks/novunotifications/README.md#markallasread) - Mark all notifications as read
379+
* [ArchiveAllRead](docs/sdks/novunotifications/README.md#archiveallread) - Archive all read notifications
380+
* [MarkAsSeen](docs/sdks/novunotifications/README.md#markasseen) - Mark notifications as seen
381+
352382
#### [Subscribers.Preferences](docs/sdks/preferences/README.md)
353383

354384
* [BulkUpdate](docs/sdks/preferences/README.md#bulkupdate) - Bulk update subscriber preferences
@@ -423,6 +453,7 @@ var res = await sdk.TriggerAsync(triggerEventRequestDto: new TriggerEventRequest
423453

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

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

428459
</details>
@@ -617,9 +648,9 @@ catch (System.Net.Http.HttpRequestException ex)
617648
* [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`.
618649

619650
* Inheriting from [`BaseException`](./src/Novu/Models/Errors/BaseException.cs):
620-
* [`PayloadValidationExceptionDto`](./src/Novu/Models/Errors/PayloadValidationExceptionDto.cs): Status code `400`. Applicable to 3 of 93 methods.*
621-
* [`SubscriberResponseDto`](./src/Novu/Models/Errors/SubscriberResponseDto.cs): Created. Status code `409`. Applicable to 1 of 93 methods.*
622-
* [`TopicResponseDto`](./src/Novu/Models/Errors/TopicResponseDto.cs): OK. Status code `409`. Applicable to 1 of 93 methods.*
651+
* [`PayloadValidationExceptionDto`](./src/Novu/Models/Errors/PayloadValidationExceptionDto.cs): Status code `400`. Applicable to 3 of 118 methods.*
652+
* [`SubscriberResponseDto`](./src/Novu/Models/Errors/SubscriberResponseDto.cs): Created. Status code `409`. Applicable to 1 of 118 methods.*
653+
* [`TopicResponseDto`](./src/Novu/Models/Errors/TopicResponseDto.cs): OK. Status code `409`. Applicable to 1 of 118 methods.*
623654
* [`ResponseValidationError`](./src/Novu/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type.
624655
</details>
625656

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [csharp v3.14.0] .
120120
### Releases
121-
- [NuGet v3.14.0] https://www.nuget.org/packages/Novu/3.14.0 - .
121+
- [NuGet v3.14.0] https://www.nuget.org/packages/Novu/3.14.0 - .
122+
123+
## 2026-04-04 00:16:59
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc
127+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
128+
### Generated
129+
- [csharp v3.15.0] .
130+
### Releases
131+
- [NuGet v3.15.0] https://www.nuget.org/packages/Novu/3.15.0 - .

docs/Models/Components/ActivityNotificationJobResponseDtoType.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,27 @@
22

33
Type of the job
44

5+
## Example Usage
6+
7+
```csharp
8+
using Novu.Models.Components;
9+
10+
var value = ActivityNotificationJobResponseDtoType.InApp;
11+
```
12+
513

614
## Values
715

8-
| Name | Value |
9-
| ---------- | ---------- |
10-
| `InApp` | in_app |
11-
| `Email` | email |
12-
| `Sms` | sms |
13-
| `Chat` | chat |
14-
| `Push` | push |
15-
| `Digest` | digest |
16-
| `Trigger` | trigger |
17-
| `Delay` | delay |
18-
| `Throttle` | throttle |
19-
| `Custom` | custom |
16+
| Name | Value |
17+
| ------------- | ------------- |
18+
| `InApp` | in_app |
19+
| `Email` | email |
20+
| `Sms` | sms |
21+
| `Chat` | chat |
22+
| `Push` | push |
23+
| `Digest` | digest |
24+
| `Trigger` | trigger |
25+
| `Delay` | delay |
26+
| `Throttle` | throttle |
27+
| `Custom` | custom |
28+
| `HttpRequest` | http_request |

docs/Models/Components/ActorTypeEnum.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
The type of the actor, indicating the role in the notification process.
44

5+
## Example Usage
6+
7+
```csharp
8+
using Novu.Models.Components;
9+
10+
var value = ActorTypeEnum.None;
11+
```
12+
513

614
## Values
715

docs/Models/Components/BackoffUnit.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# BackoffUnit
22

3+
## Example Usage
4+
5+
```csharp
6+
using Novu.Models.Components;
7+
8+
var value = BackoffUnit.Seconds;
9+
```
10+
311

412
## Values
513

0 commit comments

Comments
 (0)