@hookdeck/outpost-sdk 0.0.2 → 0.1.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 +15 -33
- package/bin/mcp-server.js +3886 -1816
- package/bin/mcp-server.js.map +88 -53
- package/dist/commonjs/funcs/destinationsCreate.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsCreate.js +7 -18
- package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.js +7 -18
- package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsDisable.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.js +7 -18
- package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsEnable.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.js +7 -18
- package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.js +7 -18
- package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
- package/dist/commonjs/funcs/destinationsList.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsList.js +7 -18
- package/dist/commonjs/funcs/destinationsList.js.map +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.js +7 -18
- package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.d.ts +1 -1
- package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +7 -18
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsGetByDestination.d.ts +1 -1
- package/dist/commonjs/funcs/eventsGetByDestination.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGetByDestination.js +7 -18
- package/dist/commonjs/funcs/eventsGetByDestination.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +7 -18
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/eventsListByDestination.d.ts +1 -1
- package/dist/commonjs/funcs/eventsListByDestination.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListByDestination.js +7 -18
- package/dist/commonjs/funcs/eventsListByDestination.js.map +1 -1
- package/dist/commonjs/funcs/eventsListDeliveries.d.ts +1 -1
- package/dist/commonjs/funcs/eventsListDeliveries.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListDeliveries.js +7 -18
- package/dist/commonjs/funcs/eventsListDeliveries.js.map +1 -1
- package/dist/commonjs/funcs/eventsRetry.d.ts +1 -1
- package/dist/commonjs/funcs/eventsRetry.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsRetry.js +7 -18
- package/dist/commonjs/funcs/eventsRetry.js.map +1 -1
- package/dist/commonjs/funcs/publishEvent.js +2 -3
- package/dist/commonjs/funcs/publishEvent.js.map +1 -1
- package/dist/commonjs/funcs/schemasGet.d.ts +1 -1
- package/dist/commonjs/funcs/schemasGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/schemasGet.js +7 -18
- package/dist/commonjs/funcs/schemasGet.js.map +1 -1
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.d.ts +3 -3
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.d.ts.map +1 -1
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js +11 -16
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts +1 -2
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts.map +1 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js +7 -12
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts +1 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.d.ts.map +1 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js +7 -18
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js.map +1 -1
- package/dist/commonjs/funcs/tenantsDelete.d.ts +1 -1
- package/dist/commonjs/funcs/tenantsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsDelete.js +7 -18
- package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.d.ts +1 -1
- package/dist/commonjs/funcs/tenantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.js +7 -18
- package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js +2 -3
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.js +2 -3
- package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.js +2 -3
- package/dist/commonjs/funcs/tenantsUpsert.js.map +1 -1
- package/dist/commonjs/funcs/topicsList.d.ts +1 -1
- package/dist/commonjs/funcs/topicsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/topicsList.js +7 -18
- package/dist/commonjs/funcs/topicsList.js.map +1 -1
- package/dist/commonjs/funcs/topicsListJwt.d.ts +3 -4
- package/dist/commonjs/funcs/topicsListJwt.d.ts.map +1 -1
- package/dist/commonjs/funcs/topicsListJwt.js +10 -15
- package/dist/commonjs/funcs/topicsListJwt.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +7 -3
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +6 -0
- 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 +8 -0
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -0
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +8 -2
- 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 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +44 -6
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsCreate.js +64 -0
- package/dist/commonjs/mcp-server/tools/destinationsCreate.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsDelete.js +64 -0
- package/dist/commonjs/mcp-server/tools/destinationsDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsDisable.js +64 -0
- package/dist/commonjs/mcp-server/tools/destinationsDisable.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsEnable.js +64 -0
- package/dist/commonjs/mcp-server/tools/destinationsEnable.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsGet.js +64 -0
- package/dist/commonjs/mcp-server/tools/destinationsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{tenantsGetPortalUrlJwtContext.js → destinationsList.js} +9 -9
- package/dist/commonjs/mcp-server/tools/destinationsList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.js +64 -0
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsGet.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsGetByDestination.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsGetByDestination.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsGetByDestination.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsGetByDestination.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsList.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.js +64 -0
- package/dist/commonjs/mcp-server/tools/eventsListDeliveries.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsRetry.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/eventsRetry.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/eventsRetry.js +63 -0
- package/dist/commonjs/mcp-server/tools/eventsRetry.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schemasGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasGet.js +64 -0
- package/dist/commonjs/mcp-server/tools/schemasGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.js +64 -0
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +3 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.js +26 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.js +64 -0
- package/dist/commonjs/mcp-server/tools/schemasListTenantDestinationTypes.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/tenantsDelete.js +64 -0
- package/dist/commonjs/mcp-server/tools/tenantsDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/tenantsGet.js +64 -0
- package/dist/commonjs/mcp-server/tools/tenantsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/topicsList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/topicsList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/topicsList.js +64 -0
- package/dist/commonjs/mcp-server/tools/topicsList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/topicsListJwt.d.ts +3 -0
- package/dist/commonjs/mcp-server/tools/topicsListJwt.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/topicsListJwt.js +26 -0
- package/dist/commonjs/mcp-server/tools/topicsListJwt.js.map +1 -0
- package/dist/commonjs/models/components/security.d.ts +2 -0
- package/dist/commonjs/models/components/security.d.ts.map +1 -1
- package/dist/commonjs/models/components/security.js +4 -0
- package/dist/commonjs/models/components/security.js.map +1 -1
- package/dist/commonjs/models/operations/createtenantdestination.d.ts +0 -27
- package/dist/commonjs/models/operations/createtenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createtenantdestination.js +1 -40
- package/dist/commonjs/models/operations/createtenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/deletetenant.d.ts +0 -27
- package/dist/commonjs/models/operations/deletetenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletetenant.js +1 -40
- package/dist/commonjs/models/operations/deletetenant.js.map +1 -1
- package/dist/commonjs/models/operations/deletetenantdestination.d.ts +0 -27
- package/dist/commonjs/models/operations/deletetenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletetenantdestination.js +1 -40
- package/dist/commonjs/models/operations/deletetenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/disabletenantdestination.d.ts +0 -27
- package/dist/commonjs/models/operations/disabletenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/disabletenantdestination.js +1 -40
- package/dist/commonjs/models/operations/disabletenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/enabletenantdestination.d.ts +0 -27
- package/dist/commonjs/models/operations/enabletenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/enabletenantdestination.js +1 -40
- package/dist/commonjs/models/operations/enabletenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts +73 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.js +94 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -0
- package/dist/commonjs/models/operations/gettenant.d.ts +0 -27
- package/dist/commonjs/models/operations/gettenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenant.js +1 -40
- package/dist/commonjs/models/operations/gettenant.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestination.d.ts +0 -27
- package/dist/commonjs/models/operations/gettenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestination.js +1 -40
- package/dist/commonjs/models/operations/gettenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts +0 -27
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js +1 -40
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantevent.d.ts +0 -27
- package/dist/commonjs/models/operations/gettenantevent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantevent.js +1 -40
- package/dist/commonjs/models/operations/gettenantevent.js.map +1 -1
- package/dist/commonjs/models/operations/gettenanteventbydestination.d.ts +0 -27
- package/dist/commonjs/models/operations/gettenanteventbydestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenanteventbydestination.js +1 -40
- package/dist/commonjs/models/operations/gettenanteventbydestination.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantportalurl.d.ts +8 -8
- package/dist/commonjs/models/operations/gettenantportalurl.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantportalurl.js +13 -13
- package/dist/commonjs/models/operations/gettenantportalurl.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -4
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -4
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts +0 -27
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.js +1 -40
- package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.d.ts +0 -27
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.js +1 -40
- package/dist/commonjs/models/operations/listtenantdestinationtypeschemas.js.map +1 -1
- package/dist/commonjs/models/operations/listtenanteventdeliveries.d.ts +0 -27
- package/dist/commonjs/models/operations/listtenanteventdeliveries.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenanteventdeliveries.js +1 -40
- package/dist/commonjs/models/operations/listtenanteventdeliveries.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantevents.d.ts +0 -27
- package/dist/commonjs/models/operations/listtenantevents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantevents.js +1 -40
- package/dist/commonjs/models/operations/listtenantevents.js.map +1 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts +0 -27
- package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.js +1 -40
- package/dist/commonjs/models/operations/listtenanteventsbydestination.js.map +1 -1
- package/dist/commonjs/models/operations/listtenanttopics.d.ts +0 -27
- package/dist/commonjs/models/operations/listtenanttopics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenanttopics.js +1 -40
- package/dist/commonjs/models/operations/listtenanttopics.js.map +1 -1
- package/dist/commonjs/models/operations/retrytenantevent.d.ts +0 -27
- package/dist/commonjs/models/operations/retrytenantevent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retrytenantevent.js +1 -40
- package/dist/commonjs/models/operations/retrytenantevent.js.map +1 -1
- package/dist/commonjs/models/operations/updatetenantdestination.d.ts +0 -27
- package/dist/commonjs/models/operations/updatetenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatetenantdestination.js +1 -40
- package/dist/commonjs/models/operations/updatetenantdestination.js.map +1 -1
- package/dist/commonjs/sdk/destinations.d.ts +7 -7
- package/dist/commonjs/sdk/destinations.d.ts.map +1 -1
- package/dist/commonjs/sdk/destinations.js +14 -14
- package/dist/commonjs/sdk/destinations.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +6 -6
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +12 -12
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/schemas.d.ts +6 -6
- package/dist/commonjs/sdk/schemas.d.ts.map +1 -1
- package/dist/commonjs/sdk/schemas.js +10 -10
- package/dist/commonjs/sdk/schemas.js.map +1 -1
- package/dist/commonjs/sdk/tenants.d.ts +2 -16
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/tenants.js +4 -24
- package/dist/commonjs/sdk/tenants.js.map +1 -1
- package/dist/commonjs/sdk/topics.d.ts +4 -4
- package/dist/commonjs/sdk/topics.d.ts.map +1 -1
- package/dist/commonjs/sdk/topics.js +6 -6
- package/dist/commonjs/sdk/topics.js.map +1 -1
- package/dist/esm/funcs/destinationsCreate.d.ts +1 -1
- package/dist/esm/funcs/destinationsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsCreate.js +8 -19
- package/dist/esm/funcs/destinationsCreate.js.map +1 -1
- package/dist/esm/funcs/destinationsDelete.d.ts +1 -1
- package/dist/esm/funcs/destinationsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsDelete.js +8 -19
- package/dist/esm/funcs/destinationsDelete.js.map +1 -1
- package/dist/esm/funcs/destinationsDisable.d.ts +1 -1
- package/dist/esm/funcs/destinationsDisable.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsDisable.js +8 -19
- package/dist/esm/funcs/destinationsDisable.js.map +1 -1
- package/dist/esm/funcs/destinationsEnable.d.ts +1 -1
- package/dist/esm/funcs/destinationsEnable.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsEnable.js +8 -19
- package/dist/esm/funcs/destinationsEnable.js.map +1 -1
- package/dist/esm/funcs/destinationsGet.d.ts +1 -1
- package/dist/esm/funcs/destinationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsGet.js +8 -19
- package/dist/esm/funcs/destinationsGet.js.map +1 -1
- package/dist/esm/funcs/destinationsList.d.ts +1 -1
- package/dist/esm/funcs/destinationsList.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsList.js +8 -19
- package/dist/esm/funcs/destinationsList.js.map +1 -1
- package/dist/esm/funcs/destinationsUpdate.d.ts +1 -1
- package/dist/esm/funcs/destinationsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsUpdate.js +8 -19
- package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.d.ts +1 -1
- package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGet.js +8 -19
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsGetByDestination.d.ts +1 -1
- package/dist/esm/funcs/eventsGetByDestination.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGetByDestination.js +8 -19
- package/dist/esm/funcs/eventsGetByDestination.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts +1 -1
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +8 -19
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/eventsListByDestination.d.ts +1 -1
- package/dist/esm/funcs/eventsListByDestination.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListByDestination.js +8 -19
- package/dist/esm/funcs/eventsListByDestination.js.map +1 -1
- package/dist/esm/funcs/eventsListDeliveries.d.ts +1 -1
- package/dist/esm/funcs/eventsListDeliveries.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListDeliveries.js +8 -19
- package/dist/esm/funcs/eventsListDeliveries.js.map +1 -1
- package/dist/esm/funcs/eventsRetry.d.ts +1 -1
- package/dist/esm/funcs/eventsRetry.d.ts.map +1 -1
- package/dist/esm/funcs/eventsRetry.js +8 -19
- package/dist/esm/funcs/eventsRetry.js.map +1 -1
- package/dist/esm/funcs/publishEvent.js +2 -3
- package/dist/esm/funcs/publishEvent.js.map +1 -1
- package/dist/esm/funcs/schemasGet.d.ts +1 -1
- package/dist/esm/funcs/schemasGet.d.ts.map +1 -1
- package/dist/esm/funcs/schemasGet.js +8 -19
- package/dist/esm/funcs/schemasGet.js.map +1 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts +3 -3
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts.map +1 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.js +12 -17
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts +1 -2
- package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts.map +1 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js +8 -13
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts +1 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.d.ts.map +1 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.js +8 -19
- package/dist/esm/funcs/schemasListTenantDestinationTypes.js.map +1 -1
- package/dist/esm/funcs/tenantsDelete.d.ts +1 -1
- package/dist/esm/funcs/tenantsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsDelete.js +8 -19
- package/dist/esm/funcs/tenantsDelete.js.map +1 -1
- package/dist/esm/funcs/tenantsGet.d.ts +1 -1
- package/dist/esm/funcs/tenantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGet.js +8 -19
- package/dist/esm/funcs/tenantsGet.js.map +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.js +2 -3
- package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/esm/funcs/tenantsGetToken.js +2 -3
- package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
- package/dist/esm/funcs/tenantsUpsert.js +2 -3
- package/dist/esm/funcs/tenantsUpsert.js.map +1 -1
- package/dist/esm/funcs/topicsList.d.ts +1 -1
- package/dist/esm/funcs/topicsList.d.ts.map +1 -1
- package/dist/esm/funcs/topicsList.js +8 -19
- package/dist/esm/funcs/topicsList.js.map +1 -1
- package/dist/esm/funcs/topicsListJwt.d.ts +3 -4
- package/dist/esm/funcs/topicsListJwt.d.ts.map +1 -1
- package/dist/esm/funcs/topicsListJwt.js +11 -16
- package/dist/esm/funcs/topicsListJwt.js.map +1 -1
- package/dist/esm/lib/config.d.ts +7 -3
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +6 -0
- 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 +8 -0
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -0
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +8 -2
- 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 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +44 -6
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsCreate.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsCreate.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsCreate.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsCreate.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsDelete.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsDisable.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsDisable.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsDisable.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsDisable.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsEnable.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsEnable.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsEnable.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsEnable.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsGet.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsList.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsList.js.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts +8 -0
- package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/destinationsUpdate.js +28 -0
- package/dist/esm/mcp-server/tools/destinationsUpdate.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsGet.js +28 -0
- package/dist/esm/mcp-server/tools/eventsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsGetByDestination.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsGetByDestination.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsGetByDestination.js +28 -0
- package/dist/esm/mcp-server/tools/eventsGetByDestination.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsList.js +28 -0
- package/dist/esm/mcp-server/tools/eventsList.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListByDestination.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListByDestination.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListByDestination.js +28 -0
- package/dist/esm/mcp-server/tools/eventsListByDestination.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListDeliveries.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsListDeliveries.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsListDeliveries.js +28 -0
- package/dist/esm/mcp-server/tools/eventsListDeliveries.js.map +1 -0
- package/dist/esm/mcp-server/tools/eventsRetry.d.ts +8 -0
- package/dist/esm/mcp-server/tools/eventsRetry.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/eventsRetry.js +27 -0
- package/dist/esm/mcp-server/tools/eventsRetry.js.map +1 -0
- package/dist/esm/mcp-server/tools/schemasGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schemasGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schemasGet.js +28 -0
- package/dist/esm/mcp-server/tools/schemasGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.js +28 -0
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +1 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +3 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.js +23 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.js.map +1 -0
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.js +28 -0
- package/dist/esm/mcp-server/tools/schemasListTenantDestinationTypes.js.map +1 -0
- package/dist/esm/mcp-server/tools/tenantsDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/tenantsDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/tenantsDelete.js +28 -0
- package/dist/esm/mcp-server/tools/tenantsDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/tenantsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/tenantsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/tenantsGet.js +28 -0
- package/dist/esm/mcp-server/tools/tenantsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/topicsList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/topicsList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/topicsList.js +28 -0
- package/dist/esm/mcp-server/tools/topicsList.js.map +1 -0
- package/dist/esm/mcp-server/tools/topicsListJwt.d.ts +3 -0
- package/dist/esm/mcp-server/tools/topicsListJwt.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/topicsListJwt.js +23 -0
- package/dist/esm/mcp-server/tools/topicsListJwt.js.map +1 -0
- package/dist/esm/models/components/security.d.ts +2 -0
- package/dist/esm/models/components/security.d.ts.map +1 -1
- package/dist/esm/models/components/security.js +4 -0
- package/dist/esm/models/components/security.js.map +1 -1
- package/dist/esm/models/operations/createtenantdestination.d.ts +0 -27
- package/dist/esm/models/operations/createtenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/createtenantdestination.js +0 -37
- package/dist/esm/models/operations/createtenantdestination.js.map +1 -1
- package/dist/esm/models/operations/deletetenant.d.ts +0 -27
- package/dist/esm/models/operations/deletetenant.d.ts.map +1 -1
- package/dist/esm/models/operations/deletetenant.js +0 -37
- package/dist/esm/models/operations/deletetenant.js.map +1 -1
- package/dist/esm/models/operations/deletetenantdestination.d.ts +0 -27
- package/dist/esm/models/operations/deletetenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/deletetenantdestination.js +0 -37
- package/dist/esm/models/operations/deletetenantdestination.js.map +1 -1
- package/dist/esm/models/operations/disabletenantdestination.d.ts +0 -27
- package/dist/esm/models/operations/disabletenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/disabletenantdestination.js +0 -37
- package/dist/esm/models/operations/disabletenantdestination.js.map +1 -1
- package/dist/esm/models/operations/enabletenantdestination.d.ts +0 -27
- package/dist/esm/models/operations/enabletenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/enabletenantdestination.js +0 -37
- package/dist/esm/models/operations/enabletenantdestination.js.map +1 -1
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts +73 -0
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -0
- package/dist/esm/models/operations/getdestinationtypeschema.js +56 -0
- package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -0
- package/dist/esm/models/operations/gettenant.d.ts +0 -27
- package/dist/esm/models/operations/gettenant.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenant.js +0 -37
- package/dist/esm/models/operations/gettenant.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestination.d.ts +0 -27
- package/dist/esm/models/operations/gettenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantdestination.js +0 -37
- package/dist/esm/models/operations/gettenantdestination.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts +0 -27
- package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationtypeschema.js +0 -37
- package/dist/esm/models/operations/gettenantdestinationtypeschema.js.map +1 -1
- package/dist/esm/models/operations/gettenantevent.d.ts +0 -27
- package/dist/esm/models/operations/gettenantevent.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantevent.js +0 -37
- package/dist/esm/models/operations/gettenantevent.js.map +1 -1
- package/dist/esm/models/operations/gettenanteventbydestination.d.ts +0 -27
- package/dist/esm/models/operations/gettenanteventbydestination.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenanteventbydestination.js +0 -37
- package/dist/esm/models/operations/gettenanteventbydestination.js.map +1 -1
- package/dist/esm/models/operations/gettenantportalurl.d.ts +8 -8
- package/dist/esm/models/operations/gettenantportalurl.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantportalurl.js +12 -12
- package/dist/esm/models/operations/gettenantportalurl.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -4
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -4
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.d.ts +0 -27
- package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.js +0 -37
- package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.d.ts +0 -27
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.js +0 -37
- package/dist/esm/models/operations/listtenantdestinationtypeschemas.js.map +1 -1
- package/dist/esm/models/operations/listtenanteventdeliveries.d.ts +0 -27
- package/dist/esm/models/operations/listtenanteventdeliveries.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenanteventdeliveries.js +0 -37
- package/dist/esm/models/operations/listtenanteventdeliveries.js.map +1 -1
- package/dist/esm/models/operations/listtenantevents.d.ts +0 -27
- package/dist/esm/models/operations/listtenantevents.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantevents.js +0 -37
- package/dist/esm/models/operations/listtenantevents.js.map +1 -1
- package/dist/esm/models/operations/listtenanteventsbydestination.d.ts +0 -27
- package/dist/esm/models/operations/listtenanteventsbydestination.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenanteventsbydestination.js +0 -37
- package/dist/esm/models/operations/listtenanteventsbydestination.js.map +1 -1
- package/dist/esm/models/operations/listtenanttopics.d.ts +0 -27
- package/dist/esm/models/operations/listtenanttopics.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenanttopics.js +0 -37
- package/dist/esm/models/operations/listtenanttopics.js.map +1 -1
- package/dist/esm/models/operations/retrytenantevent.d.ts +0 -27
- package/dist/esm/models/operations/retrytenantevent.d.ts.map +1 -1
- package/dist/esm/models/operations/retrytenantevent.js +0 -37
- package/dist/esm/models/operations/retrytenantevent.js.map +1 -1
- package/dist/esm/models/operations/updatetenantdestination.d.ts +0 -27
- package/dist/esm/models/operations/updatetenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/updatetenantdestination.js +0 -37
- package/dist/esm/models/operations/updatetenantdestination.js.map +1 -1
- package/dist/esm/sdk/destinations.d.ts +7 -7
- package/dist/esm/sdk/destinations.d.ts.map +1 -1
- package/dist/esm/sdk/destinations.js +14 -14
- package/dist/esm/sdk/destinations.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +6 -6
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +12 -12
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/schemas.d.ts +6 -6
- package/dist/esm/sdk/schemas.d.ts.map +1 -1
- package/dist/esm/sdk/schemas.js +10 -10
- package/dist/esm/sdk/schemas.js.map +1 -1
- package/dist/esm/sdk/tenants.d.ts +2 -16
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/tenants.js +4 -24
- package/dist/esm/sdk/tenants.js.map +1 -1
- package/dist/esm/sdk/topics.d.ts +4 -4
- package/dist/esm/sdk/topics.d.ts.map +1 -1
- package/dist/esm/sdk/topics.js +6 -6
- package/dist/esm/sdk/topics.js.map +1 -1
- package/docs/sdks/destinations/README.md +70 -49
- package/docs/sdks/events/README.md +60 -42
- package/docs/sdks/publish/README.md +6 -2
- package/docs/sdks/schemas/README.md +47 -35
- package/docs/sdks/tenants/README.md +38 -183
- package/docs/sdks/topics/README.md +24 -18
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/destinationsCreate.ts +5 -22
- package/src/funcs/destinationsDelete.ts +5 -22
- package/src/funcs/destinationsDisable.ts +5 -22
- package/src/funcs/destinationsEnable.ts +5 -22
- package/src/funcs/destinationsGet.ts +5 -22
- package/src/funcs/destinationsList.ts +5 -22
- package/src/funcs/destinationsUpdate.ts +5 -22
- package/src/funcs/eventsGet.ts +5 -22
- package/src/funcs/eventsGetByDestination.ts +5 -22
- package/src/funcs/eventsList.ts +5 -22
- package/src/funcs/eventsListByDestination.ts +5 -22
- package/src/funcs/eventsListDeliveries.ts +5 -22
- package/src/funcs/eventsRetry.ts +5 -22
- package/src/funcs/publishEvent.ts +2 -3
- package/src/funcs/schemasGet.ts +5 -22
- package/src/funcs/schemasGetDestinationTypeJwt.ts +11 -21
- package/src/funcs/schemasListDestinationTypesJwt.ts +5 -16
- package/src/funcs/schemasListTenantDestinationTypes.ts +5 -22
- package/src/funcs/tenantsDelete.ts +5 -22
- package/src/funcs/tenantsGet.ts +5 -22
- package/src/funcs/tenantsGetPortalUrl.ts +2 -3
- package/src/funcs/tenantsGetToken.ts +2 -3
- package/src/funcs/tenantsUpsert.ts +2 -3
- package/src/funcs/topicsList.ts +5 -22
- package/src/funcs/topicsListJwt.ts +8 -19
- package/src/lib/config.ts +10 -3
- package/src/lib/security.ts +7 -0
- package/src/mcp-server/cli/start/command.ts +8 -0
- package/src/mcp-server/cli/start/impl.ts +9 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +45 -7
- package/src/mcp-server/tools/destinationsCreate.ts +37 -0
- package/src/mcp-server/tools/destinationsDelete.ts +37 -0
- package/src/mcp-server/tools/destinationsDisable.ts +37 -0
- package/src/mcp-server/tools/destinationsEnable.ts +37 -0
- package/src/mcp-server/tools/destinationsGet.ts +37 -0
- package/src/mcp-server/tools/{tenantsGetPortalUrlJwtContext.ts → destinationsList.ts} +7 -7
- package/src/mcp-server/tools/destinationsUpdate.ts +37 -0
- package/src/mcp-server/tools/eventsGet.ts +37 -0
- package/src/mcp-server/tools/eventsGetByDestination.ts +37 -0
- package/src/mcp-server/tools/eventsList.ts +37 -0
- package/src/mcp-server/tools/eventsListByDestination.ts +37 -0
- package/src/mcp-server/tools/eventsListDeliveries.ts +37 -0
- package/src/mcp-server/tools/eventsRetry.ts +35 -0
- package/src/mcp-server/tools/schemasGet.ts +37 -0
- package/src/mcp-server/tools/schemasGetDestinationTypeJwt.ts +37 -0
- package/src/mcp-server/tools/schemasListDestinationTypesJwt.ts +30 -0
- package/src/mcp-server/tools/schemasListTenantDestinationTypes.ts +39 -0
- package/src/mcp-server/tools/tenantsDelete.ts +37 -0
- package/src/mcp-server/tools/tenantsGet.ts +37 -0
- package/src/mcp-server/tools/topicsList.ts +37 -0
- package/src/mcp-server/tools/{tenantsGetTokenJwtContext.ts → topicsListJwt.ts} +6 -6
- package/src/models/components/security.ts +6 -0
- package/src/models/operations/createtenantdestination.ts +0 -74
- package/src/models/operations/deletetenant.ts +0 -72
- package/src/models/operations/deletetenantdestination.ts +0 -74
- package/src/models/operations/disabletenantdestination.ts +0 -74
- package/src/models/operations/enabletenantdestination.ts +0 -74
- package/src/models/operations/getdestinationtypeschema.ts +110 -0
- package/src/models/operations/gettenant.ts +0 -72
- package/src/models/operations/gettenantdestination.ts +0 -74
- package/src/models/operations/gettenantdestinationtypeschema.ts +0 -78
- package/src/models/operations/gettenantevent.ts +0 -72
- package/src/models/operations/gettenanteventbydestination.ts +0 -77
- package/src/models/operations/gettenantportalurl.ts +15 -18
- package/src/models/operations/index.ts +1 -4
- package/src/models/operations/listtenantdestinations.ts +0 -74
- package/src/models/operations/listtenantdestinationtypeschemas.ts +0 -83
- package/src/models/operations/listtenanteventdeliveries.ts +0 -75
- package/src/models/operations/listtenantevents.ts +0 -72
- package/src/models/operations/listtenanteventsbydestination.ts +0 -77
- package/src/models/operations/listtenanttopics.ts +0 -72
- package/src/models/operations/retrytenantevent.ts +0 -72
- package/src/models/operations/updatetenantdestination.ts +0 -74
- package/src/sdk/destinations.ts +0 -14
- package/src/sdk/events.ts +0 -12
- package/src/sdk/schemas.ts +3 -11
- package/src/sdk/tenants.ts +0 -38
- package/src/sdk/topics.ts +2 -6
- package/dist/commonjs/funcs/tenantsGetPortalUrlJwtContext.d.ts +0 -18
- package/dist/commonjs/funcs/tenantsGetPortalUrlJwtContext.d.ts.map +0 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrlJwtContext.js +0 -146
- package/dist/commonjs/funcs/tenantsGetPortalUrlJwtContext.js.map +0 -1
- package/dist/commonjs/funcs/tenantsGetTokenJwtContext.d.ts +0 -17
- package/dist/commonjs/funcs/tenantsGetTokenJwtContext.d.ts.map +0 -1
- package/dist/commonjs/funcs/tenantsGetTokenJwtContext.js +0 -132
- package/dist/commonjs/funcs/tenantsGetTokenJwtContext.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrlJwtContext.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrlJwtContext.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrlJwtContext.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetTokenJwtContext.d.ts +0 -3
- package/dist/commonjs/mcp-server/tools/tenantsGetTokenJwtContext.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetTokenJwtContext.js +0 -26
- package/dist/commonjs/mcp-server/tools/tenantsGetTokenJwtContext.js.map +0 -1
- package/dist/commonjs/models/operations/getdestinationtypeschemajwt.d.ts +0 -98
- package/dist/commonjs/models/operations/getdestinationtypeschemajwt.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getdestinationtypeschemajwt.js +0 -130
- package/dist/commonjs/models/operations/getdestinationtypeschemajwt.js.map +0 -1
- package/dist/commonjs/models/operations/getportalurljwtcontext.d.ts +0 -64
- package/dist/commonjs/models/operations/getportalurljwtcontext.d.ts.map +0 -1
- package/dist/commonjs/models/operations/getportalurljwtcontext.js +0 -91
- package/dist/commonjs/models/operations/getportalurljwtcontext.js.map +0 -1
- package/dist/commonjs/models/operations/listdestinationtypeschemasjwt.d.ts +0 -29
- package/dist/commonjs/models/operations/listdestinationtypeschemasjwt.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listdestinationtypeschemasjwt.js +0 -78
- package/dist/commonjs/models/operations/listdestinationtypeschemasjwt.js.map +0 -1
- package/dist/commonjs/models/operations/listtopicsjwt.d.ts +0 -29
- package/dist/commonjs/models/operations/listtopicsjwt.d.ts.map +0 -1
- package/dist/commonjs/models/operations/listtopicsjwt.js +0 -78
- package/dist/commonjs/models/operations/listtopicsjwt.js.map +0 -1
- package/dist/esm/funcs/tenantsGetPortalUrlJwtContext.d.ts +0 -18
- package/dist/esm/funcs/tenantsGetPortalUrlJwtContext.d.ts.map +0 -1
- package/dist/esm/funcs/tenantsGetPortalUrlJwtContext.js +0 -110
- package/dist/esm/funcs/tenantsGetPortalUrlJwtContext.js.map +0 -1
- package/dist/esm/funcs/tenantsGetTokenJwtContext.d.ts +0 -17
- package/dist/esm/funcs/tenantsGetTokenJwtContext.d.ts.map +0 -1
- package/dist/esm/funcs/tenantsGetTokenJwtContext.js +0 -96
- package/dist/esm/funcs/tenantsGetTokenJwtContext.js.map +0 -1
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrlJwtContext.d.ts +0 -8
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrlJwtContext.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrlJwtContext.js +0 -28
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrlJwtContext.js.map +0 -1
- package/dist/esm/mcp-server/tools/tenantsGetTokenJwtContext.d.ts +0 -3
- package/dist/esm/mcp-server/tools/tenantsGetTokenJwtContext.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/tenantsGetTokenJwtContext.js +0 -23
- package/dist/esm/mcp-server/tools/tenantsGetTokenJwtContext.js.map +0 -1
- package/dist/esm/models/operations/getdestinationtypeschemajwt.d.ts +0 -98
- package/dist/esm/models/operations/getdestinationtypeschemajwt.d.ts.map +0 -1
- package/dist/esm/models/operations/getdestinationtypeschemajwt.js +0 -90
- package/dist/esm/models/operations/getdestinationtypeschemajwt.js.map +0 -1
- package/dist/esm/models/operations/getportalurljwtcontext.d.ts +0 -64
- package/dist/esm/models/operations/getportalurljwtcontext.d.ts.map +0 -1
- package/dist/esm/models/operations/getportalurljwtcontext.js +0 -53
- package/dist/esm/models/operations/getportalurljwtcontext.js.map +0 -1
- package/dist/esm/models/operations/listdestinationtypeschemasjwt.d.ts +0 -29
- package/dist/esm/models/operations/listdestinationtypeschemasjwt.d.ts.map +0 -1
- package/dist/esm/models/operations/listdestinationtypeschemasjwt.js +0 -40
- package/dist/esm/models/operations/listdestinationtypeschemasjwt.js.map +0 -1
- package/dist/esm/models/operations/listtopicsjwt.d.ts +0 -29
- package/dist/esm/models/operations/listtopicsjwt.d.ts.map +0 -1
- package/dist/esm/models/operations/listtopicsjwt.js +0 -40
- package/dist/esm/models/operations/listtopicsjwt.js.map +0 -1
- package/src/funcs/tenantsGetPortalUrlJwtContext.ts +0 -233
- package/src/funcs/tenantsGetTokenJwtContext.ts +0 -209
- package/src/models/operations/getdestinationtypeschemajwt.ts +0 -184
- package/src/models/operations/getportalurljwtcontext.ts +0 -107
- package/src/models/operations/listdestinationtypeschemasjwt.ts +0 -80
- package/src/models/operations/listtopicsjwt.ts +0 -75
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { eventsListDeliveries } from "../../funcs/eventsListDeliveries.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.ListTenantEventDeliveriesRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$eventsListDeliveries: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "events-list-deliveries",
|
|
15
|
+
description: `List Event Delivery Attempts
|
|
16
|
+
|
|
17
|
+
Retrieves a list of delivery attempts for a specific event, including response details.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await eventsListDeliveries(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { eventsRetry } from "../../funcs/eventsRetry.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.RetryTenantEventRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$eventsRetry: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "events-retry",
|
|
15
|
+
description: `Retry Event Delivery
|
|
16
|
+
|
|
17
|
+
Triggers a retry for a failed event delivery.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await eventsRetry(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return formatResult(void 0, apiCall);
|
|
34
|
+
},
|
|
35
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { schemasGet } from "../../funcs/schemasGet.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetTenantDestinationTypeSchemaRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$schemasGet: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "schemas-get",
|
|
15
|
+
description: `Get Destination Type Schema (for Tenant)
|
|
16
|
+
|
|
17
|
+
Returns the input schema for a specific destination type. Requires Admin API Key or Tenant JWT.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await schemasGet(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { schemasGetDestinationTypeJwt } from "../../funcs/schemasGetDestinationTypeJwt.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetDestinationTypeSchemaRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$schemasGetDestinationTypeJwt: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "schemas-get-destination-type-jwt",
|
|
15
|
+
description: `Get Destination Type Schema
|
|
16
|
+
|
|
17
|
+
Returns the input schema for a specific destination type.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await schemasGetDestinationTypeJwt(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { schemasListDestinationTypesJwt } from "../../funcs/schemasListDestinationTypesJwt.js";
|
|
6
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
7
|
+
|
|
8
|
+
export const tool$schemasListDestinationTypesJwt: ToolDefinition = {
|
|
9
|
+
name: "schemas-list-destination-types-jwt",
|
|
10
|
+
description: `List Destination Type Schemas (JWT Auth)
|
|
11
|
+
|
|
12
|
+
Returns a list of JSON-based input schemas for each available destination type (infers tenant from JWT).`,
|
|
13
|
+
tool: async (client, ctx) => {
|
|
14
|
+
const [result, apiCall] = await schemasListDestinationTypesJwt(
|
|
15
|
+
client,
|
|
16
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
17
|
+
).$inspect();
|
|
18
|
+
|
|
19
|
+
if (!result.ok) {
|
|
20
|
+
return {
|
|
21
|
+
content: [{ type: "text", text: result.error.message }],
|
|
22
|
+
isError: true,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const value = result.value;
|
|
27
|
+
|
|
28
|
+
return formatResult(value, apiCall);
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { schemasListTenantDestinationTypes } from "../../funcs/schemasListTenantDestinationTypes.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.ListTenantDestinationTypeSchemasRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$schemasListTenantDestinationTypes: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "schemas-list-tenant-destination-types",
|
|
17
|
+
description: `List Destination Type Schemas (for Tenant)
|
|
18
|
+
|
|
19
|
+
Returns a list of JSON-based input schemas for each available destination type. Requires Admin API Key or Tenant JWT.`,
|
|
20
|
+
args,
|
|
21
|
+
tool: async (client, args, ctx) => {
|
|
22
|
+
const [result, apiCall] = await schemasListTenantDestinationTypes(
|
|
23
|
+
client,
|
|
24
|
+
args.request,
|
|
25
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
26
|
+
).$inspect();
|
|
27
|
+
|
|
28
|
+
if (!result.ok) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: "text", text: result.error.message }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const value = result.value;
|
|
36
|
+
|
|
37
|
+
return formatResult(value, apiCall);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { tenantsDelete } from "../../funcs/tenantsDelete.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.DeleteTenantRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$tenantsDelete: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "tenants-delete",
|
|
15
|
+
description: `Delete Tenant
|
|
16
|
+
|
|
17
|
+
Deletes the tenant and all associated destinations.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await tenantsDelete(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { tenantsGet } from "../../funcs/tenantsGet.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.GetTenantRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$tenantsGet: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "tenants-get",
|
|
15
|
+
description: `Get Tenant
|
|
16
|
+
|
|
17
|
+
Retrieves details for a specific tenant.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await tenantsGet(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { topicsList } from "../../funcs/topicsList.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.ListTenantTopicsRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$topicsList: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "topics-list",
|
|
15
|
+
description: `List Available Topics (for Tenant)
|
|
16
|
+
|
|
17
|
+
Returns a list of available event topics configured in the Outpost instance. Requires Admin API Key or Tenant JWT.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await topicsList(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { topicsListJwt } from "../../funcs/topicsListJwt.js";
|
|
6
6
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
7
7
|
|
|
8
|
-
export const tool$
|
|
9
|
-
name: "
|
|
10
|
-
description: `
|
|
8
|
+
export const tool$topicsListJwt: ToolDefinition = {
|
|
9
|
+
name: "topics-list-jwt",
|
|
10
|
+
description: `List Available Topics)
|
|
11
11
|
|
|
12
|
-
Returns a
|
|
12
|
+
Returns a list of available event topics configured in the Outpost instance.`,
|
|
13
13
|
tool: async (client, ctx) => {
|
|
14
|
-
const [result, apiCall] = await
|
|
14
|
+
const [result, apiCall] = await topicsListJwt(
|
|
15
15
|
client,
|
|
16
16
|
{ fetchOptions: { signal: ctx.signal } },
|
|
17
17
|
).$inspect();
|
|
@@ -10,6 +10,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type Security = {
|
|
12
12
|
adminApiKey?: string | undefined;
|
|
13
|
+
tenantJwt?: string | undefined;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
16
|
/** @internal */
|
|
@@ -19,15 +20,18 @@ export const Security$inboundSchema: z.ZodType<
|
|
|
19
20
|
unknown
|
|
20
21
|
> = z.object({
|
|
21
22
|
AdminApiKey: z.string().optional(),
|
|
23
|
+
TenantJwt: z.string().optional(),
|
|
22
24
|
}).transform((v) => {
|
|
23
25
|
return remap$(v, {
|
|
24
26
|
"AdminApiKey": "adminApiKey",
|
|
27
|
+
"TenantJwt": "tenantJwt",
|
|
25
28
|
});
|
|
26
29
|
});
|
|
27
30
|
|
|
28
31
|
/** @internal */
|
|
29
32
|
export type Security$Outbound = {
|
|
30
33
|
AdminApiKey?: string | undefined;
|
|
34
|
+
TenantJwt?: string | undefined;
|
|
31
35
|
};
|
|
32
36
|
|
|
33
37
|
/** @internal */
|
|
@@ -37,9 +41,11 @@ export const Security$outboundSchema: z.ZodType<
|
|
|
37
41
|
Security
|
|
38
42
|
> = z.object({
|
|
39
43
|
adminApiKey: z.string().optional(),
|
|
44
|
+
tenantJwt: z.string().optional(),
|
|
40
45
|
}).transform((v) => {
|
|
41
46
|
return remap$(v, {
|
|
42
47
|
adminApiKey: "AdminApiKey",
|
|
48
|
+
tenantJwt: "TenantJwt",
|
|
43
49
|
});
|
|
44
50
|
});
|
|
45
51
|
|
|
@@ -13,11 +13,6 @@ export type CreateTenantDestinationGlobals = {
|
|
|
13
13
|
tenantId?: string | undefined;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
export type CreateTenantDestinationSecurity = {
|
|
17
|
-
adminApiKey?: string | undefined;
|
|
18
|
-
tenantJwt?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
16
|
export type CreateTenantDestinationRequest = {
|
|
22
17
|
/**
|
|
23
18
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
@@ -90,75 +85,6 @@ export function createTenantDestinationGlobalsFromJSON(
|
|
|
90
85
|
);
|
|
91
86
|
}
|
|
92
87
|
|
|
93
|
-
/** @internal */
|
|
94
|
-
export const CreateTenantDestinationSecurity$inboundSchema: z.ZodType<
|
|
95
|
-
CreateTenantDestinationSecurity,
|
|
96
|
-
z.ZodTypeDef,
|
|
97
|
-
unknown
|
|
98
|
-
> = z.object({
|
|
99
|
-
AdminApiKey: z.string().optional(),
|
|
100
|
-
TenantJwt: z.string().optional(),
|
|
101
|
-
}).transform((v) => {
|
|
102
|
-
return remap$(v, {
|
|
103
|
-
"AdminApiKey": "adminApiKey",
|
|
104
|
-
"TenantJwt": "tenantJwt",
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
/** @internal */
|
|
109
|
-
export type CreateTenantDestinationSecurity$Outbound = {
|
|
110
|
-
AdminApiKey?: string | undefined;
|
|
111
|
-
TenantJwt?: string | undefined;
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
/** @internal */
|
|
115
|
-
export const CreateTenantDestinationSecurity$outboundSchema: z.ZodType<
|
|
116
|
-
CreateTenantDestinationSecurity$Outbound,
|
|
117
|
-
z.ZodTypeDef,
|
|
118
|
-
CreateTenantDestinationSecurity
|
|
119
|
-
> = z.object({
|
|
120
|
-
adminApiKey: z.string().optional(),
|
|
121
|
-
tenantJwt: z.string().optional(),
|
|
122
|
-
}).transform((v) => {
|
|
123
|
-
return remap$(v, {
|
|
124
|
-
adminApiKey: "AdminApiKey",
|
|
125
|
-
tenantJwt: "TenantJwt",
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
* @internal
|
|
131
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
132
|
-
*/
|
|
133
|
-
export namespace CreateTenantDestinationSecurity$ {
|
|
134
|
-
/** @deprecated use `CreateTenantDestinationSecurity$inboundSchema` instead. */
|
|
135
|
-
export const inboundSchema = CreateTenantDestinationSecurity$inboundSchema;
|
|
136
|
-
/** @deprecated use `CreateTenantDestinationSecurity$outboundSchema` instead. */
|
|
137
|
-
export const outboundSchema = CreateTenantDestinationSecurity$outboundSchema;
|
|
138
|
-
/** @deprecated use `CreateTenantDestinationSecurity$Outbound` instead. */
|
|
139
|
-
export type Outbound = CreateTenantDestinationSecurity$Outbound;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
export function createTenantDestinationSecurityToJSON(
|
|
143
|
-
createTenantDestinationSecurity: CreateTenantDestinationSecurity,
|
|
144
|
-
): string {
|
|
145
|
-
return JSON.stringify(
|
|
146
|
-
CreateTenantDestinationSecurity$outboundSchema.parse(
|
|
147
|
-
createTenantDestinationSecurity,
|
|
148
|
-
),
|
|
149
|
-
);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export function createTenantDestinationSecurityFromJSON(
|
|
153
|
-
jsonString: string,
|
|
154
|
-
): SafeParseResult<CreateTenantDestinationSecurity, SDKValidationError> {
|
|
155
|
-
return safeParse(
|
|
156
|
-
jsonString,
|
|
157
|
-
(x) => CreateTenantDestinationSecurity$inboundSchema.parse(JSON.parse(x)),
|
|
158
|
-
`Failed to parse 'CreateTenantDestinationSecurity' from JSON`,
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
88
|
/** @internal */
|
|
163
89
|
export const CreateTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
164
90
|
CreateTenantDestinationRequest,
|
|
@@ -12,11 +12,6 @@ export type DeleteTenantGlobals = {
|
|
|
12
12
|
tenantId?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export type DeleteTenantSecurity = {
|
|
16
|
-
adminApiKey?: string | undefined;
|
|
17
|
-
tenantJwt?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
15
|
export type DeleteTenantRequest = {
|
|
21
16
|
/**
|
|
22
17
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
@@ -86,73 +81,6 @@ export function deleteTenantGlobalsFromJSON(
|
|
|
86
81
|
);
|
|
87
82
|
}
|
|
88
83
|
|
|
89
|
-
/** @internal */
|
|
90
|
-
export const DeleteTenantSecurity$inboundSchema: z.ZodType<
|
|
91
|
-
DeleteTenantSecurity,
|
|
92
|
-
z.ZodTypeDef,
|
|
93
|
-
unknown
|
|
94
|
-
> = z.object({
|
|
95
|
-
AdminApiKey: z.string().optional(),
|
|
96
|
-
TenantJwt: z.string().optional(),
|
|
97
|
-
}).transform((v) => {
|
|
98
|
-
return remap$(v, {
|
|
99
|
-
"AdminApiKey": "adminApiKey",
|
|
100
|
-
"TenantJwt": "tenantJwt",
|
|
101
|
-
});
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
/** @internal */
|
|
105
|
-
export type DeleteTenantSecurity$Outbound = {
|
|
106
|
-
AdminApiKey?: string | undefined;
|
|
107
|
-
TenantJwt?: string | undefined;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
/** @internal */
|
|
111
|
-
export const DeleteTenantSecurity$outboundSchema: z.ZodType<
|
|
112
|
-
DeleteTenantSecurity$Outbound,
|
|
113
|
-
z.ZodTypeDef,
|
|
114
|
-
DeleteTenantSecurity
|
|
115
|
-
> = z.object({
|
|
116
|
-
adminApiKey: z.string().optional(),
|
|
117
|
-
tenantJwt: z.string().optional(),
|
|
118
|
-
}).transform((v) => {
|
|
119
|
-
return remap$(v, {
|
|
120
|
-
adminApiKey: "AdminApiKey",
|
|
121
|
-
tenantJwt: "TenantJwt",
|
|
122
|
-
});
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
|
-
*/
|
|
129
|
-
export namespace DeleteTenantSecurity$ {
|
|
130
|
-
/** @deprecated use `DeleteTenantSecurity$inboundSchema` instead. */
|
|
131
|
-
export const inboundSchema = DeleteTenantSecurity$inboundSchema;
|
|
132
|
-
/** @deprecated use `DeleteTenantSecurity$outboundSchema` instead. */
|
|
133
|
-
export const outboundSchema = DeleteTenantSecurity$outboundSchema;
|
|
134
|
-
/** @deprecated use `DeleteTenantSecurity$Outbound` instead. */
|
|
135
|
-
export type Outbound = DeleteTenantSecurity$Outbound;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export function deleteTenantSecurityToJSON(
|
|
139
|
-
deleteTenantSecurity: DeleteTenantSecurity,
|
|
140
|
-
): string {
|
|
141
|
-
return JSON.stringify(
|
|
142
|
-
DeleteTenantSecurity$outboundSchema.parse(deleteTenantSecurity),
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export function deleteTenantSecurityFromJSON(
|
|
147
|
-
jsonString: string,
|
|
148
|
-
): SafeParseResult<DeleteTenantSecurity, SDKValidationError> {
|
|
149
|
-
return safeParse(
|
|
150
|
-
jsonString,
|
|
151
|
-
(x) => DeleteTenantSecurity$inboundSchema.parse(JSON.parse(x)),
|
|
152
|
-
`Failed to parse 'DeleteTenantSecurity' from JSON`,
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
84
|
/** @internal */
|
|
157
85
|
export const DeleteTenantRequest$inboundSchema: z.ZodType<
|
|
158
86
|
DeleteTenantRequest,
|
|
@@ -12,11 +12,6 @@ export type DeleteTenantDestinationGlobals = {
|
|
|
12
12
|
tenantId?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
export type DeleteTenantDestinationSecurity = {
|
|
16
|
-
adminApiKey?: string | undefined;
|
|
17
|
-
tenantJwt?: string | undefined;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
15
|
export type DeleteTenantDestinationRequest = {
|
|
21
16
|
/**
|
|
22
17
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
@@ -92,75 +87,6 @@ export function deleteTenantDestinationGlobalsFromJSON(
|
|
|
92
87
|
);
|
|
93
88
|
}
|
|
94
89
|
|
|
95
|
-
/** @internal */
|
|
96
|
-
export const DeleteTenantDestinationSecurity$inboundSchema: z.ZodType<
|
|
97
|
-
DeleteTenantDestinationSecurity,
|
|
98
|
-
z.ZodTypeDef,
|
|
99
|
-
unknown
|
|
100
|
-
> = z.object({
|
|
101
|
-
AdminApiKey: z.string().optional(),
|
|
102
|
-
TenantJwt: z.string().optional(),
|
|
103
|
-
}).transform((v) => {
|
|
104
|
-
return remap$(v, {
|
|
105
|
-
"AdminApiKey": "adminApiKey",
|
|
106
|
-
"TenantJwt": "tenantJwt",
|
|
107
|
-
});
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
/** @internal */
|
|
111
|
-
export type DeleteTenantDestinationSecurity$Outbound = {
|
|
112
|
-
AdminApiKey?: string | undefined;
|
|
113
|
-
TenantJwt?: string | undefined;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
/** @internal */
|
|
117
|
-
export const DeleteTenantDestinationSecurity$outboundSchema: z.ZodType<
|
|
118
|
-
DeleteTenantDestinationSecurity$Outbound,
|
|
119
|
-
z.ZodTypeDef,
|
|
120
|
-
DeleteTenantDestinationSecurity
|
|
121
|
-
> = z.object({
|
|
122
|
-
adminApiKey: z.string().optional(),
|
|
123
|
-
tenantJwt: z.string().optional(),
|
|
124
|
-
}).transform((v) => {
|
|
125
|
-
return remap$(v, {
|
|
126
|
-
adminApiKey: "AdminApiKey",
|
|
127
|
-
tenantJwt: "TenantJwt",
|
|
128
|
-
});
|
|
129
|
-
});
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @internal
|
|
133
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
-
*/
|
|
135
|
-
export namespace DeleteTenantDestinationSecurity$ {
|
|
136
|
-
/** @deprecated use `DeleteTenantDestinationSecurity$inboundSchema` instead. */
|
|
137
|
-
export const inboundSchema = DeleteTenantDestinationSecurity$inboundSchema;
|
|
138
|
-
/** @deprecated use `DeleteTenantDestinationSecurity$outboundSchema` instead. */
|
|
139
|
-
export const outboundSchema = DeleteTenantDestinationSecurity$outboundSchema;
|
|
140
|
-
/** @deprecated use `DeleteTenantDestinationSecurity$Outbound` instead. */
|
|
141
|
-
export type Outbound = DeleteTenantDestinationSecurity$Outbound;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export function deleteTenantDestinationSecurityToJSON(
|
|
145
|
-
deleteTenantDestinationSecurity: DeleteTenantDestinationSecurity,
|
|
146
|
-
): string {
|
|
147
|
-
return JSON.stringify(
|
|
148
|
-
DeleteTenantDestinationSecurity$outboundSchema.parse(
|
|
149
|
-
deleteTenantDestinationSecurity,
|
|
150
|
-
),
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
export function deleteTenantDestinationSecurityFromJSON(
|
|
155
|
-
jsonString: string,
|
|
156
|
-
): SafeParseResult<DeleteTenantDestinationSecurity, SDKValidationError> {
|
|
157
|
-
return safeParse(
|
|
158
|
-
jsonString,
|
|
159
|
-
(x) => DeleteTenantDestinationSecurity$inboundSchema.parse(JSON.parse(x)),
|
|
160
|
-
`Failed to parse 'DeleteTenantDestinationSecurity' from JSON`,
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
90
|
/** @internal */
|
|
165
91
|
export const DeleteTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
166
92
|
DeleteTenantDestinationRequest,
|