@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
package/src/funcs/cancel.ts
CHANGED
|
@@ -87,8 +87,8 @@ export async function cancel(
|
|
|
87
87
|
),
|
|
88
88
|
}));
|
|
89
89
|
|
|
90
|
-
const secConfig = await extractSecurity(client._options.
|
|
91
|
-
const securityInput = secConfig == null ? {} : {
|
|
90
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
91
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
92
92
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
93
93
|
|
|
94
94
|
const context = {
|
|
@@ -97,7 +97,7 @@ export async function cancel(
|
|
|
97
97
|
|
|
98
98
|
resolvedSecurity: requestSecurity,
|
|
99
99
|
|
|
100
|
-
securitySource: client._options.
|
|
100
|
+
securitySource: client._options.secretKey,
|
|
101
101
|
retryConfig: options?.retries
|
|
102
102
|
|| client._options.retryConfig
|
|
103
103
|
|| {
|
|
@@ -177,12 +177,12 @@ export async function cancel(
|
|
|
177
177
|
hdrs: true,
|
|
178
178
|
key: "Result",
|
|
179
179
|
}),
|
|
180
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
180
181
|
M.jsonErr(
|
|
181
182
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
182
183
|
errors.ErrorDto$inboundSchema,
|
|
183
184
|
{ hdrs: true },
|
|
184
185
|
),
|
|
185
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
186
186
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
187
187
|
M.fail(429),
|
|
188
188
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -83,8 +83,8 @@ export async function integrationsCreate(
|
|
|
83
83
|
),
|
|
84
84
|
}));
|
|
85
85
|
|
|
86
|
-
const secConfig = await extractSecurity(client._options.
|
|
87
|
-
const securityInput = secConfig == null ? {} : {
|
|
86
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
87
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
88
88
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
89
89
|
|
|
90
90
|
const context = {
|
|
@@ -93,7 +93,7 @@ export async function integrationsCreate(
|
|
|
93
93
|
|
|
94
94
|
resolvedSecurity: requestSecurity,
|
|
95
95
|
|
|
96
|
-
securitySource: client._options.
|
|
96
|
+
securitySource: client._options.secretKey,
|
|
97
97
|
retryConfig: options?.retries
|
|
98
98
|
|| client._options.retryConfig
|
|
99
99
|
|| {
|
|
@@ -174,12 +174,12 @@ export async function integrationsCreate(
|
|
|
174
174
|
operations.IntegrationsControllerCreateIntegrationResponse$inboundSchema,
|
|
175
175
|
{ hdrs: true, key: "Result" },
|
|
176
176
|
),
|
|
177
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
177
178
|
M.jsonErr(
|
|
178
179
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
179
180
|
errors.ErrorDto$inboundSchema,
|
|
180
181
|
{ hdrs: true },
|
|
181
182
|
),
|
|
182
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
183
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
184
184
|
M.fail(429),
|
|
185
185
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -83,8 +83,8 @@ export async function integrationsDelete(
|
|
|
83
83
|
),
|
|
84
84
|
}));
|
|
85
85
|
|
|
86
|
-
const secConfig = await extractSecurity(client._options.
|
|
87
|
-
const securityInput = secConfig == null ? {} : {
|
|
86
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
87
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
88
88
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
89
89
|
|
|
90
90
|
const context = {
|
|
@@ -93,7 +93,7 @@ export async function integrationsDelete(
|
|
|
93
93
|
|
|
94
94
|
resolvedSecurity: requestSecurity,
|
|
95
95
|
|
|
96
|
-
securitySource: client._options.
|
|
96
|
+
securitySource: client._options.secretKey,
|
|
97
97
|
retryConfig: options?.retries
|
|
98
98
|
|| client._options.retryConfig
|
|
99
99
|
|| {
|
|
@@ -174,12 +174,12 @@ export async function integrationsDelete(
|
|
|
174
174
|
operations.IntegrationsControllerRemoveIntegrationResponse$inboundSchema,
|
|
175
175
|
{ hdrs: true, key: "Result" },
|
|
176
176
|
),
|
|
177
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
177
178
|
M.jsonErr(
|
|
178
179
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
179
180
|
errors.ErrorDto$inboundSchema,
|
|
180
181
|
{ hdrs: true },
|
|
181
182
|
),
|
|
182
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
183
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
184
184
|
M.fail(429),
|
|
185
185
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -77,8 +77,8 @@ export async function integrationsList(
|
|
|
77
77
|
),
|
|
78
78
|
}));
|
|
79
79
|
|
|
80
|
-
const secConfig = await extractSecurity(client._options.
|
|
81
|
-
const securityInput = secConfig == null ? {} : {
|
|
80
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
81
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
82
82
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
83
83
|
|
|
84
84
|
const context = {
|
|
@@ -87,7 +87,7 @@ export async function integrationsList(
|
|
|
87
87
|
|
|
88
88
|
resolvedSecurity: requestSecurity,
|
|
89
89
|
|
|
90
|
-
securitySource: client._options.
|
|
90
|
+
securitySource: client._options.secretKey,
|
|
91
91
|
retryConfig: options?.retries
|
|
92
92
|
|| client._options.retryConfig
|
|
93
93
|
|| {
|
|
@@ -168,12 +168,12 @@ export async function integrationsList(
|
|
|
168
168
|
operations.IntegrationsControllerListIntegrationsResponse$inboundSchema,
|
|
169
169
|
{ hdrs: true, key: "Result" },
|
|
170
170
|
),
|
|
171
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
171
172
|
M.jsonErr(
|
|
172
173
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
173
174
|
errors.ErrorDto$inboundSchema,
|
|
174
175
|
{ hdrs: true },
|
|
175
176
|
),
|
|
176
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
177
177
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
178
178
|
M.fail(429),
|
|
179
179
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -78,8 +78,8 @@ export async function integrationsListActive(
|
|
|
78
78
|
),
|
|
79
79
|
}));
|
|
80
80
|
|
|
81
|
-
const secConfig = await extractSecurity(client._options.
|
|
82
|
-
const securityInput = secConfig == null ? {} : {
|
|
81
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
82
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
83
83
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
84
84
|
|
|
85
85
|
const context = {
|
|
@@ -88,7 +88,7 @@ export async function integrationsListActive(
|
|
|
88
88
|
|
|
89
89
|
resolvedSecurity: requestSecurity,
|
|
90
90
|
|
|
91
|
-
securitySource: client._options.
|
|
91
|
+
securitySource: client._options.secretKey,
|
|
92
92
|
retryConfig: options?.retries
|
|
93
93
|
|| client._options.retryConfig
|
|
94
94
|
|| {
|
|
@@ -170,12 +170,12 @@ export async function integrationsListActive(
|
|
|
170
170
|
.IntegrationsControllerGetActiveIntegrationsResponse$inboundSchema,
|
|
171
171
|
{ hdrs: true, key: "Result" },
|
|
172
172
|
),
|
|
173
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
173
174
|
M.jsonErr(
|
|
174
175
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
175
176
|
errors.ErrorDto$inboundSchema,
|
|
176
177
|
{ hdrs: true },
|
|
177
178
|
),
|
|
178
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
179
179
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
180
180
|
M.fail(429),
|
|
181
181
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -87,8 +87,8 @@ export async function integrationsSetAsPrimary(
|
|
|
87
87
|
),
|
|
88
88
|
}));
|
|
89
89
|
|
|
90
|
-
const secConfig = await extractSecurity(client._options.
|
|
91
|
-
const securityInput = secConfig == null ? {} : {
|
|
90
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
91
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
92
92
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
93
93
|
|
|
94
94
|
const context = {
|
|
@@ -97,7 +97,7 @@ export async function integrationsSetAsPrimary(
|
|
|
97
97
|
|
|
98
98
|
resolvedSecurity: requestSecurity,
|
|
99
99
|
|
|
100
|
-
securitySource: client._options.
|
|
100
|
+
securitySource: client._options.secretKey,
|
|
101
101
|
retryConfig: options?.retries
|
|
102
102
|
|| client._options.retryConfig
|
|
103
103
|
|| {
|
|
@@ -179,14 +179,14 @@ export async function integrationsSetAsPrimary(
|
|
|
179
179
|
.IntegrationsControllerSetIntegrationAsPrimaryResponse$inboundSchema,
|
|
180
180
|
{ hdrs: true, key: "Result" },
|
|
181
181
|
),
|
|
182
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
182
183
|
M.jsonErr(
|
|
183
184
|
[400, 401, 403, 405, 409, 413, 415],
|
|
184
185
|
errors.ErrorDto$inboundSchema,
|
|
185
186
|
{ hdrs: true },
|
|
186
187
|
),
|
|
187
|
-
M.fail([404, 429]),
|
|
188
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
189
188
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
189
|
+
M.fail([404, 429]),
|
|
190
190
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
191
191
|
M.fail(503),
|
|
192
192
|
M.fail("4XX"),
|
|
@@ -90,8 +90,8 @@ export async function integrationsUpdate(
|
|
|
90
90
|
),
|
|
91
91
|
}));
|
|
92
92
|
|
|
93
|
-
const secConfig = await extractSecurity(client._options.
|
|
94
|
-
const securityInput = secConfig == null ? {} : {
|
|
93
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
94
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
95
95
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
96
96
|
|
|
97
97
|
const context = {
|
|
@@ -100,7 +100,7 @@ export async function integrationsUpdate(
|
|
|
100
100
|
|
|
101
101
|
resolvedSecurity: requestSecurity,
|
|
102
102
|
|
|
103
|
-
securitySource: client._options.
|
|
103
|
+
securitySource: client._options.secretKey,
|
|
104
104
|
retryConfig: options?.retries
|
|
105
105
|
|| client._options.retryConfig
|
|
106
106
|
|| {
|
|
@@ -182,14 +182,14 @@ export async function integrationsUpdate(
|
|
|
182
182
|
.IntegrationsControllerUpdateIntegrationByIdResponse$inboundSchema,
|
|
183
183
|
{ hdrs: true, key: "Result" },
|
|
184
184
|
),
|
|
185
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
185
186
|
M.jsonErr(
|
|
186
187
|
[400, 401, 403, 405, 409, 413, 415],
|
|
187
188
|
errors.ErrorDto$inboundSchema,
|
|
188
189
|
{ hdrs: true },
|
|
189
190
|
),
|
|
190
|
-
M.fail([404, 429]),
|
|
191
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
192
191
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
192
|
+
M.fail([404, 429]),
|
|
193
193
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
194
194
|
M.fail(503),
|
|
195
195
|
M.fail("4XX"),
|
|
@@ -91,8 +91,8 @@ export async function integrationsWebhooksRetrieve(
|
|
|
91
91
|
),
|
|
92
92
|
}));
|
|
93
93
|
|
|
94
|
-
const secConfig = await extractSecurity(client._options.
|
|
95
|
-
const securityInput = secConfig == null ? {} : {
|
|
94
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
95
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
96
96
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
97
97
|
|
|
98
98
|
const context = {
|
|
@@ -101,7 +101,7 @@ export async function integrationsWebhooksRetrieve(
|
|
|
101
101
|
|
|
102
102
|
resolvedSecurity: requestSecurity,
|
|
103
103
|
|
|
104
|
-
securitySource: client._options.
|
|
104
|
+
securitySource: client._options.secretKey,
|
|
105
105
|
retryConfig: options?.retries
|
|
106
106
|
|| client._options.retryConfig
|
|
107
107
|
|| {
|
|
@@ -183,12 +183,12 @@ export async function integrationsWebhooksRetrieve(
|
|
|
183
183
|
.IntegrationsControllerGetWebhookSupportStatusResponse$inboundSchema,
|
|
184
184
|
{ hdrs: true, key: "Result" },
|
|
185
185
|
),
|
|
186
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
186
187
|
M.jsonErr(
|
|
187
188
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
188
189
|
errors.ErrorDto$inboundSchema,
|
|
189
190
|
{ hdrs: true },
|
|
190
191
|
),
|
|
191
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
192
192
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
193
193
|
M.fail(429),
|
|
194
194
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -87,8 +87,8 @@ export async function messagesDelete(
|
|
|
87
87
|
),
|
|
88
88
|
}));
|
|
89
89
|
|
|
90
|
-
const secConfig = await extractSecurity(client._options.
|
|
91
|
-
const securityInput = secConfig == null ? {} : {
|
|
90
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
91
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
92
92
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
93
93
|
|
|
94
94
|
const context = {
|
|
@@ -97,7 +97,7 @@ export async function messagesDelete(
|
|
|
97
97
|
|
|
98
98
|
resolvedSecurity: requestSecurity,
|
|
99
99
|
|
|
100
|
-
securitySource: client._options.
|
|
100
|
+
securitySource: client._options.secretKey,
|
|
101
101
|
retryConfig: options?.retries
|
|
102
102
|
|| client._options.retryConfig
|
|
103
103
|
|| {
|
|
@@ -178,12 +178,12 @@ export async function messagesDelete(
|
|
|
178
178
|
operations.MessagesControllerDeleteMessageResponse$inboundSchema,
|
|
179
179
|
{ hdrs: true, key: "Result" },
|
|
180
180
|
),
|
|
181
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
181
182
|
M.jsonErr(
|
|
182
183
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
183
184
|
errors.ErrorDto$inboundSchema,
|
|
184
185
|
{ hdrs: true },
|
|
185
186
|
),
|
|
186
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
187
187
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
188
188
|
M.fail(429),
|
|
189
189
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -97,8 +97,8 @@ export async function messagesDeleteByTransactionId(
|
|
|
97
97
|
),
|
|
98
98
|
}));
|
|
99
99
|
|
|
100
|
-
const secConfig = await extractSecurity(client._options.
|
|
101
|
-
const securityInput = secConfig == null ? {} : {
|
|
100
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
101
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
102
102
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
103
103
|
|
|
104
104
|
const context = {
|
|
@@ -107,7 +107,7 @@ export async function messagesDeleteByTransactionId(
|
|
|
107
107
|
|
|
108
108
|
resolvedSecurity: requestSecurity,
|
|
109
109
|
|
|
110
|
-
securitySource: client._options.
|
|
110
|
+
securitySource: client._options.secretKey,
|
|
111
111
|
retryConfig: options?.retries
|
|
112
112
|
|| client._options.retryConfig
|
|
113
113
|
|| {
|
|
@@ -192,12 +192,12 @@ export async function messagesDeleteByTransactionId(
|
|
|
192
192
|
.optional(),
|
|
193
193
|
{ hdrs: true },
|
|
194
194
|
),
|
|
195
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
195
196
|
M.jsonErr(
|
|
196
197
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
197
198
|
errors.ErrorDto$inboundSchema,
|
|
198
199
|
{ hdrs: true },
|
|
199
200
|
),
|
|
200
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
201
201
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
202
202
|
M.fail(429),
|
|
203
203
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -82,8 +82,8 @@ export async function messagesRetrieve(
|
|
|
82
82
|
),
|
|
83
83
|
}));
|
|
84
84
|
|
|
85
|
-
const secConfig = await extractSecurity(client._options.
|
|
86
|
-
const securityInput = secConfig == null ? {} : {
|
|
85
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
86
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
87
87
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
88
88
|
|
|
89
89
|
const context = {
|
|
@@ -92,7 +92,7 @@ export async function messagesRetrieve(
|
|
|
92
92
|
|
|
93
93
|
resolvedSecurity: requestSecurity,
|
|
94
94
|
|
|
95
|
-
securitySource: client._options.
|
|
95
|
+
securitySource: client._options.secretKey,
|
|
96
96
|
retryConfig: options?.retries
|
|
97
97
|
|| client._options.retryConfig
|
|
98
98
|
|| {
|
|
@@ -174,12 +174,12 @@ export async function messagesRetrieve(
|
|
|
174
174
|
operations.MessagesControllerGetMessagesResponse$inboundSchema,
|
|
175
175
|
{ hdrs: true, key: "Result" },
|
|
176
176
|
),
|
|
177
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
177
178
|
M.jsonErr(
|
|
178
179
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
179
180
|
errors.ErrorDto$inboundSchema,
|
|
180
181
|
{ hdrs: true },
|
|
181
182
|
),
|
|
182
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
183
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
184
184
|
M.fail(429),
|
|
185
185
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -82,8 +82,8 @@ export async function notificationsList(
|
|
|
82
82
|
),
|
|
83
83
|
}));
|
|
84
84
|
|
|
85
|
-
const secConfig = await extractSecurity(client._options.
|
|
86
|
-
const securityInput = secConfig == null ? {} : {
|
|
85
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
86
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
87
87
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
88
88
|
|
|
89
89
|
const context = {
|
|
@@ -92,7 +92,7 @@ export async function notificationsList(
|
|
|
92
92
|
|
|
93
93
|
resolvedSecurity: requestSecurity,
|
|
94
94
|
|
|
95
|
-
securitySource: client._options.
|
|
95
|
+
securitySource: client._options.secretKey,
|
|
96
96
|
retryConfig: options?.retries
|
|
97
97
|
|| client._options.retryConfig
|
|
98
98
|
|| {
|
|
@@ -174,12 +174,12 @@ export async function notificationsList(
|
|
|
174
174
|
operations.NotificationsControllerListNotificationsResponse$inboundSchema,
|
|
175
175
|
{ hdrs: true, key: "Result" },
|
|
176
176
|
),
|
|
177
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
177
178
|
M.jsonErr(
|
|
178
179
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
179
180
|
errors.ErrorDto$inboundSchema,
|
|
180
181
|
{ hdrs: true },
|
|
181
182
|
),
|
|
182
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
183
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
184
184
|
M.fail(429),
|
|
185
185
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -83,8 +83,8 @@ export async function notificationsRetrieve(
|
|
|
83
83
|
),
|
|
84
84
|
}));
|
|
85
85
|
|
|
86
|
-
const secConfig = await extractSecurity(client._options.
|
|
87
|
-
const securityInput = secConfig == null ? {} : {
|
|
86
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
87
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
88
88
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
89
89
|
|
|
90
90
|
const context = {
|
|
@@ -93,7 +93,7 @@ export async function notificationsRetrieve(
|
|
|
93
93
|
|
|
94
94
|
resolvedSecurity: requestSecurity,
|
|
95
95
|
|
|
96
|
-
securitySource: client._options.
|
|
96
|
+
securitySource: client._options.secretKey,
|
|
97
97
|
retryConfig: options?.retries
|
|
98
98
|
|| client._options.retryConfig
|
|
99
99
|
|| {
|
|
@@ -174,12 +174,12 @@ export async function notificationsRetrieve(
|
|
|
174
174
|
operations.NotificationsControllerGetNotificationResponse$inboundSchema,
|
|
175
175
|
{ hdrs: true, key: "Result" },
|
|
176
176
|
),
|
|
177
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
177
178
|
M.jsonErr(
|
|
178
179
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
179
180
|
errors.ErrorDto$inboundSchema,
|
|
180
181
|
{ hdrs: true },
|
|
181
182
|
),
|
|
182
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
183
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
184
184
|
M.fail(429),
|
|
185
185
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -82,8 +82,8 @@ export async function notificationsStatsGraph(
|
|
|
82
82
|
),
|
|
83
83
|
}));
|
|
84
84
|
|
|
85
|
-
const secConfig = await extractSecurity(client._options.
|
|
86
|
-
const securityInput = secConfig == null ? {} : {
|
|
85
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
86
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
87
87
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
88
88
|
|
|
89
89
|
const context = {
|
|
@@ -92,7 +92,7 @@ export async function notificationsStatsGraph(
|
|
|
92
92
|
|
|
93
93
|
resolvedSecurity: requestSecurity,
|
|
94
94
|
|
|
95
|
-
securitySource: client._options.
|
|
95
|
+
securitySource: client._options.secretKey,
|
|
96
96
|
retryConfig: options?.retries
|
|
97
97
|
|| client._options.retryConfig
|
|
98
98
|
|| {
|
|
@@ -175,12 +175,12 @@ export async function notificationsStatsGraph(
|
|
|
175
175
|
.NotificationsControllerGetActivityGraphStatsResponse$inboundSchema,
|
|
176
176
|
{ hdrs: true, key: "Result" },
|
|
177
177
|
),
|
|
178
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
178
179
|
M.jsonErr(
|
|
179
180
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
180
181
|
errors.ErrorDto$inboundSchema,
|
|
181
182
|
{ hdrs: true },
|
|
182
183
|
),
|
|
183
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
184
184
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
185
185
|
M.fail(429),
|
|
186
186
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -74,8 +74,8 @@ export async function notificationsStatsRetrieve(
|
|
|
74
74
|
),
|
|
75
75
|
}));
|
|
76
76
|
|
|
77
|
-
const secConfig = await extractSecurity(client._options.
|
|
78
|
-
const securityInput = secConfig == null ? {} : {
|
|
77
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
78
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
79
79
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
80
80
|
|
|
81
81
|
const context = {
|
|
@@ -84,7 +84,7 @@ export async function notificationsStatsRetrieve(
|
|
|
84
84
|
|
|
85
85
|
resolvedSecurity: requestSecurity,
|
|
86
86
|
|
|
87
|
-
securitySource: client._options.
|
|
87
|
+
securitySource: client._options.secretKey,
|
|
88
88
|
retryConfig: options?.retries
|
|
89
89
|
|| client._options.retryConfig
|
|
90
90
|
|| {
|
|
@@ -165,12 +165,12 @@ export async function notificationsStatsRetrieve(
|
|
|
165
165
|
operations.NotificationsControllerGetActivityStatsResponse$inboundSchema,
|
|
166
166
|
{ hdrs: true, key: "Result" },
|
|
167
167
|
),
|
|
168
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
168
169
|
M.jsonErr(
|
|
169
170
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
170
171
|
errors.ErrorDto$inboundSchema,
|
|
171
172
|
{ hdrs: true },
|
|
172
173
|
),
|
|
173
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
174
174
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
175
175
|
M.fail(429),
|
|
176
176
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -28,11 +28,11 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
*/
|
|
29
29
|
export async function subscribersAuthenticationChatAccessOauth(
|
|
30
30
|
client: NovuCore,
|
|
31
|
-
request: operations.
|
|
31
|
+
request: operations.SubscribersV1ControllerChatAccessOauthRequest,
|
|
32
32
|
options?: RequestOptions,
|
|
33
33
|
): Promise<
|
|
34
34
|
Result<
|
|
35
|
-
operations.
|
|
35
|
+
operations.SubscribersV1ControllerChatAccessOauthResponse | undefined,
|
|
36
36
|
| errors.ErrorDto
|
|
37
37
|
| errors.ErrorDto
|
|
38
38
|
| errors.ValidationErrorDto
|
|
@@ -49,7 +49,7 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
49
49
|
const parsed = safeParse(
|
|
50
50
|
request,
|
|
51
51
|
(value) =>
|
|
52
|
-
operations.
|
|
52
|
+
operations.SubscribersV1ControllerChatAccessOauthRequest$outboundSchema
|
|
53
53
|
.parse(value),
|
|
54
54
|
"Input validation failed",
|
|
55
55
|
);
|
|
@@ -89,17 +89,17 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
89
89
|
),
|
|
90
90
|
}));
|
|
91
91
|
|
|
92
|
-
const secConfig = await extractSecurity(client._options.
|
|
93
|
-
const securityInput = secConfig == null ? {} : {
|
|
92
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
93
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
94
94
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
95
95
|
|
|
96
96
|
const context = {
|
|
97
|
-
operationID: "
|
|
97
|
+
operationID: "SubscribersV1Controller_chatAccessOauth",
|
|
98
98
|
oAuth2Scopes: [],
|
|
99
99
|
|
|
100
100
|
resolvedSecurity: requestSecurity,
|
|
101
101
|
|
|
102
|
-
securitySource: client._options.
|
|
102
|
+
securitySource: client._options.secretKey,
|
|
103
103
|
retryConfig: options?.retries
|
|
104
104
|
|| client._options.retryConfig
|
|
105
105
|
|| {
|
|
@@ -163,7 +163,7 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
const [result] = await M.match<
|
|
166
|
-
operations.
|
|
166
|
+
operations.SubscribersV1ControllerChatAccessOauthResponse | undefined,
|
|
167
167
|
| errors.ErrorDto
|
|
168
168
|
| errors.ErrorDto
|
|
169
169
|
| errors.ValidationErrorDto
|
|
@@ -178,15 +178,15 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
178
178
|
>(
|
|
179
179
|
M.nil(
|
|
180
180
|
200,
|
|
181
|
-
operations.
|
|
181
|
+
operations.SubscribersV1ControllerChatAccessOauthResponse$inboundSchema
|
|
182
182
|
.optional(),
|
|
183
183
|
),
|
|
184
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
184
185
|
M.jsonErr(
|
|
185
186
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
186
187
|
errors.ErrorDto$inboundSchema,
|
|
187
188
|
{ hdrs: true },
|
|
188
189
|
),
|
|
189
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
190
190
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
191
191
|
M.fail(429),
|
|
192
192
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -33,13 +33,13 @@ export enum ChatAccessOauthCallBackAcceptEnum {
|
|
|
33
33
|
*/
|
|
34
34
|
export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
35
35
|
client: NovuCore,
|
|
36
|
-
request: operations.
|
|
36
|
+
request: operations.SubscribersV1ControllerChatOauthCallbackRequest,
|
|
37
37
|
options?: RequestOptions & {
|
|
38
38
|
acceptHeaderOverride?: ChatAccessOauthCallBackAcceptEnum;
|
|
39
39
|
},
|
|
40
40
|
): Promise<
|
|
41
41
|
Result<
|
|
42
|
-
operations.
|
|
42
|
+
operations.SubscribersV1ControllerChatOauthCallbackResponse,
|
|
43
43
|
| errors.ErrorDto
|
|
44
44
|
| errors.ErrorDto
|
|
45
45
|
| errors.ValidationErrorDto
|
|
@@ -56,7 +56,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
56
56
|
const parsed = safeParse(
|
|
57
57
|
request,
|
|
58
58
|
(value) =>
|
|
59
|
-
operations.
|
|
59
|
+
operations.SubscribersV1ControllerChatOauthCallbackRequest$outboundSchema
|
|
60
60
|
.parse(value),
|
|
61
61
|
"Input validation failed",
|
|
62
62
|
);
|
|
@@ -98,17 +98,17 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
98
98
|
),
|
|
99
99
|
}));
|
|
100
100
|
|
|
101
|
-
const secConfig = await extractSecurity(client._options.
|
|
102
|
-
const securityInput = secConfig == null ? {} : {
|
|
101
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
102
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
103
103
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
104
104
|
|
|
105
105
|
const context = {
|
|
106
|
-
operationID: "
|
|
106
|
+
operationID: "SubscribersV1Controller_chatOauthCallback",
|
|
107
107
|
oAuth2Scopes: [],
|
|
108
108
|
|
|
109
109
|
resolvedSecurity: requestSecurity,
|
|
110
110
|
|
|
111
|
-
securitySource: client._options.
|
|
111
|
+
securitySource: client._options.secretKey,
|
|
112
112
|
retryConfig: options?.retries
|
|
113
113
|
|| client._options.retryConfig
|
|
114
114
|
|| {
|
|
@@ -172,7 +172,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
172
172
|
};
|
|
173
173
|
|
|
174
174
|
const [result] = await M.match<
|
|
175
|
-
operations.
|
|
175
|
+
operations.SubscribersV1ControllerChatOauthCallbackResponse,
|
|
176
176
|
| errors.ErrorDto
|
|
177
177
|
| errors.ErrorDto
|
|
178
178
|
| errors.ValidationErrorDto
|
|
@@ -187,20 +187,20 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
187
187
|
>(
|
|
188
188
|
M.text(
|
|
189
189
|
200,
|
|
190
|
-
operations.
|
|
190
|
+
operations.SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema,
|
|
191
191
|
{ ctype: "text/html", hdrs: true, key: "Result" },
|
|
192
192
|
),
|
|
193
193
|
M.json(
|
|
194
194
|
302,
|
|
195
|
-
operations.
|
|
195
|
+
operations.SubscribersV1ControllerChatOauthCallbackResponse$inboundSchema,
|
|
196
196
|
{ hdrs: true, key: "Result" },
|
|
197
197
|
),
|
|
198
|
+
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
198
199
|
M.jsonErr(
|
|
199
200
|
[400, 401, 403, 404, 405, 409, 413, 415],
|
|
200
201
|
errors.ErrorDto$inboundSchema,
|
|
201
202
|
{ hdrs: true },
|
|
202
203
|
),
|
|
203
|
-
M.jsonErr(414, errors.ErrorDto$inboundSchema),
|
|
204
204
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
205
205
|
M.fail(429),
|
|
206
206
|
M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
|