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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
914 changes: 620 additions & 294 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
java:
version: 3.14.0
version: 3.14.1
additionalDependencies: []
additionalPlugins: []
artifactID: novu-java
Expand All @@ -46,11 +46,13 @@ java:
enableFormatting: false
enableSlf4jLogging: true
enableStreamingUploads: true
explicitDocImports: false
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: true
forwardCompatibleUnionsByDefault: "false"
generateOptionalUnionAccessors: true
generateSpringBootStarter: true
generateUnionDocs: false
githubURL: github.com/novuhq/novu-java
groupID: co.novu
imports:
Expand All @@ -76,5 +78,6 @@ java:
packageName: co.novu
projectName: novu
respectTitlesForPrimitiveUnionMembers: false
showSetterGetterTypesInDocs: false
templateVersion: v2
unionStrategy: populated-fields
13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.732.2
speakeasyVersion: 1.741.3
sources:
'DEPRECATED: Novu API. Use -openapi.{json,yaml} instead.':
sourceNamespace: novu-oas
Expand All @@ -9,20 +9,19 @@ sources:
- 3.12.0
novu-OAS:
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:aaf89e274c31a5a450b1170b501418fe743781d8797e09e5827f2adb34e5f49a
sourceBlobDigest: sha256:70458c344be37b8b008f62e6725939bfe6ebcef8ec5edceebaf375ae6f541c10
sourceRevisionDigest: sha256:95fa382c732d36b81aefba1e9cf9468548b3a146f40136251ce3a4ee067bb2d0
sourceBlobDigest: sha256:928b0fddad679fc5fcd639f78b158c52b20e478dc3872968c906d8d9c0b3fdaf
tags:
- latest
- speakeasy-sdk-regen-next-1769213168
- 3.14.0
targets:
novu:
source: novu-OAS
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:aaf89e274c31a5a450b1170b501418fe743781d8797e09e5827f2adb34e5f49a
sourceBlobDigest: sha256:70458c344be37b8b008f62e6725939bfe6ebcef8ec5edceebaf375ae6f541c10
sourceRevisionDigest: sha256:95fa382c732d36b81aefba1e9cf9468548b3a146f40136251ce3a4ee067bb2d0
sourceBlobDigest: sha256:928b0fddad679fc5fcd639f78b158c52b20e478dc3872968c906d8d9c0b3fdaf
codeSamplesNamespace: novu-oas-java-code-samples
codeSamplesRevisionDigest: sha256:c73df67cdc82540ab0df3a94450eda0fdb446c4f8d4bdfe12f23112c12595130
codeSamplesRevisionDigest: sha256:e39a57da5daac3629abd89c26430b0dce55c36325acaa951e05d3d1601ca2bf1
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ For more information about the API: [Novu Documentation](https://docs.novu.co)
<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [openapi](#openapi)
* [JAVA Novu SDK](#java-novu-sdk)
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Asynchronous Support](#asynchronous-support)
Expand Down Expand Up @@ -73,15 +73,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'co.novu:novu-java:3.14.0'
implementation 'co.novu:novu-java:3.14.1'
```

Maven:
```xml
<dependency>
<groupId>co.novu</groupId>
<artifactId>novu-java</artifactId>
<version>3.14.0</version>
<version>3.14.1</version>
</dependency>
```

Expand Down Expand Up @@ -498,6 +498,8 @@ public class Application {

### [Environments](docs/sdks/environments/README.md)

* [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 @@ -912,9 +914,9 @@ public class Application {
many more subclasses in the JDK platform).

**Inherit from [`NovuException`](./src/main/java/models/errors/NovuException.java)**:
* [`co.novu.models.errors.PayloadValidationExceptionDto`](./src/main/java/models/errors/co.novu.models.errors.PayloadValidationExceptionDto.java): Status code `400`. Applicable to 3 of 93 methods.*
* [`co.novu.models.errors.SubscriberResponseDtoException`](./src/main/java/models/errors/co.novu.models.errors.SubscriberResponseDtoException.java): Created. Status code `409`. Applicable to 1 of 93 methods.*
* [`co.novu.models.errors.TopicResponseDtoException`](./src/main/java/models/errors/co.novu.models.errors.TopicResponseDtoException.java): OK. Status code `409`. Applicable to 1 of 93 methods.*
* [`co.novu.models.errors.PayloadValidationExceptionDto`](./src/main/java/models/errors/co.novu.models.errors.PayloadValidationExceptionDto.java): Status code `400`. Applicable to 3 of 95 methods.*
* [`co.novu.models.errors.SubscriberResponseDtoException`](./src/main/java/models/errors/co.novu.models.errors.SubscriberResponseDtoException.java): Created. Status code `409`. Applicable to 1 of 95 methods.*
* [`co.novu.models.errors.TopicResponseDtoException`](./src/main/java/models/errors/co.novu.models.errors.TopicResponseDtoException.java): OK. Status code `409`. Applicable to 1 of 95 methods.*


</details>
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ Based on:
### Generated
- [java v3.14.0] .
### Releases
- [Maven Central v3.14.0] https://central.sonatype.com/artifact/co.novu/novu-java/3.14.0 - .
- [Maven Central v3.14.0] https://central.sonatype.com/artifact/co.novu/novu-java/3.14.0 - .

## 2026-03-05 00:08:03
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.741.3 (2.849.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v3.14.1] .
### Releases
- [Maven Central v3.14.1] https://central.sonatype.com/artifact/co.novu/novu-java/3.14.1 - .
11 changes: 11 additions & 0 deletions docs/models/components/ActivityNotificationJobResponseDtoType.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Type of the job

## Example Usage

```java
import co.novu.models.components.ActivityNotificationJobResponseDtoType;

ActivityNotificationJobResponseDtoType value = ActivityNotificationJobResponseDtoType.IN_APP;

// Open enum: use .of() to create instances from custom string values
ActivityNotificationJobResponseDtoType custom = ActivityNotificationJobResponseDtoType.of("custom_value");
```


## Values

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/ActorTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

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

## Example Usage

```java
import co.novu.models.components.ActorTypeEnum;

ActorTypeEnum value = ActorTypeEnum.NONE;

// Open enum: use .of() to create instances from custom string values
ActorTypeEnum custom = ActorTypeEnum.of("custom_value");
```


## Values

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/BackoffUnit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# BackoffUnit

## Example Usage

```java
import co.novu.models.components.BackoffUnit;

BackoffUnit value = BackoffUnit.SECONDS;

// Open enum: use .of() to create instances from custom string values
BackoffUnit custom = BackoffUnit.of("custom_value");
```


## Values

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/BuilderFieldTypeEnum.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# BuilderFieldTypeEnum

## Example Usage

```java
import co.novu.models.components.BuilderFieldTypeEnum;

BuilderFieldTypeEnum value = BuilderFieldTypeEnum.BOOLEAN;

// Open enum: use .of() to create instances from custom string values
BuilderFieldTypeEnum custom = BuilderFieldTypeEnum.of("custom_value");
```


## Values

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/ButtonTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Type of button for the action result

## Example Usage

```java
import co.novu.models.components.ButtonTypeEnum;

ButtonTypeEnum value = ButtonTypeEnum.PRIMARY;

// Open enum: use .of() to create instances from custom string values
ButtonTypeEnum custom = ButtonTypeEnum.of("custom_value");
```


## 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

```java
import co.novu.models.components.ChannelCTATypeEnum;

ChannelCTATypeEnum value = ChannelCTATypeEnum.REDIRECT;
```


## Values

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/ChannelTypeEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Channel type through which the message is sent

## Example Usage

```java
import co.novu.models.components.ChannelTypeEnum;

ChannelTypeEnum value = ChannelTypeEnum.IN_APP;

// Open enum: use .of() to create instances from custom string values
ChannelTypeEnum custom = ChannelTypeEnum.of("custom_value");
```


## Values

Expand Down
11 changes: 11 additions & 0 deletions docs/models/components/ChatOrPushProviderEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

The provider identifier for the credentials

## Example Usage

```java
import co.novu.models.components.ChatOrPushProviderEnum;

ChatOrPushProviderEnum value = ChatOrPushProviderEnum.SLACK;

// Open enum: use .of() to create instances from custom string values
ChatOrPushProviderEnum custom = ChatOrPushProviderEnum.of("custom_value");
```


## Values

Expand Down
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` | [Optional\<StepIssuesDto>](../../models/components/StepIssuesDto.md) | :heavy_minus_sign: | Issues associated with the step |
| `issues` | [Optional\<StepIssuesDto>](../../models/components/StepIssuesDto.md) | :heavy_minus_sign: | Issues associated with the step |
| `stepResolverHash` | *Optional\<String>* | :heavy_minus_sign: | Hash identifying the deployed Cloudflare Worker for this step |
11 changes: 11 additions & 0 deletions docs/models/components/ContentIssueEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Type of step content issue

## Example Usage

```java
import co.novu.models.components.ContentIssueEnum;

ContentIssueEnum value = ContentIssueEnum.ILLEGAL_VARIABLE_IN_CONTROL_VALUE;

// Open enum: use .of() to create instances from custom string values
ContentIssueEnum custom = ContentIssueEnum.of("custom_value");
```


## Values

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

The channel type for the integration

## Example Usage

```java
import co.novu.models.components.CreateIntegrationRequestDtoChannel;

CreateIntegrationRequestDtoChannel value = CreateIntegrationRequestDtoChannel.IN_APP;
```


## Values

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

Type of channel endpoint

## Example Usage

```java
import co.novu.models.components.CreateMsTeamsChannelEndpointDtoType;

CreateMsTeamsChannelEndpointDtoType value = CreateMsTeamsChannelEndpointDtoType.MS_TEAMS_CHANNEL;
```


## Values

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

Type of channel endpoint

## Example Usage

```java
import co.novu.models.components.CreateMsTeamsUserEndpointDtoType;

CreateMsTeamsUserEndpointDtoType value = CreateMsTeamsUserEndpointDtoType.MS_TEAMS_USER;
```


## Values

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

Type of channel endpoint

## Example Usage

```java
import co.novu.models.components.CreatePhoneEndpointDtoType;

CreatePhoneEndpointDtoType value = CreatePhoneEndpointDtoType.PHONE;
```


## Values

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

Type of channel endpoint

## Example Usage

```java
import co.novu.models.components.CreateSlackChannelEndpointDtoType;

CreateSlackChannelEndpointDtoType value = CreateSlackChannelEndpointDtoType.SLACK_CHANNEL;
```


## Values

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

Type of channel endpoint

## Example Usage

```java
import co.novu.models.components.CreateSlackUserEndpointDtoType;

CreateSlackUserEndpointDtoType value = CreateSlackUserEndpointDtoType.SLACK_USER;
```


## Values

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The resource type to associate translation with

## Example Usage

```java
import co.novu.models.components.CreateTranslationRequestDtoResourceType;

CreateTranslationRequestDtoResourceType value = CreateTranslationRequestDtoResourceType.WORKFLOW;
```


## Values

Expand Down
Loading