@novu/api 3.18.1 → 3.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@novu/api",
5
- "version": "3.18.1",
5
+ "version": "3.18.2",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
31
31
  export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "3.18.1";
34
- readonly sdkVersion: "3.18.1";
34
+ readonly sdkVersion: "3.18.2";
35
35
  readonly genVersion: "2.918.3";
36
- readonly userAgent: "speakeasy-sdk/typescript 3.18.1 2.918.3 3.18.1 @novu/api";
36
+ readonly userAgent: "speakeasy-sdk/typescript 3.18.2 2.918.3 3.18.1 @novu/api";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -29,8 +29,8 @@ function serverURLFromOptions(options) {
29
29
  exports.SDK_METADATA = {
30
30
  language: "typescript",
31
31
  openapiDocVersion: "3.18.1",
32
- sdkVersion: "3.18.1",
32
+ sdkVersion: "3.18.2",
33
33
  genVersion: "2.918.3",
34
- userAgent: "speakeasy-sdk/typescript 3.18.1 2.918.3 3.18.1 @novu/api",
34
+ userAgent: "speakeasy-sdk/typescript 3.18.2 2.918.3 3.18.1 @novu/api",
35
35
  };
36
36
  //# sourceMappingURL=config.js.map
@@ -6,7 +6,7 @@ export type GroupPreferenceFilterDto = {
6
6
  */
7
7
  enabled?: boolean | undefined;
8
8
  /**
9
- * Optional JSON Logic condition evaluated against the trigger payload at fan-out time (for example, `{ "var": "payload.tier" }`)
9
+ * Optional JSON Logic condition evaluated at fan-out time against trigger payload, subscriber profile, actor, and context (for example, `{ "var": "payload.tier" }`, `{ "var": "subscriber.data.plan" }`, or `{ "var": "actor.data.role" }`)
10
10
  */
11
11
  condition?: {
12
12
  [k: string]: any;
@@ -5,7 +5,7 @@ export type WorkflowPreferenceRequestDto = {
5
5
  */
6
6
  enabled?: boolean | undefined;
7
7
  /**
8
- * Optional JSON Logic condition evaluated against the trigger payload at fan-out time (for example, `{ "var": "payload.tier" }`)
8
+ * Optional JSON Logic condition evaluated at fan-out time against trigger payload, subscriber profile, actor, and context (for example, `{ "var": "payload.tier" }`, `{ "var": "subscriber.data.plan" }`, or `{ "var": "actor.data.role" }`)
9
9
  */
10
10
  condition?: {
11
11
  [k: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@novu/api",
3
- "version": "3.18.1",
3
+ "version": "3.18.2",
4
4
  "author": "Novu",
5
5
  "description": "The <Inbox /> infrastructure for modern products",
6
6
  "main": "./index.js",
package/src/lib/config.ts CHANGED
@@ -59,7 +59,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
59
59
  export const SDK_METADATA = {
60
60
  language: "typescript",
61
61
  openapiDocVersion: "3.18.1",
62
- sdkVersion: "3.18.1",
62
+ sdkVersion: "3.18.2",
63
63
  genVersion: "2.918.3",
64
- userAgent: "speakeasy-sdk/typescript 3.18.1 2.918.3 3.18.1 @novu/api",
64
+ userAgent: "speakeasy-sdk/typescript 3.18.2 2.918.3 3.18.1 @novu/api",
65
65
  } as const;
@@ -15,7 +15,7 @@ export type GroupPreferenceFilterDto = {
15
15
  */
16
16
  enabled?: boolean | undefined;
17
17
  /**
18
- * Optional JSON Logic condition evaluated against the trigger payload at fan-out time (for example, `{ "var": "payload.tier" }`)
18
+ * Optional JSON Logic condition evaluated at fan-out time against trigger payload, subscriber profile, actor, and context (for example, `{ "var": "payload.tier" }`, `{ "var": "subscriber.data.plan" }`, or `{ "var": "actor.data.role" }`)
19
19
  */
20
20
  condition?: { [k: string]: any } | undefined;
21
21
  /**
@@ -10,7 +10,7 @@ export type WorkflowPreferenceRequestDto = {
10
10
  */
11
11
  enabled?: boolean | undefined;
12
12
  /**
13
- * Optional JSON Logic condition evaluated against the trigger payload at fan-out time (for example, `{ "var": "payload.tier" }`)
13
+ * Optional JSON Logic condition evaluated at fan-out time against trigger payload, subscriber profile, actor, and context (for example, `{ "var": "payload.tier" }`, `{ "var": "subscriber.data.plan" }`, or `{ "var": "actor.data.role" }`)
14
14
  */
15
15
  condition?: { [k: string]: any } | undefined;
16
16
  /**