https://docs.novu.co/platform/workflow/layouts */ private final AsyncLayouts layouts; - + /** + * A subscriber in Novu represents someone who should receive a message. A subscriber's profile + * information contains important attributes about the subscriber that will be used in messages (name, + * email). The subscriber object can contain other key-value pairs that can be used to further + * personalize your messages. + * + *
https://docs.novu.co/subscribers/subscribers + */ private final AsyncSubscribers subscribers; private final AsyncSubscribersTopics subscribersTopics; - + /** + * Topics are a way to group subscribers together so that they can be notified of events at once. A + * topic is identified by a custom key. This can be helpful for things like sending out marketing + * emails or notifying users of new features. + * + *
Topics can also be used to send notifications to the subscribers who have been grouped together + * based on their interests, location, activities and much more. + * + *
https://docs.novu.co/subscribers/topics + */ private final AsyncTopics topics; - + /** + * Used to localize your notifications to different languages. + * + *
https://docs.novu.co/platform/workflow/translations + */ private final AsyncTranslations translations; /** * All notifications are sent via a workflow. Each workflow acts as a container for the logic and @@ -125,7 +145,14 @@ public AsyncActivity activity() { public AsyncLayouts layouts() { return layouts; } - + /** + * A subscriber in Novu represents someone who should receive a message. A subscriber's profile + * information contains important attributes about the subscriber that will be used in messages (name, + * email). The subscriber object can contain other key-value pairs that can be used to further + * personalize your messages. + * + *
https://docs.novu.co/subscribers/subscribers + */ public AsyncSubscribers subscribers() { return subscribers; } @@ -133,11 +160,24 @@ public AsyncSubscribers subscribers() { public AsyncSubscribersTopics subscribersTopics() { return subscribersTopics; } - + /** + * Topics are a way to group subscribers together so that they can be notified of events at once. A + * topic is identified by a custom key. This can be helpful for things like sending out marketing + * emails or notifying users of new features. + * + *
Topics can also be used to send notifications to the subscribers who have been grouped together + * based on their interests, location, activities and much more. + * + *
https://docs.novu.co/subscribers/topics + */ public AsyncTopics topics() { return topics; } - + /** + * Used to localize your notifications to different languages. + * + *
https://docs.novu.co/platform/workflow/translations + */ public AsyncTranslations translations() { return translations; } diff --git a/src/main/java/co/novu/AsyncSubscribers.java b/src/main/java/co/novu/AsyncSubscribers.java index 0104611e..1084cd5a 100644 --- a/src/main/java/co/novu/AsyncSubscribers.java +++ b/src/main/java/co/novu/AsyncSubscribers.java @@ -59,7 +59,14 @@ import java.lang.String; import java.util.concurrent.CompletableFuture; - +/** + * A subscriber in Novu represents someone who should receive a message. A subscriber's profile + * information contains important attributes about the subscriber that will be used in messages (name, + * email). The subscriber object can contain other key-value pairs that can be used to further + * personalize your messages. + * + *
https://docs.novu.co/subscribers/subscribers + */ public class AsyncSubscribers { private static final Headers _headers = Headers.EMPTY; private final SDKConfiguration sdkConfiguration; diff --git a/src/main/java/co/novu/AsyncTags.java b/src/main/java/co/novu/AsyncTags.java index 60688aa9..65d76d54 100644 --- a/src/main/java/co/novu/AsyncTags.java +++ b/src/main/java/co/novu/AsyncTags.java @@ -38,7 +38,7 @@ public Tags sync() { /** - * Get environment tags + * List environment tags * *
Retrieve all unique tags used in workflows within the specified environment. These tags can be used * for filtering workflows. @@ -50,7 +50,7 @@ public EnvironmentsControllerGetEnvironmentTagsRequestBuilder get() { } /** - * Get environment tags + * List environment tags * *
Retrieve all unique tags used in workflows within the specified environment. These tags can be used
* for filtering workflows.
@@ -63,7 +63,7 @@ public CompletableFuture Retrieve all unique tags used in workflows within the specified environment. These tags can be used
* for filtering workflows.
diff --git a/src/main/java/co/novu/AsyncTopics.java b/src/main/java/co/novu/AsyncTopics.java
index 73fd700f..41a9dba6 100644
--- a/src/main/java/co/novu/AsyncTopics.java
+++ b/src/main/java/co/novu/AsyncTopics.java
@@ -44,7 +44,16 @@
import java.lang.String;
import java.util.concurrent.CompletableFuture;
-
+/**
+ * Topics are a way to group subscribers together so that they can be notified of events at once. A
+ * topic is identified by a custom key. This can be helpful for things like sending out marketing
+ * emails or notifying users of new features.
+ *
+ * Topics can also be used to send notifications to the subscribers who have been grouped together
+ * based on their interests, location, activities and much more.
+ *
+ * https://docs.novu.co/subscribers/topics
+ */
public class AsyncTopics {
private static final Headers _headers = Headers.EMPTY;
private final SDKConfiguration sdkConfiguration;
@@ -376,9 +385,9 @@ public CompletableFuture Get a subscription by its unique identifier for a topic.
+ * Retrieve a subscription by its unique identifier for a topic.
*
* @return The async call builder
*/
@@ -387,9 +396,9 @@ public TopicsControllerGetTopicSubscriptionRequestBuilder getSubscriptionById()
}
/**
- * Get a topic subscription
+ * Retrieve a topic subscription
*
- * Get a subscription by its unique identifier for a topic.
+ * Retrieve a subscription by its unique identifier for a topic.
*
* @param topicKey The key identifier of the topic
* @param identifier The unique identifier of the subscription
@@ -402,9 +411,9 @@ public CompletableFuture Get a subscription by its unique identifier for a topic.
+ * Retrieve a subscription by its unique identifier for a topic.
*
* @param topicKey The key identifier of the topic
* @param identifier The unique identifier of the subscription
diff --git a/src/main/java/co/novu/AsyncTranslations.java b/src/main/java/co/novu/AsyncTranslations.java
index 6b5107b4..90054832 100644
--- a/src/main/java/co/novu/AsyncTranslations.java
+++ b/src/main/java/co/novu/AsyncTranslations.java
@@ -56,7 +56,11 @@
import java.lang.String;
import java.util.concurrent.CompletableFuture;
-
+/**
+ * Used to localize your notifications to different languages.
+ *
+ * https://docs.novu.co/platform/workflow/translations
+ */
public class AsyncTranslations {
private static final Headers _headers = Headers.EMPTY;
private final SDKConfiguration sdkConfiguration;
diff --git a/src/main/java/co/novu/Novu.java b/src/main/java/co/novu/Novu.java
index 6d0e5303..dbd97cfa 100644
--- a/src/main/java/co/novu/Novu.java
+++ b/src/main/java/co/novu/Novu.java
@@ -79,16 +79,36 @@ public class Novu {
*/
private final Layouts layouts;
-
+ /**
+ * A subscriber in Novu represents someone who should receive a message. A subscriber's profile
+ * information contains important attributes about the subscriber that will be used in messages (name,
+ * email). The subscriber object can contain other key-value pairs that can be used to further
+ * personalize your messages.
+ *
+ * https://docs.novu.co/subscribers/subscribers
+ */
private final Subscribers subscribers;
private final SubscribersTopics subscribersTopics;
-
+ /**
+ * Topics are a way to group subscribers together so that they can be notified of events at once. A
+ * topic is identified by a custom key. This can be helpful for things like sending out marketing
+ * emails or notifying users of new features.
+ *
+ * Topics can also be used to send notifications to the subscribers who have been grouped together
+ * based on their interests, location, activities and much more.
+ *
+ * https://docs.novu.co/subscribers/topics
+ */
private final Topics topics;
-
+ /**
+ * Used to localize your notifications to different languages.
+ *
+ * https://docs.novu.co/platform/workflow/translations
+ */
private final Translations translations;
/**
@@ -165,7 +185,14 @@ public Layouts layouts() {
return layouts;
}
-
+ /**
+ * A subscriber in Novu represents someone who should receive a message. A subscriber's profile
+ * information contains important attributes about the subscriber that will be used in messages (name,
+ * email). The subscriber object can contain other key-value pairs that can be used to further
+ * personalize your messages.
+ *
+ * https://docs.novu.co/subscribers/subscribers
+ */
public Subscribers subscribers() {
return subscribers;
}
@@ -175,12 +202,25 @@ public SubscribersTopics subscribersTopics() {
return subscribersTopics;
}
-
+ /**
+ * Topics are a way to group subscribers together so that they can be notified of events at once. A
+ * topic is identified by a custom key. This can be helpful for things like sending out marketing
+ * emails or notifying users of new features.
+ *
+ * Topics can also be used to send notifications to the subscribers who have been grouped together
+ * based on their interests, location, activities and much more.
+ *
+ * https://docs.novu.co/subscribers/topics
+ */
public Topics topics() {
return topics;
}
-
+ /**
+ * Used to localize your notifications to different languages.
+ *
+ * https://docs.novu.co/platform/workflow/translations
+ */
public Translations translations() {
return translations;
}
diff --git a/src/main/java/co/novu/SDKConfiguration.java b/src/main/java/co/novu/SDKConfiguration.java
index 6ee37664..46ed2a3b 100644
--- a/src/main/java/co/novu/SDKConfiguration.java
+++ b/src/main/java/co/novu/SDKConfiguration.java
@@ -18,9 +18,9 @@
public class SDKConfiguration {
private static final String LANGUAGE = "java";
- public static final String OPENAPI_DOC_VERSION = "3.12.0";
- public static final String SDK_VERSION = "3.12.0";
- public static final String GEN_VERSION = "2.799.0";
+ public static final String OPENAPI_DOC_VERSION = "3.13.0";
+ public static final String SDK_VERSION = "3.13.0";
+ public static final String GEN_VERSION = "2.836.5";
private static final String BASE_PACKAGE = "co.novu";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
diff --git a/src/main/java/co/novu/Subscribers.java b/src/main/java/co/novu/Subscribers.java
index 85b0612a..abdbca9d 100644
--- a/src/main/java/co/novu/Subscribers.java
+++ b/src/main/java/co/novu/Subscribers.java
@@ -58,7 +58,14 @@
import java.lang.Boolean;
import java.lang.String;
-
+/**
+ * A subscriber in Novu represents someone who should receive a message. A subscriber's profile
+ * information contains important attributes about the subscriber that will be used in messages (name,
+ * email). The subscriber object can contain other key-value pairs that can be used to further
+ * personalize your messages.
+ *
+ * https://docs.novu.co/subscribers/subscribers
+ */
public class Subscribers {
private static final Headers _headers = Headers.EMPTY;
private final SDKConfiguration sdkConfiguration;
diff --git a/src/main/java/co/novu/Tags.java b/src/main/java/co/novu/Tags.java
index cb5257c2..995ea1c2 100644
--- a/src/main/java/co/novu/Tags.java
+++ b/src/main/java/co/novu/Tags.java
@@ -36,7 +36,7 @@ public AsyncTags async() {
}
/**
- * Get environment tags
+ * List environment tags
*
* Retrieve all unique tags used in workflows within the specified environment. These tags can be used
* for filtering workflows.
@@ -48,7 +48,7 @@ public EnvironmentsControllerGetEnvironmentTagsRequestBuilder get() {
}
/**
- * Get environment tags
+ * List environment tags
*
* Retrieve all unique tags used in workflows within the specified environment. These tags can be used
* for filtering workflows.
@@ -62,7 +62,7 @@ public EnvironmentsControllerGetEnvironmentTagsResponse get(@Nonnull String envi
}
/**
- * Get environment tags
+ * List environment tags
*
* Retrieve all unique tags used in workflows within the specified environment. These tags can be used
* for filtering workflows.
diff --git a/src/main/java/co/novu/Topics.java b/src/main/java/co/novu/Topics.java
index ad872b17..0f87d7f3 100644
--- a/src/main/java/co/novu/Topics.java
+++ b/src/main/java/co/novu/Topics.java
@@ -43,7 +43,16 @@
import java.lang.Boolean;
import java.lang.String;
-
+/**
+ * Topics are a way to group subscribers together so that they can be notified of events at once. A
+ * topic is identified by a custom key. This can be helpful for things like sending out marketing
+ * emails or notifying users of new features.
+ *
+ * Topics can also be used to send notifications to the subscribers who have been grouped together
+ * based on their interests, location, activities and much more.
+ *
+ * https://docs.novu.co/subscribers/topics
+ */
public class Topics {
private static final Headers _headers = Headers.EMPTY;
private final SDKConfiguration sdkConfiguration;
@@ -359,9 +368,9 @@ public TopicsControllerCreateTopicSubscriptionsResponse createSubscription(
}
/**
- * Get a topic subscription
+ * Retrieve a topic subscription
*
- * Get a subscription by its unique identifier for a topic.
+ * Retrieve a subscription by its unique identifier for a topic.
*
* @return The call builder
*/
@@ -370,9 +379,9 @@ public TopicsControllerGetTopicSubscriptionRequestBuilder getSubscriptionById()
}
/**
- * Get a topic subscription
+ * Retrieve a topic subscription
*
- * Get a subscription by its unique identifier for a topic.
+ * Retrieve a subscription by its unique identifier for a topic.
*
* @param topicKey The key identifier of the topic
* @param identifier The unique identifier of the subscription
@@ -385,9 +394,9 @@ public TopicsControllerGetTopicSubscriptionResponse getSubscriptionById(@Nonnull
}
/**
- * Get a topic subscription
+ * Retrieve a topic subscription
*
- * Get a subscription by its unique identifier for a topic.
+ * Retrieve a subscription by its unique identifier for a topic.
*
* @param topicKey The key identifier of the topic
* @param identifier The unique identifier of the subscription
diff --git a/src/main/java/co/novu/Translations.java b/src/main/java/co/novu/Translations.java
index a367ec3f..9b6315f2 100644
--- a/src/main/java/co/novu/Translations.java
+++ b/src/main/java/co/novu/Translations.java
@@ -55,7 +55,11 @@
import jakarta.annotation.Nullable;
import java.lang.String;
-
+/**
+ * Used to localize your notifications to different languages.
+ *
+ * https://docs.novu.co/platform/workflow/translations
+ */
public class Translations {
private static final Headers _headers = Headers.EMPTY;
private final SDKConfiguration sdkConfiguration;
diff --git a/src/main/java/co/novu/models/components/MessageActionResult.java b/src/main/java/co/novu/models/components/MessageActionResult.java
index 28a000b7..745e9143 100644
--- a/src/main/java/co/novu/models/components/MessageActionResult.java
+++ b/src/main/java/co/novu/models/components/MessageActionResult.java
@@ -9,8 +9,10 @@
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.annotation.Nullable;
+import java.lang.Object;
import java.lang.Override;
import java.lang.String;
+import java.util.Map;
import java.util.Optional;
@@ -20,7 +22,7 @@ public class MessageActionResult {
*/
@JsonInclude(Include.NON_ABSENT)
@JsonProperty("payload")
- private MessageActionResultPayload payload;
+ private Map