@hookdeck/outpost-sdk 0.4.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 +2 -6
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +286 -50
- package/bin/mcp-server.js.map +47 -41
- 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.js +1 -1
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- package/dist/commonjs/funcs/eventsListByDestination.js +1 -1
- 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/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/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 +5 -0
- package/dist/commonjs/models/components/destination.d.ts.map +1 -1
- package/dist/commonjs/models/components/destination.js +7 -0
- package/dist/commonjs/models/components/destination.js.map +1 -1
- package/dist/commonjs/models/components/destinationcreate.d.ts +5 -0
- package/dist/commonjs/models/components/destinationcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/destinationcreate.js +7 -0
- package/dist/commonjs/models/components/destinationcreate.js.map +1 -1
- 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 +4 -2
- package/dist/commonjs/models/components/destinationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/destinationupdate.js +6 -0
- package/dist/commonjs/models/components/destinationupdate.js.map +1 -1
- 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 +6 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +6 -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/listtenantdestinations.d.ts +12 -0
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.js +4 -0
- package/dist/commonjs/models/operations/listtenantdestinations.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.js +1 -1
- package/dist/esm/funcs/eventsList.js.map +1 -1
- package/dist/esm/funcs/eventsListByDestination.js +1 -1
- 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/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/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 +5 -0
- package/dist/esm/models/components/destination.d.ts.map +1 -1
- package/dist/esm/models/components/destination.js +7 -0
- package/dist/esm/models/components/destination.js.map +1 -1
- package/dist/esm/models/components/destinationcreate.d.ts +5 -0
- package/dist/esm/models/components/destinationcreate.d.ts.map +1 -1
- package/dist/esm/models/components/destinationcreate.js +7 -0
- package/dist/esm/models/components/destinationcreate.js.map +1 -1
- 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 +4 -2
- package/dist/esm/models/components/destinationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/destinationupdate.js +6 -0
- package/dist/esm/models/components/destinationupdate.js.map +1 -1
- 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 +6 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +6 -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/listtenantdestinations.d.ts +12 -0
- package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.js +4 -0
- package/dist/esm/models/operations/listtenantdestinations.js.map +1 -1
- package/examples/healthCheck.example.ts +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- 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 +1 -1
- package/src/funcs/eventsListByDestination.ts +1 -1
- 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/url.ts +1 -1
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deliveryattempt.ts +16 -14
- package/src/models/components/destination.ts +18 -0
- package/src/models/components/destinationcreate.ts +18 -0
- package/src/models/components/destinationcreategcppubsub.ts +144 -0
- package/src/models/components/destinationgcppubsub.ts +187 -0
- package/src/models/components/destinationupdate.ts +22 -2
- 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 +6 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/listtenantdestinations.ts +4 -0
- package/docs/sdks/outpost/README.md +0 -7
package/bin/mcp-server.js
CHANGED
|
@@ -34148,7 +34148,7 @@ var init_base64 = __esm(() => {
|
|
|
34148
34148
|
|
|
34149
34149
|
// src/lib/url.ts
|
|
34150
34150
|
function pathToFunc(pathPattern, options) {
|
|
34151
|
-
const paramRE = /\{([a-zA-Z0-9_]
|
|
34151
|
+
const paramRE = /\{([a-zA-Z0-9_][a-zA-Z0-9_-]*?)\}/g;
|
|
34152
34152
|
return function buildURLPath(params = {}) {
|
|
34153
34153
|
return pathPattern.replace(paramRE, function(_2, placeholder) {
|
|
34154
34154
|
if (!hasOwn.call(params, placeholder)) {
|
|
@@ -34190,9 +34190,9 @@ var init_config = __esm(() => {
|
|
|
34190
34190
|
SDK_METADATA = {
|
|
34191
34191
|
language: "typescript",
|
|
34192
34192
|
openapiDocVersion: "0.0.1",
|
|
34193
|
-
sdkVersion: "0.
|
|
34194
|
-
genVersion: "2.
|
|
34195
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34193
|
+
sdkVersion: "0.5.0",
|
|
34194
|
+
genVersion: "2.723.11",
|
|
34195
|
+
userAgent: "speakeasy-sdk/typescript 0.5.0 2.723.11 0.0.1 @hookdeck/outpost-sdk"
|
|
34196
34196
|
};
|
|
34197
34197
|
});
|
|
34198
34198
|
|
|
@@ -35849,23 +35849,23 @@ var init_azureservicebuscredentials = __esm(() => {
|
|
|
35849
35849
|
});
|
|
35850
35850
|
|
|
35851
35851
|
// src/models/components/deliveryattempt.ts
|
|
35852
|
-
var
|
|
35852
|
+
var DeliveryAttemptStatus, DeliveryAttemptStatus$inboundSchema, DeliveryAttemptStatus$outboundSchema, DeliveryAttemptStatus$, DeliveryAttempt$inboundSchema, DeliveryAttempt$outboundSchema, DeliveryAttempt$;
|
|
35853
35853
|
var init_deliveryattempt = __esm(() => {
|
|
35854
35854
|
init_lib();
|
|
35855
35855
|
init_primitives();
|
|
35856
|
-
|
|
35856
|
+
DeliveryAttemptStatus = {
|
|
35857
35857
|
Success: "success",
|
|
35858
35858
|
Failed: "failed"
|
|
35859
35859
|
};
|
|
35860
|
-
|
|
35861
|
-
|
|
35862
|
-
((
|
|
35863
|
-
|
|
35864
|
-
|
|
35865
|
-
})(
|
|
35860
|
+
DeliveryAttemptStatus$inboundSchema = nativeEnumType(DeliveryAttemptStatus);
|
|
35861
|
+
DeliveryAttemptStatus$outboundSchema = DeliveryAttemptStatus$inboundSchema;
|
|
35862
|
+
((DeliveryAttemptStatus$) => {
|
|
35863
|
+
DeliveryAttemptStatus$.inboundSchema = DeliveryAttemptStatus$inboundSchema;
|
|
35864
|
+
DeliveryAttemptStatus$.outboundSchema = DeliveryAttemptStatus$outboundSchema;
|
|
35865
|
+
})(DeliveryAttemptStatus$ ||= {});
|
|
35866
35866
|
DeliveryAttempt$inboundSchema = objectType({
|
|
35867
35867
|
delivered_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
35868
|
-
status:
|
|
35868
|
+
status: DeliveryAttemptStatus$inboundSchema.optional(),
|
|
35869
35869
|
response_status_code: numberType().int().optional(),
|
|
35870
35870
|
response_body: stringType().optional(),
|
|
35871
35871
|
response_headers: recordType(stringType()).optional()
|
|
@@ -35879,7 +35879,7 @@ var init_deliveryattempt = __esm(() => {
|
|
|
35879
35879
|
});
|
|
35880
35880
|
DeliveryAttempt$outboundSchema = objectType({
|
|
35881
35881
|
deliveredAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
35882
|
-
status:
|
|
35882
|
+
status: DeliveryAttemptStatus$outboundSchema.optional(),
|
|
35883
35883
|
responseStatusCode: numberType().int().optional(),
|
|
35884
35884
|
responseBody: stringType().optional(),
|
|
35885
35885
|
responseHeaders: recordType(stringType()).optional()
|
|
@@ -36146,6 +36146,117 @@ var init_destinationazureservicebus = __esm(() => {
|
|
|
36146
36146
|
})(DestinationAzureServiceBus$ ||= {});
|
|
36147
36147
|
});
|
|
36148
36148
|
|
|
36149
|
+
// src/models/components/gcppubsubconfig.ts
|
|
36150
|
+
var GCPPubSubConfig$inboundSchema, GCPPubSubConfig$outboundSchema, GCPPubSubConfig$;
|
|
36151
|
+
var init_gcppubsubconfig = __esm(() => {
|
|
36152
|
+
init_lib();
|
|
36153
|
+
init_primitives();
|
|
36154
|
+
GCPPubSubConfig$inboundSchema = objectType({
|
|
36155
|
+
project_id: stringType(),
|
|
36156
|
+
topic: stringType(),
|
|
36157
|
+
endpoint: stringType().optional()
|
|
36158
|
+
}).transform((v2) => {
|
|
36159
|
+
return remap(v2, {
|
|
36160
|
+
project_id: "projectId"
|
|
36161
|
+
});
|
|
36162
|
+
});
|
|
36163
|
+
GCPPubSubConfig$outboundSchema = objectType({
|
|
36164
|
+
projectId: stringType(),
|
|
36165
|
+
topic: stringType(),
|
|
36166
|
+
endpoint: stringType().optional()
|
|
36167
|
+
}).transform((v2) => {
|
|
36168
|
+
return remap(v2, {
|
|
36169
|
+
projectId: "project_id"
|
|
36170
|
+
});
|
|
36171
|
+
});
|
|
36172
|
+
((GCPPubSubConfig$) => {
|
|
36173
|
+
GCPPubSubConfig$.inboundSchema = GCPPubSubConfig$inboundSchema;
|
|
36174
|
+
GCPPubSubConfig$.outboundSchema = GCPPubSubConfig$outboundSchema;
|
|
36175
|
+
})(GCPPubSubConfig$ ||= {});
|
|
36176
|
+
});
|
|
36177
|
+
|
|
36178
|
+
// src/models/components/gcppubsubcredentials.ts
|
|
36179
|
+
var GCPPubSubCredentials$inboundSchema, GCPPubSubCredentials$outboundSchema, GCPPubSubCredentials$;
|
|
36180
|
+
var init_gcppubsubcredentials = __esm(() => {
|
|
36181
|
+
init_lib();
|
|
36182
|
+
init_primitives();
|
|
36183
|
+
GCPPubSubCredentials$inboundSchema = objectType({
|
|
36184
|
+
service_account_json: stringType()
|
|
36185
|
+
}).transform((v2) => {
|
|
36186
|
+
return remap(v2, {
|
|
36187
|
+
service_account_json: "serviceAccountJson"
|
|
36188
|
+
});
|
|
36189
|
+
});
|
|
36190
|
+
GCPPubSubCredentials$outboundSchema = objectType({
|
|
36191
|
+
serviceAccountJson: stringType()
|
|
36192
|
+
}).transform((v2) => {
|
|
36193
|
+
return remap(v2, {
|
|
36194
|
+
serviceAccountJson: "service_account_json"
|
|
36195
|
+
});
|
|
36196
|
+
});
|
|
36197
|
+
((GCPPubSubCredentials$) => {
|
|
36198
|
+
GCPPubSubCredentials$.inboundSchema = GCPPubSubCredentials$inboundSchema;
|
|
36199
|
+
GCPPubSubCredentials$.outboundSchema = GCPPubSubCredentials$outboundSchema;
|
|
36200
|
+
})(GCPPubSubCredentials$ ||= {});
|
|
36201
|
+
});
|
|
36202
|
+
|
|
36203
|
+
// src/models/components/destinationgcppubsub.ts
|
|
36204
|
+
var DestinationGCPPubSubType, DestinationGCPPubSubType$inboundSchema, DestinationGCPPubSubType$outboundSchema, DestinationGCPPubSubType$, DestinationGCPPubSub$inboundSchema, DestinationGCPPubSub$outboundSchema, DestinationGCPPubSub$;
|
|
36205
|
+
var init_destinationgcppubsub = __esm(() => {
|
|
36206
|
+
init_lib();
|
|
36207
|
+
init_primitives();
|
|
36208
|
+
init_gcppubsubconfig();
|
|
36209
|
+
init_gcppubsubcredentials();
|
|
36210
|
+
init_topics();
|
|
36211
|
+
DestinationGCPPubSubType = {
|
|
36212
|
+
GcpPubsub: "gcp_pubsub"
|
|
36213
|
+
};
|
|
36214
|
+
DestinationGCPPubSubType$inboundSchema = nativeEnumType(DestinationGCPPubSubType);
|
|
36215
|
+
DestinationGCPPubSubType$outboundSchema = DestinationGCPPubSubType$inboundSchema;
|
|
36216
|
+
((DestinationGCPPubSubType$) => {
|
|
36217
|
+
DestinationGCPPubSubType$.inboundSchema = DestinationGCPPubSubType$inboundSchema;
|
|
36218
|
+
DestinationGCPPubSubType$.outboundSchema = DestinationGCPPubSubType$outboundSchema;
|
|
36219
|
+
})(DestinationGCPPubSubType$ ||= {});
|
|
36220
|
+
DestinationGCPPubSub$inboundSchema = objectType({
|
|
36221
|
+
id: stringType(),
|
|
36222
|
+
type: DestinationGCPPubSubType$inboundSchema,
|
|
36223
|
+
topics: Topics$inboundSchema,
|
|
36224
|
+
disabled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
36225
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
36226
|
+
config: GCPPubSubConfig$inboundSchema,
|
|
36227
|
+
credentials: GCPPubSubCredentials$inboundSchema,
|
|
36228
|
+
target: stringType().optional(),
|
|
36229
|
+
target_url: nullableType(stringType()).optional()
|
|
36230
|
+
}).transform((v2) => {
|
|
36231
|
+
return remap(v2, {
|
|
36232
|
+
disabled_at: "disabledAt",
|
|
36233
|
+
created_at: "createdAt",
|
|
36234
|
+
target_url: "targetUrl"
|
|
36235
|
+
});
|
|
36236
|
+
});
|
|
36237
|
+
DestinationGCPPubSub$outboundSchema = objectType({
|
|
36238
|
+
id: stringType(),
|
|
36239
|
+
type: DestinationGCPPubSubType$outboundSchema,
|
|
36240
|
+
topics: Topics$outboundSchema,
|
|
36241
|
+
disabledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
36242
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
36243
|
+
config: GCPPubSubConfig$outboundSchema,
|
|
36244
|
+
credentials: GCPPubSubCredentials$outboundSchema,
|
|
36245
|
+
target: stringType().optional(),
|
|
36246
|
+
targetUrl: nullableType(stringType()).optional()
|
|
36247
|
+
}).transform((v2) => {
|
|
36248
|
+
return remap(v2, {
|
|
36249
|
+
disabledAt: "disabled_at",
|
|
36250
|
+
createdAt: "created_at",
|
|
36251
|
+
targetUrl: "target_url"
|
|
36252
|
+
});
|
|
36253
|
+
});
|
|
36254
|
+
((DestinationGCPPubSub$) => {
|
|
36255
|
+
DestinationGCPPubSub$.inboundSchema = DestinationGCPPubSub$inboundSchema;
|
|
36256
|
+
DestinationGCPPubSub$.outboundSchema = DestinationGCPPubSub$outboundSchema;
|
|
36257
|
+
})(DestinationGCPPubSub$ ||= {});
|
|
36258
|
+
});
|
|
36259
|
+
|
|
36149
36260
|
// src/models/components/hookdeckcredentials.ts
|
|
36150
36261
|
var HookdeckCredentials$inboundSchema, HookdeckCredentials$outboundSchema, HookdeckCredentials$;
|
|
36151
36262
|
var init_hookdeckcredentials = __esm(() => {
|
|
@@ -36444,6 +36555,7 @@ var init_destination = __esm(() => {
|
|
|
36444
36555
|
init_destinationawss3();
|
|
36445
36556
|
init_destinationawssqs();
|
|
36446
36557
|
init_destinationazureservicebus();
|
|
36558
|
+
init_destinationgcppubsub();
|
|
36447
36559
|
init_destinationhookdeck();
|
|
36448
36560
|
init_destinationrabbitmq();
|
|
36449
36561
|
init_destinationwebhook();
|
|
@@ -36466,6 +36578,9 @@ var init_destination = __esm(() => {
|
|
|
36466
36578
|
DestinationAwss3$inboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36467
36579
|
type: v2.type
|
|
36468
36580
|
}))),
|
|
36581
|
+
DestinationGCPPubSub$inboundSchema.and(objectType({ type: literalType("gcp_pubsub") }).transform((v2) => ({
|
|
36582
|
+
type: v2.type
|
|
36583
|
+
}))),
|
|
36469
36584
|
DestinationHookdeck$inboundSchema.and(objectType({ type: literalType("hookdeck") }).transform((v2) => ({
|
|
36470
36585
|
type: v2.type
|
|
36471
36586
|
})))
|
|
@@ -36489,6 +36604,9 @@ var init_destination = __esm(() => {
|
|
|
36489
36604
|
DestinationAwss3$outboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36490
36605
|
type: v2.type
|
|
36491
36606
|
}))),
|
|
36607
|
+
DestinationGCPPubSub$outboundSchema.and(objectType({ type: literalType("gcp_pubsub") }).transform((v2) => ({
|
|
36608
|
+
type: v2.type
|
|
36609
|
+
}))),
|
|
36492
36610
|
DestinationHookdeck$outboundSchema.and(objectType({ type: literalType("hookdeck") }).transform((v2) => ({
|
|
36493
36611
|
type: v2.type
|
|
36494
36612
|
})))
|
|
@@ -36643,6 +36761,42 @@ var init_destinationcreateazureservicebus = __esm(() => {
|
|
|
36643
36761
|
})(DestinationCreateAzureServiceBus$ ||= {});
|
|
36644
36762
|
});
|
|
36645
36763
|
|
|
36764
|
+
// src/models/components/destinationcreategcppubsub.ts
|
|
36765
|
+
var DestinationCreateGCPPubSubType, DestinationCreateGCPPubSubType$inboundSchema, DestinationCreateGCPPubSubType$outboundSchema, DestinationCreateGCPPubSubType$, DestinationCreateGCPPubSub$inboundSchema, DestinationCreateGCPPubSub$outboundSchema, DestinationCreateGCPPubSub$;
|
|
36766
|
+
var init_destinationcreategcppubsub = __esm(() => {
|
|
36767
|
+
init_lib();
|
|
36768
|
+
init_gcppubsubconfig();
|
|
36769
|
+
init_gcppubsubcredentials();
|
|
36770
|
+
init_topics();
|
|
36771
|
+
DestinationCreateGCPPubSubType = {
|
|
36772
|
+
GcpPubsub: "gcp_pubsub"
|
|
36773
|
+
};
|
|
36774
|
+
DestinationCreateGCPPubSubType$inboundSchema = nativeEnumType(DestinationCreateGCPPubSubType);
|
|
36775
|
+
DestinationCreateGCPPubSubType$outboundSchema = DestinationCreateGCPPubSubType$inboundSchema;
|
|
36776
|
+
((DestinationCreateGCPPubSubType$) => {
|
|
36777
|
+
DestinationCreateGCPPubSubType$.inboundSchema = DestinationCreateGCPPubSubType$inboundSchema;
|
|
36778
|
+
DestinationCreateGCPPubSubType$.outboundSchema = DestinationCreateGCPPubSubType$outboundSchema;
|
|
36779
|
+
})(DestinationCreateGCPPubSubType$ ||= {});
|
|
36780
|
+
DestinationCreateGCPPubSub$inboundSchema = objectType({
|
|
36781
|
+
id: stringType().optional(),
|
|
36782
|
+
type: DestinationCreateGCPPubSubType$inboundSchema,
|
|
36783
|
+
topics: Topics$inboundSchema,
|
|
36784
|
+
config: GCPPubSubConfig$inboundSchema,
|
|
36785
|
+
credentials: GCPPubSubCredentials$inboundSchema
|
|
36786
|
+
});
|
|
36787
|
+
DestinationCreateGCPPubSub$outboundSchema = objectType({
|
|
36788
|
+
id: stringType().optional(),
|
|
36789
|
+
type: DestinationCreateGCPPubSubType$outboundSchema,
|
|
36790
|
+
topics: Topics$outboundSchema,
|
|
36791
|
+
config: GCPPubSubConfig$outboundSchema,
|
|
36792
|
+
credentials: GCPPubSubCredentials$outboundSchema
|
|
36793
|
+
});
|
|
36794
|
+
((DestinationCreateGCPPubSub$) => {
|
|
36795
|
+
DestinationCreateGCPPubSub$.inboundSchema = DestinationCreateGCPPubSub$inboundSchema;
|
|
36796
|
+
DestinationCreateGCPPubSub$.outboundSchema = DestinationCreateGCPPubSub$outboundSchema;
|
|
36797
|
+
})(DestinationCreateGCPPubSub$ ||= {});
|
|
36798
|
+
});
|
|
36799
|
+
|
|
36646
36800
|
// src/models/components/destinationcreatehookdeck.ts
|
|
36647
36801
|
var DestinationCreateHookdeckType, DestinationCreateHookdeckType$inboundSchema, DestinationCreateHookdeckType$outboundSchema, DestinationCreateHookdeckType$, DestinationCreateHookdeck$inboundSchema, DestinationCreateHookdeck$outboundSchema, DestinationCreateHookdeck$;
|
|
36648
36802
|
var init_destinationcreatehookdeck = __esm(() => {
|
|
@@ -36758,6 +36912,7 @@ var init_destinationcreate = __esm(() => {
|
|
|
36758
36912
|
init_destinationcreateawss3();
|
|
36759
36913
|
init_destinationcreateawssqs();
|
|
36760
36914
|
init_destinationcreateazureservicebus();
|
|
36915
|
+
init_destinationcreategcppubsub();
|
|
36761
36916
|
init_destinationcreatehookdeck();
|
|
36762
36917
|
init_destinationcreaterabbitmq();
|
|
36763
36918
|
init_destinationcreatewebhook();
|
|
@@ -36777,6 +36932,9 @@ var init_destinationcreate = __esm(() => {
|
|
|
36777
36932
|
DestinationCreateAwss3$inboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36778
36933
|
type: v2.type
|
|
36779
36934
|
}))),
|
|
36935
|
+
DestinationCreateGCPPubSub$inboundSchema.and(objectType({ type: literalType("gcp_pubsub") }).transform((v2) => ({
|
|
36936
|
+
type: v2.type
|
|
36937
|
+
}))),
|
|
36780
36938
|
DestinationCreateWebhook$inboundSchema.and(objectType({ type: literalType("webhook") }).transform((v2) => ({
|
|
36781
36939
|
type: v2.type
|
|
36782
36940
|
}))),
|
|
@@ -36800,6 +36958,9 @@ var init_destinationcreate = __esm(() => {
|
|
|
36800
36958
|
DestinationCreateAwss3$outboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36801
36959
|
type: v2.type
|
|
36802
36960
|
}))),
|
|
36961
|
+
DestinationCreateGCPPubSub$outboundSchema.and(objectType({ type: literalType("gcp_pubsub") }).transform((v2) => ({
|
|
36962
|
+
type: v2.type
|
|
36963
|
+
}))),
|
|
36803
36964
|
DestinationCreateWebhook$outboundSchema.and(objectType({ type: literalType("webhook") }).transform((v2) => ({
|
|
36804
36965
|
type: v2.type
|
|
36805
36966
|
}))),
|
|
@@ -36968,6 +37129,52 @@ var init_destinationupdateawssqs = __esm(() => {
|
|
|
36968
37129
|
})(DestinationUpdateAWSSQS$ ||= {});
|
|
36969
37130
|
});
|
|
36970
37131
|
|
|
37132
|
+
// src/models/components/destinationupdateazureservicebus.ts
|
|
37133
|
+
var DestinationUpdateAzureServiceBus$inboundSchema, DestinationUpdateAzureServiceBus$outboundSchema, DestinationUpdateAzureServiceBus$;
|
|
37134
|
+
var init_destinationupdateazureservicebus = __esm(() => {
|
|
37135
|
+
init_lib();
|
|
37136
|
+
init_azureservicebusconfig();
|
|
37137
|
+
init_azureservicebuscredentials();
|
|
37138
|
+
init_topics();
|
|
37139
|
+
DestinationUpdateAzureServiceBus$inboundSchema = objectType({
|
|
37140
|
+
topics: Topics$inboundSchema.optional(),
|
|
37141
|
+
config: AzureServiceBusConfig$inboundSchema.optional(),
|
|
37142
|
+
credentials: AzureServiceBusCredentials$inboundSchema.optional()
|
|
37143
|
+
});
|
|
37144
|
+
DestinationUpdateAzureServiceBus$outboundSchema = objectType({
|
|
37145
|
+
topics: Topics$outboundSchema.optional(),
|
|
37146
|
+
config: AzureServiceBusConfig$outboundSchema.optional(),
|
|
37147
|
+
credentials: AzureServiceBusCredentials$outboundSchema.optional()
|
|
37148
|
+
});
|
|
37149
|
+
((DestinationUpdateAzureServiceBus$) => {
|
|
37150
|
+
DestinationUpdateAzureServiceBus$.inboundSchema = DestinationUpdateAzureServiceBus$inboundSchema;
|
|
37151
|
+
DestinationUpdateAzureServiceBus$.outboundSchema = DestinationUpdateAzureServiceBus$outboundSchema;
|
|
37152
|
+
})(DestinationUpdateAzureServiceBus$ ||= {});
|
|
37153
|
+
});
|
|
37154
|
+
|
|
37155
|
+
// src/models/components/destinationupdategcppubsub.ts
|
|
37156
|
+
var DestinationUpdateGCPPubSub$inboundSchema, DestinationUpdateGCPPubSub$outboundSchema, DestinationUpdateGCPPubSub$;
|
|
37157
|
+
var init_destinationupdategcppubsub = __esm(() => {
|
|
37158
|
+
init_lib();
|
|
37159
|
+
init_gcppubsubconfig();
|
|
37160
|
+
init_gcppubsubcredentials();
|
|
37161
|
+
init_topics();
|
|
37162
|
+
DestinationUpdateGCPPubSub$inboundSchema = objectType({
|
|
37163
|
+
topics: Topics$inboundSchema.optional(),
|
|
37164
|
+
config: GCPPubSubConfig$inboundSchema.optional(),
|
|
37165
|
+
credentials: GCPPubSubCredentials$inboundSchema.optional()
|
|
37166
|
+
});
|
|
37167
|
+
DestinationUpdateGCPPubSub$outboundSchema = objectType({
|
|
37168
|
+
topics: Topics$outboundSchema.optional(),
|
|
37169
|
+
config: GCPPubSubConfig$outboundSchema.optional(),
|
|
37170
|
+
credentials: GCPPubSubCredentials$outboundSchema.optional()
|
|
37171
|
+
});
|
|
37172
|
+
((DestinationUpdateGCPPubSub$) => {
|
|
37173
|
+
DestinationUpdateGCPPubSub$.inboundSchema = DestinationUpdateGCPPubSub$inboundSchema;
|
|
37174
|
+
DestinationUpdateGCPPubSub$.outboundSchema = DestinationUpdateGCPPubSub$outboundSchema;
|
|
37175
|
+
})(DestinationUpdateGCPPubSub$ ||= {});
|
|
37176
|
+
});
|
|
37177
|
+
|
|
36971
37178
|
// src/models/components/destinationupdatehookdeck.ts
|
|
36972
37179
|
var DestinationUpdateHookdeck$inboundSchema, DestinationUpdateHookdeck$outboundSchema, DestinationUpdateHookdeck$;
|
|
36973
37180
|
var init_destinationupdatehookdeck = __esm(() => {
|
|
@@ -37078,6 +37285,8 @@ var init_destinationupdate = __esm(() => {
|
|
|
37078
37285
|
init_destinationupdateawskinesis();
|
|
37079
37286
|
init_destinationupdateawss3();
|
|
37080
37287
|
init_destinationupdateawssqs();
|
|
37288
|
+
init_destinationupdateazureservicebus();
|
|
37289
|
+
init_destinationupdategcppubsub();
|
|
37081
37290
|
init_destinationupdatehookdeck();
|
|
37082
37291
|
init_destinationupdaterabbitmq();
|
|
37083
37292
|
init_destinationupdatewebhook();
|
|
@@ -37087,7 +37296,9 @@ var init_destinationupdate = __esm(() => {
|
|
|
37087
37296
|
DestinationUpdateRabbitMQ$inboundSchema,
|
|
37088
37297
|
DestinationUpdateHookdeck$inboundSchema,
|
|
37089
37298
|
DestinationUpdateAWSKinesis$inboundSchema,
|
|
37090
|
-
|
|
37299
|
+
DestinationUpdateAzureServiceBus$inboundSchema,
|
|
37300
|
+
DestinationUpdateAwss3$inboundSchema,
|
|
37301
|
+
DestinationUpdateGCPPubSub$inboundSchema
|
|
37091
37302
|
]);
|
|
37092
37303
|
DestinationUpdate$outboundSchema = unionType([
|
|
37093
37304
|
DestinationUpdateWebhook$outboundSchema,
|
|
@@ -37095,7 +37306,9 @@ var init_destinationupdate = __esm(() => {
|
|
|
37095
37306
|
DestinationUpdateRabbitMQ$outboundSchema,
|
|
37096
37307
|
DestinationUpdateHookdeck$outboundSchema,
|
|
37097
37308
|
DestinationUpdateAWSKinesis$outboundSchema,
|
|
37098
|
-
|
|
37309
|
+
DestinationUpdateAzureServiceBus$outboundSchema,
|
|
37310
|
+
DestinationUpdateAwss3$outboundSchema,
|
|
37311
|
+
DestinationUpdateGCPPubSub$outboundSchema
|
|
37099
37312
|
]);
|
|
37100
37313
|
((DestinationUpdate$) => {
|
|
37101
37314
|
DestinationUpdate$.inboundSchema = DestinationUpdate$inboundSchema;
|
|
@@ -37104,17 +37317,28 @@ var init_destinationupdate = __esm(() => {
|
|
|
37104
37317
|
});
|
|
37105
37318
|
|
|
37106
37319
|
// src/models/components/event.ts
|
|
37107
|
-
var Event$inboundSchema, Event$outboundSchema, Event$;
|
|
37320
|
+
var EventStatus, EventStatus$inboundSchema, EventStatus$outboundSchema, EventStatus$, Event$inboundSchema, Event$outboundSchema, Event$;
|
|
37108
37321
|
var init_event = __esm(() => {
|
|
37109
37322
|
init_lib();
|
|
37110
37323
|
init_primitives();
|
|
37324
|
+
EventStatus = {
|
|
37325
|
+
Success: "success",
|
|
37326
|
+
Failed: "failed"
|
|
37327
|
+
};
|
|
37328
|
+
EventStatus$inboundSchema = nativeEnumType(EventStatus);
|
|
37329
|
+
EventStatus$outboundSchema = EventStatus$inboundSchema;
|
|
37330
|
+
((EventStatus$) => {
|
|
37331
|
+
EventStatus$.inboundSchema = EventStatus$inboundSchema;
|
|
37332
|
+
EventStatus$.outboundSchema = EventStatus$outboundSchema;
|
|
37333
|
+
})(EventStatus$ ||= {});
|
|
37111
37334
|
Event$inboundSchema = objectType({
|
|
37112
37335
|
id: stringType().optional(),
|
|
37113
37336
|
destination_id: stringType().optional(),
|
|
37114
37337
|
topic: stringType().optional(),
|
|
37115
37338
|
time: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37116
37339
|
successful_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
37117
|
-
metadata: recordType(stringType()).optional(),
|
|
37340
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
37341
|
+
status: EventStatus$inboundSchema.optional(),
|
|
37118
37342
|
data: recordType(anyType()).optional()
|
|
37119
37343
|
}).transform((v2) => {
|
|
37120
37344
|
return remap(v2, {
|
|
@@ -37128,7 +37352,8 @@ var init_event = __esm(() => {
|
|
|
37128
37352
|
topic: stringType().optional(),
|
|
37129
37353
|
time: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37130
37354
|
successfulAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
37131
|
-
metadata: recordType(stringType()).optional(),
|
|
37355
|
+
metadata: nullableType(recordType(stringType())).optional(),
|
|
37356
|
+
status: EventStatus$outboundSchema.optional(),
|
|
37132
37357
|
data: recordType(anyType()).optional()
|
|
37133
37358
|
}).transform((v2) => {
|
|
37134
37359
|
return remap(v2, {
|
|
@@ -37339,9 +37564,11 @@ var init_components = __esm(() => {
|
|
|
37339
37564
|
init_destinationcreateawss3();
|
|
37340
37565
|
init_destinationcreateawssqs();
|
|
37341
37566
|
init_destinationcreateazureservicebus();
|
|
37567
|
+
init_destinationcreategcppubsub();
|
|
37342
37568
|
init_destinationcreatehookdeck();
|
|
37343
37569
|
init_destinationcreaterabbitmq();
|
|
37344
37570
|
init_destinationcreatewebhook();
|
|
37571
|
+
init_destinationgcppubsub();
|
|
37345
37572
|
init_destinationhookdeck();
|
|
37346
37573
|
init_destinationrabbitmq();
|
|
37347
37574
|
init_destinationschemafield();
|
|
@@ -37350,11 +37577,15 @@ var init_components = __esm(() => {
|
|
|
37350
37577
|
init_destinationupdateawskinesis();
|
|
37351
37578
|
init_destinationupdateawss3();
|
|
37352
37579
|
init_destinationupdateawssqs();
|
|
37580
|
+
init_destinationupdateazureservicebus();
|
|
37581
|
+
init_destinationupdategcppubsub();
|
|
37353
37582
|
init_destinationupdatehookdeck();
|
|
37354
37583
|
init_destinationupdaterabbitmq();
|
|
37355
37584
|
init_destinationupdatewebhook();
|
|
37356
37585
|
init_destinationwebhook();
|
|
37357
37586
|
init_event();
|
|
37587
|
+
init_gcppubsubconfig();
|
|
37588
|
+
init_gcppubsubcredentials();
|
|
37358
37589
|
init_hookdeckcredentials();
|
|
37359
37590
|
init_portalredirect();
|
|
37360
37591
|
init_publishrequest();
|
|
@@ -37672,6 +37903,7 @@ var init_errors = __esm(() => {
|
|
|
37672
37903
|
init_httpclienterrors();
|
|
37673
37904
|
init_internalservererror();
|
|
37674
37905
|
init_notfounderror();
|
|
37906
|
+
init_outposterror();
|
|
37675
37907
|
init_ratelimitederror();
|
|
37676
37908
|
init_responsevalidationerror();
|
|
37677
37909
|
init_sdkvalidationerror();
|
|
@@ -38297,7 +38529,9 @@ var init_listtenantdestinations = __esm(() => {
|
|
|
38297
38529
|
Rabbitmq: "rabbitmq",
|
|
38298
38530
|
Hookdeck: "hookdeck",
|
|
38299
38531
|
AwsKinesis: "aws_kinesis",
|
|
38300
|
-
|
|
38532
|
+
AzureServicebus: "azure_servicebus",
|
|
38533
|
+
AwsS3: "aws_s3",
|
|
38534
|
+
GcpPubsub: "gcp_pubsub"
|
|
38301
38535
|
};
|
|
38302
38536
|
ListTenantDestinationsTypeEnum1 = {
|
|
38303
38537
|
Webhook: "webhook",
|
|
@@ -38305,7 +38539,9 @@ var init_listtenantdestinations = __esm(() => {
|
|
|
38305
38539
|
Rabbitmq: "rabbitmq",
|
|
38306
38540
|
Hookdeck: "hookdeck",
|
|
38307
38541
|
AwsKinesis: "aws_kinesis",
|
|
38308
|
-
|
|
38542
|
+
AzureServicebus: "azure_servicebus",
|
|
38543
|
+
AwsS3: "aws_s3",
|
|
38544
|
+
GcpPubsub: "gcp_pubsub"
|
|
38309
38545
|
};
|
|
38310
38546
|
ListTenantDestinationsGlobals$inboundSchema = objectType({
|
|
38311
38547
|
tenant_id: stringType().optional()
|
|
@@ -38981,7 +39217,7 @@ async function $do(client, request, options) {
|
|
|
38981
39217
|
options: client._options,
|
|
38982
39218
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
38983
39219
|
operationID: "createTenantDestination",
|
|
38984
|
-
oAuth2Scopes:
|
|
39220
|
+
oAuth2Scopes: null,
|
|
38985
39221
|
resolvedSecurity: requestSecurity,
|
|
38986
39222
|
securitySource: client._options.security,
|
|
38987
39223
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39116,7 +39352,7 @@ async function $do2(client, request, options) {
|
|
|
39116
39352
|
options: client._options,
|
|
39117
39353
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39118
39354
|
operationID: "deleteTenantDestination",
|
|
39119
|
-
oAuth2Scopes:
|
|
39355
|
+
oAuth2Scopes: null,
|
|
39120
39356
|
resolvedSecurity: requestSecurity,
|
|
39121
39357
|
securitySource: client._options.security,
|
|
39122
39358
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39251,7 +39487,7 @@ async function $do3(client, request, options) {
|
|
|
39251
39487
|
options: client._options,
|
|
39252
39488
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39253
39489
|
operationID: "disableTenantDestination",
|
|
39254
|
-
oAuth2Scopes:
|
|
39490
|
+
oAuth2Scopes: null,
|
|
39255
39491
|
resolvedSecurity: requestSecurity,
|
|
39256
39492
|
securitySource: client._options.security,
|
|
39257
39493
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39386,7 +39622,7 @@ async function $do4(client, request, options) {
|
|
|
39386
39622
|
options: client._options,
|
|
39387
39623
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39388
39624
|
operationID: "enableTenantDestination",
|
|
39389
|
-
oAuth2Scopes:
|
|
39625
|
+
oAuth2Scopes: null,
|
|
39390
39626
|
resolvedSecurity: requestSecurity,
|
|
39391
39627
|
securitySource: client._options.security,
|
|
39392
39628
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39521,7 +39757,7 @@ async function $do5(client, request, options) {
|
|
|
39521
39757
|
options: client._options,
|
|
39522
39758
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39523
39759
|
operationID: "getTenantDestination",
|
|
39524
|
-
oAuth2Scopes:
|
|
39760
|
+
oAuth2Scopes: null,
|
|
39525
39761
|
resolvedSecurity: requestSecurity,
|
|
39526
39762
|
securitySource: client._options.security,
|
|
39527
39763
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39656,7 +39892,7 @@ async function $do6(client, request, options) {
|
|
|
39656
39892
|
options: client._options,
|
|
39657
39893
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39658
39894
|
operationID: "listTenantDestinations",
|
|
39659
|
-
oAuth2Scopes:
|
|
39895
|
+
oAuth2Scopes: null,
|
|
39660
39896
|
resolvedSecurity: requestSecurity,
|
|
39661
39897
|
securitySource: client._options.security,
|
|
39662
39898
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39794,7 +40030,7 @@ async function $do7(client, request, options) {
|
|
|
39794
40030
|
options: client._options,
|
|
39795
40031
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39796
40032
|
operationID: "updateTenantDestination",
|
|
39797
|
-
oAuth2Scopes:
|
|
40033
|
+
oAuth2Scopes: null,
|
|
39798
40034
|
resolvedSecurity: requestSecurity,
|
|
39799
40035
|
securitySource: client._options.security,
|
|
39800
40036
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -39928,7 +40164,7 @@ async function $do8(client, request, options) {
|
|
|
39928
40164
|
options: client._options,
|
|
39929
40165
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
39930
40166
|
operationID: "getTenantEvent",
|
|
39931
|
-
oAuth2Scopes:
|
|
40167
|
+
oAuth2Scopes: null,
|
|
39932
40168
|
resolvedSecurity: requestSecurity,
|
|
39933
40169
|
securitySource: client._options.security,
|
|
39934
40170
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40067,7 +40303,7 @@ async function $do9(client, request, options) {
|
|
|
40067
40303
|
options: client._options,
|
|
40068
40304
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40069
40305
|
operationID: "getTenantEventByDestination",
|
|
40070
|
-
oAuth2Scopes:
|
|
40306
|
+
oAuth2Scopes: null,
|
|
40071
40307
|
resolvedSecurity: requestSecurity,
|
|
40072
40308
|
securitySource: client._options.security,
|
|
40073
40309
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40249,7 +40485,7 @@ async function $do10(client, request, options) {
|
|
|
40249
40485
|
options: client._options,
|
|
40250
40486
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40251
40487
|
operationID: "listTenantEvents",
|
|
40252
|
-
oAuth2Scopes:
|
|
40488
|
+
oAuth2Scopes: null,
|
|
40253
40489
|
resolvedSecurity: requestSecurity,
|
|
40254
40490
|
securitySource: client._options.security,
|
|
40255
40491
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40426,7 +40662,7 @@ async function $do11(client, request, options) {
|
|
|
40426
40662
|
options: client._options,
|
|
40427
40663
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40428
40664
|
operationID: "listTenantEventsByDestination",
|
|
40429
|
-
oAuth2Scopes:
|
|
40665
|
+
oAuth2Scopes: null,
|
|
40430
40666
|
resolvedSecurity: requestSecurity,
|
|
40431
40667
|
securitySource: client._options.security,
|
|
40432
40668
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40593,7 +40829,7 @@ async function $do12(client, request, options) {
|
|
|
40593
40829
|
options: client._options,
|
|
40594
40830
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40595
40831
|
operationID: "listTenantEventDeliveries",
|
|
40596
|
-
oAuth2Scopes:
|
|
40832
|
+
oAuth2Scopes: null,
|
|
40597
40833
|
resolvedSecurity: requestSecurity,
|
|
40598
40834
|
securitySource: client._options.security,
|
|
40599
40835
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40733,7 +40969,7 @@ async function $do13(client, request, options) {
|
|
|
40733
40969
|
options: client._options,
|
|
40734
40970
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40735
40971
|
operationID: "retryTenantEvent",
|
|
40736
|
-
oAuth2Scopes:
|
|
40972
|
+
oAuth2Scopes: null,
|
|
40737
40973
|
resolvedSecurity: requestSecurity,
|
|
40738
40974
|
securitySource: client._options.security,
|
|
40739
40975
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40853,7 +41089,7 @@ async function $do14(client, options) {
|
|
|
40853
41089
|
options: client._options,
|
|
40854
41090
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40855
41091
|
operationID: "healthCheck",
|
|
40856
|
-
oAuth2Scopes:
|
|
41092
|
+
oAuth2Scopes: null,
|
|
40857
41093
|
resolvedSecurity: null,
|
|
40858
41094
|
securitySource: null,
|
|
40859
41095
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -40971,7 +41207,7 @@ async function $do15(client, request, options) {
|
|
|
40971
41207
|
options: client._options,
|
|
40972
41208
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
40973
41209
|
operationID: "publishEvent",
|
|
40974
|
-
oAuth2Scopes:
|
|
41210
|
+
oAuth2Scopes: null,
|
|
40975
41211
|
resolvedSecurity: requestSecurity,
|
|
40976
41212
|
securitySource: client._options.security,
|
|
40977
41213
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41106,7 +41342,7 @@ async function $do16(client, request, options) {
|
|
|
41106
41342
|
options: client._options,
|
|
41107
41343
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41108
41344
|
operationID: "getTenantDestinationTypeSchema",
|
|
41109
|
-
oAuth2Scopes:
|
|
41345
|
+
oAuth2Scopes: null,
|
|
41110
41346
|
resolvedSecurity: requestSecurity,
|
|
41111
41347
|
securitySource: client._options.security,
|
|
41112
41348
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41240,7 +41476,7 @@ async function $do17(client, request, options) {
|
|
|
41240
41476
|
options: client._options,
|
|
41241
41477
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41242
41478
|
operationID: "getDestinationTypeSchema",
|
|
41243
|
-
oAuth2Scopes:
|
|
41479
|
+
oAuth2Scopes: null,
|
|
41244
41480
|
resolvedSecurity: requestSecurity,
|
|
41245
41481
|
securitySource: client._options.security,
|
|
41246
41482
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41362,7 +41598,7 @@ async function $do18(client, options) {
|
|
|
41362
41598
|
options: client._options,
|
|
41363
41599
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41364
41600
|
operationID: "listDestinationTypeSchemasJwt",
|
|
41365
|
-
oAuth2Scopes:
|
|
41601
|
+
oAuth2Scopes: null,
|
|
41366
41602
|
resolvedSecurity: requestSecurity,
|
|
41367
41603
|
securitySource: client._options.security,
|
|
41368
41604
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41485,7 +41721,7 @@ async function $do19(client, request, options) {
|
|
|
41485
41721
|
options: client._options,
|
|
41486
41722
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41487
41723
|
operationID: "listTenantDestinationTypeSchemas",
|
|
41488
|
-
oAuth2Scopes:
|
|
41724
|
+
oAuth2Scopes: null,
|
|
41489
41725
|
resolvedSecurity: requestSecurity,
|
|
41490
41726
|
securitySource: client._options.security,
|
|
41491
41727
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41617,7 +41853,7 @@ async function $do20(client, request, options) {
|
|
|
41617
41853
|
options: client._options,
|
|
41618
41854
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41619
41855
|
operationID: "deleteTenant",
|
|
41620
|
-
oAuth2Scopes:
|
|
41856
|
+
oAuth2Scopes: null,
|
|
41621
41857
|
resolvedSecurity: requestSecurity,
|
|
41622
41858
|
securitySource: client._options.security,
|
|
41623
41859
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41748,7 +41984,7 @@ async function $do21(client, request, options) {
|
|
|
41748
41984
|
options: client._options,
|
|
41749
41985
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41750
41986
|
operationID: "getTenant",
|
|
41751
|
-
oAuth2Scopes:
|
|
41987
|
+
oAuth2Scopes: null,
|
|
41752
41988
|
resolvedSecurity: requestSecurity,
|
|
41753
41989
|
securitySource: client._options.security,
|
|
41754
41990
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -41882,7 +42118,7 @@ async function $do22(client, request, options) {
|
|
|
41882
42118
|
options: client._options,
|
|
41883
42119
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
41884
42120
|
operationID: "getTenantPortalUrl",
|
|
41885
|
-
oAuth2Scopes:
|
|
42121
|
+
oAuth2Scopes: null,
|
|
41886
42122
|
resolvedSecurity: requestSecurity,
|
|
41887
42123
|
securitySource: client._options.security,
|
|
41888
42124
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -42014,7 +42250,7 @@ async function $do23(client, request, options) {
|
|
|
42014
42250
|
options: client._options,
|
|
42015
42251
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42016
42252
|
operationID: "getTenantToken",
|
|
42017
|
-
oAuth2Scopes:
|
|
42253
|
+
oAuth2Scopes: null,
|
|
42018
42254
|
resolvedSecurity: requestSecurity,
|
|
42019
42255
|
securitySource: client._options.security,
|
|
42020
42256
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -42145,7 +42381,7 @@ async function $do24(client, request, options) {
|
|
|
42145
42381
|
options: client._options,
|
|
42146
42382
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42147
42383
|
operationID: "upsertTenant",
|
|
42148
|
-
oAuth2Scopes:
|
|
42384
|
+
oAuth2Scopes: null,
|
|
42149
42385
|
resolvedSecurity: requestSecurity,
|
|
42150
42386
|
securitySource: client._options.security,
|
|
42151
42387
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -42276,7 +42512,7 @@ async function $do25(client, request, options) {
|
|
|
42276
42512
|
options: client._options,
|
|
42277
42513
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42278
42514
|
operationID: "listTenantTopics",
|
|
42279
|
-
oAuth2Scopes:
|
|
42515
|
+
oAuth2Scopes: null,
|
|
42280
42516
|
resolvedSecurity: requestSecurity,
|
|
42281
42517
|
securitySource: client._options.security,
|
|
42282
42518
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -42398,7 +42634,7 @@ async function $do26(client, options) {
|
|
|
42398
42634
|
options: client._options,
|
|
42399
42635
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
42400
42636
|
operationID: "listTopics",
|
|
42401
|
-
oAuth2Scopes:
|
|
42637
|
+
oAuth2Scopes: null,
|
|
42402
42638
|
resolvedSecurity: requestSecurity,
|
|
42403
42639
|
securitySource: client._options.security,
|
|
42404
42640
|
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
@@ -42500,7 +42736,7 @@ Returns a list of available event topics configured in the Outpost instance.`,
|
|
|
42500
42736
|
function createMCPServer(deps) {
|
|
42501
42737
|
const server = new McpServer({
|
|
42502
42738
|
name: "Outpost",
|
|
42503
|
-
version: "0.
|
|
42739
|
+
version: "0.5.0"
|
|
42504
42740
|
});
|
|
42505
42741
|
const client = new OutpostCore({
|
|
42506
42742
|
security: deps.security,
|
|
@@ -43772,7 +44008,7 @@ var routes = an({
|
|
|
43772
44008
|
var app = He(routes, {
|
|
43773
44009
|
name: "mcp",
|
|
43774
44010
|
versionInfo: {
|
|
43775
|
-
currentVersion: "0.
|
|
44011
|
+
currentVersion: "0.5.0"
|
|
43776
44012
|
}
|
|
43777
44013
|
});
|
|
43778
44014
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -43780,5 +44016,5 @@ export {
|
|
|
43780
44016
|
app
|
|
43781
44017
|
};
|
|
43782
44018
|
|
|
43783
|
-
//# debugId=
|
|
44019
|
+
//# debugId=2EFD7241FFFD51F064756E2164756E21
|
|
43784
44020
|
//# sourceMappingURL=mcp-server.js.map
|