@novu/api 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +5 -22
- package/README.md +48 -74
- package/bin/mcp-server.js +1440 -1157
- package/bin/mcp-server.js.map +71 -60
- package/docs/sdks/credentials/README.md +15 -27
- package/docs/sdks/integrations/README.md +30 -54
- package/docs/sdks/messages/README.md +15 -27
- package/docs/sdks/notifications/README.md +10 -18
- package/docs/sdks/novu/README.md +44 -57
- package/docs/sdks/novumessages/README.md +15 -27
- package/docs/sdks/novunotifications/README.md +10 -18
- package/docs/sdks/novusubscribers/README.md +5 -9
- package/docs/sdks/novutopics/README.md +5 -9
- package/docs/sdks/preferences/README.md +10 -18
- package/docs/sdks/properties/README.md +5 -9
- package/docs/sdks/subscribers/README.md +34 -57
- package/docs/sdks/subscriptions/README.md +16 -28
- package/docs/sdks/topics/README.md +25 -45
- package/funcs/cancel.d.ts +1 -1
- package/funcs/cancel.d.ts.map +1 -1
- package/funcs/cancel.js +2 -0
- package/funcs/cancel.js.map +1 -1
- package/funcs/integrationsCreate.d.ts +1 -1
- package/funcs/integrationsCreate.d.ts.map +1 -1
- package/funcs/integrationsCreate.js +2 -0
- package/funcs/integrationsCreate.js.map +1 -1
- package/funcs/integrationsDelete.d.ts +1 -1
- package/funcs/integrationsDelete.d.ts.map +1 -1
- package/funcs/integrationsDelete.js +2 -0
- package/funcs/integrationsDelete.js.map +1 -1
- package/funcs/integrationsList.d.ts +1 -1
- package/funcs/integrationsList.d.ts.map +1 -1
- package/funcs/integrationsList.js +2 -0
- package/funcs/integrationsList.js.map +1 -1
- package/funcs/integrationsListActive.d.ts +1 -1
- package/funcs/integrationsListActive.d.ts.map +1 -1
- package/funcs/integrationsListActive.js +2 -0
- package/funcs/integrationsListActive.js.map +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts +1 -1
- package/funcs/integrationsSetAsPrimary.d.ts.map +1 -1
- package/funcs/integrationsSetAsPrimary.js +2 -0
- package/funcs/integrationsSetAsPrimary.js.map +1 -1
- package/funcs/integrationsUpdate.d.ts +1 -1
- package/funcs/integrationsUpdate.d.ts.map +1 -1
- package/funcs/integrationsUpdate.js +2 -0
- package/funcs/integrationsUpdate.js.map +1 -1
- package/funcs/messagesDelete.d.ts +1 -1
- package/funcs/messagesDelete.d.ts.map +1 -1
- package/funcs/messagesDelete.js +2 -0
- package/funcs/messagesDelete.js.map +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts +1 -1
- package/funcs/messagesDeleteByTransactionId.d.ts.map +1 -1
- package/funcs/messagesDeleteByTransactionId.js +2 -0
- package/funcs/messagesDeleteByTransactionId.js.map +1 -1
- package/funcs/messagesRetrieve.d.ts +1 -1
- package/funcs/messagesRetrieve.d.ts.map +1 -1
- package/funcs/messagesRetrieve.js +2 -0
- package/funcs/messagesRetrieve.js.map +1 -1
- package/funcs/notificationsList.d.ts +1 -1
- package/funcs/notificationsList.d.ts.map +1 -1
- package/funcs/notificationsList.js +2 -0
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/notificationsRetrieve.d.ts +1 -1
- package/funcs/notificationsRetrieve.d.ts.map +1 -1
- package/funcs/notificationsRetrieve.js +2 -0
- package/funcs/notificationsRetrieve.js.map +1 -1
- package/funcs/subscribersCreate.d.ts +1 -1
- package/funcs/subscribersCreate.d.ts.map +1 -1
- package/funcs/subscribersCreate.js +2 -0
- package/funcs/subscribersCreate.js.map +1 -1
- package/funcs/subscribersCreateBulk.d.ts +1 -1
- package/funcs/subscribersCreateBulk.d.ts.map +1 -1
- package/funcs/subscribersCreateBulk.js +2 -0
- package/funcs/subscribersCreateBulk.js.map +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts +1 -1
- package/funcs/subscribersCredentialsAppend.d.ts.map +1 -1
- package/funcs/subscribersCredentialsAppend.js +2 -0
- package/funcs/subscribersCredentialsAppend.js.map +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts +1 -1
- package/funcs/subscribersCredentialsDelete.d.ts.map +1 -1
- package/funcs/subscribersCredentialsDelete.js +2 -0
- package/funcs/subscribersCredentialsDelete.js.map +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts +1 -1
- package/funcs/subscribersCredentialsUpdate.d.ts.map +1 -1
- package/funcs/subscribersCredentialsUpdate.js +2 -0
- package/funcs/subscribersCredentialsUpdate.js.map +1 -1
- package/funcs/subscribersDelete.d.ts +4 -3
- package/funcs/subscribersDelete.d.ts.map +1 -1
- package/funcs/subscribersDelete.js +5 -2
- package/funcs/subscribersDelete.js.map +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAll.js +2 -0
- package/funcs/subscribersMessagesMarkAll.js.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAllAs.d.ts.map +1 -1
- package/funcs/subscribersMessagesMarkAllAs.js +2 -0
- package/funcs/subscribersMessagesMarkAllAs.js.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.d.ts.map +1 -1
- package/funcs/subscribersMessagesUpdateAsSeen.js +2 -0
- package/funcs/subscribersMessagesUpdateAsSeen.js.map +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts +1 -1
- package/funcs/subscribersNotificationsFeed.d.ts.map +1 -1
- package/funcs/subscribersNotificationsFeed.js +2 -0
- package/funcs/subscribersNotificationsFeed.js.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts +1 -1
- package/funcs/subscribersNotificationsUnseenCount.d.ts.map +1 -1
- package/funcs/subscribersNotificationsUnseenCount.js +2 -0
- package/funcs/subscribersNotificationsUnseenCount.js.map +1 -1
- package/funcs/subscribersPatch.d.ts +1 -1
- package/funcs/subscribersPatch.d.ts.map +1 -1
- package/funcs/subscribersPatch.js +2 -0
- package/funcs/subscribersPatch.js.map +1 -1
- package/funcs/subscribersPreferencesList.d.ts +1 -1
- package/funcs/subscribersPreferencesList.d.ts.map +1 -1
- package/funcs/subscribersPreferencesList.js +2 -0
- package/funcs/subscribersPreferencesList.js.map +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts +1 -1
- package/funcs/subscribersPreferencesUpdate.d.ts.map +1 -1
- package/funcs/subscribersPreferencesUpdate.js +2 -0
- package/funcs/subscribersPreferencesUpdate.js.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.d.ts.map +1 -1
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js +2 -0
- package/funcs/subscribersPropertiesUpdateOnlineFlag.js.map +1 -1
- package/funcs/subscribersRetrieve.d.ts +2 -2
- package/funcs/subscribersRetrieve.d.ts.map +1 -1
- package/funcs/subscribersRetrieve.js +3 -1
- package/funcs/subscribersRetrieve.js.map +1 -1
- package/funcs/subscribersSearch.d.ts +1 -1
- package/funcs/subscribersSearch.d.ts.map +1 -1
- package/funcs/subscribersSearch.js +2 -0
- package/funcs/subscribersSearch.js.map +1 -1
- package/funcs/subscribersTopicsList.d.ts +1 -1
- package/funcs/subscribersTopicsList.d.ts.map +1 -1
- package/funcs/subscribersTopicsList.js +2 -0
- package/funcs/subscribersTopicsList.js.map +1 -1
- package/funcs/topicsCreate.d.ts +1 -1
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +2 -0
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts +1 -1
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +2 -0
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/topicsGet.d.ts +1 -1
- package/funcs/topicsGet.d.ts.map +1 -1
- package/funcs/topicsGet.js +2 -0
- package/funcs/topicsGet.js.map +1 -1
- package/funcs/topicsList.d.ts +1 -1
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +2 -0
- package/funcs/topicsList.js.map +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts +1 -1
- package/funcs/topicsSubscribersRetrieve.d.ts.map +1 -1
- package/funcs/topicsSubscribersRetrieve.js +2 -0
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/topicsSubscriptionsCreate.d.ts +1 -1
- package/funcs/topicsSubscriptionsCreate.d.ts.map +1 -1
- package/funcs/topicsSubscriptionsCreate.js +2 -0
- package/funcs/topicsSubscriptionsCreate.js.map +1 -1
- package/funcs/topicsSubscriptionsDelete.d.ts +1 -1
- package/funcs/topicsSubscriptionsDelete.d.ts.map +1 -1
- package/funcs/topicsSubscriptionsDelete.js +2 -0
- package/funcs/topicsSubscriptionsDelete.js.map +1 -1
- package/funcs/topicsSubscriptionsList.d.ts +2 -2
- package/funcs/topicsSubscriptionsList.d.ts.map +1 -1
- package/funcs/topicsSubscriptionsList.js +3 -1
- package/funcs/topicsSubscriptionsList.js.map +1 -1
- package/funcs/topicsUpdate.d.ts +1 -1
- package/funcs/topicsUpdate.d.ts.map +1 -1
- package/funcs/topicsUpdate.js +2 -0
- package/funcs/topicsUpdate.js.map +1 -1
- package/funcs/trigger.d.ts +1 -1
- package/funcs/trigger.d.ts.map +1 -1
- package/funcs/trigger.js +5 -1
- package/funcs/trigger.js.map +1 -1
- package/funcs/triggerBroadcast.d.ts +1 -1
- package/funcs/triggerBroadcast.d.ts.map +1 -1
- package/funcs/triggerBroadcast.js +5 -1
- package/funcs/triggerBroadcast.js.map +1 -1
- package/funcs/triggerBulk.d.ts +1 -1
- package/funcs/triggerBulk.d.ts.map +1 -1
- package/funcs/triggerBulk.js +5 -1
- package/funcs/triggerBulk.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/subscribersDelete.d.ts.map +1 -1
- package/mcp-server/tools/subscribersDelete.js +3 -2
- package/mcp-server/tools/subscribersDelete.js.map +1 -1
- package/mcp-server/tools/subscribersRetrieve.js +1 -1
- package/mcp-server/tools/topicsSubscriptionsList.js +1 -1
- 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/components/notificationfeeditemdto.d.ts +2 -2
- package/models/components/notificationfeeditemdto.d.ts.map +1 -1
- package/models/components/notificationfeeditemdto.js +2 -2
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/models/components/patchsubscriberrequestdto.d.ts +6 -26
- package/models/components/patchsubscriberrequestdto.d.ts.map +1 -1
- package/models/components/patchsubscriberrequestdto.js +3 -27
- package/models/components/patchsubscriberrequestdto.js.map +1 -1
- package/models/components/payloadvalidationerrordto.d.ts +125 -0
- package/models/components/payloadvalidationerrordto.d.ts.map +1 -0
- package/models/components/payloadvalidationerrordto.js +160 -0
- package/models/components/payloadvalidationerrordto.js.map +1 -0
- package/models/components/subscriberpayloaddto.d.ts +13 -13
- package/models/components/subscriberpayloaddto.d.ts.map +1 -1
- package/models/components/subscriberpayloaddto.js +17 -16
- package/models/components/subscriberpayloaddto.js.map +1 -1
- package/models/components/updateintegrationrequestdto.d.ts +0 -5
- package/models/components/updateintegrationrequestdto.d.ts.map +1 -1
- package/models/components/updateintegrationrequestdto.js +0 -2
- package/models/components/updateintegrationrequestdto.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/payloadvalidationexceptiondto.d.ts +222 -0
- package/models/errors/payloadvalidationexceptiondto.d.ts.map +1 -0
- package/models/errors/payloadvalidationexceptiondto.js +212 -0
- package/models/errors/payloadvalidationexceptiondto.js.map +1 -0
- package/models/errors/sdkerror.d.ts +14 -2
- package/models/errors/sdkerror.d.ts.map +1 -1
- package/models/errors/sdkerror.js +1 -1
- package/models/errors/sdkerror.js.map +1 -1
- package/package.json +2 -2
- package/sdk/subscribers.d.ts +4 -3
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +4 -3
- package/sdk/subscribers.js.map +1 -1
- package/sdk/subscriptions.d.ts +1 -1
- package/sdk/subscriptions.js +1 -1
- package/sources/json-development.json +233 -49
- package/src/funcs/cancel.ts +2 -6
- package/src/funcs/integrationsCreate.ts +2 -6
- package/src/funcs/integrationsDelete.ts +2 -6
- package/src/funcs/integrationsList.ts +2 -6
- package/src/funcs/integrationsListActive.ts +2 -6
- package/src/funcs/integrationsSetAsPrimary.ts +2 -6
- package/src/funcs/integrationsUpdate.ts +2 -6
- package/src/funcs/messagesDelete.ts +2 -6
- package/src/funcs/messagesDeleteByTransactionId.ts +2 -6
- package/src/funcs/messagesRetrieve.ts +2 -6
- package/src/funcs/notificationsList.ts +2 -6
- package/src/funcs/notificationsRetrieve.ts +2 -6
- package/src/funcs/subscribersCreate.ts +2 -6
- package/src/funcs/subscribersCreateBulk.ts +2 -6
- package/src/funcs/subscribersCredentialsAppend.ts +2 -6
- package/src/funcs/subscribersCredentialsDelete.ts +2 -6
- package/src/funcs/subscribersCredentialsUpdate.ts +2 -6
- package/src/funcs/subscribersDelete.ts +5 -8
- package/src/funcs/subscribersMessagesMarkAll.ts +2 -6
- package/src/funcs/subscribersMessagesMarkAllAs.ts +2 -6
- package/src/funcs/subscribersMessagesUpdateAsSeen.ts +2 -6
- package/src/funcs/subscribersNotificationsFeed.ts +2 -6
- package/src/funcs/subscribersNotificationsUnseenCount.ts +2 -6
- package/src/funcs/subscribersPatch.ts +2 -6
- package/src/funcs/subscribersPreferencesList.ts +2 -6
- package/src/funcs/subscribersPreferencesUpdate.ts +2 -6
- package/src/funcs/subscribersPropertiesUpdateOnlineFlag.ts +2 -6
- package/src/funcs/subscribersRetrieve.ts +3 -7
- package/src/funcs/subscribersSearch.ts +2 -6
- package/src/funcs/subscribersTopicsList.ts +2 -6
- package/src/funcs/topicsCreate.ts +2 -6
- package/src/funcs/topicsDelete.ts +2 -6
- package/src/funcs/topicsGet.ts +2 -6
- package/src/funcs/topicsList.ts +2 -6
- package/src/funcs/topicsSubscribersRetrieve.ts +2 -6
- package/src/funcs/topicsSubscriptionsCreate.ts +2 -6
- package/src/funcs/topicsSubscriptionsDelete.ts +2 -6
- package/src/funcs/topicsSubscriptionsList.ts +3 -7
- package/src/funcs/topicsUpdate.ts +2 -6
- package/src/funcs/trigger.ts +9 -7
- package/src/funcs/triggerBroadcast.ts +9 -7
- package/src/funcs/triggerBulk.ts +9 -7
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/subscribersDelete.ts +3 -2
- package/src/mcp-server/tools/subscribersRetrieve.ts +1 -1
- package/src/mcp-server/tools/topicsSubscriptionsList.ts +1 -1
- package/src/models/components/index.ts +1 -0
- package/src/models/components/notificationfeeditemdto.ts +4 -4
- package/src/models/components/patchsubscriberrequestdto.ts +4 -47
- package/src/models/components/payloadvalidationerrordto.ts +299 -0
- package/src/models/components/subscriberpayloaddto.ts +19 -37
- package/src/models/components/updateintegrationrequestdto.ts +0 -7
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/payloadvalidationexceptiondto.ts +466 -0
- package/src/models/errors/sdkerror.ts +18 -3
- package/src/sdk/subscribers.ts +4 -3
- package/src/sdk/subscriptions.ts +1 -1
package/sdk/subscriptions.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare class Subscriptions extends ClientSDK {
|
|
|
6
6
|
* List topic subscriptions
|
|
7
7
|
*
|
|
8
8
|
* @remarks
|
|
9
|
-
* List all
|
|
9
|
+
* List all subscriptions of subscribers for a topic.
|
|
10
10
|
* Checkout all available filters in the query section.
|
|
11
11
|
*/
|
|
12
12
|
list(request: operations.TopicsControllerListTopicSubscriptionsRequest, options?: RequestOptions): Promise<operations.TopicsControllerListTopicSubscriptionsResponse>;
|
package/sdk/subscriptions.js
CHANGED
|
@@ -14,7 +14,7 @@ class Subscriptions extends sdks_js_1.ClientSDK {
|
|
|
14
14
|
* List topic subscriptions
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* List all
|
|
17
|
+
* List all subscriptions of subscribers for a topic.
|
|
18
18
|
* Checkout all available filters in the query section.
|
|
19
19
|
*/
|
|
20
20
|
async list(request, options) {
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
"operationId": "SubscribersController_getSubscriber",
|
|
1061
1061
|
"x-speakeasy-name-override": "retrieve",
|
|
1062
1062
|
"summary": "Retrieve a subscriber",
|
|
1063
|
-
"description": "
|
|
1063
|
+
"description": "Retrieve a subscriber by its unique key identifier **subscriberId**. \n **subscriberId** field is required.",
|
|
1064
1064
|
"parameters": [
|
|
1065
1065
|
{
|
|
1066
1066
|
"name": "subscriberId",
|
|
@@ -2033,8 +2033,8 @@
|
|
|
2033
2033
|
"delete": {
|
|
2034
2034
|
"operationId": "SubscribersController_removeSubscriber",
|
|
2035
2035
|
"x-speakeasy-name-override": "delete",
|
|
2036
|
-
"summary": "Delete subscriber",
|
|
2037
|
-
"description": "Deletes a subscriber entity from the Novu platform along with associated messages, preferences, and topic subscriptions",
|
|
2036
|
+
"summary": "Delete a subscriber",
|
|
2037
|
+
"description": "Deletes a subscriber entity from the Novu platform along with associated messages, preferences, and topic subscriptions. \n **subscriberId** is a required field.",
|
|
2038
2038
|
"parameters": [
|
|
2039
2039
|
{
|
|
2040
2040
|
"name": "subscriberId",
|
|
@@ -6580,7 +6580,7 @@
|
|
|
6580
6580
|
"operationId": "TopicsController_listTopicSubscriptions",
|
|
6581
6581
|
"x-speakeasy-group": "Topics.Subscriptions",
|
|
6582
6582
|
"summary": "List topic subscriptions",
|
|
6583
|
-
"description": "List all
|
|
6583
|
+
"description": "List all subscriptions of subscribers for a topic.\n Checkout all available filters in the query section.",
|
|
6584
6584
|
"parameters": [
|
|
6585
6585
|
{
|
|
6586
6586
|
"name": "topicKey",
|
|
@@ -8182,7 +8182,7 @@
|
|
|
8182
8182
|
}
|
|
8183
8183
|
},
|
|
8184
8184
|
"400": {
|
|
8185
|
-
"description": "
|
|
8185
|
+
"description": "Payload validation failed - returned when payload does not match the workflow schema",
|
|
8186
8186
|
"headers": {
|
|
8187
8187
|
"Content-Type": {
|
|
8188
8188
|
"$ref": "#/components/headers/Content-Type"
|
|
@@ -8209,7 +8209,7 @@
|
|
|
8209
8209
|
"content": {
|
|
8210
8210
|
"application/json": {
|
|
8211
8211
|
"schema": {
|
|
8212
|
-
"$ref": "#/components/schemas/
|
|
8212
|
+
"$ref": "#/components/schemas/PayloadValidationExceptionDto"
|
|
8213
8213
|
}
|
|
8214
8214
|
}
|
|
8215
8215
|
}
|
|
@@ -9193,7 +9193,7 @@
|
|
|
9193
9193
|
}
|
|
9194
9194
|
},
|
|
9195
9195
|
"400": {
|
|
9196
|
-
"description": "
|
|
9196
|
+
"description": "Payload validation failed - returned when payload does not match the workflow schema",
|
|
9197
9197
|
"headers": {
|
|
9198
9198
|
"Content-Type": {
|
|
9199
9199
|
"$ref": "#/components/headers/Content-Type"
|
|
@@ -9220,7 +9220,7 @@
|
|
|
9220
9220
|
"content": {
|
|
9221
9221
|
"application/json": {
|
|
9222
9222
|
"schema": {
|
|
9223
|
-
"$ref": "#/components/schemas/
|
|
9223
|
+
"$ref": "#/components/schemas/PayloadValidationExceptionDto"
|
|
9224
9224
|
}
|
|
9225
9225
|
}
|
|
9226
9226
|
}
|
|
@@ -9686,7 +9686,7 @@
|
|
|
9686
9686
|
}
|
|
9687
9687
|
},
|
|
9688
9688
|
"400": {
|
|
9689
|
-
"description": "
|
|
9689
|
+
"description": "Payload validation failed - returned when any event payload does not match the workflow schema",
|
|
9690
9690
|
"headers": {
|
|
9691
9691
|
"Content-Type": {
|
|
9692
9692
|
"$ref": "#/components/headers/Content-Type"
|
|
@@ -9713,7 +9713,7 @@
|
|
|
9713
9713
|
"content": {
|
|
9714
9714
|
"application/json": {
|
|
9715
9715
|
"schema": {
|
|
9716
|
-
"$ref": "#/components/schemas/
|
|
9716
|
+
"$ref": "#/components/schemas/PayloadValidationExceptionDto"
|
|
9717
9717
|
}
|
|
9718
9718
|
}
|
|
9719
9719
|
}
|
|
@@ -21499,6 +21499,195 @@
|
|
|
21499
21499
|
"color"
|
|
21500
21500
|
]
|
|
21501
21501
|
},
|
|
21502
|
+
"PayloadValidationErrorDto": {
|
|
21503
|
+
"type": "object",
|
|
21504
|
+
"properties": {
|
|
21505
|
+
"field": {
|
|
21506
|
+
"type": "string",
|
|
21507
|
+
"description": "Field path that failed validation",
|
|
21508
|
+
"example": "user.name"
|
|
21509
|
+
},
|
|
21510
|
+
"message": {
|
|
21511
|
+
"type": "string",
|
|
21512
|
+
"description": "Validation error message",
|
|
21513
|
+
"example": "must have required property 'name'"
|
|
21514
|
+
},
|
|
21515
|
+
"value": {
|
|
21516
|
+
"description": "The actual value that failed validation",
|
|
21517
|
+
"oneOf": [
|
|
21518
|
+
{
|
|
21519
|
+
"type": "string",
|
|
21520
|
+
"nullable": true
|
|
21521
|
+
},
|
|
21522
|
+
{
|
|
21523
|
+
"type": "number"
|
|
21524
|
+
},
|
|
21525
|
+
{
|
|
21526
|
+
"type": "boolean"
|
|
21527
|
+
},
|
|
21528
|
+
{
|
|
21529
|
+
"type": "object",
|
|
21530
|
+
"nullable": true
|
|
21531
|
+
},
|
|
21532
|
+
{
|
|
21533
|
+
"type": "array",
|
|
21534
|
+
"items": {
|
|
21535
|
+
"anyOf": [
|
|
21536
|
+
{
|
|
21537
|
+
"type": "string",
|
|
21538
|
+
"nullable": true
|
|
21539
|
+
},
|
|
21540
|
+
{
|
|
21541
|
+
"type": "number"
|
|
21542
|
+
},
|
|
21543
|
+
{
|
|
21544
|
+
"type": "boolean"
|
|
21545
|
+
},
|
|
21546
|
+
{
|
|
21547
|
+
"type": "object",
|
|
21548
|
+
"additionalProperties": true
|
|
21549
|
+
}
|
|
21550
|
+
]
|
|
21551
|
+
}
|
|
21552
|
+
}
|
|
21553
|
+
],
|
|
21554
|
+
"example": {
|
|
21555
|
+
"age": 25
|
|
21556
|
+
}
|
|
21557
|
+
},
|
|
21558
|
+
"schemaPath": {
|
|
21559
|
+
"type": "string",
|
|
21560
|
+
"description": "JSON Schema path where the validation failed",
|
|
21561
|
+
"example": "#/required"
|
|
21562
|
+
}
|
|
21563
|
+
},
|
|
21564
|
+
"required": [
|
|
21565
|
+
"field",
|
|
21566
|
+
"message"
|
|
21567
|
+
]
|
|
21568
|
+
},
|
|
21569
|
+
"PayloadValidationExceptionDto": {
|
|
21570
|
+
"type": "object",
|
|
21571
|
+
"properties": {
|
|
21572
|
+
"statusCode": {
|
|
21573
|
+
"type": "number",
|
|
21574
|
+
"description": "HTTP status code of the error response.",
|
|
21575
|
+
"example": 404
|
|
21576
|
+
},
|
|
21577
|
+
"timestamp": {
|
|
21578
|
+
"type": "string",
|
|
21579
|
+
"description": "Timestamp of when the error occurred.",
|
|
21580
|
+
"example": "2024-12-12T13:00:00Z"
|
|
21581
|
+
},
|
|
21582
|
+
"path": {
|
|
21583
|
+
"type": "string",
|
|
21584
|
+
"description": "The path where the error occurred.",
|
|
21585
|
+
"example": "/api/v1/resource"
|
|
21586
|
+
},
|
|
21587
|
+
"message": {
|
|
21588
|
+
"description": "Value that failed validation",
|
|
21589
|
+
"oneOf": [
|
|
21590
|
+
{
|
|
21591
|
+
"type": "string",
|
|
21592
|
+
"nullable": true
|
|
21593
|
+
},
|
|
21594
|
+
{
|
|
21595
|
+
"type": "number"
|
|
21596
|
+
},
|
|
21597
|
+
{
|
|
21598
|
+
"type": "boolean"
|
|
21599
|
+
},
|
|
21600
|
+
{
|
|
21601
|
+
"type": "object",
|
|
21602
|
+
"nullable": true
|
|
21603
|
+
},
|
|
21604
|
+
{
|
|
21605
|
+
"type": "array",
|
|
21606
|
+
"items": {
|
|
21607
|
+
"anyOf": [
|
|
21608
|
+
{
|
|
21609
|
+
"type": "string",
|
|
21610
|
+
"nullable": true
|
|
21611
|
+
},
|
|
21612
|
+
{
|
|
21613
|
+
"type": "number"
|
|
21614
|
+
},
|
|
21615
|
+
{
|
|
21616
|
+
"type": "boolean"
|
|
21617
|
+
},
|
|
21618
|
+
{
|
|
21619
|
+
"type": "object",
|
|
21620
|
+
"additionalProperties": true
|
|
21621
|
+
}
|
|
21622
|
+
]
|
|
21623
|
+
}
|
|
21624
|
+
}
|
|
21625
|
+
],
|
|
21626
|
+
"example": "xx xx xx "
|
|
21627
|
+
},
|
|
21628
|
+
"ctx": {
|
|
21629
|
+
"type": "object",
|
|
21630
|
+
"description": "Optional context object for additional error details.",
|
|
21631
|
+
"additionalProperties": true,
|
|
21632
|
+
"example": {
|
|
21633
|
+
"workflowId": "some_wf_id",
|
|
21634
|
+
"stepId": "some_wf_id"
|
|
21635
|
+
}
|
|
21636
|
+
},
|
|
21637
|
+
"errorId": {
|
|
21638
|
+
"type": "string",
|
|
21639
|
+
"description": "Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.",
|
|
21640
|
+
"example": "abc123"
|
|
21641
|
+
},
|
|
21642
|
+
"type": {
|
|
21643
|
+
"type": "string",
|
|
21644
|
+
"description": "Type identifier for payload validation errors",
|
|
21645
|
+
"example": "PAYLOAD_VALIDATION_ERROR"
|
|
21646
|
+
},
|
|
21647
|
+
"errors": {
|
|
21648
|
+
"description": "Array of detailed validation errors",
|
|
21649
|
+
"example": [
|
|
21650
|
+
{
|
|
21651
|
+
"field": "user.name",
|
|
21652
|
+
"message": "must have required property 'name'",
|
|
21653
|
+
"value": {
|
|
21654
|
+
"age": 25
|
|
21655
|
+
},
|
|
21656
|
+
"schemaPath": "#/required"
|
|
21657
|
+
}
|
|
21658
|
+
],
|
|
21659
|
+
"type": "array",
|
|
21660
|
+
"items": {
|
|
21661
|
+
"$ref": "#/components/schemas/PayloadValidationErrorDto"
|
|
21662
|
+
}
|
|
21663
|
+
},
|
|
21664
|
+
"schema": {
|
|
21665
|
+
"type": "object",
|
|
21666
|
+
"description": "The JSON schema that was used for validation",
|
|
21667
|
+
"example": {
|
|
21668
|
+
"type": "object",
|
|
21669
|
+
"properties": {
|
|
21670
|
+
"name": {
|
|
21671
|
+
"type": "string"
|
|
21672
|
+
},
|
|
21673
|
+
"age": {
|
|
21674
|
+
"type": "number"
|
|
21675
|
+
}
|
|
21676
|
+
},
|
|
21677
|
+
"required": [
|
|
21678
|
+
"name"
|
|
21679
|
+
]
|
|
21680
|
+
}
|
|
21681
|
+
}
|
|
21682
|
+
},
|
|
21683
|
+
"required": [
|
|
21684
|
+
"statusCode",
|
|
21685
|
+
"timestamp",
|
|
21686
|
+
"path",
|
|
21687
|
+
"type",
|
|
21688
|
+
"errors"
|
|
21689
|
+
]
|
|
21690
|
+
},
|
|
21502
21691
|
"TriggerEventResponseDto": {
|
|
21503
21692
|
"type": "object",
|
|
21504
21693
|
"properties": {
|
|
@@ -23111,10 +23300,6 @@
|
|
|
23111
23300
|
"credentials": {
|
|
23112
23301
|
"$ref": "#/components/schemas/CredentialsDto"
|
|
23113
23302
|
},
|
|
23114
|
-
"removeNovuBranding": {
|
|
23115
|
-
"type": "boolean",
|
|
23116
|
-
"description": "If true, the Novu branding will be removed from the Inbox component"
|
|
23117
|
-
},
|
|
23118
23303
|
"check": {
|
|
23119
23304
|
"type": "boolean"
|
|
23120
23305
|
},
|
|
@@ -23897,7 +24082,6 @@
|
|
|
23897
24082
|
"_id",
|
|
23898
24083
|
"_templateId",
|
|
23899
24084
|
"_environmentId",
|
|
23900
|
-
"_messageTemplateId",
|
|
23901
24085
|
"_organizationId",
|
|
23902
24086
|
"_notificationId",
|
|
23903
24087
|
"_subscriberId",
|
|
@@ -24849,7 +25033,8 @@
|
|
|
24849
25033
|
"data": {
|
|
24850
25034
|
"type": "object",
|
|
24851
25035
|
"nullable": true,
|
|
24852
|
-
"description": "Additional custom data for the subscriber"
|
|
25036
|
+
"description": "Additional custom data for the subscriber",
|
|
25037
|
+
"additionalProperties": true
|
|
24853
25038
|
}
|
|
24854
25039
|
}
|
|
24855
25040
|
},
|
|
@@ -25744,7 +25929,8 @@
|
|
|
25744
25929
|
"properties": {
|
|
25745
25930
|
"dataSchema": {
|
|
25746
25931
|
"type": "object",
|
|
25747
|
-
"description": "JSON Schema for data"
|
|
25932
|
+
"description": "JSON Schema for data",
|
|
25933
|
+
"additionalProperties": true
|
|
25748
25934
|
},
|
|
25749
25935
|
"uiSchema": {
|
|
25750
25936
|
"description": "UI Schema for rendering",
|
|
@@ -25859,7 +26045,8 @@
|
|
|
25859
26045
|
},
|
|
25860
26046
|
"variables": {
|
|
25861
26047
|
"type": "object",
|
|
25862
|
-
"description": "JSON Schema for variables, follows the JSON Schema standard"
|
|
26048
|
+
"description": "JSON Schema for variables, follows the JSON Schema standard",
|
|
26049
|
+
"additionalProperties": true
|
|
25863
26050
|
},
|
|
25864
26051
|
"stepId": {
|
|
25865
26052
|
"type": "string",
|
|
@@ -26091,6 +26278,20 @@
|
|
|
26091
26278
|
"type": "string",
|
|
26092
26279
|
"description": "Timestamp of the last workflow trigger",
|
|
26093
26280
|
"nullable": true
|
|
26281
|
+
},
|
|
26282
|
+
"payloadSchema": {
|
|
26283
|
+
"type": "object",
|
|
26284
|
+
"description": "The payload JSON Schema for the workflow",
|
|
26285
|
+
"nullable": true
|
|
26286
|
+
},
|
|
26287
|
+
"payloadExample": {
|
|
26288
|
+
"type": "object",
|
|
26289
|
+
"description": "Generated payload example based on the payload schema",
|
|
26290
|
+
"nullable": true
|
|
26291
|
+
},
|
|
26292
|
+
"validatePayload": {
|
|
26293
|
+
"type": "boolean",
|
|
26294
|
+
"description": "Whether payload schema validation is enabled"
|
|
26094
26295
|
}
|
|
26095
26296
|
},
|
|
26096
26297
|
"required": [
|
|
@@ -26740,6 +26941,12 @@
|
|
|
26740
26941
|
}
|
|
26741
26942
|
]
|
|
26742
26943
|
},
|
|
26944
|
+
"schema": {
|
|
26945
|
+
"type": "object",
|
|
26946
|
+
"nullable": true,
|
|
26947
|
+
"description": "The payload schema that was used to generate the preview payload example",
|
|
26948
|
+
"additionalProperties": true
|
|
26949
|
+
},
|
|
26743
26950
|
"result": {
|
|
26744
26951
|
"description": "Preview result",
|
|
26745
26952
|
"oneOf": [
|
|
@@ -26890,6 +27097,14 @@
|
|
|
26890
27097
|
"items": {
|
|
26891
27098
|
"type": "string"
|
|
26892
27099
|
}
|
|
27100
|
+
},
|
|
27101
|
+
"payloadSchema": {
|
|
27102
|
+
"type": "object",
|
|
27103
|
+
"description": "The payload JSON Schema for the workflow"
|
|
27104
|
+
},
|
|
27105
|
+
"validatePayload": {
|
|
27106
|
+
"type": "boolean",
|
|
27107
|
+
"description": "Enable or disable payload schema validation"
|
|
26893
27108
|
}
|
|
26894
27109
|
}
|
|
26895
27110
|
},
|
|
@@ -27200,37 +27415,6 @@
|
|
|
27200
27415
|
"payload"
|
|
27201
27416
|
]
|
|
27202
27417
|
},
|
|
27203
|
-
"GetWebhookPortalTokenResponseDto": {
|
|
27204
|
-
"type": "object",
|
|
27205
|
-
"properties": {
|
|
27206
|
-
"url": {
|
|
27207
|
-
"type": "string"
|
|
27208
|
-
},
|
|
27209
|
-
"token": {
|
|
27210
|
-
"type": "string"
|
|
27211
|
-
},
|
|
27212
|
-
"appId": {
|
|
27213
|
-
"type": "string"
|
|
27214
|
-
}
|
|
27215
|
-
},
|
|
27216
|
-
"required": [
|
|
27217
|
-
"url",
|
|
27218
|
-
"token",
|
|
27219
|
-
"appId"
|
|
27220
|
-
]
|
|
27221
|
-
},
|
|
27222
|
-
"CreateWebhookPortalResponseDto": {
|
|
27223
|
-
"type": "object",
|
|
27224
|
-
"properties": {
|
|
27225
|
-
"appId": {
|
|
27226
|
-
"type": "string",
|
|
27227
|
-
"description": "The webhook portal application ID"
|
|
27228
|
-
}
|
|
27229
|
-
},
|
|
27230
|
-
"required": [
|
|
27231
|
-
"appId"
|
|
27232
|
-
]
|
|
27233
|
-
},
|
|
27234
27418
|
"WebhookUpdatedWorkflowDto": {
|
|
27235
27419
|
"type": "object",
|
|
27236
27420
|
"properties": {
|
package/src/funcs/cancel.ts
CHANGED
|
@@ -41,9 +41,7 @@ export function cancel(
|
|
|
41
41
|
Result<
|
|
42
42
|
operations.EventsControllerCancelResponse,
|
|
43
43
|
| errors.ErrorDto
|
|
44
|
-
| errors.ErrorDto
|
|
45
44
|
| errors.ValidationErrorDto
|
|
46
|
-
| errors.ErrorDto
|
|
47
45
|
| SDKError
|
|
48
46
|
| SDKValidationError
|
|
49
47
|
| UnexpectedClientError
|
|
@@ -71,9 +69,7 @@ async function $do(
|
|
|
71
69
|
Result<
|
|
72
70
|
operations.EventsControllerCancelResponse,
|
|
73
71
|
| errors.ErrorDto
|
|
74
|
-
| errors.ErrorDto
|
|
75
72
|
| errors.ValidationErrorDto
|
|
76
|
-
| errors.ErrorDto
|
|
77
73
|
| SDKError
|
|
78
74
|
| SDKValidationError
|
|
79
75
|
| UnexpectedClientError
|
|
@@ -125,6 +121,7 @@ async function $do(
|
|
|
125
121
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
126
122
|
|
|
127
123
|
const context = {
|
|
124
|
+
options: client._options,
|
|
128
125
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
129
126
|
operationID: "EventsController_cancel",
|
|
130
127
|
oAuth2Scopes: [],
|
|
@@ -155,6 +152,7 @@ async function $do(
|
|
|
155
152
|
path: path,
|
|
156
153
|
headers: headers,
|
|
157
154
|
body: body,
|
|
155
|
+
userAgent: client._options.userAgent,
|
|
158
156
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
159
157
|
}, options);
|
|
160
158
|
if (!requestRes.ok) {
|
|
@@ -196,9 +194,7 @@ async function $do(
|
|
|
196
194
|
const [result] = await M.match<
|
|
197
195
|
operations.EventsControllerCancelResponse,
|
|
198
196
|
| errors.ErrorDto
|
|
199
|
-
| errors.ErrorDto
|
|
200
197
|
| errors.ValidationErrorDto
|
|
201
|
-
| errors.ErrorDto
|
|
202
198
|
| SDKError
|
|
203
199
|
| SDKValidationError
|
|
204
200
|
| UnexpectedClientError
|
|
@@ -41,9 +41,7 @@ export function integrationsCreate(
|
|
|
41
41
|
Result<
|
|
42
42
|
operations.IntegrationsControllerCreateIntegrationResponse,
|
|
43
43
|
| errors.ErrorDto
|
|
44
|
-
| errors.ErrorDto
|
|
45
44
|
| errors.ValidationErrorDto
|
|
46
|
-
| errors.ErrorDto
|
|
47
45
|
| SDKError
|
|
48
46
|
| SDKValidationError
|
|
49
47
|
| UnexpectedClientError
|
|
@@ -71,9 +69,7 @@ async function $do(
|
|
|
71
69
|
Result<
|
|
72
70
|
operations.IntegrationsControllerCreateIntegrationResponse,
|
|
73
71
|
| errors.ErrorDto
|
|
74
|
-
| errors.ErrorDto
|
|
75
72
|
| errors.ValidationErrorDto
|
|
76
|
-
| errors.ErrorDto
|
|
77
73
|
| SDKError
|
|
78
74
|
| SDKValidationError
|
|
79
75
|
| UnexpectedClientError
|
|
@@ -122,6 +118,7 @@ async function $do(
|
|
|
122
118
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
123
119
|
|
|
124
120
|
const context = {
|
|
121
|
+
options: client._options,
|
|
125
122
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
126
123
|
operationID: "IntegrationsController_createIntegration",
|
|
127
124
|
oAuth2Scopes: [],
|
|
@@ -152,6 +149,7 @@ async function $do(
|
|
|
152
149
|
path: path,
|
|
153
150
|
headers: headers,
|
|
154
151
|
body: body,
|
|
152
|
+
userAgent: client._options.userAgent,
|
|
155
153
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
156
154
|
}, options);
|
|
157
155
|
if (!requestRes.ok) {
|
|
@@ -193,9 +191,7 @@ async function $do(
|
|
|
193
191
|
const [result] = await M.match<
|
|
194
192
|
operations.IntegrationsControllerCreateIntegrationResponse,
|
|
195
193
|
| errors.ErrorDto
|
|
196
|
-
| errors.ErrorDto
|
|
197
194
|
| errors.ValidationErrorDto
|
|
198
|
-
| errors.ErrorDto
|
|
199
195
|
| SDKError
|
|
200
196
|
| SDKValidationError
|
|
201
197
|
| UnexpectedClientError
|
|
@@ -40,9 +40,7 @@ export function integrationsDelete(
|
|
|
40
40
|
Result<
|
|
41
41
|
operations.IntegrationsControllerRemoveIntegrationResponse,
|
|
42
42
|
| errors.ErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
43
|
| errors.ValidationErrorDto
|
|
45
|
-
| errors.ErrorDto
|
|
46
44
|
| SDKError
|
|
47
45
|
| SDKValidationError
|
|
48
46
|
| UnexpectedClientError
|
|
@@ -70,9 +68,7 @@ async function $do(
|
|
|
70
68
|
Result<
|
|
71
69
|
operations.IntegrationsControllerRemoveIntegrationResponse,
|
|
72
70
|
| errors.ErrorDto
|
|
73
|
-
| errors.ErrorDto
|
|
74
71
|
| errors.ValidationErrorDto
|
|
75
|
-
| errors.ErrorDto
|
|
76
72
|
| SDKError
|
|
77
73
|
| SDKValidationError
|
|
78
74
|
| UnexpectedClientError
|
|
@@ -125,6 +121,7 @@ async function $do(
|
|
|
125
121
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
126
122
|
|
|
127
123
|
const context = {
|
|
124
|
+
options: client._options,
|
|
128
125
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
129
126
|
operationID: "IntegrationsController_removeIntegration",
|
|
130
127
|
oAuth2Scopes: [],
|
|
@@ -155,6 +152,7 @@ async function $do(
|
|
|
155
152
|
path: path,
|
|
156
153
|
headers: headers,
|
|
157
154
|
body: body,
|
|
155
|
+
userAgent: client._options.userAgent,
|
|
158
156
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
159
157
|
}, options);
|
|
160
158
|
if (!requestRes.ok) {
|
|
@@ -196,9 +194,7 @@ async function $do(
|
|
|
196
194
|
const [result] = await M.match<
|
|
197
195
|
operations.IntegrationsControllerRemoveIntegrationResponse,
|
|
198
196
|
| errors.ErrorDto
|
|
199
|
-
| errors.ErrorDto
|
|
200
197
|
| errors.ValidationErrorDto
|
|
201
|
-
| errors.ErrorDto
|
|
202
198
|
| SDKError
|
|
203
199
|
| SDKValidationError
|
|
204
200
|
| UnexpectedClientError
|
|
@@ -38,9 +38,7 @@ export function integrationsList(
|
|
|
38
38
|
Result<
|
|
39
39
|
operations.IntegrationsControllerListIntegrationsResponse,
|
|
40
40
|
| errors.ErrorDto
|
|
41
|
-
| errors.ErrorDto
|
|
42
41
|
| errors.ValidationErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
42
|
| SDKError
|
|
45
43
|
| SDKValidationError
|
|
46
44
|
| UnexpectedClientError
|
|
@@ -66,9 +64,7 @@ async function $do(
|
|
|
66
64
|
Result<
|
|
67
65
|
operations.IntegrationsControllerListIntegrationsResponse,
|
|
68
66
|
| errors.ErrorDto
|
|
69
|
-
| errors.ErrorDto
|
|
70
67
|
| errors.ValidationErrorDto
|
|
71
|
-
| errors.ErrorDto
|
|
72
68
|
| SDKError
|
|
73
69
|
| SDKValidationError
|
|
74
70
|
| UnexpectedClientError
|
|
@@ -113,6 +109,7 @@ async function $do(
|
|
|
113
109
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114
110
|
|
|
115
111
|
const context = {
|
|
112
|
+
options: client._options,
|
|
116
113
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
117
114
|
operationID: "IntegrationsController_listIntegrations",
|
|
118
115
|
oAuth2Scopes: [],
|
|
@@ -143,6 +140,7 @@ async function $do(
|
|
|
143
140
|
path: path,
|
|
144
141
|
headers: headers,
|
|
145
142
|
body: body,
|
|
143
|
+
userAgent: client._options.userAgent,
|
|
146
144
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
147
145
|
}, options);
|
|
148
146
|
if (!requestRes.ok) {
|
|
@@ -184,9 +182,7 @@ async function $do(
|
|
|
184
182
|
const [result] = await M.match<
|
|
185
183
|
operations.IntegrationsControllerListIntegrationsResponse,
|
|
186
184
|
| errors.ErrorDto
|
|
187
|
-
| errors.ErrorDto
|
|
188
185
|
| errors.ValidationErrorDto
|
|
189
|
-
| errors.ErrorDto
|
|
190
186
|
| SDKError
|
|
191
187
|
| SDKValidationError
|
|
192
188
|
| UnexpectedClientError
|
|
@@ -38,9 +38,7 @@ export function integrationsListActive(
|
|
|
38
38
|
Result<
|
|
39
39
|
operations.IntegrationsControllerGetActiveIntegrationsResponse,
|
|
40
40
|
| errors.ErrorDto
|
|
41
|
-
| errors.ErrorDto
|
|
42
41
|
| errors.ValidationErrorDto
|
|
43
|
-
| errors.ErrorDto
|
|
44
42
|
| SDKError
|
|
45
43
|
| SDKValidationError
|
|
46
44
|
| UnexpectedClientError
|
|
@@ -66,9 +64,7 @@ async function $do(
|
|
|
66
64
|
Result<
|
|
67
65
|
operations.IntegrationsControllerGetActiveIntegrationsResponse,
|
|
68
66
|
| errors.ErrorDto
|
|
69
|
-
| errors.ErrorDto
|
|
70
67
|
| errors.ValidationErrorDto
|
|
71
|
-
| errors.ErrorDto
|
|
72
68
|
| SDKError
|
|
73
69
|
| SDKValidationError
|
|
74
70
|
| UnexpectedClientError
|
|
@@ -114,6 +110,7 @@ async function $do(
|
|
|
114
110
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
115
111
|
|
|
116
112
|
const context = {
|
|
113
|
+
options: client._options,
|
|
117
114
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
118
115
|
operationID: "IntegrationsController_getActiveIntegrations",
|
|
119
116
|
oAuth2Scopes: [],
|
|
@@ -144,6 +141,7 @@ async function $do(
|
|
|
144
141
|
path: path,
|
|
145
142
|
headers: headers,
|
|
146
143
|
body: body,
|
|
144
|
+
userAgent: client._options.userAgent,
|
|
147
145
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
148
146
|
}, options);
|
|
149
147
|
if (!requestRes.ok) {
|
|
@@ -185,9 +183,7 @@ async function $do(
|
|
|
185
183
|
const [result] = await M.match<
|
|
186
184
|
operations.IntegrationsControllerGetActiveIntegrationsResponse,
|
|
187
185
|
| errors.ErrorDto
|
|
188
|
-
| errors.ErrorDto
|
|
189
186
|
| errors.ValidationErrorDto
|
|
190
|
-
| errors.ErrorDto
|
|
191
187
|
| SDKError
|
|
192
188
|
| SDKValidationError
|
|
193
189
|
| UnexpectedClientError
|