@hookdeck/outpost-sdk 0.3.0 → 0.4.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 +36 -0
- package/bin/mcp-server.js +457 -38
- package/bin/mcp-server.js.map +27 -20
- 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 +46 -8
- 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 +44 -8
- package/dist/commonjs/funcs/eventsListByDestination.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/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.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/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/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 +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/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/destinationupdate.d.ts +3 -2
- package/dist/commonjs/models/components/destinationupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/destinationupdate.js +3 -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/index.d.ts +5 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +5 -0
- package/dist/commonjs/models/components/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 +6 -0
- package/dist/commonjs/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listtenantdestinations.js +2 -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/eventsList.d.ts +4 -2
- package/dist/esm/funcs/eventsList.d.ts.map +1 -1
- package/dist/esm/funcs/eventsList.js +46 -8
- 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 +44 -8
- package/dist/esm/funcs/eventsListByDestination.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/security.d.ts.map +1 -1
- package/dist/esm/lib/security.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/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/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 +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/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/destinationupdate.d.ts +3 -2
- package/dist/esm/models/components/destinationupdate.d.ts.map +1 -1
- package/dist/esm/models/components/destinationupdate.js +3 -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/index.d.ts +5 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +5 -0
- package/dist/esm/models/components/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 +6 -0
- package/dist/esm/models/operations/listtenantdestinations.d.ts.map +1 -1
- package/dist/esm/models/operations/listtenantdestinations.js +2 -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 +1 -1
- package/examples/package-lock.json +3 -3
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/eventsList.ts +122 -42
- package/src/funcs/eventsListByDestination.ts +124 -42
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +4 -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/destination.ts +18 -0
- package/src/models/components/destinationawss3.ts +185 -0
- package/src/models/components/destinationcreate.ts +18 -0
- package/src/models/components/destinationcreateawss3.ts +144 -0
- package/src/models/components/destinationupdate.ts +12 -2
- package/src/models/components/destinationupdateawss3.ts +95 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/operations/getdestinationtypeschema.ts +1 -0
- package/src/models/operations/gettenantdestinationtypeschema.ts +1 -0
- package/src/models/operations/listtenantdestinations.ts +2 -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/bin/mcp-server.js
CHANGED
|
@@ -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.4.0",
|
|
34194
|
+
genVersion: "2.692.0",
|
|
34195
|
+
userAgent: "speakeasy-sdk/typescript 0.4.0 2.692.0 0.0.1 @hookdeck/outpost-sdk"
|
|
34196
34196
|
};
|
|
34197
34197
|
});
|
|
34198
34198
|
|
|
@@ -35707,6 +35707,59 @@ var init_awskinesiscredentials = __esm(() => {
|
|
|
35707
35707
|
})(AWSKinesisCredentials$ ||= {});
|
|
35708
35708
|
});
|
|
35709
35709
|
|
|
35710
|
+
// src/models/components/awss3config.ts
|
|
35711
|
+
var Awss3Config$inboundSchema, Awss3Config$outboundSchema, Awss3Config$;
|
|
35712
|
+
var init_awss3config = __esm(() => {
|
|
35713
|
+
init_lib();
|
|
35714
|
+
init_primitives();
|
|
35715
|
+
Awss3Config$inboundSchema = objectType({
|
|
35716
|
+
bucket: stringType(),
|
|
35717
|
+
region: stringType(),
|
|
35718
|
+
key_template: stringType().optional(),
|
|
35719
|
+
storage_class: stringType().optional()
|
|
35720
|
+
}).transform((v2) => {
|
|
35721
|
+
return remap(v2, {
|
|
35722
|
+
key_template: "keyTemplate",
|
|
35723
|
+
storage_class: "storageClass"
|
|
35724
|
+
});
|
|
35725
|
+
});
|
|
35726
|
+
Awss3Config$outboundSchema = objectType({
|
|
35727
|
+
bucket: stringType(),
|
|
35728
|
+
region: stringType(),
|
|
35729
|
+
keyTemplate: stringType().optional(),
|
|
35730
|
+
storageClass: stringType().optional()
|
|
35731
|
+
}).transform((v2) => {
|
|
35732
|
+
return remap(v2, {
|
|
35733
|
+
keyTemplate: "key_template",
|
|
35734
|
+
storageClass: "storage_class"
|
|
35735
|
+
});
|
|
35736
|
+
});
|
|
35737
|
+
((Awss3Config$) => {
|
|
35738
|
+
Awss3Config$.inboundSchema = Awss3Config$inboundSchema;
|
|
35739
|
+
Awss3Config$.outboundSchema = Awss3Config$outboundSchema;
|
|
35740
|
+
})(Awss3Config$ ||= {});
|
|
35741
|
+
});
|
|
35742
|
+
|
|
35743
|
+
// src/models/components/awss3credentials.ts
|
|
35744
|
+
var Awss3Credentials$inboundSchema, Awss3Credentials$outboundSchema, Awss3Credentials$;
|
|
35745
|
+
var init_awss3credentials = __esm(() => {
|
|
35746
|
+
init_lib();
|
|
35747
|
+
Awss3Credentials$inboundSchema = objectType({
|
|
35748
|
+
key: stringType(),
|
|
35749
|
+
secret: stringType(),
|
|
35750
|
+
session: stringType().optional()
|
|
35751
|
+
});
|
|
35752
|
+
Awss3Credentials$outboundSchema = objectType({
|
|
35753
|
+
key: stringType(),
|
|
35754
|
+
secret: stringType(),
|
|
35755
|
+
session: stringType().optional()
|
|
35756
|
+
});
|
|
35757
|
+
((Awss3Credentials$) => {
|
|
35758
|
+
Awss3Credentials$.inboundSchema = Awss3Credentials$inboundSchema;
|
|
35759
|
+
Awss3Credentials$.outboundSchema = Awss3Credentials$outboundSchema;
|
|
35760
|
+
})(Awss3Credentials$ ||= {});
|
|
35761
|
+
});
|
|
35762
|
+
|
|
35710
35763
|
// src/models/components/awssqsconfig.ts
|
|
35711
35764
|
var AWSSQSConfig$inboundSchema, AWSSQSConfig$outboundSchema, AWSSQSConfig$;
|
|
35712
35765
|
var init_awssqsconfig = __esm(() => {
|
|
@@ -35922,6 +35975,63 @@ var init_destinationawskinesis = __esm(() => {
|
|
|
35922
35975
|
})(DestinationAWSKinesis$ ||= {});
|
|
35923
35976
|
});
|
|
35924
35977
|
|
|
35978
|
+
// src/models/components/destinationawss3.ts
|
|
35979
|
+
var DestinationAwss3Type, DestinationAwss3Type$inboundSchema, DestinationAwss3Type$outboundSchema, DestinationAwss3Type$, DestinationAwss3$inboundSchema, DestinationAwss3$outboundSchema, DestinationAwss3$;
|
|
35980
|
+
var init_destinationawss3 = __esm(() => {
|
|
35981
|
+
init_lib();
|
|
35982
|
+
init_primitives();
|
|
35983
|
+
init_awss3config();
|
|
35984
|
+
init_awss3credentials();
|
|
35985
|
+
init_topics();
|
|
35986
|
+
DestinationAwss3Type = {
|
|
35987
|
+
AwsS3: "aws_s3"
|
|
35988
|
+
};
|
|
35989
|
+
DestinationAwss3Type$inboundSchema = nativeEnumType(DestinationAwss3Type);
|
|
35990
|
+
DestinationAwss3Type$outboundSchema = DestinationAwss3Type$inboundSchema;
|
|
35991
|
+
((DestinationAwss3Type$) => {
|
|
35992
|
+
DestinationAwss3Type$.inboundSchema = DestinationAwss3Type$inboundSchema;
|
|
35993
|
+
DestinationAwss3Type$.outboundSchema = DestinationAwss3Type$outboundSchema;
|
|
35994
|
+
})(DestinationAwss3Type$ ||= {});
|
|
35995
|
+
DestinationAwss3$inboundSchema = objectType({
|
|
35996
|
+
id: stringType(),
|
|
35997
|
+
type: DestinationAwss3Type$inboundSchema,
|
|
35998
|
+
topics: Topics$inboundSchema,
|
|
35999
|
+
disabled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
|
|
36000
|
+
created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
36001
|
+
config: Awss3Config$inboundSchema,
|
|
36002
|
+
credentials: Awss3Credentials$inboundSchema,
|
|
36003
|
+
target: stringType().optional(),
|
|
36004
|
+
target_url: nullableType(stringType()).optional()
|
|
36005
|
+
}).transform((v2) => {
|
|
36006
|
+
return remap(v2, {
|
|
36007
|
+
disabled_at: "disabledAt",
|
|
36008
|
+
created_at: "createdAt",
|
|
36009
|
+
target_url: "targetUrl"
|
|
36010
|
+
});
|
|
36011
|
+
});
|
|
36012
|
+
DestinationAwss3$outboundSchema = objectType({
|
|
36013
|
+
id: stringType(),
|
|
36014
|
+
type: DestinationAwss3Type$outboundSchema,
|
|
36015
|
+
topics: Topics$outboundSchema,
|
|
36016
|
+
disabledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
|
|
36017
|
+
createdAt: dateType().transform((v2) => v2.toISOString()),
|
|
36018
|
+
config: Awss3Config$outboundSchema,
|
|
36019
|
+
credentials: Awss3Credentials$outboundSchema,
|
|
36020
|
+
target: stringType().optional(),
|
|
36021
|
+
targetUrl: nullableType(stringType()).optional()
|
|
36022
|
+
}).transform((v2) => {
|
|
36023
|
+
return remap(v2, {
|
|
36024
|
+
disabledAt: "disabled_at",
|
|
36025
|
+
createdAt: "created_at",
|
|
36026
|
+
targetUrl: "target_url"
|
|
36027
|
+
});
|
|
36028
|
+
});
|
|
36029
|
+
((DestinationAwss3$) => {
|
|
36030
|
+
DestinationAwss3$.inboundSchema = DestinationAwss3$inboundSchema;
|
|
36031
|
+
DestinationAwss3$.outboundSchema = DestinationAwss3$outboundSchema;
|
|
36032
|
+
})(DestinationAwss3$ ||= {});
|
|
36033
|
+
});
|
|
36034
|
+
|
|
35925
36035
|
// src/models/components/destinationawssqs.ts
|
|
35926
36036
|
var DestinationAWSSQSType, DestinationAWSSQSType$inboundSchema, DestinationAWSSQSType$outboundSchema, DestinationAWSSQSType$, DestinationAWSSQS$inboundSchema, DestinationAWSSQS$outboundSchema, DestinationAWSSQS$;
|
|
35927
36037
|
var init_destinationawssqs = __esm(() => {
|
|
@@ -36331,6 +36441,7 @@ var Destination$inboundSchema, Destination$outboundSchema, Destination$;
|
|
|
36331
36441
|
var init_destination = __esm(() => {
|
|
36332
36442
|
init_lib();
|
|
36333
36443
|
init_destinationawskinesis();
|
|
36444
|
+
init_destinationawss3();
|
|
36334
36445
|
init_destinationawssqs();
|
|
36335
36446
|
init_destinationazureservicebus();
|
|
36336
36447
|
init_destinationhookdeck();
|
|
@@ -36352,6 +36463,9 @@ var init_destination = __esm(() => {
|
|
|
36352
36463
|
DestinationAzureServiceBus$inboundSchema.and(objectType({ type: literalType("azure_servicebus") }).transform((v2) => ({
|
|
36353
36464
|
type: v2.type
|
|
36354
36465
|
}))),
|
|
36466
|
+
DestinationAwss3$inboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36467
|
+
type: v2.type
|
|
36468
|
+
}))),
|
|
36355
36469
|
DestinationHookdeck$inboundSchema.and(objectType({ type: literalType("hookdeck") }).transform((v2) => ({
|
|
36356
36470
|
type: v2.type
|
|
36357
36471
|
})))
|
|
@@ -36372,6 +36486,9 @@ var init_destination = __esm(() => {
|
|
|
36372
36486
|
DestinationAzureServiceBus$outboundSchema.and(objectType({ type: literalType("azure_servicebus") }).transform((v2) => ({
|
|
36373
36487
|
type: v2.type
|
|
36374
36488
|
}))),
|
|
36489
|
+
DestinationAwss3$outboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36490
|
+
type: v2.type
|
|
36491
|
+
}))),
|
|
36375
36492
|
DestinationHookdeck$outboundSchema.and(objectType({ type: literalType("hookdeck") }).transform((v2) => ({
|
|
36376
36493
|
type: v2.type
|
|
36377
36494
|
})))
|
|
@@ -36418,6 +36535,42 @@ var init_destinationcreateawskinesis = __esm(() => {
|
|
|
36418
36535
|
})(DestinationCreateAWSKinesis$ ||= {});
|
|
36419
36536
|
});
|
|
36420
36537
|
|
|
36538
|
+
// src/models/components/destinationcreateawss3.ts
|
|
36539
|
+
var DestinationCreateAwss3Type, DestinationCreateAwss3Type$inboundSchema, DestinationCreateAwss3Type$outboundSchema, DestinationCreateAwss3Type$, DestinationCreateAwss3$inboundSchema, DestinationCreateAwss3$outboundSchema, DestinationCreateAwss3$;
|
|
36540
|
+
var init_destinationcreateawss3 = __esm(() => {
|
|
36541
|
+
init_lib();
|
|
36542
|
+
init_awss3config();
|
|
36543
|
+
init_awss3credentials();
|
|
36544
|
+
init_topics();
|
|
36545
|
+
DestinationCreateAwss3Type = {
|
|
36546
|
+
AwsS3: "aws_s3"
|
|
36547
|
+
};
|
|
36548
|
+
DestinationCreateAwss3Type$inboundSchema = nativeEnumType(DestinationCreateAwss3Type);
|
|
36549
|
+
DestinationCreateAwss3Type$outboundSchema = DestinationCreateAwss3Type$inboundSchema;
|
|
36550
|
+
((DestinationCreateAwss3Type$) => {
|
|
36551
|
+
DestinationCreateAwss3Type$.inboundSchema = DestinationCreateAwss3Type$inboundSchema;
|
|
36552
|
+
DestinationCreateAwss3Type$.outboundSchema = DestinationCreateAwss3Type$outboundSchema;
|
|
36553
|
+
})(DestinationCreateAwss3Type$ ||= {});
|
|
36554
|
+
DestinationCreateAwss3$inboundSchema = objectType({
|
|
36555
|
+
id: stringType().optional(),
|
|
36556
|
+
type: DestinationCreateAwss3Type$inboundSchema,
|
|
36557
|
+
topics: Topics$inboundSchema,
|
|
36558
|
+
config: Awss3Config$inboundSchema,
|
|
36559
|
+
credentials: Awss3Credentials$inboundSchema
|
|
36560
|
+
});
|
|
36561
|
+
DestinationCreateAwss3$outboundSchema = objectType({
|
|
36562
|
+
id: stringType().optional(),
|
|
36563
|
+
type: DestinationCreateAwss3Type$outboundSchema,
|
|
36564
|
+
topics: Topics$outboundSchema,
|
|
36565
|
+
config: Awss3Config$outboundSchema,
|
|
36566
|
+
credentials: Awss3Credentials$outboundSchema
|
|
36567
|
+
});
|
|
36568
|
+
((DestinationCreateAwss3$) => {
|
|
36569
|
+
DestinationCreateAwss3$.inboundSchema = DestinationCreateAwss3$inboundSchema;
|
|
36570
|
+
DestinationCreateAwss3$.outboundSchema = DestinationCreateAwss3$outboundSchema;
|
|
36571
|
+
})(DestinationCreateAwss3$ ||= {});
|
|
36572
|
+
});
|
|
36573
|
+
|
|
36421
36574
|
// src/models/components/destinationcreateawssqs.ts
|
|
36422
36575
|
var DestinationCreateAWSSQSType, DestinationCreateAWSSQSType$inboundSchema, DestinationCreateAWSSQSType$outboundSchema, DestinationCreateAWSSQSType$, DestinationCreateAWSSQS$inboundSchema, DestinationCreateAWSSQS$outboundSchema, DestinationCreateAWSSQS$;
|
|
36423
36576
|
var init_destinationcreateawssqs = __esm(() => {
|
|
@@ -36602,6 +36755,7 @@ var DestinationCreate$inboundSchema, DestinationCreate$outboundSchema, Destinati
|
|
|
36602
36755
|
var init_destinationcreate = __esm(() => {
|
|
36603
36756
|
init_lib();
|
|
36604
36757
|
init_destinationcreateawskinesis();
|
|
36758
|
+
init_destinationcreateawss3();
|
|
36605
36759
|
init_destinationcreateawssqs();
|
|
36606
36760
|
init_destinationcreateazureservicebus();
|
|
36607
36761
|
init_destinationcreatehookdeck();
|
|
@@ -36620,6 +36774,9 @@ var init_destinationcreate = __esm(() => {
|
|
|
36620
36774
|
DestinationCreateAzureServiceBus$inboundSchema.and(objectType({ type: literalType("azure_servicebus") }).transform((v2) => ({
|
|
36621
36775
|
type: v2.type
|
|
36622
36776
|
}))),
|
|
36777
|
+
DestinationCreateAwss3$inboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36778
|
+
type: v2.type
|
|
36779
|
+
}))),
|
|
36623
36780
|
DestinationCreateWebhook$inboundSchema.and(objectType({ type: literalType("webhook") }).transform((v2) => ({
|
|
36624
36781
|
type: v2.type
|
|
36625
36782
|
}))),
|
|
@@ -36640,6 +36797,9 @@ var init_destinationcreate = __esm(() => {
|
|
|
36640
36797
|
DestinationCreateAzureServiceBus$outboundSchema.and(objectType({ type: literalType("azure_servicebus") }).transform((v2) => ({
|
|
36641
36798
|
type: v2.type
|
|
36642
36799
|
}))),
|
|
36800
|
+
DestinationCreateAwss3$outboundSchema.and(objectType({ type: literalType("aws_s3") }).transform((v2) => ({
|
|
36801
|
+
type: v2.type
|
|
36802
|
+
}))),
|
|
36643
36803
|
DestinationCreateWebhook$outboundSchema.and(objectType({ type: literalType("webhook") }).transform((v2) => ({
|
|
36644
36804
|
type: v2.type
|
|
36645
36805
|
}))),
|
|
@@ -36762,6 +36922,29 @@ var init_destinationupdateawskinesis = __esm(() => {
|
|
|
36762
36922
|
})(DestinationUpdateAWSKinesis$ ||= {});
|
|
36763
36923
|
});
|
|
36764
36924
|
|
|
36925
|
+
// src/models/components/destinationupdateawss3.ts
|
|
36926
|
+
var DestinationUpdateAwss3$inboundSchema, DestinationUpdateAwss3$outboundSchema, DestinationUpdateAwss3$;
|
|
36927
|
+
var init_destinationupdateawss3 = __esm(() => {
|
|
36928
|
+
init_lib();
|
|
36929
|
+
init_awss3config();
|
|
36930
|
+
init_awss3credentials();
|
|
36931
|
+
init_topics();
|
|
36932
|
+
DestinationUpdateAwss3$inboundSchema = objectType({
|
|
36933
|
+
topics: Topics$inboundSchema.optional(),
|
|
36934
|
+
config: Awss3Config$inboundSchema.optional(),
|
|
36935
|
+
credentials: Awss3Credentials$inboundSchema.optional()
|
|
36936
|
+
});
|
|
36937
|
+
DestinationUpdateAwss3$outboundSchema = objectType({
|
|
36938
|
+
topics: Topics$outboundSchema.optional(),
|
|
36939
|
+
config: Awss3Config$outboundSchema.optional(),
|
|
36940
|
+
credentials: Awss3Credentials$outboundSchema.optional()
|
|
36941
|
+
});
|
|
36942
|
+
((DestinationUpdateAwss3$) => {
|
|
36943
|
+
DestinationUpdateAwss3$.inboundSchema = DestinationUpdateAwss3$inboundSchema;
|
|
36944
|
+
DestinationUpdateAwss3$.outboundSchema = DestinationUpdateAwss3$outboundSchema;
|
|
36945
|
+
})(DestinationUpdateAwss3$ ||= {});
|
|
36946
|
+
});
|
|
36947
|
+
|
|
36765
36948
|
// src/models/components/destinationupdateawssqs.ts
|
|
36766
36949
|
var DestinationUpdateAWSSQS$inboundSchema, DestinationUpdateAWSSQS$outboundSchema, DestinationUpdateAWSSQS$;
|
|
36767
36950
|
var init_destinationupdateawssqs = __esm(() => {
|
|
@@ -36893,6 +37076,7 @@ var DestinationUpdate$inboundSchema, DestinationUpdate$outboundSchema, Destinati
|
|
|
36893
37076
|
var init_destinationupdate = __esm(() => {
|
|
36894
37077
|
init_lib();
|
|
36895
37078
|
init_destinationupdateawskinesis();
|
|
37079
|
+
init_destinationupdateawss3();
|
|
36896
37080
|
init_destinationupdateawssqs();
|
|
36897
37081
|
init_destinationupdatehookdeck();
|
|
36898
37082
|
init_destinationupdaterabbitmq();
|
|
@@ -36902,14 +37086,16 @@ var init_destinationupdate = __esm(() => {
|
|
|
36902
37086
|
DestinationUpdateAWSSQS$inboundSchema,
|
|
36903
37087
|
DestinationUpdateRabbitMQ$inboundSchema,
|
|
36904
37088
|
DestinationUpdateHookdeck$inboundSchema,
|
|
36905
|
-
DestinationUpdateAWSKinesis$inboundSchema
|
|
37089
|
+
DestinationUpdateAWSKinesis$inboundSchema,
|
|
37090
|
+
DestinationUpdateAwss3$inboundSchema
|
|
36906
37091
|
]);
|
|
36907
37092
|
DestinationUpdate$outboundSchema = unionType([
|
|
36908
37093
|
DestinationUpdateWebhook$outboundSchema,
|
|
36909
37094
|
DestinationUpdateAWSSQS$outboundSchema,
|
|
36910
37095
|
DestinationUpdateRabbitMQ$outboundSchema,
|
|
36911
37096
|
DestinationUpdateHookdeck$outboundSchema,
|
|
36912
|
-
DestinationUpdateAWSKinesis$outboundSchema
|
|
37097
|
+
DestinationUpdateAWSKinesis$outboundSchema,
|
|
37098
|
+
DestinationUpdateAwss3$outboundSchema
|
|
36913
37099
|
]);
|
|
36914
37100
|
((DestinationUpdate$) => {
|
|
36915
37101
|
DestinationUpdate$.inboundSchema = DestinationUpdate$inboundSchema;
|
|
@@ -37136,6 +37322,8 @@ var init_tenanttoken = __esm(() => {
|
|
|
37136
37322
|
var init_components = __esm(() => {
|
|
37137
37323
|
init_awskinesisconfig();
|
|
37138
37324
|
init_awskinesiscredentials();
|
|
37325
|
+
init_awss3config();
|
|
37326
|
+
init_awss3credentials();
|
|
37139
37327
|
init_awssqsconfig();
|
|
37140
37328
|
init_awssqscredentials();
|
|
37141
37329
|
init_azureservicebusconfig();
|
|
@@ -37143,10 +37331,12 @@ var init_components = __esm(() => {
|
|
|
37143
37331
|
init_deliveryattempt();
|
|
37144
37332
|
init_destination();
|
|
37145
37333
|
init_destinationawskinesis();
|
|
37334
|
+
init_destinationawss3();
|
|
37146
37335
|
init_destinationawssqs();
|
|
37147
37336
|
init_destinationazureservicebus();
|
|
37148
37337
|
init_destinationcreate();
|
|
37149
37338
|
init_destinationcreateawskinesis();
|
|
37339
|
+
init_destinationcreateawss3();
|
|
37150
37340
|
init_destinationcreateawssqs();
|
|
37151
37341
|
init_destinationcreateazureservicebus();
|
|
37152
37342
|
init_destinationcreatehookdeck();
|
|
@@ -37158,6 +37348,7 @@ var init_components = __esm(() => {
|
|
|
37158
37348
|
init_destinationtypeschema();
|
|
37159
37349
|
init_destinationupdate();
|
|
37160
37350
|
init_destinationupdateawskinesis();
|
|
37351
|
+
init_destinationupdateawss3();
|
|
37161
37352
|
init_destinationupdateawssqs();
|
|
37162
37353
|
init_destinationupdatehookdeck();
|
|
37163
37354
|
init_destinationupdaterabbitmq();
|
|
@@ -37729,7 +37920,8 @@ var init_getdestinationtypeschema = __esm(() => {
|
|
|
37729
37920
|
AwsSqs: "aws_sqs",
|
|
37730
37921
|
Rabbitmq: "rabbitmq",
|
|
37731
37922
|
Hookdeck: "hookdeck",
|
|
37732
|
-
AwsKinesis: "aws_kinesis"
|
|
37923
|
+
AwsKinesis: "aws_kinesis",
|
|
37924
|
+
AwsS3: "aws_s3"
|
|
37733
37925
|
};
|
|
37734
37926
|
GetDestinationTypeSchemaType$inboundSchema = nativeEnumType(GetDestinationTypeSchemaType);
|
|
37735
37927
|
GetDestinationTypeSchemaType$outboundSchema = GetDestinationTypeSchemaType$inboundSchema;
|
|
@@ -37849,7 +38041,8 @@ var init_gettenantdestinationtypeschema = __esm(() => {
|
|
|
37849
38041
|
AwsSqs: "aws_sqs",
|
|
37850
38042
|
Rabbitmq: "rabbitmq",
|
|
37851
38043
|
Hookdeck: "hookdeck",
|
|
37852
|
-
AwsKinesis: "aws_kinesis"
|
|
38044
|
+
AwsKinesis: "aws_kinesis",
|
|
38045
|
+
AwsS3: "aws_s3"
|
|
37853
38046
|
};
|
|
37854
38047
|
GetTenantDestinationTypeSchemaGlobals$inboundSchema = objectType({
|
|
37855
38048
|
tenant_id: stringType().optional()
|
|
@@ -38103,14 +38296,16 @@ var init_listtenantdestinations = __esm(() => {
|
|
|
38103
38296
|
AwsSqs: "aws_sqs",
|
|
38104
38297
|
Rabbitmq: "rabbitmq",
|
|
38105
38298
|
Hookdeck: "hookdeck",
|
|
38106
|
-
AwsKinesis: "aws_kinesis"
|
|
38299
|
+
AwsKinesis: "aws_kinesis",
|
|
38300
|
+
AwsS3: "aws_s3"
|
|
38107
38301
|
};
|
|
38108
38302
|
ListTenantDestinationsTypeEnum1 = {
|
|
38109
38303
|
Webhook: "webhook",
|
|
38110
38304
|
AwsSqs: "aws_sqs",
|
|
38111
38305
|
Rabbitmq: "rabbitmq",
|
|
38112
38306
|
Hookdeck: "hookdeck",
|
|
38113
|
-
AwsKinesis: "aws_kinesis"
|
|
38307
|
+
AwsKinesis: "aws_kinesis",
|
|
38308
|
+
AwsS3: "aws_s3"
|
|
38114
38309
|
};
|
|
38115
38310
|
ListTenantDestinationsGlobals$inboundSchema = objectType({
|
|
38116
38311
|
tenant_id: stringType().optional()
|
|
@@ -38281,10 +38476,11 @@ var init_listtenanteventdeliveries = __esm(() => {
|
|
|
38281
38476
|
});
|
|
38282
38477
|
|
|
38283
38478
|
// src/models/operations/listtenantevents.ts
|
|
38284
|
-
var ListTenantEventsStatus, ListTenantEventsGlobals$inboundSchema, ListTenantEventsGlobals$outboundSchema, ListTenantEventsGlobals$, DestinationId$inboundSchema, DestinationId$outboundSchema, DestinationId$, ListTenantEventsStatus$inboundSchema, ListTenantEventsStatus$outboundSchema, ListTenantEventsStatus$, ListTenantEventsRequest$inboundSchema, ListTenantEventsRequest$outboundSchema, ListTenantEventsRequest$;
|
|
38479
|
+
var ListTenantEventsStatus, ListTenantEventsGlobals$inboundSchema, ListTenantEventsGlobals$outboundSchema, ListTenantEventsGlobals$, DestinationId$inboundSchema, DestinationId$outboundSchema, DestinationId$, ListTenantEventsStatus$inboundSchema, ListTenantEventsStatus$outboundSchema, ListTenantEventsStatus$, ListTenantEventsRequest$inboundSchema, ListTenantEventsRequest$outboundSchema, ListTenantEventsRequest$, ListTenantEventsResponseBody$inboundSchema, ListTenantEventsResponseBody$outboundSchema, ListTenantEventsResponseBody$, ListTenantEventsResponse$inboundSchema, ListTenantEventsResponse$outboundSchema, ListTenantEventsResponse$;
|
|
38285
38480
|
var init_listtenantevents = __esm(() => {
|
|
38286
38481
|
init_lib();
|
|
38287
38482
|
init_primitives();
|
|
38483
|
+
init_components();
|
|
38288
38484
|
ListTenantEventsStatus = {
|
|
38289
38485
|
Success: "success",
|
|
38290
38486
|
Failed: "failed"
|
|
@@ -38322,7 +38518,12 @@ var init_listtenantevents = __esm(() => {
|
|
|
38322
38518
|
ListTenantEventsRequest$inboundSchema = objectType({
|
|
38323
38519
|
tenant_id: stringType().optional(),
|
|
38324
38520
|
destination_id: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
38325
|
-
status: ListTenantEventsStatus$inboundSchema.optional()
|
|
38521
|
+
status: ListTenantEventsStatus$inboundSchema.optional(),
|
|
38522
|
+
next: stringType().optional(),
|
|
38523
|
+
prev: stringType().optional(),
|
|
38524
|
+
limit: numberType().int().default(100),
|
|
38525
|
+
start: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
38526
|
+
end: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
38326
38527
|
}).transform((v2) => {
|
|
38327
38528
|
return remap(v2, {
|
|
38328
38529
|
tenant_id: "tenantId",
|
|
@@ -38332,7 +38533,12 @@ var init_listtenantevents = __esm(() => {
|
|
|
38332
38533
|
ListTenantEventsRequest$outboundSchema = objectType({
|
|
38333
38534
|
tenantId: stringType().optional(),
|
|
38334
38535
|
destinationId: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
38335
|
-
status: ListTenantEventsStatus$outboundSchema.optional()
|
|
38536
|
+
status: ListTenantEventsStatus$outboundSchema.optional(),
|
|
38537
|
+
next: stringType().optional(),
|
|
38538
|
+
prev: stringType().optional(),
|
|
38539
|
+
limit: numberType().int().default(100),
|
|
38540
|
+
start: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
38541
|
+
end: dateType().transform((v2) => v2.toISOString()).optional()
|
|
38336
38542
|
}).transform((v2) => {
|
|
38337
38543
|
return remap(v2, {
|
|
38338
38544
|
tenantId: "tenant_id",
|
|
@@ -38343,13 +38549,58 @@ var init_listtenantevents = __esm(() => {
|
|
|
38343
38549
|
ListTenantEventsRequest$.inboundSchema = ListTenantEventsRequest$inboundSchema;
|
|
38344
38550
|
ListTenantEventsRequest$.outboundSchema = ListTenantEventsRequest$outboundSchema;
|
|
38345
38551
|
})(ListTenantEventsRequest$ ||= {});
|
|
38552
|
+
ListTenantEventsResponseBody$inboundSchema = objectType({
|
|
38553
|
+
count: numberType().int(),
|
|
38554
|
+
data: arrayType(Event$inboundSchema),
|
|
38555
|
+
next: stringType(),
|
|
38556
|
+
prev: stringType()
|
|
38557
|
+
}).transform((v2) => {
|
|
38558
|
+
return remap(v2, {
|
|
38559
|
+
next: "nextCursor",
|
|
38560
|
+
prev: "prevCursor"
|
|
38561
|
+
});
|
|
38562
|
+
});
|
|
38563
|
+
ListTenantEventsResponseBody$outboundSchema = objectType({
|
|
38564
|
+
count: numberType().int(),
|
|
38565
|
+
data: arrayType(Event$outboundSchema),
|
|
38566
|
+
nextCursor: stringType(),
|
|
38567
|
+
prevCursor: stringType()
|
|
38568
|
+
}).transform((v2) => {
|
|
38569
|
+
return remap(v2, {
|
|
38570
|
+
nextCursor: "next",
|
|
38571
|
+
prevCursor: "prev"
|
|
38572
|
+
});
|
|
38573
|
+
});
|
|
38574
|
+
((ListTenantEventsResponseBody$) => {
|
|
38575
|
+
ListTenantEventsResponseBody$.inboundSchema = ListTenantEventsResponseBody$inboundSchema;
|
|
38576
|
+
ListTenantEventsResponseBody$.outboundSchema = ListTenantEventsResponseBody$outboundSchema;
|
|
38577
|
+
})(ListTenantEventsResponseBody$ ||= {});
|
|
38578
|
+
ListTenantEventsResponse$inboundSchema = objectType({
|
|
38579
|
+
Result: lazyType(() => ListTenantEventsResponseBody$inboundSchema)
|
|
38580
|
+
}).transform((v2) => {
|
|
38581
|
+
return remap(v2, {
|
|
38582
|
+
Result: "result"
|
|
38583
|
+
});
|
|
38584
|
+
});
|
|
38585
|
+
ListTenantEventsResponse$outboundSchema = objectType({
|
|
38586
|
+
result: lazyType(() => ListTenantEventsResponseBody$outboundSchema)
|
|
38587
|
+
}).transform((v2) => {
|
|
38588
|
+
return remap(v2, {
|
|
38589
|
+
result: "Result"
|
|
38590
|
+
});
|
|
38591
|
+
});
|
|
38592
|
+
((ListTenantEventsResponse$) => {
|
|
38593
|
+
ListTenantEventsResponse$.inboundSchema = ListTenantEventsResponse$inboundSchema;
|
|
38594
|
+
ListTenantEventsResponse$.outboundSchema = ListTenantEventsResponse$outboundSchema;
|
|
38595
|
+
})(ListTenantEventsResponse$ ||= {});
|
|
38346
38596
|
});
|
|
38347
38597
|
|
|
38348
38598
|
// src/models/operations/listtenanteventsbydestination.ts
|
|
38349
|
-
var ListTenantEventsByDestinationStatus, ListTenantEventsByDestinationGlobals$inboundSchema, ListTenantEventsByDestinationGlobals$outboundSchema, ListTenantEventsByDestinationGlobals$, ListTenantEventsByDestinationStatus$inboundSchema, ListTenantEventsByDestinationStatus$outboundSchema, ListTenantEventsByDestinationStatus$, ListTenantEventsByDestinationRequest$inboundSchema, ListTenantEventsByDestinationRequest$outboundSchema, ListTenantEventsByDestinationRequest$;
|
|
38599
|
+
var ListTenantEventsByDestinationStatus, ListTenantEventsByDestinationGlobals$inboundSchema, ListTenantEventsByDestinationGlobals$outboundSchema, ListTenantEventsByDestinationGlobals$, ListTenantEventsByDestinationStatus$inboundSchema, ListTenantEventsByDestinationStatus$outboundSchema, ListTenantEventsByDestinationStatus$, ListTenantEventsByDestinationRequest$inboundSchema, ListTenantEventsByDestinationRequest$outboundSchema, ListTenantEventsByDestinationRequest$, ListTenantEventsByDestinationResponseBody$inboundSchema, ListTenantEventsByDestinationResponseBody$outboundSchema, ListTenantEventsByDestinationResponseBody$, ListTenantEventsByDestinationResponse$inboundSchema, ListTenantEventsByDestinationResponse$outboundSchema, ListTenantEventsByDestinationResponse$;
|
|
38350
38600
|
var init_listtenanteventsbydestination = __esm(() => {
|
|
38351
38601
|
init_lib();
|
|
38352
38602
|
init_primitives();
|
|
38603
|
+
init_components();
|
|
38353
38604
|
ListTenantEventsByDestinationStatus = {
|
|
38354
38605
|
Success: "success",
|
|
38355
38606
|
Failed: "failed"
|
|
@@ -38381,7 +38632,12 @@ var init_listtenanteventsbydestination = __esm(() => {
|
|
|
38381
38632
|
ListTenantEventsByDestinationRequest$inboundSchema = objectType({
|
|
38382
38633
|
tenant_id: stringType().optional(),
|
|
38383
38634
|
destination_id: stringType(),
|
|
38384
|
-
status: ListTenantEventsByDestinationStatus$inboundSchema.optional()
|
|
38635
|
+
status: ListTenantEventsByDestinationStatus$inboundSchema.optional(),
|
|
38636
|
+
next: stringType().optional(),
|
|
38637
|
+
prev: stringType().optional(),
|
|
38638
|
+
limit: numberType().int().default(100),
|
|
38639
|
+
start: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
38640
|
+
end: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
38385
38641
|
}).transform((v2) => {
|
|
38386
38642
|
return remap(v2, {
|
|
38387
38643
|
tenant_id: "tenantId",
|
|
@@ -38391,7 +38647,12 @@ var init_listtenanteventsbydestination = __esm(() => {
|
|
|
38391
38647
|
ListTenantEventsByDestinationRequest$outboundSchema = objectType({
|
|
38392
38648
|
tenantId: stringType().optional(),
|
|
38393
38649
|
destinationId: stringType(),
|
|
38394
|
-
status: ListTenantEventsByDestinationStatus$outboundSchema.optional()
|
|
38650
|
+
status: ListTenantEventsByDestinationStatus$outboundSchema.optional(),
|
|
38651
|
+
next: stringType().optional(),
|
|
38652
|
+
prev: stringType().optional(),
|
|
38653
|
+
limit: numberType().int().default(100),
|
|
38654
|
+
start: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
38655
|
+
end: dateType().transform((v2) => v2.toISOString()).optional()
|
|
38395
38656
|
}).transform((v2) => {
|
|
38396
38657
|
return remap(v2, {
|
|
38397
38658
|
tenantId: "tenant_id",
|
|
@@ -38402,6 +38663,50 @@ var init_listtenanteventsbydestination = __esm(() => {
|
|
|
38402
38663
|
ListTenantEventsByDestinationRequest$.inboundSchema = ListTenantEventsByDestinationRequest$inboundSchema;
|
|
38403
38664
|
ListTenantEventsByDestinationRequest$.outboundSchema = ListTenantEventsByDestinationRequest$outboundSchema;
|
|
38404
38665
|
})(ListTenantEventsByDestinationRequest$ ||= {});
|
|
38666
|
+
ListTenantEventsByDestinationResponseBody$inboundSchema = objectType({
|
|
38667
|
+
count: numberType().int(),
|
|
38668
|
+
data: arrayType(Event$inboundSchema),
|
|
38669
|
+
next: stringType(),
|
|
38670
|
+
prev: stringType()
|
|
38671
|
+
}).transform((v2) => {
|
|
38672
|
+
return remap(v2, {
|
|
38673
|
+
next: "nextCursor",
|
|
38674
|
+
prev: "prevCursor"
|
|
38675
|
+
});
|
|
38676
|
+
});
|
|
38677
|
+
ListTenantEventsByDestinationResponseBody$outboundSchema = objectType({
|
|
38678
|
+
count: numberType().int(),
|
|
38679
|
+
data: arrayType(Event$outboundSchema),
|
|
38680
|
+
nextCursor: stringType(),
|
|
38681
|
+
prevCursor: stringType()
|
|
38682
|
+
}).transform((v2) => {
|
|
38683
|
+
return remap(v2, {
|
|
38684
|
+
nextCursor: "next",
|
|
38685
|
+
prevCursor: "prev"
|
|
38686
|
+
});
|
|
38687
|
+
});
|
|
38688
|
+
((ListTenantEventsByDestinationResponseBody$) => {
|
|
38689
|
+
ListTenantEventsByDestinationResponseBody$.inboundSchema = ListTenantEventsByDestinationResponseBody$inboundSchema;
|
|
38690
|
+
ListTenantEventsByDestinationResponseBody$.outboundSchema = ListTenantEventsByDestinationResponseBody$outboundSchema;
|
|
38691
|
+
})(ListTenantEventsByDestinationResponseBody$ ||= {});
|
|
38692
|
+
ListTenantEventsByDestinationResponse$inboundSchema = objectType({
|
|
38693
|
+
Result: lazyType(() => ListTenantEventsByDestinationResponseBody$inboundSchema)
|
|
38694
|
+
}).transform((v2) => {
|
|
38695
|
+
return remap(v2, {
|
|
38696
|
+
Result: "result"
|
|
38697
|
+
});
|
|
38698
|
+
});
|
|
38699
|
+
ListTenantEventsByDestinationResponse$outboundSchema = objectType({
|
|
38700
|
+
result: lazyType(() => ListTenantEventsByDestinationResponseBody$outboundSchema)
|
|
38701
|
+
}).transform((v2) => {
|
|
38702
|
+
return remap(v2, {
|
|
38703
|
+
result: "Result"
|
|
38704
|
+
});
|
|
38705
|
+
});
|
|
38706
|
+
((ListTenantEventsByDestinationResponse$) => {
|
|
38707
|
+
ListTenantEventsByDestinationResponse$.inboundSchema = ListTenantEventsByDestinationResponse$inboundSchema;
|
|
38708
|
+
ListTenantEventsByDestinationResponse$.outboundSchema = ListTenantEventsByDestinationResponse$outboundSchema;
|
|
38709
|
+
})(ListTenantEventsByDestinationResponse$ ||= {});
|
|
38405
38710
|
});
|
|
38406
38711
|
|
|
38407
38712
|
// src/models/operations/listtenanttopics.ts
|
|
@@ -39869,6 +40174,48 @@ Retrieves a specific event associated with a specific destination for the tenant
|
|
|
39869
40174
|
};
|
|
39870
40175
|
});
|
|
39871
40176
|
|
|
40177
|
+
// src/lib/dlv.ts
|
|
40178
|
+
function dlv(obj, key, def, p, undef) {
|
|
40179
|
+
key = Array.isArray(key) ? key : key.split(".");
|
|
40180
|
+
for (p = 0;p < key.length; p++) {
|
|
40181
|
+
const k2 = key[p];
|
|
40182
|
+
obj = k2 != null && obj ? obj[k2] : undef;
|
|
40183
|
+
}
|
|
40184
|
+
return obj === undef ? def : obj;
|
|
40185
|
+
}
|
|
40186
|
+
|
|
40187
|
+
// src/types/operations.ts
|
|
40188
|
+
function createPageIterator(page, halt) {
|
|
40189
|
+
return {
|
|
40190
|
+
[Symbol.asyncIterator]: async function* paginator() {
|
|
40191
|
+
yield page;
|
|
40192
|
+
if (halt(page)) {
|
|
40193
|
+
return;
|
|
40194
|
+
}
|
|
40195
|
+
let p = page;
|
|
40196
|
+
for (p = await p.next();p != null; p = await p.next()) {
|
|
40197
|
+
yield p;
|
|
40198
|
+
if (halt(p)) {
|
|
40199
|
+
return;
|
|
40200
|
+
}
|
|
40201
|
+
}
|
|
40202
|
+
}
|
|
40203
|
+
};
|
|
40204
|
+
}
|
|
40205
|
+
function haltIterator(v2) {
|
|
40206
|
+
return {
|
|
40207
|
+
...v2,
|
|
40208
|
+
next: () => null,
|
|
40209
|
+
[Symbol.asyncIterator]: async function* paginator() {
|
|
40210
|
+
yield v2;
|
|
40211
|
+
}
|
|
40212
|
+
};
|
|
40213
|
+
}
|
|
40214
|
+
var URL_OVERRIDE;
|
|
40215
|
+
var init_operations2 = __esm(() => {
|
|
40216
|
+
URL_OVERRIDE = Symbol("URL_OVERRIDE");
|
|
40217
|
+
});
|
|
40218
|
+
|
|
39872
40219
|
// src/funcs/eventsList.ts
|
|
39873
40220
|
function eventsList(client, request, options) {
|
|
39874
40221
|
return new APIPromise($do10(client, request, options));
|
|
@@ -39876,7 +40223,7 @@ function eventsList(client, request, options) {
|
|
|
39876
40223
|
async function $do10(client, request, options) {
|
|
39877
40224
|
const parsed = safeParse(request, (value) => ListTenantEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
39878
40225
|
if (!parsed.ok) {
|
|
39879
|
-
return [parsed, { status: "invalid" }];
|
|
40226
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
39880
40227
|
}
|
|
39881
40228
|
const payload = parsed.value;
|
|
39882
40229
|
const body = null;
|
|
@@ -39886,6 +40233,11 @@ async function $do10(client, request, options) {
|
|
|
39886
40233
|
const path = pathToFunc("/{tenant_id}/events")(pathParams);
|
|
39887
40234
|
const query = encodeFormQuery({
|
|
39888
40235
|
destination_id: payload.destination_id,
|
|
40236
|
+
end: payload.end,
|
|
40237
|
+
limit: payload.limit,
|
|
40238
|
+
next: payload.next,
|
|
40239
|
+
prev: payload.prev,
|
|
40240
|
+
start: payload.start,
|
|
39889
40241
|
status: payload.status
|
|
39890
40242
|
});
|
|
39891
40243
|
const headers = new Headers(compactMap({
|
|
@@ -39915,7 +40267,7 @@ async function $do10(client, request, options) {
|
|
|
39915
40267
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
39916
40268
|
}, options);
|
|
39917
40269
|
if (!requestRes.ok) {
|
|
39918
|
-
return [requestRes, { status: "invalid" }];
|
|
40270
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
39919
40271
|
}
|
|
39920
40272
|
const req = requestRes.value;
|
|
39921
40273
|
const doResult = await client._do(req, {
|
|
@@ -39951,30 +40303,62 @@ async function $do10(client, request, options) {
|
|
|
39951
40303
|
retryCodes: context.retryCodes
|
|
39952
40304
|
});
|
|
39953
40305
|
if (!doResult.ok) {
|
|
39954
|
-
return [doResult, { status: "request-error", request: req }];
|
|
40306
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
39955
40307
|
}
|
|
39956
40308
|
const response = doResult.value;
|
|
39957
40309
|
const responseFields = {
|
|
39958
40310
|
HttpMeta: { Response: response, Request: req }
|
|
39959
40311
|
};
|
|
39960
|
-
const [result] = await match(json(200,
|
|
40312
|
+
const [result, raw] = await match(json(200, ListTenantEventsResponse$inboundSchema, {
|
|
40313
|
+
key: "Result"
|
|
40314
|
+
}), jsonErr([401, 403, 407], UnauthorizedError$inboundSchema), jsonErr(408, TimeoutError$inboundSchema), jsonErr(429, RateLimitedError$inboundSchema), jsonErr([400, 413, 414, 415, 422, 431], BadRequestError$inboundSchema), jsonErr(504, TimeoutError$inboundSchema), jsonErr([501, 505], NotFoundError$inboundSchema), jsonErr([500, 502, 503, 506, 507, 508], InternalServerError$inboundSchema), jsonErr(510, BadRequestError$inboundSchema), jsonErr(511, UnauthorizedError$inboundSchema), fail([404, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
39961
40315
|
if (!result.ok) {
|
|
39962
|
-
return [result, {
|
|
39963
|
-
|
|
39964
|
-
|
|
40316
|
+
return [haltIterator(result), {
|
|
40317
|
+
status: "complete",
|
|
40318
|
+
request: req,
|
|
40319
|
+
response
|
|
40320
|
+
}];
|
|
40321
|
+
}
|
|
40322
|
+
const nextFunc = (responseData) => {
|
|
40323
|
+
const nextCursor = dlv(responseData, "next");
|
|
40324
|
+
if (typeof nextCursor !== "string") {
|
|
40325
|
+
return { next: () => null };
|
|
40326
|
+
}
|
|
40327
|
+
if (nextCursor.trim() === "") {
|
|
40328
|
+
return { next: () => null };
|
|
40329
|
+
}
|
|
40330
|
+
const results = dlv(responseData, "data");
|
|
40331
|
+
if (!Array.isArray(results) || !results.length) {
|
|
40332
|
+
return { next: () => null };
|
|
40333
|
+
}
|
|
40334
|
+
const limit = request?.limit ?? 100;
|
|
40335
|
+
if (results.length < limit) {
|
|
40336
|
+
return { next: () => null };
|
|
40337
|
+
}
|
|
40338
|
+
const nextVal = () => eventsList(client, {
|
|
40339
|
+
...request,
|
|
40340
|
+
next: nextCursor
|
|
40341
|
+
}, options);
|
|
40342
|
+
return { next: nextVal, "~next": { cursor: nextCursor } };
|
|
40343
|
+
};
|
|
40344
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
40345
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
40346
|
+
status: "complete",
|
|
40347
|
+
request: req,
|
|
40348
|
+
response
|
|
40349
|
+
}];
|
|
39965
40350
|
}
|
|
39966
40351
|
var init_eventsList = __esm(() => {
|
|
39967
|
-
init_lib();
|
|
39968
40352
|
init_encodings();
|
|
39969
40353
|
init_matchers();
|
|
39970
40354
|
init_primitives();
|
|
39971
40355
|
init_schemas();
|
|
39972
40356
|
init_security();
|
|
39973
40357
|
init_url();
|
|
39974
|
-
init_components();
|
|
39975
40358
|
init_errors();
|
|
39976
40359
|
init_operations();
|
|
39977
40360
|
init_async();
|
|
40361
|
+
init_operations2();
|
|
39978
40362
|
});
|
|
39979
40363
|
|
|
39980
40364
|
// src/mcp-server/tools/eventsList.ts
|
|
@@ -40000,7 +40384,7 @@ Retrieves a list of events for the tenant, supporting cursor navigation (details
|
|
|
40000
40384
|
isError: true
|
|
40001
40385
|
};
|
|
40002
40386
|
}
|
|
40003
|
-
const value = result.value;
|
|
40387
|
+
const value = result.value.result;
|
|
40004
40388
|
return formatResult(value, apiCall);
|
|
40005
40389
|
}
|
|
40006
40390
|
};
|
|
@@ -40013,7 +40397,7 @@ function eventsListByDestination(client, request, options) {
|
|
|
40013
40397
|
async function $do11(client, request, options) {
|
|
40014
40398
|
const parsed = safeParse(request, (value) => ListTenantEventsByDestinationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
40015
40399
|
if (!parsed.ok) {
|
|
40016
|
-
return [parsed, { status: "invalid" }];
|
|
40400
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
40017
40401
|
}
|
|
40018
40402
|
const payload = parsed.value;
|
|
40019
40403
|
const body = null;
|
|
@@ -40026,6 +40410,11 @@ async function $do11(client, request, options) {
|
|
|
40026
40410
|
};
|
|
40027
40411
|
const path = pathToFunc("/{tenant_id}/destinations/{destination_id}/events")(pathParams);
|
|
40028
40412
|
const query = encodeFormQuery({
|
|
40413
|
+
end: payload.end,
|
|
40414
|
+
limit: payload.limit,
|
|
40415
|
+
next: payload.next,
|
|
40416
|
+
prev: payload.prev,
|
|
40417
|
+
start: payload.start,
|
|
40029
40418
|
status: payload.status
|
|
40030
40419
|
});
|
|
40031
40420
|
const headers = new Headers(compactMap({
|
|
@@ -40055,7 +40444,7 @@ async function $do11(client, request, options) {
|
|
|
40055
40444
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
40056
40445
|
}, options);
|
|
40057
40446
|
if (!requestRes.ok) {
|
|
40058
|
-
return [requestRes, { status: "invalid" }];
|
|
40447
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
40059
40448
|
}
|
|
40060
40449
|
const req = requestRes.value;
|
|
40061
40450
|
const doResult = await client._do(req, {
|
|
@@ -40091,30 +40480,60 @@ async function $do11(client, request, options) {
|
|
|
40091
40480
|
retryCodes: context.retryCodes
|
|
40092
40481
|
});
|
|
40093
40482
|
if (!doResult.ok) {
|
|
40094
|
-
return [doResult, { status: "request-error", request: req }];
|
|
40483
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
40095
40484
|
}
|
|
40096
40485
|
const response = doResult.value;
|
|
40097
40486
|
const responseFields = {
|
|
40098
40487
|
HttpMeta: { Response: response, Request: req }
|
|
40099
40488
|
};
|
|
40100
|
-
const [result] = await match(json(200,
|
|
40489
|
+
const [result, raw] = await match(json(200, ListTenantEventsByDestinationResponse$inboundSchema, { key: "Result" }), jsonErr([401, 403, 407], UnauthorizedError$inboundSchema), jsonErr(408, TimeoutError$inboundSchema), jsonErr(429, RateLimitedError$inboundSchema), jsonErr([400, 413, 414, 415, 422, 431], BadRequestError$inboundSchema), jsonErr(504, TimeoutError$inboundSchema), jsonErr([501, 505], NotFoundError$inboundSchema), jsonErr([500, 502, 503, 506, 507, 508], InternalServerError$inboundSchema), jsonErr(510, BadRequestError$inboundSchema), jsonErr(511, UnauthorizedError$inboundSchema), fail([404, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
40101
40490
|
if (!result.ok) {
|
|
40102
|
-
return [result, {
|
|
40103
|
-
|
|
40104
|
-
|
|
40491
|
+
return [haltIterator(result), {
|
|
40492
|
+
status: "complete",
|
|
40493
|
+
request: req,
|
|
40494
|
+
response
|
|
40495
|
+
}];
|
|
40496
|
+
}
|
|
40497
|
+
const nextFunc = (responseData) => {
|
|
40498
|
+
const nextCursor = dlv(responseData, "next");
|
|
40499
|
+
if (typeof nextCursor !== "string") {
|
|
40500
|
+
return { next: () => null };
|
|
40501
|
+
}
|
|
40502
|
+
if (nextCursor.trim() === "") {
|
|
40503
|
+
return { next: () => null };
|
|
40504
|
+
}
|
|
40505
|
+
const results = dlv(responseData, "data");
|
|
40506
|
+
if (!Array.isArray(results) || !results.length) {
|
|
40507
|
+
return { next: () => null };
|
|
40508
|
+
}
|
|
40509
|
+
const limit = request?.limit ?? 100;
|
|
40510
|
+
if (results.length < limit) {
|
|
40511
|
+
return { next: () => null };
|
|
40512
|
+
}
|
|
40513
|
+
const nextVal = () => eventsListByDestination(client, {
|
|
40514
|
+
...request,
|
|
40515
|
+
next: nextCursor
|
|
40516
|
+
}, options);
|
|
40517
|
+
return { next: nextVal, "~next": { cursor: nextCursor } };
|
|
40518
|
+
};
|
|
40519
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
40520
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
40521
|
+
status: "complete",
|
|
40522
|
+
request: req,
|
|
40523
|
+
response
|
|
40524
|
+
}];
|
|
40105
40525
|
}
|
|
40106
40526
|
var init_eventsListByDestination = __esm(() => {
|
|
40107
|
-
init_lib();
|
|
40108
40527
|
init_encodings();
|
|
40109
40528
|
init_matchers();
|
|
40110
40529
|
init_primitives();
|
|
40111
40530
|
init_schemas();
|
|
40112
40531
|
init_security();
|
|
40113
40532
|
init_url();
|
|
40114
|
-
init_components();
|
|
40115
40533
|
init_errors();
|
|
40116
40534
|
init_operations();
|
|
40117
40535
|
init_async();
|
|
40536
|
+
init_operations2();
|
|
40118
40537
|
});
|
|
40119
40538
|
|
|
40120
40539
|
// src/mcp-server/tools/eventsListByDestination.ts
|
|
@@ -40140,7 +40559,7 @@ Retrieves events associated with a specific destination for the tenant.`,
|
|
|
40140
40559
|
isError: true
|
|
40141
40560
|
};
|
|
40142
40561
|
}
|
|
40143
|
-
const value = result.value;
|
|
40562
|
+
const value = result.value.result;
|
|
40144
40563
|
return formatResult(value, apiCall);
|
|
40145
40564
|
}
|
|
40146
40565
|
};
|
|
@@ -42081,7 +42500,7 @@ Returns a list of available event topics configured in the Outpost instance.`,
|
|
|
42081
42500
|
function createMCPServer(deps) {
|
|
42082
42501
|
const server = new McpServer({
|
|
42083
42502
|
name: "Outpost",
|
|
42084
|
-
version: "0.
|
|
42503
|
+
version: "0.4.0"
|
|
42085
42504
|
});
|
|
42086
42505
|
const client = new OutpostCore({
|
|
42087
42506
|
security: deps.security,
|
|
@@ -43353,7 +43772,7 @@ var routes = an({
|
|
|
43353
43772
|
var app = He(routes, {
|
|
43354
43773
|
name: "mcp",
|
|
43355
43774
|
versionInfo: {
|
|
43356
|
-
currentVersion: "0.
|
|
43775
|
+
currentVersion: "0.4.0"
|
|
43357
43776
|
}
|
|
43358
43777
|
});
|
|
43359
43778
|
zt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -43361,5 +43780,5 @@ export {
|
|
|
43361
43780
|
app
|
|
43362
43781
|
};
|
|
43363
43782
|
|
|
43364
|
-
//# debugId=
|
|
43783
|
+
//# debugId=207AA395216F2AFD64756E2164756E21
|
|
43365
43784
|
//# sourceMappingURL=mcp-server.js.map
|