@hookdeck/outpost-sdk 0.0.2 → 0.1.1
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 -38
- package/bin/mcp-server.js +3887 -1817
- 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 +8 -4
- package/dist/commonjs/lib/config.d.ts.map +1 -1
- package/dist/commonjs/lib/config.js +3 -3
- 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 +8 -4
- package/dist/esm/lib/config.d.ts.map +1 -1
- package/dist/esm/lib/config.js +3 -3
- 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 +96 -71
- package/docs/sdks/events/README.md +60 -42
- package/docs/sdks/publish/README.md +6 -2
- package/docs/sdks/schemas/README.md +49 -37
- 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 -6
- 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 +11 -4
- 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
|
@@ -23,12 +23,14 @@ Retrieves a list of events for the tenant, supporting cursor navigation (details
|
|
|
23
23
|
```typescript
|
|
24
24
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
25
25
|
|
|
26
|
-
const outpost = new Outpost(
|
|
26
|
+
const outpost = new Outpost({
|
|
27
|
+
security: {
|
|
28
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
29
|
+
},
|
|
30
|
+
});
|
|
27
31
|
|
|
28
32
|
async function run() {
|
|
29
33
|
const result = await outpost.events.list({
|
|
30
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
31
|
-
}, {
|
|
32
34
|
tenantId: "<id>",
|
|
33
35
|
});
|
|
34
36
|
|
|
@@ -49,12 +51,14 @@ import { eventsList } from "@hookdeck/outpost-sdk/funcs/eventsList.js";
|
|
|
49
51
|
|
|
50
52
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
51
53
|
// You can create one instance of it to use across an application.
|
|
52
|
-
const outpost = new OutpostCore(
|
|
54
|
+
const outpost = new OutpostCore({
|
|
55
|
+
security: {
|
|
56
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
57
|
+
},
|
|
58
|
+
});
|
|
53
59
|
|
|
54
60
|
async function run() {
|
|
55
61
|
const res = await eventsList(outpost, {
|
|
56
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
57
|
-
}, {
|
|
58
62
|
tenantId: "<id>",
|
|
59
63
|
});
|
|
60
64
|
|
|
@@ -76,7 +80,6 @@ run();
|
|
|
76
80
|
| Parameter | Type | Required | Description |
|
|
77
81
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
78
82
|
| `request` | [operations.ListTenantEventsRequest](../../models/operations/listtenanteventsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
79
|
-
| `security` | [operations.ListTenantEventsSecurity](../../models/operations/listtenanteventssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
80
83
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
81
84
|
| `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. |
|
|
82
85
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -109,12 +112,14 @@ Retrieves details for a specific event.
|
|
|
109
112
|
```typescript
|
|
110
113
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
111
114
|
|
|
112
|
-
const outpost = new Outpost(
|
|
115
|
+
const outpost = new Outpost({
|
|
116
|
+
security: {
|
|
117
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
118
|
+
},
|
|
119
|
+
});
|
|
113
120
|
|
|
114
121
|
async function run() {
|
|
115
122
|
const result = await outpost.events.get({
|
|
116
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
117
|
-
}, {
|
|
118
123
|
tenantId: "<id>",
|
|
119
124
|
eventId: "<id>",
|
|
120
125
|
});
|
|
@@ -136,12 +141,14 @@ import { eventsGet } from "@hookdeck/outpost-sdk/funcs/eventsGet.js";
|
|
|
136
141
|
|
|
137
142
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
138
143
|
// You can create one instance of it to use across an application.
|
|
139
|
-
const outpost = new OutpostCore(
|
|
144
|
+
const outpost = new OutpostCore({
|
|
145
|
+
security: {
|
|
146
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
147
|
+
},
|
|
148
|
+
});
|
|
140
149
|
|
|
141
150
|
async function run() {
|
|
142
151
|
const res = await eventsGet(outpost, {
|
|
143
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
144
|
-
}, {
|
|
145
152
|
tenantId: "<id>",
|
|
146
153
|
eventId: "<id>",
|
|
147
154
|
});
|
|
@@ -164,7 +171,6 @@ run();
|
|
|
164
171
|
| Parameter | Type | Required | Description |
|
|
165
172
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
166
173
|
| `request` | [operations.GetTenantEventRequest](../../models/operations/gettenanteventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
167
|
-
| `security` | [operations.GetTenantEventSecurity](../../models/operations/gettenanteventsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
168
174
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
169
175
|
| `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. |
|
|
170
176
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -197,12 +203,14 @@ Retrieves a list of delivery attempts for a specific event, including response d
|
|
|
197
203
|
```typescript
|
|
198
204
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
199
205
|
|
|
200
|
-
const outpost = new Outpost(
|
|
206
|
+
const outpost = new Outpost({
|
|
207
|
+
security: {
|
|
208
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
209
|
+
},
|
|
210
|
+
});
|
|
201
211
|
|
|
202
212
|
async function run() {
|
|
203
213
|
const result = await outpost.events.listDeliveries({
|
|
204
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
205
|
-
}, {
|
|
206
214
|
tenantId: "<id>",
|
|
207
215
|
eventId: "<id>",
|
|
208
216
|
});
|
|
@@ -224,12 +232,14 @@ import { eventsListDeliveries } from "@hookdeck/outpost-sdk/funcs/eventsListDeli
|
|
|
224
232
|
|
|
225
233
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
226
234
|
// You can create one instance of it to use across an application.
|
|
227
|
-
const outpost = new OutpostCore(
|
|
235
|
+
const outpost = new OutpostCore({
|
|
236
|
+
security: {
|
|
237
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
238
|
+
},
|
|
239
|
+
});
|
|
228
240
|
|
|
229
241
|
async function run() {
|
|
230
242
|
const res = await eventsListDeliveries(outpost, {
|
|
231
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
232
|
-
}, {
|
|
233
243
|
tenantId: "<id>",
|
|
234
244
|
eventId: "<id>",
|
|
235
245
|
});
|
|
@@ -252,7 +262,6 @@ run();
|
|
|
252
262
|
| Parameter | Type | Required | Description |
|
|
253
263
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
254
264
|
| `request` | [operations.ListTenantEventDeliveriesRequest](../../models/operations/listtenanteventdeliveriesrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
255
|
-
| `security` | [operations.ListTenantEventDeliveriesSecurity](../../models/operations/listtenanteventdeliveriessecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
256
265
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
257
266
|
| `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
267
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -285,12 +294,14 @@ Retrieves events associated with a specific destination for the tenant.
|
|
|
285
294
|
```typescript
|
|
286
295
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
287
296
|
|
|
288
|
-
const outpost = new Outpost(
|
|
297
|
+
const outpost = new Outpost({
|
|
298
|
+
security: {
|
|
299
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
300
|
+
},
|
|
301
|
+
});
|
|
289
302
|
|
|
290
303
|
async function run() {
|
|
291
304
|
const result = await outpost.events.listByDestination({
|
|
292
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
293
|
-
}, {
|
|
294
305
|
tenantId: "<id>",
|
|
295
306
|
destinationId: "<id>",
|
|
296
307
|
});
|
|
@@ -312,12 +323,14 @@ import { eventsListByDestination } from "@hookdeck/outpost-sdk/funcs/eventsListB
|
|
|
312
323
|
|
|
313
324
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
314
325
|
// You can create one instance of it to use across an application.
|
|
315
|
-
const outpost = new OutpostCore(
|
|
326
|
+
const outpost = new OutpostCore({
|
|
327
|
+
security: {
|
|
328
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
329
|
+
},
|
|
330
|
+
});
|
|
316
331
|
|
|
317
332
|
async function run() {
|
|
318
333
|
const res = await eventsListByDestination(outpost, {
|
|
319
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
320
|
-
}, {
|
|
321
334
|
tenantId: "<id>",
|
|
322
335
|
destinationId: "<id>",
|
|
323
336
|
});
|
|
@@ -340,7 +353,6 @@ run();
|
|
|
340
353
|
| Parameter | Type | Required | Description |
|
|
341
354
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
342
355
|
| `request` | [operations.ListTenantEventsByDestinationRequest](../../models/operations/listtenanteventsbydestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
343
|
-
| `security` | [operations.ListTenantEventsByDestinationSecurity](../../models/operations/listtenanteventsbydestinationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
344
356
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
345
357
|
| `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. |
|
|
346
358
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -373,12 +385,14 @@ Retrieves a specific event associated with a specific destination for the tenant
|
|
|
373
385
|
```typescript
|
|
374
386
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
375
387
|
|
|
376
|
-
const outpost = new Outpost(
|
|
388
|
+
const outpost = new Outpost({
|
|
389
|
+
security: {
|
|
390
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
391
|
+
},
|
|
392
|
+
});
|
|
377
393
|
|
|
378
394
|
async function run() {
|
|
379
395
|
const result = await outpost.events.getByDestination({
|
|
380
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
381
|
-
}, {
|
|
382
396
|
tenantId: "<id>",
|
|
383
397
|
destinationId: "<id>",
|
|
384
398
|
eventId: "<id>",
|
|
@@ -401,12 +415,14 @@ import { eventsGetByDestination } from "@hookdeck/outpost-sdk/funcs/eventsGetByD
|
|
|
401
415
|
|
|
402
416
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
403
417
|
// You can create one instance of it to use across an application.
|
|
404
|
-
const outpost = new OutpostCore(
|
|
418
|
+
const outpost = new OutpostCore({
|
|
419
|
+
security: {
|
|
420
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
421
|
+
},
|
|
422
|
+
});
|
|
405
423
|
|
|
406
424
|
async function run() {
|
|
407
425
|
const res = await eventsGetByDestination(outpost, {
|
|
408
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
409
|
-
}, {
|
|
410
426
|
tenantId: "<id>",
|
|
411
427
|
destinationId: "<id>",
|
|
412
428
|
eventId: "<id>",
|
|
@@ -430,7 +446,6 @@ run();
|
|
|
430
446
|
| Parameter | Type | Required | Description |
|
|
431
447
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
432
448
|
| `request` | [operations.GetTenantEventByDestinationRequest](../../models/operations/gettenanteventbydestinationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
433
|
-
| `security` | [operations.GetTenantEventByDestinationSecurity](../../models/operations/gettenanteventbydestinationsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
434
449
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
435
450
|
| `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. |
|
|
436
451
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -463,12 +478,14 @@ Triggers a retry for a failed event delivery.
|
|
|
463
478
|
```typescript
|
|
464
479
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
465
480
|
|
|
466
|
-
const outpost = new Outpost(
|
|
481
|
+
const outpost = new Outpost({
|
|
482
|
+
security: {
|
|
483
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
484
|
+
},
|
|
485
|
+
});
|
|
467
486
|
|
|
468
487
|
async function run() {
|
|
469
488
|
await outpost.events.retry({
|
|
470
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
471
|
-
}, {
|
|
472
489
|
tenantId: "<id>",
|
|
473
490
|
destinationId: "<id>",
|
|
474
491
|
eventId: "<id>",
|
|
@@ -490,12 +507,14 @@ import { eventsRetry } from "@hookdeck/outpost-sdk/funcs/eventsRetry.js";
|
|
|
490
507
|
|
|
491
508
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
492
509
|
// You can create one instance of it to use across an application.
|
|
493
|
-
const outpost = new OutpostCore(
|
|
510
|
+
const outpost = new OutpostCore({
|
|
511
|
+
security: {
|
|
512
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
513
|
+
},
|
|
514
|
+
});
|
|
494
515
|
|
|
495
516
|
async function run() {
|
|
496
517
|
const res = await eventsRetry(outpost, {
|
|
497
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
498
|
-
}, {
|
|
499
518
|
tenantId: "<id>",
|
|
500
519
|
destinationId: "<id>",
|
|
501
520
|
eventId: "<id>",
|
|
@@ -518,7 +537,6 @@ run();
|
|
|
518
537
|
| Parameter | Type | Required | Description |
|
|
519
538
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
520
539
|
| `request` | [operations.RetryTenantEventRequest](../../models/operations/retrytenanteventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
521
|
-
| `security` | [operations.RetryTenantEventSecurity](../../models/operations/retrytenanteventsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
522
540
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
523
541
|
| `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. |
|
|
524
542
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -19,7 +19,9 @@ Publishes an event to the specified topic, potentially routed to a specific dest
|
|
|
19
19
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
20
20
|
|
|
21
21
|
const outpost = new Outpost({
|
|
22
|
-
|
|
22
|
+
security: {
|
|
23
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
24
|
+
},
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
async function run() {
|
|
@@ -54,7 +56,9 @@ import { publishEvent } from "@hookdeck/outpost-sdk/funcs/publishEvent.js";
|
|
|
54
56
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
55
57
|
// You can create one instance of it to use across an application.
|
|
56
58
|
const outpost = new OutpostCore({
|
|
57
|
-
|
|
59
|
+
security: {
|
|
60
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
61
|
+
},
|
|
58
62
|
});
|
|
59
63
|
|
|
60
64
|
async function run() {
|
|
@@ -10,7 +10,7 @@ Operations for retrieving destination type schemas.
|
|
|
10
10
|
* [listTenantDestinationTypes](#listtenantdestinationtypes) - List Destination Type Schemas (for Tenant)
|
|
11
11
|
* [get](#get) - Get Destination Type Schema (for Tenant)
|
|
12
12
|
* [listDestinationTypesJwt](#listdestinationtypesjwt) - List Destination Type Schemas (JWT Auth)
|
|
13
|
-
* [getDestinationTypeJwt](#getdestinationtypejwt) - Get Destination Type Schema
|
|
13
|
+
* [getDestinationTypeJwt](#getdestinationtypejwt) - Get Destination Type Schema
|
|
14
14
|
|
|
15
15
|
## listTenantDestinationTypes
|
|
16
16
|
|
|
@@ -21,12 +21,14 @@ Returns a list of JSON-based input schemas for each available destination type.
|
|
|
21
21
|
```typescript
|
|
22
22
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
23
23
|
|
|
24
|
-
const outpost = new Outpost(
|
|
24
|
+
const outpost = new Outpost({
|
|
25
|
+
security: {
|
|
26
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
27
|
+
},
|
|
28
|
+
});
|
|
25
29
|
|
|
26
30
|
async function run() {
|
|
27
31
|
const result = await outpost.schemas.listTenantDestinationTypes({
|
|
28
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
29
|
-
}, {
|
|
30
32
|
tenantId: "<id>",
|
|
31
33
|
});
|
|
32
34
|
|
|
@@ -47,12 +49,14 @@ import { schemasListTenantDestinationTypes } from "@hookdeck/outpost-sdk/funcs/s
|
|
|
47
49
|
|
|
48
50
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
49
51
|
// You can create one instance of it to use across an application.
|
|
50
|
-
const outpost = new OutpostCore(
|
|
52
|
+
const outpost = new OutpostCore({
|
|
53
|
+
security: {
|
|
54
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
55
|
+
},
|
|
56
|
+
});
|
|
51
57
|
|
|
52
58
|
async function run() {
|
|
53
59
|
const res = await schemasListTenantDestinationTypes(outpost, {
|
|
54
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
55
|
-
}, {
|
|
56
60
|
tenantId: "<id>",
|
|
57
61
|
});
|
|
58
62
|
|
|
@@ -74,7 +78,6 @@ run();
|
|
|
74
78
|
| Parameter | Type | Required | Description |
|
|
75
79
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
76
80
|
| `request` | [operations.ListTenantDestinationTypeSchemasRequest](../../models/operations/listtenantdestinationtypeschemasrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
77
|
-
| `security` | [operations.ListTenantDestinationTypeSchemasSecurity](../../models/operations/listtenantdestinationtypeschemassecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
78
81
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
79
82
|
| `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. |
|
|
80
83
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -107,14 +110,16 @@ Returns the input schema for a specific destination type. Requires Admin API Key
|
|
|
107
110
|
```typescript
|
|
108
111
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
109
112
|
|
|
110
|
-
const outpost = new Outpost(
|
|
113
|
+
const outpost = new Outpost({
|
|
114
|
+
security: {
|
|
115
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
116
|
+
},
|
|
117
|
+
});
|
|
111
118
|
|
|
112
119
|
async function run() {
|
|
113
120
|
const result = await outpost.schemas.get({
|
|
114
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
115
|
-
}, {
|
|
116
121
|
tenantId: "<id>",
|
|
117
|
-
type: "
|
|
122
|
+
type: "hookdeck",
|
|
118
123
|
});
|
|
119
124
|
|
|
120
125
|
// Handle the result
|
|
@@ -134,14 +139,16 @@ import { schemasGet } from "@hookdeck/outpost-sdk/funcs/schemasGet.js";
|
|
|
134
139
|
|
|
135
140
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
136
141
|
// You can create one instance of it to use across an application.
|
|
137
|
-
const outpost = new OutpostCore(
|
|
142
|
+
const outpost = new OutpostCore({
|
|
143
|
+
security: {
|
|
144
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
145
|
+
},
|
|
146
|
+
});
|
|
138
147
|
|
|
139
148
|
async function run() {
|
|
140
149
|
const res = await schemasGet(outpost, {
|
|
141
|
-
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
142
|
-
}, {
|
|
143
150
|
tenantId: "<id>",
|
|
144
|
-
type: "
|
|
151
|
+
type: "hookdeck",
|
|
145
152
|
});
|
|
146
153
|
|
|
147
154
|
if (!res.ok) {
|
|
@@ -162,7 +169,6 @@ run();
|
|
|
162
169
|
| Parameter | Type | Required | Description |
|
|
163
170
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
164
171
|
| `request` | [operations.GetTenantDestinationTypeSchemaRequest](../../models/operations/gettenantdestinationtypeschemarequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
165
|
-
| `security` | [operations.GetTenantDestinationTypeSchemaSecurity](../../models/operations/gettenantdestinationtypeschemasecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
166
172
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
167
173
|
| `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. |
|
|
168
174
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -195,12 +201,14 @@ Returns a list of JSON-based input schemas for each available destination type (
|
|
|
195
201
|
```typescript
|
|
196
202
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
197
203
|
|
|
198
|
-
const outpost = new Outpost(
|
|
204
|
+
const outpost = new Outpost({
|
|
205
|
+
security: {
|
|
206
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
207
|
+
},
|
|
208
|
+
});
|
|
199
209
|
|
|
200
210
|
async function run() {
|
|
201
|
-
const result = await outpost.schemas.listDestinationTypesJwt(
|
|
202
|
-
tenantJwt: "<YOUR_BEARER_TOKEN_HERE>",
|
|
203
|
-
});
|
|
211
|
+
const result = await outpost.schemas.listDestinationTypesJwt();
|
|
204
212
|
|
|
205
213
|
// Handle the result
|
|
206
214
|
console.log(result);
|
|
@@ -219,12 +227,14 @@ import { schemasListDestinationTypesJwt } from "@hookdeck/outpost-sdk/funcs/sche
|
|
|
219
227
|
|
|
220
228
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
221
229
|
// You can create one instance of it to use across an application.
|
|
222
|
-
const outpost = new OutpostCore(
|
|
230
|
+
const outpost = new OutpostCore({
|
|
231
|
+
security: {
|
|
232
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
233
|
+
},
|
|
234
|
+
});
|
|
223
235
|
|
|
224
236
|
async function run() {
|
|
225
|
-
const res = await schemasListDestinationTypesJwt(outpost
|
|
226
|
-
tenantJwt: "<YOUR_BEARER_TOKEN_HERE>",
|
|
227
|
-
});
|
|
237
|
+
const res = await schemasListDestinationTypesJwt(outpost);
|
|
228
238
|
|
|
229
239
|
if (!res.ok) {
|
|
230
240
|
throw res.error;
|
|
@@ -243,7 +253,6 @@ run();
|
|
|
243
253
|
|
|
244
254
|
| Parameter | Type | Required | Description |
|
|
245
255
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
246
|
-
| `security` | [operations.ListDestinationTypeSchemasJwtSecurity](../../models/operations/listdestinationtypeschemasjwtsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
247
256
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
248
257
|
| `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. |
|
|
249
258
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
@@ -270,20 +279,22 @@ run();
|
|
|
270
279
|
|
|
271
280
|
## getDestinationTypeJwt
|
|
272
281
|
|
|
273
|
-
Returns the input schema for a specific destination type
|
|
282
|
+
Returns the input schema for a specific destination type.
|
|
274
283
|
|
|
275
284
|
### Example Usage
|
|
276
285
|
|
|
277
286
|
```typescript
|
|
278
287
|
import { Outpost } from "@hookdeck/outpost-sdk";
|
|
279
288
|
|
|
280
|
-
const outpost = new Outpost(
|
|
289
|
+
const outpost = new Outpost({
|
|
290
|
+
security: {
|
|
291
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
292
|
+
},
|
|
293
|
+
});
|
|
281
294
|
|
|
282
295
|
async function run() {
|
|
283
296
|
const result = await outpost.schemas.getDestinationTypeJwt({
|
|
284
|
-
|
|
285
|
-
}, {
|
|
286
|
-
type: "rabbitmq",
|
|
297
|
+
type: "aws_kinesis",
|
|
287
298
|
});
|
|
288
299
|
|
|
289
300
|
// Handle the result
|
|
@@ -303,13 +314,15 @@ import { schemasGetDestinationTypeJwt } from "@hookdeck/outpost-sdk/funcs/schema
|
|
|
303
314
|
|
|
304
315
|
// Use `OutpostCore` for best tree-shaking performance.
|
|
305
316
|
// You can create one instance of it to use across an application.
|
|
306
|
-
const outpost = new OutpostCore(
|
|
317
|
+
const outpost = new OutpostCore({
|
|
318
|
+
security: {
|
|
319
|
+
adminApiKey: "<YOUR_BEARER_TOKEN_HERE>",
|
|
320
|
+
},
|
|
321
|
+
});
|
|
307
322
|
|
|
308
323
|
async function run() {
|
|
309
324
|
const res = await schemasGetDestinationTypeJwt(outpost, {
|
|
310
|
-
|
|
311
|
-
}, {
|
|
312
|
-
type: "rabbitmq",
|
|
325
|
+
type: "aws_kinesis",
|
|
313
326
|
});
|
|
314
327
|
|
|
315
328
|
if (!res.ok) {
|
|
@@ -329,8 +342,7 @@ run();
|
|
|
329
342
|
|
|
330
343
|
| Parameter | Type | Required | Description |
|
|
331
344
|
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
332
|
-
| `request` | [operations.
|
|
333
|
-
| `security` | [operations.GetDestinationTypeSchemaJwtSecurity](../../models/operations/getdestinationtypeschemajwtsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
|
|
345
|
+
| `request` | [operations.GetDestinationTypeSchemaRequest](../../models/operations/getdestinationtypeschemarequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
334
346
|
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
335
347
|
| `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. |
|
|
336
348
|
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|