@novu/api 0.0.1-alpha.182 → 0.0.1-alpha.185
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} +21 -6
- package/funcs/adminTestIdempotency.js.map +1 -0
- package/funcs/adminTestingControllerIdempotencyGet.d.ts.map +1 -1
- package/funcs/adminTestingControllerIdempotencyGet.js +14 -2
- package/funcs/adminTestingControllerIdempotencyGet.js.map +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +14 -2
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +14 -2
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +14 -2
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +14 -2
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +14 -2
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +16 -2
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +16 -2
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.d.ts.map +1 -1
- package/funcs/integrationsWebhooksRetrieve.js +14 -2
- package/funcs/integrationsWebhooksRetrieve.js.map +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +14 -2
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +17 -3
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +14 -2
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +14 -2
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +14 -2
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/notificationsStatsGraph.d.ts.map +1 -1
- package/funcs/notificationsStatsGraph.js +14 -2
- package/funcs/notificationsStatsGraph.js.map +1 -1
- package/funcs/notificationsStatsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsStatsRetrieve.js +14 -2
- package/funcs/notificationsStatsRetrieve.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauth.js +14 -2
- package/funcs/subscribersAuthenticationChatAccessOauth.js.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.d.ts.map +1 -1
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js +14 -2
- package/funcs/subscribersAuthenticationChatAccessOauthCallBack.js.map +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +14 -2
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +16 -3
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +14 -2
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +17 -3
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +14 -2
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +14 -2
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersList.d.ts.map +1 -1
- package/funcs/subscribersList.js +14 -2
- package/funcs/subscribersList.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +14 -2
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +14 -2
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +14 -2
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +14 -2
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +14 -2
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +14 -2
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.d.ts.map +1 -1
- package/funcs/subscribersPreferencesRetrieveByLevel.js +14 -2
- package/funcs/subscribersPreferencesRetrieveByLevel.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +14 -2
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdateGlobal.js +14 -2
- package/funcs/subscribersPreferencesUpdateGlobal.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +14 -2
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +14 -2
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersUpdate.d.ts.map +1 -1
- package/funcs/subscribersUpdate.js +14 -2
- package/funcs/subscribersUpdate.js.map +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +18 -3
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +14 -2
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +14 -2
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsRename.d.ts.map +1 -1
- package/funcs/topicsRename.js +14 -2
- package/funcs/topicsRename.js.map +1 -1
- package/funcs/topicsRetrieve.d.ts.map +1 -1
- package/funcs/topicsRetrieve.js +14 -2
- package/funcs/topicsRetrieve.js.map +1 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +1 -1
- package/funcs/topicsSubscribersAssign.js +14 -2
- package/funcs/topicsSubscribersAssign.js.map +1 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +1 -1
- package/funcs/topicsSubscribersRemove.js +16 -3
- package/funcs/topicsSubscribersRemove.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +14 -2
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +18 -3
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +14 -2
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +18 -3
- 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} +19 -3
- package/src/funcs/adminTestingControllerIdempotencyGet.ts +14 -2
- package/src/funcs/cancel.ts +14 -2
- package/src/funcs/integrationsCreate.ts +19 -2
- package/src/funcs/integrationsDelete.ts +14 -2
- package/src/funcs/integrationsList.ts +14 -2
- package/src/funcs/integrationsListActive.ts +14 -2
- package/src/funcs/integrationsSetAsPrimary.ts +16 -2
- package/src/funcs/integrationsUpdate.ts +16 -2
- package/src/funcs/integrationsWebhooksRetrieve.ts +14 -2
- package/src/funcs/messagesDelete.ts +14 -2
- package/src/funcs/messagesDeleteByTransactionId.ts +21 -2
- package/src/funcs/messagesRetrieve.ts +14 -2
- package/src/funcs/notificationsList.ts +14 -2
- package/src/funcs/notificationsRetrieve.ts +14 -2
- package/src/funcs/notificationsStatsGraph.ts +14 -2
- package/src/funcs/notificationsStatsRetrieve.ts +14 -2
- package/src/funcs/subscribersAuthenticationChatAccessOauth.ts +14 -2
- package/src/funcs/subscribersAuthenticationChatAccessOauthCallBack.ts +14 -2
- package/src/funcs/subscribersCreate.ts +19 -2
- package/src/funcs/subscribersCreateBulk.ts +20 -2
- package/src/funcs/subscribersCredentialsAppend.ts +14 -2
- package/src/funcs/subscribersCredentialsDelete.ts +21 -2
- package/src/funcs/subscribersCredentialsUpdate.ts +14 -2
- package/src/funcs/subscribersDelete.ts +14 -2
- package/src/funcs/subscribersList.ts +14 -2
- package/src/funcs/subscribersMessagesMarkAll.ts +19 -2
- package/src/funcs/subscribersMessagesMarkAllAs.ts +19 -2
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +19 -2
- package/src/funcs/subscribersNotificationsFeed.ts +14 -2
- package/src/funcs/subscribersNotificationsUnseenCount.ts +14 -2
- package/src/funcs/subscribersPreferencesList.ts +14 -2
- package/src/funcs/subscribersPreferencesRetrieveByLevel.ts +14 -2
- package/src/funcs/subscribersPreferencesUpdate.ts +14 -2
- package/src/funcs/subscribersPreferencesUpdateGlobal.ts +14 -2
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +14 -2
- package/src/funcs/subscribersRetrieve.ts +14 -2
- package/src/funcs/subscribersUpdate.ts +14 -2
- package/src/funcs/topicsCreate.ts +18 -2
- package/src/funcs/topicsDelete.ts +19 -2
- package/src/funcs/topicsList.ts +14 -2
- package/src/funcs/topicsRename.ts +14 -2
- package/src/funcs/topicsRetrieve.ts +14 -2
- package/src/funcs/topicsSubscribersAssign.ts +14 -2
- package/src/funcs/topicsSubscribersRemove.ts +20 -2
- package/src/funcs/topicsSubscribersRetrieve.ts +14 -2
- package/src/funcs/trigger.ts +18 -2
- package/src/funcs/triggerBroadcast.ts +14 -2
- package/src/funcs/triggerBulk.ts +18 -2
- 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 +84 -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
|
@@ -138,7 +138,19 @@ export async function subscribersCredentialsUpdate(
|
|
|
138
138
|
|
|
139
139
|
const doResult = await client._do(req, {
|
|
140
140
|
context,
|
|
141
|
-
errorCodes: [
|
|
141
|
+
errorCodes: [
|
|
142
|
+
"400",
|
|
143
|
+
"401",
|
|
144
|
+
"403",
|
|
145
|
+
"404",
|
|
146
|
+
"409",
|
|
147
|
+
"422",
|
|
148
|
+
"429",
|
|
149
|
+
"4XX",
|
|
150
|
+
"500",
|
|
151
|
+
"503",
|
|
152
|
+
"5XX",
|
|
153
|
+
],
|
|
142
154
|
retryConfig: context.retryConfig,
|
|
143
155
|
retryCodes: context.retryCodes,
|
|
144
156
|
});
|
|
@@ -169,7 +181,7 @@ export async function subscribersCredentialsUpdate(
|
|
|
169
181
|
.SubscribersControllerUpdateSubscriberChannelResponse$inboundSchema,
|
|
170
182
|
{ hdrs: true, key: "Result" },
|
|
171
183
|
),
|
|
172
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
173
185
|
hdrs: true,
|
|
174
186
|
}),
|
|
175
187
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -127,7 +127,19 @@ export async function subscribersDelete(
|
|
|
127
127
|
|
|
128
128
|
const doResult = await client._do(req, {
|
|
129
129
|
context,
|
|
130
|
-
errorCodes: [
|
|
130
|
+
errorCodes: [
|
|
131
|
+
"400",
|
|
132
|
+
"401",
|
|
133
|
+
"403",
|
|
134
|
+
"404",
|
|
135
|
+
"409",
|
|
136
|
+
"422",
|
|
137
|
+
"429",
|
|
138
|
+
"4XX",
|
|
139
|
+
"500",
|
|
140
|
+
"503",
|
|
141
|
+
"5XX",
|
|
142
|
+
],
|
|
131
143
|
retryConfig: context.retryConfig,
|
|
132
144
|
retryCodes: context.retryCodes,
|
|
133
145
|
});
|
|
@@ -157,7 +169,7 @@ export async function subscribersDelete(
|
|
|
157
169
|
operations.SubscribersControllerRemoveSubscriberResponse$inboundSchema,
|
|
158
170
|
{ hdrs: true, key: "Result" },
|
|
159
171
|
),
|
|
160
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
172
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
161
173
|
hdrs: true,
|
|
162
174
|
}),
|
|
163
175
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -138,7 +138,19 @@ export async function subscribersList(
|
|
|
138
138
|
|
|
139
139
|
const doResult = await client._do(req, {
|
|
140
140
|
context,
|
|
141
|
-
errorCodes: [
|
|
141
|
+
errorCodes: [
|
|
142
|
+
"400",
|
|
143
|
+
"401",
|
|
144
|
+
"403",
|
|
145
|
+
"404",
|
|
146
|
+
"409",
|
|
147
|
+
"422",
|
|
148
|
+
"429",
|
|
149
|
+
"4XX",
|
|
150
|
+
"500",
|
|
151
|
+
"503",
|
|
152
|
+
"5XX",
|
|
153
|
+
],
|
|
142
154
|
retryConfig: context.retryConfig,
|
|
143
155
|
retryCodes: context.retryCodes,
|
|
144
156
|
});
|
|
@@ -168,7 +180,7 @@ export async function subscribersList(
|
|
|
168
180
|
operations.SubscribersControllerListSubscribersResponse$inboundSchema,
|
|
169
181
|
{ hdrs: true, key: "Result" },
|
|
170
182
|
),
|
|
171
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
183
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
172
184
|
hdrs: true,
|
|
173
185
|
}),
|
|
174
186
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -132,7 +132,19 @@ export async function subscribersMessagesMarkAll(
|
|
|
132
132
|
|
|
133
133
|
const doResult = await client._do(req, {
|
|
134
134
|
context,
|
|
135
|
-
errorCodes: [
|
|
135
|
+
errorCodes: [
|
|
136
|
+
"400",
|
|
137
|
+
"401",
|
|
138
|
+
"403",
|
|
139
|
+
"404",
|
|
140
|
+
"409",
|
|
141
|
+
"422",
|
|
142
|
+
"429",
|
|
143
|
+
"4XX",
|
|
144
|
+
"500",
|
|
145
|
+
"503",
|
|
146
|
+
"5XX",
|
|
147
|
+
],
|
|
136
148
|
retryConfig: context.retryConfig,
|
|
137
149
|
retryCodes: context.retryCodes,
|
|
138
150
|
});
|
|
@@ -157,12 +169,17 @@ export async function subscribersMessagesMarkAll(
|
|
|
157
169
|
| RequestTimeoutError
|
|
158
170
|
| ConnectionError
|
|
159
171
|
>(
|
|
172
|
+
M.json(
|
|
173
|
+
200,
|
|
174
|
+
operations.SubscribersControllerMarkAllUnreadAsReadResponse$inboundSchema,
|
|
175
|
+
{ hdrs: true, key: "Result" },
|
|
176
|
+
),
|
|
160
177
|
M.json(
|
|
161
178
|
201,
|
|
162
179
|
operations.SubscribersControllerMarkAllUnreadAsReadResponse$inboundSchema,
|
|
163
180
|
{ hdrs: true, key: "Result" },
|
|
164
181
|
),
|
|
165
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
182
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
166
183
|
hdrs: true,
|
|
167
184
|
}),
|
|
168
185
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -132,7 +132,19 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
132
132
|
|
|
133
133
|
const doResult = await client._do(req, {
|
|
134
134
|
context,
|
|
135
|
-
errorCodes: [
|
|
135
|
+
errorCodes: [
|
|
136
|
+
"400",
|
|
137
|
+
"401",
|
|
138
|
+
"403",
|
|
139
|
+
"404",
|
|
140
|
+
"409",
|
|
141
|
+
"422",
|
|
142
|
+
"429",
|
|
143
|
+
"4XX",
|
|
144
|
+
"500",
|
|
145
|
+
"503",
|
|
146
|
+
"5XX",
|
|
147
|
+
],
|
|
136
148
|
retryConfig: context.retryConfig,
|
|
137
149
|
retryCodes: context.retryCodes,
|
|
138
150
|
});
|
|
@@ -157,12 +169,17 @@ export async function subscribersMessagesMarkAllAs(
|
|
|
157
169
|
| RequestTimeoutError
|
|
158
170
|
| ConnectionError
|
|
159
171
|
>(
|
|
172
|
+
M.json(
|
|
173
|
+
200,
|
|
174
|
+
operations.SubscribersControllerMarkMessagesAsResponse$inboundSchema,
|
|
175
|
+
{ hdrs: true, key: "Result" },
|
|
176
|
+
),
|
|
160
177
|
M.json(
|
|
161
178
|
201,
|
|
162
179
|
operations.SubscribersControllerMarkMessagesAsResponse$inboundSchema,
|
|
163
180
|
{ hdrs: true, key: "Result" },
|
|
164
181
|
),
|
|
165
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
182
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
166
183
|
hdrs: true,
|
|
167
184
|
}),
|
|
168
185
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -131,7 +131,19 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
131
131
|
|
|
132
132
|
const doResult = await client._do(req, {
|
|
133
133
|
context,
|
|
134
|
-
errorCodes: [
|
|
134
|
+
errorCodes: [
|
|
135
|
+
"400",
|
|
136
|
+
"401",
|
|
137
|
+
"403",
|
|
138
|
+
"404",
|
|
139
|
+
"409",
|
|
140
|
+
"422",
|
|
141
|
+
"429",
|
|
142
|
+
"4XX",
|
|
143
|
+
"500",
|
|
144
|
+
"503",
|
|
145
|
+
"5XX",
|
|
146
|
+
],
|
|
135
147
|
retryConfig: context.retryConfig,
|
|
136
148
|
retryCodes: context.retryCodes,
|
|
137
149
|
});
|
|
@@ -156,12 +168,17 @@ export async function subscribersMessagesUpdateAsSeen(
|
|
|
156
168
|
| RequestTimeoutError
|
|
157
169
|
| ConnectionError
|
|
158
170
|
>(
|
|
171
|
+
M.json(
|
|
172
|
+
200,
|
|
173
|
+
operations.SubscribersControllerMarkActionAsSeenResponse$inboundSchema,
|
|
174
|
+
{ hdrs: true, key: "Result" },
|
|
175
|
+
),
|
|
159
176
|
M.json(
|
|
160
177
|
201,
|
|
161
178
|
operations.SubscribersControllerMarkActionAsSeenResponse$inboundSchema,
|
|
162
179
|
{ hdrs: true, key: "Result" },
|
|
163
180
|
),
|
|
164
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
181
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
165
182
|
hdrs: true,
|
|
166
183
|
}),
|
|
167
184
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -129,7 +129,19 @@ export async function subscribersNotificationsFeed(
|
|
|
129
129
|
|
|
130
130
|
const doResult = await client._do(req, {
|
|
131
131
|
context,
|
|
132
|
-
errorCodes: [
|
|
132
|
+
errorCodes: [
|
|
133
|
+
"400",
|
|
134
|
+
"401",
|
|
135
|
+
"403",
|
|
136
|
+
"404",
|
|
137
|
+
"409",
|
|
138
|
+
"422",
|
|
139
|
+
"429",
|
|
140
|
+
"4XX",
|
|
141
|
+
"500",
|
|
142
|
+
"503",
|
|
143
|
+
"5XX",
|
|
144
|
+
],
|
|
133
145
|
retryConfig: context.retryConfig,
|
|
134
146
|
retryCodes: context.retryCodes,
|
|
135
147
|
});
|
|
@@ -160,7 +172,7 @@ export async function subscribersNotificationsFeed(
|
|
|
160
172
|
.SubscribersControllerGetNotificationsFeedResponse$inboundSchema,
|
|
161
173
|
{ hdrs: true, key: "Result" },
|
|
162
174
|
),
|
|
163
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
175
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
164
176
|
hdrs: true,
|
|
165
177
|
}),
|
|
166
178
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -126,7 +126,19 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
126
126
|
|
|
127
127
|
const doResult = await client._do(req, {
|
|
128
128
|
context,
|
|
129
|
-
errorCodes: [
|
|
129
|
+
errorCodes: [
|
|
130
|
+
"400",
|
|
131
|
+
"401",
|
|
132
|
+
"403",
|
|
133
|
+
"404",
|
|
134
|
+
"409",
|
|
135
|
+
"422",
|
|
136
|
+
"429",
|
|
137
|
+
"4XX",
|
|
138
|
+
"500",
|
|
139
|
+
"503",
|
|
140
|
+
"5XX",
|
|
141
|
+
],
|
|
130
142
|
retryConfig: context.retryConfig,
|
|
131
143
|
retryCodes: context.retryCodes,
|
|
132
144
|
});
|
|
@@ -156,7 +168,7 @@ export async function subscribersNotificationsUnseenCount(
|
|
|
156
168
|
operations.SubscribersControllerGetUnseenCountResponse$inboundSchema,
|
|
157
169
|
{ hdrs: true, key: "Result" },
|
|
158
170
|
),
|
|
159
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
171
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
160
172
|
hdrs: true,
|
|
161
173
|
}),
|
|
162
174
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -135,7 +135,19 @@ export async function subscribersPreferencesList(
|
|
|
135
135
|
|
|
136
136
|
const doResult = await client._do(req, {
|
|
137
137
|
context,
|
|
138
|
-
errorCodes: [
|
|
138
|
+
errorCodes: [
|
|
139
|
+
"400",
|
|
140
|
+
"401",
|
|
141
|
+
"403",
|
|
142
|
+
"404",
|
|
143
|
+
"409",
|
|
144
|
+
"422",
|
|
145
|
+
"429",
|
|
146
|
+
"4XX",
|
|
147
|
+
"500",
|
|
148
|
+
"503",
|
|
149
|
+
"5XX",
|
|
150
|
+
],
|
|
139
151
|
retryConfig: context.retryConfig,
|
|
140
152
|
retryCodes: context.retryCodes,
|
|
141
153
|
});
|
|
@@ -166,7 +178,7 @@ export async function subscribersPreferencesList(
|
|
|
166
178
|
.SubscribersControllerListSubscriberPreferencesResponse$inboundSchema,
|
|
167
179
|
{ hdrs: true, key: "Result" },
|
|
168
180
|
),
|
|
169
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
181
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
170
182
|
hdrs: true,
|
|
171
183
|
}),
|
|
172
184
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -131,7 +131,19 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
131
131
|
|
|
132
132
|
const doResult = await client._do(req, {
|
|
133
133
|
context,
|
|
134
|
-
errorCodes: [
|
|
134
|
+
errorCodes: [
|
|
135
|
+
"400",
|
|
136
|
+
"401",
|
|
137
|
+
"403",
|
|
138
|
+
"404",
|
|
139
|
+
"409",
|
|
140
|
+
"422",
|
|
141
|
+
"429",
|
|
142
|
+
"4XX",
|
|
143
|
+
"500",
|
|
144
|
+
"503",
|
|
145
|
+
"5XX",
|
|
146
|
+
],
|
|
135
147
|
retryConfig: context.retryConfig,
|
|
136
148
|
retryCodes: context.retryCodes,
|
|
137
149
|
});
|
|
@@ -162,7 +174,7 @@ export async function subscribersPreferencesRetrieveByLevel(
|
|
|
162
174
|
.SubscribersControllerGetSubscriberPreferenceByLevelResponse$inboundSchema,
|
|
163
175
|
{ hdrs: true, key: "Result" },
|
|
164
176
|
),
|
|
165
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
177
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
166
178
|
hdrs: true,
|
|
167
179
|
}),
|
|
168
180
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -130,7 +130,19 @@ export async function subscribersPreferencesUpdate(
|
|
|
130
130
|
|
|
131
131
|
const doResult = await client._do(req, {
|
|
132
132
|
context,
|
|
133
|
-
errorCodes: [
|
|
133
|
+
errorCodes: [
|
|
134
|
+
"400",
|
|
135
|
+
"401",
|
|
136
|
+
"403",
|
|
137
|
+
"404",
|
|
138
|
+
"409",
|
|
139
|
+
"422",
|
|
140
|
+
"429",
|
|
141
|
+
"4XX",
|
|
142
|
+
"500",
|
|
143
|
+
"503",
|
|
144
|
+
"5XX",
|
|
145
|
+
],
|
|
134
146
|
retryConfig: context.retryConfig,
|
|
135
147
|
retryCodes: context.retryCodes,
|
|
136
148
|
});
|
|
@@ -161,7 +173,7 @@ export async function subscribersPreferencesUpdate(
|
|
|
161
173
|
.SubscribersControllerUpdateSubscriberPreferenceResponse$inboundSchema,
|
|
162
174
|
{ hdrs: true, key: "Result" },
|
|
163
175
|
),
|
|
164
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
165
177
|
hdrs: true,
|
|
166
178
|
}),
|
|
167
179
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -138,7 +138,19 @@ export async function subscribersPreferencesUpdateGlobal(
|
|
|
138
138
|
|
|
139
139
|
const doResult = await client._do(req, {
|
|
140
140
|
context,
|
|
141
|
-
errorCodes: [
|
|
141
|
+
errorCodes: [
|
|
142
|
+
"400",
|
|
143
|
+
"401",
|
|
144
|
+
"403",
|
|
145
|
+
"404",
|
|
146
|
+
"409",
|
|
147
|
+
"422",
|
|
148
|
+
"429",
|
|
149
|
+
"4XX",
|
|
150
|
+
"500",
|
|
151
|
+
"503",
|
|
152
|
+
"5XX",
|
|
153
|
+
],
|
|
142
154
|
retryConfig: context.retryConfig,
|
|
143
155
|
retryCodes: context.retryCodes,
|
|
144
156
|
});
|
|
@@ -169,7 +181,7 @@ export async function subscribersPreferencesUpdateGlobal(
|
|
|
169
181
|
.SubscribersControllerUpdateSubscriberGlobalPreferencesResponse$inboundSchema,
|
|
170
182
|
{ hdrs: true, key: "Result" },
|
|
171
183
|
),
|
|
172
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
173
185
|
hdrs: true,
|
|
174
186
|
}),
|
|
175
187
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -141,7 +141,19 @@ export async function subscribersPropertiesUpdateOnlineFlag(
|
|
|
141
141
|
|
|
142
142
|
const doResult = await client._do(req, {
|
|
143
143
|
context,
|
|
144
|
-
errorCodes: [
|
|
144
|
+
errorCodes: [
|
|
145
|
+
"400",
|
|
146
|
+
"401",
|
|
147
|
+
"403",
|
|
148
|
+
"404",
|
|
149
|
+
"409",
|
|
150
|
+
"422",
|
|
151
|
+
"429",
|
|
152
|
+
"4XX",
|
|
153
|
+
"500",
|
|
154
|
+
"503",
|
|
155
|
+
"5XX",
|
|
156
|
+
],
|
|
145
157
|
retryConfig: context.retryConfig,
|
|
146
158
|
retryCodes: context.retryCodes,
|
|
147
159
|
});
|
|
@@ -172,7 +184,7 @@ export async function subscribersPropertiesUpdateOnlineFlag(
|
|
|
172
184
|
.SubscribersControllerUpdateSubscriberOnlineFlagResponse$inboundSchema,
|
|
173
185
|
{ hdrs: true, key: "Result" },
|
|
174
186
|
),
|
|
175
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
187
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
188
|
hdrs: true,
|
|
177
189
|
}),
|
|
178
190
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -135,7 +135,19 @@ export async function subscribersRetrieve(
|
|
|
135
135
|
|
|
136
136
|
const doResult = await client._do(req, {
|
|
137
137
|
context,
|
|
138
|
-
errorCodes: [
|
|
138
|
+
errorCodes: [
|
|
139
|
+
"400",
|
|
140
|
+
"401",
|
|
141
|
+
"403",
|
|
142
|
+
"404",
|
|
143
|
+
"409",
|
|
144
|
+
"422",
|
|
145
|
+
"429",
|
|
146
|
+
"4XX",
|
|
147
|
+
"500",
|
|
148
|
+
"503",
|
|
149
|
+
"5XX",
|
|
150
|
+
],
|
|
139
151
|
retryConfig: context.retryConfig,
|
|
140
152
|
retryCodes: context.retryCodes,
|
|
141
153
|
});
|
|
@@ -165,7 +177,7 @@ export async function subscribersRetrieve(
|
|
|
165
177
|
operations.SubscribersControllerGetSubscriberResponse$inboundSchema,
|
|
166
178
|
{ hdrs: true, key: "Result" },
|
|
167
179
|
),
|
|
168
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
180
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
169
181
|
hdrs: true,
|
|
170
182
|
}),
|
|
171
183
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -133,7 +133,19 @@ export async function subscribersUpdate(
|
|
|
133
133
|
|
|
134
134
|
const doResult = await client._do(req, {
|
|
135
135
|
context,
|
|
136
|
-
errorCodes: [
|
|
136
|
+
errorCodes: [
|
|
137
|
+
"400",
|
|
138
|
+
"401",
|
|
139
|
+
"403",
|
|
140
|
+
"404",
|
|
141
|
+
"409",
|
|
142
|
+
"422",
|
|
143
|
+
"429",
|
|
144
|
+
"4XX",
|
|
145
|
+
"500",
|
|
146
|
+
"503",
|
|
147
|
+
"5XX",
|
|
148
|
+
],
|
|
137
149
|
retryConfig: context.retryConfig,
|
|
138
150
|
retryCodes: context.retryCodes,
|
|
139
151
|
});
|
|
@@ -163,7 +175,7 @@ export async function subscribersUpdate(
|
|
|
163
175
|
operations.SubscribersControllerUpdateSubscriberResponse$inboundSchema,
|
|
164
176
|
{ hdrs: true, key: "Result" },
|
|
165
177
|
),
|
|
166
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
167
179
|
hdrs: true,
|
|
168
180
|
}),
|
|
169
181
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -123,7 +123,19 @@ export async function topicsCreate(
|
|
|
123
123
|
|
|
124
124
|
const doResult = await client._do(req, {
|
|
125
125
|
context,
|
|
126
|
-
errorCodes: [
|
|
126
|
+
errorCodes: [
|
|
127
|
+
"400",
|
|
128
|
+
"401",
|
|
129
|
+
"403",
|
|
130
|
+
"404",
|
|
131
|
+
"409",
|
|
132
|
+
"422",
|
|
133
|
+
"429",
|
|
134
|
+
"4XX",
|
|
135
|
+
"500",
|
|
136
|
+
"503",
|
|
137
|
+
"5XX",
|
|
138
|
+
],
|
|
127
139
|
retryConfig: context.retryConfig,
|
|
128
140
|
retryCodes: context.retryCodes,
|
|
129
141
|
});
|
|
@@ -148,11 +160,15 @@ export async function topicsCreate(
|
|
|
148
160
|
| RequestTimeoutError
|
|
149
161
|
| ConnectionError
|
|
150
162
|
>(
|
|
163
|
+
M.json(200, operations.TopicsControllerCreateTopicResponse$inboundSchema, {
|
|
164
|
+
hdrs: true,
|
|
165
|
+
key: "Result",
|
|
166
|
+
}),
|
|
151
167
|
M.json(201, operations.TopicsControllerCreateTopicResponse$inboundSchema, {
|
|
152
168
|
hdrs: true,
|
|
153
169
|
key: "Result",
|
|
154
170
|
}),
|
|
155
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
171
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
156
172
|
hdrs: true,
|
|
157
173
|
}),
|
|
158
174
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -126,7 +126,19 @@ export async function topicsDelete(
|
|
|
126
126
|
|
|
127
127
|
const doResult = await client._do(req, {
|
|
128
128
|
context,
|
|
129
|
-
errorCodes: [
|
|
129
|
+
errorCodes: [
|
|
130
|
+
"400",
|
|
131
|
+
"401",
|
|
132
|
+
"403",
|
|
133
|
+
"404",
|
|
134
|
+
"409",
|
|
135
|
+
"422",
|
|
136
|
+
"429",
|
|
137
|
+
"4XX",
|
|
138
|
+
"500",
|
|
139
|
+
"503",
|
|
140
|
+
"5XX",
|
|
141
|
+
],
|
|
130
142
|
retryConfig: context.retryConfig,
|
|
131
143
|
retryCodes: context.retryCodes,
|
|
132
144
|
});
|
|
@@ -151,12 +163,17 @@ export async function topicsDelete(
|
|
|
151
163
|
| RequestTimeoutError
|
|
152
164
|
| ConnectionError
|
|
153
165
|
>(
|
|
166
|
+
M.json(
|
|
167
|
+
200,
|
|
168
|
+
operations.TopicsControllerDeleteTopicResponse$inboundSchema.optional(),
|
|
169
|
+
{ hdrs: true, key: "Result" },
|
|
170
|
+
),
|
|
154
171
|
M.nil(
|
|
155
172
|
204,
|
|
156
173
|
operations.TopicsControllerDeleteTopicResponse$inboundSchema.optional(),
|
|
157
174
|
{ hdrs: true },
|
|
158
175
|
),
|
|
159
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
160
177
|
hdrs: true,
|
|
161
178
|
}),
|
|
162
179
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
package/src/funcs/topicsList.ts
CHANGED
|
@@ -120,7 +120,19 @@ export async function topicsList(
|
|
|
120
120
|
|
|
121
121
|
const doResult = await client._do(req, {
|
|
122
122
|
context,
|
|
123
|
-
errorCodes: [
|
|
123
|
+
errorCodes: [
|
|
124
|
+
"400",
|
|
125
|
+
"401",
|
|
126
|
+
"403",
|
|
127
|
+
"404",
|
|
128
|
+
"409",
|
|
129
|
+
"422",
|
|
130
|
+
"429",
|
|
131
|
+
"4XX",
|
|
132
|
+
"500",
|
|
133
|
+
"503",
|
|
134
|
+
"5XX",
|
|
135
|
+
],
|
|
124
136
|
retryConfig: context.retryConfig,
|
|
125
137
|
retryCodes: context.retryCodes,
|
|
126
138
|
});
|
|
@@ -149,7 +161,7 @@ export async function topicsList(
|
|
|
149
161
|
hdrs: true,
|
|
150
162
|
key: "Result",
|
|
151
163
|
}),
|
|
152
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
164
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
153
165
|
hdrs: true,
|
|
154
166
|
}),
|
|
155
167
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -132,7 +132,19 @@ export async function topicsRename(
|
|
|
132
132
|
|
|
133
133
|
const doResult = await client._do(req, {
|
|
134
134
|
context,
|
|
135
|
-
errorCodes: [
|
|
135
|
+
errorCodes: [
|
|
136
|
+
"400",
|
|
137
|
+
"401",
|
|
138
|
+
"403",
|
|
139
|
+
"404",
|
|
140
|
+
"409",
|
|
141
|
+
"422",
|
|
142
|
+
"429",
|
|
143
|
+
"4XX",
|
|
144
|
+
"500",
|
|
145
|
+
"503",
|
|
146
|
+
"5XX",
|
|
147
|
+
],
|
|
136
148
|
retryConfig: context.retryConfig,
|
|
137
149
|
retryCodes: context.retryCodes,
|
|
138
150
|
});
|
|
@@ -161,7 +173,7 @@ export async function topicsRename(
|
|
|
161
173
|
hdrs: true,
|
|
162
174
|
key: "Result",
|
|
163
175
|
}),
|
|
164
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
176
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
165
177
|
hdrs: true,
|
|
166
178
|
}),
|
|
167
179
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|
|
@@ -126,7 +126,19 @@ export async function topicsRetrieve(
|
|
|
126
126
|
|
|
127
127
|
const doResult = await client._do(req, {
|
|
128
128
|
context,
|
|
129
|
-
errorCodes: [
|
|
129
|
+
errorCodes: [
|
|
130
|
+
"400",
|
|
131
|
+
"401",
|
|
132
|
+
"403",
|
|
133
|
+
"404",
|
|
134
|
+
"409",
|
|
135
|
+
"422",
|
|
136
|
+
"429",
|
|
137
|
+
"4XX",
|
|
138
|
+
"500",
|
|
139
|
+
"503",
|
|
140
|
+
"5XX",
|
|
141
|
+
],
|
|
130
142
|
retryConfig: context.retryConfig,
|
|
131
143
|
retryCodes: context.retryCodes,
|
|
132
144
|
});
|
|
@@ -155,7 +167,7 @@ export async function topicsRetrieve(
|
|
|
155
167
|
hdrs: true,
|
|
156
168
|
key: "Result",
|
|
157
169
|
}),
|
|
158
|
-
M.jsonErr([400, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
170
|
+
M.jsonErr([400, 401, 403, 404, 409, 500], errors.ErrorDto$inboundSchema, {
|
|
159
171
|
hdrs: true,
|
|
160
172
|
}),
|
|
161
173
|
M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
|