@novu/api 3.14.3 → 3.15.0

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.
Files changed (163) hide show
  1. package/README.md +30 -30
  2. package/funcs/activityTrack.d.ts +1 -1
  3. package/funcs/activityTrack.js +1 -1
  4. package/funcs/environmentVariablesCreate.d.ts +1 -1
  5. package/funcs/environmentVariablesCreate.js +1 -1
  6. package/funcs/environmentVariablesDelete.d.ts +2 -2
  7. package/funcs/environmentVariablesDelete.d.ts.map +1 -1
  8. package/funcs/environmentVariablesDelete.js +7 -7
  9. package/funcs/environmentVariablesDelete.js.map +1 -1
  10. package/funcs/environmentVariablesList.d.ts +1 -1
  11. package/funcs/environmentVariablesList.js +1 -1
  12. package/funcs/environmentVariablesRetrieve.d.ts +2 -2
  13. package/funcs/environmentVariablesRetrieve.d.ts.map +1 -1
  14. package/funcs/environmentVariablesRetrieve.js +7 -7
  15. package/funcs/environmentVariablesRetrieve.js.map +1 -1
  16. package/funcs/environmentVariablesUpdate.d.ts +2 -2
  17. package/funcs/environmentVariablesUpdate.d.ts.map +1 -1
  18. package/funcs/environmentVariablesUpdate.js +7 -7
  19. package/funcs/environmentVariablesUpdate.js.map +1 -1
  20. package/funcs/environmentVariablesUsage.d.ts +3 -3
  21. package/funcs/environmentVariablesUsage.d.ts.map +1 -1
  22. package/funcs/environmentVariablesUsage.js +8 -8
  23. package/funcs/environmentVariablesUsage.js.map +1 -1
  24. package/funcs/subscribersNotificationsArchive.d.ts +2 -2
  25. package/funcs/subscribersNotificationsArchive.js +2 -2
  26. package/funcs/subscribersNotificationsArchiveAll.d.ts +1 -1
  27. package/funcs/subscribersNotificationsArchiveAll.js +1 -1
  28. package/funcs/subscribersNotificationsArchiveAllRead.d.ts +1 -1
  29. package/funcs/subscribersNotificationsArchiveAllRead.js +1 -1
  30. package/funcs/subscribersNotificationsCompleteAction.d.ts +2 -2
  31. package/funcs/subscribersNotificationsCompleteAction.js +2 -2
  32. package/funcs/subscribersNotificationsCount.d.ts +2 -2
  33. package/funcs/subscribersNotificationsCount.js +2 -2
  34. package/funcs/subscribersNotificationsDelete.d.ts +2 -2
  35. package/funcs/subscribersNotificationsDelete.js +2 -2
  36. package/funcs/subscribersNotificationsDeleteAll.d.ts +1 -1
  37. package/funcs/subscribersNotificationsDeleteAll.js +1 -1
  38. package/funcs/subscribersNotificationsList.d.ts +1 -1
  39. package/funcs/subscribersNotificationsList.js +1 -2
  40. package/funcs/subscribersNotificationsList.js.map +1 -1
  41. package/funcs/subscribersNotificationsMarkAllAsRead.d.ts +1 -1
  42. package/funcs/subscribersNotificationsMarkAllAsRead.js +1 -1
  43. package/funcs/subscribersNotificationsMarkAsRead.d.ts +2 -2
  44. package/funcs/subscribersNotificationsMarkAsRead.js +2 -2
  45. package/funcs/subscribersNotificationsMarkAsSeen.d.ts +1 -1
  46. package/funcs/subscribersNotificationsMarkAsSeen.js +1 -1
  47. package/funcs/subscribersNotificationsMarkAsUnread.d.ts +2 -2
  48. package/funcs/subscribersNotificationsMarkAsUnread.js +2 -2
  49. package/funcs/subscribersNotificationsRevertAction.d.ts +2 -2
  50. package/funcs/subscribersNotificationsRevertAction.js +2 -2
  51. package/funcs/subscribersNotificationsSnooze.d.ts +2 -2
  52. package/funcs/subscribersNotificationsSnooze.js +2 -2
  53. package/funcs/subscribersNotificationsUnarchive.d.ts +2 -2
  54. package/funcs/subscribersNotificationsUnarchive.js +2 -2
  55. package/funcs/subscribersNotificationsUnsnooze.d.ts +2 -2
  56. package/funcs/subscribersNotificationsUnsnooze.js +2 -2
  57. package/funcs/translationsMasterUpload.js +3 -2
  58. package/funcs/translationsMasterUpload.js.map +1 -1
  59. package/funcs/translationsUpload.js +3 -2
  60. package/funcs/translationsUpload.js.map +1 -1
  61. package/funcs/workflowsStepsGeneratePreview.d.ts +1 -1
  62. package/funcs/workflowsStepsGeneratePreview.js +1 -1
  63. package/jsr.json +1 -1
  64. package/lib/config.d.ts +4 -4
  65. package/lib/config.js +4 -4
  66. package/lib/config.js.map +1 -1
  67. package/lib/encodings.d.ts +1 -0
  68. package/lib/encodings.d.ts.map +1 -1
  69. package/lib/encodings.js +7 -0
  70. package/lib/encodings.js.map +1 -1
  71. package/models/components/getchannelconnectionresponsedto.d.ts +1 -0
  72. package/models/components/getchannelconnectionresponsedto.d.ts.map +1 -1
  73. package/models/components/getchannelconnectionresponsedto.js +1 -0
  74. package/models/components/getchannelconnectionresponsedto.js.map +1 -1
  75. package/models/components/getchannelendpointresponsedto.d.ts +1 -0
  76. package/models/components/getchannelendpointresponsedto.d.ts.map +1 -1
  77. package/models/components/getchannelendpointresponsedto.js +1 -0
  78. package/models/components/getchannelendpointresponsedto.js.map +1 -1
  79. package/models/components/marksubscribernotificationsasseendto.d.ts +12 -3
  80. package/models/components/marksubscribernotificationsasseendto.d.ts.map +1 -1
  81. package/models/components/marksubscribernotificationsasseendto.js +9 -2
  82. package/models/components/marksubscribernotificationsasseendto.js.map +1 -1
  83. package/models/components/providersidenum.d.ts +1 -0
  84. package/models/components/providersidenum.d.ts.map +1 -1
  85. package/models/components/providersidenum.js +1 -0
  86. package/models/components/providersidenum.js.map +1 -1
  87. package/models/components/updateallsubscribernotificationsdto.d.ts +12 -3
  88. package/models/components/updateallsubscribernotificationsdto.d.ts.map +1 -1
  89. package/models/components/updateallsubscribernotificationsdto.js +8 -2
  90. package/models/components/updateallsubscribernotificationsdto.js.map +1 -1
  91. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts +5 -2
  92. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts.map +1 -1
  93. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js +1 -1
  94. package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js.map +1 -1
  95. package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts +5 -2
  96. package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts.map +1 -1
  97. package/models/operations/environmentvariablescontrollergetenvironmentvariable.js +1 -1
  98. package/models/operations/environmentvariablescontrollergetenvironmentvariable.js.map +1 -1
  99. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts +5 -2
  100. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts.map +1 -1
  101. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js +1 -1
  102. package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js.map +1 -1
  103. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts +5 -2
  104. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts.map +1 -1
  105. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js +1 -1
  106. package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js.map +1 -1
  107. package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts +0 -5
  108. package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts.map +1 -1
  109. package/models/operations/subscriberscontrollergetsubscribernotifications.js +0 -1
  110. package/models/operations/subscriberscontrollergetsubscribernotifications.js.map +1 -1
  111. package/package.json +1 -1
  112. package/sdk/activity.d.ts +1 -1
  113. package/sdk/activity.js +1 -1
  114. package/sdk/environmentvariables.d.ts +11 -11
  115. package/sdk/environmentvariables.d.ts.map +1 -1
  116. package/sdk/environmentvariables.js +15 -15
  117. package/sdk/environmentvariables.js.map +1 -1
  118. package/sdk/novunotifications.d.ts +26 -26
  119. package/sdk/novunotifications.js +26 -26
  120. package/sdk/steps.d.ts +1 -1
  121. package/sdk/steps.js +1 -1
  122. package/src/funcs/activityTrack.ts +1 -1
  123. package/src/funcs/environmentVariablesCreate.ts +1 -1
  124. package/src/funcs/environmentVariablesDelete.ts +9 -7
  125. package/src/funcs/environmentVariablesList.ts +1 -1
  126. package/src/funcs/environmentVariablesRetrieve.ts +9 -7
  127. package/src/funcs/environmentVariablesUpdate.ts +9 -7
  128. package/src/funcs/environmentVariablesUsage.ts +8 -8
  129. package/src/funcs/subscribersNotificationsArchive.ts +2 -2
  130. package/src/funcs/subscribersNotificationsArchiveAll.ts +1 -1
  131. package/src/funcs/subscribersNotificationsArchiveAllRead.ts +1 -1
  132. package/src/funcs/subscribersNotificationsCompleteAction.ts +2 -2
  133. package/src/funcs/subscribersNotificationsCount.ts +2 -2
  134. package/src/funcs/subscribersNotificationsDelete.ts +2 -2
  135. package/src/funcs/subscribersNotificationsDeleteAll.ts +1 -1
  136. package/src/funcs/subscribersNotificationsList.ts +1 -2
  137. package/src/funcs/subscribersNotificationsMarkAllAsRead.ts +1 -1
  138. package/src/funcs/subscribersNotificationsMarkAsRead.ts +2 -2
  139. package/src/funcs/subscribersNotificationsMarkAsSeen.ts +1 -1
  140. package/src/funcs/subscribersNotificationsMarkAsUnread.ts +2 -2
  141. package/src/funcs/subscribersNotificationsRevertAction.ts +2 -2
  142. package/src/funcs/subscribersNotificationsSnooze.ts +2 -2
  143. package/src/funcs/subscribersNotificationsUnarchive.ts +2 -2
  144. package/src/funcs/subscribersNotificationsUnsnooze.ts +2 -2
  145. package/src/funcs/translationsMasterUpload.ts +4 -3
  146. package/src/funcs/translationsUpload.ts +4 -3
  147. package/src/funcs/workflowsStepsGeneratePreview.ts +1 -1
  148. package/src/lib/config.ts +4 -4
  149. package/src/lib/encodings.ts +9 -0
  150. package/src/models/components/getchannelconnectionresponsedto.ts +1 -0
  151. package/src/models/components/getchannelendpointresponsedto.ts +1 -0
  152. package/src/models/components/marksubscribernotificationsasseendto.ts +31 -4
  153. package/src/models/components/providersidenum.ts +1 -0
  154. package/src/models/components/updateallsubscribernotificationsdto.ts +20 -4
  155. package/src/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.ts +6 -3
  156. package/src/models/operations/environmentvariablescontrollergetenvironmentvariable.ts +6 -3
  157. package/src/models/operations/environmentvariablescontrollergetenvironmentvariableusage.ts +6 -3
  158. package/src/models/operations/environmentvariablescontrollerupdateenvironmentvariable.ts +6 -3
  159. package/src/models/operations/subscriberscontrollergetsubscribernotifications.ts +0 -6
  160. package/src/sdk/activity.ts +1 -1
  161. package/src/sdk/environmentvariables.ts +15 -15
  162. package/src/sdk/novunotifications.ts +26 -26
  163. package/src/sdk/steps.ts +1 -1
@@ -10,7 +10,10 @@ import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type EnvironmentVariablesControllerGetEnvironmentVariableRequest = {
13
- variableId: string;
13
+ /**
14
+ * The unique key of the environment variable (e.g. BASE_URL)
15
+ */
16
+ variableKey: string;
14
17
  /**
15
18
  * A header for idempotency purposes
16
19
  */
@@ -25,7 +28,7 @@ export type EnvironmentVariablesControllerGetEnvironmentVariableResponse = {
25
28
  /** @internal */
26
29
  export type EnvironmentVariablesControllerGetEnvironmentVariableRequest$Outbound =
27
30
  {
28
- variableId: string;
31
+ variableKey: string;
29
32
  "idempotency-key"?: string | undefined;
30
33
  };
31
34
 
@@ -36,7 +39,7 @@ export const EnvironmentVariablesControllerGetEnvironmentVariableRequest$outboun
36
39
  z.ZodTypeDef,
37
40
  EnvironmentVariablesControllerGetEnvironmentVariableRequest
38
41
  > = z.object({
39
- variableId: z.string(),
42
+ variableKey: z.string(),
40
43
  idempotencyKey: z.string().optional(),
41
44
  }).transform((v) => {
42
45
  return remap$(v, {
@@ -10,7 +10,10 @@ import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type EnvironmentVariablesControllerGetEnvironmentVariableUsageRequest = {
13
- variableId: string;
13
+ /**
14
+ * The unique key of the environment variable (e.g. BASE_URL)
15
+ */
16
+ variableKey: string;
14
17
  /**
15
18
  * A header for idempotency purposes
16
19
  */
@@ -26,7 +29,7 @@ export type EnvironmentVariablesControllerGetEnvironmentVariableUsageResponse =
26
29
  /** @internal */
27
30
  export type EnvironmentVariablesControllerGetEnvironmentVariableUsageRequest$Outbound =
28
31
  {
29
- variableId: string;
32
+ variableKey: string;
30
33
  "idempotency-key"?: string | undefined;
31
34
  };
32
35
 
@@ -37,7 +40,7 @@ export const EnvironmentVariablesControllerGetEnvironmentVariableUsageRequest$ou
37
40
  z.ZodTypeDef,
38
41
  EnvironmentVariablesControllerGetEnvironmentVariableUsageRequest
39
42
  > = z.object({
40
- variableId: z.string(),
43
+ variableKey: z.string(),
41
44
  idempotencyKey: z.string().optional(),
42
45
  }).transform((v) => {
43
46
  return remap$(v, {
@@ -10,7 +10,10 @@ import * as components from "../components/index.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type EnvironmentVariablesControllerUpdateEnvironmentVariableRequest = {
13
- variableId: string;
13
+ /**
14
+ * The unique key of the environment variable (e.g. BASE_URL)
15
+ */
16
+ variableKey: string;
14
17
  /**
15
18
  * A header for idempotency purposes
16
19
  */
@@ -27,7 +30,7 @@ export type EnvironmentVariablesControllerUpdateEnvironmentVariableResponse = {
27
30
  /** @internal */
28
31
  export type EnvironmentVariablesControllerUpdateEnvironmentVariableRequest$Outbound =
29
32
  {
30
- variableId: string;
33
+ variableKey: string;
31
34
  "idempotency-key"?: string | undefined;
32
35
  UpdateEnvironmentVariableRequestDto:
33
36
  components.UpdateEnvironmentVariableRequestDto$Outbound;
@@ -40,7 +43,7 @@ export const EnvironmentVariablesControllerUpdateEnvironmentVariableRequest$outb
40
43
  z.ZodTypeDef,
41
44
  EnvironmentVariablesControllerUpdateEnvironmentVariableRequest
42
45
  > = z.object({
43
- variableId: z.string(),
46
+ variableKey: z.string(),
44
47
  idempotencyKey: z.string().optional(),
45
48
  updateEnvironmentVariableRequestDto:
46
49
  components.UpdateEnvironmentVariableRequestDto$outboundSchema,
@@ -26,10 +26,6 @@ export type SubscribersControllerGetSubscriberNotificationsRequest = {
26
26
  limit?: number | undefined;
27
27
  after?: string | undefined;
28
28
  offset?: number | undefined;
29
- /**
30
- * Filter by workflow tags
31
- */
32
- tags?: Array<string> | undefined;
33
29
  /**
34
30
  * Filter by read/unread state
35
31
  */
@@ -87,7 +83,6 @@ export type SubscribersControllerGetSubscriberNotificationsRequest$Outbound = {
87
83
  limit: number;
88
84
  after?: string | undefined;
89
85
  offset?: number | undefined;
90
- tags?: Array<string> | undefined;
91
86
  read?: boolean | undefined;
92
87
  archived?: boolean | undefined;
93
88
  snoozed?: boolean | undefined;
@@ -111,7 +106,6 @@ export const SubscribersControllerGetSubscriberNotificationsRequest$outboundSche
111
106
  limit: z.number().default(10),
112
107
  after: z.string().optional(),
113
108
  offset: z.number().optional(),
114
- tags: z.array(z.string()).optional(),
115
109
  read: z.boolean().optional(),
116
110
  archived: z.boolean().optional(),
117
111
  snoozed: z.boolean().optional(),
@@ -10,7 +10,7 @@ import { unwrapAsync } from "../types/fp.js";
10
10
 
11
11
  export class Activity extends ClientSDK {
12
12
  /**
13
- * Track activity and engagement events
13
+ * Track provider activity and engagement events
14
14
  *
15
15
  * @remarks
16
16
  * Track activity and engagement events for a specific delivery provider
@@ -15,7 +15,7 @@ import { unwrapAsync } from "../types/fp.js";
15
15
 
16
16
  export class EnvironmentVariables extends ClientSDK {
17
17
  /**
18
- * List environment variables
18
+ * List all variables
19
19
  *
20
20
  * @remarks
21
21
  * Returns all environment variables for the current organization. Secret values are masked.
@@ -36,7 +36,7 @@ export class EnvironmentVariables extends ClientSDK {
36
36
  }
37
37
 
38
38
  /**
39
- * Create environment variable
39
+ * Create a variable
40
40
  *
41
41
  * @remarks
42
42
  * Creates a new environment variable. Keys must be uppercase with underscores only (e.g. BASE_URL). Secret variables are encrypted at rest and masked in API responses.
@@ -61,10 +61,10 @@ export class EnvironmentVariables extends ClientSDK {
61
61
  * Get environment variable
62
62
  *
63
63
  * @remarks
64
- * Returns a single environment variable by id. Secret values are masked.
64
+ * Returns a single environment variable by key. Secret values are masked.
65
65
  */
66
66
  async retrieve(
67
- variableId: string,
67
+ variableKey: string,
68
68
  idempotencyKey?: string | undefined,
69
69
  options?: RequestOptions,
70
70
  ): Promise<
@@ -72,14 +72,14 @@ export class EnvironmentVariables extends ClientSDK {
72
72
  > {
73
73
  return unwrapAsync(environmentVariablesRetrieve(
74
74
  this,
75
- variableId,
75
+ variableKey,
76
76
  idempotencyKey,
77
77
  options,
78
78
  ));
79
79
  }
80
80
 
81
81
  /**
82
- * Update environment variable
82
+ * Update a variable
83
83
  *
84
84
  * @remarks
85
85
  * Updates an existing environment variable. Providing values replaces all existing per-environment values.
@@ -87,7 +87,7 @@ export class EnvironmentVariables extends ClientSDK {
87
87
  async update(
88
88
  updateEnvironmentVariableRequestDto:
89
89
  components.UpdateEnvironmentVariableRequestDto,
90
- variableId: string,
90
+ variableKey: string,
91
91
  idempotencyKey?: string | undefined,
92
92
  options?: RequestOptions,
93
93
  ): Promise<
@@ -96,7 +96,7 @@ export class EnvironmentVariables extends ClientSDK {
96
96
  return unwrapAsync(environmentVariablesUpdate(
97
97
  this,
98
98
  updateEnvironmentVariableRequestDto,
99
- variableId,
99
+ variableKey,
100
100
  idempotencyKey,
101
101
  options,
102
102
  ));
@@ -106,10 +106,10 @@ export class EnvironmentVariables extends ClientSDK {
106
106
  * Delete environment variable
107
107
  *
108
108
  * @remarks
109
- * Deletes an environment variable by id.
109
+ * Deletes an environment variable by key.
110
110
  */
111
111
  async delete(
112
- variableId: string,
112
+ variableKey: string,
113
113
  idempotencyKey?: string | undefined,
114
114
  options?: RequestOptions,
115
115
  ): Promise<
@@ -118,20 +118,20 @@ export class EnvironmentVariables extends ClientSDK {
118
118
  > {
119
119
  return unwrapAsync(environmentVariablesDelete(
120
120
  this,
121
- variableId,
121
+ variableKey,
122
122
  idempotencyKey,
123
123
  options,
124
124
  ));
125
125
  }
126
126
 
127
127
  /**
128
- * Get environment variable usage
128
+ * Retrieve a variable usage
129
129
  *
130
130
  * @remarks
131
- * Returns the workflows that reference this environment variable via {{env.KEY}} in their step controls.
131
+ * Returns the workflows that reference this environment variable via `{{env.KEY}}` in their step controls. **variableId** is required.
132
132
  */
133
133
  async usage(
134
- variableId: string,
134
+ variableKey: string,
135
135
  idempotencyKey?: string | undefined,
136
136
  options?: RequestOptions,
137
137
  ): Promise<
@@ -139,7 +139,7 @@ export class EnvironmentVariables extends ClientSDK {
139
139
  > {
140
140
  return unwrapAsync(environmentVariablesUsage(
141
141
  this,
142
- variableId,
142
+ variableKey,
143
143
  idempotencyKey,
144
144
  options,
145
145
  ));
@@ -30,7 +30,7 @@ export class NovuNotifications extends ClientSDK {
30
30
  * Retrieve subscriber notifications
31
31
  *
32
32
  * @remarks
33
- * Retrieve in-app notifications for a subscriber by its unique key identifier **subscriberId**.
33
+ * Retrieve in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**.
34
34
  * Supports filtering by tags, read/archived/snoozed/seen state, data attributes, severity, date range, and context keys.
35
35
  */
36
36
  async list(
@@ -47,10 +47,10 @@ export class NovuNotifications extends ClientSDK {
47
47
  }
48
48
 
49
49
  /**
50
- * Delete notification
50
+ * Delete a notification
51
51
  *
52
52
  * @remarks
53
- * Delete a specific notification by its unique identifier **notificationId**.
53
+ * Delete a specific in-app (inbox) notification permanently by its unique identifier **notificationId**.
54
54
  */
55
55
  async delete(
56
56
  request: operations.SubscribersControllerDeleteNotificationRequest,
@@ -66,10 +66,10 @@ export class NovuNotifications extends ClientSDK {
66
66
  }
67
67
 
68
68
  /**
69
- * Complete notification action
69
+ * Complete a notification action
70
70
  *
71
71
  * @remarks
72
- * Mark a notification action (primary or secondary) as completed by its unique identifier **notificationId** and action type.
72
+ * Mark a single in-app (inbox) notification's action (primary or secondary) as completed by its unique identifier **notificationId** and action type **actionType**.
73
73
  */
74
74
  async completeAction(
75
75
  request: operations.SubscribersControllerCompleteNotificationActionRequest,
@@ -85,10 +85,10 @@ export class NovuNotifications extends ClientSDK {
85
85
  }
86
86
 
87
87
  /**
88
- * Revert notification action
88
+ * Revert a notification action
89
89
  *
90
90
  * @remarks
91
- * Revert a notification action (primary or secondary) to pending state by its unique identifier **notificationId** and action type.
91
+ * Revert a single in-app (inbox) notification's action (primary or secondary) to pending state by its unique identifier **notificationId** and action type **actionType**.
92
92
  */
93
93
  async revertAction(
94
94
  request: operations.SubscribersControllerRevertNotificationActionRequest,
@@ -102,10 +102,10 @@ export class NovuNotifications extends ClientSDK {
102
102
  }
103
103
 
104
104
  /**
105
- * Archive notification
105
+ * Archive a notification
106
106
  *
107
107
  * @remarks
108
- * Archive a specific notification by its unique identifier **notificationId**.
108
+ * Archive a specific in-app (inbox) notification by its unique identifier **notificationId**.
109
109
  */
110
110
  async archive(
111
111
  request: operations.SubscribersControllerArchiveNotificationRequest,
@@ -119,10 +119,10 @@ export class NovuNotifications extends ClientSDK {
119
119
  }
120
120
 
121
121
  /**
122
- * Mark notification as read
122
+ * Mark a notification as read
123
123
  *
124
124
  * @remarks
125
- * Mark a specific notification as read by its unique identifier **notificationId**.
125
+ * Mark a specific in-app (inbox) notification as read by its unique identifier **notificationId**.
126
126
  */
127
127
  async markAsRead(
128
128
  request: operations.SubscribersControllerMarkNotificationAsReadRequest,
@@ -136,10 +136,10 @@ export class NovuNotifications extends ClientSDK {
136
136
  }
137
137
 
138
138
  /**
139
- * Snooze notification
139
+ * Snooze a notification
140
140
  *
141
141
  * @remarks
142
- * Snooze a specific notification by its unique identifier **notificationId** until a specified time.
142
+ * Snooze a specific in-app (inbox) notification by its unique identifier **notificationId** until a specified time.
143
143
  */
144
144
  async snooze(
145
145
  request: operations.SubscribersControllerSnoozeNotificationRequest,
@@ -153,10 +153,10 @@ export class NovuNotifications extends ClientSDK {
153
153
  }
154
154
 
155
155
  /**
156
- * Unarchive notification
156
+ * Unarchive a notification
157
157
  *
158
158
  * @remarks
159
- * Unarchive a specific notification by its unique identifier **notificationId**.
159
+ * Unarchive a specific in-app (inbox) notification by its unique identifier **notificationId**.
160
160
  */
161
161
  async unarchive(
162
162
  request: operations.SubscribersControllerUnarchiveNotificationRequest,
@@ -170,10 +170,10 @@ export class NovuNotifications extends ClientSDK {
170
170
  }
171
171
 
172
172
  /**
173
- * Mark notification as unread
173
+ * Mark a notification as unread
174
174
  *
175
175
  * @remarks
176
- * Mark a specific notification as unread by its unique identifier **notificationId**.
176
+ * Mark a specific in-app (inbox) notification as unread by its unique identifier **notificationId**.
177
177
  */
178
178
  async markAsUnread(
179
179
  request: operations.SubscribersControllerMarkNotificationAsUnreadRequest,
@@ -187,10 +187,10 @@ export class NovuNotifications extends ClientSDK {
187
187
  }
188
188
 
189
189
  /**
190
- * Unsnooze notification
190
+ * Unsnooze a notification
191
191
  *
192
192
  * @remarks
193
- * Unsnooze a specific notification by its unique identifier **notificationId**.
193
+ * Unsnooze a specific in-app (inbox) notification by its unique identifier **notificationId**.
194
194
  */
195
195
  async unsnooze(
196
196
  request: operations.SubscribersControllerUnsnoozeNotificationRequest,
@@ -207,7 +207,7 @@ export class NovuNotifications extends ClientSDK {
207
207
  * Archive all notifications
208
208
  *
209
209
  * @remarks
210
- * Archive all notifications matching the specified filters. Supports context-based filtering.
210
+ * Archive all in-app (inbox) notifications matching the specified filters. Supports context-based filtering.
211
211
  */
212
212
  async archiveAll(
213
213
  updateAllSubscriberNotificationsDto:
@@ -231,8 +231,8 @@ export class NovuNotifications extends ClientSDK {
231
231
  * Retrieve subscriber notifications count
232
232
  *
233
233
  * @remarks
234
- * Retrieve count of notifications for a subscriber by its unique key identifier **subscriberId**.
235
- * Supports multiple filters to count notifications by different criteria, including context keys.
234
+ * Retrieve count of in-app (inbox) notifications for a subscriber by its unique key identifier **subscriberId**.
235
+ * Supports multiple filters to count in-app (inbox) notifications by different criteria, including context keys.
236
236
  */
237
237
  async count(
238
238
  subscriberId: string,
@@ -255,7 +255,7 @@ export class NovuNotifications extends ClientSDK {
255
255
  * Delete all notifications
256
256
  *
257
257
  * @remarks
258
- * Delete all notifications matching the specified filters. Supports context-based filtering.
258
+ * Permanently delete all in-app (inbox) notifications matching the specified filters. Supports context-based filtering.
259
259
  */
260
260
  async deleteAll(
261
261
  updateAllSubscriberNotificationsDto:
@@ -279,7 +279,7 @@ export class NovuNotifications extends ClientSDK {
279
279
  * Mark all notifications as read
280
280
  *
281
281
  * @remarks
282
- * Mark all notifications matching the specified filters as read. Supports context-based filtering.
282
+ * Mark all in-app (inbox) notifications matching the specified filters as read. Supports context-based filtering.
283
283
  */
284
284
  async markAllAsRead(
285
285
  updateAllSubscriberNotificationsDto:
@@ -304,7 +304,7 @@ export class NovuNotifications extends ClientSDK {
304
304
  * Archive all read notifications
305
305
  *
306
306
  * @remarks
307
- * Archive all read notifications matching the specified filters. Supports context-based filtering.
307
+ * Archive all read in-app (inbox) notifications matching the specified filters. Supports context-based filtering.
308
308
  */
309
309
  async archiveAllRead(
310
310
  updateAllSubscriberNotificationsDto:
@@ -329,7 +329,7 @@ export class NovuNotifications extends ClientSDK {
329
329
  * Mark notifications as seen
330
330
  *
331
331
  * @remarks
332
- * Mark specific notifications or notifications matching filters as seen. Supports context-based filtering.
332
+ * Mark specific and multiple in-app (inbox) notifications as seen. Supports context-based filtering.
333
333
  */
334
334
  async markAsSeen(
335
335
  markSubscriberNotificationsAsSeenDto:
package/src/sdk/steps.ts CHANGED
@@ -10,7 +10,7 @@ import { unwrapAsync } from "../types/fp.js";
10
10
 
11
11
  export class Steps extends ClientSDK {
12
12
  /**
13
- * Generate step preview
13
+ * Generate a step preview
14
14
  *
15
15
  * @remarks
16
16
  * Generates a preview for a specific workflow step by its unique identifier **stepId**