@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,19 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type GetSubscriberNotificationsCountResponseDto = {
|
|
5
|
+
/**
|
|
6
|
+
* The count of notifications matching the filter
|
|
7
|
+
*/
|
|
8
|
+
count: number;
|
|
9
|
+
/**
|
|
10
|
+
* The filter applied
|
|
11
|
+
*/
|
|
12
|
+
filter: {
|
|
13
|
+
[k: string]: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const GetSubscriberNotificationsCountResponseDto$inboundSchema: z.ZodType<GetSubscriberNotificationsCountResponseDto, z.ZodTypeDef, unknown>;
|
|
18
|
+
export declare function getSubscriberNotificationsCountResponseDtoFromJSON(jsonString: string): SafeParseResult<GetSubscriberNotificationsCountResponseDto, SDKValidationError>;
|
|
19
|
+
//# sourceMappingURL=getsubscribernotificationscountresponsedto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getsubscribernotificationscountresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/getsubscribernotificationscountresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,0CAA0C,GAAG;IACvD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wDAAwD,EACnE,CAAC,CAAC,OAAO,CAAC,0CAA0C,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAIvE,CAAC;AAEP,wBAAgB,kDAAkD,CAChE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,0CAA0C,EAC1C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.GetSubscriberNotificationsCountResponseDto$inboundSchema = void 0;
|
|
40
|
+
exports.getSubscriberNotificationsCountResponseDtoFromJSON = getSubscriberNotificationsCountResponseDtoFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.GetSubscriberNotificationsCountResponseDto$inboundSchema = z.object({
|
|
45
|
+
count: z.number(),
|
|
46
|
+
filter: z.record(z.any()),
|
|
47
|
+
});
|
|
48
|
+
function getSubscriberNotificationsCountResponseDtoFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetSubscriberNotificationsCountResponseDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetSubscriberNotificationsCountResponseDto' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=getsubscribernotificationscountresponsedto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getsubscribernotificationscountresponsedto.js","sourceRoot":"","sources":["../../src/models/components/getsubscribernotificationscountresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,gHAcC;AAtCD,0CAA4B;AAC5B,qDAAiD;AAejD,gBAAgB;AACH,QAAA,wDAAwD,GAEjE,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CAC1B,CAAC,CAAC;AAEP,SAAgB,kDAAkD,CAChE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,gEAAwD,CAAC,KAAK,CAC5D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,wEAAwE,CACzE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { InboxNotificationDto } from "./inboxnotificationdto.js";
|
|
5
|
+
/**
|
|
6
|
+
* The filter applied to the notifications
|
|
7
|
+
*/
|
|
8
|
+
export type Filter = {};
|
|
9
|
+
export type GetSubscriberNotificationsResponseDto = {
|
|
10
|
+
/**
|
|
11
|
+
* Array of notifications
|
|
12
|
+
*/
|
|
13
|
+
data: Array<InboxNotificationDto>;
|
|
14
|
+
/**
|
|
15
|
+
* Indicates if there are more notifications available
|
|
16
|
+
*/
|
|
17
|
+
hasMore: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The filter applied to the notifications
|
|
20
|
+
*/
|
|
21
|
+
filter: Filter;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const Filter$inboundSchema: z.ZodType<Filter, z.ZodTypeDef, unknown>;
|
|
25
|
+
export declare function filterFromJSON(jsonString: string): SafeParseResult<Filter, SDKValidationError>;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const GetSubscriberNotificationsResponseDto$inboundSchema: z.ZodType<GetSubscriberNotificationsResponseDto, z.ZodTypeDef, unknown>;
|
|
28
|
+
export declare function getSubscriberNotificationsResponseDtoFromJSON(jsonString: string): SafeParseResult<GetSubscriberNotificationsResponseDto, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=getsubscribernotificationsresponsedto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getsubscribernotificationsresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/getsubscribernotificationsresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,EAAE,CAAC;AAExB,MAAM,MAAM,qCAAqC,GAAG;IAClD;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAC7D,CAAC;AAEd,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C;AAED,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,6CAA6C,CAC3D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qCAAqC,EAAE,kBAAkB,CAAC,CAO5E"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.GetSubscriberNotificationsResponseDto$inboundSchema = exports.Filter$inboundSchema = void 0;
|
|
40
|
+
exports.filterFromJSON = filterFromJSON;
|
|
41
|
+
exports.getSubscriberNotificationsResponseDtoFromJSON = getSubscriberNotificationsResponseDtoFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const inboxnotificationdto_js_1 = require("./inboxnotificationdto.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.Filter$inboundSchema = z
|
|
47
|
+
.object({});
|
|
48
|
+
function filterFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Filter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Filter' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.GetSubscriberNotificationsResponseDto$inboundSchema = z.object({
|
|
53
|
+
data: z.array(inboxnotificationdto_js_1.InboxNotificationDto$inboundSchema),
|
|
54
|
+
hasMore: z.boolean(),
|
|
55
|
+
filter: z.lazy(() => exports.Filter$inboundSchema),
|
|
56
|
+
});
|
|
57
|
+
function getSubscriberNotificationsResponseDtoFromJSON(jsonString) {
|
|
58
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetSubscriberNotificationsResponseDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetSubscriberNotificationsResponseDto' from JSON`);
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=getsubscribernotificationsresponsedto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getsubscribernotificationsresponsedto.js","sourceRoot":"","sources":["../../src/models/components/getsubscribernotificationsresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCH,wCAQC;AAaD,sGASC;AA/DD,0CAA4B;AAC5B,qDAAiD;AAGjD,uEAGmC;AAsBnC,gBAAgB;AACH,QAAA,oBAAoB,GAA6C,CAAC;KAC5E,MAAM,CAAC,EAAE,CAAC,CAAC;AAEd,SAAgB,cAAc,CAC5B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAAoB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChD,oCAAoC,CACrC,CAAC;AACJ,CAAC;AAED,gBAAgB;AACH,QAAA,mDAAmD,GAI5D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,4DAAkC,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4BAAoB,CAAC;CAC3C,CAAC,CAAC;AAEH,SAAgB,6CAA6C,CAC3D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,2DAAmD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1E,mEAAmE,CACpE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* HTTP method
|
|
5
|
+
*/
|
|
6
|
+
export declare const HttpMethodEnum: {
|
|
7
|
+
readonly Get: "GET";
|
|
8
|
+
readonly Post: "POST";
|
|
9
|
+
readonly Put: "PUT";
|
|
10
|
+
readonly Delete: "DELETE";
|
|
11
|
+
readonly Patch: "PATCH";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* HTTP method
|
|
15
|
+
*/
|
|
16
|
+
export type HttpMethodEnum = ClosedEnum<typeof HttpMethodEnum>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const HttpMethodEnum$inboundSchema: z.ZodNativeEnum<typeof HttpMethodEnum>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const HttpMethodEnum$outboundSchema: z.ZodNativeEnum<typeof HttpMethodEnum>;
|
|
21
|
+
//# sourceMappingURL=httpmethodenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpmethodenum.d.ts","sourceRoot":"","sources":["../../src/models/components/httpmethodenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;CAMjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AACjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.HttpMethodEnum$outboundSchema = exports.HttpMethodEnum$inboundSchema = exports.HttpMethodEnum = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* HTTP method
|
|
43
|
+
*/
|
|
44
|
+
exports.HttpMethodEnum = {
|
|
45
|
+
Get: "GET",
|
|
46
|
+
Post: "POST",
|
|
47
|
+
Put: "PUT",
|
|
48
|
+
Delete: "DELETE",
|
|
49
|
+
Patch: "PATCH",
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.HttpMethodEnum$inboundSchema = z.nativeEnum(exports.HttpMethodEnum);
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.HttpMethodEnum$outboundSchema = exports.HttpMethodEnum$inboundSchema;
|
|
55
|
+
//# sourceMappingURL=httpmethodenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httpmethodenum.js","sourceRoot":"","sources":["../../src/models/components/httpmethodenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AACjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { HttpMethodEnum } from "./httpmethodenum.js";
|
|
5
|
+
import { HttpRequestKeyValuePairDto, HttpRequestKeyValuePairDto$Outbound } from "./httprequestkeyvaluepairdto.js";
|
|
6
|
+
export type HttpRequestControlDto = {
|
|
7
|
+
/**
|
|
8
|
+
* HTTP method
|
|
9
|
+
*/
|
|
10
|
+
method: HttpMethodEnum;
|
|
11
|
+
/**
|
|
12
|
+
* Target URL for the HTTP request
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Request headers as key-value pairs
|
|
17
|
+
*/
|
|
18
|
+
headers?: Array<HttpRequestKeyValuePairDto> | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Request body as key-value pairs
|
|
21
|
+
*/
|
|
22
|
+
body?: Array<HttpRequestKeyValuePairDto> | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* JSON schema to validate response body against
|
|
25
|
+
*/
|
|
26
|
+
responseBodySchema?: {
|
|
27
|
+
[k: string]: any;
|
|
28
|
+
} | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Whether to enforce response body schema validation
|
|
31
|
+
*/
|
|
32
|
+
enforceSchemaValidation?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to continue workflow execution on failure
|
|
35
|
+
*/
|
|
36
|
+
continueOnFailure?: boolean | undefined;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const HttpRequestControlDto$inboundSchema: z.ZodType<HttpRequestControlDto, z.ZodTypeDef, unknown>;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type HttpRequestControlDto$Outbound = {
|
|
42
|
+
method: string;
|
|
43
|
+
url: string;
|
|
44
|
+
headers?: Array<HttpRequestKeyValuePairDto$Outbound> | undefined;
|
|
45
|
+
body?: Array<HttpRequestKeyValuePairDto$Outbound> | undefined;
|
|
46
|
+
responseBodySchema?: {
|
|
47
|
+
[k: string]: any;
|
|
48
|
+
} | undefined;
|
|
49
|
+
enforceSchemaValidation?: boolean | undefined;
|
|
50
|
+
continueOnFailure?: boolean | undefined;
|
|
51
|
+
};
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const HttpRequestControlDto$outboundSchema: z.ZodType<HttpRequestControlDto$Outbound, z.ZodTypeDef, HttpRequestControlDto>;
|
|
54
|
+
export declare function httpRequestControlDtoToJSON(httpRequestControlDto: HttpRequestControlDto): string;
|
|
55
|
+
export declare function httpRequestControlDtoFromJSON(jsonString: string): SafeParseResult<HttpRequestControlDto, SDKValidationError>;
|
|
56
|
+
//# sourceMappingURL=httprequestcontroldto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestcontroldto.d.ts","sourceRoot":"","sources":["../../src/models/components/httprequestcontroldto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,cAAc,EAGf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC;IACxD;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC;IACrD;;OAEG;IACH,kBAAkB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IACtD;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,KAAK,CAAC,mCAAmC,CAAC,GAAG,SAAS,CAAC;IACjE,IAAI,CAAC,EAAE,KAAK,CAAC,mCAAmC,CAAC,GAAG,SAAS,CAAC;IAC9D,kBAAkB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IACtD,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9C,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CASrB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AACD,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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.HttpRequestControlDto$outboundSchema = exports.HttpRequestControlDto$inboundSchema = void 0;
|
|
40
|
+
exports.httpRequestControlDtoToJSON = httpRequestControlDtoToJSON;
|
|
41
|
+
exports.httpRequestControlDtoFromJSON = httpRequestControlDtoFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const httpmethodenum_js_1 = require("./httpmethodenum.js");
|
|
45
|
+
const httprequestkeyvaluepairdto_js_1 = require("./httprequestkeyvaluepairdto.js");
|
|
46
|
+
/** @internal */
|
|
47
|
+
exports.HttpRequestControlDto$inboundSchema = z.object({
|
|
48
|
+
method: httpmethodenum_js_1.HttpMethodEnum$inboundSchema,
|
|
49
|
+
url: z.string(),
|
|
50
|
+
headers: z.array(httprequestkeyvaluepairdto_js_1.HttpRequestKeyValuePairDto$inboundSchema).optional(),
|
|
51
|
+
body: z.array(httprequestkeyvaluepairdto_js_1.HttpRequestKeyValuePairDto$inboundSchema).optional(),
|
|
52
|
+
responseBodySchema: z.record(z.any()).optional(),
|
|
53
|
+
enforceSchemaValidation: z.boolean().optional(),
|
|
54
|
+
continueOnFailure: z.boolean().optional(),
|
|
55
|
+
});
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.HttpRequestControlDto$outboundSchema = z.object({
|
|
58
|
+
method: httpmethodenum_js_1.HttpMethodEnum$outboundSchema,
|
|
59
|
+
url: z.string(),
|
|
60
|
+
headers: z.array(httprequestkeyvaluepairdto_js_1.HttpRequestKeyValuePairDto$outboundSchema).optional(),
|
|
61
|
+
body: z.array(httprequestkeyvaluepairdto_js_1.HttpRequestKeyValuePairDto$outboundSchema).optional(),
|
|
62
|
+
responseBodySchema: z.record(z.any()).optional(),
|
|
63
|
+
enforceSchemaValidation: z.boolean().optional(),
|
|
64
|
+
continueOnFailure: z.boolean().optional(),
|
|
65
|
+
});
|
|
66
|
+
function httpRequestControlDtoToJSON(httpRequestControlDto) {
|
|
67
|
+
return JSON.stringify(exports.HttpRequestControlDto$outboundSchema.parse(httpRequestControlDto));
|
|
68
|
+
}
|
|
69
|
+
function httpRequestControlDtoFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HttpRequestControlDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HttpRequestControlDto' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=httprequestcontroldto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestcontroldto.js","sourceRoot":"","sources":["../../src/models/components/httprequestcontroldto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyFH,kEAMC;AACD,sEAQC;AAtGD,0CAA4B;AAC5B,qDAAiD;AAGjD,2DAI6B;AAC7B,mFAKyC;AAiCzC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gDAA4B;IACpC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,wEAAwC,CAAC,CAAC,QAAQ,EAAE;IACrE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,wEAAwC,CAAC,CAAC,QAAQ,EAAE;IAClE,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,iDAA6B;IACrC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,yEAAyC,CAAC,CAAC,QAAQ,EAAE;IACtE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,yEAAyC,CAAC,CAAC,QAAQ,EAAE;IACnE,kBAAkB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/C,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AACD,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { HttpRequestControlDto } from "./httprequestcontroldto.js";
|
|
5
|
+
import { UiSchema } from "./uischema.js";
|
|
6
|
+
export type HttpRequestControlsMetadataResponseDto = {
|
|
7
|
+
/**
|
|
8
|
+
* JSON Schema for data
|
|
9
|
+
*/
|
|
10
|
+
dataSchema?: {
|
|
11
|
+
[k: string]: any;
|
|
12
|
+
} | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* UI Schema for rendering
|
|
15
|
+
*/
|
|
16
|
+
uiSchema?: UiSchema | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Control values specific to HTTP Request step
|
|
19
|
+
*/
|
|
20
|
+
values: HttpRequestControlDto;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare const HttpRequestControlsMetadataResponseDto$inboundSchema: z.ZodType<HttpRequestControlsMetadataResponseDto, z.ZodTypeDef, unknown>;
|
|
24
|
+
export declare function httpRequestControlsMetadataResponseDtoFromJSON(jsonString: string): SafeParseResult<HttpRequestControlsMetadataResponseDto, SDKValidationError>;
|
|
25
|
+
//# sourceMappingURL=httprequestcontrolsmetadataresponsedto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestcontrolsmetadataresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/httprequestcontrolsmetadataresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAA0B,MAAM,eAAe,CAAC;AAEjE,MAAM,MAAM,sCAAsC,GAAG;IACnD;;OAEG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,MAAM,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oDAAoD,EAAE,CAAC,CAAC,OAAO,CAC1E,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,8CAA8C,CAC5D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sCAAsC,EAAE,kBAAkB,CAAC,CAO7E"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.HttpRequestControlsMetadataResponseDto$inboundSchema = void 0;
|
|
40
|
+
exports.httpRequestControlsMetadataResponseDtoFromJSON = httpRequestControlsMetadataResponseDtoFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const httprequestcontroldto_js_1 = require("./httprequestcontroldto.js");
|
|
44
|
+
const uischema_js_1 = require("./uischema.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.HttpRequestControlsMetadataResponseDto$inboundSchema = z.object({
|
|
47
|
+
dataSchema: z.record(z.any()).optional(),
|
|
48
|
+
uiSchema: uischema_js_1.UiSchema$inboundSchema.optional(),
|
|
49
|
+
values: httprequestcontroldto_js_1.HttpRequestControlDto$inboundSchema,
|
|
50
|
+
});
|
|
51
|
+
function httpRequestControlsMetadataResponseDtoFromJSON(jsonString) {
|
|
52
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HttpRequestControlsMetadataResponseDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HttpRequestControlsMetadataResponseDto' from JSON`);
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=httprequestcontrolsmetadataresponsedto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestcontrolsmetadataresponsedto.js","sourceRoot":"","sources":["../../src/models/components/httprequestcontrolsmetadataresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCH,wGASC;AA7CD,0CAA4B;AAC5B,qDAAiD;AAGjD,yEAGoC;AACpC,+CAAiE;AAiBjE,gBAAgB;AACH,QAAA,oDAAoD,GAI7D,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,oCAAsB,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,8DAAmC;CAC5C,CAAC,CAAC;AAEH,SAAgB,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,4DAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type HttpRequestKeyValuePairDto = {
|
|
5
|
+
/**
|
|
6
|
+
* Key of the key-value pair
|
|
7
|
+
*/
|
|
8
|
+
key: string;
|
|
9
|
+
/**
|
|
10
|
+
* Value of the key-value pair
|
|
11
|
+
*/
|
|
12
|
+
value: string;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const HttpRequestKeyValuePairDto$inboundSchema: z.ZodType<HttpRequestKeyValuePairDto, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type HttpRequestKeyValuePairDto$Outbound = {
|
|
18
|
+
key: string;
|
|
19
|
+
value: string;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const HttpRequestKeyValuePairDto$outboundSchema: z.ZodType<HttpRequestKeyValuePairDto$Outbound, z.ZodTypeDef, HttpRequestKeyValuePairDto>;
|
|
23
|
+
export declare function httpRequestKeyValuePairDtoToJSON(httpRequestKeyValuePairDto: HttpRequestKeyValuePairDto): string;
|
|
24
|
+
export declare function httpRequestKeyValuePairDtoFromJSON(jsonString: string): SafeParseResult<HttpRequestKeyValuePairDto, SDKValidationError>;
|
|
25
|
+
//# sourceMappingURL=httprequestkeyvaluepairdto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestkeyvaluepairdto.d.ts","sourceRoot":"","sources":["../../src/models/components/httprequestkeyvaluepairdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAI1B,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AACD,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.HttpRequestKeyValuePairDto$outboundSchema = exports.HttpRequestKeyValuePairDto$inboundSchema = void 0;
|
|
40
|
+
exports.httpRequestKeyValuePairDtoToJSON = httpRequestKeyValuePairDtoToJSON;
|
|
41
|
+
exports.httpRequestKeyValuePairDtoFromJSON = httpRequestKeyValuePairDtoFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.HttpRequestKeyValuePairDto$inboundSchema = z.object({
|
|
46
|
+
key: z.string(),
|
|
47
|
+
value: z.string(),
|
|
48
|
+
});
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.HttpRequestKeyValuePairDto$outboundSchema = z.object({
|
|
51
|
+
key: z.string(),
|
|
52
|
+
value: z.string(),
|
|
53
|
+
});
|
|
54
|
+
function httpRequestKeyValuePairDtoToJSON(httpRequestKeyValuePairDto) {
|
|
55
|
+
return JSON.stringify(exports.HttpRequestKeyValuePairDto$outboundSchema.parse(httpRequestKeyValuePairDto));
|
|
56
|
+
}
|
|
57
|
+
function httpRequestKeyValuePairDtoFromJSON(jsonString) {
|
|
58
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HttpRequestKeyValuePairDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HttpRequestKeyValuePairDto' from JSON`);
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=httprequestkeyvaluepairdto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"httprequestkeyvaluepairdto.js","sourceRoot":"","sources":["../../src/models/components/httprequestkeyvaluepairdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CH,4EAMC;AACD,gFAQC;AAxDD,0CAA4B;AAC5B,qDAAiD;AAejD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AACD,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|