@hookdeck/outpost-sdk 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -71
- package/bin/mcp-server.js +1059 -1134
- package/bin/mcp-server.js.map +81 -81
- package/dist/commonjs/funcs/attemptsGet.d.ts +2 -1
- package/dist/commonjs/funcs/attemptsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/attemptsGet.js +17 -8
- package/dist/commonjs/funcs/attemptsGet.js.map +1 -1
- package/dist/commonjs/funcs/attemptsList.d.ts +5 -4
- package/dist/commonjs/funcs/attemptsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/attemptsList.js +11 -9
- package/dist/commonjs/funcs/attemptsList.js.map +1 -1
- package/dist/commonjs/funcs/attemptsRetry.d.ts +1 -1
- package/dist/commonjs/funcs/attemptsRetry.d.ts.map +1 -1
- package/dist/commonjs/funcs/attemptsRetry.js +5 -4
- package/dist/commonjs/funcs/attemptsRetry.js.map +1 -1
- package/dist/commonjs/funcs/destinationsCreate.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsCreate.js +21 -9
- package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.js +21 -9
- package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsDisable.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.js +21 -9
- package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsEnable.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.js +21 -9
- package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.d.ts +2 -2
- package/dist/commonjs/funcs/destinationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.js +21 -9
- package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
- package/dist/commonjs/funcs/destinationsGetAttempt.d.ts +2 -1
- package/dist/commonjs/funcs/destinationsGetAttempt.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsGetAttempt.js +23 -9
- package/dist/commonjs/funcs/destinationsGetAttempt.js.map +1 -1
- package/dist/commonjs/funcs/destinationsList.d.ts +2 -1
- package/dist/commonjs/funcs/destinationsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsList.js +22 -9
- package/dist/commonjs/funcs/destinationsList.js.map +1 -1
- package/dist/commonjs/funcs/destinationsListAttempts.d.ts +1 -1
- package/dist/commonjs/funcs/destinationsListAttempts.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsListAttempts.js +9 -5
- package/dist/commonjs/funcs/destinationsListAttempts.js.map +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.d.ts +3 -1
- package/dist/commonjs/funcs/destinationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.js +22 -9
- package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.d.ts +2 -2
- package/dist/commonjs/funcs/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +16 -8
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts +5 -4
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +11 -9
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/publishEvent.js +4 -4
- package/dist/commonjs/funcs/publishEvent.js.map +1 -1
- package/dist/commonjs/funcs/{schemasGetDestinationTypeJwt.d.ts → schemasGetDestinationType.d.ts} +2 -2
- package/dist/commonjs/funcs/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +13 -9
- package/dist/commonjs/funcs/schemasGetDestinationType.js.map +1 -0
- package/dist/commonjs/funcs/{schemasListDestinationTypesJwt.d.ts → schemasListDestinationTypes.d.ts} +2 -2
- package/dist/commonjs/funcs/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +7 -6
- package/dist/commonjs/funcs/schemasListDestinationTypes.js.map +1 -0
- package/dist/commonjs/funcs/tenantsDelete.d.ts +2 -2
- package/dist/commonjs/funcs/tenantsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsDelete.js +20 -9
- package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.d.ts +2 -2
- package/dist/commonjs/funcs/tenantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.js +20 -9
- package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts +3 -2
- package/dist/commonjs/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js +22 -10
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.d.ts +3 -3
- package/dist/commonjs/funcs/tenantsGetToken.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.js +21 -10
- package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.d.ts +2 -3
- package/dist/commonjs/funcs/tenantsListTenants.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsListTenants.js +16 -13
- package/dist/commonjs/funcs/tenantsListTenants.js.map +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.d.ts +2 -2
- package/dist/commonjs/funcs/tenantsUpsert.d.ts.map +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.js +21 -9
- package/dist/commonjs/funcs/tenantsUpsert.js.map +1 -1
- package/dist/commonjs/funcs/topicsList.js +4 -3
- package/dist/commonjs/funcs/topicsList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +4 -12
- 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/matchers.d.ts.map +1 -1
- package/dist/commonjs/lib/matchers.js +0 -1
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +2 -9
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/command.js +2 -18
- package/dist/commonjs/mcp-server/cli/start/command.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts +1 -3
- package/dist/commonjs/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -10
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts +1 -2
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +6 -7
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/shared.js +1 -1
- package/dist/commonjs/mcp-server/shared.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts +3 -1
- package/dist/commonjs/mcp-server/tools/attemptsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsGet.js +4 -2
- package/dist/commonjs/mcp-server/tools/attemptsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsList.d.ts +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/attemptsList.js +5 -4
- package/dist/commonjs/mcp-server/tools/attemptsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts +4 -2
- package/dist/commonjs/mcp-server/tools/destinationsCreate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsCreate.js +5 -3
- package/dist/commonjs/mcp-server/tools/destinationsCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDelete.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsDisable.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsDisable.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsDisable.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsEnable.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsEnable.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsEnable.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts +3 -2
- package/dist/commonjs/mcp-server/tools/destinationsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGet.js +4 -3
- package/dist/commonjs/mcp-server/tools/destinationsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts +5 -1
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.js +7 -2
- package/dist/commonjs/mcp-server/tools/destinationsGetAttempt.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsList.d.ts +4 -1
- package/dist/commonjs/mcp-server/tools/destinationsList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsList.js +5 -2
- package/dist/commonjs/mcp-server/tools/destinationsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts +5 -2
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.js +6 -3
- package/dist/commonjs/mcp-server/tools/destinationsUpdate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/eventsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsGet.js +3 -3
- package/dist/commonjs/mcp-server/tools/eventsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.d.ts +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.js +5 -4
- package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts +16 -0
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +7 -7
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationType.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.d.ts +3 -0
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +6 -6
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypes.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/tenantsDelete.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsDelete.js +3 -3
- package/dist/commonjs/mcp-server/tools/tenantsDelete.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/tenantsGet.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGet.js +3 -3
- package/dist/commonjs/mcp-server/tools/tenantsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.d.ts +6 -2
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.js +5 -3
- package/dist/commonjs/mcp-server/tools/tenantsGetPortalUrl.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.d.ts +2 -2
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.js +4 -4
- package/dist/commonjs/mcp-server/tools/tenantsGetToken.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.d.ts +8 -2
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.js +7 -4
- package/dist/commonjs/mcp-server/tools/tenantsListTenants.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.d.ts +4 -2
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.js +5 -3
- package/dist/commonjs/mcp-server/tools/tenantsUpsert.js.map +1 -1
- package/dist/commonjs/models/components/event.d.ts +0 -5
- package/dist/commonjs/models/components/event.d.ts.map +1 -1
- package/dist/commonjs/models/components/event.js +0 -4
- package/dist/commonjs/models/components/event.js.map +1 -1
- package/dist/commonjs/models/components/security.d.ts +2 -4
- package/dist/commonjs/models/components/security.d.ts.map +1 -1
- package/dist/commonjs/models/components/security.js +2 -15
- package/dist/commonjs/models/components/security.js.map +1 -1
- package/dist/commonjs/models/errors/listtenants.d.ts +0 -27
- package/dist/commonjs/models/errors/listtenants.d.ts.map +1 -1
- package/dist/commonjs/models/errors/listtenants.js +1 -37
- package/dist/commonjs/models/errors/listtenants.js.map +1 -1
- package/dist/commonjs/models/operations/createtenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/createtenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createtenantdestination.js +3 -27
- package/dist/commonjs/models/operations/createtenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/deletetenant.d.ts +2 -15
- package/dist/commonjs/models/operations/deletetenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletetenant.js +3 -27
- package/dist/commonjs/models/operations/deletetenant.js.map +1 -1
- package/dist/commonjs/models/operations/deletetenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/deletetenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/deletetenantdestination.js +3 -27
- package/dist/commonjs/models/operations/deletetenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/disabletenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/disabletenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/disabletenantdestination.js +3 -27
- package/dist/commonjs/models/operations/disabletenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/enabletenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/enabletenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/enabletenantdestination.js +3 -27
- package/dist/commonjs/models/operations/enabletenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts +2 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getdestinationtypeschema.js +2 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -1
- package/dist/commonjs/models/operations/gettenant.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenant.js +3 -27
- package/dist/commonjs/models/operations/gettenant.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestination.js +3 -27
- package/dist/commonjs/models/operations/gettenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenantdestinationattempt.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationattempt.js +3 -27
- package/dist/commonjs/models/operations/gettenantdestinationattempt.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantportalurl.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenantportalurl.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantportalurl.js +3 -27
- package/dist/commonjs/models/operations/gettenantportalurl.js.map +1 -1
- package/dist/commonjs/models/operations/gettenanttoken.d.ts +2 -15
- package/dist/commonjs/models/operations/gettenanttoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenanttoken.js +3 -27
- package/dist/commonjs/models/operations/gettenanttoken.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +2 -2
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -2
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/{esm/models/operations/adminlistattempts.d.ts → commonjs/models/operations/listattempts.d.ts} +34 -34
- package/dist/commonjs/models/operations/listattempts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{adminlistattempts.js → listattempts.js} +41 -41
- package/dist/commonjs/models/operations/listattempts.js.map +1 -0
- package/dist/commonjs/models/operations/listevents.d.ts +102 -0
- package/dist/commonjs/models/operations/listevents.d.ts.map +1 -0
- package/dist/commonjs/models/operations/{adminlistevents.js → listevents.js} +28 -28
- package/dist/commonjs/models/operations/listevents.js.map +1 -0
- package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts +2 -15
- package/dist/commonjs/models/operations/listtenantdestinationattempts.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinationattempts.js +3 -27
- package/dist/commonjs/models/operations/listtenantdestinationattempts.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts +2 -15
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.js +3 -27
- package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/commonjs/models/operations/listtenants.d.ts +0 -29
- package/dist/commonjs/models/operations/listtenants.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenants.js +1 -30
- package/dist/commonjs/models/operations/listtenants.js.map +1 -1
- package/dist/commonjs/models/operations/updatetenantdestination.d.ts +2 -15
- package/dist/commonjs/models/operations/updatetenantdestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatetenantdestination.js +3 -27
- package/dist/commonjs/models/operations/updatetenantdestination.js.map +1 -1
- package/dist/commonjs/models/operations/upserttenant.d.ts +2 -15
- package/dist/commonjs/models/operations/upserttenant.d.ts.map +1 -1
- package/dist/commonjs/models/operations/upserttenant.js +3 -27
- package/dist/commonjs/models/operations/upserttenant.js.map +1 -1
- package/dist/commonjs/sdk/attempts.d.ts +6 -5
- package/dist/commonjs/sdk/attempts.d.ts.map +1 -1
- package/dist/commonjs/sdk/attempts.js +6 -5
- package/dist/commonjs/sdk/attempts.js.map +1 -1
- package/dist/commonjs/sdk/destinations.d.ts +8 -8
- package/dist/commonjs/sdk/destinations.d.ts.map +1 -1
- package/dist/commonjs/sdk/destinations.js +16 -16
- package/dist/commonjs/sdk/destinations.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +6 -5
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +6 -5
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/commonjs/sdk/schemas.d.ts +2 -2
- package/dist/commonjs/sdk/schemas.d.ts.map +1 -1
- package/dist/commonjs/sdk/schemas.js +6 -6
- package/dist/commonjs/sdk/schemas.js.map +1 -1
- package/dist/commonjs/sdk/tenants.d.ts +9 -10
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/tenants.js +15 -16
- package/dist/commonjs/sdk/tenants.js.map +1 -1
- package/dist/esm/funcs/attemptsGet.d.ts +2 -1
- package/dist/esm/funcs/attemptsGet.d.ts.map +1 -1
- package/dist/esm/funcs/attemptsGet.js +17 -8
- package/dist/esm/funcs/attemptsGet.js.map +1 -1
- package/dist/esm/funcs/attemptsList.d.ts +5 -4
- package/dist/esm/funcs/attemptsList.d.ts.map +1 -1
- package/dist/esm/funcs/attemptsList.js +11 -9
- package/dist/esm/funcs/attemptsList.js.map +1 -1
- package/dist/esm/funcs/attemptsRetry.d.ts +1 -1
- package/dist/esm/funcs/attemptsRetry.d.ts.map +1 -1
- package/dist/esm/funcs/attemptsRetry.js +5 -4
- package/dist/esm/funcs/attemptsRetry.js.map +1 -1
- package/dist/esm/funcs/destinationsCreate.d.ts +2 -2
- package/dist/esm/funcs/destinationsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsCreate.js +21 -9
- package/dist/esm/funcs/destinationsCreate.js.map +1 -1
- package/dist/esm/funcs/destinationsDelete.d.ts +2 -2
- package/dist/esm/funcs/destinationsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsDelete.js +21 -9
- package/dist/esm/funcs/destinationsDelete.js.map +1 -1
- package/dist/esm/funcs/destinationsDisable.d.ts +2 -2
- package/dist/esm/funcs/destinationsDisable.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsDisable.js +21 -9
- package/dist/esm/funcs/destinationsDisable.js.map +1 -1
- package/dist/esm/funcs/destinationsEnable.d.ts +2 -2
- package/dist/esm/funcs/destinationsEnable.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsEnable.js +21 -9
- package/dist/esm/funcs/destinationsEnable.js.map +1 -1
- package/dist/esm/funcs/destinationsGet.d.ts +2 -2
- package/dist/esm/funcs/destinationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsGet.js +21 -9
- package/dist/esm/funcs/destinationsGet.js.map +1 -1
- package/dist/esm/funcs/destinationsGetAttempt.d.ts +2 -1
- package/dist/esm/funcs/destinationsGetAttempt.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsGetAttempt.js +23 -9
- package/dist/esm/funcs/destinationsGetAttempt.js.map +1 -1
- package/dist/esm/funcs/destinationsList.d.ts +2 -1
- package/dist/esm/funcs/destinationsList.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsList.js +22 -9
- package/dist/esm/funcs/destinationsList.js.map +1 -1
- package/dist/esm/funcs/destinationsListAttempts.d.ts +1 -1
- package/dist/esm/funcs/destinationsListAttempts.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsListAttempts.js +9 -5
- package/dist/esm/funcs/destinationsListAttempts.js.map +1 -1
- package/dist/esm/funcs/destinationsUpdate.d.ts +3 -1
- package/dist/esm/funcs/destinationsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/destinationsUpdate.js +22 -9
- package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.d.ts +2 -2
- package/dist/esm/funcs/eventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/eventsGet.js +16 -8
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts +5 -4
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +11 -9
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/publishEvent.js +4 -4
- package/dist/esm/funcs/publishEvent.js.map +1 -1
- package/dist/esm/funcs/{schemasGetDestinationTypeJwt.d.ts → schemasGetDestinationType.d.ts} +2 -2
- package/dist/esm/funcs/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/esm/funcs/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +12 -8
- package/dist/esm/funcs/schemasGetDestinationType.js.map +1 -0
- package/dist/esm/funcs/{schemasListDestinationTypesJwt.d.ts → schemasListDestinationTypes.d.ts} +2 -2
- package/dist/esm/funcs/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/esm/funcs/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +6 -5
- package/dist/esm/funcs/schemasListDestinationTypes.js.map +1 -0
- package/dist/esm/funcs/tenantsDelete.d.ts +2 -2
- package/dist/esm/funcs/tenantsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsDelete.js +20 -9
- package/dist/esm/funcs/tenantsDelete.js.map +1 -1
- package/dist/esm/funcs/tenantsGet.d.ts +2 -2
- package/dist/esm/funcs/tenantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGet.js +20 -9
- package/dist/esm/funcs/tenantsGet.js.map +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.d.ts +3 -2
- package/dist/esm/funcs/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.js +22 -10
- package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/esm/funcs/tenantsGetToken.d.ts +3 -3
- package/dist/esm/funcs/tenantsGetToken.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsGetToken.js +21 -10
- package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
- package/dist/esm/funcs/tenantsListTenants.d.ts +2 -3
- package/dist/esm/funcs/tenantsListTenants.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsListTenants.js +16 -13
- package/dist/esm/funcs/tenantsListTenants.js.map +1 -1
- package/dist/esm/funcs/tenantsUpsert.d.ts +2 -2
- package/dist/esm/funcs/tenantsUpsert.d.ts.map +1 -1
- package/dist/esm/funcs/tenantsUpsert.js +21 -9
- package/dist/esm/funcs/tenantsUpsert.js.map +1 -1
- package/dist/esm/funcs/topicsList.js +4 -3
- package/dist/esm/funcs/topicsList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -12
- 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/matchers.d.ts.map +1 -1
- package/dist/esm/lib/matchers.js +0 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +2 -9
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/command.js +2 -18
- package/dist/esm/mcp-server/cli/start/command.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.d.ts +1 -3
- package/dist/esm/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -10
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts +1 -2
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +6 -7
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/shared.js +1 -1
- package/dist/esm/mcp-server/shared.js.map +1 -1
- package/dist/esm/mcp-server/tools/attemptsGet.d.ts +3 -1
- package/dist/esm/mcp-server/tools/attemptsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/attemptsGet.js +4 -2
- package/dist/esm/mcp-server/tools/attemptsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/attemptsList.d.ts +1 -1
- package/dist/esm/mcp-server/tools/attemptsList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/attemptsList.js +5 -4
- package/dist/esm/mcp-server/tools/attemptsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsCreate.d.ts +4 -2
- package/dist/esm/mcp-server/tools/destinationsCreate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsCreate.js +5 -3
- package/dist/esm/mcp-server/tools/destinationsCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDelete.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDelete.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDisable.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsDisable.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsDisable.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsDisable.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsEnable.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsEnable.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsEnable.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsEnable.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGet.d.ts +3 -2
- package/dist/esm/mcp-server/tools/destinationsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGet.js +4 -3
- package/dist/esm/mcp-server/tools/destinationsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts +5 -1
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.js +7 -2
- package/dist/esm/mcp-server/tools/destinationsGetAttempt.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsList.d.ts +4 -1
- package/dist/esm/mcp-server/tools/destinationsList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsList.js +5 -2
- package/dist/esm/mcp-server/tools/destinationsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts +5 -2
- package/dist/esm/mcp-server/tools/destinationsUpdate.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/destinationsUpdate.js +6 -3
- package/dist/esm/mcp-server/tools/destinationsUpdate.js.map +1 -1
- package/dist/esm/mcp-server/tools/eventsGet.d.ts +2 -2
- package/dist/esm/mcp-server/tools/eventsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/eventsGet.js +3 -3
- package/dist/esm/mcp-server/tools/eventsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/eventsList.d.ts +1 -1
- package/dist/esm/mcp-server/tools/eventsList.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/eventsList.js +5 -4
- package/dist/esm/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts +16 -0
- package/dist/esm/mcp-server/tools/schemasGetDestinationType.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{schemasGetDestinationTypeJwt.js → schemasGetDestinationType.js} +6 -6
- package/dist/esm/mcp-server/tools/schemasGetDestinationType.js.map +1 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypes.d.ts +3 -0
- package/dist/esm/mcp-server/tools/schemasListDestinationTypes.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/{schemasListDestinationTypesJwt.js → schemasListDestinationTypes.js} +5 -5
- package/dist/esm/mcp-server/tools/schemasListDestinationTypes.js.map +1 -0
- package/dist/esm/mcp-server/tools/tenantsDelete.d.ts +2 -2
- package/dist/esm/mcp-server/tools/tenantsDelete.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsDelete.js +3 -3
- package/dist/esm/mcp-server/tools/tenantsDelete.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGet.d.ts +2 -2
- package/dist/esm/mcp-server/tools/tenantsGet.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGet.js +3 -3
- package/dist/esm/mcp-server/tools/tenantsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.d.ts +6 -2
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.js +5 -3
- package/dist/esm/mcp-server/tools/tenantsGetPortalUrl.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetToken.d.ts +2 -2
- package/dist/esm/mcp-server/tools/tenantsGetToken.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsGetToken.js +4 -4
- package/dist/esm/mcp-server/tools/tenantsGetToken.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsListTenants.d.ts +8 -2
- package/dist/esm/mcp-server/tools/tenantsListTenants.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsListTenants.js +7 -4
- package/dist/esm/mcp-server/tools/tenantsListTenants.js.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsUpsert.d.ts +4 -2
- package/dist/esm/mcp-server/tools/tenantsUpsert.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/tenantsUpsert.js +5 -3
- package/dist/esm/mcp-server/tools/tenantsUpsert.js.map +1 -1
- package/dist/esm/models/components/event.d.ts +0 -5
- package/dist/esm/models/components/event.d.ts.map +1 -1
- package/dist/esm/models/components/event.js +0 -4
- package/dist/esm/models/components/event.js.map +1 -1
- package/dist/esm/models/components/security.d.ts +2 -4
- package/dist/esm/models/components/security.d.ts.map +1 -1
- package/dist/esm/models/components/security.js +2 -15
- package/dist/esm/models/components/security.js.map +1 -1
- package/dist/esm/models/errors/listtenants.d.ts +0 -27
- package/dist/esm/models/errors/listtenants.d.ts.map +1 -1
- package/dist/esm/models/errors/listtenants.js +0 -35
- package/dist/esm/models/errors/listtenants.js.map +1 -1
- package/dist/esm/models/operations/createtenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/createtenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/createtenantdestination.js +2 -24
- package/dist/esm/models/operations/createtenantdestination.js.map +1 -1
- package/dist/esm/models/operations/deletetenant.d.ts +2 -15
- package/dist/esm/models/operations/deletetenant.d.ts.map +1 -1
- package/dist/esm/models/operations/deletetenant.js +2 -24
- package/dist/esm/models/operations/deletetenant.js.map +1 -1
- package/dist/esm/models/operations/deletetenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/deletetenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/deletetenantdestination.js +2 -24
- package/dist/esm/models/operations/deletetenantdestination.js.map +1 -1
- package/dist/esm/models/operations/disabletenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/disabletenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/disabletenantdestination.js +2 -24
- package/dist/esm/models/operations/disabletenantdestination.js.map +1 -1
- package/dist/esm/models/operations/enabletenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/enabletenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/enabletenantdestination.js +2 -24
- package/dist/esm/models/operations/enabletenantdestination.js.map +1 -1
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts +2 -0
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -1
- package/dist/esm/models/operations/getdestinationtypeschema.js +2 -0
- package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -1
- package/dist/esm/models/operations/gettenant.d.ts +2 -15
- package/dist/esm/models/operations/gettenant.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenant.js +2 -24
- package/dist/esm/models/operations/gettenant.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/gettenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantdestination.js +2 -24
- package/dist/esm/models/operations/gettenantdestination.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationattempt.d.ts +2 -15
- package/dist/esm/models/operations/gettenantdestinationattempt.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationattempt.js +2 -24
- package/dist/esm/models/operations/gettenantdestinationattempt.js.map +1 -1
- package/dist/esm/models/operations/gettenantportalurl.d.ts +2 -15
- package/dist/esm/models/operations/gettenantportalurl.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantportalurl.js +2 -24
- package/dist/esm/models/operations/gettenantportalurl.js.map +1 -1
- package/dist/esm/models/operations/gettenanttoken.d.ts +2 -15
- package/dist/esm/models/operations/gettenanttoken.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenanttoken.js +2 -24
- package/dist/esm/models/operations/gettenanttoken.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +2 -2
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -2
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/{commonjs/models/operations/adminlistattempts.d.ts → esm/models/operations/listattempts.d.ts} +34 -34
- package/dist/esm/models/operations/listattempts.d.ts.map +1 -0
- package/dist/esm/models/operations/listattempts.js +117 -0
- package/dist/esm/models/operations/listattempts.js.map +1 -0
- package/dist/esm/models/operations/listevents.d.ts +102 -0
- package/dist/esm/models/operations/listevents.d.ts.map +1 -0
- package/dist/esm/models/operations/listevents.js +84 -0
- package/dist/esm/models/operations/listevents.js.map +1 -0
- package/dist/esm/models/operations/listtenantdestinationattempts.d.ts +2 -15
- package/dist/esm/models/operations/listtenantdestinationattempts.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinationattempts.js +2 -24
- package/dist/esm/models/operations/listtenantdestinationattempts.js.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.d.ts +2 -15
- package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.js +2 -24
- package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/esm/models/operations/listtenants.d.ts +0 -29
- package/dist/esm/models/operations/listtenants.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenants.js +0 -29
- package/dist/esm/models/operations/listtenants.js.map +1 -1
- package/dist/esm/models/operations/updatetenantdestination.d.ts +2 -15
- package/dist/esm/models/operations/updatetenantdestination.d.ts.map +1 -1
- package/dist/esm/models/operations/updatetenantdestination.js +2 -24
- package/dist/esm/models/operations/updatetenantdestination.js.map +1 -1
- package/dist/esm/models/operations/upserttenant.d.ts +2 -15
- package/dist/esm/models/operations/upserttenant.d.ts.map +1 -1
- package/dist/esm/models/operations/upserttenant.js +2 -24
- package/dist/esm/models/operations/upserttenant.js.map +1 -1
- package/dist/esm/sdk/attempts.d.ts +6 -5
- package/dist/esm/sdk/attempts.d.ts.map +1 -1
- package/dist/esm/sdk/attempts.js +6 -5
- package/dist/esm/sdk/attempts.js.map +1 -1
- package/dist/esm/sdk/destinations.d.ts +8 -8
- package/dist/esm/sdk/destinations.d.ts.map +1 -1
- package/dist/esm/sdk/destinations.js +16 -16
- package/dist/esm/sdk/destinations.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +6 -5
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +6 -5
- package/dist/esm/sdk/events.js.map +1 -1
- package/dist/esm/sdk/schemas.d.ts +2 -2
- package/dist/esm/sdk/schemas.d.ts.map +1 -1
- package/dist/esm/sdk/schemas.js +6 -6
- package/dist/esm/sdk/schemas.js.map +1 -1
- package/dist/esm/sdk/tenants.d.ts +9 -10
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/tenants.js +15 -16
- package/dist/esm/sdk/tenants.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/funcs/attemptsGet.ts +35 -9
- package/src/funcs/attemptsList.ts +21 -15
- package/src/funcs/attemptsRetry.ts +17 -8
- package/src/funcs/destinationsCreate.ts +43 -14
- package/src/funcs/destinationsDelete.ts +39 -14
- package/src/funcs/destinationsDisable.ts +39 -14
- package/src/funcs/destinationsEnable.ts +39 -14
- package/src/funcs/destinationsGet.ts +39 -14
- package/src/funcs/destinationsGetAttempt.ts +47 -14
- package/src/funcs/destinationsList.ts +43 -14
- package/src/funcs/destinationsListAttempts.ts +21 -13
- package/src/funcs/destinationsUpdate.ts +48 -14
- package/src/funcs/eventsGet.ts +31 -9
- package/src/funcs/eventsList.ts +21 -15
- package/src/funcs/publishEvent.ts +5 -5
- package/src/funcs/{schemasGetDestinationTypeJwt.ts → schemasGetDestinationType.ts} +18 -12
- package/src/funcs/{schemasListDestinationTypesJwt.ts → schemasListDestinationTypes.ts} +6 -5
- package/src/funcs/tenantsDelete.ts +35 -14
- package/src/funcs/tenantsGet.ts +35 -14
- package/src/funcs/tenantsGetPortalUrl.ts +40 -15
- package/src/funcs/tenantsGetToken.ts +36 -15
- package/src/funcs/tenantsListTenants.ts +38 -17
- package/src/funcs/tenantsUpsert.ts +38 -13
- package/src/funcs/topicsList.ts +5 -4
- package/src/lib/config.ts +4 -16
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +2 -10
- package/src/mcp-server/cli/start/command.ts +2 -19
- package/src/mcp-server/cli/start/impl.ts +5 -13
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -9
- package/src/mcp-server/shared.ts +2 -2
- package/src/mcp-server/tools/attemptsGet.ts +5 -2
- package/src/mcp-server/tools/attemptsList.ts +5 -4
- package/src/mcp-server/tools/destinationsCreate.ts +6 -3
- package/src/mcp-server/tools/destinationsDelete.ts +5 -3
- package/src/mcp-server/tools/destinationsDisable.ts +5 -3
- package/src/mcp-server/tools/destinationsEnable.ts +5 -3
- package/src/mcp-server/tools/destinationsGet.ts +5 -3
- package/src/mcp-server/tools/destinationsGetAttempt.ts +10 -2
- package/src/mcp-server/tools/destinationsList.ts +7 -2
- package/src/mcp-server/tools/destinationsUpdate.ts +8 -3
- package/src/mcp-server/tools/eventsGet.ts +3 -3
- package/src/mcp-server/tools/eventsList.ts +5 -4
- package/src/mcp-server/tools/{schemasGetDestinationTypeJwt.ts → schemasGetDestinationType.ts} +6 -6
- package/src/mcp-server/tools/{schemasListDestinationTypesJwt.ts → schemasListDestinationTypes.ts} +4 -4
- package/src/mcp-server/tools/tenantsDelete.ts +3 -3
- package/src/mcp-server/tools/tenantsGet.ts +3 -3
- package/src/mcp-server/tools/tenantsGetPortalUrl.ts +6 -3
- package/src/mcp-server/tools/tenantsGetToken.ts +4 -4
- package/src/mcp-server/tools/tenantsListTenants.ts +10 -4
- package/src/mcp-server/tools/tenantsUpsert.ts +6 -3
- package/src/models/components/event.ts +0 -11
- package/src/models/components/security.ts +4 -19
- package/src/models/errors/listtenants.ts +0 -66
- package/src/models/operations/createtenantdestination.ts +4 -57
- package/src/models/operations/deletetenant.ts +4 -55
- package/src/models/operations/deletetenantdestination.ts +4 -57
- package/src/models/operations/disabletenantdestination.ts +4 -57
- package/src/models/operations/enabletenantdestination.ts +4 -57
- package/src/models/operations/getdestinationtypeschema.ts +2 -0
- package/src/models/operations/gettenant.ts +4 -55
- package/src/models/operations/gettenantdestination.ts +4 -57
- package/src/models/operations/gettenantdestinationattempt.ts +4 -58
- package/src/models/operations/gettenantportalurl.ts +4 -55
- package/src/models/operations/gettenanttoken.ts +4 -55
- package/src/models/operations/index.ts +2 -2
- package/src/models/operations/{adminlistattempts.ts → listattempts.ts} +75 -79
- package/src/models/operations/{adminlistevents.ts → listevents.ts} +50 -52
- package/src/models/operations/listtenantdestinationattempts.ts +4 -58
- package/src/models/operations/listtenantdestinations.ts +4 -57
- package/src/models/operations/listtenants.ts +0 -58
- package/src/models/operations/updatetenantdestination.ts +4 -57
- package/src/models/operations/upserttenant.ts +4 -55
- package/src/sdk/attempts.ts +9 -6
- package/src/sdk/destinations.ts +40 -16
- package/src/sdk/events.ts +7 -6
- package/src/sdk/schemas.ts +8 -8
- package/src/sdk/tenants.ts +25 -16
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts +0 -8
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +0 -3
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/commonjs/mcp-server/tools/schemasListDestinationTypesJwt.js.map +0 -1
- package/dist/commonjs/models/operations/adminlistattempts.d.ts.map +0 -1
- package/dist/commonjs/models/operations/adminlistattempts.js.map +0 -1
- package/dist/commonjs/models/operations/adminlistevents.d.ts +0 -102
- package/dist/commonjs/models/operations/adminlistevents.d.ts.map +0 -1
- package/dist/commonjs/models/operations/adminlistevents.js.map +0 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +0 -1
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts +0 -8
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/schemasGetDestinationTypeJwt.js.map +0 -1
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts +0 -3
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.d.ts.map +0 -1
- package/dist/esm/mcp-server/tools/schemasListDestinationTypesJwt.js.map +0 -1
- package/dist/esm/models/operations/adminlistattempts.d.ts.map +0 -1
- package/dist/esm/models/operations/adminlistattempts.js +0 -117
- package/dist/esm/models/operations/adminlistattempts.js.map +0 -1
- package/dist/esm/models/operations/adminlistevents.d.ts +0 -102
- package/dist/esm/models/operations/adminlistevents.d.ts.map +0 -1
- package/dist/esm/models/operations/adminlistevents.js +0 -84
- package/dist/esm/models/operations/adminlistevents.js.map +0 -1
- package/examples/package-lock.json +0 -620
- package/examples/package.json +0 -18
- package/tsconfig.json +0 -40
|
@@ -36,37 +36,6 @@ export class NotImplementedError extends OutpostError {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* Invalid request parameters (e.g., invalid cursor, both next and prev provided).
|
|
41
|
-
*/
|
|
42
|
-
export type ListTenantsBadRequestErrorData = {
|
|
43
|
-
error?: string | undefined;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Invalid request parameters (e.g., invalid cursor, both next and prev provided).
|
|
48
|
-
*/
|
|
49
|
-
export class ListTenantsBadRequestError extends OutpostError {
|
|
50
|
-
error?: string | undefined;
|
|
51
|
-
|
|
52
|
-
/** The original data that was passed to this error instance. */
|
|
53
|
-
data$: ListTenantsBadRequestErrorData;
|
|
54
|
-
|
|
55
|
-
constructor(
|
|
56
|
-
err: ListTenantsBadRequestErrorData,
|
|
57
|
-
httpMeta: { response: Response; request: Request; body: string },
|
|
58
|
-
) {
|
|
59
|
-
const message = "message" in err && typeof err.message === "string"
|
|
60
|
-
? err.message
|
|
61
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
62
|
-
super(message, httpMeta);
|
|
63
|
-
this.data$ = err;
|
|
64
|
-
if (err.error != null) this.error = err.error;
|
|
65
|
-
|
|
66
|
-
this.name = "ListTenantsBadRequestError";
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
39
|
/** @internal */
|
|
71
40
|
export const NotImplementedError$inboundSchema: z.ZodType<
|
|
72
41
|
NotImplementedError,
|
|
@@ -101,38 +70,3 @@ export const NotImplementedError$outboundSchema: z.ZodType<
|
|
|
101
70
|
.pipe(z.object({
|
|
102
71
|
error: z.string().optional(),
|
|
103
72
|
}));
|
|
104
|
-
|
|
105
|
-
/** @internal */
|
|
106
|
-
export const ListTenantsBadRequestError$inboundSchema: z.ZodType<
|
|
107
|
-
ListTenantsBadRequestError,
|
|
108
|
-
z.ZodTypeDef,
|
|
109
|
-
unknown
|
|
110
|
-
> = z.object({
|
|
111
|
-
error: z.string().optional(),
|
|
112
|
-
request$: z.instanceof(Request),
|
|
113
|
-
response$: z.instanceof(Response),
|
|
114
|
-
body$: z.string(),
|
|
115
|
-
})
|
|
116
|
-
.transform((v) => {
|
|
117
|
-
return new ListTenantsBadRequestError(v, {
|
|
118
|
-
request: v.request$,
|
|
119
|
-
response: v.response$,
|
|
120
|
-
body: v.body$,
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
/** @internal */
|
|
125
|
-
export type ListTenantsBadRequestError$Outbound = {
|
|
126
|
-
error?: string | undefined;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
/** @internal */
|
|
130
|
-
export const ListTenantsBadRequestError$outboundSchema: z.ZodType<
|
|
131
|
-
ListTenantsBadRequestError$Outbound,
|
|
132
|
-
z.ZodTypeDef,
|
|
133
|
-
ListTenantsBadRequestError
|
|
134
|
-
> = z.instanceof(ListTenantsBadRequestError)
|
|
135
|
-
.transform(v => v.data$)
|
|
136
|
-
.pipe(z.object({
|
|
137
|
-
error: z.string().optional(),
|
|
138
|
-
}));
|
|
@@ -9,74 +9,21 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import * as components from "../components/index.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
-
export type CreateTenantDestinationGlobals = {
|
|
13
|
-
tenantId?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
12
|
export type CreateTenantDestinationRequest = {
|
|
17
13
|
/**
|
|
18
14
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
19
15
|
*/
|
|
20
|
-
tenantId
|
|
16
|
+
tenantId: string;
|
|
21
17
|
params: components.DestinationCreate;
|
|
22
18
|
};
|
|
23
19
|
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const CreateTenantDestinationGlobals$inboundSchema: z.ZodType<
|
|
26
|
-
CreateTenantDestinationGlobals,
|
|
27
|
-
z.ZodTypeDef,
|
|
28
|
-
unknown
|
|
29
|
-
> = z.object({
|
|
30
|
-
tenant_id: z.string().optional(),
|
|
31
|
-
}).transform((v) => {
|
|
32
|
-
return remap$(v, {
|
|
33
|
-
"tenant_id": "tenantId",
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
/** @internal */
|
|
37
|
-
export type CreateTenantDestinationGlobals$Outbound = {
|
|
38
|
-
tenant_id?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/** @internal */
|
|
42
|
-
export const CreateTenantDestinationGlobals$outboundSchema: z.ZodType<
|
|
43
|
-
CreateTenantDestinationGlobals$Outbound,
|
|
44
|
-
z.ZodTypeDef,
|
|
45
|
-
CreateTenantDestinationGlobals
|
|
46
|
-
> = z.object({
|
|
47
|
-
tenantId: z.string().optional(),
|
|
48
|
-
}).transform((v) => {
|
|
49
|
-
return remap$(v, {
|
|
50
|
-
tenantId: "tenant_id",
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export function createTenantDestinationGlobalsToJSON(
|
|
55
|
-
createTenantDestinationGlobals: CreateTenantDestinationGlobals,
|
|
56
|
-
): string {
|
|
57
|
-
return JSON.stringify(
|
|
58
|
-
CreateTenantDestinationGlobals$outboundSchema.parse(
|
|
59
|
-
createTenantDestinationGlobals,
|
|
60
|
-
),
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
export function createTenantDestinationGlobalsFromJSON(
|
|
64
|
-
jsonString: string,
|
|
65
|
-
): SafeParseResult<CreateTenantDestinationGlobals, SDKValidationError> {
|
|
66
|
-
return safeParse(
|
|
67
|
-
jsonString,
|
|
68
|
-
(x) => CreateTenantDestinationGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
-
`Failed to parse 'CreateTenantDestinationGlobals' from JSON`,
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
20
|
/** @internal */
|
|
74
21
|
export const CreateTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
75
22
|
CreateTenantDestinationRequest,
|
|
76
23
|
z.ZodTypeDef,
|
|
77
24
|
unknown
|
|
78
25
|
> = z.object({
|
|
79
|
-
tenant_id: z.string()
|
|
26
|
+
tenant_id: z.string(),
|
|
80
27
|
params: components.DestinationCreate$inboundSchema,
|
|
81
28
|
}).transform((v) => {
|
|
82
29
|
return remap$(v, {
|
|
@@ -85,7 +32,7 @@ export const CreateTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
|
85
32
|
});
|
|
86
33
|
/** @internal */
|
|
87
34
|
export type CreateTenantDestinationRequest$Outbound = {
|
|
88
|
-
tenant_id
|
|
35
|
+
tenant_id: string;
|
|
89
36
|
params: components.DestinationCreate$Outbound;
|
|
90
37
|
};
|
|
91
38
|
|
|
@@ -95,7 +42,7 @@ export const CreateTenantDestinationRequest$outboundSchema: z.ZodType<
|
|
|
95
42
|
z.ZodTypeDef,
|
|
96
43
|
CreateTenantDestinationRequest
|
|
97
44
|
> = z.object({
|
|
98
|
-
tenantId: z.string()
|
|
45
|
+
tenantId: z.string(),
|
|
99
46
|
params: components.DestinationCreate$outboundSchema,
|
|
100
47
|
}).transform((v) => {
|
|
101
48
|
return remap$(v, {
|
|
@@ -8,71 +8,20 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type DeleteTenantGlobals = {
|
|
12
|
-
tenantId?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
11
|
export type DeleteTenantRequest = {
|
|
16
12
|
/**
|
|
17
13
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
18
14
|
*/
|
|
19
|
-
tenantId
|
|
15
|
+
tenantId: string;
|
|
20
16
|
};
|
|
21
17
|
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const DeleteTenantGlobals$inboundSchema: z.ZodType<
|
|
24
|
-
DeleteTenantGlobals,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({
|
|
28
|
-
tenant_id: z.string().optional(),
|
|
29
|
-
}).transform((v) => {
|
|
30
|
-
return remap$(v, {
|
|
31
|
-
"tenant_id": "tenantId",
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
/** @internal */
|
|
35
|
-
export type DeleteTenantGlobals$Outbound = {
|
|
36
|
-
tenant_id?: string | undefined;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const DeleteTenantGlobals$outboundSchema: z.ZodType<
|
|
41
|
-
DeleteTenantGlobals$Outbound,
|
|
42
|
-
z.ZodTypeDef,
|
|
43
|
-
DeleteTenantGlobals
|
|
44
|
-
> = z.object({
|
|
45
|
-
tenantId: z.string().optional(),
|
|
46
|
-
}).transform((v) => {
|
|
47
|
-
return remap$(v, {
|
|
48
|
-
tenantId: "tenant_id",
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export function deleteTenantGlobalsToJSON(
|
|
53
|
-
deleteTenantGlobals: DeleteTenantGlobals,
|
|
54
|
-
): string {
|
|
55
|
-
return JSON.stringify(
|
|
56
|
-
DeleteTenantGlobals$outboundSchema.parse(deleteTenantGlobals),
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
export function deleteTenantGlobalsFromJSON(
|
|
60
|
-
jsonString: string,
|
|
61
|
-
): SafeParseResult<DeleteTenantGlobals, SDKValidationError> {
|
|
62
|
-
return safeParse(
|
|
63
|
-
jsonString,
|
|
64
|
-
(x) => DeleteTenantGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
65
|
-
`Failed to parse 'DeleteTenantGlobals' from JSON`,
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
18
|
/** @internal */
|
|
70
19
|
export const DeleteTenantRequest$inboundSchema: z.ZodType<
|
|
71
20
|
DeleteTenantRequest,
|
|
72
21
|
z.ZodTypeDef,
|
|
73
22
|
unknown
|
|
74
23
|
> = z.object({
|
|
75
|
-
tenant_id: z.string()
|
|
24
|
+
tenant_id: z.string(),
|
|
76
25
|
}).transform((v) => {
|
|
77
26
|
return remap$(v, {
|
|
78
27
|
"tenant_id": "tenantId",
|
|
@@ -80,7 +29,7 @@ export const DeleteTenantRequest$inboundSchema: z.ZodType<
|
|
|
80
29
|
});
|
|
81
30
|
/** @internal */
|
|
82
31
|
export type DeleteTenantRequest$Outbound = {
|
|
83
|
-
tenant_id
|
|
32
|
+
tenant_id: string;
|
|
84
33
|
};
|
|
85
34
|
|
|
86
35
|
/** @internal */
|
|
@@ -89,7 +38,7 @@ export const DeleteTenantRequest$outboundSchema: z.ZodType<
|
|
|
89
38
|
z.ZodTypeDef,
|
|
90
39
|
DeleteTenantRequest
|
|
91
40
|
> = z.object({
|
|
92
|
-
tenantId: z.string()
|
|
41
|
+
tenantId: z.string(),
|
|
93
42
|
}).transform((v) => {
|
|
94
43
|
return remap$(v, {
|
|
95
44
|
tenantId: "tenant_id",
|
|
@@ -8,77 +8,24 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type DeleteTenantDestinationGlobals = {
|
|
12
|
-
tenantId?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
11
|
export type DeleteTenantDestinationRequest = {
|
|
16
12
|
/**
|
|
17
13
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
18
14
|
*/
|
|
19
|
-
tenantId
|
|
15
|
+
tenantId: string;
|
|
20
16
|
/**
|
|
21
17
|
* The ID of the destination.
|
|
22
18
|
*/
|
|
23
19
|
destinationId: string;
|
|
24
20
|
};
|
|
25
21
|
|
|
26
|
-
/** @internal */
|
|
27
|
-
export const DeleteTenantDestinationGlobals$inboundSchema: z.ZodType<
|
|
28
|
-
DeleteTenantDestinationGlobals,
|
|
29
|
-
z.ZodTypeDef,
|
|
30
|
-
unknown
|
|
31
|
-
> = z.object({
|
|
32
|
-
tenant_id: z.string().optional(),
|
|
33
|
-
}).transform((v) => {
|
|
34
|
-
return remap$(v, {
|
|
35
|
-
"tenant_id": "tenantId",
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type DeleteTenantDestinationGlobals$Outbound = {
|
|
40
|
-
tenant_id?: string | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const DeleteTenantDestinationGlobals$outboundSchema: z.ZodType<
|
|
45
|
-
DeleteTenantDestinationGlobals$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
DeleteTenantDestinationGlobals
|
|
48
|
-
> = z.object({
|
|
49
|
-
tenantId: z.string().optional(),
|
|
50
|
-
}).transform((v) => {
|
|
51
|
-
return remap$(v, {
|
|
52
|
-
tenantId: "tenant_id",
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
export function deleteTenantDestinationGlobalsToJSON(
|
|
57
|
-
deleteTenantDestinationGlobals: DeleteTenantDestinationGlobals,
|
|
58
|
-
): string {
|
|
59
|
-
return JSON.stringify(
|
|
60
|
-
DeleteTenantDestinationGlobals$outboundSchema.parse(
|
|
61
|
-
deleteTenantDestinationGlobals,
|
|
62
|
-
),
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export function deleteTenantDestinationGlobalsFromJSON(
|
|
66
|
-
jsonString: string,
|
|
67
|
-
): SafeParseResult<DeleteTenantDestinationGlobals, SDKValidationError> {
|
|
68
|
-
return safeParse(
|
|
69
|
-
jsonString,
|
|
70
|
-
(x) => DeleteTenantDestinationGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
-
`Failed to parse 'DeleteTenantDestinationGlobals' from JSON`,
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
22
|
/** @internal */
|
|
76
23
|
export const DeleteTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
77
24
|
DeleteTenantDestinationRequest,
|
|
78
25
|
z.ZodTypeDef,
|
|
79
26
|
unknown
|
|
80
27
|
> = z.object({
|
|
81
|
-
tenant_id: z.string()
|
|
28
|
+
tenant_id: z.string(),
|
|
82
29
|
destination_id: z.string(),
|
|
83
30
|
}).transform((v) => {
|
|
84
31
|
return remap$(v, {
|
|
@@ -88,7 +35,7 @@ export const DeleteTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
|
88
35
|
});
|
|
89
36
|
/** @internal */
|
|
90
37
|
export type DeleteTenantDestinationRequest$Outbound = {
|
|
91
|
-
tenant_id
|
|
38
|
+
tenant_id: string;
|
|
92
39
|
destination_id: string;
|
|
93
40
|
};
|
|
94
41
|
|
|
@@ -98,7 +45,7 @@ export const DeleteTenantDestinationRequest$outboundSchema: z.ZodType<
|
|
|
98
45
|
z.ZodTypeDef,
|
|
99
46
|
DeleteTenantDestinationRequest
|
|
100
47
|
> = z.object({
|
|
101
|
-
tenantId: z.string()
|
|
48
|
+
tenantId: z.string(),
|
|
102
49
|
destinationId: z.string(),
|
|
103
50
|
}).transform((v) => {
|
|
104
51
|
return remap$(v, {
|
|
@@ -8,77 +8,24 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type DisableTenantDestinationGlobals = {
|
|
12
|
-
tenantId?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
11
|
export type DisableTenantDestinationRequest = {
|
|
16
12
|
/**
|
|
17
13
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
18
14
|
*/
|
|
19
|
-
tenantId
|
|
15
|
+
tenantId: string;
|
|
20
16
|
/**
|
|
21
17
|
* The ID of the destination.
|
|
22
18
|
*/
|
|
23
19
|
destinationId: string;
|
|
24
20
|
};
|
|
25
21
|
|
|
26
|
-
/** @internal */
|
|
27
|
-
export const DisableTenantDestinationGlobals$inboundSchema: z.ZodType<
|
|
28
|
-
DisableTenantDestinationGlobals,
|
|
29
|
-
z.ZodTypeDef,
|
|
30
|
-
unknown
|
|
31
|
-
> = z.object({
|
|
32
|
-
tenant_id: z.string().optional(),
|
|
33
|
-
}).transform((v) => {
|
|
34
|
-
return remap$(v, {
|
|
35
|
-
"tenant_id": "tenantId",
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type DisableTenantDestinationGlobals$Outbound = {
|
|
40
|
-
tenant_id?: string | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const DisableTenantDestinationGlobals$outboundSchema: z.ZodType<
|
|
45
|
-
DisableTenantDestinationGlobals$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
DisableTenantDestinationGlobals
|
|
48
|
-
> = z.object({
|
|
49
|
-
tenantId: z.string().optional(),
|
|
50
|
-
}).transform((v) => {
|
|
51
|
-
return remap$(v, {
|
|
52
|
-
tenantId: "tenant_id",
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
export function disableTenantDestinationGlobalsToJSON(
|
|
57
|
-
disableTenantDestinationGlobals: DisableTenantDestinationGlobals,
|
|
58
|
-
): string {
|
|
59
|
-
return JSON.stringify(
|
|
60
|
-
DisableTenantDestinationGlobals$outboundSchema.parse(
|
|
61
|
-
disableTenantDestinationGlobals,
|
|
62
|
-
),
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export function disableTenantDestinationGlobalsFromJSON(
|
|
66
|
-
jsonString: string,
|
|
67
|
-
): SafeParseResult<DisableTenantDestinationGlobals, SDKValidationError> {
|
|
68
|
-
return safeParse(
|
|
69
|
-
jsonString,
|
|
70
|
-
(x) => DisableTenantDestinationGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
-
`Failed to parse 'DisableTenantDestinationGlobals' from JSON`,
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
22
|
/** @internal */
|
|
76
23
|
export const DisableTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
77
24
|
DisableTenantDestinationRequest,
|
|
78
25
|
z.ZodTypeDef,
|
|
79
26
|
unknown
|
|
80
27
|
> = z.object({
|
|
81
|
-
tenant_id: z.string()
|
|
28
|
+
tenant_id: z.string(),
|
|
82
29
|
destination_id: z.string(),
|
|
83
30
|
}).transform((v) => {
|
|
84
31
|
return remap$(v, {
|
|
@@ -88,7 +35,7 @@ export const DisableTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
|
88
35
|
});
|
|
89
36
|
/** @internal */
|
|
90
37
|
export type DisableTenantDestinationRequest$Outbound = {
|
|
91
|
-
tenant_id
|
|
38
|
+
tenant_id: string;
|
|
92
39
|
destination_id: string;
|
|
93
40
|
};
|
|
94
41
|
|
|
@@ -98,7 +45,7 @@ export const DisableTenantDestinationRequest$outboundSchema: z.ZodType<
|
|
|
98
45
|
z.ZodTypeDef,
|
|
99
46
|
DisableTenantDestinationRequest
|
|
100
47
|
> = z.object({
|
|
101
|
-
tenantId: z.string()
|
|
48
|
+
tenantId: z.string(),
|
|
102
49
|
destinationId: z.string(),
|
|
103
50
|
}).transform((v) => {
|
|
104
51
|
return remap$(v, {
|
|
@@ -8,77 +8,24 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type EnableTenantDestinationGlobals = {
|
|
12
|
-
tenantId?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
11
|
export type EnableTenantDestinationRequest = {
|
|
16
12
|
/**
|
|
17
13
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
18
14
|
*/
|
|
19
|
-
tenantId
|
|
15
|
+
tenantId: string;
|
|
20
16
|
/**
|
|
21
17
|
* The ID of the destination.
|
|
22
18
|
*/
|
|
23
19
|
destinationId: string;
|
|
24
20
|
};
|
|
25
21
|
|
|
26
|
-
/** @internal */
|
|
27
|
-
export const EnableTenantDestinationGlobals$inboundSchema: z.ZodType<
|
|
28
|
-
EnableTenantDestinationGlobals,
|
|
29
|
-
z.ZodTypeDef,
|
|
30
|
-
unknown
|
|
31
|
-
> = z.object({
|
|
32
|
-
tenant_id: z.string().optional(),
|
|
33
|
-
}).transform((v) => {
|
|
34
|
-
return remap$(v, {
|
|
35
|
-
"tenant_id": "tenantId",
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
/** @internal */
|
|
39
|
-
export type EnableTenantDestinationGlobals$Outbound = {
|
|
40
|
-
tenant_id?: string | undefined;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/** @internal */
|
|
44
|
-
export const EnableTenantDestinationGlobals$outboundSchema: z.ZodType<
|
|
45
|
-
EnableTenantDestinationGlobals$Outbound,
|
|
46
|
-
z.ZodTypeDef,
|
|
47
|
-
EnableTenantDestinationGlobals
|
|
48
|
-
> = z.object({
|
|
49
|
-
tenantId: z.string().optional(),
|
|
50
|
-
}).transform((v) => {
|
|
51
|
-
return remap$(v, {
|
|
52
|
-
tenantId: "tenant_id",
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
export function enableTenantDestinationGlobalsToJSON(
|
|
57
|
-
enableTenantDestinationGlobals: EnableTenantDestinationGlobals,
|
|
58
|
-
): string {
|
|
59
|
-
return JSON.stringify(
|
|
60
|
-
EnableTenantDestinationGlobals$outboundSchema.parse(
|
|
61
|
-
enableTenantDestinationGlobals,
|
|
62
|
-
),
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export function enableTenantDestinationGlobalsFromJSON(
|
|
66
|
-
jsonString: string,
|
|
67
|
-
): SafeParseResult<EnableTenantDestinationGlobals, SDKValidationError> {
|
|
68
|
-
return safeParse(
|
|
69
|
-
jsonString,
|
|
70
|
-
(x) => EnableTenantDestinationGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
-
`Failed to parse 'EnableTenantDestinationGlobals' from JSON`,
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
22
|
/** @internal */
|
|
76
23
|
export const EnableTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
77
24
|
EnableTenantDestinationRequest,
|
|
78
25
|
z.ZodTypeDef,
|
|
79
26
|
unknown
|
|
80
27
|
> = z.object({
|
|
81
|
-
tenant_id: z.string()
|
|
28
|
+
tenant_id: z.string(),
|
|
82
29
|
destination_id: z.string(),
|
|
83
30
|
}).transform((v) => {
|
|
84
31
|
return remap$(v, {
|
|
@@ -88,7 +35,7 @@ export const EnableTenantDestinationRequest$inboundSchema: z.ZodType<
|
|
|
88
35
|
});
|
|
89
36
|
/** @internal */
|
|
90
37
|
export type EnableTenantDestinationRequest$Outbound = {
|
|
91
|
-
tenant_id
|
|
38
|
+
tenant_id: string;
|
|
92
39
|
destination_id: string;
|
|
93
40
|
};
|
|
94
41
|
|
|
@@ -98,7 +45,7 @@ export const EnableTenantDestinationRequest$outboundSchema: z.ZodType<
|
|
|
98
45
|
z.ZodTypeDef,
|
|
99
46
|
EnableTenantDestinationRequest
|
|
100
47
|
> = z.object({
|
|
101
|
-
tenantId: z.string()
|
|
48
|
+
tenantId: z.string(),
|
|
102
49
|
destinationId: z.string(),
|
|
103
50
|
}).transform((v) => {
|
|
104
51
|
return remap$(v, {
|
|
@@ -17,7 +17,9 @@ export const GetDestinationTypeSchemaType = {
|
|
|
17
17
|
Rabbitmq: "rabbitmq",
|
|
18
18
|
Hookdeck: "hookdeck",
|
|
19
19
|
AwsKinesis: "aws_kinesis",
|
|
20
|
+
AzureServicebus: "azure_servicebus",
|
|
20
21
|
AwsS3: "aws_s3",
|
|
22
|
+
GcpPubsub: "gcp_pubsub",
|
|
21
23
|
} as const;
|
|
22
24
|
/**
|
|
23
25
|
* The type of the destination.
|
|
@@ -8,71 +8,20 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export type GetTenantGlobals = {
|
|
12
|
-
tenantId?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
11
|
export type GetTenantRequest = {
|
|
16
12
|
/**
|
|
17
13
|
* The ID of the tenant. Required when using AdminApiKey authentication.
|
|
18
14
|
*/
|
|
19
|
-
tenantId
|
|
15
|
+
tenantId: string;
|
|
20
16
|
};
|
|
21
17
|
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const GetTenantGlobals$inboundSchema: z.ZodType<
|
|
24
|
-
GetTenantGlobals,
|
|
25
|
-
z.ZodTypeDef,
|
|
26
|
-
unknown
|
|
27
|
-
> = z.object({
|
|
28
|
-
tenant_id: z.string().optional(),
|
|
29
|
-
}).transform((v) => {
|
|
30
|
-
return remap$(v, {
|
|
31
|
-
"tenant_id": "tenantId",
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
/** @internal */
|
|
35
|
-
export type GetTenantGlobals$Outbound = {
|
|
36
|
-
tenant_id?: string | undefined;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
/** @internal */
|
|
40
|
-
export const GetTenantGlobals$outboundSchema: z.ZodType<
|
|
41
|
-
GetTenantGlobals$Outbound,
|
|
42
|
-
z.ZodTypeDef,
|
|
43
|
-
GetTenantGlobals
|
|
44
|
-
> = z.object({
|
|
45
|
-
tenantId: z.string().optional(),
|
|
46
|
-
}).transform((v) => {
|
|
47
|
-
return remap$(v, {
|
|
48
|
-
tenantId: "tenant_id",
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export function getTenantGlobalsToJSON(
|
|
53
|
-
getTenantGlobals: GetTenantGlobals,
|
|
54
|
-
): string {
|
|
55
|
-
return JSON.stringify(
|
|
56
|
-
GetTenantGlobals$outboundSchema.parse(getTenantGlobals),
|
|
57
|
-
);
|
|
58
|
-
}
|
|
59
|
-
export function getTenantGlobalsFromJSON(
|
|
60
|
-
jsonString: string,
|
|
61
|
-
): SafeParseResult<GetTenantGlobals, SDKValidationError> {
|
|
62
|
-
return safeParse(
|
|
63
|
-
jsonString,
|
|
64
|
-
(x) => GetTenantGlobals$inboundSchema.parse(JSON.parse(x)),
|
|
65
|
-
`Failed to parse 'GetTenantGlobals' from JSON`,
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
18
|
/** @internal */
|
|
70
19
|
export const GetTenantRequest$inboundSchema: z.ZodType<
|
|
71
20
|
GetTenantRequest,
|
|
72
21
|
z.ZodTypeDef,
|
|
73
22
|
unknown
|
|
74
23
|
> = z.object({
|
|
75
|
-
tenant_id: z.string()
|
|
24
|
+
tenant_id: z.string(),
|
|
76
25
|
}).transform((v) => {
|
|
77
26
|
return remap$(v, {
|
|
78
27
|
"tenant_id": "tenantId",
|
|
@@ -80,7 +29,7 @@ export const GetTenantRequest$inboundSchema: z.ZodType<
|
|
|
80
29
|
});
|
|
81
30
|
/** @internal */
|
|
82
31
|
export type GetTenantRequest$Outbound = {
|
|
83
|
-
tenant_id
|
|
32
|
+
tenant_id: string;
|
|
84
33
|
};
|
|
85
34
|
|
|
86
35
|
/** @internal */
|
|
@@ -89,7 +38,7 @@ export const GetTenantRequest$outboundSchema: z.ZodType<
|
|
|
89
38
|
z.ZodTypeDef,
|
|
90
39
|
GetTenantRequest
|
|
91
40
|
> = z.object({
|
|
92
|
-
tenantId: z.string()
|
|
41
|
+
tenantId: z.string(),
|
|
93
42
|
}).transform((v) => {
|
|
94
43
|
return remap$(v, {
|
|
95
44
|
tenantId: "tenant_id",
|