@novu/api 0.7.0 → 1.0.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/README.md +27 -17
- package/bin/mcp-server.js +1397 -746
- package/bin/mcp-server.js.map +62 -49
- package/docs/sdks/novumessages/README.md +2 -2
- package/docs/sdks/novusubscribers/README.md +1 -181
- package/docs/sdks/novutopics/README.md +88 -0
- package/docs/sdks/subscribers/README.md +1 -1
- package/docs/sdks/subscriptions/README.md +266 -0
- package/docs/sdks/topics/README.md +52 -52
- package/funcs/notificationsList.js +1 -0
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/subscribersCreate.d.ts +1 -1
- package/funcs/subscribersCreate.js +1 -1
- package/funcs/subscribersMessagesMarkAll.d.ts +1 -1
- package/funcs/subscribersMessagesMarkAll.js +1 -1
- package/funcs/subscribersTopicsList.d.ts +17 -0
- package/funcs/subscribersTopicsList.d.ts.map +1 -0
- package/funcs/subscribersTopicsList.js +151 -0
- package/funcs/subscribersTopicsList.js.map +1 -0
- package/funcs/topicsCreate.d.ts +3 -3
- package/funcs/topicsCreate.d.ts.map +1 -1
- package/funcs/topicsCreate.js +11 -14
- package/funcs/topicsCreate.js.map +1 -1
- package/funcs/topicsDelete.d.ts +2 -5
- package/funcs/topicsDelete.d.ts.map +1 -1
- package/funcs/topicsDelete.js +6 -6
- package/funcs/topicsDelete.js.map +1 -1
- package/funcs/{topicsRetrieve.d.ts → topicsGet.d.ts} +3 -6
- package/funcs/topicsGet.d.ts.map +1 -0
- package/funcs/{topicsRetrieve.js → topicsGet.js} +6 -9
- package/funcs/topicsGet.js.map +1 -0
- package/funcs/topicsList.d.ts +1 -4
- package/funcs/topicsList.d.ts.map +1 -1
- package/funcs/topicsList.js +9 -7
- 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 +4 -3
- package/funcs/topicsSubscribersRetrieve.js.map +1 -1
- package/funcs/topicsSubscriptionsCreate.d.ts +15 -0
- package/funcs/topicsSubscriptionsCreate.d.ts.map +1 -0
- package/funcs/{topicsSubscribersRemove.js → topicsSubscriptionsCreate.js} +14 -17
- package/funcs/topicsSubscriptionsCreate.js.map +1 -0
- package/funcs/{topicsSubscribersAssign.d.ts → topicsSubscriptionsDelete.d.ts} +3 -6
- package/funcs/topicsSubscriptionsDelete.d.ts.map +1 -0
- package/funcs/{topicsSubscribersAssign.js → topicsSubscriptionsDelete.js} +15 -20
- package/funcs/topicsSubscriptionsDelete.js.map +1 -0
- package/funcs/{topicsSubscribersRemove.d.ts → topicsSubscriptionsList.d.ts} +3 -7
- package/funcs/topicsSubscriptionsList.d.ts.map +1 -0
- package/funcs/topicsSubscriptionsList.js +147 -0
- package/funcs/topicsSubscriptionsList.js.map +1 -0
- package/funcs/{topicsRename.d.ts → topicsUpdate.d.ts} +3 -6
- package/funcs/topicsUpdate.d.ts.map +1 -0
- package/funcs/{topicsRename.js → topicsUpdate.js} +13 -16
- package/funcs/topicsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +17 -13
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/subscribersCreate.js +1 -1
- package/mcp-server/tools/subscribersCreate.js.map +1 -1
- package/mcp-server/tools/subscribersMessagesMarkAll.js +1 -1
- package/mcp-server/tools/subscribersMessagesMarkAll.js.map +1 -1
- package/mcp-server/tools/subscribersTopicsList.d.ts +8 -0
- package/mcp-server/tools/subscribersTopicsList.d.ts.map +1 -0
- package/mcp-server/tools/subscribersTopicsList.js +54 -0
- package/mcp-server/tools/subscribersTopicsList.js.map +1 -0
- package/mcp-server/tools/topicsCreate.d.ts +1 -1
- package/mcp-server/tools/topicsCreate.d.ts.map +1 -1
- package/mcp-server/tools/topicsCreate.js +4 -4
- package/mcp-server/tools/topicsCreate.js.map +1 -1
- package/mcp-server/tools/topicsDelete.js +3 -4
- package/mcp-server/tools/topicsDelete.js.map +1 -1
- package/mcp-server/tools/{topicsRetrieve.d.ts → topicsGet.d.ts} +2 -2
- package/mcp-server/tools/topicsGet.d.ts.map +1 -0
- package/mcp-server/tools/{topicsRetrieve.js → topicsGet.js} +7 -9
- package/mcp-server/tools/topicsGet.js.map +1 -0
- package/mcp-server/tools/topicsList.d.ts.map +1 -1
- package/mcp-server/tools/topicsList.js +1 -3
- package/mcp-server/tools/topicsList.js.map +1 -1
- package/mcp-server/tools/topicsSubscriptionsCreate.d.ts +11 -0
- package/mcp-server/tools/topicsSubscriptionsCreate.d.ts.map +1 -0
- package/mcp-server/tools/{topicsSubscribersRemove.js → topicsSubscriptionsCreate.js} +10 -11
- package/mcp-server/tools/topicsSubscriptionsCreate.js.map +1 -0
- package/mcp-server/tools/topicsSubscriptionsDelete.d.ts +11 -0
- package/mcp-server/tools/topicsSubscriptionsDelete.d.ts.map +1 -0
- package/mcp-server/tools/{topicsSubscribersAssign.js → topicsSubscriptionsDelete.js} +8 -10
- package/mcp-server/tools/topicsSubscriptionsDelete.js.map +1 -0
- package/mcp-server/tools/topicsSubscriptionsList.d.ts +8 -0
- package/mcp-server/tools/topicsSubscriptionsList.d.ts.map +1 -0
- package/mcp-server/tools/topicsSubscriptionsList.js +52 -0
- package/mcp-server/tools/topicsSubscriptionsList.js.map +1 -0
- package/mcp-server/tools/{topicsRename.d.ts → topicsUpdate.d.ts} +3 -3
- package/mcp-server/tools/{topicsRename.d.ts.map → topicsUpdate.d.ts.map} +1 -1
- package/mcp-server/tools/{topicsRename.js → topicsUpdate.js} +8 -10
- package/mcp-server/tools/topicsUpdate.js.map +1 -0
- package/models/components/activitynotificationresponsedto.d.ts +6 -0
- package/models/components/activitynotificationresponsedto.d.ts.map +1 -1
- package/models/components/activitynotificationresponsedto.js +3 -0
- package/models/components/activitynotificationresponsedto.js.map +1 -1
- package/models/components/activitytopicdto.d.ts +37 -0
- package/models/components/activitytopicdto.d.ts.map +1 -0
- package/models/components/activitytopicdto.js +70 -0
- package/models/components/activitytopicdto.js.map +1 -0
- package/models/components/createtopicsubscriptionsrequestdto.d.ts +32 -0
- package/models/components/createtopicsubscriptionsrequestdto.d.ts.map +1 -0
- package/models/components/createtopicsubscriptionsrequestdto.js +59 -0
- package/models/components/createtopicsubscriptionsrequestdto.js.map +1 -0
- package/models/components/createtopicsubscriptionsresponsedto.d.ts +45 -0
- package/models/components/createtopicsubscriptionsresponsedto.d.ts.map +1 -0
- package/models/components/createtopicsubscriptionsresponsedto.js +66 -0
- package/models/components/createtopicsubscriptionsresponsedto.js.map +1 -0
- package/models/components/createupdatetopicrequestdto.d.ts +37 -0
- package/models/components/createupdatetopicrequestdto.d.ts.map +1 -0
- package/models/components/{removesubscribersrequestdto.js → createupdatetopicrequestdto.js} +21 -19
- package/models/components/createupdatetopicrequestdto.js.map +1 -0
- package/models/components/deletetopicresponsedto.d.ts +32 -0
- package/models/components/deletetopicresponsedto.d.ts.map +1 -0
- package/models/components/{createtopicrequestdto.js → deletetopicresponsedto.js} +19 -21
- package/models/components/deletetopicresponsedto.js.map +1 -0
- package/models/components/deletetopicsubscriptionsrequestdto.d.ts +32 -0
- package/models/components/deletetopicsubscriptionsrequestdto.d.ts.map +1 -0
- package/models/components/deletetopicsubscriptionsrequestdto.js +59 -0
- package/models/components/deletetopicsubscriptionsrequestdto.js.map +1 -0
- package/models/components/deletetopicsubscriptionsresponsedto.d.ts +45 -0
- package/models/components/deletetopicsubscriptionsresponsedto.d.ts.map +1 -0
- package/models/components/deletetopicsubscriptionsresponsedto.js +66 -0
- package/models/components/deletetopicsubscriptionsresponsedto.js.map +1 -0
- package/models/components/index.d.ts +17 -10
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +17 -10
- package/models/components/index.js.map +1 -1
- package/models/components/listtopicsresponsedto.d.ts +43 -0
- package/models/components/listtopicsresponsedto.d.ts.map +1 -0
- package/models/components/listtopicsresponsedto.js +64 -0
- package/models/components/listtopicsresponsedto.js.map +1 -0
- package/models/components/listtopicsubscriptionsresponsedto.d.ts +43 -0
- package/models/components/listtopicsubscriptionsresponsedto.d.ts.map +1 -0
- package/models/components/listtopicsubscriptionsresponsedto.js +64 -0
- package/models/components/listtopicsubscriptionsresponsedto.js.map +1 -0
- package/models/components/metadto.d.ts +42 -0
- package/models/components/metadto.d.ts.map +1 -0
- package/models/components/{addsubscribersrequestdto.js → metadto.js} +23 -19
- package/models/components/metadto.js.map +1 -0
- package/models/components/subscriberdto.d.ts +57 -0
- package/models/components/subscriberdto.d.ts.map +1 -0
- package/models/components/subscriberdto.js +78 -0
- package/models/components/subscriberdto.js.map +1 -0
- package/models/components/subscriptiondto.d.ts +109 -0
- package/models/components/subscriptiondto.d.ts.map +1 -0
- package/models/components/subscriptiondto.js +122 -0
- package/models/components/subscriptiondto.js.map +1 -0
- package/models/components/subscriptionerrordto.d.ts +42 -0
- package/models/components/subscriptionerrordto.d.ts.map +1 -0
- package/models/components/{failedassignmentsdto.js → subscriptionerrordto.js} +23 -19
- package/models/components/subscriptionerrordto.js.map +1 -0
- package/models/components/subscriptionsdeleteerrordto.d.ts +42 -0
- package/models/components/subscriptionsdeleteerrordto.d.ts.map +1 -0
- package/models/components/subscriptionsdeleteerrordto.js +63 -0
- package/models/components/subscriptionsdeleteerrordto.js.map +1 -0
- package/models/components/topicdto.d.ts +13 -10
- package/models/components/topicdto.d.ts.map +1 -1
- package/models/components/topicdto.js +4 -14
- package/models/components/topicdto.js.map +1 -1
- package/models/components/topicresponsedto.d.ts +52 -0
- package/models/components/topicresponsedto.d.ts.map +1 -0
- package/models/components/{createtopicresponsedto.js → topicresponsedto.js} +25 -19
- package/models/components/topicresponsedto.js.map +1 -0
- package/models/components/topicsubscriptionresponsedto.d.ts +49 -0
- package/models/components/topicsubscriptionresponsedto.d.ts.map +1 -0
- package/models/components/topicsubscriptionresponsedto.js +76 -0
- package/models/components/topicsubscriptionresponsedto.js.map +1 -0
- package/models/components/updatetopicrequestdto.d.ts +32 -0
- package/models/components/{renametopicrequestdto.d.ts.map → updatetopicrequestdto.d.ts.map} +1 -1
- package/models/components/{renametopicrequestdto.js → updatetopicrequestdto.js} +17 -17
- package/models/components/{renametopicrequestdto.js.map → updatetopicrequestdto.js.map} +1 -1
- package/models/operations/index.d.ts +7 -5
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +7 -5
- package/models/operations/index.js.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.d.ts +5 -0
- package/models/operations/notificationscontrollerlistnotifications.d.ts.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +2 -0
- package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
- package/models/operations/subscriberscontrollerlistsubscribertopics.d.ts +136 -0
- package/models/operations/subscriberscontrollerlistsubscribertopics.d.ts.map +1 -0
- package/models/operations/subscriberscontrollerlistsubscribertopics.js +146 -0
- package/models/operations/subscriberscontrollerlistsubscribertopics.js.map +1 -0
- package/models/operations/topicscontrollercreatetopicsubscriptions.d.ts +71 -0
- package/models/operations/topicscontrollercreatetopicsubscriptions.d.ts.map +1 -0
- package/models/operations/topicscontrollercreatetopicsubscriptions.js +114 -0
- package/models/operations/topicscontrollercreatetopicsubscriptions.js.map +1 -0
- package/models/operations/topicscontrollerdeletetopic.d.ts +4 -1
- 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/topicscontrollerdeletetopicsubscriptions.d.ts +71 -0
- package/models/operations/topicscontrollerdeletetopicsubscriptions.d.ts.map +1 -0
- package/models/operations/topicscontrollerdeletetopicsubscriptions.js +114 -0
- package/models/operations/topicscontrollerdeletetopicsubscriptions.js.map +1 -0
- package/models/operations/topicscontrollergettopic.d.ts +3 -3
- package/models/operations/topicscontrollergettopic.d.ts.map +1 -1
- package/models/operations/topicscontrollergettopic.js +2 -2
- package/models/operations/topicscontrollergettopic.js.map +1 -1
- package/models/operations/topicscontrollerlisttopics.d.ts +66 -9
- package/models/operations/topicscontrollerlisttopics.d.ts.map +1 -1
- package/models/operations/topicscontrollerlisttopics.js +41 -7
- package/models/operations/topicscontrollerlisttopics.js.map +1 -1
- package/models/operations/topicscontrollerlisttopicsubscriptions.d.ts +136 -0
- package/models/operations/topicscontrollerlisttopicsubscriptions.d.ts.map +1 -0
- package/models/operations/topicscontrollerlisttopicsubscriptions.js +148 -0
- package/models/operations/topicscontrollerlisttopicsubscriptions.js.map +1 -0
- package/models/operations/topicscontrollerupdatetopic.d.ts +71 -0
- package/models/operations/{topicscontrollerrenametopic.d.ts.map → topicscontrollerupdatetopic.d.ts.map} +1 -1
- package/models/operations/topicscontrollerupdatetopic.js +114 -0
- package/models/operations/{topicscontrollerrenametopic.js.map → topicscontrollerupdatetopic.js.map} +1 -1
- package/models/operations/topicscontrollerupserttopic.d.ts +66 -0
- package/models/operations/{topicscontrollercreatetopic.d.ts.map → topicscontrollerupserttopic.d.ts.map} +1 -1
- package/models/operations/topicscontrollerupserttopic.js +112 -0
- package/models/operations/topicscontrollerupserttopic.js.map +1 -0
- package/models/operations/topicsv1controllergettopicsubscriber.d.ts +74 -0
- package/models/operations/topicsv1controllergettopicsubscriber.d.ts.map +1 -0
- package/models/operations/topicsv1controllergettopicsubscriber.js +112 -0
- package/models/operations/topicsv1controllergettopicsubscriber.js.map +1 -0
- package/package.json +1 -1
- package/sdk/novumessages.d.ts +1 -1
- package/sdk/novumessages.js +1 -1
- package/sdk/novusubscribers.d.ts +1 -16
- package/sdk/novusubscribers.d.ts.map +1 -1
- package/sdk/novusubscribers.js +0 -20
- package/sdk/novusubscribers.js.map +1 -1
- package/sdk/novutopics.d.ts +12 -0
- package/sdk/novutopics.d.ts.map +1 -0
- package/sdk/novutopics.js +22 -0
- package/sdk/novutopics.js.map +1 -0
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/sdk/subscribers.d.ts +4 -1
- package/sdk/subscribers.d.ts.map +1 -1
- package/sdk/subscribers.js +5 -1
- package/sdk/subscribers.js.map +1 -1
- package/sdk/subscriptions.d.ts +18 -0
- package/sdk/subscriptions.d.ts.map +1 -0
- package/sdk/subscriptions.js +33 -0
- package/sdk/subscriptions.js.map +1 -0
- package/sdk/topics.d.ts +14 -23
- package/sdk/topics.d.ts.map +1 -1
- package/sdk/topics.js +22 -30
- package/sdk/topics.js.map +1 -1
- package/sources/json-development.json +2720 -1282
- package/src/funcs/notificationsList.ts +1 -0
- package/src/funcs/subscribersCreate.ts +1 -1
- package/src/funcs/subscribersMessagesMarkAll.ts +1 -1
- package/src/funcs/subscribersTopicsList.ts +238 -0
- package/src/funcs/topicsCreate.ts +19 -18
- package/src/funcs/topicsDelete.ts +9 -13
- package/src/funcs/{topicsRetrieve.ts → topicsGet.ts} +3 -6
- package/src/funcs/topicsList.ts +9 -7
- package/src/funcs/topicsSubscribersRetrieve.ts +8 -9
- package/src/funcs/{topicsSubscribersAssign.ts → topicsSubscriptionsCreate.ts} +22 -21
- package/src/funcs/{topicsSubscribersRemove.ts → topicsSubscriptionsDelete.ts} +22 -27
- package/src/funcs/topicsSubscriptionsList.ts +232 -0
- package/src/funcs/{topicsRename.ts → topicsUpdate.ts} +15 -18
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -13
- package/src/mcp-server/tools/subscribersCreate.ts +1 -1
- package/src/mcp-server/tools/subscribersMessagesMarkAll.ts +1 -1
- package/src/mcp-server/tools/subscribersTopicsList.ts +38 -0
- package/src/mcp-server/tools/topicsCreate.ts +5 -4
- package/src/mcp-server/tools/topicsDelete.ts +4 -4
- package/src/mcp-server/tools/{topicsRetrieve.ts → topicsGet.ts} +5 -7
- package/src/mcp-server/tools/topicsList.ts +1 -3
- package/src/mcp-server/tools/{topicsSubscribersRemove.ts → topicsSubscriptionsCreate.ts} +12 -11
- package/src/mcp-server/tools/{topicsSubscribersAssign.ts → topicsSubscriptionsDelete.ts} +8 -9
- package/src/mcp-server/tools/topicsSubscriptionsList.ts +36 -0
- package/src/mcp-server/tools/{topicsRename.ts → topicsUpdate.ts} +7 -9
- package/src/models/components/activitynotificationresponsedto.ts +13 -0
- package/src/models/components/activitytopicdto.ts +85 -0
- package/src/models/components/createtopicsubscriptionsrequestdto.ts +73 -0
- package/src/models/components/createtopicsubscriptionsresponsedto.ts +106 -0
- package/src/models/components/createupdatetopicrequestdto.ts +78 -0
- package/src/models/components/deletetopicresponsedto.ts +69 -0
- package/src/models/components/deletetopicsubscriptionsrequestdto.ts +73 -0
- package/src/models/components/deletetopicsubscriptionsresponsedto.ts +106 -0
- package/src/models/components/index.ts +17 -10
- package/src/models/components/listtopicsresponsedto.ts +89 -0
- package/src/models/components/listtopicsubscriptionsresponsedto.ts +92 -0
- package/src/models/components/metadto.ts +76 -0
- package/src/models/components/subscriberdto.ts +109 -0
- package/src/models/components/subscriptiondto.ts +213 -0
- package/src/models/components/subscriptionerrordto.ts +83 -0
- package/src/models/components/subscriptionsdeleteerrordto.ts +85 -0
- package/src/models/components/topicdto.ts +17 -24
- package/src/models/components/topicresponsedto.ts +106 -0
- package/src/models/components/topicsubscriptionresponsedto.ts +113 -0
- package/src/models/components/updatetopicrequestdto.ts +69 -0
- package/src/models/operations/index.ts +7 -5
- package/src/models/operations/notificationscontrollerlistnotifications.ts +7 -0
- package/src/models/operations/subscriberscontrollerlistsubscribertopics.ts +271 -0
- package/src/models/operations/topicscontrollercreatetopicsubscriptions.ts +197 -0
- package/src/models/operations/topicscontrollerdeletetopic.ts +8 -1
- package/src/models/operations/topicscontrollerdeletetopicsubscriptions.ts +197 -0
- package/src/models/operations/topicscontrollergettopic.ts +5 -5
- package/src/models/operations/topicscontrollerlisttopics.ts +93 -15
- package/src/models/operations/topicscontrollerlisttopicsubscriptions.ts +284 -0
- package/src/models/operations/topicscontrollerupdatetopic.ts +173 -0
- package/src/models/operations/topicscontrollerupserttopic.ts +168 -0
- package/src/models/operations/topicsv1controllergettopicsubscriber.ts +191 -0
- package/src/sdk/novumessages.ts +1 -1
- package/src/sdk/novusubscribers.ts +1 -46
- package/src/sdk/novutopics.ts +27 -0
- package/src/sdk/sdk.ts +5 -5
- package/src/sdk/subscribers.ts +7 -1
- package/src/sdk/subscriptions.ts +65 -0
- package/src/sdk/topics.ts +37 -43
- package/funcs/topicsRename.d.ts.map +0 -1
- package/funcs/topicsRename.js.map +0 -1
- package/funcs/topicsRetrieve.d.ts.map +0 -1
- package/funcs/topicsRetrieve.js.map +0 -1
- package/funcs/topicsSubscribersAssign.d.ts.map +0 -1
- package/funcs/topicsSubscribersAssign.js.map +0 -1
- package/funcs/topicsSubscribersRemove.d.ts.map +0 -1
- package/funcs/topicsSubscribersRemove.js.map +0 -1
- package/mcp-server/tools/topicsRename.js.map +0 -1
- package/mcp-server/tools/topicsRetrieve.d.ts.map +0 -1
- package/mcp-server/tools/topicsRetrieve.js.map +0 -1
- package/mcp-server/tools/topicsSubscribersAssign.d.ts +0 -11
- package/mcp-server/tools/topicsSubscribersAssign.d.ts.map +0 -1
- package/mcp-server/tools/topicsSubscribersAssign.js.map +0 -1
- package/mcp-server/tools/topicsSubscribersRemove.d.ts +0 -11
- package/mcp-server/tools/topicsSubscribersRemove.d.ts.map +0 -1
- package/mcp-server/tools/topicsSubscribersRemove.js.map +0 -1
- package/models/components/addsubscribersrequestdto.d.ts +0 -32
- package/models/components/addsubscribersrequestdto.d.ts.map +0 -1
- package/models/components/addsubscribersrequestdto.js.map +0 -1
- package/models/components/assignsubscribertotopicdto.d.ts +0 -38
- package/models/components/assignsubscribertotopicdto.d.ts.map +0 -1
- package/models/components/assignsubscribertotopicdto.js +0 -62
- package/models/components/assignsubscribertotopicdto.js.map +0 -1
- package/models/components/createtopicrequestdto.d.ts +0 -37
- package/models/components/createtopicrequestdto.d.ts.map +0 -1
- package/models/components/createtopicrequestdto.js.map +0 -1
- package/models/components/createtopicresponsedto.d.ts +0 -37
- package/models/components/createtopicresponsedto.d.ts.map +0 -1
- package/models/components/createtopicresponsedto.js.map +0 -1
- package/models/components/failedassignmentsdto.d.ts +0 -32
- package/models/components/failedassignmentsdto.d.ts.map +0 -1
- package/models/components/failedassignmentsdto.js.map +0 -1
- package/models/components/filtertopicsresponsedto.d.ts +0 -48
- package/models/components/filtertopicsresponsedto.d.ts.map +0 -1
- package/models/components/filtertopicsresponsedto.js +0 -66
- package/models/components/filtertopicsresponsedto.js.map +0 -1
- package/models/components/gettopicresponsedto.d.ts +0 -39
- package/models/components/gettopicresponsedto.d.ts.map +0 -1
- package/models/components/gettopicresponsedto.js +0 -82
- package/models/components/gettopicresponsedto.js.map +0 -1
- package/models/components/removesubscribersrequestdto.d.ts +0 -32
- package/models/components/removesubscribersrequestdto.d.ts.map +0 -1
- package/models/components/removesubscribersrequestdto.js.map +0 -1
- package/models/components/renametopicrequestdto.d.ts +0 -32
- package/models/components/renametopicresponsedto.d.ts +0 -39
- package/models/components/renametopicresponsedto.d.ts.map +0 -1
- package/models/components/renametopicresponsedto.js +0 -82
- package/models/components/renametopicresponsedto.js.map +0 -1
- package/models/operations/topicscontrollerassign.d.ts +0 -71
- package/models/operations/topicscontrollerassign.d.ts.map +0 -1
- package/models/operations/topicscontrollerassign.js +0 -114
- package/models/operations/topicscontrollerassign.js.map +0 -1
- package/models/operations/topicscontrollercreatetopic.d.ts +0 -66
- package/models/operations/topicscontrollercreatetopic.js +0 -112
- package/models/operations/topicscontrollercreatetopic.js.map +0 -1
- package/models/operations/topicscontrollergettopicsubscriber.d.ts +0 -74
- package/models/operations/topicscontrollergettopicsubscriber.d.ts.map +0 -1
- package/models/operations/topicscontrollergettopicsubscriber.js +0 -112
- package/models/operations/topicscontrollergettopicsubscriber.js.map +0 -1
- package/models/operations/topicscontrollerremovesubscribers.d.ts +0 -69
- package/models/operations/topicscontrollerremovesubscribers.d.ts.map +0 -1
- package/models/operations/topicscontrollerremovesubscribers.js +0 -110
- package/models/operations/topicscontrollerremovesubscribers.js.map +0 -1
- package/models/operations/topicscontrollerrenametopic.d.ts +0 -71
- package/models/operations/topicscontrollerrenametopic.js +0 -114
- package/src/models/components/addsubscribersrequestdto.ts +0 -69
- package/src/models/components/assignsubscribertotopicdto.ts +0 -82
- package/src/models/components/createtopicrequestdto.ts +0 -76
- package/src/models/components/createtopicresponsedto.ts +0 -85
- package/src/models/components/failedassignmentsdto.ts +0 -69
- package/src/models/components/filtertopicsresponsedto.ts +0 -96
- package/src/models/components/gettopicresponsedto.ts +0 -99
- package/src/models/components/removesubscribersrequestdto.ts +0 -71
- package/src/models/components/renametopicrequestdto.ts +0 -69
- package/src/models/components/renametopicresponsedto.ts +0 -99
- package/src/models/operations/topicscontrollerassign.ts +0 -168
- package/src/models/operations/topicscontrollercreatetopic.ts +0 -166
- package/src/models/operations/topicscontrollergettopicsubscriber.ts +0 -187
- package/src/models/operations/topicscontrollerremovesubscribers.ts +0 -183
- package/src/models/operations/topicscontrollerrenametopic.ts +0 -173
package/bin/mcp-server.js
CHANGED
|
@@ -34258,9 +34258,9 @@ var init_config = __esm(() => {
|
|
|
34258
34258
|
SDK_METADATA = {
|
|
34259
34259
|
language: "typescript",
|
|
34260
34260
|
openapiDocVersion: "2.1.13",
|
|
34261
|
-
sdkVersion: "0.
|
|
34262
|
-
genVersion: "2.
|
|
34263
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34261
|
+
sdkVersion: "1.0.0",
|
|
34262
|
+
genVersion: "2.599.0",
|
|
34263
|
+
userAgent: "speakeasy-sdk/typescript 1.0.0 2.599.0 2.1.13 @novu/api"
|
|
34264
34264
|
};
|
|
34265
34265
|
});
|
|
34266
34266
|
|
|
@@ -36494,6 +36494,33 @@ var init_activitynotificationtemplateresponsedto = __esm(() => {
|
|
|
36494
36494
|
})(ActivityNotificationTemplateResponseDto$ ||= {});
|
|
36495
36495
|
});
|
|
36496
36496
|
|
|
36497
|
+
// src/models/components/activitytopicdto.ts
|
|
36498
|
+
var ActivityTopicDto$inboundSchema, ActivityTopicDto$outboundSchema, ActivityTopicDto$;
|
|
36499
|
+
var init_activitytopicdto = __esm(() => {
|
|
36500
|
+
init_lib();
|
|
36501
|
+
init_primitives();
|
|
36502
|
+
ActivityTopicDto$inboundSchema = objectType({
|
|
36503
|
+
_topicId: stringType(),
|
|
36504
|
+
topicKey: stringType()
|
|
36505
|
+
}).transform((v2) => {
|
|
36506
|
+
return remap(v2, {
|
|
36507
|
+
_topicId: "topicId"
|
|
36508
|
+
});
|
|
36509
|
+
});
|
|
36510
|
+
ActivityTopicDto$outboundSchema = objectType({
|
|
36511
|
+
topicId: stringType(),
|
|
36512
|
+
topicKey: stringType()
|
|
36513
|
+
}).transform((v2) => {
|
|
36514
|
+
return remap(v2, {
|
|
36515
|
+
topicId: "_topicId"
|
|
36516
|
+
});
|
|
36517
|
+
});
|
|
36518
|
+
((ActivityTopicDto$) => {
|
|
36519
|
+
ActivityTopicDto$.inboundSchema = ActivityTopicDto$inboundSchema;
|
|
36520
|
+
ActivityTopicDto$.outboundSchema = ActivityTopicDto$outboundSchema;
|
|
36521
|
+
})(ActivityTopicDto$ ||= {});
|
|
36522
|
+
});
|
|
36523
|
+
|
|
36497
36524
|
// src/models/components/steptypeenum.ts
|
|
36498
36525
|
var StepTypeEnum, StepTypeEnum$inboundSchema, StepTypeEnum$outboundSchema, StepTypeEnum$;
|
|
36499
36526
|
var init_steptypeenum = __esm(() => {
|
|
@@ -36525,6 +36552,7 @@ var init_activitynotificationresponsedto = __esm(() => {
|
|
|
36525
36552
|
init_activitynotificationjobresponsedto();
|
|
36526
36553
|
init_activitynotificationsubscriberresponsedto();
|
|
36527
36554
|
init_activitynotificationtemplateresponsedto();
|
|
36555
|
+
init_activitytopicdto();
|
|
36528
36556
|
init_steptypeenum();
|
|
36529
36557
|
ActivityNotificationResponseDtoPayload$inboundSchema = objectType({});
|
|
36530
36558
|
ActivityNotificationResponseDtoPayload$outboundSchema = objectType({});
|
|
@@ -36561,7 +36589,8 @@ var init_activitynotificationresponsedto = __esm(() => {
|
|
|
36561
36589
|
payload: lazyType(() => ActivityNotificationResponseDtoPayload$inboundSchema).optional(),
|
|
36562
36590
|
tags: arrayType(stringType()).optional(),
|
|
36563
36591
|
controls: lazyType(() => Controls$inboundSchema).optional(),
|
|
36564
|
-
to: lazyType(() => ActivityNotificationResponseDtoTo$inboundSchema).optional()
|
|
36592
|
+
to: lazyType(() => ActivityNotificationResponseDtoTo$inboundSchema).optional(),
|
|
36593
|
+
topics: arrayType(ActivityTopicDto$inboundSchema).optional()
|
|
36565
36594
|
}).transform((v2) => {
|
|
36566
36595
|
return remap(v2, {
|
|
36567
36596
|
_id: "id",
|
|
@@ -36589,7 +36618,8 @@ var init_activitynotificationresponsedto = __esm(() => {
|
|
|
36589
36618
|
payload: lazyType(() => ActivityNotificationResponseDtoPayload$outboundSchema).optional(),
|
|
36590
36619
|
tags: arrayType(stringType()).optional(),
|
|
36591
36620
|
controls: lazyType(() => Controls$outboundSchema).optional(),
|
|
36592
|
-
to: lazyType(() => ActivityNotificationResponseDtoTo$outboundSchema).optional()
|
|
36621
|
+
to: lazyType(() => ActivityNotificationResponseDtoTo$outboundSchema).optional(),
|
|
36622
|
+
topics: arrayType(ActivityTopicDto$outboundSchema).optional()
|
|
36593
36623
|
}).transform((v2) => {
|
|
36594
36624
|
return remap(v2, {
|
|
36595
36625
|
id: "_id",
|
|
@@ -36728,57 +36758,6 @@ var init_actorfeeditemdto = __esm(() => {
|
|
|
36728
36758
|
})(ActorFeedItemDto$ ||= {});
|
|
36729
36759
|
});
|
|
36730
36760
|
|
|
36731
|
-
// src/models/components/addsubscribersrequestdto.ts
|
|
36732
|
-
var AddSubscribersRequestDto$inboundSchema, AddSubscribersRequestDto$outboundSchema, AddSubscribersRequestDto$;
|
|
36733
|
-
var init_addsubscribersrequestdto = __esm(() => {
|
|
36734
|
-
init_lib();
|
|
36735
|
-
AddSubscribersRequestDto$inboundSchema = objectType({
|
|
36736
|
-
subscribers: arrayType(stringType())
|
|
36737
|
-
});
|
|
36738
|
-
AddSubscribersRequestDto$outboundSchema = objectType({
|
|
36739
|
-
subscribers: arrayType(stringType())
|
|
36740
|
-
});
|
|
36741
|
-
((AddSubscribersRequestDto$) => {
|
|
36742
|
-
AddSubscribersRequestDto$.inboundSchema = AddSubscribersRequestDto$inboundSchema;
|
|
36743
|
-
AddSubscribersRequestDto$.outboundSchema = AddSubscribersRequestDto$outboundSchema;
|
|
36744
|
-
})(AddSubscribersRequestDto$ ||= {});
|
|
36745
|
-
});
|
|
36746
|
-
|
|
36747
|
-
// src/models/components/failedassignmentsdto.ts
|
|
36748
|
-
var FailedAssignmentsDto$inboundSchema, FailedAssignmentsDto$outboundSchema, FailedAssignmentsDto$;
|
|
36749
|
-
var init_failedassignmentsdto = __esm(() => {
|
|
36750
|
-
init_lib();
|
|
36751
|
-
FailedAssignmentsDto$inboundSchema = objectType({
|
|
36752
|
-
notFound: arrayType(stringType()).optional()
|
|
36753
|
-
});
|
|
36754
|
-
FailedAssignmentsDto$outboundSchema = objectType({
|
|
36755
|
-
notFound: arrayType(stringType()).optional()
|
|
36756
|
-
});
|
|
36757
|
-
((FailedAssignmentsDto$) => {
|
|
36758
|
-
FailedAssignmentsDto$.inboundSchema = FailedAssignmentsDto$inboundSchema;
|
|
36759
|
-
FailedAssignmentsDto$.outboundSchema = FailedAssignmentsDto$outboundSchema;
|
|
36760
|
-
})(FailedAssignmentsDto$ ||= {});
|
|
36761
|
-
});
|
|
36762
|
-
|
|
36763
|
-
// src/models/components/assignsubscribertotopicdto.ts
|
|
36764
|
-
var AssignSubscriberToTopicDto$inboundSchema, AssignSubscriberToTopicDto$outboundSchema, AssignSubscriberToTopicDto$;
|
|
36765
|
-
var init_assignsubscribertotopicdto = __esm(() => {
|
|
36766
|
-
init_lib();
|
|
36767
|
-
init_failedassignmentsdto();
|
|
36768
|
-
AssignSubscriberToTopicDto$inboundSchema = objectType({
|
|
36769
|
-
succeeded: arrayType(stringType()),
|
|
36770
|
-
failed: FailedAssignmentsDto$inboundSchema.optional()
|
|
36771
|
-
});
|
|
36772
|
-
AssignSubscriberToTopicDto$outboundSchema = objectType({
|
|
36773
|
-
succeeded: arrayType(stringType()),
|
|
36774
|
-
failed: FailedAssignmentsDto$outboundSchema.optional()
|
|
36775
|
-
});
|
|
36776
|
-
((AssignSubscriberToTopicDto$) => {
|
|
36777
|
-
AssignSubscriberToTopicDto$.inboundSchema = AssignSubscriberToTopicDto$inboundSchema;
|
|
36778
|
-
AssignSubscriberToTopicDto$.outboundSchema = AssignSubscriberToTopicDto$outboundSchema;
|
|
36779
|
-
})(AssignSubscriberToTopicDto$ ||= {});
|
|
36780
|
-
});
|
|
36781
|
-
|
|
36782
36761
|
// src/models/components/createdsubscriberdto.ts
|
|
36783
36762
|
var CreatedSubscriberDto$inboundSchema, CreatedSubscriberDto$outboundSchema, CreatedSubscriberDto$;
|
|
36784
36763
|
var init_createdsubscriberdto = __esm(() => {
|
|
@@ -37595,49 +37574,192 @@ var init_createintegrationrequestdto = __esm(() => {
|
|
|
37595
37574
|
})(CreateIntegrationRequestDto$ ||= {});
|
|
37596
37575
|
});
|
|
37597
37576
|
|
|
37598
|
-
// src/models/components/
|
|
37599
|
-
var
|
|
37600
|
-
var
|
|
37577
|
+
// src/models/components/createtopicsubscriptionsrequestdto.ts
|
|
37578
|
+
var CreateTopicSubscriptionsRequestDto$inboundSchema, CreateTopicSubscriptionsRequestDto$outboundSchema, CreateTopicSubscriptionsRequestDto$;
|
|
37579
|
+
var init_createtopicsubscriptionsrequestdto = __esm(() => {
|
|
37580
|
+
init_lib();
|
|
37581
|
+
CreateTopicSubscriptionsRequestDto$inboundSchema = objectType({
|
|
37582
|
+
subscriberIds: arrayType(stringType())
|
|
37583
|
+
});
|
|
37584
|
+
CreateTopicSubscriptionsRequestDto$outboundSchema = objectType({
|
|
37585
|
+
subscriberIds: arrayType(stringType())
|
|
37586
|
+
});
|
|
37587
|
+
((CreateTopicSubscriptionsRequestDto$) => {
|
|
37588
|
+
CreateTopicSubscriptionsRequestDto$.inboundSchema = CreateTopicSubscriptionsRequestDto$inboundSchema;
|
|
37589
|
+
CreateTopicSubscriptionsRequestDto$.outboundSchema = CreateTopicSubscriptionsRequestDto$outboundSchema;
|
|
37590
|
+
})(CreateTopicSubscriptionsRequestDto$ ||= {});
|
|
37591
|
+
});
|
|
37592
|
+
|
|
37593
|
+
// src/models/components/metadto.ts
|
|
37594
|
+
var MetaDto$inboundSchema, MetaDto$outboundSchema, MetaDto$;
|
|
37595
|
+
var init_metadto = __esm(() => {
|
|
37596
|
+
init_lib();
|
|
37597
|
+
MetaDto$inboundSchema = objectType({
|
|
37598
|
+
totalCount: numberType(),
|
|
37599
|
+
successful: numberType(),
|
|
37600
|
+
failed: numberType()
|
|
37601
|
+
});
|
|
37602
|
+
MetaDto$outboundSchema = objectType({
|
|
37603
|
+
totalCount: numberType(),
|
|
37604
|
+
successful: numberType(),
|
|
37605
|
+
failed: numberType()
|
|
37606
|
+
});
|
|
37607
|
+
((MetaDto$) => {
|
|
37608
|
+
MetaDto$.inboundSchema = MetaDto$inboundSchema;
|
|
37609
|
+
MetaDto$.outboundSchema = MetaDto$outboundSchema;
|
|
37610
|
+
})(MetaDto$ ||= {});
|
|
37611
|
+
});
|
|
37612
|
+
|
|
37613
|
+
// src/models/components/topicdto.ts
|
|
37614
|
+
var TopicDto$inboundSchema, TopicDto$outboundSchema, TopicDto$;
|
|
37615
|
+
var init_topicdto = __esm(() => {
|
|
37601
37616
|
init_lib();
|
|
37602
|
-
|
|
37617
|
+
init_primitives();
|
|
37618
|
+
TopicDto$inboundSchema = objectType({
|
|
37619
|
+
_id: stringType(),
|
|
37603
37620
|
key: stringType(),
|
|
37604
|
-
name: stringType()
|
|
37621
|
+
name: stringType().optional()
|
|
37622
|
+
}).transform((v2) => {
|
|
37623
|
+
return remap(v2, {
|
|
37624
|
+
_id: "id"
|
|
37625
|
+
});
|
|
37605
37626
|
});
|
|
37606
|
-
|
|
37627
|
+
TopicDto$outboundSchema = objectType({
|
|
37628
|
+
id: stringType(),
|
|
37607
37629
|
key: stringType(),
|
|
37608
|
-
name: stringType()
|
|
37630
|
+
name: stringType().optional()
|
|
37631
|
+
}).transform((v2) => {
|
|
37632
|
+
return remap(v2, {
|
|
37633
|
+
id: "_id"
|
|
37634
|
+
});
|
|
37609
37635
|
});
|
|
37610
|
-
((
|
|
37611
|
-
|
|
37612
|
-
|
|
37613
|
-
})(
|
|
37636
|
+
((TopicDto$) => {
|
|
37637
|
+
TopicDto$.inboundSchema = TopicDto$inboundSchema;
|
|
37638
|
+
TopicDto$.outboundSchema = TopicDto$outboundSchema;
|
|
37639
|
+
})(TopicDto$ ||= {});
|
|
37614
37640
|
});
|
|
37615
37641
|
|
|
37616
|
-
// src/models/components/
|
|
37617
|
-
var
|
|
37618
|
-
var
|
|
37642
|
+
// src/models/components/subscriptiondto.ts
|
|
37643
|
+
var Subscriber$inboundSchema, Subscriber$outboundSchema, Subscriber$, SubscriptionDto$inboundSchema, SubscriptionDto$outboundSchema, SubscriptionDto$;
|
|
37644
|
+
var init_subscriptiondto = __esm(() => {
|
|
37619
37645
|
init_lib();
|
|
37620
37646
|
init_primitives();
|
|
37621
|
-
|
|
37622
|
-
|
|
37623
|
-
|
|
37647
|
+
init_topicdto();
|
|
37648
|
+
Subscriber$inboundSchema = objectType({
|
|
37649
|
+
_id: stringType(),
|
|
37650
|
+
subscriberId: stringType(),
|
|
37651
|
+
avatar: nullableType(stringType()).optional(),
|
|
37652
|
+
firstName: nullableType(stringType()).optional(),
|
|
37653
|
+
lastName: nullableType(stringType()).optional(),
|
|
37654
|
+
email: nullableType(stringType()).optional()
|
|
37624
37655
|
}).transform((v2) => {
|
|
37625
37656
|
return remap(v2, {
|
|
37626
37657
|
_id: "id"
|
|
37627
37658
|
});
|
|
37628
37659
|
});
|
|
37629
|
-
|
|
37630
|
-
id: stringType()
|
|
37631
|
-
|
|
37660
|
+
Subscriber$outboundSchema = objectType({
|
|
37661
|
+
id: stringType(),
|
|
37662
|
+
subscriberId: stringType(),
|
|
37663
|
+
avatar: nullableType(stringType()).optional(),
|
|
37664
|
+
firstName: nullableType(stringType()).optional(),
|
|
37665
|
+
lastName: nullableType(stringType()).optional(),
|
|
37666
|
+
email: nullableType(stringType()).optional()
|
|
37667
|
+
}).transform((v2) => {
|
|
37668
|
+
return remap(v2, {
|
|
37669
|
+
id: "_id"
|
|
37670
|
+
});
|
|
37671
|
+
});
|
|
37672
|
+
((Subscriber$) => {
|
|
37673
|
+
Subscriber$.inboundSchema = Subscriber$inboundSchema;
|
|
37674
|
+
Subscriber$.outboundSchema = Subscriber$outboundSchema;
|
|
37675
|
+
})(Subscriber$ ||= {});
|
|
37676
|
+
SubscriptionDto$inboundSchema = objectType({
|
|
37677
|
+
_id: stringType(),
|
|
37678
|
+
topic: TopicDto$inboundSchema,
|
|
37679
|
+
subscriber: nullableType(lazyType(() => Subscriber$inboundSchema)),
|
|
37680
|
+
createdAt: stringType(),
|
|
37681
|
+
updatedAt: stringType()
|
|
37682
|
+
}).transform((v2) => {
|
|
37683
|
+
return remap(v2, {
|
|
37684
|
+
_id: "id"
|
|
37685
|
+
});
|
|
37686
|
+
});
|
|
37687
|
+
SubscriptionDto$outboundSchema = objectType({
|
|
37688
|
+
id: stringType(),
|
|
37689
|
+
topic: TopicDto$outboundSchema,
|
|
37690
|
+
subscriber: nullableType(lazyType(() => Subscriber$outboundSchema)),
|
|
37691
|
+
createdAt: stringType(),
|
|
37692
|
+
updatedAt: stringType()
|
|
37632
37693
|
}).transform((v2) => {
|
|
37633
37694
|
return remap(v2, {
|
|
37634
37695
|
id: "_id"
|
|
37635
37696
|
});
|
|
37636
37697
|
});
|
|
37637
|
-
((
|
|
37638
|
-
|
|
37639
|
-
|
|
37640
|
-
})(
|
|
37698
|
+
((SubscriptionDto$) => {
|
|
37699
|
+
SubscriptionDto$.inboundSchema = SubscriptionDto$inboundSchema;
|
|
37700
|
+
SubscriptionDto$.outboundSchema = SubscriptionDto$outboundSchema;
|
|
37701
|
+
})(SubscriptionDto$ ||= {});
|
|
37702
|
+
});
|
|
37703
|
+
|
|
37704
|
+
// src/models/components/subscriptionerrordto.ts
|
|
37705
|
+
var SubscriptionErrorDto$inboundSchema, SubscriptionErrorDto$outboundSchema, SubscriptionErrorDto$;
|
|
37706
|
+
var init_subscriptionerrordto = __esm(() => {
|
|
37707
|
+
init_lib();
|
|
37708
|
+
SubscriptionErrorDto$inboundSchema = objectType({
|
|
37709
|
+
subscriberId: stringType(),
|
|
37710
|
+
code: stringType(),
|
|
37711
|
+
message: stringType()
|
|
37712
|
+
});
|
|
37713
|
+
SubscriptionErrorDto$outboundSchema = objectType({
|
|
37714
|
+
subscriberId: stringType(),
|
|
37715
|
+
code: stringType(),
|
|
37716
|
+
message: stringType()
|
|
37717
|
+
});
|
|
37718
|
+
((SubscriptionErrorDto$) => {
|
|
37719
|
+
SubscriptionErrorDto$.inboundSchema = SubscriptionErrorDto$inboundSchema;
|
|
37720
|
+
SubscriptionErrorDto$.outboundSchema = SubscriptionErrorDto$outboundSchema;
|
|
37721
|
+
})(SubscriptionErrorDto$ ||= {});
|
|
37722
|
+
});
|
|
37723
|
+
|
|
37724
|
+
// src/models/components/createtopicsubscriptionsresponsedto.ts
|
|
37725
|
+
var CreateTopicSubscriptionsResponseDto$inboundSchema, CreateTopicSubscriptionsResponseDto$outboundSchema, CreateTopicSubscriptionsResponseDto$;
|
|
37726
|
+
var init_createtopicsubscriptionsresponsedto = __esm(() => {
|
|
37727
|
+
init_lib();
|
|
37728
|
+
init_metadto();
|
|
37729
|
+
init_subscriptiondto();
|
|
37730
|
+
init_subscriptionerrordto();
|
|
37731
|
+
CreateTopicSubscriptionsResponseDto$inboundSchema = objectType({
|
|
37732
|
+
data: arrayType(SubscriptionDto$inboundSchema),
|
|
37733
|
+
meta: MetaDto$inboundSchema,
|
|
37734
|
+
errors: arrayType(SubscriptionErrorDto$inboundSchema).optional()
|
|
37735
|
+
});
|
|
37736
|
+
CreateTopicSubscriptionsResponseDto$outboundSchema = objectType({
|
|
37737
|
+
data: arrayType(SubscriptionDto$outboundSchema),
|
|
37738
|
+
meta: MetaDto$outboundSchema,
|
|
37739
|
+
errors: arrayType(SubscriptionErrorDto$outboundSchema).optional()
|
|
37740
|
+
});
|
|
37741
|
+
((CreateTopicSubscriptionsResponseDto$) => {
|
|
37742
|
+
CreateTopicSubscriptionsResponseDto$.inboundSchema = CreateTopicSubscriptionsResponseDto$inboundSchema;
|
|
37743
|
+
CreateTopicSubscriptionsResponseDto$.outboundSchema = CreateTopicSubscriptionsResponseDto$outboundSchema;
|
|
37744
|
+
})(CreateTopicSubscriptionsResponseDto$ ||= {});
|
|
37745
|
+
});
|
|
37746
|
+
|
|
37747
|
+
// src/models/components/createupdatetopicrequestdto.ts
|
|
37748
|
+
var CreateUpdateTopicRequestDto$inboundSchema, CreateUpdateTopicRequestDto$outboundSchema, CreateUpdateTopicRequestDto$;
|
|
37749
|
+
var init_createupdatetopicrequestdto = __esm(() => {
|
|
37750
|
+
init_lib();
|
|
37751
|
+
CreateUpdateTopicRequestDto$inboundSchema = objectType({
|
|
37752
|
+
key: stringType(),
|
|
37753
|
+
name: stringType().optional()
|
|
37754
|
+
});
|
|
37755
|
+
CreateUpdateTopicRequestDto$outboundSchema = objectType({
|
|
37756
|
+
key: stringType(),
|
|
37757
|
+
name: stringType().optional()
|
|
37758
|
+
});
|
|
37759
|
+
((CreateUpdateTopicRequestDto$) => {
|
|
37760
|
+
CreateUpdateTopicRequestDto$.inboundSchema = CreateUpdateTopicRequestDto$inboundSchema;
|
|
37761
|
+
CreateUpdateTopicRequestDto$.outboundSchema = CreateUpdateTopicRequestDto$outboundSchema;
|
|
37762
|
+
})(CreateUpdateTopicRequestDto$ ||= {});
|
|
37641
37763
|
});
|
|
37642
37764
|
|
|
37643
37765
|
// src/models/components/delayregularmetadata.ts
|
|
@@ -37737,6 +37859,81 @@ var init_deletemessageresponsedto = __esm(() => {
|
|
|
37737
37859
|
})(DeleteMessageResponseDto$ ||= {});
|
|
37738
37860
|
});
|
|
37739
37861
|
|
|
37862
|
+
// src/models/components/deletetopicresponsedto.ts
|
|
37863
|
+
var DeleteTopicResponseDto$inboundSchema, DeleteTopicResponseDto$outboundSchema, DeleteTopicResponseDto$;
|
|
37864
|
+
var init_deletetopicresponsedto = __esm(() => {
|
|
37865
|
+
init_lib();
|
|
37866
|
+
DeleteTopicResponseDto$inboundSchema = objectType({
|
|
37867
|
+
acknowledged: booleanType()
|
|
37868
|
+
});
|
|
37869
|
+
DeleteTopicResponseDto$outboundSchema = objectType({
|
|
37870
|
+
acknowledged: booleanType()
|
|
37871
|
+
});
|
|
37872
|
+
((DeleteTopicResponseDto$) => {
|
|
37873
|
+
DeleteTopicResponseDto$.inboundSchema = DeleteTopicResponseDto$inboundSchema;
|
|
37874
|
+
DeleteTopicResponseDto$.outboundSchema = DeleteTopicResponseDto$outboundSchema;
|
|
37875
|
+
})(DeleteTopicResponseDto$ ||= {});
|
|
37876
|
+
});
|
|
37877
|
+
|
|
37878
|
+
// src/models/components/deletetopicsubscriptionsrequestdto.ts
|
|
37879
|
+
var DeleteTopicSubscriptionsRequestDto$inboundSchema, DeleteTopicSubscriptionsRequestDto$outboundSchema, DeleteTopicSubscriptionsRequestDto$;
|
|
37880
|
+
var init_deletetopicsubscriptionsrequestdto = __esm(() => {
|
|
37881
|
+
init_lib();
|
|
37882
|
+
DeleteTopicSubscriptionsRequestDto$inboundSchema = objectType({
|
|
37883
|
+
subscriberIds: arrayType(stringType())
|
|
37884
|
+
});
|
|
37885
|
+
DeleteTopicSubscriptionsRequestDto$outboundSchema = objectType({
|
|
37886
|
+
subscriberIds: arrayType(stringType())
|
|
37887
|
+
});
|
|
37888
|
+
((DeleteTopicSubscriptionsRequestDto$) => {
|
|
37889
|
+
DeleteTopicSubscriptionsRequestDto$.inboundSchema = DeleteTopicSubscriptionsRequestDto$inboundSchema;
|
|
37890
|
+
DeleteTopicSubscriptionsRequestDto$.outboundSchema = DeleteTopicSubscriptionsRequestDto$outboundSchema;
|
|
37891
|
+
})(DeleteTopicSubscriptionsRequestDto$ ||= {});
|
|
37892
|
+
});
|
|
37893
|
+
|
|
37894
|
+
// src/models/components/subscriptionsdeleteerrordto.ts
|
|
37895
|
+
var SubscriptionsDeleteErrorDto$inboundSchema, SubscriptionsDeleteErrorDto$outboundSchema, SubscriptionsDeleteErrorDto$;
|
|
37896
|
+
var init_subscriptionsdeleteerrordto = __esm(() => {
|
|
37897
|
+
init_lib();
|
|
37898
|
+
SubscriptionsDeleteErrorDto$inboundSchema = objectType({
|
|
37899
|
+
subscriberId: stringType(),
|
|
37900
|
+
code: stringType(),
|
|
37901
|
+
message: stringType()
|
|
37902
|
+
});
|
|
37903
|
+
SubscriptionsDeleteErrorDto$outboundSchema = objectType({
|
|
37904
|
+
subscriberId: stringType(),
|
|
37905
|
+
code: stringType(),
|
|
37906
|
+
message: stringType()
|
|
37907
|
+
});
|
|
37908
|
+
((SubscriptionsDeleteErrorDto$) => {
|
|
37909
|
+
SubscriptionsDeleteErrorDto$.inboundSchema = SubscriptionsDeleteErrorDto$inboundSchema;
|
|
37910
|
+
SubscriptionsDeleteErrorDto$.outboundSchema = SubscriptionsDeleteErrorDto$outboundSchema;
|
|
37911
|
+
})(SubscriptionsDeleteErrorDto$ ||= {});
|
|
37912
|
+
});
|
|
37913
|
+
|
|
37914
|
+
// src/models/components/deletetopicsubscriptionsresponsedto.ts
|
|
37915
|
+
var DeleteTopicSubscriptionsResponseDto$inboundSchema, DeleteTopicSubscriptionsResponseDto$outboundSchema, DeleteTopicSubscriptionsResponseDto$;
|
|
37916
|
+
var init_deletetopicsubscriptionsresponsedto = __esm(() => {
|
|
37917
|
+
init_lib();
|
|
37918
|
+
init_metadto();
|
|
37919
|
+
init_subscriptiondto();
|
|
37920
|
+
init_subscriptionsdeleteerrordto();
|
|
37921
|
+
DeleteTopicSubscriptionsResponseDto$inboundSchema = objectType({
|
|
37922
|
+
data: arrayType(SubscriptionDto$inboundSchema),
|
|
37923
|
+
meta: MetaDto$inboundSchema,
|
|
37924
|
+
errors: arrayType(SubscriptionsDeleteErrorDto$inboundSchema).optional()
|
|
37925
|
+
});
|
|
37926
|
+
DeleteTopicSubscriptionsResponseDto$outboundSchema = objectType({
|
|
37927
|
+
data: arrayType(SubscriptionDto$outboundSchema),
|
|
37928
|
+
meta: MetaDto$outboundSchema,
|
|
37929
|
+
errors: arrayType(SubscriptionsDeleteErrorDto$outboundSchema).optional()
|
|
37930
|
+
});
|
|
37931
|
+
((DeleteTopicSubscriptionsResponseDto$) => {
|
|
37932
|
+
DeleteTopicSubscriptionsResponseDto$.inboundSchema = DeleteTopicSubscriptionsResponseDto$inboundSchema;
|
|
37933
|
+
DeleteTopicSubscriptionsResponseDto$.outboundSchema = DeleteTopicSubscriptionsResponseDto$outboundSchema;
|
|
37934
|
+
})(DeleteTopicSubscriptionsResponseDto$ ||= {});
|
|
37935
|
+
});
|
|
37936
|
+
|
|
37740
37937
|
// src/models/components/digestregularmetadata.ts
|
|
37741
37938
|
var Unit, Type, BackoffUnit, Unit$inboundSchema, Unit$outboundSchema, Unit$, Type$inboundSchema, Type$outboundSchema, Type$, BackoffUnit$inboundSchema, BackoffUnit$outboundSchema, BackoffUnit$, DigestRegularMetadata$inboundSchema, DigestRegularMetadata$outboundSchema, DigestRegularMetadata$;
|
|
37742
37939
|
var init_digestregularmetadata = __esm(() => {
|
|
@@ -38298,68 +38495,6 @@ var init_feedresponsedto = __esm(() => {
|
|
|
38298
38495
|
})(FeedResponseDto$ ||= {});
|
|
38299
38496
|
});
|
|
38300
38497
|
|
|
38301
|
-
// src/models/components/topicdto.ts
|
|
38302
|
-
var TopicDto$inboundSchema, TopicDto$outboundSchema, TopicDto$;
|
|
38303
|
-
var init_topicdto = __esm(() => {
|
|
38304
|
-
init_lib();
|
|
38305
|
-
init_primitives();
|
|
38306
|
-
TopicDto$inboundSchema = objectType({
|
|
38307
|
-
_id: stringType().optional(),
|
|
38308
|
-
_organizationId: stringType(),
|
|
38309
|
-
_environmentId: stringType(),
|
|
38310
|
-
key: stringType(),
|
|
38311
|
-
name: stringType(),
|
|
38312
|
-
subscribers: arrayType(stringType())
|
|
38313
|
-
}).transform((v2) => {
|
|
38314
|
-
return remap(v2, {
|
|
38315
|
-
_id: "id",
|
|
38316
|
-
_organizationId: "organizationId",
|
|
38317
|
-
_environmentId: "environmentId"
|
|
38318
|
-
});
|
|
38319
|
-
});
|
|
38320
|
-
TopicDto$outboundSchema = objectType({
|
|
38321
|
-
id: stringType().optional(),
|
|
38322
|
-
organizationId: stringType(),
|
|
38323
|
-
environmentId: stringType(),
|
|
38324
|
-
key: stringType(),
|
|
38325
|
-
name: stringType(),
|
|
38326
|
-
subscribers: arrayType(stringType())
|
|
38327
|
-
}).transform((v2) => {
|
|
38328
|
-
return remap(v2, {
|
|
38329
|
-
id: "_id",
|
|
38330
|
-
organizationId: "_organizationId",
|
|
38331
|
-
environmentId: "_environmentId"
|
|
38332
|
-
});
|
|
38333
|
-
});
|
|
38334
|
-
((TopicDto$) => {
|
|
38335
|
-
TopicDto$.inboundSchema = TopicDto$inboundSchema;
|
|
38336
|
-
TopicDto$.outboundSchema = TopicDto$outboundSchema;
|
|
38337
|
-
})(TopicDto$ ||= {});
|
|
38338
|
-
});
|
|
38339
|
-
|
|
38340
|
-
// src/models/components/filtertopicsresponsedto.ts
|
|
38341
|
-
var FilterTopicsResponseDto$inboundSchema, FilterTopicsResponseDto$outboundSchema, FilterTopicsResponseDto$;
|
|
38342
|
-
var init_filtertopicsresponsedto = __esm(() => {
|
|
38343
|
-
init_lib();
|
|
38344
|
-
init_topicdto();
|
|
38345
|
-
FilterTopicsResponseDto$inboundSchema = objectType({
|
|
38346
|
-
data: arrayType(TopicDto$inboundSchema),
|
|
38347
|
-
page: numberType(),
|
|
38348
|
-
pageSize: numberType(),
|
|
38349
|
-
totalCount: numberType()
|
|
38350
|
-
});
|
|
38351
|
-
FilterTopicsResponseDto$outboundSchema = objectType({
|
|
38352
|
-
data: arrayType(TopicDto$outboundSchema),
|
|
38353
|
-
page: numberType(),
|
|
38354
|
-
pageSize: numberType(),
|
|
38355
|
-
totalCount: numberType()
|
|
38356
|
-
});
|
|
38357
|
-
((FilterTopicsResponseDto$) => {
|
|
38358
|
-
FilterTopicsResponseDto$.inboundSchema = FilterTopicsResponseDto$inboundSchema;
|
|
38359
|
-
FilterTopicsResponseDto$.outboundSchema = FilterTopicsResponseDto$outboundSchema;
|
|
38360
|
-
})(FilterTopicsResponseDto$ ||= {});
|
|
38361
|
-
});
|
|
38362
|
-
|
|
38363
38498
|
// src/models/components/subscriberpreferencechannels.ts
|
|
38364
38499
|
var SubscriberPreferenceChannels$inboundSchema, SubscriberPreferenceChannels$outboundSchema, SubscriberPreferenceChannels$;
|
|
38365
38500
|
var init_subscriberpreferencechannels = __esm(() => {
|
|
@@ -38516,45 +38651,6 @@ var init_getsubscriberpreferencesdto = __esm(() => {
|
|
|
38516
38651
|
})(GetSubscriberPreferencesDto$ ||= {});
|
|
38517
38652
|
});
|
|
38518
38653
|
|
|
38519
|
-
// src/models/components/gettopicresponsedto.ts
|
|
38520
|
-
var GetTopicResponseDto$inboundSchema, GetTopicResponseDto$outboundSchema, GetTopicResponseDto$;
|
|
38521
|
-
var init_gettopicresponsedto = __esm(() => {
|
|
38522
|
-
init_lib();
|
|
38523
|
-
init_primitives();
|
|
38524
|
-
GetTopicResponseDto$inboundSchema = objectType({
|
|
38525
|
-
_id: stringType().optional(),
|
|
38526
|
-
_organizationId: stringType(),
|
|
38527
|
-
_environmentId: stringType(),
|
|
38528
|
-
key: stringType(),
|
|
38529
|
-
name: stringType(),
|
|
38530
|
-
subscribers: arrayType(stringType())
|
|
38531
|
-
}).transform((v2) => {
|
|
38532
|
-
return remap(v2, {
|
|
38533
|
-
_id: "id",
|
|
38534
|
-
_organizationId: "organizationId",
|
|
38535
|
-
_environmentId: "environmentId"
|
|
38536
|
-
});
|
|
38537
|
-
});
|
|
38538
|
-
GetTopicResponseDto$outboundSchema = objectType({
|
|
38539
|
-
id: stringType().optional(),
|
|
38540
|
-
organizationId: stringType(),
|
|
38541
|
-
environmentId: stringType(),
|
|
38542
|
-
key: stringType(),
|
|
38543
|
-
name: stringType(),
|
|
38544
|
-
subscribers: arrayType(stringType())
|
|
38545
|
-
}).transform((v2) => {
|
|
38546
|
-
return remap(v2, {
|
|
38547
|
-
id: "_id",
|
|
38548
|
-
organizationId: "_organizationId",
|
|
38549
|
-
environmentId: "_environmentId"
|
|
38550
|
-
});
|
|
38551
|
-
});
|
|
38552
|
-
((GetTopicResponseDto$) => {
|
|
38553
|
-
GetTopicResponseDto$.inboundSchema = GetTopicResponseDto$inboundSchema;
|
|
38554
|
-
GetTopicResponseDto$.outboundSchema = GetTopicResponseDto$outboundSchema;
|
|
38555
|
-
})(GetTopicResponseDto$ ||= {});
|
|
38556
|
-
});
|
|
38557
|
-
|
|
38558
38654
|
// src/models/components/integrationresponsedto.ts
|
|
38559
38655
|
var Channel, Channel$inboundSchema, Channel$outboundSchema, Channel$, IntegrationResponseDto$inboundSchema, IntegrationResponseDto$outboundSchema, IntegrationResponseDto$;
|
|
38560
38656
|
var init_integrationresponsedto = __esm(() => {
|
|
@@ -38716,38 +38812,181 @@ var init_listsubscribersresponsedto = __esm(() => {
|
|
|
38716
38812
|
})(ListSubscribersResponseDto$ ||= {});
|
|
38717
38813
|
});
|
|
38718
38814
|
|
|
38719
|
-
// src/models/components/
|
|
38720
|
-
var
|
|
38721
|
-
var
|
|
38815
|
+
// src/models/components/topicresponsedto.ts
|
|
38816
|
+
var TopicResponseDto$inboundSchema, TopicResponseDto$outboundSchema, TopicResponseDto$;
|
|
38817
|
+
var init_topicresponsedto = __esm(() => {
|
|
38722
38818
|
init_lib();
|
|
38723
|
-
|
|
38724
|
-
|
|
38725
|
-
|
|
38726
|
-
|
|
38727
|
-
|
|
38728
|
-
|
|
38729
|
-
|
|
38730
|
-
|
|
38731
|
-
|
|
38732
|
-
|
|
38733
|
-
|
|
38734
|
-
})(FeedIdentifier$ ||= {});
|
|
38735
|
-
MarkAs$inboundSchema = nativeEnumType(MarkAs);
|
|
38736
|
-
MarkAs$outboundSchema = MarkAs$inboundSchema;
|
|
38737
|
-
((MarkAs$) => {
|
|
38738
|
-
MarkAs$.inboundSchema = MarkAs$inboundSchema;
|
|
38739
|
-
MarkAs$.outboundSchema = MarkAs$outboundSchema;
|
|
38740
|
-
})(MarkAs$ ||= {});
|
|
38741
|
-
MarkAllMessageAsRequestDto$inboundSchema = objectType({
|
|
38742
|
-
feedIdentifier: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
38743
|
-
markAs: MarkAs$inboundSchema
|
|
38819
|
+
init_primitives();
|
|
38820
|
+
TopicResponseDto$inboundSchema = objectType({
|
|
38821
|
+
_id: stringType(),
|
|
38822
|
+
key: stringType(),
|
|
38823
|
+
name: stringType().optional(),
|
|
38824
|
+
createdAt: stringType().optional(),
|
|
38825
|
+
updatedAt: stringType().optional()
|
|
38826
|
+
}).transform((v2) => {
|
|
38827
|
+
return remap(v2, {
|
|
38828
|
+
_id: "id"
|
|
38829
|
+
});
|
|
38744
38830
|
});
|
|
38745
|
-
|
|
38746
|
-
|
|
38747
|
-
|
|
38831
|
+
TopicResponseDto$outboundSchema = objectType({
|
|
38832
|
+
id: stringType(),
|
|
38833
|
+
key: stringType(),
|
|
38834
|
+
name: stringType().optional(),
|
|
38835
|
+
createdAt: stringType().optional(),
|
|
38836
|
+
updatedAt: stringType().optional()
|
|
38837
|
+
}).transform((v2) => {
|
|
38838
|
+
return remap(v2, {
|
|
38839
|
+
id: "_id"
|
|
38840
|
+
});
|
|
38748
38841
|
});
|
|
38749
|
-
((
|
|
38750
|
-
|
|
38842
|
+
((TopicResponseDto$) => {
|
|
38843
|
+
TopicResponseDto$.inboundSchema = TopicResponseDto$inboundSchema;
|
|
38844
|
+
TopicResponseDto$.outboundSchema = TopicResponseDto$outboundSchema;
|
|
38845
|
+
})(TopicResponseDto$ ||= {});
|
|
38846
|
+
});
|
|
38847
|
+
|
|
38848
|
+
// src/models/components/listtopicsresponsedto.ts
|
|
38849
|
+
var ListTopicsResponseDto$inboundSchema, ListTopicsResponseDto$outboundSchema, ListTopicsResponseDto$;
|
|
38850
|
+
var init_listtopicsresponsedto = __esm(() => {
|
|
38851
|
+
init_lib();
|
|
38852
|
+
init_topicresponsedto();
|
|
38853
|
+
ListTopicsResponseDto$inboundSchema = objectType({
|
|
38854
|
+
data: arrayType(TopicResponseDto$inboundSchema),
|
|
38855
|
+
next: nullableType(stringType()),
|
|
38856
|
+
previous: nullableType(stringType())
|
|
38857
|
+
});
|
|
38858
|
+
ListTopicsResponseDto$outboundSchema = objectType({
|
|
38859
|
+
data: arrayType(TopicResponseDto$outboundSchema),
|
|
38860
|
+
next: nullableType(stringType()),
|
|
38861
|
+
previous: nullableType(stringType())
|
|
38862
|
+
});
|
|
38863
|
+
((ListTopicsResponseDto$) => {
|
|
38864
|
+
ListTopicsResponseDto$.inboundSchema = ListTopicsResponseDto$inboundSchema;
|
|
38865
|
+
ListTopicsResponseDto$.outboundSchema = ListTopicsResponseDto$outboundSchema;
|
|
38866
|
+
})(ListTopicsResponseDto$ ||= {});
|
|
38867
|
+
});
|
|
38868
|
+
|
|
38869
|
+
// src/models/components/subscriberdto.ts
|
|
38870
|
+
var SubscriberDto$inboundSchema, SubscriberDto$outboundSchema, SubscriberDto$;
|
|
38871
|
+
var init_subscriberdto = __esm(() => {
|
|
38872
|
+
init_lib();
|
|
38873
|
+
init_primitives();
|
|
38874
|
+
SubscriberDto$inboundSchema = objectType({
|
|
38875
|
+
_id: stringType(),
|
|
38876
|
+
subscriberId: stringType(),
|
|
38877
|
+
avatar: nullableType(stringType()).optional(),
|
|
38878
|
+
firstName: nullableType(stringType()).optional(),
|
|
38879
|
+
lastName: nullableType(stringType()).optional(),
|
|
38880
|
+
email: nullableType(stringType()).optional()
|
|
38881
|
+
}).transform((v2) => {
|
|
38882
|
+
return remap(v2, {
|
|
38883
|
+
_id: "id"
|
|
38884
|
+
});
|
|
38885
|
+
});
|
|
38886
|
+
SubscriberDto$outboundSchema = objectType({
|
|
38887
|
+
id: stringType(),
|
|
38888
|
+
subscriberId: stringType(),
|
|
38889
|
+
avatar: nullableType(stringType()).optional(),
|
|
38890
|
+
firstName: nullableType(stringType()).optional(),
|
|
38891
|
+
lastName: nullableType(stringType()).optional(),
|
|
38892
|
+
email: nullableType(stringType()).optional()
|
|
38893
|
+
}).transform((v2) => {
|
|
38894
|
+
return remap(v2, {
|
|
38895
|
+
id: "_id"
|
|
38896
|
+
});
|
|
38897
|
+
});
|
|
38898
|
+
((SubscriberDto$) => {
|
|
38899
|
+
SubscriberDto$.inboundSchema = SubscriberDto$inboundSchema;
|
|
38900
|
+
SubscriberDto$.outboundSchema = SubscriberDto$outboundSchema;
|
|
38901
|
+
})(SubscriberDto$ ||= {});
|
|
38902
|
+
});
|
|
38903
|
+
|
|
38904
|
+
// src/models/components/topicsubscriptionresponsedto.ts
|
|
38905
|
+
var TopicSubscriptionResponseDto$inboundSchema, TopicSubscriptionResponseDto$outboundSchema, TopicSubscriptionResponseDto$;
|
|
38906
|
+
var init_topicsubscriptionresponsedto = __esm(() => {
|
|
38907
|
+
init_lib();
|
|
38908
|
+
init_primitives();
|
|
38909
|
+
init_subscriberdto();
|
|
38910
|
+
init_topicresponsedto();
|
|
38911
|
+
TopicSubscriptionResponseDto$inboundSchema = objectType({
|
|
38912
|
+
_id: stringType(),
|
|
38913
|
+
createdAt: stringType(),
|
|
38914
|
+
topic: TopicResponseDto$inboundSchema,
|
|
38915
|
+
subscriber: SubscriberDto$inboundSchema
|
|
38916
|
+
}).transform((v2) => {
|
|
38917
|
+
return remap(v2, {
|
|
38918
|
+
_id: "id"
|
|
38919
|
+
});
|
|
38920
|
+
});
|
|
38921
|
+
TopicSubscriptionResponseDto$outboundSchema = objectType({
|
|
38922
|
+
id: stringType(),
|
|
38923
|
+
createdAt: stringType(),
|
|
38924
|
+
topic: TopicResponseDto$outboundSchema,
|
|
38925
|
+
subscriber: SubscriberDto$outboundSchema
|
|
38926
|
+
}).transform((v2) => {
|
|
38927
|
+
return remap(v2, {
|
|
38928
|
+
id: "_id"
|
|
38929
|
+
});
|
|
38930
|
+
});
|
|
38931
|
+
((TopicSubscriptionResponseDto$) => {
|
|
38932
|
+
TopicSubscriptionResponseDto$.inboundSchema = TopicSubscriptionResponseDto$inboundSchema;
|
|
38933
|
+
TopicSubscriptionResponseDto$.outboundSchema = TopicSubscriptionResponseDto$outboundSchema;
|
|
38934
|
+
})(TopicSubscriptionResponseDto$ ||= {});
|
|
38935
|
+
});
|
|
38936
|
+
|
|
38937
|
+
// src/models/components/listtopicsubscriptionsresponsedto.ts
|
|
38938
|
+
var ListTopicSubscriptionsResponseDto$inboundSchema, ListTopicSubscriptionsResponseDto$outboundSchema, ListTopicSubscriptionsResponseDto$;
|
|
38939
|
+
var init_listtopicsubscriptionsresponsedto = __esm(() => {
|
|
38940
|
+
init_lib();
|
|
38941
|
+
init_topicsubscriptionresponsedto();
|
|
38942
|
+
ListTopicSubscriptionsResponseDto$inboundSchema = objectType({
|
|
38943
|
+
data: arrayType(TopicSubscriptionResponseDto$inboundSchema),
|
|
38944
|
+
next: nullableType(stringType()),
|
|
38945
|
+
previous: nullableType(stringType())
|
|
38946
|
+
});
|
|
38947
|
+
ListTopicSubscriptionsResponseDto$outboundSchema = objectType({
|
|
38948
|
+
data: arrayType(TopicSubscriptionResponseDto$outboundSchema),
|
|
38949
|
+
next: nullableType(stringType()),
|
|
38950
|
+
previous: nullableType(stringType())
|
|
38951
|
+
});
|
|
38952
|
+
((ListTopicSubscriptionsResponseDto$) => {
|
|
38953
|
+
ListTopicSubscriptionsResponseDto$.inboundSchema = ListTopicSubscriptionsResponseDto$inboundSchema;
|
|
38954
|
+
ListTopicSubscriptionsResponseDto$.outboundSchema = ListTopicSubscriptionsResponseDto$outboundSchema;
|
|
38955
|
+
})(ListTopicSubscriptionsResponseDto$ ||= {});
|
|
38956
|
+
});
|
|
38957
|
+
|
|
38958
|
+
// src/models/components/markallmessageasrequestdto.ts
|
|
38959
|
+
var MarkAs, FeedIdentifier$inboundSchema, FeedIdentifier$outboundSchema, FeedIdentifier$, MarkAs$inboundSchema, MarkAs$outboundSchema, MarkAs$, MarkAllMessageAsRequestDto$inboundSchema, MarkAllMessageAsRequestDto$outboundSchema, MarkAllMessageAsRequestDto$;
|
|
38960
|
+
var init_markallmessageasrequestdto = __esm(() => {
|
|
38961
|
+
init_lib();
|
|
38962
|
+
MarkAs = {
|
|
38963
|
+
Read: "read",
|
|
38964
|
+
Seen: "seen",
|
|
38965
|
+
Unread: "unread",
|
|
38966
|
+
Unseen: "unseen"
|
|
38967
|
+
};
|
|
38968
|
+
FeedIdentifier$inboundSchema = unionType([stringType(), arrayType(stringType())]);
|
|
38969
|
+
FeedIdentifier$outboundSchema = unionType([stringType(), arrayType(stringType())]);
|
|
38970
|
+
((FeedIdentifier$) => {
|
|
38971
|
+
FeedIdentifier$.inboundSchema = FeedIdentifier$inboundSchema;
|
|
38972
|
+
FeedIdentifier$.outboundSchema = FeedIdentifier$outboundSchema;
|
|
38973
|
+
})(FeedIdentifier$ ||= {});
|
|
38974
|
+
MarkAs$inboundSchema = nativeEnumType(MarkAs);
|
|
38975
|
+
MarkAs$outboundSchema = MarkAs$inboundSchema;
|
|
38976
|
+
((MarkAs$) => {
|
|
38977
|
+
MarkAs$.inboundSchema = MarkAs$inboundSchema;
|
|
38978
|
+
MarkAs$.outboundSchema = MarkAs$outboundSchema;
|
|
38979
|
+
})(MarkAs$ ||= {});
|
|
38980
|
+
MarkAllMessageAsRequestDto$inboundSchema = objectType({
|
|
38981
|
+
feedIdentifier: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
38982
|
+
markAs: MarkAs$inboundSchema
|
|
38983
|
+
});
|
|
38984
|
+
MarkAllMessageAsRequestDto$outboundSchema = objectType({
|
|
38985
|
+
feedIdentifier: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
38986
|
+
markAs: MarkAs$outboundSchema
|
|
38987
|
+
});
|
|
38988
|
+
((MarkAllMessageAsRequestDto$) => {
|
|
38989
|
+
MarkAllMessageAsRequestDto$.inboundSchema = MarkAllMessageAsRequestDto$inboundSchema;
|
|
38751
38990
|
MarkAllMessageAsRequestDto$.outboundSchema = MarkAllMessageAsRequestDto$outboundSchema;
|
|
38752
38991
|
})(MarkAllMessageAsRequestDto$ ||= {});
|
|
38753
38992
|
});
|
|
@@ -39458,77 +39697,6 @@ var init_removesubscriberresponsedto = __esm(() => {
|
|
|
39458
39697
|
})(RemoveSubscriberResponseDto$ ||= {});
|
|
39459
39698
|
});
|
|
39460
39699
|
|
|
39461
|
-
// src/models/components/removesubscribersrequestdto.ts
|
|
39462
|
-
var RemoveSubscribersRequestDto$inboundSchema, RemoveSubscribersRequestDto$outboundSchema, RemoveSubscribersRequestDto$;
|
|
39463
|
-
var init_removesubscribersrequestdto = __esm(() => {
|
|
39464
|
-
init_lib();
|
|
39465
|
-
RemoveSubscribersRequestDto$inboundSchema = objectType({
|
|
39466
|
-
subscribers: arrayType(stringType())
|
|
39467
|
-
});
|
|
39468
|
-
RemoveSubscribersRequestDto$outboundSchema = objectType({
|
|
39469
|
-
subscribers: arrayType(stringType())
|
|
39470
|
-
});
|
|
39471
|
-
((RemoveSubscribersRequestDto$) => {
|
|
39472
|
-
RemoveSubscribersRequestDto$.inboundSchema = RemoveSubscribersRequestDto$inboundSchema;
|
|
39473
|
-
RemoveSubscribersRequestDto$.outboundSchema = RemoveSubscribersRequestDto$outboundSchema;
|
|
39474
|
-
})(RemoveSubscribersRequestDto$ ||= {});
|
|
39475
|
-
});
|
|
39476
|
-
|
|
39477
|
-
// src/models/components/renametopicrequestdto.ts
|
|
39478
|
-
var RenameTopicRequestDto$inboundSchema, RenameTopicRequestDto$outboundSchema, RenameTopicRequestDto$;
|
|
39479
|
-
var init_renametopicrequestdto = __esm(() => {
|
|
39480
|
-
init_lib();
|
|
39481
|
-
RenameTopicRequestDto$inboundSchema = objectType({
|
|
39482
|
-
name: stringType()
|
|
39483
|
-
});
|
|
39484
|
-
RenameTopicRequestDto$outboundSchema = objectType({
|
|
39485
|
-
name: stringType()
|
|
39486
|
-
});
|
|
39487
|
-
((RenameTopicRequestDto$) => {
|
|
39488
|
-
RenameTopicRequestDto$.inboundSchema = RenameTopicRequestDto$inboundSchema;
|
|
39489
|
-
RenameTopicRequestDto$.outboundSchema = RenameTopicRequestDto$outboundSchema;
|
|
39490
|
-
})(RenameTopicRequestDto$ ||= {});
|
|
39491
|
-
});
|
|
39492
|
-
|
|
39493
|
-
// src/models/components/renametopicresponsedto.ts
|
|
39494
|
-
var RenameTopicResponseDto$inboundSchema, RenameTopicResponseDto$outboundSchema, RenameTopicResponseDto$;
|
|
39495
|
-
var init_renametopicresponsedto = __esm(() => {
|
|
39496
|
-
init_lib();
|
|
39497
|
-
init_primitives();
|
|
39498
|
-
RenameTopicResponseDto$inboundSchema = objectType({
|
|
39499
|
-
_id: stringType().optional(),
|
|
39500
|
-
_organizationId: stringType(),
|
|
39501
|
-
_environmentId: stringType(),
|
|
39502
|
-
key: stringType(),
|
|
39503
|
-
name: stringType(),
|
|
39504
|
-
subscribers: arrayType(stringType())
|
|
39505
|
-
}).transform((v2) => {
|
|
39506
|
-
return remap(v2, {
|
|
39507
|
-
_id: "id",
|
|
39508
|
-
_organizationId: "organizationId",
|
|
39509
|
-
_environmentId: "environmentId"
|
|
39510
|
-
});
|
|
39511
|
-
});
|
|
39512
|
-
RenameTopicResponseDto$outboundSchema = objectType({
|
|
39513
|
-
id: stringType().optional(),
|
|
39514
|
-
organizationId: stringType(),
|
|
39515
|
-
environmentId: stringType(),
|
|
39516
|
-
key: stringType(),
|
|
39517
|
-
name: stringType(),
|
|
39518
|
-
subscribers: arrayType(stringType())
|
|
39519
|
-
}).transform((v2) => {
|
|
39520
|
-
return remap(v2, {
|
|
39521
|
-
id: "_id",
|
|
39522
|
-
organizationId: "_organizationId",
|
|
39523
|
-
environmentId: "_environmentId"
|
|
39524
|
-
});
|
|
39525
|
-
});
|
|
39526
|
-
((RenameTopicResponseDto$) => {
|
|
39527
|
-
RenameTopicResponseDto$.inboundSchema = RenameTopicResponseDto$inboundSchema;
|
|
39528
|
-
RenameTopicResponseDto$.outboundSchema = RenameTopicResponseDto$outboundSchema;
|
|
39529
|
-
})(RenameTopicResponseDto$ ||= {});
|
|
39530
|
-
});
|
|
39531
|
-
|
|
39532
39700
|
// src/models/components/security.ts
|
|
39533
39701
|
var Security$inboundSchema, Security$outboundSchema, Security$;
|
|
39534
39702
|
var init_security2 = __esm(() => {
|
|
@@ -39822,6 +39990,22 @@ var init_updatesubscriberrequestdto = __esm(() => {
|
|
|
39822
39990
|
})(UpdateSubscriberRequestDto$ ||= {});
|
|
39823
39991
|
});
|
|
39824
39992
|
|
|
39993
|
+
// src/models/components/updatetopicrequestdto.ts
|
|
39994
|
+
var UpdateTopicRequestDto$inboundSchema, UpdateTopicRequestDto$outboundSchema, UpdateTopicRequestDto$;
|
|
39995
|
+
var init_updatetopicrequestdto = __esm(() => {
|
|
39996
|
+
init_lib();
|
|
39997
|
+
UpdateTopicRequestDto$inboundSchema = objectType({
|
|
39998
|
+
name: stringType()
|
|
39999
|
+
});
|
|
40000
|
+
UpdateTopicRequestDto$outboundSchema = objectType({
|
|
40001
|
+
name: stringType()
|
|
40002
|
+
});
|
|
40003
|
+
((UpdateTopicRequestDto$) => {
|
|
40004
|
+
UpdateTopicRequestDto$.inboundSchema = UpdateTopicRequestDto$inboundSchema;
|
|
40005
|
+
UpdateTopicRequestDto$.outboundSchema = UpdateTopicRequestDto$outboundSchema;
|
|
40006
|
+
})(UpdateTopicRequestDto$ ||= {});
|
|
40007
|
+
});
|
|
40008
|
+
|
|
39825
40009
|
// src/models/components/index.ts
|
|
39826
40010
|
var init_components = __esm(() => {
|
|
39827
40011
|
init_activitiesresponsedto();
|
|
@@ -39833,10 +40017,9 @@ var init_components = __esm(() => {
|
|
|
39833
40017
|
init_activitynotificationsubscriberresponsedto();
|
|
39834
40018
|
init_activitynotificationtemplateresponsedto();
|
|
39835
40019
|
init_activitystatsresponsedto();
|
|
40020
|
+
init_activitytopicdto();
|
|
39836
40021
|
init_actorfeeditemdto();
|
|
39837
40022
|
init_actortypeenum();
|
|
39838
|
-
init_addsubscribersrequestdto();
|
|
39839
|
-
init_assignsubscribertotopicdto();
|
|
39840
40023
|
init_builderfieldtypeenum();
|
|
39841
40024
|
init_bulkcreatesubscriberresponsedto();
|
|
39842
40025
|
init_bulksubscribercreatedto();
|
|
@@ -39852,12 +40035,16 @@ var init_components = __esm(() => {
|
|
|
39852
40035
|
init_createdsubscriberdto();
|
|
39853
40036
|
init_createintegrationrequestdto();
|
|
39854
40037
|
init_createsubscriberrequestdto();
|
|
39855
|
-
|
|
39856
|
-
|
|
40038
|
+
init_createtopicsubscriptionsrequestdto();
|
|
40039
|
+
init_createtopicsubscriptionsresponsedto();
|
|
40040
|
+
init_createupdatetopicrequestdto();
|
|
39857
40041
|
init_credentialsdto();
|
|
39858
40042
|
init_delayregularmetadata();
|
|
39859
40043
|
init_delayscheduledmetadata();
|
|
39860
40044
|
init_deletemessageresponsedto();
|
|
40045
|
+
init_deletetopicresponsedto();
|
|
40046
|
+
init_deletetopicsubscriptionsrequestdto();
|
|
40047
|
+
init_deletetopicsubscriptionsresponsedto();
|
|
39861
40048
|
init_digestmetadatadto();
|
|
39862
40049
|
init_digestregularmetadata();
|
|
39863
40050
|
init_digesttimedconfigdto();
|
|
@@ -39869,15 +40056,14 @@ var init_components = __esm(() => {
|
|
|
39869
40056
|
init_emailblocktypeenum();
|
|
39870
40057
|
init_executiondetailssourceenum();
|
|
39871
40058
|
init_executiondetailsstatusenum();
|
|
39872
|
-
init_failedassignmentsdto();
|
|
39873
40059
|
init_failedoperationdto();
|
|
39874
40060
|
init_feedresponsedto();
|
|
39875
40061
|
init_fieldfilterpartdto();
|
|
39876
|
-
init_filtertopicsresponsedto();
|
|
39877
40062
|
init_getsubscriberpreferencesdto();
|
|
39878
|
-
init_gettopicresponsedto();
|
|
39879
40063
|
init_integrationresponsedto();
|
|
39880
40064
|
init_listsubscribersresponsedto();
|
|
40065
|
+
init_listtopicsresponsedto();
|
|
40066
|
+
init_listtopicsubscriptionsresponsedto();
|
|
39881
40067
|
init_markallmessageasrequestdto();
|
|
39882
40068
|
init_markmessageactionasseendto();
|
|
39883
40069
|
init_messageaction();
|
|
@@ -39892,6 +40078,7 @@ var init_components = __esm(() => {
|
|
|
39892
40078
|
init_messagestatusenum();
|
|
39893
40079
|
init_messagetemplate();
|
|
39894
40080
|
init_messagetemplatedto();
|
|
40081
|
+
init_metadto();
|
|
39895
40082
|
init_monthlytypeenum();
|
|
39896
40083
|
init_notificationfeeditemdto();
|
|
39897
40084
|
init_notificationgroup();
|
|
@@ -39908,15 +40095,13 @@ var init_components = __esm(() => {
|
|
|
39908
40095
|
init_preferenceoverridesourceenum();
|
|
39909
40096
|
init_providersidenum();
|
|
39910
40097
|
init_removesubscriberresponsedto();
|
|
39911
|
-
init_removesubscribersrequestdto();
|
|
39912
|
-
init_renametopicrequestdto();
|
|
39913
|
-
init_renametopicresponsedto();
|
|
39914
40098
|
init_replycallback();
|
|
39915
40099
|
init_security2();
|
|
39916
40100
|
init_stepfilterdto();
|
|
39917
40101
|
init_stepsoverrides();
|
|
39918
40102
|
init_steptypeenum();
|
|
39919
40103
|
init_subscriberchanneldto();
|
|
40104
|
+
init_subscriberdto();
|
|
39920
40105
|
init_subscriberfeedresponsedto();
|
|
39921
40106
|
init_subscriberglobalpreferencedto();
|
|
39922
40107
|
init_subscriberpayloaddto();
|
|
@@ -39925,12 +40110,17 @@ var init_components = __esm(() => {
|
|
|
39925
40110
|
init_subscriberpreferencesworkflowinfodto();
|
|
39926
40111
|
init_subscriberresponsedto();
|
|
39927
40112
|
init_subscriberworkflowpreferencedto();
|
|
40113
|
+
init_subscriptiondto();
|
|
40114
|
+
init_subscriptionerrordto();
|
|
40115
|
+
init_subscriptionsdeleteerrordto();
|
|
39928
40116
|
init_tenantpayloaddto();
|
|
39929
40117
|
init_textalignenum();
|
|
39930
40118
|
init_timedconfig();
|
|
39931
40119
|
init_topicdto();
|
|
39932
40120
|
init_topicpayloaddto();
|
|
40121
|
+
init_topicresponsedto();
|
|
39933
40122
|
init_topicsubscriberdto();
|
|
40123
|
+
init_topicsubscriptionresponsedto();
|
|
39934
40124
|
init_triggereventrequestdto();
|
|
39935
40125
|
init_triggereventresponsedto();
|
|
39936
40126
|
init_triggereventtoallrequestdto();
|
|
@@ -39941,6 +40131,7 @@ var init_components = __esm(() => {
|
|
|
39941
40131
|
init_updatesubscriberchannelrequestdto();
|
|
39942
40132
|
init_updatesubscriberonlineflagrequestdto();
|
|
39943
40133
|
init_updatesubscriberrequestdto();
|
|
40134
|
+
init_updatetopicrequestdto();
|
|
39944
40135
|
init_workfloworiginenum();
|
|
39945
40136
|
init_workflowresponse();
|
|
39946
40137
|
});
|
|
@@ -40937,6 +41128,7 @@ var init_notificationscontrollerlistnotifications = __esm(() => {
|
|
|
40937
41128
|
page: numberType().default(0),
|
|
40938
41129
|
limit: numberType().default(10),
|
|
40939
41130
|
transactionId: stringType().optional(),
|
|
41131
|
+
topicKey: stringType().optional(),
|
|
40940
41132
|
after: stringType().optional(),
|
|
40941
41133
|
before: stringType().optional(),
|
|
40942
41134
|
"idempotency-key": stringType().optional()
|
|
@@ -40954,6 +41146,7 @@ var init_notificationscontrollerlistnotifications = __esm(() => {
|
|
|
40954
41146
|
page: numberType().default(0),
|
|
40955
41147
|
limit: numberType().default(10),
|
|
40956
41148
|
transactionId: stringType().optional(),
|
|
41149
|
+
topicKey: stringType().optional(),
|
|
40957
41150
|
after: stringType().optional(),
|
|
40958
41151
|
before: stringType().optional(),
|
|
40959
41152
|
idempotencyKey: stringType().optional()
|
|
@@ -41142,6 +41335,80 @@ var init_subscriberscontrollergetsubscriberpreferences = __esm(() => {
|
|
|
41142
41335
|
})(SubscribersControllerGetSubscriberPreferencesResponse$ ||= {});
|
|
41143
41336
|
});
|
|
41144
41337
|
|
|
41338
|
+
// src/models/operations/subscriberscontrollerlistsubscribertopics.ts
|
|
41339
|
+
var QueryParamOrderDirection, QueryParamOrderDirection$inboundSchema, QueryParamOrderDirection$outboundSchema, QueryParamOrderDirection$, SubscribersControllerListSubscriberTopicsRequest$inboundSchema, SubscribersControllerListSubscriberTopicsRequest$outboundSchema, SubscribersControllerListSubscriberTopicsRequest$, SubscribersControllerListSubscriberTopicsResponse$inboundSchema, SubscribersControllerListSubscriberTopicsResponse$outboundSchema, SubscribersControllerListSubscriberTopicsResponse$;
|
|
41340
|
+
var init_subscriberscontrollerlistsubscribertopics = __esm(() => {
|
|
41341
|
+
init_lib();
|
|
41342
|
+
init_primitives();
|
|
41343
|
+
init_components();
|
|
41344
|
+
QueryParamOrderDirection = {
|
|
41345
|
+
Asc: "ASC",
|
|
41346
|
+
Desc: "DESC"
|
|
41347
|
+
};
|
|
41348
|
+
QueryParamOrderDirection$inboundSchema = nativeEnumType(QueryParamOrderDirection);
|
|
41349
|
+
QueryParamOrderDirection$outboundSchema = QueryParamOrderDirection$inboundSchema;
|
|
41350
|
+
((QueryParamOrderDirection$) => {
|
|
41351
|
+
QueryParamOrderDirection$.inboundSchema = QueryParamOrderDirection$inboundSchema;
|
|
41352
|
+
QueryParamOrderDirection$.outboundSchema = QueryParamOrderDirection$outboundSchema;
|
|
41353
|
+
})(QueryParamOrderDirection$ ||= {});
|
|
41354
|
+
SubscribersControllerListSubscriberTopicsRequest$inboundSchema = objectType({
|
|
41355
|
+
subscriberId: stringType(),
|
|
41356
|
+
after: stringType().optional(),
|
|
41357
|
+
before: stringType().optional(),
|
|
41358
|
+
limit: numberType().optional(),
|
|
41359
|
+
orderDirection: QueryParamOrderDirection$inboundSchema.optional(),
|
|
41360
|
+
orderBy: stringType().optional(),
|
|
41361
|
+
includeCursor: booleanType().optional(),
|
|
41362
|
+
key: stringType().optional(),
|
|
41363
|
+
"idempotency-key": stringType().optional()
|
|
41364
|
+
}).transform((v2) => {
|
|
41365
|
+
return remap(v2, {
|
|
41366
|
+
"idempotency-key": "idempotencyKey"
|
|
41367
|
+
});
|
|
41368
|
+
});
|
|
41369
|
+
SubscribersControllerListSubscriberTopicsRequest$outboundSchema = objectType({
|
|
41370
|
+
subscriberId: stringType(),
|
|
41371
|
+
after: stringType().optional(),
|
|
41372
|
+
before: stringType().optional(),
|
|
41373
|
+
limit: numberType().optional(),
|
|
41374
|
+
orderDirection: QueryParamOrderDirection$outboundSchema.optional(),
|
|
41375
|
+
orderBy: stringType().optional(),
|
|
41376
|
+
includeCursor: booleanType().optional(),
|
|
41377
|
+
key: stringType().optional(),
|
|
41378
|
+
idempotencyKey: stringType().optional()
|
|
41379
|
+
}).transform((v2) => {
|
|
41380
|
+
return remap(v2, {
|
|
41381
|
+
idempotencyKey: "idempotency-key"
|
|
41382
|
+
});
|
|
41383
|
+
});
|
|
41384
|
+
((SubscribersControllerListSubscriberTopicsRequest$) => {
|
|
41385
|
+
SubscribersControllerListSubscriberTopicsRequest$.inboundSchema = SubscribersControllerListSubscriberTopicsRequest$inboundSchema;
|
|
41386
|
+
SubscribersControllerListSubscriberTopicsRequest$.outboundSchema = SubscribersControllerListSubscriberTopicsRequest$outboundSchema;
|
|
41387
|
+
})(SubscribersControllerListSubscriberTopicsRequest$ ||= {});
|
|
41388
|
+
SubscribersControllerListSubscriberTopicsResponse$inboundSchema = objectType({
|
|
41389
|
+
Headers: recordType(arrayType(stringType())),
|
|
41390
|
+
Result: ListTopicSubscriptionsResponseDto$inboundSchema
|
|
41391
|
+
}).transform((v2) => {
|
|
41392
|
+
return remap(v2, {
|
|
41393
|
+
Headers: "headers",
|
|
41394
|
+
Result: "result"
|
|
41395
|
+
});
|
|
41396
|
+
});
|
|
41397
|
+
SubscribersControllerListSubscriberTopicsResponse$outboundSchema = objectType({
|
|
41398
|
+
headers: recordType(arrayType(stringType())),
|
|
41399
|
+
result: ListTopicSubscriptionsResponseDto$outboundSchema
|
|
41400
|
+
}).transform((v2) => {
|
|
41401
|
+
return remap(v2, {
|
|
41402
|
+
headers: "Headers",
|
|
41403
|
+
result: "Result"
|
|
41404
|
+
});
|
|
41405
|
+
});
|
|
41406
|
+
((SubscribersControllerListSubscriberTopicsResponse$) => {
|
|
41407
|
+
SubscribersControllerListSubscriberTopicsResponse$.inboundSchema = SubscribersControllerListSubscriberTopicsResponse$inboundSchema;
|
|
41408
|
+
SubscribersControllerListSubscriberTopicsResponse$.outboundSchema = SubscribersControllerListSubscriberTopicsResponse$outboundSchema;
|
|
41409
|
+
})(SubscribersControllerListSubscriberTopicsResponse$ ||= {});
|
|
41410
|
+
});
|
|
41411
|
+
|
|
41145
41412
|
// src/models/operations/subscriberscontrollerpatchsubscriber.ts
|
|
41146
41413
|
var SubscribersControllerPatchSubscriberRequest$inboundSchema, SubscribersControllerPatchSubscriberRequest$outboundSchema, SubscribersControllerPatchSubscriberRequest$, SubscribersControllerPatchSubscriberResponse$inboundSchema, SubscribersControllerPatchSubscriberResponse$outboundSchema, SubscribersControllerPatchSubscriberResponse$;
|
|
41147
41414
|
var init_subscriberscontrollerpatchsubscriber = __esm(() => {
|
|
@@ -42159,155 +42426,162 @@ var init_subscribersv1controllerupdatesubscriberonlineflag = __esm(() => {
|
|
|
42159
42426
|
})(SubscribersV1ControllerUpdateSubscriberOnlineFlagResponse$ ||= {});
|
|
42160
42427
|
});
|
|
42161
42428
|
|
|
42162
|
-
// src/models/operations/
|
|
42163
|
-
var
|
|
42164
|
-
var
|
|
42429
|
+
// src/models/operations/topicscontrollercreatetopicsubscriptions.ts
|
|
42430
|
+
var TopicsControllerCreateTopicSubscriptionsRequest$inboundSchema, TopicsControllerCreateTopicSubscriptionsRequest$outboundSchema, TopicsControllerCreateTopicSubscriptionsRequest$, TopicsControllerCreateTopicSubscriptionsResponse$inboundSchema, TopicsControllerCreateTopicSubscriptionsResponse$outboundSchema, TopicsControllerCreateTopicSubscriptionsResponse$;
|
|
42431
|
+
var init_topicscontrollercreatetopicsubscriptions = __esm(() => {
|
|
42165
42432
|
init_lib();
|
|
42166
42433
|
init_primitives();
|
|
42167
42434
|
init_components();
|
|
42168
|
-
|
|
42435
|
+
TopicsControllerCreateTopicSubscriptionsRequest$inboundSchema = objectType({
|
|
42169
42436
|
topicKey: stringType(),
|
|
42170
42437
|
"idempotency-key": stringType().optional(),
|
|
42171
|
-
|
|
42438
|
+
CreateTopicSubscriptionsRequestDto: CreateTopicSubscriptionsRequestDto$inboundSchema
|
|
42172
42439
|
}).transform((v2) => {
|
|
42173
42440
|
return remap(v2, {
|
|
42174
42441
|
"idempotency-key": "idempotencyKey",
|
|
42175
|
-
|
|
42442
|
+
CreateTopicSubscriptionsRequestDto: "createTopicSubscriptionsRequestDto"
|
|
42176
42443
|
});
|
|
42177
42444
|
});
|
|
42178
|
-
|
|
42445
|
+
TopicsControllerCreateTopicSubscriptionsRequest$outboundSchema = objectType({
|
|
42179
42446
|
topicKey: stringType(),
|
|
42180
42447
|
idempotencyKey: stringType().optional(),
|
|
42181
|
-
|
|
42448
|
+
createTopicSubscriptionsRequestDto: CreateTopicSubscriptionsRequestDto$outboundSchema
|
|
42182
42449
|
}).transform((v2) => {
|
|
42183
42450
|
return remap(v2, {
|
|
42184
42451
|
idempotencyKey: "idempotency-key",
|
|
42185
|
-
|
|
42452
|
+
createTopicSubscriptionsRequestDto: "CreateTopicSubscriptionsRequestDto"
|
|
42186
42453
|
});
|
|
42187
42454
|
});
|
|
42188
|
-
((
|
|
42189
|
-
|
|
42190
|
-
|
|
42191
|
-
})(
|
|
42192
|
-
|
|
42455
|
+
((TopicsControllerCreateTopicSubscriptionsRequest$) => {
|
|
42456
|
+
TopicsControllerCreateTopicSubscriptionsRequest$.inboundSchema = TopicsControllerCreateTopicSubscriptionsRequest$inboundSchema;
|
|
42457
|
+
TopicsControllerCreateTopicSubscriptionsRequest$.outboundSchema = TopicsControllerCreateTopicSubscriptionsRequest$outboundSchema;
|
|
42458
|
+
})(TopicsControllerCreateTopicSubscriptionsRequest$ ||= {});
|
|
42459
|
+
TopicsControllerCreateTopicSubscriptionsResponse$inboundSchema = objectType({
|
|
42193
42460
|
Headers: recordType(arrayType(stringType())),
|
|
42194
|
-
Result:
|
|
42461
|
+
Result: CreateTopicSubscriptionsResponseDto$inboundSchema
|
|
42195
42462
|
}).transform((v2) => {
|
|
42196
42463
|
return remap(v2, {
|
|
42197
42464
|
Headers: "headers",
|
|
42198
42465
|
Result: "result"
|
|
42199
42466
|
});
|
|
42200
42467
|
});
|
|
42201
|
-
|
|
42468
|
+
TopicsControllerCreateTopicSubscriptionsResponse$outboundSchema = objectType({
|
|
42202
42469
|
headers: recordType(arrayType(stringType())),
|
|
42203
|
-
result:
|
|
42470
|
+
result: CreateTopicSubscriptionsResponseDto$outboundSchema
|
|
42204
42471
|
}).transform((v2) => {
|
|
42205
42472
|
return remap(v2, {
|
|
42206
42473
|
headers: "Headers",
|
|
42207
42474
|
result: "Result"
|
|
42208
42475
|
});
|
|
42209
42476
|
});
|
|
42210
|
-
((
|
|
42211
|
-
|
|
42212
|
-
|
|
42213
|
-
})(
|
|
42477
|
+
((TopicsControllerCreateTopicSubscriptionsResponse$) => {
|
|
42478
|
+
TopicsControllerCreateTopicSubscriptionsResponse$.inboundSchema = TopicsControllerCreateTopicSubscriptionsResponse$inboundSchema;
|
|
42479
|
+
TopicsControllerCreateTopicSubscriptionsResponse$.outboundSchema = TopicsControllerCreateTopicSubscriptionsResponse$outboundSchema;
|
|
42480
|
+
})(TopicsControllerCreateTopicSubscriptionsResponse$ ||= {});
|
|
42214
42481
|
});
|
|
42215
42482
|
|
|
42216
|
-
// src/models/operations/
|
|
42217
|
-
var
|
|
42218
|
-
var
|
|
42483
|
+
// src/models/operations/topicscontrollerdeletetopic.ts
|
|
42484
|
+
var TopicsControllerDeleteTopicRequest$inboundSchema, TopicsControllerDeleteTopicRequest$outboundSchema, TopicsControllerDeleteTopicRequest$, TopicsControllerDeleteTopicResponse$inboundSchema, TopicsControllerDeleteTopicResponse$outboundSchema, TopicsControllerDeleteTopicResponse$;
|
|
42485
|
+
var init_topicscontrollerdeletetopic = __esm(() => {
|
|
42219
42486
|
init_lib();
|
|
42220
42487
|
init_primitives();
|
|
42221
42488
|
init_components();
|
|
42222
|
-
|
|
42223
|
-
|
|
42224
|
-
|
|
42489
|
+
TopicsControllerDeleteTopicRequest$inboundSchema = objectType({
|
|
42490
|
+
topicKey: stringType(),
|
|
42491
|
+
"idempotency-key": stringType().optional()
|
|
42225
42492
|
}).transform((v2) => {
|
|
42226
42493
|
return remap(v2, {
|
|
42227
|
-
"idempotency-key": "idempotencyKey"
|
|
42228
|
-
CreateTopicRequestDto: "createTopicRequestDto"
|
|
42494
|
+
"idempotency-key": "idempotencyKey"
|
|
42229
42495
|
});
|
|
42230
42496
|
});
|
|
42231
|
-
|
|
42232
|
-
|
|
42233
|
-
|
|
42497
|
+
TopicsControllerDeleteTopicRequest$outboundSchema = objectType({
|
|
42498
|
+
topicKey: stringType(),
|
|
42499
|
+
idempotencyKey: stringType().optional()
|
|
42234
42500
|
}).transform((v2) => {
|
|
42235
42501
|
return remap(v2, {
|
|
42236
|
-
idempotencyKey: "idempotency-key"
|
|
42237
|
-
createTopicRequestDto: "CreateTopicRequestDto"
|
|
42502
|
+
idempotencyKey: "idempotency-key"
|
|
42238
42503
|
});
|
|
42239
42504
|
});
|
|
42240
|
-
((
|
|
42241
|
-
|
|
42242
|
-
|
|
42243
|
-
})(
|
|
42244
|
-
|
|
42505
|
+
((TopicsControllerDeleteTopicRequest$) => {
|
|
42506
|
+
TopicsControllerDeleteTopicRequest$.inboundSchema = TopicsControllerDeleteTopicRequest$inboundSchema;
|
|
42507
|
+
TopicsControllerDeleteTopicRequest$.outboundSchema = TopicsControllerDeleteTopicRequest$outboundSchema;
|
|
42508
|
+
})(TopicsControllerDeleteTopicRequest$ ||= {});
|
|
42509
|
+
TopicsControllerDeleteTopicResponse$inboundSchema = objectType({
|
|
42245
42510
|
Headers: recordType(arrayType(stringType())),
|
|
42246
|
-
Result:
|
|
42511
|
+
Result: DeleteTopicResponseDto$inboundSchema
|
|
42247
42512
|
}).transform((v2) => {
|
|
42248
42513
|
return remap(v2, {
|
|
42249
42514
|
Headers: "headers",
|
|
42250
42515
|
Result: "result"
|
|
42251
42516
|
});
|
|
42252
42517
|
});
|
|
42253
|
-
|
|
42518
|
+
TopicsControllerDeleteTopicResponse$outboundSchema = objectType({
|
|
42254
42519
|
headers: recordType(arrayType(stringType())),
|
|
42255
|
-
result:
|
|
42520
|
+
result: DeleteTopicResponseDto$outboundSchema
|
|
42256
42521
|
}).transform((v2) => {
|
|
42257
42522
|
return remap(v2, {
|
|
42258
42523
|
headers: "Headers",
|
|
42259
42524
|
result: "Result"
|
|
42260
42525
|
});
|
|
42261
42526
|
});
|
|
42262
|
-
((
|
|
42263
|
-
|
|
42264
|
-
|
|
42265
|
-
})(
|
|
42527
|
+
((TopicsControllerDeleteTopicResponse$) => {
|
|
42528
|
+
TopicsControllerDeleteTopicResponse$.inboundSchema = TopicsControllerDeleteTopicResponse$inboundSchema;
|
|
42529
|
+
TopicsControllerDeleteTopicResponse$.outboundSchema = TopicsControllerDeleteTopicResponse$outboundSchema;
|
|
42530
|
+
})(TopicsControllerDeleteTopicResponse$ ||= {});
|
|
42266
42531
|
});
|
|
42267
42532
|
|
|
42268
|
-
// src/models/operations/
|
|
42269
|
-
var
|
|
42270
|
-
var
|
|
42533
|
+
// src/models/operations/topicscontrollerdeletetopicsubscriptions.ts
|
|
42534
|
+
var TopicsControllerDeleteTopicSubscriptionsRequest$inboundSchema, TopicsControllerDeleteTopicSubscriptionsRequest$outboundSchema, TopicsControllerDeleteTopicSubscriptionsRequest$, TopicsControllerDeleteTopicSubscriptionsResponse$inboundSchema, TopicsControllerDeleteTopicSubscriptionsResponse$outboundSchema, TopicsControllerDeleteTopicSubscriptionsResponse$;
|
|
42535
|
+
var init_topicscontrollerdeletetopicsubscriptions = __esm(() => {
|
|
42271
42536
|
init_lib();
|
|
42272
42537
|
init_primitives();
|
|
42273
|
-
|
|
42538
|
+
init_components();
|
|
42539
|
+
TopicsControllerDeleteTopicSubscriptionsRequest$inboundSchema = objectType({
|
|
42274
42540
|
topicKey: stringType(),
|
|
42275
|
-
"idempotency-key": stringType().optional()
|
|
42541
|
+
"idempotency-key": stringType().optional(),
|
|
42542
|
+
DeleteTopicSubscriptionsRequestDto: DeleteTopicSubscriptionsRequestDto$inboundSchema
|
|
42276
42543
|
}).transform((v2) => {
|
|
42277
42544
|
return remap(v2, {
|
|
42278
|
-
"idempotency-key": "idempotencyKey"
|
|
42545
|
+
"idempotency-key": "idempotencyKey",
|
|
42546
|
+
DeleteTopicSubscriptionsRequestDto: "deleteTopicSubscriptionsRequestDto"
|
|
42279
42547
|
});
|
|
42280
42548
|
});
|
|
42281
|
-
|
|
42549
|
+
TopicsControllerDeleteTopicSubscriptionsRequest$outboundSchema = objectType({
|
|
42282
42550
|
topicKey: stringType(),
|
|
42283
|
-
idempotencyKey: stringType().optional()
|
|
42551
|
+
idempotencyKey: stringType().optional(),
|
|
42552
|
+
deleteTopicSubscriptionsRequestDto: DeleteTopicSubscriptionsRequestDto$outboundSchema
|
|
42284
42553
|
}).transform((v2) => {
|
|
42285
42554
|
return remap(v2, {
|
|
42286
|
-
idempotencyKey: "idempotency-key"
|
|
42555
|
+
idempotencyKey: "idempotency-key",
|
|
42556
|
+
deleteTopicSubscriptionsRequestDto: "DeleteTopicSubscriptionsRequestDto"
|
|
42287
42557
|
});
|
|
42288
42558
|
});
|
|
42289
|
-
((
|
|
42290
|
-
|
|
42291
|
-
|
|
42292
|
-
})(
|
|
42293
|
-
|
|
42294
|
-
Headers: recordType(arrayType(stringType()))
|
|
42559
|
+
((TopicsControllerDeleteTopicSubscriptionsRequest$) => {
|
|
42560
|
+
TopicsControllerDeleteTopicSubscriptionsRequest$.inboundSchema = TopicsControllerDeleteTopicSubscriptionsRequest$inboundSchema;
|
|
42561
|
+
TopicsControllerDeleteTopicSubscriptionsRequest$.outboundSchema = TopicsControllerDeleteTopicSubscriptionsRequest$outboundSchema;
|
|
42562
|
+
})(TopicsControllerDeleteTopicSubscriptionsRequest$ ||= {});
|
|
42563
|
+
TopicsControllerDeleteTopicSubscriptionsResponse$inboundSchema = objectType({
|
|
42564
|
+
Headers: recordType(arrayType(stringType())),
|
|
42565
|
+
Result: DeleteTopicSubscriptionsResponseDto$inboundSchema
|
|
42295
42566
|
}).transform((v2) => {
|
|
42296
42567
|
return remap(v2, {
|
|
42297
|
-
Headers: "headers"
|
|
42568
|
+
Headers: "headers",
|
|
42569
|
+
Result: "result"
|
|
42298
42570
|
});
|
|
42299
42571
|
});
|
|
42300
|
-
|
|
42301
|
-
headers: recordType(arrayType(stringType()))
|
|
42572
|
+
TopicsControllerDeleteTopicSubscriptionsResponse$outboundSchema = objectType({
|
|
42573
|
+
headers: recordType(arrayType(stringType())),
|
|
42574
|
+
result: DeleteTopicSubscriptionsResponseDto$outboundSchema
|
|
42302
42575
|
}).transform((v2) => {
|
|
42303
42576
|
return remap(v2, {
|
|
42304
|
-
headers: "Headers"
|
|
42577
|
+
headers: "Headers",
|
|
42578
|
+
result: "Result"
|
|
42305
42579
|
});
|
|
42306
42580
|
});
|
|
42307
|
-
((
|
|
42308
|
-
|
|
42309
|
-
|
|
42310
|
-
})(
|
|
42581
|
+
((TopicsControllerDeleteTopicSubscriptionsResponse$) => {
|
|
42582
|
+
TopicsControllerDeleteTopicSubscriptionsResponse$.inboundSchema = TopicsControllerDeleteTopicSubscriptionsResponse$inboundSchema;
|
|
42583
|
+
TopicsControllerDeleteTopicSubscriptionsResponse$.outboundSchema = TopicsControllerDeleteTopicSubscriptionsResponse$outboundSchema;
|
|
42584
|
+
})(TopicsControllerDeleteTopicSubscriptionsResponse$ ||= {});
|
|
42311
42585
|
});
|
|
42312
42586
|
|
|
42313
42587
|
// src/models/operations/topicscontrollergettopic.ts
|
|
@@ -42338,7 +42612,7 @@ var init_topicscontrollergettopic = __esm(() => {
|
|
|
42338
42612
|
})(TopicsControllerGetTopicRequest$ ||= {});
|
|
42339
42613
|
TopicsControllerGetTopicResponse$inboundSchema = objectType({
|
|
42340
42614
|
Headers: recordType(arrayType(stringType())),
|
|
42341
|
-
Result:
|
|
42615
|
+
Result: TopicResponseDto$inboundSchema
|
|
42342
42616
|
}).transform((v2) => {
|
|
42343
42617
|
return remap(v2, {
|
|
42344
42618
|
Headers: "headers",
|
|
@@ -42347,7 +42621,7 @@ var init_topicscontrollergettopic = __esm(() => {
|
|
|
42347
42621
|
});
|
|
42348
42622
|
TopicsControllerGetTopicResponse$outboundSchema = objectType({
|
|
42349
42623
|
headers: recordType(arrayType(stringType())),
|
|
42350
|
-
result:
|
|
42624
|
+
result: TopicResponseDto$outboundSchema
|
|
42351
42625
|
}).transform((v2) => {
|
|
42352
42626
|
return remap(v2, {
|
|
42353
42627
|
headers: "Headers",
|
|
@@ -42360,214 +42634,310 @@ var init_topicscontrollergettopic = __esm(() => {
|
|
|
42360
42634
|
})(TopicsControllerGetTopicResponse$ ||= {});
|
|
42361
42635
|
});
|
|
42362
42636
|
|
|
42363
|
-
// src/models/operations/
|
|
42364
|
-
var
|
|
42365
|
-
var
|
|
42637
|
+
// src/models/operations/topicscontrollerlisttopics.ts
|
|
42638
|
+
var TopicsControllerListTopicsQueryParamOrderDirection, TopicsControllerListTopicsQueryParamOrderDirection$inboundSchema, TopicsControllerListTopicsQueryParamOrderDirection$outboundSchema, TopicsControllerListTopicsQueryParamOrderDirection$, TopicsControllerListTopicsRequest$inboundSchema, TopicsControllerListTopicsRequest$outboundSchema, TopicsControllerListTopicsRequest$, TopicsControllerListTopicsResponse$inboundSchema, TopicsControllerListTopicsResponse$outboundSchema, TopicsControllerListTopicsResponse$;
|
|
42639
|
+
var init_topicscontrollerlisttopics = __esm(() => {
|
|
42366
42640
|
init_lib();
|
|
42367
42641
|
init_primitives();
|
|
42368
42642
|
init_components();
|
|
42369
|
-
|
|
42370
|
-
|
|
42371
|
-
|
|
42372
|
-
|
|
42373
|
-
|
|
42374
|
-
|
|
42375
|
-
|
|
42643
|
+
TopicsControllerListTopicsQueryParamOrderDirection = {
|
|
42644
|
+
Asc: "ASC",
|
|
42645
|
+
Desc: "DESC"
|
|
42646
|
+
};
|
|
42647
|
+
TopicsControllerListTopicsQueryParamOrderDirection$inboundSchema = nativeEnumType(TopicsControllerListTopicsQueryParamOrderDirection);
|
|
42648
|
+
TopicsControllerListTopicsQueryParamOrderDirection$outboundSchema = TopicsControllerListTopicsQueryParamOrderDirection$inboundSchema;
|
|
42649
|
+
((TopicsControllerListTopicsQueryParamOrderDirection$) => {
|
|
42650
|
+
TopicsControllerListTopicsQueryParamOrderDirection$.inboundSchema = TopicsControllerListTopicsQueryParamOrderDirection$inboundSchema;
|
|
42651
|
+
TopicsControllerListTopicsQueryParamOrderDirection$.outboundSchema = TopicsControllerListTopicsQueryParamOrderDirection$outboundSchema;
|
|
42652
|
+
})(TopicsControllerListTopicsQueryParamOrderDirection$ ||= {});
|
|
42653
|
+
TopicsControllerListTopicsRequest$inboundSchema = objectType({
|
|
42654
|
+
after: stringType().optional(),
|
|
42655
|
+
before: stringType().optional(),
|
|
42656
|
+
limit: numberType().optional(),
|
|
42657
|
+
orderDirection: TopicsControllerListTopicsQueryParamOrderDirection$inboundSchema.optional(),
|
|
42658
|
+
orderBy: stringType().optional(),
|
|
42659
|
+
includeCursor: booleanType().optional(),
|
|
42660
|
+
key: stringType().optional(),
|
|
42661
|
+
name: stringType().optional(),
|
|
42662
|
+
"idempotency-key": stringType().optional()
|
|
42663
|
+
}).transform((v2) => {
|
|
42664
|
+
return remap(v2, {
|
|
42665
|
+
"idempotency-key": "idempotencyKey"
|
|
42376
42666
|
});
|
|
42377
42667
|
});
|
|
42378
|
-
|
|
42379
|
-
|
|
42380
|
-
|
|
42668
|
+
TopicsControllerListTopicsRequest$outboundSchema = objectType({
|
|
42669
|
+
after: stringType().optional(),
|
|
42670
|
+
before: stringType().optional(),
|
|
42671
|
+
limit: numberType().optional(),
|
|
42672
|
+
orderDirection: TopicsControllerListTopicsQueryParamOrderDirection$outboundSchema.optional(),
|
|
42673
|
+
orderBy: stringType().optional(),
|
|
42674
|
+
includeCursor: booleanType().optional(),
|
|
42675
|
+
key: stringType().optional(),
|
|
42676
|
+
name: stringType().optional(),
|
|
42381
42677
|
idempotencyKey: stringType().optional()
|
|
42382
42678
|
}).transform((v2) => {
|
|
42383
42679
|
return remap(v2, {
|
|
42384
42680
|
idempotencyKey: "idempotency-key"
|
|
42385
42681
|
});
|
|
42386
42682
|
});
|
|
42387
|
-
((
|
|
42388
|
-
|
|
42389
|
-
|
|
42390
|
-
})(
|
|
42391
|
-
|
|
42683
|
+
((TopicsControllerListTopicsRequest$) => {
|
|
42684
|
+
TopicsControllerListTopicsRequest$.inboundSchema = TopicsControllerListTopicsRequest$inboundSchema;
|
|
42685
|
+
TopicsControllerListTopicsRequest$.outboundSchema = TopicsControllerListTopicsRequest$outboundSchema;
|
|
42686
|
+
})(TopicsControllerListTopicsRequest$ ||= {});
|
|
42687
|
+
TopicsControllerListTopicsResponse$inboundSchema = objectType({
|
|
42392
42688
|
Headers: recordType(arrayType(stringType())),
|
|
42393
|
-
Result:
|
|
42689
|
+
Result: ListTopicsResponseDto$inboundSchema
|
|
42394
42690
|
}).transform((v2) => {
|
|
42395
42691
|
return remap(v2, {
|
|
42396
42692
|
Headers: "headers",
|
|
42397
42693
|
Result: "result"
|
|
42398
42694
|
});
|
|
42399
42695
|
});
|
|
42400
|
-
|
|
42696
|
+
TopicsControllerListTopicsResponse$outboundSchema = objectType({
|
|
42401
42697
|
headers: recordType(arrayType(stringType())),
|
|
42402
|
-
result:
|
|
42698
|
+
result: ListTopicsResponseDto$outboundSchema
|
|
42403
42699
|
}).transform((v2) => {
|
|
42404
42700
|
return remap(v2, {
|
|
42405
42701
|
headers: "Headers",
|
|
42406
42702
|
result: "Result"
|
|
42407
42703
|
});
|
|
42408
42704
|
});
|
|
42409
|
-
((
|
|
42410
|
-
|
|
42411
|
-
|
|
42412
|
-
})(
|
|
42705
|
+
((TopicsControllerListTopicsResponse$) => {
|
|
42706
|
+
TopicsControllerListTopicsResponse$.inboundSchema = TopicsControllerListTopicsResponse$inboundSchema;
|
|
42707
|
+
TopicsControllerListTopicsResponse$.outboundSchema = TopicsControllerListTopicsResponse$outboundSchema;
|
|
42708
|
+
})(TopicsControllerListTopicsResponse$ ||= {});
|
|
42413
42709
|
});
|
|
42414
42710
|
|
|
42415
|
-
// src/models/operations/
|
|
42416
|
-
var
|
|
42417
|
-
var
|
|
42711
|
+
// src/models/operations/topicscontrollerlisttopicsubscriptions.ts
|
|
42712
|
+
var TopicsControllerListTopicSubscriptionsQueryParamOrderDirection, TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$inboundSchema, TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$outboundSchema, TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$, TopicsControllerListTopicSubscriptionsRequest$inboundSchema, TopicsControllerListTopicSubscriptionsRequest$outboundSchema, TopicsControllerListTopicSubscriptionsRequest$, TopicsControllerListTopicSubscriptionsResponse$inboundSchema, TopicsControllerListTopicSubscriptionsResponse$outboundSchema, TopicsControllerListTopicSubscriptionsResponse$;
|
|
42713
|
+
var init_topicscontrollerlisttopicsubscriptions = __esm(() => {
|
|
42418
42714
|
init_lib();
|
|
42419
42715
|
init_primitives();
|
|
42420
42716
|
init_components();
|
|
42421
|
-
|
|
42422
|
-
|
|
42423
|
-
|
|
42424
|
-
|
|
42717
|
+
TopicsControllerListTopicSubscriptionsQueryParamOrderDirection = {
|
|
42718
|
+
Asc: "ASC",
|
|
42719
|
+
Desc: "DESC"
|
|
42720
|
+
};
|
|
42721
|
+
TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$inboundSchema = nativeEnumType(TopicsControllerListTopicSubscriptionsQueryParamOrderDirection);
|
|
42722
|
+
TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$outboundSchema = TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$inboundSchema;
|
|
42723
|
+
((TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$) => {
|
|
42724
|
+
TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$.inboundSchema = TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$inboundSchema;
|
|
42725
|
+
TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$.outboundSchema = TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$outboundSchema;
|
|
42726
|
+
})(TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$ ||= {});
|
|
42727
|
+
TopicsControllerListTopicSubscriptionsRequest$inboundSchema = objectType({
|
|
42728
|
+
topicKey: stringType(),
|
|
42729
|
+
after: stringType().optional(),
|
|
42730
|
+
before: stringType().optional(),
|
|
42731
|
+
limit: numberType().optional(),
|
|
42732
|
+
orderDirection: TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$inboundSchema.optional(),
|
|
42733
|
+
orderBy: stringType().optional(),
|
|
42734
|
+
includeCursor: booleanType().optional(),
|
|
42735
|
+
subscriberId: stringType().optional(),
|
|
42425
42736
|
"idempotency-key": stringType().optional()
|
|
42426
42737
|
}).transform((v2) => {
|
|
42427
42738
|
return remap(v2, {
|
|
42428
42739
|
"idempotency-key": "idempotencyKey"
|
|
42429
42740
|
});
|
|
42430
42741
|
});
|
|
42431
|
-
|
|
42432
|
-
|
|
42433
|
-
|
|
42434
|
-
|
|
42742
|
+
TopicsControllerListTopicSubscriptionsRequest$outboundSchema = objectType({
|
|
42743
|
+
topicKey: stringType(),
|
|
42744
|
+
after: stringType().optional(),
|
|
42745
|
+
before: stringType().optional(),
|
|
42746
|
+
limit: numberType().optional(),
|
|
42747
|
+
orderDirection: TopicsControllerListTopicSubscriptionsQueryParamOrderDirection$outboundSchema.optional(),
|
|
42748
|
+
orderBy: stringType().optional(),
|
|
42749
|
+
includeCursor: booleanType().optional(),
|
|
42750
|
+
subscriberId: stringType().optional(),
|
|
42435
42751
|
idempotencyKey: stringType().optional()
|
|
42436
42752
|
}).transform((v2) => {
|
|
42437
42753
|
return remap(v2, {
|
|
42438
42754
|
idempotencyKey: "idempotency-key"
|
|
42439
42755
|
});
|
|
42440
42756
|
});
|
|
42441
|
-
((
|
|
42442
|
-
|
|
42443
|
-
|
|
42444
|
-
})(
|
|
42445
|
-
|
|
42757
|
+
((TopicsControllerListTopicSubscriptionsRequest$) => {
|
|
42758
|
+
TopicsControllerListTopicSubscriptionsRequest$.inboundSchema = TopicsControllerListTopicSubscriptionsRequest$inboundSchema;
|
|
42759
|
+
TopicsControllerListTopicSubscriptionsRequest$.outboundSchema = TopicsControllerListTopicSubscriptionsRequest$outboundSchema;
|
|
42760
|
+
})(TopicsControllerListTopicSubscriptionsRequest$ ||= {});
|
|
42761
|
+
TopicsControllerListTopicSubscriptionsResponse$inboundSchema = objectType({
|
|
42446
42762
|
Headers: recordType(arrayType(stringType())),
|
|
42447
|
-
Result:
|
|
42763
|
+
Result: ListTopicSubscriptionsResponseDto$inboundSchema
|
|
42448
42764
|
}).transform((v2) => {
|
|
42449
42765
|
return remap(v2, {
|
|
42450
42766
|
Headers: "headers",
|
|
42451
42767
|
Result: "result"
|
|
42452
42768
|
});
|
|
42453
42769
|
});
|
|
42454
|
-
|
|
42770
|
+
TopicsControllerListTopicSubscriptionsResponse$outboundSchema = objectType({
|
|
42455
42771
|
headers: recordType(arrayType(stringType())),
|
|
42456
|
-
result:
|
|
42772
|
+
result: ListTopicSubscriptionsResponseDto$outboundSchema
|
|
42457
42773
|
}).transform((v2) => {
|
|
42458
42774
|
return remap(v2, {
|
|
42459
42775
|
headers: "Headers",
|
|
42460
42776
|
result: "Result"
|
|
42461
42777
|
});
|
|
42462
42778
|
});
|
|
42463
|
-
((
|
|
42464
|
-
|
|
42465
|
-
|
|
42466
|
-
})(
|
|
42779
|
+
((TopicsControllerListTopicSubscriptionsResponse$) => {
|
|
42780
|
+
TopicsControllerListTopicSubscriptionsResponse$.inboundSchema = TopicsControllerListTopicSubscriptionsResponse$inboundSchema;
|
|
42781
|
+
TopicsControllerListTopicSubscriptionsResponse$.outboundSchema = TopicsControllerListTopicSubscriptionsResponse$outboundSchema;
|
|
42782
|
+
})(TopicsControllerListTopicSubscriptionsResponse$ ||= {});
|
|
42467
42783
|
});
|
|
42468
42784
|
|
|
42469
|
-
// src/models/operations/
|
|
42470
|
-
var
|
|
42471
|
-
var
|
|
42785
|
+
// src/models/operations/topicscontrollerupdatetopic.ts
|
|
42786
|
+
var TopicsControllerUpdateTopicRequest$inboundSchema, TopicsControllerUpdateTopicRequest$outboundSchema, TopicsControllerUpdateTopicRequest$, TopicsControllerUpdateTopicResponse$inboundSchema, TopicsControllerUpdateTopicResponse$outboundSchema, TopicsControllerUpdateTopicResponse$;
|
|
42787
|
+
var init_topicscontrollerupdatetopic = __esm(() => {
|
|
42472
42788
|
init_lib();
|
|
42473
42789
|
init_primitives();
|
|
42474
42790
|
init_components();
|
|
42475
|
-
|
|
42791
|
+
TopicsControllerUpdateTopicRequest$inboundSchema = objectType({
|
|
42476
42792
|
topicKey: stringType(),
|
|
42477
42793
|
"idempotency-key": stringType().optional(),
|
|
42478
|
-
|
|
42794
|
+
UpdateTopicRequestDto: UpdateTopicRequestDto$inboundSchema
|
|
42479
42795
|
}).transform((v2) => {
|
|
42480
42796
|
return remap(v2, {
|
|
42481
42797
|
"idempotency-key": "idempotencyKey",
|
|
42482
|
-
|
|
42798
|
+
UpdateTopicRequestDto: "updateTopicRequestDto"
|
|
42483
42799
|
});
|
|
42484
42800
|
});
|
|
42485
|
-
|
|
42801
|
+
TopicsControllerUpdateTopicRequest$outboundSchema = objectType({
|
|
42486
42802
|
topicKey: stringType(),
|
|
42487
42803
|
idempotencyKey: stringType().optional(),
|
|
42488
|
-
|
|
42804
|
+
updateTopicRequestDto: UpdateTopicRequestDto$outboundSchema
|
|
42489
42805
|
}).transform((v2) => {
|
|
42490
42806
|
return remap(v2, {
|
|
42491
42807
|
idempotencyKey: "idempotency-key",
|
|
42492
|
-
|
|
42808
|
+
updateTopicRequestDto: "UpdateTopicRequestDto"
|
|
42493
42809
|
});
|
|
42494
42810
|
});
|
|
42495
|
-
((
|
|
42496
|
-
|
|
42497
|
-
|
|
42498
|
-
})(
|
|
42499
|
-
|
|
42500
|
-
Headers: recordType(arrayType(stringType()))
|
|
42811
|
+
((TopicsControllerUpdateTopicRequest$) => {
|
|
42812
|
+
TopicsControllerUpdateTopicRequest$.inboundSchema = TopicsControllerUpdateTopicRequest$inboundSchema;
|
|
42813
|
+
TopicsControllerUpdateTopicRequest$.outboundSchema = TopicsControllerUpdateTopicRequest$outboundSchema;
|
|
42814
|
+
})(TopicsControllerUpdateTopicRequest$ ||= {});
|
|
42815
|
+
TopicsControllerUpdateTopicResponse$inboundSchema = objectType({
|
|
42816
|
+
Headers: recordType(arrayType(stringType())),
|
|
42817
|
+
Result: TopicResponseDto$inboundSchema
|
|
42501
42818
|
}).transform((v2) => {
|
|
42502
42819
|
return remap(v2, {
|
|
42503
|
-
Headers: "headers"
|
|
42820
|
+
Headers: "headers",
|
|
42821
|
+
Result: "result"
|
|
42504
42822
|
});
|
|
42505
42823
|
});
|
|
42506
|
-
|
|
42507
|
-
headers: recordType(arrayType(stringType()))
|
|
42824
|
+
TopicsControllerUpdateTopicResponse$outboundSchema = objectType({
|
|
42825
|
+
headers: recordType(arrayType(stringType())),
|
|
42826
|
+
result: TopicResponseDto$outboundSchema
|
|
42508
42827
|
}).transform((v2) => {
|
|
42509
42828
|
return remap(v2, {
|
|
42510
|
-
headers: "Headers"
|
|
42829
|
+
headers: "Headers",
|
|
42830
|
+
result: "Result"
|
|
42511
42831
|
});
|
|
42512
42832
|
});
|
|
42513
|
-
((
|
|
42514
|
-
|
|
42515
|
-
|
|
42516
|
-
})(
|
|
42833
|
+
((TopicsControllerUpdateTopicResponse$) => {
|
|
42834
|
+
TopicsControllerUpdateTopicResponse$.inboundSchema = TopicsControllerUpdateTopicResponse$inboundSchema;
|
|
42835
|
+
TopicsControllerUpdateTopicResponse$.outboundSchema = TopicsControllerUpdateTopicResponse$outboundSchema;
|
|
42836
|
+
})(TopicsControllerUpdateTopicResponse$ ||= {});
|
|
42517
42837
|
});
|
|
42518
42838
|
|
|
42519
|
-
// src/models/operations/
|
|
42520
|
-
var
|
|
42521
|
-
var
|
|
42839
|
+
// src/models/operations/topicscontrollerupserttopic.ts
|
|
42840
|
+
var TopicsControllerUpsertTopicRequest$inboundSchema, TopicsControllerUpsertTopicRequest$outboundSchema, TopicsControllerUpsertTopicRequest$, TopicsControllerUpsertTopicResponse$inboundSchema, TopicsControllerUpsertTopicResponse$outboundSchema, TopicsControllerUpsertTopicResponse$;
|
|
42841
|
+
var init_topicscontrollerupserttopic = __esm(() => {
|
|
42522
42842
|
init_lib();
|
|
42523
42843
|
init_primitives();
|
|
42524
42844
|
init_components();
|
|
42525
|
-
|
|
42526
|
-
topicKey: stringType(),
|
|
42845
|
+
TopicsControllerUpsertTopicRequest$inboundSchema = objectType({
|
|
42527
42846
|
"idempotency-key": stringType().optional(),
|
|
42528
|
-
|
|
42847
|
+
CreateUpdateTopicRequestDto: CreateUpdateTopicRequestDto$inboundSchema
|
|
42529
42848
|
}).transform((v2) => {
|
|
42530
42849
|
return remap(v2, {
|
|
42531
42850
|
"idempotency-key": "idempotencyKey",
|
|
42532
|
-
|
|
42851
|
+
CreateUpdateTopicRequestDto: "createUpdateTopicRequestDto"
|
|
42533
42852
|
});
|
|
42534
42853
|
});
|
|
42535
|
-
|
|
42536
|
-
topicKey: stringType(),
|
|
42854
|
+
TopicsControllerUpsertTopicRequest$outboundSchema = objectType({
|
|
42537
42855
|
idempotencyKey: stringType().optional(),
|
|
42538
|
-
|
|
42856
|
+
createUpdateTopicRequestDto: CreateUpdateTopicRequestDto$outboundSchema
|
|
42539
42857
|
}).transform((v2) => {
|
|
42540
42858
|
return remap(v2, {
|
|
42541
42859
|
idempotencyKey: "idempotency-key",
|
|
42542
|
-
|
|
42860
|
+
createUpdateTopicRequestDto: "CreateUpdateTopicRequestDto"
|
|
42861
|
+
});
|
|
42862
|
+
});
|
|
42863
|
+
((TopicsControllerUpsertTopicRequest$) => {
|
|
42864
|
+
TopicsControllerUpsertTopicRequest$.inboundSchema = TopicsControllerUpsertTopicRequest$inboundSchema;
|
|
42865
|
+
TopicsControllerUpsertTopicRequest$.outboundSchema = TopicsControllerUpsertTopicRequest$outboundSchema;
|
|
42866
|
+
})(TopicsControllerUpsertTopicRequest$ ||= {});
|
|
42867
|
+
TopicsControllerUpsertTopicResponse$inboundSchema = objectType({
|
|
42868
|
+
Headers: recordType(arrayType(stringType())),
|
|
42869
|
+
Result: TopicResponseDto$inboundSchema
|
|
42870
|
+
}).transform((v2) => {
|
|
42871
|
+
return remap(v2, {
|
|
42872
|
+
Headers: "headers",
|
|
42873
|
+
Result: "result"
|
|
42874
|
+
});
|
|
42875
|
+
});
|
|
42876
|
+
TopicsControllerUpsertTopicResponse$outboundSchema = objectType({
|
|
42877
|
+
headers: recordType(arrayType(stringType())),
|
|
42878
|
+
result: TopicResponseDto$outboundSchema
|
|
42879
|
+
}).transform((v2) => {
|
|
42880
|
+
return remap(v2, {
|
|
42881
|
+
headers: "Headers",
|
|
42882
|
+
result: "Result"
|
|
42543
42883
|
});
|
|
42544
42884
|
});
|
|
42545
|
-
((
|
|
42546
|
-
|
|
42547
|
-
|
|
42548
|
-
})(
|
|
42549
|
-
|
|
42885
|
+
((TopicsControllerUpsertTopicResponse$) => {
|
|
42886
|
+
TopicsControllerUpsertTopicResponse$.inboundSchema = TopicsControllerUpsertTopicResponse$inboundSchema;
|
|
42887
|
+
TopicsControllerUpsertTopicResponse$.outboundSchema = TopicsControllerUpsertTopicResponse$outboundSchema;
|
|
42888
|
+
})(TopicsControllerUpsertTopicResponse$ ||= {});
|
|
42889
|
+
});
|
|
42890
|
+
|
|
42891
|
+
// src/models/operations/topicsv1controllergettopicsubscriber.ts
|
|
42892
|
+
var TopicsV1ControllerGetTopicSubscriberRequest$inboundSchema, TopicsV1ControllerGetTopicSubscriberRequest$outboundSchema, TopicsV1ControllerGetTopicSubscriberRequest$, TopicsV1ControllerGetTopicSubscriberResponse$inboundSchema, TopicsV1ControllerGetTopicSubscriberResponse$outboundSchema, TopicsV1ControllerGetTopicSubscriberResponse$;
|
|
42893
|
+
var init_topicsv1controllergettopicsubscriber = __esm(() => {
|
|
42894
|
+
init_lib();
|
|
42895
|
+
init_primitives();
|
|
42896
|
+
init_components();
|
|
42897
|
+
TopicsV1ControllerGetTopicSubscriberRequest$inboundSchema = objectType({
|
|
42898
|
+
externalSubscriberId: stringType(),
|
|
42899
|
+
topicKey: stringType(),
|
|
42900
|
+
"idempotency-key": stringType().optional()
|
|
42901
|
+
}).transform((v2) => {
|
|
42902
|
+
return remap(v2, {
|
|
42903
|
+
"idempotency-key": "idempotencyKey"
|
|
42904
|
+
});
|
|
42905
|
+
});
|
|
42906
|
+
TopicsV1ControllerGetTopicSubscriberRequest$outboundSchema = objectType({
|
|
42907
|
+
externalSubscriberId: stringType(),
|
|
42908
|
+
topicKey: stringType(),
|
|
42909
|
+
idempotencyKey: stringType().optional()
|
|
42910
|
+
}).transform((v2) => {
|
|
42911
|
+
return remap(v2, {
|
|
42912
|
+
idempotencyKey: "idempotency-key"
|
|
42913
|
+
});
|
|
42914
|
+
});
|
|
42915
|
+
((TopicsV1ControllerGetTopicSubscriberRequest$) => {
|
|
42916
|
+
TopicsV1ControllerGetTopicSubscriberRequest$.inboundSchema = TopicsV1ControllerGetTopicSubscriberRequest$inboundSchema;
|
|
42917
|
+
TopicsV1ControllerGetTopicSubscriberRequest$.outboundSchema = TopicsV1ControllerGetTopicSubscriberRequest$outboundSchema;
|
|
42918
|
+
})(TopicsV1ControllerGetTopicSubscriberRequest$ ||= {});
|
|
42919
|
+
TopicsV1ControllerGetTopicSubscriberResponse$inboundSchema = objectType({
|
|
42550
42920
|
Headers: recordType(arrayType(stringType())),
|
|
42551
|
-
Result:
|
|
42921
|
+
Result: TopicSubscriberDto$inboundSchema
|
|
42552
42922
|
}).transform((v2) => {
|
|
42553
42923
|
return remap(v2, {
|
|
42554
42924
|
Headers: "headers",
|
|
42555
42925
|
Result: "result"
|
|
42556
42926
|
});
|
|
42557
42927
|
});
|
|
42558
|
-
|
|
42928
|
+
TopicsV1ControllerGetTopicSubscriberResponse$outboundSchema = objectType({
|
|
42559
42929
|
headers: recordType(arrayType(stringType())),
|
|
42560
|
-
result:
|
|
42930
|
+
result: TopicSubscriberDto$outboundSchema
|
|
42561
42931
|
}).transform((v2) => {
|
|
42562
42932
|
return remap(v2, {
|
|
42563
42933
|
headers: "Headers",
|
|
42564
42934
|
result: "Result"
|
|
42565
42935
|
});
|
|
42566
42936
|
});
|
|
42567
|
-
((
|
|
42568
|
-
|
|
42569
|
-
|
|
42570
|
-
})(
|
|
42937
|
+
((TopicsV1ControllerGetTopicSubscriberResponse$) => {
|
|
42938
|
+
TopicsV1ControllerGetTopicSubscriberResponse$.inboundSchema = TopicsV1ControllerGetTopicSubscriberResponse$inboundSchema;
|
|
42939
|
+
TopicsV1ControllerGetTopicSubscriberResponse$.outboundSchema = TopicsV1ControllerGetTopicSubscriberResponse$outboundSchema;
|
|
42940
|
+
})(TopicsV1ControllerGetTopicSubscriberResponse$ ||= {});
|
|
42571
42941
|
});
|
|
42572
42942
|
|
|
42573
42943
|
// src/models/operations/index.ts
|
|
@@ -42593,6 +42963,7 @@ var init_operations = __esm(() => {
|
|
|
42593
42963
|
init_subscriberscontrollercreatesubscriber();
|
|
42594
42964
|
init_subscriberscontrollergetsubscriber();
|
|
42595
42965
|
init_subscriberscontrollergetsubscriberpreferences();
|
|
42966
|
+
init_subscriberscontrollerlistsubscribertopics();
|
|
42596
42967
|
init_subscriberscontrollerpatchsubscriber();
|
|
42597
42968
|
init_subscriberscontrollerremovesubscriber();
|
|
42598
42969
|
init_subscriberscontrollersearchsubscribers();
|
|
@@ -42611,14 +42982,15 @@ var init_operations = __esm(() => {
|
|
|
42611
42982
|
init_subscribersv1controllerupdatesubscriber();
|
|
42612
42983
|
init_subscribersv1controllerupdatesubscriberchannel();
|
|
42613
42984
|
init_subscribersv1controllerupdatesubscriberonlineflag();
|
|
42614
|
-
|
|
42615
|
-
init_topicscontrollercreatetopic();
|
|
42985
|
+
init_topicscontrollercreatetopicsubscriptions();
|
|
42616
42986
|
init_topicscontrollerdeletetopic();
|
|
42987
|
+
init_topicscontrollerdeletetopicsubscriptions();
|
|
42617
42988
|
init_topicscontrollergettopic();
|
|
42618
|
-
init_topicscontrollergettopicsubscriber();
|
|
42619
42989
|
init_topicscontrollerlisttopics();
|
|
42620
|
-
|
|
42621
|
-
|
|
42990
|
+
init_topicscontrollerlisttopicsubscriptions();
|
|
42991
|
+
init_topicscontrollerupdatetopic();
|
|
42992
|
+
init_topicscontrollerupserttopic();
|
|
42993
|
+
init_topicsv1controllergettopicsubscriber();
|
|
42622
42994
|
});
|
|
42623
42995
|
|
|
42624
42996
|
// src/types/async.ts
|
|
@@ -44164,6 +44536,7 @@ async function $do12(client, request, options) {
|
|
|
44164
44536
|
search: payload.search,
|
|
44165
44537
|
subscriberIds: payload.subscriberIds,
|
|
44166
44538
|
templates: payload.templates,
|
|
44539
|
+
topicKey: payload.topicKey,
|
|
44167
44540
|
transactionId: payload.transactionId
|
|
44168
44541
|
});
|
|
44169
44542
|
const headers = new Headers(compactMap({
|
|
@@ -45073,7 +45446,7 @@ var init_subscribersCreate2 = __esm(() => {
|
|
|
45073
45446
|
name: "subscribers-create",
|
|
45074
45447
|
description: `Create subscriber
|
|
45075
45448
|
|
|
45076
|
-
Create subscriber with the given data`,
|
|
45449
|
+
Create subscriber with the given data, if the subscriber already exists, it will be updated`,
|
|
45077
45450
|
args: args18,
|
|
45078
45451
|
tool: async (client, args19, ctx) => {
|
|
45079
45452
|
const [result, apiCall] = await subscribersCreate(client, args19.createSubscriberRequestDto, args19.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -46125,7 +46498,7 @@ var init_subscribersMessagesMarkAll2 = __esm(() => {
|
|
|
46125
46498
|
};
|
|
46126
46499
|
tool$subscribersMessagesMarkAll = {
|
|
46127
46500
|
name: "subscribers-messages-mark-all",
|
|
46128
|
-
description: `Marks all the subscriber messages as read, unread, seen or unseen
|
|
46501
|
+
description: `Marks all the subscriber messages as read, unread, seen or unseen.`,
|
|
46129
46502
|
args: args25,
|
|
46130
46503
|
tool: async (client, args26, ctx) => {
|
|
46131
46504
|
const [result, apiCall] = await subscribersMessagesMarkAll(client, args26.markAllMessageAsRequestDto, args26.subscriberId, args26.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -47534,33 +47907,34 @@ var init_subscribersSearch2 = __esm(() => {
|
|
|
47534
47907
|
};
|
|
47535
47908
|
});
|
|
47536
47909
|
|
|
47537
|
-
// src/funcs/
|
|
47538
|
-
function
|
|
47539
|
-
return new APIPromise($do36(client,
|
|
47910
|
+
// src/funcs/subscribersTopicsList.ts
|
|
47911
|
+
function subscribersTopicsList(client, request, options) {
|
|
47912
|
+
return new APIPromise($do36(client, request, options));
|
|
47540
47913
|
}
|
|
47541
|
-
async function $do36(client,
|
|
47542
|
-
const
|
|
47543
|
-
updateSubscriberRequestDto,
|
|
47544
|
-
subscriberId,
|
|
47545
|
-
idempotencyKey
|
|
47546
|
-
};
|
|
47547
|
-
const parsed = safeParse(input, (value) => SubscribersV1ControllerUpdateSubscriberRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47914
|
+
async function $do36(client, request, options) {
|
|
47915
|
+
const parsed = safeParse(request, (value) => SubscribersControllerListSubscriberTopicsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47548
47916
|
if (!parsed.ok) {
|
|
47549
47917
|
return [parsed, { status: "invalid" }];
|
|
47550
47918
|
}
|
|
47551
47919
|
const payload = parsed.value;
|
|
47552
|
-
const body =
|
|
47553
|
-
explode: true
|
|
47554
|
-
});
|
|
47920
|
+
const body = null;
|
|
47555
47921
|
const pathParams = {
|
|
47556
47922
|
subscriberId: encodeSimple("subscriberId", payload.subscriberId, {
|
|
47557
47923
|
explode: false,
|
|
47558
47924
|
charEncoding: "percent"
|
|
47559
47925
|
})
|
|
47560
47926
|
};
|
|
47561
|
-
const path = pathToFunc("/
|
|
47927
|
+
const path = pathToFunc("/v2/subscribers/{subscriberId}/subscriptions")(pathParams);
|
|
47928
|
+
const query = encodeFormQuery({
|
|
47929
|
+
after: payload.after,
|
|
47930
|
+
before: payload.before,
|
|
47931
|
+
includeCursor: payload.includeCursor,
|
|
47932
|
+
key: payload.key,
|
|
47933
|
+
limit: payload.limit,
|
|
47934
|
+
orderBy: payload.orderBy,
|
|
47935
|
+
orderDirection: payload.orderDirection
|
|
47936
|
+
});
|
|
47562
47937
|
const headers = new Headers(compactMap({
|
|
47563
|
-
"Content-Type": "application/json",
|
|
47564
47938
|
Accept: "application/json",
|
|
47565
47939
|
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
47566
47940
|
}));
|
|
@@ -47569,7 +47943,7 @@ async function $do36(client, updateSubscriberRequestDto, subscriberId, idempoten
|
|
|
47569
47943
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47570
47944
|
const context = {
|
|
47571
47945
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47572
|
-
operationID: "
|
|
47946
|
+
operationID: "SubscribersController_listSubscriberTopics",
|
|
47573
47947
|
oAuth2Scopes: [],
|
|
47574
47948
|
resolvedSecurity: requestSecurity,
|
|
47575
47949
|
securitySource: client._options.secretKey,
|
|
@@ -47587,10 +47961,11 @@ async function $do36(client, updateSubscriberRequestDto, subscriberId, idempoten
|
|
|
47587
47961
|
};
|
|
47588
47962
|
const requestRes = client._createRequest(context, {
|
|
47589
47963
|
security: requestSecurity,
|
|
47590
|
-
method: "
|
|
47964
|
+
method: "GET",
|
|
47591
47965
|
baseURL: options?.serverURL,
|
|
47592
47966
|
path,
|
|
47593
47967
|
headers,
|
|
47968
|
+
query,
|
|
47594
47969
|
body,
|
|
47595
47970
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
47596
47971
|
}, options);
|
|
@@ -47627,13 +48002,13 @@ async function $do36(client, updateSubscriberRequestDto, subscriberId, idempoten
|
|
|
47627
48002
|
const responseFields = {
|
|
47628
48003
|
HttpMeta: { Response: response, Request: req }
|
|
47629
48004
|
};
|
|
47630
|
-
const [result] = await match(json(200,
|
|
48005
|
+
const [result] = await match(json(200, SubscribersControllerListSubscriberTopicsResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
47631
48006
|
if (!result.ok) {
|
|
47632
48007
|
return [result, { status: "complete", request: req, response }];
|
|
47633
48008
|
}
|
|
47634
48009
|
return [result, { status: "complete", request: req, response }];
|
|
47635
48010
|
}
|
|
47636
|
-
var
|
|
48011
|
+
var init_subscribersTopicsList = __esm(() => {
|
|
47637
48012
|
init_encodings();
|
|
47638
48013
|
init_matchers();
|
|
47639
48014
|
init_primitives();
|
|
@@ -47645,26 +48020,23 @@ var init_subscribersUpsert = __esm(() => {
|
|
|
47645
48020
|
init_async();
|
|
47646
48021
|
});
|
|
47647
48022
|
|
|
47648
|
-
// src/mcp-server/tools/
|
|
47649
|
-
var args36, tool$
|
|
47650
|
-
var
|
|
47651
|
-
|
|
47652
|
-
|
|
47653
|
-
init_components();
|
|
48023
|
+
// src/mcp-server/tools/subscribersTopicsList.ts
|
|
48024
|
+
var args36, tool$subscribersTopicsList;
|
|
48025
|
+
var init_subscribersTopicsList2 = __esm(() => {
|
|
48026
|
+
init_subscribersTopicsList();
|
|
48027
|
+
init_operations();
|
|
47654
48028
|
init_tools();
|
|
47655
48029
|
args36 = {
|
|
47656
|
-
|
|
47657
|
-
subscriberId: stringType(),
|
|
47658
|
-
idempotencyKey: stringType().optional()
|
|
48030
|
+
request: SubscribersControllerListSubscriberTopicsRequest$inboundSchema
|
|
47659
48031
|
};
|
|
47660
|
-
tool$
|
|
47661
|
-
name: "subscribers-
|
|
47662
|
-
description: `
|
|
48032
|
+
tool$subscribersTopicsList = {
|
|
48033
|
+
name: "subscribers-topics-list",
|
|
48034
|
+
description: `List topics a subscriber is subscribed to
|
|
47663
48035
|
|
|
47664
|
-
|
|
48036
|
+
List topic subscriptions for a subscriber with pagination and filtering`,
|
|
47665
48037
|
args: args36,
|
|
47666
48038
|
tool: async (client, args37, ctx) => {
|
|
47667
|
-
const [result, apiCall] = await
|
|
48039
|
+
const [result, apiCall] = await subscribersTopicsList(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47668
48040
|
if (!result.ok) {
|
|
47669
48041
|
return {
|
|
47670
48042
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47677,24 +48049,31 @@ Used to upsert the subscriber entity with new information`,
|
|
|
47677
48049
|
};
|
|
47678
48050
|
});
|
|
47679
48051
|
|
|
47680
|
-
// src/funcs/
|
|
47681
|
-
function
|
|
47682
|
-
return new APIPromise($do37(client,
|
|
48052
|
+
// src/funcs/subscribersUpsert.ts
|
|
48053
|
+
function subscribersUpsert(client, updateSubscriberRequestDto, subscriberId, idempotencyKey, options) {
|
|
48054
|
+
return new APIPromise($do37(client, updateSubscriberRequestDto, subscriberId, idempotencyKey, options));
|
|
47683
48055
|
}
|
|
47684
|
-
async function $do37(client,
|
|
48056
|
+
async function $do37(client, updateSubscriberRequestDto, subscriberId, idempotencyKey, options) {
|
|
47685
48057
|
const input = {
|
|
47686
|
-
|
|
48058
|
+
updateSubscriberRequestDto,
|
|
48059
|
+
subscriberId,
|
|
47687
48060
|
idempotencyKey
|
|
47688
48061
|
};
|
|
47689
|
-
const parsed = safeParse(input, (value) =>
|
|
48062
|
+
const parsed = safeParse(input, (value) => SubscribersV1ControllerUpdateSubscriberRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47690
48063
|
if (!parsed.ok) {
|
|
47691
48064
|
return [parsed, { status: "invalid" }];
|
|
47692
48065
|
}
|
|
47693
48066
|
const payload = parsed.value;
|
|
47694
|
-
const body = encodeJSON("body", payload.
|
|
48067
|
+
const body = encodeJSON("body", payload.UpdateSubscriberRequestDto, {
|
|
47695
48068
|
explode: true
|
|
47696
48069
|
});
|
|
47697
|
-
const
|
|
48070
|
+
const pathParams = {
|
|
48071
|
+
subscriberId: encodeSimple("subscriberId", payload.subscriberId, {
|
|
48072
|
+
explode: false,
|
|
48073
|
+
charEncoding: "percent"
|
|
48074
|
+
})
|
|
48075
|
+
};
|
|
48076
|
+
const path = pathToFunc("/v1/subscribers/{subscriberId}")(pathParams);
|
|
47698
48077
|
const headers = new Headers(compactMap({
|
|
47699
48078
|
"Content-Type": "application/json",
|
|
47700
48079
|
Accept: "application/json",
|
|
@@ -47705,7 +48084,7 @@ async function $do37(client, createTopicRequestDto, idempotencyKey, options) {
|
|
|
47705
48084
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47706
48085
|
const context = {
|
|
47707
48086
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47708
|
-
operationID: "
|
|
48087
|
+
operationID: "SubscribersV1Controller_updateSubscriber",
|
|
47709
48088
|
oAuth2Scopes: [],
|
|
47710
48089
|
resolvedSecurity: requestSecurity,
|
|
47711
48090
|
securitySource: client._options.secretKey,
|
|
@@ -47723,7 +48102,7 @@ async function $do37(client, createTopicRequestDto, idempotencyKey, options) {
|
|
|
47723
48102
|
};
|
|
47724
48103
|
const requestRes = client._createRequest(context, {
|
|
47725
48104
|
security: requestSecurity,
|
|
47726
|
-
method: "
|
|
48105
|
+
method: "PUT",
|
|
47727
48106
|
baseURL: options?.serverURL,
|
|
47728
48107
|
path,
|
|
47729
48108
|
headers,
|
|
@@ -47763,16 +48142,13 @@ async function $do37(client, createTopicRequestDto, idempotencyKey, options) {
|
|
|
47763
48142
|
const responseFields = {
|
|
47764
48143
|
HttpMeta: { Response: response, Request: req }
|
|
47765
48144
|
};
|
|
47766
|
-
const [result] = await match(json(
|
|
47767
|
-
hdrs: true,
|
|
47768
|
-
key: "Result"
|
|
47769
|
-
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48145
|
+
const [result] = await match(json(200, SubscribersV1ControllerUpdateSubscriberResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
47770
48146
|
if (!result.ok) {
|
|
47771
48147
|
return [result, { status: "complete", request: req, response }];
|
|
47772
48148
|
}
|
|
47773
48149
|
return [result, { status: "complete", request: req, response }];
|
|
47774
48150
|
}
|
|
47775
|
-
var
|
|
48151
|
+
var init_subscribersUpsert = __esm(() => {
|
|
47776
48152
|
init_encodings();
|
|
47777
48153
|
init_matchers();
|
|
47778
48154
|
init_primitives();
|
|
@@ -47784,25 +48160,26 @@ var init_topicsCreate = __esm(() => {
|
|
|
47784
48160
|
init_async();
|
|
47785
48161
|
});
|
|
47786
48162
|
|
|
47787
|
-
// src/mcp-server/tools/
|
|
47788
|
-
var args37, tool$
|
|
47789
|
-
var
|
|
48163
|
+
// src/mcp-server/tools/subscribersUpsert.ts
|
|
48164
|
+
var args37, tool$subscribersUpsert;
|
|
48165
|
+
var init_subscribersUpsert2 = __esm(() => {
|
|
47790
48166
|
init_lib();
|
|
47791
|
-
|
|
48167
|
+
init_subscribersUpsert();
|
|
47792
48168
|
init_components();
|
|
47793
48169
|
init_tools();
|
|
47794
48170
|
args37 = {
|
|
47795
|
-
|
|
48171
|
+
updateSubscriberRequestDto: UpdateSubscriberRequestDto$inboundSchema,
|
|
48172
|
+
subscriberId: stringType(),
|
|
47796
48173
|
idempotencyKey: stringType().optional()
|
|
47797
48174
|
};
|
|
47798
|
-
tool$
|
|
47799
|
-
name: "
|
|
47800
|
-
description: `
|
|
48175
|
+
tool$subscribersUpsert = {
|
|
48176
|
+
name: "subscribers-upsert",
|
|
48177
|
+
description: `Upsert subscriber
|
|
47801
48178
|
|
|
47802
|
-
|
|
48179
|
+
Used to upsert the subscriber entity with new information`,
|
|
47803
48180
|
args: args37,
|
|
47804
48181
|
tool: async (client, args38, ctx) => {
|
|
47805
|
-
const [result, apiCall] = await
|
|
48182
|
+
const [result, apiCall] = await subscribersUpsert(client, args38.updateSubscriberRequestDto, args38.subscriberId, args38.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47806
48183
|
if (!result.ok) {
|
|
47807
48184
|
return {
|
|
47808
48185
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47815,29 +48192,26 @@ Create a topic`,
|
|
|
47815
48192
|
};
|
|
47816
48193
|
});
|
|
47817
48194
|
|
|
47818
|
-
// src/funcs/
|
|
47819
|
-
function
|
|
47820
|
-
return new APIPromise($do38(client,
|
|
48195
|
+
// src/funcs/topicsCreate.ts
|
|
48196
|
+
function topicsCreate(client, createUpdateTopicRequestDto, idempotencyKey, options) {
|
|
48197
|
+
return new APIPromise($do38(client, createUpdateTopicRequestDto, idempotencyKey, options));
|
|
47821
48198
|
}
|
|
47822
|
-
async function $do38(client,
|
|
48199
|
+
async function $do38(client, createUpdateTopicRequestDto, idempotencyKey, options) {
|
|
47823
48200
|
const input = {
|
|
47824
|
-
|
|
48201
|
+
createUpdateTopicRequestDto,
|
|
47825
48202
|
idempotencyKey
|
|
47826
48203
|
};
|
|
47827
|
-
const parsed = safeParse(input, (value) =>
|
|
48204
|
+
const parsed = safeParse(input, (value) => TopicsControllerUpsertTopicRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47828
48205
|
if (!parsed.ok) {
|
|
47829
48206
|
return [parsed, { status: "invalid" }];
|
|
47830
48207
|
}
|
|
47831
48208
|
const payload = parsed.value;
|
|
47832
|
-
const body =
|
|
47833
|
-
|
|
47834
|
-
|
|
47835
|
-
|
|
47836
|
-
charEncoding: "percent"
|
|
47837
|
-
})
|
|
47838
|
-
};
|
|
47839
|
-
const path = pathToFunc("/v1/topics/{topicKey}")(pathParams);
|
|
48209
|
+
const body = encodeJSON("body", payload.CreateUpdateTopicRequestDto, {
|
|
48210
|
+
explode: true
|
|
48211
|
+
});
|
|
48212
|
+
const path = pathToFunc("/v2/topics")();
|
|
47840
48213
|
const headers = new Headers(compactMap({
|
|
48214
|
+
"Content-Type": "application/json",
|
|
47841
48215
|
Accept: "application/json",
|
|
47842
48216
|
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
47843
48217
|
}));
|
|
@@ -47846,7 +48220,7 @@ async function $do38(client, topicKey, idempotencyKey, options) {
|
|
|
47846
48220
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47847
48221
|
const context = {
|
|
47848
48222
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47849
|
-
operationID: "
|
|
48223
|
+
operationID: "TopicsController_upsertTopic",
|
|
47850
48224
|
oAuth2Scopes: [],
|
|
47851
48225
|
resolvedSecurity: requestSecurity,
|
|
47852
48226
|
securitySource: client._options.secretKey,
|
|
@@ -47864,7 +48238,7 @@ async function $do38(client, topicKey, idempotencyKey, options) {
|
|
|
47864
48238
|
};
|
|
47865
48239
|
const requestRes = client._createRequest(context, {
|
|
47866
48240
|
security: requestSecurity,
|
|
47867
|
-
method: "
|
|
48241
|
+
method: "POST",
|
|
47868
48242
|
baseURL: options?.serverURL,
|
|
47869
48243
|
path,
|
|
47870
48244
|
headers,
|
|
@@ -47904,13 +48278,13 @@ async function $do38(client, topicKey, idempotencyKey, options) {
|
|
|
47904
48278
|
const responseFields = {
|
|
47905
48279
|
HttpMeta: { Response: response, Request: req }
|
|
47906
48280
|
};
|
|
47907
|
-
const [result] = await match(
|
|
48281
|
+
const [result] = await match(json([200, 201], TopicsControllerUpsertTopicResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
47908
48282
|
if (!result.ok) {
|
|
47909
48283
|
return [result, { status: "complete", request: req, response }];
|
|
47910
48284
|
}
|
|
47911
48285
|
return [result, { status: "complete", request: req, response }];
|
|
47912
48286
|
}
|
|
47913
|
-
var
|
|
48287
|
+
var init_topicsCreate = __esm(() => {
|
|
47914
48288
|
init_encodings();
|
|
47915
48289
|
init_matchers();
|
|
47916
48290
|
init_primitives();
|
|
@@ -47922,52 +48296,59 @@ var init_topicsDelete = __esm(() => {
|
|
|
47922
48296
|
init_async();
|
|
47923
48297
|
});
|
|
47924
48298
|
|
|
47925
|
-
// src/mcp-server/tools/
|
|
47926
|
-
var args38, tool$
|
|
47927
|
-
var
|
|
48299
|
+
// src/mcp-server/tools/topicsCreate.ts
|
|
48300
|
+
var args38, tool$topicsCreate;
|
|
48301
|
+
var init_topicsCreate2 = __esm(() => {
|
|
47928
48302
|
init_lib();
|
|
47929
|
-
|
|
48303
|
+
init_topicsCreate();
|
|
48304
|
+
init_components();
|
|
47930
48305
|
init_tools();
|
|
47931
48306
|
args38 = {
|
|
47932
|
-
|
|
48307
|
+
createUpdateTopicRequestDto: CreateUpdateTopicRequestDto$inboundSchema,
|
|
47933
48308
|
idempotencyKey: stringType().optional()
|
|
47934
48309
|
};
|
|
47935
|
-
tool$
|
|
47936
|
-
name: "topics-
|
|
47937
|
-
description: `
|
|
48310
|
+
tool$topicsCreate = {
|
|
48311
|
+
name: "topics-create",
|
|
48312
|
+
description: `Create or update a topic
|
|
47938
48313
|
|
|
47939
|
-
|
|
48314
|
+
Creates a new topic if it does not exist, or updates an existing topic if it already exists`,
|
|
47940
48315
|
args: args38,
|
|
47941
48316
|
tool: async (client, args39, ctx) => {
|
|
47942
|
-
const [result, apiCall] = await
|
|
48317
|
+
const [result, apiCall] = await topicsCreate(client, args39.createUpdateTopicRequestDto, args39.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47943
48318
|
if (!result.ok) {
|
|
47944
48319
|
return {
|
|
47945
48320
|
content: [{ type: "text", text: result.error.message }],
|
|
47946
48321
|
isError: true
|
|
47947
48322
|
};
|
|
47948
48323
|
}
|
|
47949
|
-
|
|
48324
|
+
const value = result.value.result;
|
|
48325
|
+
return formatResult(value, apiCall);
|
|
47950
48326
|
}
|
|
47951
48327
|
};
|
|
47952
48328
|
});
|
|
47953
48329
|
|
|
47954
|
-
// src/funcs/
|
|
47955
|
-
function
|
|
47956
|
-
return new APIPromise($do39(client,
|
|
48330
|
+
// src/funcs/topicsDelete.ts
|
|
48331
|
+
function topicsDelete(client, topicKey, idempotencyKey, options) {
|
|
48332
|
+
return new APIPromise($do39(client, topicKey, idempotencyKey, options));
|
|
47957
48333
|
}
|
|
47958
|
-
async function $do39(client,
|
|
47959
|
-
const
|
|
48334
|
+
async function $do39(client, topicKey, idempotencyKey, options) {
|
|
48335
|
+
const input = {
|
|
48336
|
+
topicKey,
|
|
48337
|
+
idempotencyKey
|
|
48338
|
+
};
|
|
48339
|
+
const parsed = safeParse(input, (value) => TopicsControllerDeleteTopicRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47960
48340
|
if (!parsed.ok) {
|
|
47961
48341
|
return [parsed, { status: "invalid" }];
|
|
47962
48342
|
}
|
|
47963
48343
|
const payload = parsed.value;
|
|
47964
48344
|
const body = null;
|
|
47965
|
-
const
|
|
47966
|
-
|
|
47967
|
-
|
|
47968
|
-
|
|
47969
|
-
|
|
47970
|
-
}
|
|
48345
|
+
const pathParams = {
|
|
48346
|
+
topicKey: encodeSimple("topicKey", payload.topicKey, {
|
|
48347
|
+
explode: false,
|
|
48348
|
+
charEncoding: "percent"
|
|
48349
|
+
})
|
|
48350
|
+
};
|
|
48351
|
+
const path = pathToFunc("/v2/topics/{topicKey}")(pathParams);
|
|
47971
48352
|
const headers = new Headers(compactMap({
|
|
47972
48353
|
Accept: "application/json",
|
|
47973
48354
|
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
@@ -47977,7 +48358,7 @@ async function $do39(client, request, options) {
|
|
|
47977
48358
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47978
48359
|
const context = {
|
|
47979
48360
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47980
|
-
operationID: "
|
|
48361
|
+
operationID: "TopicsController_deleteTopic",
|
|
47981
48362
|
oAuth2Scopes: [],
|
|
47982
48363
|
resolvedSecurity: requestSecurity,
|
|
47983
48364
|
securitySource: client._options.secretKey,
|
|
@@ -47995,11 +48376,10 @@ async function $do39(client, request, options) {
|
|
|
47995
48376
|
};
|
|
47996
48377
|
const requestRes = client._createRequest(context, {
|
|
47997
48378
|
security: requestSecurity,
|
|
47998
|
-
method: "
|
|
48379
|
+
method: "DELETE",
|
|
47999
48380
|
baseURL: options?.serverURL,
|
|
48000
48381
|
path,
|
|
48001
48382
|
headers,
|
|
48002
|
-
query,
|
|
48003
48383
|
body,
|
|
48004
48384
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48005
48385
|
}, options);
|
|
@@ -48036,7 +48416,7 @@ async function $do39(client, request, options) {
|
|
|
48036
48416
|
const responseFields = {
|
|
48037
48417
|
HttpMeta: { Response: response, Request: req }
|
|
48038
48418
|
};
|
|
48039
|
-
const [result] = await match(json(200,
|
|
48419
|
+
const [result] = await match(json(200, TopicsControllerDeleteTopicResponse$inboundSchema, {
|
|
48040
48420
|
hdrs: true,
|
|
48041
48421
|
key: "Result"
|
|
48042
48422
|
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
@@ -48045,7 +48425,7 @@ async function $do39(client, request, options) {
|
|
|
48045
48425
|
}
|
|
48046
48426
|
return [result, { status: "complete", request: req, response }];
|
|
48047
48427
|
}
|
|
48048
|
-
var
|
|
48428
|
+
var init_topicsDelete = __esm(() => {
|
|
48049
48429
|
init_encodings();
|
|
48050
48430
|
init_matchers();
|
|
48051
48431
|
init_primitives();
|
|
@@ -48057,23 +48437,22 @@ var init_topicsList = __esm(() => {
|
|
|
48057
48437
|
init_async();
|
|
48058
48438
|
});
|
|
48059
48439
|
|
|
48060
|
-
// src/mcp-server/tools/
|
|
48061
|
-
var args39, tool$
|
|
48062
|
-
var
|
|
48063
|
-
|
|
48064
|
-
|
|
48440
|
+
// src/mcp-server/tools/topicsDelete.ts
|
|
48441
|
+
var args39, tool$topicsDelete;
|
|
48442
|
+
var init_topicsDelete2 = __esm(() => {
|
|
48443
|
+
init_lib();
|
|
48444
|
+
init_topicsDelete();
|
|
48065
48445
|
init_tools();
|
|
48066
48446
|
args39 = {
|
|
48067
|
-
|
|
48447
|
+
topicKey: stringType(),
|
|
48448
|
+
idempotencyKey: stringType().optional()
|
|
48068
48449
|
};
|
|
48069
|
-
tool$
|
|
48070
|
-
name: "topics-
|
|
48071
|
-
description: `
|
|
48072
|
-
|
|
48073
|
-
Returns a list of topics that can be paginated using the \`page\` query parameter and filtered by the topic key with the \`key\` query parameter`,
|
|
48450
|
+
tool$topicsDelete = {
|
|
48451
|
+
name: "topics-delete",
|
|
48452
|
+
description: `Delete topic by key`,
|
|
48074
48453
|
args: args39,
|
|
48075
48454
|
tool: async (client, args40, ctx) => {
|
|
48076
|
-
const [result, apiCall] = await
|
|
48455
|
+
const [result, apiCall] = await topicsDelete(client, args40.topicKey, args40.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48077
48456
|
if (!result.ok) {
|
|
48078
48457
|
return {
|
|
48079
48458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48086,33 +48465,29 @@ Returns a list of topics that can be paginated using the \`page\` query paramete
|
|
|
48086
48465
|
};
|
|
48087
48466
|
});
|
|
48088
48467
|
|
|
48089
|
-
// src/funcs/
|
|
48090
|
-
function
|
|
48091
|
-
return new APIPromise($do40(client,
|
|
48468
|
+
// src/funcs/topicsGet.ts
|
|
48469
|
+
function topicsGet(client, topicKey, idempotencyKey, options) {
|
|
48470
|
+
return new APIPromise($do40(client, topicKey, idempotencyKey, options));
|
|
48092
48471
|
}
|
|
48093
|
-
async function $do40(client,
|
|
48472
|
+
async function $do40(client, topicKey, idempotencyKey, options) {
|
|
48094
48473
|
const input = {
|
|
48095
|
-
renameTopicRequestDto,
|
|
48096
48474
|
topicKey,
|
|
48097
48475
|
idempotencyKey
|
|
48098
48476
|
};
|
|
48099
|
-
const parsed = safeParse(input, (value) =>
|
|
48477
|
+
const parsed = safeParse(input, (value) => TopicsControllerGetTopicRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48100
48478
|
if (!parsed.ok) {
|
|
48101
48479
|
return [parsed, { status: "invalid" }];
|
|
48102
48480
|
}
|
|
48103
48481
|
const payload = parsed.value;
|
|
48104
|
-
const body =
|
|
48105
|
-
explode: true
|
|
48106
|
-
});
|
|
48482
|
+
const body = null;
|
|
48107
48483
|
const pathParams = {
|
|
48108
48484
|
topicKey: encodeSimple("topicKey", payload.topicKey, {
|
|
48109
48485
|
explode: false,
|
|
48110
48486
|
charEncoding: "percent"
|
|
48111
48487
|
})
|
|
48112
48488
|
};
|
|
48113
|
-
const path = pathToFunc("/
|
|
48489
|
+
const path = pathToFunc("/v2/topics/{topicKey}")(pathParams);
|
|
48114
48490
|
const headers = new Headers(compactMap({
|
|
48115
|
-
"Content-Type": "application/json",
|
|
48116
48491
|
Accept: "application/json",
|
|
48117
48492
|
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
48118
48493
|
}));
|
|
@@ -48121,7 +48496,7 @@ async function $do40(client, renameTopicRequestDto, topicKey, idempotencyKey, op
|
|
|
48121
48496
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48122
48497
|
const context = {
|
|
48123
48498
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48124
|
-
operationID: "
|
|
48499
|
+
operationID: "TopicsController_getTopic",
|
|
48125
48500
|
oAuth2Scopes: [],
|
|
48126
48501
|
resolvedSecurity: requestSecurity,
|
|
48127
48502
|
securitySource: client._options.secretKey,
|
|
@@ -48139,7 +48514,7 @@ async function $do40(client, renameTopicRequestDto, topicKey, idempotencyKey, op
|
|
|
48139
48514
|
};
|
|
48140
48515
|
const requestRes = client._createRequest(context, {
|
|
48141
48516
|
security: requestSecurity,
|
|
48142
|
-
method: "
|
|
48517
|
+
method: "GET",
|
|
48143
48518
|
baseURL: options?.serverURL,
|
|
48144
48519
|
path,
|
|
48145
48520
|
headers,
|
|
@@ -48179,7 +48554,7 @@ async function $do40(client, renameTopicRequestDto, topicKey, idempotencyKey, op
|
|
|
48179
48554
|
const responseFields = {
|
|
48180
48555
|
HttpMeta: { Response: response, Request: req }
|
|
48181
48556
|
};
|
|
48182
|
-
const [result] = await match(json(200,
|
|
48557
|
+
const [result] = await match(json(200, TopicsControllerGetTopicResponse$inboundSchema, {
|
|
48183
48558
|
hdrs: true,
|
|
48184
48559
|
key: "Result"
|
|
48185
48560
|
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
@@ -48188,7 +48563,7 @@ async function $do40(client, renameTopicRequestDto, topicKey, idempotencyKey, op
|
|
|
48188
48563
|
}
|
|
48189
48564
|
return [result, { status: "complete", request: req, response }];
|
|
48190
48565
|
}
|
|
48191
|
-
var
|
|
48566
|
+
var init_topicsGet = __esm(() => {
|
|
48192
48567
|
init_encodings();
|
|
48193
48568
|
init_matchers();
|
|
48194
48569
|
init_primitives();
|
|
@@ -48200,26 +48575,22 @@ var init_topicsRename = __esm(() => {
|
|
|
48200
48575
|
init_async();
|
|
48201
48576
|
});
|
|
48202
48577
|
|
|
48203
|
-
// src/mcp-server/tools/
|
|
48204
|
-
var args40, tool$
|
|
48205
|
-
var
|
|
48578
|
+
// src/mcp-server/tools/topicsGet.ts
|
|
48579
|
+
var args40, tool$topicsGet;
|
|
48580
|
+
var init_topicsGet2 = __esm(() => {
|
|
48206
48581
|
init_lib();
|
|
48207
|
-
|
|
48208
|
-
init_components();
|
|
48582
|
+
init_topicsGet();
|
|
48209
48583
|
init_tools();
|
|
48210
48584
|
args40 = {
|
|
48211
|
-
renameTopicRequestDto: RenameTopicRequestDto$inboundSchema,
|
|
48212
48585
|
topicKey: stringType(),
|
|
48213
48586
|
idempotencyKey: stringType().optional()
|
|
48214
48587
|
};
|
|
48215
|
-
tool$
|
|
48216
|
-
name: "topics-
|
|
48217
|
-
description: `
|
|
48218
|
-
|
|
48219
|
-
Rename a topic by providing a new name`,
|
|
48588
|
+
tool$topicsGet = {
|
|
48589
|
+
name: "topics-get",
|
|
48590
|
+
description: `Get topic by key`,
|
|
48220
48591
|
args: args40,
|
|
48221
48592
|
tool: async (client, args41, ctx) => {
|
|
48222
|
-
const [result, apiCall] = await
|
|
48593
|
+
const [result, apiCall] = await topicsGet(client, args41.topicKey, args41.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48223
48594
|
if (!result.ok) {
|
|
48224
48595
|
return {
|
|
48225
48596
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48232,28 +48603,168 @@ Rename a topic by providing a new name`,
|
|
|
48232
48603
|
};
|
|
48233
48604
|
});
|
|
48234
48605
|
|
|
48235
|
-
// src/funcs/
|
|
48236
|
-
function
|
|
48237
|
-
return new APIPromise($do41(client,
|
|
48606
|
+
// src/funcs/topicsList.ts
|
|
48607
|
+
function topicsList(client, request, options) {
|
|
48608
|
+
return new APIPromise($do41(client, request, options));
|
|
48238
48609
|
}
|
|
48239
|
-
async function $do41(client,
|
|
48610
|
+
async function $do41(client, request, options) {
|
|
48611
|
+
const parsed = safeParse(request, (value) => TopicsControllerListTopicsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48612
|
+
if (!parsed.ok) {
|
|
48613
|
+
return [parsed, { status: "invalid" }];
|
|
48614
|
+
}
|
|
48615
|
+
const payload = parsed.value;
|
|
48616
|
+
const body = null;
|
|
48617
|
+
const path = pathToFunc("/v2/topics")();
|
|
48618
|
+
const query = encodeFormQuery({
|
|
48619
|
+
after: payload.after,
|
|
48620
|
+
before: payload.before,
|
|
48621
|
+
includeCursor: payload.includeCursor,
|
|
48622
|
+
key: payload.key,
|
|
48623
|
+
limit: payload.limit,
|
|
48624
|
+
name: payload.name,
|
|
48625
|
+
orderBy: payload.orderBy,
|
|
48626
|
+
orderDirection: payload.orderDirection
|
|
48627
|
+
});
|
|
48628
|
+
const headers = new Headers(compactMap({
|
|
48629
|
+
Accept: "application/json",
|
|
48630
|
+
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
48631
|
+
}));
|
|
48632
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
48633
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
48634
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48635
|
+
const context = {
|
|
48636
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48637
|
+
operationID: "TopicsController_listTopics",
|
|
48638
|
+
oAuth2Scopes: [],
|
|
48639
|
+
resolvedSecurity: requestSecurity,
|
|
48640
|
+
securitySource: client._options.secretKey,
|
|
48641
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
48642
|
+
strategy: "backoff",
|
|
48643
|
+
backoff: {
|
|
48644
|
+
initialInterval: 1000,
|
|
48645
|
+
maxInterval: 30000,
|
|
48646
|
+
exponent: 1.5,
|
|
48647
|
+
maxElapsedTime: 3600000
|
|
48648
|
+
},
|
|
48649
|
+
retryConnectionErrors: true
|
|
48650
|
+
},
|
|
48651
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"]
|
|
48652
|
+
};
|
|
48653
|
+
const requestRes = client._createRequest(context, {
|
|
48654
|
+
security: requestSecurity,
|
|
48655
|
+
method: "GET",
|
|
48656
|
+
baseURL: options?.serverURL,
|
|
48657
|
+
path,
|
|
48658
|
+
headers,
|
|
48659
|
+
query,
|
|
48660
|
+
body,
|
|
48661
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
48662
|
+
}, options);
|
|
48663
|
+
if (!requestRes.ok) {
|
|
48664
|
+
return [requestRes, { status: "invalid" }];
|
|
48665
|
+
}
|
|
48666
|
+
const req = requestRes.value;
|
|
48667
|
+
const doResult = await client._do(req, {
|
|
48668
|
+
context,
|
|
48669
|
+
errorCodes: [
|
|
48670
|
+
"400",
|
|
48671
|
+
"401",
|
|
48672
|
+
"403",
|
|
48673
|
+
"404",
|
|
48674
|
+
"405",
|
|
48675
|
+
"409",
|
|
48676
|
+
"413",
|
|
48677
|
+
"414",
|
|
48678
|
+
"415",
|
|
48679
|
+
"422",
|
|
48680
|
+
"429",
|
|
48681
|
+
"4XX",
|
|
48682
|
+
"500",
|
|
48683
|
+
"503",
|
|
48684
|
+
"5XX"
|
|
48685
|
+
],
|
|
48686
|
+
retryConfig: context.retryConfig,
|
|
48687
|
+
retryCodes: context.retryCodes
|
|
48688
|
+
});
|
|
48689
|
+
if (!doResult.ok) {
|
|
48690
|
+
return [doResult, { status: "request-error", request: req }];
|
|
48691
|
+
}
|
|
48692
|
+
const response = doResult.value;
|
|
48693
|
+
const responseFields = {
|
|
48694
|
+
HttpMeta: { Response: response, Request: req }
|
|
48695
|
+
};
|
|
48696
|
+
const [result] = await match(json(200, TopicsControllerListTopicsResponse$inboundSchema, {
|
|
48697
|
+
hdrs: true,
|
|
48698
|
+
key: "Result"
|
|
48699
|
+
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48700
|
+
if (!result.ok) {
|
|
48701
|
+
return [result, { status: "complete", request: req, response }];
|
|
48702
|
+
}
|
|
48703
|
+
return [result, { status: "complete", request: req, response }];
|
|
48704
|
+
}
|
|
48705
|
+
var init_topicsList = __esm(() => {
|
|
48706
|
+
init_encodings();
|
|
48707
|
+
init_matchers();
|
|
48708
|
+
init_primitives();
|
|
48709
|
+
init_schemas();
|
|
48710
|
+
init_security();
|
|
48711
|
+
init_url();
|
|
48712
|
+
init_errors();
|
|
48713
|
+
init_operations();
|
|
48714
|
+
init_async();
|
|
48715
|
+
});
|
|
48716
|
+
|
|
48717
|
+
// src/mcp-server/tools/topicsList.ts
|
|
48718
|
+
var args41, tool$topicsList;
|
|
48719
|
+
var init_topicsList2 = __esm(() => {
|
|
48720
|
+
init_topicsList();
|
|
48721
|
+
init_operations();
|
|
48722
|
+
init_tools();
|
|
48723
|
+
args41 = {
|
|
48724
|
+
request: TopicsControllerListTopicsRequest$inboundSchema
|
|
48725
|
+
};
|
|
48726
|
+
tool$topicsList = {
|
|
48727
|
+
name: "topics-list",
|
|
48728
|
+
description: `Get topics list`,
|
|
48729
|
+
args: args41,
|
|
48730
|
+
tool: async (client, args42, ctx) => {
|
|
48731
|
+
const [result, apiCall] = await topicsList(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48732
|
+
if (!result.ok) {
|
|
48733
|
+
return {
|
|
48734
|
+
content: [{ type: "text", text: result.error.message }],
|
|
48735
|
+
isError: true
|
|
48736
|
+
};
|
|
48737
|
+
}
|
|
48738
|
+
const value = result.value.result;
|
|
48739
|
+
return formatResult(value, apiCall);
|
|
48740
|
+
}
|
|
48741
|
+
};
|
|
48742
|
+
});
|
|
48743
|
+
|
|
48744
|
+
// src/funcs/topicsSubscribersRetrieve.ts
|
|
48745
|
+
function topicsSubscribersRetrieve(client, externalSubscriberId, topicKey, idempotencyKey, options) {
|
|
48746
|
+
return new APIPromise($do42(client, externalSubscriberId, topicKey, idempotencyKey, options));
|
|
48747
|
+
}
|
|
48748
|
+
async function $do42(client, externalSubscriberId, topicKey, idempotencyKey, options) {
|
|
48240
48749
|
const input = {
|
|
48750
|
+
externalSubscriberId,
|
|
48241
48751
|
topicKey,
|
|
48242
48752
|
idempotencyKey
|
|
48243
48753
|
};
|
|
48244
|
-
const parsed = safeParse(input, (value) =>
|
|
48754
|
+
const parsed = safeParse(input, (value) => TopicsV1ControllerGetTopicSubscriberRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48245
48755
|
if (!parsed.ok) {
|
|
48246
48756
|
return [parsed, { status: "invalid" }];
|
|
48247
48757
|
}
|
|
48248
48758
|
const payload = parsed.value;
|
|
48249
48759
|
const body = null;
|
|
48250
48760
|
const pathParams = {
|
|
48761
|
+
externalSubscriberId: encodeSimple("externalSubscriberId", payload.externalSubscriberId, { explode: false, charEncoding: "percent" }),
|
|
48251
48762
|
topicKey: encodeSimple("topicKey", payload.topicKey, {
|
|
48252
48763
|
explode: false,
|
|
48253
48764
|
charEncoding: "percent"
|
|
48254
48765
|
})
|
|
48255
48766
|
};
|
|
48256
|
-
const path = pathToFunc("/v1/topics/{topicKey}")(pathParams);
|
|
48767
|
+
const path = pathToFunc("/v1/topics/{topicKey}/subscribers/{externalSubscriberId}")(pathParams);
|
|
48257
48768
|
const headers = new Headers(compactMap({
|
|
48258
48769
|
Accept: "application/json",
|
|
48259
48770
|
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
@@ -48263,7 +48774,7 @@ async function $do41(client, topicKey, idempotencyKey, options) {
|
|
|
48263
48774
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48264
48775
|
const context = {
|
|
48265
48776
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48266
|
-
operationID: "
|
|
48777
|
+
operationID: "TopicsV1Controller_getTopicSubscriber",
|
|
48267
48778
|
oAuth2Scopes: [],
|
|
48268
48779
|
resolvedSecurity: requestSecurity,
|
|
48269
48780
|
securitySource: client._options.secretKey,
|
|
@@ -48321,16 +48832,13 @@ async function $do41(client, topicKey, idempotencyKey, options) {
|
|
|
48321
48832
|
const responseFields = {
|
|
48322
48833
|
HttpMeta: { Response: response, Request: req }
|
|
48323
48834
|
};
|
|
48324
|
-
const [result] = await match(json(200,
|
|
48325
|
-
hdrs: true,
|
|
48326
|
-
key: "Result"
|
|
48327
|
-
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48835
|
+
const [result] = await match(json(200, TopicsV1ControllerGetTopicSubscriberResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48328
48836
|
if (!result.ok) {
|
|
48329
48837
|
return [result, { status: "complete", request: req, response }];
|
|
48330
48838
|
}
|
|
48331
48839
|
return [result, { status: "complete", request: req, response }];
|
|
48332
48840
|
}
|
|
48333
|
-
var
|
|
48841
|
+
var init_topicsSubscribersRetrieve = __esm(() => {
|
|
48334
48842
|
init_encodings();
|
|
48335
48843
|
init_matchers();
|
|
48336
48844
|
init_primitives();
|
|
@@ -48342,24 +48850,25 @@ var init_topicsRetrieve = __esm(() => {
|
|
|
48342
48850
|
init_async();
|
|
48343
48851
|
});
|
|
48344
48852
|
|
|
48345
|
-
// src/mcp-server/tools/
|
|
48346
|
-
var
|
|
48347
|
-
var
|
|
48853
|
+
// src/mcp-server/tools/topicsSubscribersRetrieve.ts
|
|
48854
|
+
var args42, tool$topicsSubscribersRetrieve;
|
|
48855
|
+
var init_topicsSubscribersRetrieve2 = __esm(() => {
|
|
48348
48856
|
init_lib();
|
|
48349
|
-
|
|
48857
|
+
init_topicsSubscribersRetrieve();
|
|
48350
48858
|
init_tools();
|
|
48351
|
-
|
|
48859
|
+
args42 = {
|
|
48860
|
+
externalSubscriberId: stringType(),
|
|
48352
48861
|
topicKey: stringType(),
|
|
48353
48862
|
idempotencyKey: stringType().optional()
|
|
48354
48863
|
};
|
|
48355
|
-
tool$
|
|
48356
|
-
name: "topics-retrieve",
|
|
48357
|
-
description: `
|
|
48864
|
+
tool$topicsSubscribersRetrieve = {
|
|
48865
|
+
name: "topics-subscribers-retrieve",
|
|
48866
|
+
description: `Check topic subscriber
|
|
48358
48867
|
|
|
48359
|
-
|
|
48360
|
-
args:
|
|
48361
|
-
tool: async (client,
|
|
48362
|
-
const [result, apiCall] = await
|
|
48868
|
+
Check if a subscriber belongs to a certain topic`,
|
|
48869
|
+
args: args42,
|
|
48870
|
+
tool: async (client, args43, ctx) => {
|
|
48871
|
+
const [result, apiCall] = await topicsSubscribersRetrieve(client, args43.externalSubscriberId, args43.topicKey, args43.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48363
48872
|
if (!result.ok) {
|
|
48364
48873
|
return {
|
|
48365
48874
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48372,22 +48881,22 @@ Get a topic by its topic key`,
|
|
|
48372
48881
|
};
|
|
48373
48882
|
});
|
|
48374
48883
|
|
|
48375
|
-
// src/funcs/
|
|
48376
|
-
function
|
|
48377
|
-
return new APIPromise($
|
|
48884
|
+
// src/funcs/topicsSubscriptionsCreate.ts
|
|
48885
|
+
function topicsSubscriptionsCreate(client, createTopicSubscriptionsRequestDto, topicKey, idempotencyKey, options) {
|
|
48886
|
+
return new APIPromise($do43(client, createTopicSubscriptionsRequestDto, topicKey, idempotencyKey, options));
|
|
48378
48887
|
}
|
|
48379
|
-
async function $
|
|
48888
|
+
async function $do43(client, createTopicSubscriptionsRequestDto, topicKey, idempotencyKey, options) {
|
|
48380
48889
|
const input = {
|
|
48381
|
-
|
|
48890
|
+
createTopicSubscriptionsRequestDto,
|
|
48382
48891
|
topicKey,
|
|
48383
48892
|
idempotencyKey
|
|
48384
48893
|
};
|
|
48385
|
-
const parsed = safeParse(input, (value) =>
|
|
48894
|
+
const parsed = safeParse(input, (value) => TopicsControllerCreateTopicSubscriptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48386
48895
|
if (!parsed.ok) {
|
|
48387
48896
|
return [parsed, { status: "invalid" }];
|
|
48388
48897
|
}
|
|
48389
48898
|
const payload = parsed.value;
|
|
48390
|
-
const body = encodeJSON("body", payload.
|
|
48899
|
+
const body = encodeJSON("body", payload.CreateTopicSubscriptionsRequestDto, {
|
|
48391
48900
|
explode: true
|
|
48392
48901
|
});
|
|
48393
48902
|
const pathParams = {
|
|
@@ -48396,7 +48905,7 @@ async function $do42(client, addSubscribersRequestDto, topicKey, idempotencyKey,
|
|
|
48396
48905
|
charEncoding: "percent"
|
|
48397
48906
|
})
|
|
48398
48907
|
};
|
|
48399
|
-
const path = pathToFunc("/
|
|
48908
|
+
const path = pathToFunc("/v2/topics/{topicKey}/subscriptions")(pathParams);
|
|
48400
48909
|
const headers = new Headers(compactMap({
|
|
48401
48910
|
"Content-Type": "application/json",
|
|
48402
48911
|
Accept: "application/json",
|
|
@@ -48407,7 +48916,7 @@ async function $do42(client, addSubscribersRequestDto, topicKey, idempotencyKey,
|
|
|
48407
48916
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48408
48917
|
const context = {
|
|
48409
48918
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48410
|
-
operationID: "
|
|
48919
|
+
operationID: "TopicsController_createTopicSubscriptions",
|
|
48411
48920
|
oAuth2Scopes: [],
|
|
48412
48921
|
resolvedSecurity: requestSecurity,
|
|
48413
48922
|
securitySource: client._options.secretKey,
|
|
@@ -48465,16 +48974,13 @@ async function $do42(client, addSubscribersRequestDto, topicKey, idempotencyKey,
|
|
|
48465
48974
|
const responseFields = {
|
|
48466
48975
|
HttpMeta: { Response: response, Request: req }
|
|
48467
48976
|
};
|
|
48468
|
-
const [result] = await match(json(
|
|
48469
|
-
hdrs: true,
|
|
48470
|
-
key: "Result"
|
|
48471
|
-
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48977
|
+
const [result] = await match(json(201, TopicsControllerCreateTopicSubscriptionsResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48472
48978
|
if (!result.ok) {
|
|
48473
48979
|
return [result, { status: "complete", request: req, response }];
|
|
48474
48980
|
}
|
|
48475
48981
|
return [result, { status: "complete", request: req, response }];
|
|
48476
48982
|
}
|
|
48477
|
-
var
|
|
48983
|
+
var init_topicsSubscriptionsCreate = __esm(() => {
|
|
48478
48984
|
init_encodings();
|
|
48479
48985
|
init_matchers();
|
|
48480
48986
|
init_primitives();
|
|
@@ -48486,26 +48992,24 @@ var init_topicsSubscribersAssign = __esm(() => {
|
|
|
48486
48992
|
init_async();
|
|
48487
48993
|
});
|
|
48488
48994
|
|
|
48489
|
-
// src/mcp-server/tools/
|
|
48490
|
-
var
|
|
48491
|
-
var
|
|
48995
|
+
// src/mcp-server/tools/topicsSubscriptionsCreate.ts
|
|
48996
|
+
var args43, tool$topicsSubscriptionsCreate;
|
|
48997
|
+
var init_topicsSubscriptionsCreate2 = __esm(() => {
|
|
48492
48998
|
init_lib();
|
|
48493
|
-
|
|
48999
|
+
init_topicsSubscriptionsCreate();
|
|
48494
49000
|
init_components();
|
|
48495
49001
|
init_tools();
|
|
48496
|
-
|
|
48497
|
-
|
|
49002
|
+
args43 = {
|
|
49003
|
+
createTopicSubscriptionsRequestDto: CreateTopicSubscriptionsRequestDto$inboundSchema,
|
|
48498
49004
|
topicKey: stringType(),
|
|
48499
49005
|
idempotencyKey: stringType().optional()
|
|
48500
49006
|
};
|
|
48501
|
-
tool$
|
|
48502
|
-
name: "topics-
|
|
48503
|
-
description: `
|
|
48504
|
-
|
|
48505
|
-
|
|
48506
|
-
|
|
48507
|
-
tool: async (client, args43, ctx) => {
|
|
48508
|
-
const [result, apiCall] = await topicsSubscribersAssign(client, args43.addSubscribersRequestDto, args43.topicKey, args43.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49007
|
+
tool$topicsSubscriptionsCreate = {
|
|
49008
|
+
name: "topics-subscriptions-create",
|
|
49009
|
+
description: `Create topic subscriptions, if the topic does not exist, it will be created.`,
|
|
49010
|
+
args: args43,
|
|
49011
|
+
tool: async (client, args44, ctx) => {
|
|
49012
|
+
const [result, apiCall] = await topicsSubscriptionsCreate(client, args44.createTopicSubscriptionsRequestDto, args44.topicKey, args44.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48509
49013
|
if (!result.ok) {
|
|
48510
49014
|
return {
|
|
48511
49015
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48518,22 +49022,22 @@ Add subscribers to a topic by key`,
|
|
|
48518
49022
|
};
|
|
48519
49023
|
});
|
|
48520
49024
|
|
|
48521
|
-
// src/funcs/
|
|
48522
|
-
function
|
|
48523
|
-
return new APIPromise($
|
|
49025
|
+
// src/funcs/topicsSubscriptionsDelete.ts
|
|
49026
|
+
function topicsSubscriptionsDelete(client, deleteTopicSubscriptionsRequestDto, topicKey, idempotencyKey, options) {
|
|
49027
|
+
return new APIPromise($do44(client, deleteTopicSubscriptionsRequestDto, topicKey, idempotencyKey, options));
|
|
48524
49028
|
}
|
|
48525
|
-
async function $
|
|
49029
|
+
async function $do44(client, deleteTopicSubscriptionsRequestDto, topicKey, idempotencyKey, options) {
|
|
48526
49030
|
const input = {
|
|
48527
|
-
|
|
49031
|
+
deleteTopicSubscriptionsRequestDto,
|
|
48528
49032
|
topicKey,
|
|
48529
49033
|
idempotencyKey
|
|
48530
49034
|
};
|
|
48531
|
-
const parsed = safeParse(input, (value) =>
|
|
49035
|
+
const parsed = safeParse(input, (value) => TopicsControllerDeleteTopicSubscriptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48532
49036
|
if (!parsed.ok) {
|
|
48533
49037
|
return [parsed, { status: "invalid" }];
|
|
48534
49038
|
}
|
|
48535
49039
|
const payload = parsed.value;
|
|
48536
|
-
const body = encodeJSON("body", payload.
|
|
49040
|
+
const body = encodeJSON("body", payload.DeleteTopicSubscriptionsRequestDto, {
|
|
48537
49041
|
explode: true
|
|
48538
49042
|
});
|
|
48539
49043
|
const pathParams = {
|
|
@@ -48542,7 +49046,7 @@ async function $do43(client, removeSubscribersRequestDto, topicKey, idempotencyK
|
|
|
48542
49046
|
charEncoding: "percent"
|
|
48543
49047
|
})
|
|
48544
49048
|
};
|
|
48545
|
-
const path = pathToFunc("/
|
|
49049
|
+
const path = pathToFunc("/v2/topics/{topicKey}/subscriptions")(pathParams);
|
|
48546
49050
|
const headers = new Headers(compactMap({
|
|
48547
49051
|
"Content-Type": "application/json",
|
|
48548
49052
|
Accept: "application/json",
|
|
@@ -48553,7 +49057,7 @@ async function $do43(client, removeSubscribersRequestDto, topicKey, idempotencyK
|
|
|
48553
49057
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48554
49058
|
const context = {
|
|
48555
49059
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48556
|
-
operationID: "
|
|
49060
|
+
operationID: "TopicsController_deleteTopicSubscriptions",
|
|
48557
49061
|
oAuth2Scopes: [],
|
|
48558
49062
|
resolvedSecurity: requestSecurity,
|
|
48559
49063
|
securitySource: client._options.secretKey,
|
|
@@ -48571,7 +49075,7 @@ async function $do43(client, removeSubscribersRequestDto, topicKey, idempotencyK
|
|
|
48571
49075
|
};
|
|
48572
49076
|
const requestRes = client._createRequest(context, {
|
|
48573
49077
|
security: requestSecurity,
|
|
48574
|
-
method: "
|
|
49078
|
+
method: "DELETE",
|
|
48575
49079
|
baseURL: options?.serverURL,
|
|
48576
49080
|
path,
|
|
48577
49081
|
headers,
|
|
@@ -48611,13 +49115,13 @@ async function $do43(client, removeSubscribersRequestDto, topicKey, idempotencyK
|
|
|
48611
49115
|
const responseFields = {
|
|
48612
49116
|
HttpMeta: { Response: response, Request: req }
|
|
48613
49117
|
};
|
|
48614
|
-
const [result] = await match(
|
|
49118
|
+
const [result] = await match(json(200, TopicsControllerDeleteTopicSubscriptionsResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48615
49119
|
if (!result.ok) {
|
|
48616
49120
|
return [result, { status: "complete", request: req, response }];
|
|
48617
49121
|
}
|
|
48618
49122
|
return [result, { status: "complete", request: req, response }];
|
|
48619
49123
|
}
|
|
48620
|
-
var
|
|
49124
|
+
var init_topicsSubscriptionsDelete = __esm(() => {
|
|
48621
49125
|
init_encodings();
|
|
48622
49126
|
init_matchers();
|
|
48623
49127
|
init_primitives();
|
|
@@ -48629,62 +49133,203 @@ var init_topicsSubscribersRemove = __esm(() => {
|
|
|
48629
49133
|
init_async();
|
|
48630
49134
|
});
|
|
48631
49135
|
|
|
48632
|
-
// src/mcp-server/tools/
|
|
48633
|
-
var
|
|
48634
|
-
var
|
|
49136
|
+
// src/mcp-server/tools/topicsSubscriptionsDelete.ts
|
|
49137
|
+
var args44, tool$topicsSubscriptionsDelete;
|
|
49138
|
+
var init_topicsSubscriptionsDelete2 = __esm(() => {
|
|
48635
49139
|
init_lib();
|
|
48636
|
-
|
|
49140
|
+
init_topicsSubscriptionsDelete();
|
|
48637
49141
|
init_components();
|
|
48638
49142
|
init_tools();
|
|
48639
|
-
|
|
48640
|
-
|
|
49143
|
+
args44 = {
|
|
49144
|
+
deleteTopicSubscriptionsRequestDto: DeleteTopicSubscriptionsRequestDto$inboundSchema,
|
|
48641
49145
|
topicKey: stringType(),
|
|
48642
49146
|
idempotencyKey: stringType().optional()
|
|
48643
49147
|
};
|
|
48644
|
-
tool$
|
|
48645
|
-
name: "topics-
|
|
48646
|
-
description: `
|
|
49148
|
+
tool$topicsSubscriptionsDelete = {
|
|
49149
|
+
name: "topics-subscriptions-delete",
|
|
49150
|
+
description: `Delete topic subscriptions`,
|
|
49151
|
+
args: args44,
|
|
49152
|
+
tool: async (client, args45, ctx) => {
|
|
49153
|
+
const [result, apiCall] = await topicsSubscriptionsDelete(client, args45.deleteTopicSubscriptionsRequestDto, args45.topicKey, args45.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49154
|
+
if (!result.ok) {
|
|
49155
|
+
return {
|
|
49156
|
+
content: [{ type: "text", text: result.error.message }],
|
|
49157
|
+
isError: true
|
|
49158
|
+
};
|
|
49159
|
+
}
|
|
49160
|
+
const value = result.value.result;
|
|
49161
|
+
return formatResult(value, apiCall);
|
|
49162
|
+
}
|
|
49163
|
+
};
|
|
49164
|
+
});
|
|
48647
49165
|
|
|
48648
|
-
|
|
48649
|
-
|
|
48650
|
-
|
|
48651
|
-
|
|
49166
|
+
// src/funcs/topicsSubscriptionsList.ts
|
|
49167
|
+
function topicsSubscriptionsList(client, request, options) {
|
|
49168
|
+
return new APIPromise($do45(client, request, options));
|
|
49169
|
+
}
|
|
49170
|
+
async function $do45(client, request, options) {
|
|
49171
|
+
const parsed = safeParse(request, (value) => TopicsControllerListTopicSubscriptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49172
|
+
if (!parsed.ok) {
|
|
49173
|
+
return [parsed, { status: "invalid" }];
|
|
49174
|
+
}
|
|
49175
|
+
const payload = parsed.value;
|
|
49176
|
+
const body = null;
|
|
49177
|
+
const pathParams = {
|
|
49178
|
+
topicKey: encodeSimple("topicKey", payload.topicKey, {
|
|
49179
|
+
explode: false,
|
|
49180
|
+
charEncoding: "percent"
|
|
49181
|
+
})
|
|
49182
|
+
};
|
|
49183
|
+
const path = pathToFunc("/v2/topics/{topicKey}/subscriptions")(pathParams);
|
|
49184
|
+
const query = encodeFormQuery({
|
|
49185
|
+
after: payload.after,
|
|
49186
|
+
before: payload.before,
|
|
49187
|
+
includeCursor: payload.includeCursor,
|
|
49188
|
+
limit: payload.limit,
|
|
49189
|
+
orderBy: payload.orderBy,
|
|
49190
|
+
orderDirection: payload.orderDirection,
|
|
49191
|
+
subscriberId: payload.subscriberId
|
|
49192
|
+
});
|
|
49193
|
+
const headers = new Headers(compactMap({
|
|
49194
|
+
Accept: "application/json",
|
|
49195
|
+
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
49196
|
+
}));
|
|
49197
|
+
const secConfig = await extractSecurity(client._options.secretKey);
|
|
49198
|
+
const securityInput = secConfig == null ? {} : { secretKey: secConfig };
|
|
49199
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
49200
|
+
const context = {
|
|
49201
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
49202
|
+
operationID: "TopicsController_listTopicSubscriptions",
|
|
49203
|
+
oAuth2Scopes: [],
|
|
49204
|
+
resolvedSecurity: requestSecurity,
|
|
49205
|
+
securitySource: client._options.secretKey,
|
|
49206
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
49207
|
+
strategy: "backoff",
|
|
49208
|
+
backoff: {
|
|
49209
|
+
initialInterval: 1000,
|
|
49210
|
+
maxInterval: 30000,
|
|
49211
|
+
exponent: 1.5,
|
|
49212
|
+
maxElapsedTime: 3600000
|
|
49213
|
+
},
|
|
49214
|
+
retryConnectionErrors: true
|
|
49215
|
+
},
|
|
49216
|
+
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"]
|
|
49217
|
+
};
|
|
49218
|
+
const requestRes = client._createRequest(context, {
|
|
49219
|
+
security: requestSecurity,
|
|
49220
|
+
method: "GET",
|
|
49221
|
+
baseURL: options?.serverURL,
|
|
49222
|
+
path,
|
|
49223
|
+
headers,
|
|
49224
|
+
query,
|
|
49225
|
+
body,
|
|
49226
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
49227
|
+
}, options);
|
|
49228
|
+
if (!requestRes.ok) {
|
|
49229
|
+
return [requestRes, { status: "invalid" }];
|
|
49230
|
+
}
|
|
49231
|
+
const req = requestRes.value;
|
|
49232
|
+
const doResult = await client._do(req, {
|
|
49233
|
+
context,
|
|
49234
|
+
errorCodes: [
|
|
49235
|
+
"400",
|
|
49236
|
+
"401",
|
|
49237
|
+
"403",
|
|
49238
|
+
"404",
|
|
49239
|
+
"405",
|
|
49240
|
+
"409",
|
|
49241
|
+
"413",
|
|
49242
|
+
"414",
|
|
49243
|
+
"415",
|
|
49244
|
+
"422",
|
|
49245
|
+
"429",
|
|
49246
|
+
"4XX",
|
|
49247
|
+
"500",
|
|
49248
|
+
"503",
|
|
49249
|
+
"5XX"
|
|
49250
|
+
],
|
|
49251
|
+
retryConfig: context.retryConfig,
|
|
49252
|
+
retryCodes: context.retryCodes
|
|
49253
|
+
});
|
|
49254
|
+
if (!doResult.ok) {
|
|
49255
|
+
return [doResult, { status: "request-error", request: req }];
|
|
49256
|
+
}
|
|
49257
|
+
const response = doResult.value;
|
|
49258
|
+
const responseFields = {
|
|
49259
|
+
HttpMeta: { Response: response, Request: req }
|
|
49260
|
+
};
|
|
49261
|
+
const [result] = await match(json(200, TopicsControllerListTopicSubscriptionsResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
49262
|
+
if (!result.ok) {
|
|
49263
|
+
return [result, { status: "complete", request: req, response }];
|
|
49264
|
+
}
|
|
49265
|
+
return [result, { status: "complete", request: req, response }];
|
|
49266
|
+
}
|
|
49267
|
+
var init_topicsSubscriptionsList = __esm(() => {
|
|
49268
|
+
init_encodings();
|
|
49269
|
+
init_matchers();
|
|
49270
|
+
init_primitives();
|
|
49271
|
+
init_schemas();
|
|
49272
|
+
init_security();
|
|
49273
|
+
init_url();
|
|
49274
|
+
init_errors();
|
|
49275
|
+
init_operations();
|
|
49276
|
+
init_async();
|
|
49277
|
+
});
|
|
49278
|
+
|
|
49279
|
+
// src/mcp-server/tools/topicsSubscriptionsList.ts
|
|
49280
|
+
var args45, tool$topicsSubscriptionsList;
|
|
49281
|
+
var init_topicsSubscriptionsList2 = __esm(() => {
|
|
49282
|
+
init_topicsSubscriptionsList();
|
|
49283
|
+
init_operations();
|
|
49284
|
+
init_tools();
|
|
49285
|
+
args45 = {
|
|
49286
|
+
request: TopicsControllerListTopicSubscriptionsRequest$inboundSchema
|
|
49287
|
+
};
|
|
49288
|
+
tool$topicsSubscriptionsList = {
|
|
49289
|
+
name: "topics-subscriptions-list",
|
|
49290
|
+
description: `List topic subscriptions`,
|
|
49291
|
+
args: args45,
|
|
49292
|
+
tool: async (client, args46, ctx) => {
|
|
49293
|
+
const [result, apiCall] = await topicsSubscriptionsList(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48652
49294
|
if (!result.ok) {
|
|
48653
49295
|
return {
|
|
48654
49296
|
content: [{ type: "text", text: result.error.message }],
|
|
48655
49297
|
isError: true
|
|
48656
49298
|
};
|
|
48657
49299
|
}
|
|
48658
|
-
|
|
49300
|
+
const value = result.value.result;
|
|
49301
|
+
return formatResult(value, apiCall);
|
|
48659
49302
|
}
|
|
48660
49303
|
};
|
|
48661
49304
|
});
|
|
48662
49305
|
|
|
48663
|
-
// src/funcs/
|
|
48664
|
-
function
|
|
48665
|
-
return new APIPromise($
|
|
49306
|
+
// src/funcs/topicsUpdate.ts
|
|
49307
|
+
function topicsUpdate(client, updateTopicRequestDto, topicKey, idempotencyKey, options) {
|
|
49308
|
+
return new APIPromise($do46(client, updateTopicRequestDto, topicKey, idempotencyKey, options));
|
|
48666
49309
|
}
|
|
48667
|
-
async function $
|
|
49310
|
+
async function $do46(client, updateTopicRequestDto, topicKey, idempotencyKey, options) {
|
|
48668
49311
|
const input = {
|
|
48669
|
-
|
|
49312
|
+
updateTopicRequestDto,
|
|
48670
49313
|
topicKey,
|
|
48671
49314
|
idempotencyKey
|
|
48672
49315
|
};
|
|
48673
|
-
const parsed = safeParse(input, (value) =>
|
|
49316
|
+
const parsed = safeParse(input, (value) => TopicsControllerUpdateTopicRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48674
49317
|
if (!parsed.ok) {
|
|
48675
49318
|
return [parsed, { status: "invalid" }];
|
|
48676
49319
|
}
|
|
48677
49320
|
const payload = parsed.value;
|
|
48678
|
-
const body =
|
|
49321
|
+
const body = encodeJSON("body", payload.UpdateTopicRequestDto, {
|
|
49322
|
+
explode: true
|
|
49323
|
+
});
|
|
48679
49324
|
const pathParams = {
|
|
48680
|
-
externalSubscriberId: encodeSimple("externalSubscriberId", payload.externalSubscriberId, { explode: false, charEncoding: "percent" }),
|
|
48681
49325
|
topicKey: encodeSimple("topicKey", payload.topicKey, {
|
|
48682
49326
|
explode: false,
|
|
48683
49327
|
charEncoding: "percent"
|
|
48684
49328
|
})
|
|
48685
49329
|
};
|
|
48686
|
-
const path = pathToFunc("/
|
|
49330
|
+
const path = pathToFunc("/v2/topics/{topicKey}")(pathParams);
|
|
48687
49331
|
const headers = new Headers(compactMap({
|
|
49332
|
+
"Content-Type": "application/json",
|
|
48688
49333
|
Accept: "application/json",
|
|
48689
49334
|
"idempotency-key": encodeSimple("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" })
|
|
48690
49335
|
}));
|
|
@@ -48693,7 +49338,7 @@ async function $do44(client, externalSubscriberId, topicKey, idempotencyKey, opt
|
|
|
48693
49338
|
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
48694
49339
|
const context = {
|
|
48695
49340
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48696
|
-
operationID: "
|
|
49341
|
+
operationID: "TopicsController_updateTopic",
|
|
48697
49342
|
oAuth2Scopes: [],
|
|
48698
49343
|
resolvedSecurity: requestSecurity,
|
|
48699
49344
|
securitySource: client._options.secretKey,
|
|
@@ -48711,7 +49356,7 @@ async function $do44(client, externalSubscriberId, topicKey, idempotencyKey, opt
|
|
|
48711
49356
|
};
|
|
48712
49357
|
const requestRes = client._createRequest(context, {
|
|
48713
49358
|
security: requestSecurity,
|
|
48714
|
-
method: "
|
|
49359
|
+
method: "PATCH",
|
|
48715
49360
|
baseURL: options?.serverURL,
|
|
48716
49361
|
path,
|
|
48717
49362
|
headers,
|
|
@@ -48751,13 +49396,16 @@ async function $do44(client, externalSubscriberId, topicKey, idempotencyKey, opt
|
|
|
48751
49396
|
const responseFields = {
|
|
48752
49397
|
HttpMeta: { Response: response, Request: req }
|
|
48753
49398
|
};
|
|
48754
|
-
const [result] = await match(json(200,
|
|
49399
|
+
const [result] = await match(json(200, TopicsControllerUpdateTopicResponse$inboundSchema, {
|
|
49400
|
+
hdrs: true,
|
|
49401
|
+
key: "Result"
|
|
49402
|
+
}), jsonErr(414, ErrorDto$inboundSchema), jsonErr([400, 401, 403, 404, 405, 409, 413, 415], ErrorDto$inboundSchema, { hdrs: true }), jsonErr(422, ValidationErrorDto$inboundSchema, { hdrs: true }), fail(429), jsonErr(500, ErrorDto$inboundSchema, { hdrs: true }), fail(503), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
48755
49403
|
if (!result.ok) {
|
|
48756
49404
|
return [result, { status: "complete", request: req, response }];
|
|
48757
49405
|
}
|
|
48758
49406
|
return [result, { status: "complete", request: req, response }];
|
|
48759
49407
|
}
|
|
48760
|
-
var
|
|
49408
|
+
var init_topicsUpdate = __esm(() => {
|
|
48761
49409
|
init_encodings();
|
|
48762
49410
|
init_matchers();
|
|
48763
49411
|
init_primitives();
|
|
@@ -48769,25 +49417,24 @@ var init_topicsSubscribersRetrieve = __esm(() => {
|
|
|
48769
49417
|
init_async();
|
|
48770
49418
|
});
|
|
48771
49419
|
|
|
48772
|
-
// src/mcp-server/tools/
|
|
48773
|
-
var
|
|
48774
|
-
var
|
|
49420
|
+
// src/mcp-server/tools/topicsUpdate.ts
|
|
49421
|
+
var args46, tool$topicsUpdate;
|
|
49422
|
+
var init_topicsUpdate2 = __esm(() => {
|
|
48775
49423
|
init_lib();
|
|
48776
|
-
|
|
49424
|
+
init_topicsUpdate();
|
|
49425
|
+
init_components();
|
|
48777
49426
|
init_tools();
|
|
48778
|
-
|
|
48779
|
-
|
|
49427
|
+
args46 = {
|
|
49428
|
+
updateTopicRequestDto: UpdateTopicRequestDto$inboundSchema,
|
|
48780
49429
|
topicKey: stringType(),
|
|
48781
49430
|
idempotencyKey: stringType().optional()
|
|
48782
49431
|
};
|
|
48783
|
-
tool$
|
|
48784
|
-
name: "topics-
|
|
48785
|
-
description: `
|
|
48786
|
-
|
|
48787
|
-
|
|
48788
|
-
|
|
48789
|
-
tool: async (client, args45, ctx) => {
|
|
48790
|
-
const [result, apiCall] = await topicsSubscribersRetrieve(client, args45.externalSubscriberId, args45.topicKey, args45.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49432
|
+
tool$topicsUpdate = {
|
|
49433
|
+
name: "topics-update",
|
|
49434
|
+
description: `Update topic by key`,
|
|
49435
|
+
args: args46,
|
|
49436
|
+
tool: async (client, args47, ctx) => {
|
|
49437
|
+
const [result, apiCall] = await topicsUpdate(client, args47.updateTopicRequestDto, args47.topicKey, args47.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48791
49438
|
if (!result.ok) {
|
|
48792
49439
|
return {
|
|
48793
49440
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48802,9 +49449,9 @@ Check if a subscriber belongs to a certain topic`,
|
|
|
48802
49449
|
|
|
48803
49450
|
// src/funcs/trigger.ts
|
|
48804
49451
|
function trigger(client, triggerEventRequestDto, idempotencyKey, options) {
|
|
48805
|
-
return new APIPromise($
|
|
49452
|
+
return new APIPromise($do47(client, triggerEventRequestDto, idempotencyKey, options));
|
|
48806
49453
|
}
|
|
48807
|
-
async function $
|
|
49454
|
+
async function $do47(client, triggerEventRequestDto, idempotencyKey, options) {
|
|
48808
49455
|
const input = {
|
|
48809
49456
|
triggerEventRequestDto,
|
|
48810
49457
|
idempotencyKey
|
|
@@ -48908,13 +49555,13 @@ var init_trigger = __esm(() => {
|
|
|
48908
49555
|
});
|
|
48909
49556
|
|
|
48910
49557
|
// src/mcp-server/tools/trigger.ts
|
|
48911
|
-
var
|
|
49558
|
+
var args47, tool$trigger;
|
|
48912
49559
|
var init_trigger2 = __esm(() => {
|
|
48913
49560
|
init_lib();
|
|
48914
49561
|
init_trigger();
|
|
48915
49562
|
init_components();
|
|
48916
49563
|
init_tools();
|
|
48917
|
-
|
|
49564
|
+
args47 = {
|
|
48918
49565
|
triggerEventRequestDto: TriggerEventRequestDto$inboundSchema,
|
|
48919
49566
|
idempotencyKey: stringType().optional()
|
|
48920
49567
|
};
|
|
@@ -48927,9 +49574,9 @@ var init_trigger2 = __esm(() => {
|
|
|
48927
49574
|
The trigger identifier is used to match the particular workflow associated with it.
|
|
48928
49575
|
Additional information can be passed according the body interface below.
|
|
48929
49576
|
`,
|
|
48930
|
-
args:
|
|
48931
|
-
tool: async (client,
|
|
48932
|
-
const [result, apiCall] = await trigger(client,
|
|
49577
|
+
args: args47,
|
|
49578
|
+
tool: async (client, args48, ctx) => {
|
|
49579
|
+
const [result, apiCall] = await trigger(client, args48.triggerEventRequestDto, args48.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48933
49580
|
if (!result.ok) {
|
|
48934
49581
|
return {
|
|
48935
49582
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48944,9 +49591,9 @@ var init_trigger2 = __esm(() => {
|
|
|
48944
49591
|
|
|
48945
49592
|
// src/funcs/triggerBroadcast.ts
|
|
48946
49593
|
function triggerBroadcast(client, triggerEventToAllRequestDto, idempotencyKey, options) {
|
|
48947
|
-
return new APIPromise($
|
|
49594
|
+
return new APIPromise($do48(client, triggerEventToAllRequestDto, idempotencyKey, options));
|
|
48948
49595
|
}
|
|
48949
|
-
async function $
|
|
49596
|
+
async function $do48(client, triggerEventToAllRequestDto, idempotencyKey, options) {
|
|
48950
49597
|
const input = {
|
|
48951
49598
|
triggerEventToAllRequestDto,
|
|
48952
49599
|
idempotencyKey
|
|
@@ -49047,13 +49694,13 @@ var init_triggerBroadcast = __esm(() => {
|
|
|
49047
49694
|
});
|
|
49048
49695
|
|
|
49049
49696
|
// src/mcp-server/tools/triggerBroadcast.ts
|
|
49050
|
-
var
|
|
49697
|
+
var args48, tool$triggerBroadcast;
|
|
49051
49698
|
var init_triggerBroadcast2 = __esm(() => {
|
|
49052
49699
|
init_lib();
|
|
49053
49700
|
init_triggerBroadcast();
|
|
49054
49701
|
init_components();
|
|
49055
49702
|
init_tools();
|
|
49056
|
-
|
|
49703
|
+
args48 = {
|
|
49057
49704
|
triggerEventToAllRequestDto: TriggerEventToAllRequestDto$inboundSchema,
|
|
49058
49705
|
idempotencyKey: stringType().optional()
|
|
49059
49706
|
};
|
|
@@ -49063,9 +49710,9 @@ var init_triggerBroadcast2 = __esm(() => {
|
|
|
49063
49710
|
|
|
49064
49711
|
Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc.
|
|
49065
49712
|
In the future could be used to trigger events to a subset of subscribers based on defined filters.`,
|
|
49066
|
-
args:
|
|
49067
|
-
tool: async (client,
|
|
49068
|
-
const [result, apiCall] = await triggerBroadcast(client,
|
|
49713
|
+
args: args48,
|
|
49714
|
+
tool: async (client, args49, ctx) => {
|
|
49715
|
+
const [result, apiCall] = await triggerBroadcast(client, args49.triggerEventToAllRequestDto, args49.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49069
49716
|
if (!result.ok) {
|
|
49070
49717
|
return {
|
|
49071
49718
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49080,9 +49727,9 @@ Trigger a broadcast event to all existing subscribers, could be used to send ann
|
|
|
49080
49727
|
|
|
49081
49728
|
// src/funcs/triggerBulk.ts
|
|
49082
49729
|
function triggerBulk(client, bulkTriggerEventDto, idempotencyKey, options) {
|
|
49083
|
-
return new APIPromise($
|
|
49730
|
+
return new APIPromise($do49(client, bulkTriggerEventDto, idempotencyKey, options));
|
|
49084
49731
|
}
|
|
49085
|
-
async function $
|
|
49732
|
+
async function $do49(client, bulkTriggerEventDto, idempotencyKey, options) {
|
|
49086
49733
|
const input = {
|
|
49087
49734
|
bulkTriggerEventDto,
|
|
49088
49735
|
idempotencyKey
|
|
@@ -49186,13 +49833,13 @@ var init_triggerBulk = __esm(() => {
|
|
|
49186
49833
|
});
|
|
49187
49834
|
|
|
49188
49835
|
// src/mcp-server/tools/triggerBulk.ts
|
|
49189
|
-
var
|
|
49836
|
+
var args49, tool$triggerBulk;
|
|
49190
49837
|
var init_triggerBulk2 = __esm(() => {
|
|
49191
49838
|
init_lib();
|
|
49192
49839
|
init_triggerBulk();
|
|
49193
49840
|
init_components();
|
|
49194
49841
|
init_tools();
|
|
49195
|
-
|
|
49842
|
+
args49 = {
|
|
49196
49843
|
bulkTriggerEventDto: BulkTriggerEventDto$inboundSchema,
|
|
49197
49844
|
idempotencyKey: stringType().optional()
|
|
49198
49845
|
};
|
|
@@ -49204,9 +49851,9 @@ var init_triggerBulk2 = __esm(() => {
|
|
|
49204
49851
|
Using this endpoint you can trigger multiple events at once, to avoid multiple calls to the API.
|
|
49205
49852
|
The bulk API is limited to 100 events per request.
|
|
49206
49853
|
`,
|
|
49207
|
-
args:
|
|
49208
|
-
tool: async (client,
|
|
49209
|
-
const [result, apiCall] = await triggerBulk(client,
|
|
49854
|
+
args: args49,
|
|
49855
|
+
tool: async (client, args50, ctx) => {
|
|
49856
|
+
const [result, apiCall] = await triggerBulk(client, args50.bulkTriggerEventDto, args50.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49210
49857
|
if (!result.ok) {
|
|
49211
49858
|
return {
|
|
49212
49859
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49223,7 +49870,7 @@ var init_triggerBulk2 = __esm(() => {
|
|
|
49223
49870
|
function createMCPServer(deps) {
|
|
49224
49871
|
const server = new McpServer({
|
|
49225
49872
|
name: "Novu",
|
|
49226
|
-
version: "0.
|
|
49873
|
+
version: "1.0.0"
|
|
49227
49874
|
});
|
|
49228
49875
|
const client = new NovuCore({
|
|
49229
49876
|
secretKey: deps.secretKey,
|
|
@@ -49249,6 +49896,11 @@ function createMCPServer(deps) {
|
|
|
49249
49896
|
tool(tool$subscribersList);
|
|
49250
49897
|
tool(tool$subscribersUpsert);
|
|
49251
49898
|
tool(tool$subscribersCreateBulk);
|
|
49899
|
+
tool(tool$topicsList);
|
|
49900
|
+
tool(tool$topicsCreate);
|
|
49901
|
+
tool(tool$topicsGet);
|
|
49902
|
+
tool(tool$topicsUpdate);
|
|
49903
|
+
tool(tool$topicsDelete);
|
|
49252
49904
|
tool(tool$integrationsList);
|
|
49253
49905
|
tool(tool$integrationsCreate);
|
|
49254
49906
|
tool(tool$integrationsUpdate);
|
|
@@ -49260,13 +49912,9 @@ function createMCPServer(deps) {
|
|
|
49260
49912
|
tool(tool$messagesDeleteByTransactionId);
|
|
49261
49913
|
tool(tool$notificationsList);
|
|
49262
49914
|
tool(tool$notificationsRetrieve);
|
|
49263
|
-
tool(tool$topicsCreate);
|
|
49264
|
-
tool(tool$topicsList);
|
|
49265
|
-
tool(tool$topicsDelete);
|
|
49266
|
-
tool(tool$topicsRetrieve);
|
|
49267
|
-
tool(tool$topicsRename);
|
|
49268
49915
|
tool(tool$subscribersPreferencesList);
|
|
49269
49916
|
tool(tool$subscribersPreferencesUpdate);
|
|
49917
|
+
tool(tool$subscribersTopicsList);
|
|
49270
49918
|
tool(tool$subscribersCredentialsUpdate);
|
|
49271
49919
|
tool(tool$subscribersCredentialsAppend);
|
|
49272
49920
|
tool(tool$subscribersCredentialsDelete);
|
|
@@ -49278,12 +49926,13 @@ function createMCPServer(deps) {
|
|
|
49278
49926
|
tool(tool$subscribersNotificationsFeed);
|
|
49279
49927
|
tool(tool$subscribersNotificationsUnseenCount);
|
|
49280
49928
|
tool(tool$subscribersPropertiesUpdateOnlineFlag);
|
|
49929
|
+
tool(tool$topicsSubscriptionsList);
|
|
49930
|
+
tool(tool$topicsSubscriptionsCreate);
|
|
49931
|
+
tool(tool$topicsSubscriptionsDelete);
|
|
49932
|
+
tool(tool$topicsSubscribersRetrieve);
|
|
49281
49933
|
tool(tool$integrationsWebhooksRetrieve);
|
|
49282
49934
|
tool(tool$notificationsStatsGraph);
|
|
49283
49935
|
tool(tool$notificationsStatsRetrieve);
|
|
49284
|
-
tool(tool$topicsSubscribersAssign);
|
|
49285
|
-
tool(tool$topicsSubscribersRetrieve);
|
|
49286
|
-
tool(tool$topicsSubscribersRemove);
|
|
49287
49936
|
return server;
|
|
49288
49937
|
}
|
|
49289
49938
|
var init_server2 = __esm(() => {
|
|
@@ -49326,15 +49975,17 @@ var init_server2 = __esm(() => {
|
|
|
49326
49975
|
init_subscribersPropertiesUpdateOnlineFlag2();
|
|
49327
49976
|
init_subscribersRetrieve2();
|
|
49328
49977
|
init_subscribersSearch2();
|
|
49978
|
+
init_subscribersTopicsList2();
|
|
49329
49979
|
init_subscribersUpsert2();
|
|
49330
49980
|
init_topicsCreate2();
|
|
49331
49981
|
init_topicsDelete2();
|
|
49982
|
+
init_topicsGet2();
|
|
49332
49983
|
init_topicsList2();
|
|
49333
|
-
init_topicsRename2();
|
|
49334
|
-
init_topicsRetrieve2();
|
|
49335
|
-
init_topicsSubscribersAssign2();
|
|
49336
|
-
init_topicsSubscribersRemove2();
|
|
49337
49984
|
init_topicsSubscribersRetrieve2();
|
|
49985
|
+
init_topicsSubscriptionsCreate2();
|
|
49986
|
+
init_topicsSubscriptionsDelete2();
|
|
49987
|
+
init_topicsSubscriptionsList2();
|
|
49988
|
+
init_topicsUpdate2();
|
|
49338
49989
|
init_trigger2();
|
|
49339
49990
|
init_triggerBroadcast2();
|
|
49340
49991
|
init_triggerBulk2();
|
|
@@ -50531,7 +51182,7 @@ var routes = rn({
|
|
|
50531
51182
|
var app = Ve(routes, {
|
|
50532
51183
|
name: "mcp",
|
|
50533
51184
|
versionInfo: {
|
|
50534
|
-
currentVersion: "0.
|
|
51185
|
+
currentVersion: "1.0.0"
|
|
50535
51186
|
}
|
|
50536
51187
|
});
|
|
50537
51188
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -50539,5 +51190,5 @@ export {
|
|
|
50539
51190
|
app
|
|
50540
51191
|
};
|
|
50541
51192
|
|
|
50542
|
-
//# debugId=
|
|
51193
|
+
//# debugId=A45C2E98D4191A1364756E2164756E21
|
|
50543
51194
|
//# sourceMappingURL=mcp-server.js.map
|