Skip to content
Merged
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.speakeasy/reports
.env
.env.local
.DS_Store
Expand Down
2,470 changes: 2,015 additions & 455 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
csharp:
version: 3.14.0
version: 3.15.0
additionalDependencies: []
author: Speakeasy
baseErrorName: BaseException
Expand All @@ -38,6 +38,7 @@ csharp:
disableNamespacePascalCasingApr2024: true
dotnetVersion: net8.0
enableCancellationToken: false
enableFormatting: false
enableSourceLink: false
flattenGlobalSecurity: true
flatteningOrder: parameters-first
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.761.3
sources:
Novu API:
sourceNamespace: novu-api-csharp
sourceRevisionDigest: sha256:ed14922657f3d2f2326127bdcf1061c555ad53372da4a27b09e507fcd65f1ad3
sourceBlobDigest: sha256:cef71d8a8a5887c689eb3d1a7f1a63a1c58deb8ee765414368ef9e333a6428a6
sourceRevisionDigest: sha256:c7ae3158896634abf0997139395b9bd35b100686d4c8995c41442f610ce3e6b5
sourceBlobDigest: sha256:4c9544987d559a53c7b0c502a8ef69d6f177742f888ab12f61578eac4de94bdd
tags:
- latest
- speakeasy-sdk-regen-1769645679
- 3.13.0
- 3.15.0
targets:
novu:
source: Novu API
sourceNamespace: novu-api-csharp
sourceRevisionDigest: sha256:ed14922657f3d2f2326127bdcf1061c555ad53372da4a27b09e507fcd65f1ad3
sourceBlobDigest: sha256:cef71d8a8a5887c689eb3d1a7f1a63a1c58deb8ee765414368ef9e333a6428a6
sourceRevisionDigest: sha256:c7ae3158896634abf0997139395b9bd35b100686d4c8995c41442f610ce3e6b5
sourceBlobDigest: sha256:4c9544987d559a53c7b0c502a8ef69d6f177742f888ab12f61578eac4de94bdd
codeSamplesNamespace: novu-api-csharp-code-samples
codeSamplesRevisionDigest: sha256:28429cda51710333917dda71eea10bb1f1cd5f4ea698339b4357d75d80dc3fdd
codeSamplesRevisionDigest: sha256:4993552159f9f883f9d39ff64ac72902f609909ed5d639be14946121e80122fc
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions NUGET.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ catch (System.Net.Http.HttpRequestException ex)
* [`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`.

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

\* Refer to the [relevant documentation](#available-resources-and-operations) to determine whether an exception applies to a specific operation.
Expand Down
39 changes: 35 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ var res = await sdk.TriggerAsync(triggerEventRequestDto: new TriggerEventRequest

### [Activity](docs/sdks/activity/README.md)

* [Track](docs/sdks/activity/README.md#track) - Track activity and engagement events
* [Track](docs/sdks/activity/README.md#track) - Track provider activity and engagement events

### [ChannelConnections](docs/sdks/channelconnections/README.md)

Expand All @@ -295,9 +295,20 @@ var res = await sdk.TriggerAsync(triggerEventRequestDto: new TriggerEventRequest
* [Retrieve](docs/sdks/contexts/README.md#retrieve) - Retrieve a context
* [Delete](docs/sdks/contexts/README.md#delete) - Delete a context

### [EnvironmentVariables](docs/sdks/environmentvariables/README.md)

* [List](docs/sdks/environmentvariables/README.md#list) - List all variables
* [Create](docs/sdks/environmentvariables/README.md#create) - Create a variable
* [Retrieve](docs/sdks/environmentvariables/README.md#retrieve) - Get environment variable
* [Update](docs/sdks/environmentvariables/README.md#update) - Update a variable
* [Delete](docs/sdks/environmentvariables/README.md#delete) - Delete environment variable
* [Usage](docs/sdks/environmentvariables/README.md#usage) - Retrieve a variable usage

### [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 @@ -349,6 +360,25 @@ var res = await sdk.TriggerAsync(triggerEventRequestDto: new TriggerEventRequest
* [DeleteCredentials](docs/sdks/subscribers/README.md#deletecredentials) - Delete provider credentials
* [UpdateOnlineStatus](docs/sdks/subscribers/README.md#updateonlinestatus) - Update subscriber online status

#### [Subscribers.Notifications](docs/sdks/novunotifications/README.md)

* [List](docs/sdks/novunotifications/README.md#list) - Retrieve subscriber notifications
* [Delete](docs/sdks/novunotifications/README.md#delete) - Delete a notification
* [CompleteAction](docs/sdks/novunotifications/README.md#completeaction) - Complete a notification action
* [RevertAction](docs/sdks/novunotifications/README.md#revertaction) - Revert a notification action
* [Archive](docs/sdks/novunotifications/README.md#archive) - Archive a notification
* [MarkAsRead](docs/sdks/novunotifications/README.md#markasread) - Mark a notification as read
* [Snooze](docs/sdks/novunotifications/README.md#snooze) - Snooze a notification
* [Unarchive](docs/sdks/novunotifications/README.md#unarchive) - Unarchive a notification
* [MarkAsUnread](docs/sdks/novunotifications/README.md#markasunread) - Mark a notification as unread
* [Unsnooze](docs/sdks/novunotifications/README.md#unsnooze) - Unsnooze a notification
* [ArchiveAll](docs/sdks/novunotifications/README.md#archiveall) - Archive all notifications
* [Count](docs/sdks/novunotifications/README.md#count) - Retrieve subscriber notifications count
* [DeleteAll](docs/sdks/novunotifications/README.md#deleteall) - Delete all notifications
* [MarkAllAsRead](docs/sdks/novunotifications/README.md#markallasread) - Mark all notifications as read
* [ArchiveAllRead](docs/sdks/novunotifications/README.md#archiveallread) - Archive all read notifications
* [MarkAsSeen](docs/sdks/novunotifications/README.md#markasseen) - Mark notifications as seen

#### [Subscribers.Preferences](docs/sdks/preferences/README.md)

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

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

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

</details>
Expand Down Expand Up @@ -617,9 +648,9 @@ catch (System.Net.Http.HttpRequestException ex)
* [`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`.

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

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ Based on:
### Generated
- [csharp v3.14.0] .
### Releases
- [NuGet v3.14.0] https://www.nuget.org/packages/Novu/3.14.0 - .
- [NuGet v3.14.0] https://www.nuget.org/packages/Novu/3.14.0 - .

## 2026-04-13 15:11:22
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.761.3 (2.879.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [csharp v3.15.0] .
### Releases
- [NuGet v3.15.0] https://www.nuget.org/packages/Novu/3.15.0 - .
33 changes: 21 additions & 12 deletions docs/Models/Components/ActivityNotificationJobResponseDtoType.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,27 @@

Type of the job

## Example Usage

```csharp
using Novu.Models.Components;

var value = ActivityNotificationJobResponseDtoType.InApp;
```


## Values

| Name | Value |
| ---------- | ---------- |
| `InApp` | in_app |
| `Email` | email |
| `Sms` | sms |
| `Chat` | chat |
| `Push` | push |
| `Digest` | digest |
| `Trigger` | trigger |
| `Delay` | delay |
| `Throttle` | throttle |
| `Custom` | custom |
| Name | Value |
| ------------- | ------------- |
| `InApp` | in_app |
| `Email` | email |
| `Sms` | sms |
| `Chat` | chat |
| `Push` | push |
| `Digest` | digest |
| `Trigger` | trigger |
| `Delay` | delay |
| `Throttle` | throttle |
| `Custom` | custom |
| `HttpRequest` | http_request |
8 changes: 8 additions & 0 deletions docs/Models/Components/ActorTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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

## Example Usage

```csharp
using Novu.Models.Components;

var value = ActorTypeEnum.None;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/BackoffUnit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# BackoffUnit

## Example Usage

```csharp
using Novu.Models.Components;

var value = BackoffUnit.Seconds;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/BuilderFieldTypeEnum.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# BuilderFieldTypeEnum

## Example Usage

```csharp
using Novu.Models.Components;

var value = BuilderFieldTypeEnum.Boolean;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/ButtonTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Type of button for the action result

## Example Usage

```csharp
using Novu.Models.Components;

var value = ButtonTypeEnum.Primary;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/Channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The channel type (email, sms, push, chat, etc.).

## Example Usage

```csharp
using Novu.Models.Components;

var value = Channel.InApp;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/ChannelCTATypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Type of call to action

## Example Usage

```csharp
using Novu.Models.Components;

var value = ChannelCTATypeEnum.Redirect;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/ChannelTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Channel type through which the message is sent

## Example Usage

```csharp
using Novu.Models.Components;

var value = ChannelTypeEnum.InApp;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/ChatOrPushProviderEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The provider identifier for the credentials

## Example Usage

```csharp
using Novu.Models.Components;

var value = ChatOrPushProviderEnum.Slack;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/Models/Components/ChatRenderOutput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ChatRenderOutput


## Fields

| Field | Type | Required | Description |
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `Body` | *string* | :heavy_check_mark: | Body of the chat message |
3 changes: 2 additions & 1 deletion docs/Models/Components/ChatStepResponseDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
| `Origin` | [ResourceOriginEnum](../../Models/Components/ResourceOriginEnum.md) | :heavy_check_mark: | Origin of the layout |
| `WorkflowId` | *string* | :heavy_check_mark: | Workflow identifier |
| `WorkflowDatabaseId` | *string* | :heavy_check_mark: | Workflow database identifier |
| `Issues` | [StepIssuesDto](../../Models/Components/StepIssuesDto.md) | :heavy_minus_sign: | Issues associated with the step |
| `Issues` | [StepIssuesDto](../../Models/Components/StepIssuesDto.md) | :heavy_minus_sign: | Issues associated with the step |
| `StepResolverHash` | *string* | :heavy_minus_sign: | Hash identifying the deployed Cloudflare Worker for this step |
9 changes: 9 additions & 0 deletions docs/Models/Components/ContentIssueEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,21 @@

Type of step content issue

## Example Usage

```csharp
using Novu.Models.Components;

var value = ContentIssueEnum.IllegalVariableInControlValue;
```


## Values

| Name | Value |
| --------------------------------- | --------------------------------- |
| `IllegalVariableInControlValue` | ILLEGAL_VARIABLE_IN_CONTROL_VALUE |
| `InvalidFilterArgInVariable` | INVALID_FILTER_ARG_IN_VARIABLE |
| `InvalidUrl` | INVALID_URL |
| `MissingValue` | MISSING_VALUE |
| `TierLimitExceeded` | TIER_LIMIT_EXCEEDED |
2 changes: 1 addition & 1 deletion docs/Models/Components/ControlValues.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ControlValues

Control values for the layout
Control values for the layout. Omit to leave unchanged, or set to null to clear stored control values.


## Fields
Expand Down
11 changes: 11 additions & 0 deletions docs/Models/Components/CreateEnvironmentVariableRequestDto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CreateEnvironmentVariableRequestDto


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
| `Key` | *string* | :heavy_check_mark: | Unique key for the variable. Must start with a letter and contain only letters, digits, and underscores. |
| `Type` | [CreateEnvironmentVariableRequestDtoType](../../Models/Components/CreateEnvironmentVariableRequestDtoType.md) | :heavy_minus_sign: | The type of the variable |
| `IsSecret` | *bool* | :heavy_minus_sign: | Whether this variable is a secret (encrypted at rest, masked in responses) |
| `Values` | List<[EnvironmentVariableValueDto](../../Models/Components/EnvironmentVariableValueDto.md)> | :heavy_minus_sign: | N/A |
Loading