@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.
- package/README.md +12 -6
- package/docs/sdks/admin/README.md +14 -12
- package/docs/sdks/authentication/README.md +14 -12
- package/docs/sdks/credentials/README.md +21 -18
- package/docs/sdks/integrations/README.md +42 -36
- package/docs/sdks/messages/README.md +21 -18
- package/docs/sdks/notifications/README.md +14 -12
- package/docs/sdks/novu/README.md +28 -24
- package/docs/sdks/novumessages/README.md +21 -18
- package/docs/sdks/novunotifications/README.md +14 -12
- package/docs/sdks/novusubscribers/README.md +21 -18
- package/docs/sdks/preferences/README.md +28 -24
- package/docs/sdks/properties/README.md +7 -6
- package/docs/sdks/stats/README.md +14 -12
- package/docs/sdks/subscribers/README.md +42 -36
- package/docs/sdks/topics/README.md +35 -30
- package/docs/sdks/webhooks/README.md +7 -6
- package/funcs/adminIdempotencyGet.d.ts +1 -1
- package/funcs/adminIdempotencyGet.d.ts.map +1 -1
- package/funcs/adminIdempotencyGet.js +3 -3
- package/funcs/adminIdempotencyGet.js.map +1 -1
- package/funcs/adminIdempotencyPost.d.ts +1 -1
- package/funcs/adminIdempotencyPost.d.ts.map +1 -1
- package/funcs/adminIdempotencyPost.js +3 -3
- package/funcs/adminIdempotencyPost.js.map +1 -1
- package/funcs/cancel.d.ts +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +3 -3
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +3 -3
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +3 -3
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +3 -3
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +3 -3
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +3 -3
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +3 -3
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +3 -3
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.d.ts +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +3 -3
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +3 -3
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +3 -3
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +3 -3
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +3 -3
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +3 -3
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +3 -3
- package/funcs/notificationsStatsRetrieve.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +3 -3
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +3 -3
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
- package/funcs/subscribersCreate.d.ts +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +3 -3
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +3 -3
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +3 -3
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +3 -3
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +3 -3
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts +1 -1
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +3 -3
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersList.d.ts +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +3 -3
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +3 -3
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +3 -3
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +3 -3
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +3 -3
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +3 -3
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +3 -3
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +3 -3
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +3 -3
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +3 -3
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +3 -3
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +3 -3
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersUpdate.d.ts +1 -1
- package/funcs/subscribersUpdate.d.ts.map +1 -1
- package/funcs/subscribersUpdate.js +3 -3
- package/funcs/subscribersUpdate.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +3 -3
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +3 -3
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +3 -3
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js.map +1 -1
- package/funcs/topicsCreate.d.ts +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +3 -3
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +3 -3
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.d.ts +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +3 -3
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.d.ts +1 -1
- package/funcs/topicsRename.d.ts.map +1 -1
- package/funcs/topicsRename.js +3 -3
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.d.ts +1 -1
- package/funcs/topicsRetrieve.d.ts.map +1 -1
- package/funcs/topicsRetrieve.js +3 -3
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.d.ts +1 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
- package/funcs/topicsSubscribersAssign.js +3 -3
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.d.ts +1 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
- package/funcs/topicsSubscribersRemove.js +3 -3
- package/funcs/topicsSubscribersRemove.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +3 -3
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.d.ts +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +3 -3
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +3 -3
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +3 -3
- package/funcs/triggerBulk.js.map +1 -1
- package/hooks/novu-custom-hook.js +2 -2
- package/hooks/novu-custom-hook.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts +2 -2
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.js +2 -2
- package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -1
- package/models/components/activitynotificationsubscriberresponsedto.d.ts +5 -0
- package/models/components/activitynotificationsubscriberresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationsubscriberresponsedto.js +2 -0
- package/models/components/activitynotificationsubscriberresponsedto.js.map +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.d.ts +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.js +3 -3
- package/models/operations/eventscontrollercancel.d.ts +1 -1
- package/models/operations/eventscontrollercancel.js +3 -3
- package/models/operations/eventscontrollertrigger.d.ts +1 -1
- package/models/operations/eventscontrollertrigger.js +3 -3
- package/models/operations/eventscontrollertriggerbulk.d.ts +1 -1
- package/models/operations/eventscontrollertriggerbulk.js +3 -3
- package/models/operations/integrationscontrollercreateintegration.d.ts +1 -1
- package/models/operations/integrationscontrollercreateintegration.js +3 -3
- package/models/operations/integrationscontrollergetactiveintegrations.d.ts +1 -1
- package/models/operations/integrationscontrollergetactiveintegrations.js +3 -3
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +3 -3
- package/models/operations/integrationscontrollerlistintegrations.d.ts +1 -1
- package/models/operations/integrationscontrollerlistintegrations.js +3 -3
- package/models/operations/integrationscontrollerremoveintegration.d.ts +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +3 -3
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +3 -3
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +3 -3
- package/models/operations/messagescontrollerdeletemessage.d.ts +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +3 -3
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +3 -3
- package/models/operations/messagescontrollergetmessages.d.ts +1 -1
- package/models/operations/messagescontrollergetmessages.js +3 -3
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +3 -3
- package/models/operations/notificationscontrollergetactivitystats.d.ts +1 -1
- package/models/operations/notificationscontrollergetactivitystats.js +3 -3
- package/models/operations/notificationscontrollergetnotification.d.ts +1 -1
- package/models/operations/notificationscontrollergetnotification.js +3 -3
- package/models/operations/notificationscontrollerlistnotifications.d.ts +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +3 -3
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +3 -3
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +3 -3
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +3 -3
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +3 -3
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +3 -3
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +3 -3
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +3 -3
- package/models/operations/subscriberscontrollergetunseencount.d.ts +1 -1
- package/models/operations/subscriberscontrollergetunseencount.js +3 -3
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +3 -3
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +3 -3
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +3 -3
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +3 -3
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +3 -3
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +3 -3
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js +3 -3
- package/models/operations/testingcontrolleridempotency.d.ts +1 -1
- package/models/operations/testingcontrolleridempotency.js +3 -3
- package/models/operations/testingcontrolleridempotencyget.d.ts +1 -1
- package/models/operations/testingcontrolleridempotencyget.js +3 -3
- package/models/operations/topicscontrollerassign.d.ts +1 -1
- package/models/operations/topicscontrollerassign.js +3 -3
- package/models/operations/topicscontrollercreatetopic.d.ts +1 -1
- package/models/operations/topicscontrollercreatetopic.js +3 -3
- package/models/operations/topicscontrollerdeletetopic.d.ts +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +3 -3
- package/models/operations/topicscontrollergettopic.d.ts +1 -1
- package/models/operations/topicscontrollergettopic.js +3 -3
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +3 -3
- package/models/operations/topicscontrollerlisttopics.d.ts +1 -1
- package/models/operations/topicscontrollerlisttopics.js +3 -3
- package/models/operations/topicscontrollerremovesubscribers.d.ts +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +3 -3
- package/models/operations/topicscontrollerrenametopic.d.ts +1 -1
- package/models/operations/topicscontrollerrenametopic.js +3 -3
- package/package.json +1 -1
- package/src/funcs/adminIdempotencyGet.ts +12 -7
- package/src/funcs/adminIdempotencyPost.ts +12 -7
- package/src/funcs/cancel.ts +12 -7
- package/src/funcs/integrationsCreate.ts +12 -7
- package/src/funcs/integrationsDelete.ts +12 -7
- package/src/funcs/integrationsList.ts +12 -7
- package/src/funcs/integrationsListActive.ts +12 -7
- package/src/funcs/integrationsSetAsPrimary.ts +12 -7
- package/src/funcs/integrationsUpdate.ts +12 -7
- package/src/funcs/integrationsWebhooksRetrieve.ts +12 -7
- package/src/funcs/messagesDelete.ts +12 -7
- package/src/funcs/messagesDeleteByTransactionId.ts +12 -7
- package/src/funcs/messagesRetrieve.ts +12 -7
- package/src/funcs/notificationsList.ts +12 -7
- package/src/funcs/notificationsRetrieve.ts +12 -7
- package/src/funcs/notificationsStatsGraph.ts +12 -7
- package/src/funcs/notificationsStatsRetrieve.ts +12 -7
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +12 -7
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +12 -7
- package/src/funcs/subscribersCreate.ts +12 -7
- package/src/funcs/subscribersCreateBulk.ts +12 -7
- package/src/funcs/subscribersCredentialsAppend.ts +12 -7
- package/src/funcs/subscribersCredentialsDelete.ts +12 -7
- package/src/funcs/subscribersCredentialsUpdate.ts +12 -7
- package/src/funcs/subscribersDelete.ts +12 -7
- package/src/funcs/subscribersList.ts +13 -7
- package/src/funcs/subscribersMessagesMarkAll.ts +12 -7
- package/src/funcs/subscribersMessagesMarkAllAs.ts +12 -7
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +12 -7
- package/src/funcs/subscribersNotificationsFeed.ts +12 -7
- package/src/funcs/subscribersNotificationsUnseenCount.ts +12 -7
- package/src/funcs/subscribersPreferencesList.ts +12 -7
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +12 -7
- package/src/funcs/subscribersPreferencesUpdate.ts +12 -7
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +12 -7
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +12 -7
- package/src/funcs/subscribersRetrieve.ts +12 -7
- package/src/funcs/subscribersUpdate.ts +12 -7
- package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +6 -5
- package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +6 -5
- package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +6 -5
- package/src/funcs/topicsCreate.ts +12 -7
- package/src/funcs/topicsDelete.ts +12 -7
- package/src/funcs/topicsList.ts +12 -7
- package/src/funcs/topicsRename.ts +12 -7
- package/src/funcs/topicsRetrieve.ts +12 -7
- package/src/funcs/topicsSubscribersAssign.ts +12 -7
- package/src/funcs/topicsSubscribersRemove.ts +12 -7
- package/src/funcs/topicsSubscribersRetrieve.ts +12 -7
- package/src/funcs/trigger.ts +12 -7
- package/src/funcs/triggerBroadcast.ts +12 -7
- package/src/funcs/triggerBulk.ts +12 -7
- package/src/hooks/novu-custom-hook.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/activitynotificationexecutiondetailresponsedto.ts +4 -4
- package/src/models/components/activitynotificationsubscriberresponsedto.ts +7 -0
- package/src/models/operations/eventscontrollerbroadcasteventtoall.ts +4 -4
- package/src/models/operations/eventscontrollercancel.ts +4 -4
- package/src/models/operations/eventscontrollertrigger.ts +4 -4
- package/src/models/operations/eventscontrollertriggerbulk.ts +4 -4
- package/src/models/operations/integrationscontrollercreateintegration.ts +4 -4
- package/src/models/operations/integrationscontrollergetactiveintegrations.ts +4 -4
- package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +4 -4
- package/src/models/operations/integrationscontrollerlistintegrations.ts +4 -4
- package/src/models/operations/integrationscontrollerremoveintegration.ts +4 -4
- package/src/models/operations/integrationscontrollersetintegrationasprimary.ts +4 -4
- package/src/models/operations/integrationscontrollerupdateintegrationbyid.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessage.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +4 -4
- package/src/models/operations/messagescontrollergetmessages.ts +4 -4
- package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +4 -4
- package/src/models/operations/notificationscontrollergetactivitystats.ts +4 -4
- package/src/models/operations/notificationscontrollergetnotification.ts +4 -4
- package/src/models/operations/notificationscontrollerlistnotifications.ts +4 -4
- package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +4 -4
- package/src/models/operations/subscriberscontrollerchataccessoauth.ts +4 -4
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +4 -4
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +4 -4
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +4 -4
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +4 -4
- package/src/models/operations/subscriberscontrollergetunseencount.ts +4 -4
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +4 -4
- package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.ts +4 -4
- package/src/models/operations/testingcontrolleridempotency.ts +4 -4
- package/src/models/operations/testingcontrolleridempotencyget.ts +4 -4
- package/src/models/operations/topicscontrollerassign.ts +4 -4
- package/src/models/operations/topicscontrollercreatetopic.ts +4 -4
- package/src/models/operations/topicscontrollerdeletetopic.ts +4 -4
- package/src/models/operations/topicscontrollergettopic.ts +4 -4
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +4 -4
- package/src/models/operations/topicscontrollerlisttopics.ts +4 -4
- package/src/models/operations/topicscontrollerremovesubscribers.ts +4 -4
- package/src/models/operations/topicscontrollerrenametopic.ts +4 -4
|
@@ -42,6 +42,7 @@ export async function subscribersCredentialsDelete(
|
|
|
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 subscribersCredentialsDelete(
|
|
|
89
90
|
|
|
90
91
|
const headers = new Headers(compactMap({
|
|
91
92
|
Accept: "application/json",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
payload["
|
|
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 subscribersCredentialsDelete(
|
|
|
120
121
|
retryConnectionErrors: true,
|
|
121
122
|
}
|
|
122
123
|
|| { strategy: "none" },
|
|
123
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
124
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
124
125
|
};
|
|
125
126
|
|
|
126
127
|
const requestRes = client._createRequest(context, {
|
|
@@ -174,6 +175,7 @@ export async function subscribersCredentialsDelete(
|
|
|
174
175
|
| errors.ErrorDto
|
|
175
176
|
| errors.ErrorDto
|
|
176
177
|
| errors.ValidationErrorDto
|
|
178
|
+
| errors.ErrorDto
|
|
177
179
|
| SDKError
|
|
178
180
|
| SDKValidationError
|
|
179
181
|
| UnexpectedClientError
|
|
@@ -190,14 +192,17 @@ export async function subscribersCredentialsDelete(
|
|
|
190
192
|
{ hdrs: true },
|
|
191
193
|
),
|
|
192
194
|
M.jsonErr(
|
|
193
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
195
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
194
196
|
errors.ErrorDto$inboundSchema,
|
|
195
197
|
{ hdrs: true },
|
|
196
198
|
),
|
|
197
199
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
198
200
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
199
|
-
M.fail(
|
|
200
|
-
M.
|
|
201
|
+
M.fail(429),
|
|
202
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
203
|
+
M.fail(503),
|
|
204
|
+
M.fail("4XX"),
|
|
205
|
+
M.fail("5XX"),
|
|
201
206
|
)(response, { extraFields: responseFields });
|
|
202
207
|
if (!result.ok) {
|
|
203
208
|
return result;
|
|
@@ -43,6 +43,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
43
43
|
| errors.ErrorDto
|
|
44
44
|
| errors.ErrorDto
|
|
45
45
|
| errors.ValidationErrorDto
|
|
46
|
+
| errors.ErrorDto
|
|
46
47
|
| SDKError
|
|
47
48
|
| SDKValidationError
|
|
48
49
|
| UnexpectedClientError
|
|
@@ -89,9 +90,9 @@ export async function subscribersCredentialsUpdate(
|
|
|
89
90
|
const headers = new Headers(compactMap({
|
|
90
91
|
"Content-Type": "application/json",
|
|
91
92
|
Accept: "application/json",
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
payload["
|
|
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 subscribersCredentialsUpdate(
|
|
|
120
121
|
retryConnectionErrors: true,
|
|
121
122
|
}
|
|
122
123
|
|| { strategy: "none" },
|
|
123
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
124
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
124
125
|
};
|
|
125
126
|
|
|
126
127
|
const requestRes = client._createRequest(context, {
|
|
@@ -173,6 +174,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
173
174
|
| errors.ErrorDto
|
|
174
175
|
| errors.ErrorDto
|
|
175
176
|
| errors.ValidationErrorDto
|
|
177
|
+
| errors.ErrorDto
|
|
176
178
|
| SDKError
|
|
177
179
|
| SDKValidationError
|
|
178
180
|
| UnexpectedClientError
|
|
@@ -188,14 +190,17 @@ export async function subscribersCredentialsUpdate(
|
|
|
188
190
|
{ hdrs: true, key: "Result" },
|
|
189
191
|
),
|
|
190
192
|
M.jsonErr(
|
|
191
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
193
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
192
194
|
errors.ErrorDto$inboundSchema,
|
|
193
195
|
{ hdrs: true },
|
|
194
196
|
),
|
|
195
197
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
196
198
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
197
|
-
M.fail(
|
|
198
|
-
M.
|
|
199
|
+
M.fail(429),
|
|
200
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
201
|
+
M.fail(503),
|
|
202
|
+
M.fail("4XX"),
|
|
203
|
+
M.fail("5XX"),
|
|
199
204
|
)(response, { extraFields: responseFields });
|
|
200
205
|
if (!result.ok) {
|
|
201
206
|
return result;
|
|
@@ -40,6 +40,7 @@ export async function subscribersDelete(
|
|
|
40
40
|
| errors.ErrorDto
|
|
41
41
|
| errors.ErrorDto
|
|
42
42
|
| errors.ValidationErrorDto
|
|
43
|
+
| errors.ErrorDto
|
|
43
44
|
| SDKError
|
|
44
45
|
| SDKValidationError
|
|
45
46
|
| UnexpectedClientError
|
|
@@ -78,9 +79,9 @@ export async function subscribersDelete(
|
|
|
78
79
|
|
|
79
80
|
const headers = new Headers(compactMap({
|
|
80
81
|
Accept: "application/json",
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
payload["
|
|
82
|
+
"idempotency-key": encodeSimple(
|
|
83
|
+
"idempotency-key",
|
|
84
|
+
payload["idempotency-key"],
|
|
84
85
|
{ explode: false, charEncoding: "none" },
|
|
85
86
|
),
|
|
86
87
|
}));
|
|
@@ -109,7 +110,7 @@ export async function subscribersDelete(
|
|
|
109
110
|
retryConnectionErrors: true,
|
|
110
111
|
}
|
|
111
112
|
|| { strategy: "none" },
|
|
112
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
113
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
113
114
|
};
|
|
114
115
|
|
|
115
116
|
const requestRes = client._createRequest(context, {
|
|
@@ -162,6 +163,7 @@ export async function subscribersDelete(
|
|
|
162
163
|
| errors.ErrorDto
|
|
163
164
|
| errors.ErrorDto
|
|
164
165
|
| errors.ValidationErrorDto
|
|
166
|
+
| errors.ErrorDto
|
|
165
167
|
| SDKError
|
|
166
168
|
| SDKValidationError
|
|
167
169
|
| UnexpectedClientError
|
|
@@ -176,14 +178,17 @@ export async function subscribersDelete(
|
|
|
176
178
|
{ hdrs: true, key: "Result" },
|
|
177
179
|
),
|
|
178
180
|
M.jsonErr(
|
|
179
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
181
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
180
182
|
errors.ErrorDto$inboundSchema,
|
|
181
183
|
{ hdrs: true },
|
|
182
184
|
),
|
|
183
185
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
184
186
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
185
|
-
M.fail(
|
|
186
|
-
M.
|
|
187
|
+
M.fail(429),
|
|
188
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
189
|
+
M.fail(503),
|
|
190
|
+
M.fail("4XX"),
|
|
191
|
+
M.fail("5XX"),
|
|
187
192
|
)(response, { extraFields: responseFields });
|
|
188
193
|
if (!result.ok) {
|
|
189
194
|
return result;
|
|
@@ -49,6 +49,7 @@ export async function subscribersList(
|
|
|
49
49
|
| errors.ErrorDto
|
|
50
50
|
| errors.ErrorDto
|
|
51
51
|
| errors.ValidationErrorDto
|
|
52
|
+
| errors.ErrorDto
|
|
52
53
|
| SDKError
|
|
53
54
|
| SDKValidationError
|
|
54
55
|
| UnexpectedClientError
|
|
@@ -88,9 +89,9 @@ export async function subscribersList(
|
|
|
88
89
|
|
|
89
90
|
const headers = new Headers(compactMap({
|
|
90
91
|
Accept: "application/json",
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
payload["
|
|
92
|
+
"idempotency-key": encodeSimple(
|
|
93
|
+
"idempotency-key",
|
|
94
|
+
payload["idempotency-key"],
|
|
94
95
|
{ explode: false, charEncoding: "none" },
|
|
95
96
|
),
|
|
96
97
|
}));
|
|
@@ -119,7 +120,7 @@ export async function subscribersList(
|
|
|
119
120
|
retryConnectionErrors: true,
|
|
120
121
|
}
|
|
121
122
|
|| { strategy: "none" },
|
|
122
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
123
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
123
124
|
};
|
|
124
125
|
|
|
125
126
|
const requestRes = client._createRequest(context, {
|
|
@@ -173,6 +174,7 @@ export async function subscribersList(
|
|
|
173
174
|
| errors.ErrorDto
|
|
174
175
|
| errors.ErrorDto
|
|
175
176
|
| errors.ValidationErrorDto
|
|
177
|
+
| errors.ErrorDto
|
|
176
178
|
| SDKError
|
|
177
179
|
| SDKValidationError
|
|
178
180
|
| UnexpectedClientError
|
|
@@ -187,14 +189,17 @@ export async function subscribersList(
|
|
|
187
189
|
{ hdrs: true, key: "Result" },
|
|
188
190
|
),
|
|
189
191
|
M.jsonErr(
|
|
190
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
192
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
191
193
|
errors.ErrorDto$inboundSchema,
|
|
192
194
|
{ hdrs: true },
|
|
193
195
|
),
|
|
194
196
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
195
197
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
196
|
-
M.fail(
|
|
197
|
-
M.
|
|
198
|
+
M.fail(429),
|
|
199
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
200
|
+
M.fail(503),
|
|
201
|
+
M.fail("4XX"),
|
|
202
|
+
M.fail("5XX"),
|
|
198
203
|
)(response, { extraFields: responseFields });
|
|
199
204
|
if (!result.ok) {
|
|
200
205
|
return haltIterator(result);
|
|
@@ -209,6 +214,7 @@ export async function subscribersList(
|
|
|
209
214
|
| errors.ErrorDto
|
|
210
215
|
| errors.ErrorDto
|
|
211
216
|
| errors.ValidationErrorDto
|
|
217
|
+
| errors.ErrorDto
|
|
212
218
|
| SDKError
|
|
213
219
|
| SDKValidationError
|
|
214
220
|
| UnexpectedClientError
|
|
@@ -39,6 +39,7 @@ export async function subscribersMessagesMarkAll(
|
|
|
39
39
|
| errors.ErrorDto
|
|
40
40
|
| errors.ErrorDto
|
|
41
41
|
| errors.ValidationErrorDto
|
|
42
|
+
| errors.ErrorDto
|
|
42
43
|
| SDKError
|
|
43
44
|
| SDKValidationError
|
|
44
45
|
| UnexpectedClientError
|
|
@@ -83,9 +84,9 @@ export async function subscribersMessagesMarkAll(
|
|
|
83
84
|
const headers = new Headers(compactMap({
|
|
84
85
|
"Content-Type": "application/json",
|
|
85
86
|
Accept: "application/json",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
payload["
|
|
87
|
+
"idempotency-key": encodeSimple(
|
|
88
|
+
"idempotency-key",
|
|
89
|
+
payload["idempotency-key"],
|
|
89
90
|
{ explode: false, charEncoding: "none" },
|
|
90
91
|
),
|
|
91
92
|
}));
|
|
@@ -114,7 +115,7 @@ export async function subscribersMessagesMarkAll(
|
|
|
114
115
|
retryConnectionErrors: true,
|
|
115
116
|
}
|
|
116
117
|
|| { strategy: "none" },
|
|
117
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
118
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
118
119
|
};
|
|
119
120
|
|
|
120
121
|
const requestRes = client._createRequest(context, {
|
|
@@ -167,6 +168,7 @@ export async function subscribersMessagesMarkAll(
|
|
|
167
168
|
| errors.ErrorDto
|
|
168
169
|
| errors.ErrorDto
|
|
169
170
|
| errors.ValidationErrorDto
|
|
171
|
+
| errors.ErrorDto
|
|
170
172
|
| SDKError
|
|
171
173
|
| SDKValidationError
|
|
172
174
|
| UnexpectedClientError
|
|
@@ -181,14 +183,17 @@ export async function subscribersMessagesMarkAll(
|
|
|
181
183
|
{ hdrs: true, key: "Result" },
|
|
182
184
|
),
|
|
183
185
|
M.jsonErr(
|
|
184
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
186
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
185
187
|
errors.ErrorDto$inboundSchema,
|
|
186
188
|
{ hdrs: true },
|
|
187
189
|
),
|
|
188
190
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
189
191
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
190
|
-
M.fail(
|
|
191
|
-
M.
|
|
192
|
+
M.fail(429),
|
|
193
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
194
|
+
M.fail(503),
|
|
195
|
+
M.fail("4XX"),
|
|
196
|
+
M.fail("5XX"),
|
|
192
197
|
)(response, { extraFields: responseFields });
|
|
193
198
|
if (!result.ok) {
|
|
194
199
|
return result;
|
|
@@ -39,6 +39,7 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
39
39
|
| errors.ErrorDto
|
|
40
40
|
| errors.ErrorDto
|
|
41
41
|
| errors.ValidationErrorDto
|
|
42
|
+
| errors.ErrorDto
|
|
42
43
|
| SDKError
|
|
43
44
|
| SDKValidationError
|
|
44
45
|
| UnexpectedClientError
|
|
@@ -83,9 +84,9 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
83
84
|
const headers = new Headers(compactMap({
|
|
84
85
|
"Content-Type": "application/json",
|
|
85
86
|
Accept: "application/json",
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
payload["
|
|
87
|
+
"idempotency-key": encodeSimple(
|
|
88
|
+
"idempotency-key",
|
|
89
|
+
payload["idempotency-key"],
|
|
89
90
|
{ explode: false, charEncoding: "none" },
|
|
90
91
|
),
|
|
91
92
|
}));
|
|
@@ -114,7 +115,7 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
114
115
|
retryConnectionErrors: true,
|
|
115
116
|
}
|
|
116
117
|
|| { strategy: "none" },
|
|
117
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
118
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
118
119
|
};
|
|
119
120
|
|
|
120
121
|
const requestRes = client._createRequest(context, {
|
|
@@ -167,6 +168,7 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
167
168
|
| errors.ErrorDto
|
|
168
169
|
| errors.ErrorDto
|
|
169
170
|
| errors.ValidationErrorDto
|
|
171
|
+
| errors.ErrorDto
|
|
170
172
|
| SDKError
|
|
171
173
|
| SDKValidationError
|
|
172
174
|
| UnexpectedClientError
|
|
@@ -181,14 +183,17 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
181
183
|
{ hdrs: true, key: "Result" },
|
|
182
184
|
),
|
|
183
185
|
M.jsonErr(
|
|
184
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
186
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
185
187
|
errors.ErrorDto$inboundSchema,
|
|
186
188
|
{ hdrs: true },
|
|
187
189
|
),
|
|
188
190
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
189
191
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
190
|
-
M.fail(
|
|
191
|
-
M.
|
|
192
|
+
M.fail(429),
|
|
193
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
194
|
+
M.fail(503),
|
|
195
|
+
M.fail("4XX"),
|
|
196
|
+
M.fail("5XX"),
|
|
192
197
|
)(response, { extraFields: responseFields });
|
|
193
198
|
if (!result.ok) {
|
|
194
199
|
return result;
|
|
@@ -36,6 +36,7 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
36
36
|
| errors.ErrorDto
|
|
37
37
|
| errors.ErrorDto
|
|
38
38
|
| errors.ValidationErrorDto
|
|
39
|
+
| errors.ErrorDto
|
|
39
40
|
| SDKError
|
|
40
41
|
| SDKValidationError
|
|
41
42
|
| UnexpectedClientError
|
|
@@ -82,9 +83,9 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
82
83
|
const headers = new Headers(compactMap({
|
|
83
84
|
"Content-Type": "application/json",
|
|
84
85
|
Accept: "application/json",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
payload["
|
|
86
|
+
"idempotency-key": encodeSimple(
|
|
87
|
+
"idempotency-key",
|
|
88
|
+
payload["idempotency-key"],
|
|
88
89
|
{ explode: false, charEncoding: "none" },
|
|
89
90
|
),
|
|
90
91
|
}));
|
|
@@ -113,7 +114,7 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
113
114
|
retryConnectionErrors: true,
|
|
114
115
|
}
|
|
115
116
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
117
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
117
118
|
};
|
|
118
119
|
|
|
119
120
|
const requestRes = client._createRequest(context, {
|
|
@@ -166,6 +167,7 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
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 subscribersMessagesUpdateAsSeen(
|
|
|
180
182
|
{ hdrs: true, key: "Result" },
|
|
181
183
|
),
|
|
182
184
|
M.jsonErr(
|
|
183
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
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(
|
|
190
|
-
M.
|
|
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;
|
|
@@ -36,6 +36,7 @@ export async function subscribersNotificationsFeed(
|
|
|
36
36
|
| errors.ErrorDto
|
|
37
37
|
| errors.ErrorDto
|
|
38
38
|
| errors.ValidationErrorDto
|
|
39
|
+
| errors.ErrorDto
|
|
39
40
|
| SDKError
|
|
40
41
|
| SDKValidationError
|
|
41
42
|
| UnexpectedClientError
|
|
@@ -79,9 +80,9 @@ export async function subscribersNotificationsFeed(
|
|
|
79
80
|
|
|
80
81
|
const headers = new Headers(compactMap({
|
|
81
82
|
Accept: "application/json",
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
payload["
|
|
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 subscribersNotificationsFeed(
|
|
|
110
111
|
retryConnectionErrors: true,
|
|
111
112
|
}
|
|
112
113
|
|| { strategy: "none" },
|
|
113
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
114
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
114
115
|
};
|
|
115
116
|
|
|
116
117
|
const requestRes = client._createRequest(context, {
|
|
@@ -164,6 +165,7 @@ export async function subscribersNotificationsFeed(
|
|
|
164
165
|
| errors.ErrorDto
|
|
165
166
|
| errors.ErrorDto
|
|
166
167
|
| errors.ValidationErrorDto
|
|
168
|
+
| errors.ErrorDto
|
|
167
169
|
| SDKError
|
|
168
170
|
| SDKValidationError
|
|
169
171
|
| UnexpectedClientError
|
|
@@ -179,14 +181,17 @@ export async function subscribersNotificationsFeed(
|
|
|
179
181
|
{ hdrs: true, key: "Result" },
|
|
180
182
|
),
|
|
181
183
|
M.jsonErr(
|
|
182
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
184
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
183
185
|
errors.ErrorDto$inboundSchema,
|
|
184
186
|
{ hdrs: true },
|
|
185
187
|
),
|
|
186
188
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
187
189
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
188
|
-
M.fail(
|
|
189
|
-
M.
|
|
190
|
+
M.fail(429),
|
|
191
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
192
|
+
M.fail(503),
|
|
193
|
+
M.fail("4XX"),
|
|
194
|
+
M.fail("5XX"),
|
|
190
195
|
)(response, { extraFields: responseFields });
|
|
191
196
|
if (!result.ok) {
|
|
192
197
|
return result;
|
|
@@ -36,6 +36,7 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
36
36
|
| errors.ErrorDto
|
|
37
37
|
| errors.ErrorDto
|
|
38
38
|
| errors.ValidationErrorDto
|
|
39
|
+
| errors.ErrorDto
|
|
39
40
|
| SDKError
|
|
40
41
|
| SDKValidationError
|
|
41
42
|
| UnexpectedClientError
|
|
@@ -76,9 +77,9 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
76
77
|
|
|
77
78
|
const headers = new Headers(compactMap({
|
|
78
79
|
Accept: "application/json",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
payload["
|
|
80
|
+
"idempotency-key": encodeSimple(
|
|
81
|
+
"idempotency-key",
|
|
82
|
+
payload["idempotency-key"],
|
|
82
83
|
{ explode: false, charEncoding: "none" },
|
|
83
84
|
),
|
|
84
85
|
}));
|
|
@@ -107,7 +108,7 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
107
108
|
retryConnectionErrors: true,
|
|
108
109
|
}
|
|
109
110
|
|| { strategy: "none" },
|
|
110
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
111
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
111
112
|
};
|
|
112
113
|
|
|
113
114
|
const requestRes = client._createRequest(context, {
|
|
@@ -161,6 +162,7 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
161
162
|
| errors.ErrorDto
|
|
162
163
|
| errors.ErrorDto
|
|
163
164
|
| errors.ValidationErrorDto
|
|
165
|
+
| errors.ErrorDto
|
|
164
166
|
| SDKError
|
|
165
167
|
| SDKValidationError
|
|
166
168
|
| UnexpectedClientError
|
|
@@ -175,14 +177,17 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
175
177
|
{ hdrs: true, key: "Result" },
|
|
176
178
|
),
|
|
177
179
|
M.jsonErr(
|
|
178
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
180
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
179
181
|
errors.ErrorDto$inboundSchema,
|
|
180
182
|
{ hdrs: true },
|
|
181
183
|
),
|
|
182
184
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
183
185
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
184
|
-
M.fail(
|
|
185
|
-
M.
|
|
186
|
+
M.fail(429),
|
|
187
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
188
|
+
M.fail(503),
|
|
189
|
+
M.fail("4XX"),
|
|
190
|
+
M.fail("5XX"),
|
|
186
191
|
)(response, { extraFields: responseFields });
|
|
187
192
|
if (!result.ok) {
|
|
188
193
|
return result;
|
|
@@ -38,6 +38,7 @@ export async function subscribersPreferencesList(
|
|
|
38
38
|
| errors.ErrorDto
|
|
39
39
|
| errors.ErrorDto
|
|
40
40
|
| errors.ValidationErrorDto
|
|
41
|
+
| errors.ErrorDto
|
|
41
42
|
| SDKError
|
|
42
43
|
| SDKValidationError
|
|
43
44
|
| UnexpectedClientError
|
|
@@ -85,9 +86,9 @@ export async function subscribersPreferencesList(
|
|
|
85
86
|
|
|
86
87
|
const headers = new Headers(compactMap({
|
|
87
88
|
Accept: "application/json",
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
payload["
|
|
89
|
+
"idempotency-key": encodeSimple(
|
|
90
|
+
"idempotency-key",
|
|
91
|
+
payload["idempotency-key"],
|
|
91
92
|
{ explode: false, charEncoding: "none" },
|
|
92
93
|
),
|
|
93
94
|
}));
|
|
@@ -116,7 +117,7 @@ export async function subscribersPreferencesList(
|
|
|
116
117
|
retryConnectionErrors: true,
|
|
117
118
|
}
|
|
118
119
|
|| { strategy: "none" },
|
|
119
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
120
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
120
121
|
};
|
|
121
122
|
|
|
122
123
|
const requestRes = client._createRequest(context, {
|
|
@@ -170,6 +171,7 @@ export async function subscribersPreferencesList(
|
|
|
170
171
|
| errors.ErrorDto
|
|
171
172
|
| errors.ErrorDto
|
|
172
173
|
| errors.ValidationErrorDto
|
|
174
|
+
| errors.ErrorDto
|
|
173
175
|
| SDKError
|
|
174
176
|
| SDKValidationError
|
|
175
177
|
| UnexpectedClientError
|
|
@@ -185,14 +187,17 @@ export async function subscribersPreferencesList(
|
|
|
185
187
|
{ hdrs: true, key: "Result" },
|
|
186
188
|
),
|
|
187
189
|
M.jsonErr(
|
|
188
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
190
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
189
191
|
errors.ErrorDto$inboundSchema,
|
|
190
192
|
{ hdrs: true },
|
|
191
193
|
),
|
|
192
194
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
193
195
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
194
|
-
M.fail(
|
|
195
|
-
M.
|
|
196
|
+
M.fail(429),
|
|
197
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
198
|
+
M.fail(503),
|
|
199
|
+
M.fail("4XX"),
|
|
200
|
+
M.fail("5XX"),
|
|
196
201
|
)(response, { extraFields: responseFields });
|
|
197
202
|
if (!result.ok) {
|
|
198
203
|
return result;
|
|
@@ -37,6 +37,7 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
37
37
|
| errors.ErrorDto
|
|
38
38
|
| errors.ErrorDto
|
|
39
39
|
| errors.ValidationErrorDto
|
|
40
|
+
| errors.ErrorDto
|
|
40
41
|
| SDKError
|
|
41
42
|
| SDKValidationError
|
|
42
43
|
| UnexpectedClientError
|
|
@@ -81,9 +82,9 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
81
82
|
|
|
82
83
|
const headers = new Headers(compactMap({
|
|
83
84
|
Accept: "application/json",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
payload["
|
|
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 subscribersPreferencesRetrieveByLevel(
|
|
|
112
113
|
retryConnectionErrors: true,
|
|
113
114
|
}
|
|
114
115
|
|| { strategy: "none" },
|
|
115
|
-
retryCodes: options?.retryCodes || ["408", "
|
|
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 subscribersPreferencesRetrieveByLevel(
|
|
|
166
167
|
| errors.ErrorDto
|
|
167
168
|
| errors.ErrorDto
|
|
168
169
|
| errors.ValidationErrorDto
|
|
170
|
+
| errors.ErrorDto
|
|
169
171
|
| SDKError
|
|
170
172
|
| SDKValidationError
|
|
171
173
|
| UnexpectedClientError
|
|
@@ -181,14 +183,17 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
181
183
|
{ hdrs: true, key: "Result" },
|
|
182
184
|
),
|
|
183
185
|
M.jsonErr(
|
|
184
|
-
[400, 401, 403, 404, 405, 409, 413, 415
|
|
186
|
+
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
185
187
|
errors.ErrorDto$inboundSchema,
|
|
186
188
|
{ hdrs: true },
|
|
187
189
|
),
|
|
188
190
|
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
189
191
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
190
|
-
M.fail(
|
|
191
|
-
M.
|
|
192
|
+
M.fail(429),
|
|
193
|
+
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
194
|
+
M.fail(503),
|
|
195
|
+
M.fail("4XX"),
|
|
196
|
+
M.fail("5XX"),
|
|
192
197
|
)(response, { extraFields: responseFields });
|
|
193
198
|
if (!result.ok) {
|
|
194
199
|
return result;
|