@novu/api 0.0.1-alpha.183 → 0.0.1-alpha.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/docs/sdks/admin/README.md +15 -15
- package/docs/sdks/authentication/README.md +10 -10
- package/docs/sdks/credentials/README.md +15 -15
- package/docs/sdks/integrations/README.md +22 -22
- package/docs/sdks/messages/README.md +15 -15
- package/docs/sdks/notifications/README.md +10 -10
- package/docs/sdks/novu/README.md +20 -20
- package/docs/sdks/novumessages/README.md +15 -15
- package/docs/sdks/novunotifications/README.md +10 -10
- package/docs/sdks/novusubscribers/README.md +15 -15
- package/docs/sdks/preferences/README.md +20 -20
- package/docs/sdks/properties/README.md +5 -5
- package/docs/sdks/stats/README.md +10 -10
- package/docs/sdks/subscribers/README.md +30 -30
- package/docs/sdks/topics/README.md +25 -25
- package/docs/sdks/webhooks/README.md +5 -5
- package/funcs/{adminTestingControllerIdempotency.d.ts → adminTestIdempotency.d.ts} +2 -2
- package/funcs/adminTestIdempotency.d.ts.map +1 -0
- package/funcs/{adminTestingControllerIdempotency.js → adminTestIdempotency.js} +9 -5
- package/funcs/adminTestIdempotency.js.map +1 -0
- package/funcs/adminTestingControllerIdempotencyGet.d.ts.map +1 -1
- package/funcs/adminTestingControllerIdempotencyGet.js +2 -1
- package/funcs/adminTestingControllerIdempotencyGet.js.map +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +2 -1
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +2 -1
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +2 -1
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +2 -1
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +2 -1
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +2 -1
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +2 -1
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +2 -1
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +2 -1
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +5 -2
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +2 -1
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +2 -1
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +2 -1
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +2 -1
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +2 -1
- package/funcs/notificationsStatsRetrieve.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +2 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +2 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +2 -1
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +4 -2
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +2 -1
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +5 -2
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +2 -1
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +2 -1
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +2 -1
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +2 -1
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +2 -1
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +2 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +2 -1
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +2 -1
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +2 -1
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +2 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +2 -1
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +2 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +2 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +2 -1
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersUpdate.d.ts.map +1 -1
- package/funcs/subscribersUpdate.js +2 -1
- package/funcs/subscribersUpdate.js.map +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +6 -2
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +2 -1
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +2 -1
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.d.ts.map +1 -1
- package/funcs/topicsRename.js +2 -1
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.d.ts.map +1 -1
- package/funcs/topicsRetrieve.js +2 -1
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
- package/funcs/topicsSubscribersAssign.js +2 -1
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
- package/funcs/topicsSubscribersRemove.js +4 -2
- package/funcs/topicsSubscribersRemove.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +2 -1
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +6 -2
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +2 -1
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +6 -2
- package/funcs/triggerBulk.js.map +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/errordto.d.ts +64 -0
- package/models/components/errordto.d.ts.map +1 -0
- package/models/components/errordto.js +69 -0
- package/models/components/errordto.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/operations/eventscontrollertrigger.d.ts +23 -2
- package/models/operations/eventscontrollertrigger.d.ts.map +1 -1
- package/models/operations/eventscontrollertrigger.js +38 -3
- package/models/operations/eventscontrollertrigger.js.map +1 -1
- package/models/operations/eventscontrollertriggerbulk.d.ts +23 -2
- package/models/operations/eventscontrollertriggerbulk.d.ts.map +1 -1
- package/models/operations/eventscontrollertriggerbulk.js +38 -3
- package/models/operations/eventscontrollertriggerbulk.js.map +1 -1
- package/models/operations/integrationscontrollercreateintegration.d.ts +23 -2
- package/models/operations/integrationscontrollercreateintegration.d.ts.map +1 -1
- package/models/operations/integrationscontrollercreateintegration.js +38 -3
- package/models/operations/integrationscontrollercreateintegration.js.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts +3 -0
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.d.ts.map +1 -1
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js +5 -0
- package/models/operations/messagescontrollerdeletemessagesbytransactionid.js.map +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts +23 -2
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js +40 -3
- package/models/operations/subscriberscontrollerbulkcreatesubscribers.js.map +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts +23 -2
- package/models/operations/subscriberscontrollercreatesubscriber.d.ts.map +1 -1
- package/models/operations/subscriberscontrollercreatesubscriber.js +38 -3
- package/models/operations/subscriberscontrollercreatesubscriber.js.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts +3 -0
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.d.ts.map +1 -1
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js +5 -0
- package/models/operations/subscriberscontrollerdeletesubscribercredentials.js.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts +23 -2
- package/models/operations/subscriberscontrollermarkactionasseen.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkactionasseen.js +38 -3
- package/models/operations/subscriberscontrollermarkactionasseen.js.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts +23 -2
- package/models/operations/subscriberscontrollermarkallunreadasread.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkallunreadasread.js +27 -3
- package/models/operations/subscriberscontrollermarkallunreadasread.js.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts +23 -2
- package/models/operations/subscriberscontrollermarkmessagesas.d.ts.map +1 -1
- package/models/operations/subscriberscontrollermarkmessagesas.js +38 -3
- package/models/operations/subscriberscontrollermarkmessagesas.js.map +1 -1
- package/models/operations/testingcontrolleridempotency.d.ts +23 -2
- package/models/operations/testingcontrolleridempotency.d.ts.map +1 -1
- package/models/operations/testingcontrolleridempotency.js +38 -3
- package/models/operations/testingcontrolleridempotency.js.map +1 -1
- package/models/operations/topicscontrollercreatetopic.d.ts +23 -2
- package/models/operations/topicscontrollercreatetopic.d.ts.map +1 -1
- package/models/operations/topicscontrollercreatetopic.js +38 -3
- package/models/operations/topicscontrollercreatetopic.js.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.d.ts +3 -0
- package/models/operations/topicscontrollerdeletetopic.d.ts.map +1 -1
- package/models/operations/topicscontrollerdeletetopic.js +5 -0
- package/models/operations/topicscontrollerdeletetopic.js.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.d.ts +2 -0
- package/models/operations/topicscontrollerremovesubscribers.d.ts.map +1 -1
- package/models/operations/topicscontrollerremovesubscribers.js +4 -0
- package/models/operations/topicscontrollerremovesubscribers.js.map +1 -1
- package/package.json +1 -1
- package/sdk/admin.d.ts +1 -1
- package/sdk/admin.d.ts.map +1 -1
- package/sdk/admin.js +3 -3
- package/sdk/admin.js.map +1 -1
- package/src/funcs/{adminTestingControllerIdempotency.ts → adminTestIdempotency.ts} +7 -2
- package/src/funcs/adminTestingControllerIdempotencyGet.ts +2 -1
- package/src/funcs/cancel.ts +2 -1
- package/src/funcs/integrationsCreate.ts +7 -1
- package/src/funcs/integrationsDelete.ts +2 -1
- package/src/funcs/integrationsList.ts +2 -1
- package/src/funcs/integrationsListActive.ts +2 -1
- package/src/funcs/integrationsSetAsPrimary.ts +2 -1
- package/src/funcs/integrationsUpdate.ts +2 -1
- package/src/funcs/integrationsWebhooksRetrieve.ts +2 -1
- package/src/funcs/messagesDelete.ts +2 -1
- package/src/funcs/messagesDeleteByTransactionId.ts +9 -1
- package/src/funcs/messagesRetrieve.ts +2 -1
- package/src/funcs/notificationsList.ts +2 -1
- package/src/funcs/notificationsRetrieve.ts +2 -1
- package/src/funcs/notificationsStatsGraph.ts +2 -1
- package/src/funcs/notificationsStatsRetrieve.ts +2 -1
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +2 -1
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +2 -1
- package/src/funcs/subscribersCreate.ts +7 -1
- package/src/funcs/subscribersCreateBulk.ts +8 -1
- package/src/funcs/subscribersCredentialsAppend.ts +2 -1
- package/src/funcs/subscribersCredentialsDelete.ts +9 -1
- package/src/funcs/subscribersCredentialsUpdate.ts +2 -1
- package/src/funcs/subscribersDelete.ts +2 -1
- package/src/funcs/subscribersList.ts +2 -1
- package/src/funcs/subscribersMessagesMarkAll.ts +7 -1
- package/src/funcs/subscribersMessagesMarkAllAs.ts +7 -1
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +7 -1
- package/src/funcs/subscribersNotificationsFeed.ts +2 -1
- package/src/funcs/subscribersNotificationsUnseenCount.ts +2 -1
- package/src/funcs/subscribersPreferencesList.ts +2 -1
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +2 -1
- package/src/funcs/subscribersPreferencesUpdate.ts +2 -1
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +2 -1
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +2 -1
- package/src/funcs/subscribersRetrieve.ts +2 -1
- package/src/funcs/subscribersUpdate.ts +2 -1
- package/src/funcs/topicsCreate.ts +6 -1
- package/src/funcs/topicsDelete.ts +7 -1
- package/src/funcs/topicsList.ts +2 -1
- package/src/funcs/topicsRename.ts +2 -1
- package/src/funcs/topicsRetrieve.ts +2 -1
- package/src/funcs/topicsSubscribersAssign.ts +2 -1
- package/src/funcs/topicsSubscribersRemove.ts +8 -1
- package/src/funcs/topicsSubscribersRetrieve.ts +2 -1
- package/src/funcs/trigger.ts +6 -1
- package/src/funcs/triggerBroadcast.ts +2 -1
- package/src/funcs/triggerBulk.ts +6 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/errordto.ts +103 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/eventscontrollertrigger.ts +77 -4
- package/src/models/operations/eventscontrollertriggerbulk.ts +84 -4
- package/src/models/operations/integrationscontrollercreateintegration.ts +86 -4
- package/src/models/operations/messagescontrollerdeletemessagesbytransactionid.ts +7 -0
- package/src/models/operations/subscriberscontrollerbulkcreatesubscribers.ts +84 -4
- package/src/models/operations/subscriberscontrollercreatesubscriber.ts +86 -4
- package/src/models/operations/subscriberscontrollerdeletesubscribercredentials.ts +7 -0
- package/src/models/operations/subscriberscontrollermarkactionasseen.ts +84 -4
- package/src/models/operations/subscriberscontrollermarkallunreadasread.ts +71 -4
- package/src/models/operations/subscriberscontrollermarkmessagesas.ts +86 -4
- package/src/models/operations/testingcontrolleridempotency.ts +82 -4
- package/src/models/operations/topicscontrollercreatetopic.ts +84 -4
- package/src/models/operations/topicscontrollerdeletetopic.ts +7 -0
- package/src/models/operations/topicscontrollerremovesubscribers.ts +6 -0
- package/src/sdk/admin.ts +3 -3
- package/funcs/adminTestingControllerIdempotency.d.ts.map +0 -1
- package/funcs/adminTestingControllerIdempotency.js.map +0 -1
|
@@ -121,6 +121,7 @@ export async function integrationsList(
|
|
|
121
121
|
errorCodes: [
|
|
122
122
|
"400",
|
|
123
123
|
"401",
|
|
124
|
+
"403",
|
|
124
125
|
"404",
|
|
125
126
|
"409",
|
|
126
127
|
"422",
|
|
@@ -159,7 +160,7 @@ export async function integrationsList(
|
|
|
159
160
|
operations.IntegrationsControllerListIntegrationsResponse$inboundSchema,
|
|
160
161
|
{ hdrs: true, key: "Result" },
|
|
161
162
|
),
|
|
162
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
163
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
163
164
|
hdrs: true,
|
|
164
165
|
}),
|
|
165
166
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -122,6 +122,7 @@ export async function integrationsListActive(
|
|
|
122
122
|
errorCodes: [
|
|
123
123
|
"400",
|
|
124
124
|
"401",
|
|
125
|
+
"403",
|
|
125
126
|
"404",
|
|
126
127
|
"409",
|
|
127
128
|
"422",
|
|
@@ -161,7 +162,7 @@ export async function integrationsListActive(
|
|
|
161
162
|
.IntegrationsControllerGetActiveIntegrationsResponse$inboundSchema,
|
|
162
163
|
{ hdrs: true, key: "Result" },
|
|
163
164
|
),
|
|
164
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
165
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
165
166
|
hdrs: true,
|
|
166
167
|
}),
|
|
167
168
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -131,6 +131,7 @@ export async function integrationsSetAsPrimary(
|
|
|
131
131
|
errorCodes: [
|
|
132
132
|
"400",
|
|
133
133
|
"401",
|
|
134
|
+
"403",
|
|
134
135
|
"404",
|
|
135
136
|
"409",
|
|
136
137
|
"422",
|
|
@@ -170,7 +171,7 @@ export async function integrationsSetAsPrimary(
|
|
|
170
171
|
.IntegrationsControllerSetIntegrationAsPrimaryResponse$inboundSchema,
|
|
171
172
|
{ hdrs: true, key: "Result" },
|
|
172
173
|
),
|
|
173
|
-
M.jsonErr([400, 401, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
174
|
+
M.jsonErr([400, 401, 403, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
174
175
|
hdrs: true,
|
|
175
176
|
}),
|
|
176
177
|
M.fail([404, 429, 503]),
|
|
@@ -134,6 +134,7 @@ export async function integrationsUpdate(
|
|
|
134
134
|
errorCodes: [
|
|
135
135
|
"400",
|
|
136
136
|
"401",
|
|
137
|
+
"403",
|
|
137
138
|
"404",
|
|
138
139
|
"409",
|
|
139
140
|
"422",
|
|
@@ -173,7 +174,7 @@ export async function integrationsUpdate(
|
|
|
173
174
|
.IntegrationsControllerUpdateIntegrationByIdResponse$inboundSchema,
|
|
174
175
|
{ hdrs: true, key: "Result" },
|
|
175
176
|
),
|
|
176
|
-
M.jsonErr([400, 401, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
|
+
M.jsonErr([400, 401, 403, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
178
|
hdrs: true,
|
|
178
179
|
}),
|
|
179
180
|
M.fail([404, 429, 503]),
|
|
@@ -135,6 +135,7 @@ export async function integrationsWebhooksRetrieve(
|
|
|
135
135
|
errorCodes: [
|
|
136
136
|
"400",
|
|
137
137
|
"401",
|
|
138
|
+
"403",
|
|
138
139
|
"404",
|
|
139
140
|
"409",
|
|
140
141
|
"422",
|
|
@@ -174,7 +175,7 @@ export async function integrationsWebhooksRetrieve(
|
|
|
174
175
|
.IntegrationsControllerGetWebhookSupportStatusResponse$inboundSchema,
|
|
175
176
|
{ hdrs: true, key: "Result" },
|
|
176
177
|
),
|
|
177
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
178
179
|
hdrs: true,
|
|
179
180
|
}),
|
|
180
181
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -131,6 +131,7 @@ export async function messagesDelete(
|
|
|
131
131
|
errorCodes: [
|
|
132
132
|
"400",
|
|
133
133
|
"401",
|
|
134
|
+
"403",
|
|
134
135
|
"404",
|
|
135
136
|
"409",
|
|
136
137
|
"422",
|
|
@@ -169,7 +170,7 @@ export async function messagesDelete(
|
|
|
169
170
|
operations.MessagesControllerDeleteMessageResponse$inboundSchema,
|
|
170
171
|
{ hdrs: true, key: "Result" },
|
|
171
172
|
),
|
|
172
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
173
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
173
174
|
hdrs: true,
|
|
174
175
|
}),
|
|
175
176
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -142,6 +142,7 @@ export async function messagesDeleteByTransactionId(
|
|
|
142
142
|
errorCodes: [
|
|
143
143
|
"400",
|
|
144
144
|
"401",
|
|
145
|
+
"403",
|
|
145
146
|
"404",
|
|
146
147
|
"409",
|
|
147
148
|
"422",
|
|
@@ -176,6 +177,13 @@ export async function messagesDeleteByTransactionId(
|
|
|
176
177
|
| RequestTimeoutError
|
|
177
178
|
| ConnectionError
|
|
178
179
|
>(
|
|
180
|
+
M.json(
|
|
181
|
+
200,
|
|
182
|
+
operations
|
|
183
|
+
.MessagesControllerDeleteMessagesByTransactionIdResponse$inboundSchema
|
|
184
|
+
.optional(),
|
|
185
|
+
{ hdrs: true, key: "Result" },
|
|
186
|
+
),
|
|
179
187
|
M.nil(
|
|
180
188
|
204,
|
|
181
189
|
operations
|
|
@@ -183,7 +191,7 @@ export async function messagesDeleteByTransactionId(
|
|
|
183
191
|
.optional(),
|
|
184
192
|
{ hdrs: true },
|
|
185
193
|
),
|
|
186
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
194
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
187
195
|
hdrs: true,
|
|
188
196
|
}),
|
|
189
197
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -127,6 +127,7 @@ export async function messagesRetrieve(
|
|
|
127
127
|
errorCodes: [
|
|
128
128
|
"400",
|
|
129
129
|
"401",
|
|
130
|
+
"403",
|
|
130
131
|
"404",
|
|
131
132
|
"409",
|
|
132
133
|
"422",
|
|
@@ -165,7 +166,7 @@ export async function messagesRetrieve(
|
|
|
165
166
|
operations.MessagesControllerGetMessagesResponse$inboundSchema,
|
|
166
167
|
{ hdrs: true, key: "Result" },
|
|
167
168
|
),
|
|
168
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
170
|
hdrs: true,
|
|
170
171
|
}),
|
|
171
172
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -127,6 +127,7 @@ export async function notificationsList(
|
|
|
127
127
|
errorCodes: [
|
|
128
128
|
"400",
|
|
129
129
|
"401",
|
|
130
|
+
"403",
|
|
130
131
|
"404",
|
|
131
132
|
"409",
|
|
132
133
|
"422",
|
|
@@ -165,7 +166,7 @@ export async function notificationsList(
|
|
|
165
166
|
operations.NotificationsControllerListNotificationsResponse$inboundSchema,
|
|
166
167
|
{ hdrs: true, key: "Result" },
|
|
167
168
|
),
|
|
168
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
170
|
hdrs: true,
|
|
170
171
|
}),
|
|
171
172
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -127,6 +127,7 @@ export async function notificationsRetrieve(
|
|
|
127
127
|
errorCodes: [
|
|
128
128
|
"400",
|
|
129
129
|
"401",
|
|
130
|
+
"403",
|
|
130
131
|
"404",
|
|
131
132
|
"409",
|
|
132
133
|
"422",
|
|
@@ -165,7 +166,7 @@ export async function notificationsRetrieve(
|
|
|
165
166
|
operations.NotificationsControllerGetNotificationResponse$inboundSchema,
|
|
166
167
|
{ hdrs: true, key: "Result" },
|
|
167
168
|
),
|
|
168
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
170
|
hdrs: true,
|
|
170
171
|
}),
|
|
171
172
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -127,6 +127,7 @@ export async function notificationsStatsGraph(
|
|
|
127
127
|
errorCodes: [
|
|
128
128
|
"400",
|
|
129
129
|
"401",
|
|
130
|
+
"403",
|
|
130
131
|
"404",
|
|
131
132
|
"409",
|
|
132
133
|
"422",
|
|
@@ -166,7 +167,7 @@ export async function notificationsStatsGraph(
|
|
|
166
167
|
.NotificationsControllerGetActivityGraphStatsResponse$inboundSchema,
|
|
167
168
|
{ hdrs: true, key: "Result" },
|
|
168
169
|
),
|
|
169
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
170
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
170
171
|
hdrs: true,
|
|
171
172
|
}),
|
|
172
173
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -118,6 +118,7 @@ export async function notificationsStatsRetrieve(
|
|
|
118
118
|
errorCodes: [
|
|
119
119
|
"400",
|
|
120
120
|
"401",
|
|
121
|
+
"403",
|
|
121
122
|
"404",
|
|
122
123
|
"409",
|
|
123
124
|
"422",
|
|
@@ -156,7 +157,7 @@ export async function notificationsStatsRetrieve(
|
|
|
156
157
|
operations.NotificationsControllerGetActivityStatsResponse$inboundSchema,
|
|
157
158
|
{ hdrs: true, key: "Result" },
|
|
158
159
|
),
|
|
159
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
160
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
160
161
|
hdrs: true,
|
|
161
162
|
}),
|
|
162
163
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -134,6 +134,7 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
134
134
|
errorCodes: [
|
|
135
135
|
"400",
|
|
136
136
|
"401",
|
|
137
|
+
"403",
|
|
137
138
|
"404",
|
|
138
139
|
"409",
|
|
139
140
|
"422",
|
|
@@ -172,7 +173,7 @@ export async function subscribersAuthenticationChatAccessOauth(
|
|
|
172
173
|
operations.SubscribersControllerChatAccessOauthResponse$inboundSchema
|
|
173
174
|
.optional(),
|
|
174
175
|
),
|
|
175
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
177
|
hdrs: true,
|
|
177
178
|
}),
|
|
178
179
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -143,6 +143,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
143
143
|
errorCodes: [
|
|
144
144
|
"400",
|
|
145
145
|
"401",
|
|
146
|
+
"403",
|
|
146
147
|
"404",
|
|
147
148
|
"409",
|
|
148
149
|
"422",
|
|
@@ -186,7 +187,7 @@ export async function subscribersAuthenticationChatAccessOauthCallBack(
|
|
|
186
187
|
operations.SubscribersControllerChatOauthCallbackResponse$inboundSchema,
|
|
187
188
|
{ hdrs: true, key: "Result" },
|
|
188
189
|
),
|
|
189
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
190
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
190
191
|
hdrs: true,
|
|
191
192
|
}),
|
|
192
193
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -127,6 +127,7 @@ export async function subscribersCreate(
|
|
|
127
127
|
errorCodes: [
|
|
128
128
|
"400",
|
|
129
129
|
"401",
|
|
130
|
+
"403",
|
|
130
131
|
"404",
|
|
131
132
|
"409",
|
|
132
133
|
"422",
|
|
@@ -160,12 +161,17 @@ export async function subscribersCreate(
|
|
|
160
161
|
| RequestTimeoutError
|
|
161
162
|
| ConnectionError
|
|
162
163
|
>(
|
|
164
|
+
M.json(
|
|
165
|
+
200,
|
|
166
|
+
operations.SubscribersControllerCreateSubscriberResponse$inboundSchema,
|
|
167
|
+
{ hdrs: true, key: "Result" },
|
|
168
|
+
),
|
|
163
169
|
M.json(
|
|
164
170
|
201,
|
|
165
171
|
operations.SubscribersControllerCreateSubscriberResponse$inboundSchema,
|
|
166
172
|
{ hdrs: true, key: "Result" },
|
|
167
173
|
),
|
|
168
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
174
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
175
|
hdrs: true,
|
|
170
176
|
}),
|
|
171
177
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -131,6 +131,7 @@ export async function subscribersCreateBulk(
|
|
|
131
131
|
errorCodes: [
|
|
132
132
|
"400",
|
|
133
133
|
"401",
|
|
134
|
+
"403",
|
|
134
135
|
"404",
|
|
135
136
|
"409",
|
|
136
137
|
"422",
|
|
@@ -164,13 +165,19 @@ export async function subscribersCreateBulk(
|
|
|
164
165
|
| RequestTimeoutError
|
|
165
166
|
| ConnectionError
|
|
166
167
|
>(
|
|
168
|
+
M.json(
|
|
169
|
+
200,
|
|
170
|
+
operations
|
|
171
|
+
.SubscribersControllerBulkCreateSubscribersResponse$inboundSchema,
|
|
172
|
+
{ hdrs: true, key: "Result" },
|
|
173
|
+
),
|
|
167
174
|
M.json(
|
|
168
175
|
201,
|
|
169
176
|
operations
|
|
170
177
|
.SubscribersControllerBulkCreateSubscribersResponse$inboundSchema,
|
|
171
178
|
{ hdrs: true, key: "Result" },
|
|
172
179
|
),
|
|
173
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
180
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
174
181
|
hdrs: true,
|
|
175
182
|
}),
|
|
176
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -142,6 +142,7 @@ export async function subscribersCredentialsAppend(
|
|
|
142
142
|
errorCodes: [
|
|
143
143
|
"400",
|
|
144
144
|
"401",
|
|
145
|
+
"403",
|
|
145
146
|
"404",
|
|
146
147
|
"409",
|
|
147
148
|
"422",
|
|
@@ -181,7 +182,7 @@ export async function subscribersCredentialsAppend(
|
|
|
181
182
|
.SubscribersControllerModifySubscriberChannelResponse$inboundSchema,
|
|
182
183
|
{ hdrs: true, key: "Result" },
|
|
183
184
|
),
|
|
184
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
185
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
185
186
|
hdrs: true,
|
|
186
187
|
}),
|
|
187
188
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -141,6 +141,7 @@ export async function subscribersCredentialsDelete(
|
|
|
141
141
|
errorCodes: [
|
|
142
142
|
"400",
|
|
143
143
|
"401",
|
|
144
|
+
"403",
|
|
144
145
|
"404",
|
|
145
146
|
"409",
|
|
146
147
|
"422",
|
|
@@ -175,6 +176,13 @@ export async function subscribersCredentialsDelete(
|
|
|
175
176
|
| RequestTimeoutError
|
|
176
177
|
| ConnectionError
|
|
177
178
|
>(
|
|
179
|
+
M.json(
|
|
180
|
+
200,
|
|
181
|
+
operations
|
|
182
|
+
.SubscribersControllerDeleteSubscriberCredentialsResponse$inboundSchema
|
|
183
|
+
.optional(),
|
|
184
|
+
{ hdrs: true, key: "Result" },
|
|
185
|
+
),
|
|
178
186
|
M.nil(
|
|
179
187
|
204,
|
|
180
188
|
operations
|
|
@@ -182,7 +190,7 @@ export async function subscribersCredentialsDelete(
|
|
|
182
190
|
.optional(),
|
|
183
191
|
{ hdrs: true },
|
|
184
192
|
),
|
|
185
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
193
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
186
194
|
hdrs: true,
|
|
187
195
|
}),
|
|
188
196
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -141,6 +141,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
141
141
|
errorCodes: [
|
|
142
142
|
"400",
|
|
143
143
|
"401",
|
|
144
|
+
"403",
|
|
144
145
|
"404",
|
|
145
146
|
"409",
|
|
146
147
|
"422",
|
|
@@ -180,7 +181,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
180
181
|
.SubscribersControllerUpdateSubscriberChannelResponse$inboundSchema,
|
|
181
182
|
{ hdrs: true, key: "Result" },
|
|
182
183
|
),
|
|
183
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
184
185
|
hdrs: true,
|
|
185
186
|
}),
|
|
186
187
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -130,6 +130,7 @@ export async function subscribersDelete(
|
|
|
130
130
|
errorCodes: [
|
|
131
131
|
"400",
|
|
132
132
|
"401",
|
|
133
|
+
"403",
|
|
133
134
|
"404",
|
|
134
135
|
"409",
|
|
135
136
|
"422",
|
|
@@ -168,7 +169,7 @@ export async function subscribersDelete(
|
|
|
168
169
|
operations.SubscribersControllerRemoveSubscriberResponse$inboundSchema,
|
|
169
170
|
{ hdrs: true, key: "Result" },
|
|
170
171
|
),
|
|
171
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
172
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
172
173
|
hdrs: true,
|
|
173
174
|
}),
|
|
174
175
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -141,6 +141,7 @@ export async function subscribersList(
|
|
|
141
141
|
errorCodes: [
|
|
142
142
|
"400",
|
|
143
143
|
"401",
|
|
144
|
+
"403",
|
|
144
145
|
"404",
|
|
145
146
|
"409",
|
|
146
147
|
"422",
|
|
@@ -179,7 +180,7 @@ export async function subscribersList(
|
|
|
179
180
|
operations.SubscribersControllerListSubscribersResponse$inboundSchema,
|
|
180
181
|
{ hdrs: true, key: "Result" },
|
|
181
182
|
),
|
|
182
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
183
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
183
184
|
hdrs: true,
|
|
184
185
|
}),
|
|
185
186
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -135,6 +135,7 @@ export async function subscribersMessagesMarkAll(
|
|
|
135
135
|
errorCodes: [
|
|
136
136
|
"400",
|
|
137
137
|
"401",
|
|
138
|
+
"403",
|
|
138
139
|
"404",
|
|
139
140
|
"409",
|
|
140
141
|
"422",
|
|
@@ -168,12 +169,17 @@ export async function subscribersMessagesMarkAll(
|
|
|
168
169
|
| RequestTimeoutError
|
|
169
170
|
| ConnectionError
|
|
170
171
|
>(
|
|
172
|
+
M.json(
|
|
173
|
+
200,
|
|
174
|
+
operations.SubscribersControllerMarkAllUnreadAsReadResponse$inboundSchema,
|
|
175
|
+
{ hdrs: true, key: "Result" },
|
|
176
|
+
),
|
|
171
177
|
M.json(
|
|
172
178
|
201,
|
|
173
179
|
operations.SubscribersControllerMarkAllUnreadAsReadResponse$inboundSchema,
|
|
174
180
|
{ hdrs: true, key: "Result" },
|
|
175
181
|
),
|
|
176
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
182
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
183
|
hdrs: true,
|
|
178
184
|
}),
|
|
179
185
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -135,6 +135,7 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
135
135
|
errorCodes: [
|
|
136
136
|
"400",
|
|
137
137
|
"401",
|
|
138
|
+
"403",
|
|
138
139
|
"404",
|
|
139
140
|
"409",
|
|
140
141
|
"422",
|
|
@@ -168,12 +169,17 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
168
169
|
| RequestTimeoutError
|
|
169
170
|
| ConnectionError
|
|
170
171
|
>(
|
|
172
|
+
M.json(
|
|
173
|
+
200,
|
|
174
|
+
operations.SubscribersControllerMarkMessagesAsResponse$inboundSchema,
|
|
175
|
+
{ hdrs: true, key: "Result" },
|
|
176
|
+
),
|
|
171
177
|
M.json(
|
|
172
178
|
201,
|
|
173
179
|
operations.SubscribersControllerMarkMessagesAsResponse$inboundSchema,
|
|
174
180
|
{ hdrs: true, key: "Result" },
|
|
175
181
|
),
|
|
176
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
182
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
183
|
hdrs: true,
|
|
178
184
|
}),
|
|
179
185
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -134,6 +134,7 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
134
134
|
errorCodes: [
|
|
135
135
|
"400",
|
|
136
136
|
"401",
|
|
137
|
+
"403",
|
|
137
138
|
"404",
|
|
138
139
|
"409",
|
|
139
140
|
"422",
|
|
@@ -167,12 +168,17 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
167
168
|
| RequestTimeoutError
|
|
168
169
|
| ConnectionError
|
|
169
170
|
>(
|
|
171
|
+
M.json(
|
|
172
|
+
200,
|
|
173
|
+
operations.SubscribersControllerMarkActionAsSeenResponse$inboundSchema,
|
|
174
|
+
{ hdrs: true, key: "Result" },
|
|
175
|
+
),
|
|
170
176
|
M.json(
|
|
171
177
|
201,
|
|
172
178
|
operations.SubscribersControllerMarkActionAsSeenResponse$inboundSchema,
|
|
173
179
|
{ hdrs: true, key: "Result" },
|
|
174
180
|
),
|
|
175
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
181
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
182
|
hdrs: true,
|
|
177
183
|
}),
|
|
178
184
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -132,6 +132,7 @@ export async function subscribersNotificationsFeed(
|
|
|
132
132
|
errorCodes: [
|
|
133
133
|
"400",
|
|
134
134
|
"401",
|
|
135
|
+
"403",
|
|
135
136
|
"404",
|
|
136
137
|
"409",
|
|
137
138
|
"422",
|
|
@@ -171,7 +172,7 @@ export async function subscribersNotificationsFeed(
|
|
|
171
172
|
.SubscribersControllerGetNotificationsFeedResponse$inboundSchema,
|
|
172
173
|
{ hdrs: true, key: "Result" },
|
|
173
174
|
),
|
|
174
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
175
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
175
176
|
hdrs: true,
|
|
176
177
|
}),
|
|
177
178
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -129,6 +129,7 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
129
129
|
errorCodes: [
|
|
130
130
|
"400",
|
|
131
131
|
"401",
|
|
132
|
+
"403",
|
|
132
133
|
"404",
|
|
133
134
|
"409",
|
|
134
135
|
"422",
|
|
@@ -167,7 +168,7 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
167
168
|
operations.SubscribersControllerGetUnseenCountResponse$inboundSchema,
|
|
168
169
|
{ hdrs: true, key: "Result" },
|
|
169
170
|
),
|
|
170
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
171
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
171
172
|
hdrs: true,
|
|
172
173
|
}),
|
|
173
174
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -138,6 +138,7 @@ export async function subscribersPreferencesList(
|
|
|
138
138
|
errorCodes: [
|
|
139
139
|
"400",
|
|
140
140
|
"401",
|
|
141
|
+
"403",
|
|
141
142
|
"404",
|
|
142
143
|
"409",
|
|
143
144
|
"422",
|
|
@@ -177,7 +178,7 @@ export async function subscribersPreferencesList(
|
|
|
177
178
|
.SubscribersControllerListSubscriberPreferencesResponse$inboundSchema,
|
|
178
179
|
{ hdrs: true, key: "Result" },
|
|
179
180
|
),
|
|
180
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
181
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
181
182
|
hdrs: true,
|
|
182
183
|
}),
|
|
183
184
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -134,6 +134,7 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
134
134
|
errorCodes: [
|
|
135
135
|
"400",
|
|
136
136
|
"401",
|
|
137
|
+
"403",
|
|
137
138
|
"404",
|
|
138
139
|
"409",
|
|
139
140
|
"422",
|
|
@@ -173,7 +174,7 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
173
174
|
.SubscribersControllerGetSubscriberPreferenceByLevelResponse$inboundSchema,
|
|
174
175
|
{ hdrs: true, key: "Result" },
|
|
175
176
|
),
|
|
176
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
178
|
hdrs: true,
|
|
178
179
|
}),
|
|
179
180
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -133,6 +133,7 @@ export async function subscribersPreferencesUpdate(
|
|
|
133
133
|
errorCodes: [
|
|
134
134
|
"400",
|
|
135
135
|
"401",
|
|
136
|
+
"403",
|
|
136
137
|
"404",
|
|
137
138
|
"409",
|
|
138
139
|
"422",
|
|
@@ -172,7 +173,7 @@ export async function subscribersPreferencesUpdate(
|
|
|
172
173
|
.SubscribersControllerUpdateSubscriberPreferenceResponse$inboundSchema,
|
|
173
174
|
{ hdrs: true, key: "Result" },
|
|
174
175
|
),
|
|
175
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
177
|
hdrs: true,
|
|
177
178
|
}),
|
|
178
179
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -141,6 +141,7 @@ export async function subscribersPreferencesUpdateGlobal(
|
|
|
141
141
|
errorCodes: [
|
|
142
142
|
"400",
|
|
143
143
|
"401",
|
|
144
|
+
"403",
|
|
144
145
|
"404",
|
|
145
146
|
"409",
|
|
146
147
|
"422",
|
|
@@ -180,7 +181,7 @@ export async function subscribersPreferencesUpdateGlobal(
|
|
|
180
181
|
.SubscribersControllerUpdateSubscriberGlobalPreferencesResponse$inboundSchema,
|
|
181
182
|
{ hdrs: true, key: "Result" },
|
|
182
183
|
),
|
|
183
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
184
185
|
hdrs: true,
|
|
185
186
|
}),
|
|
186
187
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -144,6 +144,7 @@ export async function subscribersPropertiesUpdateOnlineFlag(
|
|
|
144
144
|
errorCodes: [
|
|
145
145
|
"400",
|
|
146
146
|
"401",
|
|
147
|
+
"403",
|
|
147
148
|
"404",
|
|
148
149
|
"409",
|
|
149
150
|
"422",
|
|
@@ -183,7 +184,7 @@ export async function subscribersPropertiesUpdateOnlineFlag(
|
|
|
183
184
|
.SubscribersControllerUpdateSubscriberOnlineFlagResponse$inboundSchema,
|
|
184
185
|
{ hdrs: true, key: "Result" },
|
|
185
186
|
),
|
|
186
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
187
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
187
188
|
hdrs: true,
|
|
188
189
|
}),
|
|
189
190
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -138,6 +138,7 @@ export async function subscribersRetrieve(
|
|
|
138
138
|
errorCodes: [
|
|
139
139
|
"400",
|
|
140
140
|
"401",
|
|
141
|
+
"403",
|
|
141
142
|
"404",
|
|
142
143
|
"409",
|
|
143
144
|
"422",
|
|
@@ -176,7 +177,7 @@ export async function subscribersRetrieve(
|
|
|
176
177
|
operations.SubscribersControllerGetSubscriberResponse$inboundSchema,
|
|
177
178
|
{ hdrs: true, key: "Result" },
|
|
178
179
|
),
|
|
179
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
180
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
180
181
|
hdrs: true,
|
|
181
182
|
}),
|
|
182
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -136,6 +136,7 @@ export async function subscribersUpdate(
|
|
|
136
136
|
errorCodes: [
|
|
137
137
|
"400",
|
|
138
138
|
"401",
|
|
139
|
+
"403",
|
|
139
140
|
"404",
|
|
140
141
|
"409",
|
|
141
142
|
"422",
|
|
@@ -174,7 +175,7 @@ export async function subscribersUpdate(
|
|
|
174
175
|
operations.SubscribersControllerUpdateSubscriberResponse$inboundSchema,
|
|
175
176
|
{ hdrs: true, key: "Result" },
|
|
176
177
|
),
|
|
177
|
-
M.jsonErr([400, 401, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
178
179
|
hdrs: true,
|
|
179
180
|
}),
|
|
180
181
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|