@novu/api 0.1.1 → 0.1.5
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/FUNCTIONS.md +2 -3
- package/README.md +43 -45
- package/docs/sdks/authentication/README.md +10 -10
- package/docs/sdks/credentials/README.md +12 -12
- package/docs/sdks/integrations/README.md +18 -18
- package/docs/sdks/messages/README.md +11 -17
- package/docs/sdks/notifications/README.md +8 -12
- package/docs/sdks/novu/README.md +21 -179
- package/docs/sdks/novumessages/README.md +13 -13
- package/docs/sdks/novunotifications/README.md +10 -16
- package/docs/sdks/novusubscribers/README.md +9 -9
- package/docs/sdks/preferences/README.md +183 -22
- package/docs/sdks/properties/README.md +4 -4
- package/docs/sdks/stats/README.md +6 -6
- package/docs/sdks/subscribers/README.md +349 -35
- package/docs/sdks/topics/README.md +15 -19
- package/docs/sdks/webhooks/README.md +3 -3
- package/funcs/cancel.js +4 -4
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.js +4 -4
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.js +4 -4
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.js +4 -4
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.js +4 -4
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +4 -4
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.js +4 -4
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +4 -4
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.js +4 -4
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +4 -4
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.js +4 -4
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.js +4 -4
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.js +4 -4
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.js +4 -4
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +4 -4
- 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 +7 -7
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts +2 -2
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +6 -6
- 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 +6 -6
- 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 +7 -6
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +6 -6
- 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 +7 -7
- 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 +6 -6
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.js +5 -5
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersDeleteLegacy.d.ts +18 -0
- package/funcs/subscribersDeleteLegacy.d.ts.map +1 -0
- package/funcs/subscribersDeleteLegacy.js +141 -0
- package/funcs/subscribersDeleteLegacy.js.map +1 -0
- package/funcs/subscribersList.d.ts +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +6 -6
- 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 +8 -7
- 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 +6 -6
- 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 +6 -6
- 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 +7 -6
- 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 +6 -6
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPatch.d.ts +17 -0
- package/funcs/subscribersPatch.d.ts.map +1 -0
- package/funcs/{supportControllerFetchUserOrganizations.js → subscribersPatch.js} +48 -16
- package/funcs/subscribersPatch.js.map +1 -0
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +6 -6
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieve.d.ts +16 -0
- package/funcs/subscribersPreferencesRetrieve.d.ts.map +1 -0
- package/funcs/{create.js → subscribersPreferencesRetrieve.js} +51 -20
- package/funcs/subscribersPreferencesRetrieve.js.map +1 -0
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +6 -6
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts +6 -2
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +21 -15
- 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 +6 -6
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateLegacy.d.ts +13 -0
- package/funcs/subscribersPreferencesUpdateLegacy.d.ts.map +1 -0
- package/funcs/subscribersPreferencesUpdateLegacy.js +139 -0
- package/funcs/subscribersPreferencesUpdateLegacy.js.map +1 -0
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +6 -6
- 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 +6 -11
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersRetrieveLegacy.d.ts +16 -0
- package/funcs/subscribersRetrieveLegacy.d.ts.map +1 -0
- package/funcs/subscribersRetrieveLegacy.js +144 -0
- package/funcs/subscribersRetrieveLegacy.js.map +1 -0
- package/funcs/subscribersSearch.d.ts +13 -0
- package/funcs/subscribersSearch.d.ts.map +1 -0
- package/funcs/subscribersSearch.js +138 -0
- package/funcs/subscribersSearch.js.map +1 -0
- package/funcs/subscribersUpdate.d.ts +1 -1
- package/funcs/subscribersUpdate.d.ts.map +1 -1
- package/funcs/subscribersUpdate.js +6 -6
- package/funcs/subscribersUpdate.js.map +1 -1
- package/funcs/topicsCreate.js +4 -4
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.js +4 -4
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.js +4 -4
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.js +4 -4
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.js +4 -4
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.js +4 -4
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.js +4 -4
- package/funcs/topicsSubscribersRemove.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +4 -4
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.js +4 -4
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.js +4 -4
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.js +4 -4
- package/funcs/triggerBulk.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/retries.js +0 -1
- package/lib/retries.js.map +1 -1
- package/lib/security.js +1 -1
- package/lib/security.js.map +1 -1
- package/models/components/{channelsettings.d.ts → channelsettingsdto.d.ts} +22 -22
- package/models/components/channelsettingsdto.d.ts.map +1 -0
- package/models/components/{channelsettings.js → channelsettingsdto.js} +29 -29
- package/models/components/channelsettingsdto.js.map +1 -0
- package/models/components/getsubscriberpreferencesdto.d.ts +39 -0
- package/models/components/getsubscriberpreferencesdto.d.ts.map +1 -0
- package/models/components/getsubscriberpreferencesdto.js +63 -0
- package/models/components/getsubscriberpreferencesdto.js.map +1 -0
- package/models/components/globalpreferencedto.d.ts +38 -0
- package/models/components/globalpreferencedto.d.ts.map +1 -0
- package/models/components/globalpreferencedto.js +62 -0
- package/models/components/globalpreferencedto.js.map +1 -0
- package/models/components/index.d.ts +11 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +11 -4
- package/models/components/index.js.map +1 -1
- package/models/components/listsubscribersresponsedto.d.ts +43 -0
- package/models/components/listsubscribersresponsedto.d.ts.map +1 -0
- package/models/components/listsubscribersresponsedto.js +64 -0
- package/models/components/listsubscribersresponsedto.js.map +1 -0
- package/models/components/overrides.d.ts +112 -0
- package/models/components/overrides.d.ts.map +1 -0
- package/models/components/overrides.js +110 -0
- package/models/components/overrides.js.map +1 -0
- package/models/components/patchpreferencechannelsdto.d.ts +52 -0
- package/models/components/patchpreferencechannelsdto.d.ts.map +1 -0
- package/models/components/patchpreferencechannelsdto.js +76 -0
- package/models/components/patchpreferencechannelsdto.js.map +1 -0
- package/models/components/patchsubscriberpreferencesdto.d.ts +38 -0
- package/models/components/patchsubscriberpreferencesdto.d.ts.map +1 -0
- package/models/components/patchsubscriberpreferencesdto.js +62 -0
- package/models/components/patchsubscriberpreferencesdto.js.map +1 -0
- package/models/components/patchsubscriberrequestdto.d.ts +96 -0
- package/models/components/patchsubscriberrequestdto.d.ts.map +1 -0
- package/models/components/patchsubscriberrequestdto.js +100 -0
- package/models/components/patchsubscriberrequestdto.js.map +1 -0
- package/models/components/removesubscriberresponsedto.d.ts +37 -0
- package/models/components/removesubscriberresponsedto.d.ts.map +1 -0
- package/models/components/removesubscriberresponsedto.js +61 -0
- package/models/components/removesubscriberresponsedto.js.map +1 -0
- package/models/components/security.d.ts +2 -2
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +2 -11
- package/models/components/security.js.map +1 -1
- package/models/components/subscriberresponsedto.d.ts +14 -3
- package/models/components/subscriberresponsedto.d.ts.map +1 -1
- package/models/components/subscriberresponsedto.js +5 -3
- package/models/components/subscriberresponsedto.js.map +1 -1
- package/models/components/triggereventrequestdto.d.ts +1 -12
- package/models/components/triggereventrequestdto.d.ts.map +1 -1
- package/models/components/triggereventrequestdto.js +10 -6
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/models/components/triggereventtoallrequestdto.d.ts +15 -15
- package/models/components/triggereventtoallrequestdto.d.ts.map +1 -1
- package/models/components/triggereventtoallrequestdto.js +20 -18
- package/models/components/triggereventtoallrequestdto.js.map +1 -1
- package/models/components/workflowinfodto.d.ts +42 -0
- package/models/components/workflowinfodto.d.ts.map +1 -0
- package/models/components/{createsupportthreaddto.js → workflowinfodto.js} +23 -19
- package/models/components/workflowinfodto.js.map +1 -0
- package/models/components/workflowpreferencedto.d.ts +50 -0
- package/models/components/workflowpreferencedto.d.ts.map +1 -0
- package/models/components/workflowpreferencedto.js +68 -0
- package/models/components/workflowpreferencedto.js.map +1 -0
- package/models/operations/index.d.ts +25 -21
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +25 -21
- package/models/operations/index.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.d.ts +0 -5
- package/models/operations/subscriberscontrollergetsubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriber.js +0 -2
- package/models/operations/subscriberscontrollergetsubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts +66 -0
- package/models/operations/subscriberscontrollergetsubscriberpreferences.d.ts.map +1 -0
- package/models/operations/subscriberscontrollergetsubscriberpreferences.js +110 -0
- package/models/operations/subscriberscontrollergetsubscriberpreferences.js.map +1 -0
- package/models/operations/subscriberscontrollerpatchsubscriber.d.ts +68 -0
- package/models/operations/subscriberscontrollerpatchsubscriber.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerpatchsubscriber.js +114 -0
- package/models/operations/subscriberscontrollerpatchsubscriber.js.map +1 -0
- package/models/operations/subscriberscontrollerremovesubscriber.d.ts +2 -2
- package/models/operations/subscriberscontrollerremovesubscriber.js +2 -2
- package/models/operations/subscriberscontrollersearchsubscribers.d.ts +126 -0
- package/models/operations/subscriberscontrollersearchsubscribers.d.ts.map +1 -0
- package/models/operations/subscriberscontrollersearchsubscribers.js +145 -0
- package/models/operations/subscriberscontrollersearchsubscribers.js.map +1 -0
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.d.ts +68 -0
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.js +118 -0
- package/models/operations/subscriberscontrollerupdatesubscriberpreferences.js.map +1 -0
- package/models/operations/subscribersv1controllerbulkcreatesubscribers.d.ts +66 -0
- package/models/operations/subscribersv1controllerbulkcreatesubscribers.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerbulkcreatesubscribers.js +112 -0
- package/models/operations/subscribersv1controllerbulkcreatesubscribers.js.map +1 -0
- package/models/operations/subscribersv1controllerchataccessoauth.d.ts +80 -0
- package/models/operations/subscribersv1controllerchataccessoauth.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerchataccessoauth.js +113 -0
- package/models/operations/subscribersv1controllerchataccessoauth.js.map +1 -0
- package/models/operations/subscribersv1controllerchatoauthcallback.d.ts +108 -0
- package/models/operations/subscribersv1controllerchatoauthcallback.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerchatoauthcallback.js +143 -0
- package/models/operations/subscribersv1controllerchatoauthcallback.js.map +1 -0
- package/models/operations/subscribersv1controllercreatesubscriber.d.ts +66 -0
- package/models/operations/subscribersv1controllercreatesubscriber.d.ts.map +1 -0
- package/models/operations/subscribersv1controllercreatesubscriber.js +112 -0
- package/models/operations/subscribersv1controllercreatesubscriber.js.map +1 -0
- package/models/operations/subscribersv1controllerdeletesubscribercredentials.d.ts +65 -0
- package/models/operations/subscribersv1controllerdeletesubscribercredentials.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerdeletesubscribercredentials.js +111 -0
- package/models/operations/subscribersv1controllerdeletesubscribercredentials.js.map +1 -0
- package/models/operations/subscribersv1controllergetnotificationsfeed.d.ts +79 -0
- package/models/operations/subscribersv1controllergetnotificationsfeed.d.ts.map +1 -0
- package/models/operations/subscribersv1controllergetnotificationsfeed.js +120 -0
- package/models/operations/subscribersv1controllergetnotificationsfeed.js.map +1 -0
- package/models/operations/subscribersv1controllergetsubscriber.d.ts +71 -0
- package/models/operations/subscribersv1controllergetsubscriber.d.ts.map +1 -0
- package/models/operations/subscribersv1controllergetsubscriber.js +112 -0
- package/models/operations/subscribersv1controllergetsubscriber.js.map +1 -0
- package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts +108 -0
- package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.d.ts.map +1 -0
- package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js +141 -0
- package/models/operations/subscribersv1controllergetsubscriberpreferencebylevel.js.map +1 -0
- package/models/operations/subscribersv1controllergetunseencount.d.ts +76 -0
- package/models/operations/subscribersv1controllergetunseencount.d.ts.map +1 -0
- package/models/operations/subscribersv1controllergetunseencount.js +114 -0
- package/models/operations/subscribersv1controllergetunseencount.js.map +1 -0
- package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts +71 -0
- package/models/operations/subscribersv1controllerlistsubscriberpreferences.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerlistsubscriberpreferences.js +116 -0
- package/models/operations/subscribersv1controllerlistsubscriberpreferences.js.map +1 -0
- package/models/operations/subscribersv1controllerlistsubscribers.d.ts +108 -0
- package/models/operations/subscribersv1controllerlistsubscribers.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerlistsubscribers.js +145 -0
- package/models/operations/subscribersv1controllerlistsubscribers.js.map +1 -0
- package/models/operations/subscribersv1controllermarkactionasseen.d.ts +72 -0
- package/models/operations/subscribersv1controllermarkactionasseen.d.ts.map +1 -0
- package/models/operations/subscribersv1controllermarkactionasseen.js +118 -0
- package/models/operations/subscribersv1controllermarkactionasseen.js.map +1 -0
- package/models/operations/subscribersv1controllermarkallunreadasread.d.ts +68 -0
- package/models/operations/subscribersv1controllermarkallunreadasread.d.ts.map +1 -0
- package/models/operations/subscribersv1controllermarkallunreadasread.js +114 -0
- package/models/operations/subscribersv1controllermarkallunreadasread.js.map +1 -0
- package/models/operations/subscribersv1controllermarkmessagesas.d.ts +68 -0
- package/models/operations/subscribersv1controllermarkmessagesas.d.ts.map +1 -0
- package/models/operations/subscribersv1controllermarkmessagesas.js +114 -0
- package/models/operations/subscribersv1controllermarkmessagesas.js.map +1 -0
- package/models/operations/subscribersv1controllermodifysubscriberchannel.d.ts +68 -0
- package/models/operations/subscribersv1controllermodifysubscriberchannel.d.ts.map +1 -0
- package/models/operations/subscribersv1controllermodifysubscriberchannel.js +115 -0
- package/models/operations/subscribersv1controllermodifysubscriberchannel.js.map +1 -0
- package/models/operations/subscribersv1controllerremovesubscriber.d.ts +66 -0
- package/models/operations/subscribersv1controllerremovesubscriber.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerremovesubscriber.js +110 -0
- package/models/operations/subscribersv1controllerremovesubscriber.js.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriber.d.ts +68 -0
- package/models/operations/subscribersv1controllerupdatesubscriber.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriber.js +114 -0
- package/models/operations/subscribersv1controllerupdatesubscriber.js.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberchannel.d.ts +68 -0
- package/models/operations/subscribersv1controllerupdatesubscriberchannel.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberchannel.js +115 -0
- package/models/operations/subscribersv1controllerupdatesubscriberchannel.js.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts +68 -0
- package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js +118 -0
- package/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.js.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.d.ts +68 -0
- package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.js +118 -0
- package/models/operations/subscribersv1controllerupdatesubscriberonlineflag.js.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts +70 -0
- package/models/operations/subscribersv1controllerupdatesubscriberpreference.d.ts.map +1 -0
- package/models/operations/subscribersv1controllerupdatesubscriberpreference.js +120 -0
- package/models/operations/subscribersv1controllerupdatesubscriberpreference.js.map +1 -0
- package/package.json +6 -7
- package/sdk/authentication.d.ts +3 -3
- package/sdk/authentication.d.ts.map +1 -1
- package/sdk/authentication.js.map +1 -1
- package/sdk/credentials.d.ts +3 -3
- package/sdk/credentials.d.ts.map +1 -1
- package/sdk/credentials.js.map +1 -1
- package/sdk/novumessages.d.ts +3 -3
- package/sdk/novumessages.d.ts.map +1 -1
- package/sdk/novumessages.js.map +1 -1
- package/sdk/novunotifications.d.ts +2 -2
- package/sdk/novunotifications.d.ts.map +1 -1
- package/sdk/novunotifications.js.map +1 -1
- package/sdk/preferences.d.ts +18 -4
- package/sdk/preferences.d.ts.map +1 -1
- package/sdk/preferences.js +22 -2
- package/sdk/preferences.js.map +1 -1
- package/sdk/properties.d.ts +1 -1
- package/sdk/properties.d.ts.map +1 -1
- package/sdk/sdk.d.ts +0 -8
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -14
- package/sdk/sdk.js.map +1 -1
- package/sdk/subscribers.d.ts +33 -6
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +43 -4
- package/sdk/subscribers.js.map +1 -1
- package/sources/json-development.json +3504 -356
- package/src/funcs/cancel.ts +4 -4
- package/src/funcs/integrationsCreate.ts +4 -4
- package/src/funcs/integrationsDelete.ts +4 -4
- package/src/funcs/integrationsList.ts +4 -4
- package/src/funcs/integrationsListActive.ts +4 -4
- package/src/funcs/integrationsSetAsPrimary.ts +5 -5
- package/src/funcs/integrationsUpdate.ts +5 -5
- package/src/funcs/integrationsWebhooksRetrieve.ts +4 -4
- package/src/funcs/messagesDelete.ts +4 -4
- package/src/funcs/messagesDeleteByTransactionId.ts +4 -4
- package/src/funcs/messagesRetrieve.ts +4 -4
- package/src/funcs/notificationsList.ts +4 -4
- package/src/funcs/notificationsRetrieve.ts +4 -4
- package/src/funcs/notificationsStatsGraph.ts +4 -4
- package/src/funcs/notificationsStatsRetrieve.ts +4 -4
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +10 -10
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +11 -11
- package/src/funcs/subscribersCreate.ts +10 -10
- package/src/funcs/subscribersCreateBulk.ts +15 -15
- package/src/funcs/subscribersCredentialsAppend.ts +11 -11
- package/src/funcs/subscribersCredentialsDelete.ts +10 -10
- package/src/funcs/subscribersCredentialsUpdate.ts +11 -11
- package/src/funcs/subscribersDelete.ts +5 -5
- package/src/funcs/subscribersDeleteLegacy.ts +200 -0
- package/src/funcs/subscribersList.ts +11 -11
- package/src/funcs/subscribersMessagesMarkAll.ts +14 -11
- package/src/funcs/subscribersMessagesMarkAllAs.ts +10 -10
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +10 -10
- package/src/funcs/subscribersNotificationsFeed.ts +11 -10
- package/src/funcs/subscribersNotificationsUnseenCount.ts +10 -10
- package/src/funcs/{supportControllerFetchUserOrganizations.ts → subscribersPatch.ts} +73 -19
- package/src/funcs/subscribersPreferencesList.ts +10 -10
- package/src/funcs/subscribersPreferencesRetrieve.ts +203 -0
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +10 -10
- package/src/funcs/subscribersPreferencesUpdate.ts +31 -24
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +16 -15
- package/src/funcs/subscribersPreferencesUpdateLegacy.ts +202 -0
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +10 -10
- package/src/funcs/subscribersRetrieve.ts +6 -13
- package/src/funcs/subscribersRetrieveLegacy.ts +205 -0
- package/src/funcs/{create.ts → subscribersSearch.ts} +78 -31
- package/src/funcs/subscribersUpdate.ts +10 -10
- package/src/funcs/topicsCreate.ts +4 -4
- package/src/funcs/topicsDelete.ts +4 -4
- package/src/funcs/topicsList.ts +4 -4
- package/src/funcs/topicsRename.ts +4 -4
- package/src/funcs/topicsRetrieve.ts +4 -4
- package/src/funcs/topicsSubscribersAssign.ts +4 -4
- package/src/funcs/topicsSubscribersRemove.ts +4 -4
- package/src/funcs/topicsSubscribersRetrieve.ts +4 -4
- package/src/funcs/trigger.ts +4 -4
- package/src/funcs/triggerBroadcast.ts +4 -4
- package/src/funcs/triggerBulk.ts +4 -4
- package/src/lib/config.ts +4 -4
- package/src/lib/retries.ts +0 -1
- package/src/lib/security.ts +1 -1
- package/src/models/components/{channelsettings.ts → channelsettingsdto.ts} +40 -38
- package/src/models/components/getsubscriberpreferencesdto.ts +90 -0
- package/src/models/components/globalpreferencedto.ts +82 -0
- package/src/models/components/index.ts +11 -4
- package/src/models/components/listsubscribersresponsedto.ts +89 -0
- package/src/models/components/overrides.ts +141 -0
- package/src/models/components/patchpreferencechannelsdto.ts +106 -0
- package/src/models/components/patchsubscriberpreferencesdto.ts +84 -0
- package/src/models/components/patchsubscriberrequestdto.ts +182 -0
- package/src/models/components/removesubscriberresponsedto.ts +78 -0
- package/src/models/components/security.ts +4 -13
- package/src/models/components/subscriberresponsedto.ts +18 -9
- package/src/models/components/triggereventrequestdto.ts +11 -22
- package/src/models/components/triggereventtoallrequestdto.ts +35 -24
- package/src/models/components/workflowinfodto.ts +81 -0
- package/src/models/components/workflowpreferencedto.ts +108 -0
- package/src/models/operations/index.ts +25 -21
- package/src/models/operations/subscriberscontrollergetsubscriber.ts +0 -7
- package/src/models/operations/subscriberscontrollergetsubscriberpreferences.ts +183 -0
- package/src/models/operations/subscriberscontrollerpatchsubscriber.ts +189 -0
- package/src/models/operations/subscriberscontrollerremovesubscriber.ts +4 -4
- package/src/models/operations/subscriberscontrollersearchsubscribers.ts +260 -0
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreferences.ts +189 -0
- package/src/models/operations/subscribersv1controllerbulkcreatesubscribers.ts +185 -0
- package/src/models/operations/{subscriberscontrollerchataccessoauth.ts → subscribersv1controllerchataccessoauth.ts} +47 -46
- package/src/models/operations/subscribersv1controllerchatoauthcallback.ts +281 -0
- package/src/models/operations/subscribersv1controllercreatesubscriber.ts +187 -0
- package/src/models/operations/subscribersv1controllerdeletesubscribercredentials.ts +178 -0
- package/src/models/operations/{subscriberscontrollergetnotificationsfeed.ts → subscribersv1controllergetnotificationsfeed.ts} +46 -46
- package/src/models/operations/subscribersv1controllergetsubscriber.ts +188 -0
- package/src/models/operations/{subscriberscontrollergetsubscriberpreferencebylevel.ts → subscribersv1controllergetsubscriberpreferencebylevel.ts} +46 -46
- package/src/models/operations/subscribersv1controllergetunseencount.ts +195 -0
- package/src/models/operations/subscribersv1controllerlistsubscriberpreferences.ts +191 -0
- package/src/models/operations/subscribersv1controllerlistsubscribers.ts +283 -0
- package/src/models/operations/{subscriberscontrollermarkactionasseen.ts → subscribersv1controllermarkactionasseen.ts} +48 -46
- package/src/models/operations/subscribersv1controllermarkallunreadasread.ts +191 -0
- package/src/models/operations/subscribersv1controllermarkmessagesas.ts +187 -0
- package/src/models/operations/subscribersv1controllermodifysubscriberchannel.ts +192 -0
- package/src/models/operations/subscribersv1controllerremovesubscriber.ts +183 -0
- package/src/models/operations/{subscriberscontrollerupdatesubscriber.ts → subscribersv1controllerupdatesubscriber.ts} +48 -46
- package/src/models/operations/subscribersv1controllerupdatesubscriberchannel.ts +192 -0
- package/src/models/operations/subscribersv1controllerupdatesubscriberglobalpreferences.ts +195 -0
- package/src/models/operations/subscribersv1controllerupdatesubscriberonlineflag.ts +193 -0
- package/src/models/operations/subscribersv1controllerupdatesubscriberpreference.ts +197 -0
- package/src/sdk/authentication.ts +4 -4
- package/src/sdk/credentials.ts +7 -3
- package/src/sdk/novumessages.ts +4 -4
- package/src/sdk/novunotifications.ts +4 -4
- package/src/sdk/preferences.ts +52 -7
- package/src/sdk/properties.ts +1 -1
- package/src/sdk/sdk.ts +0 -34
- package/src/sdk/subscribers.ts +89 -10
- package/funcs/create.d.ts +0 -9
- package/funcs/create.d.ts.map +0 -1
- package/funcs/create.js.map +0 -1
- package/funcs/supportControllerFetchUserOrganizations.d.ts +0 -10
- package/funcs/supportControllerFetchUserOrganizations.d.ts.map +0 -1
- package/funcs/supportControllerFetchUserOrganizations.js.map +0 -1
- package/models/components/channelsettings.d.ts.map +0 -1
- package/models/components/channelsettings.js.map +0 -1
- package/models/components/createsupportthreaddto.d.ts +0 -29
- package/models/components/createsupportthreaddto.d.ts.map +0 -1
- package/models/components/createsupportthreaddto.js.map +0 -1
- package/models/components/plaincardrequestdto.d.ts +0 -100
- package/models/components/plaincardrequestdto.d.ts.map +0 -1
- package/models/components/plaincardrequestdto.js +0 -139
- package/models/components/plaincardrequestdto.js.map +0 -1
- package/models/components/workflowtostepcontrolvaluesdto.d.ts +0 -40
- package/models/components/workflowtostepcontrolvaluesdto.d.ts.map +0 -1
- package/models/components/workflowtostepcontrolvaluesdto.js +0 -59
- package/models/components/workflowtostepcontrolvaluesdto.js.map +0 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +0 -66
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +0 -112
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js.map +0 -1
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts +0 -80
- package/models/operations/subscriberscontrollerchataccessoauth.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerchataccessoauth.js +0 -113
- package/models/operations/subscriberscontrollerchataccessoauth.js.map +0 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts +0 -108
- package/models/operations/subscriberscontrollerchatoauthcallback.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerchatoauthcallback.js +0 -142
- package/models/operations/subscriberscontrollerchatoauthcallback.js.map +0 -1
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +0 -66
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +0 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js +0 -112
- package/models/operations/subscriberscontrollercreatesubscriber.js.map +0 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +0 -65
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +0 -111
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js.map +0 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts +0 -79
- package/models/operations/subscriberscontrollergetnotificationsfeed.d.ts.map +0 -1
- package/models/operations/subscriberscontrollergetnotificationsfeed.js +0 -120
- package/models/operations/subscriberscontrollergetnotificationsfeed.js.map +0 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts +0 -108
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.d.ts.map +0 -1
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js +0 -141
- package/models/operations/subscriberscontrollergetsubscriberpreferencebylevel.js.map +0 -1
- package/models/operations/subscriberscontrollergetunseencount.d.ts +0 -76
- package/models/operations/subscriberscontrollergetunseencount.d.ts.map +0 -1
- package/models/operations/subscriberscontrollergetunseencount.js +0 -114
- package/models/operations/subscriberscontrollergetunseencount.js.map +0 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts +0 -71
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js +0 -113
- package/models/operations/subscriberscontrollerlistsubscriberpreferences.js.map +0 -1
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts +0 -108
- package/models/operations/subscriberscontrollerlistsubscribers.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerlistsubscribers.js +0 -145
- package/models/operations/subscriberscontrollerlistsubscribers.js.map +0 -1
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +0 -72
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts.map +0 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +0 -118
- package/models/operations/subscriberscontrollermarkactionasseen.js.map +0 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +0 -68
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts.map +0 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +0 -114
- package/models/operations/subscriberscontrollermarkallunreadasread.js.map +0 -1
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +0 -68
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts.map +0 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +0 -114
- package/models/operations/subscriberscontrollermarkmessagesas.js.map +0 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts +0 -68
- package/models/operations/subscriberscontrollermodifysubscriberchannel.d.ts.map +0 -1
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js +0 -114
- package/models/operations/subscriberscontrollermodifysubscriberchannel.js.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts +0 -68
- package/models/operations/subscriberscontrollerupdatesubscriber.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriber.js +0 -114
- package/models/operations/subscriberscontrollerupdatesubscriber.js.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts +0 -68
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js +0 -114
- package/models/operations/subscriberscontrollerupdatesubscriberchannel.js.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts +0 -68
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js +0 -118
- package/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.js.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts +0 -68
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js +0 -117
- package/models/operations/subscriberscontrollerupdatesubscriberonlineflag.js.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts +0 -70
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.d.ts.map +0 -1
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js +0 -119
- package/models/operations/subscriberscontrollerupdatesubscriberpreference.js.map +0 -1
- package/models/operations/supportcontrollercreatethread.d.ts +0 -35
- package/models/operations/supportcontrollercreatethread.d.ts.map +0 -1
- package/models/operations/supportcontrollercreatethread.js +0 -73
- package/models/operations/supportcontrollercreatethread.js.map +0 -1
- package/models/operations/supportcontrollerfetchuserorganizations.d.ts +0 -56
- package/models/operations/supportcontrollerfetchuserorganizations.d.ts.map +0 -1
- package/models/operations/supportcontrollerfetchuserorganizations.js +0 -96
- package/models/operations/supportcontrollerfetchuserorganizations.js.map +0 -1
- package/src/models/components/createsupportthreaddto.ts +0 -66
- package/src/models/components/plaincardrequestdto.ts +0 -223
- package/src/models/components/workflowtostepcontrolvaluesdto.ts +0 -71
- package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +0 -185
- package/src/models/operations/subscriberscontrollerchatoauthcallback.ts +0 -281
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +0 -185
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +0 -177
- package/src/models/operations/subscriberscontrollergetunseencount.ts +0 -192
- package/src/models/operations/subscriberscontrollerlistsubscriberpreferences.ts +0 -193
- package/src/models/operations/subscriberscontrollerlistsubscribers.ts +0 -282
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +0 -191
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +0 -184
- package/src/models/operations/subscriberscontrollermodifysubscriberchannel.ts +0 -193
- package/src/models/operations/subscriberscontrollerupdatesubscriberchannel.ts +0 -193
- package/src/models/operations/subscriberscontrollerupdatesubscriberglobalpreferences.ts +0 -195
- package/src/models/operations/subscriberscontrollerupdatesubscriberonlineflag.ts +0 -192
- package/src/models/operations/subscriberscontrollerupdatesubscriberpreference.ts +0 -196
- package/src/models/operations/supportcontrollercreatethread.ts +0 -90
- package/src/models/operations/supportcontrollerfetchuserorganizations.ts +0 -163
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type SubscribersV1ControllerChatOauthCallbackRequest = {
|
|
5
|
+
subscriberId: string;
|
|
6
|
+
providerId?: any | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* HMAC hash for the request
|
|
9
|
+
*/
|
|
10
|
+
hmacHash: string;
|
|
11
|
+
/**
|
|
12
|
+
* The ID of the environment, must be a valid MongoDB ID
|
|
13
|
+
*/
|
|
14
|
+
environmentId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional integration identifier
|
|
17
|
+
*/
|
|
18
|
+
integrationIdentifier?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Optional authorization code returned from the OAuth provider
|
|
21
|
+
*/
|
|
22
|
+
code: string;
|
|
23
|
+
/**
|
|
24
|
+
* A header for idempotency purposes
|
|
25
|
+
*/
|
|
26
|
+
idempotencyKey?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
export type SubscribersV1ControllerChatOauthCallbackResponseResult = string | string;
|
|
29
|
+
export type SubscribersV1ControllerChatOauthCallbackResponse = {
|
|
30
|
+
headers: {
|
|
31
|
+
[k: string]: Array<string>;
|
|
32
|
+
};
|
|
33
|
+
result: string | string;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackRequest, z.ZodTypeDef, unknown>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export type SubscribersV1ControllerChatOauthCallbackRequest$Outbound = {
|
|
39
|
+
subscriberId: string;
|
|
40
|
+
providerId?: any | undefined;
|
|
41
|
+
hmacHash: string;
|
|
42
|
+
environmentId: string;
|
|
43
|
+
integrationIdentifier?: string | undefined;
|
|
44
|
+
code: string;
|
|
45
|
+
"idempotency-key"?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackRequest$Outbound, z.ZodTypeDef, SubscribersV1ControllerChatOauthCallbackRequest>;
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
export declare namespace SubscribersV1ControllerChatOauthCallbackRequest$ {
|
|
54
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema` instead. */
|
|
55
|
+
const inboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackRequest, z.ZodTypeDef, unknown>;
|
|
56
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema` instead. */
|
|
57
|
+
const outboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackRequest$Outbound, z.ZodTypeDef, SubscribersV1ControllerChatOauthCallbackRequest>;
|
|
58
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackRequest$Outbound` instead. */
|
|
59
|
+
type Outbound = SubscribersV1ControllerChatOauthCallbackRequest$Outbound;
|
|
60
|
+
}
|
|
61
|
+
export declare function subscribersV1ControllerChatOauthCallbackRequestToJSON(subscribersV1ControllerChatOauthCallbackRequest: SubscribersV1ControllerChatOauthCallbackRequest): string;
|
|
62
|
+
export declare function subscribersV1ControllerChatOauthCallbackRequestFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerChatOauthCallbackRequest, SDKValidationError>;
|
|
63
|
+
/** @internal */
|
|
64
|
+
export declare const SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackResponseResult, z.ZodTypeDef, unknown>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type SubscribersV1ControllerChatOauthCallbackResponseResult$Outbound = string | string;
|
|
67
|
+
/** @internal */
|
|
68
|
+
export declare const SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackResponseResult$Outbound, z.ZodTypeDef, SubscribersV1ControllerChatOauthCallbackResponseResult>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
export declare namespace SubscribersV1ControllerChatOauthCallbackResponseResult$ {
|
|
74
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema` instead. */
|
|
75
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
76
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema` instead. */
|
|
77
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
78
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponseResult$Outbound` instead. */
|
|
79
|
+
type Outbound = SubscribersV1ControllerChatOauthCallbackResponseResult$Outbound;
|
|
80
|
+
}
|
|
81
|
+
export declare function subscribersV1ControllerChatOauthCallbackResponseResultToJSON(subscribersV1ControllerChatOauthCallbackResponseResult: SubscribersV1ControllerChatOauthCallbackResponseResult): string;
|
|
82
|
+
export declare function subscribersV1ControllerChatOauthCallbackResponseResultFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerChatOauthCallbackResponseResult, SDKValidationError>;
|
|
83
|
+
/** @internal */
|
|
84
|
+
export declare const SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackResponse, z.ZodTypeDef, unknown>;
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type SubscribersV1ControllerChatOauthCallbackResponse$Outbound = {
|
|
87
|
+
Headers: {
|
|
88
|
+
[k: string]: Array<string>;
|
|
89
|
+
};
|
|
90
|
+
Result: string | string;
|
|
91
|
+
};
|
|
92
|
+
/** @internal */
|
|
93
|
+
export declare const SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackResponse$Outbound, z.ZodTypeDef, SubscribersV1ControllerChatOauthCallbackResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
97
|
+
*/
|
|
98
|
+
export declare namespace SubscribersV1ControllerChatOauthCallbackResponse$ {
|
|
99
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema` instead. */
|
|
100
|
+
const inboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackResponse, z.ZodTypeDef, unknown>;
|
|
101
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema` instead. */
|
|
102
|
+
const outboundSchema: z.ZodType<SubscribersV1ControllerChatOauthCallbackResponse$Outbound, z.ZodTypeDef, SubscribersV1ControllerChatOauthCallbackResponse>;
|
|
103
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponse$Outbound` instead. */
|
|
104
|
+
type Outbound = SubscribersV1ControllerChatOauthCallbackResponse$Outbound;
|
|
105
|
+
}
|
|
106
|
+
export declare function subscribersV1ControllerChatOauthCallbackResponseToJSON(subscribersV1ControllerChatOauthCallbackResponse: SubscribersV1ControllerChatOauthCallbackResponse): string;
|
|
107
|
+
export declare function subscribersV1ControllerChatOauthCallbackResponseFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerChatOauthCallbackResponse, SDKValidationError>;
|
|
108
|
+
//# sourceMappingURL=subscribersv1controllerchatoauthcallback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersv1controllerchatoauthcallback.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscribersv1controllerchatoauthcallback.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;AAErE,MAAM,MAAM,+CAA+C,GAAG;IAC5D,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,sDAAsD,GAC9D,MAAM,GACN,MAAM,CAAC;AAEX,MAAM,MAAM,gDA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BAAgB,sDAAsD,CACpE,gDAAgD,EAC9C,gDAAgD,GACjD,MAAM,CAMR;AAED,wBAAgB,wDAAwD,CACtE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,gDAAgD,EAChD,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,143 @@
|
|
|
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.subscribersV1ControllerChatOauthCallbackResponseFromJSON = exports.subscribersV1ControllerChatOauthCallbackResponseToJSON = exports.SubscribersV1ControllerChatOauthCallbackResponse$ = exports.SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema = exports.SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema = exports.subscribersV1ControllerChatOauthCallbackResponseResultFromJSON = exports.subscribersV1ControllerChatOauthCallbackResponseResultToJSON = exports.SubscribersV1ControllerChatOauthCallbackResponseResult$ = exports.SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema = exports.SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema = exports.subscribersV1ControllerChatOauthCallbackRequestFromJSON = exports.subscribersV1ControllerChatOauthCallbackRequestToJSON = exports.SubscribersV1ControllerChatOauthCallbackRequest$ = exports.SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema = exports.SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
+
/** @internal */
|
|
34
|
+
exports.SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema = z.object({
|
|
35
|
+
subscriberId: z.string(),
|
|
36
|
+
providerId: z.any().optional(),
|
|
37
|
+
hmacHash: z.string(),
|
|
38
|
+
environmentId: z.string(),
|
|
39
|
+
integrationIdentifier: z.string().optional(),
|
|
40
|
+
code: z.string(),
|
|
41
|
+
"idempotency-key": z.string().optional(),
|
|
42
|
+
}).transform((v) => {
|
|
43
|
+
return (0, primitives_js_1.remap)(v, {
|
|
44
|
+
"idempotency-key": "idempotencyKey",
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema = z.object({
|
|
49
|
+
subscriberId: z.string(),
|
|
50
|
+
providerId: z.any().optional(),
|
|
51
|
+
hmacHash: z.string(),
|
|
52
|
+
environmentId: z.string(),
|
|
53
|
+
integrationIdentifier: z.string().optional(),
|
|
54
|
+
code: z.string(),
|
|
55
|
+
idempotencyKey: z.string().optional(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return (0, primitives_js_1.remap)(v, {
|
|
58
|
+
idempotencyKey: "idempotency-key",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
+
*/
|
|
65
|
+
var SubscribersV1ControllerChatOauthCallbackRequest$;
|
|
66
|
+
(function (SubscribersV1ControllerChatOauthCallbackRequest$) {
|
|
67
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema` instead. */
|
|
68
|
+
SubscribersV1ControllerChatOauthCallbackRequest$.inboundSchema = exports.SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema;
|
|
69
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema` instead. */
|
|
70
|
+
SubscribersV1ControllerChatOauthCallbackRequest$.outboundSchema = exports.SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema;
|
|
71
|
+
})(SubscribersV1ControllerChatOauthCallbackRequest$ || (exports.SubscribersV1ControllerChatOauthCallbackRequest$ = SubscribersV1ControllerChatOauthCallbackRequest$ = {}));
|
|
72
|
+
function subscribersV1ControllerChatOauthCallbackRequestToJSON(subscribersV1ControllerChatOauthCallbackRequest) {
|
|
73
|
+
return JSON.stringify(exports.SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema.parse(subscribersV1ControllerChatOauthCallbackRequest));
|
|
74
|
+
}
|
|
75
|
+
exports.subscribersV1ControllerChatOauthCallbackRequestToJSON = subscribersV1ControllerChatOauthCallbackRequestToJSON;
|
|
76
|
+
function subscribersV1ControllerChatOauthCallbackRequestFromJSON(jsonString) {
|
|
77
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersV1ControllerChatOauthCallbackRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersV1ControllerChatOauthCallbackRequest' from JSON`);
|
|
78
|
+
}
|
|
79
|
+
exports.subscribersV1ControllerChatOauthCallbackRequestFromJSON = subscribersV1ControllerChatOauthCallbackRequestFromJSON;
|
|
80
|
+
/** @internal */
|
|
81
|
+
exports.SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema = z.union([z.string(), z.string()]);
|
|
82
|
+
/** @internal */
|
|
83
|
+
exports.SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema = z.union([z.string(), z.string()]);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
var SubscribersV1ControllerChatOauthCallbackResponseResult$;
|
|
89
|
+
(function (SubscribersV1ControllerChatOauthCallbackResponseResult$) {
|
|
90
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema` instead. */
|
|
91
|
+
SubscribersV1ControllerChatOauthCallbackResponseResult$.inboundSchema = exports.SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema;
|
|
92
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema` instead. */
|
|
93
|
+
SubscribersV1ControllerChatOauthCallbackResponseResult$.outboundSchema = exports.SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema;
|
|
94
|
+
})(SubscribersV1ControllerChatOauthCallbackResponseResult$ || (exports.SubscribersV1ControllerChatOauthCallbackResponseResult$ = SubscribersV1ControllerChatOauthCallbackResponseResult$ = {}));
|
|
95
|
+
function subscribersV1ControllerChatOauthCallbackResponseResultToJSON(subscribersV1ControllerChatOauthCallbackResponseResult) {
|
|
96
|
+
return JSON.stringify(exports.SubscribersV1ControllerChatOauthCallbackResponseResult$outboundSchema.parse(subscribersV1ControllerChatOauthCallbackResponseResult));
|
|
97
|
+
}
|
|
98
|
+
exports.subscribersV1ControllerChatOauthCallbackResponseResultToJSON = subscribersV1ControllerChatOauthCallbackResponseResultToJSON;
|
|
99
|
+
function subscribersV1ControllerChatOauthCallbackResponseResultFromJSON(jsonString) {
|
|
100
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersV1ControllerChatOauthCallbackResponseResult$inboundSchema
|
|
101
|
+
.parse(JSON.parse(x)), `Failed to parse 'SubscribersV1ControllerChatOauthCallbackResponseResult' from JSON`);
|
|
102
|
+
}
|
|
103
|
+
exports.subscribersV1ControllerChatOauthCallbackResponseResultFromJSON = subscribersV1ControllerChatOauthCallbackResponseResultFromJSON;
|
|
104
|
+
/** @internal */
|
|
105
|
+
exports.SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema = z.object({
|
|
106
|
+
Headers: z.record(z.array(z.string())),
|
|
107
|
+
Result: z.union([z.string(), z.string()]),
|
|
108
|
+
}).transform((v) => {
|
|
109
|
+
return (0, primitives_js_1.remap)(v, {
|
|
110
|
+
"Headers": "headers",
|
|
111
|
+
"Result": "result",
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
/** @internal */
|
|
115
|
+
exports.SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema = z.object({
|
|
116
|
+
headers: z.record(z.array(z.string())),
|
|
117
|
+
result: z.union([z.string(), z.string()]),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return (0, primitives_js_1.remap)(v, {
|
|
120
|
+
headers: "Headers",
|
|
121
|
+
result: "Result",
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
var SubscribersV1ControllerChatOauthCallbackResponse$;
|
|
129
|
+
(function (SubscribersV1ControllerChatOauthCallbackResponse$) {
|
|
130
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema` instead. */
|
|
131
|
+
SubscribersV1ControllerChatOauthCallbackResponse$.inboundSchema = exports.SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema;
|
|
132
|
+
/** @deprecated use `SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema` instead. */
|
|
133
|
+
SubscribersV1ControllerChatOauthCallbackResponse$.outboundSchema = exports.SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema;
|
|
134
|
+
})(SubscribersV1ControllerChatOauthCallbackResponse$ || (exports.SubscribersV1ControllerChatOauthCallbackResponse$ = SubscribersV1ControllerChatOauthCallbackResponse$ = {}));
|
|
135
|
+
function subscribersV1ControllerChatOauthCallbackResponseToJSON(subscribersV1ControllerChatOauthCallbackResponse) {
|
|
136
|
+
return JSON.stringify(exports.SubscribersV1ControllerChatOauthCallbackResponse$outboundSchema.parse(subscribersV1ControllerChatOauthCallbackResponse));
|
|
137
|
+
}
|
|
138
|
+
exports.subscribersV1ControllerChatOauthCallbackResponseToJSON = subscribersV1ControllerChatOauthCallbackResponseToJSON;
|
|
139
|
+
function subscribersV1ControllerChatOauthCallbackResponseFromJSON(jsonString) {
|
|
140
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersV1ControllerChatOauthCallbackResponse' from JSON`);
|
|
141
|
+
}
|
|
142
|
+
exports.subscribersV1ControllerChatOauthCallbackResponseFromJSON = subscribersV1ControllerChatOauthCallbackResponseFromJSON;
|
|
143
|
+
//# sourceMappingURL=subscribersv1controllerchatoauthcallback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersv1controllerchatoauthcallback.js","sourceRoot":"","sources":["../../src/models/operations/subscribersv1controllerchatoauthcallback.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAsCjD,gBAAgB;AACH,QAAA,6DAA6D,GAKpE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,CAAC,EAVgB,iDAAiD,iEAAjD,iDAAiD,QAUjE;AAED,SAAgB,sDAAsD,CACpE,gDACkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uEAA+D,CAAC,KAAK,CACnE,gDAAgD,CACjD,CACF,CAAC;AACJ,CAAC;AATD,wHASC;AAED,SAAgB,wDAAwD,CACtE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,sEAA8D,CAAC,KAAK,CAClE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,8EAA8E,CAC/E,CAAC;AACJ,CAAC;AAdD,4HAcC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type SubscribersV1ControllerCreateSubscriberRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* A header for idempotency purposes
|
|
8
|
+
*/
|
|
9
|
+
idempotencyKey?: string | undefined;
|
|
10
|
+
createSubscriberRequestDto: components.CreateSubscriberRequestDto;
|
|
11
|
+
};
|
|
12
|
+
export type SubscribersV1ControllerCreateSubscriberResponse = {
|
|
13
|
+
headers: {
|
|
14
|
+
[k: string]: Array<string>;
|
|
15
|
+
};
|
|
16
|
+
result: components.SubscriberResponseDto;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const SubscribersV1ControllerCreateSubscriberRequest$inboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberRequest, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type SubscribersV1ControllerCreateSubscriberRequest$Outbound = {
|
|
22
|
+
"idempotency-key"?: string | undefined;
|
|
23
|
+
CreateSubscriberRequestDto: components.CreateSubscriberRequestDto$Outbound;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const SubscribersV1ControllerCreateSubscriberRequest$outboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberRequest$Outbound, z.ZodTypeDef, SubscribersV1ControllerCreateSubscriberRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
+
*/
|
|
31
|
+
export declare namespace SubscribersV1ControllerCreateSubscriberRequest$ {
|
|
32
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberRequest$inboundSchema` instead. */
|
|
33
|
+
const inboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberRequest, z.ZodTypeDef, unknown>;
|
|
34
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberRequest$outboundSchema` instead. */
|
|
35
|
+
const outboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberRequest$Outbound, z.ZodTypeDef, SubscribersV1ControllerCreateSubscriberRequest>;
|
|
36
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberRequest$Outbound` instead. */
|
|
37
|
+
type Outbound = SubscribersV1ControllerCreateSubscriberRequest$Outbound;
|
|
38
|
+
}
|
|
39
|
+
export declare function subscribersV1ControllerCreateSubscriberRequestToJSON(subscribersV1ControllerCreateSubscriberRequest: SubscribersV1ControllerCreateSubscriberRequest): string;
|
|
40
|
+
export declare function subscribersV1ControllerCreateSubscriberRequestFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerCreateSubscriberRequest, SDKValidationError>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const SubscribersV1ControllerCreateSubscriberResponse$inboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberResponse, z.ZodTypeDef, unknown>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type SubscribersV1ControllerCreateSubscriberResponse$Outbound = {
|
|
45
|
+
Headers: {
|
|
46
|
+
[k: string]: Array<string>;
|
|
47
|
+
};
|
|
48
|
+
Result: components.SubscriberResponseDto$Outbound;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const SubscribersV1ControllerCreateSubscriberResponse$outboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberResponse$Outbound, z.ZodTypeDef, SubscribersV1ControllerCreateSubscriberResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
55
|
+
*/
|
|
56
|
+
export declare namespace SubscribersV1ControllerCreateSubscriberResponse$ {
|
|
57
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberResponse$inboundSchema` instead. */
|
|
58
|
+
const inboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberResponse, z.ZodTypeDef, unknown>;
|
|
59
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberResponse$outboundSchema` instead. */
|
|
60
|
+
const outboundSchema: z.ZodType<SubscribersV1ControllerCreateSubscriberResponse$Outbound, z.ZodTypeDef, SubscribersV1ControllerCreateSubscriberResponse>;
|
|
61
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberResponse$Outbound` instead. */
|
|
62
|
+
type Outbound = SubscribersV1ControllerCreateSubscriberResponse$Outbound;
|
|
63
|
+
}
|
|
64
|
+
export declare function subscribersV1ControllerCreateSubscriberResponseToJSON(subscribersV1ControllerCreateSubscriberResponse: SubscribersV1ControllerCreateSubscriberResponse): string;
|
|
65
|
+
export declare function subscribersV1ControllerCreateSubscriberResponseFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerCreateSubscriberResponse, SDKValidationError>;
|
|
66
|
+
//# sourceMappingURL=subscribersv1controllercreatesubscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersv1controllercreatesubscriber.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscribersv1controllercreatesubscriber.ts"],"names":[],"mappings":"AA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BAAgB,sDAAsD,CACpE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,8CAA8C,EAC9C,kBAAkB,CACnB,CASA;AAED,gBAAgB;AAChB,eAAO,MAAM,6DAA6D,EACxE,CAAC,CAAC,OAAO,CACP,+CAA+C,EAC/C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,wDAAwD,GAAG;IACrE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,8BAA8B,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8DAA8D,EACzE,CAAC,CAAC,OAAO,CACP,wDAAwD,EACxD,CAAC,CAAC,UAAU,EACZ,+CAA+C,CAS/C,CAAC;AAEL;;;GAGG;AACH,yBAAiB,gDAAgD,CAAC;IAChE,+FAA+F;IACxF,MAAM,aAAa,mFACqC,CAAC;IAChE,gGAAgG;IACzF,MAAM,cAAc,oIACqC,CAAC;IACjE,0FAA0F;IAC1F,KAAY,QAAQ,GAClB,wDAAwD,CAAC;CAC5D;AAED,wBAAgB,qDAAqD,CACnE,+CAA+C,EAC7C,+CAA+C,GAChD,MAAM,CAMR;AAED,wBAAgB,uDAAuD,CACrE,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,+CAA+C,EAC/C,kBAAkB,CACnB,CASA"}
|
|
@@ -0,0 +1,112 @@
|
|
|
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.subscribersV1ControllerCreateSubscriberResponseFromJSON = exports.subscribersV1ControllerCreateSubscriberResponseToJSON = exports.SubscribersV1ControllerCreateSubscriberResponse$ = exports.SubscribersV1ControllerCreateSubscriberResponse$outboundSchema = exports.SubscribersV1ControllerCreateSubscriberResponse$inboundSchema = exports.subscribersV1ControllerCreateSubscriberRequestFromJSON = exports.subscribersV1ControllerCreateSubscriberRequestToJSON = exports.SubscribersV1ControllerCreateSubscriberRequest$ = exports.SubscribersV1ControllerCreateSubscriberRequest$outboundSchema = exports.SubscribersV1ControllerCreateSubscriberRequest$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
+
const components = __importStar(require("../components/index.js"));
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports.SubscribersV1ControllerCreateSubscriberRequest$inboundSchema = z.object({
|
|
36
|
+
"idempotency-key": z.string().optional(),
|
|
37
|
+
CreateSubscriberRequestDto: components.CreateSubscriberRequestDto$inboundSchema,
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return (0, primitives_js_1.remap)(v, {
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
|
+
"CreateSubscriberRequestDto": "createSubscriberRequestDto",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.SubscribersV1ControllerCreateSubscriberRequest$outboundSchema = z.object({
|
|
46
|
+
idempotencyKey: z.string().optional(),
|
|
47
|
+
createSubscriberRequestDto: components.CreateSubscriberRequestDto$outboundSchema,
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
idempotencyKey: "idempotency-key",
|
|
51
|
+
createSubscriberRequestDto: "CreateSubscriberRequestDto",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
var SubscribersV1ControllerCreateSubscriberRequest$;
|
|
59
|
+
(function (SubscribersV1ControllerCreateSubscriberRequest$) {
|
|
60
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberRequest$inboundSchema` instead. */
|
|
61
|
+
SubscribersV1ControllerCreateSubscriberRequest$.inboundSchema = exports.SubscribersV1ControllerCreateSubscriberRequest$inboundSchema;
|
|
62
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberRequest$outboundSchema` instead. */
|
|
63
|
+
SubscribersV1ControllerCreateSubscriberRequest$.outboundSchema = exports.SubscribersV1ControllerCreateSubscriberRequest$outboundSchema;
|
|
64
|
+
})(SubscribersV1ControllerCreateSubscriberRequest$ || (exports.SubscribersV1ControllerCreateSubscriberRequest$ = SubscribersV1ControllerCreateSubscriberRequest$ = {}));
|
|
65
|
+
function subscribersV1ControllerCreateSubscriberRequestToJSON(subscribersV1ControllerCreateSubscriberRequest) {
|
|
66
|
+
return JSON.stringify(exports.SubscribersV1ControllerCreateSubscriberRequest$outboundSchema.parse(subscribersV1ControllerCreateSubscriberRequest));
|
|
67
|
+
}
|
|
68
|
+
exports.subscribersV1ControllerCreateSubscriberRequestToJSON = subscribersV1ControllerCreateSubscriberRequestToJSON;
|
|
69
|
+
function subscribersV1ControllerCreateSubscriberRequestFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersV1ControllerCreateSubscriberRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersV1ControllerCreateSubscriberRequest' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
exports.subscribersV1ControllerCreateSubscriberRequestFromJSON = subscribersV1ControllerCreateSubscriberRequestFromJSON;
|
|
73
|
+
/** @internal */
|
|
74
|
+
exports.SubscribersV1ControllerCreateSubscriberResponse$inboundSchema = z.object({
|
|
75
|
+
Headers: z.record(z.array(z.string())),
|
|
76
|
+
Result: components.SubscriberResponseDto$inboundSchema,
|
|
77
|
+
}).transform((v) => {
|
|
78
|
+
return (0, primitives_js_1.remap)(v, {
|
|
79
|
+
"Headers": "headers",
|
|
80
|
+
"Result": "result",
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.SubscribersV1ControllerCreateSubscriberResponse$outboundSchema = z.object({
|
|
85
|
+
headers: z.record(z.array(z.string())),
|
|
86
|
+
result: components.SubscriberResponseDto$outboundSchema,
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return (0, primitives_js_1.remap)(v, {
|
|
89
|
+
headers: "Headers",
|
|
90
|
+
result: "Result",
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
|
+
*/
|
|
97
|
+
var SubscribersV1ControllerCreateSubscriberResponse$;
|
|
98
|
+
(function (SubscribersV1ControllerCreateSubscriberResponse$) {
|
|
99
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberResponse$inboundSchema` instead. */
|
|
100
|
+
SubscribersV1ControllerCreateSubscriberResponse$.inboundSchema = exports.SubscribersV1ControllerCreateSubscriberResponse$inboundSchema;
|
|
101
|
+
/** @deprecated use `SubscribersV1ControllerCreateSubscriberResponse$outboundSchema` instead. */
|
|
102
|
+
SubscribersV1ControllerCreateSubscriberResponse$.outboundSchema = exports.SubscribersV1ControllerCreateSubscriberResponse$outboundSchema;
|
|
103
|
+
})(SubscribersV1ControllerCreateSubscriberResponse$ || (exports.SubscribersV1ControllerCreateSubscriberResponse$ = SubscribersV1ControllerCreateSubscriberResponse$ = {}));
|
|
104
|
+
function subscribersV1ControllerCreateSubscriberResponseToJSON(subscribersV1ControllerCreateSubscriberResponse) {
|
|
105
|
+
return JSON.stringify(exports.SubscribersV1ControllerCreateSubscriberResponse$outboundSchema.parse(subscribersV1ControllerCreateSubscriberResponse));
|
|
106
|
+
}
|
|
107
|
+
exports.subscribersV1ControllerCreateSubscriberResponseToJSON = subscribersV1ControllerCreateSubscriberResponseToJSON;
|
|
108
|
+
function subscribersV1ControllerCreateSubscriberResponseFromJSON(jsonString) {
|
|
109
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SubscribersV1ControllerCreateSubscriberResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SubscribersV1ControllerCreateSubscriberResponse' from JSON`);
|
|
110
|
+
}
|
|
111
|
+
exports.subscribersV1ControllerCreateSubscriberResponseFromJSON = subscribersV1ControllerCreateSubscriberResponseFromJSON;
|
|
112
|
+
//# sourceMappingURL=subscribersv1controllercreatesubscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersv1controllercreatesubscriber.js","sourceRoot":"","sources":["../../src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AgB,qDAAqD,CACnE,+CACiD;IAEjD,OAAO,IAAI,CAAC,SAAS,CACnB,sEAA8D,CAAC,KAAK,CAClE,+CAA+C,CAChD,CACF,CAAC;AACJ,CAAC;AATD,sHASC;AAED,SAAgB,uDAAuD,CACrE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,qEAA6D,CAAC,KAAK,CACjE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,6EAA6E,CAC9E,CAAC;AACJ,CAAC;AAdD,0HAcC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type SubscribersV1ControllerDeleteSubscriberCredentialsRequest = {
|
|
5
|
+
subscriberId: string;
|
|
6
|
+
providerId: string;
|
|
7
|
+
/**
|
|
8
|
+
* A header for idempotency purposes
|
|
9
|
+
*/
|
|
10
|
+
idempotencyKey?: string | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type SubscribersV1ControllerDeleteSubscriberCredentialsResponse = {
|
|
13
|
+
headers: {
|
|
14
|
+
[k: string]: Array<string>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const SubscribersV1ControllerDeleteSubscriberCredentialsRequest$inboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsRequest, z.ZodTypeDef, unknown>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export type SubscribersV1ControllerDeleteSubscriberCredentialsRequest$Outbound = {
|
|
21
|
+
subscriberId: string;
|
|
22
|
+
providerId: string;
|
|
23
|
+
"idempotency-key"?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
/** @internal */
|
|
26
|
+
export declare const SubscribersV1ControllerDeleteSubscriberCredentialsRequest$outboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsRequest$Outbound, z.ZodTypeDef, SubscribersV1ControllerDeleteSubscriberCredentialsRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
30
|
+
*/
|
|
31
|
+
export declare namespace SubscribersV1ControllerDeleteSubscriberCredentialsRequest$ {
|
|
32
|
+
/** @deprecated use `SubscribersV1ControllerDeleteSubscriberCredentialsRequest$inboundSchema` instead. */
|
|
33
|
+
const inboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsRequest, z.ZodTypeDef, unknown>;
|
|
34
|
+
/** @deprecated use `SubscribersV1ControllerDeleteSubscriberCredentialsRequest$outboundSchema` instead. */
|
|
35
|
+
const outboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsRequest$Outbound, z.ZodTypeDef, SubscribersV1ControllerDeleteSubscriberCredentialsRequest>;
|
|
36
|
+
/** @deprecated use `SubscribersV1ControllerDeleteSubscriberCredentialsRequest$Outbound` instead. */
|
|
37
|
+
type Outbound = SubscribersV1ControllerDeleteSubscriberCredentialsRequest$Outbound;
|
|
38
|
+
}
|
|
39
|
+
export declare function subscribersV1ControllerDeleteSubscriberCredentialsRequestToJSON(subscribersV1ControllerDeleteSubscriberCredentialsRequest: SubscribersV1ControllerDeleteSubscriberCredentialsRequest): string;
|
|
40
|
+
export declare function subscribersV1ControllerDeleteSubscriberCredentialsRequestFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerDeleteSubscriberCredentialsRequest, SDKValidationError>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const SubscribersV1ControllerDeleteSubscriberCredentialsResponse$inboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsResponse, z.ZodTypeDef, unknown>;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type SubscribersV1ControllerDeleteSubscriberCredentialsResponse$Outbound = {
|
|
45
|
+
Headers: {
|
|
46
|
+
[k: string]: Array<string>;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
export declare const SubscribersV1ControllerDeleteSubscriberCredentialsResponse$outboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsResponse$Outbound, z.ZodTypeDef, SubscribersV1ControllerDeleteSubscriberCredentialsResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
|
+
*/
|
|
55
|
+
export declare namespace SubscribersV1ControllerDeleteSubscriberCredentialsResponse$ {
|
|
56
|
+
/** @deprecated use `SubscribersV1ControllerDeleteSubscriberCredentialsResponse$inboundSchema` instead. */
|
|
57
|
+
const inboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsResponse, z.ZodTypeDef, unknown>;
|
|
58
|
+
/** @deprecated use `SubscribersV1ControllerDeleteSubscriberCredentialsResponse$outboundSchema` instead. */
|
|
59
|
+
const outboundSchema: z.ZodType<SubscribersV1ControllerDeleteSubscriberCredentialsResponse$Outbound, z.ZodTypeDef, SubscribersV1ControllerDeleteSubscriberCredentialsResponse>;
|
|
60
|
+
/** @deprecated use `SubscribersV1ControllerDeleteSubscriberCredentialsResponse$Outbound` instead. */
|
|
61
|
+
type Outbound = SubscribersV1ControllerDeleteSubscriberCredentialsResponse$Outbound;
|
|
62
|
+
}
|
|
63
|
+
export declare function subscribersV1ControllerDeleteSubscriberCredentialsResponseToJSON(subscribersV1ControllerDeleteSubscriberCredentialsResponse: SubscribersV1ControllerDeleteSubscriberCredentialsResponse): string;
|
|
64
|
+
export declare function subscribersV1ControllerDeleteSubscriberCredentialsResponseFromJSON(jsonString: string): SafeParseResult<SubscribersV1ControllerDeleteSubscriberCredentialsResponse, SDKValidationError>;
|
|
65
|
+
//# sourceMappingURL=subscribersv1controllerdeletesubscribercredentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribersv1controllerdeletesubscribercredentials.d.ts","sourceRoot":"","sources":["../../src/models/operations/subscribersv1controllerdeletesubscribercredentials.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;AAErE,MAAM,MAAM,yDAAyD,GAAG;IACtE,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,0DAA0D,GAAG;IACvE,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uEAAuE,EAClF,CAAC,CAAC,OAAO,CACP,yDAAyD,EACzD,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,kEAAkE,GAC5E;IACE,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEJ,gBAAgB;AAChB,eAAO,MAAM,wEAAwE,EACnF,CAAC,CAAC,OAAO,CACP,kEAAkE,EAClE,CAAC,CAAC,UAAU,EACZ,yDAAyD,CASzD,CAAC;AAEL;;;GAGG;AACH,yBAAiB,0DAA0D,CAAC;IAC1E,yGAAyG;IAClG,MAAM,aAAa,6FAC+C,CAAC;IAC1E,0GAA0G;IACnG,MAAM,cAAc,wJAC+C,CAAC;IAC3E,oGAAoG;IACpG,KAAY,QAAQ,GAClB,kEAAkE,CAAC;CACtE;AAED,wBA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