@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
|
@@ -15,8 +15,6 @@ If your system is not multi-tenant, create a single tenant with a hard-code tena
|
|
|
15
15
|
* [delete](#delete) - Delete Tenant
|
|
16
16
|
* [getPortalUrl](#getportalurl) - Get Portal Redirect URL
|
|
17
17
|
* [getToken](#gettoken) - Get Tenant JWT Token
|
|
18
|
-
* [getPortalUrlJwtContext](#getportalurljwtcontext) - Get Portal Redirect URL (JWT Auth Context)
|
|
19
|
-
* [getTokenJwtContext](#gettokenjwtcontext) - Get Tenant JWT Token (JWT Auth Context)
|
|
20
18
|
|
|
21
19
|
## upsert
|
|
22
20
|
|
|
@@ -28,7 +26,9 @@ Idempotently creates or updates a tenant. Required before associating destinatio
|
|
|
28
26
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
29
27
|
|
|
30
28
|
const outpost = new Outpost({
|
|
31
|
-
|
|
29
|
+
security: {
|
|
30
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
31
|
+
},
|
|
32
32
|
});
|
|
33
33
|
|
|
34
34
|
async function run() {
|
|
@@ -54,7 +54,9 @@ import { tenantsUpsert } from "@hookdeck/outpost-sdk/funcs/tenantsUpsert.js";
|
|
|
54
54
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
55
55
|
// You can create one instance of it to use across an application.
|
|
56
56
|
const outpost = new OutpostCore({
|
|
57
|
-
|
|
57
|
+
security: {
|
|
58
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
59
|
+
},
|
|
58
60
|
});
|
|
59
61
|
|
|
60
62
|
async function run() {
|
|
@@ -113,12 +115,14 @@ Retrieves details for a specific tenant.
|
|
|
113
115
|
```typescript
|
|
114
116
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
115
117
|
|
|
116
|
-
const outpost = new Outpost(
|
|
118
|
+
const outpost = new Outpost({
|
|
119
|
+
security: {
|
|
120
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
121
|
+
},
|
|
122
|
+
});
|
|
117
123
|
|
|
118
124
|
async function run() {
|
|
119
125
|
const result = await outpost.tenants.get({
|
|
120
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
121
|
-
}, {
|
|
122
126
|
tenantId: "<id>",
|
|
123
127
|
});
|
|
124
128
|
|
|
@@ -139,12 +143,14 @@ import { tenantsGet } from "@hookdeck/outpost-sdk/funcs/tenantsGet.js";
|
|
|
139
143
|
|
|
140
144
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
141
145
|
// You can create one instance of it to use across an application.
|
|
142
|
-
const outpost = new OutpostCore(
|
|
146
|
+
const outpost = new OutpostCore({
|
|
147
|
+
security: {
|
|
148
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
149
|
+
},
|
|
150
|
+
});
|
|
143
151
|
|
|
144
152
|
async function run() {
|
|
145
153
|
const res = await tenantsGet(outpost, {
|
|
146
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
147
|
-
}, {
|
|
148
154
|
tenantId: "<id>",
|
|
149
155
|
});
|
|
150
156
|
|
|
@@ -166,7 +172,6 @@ run();
|
|
|
166
172
|
| Parameter | Type | Required | Description |
|
|
167
173
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
168
174
|
| `request` | [operations.GetTenantRequest](../../models/operations/gettenantrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
169
|
-
| `security` | [operations.GetTenantSecurity](../../models/operations/gettenantsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
170
175
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
171
176
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
172
177
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -199,12 +204,14 @@ Deletes the tenant and all associated destinations.
|
|
|
199
204
|
```typescript
|
|
200
205
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
201
206
|
|
|
202
|
-
const outpost = new Outpost(
|
|
207
|
+
const outpost = new Outpost({
|
|
208
|
+
security: {
|
|
209
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
210
|
+
},
|
|
211
|
+
});
|
|
203
212
|
|
|
204
213
|
async function run() {
|
|
205
214
|
const result = await outpost.tenants.delete({
|
|
206
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
207
|
-
}, {
|
|
208
215
|
tenantId: "<id>",
|
|
209
216
|
});
|
|
210
217
|
|
|
@@ -225,12 +232,14 @@ import { tenantsDelete } from "@hookdeck/outpost-sdk/funcs/tenantsDelete.js";
|
|
|
225
232
|
|
|
226
233
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
227
234
|
// You can create one instance of it to use across an application.
|
|
228
|
-
const outpost = new OutpostCore(
|
|
235
|
+
const outpost = new OutpostCore({
|
|
236
|
+
security: {
|
|
237
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
238
|
+
},
|
|
239
|
+
});
|
|
229
240
|
|
|
230
241
|
async function run() {
|
|
231
242
|
const res = await tenantsDelete(outpost, {
|
|
232
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
233
|
-
}, {
|
|
234
243
|
tenantId: "<id>",
|
|
235
244
|
});
|
|
236
245
|
|
|
@@ -252,7 +261,6 @@ run();
|
|
|
252
261
|
| Parameter | Type | Required | Description |
|
|
253
262
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
254
263
|
| `request` | [operations.DeleteTenantRequest](../../models/operations/deletetenantrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
255
|
-
| `security` | [operations.DeleteTenantSecurity](../../models/operations/deletetenantsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
256
264
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
257
265
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
258
266
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -286,7 +294,9 @@ Returns a redirect URL containing a JWT to authenticate the user with the portal
|
|
|
286
294
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
287
295
|
|
|
288
296
|
const outpost = new Outpost({
|
|
289
|
-
|
|
297
|
+
security: {
|
|
298
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
299
|
+
},
|
|
290
300
|
});
|
|
291
301
|
|
|
292
302
|
async function run() {
|
|
@@ -312,7 +322,9 @@ import { tenantsGetPortalUrl } from "@hookdeck/outpost-sdk/funcs/tenantsGetPorta
|
|
|
312
322
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
313
323
|
// You can create one instance of it to use across an application.
|
|
314
324
|
const outpost = new OutpostCore({
|
|
315
|
-
|
|
325
|
+
security: {
|
|
326
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
327
|
+
},
|
|
316
328
|
});
|
|
317
329
|
|
|
318
330
|
async function run() {
|
|
@@ -371,7 +383,9 @@ Returns a JWT token scoped to the tenant for safe browser API calls.
|
|
|
371
383
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
372
384
|
|
|
373
385
|
const outpost = new Outpost({
|
|
374
|
-
|
|
386
|
+
security: {
|
|
387
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
388
|
+
},
|
|
375
389
|
});
|
|
376
390
|
|
|
377
391
|
async function run() {
|
|
@@ -397,7 +411,9 @@ import { tenantsGetToken } from "@hookdeck/outpost-sdk/funcs/tenantsGetToken.js"
|
|
|
397
411
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
398
412
|
// You can create one instance of it to use across an application.
|
|
399
413
|
const outpost = new OutpostCore({
|
|
400
|
-
|
|
414
|
+
security: {
|
|
415
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
416
|
+
},
|
|
401
417
|
});
|
|
402
418
|
|
|
403
419
|
async function run() {
|
|
@@ -444,165 +460,4 @@ run();
|
|
|
444
460
|
| errors.InternalServerError | 500, 502, 503, 506, 507, 508 | application/json |
|
|
445
461
|
| errors.BadRequestError | 510 | application/json |
|
|
446
462
|
| errors.UnauthorizedError | 511 | application/json |
|
|
447
|
-
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
448
|
-
|
|
449
|
-
## getPortalUrlJwtContext
|
|
450
|
-
|
|
451
|
-
Returns a redirect URL containing a JWT to authenticate the user with the portal (infers tenant from JWT). Requires Admin API Key.
|
|
452
|
-
|
|
453
|
-
### Example Usage
|
|
454
|
-
|
|
455
|
-
```typescript
|
|
456
|
-
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
457
|
-
|
|
458
|
-
const outpost = new Outpost({
|
|
459
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
460
|
-
});
|
|
461
|
-
|
|
462
|
-
async function run() {
|
|
463
|
-
const result = await outpost.tenants.getPortalUrlJwtContext({});
|
|
464
|
-
|
|
465
|
-
// Handle the result
|
|
466
|
-
console.log(result);
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
run();
|
|
470
|
-
```
|
|
471
|
-
|
|
472
|
-
### Standalone function
|
|
473
|
-
|
|
474
|
-
The standalone function version of this method:
|
|
475
|
-
|
|
476
|
-
```typescript
|
|
477
|
-
import { OutpostCore } from "@hookdeck/outpost-sdk/core.js";
|
|
478
|
-
import { tenantsGetPortalUrlJwtContext } from "@hookdeck/outpost-sdk/funcs/tenantsGetPortalUrlJwtContext.js";
|
|
479
|
-
|
|
480
|
-
// Use `OutpostCore` for best tree-shaking performance.
|
|
481
|
-
// You can create one instance of it to use across an application.
|
|
482
|
-
const outpost = new OutpostCore({
|
|
483
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
484
|
-
});
|
|
485
|
-
|
|
486
|
-
async function run() {
|
|
487
|
-
const res = await tenantsGetPortalUrlJwtContext(outpost, {});
|
|
488
|
-
|
|
489
|
-
if (!res.ok) {
|
|
490
|
-
throw res.error;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
const { value: result } = res;
|
|
494
|
-
|
|
495
|
-
// Handle the result
|
|
496
|
-
console.log(result);
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
run();
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
### Parameters
|
|
503
|
-
|
|
504
|
-
| Parameter | Type | Required | Description |
|
|
505
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
506
|
-
| `request` | [operations.GetPortalUrlJwtContextRequest](../../models/operations/getportalurljwtcontextrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
507
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
508
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
509
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
510
|
-
|
|
511
|
-
### Response
|
|
512
|
-
|
|
513
|
-
**Promise\<[components.PortalRedirect](../../models/components/portalredirect.md)\>**
|
|
514
|
-
|
|
515
|
-
### Errors
|
|
516
|
-
|
|
517
|
-
| Error Type | Status Code | Content Type |
|
|
518
|
-
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
519
|
-
| errors.UnauthorizedError | 403, 407 | application/json |
|
|
520
|
-
| errors.TimeoutError | 408 | application/json |
|
|
521
|
-
| errors.RateLimitedError | 429 | application/json |
|
|
522
|
-
| errors.BadRequestError | 400, 413, 414, 415, 422, 431 | application/json |
|
|
523
|
-
| errors.TimeoutError | 504 | application/json |
|
|
524
|
-
| errors.NotFoundError | 501, 505 | application/json |
|
|
525
|
-
| errors.InternalServerError | 500, 502, 503, 506, 507, 508 | application/json |
|
|
526
|
-
| errors.BadRequestError | 510 | application/json |
|
|
527
|
-
| errors.UnauthorizedError | 511 | application/json |
|
|
528
|
-
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
529
|
-
|
|
530
|
-
## getTokenJwtContext
|
|
531
|
-
|
|
532
|
-
Returns a JWT token scoped to the tenant (infers tenant from JWT). Requires Admin API Key.
|
|
533
|
-
|
|
534
|
-
### Example Usage
|
|
535
|
-
|
|
536
|
-
```typescript
|
|
537
|
-
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
538
|
-
|
|
539
|
-
const outpost = new Outpost({
|
|
540
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
541
|
-
});
|
|
542
|
-
|
|
543
|
-
async function run() {
|
|
544
|
-
const result = await outpost.tenants.getTokenJwtContext();
|
|
545
|
-
|
|
546
|
-
// Handle the result
|
|
547
|
-
console.log(result);
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
run();
|
|
551
|
-
```
|
|
552
|
-
|
|
553
|
-
### Standalone function
|
|
554
|
-
|
|
555
|
-
The standalone function version of this method:
|
|
556
|
-
|
|
557
|
-
```typescript
|
|
558
|
-
import { OutpostCore } from "@hookdeck/outpost-sdk/core.js";
|
|
559
|
-
import { tenantsGetTokenJwtContext } from "@hookdeck/outpost-sdk/funcs/tenantsGetTokenJwtContext.js";
|
|
560
|
-
|
|
561
|
-
// Use `OutpostCore` for best tree-shaking performance.
|
|
562
|
-
// You can create one instance of it to use across an application.
|
|
563
|
-
const outpost = new OutpostCore({
|
|
564
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
565
|
-
});
|
|
566
|
-
|
|
567
|
-
async function run() {
|
|
568
|
-
const res = await tenantsGetTokenJwtContext(outpost);
|
|
569
|
-
|
|
570
|
-
if (!res.ok) {
|
|
571
|
-
throw res.error;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
const { value: result } = res;
|
|
575
|
-
|
|
576
|
-
// Handle the result
|
|
577
|
-
console.log(result);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
run();
|
|
581
|
-
```
|
|
582
|
-
|
|
583
|
-
### Parameters
|
|
584
|
-
|
|
585
|
-
| Parameter | Type | Required | Description |
|
|
586
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
587
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
588
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
589
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
590
|
-
|
|
591
|
-
### Response
|
|
592
|
-
|
|
593
|
-
**Promise\<[components.TenantToken](../../models/components/tenanttoken.md)\>**
|
|
594
|
-
|
|
595
|
-
### Errors
|
|
596
|
-
|
|
597
|
-
| Error Type | Status Code | Content Type |
|
|
598
|
-
| ---------------------------- | ---------------------------- | ---------------------------- |
|
|
599
|
-
| errors.UnauthorizedError | 403, 407 | application/json |
|
|
600
|
-
| errors.TimeoutError | 408 | application/json |
|
|
601
|
-
| errors.RateLimitedError | 429 | application/json |
|
|
602
|
-
| errors.BadRequestError | 400, 413, 414, 415, 422, 431 | application/json |
|
|
603
|
-
| errors.TimeoutError | 504 | application/json |
|
|
604
|
-
| errors.NotFoundError | 501, 505 | application/json |
|
|
605
|
-
| errors.InternalServerError | 500, 502, 503, 506, 507, 508 | application/json |
|
|
606
|
-
| errors.BadRequestError | 510 | application/json |
|
|
607
|
-
| errors.UnauthorizedError | 511 | application/json |
|
|
608
463
|
| errors.APIError | 4XX, 5XX | \*/\* |
|
|
@@ -8,7 +8,7 @@ Operations for retrieving available event topics.
|
|
|
8
8
|
### Available Operations
|
|
9
9
|
|
|
10
10
|
* [list](#list) - List Available Topics (for Tenant)
|
|
11
|
-
* [listJwt](#listjwt) - List Available Topics
|
|
11
|
+
* [listJwt](#listjwt) - List Available Topics)
|
|
12
12
|
|
|
13
13
|
## list
|
|
14
14
|
|
|
@@ -19,12 +19,14 @@ Returns a list of available event topics configured in the Outpost instance. Req
|
|
|
19
19
|
```typescript
|
|
20
20
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
21
21
|
|
|
22
|
-
const outpost = new Outpost(
|
|
22
|
+
const outpost = new Outpost({
|
|
23
|
+
security: {
|
|
24
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
25
|
+
},
|
|
26
|
+
});
|
|
23
27
|
|
|
24
28
|
async function run() {
|
|
25
29
|
const result = await outpost.topics.list({
|
|
26
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
27
|
-
}, {
|
|
28
30
|
tenantId: "<id>",
|
|
29
31
|
});
|
|
30
32
|
|
|
@@ -45,12 +47,14 @@ import { topicsList } from "@hookdeck/outpost-sdk/funcs/topicsList.js";
|
|
|
45
47
|
|
|
46
48
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
47
49
|
// You can create one instance of it to use across an application.
|
|
48
|
-
const outpost = new OutpostCore(
|
|
50
|
+
const outpost = new OutpostCore({
|
|
51
|
+
security: {
|
|
52
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
53
|
+
},
|
|
54
|
+
});
|
|
49
55
|
|
|
50
56
|
async function run() {
|
|
51
57
|
const res = await topicsList(outpost, {
|
|
52
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
53
|
-
}, {
|
|
54
58
|
tenantId: "<id>",
|
|
55
59
|
});
|
|
56
60
|
|
|
@@ -72,7 +76,6 @@ run();
|
|
|
72
76
|
| Parameter | Type | Required | Description |
|
|
73
77
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
74
78
|
| `request` | [operations.ListTenantTopicsRequest](../../models/operations/listtenanttopicsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
75
|
-
| `security` | [operations.ListTenantTopicsSecurity](../../models/operations/listtenanttopicssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
76
79
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
77
80
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
78
81
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -98,19 +101,21 @@ run();
|
|
|
98
101
|
|
|
99
102
|
## listJwt
|
|
100
103
|
|
|
101
|
-
Returns a list of available event topics configured in the Outpost instance
|
|
104
|
+
Returns a list of available event topics configured in the Outpost instance.
|
|
102
105
|
|
|
103
106
|
### Example Usage
|
|
104
107
|
|
|
105
108
|
```typescript
|
|
106
109
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
107
110
|
|
|
108
|
-
const outpost = new Outpost(
|
|
111
|
+
const outpost = new Outpost({
|
|
112
|
+
security: {
|
|
113
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
114
|
+
},
|
|
115
|
+
});
|
|
109
116
|
|
|
110
117
|
async function run() {
|
|
111
|
-
const result = await outpost.topics.listJwt(
|
|
112
|
-
tenantJwt: "<YOUR_BEARER_TOKEN_HERE>",
|
|
113
|
-
});
|
|
118
|
+
const result = await outpost.topics.listJwt();
|
|
114
119
|
|
|
115
120
|
// Handle the result
|
|
116
121
|
console.log(result);
|
|
@@ -129,12 +134,14 @@ import { topicsListJwt } from "@hookdeck/outpost-sdk/funcs/topicsListJwt.js";
|
|
|
129
134
|
|
|
130
135
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
131
136
|
// You can create one instance of it to use across an application.
|
|
132
|
-
const outpost = new OutpostCore(
|
|
137
|
+
const outpost = new OutpostCore({
|
|
138
|
+
security: {
|
|
139
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
140
|
+
},
|
|
141
|
+
});
|
|
133
142
|
|
|
134
143
|
async function run() {
|
|
135
|
-
const res = await topicsListJwt(outpost
|
|
136
|
-
tenantJwt: "<YOUR_BEARER_TOKEN_HERE>",
|
|
137
|
-
});
|
|
144
|
+
const res = await topicsListJwt(outpost);
|
|
138
145
|
|
|
139
146
|
if (!res.ok) {
|
|
140
147
|
throw res.error;
|
|
@@ -153,7 +160,6 @@ run();
|
|
|
153
160
|
|
|
154
161
|
| Parameter | Type | Required | Description |
|
|
155
162
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
156
|
-
| `security` | [operations.ListTopicsJwtSecurity](../../models/operations/listtopicsjwtsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
157
163
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
158
164
|
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
159
165
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ import * as M from "../lib/matchers.js";
|
|
|
8
8
|
import { compactMap } from "../lib/primitives.js";
|
|
9
9
|
import { safeParse } from "../lib/schemas.js";
|
|
10
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
-
import {
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
12
|
import { pathToFunc } from "../lib/url.js";
|
|
13
13
|
import * as components from "../models/components/index.js";
|
|
14
14
|
import { APIError } from "../models/errors/apierror.js";
|
|
@@ -33,7 +33,6 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*/
|
|
34
34
|
export function destinationsCreate(
|
|
35
35
|
client: OutpostCore,
|
|
36
|
-
security: operations.CreateTenantDestinationSecurity,
|
|
37
36
|
request: operations.CreateTenantDestinationRequest,
|
|
38
37
|
options?: RequestOptions,
|
|
39
38
|
): APIPromise<
|
|
@@ -59,7 +58,6 @@ export function destinationsCreate(
|
|
|
59
58
|
> {
|
|
60
59
|
return new APIPromise($do(
|
|
61
60
|
client,
|
|
62
|
-
security,
|
|
63
61
|
request,
|
|
64
62
|
options,
|
|
65
63
|
));
|
|
@@ -67,7 +65,6 @@ export function destinationsCreate(
|
|
|
67
65
|
|
|
68
66
|
async function $do(
|
|
69
67
|
client: OutpostCore,
|
|
70
|
-
security: operations.CreateTenantDestinationSecurity,
|
|
71
68
|
request: operations.CreateTenantDestinationRequest,
|
|
72
69
|
options?: RequestOptions,
|
|
73
70
|
): Promise<
|
|
@@ -121,31 +118,17 @@ async function $do(
|
|
|
121
118
|
Accept: "application/json",
|
|
122
119
|
}));
|
|
123
120
|
|
|
124
|
-
const
|
|
125
|
-
|
|
126
|
-
{
|
|
127
|
-
fieldName: "Authorization",
|
|
128
|
-
type: "http:bearer",
|
|
129
|
-
value: security?.adminApiKey,
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
[
|
|
133
|
-
{
|
|
134
|
-
fieldName: "Authorization",
|
|
135
|
-
type: "http:bearer",
|
|
136
|
-
value: security?.tenantJwt,
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
);
|
|
121
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
122
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
140
123
|
|
|
141
124
|
const context = {
|
|
142
125
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
143
126
|
operationID: "createTenantDestination",
|
|
144
|
-
oAuth2Scopes:
|
|
127
|
+
oAuth2Scopes: [],
|
|
145
128
|
|
|
146
129
|
resolvedSecurity: requestSecurity,
|
|
147
130
|
|
|
148
|
-
securitySource: security,
|
|
131
|
+
securitySource: client._options.security,
|
|
149
132
|
retryConfig: options?.retries
|
|
150
133
|
|| client._options.retryConfig
|
|
151
134
|
|| { strategy: "none" },
|
|
@@ -8,7 +8,7 @@ import * as M from "../lib/matchers.js";
|
|
|
8
8
|
import { compactMap } from "../lib/primitives.js";
|
|
9
9
|
import { safeParse } from "../lib/schemas.js";
|
|
10
10
|
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
-
import {
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
12
|
import { pathToFunc } from "../lib/url.js";
|
|
13
13
|
import * as components from "../models/components/index.js";
|
|
14
14
|
import { APIError } from "../models/errors/apierror.js";
|
|
@@ -33,7 +33,6 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*/
|
|
34
34
|
export function destinationsDelete(
|
|
35
35
|
client: OutpostCore,
|
|
36
|
-
security: operations.DeleteTenantDestinationSecurity,
|
|
37
36
|
request: operations.DeleteTenantDestinationRequest,
|
|
38
37
|
options?: RequestOptions,
|
|
39
38
|
): APIPromise<
|
|
@@ -59,7 +58,6 @@ export function destinationsDelete(
|
|
|
59
58
|
> {
|
|
60
59
|
return new APIPromise($do(
|
|
61
60
|
client,
|
|
62
|
-
security,
|
|
63
61
|
request,
|
|
64
62
|
options,
|
|
65
63
|
));
|
|
@@ -67,7 +65,6 @@ export function destinationsDelete(
|
|
|
67
65
|
|
|
68
66
|
async function $do(
|
|
69
67
|
client: OutpostCore,
|
|
70
|
-
security: operations.DeleteTenantDestinationSecurity,
|
|
71
68
|
request: operations.DeleteTenantDestinationRequest,
|
|
72
69
|
options?: RequestOptions,
|
|
73
70
|
): Promise<
|
|
@@ -126,31 +123,17 @@ async function $do(
|
|
|
126
123
|
Accept: "application/json",
|
|
127
124
|
}));
|
|
128
125
|
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
-
{
|
|
132
|
-
fieldName: "Authorization",
|
|
133
|
-
type: "http:bearer",
|
|
134
|
-
value: security?.adminApiKey,
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
[
|
|
138
|
-
{
|
|
139
|
-
fieldName: "Authorization",
|
|
140
|
-
type: "http:bearer",
|
|
141
|
-
value: security?.tenantJwt,
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
);
|
|
126
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
127
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
145
128
|
|
|
146
129
|
const context = {
|
|
147
130
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
148
131
|
operationID: "deleteTenantDestination",
|
|
149
|
-
oAuth2Scopes:
|
|
132
|
+
oAuth2Scopes: [],
|
|
150
133
|
|
|
151
134
|
resolvedSecurity: requestSecurity,
|
|
152
135
|
|
|
153
|
-
securitySource: security,
|
|
136
|
+
securitySource: client._options.security,
|
|
154
137
|
retryConfig: options?.retries
|
|
155
138
|
|| client._options.retryConfig
|
|
156
139
|
|| { strategy: "none" },
|