@novu/api 0.1.6 → 0.2.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 (216) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +14 -31
  3. package/docs/sdks/authentication/README.md +4 -4
  4. package/docs/sdks/credentials/README.md +6 -6
  5. package/docs/sdks/integrations/README.md +12 -12
  6. package/docs/sdks/messages/README.md +6 -6
  7. package/docs/sdks/notifications/README.md +4 -4
  8. package/docs/sdks/novu/README.md +8 -8
  9. package/docs/sdks/novumessages/README.md +6 -6
  10. package/docs/sdks/novunotifications/README.md +4 -4
  11. package/docs/sdks/novusubscribers/README.md +6 -6
  12. package/docs/sdks/preferences/README.md +9 -260
  13. package/docs/sdks/properties/README.md +2 -2
  14. package/docs/sdks/stats/README.md +4 -4
  15. package/docs/sdks/subscribers/README.md +50 -322
  16. package/docs/sdks/topics/README.md +10 -10
  17. package/docs/sdks/webhooks/README.md +2 -2
  18. package/funcs/subscribersCreate.d.ts +2 -2
  19. package/funcs/subscribersCreate.d.ts.map +1 -1
  20. package/funcs/subscribersCreate.js +5 -5
  21. package/funcs/subscribersCreate.js.map +1 -1
  22. package/funcs/{subscribersPreferencesRetrieve.d.ts → subscribersPreferencesList.d.ts} +2 -2
  23. package/funcs/subscribersPreferencesList.d.ts.map +1 -0
  24. package/funcs/{subscribersPreferencesRetrieve.js → subscribersPreferencesList.js} +4 -4
  25. package/funcs/subscribersPreferencesList.js.map +1 -0
  26. package/jsr.json +1 -1
  27. package/lib/config.d.ts +3 -3
  28. package/lib/config.js +3 -3
  29. package/models/components/index.d.ts +0 -14
  30. package/models/components/index.d.ts.map +1 -1
  31. package/models/components/index.js +0 -14
  32. package/models/components/index.js.map +1 -1
  33. package/models/components/subscriberresponsedto.d.ts +5 -0
  34. package/models/components/subscriberresponsedto.d.ts.map +1 -1
  35. package/models/components/subscriberresponsedto.js +2 -0
  36. package/models/components/subscriberresponsedto.js.map +1 -1
  37. package/models/operations/index.d.ts +1 -8
  38. package/models/operations/index.d.ts.map +1 -1
  39. package/models/operations/index.js +1 -8
  40. package/models/operations/index.js.map +1 -1
  41. package/models/operations/subscriberscontrollercreatesubscriber.d.ts +66 -0
  42. package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +1 -0
  43. package/models/operations/subscriberscontrollercreatesubscriber.js +112 -0
  44. package/models/operations/subscriberscontrollercreatesubscriber.js.map +1 -0
  45. package/package.json +1 -1
  46. package/sdk/preferences.d.ts +1 -20
  47. package/sdk/preferences.d.ts.map +1 -1
  48. package/sdk/preferences.js +3 -32
  49. package/sdk/preferences.js.map +1 -1
  50. package/sdk/subscribers.d.ts +9 -32
  51. package/sdk/subscribers.d.ts.map +1 -1
  52. package/sdk/subscribers.js +12 -44
  53. package/sdk/subscribers.js.map +1 -1
  54. package/sources/json-development.json +2313 -6112
  55. package/src/funcs/subscribersCreate.ts +9 -9
  56. package/src/funcs/{subscribersPreferencesRetrieve.ts → subscribersPreferencesList.ts} +1 -1
  57. package/src/lib/config.ts +3 -3
  58. package/src/models/components/index.ts +0 -14
  59. package/src/models/components/subscriberresponsedto.ts +7 -0
  60. package/src/models/operations/index.ts +1 -8
  61. package/src/models/operations/subscriberscontrollercreatesubscriber.ts +185 -0
  62. package/src/sdk/preferences.ts +3 -70
  63. package/src/sdk/subscribers.ts +24 -90
  64. package/docs/sdks/legacy/README.md +0 -86
  65. package/funcs/subscribersDeleteLegacy.d.ts +0 -18
  66. package/funcs/subscribersDeleteLegacy.d.ts.map +0 -1
  67. package/funcs/subscribersDeleteLegacy.js +0 -141
  68. package/funcs/subscribersDeleteLegacy.js.map +0 -1
  69. package/funcs/subscribersPreferencesLegacyUpdateGlobal.d.ts +0 -14
  70. package/funcs/subscribersPreferencesLegacyUpdateGlobal.d.ts.map +0 -1
  71. package/funcs/subscribersPreferencesLegacyUpdateGlobal.js +0 -140
  72. package/funcs/subscribersPreferencesLegacyUpdateGlobal.js.map +0 -1
  73. package/funcs/subscribersPreferencesListLegacy.d.ts +0 -15
  74. package/funcs/subscribersPreferencesListLegacy.d.ts.map +0 -1
  75. package/funcs/subscribersPreferencesListLegacy.js +0 -145
  76. package/funcs/subscribersPreferencesListLegacy.js.map +0 -1
  77. package/funcs/subscribersPreferencesRetrieve.d.ts.map +0 -1
  78. package/funcs/subscribersPreferencesRetrieve.js.map +0 -1
  79. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.d.ts +0 -15
  80. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.d.ts.map +0 -1
  81. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.js +0 -144
  82. package/funcs/subscribersPreferencesRetrieveByLevelLegacy.js.map +0 -1
  83. package/funcs/subscribersPreferencesUpdateLegacy.d.ts +0 -13
  84. package/funcs/subscribersPreferencesUpdateLegacy.d.ts.map +0 -1
  85. package/funcs/subscribersPreferencesUpdateLegacy.js +0 -139
  86. package/funcs/subscribersPreferencesUpdateLegacy.js.map +0 -1
  87. package/funcs/subscribersRetrieveLegacy.d.ts +0 -16
  88. package/funcs/subscribersRetrieveLegacy.d.ts.map +0 -1
  89. package/funcs/subscribersRetrieveLegacy.js +0 -144
  90. package/funcs/subscribersRetrieveLegacy.js.map +0 -1
  91. package/funcs/subscribersUpdateLegacy.d.ts +0 -17
  92. package/funcs/subscribersUpdateLegacy.d.ts.map +0 -1
  93. package/funcs/subscribersUpdateLegacy.js +0 -143
  94. package/funcs/subscribersUpdateLegacy.js.map +0 -1
  95. package/models/components/channelpreference.d.ts +0 -38
  96. package/models/components/channelpreference.d.ts.map +0 -1
  97. package/models/components/channelpreference.js +0 -62
  98. package/models/components/channelpreference.js.map +0 -1
  99. package/models/components/deletesubscriberresponsedto.d.ts +0 -66
  100. package/models/components/deletesubscriberresponsedto.d.ts.map +0 -1
  101. package/models/components/deletesubscriberresponsedto.js +0 -82
  102. package/models/components/deletesubscriberresponsedto.js.map +0 -1
  103. package/models/components/getsubscriberpreferencesresponsedto.d.ts +0 -39
  104. package/models/components/getsubscriberpreferencesresponsedto.d.ts.map +0 -1
  105. package/models/components/getsubscriberpreferencesresponsedto.js +0 -63
  106. package/models/components/getsubscriberpreferencesresponsedto.js.map +0 -1
  107. package/models/components/notificationtriggerresponse.d.ts +0 -55
  108. package/models/components/notificationtriggerresponse.d.ts.map +0 -1
  109. package/models/components/notificationtriggerresponse.js +0 -72
  110. package/models/components/notificationtriggerresponse.js.map +0 -1
  111. package/models/components/notificationtriggervariableresponse.d.ts +0 -101
  112. package/models/components/notificationtriggervariableresponse.d.ts.map +0 -1
  113. package/models/components/notificationtriggervariableresponse.js +0 -112
  114. package/models/components/notificationtriggervariableresponse.js.map +0 -1
  115. package/models/components/preference.d.ts +0 -38
  116. package/models/components/preference.d.ts.map +0 -1
  117. package/models/components/preference.js +0 -62
  118. package/models/components/preference.js.map +0 -1
  119. package/models/components/templateresponse.d.ts +0 -48
  120. package/models/components/templateresponse.d.ts.map +0 -1
  121. package/models/components/templateresponse.js +0 -75
  122. package/models/components/templateresponse.js.map +0 -1
  123. package/models/components/triggerreservedvariableresponse.d.ts +0 -69
  124. package/models/components/triggerreservedvariableresponse.d.ts.map +0 -1
  125. package/models/components/triggerreservedvariableresponse.js +0 -83
  126. package/models/components/triggerreservedvariableresponse.js.map +0 -1
  127. package/models/components/triggertypeenum.d.ts +0 -31
  128. package/models/components/triggertypeenum.d.ts.map +0 -1
  129. package/models/components/triggertypeenum.js +0 -52
  130. package/models/components/triggertypeenum.js.map +0 -1
  131. package/models/components/updatesubscriberglobalpreferencesrequestdto.d.ts +0 -38
  132. package/models/components/updatesubscriberglobalpreferencesrequestdto.d.ts.map +0 -1
  133. package/models/components/updatesubscriberglobalpreferencesrequestdto.js +0 -62
  134. package/models/components/updatesubscriberglobalpreferencesrequestdto.js.map +0 -1
  135. package/models/components/updatesubscriberpreferenceglobalresponsedto.d.ts +0 -33
  136. package/models/components/updatesubscriberpreferenceglobalresponsedto.d.ts.map +0 -1
  137. package/models/components/updatesubscriberpreferenceglobalresponsedto.js +0 -60
  138. package/models/components/updatesubscriberpreferenceglobalresponsedto.js.map +0 -1
  139. package/models/components/updatesubscriberpreferencerequestdto.d.ts +0 -38
  140. package/models/components/updatesubscriberpreferencerequestdto.d.ts.map +0 -1
  141. package/models/components/updatesubscriberpreferencerequestdto.js +0 -62
  142. package/models/components/updatesubscriberpreferencerequestdto.js.map +0 -1
  143. package/models/components/updatesubscriberpreferenceresponsedto.d.ts +0 -39
  144. package/models/components/updatesubscriberpreferenceresponsedto.d.ts.map +0 -1
  145. package/models/components/updatesubscriberpreferenceresponsedto.js +0 -63
  146. package/models/components/updatesubscriberpreferenceresponsedto.js.map +0 -1
  147. package/models/components/updatesubscriberrequestdto.d.ts +0 -72
  148. package/models/components/updatesubscriberrequestdto.d.ts.map +0 -1
  149. package/models/components/updatesubscriberrequestdto.js +0 -74
  150. package/models/components/updatesubscriberrequestdto.js.map +0 -1
  151. package/models/operations/subscribersv1controllercreatesubscriber.d.ts +0 -66
  152. package/models/operations/subscribersv1controllercreatesubscriber.d.ts.map +0 -1
  153. package/models/operations/subscribersv1controllercreatesubscriber.js +0 -112
  154. package/models/operations/subscribersv1controllercreatesubscriber.js.map +0 -1
  155. package/models/operations/subscribersv1controllergetsubscriber.d.ts +0 -71
  156. package/models/operations/subscribersv1controllergetsubscriber.d.ts.map +0 -1
  157. package/models/operations/subscribersv1controllergetsubscriber.js +0 -112
  158. package/models/operations/subscribersv1controllergetsubscriber.js.map +0 -1
  159. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts +0 -108
  160. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts.map +0 -1
  161. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js +0 -141
  162. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js.map +0 -1
  163. package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts +0 -71
  164. package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts.map +0 -1
  165. package/models/operations/subscribersv1controllerlistsubscriberpreferences.js +0 -116
  166. package/models/operations/subscribersv1controllerlistsubscriberpreferences.js.map +0 -1
  167. package/models/operations/subscribersv1controllerremovesubscriber.d.ts +0 -66
  168. package/models/operations/subscribersv1controllerremovesubscriber.d.ts.map +0 -1
  169. package/models/operations/subscribersv1controllerremovesubscriber.js +0 -110
  170. package/models/operations/subscribersv1controllerremovesubscriber.js.map +0 -1
  171. package/models/operations/subscribersv1controllerupdatesubscriber.d.ts +0 -68
  172. package/models/operations/subscribersv1controllerupdatesubscriber.d.ts.map +0 -1
  173. package/models/operations/subscribersv1controllerupdatesubscriber.js +0 -114
  174. package/models/operations/subscribersv1controllerupdatesubscriber.js.map +0 -1
  175. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts +0 -68
  176. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts.map +0 -1
  177. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js +0 -118
  178. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js.map +0 -1
  179. package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts +0 -70
  180. package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts.map +0 -1
  181. package/models/operations/subscribersv1controllerupdatesubscriberpreference.js +0 -120
  182. package/models/operations/subscribersv1controllerupdatesubscriberpreference.js.map +0 -1
  183. package/sdk/legacy.d.ts +0 -10
  184. package/sdk/legacy.d.ts.map +0 -1
  185. package/sdk/legacy.js +0 -19
  186. package/sdk/legacy.js.map +0 -1
  187. package/src/funcs/subscribersDeleteLegacy.ts +0 -200
  188. package/src/funcs/subscribersPreferencesLegacyUpdateGlobal.ts +0 -211
  189. package/src/funcs/subscribersPreferencesListLegacy.ts +0 -209
  190. package/src/funcs/subscribersPreferencesRetrieveByLevelLegacy.ts +0 -205
  191. package/src/funcs/subscribersPreferencesUpdateLegacy.ts +0 -202
  192. package/src/funcs/subscribersRetrieveLegacy.ts +0 -205
  193. package/src/funcs/subscribersUpdateLegacy.ts +0 -204
  194. package/src/models/components/channelpreference.ts +0 -81
  195. package/src/models/components/deletesubscriberresponsedto.ts +0 -114
  196. package/src/models/components/getsubscriberpreferencesresponsedto.ts +0 -93
  197. package/src/models/components/notificationtriggerresponse.ts +0 -126
  198. package/src/models/components/notificationtriggervariableresponse.ts +0 -193
  199. package/src/models/components/preference.ts +0 -78
  200. package/src/models/components/templateresponse.ts +0 -105
  201. package/src/models/components/triggerreservedvariableresponse.ts +0 -116
  202. package/src/models/components/triggertypeenum.ts +0 -38
  203. package/src/models/components/updatesubscriberglobalpreferencesrequestdto.ts +0 -95
  204. package/src/models/components/updatesubscriberpreferenceglobalresponsedto.ts +0 -88
  205. package/src/models/components/updatesubscriberpreferencerequestdto.ts +0 -87
  206. package/src/models/components/updatesubscriberpreferenceresponsedto.ts +0 -93
  207. package/src/models/components/updatesubscriberrequestdto.ts +0 -124
  208. package/src/models/operations/subscribersv1controllercreatesubscriber.ts +0 -187
  209. package/src/models/operations/subscribersv1controllergetsubscriber.ts +0 -188
  210. package/src/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.ts +0 -231
  211. package/src/models/operations/subscribersv1controllerlistsubscriberpreferences.ts +0 -191
  212. package/src/models/operations/subscribersv1controllerremovesubscriber.ts +0 -183
  213. package/src/models/operations/subscribersv1controllerupdatesubscriber.ts +0 -191
  214. package/src/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.ts +0 -195
  215. package/src/models/operations/subscribersv1controllerupdatesubscriberpreference.ts +0 -197
  216. package/src/sdk/legacy.ts +0 -32
package/FUNCTIONS.md CHANGED
@@ -26,7 +26,7 @@ import { SDKValidationError } from "@novu/api/models/errors/sdkvalidationerror.j
26
26
  // Use `NovuCore` for best tree-shaking performance.
27
27
  // You can create one instance of it to use across an application.
28
28
  const novu = new NovuCore({
29
- secretKey: "<YOUR_API_KEY_HERE>",
29
+ secretKey: "YOUR_SECRET_KEY_HERE",
30
30
  });
31
31
 
32
32
  async function run() {
package/README.md CHANGED
@@ -83,7 +83,7 @@ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md).
83
83
  import { Novu } from "@novu/api";
84
84
 
85
85
  const novu = new Novu({
86
- secretKey: "<YOUR_API_KEY_HERE>",
86
+ secretKey: "YOUR_SECRET_KEY_HERE",
87
87
  });
88
88
 
89
89
  async function run() {
@@ -121,7 +121,7 @@ run();
121
121
  import { Novu } from "@novu/api";
122
122
 
123
123
  const novu = new Novu({
124
- secretKey: "<YOUR_API_KEY_HERE>",
124
+ secretKey: "YOUR_SECRET_KEY_HERE",
125
125
  });
126
126
 
127
127
  async function run() {
@@ -205,7 +205,7 @@ run();
205
205
  import { Novu } from "@novu/api";
206
206
 
207
207
  const novu = new Novu({
208
- secretKey: "<YOUR_API_KEY_HERE>",
208
+ secretKey: "YOUR_SECRET_KEY_HERE",
209
209
  });
210
210
 
211
211
  async function run() {
@@ -233,7 +233,7 @@ run();
233
233
  import { Novu } from "@novu/api";
234
234
 
235
235
  const novu = new Novu({
236
- secretKey: "<YOUR_API_KEY_HERE>",
236
+ secretKey: "YOUR_SECRET_KEY_HERE",
237
237
  });
238
238
 
239
239
  async function run() {
@@ -293,12 +293,9 @@ run();
293
293
  ### [subscribers](docs/sdks/subscribers/README.md)
294
294
 
295
295
  * [list](docs/sdks/subscribers/README.md#list) - Get subscribers
296
- * [create](docs/sdks/subscribers/README.md#create) - Create subscriber
297
- * [retrieveLegacy](docs/sdks/subscribers/README.md#retrievelegacy) - Get subscriber
298
- * [updateLegacy](docs/sdks/subscribers/README.md#updatelegacy) - Update subscriber
299
- * [~~deleteLegacy~~](docs/sdks/subscribers/README.md#deletelegacy) - Delete subscriber :warning: **Deprecated**
300
296
  * [createBulk](docs/sdks/subscribers/README.md#createbulk) - Bulk create subscribers
301
297
  * [search](docs/sdks/subscribers/README.md#search) - Search for subscribers
298
+ * [create](docs/sdks/subscribers/README.md#create) - Create subscriber
302
299
  * [retrieve](docs/sdks/subscribers/README.md#retrieve) - Get subscriber
303
300
  * [patch](docs/sdks/subscribers/README.md#patch) - Patch subscriber
304
301
  * [delete](docs/sdks/subscribers/README.md#delete) - Delete subscriber
@@ -327,16 +324,9 @@ run();
327
324
 
328
325
  #### [subscribers.preferences](docs/sdks/preferences/README.md)
329
326
 
330
- * [~~listLegacy~~](docs/sdks/preferences/README.md#listlegacy) - Get subscriber preferences :warning: **Deprecated**
331
- * [~~retrieveByLevelLegacy~~](docs/sdks/preferences/README.md#retrievebylevellegacy) - Get subscriber preferences by level :warning: **Deprecated**
332
- * [updateLegacy](docs/sdks/preferences/README.md#updatelegacy) - Update subscriber preference
333
- * [retrieve](docs/sdks/preferences/README.md#retrieve) - Get subscriber preferences
327
+ * [list](docs/sdks/preferences/README.md#list) - Get subscriber preferences
334
328
  * [update](docs/sdks/preferences/README.md#update) - Update subscriber global or workflow specific preferences
335
329
 
336
- #### [subscribers.preferences.legacy](docs/sdks/legacy/README.md)
337
-
338
- * [updateGlobal](docs/sdks/legacy/README.md#updateglobal) - Update subscriber global preferences
339
-
340
330
  #### [subscribers.properties](docs/sdks/properties/README.md)
341
331
 
342
332
  * [updateOnlineFlag](docs/sdks/properties/README.md#updateonlineflag) - Update subscriber online status
@@ -403,15 +393,11 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
403
393
  - [`subscribersNotificationsFeed`](docs/sdks/novunotifications/README.md#feed) - Get in-app notification feed for a particular subscriber
404
394
  - [`subscribersNotificationsUnseenCount`](docs/sdks/novunotifications/README.md#unseencount) - Get the unseen in-app notifications count for subscribers feed
405
395
  - [`subscribersPatch`](docs/sdks/subscribers/README.md#patch) - Patch subscriber
406
- - [`subscribersPreferencesLegacyUpdateGlobal`](docs/sdks/legacy/README.md#updateglobal) - Update subscriber global preferences
407
- - [`subscribersPreferencesRetrieve`](docs/sdks/preferences/README.md#retrieve) - Get subscriber preferences
396
+ - [`subscribersPreferencesList`](docs/sdks/preferences/README.md#list) - Get subscriber preferences
408
397
  - [`subscribersPreferencesUpdate`](docs/sdks/preferences/README.md#update) - Update subscriber global or workflow specific preferences
409
- - [`subscribersPreferencesUpdateLegacy`](docs/sdks/preferences/README.md#updatelegacy) - Update subscriber preference
410
398
  - [`subscribersPropertiesUpdateOnlineFlag`](docs/sdks/properties/README.md#updateonlineflag) - Update subscriber online status
411
399
  - [`subscribersRetrieve`](docs/sdks/subscribers/README.md#retrieve) - Get subscriber
412
- - [`subscribersRetrieveLegacy`](docs/sdks/subscribers/README.md#retrievelegacy) - Get subscriber
413
400
  - [`subscribersSearch`](docs/sdks/subscribers/README.md#search) - Search for subscribers
414
- - [`subscribersUpdateLegacy`](docs/sdks/subscribers/README.md#updatelegacy) - Update subscriber
415
401
  - [`topicsCreate`](docs/sdks/topics/README.md#create) - Topic creation
416
402
  - [`topicsDelete`](docs/sdks/topics/README.md#delete) - Delete topic
417
403
  - [`topicsList`](docs/sdks/topics/README.md#list) - Get topic list filtered
@@ -423,9 +409,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
423
409
  - [`trigger`](docs/sdks/novu/README.md#trigger) - Trigger event
424
410
  - [`triggerBroadcast`](docs/sdks/novu/README.md#triggerbroadcast) - Broadcast event to all
425
411
  - [`triggerBulk`](docs/sdks/novu/README.md#triggerbulk) - Bulk trigger event
426
- - ~~[`subscribersDeleteLegacy`](docs/sdks/subscribers/README.md#deletelegacy)~~ - Delete subscriber :warning: **Deprecated**
427
- - ~~[`subscribersPreferencesListLegacy`](docs/sdks/preferences/README.md#listlegacy)~~ - Get subscriber preferences :warning: **Deprecated**
428
- - ~~[`subscribersPreferencesRetrieveByLevelLegacy`](docs/sdks/preferences/README.md#retrievebylevellegacy)~~ - Get subscriber preferences by level :warning: **Deprecated**
429
412
 
430
413
  </details>
431
414
  <!-- End Standalone functions [standalone-funcs] -->
@@ -446,7 +429,7 @@ Here's an example of one such pagination call:
446
429
  import { Novu } from "@novu/api";
447
430
 
448
431
  const novu = new Novu({
449
- secretKey: "<YOUR_API_KEY_HERE>",
432
+ secretKey: "YOUR_SECRET_KEY_HERE",
450
433
  });
451
434
 
452
435
  async function run() {
@@ -487,7 +470,7 @@ import {
487
470
  } from "@novu/api/models/errors";
488
471
 
489
472
  const novu = new Novu({
490
- secretKey: "<YOUR_API_KEY_HERE>",
473
+ secretKey: "YOUR_SECRET_KEY_HERE",
491
474
  });
492
475
 
493
476
  async function run() {
@@ -589,7 +572,7 @@ import { Novu } from "@novu/api";
589
572
 
590
573
  const novu = new Novu({
591
574
  serverIdx: 1,
592
- secretKey: "<YOUR_API_KEY_HERE>",
575
+ secretKey: "YOUR_SECRET_KEY_HERE",
593
576
  });
594
577
 
595
578
  async function run() {
@@ -629,7 +612,7 @@ import { Novu } from "@novu/api";
629
612
 
630
613
  const novu = new Novu({
631
614
  serverURL: "https://api.novu.co",
632
- secretKey: "<YOUR_API_KEY_HERE>",
615
+ secretKey: "YOUR_SECRET_KEY_HERE",
633
616
  });
634
617
 
635
618
  async function run() {
@@ -727,7 +710,7 @@ To authenticate with the API the `secretKey` parameter must be set when initiali
727
710
  import { Novu } from "@novu/api";
728
711
 
729
712
  const novu = new Novu({
730
- secretKey: "<YOUR_API_KEY_HERE>",
713
+ secretKey: "YOUR_SECRET_KEY_HERE",
731
714
  });
732
715
 
733
716
  async function run() {
@@ -770,7 +753,7 @@ To change the default retry strategy for a single API call, simply provide a ret
770
753
  import { Novu } from "@novu/api";
771
754
 
772
755
  const novu = new Novu({
773
- secretKey: "<YOUR_API_KEY_HERE>",
756
+ secretKey: "YOUR_SECRET_KEY_HERE",
774
757
  });
775
758
 
776
759
  async function run() {
@@ -828,7 +811,7 @@ const novu = new Novu({
828
811
  },
829
812
  retryConnectionErrors: false,
830
813
  },
831
- secretKey: "<YOUR_API_KEY_HERE>",
814
+ secretKey: "YOUR_SECRET_KEY_HERE",
832
815
  });
833
816
 
834
817
  async function run() {
@@ -18,7 +18,7 @@ Handle providers oauth redirect
18
18
  import { Novu } from "@novu/api";
19
19
 
20
20
  const novu = new Novu({
21
- secretKey: "<YOUR_API_KEY_HERE>",
21
+ secretKey: "YOUR_SECRET_KEY_HERE",
22
22
  });
23
23
 
24
24
  async function run() {
@@ -48,7 +48,7 @@ import { subscribersAuthenticationChatAccessOauthCallBack } from "@novu/api/func
48
48
  // Use `NovuCore` for best tree-shaking performance.
49
49
  // You can create one instance of it to use across an application.
50
50
  const novu = new NovuCore({
51
- secretKey: "<YOUR_API_KEY_HERE>",
51
+ secretKey: "YOUR_SECRET_KEY_HERE",
52
52
  });
53
53
 
54
54
  async function run() {
@@ -106,7 +106,7 @@ Handle chat oauth
106
106
  import { Novu } from "@novu/api";
107
107
 
108
108
  const novu = new Novu({
109
- secretKey: "<YOUR_API_KEY_HERE>",
109
+ secretKey: "YOUR_SECRET_KEY_HERE",
110
110
  });
111
111
 
112
112
  async function run() {
@@ -135,7 +135,7 @@ import { subscribersAuthenticationChatAccessOauth } from "@novu/api/funcs/subscr
135
135
  // Use `NovuCore` for best tree-shaking performance.
136
136
  // You can create one instance of it to use across an application.
137
137
  const novu = new NovuCore({
138
- secretKey: "<YOUR_API_KEY_HERE>",
138
+ secretKey: "YOUR_SECRET_KEY_HERE",
139
139
  });
140
140
 
141
141
  async function run() {
@@ -19,7 +19,7 @@ Subscriber credentials associated to the delivery methods such as slack and push
19
19
  import { Novu } from "@novu/api";
20
20
 
21
21
  const novu = new Novu({
22
- secretKey: "<YOUR_API_KEY_HERE>",
22
+ secretKey: "YOUR_SECRET_KEY_HERE",
23
23
  });
24
24
 
25
25
  async function run() {
@@ -59,7 +59,7 @@ import { subscribersCredentialsUpdate } from "@novu/api/funcs/subscribersCredent
59
59
  // Use `NovuCore` for best tree-shaking performance.
60
60
  // You can create one instance of it to use across an application.
61
61
  const novu = new NovuCore({
62
- secretKey: "<YOUR_API_KEY_HERE>",
62
+ secretKey: "YOUR_SECRET_KEY_HERE",
63
63
  });
64
64
 
65
65
  async function run() {
@@ -130,7 +130,7 @@ Subscriber credentials associated to the delivery methods such as slack and push
130
130
  import { Novu } from "@novu/api";
131
131
 
132
132
  const novu = new Novu({
133
- secretKey: "<YOUR_API_KEY_HERE>",
133
+ secretKey: "YOUR_SECRET_KEY_HERE",
134
134
  });
135
135
 
136
136
  async function run() {
@@ -170,7 +170,7 @@ import { subscribersCredentialsAppend } from "@novu/api/funcs/subscribersCredent
170
170
  // Use `NovuCore` for best tree-shaking performance.
171
171
  // You can create one instance of it to use across an application.
172
172
  const novu = new NovuCore({
173
- secretKey: "<YOUR_API_KEY_HERE>",
173
+ secretKey: "YOUR_SECRET_KEY_HERE",
174
174
  });
175
175
 
176
176
  async function run() {
@@ -240,7 +240,7 @@ Delete subscriber credentials such as slack and expo tokens.
240
240
  import { Novu } from "@novu/api";
241
241
 
242
242
  const novu = new Novu({
243
- secretKey: "<YOUR_API_KEY_HERE>",
243
+ secretKey: "YOUR_SECRET_KEY_HERE",
244
244
  });
245
245
 
246
246
  async function run() {
@@ -264,7 +264,7 @@ import { subscribersCredentialsDelete } from "@novu/api/funcs/subscribersCredent
264
264
  // Use `NovuCore` for best tree-shaking performance.
265
265
  // You can create one instance of it to use across an application.
266
266
  const novu = new NovuCore({
267
- secretKey: "<YOUR_API_KEY_HERE>",
267
+ secretKey: "YOUR_SECRET_KEY_HERE",
268
268
  });
269
269
 
270
270
  async function run() {
@@ -25,7 +25,7 @@ Return all the integrations the user has created for that organization. Review v
25
25
  import { Novu } from "@novu/api";
26
26
 
27
27
  const novu = new Novu({
28
- secretKey: "<YOUR_API_KEY_HERE>",
28
+ secretKey: "YOUR_SECRET_KEY_HERE",
29
29
  });
30
30
 
31
31
  async function run() {
@@ -49,7 +49,7 @@ import { integrationsList } from "@novu/api/funcs/integrationsList.js";
49
49
  // Use `NovuCore` for best tree-shaking performance.
50
50
  // You can create one instance of it to use across an application.
51
51
  const novu = new NovuCore({
52
- secretKey: "<YOUR_API_KEY_HERE>",
52
+ secretKey: "YOUR_SECRET_KEY_HERE",
53
53
  });
54
54
 
55
55
  async function run() {
@@ -101,7 +101,7 @@ Create an integration for the current environment the user is based on the API k
101
101
  import { Novu } from "@novu/api";
102
102
 
103
103
  const novu = new Novu({
104
- secretKey: "<YOUR_API_KEY_HERE>",
104
+ secretKey: "YOUR_SECRET_KEY_HERE",
105
105
  });
106
106
 
107
107
  async function run() {
@@ -128,7 +128,7 @@ import { integrationsCreate } from "@novu/api/funcs/integrationsCreate.js";
128
128
  // Use `NovuCore` for best tree-shaking performance.
129
129
  // You can create one instance of it to use across an application.
130
130
  const novu = new NovuCore({
131
- secretKey: "<YOUR_API_KEY_HERE>",
131
+ secretKey: "YOUR_SECRET_KEY_HERE",
132
132
  });
133
133
 
134
134
  async function run() {
@@ -184,7 +184,7 @@ Return all the active integrations the user has created for that organization. R
184
184
  import { Novu } from "@novu/api";
185
185
 
186
186
  const novu = new Novu({
187
- secretKey: "<YOUR_API_KEY_HERE>",
187
+ secretKey: "YOUR_SECRET_KEY_HERE",
188
188
  });
189
189
 
190
190
  async function run() {
@@ -208,7 +208,7 @@ import { integrationsListActive } from "@novu/api/funcs/integrationsListActive.j
208
208
  // Use `NovuCore` for best tree-shaking performance.
209
209
  // You can create one instance of it to use across an application.
210
210
  const novu = new NovuCore({
211
- secretKey: "<YOUR_API_KEY_HERE>",
211
+ secretKey: "YOUR_SECRET_KEY_HERE",
212
212
  });
213
213
 
214
214
  async function run() {
@@ -260,7 +260,7 @@ Update integration
260
260
  import { Novu } from "@novu/api";
261
261
 
262
262
  const novu = new Novu({
263
- secretKey: "<YOUR_API_KEY_HERE>",
263
+ secretKey: "YOUR_SECRET_KEY_HERE",
264
264
  });
265
265
 
266
266
  async function run() {
@@ -284,7 +284,7 @@ import { integrationsUpdate } from "@novu/api/funcs/integrationsUpdate.js";
284
284
  // Use `NovuCore` for best tree-shaking performance.
285
285
  // You can create one instance of it to use across an application.
286
286
  const novu = new NovuCore({
287
- secretKey: "<YOUR_API_KEY_HERE>",
287
+ secretKey: "YOUR_SECRET_KEY_HERE",
288
288
  });
289
289
 
290
290
  async function run() {
@@ -338,7 +338,7 @@ Delete integration
338
338
  import { Novu } from "@novu/api";
339
339
 
340
340
  const novu = new Novu({
341
- secretKey: "<YOUR_API_KEY_HERE>",
341
+ secretKey: "YOUR_SECRET_KEY_HERE",
342
342
  });
343
343
 
344
344
  async function run() {
@@ -362,7 +362,7 @@ import { integrationsDelete } from "@novu/api/funcs/integrationsDelete.js";
362
362
  // Use `NovuCore` for best tree-shaking performance.
363
363
  // You can create one instance of it to use across an application.
364
364
  const novu = new NovuCore({
365
- secretKey: "<YOUR_API_KEY_HERE>",
365
+ secretKey: "YOUR_SECRET_KEY_HERE",
366
366
  });
367
367
 
368
368
  async function run() {
@@ -415,7 +415,7 @@ Set integration as primary
415
415
  import { Novu } from "@novu/api";
416
416
 
417
417
  const novu = new Novu({
418
- secretKey: "<YOUR_API_KEY_HERE>",
418
+ secretKey: "YOUR_SECRET_KEY_HERE",
419
419
  });
420
420
 
421
421
  async function run() {
@@ -439,7 +439,7 @@ import { integrationsSetAsPrimary } from "@novu/api/funcs/integrationsSetAsPrima
439
439
  // Use `NovuCore` for best tree-shaking performance.
440
440
  // You can create one instance of it to use across an application.
441
441
  const novu = new NovuCore({
442
- secretKey: "<YOUR_API_KEY_HERE>",
442
+ secretKey: "YOUR_SECRET_KEY_HERE",
443
443
  });
444
444
 
445
445
  async function run() {
@@ -22,7 +22,7 @@ Returns a list of messages, could paginate using the `page` query parameter
22
22
  import { Novu } from "@novu/api";
23
23
 
24
24
  const novu = new Novu({
25
- secretKey: "<YOUR_API_KEY_HERE>",
25
+ secretKey: "YOUR_SECRET_KEY_HERE",
26
26
  });
27
27
 
28
28
  async function run() {
@@ -46,7 +46,7 @@ import { messagesRetrieve } from "@novu/api/funcs/messagesRetrieve.js";
46
46
  // Use `NovuCore` for best tree-shaking performance.
47
47
  // You can create one instance of it to use across an application.
48
48
  const novu = new NovuCore({
49
- secretKey: "<YOUR_API_KEY_HERE>",
49
+ secretKey: "YOUR_SECRET_KEY_HERE",
50
50
  });
51
51
 
52
52
  async function run() {
@@ -98,7 +98,7 @@ Deletes a message entity from the Novu platform
98
98
  import { Novu } from "@novu/api";
99
99
 
100
100
  const novu = new Novu({
101
- secretKey: "<YOUR_API_KEY_HERE>",
101
+ secretKey: "YOUR_SECRET_KEY_HERE",
102
102
  });
103
103
 
104
104
  async function run() {
@@ -122,7 +122,7 @@ import { messagesDelete } from "@novu/api/funcs/messagesDelete.js";
122
122
  // Use `NovuCore` for best tree-shaking performance.
123
123
  // You can create one instance of it to use across an application.
124
124
  const novu = new NovuCore({
125
- secretKey: "<YOUR_API_KEY_HERE>",
125
+ secretKey: "YOUR_SECRET_KEY_HERE",
126
126
  });
127
127
 
128
128
  async function run() {
@@ -175,7 +175,7 @@ Deletes messages entity from the Novu platform using TransactionId of message
175
175
  import { Novu } from "@novu/api";
176
176
 
177
177
  const novu = new Novu({
178
- secretKey: "<YOUR_API_KEY_HERE>",
178
+ secretKey: "YOUR_SECRET_KEY_HERE",
179
179
  });
180
180
 
181
181
  async function run() {
@@ -199,7 +199,7 @@ import { messagesDeleteByTransactionId } from "@novu/api/funcs/messagesDeleteByT
199
199
  // Use `NovuCore` for best tree-shaking performance.
200
200
  // You can create one instance of it to use across an application.
201
201
  const novu = new NovuCore({
202
- secretKey: "<YOUR_API_KEY_HERE>",
202
+ secretKey: "YOUR_SECRET_KEY_HERE",
203
203
  });
204
204
 
205
205
  async function run() {
@@ -18,7 +18,7 @@ Get notifications
18
18
  import { Novu } from "@novu/api";
19
19
 
20
20
  const novu = new Novu({
21
- secretKey: "<YOUR_API_KEY_HERE>",
21
+ secretKey: "YOUR_SECRET_KEY_HERE",
22
22
  });
23
23
 
24
24
  async function run() {
@@ -42,7 +42,7 @@ import { notificationsList } from "@novu/api/funcs/notificationsList.js";
42
42
  // Use `NovuCore` for best tree-shaking performance.
43
43
  // You can create one instance of it to use across an application.
44
44
  const novu = new NovuCore({
45
- secretKey: "<YOUR_API_KEY_HERE>",
45
+ secretKey: "YOUR_SECRET_KEY_HERE",
46
46
  });
47
47
 
48
48
  async function run() {
@@ -94,7 +94,7 @@ Get notification
94
94
  import { Novu } from "@novu/api";
95
95
 
96
96
  const novu = new Novu({
97
- secretKey: "<YOUR_API_KEY_HERE>",
97
+ secretKey: "YOUR_SECRET_KEY_HERE",
98
98
  });
99
99
 
100
100
  async function run() {
@@ -118,7 +118,7 @@ import { notificationsRetrieve } from "@novu/api/funcs/notificationsRetrieve.js"
118
118
  // Use `NovuCore` for best tree-shaking performance.
119
119
  // You can create one instance of it to use across an application.
120
120
  const novu = new NovuCore({
121
- secretKey: "<YOUR_API_KEY_HERE>",
121
+ secretKey: "YOUR_SECRET_KEY_HERE",
122
122
  });
123
123
 
124
124
  async function run() {
@@ -28,7 +28,7 @@ Novu Documentation
28
28
  import { Novu } from "@novu/api";
29
29
 
30
30
  const novu = new Novu({
31
- secretKey: "<YOUR_API_KEY_HERE>",
31
+ secretKey: "YOUR_SECRET_KEY_HERE",
32
32
  });
33
33
 
34
34
  async function run() {
@@ -70,7 +70,7 @@ import { trigger } from "@novu/api/funcs/trigger.js";
70
70
  // Use `NovuCore` for best tree-shaking performance.
71
71
  // You can create one instance of it to use across an application.
72
72
  const novu = new NovuCore({
73
- secretKey: "<YOUR_API_KEY_HERE>",
73
+ secretKey: "YOUR_SECRET_KEY_HERE",
74
74
  });
75
75
 
76
76
  async function run() {
@@ -144,7 +144,7 @@ run();
144
144
  import { Novu } from "@novu/api";
145
145
 
146
146
  const novu = new Novu({
147
- secretKey: "<YOUR_API_KEY_HERE>",
147
+ secretKey: "YOUR_SECRET_KEY_HERE",
148
148
  });
149
149
 
150
150
  async function run() {
@@ -232,7 +232,7 @@ import { triggerBulk } from "@novu/api/funcs/triggerBulk.js";
232
232
  // Use `NovuCore` for best tree-shaking performance.
233
233
  // You can create one instance of it to use across an application.
234
234
  const novu = new NovuCore({
235
- secretKey: "<YOUR_API_KEY_HERE>",
235
+ secretKey: "YOUR_SECRET_KEY_HERE",
236
236
  });
237
237
 
238
238
  async function run() {
@@ -350,7 +350,7 @@ Trigger a broadcast event to all existing subscribers, could be used to send ann
350
350
  import { Novu } from "@novu/api";
351
351
 
352
352
  const novu = new Novu({
353
- secretKey: "<YOUR_API_KEY_HERE>",
353
+ secretKey: "YOUR_SECRET_KEY_HERE",
354
354
  });
355
355
 
356
356
  async function run() {
@@ -382,7 +382,7 @@ import { triggerBroadcast } from "@novu/api/funcs/triggerBroadcast.js";
382
382
  // Use `NovuCore` for best tree-shaking performance.
383
383
  // You can create one instance of it to use across an application.
384
384
  const novu = new NovuCore({
385
- secretKey: "<YOUR_API_KEY_HERE>",
385
+ secretKey: "YOUR_SECRET_KEY_HERE",
386
386
  });
387
387
 
388
388
  async function run() {
@@ -446,7 +446,7 @@ run();
446
446
  import { Novu } from "@novu/api";
447
447
 
448
448
  const novu = new Novu({
449
- secretKey: "<YOUR_API_KEY_HERE>",
449
+ secretKey: "YOUR_SECRET_KEY_HERE",
450
450
  });
451
451
 
452
452
  async function run() {
@@ -470,7 +470,7 @@ import { cancel } from "@novu/api/funcs/cancel.js";
470
470
  // Use `NovuCore` for best tree-shaking performance.
471
471
  // You can create one instance of it to use across an application.
472
472
  const novu = new NovuCore({
473
- secretKey: "<YOUR_API_KEY_HERE>",
473
+ secretKey: "YOUR_SECRET_KEY_HERE",
474
474
  });
475
475
 
476
476
  async function run() {
@@ -19,7 +19,7 @@ Mark a subscriber messages as seen, read, unseen or unread
19
19
  import { Novu } from "@novu/api";
20
20
 
21
21
  const novu = new Novu({
22
- secretKey: "<YOUR_API_KEY_HERE>",
22
+ secretKey: "YOUR_SECRET_KEY_HERE",
23
23
  });
24
24
 
25
25
  async function run() {
@@ -46,7 +46,7 @@ import { subscribersMessagesMarkAllAs } from "@novu/api/funcs/subscribersMessage
46
46
  // Use `NovuCore` for best tree-shaking performance.
47
47
  // You can create one instance of it to use across an application.
48
48
  const novu = new NovuCore({
49
- secretKey: "<YOUR_API_KEY_HERE>",
49
+ secretKey: "YOUR_SECRET_KEY_HERE",
50
50
  });
51
51
 
52
52
  async function run() {
@@ -103,7 +103,7 @@ Marks all the subscriber messages as read, unread, seen or unseen. Optionally yo
103
103
  import { Novu } from "@novu/api";
104
104
 
105
105
  const novu = new Novu({
106
- secretKey: "<YOUR_API_KEY_HERE>",
106
+ secretKey: "YOUR_SECRET_KEY_HERE",
107
107
  });
108
108
 
109
109
  async function run() {
@@ -129,7 +129,7 @@ import { subscribersMessagesMarkAll } from "@novu/api/funcs/subscribersMessagesM
129
129
  // Use `NovuCore` for best tree-shaking performance.
130
130
  // You can create one instance of it to use across an application.
131
131
  const novu = new NovuCore({
132
- secretKey: "<YOUR_API_KEY_HERE>",
132
+ secretKey: "YOUR_SECRET_KEY_HERE",
133
133
  });
134
134
 
135
135
  async function run() {
@@ -185,7 +185,7 @@ Mark message action as seen
185
185
  import { Novu } from "@novu/api";
186
186
 
187
187
  const novu = new Novu({
188
- secretKey: "<YOUR_API_KEY_HERE>",
188
+ secretKey: "YOUR_SECRET_KEY_HERE",
189
189
  });
190
190
 
191
191
  async function run() {
@@ -216,7 +216,7 @@ import { subscribersMessagesUpdateAsSeen } from "@novu/api/funcs/subscribersMess
216
216
  // Use `NovuCore` for best tree-shaking performance.
217
217
  // You can create one instance of it to use across an application.
218
218
  const novu = new NovuCore({
219
- secretKey: "<YOUR_API_KEY_HERE>",
219
+ secretKey: "YOUR_SECRET_KEY_HERE",
220
220
  });
221
221
 
222
222
  async function run() {
@@ -18,7 +18,7 @@ Get in-app notification feed for a particular subscriber
18
18
  import { Novu } from "@novu/api";
19
19
 
20
20
  const novu = new Novu({
21
- secretKey: "<YOUR_API_KEY_HERE>",
21
+ secretKey: "YOUR_SECRET_KEY_HERE",
22
22
  });
23
23
 
24
24
  async function run() {
@@ -45,7 +45,7 @@ import { subscribersNotificationsFeed } from "@novu/api/funcs/subscribersNotific
45
45
  // Use `NovuCore` for best tree-shaking performance.
46
46
  // You can create one instance of it to use across an application.
47
47
  const novu = new NovuCore({
48
- secretKey: "<YOUR_API_KEY_HERE>",
48
+ secretKey: "YOUR_SECRET_KEY_HERE",
49
49
  });
50
50
 
51
51
  async function run() {
@@ -100,7 +100,7 @@ Get the unseen in-app notifications count for subscribers feed
100
100
  import { Novu } from "@novu/api";
101
101
 
102
102
  const novu = new Novu({
103
- secretKey: "<YOUR_API_KEY_HERE>",
103
+ secretKey: "YOUR_SECRET_KEY_HERE",
104
104
  });
105
105
 
106
106
  async function run() {
@@ -126,7 +126,7 @@ import { subscribersNotificationsUnseenCount } from "@novu/api/funcs/subscribers
126
126
  // Use `NovuCore` for best tree-shaking performance.
127
127
  // You can create one instance of it to use across an application.
128
128
  const novu = new NovuCore({
129
- secretKey: "<YOUR_API_KEY_HERE>",
129
+ secretKey: "YOUR_SECRET_KEY_HERE",
130
130
  });
131
131
 
132
132
  async function run() {
@@ -19,7 +19,7 @@ Add subscribers to a topic by key
19
19
  import { Novu } from "@novu/api";
20
20
 
21
21
  const novu = new Novu({
22
- secretKey: "<YOUR_API_KEY_HERE>",
22
+ secretKey: "YOUR_SECRET_KEY_HERE",
23
23
  });
24
24
 
25
25
  async function run() {
@@ -49,7 +49,7 @@ import { topicsSubscribersAssign } from "@novu/api/funcs/topicsSubscribersAssign
49
49
  // Use `NovuCore` for best tree-shaking performance.
50
50
  // You can create one instance of it to use across an application.
51
51
  const novu = new NovuCore({
52
- secretKey: "<YOUR_API_KEY_HERE>",
52
+ secretKey: "YOUR_SECRET_KEY_HERE",
53
53
  });
54
54
 
55
55
  async function run() {
@@ -109,7 +109,7 @@ Check if a subscriber belongs to a certain topic
109
109
  import { Novu } from "@novu/api";
110
110
 
111
111
  const novu = new Novu({
112
- secretKey: "<YOUR_API_KEY_HERE>",
112
+ secretKey: "YOUR_SECRET_KEY_HERE",
113
113
  });
114
114
 
115
115
  async function run() {
@@ -133,7 +133,7 @@ import { topicsSubscribersRetrieve } from "@novu/api/funcs/topicsSubscribersRetr
133
133
  // Use `NovuCore` for best tree-shaking performance.
134
134
  // You can create one instance of it to use across an application.
135
135
  const novu = new NovuCore({
136
- secretKey: "<YOUR_API_KEY_HERE>",
136
+ secretKey: "YOUR_SECRET_KEY_HERE",
137
137
  });
138
138
 
139
139
  async function run() {
@@ -187,7 +187,7 @@ Remove subscribers from a topic
187
187
  import { Novu } from "@novu/api";
188
188
 
189
189
  const novu = new Novu({
190
- secretKey: "<YOUR_API_KEY_HERE>",
190
+ secretKey: "YOUR_SECRET_KEY_HERE",
191
191
  });
192
192
 
193
193
  async function run() {
@@ -216,7 +216,7 @@ import { topicsSubscribersRemove } from "@novu/api/funcs/topicsSubscribersRemove
216
216
  // Use `NovuCore` for best tree-shaking performance.
217
217
  // You can create one instance of it to use across an application.
218
218
  const novu = new NovuCore({
219
- secretKey: "<YOUR_API_KEY_HERE>",
219
+ secretKey: "YOUR_SECRET_KEY_HERE",
220
220
  });
221
221
 
222
222
  async function run() {