@novu/api 0.0.1-alpha.179 → 0.0.1-alpha.181
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 +1 -3
- package/docs/sdks/notifications/README.md +4 -4
- package/docs/sdks/novu/README.md +2 -2
- package/funcs/adminTestingControllerIdempotency.d.ts.map +1 -1
- package/funcs/adminTestingControllerIdempotency.js +3 -2
- package/funcs/adminTestingControllerIdempotency.js.map +1 -1
- package/funcs/adminTestingControllerIdempotencyGet.d.ts.map +1 -1
- package/funcs/adminTestingControllerIdempotencyGet.js +3 -2
- package/funcs/adminTestingControllerIdempotencyGet.js.map +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +3 -2
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +3 -2
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +3 -2
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +3 -2
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +3 -2
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +3 -2
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +3 -2
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +3 -2
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +3 -2
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +3 -2
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +3 -2
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +3 -2
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +3 -2
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +3 -2
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +3 -2
- package/funcs/notificationsStatsRetrieve.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +3 -2
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +3 -2
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +3 -2
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +3 -2
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +3 -2
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +3 -2
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +3 -2
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +3 -2
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +3 -2
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +3 -2
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +3 -2
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +3 -2
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +3 -2
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +3 -2
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +3 -2
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +3 -2
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +3 -2
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +3 -2
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +3 -2
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +3 -2
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersUpdate.d.ts.map +1 -1
- package/funcs/subscribersUpdate.js +3 -2
- package/funcs/subscribersUpdate.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +3 -2
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +3 -2
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.d.ts.map +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +3 -2
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js.map +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +3 -2
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +3 -2
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +3 -2
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.d.ts.map +1 -1
- package/funcs/topicsRename.js +3 -2
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.d.ts.map +1 -1
- package/funcs/topicsRetrieve.js +3 -2
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
- package/funcs/topicsSubscribersAssign.js +3 -2
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
- package/funcs/topicsSubscribersRemove.js +3 -2
- package/funcs/topicsSubscribersRemove.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +3 -2
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +3 -2
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +3 -2
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +3 -2
- package/funcs/triggerBulk.js.map +1 -1
- package/hooks/novu-custom-hook.js +1 -1
- package/hooks/novu-custom-hook.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +74 -48
- package/lib/encodings.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +11 -1
- package/lib/primitives.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +4 -1
- package/lib/sdks.js.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts +5 -0
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.js +2 -0
- package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -1
- package/models/components/activitynotificationjobresponsedto.d.ts +5 -0
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +2 -0
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/adminTestingControllerIdempotency.ts +3 -2
- package/src/funcs/adminTestingControllerIdempotencyGet.ts +3 -2
- package/src/funcs/cancel.ts +3 -2
- package/src/funcs/integrationsCreate.ts +3 -2
- package/src/funcs/integrationsDelete.ts +3 -2
- package/src/funcs/integrationsList.ts +3 -2
- package/src/funcs/integrationsListActive.ts +3 -2
- package/src/funcs/integrationsSetAsPrimary.ts +3 -2
- package/src/funcs/integrationsUpdate.ts +3 -2
- package/src/funcs/integrationsWebhooksRetrieve.ts +3 -2
- package/src/funcs/messagesDelete.ts +3 -2
- package/src/funcs/messagesDeleteByTransactionId.ts +3 -2
- package/src/funcs/messagesRetrieve.ts +3 -2
- package/src/funcs/notificationsList.ts +3 -2
- package/src/funcs/notificationsRetrieve.ts +3 -2
- package/src/funcs/notificationsStatsGraph.ts +3 -2
- package/src/funcs/notificationsStatsRetrieve.ts +3 -2
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +3 -2
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +3 -2
- package/src/funcs/subscribersCreate.ts +3 -2
- package/src/funcs/subscribersCreateBulk.ts +3 -2
- package/src/funcs/subscribersCredentialsAppend.ts +3 -2
- package/src/funcs/subscribersCredentialsDelete.ts +3 -2
- package/src/funcs/subscribersCredentialsUpdate.ts +3 -2
- package/src/funcs/subscribersDelete.ts +3 -2
- package/src/funcs/subscribersList.ts +3 -2
- package/src/funcs/subscribersMessagesMarkAll.ts +3 -2
- package/src/funcs/subscribersMessagesMarkAllAs.ts +3 -2
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +3 -2
- package/src/funcs/subscribersNotificationsFeed.ts +3 -2
- package/src/funcs/subscribersNotificationsUnseenCount.ts +3 -2
- package/src/funcs/subscribersPreferencesList.ts +3 -2
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +3 -2
- package/src/funcs/subscribersPreferencesUpdate.ts +3 -2
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +3 -2
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +3 -2
- package/src/funcs/subscribersRetrieve.ts +3 -2
- package/src/funcs/subscribersUpdate.ts +3 -2
- package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +3 -2
- package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +3 -2
- package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +3 -2
- package/src/funcs/topicsCreate.ts +3 -2
- package/src/funcs/topicsDelete.ts +3 -2
- package/src/funcs/topicsList.ts +3 -2
- package/src/funcs/topicsRename.ts +3 -2
- package/src/funcs/topicsRetrieve.ts +3 -2
- package/src/funcs/topicsSubscribersAssign.ts +3 -2
- package/src/funcs/topicsSubscribersRemove.ts +3 -2
- package/src/funcs/topicsSubscribersRetrieve.ts +3 -2
- package/src/funcs/trigger.ts +3 -2
- package/src/funcs/triggerBroadcast.ts +3 -2
- package/src/funcs/triggerBulk.ts +3 -2
- package/src/hooks/novu-custom-hook.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +95 -61
- package/src/lib/primitives.ts +14 -0
- package/src/lib/sdks.ts +4 -1
- package/src/models/components/activitynotificationexecutiondetailresponsedto.ts +7 -0
- package/src/models/components/activitynotificationjobresponsedto.ts +7 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationjobresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationjobresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,2HAK6D;AAC7D,qGAKkD;AAClD,qEAKkC;AAClC,6DAI8B;AAE9B;;GAEG;AACU,QAAA,sCAAsC,GAAG;IACpD,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;
|
|
1
|
+
{"version":3,"file":"activitynotificationjobresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationjobresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,2HAK6D;AAC7D,qGAKkD;AAClD,qEAKkC;AAClC,6DAI8B;AAE9B;;GAEG;AACU,QAAA,sCAAsC,GAAG;IACpD,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAoDX,gBAAgB;AACH,QAAA,oDAAoD,GACE,CAAC,CAAC,UAAU,CAC3E,8CAAsC,CACvC,CAAC;AAEJ,gBAAgB;AACH,QAAA,qDAAqD,GAE9D,4DAAoD,CAAC;AAEzD;;;GAGG;AACH,IAAiB,uCAAuC,CAOvD;AAPD,WAAiB,uCAAuC;IACtD,sFAAsF;IACzE,qDAAa,GACxB,4DAAoD,CAAC;IACvD,uFAAuF;IAC1E,sDAAc,GACzB,6DAAqD,CAAC;AAC1D,CAAC,EAPgB,uCAAuC,uDAAvC,uCAAuC,QAOvD;AAED,gBAAgB;AACH,QAAA,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKf,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB,uDAAuD;IAC1C,sBAAa,GAAG,6BAAqB,CAAC;IACnD,wDAAwD;IAC3C,uBAAc,GAAG,8BAAsB,CAAC;AAGvD,CAAC,EAPgB,QAAQ,wBAAR,QAAQ,QAOxB;AAED,SAAgB,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,8BAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AAFD,sCAEC;AAED,SAAgB,eAAe,CAC7B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC;AARD,0CAQC;AAED,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,IAAI,EAAE,4DAAoD;IAC1D,MAAM,EAAE,0DAAiC,CAAC,QAAQ,EAAE;IACpD,gBAAgB,EAAE,CAAC,CAAC,KAAK,CACvB,gHAA4D,CAC7D;IACD,IAAI,EAAE,0FAAiD;IACvD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6BAAqB,CAAC,CAAC,QAAQ,EAAE;IACvD,UAAU,EAAE,kDAA6B;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAiBH,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,6DAAqD;IAC3D,MAAM,EAAE,2DAAkC,CAAC,QAAQ,EAAE;IACrD,gBAAgB,EAAE,CAAC,CAAC,KAAK,CACvB,iHAA6D,CAC9D;IACD,IAAI,EAAE,2FAAkD;IACxD,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE;IACxD,UAAU,EAAE,mDAA8B;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,EAAE,EAAE,KAAK;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mCAAmC,CAQnD;AARD,WAAiB,mCAAmC;IAClD,kFAAkF;IACrE,iDAAa,GAAG,wDAAgD,CAAC;IAC9E,mFAAmF;IACtE,kDAAc,GACzB,yDAAiD,CAAC;AAGtD,CAAC,EARgB,mCAAmC,mDAAnC,mCAAmC,QAQnD;AAED,SAAgB,wCAAwC,CACtD,kCAAsE;IAEtE,OAAO,IAAI,CAAC,SAAS,CACnB,yDAAiD,CAAC,KAAK,CACrD,kCAAkC,CACnC,CACF,CAAC;AACJ,CAAC;AARD,4FAQC;AAED,SAAgB,0CAA0C,CACxD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,wDAAgD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,gEAAgE,CACjE,CAAC;AACJ,CAAC;AATD,gGASC"}
|
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -65,7 +66,7 @@ export async function adminTestingControllerIdempotency(
|
|
|
65
66
|
|
|
66
67
|
const path = pathToFunc("/v1/testing/idempotency")();
|
|
67
68
|
|
|
68
|
-
const headers = new Headers({
|
|
69
|
+
const headers = new Headers(compactMap({
|
|
69
70
|
"Content-Type": "application/json",
|
|
70
71
|
Accept: "application/json",
|
|
71
72
|
"Idempotency-Key": encodeSimple(
|
|
@@ -73,7 +74,7 @@ export async function adminTestingControllerIdempotency(
|
|
|
73
74
|
payload["Idempotency-Key"],
|
|
74
75
|
{ explode: false, charEncoding: "none" },
|
|
75
76
|
),
|
|
76
|
-
});
|
|
77
|
+
}));
|
|
77
78
|
|
|
78
79
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
79
80
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -60,14 +61,14 @@ export async function adminTestingControllerIdempotencyGet(
|
|
|
60
61
|
|
|
61
62
|
const path = pathToFunc("/v1/testing/idempotency")();
|
|
62
63
|
|
|
63
|
-
const headers = new Headers({
|
|
64
|
+
const headers = new Headers(compactMap({
|
|
64
65
|
Accept: "application/json",
|
|
65
66
|
"Idempotency-Key": encodeSimple(
|
|
66
67
|
"Idempotency-Key",
|
|
67
68
|
payload["Idempotency-Key"],
|
|
68
69
|
{ explode: false, charEncoding: "none" },
|
|
69
70
|
),
|
|
70
|
-
});
|
|
71
|
+
}));
|
|
71
72
|
|
|
72
73
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
73
74
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
package/src/funcs/cancel.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -75,14 +76,14 @@ export async function cancel(
|
|
|
75
76
|
|
|
76
77
|
const path = pathToFunc("/v1/events/trigger/{transactionId}")(pathParams);
|
|
77
78
|
|
|
78
|
-
const headers = new Headers({
|
|
79
|
+
const headers = new Headers(compactMap({
|
|
79
80
|
Accept: "application/json",
|
|
80
81
|
"Idempotency-Key": encodeSimple(
|
|
81
82
|
"Idempotency-Key",
|
|
82
83
|
payload["Idempotency-Key"],
|
|
83
84
|
{ explode: false, charEncoding: "none" },
|
|
84
85
|
),
|
|
85
|
-
});
|
|
86
|
+
}));
|
|
86
87
|
|
|
87
88
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
88
89
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -70,7 +71,7 @@ export async function integrationsCreate(
|
|
|
70
71
|
|
|
71
72
|
const path = pathToFunc("/v1/integrations")();
|
|
72
73
|
|
|
73
|
-
const headers = new Headers({
|
|
74
|
+
const headers = new Headers(compactMap({
|
|
74
75
|
"Content-Type": "application/json",
|
|
75
76
|
Accept: "application/json",
|
|
76
77
|
"Idempotency-Key": encodeSimple(
|
|
@@ -78,7 +79,7 @@ export async function integrationsCreate(
|
|
|
78
79
|
payload["Idempotency-Key"],
|
|
79
80
|
{ explode: false, charEncoding: "none" },
|
|
80
81
|
),
|
|
81
|
-
});
|
|
82
|
+
}));
|
|
82
83
|
|
|
83
84
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
84
85
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -71,14 +72,14 @@ export async function integrationsDelete(
|
|
|
71
72
|
|
|
72
73
|
const path = pathToFunc("/v1/integrations/{integrationId}")(pathParams);
|
|
73
74
|
|
|
74
|
-
const headers = new Headers({
|
|
75
|
+
const headers = new Headers(compactMap({
|
|
75
76
|
Accept: "application/json",
|
|
76
77
|
"Idempotency-Key": encodeSimple(
|
|
77
78
|
"Idempotency-Key",
|
|
78
79
|
payload["Idempotency-Key"],
|
|
79
80
|
{ explode: false, charEncoding: "none" },
|
|
80
81
|
),
|
|
81
|
-
});
|
|
82
|
+
}));
|
|
82
83
|
|
|
83
84
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
84
85
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -65,14 +66,14 @@ export async function integrationsList(
|
|
|
65
66
|
|
|
66
67
|
const path = pathToFunc("/v1/integrations")();
|
|
67
68
|
|
|
68
|
-
const headers = new Headers({
|
|
69
|
+
const headers = new Headers(compactMap({
|
|
69
70
|
Accept: "application/json",
|
|
70
71
|
"Idempotency-Key": encodeSimple(
|
|
71
72
|
"Idempotency-Key",
|
|
72
73
|
payload["Idempotency-Key"],
|
|
73
74
|
{ explode: false, charEncoding: "none" },
|
|
74
75
|
),
|
|
75
|
-
});
|
|
76
|
+
}));
|
|
76
77
|
|
|
77
78
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
78
79
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -66,14 +67,14 @@ export async function integrationsListActive(
|
|
|
66
67
|
|
|
67
68
|
const path = pathToFunc("/v1/integrations/active")();
|
|
68
69
|
|
|
69
|
-
const headers = new Headers({
|
|
70
|
+
const headers = new Headers(compactMap({
|
|
70
71
|
Accept: "application/json",
|
|
71
72
|
"Idempotency-Key": encodeSimple(
|
|
72
73
|
"Idempotency-Key",
|
|
73
74
|
payload["Idempotency-Key"],
|
|
74
75
|
{ explode: false, charEncoding: "none" },
|
|
75
76
|
),
|
|
76
|
-
});
|
|
77
|
+
}));
|
|
77
78
|
|
|
78
79
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
79
80
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -75,14 +76,14 @@ export async function integrationsSetAsPrimary(
|
|
|
75
76
|
pathParams,
|
|
76
77
|
);
|
|
77
78
|
|
|
78
|
-
const headers = new Headers({
|
|
79
|
+
const headers = new Headers(compactMap({
|
|
79
80
|
Accept: "application/json",
|
|
80
81
|
"Idempotency-Key": encodeSimple(
|
|
81
82
|
"Idempotency-Key",
|
|
82
83
|
payload["Idempotency-Key"],
|
|
83
84
|
{ explode: false, charEncoding: "none" },
|
|
84
85
|
),
|
|
85
|
-
});
|
|
86
|
+
}));
|
|
86
87
|
|
|
87
88
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
88
89
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -77,7 +78,7 @@ export async function integrationsUpdate(
|
|
|
77
78
|
|
|
78
79
|
const path = pathToFunc("/v1/integrations/{integrationId}")(pathParams);
|
|
79
80
|
|
|
80
|
-
const headers = new Headers({
|
|
81
|
+
const headers = new Headers(compactMap({
|
|
81
82
|
"Content-Type": "application/json",
|
|
82
83
|
Accept: "application/json",
|
|
83
84
|
"Idempotency-Key": encodeSimple(
|
|
@@ -85,7 +86,7 @@ export async function integrationsUpdate(
|
|
|
85
86
|
payload["Idempotency-Key"],
|
|
86
87
|
{ explode: false, charEncoding: "none" },
|
|
87
88
|
),
|
|
88
|
-
});
|
|
89
|
+
}));
|
|
89
90
|
|
|
90
91
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
91
92
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -79,14 +80,14 @@ export async function integrationsWebhooksRetrieve(
|
|
|
79
80
|
"/v1/integrations/webhook/provider/{providerOrIntegrationId}/status",
|
|
80
81
|
)(pathParams);
|
|
81
82
|
|
|
82
|
-
const headers = new Headers({
|
|
83
|
+
const headers = new Headers(compactMap({
|
|
83
84
|
Accept: "application/json",
|
|
84
85
|
"Idempotency-Key": encodeSimple(
|
|
85
86
|
"Idempotency-Key",
|
|
86
87
|
payload["Idempotency-Key"],
|
|
87
88
|
{ explode: false, charEncoding: "none" },
|
|
88
89
|
),
|
|
89
|
-
});
|
|
90
|
+
}));
|
|
90
91
|
|
|
91
92
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
92
93
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -75,14 +76,14 @@ export async function messagesDelete(
|
|
|
75
76
|
|
|
76
77
|
const path = pathToFunc("/v1/messages/{messageId}")(pathParams);
|
|
77
78
|
|
|
78
|
-
const headers = new Headers({
|
|
79
|
+
const headers = new Headers(compactMap({
|
|
79
80
|
Accept: "application/json",
|
|
80
81
|
"Idempotency-Key": encodeSimple(
|
|
81
82
|
"Idempotency-Key",
|
|
82
83
|
payload["Idempotency-Key"],
|
|
83
84
|
{ explode: false, charEncoding: "none" },
|
|
84
85
|
),
|
|
85
|
-
});
|
|
86
|
+
}));
|
|
86
87
|
|
|
87
88
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
88
89
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -85,14 +86,14 @@ export async function messagesDeleteByTransactionId(
|
|
|
85
86
|
"channel": payload.channel,
|
|
86
87
|
});
|
|
87
88
|
|
|
88
|
-
const headers = new Headers({
|
|
89
|
+
const headers = new Headers(compactMap({
|
|
89
90
|
Accept: "application/json",
|
|
90
91
|
"Idempotency-Key": encodeSimple(
|
|
91
92
|
"Idempotency-Key",
|
|
92
93
|
payload["Idempotency-Key"],
|
|
93
94
|
{ explode: false, charEncoding: "none" },
|
|
94
95
|
),
|
|
95
|
-
});
|
|
96
|
+
}));
|
|
96
97
|
|
|
97
98
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
98
99
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -70,14 +71,14 @@ export async function messagesRetrieve(
|
|
|
70
71
|
"transactionId": payload.transactionId,
|
|
71
72
|
});
|
|
72
73
|
|
|
73
|
-
const headers = new Headers({
|
|
74
|
+
const headers = new Headers(compactMap({
|
|
74
75
|
Accept: "application/json",
|
|
75
76
|
"Idempotency-Key": encodeSimple(
|
|
76
77
|
"Idempotency-Key",
|
|
77
78
|
payload["Idempotency-Key"],
|
|
78
79
|
{ explode: false, charEncoding: "none" },
|
|
79
80
|
),
|
|
80
|
-
});
|
|
81
|
+
}));
|
|
81
82
|
|
|
82
83
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
83
84
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -70,14 +71,14 @@ export async function notificationsList(
|
|
|
70
71
|
"transactionId": payload.transactionId,
|
|
71
72
|
});
|
|
72
73
|
|
|
73
|
-
const headers = new Headers({
|
|
74
|
+
const headers = new Headers(compactMap({
|
|
74
75
|
Accept: "application/json",
|
|
75
76
|
"Idempotency-Key": encodeSimple(
|
|
76
77
|
"Idempotency-Key",
|
|
77
78
|
payload["Idempotency-Key"],
|
|
78
79
|
{ explode: false, charEncoding: "none" },
|
|
79
80
|
),
|
|
80
|
-
});
|
|
81
|
+
}));
|
|
81
82
|
|
|
82
83
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
83
84
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -71,14 +72,14 @@ export async function notificationsRetrieve(
|
|
|
71
72
|
|
|
72
73
|
const path = pathToFunc("/v1/notifications/{notificationId}")(pathParams);
|
|
73
74
|
|
|
74
|
-
const headers = new Headers({
|
|
75
|
+
const headers = new Headers(compactMap({
|
|
75
76
|
Accept: "application/json",
|
|
76
77
|
"Idempotency-Key": encodeSimple(
|
|
77
78
|
"Idempotency-Key",
|
|
78
79
|
payload["Idempotency-Key"],
|
|
79
80
|
{ explode: false, charEncoding: "none" },
|
|
80
81
|
),
|
|
81
|
-
});
|
|
82
|
+
}));
|
|
82
83
|
|
|
83
84
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
84
85
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -70,14 +71,14 @@ export async function notificationsStatsGraph(
|
|
|
70
71
|
"days": payload.days,
|
|
71
72
|
});
|
|
72
73
|
|
|
73
|
-
const headers = new Headers({
|
|
74
|
+
const headers = new Headers(compactMap({
|
|
74
75
|
Accept: "application/json",
|
|
75
76
|
"Idempotency-Key": encodeSimple(
|
|
76
77
|
"Idempotency-Key",
|
|
77
78
|
payload["Idempotency-Key"],
|
|
78
79
|
{ explode: false, charEncoding: "none" },
|
|
79
80
|
),
|
|
80
|
-
});
|
|
81
|
+
}));
|
|
81
82
|
|
|
82
83
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
83
84
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -62,14 +63,14 @@ export async function notificationsStatsRetrieve(
|
|
|
62
63
|
|
|
63
64
|
const path = pathToFunc("/v1/notifications/stats")();
|
|
64
65
|
|
|
65
|
-
const headers = new Headers({
|
|
66
|
+
const headers = new Headers(compactMap({
|
|
66
67
|
Accept: "application/json",
|
|
67
68
|
"Idempotency-Key": encodeSimple(
|
|
68
69
|
"Idempotency-Key",
|
|
69
70
|
payload["Idempotency-Key"],
|
|
70
71
|
{ explode: false, charEncoding: "none" },
|
|
71
72
|
),
|
|
72
|
-
});
|
|
73
|
+
}));
|
|
73
74
|
|
|
74
75
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
75
76
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -77,14 +78,14 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
77
78
|
"integrationIdentifier": payload.integrationIdentifier,
|
|
78
79
|
});
|
|
79
80
|
|
|
80
|
-
const headers = new Headers({
|
|
81
|
+
const headers = new Headers(compactMap({
|
|
81
82
|
Accept: "application/json",
|
|
82
83
|
"Idempotency-Key": encodeSimple(
|
|
83
84
|
"Idempotency-Key",
|
|
84
85
|
payload["Idempotency-Key"],
|
|
85
86
|
{ explode: false, charEncoding: "none" },
|
|
86
87
|
),
|
|
87
|
-
});
|
|
88
|
+
}));
|
|
88
89
|
|
|
89
90
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
90
91
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -85,7 +86,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
85
86
|
"integrationIdentifier": payload.integrationIdentifier,
|
|
86
87
|
});
|
|
87
88
|
|
|
88
|
-
const headers = new Headers({
|
|
89
|
+
const headers = new Headers(compactMap({
|
|
89
90
|
Accept: options?.acceptHeaderOverride
|
|
90
91
|
|| "application/json;q=1, text/html;q=0",
|
|
91
92
|
"Idempotency-Key": encodeSimple(
|
|
@@ -93,7 +94,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
93
94
|
payload["Idempotency-Key"],
|
|
94
95
|
{ explode: false, charEncoding: "none" },
|
|
95
96
|
),
|
|
96
|
-
});
|
|
97
|
+
}));
|
|
97
98
|
|
|
98
99
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
99
100
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -70,7 +71,7 @@ export async function subscribersCreate(
|
|
|
70
71
|
|
|
71
72
|
const path = pathToFunc("/v1/subscribers")();
|
|
72
73
|
|
|
73
|
-
const headers = new Headers({
|
|
74
|
+
const headers = new Headers(compactMap({
|
|
74
75
|
"Content-Type": "application/json",
|
|
75
76
|
Accept: "application/json",
|
|
76
77
|
"Idempotency-Key": encodeSimple(
|
|
@@ -78,7 +79,7 @@ export async function subscribersCreate(
|
|
|
78
79
|
payload["Idempotency-Key"],
|
|
79
80
|
{ explode: false, charEncoding: "none" },
|
|
80
81
|
),
|
|
81
|
-
});
|
|
82
|
+
}));
|
|
82
83
|
|
|
83
84
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
84
85
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -74,7 +75,7 @@ export async function subscribersCreateBulk(
|
|
|
74
75
|
|
|
75
76
|
const path = pathToFunc("/v1/subscribers/bulk")();
|
|
76
77
|
|
|
77
|
-
const headers = new Headers({
|
|
78
|
+
const headers = new Headers(compactMap({
|
|
78
79
|
"Content-Type": "application/json",
|
|
79
80
|
Accept: "application/json",
|
|
80
81
|
"Idempotency-Key": encodeSimple(
|
|
@@ -82,7 +83,7 @@ export async function subscribersCreateBulk(
|
|
|
82
83
|
payload["Idempotency-Key"],
|
|
83
84
|
{ explode: false, charEncoding: "none" },
|
|
84
85
|
),
|
|
85
|
-
});
|
|
86
|
+
}));
|
|
86
87
|
|
|
87
88
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
88
89
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -85,7 +86,7 @@ export async function subscribersCredentialsAppend(
|
|
|
85
86
|
pathParams,
|
|
86
87
|
);
|
|
87
88
|
|
|
88
|
-
const headers = new Headers({
|
|
89
|
+
const headers = new Headers(compactMap({
|
|
89
90
|
"Content-Type": "application/json",
|
|
90
91
|
Accept: "application/json",
|
|
91
92
|
"Idempotency-Key": encodeSimple(
|
|
@@ -93,7 +94,7 @@ export async function subscribersCredentialsAppend(
|
|
|
93
94
|
payload["Idempotency-Key"],
|
|
94
95
|
{ explode: false, charEncoding: "none" },
|
|
95
96
|
),
|
|
96
|
-
});
|
|
97
|
+
}));
|
|
97
98
|
|
|
98
99
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
99
100
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -85,14 +86,14 @@ export async function subscribersCredentialsDelete(
|
|
|
85
86
|
"/v1/subscribers/{subscriberId}/credentials/{providerId}",
|
|
86
87
|
)(pathParams);
|
|
87
88
|
|
|
88
|
-
const headers = new Headers({
|
|
89
|
+
const headers = new Headers(compactMap({
|
|
89
90
|
Accept: "application/json",
|
|
90
91
|
"Idempotency-Key": encodeSimple(
|
|
91
92
|
"Idempotency-Key",
|
|
92
93
|
payload["Idempotency-Key"],
|
|
93
94
|
{ explode: false, charEncoding: "none" },
|
|
94
95
|
),
|
|
95
|
-
});
|
|
96
|
+
}));
|
|
96
97
|
|
|
97
98
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
98
99
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { NovuCore } from "../core.js";
|
|
6
6
|
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
7
7
|
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
9
|
import { safeParse } from "../lib/schemas.js";
|
|
9
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
10
11
|
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
@@ -84,7 +85,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
84
85
|
pathParams,
|
|
85
86
|
);
|
|
86
87
|
|
|
87
|
-
const headers = new Headers({
|
|
88
|
+
const headers = new Headers(compactMap({
|
|
88
89
|
"Content-Type": "application/json",
|
|
89
90
|
Accept: "application/json",
|
|
90
91
|
"Idempotency-Key": encodeSimple(
|
|
@@ -92,7 +93,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
92
93
|
payload["Idempotency-Key"],
|
|
93
94
|
{ explode: false, charEncoding: "none" },
|
|
94
95
|
),
|
|
95
|
-
});
|
|
96
|
+
}));
|
|
96
97
|
|
|
97
98
|
const secConfig = await extractSecurity(client._options.apiKey);
|
|
98
99
|
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|