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
1,565 changes: 827 additions & 738 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .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.19.0
version: 3.20.0
additionalDependencies: []
additionalPlugins: []
artifactID: novu-java
Expand All @@ -49,7 +49,7 @@ java:
explicitDocImports: false
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: true
forwardCompatibleUnionsByDefault: "false"
forwardCompatibleUnionsByDefault: true
generateOptionalUnionAccessors: true
generateSpringBootStarter: true
generateUnionDocs: false
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.791.4
speakeasyVersion: 1.799.0
sources:
'DEPRECATED: Novu API. Use -openapi.{json,yaml} instead.':
sourceNamespace: novu-oas
Expand All @@ -9,19 +9,19 @@ sources:
- 3.12.0
novu-OAS:
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:c158717a87de8e2a03d6ce012e81edb311edc59178051f863bcfde00f38fa74e
sourceBlobDigest: sha256:3412bc360ce5a9dbe1d31edc958f7eea54859cb21ff6954362cfb9908975e425
sourceRevisionDigest: sha256:01f731ccf71ca21a18f9ee7bf300f6cb4b3cd26bc0f168fd38fbfd7cdc41585b
sourceBlobDigest: sha256:ec9ceea5c3a898a5eb4854dc8d492754527afc184582cb9b6ff774221c8e47e6
tags:
- latest
- 3.18.1
- 3.19.2
targets:
novu:
source: novu-OAS
sourceNamespace: novu-oas
sourceRevisionDigest: sha256:c158717a87de8e2a03d6ce012e81edb311edc59178051f863bcfde00f38fa74e
sourceBlobDigest: sha256:3412bc360ce5a9dbe1d31edc958f7eea54859cb21ff6954362cfb9908975e425
sourceRevisionDigest: sha256:01f731ccf71ca21a18f9ee7bf300f6cb4b3cd26bc0f168fd38fbfd7cdc41585b
sourceBlobDigest: sha256:ec9ceea5c3a898a5eb4854dc8d492754527afc184582cb9b6ff774221c8e47e6
codeSamplesNamespace: novu-oas-java-code-samples
codeSamplesRevisionDigest: sha256:4e934f243c96a99668cc4d443707b4bdf768f6f48fdf0b42365f7954b1a24719
codeSamplesRevisionDigest: sha256:986ab1337048babbd9d062a83aa48ea2af3c9af297204e7e7ddfa5eb30dbf1f6
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'co.novu:novu-java:3.19.0'
implementation 'co.novu:novu-java:3.20.0'
```

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

Expand Down Expand Up @@ -531,7 +531,7 @@ public class Application {

* [create](docs/sdks/agents/README.md#create) - Create an agent
* [list](docs/sdks/agents/README.md#list) - List all agents
* [sendReply](docs/sdks/agents/README.md#sendreply) - Send an agent reply
* [~~sendReply~~](docs/sdks/agents/README.md#sendreply) - Send an agent reply :warning: **Deprecated**
* [retrieve](docs/sdks/agents/README.md#retrieve) - Retrieve an agent
* [update](docs/sdks/agents/README.md#update) - Update an agent
* [delete](docs/sdks/agents/README.md#delete) - Delete an agent
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ Based on:
### Generated
- [java v3.19.0] .
### Releases
- [Maven Central v3.19.0] https://central.sonatype.com/artifact/co.novu/novu-java/3.19.0 - .
- [Maven Central v3.19.0] https://central.sonatype.com/artifact/co.novu/novu-java/3.19.0 - .

## 2026-09-26 00:06:26
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.799.0 (2.941.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v3.20.0] .
### Releases
- [Maven Central v3.20.0] https://central.sonatype.com/artifact/co.novu/novu-java/3.20.0 - .
2 changes: 1 addition & 1 deletion docs/models/components/AgentReplyPayloadDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| `toolApprovalRequest` | [Optional\<ToolApprovalRequestPayloadDto>](../../models/components/ToolApprovalRequestPayloadDto.md) | :heavy_minus_sign: | Tool-lifecycle ledger row for a gated tool call. Pair with `reply.toolApprovalCard` (or another reply shape) to deliver the approval UI. | |
| `edit` | [Optional\<EditPayloadDto>](../../models/components/EditPayloadDto.md) | :heavy_minus_sign: | In-place edit of a previously posted agent message. Cannot be combined with reply, resolve, signals, toolResults, toolApprovalRequest, addReactions, or deleteMessages. | |
| `resolve` | [Optional\<ResolveDto>](../../models/components/ResolveDto.md) | :heavy_minus_sign: | Mark the conversation resolved. May be combined with a final `reply`. | |
| `signals` | List\<[Signal](../../models/components/Signal.md)> | :heavy_minus_sign: | Side-effect signals executed during this turn: conversation metadata mutations or Novu workflow triggers. | |
| `signals` | List\<[Signal](../../models/components/Signal.md)> | :heavy_minus_sign: | Side-effect signals executed during this turn: conversation metadata mutations, Novu workflow triggers, or human-in-the-loop interactions. | |
| `toolResults` | List\<[ToolResultDto](../../models/components/ToolResultDto.md)> | :heavy_minus_sign: | Tool-call outcomes to persist in conversation history (typically before the assistant reply). | |
| `addReactions` | List\<[AddReactionPayloadDto](../../models/components/AddReactionPayloadDto.md)> | :heavy_minus_sign: | Emoji reactions to add to existing platform messages. | |
| `deleteMessages` | List\<[DeleteMessagePayloadDto](../../models/components/DeleteMessagePayloadDto.md)> | :heavy_minus_sign: | Delete previously posted platform messages. Removes the rendered message only β€” history is preserved. | |
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/ApiKeyDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

| Field | Type | Required | Description | Example |
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
| `key` | *String* | :heavy_check_mark: | API key | sk_test_1234567890abcdef |
| `key` | *String* | :heavy_check_mark: | API key | api-key-1234567890abcdef |
| `userId` | *String* | :heavy_check_mark: | User ID associated with the API key | 60d5ecb8b3b3a30015f3e1a4 |
| `hash` | *Optional\<String>* | :heavy_minus_sign: | Hashed representation of the API key | hash_value_here |
3 changes: 2 additions & 1 deletion docs/models/components/ChatControlDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `skip` | Map\<String, *Object*> | :heavy_minus_sign: | JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference. | {<br/>"and": [<br/>{<br/>"==": [<br/>{<br/>"var": "payload.tier"<br/>},<br/>"pro"<br/>]<br/>},<br/>{<br/>"==": [<br/>{<br/>"var": "subscriber.data.role"<br/>},<br/>"admin"<br/>]<br/>},<br/>{<br/>"\u003e": [<br/>{<br/>"var": "payload.amount"<br/>},<br/>"4"<br/>]<br/>}<br/>]<br/>} |
| `body` | *Optional\<String>* | :heavy_minus_sign: | Content of the chat message. | |
| `body` | *Optional\<String>* | :heavy_minus_sign: | Content of the chat message. | |
| `editorType` | [Optional\<ChatControlDtoEditorType>](../../models/components/ChatControlDtoEditorType.md) | :heavy_minus_sign: | Type of editor to use for the body. When omitted, inferred from the body: Maily JSON is "block", otherwise "text". | |
22 changes: 22 additions & 0 deletions docs/models/components/ChatControlDtoEditorType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ChatControlDtoEditorType

Type of editor to use for the body. When omitted, inferred from the body: Maily JSON is "block", otherwise "text".

## Example Usage

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

ChatControlDtoEditorType value = ChatControlDtoEditorType.BLOCK;

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


## Values

| Name | Value |
| ------- | ------- |
| `BLOCK` | block |
| `TEXT` | text |
Loading