🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@aws-lambda-powertools/parser

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-lambda-powertools/parser - npm Package Compare versions

Comparing version

to
2.19.0

8

lib/cjs/schemas/alb.d.ts

@@ -125,3 +125,3 @@ import { z } from 'zod';

*/
declare const AlbMultiValueHeadersSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const AlbMultiValueHeadersSchema: z.ZodObject<{
httpMethod: z.ZodString;

@@ -132,5 +132,3 @@ path: z.ZodString;

headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
multiValueHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
queryStringParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
multiValueQueryStringParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
requestContext: z.ZodObject<{

@@ -153,6 +151,6 @@ elb: z.ZodObject<{

}>;
}, {
} & {
multiValueHeaders: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
multiValueQueryStringParameters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
path: string;

@@ -159,0 +157,0 @@ httpMethod: string;

@@ -24,3 +24,3 @@ import { z } from 'zod';

*/
declare const CloudFormationCustomResourceCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CloudFormationCustomResourceCreateSchema: z.ZodObject<{
ServiceToken: z.ZodString;

@@ -33,5 +33,5 @@ ResponseURL: z.ZodString;

ResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}, {
} & {
RequestType: z.ZodLiteral<"Create">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
ServiceToken: string;

@@ -77,3 +77,3 @@ ResponseURL: string;

*/
declare const CloudFormationCustomResourceDeleteSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CloudFormationCustomResourceDeleteSchema: z.ZodObject<{
ServiceToken: z.ZodString;

@@ -86,5 +86,5 @@ ResponseURL: z.ZodString;

ResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}, {
} & {
RequestType: z.ZodLiteral<"Delete">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
ServiceToken: string;

@@ -134,3 +134,3 @@ ResponseURL: string;

*/
declare const CloudFormationCustomResourceUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CloudFormationCustomResourceUpdateSchema: z.ZodObject<{
ServiceToken: z.ZodString;

@@ -143,6 +143,6 @@ ResponseURL: z.ZodString;

ResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}, {
} & {
RequestType: z.ZodLiteral<"Update">;
OldResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
ServiceToken: string;

@@ -149,0 +149,0 @@ ResponseURL: string;

@@ -85,5 +85,4 @@ import { z } from 'zod';

*/
declare const PreSignupTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PreSignupTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -102,5 +101,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PreSignUp_SignUp">;

@@ -136,3 +133,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -210,5 +207,4 @@ userAttributes: Record<string, string>;

*/
declare const PostConfirmationTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PostConfirmationTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -227,5 +223,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PostConfirmation_ConfirmSignUp">;

@@ -243,3 +237,3 @@ request: z.ZodObject<{

response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -301,5 +295,4 @@ userAttributes: Record<string, string>;

*/
declare const PreAuthenticationTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PreAuthenticationTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -318,5 +311,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PreAuthentication_Authentication">;

@@ -337,3 +328,3 @@ request: z.ZodObject<{

response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -402,5 +393,4 @@ userAttributes: Record<string, string>;

*/
declare const PostAuthenticationTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PostAuthenticationTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -419,5 +409,4 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PostAuthentication_Authentication">;

@@ -437,3 +426,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -557,3 +546,3 @@ userAttributes: Record<string, string>;

*/
declare const PreTokenGenerationTriggerSchemaV1: z.ZodObject<z.objectUtil.extendShape<{
declare const PreTokenGenerationTriggerSchemaV1: z.ZodObject<{
version: z.ZodString;

@@ -574,5 +563,4 @@ triggerSource: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
request: z.ZodObject<{

@@ -611,3 +599,3 @@ userAttributes: z.ZodRecord<z.ZodString, z.ZodString>;

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -684,3 +672,3 @@ userAttributes: Record<string, string>;

*/
declare const PreTokenGenerationTriggerSchemaV2AndV3: z.ZodObject<z.objectUtil.extendShape<{
declare const PreTokenGenerationTriggerSchemaV2AndV3: z.ZodObject<{
version: z.ZodString;

@@ -701,6 +689,5 @@ triggerSource: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
request: z.ZodObject<z.objectUtil.extendShape<{
} & {
request: z.ZodObject<{
userAttributes: z.ZodRecord<z.ZodString, z.ZodString>;

@@ -721,5 +708,5 @@ groupConfiguration: z.ZodObject<{

clientMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, {
} & {
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
userAttributes: Record<string, string>;

@@ -743,3 +730,3 @@ groupConfiguration: {

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -820,3 +807,3 @@ userAttributes: Record<string, string>;

*/
declare const MigrateUserTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const MigrateUserTriggerSchema: z.ZodObject<{
version: z.ZodString;

@@ -826,3 +813,2 @@ triggerSource: z.ZodString;

userPoolId: z.ZodString;
userName: z.ZodOptional<z.ZodString>;
callerContext: z.ZodObject<{

@@ -838,5 +824,3 @@ awsSdkVersion: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
userName: z.ZodString;

@@ -878,3 +862,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -961,3 +945,3 @@ password: string;

*/
declare const CustomMessageTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CustomMessageTriggerSchema: z.ZodObject<{
version: z.ZodString;

@@ -978,5 +962,3 @@ triggerSource: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
request: z.ZodObject<{

@@ -1014,3 +996,3 @@ userAttributes: z.ZodRecord<z.ZodString, z.ZodString>;

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1087,5 +1069,4 @@ userAttributes: Record<string, string>;

*/
declare const CustomEmailSenderTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CustomEmailSenderTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1104,5 +1085,4 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"CustomEmailSender_SignUp">;

@@ -1125,3 +1105,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1190,5 +1170,4 @@ code: string;

*/
declare const CustomSMSSenderTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CustomSMSSenderTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1207,5 +1186,4 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"CustomSMSSender_SignUp">;

@@ -1228,3 +1206,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1317,5 +1295,4 @@ code: string;

*/
declare const DefineAuthChallengeTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const DefineAuthChallengeTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1334,5 +1311,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"DefineAuthChallenge_Authentication">;

@@ -1388,3 +1363,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1474,5 +1449,4 @@ userAttributes: Record<string, string>;

*/
declare const CreateAuthChallengeTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CreateAuthChallengeTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1491,5 +1465,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"CreateAuthChallenge_Authentication">;

@@ -1548,3 +1520,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1632,5 +1604,4 @@ userAttributes: Record<string, string>;

*/
declare const VerifyAuthChallengeTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const VerifyAuthChallengeTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1649,5 +1620,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"VerifyAuthChallengeResponse_Authentication">;

@@ -1680,3 +1649,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1683,0 +1652,0 @@ userAttributes: Record<string, string>;

@@ -234,3 +234,3 @@ import { z } from 'zod';

*/
declare const DynamoDBStreamToKinesisRecord: z.ZodObject<Omit<z.objectUtil.extendShape<{
declare const DynamoDBStreamToKinesisRecord: z.ZodObject<Omit<{
eventID: z.ZodString;

@@ -242,52 +242,3 @@ eventName: z.ZodEnum<["INSERT", "MODIFY", "REMOVE"]>;

eventSourceARN: z.ZodString;
dynamodb: z.ZodEffects<z.ZodObject<{
ApproximateCreationDateTime: z.ZodOptional<z.ZodNumber>;
Keys: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
NewImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
OldImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
SequenceNumber: z.ZodString;
SizeBytes: z.ZodNumber;
StreamViewType: z.ZodEnum<["NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"]>;
}, "strip", z.ZodTypeAny, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>, {
Keys: Record<string, Record<string, any>>;
SizeBytes: number;
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>;
userIdentity: z.ZodOptional<z.ZodObject<{
type: z.ZodEnum<["Service"]>;
principalId: z.ZodLiteral<"dynamodb.amazonaws.com">;
}, "strip", z.ZodTypeAny, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}>>;
}, {
} & {
recordFormat: z.ZodLiteral<"application/json">;

@@ -338,3 +289,3 @@ tableName: z.ZodString;

}>;
}>, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
}, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
eventSource: "aws:dynamodb";

@@ -341,0 +292,0 @@ eventID: string;

@@ -11,3 +11,3 @@ import { z } from 'zod';

timestampType: z.ZodString;
key: z.ZodEffects<z.ZodString, string, string>;
key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
value: z.ZodEffects<z.ZodString, string, string>;

@@ -23,3 +23,3 @@ headers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>, "many">;

timestampType: string;
key: string;
key?: string | undefined;
}, {

@@ -33,3 +33,3 @@ value: string;

timestampType: string;
key: string;
key?: string | undefined;
}>;

@@ -79,3 +79,3 @@ /** Zod schema for Kafka event from Self Managed Kafka

*/
declare const KafkaSelfManagedEventSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KafkaSelfManagedEventSchema: z.ZodObject<{
bootstrapServers: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string[], string>>>;

@@ -88,3 +88,3 @@ records: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{

timestampType: z.ZodString;
key: z.ZodEffects<z.ZodString, string, string>;
key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
value: z.ZodEffects<z.ZodString, string, string>;

@@ -100,3 +100,3 @@ headers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>, "many">;

timestampType: string;
key: string;
key?: string | undefined;
}, {

@@ -110,7 +110,7 @@ value: string;

timestampType: string;
key: string;
key?: string | undefined;
}>, "many">>;
}, {
} & {
eventSource: z.ZodLiteral<"SelfManagedKafka">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
eventSource: "SelfManagedKafka";

@@ -125,3 +125,3 @@ records: Record<string, {

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -139,3 +139,3 @@ bootstrapServers?: string[] | null | undefined;

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -189,3 +189,3 @@ bootstrapServers?: string | null | undefined;

*/
declare const KafkaMskEventSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KafkaMskEventSchema: z.ZodObject<{
bootstrapServers: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string[], string>>>;

@@ -198,3 +198,3 @@ records: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{

timestampType: z.ZodString;
key: z.ZodEffects<z.ZodString, string, string>;
key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
value: z.ZodEffects<z.ZodString, string, string>;

@@ -210,3 +210,3 @@ headers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>, "many">;

timestampType: string;
key: string;
key?: string | undefined;
}, {

@@ -220,8 +220,8 @@ value: string;

timestampType: string;
key: string;
key?: string | undefined;
}>, "many">>;
}, {
} & {
eventSource: z.ZodLiteral<"aws:kafka">;
eventSourceArn: z.ZodString;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
eventSource: "aws:kafka";

@@ -236,3 +236,3 @@ records: Record<string, {

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -251,3 +251,3 @@ eventSourceArn: string;

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -254,0 +254,0 @@ eventSourceArn: string;

@@ -14,5 +14,8 @@ "use strict";

timestampType: zod_1.z.string(),
key: zod_1.z.string().transform((key) => {
key: zod_1.z
.string()
.transform((key) => {
return Buffer.from(key, 'base64').toString();
}),
})
.optional(),
value: zod_1.z.string().transform((value) => {

@@ -19,0 +22,0 @@ return Buffer.from(value, 'base64').toString();

@@ -5,3 +5,3 @@ import { z } from 'zod';

*/
declare const KinesisFirehoseRecordSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseRecordSchema: z.ZodObject<{
recordId: z.ZodString;

@@ -28,5 +28,5 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, string, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: string;

@@ -57,3 +57,3 @@ approximateArrivalTimestamp: number;

*/
declare const KinesisFirehoseSqsRecordSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseSqsRecordSchema: z.ZodObject<{
recordId: z.ZodString;

@@ -80,3 +80,3 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, {

@@ -110,3 +110,3 @@ body: string;

}, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: {

@@ -203,3 +203,3 @@ body: string;

*/
declare const KinesisFirehoseSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseSchema: z.ZodObject<{
invocationId: z.ZodString;

@@ -209,4 +209,4 @@ deliveryStreamArn: z.ZodString;

sourceKinesisStreamArn: z.ZodOptional<z.ZodString>;
}, {
records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
} & {
records: z.ZodArray<z.ZodObject<{
recordId: z.ZodString;

@@ -233,5 +233,5 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, string, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: string;

@@ -259,3 +259,3 @@ approximateArrivalTimestamp: number;

}>, "many">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
region: string;

@@ -316,3 +316,3 @@ records: {

*/
declare const KinesisFirehoseSqsSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseSqsSchema: z.ZodObject<{
invocationId: z.ZodString;

@@ -322,4 +322,4 @@ deliveryStreamArn: z.ZodString;

sourceKinesisStreamArn: z.ZodOptional<z.ZodString>;
}, {
records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
} & {
records: z.ZodArray<z.ZodObject<{
recordId: z.ZodString;

@@ -346,3 +346,3 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, {

@@ -376,3 +376,3 @@ body: string;

}, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: {

@@ -427,3 +427,3 @@ body: string;

}>, "many">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
region: string;

@@ -430,0 +430,0 @@ records: {

@@ -80,3 +80,3 @@ import { z } from 'zod';

declare const KinesisDynamoDBStreamSchema: z.ZodObject<{
Records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
Records: z.ZodArray<z.ZodObject<{
eventSource: z.ZodLiteral<"aws:kinesis">;

@@ -89,2 +89,3 @@ eventVersion: z.ZodString;

eventSourceARN: z.ZodString;
} & {
kinesis: z.ZodObject<{

@@ -95,25 +96,4 @@ kinesisSchemaVersion: z.ZodString;

approximateArrivalTimestamp: z.ZodNumber;
data: z.ZodEffects<z.ZodString, any, string>;
}, "strip", z.ZodTypeAny, {
kinesisSchemaVersion: string;
partitionKey: string;
sequenceNumber: string;
approximateArrivalTimestamp: number;
data?: any;
}, {
data: string;
kinesisSchemaVersion: string;
partitionKey: string;
sequenceNumber: string;
approximateArrivalTimestamp: number;
}>;
}, {
kinesis: z.ZodObject<z.objectUtil.extendShape<{
kinesisSchemaVersion: z.ZodString;
partitionKey: z.ZodString;
sequenceNumber: z.ZodString;
approximateArrivalTimestamp: z.ZodNumber;
data: z.ZodEffects<z.ZodString, any, string>;
}, {
data: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<Omit<z.objectUtil.extendShape<{
} & {
data: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<Omit<{
eventID: z.ZodString;

@@ -125,52 +105,3 @@ eventName: z.ZodEnum<["INSERT", "MODIFY", "REMOVE"]>;

eventSourceARN: z.ZodString;
dynamodb: z.ZodEffects<z.ZodObject<{
ApproximateCreationDateTime: z.ZodOptional<z.ZodNumber>;
Keys: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
NewImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
OldImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
SequenceNumber: z.ZodString;
SizeBytes: z.ZodNumber;
StreamViewType: z.ZodEnum<["NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"]>;
}, "strip", z.ZodTypeAny, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>, {
Keys: Record<string, Record<string, any>>;
SizeBytes: number;
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>;
userIdentity: z.ZodOptional<z.ZodObject<{
type: z.ZodEnum<["Service"]>;
principalId: z.ZodLiteral<"dynamodb.amazonaws.com">;
}, "strip", z.ZodTypeAny, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}>>;
}, {
} & {
recordFormat: z.ZodLiteral<"application/json">;

@@ -221,3 +152,3 @@ tableName: z.ZodString;

}>;
}>, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
}, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
eventSource: "aws:dynamodb";

@@ -259,3 +190,3 @@ eventID: string;

}>>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: {

@@ -291,3 +222,3 @@ eventSource: "aws:dynamodb";

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
eventSource: "aws:kinesis";

@@ -294,0 +225,0 @@ eventVersion: string;

@@ -60,3 +60,3 @@ /**

*/
declare const LambdaFunctionUrlSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
declare const LambdaFunctionUrlSchema: import("zod").ZodObject<{
version: import("zod").ZodString;

@@ -355,3 +355,3 @@ routeKey: import("zod").ZodString;

stageVariables: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
}, {}>, "strip", import("zod").ZodTypeAny, {
}, "strip", import("zod").ZodTypeAny, {
isBase64Encoded: boolean;

@@ -358,0 +358,0 @@ headers: Record<string, string>;

@@ -40,3 +40,3 @@ import { z } from 'zod';

*/
declare const S3EventNotificationEventBridgeSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const S3EventNotificationEventBridgeSchema: z.ZodObject<{
version: z.ZodString;

@@ -50,5 +50,4 @@ id: z.ZodString;

'detail-type': z.ZodString;
detail: z.ZodUnknown;
'replay-name': z.ZodOptional<z.ZodString>;
}, {
} & {
detail: z.ZodObject<{

@@ -134,3 +133,3 @@ version: z.ZodString;

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
time: string;

@@ -589,6 +588,5 @@ source: string;

declare const S3SqsEventNotificationSchema: z.ZodObject<{
Records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
Records: z.ZodArray<z.ZodObject<{
messageId: z.ZodString;
receiptHandle: z.ZodString;
body: z.ZodString;
attributes: z.ZodObject<{

@@ -649,3 +647,3 @@ ApproximateReceiveCount: z.ZodString;

awsRegion: z.ZodString;
}, {
} & {
body: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<{

@@ -959,3 +957,3 @@ Records: z.ZodArray<z.ZodObject<{

}>>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
body: {

@@ -962,0 +960,0 @@ Records: {

@@ -92,9 +92,7 @@ import { z } from 'zod';

*/
declare const SnsSqsNotificationSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
declare const SnsSqsNotificationSchema: z.ZodObject<Omit<{
Subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
TopicArn: z.ZodString;
UnsubscribeUrl: z.ZodString;
UnsubscribeURL: z.ZodOptional<z.ZodString>;
SigningCertUrl: z.ZodOptional<z.ZodString>;
SigningCertURL: z.ZodOptional<z.ZodString>;
Type: z.ZodLiteral<"Notification">;

@@ -116,6 +114,6 @@ MessageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{

Timestamp: z.ZodString;
}, {
} & {
UnsubscribeURL: z.ZodOptional<z.ZodString>;
SigningCertURL: z.ZodOptional<z.ZodString>;
}>, "UnsubscribeUrl" | "SigningCertUrl">, "strip", z.ZodTypeAny, {
}, "UnsubscribeUrl" | "SigningCertUrl">, "strip", z.ZodTypeAny, {
Type: "Notification";

@@ -122,0 +120,0 @@ TopicArn: string;

@@ -125,3 +125,3 @@ import { z } from 'zod';

*/
declare const AlbMultiValueHeadersSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const AlbMultiValueHeadersSchema: z.ZodObject<{
httpMethod: z.ZodString;

@@ -132,5 +132,3 @@ path: z.ZodString;

headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
multiValueHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
queryStringParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
multiValueQueryStringParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
requestContext: z.ZodObject<{

@@ -153,6 +151,6 @@ elb: z.ZodObject<{

}>;
}, {
} & {
multiValueHeaders: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
multiValueQueryStringParameters: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
path: string;

@@ -159,0 +157,0 @@ httpMethod: string;

@@ -24,3 +24,3 @@ import { z } from 'zod';

*/
declare const CloudFormationCustomResourceCreateSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CloudFormationCustomResourceCreateSchema: z.ZodObject<{
ServiceToken: z.ZodString;

@@ -33,5 +33,5 @@ ResponseURL: z.ZodString;

ResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}, {
} & {
RequestType: z.ZodLiteral<"Create">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
ServiceToken: string;

@@ -77,3 +77,3 @@ ResponseURL: string;

*/
declare const CloudFormationCustomResourceDeleteSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CloudFormationCustomResourceDeleteSchema: z.ZodObject<{
ServiceToken: z.ZodString;

@@ -86,5 +86,5 @@ ResponseURL: z.ZodString;

ResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}, {
} & {
RequestType: z.ZodLiteral<"Delete">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
ServiceToken: string;

@@ -134,3 +134,3 @@ ResponseURL: string;

*/
declare const CloudFormationCustomResourceUpdateSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CloudFormationCustomResourceUpdateSchema: z.ZodObject<{
ServiceToken: z.ZodString;

@@ -143,6 +143,6 @@ ResponseURL: z.ZodString;

ResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}, {
} & {
RequestType: z.ZodLiteral<"Update">;
OldResourceProperties: z.ZodRecord<z.ZodString, z.ZodAny>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
ServiceToken: string;

@@ -149,0 +149,0 @@ ResponseURL: string;

@@ -85,5 +85,4 @@ import { z } from 'zod';

*/
declare const PreSignupTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PreSignupTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -102,5 +101,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PreSignUp_SignUp">;

@@ -136,3 +133,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -210,5 +207,4 @@ userAttributes: Record<string, string>;

*/
declare const PostConfirmationTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PostConfirmationTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -227,5 +223,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PostConfirmation_ConfirmSignUp">;

@@ -243,3 +237,3 @@ request: z.ZodObject<{

response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -301,5 +295,4 @@ userAttributes: Record<string, string>;

*/
declare const PreAuthenticationTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PreAuthenticationTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -318,5 +311,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PreAuthentication_Authentication">;

@@ -337,3 +328,3 @@ request: z.ZodObject<{

response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -402,5 +393,4 @@ userAttributes: Record<string, string>;

*/
declare const PostAuthenticationTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const PostAuthenticationTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -419,5 +409,4 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"PostAuthentication_Authentication">;

@@ -437,3 +426,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -557,3 +546,3 @@ userAttributes: Record<string, string>;

*/
declare const PreTokenGenerationTriggerSchemaV1: z.ZodObject<z.objectUtil.extendShape<{
declare const PreTokenGenerationTriggerSchemaV1: z.ZodObject<{
version: z.ZodString;

@@ -574,5 +563,4 @@ triggerSource: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
request: z.ZodObject<{

@@ -611,3 +599,3 @@ userAttributes: z.ZodRecord<z.ZodString, z.ZodString>;

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -684,3 +672,3 @@ userAttributes: Record<string, string>;

*/
declare const PreTokenGenerationTriggerSchemaV2AndV3: z.ZodObject<z.objectUtil.extendShape<{
declare const PreTokenGenerationTriggerSchemaV2AndV3: z.ZodObject<{
version: z.ZodString;

@@ -701,6 +689,5 @@ triggerSource: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
request: z.ZodObject<z.objectUtil.extendShape<{
} & {
request: z.ZodObject<{
userAttributes: z.ZodRecord<z.ZodString, z.ZodString>;

@@ -721,5 +708,5 @@ groupConfiguration: z.ZodObject<{

clientMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
}, {
} & {
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
userAttributes: Record<string, string>;

@@ -743,3 +730,3 @@ groupConfiguration: {

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -820,3 +807,3 @@ userAttributes: Record<string, string>;

*/
declare const MigrateUserTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const MigrateUserTriggerSchema: z.ZodObject<{
version: z.ZodString;

@@ -826,3 +813,2 @@ triggerSource: z.ZodString;

userPoolId: z.ZodString;
userName: z.ZodOptional<z.ZodString>;
callerContext: z.ZodObject<{

@@ -838,5 +824,3 @@ awsSdkVersion: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
userName: z.ZodString;

@@ -878,3 +862,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -961,3 +945,3 @@ password: string;

*/
declare const CustomMessageTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CustomMessageTriggerSchema: z.ZodObject<{
version: z.ZodString;

@@ -978,5 +962,3 @@ triggerSource: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
request: z.ZodObject<{

@@ -1014,3 +996,3 @@ userAttributes: z.ZodRecord<z.ZodString, z.ZodString>;

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1087,5 +1069,4 @@ userAttributes: Record<string, string>;

*/
declare const CustomEmailSenderTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CustomEmailSenderTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1104,5 +1085,4 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"CustomEmailSender_SignUp">;

@@ -1125,3 +1105,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1190,5 +1170,4 @@ code: string;

*/
declare const CustomSMSSenderTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CustomSMSSenderTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1207,5 +1186,4 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"CustomSMSSender_SignUp">;

@@ -1228,3 +1206,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1317,5 +1295,4 @@ code: string;

*/
declare const DefineAuthChallengeTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const DefineAuthChallengeTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1334,5 +1311,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"DefineAuthChallenge_Authentication">;

@@ -1388,3 +1363,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1474,5 +1449,4 @@ userAttributes: Record<string, string>;

*/
declare const CreateAuthChallengeTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const CreateAuthChallengeTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1491,5 +1465,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"CreateAuthChallenge_Authentication">;

@@ -1548,3 +1520,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1632,5 +1604,4 @@ userAttributes: Record<string, string>;

*/
declare const VerifyAuthChallengeTriggerSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const VerifyAuthChallengeTriggerSchema: z.ZodObject<{
version: z.ZodString;
triggerSource: z.ZodString;
region: z.ZodString;

@@ -1649,5 +1620,3 @@ userPoolId: z.ZodString;

}>;
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
}, {
} & {
triggerSource: z.ZodLiteral<"VerifyAuthChallengeResponse_Authentication">;

@@ -1680,3 +1649,3 @@ request: z.ZodObject<{

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
request: {

@@ -1683,0 +1652,0 @@ userAttributes: Record<string, string>;

@@ -234,3 +234,3 @@ import { z } from 'zod';

*/
declare const DynamoDBStreamToKinesisRecord: z.ZodObject<Omit<z.objectUtil.extendShape<{
declare const DynamoDBStreamToKinesisRecord: z.ZodObject<Omit<{
eventID: z.ZodString;

@@ -242,52 +242,3 @@ eventName: z.ZodEnum<["INSERT", "MODIFY", "REMOVE"]>;

eventSourceARN: z.ZodString;
dynamodb: z.ZodEffects<z.ZodObject<{
ApproximateCreationDateTime: z.ZodOptional<z.ZodNumber>;
Keys: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
NewImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
OldImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
SequenceNumber: z.ZodString;
SizeBytes: z.ZodNumber;
StreamViewType: z.ZodEnum<["NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"]>;
}, "strip", z.ZodTypeAny, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>, {
Keys: Record<string, Record<string, any>>;
SizeBytes: number;
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>;
userIdentity: z.ZodOptional<z.ZodObject<{
type: z.ZodEnum<["Service"]>;
principalId: z.ZodLiteral<"dynamodb.amazonaws.com">;
}, "strip", z.ZodTypeAny, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}>>;
}, {
} & {
recordFormat: z.ZodLiteral<"application/json">;

@@ -338,3 +289,3 @@ tableName: z.ZodString;

}>;
}>, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
}, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
eventSource: "aws:dynamodb";

@@ -341,0 +292,0 @@ eventID: string;

@@ -11,3 +11,3 @@ import { z } from 'zod';

timestampType: z.ZodString;
key: z.ZodEffects<z.ZodString, string, string>;
key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
value: z.ZodEffects<z.ZodString, string, string>;

@@ -23,3 +23,3 @@ headers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>, "many">;

timestampType: string;
key: string;
key?: string | undefined;
}, {

@@ -33,3 +33,3 @@ value: string;

timestampType: string;
key: string;
key?: string | undefined;
}>;

@@ -79,3 +79,3 @@ /** Zod schema for Kafka event from Self Managed Kafka

*/
declare const KafkaSelfManagedEventSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KafkaSelfManagedEventSchema: z.ZodObject<{
bootstrapServers: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string[], string>>>;

@@ -88,3 +88,3 @@ records: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{

timestampType: z.ZodString;
key: z.ZodEffects<z.ZodString, string, string>;
key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
value: z.ZodEffects<z.ZodString, string, string>;

@@ -100,3 +100,3 @@ headers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>, "many">;

timestampType: string;
key: string;
key?: string | undefined;
}, {

@@ -110,7 +110,7 @@ value: string;

timestampType: string;
key: string;
key?: string | undefined;
}>, "many">>;
}, {
} & {
eventSource: z.ZodLiteral<"SelfManagedKafka">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
eventSource: "SelfManagedKafka";

@@ -125,3 +125,3 @@ records: Record<string, {

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -139,3 +139,3 @@ bootstrapServers?: string[] | null | undefined;

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -189,3 +189,3 @@ bootstrapServers?: string | null | undefined;

*/
declare const KafkaMskEventSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KafkaMskEventSchema: z.ZodObject<{
bootstrapServers: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string[], string>>>;

@@ -198,3 +198,3 @@ records: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{

timestampType: z.ZodString;
key: z.ZodEffects<z.ZodString, string, string>;
key: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
value: z.ZodEffects<z.ZodString, string, string>;

@@ -210,3 +210,3 @@ headers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, string, number[]>>, "many">;

timestampType: string;
key: string;
key?: string | undefined;
}, {

@@ -220,8 +220,8 @@ value: string;

timestampType: string;
key: string;
key?: string | undefined;
}>, "many">>;
}, {
} & {
eventSource: z.ZodLiteral<"aws:kafka">;
eventSourceArn: z.ZodString;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
eventSource: "aws:kafka";

@@ -236,3 +236,3 @@ records: Record<string, {

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -251,3 +251,3 @@ eventSourceArn: string;

timestampType: string;
key: string;
key?: string | undefined;
}[]>;

@@ -254,0 +254,0 @@ eventSourceArn: string;

@@ -11,5 +11,8 @@ import { z } from 'zod';

timestampType: z.string(),
key: z.string().transform((key) => {
key: z
.string()
.transform((key) => {
return Buffer.from(key, 'base64').toString();
}),
})
.optional(),
value: z.string().transform((value) => {

@@ -16,0 +19,0 @@ return Buffer.from(value, 'base64').toString();

@@ -5,3 +5,3 @@ import { z } from 'zod';

*/
declare const KinesisFirehoseRecordSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseRecordSchema: z.ZodObject<{
recordId: z.ZodString;

@@ -28,5 +28,5 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, string, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: string;

@@ -57,3 +57,3 @@ approximateArrivalTimestamp: number;

*/
declare const KinesisFirehoseSqsRecordSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseSqsRecordSchema: z.ZodObject<{
recordId: z.ZodString;

@@ -80,3 +80,3 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, {

@@ -110,3 +110,3 @@ body: string;

}, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: {

@@ -203,3 +203,3 @@ body: string;

*/
declare const KinesisFirehoseSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseSchema: z.ZodObject<{
invocationId: z.ZodString;

@@ -209,4 +209,4 @@ deliveryStreamArn: z.ZodString;

sourceKinesisStreamArn: z.ZodOptional<z.ZodString>;
}, {
records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
} & {
records: z.ZodArray<z.ZodObject<{
recordId: z.ZodString;

@@ -233,5 +233,5 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, string, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: string;

@@ -259,3 +259,3 @@ approximateArrivalTimestamp: number;

}>, "many">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
region: string;

@@ -316,3 +316,3 @@ records: {

*/
declare const KinesisFirehoseSqsSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const KinesisFirehoseSqsSchema: z.ZodObject<{
invocationId: z.ZodString;

@@ -322,4 +322,4 @@ deliveryStreamArn: z.ZodString;

sourceKinesisStreamArn: z.ZodOptional<z.ZodString>;
}, {
records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
} & {
records: z.ZodArray<z.ZodObject<{
recordId: z.ZodString;

@@ -346,3 +346,3 @@ approximateArrivalTimestamp: z.ZodNumber;

}>>>;
}, {
} & {
data: z.ZodEffects<z.ZodString, {

@@ -376,3 +376,3 @@ body: string;

}, string>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: {

@@ -427,3 +427,3 @@ body: string;

}>, "many">;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
region: string;

@@ -430,0 +430,0 @@ records: {

@@ -80,3 +80,3 @@ import { z } from 'zod';

declare const KinesisDynamoDBStreamSchema: z.ZodObject<{
Records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
Records: z.ZodArray<z.ZodObject<{
eventSource: z.ZodLiteral<"aws:kinesis">;

@@ -89,2 +89,3 @@ eventVersion: z.ZodString;

eventSourceARN: z.ZodString;
} & {
kinesis: z.ZodObject<{

@@ -95,25 +96,4 @@ kinesisSchemaVersion: z.ZodString;

approximateArrivalTimestamp: z.ZodNumber;
data: z.ZodEffects<z.ZodString, any, string>;
}, "strip", z.ZodTypeAny, {
kinesisSchemaVersion: string;
partitionKey: string;
sequenceNumber: string;
approximateArrivalTimestamp: number;
data?: any;
}, {
data: string;
kinesisSchemaVersion: string;
partitionKey: string;
sequenceNumber: string;
approximateArrivalTimestamp: number;
}>;
}, {
kinesis: z.ZodObject<z.objectUtil.extendShape<{
kinesisSchemaVersion: z.ZodString;
partitionKey: z.ZodString;
sequenceNumber: z.ZodString;
approximateArrivalTimestamp: z.ZodNumber;
data: z.ZodEffects<z.ZodString, any, string>;
}, {
data: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<Omit<z.objectUtil.extendShape<{
} & {
data: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<Omit<{
eventID: z.ZodString;

@@ -125,52 +105,3 @@ eventName: z.ZodEnum<["INSERT", "MODIFY", "REMOVE"]>;

eventSourceARN: z.ZodString;
dynamodb: z.ZodEffects<z.ZodObject<{
ApproximateCreationDateTime: z.ZodOptional<z.ZodNumber>;
Keys: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>;
NewImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
OldImage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
SequenceNumber: z.ZodString;
SizeBytes: z.ZodNumber;
StreamViewType: z.ZodEnum<["NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"]>;
}, "strip", z.ZodTypeAny, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>, {
Keys: Record<string, Record<string, any>>;
SizeBytes: number;
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}, {
Keys: Record<string, Record<string, any>>;
SequenceNumber: string;
SizeBytes: number;
StreamViewType: "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY";
ApproximateCreationDateTime?: number | undefined;
NewImage?: Record<string, any> | undefined;
OldImage?: Record<string, any> | undefined;
}>;
userIdentity: z.ZodOptional<z.ZodObject<{
type: z.ZodEnum<["Service"]>;
principalId: z.ZodLiteral<"dynamodb.amazonaws.com">;
}, "strip", z.ZodTypeAny, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}, {
type: "Service";
principalId: "dynamodb.amazonaws.com";
}>>;
}, {
} & {
recordFormat: z.ZodLiteral<"application/json">;

@@ -221,3 +152,3 @@ tableName: z.ZodString;

}>;
}>, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
}, "eventVersion" | "eventSourceARN">, "strip", z.ZodTypeAny, {
eventSource: "aws:dynamodb";

@@ -259,3 +190,3 @@ eventID: string;

}>>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
data: {

@@ -291,3 +222,3 @@ eventSource: "aws:dynamodb";

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
eventSource: "aws:kinesis";

@@ -294,0 +225,0 @@ eventVersion: string;

@@ -60,3 +60,3 @@ /**

*/
declare const LambdaFunctionUrlSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
declare const LambdaFunctionUrlSchema: import("zod").ZodObject<{
version: import("zod").ZodString;

@@ -355,3 +355,3 @@ routeKey: import("zod").ZodString;

stageVariables: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
}, {}>, "strip", import("zod").ZodTypeAny, {
}, "strip", import("zod").ZodTypeAny, {
isBase64Encoded: boolean;

@@ -358,0 +358,0 @@ headers: Record<string, string>;

@@ -40,3 +40,3 @@ import { z } from 'zod';

*/
declare const S3EventNotificationEventBridgeSchema: z.ZodObject<z.objectUtil.extendShape<{
declare const S3EventNotificationEventBridgeSchema: z.ZodObject<{
version: z.ZodString;

@@ -50,5 +50,4 @@ id: z.ZodString;

'detail-type': z.ZodString;
detail: z.ZodUnknown;
'replay-name': z.ZodOptional<z.ZodString>;
}, {
} & {
detail: z.ZodObject<{

@@ -134,3 +133,3 @@ version: z.ZodString;

}>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
time: string;

@@ -589,6 +588,5 @@ source: string;

declare const S3SqsEventNotificationSchema: z.ZodObject<{
Records: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
Records: z.ZodArray<z.ZodObject<{
messageId: z.ZodString;
receiptHandle: z.ZodString;
body: z.ZodString;
attributes: z.ZodObject<{

@@ -649,3 +647,3 @@ ApproximateReceiveCount: z.ZodString;

awsRegion: z.ZodString;
}, {
} & {
body: z.ZodPipeline<z.ZodEffects<z.ZodString, any, string>, z.ZodObject<{

@@ -959,3 +957,3 @@ Records: z.ZodArray<z.ZodObject<{

}>>;
}>, "strip", z.ZodTypeAny, {
}, "strip", z.ZodTypeAny, {
body: {

@@ -962,0 +960,0 @@ Records: {

@@ -92,9 +92,7 @@ import { z } from 'zod';

*/
declare const SnsSqsNotificationSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
declare const SnsSqsNotificationSchema: z.ZodObject<Omit<{
Subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
TopicArn: z.ZodString;
UnsubscribeUrl: z.ZodString;
UnsubscribeURL: z.ZodOptional<z.ZodString>;
SigningCertUrl: z.ZodOptional<z.ZodString>;
SigningCertURL: z.ZodOptional<z.ZodString>;
Type: z.ZodLiteral<"Notification">;

@@ -116,6 +114,6 @@ MessageAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{

Timestamp: z.ZodString;
}, {
} & {
UnsubscribeURL: z.ZodOptional<z.ZodString>;
SigningCertURL: z.ZodOptional<z.ZodString>;
}>, "UnsubscribeUrl" | "SigningCertUrl">, "strip", z.ZodTypeAny, {
}, "UnsubscribeUrl" | "SigningCertUrl">, "strip", z.ZodTypeAny, {
Type: "Notification";

@@ -122,0 +120,0 @@ TopicArn: string;

{
"name": "@aws-lambda-powertools/parser",
"version": "2.18.0",
"version": "2.19.0",
"description": "The parser package for the Powertools for AWS Lambda (TypeScript) library.",

@@ -35,3 +35,3 @@ "author": {

"dependencies": {
"@aws-lambda-powertools/commons": "^2.18.0"
"@aws-lambda-powertools/commons": "^2.19.0"
},

@@ -38,0 +38,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet