@novu/api 0.0.1-alpha.193 → 0.0.1-alpha.196

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 (447) hide show
  1. package/README.md +12 -6
  2. package/docs/sdks/admin/README.md +14 -12
  3. package/docs/sdks/authentication/README.md +14 -12
  4. package/docs/sdks/credentials/README.md +21 -18
  5. package/docs/sdks/integrations/README.md +42 -36
  6. package/docs/sdks/messages/README.md +21 -18
  7. package/docs/sdks/notifications/README.md +14 -12
  8. package/docs/sdks/novu/README.md +28 -24
  9. package/docs/sdks/novumessages/README.md +21 -18
  10. package/docs/sdks/novunotifications/README.md +14 -12
  11. package/docs/sdks/novusubscribers/README.md +21 -18
  12. package/docs/sdks/preferences/README.md +28 -24
  13. package/docs/sdks/properties/README.md +7 -6
  14. package/docs/sdks/stats/README.md +14 -12
  15. package/docs/sdks/subscribers/README.md +42 -36
  16. package/docs/sdks/topics/README.md +35 -30
  17. package/docs/sdks/webhooks/README.md +7 -6
  18. package/funcs/adminIdempotencyGet.d.ts +1 -1
  19. package/funcs/adminIdempotencyGet.d.ts.map +1 -1
  20. package/funcs/adminIdempotencyGet.js +3 -3
  21. package/funcs/adminIdempotencyGet.js.map +1 -1
  22. package/funcs/adminIdempotencyPost.d.ts +1 -1
  23. package/funcs/adminIdempotencyPost.d.ts.map +1 -1
  24. package/funcs/adminIdempotencyPost.js +3 -3
  25. package/funcs/adminIdempotencyPost.js.map +1 -1
  26. package/funcs/cancel.d.ts +1 -1
  27. package/funcs/cancel.d.ts.map +1 -1
  28. package/funcs/cancel.js +3 -3
  29. package/funcs/cancel.js.map +1 -1
  30. package/funcs/integrationsCreate.d.ts +1 -1
  31. package/funcs/integrationsCreate.d.ts.map +1 -1
  32. package/funcs/integrationsCreate.js +3 -3
  33. package/funcs/integrationsCreate.js.map +1 -1
  34. package/funcs/integrationsDelete.d.ts +1 -1
  35. package/funcs/integrationsDelete.d.ts.map +1 -1
  36. package/funcs/integrationsDelete.js +3 -3
  37. package/funcs/integrationsDelete.js.map +1 -1
  38. package/funcs/integrationsList.d.ts +1 -1
  39. package/funcs/integrationsList.d.ts.map +1 -1
  40. package/funcs/integrationsList.js +3 -3
  41. package/funcs/integrationsList.js.map +1 -1
  42. package/funcs/integrationsListActive.d.ts +1 -1
  43. package/funcs/integrationsListActive.d.ts.map +1 -1
  44. package/funcs/integrationsListActive.js +3 -3
  45. package/funcs/integrationsListActive.js.map +1 -1
  46. package/funcs/integrationsSetAsPrimary.d.ts +1 -1
  47. package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
  48. package/funcs/integrationsSetAsPrimary.js +3 -3
  49. package/funcs/integrationsSetAsPrimary.js.map +1 -1
  50. package/funcs/integrationsUpdate.d.ts +1 -1
  51. package/funcs/integrationsUpdate.d.ts.map +1 -1
  52. package/funcs/integrationsUpdate.js +3 -3
  53. package/funcs/integrationsUpdate.js.map +1 -1
  54. package/funcs/integrationsWebhooksRetrieve.d.ts +1 -1
  55. package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
  56. package/funcs/integrationsWebhooksRetrieve.js +3 -3
  57. package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
  58. package/funcs/messagesDelete.d.ts +1 -1
  59. package/funcs/messagesDelete.d.ts.map +1 -1
  60. package/funcs/messagesDelete.js +3 -3
  61. package/funcs/messagesDelete.js.map +1 -1
  62. package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
  63. package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
  64. package/funcs/messagesDeleteByTransactionId.js +3 -3
  65. package/funcs/messagesDeleteByTransactionId.js.map +1 -1
  66. package/funcs/messagesRetrieve.d.ts +1 -1
  67. package/funcs/messagesRetrieve.d.ts.map +1 -1
  68. package/funcs/messagesRetrieve.js +3 -3
  69. package/funcs/messagesRetrieve.js.map +1 -1
  70. package/funcs/notificationsList.d.ts +1 -1
  71. package/funcs/notificationsList.d.ts.map +1 -1
  72. package/funcs/notificationsList.js +3 -3
  73. package/funcs/notificationsList.js.map +1 -1
  74. package/funcs/notificationsRetrieve.d.ts +1 -1
  75. package/funcs/notificationsRetrieve.d.ts.map +1 -1
  76. package/funcs/notificationsRetrieve.js +3 -3
  77. package/funcs/notificationsRetrieve.js.map +1 -1
  78. package/funcs/notificationsStatsGraph.d.ts +1 -1
  79. package/funcs/notificationsStatsGraph.d.ts.map +1 -1
  80. package/funcs/notificationsStatsGraph.js +3 -3
  81. package/funcs/notificationsStatsGraph.js.map +1 -1
  82. package/funcs/notificationsStatsRetrieve.d.ts +1 -1
  83. package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
  84. package/funcs/notificationsStatsRetrieve.js +3 -3
  85. package/funcs/notificationsStatsRetrieve.js.map +1 -1
  86. package/funcs/subscribersAuthenticationChatAccessOauth.d.ts +1 -1
  87. package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
  88. package/funcs/subscribersAuthenticationChatAccessOauth.js +3 -3
  89. package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
  90. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts +1 -1
  91. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
  92. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +3 -3
  93. package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
  94. package/funcs/subscribersCreate.d.ts +1 -1
  95. package/funcs/subscribersCreate.d.ts.map +1 -1
  96. package/funcs/subscribersCreate.js +3 -3
  97. package/funcs/subscribersCreate.js.map +1 -1
  98. package/funcs/subscribersCreateBulk.d.ts +1 -1
  99. package/funcs/subscribersCreateBulk.d.ts.map +1 -1
  100. package/funcs/subscribersCreateBulk.js +3 -3
  101. package/funcs/subscribersCreateBulk.js.map +1 -1
  102. package/funcs/subscribersCredentialsAppend.d.ts +1 -1
  103. package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
  104. package/funcs/subscribersCredentialsAppend.js +3 -3
  105. package/funcs/subscribersCredentialsAppend.js.map +1 -1
  106. package/funcs/subscribersCredentialsDelete.d.ts +1 -1
  107. package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
  108. package/funcs/subscribersCredentialsDelete.js +3 -3
  109. package/funcs/subscribersCredentialsDelete.js.map +1 -1
  110. package/funcs/subscribersCredentialsUpdate.d.ts +1 -1
  111. package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
  112. package/funcs/subscribersCredentialsUpdate.js +3 -3
  113. package/funcs/subscribersCredentialsUpdate.js.map +1 -1
  114. package/funcs/subscribersDelete.d.ts +1 -1
  115. package/funcs/subscribersDelete.d.ts.map +1 -1
  116. package/funcs/subscribersDelete.js +3 -3
  117. package/funcs/subscribersDelete.js.map +1 -1
  118. package/funcs/subscribersList.d.ts +1 -1
  119. package/funcs/subscribersList.d.ts.map +1 -1
  120. package/funcs/subscribersList.js +3 -3
  121. package/funcs/subscribersList.js.map +1 -1
  122. package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
  123. package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
  124. package/funcs/subscribersMessagesMarkAll.js +3 -3
  125. package/funcs/subscribersMessagesMarkAll.js.map +1 -1
  126. package/funcs/subscribersMessagesMarkAllAs.d.ts +1 -1
  127. package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
  128. package/funcs/subscribersMessagesMarkAllAs.js +3 -3
  129. package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
  130. package/funcs/subscribersMessagesUpdateAsSeen.d.ts +1 -1
  131. package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
  132. package/funcs/subscribersMessagesUpdateAsSeen.js +3 -3
  133. package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
  134. package/funcs/subscribersNotificationsFeed.d.ts +1 -1
  135. package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
  136. package/funcs/subscribersNotificationsFeed.js +3 -3
  137. package/funcs/subscribersNotificationsFeed.js.map +1 -1
  138. package/funcs/subscribersNotificationsUnseenCount.d.ts +1 -1
  139. package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
  140. package/funcs/subscribersNotificationsUnseenCount.js +3 -3
  141. package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
  142. package/funcs/subscribersPreferencesList.d.ts +1 -1
  143. package/funcs/subscribersPreferencesList.d.ts.map +1 -1
  144. package/funcs/subscribersPreferencesList.js +3 -3
  145. package/funcs/subscribersPreferencesList.js.map +1 -1
  146. package/funcs/subscribersPreferencesRetrieveByLevel.d.ts +1 -1
  147. package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
  148. package/funcs/subscribersPreferencesRetrieveByLevel.js +3 -3
  149. package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
  150. package/funcs/subscribersPreferencesUpdate.d.ts +1 -1
  151. package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
  152. package/funcs/subscribersPreferencesUpdate.js +3 -3
  153. package/funcs/subscribersPreferencesUpdate.js.map +1 -1
  154. package/funcs/subscribersPreferencesUpdateGlobal.d.ts +1 -1
  155. package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
  156. package/funcs/subscribersPreferencesUpdateGlobal.js +3 -3
  157. package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
  158. package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
  159. package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
  160. package/funcs/subscribersPropertiesUpdateOnlineFlag.js +3 -3
  161. package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
  162. package/funcs/subscribersRetrieve.d.ts +1 -1
  163. package/funcs/subscribersRetrieve.d.ts.map +1 -1
  164. package/funcs/subscribersRetrieve.js +3 -3
  165. package/funcs/subscribersRetrieve.js.map +1 -1
  166. package/funcs/subscribersUpdate.d.ts +1 -1
  167. package/funcs/subscribersUpdate.d.ts.map +1 -1
  168. package/funcs/subscribersUpdate.js +3 -3
  169. package/funcs/subscribersUpdate.js.map +1 -1
  170. package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts.map +1 -1
  171. package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +3 -3
  172. package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js.map +1 -1
  173. package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts.map +1 -1
  174. package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +3 -3
  175. package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js.map +1 -1
  176. package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts.map +1 -1
  177. package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +3 -3
  178. package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js.map +1 -1
  179. package/funcs/topicsCreate.d.ts +1 -1
  180. package/funcs/topicsCreate.d.ts.map +1 -1
  181. package/funcs/topicsCreate.js +3 -3
  182. package/funcs/topicsCreate.js.map +1 -1
  183. package/funcs/topicsDelete.d.ts +1 -1
  184. package/funcs/topicsDelete.d.ts.map +1 -1
  185. package/funcs/topicsDelete.js +3 -3
  186. package/funcs/topicsDelete.js.map +1 -1
  187. package/funcs/topicsList.d.ts +1 -1
  188. package/funcs/topicsList.d.ts.map +1 -1
  189. package/funcs/topicsList.js +3 -3
  190. package/funcs/topicsList.js.map +1 -1
  191. package/funcs/topicsRename.d.ts +1 -1
  192. package/funcs/topicsRename.d.ts.map +1 -1
  193. package/funcs/topicsRename.js +3 -3
  194. package/funcs/topicsRename.js.map +1 -1
  195. package/funcs/topicsRetrieve.d.ts +1 -1
  196. package/funcs/topicsRetrieve.d.ts.map +1 -1
  197. package/funcs/topicsRetrieve.js +3 -3
  198. package/funcs/topicsRetrieve.js.map +1 -1
  199. package/funcs/topicsSubscribersAssign.d.ts +1 -1
  200. package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
  201. package/funcs/topicsSubscribersAssign.js +3 -3
  202. package/funcs/topicsSubscribersAssign.js.map +1 -1
  203. package/funcs/topicsSubscribersRemove.d.ts +1 -1
  204. package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
  205. package/funcs/topicsSubscribersRemove.js +3 -3
  206. package/funcs/topicsSubscribersRemove.js.map +1 -1
  207. package/funcs/topicsSubscribersRetrieve.d.ts +1 -1
  208. package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
  209. package/funcs/topicsSubscribersRetrieve.js +3 -3
  210. package/funcs/topicsSubscribersRetrieve.js.map +1 -1
  211. package/funcs/trigger.d.ts +1 -1
  212. package/funcs/trigger.d.ts.map +1 -1
  213. package/funcs/trigger.js +3 -3
  214. package/funcs/trigger.js.map +1 -1
  215. package/funcs/triggerBroadcast.d.ts +1 -1
  216. package/funcs/triggerBroadcast.d.ts.map +1 -1
  217. package/funcs/triggerBroadcast.js +3 -3
  218. package/funcs/triggerBroadcast.js.map +1 -1
  219. package/funcs/triggerBulk.d.ts +1 -1
  220. package/funcs/triggerBulk.d.ts.map +1 -1
  221. package/funcs/triggerBulk.js +3 -3
  222. package/funcs/triggerBulk.js.map +1 -1
  223. package/hooks/novu-custom-hook.js +2 -2
  224. package/hooks/novu-custom-hook.js.map +1 -1
  225. package/lib/config.d.ts +3 -3
  226. package/lib/config.js +3 -3
  227. package/models/components/activitynotificationexecutiondetailresponsedto.d.ts +2 -2
  228. package/models/components/activitynotificationexecutiondetailresponsedto.d.ts.map +1 -1
  229. package/models/components/activitynotificationexecutiondetailresponsedto.js +2 -2
  230. package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -1
  231. package/models/components/activitynotificationsubscriberresponsedto.d.ts +5 -0
  232. package/models/components/activitynotificationsubscriberresponsedto.d.ts.map +1 -1
  233. package/models/components/activitynotificationsubscriberresponsedto.js +2 -0
  234. package/models/components/activitynotificationsubscriberresponsedto.js.map +1 -1
  235. package/models/operations/eventscontrollerbroadcasteventtoall.d.ts +1 -1
  236. package/models/operations/eventscontrollerbroadcasteventtoall.js +3 -3
  237. package/models/operations/eventscontrollercancel.d.ts +1 -1
  238. package/models/operations/eventscontrollercancel.js +3 -3
  239. package/models/operations/eventscontrollertrigger.d.ts +1 -1
  240. package/models/operations/eventscontrollertrigger.js +3 -3
  241. package/models/operations/eventscontrollertriggerbulk.d.ts +1 -1
  242. package/models/operations/eventscontrollertriggerbulk.js +3 -3
  243. package/models/operations/integrationscontrollercreateintegration.d.ts +1 -1
  244. package/models/operations/integrationscontrollercreateintegration.js +3 -3
  245. package/models/operations/integrationscontrollergetactiveintegrations.d.ts +1 -1
  246. package/models/operations/integrationscontrollergetactiveintegrations.js +3 -3
  247. package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +1 -1
  248. package/models/operations/integrationscontrollergetwebhooksupportstatus.js +3 -3
  249. package/models/operations/integrationscontrollerlistintegrations.d.ts +1 -1
  250. package/models/operations/integrationscontrollerlistintegrations.js +3 -3
  251. package/models/operations/integrationscontrollerremoveintegration.d.ts +1 -1
  252. package/models/operations/integrationscontrollerremoveintegration.js +3 -3
  253. package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +1 -1
  254. package/models/operations/integrationscontrollersetintegrationasprimary.js +3 -3
  255. package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +1 -1
  256. package/models/operations/integrationscontrollerupdateintegrationbyid.js +3 -3
  257. package/models/operations/messagescontrollerdeletemessage.d.ts +1 -1
  258. package/models/operations/messagescontrollerdeletemessage.js +3 -3
  259. package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +1 -1
  260. package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +3 -3
  261. package/models/operations/messagescontrollergetmessages.d.ts +1 -1
  262. package/models/operations/messagescontrollergetmessages.js +3 -3
  263. package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +1 -1
  264. package/models/operations/notificationscontrollergetactivitygraphstats.js +3 -3
  265. package/models/operations/notificationscontrollergetactivitystats.d.ts +1 -1
  266. package/models/operations/notificationscontrollergetactivitystats.js +3 -3
  267. package/models/operations/notificationscontrollergetnotification.d.ts +1 -1
  268. package/models/operations/notificationscontrollergetnotification.js +3 -3
  269. package/models/operations/notificationscontrollerlistnotifications.d.ts +1 -1
  270. package/models/operations/notificationscontrollerlistnotifications.js +3 -3
  271. package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +1 -1
  272. package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +3 -3
  273. package/models/operations/subscriberscontrollerchataccessoauth.d.ts +1 -1
  274. package/models/operations/subscriberscontrollerchataccessoauth.js +3 -3
  275. package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +1 -1
  276. package/models/operations/subscriberscontrollerchatoauthcallback.js +3 -3
  277. package/models/operations/subscriberscontrollercreatesubscriber.d.ts +1 -1
  278. package/models/operations/subscriberscontrollercreatesubscriber.js +3 -3
  279. package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +1 -1
  280. package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +3 -3
  281. package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +1 -1
  282. package/models/operations/subscriberscontrollergetnotificationsfeed.js +3 -3
  283. package/models/operations/subscriberscontrollergetsubscriber.d.ts +1 -1
  284. package/models/operations/subscriberscontrollergetsubscriber.js +3 -3
  285. package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +1 -1
  286. package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +3 -3
  287. package/models/operations/subscriberscontrollergetunseencount.d.ts +1 -1
  288. package/models/operations/subscriberscontrollergetunseencount.js +3 -3
  289. package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +1 -1
  290. package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +3 -3
  291. package/models/operations/subscriberscontrollerlistsubscribers.d.ts +1 -1
  292. package/models/operations/subscriberscontrollerlistsubscribers.js +3 -3
  293. package/models/operations/subscriberscontrollermarkactionasseen.d.ts +1 -1
  294. package/models/operations/subscriberscontrollermarkactionasseen.js +3 -3
  295. package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +1 -1
  296. package/models/operations/subscriberscontrollermarkallunreadasread.js +3 -3
  297. package/models/operations/subscriberscontrollermarkmessagesas.d.ts +1 -1
  298. package/models/operations/subscriberscontrollermarkmessagesas.js +3 -3
  299. package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +1 -1
  300. package/models/operations/subscriberscontrollermodifysubscriberchannel.js +3 -3
  301. package/models/operations/subscriberscontrollerremovesubscriber.d.ts +1 -1
  302. package/models/operations/subscriberscontrollerremovesubscriber.js +3 -3
  303. package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +1 -1
  304. package/models/operations/subscriberscontrollerupdatesubscriber.js +3 -3
  305. package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +1 -1
  306. package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +3 -3
  307. package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +1 -1
  308. package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +3 -3
  309. package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +1 -1
  310. package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +3 -3
  311. package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +1 -1
  312. package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +3 -3
  313. package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts +1 -1
  314. package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js +3 -3
  315. package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts +1 -1
  316. package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js +3 -3
  317. package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts +1 -1
  318. package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js +3 -3
  319. package/models/operations/testingcontrolleridempotency.d.ts +1 -1
  320. package/models/operations/testingcontrolleridempotency.js +3 -3
  321. package/models/operations/testingcontrolleridempotencyget.d.ts +1 -1
  322. package/models/operations/testingcontrolleridempotencyget.js +3 -3
  323. package/models/operations/topicscontrollerassign.d.ts +1 -1
  324. package/models/operations/topicscontrollerassign.js +3 -3
  325. package/models/operations/topicscontrollercreatetopic.d.ts +1 -1
  326. package/models/operations/topicscontrollercreatetopic.js +3 -3
  327. package/models/operations/topicscontrollerdeletetopic.d.ts +1 -1
  328. package/models/operations/topicscontrollerdeletetopic.js +3 -3
  329. package/models/operations/topicscontrollergettopic.d.ts +1 -1
  330. package/models/operations/topicscontrollergettopic.js +3 -3
  331. package/models/operations/topicscontrollergettopicsubscriber.d.ts +1 -1
  332. package/models/operations/topicscontrollergettopicsubscriber.js +3 -3
  333. package/models/operations/topicscontrollerlisttopics.d.ts +1 -1
  334. package/models/operations/topicscontrollerlisttopics.js +3 -3
  335. package/models/operations/topicscontrollerremovesubscribers.d.ts +1 -1
  336. package/models/operations/topicscontrollerremovesubscribers.js +3 -3
  337. package/models/operations/topicscontrollerrenametopic.d.ts +1 -1
  338. package/models/operations/topicscontrollerrenametopic.js +3 -3
  339. package/package.json +1 -1
  340. package/src/funcs/adminIdempotencyGet.ts +12 -7
  341. package/src/funcs/adminIdempotencyPost.ts +12 -7
  342. package/src/funcs/cancel.ts +12 -7
  343. package/src/funcs/integrationsCreate.ts +12 -7
  344. package/src/funcs/integrationsDelete.ts +12 -7
  345. package/src/funcs/integrationsList.ts +12 -7
  346. package/src/funcs/integrationsListActive.ts +12 -7
  347. package/src/funcs/integrationsSetAsPrimary.ts +12 -7
  348. package/src/funcs/integrationsUpdate.ts +12 -7
  349. package/src/funcs/integrationsWebhooksRetrieve.ts +12 -7
  350. package/src/funcs/messagesDelete.ts +12 -7
  351. package/src/funcs/messagesDeleteByTransactionId.ts +12 -7
  352. package/src/funcs/messagesRetrieve.ts +12 -7
  353. package/src/funcs/notificationsList.ts +12 -7
  354. package/src/funcs/notificationsRetrieve.ts +12 -7
  355. package/src/funcs/notificationsStatsGraph.ts +12 -7
  356. package/src/funcs/notificationsStatsRetrieve.ts +12 -7
  357. package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +12 -7
  358. package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +12 -7
  359. package/src/funcs/subscribersCreate.ts +12 -7
  360. package/src/funcs/subscribersCreateBulk.ts +12 -7
  361. package/src/funcs/subscribersCredentialsAppend.ts +12 -7
  362. package/src/funcs/subscribersCredentialsDelete.ts +12 -7
  363. package/src/funcs/subscribersCredentialsUpdate.ts +12 -7
  364. package/src/funcs/subscribersDelete.ts +12 -7
  365. package/src/funcs/subscribersList.ts +13 -7
  366. package/src/funcs/subscribersMessagesMarkAll.ts +12 -7
  367. package/src/funcs/subscribersMessagesMarkAllAs.ts +12 -7
  368. package/src/funcs/subscribersMessagesUpdateAsSeen.ts +12 -7
  369. package/src/funcs/subscribersNotificationsFeed.ts +12 -7
  370. package/src/funcs/subscribersNotificationsUnseenCount.ts +12 -7
  371. package/src/funcs/subscribersPreferencesList.ts +12 -7
  372. package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +12 -7
  373. package/src/funcs/subscribersPreferencesUpdate.ts +12 -7
  374. package/src/funcs/subscribersPreferencesUpdateGlobal.ts +12 -7
  375. package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +12 -7
  376. package/src/funcs/subscribersRetrieve.ts +12 -7
  377. package/src/funcs/subscribersUpdate.ts +12 -7
  378. package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +6 -5
  379. package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +6 -5
  380. package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +6 -5
  381. package/src/funcs/topicsCreate.ts +12 -7
  382. package/src/funcs/topicsDelete.ts +12 -7
  383. package/src/funcs/topicsList.ts +12 -7
  384. package/src/funcs/topicsRename.ts +12 -7
  385. package/src/funcs/topicsRetrieve.ts +12 -7
  386. package/src/funcs/topicsSubscribersAssign.ts +12 -7
  387. package/src/funcs/topicsSubscribersRemove.ts +12 -7
  388. package/src/funcs/topicsSubscribersRetrieve.ts +12 -7
  389. package/src/funcs/trigger.ts +12 -7
  390. package/src/funcs/triggerBroadcast.ts +12 -7
  391. package/src/funcs/triggerBulk.ts +12 -7
  392. package/src/hooks/novu-custom-hook.ts +2 -2
  393. package/src/lib/config.ts +3 -3
  394. package/src/models/components/activitynotificationexecutiondetailresponsedto.ts +4 -4
  395. package/src/models/components/activitynotificationsubscriberresponsedto.ts +7 -0
  396. package/src/models/operations/eventscontrollerbroadcasteventtoall.ts +4 -4
  397. package/src/models/operations/eventscontrollercancel.ts +4 -4
  398. package/src/models/operations/eventscontrollertrigger.ts +4 -4
  399. package/src/models/operations/eventscontrollertriggerbulk.ts +4 -4
  400. package/src/models/operations/integrationscontrollercreateintegration.ts +4 -4
  401. package/src/models/operations/integrationscontrollergetactiveintegrations.ts +4 -4
  402. package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +4 -4
  403. package/src/models/operations/integrationscontrollerlistintegrations.ts +4 -4
  404. package/src/models/operations/integrationscontrollerremoveintegration.ts +4 -4
  405. package/src/models/operations/integrationscontrollersetintegrationasprimary.ts +4 -4
  406. package/src/models/operations/integrationscontrollerupdateintegrationbyid.ts +4 -4
  407. package/src/models/operations/messagescontrollerdeletemessage.ts +4 -4
  408. package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +4 -4
  409. package/src/models/operations/messagescontrollergetmessages.ts +4 -4
  410. package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +4 -4
  411. package/src/models/operations/notificationscontrollergetactivitystats.ts +4 -4
  412. package/src/models/operations/notificationscontrollergetnotification.ts +4 -4
  413. package/src/models/operations/notificationscontrollerlistnotifications.ts +4 -4
  414. package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +4 -4
  415. package/src/models/operations/subscriberscontrollerchataccessoauth.ts +4 -4
  416. package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +4 -4
  417. package/src/models/operations/subscriberscontrollercreatesubscriber.ts +4 -4
  418. package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +4 -4
  419. package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +4 -4
  420. package/src/models/operations/subscriberscontrollergetsubscriber.ts +4 -4
  421. package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +4 -4
  422. package/src/models/operations/subscriberscontrollergetunseencount.ts +4 -4
  423. package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +4 -4
  424. package/src/models/operations/subscriberscontrollerlistsubscribers.ts +4 -4
  425. package/src/models/operations/subscriberscontrollermarkactionasseen.ts +4 -4
  426. package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +4 -4
  427. package/src/models/operations/subscriberscontrollermarkmessagesas.ts +4 -4
  428. package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +4 -4
  429. package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
  430. package/src/models/operations/subscriberscontrollerupdatesubscriber.ts +4 -4
  431. package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +4 -4
  432. package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +4 -4
  433. package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +4 -4
  434. package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +4 -4
  435. package/src/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.ts +4 -4
  436. package/src/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.ts +4 -4
  437. package/src/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.ts +4 -4
  438. package/src/models/operations/testingcontrolleridempotency.ts +4 -4
  439. package/src/models/operations/testingcontrolleridempotencyget.ts +4 -4
  440. package/src/models/operations/topicscontrollerassign.ts +4 -4
  441. package/src/models/operations/topicscontrollercreatetopic.ts +4 -4
  442. package/src/models/operations/topicscontrollerdeletetopic.ts +4 -4
  443. package/src/models/operations/topicscontrollergettopic.ts +4 -4
  444. package/src/models/operations/topicscontrollergettopicsubscriber.ts +4 -4
  445. package/src/models/operations/topicscontrollerlisttopics.ts +4 -4
  446. package/src/models/operations/topicscontrollerremovesubscribers.ts +4 -4
  447. package/src/models/operations/topicscontrollerrenametopic.ts +4 -4
@@ -42,6 +42,7 @@ export async function messagesDeleteByTransactionId(
42
42
  | errors.ErrorDto
43
43
  | errors.ErrorDto
44
44
  | errors.ValidationErrorDto
45
+ | errors.ErrorDto
45
46
  | SDKError
46
47
  | SDKValidationError
47
48
  | UnexpectedClientError
@@ -89,9 +90,9 @@ export async function messagesDeleteByTransactionId(
89
90
 
90
91
  const headers = new Headers(compactMap({
91
92
  Accept: "application/json",
92
- "Idempotency-Key": encodeSimple(
93
- "Idempotency-Key",
94
- payload["Idempotency-Key"],
93
+ "idempotency-key": encodeSimple(
94
+ "idempotency-key",
95
+ payload["idempotency-key"],
95
96
  { explode: false, charEncoding: "none" },
96
97
  ),
97
98
  }));
@@ -120,7 +121,7 @@ export async function messagesDeleteByTransactionId(
120
121
  retryConnectionErrors: true,
121
122
  }
122
123
  || { strategy: "none" },
123
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
124
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
124
125
  };
125
126
 
126
127
  const requestRes = client._createRequest(context, {
@@ -175,6 +176,7 @@ export async function messagesDeleteByTransactionId(
175
176
  | errors.ErrorDto
176
177
  | errors.ErrorDto
177
178
  | errors.ValidationErrorDto
179
+ | errors.ErrorDto
178
180
  | SDKError
179
181
  | SDKValidationError
180
182
  | UnexpectedClientError
@@ -191,14 +193,17 @@ export async function messagesDeleteByTransactionId(
191
193
  { hdrs: true },
192
194
  ),
193
195
  M.jsonErr(
194
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
196
+ [400, 401, 403, 404, 405, 409, 413, 415],
195
197
  errors.ErrorDto$inboundSchema,
196
198
  { hdrs: true },
197
199
  ),
198
200
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
199
201
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
200
- M.fail([429, 503]),
201
- M.fail(["4XX", "5XX"]),
202
+ M.fail(429),
203
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
204
+ M.fail(503),
205
+ M.fail("4XX"),
206
+ M.fail("5XX"),
202
207
  )(response, { extraFields: responseFields });
203
208
  if (!result.ok) {
204
209
  return result;
@@ -39,6 +39,7 @@ export async function messagesRetrieve(
39
39
  | errors.ErrorDto
40
40
  | errors.ErrorDto
41
41
  | errors.ValidationErrorDto
42
+ | errors.ErrorDto
42
43
  | SDKError
43
44
  | SDKValidationError
44
45
  | UnexpectedClientError
@@ -74,9 +75,9 @@ export async function messagesRetrieve(
74
75
 
75
76
  const headers = new Headers(compactMap({
76
77
  Accept: "application/json",
77
- "Idempotency-Key": encodeSimple(
78
- "Idempotency-Key",
79
- payload["Idempotency-Key"],
78
+ "idempotency-key": encodeSimple(
79
+ "idempotency-key",
80
+ payload["idempotency-key"],
80
81
  { explode: false, charEncoding: "none" },
81
82
  ),
82
83
  }));
@@ -105,7 +106,7 @@ export async function messagesRetrieve(
105
106
  retryConnectionErrors: true,
106
107
  }
107
108
  || { strategy: "none" },
108
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
109
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
109
110
  };
110
111
 
111
112
  const requestRes = client._createRequest(context, {
@@ -159,6 +160,7 @@ export async function messagesRetrieve(
159
160
  | errors.ErrorDto
160
161
  | errors.ErrorDto
161
162
  | errors.ValidationErrorDto
163
+ | errors.ErrorDto
162
164
  | SDKError
163
165
  | SDKValidationError
164
166
  | UnexpectedClientError
@@ -173,14 +175,17 @@ export async function messagesRetrieve(
173
175
  { hdrs: true, key: "Result" },
174
176
  ),
175
177
  M.jsonErr(
176
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
178
+ [400, 401, 403, 404, 405, 409, 413, 415],
177
179
  errors.ErrorDto$inboundSchema,
178
180
  { hdrs: true },
179
181
  ),
180
182
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
181
183
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
182
- M.fail([429, 503]),
183
- M.fail(["4XX", "5XX"]),
184
+ M.fail(429),
185
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
186
+ M.fail(503),
187
+ M.fail("4XX"),
188
+ M.fail("5XX"),
184
189
  )(response, { extraFields: responseFields });
185
190
  if (!result.ok) {
186
191
  return result;
@@ -36,6 +36,7 @@ export async function notificationsList(
36
36
  | errors.ErrorDto
37
37
  | errors.ErrorDto
38
38
  | errors.ValidationErrorDto
39
+ | errors.ErrorDto
39
40
  | SDKError
40
41
  | SDKValidationError
41
42
  | UnexpectedClientError
@@ -74,9 +75,9 @@ export async function notificationsList(
74
75
 
75
76
  const headers = new Headers(compactMap({
76
77
  Accept: "application/json",
77
- "Idempotency-Key": encodeSimple(
78
- "Idempotency-Key",
79
- payload["Idempotency-Key"],
78
+ "idempotency-key": encodeSimple(
79
+ "idempotency-key",
80
+ payload["idempotency-key"],
80
81
  { explode: false, charEncoding: "none" },
81
82
  ),
82
83
  }));
@@ -105,7 +106,7 @@ export async function notificationsList(
105
106
  retryConnectionErrors: true,
106
107
  }
107
108
  || { strategy: "none" },
108
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
109
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
109
110
  };
110
111
 
111
112
  const requestRes = client._createRequest(context, {
@@ -159,6 +160,7 @@ export async function notificationsList(
159
160
  | errors.ErrorDto
160
161
  | errors.ErrorDto
161
162
  | errors.ValidationErrorDto
163
+ | errors.ErrorDto
162
164
  | SDKError
163
165
  | SDKValidationError
164
166
  | UnexpectedClientError
@@ -173,14 +175,17 @@ export async function notificationsList(
173
175
  { hdrs: true, key: "Result" },
174
176
  ),
175
177
  M.jsonErr(
176
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
178
+ [400, 401, 403, 404, 405, 409, 413, 415],
177
179
  errors.ErrorDto$inboundSchema,
178
180
  { hdrs: true },
179
181
  ),
180
182
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
181
183
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
182
- M.fail([429, 503]),
183
- M.fail(["4XX", "5XX"]),
184
+ M.fail(429),
185
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
186
+ M.fail(503),
187
+ M.fail("4XX"),
188
+ M.fail("5XX"),
184
189
  )(response, { extraFields: responseFields });
185
190
  if (!result.ok) {
186
191
  return result;
@@ -37,6 +37,7 @@ export async function notificationsRetrieve(
37
37
  | errors.ErrorDto
38
38
  | errors.ErrorDto
39
39
  | errors.ValidationErrorDto
40
+ | errors.ErrorDto
40
41
  | SDKError
41
42
  | SDKValidationError
42
43
  | UnexpectedClientError
@@ -75,9 +76,9 @@ export async function notificationsRetrieve(
75
76
 
76
77
  const headers = new Headers(compactMap({
77
78
  Accept: "application/json",
78
- "Idempotency-Key": encodeSimple(
79
- "Idempotency-Key",
80
- payload["Idempotency-Key"],
79
+ "idempotency-key": encodeSimple(
80
+ "idempotency-key",
81
+ payload["idempotency-key"],
81
82
  { explode: false, charEncoding: "none" },
82
83
  ),
83
84
  }));
@@ -106,7 +107,7 @@ export async function notificationsRetrieve(
106
107
  retryConnectionErrors: true,
107
108
  }
108
109
  || { strategy: "none" },
109
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
110
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
110
111
  };
111
112
 
112
113
  const requestRes = client._createRequest(context, {
@@ -159,6 +160,7 @@ export async function notificationsRetrieve(
159
160
  | errors.ErrorDto
160
161
  | errors.ErrorDto
161
162
  | errors.ValidationErrorDto
163
+ | errors.ErrorDto
162
164
  | SDKError
163
165
  | SDKValidationError
164
166
  | UnexpectedClientError
@@ -173,14 +175,17 @@ export async function notificationsRetrieve(
173
175
  { hdrs: true, key: "Result" },
174
176
  ),
175
177
  M.jsonErr(
176
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
178
+ [400, 401, 403, 404, 405, 409, 413, 415],
177
179
  errors.ErrorDto$inboundSchema,
178
180
  { hdrs: true },
179
181
  ),
180
182
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
181
183
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
182
- M.fail([429, 503]),
183
- M.fail(["4XX", "5XX"]),
184
+ M.fail(429),
185
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
186
+ M.fail(503),
187
+ M.fail("4XX"),
188
+ M.fail("5XX"),
184
189
  )(response, { extraFields: responseFields });
185
190
  if (!result.ok) {
186
191
  return result;
@@ -37,6 +37,7 @@ export async function notificationsStatsGraph(
37
37
  | errors.ErrorDto
38
38
  | errors.ErrorDto
39
39
  | errors.ValidationErrorDto
40
+ | errors.ErrorDto
40
41
  | SDKError
41
42
  | SDKValidationError
42
43
  | UnexpectedClientError
@@ -74,9 +75,9 @@ export async function notificationsStatsGraph(
74
75
 
75
76
  const headers = new Headers(compactMap({
76
77
  Accept: "application/json",
77
- "Idempotency-Key": encodeSimple(
78
- "Idempotency-Key",
79
- payload["Idempotency-Key"],
78
+ "idempotency-key": encodeSimple(
79
+ "idempotency-key",
80
+ payload["idempotency-key"],
80
81
  { explode: false, charEncoding: "none" },
81
82
  ),
82
83
  }));
@@ -105,7 +106,7 @@ export async function notificationsStatsGraph(
105
106
  retryConnectionErrors: true,
106
107
  }
107
108
  || { strategy: "none" },
108
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
109
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
109
110
  };
110
111
 
111
112
  const requestRes = client._createRequest(context, {
@@ -159,6 +160,7 @@ export async function notificationsStatsGraph(
159
160
  | errors.ErrorDto
160
161
  | errors.ErrorDto
161
162
  | errors.ValidationErrorDto
163
+ | errors.ErrorDto
162
164
  | SDKError
163
165
  | SDKValidationError
164
166
  | UnexpectedClientError
@@ -174,14 +176,17 @@ export async function notificationsStatsGraph(
174
176
  { hdrs: true, key: "Result" },
175
177
  ),
176
178
  M.jsonErr(
177
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
179
+ [400, 401, 403, 404, 405, 409, 413, 415],
178
180
  errors.ErrorDto$inboundSchema,
179
181
  { hdrs: true },
180
182
  ),
181
183
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
182
184
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
183
- M.fail([429, 503]),
184
- M.fail(["4XX", "5XX"]),
185
+ M.fail(429),
186
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
187
+ M.fail(503),
188
+ M.fail("4XX"),
189
+ M.fail("5XX"),
185
190
  )(response, { extraFields: responseFields });
186
191
  if (!result.ok) {
187
192
  return result;
@@ -36,6 +36,7 @@ export async function notificationsStatsRetrieve(
36
36
  | errors.ErrorDto
37
37
  | errors.ErrorDto
38
38
  | errors.ValidationErrorDto
39
+ | errors.ErrorDto
39
40
  | SDKError
40
41
  | SDKValidationError
41
42
  | UnexpectedClientError
@@ -66,9 +67,9 @@ export async function notificationsStatsRetrieve(
66
67
 
67
68
  const headers = new Headers(compactMap({
68
69
  Accept: "application/json",
69
- "Idempotency-Key": encodeSimple(
70
- "Idempotency-Key",
71
- payload["Idempotency-Key"],
70
+ "idempotency-key": encodeSimple(
71
+ "idempotency-key",
72
+ payload["idempotency-key"],
72
73
  { explode: false, charEncoding: "none" },
73
74
  ),
74
75
  }));
@@ -97,7 +98,7 @@ export async function notificationsStatsRetrieve(
97
98
  retryConnectionErrors: true,
98
99
  }
99
100
  || { strategy: "none" },
100
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
101
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
101
102
  };
102
103
 
103
104
  const requestRes = client._createRequest(context, {
@@ -150,6 +151,7 @@ export async function notificationsStatsRetrieve(
150
151
  | errors.ErrorDto
151
152
  | errors.ErrorDto
152
153
  | errors.ValidationErrorDto
154
+ | errors.ErrorDto
153
155
  | SDKError
154
156
  | SDKValidationError
155
157
  | UnexpectedClientError
@@ -164,14 +166,17 @@ export async function notificationsStatsRetrieve(
164
166
  { hdrs: true, key: "Result" },
165
167
  ),
166
168
  M.jsonErr(
167
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
169
+ [400, 401, 403, 404, 405, 409, 413, 415],
168
170
  errors.ErrorDto$inboundSchema,
169
171
  { hdrs: true },
170
172
  ),
171
173
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
172
174
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
173
- M.fail([429, 503]),
174
- M.fail(["4XX", "5XX"]),
175
+ M.fail(429),
176
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
177
+ M.fail(503),
178
+ M.fail("4XX"),
179
+ M.fail("5XX"),
175
180
  )(response, { extraFields: responseFields });
176
181
  if (!result.ok) {
177
182
  return result;
@@ -36,6 +36,7 @@ export async function subscribersAuthenticationChatAccessOauth(
36
36
  | errors.ErrorDto
37
37
  | errors.ErrorDto
38
38
  | errors.ValidationErrorDto
39
+ | errors.ErrorDto
39
40
  | SDKError
40
41
  | SDKValidationError
41
42
  | UnexpectedClientError
@@ -81,9 +82,9 @@ export async function subscribersAuthenticationChatAccessOauth(
81
82
 
82
83
  const headers = new Headers(compactMap({
83
84
  Accept: "application/json",
84
- "Idempotency-Key": encodeSimple(
85
- "Idempotency-Key",
86
- payload["Idempotency-Key"],
85
+ "idempotency-key": encodeSimple(
86
+ "idempotency-key",
87
+ payload["idempotency-key"],
87
88
  { explode: false, charEncoding: "none" },
88
89
  ),
89
90
  }));
@@ -112,7 +113,7 @@ export async function subscribersAuthenticationChatAccessOauth(
112
113
  retryConnectionErrors: true,
113
114
  }
114
115
  || { strategy: "none" },
115
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
116
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
116
117
  };
117
118
 
118
119
  const requestRes = client._createRequest(context, {
@@ -166,6 +167,7 @@ export async function subscribersAuthenticationChatAccessOauth(
166
167
  | errors.ErrorDto
167
168
  | errors.ErrorDto
168
169
  | errors.ValidationErrorDto
170
+ | errors.ErrorDto
169
171
  | SDKError
170
172
  | SDKValidationError
171
173
  | UnexpectedClientError
@@ -180,14 +182,17 @@ export async function subscribersAuthenticationChatAccessOauth(
180
182
  .optional(),
181
183
  ),
182
184
  M.jsonErr(
183
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
185
+ [400, 401, 403, 404, 405, 409, 413, 415],
184
186
  errors.ErrorDto$inboundSchema,
185
187
  { hdrs: true },
186
188
  ),
187
189
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
188
190
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
189
- M.fail([429, 503]),
190
- M.fail(["4XX", "5XX"]),
191
+ M.fail(429),
192
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
193
+ M.fail(503),
194
+ M.fail("4XX"),
195
+ M.fail("5XX"),
191
196
  )(response, { extraFields: responseFields });
192
197
  if (!result.ok) {
193
198
  return result;
@@ -43,6 +43,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
43
43
  | errors.ErrorDto
44
44
  | errors.ErrorDto
45
45
  | errors.ValidationErrorDto
46
+ | errors.ErrorDto
46
47
  | SDKError
47
48
  | SDKValidationError
48
49
  | UnexpectedClientError
@@ -90,9 +91,9 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
90
91
  const headers = new Headers(compactMap({
91
92
  Accept: options?.acceptHeaderOverride
92
93
  || "application/json;q=1, text/html;q=0",
93
- "Idempotency-Key": encodeSimple(
94
- "Idempotency-Key",
95
- payload["Idempotency-Key"],
94
+ "idempotency-key": encodeSimple(
95
+ "idempotency-key",
96
+ payload["idempotency-key"],
96
97
  { explode: false, charEncoding: "none" },
97
98
  ),
98
99
  }));
@@ -121,7 +122,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
121
122
  retryConnectionErrors: true,
122
123
  }
123
124
  || { strategy: "none" },
124
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
125
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
125
126
  };
126
127
 
127
128
  const requestRes = client._createRequest(context, {
@@ -175,6 +176,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
175
176
  | errors.ErrorDto
176
177
  | errors.ErrorDto
177
178
  | errors.ValidationErrorDto
179
+ | errors.ErrorDto
178
180
  | SDKError
179
181
  | SDKValidationError
180
182
  | UnexpectedClientError
@@ -194,14 +196,17 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
194
196
  { hdrs: true, key: "Result" },
195
197
  ),
196
198
  M.jsonErr(
197
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
199
+ [400, 401, 403, 404, 405, 409, 413, 415],
198
200
  errors.ErrorDto$inboundSchema,
199
201
  { hdrs: true },
200
202
  ),
201
203
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
202
204
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
203
- M.fail([429, 503]),
204
- M.fail(["4XX", "5XX"]),
205
+ M.fail(429),
206
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
207
+ M.fail(503),
208
+ M.fail("4XX"),
209
+ M.fail("5XX"),
205
210
  )(response, { extraFields: responseFields });
206
211
  if (!result.ok) {
207
212
  return result;
@@ -41,6 +41,7 @@ export async function subscribersCreate(
41
41
  | errors.ErrorDto
42
42
  | errors.ErrorDto
43
43
  | errors.ValidationErrorDto
44
+ | errors.ErrorDto
44
45
  | SDKError
45
46
  | SDKValidationError
46
47
  | UnexpectedClientError
@@ -75,9 +76,9 @@ export async function subscribersCreate(
75
76
  const headers = new Headers(compactMap({
76
77
  "Content-Type": "application/json",
77
78
  Accept: "application/json",
78
- "Idempotency-Key": encodeSimple(
79
- "Idempotency-Key",
80
- payload["Idempotency-Key"],
79
+ "idempotency-key": encodeSimple(
80
+ "idempotency-key",
81
+ payload["idempotency-key"],
81
82
  { explode: false, charEncoding: "none" },
82
83
  ),
83
84
  }));
@@ -106,7 +107,7 @@ export async function subscribersCreate(
106
107
  retryConnectionErrors: true,
107
108
  }
108
109
  || { strategy: "none" },
109
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
110
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
110
111
  };
111
112
 
112
113
  const requestRes = client._createRequest(context, {
@@ -159,6 +160,7 @@ export async function subscribersCreate(
159
160
  | errors.ErrorDto
160
161
  | errors.ErrorDto
161
162
  | errors.ValidationErrorDto
163
+ | errors.ErrorDto
162
164
  | SDKError
163
165
  | SDKValidationError
164
166
  | UnexpectedClientError
@@ -173,14 +175,17 @@ export async function subscribersCreate(
173
175
  { hdrs: true, key: "Result" },
174
176
  ),
175
177
  M.jsonErr(
176
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
178
+ [400, 401, 403, 404, 405, 409, 413, 415],
177
179
  errors.ErrorDto$inboundSchema,
178
180
  { hdrs: true },
179
181
  ),
180
182
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
181
183
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
182
- M.fail([429, 503]),
183
- M.fail(["4XX", "5XX"]),
184
+ M.fail(429),
185
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
186
+ M.fail(503),
187
+ M.fail("4XX"),
188
+ M.fail("5XX"),
184
189
  )(response, { extraFields: responseFields });
185
190
  if (!result.ok) {
186
191
  return result;
@@ -43,6 +43,7 @@ export async function subscribersCreateBulk(
43
43
  | errors.ErrorDto
44
44
  | errors.ErrorDto
45
45
  | errors.ValidationErrorDto
46
+ | errors.ErrorDto
46
47
  | SDKError
47
48
  | SDKValidationError
48
49
  | UnexpectedClientError
@@ -79,9 +80,9 @@ export async function subscribersCreateBulk(
79
80
  const headers = new Headers(compactMap({
80
81
  "Content-Type": "application/json",
81
82
  Accept: "application/json",
82
- "Idempotency-Key": encodeSimple(
83
- "Idempotency-Key",
84
- payload["Idempotency-Key"],
83
+ "idempotency-key": encodeSimple(
84
+ "idempotency-key",
85
+ payload["idempotency-key"],
85
86
  { explode: false, charEncoding: "none" },
86
87
  ),
87
88
  }));
@@ -110,7 +111,7 @@ export async function subscribersCreateBulk(
110
111
  retryConnectionErrors: true,
111
112
  }
112
113
  || { strategy: "none" },
113
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
114
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
114
115
  };
115
116
 
116
117
  const requestRes = client._createRequest(context, {
@@ -163,6 +164,7 @@ export async function subscribersCreateBulk(
163
164
  | errors.ErrorDto
164
165
  | errors.ErrorDto
165
166
  | errors.ValidationErrorDto
167
+ | errors.ErrorDto
166
168
  | SDKError
167
169
  | SDKValidationError
168
170
  | UnexpectedClientError
@@ -178,14 +180,17 @@ export async function subscribersCreateBulk(
178
180
  { hdrs: true, key: "Result" },
179
181
  ),
180
182
  M.jsonErr(
181
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
183
+ [400, 401, 403, 404, 405, 409, 413, 415],
182
184
  errors.ErrorDto$inboundSchema,
183
185
  { hdrs: true },
184
186
  ),
185
187
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
186
188
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
187
- M.fail([429, 503]),
188
- M.fail(["4XX", "5XX"]),
189
+ M.fail(429),
190
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
191
+ M.fail(503),
192
+ M.fail("4XX"),
193
+ M.fail("5XX"),
189
194
  )(response, { extraFields: responseFields });
190
195
  if (!result.ok) {
191
196
  return result;
@@ -44,6 +44,7 @@ export async function subscribersCredentialsAppend(
44
44
  | errors.ErrorDto
45
45
  | errors.ErrorDto
46
46
  | errors.ValidationErrorDto
47
+ | errors.ErrorDto
47
48
  | SDKError
48
49
  | SDKValidationError
49
50
  | UnexpectedClientError
@@ -90,9 +91,9 @@ export async function subscribersCredentialsAppend(
90
91
  const headers = new Headers(compactMap({
91
92
  "Content-Type": "application/json",
92
93
  Accept: "application/json",
93
- "Idempotency-Key": encodeSimple(
94
- "Idempotency-Key",
95
- payload["Idempotency-Key"],
94
+ "idempotency-key": encodeSimple(
95
+ "idempotency-key",
96
+ payload["idempotency-key"],
96
97
  { explode: false, charEncoding: "none" },
97
98
  ),
98
99
  }));
@@ -121,7 +122,7 @@ export async function subscribersCredentialsAppend(
121
122
  retryConnectionErrors: true,
122
123
  }
123
124
  || { strategy: "none" },
124
- retryCodes: options?.retryCodes || ["408", "422", "429", "5XX"],
125
+ retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
125
126
  };
126
127
 
127
128
  const requestRes = client._createRequest(context, {
@@ -174,6 +175,7 @@ export async function subscribersCredentialsAppend(
174
175
  | errors.ErrorDto
175
176
  | errors.ErrorDto
176
177
  | errors.ValidationErrorDto
178
+ | errors.ErrorDto
177
179
  | SDKError
178
180
  | SDKValidationError
179
181
  | UnexpectedClientError
@@ -189,14 +191,17 @@ export async function subscribersCredentialsAppend(
189
191
  { hdrs: true, key: "Result" },
190
192
  ),
191
193
  M.jsonErr(
192
- [400, 401, 403, 404, 405, 409, 413, 415, 500],
194
+ [400, 401, 403, 404, 405, 409, 413, 415],
193
195
  errors.ErrorDto$inboundSchema,
194
196
  { hdrs: true },
195
197
  ),
196
198
  M.jsonErr(414, errors.ErrorDto$inboundSchema),
197
199
  M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
198
- M.fail([429, 503]),
199
- M.fail(["4XX", "5XX"]),
200
+ M.fail(429),
201
+ M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
202
+ M.fail(503),
203
+ M.fail("4XX"),
204
+ M.fail("5XX"),
200
205
  )(response, { extraFields: responseFields });
201
206
  if (!result.ok) {
202
207
  return result;