@hookdeck/outpost-sdk 0.6.0 → 0.7.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 +69 -37
- package/bin/mcp-server.js +2536 -2111
- package/bin/mcp-server.js.map +95 -93
- package/dist/commonjs/funcs/{schemasGet.d.ts → attemptsGet.d.ts} +7 -4
- package/dist/commonjs/funcs/attemptsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schemasGet.js → attemptsGet.js} +17 -11
- package/dist/commonjs/funcs/attemptsGet.js.map +1 -0
- package/dist/commonjs/funcs/attemptsList.d.ts +21 -0
- package/dist/commonjs/funcs/attemptsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/attemptsList.js +135 -0
- package/dist/commonjs/funcs/attemptsList.js.map +1 -0
- package/dist/commonjs/funcs/attemptsRetry.d.ts +21 -0
- package/dist/commonjs/funcs/attemptsRetry.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsListDeliveries.js → attemptsRetry.js} +20 -21
- package/dist/commonjs/funcs/attemptsRetry.js.map +1 -0
- package/dist/commonjs/funcs/{eventsGetByDestination.d.ts → destinationsGetAttempt.d.ts} +4 -4
- package/dist/{esm/funcs/eventsGetByDestination.d.ts.map → commonjs/funcs/destinationsGetAttempt.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{eventsGetByDestination.js → destinationsGetAttempt.js} +15 -11
- package/dist/commonjs/funcs/destinationsGetAttempt.js.map +1 -0
- package/dist/commonjs/funcs/{eventsListDeliveries.d.ts → destinationsListAttempts.d.ts} +5 -4
- package/dist/commonjs/funcs/destinationsListAttempts.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsListByDestination.js → destinationsListAttempts.js} +22 -12
- package/dist/commonjs/funcs/destinationsListAttempts.js.map +1 -0
- package/dist/commonjs/funcs/eventsGet.d.ts +4 -1
- package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +6 -4
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts +7 -3
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +20 -14
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts +2 -2
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js +3 -3
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.d.ts +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.js +5 -2
- package/dist/commonjs/funcs/tenantsListTenants.js.map +1 -1
- package/dist/commonjs/funcs/topicsList.d.ts +4 -4
- package/dist/commonjs/funcs/topicsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/topicsList.js +39 -22
- package/dist/commonjs/funcs/topicsList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +7 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +13 -17
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{eventsListDeliveries.js → attemptsGet.js} +13 -9
- package/dist/commonjs/mcp-server/tools/attemptsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/attemptsList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/attemptsList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{schemasGet.js → attemptsList.js} +12 -9
- package/dist/commonjs/mcp-server/tools/attemptsList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/attemptsRetry.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/attemptsRetry.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/attemptsRetry.js +68 -0
- package/dist/commonjs/mcp-server/tools/attemptsRetry.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/{schemasGet.d.ts → destinationsGetAttempt.d.ts} +3 -3
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{eventsGetByDestination.js → destinationsGetAttempt.js} +9 -9
- package/dist/commonjs/mcp-server/tools/{eventsGetByDestination.js.map → destinationsGetAttempt.js.map} +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsListAttempts.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsListAttempts.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{eventsListByDestination.js → destinationsListAttempts.js} +9 -9
- package/dist/commonjs/mcp-server/tools/destinationsListAttempts.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts +1 -1
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsGet.js +6 -2
- package/dist/commonjs/mcp-server/tools/eventsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.d.ts +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.js +6 -3
- package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.js +2 -2
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/topicsList.d.ts +1 -6
- package/dist/commonjs/mcp-server/tools/topicsList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/topicsList.js +4 -42
- package/dist/commonjs/mcp-server/tools/topicsList.js.map +1 -1
- package/dist/commonjs/models/components/attempt.d.ts +107 -0
- package/dist/commonjs/models/components/attempt.d.ts.map +1 -0
- package/dist/commonjs/models/components/attempt.js +124 -0
- package/dist/commonjs/models/components/attempt.js.map +1 -0
- package/dist/commonjs/models/components/attemptpaginatedresult.d.ts +30 -0
- package/dist/commonjs/models/components/attemptpaginatedresult.d.ts.map +1 -0
- package/dist/commonjs/models/components/attemptpaginatedresult.js +62 -0
- package/dist/commonjs/models/components/attemptpaginatedresult.js.map +1 -0
- package/dist/commonjs/models/components/destinationawskinesis.d.ts +1 -1
- package/dist/commonjs/models/components/destinationawss3.d.ts +1 -1
- package/dist/commonjs/models/components/destinationawssqs.d.ts +1 -1
- package/dist/commonjs/models/components/destinationazureservicebus.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreateawskinesis.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreateawss3.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreateawssqs.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreateazureservicebus.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreategcppubsub.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreatehookdeck.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreaterabbitmq.d.ts +1 -1
- package/dist/commonjs/models/components/destinationcreatewebhook.d.ts +1 -1
- package/dist/commonjs/models/components/destinationgcppubsub.d.ts +1 -1
- package/dist/commonjs/models/components/destinationhookdeck.d.ts +1 -1
- package/dist/commonjs/models/components/destinationrabbitmq.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdateawskinesis.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdateawss3.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdateawssqs.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdateazureservicebus.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdategcppubsub.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdatehookdeck.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdaterabbitmq.d.ts +1 -1
- package/dist/commonjs/models/components/destinationupdatewebhook.d.ts +1 -1
- package/dist/commonjs/models/components/destinationwebhook.d.ts +1 -1
- package/dist/commonjs/models/components/event.d.ts +5 -12
- package/dist/commonjs/models/components/event.d.ts.map +1 -1
- package/dist/commonjs/models/components/event.js +5 -12
- package/dist/commonjs/models/components/event.js.map +1 -1
- package/dist/commonjs/models/components/eventfull.d.ts +57 -0
- package/dist/commonjs/models/components/eventfull.d.ts.map +1 -0
- package/dist/commonjs/models/components/{tenantlistitem.js → eventfull.js} +29 -26
- package/dist/commonjs/models/components/eventfull.js.map +1 -0
- package/dist/commonjs/models/components/eventpaginatedresult.d.ts +30 -0
- package/dist/commonjs/models/components/eventpaginatedresult.d.ts.map +1 -0
- package/dist/commonjs/models/components/eventpaginatedresult.js +62 -0
- package/dist/commonjs/models/components/eventpaginatedresult.js.map +1 -0
- package/dist/commonjs/models/components/eventsummary.d.ts +48 -0
- package/dist/commonjs/models/components/eventsummary.d.ts.map +1 -0
- package/dist/commonjs/models/{operations/listtenanttopics.js → components/eventsummary.js} +27 -34
- package/dist/commonjs/models/components/eventsummary.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +8 -3
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +8 -3
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/publishrequest.d.ts +5 -0
- package/dist/commonjs/models/components/publishrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/publishrequest.js +3 -0
- package/dist/commonjs/models/components/publishrequest.js.map +1 -1
- package/dist/commonjs/models/components/publishresponse.d.ts +5 -0
- package/dist/commonjs/models/components/publishresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/publishresponse.js +11 -0
- package/dist/commonjs/models/components/publishresponse.js.map +1 -1
- package/dist/commonjs/models/components/retryrequest.d.ts +28 -0
- package/dist/commonjs/models/components/retryrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/retryrequest.js +71 -0
- package/dist/commonjs/models/components/retryrequest.js.map +1 -0
- package/dist/commonjs/models/components/seekpagination.d.ts +59 -0
- package/dist/commonjs/models/components/seekpagination.d.ts.map +1 -0
- package/dist/commonjs/models/components/seekpagination.js +86 -0
- package/dist/commonjs/models/components/seekpagination.js.map +1 -0
- package/dist/commonjs/models/components/tenantpaginatedresult.d.ts +35 -0
- package/dist/commonjs/models/components/tenantpaginatedresult.d.ts.map +1 -0
- package/dist/commonjs/models/components/{tenantlistresponse.js → tenantpaginatedresult.js} +16 -17
- package/dist/commonjs/models/components/tenantpaginatedresult.js.map +1 -0
- package/dist/commonjs/models/errors/apierrorresponse.d.ts +74 -0
- package/dist/commonjs/models/errors/apierrorresponse.d.ts.map +1 -0
- package/dist/commonjs/models/errors/apierrorresponse.js +96 -0
- package/dist/commonjs/models/errors/apierrorresponse.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/operations/adminlistattempts.d.ts +159 -0
- package/dist/commonjs/models/operations/adminlistattempts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/adminlistattempts.js +159 -0
- package/dist/commonjs/models/operations/adminlistattempts.js.map +1 -0
- package/dist/commonjs/models/operations/adminlistevents.d.ts +102 -0
- package/dist/commonjs/models/operations/adminlistevents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/adminlistevents.js +124 -0
- package/dist/commonjs/models/operations/adminlistevents.js.map +1 -0
- package/dist/commonjs/models/operations/getattempt.d.ts +47 -0
- package/dist/commonjs/models/operations/getattempt.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{gettenantevent.js → getattempt.js} +24 -38
- package/dist/commonjs/models/operations/getattempt.js.map +1 -0
- package/dist/commonjs/models/operations/getevent.d.ts +20 -0
- package/dist/commonjs/models/operations/getevent.d.ts.map +1 -0
- package/dist/commonjs/{mcp-server/tools/eventsRetry.js → models/operations/getevent.js} +29 -25
- package/dist/commonjs/models/operations/getevent.js.map +1 -0
- package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts +70 -0
- package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gettenantdestinationattempt.js +113 -0
- package/dist/commonjs/models/operations/gettenantdestinationattempt.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +6 -9
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +6 -9
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts +172 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.js +183 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.js.map +1 -0
- package/dist/commonjs/models/operations/listtenants.d.ts +38 -9
- package/dist/commonjs/models/operations/listtenants.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenants.js +36 -7
- package/dist/commonjs/models/operations/listtenants.js.map +1 -1
- package/dist/commonjs/sdk/attempts.d.ts +35 -0
- package/dist/commonjs/sdk/attempts.d.ts.map +1 -0
- package/dist/commonjs/sdk/attempts.js +50 -0
- package/dist/commonjs/sdk/attempts.js.map +1 -0
- package/dist/commonjs/sdk/destinations.d.ts +14 -0
- package/dist/commonjs/sdk/destinations.d.ts.map +1 -1
- package/dist/commonjs/sdk/destinations.js +20 -0
- package/dist/commonjs/sdk/destinations.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +8 -31
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +7 -42
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/schemas.d.ts +2 -16
- package/dist/commonjs/sdk/schemas.d.ts.map +1 -1
- package/dist/commonjs/sdk/schemas.js +2 -22
- package/dist/commonjs/sdk/schemas.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +5 -2
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +7 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/tenants.d.ts +1 -1
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/topics.d.ts +2 -10
- package/dist/commonjs/sdk/topics.d.ts.map +1 -1
- package/dist/commonjs/sdk/topics.js +3 -13
- package/dist/commonjs/sdk/topics.js.map +1 -1
- package/dist/esm/funcs/attemptsGet.d.ts +21 -0
- package/dist/esm/funcs/attemptsGet.d.ts.map +1 -0
- package/dist/esm/funcs/{schemasGet.js → attemptsGet.js} +17 -11
- package/dist/esm/funcs/attemptsGet.js.map +1 -0
- package/dist/esm/funcs/attemptsList.d.ts +21 -0
- package/dist/esm/funcs/attemptsList.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsListDeliveries.js → attemptsList.js} +32 -18
- package/dist/esm/funcs/attemptsList.js.map +1 -0
- package/dist/esm/funcs/attemptsRetry.d.ts +21 -0
- package/dist/esm/funcs/attemptsRetry.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsRetry.js → attemptsRetry.js} +20 -24
- package/dist/esm/funcs/attemptsRetry.js.map +1 -0
- package/dist/esm/funcs/{eventsGetByDestination.d.ts → destinationsGetAttempt.d.ts} +4 -4
- package/dist/{commonjs/funcs/eventsGetByDestination.d.ts.map → esm/funcs/destinationsGetAttempt.d.ts.map} +1 -1
- package/dist/esm/funcs/{eventsGetByDestination.js → destinationsGetAttempt.js} +15 -11
- package/dist/esm/funcs/destinationsGetAttempt.js.map +1 -0
- package/dist/esm/funcs/destinationsListAttempts.d.ts +19 -0
- package/dist/esm/funcs/destinationsListAttempts.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsListByDestination.js → destinationsListAttempts.js} +21 -11
- package/dist/esm/funcs/destinationsListAttempts.js.map +1 -0
- package/dist/esm/funcs/eventsGet.d.ts +4 -1
- package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGet.js +6 -4
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts +7 -3
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +21 -15
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts +2 -2
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js +3 -3
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/esm/funcs/tenantsListTenants.d.ts +1 -1
- package/dist/esm/funcs/tenantsListTenants.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsListTenants.js +5 -2
- package/dist/esm/funcs/tenantsListTenants.js.map +1 -1
- package/dist/esm/funcs/topicsList.d.ts +4 -4
- package/dist/esm/funcs/topicsList.d.ts.map +1 -1
- package/dist/esm/funcs/topicsList.js +39 -22
- package/dist/esm/funcs/topicsList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +7 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +13 -17
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/attemptsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/attemptsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/attemptsGet.js +32 -0
- package/dist/esm/mcp-server/tools/attemptsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/attemptsList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/attemptsList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/attemptsList.js +31 -0
- package/dist/esm/mcp-server/tools/attemptsList.js.map +1 -0
- package/dist/esm/mcp-server/tools/attemptsRetry.d.ts +8 -0
- package/dist/esm/mcp-server/tools/attemptsRetry.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/attemptsRetry.js +32 -0
- package/dist/esm/mcp-server/tools/attemptsRetry.js.map +1 -0
- package/dist/esm/mcp-server/tools/{schemasGet.d.ts → destinationsGetAttempt.d.ts} +3 -3
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{eventsGetByDestination.js → destinationsGetAttempt.js} +8 -8
- package/dist/esm/mcp-server/tools/{eventsGetByDestination.js.map → destinationsGetAttempt.js.map} +1 -1
- package/dist/esm/mcp-server/tools/destinationsListAttempts.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsListAttempts.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsListAttempts.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsListAttempts.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsGet.d.ts +1 -1
- package/dist/esm/mcp-server/tools/eventsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/eventsGet.js +6 -2
- package/dist/esm/mcp-server/tools/eventsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/eventsList.d.ts +1 -1
- package/dist/esm/mcp-server/tools/eventsList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/eventsList.js +6 -3
- package/dist/esm/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.js +2 -2
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/esm/mcp-server/tools/topicsList.d.ts +1 -6
- package/dist/esm/mcp-server/tools/topicsList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/topicsList.js +4 -9
- package/dist/esm/mcp-server/tools/topicsList.js.map +1 -1
- package/dist/esm/models/components/attempt.d.ts +107 -0
- package/dist/esm/models/components/attempt.d.ts.map +1 -0
- package/dist/esm/models/components/attempt.js +84 -0
- package/dist/esm/models/components/attempt.js.map +1 -0
- package/dist/esm/models/components/attemptpaginatedresult.d.ts +30 -0
- package/dist/esm/models/components/attemptpaginatedresult.d.ts.map +1 -0
- package/dist/esm/models/components/attemptpaginatedresult.js +24 -0
- package/dist/esm/models/components/attemptpaginatedresult.js.map +1 -0
- package/dist/esm/models/components/destinationawskinesis.d.ts +1 -1
- package/dist/esm/models/components/destinationawss3.d.ts +1 -1
- package/dist/esm/models/components/destinationawssqs.d.ts +1 -1
- package/dist/esm/models/components/destinationazureservicebus.d.ts +1 -1
- package/dist/esm/models/components/destinationcreateawskinesis.d.ts +1 -1
- package/dist/esm/models/components/destinationcreateawss3.d.ts +1 -1
- package/dist/esm/models/components/destinationcreateawssqs.d.ts +1 -1
- package/dist/esm/models/components/destinationcreateazureservicebus.d.ts +1 -1
- package/dist/esm/models/components/destinationcreategcppubsub.d.ts +1 -1
- package/dist/esm/models/components/destinationcreatehookdeck.d.ts +1 -1
- package/dist/esm/models/components/destinationcreaterabbitmq.d.ts +1 -1
- package/dist/esm/models/components/destinationcreatewebhook.d.ts +1 -1
- package/dist/esm/models/components/destinationgcppubsub.d.ts +1 -1
- package/dist/esm/models/components/destinationhookdeck.d.ts +1 -1
- package/dist/esm/models/components/destinationrabbitmq.d.ts +1 -1
- package/dist/esm/models/components/destinationupdateawskinesis.d.ts +1 -1
- package/dist/esm/models/components/destinationupdateawss3.d.ts +1 -1
- package/dist/esm/models/components/destinationupdateawssqs.d.ts +1 -1
- package/dist/esm/models/components/destinationupdateazureservicebus.d.ts +1 -1
- package/dist/esm/models/components/destinationupdategcppubsub.d.ts +1 -1
- package/dist/esm/models/components/destinationupdatehookdeck.d.ts +1 -1
- package/dist/esm/models/components/destinationupdaterabbitmq.d.ts +1 -1
- package/dist/esm/models/components/destinationupdatewebhook.d.ts +1 -1
- package/dist/esm/models/components/destinationwebhook.d.ts +1 -1
- package/dist/esm/models/components/event.d.ts +5 -12
- package/dist/esm/models/components/event.d.ts.map +1 -1
- package/dist/esm/models/components/event.js +4 -11
- package/dist/esm/models/components/event.js.map +1 -1
- package/dist/esm/models/components/eventfull.d.ts +57 -0
- package/dist/esm/models/components/eventfull.d.ts.map +1 -0
- package/dist/esm/models/components/eventfull.js +48 -0
- package/dist/esm/models/components/eventfull.js.map +1 -0
- package/dist/esm/models/components/eventpaginatedresult.d.ts +30 -0
- package/dist/esm/models/components/eventpaginatedresult.d.ts.map +1 -0
- package/dist/esm/models/components/eventpaginatedresult.js +24 -0
- package/dist/esm/models/components/eventpaginatedresult.js.map +1 -0
- package/dist/esm/models/components/eventsummary.d.ts +48 -0
- package/dist/esm/models/components/eventsummary.d.ts.map +1 -0
- package/dist/esm/models/components/eventsummary.js +46 -0
- package/dist/esm/models/components/eventsummary.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +8 -3
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +8 -3
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/publishrequest.d.ts +5 -0
- package/dist/esm/models/components/publishrequest.d.ts.map +1 -1
- package/dist/esm/models/components/publishrequest.js +3 -0
- package/dist/esm/models/components/publishrequest.js.map +1 -1
- package/dist/esm/models/components/publishresponse.d.ts +5 -0
- package/dist/esm/models/components/publishresponse.d.ts.map +1 -1
- package/dist/esm/models/components/publishresponse.js +11 -0
- package/dist/esm/models/components/publishresponse.js.map +1 -1
- package/dist/esm/models/components/retryrequest.d.ts +28 -0
- package/dist/esm/models/components/retryrequest.d.ts.map +1 -0
- package/dist/esm/models/components/retryrequest.js +33 -0
- package/dist/esm/models/components/retryrequest.js.map +1 -0
- package/dist/esm/models/components/seekpagination.d.ts +59 -0
- package/dist/esm/models/components/seekpagination.d.ts.map +1 -0
- package/dist/esm/models/components/seekpagination.js +48 -0
- package/dist/esm/models/components/seekpagination.js.map +1 -0
- package/dist/esm/models/components/tenantpaginatedresult.d.ts +35 -0
- package/dist/esm/models/components/tenantpaginatedresult.d.ts.map +1 -0
- package/dist/esm/models/components/tenantpaginatedresult.js +26 -0
- package/dist/esm/models/components/tenantpaginatedresult.js.map +1 -0
- package/dist/esm/models/errors/apierrorresponse.d.ts +74 -0
- package/dist/esm/models/errors/apierrorresponse.d.ts.map +1 -0
- package/dist/esm/models/errors/apierrorresponse.js +57 -0
- package/dist/esm/models/errors/apierrorresponse.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/operations/adminlistattempts.d.ts +159 -0
- package/dist/esm/models/operations/adminlistattempts.d.ts.map +1 -0
- package/dist/esm/models/operations/adminlistattempts.js +117 -0
- package/dist/esm/models/operations/adminlistattempts.js.map +1 -0
- package/dist/esm/models/operations/adminlistevents.d.ts +102 -0
- package/dist/esm/models/operations/adminlistevents.d.ts.map +1 -0
- package/dist/esm/models/operations/adminlistevents.js +84 -0
- package/dist/esm/models/operations/adminlistevents.js.map +1 -0
- package/dist/esm/models/operations/getattempt.d.ts +47 -0
- package/dist/esm/models/operations/getattempt.d.ts.map +1 -0
- package/dist/esm/models/operations/getattempt.js +41 -0
- package/dist/esm/models/operations/getattempt.js.map +1 -0
- package/dist/esm/models/operations/getevent.d.ts +20 -0
- package/dist/esm/models/operations/getevent.d.ts.map +1 -0
- package/dist/esm/models/operations/getevent.js +29 -0
- package/dist/esm/models/operations/getevent.js.map +1 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.d.ts +70 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.d.ts.map +1 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.js +71 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +6 -9
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +6 -9
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listtenantdestinationattempts.d.ts +172 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.d.ts.map +1 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.js +139 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.js.map +1 -0
- package/dist/esm/models/operations/listtenants.d.ts +38 -9
- package/dist/esm/models/operations/listtenants.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenants.js +35 -6
- package/dist/esm/models/operations/listtenants.js.map +1 -1
- package/dist/esm/sdk/attempts.d.ts +35 -0
- package/dist/esm/sdk/attempts.d.ts.map +1 -0
- package/dist/esm/sdk/attempts.js +46 -0
- package/dist/esm/sdk/attempts.js.map +1 -0
- package/dist/esm/sdk/destinations.d.ts +14 -0
- package/dist/esm/sdk/destinations.d.ts.map +1 -1
- package/dist/esm/sdk/destinations.js +20 -0
- package/dist/esm/sdk/destinations.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +8 -31
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +7 -42
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/schemas.d.ts +2 -16
- package/dist/esm/sdk/schemas.d.ts.map +1 -1
- package/dist/esm/sdk/schemas.js +2 -22
- package/dist/esm/sdk/schemas.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +5 -2
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +7 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/tenants.d.ts +1 -1
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/topics.d.ts +2 -10
- package/dist/esm/sdk/topics.d.ts.map +1 -1
- package/dist/esm/sdk/topics.js +3 -13
- package/dist/esm/sdk/topics.js.map +1 -1
- package/examples/package-lock.json +4 -4
- package/jsr.json +1 -1
- package/package.json +4 -4
- package/src/funcs/{schemasGet.ts → attemptsGet.ts} +22 -24
- package/src/funcs/attemptsList.ts +187 -0
- package/src/funcs/{eventsListDeliveries.ts → attemptsRetry.ts} +31 -35
- package/src/funcs/{eventsGetByDestination.ts → destinationsGetAttempt.ts} +20 -15
- package/src/funcs/{eventsListByDestination.ts → destinationsListAttempts.ts} +31 -16
- package/src/funcs/eventsGet.ts +8 -10
- package/src/funcs/eventsList.ts +33 -27
- package/src/funcs/schemasListDestinationTypesJwt.ts +3 -3
- package/src/funcs/tenantsListTenants.ts +8 -5
- package/src/funcs/topicsList.ts +72 -33
- package/src/lib/config.ts +7 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +13 -17
- package/src/mcp-server/tools/{eventsListDeliveries.ts → attemptsGet.ts} +11 -7
- package/src/mcp-server/tools/{schemasGet.ts → attemptsList.ts} +10 -7
- package/src/mcp-server/tools/attemptsRetry.ts +41 -0
- package/src/mcp-server/tools/{eventsGetByDestination.ts → destinationsGetAttempt.ts} +7 -7
- package/src/mcp-server/tools/{eventsListByDestination.ts → destinationsListAttempts.ts} +7 -7
- package/src/mcp-server/tools/eventsGet.ts +6 -2
- package/src/mcp-server/tools/eventsList.ts +6 -3
- package/src/mcp-server/tools/schemasListDestinationTypesJwt.ts +2 -2
- package/src/mcp-server/tools/topicsList.ts +4 -11
- package/src/models/components/attempt.ts +206 -0
- package/src/models/components/attemptpaginatedresult.ts +76 -0
- package/src/models/components/destinationawskinesis.ts +1 -1
- package/src/models/components/destinationawss3.ts +1 -1
- package/src/models/components/destinationawssqs.ts +1 -1
- package/src/models/components/destinationazureservicebus.ts +1 -1
- package/src/models/components/destinationcreateawskinesis.ts +1 -1
- package/src/models/components/destinationcreateawss3.ts +1 -1
- package/src/models/components/destinationcreateawssqs.ts +1 -1
- package/src/models/components/destinationcreateazureservicebus.ts +1 -1
- package/src/models/components/destinationcreategcppubsub.ts +1 -1
- package/src/models/components/destinationcreatehookdeck.ts +1 -1
- package/src/models/components/destinationcreaterabbitmq.ts +1 -1
- package/src/models/components/destinationcreatewebhook.ts +1 -1
- package/src/models/components/destinationgcppubsub.ts +1 -1
- package/src/models/components/destinationhookdeck.ts +1 -1
- package/src/models/components/destinationrabbitmq.ts +1 -1
- package/src/models/components/destinationupdateawskinesis.ts +1 -1
- package/src/models/components/destinationupdateawss3.ts +1 -1
- package/src/models/components/destinationupdateawssqs.ts +1 -1
- package/src/models/components/destinationupdateazureservicebus.ts +1 -1
- package/src/models/components/destinationupdategcppubsub.ts +1 -1
- package/src/models/components/destinationupdatehookdeck.ts +1 -1
- package/src/models/components/destinationupdaterabbitmq.ts +1 -1
- package/src/models/components/destinationupdatewebhook.ts +1 -1
- package/src/models/components/destinationwebhook.ts +1 -1
- package/src/models/components/event.ts +9 -18
- package/src/models/components/eventfull.ts +107 -0
- package/src/models/components/eventpaginatedresult.ts +76 -0
- package/src/models/components/eventsummary.ts +100 -0
- package/src/models/components/index.ts +8 -3
- package/src/models/components/publishrequest.ts +8 -0
- package/src/models/components/publishresponse.ts +16 -0
- package/src/models/components/retryrequest.ts +71 -0
- package/src/models/components/seekpagination.ts +109 -0
- package/src/models/components/tenantpaginatedresult.ts +83 -0
- package/src/models/errors/apierrorresponse.ts +129 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/adminlistattempts.ts +312 -0
- package/src/models/operations/adminlistevents.ts +207 -0
- package/src/models/operations/getattempt.ts +118 -0
- package/src/models/operations/getevent.ts +61 -0
- package/src/models/operations/gettenantdestinationattempt.ts +198 -0
- package/src/models/operations/index.ts +6 -9
- package/src/models/operations/listtenantdestinationattempts.ts +382 -0
- package/src/models/operations/listtenants.ts +73 -14
- package/src/sdk/attempts.ts +72 -0
- package/src/sdk/destinations.ts +36 -0
- package/src/sdk/events.ts +10 -77
- package/src/sdk/schemas.ts +2 -38
- package/src/sdk/sdk.ts +11 -5
- package/src/sdk/tenants.ts +1 -1
- package/src/sdk/topics.ts +2 -21
- package/dist/commonjs/funcs/eventsGetByDestination.js.map +0 -1
- package/dist/commonjs/funcs/eventsListByDestination.d.ts +0 -17
- package/dist/commonjs/funcs/eventsListByDestination.d.ts.map +0 -1
- package/dist/commonjs/funcs/eventsListByDestination.js.map +0 -1
- package/dist/commonjs/funcs/eventsListDeliveries.d.ts.map +0 -1
- package/dist/commonjs/funcs/eventsListDeliveries.js.map +0 -1
- package/dist/commonjs/funcs/eventsRetry.d.ts +0 -17
- package/dist/commonjs/funcs/eventsRetry.d.ts.map +0 -1
- package/dist/commonjs/funcs/eventsRetry.js +0 -124
- package/dist/commonjs/funcs/eventsRetry.js.map +0 -1
- package/dist/commonjs/funcs/schemasGet.d.ts.map +0 -1
- package/dist/commonjs/funcs/schemasGet.js.map +0 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts +0 -18
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts.map +0 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js +0 -117
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js.map +0 -1
- package/dist/commonjs/funcs/topicsListJwt.d.ts +0 -17
- package/dist/commonjs/funcs/topicsListJwt.d.ts.map +0 -1
- package/dist/commonjs/funcs/topicsListJwt.js +0 -133
- package/dist/commonjs/funcs/topicsListJwt.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsGetByDestination.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/eventsGetByDestination.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsRetry.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/eventsRetry.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/eventsRetry.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasGet.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasGet.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.js +0 -64
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/topicsListJwt.d.ts +0 -3
- package/dist/commonjs/mcp-server/tools/topicsListJwt.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/topicsListJwt.js +0 -26
- package/dist/commonjs/mcp-server/tools/topicsListJwt.js.map +0 -1
- package/dist/commonjs/models/components/deliveryattempt.d.ts +0 -39
- package/dist/commonjs/models/components/deliveryattempt.d.ts.map +0 -1
- package/dist/commonjs/models/components/deliveryattempt.js +0 -89
- package/dist/commonjs/models/components/deliveryattempt.js.map +0 -1
- package/dist/commonjs/models/components/tenantlistitem.d.ts +0 -52
- package/dist/commonjs/models/components/tenantlistitem.d.ts.map +0 -1
- package/dist/commonjs/models/components/tenantlistitem.js.map +0 -1
- package/dist/commonjs/models/components/tenantlistresponse.d.ts +0 -39
- package/dist/commonjs/models/components/tenantlistresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/tenantlistresponse.js.map +0 -1
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts +0 -58
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts.map +0 -1
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js +0 -108
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js.map +0 -1
- package/dist/commonjs/models/operations/gettenantevent.d.ts +0 -38
- package/dist/commonjs/models/operations/gettenantevent.d.ts.map +0 -1
- package/dist/commonjs/models/operations/gettenantevent.js.map +0 -1
- package/dist/commonjs/models/operations/gettenanteventbydestination.d.ts +0 -43
- package/dist/commonjs/models/operations/gettenanteventbydestination.d.ts.map +0 -1
- package/dist/commonjs/models/operations/gettenanteventbydestination.js +0 -99
- package/dist/commonjs/models/operations/gettenanteventbydestination.js.map +0 -1
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.d.ts +0 -33
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.js +0 -91
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.js.map +0 -1
- package/dist/commonjs/models/operations/listtenanteventdeliveries.d.ts +0 -38
- package/dist/commonjs/models/operations/listtenanteventdeliveries.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listtenanteventdeliveries.js +0 -95
- package/dist/commonjs/models/operations/listtenanteventdeliveries.js.map +0 -1
- package/dist/commonjs/models/operations/listtenantevents.d.ts +0 -128
- package/dist/commonjs/models/operations/listtenantevents.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listtenantevents.js +0 -155
- package/dist/commonjs/models/operations/listtenantevents.js.map +0 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts +0 -116
- package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.js +0 -143
- package/dist/commonjs/models/operations/listtenanteventsbydestination.js.map +0 -1
- package/dist/commonjs/models/operations/listtenanttopics.d.ts +0 -33
- package/dist/commonjs/models/operations/listtenanttopics.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listtenanttopics.js.map +0 -1
- package/dist/commonjs/models/operations/retrytenantevent.d.ts +0 -43
- package/dist/commonjs/models/operations/retrytenantevent.d.ts.map +0 -1
- package/dist/commonjs/models/operations/retrytenantevent.js +0 -99
- package/dist/commonjs/models/operations/retrytenantevent.js.map +0 -1
- package/dist/esm/funcs/eventsGetByDestination.js.map +0 -1
- package/dist/esm/funcs/eventsListByDestination.d.ts +0 -17
- package/dist/esm/funcs/eventsListByDestination.d.ts.map +0 -1
- package/dist/esm/funcs/eventsListByDestination.js.map +0 -1
- package/dist/esm/funcs/eventsListDeliveries.d.ts +0 -18
- package/dist/esm/funcs/eventsListDeliveries.d.ts.map +0 -1
- package/dist/esm/funcs/eventsListDeliveries.js.map +0 -1
- package/dist/esm/funcs/eventsRetry.d.ts +0 -17
- package/dist/esm/funcs/eventsRetry.d.ts.map +0 -1
- package/dist/esm/funcs/eventsRetry.js.map +0 -1
- package/dist/esm/funcs/schemasGet.d.ts +0 -18
- package/dist/esm/funcs/schemasGet.d.ts.map +0 -1
- package/dist/esm/funcs/schemasGet.js.map +0 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts +0 -18
- package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts.map +0 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.js +0 -81
- package/dist/esm/funcs/schemasListTenantDestinationTypes.js.map +0 -1
- package/dist/esm/funcs/topicsListJwt.d.ts +0 -17
- package/dist/esm/funcs/topicsListJwt.d.ts.map +0 -1
- package/dist/esm/funcs/topicsListJwt.js +0 -97
- package/dist/esm/funcs/topicsListJwt.js.map +0 -1
- package/dist/esm/mcp-server/tools/eventsGetByDestination.d.ts +0 -8
- package/dist/esm/mcp-server/tools/eventsGetByDestination.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/eventsListByDestination.d.ts +0 -8
- package/dist/esm/mcp-server/tools/eventsListByDestination.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/eventsListByDestination.js +0 -28
- package/dist/esm/mcp-server/tools/eventsListByDestination.js.map +0 -1
- package/dist/esm/mcp-server/tools/eventsListDeliveries.d.ts +0 -8
- package/dist/esm/mcp-server/tools/eventsListDeliveries.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/eventsListDeliveries.js +0 -28
- package/dist/esm/mcp-server/tools/eventsListDeliveries.js.map +0 -1
- package/dist/esm/mcp-server/tools/eventsRetry.d.ts +0 -8
- package/dist/esm/mcp-server/tools/eventsRetry.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/eventsRetry.js +0 -27
- package/dist/esm/mcp-server/tools/eventsRetry.js.map +0 -1
- package/dist/esm/mcp-server/tools/schemasGet.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/schemasGet.js +0 -28
- package/dist/esm/mcp-server/tools/schemasGet.js.map +0 -1
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.d.ts +0 -8
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.js +0 -28
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.js.map +0 -1
- package/dist/esm/mcp-server/tools/topicsListJwt.d.ts +0 -3
- package/dist/esm/mcp-server/tools/topicsListJwt.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/topicsListJwt.js +0 -23
- package/dist/esm/mcp-server/tools/topicsListJwt.js.map +0 -1
- package/dist/esm/models/components/deliveryattempt.d.ts +0 -39
- package/dist/esm/models/components/deliveryattempt.d.ts.map +0 -1
- package/dist/esm/models/components/deliveryattempt.js +0 -51
- package/dist/esm/models/components/deliveryattempt.js.map +0 -1
- package/dist/esm/models/components/tenantlistitem.d.ts +0 -52
- package/dist/esm/models/components/tenantlistitem.d.ts.map +0 -1
- package/dist/esm/models/components/tenantlistitem.js +0 -45
- package/dist/esm/models/components/tenantlistitem.js.map +0 -1
- package/dist/esm/models/components/tenantlistresponse.d.ts +0 -39
- package/dist/esm/models/components/tenantlistresponse.d.ts.map +0 -1
- package/dist/esm/models/components/tenantlistresponse.js +0 -27
- package/dist/esm/models/components/tenantlistresponse.js.map +0 -1
- package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts +0 -58
- package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts.map +0 -1
- package/dist/esm/models/operations/gettenantdestinationtypeschema.js +0 -68
- package/dist/esm/models/operations/gettenantdestinationtypeschema.js.map +0 -1
- package/dist/esm/models/operations/gettenantevent.d.ts +0 -38
- package/dist/esm/models/operations/gettenantevent.d.ts.map +0 -1
- package/dist/esm/models/operations/gettenantevent.js +0 -55
- package/dist/esm/models/operations/gettenantevent.js.map +0 -1
- package/dist/esm/models/operations/gettenanteventbydestination.d.ts +0 -43
- package/dist/esm/models/operations/gettenanteventbydestination.d.ts.map +0 -1
- package/dist/esm/models/operations/gettenanteventbydestination.js +0 -59
- package/dist/esm/models/operations/gettenanteventbydestination.js.map +0 -1
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.d.ts +0 -33
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.d.ts.map +0 -1
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.js +0 -51
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.js.map +0 -1
- package/dist/esm/models/operations/listtenanteventdeliveries.d.ts +0 -38
- package/dist/esm/models/operations/listtenanteventdeliveries.d.ts.map +0 -1
- package/dist/esm/models/operations/listtenanteventdeliveries.js +0 -55
- package/dist/esm/models/operations/listtenanteventdeliveries.js.map +0 -1
- package/dist/esm/models/operations/listtenantevents.d.ts +0 -128
- package/dist/esm/models/operations/listtenantevents.d.ts.map +0 -1
- package/dist/esm/models/operations/listtenantevents.js +0 -111
- package/dist/esm/models/operations/listtenantevents.js.map +0 -1
- package/dist/esm/models/operations/listtenanteventsbydestination.d.ts +0 -116
- package/dist/esm/models/operations/listtenanteventsbydestination.d.ts.map +0 -1
- package/dist/esm/models/operations/listtenanteventsbydestination.js +0 -101
- package/dist/esm/models/operations/listtenanteventsbydestination.js.map +0 -1
- package/dist/esm/models/operations/listtenanttopics.d.ts +0 -33
- package/dist/esm/models/operations/listtenanttopics.d.ts.map +0 -1
- package/dist/esm/models/operations/listtenanttopics.js +0 -51
- package/dist/esm/models/operations/listtenanttopics.js.map +0 -1
- package/dist/esm/models/operations/retrytenantevent.d.ts +0 -43
- package/dist/esm/models/operations/retrytenantevent.d.ts.map +0 -1
- package/dist/esm/models/operations/retrytenantevent.js +0 -59
- package/dist/esm/models/operations/retrytenantevent.js.map +0 -1
- package/src/funcs/eventsRetry.ts +0 -177
- package/src/funcs/schemasListTenantDestinationTypes.ts +0 -171
- package/src/funcs/topicsListJwt.ts +0 -206
- package/src/mcp-server/tools/eventsRetry.ts +0 -35
- package/src/mcp-server/tools/schemasListTenantDestinationTypes.ts +0 -39
- package/src/mcp-server/tools/topicsListJwt.ts +0 -30
- package/src/models/components/deliveryattempt.ts +0 -98
- package/src/models/components/tenantlistitem.ts +0 -103
- package/src/models/components/tenantlistresponse.ts +0 -84
- package/src/models/operations/gettenantdestinationtypeschema.ts +0 -155
- package/src/models/operations/gettenantevent.ts +0 -123
- package/src/models/operations/gettenanteventbydestination.ts +0 -138
- package/src/models/operations/listtenantdestinationtypeschemas.ts +0 -132
- package/src/models/operations/listtenanteventdeliveries.ts +0 -127
- package/src/models/operations/listtenantevents.ts +0 -291
- package/src/models/operations/listtenanteventsbydestination.ts +0 -268
- package/src/models/operations/listtenanttopics.ts +0 -114
- package/src/models/operations/retrytenantevent.ts +0 -132
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Filter events by topic(s). Can be specified multiple times or comma-separated.
|
|
14
|
+
*/
|
|
15
|
+
export type AdminListEventsTopic = string | Array<string>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Field to sort by.
|
|
19
|
+
*/
|
|
20
|
+
export const AdminListEventsOrderBy = {
|
|
21
|
+
Time: "time",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* Field to sort by.
|
|
25
|
+
*/
|
|
26
|
+
export type AdminListEventsOrderBy = ClosedEnum<typeof AdminListEventsOrderBy>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Sort direction.
|
|
30
|
+
*/
|
|
31
|
+
export const AdminListEventsDir = {
|
|
32
|
+
Asc: "asc",
|
|
33
|
+
Desc: "desc",
|
|
34
|
+
} as const;
|
|
35
|
+
/**
|
|
36
|
+
* Sort direction.
|
|
37
|
+
*/
|
|
38
|
+
export type AdminListEventsDir = ClosedEnum<typeof AdminListEventsDir>;
|
|
39
|
+
|
|
40
|
+
export type AdminListEventsRequest = {
|
|
41
|
+
/**
|
|
42
|
+
* Filter events by tenant ID. If not provided, returns events from all tenants.
|
|
43
|
+
*/
|
|
44
|
+
tenantId?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Filter events by topic(s). Can be specified multiple times or comma-separated.
|
|
47
|
+
*/
|
|
48
|
+
topic?: string | Array<string> | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Filter events with time >= value (RFC3339 or YYYY-MM-DD format).
|
|
51
|
+
*/
|
|
52
|
+
timeGte?: Date | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Filter events with time <= value (RFC3339 or YYYY-MM-DD format).
|
|
55
|
+
*/
|
|
56
|
+
timeLte?: Date | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Number of items per page (default 100, max 1000).
|
|
59
|
+
*/
|
|
60
|
+
limit?: number | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Cursor for next page of results.
|
|
63
|
+
*/
|
|
64
|
+
next?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Cursor for previous page of results.
|
|
67
|
+
*/
|
|
68
|
+
prev?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Field to sort by.
|
|
71
|
+
*/
|
|
72
|
+
orderBy?: AdminListEventsOrderBy | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Sort direction.
|
|
75
|
+
*/
|
|
76
|
+
dir?: AdminListEventsDir | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const AdminListEventsTopic$inboundSchema: z.ZodType<
|
|
81
|
+
AdminListEventsTopic,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
unknown
|
|
84
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
85
|
+
/** @internal */
|
|
86
|
+
export type AdminListEventsTopic$Outbound = string | Array<string>;
|
|
87
|
+
|
|
88
|
+
/** @internal */
|
|
89
|
+
export const AdminListEventsTopic$outboundSchema: z.ZodType<
|
|
90
|
+
AdminListEventsTopic$Outbound,
|
|
91
|
+
z.ZodTypeDef,
|
|
92
|
+
AdminListEventsTopic
|
|
93
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
94
|
+
|
|
95
|
+
export function adminListEventsTopicToJSON(
|
|
96
|
+
adminListEventsTopic: AdminListEventsTopic,
|
|
97
|
+
): string {
|
|
98
|
+
return JSON.stringify(
|
|
99
|
+
AdminListEventsTopic$outboundSchema.parse(adminListEventsTopic),
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
export function adminListEventsTopicFromJSON(
|
|
103
|
+
jsonString: string,
|
|
104
|
+
): SafeParseResult<AdminListEventsTopic, SDKValidationError> {
|
|
105
|
+
return safeParse(
|
|
106
|
+
jsonString,
|
|
107
|
+
(x) => AdminListEventsTopic$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
+
`Failed to parse 'AdminListEventsTopic' from JSON`,
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
export const AdminListEventsOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
114
|
+
typeof AdminListEventsOrderBy
|
|
115
|
+
> = z.nativeEnum(AdminListEventsOrderBy);
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const AdminListEventsOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
118
|
+
typeof AdminListEventsOrderBy
|
|
119
|
+
> = AdminListEventsOrderBy$inboundSchema;
|
|
120
|
+
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const AdminListEventsDir$inboundSchema: z.ZodNativeEnum<
|
|
123
|
+
typeof AdminListEventsDir
|
|
124
|
+
> = z.nativeEnum(AdminListEventsDir);
|
|
125
|
+
/** @internal */
|
|
126
|
+
export const AdminListEventsDir$outboundSchema: z.ZodNativeEnum<
|
|
127
|
+
typeof AdminListEventsDir
|
|
128
|
+
> = AdminListEventsDir$inboundSchema;
|
|
129
|
+
|
|
130
|
+
/** @internal */
|
|
131
|
+
export const AdminListEventsRequest$inboundSchema: z.ZodType<
|
|
132
|
+
AdminListEventsRequest,
|
|
133
|
+
z.ZodTypeDef,
|
|
134
|
+
unknown
|
|
135
|
+
> = z.object({
|
|
136
|
+
tenant_id: z.string().optional(),
|
|
137
|
+
topic: z.union([z.string(), z.array(z.string())]).optional(),
|
|
138
|
+
"time[gte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
|
+
.optional(),
|
|
140
|
+
"time[lte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
|
+
.optional(),
|
|
142
|
+
limit: z.number().int().default(100),
|
|
143
|
+
next: z.string().optional(),
|
|
144
|
+
prev: z.string().optional(),
|
|
145
|
+
order_by: AdminListEventsOrderBy$inboundSchema.default("time"),
|
|
146
|
+
dir: AdminListEventsDir$inboundSchema.default("desc"),
|
|
147
|
+
}).transform((v) => {
|
|
148
|
+
return remap$(v, {
|
|
149
|
+
"tenant_id": "tenantId",
|
|
150
|
+
"time[gte]": "timeGte",
|
|
151
|
+
"time[lte]": "timeLte",
|
|
152
|
+
"order_by": "orderBy",
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
/** @internal */
|
|
156
|
+
export type AdminListEventsRequest$Outbound = {
|
|
157
|
+
tenant_id?: string | undefined;
|
|
158
|
+
topic?: string | Array<string> | undefined;
|
|
159
|
+
"time[gte]"?: string | undefined;
|
|
160
|
+
"time[lte]"?: string | undefined;
|
|
161
|
+
limit: number;
|
|
162
|
+
next?: string | undefined;
|
|
163
|
+
prev?: string | undefined;
|
|
164
|
+
order_by: string;
|
|
165
|
+
dir: string;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/** @internal */
|
|
169
|
+
export const AdminListEventsRequest$outboundSchema: z.ZodType<
|
|
170
|
+
AdminListEventsRequest$Outbound,
|
|
171
|
+
z.ZodTypeDef,
|
|
172
|
+
AdminListEventsRequest
|
|
173
|
+
> = z.object({
|
|
174
|
+
tenantId: z.string().optional(),
|
|
175
|
+
topic: z.union([z.string(), z.array(z.string())]).optional(),
|
|
176
|
+
timeGte: z.date().transform(v => v.toISOString()).optional(),
|
|
177
|
+
timeLte: z.date().transform(v => v.toISOString()).optional(),
|
|
178
|
+
limit: z.number().int().default(100),
|
|
179
|
+
next: z.string().optional(),
|
|
180
|
+
prev: z.string().optional(),
|
|
181
|
+
orderBy: AdminListEventsOrderBy$outboundSchema.default("time"),
|
|
182
|
+
dir: AdminListEventsDir$outboundSchema.default("desc"),
|
|
183
|
+
}).transform((v) => {
|
|
184
|
+
return remap$(v, {
|
|
185
|
+
tenantId: "tenant_id",
|
|
186
|
+
timeGte: "time[gte]",
|
|
187
|
+
timeLte: "time[lte]",
|
|
188
|
+
orderBy: "order_by",
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
export function adminListEventsRequestToJSON(
|
|
193
|
+
adminListEventsRequest: AdminListEventsRequest,
|
|
194
|
+
): string {
|
|
195
|
+
return JSON.stringify(
|
|
196
|
+
AdminListEventsRequest$outboundSchema.parse(adminListEventsRequest),
|
|
197
|
+
);
|
|
198
|
+
}
|
|
199
|
+
export function adminListEventsRequestFromJSON(
|
|
200
|
+
jsonString: string,
|
|
201
|
+
): SafeParseResult<AdminListEventsRequest, SDKValidationError> {
|
|
202
|
+
return safeParse(
|
|
203
|
+
jsonString,
|
|
204
|
+
(x) => AdminListEventsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
205
|
+
`Failed to parse 'AdminListEventsRequest' from JSON`,
|
|
206
|
+
);
|
|
207
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
|
|
16
|
+
* - `event.data`: Include full event with payload data
|
|
17
|
+
* - `response_data`: Include response body and headers
|
|
18
|
+
*/
|
|
19
|
+
export type GetAttemptInclude = string | Array<string>;
|
|
20
|
+
|
|
21
|
+
export type GetAttemptRequest = {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the attempt.
|
|
24
|
+
*/
|
|
25
|
+
attemptId: string;
|
|
26
|
+
/**
|
|
27
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
|
|
31
|
+
* - `event.data`: Include full event with payload data
|
|
32
|
+
* - `response_data`: Include response body and headers
|
|
33
|
+
*/
|
|
34
|
+
include?: string | Array<string> | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const GetAttemptInclude$inboundSchema: z.ZodType<
|
|
39
|
+
GetAttemptInclude,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type GetAttemptInclude$Outbound = string | Array<string>;
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const GetAttemptInclude$outboundSchema: z.ZodType<
|
|
48
|
+
GetAttemptInclude$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
GetAttemptInclude
|
|
51
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
52
|
+
|
|
53
|
+
export function getAttemptIncludeToJSON(
|
|
54
|
+
getAttemptInclude: GetAttemptInclude,
|
|
55
|
+
): string {
|
|
56
|
+
return JSON.stringify(
|
|
57
|
+
GetAttemptInclude$outboundSchema.parse(getAttemptInclude),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export function getAttemptIncludeFromJSON(
|
|
61
|
+
jsonString: string,
|
|
62
|
+
): SafeParseResult<GetAttemptInclude, SDKValidationError> {
|
|
63
|
+
return safeParse(
|
|
64
|
+
jsonString,
|
|
65
|
+
(x) => GetAttemptInclude$inboundSchema.parse(JSON.parse(x)),
|
|
66
|
+
`Failed to parse 'GetAttemptInclude' from JSON`,
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const GetAttemptRequest$inboundSchema: z.ZodType<
|
|
72
|
+
GetAttemptRequest,
|
|
73
|
+
z.ZodTypeDef,
|
|
74
|
+
unknown
|
|
75
|
+
> = z.object({
|
|
76
|
+
attempt_id: z.string(),
|
|
77
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
78
|
+
}).transform((v) => {
|
|
79
|
+
return remap$(v, {
|
|
80
|
+
"attempt_id": "attemptId",
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
/** @internal */
|
|
84
|
+
export type GetAttemptRequest$Outbound = {
|
|
85
|
+
attempt_id: string;
|
|
86
|
+
include?: string | Array<string> | undefined;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/** @internal */
|
|
90
|
+
export const GetAttemptRequest$outboundSchema: z.ZodType<
|
|
91
|
+
GetAttemptRequest$Outbound,
|
|
92
|
+
z.ZodTypeDef,
|
|
93
|
+
GetAttemptRequest
|
|
94
|
+
> = z.object({
|
|
95
|
+
attemptId: z.string(),
|
|
96
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
97
|
+
}).transform((v) => {
|
|
98
|
+
return remap$(v, {
|
|
99
|
+
attemptId: "attempt_id",
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
export function getAttemptRequestToJSON(
|
|
104
|
+
getAttemptRequest: GetAttemptRequest,
|
|
105
|
+
): string {
|
|
106
|
+
return JSON.stringify(
|
|
107
|
+
GetAttemptRequest$outboundSchema.parse(getAttemptRequest),
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
export function getAttemptRequestFromJSON(
|
|
111
|
+
jsonString: string,
|
|
112
|
+
): SafeParseResult<GetAttemptRequest, SDKValidationError> {
|
|
113
|
+
return safeParse(
|
|
114
|
+
jsonString,
|
|
115
|
+
(x) => GetAttemptRequest$inboundSchema.parse(JSON.parse(x)),
|
|
116
|
+
`Failed to parse 'GetAttemptRequest' from JSON`,
|
|
117
|
+
);
|
|
118
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetEventRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* The ID of the event.
|
|
14
|
+
*/
|
|
15
|
+
eventId: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const GetEventRequest$inboundSchema: z.ZodType<
|
|
20
|
+
GetEventRequest,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
event_id: z.string(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"event_id": "eventId",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type GetEventRequest$Outbound = {
|
|
32
|
+
event_id: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const GetEventRequest$outboundSchema: z.ZodType<
|
|
37
|
+
GetEventRequest$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
GetEventRequest
|
|
40
|
+
> = z.object({
|
|
41
|
+
eventId: z.string(),
|
|
42
|
+
}).transform((v) => {
|
|
43
|
+
return remap$(v, {
|
|
44
|
+
eventId: "event_id",
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function getEventRequestToJSON(
|
|
49
|
+
getEventRequest: GetEventRequest,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(GetEventRequest$outboundSchema.parse(getEventRequest));
|
|
52
|
+
}
|
|
53
|
+
export function getEventRequestFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<GetEventRequest, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => GetEventRequest$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'GetEventRequest' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetTenantDestinationAttemptGlobals = {
|
|
12
|
+
tenantId?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* - `event`: Include event summary
|
|
20
|
+
* - `event.data`: Include full event with payload data
|
|
21
|
+
* - `response_data`: Include response body and headers
|
|
22
|
+
*/
|
|
23
|
+
export type GetTenantDestinationAttemptInclude = string | Array<string>;
|
|
24
|
+
|
|
25
|
+
export type GetTenantDestinationAttemptRequest = {
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
28
|
+
*/
|
|
29
|
+
tenantId?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* The ID of the destination.
|
|
32
|
+
*/
|
|
33
|
+
destinationId: string;
|
|
34
|
+
/**
|
|
35
|
+
* The ID of the attempt.
|
|
36
|
+
*/
|
|
37
|
+
attemptId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* - `event`: Include event summary
|
|
43
|
+
* - `event.data`: Include full event with payload data
|
|
44
|
+
* - `response_data`: Include response body and headers
|
|
45
|
+
*/
|
|
46
|
+
include?: string | Array<string> | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const GetTenantDestinationAttemptGlobals$inboundSchema: z.ZodType<
|
|
51
|
+
GetTenantDestinationAttemptGlobals,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
unknown
|
|
54
|
+
> = z.object({
|
|
55
|
+
tenant_id: z.string().optional(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return remap$(v, {
|
|
58
|
+
"tenant_id": "tenantId",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type GetTenantDestinationAttemptGlobals$Outbound = {
|
|
63
|
+
tenant_id?: string | undefined;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
export const GetTenantDestinationAttemptGlobals$outboundSchema: z.ZodType<
|
|
68
|
+
GetTenantDestinationAttemptGlobals$Outbound,
|
|
69
|
+
z.ZodTypeDef,
|
|
70
|
+
GetTenantDestinationAttemptGlobals
|
|
71
|
+
> = z.object({
|
|
72
|
+
tenantId: z.string().optional(),
|
|
73
|
+
}).transform((v) => {
|
|
74
|
+
return remap$(v, {
|
|
75
|
+
tenantId: "tenant_id",
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export function getTenantDestinationAttemptGlobalsToJSON(
|
|
80
|
+
getTenantDestinationAttemptGlobals: GetTenantDestinationAttemptGlobals,
|
|
81
|
+
): string {
|
|
82
|
+
return JSON.stringify(
|
|
83
|
+
GetTenantDestinationAttemptGlobals$outboundSchema.parse(
|
|
84
|
+
getTenantDestinationAttemptGlobals,
|
|
85
|
+
),
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
export function getTenantDestinationAttemptGlobalsFromJSON(
|
|
89
|
+
jsonString: string,
|
|
90
|
+
): SafeParseResult<GetTenantDestinationAttemptGlobals, SDKValidationError> {
|
|
91
|
+
return safeParse(
|
|
92
|
+
jsonString,
|
|
93
|
+
(x) =>
|
|
94
|
+
GetTenantDestinationAttemptGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
95
|
+
`Failed to parse 'GetTenantDestinationAttemptGlobals' from JSON`,
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/** @internal */
|
|
100
|
+
export const GetTenantDestinationAttemptInclude$inboundSchema: z.ZodType<
|
|
101
|
+
GetTenantDestinationAttemptInclude,
|
|
102
|
+
z.ZodTypeDef,
|
|
103
|
+
unknown
|
|
104
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
105
|
+
/** @internal */
|
|
106
|
+
export type GetTenantDestinationAttemptInclude$Outbound =
|
|
107
|
+
| string
|
|
108
|
+
| Array<string>;
|
|
109
|
+
|
|
110
|
+
/** @internal */
|
|
111
|
+
export const GetTenantDestinationAttemptInclude$outboundSchema: z.ZodType<
|
|
112
|
+
GetTenantDestinationAttemptInclude$Outbound,
|
|
113
|
+
z.ZodTypeDef,
|
|
114
|
+
GetTenantDestinationAttemptInclude
|
|
115
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
116
|
+
|
|
117
|
+
export function getTenantDestinationAttemptIncludeToJSON(
|
|
118
|
+
getTenantDestinationAttemptInclude: GetTenantDestinationAttemptInclude,
|
|
119
|
+
): string {
|
|
120
|
+
return JSON.stringify(
|
|
121
|
+
GetTenantDestinationAttemptInclude$outboundSchema.parse(
|
|
122
|
+
getTenantDestinationAttemptInclude,
|
|
123
|
+
),
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
export function getTenantDestinationAttemptIncludeFromJSON(
|
|
127
|
+
jsonString: string,
|
|
128
|
+
): SafeParseResult<GetTenantDestinationAttemptInclude, SDKValidationError> {
|
|
129
|
+
return safeParse(
|
|
130
|
+
jsonString,
|
|
131
|
+
(x) =>
|
|
132
|
+
GetTenantDestinationAttemptInclude$inboundSchema.parse(JSON.parse(x)),
|
|
133
|
+
`Failed to parse 'GetTenantDestinationAttemptInclude' from JSON`,
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** @internal */
|
|
138
|
+
export const GetTenantDestinationAttemptRequest$inboundSchema: z.ZodType<
|
|
139
|
+
GetTenantDestinationAttemptRequest,
|
|
140
|
+
z.ZodTypeDef,
|
|
141
|
+
unknown
|
|
142
|
+
> = z.object({
|
|
143
|
+
tenant_id: z.string().optional(),
|
|
144
|
+
destination_id: z.string(),
|
|
145
|
+
attempt_id: z.string(),
|
|
146
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
147
|
+
}).transform((v) => {
|
|
148
|
+
return remap$(v, {
|
|
149
|
+
"tenant_id": "tenantId",
|
|
150
|
+
"destination_id": "destinationId",
|
|
151
|
+
"attempt_id": "attemptId",
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
/** @internal */
|
|
155
|
+
export type GetTenantDestinationAttemptRequest$Outbound = {
|
|
156
|
+
tenant_id?: string | undefined;
|
|
157
|
+
destination_id: string;
|
|
158
|
+
attempt_id: string;
|
|
159
|
+
include?: string | Array<string> | undefined;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/** @internal */
|
|
163
|
+
export const GetTenantDestinationAttemptRequest$outboundSchema: z.ZodType<
|
|
164
|
+
GetTenantDestinationAttemptRequest$Outbound,
|
|
165
|
+
z.ZodTypeDef,
|
|
166
|
+
GetTenantDestinationAttemptRequest
|
|
167
|
+
> = z.object({
|
|
168
|
+
tenantId: z.string().optional(),
|
|
169
|
+
destinationId: z.string(),
|
|
170
|
+
attemptId: z.string(),
|
|
171
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
172
|
+
}).transform((v) => {
|
|
173
|
+
return remap$(v, {
|
|
174
|
+
tenantId: "tenant_id",
|
|
175
|
+
destinationId: "destination_id",
|
|
176
|
+
attemptId: "attempt_id",
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
export function getTenantDestinationAttemptRequestToJSON(
|
|
181
|
+
getTenantDestinationAttemptRequest: GetTenantDestinationAttemptRequest,
|
|
182
|
+
): string {
|
|
183
|
+
return JSON.stringify(
|
|
184
|
+
GetTenantDestinationAttemptRequest$outboundSchema.parse(
|
|
185
|
+
getTenantDestinationAttemptRequest,
|
|
186
|
+
),
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
export function getTenantDestinationAttemptRequestFromJSON(
|
|
190
|
+
jsonString: string,
|
|
191
|
+
): SafeParseResult<GetTenantDestinationAttemptRequest, SDKValidationError> {
|
|
192
|
+
return safeParse(
|
|
193
|
+
jsonString,
|
|
194
|
+
(x) =>
|
|
195
|
+
GetTenantDestinationAttemptRequest$inboundSchema.parse(JSON.parse(x)),
|
|
196
|
+
`Failed to parse 'GetTenantDestinationAttemptRequest' from JSON`,
|
|
197
|
+
);
|
|
198
|
+
}
|
|
@@ -2,27 +2,24 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./adminlistattempts.js";
|
|
6
|
+
export * from "./adminlistevents.js";
|
|
5
7
|
export * from "./createtenantdestination.js";
|
|
6
8
|
export * from "./deletetenant.js";
|
|
7
9
|
export * from "./deletetenantdestination.js";
|
|
8
10
|
export * from "./disabletenantdestination.js";
|
|
9
11
|
export * from "./enabletenantdestination.js";
|
|
12
|
+
export * from "./getattempt.js";
|
|
10
13
|
export * from "./getdestinationtypeschema.js";
|
|
14
|
+
export * from "./getevent.js";
|
|
11
15
|
export * from "./gettenant.js";
|
|
12
16
|
export * from "./gettenantdestination.js";
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./gettenantevent.js";
|
|
15
|
-
export * from "./gettenanteventbydestination.js";
|
|
17
|
+
export * from "./gettenantdestinationattempt.js";
|
|
16
18
|
export * from "./gettenantportalurl.js";
|
|
17
19
|
export * from "./gettenanttoken.js";
|
|
18
20
|
export * from "./healthcheck.js";
|
|
21
|
+
export * from "./listtenantdestinationattempts.js";
|
|
19
22
|
export * from "./listtenantdestinations.js";
|
|
20
|
-
export * from "./listtenantdestinationtypeschemas.js";
|
|
21
|
-
export * from "./listtenanteventdeliveries.js";
|
|
22
|
-
export * from "./listtenantevents.js";
|
|
23
|
-
export * from "./listtenanteventsbydestination.js";
|
|
24
23
|
export * from "./listtenants.js";
|
|
25
|
-
export * from "./listtenanttopics.js";
|
|
26
|
-
export * from "./retrytenantevent.js";
|
|
27
24
|
export * from "./updatetenantdestination.js";
|
|
28
25
|
export * from "./upserttenant.js";
|