@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
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.activityNotificationResponseDtoFromJSON = exports.activityNotificationResponseDtoToJSON = exports.ActivityNotificationResponseDto$ = exports.ActivityNotificationResponseDto$outboundSchema = exports.ActivityNotificationResponseDto$inboundSchema = void 0;
|
|
29
|
+
exports.activityNotificationResponseDtoFromJSON = exports.activityNotificationResponseDtoToJSON = exports.ActivityNotificationResponseDto$ = exports.ActivityNotificationResponseDto$outboundSchema = exports.ActivityNotificationResponseDto$inboundSchema = exports.activityNotificationResponseDtoToFromJSON = exports.activityNotificationResponseDtoToToJSON = exports.ActivityNotificationResponseDtoTo$ = exports.ActivityNotificationResponseDtoTo$outboundSchema = exports.ActivityNotificationResponseDtoTo$inboundSchema = exports.controlsFromJSON = exports.controlsToJSON = exports.Controls$ = exports.Controls$outboundSchema = exports.Controls$inboundSchema = exports.activityNotificationResponseDtoPayloadFromJSON = exports.activityNotificationResponseDtoPayloadToJSON = exports.ActivityNotificationResponseDtoPayload$ = exports.ActivityNotificationResponseDtoPayload$outboundSchema = exports.ActivityNotificationResponseDtoPayload$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
@@ -35,22 +35,103 @@ const activitynotificationsubscriberresponsedto_js_1 = require("./activitynotifi
|
|
|
35
35
|
const activitynotificationtemplateresponsedto_js_1 = require("./activitynotificationtemplateresponsedto.js");
|
|
36
36
|
const steptypeenum_js_1 = require("./steptypeenum.js");
|
|
37
37
|
/** @internal */
|
|
38
|
+
exports.ActivityNotificationResponseDtoPayload$inboundSchema = z.object({});
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.ActivityNotificationResponseDtoPayload$outboundSchema = z.object({});
|
|
41
|
+
/**
|
|
42
|
+
* @internal
|
|
43
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
44
|
+
*/
|
|
45
|
+
var ActivityNotificationResponseDtoPayload$;
|
|
46
|
+
(function (ActivityNotificationResponseDtoPayload$) {
|
|
47
|
+
/** @deprecated use `ActivityNotificationResponseDtoPayload$inboundSchema` instead. */
|
|
48
|
+
ActivityNotificationResponseDtoPayload$.inboundSchema = exports.ActivityNotificationResponseDtoPayload$inboundSchema;
|
|
49
|
+
/** @deprecated use `ActivityNotificationResponseDtoPayload$outboundSchema` instead. */
|
|
50
|
+
ActivityNotificationResponseDtoPayload$.outboundSchema = exports.ActivityNotificationResponseDtoPayload$outboundSchema;
|
|
51
|
+
})(ActivityNotificationResponseDtoPayload$ || (exports.ActivityNotificationResponseDtoPayload$ = ActivityNotificationResponseDtoPayload$ = {}));
|
|
52
|
+
function activityNotificationResponseDtoPayloadToJSON(activityNotificationResponseDtoPayload) {
|
|
53
|
+
return JSON.stringify(exports.ActivityNotificationResponseDtoPayload$outboundSchema.parse(activityNotificationResponseDtoPayload));
|
|
54
|
+
}
|
|
55
|
+
exports.activityNotificationResponseDtoPayloadToJSON = activityNotificationResponseDtoPayloadToJSON;
|
|
56
|
+
function activityNotificationResponseDtoPayloadFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActivityNotificationResponseDtoPayload$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActivityNotificationResponseDtoPayload' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
exports.activityNotificationResponseDtoPayloadFromJSON = activityNotificationResponseDtoPayloadFromJSON;
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.Controls$inboundSchema = z.object({});
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.Controls$outboundSchema = z.object({});
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
var Controls$;
|
|
69
|
+
(function (Controls$) {
|
|
70
|
+
/** @deprecated use `Controls$inboundSchema` instead. */
|
|
71
|
+
Controls$.inboundSchema = exports.Controls$inboundSchema;
|
|
72
|
+
/** @deprecated use `Controls$outboundSchema` instead. */
|
|
73
|
+
Controls$.outboundSchema = exports.Controls$outboundSchema;
|
|
74
|
+
})(Controls$ || (exports.Controls$ = Controls$ = {}));
|
|
75
|
+
function controlsToJSON(controls) {
|
|
76
|
+
return JSON.stringify(exports.Controls$outboundSchema.parse(controls));
|
|
77
|
+
}
|
|
78
|
+
exports.controlsToJSON = controlsToJSON;
|
|
79
|
+
function controlsFromJSON(jsonString) {
|
|
80
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Controls$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Controls' from JSON`);
|
|
81
|
+
}
|
|
82
|
+
exports.controlsFromJSON = controlsFromJSON;
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.ActivityNotificationResponseDtoTo$inboundSchema = z.object({});
|
|
85
|
+
/** @internal */
|
|
86
|
+
exports.ActivityNotificationResponseDtoTo$outboundSchema = z.object({});
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
var ActivityNotificationResponseDtoTo$;
|
|
92
|
+
(function (ActivityNotificationResponseDtoTo$) {
|
|
93
|
+
/** @deprecated use `ActivityNotificationResponseDtoTo$inboundSchema` instead. */
|
|
94
|
+
ActivityNotificationResponseDtoTo$.inboundSchema = exports.ActivityNotificationResponseDtoTo$inboundSchema;
|
|
95
|
+
/** @deprecated use `ActivityNotificationResponseDtoTo$outboundSchema` instead. */
|
|
96
|
+
ActivityNotificationResponseDtoTo$.outboundSchema = exports.ActivityNotificationResponseDtoTo$outboundSchema;
|
|
97
|
+
})(ActivityNotificationResponseDtoTo$ || (exports.ActivityNotificationResponseDtoTo$ = ActivityNotificationResponseDtoTo$ = {}));
|
|
98
|
+
function activityNotificationResponseDtoToToJSON(activityNotificationResponseDtoTo) {
|
|
99
|
+
return JSON.stringify(exports.ActivityNotificationResponseDtoTo$outboundSchema.parse(activityNotificationResponseDtoTo));
|
|
100
|
+
}
|
|
101
|
+
exports.activityNotificationResponseDtoToToJSON = activityNotificationResponseDtoToToJSON;
|
|
102
|
+
function activityNotificationResponseDtoToFromJSON(jsonString) {
|
|
103
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActivityNotificationResponseDtoTo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActivityNotificationResponseDtoTo' from JSON`);
|
|
104
|
+
}
|
|
105
|
+
exports.activityNotificationResponseDtoToFromJSON = activityNotificationResponseDtoToFromJSON;
|
|
106
|
+
/** @internal */
|
|
38
107
|
exports.ActivityNotificationResponseDto$inboundSchema = z.object({
|
|
39
108
|
_id: z.string().optional(),
|
|
40
109
|
_environmentId: z.string(),
|
|
41
110
|
_organizationId: z.string(),
|
|
111
|
+
_subscriberId: z.string(),
|
|
42
112
|
transactionId: z.string(),
|
|
113
|
+
_templateId: z.string().optional(),
|
|
114
|
+
_digestedNotificationId: z.string().optional(),
|
|
43
115
|
createdAt: z.string().optional(),
|
|
116
|
+
updatedAt: z.string().optional(),
|
|
44
117
|
channels: z.array(steptypeenum_js_1.StepTypeEnum$inboundSchema).optional(),
|
|
45
118
|
subscriber: activitynotificationsubscriberresponsedto_js_1.ActivityNotificationSubscriberResponseDto$inboundSchema
|
|
46
119
|
.optional(),
|
|
47
120
|
template: activitynotificationtemplateresponsedto_js_1.ActivityNotificationTemplateResponseDto$inboundSchema.optional(),
|
|
48
121
|
jobs: z.array(activitynotificationjobresponsedto_js_1.ActivityNotificationJobResponseDto$inboundSchema).optional(),
|
|
122
|
+
payload: z.lazy(() => exports.ActivityNotificationResponseDtoPayload$inboundSchema)
|
|
123
|
+
.optional(),
|
|
124
|
+
tags: z.array(z.string()).optional(),
|
|
125
|
+
controls: z.lazy(() => exports.Controls$inboundSchema).optional(),
|
|
126
|
+
to: z.lazy(() => exports.ActivityNotificationResponseDtoTo$inboundSchema).optional(),
|
|
49
127
|
}).transform((v) => {
|
|
50
128
|
return (0, primitives_js_1.remap)(v, {
|
|
51
129
|
"_id": "id",
|
|
52
130
|
"_environmentId": "environmentId",
|
|
53
131
|
"_organizationId": "organizationId",
|
|
132
|
+
"_subscriberId": "subscriberId",
|
|
133
|
+
"_templateId": "templateId",
|
|
134
|
+
"_digestedNotificationId": "digestedNotificationId",
|
|
54
135
|
});
|
|
55
136
|
});
|
|
56
137
|
/** @internal */
|
|
@@ -58,18 +139,30 @@ exports.ActivityNotificationResponseDto$outboundSchema = z.object({
|
|
|
58
139
|
id: z.string().optional(),
|
|
59
140
|
environmentId: z.string(),
|
|
60
141
|
organizationId: z.string(),
|
|
142
|
+
subscriberId: z.string(),
|
|
61
143
|
transactionId: z.string(),
|
|
144
|
+
templateId: z.string().optional(),
|
|
145
|
+
digestedNotificationId: z.string().optional(),
|
|
62
146
|
createdAt: z.string().optional(),
|
|
147
|
+
updatedAt: z.string().optional(),
|
|
63
148
|
channels: z.array(steptypeenum_js_1.StepTypeEnum$outboundSchema).optional(),
|
|
64
149
|
subscriber: activitynotificationsubscriberresponsedto_js_1.ActivityNotificationSubscriberResponseDto$outboundSchema
|
|
65
150
|
.optional(),
|
|
66
151
|
template: activitynotificationtemplateresponsedto_js_1.ActivityNotificationTemplateResponseDto$outboundSchema.optional(),
|
|
67
152
|
jobs: z.array(activitynotificationjobresponsedto_js_1.ActivityNotificationJobResponseDto$outboundSchema).optional(),
|
|
153
|
+
payload: z.lazy(() => exports.ActivityNotificationResponseDtoPayload$outboundSchema)
|
|
154
|
+
.optional(),
|
|
155
|
+
tags: z.array(z.string()).optional(),
|
|
156
|
+
controls: z.lazy(() => exports.Controls$outboundSchema).optional(),
|
|
157
|
+
to: z.lazy(() => exports.ActivityNotificationResponseDtoTo$outboundSchema).optional(),
|
|
68
158
|
}).transform((v) => {
|
|
69
159
|
return (0, primitives_js_1.remap)(v, {
|
|
70
160
|
id: "_id",
|
|
71
161
|
environmentId: "_environmentId",
|
|
72
162
|
organizationId: "_organizationId",
|
|
163
|
+
subscriberId: "_subscriberId",
|
|
164
|
+
templateId: "_templateId",
|
|
165
|
+
digestedNotificationId: "_digestedNotificationId",
|
|
73
166
|
});
|
|
74
167
|
});
|
|
75
168
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,mGAKiD;AACjD,iHAKwD;AACxD,6GAKsD;AACtD,uDAI2B;
|
|
1
|
+
{"version":3,"file":"activitynotificationresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,mGAKiD;AACjD,iHAKwD;AACxD,6GAKsD;AACtD,uDAI2B;AAqF3B,gBAAgB;AACH,QAAA,oDAAoD,GAI7D,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,uCAAuC,CASvD;AATD,WAAiB,uCAAuC;IACtD,sFAAsF;IACzE,qDAAa,GACxB,4DAAoD,CAAC;IACvD,uFAAuF;IAC1E,sDAAc,GACzB,6DAAqD,CAAC;AAG1D,CAAC,EATgB,uCAAuC,uDAAvC,uCAAuC,QASvD;AAED,SAAgB,4CAA4C,CAC1D,sCACwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,6DAAqD,CAAC,KAAK,CACzD,sCAAsC,CACvC,CACF,CAAC;AACJ,CAAC;AATD,oGASC;AAED,SAAgB,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,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C;AACJ,CAAC;AARD,sFAQC;AAED,SAAgB,uCAAuC,CACrD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qDAA6C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,6DAA6D,CAC9D,CAAC;AACJ,CAAC;AARD,0FAQC"}
|
|
@@ -2,7 +2,23 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { MessageTemplateDto, MessageTemplateDto$Outbound } from "./messagetemplatedto.js";
|
|
5
|
-
import {
|
|
5
|
+
import { StepFilterDto, StepFilterDto$Outbound } from "./stepfilterdto.js";
|
|
6
|
+
/**
|
|
7
|
+
* Reply callback settings
|
|
8
|
+
*/
|
|
9
|
+
export type ActivityNotificationStepResponseDtoReplyCallback = {};
|
|
10
|
+
/**
|
|
11
|
+
* Control variables
|
|
12
|
+
*/
|
|
13
|
+
export type ControlVariables = {};
|
|
14
|
+
/**
|
|
15
|
+
* Metadata for the workflow step
|
|
16
|
+
*/
|
|
17
|
+
export type Metadata = {};
|
|
18
|
+
/**
|
|
19
|
+
* Step issues
|
|
20
|
+
*/
|
|
21
|
+
export type Issues = {};
|
|
6
22
|
export type ActivityNotificationStepResponseDto = {
|
|
7
23
|
/**
|
|
8
24
|
* Unique identifier of the step
|
|
@@ -12,23 +28,143 @@ export type ActivityNotificationStepResponseDto = {
|
|
|
12
28
|
* Whether the step is active or not
|
|
13
29
|
*/
|
|
14
30
|
active: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Reply callback settings
|
|
33
|
+
*/
|
|
34
|
+
replyCallback?: ActivityNotificationStepResponseDtoReplyCallback | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* Control variables
|
|
37
|
+
*/
|
|
38
|
+
controlVariables?: ControlVariables | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Metadata for the workflow step
|
|
41
|
+
*/
|
|
42
|
+
metadata?: Metadata | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Step issues
|
|
45
|
+
*/
|
|
46
|
+
issues?: Issues | undefined;
|
|
15
47
|
/**
|
|
16
48
|
* Filter criteria for the step
|
|
17
49
|
*/
|
|
18
|
-
filters: Array<
|
|
50
|
+
filters: Array<StepFilterDto>;
|
|
19
51
|
/**
|
|
20
52
|
* Optional template for the step
|
|
21
53
|
*/
|
|
22
54
|
template?: MessageTemplateDto | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Variants of the step
|
|
57
|
+
*/
|
|
58
|
+
variants?: Array<ActivityNotificationStepResponseDto> | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* The identifier for the template associated with this step
|
|
61
|
+
*/
|
|
62
|
+
templateId: string;
|
|
63
|
+
/**
|
|
64
|
+
* The name of the step
|
|
65
|
+
*/
|
|
66
|
+
name?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* The unique identifier for the parent step
|
|
69
|
+
*/
|
|
70
|
+
parentId?: string | null | undefined;
|
|
23
71
|
};
|
|
24
72
|
/** @internal */
|
|
73
|
+
export declare const ActivityNotificationStepResponseDtoReplyCallback$inboundSchema: z.ZodType<ActivityNotificationStepResponseDtoReplyCallback, z.ZodTypeDef, unknown>;
|
|
74
|
+
/** @internal */
|
|
75
|
+
export type ActivityNotificationStepResponseDtoReplyCallback$Outbound = {};
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare const ActivityNotificationStepResponseDtoReplyCallback$outboundSchema: z.ZodType<ActivityNotificationStepResponseDtoReplyCallback$Outbound, z.ZodTypeDef, ActivityNotificationStepResponseDtoReplyCallback>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
81
|
+
*/
|
|
82
|
+
export declare namespace ActivityNotificationStepResponseDtoReplyCallback$ {
|
|
83
|
+
/** @deprecated use `ActivityNotificationStepResponseDtoReplyCallback$inboundSchema` instead. */
|
|
84
|
+
const inboundSchema: z.ZodType<ActivityNotificationStepResponseDtoReplyCallback, z.ZodTypeDef, unknown>;
|
|
85
|
+
/** @deprecated use `ActivityNotificationStepResponseDtoReplyCallback$outboundSchema` instead. */
|
|
86
|
+
const outboundSchema: z.ZodType<ActivityNotificationStepResponseDtoReplyCallback$Outbound, z.ZodTypeDef, ActivityNotificationStepResponseDtoReplyCallback>;
|
|
87
|
+
/** @deprecated use `ActivityNotificationStepResponseDtoReplyCallback$Outbound` instead. */
|
|
88
|
+
type Outbound = ActivityNotificationStepResponseDtoReplyCallback$Outbound;
|
|
89
|
+
}
|
|
90
|
+
export declare function activityNotificationStepResponseDtoReplyCallbackToJSON(activityNotificationStepResponseDtoReplyCallback: ActivityNotificationStepResponseDtoReplyCallback): string;
|
|
91
|
+
export declare function activityNotificationStepResponseDtoReplyCallbackFromJSON(jsonString: string): SafeParseResult<ActivityNotificationStepResponseDtoReplyCallback, SDKValidationError>;
|
|
92
|
+
/** @internal */
|
|
93
|
+
export declare const ControlVariables$inboundSchema: z.ZodType<ControlVariables, z.ZodTypeDef, unknown>;
|
|
94
|
+
/** @internal */
|
|
95
|
+
export type ControlVariables$Outbound = {};
|
|
96
|
+
/** @internal */
|
|
97
|
+
export declare const ControlVariables$outboundSchema: z.ZodType<ControlVariables$Outbound, z.ZodTypeDef, ControlVariables>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
+
*/
|
|
102
|
+
export declare namespace ControlVariables$ {
|
|
103
|
+
/** @deprecated use `ControlVariables$inboundSchema` instead. */
|
|
104
|
+
const inboundSchema: z.ZodType<ControlVariables, z.ZodTypeDef, unknown>;
|
|
105
|
+
/** @deprecated use `ControlVariables$outboundSchema` instead. */
|
|
106
|
+
const outboundSchema: z.ZodType<ControlVariables$Outbound, z.ZodTypeDef, ControlVariables>;
|
|
107
|
+
/** @deprecated use `ControlVariables$Outbound` instead. */
|
|
108
|
+
type Outbound = ControlVariables$Outbound;
|
|
109
|
+
}
|
|
110
|
+
export declare function controlVariablesToJSON(controlVariables: ControlVariables): string;
|
|
111
|
+
export declare function controlVariablesFromJSON(jsonString: string): SafeParseResult<ControlVariables, SDKValidationError>;
|
|
112
|
+
/** @internal */
|
|
113
|
+
export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
|
|
114
|
+
/** @internal */
|
|
115
|
+
export type Metadata$Outbound = {};
|
|
116
|
+
/** @internal */
|
|
117
|
+
export declare const Metadata$outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
121
|
+
*/
|
|
122
|
+
export declare namespace Metadata$ {
|
|
123
|
+
/** @deprecated use `Metadata$inboundSchema` instead. */
|
|
124
|
+
const inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
|
|
125
|
+
/** @deprecated use `Metadata$outboundSchema` instead. */
|
|
126
|
+
const outboundSchema: z.ZodType<Metadata$Outbound, z.ZodTypeDef, Metadata>;
|
|
127
|
+
/** @deprecated use `Metadata$Outbound` instead. */
|
|
128
|
+
type Outbound = Metadata$Outbound;
|
|
129
|
+
}
|
|
130
|
+
export declare function metadataToJSON(metadata: Metadata): string;
|
|
131
|
+
export declare function metadataFromJSON(jsonString: string): SafeParseResult<Metadata, SDKValidationError>;
|
|
132
|
+
/** @internal */
|
|
133
|
+
export declare const Issues$inboundSchema: z.ZodType<Issues, z.ZodTypeDef, unknown>;
|
|
134
|
+
/** @internal */
|
|
135
|
+
export type Issues$Outbound = {};
|
|
136
|
+
/** @internal */
|
|
137
|
+
export declare const Issues$outboundSchema: z.ZodType<Issues$Outbound, z.ZodTypeDef, Issues>;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
141
|
+
*/
|
|
142
|
+
export declare namespace Issues$ {
|
|
143
|
+
/** @deprecated use `Issues$inboundSchema` instead. */
|
|
144
|
+
const inboundSchema: z.ZodType<Issues, z.ZodTypeDef, unknown>;
|
|
145
|
+
/** @deprecated use `Issues$outboundSchema` instead. */
|
|
146
|
+
const outboundSchema: z.ZodType<Issues$Outbound, z.ZodTypeDef, Issues>;
|
|
147
|
+
/** @deprecated use `Issues$Outbound` instead. */
|
|
148
|
+
type Outbound = Issues$Outbound;
|
|
149
|
+
}
|
|
150
|
+
export declare function issuesToJSON(issues: Issues): string;
|
|
151
|
+
export declare function issuesFromJSON(jsonString: string): SafeParseResult<Issues, SDKValidationError>;
|
|
152
|
+
/** @internal */
|
|
25
153
|
export declare const ActivityNotificationStepResponseDto$inboundSchema: z.ZodType<ActivityNotificationStepResponseDto, z.ZodTypeDef, unknown>;
|
|
26
154
|
/** @internal */
|
|
27
155
|
export type ActivityNotificationStepResponseDto$Outbound = {
|
|
28
156
|
_id: string;
|
|
29
157
|
active: boolean;
|
|
30
|
-
|
|
158
|
+
replyCallback?: ActivityNotificationStepResponseDtoReplyCallback$Outbound | undefined;
|
|
159
|
+
controlVariables?: ControlVariables$Outbound | undefined;
|
|
160
|
+
metadata?: Metadata$Outbound | undefined;
|
|
161
|
+
issues?: Issues$Outbound | undefined;
|
|
162
|
+
filters: Array<StepFilterDto$Outbound>;
|
|
31
163
|
template?: MessageTemplateDto$Outbound | undefined;
|
|
164
|
+
variants?: Array<ActivityNotificationStepResponseDto$Outbound> | undefined;
|
|
165
|
+
_templateId: string;
|
|
166
|
+
name?: string | undefined;
|
|
167
|
+
_parentId?: string | null | undefined;
|
|
32
168
|
};
|
|
33
169
|
/** @internal */
|
|
34
170
|
export declare const ActivityNotificationStepResponseDto$outboundSchema: z.ZodType<ActivityNotificationStepResponseDto$Outbound, z.ZodTypeDef, ActivityNotificationStepResponseDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationstepresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/activitynotificationstepresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"activitynotificationstepresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/activitynotificationstepresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,gDAAgD,GAAG,EAAE,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,EAAE,CAAC;AAExB,MAAM,MAAM,mCAAmC,GAAG;IAChD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,aAAa,CAAC,EAAE,gDAAgD,GAAG,SAAS,CAAC;IAC7E;;OAEG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AAG,SAAS,CAAC;IACrC,OAAO,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,4CAA4C,CAAC,GAAG,SAAS,CAAC;IAC3E,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAwBnC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE;AAED,wBAAgB,yCAAyC,CACvD,mCAAmC,EAAE,mCAAmC,GACvE,MAAM,CAMR;AAED,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -26,32 +26,145 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.activityNotificationStepResponseDtoFromJSON = exports.activityNotificationStepResponseDtoToJSON = exports.ActivityNotificationStepResponseDto$ = exports.ActivityNotificationStepResponseDto$outboundSchema = exports.ActivityNotificationStepResponseDto$inboundSchema = void 0;
|
|
29
|
+
exports.activityNotificationStepResponseDtoFromJSON = exports.activityNotificationStepResponseDtoToJSON = exports.ActivityNotificationStepResponseDto$ = exports.ActivityNotificationStepResponseDto$outboundSchema = exports.ActivityNotificationStepResponseDto$inboundSchema = exports.issuesFromJSON = exports.issuesToJSON = exports.Issues$ = exports.Issues$outboundSchema = exports.Issues$inboundSchema = exports.metadataFromJSON = exports.metadataToJSON = exports.Metadata$ = exports.Metadata$outboundSchema = exports.Metadata$inboundSchema = exports.controlVariablesFromJSON = exports.controlVariablesToJSON = exports.ControlVariables$ = exports.ControlVariables$outboundSchema = exports.ControlVariables$inboundSchema = exports.activityNotificationStepResponseDtoReplyCallbackFromJSON = exports.activityNotificationStepResponseDtoReplyCallbackToJSON = exports.ActivityNotificationStepResponseDtoReplyCallback$ = exports.ActivityNotificationStepResponseDtoReplyCallback$outboundSchema = exports.ActivityNotificationStepResponseDtoReplyCallback$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
33
|
const messagetemplatedto_js_1 = require("./messagetemplatedto.js");
|
|
34
|
-
const
|
|
34
|
+
const stepfilterdto_js_1 = require("./stepfilterdto.js");
|
|
35
|
+
/** @internal */
|
|
36
|
+
exports.ActivityNotificationStepResponseDtoReplyCallback$inboundSchema = z.object({});
|
|
37
|
+
/** @internal */
|
|
38
|
+
exports.ActivityNotificationStepResponseDtoReplyCallback$outboundSchema = z.object({});
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
var ActivityNotificationStepResponseDtoReplyCallback$;
|
|
44
|
+
(function (ActivityNotificationStepResponseDtoReplyCallback$) {
|
|
45
|
+
/** @deprecated use `ActivityNotificationStepResponseDtoReplyCallback$inboundSchema` instead. */
|
|
46
|
+
ActivityNotificationStepResponseDtoReplyCallback$.inboundSchema = exports.ActivityNotificationStepResponseDtoReplyCallback$inboundSchema;
|
|
47
|
+
/** @deprecated use `ActivityNotificationStepResponseDtoReplyCallback$outboundSchema` instead. */
|
|
48
|
+
ActivityNotificationStepResponseDtoReplyCallback$.outboundSchema = exports.ActivityNotificationStepResponseDtoReplyCallback$outboundSchema;
|
|
49
|
+
})(ActivityNotificationStepResponseDtoReplyCallback$ || (exports.ActivityNotificationStepResponseDtoReplyCallback$ = ActivityNotificationStepResponseDtoReplyCallback$ = {}));
|
|
50
|
+
function activityNotificationStepResponseDtoReplyCallbackToJSON(activityNotificationStepResponseDtoReplyCallback) {
|
|
51
|
+
return JSON.stringify(exports.ActivityNotificationStepResponseDtoReplyCallback$outboundSchema.parse(activityNotificationStepResponseDtoReplyCallback));
|
|
52
|
+
}
|
|
53
|
+
exports.activityNotificationStepResponseDtoReplyCallbackToJSON = activityNotificationStepResponseDtoReplyCallbackToJSON;
|
|
54
|
+
function activityNotificationStepResponseDtoReplyCallbackFromJSON(jsonString) {
|
|
55
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ActivityNotificationStepResponseDtoReplyCallback$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ActivityNotificationStepResponseDtoReplyCallback' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
exports.activityNotificationStepResponseDtoReplyCallbackFromJSON = activityNotificationStepResponseDtoReplyCallbackFromJSON;
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.ControlVariables$inboundSchema = z.object({});
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.ControlVariables$outboundSchema = z.object({});
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
var ControlVariables$;
|
|
67
|
+
(function (ControlVariables$) {
|
|
68
|
+
/** @deprecated use `ControlVariables$inboundSchema` instead. */
|
|
69
|
+
ControlVariables$.inboundSchema = exports.ControlVariables$inboundSchema;
|
|
70
|
+
/** @deprecated use `ControlVariables$outboundSchema` instead. */
|
|
71
|
+
ControlVariables$.outboundSchema = exports.ControlVariables$outboundSchema;
|
|
72
|
+
})(ControlVariables$ || (exports.ControlVariables$ = ControlVariables$ = {}));
|
|
73
|
+
function controlVariablesToJSON(controlVariables) {
|
|
74
|
+
return JSON.stringify(exports.ControlVariables$outboundSchema.parse(controlVariables));
|
|
75
|
+
}
|
|
76
|
+
exports.controlVariablesToJSON = controlVariablesToJSON;
|
|
77
|
+
function controlVariablesFromJSON(jsonString) {
|
|
78
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ControlVariables$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ControlVariables' from JSON`);
|
|
79
|
+
}
|
|
80
|
+
exports.controlVariablesFromJSON = controlVariablesFromJSON;
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.Metadata$inboundSchema = z.object({});
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.Metadata$outboundSchema = z.object({});
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
var Metadata$;
|
|
90
|
+
(function (Metadata$) {
|
|
91
|
+
/** @deprecated use `Metadata$inboundSchema` instead. */
|
|
92
|
+
Metadata$.inboundSchema = exports.Metadata$inboundSchema;
|
|
93
|
+
/** @deprecated use `Metadata$outboundSchema` instead. */
|
|
94
|
+
Metadata$.outboundSchema = exports.Metadata$outboundSchema;
|
|
95
|
+
})(Metadata$ || (exports.Metadata$ = Metadata$ = {}));
|
|
96
|
+
function metadataToJSON(metadata) {
|
|
97
|
+
return JSON.stringify(exports.Metadata$outboundSchema.parse(metadata));
|
|
98
|
+
}
|
|
99
|
+
exports.metadataToJSON = metadataToJSON;
|
|
100
|
+
function metadataFromJSON(jsonString) {
|
|
101
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Metadata$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Metadata' from JSON`);
|
|
102
|
+
}
|
|
103
|
+
exports.metadataFromJSON = metadataFromJSON;
|
|
104
|
+
/** @internal */
|
|
105
|
+
exports.Issues$inboundSchema = z
|
|
106
|
+
.object({});
|
|
107
|
+
/** @internal */
|
|
108
|
+
exports.Issues$outboundSchema = z.object({});
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
112
|
+
*/
|
|
113
|
+
var Issues$;
|
|
114
|
+
(function (Issues$) {
|
|
115
|
+
/** @deprecated use `Issues$inboundSchema` instead. */
|
|
116
|
+
Issues$.inboundSchema = exports.Issues$inboundSchema;
|
|
117
|
+
/** @deprecated use `Issues$outboundSchema` instead. */
|
|
118
|
+
Issues$.outboundSchema = exports.Issues$outboundSchema;
|
|
119
|
+
})(Issues$ || (exports.Issues$ = Issues$ = {}));
|
|
120
|
+
function issuesToJSON(issues) {
|
|
121
|
+
return JSON.stringify(exports.Issues$outboundSchema.parse(issues));
|
|
122
|
+
}
|
|
123
|
+
exports.issuesToJSON = issuesToJSON;
|
|
124
|
+
function issuesFromJSON(jsonString) {
|
|
125
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Issues$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Issues' from JSON`);
|
|
126
|
+
}
|
|
127
|
+
exports.issuesFromJSON = issuesFromJSON;
|
|
35
128
|
/** @internal */
|
|
36
129
|
exports.ActivityNotificationStepResponseDto$inboundSchema = z.object({
|
|
37
130
|
_id: z.string(),
|
|
38
131
|
active: z.boolean(),
|
|
39
|
-
|
|
132
|
+
replyCallback: z.lazy(() => exports.ActivityNotificationStepResponseDtoReplyCallback$inboundSchema).optional(),
|
|
133
|
+
controlVariables: z.lazy(() => exports.ControlVariables$inboundSchema).optional(),
|
|
134
|
+
metadata: z.lazy(() => exports.Metadata$inboundSchema).optional(),
|
|
135
|
+
issues: z.lazy(() => exports.Issues$inboundSchema).optional(),
|
|
136
|
+
filters: z.array(stepfilterdto_js_1.StepFilterDto$inboundSchema),
|
|
40
137
|
template: messagetemplatedto_js_1.MessageTemplateDto$inboundSchema.optional(),
|
|
138
|
+
variants: z.array(z.lazy(() => exports.ActivityNotificationStepResponseDto$inboundSchema)).optional(),
|
|
139
|
+
_templateId: z.string(),
|
|
140
|
+
name: z.string().optional(),
|
|
141
|
+
_parentId: z.nullable(z.string()).optional(),
|
|
41
142
|
}).transform((v) => {
|
|
42
143
|
return (0, primitives_js_1.remap)(v, {
|
|
43
144
|
"_id": "id",
|
|
145
|
+
"_templateId": "templateId",
|
|
146
|
+
"_parentId": "parentId",
|
|
44
147
|
});
|
|
45
148
|
});
|
|
46
149
|
/** @internal */
|
|
47
150
|
exports.ActivityNotificationStepResponseDto$outboundSchema = z.object({
|
|
48
151
|
id: z.string(),
|
|
49
152
|
active: z.boolean(),
|
|
50
|
-
|
|
153
|
+
replyCallback: z.lazy(() => exports.ActivityNotificationStepResponseDtoReplyCallback$outboundSchema).optional(),
|
|
154
|
+
controlVariables: z.lazy(() => exports.ControlVariables$outboundSchema).optional(),
|
|
155
|
+
metadata: z.lazy(() => exports.Metadata$outboundSchema).optional(),
|
|
156
|
+
issues: z.lazy(() => exports.Issues$outboundSchema).optional(),
|
|
157
|
+
filters: z.array(stepfilterdto_js_1.StepFilterDto$outboundSchema),
|
|
51
158
|
template: messagetemplatedto_js_1.MessageTemplateDto$outboundSchema.optional(),
|
|
159
|
+
variants: z.array(z.lazy(() => exports.ActivityNotificationStepResponseDto$outboundSchema)).optional(),
|
|
160
|
+
templateId: z.string(),
|
|
161
|
+
name: z.string().optional(),
|
|
162
|
+
parentId: z.nullable(z.string()).optional(),
|
|
52
163
|
}).transform((v) => {
|
|
53
164
|
return (0, primitives_js_1.remap)(v, {
|
|
54
165
|
id: "_id",
|
|
166
|
+
templateId: "_templateId",
|
|
167
|
+
parentId: "_parentId",
|
|
55
168
|
});
|
|
56
169
|
});
|
|
57
170
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationstepresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationstepresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,mEAKiC;AACjC,
|
|
1
|
+
{"version":3,"file":"activitynotificationstepresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationstepresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,mEAKiC;AACjC,yDAK4B;AAyE5B,gBAAgB;AACH,QAAA,8DAA8D,GAKrE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKnB,gBAAgB;AACH,QAAA,+DAA+D,GAKtE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEnB;;;GAGG;AACH,IAAiB,iDAAiD,CAUjE;AAVD,WAAiB,iDAAiD;IAChE,gGAAgG;IACnF,+DAAa,GACxB,sEAA8D,CAAC;IACjE,iGAAiG;IACpF,gEAAc,GACzB,uEAA+D,CAAC;AAIpE,CAAC,EAVgB,iDAAiD,iEAAjD,iDAAiD,QAUjE;AAED,SAAgB,sDAAsD,CACpE,gDACkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uEAA+D,CAAC,KAAK,CACnE,gDAAgD,CACjD,CACF,CAAC;AACJ,CAAC;AATD,wHASC;AAED,SAAgB,wDAAwD,CACtE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,sEAA8D,CAAC,KAAK,CAClE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,8EAA8E,CAC/E,CAAC;AACJ,CAAC;AAdD,4HAcC;AAED,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAA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ACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,yDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC;AATD,kGASC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
-
import {
|
|
4
|
+
import { NotificationTriggerDto, NotificationTriggerDto$Outbound } from "./notificationtriggerdto.js";
|
|
5
5
|
export type ActivityNotificationTemplateResponseDto = {
|
|
6
6
|
/**
|
|
7
7
|
* Unique identifier of the template
|
|
@@ -14,7 +14,7 @@ export type ActivityNotificationTemplateResponseDto = {
|
|
|
14
14
|
/**
|
|
15
15
|
* Triggers of the template
|
|
16
16
|
*/
|
|
17
|
-
triggers: Array<
|
|
17
|
+
triggers: Array<NotificationTriggerDto>;
|
|
18
18
|
};
|
|
19
19
|
/** @internal */
|
|
20
20
|
export declare const ActivityNotificationTemplateResponseDto$inboundSchema: z.ZodType<ActivityNotificationTemplateResponseDto, z.ZodTypeDef, unknown>;
|
|
@@ -22,7 +22,7 @@ export declare const ActivityNotificationTemplateResponseDto$inboundSchema: z.Zo
|
|
|
22
22
|
export type ActivityNotificationTemplateResponseDto$Outbound = {
|
|
23
23
|
_id?: string | undefined;
|
|
24
24
|
name: string;
|
|
25
|
-
triggers: Array<
|
|
25
|
+
triggers: Array<NotificationTriggerDto$Outbound>;
|
|
26
26
|
};
|
|
27
27
|
/** @internal */
|
|
28
28
|
export declare const ActivityNotificationTemplateResponseDto$outboundSchema: z.ZodType<ActivityNotificationTemplateResponseDto$Outbound, z.ZodTypeDef, ActivityNotificationTemplateResponseDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationtemplateresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/activitynotificationtemplateresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"activitynotificationtemplateresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/activitynotificationtemplateresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,uCAAuC,GAAG;IACpD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qDAAqD,EAAE,CAAC,CAAC,OAAO,CAC3E,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gDAAgD,GAAG;IAC7D,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;CAClD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CASvC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE;AAED,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR;AAED,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
|
|
@@ -30,12 +30,12 @@ exports.activityNotificationTemplateResponseDtoFromJSON = exports.activityNotifi
|
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
-
const
|
|
33
|
+
const notificationtriggerdto_js_1 = require("./notificationtriggerdto.js");
|
|
34
34
|
/** @internal */
|
|
35
35
|
exports.ActivityNotificationTemplateResponseDto$inboundSchema = z.object({
|
|
36
36
|
_id: z.string().optional(),
|
|
37
37
|
name: z.string(),
|
|
38
|
-
triggers: z.array(
|
|
38
|
+
triggers: z.array(notificationtriggerdto_js_1.NotificationTriggerDto$inboundSchema),
|
|
39
39
|
}).transform((v) => {
|
|
40
40
|
return (0, primitives_js_1.remap)(v, {
|
|
41
41
|
"_id": "id",
|
|
@@ -45,7 +45,7 @@ exports.ActivityNotificationTemplateResponseDto$inboundSchema = z.object({
|
|
|
45
45
|
exports.ActivityNotificationTemplateResponseDto$outboundSchema = z.object({
|
|
46
46
|
id: z.string().optional(),
|
|
47
47
|
name: z.string(),
|
|
48
|
-
triggers: z.array(
|
|
48
|
+
triggers: z.array(notificationtriggerdto_js_1.NotificationTriggerDto$outboundSchema),
|
|
49
49
|
}).transform((v) => {
|
|
50
50
|
return (0, primitives_js_1.remap)(v, {
|
|
51
51
|
id: "_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationtemplateresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationtemplateresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,
|
|
1
|
+
{"version":3,"file":"activitynotificationtemplateresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationtemplateresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,2EAKqC;AAiBrC,gBAAgB;AACH,QAAA,qDAAqD,GAI9D,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,gEAAoC,CAAC;CACxD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,sDAAsD,GAI/D,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,iEAAqC,CAAC;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,EAAE,EAAE,KAAK;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wCAAwC,CASxD;AATD,WAAiB,wCAAwC;IACvD,uFAAuF;IAC1E,sDAAa,GACxB,6DAAqD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,8DAAsD,CAAC;AAG3D,CAAC,EATgB,wCAAwC,wDAAxC,wCAAwC,QASxD;AAED,SAAgB,6CAA6C,CAC3D,uCACyC;IAEzC,OAAO,IAAI,CAAC,SAAS,CACnB,8DAAsD,CAAC,KAAK,CAC1D,uCAAuC,CACxC,CACF,CAAC;AACJ,CAAC;AATD,sGASC;AAED,SAAgB,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,6DAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC;AAdD,0GAcC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const BuilderFieldTypeEnum: {
|
|
4
4
|
readonly Boolean: "BOOLEAN";
|
|
5
5
|
readonly Text: "TEXT";
|
|
6
6
|
readonly Date: "DATE";
|
|
@@ -10,17 +10,17 @@ export declare const BuilderFieldType: {
|
|
|
10
10
|
readonly MultiList: "MULTI_LIST";
|
|
11
11
|
readonly Group: "GROUP";
|
|
12
12
|
};
|
|
13
|
-
export type
|
|
13
|
+
export type BuilderFieldTypeEnum = ClosedEnum<typeof BuilderFieldTypeEnum>;
|
|
14
14
|
/** @internal */
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const BuilderFieldTypeEnum$inboundSchema: z.ZodNativeEnum<typeof BuilderFieldTypeEnum>;
|
|
16
16
|
/** @internal */
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const BuilderFieldTypeEnum$outboundSchema: z.ZodNativeEnum<typeof BuilderFieldTypeEnum>;
|
|
18
18
|
/**
|
|
19
19
|
* @internal
|
|
20
20
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
21
|
*/
|
|
22
|
-
export declare namespace
|
|
23
|
-
/** @deprecated use `
|
|
22
|
+
export declare namespace BuilderFieldTypeEnum$ {
|
|
23
|
+
/** @deprecated use `BuilderFieldTypeEnum$inboundSchema` instead. */
|
|
24
24
|
const inboundSchema: z.ZodNativeEnum<{
|
|
25
25
|
readonly Boolean: "BOOLEAN";
|
|
26
26
|
readonly Text: "TEXT";
|
|
@@ -31,7 +31,7 @@ export declare namespace BuilderFieldType$ {
|
|
|
31
31
|
readonly MultiList: "MULTI_LIST";
|
|
32
32
|
readonly Group: "GROUP";
|
|
33
33
|
}>;
|
|
34
|
-
/** @deprecated use `
|
|
34
|
+
/** @deprecated use `BuilderFieldTypeEnum$outboundSchema` instead. */
|
|
35
35
|
const outboundSchema: z.ZodNativeEnum<{
|
|
36
36
|
readonly Boolean: "BOOLEAN";
|
|
37
37
|
readonly Text: "TEXT";
|
|
@@ -43,4 +43,4 @@ export declare namespace BuilderFieldType$ {
|
|
|
43
43
|
readonly Group: "GROUP";
|
|
44
44
|
}>;
|
|
45
45
|
}
|
|
46
|
-
//# sourceMappingURL=
|
|
46
|
+
//# sourceMappingURL=builderfieldtypeenum.d.ts.map
|