@hookdeck/outpost-sdk 0.3.0 → 0.5.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 +38 -6
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +733 -78
- package/bin/mcp-server.js.map +61 -48
- package/dist/commonjs/funcs/destinationsCreate.js +1 -1
- package/dist/commonjs/funcs/destinationsCreate.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDelete.js +1 -1
- package/dist/commonjs/funcs/destinationsDelete.js.map +1 -1
- package/dist/commonjs/funcs/destinationsDisable.js +1 -1
- package/dist/commonjs/funcs/destinationsDisable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsEnable.js +1 -1
- package/dist/commonjs/funcs/destinationsEnable.js.map +1 -1
- package/dist/commonjs/funcs/destinationsGet.js +1 -1
- package/dist/commonjs/funcs/destinationsGet.js.map +1 -1
- package/dist/commonjs/funcs/destinationsList.js +1 -1
- package/dist/commonjs/funcs/destinationsList.js.map +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.js +1 -1
- package/dist/commonjs/funcs/destinationsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/eventsGet.js +1 -1
- package/dist/commonjs/funcs/eventsGet.js.map +1 -1
- package/dist/commonjs/funcs/eventsGetByDestination.js +1 -1
- package/dist/commonjs/funcs/eventsGetByDestination.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.d.ts +4 -2
- package/dist/commonjs/funcs/eventsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +47 -9
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/eventsListByDestination.d.ts +4 -2
- package/dist/commonjs/funcs/eventsListByDestination.d.ts.map +1 -1
- package/dist/commonjs/funcs/eventsListByDestination.js +45 -9
- package/dist/commonjs/funcs/eventsListByDestination.js.map +1 -1
- package/dist/commonjs/funcs/eventsListDeliveries.js +1 -1
- package/dist/commonjs/funcs/eventsListDeliveries.js.map +1 -1
- package/dist/commonjs/funcs/eventsRetry.js +1 -1
- package/dist/commonjs/funcs/eventsRetry.js.map +1 -1
- package/dist/commonjs/funcs/healthCheck.js +1 -1
- package/dist/commonjs/funcs/healthCheck.js.map +1 -1
- package/dist/commonjs/funcs/publishEvent.js +1 -1
- package/dist/commonjs/funcs/publishEvent.js.map +1 -1
- package/dist/commonjs/funcs/schemasGet.js +1 -1
- package/dist/commonjs/funcs/schemasGet.js.map +1 -1
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js +1 -1
- package/dist/commonjs/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js +1 -1
- package/dist/commonjs/funcs/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js +1 -1
- package/dist/commonjs/funcs/schemasListTenantDestinationTypes.js.map +1 -1
- package/dist/commonjs/funcs/tenantsDelete.js +1 -1
- package/dist/commonjs/funcs/tenantsDelete.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGet.js +1 -1
- package/dist/commonjs/funcs/tenantsGet.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js +1 -1
- package/dist/commonjs/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.js +1 -1
- package/dist/commonjs/funcs/tenantsGetToken.js.map +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.js +1 -1
- package/dist/commonjs/funcs/tenantsUpsert.js.map +1 -1
- package/dist/commonjs/funcs/topicsList.js +1 -1
- package/dist/commonjs/funcs/topicsList.js.map +1 -1
- package/dist/commonjs/funcs/topicsListJwt.js +1 -1
- package/dist/commonjs/funcs/topicsListJwt.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- 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.map +1 -1
- package/dist/commonjs/lib/url.js +1 -1
- package/dist/commonjs/lib/url.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.js +1 -1
- package/dist/commonjs/mcp-server/tools/eventsListByDestination.js.map +1 -1
- package/dist/commonjs/models/components/awss3config.d.ts +47 -0
- package/dist/commonjs/models/components/awss3config.d.ts.map +1 -0
- package/dist/commonjs/models/components/awss3config.js +86 -0
- package/dist/commonjs/models/components/awss3config.js.map +1 -0
- package/dist/commonjs/models/components/awss3credentials.d.ts +42 -0
- package/dist/commonjs/models/components/awss3credentials.d.ts.map +1 -0
- package/dist/commonjs/models/components/awss3credentials.js +73 -0
- package/dist/commonjs/models/components/awss3credentials.js.map +1 -0
- package/dist/commonjs/models/components/deliveryattempt.d.ts +8 -8
- package/dist/commonjs/models/components/deliveryattempt.d.ts.map +1 -1
- package/dist/commonjs/models/components/deliveryattempt.js +13 -14
- package/dist/commonjs/models/components/deliveryattempt.js.map +1 -1
- package/dist/commonjs/models/components/destination.d.ts +10 -0
- package/dist/commonjs/models/components/destination.d.ts.map +1 -1
- package/dist/commonjs/models/components/destination.js +14 -0
- package/dist/commonjs/models/components/destination.js.map +1 -1
- package/dist/commonjs/models/components/destinationawss3.d.ts +98 -0
- package/dist/commonjs/models/components/destinationawss3.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationawss3.js +122 -0
- package/dist/commonjs/models/components/destinationawss3.js.map +1 -0
- package/dist/commonjs/models/components/destinationcreate.d.ts +10 -0
- package/dist/commonjs/models/components/destinationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/destinationcreate.js +14 -0
- package/dist/commonjs/models/components/destinationcreate.js.map +1 -1
- package/dist/commonjs/models/components/destinationcreateawss3.d.ts +78 -0
- package/dist/commonjs/models/components/destinationcreateawss3.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationcreateawss3.js +101 -0
- package/dist/commonjs/models/components/destinationcreateawss3.js.map +1 -0
- package/dist/commonjs/models/components/destinationcreategcppubsub.d.ts +78 -0
- package/dist/commonjs/models/components/destinationcreategcppubsub.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationcreategcppubsub.js +101 -0
- package/dist/commonjs/models/components/destinationcreategcppubsub.js.map +1 -0
- package/dist/commonjs/models/components/destinationgcppubsub.d.ts +98 -0
- package/dist/commonjs/models/components/destinationgcppubsub.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationgcppubsub.js +122 -0
- package/dist/commonjs/models/components/destinationgcppubsub.js.map +1 -0
- package/dist/commonjs/models/components/destinationupdate.d.ts +5 -2
- package/dist/commonjs/models/components/destinationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/destinationupdate.js +9 -0
- package/dist/commonjs/models/components/destinationupdate.js.map +1 -1
- package/dist/commonjs/models/components/destinationupdateawss3.d.ts +39 -0
- package/dist/commonjs/models/components/destinationupdateawss3.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationupdateawss3.js +76 -0
- package/dist/commonjs/models/components/destinationupdateawss3.js.map +1 -0
- package/dist/commonjs/models/components/destinationupdateazureservicebus.d.ts +39 -0
- package/dist/commonjs/models/components/destinationupdateazureservicebus.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationupdateazureservicebus.js +76 -0
- package/dist/commonjs/models/components/destinationupdateazureservicebus.js.map +1 -0
- package/dist/commonjs/models/components/destinationupdategcppubsub.d.ts +39 -0
- package/dist/commonjs/models/components/destinationupdategcppubsub.d.ts.map +1 -0
- package/dist/commonjs/models/components/destinationupdategcppubsub.js +76 -0
- package/dist/commonjs/models/components/destinationupdategcppubsub.js.map +1 -0
- package/dist/commonjs/models/components/event.d.ts +30 -2
- package/dist/commonjs/models/components/event.d.ts.map +1 -1
- package/dist/commonjs/models/components/event.js +25 -3
- package/dist/commonjs/models/components/event.js.map +1 -1
- package/dist/commonjs/models/components/gcppubsubconfig.d.ts +42 -0
- package/dist/commonjs/models/components/gcppubsubconfig.d.ts.map +1 -0
- package/dist/commonjs/models/components/gcppubsubconfig.js +82 -0
- package/dist/commonjs/models/components/gcppubsubconfig.js.map +1 -0
- package/dist/commonjs/models/components/gcppubsubcredentials.d.ts +32 -0
- package/dist/commonjs/models/components/gcppubsubcredentials.d.ts.map +1 -0
- package/dist/commonjs/models/components/gcppubsubcredentials.js +78 -0
- package/dist/commonjs/models/components/gcppubsubcredentials.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +11 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +11 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts +3 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getdestinationtypeschema.js +1 -0
- package/dist/commonjs/models/operations/getdestinationtypeschema.js.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts +3 -0
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.d.ts.map +1 -1
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js +1 -0
- package/dist/commonjs/models/operations/gettenantdestinationtypeschema.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts +18 -0
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.js +6 -0
- package/dist/commonjs/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/commonjs/models/operations/listtenantevents.d.ts +94 -0
- package/dist/commonjs/models/operations/listtenantevents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantevents.js +92 -1
- package/dist/commonjs/models/operations/listtenantevents.js.map +1 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts +94 -0
- package/dist/commonjs/models/operations/listtenanteventsbydestination.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.js +92 -1
- package/dist/commonjs/models/operations/listtenanteventsbydestination.js.map +1 -1
- package/dist/commonjs/sdk/events.d.ts +7 -2
- package/dist/commonjs/sdk/events.d.ts.map +1 -1
- package/dist/commonjs/sdk/events.js +3 -2
- package/dist/commonjs/sdk/events.js.map +1 -1
- package/dist/esm/funcs/destinationsCreate.js +1 -1
- package/dist/esm/funcs/destinationsCreate.js.map +1 -1
- package/dist/esm/funcs/destinationsDelete.js +1 -1
- package/dist/esm/funcs/destinationsDelete.js.map +1 -1
- package/dist/esm/funcs/destinationsDisable.js +1 -1
- package/dist/esm/funcs/destinationsDisable.js.map +1 -1
- package/dist/esm/funcs/destinationsEnable.js +1 -1
- package/dist/esm/funcs/destinationsEnable.js.map +1 -1
- package/dist/esm/funcs/destinationsGet.js +1 -1
- package/dist/esm/funcs/destinationsGet.js.map +1 -1
- package/dist/esm/funcs/destinationsList.js +1 -1
- package/dist/esm/funcs/destinationsList.js.map +1 -1
- package/dist/esm/funcs/destinationsUpdate.js +1 -1
- package/dist/esm/funcs/destinationsUpdate.js.map +1 -1
- package/dist/esm/funcs/eventsGet.js +1 -1
- package/dist/esm/funcs/eventsGet.js.map +1 -1
- package/dist/esm/funcs/eventsGetByDestination.js +1 -1
- package/dist/esm/funcs/eventsGetByDestination.js.map +1 -1
- package/dist/esm/funcs/eventsList.d.ts +4 -2
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +47 -9
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/eventsListByDestination.d.ts +4 -2
- package/dist/esm/funcs/eventsListByDestination.d.ts.map +1 -1
- package/dist/esm/funcs/eventsListByDestination.js +45 -9
- package/dist/esm/funcs/eventsListByDestination.js.map +1 -1
- package/dist/esm/funcs/eventsListDeliveries.js +1 -1
- package/dist/esm/funcs/eventsListDeliveries.js.map +1 -1
- package/dist/esm/funcs/eventsRetry.js +1 -1
- package/dist/esm/funcs/eventsRetry.js.map +1 -1
- package/dist/esm/funcs/healthCheck.js +1 -1
- package/dist/esm/funcs/healthCheck.js.map +1 -1
- package/dist/esm/funcs/publishEvent.js +1 -1
- package/dist/esm/funcs/publishEvent.js.map +1 -1
- package/dist/esm/funcs/schemasGet.js +1 -1
- package/dist/esm/funcs/schemasGet.js.map +1 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.js +1 -1
- package/dist/esm/funcs/schemasGetDestinationTypeJwt.js.map +1 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js +1 -1
- package/dist/esm/funcs/schemasListDestinationTypesJwt.js.map +1 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.js +1 -1
- package/dist/esm/funcs/schemasListTenantDestinationTypes.js.map +1 -1
- package/dist/esm/funcs/tenantsDelete.js +1 -1
- package/dist/esm/funcs/tenantsDelete.js.map +1 -1
- package/dist/esm/funcs/tenantsGet.js +1 -1
- package/dist/esm/funcs/tenantsGet.js.map +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.js +1 -1
- package/dist/esm/funcs/tenantsGetPortalUrl.js.map +1 -1
- package/dist/esm/funcs/tenantsGetToken.js +1 -1
- package/dist/esm/funcs/tenantsGetToken.js.map +1 -1
- package/dist/esm/funcs/tenantsUpsert.js +1 -1
- package/dist/esm/funcs/tenantsUpsert.js.map +1 -1
- package/dist/esm/funcs/topicsList.js +1 -1
- package/dist/esm/funcs/topicsList.js.map +1 -1
- package/dist/esm/funcs/topicsListJwt.js +1 -1
- package/dist/esm/funcs/topicsListJwt.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- 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.map +1 -1
- package/dist/esm/lib/url.js +1 -1
- package/dist/esm/lib/url.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/eventsList.js +1 -1
- package/dist/esm/mcp-server/tools/eventsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/eventsListByDestination.js +1 -1
- package/dist/esm/mcp-server/tools/eventsListByDestination.js.map +1 -1
- package/dist/esm/models/components/awss3config.d.ts +47 -0
- package/dist/esm/models/components/awss3config.d.ts.map +1 -0
- package/dist/esm/models/components/awss3config.js +48 -0
- package/dist/esm/models/components/awss3config.js.map +1 -0
- package/dist/esm/models/components/awss3credentials.d.ts +42 -0
- package/dist/esm/models/components/awss3credentials.d.ts.map +1 -0
- package/dist/esm/models/components/awss3credentials.js +35 -0
- package/dist/esm/models/components/awss3credentials.js.map +1 -0
- package/dist/esm/models/components/deliveryattempt.d.ts +8 -8
- package/dist/esm/models/components/deliveryattempt.d.ts.map +1 -1
- package/dist/esm/models/components/deliveryattempt.js +12 -13
- package/dist/esm/models/components/deliveryattempt.js.map +1 -1
- package/dist/esm/models/components/destination.d.ts +10 -0
- package/dist/esm/models/components/destination.d.ts.map +1 -1
- package/dist/esm/models/components/destination.js +14 -0
- package/dist/esm/models/components/destination.js.map +1 -1
- package/dist/esm/models/components/destinationawss3.d.ts +98 -0
- package/dist/esm/models/components/destinationawss3.d.ts.map +1 -0
- package/dist/esm/models/components/destinationawss3.js +84 -0
- package/dist/esm/models/components/destinationawss3.js.map +1 -0
- package/dist/esm/models/components/destinationcreate.d.ts +10 -0
- package/dist/esm/models/components/destinationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/destinationcreate.js +14 -0
- package/dist/esm/models/components/destinationcreate.js.map +1 -1
- package/dist/esm/models/components/destinationcreateawss3.d.ts +78 -0
- package/dist/esm/models/components/destinationcreateawss3.d.ts.map +1 -0
- package/dist/esm/models/components/destinationcreateawss3.js +63 -0
- package/dist/esm/models/components/destinationcreateawss3.js.map +1 -0
- package/dist/esm/models/components/destinationcreategcppubsub.d.ts +78 -0
- package/dist/esm/models/components/destinationcreategcppubsub.d.ts.map +1 -0
- package/dist/esm/models/components/destinationcreategcppubsub.js +63 -0
- package/dist/esm/models/components/destinationcreategcppubsub.js.map +1 -0
- package/dist/esm/models/components/destinationgcppubsub.d.ts +98 -0
- package/dist/esm/models/components/destinationgcppubsub.d.ts.map +1 -0
- package/dist/esm/models/components/destinationgcppubsub.js +84 -0
- package/dist/esm/models/components/destinationgcppubsub.js.map +1 -0
- package/dist/esm/models/components/destinationupdate.d.ts +5 -2
- package/dist/esm/models/components/destinationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/destinationupdate.js +9 -0
- package/dist/esm/models/components/destinationupdate.js.map +1 -1
- package/dist/esm/models/components/destinationupdateawss3.d.ts +39 -0
- package/dist/esm/models/components/destinationupdateawss3.d.ts.map +1 -0
- package/dist/esm/models/components/destinationupdateawss3.js +38 -0
- package/dist/esm/models/components/destinationupdateawss3.js.map +1 -0
- package/dist/esm/models/components/destinationupdateazureservicebus.d.ts +39 -0
- package/dist/esm/models/components/destinationupdateazureservicebus.d.ts.map +1 -0
- package/dist/esm/models/components/destinationupdateazureservicebus.js +38 -0
- package/dist/esm/models/components/destinationupdateazureservicebus.js.map +1 -0
- package/dist/esm/models/components/destinationupdategcppubsub.d.ts +39 -0
- package/dist/esm/models/components/destinationupdategcppubsub.d.ts.map +1 -0
- package/dist/esm/models/components/destinationupdategcppubsub.js +38 -0
- package/dist/esm/models/components/destinationupdategcppubsub.js.map +1 -0
- package/dist/esm/models/components/event.d.ts +30 -2
- package/dist/esm/models/components/event.d.ts.map +1 -1
- package/dist/esm/models/components/event.js +24 -2
- package/dist/esm/models/components/event.js.map +1 -1
- package/dist/esm/models/components/gcppubsubconfig.d.ts +42 -0
- package/dist/esm/models/components/gcppubsubconfig.d.ts.map +1 -0
- package/dist/esm/models/components/gcppubsubconfig.js +44 -0
- package/dist/esm/models/components/gcppubsubconfig.js.map +1 -0
- package/dist/esm/models/components/gcppubsubcredentials.d.ts +32 -0
- package/dist/esm/models/components/gcppubsubcredentials.d.ts.map +1 -0
- package/dist/esm/models/components/gcppubsubcredentials.js +40 -0
- package/dist/esm/models/components/gcppubsubcredentials.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +11 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +11 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts +3 -0
- package/dist/esm/models/operations/getdestinationtypeschema.d.ts.map +1 -1
- package/dist/esm/models/operations/getdestinationtypeschema.js +1 -0
- package/dist/esm/models/operations/getdestinationtypeschema.js.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts +3 -0
- package/dist/esm/models/operations/gettenantdestinationtypeschema.d.ts.map +1 -1
- package/dist/esm/models/operations/gettenantdestinationtypeschema.js +1 -0
- package/dist/esm/models/operations/gettenantdestinationtypeschema.js.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.d.ts +18 -0
- package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.js +6 -0
- package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
- package/dist/esm/models/operations/listtenantevents.d.ts +94 -0
- package/dist/esm/models/operations/listtenantevents.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantevents.js +87 -0
- package/dist/esm/models/operations/listtenantevents.js.map +1 -1
- package/dist/esm/models/operations/listtenanteventsbydestination.d.ts +94 -0
- package/dist/esm/models/operations/listtenanteventsbydestination.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenanteventsbydestination.js +87 -0
- package/dist/esm/models/operations/listtenanteventsbydestination.js.map +1 -1
- package/dist/esm/sdk/events.d.ts +7 -2
- package/dist/esm/sdk/events.d.ts.map +1 -1
- package/dist/esm/sdk/events.js +3 -2
- package/dist/esm/sdk/events.js.map +1 -1
- package/docs/sdks/events/README.md +14 -6
- package/examples/healthCheck.example.ts +2 -2
- package/examples/package-lock.json +3 -3
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/destinationsCreate.ts +1 -1
- package/src/funcs/destinationsDelete.ts +1 -1
- package/src/funcs/destinationsDisable.ts +1 -1
- package/src/funcs/destinationsEnable.ts +1 -1
- package/src/funcs/destinationsGet.ts +1 -1
- package/src/funcs/destinationsList.ts +1 -1
- package/src/funcs/destinationsUpdate.ts +1 -1
- package/src/funcs/eventsGet.ts +1 -1
- package/src/funcs/eventsGetByDestination.ts +1 -1
- package/src/funcs/eventsList.ts +123 -43
- package/src/funcs/eventsListByDestination.ts +125 -43
- package/src/funcs/eventsListDeliveries.ts +1 -1
- package/src/funcs/eventsRetry.ts +1 -1
- package/src/funcs/healthCheck.ts +1 -1
- package/src/funcs/publishEvent.ts +1 -1
- package/src/funcs/schemasGet.ts +1 -1
- package/src/funcs/schemasGetDestinationTypeJwt.ts +1 -1
- package/src/funcs/schemasListDestinationTypesJwt.ts +1 -1
- package/src/funcs/schemasListTenantDestinationTypes.ts +1 -1
- package/src/funcs/tenantsDelete.ts +1 -1
- package/src/funcs/tenantsGet.ts +1 -1
- package/src/funcs/tenantsGetPortalUrl.ts +1 -1
- package/src/funcs/tenantsGetToken.ts +1 -1
- package/src/funcs/tenantsUpsert.ts +1 -1
- package/src/funcs/topicsList.ts +1 -1
- package/src/funcs/topicsListJwt.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +4 -1
- package/src/lib/url.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/eventsList.ts +1 -1
- package/src/mcp-server/tools/eventsListByDestination.ts +1 -1
- package/src/models/components/awss3config.ts +97 -0
- package/src/models/components/awss3credentials.ts +83 -0
- package/src/models/components/deliveryattempt.ts +16 -14
- package/src/models/components/destination.ts +36 -0
- package/src/models/components/destinationawss3.ts +185 -0
- package/src/models/components/destinationcreate.ts +36 -0
- package/src/models/components/destinationcreateawss3.ts +144 -0
- package/src/models/components/destinationcreategcppubsub.ts +144 -0
- package/src/models/components/destinationgcppubsub.ts +187 -0
- package/src/models/components/destinationupdate.ts +32 -2
- package/src/models/components/destinationupdateawss3.ts +95 -0
- package/src/models/components/destinationupdateazureservicebus.ts +97 -0
- package/src/models/components/destinationupdategcppubsub.ts +95 -0
- package/src/models/components/event.ts +34 -4
- package/src/models/components/gcppubsubconfig.ts +90 -0
- package/src/models/components/gcppubsubcredentials.ts +78 -0
- package/src/models/components/index.ts +11 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/getdestinationtypeschema.ts +1 -0
- package/src/models/operations/gettenantdestinationtypeschema.ts +1 -0
- package/src/models/operations/listtenantdestinations.ts +6 -0
- package/src/models/operations/listtenantevents.ts +198 -0
- package/src/models/operations/listtenanteventsbydestination.ts +215 -0
- package/src/sdk/events.ts +12 -4
- package/docs/sdks/outpost/README.md +0 -7
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { GCPPubSubConfig, GCPPubSubConfig$Outbound } from "./gcppubsubconfig.js";
|
|
6
|
+
import { GCPPubSubCredentials, GCPPubSubCredentials$Outbound } from "./gcppubsubcredentials.js";
|
|
7
|
+
import { Topics, Topics$Outbound } from "./topics.js";
|
|
8
|
+
/**
|
|
9
|
+
* Type of the destination. Must be 'gcp_pubsub'.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DestinationCreateGCPPubSubType: {
|
|
12
|
+
readonly GcpPubsub: "gcp_pubsub";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Type of the destination. Must be 'gcp_pubsub'.
|
|
16
|
+
*/
|
|
17
|
+
export type DestinationCreateGCPPubSubType = ClosedEnum<typeof DestinationCreateGCPPubSubType>;
|
|
18
|
+
export type DestinationCreateGCPPubSub = {
|
|
19
|
+
/**
|
|
20
|
+
* Optional user-provided ID. A UUID will be generated if empty.
|
|
21
|
+
*/
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Type of the destination. Must be 'gcp_pubsub'.
|
|
25
|
+
*/
|
|
26
|
+
type: DestinationCreateGCPPubSubType;
|
|
27
|
+
/**
|
|
28
|
+
* "*" or an array of enabled topics.
|
|
29
|
+
*/
|
|
30
|
+
topics: Topics;
|
|
31
|
+
config: GCPPubSubConfig;
|
|
32
|
+
credentials: GCPPubSubCredentials;
|
|
33
|
+
};
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare const DestinationCreateGCPPubSubType$inboundSchema: z.ZodNativeEnum<typeof DestinationCreateGCPPubSubType>;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const DestinationCreateGCPPubSubType$outboundSchema: z.ZodNativeEnum<typeof DestinationCreateGCPPubSubType>;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
+
*/
|
|
42
|
+
export declare namespace DestinationCreateGCPPubSubType$ {
|
|
43
|
+
/** @deprecated use `DestinationCreateGCPPubSubType$inboundSchema` instead. */
|
|
44
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
45
|
+
readonly GcpPubsub: "gcp_pubsub";
|
|
46
|
+
}>;
|
|
47
|
+
/** @deprecated use `DestinationCreateGCPPubSubType$outboundSchema` instead. */
|
|
48
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
49
|
+
readonly GcpPubsub: "gcp_pubsub";
|
|
50
|
+
}>;
|
|
51
|
+
}
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const DestinationCreateGCPPubSub$inboundSchema: z.ZodType<DestinationCreateGCPPubSub, z.ZodTypeDef, unknown>;
|
|
54
|
+
/** @internal */
|
|
55
|
+
export type DestinationCreateGCPPubSub$Outbound = {
|
|
56
|
+
id?: string | undefined;
|
|
57
|
+
type: string;
|
|
58
|
+
topics: Topics$Outbound;
|
|
59
|
+
config: GCPPubSubConfig$Outbound;
|
|
60
|
+
credentials: GCPPubSubCredentials$Outbound;
|
|
61
|
+
};
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const DestinationCreateGCPPubSub$outboundSchema: z.ZodType<DestinationCreateGCPPubSub$Outbound, z.ZodTypeDef, DestinationCreateGCPPubSub>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
export declare namespace DestinationCreateGCPPubSub$ {
|
|
69
|
+
/** @deprecated use `DestinationCreateGCPPubSub$inboundSchema` instead. */
|
|
70
|
+
const inboundSchema: z.ZodType<DestinationCreateGCPPubSub, z.ZodTypeDef, unknown>;
|
|
71
|
+
/** @deprecated use `DestinationCreateGCPPubSub$outboundSchema` instead. */
|
|
72
|
+
const outboundSchema: z.ZodType<DestinationCreateGCPPubSub$Outbound, z.ZodTypeDef, DestinationCreateGCPPubSub>;
|
|
73
|
+
/** @deprecated use `DestinationCreateGCPPubSub$Outbound` instead. */
|
|
74
|
+
type Outbound = DestinationCreateGCPPubSub$Outbound;
|
|
75
|
+
}
|
|
76
|
+
export declare function destinationCreateGCPPubSubToJSON(destinationCreateGCPPubSub: DestinationCreateGCPPubSub): string;
|
|
77
|
+
export declare function destinationCreateGCPPubSubFromJSON(jsonString: string): SafeParseResult<DestinationCreateGCPPubSub, SDKValidationError>;
|
|
78
|
+
//# sourceMappingURL=destinationcreategcppubsub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationcreategcppubsub.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationcreategcppubsub.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,oBAAoB,EAEpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB;;GAEG;AACH,eAAO,MAAM,8BAA8B;;CAEjC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,eAAe,CAAC;IACxB,WAAW,EAAE,oBAAoB,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,8BAA8B,CACS,CAAC;AAEjD,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,8BAA8B,CACS,CAAC;AAEjD;;;GAGG;AACH,yBAAiB,+BAA+B,CAAC;IAC/C,8EAA8E;IACvE,MAAM,aAAa;;MAA+C,CAAC;IAC1E,+EAA+E;IACxE,MAAM,cAAc;;MAAgD,CAAC;CAC7E;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,eAAe,CAAC;IACxB,MAAM,EAAE,wBAAwB,CAAC;IACjC,WAAW,EAAE,6BAA6B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAO1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DestinationCreateGCPPubSub$ = exports.DestinationCreateGCPPubSub$outboundSchema = exports.DestinationCreateGCPPubSub$inboundSchema = exports.DestinationCreateGCPPubSubType$ = exports.DestinationCreateGCPPubSubType$outboundSchema = exports.DestinationCreateGCPPubSubType$inboundSchema = exports.DestinationCreateGCPPubSubType = void 0;
|
|
40
|
+
exports.destinationCreateGCPPubSubToJSON = destinationCreateGCPPubSubToJSON;
|
|
41
|
+
exports.destinationCreateGCPPubSubFromJSON = destinationCreateGCPPubSubFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const gcppubsubconfig_js_1 = require("./gcppubsubconfig.js");
|
|
45
|
+
const gcppubsubcredentials_js_1 = require("./gcppubsubcredentials.js");
|
|
46
|
+
const topics_js_1 = require("./topics.js");
|
|
47
|
+
/**
|
|
48
|
+
* Type of the destination. Must be 'gcp_pubsub'.
|
|
49
|
+
*/
|
|
50
|
+
exports.DestinationCreateGCPPubSubType = {
|
|
51
|
+
GcpPubsub: "gcp_pubsub",
|
|
52
|
+
};
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.DestinationCreateGCPPubSubType$inboundSchema = z.nativeEnum(exports.DestinationCreateGCPPubSubType);
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.DestinationCreateGCPPubSubType$outboundSchema = exports.DestinationCreateGCPPubSubType$inboundSchema;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
60
|
+
*/
|
|
61
|
+
var DestinationCreateGCPPubSubType$;
|
|
62
|
+
(function (DestinationCreateGCPPubSubType$) {
|
|
63
|
+
/** @deprecated use `DestinationCreateGCPPubSubType$inboundSchema` instead. */
|
|
64
|
+
DestinationCreateGCPPubSubType$.inboundSchema = exports.DestinationCreateGCPPubSubType$inboundSchema;
|
|
65
|
+
/** @deprecated use `DestinationCreateGCPPubSubType$outboundSchema` instead. */
|
|
66
|
+
DestinationCreateGCPPubSubType$.outboundSchema = exports.DestinationCreateGCPPubSubType$outboundSchema;
|
|
67
|
+
})(DestinationCreateGCPPubSubType$ || (exports.DestinationCreateGCPPubSubType$ = DestinationCreateGCPPubSubType$ = {}));
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.DestinationCreateGCPPubSub$inboundSchema = z.object({
|
|
70
|
+
id: z.string().optional(),
|
|
71
|
+
type: exports.DestinationCreateGCPPubSubType$inboundSchema,
|
|
72
|
+
topics: topics_js_1.Topics$inboundSchema,
|
|
73
|
+
config: gcppubsubconfig_js_1.GCPPubSubConfig$inboundSchema,
|
|
74
|
+
credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$inboundSchema,
|
|
75
|
+
});
|
|
76
|
+
/** @internal */
|
|
77
|
+
exports.DestinationCreateGCPPubSub$outboundSchema = z.object({
|
|
78
|
+
id: z.string().optional(),
|
|
79
|
+
type: exports.DestinationCreateGCPPubSubType$outboundSchema,
|
|
80
|
+
topics: topics_js_1.Topics$outboundSchema,
|
|
81
|
+
config: gcppubsubconfig_js_1.GCPPubSubConfig$outboundSchema,
|
|
82
|
+
credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$outboundSchema,
|
|
83
|
+
});
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
var DestinationCreateGCPPubSub$;
|
|
89
|
+
(function (DestinationCreateGCPPubSub$) {
|
|
90
|
+
/** @deprecated use `DestinationCreateGCPPubSub$inboundSchema` instead. */
|
|
91
|
+
DestinationCreateGCPPubSub$.inboundSchema = exports.DestinationCreateGCPPubSub$inboundSchema;
|
|
92
|
+
/** @deprecated use `DestinationCreateGCPPubSub$outboundSchema` instead. */
|
|
93
|
+
DestinationCreateGCPPubSub$.outboundSchema = exports.DestinationCreateGCPPubSub$outboundSchema;
|
|
94
|
+
})(DestinationCreateGCPPubSub$ || (exports.DestinationCreateGCPPubSub$ = DestinationCreateGCPPubSub$ = {}));
|
|
95
|
+
function destinationCreateGCPPubSubToJSON(destinationCreateGCPPubSub) {
|
|
96
|
+
return JSON.stringify(exports.DestinationCreateGCPPubSub$outboundSchema.parse(destinationCreateGCPPubSub));
|
|
97
|
+
}
|
|
98
|
+
function destinationCreateGCPPubSubFromJSON(jsonString) {
|
|
99
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DestinationCreateGCPPubSub$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DestinationCreateGCPPubSub' from JSON`);
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=destinationcreategcppubsub.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationcreategcppubsub.js","sourceRoot":"","sources":["../../../../src/models/components/destinationcreategcppubsub.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HH,4EAMC;AAED,gFAQC;AA3ID,uCAAyB;AACzB,qDAAiD;AAIjD,6DAK8B;AAC9B,uEAKmC;AACnC,2CAKqB;AAErB;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC5C,SAAS,EAAE,YAAY;CACf,CAAC;AAyBX,gBAAgB;AACH,QAAA,4CAA4C,GAErD,CAAC,CAAC,UAAU,CAAC,sCAA8B,CAAC,CAAC;AAEjD,gBAAgB;AACH,QAAA,6CAA6C,GAEtD,oDAA4C,CAAC;AAEjD;;;GAGG;AACH,IAAiB,+BAA+B,CAK/C;AALD,WAAiB,+BAA+B;IAC9C,8EAA8E;IACjE,6CAAa,GAAG,oDAA4C,CAAC;IAC1E,+EAA+E;IAClE,8CAAc,GAAG,qDAA6C,CAAC;AAC9E,CAAC,EALgB,+BAA+B,+CAA/B,+BAA+B,QAK/C;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,oDAA4C;IAClD,MAAM,EAAE,gCAAoB;IAC5B,MAAM,EAAE,kDAA6B;IACrC,WAAW,EAAE,4DAAkC;CAChD,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,IAAI,EAAE,qDAA6C;IACnD,MAAM,EAAE,iCAAqB;IAC7B,MAAM,EAAE,mDAA8B;IACtC,WAAW,EAAE,6DAAmC;CACjD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { GCPPubSubConfig, GCPPubSubConfig$Outbound } from "./gcppubsubconfig.js";
|
|
6
|
+
import { GCPPubSubCredentials, GCPPubSubCredentials$Outbound } from "./gcppubsubcredentials.js";
|
|
7
|
+
import { Topics, Topics$Outbound } from "./topics.js";
|
|
8
|
+
/**
|
|
9
|
+
* Type of the destination.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DestinationGCPPubSubType: {
|
|
12
|
+
readonly GcpPubsub: "gcp_pubsub";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Type of the destination.
|
|
16
|
+
*/
|
|
17
|
+
export type DestinationGCPPubSubType = ClosedEnum<typeof DestinationGCPPubSubType>;
|
|
18
|
+
export type DestinationGCPPubSub = {
|
|
19
|
+
/**
|
|
20
|
+
* Control plane generated ID or user provided ID for the destination.
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Type of the destination.
|
|
25
|
+
*/
|
|
26
|
+
type: DestinationGCPPubSubType;
|
|
27
|
+
/**
|
|
28
|
+
* "*" or an array of enabled topics.
|
|
29
|
+
*/
|
|
30
|
+
topics: Topics;
|
|
31
|
+
/**
|
|
32
|
+
* ISO Date when the destination was disabled, or null if enabled.
|
|
33
|
+
*/
|
|
34
|
+
disabledAt: Date | null;
|
|
35
|
+
/**
|
|
36
|
+
* ISO Date when the destination was created.
|
|
37
|
+
*/
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
config: GCPPubSubConfig;
|
|
40
|
+
credentials: GCPPubSubCredentials;
|
|
41
|
+
/**
|
|
42
|
+
* A human-readable representation of the destination target (project/topic). Read-only.
|
|
43
|
+
*/
|
|
44
|
+
target?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* A URL link to the destination target (GCP Console link to the topic). Read-only.
|
|
47
|
+
*/
|
|
48
|
+
targetUrl?: string | null | undefined;
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
export declare const DestinationGCPPubSubType$inboundSchema: z.ZodNativeEnum<typeof DestinationGCPPubSubType>;
|
|
52
|
+
/** @internal */
|
|
53
|
+
export declare const DestinationGCPPubSubType$outboundSchema: z.ZodNativeEnum<typeof DestinationGCPPubSubType>;
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
export declare namespace DestinationGCPPubSubType$ {
|
|
59
|
+
/** @deprecated use `DestinationGCPPubSubType$inboundSchema` instead. */
|
|
60
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
61
|
+
readonly GcpPubsub: "gcp_pubsub";
|
|
62
|
+
}>;
|
|
63
|
+
/** @deprecated use `DestinationGCPPubSubType$outboundSchema` instead. */
|
|
64
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
65
|
+
readonly GcpPubsub: "gcp_pubsub";
|
|
66
|
+
}>;
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
export declare const DestinationGCPPubSub$inboundSchema: z.ZodType<DestinationGCPPubSub, z.ZodTypeDef, unknown>;
|
|
70
|
+
/** @internal */
|
|
71
|
+
export type DestinationGCPPubSub$Outbound = {
|
|
72
|
+
id: string;
|
|
73
|
+
type: string;
|
|
74
|
+
topics: Topics$Outbound;
|
|
75
|
+
disabled_at: string | null;
|
|
76
|
+
created_at: string;
|
|
77
|
+
config: GCPPubSubConfig$Outbound;
|
|
78
|
+
credentials: GCPPubSubCredentials$Outbound;
|
|
79
|
+
target?: string | undefined;
|
|
80
|
+
target_url?: string | null | undefined;
|
|
81
|
+
};
|
|
82
|
+
/** @internal */
|
|
83
|
+
export declare const DestinationGCPPubSub$outboundSchema: z.ZodType<DestinationGCPPubSub$Outbound, z.ZodTypeDef, DestinationGCPPubSub>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
export declare namespace DestinationGCPPubSub$ {
|
|
89
|
+
/** @deprecated use `DestinationGCPPubSub$inboundSchema` instead. */
|
|
90
|
+
const inboundSchema: z.ZodType<DestinationGCPPubSub, z.ZodTypeDef, unknown>;
|
|
91
|
+
/** @deprecated use `DestinationGCPPubSub$outboundSchema` instead. */
|
|
92
|
+
const outboundSchema: z.ZodType<DestinationGCPPubSub$Outbound, z.ZodTypeDef, DestinationGCPPubSub>;
|
|
93
|
+
/** @deprecated use `DestinationGCPPubSub$Outbound` instead. */
|
|
94
|
+
type Outbound = DestinationGCPPubSub$Outbound;
|
|
95
|
+
}
|
|
96
|
+
export declare function destinationGCPPubSubToJSON(destinationGCPPubSub: DestinationGCPPubSub): string;
|
|
97
|
+
export declare function destinationGCPPubSubFromJSON(jsonString: string): SafeParseResult<DestinationGCPPubSub, SDKValidationError>;
|
|
98
|
+
//# sourceMappingURL=destinationgcppubsub.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationgcppubsub.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationgcppubsub.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DestinationGCPPubSub$ = exports.DestinationGCPPubSub$outboundSchema = exports.DestinationGCPPubSub$inboundSchema = exports.DestinationGCPPubSubType$ = exports.DestinationGCPPubSubType$outboundSchema = exports.DestinationGCPPubSubType$inboundSchema = exports.DestinationGCPPubSubType = void 0;
|
|
40
|
+
exports.destinationGCPPubSubToJSON = destinationGCPPubSubToJSON;
|
|
41
|
+
exports.destinationGCPPubSubFromJSON = destinationGCPPubSubFromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
45
|
+
const gcppubsubconfig_js_1 = require("./gcppubsubconfig.js");
|
|
46
|
+
const gcppubsubcredentials_js_1 = require("./gcppubsubcredentials.js");
|
|
47
|
+
const topics_js_1 = require("./topics.js");
|
|
48
|
+
/**
|
|
49
|
+
* Type of the destination.
|
|
50
|
+
*/
|
|
51
|
+
exports.DestinationGCPPubSubType = {
|
|
52
|
+
GcpPubsub: "gcp_pubsub",
|
|
53
|
+
};
|
|
54
|
+
/** @internal */
|
|
55
|
+
exports.DestinationGCPPubSubType$inboundSchema = z.nativeEnum(exports.DestinationGCPPubSubType);
|
|
56
|
+
/** @internal */
|
|
57
|
+
exports.DestinationGCPPubSubType$outboundSchema = exports.DestinationGCPPubSubType$inboundSchema;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
61
|
+
*/
|
|
62
|
+
var DestinationGCPPubSubType$;
|
|
63
|
+
(function (DestinationGCPPubSubType$) {
|
|
64
|
+
/** @deprecated use `DestinationGCPPubSubType$inboundSchema` instead. */
|
|
65
|
+
DestinationGCPPubSubType$.inboundSchema = exports.DestinationGCPPubSubType$inboundSchema;
|
|
66
|
+
/** @deprecated use `DestinationGCPPubSubType$outboundSchema` instead. */
|
|
67
|
+
DestinationGCPPubSubType$.outboundSchema = exports.DestinationGCPPubSubType$outboundSchema;
|
|
68
|
+
})(DestinationGCPPubSubType$ || (exports.DestinationGCPPubSubType$ = DestinationGCPPubSubType$ = {}));
|
|
69
|
+
/** @internal */
|
|
70
|
+
exports.DestinationGCPPubSub$inboundSchema = z.object({
|
|
71
|
+
id: z.string(),
|
|
72
|
+
type: exports.DestinationGCPPubSubType$inboundSchema,
|
|
73
|
+
topics: topics_js_1.Topics$inboundSchema,
|
|
74
|
+
disabled_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
75
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
76
|
+
config: gcppubsubconfig_js_1.GCPPubSubConfig$inboundSchema,
|
|
77
|
+
credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$inboundSchema,
|
|
78
|
+
target: z.string().optional(),
|
|
79
|
+
target_url: z.nullable(z.string()).optional(),
|
|
80
|
+
}).transform((v) => {
|
|
81
|
+
return (0, primitives_js_1.remap)(v, {
|
|
82
|
+
"disabled_at": "disabledAt",
|
|
83
|
+
"created_at": "createdAt",
|
|
84
|
+
"target_url": "targetUrl",
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.DestinationGCPPubSub$outboundSchema = z.object({
|
|
89
|
+
id: z.string(),
|
|
90
|
+
type: exports.DestinationGCPPubSubType$outboundSchema,
|
|
91
|
+
topics: topics_js_1.Topics$outboundSchema,
|
|
92
|
+
disabledAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
93
|
+
createdAt: z.date().transform(v => v.toISOString()),
|
|
94
|
+
config: gcppubsubconfig_js_1.GCPPubSubConfig$outboundSchema,
|
|
95
|
+
credentials: gcppubsubcredentials_js_1.GCPPubSubCredentials$outboundSchema,
|
|
96
|
+
target: z.string().optional(),
|
|
97
|
+
targetUrl: z.nullable(z.string()).optional(),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return (0, primitives_js_1.remap)(v, {
|
|
100
|
+
disabledAt: "disabled_at",
|
|
101
|
+
createdAt: "created_at",
|
|
102
|
+
targetUrl: "target_url",
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
108
|
+
*/
|
|
109
|
+
var DestinationGCPPubSub$;
|
|
110
|
+
(function (DestinationGCPPubSub$) {
|
|
111
|
+
/** @deprecated use `DestinationGCPPubSub$inboundSchema` instead. */
|
|
112
|
+
DestinationGCPPubSub$.inboundSchema = exports.DestinationGCPPubSub$inboundSchema;
|
|
113
|
+
/** @deprecated use `DestinationGCPPubSub$outboundSchema` instead. */
|
|
114
|
+
DestinationGCPPubSub$.outboundSchema = exports.DestinationGCPPubSub$outboundSchema;
|
|
115
|
+
})(DestinationGCPPubSub$ || (exports.DestinationGCPPubSub$ = DestinationGCPPubSub$ = {}));
|
|
116
|
+
function destinationGCPPubSubToJSON(destinationGCPPubSub) {
|
|
117
|
+
return JSON.stringify(exports.DestinationGCPPubSub$outboundSchema.parse(destinationGCPPubSub));
|
|
118
|
+
}
|
|
119
|
+
function destinationGCPPubSubFromJSON(jsonString) {
|
|
120
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DestinationGCPPubSub$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DestinationGCPPubSub' from JSON`);
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=destinationgcppubsub.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationgcppubsub.js","sourceRoot":"","sources":["../../../../src/models/components/destinationgcppubsub.ts"],"names":[],"mappings":"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"}
|
|
@@ -2,15 +2,18 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { DestinationUpdateAWSKinesis, DestinationUpdateAWSKinesis$Outbound } from "./destinationupdateawskinesis.js";
|
|
5
|
+
import { DestinationUpdateAwss3, DestinationUpdateAwss3$Outbound } from "./destinationupdateawss3.js";
|
|
5
6
|
import { DestinationUpdateAWSSQS, DestinationUpdateAWSSQS$Outbound } from "./destinationupdateawssqs.js";
|
|
7
|
+
import { DestinationUpdateAzureServiceBus, DestinationUpdateAzureServiceBus$Outbound } from "./destinationupdateazureservicebus.js";
|
|
8
|
+
import { DestinationUpdateGCPPubSub, DestinationUpdateGCPPubSub$Outbound } from "./destinationupdategcppubsub.js";
|
|
6
9
|
import { DestinationUpdateHookdeck, DestinationUpdateHookdeck$Outbound } from "./destinationupdatehookdeck.js";
|
|
7
10
|
import { DestinationUpdateRabbitMQ, DestinationUpdateRabbitMQ$Outbound } from "./destinationupdaterabbitmq.js";
|
|
8
11
|
import { DestinationUpdateWebhook, DestinationUpdateWebhook$Outbound } from "./destinationupdatewebhook.js";
|
|
9
|
-
export type DestinationUpdate = DestinationUpdateWebhook | DestinationUpdateAWSSQS | DestinationUpdateRabbitMQ | DestinationUpdateHookdeck | DestinationUpdateAWSKinesis;
|
|
12
|
+
export type DestinationUpdate = DestinationUpdateWebhook | DestinationUpdateAWSSQS | DestinationUpdateRabbitMQ | DestinationUpdateHookdeck | DestinationUpdateAWSKinesis | DestinationUpdateAzureServiceBus | DestinationUpdateAwss3 | DestinationUpdateGCPPubSub;
|
|
10
13
|
/** @internal */
|
|
11
14
|
export declare const DestinationUpdate$inboundSchema: z.ZodType<DestinationUpdate, z.ZodTypeDef, unknown>;
|
|
12
15
|
/** @internal */
|
|
13
|
-
export type DestinationUpdate$Outbound = DestinationUpdateWebhook$Outbound | DestinationUpdateAWSSQS$Outbound | DestinationUpdateRabbitMQ$Outbound | DestinationUpdateHookdeck$Outbound | DestinationUpdateAWSKinesis$Outbound;
|
|
16
|
+
export type DestinationUpdate$Outbound = DestinationUpdateWebhook$Outbound | DestinationUpdateAWSSQS$Outbound | DestinationUpdateRabbitMQ$Outbound | DestinationUpdateHookdeck$Outbound | DestinationUpdateAWSKinesis$Outbound | DestinationUpdateAzureServiceBus$Outbound | DestinationUpdateAwss3$Outbound | DestinationUpdateGCPPubSub$Outbound;
|
|
14
17
|
/** @internal */
|
|
15
18
|
export declare const DestinationUpdate$outboundSchema: z.ZodType<DestinationUpdate$Outbound, z.ZodTypeDef, DestinationUpdate>;
|
|
16
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationupdate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,uBAAuB,GACvB,yBAAyB,GACzB,yBAAyB,GACzB,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"destinationupdate.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,sBAAsB,EAEtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,gCAAgC,EAEhC,yCAAyC,EAE1C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAE1B,mCAAmC,EAEpC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,uBAAuB,GACvB,yBAAyB,GACzB,yBAAyB,GACzB,2BAA2B,GAC3B,gCAAgC,GAChC,sBAAsB,GACtB,0BAA0B,CAAC;AAE/B,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAClC,iCAAiC,GACjC,gCAAgC,GAChC,kCAAkC,GAClC,kCAAkC,GAClC,oCAAoC,GACpC,yCAAyC,GACzC,+BAA+B,GAC/B,mCAAmC,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAUjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -42,7 +42,10 @@ exports.destinationUpdateFromJSON = destinationUpdateFromJSON;
|
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const destinationupdateawskinesis_js_1 = require("./destinationupdateawskinesis.js");
|
|
45
|
+
const destinationupdateawss3_js_1 = require("./destinationupdateawss3.js");
|
|
45
46
|
const destinationupdateawssqs_js_1 = require("./destinationupdateawssqs.js");
|
|
47
|
+
const destinationupdateazureservicebus_js_1 = require("./destinationupdateazureservicebus.js");
|
|
48
|
+
const destinationupdategcppubsub_js_1 = require("./destinationupdategcppubsub.js");
|
|
46
49
|
const destinationupdatehookdeck_js_1 = require("./destinationupdatehookdeck.js");
|
|
47
50
|
const destinationupdaterabbitmq_js_1 = require("./destinationupdaterabbitmq.js");
|
|
48
51
|
const destinationupdatewebhook_js_1 = require("./destinationupdatewebhook.js");
|
|
@@ -53,6 +56,9 @@ exports.DestinationUpdate$inboundSchema = z.union([
|
|
|
53
56
|
destinationupdaterabbitmq_js_1.DestinationUpdateRabbitMQ$inboundSchema,
|
|
54
57
|
destinationupdatehookdeck_js_1.DestinationUpdateHookdeck$inboundSchema,
|
|
55
58
|
destinationupdateawskinesis_js_1.DestinationUpdateAWSKinesis$inboundSchema,
|
|
59
|
+
destinationupdateazureservicebus_js_1.DestinationUpdateAzureServiceBus$inboundSchema,
|
|
60
|
+
destinationupdateawss3_js_1.DestinationUpdateAwss3$inboundSchema,
|
|
61
|
+
destinationupdategcppubsub_js_1.DestinationUpdateGCPPubSub$inboundSchema,
|
|
56
62
|
]);
|
|
57
63
|
/** @internal */
|
|
58
64
|
exports.DestinationUpdate$outboundSchema = z.union([
|
|
@@ -61,6 +67,9 @@ exports.DestinationUpdate$outboundSchema = z.union([
|
|
|
61
67
|
destinationupdaterabbitmq_js_1.DestinationUpdateRabbitMQ$outboundSchema,
|
|
62
68
|
destinationupdatehookdeck_js_1.DestinationUpdateHookdeck$outboundSchema,
|
|
63
69
|
destinationupdateawskinesis_js_1.DestinationUpdateAWSKinesis$outboundSchema,
|
|
70
|
+
destinationupdateazureservicebus_js_1.DestinationUpdateAzureServiceBus$outboundSchema,
|
|
71
|
+
destinationupdateawss3_js_1.DestinationUpdateAwss3$outboundSchema,
|
|
72
|
+
destinationupdategcppubsub_js_1.DestinationUpdateGCPPubSub$outboundSchema,
|
|
64
73
|
]);
|
|
65
74
|
/**
|
|
66
75
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinationupdate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"destinationupdate.js","sourceRoot":"","sources":["../../../../src/models/components/destinationupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyHH,0DAMC;AAED,8DAQC;AAvID,uCAAyB;AACzB,qDAAiD;AAGjD,qFAK0C;AAC1C,2EAKqC;AACrC,6EAKsC;AACtC,+FAK+C;AAC/C,mFAKyC;AACzC,iFAKwC;AACxC,iFAKwC;AACxC,+EAKuC;AAYvC,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,KAAK,CAAC;IACV,oEAAsC;IACtC,kEAAqC;IACrC,sEAAuC;IACvC,sEAAuC;IACvC,0EAAyC;IACzC,oFAA8C;IAC9C,gEAAoC;IACpC,wEAAwC;CACzC,CAAC,CAAC;AAaH,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,KAAK,CAAC;IACV,qEAAuC;IACvC,mEAAsC;IACtC,uEAAwC;IACxC,uEAAwC;IACxC,2EAA0C;IAC1C,qFAA+C;IAC/C,iEAAqC;IACrC,yEAAyC;CAC1C,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACjC,iEAAiE;IACpD,gCAAa,GAAG,uCAA+B,CAAC;IAC7D,kEAAkE;IACrD,iCAAc,GAAG,wCAAgC,CAAC;AAGjE,CAAC,EAPgB,kBAAkB,kCAAlB,kBAAkB,QAOlC;AAED,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC;AAED,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { Awss3Config, Awss3Config$Outbound } from "./awss3config.js";
|
|
5
|
+
import { Awss3Credentials, Awss3Credentials$Outbound } from "./awss3credentials.js";
|
|
6
|
+
import { Topics, Topics$Outbound } from "./topics.js";
|
|
7
|
+
export type DestinationUpdateAwss3 = {
|
|
8
|
+
/**
|
|
9
|
+
* "*" or an array of enabled topics.
|
|
10
|
+
*/
|
|
11
|
+
topics?: Topics | undefined;
|
|
12
|
+
config?: Awss3Config | undefined;
|
|
13
|
+
credentials?: Awss3Credentials | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const DestinationUpdateAwss3$inboundSchema: z.ZodType<DestinationUpdateAwss3, z.ZodTypeDef, unknown>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type DestinationUpdateAwss3$Outbound = {
|
|
19
|
+
topics?: Topics$Outbound | undefined;
|
|
20
|
+
config?: Awss3Config$Outbound | undefined;
|
|
21
|
+
credentials?: Awss3Credentials$Outbound | undefined;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const DestinationUpdateAwss3$outboundSchema: z.ZodType<DestinationUpdateAwss3$Outbound, z.ZodTypeDef, DestinationUpdateAwss3>;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
28
|
+
*/
|
|
29
|
+
export declare namespace DestinationUpdateAwss3$ {
|
|
30
|
+
/** @deprecated use `DestinationUpdateAwss3$inboundSchema` instead. */
|
|
31
|
+
const inboundSchema: z.ZodType<DestinationUpdateAwss3, z.ZodTypeDef, unknown>;
|
|
32
|
+
/** @deprecated use `DestinationUpdateAwss3$outboundSchema` instead. */
|
|
33
|
+
const outboundSchema: z.ZodType<DestinationUpdateAwss3$Outbound, z.ZodTypeDef, DestinationUpdateAwss3>;
|
|
34
|
+
/** @deprecated use `DestinationUpdateAwss3$Outbound` instead. */
|
|
35
|
+
type Outbound = DestinationUpdateAwss3$Outbound;
|
|
36
|
+
}
|
|
37
|
+
export declare function destinationUpdateAwss3ToJSON(destinationUpdateAwss3: DestinationUpdateAwss3): string;
|
|
38
|
+
export declare function destinationUpdateAwss3FromJSON(jsonString: string): SafeParseResult<DestinationUpdateAwss3, SDKValidationError>;
|
|
39
|
+
//# sourceMappingURL=destinationupdateawss3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationupdateawss3.d.ts","sourceRoot":"","sources":["../../../../src/models/components/destinationupdateawss3.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,WAAW,EAEX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACjC,WAAW,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,MAAM,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACrC,MAAM,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAC1C,WAAW,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAC;CACrD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAKtB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DestinationUpdateAwss3$ = exports.DestinationUpdateAwss3$outboundSchema = exports.DestinationUpdateAwss3$inboundSchema = void 0;
|
|
40
|
+
exports.destinationUpdateAwss3ToJSON = destinationUpdateAwss3ToJSON;
|
|
41
|
+
exports.destinationUpdateAwss3FromJSON = destinationUpdateAwss3FromJSON;
|
|
42
|
+
const z = __importStar(require("zod"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const awss3config_js_1 = require("./awss3config.js");
|
|
45
|
+
const awss3credentials_js_1 = require("./awss3credentials.js");
|
|
46
|
+
const topics_js_1 = require("./topics.js");
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.DestinationUpdateAwss3$inboundSchema = z.object({
|
|
49
|
+
topics: topics_js_1.Topics$inboundSchema.optional(),
|
|
50
|
+
config: awss3config_js_1.Awss3Config$inboundSchema.optional(),
|
|
51
|
+
credentials: awss3credentials_js_1.Awss3Credentials$inboundSchema.optional(),
|
|
52
|
+
});
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.DestinationUpdateAwss3$outboundSchema = z.object({
|
|
55
|
+
topics: topics_js_1.Topics$outboundSchema.optional(),
|
|
56
|
+
config: awss3config_js_1.Awss3Config$outboundSchema.optional(),
|
|
57
|
+
credentials: awss3credentials_js_1.Awss3Credentials$outboundSchema.optional(),
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
var DestinationUpdateAwss3$;
|
|
64
|
+
(function (DestinationUpdateAwss3$) {
|
|
65
|
+
/** @deprecated use `DestinationUpdateAwss3$inboundSchema` instead. */
|
|
66
|
+
DestinationUpdateAwss3$.inboundSchema = exports.DestinationUpdateAwss3$inboundSchema;
|
|
67
|
+
/** @deprecated use `DestinationUpdateAwss3$outboundSchema` instead. */
|
|
68
|
+
DestinationUpdateAwss3$.outboundSchema = exports.DestinationUpdateAwss3$outboundSchema;
|
|
69
|
+
})(DestinationUpdateAwss3$ || (exports.DestinationUpdateAwss3$ = DestinationUpdateAwss3$ = {}));
|
|
70
|
+
function destinationUpdateAwss3ToJSON(destinationUpdateAwss3) {
|
|
71
|
+
return JSON.stringify(exports.DestinationUpdateAwss3$outboundSchema.parse(destinationUpdateAwss3));
|
|
72
|
+
}
|
|
73
|
+
function destinationUpdateAwss3FromJSON(jsonString) {
|
|
74
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DestinationUpdateAwss3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DestinationUpdateAwss3' from JSON`);
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=destinationupdateawss3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationupdateawss3.js","sourceRoot":"","sources":["../../../../src/models/components/destinationupdateawss3.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4EH,oEAMC;AAED,wEAQC;AA1FD,uCAAyB;AACzB,qDAAiD;AAGjD,qDAK0B;AAC1B,+DAK+B;AAC/B,2CAKqB;AAWrB,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,gCAAoB,CAAC,QAAQ,EAAE;IACvC,MAAM,EAAE,0CAAyB,CAAC,QAAQ,EAAE;IAC5C,WAAW,EAAE,oDAA8B,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC;AASH,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,iCAAqB,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,2CAA0B,CAAC,QAAQ,EAAE;IAC7C,WAAW,EAAE,qDAA+B,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,uBAAuB,CAOvC;AAPD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AAGtE,CAAC,EAPgB,uBAAuB,uCAAvB,uBAAuB,QAOvC;AAED,SAAgB,4BAA4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|