@novu/api 0.0.1-alpha.192 → 0.0.1-alpha.195
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/funcs/adminIdempotencyGet.js +1 -1
- package/funcs/adminIdempotencyPost.js +1 -1
- package/funcs/cancel.js +1 -1
- package/funcs/integrationsCreate.js +1 -1
- package/funcs/integrationsDelete.js +1 -1
- package/funcs/integrationsList.js +1 -1
- package/funcs/integrationsListActive.js +1 -1
- package/funcs/integrationsSetAsPrimary.js +1 -1
- package/funcs/integrationsUpdate.js +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +1 -1
- package/funcs/messagesDelete.js +1 -1
- package/funcs/messagesDeleteByTransactionId.js +1 -1
- package/funcs/messagesRetrieve.js +1 -1
- package/funcs/notificationsList.js +1 -1
- package/funcs/notificationsRetrieve.js +1 -1
- package/funcs/notificationsStatsGraph.js +1 -1
- package/funcs/notificationsStatsRetrieve.js +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +1 -1
- package/funcs/subscribersCreate.js +1 -1
- package/funcs/subscribersCreateBulk.js +1 -1
- package/funcs/subscribersCredentialsAppend.js +1 -1
- package/funcs/subscribersCredentialsDelete.js +1 -1
- package/funcs/subscribersCredentialsUpdate.js +1 -1
- package/funcs/subscribersDelete.js +1 -1
- package/funcs/subscribersList.js +1 -1
- package/funcs/subscribersMessagesMarkAll.js +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +1 -1
- package/funcs/subscribersNotificationsFeed.js +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +1 -1
- package/funcs/subscribersPreferencesList.js +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +1 -1
- package/funcs/subscribersPreferencesUpdate.js +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +1 -1
- package/funcs/subscribersRetrieve.js +1 -1
- package/funcs/subscribersUpdate.js +1 -1
- package/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.js +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.js +1 -1
- package/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.js +1 -1
- package/funcs/topicsCreate.js +1 -1
- package/funcs/topicsDelete.js +1 -1
- package/funcs/topicsList.js +1 -1
- package/funcs/topicsRename.js +1 -1
- package/funcs/topicsRetrieve.js +1 -1
- package/funcs/topicsSubscribersAssign.js +1 -1
- package/funcs/topicsSubscribersRemove.js +1 -1
- package/funcs/topicsSubscribersRetrieve.js +1 -1
- package/funcs/trigger.js +1 -1
- package/funcs/triggerBroadcast.js +1 -1
- package/funcs/triggerBulk.js +1 -1
- package/hooks/novu-custom-hook.js +2 -2
- package/hooks/novu-custom-hook.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts +4 -83
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.js +7 -56
- package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -1
- package/models/components/activitynotificationjobresponsedto.d.ts +3 -3
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationjobresponsedto.js +3 -3
- package/models/components/activitynotificationjobresponsedto.js.map +1 -1
- package/models/components/activitynotificationresponsedto.d.ts +112 -0
- package/models/components/activitynotificationresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationresponsedto.js +94 -1
- package/models/components/activitynotificationresponsedto.js.map +1 -1
- package/models/components/activitynotificationstepresponsedto.d.ts +139 -3
- package/models/components/activitynotificationstepresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationstepresponsedto.js +117 -4
- package/models/components/activitynotificationstepresponsedto.js.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.d.ts +3 -3
- package/models/components/activitynotificationtemplateresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.js +3 -3
- package/models/components/activitynotificationtemplateresponsedto.js.map +1 -1
- package/models/components/{builderfieldtype.d.ts → builderfieldtypeenum.d.ts} +8 -8
- package/models/components/builderfieldtypeenum.d.ts.map +1 -0
- package/models/components/{builderfieldtype.js → builderfieldtypeenum.js} +12 -12
- package/models/components/builderfieldtypeenum.js.map +1 -0
- package/models/components/{digestwitheventsdto.d.ts → digestmetadatadto.d.ts} +47 -14
- package/models/components/digestmetadatadto.d.ts.map +1 -0
- package/models/components/{digestwitheventsdto.js → digestmetadatadto.js} +32 -17
- package/models/components/digestmetadatadto.js.map +1 -0
- package/models/components/digesttimedconfigdto.d.ts +106 -0
- package/models/components/digesttimedconfigdto.d.ts.map +1 -0
- package/models/components/digesttimedconfigdto.js +99 -0
- package/models/components/digesttimedconfigdto.js.map +1 -0
- package/models/components/digesttypeenum.d.ts +37 -0
- package/models/components/digesttypeenum.d.ts.map +1 -0
- package/models/components/digesttypeenum.js +54 -0
- package/models/components/digesttypeenum.js.map +1 -0
- package/models/components/digestunitenum.d.ts +46 -0
- package/models/components/digestunitenum.d.ts.map +1 -0
- package/models/components/digestunitenum.js +57 -0
- package/models/components/digestunitenum.js.map +1 -0
- package/models/components/executiondetailssourceenum.d.ts +40 -0
- package/models/components/executiondetailssourceenum.d.ts.map +1 -0
- package/models/components/executiondetailssourceenum.js +55 -0
- package/models/components/executiondetailssourceenum.js.map +1 -0
- package/models/components/executiondetailsstatusenum.d.ts +46 -0
- package/models/components/executiondetailsstatusenum.d.ts.map +1 -0
- package/models/components/executiondetailsstatusenum.js +57 -0
- package/models/components/executiondetailsstatusenum.js.map +1 -0
- package/models/components/index.d.ts +14 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +14 -5
- package/models/components/index.js.map +1 -1
- package/models/components/monthlytypeenum.d.ts +34 -0
- package/models/components/monthlytypeenum.d.ts.map +1 -0
- package/models/components/monthlytypeenum.js +53 -0
- package/models/components/monthlytypeenum.js.map +1 -0
- package/models/components/notificationstepdata.d.ts +113 -0
- package/models/components/notificationstepdata.d.ts.map +1 -0
- package/models/components/notificationstepdata.js +142 -0
- package/models/components/notificationstepdata.js.map +1 -0
- package/models/components/notificationstepdto.d.ts +116 -0
- package/models/components/notificationstepdto.d.ts.map +1 -0
- package/models/components/notificationstepdto.js +145 -0
- package/models/components/notificationstepdto.js.map +1 -0
- package/models/components/notificationtrigger.d.ts +8 -26
- package/models/components/notificationtrigger.d.ts.map +1 -1
- package/models/components/notificationtrigger.js +13 -16
- package/models/components/notificationtrigger.js.map +1 -1
- package/models/components/notificationtriggerdto.d.ts +77 -0
- package/models/components/notificationtriggerdto.d.ts.map +1 -0
- package/models/components/notificationtriggerdto.js +89 -0
- package/models/components/notificationtriggerdto.js.map +1 -0
- package/models/components/ordinalenum.d.ts +46 -0
- package/models/components/ordinalenum.d.ts.map +1 -0
- package/models/components/{stepfilter.js → ordinalenum.js} +23 -20
- package/models/components/ordinalenum.js.map +1 -0
- package/models/components/ordinalvalueenum.d.ts +58 -0
- package/models/components/ordinalvalueenum.d.ts.map +1 -0
- package/models/components/ordinalvalueenum.js +61 -0
- package/models/components/ordinalvalueenum.js.map +1 -0
- package/models/components/replycallback.d.ts +37 -0
- package/models/components/replycallback.d.ts.map +1 -0
- package/models/components/replycallback.js +61 -0
- package/models/components/replycallback.js.map +1 -0
- package/models/components/stepfilterdto.d.ts +2 -2
- package/models/components/stepfilterdto.d.ts.map +1 -1
- package/models/components/stepfilterdto.js +3 -3
- package/models/components/stepfilterdto.js.map +1 -1
- package/models/components/timedconfig.d.ts +8 -8
- package/models/components/timedconfig.d.ts.map +1 -1
- package/models/components/timedconfig.js +13 -14
- package/models/components/timedconfig.js.map +1 -1
- package/models/components/workflowresponse.d.ts +3 -3
- package/models/components/workflowresponse.d.ts.map +1 -1
- package/models/components/workflowresponse.js +3 -3
- package/models/components/workflowresponse.js.map +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.d.ts +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.js +3 -3
- package/models/operations/eventscontrollercancel.d.ts +1 -1
- package/models/operations/eventscontrollercancel.js +3 -3
- package/models/operations/eventscontrollertrigger.d.ts +1 -1
- package/models/operations/eventscontrollertrigger.js +3 -3
- package/models/operations/eventscontrollertriggerbulk.d.ts +1 -1
- package/models/operations/eventscontrollertriggerbulk.js +3 -3
- package/models/operations/integrationscontrollercreateintegration.d.ts +1 -1
- package/models/operations/integrationscontrollercreateintegration.js +3 -3
- package/models/operations/integrationscontrollergetactiveintegrations.d.ts +1 -1
- package/models/operations/integrationscontrollergetactiveintegrations.js +3 -3
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +3 -3
- package/models/operations/integrationscontrollerlistintegrations.d.ts +1 -1
- package/models/operations/integrationscontrollerlistintegrations.js +3 -3
- package/models/operations/integrationscontrollerremoveintegration.d.ts +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +3 -3
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +3 -3
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +3 -3
- package/models/operations/messagescontrollerdeletemessage.d.ts +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +3 -3
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +3 -3
- package/models/operations/messagescontrollergetmessages.d.ts +1 -1
- package/models/operations/messagescontrollergetmessages.js +3 -3
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +3 -3
- package/models/operations/notificationscontrollergetactivitystats.d.ts +1 -1
- package/models/operations/notificationscontrollergetactivitystats.js +3 -3
- package/models/operations/notificationscontrollergetnotification.d.ts +1 -1
- package/models/operations/notificationscontrollergetnotification.js +3 -3
- package/models/operations/notificationscontrollerlistnotifications.d.ts +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +3 -3
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +3 -3
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +3 -3
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +3 -3
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +3 -3
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +3 -3
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +3 -3
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +3 -3
- package/models/operations/subscriberscontrollergetunseencount.d.ts +1 -1
- package/models/operations/subscriberscontrollergetunseencount.js +3 -3
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +3 -3
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +3 -3
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +3 -3
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +3 -3
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +3 -3
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +3 -3
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +3 -3
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.js +3 -3
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.d.ts +1 -1
- package/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.js +3 -3
- package/models/operations/testingcontrolleridempotency.d.ts +1 -1
- package/models/operations/testingcontrolleridempotency.js +3 -3
- package/models/operations/testingcontrolleridempotencyget.d.ts +1 -1
- package/models/operations/testingcontrolleridempotencyget.js +3 -3
- package/models/operations/topicscontrollerassign.d.ts +1 -1
- package/models/operations/topicscontrollerassign.js +3 -3
- package/models/operations/topicscontrollercreatetopic.d.ts +1 -1
- package/models/operations/topicscontrollercreatetopic.js +3 -3
- package/models/operations/topicscontrollerdeletetopic.d.ts +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +3 -3
- package/models/operations/topicscontrollergettopic.d.ts +1 -1
- package/models/operations/topicscontrollergettopic.js +3 -3
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +3 -3
- package/models/operations/topicscontrollerlisttopics.d.ts +1 -1
- package/models/operations/topicscontrollerlisttopics.js +3 -3
- package/models/operations/topicscontrollerremovesubscribers.d.ts +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +3 -3
- package/models/operations/topicscontrollerrenametopic.d.ts +1 -1
- package/models/operations/topicscontrollerrenametopic.js +3 -3
- package/package.json +1 -1
- package/src/funcs/adminIdempotencyGet.ts +3 -3
- package/src/funcs/adminIdempotencyPost.ts +3 -3
- package/src/funcs/cancel.ts +3 -3
- package/src/funcs/integrationsCreate.ts +3 -3
- package/src/funcs/integrationsDelete.ts +3 -3
- package/src/funcs/integrationsList.ts +3 -3
- package/src/funcs/integrationsListActive.ts +3 -3
- package/src/funcs/integrationsSetAsPrimary.ts +3 -3
- package/src/funcs/integrationsUpdate.ts +3 -3
- package/src/funcs/integrationsWebhooksRetrieve.ts +3 -3
- package/src/funcs/messagesDelete.ts +3 -3
- package/src/funcs/messagesDeleteByTransactionId.ts +3 -3
- package/src/funcs/messagesRetrieve.ts +3 -3
- package/src/funcs/notificationsList.ts +3 -3
- package/src/funcs/notificationsRetrieve.ts +3 -3
- package/src/funcs/notificationsStatsGraph.ts +3 -3
- package/src/funcs/notificationsStatsRetrieve.ts +3 -3
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +3 -3
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +3 -3
- package/src/funcs/subscribersCreate.ts +3 -3
- package/src/funcs/subscribersCreateBulk.ts +3 -3
- package/src/funcs/subscribersCredentialsAppend.ts +3 -3
- package/src/funcs/subscribersCredentialsDelete.ts +3 -3
- package/src/funcs/subscribersCredentialsUpdate.ts +3 -3
- package/src/funcs/subscribersDelete.ts +3 -3
- package/src/funcs/subscribersList.ts +3 -3
- package/src/funcs/subscribersMessagesMarkAll.ts +3 -3
- package/src/funcs/subscribersMessagesMarkAllAs.ts +3 -3
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +3 -3
- package/src/funcs/subscribersNotificationsFeed.ts +3 -3
- package/src/funcs/subscribersNotificationsUnseenCount.ts +3 -3
- package/src/funcs/subscribersPreferencesList.ts +3 -3
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +3 -3
- package/src/funcs/subscribersPreferencesUpdate.ts +3 -3
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +3 -3
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +3 -3
- package/src/funcs/subscribersRetrieve.ts +3 -3
- package/src/funcs/subscribersUpdate.ts +3 -3
- package/src/funcs/testApiRateLimitBulkControllerGlobalCategoryNoCostOverride.ts +3 -3
- package/src/funcs/testApiRateLimitBulkControllerNoCategoryNoCostOverride.ts +3 -3
- package/src/funcs/testApiRateLimitBulkControllerNoCategorySingleCostOverride.ts +3 -3
- package/src/funcs/topicsCreate.ts +3 -3
- package/src/funcs/topicsDelete.ts +3 -3
- package/src/funcs/topicsList.ts +3 -3
- package/src/funcs/topicsRename.ts +3 -3
- package/src/funcs/topicsRetrieve.ts +3 -3
- package/src/funcs/topicsSubscribersAssign.ts +3 -3
- package/src/funcs/topicsSubscribersRemove.ts +3 -3
- package/src/funcs/topicsSubscribersRetrieve.ts +3 -3
- package/src/funcs/trigger.ts +3 -3
- package/src/funcs/triggerBroadcast.ts +3 -3
- package/src/funcs/triggerBulk.ts +3 -3
- package/src/hooks/novu-custom-hook.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/components/activitynotificationexecutiondetailresponsedto.ts +16 -81
- package/src/models/components/activitynotificationjobresponsedto.ts +9 -9
- package/src/models/components/activitynotificationresponsedto.ts +228 -0
- package/src/models/components/activitynotificationstepresponsedto.ts +294 -9
- package/src/models/components/activitynotificationtemplateresponsedto.ts +9 -9
- package/src/models/components/builderfieldtypeenum.ts +39 -0
- package/src/models/components/digestmetadatadto.ts +185 -0
- package/src/models/components/digesttimedconfigdto.ts +157 -0
- package/src/models/components/digesttypeenum.ts +40 -0
- package/src/models/components/digestunitenum.ts +43 -0
- package/src/models/components/executiondetailssourceenum.ts +43 -0
- package/src/models/components/executiondetailsstatusenum.ts +45 -0
- package/src/models/components/index.ts +14 -5
- package/src/models/components/monthlytypeenum.ts +39 -0
- package/src/models/components/notificationstepdata.ts +287 -0
- package/src/models/components/notificationstepdto.ts +297 -0
- package/src/models/components/notificationtrigger.ts +18 -33
- package/src/models/components/notificationtriggerdto.ts +130 -0
- package/src/models/components/ordinalenum.ts +41 -0
- package/src/models/components/ordinalvalueenum.ts +47 -0
- package/src/models/components/replycallback.ts +72 -0
- package/src/models/components/stepfilterdto.ts +7 -7
- package/src/models/components/timedconfig.ts +16 -14
- package/src/models/components/workflowresponse.ts +9 -9
- package/src/models/operations/eventscontrollerbroadcasteventtoall.ts +4 -4
- package/src/models/operations/eventscontrollercancel.ts +4 -4
- package/src/models/operations/eventscontrollertrigger.ts +4 -4
- package/src/models/operations/eventscontrollertriggerbulk.ts +4 -4
- package/src/models/operations/integrationscontrollercreateintegration.ts +4 -4
- package/src/models/operations/integrationscontrollergetactiveintegrations.ts +4 -4
- package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +4 -4
- package/src/models/operations/integrationscontrollerlistintegrations.ts +4 -4
- package/src/models/operations/integrationscontrollerremoveintegration.ts +4 -4
- package/src/models/operations/integrationscontrollersetintegrationasprimary.ts +4 -4
- package/src/models/operations/integrationscontrollerupdateintegrationbyid.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessage.ts +4 -4
- package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +4 -4
- package/src/models/operations/messagescontrollergetmessages.ts +4 -4
- package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +4 -4
- package/src/models/operations/notificationscontrollergetactivitystats.ts +4 -4
- package/src/models/operations/notificationscontrollergetnotification.ts +4 -4
- package/src/models/operations/notificationscontrollerlistnotifications.ts +4 -4
- package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +4 -4
- package/src/models/operations/subscriberscontrollerchataccessoauth.ts +4 -4
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +4 -4
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +4 -4
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +4 -4
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +4 -4
- package/src/models/operations/subscriberscontrollergetunseencount.ts +4 -4
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +4 -4
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +4 -4
- package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +4 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollerglobalcategorynocostoverride.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollernocategorynocostoverride.ts +4 -4
- package/src/models/operations/testapiratelimitbulkcontrollernocategorysinglecostoverride.ts +4 -4
- package/src/models/operations/testingcontrolleridempotency.ts +4 -4
- package/src/models/operations/testingcontrolleridempotencyget.ts +4 -4
- package/src/models/operations/topicscontrollerassign.ts +4 -4
- package/src/models/operations/topicscontrollercreatetopic.ts +4 -4
- package/src/models/operations/topicscontrollerdeletetopic.ts +4 -4
- package/src/models/operations/topicscontrollergettopic.ts +4 -4
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +4 -4
- package/src/models/operations/topicscontrollerlisttopics.ts +4 -4
- package/src/models/operations/topicscontrollerremovesubscribers.ts +4 -4
- package/src/models/operations/topicscontrollerrenametopic.ts +4 -4
- package/models/components/builderfieldtype.d.ts.map +0 -1
- package/models/components/builderfieldtype.js.map +0 -1
- package/models/components/digestwitheventsdto.d.ts.map +0 -1
- package/models/components/digestwitheventsdto.js.map +0 -1
- package/models/components/notificationstep.d.ts +0 -121
- package/models/components/notificationstep.d.ts.map +0 -1
- package/models/components/notificationstep.js +0 -190
- package/models/components/notificationstep.js.map +0 -1
- package/models/components/notificationstepvariant.d.ts +0 -118
- package/models/components/notificationstepvariant.d.ts.map +0 -1
- package/models/components/notificationstepvariant.js +0 -189
- package/models/components/notificationstepvariant.js.map +0 -1
- package/models/components/stepfilter.d.ts +0 -25
- package/models/components/stepfilter.d.ts.map +0 -1
- package/models/components/stepfilter.js.map +0 -1
- package/src/models/components/builderfieldtype.ts +0 -39
- package/src/models/components/digestwitheventsdto.ts +0 -127
- package/src/models/components/notificationstep.ts +0 -341
- package/src/models/components/notificationstepvariant.ts +0 -358
- package/src/models/components/stepfilter.ts +0 -54
|
@@ -8,11 +8,11 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
NotificationTriggerDto,
|
|
12
|
+
NotificationTriggerDto$inboundSchema,
|
|
13
|
+
NotificationTriggerDto$Outbound,
|
|
14
|
+
NotificationTriggerDto$outboundSchema,
|
|
15
|
+
} from "./notificationtriggerdto.js";
|
|
16
16
|
|
|
17
17
|
export type ActivityNotificationTemplateResponseDto = {
|
|
18
18
|
/**
|
|
@@ -26,7 +26,7 @@ export type ActivityNotificationTemplateResponseDto = {
|
|
|
26
26
|
/**
|
|
27
27
|
* Triggers of the template
|
|
28
28
|
*/
|
|
29
|
-
triggers: Array<
|
|
29
|
+
triggers: Array<NotificationTriggerDto>;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
/** @internal */
|
|
@@ -37,7 +37,7 @@ export const ActivityNotificationTemplateResponseDto$inboundSchema: z.ZodType<
|
|
|
37
37
|
> = z.object({
|
|
38
38
|
_id: z.string().optional(),
|
|
39
39
|
name: z.string(),
|
|
40
|
-
triggers: z.array(
|
|
40
|
+
triggers: z.array(NotificationTriggerDto$inboundSchema),
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return remap$(v, {
|
|
43
43
|
"_id": "id",
|
|
@@ -48,7 +48,7 @@ export const ActivityNotificationTemplateResponseDto$inboundSchema: z.ZodType<
|
|
|
48
48
|
export type ActivityNotificationTemplateResponseDto$Outbound = {
|
|
49
49
|
_id?: string | undefined;
|
|
50
50
|
name: string;
|
|
51
|
-
triggers: Array<
|
|
51
|
+
triggers: Array<NotificationTriggerDto$Outbound>;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
/** @internal */
|
|
@@ -59,7 +59,7 @@ export const ActivityNotificationTemplateResponseDto$outboundSchema: z.ZodType<
|
|
|
59
59
|
> = z.object({
|
|
60
60
|
id: z.string().optional(),
|
|
61
61
|
name: z.string(),
|
|
62
|
-
triggers: z.array(
|
|
62
|
+
triggers: z.array(NotificationTriggerDto$outboundSchema),
|
|
63
63
|
}).transform((v) => {
|
|
64
64
|
return remap$(v, {
|
|
65
65
|
id: "_id",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const BuilderFieldTypeEnum = {
|
|
9
|
+
Boolean: "BOOLEAN",
|
|
10
|
+
Text: "TEXT",
|
|
11
|
+
Date: "DATE",
|
|
12
|
+
Number: "NUMBER",
|
|
13
|
+
Statement: "STATEMENT",
|
|
14
|
+
List: "LIST",
|
|
15
|
+
MultiList: "MULTI_LIST",
|
|
16
|
+
Group: "GROUP",
|
|
17
|
+
} as const;
|
|
18
|
+
export type BuilderFieldTypeEnum = ClosedEnum<typeof BuilderFieldTypeEnum>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const BuilderFieldTypeEnum$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof BuilderFieldTypeEnum
|
|
23
|
+
> = z.nativeEnum(BuilderFieldTypeEnum);
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const BuilderFieldTypeEnum$outboundSchema: z.ZodNativeEnum<
|
|
27
|
+
typeof BuilderFieldTypeEnum
|
|
28
|
+
> = BuilderFieldTypeEnum$inboundSchema;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
33
|
+
*/
|
|
34
|
+
export namespace BuilderFieldTypeEnum$ {
|
|
35
|
+
/** @deprecated use `BuilderFieldTypeEnum$inboundSchema` instead. */
|
|
36
|
+
export const inboundSchema = BuilderFieldTypeEnum$inboundSchema;
|
|
37
|
+
/** @deprecated use `BuilderFieldTypeEnum$outboundSchema` instead. */
|
|
38
|
+
export const outboundSchema = BuilderFieldTypeEnum$outboundSchema;
|
|
39
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
DigestTimedConfigDto,
|
|
12
|
+
DigestTimedConfigDto$inboundSchema,
|
|
13
|
+
DigestTimedConfigDto$Outbound,
|
|
14
|
+
DigestTimedConfigDto$outboundSchema,
|
|
15
|
+
} from "./digesttimedconfigdto.js";
|
|
16
|
+
import {
|
|
17
|
+
DigestTypeEnum,
|
|
18
|
+
DigestTypeEnum$inboundSchema,
|
|
19
|
+
DigestTypeEnum$outboundSchema,
|
|
20
|
+
} from "./digesttypeenum.js";
|
|
21
|
+
import {
|
|
22
|
+
DigestUnitEnum,
|
|
23
|
+
DigestUnitEnum$inboundSchema,
|
|
24
|
+
DigestUnitEnum$outboundSchema,
|
|
25
|
+
} from "./digestunitenum.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Unit of the digest
|
|
29
|
+
*/
|
|
30
|
+
export const Unit = {
|
|
31
|
+
Seconds: "seconds",
|
|
32
|
+
Minutes: "minutes",
|
|
33
|
+
Hours: "hours",
|
|
34
|
+
Days: "days",
|
|
35
|
+
Weeks: "weeks",
|
|
36
|
+
Months: "months",
|
|
37
|
+
} as const;
|
|
38
|
+
/**
|
|
39
|
+
* Unit of the digest
|
|
40
|
+
*/
|
|
41
|
+
export type Unit = ClosedEnum<typeof Unit>;
|
|
42
|
+
|
|
43
|
+
export type DigestMetadataDto = {
|
|
44
|
+
/**
|
|
45
|
+
* Optional key for the digest
|
|
46
|
+
*/
|
|
47
|
+
digestKey?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Amount for the digest
|
|
50
|
+
*/
|
|
51
|
+
amount?: number | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Unit of the digest
|
|
54
|
+
*/
|
|
55
|
+
unit?: Unit | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* The Digest Type
|
|
58
|
+
*/
|
|
59
|
+
type: DigestTypeEnum;
|
|
60
|
+
/**
|
|
61
|
+
* Optional array of events associated with the digest, represented as key-value pairs
|
|
62
|
+
*/
|
|
63
|
+
events?: Array<{ [k: string]: any }> | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Regular digest: Indicates if backoff is enabled for the regular digest
|
|
66
|
+
*/
|
|
67
|
+
backoff?: boolean | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* Regular digest: Amount for backoff
|
|
70
|
+
*/
|
|
71
|
+
backoffAmount?: number | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Regular digest: Unit for backoff
|
|
74
|
+
*/
|
|
75
|
+
backoffUnit?: DigestUnitEnum | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Regular digest: Indicates if the digest should update
|
|
78
|
+
*/
|
|
79
|
+
updateMode?: boolean | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* Configuration for timed digest
|
|
82
|
+
*/
|
|
83
|
+
timed?: DigestTimedConfigDto | undefined;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
/** @internal */
|
|
87
|
+
export const Unit$inboundSchema: z.ZodNativeEnum<typeof Unit> = z.nativeEnum(
|
|
88
|
+
Unit,
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const Unit$outboundSchema: z.ZodNativeEnum<typeof Unit> =
|
|
93
|
+
Unit$inboundSchema;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
98
|
+
*/
|
|
99
|
+
export namespace Unit$ {
|
|
100
|
+
/** @deprecated use `Unit$inboundSchema` instead. */
|
|
101
|
+
export const inboundSchema = Unit$inboundSchema;
|
|
102
|
+
/** @deprecated use `Unit$outboundSchema` instead. */
|
|
103
|
+
export const outboundSchema = Unit$outboundSchema;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** @internal */
|
|
107
|
+
export const DigestMetadataDto$inboundSchema: z.ZodType<
|
|
108
|
+
DigestMetadataDto,
|
|
109
|
+
z.ZodTypeDef,
|
|
110
|
+
unknown
|
|
111
|
+
> = z.object({
|
|
112
|
+
digestKey: z.string().optional(),
|
|
113
|
+
amount: z.number().optional(),
|
|
114
|
+
unit: Unit$inboundSchema.optional(),
|
|
115
|
+
type: DigestTypeEnum$inboundSchema,
|
|
116
|
+
events: z.array(z.record(z.any())).optional(),
|
|
117
|
+
backoff: z.boolean().optional(),
|
|
118
|
+
backoffAmount: z.number().optional(),
|
|
119
|
+
backoffUnit: DigestUnitEnum$inboundSchema.optional(),
|
|
120
|
+
updateMode: z.boolean().optional(),
|
|
121
|
+
timed: DigestTimedConfigDto$inboundSchema.optional(),
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/** @internal */
|
|
125
|
+
export type DigestMetadataDto$Outbound = {
|
|
126
|
+
digestKey?: string | undefined;
|
|
127
|
+
amount?: number | undefined;
|
|
128
|
+
unit?: string | undefined;
|
|
129
|
+
type: string;
|
|
130
|
+
events?: Array<{ [k: string]: any }> | undefined;
|
|
131
|
+
backoff?: boolean | undefined;
|
|
132
|
+
backoffAmount?: number | undefined;
|
|
133
|
+
backoffUnit?: string | undefined;
|
|
134
|
+
updateMode?: boolean | undefined;
|
|
135
|
+
timed?: DigestTimedConfigDto$Outbound | undefined;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/** @internal */
|
|
139
|
+
export const DigestMetadataDto$outboundSchema: z.ZodType<
|
|
140
|
+
DigestMetadataDto$Outbound,
|
|
141
|
+
z.ZodTypeDef,
|
|
142
|
+
DigestMetadataDto
|
|
143
|
+
> = z.object({
|
|
144
|
+
digestKey: z.string().optional(),
|
|
145
|
+
amount: z.number().optional(),
|
|
146
|
+
unit: Unit$outboundSchema.optional(),
|
|
147
|
+
type: DigestTypeEnum$outboundSchema,
|
|
148
|
+
events: z.array(z.record(z.any())).optional(),
|
|
149
|
+
backoff: z.boolean().optional(),
|
|
150
|
+
backoffAmount: z.number().optional(),
|
|
151
|
+
backoffUnit: DigestUnitEnum$outboundSchema.optional(),
|
|
152
|
+
updateMode: z.boolean().optional(),
|
|
153
|
+
timed: DigestTimedConfigDto$outboundSchema.optional(),
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
159
|
+
*/
|
|
160
|
+
export namespace DigestMetadataDto$ {
|
|
161
|
+
/** @deprecated use `DigestMetadataDto$inboundSchema` instead. */
|
|
162
|
+
export const inboundSchema = DigestMetadataDto$inboundSchema;
|
|
163
|
+
/** @deprecated use `DigestMetadataDto$outboundSchema` instead. */
|
|
164
|
+
export const outboundSchema = DigestMetadataDto$outboundSchema;
|
|
165
|
+
/** @deprecated use `DigestMetadataDto$Outbound` instead. */
|
|
166
|
+
export type Outbound = DigestMetadataDto$Outbound;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export function digestMetadataDtoToJSON(
|
|
170
|
+
digestMetadataDto: DigestMetadataDto,
|
|
171
|
+
): string {
|
|
172
|
+
return JSON.stringify(
|
|
173
|
+
DigestMetadataDto$outboundSchema.parse(digestMetadataDto),
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export function digestMetadataDtoFromJSON(
|
|
178
|
+
jsonString: string,
|
|
179
|
+
): SafeParseResult<DigestMetadataDto, SDKValidationError> {
|
|
180
|
+
return safeParse(
|
|
181
|
+
jsonString,
|
|
182
|
+
(x) => DigestMetadataDto$inboundSchema.parse(JSON.parse(x)),
|
|
183
|
+
`Failed to parse 'DigestMetadataDto' from JSON`,
|
|
184
|
+
);
|
|
185
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
MonthlyTypeEnum,
|
|
12
|
+
MonthlyTypeEnum$inboundSchema,
|
|
13
|
+
MonthlyTypeEnum$outboundSchema,
|
|
14
|
+
} from "./monthlytypeenum.js";
|
|
15
|
+
import {
|
|
16
|
+
OrdinalEnum,
|
|
17
|
+
OrdinalEnum$inboundSchema,
|
|
18
|
+
OrdinalEnum$outboundSchema,
|
|
19
|
+
} from "./ordinalenum.js";
|
|
20
|
+
import {
|
|
21
|
+
OrdinalValueEnum,
|
|
22
|
+
OrdinalValueEnum$inboundSchema,
|
|
23
|
+
OrdinalValueEnum$outboundSchema,
|
|
24
|
+
} from "./ordinalvalueenum.js";
|
|
25
|
+
|
|
26
|
+
export const WeekDays = {
|
|
27
|
+
Monday: "monday",
|
|
28
|
+
Tuesday: "tuesday",
|
|
29
|
+
Wednesday: "wednesday",
|
|
30
|
+
Thursday: "thursday",
|
|
31
|
+
Friday: "friday",
|
|
32
|
+
Saturday: "saturday",
|
|
33
|
+
Sunday: "sunday",
|
|
34
|
+
} as const;
|
|
35
|
+
export type WeekDays = ClosedEnum<typeof WeekDays>;
|
|
36
|
+
|
|
37
|
+
export type DigestTimedConfigDto = {
|
|
38
|
+
/**
|
|
39
|
+
* Time at which the digest is triggered
|
|
40
|
+
*/
|
|
41
|
+
atTime?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Days of the week for the digest
|
|
44
|
+
*/
|
|
45
|
+
weekDays?: Array<WeekDays> | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Specific days of the month for the digest
|
|
48
|
+
*/
|
|
49
|
+
monthDays?: Array<number> | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Ordinal position for the digest
|
|
52
|
+
*/
|
|
53
|
+
ordinal?: OrdinalEnum | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Value of the ordinal
|
|
56
|
+
*/
|
|
57
|
+
ordinalValue?: OrdinalValueEnum | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Type of monthly schedule
|
|
60
|
+
*/
|
|
61
|
+
monthlyType?: MonthlyTypeEnum | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Cron expression for scheduling
|
|
64
|
+
*/
|
|
65
|
+
cronExpression?: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const WeekDays$inboundSchema: z.ZodNativeEnum<typeof WeekDays> = z
|
|
70
|
+
.nativeEnum(WeekDays);
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const WeekDays$outboundSchema: z.ZodNativeEnum<typeof WeekDays> =
|
|
74
|
+
WeekDays$inboundSchema;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
79
|
+
*/
|
|
80
|
+
export namespace WeekDays$ {
|
|
81
|
+
/** @deprecated use `WeekDays$inboundSchema` instead. */
|
|
82
|
+
export const inboundSchema = WeekDays$inboundSchema;
|
|
83
|
+
/** @deprecated use `WeekDays$outboundSchema` instead. */
|
|
84
|
+
export const outboundSchema = WeekDays$outboundSchema;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const DigestTimedConfigDto$inboundSchema: z.ZodType<
|
|
89
|
+
DigestTimedConfigDto,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
unknown
|
|
92
|
+
> = z.object({
|
|
93
|
+
atTime: z.string().optional(),
|
|
94
|
+
weekDays: z.array(WeekDays$inboundSchema).optional(),
|
|
95
|
+
monthDays: z.array(z.number()).optional(),
|
|
96
|
+
ordinal: OrdinalEnum$inboundSchema.optional(),
|
|
97
|
+
ordinalValue: OrdinalValueEnum$inboundSchema.optional(),
|
|
98
|
+
monthlyType: MonthlyTypeEnum$inboundSchema.optional(),
|
|
99
|
+
cronExpression: z.string().optional(),
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
/** @internal */
|
|
103
|
+
export type DigestTimedConfigDto$Outbound = {
|
|
104
|
+
atTime?: string | undefined;
|
|
105
|
+
weekDays?: Array<string> | undefined;
|
|
106
|
+
monthDays?: Array<number> | undefined;
|
|
107
|
+
ordinal?: string | undefined;
|
|
108
|
+
ordinalValue?: string | undefined;
|
|
109
|
+
monthlyType?: string | undefined;
|
|
110
|
+
cronExpression?: string | undefined;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
/** @internal */
|
|
114
|
+
export const DigestTimedConfigDto$outboundSchema: z.ZodType<
|
|
115
|
+
DigestTimedConfigDto$Outbound,
|
|
116
|
+
z.ZodTypeDef,
|
|
117
|
+
DigestTimedConfigDto
|
|
118
|
+
> = z.object({
|
|
119
|
+
atTime: z.string().optional(),
|
|
120
|
+
weekDays: z.array(WeekDays$outboundSchema).optional(),
|
|
121
|
+
monthDays: z.array(z.number()).optional(),
|
|
122
|
+
ordinal: OrdinalEnum$outboundSchema.optional(),
|
|
123
|
+
ordinalValue: OrdinalValueEnum$outboundSchema.optional(),
|
|
124
|
+
monthlyType: MonthlyTypeEnum$outboundSchema.optional(),
|
|
125
|
+
cronExpression: z.string().optional(),
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
131
|
+
*/
|
|
132
|
+
export namespace DigestTimedConfigDto$ {
|
|
133
|
+
/** @deprecated use `DigestTimedConfigDto$inboundSchema` instead. */
|
|
134
|
+
export const inboundSchema = DigestTimedConfigDto$inboundSchema;
|
|
135
|
+
/** @deprecated use `DigestTimedConfigDto$outboundSchema` instead. */
|
|
136
|
+
export const outboundSchema = DigestTimedConfigDto$outboundSchema;
|
|
137
|
+
/** @deprecated use `DigestTimedConfigDto$Outbound` instead. */
|
|
138
|
+
export type Outbound = DigestTimedConfigDto$Outbound;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function digestTimedConfigDtoToJSON(
|
|
142
|
+
digestTimedConfigDto: DigestTimedConfigDto,
|
|
143
|
+
): string {
|
|
144
|
+
return JSON.stringify(
|
|
145
|
+
DigestTimedConfigDto$outboundSchema.parse(digestTimedConfigDto),
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function digestTimedConfigDtoFromJSON(
|
|
150
|
+
jsonString: string,
|
|
151
|
+
): SafeParseResult<DigestTimedConfigDto, SDKValidationError> {
|
|
152
|
+
return safeParse(
|
|
153
|
+
jsonString,
|
|
154
|
+
(x) => DigestTimedConfigDto$inboundSchema.parse(JSON.parse(x)),
|
|
155
|
+
`Failed to parse 'DigestTimedConfigDto' from JSON`,
|
|
156
|
+
);
|
|
157
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The Digest Type
|
|
10
|
+
*/
|
|
11
|
+
export const DigestTypeEnum = {
|
|
12
|
+
Regular: "regular",
|
|
13
|
+
Backoff: "backoff",
|
|
14
|
+
Timed: "timed",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* The Digest Type
|
|
18
|
+
*/
|
|
19
|
+
export type DigestTypeEnum = ClosedEnum<typeof DigestTypeEnum>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const DigestTypeEnum$inboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof DigestTypeEnum
|
|
24
|
+
> = z.nativeEnum(DigestTypeEnum);
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const DigestTypeEnum$outboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof DigestTypeEnum
|
|
29
|
+
> = DigestTypeEnum$inboundSchema;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
+
*/
|
|
35
|
+
export namespace DigestTypeEnum$ {
|
|
36
|
+
/** @deprecated use `DigestTypeEnum$inboundSchema` instead. */
|
|
37
|
+
export const inboundSchema = DigestTypeEnum$inboundSchema;
|
|
38
|
+
/** @deprecated use `DigestTypeEnum$outboundSchema` instead. */
|
|
39
|
+
export const outboundSchema = DigestTypeEnum$outboundSchema;
|
|
40
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Regular digest: Unit for backoff
|
|
10
|
+
*/
|
|
11
|
+
export const DigestUnitEnum = {
|
|
12
|
+
Seconds: "seconds",
|
|
13
|
+
Minutes: "minutes",
|
|
14
|
+
Hours: "hours",
|
|
15
|
+
Days: "days",
|
|
16
|
+
Weeks: "weeks",
|
|
17
|
+
Months: "months",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Regular digest: Unit for backoff
|
|
21
|
+
*/
|
|
22
|
+
export type DigestUnitEnum = ClosedEnum<typeof DigestUnitEnum>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const DigestUnitEnum$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof DigestUnitEnum
|
|
27
|
+
> = z.nativeEnum(DigestUnitEnum);
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const DigestUnitEnum$outboundSchema: z.ZodNativeEnum<
|
|
31
|
+
typeof DigestUnitEnum
|
|
32
|
+
> = DigestUnitEnum$inboundSchema;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
+
*/
|
|
38
|
+
export namespace DigestUnitEnum$ {
|
|
39
|
+
/** @deprecated use `DigestUnitEnum$inboundSchema` instead. */
|
|
40
|
+
export const inboundSchema = DigestUnitEnum$inboundSchema;
|
|
41
|
+
/** @deprecated use `DigestUnitEnum$outboundSchema` instead. */
|
|
42
|
+
export const outboundSchema = DigestUnitEnum$outboundSchema;
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Source of the execution detail
|
|
10
|
+
*/
|
|
11
|
+
export const ExecutionDetailsSourceEnum = {
|
|
12
|
+
Credentials: "Credentials",
|
|
13
|
+
Internal: "Internal",
|
|
14
|
+
Payload: "Payload",
|
|
15
|
+
Webhook: "Webhook",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Source of the execution detail
|
|
19
|
+
*/
|
|
20
|
+
export type ExecutionDetailsSourceEnum = ClosedEnum<
|
|
21
|
+
typeof ExecutionDetailsSourceEnum
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const ExecutionDetailsSourceEnum$inboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof ExecutionDetailsSourceEnum
|
|
27
|
+
> = z.nativeEnum(ExecutionDetailsSourceEnum);
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const ExecutionDetailsSourceEnum$outboundSchema: z.ZodNativeEnum<
|
|
31
|
+
typeof ExecutionDetailsSourceEnum
|
|
32
|
+
> = ExecutionDetailsSourceEnum$inboundSchema;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
37
|
+
*/
|
|
38
|
+
export namespace ExecutionDetailsSourceEnum$ {
|
|
39
|
+
/** @deprecated use `ExecutionDetailsSourceEnum$inboundSchema` instead. */
|
|
40
|
+
export const inboundSchema = ExecutionDetailsSourceEnum$inboundSchema;
|
|
41
|
+
/** @deprecated use `ExecutionDetailsSourceEnum$outboundSchema` instead. */
|
|
42
|
+
export const outboundSchema = ExecutionDetailsSourceEnum$outboundSchema;
|
|
43
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Status of the execution detail
|
|
10
|
+
*/
|
|
11
|
+
export const ExecutionDetailsStatusEnum = {
|
|
12
|
+
Success: "Success",
|
|
13
|
+
Warning: "Warning",
|
|
14
|
+
Failed: "Failed",
|
|
15
|
+
Pending: "Pending",
|
|
16
|
+
Queued: "Queued",
|
|
17
|
+
ReadConfirmation: "ReadConfirmation",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Status of the execution detail
|
|
21
|
+
*/
|
|
22
|
+
export type ExecutionDetailsStatusEnum = ClosedEnum<
|
|
23
|
+
typeof ExecutionDetailsStatusEnum
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const ExecutionDetailsStatusEnum$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof ExecutionDetailsStatusEnum
|
|
29
|
+
> = z.nativeEnum(ExecutionDetailsStatusEnum);
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const ExecutionDetailsStatusEnum$outboundSchema: z.ZodNativeEnum<
|
|
33
|
+
typeof ExecutionDetailsStatusEnum
|
|
34
|
+
> = ExecutionDetailsStatusEnum$inboundSchema;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
+
*/
|
|
40
|
+
export namespace ExecutionDetailsStatusEnum$ {
|
|
41
|
+
/** @deprecated use `ExecutionDetailsStatusEnum$inboundSchema` instead. */
|
|
42
|
+
export const inboundSchema = ExecutionDetailsStatusEnum$inboundSchema;
|
|
43
|
+
/** @deprecated use `ExecutionDetailsStatusEnum$outboundSchema` instead. */
|
|
44
|
+
export const outboundSchema = ExecutionDetailsStatusEnum$outboundSchema;
|
|
45
|
+
}
|
|
@@ -15,7 +15,7 @@ export * from "./actorfeeditemdto.js";
|
|
|
15
15
|
export * from "./actortypeenum.js";
|
|
16
16
|
export * from "./addsubscribersrequestdto.js";
|
|
17
17
|
export * from "./assignsubscribertotopicdto.js";
|
|
18
|
-
export * from "./
|
|
18
|
+
export * from "./builderfieldtypeenum.js";
|
|
19
19
|
export * from "./bulkcreatesubscriberresponsedto.js";
|
|
20
20
|
export * from "./bulksubscribercreatedto.js";
|
|
21
21
|
export * from "./bulktriggereventdto.js";
|
|
@@ -37,12 +37,17 @@ export * from "./delayregularmetadata.js";
|
|
|
37
37
|
export * from "./delayscheduledmetadata.js";
|
|
38
38
|
export * from "./deletemessageresponsedto.js";
|
|
39
39
|
export * from "./deletesubscriberresponsedto.js";
|
|
40
|
+
export * from "./digestmetadatadto.js";
|
|
40
41
|
export * from "./digestregularmetadata.js";
|
|
42
|
+
export * from "./digesttimedconfigdto.js";
|
|
41
43
|
export * from "./digesttimedmetadata.js";
|
|
42
|
-
export * from "./
|
|
44
|
+
export * from "./digesttypeenum.js";
|
|
45
|
+
export * from "./digestunitenum.js";
|
|
43
46
|
export * from "./emailblock.js";
|
|
44
47
|
export * from "./emailblockstyles.js";
|
|
45
48
|
export * from "./emailblocktypeenum.js";
|
|
49
|
+
export * from "./executiondetailssourceenum.js";
|
|
50
|
+
export * from "./executiondetailsstatusenum.js";
|
|
46
51
|
export * from "./failedassignmentsdto.js";
|
|
47
52
|
export * from "./failedoperationdto.js";
|
|
48
53
|
export * from "./feedresponsedto.js";
|
|
@@ -66,22 +71,26 @@ export * from "./messageresponsedto.js";
|
|
|
66
71
|
export * from "./messagestatusenum.js";
|
|
67
72
|
export * from "./messagetemplate.js";
|
|
68
73
|
export * from "./messagetemplatedto.js";
|
|
74
|
+
export * from "./monthlytypeenum.js";
|
|
69
75
|
export * from "./notificationfeeditemdto.js";
|
|
70
76
|
export * from "./notificationgroup.js";
|
|
71
|
-
export * from "./
|
|
72
|
-
export * from "./
|
|
77
|
+
export * from "./notificationstepdata.js";
|
|
78
|
+
export * from "./notificationstepdto.js";
|
|
73
79
|
export * from "./notificationtrigger.js";
|
|
80
|
+
export * from "./notificationtriggerdto.js";
|
|
74
81
|
export * from "./notificationtriggerresponse.js";
|
|
75
82
|
export * from "./notificationtriggervariable.js";
|
|
76
83
|
export * from "./notificationtriggervariableresponse.js";
|
|
84
|
+
export * from "./ordinalenum.js";
|
|
85
|
+
export * from "./ordinalvalueenum.js";
|
|
77
86
|
export * from "./preference.js";
|
|
78
87
|
export * from "./preferencechannels.js";
|
|
79
88
|
export * from "./providersidenum.js";
|
|
80
89
|
export * from "./removesubscribersrequestdto.js";
|
|
81
90
|
export * from "./renametopicrequestdto.js";
|
|
82
91
|
export * from "./renametopicresponsedto.js";
|
|
92
|
+
export * from "./replycallback.js";
|
|
83
93
|
export * from "./security.js";
|
|
84
|
-
export * from "./stepfilter.js";
|
|
85
94
|
export * from "./stepfilterdto.js";
|
|
86
95
|
export * from "./steptypeenum.js";
|
|
87
96
|
export * from "./subscriberchanneldto.js";
|