@hookdeck/outpost-sdk 0.6.0 → 0.8.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 +77 -93
- package/bin/mcp-server.js +2604 -2254
- package/bin/mcp-server.js.map +138 -136
- package/dist/commonjs/funcs/attemptsGet.d.ts +22 -0
- package/dist/commonjs/funcs/attemptsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsGetByDestination.js → attemptsGet.js} +31 -20
- package/dist/commonjs/funcs/attemptsGet.js.map +1 -0
- package/dist/commonjs/funcs/attemptsList.d.ts +22 -0
- package/dist/commonjs/funcs/attemptsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsListDeliveries.js → attemptsList.js} +36 -20
- 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/{schemasGet.js → attemptsRetry.js} +23 -22
- package/dist/commonjs/funcs/attemptsRetry.js.map +1 -0
- package/dist/commonjs/funcs/destinationsCreate.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsCreate.js +21 -9
- package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.js +21 -9
- package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsDisable.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.js +21 -9
- package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsEnable.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.js +21 -9
- package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.js +21 -9
- package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
- package/dist/commonjs/funcs/destinationsGetAttempt.d.ts +19 -0
- package/dist/commonjs/funcs/destinationsGetAttempt.d.ts.map +1 -0
- package/dist/commonjs/funcs/{eventsRetry.js → destinationsGetAttempt.js} +37 -19
- package/dist/commonjs/funcs/destinationsGetAttempt.js.map +1 -0
- package/dist/commonjs/funcs/destinationsList.d.ts +2 -1
- package/dist/commonjs/funcs/destinationsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsList.js +22 -9
- package/dist/commonjs/funcs/destinationsList.js.map +1 -1
- package/dist/commonjs/funcs/{schemasGet.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} +29 -15
- package/dist/commonjs/funcs/destinationsListAttempts.js.map +1 -0
- package/dist/commonjs/funcs/destinationsUpdate.d.ts +3 -1
- package/dist/commonjs/funcs/destinationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.js +22 -9
- package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.d.ts +5 -2
- package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +21 -11
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts +7 -2
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +23 -15
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/publishEvent.js +4 -4
- package/dist/commonjs/funcs/publishEvent.js.map +1 -1
- package/dist/{esm/funcs/schemasGetDestinationTypeJwt.d.ts → commonjs/funcs/schemasGetDestinationType.d.ts} +2 -2
- package/dist/commonjs/funcs/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +13 -9
- package/dist/commonjs/funcs/schemasGetDestinationType.js.map +1 -0
- package/dist/commonjs/funcs/{schemasListDestinationTypesJwt.d.ts → schemasListDestinationTypes.d.ts} +4 -4
- package/dist/commonjs/funcs/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +10 -9
- package/dist/commonjs/funcs/schemasListDestinationTypes.js.map +1 -0
- package/dist/commonjs/funcs/tenantsDelete.d.ts +2 -2
- package/dist/commonjs/funcs/tenantsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsDelete.js +20 -9
- package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.d.ts +2 -2
- package/dist/commonjs/funcs/tenantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.js +20 -9
- package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts +3 -2
- package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js +22 -10
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.d.ts +3 -3
- package/dist/commonjs/funcs/tenantsGetToken.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.js +21 -10
- package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.d.ts +2 -3
- package/dist/commonjs/funcs/tenantsListTenants.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.js +17 -11
- package/dist/commonjs/funcs/tenantsListTenants.js.map +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.d.ts +2 -2
- package/dist/commonjs/funcs/tenantsUpsert.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.js +21 -9
- package/dist/commonjs/funcs/tenantsUpsert.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 +42 -24
- package/dist/commonjs/funcs/topicsList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +5 -13
- 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/lib/matchers.d.ts.map +1 -1
- package/dist/commonjs/lib/matchers.js +0 -1
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +2 -9
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +2 -18
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -3
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -10
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts +1 -2
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +18 -23
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/shared.js +1 -1
- package/dist/commonjs/mcp-server/shared.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts +10 -0
- package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{eventsGetByDestination.js → attemptsGet.js} +15 -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} +13 -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/destinationsCreate.d.ts +4 -2
- package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsCreate.js +5 -3
- package/dist/commonjs/mcp-server/tools/destinationsCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDelete.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDisable.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsDisable.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsEnable.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsEnable.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGet.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts +12 -0
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{eventsListDeliveries.js → destinationsGetAttempt.js} +14 -9
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsList.d.ts +4 -1
- package/dist/commonjs/mcp-server/tools/destinationsList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsList.js +5 -2
- package/dist/commonjs/mcp-server/tools/destinationsList.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/destinationsUpdate.d.ts +5 -2
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.js +6 -3
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsGet.js +8 -4
- 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 -2
- package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts +16 -0
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +7 -7
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.d.ts +3 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +8 -8
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsDelete.js +3 -3
- package/dist/commonjs/mcp-server/tools/tenantsDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGet.js +3 -3
- package/dist/commonjs/mcp-server/tools/tenantsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.d.ts +6 -2
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.js +5 -3
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.js +4 -4
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.d.ts +8 -2
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.js +7 -4
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.d.ts +4 -2
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.js +5 -3
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.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 -17
- package/dist/commonjs/models/components/event.d.ts.map +1 -1
- package/dist/commonjs/models/components/event.js +5 -16
- 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/security.d.ts +2 -4
- package/dist/commonjs/models/components/security.d.ts.map +1 -1
- package/dist/commonjs/models/components/security.js +2 -15
- package/dist/commonjs/models/components/security.js.map +1 -1
- 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/errors/listtenants.d.ts +0 -27
- package/dist/commonjs/models/errors/listtenants.d.ts.map +1 -1
- package/dist/commonjs/models/errors/listtenants.js +1 -37
- package/dist/commonjs/models/errors/listtenants.js.map +1 -1
- package/dist/commonjs/models/operations/createtenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/createtenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createtenantdestination.js +3 -27
- package/dist/commonjs/models/operations/createtenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/deletetenant.d.ts +2 -15
- package/dist/commonjs/models/operations/deletetenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletetenant.js +3 -27
- package/dist/commonjs/models/operations/deletetenant.js.map +1 -1
- package/dist/commonjs/models/operations/deletetenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/deletetenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletetenantdestination.js +3 -27
- package/dist/commonjs/models/operations/deletetenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/disabletenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/disabletenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/disabletenantdestination.js +3 -27
- package/dist/commonjs/models/operations/disabletenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/enabletenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/enabletenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/enabletenantdestination.js +3 -27
- package/dist/commonjs/models/operations/enabletenantdestination.js.map +1 -1
- 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/getdestinationtypeschema.d.ts +2 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getdestinationtypeschema.js +2 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -1
- 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/gettenant.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenant.js +3 -27
- package/dist/commonjs/models/operations/gettenant.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestination.js +3 -27
- package/dist/commonjs/models/operations/gettenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts +57 -0
- package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{retrytenantevent.js → gettenantdestinationattempt.js} +26 -36
- package/dist/commonjs/models/operations/gettenantdestinationattempt.js.map +1 -0
- package/dist/commonjs/models/operations/gettenantportalurl.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenantportalurl.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantportalurl.js +3 -27
- package/dist/commonjs/models/operations/gettenantportalurl.js.map +1 -1
- package/dist/commonjs/models/operations/gettenanttoken.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenanttoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenanttoken.js +3 -27
- package/dist/commonjs/models/operations/gettenanttoken.js.map +1 -1
- 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/listattempts.d.ts +159 -0
- package/dist/commonjs/models/operations/listattempts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listattempts.js +159 -0
- package/dist/commonjs/models/operations/listattempts.js.map +1 -0
- package/dist/commonjs/models/operations/listevents.d.ts +102 -0
- package/dist/commonjs/models/operations/listevents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listevents.js +124 -0
- package/dist/commonjs/models/operations/listevents.js.map +1 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts +159 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.js +159 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.js.map +1 -0
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts +2 -15
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.js +3 -27
- package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/commonjs/models/operations/listtenants.d.ts +9 -9
- package/dist/commonjs/models/operations/listtenants.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenants.js +7 -7
- package/dist/commonjs/models/operations/listtenants.js.map +1 -1
- package/dist/commonjs/models/operations/updatetenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/updatetenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatetenantdestination.js +3 -27
- package/dist/commonjs/models/operations/updatetenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/upserttenant.d.ts +2 -15
- package/dist/commonjs/models/operations/upserttenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/upserttenant.js +3 -27
- package/dist/commonjs/models/operations/upserttenant.js.map +1 -1
- package/dist/commonjs/sdk/attempts.d.ts +36 -0
- package/dist/commonjs/sdk/attempts.d.ts.map +1 -0
- package/dist/commonjs/sdk/attempts.js +51 -0
- package/dist/commonjs/sdk/attempts.js.map +1 -0
- package/dist/commonjs/sdk/destinations.d.ts +21 -7
- package/dist/commonjs/sdk/destinations.d.ts.map +1 -1
- package/dist/commonjs/sdk/destinations.js +34 -14
- package/dist/commonjs/sdk/destinations.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +8 -30
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +8 -42
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/schemas.d.ts +4 -18
- package/dist/commonjs/sdk/schemas.d.ts.map +1 -1
- package/dist/commonjs/sdk/schemas.js +8 -28
- 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 +9 -10
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/tenants.js +15 -16
- package/dist/commonjs/sdk/tenants.js.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 +22 -0
- package/dist/esm/funcs/attemptsGet.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsGetByDestination.js → attemptsGet.js} +31 -20
- package/dist/esm/funcs/attemptsGet.js.map +1 -0
- package/dist/esm/funcs/attemptsList.d.ts +22 -0
- package/dist/esm/funcs/attemptsList.d.ts.map +1 -0
- package/dist/esm/funcs/{schemasListTenantDestinationTypes.js → attemptsList.js} +36 -16
- 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} +23 -26
- package/dist/esm/funcs/attemptsRetry.js.map +1 -0
- package/dist/esm/funcs/destinationsCreate.d.ts +2 -2
- package/dist/esm/funcs/destinationsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsCreate.js +21 -9
- package/dist/esm/funcs/destinationsCreate.js.map +1 -1
- package/dist/esm/funcs/destinationsDelete.d.ts +2 -2
- package/dist/esm/funcs/destinationsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsDelete.js +21 -9
- package/dist/esm/funcs/destinationsDelete.js.map +1 -1
- package/dist/esm/funcs/destinationsDisable.d.ts +2 -2
- package/dist/esm/funcs/destinationsDisable.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsDisable.js +21 -9
- package/dist/esm/funcs/destinationsDisable.js.map +1 -1
- package/dist/esm/funcs/destinationsEnable.d.ts +2 -2
- package/dist/esm/funcs/destinationsEnable.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsEnable.js +21 -9
- package/dist/esm/funcs/destinationsEnable.js.map +1 -1
- package/dist/esm/funcs/destinationsGet.d.ts +2 -2
- package/dist/esm/funcs/destinationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsGet.js +21 -9
- package/dist/esm/funcs/destinationsGet.js.map +1 -1
- package/dist/esm/funcs/destinationsGetAttempt.d.ts +19 -0
- package/dist/esm/funcs/destinationsGetAttempt.d.ts.map +1 -0
- package/dist/esm/funcs/destinationsGetAttempt.js +106 -0
- package/dist/esm/funcs/destinationsGetAttempt.js.map +1 -0
- package/dist/esm/funcs/destinationsList.d.ts +2 -1
- package/dist/esm/funcs/destinationsList.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsList.js +22 -9
- package/dist/esm/funcs/destinationsList.js.map +1 -1
- package/dist/{commonjs/funcs/eventsListDeliveries.d.ts → esm/funcs/destinationsListAttempts.d.ts} +5 -4
- package/dist/esm/funcs/destinationsListAttempts.d.ts.map +1 -0
- package/dist/esm/funcs/{eventsListByDestination.js → destinationsListAttempts.js} +28 -14
- package/dist/esm/funcs/destinationsListAttempts.js.map +1 -0
- package/dist/esm/funcs/destinationsUpdate.d.ts +3 -1
- package/dist/esm/funcs/destinationsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsUpdate.js +22 -9
- package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.d.ts +5 -2
- package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGet.js +21 -11
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts +7 -2
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +24 -16
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/publishEvent.js +4 -4
- package/dist/esm/funcs/publishEvent.js.map +1 -1
- package/dist/{commonjs/funcs/schemasGetDestinationTypeJwt.d.ts → esm/funcs/schemasGetDestinationType.d.ts} +2 -2
- package/dist/esm/funcs/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/esm/funcs/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +12 -8
- package/dist/esm/funcs/schemasGetDestinationType.js.map +1 -0
- package/dist/esm/funcs/{schemasListDestinationTypesJwt.d.ts → schemasListDestinationTypes.d.ts} +4 -4
- package/dist/esm/funcs/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/esm/funcs/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +9 -8
- package/dist/esm/funcs/schemasListDestinationTypes.js.map +1 -0
- package/dist/esm/funcs/tenantsDelete.d.ts +2 -2
- package/dist/esm/funcs/tenantsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsDelete.js +20 -9
- package/dist/esm/funcs/tenantsDelete.js.map +1 -1
- package/dist/esm/funcs/tenantsGet.d.ts +2 -2
- package/dist/esm/funcs/tenantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGet.js +20 -9
- package/dist/esm/funcs/tenantsGet.js.map +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.d.ts +3 -2
- package/dist/esm/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.js +22 -10
- package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/esm/funcs/tenantsGetToken.d.ts +3 -3
- package/dist/esm/funcs/tenantsGetToken.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGetToken.js +21 -10
- package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
- package/dist/esm/funcs/tenantsListTenants.d.ts +2 -3
- package/dist/esm/funcs/tenantsListTenants.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsListTenants.js +17 -11
- package/dist/esm/funcs/tenantsListTenants.js.map +1 -1
- package/dist/esm/funcs/tenantsUpsert.d.ts +2 -2
- package/dist/esm/funcs/tenantsUpsert.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsUpsert.js +21 -9
- package/dist/esm/funcs/tenantsUpsert.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 +42 -24
- package/dist/esm/funcs/topicsList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +5 -13
- 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/lib/matchers.d.ts.map +1 -1
- package/dist/esm/lib/matchers.js +0 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +2 -9
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +2 -18
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -3
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -10
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts +1 -2
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +18 -23
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/shared.js +1 -1
- package/dist/esm/mcp-server/shared.js.map +1 -1
- package/dist/esm/mcp-server/tools/attemptsGet.d.ts +10 -0
- package/dist/esm/mcp-server/tools/attemptsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/attemptsGet.js +34 -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 +32 -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/destinationsCreate.d.ts +4 -2
- package/dist/esm/mcp-server/tools/destinationsCreate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsCreate.js +5 -3
- package/dist/esm/mcp-server/tools/destinationsCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDelete.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDelete.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDisable.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsDisable.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDisable.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsDisable.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsEnable.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsEnable.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsEnable.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsEnable.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGet.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGet.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts +12 -0
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.js +33 -0
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsList.d.ts +4 -1
- package/dist/esm/mcp-server/tools/destinationsList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsList.js +5 -2
- package/dist/esm/mcp-server/tools/destinationsList.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/destinationsUpdate.d.ts +5 -2
- package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsUpdate.js +6 -3
- package/dist/esm/mcp-server/tools/destinationsUpdate.js.map +1 -1
- package/dist/esm/mcp-server/tools/eventsGet.d.ts +2 -2
- package/dist/esm/mcp-server/tools/eventsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/eventsGet.js +8 -4
- 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 -2
- package/dist/esm/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts +16 -0
- package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +6 -6
- package/dist/esm/mcp-server/tools/schemasGetDestinationType.js.map +1 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypes.d.ts +3 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +7 -7
- package/dist/esm/mcp-server/tools/schemasListDestinationTypes.js.map +1 -0
- package/dist/esm/mcp-server/tools/tenantsDelete.d.ts +2 -2
- package/dist/esm/mcp-server/tools/tenantsDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsDelete.js +3 -3
- package/dist/esm/mcp-server/tools/tenantsDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGet.d.ts +2 -2
- package/dist/esm/mcp-server/tools/tenantsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGet.js +3 -3
- package/dist/esm/mcp-server/tools/tenantsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.d.ts +6 -2
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.js +5 -3
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetToken.d.ts +2 -2
- package/dist/esm/mcp-server/tools/tenantsGetToken.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetToken.js +4 -4
- package/dist/esm/mcp-server/tools/tenantsGetToken.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsListTenants.d.ts +8 -2
- package/dist/esm/mcp-server/tools/tenantsListTenants.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsListTenants.js +7 -4
- package/dist/esm/mcp-server/tools/tenantsListTenants.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsUpsert.d.ts +4 -2
- package/dist/esm/mcp-server/tools/tenantsUpsert.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsUpsert.js +5 -3
- package/dist/esm/mcp-server/tools/tenantsUpsert.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 -17
- package/dist/esm/models/components/event.d.ts.map +1 -1
- package/dist/esm/models/components/event.js +4 -15
- 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/security.d.ts +2 -4
- package/dist/esm/models/components/security.d.ts.map +1 -1
- package/dist/esm/models/components/security.js +2 -15
- package/dist/esm/models/components/security.js.map +1 -1
- 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/errors/listtenants.d.ts +0 -27
- package/dist/esm/models/errors/listtenants.d.ts.map +1 -1
- package/dist/esm/models/errors/listtenants.js +0 -35
- package/dist/esm/models/errors/listtenants.js.map +1 -1
- package/dist/esm/models/operations/createtenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/createtenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/createtenantdestination.js +2 -24
- package/dist/esm/models/operations/createtenantdestination.js.map +1 -1
- package/dist/esm/models/operations/deletetenant.d.ts +2 -15
- package/dist/esm/models/operations/deletetenant.d.ts.map +1 -1
- package/dist/esm/models/operations/deletetenant.js +2 -24
- package/dist/esm/models/operations/deletetenant.js.map +1 -1
- package/dist/esm/models/operations/deletetenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/deletetenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/deletetenantdestination.js +2 -24
- package/dist/esm/models/operations/deletetenantdestination.js.map +1 -1
- package/dist/esm/models/operations/disabletenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/disabletenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/disabletenantdestination.js +2 -24
- package/dist/esm/models/operations/disabletenantdestination.js.map +1 -1
- package/dist/esm/models/operations/enabletenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/enabletenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/enabletenantdestination.js +2 -24
- package/dist/esm/models/operations/enabletenantdestination.js.map +1 -1
- 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/getdestinationtypeschema.d.ts +2 -0
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -1
- package/dist/esm/models/operations/getdestinationtypeschema.js +2 -0
- package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -1
- 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/gettenant.d.ts +2 -15
- package/dist/esm/models/operations/gettenant.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenant.js +2 -24
- package/dist/esm/models/operations/gettenant.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/gettenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantdestination.js +2 -24
- package/dist/esm/models/operations/gettenantdestination.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationattempt.d.ts +57 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.d.ts.map +1 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.js +49 -0
- package/dist/esm/models/operations/gettenantdestinationattempt.js.map +1 -0
- package/dist/esm/models/operations/gettenantportalurl.d.ts +2 -15
- package/dist/esm/models/operations/gettenantportalurl.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantportalurl.js +2 -24
- package/dist/esm/models/operations/gettenantportalurl.js.map +1 -1
- package/dist/esm/models/operations/gettenanttoken.d.ts +2 -15
- package/dist/esm/models/operations/gettenanttoken.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenanttoken.js +2 -24
- package/dist/esm/models/operations/gettenanttoken.js.map +1 -1
- 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/listattempts.d.ts +159 -0
- package/dist/esm/models/operations/listattempts.d.ts.map +1 -0
- package/dist/esm/models/operations/listattempts.js +117 -0
- package/dist/esm/models/operations/listattempts.js.map +1 -0
- package/dist/esm/models/operations/listevents.d.ts +102 -0
- package/dist/esm/models/operations/listevents.d.ts.map +1 -0
- package/dist/esm/models/operations/listevents.js +84 -0
- package/dist/esm/models/operations/listevents.js.map +1 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.d.ts +159 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.d.ts.map +1 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.js +117 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.js.map +1 -0
- package/dist/esm/models/operations/listtenantdestinations.d.ts +2 -15
- package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.js +2 -24
- package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/esm/models/operations/listtenants.d.ts +9 -9
- package/dist/esm/models/operations/listtenants.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenants.js +6 -6
- package/dist/esm/models/operations/listtenants.js.map +1 -1
- package/dist/esm/models/operations/updatetenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/updatetenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/updatetenantdestination.js +2 -24
- package/dist/esm/models/operations/updatetenantdestination.js.map +1 -1
- package/dist/esm/models/operations/upserttenant.d.ts +2 -15
- package/dist/esm/models/operations/upserttenant.d.ts.map +1 -1
- package/dist/esm/models/operations/upserttenant.js +2 -24
- package/dist/esm/models/operations/upserttenant.js.map +1 -1
- package/dist/esm/sdk/attempts.d.ts +36 -0
- package/dist/esm/sdk/attempts.d.ts.map +1 -0
- package/dist/esm/sdk/attempts.js +47 -0
- package/dist/esm/sdk/attempts.js.map +1 -0
- package/dist/esm/sdk/destinations.d.ts +21 -7
- package/dist/esm/sdk/destinations.d.ts.map +1 -1
- package/dist/esm/sdk/destinations.js +34 -14
- package/dist/esm/sdk/destinations.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +8 -30
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +8 -42
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/schemas.d.ts +4 -18
- package/dist/esm/sdk/schemas.d.ts.map +1 -1
- package/dist/esm/sdk/schemas.js +8 -28
- 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 +9 -10
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/tenants.js +15 -16
- package/dist/esm/sdk/tenants.js.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/jsr.json +1 -1
- package/package.json +5 -5
- package/src/funcs/attemptsGet.ts +200 -0
- package/src/funcs/attemptsList.ts +193 -0
- package/src/funcs/{topicsListJwt.ts → attemptsRetry.ts} +42 -68
- package/src/funcs/destinationsCreate.ts +43 -14
- package/src/funcs/destinationsDelete.ts +39 -14
- package/src/funcs/destinationsDisable.ts +39 -14
- package/src/funcs/destinationsEnable.ts +39 -14
- package/src/funcs/destinationsGet.ts +39 -14
- package/src/funcs/{eventsGetByDestination.ts → destinationsGetAttempt.ts} +64 -26
- package/src/funcs/destinationsList.ts +43 -14
- package/src/funcs/{eventsListByDestination.ts → destinationsListAttempts.ts} +47 -24
- package/src/funcs/destinationsUpdate.ts +48 -14
- package/src/funcs/eventsGet.ts +37 -17
- package/src/funcs/eventsList.ts +40 -28
- package/src/funcs/publishEvent.ts +5 -5
- package/src/funcs/{schemasGetDestinationTypeJwt.ts → schemasGetDestinationType.ts} +18 -12
- package/src/funcs/{schemasListDestinationTypesJwt.ts → schemasListDestinationTypes.ts} +9 -8
- package/src/funcs/tenantsDelete.ts +35 -14
- package/src/funcs/tenantsGet.ts +35 -14
- package/src/funcs/tenantsGetPortalUrl.ts +40 -15
- package/src/funcs/tenantsGetToken.ts +36 -15
- package/src/funcs/tenantsListTenants.ts +43 -19
- package/src/funcs/tenantsUpsert.ts +38 -13
- package/src/funcs/topicsList.ts +75 -35
- package/src/lib/config.ts +8 -16
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +2 -10
- package/src/mcp-server/cli/start/command.ts +2 -19
- package/src/mcp-server/cli/start/impl.ts +5 -13
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +19 -25
- package/src/mcp-server/shared.ts +2 -2
- package/src/mcp-server/tools/attemptsGet.ts +44 -0
- package/src/mcp-server/tools/{eventsGetByDestination.ts → attemptsList.ts} +11 -7
- package/src/mcp-server/tools/attemptsRetry.ts +41 -0
- package/src/mcp-server/tools/destinationsCreate.ts +6 -3
- package/src/mcp-server/tools/destinationsDelete.ts +5 -3
- package/src/mcp-server/tools/destinationsDisable.ts +5 -3
- package/src/mcp-server/tools/destinationsEnable.ts +5 -3
- package/src/mcp-server/tools/destinationsGet.ts +5 -3
- package/src/mcp-server/tools/destinationsGetAttempt.ts +45 -0
- package/src/mcp-server/tools/destinationsList.ts +7 -2
- package/src/mcp-server/tools/{eventsListByDestination.ts → destinationsListAttempts.ts} +7 -7
- package/src/mcp-server/tools/destinationsUpdate.ts +8 -3
- package/src/mcp-server/tools/eventsGet.ts +8 -4
- package/src/mcp-server/tools/eventsList.ts +6 -2
- package/src/mcp-server/tools/{schemasGetDestinationTypeJwt.ts → schemasGetDestinationType.ts} +6 -6
- package/src/mcp-server/tools/{schemasListDestinationTypesJwt.ts → schemasListDestinationTypes.ts} +6 -6
- package/src/mcp-server/tools/tenantsDelete.ts +3 -3
- package/src/mcp-server/tools/tenantsGet.ts +3 -3
- package/src/mcp-server/tools/tenantsGetPortalUrl.ts +6 -3
- package/src/mcp-server/tools/tenantsGetToken.ts +4 -4
- package/src/mcp-server/tools/tenantsListTenants.ts +10 -4
- package/src/mcp-server/tools/tenantsUpsert.ts +6 -3
- 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 -29
- 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/security.ts +4 -19
- 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/errors/listtenants.ts +0 -66
- package/src/models/operations/createtenantdestination.ts +4 -57
- package/src/models/operations/deletetenant.ts +4 -55
- package/src/models/operations/deletetenantdestination.ts +4 -57
- package/src/models/operations/disabletenantdestination.ts +4 -57
- package/src/models/operations/enabletenantdestination.ts +4 -57
- package/src/models/operations/getattempt.ts +118 -0
- package/src/models/operations/getdestinationtypeschema.ts +2 -0
- package/src/models/operations/getevent.ts +61 -0
- package/src/models/operations/gettenant.ts +4 -55
- package/src/models/operations/gettenantdestination.ts +4 -57
- package/src/models/operations/gettenantdestinationattempt.ts +144 -0
- package/src/models/operations/gettenantportalurl.ts +4 -55
- package/src/models/operations/gettenanttoken.ts +4 -55
- package/src/models/operations/index.ts +6 -9
- package/src/models/operations/listattempts.ts +308 -0
- package/src/models/operations/listevents.ts +205 -0
- package/src/models/operations/listtenantdestinationattempts.ts +328 -0
- package/src/models/operations/listtenantdestinations.ts +4 -57
- package/src/models/operations/listtenants.ts +15 -14
- package/src/models/operations/updatetenantdestination.ts +4 -57
- package/src/models/operations/upserttenant.ts +4 -55
- package/src/sdk/attempts.ts +75 -0
- package/src/sdk/destinations.ts +73 -13
- package/src/sdk/events.ts +11 -77
- package/src/sdk/schemas.ts +10 -46
- package/src/sdk/sdk.ts +11 -5
- package/src/sdk/tenants.ts +26 -17
- package/src/sdk/topics.ts +2 -21
- package/dist/commonjs/funcs/eventsGetByDestination.d.ts +0 -18
- package/dist/commonjs/funcs/eventsGetByDestination.d.ts.map +0 -1
- 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.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/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.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/eventsGetByDestination.js.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 +0 -8
- 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/schemasGetDestinationTypeJwt.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +0 -3
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.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.map +0 -1
- package/dist/esm/funcs/eventsGetByDestination.d.ts +0 -18
- package/dist/esm/funcs/eventsGetByDestination.d.ts.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 +0 -85
- 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 +0 -84
- package/dist/esm/funcs/schemasGet.js.map +0 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.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.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/eventsGetByDestination.js +0 -28
- package/dist/esm/mcp-server/tools/eventsGetByDestination.js.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 +0 -8
- 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/schemasGetDestinationTypeJwt.d.ts +0 -8
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +0 -3
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.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/examples/package-lock.json +0 -620
- package/examples/package.json +0 -18
- package/src/funcs/eventsListDeliveries.ts +0 -175
- package/src/funcs/eventsRetry.ts +0 -177
- package/src/funcs/schemasGet.ts +0 -176
- package/src/funcs/schemasListTenantDestinationTypes.ts +0 -171
- package/src/mcp-server/tools/eventsListDeliveries.ts +0 -37
- package/src/mcp-server/tools/eventsRetry.ts +0 -35
- package/src/mcp-server/tools/schemasGet.ts +0 -37
- 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
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,328 @@
|
|
|
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 attempts by status.
|
|
14
|
+
*/
|
|
15
|
+
export const ListTenantDestinationAttemptsStatus = {
|
|
16
|
+
Success: "success",
|
|
17
|
+
Failed: "failed",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Filter attempts by status.
|
|
21
|
+
*/
|
|
22
|
+
export type ListTenantDestinationAttemptsStatus = ClosedEnum<
|
|
23
|
+
typeof ListTenantDestinationAttemptsStatus
|
|
24
|
+
>;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Filter attempts by event topic(s). Can be specified multiple times or comma-separated.
|
|
28
|
+
*/
|
|
29
|
+
export type ListTenantDestinationAttemptsTopic = string | Array<string>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
|
|
36
|
+
* - `event.data`: Include full event with payload data
|
|
37
|
+
* - `response_data`: Include response body and headers
|
|
38
|
+
*/
|
|
39
|
+
export type ListTenantDestinationAttemptsInclude = string | Array<string>;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Field to sort by.
|
|
43
|
+
*/
|
|
44
|
+
export const ListTenantDestinationAttemptsOrderBy = {
|
|
45
|
+
Time: "time",
|
|
46
|
+
} as const;
|
|
47
|
+
/**
|
|
48
|
+
* Field to sort by.
|
|
49
|
+
*/
|
|
50
|
+
export type ListTenantDestinationAttemptsOrderBy = ClosedEnum<
|
|
51
|
+
typeof ListTenantDestinationAttemptsOrderBy
|
|
52
|
+
>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Sort direction.
|
|
56
|
+
*/
|
|
57
|
+
export const ListTenantDestinationAttemptsDir = {
|
|
58
|
+
Asc: "asc",
|
|
59
|
+
Desc: "desc",
|
|
60
|
+
} as const;
|
|
61
|
+
/**
|
|
62
|
+
* Sort direction.
|
|
63
|
+
*/
|
|
64
|
+
export type ListTenantDestinationAttemptsDir = ClosedEnum<
|
|
65
|
+
typeof ListTenantDestinationAttemptsDir
|
|
66
|
+
>;
|
|
67
|
+
|
|
68
|
+
export type ListTenantDestinationAttemptsRequest = {
|
|
69
|
+
/**
|
|
70
|
+
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
71
|
+
*/
|
|
72
|
+
tenantId: string;
|
|
73
|
+
/**
|
|
74
|
+
* The ID of the destination.
|
|
75
|
+
*/
|
|
76
|
+
destinationId: string;
|
|
77
|
+
/**
|
|
78
|
+
* Filter attempts by event ID.
|
|
79
|
+
*/
|
|
80
|
+
eventId?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Filter attempts by status.
|
|
83
|
+
*/
|
|
84
|
+
status?: ListTenantDestinationAttemptsStatus | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Filter attempts by event topic(s). Can be specified multiple times or comma-separated.
|
|
87
|
+
*/
|
|
88
|
+
topic?: string | Array<string> | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* Filter attempts by event time >= value (RFC3339 or YYYY-MM-DD format).
|
|
91
|
+
*/
|
|
92
|
+
timeGte?: Date | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Filter attempts by event time <= value (RFC3339 or YYYY-MM-DD format).
|
|
95
|
+
*/
|
|
96
|
+
timeLte?: Date | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Number of items per page (default 100, max 1000).
|
|
99
|
+
*/
|
|
100
|
+
limit?: number | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Cursor for next page of results.
|
|
103
|
+
*/
|
|
104
|
+
next?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Cursor for previous page of results.
|
|
107
|
+
*/
|
|
108
|
+
prev?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Fields to include in the response. Can be specified multiple times or comma-separated.
|
|
111
|
+
*
|
|
112
|
+
* @remarks
|
|
113
|
+
* - `event`: Include event summary (id, topic, time, eligible_for_retry, metadata)
|
|
114
|
+
* - `event.data`: Include full event with payload data
|
|
115
|
+
* - `response_data`: Include response body and headers
|
|
116
|
+
*/
|
|
117
|
+
include?: string | Array<string> | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Field to sort by.
|
|
120
|
+
*/
|
|
121
|
+
orderBy?: ListTenantDestinationAttemptsOrderBy | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Sort direction.
|
|
124
|
+
*/
|
|
125
|
+
dir?: ListTenantDestinationAttemptsDir | undefined;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/** @internal */
|
|
129
|
+
export const ListTenantDestinationAttemptsStatus$inboundSchema: z.ZodNativeEnum<
|
|
130
|
+
typeof ListTenantDestinationAttemptsStatus
|
|
131
|
+
> = z.nativeEnum(ListTenantDestinationAttemptsStatus);
|
|
132
|
+
/** @internal */
|
|
133
|
+
export const ListTenantDestinationAttemptsStatus$outboundSchema:
|
|
134
|
+
z.ZodNativeEnum<typeof ListTenantDestinationAttemptsStatus> =
|
|
135
|
+
ListTenantDestinationAttemptsStatus$inboundSchema;
|
|
136
|
+
|
|
137
|
+
/** @internal */
|
|
138
|
+
export const ListTenantDestinationAttemptsTopic$inboundSchema: z.ZodType<
|
|
139
|
+
ListTenantDestinationAttemptsTopic,
|
|
140
|
+
z.ZodTypeDef,
|
|
141
|
+
unknown
|
|
142
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
143
|
+
/** @internal */
|
|
144
|
+
export type ListTenantDestinationAttemptsTopic$Outbound =
|
|
145
|
+
| string
|
|
146
|
+
| Array<string>;
|
|
147
|
+
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const ListTenantDestinationAttemptsTopic$outboundSchema: z.ZodType<
|
|
150
|
+
ListTenantDestinationAttemptsTopic$Outbound,
|
|
151
|
+
z.ZodTypeDef,
|
|
152
|
+
ListTenantDestinationAttemptsTopic
|
|
153
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
154
|
+
|
|
155
|
+
export function listTenantDestinationAttemptsTopicToJSON(
|
|
156
|
+
listTenantDestinationAttemptsTopic: ListTenantDestinationAttemptsTopic,
|
|
157
|
+
): string {
|
|
158
|
+
return JSON.stringify(
|
|
159
|
+
ListTenantDestinationAttemptsTopic$outboundSchema.parse(
|
|
160
|
+
listTenantDestinationAttemptsTopic,
|
|
161
|
+
),
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
export function listTenantDestinationAttemptsTopicFromJSON(
|
|
165
|
+
jsonString: string,
|
|
166
|
+
): SafeParseResult<ListTenantDestinationAttemptsTopic, SDKValidationError> {
|
|
167
|
+
return safeParse(
|
|
168
|
+
jsonString,
|
|
169
|
+
(x) =>
|
|
170
|
+
ListTenantDestinationAttemptsTopic$inboundSchema.parse(JSON.parse(x)),
|
|
171
|
+
`Failed to parse 'ListTenantDestinationAttemptsTopic' from JSON`,
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/** @internal */
|
|
176
|
+
export const ListTenantDestinationAttemptsInclude$inboundSchema: z.ZodType<
|
|
177
|
+
ListTenantDestinationAttemptsInclude,
|
|
178
|
+
z.ZodTypeDef,
|
|
179
|
+
unknown
|
|
180
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
181
|
+
/** @internal */
|
|
182
|
+
export type ListTenantDestinationAttemptsInclude$Outbound =
|
|
183
|
+
| string
|
|
184
|
+
| Array<string>;
|
|
185
|
+
|
|
186
|
+
/** @internal */
|
|
187
|
+
export const ListTenantDestinationAttemptsInclude$outboundSchema: z.ZodType<
|
|
188
|
+
ListTenantDestinationAttemptsInclude$Outbound,
|
|
189
|
+
z.ZodTypeDef,
|
|
190
|
+
ListTenantDestinationAttemptsInclude
|
|
191
|
+
> = z.union([z.string(), z.array(z.string())]);
|
|
192
|
+
|
|
193
|
+
export function listTenantDestinationAttemptsIncludeToJSON(
|
|
194
|
+
listTenantDestinationAttemptsInclude: ListTenantDestinationAttemptsInclude,
|
|
195
|
+
): string {
|
|
196
|
+
return JSON.stringify(
|
|
197
|
+
ListTenantDestinationAttemptsInclude$outboundSchema.parse(
|
|
198
|
+
listTenantDestinationAttemptsInclude,
|
|
199
|
+
),
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
export function listTenantDestinationAttemptsIncludeFromJSON(
|
|
203
|
+
jsonString: string,
|
|
204
|
+
): SafeParseResult<ListTenantDestinationAttemptsInclude, SDKValidationError> {
|
|
205
|
+
return safeParse(
|
|
206
|
+
jsonString,
|
|
207
|
+
(x) =>
|
|
208
|
+
ListTenantDestinationAttemptsInclude$inboundSchema.parse(JSON.parse(x)),
|
|
209
|
+
`Failed to parse 'ListTenantDestinationAttemptsInclude' from JSON`,
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/** @internal */
|
|
214
|
+
export const ListTenantDestinationAttemptsOrderBy$inboundSchema:
|
|
215
|
+
z.ZodNativeEnum<typeof ListTenantDestinationAttemptsOrderBy> = z.nativeEnum(
|
|
216
|
+
ListTenantDestinationAttemptsOrderBy,
|
|
217
|
+
);
|
|
218
|
+
/** @internal */
|
|
219
|
+
export const ListTenantDestinationAttemptsOrderBy$outboundSchema:
|
|
220
|
+
z.ZodNativeEnum<typeof ListTenantDestinationAttemptsOrderBy> =
|
|
221
|
+
ListTenantDestinationAttemptsOrderBy$inboundSchema;
|
|
222
|
+
|
|
223
|
+
/** @internal */
|
|
224
|
+
export const ListTenantDestinationAttemptsDir$inboundSchema: z.ZodNativeEnum<
|
|
225
|
+
typeof ListTenantDestinationAttemptsDir
|
|
226
|
+
> = z.nativeEnum(ListTenantDestinationAttemptsDir);
|
|
227
|
+
/** @internal */
|
|
228
|
+
export const ListTenantDestinationAttemptsDir$outboundSchema: z.ZodNativeEnum<
|
|
229
|
+
typeof ListTenantDestinationAttemptsDir
|
|
230
|
+
> = ListTenantDestinationAttemptsDir$inboundSchema;
|
|
231
|
+
|
|
232
|
+
/** @internal */
|
|
233
|
+
export const ListTenantDestinationAttemptsRequest$inboundSchema: z.ZodType<
|
|
234
|
+
ListTenantDestinationAttemptsRequest,
|
|
235
|
+
z.ZodTypeDef,
|
|
236
|
+
unknown
|
|
237
|
+
> = z.object({
|
|
238
|
+
tenant_id: z.string(),
|
|
239
|
+
destination_id: z.string(),
|
|
240
|
+
event_id: z.string().optional(),
|
|
241
|
+
status: ListTenantDestinationAttemptsStatus$inboundSchema.optional(),
|
|
242
|
+
topic: z.union([z.string(), z.array(z.string())]).optional(),
|
|
243
|
+
"time[gte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
244
|
+
.optional(),
|
|
245
|
+
"time[lte]": z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
246
|
+
.optional(),
|
|
247
|
+
limit: z.number().int().default(100),
|
|
248
|
+
next: z.string().optional(),
|
|
249
|
+
prev: z.string().optional(),
|
|
250
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
251
|
+
order_by: ListTenantDestinationAttemptsOrderBy$inboundSchema.default("time"),
|
|
252
|
+
dir: ListTenantDestinationAttemptsDir$inboundSchema.default("desc"),
|
|
253
|
+
}).transform((v) => {
|
|
254
|
+
return remap$(v, {
|
|
255
|
+
"tenant_id": "tenantId",
|
|
256
|
+
"destination_id": "destinationId",
|
|
257
|
+
"event_id": "eventId",
|
|
258
|
+
"time[gte]": "timeGte",
|
|
259
|
+
"time[lte]": "timeLte",
|
|
260
|
+
"order_by": "orderBy",
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
/** @internal */
|
|
264
|
+
export type ListTenantDestinationAttemptsRequest$Outbound = {
|
|
265
|
+
tenant_id: string;
|
|
266
|
+
destination_id: string;
|
|
267
|
+
event_id?: string | undefined;
|
|
268
|
+
status?: string | undefined;
|
|
269
|
+
topic?: string | Array<string> | undefined;
|
|
270
|
+
"time[gte]"?: string | undefined;
|
|
271
|
+
"time[lte]"?: string | undefined;
|
|
272
|
+
limit: number;
|
|
273
|
+
next?: string | undefined;
|
|
274
|
+
prev?: string | undefined;
|
|
275
|
+
include?: string | Array<string> | undefined;
|
|
276
|
+
order_by: string;
|
|
277
|
+
dir: string;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/** @internal */
|
|
281
|
+
export const ListTenantDestinationAttemptsRequest$outboundSchema: z.ZodType<
|
|
282
|
+
ListTenantDestinationAttemptsRequest$Outbound,
|
|
283
|
+
z.ZodTypeDef,
|
|
284
|
+
ListTenantDestinationAttemptsRequest
|
|
285
|
+
> = z.object({
|
|
286
|
+
tenantId: z.string(),
|
|
287
|
+
destinationId: z.string(),
|
|
288
|
+
eventId: z.string().optional(),
|
|
289
|
+
status: ListTenantDestinationAttemptsStatus$outboundSchema.optional(),
|
|
290
|
+
topic: z.union([z.string(), z.array(z.string())]).optional(),
|
|
291
|
+
timeGte: z.date().transform(v => v.toISOString()).optional(),
|
|
292
|
+
timeLte: z.date().transform(v => v.toISOString()).optional(),
|
|
293
|
+
limit: z.number().int().default(100),
|
|
294
|
+
next: z.string().optional(),
|
|
295
|
+
prev: z.string().optional(),
|
|
296
|
+
include: z.union([z.string(), z.array(z.string())]).optional(),
|
|
297
|
+
orderBy: ListTenantDestinationAttemptsOrderBy$outboundSchema.default("time"),
|
|
298
|
+
dir: ListTenantDestinationAttemptsDir$outboundSchema.default("desc"),
|
|
299
|
+
}).transform((v) => {
|
|
300
|
+
return remap$(v, {
|
|
301
|
+
tenantId: "tenant_id",
|
|
302
|
+
destinationId: "destination_id",
|
|
303
|
+
eventId: "event_id",
|
|
304
|
+
timeGte: "time[gte]",
|
|
305
|
+
timeLte: "time[lte]",
|
|
306
|
+
orderBy: "order_by",
|
|
307
|
+
});
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
export function listTenantDestinationAttemptsRequestToJSON(
|
|
311
|
+
listTenantDestinationAttemptsRequest: ListTenantDestinationAttemptsRequest,
|
|
312
|
+
): string {
|
|
313
|
+
return JSON.stringify(
|
|
314
|
+
ListTenantDestinationAttemptsRequest$outboundSchema.parse(
|
|
315
|
+
listTenantDestinationAttemptsRequest,
|
|
316
|
+
),
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
export function listTenantDestinationAttemptsRequestFromJSON(
|
|
320
|
+
jsonString: string,
|
|
321
|
+
): SafeParseResult<ListTenantDestinationAttemptsRequest, SDKValidationError> {
|
|
322
|
+
return safeParse(
|
|
323
|
+
jsonString,
|
|
324
|
+
(x) =>
|
|
325
|
+
ListTenantDestinationAttemptsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
326
|
+
`Failed to parse 'ListTenantDestinationAttemptsRequest' from JSON`,
|
|
327
|
+
);
|
|
328
|
+
}
|
|
@@ -9,10 +9,6 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export type ListTenantDestinationsGlobals = {
|
|
13
|
-
tenantId?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
12
|
/**
|
|
17
13
|
* Filter destinations by type(s).
|
|
18
14
|
*/
|
|
@@ -29,7 +25,7 @@ export type ListTenantDestinationsRequest = {
|
|
|
29
25
|
/**
|
|
30
26
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
31
27
|
*/
|
|
32
|
-
tenantId
|
|
28
|
+
tenantId: string;
|
|
33
29
|
/**
|
|
34
30
|
* Filter destinations by type(s).
|
|
35
31
|
*/
|
|
@@ -43,55 +39,6 @@ export type ListTenantDestinationsRequest = {
|
|
|
43
39
|
topics?: string | Array<string> | undefined;
|
|
44
40
|
};
|
|
45
41
|
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const ListTenantDestinationsGlobals$inboundSchema: z.ZodType<
|
|
48
|
-
ListTenantDestinationsGlobals,
|
|
49
|
-
z.ZodTypeDef,
|
|
50
|
-
unknown
|
|
51
|
-
> = z.object({
|
|
52
|
-
tenant_id: z.string().optional(),
|
|
53
|
-
}).transform((v) => {
|
|
54
|
-
return remap$(v, {
|
|
55
|
-
"tenant_id": "tenantId",
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
/** @internal */
|
|
59
|
-
export type ListTenantDestinationsGlobals$Outbound = {
|
|
60
|
-
tenant_id?: string | undefined;
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
/** @internal */
|
|
64
|
-
export const ListTenantDestinationsGlobals$outboundSchema: z.ZodType<
|
|
65
|
-
ListTenantDestinationsGlobals$Outbound,
|
|
66
|
-
z.ZodTypeDef,
|
|
67
|
-
ListTenantDestinationsGlobals
|
|
68
|
-
> = z.object({
|
|
69
|
-
tenantId: z.string().optional(),
|
|
70
|
-
}).transform((v) => {
|
|
71
|
-
return remap$(v, {
|
|
72
|
-
tenantId: "tenant_id",
|
|
73
|
-
});
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
export function listTenantDestinationsGlobalsToJSON(
|
|
77
|
-
listTenantDestinationsGlobals: ListTenantDestinationsGlobals,
|
|
78
|
-
): string {
|
|
79
|
-
return JSON.stringify(
|
|
80
|
-
ListTenantDestinationsGlobals$outboundSchema.parse(
|
|
81
|
-
listTenantDestinationsGlobals,
|
|
82
|
-
),
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
export function listTenantDestinationsGlobalsFromJSON(
|
|
86
|
-
jsonString: string,
|
|
87
|
-
): SafeParseResult<ListTenantDestinationsGlobals, SDKValidationError> {
|
|
88
|
-
return safeParse(
|
|
89
|
-
jsonString,
|
|
90
|
-
(x) => ListTenantDestinationsGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
91
|
-
`Failed to parse 'ListTenantDestinationsGlobals' from JSON`,
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
42
|
/** @internal */
|
|
96
43
|
export const ListTenantDestinationsType$inboundSchema: z.ZodType<
|
|
97
44
|
ListTenantDestinationsType,
|
|
@@ -163,7 +110,7 @@ export const ListTenantDestinationsRequest$inboundSchema: z.ZodType<
|
|
|
163
110
|
z.ZodTypeDef,
|
|
164
111
|
unknown
|
|
165
112
|
> = z.object({
|
|
166
|
-
tenant_id: z.string()
|
|
113
|
+
tenant_id: z.string(),
|
|
167
114
|
type: z.union([
|
|
168
115
|
components.DestinationType$inboundSchema,
|
|
169
116
|
z.array(components.DestinationType$inboundSchema),
|
|
@@ -176,7 +123,7 @@ export const ListTenantDestinationsRequest$inboundSchema: z.ZodType<
|
|
|
176
123
|
});
|
|
177
124
|
/** @internal */
|
|
178
125
|
export type ListTenantDestinationsRequest$Outbound = {
|
|
179
|
-
tenant_id
|
|
126
|
+
tenant_id: string;
|
|
180
127
|
type?: string | Array<string> | undefined;
|
|
181
128
|
topics?: string | Array<string> | undefined;
|
|
182
129
|
};
|
|
@@ -187,7 +134,7 @@ export const ListTenantDestinationsRequest$outboundSchema: z.ZodType<
|
|
|
187
134
|
z.ZodTypeDef,
|
|
188
135
|
ListTenantDestinationsRequest
|
|
189
136
|
> = z.object({
|
|
190
|
-
tenantId: z.string()
|
|
137
|
+
tenantId: z.string(),
|
|
191
138
|
type: z.union([
|
|
192
139
|
components.DestinationType$outboundSchema,
|
|
193
140
|
z.array(components.DestinationType$outboundSchema),
|
|
@@ -9,16 +9,16 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* Sort
|
|
12
|
+
* Sort direction.
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const ListTenantsDir = {
|
|
15
15
|
Asc: "asc",
|
|
16
16
|
Desc: "desc",
|
|
17
17
|
} as const;
|
|
18
18
|
/**
|
|
19
|
-
* Sort
|
|
19
|
+
* Sort direction.
|
|
20
20
|
*/
|
|
21
|
-
export type
|
|
21
|
+
export type ListTenantsDir = ClosedEnum<typeof ListTenantsDir>;
|
|
22
22
|
|
|
23
23
|
export type ListTenantsRequest = {
|
|
24
24
|
/**
|
|
@@ -26,9 +26,9 @@ export type ListTenantsRequest = {
|
|
|
26
26
|
*/
|
|
27
27
|
limit?: number | undefined;
|
|
28
28
|
/**
|
|
29
|
-
* Sort
|
|
29
|
+
* Sort direction.
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
dir?: ListTenantsDir | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* Cursor for the next page of results. Mutually exclusive with `prev`.
|
|
34
34
|
*/
|
|
@@ -40,12 +40,13 @@ export type ListTenantsRequest = {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
43
|
-
export const
|
|
44
|
-
|
|
45
|
-
);
|
|
43
|
+
export const ListTenantsDir$inboundSchema: z.ZodNativeEnum<
|
|
44
|
+
typeof ListTenantsDir
|
|
45
|
+
> = z.nativeEnum(ListTenantsDir);
|
|
46
46
|
/** @internal */
|
|
47
|
-
export const
|
|
48
|
-
|
|
47
|
+
export const ListTenantsDir$outboundSchema: z.ZodNativeEnum<
|
|
48
|
+
typeof ListTenantsDir
|
|
49
|
+
> = ListTenantsDir$inboundSchema;
|
|
49
50
|
|
|
50
51
|
/** @internal */
|
|
51
52
|
export const ListTenantsRequest$inboundSchema: z.ZodType<
|
|
@@ -54,14 +55,14 @@ export const ListTenantsRequest$inboundSchema: z.ZodType<
|
|
|
54
55
|
unknown
|
|
55
56
|
> = z.object({
|
|
56
57
|
limit: z.number().int().default(20),
|
|
57
|
-
|
|
58
|
+
dir: ListTenantsDir$inboundSchema.default("desc"),
|
|
58
59
|
next: z.string().optional(),
|
|
59
60
|
prev: z.string().optional(),
|
|
60
61
|
});
|
|
61
62
|
/** @internal */
|
|
62
63
|
export type ListTenantsRequest$Outbound = {
|
|
63
64
|
limit: number;
|
|
64
|
-
|
|
65
|
+
dir: string;
|
|
65
66
|
next?: string | undefined;
|
|
66
67
|
prev?: string | undefined;
|
|
67
68
|
};
|
|
@@ -73,7 +74,7 @@ export const ListTenantsRequest$outboundSchema: z.ZodType<
|
|
|
73
74
|
ListTenantsRequest
|
|
74
75
|
> = z.object({
|
|
75
76
|
limit: z.number().int().default(20),
|
|
76
|
-
|
|
77
|
+
dir: ListTenantsDir$outboundSchema.default("desc"),
|
|
77
78
|
next: z.string().optional(),
|
|
78
79
|
prev: z.string().optional(),
|
|
79
80
|
});
|
|
@@ -9,15 +9,11 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export type UpdateTenantDestinationGlobals = {
|
|
13
|
-
tenantId?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
12
|
export type UpdateTenantDestinationRequest = {
|
|
17
13
|
/**
|
|
18
14
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
19
15
|
*/
|
|
20
|
-
tenantId
|
|
16
|
+
tenantId: string;
|
|
21
17
|
/**
|
|
22
18
|
* The ID of the destination.
|
|
23
19
|
*/
|
|
@@ -30,62 +26,13 @@ export type UpdateTenantDestinationRequest = {
|
|
|
30
26
|
*/
|
|
31
27
|
export type UpdateTenantDestinationResponse = components.Destination;
|
|
32
28
|
|
|
33
|
-
/** @internal */
|
|
34
|
-
export const UpdateTenantDestinationGlobals$inboundSchema: z.ZodType<
|
|
35
|
-
UpdateTenantDestinationGlobals,
|
|
36
|
-
z.ZodTypeDef,
|
|
37
|
-
unknown
|
|
38
|
-
> = z.object({
|
|
39
|
-
tenant_id: z.string().optional(),
|
|
40
|
-
}).transform((v) => {
|
|
41
|
-
return remap$(v, {
|
|
42
|
-
"tenant_id": "tenantId",
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
/** @internal */
|
|
46
|
-
export type UpdateTenantDestinationGlobals$Outbound = {
|
|
47
|
-
tenant_id?: string | undefined;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
/** @internal */
|
|
51
|
-
export const UpdateTenantDestinationGlobals$outboundSchema: z.ZodType<
|
|
52
|
-
UpdateTenantDestinationGlobals$Outbound,
|
|
53
|
-
z.ZodTypeDef,
|
|
54
|
-
UpdateTenantDestinationGlobals
|
|
55
|
-
> = z.object({
|
|
56
|
-
tenantId: z.string().optional(),
|
|
57
|
-
}).transform((v) => {
|
|
58
|
-
return remap$(v, {
|
|
59
|
-
tenantId: "tenant_id",
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
export function updateTenantDestinationGlobalsToJSON(
|
|
64
|
-
updateTenantDestinationGlobals: UpdateTenantDestinationGlobals,
|
|
65
|
-
): string {
|
|
66
|
-
return JSON.stringify(
|
|
67
|
-
UpdateTenantDestinationGlobals$outboundSchema.parse(
|
|
68
|
-
updateTenantDestinationGlobals,
|
|
69
|
-
),
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
export function updateTenantDestinationGlobalsFromJSON(
|
|
73
|
-
jsonString: string,
|
|
74
|
-
): SafeParseResult<UpdateTenantDestinationGlobals, SDKValidationError> {
|
|
75
|
-
return safeParse(
|
|
76
|
-
jsonString,
|
|
77
|
-
(x) => UpdateTenantDestinationGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
-
`Failed to parse 'UpdateTenantDestinationGlobals' from JSON`,
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
29
|
/** @internal */
|
|
83
30
|
export const UpdateTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
84
31
|
UpdateTenantDestinationRequest,
|
|
85
32
|
z.ZodTypeDef,
|
|
86
33
|
unknown
|
|
87
34
|
> = z.object({
|
|
88
|
-
tenant_id: z.string()
|
|
35
|
+
tenant_id: z.string(),
|
|
89
36
|
destination_id: z.string(),
|
|
90
37
|
params: components.DestinationUpdate$inboundSchema,
|
|
91
38
|
}).transform((v) => {
|
|
@@ -96,7 +43,7 @@ export const UpdateTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
|
96
43
|
});
|
|
97
44
|
/** @internal */
|
|
98
45
|
export type UpdateTenantDestinationRequest$Outbound = {
|
|
99
|
-
tenant_id
|
|
46
|
+
tenant_id: string;
|
|
100
47
|
destination_id: string;
|
|
101
48
|
params: components.DestinationUpdate$Outbound;
|
|
102
49
|
};
|
|
@@ -107,7 +54,7 @@ export const UpdateTenantDestinationRequest$outboundSchema: z.ZodType<
|
|
|
107
54
|
z.ZodTypeDef,
|
|
108
55
|
UpdateTenantDestinationRequest
|
|
109
56
|
> = z.object({
|
|
110
|
-
tenantId: z.string()
|
|
57
|
+
tenantId: z.string(),
|
|
111
58
|
destinationId: z.string(),
|
|
112
59
|
params: components.DestinationUpdate$outboundSchema,
|
|
113
60
|
}).transform((v) => {
|
|
@@ -9,75 +9,24 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export type UpsertTenantGlobals = {
|
|
13
|
-
tenantId?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
12
|
export type UpsertTenantRequest = {
|
|
17
13
|
/**
|
|
18
14
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
19
15
|
*/
|
|
20
|
-
tenantId
|
|
16
|
+
tenantId: string;
|
|
21
17
|
/**
|
|
22
18
|
* Optional tenant metadata
|
|
23
19
|
*/
|
|
24
20
|
params?: components.TenantUpsert | undefined;
|
|
25
21
|
};
|
|
26
22
|
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const UpsertTenantGlobals$inboundSchema: z.ZodType<
|
|
29
|
-
UpsertTenantGlobals,
|
|
30
|
-
z.ZodTypeDef,
|
|
31
|
-
unknown
|
|
32
|
-
> = z.object({
|
|
33
|
-
tenant_id: z.string().optional(),
|
|
34
|
-
}).transform((v) => {
|
|
35
|
-
return remap$(v, {
|
|
36
|
-
"tenant_id": "tenantId",
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
/** @internal */
|
|
40
|
-
export type UpsertTenantGlobals$Outbound = {
|
|
41
|
-
tenant_id?: string | undefined;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
/** @internal */
|
|
45
|
-
export const UpsertTenantGlobals$outboundSchema: z.ZodType<
|
|
46
|
-
UpsertTenantGlobals$Outbound,
|
|
47
|
-
z.ZodTypeDef,
|
|
48
|
-
UpsertTenantGlobals
|
|
49
|
-
> = z.object({
|
|
50
|
-
tenantId: z.string().optional(),
|
|
51
|
-
}).transform((v) => {
|
|
52
|
-
return remap$(v, {
|
|
53
|
-
tenantId: "tenant_id",
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
export function upsertTenantGlobalsToJSON(
|
|
58
|
-
upsertTenantGlobals: UpsertTenantGlobals,
|
|
59
|
-
): string {
|
|
60
|
-
return JSON.stringify(
|
|
61
|
-
UpsertTenantGlobals$outboundSchema.parse(upsertTenantGlobals),
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
export function upsertTenantGlobalsFromJSON(
|
|
65
|
-
jsonString: string,
|
|
66
|
-
): SafeParseResult<UpsertTenantGlobals, SDKValidationError> {
|
|
67
|
-
return safeParse(
|
|
68
|
-
jsonString,
|
|
69
|
-
(x) => UpsertTenantGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
70
|
-
`Failed to parse 'UpsertTenantGlobals' from JSON`,
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
23
|
/** @internal */
|
|
75
24
|
export const UpsertTenantRequest$inboundSchema: z.ZodType<
|
|
76
25
|
UpsertTenantRequest,
|
|
77
26
|
z.ZodTypeDef,
|
|
78
27
|
unknown
|
|
79
28
|
> = z.object({
|
|
80
|
-
tenant_id: z.string()
|
|
29
|
+
tenant_id: z.string(),
|
|
81
30
|
params: components.TenantUpsert$inboundSchema.optional(),
|
|
82
31
|
}).transform((v) => {
|
|
83
32
|
return remap$(v, {
|
|
@@ -86,7 +35,7 @@ export const UpsertTenantRequest$inboundSchema: z.ZodType<
|
|
|
86
35
|
});
|
|
87
36
|
/** @internal */
|
|
88
37
|
export type UpsertTenantRequest$Outbound = {
|
|
89
|
-
tenant_id
|
|
38
|
+
tenant_id: string;
|
|
90
39
|
params?: components.TenantUpsert$Outbound | undefined;
|
|
91
40
|
};
|
|
92
41
|
|
|
@@ -96,7 +45,7 @@ export const UpsertTenantRequest$outboundSchema: z.ZodType<
|
|
|
96
45
|
z.ZodTypeDef,
|
|
97
46
|
UpsertTenantRequest
|
|
98
47
|
> = z.object({
|
|
99
|
-
tenantId: z.string()
|
|
48
|
+
tenantId: z.string(),
|
|
100
49
|
params: components.TenantUpsert$outboundSchema.optional(),
|
|
101
50
|
}).transform((v) => {
|
|
102
51
|
return remap$(v, {
|