@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,382 @@
|
|
|
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
|
+
export type ListTenantDestinationAttemptsGlobals = {
|
|
13
|
+
tenantId?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Filter attempts by status.
|
|
18
|
+
*/
|
|
19
|
+
export const ListTenantDestinationAttemptsStatus = {
|
|
20
|
+
Success: "success",
|
|
21
|
+
Failed: "failed",
|
|
22
|
+
} as const;
|
|
23
|
+
/**
|
|
24
|
+
* Filter attempts by status.
|
|
25
|
+
*/
|
|
26
|
+
export type ListTenantDestinationAttemptsStatus = ClosedEnum<
|
|
27
|
+
typeof ListTenantDestinationAttemptsStatus
|
|
28
|
+
>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Filter attempts by event topic(s). Can be specified multiple times or comma-separated.
|
|
32
|
+
*/
|
|
33
|
+
export type ListTenantDestinationAttemptsTopic = string | Array<string>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
|
|
40
|
+
* - `event.data`: Include full event with payload data
|
|
41
|
+
* - `response_data`: Include response body and headers
|
|
42
|
+
*/
|
|
43
|
+
export type ListTenantDestinationAttemptsInclude = string | Array<string>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Field to sort by.
|
|
47
|
+
*/
|
|
48
|
+
export const ListTenantDestinationAttemptsOrderBy = {
|
|
49
|
+
Time: "time",
|
|
50
|
+
} as const;
|
|
51
|
+
/**
|
|
52
|
+
* Field to sort by.
|
|
53
|
+
*/
|
|
54
|
+
export type ListTenantDestinationAttemptsOrderBy = ClosedEnum<
|
|
55
|
+
typeof ListTenantDestinationAttemptsOrderBy
|
|
56
|
+
>;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Sort direction.
|
|
60
|
+
*/
|
|
61
|
+
export const ListTenantDestinationAttemptsDir = {
|
|
62
|
+
Asc: "asc",
|
|
63
|
+
Desc: "desc",
|
|
64
|
+
} as const;
|
|
65
|
+
/**
|
|
66
|
+
* Sort direction.
|
|
67
|
+
*/
|
|
68
|
+
export type ListTenantDestinationAttemptsDir = ClosedEnum<
|
|
69
|
+
typeof ListTenantDestinationAttemptsDir
|
|
70
|
+
>;
|
|
71
|
+
|
|
72
|
+
export type ListTenantDestinationAttemptsRequest = {
|
|
73
|
+
/**
|
|
74
|
+
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
75
|
+
*/
|
|
76
|
+
tenantId?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the destination.
|
|
79
|
+
*/
|
|
80
|
+
destinationId: string;
|
|
81
|
+
/**
|
|
82
|
+
* Filter attempts by event ID.
|
|
83
|
+
*/
|
|
84
|
+
eventId?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Filter attempts by status.
|
|
87
|
+
*/
|
|
88
|
+
status?: ListTenantDestinationAttemptsStatus | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Filter attempts by event topic(s). Can be specified multiple times or comma-separated.
|
|
91
|
+
*/
|
|
92
|
+
topic?: string | Array<string> | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format).
|
|
95
|
+
*/
|
|
96
|
+
timeGte?: Date | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format).
|
|
99
|
+
*/
|
|
100
|
+
timeLte?: Date | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Number of items per page (default 100, max 1000).
|
|
103
|
+
*/
|
|
104
|
+
limit?: number | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Cursor for next page of results.
|
|
107
|
+
*/
|
|
108
|
+
next?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Cursor for previous page of results.
|
|
111
|
+
*/
|
|
112
|
+
prev?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
115
|
+
*
|
|
116
|
+
* @remarks
|
|
117
|
+
* - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
|
|
118
|
+
* - `event.data`: Include full event with payload data
|
|
119
|
+
* - `response_data`: Include response body and headers
|
|
120
|
+
*/
|
|
121
|
+
include?: string | Array<string> | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Field to sort by.
|
|
124
|
+
*/
|
|
125
|
+
orderBy?: ListTenantDestinationAttemptsOrderBy | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Sort direction.
|
|
128
|
+
*/
|
|
129
|
+
dir?: ListTenantDestinationAttemptsDir | undefined;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/** @internal */
|
|
133
|
+
export const ListTenantDestinationAttemptsGlobals$inboundSchema: z.ZodType<
|
|
134
|
+
ListTenantDestinationAttemptsGlobals,
|
|
135
|
+
z.ZodTypeDef,
|
|
136
|
+
unknown
|
|
137
|
+
> = z.object({
|
|
138
|
+
tenant_id: z.string().optional(),
|
|
139
|
+
}).transform((v) => {
|
|
140
|
+
return remap$(v, {
|
|
141
|
+
"tenant_id": "tenantId",
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
/** @internal */
|
|
145
|
+
export type ListTenantDestinationAttemptsGlobals$Outbound = {
|
|
146
|
+
tenant_id?: string | undefined;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/** @internal */
|
|
150
|
+
export const ListTenantDestinationAttemptsGlobals$outboundSchema: z.ZodType<
|
|
151
|
+
ListTenantDestinationAttemptsGlobals$Outbound,
|
|
152
|
+
z.ZodTypeDef,
|
|
153
|
+
ListTenantDestinationAttemptsGlobals
|
|
154
|
+
> = z.object({
|
|
155
|
+
tenantId: z.string().optional(),
|
|
156
|
+
}).transform((v) => {
|
|
157
|
+
return remap$(v, {
|
|
158
|
+
tenantId: "tenant_id",
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
export function listTenantDestinationAttemptsGlobalsToJSON(
|
|
163
|
+
listTenantDestinationAttemptsGlobals: ListTenantDestinationAttemptsGlobals,
|
|
164
|
+
): string {
|
|
165
|
+
return JSON.stringify(
|
|
166
|
+
ListTenantDestinationAttemptsGlobals$outboundSchema.parse(
|
|
167
|
+
listTenantDestinationAttemptsGlobals,
|
|
168
|
+
),
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
export function listTenantDestinationAttemptsGlobalsFromJSON(
|
|
172
|
+
jsonString: string,
|
|
173
|
+
): SafeParseResult<ListTenantDestinationAttemptsGlobals, SDKValidationError> {
|
|
174
|
+
return safeParse(
|
|
175
|
+
jsonString,
|
|
176
|
+
(x) =>
|
|
177
|
+
ListTenantDestinationAttemptsGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
178
|
+
`Failed to parse 'ListTenantDestinationAttemptsGlobals' from JSON`,
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/** @internal */
|
|
183
|
+
export const ListTenantDestinationAttemptsStatus$inboundSchema: z.ZodNativeEnum<
|
|
184
|
+
typeof ListTenantDestinationAttemptsStatus
|
|
185
|
+
> = z.nativeEnum(ListTenantDestinationAttemptsStatus);
|
|
186
|
+
/** @internal */
|
|
187
|
+
export const ListTenantDestinationAttemptsStatus$outboundSchema:
|
|
188
|
+
z.ZodNativeEnum<typeof ListTenantDestinationAttemptsStatus> =
|
|
189
|
+
ListTenantDestinationAttemptsStatus$inboundSchema;
|
|
190
|
+
|
|
191
|
+
/** @internal */
|
|
192
|
+
export const ListTenantDestinationAttemptsTopic$inboundSchema: z.ZodType<
|
|
193
|
+
ListTenantDestinationAttemptsTopic,
|
|
194
|
+
z.ZodTypeDef,
|
|
195
|
+
unknown
|
|
196
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
197
|
+
/** @internal */
|
|
198
|
+
export type ListTenantDestinationAttemptsTopic$Outbound =
|
|
199
|
+
| string
|
|
200
|
+
| Array<string>;
|
|
201
|
+
|
|
202
|
+
/** @internal */
|
|
203
|
+
export const ListTenantDestinationAttemptsTopic$outboundSchema: z.ZodType<
|
|
204
|
+
ListTenantDestinationAttemptsTopic$Outbound,
|
|
205
|
+
z.ZodTypeDef,
|
|
206
|
+
ListTenantDestinationAttemptsTopic
|
|
207
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
208
|
+
|
|
209
|
+
export function listTenantDestinationAttemptsTopicToJSON(
|
|
210
|
+
listTenantDestinationAttemptsTopic: ListTenantDestinationAttemptsTopic,
|
|
211
|
+
): string {
|
|
212
|
+
return JSON.stringify(
|
|
213
|
+
ListTenantDestinationAttemptsTopic$outboundSchema.parse(
|
|
214
|
+
listTenantDestinationAttemptsTopic,
|
|
215
|
+
),
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
export function listTenantDestinationAttemptsTopicFromJSON(
|
|
219
|
+
jsonString: string,
|
|
220
|
+
): SafeParseResult<ListTenantDestinationAttemptsTopic, SDKValidationError> {
|
|
221
|
+
return safeParse(
|
|
222
|
+
jsonString,
|
|
223
|
+
(x) =>
|
|
224
|
+
ListTenantDestinationAttemptsTopic$inboundSchema.parse(JSON.parse(x)),
|
|
225
|
+
`Failed to parse 'ListTenantDestinationAttemptsTopic' from JSON`,
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/** @internal */
|
|
230
|
+
export const ListTenantDestinationAttemptsInclude$inboundSchema: z.ZodType<
|
|
231
|
+
ListTenantDestinationAttemptsInclude,
|
|
232
|
+
z.ZodTypeDef,
|
|
233
|
+
unknown
|
|
234
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
235
|
+
/** @internal */
|
|
236
|
+
export type ListTenantDestinationAttemptsInclude$Outbound =
|
|
237
|
+
| string
|
|
238
|
+
| Array<string>;
|
|
239
|
+
|
|
240
|
+
/** @internal */
|
|
241
|
+
export const ListTenantDestinationAttemptsInclude$outboundSchema: z.ZodType<
|
|
242
|
+
ListTenantDestinationAttemptsInclude$Outbound,
|
|
243
|
+
z.ZodTypeDef,
|
|
244
|
+
ListTenantDestinationAttemptsInclude
|
|
245
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
246
|
+
|
|
247
|
+
export function listTenantDestinationAttemptsIncludeToJSON(
|
|
248
|
+
listTenantDestinationAttemptsInclude: ListTenantDestinationAttemptsInclude,
|
|
249
|
+
): string {
|
|
250
|
+
return JSON.stringify(
|
|
251
|
+
ListTenantDestinationAttemptsInclude$outboundSchema.parse(
|
|
252
|
+
listTenantDestinationAttemptsInclude,
|
|
253
|
+
),
|
|
254
|
+
);
|
|
255
|
+
}
|
|
256
|
+
export function listTenantDestinationAttemptsIncludeFromJSON(
|
|
257
|
+
jsonString: string,
|
|
258
|
+
): SafeParseResult<ListTenantDestinationAttemptsInclude, SDKValidationError> {
|
|
259
|
+
return safeParse(
|
|
260
|
+
jsonString,
|
|
261
|
+
(x) =>
|
|
262
|
+
ListTenantDestinationAttemptsInclude$inboundSchema.parse(JSON.parse(x)),
|
|
263
|
+
`Failed to parse 'ListTenantDestinationAttemptsInclude' from JSON`,
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/** @internal */
|
|
268
|
+
export const ListTenantDestinationAttemptsOrderBy$inboundSchema:
|
|
269
|
+
z.ZodNativeEnum<typeof ListTenantDestinationAttemptsOrderBy> = z.nativeEnum(
|
|
270
|
+
ListTenantDestinationAttemptsOrderBy,
|
|
271
|
+
);
|
|
272
|
+
/** @internal */
|
|
273
|
+
export const ListTenantDestinationAttemptsOrderBy$outboundSchema:
|
|
274
|
+
z.ZodNativeEnum<typeof ListTenantDestinationAttemptsOrderBy> =
|
|
275
|
+
ListTenantDestinationAttemptsOrderBy$inboundSchema;
|
|
276
|
+
|
|
277
|
+
/** @internal */
|
|
278
|
+
export const ListTenantDestinationAttemptsDir$inboundSchema: z.ZodNativeEnum<
|
|
279
|
+
typeof ListTenantDestinationAttemptsDir
|
|
280
|
+
> = z.nativeEnum(ListTenantDestinationAttemptsDir);
|
|
281
|
+
/** @internal */
|
|
282
|
+
export const ListTenantDestinationAttemptsDir$outboundSchema: z.ZodNativeEnum<
|
|
283
|
+
typeof ListTenantDestinationAttemptsDir
|
|
284
|
+
> = ListTenantDestinationAttemptsDir$inboundSchema;
|
|
285
|
+
|
|
286
|
+
/** @internal */
|
|
287
|
+
export const ListTenantDestinationAttemptsRequest$inboundSchema: z.ZodType<
|
|
288
|
+
ListTenantDestinationAttemptsRequest,
|
|
289
|
+
z.ZodTypeDef,
|
|
290
|
+
unknown
|
|
291
|
+
> = z.object({
|
|
292
|
+
tenant_id: z.string().optional(),
|
|
293
|
+
destination_id: z.string(),
|
|
294
|
+
event_id: z.string().optional(),
|
|
295
|
+
status: ListTenantDestinationAttemptsStatus$inboundSchema.optional(),
|
|
296
|
+
topic: z.union([z.string(), z.array(z.string())]).optional(),
|
|
297
|
+
"time[gte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
298
|
+
.optional(),
|
|
299
|
+
"time[lte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
300
|
+
.optional(),
|
|
301
|
+
limit: z.number().int().default(100),
|
|
302
|
+
next: z.string().optional(),
|
|
303
|
+
prev: z.string().optional(),
|
|
304
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
305
|
+
order_by: ListTenantDestinationAttemptsOrderBy$inboundSchema.default("time"),
|
|
306
|
+
dir: ListTenantDestinationAttemptsDir$inboundSchema.default("desc"),
|
|
307
|
+
}).transform((v) => {
|
|
308
|
+
return remap$(v, {
|
|
309
|
+
"tenant_id": "tenantId",
|
|
310
|
+
"destination_id": "destinationId",
|
|
311
|
+
"event_id": "eventId",
|
|
312
|
+
"time[gte]": "timeGte",
|
|
313
|
+
"time[lte]": "timeLte",
|
|
314
|
+
"order_by": "orderBy",
|
|
315
|
+
});
|
|
316
|
+
});
|
|
317
|
+
/** @internal */
|
|
318
|
+
export type ListTenantDestinationAttemptsRequest$Outbound = {
|
|
319
|
+
tenant_id?: string | undefined;
|
|
320
|
+
destination_id: string;
|
|
321
|
+
event_id?: string | undefined;
|
|
322
|
+
status?: string | undefined;
|
|
323
|
+
topic?: string | Array<string> | undefined;
|
|
324
|
+
"time[gte]"?: string | undefined;
|
|
325
|
+
"time[lte]"?: string | undefined;
|
|
326
|
+
limit: number;
|
|
327
|
+
next?: string | undefined;
|
|
328
|
+
prev?: string | undefined;
|
|
329
|
+
include?: string | Array<string> | undefined;
|
|
330
|
+
order_by: string;
|
|
331
|
+
dir: string;
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
/** @internal */
|
|
335
|
+
export const ListTenantDestinationAttemptsRequest$outboundSchema: z.ZodType<
|
|
336
|
+
ListTenantDestinationAttemptsRequest$Outbound,
|
|
337
|
+
z.ZodTypeDef,
|
|
338
|
+
ListTenantDestinationAttemptsRequest
|
|
339
|
+
> = z.object({
|
|
340
|
+
tenantId: z.string().optional(),
|
|
341
|
+
destinationId: z.string(),
|
|
342
|
+
eventId: z.string().optional(),
|
|
343
|
+
status: ListTenantDestinationAttemptsStatus$outboundSchema.optional(),
|
|
344
|
+
topic: z.union([z.string(), z.array(z.string())]).optional(),
|
|
345
|
+
timeGte: z.date().transform(v => v.toISOString()).optional(),
|
|
346
|
+
timeLte: z.date().transform(v => v.toISOString()).optional(),
|
|
347
|
+
limit: z.number().int().default(100),
|
|
348
|
+
next: z.string().optional(),
|
|
349
|
+
prev: z.string().optional(),
|
|
350
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
351
|
+
orderBy: ListTenantDestinationAttemptsOrderBy$outboundSchema.default("time"),
|
|
352
|
+
dir: ListTenantDestinationAttemptsDir$outboundSchema.default("desc"),
|
|
353
|
+
}).transform((v) => {
|
|
354
|
+
return remap$(v, {
|
|
355
|
+
tenantId: "tenant_id",
|
|
356
|
+
destinationId: "destination_id",
|
|
357
|
+
eventId: "event_id",
|
|
358
|
+
timeGte: "time[gte]",
|
|
359
|
+
timeLte: "time[lte]",
|
|
360
|
+
orderBy: "order_by",
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
export function listTenantDestinationAttemptsRequestToJSON(
|
|
365
|
+
listTenantDestinationAttemptsRequest: ListTenantDestinationAttemptsRequest,
|
|
366
|
+
): string {
|
|
367
|
+
return JSON.stringify(
|
|
368
|
+
ListTenantDestinationAttemptsRequest$outboundSchema.parse(
|
|
369
|
+
listTenantDestinationAttemptsRequest,
|
|
370
|
+
),
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
export function listTenantDestinationAttemptsRequestFromJSON(
|
|
374
|
+
jsonString: string,
|
|
375
|
+
): SafeParseResult<ListTenantDestinationAttemptsRequest, SDKValidationError> {
|
|
376
|
+
return safeParse(
|
|
377
|
+
jsonString,
|
|
378
|
+
(x) =>
|
|
379
|
+
ListTenantDestinationAttemptsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
380
|
+
`Failed to parse 'ListTenantDestinationAttemptsRequest' from JSON`,
|
|
381
|
+
);
|
|
382
|
+
}
|
|
@@ -3,22 +3,34 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Field to sort by.
|
|
13
14
|
*/
|
|
14
|
-
export const
|
|
15
|
+
export const ListTenantsOrderBy = {
|
|
16
|
+
CreatedAt: "created_at",
|
|
17
|
+
} as const;
|
|
18
|
+
/**
|
|
19
|
+
* Field to sort by.
|
|
20
|
+
*/
|
|
21
|
+
export type ListTenantsOrderBy = ClosedEnum<typeof ListTenantsOrderBy>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Sort direction.
|
|
25
|
+
*/
|
|
26
|
+
export const ListTenantsDir = {
|
|
15
27
|
Asc: "asc",
|
|
16
28
|
Desc: "desc",
|
|
17
29
|
} as const;
|
|
18
30
|
/**
|
|
19
|
-
* Sort
|
|
31
|
+
* Sort direction.
|
|
20
32
|
*/
|
|
21
|
-
export type
|
|
33
|
+
export type ListTenantsDir = ClosedEnum<typeof ListTenantsDir>;
|
|
22
34
|
|
|
23
35
|
export type ListTenantsRequest = {
|
|
24
36
|
/**
|
|
@@ -26,9 +38,21 @@ export type ListTenantsRequest = {
|
|
|
26
38
|
*/
|
|
27
39
|
limit?: number | undefined;
|
|
28
40
|
/**
|
|
29
|
-
*
|
|
41
|
+
* Field to sort by.
|
|
42
|
+
*/
|
|
43
|
+
orderBy?: ListTenantsOrderBy | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* Sort direction.
|
|
30
46
|
*/
|
|
31
|
-
|
|
47
|
+
dir?: ListTenantsDir | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Filter tenants created at or after this time (RFC3339 or YYYY-MM-DD format).
|
|
50
|
+
*/
|
|
51
|
+
createdAtGte?: Date | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Filter tenants created at or before this time (RFC3339 or YYYY-MM-DD format).
|
|
54
|
+
*/
|
|
55
|
+
createdAtLte?: Date | undefined;
|
|
32
56
|
/**
|
|
33
57
|
* Cursor for the next page of results. Mutually exclusive with `prev`.
|
|
34
58
|
*/
|
|
@@ -40,12 +64,22 @@ export type ListTenantsRequest = {
|
|
|
40
64
|
};
|
|
41
65
|
|
|
42
66
|
/** @internal */
|
|
43
|
-
export const
|
|
44
|
-
|
|
45
|
-
);
|
|
67
|
+
export const ListTenantsOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
68
|
+
typeof ListTenantsOrderBy
|
|
69
|
+
> = z.nativeEnum(ListTenantsOrderBy);
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const ListTenantsOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
72
|
+
typeof ListTenantsOrderBy
|
|
73
|
+
> = ListTenantsOrderBy$inboundSchema;
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const ListTenantsDir$inboundSchema: z.ZodNativeEnum<
|
|
77
|
+
typeof ListTenantsDir
|
|
78
|
+
> = z.nativeEnum(ListTenantsDir);
|
|
46
79
|
/** @internal */
|
|
47
|
-
export const
|
|
48
|
-
|
|
80
|
+
export const ListTenantsDir$outboundSchema: z.ZodNativeEnum<
|
|
81
|
+
typeof ListTenantsDir
|
|
82
|
+
> = ListTenantsDir$inboundSchema;
|
|
49
83
|
|
|
50
84
|
/** @internal */
|
|
51
85
|
export const ListTenantsRequest$inboundSchema: z.ZodType<
|
|
@@ -54,14 +88,30 @@ export const ListTenantsRequest$inboundSchema: z.ZodType<
|
|
|
54
88
|
unknown
|
|
55
89
|
> = z.object({
|
|
56
90
|
limit: z.number().int().default(20),
|
|
57
|
-
|
|
91
|
+
order_by: ListTenantsOrderBy$inboundSchema.default("created_at"),
|
|
92
|
+
dir: ListTenantsDir$inboundSchema.default("desc"),
|
|
93
|
+
"created_at[gte]": z.string().datetime({ offset: true }).transform(v =>
|
|
94
|
+
new Date(v)
|
|
95
|
+
).optional(),
|
|
96
|
+
"created_at[lte]": z.string().datetime({ offset: true }).transform(v =>
|
|
97
|
+
new Date(v)
|
|
98
|
+
).optional(),
|
|
58
99
|
next: z.string().optional(),
|
|
59
100
|
prev: z.string().optional(),
|
|
101
|
+
}).transform((v) => {
|
|
102
|
+
return remap$(v, {
|
|
103
|
+
"order_by": "orderBy",
|
|
104
|
+
"created_at[gte]": "createdAtGte",
|
|
105
|
+
"created_at[lte]": "createdAtLte",
|
|
106
|
+
});
|
|
60
107
|
});
|
|
61
108
|
/** @internal */
|
|
62
109
|
export type ListTenantsRequest$Outbound = {
|
|
63
110
|
limit: number;
|
|
64
|
-
|
|
111
|
+
order_by: string;
|
|
112
|
+
dir: string;
|
|
113
|
+
"created_at[gte]"?: string | undefined;
|
|
114
|
+
"created_at[lte]"?: string | undefined;
|
|
65
115
|
next?: string | undefined;
|
|
66
116
|
prev?: string | undefined;
|
|
67
117
|
};
|
|
@@ -73,9 +123,18 @@ export const ListTenantsRequest$outboundSchema: z.ZodType<
|
|
|
73
123
|
ListTenantsRequest
|
|
74
124
|
> = z.object({
|
|
75
125
|
limit: z.number().int().default(20),
|
|
76
|
-
|
|
126
|
+
orderBy: ListTenantsOrderBy$outboundSchema.default("created_at"),
|
|
127
|
+
dir: ListTenantsDir$outboundSchema.default("desc"),
|
|
128
|
+
createdAtGte: z.date().transform(v => v.toISOString()).optional(),
|
|
129
|
+
createdAtLte: z.date().transform(v => v.toISOString()).optional(),
|
|
77
130
|
next: z.string().optional(),
|
|
78
131
|
prev: z.string().optional(),
|
|
132
|
+
}).transform((v) => {
|
|
133
|
+
return remap$(v, {
|
|
134
|
+
orderBy: "order_by",
|
|
135
|
+
createdAtGte: "created_at[gte]",
|
|
136
|
+
createdAtLte: "created_at[lte]",
|
|
137
|
+
});
|
|
79
138
|
});
|
|
80
139
|
|
|
81
140
|
export function listTenantsRequestToJSON(
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { attemptsGet } from "../funcs/attemptsGet.js";
|
|
6
|
+
import { attemptsList } from "../funcs/attemptsList.js";
|
|
7
|
+
import { attemptsRetry } from "../funcs/attemptsRetry.js";
|
|
8
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
|
+
import * as components from "../models/components/index.js";
|
|
10
|
+
import * as operations from "../models/operations/index.js";
|
|
11
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
|
|
13
|
+
export class Attempts extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* List Attempts (Admin)
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Retrieves a paginated list of attempts across all tenants. This is an admin-only endpoint that requires the Admin API Key.
|
|
19
|
+
*
|
|
20
|
+
* When `tenant_id` is not provided, returns attempts from all tenants. When `tenant_id` is provided, returns only attempts for that tenant.
|
|
21
|
+
*/
|
|
22
|
+
async list(
|
|
23
|
+
request: operations.AdminListAttemptsRequest,
|
|
24
|
+
options?: RequestOptions,
|
|
25
|
+
): Promise<components.AttemptPaginatedResult> {
|
|
26
|
+
return unwrapAsync(attemptsList(
|
|
27
|
+
this,
|
|
28
|
+
request,
|
|
29
|
+
options,
|
|
30
|
+
));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Get Attempt
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Retrieves details for a specific attempt.
|
|
38
|
+
*
|
|
39
|
+
* When authenticated with a Tenant JWT, only attempts belonging to that tenant can be accessed.
|
|
40
|
+
* When authenticated with Admin API Key, attempts from any tenant can be accessed.
|
|
41
|
+
*/
|
|
42
|
+
async get(
|
|
43
|
+
request: operations.GetAttemptRequest,
|
|
44
|
+
options?: RequestOptions,
|
|
45
|
+
): Promise<components.Attempt> {
|
|
46
|
+
return unwrapAsync(attemptsGet(
|
|
47
|
+
this,
|
|
48
|
+
request,
|
|
49
|
+
options,
|
|
50
|
+
));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Retry Event Delivery
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* Triggers a retry for delivering an event to a destination. The event must exist and the destination must be enabled and match the event's topic.
|
|
58
|
+
*
|
|
59
|
+
* When authenticated with a Tenant JWT, only events belonging to that tenant can be retried.
|
|
60
|
+
* When authenticated with Admin API Key, events from any tenant can be retried.
|
|
61
|
+
*/
|
|
62
|
+
async retry(
|
|
63
|
+
request: components.RetryRequest,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<components.SuccessResponse> {
|
|
66
|
+
return unwrapAsync(attemptsRetry(
|
|
67
|
+
this,
|
|
68
|
+
request,
|
|
69
|
+
options,
|
|
70
|
+
));
|
|
71
|
+
}
|
|
72
|
+
}
|
package/src/sdk/destinations.ts
CHANGED
|
@@ -7,7 +7,9 @@ import { destinationsDelete } from "../funcs/destinationsDelete.js";
|
|
|
7
7
|
import { destinationsDisable } from "../funcs/destinationsDisable.js";
|
|
8
8
|
import { destinationsEnable } from "../funcs/destinationsEnable.js";
|
|
9
9
|
import { destinationsGet } from "../funcs/destinationsGet.js";
|
|
10
|
+
import { destinationsGetAttempt } from "../funcs/destinationsGetAttempt.js";
|
|
10
11
|
import { destinationsList } from "../funcs/destinationsList.js";
|
|
12
|
+
import { destinationsListAttempts } from "../funcs/destinationsListAttempts.js";
|
|
11
13
|
import { destinationsUpdate } from "../funcs/destinationsUpdate.js";
|
|
12
14
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
15
|
import * as components from "../models/components/index.js";
|
|
@@ -133,4 +135,38 @@ export class Destinations extends ClientSDK {
|
|
|
133
135
|
options,
|
|
134
136
|
));
|
|
135
137
|
}
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* List Destination Attempts
|
|
141
|
+
*
|
|
142
|
+
* @remarks
|
|
143
|
+
* Retrieves a paginated list of attempts scoped to a specific destination.
|
|
144
|
+
*/
|
|
145
|
+
async listAttempts(
|
|
146
|
+
request: operations.ListTenantDestinationAttemptsRequest,
|
|
147
|
+
options?: RequestOptions,
|
|
148
|
+
): Promise<components.AttemptPaginatedResult> {
|
|
149
|
+
return unwrapAsync(destinationsListAttempts(
|
|
150
|
+
this,
|
|
151
|
+
request,
|
|
152
|
+
options,
|
|
153
|
+
));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Get Destination Attempt
|
|
158
|
+
*
|
|
159
|
+
* @remarks
|
|
160
|
+
* Retrieves details for a specific attempt scoped to a destination.
|
|
161
|
+
*/
|
|
162
|
+
async getAttempt(
|
|
163
|
+
request: operations.GetTenantDestinationAttemptRequest,
|
|
164
|
+
options?: RequestOptions,
|
|
165
|
+
): Promise<components.Attempt> {
|
|
166
|
+
return unwrapAsync(destinationsGetAttempt(
|
|
167
|
+
this,
|
|
168
|
+
request,
|
|
169
|
+
options,
|
|
170
|
+
));
|
|
171
|
+
}
|
|
136
172
|
}
|