@novu/api 0.0.1-alpha.99 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -24
- package/RUNTIMES.md +27 -1
- package/codeSamples.json +1772 -0
- package/docs/sdks/admin/README.md +159 -0
- package/docs/sdks/authentication/README.md +16 -10
- package/docs/sdks/credentials/README.md +28 -17
- package/docs/sdks/integrations/README.md +49 -25
- package/docs/sdks/messages/README.md +23 -12
- package/docs/sdks/notifications/README.md +19 -12
- package/docs/sdks/novu/README.md +37 -22
- package/docs/sdks/novumessages/README.md +23 -12
- package/docs/sdks/novunotifications/README.md +16 -10
- package/docs/sdks/novusubscribers/README.md +24 -12
- package/docs/sdks/preferences/README.md +34 -20
- package/docs/sdks/properties/README.md +8 -4
- package/docs/sdks/stats/README.md +16 -8
- package/docs/sdks/subscribers/README.md +94 -30
- package/docs/sdks/topics/README.md +51 -24
- package/docs/sdks/webhooks/README.md +8 -4
- package/funcs/adminHealthControllerHealthCheck.d.ts +10 -0
- package/funcs/adminHealthControllerHealthCheck.d.ts.map +1 -0
- package/funcs/adminHealthControllerHealthCheck.js +109 -0
- package/funcs/adminHealthControllerHealthCheck.js.map +1 -0
- package/funcs/adminTestIdempotency.d.ts +11 -0
- package/funcs/adminTestIdempotency.d.ts.map +1 -0
- package/funcs/adminTestIdempotency.js +129 -0
- package/funcs/adminTestIdempotency.js.map +1 -0
- package/funcs/cancel.d.ts +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +29 -9
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +37 -12
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +29 -9
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +41 -9
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +42 -9
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +29 -9
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +29 -9
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +29 -9
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.d.ts +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +29 -9
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +29 -9
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +27 -8
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +29 -8
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +29 -9
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +29 -9
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +41 -9
- package/funcs/notificationsStatsRetrieve.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +27 -8
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts +7 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +35 -10
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
- package/funcs/subscribersCreate.d.ts +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +37 -12
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +38 -14
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts +1 -2
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +29 -10
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +29 -9
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +29 -9
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts +1 -1
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +29 -9
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersList.d.ts +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +32 -12
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +29 -9
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +29 -9
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +27 -8
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +27 -8
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +27 -8
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +29 -9
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +28 -9
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +29 -10
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +29 -9
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +29 -9
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +29 -9
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersUpdate.d.ts +1 -1
- package/funcs/subscribersUpdate.d.ts.map +1 -1
- package/funcs/subscribersUpdate.js +29 -9
- package/funcs/subscribersUpdate.js.map +1 -1
- package/funcs/topicsCreate.d.ts +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +36 -12
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +29 -9
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.d.ts +2 -2
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +28 -9
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.d.ts +1 -1
- package/funcs/topicsRename.d.ts.map +1 -1
- package/funcs/topicsRename.js +29 -9
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.d.ts +1 -1
- package/funcs/topicsRetrieve.d.ts.map +1 -1
- package/funcs/topicsRetrieve.js +29 -9
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.d.ts +1 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
- package/funcs/topicsSubscribersAssign.js +29 -9
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.d.ts +1 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
- package/funcs/topicsSubscribersRemove.js +29 -9
- package/funcs/topicsSubscribersRemove.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +29 -9
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.d.ts +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +36 -12
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts +1 -2
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +37 -13
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +36 -12
- package/funcs/triggerBulk.js.map +1 -1
- package/hooks/novu-custom-hook.d.ts +7 -2
- package/hooks/novu-custom-hook.d.ts.map +1 -1
- package/hooks/novu-custom-hook.js +34 -1
- package/hooks/novu-custom-hook.js.map +1 -1
- package/hooks/registration.d.ts.map +1 -1
- package/hooks/registration.js +4 -3
- package/hooks/registration.js.map +1 -1
- package/jsr.json +27 -0
- package/lib/config.d.ts +3 -3
- package/lib/config.js +4 -5
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +92 -67
- package/lib/encodings.js.map +1 -1
- package/lib/http.js +1 -2
- package/lib/http.js.map +1 -1
- package/lib/matchers.js +5 -6
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +12 -2
- package/lib/primitives.js.map +1 -1
- package/lib/retries.js +3 -4
- package/lib/retries.js.map +1 -1
- package/lib/sdks.d.ts +5 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +20 -17
- package/lib/sdks.js.map +1 -1
- package/lib/security.js +2 -2
- package/lib/security.js.map +1 -1
- package/lib/url.js +1 -1
- package/lib/url.js.map +1 -1
- package/models/components/activitiesresponsedto.d.ts +10 -1
- package/models/components/activitiesresponsedto.d.ts.map +1 -1
- package/models/components/activitiesresponsedto.js.map +1 -1
- package/models/components/activitygraphstatesresponse.d.ts +8 -8
- package/models/components/activitygraphstatesresponse.d.ts.map +1 -1
- package/models/components/activitygraphstatesresponse.js +14 -13
- package/models/components/activitygraphstatesresponse.js.map +1 -1
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts +75 -0
- package/models/components/activitynotificationexecutiondetailresponsedto.d.ts.map +1 -0
- package/models/components/activitynotificationexecutiondetailresponsedto.js +87 -0
- package/models/components/activitynotificationexecutiondetailresponsedto.js.map +1 -0
- package/models/components/activitynotificationjobresponsedto.d.ts +153 -0
- package/models/components/activitynotificationjobresponsedto.d.ts.map +1 -0
- package/models/components/activitynotificationjobresponsedto.js +140 -0
- package/models/components/activitynotificationjobresponsedto.js.map +1 -0
- package/models/components/activitynotificationresponsedto.d.ts +135 -44
- package/models/components/activitynotificationresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationresponsedto.js +94 -26
- package/models/components/activitynotificationresponsedto.js.map +1 -1
- package/models/components/activitynotificationstepresponsedto.d.ts +185 -0
- package/models/components/activitynotificationstepresponsedto.d.ts.map +1 -0
- package/models/components/activitynotificationstepresponsedto.js +189 -0
- package/models/components/activitynotificationstepresponsedto.js.map +1 -0
- package/models/components/activitynotificationsubscriberresponsedto.d.ts +20 -0
- package/models/components/activitynotificationsubscriberresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationsubscriberresponsedto.js +2 -0
- package/models/components/activitynotificationsubscriberresponsedto.js.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.d.ts +12 -2
- package/models/components/activitynotificationtemplateresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.js +3 -2
- 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/bulkcreatesubscriberresponsedto.d.ts +45 -0
- package/models/components/bulkcreatesubscriberresponsedto.d.ts.map +1 -0
- package/models/components/bulkcreatesubscriberresponsedto.js +66 -0
- package/models/components/bulkcreatesubscriberresponsedto.js.map +1 -0
- package/models/components/bulksubscribercreatedto.d.ts +3 -2
- package/models/components/bulksubscribercreatedto.d.ts.map +1 -1
- package/models/components/bulksubscribercreatedto.js +3 -2
- package/models/components/bulksubscribercreatedto.js.map +1 -1
- package/models/components/buttontypeenum.d.ts +34 -0
- package/models/components/buttontypeenum.d.ts.map +1 -0
- package/models/components/buttontypeenum.js +53 -0
- package/models/components/buttontypeenum.js.map +1 -0
- package/models/components/channelcredentials.d.ts +10 -10
- package/models/components/channelcredentials.d.ts.map +1 -1
- package/models/components/channelcredentials.js +2 -2
- package/models/components/channelcredentials.js.map +1 -1
- package/models/components/channelctatypeenum.d.ts +31 -0
- package/models/components/channelctatypeenum.d.ts.map +1 -0
- package/models/components/channelctatypeenum.js +52 -0
- package/models/components/channelctatypeenum.js.map +1 -0
- package/models/components/channelpreference.d.ts +3 -43
- package/models/components/channelpreference.d.ts.map +1 -1
- package/models/components/channelpreference.js +4 -28
- package/models/components/channelpreference.js.map +1 -1
- package/models/components/channeltypeenum.d.ts +2 -2
- package/models/components/channeltypeenum.js +1 -1
- package/models/components/createdsubscriberdto.d.ts +32 -0
- package/models/components/createdsubscriberdto.d.ts.map +1 -0
- package/models/components/createdsubscriberdto.js +59 -0
- package/models/components/createdsubscriberdto.js.map +1 -0
- package/models/components/createintegrationrequestdto.d.ts +3 -3
- package/models/components/createintegrationrequestdto.d.ts.map +1 -1
- package/models/components/createintegrationrequestdto.js +3 -3
- package/models/components/createintegrationrequestdto.js.map +1 -1
- package/models/components/digestmetadatadto.d.ts +128 -0
- package/models/components/digestmetadatadto.d.ts.map +1 -0
- package/models/components/digestmetadatadto.js +106 -0
- package/models/components/digestmetadatadto.js.map +1 -0
- package/models/components/digestregularmetadata.d.ts +8 -8
- package/models/components/digestregularmetadata.d.ts.map +1 -1
- package/models/components/digestregularmetadata.js +13 -13
- package/models/components/digestregularmetadata.js.map +1 -1
- 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/emailblock.d.ts +14 -27
- package/models/components/emailblock.d.ts.map +1 -1
- package/models/components/emailblock.js +4 -22
- package/models/components/emailblock.js.map +1 -1
- package/models/components/emailblockstyles.d.ts +5 -30
- package/models/components/emailblockstyles.d.ts.map +1 -1
- package/models/components/emailblockstyles.js +4 -24
- package/models/components/emailblockstyles.js.map +1 -1
- package/models/components/emailblocktypeenum.d.ts +34 -0
- package/models/components/emailblocktypeenum.d.ts.map +1 -0
- package/models/components/emailblocktypeenum.js +53 -0
- package/models/components/emailblocktypeenum.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/failedoperationdto.d.ts +37 -0
- package/models/components/failedoperationdto.d.ts.map +1 -0
- package/models/components/failedoperationdto.js +61 -0
- package/models/components/failedoperationdto.js.map +1 -0
- package/models/components/{fieldfilterpart.d.ts → fieldfilterpartdto.d.ts} +14 -14
- package/models/components/fieldfilterpartdto.d.ts.map +1 -0
- package/models/components/{fieldfilterpart.js → fieldfilterpartdto.js} +17 -17
- package/models/components/fieldfilterpartdto.js.map +1 -0
- package/models/components/filtertopicsresponsedto.d.ts +12 -0
- package/models/components/filtertopicsresponsedto.d.ts.map +1 -1
- package/models/components/filtertopicsresponsedto.js.map +1 -1
- package/models/components/idempotencetestingresponse.d.ts +32 -0
- package/models/components/idempotencetestingresponse.d.ts.map +1 -0
- package/models/components/idempotencetestingresponse.js +59 -0
- package/models/components/idempotencetestingresponse.js.map +1 -0
- package/models/components/idempotencybehaviorenum.d.ts +37 -0
- package/models/components/idempotencybehaviorenum.d.ts.map +1 -0
- package/models/components/idempotencybehaviorenum.js +54 -0
- package/models/components/idempotencybehaviorenum.js.map +1 -0
- package/models/components/idempotencytestingdto.d.ts +33 -0
- package/models/components/idempotencytestingdto.d.ts.map +1 -0
- package/models/components/idempotencytestingdto.js +60 -0
- package/models/components/idempotencytestingdto.js.map +1 -0
- package/models/components/index.d.ts +40 -6
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +40 -6
- package/models/components/index.js.map +1 -1
- package/models/components/integrationresponsedto.d.ts +3 -3
- package/models/components/integrationresponsedto.d.ts.map +1 -1
- package/models/components/integrationresponsedto.js +3 -3
- package/models/components/integrationresponsedto.js.map +1 -1
- package/models/components/messageaction.d.ts +11 -27
- package/models/components/messageaction.d.ts.map +1 -1
- package/models/components/messageaction.js +4 -22
- package/models/components/messageaction.js.map +1 -1
- package/models/components/messageactionresult.d.ts +26 -42
- package/models/components/messageactionresult.d.ts.map +1 -1
- package/models/components/messageactionresult.js +21 -39
- package/models/components/messageactionresult.js.map +1 -1
- package/models/components/messageactionstatusenum.d.ts +34 -0
- package/models/components/messageactionstatusenum.d.ts.map +1 -0
- package/models/components/messageactionstatusenum.js +53 -0
- package/models/components/messageactionstatusenum.js.map +1 -0
- package/models/components/messagebutton.d.ts +11 -27
- package/models/components/messagebutton.d.ts.map +1 -1
- package/models/components/messagebutton.js +4 -22
- package/models/components/messagebutton.js.map +1 -1
- package/models/components/messagecta.d.ts +11 -24
- package/models/components/messagecta.d.ts.map +1 -1
- package/models/components/messagecta.js +4 -21
- package/models/components/messagecta.js.map +1 -1
- package/models/components/messagectadata.d.ts +3 -0
- package/models/components/messagectadata.d.ts.map +1 -1
- package/models/components/messagectadata.js.map +1 -1
- package/models/components/messageresponsedto.d.ts +107 -96
- package/models/components/messageresponsedto.d.ts.map +1 -1
- package/models/components/messageresponsedto.js +18 -81
- package/models/components/messageresponsedto.js.map +1 -1
- package/models/components/messagestatusenum.d.ts +37 -0
- package/models/components/messagestatusenum.d.ts.map +1 -0
- package/models/components/messagestatusenum.js +54 -0
- package/models/components/messagestatusenum.js.map +1 -0
- package/models/components/messagetemplatedto.d.ts +25 -0
- package/models/components/messagetemplatedto.d.ts.map +1 -0
- package/models/components/messagetemplatedto.js +55 -0
- package/models/components/messagetemplatedto.js.map +1 -0
- 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/notificationfeeditemdto.d.ts +1 -1
- 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/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/notificationtriggerresponse.d.ts +55 -0
- package/models/components/notificationtriggerresponse.d.ts.map +1 -0
- package/models/components/notificationtriggerresponse.js +72 -0
- package/models/components/notificationtriggerresponse.js.map +1 -0
- package/models/components/notificationtriggervariable.d.ts +3 -0
- package/models/components/notificationtriggervariable.d.ts.map +1 -1
- package/models/components/notificationtriggervariable.js.map +1 -1
- package/models/components/notificationtriggervariableresponse.d.ts +101 -0
- package/models/components/notificationtriggervariableresponse.d.ts.map +1 -0
- package/models/components/notificationtriggervariableresponse.js +112 -0
- package/models/components/notificationtriggervariableresponse.js.map +1 -0
- package/models/components/ordinalenum.d.ts +46 -0
- package/models/components/ordinalenum.d.ts.map +1 -0
- package/models/components/ordinalenum.js +58 -0
- 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/providersidenum.d.ts +235 -0
- package/models/components/providersidenum.d.ts.map +1 -0
- package/models/components/providersidenum.js +120 -0
- package/models/components/providersidenum.js.map +1 -0
- package/models/components/replycallback.d.ts +37 -0
- package/models/components/replycallback.d.ts.map +1 -0
- package/models/components/{messageentity.js → replycallback.js} +23 -17
- package/models/components/replycallback.js.map +1 -0
- package/models/components/{stepfilter.d.ts → stepfilterdto.d.ts} +19 -19
- package/models/components/stepfilterdto.d.ts.map +1 -0
- package/models/components/{stepfilter.js → stepfilterdto.js} +23 -23
- package/models/components/stepfilterdto.js.map +1 -0
- package/models/components/steptypeenum.d.ts +55 -0
- package/models/components/steptypeenum.d.ts.map +1 -0
- package/models/components/steptypeenum.js +60 -0
- package/models/components/steptypeenum.js.map +1 -0
- package/models/components/subscriberresponsedto.d.ts +2 -2
- package/models/components/subscriberresponsedto.d.ts.map +1 -1
- package/models/components/subscriberresponsedto.js +2 -2
- package/models/components/subscriberresponsedto.js.map +1 -1
- package/models/components/templateresponse.d.ts +3 -2
- package/models/components/templateresponse.d.ts.map +1 -1
- package/models/components/templateresponse.js +3 -2
- package/models/components/templateresponse.js.map +1 -1
- package/models/components/textalignenum.d.ts +37 -0
- package/models/components/textalignenum.d.ts.map +1 -0
- package/models/components/textalignenum.js +54 -0
- package/models/components/textalignenum.js.map +1 -0
- 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/triggereventrequestdto.d.ts +0 -2
- package/models/components/triggereventrequestdto.d.ts.map +1 -1
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/models/components/triggereventresponsedto.d.ts +0 -3
- package/models/components/triggereventresponsedto.d.ts.map +1 -1
- package/models/components/triggereventresponsedto.js +0 -1
- package/models/components/triggereventresponsedto.js.map +1 -1
- package/models/components/triggerreservedvariableresponse.d.ts +69 -0
- package/models/components/triggerreservedvariableresponse.d.ts.map +1 -0
- package/models/components/triggerreservedvariableresponse.js +83 -0
- package/models/components/triggerreservedvariableresponse.js.map +1 -0
- package/models/components/triggertypeenum.d.ts +31 -0
- package/models/components/triggertypeenum.d.ts.map +1 -0
- package/models/components/triggertypeenum.js +52 -0
- package/models/components/triggertypeenum.js.map +1 -0
- package/models/components/updatedsubscriberdto.d.ts +32 -0
- package/models/components/updatedsubscriberdto.d.ts.map +1 -0
- package/models/components/updatedsubscriberdto.js +59 -0
- package/models/components/updatedsubscriberdto.js.map +1 -0
- package/models/components/updateintegrationrequestdto.d.ts +3 -3
- package/models/components/updateintegrationrequestdto.d.ts.map +1 -1
- package/models/components/updateintegrationrequestdto.js +3 -3
- package/models/components/updateintegrationrequestdto.js.map +1 -1
- package/models/components/updatesubscriberpreferenceglobalresponsedto.d.ts +33 -0
- package/models/components/updatesubscriberpreferenceglobalresponsedto.d.ts.map +1 -0
- package/models/components/updatesubscriberpreferenceglobalresponsedto.js +60 -0
- package/models/components/updatesubscriberpreferenceglobalresponsedto.js.map +1 -0
- package/models/components/updatesubscriberpreferencerequestdto.d.ts +2 -2
- package/models/components/updatesubscriberrequestdto.d.ts +33 -25
- package/models/components/updatesubscriberrequestdto.d.ts.map +1 -1
- package/models/components/updatesubscriberrequestdto.js +6 -28
- package/models/components/updatesubscriberrequestdto.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/errors/healthcontrollerhealthcheck.d.ts +153 -0
- package/models/errors/healthcontrollerhealthcheck.d.ts.map +1 -0
- package/models/errors/healthcontrollerhealthcheck.js +190 -0
- package/models/errors/healthcontrollerhealthcheck.js.map +1 -0
- package/models/errors/httpclienterrors.js +2 -2
- package/models/errors/httpclienterrors.js.map +1 -1
- package/models/errors/index.d.ts +2 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +2 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/validationerrordto.d.ts +171 -0
- package/models/errors/validationerrordto.d.ts.map +1 -0
- package/models/errors/validationerrordto.js +165 -0
- package/models/errors/validationerrordto.js.map +1 -0
- package/models/operations/eventscontrollerbroadcasteventtoall.d.ts +30 -0
- package/models/operations/eventscontrollerbroadcasteventtoall.d.ts.map +1 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.js +40 -1
- package/models/operations/eventscontrollerbroadcasteventtoall.js.map +1 -1
- package/models/operations/eventscontrollercancel.d.ts +5 -0
- package/models/operations/eventscontrollercancel.d.ts.map +1 -1
- package/models/operations/eventscontrollercancel.js +10 -0
- package/models/operations/eventscontrollercancel.js.map +1 -1
- package/models/operations/eventscontrollertrigger.d.ts +30 -0
- package/models/operations/eventscontrollertrigger.d.ts.map +1 -1
- package/models/operations/eventscontrollertrigger.js +40 -1
- package/models/operations/eventscontrollertrigger.js.map +1 -1
- package/models/operations/eventscontrollertriggerbulk.d.ts +30 -0
- package/models/operations/eventscontrollertriggerbulk.d.ts.map +1 -1
- package/models/operations/eventscontrollertriggerbulk.js +40 -1
- package/models/operations/eventscontrollertriggerbulk.js.map +1 -1
- package/models/operations/healthcontrollerhealthcheck.d.ts +165 -0
- package/models/operations/healthcontrollerhealthcheck.d.ts.map +1 -0
- package/models/operations/healthcontrollerhealthcheck.js +206 -0
- package/models/operations/healthcontrollerhealthcheck.js.map +1 -0
- package/models/operations/healthcontrollertestidempotency.d.ts +66 -0
- package/models/operations/healthcontrollertestidempotency.d.ts.map +1 -0
- package/models/operations/healthcontrollertestidempotency.js +112 -0
- package/models/operations/healthcontrollertestidempotency.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/integrationscontrollercreateintegration.d.ts +30 -0
- package/models/operations/integrationscontrollercreateintegration.d.ts.map +1 -1
- package/models/operations/integrationscontrollercreateintegration.js +40 -1
- package/models/operations/integrationscontrollercreateintegration.js.map +1 -1
- package/models/operations/integrationscontrollergetactiveintegrations.d.ts +28 -0
- package/models/operations/integrationscontrollergetactiveintegrations.d.ts.map +1 -1
- package/models/operations/integrationscontrollergetactiveintegrations.js +36 -1
- package/models/operations/integrationscontrollergetactiveintegrations.js.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts +5 -0
- package/models/operations/integrationscontrollergetwebhooksupportstatus.d.ts.map +1 -1
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js +10 -0
- package/models/operations/integrationscontrollergetwebhooksupportstatus.js.map +1 -1
- package/models/operations/integrationscontrollerlistintegrations.d.ts +28 -0
- package/models/operations/integrationscontrollerlistintegrations.d.ts.map +1 -1
- package/models/operations/integrationscontrollerlistintegrations.js +36 -1
- package/models/operations/integrationscontrollerlistintegrations.js.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.d.ts +5 -0
- package/models/operations/integrationscontrollerremoveintegration.d.ts.map +1 -1
- package/models/operations/integrationscontrollerremoveintegration.js +10 -0
- package/models/operations/integrationscontrollerremoveintegration.js.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts +5 -0
- package/models/operations/integrationscontrollersetintegrationasprimary.d.ts.map +1 -1
- package/models/operations/integrationscontrollersetintegrationasprimary.js +10 -0
- package/models/operations/integrationscontrollersetintegrationasprimary.js.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts +5 -0
- package/models/operations/integrationscontrollerupdateintegrationbyid.d.ts.map +1 -1
- package/models/operations/integrationscontrollerupdateintegrationbyid.js +4 -0
- package/models/operations/integrationscontrollerupdateintegrationbyid.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.d.ts +5 -0
- package/models/operations/messagescontrollerdeletemessage.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessage.js +10 -0
- package/models/operations/messagescontrollerdeletemessage.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +5 -0
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +10 -0
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js.map +1 -1
- package/models/operations/messagescontrollergetmessages.d.ts +6 -1
- package/models/operations/messagescontrollergetmessages.d.ts.map +1 -1
- package/models/operations/messagescontrollergetmessages.js +10 -0
- package/models/operations/messagescontrollergetmessages.js.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts +5 -0
- package/models/operations/notificationscontrollergetactivitygraphstats.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetactivitygraphstats.js +10 -0
- package/models/operations/notificationscontrollergetactivitygraphstats.js.map +1 -1
- package/models/operations/notificationscontrollergetactivitystats.d.ts +28 -0
- package/models/operations/notificationscontrollergetactivitystats.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetactivitystats.js +36 -1
- package/models/operations/notificationscontrollergetactivitystats.js.map +1 -1
- package/models/operations/notificationscontrollergetnotification.d.ts +5 -0
- package/models/operations/notificationscontrollergetnotification.d.ts.map +1 -1
- package/models/operations/notificationscontrollergetnotification.js +10 -0
- package/models/operations/notificationscontrollergetnotification.js.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.d.ts +36 -36
- package/models/operations/notificationscontrollerlistnotifications.d.ts.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +17 -26
- package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +33 -0
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +45 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js.map +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +14 -0
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +10 -0
- package/models/operations/subscriberscontrollerchataccessoauth.js.map +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +34 -17
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +30 -20
- package/models/operations/subscriberscontrollerchatoauthcallback.js.map +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +30 -0
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js +40 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +5 -0
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +10 -0
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +5 -0
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +10 -0
- package/models/operations/subscriberscontrollergetnotificationsfeed.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +5 -0
- package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +10 -0
- package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +7 -2
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +12 -2
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js.map +1 -1
- package/models/operations/subscriberscontrollergetunseencount.d.ts +14 -3
- package/models/operations/subscriberscontrollergetunseencount.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetunseencount.js +14 -4
- package/models/operations/subscriberscontrollergetunseencount.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +5 -0
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +10 -0
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +5 -0
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +10 -0
- package/models/operations/subscriberscontrollerlistsubscribers.js.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +5 -0
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +4 -0
- package/models/operations/subscriberscontrollermarkactionasseen.js.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +5 -0
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +4 -0
- package/models/operations/subscriberscontrollermarkallunreadasread.js.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +7 -2
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +6 -2
- package/models/operations/subscriberscontrollermarkmessagesas.js.map +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +5 -0
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +4 -0
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +5 -0
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerremovesubscriber.js +10 -0
- package/models/operations/subscriberscontrollerremovesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +5 -0
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +4 -0
- package/models/operations/subscriberscontrollerupdatesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +5 -0
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +4 -0
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +7 -2
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +6 -2
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +5 -0
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +4 -0
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +7 -2
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +6 -2
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js.map +1 -1
- package/models/operations/topicscontrollerassign.d.ts +5 -0
- package/models/operations/topicscontrollerassign.d.ts.map +1 -1
- package/models/operations/topicscontrollerassign.js +4 -0
- package/models/operations/topicscontrollerassign.js.map +1 -1
- package/models/operations/topicscontrollercreatetopic.d.ts +30 -0
- package/models/operations/topicscontrollercreatetopic.d.ts.map +1 -1
- package/models/operations/topicscontrollercreatetopic.js +40 -1
- package/models/operations/topicscontrollercreatetopic.js.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.d.ts +5 -0
- package/models/operations/topicscontrollerdeletetopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +10 -0
- package/models/operations/topicscontrollerdeletetopic.js.map +1 -1
- package/models/operations/topicscontrollergettopic.d.ts +5 -0
- package/models/operations/topicscontrollergettopic.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopic.js +10 -0
- package/models/operations/topicscontrollergettopic.js.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +5 -0
- package/models/operations/topicscontrollergettopicsubscriber.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +10 -0
- package/models/operations/topicscontrollergettopicsubscriber.js.map +1 -1
- package/models/operations/topicscontrollerlisttopics.d.ts +8 -3
- package/models/operations/topicscontrollerlisttopics.d.ts.map +1 -1
- package/models/operations/topicscontrollerlisttopics.js +14 -4
- package/models/operations/topicscontrollerlisttopics.js.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.d.ts +5 -0
- package/models/operations/topicscontrollerremovesubscribers.d.ts.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +4 -0
- package/models/operations/topicscontrollerremovesubscribers.js.map +1 -1
- package/models/operations/topicscontrollerrenametopic.d.ts +5 -0
- package/models/operations/topicscontrollerrenametopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerrenametopic.js +4 -0
- package/models/operations/topicscontrollerrenametopic.js.map +1 -1
- package/package.json +1 -1
- package/sdk/admin.d.ts +8 -0
- package/sdk/admin.d.ts.map +1 -0
- package/sdk/admin.js +20 -0
- package/sdk/admin.js.map +1 -0
- package/sdk/authentication.d.ts +5 -1
- package/sdk/authentication.d.ts.map +1 -1
- package/sdk/authentication.js +3 -1
- package/sdk/authentication.js.map +1 -1
- package/sdk/credentials.d.ts +3 -4
- package/sdk/credentials.d.ts.map +1 -1
- package/sdk/credentials.js +6 -7
- package/sdk/credentials.js.map +1 -1
- package/sdk/integrations.d.ts +6 -6
- package/sdk/integrations.d.ts.map +1 -1
- package/sdk/integrations.js +13 -14
- package/sdk/integrations.js.map +1 -1
- package/sdk/messages.d.ts +2 -2
- package/sdk/messages.d.ts.map +1 -1
- package/sdk/messages.js +4 -4
- package/sdk/messages.js.map +1 -1
- package/sdk/notifications.d.ts +1 -1
- package/sdk/notifications.d.ts.map +1 -1
- package/sdk/notifications.js +3 -4
- package/sdk/notifications.js.map +1 -1
- package/sdk/novumessages.d.ts +2 -2
- package/sdk/novumessages.d.ts.map +1 -1
- package/sdk/novumessages.js +4 -4
- package/sdk/novumessages.js.map +1 -1
- package/sdk/novusubscribers.d.ts +3 -3
- package/sdk/novusubscribers.d.ts.map +1 -1
- package/sdk/novusubscribers.js +6 -6
- package/sdk/novusubscribers.js.map +1 -1
- package/sdk/preferences.d.ts +2 -2
- package/sdk/preferences.d.ts.map +1 -1
- package/sdk/preferences.js +4 -4
- package/sdk/preferences.js.map +1 -1
- package/sdk/properties.d.ts +1 -1
- package/sdk/properties.d.ts.map +1 -1
- package/sdk/properties.js +2 -2
- package/sdk/properties.js.map +1 -1
- package/sdk/sdk.d.ts +7 -5
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +17 -19
- package/sdk/sdk.js.map +1 -1
- package/sdk/stats.d.ts +2 -2
- package/sdk/stats.d.ts.map +1 -1
- package/sdk/stats.js +4 -4
- package/sdk/stats.js.map +1 -1
- package/sdk/subscribers.d.ts +6 -6
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +18 -24
- package/sdk/subscribers.js.map +1 -1
- package/sdk/topics.d.ts +5 -5
- package/sdk/topics.d.ts.map +1 -1
- package/sdk/topics.js +10 -11
- package/sdk/topics.js.map +1 -1
- package/sdk/webhooks.d.ts +1 -1
- package/sdk/webhooks.d.ts.map +1 -1
- package/sdk/webhooks.js +2 -2
- package/sdk/webhooks.js.map +1 -1
- package/sources/code-samples.json +2105 -0
- package/sources/json-development.json +28368 -0
- package/sources/openapi.sdk.json +13193 -0
- package/src/funcs/adminHealthControllerHealthCheck.ts +153 -0
- package/src/funcs/adminTestIdempotency.ts +190 -0
- package/src/funcs/cancel.ts +47 -7
- package/src/funcs/integrationsCreate.ts +59 -12
- package/src/funcs/integrationsDelete.ts +47 -7
- package/src/funcs/integrationsList.ts +66 -7
- package/src/funcs/integrationsListActive.ts +67 -7
- package/src/funcs/integrationsSetAsPrimary.ts +47 -7
- package/src/funcs/integrationsUpdate.ts +47 -7
- package/src/funcs/integrationsWebhooksRetrieve.ts +47 -7
- package/src/funcs/messagesDelete.ts +47 -7
- package/src/funcs/messagesDeleteByTransactionId.ts +47 -7
- package/src/funcs/messagesRetrieve.ts +46 -8
- package/src/funcs/notificationsList.ts +48 -8
- package/src/funcs/notificationsRetrieve.ts +47 -7
- package/src/funcs/notificationsStatsGraph.ts +48 -8
- package/src/funcs/notificationsStatsRetrieve.ts +66 -7
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +45 -7
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +62 -11
- package/src/funcs/subscribersCreate.ts +59 -12
- package/src/funcs/subscribersCreateBulk.ts +67 -17
- package/src/funcs/subscribersCredentialsAppend.ts +47 -8
- package/src/funcs/subscribersCredentialsDelete.ts +47 -7
- package/src/funcs/subscribersCredentialsUpdate.ts +47 -7
- package/src/funcs/subscribersDelete.ts +47 -7
- package/src/funcs/subscribersList.ts +54 -10
- package/src/funcs/subscribersMessagesMarkAll.ts +47 -7
- package/src/funcs/subscribersMessagesMarkAllAs.ts +48 -8
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +45 -7
- package/src/funcs/subscribersNotificationsFeed.ts +45 -7
- package/src/funcs/subscribersNotificationsUnseenCount.ts +45 -7
- package/src/funcs/subscribersPreferencesList.ts +47 -7
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +46 -8
- package/src/funcs/subscribersPreferencesUpdate.ts +47 -9
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +47 -7
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +47 -7
- package/src/funcs/subscribersRetrieve.ts +47 -7
- package/src/funcs/subscribersUpdate.ts +47 -7
- package/src/funcs/topicsCreate.ts +59 -12
- package/src/funcs/topicsDelete.ts +47 -7
- package/src/funcs/topicsList.ts +47 -9
- package/src/funcs/topicsRename.ts +47 -7
- package/src/funcs/topicsRetrieve.ts +47 -7
- package/src/funcs/topicsSubscribersAssign.ts +47 -7
- package/src/funcs/topicsSubscribersRemove.ts +47 -7
- package/src/funcs/topicsSubscribersRetrieve.ts +47 -7
- package/src/funcs/trigger.ts +59 -12
- package/src/funcs/triggerBroadcast.ts +59 -13
- package/src/funcs/triggerBulk.ts +59 -12
- package/src/hooks/novu-custom-hook.ts +55 -5
- package/src/hooks/registration.ts +2 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +95 -61
- package/src/lib/primitives.ts +14 -0
- package/src/lib/sdks.ts +10 -2
- package/src/lib/security.ts +1 -1
- package/src/models/components/activitiesresponsedto.ts +10 -1
- package/src/models/components/activitygraphstatesresponse.ts +14 -20
- package/src/models/components/activitynotificationexecutiondetailresponsedto.ts +163 -0
- package/src/models/components/activitynotificationjobresponsedto.ts +259 -0
- package/src/models/components/activitynotificationresponsedto.ts +260 -30
- package/src/models/components/activitynotificationstepresponsedto.ts +401 -0
- package/src/models/components/activitynotificationsubscriberresponsedto.ts +22 -0
- package/src/models/components/activitynotificationtemplateresponsedto.ts +19 -4
- package/src/models/components/builderfieldtypeenum.ts +39 -0
- package/src/models/components/bulkcreatesubscriberresponsedto.ts +103 -0
- package/src/models/components/bulksubscribercreatedto.ts +10 -4
- package/src/models/components/buttontypeenum.ts +39 -0
- package/src/models/components/channelcredentials.ts +12 -12
- package/src/models/components/channelctatypeenum.ts +38 -0
- package/src/models/components/channelpreference.ts +9 -40
- package/src/models/components/channeltypeenum.ts +2 -2
- package/src/models/components/createdsubscriberdto.ts +69 -0
- package/src/models/components/createintegrationrequestdto.ts +9 -9
- package/src/models/components/digestmetadatadto.ts +185 -0
- package/src/models/components/digestregularmetadata.ts +18 -15
- 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/emailblock.ts +20 -31
- package/src/models/components/emailblockstyles.ts +11 -30
- package/src/models/components/emailblocktypeenum.ts +39 -0
- package/src/models/components/executiondetailssourceenum.ts +43 -0
- package/src/models/components/executiondetailsstatusenum.ts +45 -0
- package/src/models/components/failedoperationdto.ts +76 -0
- package/src/models/components/{fieldfilterpart.ts → fieldfilterpartdto.ts} +23 -21
- package/src/models/components/filtertopicsresponsedto.ts +12 -0
- package/src/models/components/idempotencetestingresponse.ts +69 -0
- package/src/models/components/idempotencybehaviorenum.ts +42 -0
- package/src/models/components/idempotencytestingdto.ts +74 -0
- package/src/models/components/index.ts +40 -6
- package/src/models/components/integrationresponsedto.ts +9 -9
- package/src/models/components/messageaction.ts +17 -31
- package/src/models/components/messageactionresult.ts +48 -57
- package/src/models/components/messageactionstatusenum.ts +41 -0
- package/src/models/components/messagebutton.ts +17 -31
- package/src/models/components/messagecta.ts +17 -30
- package/src/models/components/messagectadata.ts +3 -0
- package/src/models/components/messageresponsedto.ts +130 -132
- package/src/models/components/messagestatusenum.ts +40 -0
- package/src/models/components/messagetemplatedto.ts +58 -0
- package/src/models/components/monthlytypeenum.ts +39 -0
- package/src/models/components/notificationfeeditemdto.ts +1 -1
- package/src/models/components/notificationstepdata.ts +287 -0
- package/src/models/components/notificationstepdto.ts +297 -0
- package/src/models/components/notificationtriggerdto.ts +130 -0
- package/src/models/components/notificationtriggerresponse.ts +126 -0
- package/src/models/components/notificationtriggervariable.ts +3 -0
- package/src/models/components/notificationtriggervariableresponse.ts +193 -0
- package/src/models/components/ordinalenum.ts +41 -0
- package/src/models/components/ordinalvalueenum.ts +47 -0
- package/src/models/components/providersidenum.ts +106 -0
- package/src/models/components/replycallback.ts +72 -0
- package/src/models/components/{stepfilter.ts → stepfilterdto.ts} +36 -36
- package/src/models/components/steptypeenum.ts +44 -0
- package/src/models/components/subscriberresponsedto.ts +4 -4
- package/src/models/components/templateresponse.ts +10 -4
- package/src/models/components/textalignenum.ts +40 -0
- package/src/models/components/timedconfig.ts +16 -14
- package/src/models/components/triggereventrequestdto.ts +0 -2
- package/src/models/components/triggereventresponsedto.ts +0 -1
- package/src/models/components/triggerreservedvariableresponse.ts +116 -0
- package/src/models/components/triggertypeenum.ts +38 -0
- package/src/models/components/updatedsubscriberdto.ts +69 -0
- package/src/models/components/updateintegrationrequestdto.ts +9 -9
- package/src/models/components/updatesubscriberpreferenceglobalresponsedto.ts +88 -0
- package/src/models/components/updatesubscriberpreferencerequestdto.ts +2 -2
- package/src/models/components/updatesubscriberrequestdto.ts +38 -60
- package/src/models/components/workflowresponse.ts +9 -9
- package/src/models/errors/healthcontrollerhealthcheck.ts +291 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/validationerrordto.ts +299 -0
- package/src/models/operations/eventscontrollerbroadcasteventtoall.ts +87 -0
- package/src/models/operations/eventscontrollercancel.ts +15 -0
- package/src/models/operations/eventscontrollertrigger.ts +77 -0
- package/src/models/operations/eventscontrollertriggerbulk.ts +79 -0
- package/src/models/operations/healthcontrollerhealthcheck.ts +358 -0
- package/src/models/operations/healthcontrollertestidempotency.ts +174 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/integrationscontrollercreateintegration.ts +91 -0
- package/src/models/operations/integrationscontrollergetactiveintegrations.ts +83 -0
- package/src/models/operations/integrationscontrollergetwebhooksupportstatus.ts +15 -0
- package/src/models/operations/integrationscontrollerlistintegrations.ts +82 -0
- package/src/models/operations/integrationscontrollerremoveintegration.ts +15 -0
- package/src/models/operations/integrationscontrollersetintegrationasprimary.ts +15 -0
- package/src/models/operations/integrationscontrollerupdateintegrationbyid.ts +9 -0
- package/src/models/operations/messagescontrollerdeletemessage.ts +15 -0
- package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +15 -0
- package/src/models/operations/messagescontrollergetmessages.ts +16 -1
- package/src/models/operations/notificationscontrollergetactivitygraphstats.ts +15 -0
- package/src/models/operations/notificationscontrollergetactivitystats.ts +83 -0
- package/src/models/operations/notificationscontrollergetnotification.ts +15 -0
- package/src/models/operations/notificationscontrollerlistnotifications.ts +52 -32
- package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +96 -0
- package/src/models/operations/subscriberscontrollerchataccessoauth.ts +24 -0
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +64 -37
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +90 -0
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +15 -0
- package/src/models/operations/subscriberscontrollergetnotificationsfeed.ts +15 -0
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +15 -0
- package/src/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.ts +19 -4
- package/src/models/operations/subscriberscontrollergetunseencount.ts +28 -7
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +15 -0
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +15 -0
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +9 -0
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +9 -0
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +13 -4
- package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +9 -0
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +15 -0
- package/src/models/operations/subscriberscontrollerupdatesubscriber.ts +9 -0
- package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +9 -0
- package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +15 -4
- package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +9 -0
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +13 -4
- package/src/models/operations/topicscontrollerassign.ts +9 -0
- package/src/models/operations/topicscontrollercreatetopic.ts +79 -0
- package/src/models/operations/topicscontrollerdeletetopic.ts +15 -0
- package/src/models/operations/topicscontrollergettopic.ts +15 -0
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +15 -0
- package/src/models/operations/topicscontrollerlisttopics.ts +22 -7
- package/src/models/operations/topicscontrollerremovesubscribers.ts +9 -0
- package/src/models/operations/topicscontrollerrenametopic.ts +9 -0
- package/src/sdk/admin.ts +36 -0
- package/src/sdk/authentication.ts +9 -2
- package/src/sdk/credentials.ts +6 -1
- package/src/sdk/integrations.ts +14 -2
- package/src/sdk/messages.ts +4 -0
- package/src/sdk/notifications.ts +2 -0
- package/src/sdk/novumessages.ts +4 -0
- package/src/sdk/novusubscribers.ts +6 -0
- package/src/sdk/preferences.ts +4 -0
- package/src/sdk/properties.ts +2 -0
- package/src/sdk/sdk.ts +20 -7
- package/src/sdk/stats.ts +4 -0
- package/src/sdk/subscribers.ts +17 -7
- package/src/sdk/topics.ts +11 -3
- package/src/sdk/webhooks.ts +2 -0
- package/tsconfig.json +41 -0
- package/models/components/builderfieldtype.d.ts.map +0 -1
- package/models/components/builderfieldtype.js.map +0 -1
- package/models/components/fieldfilterpart.d.ts.map +0 -1
- package/models/components/fieldfilterpart.js.map +0 -1
- package/models/components/messageentity.d.ts +0 -25
- package/models/components/messageentity.d.ts.map +0 -1
- package/models/components/messageentity.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.map +0 -1
- package/models/components/stepfilter.js.map +0 -1
- package/src/models/components/builderfieldtype.ts +0 -39
- package/src/models/components/messageentity.ts +0 -54
- package/src/models/components/notificationstep.ts +0 -341
- package/src/models/components/notificationstepvariant.ts +0 -358
|
@@ -33,6 +33,7 @@ const schemas_js_1 = require("../../lib/schemas.js");
|
|
|
33
33
|
/** @internal */
|
|
34
34
|
exports.ActivityNotificationSubscriberResponseDto$inboundSchema = z.object({
|
|
35
35
|
firstName: z.string().optional(),
|
|
36
|
+
subscriberId: z.string(),
|
|
36
37
|
_id: z.string(),
|
|
37
38
|
lastName: z.string().optional(),
|
|
38
39
|
email: z.string().optional(),
|
|
@@ -45,6 +46,7 @@ exports.ActivityNotificationSubscriberResponseDto$inboundSchema = z.object({
|
|
|
45
46
|
/** @internal */
|
|
46
47
|
exports.ActivityNotificationSubscriberResponseDto$outboundSchema = z.object({
|
|
47
48
|
firstName: z.string().optional(),
|
|
49
|
+
subscriberId: z.string(),
|
|
48
50
|
id: z.string(),
|
|
49
51
|
lastName: z.string().optional(),
|
|
50
52
|
email: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activitynotificationsubscriberresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationsubscriberresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;
|
|
1
|
+
{"version":3,"file":"activitynotificationsubscriberresponsedto.js","sourceRoot":"","sources":["../../src/models/components/activitynotificationsubscriberresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA+BjD,gBAAgB;AACH,QAAA,uDAAuD,GAIhE,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,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;AAYH,gBAAgB;AACH,QAAA,wDAAwD,GAK/D,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,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;AAEL;;;GAGG;AACH,IAAiB,0CAA0C,CAS1D;AATD,WAAiB,0CAA0C;IACzD,yFAAyF;IAC5E,wDAAa,GACxB,+DAAuD,CAAC;IAC1D,0FAA0F;IAC7E,yDAAc,GACzB,gEAAwD,CAAC;AAG7D,CAAC,EATgB,0CAA0C,0DAA1C,0CAA0C,QAS1D;AAED,SAAgB,+CAA+C,CAC7D,yCAC2C;IAE3C,OAAO,IAAI,CAAC,SAAS,CACnB,gEAAwD,CAAC,KAAK,CAC5D,yCAAyC,CAC1C,CACF,CAAC;AACJ,CAAC;AATD,0GASC;AAED,SAAgB,iDAAiD,CAC/D,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,+DAAuD,CAAC,KAAK,CAC3D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,uEAAuE,CACxE,CAAC;AACJ,CAAC;AAdD,8GAcC"}
|
|
@@ -1,10 +1,20 @@
|
|
|
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 { NotificationTriggerDto, NotificationTriggerDto$Outbound } from "./notificationtriggerdto.js";
|
|
4
5
|
export type ActivityNotificationTemplateResponseDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier of the template
|
|
8
|
+
*/
|
|
5
9
|
id?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Name of the template
|
|
12
|
+
*/
|
|
6
13
|
name: string;
|
|
7
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Triggers of the template
|
|
16
|
+
*/
|
|
17
|
+
triggers: Array<NotificationTriggerDto>;
|
|
8
18
|
};
|
|
9
19
|
/** @internal */
|
|
10
20
|
export declare const ActivityNotificationTemplateResponseDto$inboundSchema: z.ZodType<ActivityNotificationTemplateResponseDto, z.ZodTypeDef, unknown>;
|
|
@@ -12,7 +22,7 @@ export declare const ActivityNotificationTemplateResponseDto$inboundSchema: z.Zo
|
|
|
12
22
|
export type ActivityNotificationTemplateResponseDto$Outbound = {
|
|
13
23
|
_id?: string | undefined;
|
|
14
24
|
name: string;
|
|
15
|
-
triggers: Array<
|
|
25
|
+
triggers: Array<NotificationTriggerDto$Outbound>;
|
|
16
26
|
};
|
|
17
27
|
/** @internal */
|
|
18
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;
|
|
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,11 +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 notificationtriggerdto_js_1 = require("./notificationtriggerdto.js");
|
|
33
34
|
/** @internal */
|
|
34
35
|
exports.ActivityNotificationTemplateResponseDto$inboundSchema = z.object({
|
|
35
36
|
_id: z.string().optional(),
|
|
36
37
|
name: z.string(),
|
|
37
|
-
triggers: z.array(
|
|
38
|
+
triggers: z.array(notificationtriggerdto_js_1.NotificationTriggerDto$inboundSchema),
|
|
38
39
|
}).transform((v) => {
|
|
39
40
|
return (0, primitives_js_1.remap)(v, {
|
|
40
41
|
"_id": "id",
|
|
@@ -44,7 +45,7 @@ exports.ActivityNotificationTemplateResponseDto$inboundSchema = z.object({
|
|
|
44
45
|
exports.ActivityNotificationTemplateResponseDto$outboundSchema = z.object({
|
|
45
46
|
id: z.string().optional(),
|
|
46
47
|
name: z.string(),
|
|
47
|
-
triggers: z.array(
|
|
48
|
+
triggers: z.array(notificationtriggerdto_js_1.NotificationTriggerDto$outboundSchema),
|
|
48
49
|
}).transform((v) => {
|
|
49
50
|
return (0, primitives_js_1.remap)(v, {
|
|
50
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;
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builderfieldtypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/builderfieldtypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,oBAAoB;;;;;;;;;CASvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,oBAAoB,CACS,CAAC;AAEvC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,aAAa,CAC/D,OAAO,oBAAoB,CACS,CAAC;AAEvC;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa;;;;;;;;;MAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc;;;;;;;;;MAAsC,CAAC;CACnE"}
|
|
@@ -26,9 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.BuilderFieldTypeEnum$ = exports.BuilderFieldTypeEnum$outboundSchema = exports.BuilderFieldTypeEnum$inboundSchema = exports.BuilderFieldTypeEnum = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
|
-
exports.
|
|
31
|
+
exports.BuilderFieldTypeEnum = {
|
|
32
32
|
Boolean: "BOOLEAN",
|
|
33
33
|
Text: "TEXT",
|
|
34
34
|
Date: "DATE",
|
|
@@ -39,18 +39,18 @@ exports.BuilderFieldType = {
|
|
|
39
39
|
Group: "GROUP",
|
|
40
40
|
};
|
|
41
41
|
/** @internal */
|
|
42
|
-
exports.
|
|
42
|
+
exports.BuilderFieldTypeEnum$inboundSchema = z.nativeEnum(exports.BuilderFieldTypeEnum);
|
|
43
43
|
/** @internal */
|
|
44
|
-
exports.
|
|
44
|
+
exports.BuilderFieldTypeEnum$outboundSchema = exports.BuilderFieldTypeEnum$inboundSchema;
|
|
45
45
|
/**
|
|
46
46
|
* @internal
|
|
47
47
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
48
|
*/
|
|
49
|
-
var
|
|
50
|
-
(function (
|
|
51
|
-
/** @deprecated use `
|
|
52
|
-
|
|
53
|
-
/** @deprecated use `
|
|
54
|
-
|
|
55
|
-
})(
|
|
56
|
-
//# sourceMappingURL=
|
|
49
|
+
var BuilderFieldTypeEnum$;
|
|
50
|
+
(function (BuilderFieldTypeEnum$) {
|
|
51
|
+
/** @deprecated use `BuilderFieldTypeEnum$inboundSchema` instead. */
|
|
52
|
+
BuilderFieldTypeEnum$.inboundSchema = exports.BuilderFieldTypeEnum$inboundSchema;
|
|
53
|
+
/** @deprecated use `BuilderFieldTypeEnum$outboundSchema` instead. */
|
|
54
|
+
BuilderFieldTypeEnum$.outboundSchema = exports.BuilderFieldTypeEnum$outboundSchema;
|
|
55
|
+
})(BuilderFieldTypeEnum$ || (exports.BuilderFieldTypeEnum$ = BuilderFieldTypeEnum$ = {}));
|
|
56
|
+
//# sourceMappingURL=builderfieldtypeenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builderfieldtypeenum.js","sourceRoot":"","sources":["../../src/models/components/builderfieldtypeenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,oBAAoB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,KAAK,EAAE,OAAO;CACN,CAAC;AAGX,gBAAgB;AACH,QAAA,kCAAkC,GAE3C,CAAC,CAAC,UAAU,CAAC,4BAAoB,CAAC,CAAC;AAEvC,gBAAgB;AACH,QAAA,mCAAmC,GAE5C,0CAAkC,CAAC;AAEvC;;;GAGG;AACH,IAAiB,qBAAqB,CAKrC;AALD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AACpE,CAAC,EALgB,qBAAqB,qCAArB,qBAAqB,QAKrC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { CreatedSubscriberDto, CreatedSubscriberDto$Outbound } from "./createdsubscriberdto.js";
|
|
5
|
+
import { FailedOperationDto, FailedOperationDto$Outbound } from "./failedoperationdto.js";
|
|
6
|
+
import { UpdatedSubscriberDto, UpdatedSubscriberDto$Outbound } from "./updatedsubscriberdto.js";
|
|
7
|
+
export type BulkCreateSubscriberResponseDto = {
|
|
8
|
+
/**
|
|
9
|
+
* An array of subscribers that were successfully updated.
|
|
10
|
+
*/
|
|
11
|
+
updated: Array<UpdatedSubscriberDto>;
|
|
12
|
+
/**
|
|
13
|
+
* An array of subscribers that were successfully created.
|
|
14
|
+
*/
|
|
15
|
+
created: Array<CreatedSubscriberDto>;
|
|
16
|
+
/**
|
|
17
|
+
* An array of failed operations with error messages and optional subscriber IDs.
|
|
18
|
+
*/
|
|
19
|
+
failed: Array<FailedOperationDto>;
|
|
20
|
+
};
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const BulkCreateSubscriberResponseDto$inboundSchema: z.ZodType<BulkCreateSubscriberResponseDto, z.ZodTypeDef, unknown>;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export type BulkCreateSubscriberResponseDto$Outbound = {
|
|
25
|
+
updated: Array<UpdatedSubscriberDto$Outbound>;
|
|
26
|
+
created: Array<CreatedSubscriberDto$Outbound>;
|
|
27
|
+
failed: Array<FailedOperationDto$Outbound>;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const BulkCreateSubscriberResponseDto$outboundSchema: z.ZodType<BulkCreateSubscriberResponseDto$Outbound, z.ZodTypeDef, BulkCreateSubscriberResponseDto>;
|
|
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 declare namespace BulkCreateSubscriberResponseDto$ {
|
|
36
|
+
/** @deprecated use `BulkCreateSubscriberResponseDto$inboundSchema` instead. */
|
|
37
|
+
const inboundSchema: z.ZodType<BulkCreateSubscriberResponseDto, z.ZodTypeDef, unknown>;
|
|
38
|
+
/** @deprecated use `BulkCreateSubscriberResponseDto$outboundSchema` instead. */
|
|
39
|
+
const outboundSchema: z.ZodType<BulkCreateSubscriberResponseDto$Outbound, z.ZodTypeDef, BulkCreateSubscriberResponseDto>;
|
|
40
|
+
/** @deprecated use `BulkCreateSubscriberResponseDto$Outbound` instead. */
|
|
41
|
+
type Outbound = BulkCreateSubscriberResponseDto$Outbound;
|
|
42
|
+
}
|
|
43
|
+
export declare function bulkCreateSubscriberResponseDtoToJSON(bulkCreateSubscriberResponseDto: BulkCreateSubscriberResponseDto): string;
|
|
44
|
+
export declare function bulkCreateSubscriberResponseDtoFromJSON(jsonString: string): SafeParseResult<BulkCreateSubscriberResponseDto, SDKValidationError>;
|
|
45
|
+
//# sourceMappingURL=bulkcreatesubscriberresponsedto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkcreatesubscriberresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/bulkcreatesubscriberresponsedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,kBAAkB,EAElB,2BAA2B,EAE5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACrC;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC9C,OAAO,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC9C,MAAM,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAK/B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa,mEAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc,oGAAiD,CAAC;IAC7E,0EAA0E;IAC1E,KAAY,QAAQ,GAAG,wCAAwC,CAAC;CACjE;AAED,wBAAgB,qCAAqC,CACnD,+BAA+B,EAAE,+BAA+B,GAC/D,MAAM,CAMR;AAED,wBAAgB,uCAAuC,CACrD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,+BAA+B,EAAE,kBAAkB,CAAC,CAMtE"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.bulkCreateSubscriberResponseDtoFromJSON = exports.bulkCreateSubscriberResponseDtoToJSON = exports.BulkCreateSubscriberResponseDto$ = exports.BulkCreateSubscriberResponseDto$outboundSchema = exports.BulkCreateSubscriberResponseDto$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
+
const createdsubscriberdto_js_1 = require("./createdsubscriberdto.js");
|
|
33
|
+
const failedoperationdto_js_1 = require("./failedoperationdto.js");
|
|
34
|
+
const updatedsubscriberdto_js_1 = require("./updatedsubscriberdto.js");
|
|
35
|
+
/** @internal */
|
|
36
|
+
exports.BulkCreateSubscriberResponseDto$inboundSchema = z.object({
|
|
37
|
+
updated: z.array(updatedsubscriberdto_js_1.UpdatedSubscriberDto$inboundSchema),
|
|
38
|
+
created: z.array(createdsubscriberdto_js_1.CreatedSubscriberDto$inboundSchema),
|
|
39
|
+
failed: z.array(failedoperationdto_js_1.FailedOperationDto$inboundSchema),
|
|
40
|
+
});
|
|
41
|
+
/** @internal */
|
|
42
|
+
exports.BulkCreateSubscriberResponseDto$outboundSchema = z.object({
|
|
43
|
+
updated: z.array(updatedsubscriberdto_js_1.UpdatedSubscriberDto$outboundSchema),
|
|
44
|
+
created: z.array(createdsubscriberdto_js_1.CreatedSubscriberDto$outboundSchema),
|
|
45
|
+
failed: z.array(failedoperationdto_js_1.FailedOperationDto$outboundSchema),
|
|
46
|
+
});
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
+
*/
|
|
51
|
+
var BulkCreateSubscriberResponseDto$;
|
|
52
|
+
(function (BulkCreateSubscriberResponseDto$) {
|
|
53
|
+
/** @deprecated use `BulkCreateSubscriberResponseDto$inboundSchema` instead. */
|
|
54
|
+
BulkCreateSubscriberResponseDto$.inboundSchema = exports.BulkCreateSubscriberResponseDto$inboundSchema;
|
|
55
|
+
/** @deprecated use `BulkCreateSubscriberResponseDto$outboundSchema` instead. */
|
|
56
|
+
BulkCreateSubscriberResponseDto$.outboundSchema = exports.BulkCreateSubscriberResponseDto$outboundSchema;
|
|
57
|
+
})(BulkCreateSubscriberResponseDto$ || (exports.BulkCreateSubscriberResponseDto$ = BulkCreateSubscriberResponseDto$ = {}));
|
|
58
|
+
function bulkCreateSubscriberResponseDtoToJSON(bulkCreateSubscriberResponseDto) {
|
|
59
|
+
return JSON.stringify(exports.BulkCreateSubscriberResponseDto$outboundSchema.parse(bulkCreateSubscriberResponseDto));
|
|
60
|
+
}
|
|
61
|
+
exports.bulkCreateSubscriberResponseDtoToJSON = bulkCreateSubscriberResponseDtoToJSON;
|
|
62
|
+
function bulkCreateSubscriberResponseDtoFromJSON(jsonString) {
|
|
63
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.BulkCreateSubscriberResponseDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'BulkCreateSubscriberResponseDto' from JSON`);
|
|
64
|
+
}
|
|
65
|
+
exports.bulkCreateSubscriberResponseDtoFromJSON = bulkCreateSubscriberResponseDtoFromJSON;
|
|
66
|
+
//# sourceMappingURL=bulkcreatesubscriberresponsedto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bulkcreatesubscriberresponsedto.js","sourceRoot":"","sources":["../../src/models/components/bulkcreatesubscriberresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,uEAKmC;AACnC,mEAKiC;AACjC,uEAKmC;AAiBnC,gBAAgB;AACH,QAAA,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,4DAAkC,CAAC;IACpD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,4DAAkC,CAAC;IACpD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,wDAAgC,CAAC;CAClD,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,6DAAmC,CAAC;IACrD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,6DAAmC,CAAC;IACrD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,yDAAiC,CAAC;CACnD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,gCAAgC,CAOhD;AAPD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAG/E,CAAC,EAPgB,gCAAgC,gDAAhC,gCAAgC,QAOhD;AAED,SAAgB,qCAAqC,CACnD,+BAAgE;IAEhE,OAAO,IAAI,CAAC,SAAS,CACnB,sDAA8C,CAAC,KAAK,CAClD,+BAA+B,CAChC,CACF,CAAC;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"}
|
|
@@ -1,17 +1,18 @@
|
|
|
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 { CreateSubscriberRequestDto, CreateSubscriberRequestDto$Outbound } from "./createsubscriberrequestdto.js";
|
|
4
5
|
export type BulkSubscriberCreateDto = {
|
|
5
6
|
/**
|
|
6
7
|
* An array of subscribers to be created in bulk.
|
|
7
8
|
*/
|
|
8
|
-
subscribers: Array<
|
|
9
|
+
subscribers: Array<CreateSubscriberRequestDto>;
|
|
9
10
|
};
|
|
10
11
|
/** @internal */
|
|
11
12
|
export declare const BulkSubscriberCreateDto$inboundSchema: z.ZodType<BulkSubscriberCreateDto, z.ZodTypeDef, unknown>;
|
|
12
13
|
/** @internal */
|
|
13
14
|
export type BulkSubscriberCreateDto$Outbound = {
|
|
14
|
-
subscribers: Array<
|
|
15
|
+
subscribers: Array<CreateSubscriberRequestDto$Outbound>;
|
|
15
16
|
};
|
|
16
17
|
/** @internal */
|
|
17
18
|
export declare const BulkSubscriberCreateDto$outboundSchema: z.ZodType<BulkSubscriberCreateDto$Outbound, z.ZodTypeDef, BulkSubscriberCreateDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulksubscribercreatedto.d.ts","sourceRoot":"","sources":["../../src/models/components/bulksubscribercreatedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"bulksubscribercreatedto.d.ts","sourceRoot":"","sources":["../../src/models/components/bulksubscribercreatedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAChD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,WAAW,EAAE,KAAK,CAAC,mCAAmC,CAAC,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAGvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -29,13 +29,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.bulkSubscriberCreateDtoFromJSON = exports.bulkSubscriberCreateDtoToJSON = exports.BulkSubscriberCreateDto$ = exports.BulkSubscriberCreateDto$outboundSchema = exports.BulkSubscriberCreateDto$inboundSchema = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
+
const createsubscriberrequestdto_js_1 = require("./createsubscriberrequestdto.js");
|
|
32
33
|
/** @internal */
|
|
33
34
|
exports.BulkSubscriberCreateDto$inboundSchema = z.object({
|
|
34
|
-
subscribers: z.array(
|
|
35
|
+
subscribers: z.array(createsubscriberrequestdto_js_1.CreateSubscriberRequestDto$inboundSchema),
|
|
35
36
|
});
|
|
36
37
|
/** @internal */
|
|
37
38
|
exports.BulkSubscriberCreateDto$outboundSchema = z.object({
|
|
38
|
-
subscribers: z.array(
|
|
39
|
+
subscribers: z.array(createsubscriberrequestdto_js_1.CreateSubscriberRequestDto$outboundSchema),
|
|
39
40
|
});
|
|
40
41
|
/**
|
|
41
42
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulksubscribercreatedto.js","sourceRoot":"","sources":["../../src/models/components/bulksubscribercreatedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;
|
|
1
|
+
{"version":3,"file":"bulksubscribercreatedto.js","sourceRoot":"","sources":["../../src/models/components/bulksubscribercreatedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,mFAKyC;AASzC,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,wEAAwC,CAAC;CAC/D,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,yEAAyC,CAAC;CAChE,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAND,sEAMC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC;AARD,0EAQC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Type of button for the action result
|
|
5
|
+
*/
|
|
6
|
+
export declare const ButtonTypeEnum: {
|
|
7
|
+
readonly Primary: "primary";
|
|
8
|
+
readonly Secondary: "secondary";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Type of button for the action result
|
|
12
|
+
*/
|
|
13
|
+
export type ButtonTypeEnum = ClosedEnum<typeof ButtonTypeEnum>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const ButtonTypeEnum$inboundSchema: z.ZodNativeEnum<typeof ButtonTypeEnum>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const ButtonTypeEnum$outboundSchema: z.ZodNativeEnum<typeof ButtonTypeEnum>;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
+
*/
|
|
22
|
+
export declare namespace ButtonTypeEnum$ {
|
|
23
|
+
/** @deprecated use `ButtonTypeEnum$inboundSchema` instead. */
|
|
24
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
25
|
+
readonly Primary: "primary";
|
|
26
|
+
readonly Secondary: "secondary";
|
|
27
|
+
}>;
|
|
28
|
+
/** @deprecated use `ButtonTypeEnum$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
30
|
+
readonly Primary: "primary";
|
|
31
|
+
readonly Secondary: "secondary";
|
|
32
|
+
}>;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=buttontypeenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttontypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/buttontypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,cAAc;;;CAGjB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,aAAa,CACxD,OAAO,cAAc,CACS,CAAC;AAEjC,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,aAAa,CACzD,OAAO,cAAc,CACS,CAAC;AAEjC;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa;;;MAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc;;;MAAgC,CAAC;CAC7D"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ButtonTypeEnum$ = exports.ButtonTypeEnum$outboundSchema = exports.ButtonTypeEnum$inboundSchema = exports.ButtonTypeEnum = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
/**
|
|
32
|
+
* Type of button for the action result
|
|
33
|
+
*/
|
|
34
|
+
exports.ButtonTypeEnum = {
|
|
35
|
+
Primary: "primary",
|
|
36
|
+
Secondary: "secondary",
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
exports.ButtonTypeEnum$inboundSchema = z.nativeEnum(exports.ButtonTypeEnum);
|
|
40
|
+
/** @internal */
|
|
41
|
+
exports.ButtonTypeEnum$outboundSchema = exports.ButtonTypeEnum$inboundSchema;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
var ButtonTypeEnum$;
|
|
47
|
+
(function (ButtonTypeEnum$) {
|
|
48
|
+
/** @deprecated use `ButtonTypeEnum$inboundSchema` instead. */
|
|
49
|
+
ButtonTypeEnum$.inboundSchema = exports.ButtonTypeEnum$inboundSchema;
|
|
50
|
+
/** @deprecated use `ButtonTypeEnum$outboundSchema` instead. */
|
|
51
|
+
ButtonTypeEnum$.outboundSchema = exports.ButtonTypeEnum$outboundSchema;
|
|
52
|
+
})(ButtonTypeEnum$ || (exports.ButtonTypeEnum$ = ButtonTypeEnum$ = {}));
|
|
53
|
+
//# sourceMappingURL=buttontypeenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttontypeenum.js","sourceRoot":"","sources":["../../src/models/components/buttontypeenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CACd,CAAC;AAMX,gBAAgB;AACH,QAAA,4BAA4B,GAErC,CAAC,CAAC,UAAU,CAAC,sBAAc,CAAC,CAAC;AAEjC,gBAAgB;AACH,QAAA,6BAA6B,GAEtC,oCAA4B,CAAC;AAEjC;;;GAGG;AACH,IAAiB,eAAe,CAK/B;AALD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAC9D,CAAC,EALgB,eAAe,+BAAf,eAAe,QAK/B"}
|
|
@@ -3,35 +3,35 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
export type ChannelCredentials = {
|
|
5
5
|
/**
|
|
6
|
-
* Webhook
|
|
6
|
+
* Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider.
|
|
7
7
|
*/
|
|
8
|
-
webhookUrl
|
|
8
|
+
webhookUrl?: string | undefined;
|
|
9
9
|
/**
|
|
10
|
-
* Channel specification for Mattermost chat notifications
|
|
10
|
+
* Channel specification for Mattermost chat notifications.
|
|
11
11
|
*/
|
|
12
12
|
channel?: string | undefined;
|
|
13
13
|
/**
|
|
14
|
-
* Contains an array of the subscriber device tokens for a given provider. Used on Push integrations
|
|
14
|
+
* Contains an array of the subscriber device tokens for a given provider. Used on Push integrations.
|
|
15
15
|
*/
|
|
16
16
|
deviceTokens?: Array<string> | undefined;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Alert UID for Grafana on-call webhook payload.
|
|
19
19
|
*/
|
|
20
20
|
alertUid?: string | undefined;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Title to be used with Grafana on-call webhook.
|
|
23
23
|
*/
|
|
24
24
|
title?: string | undefined;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Image URL property for Grafana on-call webhook.
|
|
27
27
|
*/
|
|
28
28
|
imageUrl?: string | undefined;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* State property for Grafana on-call webhook.
|
|
31
31
|
*/
|
|
32
32
|
state?: string | undefined;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Link to upstream details property for Grafana on-call webhook.
|
|
35
35
|
*/
|
|
36
36
|
externalUrl?: string | undefined;
|
|
37
37
|
};
|
|
@@ -39,7 +39,7 @@ export type ChannelCredentials = {
|
|
|
39
39
|
export declare const ChannelCredentials$inboundSchema: z.ZodType<ChannelCredentials, z.ZodTypeDef, unknown>;
|
|
40
40
|
/** @internal */
|
|
41
41
|
export type ChannelCredentials$Outbound = {
|
|
42
|
-
webhookUrl
|
|
42
|
+
webhookUrl?: string | undefined;
|
|
43
43
|
channel?: string | undefined;
|
|
44
44
|
deviceTokens?: Array<string> | undefined;
|
|
45
45
|
alertUid?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelcredentials.d.ts","sourceRoot":"","sources":["../../src/models/components/channelcredentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"channelcredentials.d.ts","sourceRoot":"","sources":["../../src/models/components/channelcredentials.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAUlB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -31,7 +31,7 @@ const z = __importStar(require("zod"));
|
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
32
|
/** @internal */
|
|
33
33
|
exports.ChannelCredentials$inboundSchema = z.object({
|
|
34
|
-
webhookUrl: z.string(),
|
|
34
|
+
webhookUrl: z.string().optional(),
|
|
35
35
|
channel: z.string().optional(),
|
|
36
36
|
deviceTokens: z.array(z.string()).optional(),
|
|
37
37
|
alertUid: z.string().optional(),
|
|
@@ -42,7 +42,7 @@ exports.ChannelCredentials$inboundSchema = z.object({
|
|
|
42
42
|
});
|
|
43
43
|
/** @internal */
|
|
44
44
|
exports.ChannelCredentials$outboundSchema = z.object({
|
|
45
|
-
webhookUrl: z.string(),
|
|
45
|
+
webhookUrl: z.string().optional(),
|
|
46
46
|
channel: z.string().optional(),
|
|
47
47
|
deviceTokens: z.array(z.string()).optional(),
|
|
48
48
|
alertUid: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channelcredentials.js","sourceRoot":"","sources":["../../src/models/components/channelcredentials.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAuCjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"channelcredentials.js","sourceRoot":"","sources":["../../src/models/components/channelcredentials.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAuCjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAcH,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IAClC,kEAAkE;IACrD,iCAAa,GAAG,wCAAgC,CAAC;IAC9D,mEAAmE;IACtD,kCAAc,GAAG,yCAAiC,CAAC;AAGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC;AAED,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AAND,4DAMC;AAED,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC;AARD,gEAQC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Type of call to action
|
|
5
|
+
*/
|
|
6
|
+
export declare const ChannelCTATypeEnum: {
|
|
7
|
+
readonly Redirect: "redirect";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Type of call to action
|
|
11
|
+
*/
|
|
12
|
+
export type ChannelCTATypeEnum = ClosedEnum<typeof ChannelCTATypeEnum>;
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const ChannelCTATypeEnum$inboundSchema: z.ZodNativeEnum<typeof ChannelCTATypeEnum>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const ChannelCTATypeEnum$outboundSchema: z.ZodNativeEnum<typeof ChannelCTATypeEnum>;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
20
|
+
*/
|
|
21
|
+
export declare namespace ChannelCTATypeEnum$ {
|
|
22
|
+
/** @deprecated use `ChannelCTATypeEnum$inboundSchema` instead. */
|
|
23
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
24
|
+
readonly Redirect: "redirect";
|
|
25
|
+
}>;
|
|
26
|
+
/** @deprecated use `ChannelCTATypeEnum$outboundSchema` instead. */
|
|
27
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
28
|
+
readonly Redirect: "redirect";
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=channelctatypeenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channelctatypeenum.d.ts","sourceRoot":"","sources":["../../src/models/components/channelctatypeenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;CAErB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,aAAa,CAC5D,OAAO,kBAAkB,CACS,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,aAAa,CAC7D,OAAO,kBAAkB,CACS,CAAC;AAErC;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACnC,kEAAkE;IAC3D,MAAM,aAAa;;MAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc;;MAAoC,CAAC;CACjE"}
|