@novu/api 0.1.6 → 2.6.5
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/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +3 -5
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +3 -5
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +3 -5
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +3 -5
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +3 -5
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +3 -5
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +3 -5
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +3 -5
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +3 -5
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +3 -5
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +3 -5
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +3 -5
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +3 -5
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +3 -5
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +3 -5
- package/funcs/notificationsStatsRetrieve.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +3 -5
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +4 -5
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
- package/funcs/subscribersCreate.d.ts +2 -2
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +8 -10
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +3 -5
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +3 -5
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +3 -5
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +3 -5
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +3 -5
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersDeleteLegacy.d.ts.map +1 -1
- package/funcs/subscribersDeleteLegacy.js +3 -5
- package/funcs/subscribersDeleteLegacy.js.map +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +3 -5
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +3 -5
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +3 -5
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +3 -5
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +3 -5
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +3 -5
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPatch.d.ts.map +1 -1
- package/funcs/subscribersPatch.js +3 -5
- package/funcs/subscribersPatch.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +16 -0
- package/funcs/subscribersPreferencesList.d.ts.map +1 -0
- package/funcs/{subscribersPreferencesListLegacy.js → subscribersPreferencesList.js} +11 -17
- package/funcs/subscribersPreferencesList.js.map +1 -0
- package/funcs/subscribersPreferencesRetrieve.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieve.js +3 -5
- package/funcs/subscribersPreferencesRetrieve.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts +13 -0
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -0
- package/funcs/{subscribersPreferencesRetrieveByLevelLegacy.js → subscribersPreferencesRetrieveByLevel.js} +5 -9
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -0
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +3 -5
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts +14 -0
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -0
- package/funcs/{subscribersPreferencesLegacyUpdateGlobal.js → subscribersPreferencesUpdateGlobal.js} +5 -7
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -0
- package/funcs/subscribersPreferencesUpdateLegacy.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdateLegacy.js +3 -5
- package/funcs/subscribersPreferencesUpdateLegacy.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +3 -5
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +3 -5
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersRetrieveLegacy.d.ts.map +1 -1
- package/funcs/subscribersRetrieveLegacy.js +3 -5
- package/funcs/subscribersRetrieveLegacy.js.map +1 -1
- package/funcs/subscribersSearch.d.ts.map +1 -1
- package/funcs/subscribersSearch.js +3 -5
- package/funcs/subscribersSearch.js.map +1 -1
- package/funcs/{subscribersUpdateLegacy.d.ts → subscribersUpdate.d.ts} +2 -2
- package/funcs/subscribersUpdate.d.ts.map +1 -0
- package/funcs/{subscribersUpdateLegacy.js → subscribersUpdate.js} +5 -7
- package/funcs/subscribersUpdate.js.map +1 -0
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +3 -5
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +3 -5
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +3 -5
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.d.ts.map +1 -1
- package/funcs/topicsRename.js +3 -5
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.d.ts.map +1 -1
- package/funcs/topicsRetrieve.js +3 -5
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
- package/funcs/topicsSubscribersAssign.js +3 -5
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
- package/funcs/topicsSubscribersRemove.js +3 -5
- 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 +5 -7
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +3 -5
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +3 -5
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +3 -5
- package/funcs/triggerBulk.js.map +1 -1
- package/funcs/workflowsCreate.d.ts +10 -0
- package/funcs/workflowsCreate.d.ts.map +1 -0
- package/funcs/workflowsCreate.js +125 -0
- package/funcs/workflowsCreate.js.map +1 -0
- package/funcs/workflowsDelete.d.ts +10 -0
- package/funcs/workflowsDelete.d.ts.map +1 -0
- package/funcs/workflowsDelete.js +131 -0
- package/funcs/workflowsDelete.js.map +1 -0
- package/funcs/workflowsGetStepData.d.ts +10 -0
- package/funcs/workflowsGetStepData.d.ts.map +1 -0
- package/funcs/workflowsGetStepData.js +136 -0
- package/funcs/workflowsGetStepData.js.map +1 -0
- package/funcs/{subscribersPreferencesListLegacy.d.ts → workflowsGetWorkflowTestData.d.ts} +2 -7
- package/funcs/workflowsGetWorkflowTestData.d.ts.map +1 -0
- package/funcs/workflowsGetWorkflowTestData.js +131 -0
- package/funcs/workflowsGetWorkflowTestData.js.map +1 -0
- package/funcs/workflowsRetrieve.d.ts +10 -0
- package/funcs/workflowsRetrieve.d.ts.map +1 -0
- package/funcs/workflowsRetrieve.js +135 -0
- package/funcs/workflowsRetrieve.js.map +1 -0
- package/funcs/workflowsUpdate.d.ts +10 -0
- package/funcs/workflowsUpdate.d.ts.map +1 -0
- package/funcs/workflowsUpdate.js +132 -0
- package/funcs/workflowsUpdate.js.map +1 -0
- package/funcs/workflowsWorkflowControllerGeneratePreview.d.ts +10 -0
- package/funcs/workflowsWorkflowControllerGeneratePreview.d.ts.map +1 -0
- package/funcs/workflowsWorkflowControllerGeneratePreview.js +135 -0
- package/funcs/workflowsWorkflowControllerGeneratePreview.js.map +1 -0
- package/funcs/{subscribersPreferencesLegacyUpdateGlobal.d.ts → workflowsWorkflowControllerPatchWorkflow.d.ts} +2 -6
- package/funcs/workflowsWorkflowControllerPatchWorkflow.d.ts.map +1 -0
- package/funcs/workflowsWorkflowControllerPatchWorkflow.js +130 -0
- package/funcs/workflowsWorkflowControllerPatchWorkflow.js.map +1 -0
- package/funcs/workflowsWorkflowControllerPatchWorkflowStepData.d.ts +10 -0
- package/funcs/workflowsWorkflowControllerPatchWorkflowStepData.d.ts.map +1 -0
- package/funcs/workflowsWorkflowControllerPatchWorkflowStepData.js +136 -0
- package/funcs/workflowsWorkflowControllerPatchWorkflowStepData.js.map +1 -0
- package/funcs/workflowsWorkflowControllerSearchWorkflows.d.ts +10 -0
- package/funcs/workflowsWorkflowControllerSearchWorkflows.d.ts.map +1 -0
- package/funcs/workflowsWorkflowControllerSearchWorkflows.js +123 -0
- package/funcs/workflowsWorkflowControllerSearchWorkflows.js.map +1 -0
- package/funcs/workflowsWorkflowControllerSync.d.ts +10 -0
- package/funcs/workflowsWorkflowControllerSync.d.ts.map +1 -0
- package/funcs/workflowsWorkflowControllerSync.js +132 -0
- package/funcs/workflowsWorkflowControllerSync.js.map +1 -0
- package/hooks/registration.js +1 -2
- package/hooks/registration.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/base64.js +7 -7
- package/lib/base64.js.map +1 -1
- package/lib/config.d.ts +8 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +5 -5
- package/lib/config.js.map +1 -1
- package/lib/dlv.js +1 -2
- package/lib/dlv.js.map +1 -1
- package/lib/encodings.js +10 -10
- package/lib/encodings.js.map +1 -1
- package/lib/files.js +1 -2
- package/lib/files.js.map +1 -1
- package/lib/http.js +7 -7
- package/lib/http.js.map +1 -1
- package/lib/is-plain-object.js +1 -2
- package/lib/is-plain-object.js.map +1 -1
- package/lib/matchers.js +16 -17
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.js +5 -6
- package/lib/primitives.js.map +1 -1
- package/lib/retries.js +2 -2
- package/lib/retries.js.map +1 -1
- package/lib/schemas.js +3 -4
- package/lib/schemas.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +10 -4
- package/lib/security.js.map +1 -1
- package/lib/url.js +1 -2
- package/lib/url.js.map +1 -1
- package/models/components/activitiesresponsedto.js +3 -3
- package/models/components/activitiesresponsedto.js.map +1 -1
- package/models/components/activitygraphstatesresponse.js +3 -3
- package/models/components/activitygraphstatesresponse.js.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.js +3 -3
- package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +5 -5
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/models/components/activitynotificationresponsedto.js +9 -9
- package/models/components/activitynotificationresponsedto.js.map +1 -1
- package/models/components/activitynotificationstepresponsedto.js +11 -11
- package/models/components/activitynotificationstepresponsedto.js.map +1 -1
- package/models/components/activitynotificationsubscriberresponsedto.js +3 -3
- package/models/components/activitynotificationsubscriberresponsedto.js.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.js +3 -3
- package/models/components/activitynotificationtemplateresponsedto.js.map +1 -1
- package/models/components/activitystatsresponsedto.js +3 -3
- package/models/components/activitystatsresponsedto.js.map +1 -1
- package/models/components/actorfeeditemdto.js +3 -3
- package/models/components/actorfeeditemdto.js.map +1 -1
- package/models/components/addsubscribersrequestdto.js +3 -3
- package/models/components/addsubscribersrequestdto.js.map +1 -1
- package/models/components/assignsubscribertotopicdto.js +3 -3
- package/models/components/assignsubscribertotopicdto.js.map +1 -1
- package/models/components/bulkcreatesubscriberresponsedto.js +3 -3
- package/models/components/bulkcreatesubscriberresponsedto.js.map +1 -1
- package/models/components/bulksubscribercreatedto.js +3 -3
- package/models/components/bulksubscribercreatedto.js.map +1 -1
- package/models/components/bulktriggereventdto.js +3 -3
- package/models/components/bulktriggereventdto.js.map +1 -1
- package/models/components/channelcredentials.js +3 -3
- package/models/components/channelcredentials.js.map +1 -1
- package/models/components/channelcredentialsdto.js +3 -3
- package/models/components/channelcredentialsdto.js.map +1 -1
- package/models/components/channelpreference.js +3 -3
- package/models/components/channelpreference.js.map +1 -1
- package/models/components/channelsettingsdto.js +3 -3
- package/models/components/channelsettingsdto.js.map +1 -1
- package/models/components/createdsubscriberdto.js +3 -3
- package/models/components/createdsubscriberdto.js.map +1 -1
- package/models/components/createintegrationrequestdto.js +3 -3
- package/models/components/createintegrationrequestdto.js.map +1 -1
- package/models/components/createsubscriberrequestdto.js +5 -5
- package/models/components/createsubscriberrequestdto.js.map +1 -1
- package/models/components/createtopicrequestdto.js +3 -3
- package/models/components/createtopicrequestdto.js.map +1 -1
- package/models/components/createtopicresponsedto.js +3 -3
- package/models/components/createtopicresponsedto.js.map +1 -1
- package/models/components/credentialsdto.js +5 -5
- package/models/components/credentialsdto.js.map +1 -1
- package/models/components/databooleandto.js +3 -3
- package/models/components/databooleandto.js.map +1 -1
- package/models/components/delayregularmetadata.js +3 -3
- package/models/components/delayregularmetadata.js.map +1 -1
- package/models/components/delayscheduledmetadata.js +3 -3
- package/models/components/delayscheduledmetadata.js.map +1 -1
- package/models/components/deletemessageresponsedto.js +3 -3
- package/models/components/deletemessageresponsedto.js.map +1 -1
- package/models/components/deletesubscriberresponsedto.js +3 -3
- package/models/components/deletesubscriberresponsedto.js.map +1 -1
- package/models/components/digestmetadatadto.js +3 -3
- package/models/components/digestmetadatadto.js.map +1 -1
- package/models/components/digestregularmetadata.js +3 -3
- package/models/components/digestregularmetadata.js.map +1 -1
- package/models/components/digesttimedconfigdto.js +3 -3
- package/models/components/digesttimedconfigdto.js.map +1 -1
- package/models/components/digesttimedmetadata.js +3 -3
- package/models/components/digesttimedmetadata.js.map +1 -1
- package/models/components/emailblock.js +3 -3
- package/models/components/emailblock.js.map +1 -1
- package/models/components/emailblockstyles.js +3 -3
- package/models/components/emailblockstyles.js.map +1 -1
- package/models/components/failedassignmentsdto.js +3 -3
- package/models/components/failedassignmentsdto.js.map +1 -1
- package/models/components/failedoperationdto.js +3 -3
- package/models/components/failedoperationdto.js.map +1 -1
- package/models/components/feedresponsedto.js +3 -3
- package/models/components/feedresponsedto.js.map +1 -1
- package/models/components/fieldfilterpartdto.js +3 -3
- package/models/components/fieldfilterpartdto.js.map +1 -1
- package/models/components/filtertopicsresponsedto.js +3 -3
- package/models/components/filtertopicsresponsedto.js.map +1 -1
- package/models/components/generatepreviewresponsedto.d.ts +25 -0
- package/models/components/generatepreviewresponsedto.d.ts.map +1 -0
- package/models/components/generatepreviewresponsedto.js +55 -0
- package/models/components/generatepreviewresponsedto.js.map +1 -0
- package/models/components/getsubscriberpreferencesdto.js +3 -3
- package/models/components/getsubscriberpreferencesdto.js.map +1 -1
- package/models/components/getsubscriberpreferencesresponsedto.js +3 -3
- package/models/components/getsubscriberpreferencesresponsedto.js.map +1 -1
- package/models/components/gettopicresponsedto.js +3 -3
- package/models/components/gettopicresponsedto.js.map +1 -1
- package/models/components/globalpreferencedto.js +3 -3
- package/models/components/globalpreferencedto.js.map +1 -1
- package/models/components/index.d.ts +1 -14
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -14
- package/models/components/index.js.map +1 -1
- package/models/components/integrationresponsedto.js +3 -3
- package/models/components/integrationresponsedto.js.map +1 -1
- package/models/components/listsubscribersresponsedto.js +3 -3
- package/models/components/listsubscribersresponsedto.js.map +1 -1
- package/models/components/markallmessageasrequestdto.js +5 -5
- package/models/components/markallmessageasrequestdto.js.map +1 -1
- package/models/components/markmessageactionasseendto.js +5 -5
- package/models/components/markmessageactionasseendto.js.map +1 -1
- package/models/components/messageaction.js +3 -3
- package/models/components/messageaction.js.map +1 -1
- package/models/components/messageactionresult.js +5 -5
- package/models/components/messageactionresult.js.map +1 -1
- package/models/components/messagebutton.js +3 -3
- package/models/components/messagebutton.js.map +1 -1
- package/models/components/messagecta.js +3 -3
- package/models/components/messagecta.js.map +1 -1
- package/models/components/messagectadata.js +3 -3
- package/models/components/messagectadata.js.map +1 -1
- package/models/components/messagemarkasrequestdto.js +5 -5
- package/models/components/messagemarkasrequestdto.js.map +1 -1
- package/models/components/messageresponsedto.js +9 -9
- package/models/components/messageresponsedto.js.map +1 -1
- package/models/components/messagetemplate.js +3 -3
- package/models/components/messagetemplate.js.map +1 -1
- package/models/components/messagetemplatedto.js +3 -3
- package/models/components/messagetemplatedto.js.map +1 -1
- package/models/components/notificationfeeditemdto.js +3 -3
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/models/components/notificationgroup.js +3 -3
- package/models/components/notificationgroup.js.map +1 -1
- package/models/components/notificationstepdata.js +5 -5
- package/models/components/notificationstepdata.js.map +1 -1
- package/models/components/notificationstepdto.js +5 -5
- package/models/components/notificationstepdto.js.map +1 -1
- package/models/components/notificationtrigger.js +3 -3
- package/models/components/notificationtrigger.js.map +1 -1
- package/models/components/notificationtriggerdto.js +3 -3
- package/models/components/notificationtriggerdto.js.map +1 -1
- package/models/components/notificationtriggerresponse.js +3 -3
- package/models/components/notificationtriggerresponse.js.map +1 -1
- package/models/components/notificationtriggervariable.js +3 -3
- package/models/components/notificationtriggervariable.js.map +1 -1
- package/models/components/notificationtriggervariableresponse.js +5 -5
- package/models/components/notificationtriggervariableresponse.js.map +1 -1
- package/models/components/overrides.js +3 -3
- package/models/components/overrides.js.map +1 -1
- package/models/components/patchpreferencechannelsdto.js +3 -3
- package/models/components/patchpreferencechannelsdto.js.map +1 -1
- package/models/components/patchsubscriberpreferencesdto.js +3 -3
- package/models/components/patchsubscriberpreferencesdto.js.map +1 -1
- package/models/components/patchsubscriberrequestdto.js +5 -5
- package/models/components/patchsubscriberrequestdto.js.map +1 -1
- package/models/components/preference.js +3 -3
- package/models/components/preference.js.map +1 -1
- package/models/components/preferencechannels.js +3 -3
- package/models/components/preferencechannels.js.map +1 -1
- package/models/components/removesubscriberresponsedto.js +3 -3
- package/models/components/removesubscriberresponsedto.js.map +1 -1
- package/models/components/removesubscribersrequestdto.js +3 -3
- package/models/components/removesubscribersrequestdto.js.map +1 -1
- package/models/components/renametopicrequestdto.js +3 -3
- package/models/components/renametopicrequestdto.js.map +1 -1
- package/models/components/renametopicresponsedto.js +3 -3
- package/models/components/renametopicresponsedto.js.map +1 -1
- package/models/components/replycallback.js +3 -3
- package/models/components/replycallback.js.map +1 -1
- package/models/components/security.d.ts +4 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +7 -5
- package/models/components/security.js.map +1 -1
- package/models/components/stepfilterdto.js +3 -3
- package/models/components/stepfilterdto.js.map +1 -1
- package/models/components/subscriberchanneldto.js +3 -3
- package/models/components/subscriberchanneldto.js.map +1 -1
- package/models/components/subscriberfeedresponsedto.js +3 -3
- package/models/components/subscriberfeedresponsedto.js.map +1 -1
- package/models/components/subscriberpayloaddto.js +5 -5
- package/models/components/subscriberpayloaddto.js.map +1 -1
- package/models/components/subscriberresponsedto.d.ts +5 -0
- package/models/components/subscriberresponsedto.d.ts.map +1 -1
- package/models/components/subscriberresponsedto.js +5 -3
- package/models/components/subscriberresponsedto.js.map +1 -1
- package/models/components/templateresponse.js +3 -3
- package/models/components/templateresponse.js.map +1 -1
- package/models/components/tenantpayloaddto.js +5 -5
- package/models/components/tenantpayloaddto.js.map +1 -1
- package/models/components/timedconfig.js +3 -3
- package/models/components/timedconfig.js.map +1 -1
- package/models/components/topicdto.js +3 -3
- package/models/components/topicdto.js.map +1 -1
- package/models/components/topicpayloaddto.js +3 -3
- package/models/components/topicpayloaddto.js.map +1 -1
- package/models/components/topicsubscriberdto.js +3 -3
- package/models/components/topicsubscriberdto.js.map +1 -1
- package/models/components/triggereventrequestdto.js +11 -11
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/models/components/triggereventresponsedto.js +3 -3
- package/models/components/triggereventresponsedto.js.map +1 -1
- package/models/components/triggereventtoallrequestdto.js +9 -9
- package/models/components/triggereventtoallrequestdto.js.map +1 -1
- package/models/components/triggerreservedvariableresponse.js +3 -3
- package/models/components/triggerreservedvariableresponse.js.map +1 -1
- package/models/components/unseencountresponse.js +3 -3
- package/models/components/unseencountresponse.js.map +1 -1
- package/models/components/updatedsubscriberdto.js +3 -3
- package/models/components/updatedsubscriberdto.js.map +1 -1
- package/models/components/updateintegrationrequestdto.js +3 -3
- package/models/components/updateintegrationrequestdto.js.map +1 -1
- package/models/components/updatesubscriberchannelrequestdto.js +3 -3
- package/models/components/updatesubscriberchannelrequestdto.js.map +1 -1
- package/models/components/updatesubscriberglobalpreferencesrequestdto.js +3 -3
- package/models/components/updatesubscriberglobalpreferencesrequestdto.js.map +1 -1
- package/models/components/updatesubscriberonlineflagrequestdto.js +3 -3
- package/models/components/updatesubscriberonlineflagrequestdto.js.map +1 -1
- package/models/components/updatesubscriberpreferenceglobalresponsedto.js +3 -3
- package/models/components/updatesubscriberpreferenceglobalresponsedto.js.map +1 -1
- package/models/components/updatesubscriberpreferencerequestdto.js +3 -3
- package/models/components/updatesubscriberpreferencerequestdto.js.map +1 -1
- package/models/components/updatesubscriberpreferenceresponsedto.js +3 -3
- package/models/components/updatesubscriberpreferenceresponsedto.js.map +1 -1
- package/models/components/updatesubscriberrequestdto.js +3 -3
- package/models/components/updatesubscriberrequestdto.js.map +1 -1
- package/models/components/workflowinfodto.js +3 -3
- package/models/components/workflowinfodto.js.map +1 -1
- package/models/components/workflowpreferencedto.js +3 -3
- package/models/components/workflowpreferencedto.js.map +1 -1
- package/models/components/workflowresponse.js +7 -7
- package/models/components/workflowresponse.js.map +1 -1
- package/models/components/workflowtostepcontrolvaluesdto.d.ts +40 -0
- package/models/components/workflowtostepcontrolvaluesdto.d.ts.map +1 -0
- package/models/components/workflowtostepcontrolvaluesdto.js +59 -0
- package/models/components/workflowtostepcontrolvaluesdto.js.map +1 -0
- package/models/errors/sdkvalidationerror.js +2 -2
- package/models/errors/sdkvalidationerror.js.map +1 -1
- package/models/errors/validationerrordto.js +5 -5
- package/models/errors/validationerrordto.js.map +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.js +5 -5
- package/models/operations/eventscontrollerbroadcasteventtoall.js.map +1 -1
- package/models/operations/eventscontrollercancel.js +5 -5
- package/models/operations/eventscontrollercancel.js.map +1 -1
- package/models/operations/eventscontrollertrigger.js +5 -5
- package/models/operations/eventscontrollertrigger.js.map +1 -1
- package/models/operations/eventscontrollertriggerbulk.js +5 -5
- package/models/operations/eventscontrollertriggerbulk.js.map +1 -1
- package/models/operations/index.d.ts +12 -8
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +12 -8
- package/models/operations/index.js.map +1 -1
- package/models/operations/integrationscontrollercreateintegration.js +5 -5
- package/models/operations/integrationscontrollercreateintegration.js.map +1 -1
- package/models/operations/integrationscontrollergetactiveintegrations.js +5 -5
- package/models/operations/integrationscontrollergetactiveintegrations.js.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +5 -5
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js.map +1 -1
- package/models/operations/integrationscontrollerlistintegrations.js +5 -5
- package/models/operations/integrationscontrollerlistintegrations.js.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +5 -5
- package/models/operations/integrationscontrollerremoveintegration.js.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +5 -5
- package/models/operations/integrationscontrollersetintegrationasprimary.js.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +5 -5
- package/models/operations/integrationscontrollerupdateintegrationbyid.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +5 -5
- package/models/operations/messagescontrollerdeletemessage.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +5 -5
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js.map +1 -1
- package/models/operations/messagescontrollergetmessages.js +5 -5
- package/models/operations/messagescontrollergetmessages.js.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +5 -5
- package/models/operations/notificationscontrollergetactivitygraphstats.js.map +1 -1
- package/models/operations/notificationscontrollergetactivitystats.js +5 -5
- package/models/operations/notificationscontrollergetactivitystats.js.map +1 -1
- package/models/operations/notificationscontrollergetnotification.js +5 -5
- package/models/operations/notificationscontrollergetnotification.js.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +5 -5
- package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +66 -0
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +1 -0
- package/models/operations/subscriberscontrollercreatesubscriber.js +112 -0
- package/models/operations/subscriberscontrollercreatesubscriber.js.map +1 -0
- package/models/operations/subscriberscontrollergetsubscriber.js +5 -5
- package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferences.js +5 -5
- package/models/operations/subscriberscontrollergetsubscriberpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerpatchsubscriber.js +5 -5
- package/models/operations/subscriberscontrollerpatchsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +5 -5
- package/models/operations/subscriberscontrollerremovesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollersearchsubscribers.js +5 -5
- package/models/operations/subscriberscontrollersearchsubscribers.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.js +5 -5
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.js.map +1 -1
- package/models/operations/subscribersv1controllerbulkcreatesubscribers.js +5 -5
- package/models/operations/subscribersv1controllerbulkcreatesubscribers.js.map +1 -1
- package/models/operations/subscribersv1controllerchataccessoauth.d.ts +2 -2
- package/models/operations/subscribersv1controllerchataccessoauth.d.ts.map +1 -1
- package/models/operations/subscribersv1controllerchataccessoauth.js +7 -7
- package/models/operations/subscribersv1controllerchataccessoauth.js.map +1 -1
- package/models/operations/subscribersv1controllerchatoauthcallback.d.ts +2 -2
- package/models/operations/subscribersv1controllerchatoauthcallback.d.ts.map +1 -1
- package/models/operations/subscribersv1controllerchatoauthcallback.js +9 -9
- package/models/operations/subscribersv1controllerchatoauthcallback.js.map +1 -1
- package/models/operations/subscribersv1controllercreatesubscriber.js +5 -5
- package/models/operations/subscribersv1controllercreatesubscriber.js.map +1 -1
- package/models/operations/subscribersv1controllerdeletesubscribercredentials.js +5 -5
- package/models/operations/subscribersv1controllerdeletesubscribercredentials.js.map +1 -1
- package/models/operations/subscribersv1controllergetnotificationsfeed.js +5 -5
- package/models/operations/subscribersv1controllergetnotificationsfeed.js.map +1 -1
- package/models/operations/subscribersv1controllergetsubscriber.js +5 -5
- package/models/operations/subscribersv1controllergetsubscriber.js.map +1 -1
- package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js +5 -5
- package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js.map +1 -1
- package/models/operations/subscribersv1controllergetunseencount.js +5 -5
- package/models/operations/subscribersv1controllergetunseencount.js.map +1 -1
- package/models/operations/subscribersv1controllerlistsubscriberpreferences.js +5 -5
- package/models/operations/subscribersv1controllerlistsubscriberpreferences.js.map +1 -1
- package/models/operations/subscribersv1controllerlistsubscribers.js +7 -7
- package/models/operations/subscribersv1controllerlistsubscribers.js.map +1 -1
- package/models/operations/subscribersv1controllermarkactionasseen.d.ts +2 -2
- package/models/operations/subscribersv1controllermarkactionasseen.d.ts.map +1 -1
- package/models/operations/subscribersv1controllermarkactionasseen.js +7 -7
- package/models/operations/subscribersv1controllermarkactionasseen.js.map +1 -1
- package/models/operations/subscribersv1controllermarkallunreadasread.js +5 -5
- package/models/operations/subscribersv1controllermarkallunreadasread.js.map +1 -1
- package/models/operations/subscribersv1controllermarkmessagesas.js +5 -5
- package/models/operations/subscribersv1controllermarkmessagesas.js.map +1 -1
- package/models/operations/subscribersv1controllermodifysubscriberchannel.js +5 -5
- package/models/operations/subscribersv1controllermodifysubscriberchannel.js.map +1 -1
- package/models/operations/subscribersv1controllerremovesubscriber.js +5 -5
- package/models/operations/subscribersv1controllerremovesubscriber.js.map +1 -1
- package/models/operations/subscribersv1controllerupdatesubscriber.js +5 -5
- package/models/operations/subscribersv1controllerupdatesubscriber.js.map +1 -1
- package/models/operations/subscribersv1controllerupdatesubscriberchannel.js +5 -5
- package/models/operations/subscribersv1controllerupdatesubscriberchannel.js.map +1 -1
- package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js +5 -5
- package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js.map +1 -1
- package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.js +5 -5
- package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.js.map +1 -1
- package/models/operations/subscribersv1controllerupdatesubscriberpreference.js +5 -5
- package/models/operations/subscribersv1controllerupdatesubscriberpreference.js.map +1 -1
- package/models/operations/topicscontrollerassign.js +5 -5
- package/models/operations/topicscontrollerassign.js.map +1 -1
- package/models/operations/topicscontrollercreatetopic.js +5 -5
- package/models/operations/topicscontrollercreatetopic.js.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +5 -5
- package/models/operations/topicscontrollerdeletetopic.js.map +1 -1
- package/models/operations/topicscontrollergettopic.js +5 -5
- package/models/operations/topicscontrollergettopic.js.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +5 -5
- package/models/operations/topicscontrollergettopicsubscriber.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +7 -7
- package/models/operations/topicscontrollergettopicsubscriber.js.map +1 -1
- package/models/operations/topicscontrollerlisttopics.js +5 -5
- package/models/operations/topicscontrollerlisttopics.js.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +5 -5
- package/models/operations/topicscontrollerremovesubscribers.js.map +1 -1
- package/models/operations/topicscontrollerrenametopic.js +5 -5
- package/models/operations/topicscontrollerrenametopic.js.map +1 -1
- package/models/operations/workflowcontrollercreate.d.ts +84 -0
- package/models/operations/workflowcontrollercreate.d.ts.map +1 -0
- package/models/operations/workflowcontrollercreate.js +130 -0
- package/models/operations/workflowcontrollercreate.js.map +1 -0
- package/models/operations/workflowcontrollergeneratepreview.d.ts +68 -0
- package/models/operations/workflowcontrollergeneratepreview.d.ts.map +1 -0
- package/models/operations/workflowcontrollergeneratepreview.js +112 -0
- package/models/operations/workflowcontrollergeneratepreview.js.map +1 -0
- package/models/operations/workflowcontrollergetworkflow.d.ts +88 -0
- package/models/operations/workflowcontrollergetworkflow.d.ts.map +1 -0
- package/models/operations/workflowcontrollergetworkflow.js +134 -0
- package/models/operations/workflowcontrollergetworkflow.js.map +1 -0
- package/models/operations/workflowcontrollergetworkflowstepdata.d.ts +88 -0
- package/models/operations/workflowcontrollergetworkflowstepdata.d.ts.map +1 -0
- package/models/operations/workflowcontrollergetworkflowstepdata.js +134 -0
- package/models/operations/workflowcontrollergetworkflowstepdata.js.map +1 -0
- package/models/operations/workflowcontrollergetworkflowtestdata.d.ts +86 -0
- package/models/operations/workflowcontrollergetworkflowtestdata.d.ts.map +1 -0
- package/models/operations/workflowcontrollergetworkflowtestdata.js +132 -0
- package/models/operations/workflowcontrollergetworkflowtestdata.js.map +1 -0
- package/models/operations/workflowcontrollerpatchworkflow.d.ts +86 -0
- package/models/operations/workflowcontrollerpatchworkflow.d.ts.map +1 -0
- package/models/operations/workflowcontrollerpatchworkflow.js +132 -0
- package/models/operations/workflowcontrollerpatchworkflow.js.map +1 -0
- package/models/operations/workflowcontrollerpatchworkflowstepdata.d.ts +88 -0
- package/models/operations/workflowcontrollerpatchworkflowstepdata.d.ts.map +1 -0
- package/models/operations/workflowcontrollerpatchworkflowstepdata.js +134 -0
- package/models/operations/workflowcontrollerpatchworkflowstepdata.js.map +1 -0
- package/models/operations/workflowcontrollerremoveworkflow.d.ts +63 -0
- package/models/operations/workflowcontrollerremoveworkflow.d.ts.map +1 -0
- package/models/operations/workflowcontrollerremoveworkflow.js +105 -0
- package/models/operations/workflowcontrollerremoveworkflow.js.map +1 -0
- package/models/operations/workflowcontrollersearchworkflows.d.ts +84 -0
- package/models/operations/workflowcontrollersearchworkflows.d.ts.map +1 -0
- package/models/operations/workflowcontrollersearchworkflows.js +130 -0
- package/models/operations/workflowcontrollersearchworkflows.js.map +1 -0
- package/models/operations/workflowcontrollersync.d.ts +86 -0
- package/models/operations/workflowcontrollersync.d.ts.map +1 -0
- package/models/operations/workflowcontrollersync.js +132 -0
- package/models/operations/workflowcontrollersync.js.map +1 -0
- package/models/operations/workflowcontrollerupdate.d.ts +86 -0
- package/models/operations/workflowcontrollerupdate.d.ts.map +1 -0
- package/models/operations/workflowcontrollerupdate.js +132 -0
- package/models/operations/workflowcontrollerupdate.js.map +1 -0
- package/package.json +22 -13
- package/react-query/_context.d.ts +8 -0
- package/react-query/_context.d.ts.map +1 -0
- package/react-query/_context.js +21 -0
- package/react-query/_context.js.map +1 -0
- package/react-query/_types.d.ts +14 -0
- package/react-query/_types.d.ts.map +1 -0
- package/react-query/_types.js +6 -0
- package/react-query/_types.js.map +1 -0
- package/react-query/cancel.d.ts +26 -0
- package/react-query/cancel.d.ts.map +1 -0
- package/react-query/cancel.js +49 -0
- package/react-query/cancel.js.map +1 -0
- package/react-query/index.d.ts +60 -0
- package/react-query/index.d.ts.map +1 -0
- package/react-query/index.js +82 -0
- package/react-query/index.js.map +1 -0
- package/react-query/integrationsCreate.d.ts +25 -0
- package/react-query/integrationsCreate.d.ts.map +1 -0
- package/react-query/integrationsCreate.js +47 -0
- package/react-query/integrationsCreate.js.map +1 -0
- package/react-query/integrationsDelete.d.ts +21 -0
- package/react-query/integrationsDelete.d.ts.map +1 -0
- package/react-query/integrationsDelete.js +44 -0
- package/react-query/integrationsDelete.js.map +1 -0
- package/react-query/integrationsList.d.ts +38 -0
- package/react-query/integrationsList.d.ts.map +1 -0
- package/react-query/integrationsList.js +82 -0
- package/react-query/integrationsList.js.map +1 -0
- package/react-query/integrationsListActive.d.ts +38 -0
- package/react-query/integrationsListActive.d.ts.map +1 -0
- package/react-query/integrationsListActive.js +82 -0
- package/react-query/integrationsListActive.js.map +1 -0
- package/react-query/integrationsSetAsPrimary.d.ts +21 -0
- package/react-query/integrationsSetAsPrimary.d.ts.map +1 -0
- package/react-query/integrationsSetAsPrimary.js +44 -0
- package/react-query/integrationsSetAsPrimary.js.map +1 -0
- package/react-query/integrationsUpdate.d.ts +23 -0
- package/react-query/integrationsUpdate.d.ts.map +1 -0
- package/react-query/integrationsUpdate.js +44 -0
- package/react-query/integrationsUpdate.js.map +1 -0
- package/react-query/integrationsWebhooksRetrieve.d.ts +42 -0
- package/react-query/integrationsWebhooksRetrieve.d.ts.map +1 -0
- package/react-query/integrationsWebhooksRetrieve.js +90 -0
- package/react-query/integrationsWebhooksRetrieve.js.map +1 -0
- package/react-query/messagesDelete.d.ts +24 -0
- package/react-query/messagesDelete.d.ts.map +1 -0
- package/react-query/messagesDelete.js +47 -0
- package/react-query/messagesDelete.js.map +1 -0
- package/react-query/messagesDeleteByTransactionId.d.ts +25 -0
- package/react-query/messagesDeleteByTransactionId.d.ts.map +1 -0
- package/react-query/messagesDeleteByTransactionId.js +47 -0
- package/react-query/messagesDeleteByTransactionId.js.map +1 -0
- package/react-query/messagesRetrieve.d.ts +56 -0
- package/react-query/messagesRetrieve.d.ts.map +1 -0
- package/react-query/messagesRetrieve.js +89 -0
- package/react-query/messagesRetrieve.js.map +1 -0
- package/react-query/notificationsList.d.ts +62 -0
- package/react-query/notificationsList.d.ts.map +1 -0
- package/react-query/notificationsList.js +87 -0
- package/react-query/notificationsList.js.map +1 -0
- package/react-query/notificationsRetrieve.d.ts +36 -0
- package/react-query/notificationsRetrieve.d.ts.map +1 -0
- package/react-query/notificationsRetrieve.js +76 -0
- package/react-query/notificationsRetrieve.js.map +1 -0
- package/react-query/notificationsStatsGraph.d.ts +37 -0
- package/react-query/notificationsStatsGraph.d.ts.map +1 -0
- package/react-query/notificationsStatsGraph.js +76 -0
- package/react-query/notificationsStatsGraph.js.map +1 -0
- package/react-query/notificationsStatsRetrieve.d.ts +32 -0
- package/react-query/notificationsStatsRetrieve.d.ts.map +1 -0
- package/react-query/notificationsStatsRetrieve.js +76 -0
- package/react-query/notificationsStatsRetrieve.js.map +1 -0
- package/react-query/subscribersAuthenticationChatAccessOauth.d.ts +47 -0
- package/react-query/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -0
- package/react-query/subscribersAuthenticationChatAccessOauth.js +93 -0
- package/react-query/subscribersAuthenticationChatAccessOauth.js.map +1 -0
- package/react-query/subscribersAuthenticationChatAccessOauthCallBack.d.ts +54 -0
- package/react-query/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -0
- package/react-query/subscribersAuthenticationChatAccessOauthCallBack.js +97 -0
- package/react-query/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -0
- package/react-query/subscribersCreate.d.ts +25 -0
- package/react-query/subscribersCreate.d.ts.map +1 -0
- package/react-query/subscribersCreate.js +47 -0
- package/react-query/subscribersCreate.js.map +1 -0
- package/react-query/subscribersCreateBulk.d.ts +27 -0
- package/react-query/subscribersCreateBulk.d.ts.map +1 -0
- package/react-query/subscribersCreateBulk.js +49 -0
- package/react-query/subscribersCreateBulk.js.map +1 -0
- package/react-query/subscribersCredentialsAppend.d.ts +27 -0
- package/react-query/subscribersCredentialsAppend.d.ts.map +1 -0
- package/react-query/subscribersCredentialsAppend.js +48 -0
- package/react-query/subscribersCredentialsAppend.js.map +1 -0
- package/react-query/subscribersCredentialsDelete.d.ts +25 -0
- package/react-query/subscribersCredentialsDelete.d.ts.map +1 -0
- package/react-query/subscribersCredentialsDelete.js +47 -0
- package/react-query/subscribersCredentialsDelete.js.map +1 -0
- package/react-query/subscribersCredentialsUpdate.d.ts +26 -0
- package/react-query/subscribersCredentialsUpdate.d.ts.map +1 -0
- package/react-query/subscribersCredentialsUpdate.js +47 -0
- package/react-query/subscribersCredentialsUpdate.js.map +1 -0
- package/react-query/subscribersDelete.d.ts +24 -0
- package/react-query/subscribersDelete.d.ts.map +1 -0
- package/react-query/subscribersDelete.js +47 -0
- package/react-query/subscribersDelete.js.map +1 -0
- package/react-query/subscribersDeleteLegacy.d.ts +26 -0
- package/react-query/subscribersDeleteLegacy.d.ts.map +1 -0
- package/react-query/subscribersDeleteLegacy.js +49 -0
- package/react-query/subscribersDeleteLegacy.js.map +1 -0
- package/react-query/subscribersList.d.ts +71 -0
- package/react-query/subscribersList.d.ts.map +1 -0
- package/react-query/subscribersList.js +132 -0
- package/react-query/subscribersList.js.map +1 -0
- package/react-query/subscribersMessagesMarkAll.d.ts +23 -0
- package/react-query/subscribersMessagesMarkAll.d.ts.map +1 -0
- package/react-query/subscribersMessagesMarkAll.js +44 -0
- package/react-query/subscribersMessagesMarkAll.js.map +1 -0
- package/react-query/subscribersMessagesMarkAllAs.d.ts +23 -0
- package/react-query/subscribersMessagesMarkAllAs.d.ts.map +1 -0
- package/react-query/subscribersMessagesMarkAllAs.js +44 -0
- package/react-query/subscribersMessagesMarkAllAs.js.map +1 -0
- package/react-query/subscribersMessagesUpdateAsSeen.d.ts +20 -0
- package/react-query/subscribersMessagesUpdateAsSeen.d.ts.map +1 -0
- package/react-query/subscribersMessagesUpdateAsSeen.js +44 -0
- package/react-query/subscribersMessagesUpdateAsSeen.js.map +1 -0
- package/react-query/subscribersNotificationsFeed.d.ts +51 -0
- package/react-query/subscribersNotificationsFeed.d.ts.map +1 -0
- package/react-query/subscribersNotificationsFeed.js +83 -0
- package/react-query/subscribersNotificationsFeed.js.map +1 -0
- package/react-query/subscribersNotificationsUnseenCount.d.ts +42 -0
- package/react-query/subscribersNotificationsUnseenCount.d.ts.map +1 -0
- package/react-query/subscribersNotificationsUnseenCount.js +86 -0
- package/react-query/subscribersNotificationsUnseenCount.js.map +1 -0
- package/react-query/subscribersPatch.d.ts +26 -0
- package/react-query/subscribersPatch.d.ts.map +1 -0
- package/react-query/subscribersPatch.js +47 -0
- package/react-query/subscribersPatch.js.map +1 -0
- package/react-query/subscribersPreferencesList.d.ts +42 -0
- package/react-query/subscribersPreferencesList.d.ts.map +1 -0
- package/react-query/subscribersPreferencesList.js +84 -0
- package/react-query/subscribersPreferencesList.js.map +1 -0
- package/react-query/subscribersPreferencesRetrieve.d.ts +42 -0
- package/react-query/subscribersPreferencesRetrieve.d.ts.map +1 -0
- package/react-query/subscribersPreferencesRetrieve.js +84 -0
- package/react-query/subscribersPreferencesRetrieve.js.map +1 -0
- package/react-query/subscribersPreferencesRetrieveByLevel.d.ts +41 -0
- package/react-query/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -0
- package/react-query/subscribersPreferencesRetrieveByLevel.js +86 -0
- package/react-query/subscribersPreferencesRetrieveByLevel.js.map +1 -0
- package/react-query/subscribersPreferencesUpdate.d.ts +26 -0
- package/react-query/subscribersPreferencesUpdate.d.ts.map +1 -0
- package/react-query/subscribersPreferencesUpdate.js +47 -0
- package/react-query/subscribersPreferencesUpdate.js.map +1 -0
- package/react-query/subscribersPreferencesUpdateGlobal.d.ts +23 -0
- package/react-query/subscribersPreferencesUpdateGlobal.d.ts.map +1 -0
- package/react-query/subscribersPreferencesUpdateGlobal.js +44 -0
- package/react-query/subscribersPreferencesUpdateGlobal.js.map +1 -0
- package/react-query/subscribersPreferencesUpdateLegacy.d.ts +20 -0
- package/react-query/subscribersPreferencesUpdateLegacy.d.ts.map +1 -0
- package/react-query/subscribersPreferencesUpdateLegacy.js +44 -0
- package/react-query/subscribersPreferencesUpdateLegacy.js.map +1 -0
- package/react-query/subscribersPropertiesUpdateOnlineFlag.d.ts +26 -0
- package/react-query/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -0
- package/react-query/subscribersPropertiesUpdateOnlineFlag.js +47 -0
- package/react-query/subscribersPropertiesUpdateOnlineFlag.js.map +1 -0
- package/react-query/subscribersRetrieve.d.ts +42 -0
- package/react-query/subscribersRetrieve.d.ts.map +1 -0
- package/react-query/subscribersRetrieve.js +82 -0
- package/react-query/subscribersRetrieve.js.map +1 -0
- package/react-query/subscribersRetrieveLegacy.d.ts +45 -0
- package/react-query/subscribersRetrieveLegacy.d.ts.map +1 -0
- package/react-query/subscribersRetrieveLegacy.js +91 -0
- package/react-query/subscribersRetrieveLegacy.js.map +1 -0
- package/react-query/subscribersSearch.d.ts +61 -0
- package/react-query/subscribersSearch.d.ts.map +1 -0
- package/react-query/subscribersSearch.js +87 -0
- package/react-query/subscribersSearch.js.map +1 -0
- package/react-query/subscribersUpdate.d.ts +26 -0
- package/react-query/subscribersUpdate.d.ts.map +1 -0
- package/react-query/subscribersUpdate.js +47 -0
- package/react-query/subscribersUpdate.js.map +1 -0
- package/react-query/topicsCreate.d.ts +25 -0
- package/react-query/topicsCreate.d.ts.map +1 -0
- package/react-query/topicsCreate.js +47 -0
- package/react-query/topicsCreate.js.map +1 -0
- package/react-query/topicsDelete.d.ts +24 -0
- package/react-query/topicsDelete.d.ts.map +1 -0
- package/react-query/topicsDelete.js +47 -0
- package/react-query/topicsDelete.js.map +1 -0
- package/react-query/topicsList.d.ts +49 -0
- package/react-query/topicsList.d.ts.map +1 -0
- package/react-query/topicsList.js +87 -0
- package/react-query/topicsList.js.map +1 -0
- package/react-query/topicsRename.d.ts +26 -0
- package/react-query/topicsRename.d.ts.map +1 -0
- package/react-query/topicsRename.js +47 -0
- package/react-query/topicsRename.js.map +1 -0
- package/react-query/topicsRetrieve.d.ts +42 -0
- package/react-query/topicsRetrieve.d.ts.map +1 -0
- package/react-query/topicsRetrieve.js +82 -0
- package/react-query/topicsRetrieve.js.map +1 -0
- package/react-query/topicsSubscribersAssign.d.ts +26 -0
- package/react-query/topicsSubscribersAssign.d.ts.map +1 -0
- package/react-query/topicsSubscribersAssign.js +47 -0
- package/react-query/topicsSubscribersAssign.js.map +1 -0
- package/react-query/topicsSubscribersRemove.d.ts +26 -0
- package/react-query/topicsSubscribersRemove.d.ts.map +1 -0
- package/react-query/topicsSubscribersRemove.js +47 -0
- package/react-query/topicsSubscribersRemove.js.map +1 -0
- package/react-query/topicsSubscribersRetrieve.d.ts +44 -0
- package/react-query/topicsSubscribersRetrieve.d.ts.map +1 -0
- package/react-query/topicsSubscribersRetrieve.js +89 -0
- package/react-query/topicsSubscribersRetrieve.js.map +1 -0
- package/react-query/trigger.d.ts +28 -0
- package/react-query/trigger.d.ts.map +1 -0
- package/react-query/trigger.js +50 -0
- package/react-query/trigger.js.map +1 -0
- package/react-query/triggerBroadcast.d.ts +26 -0
- package/react-query/triggerBroadcast.d.ts.map +1 -0
- package/react-query/triggerBroadcast.js +48 -0
- package/react-query/triggerBroadcast.js.map +1 -0
- package/react-query/triggerBulk.d.ts +27 -0
- package/react-query/triggerBulk.d.ts.map +1 -0
- package/react-query/triggerBulk.js +49 -0
- package/react-query/triggerBulk.js.map +1 -0
- package/react-query/workflowsCreate.d.ts +17 -0
- package/react-query/workflowsCreate.d.ts.map +1 -0
- package/react-query/workflowsCreate.js +41 -0
- package/react-query/workflowsCreate.js.map +1 -0
- package/react-query/workflowsDelete.d.ts +18 -0
- package/react-query/workflowsDelete.d.ts.map +1 -0
- package/react-query/workflowsDelete.js +41 -0
- package/react-query/workflowsDelete.js.map +1 -0
- package/react-query/workflowsGetStepData.d.ts +32 -0
- package/react-query/workflowsGetStepData.d.ts.map +1 -0
- package/react-query/workflowsGetStepData.js +79 -0
- package/react-query/workflowsGetStepData.js.map +1 -0
- package/react-query/workflowsGetWorkflowTestData.d.ts +30 -0
- package/react-query/workflowsGetWorkflowTestData.d.ts.map +1 -0
- package/react-query/workflowsGetWorkflowTestData.js +83 -0
- package/react-query/workflowsGetWorkflowTestData.js.map +1 -0
- package/react-query/workflowsRetrieve.d.ts +33 -0
- package/react-query/workflowsRetrieve.d.ts.map +1 -0
- package/react-query/workflowsRetrieve.js +73 -0
- package/react-query/workflowsRetrieve.js.map +1 -0
- package/react-query/workflowsUpdate.d.ts +18 -0
- package/react-query/workflowsUpdate.d.ts.map +1 -0
- package/react-query/workflowsUpdate.js +41 -0
- package/react-query/workflowsUpdate.js.map +1 -0
- package/react-query/workflowsWorkflowControllerGeneratePreview.d.ts +19 -0
- package/react-query/workflowsWorkflowControllerGeneratePreview.d.ts.map +1 -0
- package/react-query/workflowsWorkflowControllerGeneratePreview.js +41 -0
- package/react-query/workflowsWorkflowControllerGeneratePreview.js.map +1 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflow.d.ts +18 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflow.d.ts.map +1 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflow.js +41 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflow.js.map +1 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflowStepData.d.ts +19 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflowStepData.d.ts.map +1 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflowStepData.js +41 -0
- package/react-query/workflowsWorkflowControllerPatchWorkflowStepData.js.map +1 -0
- package/react-query/workflowsWorkflowControllerSearchWorkflows.d.ts +26 -0
- package/react-query/workflowsWorkflowControllerSearchWorkflows.d.ts.map +1 -0
- package/react-query/workflowsWorkflowControllerSearchWorkflows.js +82 -0
- package/react-query/workflowsWorkflowControllerSearchWorkflows.js.map +1 -0
- package/react-query/workflowsWorkflowControllerSync.d.ts +18 -0
- package/react-query/workflowsWorkflowControllerSync.d.ts.map +1 -0
- package/react-query/workflowsWorkflowControllerSync.js +41 -0
- package/react-query/workflowsWorkflowControllerSync.js.map +1 -0
- package/sdk/novusubscribers.d.ts +1 -1
- package/sdk/novusubscribers.d.ts.map +1 -1
- package/sdk/novusubscribers.js +2 -2
- package/sdk/novusubscribers.js.map +1 -1
- package/sdk/preferences.d.ts +1 -20
- package/sdk/preferences.d.ts.map +1 -1
- package/sdk/preferences.js +3 -32
- package/sdk/preferences.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/subscribers.d.ts +9 -32
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +12 -44
- package/sdk/subscribers.js.map +1 -1
- package/sdk/workflows.d.ts +40 -0
- package/sdk/workflows.d.ts.map +1 -0
- package/sdk/workflows.js +80 -0
- package/sdk/workflows.js.map +1 -0
- package/sources/temp.json +0 -0
- package/src/funcs/cancel.ts +2 -3
- package/src/funcs/integrationsCreate.ts +2 -3
- package/src/funcs/integrationsDelete.ts +2 -3
- package/src/funcs/integrationsList.ts +2 -3
- package/src/funcs/integrationsListActive.ts +2 -3
- package/src/funcs/integrationsSetAsPrimary.ts +2 -3
- package/src/funcs/integrationsUpdate.ts +2 -3
- package/src/funcs/integrationsWebhooksRetrieve.ts +2 -3
- package/src/funcs/messagesDelete.ts +2 -3
- package/src/funcs/messagesDeleteByTransactionId.ts +2 -3
- package/src/funcs/messagesRetrieve.ts +2 -3
- package/src/funcs/notificationsList.ts +2 -3
- package/src/funcs/notificationsRetrieve.ts +2 -3
- package/src/funcs/notificationsStatsGraph.ts +2 -3
- package/src/funcs/notificationsStatsRetrieve.ts +2 -3
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +2 -3
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +2 -3
- package/src/funcs/subscribersCreate.ts +11 -12
- package/src/funcs/subscribersCreateBulk.ts +2 -3
- package/src/funcs/subscribersCredentialsAppend.ts +2 -3
- package/src/funcs/subscribersCredentialsDelete.ts +2 -3
- package/src/funcs/subscribersCredentialsUpdate.ts +2 -3
- package/src/funcs/subscribersDelete.ts +2 -3
- package/src/funcs/subscribersList.ts +2 -3
- package/src/funcs/subscribersMessagesMarkAll.ts +2 -3
- package/src/funcs/subscribersMessagesMarkAllAs.ts +2 -3
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +2 -3
- package/src/funcs/subscribersNotificationsFeed.ts +2 -3
- package/src/funcs/subscribersNotificationsUnseenCount.ts +2 -3
- package/src/funcs/subscribersPatch.ts +2 -3
- package/src/funcs/{subscribersPreferencesRetrieve.ts → subscribersPreferencesList.ts} +3 -4
- package/src/funcs/subscribersPreferencesUpdate.ts +2 -3
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +2 -3
- package/src/funcs/subscribersRetrieve.ts +2 -3
- package/src/funcs/subscribersSearch.ts +2 -3
- package/src/funcs/topicsCreate.ts +2 -3
- package/src/funcs/topicsDelete.ts +2 -3
- package/src/funcs/topicsList.ts +2 -3
- package/src/funcs/topicsRename.ts +2 -3
- package/src/funcs/topicsRetrieve.ts +2 -3
- package/src/funcs/topicsSubscribersAssign.ts +2 -3
- package/src/funcs/topicsSubscribersRemove.ts +2 -3
- package/src/funcs/topicsSubscribersRetrieve.ts +4 -5
- package/src/funcs/trigger.ts +2 -3
- package/src/funcs/triggerBroadcast.ts +2 -3
- package/src/funcs/triggerBulk.ts +2 -3
- package/src/funcs/workflowsCreate.ts +179 -0
- package/src/funcs/workflowsDelete.ts +192 -0
- package/src/funcs/{subscribersPreferencesUpdateLegacy.ts → workflowsGetStepData.ts} +27 -30
- package/src/funcs/workflowsGetWorkflowTestData.ts +191 -0
- package/src/funcs/{subscribersRetrieveLegacy.ts → workflowsRetrieve.ts} +19 -25
- package/src/funcs/{subscribersUpdateLegacy.ts → workflowsUpdate.ts} +17 -33
- package/src/funcs/workflowsWorkflowControllerGeneratePreview.ts +200 -0
- package/src/funcs/workflowsWorkflowControllerPatchWorkflow.ts +192 -0
- package/src/funcs/{subscribersDeleteLegacy.ts → workflowsWorkflowControllerPatchWorkflowStepData.ts} +23 -24
- package/src/funcs/workflowsWorkflowControllerSearchWorkflows.ts +183 -0
- package/src/funcs/workflowsWorkflowControllerSync.ts +188 -0
- package/src/lib/config.ts +8 -4
- package/src/lib/security.ts +7 -0
- package/src/models/components/generatepreviewresponsedto.ts +58 -0
- package/src/models/components/index.ts +1 -14
- package/src/models/components/security.ts +8 -4
- package/src/models/components/subscriberresponsedto.ts +7 -0
- package/src/models/operations/index.ts +12 -8
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +185 -0
- package/src/models/operations/subscribersv1controllerchataccessoauth.ts +4 -4
- package/src/models/operations/subscribersv1controllerchatoauthcallback.ts +4 -4
- package/src/models/operations/subscribersv1controllermarkactionasseen.ts +4 -4
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +7 -7
- package/src/models/operations/workflowcontrollercreate.ts +209 -0
- package/src/models/operations/workflowcontrollergeneratepreview.ts +182 -0
- package/src/models/operations/workflowcontrollergetworkflow.ts +232 -0
- package/src/models/operations/workflowcontrollergetworkflowstepdata.ts +252 -0
- package/src/models/operations/workflowcontrollergetworkflowtestdata.ts +248 -0
- package/src/models/operations/workflowcontrollerpatchworkflow.ts +238 -0
- package/src/models/operations/workflowcontrollerpatchworkflowstepdata.ts +254 -0
- package/src/models/operations/workflowcontrollerremoveworkflow.ts +170 -0
- package/src/models/operations/workflowcontrollersearchworkflows.ts +240 -0
- package/src/models/operations/workflowcontrollersync.ts +212 -0
- package/src/models/operations/workflowcontrollerupdate.ts +213 -0
- package/src/react-query/_types.ts +91 -0
- package/src/react-query/cancel.ts +89 -0
- package/src/react-query/index.ts +64 -0
- package/src/react-query/integrationsCreate.ts +93 -0
- package/src/react-query/integrationsDelete.ts +89 -0
- package/src/react-query/integrationsList.ts +153 -0
- package/src/react-query/integrationsListActive.ts +153 -0
- package/src/react-query/integrationsSetAsPrimary.ts +89 -0
- package/src/react-query/integrationsUpdate.ts +93 -0
- package/src/react-query/integrationsWebhooksRetrieve.ts +176 -0
- package/src/react-query/messagesDelete.ts +92 -0
- package/src/react-query/messagesDeleteByTransactionId.ts +96 -0
- package/src/react-query/messagesRetrieve.ts +184 -0
- package/src/react-query/notificationsList.ts +194 -0
- package/src/react-query/notificationsRetrieve.ts +162 -0
- package/src/react-query/notificationsStatsGraph.ts +166 -0
- package/src/react-query/notificationsStatsRetrieve.ts +147 -0
- package/src/react-query/subscribersAuthenticationChatAccessOauth.ts +202 -0
- package/src/react-query/subscribersAuthenticationChatAccessOauthCallBack.ts +219 -0
- package/src/react-query/subscribersCreate.ts +93 -0
- package/src/react-query/subscribersCreateBulk.ts +95 -0
- package/src/react-query/subscribersCredentialsAppend.ts +98 -0
- package/src/react-query/subscribersCredentialsDelete.ts +96 -0
- package/src/react-query/subscribersCredentialsUpdate.ts +97 -0
- package/src/react-query/subscribersDelete.ts +92 -0
- package/src/react-query/subscribersList.ts +315 -0
- package/src/react-query/subscribersMessagesMarkAll.ts +93 -0
- package/src/react-query/subscribersMessagesMarkAllAs.ts +93 -0
- package/src/react-query/subscribersMessagesUpdateAsSeen.ts +86 -0
- package/src/react-query/subscribersNotificationsFeed.ts +182 -0
- package/src/react-query/subscribersNotificationsUnseenCount.ts +184 -0
- package/src/react-query/subscribersPatch.ts +96 -0
- package/src/react-query/subscribersPreferencesList.ts +167 -0
- package/src/react-query/subscribersPreferencesUpdate.ts +96 -0
- package/src/react-query/subscribersPropertiesUpdateOnlineFlag.ts +97 -0
- package/src/react-query/subscribersRetrieve.ts +165 -0
- package/src/react-query/subscribersSearch.ts +193 -0
- package/src/react-query/topicsCreate.ts +93 -0
- package/src/react-query/topicsDelete.ts +93 -0
- package/src/react-query/topicsList.ts +172 -0
- package/src/react-query/topicsRename.ts +96 -0
- package/src/react-query/topicsRetrieve.ts +163 -0
- package/src/react-query/topicsSubscribersAssign.ts +96 -0
- package/src/react-query/topicsSubscribersRemove.ts +97 -0
- package/src/react-query/topicsSubscribersRetrieve.ts +190 -0
- package/src/react-query/trigger.ts +91 -0
- package/src/react-query/triggerBroadcast.ts +94 -0
- package/src/react-query/triggerBulk.ts +95 -0
- package/src/react-query/workflowsCreate.ts +83 -0
- package/src/react-query/workflowsDelete.ts +87 -0
- package/src/react-query/workflowsGetStepData.ts +176 -0
- package/src/react-query/workflowsGetWorkflowTestData.ts +166 -0
- package/src/react-query/workflowsRetrieve.ts +170 -0
- package/src/react-query/workflowsUpdate.ts +86 -0
- package/src/react-query/workflowsWorkflowControllerGeneratePreview.ts +89 -0
- package/src/react-query/workflowsWorkflowControllerPatchWorkflow.ts +86 -0
- package/src/react-query/workflowsWorkflowControllerPatchWorkflowStepData.ts +97 -0
- package/src/react-query/workflowsWorkflowControllerSearchWorkflows.ts +164 -0
- package/src/react-query/workflowsWorkflowControllerSync.ts +86 -0
- package/src/sdk/novusubscribers.ts +2 -2
- package/src/sdk/preferences.ts +3 -70
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/subscribers.ts +24 -90
- package/src/sdk/workflows.ts +191 -0
- package/types/blobs.js +2 -2
- package/types/blobs.js.map +1 -1
- package/types/constdatetime.js +1 -2
- package/types/constdatetime.js.map +1 -1
- package/types/enums.js +1 -2
- package/types/enums.js.map +1 -1
- package/types/fp.js +4 -5
- package/types/fp.js.map +1 -1
- package/types/operations.js +4 -4
- package/types/operations.js.map +1 -1
- package/types/streams.js +1 -2
- package/types/streams.js.map +1 -1
- package/FUNCTIONS.md +0 -122
- package/LICENSE +0 -21
- package/README.md +0 -896
- package/codeSamples.json +0 -1772
- package/docs/sdks/authentication/README.md +0 -183
- package/docs/sdks/credentials/README.md +0 -309
- package/docs/sdks/integrations/README.md +0 -483
- package/docs/sdks/legacy/README.md +0 -86
- package/docs/sdks/messages/README.md +0 -244
- package/docs/sdks/notifications/README.md +0 -162
- package/docs/sdks/novu/README.md +0 -514
- package/docs/sdks/novumessages/README.md +0 -266
- package/docs/sdks/novunotifications/README.md +0 -171
- package/docs/sdks/novusubscribers/README.md +0 -266
- package/docs/sdks/preferences/README.md +0 -419
- package/docs/sdks/properties/README.md +0 -90
- package/docs/sdks/stats/README.md +0 -162
- package/docs/sdks/subscribers/README.md +0 -852
- package/docs/sdks/topics/README.md +0 -414
- package/docs/sdks/webhooks/README.md +0 -85
- package/funcs/subscribersPreferencesLegacyUpdateGlobal.d.ts.map +0 -1
- package/funcs/subscribersPreferencesLegacyUpdateGlobal.js.map +0 -1
- package/funcs/subscribersPreferencesListLegacy.d.ts.map +0 -1
- package/funcs/subscribersPreferencesListLegacy.js.map +0 -1
- package/funcs/subscribersPreferencesRetrieveByLevelLegacy.d.ts +0 -15
- package/funcs/subscribersPreferencesRetrieveByLevelLegacy.d.ts.map +0 -1
- package/funcs/subscribersPreferencesRetrieveByLevelLegacy.js.map +0 -1
- package/funcs/subscribersUpdateLegacy.d.ts.map +0 -1
- package/funcs/subscribersUpdateLegacy.js.map +0 -1
- package/sdk/legacy.d.ts +0 -10
- package/sdk/legacy.d.ts.map +0 -1
- package/sdk/legacy.js +0 -19
- package/sdk/legacy.js.map +0 -1
- package/sources/code-samples.json +0 -2105
- package/sources/json-development.json +0 -30940
- package/sources/openapi.sdk.json +0 -13193
- package/src/funcs/subscribersPreferencesLegacyUpdateGlobal.ts +0 -211
- package/src/funcs/subscribersPreferencesListLegacy.ts +0 -209
- package/src/funcs/subscribersPreferencesRetrieveByLevelLegacy.ts +0 -205
- package/src/models/components/channelpreference.ts +0 -81
- package/src/models/components/deletesubscriberresponsedto.ts +0 -114
- package/src/models/components/getsubscriberpreferencesresponsedto.ts +0 -93
- package/src/models/components/notificationtriggerresponse.ts +0 -126
- package/src/models/components/notificationtriggervariableresponse.ts +0 -193
- package/src/models/components/preference.ts +0 -78
- package/src/models/components/templateresponse.ts +0 -105
- package/src/models/components/triggerreservedvariableresponse.ts +0 -116
- package/src/models/components/triggertypeenum.ts +0 -38
- package/src/models/components/updatesubscriberglobalpreferencesrequestdto.ts +0 -95
- package/src/models/components/updatesubscriberpreferenceglobalresponsedto.ts +0 -88
- package/src/models/components/updatesubscriberpreferencerequestdto.ts +0 -87
- package/src/models/components/updatesubscriberpreferenceresponsedto.ts +0 -93
- package/src/models/components/updatesubscriberrequestdto.ts +0 -124
- package/src/models/operations/subscribersv1controllercreatesubscriber.ts +0 -187
- package/src/models/operations/subscribersv1controllergetsubscriber.ts +0 -188
- package/src/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.ts +0 -231
- package/src/models/operations/subscribersv1controllerlistsubscriberpreferences.ts +0 -191
- package/src/models/operations/subscribersv1controllerremovesubscriber.ts +0 -183
- package/src/models/operations/subscribersv1controllerupdatesubscriber.ts +0 -191
- package/src/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.ts +0 -195
- package/src/models/operations/subscribersv1controllerupdatesubscriberpreference.ts +0 -197
- package/src/sdk/legacy.ts +0 -32
package/codeSamples.json
DELETED
|
@@ -1,1772 +0,0 @@
|
|
|
1
|
-
overlay: 1.0.0
|
|
2
|
-
info:
|
|
3
|
-
title: CodeSamples overlay for typescript target
|
|
4
|
-
version: 0.0.0
|
|
5
|
-
actions:
|
|
6
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/preferences"]["patch"]
|
|
7
|
-
update:
|
|
8
|
-
x-codeSamples:
|
|
9
|
-
- lang: typescript
|
|
10
|
-
label: SubscribersController_updateSubscriberGlobalPreferences
|
|
11
|
-
source: |-
|
|
12
|
-
import { Novu } from "@novu/api";
|
|
13
|
-
|
|
14
|
-
const novu = new Novu({
|
|
15
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
async function run() {
|
|
19
|
-
const result = await novu.subscribers.preferences.updateGlobal("<value>", {});
|
|
20
|
-
|
|
21
|
-
// Handle the result
|
|
22
|
-
console.log(result)
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
run();
|
|
26
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/notifications/feed"]["get"]
|
|
27
|
-
update:
|
|
28
|
-
x-codeSamples:
|
|
29
|
-
- lang: typescript
|
|
30
|
-
label: SubscribersController_getNotificationsFeed
|
|
31
|
-
source: |-
|
|
32
|
-
import { Novu } from "@novu/api";
|
|
33
|
-
|
|
34
|
-
const novu = new Novu({
|
|
35
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
async function run() {
|
|
39
|
-
const result = await novu.subscribers.notifications.retrieve({
|
|
40
|
-
subscriberId: "<value>",
|
|
41
|
-
payload: "btoa(JSON.stringify({ foo: 123 })) results in base64 encoded string like eyJmb28iOjEyM30=",
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
// Handle the result
|
|
45
|
-
console.log(result)
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
run();
|
|
49
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/notifications/unseen"]["get"]
|
|
50
|
-
update:
|
|
51
|
-
x-codeSamples:
|
|
52
|
-
- lang: typescript
|
|
53
|
-
label: SubscribersController_getUnseenCount
|
|
54
|
-
source: |-
|
|
55
|
-
import { Novu } from "@novu/api";
|
|
56
|
-
|
|
57
|
-
const novu = new Novu({
|
|
58
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
async function run() {
|
|
62
|
-
const result = await novu.subscribers.notifications.unseenCount({
|
|
63
|
-
seen: false,
|
|
64
|
-
subscriberId: "<value>",
|
|
65
|
-
limit: 2166.35,
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
// Handle the result
|
|
69
|
-
console.log(result)
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
run();
|
|
73
|
-
- target: $["paths"]["/v1/tenants/{identifier}"]["delete"]
|
|
74
|
-
update:
|
|
75
|
-
x-codeSamples:
|
|
76
|
-
- lang: typescript
|
|
77
|
-
label: TenantController_removeTenant
|
|
78
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.tenants.delete(\"<value>\");\n\n \n}\n\nrun();"
|
|
79
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/credentials"]["patch"]
|
|
80
|
-
update:
|
|
81
|
-
x-codeSamples:
|
|
82
|
-
- lang: typescript
|
|
83
|
-
label: SubscribersController_modifySubscriberChannel
|
|
84
|
-
source: |-
|
|
85
|
-
import { Novu } from "@novu/api";
|
|
86
|
-
import { UpdateSubscriberChannelRequestDtoProviderId } from "@novu/api/models/components";
|
|
87
|
-
|
|
88
|
-
const novu = new Novu({
|
|
89
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
async function run() {
|
|
93
|
-
const result = await novu.subscribers.credentials.append("<value>", {
|
|
94
|
-
providerId: UpdateSubscriberChannelRequestDtoProviderId.Zulip,
|
|
95
|
-
credentials: {
|
|
96
|
-
webhookUrl: "<value>",
|
|
97
|
-
},
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
// Handle the result
|
|
101
|
-
console.log(result)
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
run();
|
|
105
|
-
- target: $["paths"]["/v1/notifications/graph/stats"]["get"]
|
|
106
|
-
update:
|
|
107
|
-
x-codeSamples:
|
|
108
|
-
- lang: typescript
|
|
109
|
-
label: NotificationsController_getActivityGraphStats
|
|
110
|
-
source: |-
|
|
111
|
-
import { Novu } from "@novu/api";
|
|
112
|
-
|
|
113
|
-
const novu = new Novu({
|
|
114
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
async function run() {
|
|
118
|
-
const result = await novu.notifications.stats.graph(4018.61);
|
|
119
|
-
|
|
120
|
-
// Handle the result
|
|
121
|
-
console.log(result)
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
run();
|
|
125
|
-
- target: $["paths"]["/v1/changes/bulk/apply"]["post"]
|
|
126
|
-
update:
|
|
127
|
-
x-codeSamples:
|
|
128
|
-
- lang: typescript
|
|
129
|
-
label: ChangesController_bulkApplyDiff
|
|
130
|
-
source: |-
|
|
131
|
-
import { Novu } from "@novu/api";
|
|
132
|
-
|
|
133
|
-
const novu = new Novu({
|
|
134
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
async function run() {
|
|
138
|
-
const result = await novu.changes.applyBulk({
|
|
139
|
-
changeIds: [
|
|
140
|
-
"<value>",
|
|
141
|
-
],
|
|
142
|
-
});
|
|
143
|
-
|
|
144
|
-
// Handle the result
|
|
145
|
-
console.log(result)
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
run();
|
|
149
|
-
- target: $["paths"]["/v1/messages/transaction/{transactionId}"]["delete"]
|
|
150
|
-
update:
|
|
151
|
-
x-codeSamples:
|
|
152
|
-
- lang: typescript
|
|
153
|
-
label: MessagesController_deleteMessagesByTransactionId
|
|
154
|
-
source: "import { Novu } from \"@novu/api\";\nimport { QueryParamChannel } from \"@novu/api/models/operations\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.messages.deleteByTransactionId(\"<value>\", QueryParamChannel.Push);\n\n \n}\n\nrun();"
|
|
155
|
-
- target: $["paths"]["/v1/execution-details"]["get"]
|
|
156
|
-
update:
|
|
157
|
-
x-codeSamples:
|
|
158
|
-
- lang: typescript
|
|
159
|
-
label: ExecutionDetailsController_getExecutionDetailsForNotification
|
|
160
|
-
source: |-
|
|
161
|
-
import { Novu } from "@novu/api";
|
|
162
|
-
|
|
163
|
-
const novu = new Novu({
|
|
164
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
async function run() {
|
|
168
|
-
const result = await novu.executionDetails.retrieve("<value>", "<value>");
|
|
169
|
-
|
|
170
|
-
// Handle the result
|
|
171
|
-
console.log(result)
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
run();
|
|
175
|
-
- target: $["paths"]["/v1/workflows/{workflowId}"]["put"]
|
|
176
|
-
update:
|
|
177
|
-
x-codeSamples:
|
|
178
|
-
- lang: typescript
|
|
179
|
-
label: WorkflowController_updateWorkflowById
|
|
180
|
-
source: |-
|
|
181
|
-
import { Novu } from "@novu/api";
|
|
182
|
-
|
|
183
|
-
const novu = new Novu({
|
|
184
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
async function run() {
|
|
188
|
-
const result = await novu.workflows.update("<value>", {
|
|
189
|
-
name: "<value>",
|
|
190
|
-
notificationGroupId: "<value>",
|
|
191
|
-
});
|
|
192
|
-
|
|
193
|
-
// Handle the result
|
|
194
|
-
console.log(result)
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
run();
|
|
198
|
-
- target: $["paths"]["/v1/workflows/{workflowId}/status"]["put"]
|
|
199
|
-
update:
|
|
200
|
-
x-codeSamples:
|
|
201
|
-
- lang: typescript
|
|
202
|
-
label: WorkflowController_updateActiveStatus
|
|
203
|
-
source: |-
|
|
204
|
-
import { Novu } from "@novu/api";
|
|
205
|
-
|
|
206
|
-
const novu = new Novu({
|
|
207
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
208
|
-
});
|
|
209
|
-
|
|
210
|
-
async function run() {
|
|
211
|
-
const result = await novu.workflows.status.update("<value>", {
|
|
212
|
-
active: false,
|
|
213
|
-
});
|
|
214
|
-
|
|
215
|
-
// Handle the result
|
|
216
|
-
console.log(result)
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
run();
|
|
220
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}"]["get"]
|
|
221
|
-
update:
|
|
222
|
-
x-codeSamples:
|
|
223
|
-
- lang: typescript
|
|
224
|
-
label: SubscribersController_getSubscriber
|
|
225
|
-
source: |-
|
|
226
|
-
import { Novu } from "@novu/api";
|
|
227
|
-
|
|
228
|
-
const novu = new Novu({
|
|
229
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
230
|
-
});
|
|
231
|
-
|
|
232
|
-
async function run() {
|
|
233
|
-
const result = await novu.subscribers.retrieve("<value>");
|
|
234
|
-
|
|
235
|
-
// Handle the result
|
|
236
|
-
console.log(result)
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
run();
|
|
240
|
-
- target: $["paths"]["/v1/feeds"]["get"]
|
|
241
|
-
update:
|
|
242
|
-
x-codeSamples:
|
|
243
|
-
- lang: typescript
|
|
244
|
-
label: FeedsController_getFeeds
|
|
245
|
-
source: |-
|
|
246
|
-
import { Novu } from "@novu/api";
|
|
247
|
-
|
|
248
|
-
const novu = new Novu({
|
|
249
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
250
|
-
});
|
|
251
|
-
|
|
252
|
-
async function run() {
|
|
253
|
-
const result = await novu.feeds.retrieve();
|
|
254
|
-
|
|
255
|
-
// Handle the result
|
|
256
|
-
console.log(result)
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
run();
|
|
260
|
-
- target: $["paths"]["/v1/tenants"]["post"]
|
|
261
|
-
update:
|
|
262
|
-
x-codeSamples:
|
|
263
|
-
- lang: typescript
|
|
264
|
-
label: TenantController_createTenant
|
|
265
|
-
source: |-
|
|
266
|
-
import { Novu } from "@novu/api";
|
|
267
|
-
|
|
268
|
-
const novu = new Novu({
|
|
269
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
270
|
-
});
|
|
271
|
-
|
|
272
|
-
async function run() {
|
|
273
|
-
const result = await novu.tenants.create({
|
|
274
|
-
identifier: "<value>",
|
|
275
|
-
name: "<value>",
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
// Handle the result
|
|
279
|
-
console.log(result)
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
run();
|
|
283
|
-
- target: $["paths"]["/v1/environments/api-keys/regenerate"]["post"]
|
|
284
|
-
update:
|
|
285
|
-
x-codeSamples:
|
|
286
|
-
- lang: typescript
|
|
287
|
-
label: EnvironmentsController_regenerateOrganizationApiKeys
|
|
288
|
-
source: |-
|
|
289
|
-
import { Novu } from "@novu/api";
|
|
290
|
-
|
|
291
|
-
const novu = new Novu({
|
|
292
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
293
|
-
});
|
|
294
|
-
|
|
295
|
-
async function run() {
|
|
296
|
-
const result = await novu.environments.apiKeys.regenerate();
|
|
297
|
-
|
|
298
|
-
// Handle the result
|
|
299
|
-
console.log(result)
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
run();
|
|
303
|
-
- target: $["paths"]["/v1/subscribers/bulk"]["post"]
|
|
304
|
-
update:
|
|
305
|
-
x-codeSamples:
|
|
306
|
-
- lang: typescript
|
|
307
|
-
label: SubscribersController_bulkCreateSubscribers
|
|
308
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.subscribers.createBulk({\n subscribers: [\n {\n subscriberId: \"<value>\",\n },\n ],\n });\n\n \n}\n\nrun();"
|
|
309
|
-
- target: $["paths"]["/v1/feeds/{feedId}"]["delete"]
|
|
310
|
-
update:
|
|
311
|
-
x-codeSamples:
|
|
312
|
-
- lang: typescript
|
|
313
|
-
label: FeedsController_deleteFeedById
|
|
314
|
-
source: |-
|
|
315
|
-
import { Novu } from "@novu/api";
|
|
316
|
-
|
|
317
|
-
const novu = new Novu({
|
|
318
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
async function run() {
|
|
322
|
-
const result = await novu.feeds.delete("<value>");
|
|
323
|
-
|
|
324
|
-
// Handle the result
|
|
325
|
-
console.log(result)
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
run();
|
|
329
|
-
- target: $["paths"]["/v1/layouts"]["get"]
|
|
330
|
-
update:
|
|
331
|
-
x-codeSamples:
|
|
332
|
-
- lang: typescript
|
|
333
|
-
label: LayoutsController_listLayouts
|
|
334
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.layouts.list({});\n\n \n}\n\nrun();"
|
|
335
|
-
- target: $["paths"]["/v1/layouts/{layoutId}"]["get"]
|
|
336
|
-
update:
|
|
337
|
-
x-codeSamples:
|
|
338
|
-
- lang: typescript
|
|
339
|
-
label: LayoutsController_getLayout
|
|
340
|
-
source: |-
|
|
341
|
-
import { Novu } from "@novu/api";
|
|
342
|
-
|
|
343
|
-
const novu = new Novu({
|
|
344
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
345
|
-
});
|
|
346
|
-
|
|
347
|
-
async function run() {
|
|
348
|
-
const result = await novu.layouts.retrieve("<value>");
|
|
349
|
-
|
|
350
|
-
// Handle the result
|
|
351
|
-
console.log(result)
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
run();
|
|
355
|
-
- target: $["paths"]["/v1/workflows"]["get"]
|
|
356
|
-
update:
|
|
357
|
-
x-codeSamples:
|
|
358
|
-
- lang: typescript
|
|
359
|
-
label: WorkflowController_listWorkflows
|
|
360
|
-
source: |-
|
|
361
|
-
import { Novu } from "@novu/api";
|
|
362
|
-
|
|
363
|
-
const novu = new Novu({
|
|
364
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
365
|
-
});
|
|
366
|
-
|
|
367
|
-
async function run() {
|
|
368
|
-
const result = await novu.workflows.list({});
|
|
369
|
-
|
|
370
|
-
// Handle the result
|
|
371
|
-
console.log(result)
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
run();
|
|
375
|
-
- target: $["paths"]["/v1/changes"]["get"]
|
|
376
|
-
update:
|
|
377
|
-
x-codeSamples:
|
|
378
|
-
- lang: typescript
|
|
379
|
-
label: ChangesController_getChanges
|
|
380
|
-
source: |-
|
|
381
|
-
import { Novu } from "@novu/api";
|
|
382
|
-
|
|
383
|
-
const novu = new Novu({
|
|
384
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
385
|
-
});
|
|
386
|
-
|
|
387
|
-
async function run() {
|
|
388
|
-
const result = await novu.changes.retrieve({
|
|
389
|
-
promoted: "false",
|
|
390
|
-
});
|
|
391
|
-
|
|
392
|
-
// Handle the result
|
|
393
|
-
console.log(result)
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
run();
|
|
397
|
-
- target: $["paths"]["/v1/organizations"]["post"]
|
|
398
|
-
update:
|
|
399
|
-
x-codeSamples:
|
|
400
|
-
- lang: typescript
|
|
401
|
-
label: OrganizationController_createOrganization
|
|
402
|
-
source: |-
|
|
403
|
-
import { Novu } from "@novu/api";
|
|
404
|
-
|
|
405
|
-
const novu = new Novu({
|
|
406
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
407
|
-
});
|
|
408
|
-
|
|
409
|
-
async function run() {
|
|
410
|
-
const result = await novu.organizations.create({
|
|
411
|
-
name: "<value>",
|
|
412
|
-
});
|
|
413
|
-
|
|
414
|
-
// Handle the result
|
|
415
|
-
console.log(result)
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
run();
|
|
419
|
-
- target: $["paths"]["/v1/integrations/{integrationId}"]["put"]
|
|
420
|
-
update:
|
|
421
|
-
x-codeSamples:
|
|
422
|
-
- lang: typescript
|
|
423
|
-
label: IntegrationsController_updateIntegrationById
|
|
424
|
-
source: |-
|
|
425
|
-
import { Novu } from "@novu/api";
|
|
426
|
-
|
|
427
|
-
const novu = new Novu({
|
|
428
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
429
|
-
});
|
|
430
|
-
|
|
431
|
-
async function run() {
|
|
432
|
-
const result = await novu.integrations.update("<value>", {});
|
|
433
|
-
|
|
434
|
-
// Handle the result
|
|
435
|
-
console.log(result)
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
run();
|
|
439
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/credentials"]["put"]
|
|
440
|
-
update:
|
|
441
|
-
x-codeSamples:
|
|
442
|
-
- lang: typescript
|
|
443
|
-
label: SubscribersController_updateSubscriberChannel
|
|
444
|
-
source: |-
|
|
445
|
-
import { Novu } from "@novu/api";
|
|
446
|
-
import { UpdateSubscriberChannelRequestDtoProviderId } from "@novu/api/models/components";
|
|
447
|
-
|
|
448
|
-
const novu = new Novu({
|
|
449
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
450
|
-
});
|
|
451
|
-
|
|
452
|
-
async function run() {
|
|
453
|
-
const result = await novu.subscribers.credentials.update("<value>", {
|
|
454
|
-
providerId: UpdateSubscriberChannelRequestDtoProviderId.Pushpad,
|
|
455
|
-
credentials: {
|
|
456
|
-
webhookUrl: "<value>",
|
|
457
|
-
},
|
|
458
|
-
});
|
|
459
|
-
|
|
460
|
-
// Handle the result
|
|
461
|
-
console.log(result)
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
run();
|
|
465
|
-
- target: $["paths"]["/v1/topics/{topicKey}"]["get"]
|
|
466
|
-
update:
|
|
467
|
-
x-codeSamples:
|
|
468
|
-
- lang: typescript
|
|
469
|
-
label: TopicsController_getTopic
|
|
470
|
-
source: |-
|
|
471
|
-
import { Novu } from "@novu/api";
|
|
472
|
-
|
|
473
|
-
const novu = new Novu({
|
|
474
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
475
|
-
});
|
|
476
|
-
|
|
477
|
-
async function run() {
|
|
478
|
-
const result = await novu.topics.retrieve("<value>");
|
|
479
|
-
|
|
480
|
-
// Handle the result
|
|
481
|
-
console.log(result)
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
run();
|
|
485
|
-
- target: $["paths"]["/v1/integrations"]["get"]
|
|
486
|
-
update:
|
|
487
|
-
x-codeSamples:
|
|
488
|
-
- lang: typescript
|
|
489
|
-
label: IntegrationsController_listIntegrations
|
|
490
|
-
source: |-
|
|
491
|
-
import { Novu } from "@novu/api";
|
|
492
|
-
|
|
493
|
-
const novu = new Novu({
|
|
494
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
495
|
-
});
|
|
496
|
-
|
|
497
|
-
async function run() {
|
|
498
|
-
const result = await novu.integrations.list();
|
|
499
|
-
|
|
500
|
-
// Handle the result
|
|
501
|
-
console.log(result)
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
run();
|
|
505
|
-
- target: $["paths"]["/v1/events/trigger/{transactionId}"]["delete"]
|
|
506
|
-
update:
|
|
507
|
-
x-codeSamples:
|
|
508
|
-
- lang: typescript
|
|
509
|
-
label: EventsController_cancel
|
|
510
|
-
source: |-
|
|
511
|
-
import { Novu } from "@novu/api";
|
|
512
|
-
|
|
513
|
-
const novu = new Novu({
|
|
514
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
515
|
-
});
|
|
516
|
-
|
|
517
|
-
async function run() {
|
|
518
|
-
const result = await novu.events.cancel("<value>");
|
|
519
|
-
|
|
520
|
-
// Handle the result
|
|
521
|
-
console.log(result)
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
run();
|
|
525
|
-
- target: $["paths"]["/v1/integrations/{integrationId}/set-primary"]["post"]
|
|
526
|
-
update:
|
|
527
|
-
x-codeSamples:
|
|
528
|
-
- lang: typescript
|
|
529
|
-
label: IntegrationsController_setIntegrationAsPrimary
|
|
530
|
-
source: |-
|
|
531
|
-
import { Novu } from "@novu/api";
|
|
532
|
-
|
|
533
|
-
const novu = new Novu({
|
|
534
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
535
|
-
});
|
|
536
|
-
|
|
537
|
-
async function run() {
|
|
538
|
-
const result = await novu.integrations.setAsPrimary("<value>");
|
|
539
|
-
|
|
540
|
-
// Handle the result
|
|
541
|
-
console.log(result)
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
run();
|
|
545
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/credentials/{providerId}"]["delete"]
|
|
546
|
-
update:
|
|
547
|
-
x-codeSamples:
|
|
548
|
-
- lang: typescript
|
|
549
|
-
label: SubscribersController_deleteSubscriberCredentials
|
|
550
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.subscribers.credentials.delete(\"<value>\", \"<value>\");\n\n \n}\n\nrun();"
|
|
551
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/online-status"]["patch"]
|
|
552
|
-
update:
|
|
553
|
-
x-codeSamples:
|
|
554
|
-
- lang: typescript
|
|
555
|
-
label: SubscribersController_updateSubscriberOnlineFlag
|
|
556
|
-
source: |-
|
|
557
|
-
import { Novu } from "@novu/api";
|
|
558
|
-
|
|
559
|
-
const novu = new Novu({
|
|
560
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
561
|
-
});
|
|
562
|
-
|
|
563
|
-
async function run() {
|
|
564
|
-
const result = await novu.subscribers.properties.updateOnlineFlag("<value>", {
|
|
565
|
-
isOnline: false,
|
|
566
|
-
});
|
|
567
|
-
|
|
568
|
-
// Handle the result
|
|
569
|
-
console.log(result)
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
run();
|
|
573
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/preferences/{parameter}"]["get"]
|
|
574
|
-
update:
|
|
575
|
-
x-codeSamples:
|
|
576
|
-
- lang: typescript
|
|
577
|
-
label: SubscribersController_getSubscriberPreferenceByLevel
|
|
578
|
-
source: |-
|
|
579
|
-
import { Novu } from "@novu/api";
|
|
580
|
-
|
|
581
|
-
const novu = new Novu({
|
|
582
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
583
|
-
});
|
|
584
|
-
|
|
585
|
-
async function run() {
|
|
586
|
-
const result = await novu.subscribers.preferences.retrieveByLevel("<value>", "<value>");
|
|
587
|
-
|
|
588
|
-
// Handle the result
|
|
589
|
-
console.log(result)
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
run();
|
|
593
|
-
- target: $["paths"]["/v1/topics/{topicKey}"]["delete"]
|
|
594
|
-
update:
|
|
595
|
-
x-codeSamples:
|
|
596
|
-
- lang: typescript
|
|
597
|
-
label: TopicsController_deleteTopic
|
|
598
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.topics.delete(\"<value>\");\n\n \n}\n\nrun();"
|
|
599
|
-
- target: $["paths"]["/v1/topics/{topicKey}/subscribers/{externalSubscriberId}"]["get"]
|
|
600
|
-
update:
|
|
601
|
-
x-codeSamples:
|
|
602
|
-
- lang: typescript
|
|
603
|
-
label: TopicsController_getTopicSubscriber
|
|
604
|
-
source: |-
|
|
605
|
-
import { Novu } from "@novu/api";
|
|
606
|
-
|
|
607
|
-
const novu = new Novu({
|
|
608
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
609
|
-
});
|
|
610
|
-
|
|
611
|
-
async function run() {
|
|
612
|
-
const result = await novu.topics.subscribers.retrieve("<value>", "<value>");
|
|
613
|
-
|
|
614
|
-
// Handle the result
|
|
615
|
-
console.log(result)
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
run();
|
|
619
|
-
- target: $["paths"]["/v1/workflows/variables"]["get"]
|
|
620
|
-
update:
|
|
621
|
-
x-codeSamples:
|
|
622
|
-
- lang: typescript
|
|
623
|
-
label: WorkflowController_getWorkflowVariables
|
|
624
|
-
source: |-
|
|
625
|
-
import { Novu } from "@novu/api";
|
|
626
|
-
|
|
627
|
-
const novu = new Novu({
|
|
628
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
629
|
-
});
|
|
630
|
-
|
|
631
|
-
async function run() {
|
|
632
|
-
const result = await novu.workflows.variables.retrieve();
|
|
633
|
-
|
|
634
|
-
// Handle the result
|
|
635
|
-
console.log(result)
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
run();
|
|
639
|
-
- target: $["paths"]["/v1/tenants"]["get"]
|
|
640
|
-
update:
|
|
641
|
-
x-codeSamples:
|
|
642
|
-
- lang: typescript
|
|
643
|
-
label: TenantController_listTenants
|
|
644
|
-
source: |-
|
|
645
|
-
import { Novu } from "@novu/api";
|
|
646
|
-
|
|
647
|
-
const novu = new Novu({
|
|
648
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
649
|
-
});
|
|
650
|
-
|
|
651
|
-
async function run() {
|
|
652
|
-
const result = await novu.tenants.list(7685.78, 10);
|
|
653
|
-
|
|
654
|
-
for await (const page of result) {
|
|
655
|
-
// handle page
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
run();
|
|
660
|
-
- target: $["paths"]["/v1/workflows"]["post"]
|
|
661
|
-
update:
|
|
662
|
-
x-codeSamples:
|
|
663
|
-
- lang: typescript
|
|
664
|
-
label: WorkflowController_create
|
|
665
|
-
source: |-
|
|
666
|
-
import { Novu } from "@novu/api";
|
|
667
|
-
|
|
668
|
-
const novu = new Novu({
|
|
669
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
670
|
-
});
|
|
671
|
-
|
|
672
|
-
async function run() {
|
|
673
|
-
const result = await novu.workflows.create({
|
|
674
|
-
name: "<value>",
|
|
675
|
-
notificationGroupId: "<value>",
|
|
676
|
-
steps: [
|
|
677
|
-
{},
|
|
678
|
-
],
|
|
679
|
-
});
|
|
680
|
-
|
|
681
|
-
// Handle the result
|
|
682
|
-
console.log(result)
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
run();
|
|
686
|
-
- target: $["paths"]["/v1/changes/{changeId}/apply"]["post"]
|
|
687
|
-
update:
|
|
688
|
-
x-codeSamples:
|
|
689
|
-
- lang: typescript
|
|
690
|
-
label: ChangesController_applyDiff
|
|
691
|
-
source: |-
|
|
692
|
-
import { Novu } from "@novu/api";
|
|
693
|
-
|
|
694
|
-
const novu = new Novu({
|
|
695
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
696
|
-
});
|
|
697
|
-
|
|
698
|
-
async function run() {
|
|
699
|
-
const result = await novu.changes.apply("<value>");
|
|
700
|
-
|
|
701
|
-
// Handle the result
|
|
702
|
-
console.log(result)
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
run();
|
|
706
|
-
- target: $["paths"]["/v1/layouts/{layoutId}"]["patch"]
|
|
707
|
-
update:
|
|
708
|
-
x-codeSamples:
|
|
709
|
-
- lang: typescript
|
|
710
|
-
label: LayoutsController_updateLayout
|
|
711
|
-
source: |-
|
|
712
|
-
import { Novu } from "@novu/api";
|
|
713
|
-
|
|
714
|
-
const novu = new Novu({
|
|
715
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
716
|
-
});
|
|
717
|
-
|
|
718
|
-
async function run() {
|
|
719
|
-
const result = await novu.layouts.update("<value>", {
|
|
720
|
-
identifier: "<value>",
|
|
721
|
-
});
|
|
722
|
-
|
|
723
|
-
// Handle the result
|
|
724
|
-
console.log(result)
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
run();
|
|
728
|
-
- target: $["paths"]["/v1/topics"]["post"]
|
|
729
|
-
update:
|
|
730
|
-
x-codeSamples:
|
|
731
|
-
- lang: typescript
|
|
732
|
-
label: TopicsController_createTopic
|
|
733
|
-
source: |-
|
|
734
|
-
import { Novu } from "@novu/api";
|
|
735
|
-
|
|
736
|
-
const novu = new Novu({
|
|
737
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
738
|
-
});
|
|
739
|
-
|
|
740
|
-
async function run() {
|
|
741
|
-
const result = await novu.topics.create({
|
|
742
|
-
key: "<key>",
|
|
743
|
-
name: "<value>",
|
|
744
|
-
});
|
|
745
|
-
|
|
746
|
-
// Handle the result
|
|
747
|
-
console.log(result)
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
run();
|
|
751
|
-
- target: $["paths"]["/v1/topics/{topicKey}/subscribers/removal"]["post"]
|
|
752
|
-
update:
|
|
753
|
-
x-codeSamples:
|
|
754
|
-
- lang: typescript
|
|
755
|
-
label: TopicsController_removeSubscribers
|
|
756
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.topics.subscribers.delete(\"<value>\", {\n subscribers: [\n \"<value>\",\n ],\n });\n\n \n}\n\nrun();"
|
|
757
|
-
- target: $["paths"]["/v1/tenants/{identifier}"]["get"]
|
|
758
|
-
update:
|
|
759
|
-
x-codeSamples:
|
|
760
|
-
- lang: typescript
|
|
761
|
-
label: TenantController_getTenantById
|
|
762
|
-
source: |-
|
|
763
|
-
import { Novu } from "@novu/api";
|
|
764
|
-
|
|
765
|
-
const novu = new Novu({
|
|
766
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
767
|
-
});
|
|
768
|
-
|
|
769
|
-
async function run() {
|
|
770
|
-
const result = await novu.tenants.retrieve("<value>");
|
|
771
|
-
|
|
772
|
-
// Handle the result
|
|
773
|
-
console.log(result)
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
run();
|
|
777
|
-
- target: $["paths"]["/v1/organizations"]["get"]
|
|
778
|
-
update:
|
|
779
|
-
x-codeSamples:
|
|
780
|
-
- lang: typescript
|
|
781
|
-
label: OrganizationController_listOrganizations
|
|
782
|
-
source: |-
|
|
783
|
-
import { Novu } from "@novu/api";
|
|
784
|
-
|
|
785
|
-
const novu = new Novu({
|
|
786
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
787
|
-
});
|
|
788
|
-
|
|
789
|
-
async function run() {
|
|
790
|
-
const result = await novu.organizations.list();
|
|
791
|
-
|
|
792
|
-
// Handle the result
|
|
793
|
-
console.log(result)
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
run();
|
|
797
|
-
- target: $["paths"]["/v1/notifications/{notificationId}"]["get"]
|
|
798
|
-
update:
|
|
799
|
-
x-codeSamples:
|
|
800
|
-
- lang: typescript
|
|
801
|
-
label: NotificationsController_getNotification
|
|
802
|
-
source: |-
|
|
803
|
-
import { Novu } from "@novu/api";
|
|
804
|
-
|
|
805
|
-
const novu = new Novu({
|
|
806
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
807
|
-
});
|
|
808
|
-
|
|
809
|
-
async function run() {
|
|
810
|
-
const result = await novu.notifications.retrieve("<value>");
|
|
811
|
-
|
|
812
|
-
// Handle the result
|
|
813
|
-
console.log(result)
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
run();
|
|
817
|
-
- target: $["paths"]["/v1/integrations"]["post"]
|
|
818
|
-
update:
|
|
819
|
-
x-codeSamples:
|
|
820
|
-
- lang: typescript
|
|
821
|
-
label: IntegrationsController_createIntegration
|
|
822
|
-
source: |-
|
|
823
|
-
import { Novu } from "@novu/api";
|
|
824
|
-
import { CreateIntegrationRequestDtoChannel } from "@novu/api/models/components";
|
|
825
|
-
|
|
826
|
-
const novu = new Novu({
|
|
827
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
828
|
-
});
|
|
829
|
-
|
|
830
|
-
async function run() {
|
|
831
|
-
const result = await novu.integrations.create({
|
|
832
|
-
providerId: "<value>",
|
|
833
|
-
channel: CreateIntegrationRequestDtoChannel.Sms,
|
|
834
|
-
});
|
|
835
|
-
|
|
836
|
-
// Handle the result
|
|
837
|
-
console.log(result)
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
run();
|
|
841
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/credentials/{providerId}/oauth"]["get"]
|
|
842
|
-
update:
|
|
843
|
-
x-codeSamples:
|
|
844
|
-
- lang: typescript
|
|
845
|
-
label: SubscribersController_chatAccessOauth
|
|
846
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.subscribers.authentication.chatAccessOauth({\n subscriberId: \"<value>\",\n providerId: \"<value>\",\n hmacHash: \"<value>\",\n environmentId: \"<value>\",\n });\n\n \n}\n\nrun();"
|
|
847
|
-
- target: $["paths"]["/v1/environments"]["get"]
|
|
848
|
-
update:
|
|
849
|
-
x-codeSamples:
|
|
850
|
-
- lang: typescript
|
|
851
|
-
label: EnvironmentsController_listMyEnvironments
|
|
852
|
-
source: |-
|
|
853
|
-
import { Novu } from "@novu/api";
|
|
854
|
-
|
|
855
|
-
const novu = new Novu({
|
|
856
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
857
|
-
});
|
|
858
|
-
|
|
859
|
-
async function run() {
|
|
860
|
-
const result = await novu.environments.list();
|
|
861
|
-
|
|
862
|
-
// Handle the result
|
|
863
|
-
console.log(result)
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
run();
|
|
867
|
-
- target: $["paths"]["/v1/organizations/me"]["get"]
|
|
868
|
-
update:
|
|
869
|
-
x-codeSamples:
|
|
870
|
-
- lang: typescript
|
|
871
|
-
label: OrganizationController_getSelfOrganizationData
|
|
872
|
-
source: |-
|
|
873
|
-
import { Novu } from "@novu/api";
|
|
874
|
-
|
|
875
|
-
const novu = new Novu({
|
|
876
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
877
|
-
});
|
|
878
|
-
|
|
879
|
-
async function run() {
|
|
880
|
-
const result = await novu.organizations.retrieve();
|
|
881
|
-
|
|
882
|
-
// Handle the result
|
|
883
|
-
console.log(result)
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
run();
|
|
887
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/preferences/{parameter}"]["patch"]
|
|
888
|
-
update:
|
|
889
|
-
x-codeSamples:
|
|
890
|
-
- lang: typescript
|
|
891
|
-
label: SubscribersController_updateSubscriberPreference
|
|
892
|
-
source: |-
|
|
893
|
-
import { Novu } from "@novu/api";
|
|
894
|
-
|
|
895
|
-
const novu = new Novu({
|
|
896
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
897
|
-
});
|
|
898
|
-
|
|
899
|
-
async function run() {
|
|
900
|
-
const result = await novu.subscribers.preferences.update({
|
|
901
|
-
subscriberId: "<value>",
|
|
902
|
-
parameter: "<value>",
|
|
903
|
-
updateSubscriberPreferenceRequestDto: {},
|
|
904
|
-
});
|
|
905
|
-
|
|
906
|
-
// Handle the result
|
|
907
|
-
console.log(result)
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
run();
|
|
911
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/messages/mark-all"]["post"]
|
|
912
|
-
update:
|
|
913
|
-
x-codeSamples:
|
|
914
|
-
- lang: typescript
|
|
915
|
-
label: SubscribersController_markAllUnreadAsRead
|
|
916
|
-
source: |-
|
|
917
|
-
import { Novu } from "@novu/api";
|
|
918
|
-
import { MarkAllMessageAsRequestDtoMarkAs } from "@novu/api/models/components";
|
|
919
|
-
|
|
920
|
-
const novu = new Novu({
|
|
921
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
922
|
-
});
|
|
923
|
-
|
|
924
|
-
async function run() {
|
|
925
|
-
const result = await novu.subscribers.messages.markAll("<value>", {
|
|
926
|
-
markAs: MarkAllMessageAsRequestDtoMarkAs.Seen,
|
|
927
|
-
});
|
|
928
|
-
|
|
929
|
-
// Handle the result
|
|
930
|
-
console.log(result)
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
run();
|
|
934
|
-
- target: $["paths"]["/v1/feeds"]["post"]
|
|
935
|
-
update:
|
|
936
|
-
x-codeSamples:
|
|
937
|
-
- lang: typescript
|
|
938
|
-
label: FeedsController_createFeed
|
|
939
|
-
source: |-
|
|
940
|
-
import { Novu } from "@novu/api";
|
|
941
|
-
|
|
942
|
-
const novu = new Novu({
|
|
943
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
944
|
-
});
|
|
945
|
-
|
|
946
|
-
async function run() {
|
|
947
|
-
const result = await novu.feeds.create({
|
|
948
|
-
name: "<value>",
|
|
949
|
-
});
|
|
950
|
-
|
|
951
|
-
// Handle the result
|
|
952
|
-
console.log(result)
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
run();
|
|
956
|
-
- target: $["paths"]["/v1/messages"]["get"]
|
|
957
|
-
update:
|
|
958
|
-
x-codeSamples:
|
|
959
|
-
- lang: typescript
|
|
960
|
-
label: MessagesController_getMessages
|
|
961
|
-
source: |-
|
|
962
|
-
import { Novu } from "@novu/api";
|
|
963
|
-
|
|
964
|
-
const novu = new Novu({
|
|
965
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
966
|
-
});
|
|
967
|
-
|
|
968
|
-
async function run() {
|
|
969
|
-
const result = await novu.messages.retrieve({});
|
|
970
|
-
|
|
971
|
-
// Handle the result
|
|
972
|
-
console.log(result)
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
run();
|
|
976
|
-
- target: $["paths"]["/v1/events/trigger"]["post"]
|
|
977
|
-
update:
|
|
978
|
-
x-codeSamples:
|
|
979
|
-
- lang: typescript
|
|
980
|
-
label: EventsController_trigger
|
|
981
|
-
source: |-
|
|
982
|
-
import { Novu } from "@novu/api";
|
|
983
|
-
import { TopicPayloadDtoType } from "@novu/api/models/components";
|
|
984
|
-
|
|
985
|
-
const novu = new Novu({
|
|
986
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
987
|
-
});
|
|
988
|
-
|
|
989
|
-
async function run() {
|
|
990
|
-
const result = await novu.trigger({
|
|
991
|
-
name: "workflow_identifier",
|
|
992
|
-
payload: {},
|
|
993
|
-
overrides: {},
|
|
994
|
-
to: [
|
|
995
|
-
{
|
|
996
|
-
topicKey: "topic_key",
|
|
997
|
-
type: TopicPayloadDtoType.Topic,
|
|
998
|
-
},
|
|
999
|
-
],
|
|
1000
|
-
});
|
|
1001
|
-
|
|
1002
|
-
// Handle the result
|
|
1003
|
-
console.log(result)
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
run();
|
|
1007
|
-
- target: $["paths"]["/v1/notifications"]["get"]
|
|
1008
|
-
update:
|
|
1009
|
-
x-codeSamples:
|
|
1010
|
-
- lang: typescript
|
|
1011
|
-
label: NotificationsController_listNotifications
|
|
1012
|
-
source: |-
|
|
1013
|
-
import { Novu } from "@novu/api";
|
|
1014
|
-
import { Channels } from "@novu/api/models/operations";
|
|
1015
|
-
|
|
1016
|
-
const novu = new Novu({
|
|
1017
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1018
|
-
});
|
|
1019
|
-
|
|
1020
|
-
async function run() {
|
|
1021
|
-
const result = await novu.notifications.list({
|
|
1022
|
-
channels: [
|
|
1023
|
-
Channels.Chat,
|
|
1024
|
-
],
|
|
1025
|
-
templates: [
|
|
1026
|
-
"<value>",
|
|
1027
|
-
],
|
|
1028
|
-
emails: [
|
|
1029
|
-
"<value>",
|
|
1030
|
-
],
|
|
1031
|
-
search: "<value>",
|
|
1032
|
-
subscriberIds: [
|
|
1033
|
-
"<value>",
|
|
1034
|
-
],
|
|
1035
|
-
});
|
|
1036
|
-
|
|
1037
|
-
// Handle the result
|
|
1038
|
-
console.log(result)
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
run();
|
|
1042
|
-
- target: $["paths"]["/v1/notifications/stats"]["get"]
|
|
1043
|
-
update:
|
|
1044
|
-
x-codeSamples:
|
|
1045
|
-
- lang: typescript
|
|
1046
|
-
label: NotificationsController_getActivityStats
|
|
1047
|
-
source: |-
|
|
1048
|
-
import { Novu } from "@novu/api";
|
|
1049
|
-
|
|
1050
|
-
const novu = new Novu({
|
|
1051
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1052
|
-
});
|
|
1053
|
-
|
|
1054
|
-
async function run() {
|
|
1055
|
-
const result = await novu.notifications.stats.retrieve();
|
|
1056
|
-
|
|
1057
|
-
// Handle the result
|
|
1058
|
-
console.log(result)
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
|
-
run();
|
|
1062
|
-
- target: $["paths"]["/v1/notification-groups"]["get"]
|
|
1063
|
-
update:
|
|
1064
|
-
x-codeSamples:
|
|
1065
|
-
- lang: typescript
|
|
1066
|
-
label: NotificationGroupsController_listNotificationGroups
|
|
1067
|
-
source: |-
|
|
1068
|
-
import { Novu } from "@novu/api";
|
|
1069
|
-
|
|
1070
|
-
const novu = new Novu({
|
|
1071
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1072
|
-
});
|
|
1073
|
-
|
|
1074
|
-
async function run() {
|
|
1075
|
-
const result = await novu.workflowGroups.list();
|
|
1076
|
-
|
|
1077
|
-
// Handle the result
|
|
1078
|
-
console.log(result)
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
run();
|
|
1082
|
-
- target: $["paths"]["/v1/notification-groups/{id}"]["get"]
|
|
1083
|
-
update:
|
|
1084
|
-
x-codeSamples:
|
|
1085
|
-
- lang: typescript
|
|
1086
|
-
label: NotificationGroupsController_getNotificationGroup
|
|
1087
|
-
source: |-
|
|
1088
|
-
import { Novu } from "@novu/api";
|
|
1089
|
-
|
|
1090
|
-
const novu = new Novu({
|
|
1091
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1092
|
-
});
|
|
1093
|
-
|
|
1094
|
-
async function run() {
|
|
1095
|
-
const result = await novu.workflowGroups.retrieve("<value>");
|
|
1096
|
-
|
|
1097
|
-
// Handle the result
|
|
1098
|
-
console.log(result)
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
run();
|
|
1102
|
-
- target: $["paths"]["/v1/notification-groups/{id}"]["delete"]
|
|
1103
|
-
update:
|
|
1104
|
-
x-codeSamples:
|
|
1105
|
-
- lang: typescript
|
|
1106
|
-
label: NotificationGroupsController_deleteNotificationGroup
|
|
1107
|
-
source: |-
|
|
1108
|
-
import { Novu } from "@novu/api";
|
|
1109
|
-
|
|
1110
|
-
const novu = new Novu({
|
|
1111
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1112
|
-
});
|
|
1113
|
-
|
|
1114
|
-
async function run() {
|
|
1115
|
-
const result = await novu.workflowGroups.delete("<value>");
|
|
1116
|
-
|
|
1117
|
-
// Handle the result
|
|
1118
|
-
console.log(result)
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
run();
|
|
1122
|
-
- target: $["paths"]["/v1/notification-groups/{id}"]["patch"]
|
|
1123
|
-
update:
|
|
1124
|
-
x-codeSamples:
|
|
1125
|
-
- lang: typescript
|
|
1126
|
-
label: NotificationGroupsController_updateNotificationGroup
|
|
1127
|
-
source: |-
|
|
1128
|
-
import { Novu } from "@novu/api";
|
|
1129
|
-
|
|
1130
|
-
const novu = new Novu({
|
|
1131
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1132
|
-
});
|
|
1133
|
-
|
|
1134
|
-
async function run() {
|
|
1135
|
-
const result = await novu.workflowGroups.update("<value>", {
|
|
1136
|
-
name: "<value>",
|
|
1137
|
-
});
|
|
1138
|
-
|
|
1139
|
-
// Handle the result
|
|
1140
|
-
console.log(result)
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
run();
|
|
1144
|
-
- target: $["paths"]["/v1/subscribers"]["get"]
|
|
1145
|
-
update:
|
|
1146
|
-
x-codeSamples:
|
|
1147
|
-
- lang: typescript
|
|
1148
|
-
label: SubscribersController_listSubscribers
|
|
1149
|
-
source: |-
|
|
1150
|
-
import { Novu } from "@novu/api";
|
|
1151
|
-
|
|
1152
|
-
const novu = new Novu({
|
|
1153
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1154
|
-
});
|
|
1155
|
-
|
|
1156
|
-
async function run() {
|
|
1157
|
-
const result = await novu.subscribers.list(7685.78, 10);
|
|
1158
|
-
|
|
1159
|
-
for await (const page of result) {
|
|
1160
|
-
// handle page
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
run();
|
|
1165
|
-
- target: $["paths"]["/v1/organizations/members/{memberId}"]["delete"]
|
|
1166
|
-
update:
|
|
1167
|
-
x-codeSamples:
|
|
1168
|
-
- lang: typescript
|
|
1169
|
-
label: OrganizationController_remove
|
|
1170
|
-
source: |-
|
|
1171
|
-
import { Novu } from "@novu/api";
|
|
1172
|
-
|
|
1173
|
-
const novu = new Novu({
|
|
1174
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1175
|
-
});
|
|
1176
|
-
|
|
1177
|
-
async function run() {
|
|
1178
|
-
const result = await novu.organizations.members.delete("<value>");
|
|
1179
|
-
|
|
1180
|
-
// Handle the result
|
|
1181
|
-
console.log(result)
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
run();
|
|
1185
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}"]["put"]
|
|
1186
|
-
update:
|
|
1187
|
-
x-codeSamples:
|
|
1188
|
-
- lang: typescript
|
|
1189
|
-
label: SubscribersController_updateSubscriber
|
|
1190
|
-
source: |-
|
|
1191
|
-
import { Novu } from "@novu/api";
|
|
1192
|
-
|
|
1193
|
-
const novu = new Novu({
|
|
1194
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1195
|
-
});
|
|
1196
|
-
|
|
1197
|
-
async function run() {
|
|
1198
|
-
const result = await novu.subscribers.update("<value>", {});
|
|
1199
|
-
|
|
1200
|
-
// Handle the result
|
|
1201
|
-
console.log(result)
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
run();
|
|
1205
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/preferences"]["get"]
|
|
1206
|
-
update:
|
|
1207
|
-
x-codeSamples:
|
|
1208
|
-
- lang: typescript
|
|
1209
|
-
label: SubscribersController_listSubscriberPreferences
|
|
1210
|
-
source: |-
|
|
1211
|
-
import { Novu } from "@novu/api";
|
|
1212
|
-
|
|
1213
|
-
const novu = new Novu({
|
|
1214
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1215
|
-
});
|
|
1216
|
-
|
|
1217
|
-
async function run() {
|
|
1218
|
-
const result = await novu.subscribers.preferences.list("<value>");
|
|
1219
|
-
|
|
1220
|
-
// Handle the result
|
|
1221
|
-
console.log(result)
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
run();
|
|
1225
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/messages/mark-as"]["post"]
|
|
1226
|
-
update:
|
|
1227
|
-
x-codeSamples:
|
|
1228
|
-
- lang: typescript
|
|
1229
|
-
label: SubscribersController_markMessagesAs
|
|
1230
|
-
source: |-
|
|
1231
|
-
import { Novu } from "@novu/api";
|
|
1232
|
-
import { MarkAs } from "@novu/api/models/components";
|
|
1233
|
-
|
|
1234
|
-
const novu = new Novu({
|
|
1235
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1236
|
-
});
|
|
1237
|
-
|
|
1238
|
-
async function run() {
|
|
1239
|
-
const result = await novu.subscribers.messages.markAllAs("<value>", {
|
|
1240
|
-
messageId: "<value>",
|
|
1241
|
-
markAs: MarkAs.Seen,
|
|
1242
|
-
});
|
|
1243
|
-
|
|
1244
|
-
// Handle the result
|
|
1245
|
-
console.log(result)
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
run();
|
|
1249
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/messages/{messageId}/actions/{type}"]["post"]
|
|
1250
|
-
update:
|
|
1251
|
-
x-codeSamples:
|
|
1252
|
-
- lang: typescript
|
|
1253
|
-
label: SubscribersController_markActionAsSeen
|
|
1254
|
-
source: |-
|
|
1255
|
-
import { Novu } from "@novu/api";
|
|
1256
|
-
import { MarkMessageActionAsSeenDtoStatus } from "@novu/api/models/components";
|
|
1257
|
-
|
|
1258
|
-
const novu = new Novu({
|
|
1259
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1260
|
-
});
|
|
1261
|
-
|
|
1262
|
-
async function run() {
|
|
1263
|
-
const result = await novu.subscribers.messages.updateAsSeen({
|
|
1264
|
-
messageId: "<value>",
|
|
1265
|
-
type: "<value>",
|
|
1266
|
-
subscriberId: "<value>",
|
|
1267
|
-
markMessageActionAsSeenDto: {
|
|
1268
|
-
status: MarkMessageActionAsSeenDtoStatus.Done,
|
|
1269
|
-
},
|
|
1270
|
-
});
|
|
1271
|
-
|
|
1272
|
-
// Handle the result
|
|
1273
|
-
console.log(result)
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
run();
|
|
1277
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}/credentials/{providerId}/oauth/callback"]["get"]
|
|
1278
|
-
update:
|
|
1279
|
-
x-codeSamples:
|
|
1280
|
-
- lang: typescript
|
|
1281
|
-
label: SubscribersController_chatOauthCallback
|
|
1282
|
-
source: |-
|
|
1283
|
-
import { Novu } from "@novu/api";
|
|
1284
|
-
|
|
1285
|
-
const novu = new Novu({
|
|
1286
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1287
|
-
});
|
|
1288
|
-
|
|
1289
|
-
async function run() {
|
|
1290
|
-
const result = await novu.subscribers.authentication.chatAccessOauthCallBack({
|
|
1291
|
-
subscriberId: "<value>",
|
|
1292
|
-
providerId: "<value>",
|
|
1293
|
-
code: "<value>",
|
|
1294
|
-
hmacHash: "<value>",
|
|
1295
|
-
environmentId: "<value>",
|
|
1296
|
-
});
|
|
1297
|
-
|
|
1298
|
-
// Handle the result
|
|
1299
|
-
console.log(result)
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
run();
|
|
1303
|
-
- target: $["paths"]["/v1/layouts"]["post"]
|
|
1304
|
-
update:
|
|
1305
|
-
x-codeSamples:
|
|
1306
|
-
- lang: typescript
|
|
1307
|
-
label: LayoutsController_PropertyDescriptor
|
|
1308
|
-
source: |-
|
|
1309
|
-
import { Novu } from "@novu/api";
|
|
1310
|
-
|
|
1311
|
-
const novu = new Novu({
|
|
1312
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1313
|
-
});
|
|
1314
|
-
|
|
1315
|
-
async function run() {
|
|
1316
|
-
const result = await novu.layouts.create();
|
|
1317
|
-
|
|
1318
|
-
// Handle the result
|
|
1319
|
-
console.log(result)
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
run();
|
|
1323
|
-
- target: $["paths"]["/v1/layouts/{layoutId}"]["delete"]
|
|
1324
|
-
update:
|
|
1325
|
-
x-codeSamples:
|
|
1326
|
-
- lang: typescript
|
|
1327
|
-
label: LayoutsController_deleteLayout
|
|
1328
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.layouts.delete(\"<value>\");\n\n \n}\n\nrun();"
|
|
1329
|
-
- target: $["paths"]["/v1/subscribers"]["post"]
|
|
1330
|
-
update:
|
|
1331
|
-
x-codeSamples:
|
|
1332
|
-
- lang: typescript
|
|
1333
|
-
label: SubscribersController_createSubscriber
|
|
1334
|
-
source: |-
|
|
1335
|
-
import { Novu } from "@novu/api";
|
|
1336
|
-
|
|
1337
|
-
const novu = new Novu({
|
|
1338
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1339
|
-
});
|
|
1340
|
-
|
|
1341
|
-
async function run() {
|
|
1342
|
-
const result = await novu.subscribers.create({
|
|
1343
|
-
subscriberId: "<value>",
|
|
1344
|
-
});
|
|
1345
|
-
|
|
1346
|
-
// Handle the result
|
|
1347
|
-
console.log(result)
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
run();
|
|
1351
|
-
- target: $["paths"]["/v1/messages/{messageId}"]["delete"]
|
|
1352
|
-
update:
|
|
1353
|
-
x-codeSamples:
|
|
1354
|
-
- lang: typescript
|
|
1355
|
-
label: MessagesController_deleteMessage
|
|
1356
|
-
source: |-
|
|
1357
|
-
import { Novu } from "@novu/api";
|
|
1358
|
-
|
|
1359
|
-
const novu = new Novu({
|
|
1360
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1361
|
-
});
|
|
1362
|
-
|
|
1363
|
-
async function run() {
|
|
1364
|
-
const result = await novu.messages.delete("<value>");
|
|
1365
|
-
|
|
1366
|
-
// Handle the result
|
|
1367
|
-
console.log(result)
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
run();
|
|
1371
|
-
- target: $["paths"]["/v1/organizations/members"]["get"]
|
|
1372
|
-
update:
|
|
1373
|
-
x-codeSamples:
|
|
1374
|
-
- lang: typescript
|
|
1375
|
-
label: OrganizationController_listOrganizationMembers
|
|
1376
|
-
source: |-
|
|
1377
|
-
import { Novu } from "@novu/api";
|
|
1378
|
-
|
|
1379
|
-
const novu = new Novu({
|
|
1380
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1381
|
-
});
|
|
1382
|
-
|
|
1383
|
-
async function run() {
|
|
1384
|
-
const result = await novu.organizations.members.list();
|
|
1385
|
-
|
|
1386
|
-
// Handle the result
|
|
1387
|
-
console.log(result)
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
run();
|
|
1391
|
-
- target: $["paths"]["/v1/workflows/{workflowId}"]["delete"]
|
|
1392
|
-
update:
|
|
1393
|
-
x-codeSamples:
|
|
1394
|
-
- lang: typescript
|
|
1395
|
-
label: WorkflowController_deleteWorkflowById
|
|
1396
|
-
source: |-
|
|
1397
|
-
import { Novu } from "@novu/api";
|
|
1398
|
-
|
|
1399
|
-
const novu = new Novu({
|
|
1400
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1401
|
-
});
|
|
1402
|
-
|
|
1403
|
-
async function run() {
|
|
1404
|
-
const result = await novu.workflows.delete("<value>");
|
|
1405
|
-
|
|
1406
|
-
// Handle the result
|
|
1407
|
-
console.log(result)
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
run();
|
|
1411
|
-
- target: $["paths"]["/v1/events/trigger/bulk"]["post"]
|
|
1412
|
-
update:
|
|
1413
|
-
x-codeSamples:
|
|
1414
|
-
- lang: typescript
|
|
1415
|
-
label: EventsController_triggerBulk
|
|
1416
|
-
source: |-
|
|
1417
|
-
import { Novu } from "@novu/api";
|
|
1418
|
-
import { TopicPayloadDtoType } from "@novu/api/models/components";
|
|
1419
|
-
|
|
1420
|
-
const novu = new Novu({
|
|
1421
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1422
|
-
});
|
|
1423
|
-
|
|
1424
|
-
async function run() {
|
|
1425
|
-
const result = await novu.events.triggerBulk({
|
|
1426
|
-
events: [
|
|
1427
|
-
{
|
|
1428
|
-
name: "workflow_identifier",
|
|
1429
|
-
payload: {},
|
|
1430
|
-
overrides: {},
|
|
1431
|
-
to: [
|
|
1432
|
-
{
|
|
1433
|
-
topicKey: "topic_key",
|
|
1434
|
-
type: TopicPayloadDtoType.Topic,
|
|
1435
|
-
},
|
|
1436
|
-
],
|
|
1437
|
-
},
|
|
1438
|
-
],
|
|
1439
|
-
});
|
|
1440
|
-
|
|
1441
|
-
// Handle the result
|
|
1442
|
-
console.log(result)
|
|
1443
|
-
}
|
|
1444
|
-
|
|
1445
|
-
run();
|
|
1446
|
-
- target: $["paths"]["/v1/events/trigger/broadcast"]["post"]
|
|
1447
|
-
update:
|
|
1448
|
-
x-codeSamples:
|
|
1449
|
-
- lang: typescript
|
|
1450
|
-
label: EventsController_broadcastEventToAll
|
|
1451
|
-
source: |-
|
|
1452
|
-
import { Novu } from "@novu/api";
|
|
1453
|
-
|
|
1454
|
-
const novu = new Novu({
|
|
1455
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1456
|
-
});
|
|
1457
|
-
|
|
1458
|
-
async function run() {
|
|
1459
|
-
const result = await novu.events.triggerBroadcast({
|
|
1460
|
-
name: "<value>",
|
|
1461
|
-
payload: {},
|
|
1462
|
-
overrides: {},
|
|
1463
|
-
});
|
|
1464
|
-
|
|
1465
|
-
// Handle the result
|
|
1466
|
-
console.log(result)
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
run();
|
|
1470
|
-
- target: $["paths"]["/v1/integrations/active"]["get"]
|
|
1471
|
-
update:
|
|
1472
|
-
x-codeSamples:
|
|
1473
|
-
- lang: typescript
|
|
1474
|
-
label: IntegrationsController_getActiveIntegrations
|
|
1475
|
-
source: |-
|
|
1476
|
-
import { Novu } from "@novu/api";
|
|
1477
|
-
|
|
1478
|
-
const novu = new Novu({
|
|
1479
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1480
|
-
});
|
|
1481
|
-
|
|
1482
|
-
async function run() {
|
|
1483
|
-
const result = await novu.integrations.listActive();
|
|
1484
|
-
|
|
1485
|
-
// Handle the result
|
|
1486
|
-
console.log(result)
|
|
1487
|
-
}
|
|
1488
|
-
|
|
1489
|
-
run();
|
|
1490
|
-
- target: $["paths"]["/v1/changes/count"]["get"]
|
|
1491
|
-
update:
|
|
1492
|
-
x-codeSamples:
|
|
1493
|
-
- lang: typescript
|
|
1494
|
-
label: ChangesController_getChangesCount
|
|
1495
|
-
source: |-
|
|
1496
|
-
import { Novu } from "@novu/api";
|
|
1497
|
-
|
|
1498
|
-
const novu = new Novu({
|
|
1499
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1500
|
-
});
|
|
1501
|
-
|
|
1502
|
-
async function run() {
|
|
1503
|
-
const result = await novu.changes.count();
|
|
1504
|
-
|
|
1505
|
-
// Handle the result
|
|
1506
|
-
console.log(result)
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
run();
|
|
1510
|
-
- target: $["paths"]["/v1/topics/{topicKey}"]["patch"]
|
|
1511
|
-
update:
|
|
1512
|
-
x-codeSamples:
|
|
1513
|
-
- lang: typescript
|
|
1514
|
-
label: TopicsController_renameTopic
|
|
1515
|
-
source: |-
|
|
1516
|
-
import { Novu } from "@novu/api";
|
|
1517
|
-
|
|
1518
|
-
const novu = new Novu({
|
|
1519
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1520
|
-
});
|
|
1521
|
-
|
|
1522
|
-
async function run() {
|
|
1523
|
-
const result = await novu.topics.rename("<value>", {
|
|
1524
|
-
name: "<value>",
|
|
1525
|
-
});
|
|
1526
|
-
|
|
1527
|
-
// Handle the result
|
|
1528
|
-
console.log(result)
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
run();
|
|
1532
|
-
- target: $["paths"]["/v1/organizations"]["patch"]
|
|
1533
|
-
update:
|
|
1534
|
-
x-codeSamples:
|
|
1535
|
-
- lang: typescript
|
|
1536
|
-
label: OrganizationController_rename
|
|
1537
|
-
source: |-
|
|
1538
|
-
import { Novu } from "@novu/api";
|
|
1539
|
-
|
|
1540
|
-
const novu = new Novu({
|
|
1541
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1542
|
-
});
|
|
1543
|
-
|
|
1544
|
-
async function run() {
|
|
1545
|
-
const result = await novu.organizations.rename({
|
|
1546
|
-
name: "<value>",
|
|
1547
|
-
});
|
|
1548
|
-
|
|
1549
|
-
// Handle the result
|
|
1550
|
-
console.log(result)
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
run();
|
|
1554
|
-
- target: $["paths"]["/v1/tenants/{identifier}"]["patch"]
|
|
1555
|
-
update:
|
|
1556
|
-
x-codeSamples:
|
|
1557
|
-
- lang: typescript
|
|
1558
|
-
label: TenantController_updateTenant
|
|
1559
|
-
source: |-
|
|
1560
|
-
import { Novu } from "@novu/api";
|
|
1561
|
-
|
|
1562
|
-
const novu = new Novu({
|
|
1563
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1564
|
-
});
|
|
1565
|
-
|
|
1566
|
-
async function run() {
|
|
1567
|
-
const result = await novu.tenants.update("<value>", {});
|
|
1568
|
-
|
|
1569
|
-
// Handle the result
|
|
1570
|
-
console.log(result)
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
run();
|
|
1574
|
-
- target: $["paths"]["/v1/notification-groups"]["post"]
|
|
1575
|
-
update:
|
|
1576
|
-
x-codeSamples:
|
|
1577
|
-
- lang: typescript
|
|
1578
|
-
label: NotificationGroupsController_createNotificationGroup
|
|
1579
|
-
source: |-
|
|
1580
|
-
import { Novu } from "@novu/api";
|
|
1581
|
-
|
|
1582
|
-
const novu = new Novu({
|
|
1583
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1584
|
-
});
|
|
1585
|
-
|
|
1586
|
-
async function run() {
|
|
1587
|
-
const result = await novu.workflowGroups.create({
|
|
1588
|
-
name: "<value>",
|
|
1589
|
-
});
|
|
1590
|
-
|
|
1591
|
-
// Handle the result
|
|
1592
|
-
console.log(result)
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
run();
|
|
1596
|
-
- target: $["paths"]["/v1/integrations/{integrationId}"]["delete"]
|
|
1597
|
-
update:
|
|
1598
|
-
x-codeSamples:
|
|
1599
|
-
- lang: typescript
|
|
1600
|
-
label: IntegrationsController_removeIntegration
|
|
1601
|
-
source: |-
|
|
1602
|
-
import { Novu } from "@novu/api";
|
|
1603
|
-
|
|
1604
|
-
const novu = new Novu({
|
|
1605
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1606
|
-
});
|
|
1607
|
-
|
|
1608
|
-
async function run() {
|
|
1609
|
-
const result = await novu.integrations.delete("<value>");
|
|
1610
|
-
|
|
1611
|
-
// Handle the result
|
|
1612
|
-
console.log(result)
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
run();
|
|
1616
|
-
- target: $["paths"]["/v1/topics"]["get"]
|
|
1617
|
-
update:
|
|
1618
|
-
x-codeSamples:
|
|
1619
|
-
- lang: typescript
|
|
1620
|
-
label: TopicsController_listTopics
|
|
1621
|
-
source: |-
|
|
1622
|
-
import { Novu } from "@novu/api";
|
|
1623
|
-
|
|
1624
|
-
const novu = new Novu({
|
|
1625
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1626
|
-
});
|
|
1627
|
-
|
|
1628
|
-
async function run() {
|
|
1629
|
-
const result = await novu.topics.list({});
|
|
1630
|
-
|
|
1631
|
-
// Handle the result
|
|
1632
|
-
console.log(result)
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
run();
|
|
1636
|
-
- target: $["paths"]["/v1/organizations/branding"]["put"]
|
|
1637
|
-
update:
|
|
1638
|
-
x-codeSamples:
|
|
1639
|
-
- lang: typescript
|
|
1640
|
-
label: OrganizationController_updateBrandingDetails
|
|
1641
|
-
source: |-
|
|
1642
|
-
import { Novu } from "@novu/api";
|
|
1643
|
-
|
|
1644
|
-
const novu = new Novu({
|
|
1645
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1646
|
-
});
|
|
1647
|
-
|
|
1648
|
-
async function run() {
|
|
1649
|
-
const result = await novu.organizations.branding.update({
|
|
1650
|
-
logo: "<value>",
|
|
1651
|
-
color: "fuchsia",
|
|
1652
|
-
fontColor: "<value>",
|
|
1653
|
-
contentBackground: "<value>",
|
|
1654
|
-
});
|
|
1655
|
-
|
|
1656
|
-
// Handle the result
|
|
1657
|
-
console.log(result)
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
run();
|
|
1661
|
-
- target: $["paths"]["/v1/environments/api-keys"]["get"]
|
|
1662
|
-
update:
|
|
1663
|
-
x-codeSamples:
|
|
1664
|
-
- lang: typescript
|
|
1665
|
-
label: EnvironmentsController_listOrganizationApiKeys
|
|
1666
|
-
source: |-
|
|
1667
|
-
import { Novu } from "@novu/api";
|
|
1668
|
-
|
|
1669
|
-
const novu = new Novu({
|
|
1670
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1671
|
-
});
|
|
1672
|
-
|
|
1673
|
-
async function run() {
|
|
1674
|
-
const result = await novu.environments.apiKeys.list();
|
|
1675
|
-
|
|
1676
|
-
// Handle the result
|
|
1677
|
-
console.log(result)
|
|
1678
|
-
}
|
|
1679
|
-
|
|
1680
|
-
run();
|
|
1681
|
-
- target: $["paths"]["/v1/workflows/{workflowId}"]["get"]
|
|
1682
|
-
update:
|
|
1683
|
-
x-codeSamples:
|
|
1684
|
-
- lang: typescript
|
|
1685
|
-
label: WorkflowController_getWorkflowById
|
|
1686
|
-
source: |-
|
|
1687
|
-
import { Novu } from "@novu/api";
|
|
1688
|
-
|
|
1689
|
-
const novu = new Novu({
|
|
1690
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1691
|
-
});
|
|
1692
|
-
|
|
1693
|
-
async function run() {
|
|
1694
|
-
const result = await novu.workflows.retrieve("<value>");
|
|
1695
|
-
|
|
1696
|
-
// Handle the result
|
|
1697
|
-
console.log(result)
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
run();
|
|
1701
|
-
- target: $["paths"]["/v1/subscribers/{subscriberId}"]["delete"]
|
|
1702
|
-
update:
|
|
1703
|
-
x-codeSamples:
|
|
1704
|
-
- lang: typescript
|
|
1705
|
-
label: SubscribersController_removeSubscriber
|
|
1706
|
-
source: |-
|
|
1707
|
-
import { Novu } from "@novu/api";
|
|
1708
|
-
|
|
1709
|
-
const novu = new Novu({
|
|
1710
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1711
|
-
});
|
|
1712
|
-
|
|
1713
|
-
async function run() {
|
|
1714
|
-
const result = await novu.subscribers.delete("<value>");
|
|
1715
|
-
|
|
1716
|
-
// Handle the result
|
|
1717
|
-
console.log(result)
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
run();
|
|
1721
|
-
- target: $["paths"]["/v1/layouts/{layoutId}/default"]["post"]
|
|
1722
|
-
update:
|
|
1723
|
-
x-codeSamples:
|
|
1724
|
-
- lang: typescript
|
|
1725
|
-
label: LayoutsController_setDefaultLayout
|
|
1726
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.layouts.setAsDefault(\"<value>\");\n\n \n}\n\nrun();"
|
|
1727
|
-
- target: $["paths"]["/v1/topics/{topicKey}/subscribers"]["post"]
|
|
1728
|
-
update:
|
|
1729
|
-
x-codeSamples:
|
|
1730
|
-
- lang: typescript
|
|
1731
|
-
label: TopicsController_addSubscribers
|
|
1732
|
-
source: "import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n apiKey: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n await novu.topics.subscribers.assign(\"<value>\", {\n subscribers: [\n \"<value>\",\n ],\n });\n\n \n}\n\nrun();"
|
|
1733
|
-
- target: $["paths"]["/v1/environments/me"]["get"]
|
|
1734
|
-
update:
|
|
1735
|
-
x-codeSamples:
|
|
1736
|
-
- lang: typescript
|
|
1737
|
-
label: EnvironmentsController_getCurrentEnvironment
|
|
1738
|
-
source: |-
|
|
1739
|
-
import { Novu } from "@novu/api";
|
|
1740
|
-
|
|
1741
|
-
const novu = new Novu({
|
|
1742
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1743
|
-
});
|
|
1744
|
-
|
|
1745
|
-
async function run() {
|
|
1746
|
-
const result = await novu.environments.retrieve();
|
|
1747
|
-
|
|
1748
|
-
// Handle the result
|
|
1749
|
-
console.log(result)
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
run();
|
|
1753
|
-
- target: $["paths"]["/v1/integrations/webhook/provider/{providerOrIntegrationId}/status"]["get"]
|
|
1754
|
-
update:
|
|
1755
|
-
x-codeSamples:
|
|
1756
|
-
- lang: typescript
|
|
1757
|
-
label: IntegrationsController_getWebhookSupportStatus
|
|
1758
|
-
source: |-
|
|
1759
|
-
import { Novu } from "@novu/api";
|
|
1760
|
-
|
|
1761
|
-
const novu = new Novu({
|
|
1762
|
-
apiKey: "<YOUR_API_KEY_HERE>",
|
|
1763
|
-
});
|
|
1764
|
-
|
|
1765
|
-
async function run() {
|
|
1766
|
-
const result = await novu.integrations.webhooks.retrieve("<value>");
|
|
1767
|
-
|
|
1768
|
-
// Handle the result
|
|
1769
|
-
console.log(result)
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
run();
|