@novu/api 3.14.1 → 3.14.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -3
- package/funcs/activityTrack.js.map +1 -1
- package/funcs/cancel.js.map +1 -1
- package/funcs/channelConnectionsDelete.js.map +1 -1
- package/funcs/channelConnectionsRetrieve.js.map +1 -1
- package/funcs/channelConnectionsUpdate.js.map +1 -1
- package/funcs/channelEndpointsCreate.d.ts +2 -0
- package/funcs/channelEndpointsCreate.d.ts.map +1 -1
- package/funcs/channelEndpointsCreate.js +3 -1
- package/funcs/channelEndpointsCreate.js.map +1 -1
- package/funcs/channelEndpointsDelete.d.ts +2 -0
- package/funcs/channelEndpointsDelete.d.ts.map +1 -1
- package/funcs/channelEndpointsDelete.js +3 -1
- package/funcs/channelEndpointsDelete.js.map +1 -1
- package/funcs/channelEndpointsList.d.ts +2 -0
- package/funcs/channelEndpointsList.d.ts.map +1 -1
- package/funcs/channelEndpointsList.js +3 -1
- package/funcs/channelEndpointsList.js.map +1 -1
- package/funcs/channelEndpointsRetrieve.d.ts +2 -0
- package/funcs/channelEndpointsRetrieve.d.ts.map +1 -1
- package/funcs/channelEndpointsRetrieve.js +3 -1
- package/funcs/channelEndpointsRetrieve.js.map +1 -1
- package/funcs/channelEndpointsUpdate.d.ts +2 -0
- package/funcs/channelEndpointsUpdate.d.ts.map +1 -1
- package/funcs/channelEndpointsUpdate.js +3 -1
- package/funcs/channelEndpointsUpdate.js.map +1 -1
- package/funcs/contextsDelete.js.map +1 -1
- package/funcs/contextsRetrieve.js.map +1 -1
- package/funcs/contextsUpdate.js.map +1 -1
- package/funcs/environmentVariablesCreate.d.ts +19 -0
- package/funcs/environmentVariablesCreate.d.ts.map +1 -0
- package/funcs/environmentVariablesCreate.js +154 -0
- package/funcs/environmentVariablesCreate.js.map +1 -0
- package/funcs/environmentVariablesDelete.d.ts +18 -0
- package/funcs/environmentVariablesDelete.d.ts.map +1 -0
- package/funcs/environmentVariablesDelete.js +158 -0
- package/funcs/environmentVariablesDelete.js.map +1 -0
- package/funcs/environmentVariablesList.d.ts +18 -0
- package/funcs/environmentVariablesList.d.ts.map +1 -0
- package/funcs/environmentVariablesList.js +155 -0
- package/funcs/environmentVariablesList.js.map +1 -0
- package/funcs/environmentVariablesRetrieve.d.ts +18 -0
- package/funcs/environmentVariablesRetrieve.d.ts.map +1 -0
- package/funcs/environmentVariablesRetrieve.js +157 -0
- package/funcs/environmentVariablesRetrieve.js.map +1 -0
- package/funcs/environmentVariablesUpdate.d.ts +19 -0
- package/funcs/environmentVariablesUpdate.d.ts.map +1 -0
- package/funcs/environmentVariablesUpdate.js +161 -0
- package/funcs/environmentVariablesUpdate.js.map +1 -0
- package/funcs/environmentVariablesUsage.d.ts +18 -0
- package/funcs/environmentVariablesUsage.d.ts.map +1 -0
- package/funcs/environmentVariablesUsage.js +157 -0
- package/funcs/environmentVariablesUsage.js.map +1 -0
- package/funcs/environmentsDelete.js.map +1 -1
- package/funcs/environmentsDiff.js.map +1 -1
- package/funcs/environmentsGetTags.js.map +1 -1
- package/funcs/environmentsPublish.js.map +1 -1
- package/funcs/environmentsUpdate.js.map +1 -1
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/layoutsDelete.js.map +1 -1
- package/funcs/layoutsDuplicate.js.map +1 -1
- package/funcs/layoutsGeneratePreview.js.map +1 -1
- package/funcs/layoutsRetrieve.js.map +1 -1
- package/funcs/layoutsUpdate.js.map +1 -1
- package/funcs/layoutsUsage.js.map +1 -1
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsArchive.d.ts +18 -0
- package/funcs/subscribersNotificationsArchive.d.ts.map +1 -0
- package/funcs/subscribersNotificationsArchive.js +159 -0
- package/funcs/subscribersNotificationsArchive.js.map +1 -0
- package/funcs/subscribersNotificationsArchiveAll.d.ts +19 -0
- package/funcs/subscribersNotificationsArchiveAll.d.ts.map +1 -0
- package/funcs/subscribersNotificationsArchiveAll.js +162 -0
- package/funcs/subscribersNotificationsArchiveAll.js.map +1 -0
- package/funcs/subscribersNotificationsArchiveAllRead.d.ts +19 -0
- package/funcs/subscribersNotificationsArchiveAllRead.d.ts.map +1 -0
- package/funcs/subscribersNotificationsArchiveAllRead.js +162 -0
- package/funcs/subscribersNotificationsArchiveAllRead.js.map +1 -0
- package/funcs/subscribersNotificationsCompleteAction.d.ts +18 -0
- package/funcs/subscribersNotificationsCompleteAction.d.ts.map +1 -0
- package/funcs/subscribersNotificationsCompleteAction.js +165 -0
- package/funcs/subscribersNotificationsCompleteAction.js.map +1 -0
- package/funcs/subscribersNotificationsCount.d.ts +19 -0
- package/funcs/subscribersNotificationsCount.d.ts.map +1 -0
- package/funcs/subscribersNotificationsCount.js +163 -0
- package/funcs/subscribersNotificationsCount.js.map +1 -0
- package/funcs/subscribersNotificationsDelete.d.ts +18 -0
- package/funcs/subscribersNotificationsDelete.d.ts.map +1 -0
- package/funcs/subscribersNotificationsDelete.js +160 -0
- package/funcs/subscribersNotificationsDelete.js.map +1 -0
- package/funcs/subscribersNotificationsDeleteAll.d.ts +19 -0
- package/funcs/subscribersNotificationsDeleteAll.d.ts.map +1 -0
- package/funcs/subscribersNotificationsDeleteAll.js +162 -0
- package/funcs/subscribersNotificationsDeleteAll.js.map +1 -0
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsList.d.ts +19 -0
- package/funcs/subscribersNotificationsList.d.ts.map +1 -0
- package/funcs/subscribersNotificationsList.js +170 -0
- package/funcs/subscribersNotificationsList.js.map +1 -0
- package/funcs/subscribersNotificationsMarkAllAsRead.d.ts +19 -0
- package/funcs/subscribersNotificationsMarkAllAsRead.d.ts.map +1 -0
- package/funcs/subscribersNotificationsMarkAllAsRead.js +162 -0
- package/funcs/subscribersNotificationsMarkAllAsRead.js.map +1 -0
- package/funcs/subscribersNotificationsMarkAsRead.d.ts +18 -0
- package/funcs/subscribersNotificationsMarkAsRead.d.ts.map +1 -0
- package/funcs/subscribersNotificationsMarkAsRead.js +161 -0
- package/funcs/subscribersNotificationsMarkAsRead.js.map +1 -0
- package/funcs/subscribersNotificationsMarkAsSeen.d.ts +19 -0
- package/funcs/subscribersNotificationsMarkAsSeen.d.ts.map +1 -0
- package/funcs/subscribersNotificationsMarkAsSeen.js +160 -0
- package/funcs/subscribersNotificationsMarkAsSeen.js.map +1 -0
- package/funcs/subscribersNotificationsMarkAsUnread.d.ts +18 -0
- package/funcs/subscribersNotificationsMarkAsUnread.d.ts.map +1 -0
- package/funcs/subscribersNotificationsMarkAsUnread.js +161 -0
- package/funcs/subscribersNotificationsMarkAsUnread.js.map +1 -0
- package/funcs/subscribersNotificationsRevertAction.d.ts +18 -0
- package/funcs/subscribersNotificationsRevertAction.d.ts.map +1 -0
- package/funcs/subscribersNotificationsRevertAction.js +165 -0
- package/funcs/subscribersNotificationsRevertAction.js.map +1 -0
- package/funcs/subscribersNotificationsSnooze.d.ts +18 -0
- package/funcs/subscribersNotificationsSnooze.d.ts.map +1 -0
- package/funcs/subscribersNotificationsSnooze.js +162 -0
- package/funcs/subscribersNotificationsSnooze.js.map +1 -0
- package/funcs/subscribersNotificationsUnarchive.d.ts +18 -0
- package/funcs/subscribersNotificationsUnarchive.d.ts.map +1 -0
- package/funcs/subscribersNotificationsUnarchive.js +160 -0
- package/funcs/subscribersNotificationsUnarchive.js.map +1 -0
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersNotificationsUnsnooze.d.ts +18 -0
- package/funcs/subscribersNotificationsUnsnooze.d.ts.map +1 -0
- package/funcs/subscribersNotificationsUnsnooze.js +160 -0
- package/funcs/subscribersNotificationsUnsnooze.js.map +1 -0
- package/funcs/subscribersPatch.js.map +1 -1
- package/funcs/subscribersPreferencesBulkUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersTopicsList.js.map +1 -1
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsGet.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/topicsSubscriptionsCreate.js.map +1 -1
- package/funcs/topicsSubscriptionsDelete.js.map +1 -1
- package/funcs/topicsSubscriptionsGetSubscription.js.map +1 -1
- package/funcs/topicsSubscriptionsList.js.map +1 -1
- package/funcs/topicsSubscriptionsUpdate.js.map +1 -1
- package/funcs/topicsUpdate.js.map +1 -1
- package/funcs/translationsCreate.d.ts +2 -0
- package/funcs/translationsCreate.d.ts.map +1 -1
- package/funcs/translationsCreate.js +3 -1
- package/funcs/translationsCreate.js.map +1 -1
- package/funcs/translationsDelete.d.ts +2 -0
- package/funcs/translationsDelete.d.ts.map +1 -1
- package/funcs/translationsDelete.js +3 -1
- package/funcs/translationsDelete.js.map +1 -1
- package/funcs/translationsGroupsDelete.d.ts +2 -0
- package/funcs/translationsGroupsDelete.d.ts.map +1 -1
- package/funcs/translationsGroupsDelete.js +3 -1
- package/funcs/translationsGroupsDelete.js.map +1 -1
- package/funcs/translationsGroupsRetrieve.d.ts +2 -0
- package/funcs/translationsGroupsRetrieve.d.ts.map +1 -1
- package/funcs/translationsGroupsRetrieve.js +3 -1
- package/funcs/translationsGroupsRetrieve.js.map +1 -1
- package/funcs/translationsMasterImport.d.ts +2 -0
- package/funcs/translationsMasterImport.d.ts.map +1 -1
- package/funcs/translationsMasterImport.js +3 -1
- package/funcs/translationsMasterImport.js.map +1 -1
- package/funcs/translationsMasterRetrieve.d.ts +2 -0
- package/funcs/translationsMasterRetrieve.d.ts.map +1 -1
- package/funcs/translationsMasterRetrieve.js +3 -1
- package/funcs/translationsMasterRetrieve.js.map +1 -1
- package/funcs/translationsMasterUpload.d.ts +2 -0
- package/funcs/translationsMasterUpload.d.ts.map +1 -1
- package/funcs/translationsMasterUpload.js +8 -12
- package/funcs/translationsMasterUpload.js.map +1 -1
- package/funcs/translationsRetrieve.d.ts +2 -0
- package/funcs/translationsRetrieve.d.ts.map +1 -1
- package/funcs/translationsRetrieve.js +3 -1
- package/funcs/translationsRetrieve.js.map +1 -1
- package/funcs/translationsUpload.d.ts +2 -0
- package/funcs/translationsUpload.d.ts.map +1 -1
- package/funcs/translationsUpload.js +8 -12
- package/funcs/translationsUpload.js.map +1 -1
- package/funcs/workflowsDelete.js.map +1 -1
- package/funcs/workflowsGet.js.map +1 -1
- package/funcs/workflowsPatch.js.map +1 -1
- package/funcs/workflowsStepsGeneratePreview.d.ts +18 -0
- package/funcs/workflowsStepsGeneratePreview.d.ts.map +1 -0
- package/funcs/workflowsStepsGeneratePreview.js +157 -0
- package/funcs/workflowsStepsGeneratePreview.js.map +1 -0
- package/funcs/workflowsStepsRetrieve.js.map +1 -1
- package/funcs/workflowsSync.js.map +1 -1
- package/funcs/workflowsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +20 -5
- package/lib/encodings.js.map +1 -1
- package/lib/files.d.ts +13 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +19 -0
- package/lib/files.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +8 -4
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +19 -8
- package/lib/security.js.map +1 -1
- package/lib/url.d.ts.map +1 -1
- package/lib/url.js +4 -2
- package/lib/url.js.map +1 -1
- package/models/components/activitynotificationjobresponsedto.d.ts +1 -0
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +1 -0
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/models/components/chatrenderoutput.d.ts +13 -0
- package/models/components/chatrenderoutput.d.ts.map +1 -0
- package/models/components/chatrenderoutput.js +50 -0
- package/models/components/chatrenderoutput.js.map +1 -0
- package/models/components/contentissueenum.d.ts +1 -0
- package/models/components/contentissueenum.d.ts.map +1 -1
- package/models/components/contentissueenum.js +1 -0
- package/models/components/contentissueenum.js.map +1 -1
- package/models/components/createenvironmentvariablerequestdto.d.ts +41 -0
- package/models/components/createenvironmentvariablerequestdto.d.ts.map +1 -0
- package/models/components/createenvironmentvariablerequestdto.js +62 -0
- package/models/components/createenvironmentvariablerequestdto.js.map +1 -0
- package/models/components/createworkflowdto.d.ts +5 -4
- package/models/components/createworkflowdto.d.ts.map +1 -1
- package/models/components/createworkflowdto.js +3 -0
- package/models/components/createworkflowdto.js.map +1 -1
- package/models/components/digestregularoutput.d.ts +33 -0
- package/models/components/digestregularoutput.d.ts.map +1 -0
- package/models/components/digestregularoutput.js +60 -0
- package/models/components/digestregularoutput.js.map +1 -0
- package/models/components/emailcontroldto.d.ts +0 -20
- package/models/components/emailcontroldto.d.ts.map +1 -1
- package/models/components/emailcontroldto.js +1 -14
- package/models/components/emailcontroldto.js.map +1 -1
- package/models/components/emailrenderoutput.d.ts +17 -0
- package/models/components/emailrenderoutput.d.ts.map +1 -0
- package/models/components/emailrenderoutput.js +51 -0
- package/models/components/emailrenderoutput.js.map +1 -0
- package/models/components/emailstepresponsedto.d.ts +0 -17
- package/models/components/emailstepresponsedto.d.ts.map +1 -1
- package/models/components/emailstepresponsedto.js +1 -11
- package/models/components/emailstepresponsedto.js.map +1 -1
- package/models/components/environmentvariableresponsedto.d.ts +25 -0
- package/models/components/environmentvariableresponsedto.d.ts.map +1 -0
- package/models/components/environmentvariableresponsedto.js +69 -0
- package/models/components/environmentvariableresponsedto.js.map +1 -0
- package/models/components/environmentvariablevaluedto.d.ts +14 -0
- package/models/components/environmentvariablevaluedto.d.ts.map +1 -0
- package/models/components/environmentvariablevaluedto.js +55 -0
- package/models/components/environmentvariablevaluedto.js.map +1 -0
- package/models/components/environmentvariablevalueresponsedto.d.ts +14 -0
- package/models/components/environmentvariablevalueresponsedto.d.ts.map +1 -0
- package/models/components/environmentvariablevalueresponsedto.js +56 -0
- package/models/components/environmentvariablevalueresponsedto.js.map +1 -0
- package/models/components/environmentvariableworkflowinfodto.d.ts +17 -0
- package/models/components/environmentvariableworkflowinfodto.d.ts.map +1 -0
- package/models/components/environmentvariableworkflowinfodto.js +51 -0
- package/models/components/environmentvariableworkflowinfodto.js.map +1 -0
- package/models/components/generatepreviewrequestdto.d.ts +25 -0
- package/models/components/generatepreviewrequestdto.d.ts.map +1 -0
- package/models/components/generatepreviewrequestdto.js +51 -0
- package/models/components/generatepreviewrequestdto.js.map +1 -0
- package/models/components/generatepreviewresponsedto.d.ts +157 -0
- package/models/components/generatepreviewresponsedto.d.ts.map +1 -0
- package/models/components/generatepreviewresponsedto.js +210 -0
- package/models/components/generatepreviewresponsedto.js.map +1 -0
- package/models/components/getenvironmentvariableusageresponsedto.d.ts +14 -0
- package/models/components/getenvironmentvariableusageresponsedto.d.ts.map +1 -0
- package/models/components/getenvironmentvariableusageresponsedto.js +51 -0
- package/models/components/getenvironmentvariableusageresponsedto.js.map +1 -0
- package/models/components/getsubscribernotificationscountresponsedto.d.ts +19 -0
- package/models/components/getsubscribernotificationscountresponsedto.d.ts.map +1 -0
- package/models/components/getsubscribernotificationscountresponsedto.js +51 -0
- package/models/components/getsubscribernotificationscountresponsedto.js.map +1 -0
- package/models/components/getsubscribernotificationsresponsedto.d.ts +29 -0
- package/models/components/getsubscribernotificationsresponsedto.d.ts.map +1 -0
- package/models/components/getsubscribernotificationsresponsedto.js +60 -0
- package/models/components/getsubscribernotificationsresponsedto.js.map +1 -0
- package/models/components/httpmethodenum.d.ts +21 -0
- package/models/components/httpmethodenum.d.ts.map +1 -0
- package/models/components/httpmethodenum.js +55 -0
- package/models/components/httpmethodenum.js.map +1 -0
- package/models/components/httprequestcontroldto.d.ts +56 -0
- package/models/components/httprequestcontroldto.d.ts.map +1 -0
- package/models/components/httprequestcontroldto.js +72 -0
- package/models/components/httprequestcontroldto.js.map +1 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.d.ts +25 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.d.ts.map +1 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.js +54 -0
- package/models/components/httprequestcontrolsmetadataresponsedto.js.map +1 -0
- package/models/components/httprequestkeyvaluepairdto.d.ts +25 -0
- package/models/components/httprequestkeyvaluepairdto.d.ts.map +1 -0
- package/models/components/httprequestkeyvaluepairdto.js +60 -0
- package/models/components/httprequestkeyvaluepairdto.js.map +1 -0
- package/models/components/httprequeststepresponsedto.d.ts +109 -0
- package/models/components/httprequeststepresponsedto.d.ts.map +1 -0
- package/models/components/httprequeststepresponsedto.js +86 -0
- package/models/components/httprequeststepresponsedto.js.map +1 -0
- package/models/components/httprequeststepupsertdto.d.ts +53 -0
- package/models/components/httprequeststepupsertdto.d.ts.map +1 -0
- package/models/components/httprequeststepupsertdto.js +68 -0
- package/models/components/httprequeststepupsertdto.js.map +1 -0
- package/models/components/inapprenderoutput.d.ts +41 -0
- package/models/components/inapprenderoutput.d.ts.map +1 -0
- package/models/components/inapprenderoutput.js +58 -0
- package/models/components/inapprenderoutput.js.map +1 -0
- package/models/components/inboxactiondto.d.ts +22 -0
- package/models/components/inboxactiondto.d.ts.map +1 -0
- package/models/components/inboxactiondto.js +53 -0
- package/models/components/inboxactiondto.js.map +1 -0
- package/models/components/inboxnotificationdto.d.ts +113 -0
- package/models/components/inboxnotificationdto.d.ts.map +1 -0
- package/models/components/inboxnotificationdto.js +79 -0
- package/models/components/inboxnotificationdto.js.map +1 -0
- package/models/components/inboxsubscriberresponsedto.d.ts +29 -0
- package/models/components/inboxsubscriberresponsedto.d.ts.map +1 -0
- package/models/components/inboxsubscriberresponsedto.js +54 -0
- package/models/components/inboxsubscriberresponsedto.js.map +1 -0
- package/models/components/index.d.ts +33 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +33 -0
- package/models/components/index.js.map +1 -1
- package/models/components/integrationresponsedto.d.ts +3 -3
- package/models/components/integrationresponsedto.js +1 -1
- package/models/components/marksubscribernotificationsasseendto.d.ts +30 -0
- package/models/components/marksubscribernotificationsasseendto.d.ts.map +1 -0
- package/models/components/marksubscribernotificationsasseendto.js +52 -0
- package/models/components/marksubscribernotificationsasseendto.js.map +1 -0
- package/models/components/notificationworkflowdto.d.ts +40 -0
- package/models/components/notificationworkflowdto.d.ts.map +1 -0
- package/models/components/notificationworkflowdto.js +57 -0
- package/models/components/notificationworkflowdto.js.map +1 -0
- package/models/components/previewerrordto.d.ts +21 -0
- package/models/components/previewerrordto.d.ts.map +1 -0
- package/models/components/previewerrordto.js +52 -0
- package/models/components/previewerrordto.js.map +1 -0
- package/models/components/previewpayloaddto.d.ts +88 -0
- package/models/components/previewpayloaddto.d.ts.map +1 -0
- package/models/components/previewpayloaddto.js +109 -0
- package/models/components/previewpayloaddto.js.map +1 -0
- package/models/components/pushrenderoutput.d.ts +17 -0
- package/models/components/pushrenderoutput.d.ts.map +1 -0
- package/models/components/pushrenderoutput.js +51 -0
- package/models/components/pushrenderoutput.js.map +1 -0
- package/models/components/redirectdto.d.ts +7 -7
- package/models/components/redirectdto.d.ts.map +1 -1
- package/models/components/redirectdto.js +5 -5
- package/models/components/redirectdto.js.map +1 -1
- package/models/components/runtimeissuedto.d.ts +1 -16
- package/models/components/runtimeissuedto.d.ts.map +1 -1
- package/models/components/runtimeissuedto.js +2 -16
- package/models/components/runtimeissuedto.js.map +1 -1
- package/models/components/smsrenderoutput.d.ts +13 -0
- package/models/components/smsrenderoutput.d.ts.map +1 -0
- package/models/components/smsrenderoutput.js +50 -0
- package/models/components/smsrenderoutput.js.map +1 -0
- package/models/components/snoozesubscribernotificationdto.d.ts +15 -0
- package/models/components/snoozesubscribernotificationdto.d.ts.map +1 -0
- package/models/components/snoozesubscribernotificationdto.js +49 -0
- package/models/components/snoozesubscribernotificationdto.js.map +1 -0
- package/models/components/timeunitenum.d.ts +20 -0
- package/models/components/timeunitenum.d.ts.map +1 -0
- package/models/components/timeunitenum.js +54 -0
- package/models/components/timeunitenum.js.map +1 -0
- package/models/components/triggereventresponsedto.d.ts +4 -0
- package/models/components/triggereventresponsedto.d.ts.map +1 -1
- package/models/components/triggereventresponsedto.js +1 -0
- package/models/components/triggereventresponsedto.js.map +1 -1
- package/models/components/uicomponentenum.d.ts +8 -1
- package/models/components/uicomponentenum.d.ts.map +1 -1
- package/models/components/uicomponentenum.js +8 -1
- package/models/components/uicomponentenum.js.map +1 -1
- package/models/components/uischemagroupenum.d.ts +1 -0
- package/models/components/uischemagroupenum.d.ts.map +1 -1
- package/models/components/uischemagroupenum.js +1 -0
- package/models/components/uischemagroupenum.js.map +1 -1
- package/models/components/updateallsubscribernotificationsdto.d.ts +25 -0
- package/models/components/updateallsubscribernotificationsdto.d.ts.map +1 -0
- package/models/components/updateallsubscribernotificationsdto.js +51 -0
- package/models/components/updateallsubscribernotificationsdto.js.map +1 -0
- package/models/components/updateenvironmentvariablerequestdto.d.ts +38 -0
- package/models/components/updateenvironmentvariablerequestdto.d.ts.map +1 -0
- package/models/components/updateenvironmentvariablerequestdto.js +62 -0
- package/models/components/updateenvironmentvariablerequestdto.js.map +1 -0
- package/models/components/updatelayoutdto.d.ts +2 -2
- package/models/components/updateworkflowdto.d.ts +5 -4
- package/models/components/updateworkflowdto.d.ts.map +1 -1
- package/models/components/updateworkflowdto.js +3 -0
- package/models/components/updateworkflowdto.js.map +1 -1
- package/models/components/workflowresponsedto.d.ts +3 -2
- package/models/components/workflowresponsedto.d.ts.map +1 -1
- package/models/components/workflowresponsedto.js +3 -0
- package/models/components/workflowresponsedto.js.map +1 -1
- package/models/operations/environmentvariablescontrollercreateenvironmentvariable.d.ts +29 -0
- package/models/operations/environmentvariablescontrollercreateenvironmentvariable.d.ts.map +1 -0
- package/models/operations/environmentvariablescontrollercreateenvironmentvariable.js +74 -0
- package/models/operations/environmentvariablescontrollercreateenvironmentvariable.js.map +1 -0
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts +27 -0
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.d.ts.map +1 -0
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js +70 -0
- package/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.js.map +1 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts +29 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.d.ts.map +1 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.js +73 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariable.js.map +1 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts +29 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.d.ts.map +1 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js +73 -0
- package/models/operations/environmentvariablescontrollergetenvironmentvariableusage.js.map +1 -0
- package/models/operations/environmentvariablescontrollerlistenvironmentvariables.d.ts +32 -0
- package/models/operations/environmentvariablescontrollerlistenvironmentvariables.d.ts.map +1 -0
- package/models/operations/environmentvariablescontrollerlistenvironmentvariables.js +73 -0
- package/models/operations/environmentvariablescontrollerlistenvironmentvariables.js.map +1 -0
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts +31 -0
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.d.ts.map +1 -0
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js +75 -0
- package/models/operations/environmentvariablescontrollerupdateenvironmentvariable.js.map +1 -0
- package/models/operations/index.d.ts +23 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +23 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/subscriberscontrollerarchiveallnotifications.d.ts +33 -0
- package/models/operations/subscriberscontrollerarchiveallnotifications.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerarchiveallnotifications.js +71 -0
- package/models/operations/subscriberscontrollerarchiveallnotifications.js.map +1 -0
- package/models/operations/subscriberscontrollerarchiveallreadnotifications.d.ts +33 -0
- package/models/operations/subscriberscontrollerarchiveallreadnotifications.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerarchiveallreadnotifications.js +73 -0
- package/models/operations/subscriberscontrollerarchiveallreadnotifications.js.map +1 -0
- package/models/operations/subscriberscontrollerarchivenotification.d.ts +42 -0
- package/models/operations/subscriberscontrollerarchivenotification.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerarchivenotification.js +73 -0
- package/models/operations/subscriberscontrollerarchivenotification.js.map +1 -0
- package/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.d.ts +3 -0
- package/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollercompletenotificationaction.d.ts +61 -0
- package/models/operations/subscriberscontrollercompletenotificationaction.d.ts.map +1 -0
- package/models/operations/subscriberscontrollercompletenotificationaction.js +85 -0
- package/models/operations/subscriberscontrollercompletenotificationaction.js.map +1 -0
- package/models/operations/subscriberscontrollerdeleteallnotifications.d.ts +33 -0
- package/models/operations/subscriberscontrollerdeleteallnotifications.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerdeleteallnotifications.js +71 -0
- package/models/operations/subscriberscontrollerdeleteallnotifications.js.map +1 -0
- package/models/operations/subscriberscontrollerdeletenotification.d.ts +40 -0
- package/models/operations/subscriberscontrollerdeletenotification.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerdeletenotification.js +70 -0
- package/models/operations/subscriberscontrollerdeletenotification.js.map +1 -0
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +3 -0
- package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts +98 -0
- package/models/operations/subscriberscontrollergetsubscribernotifications.d.ts.map +1 -0
- package/models/operations/subscriberscontrollergetsubscribernotifications.js +94 -0
- package/models/operations/subscriberscontrollergetsubscribernotifications.js.map +1 -0
- package/models/operations/subscriberscontrollergetsubscribernotificationscount.d.ts +37 -0
- package/models/operations/subscriberscontrollergetsubscribernotificationscount.d.ts.map +1 -0
- package/models/operations/subscriberscontrollergetsubscribernotificationscount.js +74 -0
- package/models/operations/subscriberscontrollergetsubscribernotificationscount.js.map +1 -0
- package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts +3 -0
- package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollermarkallnotificationsasread.d.ts +33 -0
- package/models/operations/subscriberscontrollermarkallnotificationsasread.d.ts.map +1 -0
- package/models/operations/subscriberscontrollermarkallnotificationsasread.js +72 -0
- package/models/operations/subscriberscontrollermarkallnotificationsasread.js.map +1 -0
- package/models/operations/subscriberscontrollermarknotificationasread.d.ts +42 -0
- package/models/operations/subscriberscontrollermarknotificationasread.d.ts.map +1 -0
- package/models/operations/subscriberscontrollermarknotificationasread.js +73 -0
- package/models/operations/subscriberscontrollermarknotificationasread.js.map +1 -0
- package/models/operations/subscriberscontrollermarknotificationasunread.d.ts +42 -0
- package/models/operations/subscriberscontrollermarknotificationasunread.d.ts.map +1 -0
- package/models/operations/subscriberscontrollermarknotificationasunread.js +73 -0
- package/models/operations/subscriberscontrollermarknotificationasunread.js.map +1 -0
- package/models/operations/subscriberscontrollermarknotificationsasseen.d.ts +33 -0
- package/models/operations/subscriberscontrollermarknotificationsasseen.d.ts.map +1 -0
- package/models/operations/subscriberscontrollermarknotificationsasseen.js +71 -0
- package/models/operations/subscriberscontrollermarknotificationsasseen.js.map +1 -0
- package/models/operations/subscriberscontrollerpatchsubscriber.d.ts +3 -0
- package/models/operations/subscriberscontrollerpatchsubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerpatchsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +3 -0
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerrevertnotificationaction.d.ts +61 -0
- package/models/operations/subscriberscontrollerrevertnotificationaction.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerrevertnotificationaction.js +83 -0
- package/models/operations/subscriberscontrollerrevertnotificationaction.js.map +1 -0
- package/models/operations/subscriberscontrollersnoozenotification.d.ts +44 -0
- package/models/operations/subscriberscontrollersnoozenotification.d.ts.map +1 -0
- package/models/operations/subscriberscontrollersnoozenotification.js +75 -0
- package/models/operations/subscriberscontrollersnoozenotification.js.map +1 -0
- package/models/operations/subscriberscontrollerunarchivenotification.d.ts +42 -0
- package/models/operations/subscriberscontrollerunarchivenotification.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerunarchivenotification.js +73 -0
- package/models/operations/subscriberscontrollerunarchivenotification.js.map +1 -0
- package/models/operations/subscriberscontrollerunsnoozenotification.d.ts +42 -0
- package/models/operations/subscriberscontrollerunsnoozenotification.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerunsnoozenotification.js +73 -0
- package/models/operations/subscriberscontrollerunsnoozenotification.js.map +1 -0
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.d.ts +3 -0
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.js.map +1 -1
- package/models/operations/workflowcontrollergeneratepreview.d.ts +36 -0
- package/models/operations/workflowcontrollergeneratepreview.d.ts.map +1 -0
- package/models/operations/workflowcontrollergeneratepreview.js +74 -0
- package/models/operations/workflowcontrollergeneratepreview.js.map +1 -0
- package/package.json +1 -1
- package/sdk/environmentvariables.d.ts +48 -0
- package/sdk/environmentvariables.d.ts.map +1 -0
- package/sdk/environmentvariables.js +72 -0
- package/sdk/environmentvariables.js.map +1 -0
- package/sdk/novunotifications.d.ts +115 -0
- package/sdk/novunotifications.d.ts.map +1 -1
- package/sdk/novunotifications.js +162 -0
- package/sdk/novunotifications.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/steps.d.ts +7 -0
- package/sdk/steps.d.ts.map +1 -1
- package/sdk/steps.js +10 -0
- package/sdk/steps.js.map +1 -1
- package/sdk/subscribers.d.ts +2 -2
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +3 -3
- package/sdk/subscribers.js.map +1 -1
- package/src/funcs/activityTrack.ts +0 -1
- package/src/funcs/cancel.ts +0 -1
- package/src/funcs/channelConnectionsDelete.ts +0 -1
- package/src/funcs/channelConnectionsRetrieve.ts +0 -1
- package/src/funcs/channelConnectionsUpdate.ts +0 -1
- package/src/funcs/channelEndpointsCreate.ts +3 -1
- package/src/funcs/channelEndpointsDelete.ts +3 -2
- package/src/funcs/channelEndpointsList.ts +3 -1
- package/src/funcs/channelEndpointsRetrieve.ts +3 -2
- package/src/funcs/channelEndpointsUpdate.ts +3 -2
- package/src/funcs/contextsDelete.ts +0 -1
- package/src/funcs/contextsRetrieve.ts +0 -1
- package/src/funcs/contextsUpdate.ts +0 -1
- package/src/funcs/environmentVariablesCreate.ts +236 -0
- package/src/funcs/environmentVariablesDelete.ts +239 -0
- package/src/funcs/environmentVariablesList.ts +233 -0
- package/src/funcs/environmentVariablesRetrieve.ts +234 -0
- package/src/funcs/environmentVariablesUpdate.ts +246 -0
- package/src/funcs/environmentVariablesUsage.ts +237 -0
- package/src/funcs/environmentsDelete.ts +0 -1
- package/src/funcs/environmentsDiff.ts +0 -1
- package/src/funcs/environmentsGetTags.ts +0 -1
- package/src/funcs/environmentsPublish.ts +0 -1
- package/src/funcs/environmentsUpdate.ts +0 -1
- package/src/funcs/integrationsDelete.ts +0 -1
- package/src/funcs/integrationsIntegrationsControllerAutoConfigureIntegration.ts +0 -1
- package/src/funcs/integrationsSetAsPrimary.ts +0 -1
- package/src/funcs/integrationsUpdate.ts +0 -1
- package/src/funcs/layoutsDelete.ts +0 -1
- package/src/funcs/layoutsDuplicate.ts +0 -1
- package/src/funcs/layoutsGeneratePreview.ts +0 -1
- package/src/funcs/layoutsRetrieve.ts +0 -1
- package/src/funcs/layoutsUpdate.ts +0 -1
- package/src/funcs/layoutsUsage.ts +0 -1
- package/src/funcs/messagesDelete.ts +0 -1
- package/src/funcs/messagesDeleteByTransactionId.ts +0 -1
- package/src/funcs/notificationsRetrieve.ts +0 -1
- package/src/funcs/subscribersCredentialsAppend.ts +0 -1
- package/src/funcs/subscribersCredentialsDelete.ts +0 -1
- package/src/funcs/subscribersCredentialsUpdate.ts +0 -1
- package/src/funcs/subscribersDelete.ts +0 -1
- package/src/funcs/subscribersMessagesMarkAll.ts +0 -1
- package/src/funcs/subscribersMessagesMarkAllAs.ts +0 -1
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +0 -1
- package/src/funcs/subscribersNotificationsArchive.ts +234 -0
- package/src/funcs/subscribersNotificationsArchiveAll.ts +247 -0
- package/src/funcs/subscribersNotificationsArchiveAllRead.ts +249 -0
- package/src/funcs/subscribersNotificationsCompleteAction.ts +240 -0
- package/src/funcs/subscribersNotificationsCount.ts +246 -0
- package/src/funcs/subscribersNotificationsDelete.ts +234 -0
- package/src/funcs/subscribersNotificationsDeleteAll.ts +246 -0
- package/src/funcs/subscribersNotificationsFeed.ts +0 -1
- package/src/funcs/subscribersNotificationsList.ts +245 -0
- package/src/funcs/subscribersNotificationsMarkAllAsRead.ts +249 -0
- package/src/funcs/subscribersNotificationsMarkAsRead.ts +236 -0
- package/src/funcs/subscribersNotificationsMarkAsSeen.ts +250 -0
- package/src/funcs/subscribersNotificationsMarkAsUnread.ts +236 -0
- package/src/funcs/subscribersNotificationsRevertAction.ts +240 -0
- package/src/funcs/subscribersNotificationsSnooze.ts +237 -0
- package/src/funcs/subscribersNotificationsUnarchive.ts +237 -0
- package/src/funcs/subscribersNotificationsUnseenCount.ts +0 -1
- package/src/funcs/subscribersNotificationsUnsnooze.ts +235 -0
- package/src/funcs/subscribersPatch.ts +0 -1
- package/src/funcs/subscribersPreferencesBulkUpdate.ts +0 -1
- package/src/funcs/subscribersPreferencesList.ts +0 -1
- package/src/funcs/subscribersPreferencesUpdate.ts +0 -1
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +0 -1
- package/src/funcs/subscribersRetrieve.ts +0 -1
- package/src/funcs/subscribersTopicsList.ts +0 -1
- package/src/funcs/topicsDelete.ts +0 -1
- package/src/funcs/topicsGet.ts +0 -1
- package/src/funcs/topicsSubscribersRetrieve.ts +0 -1
- package/src/funcs/topicsSubscriptionsCreate.ts +0 -1
- package/src/funcs/topicsSubscriptionsDelete.ts +0 -1
- package/src/funcs/topicsSubscriptionsGetSubscription.ts +0 -1
- package/src/funcs/topicsSubscriptionsList.ts +0 -1
- package/src/funcs/topicsSubscriptionsUpdate.ts +0 -1
- package/src/funcs/topicsUpdate.ts +0 -1
- package/src/funcs/translationsCreate.ts +3 -1
- package/src/funcs/translationsDelete.ts +3 -2
- package/src/funcs/translationsGroupsDelete.ts +3 -2
- package/src/funcs/translationsGroupsRetrieve.ts +3 -2
- package/src/funcs/translationsMasterImport.ts +3 -1
- package/src/funcs/translationsMasterRetrieve.ts +3 -1
- package/src/funcs/translationsMasterUpload.ts +9 -12
- package/src/funcs/translationsRetrieve.ts +3 -2
- package/src/funcs/translationsUpload.ts +9 -11
- package/src/funcs/workflowsDelete.ts +0 -1
- package/src/funcs/workflowsGet.ts +0 -1
- package/src/funcs/workflowsPatch.ts +0 -1
- package/src/funcs/workflowsStepsGeneratePreview.ts +233 -0
- package/src/funcs/workflowsStepsRetrieve.ts +0 -1
- package/src/funcs/workflowsSync.ts +0 -1
- package/src/funcs/workflowsUpdate.ts +0 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +23 -4
- package/src/lib/files.ts +22 -0
- package/src/lib/sdks.ts +7 -5
- package/src/lib/security.ts +14 -2
- package/src/lib/url.ts +16 -14
- package/src/models/components/activitynotificationjobresponsedto.ts +1 -0
- package/src/models/components/chatrenderoutput.ts +34 -0
- package/src/models/components/contentissueenum.ts +1 -0
- package/src/models/components/createenvironmentvariablerequestdto.ts +75 -0
- package/src/models/components/createworkflowdto.ts +13 -2
- package/src/models/components/digestregularoutput.ts +72 -0
- package/src/models/components/emailcontroldto.ts +0 -26
- package/src/models/components/emailrenderoutput.ts +39 -0
- package/src/models/components/emailstepresponsedto.ts +0 -26
- package/src/models/components/environmentvariableresponsedto.ts +68 -0
- package/src/models/components/environmentvariablevaluedto.ts +41 -0
- package/src/models/components/environmentvariablevalueresponsedto.ts +42 -0
- package/src/models/components/environmentvariableworkflowinfodto.ts +40 -0
- package/src/models/components/generatepreviewrequestdto.ts +45 -0
- package/src/models/components/generatepreviewresponsedto.ts +434 -0
- package/src/models/components/getenvironmentvariableusageresponsedto.ts +39 -0
- package/src/models/components/getsubscribernotificationscountresponsedto.ts +43 -0
- package/src/models/components/getsubscribernotificationsresponsedto.ts +68 -0
- package/src/models/components/httpmethodenum.ts +30 -0
- package/src/models/components/httprequestcontroldto.ts +107 -0
- package/src/models/components/httprequestcontrolsmetadataresponsedto.ts +50 -0
- package/src/models/components/httprequestkeyvaluepairdto.ts +61 -0
- package/src/models/components/httprequeststepresponsedto.ts +191 -0
- package/src/models/components/httprequeststepupsertdto.ts +103 -0
- package/src/models/components/inapprenderoutput.ts +66 -0
- package/src/models/components/inboxactiondto.ts +45 -0
- package/src/models/components/inboxnotificationdto.ts +170 -0
- package/src/models/components/inboxsubscriberresponsedto.ts +54 -0
- package/src/models/components/index.ts +33 -0
- package/src/models/components/integrationresponsedto.ts +3 -3
- package/src/models/components/marksubscribernotificationsasseendto.ts +54 -0
- package/src/models/components/notificationworkflowdto.ts +68 -0
- package/src/models/components/previewerrordto.ts +44 -0
- package/src/models/components/previewpayloaddto.ts +193 -0
- package/src/models/components/pushrenderoutput.ts +39 -0
- package/src/models/components/redirectdto.ts +11 -11
- package/src/models/components/runtimeissuedto.ts +2 -24
- package/src/models/components/smsrenderoutput.ts +34 -0
- package/src/models/components/snoozesubscribernotificationdto.ts +36 -0
- package/src/models/components/timeunitenum.ts +26 -0
- package/src/models/components/triggereventresponsedto.ts +5 -0
- package/src/models/components/uicomponentenum.ts +8 -1
- package/src/models/components/uischemagroupenum.ts +1 -0
- package/src/models/components/updateallsubscribernotificationsdto.ts +48 -0
- package/src/models/components/updateenvironmentvariablerequestdto.ts +72 -0
- package/src/models/components/updatelayoutdto.ts +2 -2
- package/src/models/components/updateworkflowdto.ts +13 -2
- package/src/models/components/workflowresponsedto.ts +9 -1
- package/src/models/operations/environmentvariablescontrollercreateenvironmentvariable.ts +91 -0
- package/src/models/operations/environmentvariablescontrollerdeleteenvironmentvariable.ts +82 -0
- package/src/models/operations/environmentvariablescontrollergetenvironmentvariable.ts +86 -0
- package/src/models/operations/environmentvariablescontrollergetenvironmentvariableusage.ts +87 -0
- package/src/models/operations/environmentvariablescontrollerlistenvironmentvariables.ts +89 -0
- package/src/models/operations/environmentvariablescontrollerupdateenvironmentvariable.ts +94 -0
- package/src/models/operations/index.ts +23 -0
- package/src/models/operations/subscriberscontrollerarchiveallnotifications.ts +95 -0
- package/src/models/operations/subscriberscontrollerarchiveallreadnotifications.ts +93 -0
- package/src/models/operations/subscriberscontrollerarchivenotification.ts +102 -0
- package/src/models/operations/subscriberscontrollerbulkupdatesubscriberpreferences.ts +3 -0
- package/src/models/operations/subscriberscontrollercompletenotificationaction.ts +124 -0
- package/src/models/operations/subscriberscontrollerdeleteallnotifications.ts +95 -0
- package/src/models/operations/subscriberscontrollerdeletenotification.ts +98 -0
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +3 -0
- package/src/models/operations/subscriberscontrollergetsubscribernotifications.ts +171 -0
- package/src/models/operations/subscriberscontrollergetsubscribernotificationscount.ts +97 -0
- package/src/models/operations/subscriberscontrollergetsubscriberpreferences.ts +3 -0
- package/src/models/operations/subscriberscontrollermarkallnotificationsasread.ts +94 -0
- package/src/models/operations/subscriberscontrollermarknotificationasread.ts +102 -0
- package/src/models/operations/subscriberscontrollermarknotificationasunread.ts +102 -0
- package/src/models/operations/subscriberscontrollermarknotificationsasseen.ts +95 -0
- package/src/models/operations/subscriberscontrollerpatchsubscriber.ts +3 -0
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +3 -0
- package/src/models/operations/subscriberscontrollerrevertnotificationaction.ts +126 -0
- package/src/models/operations/subscriberscontrollersnoozenotification.ts +108 -0
- package/src/models/operations/subscriberscontrollerunarchivenotification.ts +102 -0
- package/src/models/operations/subscriberscontrollerunsnoozenotification.ts +102 -0
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreferences.ts +3 -0
- package/src/models/operations/workflowcontrollergeneratepreview.ts +96 -0
- package/src/sdk/environmentvariables.ts +147 -0
- package/src/sdk/novunotifications.ts +340 -0
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/steps.ts +18 -0
- package/src/sdk/subscribers.ts +5 -5
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type SubscribersControllerMarkNotificationAsUnreadRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the subscriber
|
|
8
|
+
*/
|
|
9
|
+
subscriberId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The identifier of the notification
|
|
12
|
+
*/
|
|
13
|
+
notificationId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Context keys for filtering
|
|
16
|
+
*/
|
|
17
|
+
contextKeys?: Array<string> | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A header for idempotency purposes
|
|
20
|
+
*/
|
|
21
|
+
idempotencyKey?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type SubscribersControllerMarkNotificationAsUnreadResponse = {
|
|
24
|
+
headers: {
|
|
25
|
+
[k: string]: Array<string>;
|
|
26
|
+
};
|
|
27
|
+
result: components.InboxNotificationDto;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type SubscribersControllerMarkNotificationAsUnreadRequest$Outbound = {
|
|
31
|
+
subscriberId: string;
|
|
32
|
+
notificationId: string;
|
|
33
|
+
contextKeys?: Array<string> | undefined;
|
|
34
|
+
"idempotency-key"?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const SubscribersControllerMarkNotificationAsUnreadRequest$outboundSchema: z.ZodType<SubscribersControllerMarkNotificationAsUnreadRequest$Outbound, z.ZodTypeDef, SubscribersControllerMarkNotificationAsUnreadRequest>;
|
|
38
|
+
export declare function subscribersControllerMarkNotificationAsUnreadRequestToJSON(subscribersControllerMarkNotificationAsUnreadRequest: SubscribersControllerMarkNotificationAsUnreadRequest): string;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const SubscribersControllerMarkNotificationAsUnreadResponse$inboundSchema: z.ZodType<SubscribersControllerMarkNotificationAsUnreadResponse, z.ZodTypeDef, unknown>;
|
|
41
|
+
export declare function subscribersControllerMarkNotificationAsUnreadResponseFromJSON(jsonString: string): SafeParseResult<SubscribersControllerMarkNotificationAsUnreadResponse, SDKValidationError>;
|
|
42
|
+
//# sourceMappingURL=subscriberscontrollermarknotificationasunread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollermarknotificationasunread.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollermarknotificationasunread.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oDAAoD,GAAG;IACjE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,qDAAqD,GAAG;IAClE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oBAAoB,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,6DAA6D,GAAG;IAC1E,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mEAAmE,EAC9E,CAAC,CAAC,OAAO,CACP,6DAA6D,EAC7D,CAAC,CAAC,UAAU,EACZ,oDAAoD,CAUpD,CAAC;AAEL,wBAAgB,0DAA0D,CACxE,oDAAoD,EAClD,oDAAoD,GACrD,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,mEAAmE,EAC9E,CAAC,CAAC,OAAO,CACP,qDAAqD,EACrD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,6DAA6D,CAC3E,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,qDAAqD,EACrD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SubscribersControllerMarkNotificationAsUnreadResponse$inboundSchema = exports.SubscribersControllerMarkNotificationAsUnreadRequest$outboundSchema = void 0;
|
|
40
|
+
exports.subscribersControllerMarkNotificationAsUnreadRequestToJSON = subscribersControllerMarkNotificationAsUnreadRequestToJSON;
|
|
41
|
+
exports.subscribersControllerMarkNotificationAsUnreadResponseFromJSON = subscribersControllerMarkNotificationAsUnreadResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const components = __importStar(require("../components/index.js"));
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.SubscribersControllerMarkNotificationAsUnreadRequest$outboundSchema = z.object({
|
|
48
|
+
subscriberId: z.string(),
|
|
49
|
+
notificationId: z.string(),
|
|
50
|
+
contextKeys: z.array(z.string()).optional(),
|
|
51
|
+
idempotencyKey: z.string().optional(),
|
|
52
|
+
}).transform((v) => {
|
|
53
|
+
return (0, primitives_js_1.remap)(v, {
|
|
54
|
+
idempotencyKey: "idempotency-key",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
function subscribersControllerMarkNotificationAsUnreadRequestToJSON(subscribersControllerMarkNotificationAsUnreadRequest) {
|
|
58
|
+
return JSON.stringify(exports.SubscribersControllerMarkNotificationAsUnreadRequest$outboundSchema.parse(subscribersControllerMarkNotificationAsUnreadRequest));
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.SubscribersControllerMarkNotificationAsUnreadResponse$inboundSchema = z.object({
|
|
62
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
63
|
+
Result: components.InboxNotificationDto$inboundSchema,
|
|
64
|
+
}).transform((v) => {
|
|
65
|
+
return (0, primitives_js_1.remap)(v, {
|
|
66
|
+
"Headers": "headers",
|
|
67
|
+
"Result": "result",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
function subscribersControllerMarkNotificationAsUnreadResponseFromJSON(jsonString) {
|
|
71
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerMarkNotificationAsUnreadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerMarkNotificationAsUnreadResponse' from JSON`);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=subscriberscontrollermarknotificationasunread.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollermarknotificationasunread.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollermarknotificationasunread.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DH,gIASC;AAkBD,sIAcC;AAjGD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAmCrD,gBAAgB;AACH,QAAA,mEAAmE,GAK1E,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,0DAA0D,CACxE,oDACsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,2EAAmE,CAAC,KAAK,CACvE,oDAAoD,CACrD,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,mEAAmE,GAK1E,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,kCAAkC;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,6DAA6D,CAC3E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2EAAmE,CAAC,KAAK,CACvE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,mFAAmF,CACpF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type SubscribersControllerMarkNotificationsAsSeenRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the subscriber
|
|
8
|
+
*/
|
|
9
|
+
subscriberId: string;
|
|
10
|
+
/**
|
|
11
|
+
* A header for idempotency purposes
|
|
12
|
+
*/
|
|
13
|
+
idempotencyKey?: string | undefined;
|
|
14
|
+
markSubscriberNotificationsAsSeenDto: components.MarkSubscriberNotificationsAsSeenDto;
|
|
15
|
+
};
|
|
16
|
+
export type SubscribersControllerMarkNotificationsAsSeenResponse = {
|
|
17
|
+
headers: {
|
|
18
|
+
[k: string]: Array<string>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export type SubscribersControllerMarkNotificationsAsSeenRequest$Outbound = {
|
|
23
|
+
subscriberId: string;
|
|
24
|
+
"idempotency-key"?: string | undefined;
|
|
25
|
+
MarkSubscriberNotificationsAsSeenDto: components.MarkSubscriberNotificationsAsSeenDto$Outbound;
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export declare const SubscribersControllerMarkNotificationsAsSeenRequest$outboundSchema: z.ZodType<SubscribersControllerMarkNotificationsAsSeenRequest$Outbound, z.ZodTypeDef, SubscribersControllerMarkNotificationsAsSeenRequest>;
|
|
29
|
+
export declare function subscribersControllerMarkNotificationsAsSeenRequestToJSON(subscribersControllerMarkNotificationsAsSeenRequest: SubscribersControllerMarkNotificationsAsSeenRequest): string;
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const SubscribersControllerMarkNotificationsAsSeenResponse$inboundSchema: z.ZodType<SubscribersControllerMarkNotificationsAsSeenResponse, z.ZodTypeDef, unknown>;
|
|
32
|
+
export declare function subscribersControllerMarkNotificationsAsSeenResponseFromJSON(jsonString: string): SafeParseResult<SubscribersControllerMarkNotificationsAsSeenResponse, SDKValidationError>;
|
|
33
|
+
//# sourceMappingURL=subscriberscontrollermarknotificationsasseen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollermarknotificationsasseen.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollermarknotificationsasseen.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,mDAAmD,GAAG;IAChE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,oCAAoC,EAClC,UAAU,CAAC,oCAAoC,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,oDAAoD,GAAG;IACjE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4DAA4D,GAAG;IACzE,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,oCAAoC,EAClC,UAAU,CAAC,6CAA6C,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kEAAkE,EAC7E,CAAC,CAAC,OAAO,CACP,4DAA4D,EAC5D,CAAC,CAAC,UAAU,EACZ,mDAAmD,CAYnD,CAAC;AAEL,wBAAgB,yDAAyD,CACvE,mDAAmD,EACjD,mDAAmD,GACpD,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,kEAAkE,EAC7E,CAAC,CAAC,OAAO,CACP,oDAAoD,EACpD,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEL,wBAAgB,4DAA4D,CAC1E,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,oDAAoD,EACpD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SubscribersControllerMarkNotificationsAsSeenResponse$inboundSchema = exports.SubscribersControllerMarkNotificationsAsSeenRequest$outboundSchema = void 0;
|
|
40
|
+
exports.subscribersControllerMarkNotificationsAsSeenRequestToJSON = subscribersControllerMarkNotificationsAsSeenRequestToJSON;
|
|
41
|
+
exports.subscribersControllerMarkNotificationsAsSeenResponseFromJSON = subscribersControllerMarkNotificationsAsSeenResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const components = __importStar(require("../components/index.js"));
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.SubscribersControllerMarkNotificationsAsSeenRequest$outboundSchema = z.object({
|
|
48
|
+
subscriberId: z.string(),
|
|
49
|
+
idempotencyKey: z.string().optional(),
|
|
50
|
+
markSubscriberNotificationsAsSeenDto: components.MarkSubscriberNotificationsAsSeenDto$outboundSchema,
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return (0, primitives_js_1.remap)(v, {
|
|
53
|
+
idempotencyKey: "idempotency-key",
|
|
54
|
+
markSubscriberNotificationsAsSeenDto: "MarkSubscriberNotificationsAsSeenDto",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
function subscribersControllerMarkNotificationsAsSeenRequestToJSON(subscribersControllerMarkNotificationsAsSeenRequest) {
|
|
58
|
+
return JSON.stringify(exports.SubscribersControllerMarkNotificationsAsSeenRequest$outboundSchema.parse(subscribersControllerMarkNotificationsAsSeenRequest));
|
|
59
|
+
}
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.SubscribersControllerMarkNotificationsAsSeenResponse$inboundSchema = z.object({
|
|
62
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return (0, primitives_js_1.remap)(v, {
|
|
65
|
+
"Headers": "headers",
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
function subscribersControllerMarkNotificationsAsSeenResponseFromJSON(jsonString) {
|
|
69
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerMarkNotificationsAsSeenResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerMarkNotificationsAsSeenResponse' from JSON`);
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=subscriberscontrollermarknotificationsasseen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollermarknotificationsasseen.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollermarknotificationsasseen.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,8HASC;AAgBD,oIAcC;AA1FD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA4BrD,gBAAgB;AACH,QAAA,kEAAkE,GAKzE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,oCAAoC,EAClC,UAAU,CAAC,mDAAmD;CACjE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,oCAAoC,EAClC,sCAAsC;KACzC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,yDAAyD,CACvE,mDACqD;IAErD,OAAO,IAAI,CAAC,SAAS,CACnB,0EAAkE,CAAC,KAAK,CACtE,mDAAmD,CACpD,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,kEAAkE,GAKzE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;CACnD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;KACrB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,4DAA4D,CAC1E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,0EAAkE,CAAC,KAAK,CACtE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,kFAAkF,CACnF,CAAC;AACJ,CAAC"}
|
|
@@ -3,6 +3,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import * as components from "../components/index.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
export type SubscribersControllerPatchSubscriberRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the subscriber
|
|
8
|
+
*/
|
|
6
9
|
subscriberId: string;
|
|
7
10
|
/**
|
|
8
11
|
* A header for idempotency purposes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriberscontrollerpatchsubscriber.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerpatchsubscriber.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,2CAA2C,GAAG;IACxD,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,yBAAyB,EAAE,UAAU,CAAC,yBAAyB,CAAC;CACjE,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG;IACzD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,qBAAqB,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oDAAoD,GAAG;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,yBAAyB,EAAE,UAAU,CAAC,kCAAkC,CAAC;CAC1E,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,oDAAoD,EACpD,CAAC,CAAC,UAAU,EACZ,2CAA2C,CAW3C,CAAC;AAEL,wBAAgB,iDAAiD,CAC/D,2CAA2C,EACzC,2CAA2C,GAC5C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
|
|
1
|
+
{"version":3,"file":"subscriberscontrollerpatchsubscriber.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerpatchsubscriber.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,yBAAyB,EAAE,UAAU,CAAC,yBAAyB,CAAC;CACjE,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG;IACzD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,qBAAqB,CAAC;CAC1C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,oDAAoD,GAAG;IACjE,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,yBAAyB,EAAE,UAAU,CAAC,kCAAkC,CAAC;CAC1E,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,oDAAoD,EACpD,CAAC,CAAC,UAAU,EACZ,2CAA2C,CAW3C,CAAC;AAEL,wBAAgB,iDAAiD,CAC/D,2CAA2C,EACzC,2CAA2C,GAC5C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,0DAA0D,EACrE,CAAC,CAAC,OAAO,CACP,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriberscontrollerpatchsubscriber.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerpatchsubscriber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"subscriberscontrollerpatchsubscriber.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerpatchsubscriber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDH,8GASC;AAkBD,oHAcC;AA1FD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA2BrD,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,yBAAyB,EACvB,UAAU,CAAC,wCAAwC;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,yBAAyB,EAAE,2BAA2B;KACvD,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,iDAAiD,CAC/D,2CAC6C;IAE7C,OAAO,IAAI,CAAC,SAAS,CACnB,kEAA0D,CAAC,KAAK,CAC9D,2CAA2C,CAC5C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,mCAAmC;CACvD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC"}
|
|
@@ -3,6 +3,9 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import * as components from "../components/index.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
export type SubscribersControllerRemoveSubscriberRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the subscriber
|
|
8
|
+
*/
|
|
6
9
|
subscriberId: string;
|
|
7
10
|
/**
|
|
8
11
|
* A header for idempotency purposes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriberscontrollerremovesubscriber.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerremovesubscriber.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,4CAA4C,GAAG;IACzD,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,qDAAqD,GAAG;IAClE,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,OAAO,CACP,qDAAqD,EACrD,CAAC,CAAC,UAAU,EACZ,4CAA4C,CAQ5C,CAAC;AAEL,wBAAgB,kDAAkD,CAChE,4CAA4C,EAC1C,4CAA4C,GAC7C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,OAAO,CACP,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,qDAAqD,CACnE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,6CAA6C,EAC7C,kBAAkB,CACnB,CASA"}
|
|
1
|
+
{"version":3,"file":"subscriberscontrollerremovesubscriber.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerremovesubscriber.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,4CAA4C,GAAG;IACzD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,2BAA2B,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,qDAAqD,GAAG;IAClE,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,OAAO,CACP,qDAAqD,EACrD,CAAC,CAAC,UAAU,EACZ,4CAA4C,CAQ5C,CAAC;AAEL,wBAAgB,kDAAkD,CAChE,4CAA4C,EAC1C,4CAA4C,GAC7C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,2DAA2D,EACtE,CAAC,CAAC,OAAO,CACP,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,qDAAqD,CACnE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,6CAA6C,EAC7C,kBAAkB,CACnB,CASA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriberscontrollerremovesubscriber.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerremovesubscriber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"subscriberscontrollerremovesubscriber.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerremovesubscriber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CH,gHASC;AAkBD,sHAcC;AArFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAyBrD,gBAAgB;AACH,QAAA,2DAA2D,GAKlE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,2DAA2D,GAKlE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,yCAAyC;CAC7D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,qDAAqD,CACnE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,mEAA2D,CAAC,KAAK,CAC/D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,2EAA2E,CAC5E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import * as components from "../components/index.js";
|
|
5
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
6
|
+
/**
|
|
7
|
+
* The type of action (primary or secondary)
|
|
8
|
+
*/
|
|
9
|
+
export declare const PathParamActionType: {
|
|
10
|
+
readonly Primary: "primary";
|
|
11
|
+
readonly Secondary: "secondary";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* The type of action (primary or secondary)
|
|
15
|
+
*/
|
|
16
|
+
export type PathParamActionType = ClosedEnum<typeof PathParamActionType>;
|
|
17
|
+
export type SubscribersControllerRevertNotificationActionRequest = {
|
|
18
|
+
/**
|
|
19
|
+
* The identifier of the subscriber
|
|
20
|
+
*/
|
|
21
|
+
subscriberId: string;
|
|
22
|
+
/**
|
|
23
|
+
* The identifier of the notification
|
|
24
|
+
*/
|
|
25
|
+
notificationId: string;
|
|
26
|
+
/**
|
|
27
|
+
* The type of action (primary or secondary)
|
|
28
|
+
*/
|
|
29
|
+
actionType: PathParamActionType;
|
|
30
|
+
/**
|
|
31
|
+
* Context keys for filtering
|
|
32
|
+
*/
|
|
33
|
+
contextKeys?: Array<string> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* A header for idempotency purposes
|
|
36
|
+
*/
|
|
37
|
+
idempotencyKey?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
export type SubscribersControllerRevertNotificationActionResponse = {
|
|
40
|
+
headers: {
|
|
41
|
+
[k: string]: Array<string>;
|
|
42
|
+
};
|
|
43
|
+
result: components.InboxNotificationDto;
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const PathParamActionType$outboundSchema: z.ZodNativeEnum<typeof PathParamActionType>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type SubscribersControllerRevertNotificationActionRequest$Outbound = {
|
|
49
|
+
subscriberId: string;
|
|
50
|
+
notificationId: string;
|
|
51
|
+
actionType: string;
|
|
52
|
+
contextKeys?: Array<string> | undefined;
|
|
53
|
+
"idempotency-key"?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const SubscribersControllerRevertNotificationActionRequest$outboundSchema: z.ZodType<SubscribersControllerRevertNotificationActionRequest$Outbound, z.ZodTypeDef, SubscribersControllerRevertNotificationActionRequest>;
|
|
57
|
+
export declare function subscribersControllerRevertNotificationActionRequestToJSON(subscribersControllerRevertNotificationActionRequest: SubscribersControllerRevertNotificationActionRequest): string;
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const SubscribersControllerRevertNotificationActionResponse$inboundSchema: z.ZodType<SubscribersControllerRevertNotificationActionResponse, z.ZodTypeDef, unknown>;
|
|
60
|
+
export declare function subscribersControllerRevertNotificationActionResponseFromJSON(jsonString: string): SafeParseResult<SubscribersControllerRevertNotificationActionResponse, SDKValidationError>;
|
|
61
|
+
//# sourceMappingURL=subscriberscontrollerrevertnotificationaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollerrevertnotificationaction.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerrevertnotificationaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,MAAM,MAAM,oDAAoD,GAAG;IACjE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,UAAU,EAAE,mBAAmB,CAAC;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,qDAAqD,GAAG;IAClE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oBAAoB,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC;AAEtC,gBAAgB;AAChB,MAAM,MAAM,6DAA6D,GAAG;IAC1E,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mEAAmE,EAC9E,CAAC,CAAC,OAAO,CACP,6DAA6D,EAC7D,CAAC,CAAC,UAAU,EACZ,oDAAoD,CAWpD,CAAC;AAEL,wBAAgB,0DAA0D,CACxE,oDAAoD,EAClD,oDAAoD,GACrD,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,mEAAmE,EAC9E,CAAC,CAAC,OAAO,CACP,qDAAqD,EACrD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,6DAA6D,CAC3E,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,qDAAqD,EACrD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SubscribersControllerRevertNotificationActionResponse$inboundSchema = exports.SubscribersControllerRevertNotificationActionRequest$outboundSchema = exports.PathParamActionType$outboundSchema = exports.PathParamActionType = void 0;
|
|
40
|
+
exports.subscribersControllerRevertNotificationActionRequestToJSON = subscribersControllerRevertNotificationActionRequestToJSON;
|
|
41
|
+
exports.subscribersControllerRevertNotificationActionResponseFromJSON = subscribersControllerRevertNotificationActionResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const components = __importStar(require("../components/index.js"));
|
|
46
|
+
/**
|
|
47
|
+
* The type of action (primary or secondary)
|
|
48
|
+
*/
|
|
49
|
+
exports.PathParamActionType = {
|
|
50
|
+
Primary: "primary",
|
|
51
|
+
Secondary: "secondary",
|
|
52
|
+
};
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.PathParamActionType$outboundSchema = z.nativeEnum(exports.PathParamActionType);
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.SubscribersControllerRevertNotificationActionRequest$outboundSchema = z.object({
|
|
57
|
+
subscriberId: z.string(),
|
|
58
|
+
notificationId: z.string(),
|
|
59
|
+
actionType: exports.PathParamActionType$outboundSchema,
|
|
60
|
+
contextKeys: z.array(z.string()).optional(),
|
|
61
|
+
idempotencyKey: z.string().optional(),
|
|
62
|
+
}).transform((v) => {
|
|
63
|
+
return (0, primitives_js_1.remap)(v, {
|
|
64
|
+
idempotencyKey: "idempotency-key",
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
function subscribersControllerRevertNotificationActionRequestToJSON(subscribersControllerRevertNotificationActionRequest) {
|
|
68
|
+
return JSON.stringify(exports.SubscribersControllerRevertNotificationActionRequest$outboundSchema.parse(subscribersControllerRevertNotificationActionRequest));
|
|
69
|
+
}
|
|
70
|
+
/** @internal */
|
|
71
|
+
exports.SubscribersControllerRevertNotificationActionResponse$inboundSchema = z.object({
|
|
72
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
73
|
+
Result: components.InboxNotificationDto$inboundSchema,
|
|
74
|
+
}).transform((v) => {
|
|
75
|
+
return (0, primitives_js_1.remap)(v, {
|
|
76
|
+
"Headers": "headers",
|
|
77
|
+
"Result": "result",
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
function subscribersControllerRevertNotificationActionResponseFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerRevertNotificationActionResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerRevertNotificationActionResponse' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=subscriberscontrollerrevertnotificationaction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollerrevertnotificationaction.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollerrevertnotificationaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,gIASC;AAkBD,sIAcC;AAzHD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,mEAAqD;AAGrD;;GAEG;AACU,QAAA,mBAAmB,GAAG;IACjC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CACd,CAAC;AAkCX,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,CAAC,CAAC,UAAU,CAAC,2BAAmB,CAAC,CAAC;AAWtC,gBAAgB;AACH,QAAA,mEAAmE,GAK1E,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,0CAAkC;IAC9C,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,0DAA0D,CACxE,oDACsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,2EAAmE,CAAC,KAAK,CACvE,oDAAoD,CACrD,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,mEAAmE,GAK1E,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,kCAAkC;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,6DAA6D,CAC3E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2EAAmE,CAAC,KAAK,CACvE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,mFAAmF,CACpF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type SubscribersControllerSnoozeNotificationRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the subscriber
|
|
8
|
+
*/
|
|
9
|
+
subscriberId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The identifier of the notification
|
|
12
|
+
*/
|
|
13
|
+
notificationId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Context keys for filtering
|
|
16
|
+
*/
|
|
17
|
+
contextKeys?: Array<string> | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A header for idempotency purposes
|
|
20
|
+
*/
|
|
21
|
+
idempotencyKey?: string | undefined;
|
|
22
|
+
snoozeSubscriberNotificationDto: components.SnoozeSubscriberNotificationDto;
|
|
23
|
+
};
|
|
24
|
+
export type SubscribersControllerSnoozeNotificationResponse = {
|
|
25
|
+
headers: {
|
|
26
|
+
[k: string]: Array<string>;
|
|
27
|
+
};
|
|
28
|
+
result: components.InboxNotificationDto;
|
|
29
|
+
};
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type SubscribersControllerSnoozeNotificationRequest$Outbound = {
|
|
32
|
+
subscriberId: string;
|
|
33
|
+
notificationId: string;
|
|
34
|
+
contextKeys?: Array<string> | undefined;
|
|
35
|
+
"idempotency-key"?: string | undefined;
|
|
36
|
+
SnoozeSubscriberNotificationDto: components.SnoozeSubscriberNotificationDto$Outbound;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const SubscribersControllerSnoozeNotificationRequest$outboundSchema: z.ZodType<SubscribersControllerSnoozeNotificationRequest$Outbound, z.ZodTypeDef, SubscribersControllerSnoozeNotificationRequest>;
|
|
40
|
+
export declare function subscribersControllerSnoozeNotificationRequestToJSON(subscribersControllerSnoozeNotificationRequest: SubscribersControllerSnoozeNotificationRequest): string;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const SubscribersControllerSnoozeNotificationResponse$inboundSchema: z.ZodType<SubscribersControllerSnoozeNotificationResponse, z.ZodTypeDef, unknown>;
|
|
43
|
+
export declare function subscribersControllerSnoozeNotificationResponseFromJSON(jsonString: string): SafeParseResult<SubscribersControllerSnoozeNotificationResponse, SDKValidationError>;
|
|
44
|
+
//# sourceMappingURL=subscriberscontrollersnoozenotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollersnoozenotification.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollersnoozenotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,8CAA8C,GAAG;IAC3D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,+BAA+B,EAAE,UAAU,CAAC,+BAA+B,CAAC;CAC7E,CAAC;AAEF,MAAM,MAAM,+CAA+C,GAAG;IAC5D,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,oBAAoB,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uDAAuD,GAAG;IACpE,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,+BAA+B,EAC7B,UAAU,CAAC,wCAAwC,CAAC;CACvD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6DAA6D,EACxE,CAAC,CAAC,OAAO,CACP,uDAAuD,EACvD,CAAC,CAAC,UAAU,EACZ,8CAA8C,CAa9C,CAAC;AAEL,wBAAgB,oDAAoD,CAClE,8CAA8C,EAC5C,8CAA8C,GAC/C,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,6DAA6D,EACxE,CAAC,CAAC,OAAO,CACP,+CAA+C,EAC/C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,wBAAgB,uDAAuD,CACrE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,+CAA+C,EAC/C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SubscribersControllerSnoozeNotificationResponse$inboundSchema = exports.SubscribersControllerSnoozeNotificationRequest$outboundSchema = void 0;
|
|
40
|
+
exports.subscribersControllerSnoozeNotificationRequestToJSON = subscribersControllerSnoozeNotificationRequestToJSON;
|
|
41
|
+
exports.subscribersControllerSnoozeNotificationResponseFromJSON = subscribersControllerSnoozeNotificationResponseFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const components = __importStar(require("../components/index.js"));
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.SubscribersControllerSnoozeNotificationRequest$outboundSchema = z.object({
|
|
48
|
+
subscriberId: z.string(),
|
|
49
|
+
notificationId: z.string(),
|
|
50
|
+
contextKeys: z.array(z.string()).optional(),
|
|
51
|
+
idempotencyKey: z.string().optional(),
|
|
52
|
+
snoozeSubscriberNotificationDto: components.SnoozeSubscriberNotificationDto$outboundSchema,
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
idempotencyKey: "idempotency-key",
|
|
56
|
+
snoozeSubscriberNotificationDto: "SnoozeSubscriberNotificationDto",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
function subscribersControllerSnoozeNotificationRequestToJSON(subscribersControllerSnoozeNotificationRequest) {
|
|
60
|
+
return JSON.stringify(exports.SubscribersControllerSnoozeNotificationRequest$outboundSchema.parse(subscribersControllerSnoozeNotificationRequest));
|
|
61
|
+
}
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.SubscribersControllerSnoozeNotificationResponse$inboundSchema = z.object({
|
|
64
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
65
|
+
Result: components.InboxNotificationDto$inboundSchema,
|
|
66
|
+
}).transform((v) => {
|
|
67
|
+
return (0, primitives_js_1.remap)(v, {
|
|
68
|
+
"Headers": "headers",
|
|
69
|
+
"Result": "result",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
function subscribersControllerSnoozeNotificationResponseFromJSON(jsonString) {
|
|
73
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersControllerSnoozeNotificationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersControllerSnoozeNotificationResponse' from JSON`);
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=subscriberscontrollersnoozenotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriberscontrollersnoozenotification.js","sourceRoot":"","sources":["../../src/models/operations/subscriberscontrollersnoozenotification.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEH,oHASC;AAkBD,0HAcC;AAvGD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAsCrD,gBAAgB;AACH,QAAA,6DAA6D,GAKpE,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,+BAA+B,EAC7B,UAAU,CAAC,8CAA8C;CAC5D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,+BAA+B,EAAE,iCAAiC;KACnE,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,oDAAoD,CAClE,8CACgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,qEAA6D,CAAC,KAAK,CACjE,8CAA8C,CAC/C,CACF,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,6DAA6D,GAKpE,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAClD,MAAM,EAAE,UAAU,CAAC,kCAAkC;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,uDAAuD,CACrE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qEAA6D,CAAC,KAAK,CACjE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,6EAA6E,CAC9E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type SubscribersControllerUnarchiveNotificationRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* The identifier of the subscriber
|
|
8
|
+
*/
|
|
9
|
+
subscriberId: string;
|
|
10
|
+
/**
|
|
11
|
+
* The identifier of the notification
|
|
12
|
+
*/
|
|
13
|
+
notificationId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Context keys for filtering
|
|
16
|
+
*/
|
|
17
|
+
contextKeys?: Array<string> | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A header for idempotency purposes
|
|
20
|
+
*/
|
|
21
|
+
idempotencyKey?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
export type SubscribersControllerUnarchiveNotificationResponse = {
|
|
24
|
+
headers: {
|
|
25
|
+
[k: string]: Array<string>;
|
|
26
|
+
};
|
|
27
|
+
result: components.InboxNotificationDto;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type SubscribersControllerUnarchiveNotificationRequest$Outbound = {
|
|
31
|
+
subscriberId: string;
|
|
32
|
+
notificationId: string;
|
|
33
|
+
contextKeys?: Array<string> | undefined;
|
|
34
|
+
"idempotency-key"?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const SubscribersControllerUnarchiveNotificationRequest$outboundSchema: z.ZodType<SubscribersControllerUnarchiveNotificationRequest$Outbound, z.ZodTypeDef, SubscribersControllerUnarchiveNotificationRequest>;
|
|
38
|
+
export declare function subscribersControllerUnarchiveNotificationRequestToJSON(subscribersControllerUnarchiveNotificationRequest: SubscribersControllerUnarchiveNotificationRequest): string;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const SubscribersControllerUnarchiveNotificationResponse$inboundSchema: z.ZodType<SubscribersControllerUnarchiveNotificationResponse, z.ZodTypeDef, unknown>;
|
|
41
|
+
export declare function subscribersControllerUnarchiveNotificationResponseFromJSON(jsonString: string): SafeParseResult<SubscribersControllerUnarchiveNotificationResponse, SDKValidationError>;
|
|
42
|
+
//# sourceMappingURL=subscriberscontrollerunarchivenotification.d.ts.map
|