@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
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useIntegrationsList = useIntegrationsList;
|
|
7
|
+
exports.useIntegrationsListSuspense = useIntegrationsListSuspense;
|
|
8
|
+
exports.prefetchIntegrationsList = prefetchIntegrationsList;
|
|
9
|
+
exports.setIntegrationsListData = setIntegrationsListData;
|
|
10
|
+
exports.invalidateIntegrationsList = invalidateIntegrationsList;
|
|
11
|
+
exports.invalidateAllIntegrationsList = invalidateAllIntegrationsList;
|
|
12
|
+
exports.buildIntegrationsListQuery = buildIntegrationsListQuery;
|
|
13
|
+
exports.queryKeyIntegrationsList = queryKeyIntegrationsList;
|
|
14
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
15
|
+
const integrationsList_js_1 = require("../funcs/integrationsList.js");
|
|
16
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
17
|
+
const fp_js_1 = require("../types/fp.js");
|
|
18
|
+
const _context_js_1 = require("./_context.js");
|
|
19
|
+
/**
|
|
20
|
+
* Get integrations
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Return all the integrations the user has created for that organization. Review v.0.17.0 changelog for a breaking change
|
|
24
|
+
*/
|
|
25
|
+
function useIntegrationsList(idempotencyKey, options) {
|
|
26
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
27
|
+
return (0, react_query_1.useQuery)({
|
|
28
|
+
...buildIntegrationsListQuery(client, idempotencyKey, options),
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get integrations
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Return all the integrations the user has created for that organization. Review v.0.17.0 changelog for a breaking change
|
|
37
|
+
*/
|
|
38
|
+
function useIntegrationsListSuspense(idempotencyKey, options) {
|
|
39
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
40
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
41
|
+
...buildIntegrationsListQuery(client, idempotencyKey, options),
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function prefetchIntegrationsList(queryClient, client$, idempotencyKey) {
|
|
46
|
+
return queryClient.prefetchQuery({
|
|
47
|
+
...buildIntegrationsListQuery(client$, idempotencyKey),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function setIntegrationsListData(client, queryKeyBase, data) {
|
|
51
|
+
const key = queryKeyIntegrationsList(...queryKeyBase);
|
|
52
|
+
return client.setQueryData(key, data);
|
|
53
|
+
}
|
|
54
|
+
function invalidateIntegrationsList(client, queryKeyBase, filters) {
|
|
55
|
+
return client.invalidateQueries({
|
|
56
|
+
...filters,
|
|
57
|
+
queryKey: ["@novu/api", "Integrations", "list", ...queryKeyBase],
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function invalidateAllIntegrationsList(client, filters) {
|
|
61
|
+
return client.invalidateQueries({
|
|
62
|
+
...filters,
|
|
63
|
+
queryKey: ["@novu/api", "Integrations", "list"],
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function buildIntegrationsListQuery(client$, idempotencyKey, options) {
|
|
67
|
+
return {
|
|
68
|
+
queryKey: queryKeyIntegrationsList({ idempotencyKey }),
|
|
69
|
+
queryFn: async function integrationsListQueryFn(ctx) {
|
|
70
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
71
|
+
const mergedOptions = {
|
|
72
|
+
...options,
|
|
73
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
74
|
+
};
|
|
75
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsList_js_1.integrationsList)(client$, idempotencyKey, mergedOptions));
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function queryKeyIntegrationsList(parameters) {
|
|
80
|
+
return ["@novu/api", "Integrations", "list", parameters];
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=integrationsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsList.js","sourceRoot":"","sources":["../src/react-query/integrationsList.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAkCH,kDAaC;AAQD,kEAaC;AAED,4DAWC;AAED,0DAQC;AAED,gEAWC;AAED,sEAQC;AAED,gEA4BC;AAED,4DAIC;AApJD,uDAS+B;AAE/B,sEAAgE;AAChE,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAA+C;AAU/C;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,cAAmC,EACnC,OAAqD;IAErD,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,0BAA0B,CAC3B,MAAM,EACN,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,2BAA2B,CACzC,cAAmC,EACnC,OAA6D;IAE7D,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,0BAA0B,CAC3B,MAAM,EACN,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,wBAAwB,CACtC,WAAwB,EACxB,OAAiB,EACjB,cAAmC;IAEnC,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,0BAA0B,CAC3B,OAAO,EACP,cAAc,CACf;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,uBAAuB,CACrC,MAAmB,EACnB,YAAmE,EACnE,IAA+B;IAE/B,MAAM,GAAG,GAAG,wBAAwB,CAAC,GAAG,YAAY,CAAC,CAAC;IAEtD,OAAO,MAAM,CAAC,YAAY,CAA4B,GAAG,EAAE,IAAI,CAAC,CAAC;AACnE,CAAC;AAED,SAAgB,0BAA0B,CACxC,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC;KACjE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,6BAA6B,CAC3C,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,MAAM,CAAC;KAChD,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,0BAA0B,CACxC,OAAiB,EACjB,cAAmC,EACnC,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,wBAAwB,CAAC,EAAE,cAAc,EAAE,CAAC;QACtD,OAAO,EAAE,KAAK,UAAU,uBAAuB,CAC7C,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,sCAAgB,EACjC,OAAO,EACP,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,wBAAwB,CACtC,UAAmD;IAEnD,OAAO,CAAC,WAAW,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { NovuCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
6
|
+
export type IntegrationsListActiveQueryData = operations.IntegrationsControllerGetActiveIntegrationsResponse;
|
|
7
|
+
/**
|
|
8
|
+
* Get active integrations
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Return all the active integrations the user has created for that organization. Review v.0.17.0 changelog for a breaking change
|
|
12
|
+
*/
|
|
13
|
+
export declare function useIntegrationsListActive(idempotencyKey?: string | undefined, options?: QueryHookOptions<IntegrationsListActiveQueryData>): UseQueryResult<IntegrationsListActiveQueryData, Error>;
|
|
14
|
+
/**
|
|
15
|
+
* Get active integrations
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Return all the active integrations the user has created for that organization. Review v.0.17.0 changelog for a breaking change
|
|
19
|
+
*/
|
|
20
|
+
export declare function useIntegrationsListActiveSuspense(idempotencyKey?: string | undefined, options?: SuspenseQueryHookOptions<IntegrationsListActiveQueryData>): UseSuspenseQueryResult<IntegrationsListActiveQueryData, Error>;
|
|
21
|
+
export declare function prefetchIntegrationsListActive(queryClient: QueryClient, client$: NovuCore, idempotencyKey?: string | undefined): Promise<void>;
|
|
22
|
+
export declare function setIntegrationsListActiveData(client: QueryClient, queryKeyBase: [parameters: {
|
|
23
|
+
idempotencyKey?: string | undefined;
|
|
24
|
+
}], data: IntegrationsListActiveQueryData): IntegrationsListActiveQueryData | undefined;
|
|
25
|
+
export declare function invalidateIntegrationsListActive(client: QueryClient, queryKeyBase: TupleToPrefixes<[
|
|
26
|
+
parameters: {
|
|
27
|
+
idempotencyKey?: string | undefined;
|
|
28
|
+
}
|
|
29
|
+
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
30
|
+
export declare function invalidateAllIntegrationsListActive(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
31
|
+
export declare function buildIntegrationsListActiveQuery(client$: NovuCore, idempotencyKey?: string | undefined, options?: RequestOptions): {
|
|
32
|
+
queryKey: QueryKey;
|
|
33
|
+
queryFn: (context: QueryFunctionContext) => Promise<IntegrationsListActiveQueryData>;
|
|
34
|
+
};
|
|
35
|
+
export declare function queryKeyIntegrationsListActive(parameters: {
|
|
36
|
+
idempotencyKey?: string | undefined;
|
|
37
|
+
}): QueryKey;
|
|
38
|
+
//# sourceMappingURL=integrationsListActive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsListActive.d.ts","sourceRoot":"","sources":["../src/react-query/integrationsListActive.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,+BAA+B,GACzC,UAAU,CAAC,mDAAmD,CAAC;AAEjE;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAC1D,cAAc,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAUxD;AAED;;;;;GAKG;AACH,wBAAgB,iCAAiC,CAC/C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,wBAAwB,CAAC,+BAA+B,CAAC,GAClE,sBAAsB,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAUhE;AAED,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,QAAQ,EACjB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,GAClC,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,CAAC,UAAU,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC,EACnE,IAAI,EAAE,+BAA+B,GACpC,+BAA+B,GAAG,SAAS,CAI7C;AAED,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IAAC,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CAAC,CACtD,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,QAAQ,EACjB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,+BAA+B,CAAC,CAAC;CAC/C,CAmBA;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAClD,QAAQ,CAEV"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useIntegrationsListActive = useIntegrationsListActive;
|
|
7
|
+
exports.useIntegrationsListActiveSuspense = useIntegrationsListActiveSuspense;
|
|
8
|
+
exports.prefetchIntegrationsListActive = prefetchIntegrationsListActive;
|
|
9
|
+
exports.setIntegrationsListActiveData = setIntegrationsListActiveData;
|
|
10
|
+
exports.invalidateIntegrationsListActive = invalidateIntegrationsListActive;
|
|
11
|
+
exports.invalidateAllIntegrationsListActive = invalidateAllIntegrationsListActive;
|
|
12
|
+
exports.buildIntegrationsListActiveQuery = buildIntegrationsListActiveQuery;
|
|
13
|
+
exports.queryKeyIntegrationsListActive = queryKeyIntegrationsListActive;
|
|
14
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
15
|
+
const integrationsListActive_js_1 = require("../funcs/integrationsListActive.js");
|
|
16
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
17
|
+
const fp_js_1 = require("../types/fp.js");
|
|
18
|
+
const _context_js_1 = require("./_context.js");
|
|
19
|
+
/**
|
|
20
|
+
* Get active integrations
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Return all the active integrations the user has created for that organization. Review v.0.17.0 changelog for a breaking change
|
|
24
|
+
*/
|
|
25
|
+
function useIntegrationsListActive(idempotencyKey, options) {
|
|
26
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
27
|
+
return (0, react_query_1.useQuery)({
|
|
28
|
+
...buildIntegrationsListActiveQuery(client, idempotencyKey, options),
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get active integrations
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Return all the active integrations the user has created for that organization. Review v.0.17.0 changelog for a breaking change
|
|
37
|
+
*/
|
|
38
|
+
function useIntegrationsListActiveSuspense(idempotencyKey, options) {
|
|
39
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
40
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
41
|
+
...buildIntegrationsListActiveQuery(client, idempotencyKey, options),
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function prefetchIntegrationsListActive(queryClient, client$, idempotencyKey) {
|
|
46
|
+
return queryClient.prefetchQuery({
|
|
47
|
+
...buildIntegrationsListActiveQuery(client$, idempotencyKey),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function setIntegrationsListActiveData(client, queryKeyBase, data) {
|
|
51
|
+
const key = queryKeyIntegrationsListActive(...queryKeyBase);
|
|
52
|
+
return client.setQueryData(key, data);
|
|
53
|
+
}
|
|
54
|
+
function invalidateIntegrationsListActive(client, queryKeyBase, filters) {
|
|
55
|
+
return client.invalidateQueries({
|
|
56
|
+
...filters,
|
|
57
|
+
queryKey: ["@novu/api", "Integrations", "listActive", ...queryKeyBase],
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function invalidateAllIntegrationsListActive(client, filters) {
|
|
61
|
+
return client.invalidateQueries({
|
|
62
|
+
...filters,
|
|
63
|
+
queryKey: ["@novu/api", "Integrations", "listActive"],
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function buildIntegrationsListActiveQuery(client$, idempotencyKey, options) {
|
|
67
|
+
return {
|
|
68
|
+
queryKey: queryKeyIntegrationsListActive({ idempotencyKey }),
|
|
69
|
+
queryFn: async function integrationsListActiveQueryFn(ctx) {
|
|
70
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
71
|
+
const mergedOptions = {
|
|
72
|
+
...options,
|
|
73
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
74
|
+
};
|
|
75
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsListActive_js_1.integrationsListActive)(client$, idempotencyKey, mergedOptions));
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function queryKeyIntegrationsListActive(parameters) {
|
|
80
|
+
return ["@novu/api", "Integrations", "listActive", parameters];
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=integrationsListActive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsListActive.js","sourceRoot":"","sources":["../src/react-query/integrationsListActive.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAkCH,8DAaC;AAQD,8EAaC;AAED,wEAWC;AAED,sEAQC;AAED,4EAWC;AAED,kFAQC;AAED,4EA4BC;AAED,wEAIC;AApJD,uDAS+B;AAE/B,kFAA4E;AAC5E,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAA+C;AAU/C;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,cAAmC,EACnC,OAA2D;IAE3D,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,gCAAgC,CACjC,MAAM,EACN,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,iCAAiC,CAC/C,cAAmC,EACnC,OAAmE;IAEnE,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,gCAAgC,CACjC,MAAM,EACN,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,8BAA8B,CAC5C,WAAwB,EACxB,OAAiB,EACjB,cAAmC;IAEnC,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,gCAAgC,CACjC,OAAO,EACP,cAAc,CACf;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,6BAA6B,CAC3C,MAAmB,EACnB,YAAmE,EACnE,IAAqC;IAErC,MAAM,GAAG,GAAG,8BAA8B,CAAC,GAAG,YAAY,CAAC,CAAC;IAE5D,OAAO,MAAM,CAAC,YAAY,CAAkC,GAAG,EAAE,IAAI,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gCAAgC,CAC9C,MAAmB,EACnB,YAEC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,YAAY,CAAC;KACvE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,mCAAmC,CACjD,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,WAAW,EAAE,cAAc,EAAE,YAAY,CAAC;KACtD,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,gCAAgC,CAC9C,OAAiB,EACjB,cAAmC,EACnC,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,8BAA8B,CAAC,EAAE,cAAc,EAAE,CAAC;QAC5D,OAAO,EAAE,KAAK,UAAU,6BAA6B,CACnD,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,kDAAsB,EACvC,OAAO,EACP,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAmD;IAEnD,OAAO,CAAC,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;AACjE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { NovuCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { MutationHookOptions } from "./_types.js";
|
|
6
|
+
export type IntegrationsSetAsPrimaryMutationVariables = {
|
|
7
|
+
integrationId: string;
|
|
8
|
+
idempotencyKey?: string | undefined;
|
|
9
|
+
options?: RequestOptions;
|
|
10
|
+
};
|
|
11
|
+
export type IntegrationsSetAsPrimaryMutationData = operations.IntegrationsControllerSetIntegrationAsPrimaryResponse;
|
|
12
|
+
/**
|
|
13
|
+
* Set integration as primary
|
|
14
|
+
*/
|
|
15
|
+
export declare function useIntegrationsSetAsPrimaryMutation(options?: MutationHookOptions<IntegrationsSetAsPrimaryMutationData, Error, IntegrationsSetAsPrimaryMutationVariables>): UseMutationResult<IntegrationsSetAsPrimaryMutationData, Error, IntegrationsSetAsPrimaryMutationVariables>;
|
|
16
|
+
export declare function mutationKeyIntegrationsSetAsPrimary(): MutationKey;
|
|
17
|
+
export declare function buildIntegrationsSetAsPrimaryMutation(client$: NovuCore, hookOptions?: RequestOptions): {
|
|
18
|
+
mutationKey: MutationKey;
|
|
19
|
+
mutationFn: (variables: IntegrationsSetAsPrimaryMutationVariables) => Promise<IntegrationsSetAsPrimaryMutationData>;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=integrationsSetAsPrimary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsSetAsPrimary.d.ts","sourceRoot":"","sources":["../src/react-query/integrationsSetAsPrimary.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,yCAAyC,GAAG;IACtD,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAC9C,UAAU,CAAC,qDAAqD,CAAC;AAEnE;;GAEG;AACH,wBAAgB,mCAAmC,CACjD,OAAO,CAAC,EAAE,mBAAmB,CAC3B,oCAAoC,EACpC,KAAK,EACL,yCAAyC,CAC1C,GACA,iBAAiB,CAClB,oCAAoC,EACpC,KAAK,EACL,yCAAyC,CAC1C,CAMA;AAED,wBAAgB,mCAAmC,IAAI,WAAW,CAEjE;AAED,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,QAAQ,EACjB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,yCAAyC,KACjD,OAAO,CAAC,oCAAoC,CAAC,CAAC;CACpD,CA4BA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useIntegrationsSetAsPrimaryMutation = useIntegrationsSetAsPrimaryMutation;
|
|
7
|
+
exports.mutationKeyIntegrationsSetAsPrimary = mutationKeyIntegrationsSetAsPrimary;
|
|
8
|
+
exports.buildIntegrationsSetAsPrimaryMutation = buildIntegrationsSetAsPrimaryMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const integrationsSetAsPrimary_js_1 = require("../funcs/integrationsSetAsPrimary.js");
|
|
11
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
12
|
+
const fp_js_1 = require("../types/fp.js");
|
|
13
|
+
const _context_js_1 = require("./_context.js");
|
|
14
|
+
/**
|
|
15
|
+
* Set integration as primary
|
|
16
|
+
*/
|
|
17
|
+
function useIntegrationsSetAsPrimaryMutation(options) {
|
|
18
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
...buildIntegrationsSetAsPrimaryMutation(client, options),
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function mutationKeyIntegrationsSetAsPrimary() {
|
|
25
|
+
return ["@novu/api", "Integrations", "setAsPrimary"];
|
|
26
|
+
}
|
|
27
|
+
function buildIntegrationsSetAsPrimaryMutation(client$, hookOptions) {
|
|
28
|
+
return {
|
|
29
|
+
mutationKey: mutationKeyIntegrationsSetAsPrimary(),
|
|
30
|
+
mutationFn: function integrationsSetAsPrimaryMutationFn({ integrationId, idempotencyKey, options, }) {
|
|
31
|
+
const mergedOptions = {
|
|
32
|
+
...hookOptions,
|
|
33
|
+
...options,
|
|
34
|
+
fetchOptions: {
|
|
35
|
+
...hookOptions?.fetchOptions,
|
|
36
|
+
...options?.fetchOptions,
|
|
37
|
+
signal: (0, primitives_js_1.combineSignals)(hookOptions?.fetchOptions?.signal, options?.fetchOptions?.signal),
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsSetAsPrimary_js_1.integrationsSetAsPrimary)(client$, integrationId, idempotencyKey, mergedOptions));
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=integrationsSetAsPrimary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsSetAsPrimary.js","sourceRoot":"","sources":["../src/react-query/integrationsSetAsPrimary.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA4BH,kFAgBC;AAED,kFAEC;AAED,sFAoCC;AApFD,uDAI+B;AAE/B,sFAAgF;AAChF,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAA+C;AAY/C;;GAEG;AACH,SAAgB,mCAAmC,CACjD,OAIC;IAMD,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,qCAAqC,CAAC,MAAM,EAAE,OAAO,CAAC;QACzD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,mCAAmC;IACjD,OAAO,CAAC,WAAW,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,qCAAqC,CACnD,OAAiB,EACjB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,mCAAmC,EAAE;QAClD,UAAU,EAAE,SAAS,kCAAkC,CAAC,EACtD,aAAa,EACb,cAAc,EACd,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,IAAA,8BAAc,EACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,OAAO,EACP,aAAa,EACb,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { NovuCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as components from "../models/components/index.js";
|
|
5
|
+
import * as operations from "../models/operations/index.js";
|
|
6
|
+
import { MutationHookOptions } from "./_types.js";
|
|
7
|
+
export type IntegrationsUpdateMutationVariables = {
|
|
8
|
+
updateIntegrationRequestDto: components.UpdateIntegrationRequestDto;
|
|
9
|
+
integrationId: string;
|
|
10
|
+
idempotencyKey?: string | undefined;
|
|
11
|
+
options?: RequestOptions;
|
|
12
|
+
};
|
|
13
|
+
export type IntegrationsUpdateMutationData = operations.IntegrationsControllerUpdateIntegrationByIdResponse;
|
|
14
|
+
/**
|
|
15
|
+
* Update integration
|
|
16
|
+
*/
|
|
17
|
+
export declare function useIntegrationsUpdateMutation(options?: MutationHookOptions<IntegrationsUpdateMutationData, Error, IntegrationsUpdateMutationVariables>): UseMutationResult<IntegrationsUpdateMutationData, Error, IntegrationsUpdateMutationVariables>;
|
|
18
|
+
export declare function mutationKeyIntegrationsUpdate(): MutationKey;
|
|
19
|
+
export declare function buildIntegrationsUpdateMutation(client$: NovuCore, hookOptions?: RequestOptions): {
|
|
20
|
+
mutationKey: MutationKey;
|
|
21
|
+
mutationFn: (variables: IntegrationsUpdateMutationVariables) => Promise<IntegrationsUpdateMutationData>;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=integrationsUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsUpdate.d.ts","sourceRoot":"","sources":["../src/react-query/integrationsUpdate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,mCAAmC,GAAG;IAChD,2BAA2B,EAAE,UAAU,CAAC,2BAA2B,CAAC;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GACxC,UAAU,CAAC,mDAAmD,CAAC;AAEjE;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,CAAC,EAAE,mBAAmB,CAC3B,8BAA8B,EAC9B,KAAK,EACL,mCAAmC,CACpC,GACA,iBAAiB,CAClB,8BAA8B,EAC9B,KAAK,EACL,mCAAmC,CACpC,CAMA;AAED,wBAAgB,6BAA6B,IAAI,WAAW,CAE3D;AAED,wBAAgB,+BAA+B,CAC7C,OAAO,EAAE,QAAQ,EACjB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,mCAAmC,KAC3C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC9C,CA8BA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useIntegrationsUpdateMutation = useIntegrationsUpdateMutation;
|
|
7
|
+
exports.mutationKeyIntegrationsUpdate = mutationKeyIntegrationsUpdate;
|
|
8
|
+
exports.buildIntegrationsUpdateMutation = buildIntegrationsUpdateMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const integrationsUpdate_js_1 = require("../funcs/integrationsUpdate.js");
|
|
11
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
12
|
+
const fp_js_1 = require("../types/fp.js");
|
|
13
|
+
const _context_js_1 = require("./_context.js");
|
|
14
|
+
/**
|
|
15
|
+
* Update integration
|
|
16
|
+
*/
|
|
17
|
+
function useIntegrationsUpdateMutation(options) {
|
|
18
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
...buildIntegrationsUpdateMutation(client, options),
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function mutationKeyIntegrationsUpdate() {
|
|
25
|
+
return ["@novu/api", "Integrations", "update"];
|
|
26
|
+
}
|
|
27
|
+
function buildIntegrationsUpdateMutation(client$, hookOptions) {
|
|
28
|
+
return {
|
|
29
|
+
mutationKey: mutationKeyIntegrationsUpdate(),
|
|
30
|
+
mutationFn: function integrationsUpdateMutationFn({ updateIntegrationRequestDto, integrationId, idempotencyKey, options, }) {
|
|
31
|
+
const mergedOptions = {
|
|
32
|
+
...hookOptions,
|
|
33
|
+
...options,
|
|
34
|
+
fetchOptions: {
|
|
35
|
+
...hookOptions?.fetchOptions,
|
|
36
|
+
...options?.fetchOptions,
|
|
37
|
+
signal: (0, primitives_js_1.combineSignals)(hookOptions?.fetchOptions?.signal, options?.fetchOptions?.signal),
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsUpdate_js_1.integrationsUpdate)(client$, updateIntegrationRequestDto, integrationId, idempotencyKey, mergedOptions));
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=integrationsUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsUpdate.js","sourceRoot":"","sources":["../src/react-query/integrationsUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA8BH,sEAgBC;AAED,sEAEC;AAED,0EAsCC;AAxFD,uDAI+B;AAE/B,0EAAoE;AACpE,wDAAsD;AAItD,0CAA6C;AAC7C,+CAA+C;AAa/C;;GAEG;AACH,SAAgB,6BAA6B,CAC3C,OAIC;IAMD,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,+BAA+B,CAAC,MAAM,EAAE,OAAO,CAAC;QACnD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,6BAA6B;IAC3C,OAAO,CAAC,WAAW,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,+BAA+B,CAC7C,OAAiB,EACjB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,6BAA6B,EAAE;QAC5C,UAAU,EAAE,SAAS,4BAA4B,CAAC,EAChD,2BAA2B,EAC3B,aAAa,EACb,cAAc,EACd,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,IAAA,8BAAc,EACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,IAAA,mBAAW,EAAC,IAAA,0CAAkB,EACnC,OAAO,EACP,2BAA2B,EAC3B,aAAa,EACb,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { InvalidateQueryFilters, QueryClient, QueryFunctionContext, QueryKey, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
2
|
+
import { NovuCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
6
|
+
export type IntegrationsWebhooksRetrieveQueryData = operations.IntegrationsControllerGetWebhookSupportStatusResponse;
|
|
7
|
+
/**
|
|
8
|
+
* Get webhook support status for provider
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Return the status of the webhook for this provider, if it is supported or if it is not based on a boolean value
|
|
12
|
+
*/
|
|
13
|
+
export declare function useIntegrationsWebhooksRetrieve(providerOrIntegrationId: string, idempotencyKey?: string | undefined, options?: QueryHookOptions<IntegrationsWebhooksRetrieveQueryData>): UseQueryResult<IntegrationsWebhooksRetrieveQueryData, Error>;
|
|
14
|
+
/**
|
|
15
|
+
* Get webhook support status for provider
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Return the status of the webhook for this provider, if it is supported or if it is not based on a boolean value
|
|
19
|
+
*/
|
|
20
|
+
export declare function useIntegrationsWebhooksRetrieveSuspense(providerOrIntegrationId: string, idempotencyKey?: string | undefined, options?: SuspenseQueryHookOptions<IntegrationsWebhooksRetrieveQueryData>): UseSuspenseQueryResult<IntegrationsWebhooksRetrieveQueryData, Error>;
|
|
21
|
+
export declare function prefetchIntegrationsWebhooksRetrieve(queryClient: QueryClient, client$: NovuCore, providerOrIntegrationId: string, idempotencyKey?: string | undefined): Promise<void>;
|
|
22
|
+
export declare function setIntegrationsWebhooksRetrieveData(client: QueryClient, queryKeyBase: [
|
|
23
|
+
providerOrIntegrationId: string,
|
|
24
|
+
parameters: {
|
|
25
|
+
idempotencyKey?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
], data: IntegrationsWebhooksRetrieveQueryData): IntegrationsWebhooksRetrieveQueryData | undefined;
|
|
28
|
+
export declare function invalidateIntegrationsWebhooksRetrieve(client: QueryClient, queryKeyBase: TupleToPrefixes<[
|
|
29
|
+
providerOrIntegrationId: string,
|
|
30
|
+
parameters: {
|
|
31
|
+
idempotencyKey?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
]>, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
34
|
+
export declare function invalidateAllIntegrationsWebhooksRetrieve(client: QueryClient, filters?: Omit<InvalidateQueryFilters, "queryKey" | "predicate" | "exact">): Promise<void>;
|
|
35
|
+
export declare function buildIntegrationsWebhooksRetrieveQuery(client$: NovuCore, providerOrIntegrationId: string, idempotencyKey?: string | undefined, options?: RequestOptions): {
|
|
36
|
+
queryKey: QueryKey;
|
|
37
|
+
queryFn: (context: QueryFunctionContext) => Promise<IntegrationsWebhooksRetrieveQueryData>;
|
|
38
|
+
};
|
|
39
|
+
export declare function queryKeyIntegrationsWebhooksRetrieve(providerOrIntegrationId: string, parameters: {
|
|
40
|
+
idempotencyKey?: string | undefined;
|
|
41
|
+
}): QueryKey;
|
|
42
|
+
//# sourceMappingURL=integrationsWebhooksRetrieve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsWebhooksRetrieve.d.ts","sourceRoot":"","sources":["../src/react-query/integrationsWebhooksRetrieve.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,oBAAoB,EACpB,QAAQ,EAER,cAAc,EAEd,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EACL,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,qCAAqC,GAC/C,UAAU,CAAC,qDAAqD,CAAC;AAEnE;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC7C,uBAAuB,EAAE,MAAM,EAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC,qCAAqC,CAAC,GAChE,cAAc,CAAC,qCAAqC,EAAE,KAAK,CAAC,CAW9D;AAED;;;;;GAKG;AACH,wBAAgB,uCAAuC,CACrD,uBAAuB,EAAE,MAAM,EAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,wBAAwB,CAAC,qCAAqC,CAAC,GACxE,sBAAsB,CAAC,qCAAqC,EAAE,KAAK,CAAC,CAWtE;AAED,wBAAgB,oCAAoC,CAClD,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,QAAQ,EACjB,uBAAuB,EAAE,MAAM,EAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,GAClC,OAAO,CAAC,IAAI,CAAC,CAQf;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE;IACZ,uBAAuB,EAAE,MAAM;IAC/B,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CACpD,EACD,IAAI,EAAE,qCAAqC,GAC1C,qCAAqC,GAAG,SAAS,CAInD;AAED,wBAAgB,sCAAsC,CACpD,MAAM,EAAE,WAAW,EACnB,YAAY,EAAE,eAAe,CAC3B;IACE,uBAAuB,EAAE,MAAM;IAC/B,UAAU,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;CACpD,CACF,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,yCAAyC,CACvD,MAAM,EAAE,WAAW,EACnB,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC,GACzE,OAAO,CAAC,IAAI,CAAC,CAKf;AAED,wBAAgB,sCAAsC,CACpD,OAAO,EAAE,QAAQ,EACjB,uBAAuB,EAAE,MAAM,EAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,CACP,OAAO,EAAE,oBAAoB,KAC1B,OAAO,CAAC,qCAAqC,CAAC,CAAC;CACrD,CAsBA;AAED,wBAAgB,oCAAoC,CAClD,uBAAuB,EAAE,MAAM,EAC/B,UAAU,EAAE;IAAE,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAClD,QAAQ,CAQV"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useIntegrationsWebhooksRetrieve = useIntegrationsWebhooksRetrieve;
|
|
7
|
+
exports.useIntegrationsWebhooksRetrieveSuspense = useIntegrationsWebhooksRetrieveSuspense;
|
|
8
|
+
exports.prefetchIntegrationsWebhooksRetrieve = prefetchIntegrationsWebhooksRetrieve;
|
|
9
|
+
exports.setIntegrationsWebhooksRetrieveData = setIntegrationsWebhooksRetrieveData;
|
|
10
|
+
exports.invalidateIntegrationsWebhooksRetrieve = invalidateIntegrationsWebhooksRetrieve;
|
|
11
|
+
exports.invalidateAllIntegrationsWebhooksRetrieve = invalidateAllIntegrationsWebhooksRetrieve;
|
|
12
|
+
exports.buildIntegrationsWebhooksRetrieveQuery = buildIntegrationsWebhooksRetrieveQuery;
|
|
13
|
+
exports.queryKeyIntegrationsWebhooksRetrieve = queryKeyIntegrationsWebhooksRetrieve;
|
|
14
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
15
|
+
const integrationsWebhooksRetrieve_js_1 = require("../funcs/integrationsWebhooksRetrieve.js");
|
|
16
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
17
|
+
const fp_js_1 = require("../types/fp.js");
|
|
18
|
+
const _context_js_1 = require("./_context.js");
|
|
19
|
+
/**
|
|
20
|
+
* Get webhook support status for provider
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Return the status of the webhook for this provider, if it is supported or if it is not based on a boolean value
|
|
24
|
+
*/
|
|
25
|
+
function useIntegrationsWebhooksRetrieve(providerOrIntegrationId, idempotencyKey, options) {
|
|
26
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
27
|
+
return (0, react_query_1.useQuery)({
|
|
28
|
+
...buildIntegrationsWebhooksRetrieveQuery(client, providerOrIntegrationId, idempotencyKey, options),
|
|
29
|
+
...options,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Get webhook support status for provider
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Return the status of the webhook for this provider, if it is supported or if it is not based on a boolean value
|
|
37
|
+
*/
|
|
38
|
+
function useIntegrationsWebhooksRetrieveSuspense(providerOrIntegrationId, idempotencyKey, options) {
|
|
39
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
40
|
+
return (0, react_query_1.useSuspenseQuery)({
|
|
41
|
+
...buildIntegrationsWebhooksRetrieveQuery(client, providerOrIntegrationId, idempotencyKey, options),
|
|
42
|
+
...options,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function prefetchIntegrationsWebhooksRetrieve(queryClient, client$, providerOrIntegrationId, idempotencyKey) {
|
|
46
|
+
return queryClient.prefetchQuery({
|
|
47
|
+
...buildIntegrationsWebhooksRetrieveQuery(client$, providerOrIntegrationId, idempotencyKey),
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function setIntegrationsWebhooksRetrieveData(client, queryKeyBase, data) {
|
|
51
|
+
const key = queryKeyIntegrationsWebhooksRetrieve(...queryKeyBase);
|
|
52
|
+
return client.setQueryData(key, data);
|
|
53
|
+
}
|
|
54
|
+
function invalidateIntegrationsWebhooksRetrieve(client, queryKeyBase, filters) {
|
|
55
|
+
return client.invalidateQueries({
|
|
56
|
+
...filters,
|
|
57
|
+
queryKey: ["@novu/api", "Webhooks", "retrieve", ...queryKeyBase],
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function invalidateAllIntegrationsWebhooksRetrieve(client, filters) {
|
|
61
|
+
return client.invalidateQueries({
|
|
62
|
+
...filters,
|
|
63
|
+
queryKey: ["@novu/api", "Webhooks", "retrieve"],
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function buildIntegrationsWebhooksRetrieveQuery(client$, providerOrIntegrationId, idempotencyKey, options) {
|
|
67
|
+
return {
|
|
68
|
+
queryKey: queryKeyIntegrationsWebhooksRetrieve(providerOrIntegrationId, {
|
|
69
|
+
idempotencyKey,
|
|
70
|
+
}),
|
|
71
|
+
queryFn: async function integrationsWebhooksRetrieveQueryFn(ctx) {
|
|
72
|
+
const sig = (0, primitives_js_1.combineSignals)(ctx.signal, options?.fetchOptions?.signal);
|
|
73
|
+
const mergedOptions = {
|
|
74
|
+
...options,
|
|
75
|
+
fetchOptions: { ...options?.fetchOptions, signal: sig },
|
|
76
|
+
};
|
|
77
|
+
return (0, fp_js_1.unwrapAsync)((0, integrationsWebhooksRetrieve_js_1.integrationsWebhooksRetrieve)(client$, providerOrIntegrationId, idempotencyKey, mergedOptions));
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function queryKeyIntegrationsWebhooksRetrieve(providerOrIntegrationId, parameters) {
|
|
82
|
+
return [
|
|
83
|
+
"@novu/api",
|
|
84
|
+
"Webhooks",
|
|
85
|
+
"retrieve",
|
|
86
|
+
providerOrIntegrationId,
|
|
87
|
+
parameters,
|
|
88
|
+
];
|
|
89
|
+
}
|
|
90
|
+
//# sourceMappingURL=integrationsWebhooksRetrieve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationsWebhooksRetrieve.js","sourceRoot":"","sources":["../src/react-query/integrationsWebhooksRetrieve.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAkCH,0EAeC;AAQD,0FAeC;AAED,oFAaC;AAED,kFAWC;AAED,wFAcC;AAED,8FAQC;AAED,wFAgCC;AAED,oFAWC;AA3KD,uDAS+B;AAE/B,8FAAwF;AACxF,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAA+C;AAU/C;;;;;GAKG;AACH,SAAgB,+BAA+B,CAC7C,uBAA+B,EAC/B,cAAmC,EACnC,OAAiE;IAEjE,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,sBAAQ,EAAC;QACd,GAAG,sCAAsC,CACvC,MAAM,EACN,uBAAuB,EACvB,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED;;;;;GAKG;AACH,SAAgB,uCAAuC,CACrD,uBAA+B,EAC/B,cAAmC,EACnC,OAAyE;IAEzE,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,8BAAgB,EAAC;QACtB,GAAG,sCAAsC,CACvC,MAAM,EACN,uBAAuB,EACvB,cAAc,EACd,OAAO,CACR;QACD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,oCAAoC,CAClD,WAAwB,EACxB,OAAiB,EACjB,uBAA+B,EAC/B,cAAmC;IAEnC,OAAO,WAAW,CAAC,aAAa,CAAC;QAC/B,GAAG,sCAAsC,CACvC,OAAO,EACP,uBAAuB,EACvB,cAAc,CACf;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,mCAAmC,CACjD,MAAmB,EACnB,YAGC,EACD,IAA2C;IAE3C,MAAM,GAAG,GAAG,oCAAoC,CAAC,GAAG,YAAY,CAAC,CAAC;IAElE,OAAO,MAAM,CAAC,YAAY,CAAwC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC/E,CAAC;AAED,SAAgB,sCAAsC,CACpD,MAAmB,EACnB,YAKC,EACD,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,YAAY,CAAC;KACjE,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,yCAAyC,CACvD,MAAmB,EACnB,OAA0E;IAE1E,OAAO,MAAM,CAAC,iBAAiB,CAAC;QAC9B,GAAG,OAAO;QACV,QAAQ,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,UAAU,CAAC;KAChD,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,sCAAsC,CACpD,OAAiB,EACjB,uBAA+B,EAC/B,cAAmC,EACnC,OAAwB;IAOxB,OAAO;QACL,QAAQ,EAAE,oCAAoC,CAAC,uBAAuB,EAAE;YACtE,cAAc;SACf,CAAC;QACF,OAAO,EAAE,KAAK,UAAU,mCAAmC,CACzD,GAAG;YAEH,MAAM,GAAG,GAAG,IAAA,8BAAc,EAAC,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,aAAa,GAAG;gBACpB,GAAG,OAAO;gBACV,YAAY,EAAE,EAAE,GAAG,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE;aACxD,CAAC;YAEF,OAAO,IAAA,mBAAW,EAAC,IAAA,8DAA4B,EAC7C,OAAO,EACP,uBAAuB,EACvB,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC;AAED,SAAgB,oCAAoC,CAClD,uBAA+B,EAC/B,UAAmD;IAEnD,OAAO;QACL,WAAW;QACX,UAAU;QACV,UAAU;QACV,uBAAuB;QACvB,UAAU;KACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { NovuCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { MutationHookOptions } from "./_types.js";
|
|
6
|
+
export type MessagesDeleteMutationVariables = {
|
|
7
|
+
messageId: string;
|
|
8
|
+
idempotencyKey?: string | undefined;
|
|
9
|
+
options?: RequestOptions;
|
|
10
|
+
};
|
|
11
|
+
export type MessagesDeleteMutationData = operations.MessagesControllerDeleteMessageResponse;
|
|
12
|
+
/**
|
|
13
|
+
* Delete message
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Deletes a message entity from the Novu platform
|
|
17
|
+
*/
|
|
18
|
+
export declare function useMessagesDeleteMutation(options?: MutationHookOptions<MessagesDeleteMutationData, Error, MessagesDeleteMutationVariables>): UseMutationResult<MessagesDeleteMutationData, Error, MessagesDeleteMutationVariables>;
|
|
19
|
+
export declare function mutationKeyMessagesDelete(): MutationKey;
|
|
20
|
+
export declare function buildMessagesDeleteMutation(client$: NovuCore, hookOptions?: RequestOptions): {
|
|
21
|
+
mutationKey: MutationKey;
|
|
22
|
+
mutationFn: (variables: MessagesDeleteMutationVariables) => Promise<MessagesDeleteMutationData>;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=messagesDelete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messagesDelete.d.ts","sourceRoot":"","sources":["../src/react-query/messagesDelete.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GACpC,UAAU,CAAC,uCAAuC,CAAC;AAErD;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,CAAC,EAAE,mBAAmB,CAC3B,0BAA0B,EAC1B,KAAK,EACL,+BAA+B,CAChC,GACA,iBAAiB,CAClB,0BAA0B,EAC1B,KAAK,EACL,+BAA+B,CAChC,CAMA;AAED,wBAAgB,yBAAyB,IAAI,WAAW,CAEvD;AAED,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,QAAQ,EACjB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,+BAA+B,KACvC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CAC1C,CA4BA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.useMessagesDeleteMutation = useMessagesDeleteMutation;
|
|
7
|
+
exports.mutationKeyMessagesDelete = mutationKeyMessagesDelete;
|
|
8
|
+
exports.buildMessagesDeleteMutation = buildMessagesDeleteMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const messagesDelete_js_1 = require("../funcs/messagesDelete.js");
|
|
11
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
12
|
+
const fp_js_1 = require("../types/fp.js");
|
|
13
|
+
const _context_js_1 = require("./_context.js");
|
|
14
|
+
/**
|
|
15
|
+
* Delete message
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Deletes a message entity from the Novu platform
|
|
19
|
+
*/
|
|
20
|
+
function useMessagesDeleteMutation(options) {
|
|
21
|
+
const client = (0, _context_js_1.useNovuContext)();
|
|
22
|
+
return (0, react_query_1.useMutation)({
|
|
23
|
+
...buildMessagesDeleteMutation(client, options),
|
|
24
|
+
...options,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function mutationKeyMessagesDelete() {
|
|
28
|
+
return ["@novu/api", "Messages", "delete"];
|
|
29
|
+
}
|
|
30
|
+
function buildMessagesDeleteMutation(client$, hookOptions) {
|
|
31
|
+
return {
|
|
32
|
+
mutationKey: mutationKeyMessagesDelete(),
|
|
33
|
+
mutationFn: function messagesDeleteMutationFn({ messageId, idempotencyKey, options, }) {
|
|
34
|
+
const mergedOptions = {
|
|
35
|
+
...hookOptions,
|
|
36
|
+
...options,
|
|
37
|
+
fetchOptions: {
|
|
38
|
+
...hookOptions?.fetchOptions,
|
|
39
|
+
...options?.fetchOptions,
|
|
40
|
+
signal: (0, primitives_js_1.combineSignals)(hookOptions?.fetchOptions?.signal, options?.fetchOptions?.signal),
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
return (0, fp_js_1.unwrapAsync)((0, messagesDelete_js_1.messagesDelete)(client$, messageId, idempotencyKey, mergedOptions));
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=messagesDelete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messagesDelete.js","sourceRoot":"","sources":["../src/react-query/messagesDelete.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA+BH,8DAgBC;AAED,8DAEC;AAED,kEAoCC;AAvFD,uDAI+B;AAE/B,kEAA4D;AAC5D,wDAAsD;AAGtD,0CAA6C;AAC7C,+CAA+C;AAY/C;;;;;GAKG;AACH,SAAgB,yBAAyB,CACvC,OAIC;IAMD,MAAM,MAAM,GAAG,IAAA,4BAAc,GAAE,CAAC;IAChC,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,2BAA2B,CAAC,MAAM,EAAE,OAAO,CAAC;QAC/C,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,yBAAyB;IACvC,OAAO,CAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;AAC7C,CAAC;AAED,SAAgB,2BAA2B,CACzC,OAAiB,EACjB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,yBAAyB,EAAE;QACxC,UAAU,EAAE,SAAS,wBAAwB,CAAC,EAC5C,SAAS,EACT,cAAc,EACd,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,IAAA,8BAAc,EACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,IAAA,mBAAW,EAAC,IAAA,kCAAc,EAC/B,OAAO,EACP,SAAS,EACT,cAAc,EACd,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import { NovuCore } from "../core.js";
|
|
3
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
4
|
+
import * as operations from "../models/operations/index.js";
|
|
5
|
+
import { MutationHookOptions } from "./_types.js";
|
|
6
|
+
export type MessagesDeleteByTransactionIdMutationVariables = {
|
|
7
|
+
transactionId: string;
|
|
8
|
+
channel?: operations.Channel | undefined;
|
|
9
|
+
idempotencyKey?: string | undefined;
|
|
10
|
+
options?: RequestOptions;
|
|
11
|
+
};
|
|
12
|
+
export type MessagesDeleteByTransactionIdMutationData = operations.MessagesControllerDeleteMessagesByTransactionIdResponse | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Delete messages by transactionId
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* Deletes messages entity from the Novu platform using TransactionId of message
|
|
18
|
+
*/
|
|
19
|
+
export declare function useMessagesDeleteByTransactionIdMutation(options?: MutationHookOptions<MessagesDeleteByTransactionIdMutationData, Error, MessagesDeleteByTransactionIdMutationVariables>): UseMutationResult<MessagesDeleteByTransactionIdMutationData, Error, MessagesDeleteByTransactionIdMutationVariables>;
|
|
20
|
+
export declare function mutationKeyMessagesDeleteByTransactionId(): MutationKey;
|
|
21
|
+
export declare function buildMessagesDeleteByTransactionIdMutation(client$: NovuCore, hookOptions?: RequestOptions): {
|
|
22
|
+
mutationKey: MutationKey;
|
|
23
|
+
mutationFn: (variables: MessagesDeleteByTransactionIdMutationVariables) => Promise<MessagesDeleteByTransactionIdMutationData>;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=messagesDeleteByTransactionId.d.ts.map
|