@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
package/README.md
CHANGED
|
@@ -218,7 +218,7 @@ run();
|
|
|
218
218
|
|
|
219
219
|
### [admin](docs/sdks/admin/README.md)
|
|
220
220
|
|
|
221
|
-
* [
|
|
221
|
+
* [testIdempotency](docs/sdks/admin/README.md#testidempotency)
|
|
222
222
|
* [testingControllerIdempotencyGet](docs/sdks/admin/README.md#testingcontrolleridempotencyget)
|
|
223
223
|
|
|
224
224
|
### [integrations](docs/sdks/integrations/README.md)
|
|
@@ -334,7 +334,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
334
334
|
|
|
335
335
|
<summary>Available standalone functions</summary>
|
|
336
336
|
|
|
337
|
-
- [`
|
|
337
|
+
- [`adminTestIdempotency`](docs/sdks/admin/README.md#testidempotency)
|
|
338
338
|
- [`adminTestingControllerIdempotencyGet`](docs/sdks/admin/README.md#testingcontrolleridempotencyget)
|
|
339
339
|
- [`cancel`](docs/sdks/novu/README.md#cancel) - Cancel triggered event
|
|
340
340
|
- [`integrationsCreate`](docs/sdks/integrations/README.md#create) - Create integration
|
|
@@ -428,11 +428,11 @@ run();
|
|
|
428
428
|
|
|
429
429
|
Some methods specify known errors which can be thrown. All the known errors are enumerated in the `models/errors/errors.ts` module. The known errors for a method are documented under the *Errors* tables in SDK docs. For example, the `trigger` method may throw the following errors:
|
|
430
430
|
|
|
431
|
-
| Error Type | Status Code
|
|
432
|
-
| ------------------------- |
|
|
433
|
-
| errors.ErrorDto | 400, 404, 409, 500 | application/json |
|
|
434
|
-
| errors.ValidationErrorDto | 422
|
|
435
|
-
| errors.SDKError | 4XX, 5XX
|
|
431
|
+
| Error Type | Status Code | Content Type |
|
|
432
|
+
| ------------------------- | ---------------------------- | ---------------- |
|
|
433
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
434
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
435
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
436
436
|
|
|
437
437
|
If the method throws an error and it is not captured by the known errors, it will default to throwing a `SDKError`.
|
|
438
438
|
|
|
@@ -8,10 +8,10 @@ testing
|
|
|
8
8
|
|
|
9
9
|
### Available Operations
|
|
10
10
|
|
|
11
|
-
* [
|
|
11
|
+
* [testIdempotency](#testidempotency)
|
|
12
12
|
* [testingControllerIdempotencyGet](#testingcontrolleridempotencyget)
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## testIdempotency
|
|
15
15
|
|
|
16
16
|
### Example Usage
|
|
17
17
|
|
|
@@ -23,7 +23,7 @@ const novu = new Novu({
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
async function run() {
|
|
26
|
-
const result = await novu.admin.
|
|
26
|
+
const result = await novu.admin.testIdempotency({
|
|
27
27
|
data: 6704.42,
|
|
28
28
|
});
|
|
29
29
|
|
|
@@ -40,7 +40,7 @@ The standalone function version of this method:
|
|
|
40
40
|
|
|
41
41
|
```typescript
|
|
42
42
|
import { NovuCore } from "@novu/api/core.js";
|
|
43
|
-
import {
|
|
43
|
+
import { adminTestIdempotency } from "@novu/api/funcs/adminTestIdempotency.js";
|
|
44
44
|
|
|
45
45
|
// Use `NovuCore` for best tree-shaking performance.
|
|
46
46
|
// You can create one instance of it to use across an application.
|
|
@@ -49,7 +49,7 @@ const novu = new NovuCore({
|
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
async function run() {
|
|
52
|
-
const res = await
|
|
52
|
+
const res = await adminTestIdempotency(novu, {
|
|
53
53
|
data: 6704.42,
|
|
54
54
|
});
|
|
55
55
|
|
|
@@ -82,11 +82,11 @@ run();
|
|
|
82
82
|
|
|
83
83
|
### Errors
|
|
84
84
|
|
|
85
|
-
| Error Type
|
|
86
|
-
|
|
|
87
|
-
| errors.ErrorDto
|
|
88
|
-
| errors.ValidationErrorDto
|
|
89
|
-
| errors.SDKError
|
|
85
|
+
| Error Type | Status Code | Content Type |
|
|
86
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
87
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
88
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
89
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
90
90
|
|
|
91
91
|
## testingControllerIdempotencyGet
|
|
92
92
|
|
|
@@ -154,8 +154,8 @@ run();
|
|
|
154
154
|
|
|
155
155
|
### Errors
|
|
156
156
|
|
|
157
|
-
| Error Type
|
|
158
|
-
|
|
|
159
|
-
| errors.ErrorDto
|
|
160
|
-
| errors.ValidationErrorDto
|
|
161
|
-
| errors.SDKError
|
|
157
|
+
| Error Type | Status Code | Content Type |
|
|
158
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
159
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
160
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
161
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -88,11 +88,11 @@ run();
|
|
|
88
88
|
|
|
89
89
|
### Errors
|
|
90
90
|
|
|
91
|
-
| Error Type
|
|
92
|
-
|
|
|
93
|
-
| errors.ErrorDto
|
|
94
|
-
| errors.ValidationErrorDto
|
|
95
|
-
| errors.SDKError
|
|
91
|
+
| Error Type | Status Code | Content Type |
|
|
92
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
93
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
94
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
95
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
96
96
|
|
|
97
97
|
## chatAccessOauth
|
|
98
98
|
|
|
@@ -172,8 +172,8 @@ run();
|
|
|
172
172
|
|
|
173
173
|
### Errors
|
|
174
174
|
|
|
175
|
-
| Error Type
|
|
176
|
-
|
|
|
177
|
-
| errors.ErrorDto
|
|
178
|
-
| errors.ValidationErrorDto
|
|
179
|
-
| errors.SDKError
|
|
175
|
+
| Error Type | Status Code | Content Type |
|
|
176
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
177
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
178
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
179
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -89,11 +89,11 @@ run();
|
|
|
89
89
|
|
|
90
90
|
### Errors
|
|
91
91
|
|
|
92
|
-
| Error Type
|
|
93
|
-
|
|
|
94
|
-
| errors.ErrorDto
|
|
95
|
-
| errors.ValidationErrorDto
|
|
96
|
-
| errors.SDKError
|
|
92
|
+
| Error Type | Status Code | Content Type |
|
|
93
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
94
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
95
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
96
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
97
97
|
|
|
98
98
|
## append
|
|
99
99
|
|
|
@@ -176,11 +176,11 @@ run();
|
|
|
176
176
|
|
|
177
177
|
### Errors
|
|
178
178
|
|
|
179
|
-
| Error Type
|
|
180
|
-
|
|
|
181
|
-
| errors.ErrorDto
|
|
182
|
-
| errors.ValidationErrorDto
|
|
183
|
-
| errors.SDKError
|
|
179
|
+
| Error Type | Status Code | Content Type |
|
|
180
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
181
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
182
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
183
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
184
184
|
|
|
185
185
|
## delete
|
|
186
186
|
|
|
@@ -252,8 +252,8 @@ run();
|
|
|
252
252
|
|
|
253
253
|
### Errors
|
|
254
254
|
|
|
255
|
-
| Error Type
|
|
256
|
-
|
|
|
257
|
-
| errors.ErrorDto
|
|
258
|
-
| errors.ValidationErrorDto
|
|
259
|
-
| errors.SDKError
|
|
255
|
+
| Error Type | Status Code | Content Type |
|
|
256
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
257
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
258
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
259
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -83,11 +83,11 @@ run();
|
|
|
83
83
|
|
|
84
84
|
### Errors
|
|
85
85
|
|
|
86
|
-
| Error Type
|
|
87
|
-
|
|
|
88
|
-
| errors.ErrorDto
|
|
89
|
-
| errors.ValidationErrorDto
|
|
90
|
-
| errors.SDKError
|
|
86
|
+
| Error Type | Status Code | Content Type |
|
|
87
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
88
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
89
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
90
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
91
91
|
|
|
92
92
|
## create
|
|
93
93
|
|
|
@@ -164,11 +164,11 @@ run();
|
|
|
164
164
|
|
|
165
165
|
### Errors
|
|
166
166
|
|
|
167
|
-
| Error Type
|
|
168
|
-
|
|
|
169
|
-
| errors.ErrorDto
|
|
170
|
-
| errors.ValidationErrorDto
|
|
171
|
-
| errors.SDKError
|
|
167
|
+
| Error Type | Status Code | Content Type |
|
|
168
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
169
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
170
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
171
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
172
172
|
|
|
173
173
|
## listActive
|
|
174
174
|
|
|
@@ -238,11 +238,11 @@ run();
|
|
|
238
238
|
|
|
239
239
|
### Errors
|
|
240
240
|
|
|
241
|
-
| Error Type
|
|
242
|
-
|
|
|
243
|
-
| errors.ErrorDto
|
|
244
|
-
| errors.ValidationErrorDto
|
|
245
|
-
| errors.SDKError
|
|
241
|
+
| Error Type | Status Code | Content Type |
|
|
242
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
243
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
244
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
245
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
246
246
|
|
|
247
247
|
## update
|
|
248
248
|
|
|
@@ -316,7 +316,7 @@ run();
|
|
|
316
316
|
|
|
317
317
|
| Error Type | Status Code | Content Type |
|
|
318
318
|
| ------------------------- | ------------------------- | ------------------------- |
|
|
319
|
-
| errors.ErrorDto | 400, 409, 500
|
|
319
|
+
| errors.ErrorDto | 400, 401, 403, 409, 500 | application/json |
|
|
320
320
|
| errors.ValidationErrorDto | 422 | application/json |
|
|
321
321
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
322
322
|
|
|
@@ -389,11 +389,11 @@ run();
|
|
|
389
389
|
|
|
390
390
|
### Errors
|
|
391
391
|
|
|
392
|
-
| Error Type
|
|
393
|
-
|
|
|
394
|
-
| errors.ErrorDto
|
|
395
|
-
| errors.ValidationErrorDto
|
|
396
|
-
| errors.SDKError
|
|
392
|
+
| Error Type | Status Code | Content Type |
|
|
393
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
394
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
395
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
396
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
397
397
|
|
|
398
398
|
## setAsPrimary
|
|
399
399
|
|
|
@@ -466,6 +466,6 @@ run();
|
|
|
466
466
|
|
|
467
467
|
| Error Type | Status Code | Content Type |
|
|
468
468
|
| ------------------------- | ------------------------- | ------------------------- |
|
|
469
|
-
| errors.ErrorDto | 400, 409, 500
|
|
469
|
+
| errors.ErrorDto | 400, 401, 403, 409, 500 | application/json |
|
|
470
470
|
| errors.ValidationErrorDto | 422 | application/json |
|
|
471
471
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -80,11 +80,11 @@ run();
|
|
|
80
80
|
|
|
81
81
|
### Errors
|
|
82
82
|
|
|
83
|
-
| Error Type
|
|
84
|
-
|
|
|
85
|
-
| errors.ErrorDto
|
|
86
|
-
| errors.ValidationErrorDto
|
|
87
|
-
| errors.SDKError
|
|
83
|
+
| Error Type | Status Code | Content Type |
|
|
84
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
85
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
86
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
87
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
88
88
|
|
|
89
89
|
## delete
|
|
90
90
|
|
|
@@ -155,11 +155,11 @@ run();
|
|
|
155
155
|
|
|
156
156
|
### Errors
|
|
157
157
|
|
|
158
|
-
| Error Type
|
|
159
|
-
|
|
|
160
|
-
| errors.ErrorDto
|
|
161
|
-
| errors.ValidationErrorDto
|
|
162
|
-
| errors.SDKError
|
|
158
|
+
| Error Type | Status Code | Content Type |
|
|
159
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
160
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
161
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
162
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
163
163
|
|
|
164
164
|
## deleteByTransactionId
|
|
165
165
|
|
|
@@ -231,8 +231,8 @@ run();
|
|
|
231
231
|
|
|
232
232
|
### Errors
|
|
233
233
|
|
|
234
|
-
| Error Type
|
|
235
|
-
|
|
|
236
|
-
| errors.ErrorDto
|
|
237
|
-
| errors.ValidationErrorDto
|
|
238
|
-
| errors.SDKError
|
|
234
|
+
| Error Type | Status Code | Content Type |
|
|
235
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
236
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
237
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
238
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -110,11 +110,11 @@ run();
|
|
|
110
110
|
|
|
111
111
|
### Errors
|
|
112
112
|
|
|
113
|
-
| Error Type
|
|
114
|
-
|
|
|
115
|
-
| errors.ErrorDto
|
|
116
|
-
| errors.ValidationErrorDto
|
|
117
|
-
| errors.SDKError
|
|
113
|
+
| Error Type | Status Code | Content Type |
|
|
114
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
115
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
116
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
117
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
118
118
|
|
|
119
119
|
## retrieve
|
|
120
120
|
|
|
@@ -185,8 +185,8 @@ run();
|
|
|
185
185
|
|
|
186
186
|
### Errors
|
|
187
187
|
|
|
188
|
-
| Error Type
|
|
189
|
-
|
|
|
190
|
-
| errors.ErrorDto
|
|
191
|
-
| errors.ValidationErrorDto
|
|
192
|
-
| errors.SDKError
|
|
188
|
+
| Error Type | Status Code | Content Type |
|
|
189
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
190
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
191
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
192
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
package/docs/sdks/novu/README.md
CHANGED
|
@@ -114,11 +114,11 @@ run();
|
|
|
114
114
|
|
|
115
115
|
### Errors
|
|
116
116
|
|
|
117
|
-
| Error Type
|
|
118
|
-
|
|
|
119
|
-
| errors.ErrorDto
|
|
120
|
-
| errors.ValidationErrorDto
|
|
121
|
-
| errors.SDKError
|
|
117
|
+
| Error Type | Status Code | Content Type |
|
|
118
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
119
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
120
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
121
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
122
122
|
|
|
123
123
|
## triggerBulk
|
|
124
124
|
|
|
@@ -260,11 +260,11 @@ run();
|
|
|
260
260
|
|
|
261
261
|
### Errors
|
|
262
262
|
|
|
263
|
-
| Error Type
|
|
264
|
-
|
|
|
265
|
-
| errors.ErrorDto
|
|
266
|
-
| errors.ValidationErrorDto
|
|
267
|
-
| errors.SDKError
|
|
263
|
+
| Error Type | Status Code | Content Type |
|
|
264
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
265
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
266
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
267
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
268
268
|
|
|
269
269
|
## triggerBroadcast
|
|
270
270
|
|
|
@@ -352,11 +352,11 @@ run();
|
|
|
352
352
|
|
|
353
353
|
### Errors
|
|
354
354
|
|
|
355
|
-
| Error Type
|
|
356
|
-
|
|
|
357
|
-
| errors.ErrorDto
|
|
358
|
-
| errors.ValidationErrorDto
|
|
359
|
-
| errors.SDKError
|
|
355
|
+
| Error Type | Status Code | Content Type |
|
|
356
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
357
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
358
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
359
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
360
360
|
|
|
361
361
|
## cancel
|
|
362
362
|
|
|
@@ -430,11 +430,11 @@ run();
|
|
|
430
430
|
|
|
431
431
|
### Errors
|
|
432
432
|
|
|
433
|
-
| Error Type
|
|
434
|
-
|
|
|
435
|
-
| errors.ErrorDto
|
|
436
|
-
| errors.ValidationErrorDto
|
|
437
|
-
| errors.SDKError
|
|
433
|
+
| Error Type | Status Code | Content Type |
|
|
434
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
435
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
436
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
437
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
438
438
|
|
|
439
439
|
## testApiRateLimitBulkControllerNoCategoryNoCostOverride
|
|
440
440
|
|
|
@@ -85,11 +85,11 @@ run();
|
|
|
85
85
|
|
|
86
86
|
### Errors
|
|
87
87
|
|
|
88
|
-
| Error Type
|
|
89
|
-
|
|
|
90
|
-
| errors.ErrorDto
|
|
91
|
-
| errors.ValidationErrorDto
|
|
92
|
-
| errors.SDKError
|
|
88
|
+
| Error Type | Status Code | Content Type |
|
|
89
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
90
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
91
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
92
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
93
93
|
|
|
94
94
|
## markAll
|
|
95
95
|
|
|
@@ -165,11 +165,11 @@ run();
|
|
|
165
165
|
|
|
166
166
|
### Errors
|
|
167
167
|
|
|
168
|
-
| Error Type
|
|
169
|
-
|
|
|
170
|
-
| errors.ErrorDto
|
|
171
|
-
| errors.ValidationErrorDto
|
|
172
|
-
| errors.SDKError
|
|
168
|
+
| Error Type | Status Code | Content Type |
|
|
169
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
170
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
171
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
172
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
173
173
|
|
|
174
174
|
## updateAsSeen
|
|
175
175
|
|
|
@@ -253,8 +253,8 @@ run();
|
|
|
253
253
|
|
|
254
254
|
### Errors
|
|
255
255
|
|
|
256
|
-
| Error Type
|
|
257
|
-
|
|
|
258
|
-
| errors.ErrorDto
|
|
259
|
-
| errors.ValidationErrorDto
|
|
260
|
-
| errors.SDKError
|
|
256
|
+
| Error Type | Status Code | Content Type |
|
|
257
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
258
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
259
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
260
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -82,11 +82,11 @@ run();
|
|
|
82
82
|
|
|
83
83
|
### Errors
|
|
84
84
|
|
|
85
|
-
| Error Type
|
|
86
|
-
|
|
|
87
|
-
| errors.ErrorDto
|
|
88
|
-
| errors.ValidationErrorDto
|
|
89
|
-
| errors.SDKError
|
|
85
|
+
| Error Type | Status Code | Content Type |
|
|
86
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
87
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
88
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
89
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
90
90
|
|
|
91
91
|
## unseenCount
|
|
92
92
|
|
|
@@ -164,8 +164,8 @@ run();
|
|
|
164
164
|
|
|
165
165
|
### Errors
|
|
166
166
|
|
|
167
|
-
| Error Type
|
|
168
|
-
|
|
|
169
|
-
| errors.ErrorDto
|
|
170
|
-
| errors.ValidationErrorDto
|
|
171
|
-
| errors.SDKError
|
|
167
|
+
| Error Type | Status Code | Content Type |
|
|
168
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
169
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
170
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
171
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -91,11 +91,11 @@ run();
|
|
|
91
91
|
|
|
92
92
|
### Errors
|
|
93
93
|
|
|
94
|
-
| Error Type
|
|
95
|
-
|
|
|
96
|
-
| errors.ErrorDto
|
|
97
|
-
| errors.ValidationErrorDto
|
|
98
|
-
| errors.SDKError
|
|
94
|
+
| Error Type | Status Code | Content Type |
|
|
95
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
96
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
97
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
98
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
99
99
|
|
|
100
100
|
## retrieve
|
|
101
101
|
|
|
@@ -167,11 +167,11 @@ run();
|
|
|
167
167
|
|
|
168
168
|
### Errors
|
|
169
169
|
|
|
170
|
-
| Error Type
|
|
171
|
-
|
|
|
172
|
-
| errors.ErrorDto
|
|
173
|
-
| errors.ValidationErrorDto
|
|
174
|
-
| errors.SDKError
|
|
170
|
+
| Error Type | Status Code | Content Type |
|
|
171
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
172
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
173
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
174
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
175
175
|
|
|
176
176
|
## remove
|
|
177
177
|
|
|
@@ -253,8 +253,8 @@ run();
|
|
|
253
253
|
|
|
254
254
|
### Errors
|
|
255
255
|
|
|
256
|
-
| Error Type
|
|
257
|
-
|
|
|
258
|
-
| errors.ErrorDto
|
|
259
|
-
| errors.ValidationErrorDto
|
|
260
|
-
| errors.SDKError
|
|
256
|
+
| Error Type | Status Code | Content Type |
|
|
257
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
258
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
259
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
260
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -80,11 +80,11 @@ run();
|
|
|
80
80
|
|
|
81
81
|
### Errors
|
|
82
82
|
|
|
83
|
-
| Error Type
|
|
84
|
-
|
|
|
85
|
-
| errors.ErrorDto
|
|
86
|
-
| errors.ValidationErrorDto
|
|
87
|
-
| errors.SDKError
|
|
83
|
+
| Error Type | Status Code | Content Type |
|
|
84
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
85
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
86
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
87
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
88
88
|
|
|
89
89
|
## updateGlobal
|
|
90
90
|
|
|
@@ -156,11 +156,11 @@ run();
|
|
|
156
156
|
|
|
157
157
|
### Errors
|
|
158
158
|
|
|
159
|
-
| Error Type
|
|
160
|
-
|
|
|
161
|
-
| errors.ErrorDto
|
|
162
|
-
| errors.ValidationErrorDto
|
|
163
|
-
| errors.SDKError
|
|
159
|
+
| Error Type | Status Code | Content Type |
|
|
160
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
161
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
162
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
163
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
164
164
|
|
|
165
165
|
## retrieveByLevel
|
|
166
166
|
|
|
@@ -236,11 +236,11 @@ run();
|
|
|
236
236
|
|
|
237
237
|
### Errors
|
|
238
238
|
|
|
239
|
-
| Error Type
|
|
240
|
-
|
|
|
241
|
-
| errors.ErrorDto
|
|
242
|
-
| errors.ValidationErrorDto
|
|
243
|
-
| errors.SDKError
|
|
239
|
+
| Error Type | Status Code | Content Type |
|
|
240
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
241
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
242
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
243
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
244
244
|
|
|
245
245
|
## update
|
|
246
246
|
|
|
@@ -318,8 +318,8 @@ run();
|
|
|
318
318
|
|
|
319
319
|
### Errors
|
|
320
320
|
|
|
321
|
-
| Error Type
|
|
322
|
-
|
|
|
323
|
-
| errors.ErrorDto
|
|
324
|
-
| errors.ValidationErrorDto
|
|
325
|
-
| errors.SDKError
|
|
321
|
+
| Error Type | Status Code | Content Type |
|
|
322
|
+
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
323
|
+
| errors.ErrorDto | 400, 401, 403, 404, 409, 500 | application/json |
|
|
324
|
+
| errors.ValidationErrorDto | 422 | application/json |
|
|
325
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|