@novu/api 0.1.1 → 0.1.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.
Files changed (556) hide show
  1. package/FUNCTIONS.md +2 -3
  2. package/README.md +36 -42
  3. package/docs/sdks/authentication/README.md +10 -10
  4. package/docs/sdks/credentials/README.md +12 -12
  5. package/docs/sdks/integrations/README.md +18 -18
  6. package/docs/sdks/messages/README.md +9 -9
  7. package/docs/sdks/notifications/README.md +6 -6
  8. package/docs/sdks/novu/README.md +21 -179
  9. package/docs/sdks/novumessages/README.md +13 -13
  10. package/docs/sdks/novunotifications/README.md +10 -10
  11. package/docs/sdks/novusubscribers/README.md +9 -9
  12. package/docs/sdks/preferences/README.md +18 -18
  13. package/docs/sdks/properties/README.md +4 -4
  14. package/docs/sdks/stats/README.md +6 -6
  15. package/docs/sdks/subscribers/README.md +347 -33
  16. package/docs/sdks/topics/README.md +15 -15
  17. package/docs/sdks/webhooks/README.md +3 -3
  18. package/funcs/cancel.js +4 -4
  19. package/funcs/cancel.js.map +1 -1
  20. package/funcs/integrationsCreate.js +4 -4
  21. package/funcs/integrationsCreate.js.map +1 -1
  22. package/funcs/integrationsDelete.js +4 -4
  23. package/funcs/integrationsDelete.js.map +1 -1
  24. package/funcs/integrationsList.js +4 -4
  25. package/funcs/integrationsList.js.map +1 -1
  26. package/funcs/integrationsListActive.js +4 -4
  27. package/funcs/integrationsListActive.js.map +1 -1
  28. package/funcs/integrationsSetAsPrimary.js +4 -4
  29. package/funcs/integrationsSetAsPrimary.js.map +1 -1
  30. package/funcs/integrationsUpdate.js +4 -4
  31. package/funcs/integrationsUpdate.js.map +1 -1
  32. package/funcs/integrationsWebhooksRetrieve.js +4 -4
  33. package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
  34. package/funcs/messagesDelete.js +4 -4
  35. package/funcs/messagesDelete.js.map +1 -1
  36. package/funcs/messagesDeleteByTransactionId.js +4 -4
  37. package/funcs/messagesDeleteByTransactionId.js.map +1 -1
  38. package/funcs/messagesRetrieve.js +4 -4
  39. package/funcs/messagesRetrieve.js.map +1 -1
  40. package/funcs/notificationsList.js +4 -4
  41. package/funcs/notificationsList.js.map +1 -1
  42. package/funcs/notificationsRetrieve.js +4 -4
  43. package/funcs/notificationsRetrieve.js.map +1 -1
  44. package/funcs/notificationsStatsGraph.js +4 -4
  45. package/funcs/notificationsStatsGraph.js.map +1 -1
  46. package/funcs/notificationsStatsRetrieve.js +4 -4
  47. package/funcs/notificationsStatsRetrieve.js.map +1 -1
  48. package/funcs/subscribersAuthenticationChatAccessOauth.d.ts +1 -1
  49. package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
  50. package/funcs/subscribersAuthenticationChatAccessOauth.js +7 -7
  51. package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
  52. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts +2 -2
  53. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
  54. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +6 -6
  55. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
  56. package/funcs/subscribersCreate.d.ts +1 -1
  57. package/funcs/subscribersCreate.d.ts.map +1 -1
  58. package/funcs/subscribersCreate.js +6 -6
  59. package/funcs/subscribersCreate.js.map +1 -1
  60. package/funcs/subscribersCreateBulk.d.ts +1 -1
  61. package/funcs/subscribersCreateBulk.d.ts.map +1 -1
  62. package/funcs/subscribersCreateBulk.js +7 -6
  63. package/funcs/subscribersCreateBulk.js.map +1 -1
  64. package/funcs/subscribersCredentialsAppend.d.ts +1 -1
  65. package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
  66. package/funcs/subscribersCredentialsAppend.js +6 -6
  67. package/funcs/subscribersCredentialsAppend.js.map +1 -1
  68. package/funcs/subscribersCredentialsDelete.d.ts +1 -1
  69. package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
  70. package/funcs/subscribersCredentialsDelete.js +7 -7
  71. package/funcs/subscribersCredentialsDelete.js.map +1 -1
  72. package/funcs/subscribersCredentialsUpdate.d.ts +1 -1
  73. package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
  74. package/funcs/subscribersCredentialsUpdate.js +6 -6
  75. package/funcs/subscribersCredentialsUpdate.js.map +1 -1
  76. package/funcs/subscribersDelete.js +5 -5
  77. package/funcs/subscribersDelete.js.map +1 -1
  78. package/funcs/subscribersDeleteLegacy.d.ts +18 -0
  79. package/funcs/subscribersDeleteLegacy.d.ts.map +1 -0
  80. package/funcs/{create.js → subscribersDeleteLegacy.js} +51 -20
  81. package/funcs/subscribersDeleteLegacy.js.map +1 -0
  82. package/funcs/subscribersList.d.ts +1 -1
  83. package/funcs/subscribersList.d.ts.map +1 -1
  84. package/funcs/subscribersList.js +6 -6
  85. package/funcs/subscribersList.js.map +1 -1
  86. package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
  87. package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
  88. package/funcs/subscribersMessagesMarkAll.js +8 -7
  89. package/funcs/subscribersMessagesMarkAll.js.map +1 -1
  90. package/funcs/subscribersMessagesMarkAllAs.d.ts +1 -1
  91. package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
  92. package/funcs/subscribersMessagesMarkAllAs.js +6 -6
  93. package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
  94. package/funcs/subscribersMessagesUpdateAsSeen.d.ts +1 -1
  95. package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
  96. package/funcs/subscribersMessagesUpdateAsSeen.js +6 -6
  97. package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
  98. package/funcs/subscribersNotificationsFeed.d.ts +1 -1
  99. package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
  100. package/funcs/subscribersNotificationsFeed.js +7 -6
  101. package/funcs/subscribersNotificationsFeed.js.map +1 -1
  102. package/funcs/subscribersNotificationsUnseenCount.d.ts +1 -1
  103. package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
  104. package/funcs/subscribersNotificationsUnseenCount.js +6 -6
  105. package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
  106. package/funcs/subscribersPatch.d.ts +17 -0
  107. package/funcs/subscribersPatch.d.ts.map +1 -0
  108. package/funcs/{supportControllerFetchUserOrganizations.js → subscribersPatch.js} +48 -16
  109. package/funcs/subscribersPatch.js.map +1 -0
  110. package/funcs/subscribersPreferencesList.d.ts +1 -1
  111. package/funcs/subscribersPreferencesList.d.ts.map +1 -1
  112. package/funcs/subscribersPreferencesList.js +6 -6
  113. package/funcs/subscribersPreferencesList.js.map +1 -1
  114. package/funcs/subscribersPreferencesRetrieveByLevel.d.ts +1 -1
  115. package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
  116. package/funcs/subscribersPreferencesRetrieveByLevel.js +6 -6
  117. package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
  118. package/funcs/subscribersPreferencesUpdate.d.ts +1 -1
  119. package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
  120. package/funcs/subscribersPreferencesUpdate.js +6 -6
  121. package/funcs/subscribersPreferencesUpdate.js.map +1 -1
  122. package/funcs/subscribersPreferencesUpdateGlobal.d.ts +1 -1
  123. package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
  124. package/funcs/subscribersPreferencesUpdateGlobal.js +6 -6
  125. package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
  126. package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
  127. package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
  128. package/funcs/subscribersPropertiesUpdateOnlineFlag.js +6 -6
  129. package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
  130. package/funcs/subscribersRetrieve.d.ts +1 -1
  131. package/funcs/subscribersRetrieve.d.ts.map +1 -1
  132. package/funcs/subscribersRetrieve.js +6 -11
  133. package/funcs/subscribersRetrieve.js.map +1 -1
  134. package/funcs/subscribersRetrieveLegacy.d.ts +16 -0
  135. package/funcs/subscribersRetrieveLegacy.d.ts.map +1 -0
  136. package/funcs/subscribersRetrieveLegacy.js +144 -0
  137. package/funcs/subscribersRetrieveLegacy.js.map +1 -0
  138. package/funcs/subscribersSearch.d.ts +13 -0
  139. package/funcs/subscribersSearch.d.ts.map +1 -0
  140. package/funcs/subscribersSearch.js +138 -0
  141. package/funcs/subscribersSearch.js.map +1 -0
  142. package/funcs/subscribersUpdate.d.ts +1 -1
  143. package/funcs/subscribersUpdate.d.ts.map +1 -1
  144. package/funcs/subscribersUpdate.js +6 -6
  145. package/funcs/subscribersUpdate.js.map +1 -1
  146. package/funcs/topicsCreate.js +4 -4
  147. package/funcs/topicsCreate.js.map +1 -1
  148. package/funcs/topicsDelete.js +4 -4
  149. package/funcs/topicsDelete.js.map +1 -1
  150. package/funcs/topicsList.js +4 -4
  151. package/funcs/topicsList.js.map +1 -1
  152. package/funcs/topicsRename.js +4 -4
  153. package/funcs/topicsRename.js.map +1 -1
  154. package/funcs/topicsRetrieve.js +4 -4
  155. package/funcs/topicsRetrieve.js.map +1 -1
  156. package/funcs/topicsSubscribersAssign.js +4 -4
  157. package/funcs/topicsSubscribersAssign.js.map +1 -1
  158. package/funcs/topicsSubscribersRemove.js +4 -4
  159. package/funcs/topicsSubscribersRemove.js.map +1 -1
  160. package/funcs/topicsSubscribersRetrieve.js +4 -4
  161. package/funcs/topicsSubscribersRetrieve.js.map +1 -1
  162. package/funcs/trigger.js +4 -4
  163. package/funcs/trigger.js.map +1 -1
  164. package/funcs/triggerBroadcast.js +4 -4
  165. package/funcs/triggerBroadcast.js.map +1 -1
  166. package/funcs/triggerBulk.js +4 -4
  167. package/funcs/triggerBulk.js.map +1 -1
  168. package/jsr.json +1 -1
  169. package/lib/config.d.ts +4 -4
  170. package/lib/config.d.ts.map +1 -1
  171. package/lib/config.js +3 -3
  172. package/lib/config.js.map +1 -1
  173. package/lib/retries.js +0 -1
  174. package/lib/retries.js.map +1 -1
  175. package/lib/security.js +1 -1
  176. package/lib/security.js.map +1 -1
  177. package/models/components/{channelsettings.d.ts → channelsettingsdto.d.ts} +22 -22
  178. package/models/components/channelsettingsdto.d.ts.map +1 -0
  179. package/models/components/{channelsettings.js → channelsettingsdto.js} +29 -29
  180. package/models/components/channelsettingsdto.js.map +1 -0
  181. package/models/components/index.d.ts +4 -4
  182. package/models/components/index.d.ts.map +1 -1
  183. package/models/components/index.js +4 -4
  184. package/models/components/index.js.map +1 -1
  185. package/models/components/listsubscribersresponsedto.d.ts +43 -0
  186. package/models/components/listsubscribersresponsedto.d.ts.map +1 -0
  187. package/models/components/listsubscribersresponsedto.js +64 -0
  188. package/models/components/listsubscribersresponsedto.js.map +1 -0
  189. package/models/components/patchsubscriberrequestdto.d.ts +96 -0
  190. package/models/components/patchsubscriberrequestdto.d.ts.map +1 -0
  191. package/models/components/patchsubscriberrequestdto.js +100 -0
  192. package/models/components/patchsubscriberrequestdto.js.map +1 -0
  193. package/models/components/removesubscriberresponsedto.d.ts +37 -0
  194. package/models/components/removesubscriberresponsedto.d.ts.map +1 -0
  195. package/models/components/removesubscriberresponsedto.js +61 -0
  196. package/models/components/removesubscriberresponsedto.js.map +1 -0
  197. package/models/components/security.d.ts +2 -2
  198. package/models/components/security.d.ts.map +1 -1
  199. package/models/components/security.js +2 -11
  200. package/models/components/security.js.map +1 -1
  201. package/models/components/subscriberresponsedto.d.ts +14 -3
  202. package/models/components/subscriberresponsedto.d.ts.map +1 -1
  203. package/models/components/subscriberresponsedto.js +5 -3
  204. package/models/components/subscriberresponsedto.js.map +1 -1
  205. package/models/components/triggereventrequestdto.d.ts +1 -12
  206. package/models/components/triggereventrequestdto.d.ts.map +1 -1
  207. package/models/components/triggereventrequestdto.js +10 -6
  208. package/models/components/triggereventrequestdto.js.map +1 -1
  209. package/models/operations/index.d.ts +23 -21
  210. package/models/operations/index.d.ts.map +1 -1
  211. package/models/operations/index.js +23 -21
  212. package/models/operations/index.js.map +1 -1
  213. package/models/operations/subscriberscontrollergetsubscriber.d.ts +0 -5
  214. package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
  215. package/models/operations/subscriberscontrollergetsubscriber.js +0 -2
  216. package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
  217. package/models/operations/subscriberscontrollerpatchsubscriber.d.ts +68 -0
  218. package/models/operations/subscriberscontrollerpatchsubscriber.d.ts.map +1 -0
  219. package/models/operations/subscriberscontrollerpatchsubscriber.js +114 -0
  220. package/models/operations/subscriberscontrollerpatchsubscriber.js.map +1 -0
  221. package/models/operations/subscriberscontrollerremovesubscriber.d.ts +2 -2
  222. package/models/operations/subscriberscontrollerremovesubscriber.js +2 -2
  223. package/models/operations/subscriberscontrollersearchsubscribers.d.ts +126 -0
  224. package/models/operations/subscriberscontrollersearchsubscribers.d.ts.map +1 -0
  225. package/models/operations/subscriberscontrollersearchsubscribers.js +145 -0
  226. package/models/operations/subscriberscontrollersearchsubscribers.js.map +1 -0
  227. package/models/operations/subscribersv1controllerbulkcreatesubscribers.d.ts +66 -0
  228. package/models/operations/subscribersv1controllerbulkcreatesubscribers.d.ts.map +1 -0
  229. package/models/operations/subscribersv1controllerbulkcreatesubscribers.js +112 -0
  230. package/models/operations/subscribersv1controllerbulkcreatesubscribers.js.map +1 -0
  231. package/models/operations/subscribersv1controllerchataccessoauth.d.ts +80 -0
  232. package/models/operations/subscribersv1controllerchataccessoauth.d.ts.map +1 -0
  233. package/models/operations/subscribersv1controllerchataccessoauth.js +113 -0
  234. package/models/operations/subscribersv1controllerchataccessoauth.js.map +1 -0
  235. package/models/operations/subscribersv1controllerchatoauthcallback.d.ts +108 -0
  236. package/models/operations/subscribersv1controllerchatoauthcallback.d.ts.map +1 -0
  237. package/models/operations/subscribersv1controllerchatoauthcallback.js +143 -0
  238. package/models/operations/subscribersv1controllerchatoauthcallback.js.map +1 -0
  239. package/models/operations/subscribersv1controllercreatesubscriber.d.ts +66 -0
  240. package/models/operations/subscribersv1controllercreatesubscriber.d.ts.map +1 -0
  241. package/models/operations/subscribersv1controllercreatesubscriber.js +112 -0
  242. package/models/operations/subscribersv1controllercreatesubscriber.js.map +1 -0
  243. package/models/operations/subscribersv1controllerdeletesubscribercredentials.d.ts +65 -0
  244. package/models/operations/subscribersv1controllerdeletesubscribercredentials.d.ts.map +1 -0
  245. package/models/operations/subscribersv1controllerdeletesubscribercredentials.js +111 -0
  246. package/models/operations/subscribersv1controllerdeletesubscribercredentials.js.map +1 -0
  247. package/models/operations/subscribersv1controllergetnotificationsfeed.d.ts +79 -0
  248. package/models/operations/subscribersv1controllergetnotificationsfeed.d.ts.map +1 -0
  249. package/models/operations/subscribersv1controllergetnotificationsfeed.js +120 -0
  250. package/models/operations/subscribersv1controllergetnotificationsfeed.js.map +1 -0
  251. package/models/operations/subscribersv1controllergetsubscriber.d.ts +71 -0
  252. package/models/operations/subscribersv1controllergetsubscriber.d.ts.map +1 -0
  253. package/models/operations/subscribersv1controllergetsubscriber.js +112 -0
  254. package/models/operations/subscribersv1controllergetsubscriber.js.map +1 -0
  255. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts +108 -0
  256. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts.map +1 -0
  257. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js +141 -0
  258. package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js.map +1 -0
  259. package/models/operations/subscribersv1controllergetunseencount.d.ts +76 -0
  260. package/models/operations/subscribersv1controllergetunseencount.d.ts.map +1 -0
  261. package/models/operations/subscribersv1controllergetunseencount.js +114 -0
  262. package/models/operations/subscribersv1controllergetunseencount.js.map +1 -0
  263. package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts +71 -0
  264. package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts.map +1 -0
  265. package/models/operations/subscribersv1controllerlistsubscriberpreferences.js +116 -0
  266. package/models/operations/subscribersv1controllerlistsubscriberpreferences.js.map +1 -0
  267. package/models/operations/subscribersv1controllerlistsubscribers.d.ts +108 -0
  268. package/models/operations/subscribersv1controllerlistsubscribers.d.ts.map +1 -0
  269. package/models/operations/subscribersv1controllerlistsubscribers.js +145 -0
  270. package/models/operations/subscribersv1controllerlistsubscribers.js.map +1 -0
  271. package/models/operations/subscribersv1controllermarkactionasseen.d.ts +72 -0
  272. package/models/operations/subscribersv1controllermarkactionasseen.d.ts.map +1 -0
  273. package/models/operations/subscribersv1controllermarkactionasseen.js +118 -0
  274. package/models/operations/subscribersv1controllermarkactionasseen.js.map +1 -0
  275. package/models/operations/subscribersv1controllermarkallunreadasread.d.ts +68 -0
  276. package/models/operations/subscribersv1controllermarkallunreadasread.d.ts.map +1 -0
  277. package/models/operations/subscribersv1controllermarkallunreadasread.js +114 -0
  278. package/models/operations/subscribersv1controllermarkallunreadasread.js.map +1 -0
  279. package/models/operations/subscribersv1controllermarkmessagesas.d.ts +68 -0
  280. package/models/operations/subscribersv1controllermarkmessagesas.d.ts.map +1 -0
  281. package/models/operations/subscribersv1controllermarkmessagesas.js +114 -0
  282. package/models/operations/subscribersv1controllermarkmessagesas.js.map +1 -0
  283. package/models/operations/subscribersv1controllermodifysubscriberchannel.d.ts +68 -0
  284. package/models/operations/subscribersv1controllermodifysubscriberchannel.d.ts.map +1 -0
  285. package/models/operations/subscribersv1controllermodifysubscriberchannel.js +115 -0
  286. package/models/operations/subscribersv1controllermodifysubscriberchannel.js.map +1 -0
  287. package/models/operations/subscribersv1controllerremovesubscriber.d.ts +66 -0
  288. package/models/operations/subscribersv1controllerremovesubscriber.d.ts.map +1 -0
  289. package/models/operations/subscribersv1controllerremovesubscriber.js +110 -0
  290. package/models/operations/subscribersv1controllerremovesubscriber.js.map +1 -0
  291. package/models/operations/subscribersv1controllerupdatesubscriber.d.ts +68 -0
  292. package/models/operations/subscribersv1controllerupdatesubscriber.d.ts.map +1 -0
  293. package/models/operations/subscribersv1controllerupdatesubscriber.js +114 -0
  294. package/models/operations/subscribersv1controllerupdatesubscriber.js.map +1 -0
  295. package/models/operations/subscribersv1controllerupdatesubscriberchannel.d.ts +68 -0
  296. package/models/operations/subscribersv1controllerupdatesubscriberchannel.d.ts.map +1 -0
  297. package/models/operations/subscribersv1controllerupdatesubscriberchannel.js +115 -0
  298. package/models/operations/subscribersv1controllerupdatesubscriberchannel.js.map +1 -0
  299. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts +68 -0
  300. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts.map +1 -0
  301. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js +118 -0
  302. package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js.map +1 -0
  303. package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.d.ts +68 -0
  304. package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.d.ts.map +1 -0
  305. package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.js +118 -0
  306. package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.js.map +1 -0
  307. package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts +70 -0
  308. package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts.map +1 -0
  309. package/models/operations/subscribersv1controllerupdatesubscriberpreference.js +120 -0
  310. package/models/operations/subscribersv1controllerupdatesubscriberpreference.js.map +1 -0
  311. package/package.json +6 -7
  312. package/sdk/authentication.d.ts +3 -3
  313. package/sdk/authentication.d.ts.map +1 -1
  314. package/sdk/authentication.js.map +1 -1
  315. package/sdk/credentials.d.ts +3 -3
  316. package/sdk/credentials.d.ts.map +1 -1
  317. package/sdk/credentials.js.map +1 -1
  318. package/sdk/novumessages.d.ts +3 -3
  319. package/sdk/novumessages.d.ts.map +1 -1
  320. package/sdk/novumessages.js.map +1 -1
  321. package/sdk/novunotifications.d.ts +2 -2
  322. package/sdk/novunotifications.d.ts.map +1 -1
  323. package/sdk/novunotifications.js.map +1 -1
  324. package/sdk/preferences.d.ts +4 -4
  325. package/sdk/preferences.d.ts.map +1 -1
  326. package/sdk/preferences.js.map +1 -1
  327. package/sdk/properties.d.ts +1 -1
  328. package/sdk/properties.d.ts.map +1 -1
  329. package/sdk/sdk.d.ts +0 -8
  330. package/sdk/sdk.d.ts.map +1 -1
  331. package/sdk/sdk.js +0 -14
  332. package/sdk/sdk.js.map +1 -1
  333. package/sdk/subscribers.d.ts +33 -6
  334. package/sdk/subscribers.d.ts.map +1 -1
  335. package/sdk/subscribers.js +43 -4
  336. package/sdk/subscribers.js.map +1 -1
  337. package/sources/json-development.json +2327 -344
  338. package/src/funcs/cancel.ts +4 -4
  339. package/src/funcs/integrationsCreate.ts +4 -4
  340. package/src/funcs/integrationsDelete.ts +4 -4
  341. package/src/funcs/integrationsList.ts +4 -4
  342. package/src/funcs/integrationsListActive.ts +4 -4
  343. package/src/funcs/integrationsSetAsPrimary.ts +5 -5
  344. package/src/funcs/integrationsUpdate.ts +5 -5
  345. package/src/funcs/integrationsWebhooksRetrieve.ts +4 -4
  346. package/src/funcs/messagesDelete.ts +4 -4
  347. package/src/funcs/messagesDeleteByTransactionId.ts +4 -4
  348. package/src/funcs/messagesRetrieve.ts +4 -4
  349. package/src/funcs/notificationsList.ts +4 -4
  350. package/src/funcs/notificationsRetrieve.ts +4 -4
  351. package/src/funcs/notificationsStatsGraph.ts +4 -4
  352. package/src/funcs/notificationsStatsRetrieve.ts +4 -4
  353. package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +10 -10
  354. package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +11 -11
  355. package/src/funcs/subscribersCreate.ts +10 -10
  356. package/src/funcs/subscribersCreateBulk.ts +15 -15
  357. package/src/funcs/subscribersCredentialsAppend.ts +11 -11
  358. package/src/funcs/subscribersCredentialsDelete.ts +10 -10
  359. package/src/funcs/subscribersCredentialsUpdate.ts +11 -11
  360. package/src/funcs/subscribersDelete.ts +5 -5
  361. package/src/funcs/subscribersDeleteLegacy.ts +200 -0
  362. package/src/funcs/subscribersList.ts +11 -11
  363. package/src/funcs/subscribersMessagesMarkAll.ts +14 -11
  364. package/src/funcs/subscribersMessagesMarkAllAs.ts +10 -10
  365. package/src/funcs/subscribersMessagesUpdateAsSeen.ts +10 -10
  366. package/src/funcs/subscribersNotificationsFeed.ts +11 -10
  367. package/src/funcs/subscribersNotificationsUnseenCount.ts +10 -10
  368. package/src/funcs/{supportControllerFetchUserOrganizations.ts → subscribersPatch.ts} +73 -19
  369. package/src/funcs/subscribersPreferencesList.ts +10 -10
  370. package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +10 -10
  371. package/src/funcs/subscribersPreferencesUpdate.ts +10 -10
  372. package/src/funcs/subscribersPreferencesUpdateGlobal.ts +16 -15
  373. package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +10 -10
  374. package/src/funcs/subscribersRetrieve.ts +6 -13
  375. package/src/funcs/subscribersRetrieveLegacy.ts +205 -0
  376. package/src/funcs/{create.ts → subscribersSearch.ts} +78 -31
  377. package/src/funcs/subscribersUpdate.ts +10 -10
  378. package/src/funcs/topicsCreate.ts +4 -4
  379. package/src/funcs/topicsDelete.ts +4 -4
  380. package/src/funcs/topicsList.ts +4 -4
  381. package/src/funcs/topicsRename.ts +4 -4
  382. package/src/funcs/topicsRetrieve.ts +4 -4
  383. package/src/funcs/topicsSubscribersAssign.ts +4 -4
  384. package/src/funcs/topicsSubscribersRemove.ts +4 -4
  385. package/src/funcs/topicsSubscribersRetrieve.ts +4 -4
  386. package/src/funcs/trigger.ts +4 -4
  387. package/src/funcs/triggerBroadcast.ts +4 -4
  388. package/src/funcs/triggerBulk.ts +4 -4
  389. package/src/lib/config.ts +4 -4
  390. package/src/lib/retries.ts +0 -1
  391. package/src/lib/security.ts +1 -1
  392. package/src/models/components/{channelsettings.ts → channelsettingsdto.ts} +40 -38
  393. package/src/models/components/index.ts +4 -4
  394. package/src/models/components/listsubscribersresponsedto.ts +89 -0
  395. package/src/models/components/patchsubscriberrequestdto.ts +182 -0
  396. package/src/models/components/removesubscriberresponsedto.ts +78 -0
  397. package/src/models/components/security.ts +4 -13
  398. package/src/models/components/subscriberresponsedto.ts +18 -9
  399. package/src/models/components/triggereventrequestdto.ts +11 -22
  400. package/src/models/operations/index.ts +23 -21
  401. package/src/models/operations/subscriberscontrollergetsubscriber.ts +0 -7
  402. package/src/models/operations/subscriberscontrollerpatchsubscriber.ts +189 -0
  403. package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
  404. package/src/models/operations/subscriberscontrollersearchsubscribers.ts +260 -0
  405. package/src/models/operations/subscribersv1controllerbulkcreatesubscribers.ts +185 -0
  406. package/src/models/operations/{subscriberscontrollerchataccessoauth.ts → subscribersv1controllerchataccessoauth.ts} +47 -46
  407. package/src/models/operations/subscribersv1controllerchatoauthcallback.ts +281 -0
  408. package/src/models/operations/subscribersv1controllercreatesubscriber.ts +187 -0
  409. package/src/models/operations/subscribersv1controllerdeletesubscribercredentials.ts +178 -0
  410. package/src/models/operations/{subscriberscontrollergetnotificationsfeed.ts → subscribersv1controllergetnotificationsfeed.ts} +46 -46
  411. package/src/models/operations/subscribersv1controllergetsubscriber.ts +188 -0
  412. package/src/models/operations/{subscriberscontrollergetsubscriberpreferencebylevel.ts → subscribersv1controllergetsubscriberpreferencebylevel.ts} +46 -46
  413. package/src/models/operations/subscribersv1controllergetunseencount.ts +195 -0
  414. package/src/models/operations/subscribersv1controllerlistsubscriberpreferences.ts +191 -0
  415. package/src/models/operations/subscribersv1controllerlistsubscribers.ts +283 -0
  416. package/src/models/operations/{subscriberscontrollermarkactionasseen.ts → subscribersv1controllermarkactionasseen.ts} +48 -46
  417. package/src/models/operations/subscribersv1controllermarkallunreadasread.ts +191 -0
  418. package/src/models/operations/subscribersv1controllermarkmessagesas.ts +187 -0
  419. package/src/models/operations/subscribersv1controllermodifysubscriberchannel.ts +192 -0
  420. package/src/models/operations/subscribersv1controllerremovesubscriber.ts +183 -0
  421. package/src/models/operations/{subscriberscontrollerupdatesubscriber.ts → subscribersv1controllerupdatesubscriber.ts} +48 -46
  422. package/src/models/operations/subscribersv1controllerupdatesubscriberchannel.ts +192 -0
  423. package/src/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.ts +195 -0
  424. package/src/models/operations/subscribersv1controllerupdatesubscriberonlineflag.ts +193 -0
  425. package/src/models/operations/subscribersv1controllerupdatesubscriberpreference.ts +197 -0
  426. package/src/sdk/authentication.ts +4 -4
  427. package/src/sdk/credentials.ts +7 -3
  428. package/src/sdk/novumessages.ts +4 -4
  429. package/src/sdk/novunotifications.ts +4 -4
  430. package/src/sdk/preferences.ts +7 -6
  431. package/src/sdk/properties.ts +1 -1
  432. package/src/sdk/sdk.ts +0 -34
  433. package/src/sdk/subscribers.ts +89 -10
  434. package/funcs/create.d.ts +0 -9
  435. package/funcs/create.d.ts.map +0 -1
  436. package/funcs/create.js.map +0 -1
  437. package/funcs/supportControllerFetchUserOrganizations.d.ts +0 -10
  438. package/funcs/supportControllerFetchUserOrganizations.d.ts.map +0 -1
  439. package/funcs/supportControllerFetchUserOrganizations.js.map +0 -1
  440. package/models/components/channelsettings.d.ts.map +0 -1
  441. package/models/components/channelsettings.js.map +0 -1
  442. package/models/components/createsupportthreaddto.d.ts +0 -29
  443. package/models/components/createsupportthreaddto.d.ts.map +0 -1
  444. package/models/components/createsupportthreaddto.js +0 -59
  445. package/models/components/createsupportthreaddto.js.map +0 -1
  446. package/models/components/plaincardrequestdto.d.ts +0 -100
  447. package/models/components/plaincardrequestdto.d.ts.map +0 -1
  448. package/models/components/plaincardrequestdto.js +0 -139
  449. package/models/components/plaincardrequestdto.js.map +0 -1
  450. package/models/components/workflowtostepcontrolvaluesdto.d.ts +0 -40
  451. package/models/components/workflowtostepcontrolvaluesdto.d.ts.map +0 -1
  452. package/models/components/workflowtostepcontrolvaluesdto.js +0 -59
  453. package/models/components/workflowtostepcontrolvaluesdto.js.map +0 -1
  454. package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +0 -66
  455. package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts.map +0 -1
  456. package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +0 -112
  457. package/models/operations/subscriberscontrollerbulkcreatesubscribers.js.map +0 -1
  458. package/models/operations/subscriberscontrollerchataccessoauth.d.ts +0 -80
  459. package/models/operations/subscriberscontrollerchataccessoauth.d.ts.map +0 -1
  460. package/models/operations/subscriberscontrollerchataccessoauth.js +0 -113
  461. package/models/operations/subscriberscontrollerchataccessoauth.js.map +0 -1
  462. package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +0 -108
  463. package/models/operations/subscriberscontrollerchatoauthcallback.d.ts.map +0 -1
  464. package/models/operations/subscriberscontrollerchatoauthcallback.js +0 -142
  465. package/models/operations/subscriberscontrollerchatoauthcallback.js.map +0 -1
  466. package/models/operations/subscriberscontrollercreatesubscriber.d.ts +0 -66
  467. package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +0 -1
  468. package/models/operations/subscriberscontrollercreatesubscriber.js +0 -112
  469. package/models/operations/subscriberscontrollercreatesubscriber.js.map +0 -1
  470. package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +0 -65
  471. package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts.map +0 -1
  472. package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +0 -111
  473. package/models/operations/subscriberscontrollerdeletesubscribercredentials.js.map +0 -1
  474. package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +0 -79
  475. package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts.map +0 -1
  476. package/models/operations/subscriberscontrollergetnotificationsfeed.js +0 -120
  477. package/models/operations/subscriberscontrollergetnotificationsfeed.js.map +0 -1
  478. package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +0 -108
  479. package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts.map +0 -1
  480. package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +0 -141
  481. package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js.map +0 -1
  482. package/models/operations/subscriberscontrollergetunseencount.d.ts +0 -76
  483. package/models/operations/subscriberscontrollergetunseencount.d.ts.map +0 -1
  484. package/models/operations/subscriberscontrollergetunseencount.js +0 -114
  485. package/models/operations/subscriberscontrollergetunseencount.js.map +0 -1
  486. package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +0 -71
  487. package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts.map +0 -1
  488. package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +0 -113
  489. package/models/operations/subscriberscontrollerlistsubscriberpreferences.js.map +0 -1
  490. package/models/operations/subscriberscontrollerlistsubscribers.d.ts +0 -108
  491. package/models/operations/subscriberscontrollerlistsubscribers.d.ts.map +0 -1
  492. package/models/operations/subscriberscontrollerlistsubscribers.js +0 -145
  493. package/models/operations/subscriberscontrollerlistsubscribers.js.map +0 -1
  494. package/models/operations/subscriberscontrollermarkactionasseen.d.ts +0 -72
  495. package/models/operations/subscriberscontrollermarkactionasseen.d.ts.map +0 -1
  496. package/models/operations/subscriberscontrollermarkactionasseen.js +0 -118
  497. package/models/operations/subscriberscontrollermarkactionasseen.js.map +0 -1
  498. package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +0 -68
  499. package/models/operations/subscriberscontrollermarkallunreadasread.d.ts.map +0 -1
  500. package/models/operations/subscriberscontrollermarkallunreadasread.js +0 -114
  501. package/models/operations/subscriberscontrollermarkallunreadasread.js.map +0 -1
  502. package/models/operations/subscriberscontrollermarkmessagesas.d.ts +0 -68
  503. package/models/operations/subscriberscontrollermarkmessagesas.d.ts.map +0 -1
  504. package/models/operations/subscriberscontrollermarkmessagesas.js +0 -114
  505. package/models/operations/subscriberscontrollermarkmessagesas.js.map +0 -1
  506. package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +0 -68
  507. package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts.map +0 -1
  508. package/models/operations/subscriberscontrollermodifysubscriberchannel.js +0 -114
  509. package/models/operations/subscriberscontrollermodifysubscriberchannel.js.map +0 -1
  510. package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +0 -68
  511. package/models/operations/subscriberscontrollerupdatesubscriber.d.ts.map +0 -1
  512. package/models/operations/subscriberscontrollerupdatesubscriber.js +0 -114
  513. package/models/operations/subscriberscontrollerupdatesubscriber.js.map +0 -1
  514. package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +0 -68
  515. package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts.map +0 -1
  516. package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +0 -114
  517. package/models/operations/subscriberscontrollerupdatesubscriberchannel.js.map +0 -1
  518. package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +0 -68
  519. package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts.map +0 -1
  520. package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +0 -118
  521. package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js.map +0 -1
  522. package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +0 -68
  523. package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts.map +0 -1
  524. package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +0 -117
  525. package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js.map +0 -1
  526. package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +0 -70
  527. package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts.map +0 -1
  528. package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +0 -119
  529. package/models/operations/subscriberscontrollerupdatesubscriberpreference.js.map +0 -1
  530. package/models/operations/supportcontrollercreatethread.d.ts +0 -35
  531. package/models/operations/supportcontrollercreatethread.d.ts.map +0 -1
  532. package/models/operations/supportcontrollercreatethread.js +0 -73
  533. package/models/operations/supportcontrollercreatethread.js.map +0 -1
  534. package/models/operations/supportcontrollerfetchuserorganizations.d.ts +0 -56
  535. package/models/operations/supportcontrollerfetchuserorganizations.d.ts.map +0 -1
  536. package/models/operations/supportcontrollerfetchuserorganizations.js +0 -96
  537. package/models/operations/supportcontrollerfetchuserorganizations.js.map +0 -1
  538. package/src/models/components/createsupportthreaddto.ts +0 -66
  539. package/src/models/components/plaincardrequestdto.ts +0 -223
  540. package/src/models/components/workflowtostepcontrolvaluesdto.ts +0 -71
  541. package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +0 -185
  542. package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +0 -281
  543. package/src/models/operations/subscriberscontrollercreatesubscriber.ts +0 -185
  544. package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +0 -177
  545. package/src/models/operations/subscriberscontrollergetunseencount.ts +0 -192
  546. package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +0 -193
  547. package/src/models/operations/subscriberscontrollerlistsubscribers.ts +0 -282
  548. package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +0 -191
  549. package/src/models/operations/subscriberscontrollermarkmessagesas.ts +0 -184
  550. package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +0 -193
  551. package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +0 -193
  552. package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +0 -195
  553. package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +0 -192
  554. package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +0 -196
  555. package/src/models/operations/supportcontrollercreatethread.ts +0 -90
  556. package/src/models/operations/supportcontrollerfetchuserorganizations.ts +0 -163
@@ -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
- apiKey: "<YOUR_API_KEY_HERE>",
28
+ secretKey: "<YOUR_API_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
- apiKey: "<YOUR_API_KEY_HERE>",
52
+ secretKey: "<YOUR_API_KEY_HERE>",
53
53
  });
54
54
 
55
55
  async function run() {
@@ -85,8 +85,8 @@ run();
85
85
 
86
86
  | Error Type | Status Code | Content Type |
87
87
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
88
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
89
88
  | errors.ErrorDto | 414 | application/json |
89
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
90
90
  | errors.ValidationErrorDto | 422 | application/json |
91
91
  | errors.ErrorDto | 500 | application/json |
92
92
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -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
- apiKey: "<YOUR_API_KEY_HERE>",
104
+ secretKey: "<YOUR_API_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
- apiKey: "<YOUR_API_KEY_HERE>",
131
+ secretKey: "<YOUR_API_KEY_HERE>",
132
132
  });
133
133
 
134
134
  async function run() {
@@ -168,8 +168,8 @@ run();
168
168
 
169
169
  | Error Type | Status Code | Content Type |
170
170
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
171
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
172
171
  | errors.ErrorDto | 414 | application/json |
172
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
173
173
  | errors.ValidationErrorDto | 422 | application/json |
174
174
  | errors.ErrorDto | 500 | application/json |
175
175
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -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
- apiKey: "<YOUR_API_KEY_HERE>",
187
+ secretKey: "<YOUR_API_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
- apiKey: "<YOUR_API_KEY_HERE>",
211
+ secretKey: "<YOUR_API_KEY_HERE>",
212
212
  });
213
213
 
214
214
  async function run() {
@@ -244,8 +244,8 @@ run();
244
244
 
245
245
  | Error Type | Status Code | Content Type |
246
246
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
247
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
248
247
  | errors.ErrorDto | 414 | application/json |
248
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
249
249
  | errors.ValidationErrorDto | 422 | application/json |
250
250
  | errors.ErrorDto | 500 | application/json |
251
251
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -260,7 +260,7 @@ Update integration
260
260
  import { Novu } from "@novu/api";
261
261
 
262
262
  const novu = new Novu({
263
- apiKey: "<YOUR_API_KEY_HERE>",
263
+ secretKey: "<YOUR_API_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
- apiKey: "<YOUR_API_KEY_HERE>",
287
+ secretKey: "<YOUR_API_KEY_HERE>",
288
288
  });
289
289
 
290
290
  async function run() {
@@ -322,8 +322,8 @@ run();
322
322
 
323
323
  | Error Type | Status Code | Content Type |
324
324
  | --------------------------------- | --------------------------------- | --------------------------------- |
325
- | errors.ErrorDto | 400, 401, 403, 405, 409, 413, 415 | application/json |
326
325
  | errors.ErrorDto | 414 | application/json |
326
+ | errors.ErrorDto | 400, 401, 403, 405, 409, 413, 415 | application/json |
327
327
  | errors.ValidationErrorDto | 422 | application/json |
328
328
  | errors.ErrorDto | 500 | application/json |
329
329
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -338,7 +338,7 @@ Delete integration
338
338
  import { Novu } from "@novu/api";
339
339
 
340
340
  const novu = new Novu({
341
- apiKey: "<YOUR_API_KEY_HERE>",
341
+ secretKey: "<YOUR_API_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
- apiKey: "<YOUR_API_KEY_HERE>",
365
+ secretKey: "<YOUR_API_KEY_HERE>",
366
366
  });
367
367
 
368
368
  async function run() {
@@ -399,8 +399,8 @@ run();
399
399
 
400
400
  | Error Type | Status Code | Content Type |
401
401
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
402
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
403
402
  | errors.ErrorDto | 414 | application/json |
403
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
404
404
  | errors.ValidationErrorDto | 422 | application/json |
405
405
  | errors.ErrorDto | 500 | application/json |
406
406
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -415,7 +415,7 @@ Set integration as primary
415
415
  import { Novu } from "@novu/api";
416
416
 
417
417
  const novu = new Novu({
418
- apiKey: "<YOUR_API_KEY_HERE>",
418
+ secretKey: "<YOUR_API_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
- apiKey: "<YOUR_API_KEY_HERE>",
442
+ secretKey: "<YOUR_API_KEY_HERE>",
443
443
  });
444
444
 
445
445
  async function run() {
@@ -476,8 +476,8 @@ run();
476
476
 
477
477
  | Error Type | Status Code | Content Type |
478
478
  | --------------------------------- | --------------------------------- | --------------------------------- |
479
- | errors.ErrorDto | 400, 401, 403, 405, 409, 413, 415 | application/json |
480
479
  | errors.ErrorDto | 414 | application/json |
480
+ | errors.ErrorDto | 400, 401, 403, 405, 409, 413, 415 | application/json |
481
481
  | errors.ValidationErrorDto | 422 | application/json |
482
482
  | errors.ErrorDto | 500 | application/json |
483
483
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -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
- apiKey: "<YOUR_API_KEY_HERE>",
25
+ secretKey: "<YOUR_API_KEY_HERE>",
26
26
  });
27
27
 
28
28
  async function run() {
@@ -49,7 +49,7 @@ import { messagesRetrieve } from "@novu/api/funcs/messagesRetrieve.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
- apiKey: "<YOUR_API_KEY_HERE>",
52
+ secretKey: "<YOUR_API_KEY_HERE>",
53
53
  });
54
54
 
55
55
  async function run() {
@@ -88,8 +88,8 @@ run();
88
88
 
89
89
  | Error Type | Status Code | Content Type |
90
90
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
91
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
92
91
  | errors.ErrorDto | 414 | application/json |
92
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
93
93
  | errors.ValidationErrorDto | 422 | application/json |
94
94
  | errors.ErrorDto | 500 | application/json |
95
95
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -104,7 +104,7 @@ Deletes a message entity from the Novu platform
104
104
  import { Novu } from "@novu/api";
105
105
 
106
106
  const novu = new Novu({
107
- apiKey: "<YOUR_API_KEY_HERE>",
107
+ secretKey: "<YOUR_API_KEY_HERE>",
108
108
  });
109
109
 
110
110
  async function run() {
@@ -128,7 +128,7 @@ import { messagesDelete } from "@novu/api/funcs/messagesDelete.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
- apiKey: "<YOUR_API_KEY_HERE>",
131
+ secretKey: "<YOUR_API_KEY_HERE>",
132
132
  });
133
133
 
134
134
  async function run() {
@@ -165,8 +165,8 @@ run();
165
165
 
166
166
  | Error Type | Status Code | Content Type |
167
167
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
168
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
169
168
  | errors.ErrorDto | 414 | application/json |
169
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
170
170
  | errors.ValidationErrorDto | 422 | application/json |
171
171
  | errors.ErrorDto | 500 | application/json |
172
172
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -181,7 +181,7 @@ Deletes messages entity from the Novu platform using TransactionId of message
181
181
  import { Novu } from "@novu/api";
182
182
 
183
183
  const novu = new Novu({
184
- apiKey: "<YOUR_API_KEY_HERE>",
184
+ secretKey: "<YOUR_API_KEY_HERE>",
185
185
  });
186
186
 
187
187
  async function run() {
@@ -205,7 +205,7 @@ import { messagesDeleteByTransactionId } from "@novu/api/funcs/messagesDeleteByT
205
205
  // Use `NovuCore` for best tree-shaking performance.
206
206
  // You can create one instance of it to use across an application.
207
207
  const novu = new NovuCore({
208
- apiKey: "<YOUR_API_KEY_HERE>",
208
+ secretKey: "<YOUR_API_KEY_HERE>",
209
209
  });
210
210
 
211
211
  async function run() {
@@ -243,8 +243,8 @@ run();
243
243
 
244
244
  | Error Type | Status Code | Content Type |
245
245
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
246
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
247
246
  | errors.ErrorDto | 414 | application/json |
247
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
248
248
  | errors.ValidationErrorDto | 422 | application/json |
249
249
  | errors.ErrorDto | 500 | application/json |
250
250
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -18,7 +18,7 @@ Get notifications
18
18
  import { Novu } from "@novu/api";
19
19
 
20
20
  const novu = new Novu({
21
- apiKey: "<YOUR_API_KEY_HERE>",
21
+ secretKey: "<YOUR_API_KEY_HERE>",
22
22
  });
23
23
 
24
24
  async function run() {
@@ -44,7 +44,7 @@ import { notificationsList } from "@novu/api/funcs/notificationsList.js";
44
44
  // Use `NovuCore` for best tree-shaking performance.
45
45
  // You can create one instance of it to use across an application.
46
46
  const novu = new NovuCore({
47
- apiKey: "<YOUR_API_KEY_HERE>",
47
+ secretKey: "<YOUR_API_KEY_HERE>",
48
48
  });
49
49
 
50
50
  async function run() {
@@ -82,8 +82,8 @@ run();
82
82
 
83
83
  | Error Type | Status Code | Content Type |
84
84
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
85
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
86
85
  | errors.ErrorDto | 414 | application/json |
86
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
87
87
  | errors.ValidationErrorDto | 422 | application/json |
88
88
  | errors.ErrorDto | 500 | application/json |
89
89
  | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -98,7 +98,7 @@ Get notification
98
98
  import { Novu } from "@novu/api";
99
99
 
100
100
  const novu = new Novu({
101
- apiKey: "<YOUR_API_KEY_HERE>",
101
+ secretKey: "<YOUR_API_KEY_HERE>",
102
102
  });
103
103
 
104
104
  async function run() {
@@ -122,7 +122,7 @@ import { notificationsRetrieve } from "@novu/api/funcs/notificationsRetrieve.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
- apiKey: "<YOUR_API_KEY_HERE>",
125
+ secretKey: "<YOUR_API_KEY_HERE>",
126
126
  });
127
127
 
128
128
  async function run() {
@@ -159,8 +159,8 @@ run();
159
159
 
160
160
  | Error Type | Status Code | Content Type |
161
161
  | -------------------------------------- | -------------------------------------- | -------------------------------------- |
162
- | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
163
162
  | errors.ErrorDto | 414 | application/json |
163
+ | errors.ErrorDto | 400, 401, 403, 404, 405, 409, 413, 415 | application/json |
164
164
  | errors.ValidationErrorDto | 422 | application/json |
165
165
  | errors.ErrorDto | 500 | application/json |
166
166
  | errors.SDKError | 4XX, 5XX | \*/\* |