@mappedin/events 6.13.0-beta.0 → 6.14.0-beta.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.
@@ -530,6 +530,12 @@ type TGetMapDataSharedOptions = {
530
530
  type TGetMapDataWithCredentialsOptions = {
531
531
  /**
532
532
  * Mappedin auth key.
533
+ *
534
+ * Keys starting with `"mik_"` use the Maker data model
535
+ * (`LocationProfile`, `LocationCategory`).
536
+ * All other keys use the CMS/Enterprise data model
537
+ * (`EnterpriseLocation`, `EnterpriseCategory`).
538
+ * Using the wrong data types for your key type will return empty results.
533
539
  */
534
540
  key: string;
535
541
  /**
@@ -575,31 +581,143 @@ declare function createEnvControl(): {
575
581
  __getState: () => Environment;
576
582
  };
577
583
  type EnvControl = ReturnType<typeof createEnvControl>;
578
- interface StandardSchemaV1<Input = unknown, Output = Input> {
579
- /** The Standard Schema properties. */
580
- readonly "~standard": StandardSchemaV1.Props<Input, Output>;
584
+ type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;
585
+ type _JSONSchema = boolean | JSONSchema;
586
+ type JSONSchema = {
587
+ [k: string]: unknown;
588
+ $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
589
+ $id?: string;
590
+ $anchor?: string;
591
+ $ref?: string;
592
+ $dynamicRef?: string;
593
+ $dynamicAnchor?: string;
594
+ $vocabulary?: Record<string, boolean>;
595
+ $comment?: string;
596
+ $defs?: Record<string, JSONSchema>;
597
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
598
+ additionalItems?: _JSONSchema;
599
+ unevaluatedItems?: _JSONSchema;
600
+ prefixItems?: _JSONSchema[];
601
+ items?: _JSONSchema | _JSONSchema[];
602
+ contains?: _JSONSchema;
603
+ additionalProperties?: _JSONSchema;
604
+ unevaluatedProperties?: _JSONSchema;
605
+ properties?: Record<string, _JSONSchema>;
606
+ patternProperties?: Record<string, _JSONSchema>;
607
+ dependentSchemas?: Record<string, _JSONSchema>;
608
+ propertyNames?: _JSONSchema;
609
+ if?: _JSONSchema;
610
+ then?: _JSONSchema;
611
+ else?: _JSONSchema;
612
+ allOf?: JSONSchema[];
613
+ anyOf?: JSONSchema[];
614
+ oneOf?: JSONSchema[];
615
+ not?: _JSONSchema;
616
+ multipleOf?: number;
617
+ maximum?: number;
618
+ exclusiveMaximum?: number | boolean;
619
+ minimum?: number;
620
+ exclusiveMinimum?: number | boolean;
621
+ maxLength?: number;
622
+ minLength?: number;
623
+ pattern?: string;
624
+ maxItems?: number;
625
+ minItems?: number;
626
+ uniqueItems?: boolean;
627
+ maxContains?: number;
628
+ minContains?: number;
629
+ maxProperties?: number;
630
+ minProperties?: number;
631
+ required?: string[];
632
+ dependentRequired?: Record<string, string[]>;
633
+ enum?: Array<string | number | boolean | null>;
634
+ const?: string | number | boolean | null;
635
+ id?: string;
636
+ title?: string;
637
+ description?: string;
638
+ default?: unknown;
639
+ deprecated?: boolean;
640
+ readOnly?: boolean;
641
+ writeOnly?: boolean;
642
+ nullable?: boolean;
643
+ examples?: unknown[];
644
+ format?: string;
645
+ contentMediaType?: string;
646
+ contentEncoding?: string;
647
+ contentSchema?: JSONSchema;
648
+ _prefault?: unknown;
649
+ };
650
+ type BaseSchema = JSONSchema;
651
+ interface ObjectSchema extends JSONSchema {
652
+ type: "object";
581
653
  }
582
- declare namespace StandardSchemaV1 {
583
- /** The Standard Schema properties interface. */
654
+ interface ArraySchema extends JSONSchema {
655
+ type: "array";
656
+ }
657
+ interface StringSchema extends JSONSchema {
658
+ type: "string";
659
+ }
660
+ interface NumberSchema extends JSONSchema {
661
+ type: "number";
662
+ }
663
+ interface IntegerSchema extends JSONSchema {
664
+ type: "integer";
665
+ }
666
+ interface BooleanSchema extends JSONSchema {
667
+ type: "boolean";
668
+ }
669
+ interface NullSchema extends JSONSchema {
670
+ type: "null";
671
+ }
672
+ interface StandardTypedV1<Input = unknown, Output = Input> {
673
+ /** The Standard properties. */
674
+ readonly "~standard": StandardTypedV1.Props<Input, Output>;
675
+ }
676
+ declare namespace StandardTypedV1 {
677
+ /** The Standard properties interface. */
584
678
  interface Props<Input = unknown, Output = Input> {
585
679
  /** The version number of the standard. */
586
680
  readonly version: 1;
587
681
  /** The vendor name of the schema library. */
588
682
  readonly vendor: string;
589
- /** Validates unknown input values. */
590
- readonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;
591
683
  /** Inferred types associated with the schema. */
592
684
  readonly types?: Types<Input, Output> | undefined;
593
685
  }
686
+ /** The Standard types interface. */
687
+ interface Types<Input = unknown, Output = Input> {
688
+ /** The input type of the schema. */
689
+ readonly input: Input;
690
+ /** The output type of the schema. */
691
+ readonly output: Output;
692
+ }
693
+ /** Infers the input type of a Standard. */
694
+ type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
695
+ /** Infers the output type of a Standard. */
696
+ type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
697
+ }
698
+ interface StandardSchemaV1<Input = unknown, Output = Input> {
699
+ /** The Standard Schema properties. */
700
+ readonly "~standard": StandardSchemaV1.Props<Input, Output>;
701
+ }
702
+ declare namespace StandardSchemaV1 {
703
+ /** The Standard Schema properties interface. */
704
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
705
+ /** Validates unknown input values. */
706
+ readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
707
+ }
594
708
  /** The result interface of the validate function. */
595
709
  type Result<Output> = SuccessResult<Output> | FailureResult;
596
710
  /** The result interface if validation succeeds. */
597
711
  interface SuccessResult<Output> {
598
712
  /** The typed output value. */
599
713
  readonly value: Output;
600
- /** The non-existent issues. */
714
+ /** The absence of issues indicates success. */
601
715
  readonly issues?: undefined;
602
716
  }
717
+ interface Options {
718
+ /** Implicit support for additional vendor-specific parameters, if needed. */
719
+ readonly libraryOptions?: Record<string, unknown> | undefined;
720
+ }
603
721
  /** The result interface if validation fails. */
604
722
  interface FailureResult {
605
723
  /** The issues of failed validation. */
@@ -617,18 +735,187 @@ declare namespace StandardSchemaV1 {
617
735
  /** The key representing a path segment. */
618
736
  readonly key: PropertyKey;
619
737
  }
620
- /** The Standard Schema types interface. */
621
- interface Types<Input = unknown, Output = Input> {
622
- /** The input type of the schema. */
623
- readonly input: Input;
624
- /** The output type of the schema. */
625
- readonly output: Output;
738
+ /** The Standard types interface. */
739
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {
740
+ }
741
+ /** Infers the input type of a Standard. */
742
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
743
+ /** Infers the output type of a Standard. */
744
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
745
+ }
746
+ interface StandardJSONSchemaV1<Input = unknown, Output = Input> {
747
+ /** The Standard JSON Schema properties. */
748
+ readonly "~standard": StandardJSONSchemaV1.Props<Input, Output>;
749
+ }
750
+ declare namespace StandardJSONSchemaV1 {
751
+ /** The Standard JSON Schema properties interface. */
752
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
753
+ /** Methods for generating the input/output JSON Schema. */
754
+ readonly jsonSchema: Converter;
755
+ }
756
+ /** The Standard JSON Schema converter interface. */
757
+ interface Converter {
758
+ /** Converts the input type to JSON Schema. May throw if conversion is not supported. */
759
+ readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
760
+ /** Converts the output type to JSON Schema. May throw if conversion is not supported. */
761
+ readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
762
+ }
763
+ /** The target version of the generated JSON Schema.
764
+ *
765
+ * It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use.
766
+ *
767
+ * The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`.
768
+ *
769
+ * All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target.
770
+ */
771
+ type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string);
772
+ /** The options for the input/output methods. */
773
+ interface Options {
774
+ /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */
775
+ readonly target: Target;
776
+ /** Implicit support for additional vendor-specific parameters, if needed. */
777
+ readonly libraryOptions?: Record<string, unknown> | undefined;
778
+ }
779
+ /** The Standard types interface. */
780
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {
626
781
  }
627
- /** Infers the input type of a Standard Schema. */
628
- type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
629
- /** Infers the output type of a Standard Schema. */
630
- type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
782
+ /** Infers the input type of a Standard. */
783
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
784
+ /** Infers the output type of a Standard. */
785
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
631
786
  }
787
+ interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {
788
+ }
789
+ declare const $output: unique symbol;
790
+ type $output = typeof $output;
791
+ declare const $input: unique symbol;
792
+ type $input = typeof $input;
793
+ type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends (...args: infer P) => infer R ? (...args: {
794
+ [K in keyof P]: $replace<P[K], S>;
795
+ }) => $replace<R, S> : Meta extends object ? {
796
+ [K in keyof Meta]: $replace<Meta[K], S>;
797
+ } : Meta;
798
+ type MetadataType = object | undefined;
799
+ declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
800
+ _meta: Meta;
801
+ _schema: Schema;
802
+ _map: WeakMap<Schema, $replace<Meta, Schema>>;
803
+ _idmap: Map<string, Schema>;
804
+ add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [
805
+ $replace<Meta, S>?
806
+ ] : [
807
+ $replace<Meta, S>
808
+ ]): this;
809
+ clear(): this;
810
+ remove(schema: Schema): this;
811
+ get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
812
+ has(schema: Schema): boolean;
813
+ }
814
+ interface JSONSchemaMeta {
815
+ id?: string | undefined;
816
+ title?: string | undefined;
817
+ description?: string | undefined;
818
+ deprecated?: boolean | undefined;
819
+ [k: string]: unknown;
820
+ }
821
+ interface GlobalMeta extends JSONSchemaMeta {
822
+ }
823
+ declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
824
+ declare const globalRegistry: $ZodRegistry<GlobalMeta>;
825
+ type Processor<T extends schemas.$ZodType = schemas.$ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: JSONSchema$1.BaseSchema, params: ProcessParams) => void;
826
+ interface JSONSchemaGeneratorParams {
827
+ processors: Record<string, Processor>;
828
+ /** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.
829
+ * @default globalRegistry */
830
+ metadata?: $ZodRegistry<Record<string, any>>;
831
+ /** The JSON Schema version to target.
832
+ * - `"draft-2020-12"` — Default. JSON Schema Draft 2020-12
833
+ * - `"draft-07"` — JSON Schema Draft 7
834
+ * - `"draft-04"` — JSON Schema Draft 4
835
+ * - `"openapi-3.0"` — OpenAPI 3.0 Schema Object */
836
+ target?: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string) | undefined;
837
+ /** How to handle unrepresentable types.
838
+ * - `"throw"` — Default. Unrepresentable types throw an error
839
+ * - `"any"` — Unrepresentable types become `{}` */
840
+ unrepresentable?: "throw" | "any";
841
+ /** Arbitrary custom logic that can be used to modify the generated JSON Schema. */
842
+ override?: (ctx: {
843
+ zodSchema: schemas.$ZodTypes;
844
+ jsonSchema: JSONSchema$1.BaseSchema;
845
+ path: (string | number)[];
846
+ }) => void;
847
+ /** Whether to extract the `"input"` or `"output"` type. Relevant to transforms, defaults, coerced primitives, etc.
848
+ * - `"output"` — Default. Convert the output schema.
849
+ * - `"input"` — Convert the input schema. */
850
+ io?: "input" | "output";
851
+ cycles?: "ref" | "throw";
852
+ reused?: "ref" | "inline";
853
+ external?: {
854
+ registry: $ZodRegistry<{
855
+ id?: string | undefined;
856
+ }>;
857
+ uri?: ((id: string) => string) | undefined;
858
+ defs: Record<string, JSONSchema$1.BaseSchema>;
859
+ } | undefined;
860
+ }
861
+ type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
862
+ interface RegistryToJSONSchemaParams extends ToJSONSchemaParams {
863
+ uri?: (id: string) => string;
864
+ }
865
+ interface ProcessParams {
866
+ schemaPath: schemas.$ZodType[];
867
+ path: (string | number)[];
868
+ }
869
+ interface Seen {
870
+ /** JSON Schema result for this Zod schema */
871
+ schema: JSONSchema$1.BaseSchema;
872
+ /** A cached version of the schema that doesn't get overwritten during ref resolution */
873
+ def?: JSONSchema$1.BaseSchema;
874
+ defId?: string | undefined;
875
+ /** Number of times this schema was encountered during traversal */
876
+ count: number;
877
+ /** Cycle path */
878
+ cycle?: (string | number)[] | undefined;
879
+ isParent?: boolean | undefined;
880
+ /** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
881
+ ref?: schemas.$ZodType | null;
882
+ /** JSON Schema property path for this schema */
883
+ path?: (string | number)[] | undefined;
884
+ }
885
+ interface ToJSONSchemaContext {
886
+ processors: Record<string, Processor>;
887
+ metadataRegistry: $ZodRegistry<Record<string, any>>;
888
+ target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
889
+ unrepresentable: "throw" | "any";
890
+ override: (ctx: {
891
+ zodSchema: schemas.$ZodType;
892
+ jsonSchema: JSONSchema$1.BaseSchema;
893
+ path: (string | number)[];
894
+ }) => void;
895
+ io: "input" | "output";
896
+ counter: number;
897
+ seen: Map<schemas.$ZodType, Seen>;
898
+ cycles: "ref" | "throw";
899
+ reused: "ref" | "inline";
900
+ external?: {
901
+ registry: $ZodRegistry<{
902
+ id?: string | undefined;
903
+ }>;
904
+ uri?: ((id: string) => string) | undefined;
905
+ defs: Record<string, JSONSchema$1.BaseSchema>;
906
+ } | undefined;
907
+ }
908
+ declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;
909
+ declare function process$1<T extends schemas.$ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): JSONSchema$1.BaseSchema;
910
+ declare function extractDefs<T extends schemas.$ZodType>(ctx: ToJSONSchemaContext, schema: T): void;
911
+ declare function finalize<T extends schemas.$ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;
912
+ type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;
913
+ interface ZodStandardJSONSchemaPayload<T> extends JSONSchema$1.BaseSchema {
914
+ "~standard": ZodStandardSchemaWithJSON<T>;
915
+ }
916
+ declare const createToJSONSchemaMethod: <T extends schemas.$ZodType>(schema: T, processors?: Record<string, Processor>) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>;
917
+ type StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1["~standard"]["jsonSchema"]["input"]>[0];
918
+ declare const createStandardJSONSchemaMethod: <T extends schemas.$ZodType>(schema: T, io: "input" | "output", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => JSONSchema$1.BaseSchema;
632
919
  type JSONType = string | number | boolean | null | JSONType[] | {
633
920
  [key: string]: JSONType;
634
921
  };
@@ -770,6 +1057,7 @@ declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{
770
1057
  }>;
771
1058
  declare function randomString(length?: number): string;
772
1059
  declare function esc(str: string): string;
1060
+ declare function slugify(input: string): string;
773
1061
  declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;
774
1062
  declare function isObject(data: any): data is Record<PropertyKey, unknown>;
775
1063
  declare const allowsEval: {
@@ -826,6 +1114,7 @@ declare function unwrapMessage(message: string | {
826
1114
  declare function finalizeIssue(iss: $ZodRawIssue, ctx: schemas.ParseContextInternal | undefined, config: $ZodConfig): $ZodIssue;
827
1115
  declare function getSizableOrigin(input: any): "set" | "map" | "file" | "unknown";
828
1116
  declare function getLengthableOrigin(input: any): "array" | "string" | "unknown";
1117
+ declare function parsedType(data: unknown): $ZodInvalidTypeExpected;
829
1118
  declare function issue(_iss: string, input: any, inst: any): $ZodRawIssue;
830
1119
  declare function issue(_iss: $ZodRawIssue): $ZodRawIssue;
831
1120
  declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];
@@ -840,7 +1129,7 @@ declare abstract class Class {
840
1129
  }
841
1130
  declare const version: {
842
1131
  readonly major: 4;
843
- readonly minor: 1;
1132
+ readonly minor: 3;
844
1133
  readonly patch: number;
845
1134
  };
846
1135
  interface ParseContext<T extends $ZodIssueBase = never> {
@@ -907,6 +1196,8 @@ interface _$ZodTypeInternals {
907
1196
  bag: Record<string, unknown>;
908
1197
  /** @internal The set of issues this schema might throw during type checking. */
909
1198
  isst: $ZodIssueBase;
1199
+ /** @internal Subject to change, not a public API. */
1200
+ processJSONSchema?: ((ctx: ToJSONSchemaContext, json: JSONSchema$1.BaseSchema, params: ProcessParams) => void) | undefined;
910
1201
  /** An optional method used to override `toJSONSchema` logic. */
911
1202
  toJSONSchema?: () => unknown;
912
1203
  /** @internal The parent of this schema. Only set during certain clone operations. */
@@ -1112,6 +1403,16 @@ interface $ZodIPv6 extends $ZodType {
1112
1403
  _zod: $ZodIPv6Internals;
1113
1404
  }
1114
1405
  declare const $ZodIPv6: $constructor<$ZodIPv6>;
1406
+ interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
1407
+ delimiter?: string;
1408
+ }
1409
+ interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
1410
+ def: $ZodMACDef;
1411
+ }
1412
+ interface $ZodMAC extends $ZodType {
1413
+ _zod: $ZodMACInternals;
1414
+ }
1415
+ declare const $ZodMAC: $constructor<$ZodMAC>;
1115
1416
  interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
1116
1417
  version?: "v4";
1117
1418
  }
@@ -1434,7 +1735,6 @@ type $ZodLooseShape = Record<string, any>;
1434
1735
  interface $ZodObject<
1435
1736
  /** @ts-ignore Cast variance */
1436
1737
  out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {
1437
- "~standard": $ZodStandardSchema<this>;
1438
1738
  }
1439
1739
  declare const $ZodObject: $constructor<$ZodObject>;
1440
1740
  declare const $ZodObjectJIT: $constructor<$ZodObject>;
@@ -1443,6 +1743,7 @@ type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
1443
1743
  interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
1444
1744
  type: "union";
1445
1745
  options: Options;
1746
+ inclusive?: boolean;
1446
1747
  }
1447
1748
  type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
1448
1749
  type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
@@ -1460,6 +1761,12 @@ interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends
1460
1761
  _zod: $ZodUnionInternals<T>;
1461
1762
  }
1462
1763
  declare const $ZodUnion: $constructor<$ZodUnion>;
1764
+ interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {
1765
+ }
1766
+ interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {
1767
+ _zod: $ZodXorInternals<T>;
1768
+ }
1769
+ declare const $ZodXor: $constructor<$ZodXor>;
1463
1770
  interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
1464
1771
  discriminator: Disc;
1465
1772
  unionFallback?: boolean;
@@ -1536,14 +1843,16 @@ interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extend
1536
1843
  _zod: $ZodTupleInternals<T, Rest>;
1537
1844
  }
1538
1845
  declare const $ZodTuple: $constructor<$ZodTuple>;
1539
- type $ZodRecordKey = $ZodType<string | number | symbol, string | number | symbol>;
1846
+ type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;
1540
1847
  interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {
1541
1848
  type: "record";
1542
1849
  keyType: Key;
1543
1850
  valueType: Value;
1851
+ /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
1852
+ mode?: "strict" | "loose";
1544
1853
  }
1545
1854
  type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output<Key>, output<Value>>> : Record<output<Key>, output<Value>>;
1546
- type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input<Key>, input<Value>>> : Record<input<Key>, input<Value>>;
1855
+ type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input<Key> & PropertyKey, input<Value>>> : Record<input<Key> & PropertyKey, input<Value>>;
1547
1856
  interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
1548
1857
  def: $ZodRecordDef<Key, Value>;
1549
1858
  isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
@@ -1671,6 +1980,17 @@ interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
1671
1980
  _zod: $ZodOptionalInternals<T>;
1672
1981
  }
1673
1982
  declare const $ZodOptional: $constructor<$ZodOptional>;
1983
+ interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {
1984
+ }
1985
+ interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
1986
+ def: $ZodExactOptionalDef<T>;
1987
+ output: output<T>;
1988
+ input: input<T>;
1989
+ }
1990
+ interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
1991
+ _zod: $ZodExactOptionalInternals<T>;
1992
+ }
1993
+ declare const $ZodExactOptional: $constructor<$ZodExactOptional>;
1674
1994
  interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1675
1995
  type: "nullable";
1676
1996
  innerType: T;
@@ -1881,7 +2201,7 @@ type $ZodFunctionOut = $ZodType;
1881
2201
  type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => input<Returns>;
1882
2202
  type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => util.MaybeAsync<input<Returns>>;
1883
2203
  type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => output<Returns>;
1884
- type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => util.MaybeAsync<output<Returns>>;
2204
+ type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => Promise<output<Returns>>;
1885
2205
  interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1886
2206
  type: "function";
1887
2207
  input: In;
@@ -1912,7 +2232,7 @@ interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1912
2232
  type: "promise";
1913
2233
  innerType: T;
1914
2234
  }
1915
- interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, util.MaybeAsync<input<T>>> {
2235
+ interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output<T>>, util.MaybeAsync<input<T>>> {
1916
2236
  def: $ZodPromiseDef<T>;
1917
2237
  isst: never;
1918
2238
  }
@@ -1959,7 +2279,7 @@ interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1959
2279
  }
1960
2280
  declare const $ZodCustom: $constructor<$ZodCustom>;
1961
2281
  type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;
1962
- type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<"hostname">;
2282
+ type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<"hostname">;
1963
2283
  interface $ZodCheckDef {
1964
2284
  check: string;
1965
2285
  error?: $ZodErrorMap<never> | undefined;
@@ -2240,9 +2560,10 @@ interface $ZodIssueBase {
2240
2560
  readonly path: PropertyKey[];
2241
2561
  readonly message: string;
2242
2562
  }
2563
+ type $ZodInvalidTypeExpected = "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "undefined" | "null" | "never" | "void" | "date" | "array" | "object" | "tuple" | "record" | "map" | "set" | "file" | "nonoptional" | "nan" | "function" | (string & {});
2243
2564
  interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
2244
2565
  readonly code: "invalid_type";
2245
- readonly expected: $ZodType["_zod"]["def"]["type"];
2566
+ readonly expected: $ZodInvalidTypeExpected;
2246
2567
  readonly input?: Input;
2247
2568
  }
2248
2569
  interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
@@ -2279,12 +2600,22 @@ interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
2279
2600
  readonly keys: string[];
2280
2601
  readonly input?: Record<string, unknown>;
2281
2602
  }
2282
- interface $ZodIssueInvalidUnion extends $ZodIssueBase {
2603
+ interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
2283
2604
  readonly code: "invalid_union";
2284
2605
  readonly errors: $ZodIssue[][];
2285
2606
  readonly input?: unknown;
2286
2607
  readonly discriminator?: string | undefined;
2608
+ readonly inclusive?: true;
2287
2609
  }
2610
+ interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
2611
+ readonly code: "invalid_union";
2612
+ readonly errors: [
2613
+ ];
2614
+ readonly input?: unknown;
2615
+ readonly discriminator?: string | undefined;
2616
+ readonly inclusive: false;
2617
+ }
2618
+ type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
2288
2619
  interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
2289
2620
  readonly code: "invalid_key";
2290
2621
  readonly origin: "map" | "record";
@@ -2432,7 +2763,25 @@ type $brand<T extends string | number | symbol = string | number | symbol> = {
2432
2763
  [k in T]: true;
2433
2764
  };
2434
2765
  };
2435
- type $ZodBranded<T extends schemas.SomeType, Brand extends string | number | symbol> = T & Record<"_zod", Record<"output", output<T> & $brand<Brand>>>;
2766
+ type $ZodBranded<T extends schemas.SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
2767
+ _zod: {
2768
+ input: input<T> & $brand<Brand>;
2769
+ output: output<T> & $brand<Brand>;
2770
+ };
2771
+ } : Dir extends "in" ? {
2772
+ _zod: {
2773
+ input: input<T> & $brand<Brand>;
2774
+ };
2775
+ } : {
2776
+ _zod: {
2777
+ output: output<T> & $brand<Brand>;
2778
+ };
2779
+ });
2780
+ type $ZodNarrow<T extends schemas.SomeType, Out> = T & {
2781
+ _zod: {
2782
+ output: Out;
2783
+ };
2784
+ };
2436
2785
  declare class $ZodAsyncError extends Error {
2437
2786
  constructor();
2438
2787
  }
@@ -2526,6 +2875,7 @@ declare const browserEmail: RegExp;
2526
2875
  declare function emoji(): RegExp;
2527
2876
  declare const ipv4: RegExp;
2528
2877
  declare const ipv6: RegExp;
2878
+ declare const mac: (delimiter?: string) => RegExp;
2529
2879
  declare const cidrv4: RegExp;
2530
2880
  declare const cidrv6: RegExp;
2531
2881
  declare const base64: RegExp;
@@ -2698,55 +3048,25 @@ declare function _default$41(): {
2698
3048
  };
2699
3049
  declare function _default$42(): {
2700
3050
  localeError: $ZodErrorMap;
2701
- };
2702
- declare function _default$43(): {
2703
- localeError: $ZodErrorMap;
2704
- };
2705
- declare function _default$44(): {
2706
- localeError: $ZodErrorMap;
2707
- };
2708
- declare function _default$45(): {
2709
- localeError: $ZodErrorMap;
2710
- };
2711
- declare function _default$46(): {
2712
- localeError: $ZodErrorMap;
2713
- };
2714
- declare const $output: unique symbol;
2715
- type $output = typeof $output;
2716
- declare const $input: unique symbol;
2717
- type $input = typeof $input;
2718
- type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends (...args: infer P) => infer R ? (...args: {
2719
- [K in keyof P]: $replace<P[K], S>;
2720
- }) => $replace<R, S> : Meta extends object ? {
2721
- [K in keyof Meta]: $replace<Meta[K], S>;
2722
- } : Meta;
2723
- type MetadataType = object | undefined;
2724
- declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
2725
- _meta: Meta;
2726
- _schema: Schema;
2727
- _map: WeakMap<Schema, $replace<Meta, Schema>>;
2728
- _idmap: Map<string, Schema>;
2729
- add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [
2730
- $replace<Meta, S>?
2731
- ] : [
2732
- $replace<Meta, S>
2733
- ]): this;
2734
- clear(): this;
2735
- remove(schema: Schema): this;
2736
- get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
2737
- has(schema: Schema): boolean;
2738
- }
2739
- interface JSONSchemaMeta {
2740
- id?: string | undefined;
2741
- title?: string | undefined;
2742
- description?: string | undefined;
2743
- deprecated?: boolean | undefined;
2744
- [k: string]: unknown;
2745
- }
2746
- interface GlobalMeta extends JSONSchemaMeta {
2747
- }
2748
- declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
2749
- declare const globalRegistry: $ZodRegistry<GlobalMeta>;
3051
+ };
3052
+ declare function _default$43(): {
3053
+ localeError: $ZodErrorMap;
3054
+ };
3055
+ declare function _default$44(): {
3056
+ localeError: $ZodErrorMap;
3057
+ };
3058
+ declare function _default$45(): {
3059
+ localeError: $ZodErrorMap;
3060
+ };
3061
+ declare function _default$46(): {
3062
+ localeError: $ZodErrorMap;
3063
+ };
3064
+ declare function _default$47(): {
3065
+ localeError: $ZodErrorMap;
3066
+ };
3067
+ declare function _default$48(): {
3068
+ localeError: $ZodErrorMap;
3069
+ };
2750
3070
  type ModeWriter = (doc: Doc, modes: {
2751
3071
  execution: "sync" | "async";
2752
3072
  }) => void;
@@ -2830,6 +3150,9 @@ declare function _ipv4<T extends schemas.$ZodIPv4>(Class: util.SchemaClass<T>, p
2830
3150
  type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
2831
3151
  type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
2832
3152
  declare function _ipv6<T extends schemas.$ZodIPv6>(Class: util.SchemaClass<T>, params?: string | $ZodIPv6Params | $ZodCheckIPv6Params): T;
3153
+ type $ZodMACParams = StringFormatParams<schemas.$ZodMAC, "pattern" | "when">;
3154
+ type $ZodCheckMACParams = CheckStringFormatParams<schemas.$ZodMAC, "pattern" | "when">;
3155
+ declare function _mac<T extends schemas.$ZodMAC>(Class: util.SchemaClass<T>, params?: string | $ZodMACParams | $ZodCheckMACParams): T;
2833
3156
  type $ZodCIDRv4Params = StringFormatParams<schemas.$ZodCIDRv4, "pattern" | "when">;
2834
3157
  type $ZodCheckCIDRv4Params = CheckStringFormatParams<schemas.$ZodCIDRv4, "pattern" | "when">;
2835
3158
  declare function _cidrv4<T extends schemas.$ZodCIDRv4>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params): T;
@@ -2953,11 +3276,14 @@ declare function _normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {
2953
3276
  declare function _trim(): $ZodCheckOverwrite<string>;
2954
3277
  declare function _toLowerCase(): $ZodCheckOverwrite<string>;
2955
3278
  declare function _toUpperCase(): $ZodCheckOverwrite<string>;
3279
+ declare function _slugify(): $ZodCheckOverwrite<string>;
2956
3280
  type $ZodArrayParams = TypeParams<schemas.$ZodArray, "element">;
2957
3281
  declare function _array<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodArray>, element: T, params?: string | $ZodArrayParams): schemas.$ZodArray<T>;
2958
3282
  type $ZodObjectParams = TypeParams<schemas.$ZodObject, "shape" | "catchall">;
2959
3283
  type $ZodUnionParams = TypeParams<schemas.$ZodUnion, "options">;
2960
3284
  declare function _union<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodUnion>, options: T, params?: string | $ZodUnionParams): schemas.$ZodUnion<T>;
3285
+ type $ZodXorParams = TypeParams<schemas.$ZodXor, "options">;
3286
+ declare function _xor<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodXor>, options: T, params?: string | $ZodXorParams): schemas.$ZodXor<T>;
2961
3287
  interface $ZodTypeDiscriminableInternals extends schemas.$ZodTypeInternals {
2962
3288
  propValues: util.PropValues;
2963
3289
  }
@@ -3002,7 +3328,7 @@ declare function _optional<T extends schemas.$ZodObject>(Class: util.SchemaClass
3002
3328
  type $ZodNullableParams = TypeParams<schemas.$ZodNullable, "innerType">;
3003
3329
  declare function _nullable<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNullable>, innerType: T): schemas.$ZodNullable<T>;
3004
3330
  type $ZodDefaultParams = TypeParams<schemas.$ZodDefault, "innerType" | "defaultValue">;
3005
- declare function _default$47<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodDefault>, innerType: T, defaultValue: util.NoUndefined<output<T>> | (() => util.NoUndefined<output<T>>)): schemas.$ZodDefault<T>;
3331
+ declare function _default$49<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodDefault>, innerType: T, defaultValue: util.NoUndefined<output<T>> | (() => util.NoUndefined<output<T>>)): schemas.$ZodDefault<T>;
3006
3332
  type $ZodNonOptionalParams = TypeParams<schemas.$ZodNonOptional, "innerType">;
3007
3333
  declare function _nonoptional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): schemas.$ZodNonOptional<T>;
3008
3334
  type $ZodSuccessParams = TypeParams<schemas.$ZodSuccess, "innerType">;
@@ -3034,6 +3360,8 @@ interface $RefinementCtx<T = unknown> extends schemas.ParsePayload<T> {
3034
3360
  }
3035
3361
  declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>): $ZodCheck<T>;
3036
3362
  declare function _check<O = unknown>(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams): $ZodCheck<O>;
3363
+ declare function describe<T>(description: string): $ZodCheck<T>;
3364
+ declare function meta<T>(metadata: GlobalMeta): $ZodCheck<T>;
3037
3365
  interface $ZodStringBoolParams extends TypeParams {
3038
3366
  truthy?: string[];
3039
3367
  falsy?: string[];
@@ -3050,180 +3378,47 @@ declare function _stringbool(Classes: {
3050
3378
  String?: typeof schemas.$ZodString;
3051
3379
  }, _params?: string | $ZodStringBoolParams): schemas.$ZodCodec<schemas.$ZodString, schemas.$ZodBoolean>;
3052
3380
  declare function _stringFormat<Format extends string>(Class: typeof schemas.$ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): schemas.$ZodCustomStringFormat<Format>;
3053
- type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;
3054
- type _JSONSchema = boolean | JSONSchema;
3055
- type JSONSchema = {
3056
- [k: string]: unknown;
3057
- $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
3058
- $id?: string;
3059
- $anchor?: string;
3060
- $ref?: string;
3061
- $dynamicRef?: string;
3062
- $dynamicAnchor?: string;
3063
- $vocabulary?: Record<string, boolean>;
3064
- $comment?: string;
3065
- $defs?: Record<string, JSONSchema>;
3066
- type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
3067
- additionalItems?: _JSONSchema;
3068
- unevaluatedItems?: _JSONSchema;
3069
- prefixItems?: _JSONSchema[];
3070
- items?: _JSONSchema | _JSONSchema[];
3071
- contains?: _JSONSchema;
3072
- additionalProperties?: _JSONSchema;
3073
- unevaluatedProperties?: _JSONSchema;
3074
- properties?: Record<string, _JSONSchema>;
3075
- patternProperties?: Record<string, _JSONSchema>;
3076
- dependentSchemas?: Record<string, _JSONSchema>;
3077
- propertyNames?: _JSONSchema;
3078
- if?: _JSONSchema;
3079
- then?: _JSONSchema;
3080
- else?: _JSONSchema;
3081
- allOf?: JSONSchema[];
3082
- anyOf?: JSONSchema[];
3083
- oneOf?: JSONSchema[];
3084
- not?: _JSONSchema;
3085
- multipleOf?: number;
3086
- maximum?: number;
3087
- exclusiveMaximum?: number | boolean;
3088
- minimum?: number;
3089
- exclusiveMinimum?: number | boolean;
3090
- maxLength?: number;
3091
- minLength?: number;
3092
- pattern?: string;
3093
- maxItems?: number;
3094
- minItems?: number;
3095
- uniqueItems?: boolean;
3096
- maxContains?: number;
3097
- minContains?: number;
3098
- maxProperties?: number;
3099
- minProperties?: number;
3100
- required?: string[];
3101
- dependentRequired?: Record<string, string[]>;
3102
- enum?: Array<string | number | boolean | null>;
3103
- const?: string | number | boolean | null;
3104
- id?: string;
3105
- title?: string;
3106
- description?: string;
3107
- default?: unknown;
3108
- deprecated?: boolean;
3109
- readOnly?: boolean;
3110
- writeOnly?: boolean;
3111
- nullable?: boolean;
3112
- examples?: unknown[];
3113
- format?: string;
3114
- contentMediaType?: string;
3115
- contentEncoding?: string;
3116
- contentSchema?: JSONSchema;
3117
- _prefault?: unknown;
3381
+ declare function toJSONSchema<T extends schemas.$ZodType>(schema: T, params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<T>;
3382
+ declare function toJSONSchema(registry: $ZodRegistry<{
3383
+ id?: string | undefined;
3384
+ }>, params?: RegistryToJSONSchemaParams): {
3385
+ schemas: Record<string, ZodStandardJSONSchemaPayload<schemas.$ZodType>>;
3118
3386
  };
3119
- type BaseSchema = JSONSchema;
3120
- interface ObjectSchema extends JSONSchema {
3121
- type: "object";
3122
- }
3123
- interface ArraySchema extends JSONSchema {
3124
- type: "array";
3125
- }
3126
- interface StringSchema extends JSONSchema {
3127
- type: "string";
3128
- }
3129
- interface NumberSchema extends JSONSchema {
3130
- type: "number";
3131
- }
3132
- interface IntegerSchema extends JSONSchema {
3133
- type: "integer";
3134
- }
3135
- interface BooleanSchema extends JSONSchema {
3136
- type: "boolean";
3137
- }
3138
- interface NullSchema extends JSONSchema {
3139
- type: "null";
3140
- }
3141
- interface JSONSchemaGeneratorParams {
3142
- /** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.
3143
- * @default globalRegistry */
3144
- metadata?: $ZodRegistry<Record<string, any>>;
3145
- /** The JSON Schema version to target.
3146
- * - `"draft-2020-12"` — Default. JSON Schema Draft 2020-12
3147
- * - `"draft-7"` — JSON Schema Draft 7
3148
- * - `"draft-4"` — JSON Schema Draft 4
3149
- * - `"openapi-3.0"` — OpenAPI 3.0 Schema Object */
3150
- target?: "draft-4" | "draft-7" | "draft-2020-12" | "openapi-3.0";
3151
- /** How to handle unrepresentable types.
3152
- * - `"throw"` — Default. Unrepresentable types throw an error
3153
- * - `"any"` — Unrepresentable types become `{}` */
3154
- unrepresentable?: "throw" | "any";
3155
- /** Arbitrary custom logic that can be used to modify the generated JSON Schema. */
3156
- override?: (ctx: {
3157
- zodSchema: schemas.$ZodTypes;
3158
- jsonSchema: JSONSchema$1.BaseSchema;
3159
- path: (string | number)[];
3160
- }) => void;
3161
- /** Whether to extract the `"input"` or `"output"` type. Relevant to transforms, Error converting schema to JSONz, defaults, coerced primitives, etc.
3162
- * - `"output"` — Default. Convert the output schema.
3163
- * - `"input"` — Convert the input schema. */
3164
- io?: "input" | "output";
3165
- }
3166
- interface ProcessParams {
3167
- schemaPath: schemas.$ZodType[];
3168
- path: (string | number)[];
3169
- }
3170
- interface EmitParams {
3171
- /** How to handle cycles.
3172
- * - `"ref"` — Default. Cycles will be broken using $defs
3173
- * - `"throw"` — Cycles will throw an error if encountered */
3174
- cycles?: "ref" | "throw";
3175
- reused?: "ref" | "inline";
3176
- external?: {
3177
- /** */
3178
- registry: $ZodRegistry<{
3179
- id?: string | undefined;
3180
- }>;
3181
- uri?: ((id: string) => string) | undefined;
3182
- defs: Record<string, JSONSchema$1.BaseSchema>;
3183
- } | undefined;
3184
- }
3185
- interface Seen {
3186
- /** JSON Schema result for this Zod schema */
3187
- schema: JSONSchema$1.BaseSchema;
3188
- /** A cached version of the schema that doesn't get overwritten during ref resolution */
3189
- def?: JSONSchema$1.BaseSchema;
3190
- defId?: string | undefined;
3191
- /** Number of times this schema was encountered during traversal */
3192
- count: number;
3193
- /** Cycle path */
3194
- cycle?: (string | number)[] | undefined;
3195
- isParent?: boolean | undefined;
3196
- ref?: schemas.$ZodType | undefined | null;
3197
- /** JSON Schema property path for this schema */
3198
- path?: (string | number)[] | undefined;
3199
- }
3387
+ type EmitParams = Pick<JSONSchemaGeneratorParams, "cycles" | "reused" | "external">;
3388
+ type JSONSchemaGeneratorConstructorParams = Pick<JSONSchemaGeneratorParams, "metadata" | "target" | "unrepresentable" | "override" | "io">;
3200
3389
  declare class JSONSchemaGenerator {
3201
- metadataRegistry: $ZodRegistry<Record<string, any>>;
3202
- target: "draft-4" | "draft-7" | "draft-2020-12" | "openapi-3.0";
3203
- unrepresentable: "throw" | "any";
3204
- override: (ctx: {
3205
- zodSchema: schemas.$ZodTypes;
3390
+ private ctx;
3391
+ /** @deprecated Access via ctx instead */
3392
+ get metadataRegistry(): $ZodRegistry<Record<string, any>>;
3393
+ /** @deprecated Access via ctx instead */
3394
+ get target(): ({} & string) | "draft-2020-12" | "draft-07" | "openapi-3.0" | "draft-04";
3395
+ /** @deprecated Access via ctx instead */
3396
+ get unrepresentable(): "any" | "throw";
3397
+ /** @deprecated Access via ctx instead */
3398
+ get override(): (ctx: {
3399
+ zodSchema: schemas.$ZodType;
3206
3400
  jsonSchema: JSONSchema$1.BaseSchema;
3207
3401
  path: (string | number)[];
3208
3402
  }) => void;
3209
- io: "input" | "output";
3210
- counter: number;
3211
- seen: Map<schemas.$ZodType, Seen>;
3212
- constructor(params?: JSONSchemaGeneratorParams);
3403
+ /** @deprecated Access via ctx instead */
3404
+ get io(): "input" | "output";
3405
+ /** @deprecated Access via ctx instead */
3406
+ get counter(): number;
3407
+ set counter(value: number);
3408
+ /** @deprecated Access via ctx instead */
3409
+ get seen(): Map<schemas.$ZodType, Seen>;
3410
+ constructor(params?: JSONSchemaGeneratorConstructorParams);
3411
+ /**
3412
+ * Process a schema to prepare it for JSON Schema generation.
3413
+ * This must be called before emit().
3414
+ */
3213
3415
  process(schema: schemas.$ZodType, _params?: ProcessParams): JSONSchema$1.BaseSchema;
3416
+ /**
3417
+ * Emit the final JSON Schema after processing.
3418
+ * Must call process() first.
3419
+ */
3214
3420
  emit(schema: schemas.$ZodType, _params?: EmitParams): JSONSchema$1.BaseSchema;
3215
3421
  }
3216
- interface ToJSONSchemaParams extends Omit<JSONSchemaGeneratorParams & EmitParams, "external"> {
3217
- }
3218
- interface RegistryToJSONSchemaParams extends Omit<JSONSchemaGeneratorParams & EmitParams, "external"> {
3219
- uri?: (id: string) => string;
3220
- }
3221
- declare function toJSONSchema(schema: schemas.$ZodType, _params?: ToJSONSchemaParams): JSONSchema$1.BaseSchema;
3222
- declare function toJSONSchema(registry: $ZodRegistry<{
3223
- id?: string | undefined;
3224
- }>, _params?: RegistryToJSONSchemaParams): {
3225
- schemas: Record<string, JSONSchema$1.BaseSchema>;
3226
- };
3227
3422
  type ZodIssue = core.$ZodIssue;
3228
3423
  interface ZodError<T = unknown> extends $ZodError<T> {
3229
3424
  /** @deprecated Use the `z.treeifyError(err)` function instead. */
@@ -3271,6 +3466,7 @@ declare const safeEncode$1: <T extends core.$ZodType>(schema: T, value: core.out
3271
3466
  declare const safeDecode$1: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;
3272
3467
  declare const safeEncodeAsync$1: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.input<T>>>;
3273
3468
  declare const safeDecodeAsync$1: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;
3469
+ type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;
3274
3470
  interface ZodType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {
3275
3471
  def: Internals["def"];
3276
3472
  type: Internals["def"]["type"];
@@ -3280,7 +3476,11 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
3280
3476
  _output: Internals["output"];
3281
3477
  /** @deprecated Use `z.input<typeof schema>` instead. */
3282
3478
  _input: Internals["input"];
3479
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3480
+ /** Converts this schema to a JSON Schema representation. */
3481
+ toJSONSchema(params?: core.ToJSONSchemaParams): core.ZodStandardJSONSchemaPayload<this>;
3283
3482
  check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
3483
+ with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
3284
3484
  clone(def?: Internals["def"], params?: {
3285
3485
  parent: boolean;
3286
3486
  }): this;
@@ -3291,7 +3491,7 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
3291
3491
  ] : [
3292
3492
  "Incompatible schema"
3293
3493
  ]): this;
3294
- brand<T extends PropertyKey = PropertyKey>(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T>;
3494
+ brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
3295
3495
  parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
3296
3496
  safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): ZodSafeParseResult<core.output<this>>;
3297
3497
  parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
@@ -3305,10 +3505,11 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
3305
3505
  safeDecode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): ZodSafeParseResult<core.output<this>>;
3306
3506
  safeEncodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<ZodSafeParseResult<core.input<this>>>;
3307
3507
  safeDecodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<ZodSafeParseResult<core.output<this>>>;
3308
- refine(check: (arg: core.output<this>) => unknown | Promise<unknown>, params?: string | core.$ZodCustomParams): this;
3508
+ refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | core.$ZodCustomParams): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
3309
3509
  superRefine(refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>): this;
3310
3510
  overwrite(fn: (x: core.output<this>) => core.output<this>): this;
3311
3511
  optional(): ZodOptional<this>;
3512
+ exactOptional(): ZodExactOptional<this>;
3312
3513
  nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;
3313
3514
  nullable(): ZodNullable<this>;
3314
3515
  nullish(): ZodOptional<ZodNullable<this>>;
@@ -3351,6 +3552,7 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
3351
3552
  * ```
3352
3553
  */
3353
3554
  isNullable(): boolean;
3555
+ apply<T>(fn: (schema: this) => T): T;
3354
3556
  }
3355
3557
  interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodType<any, any, Internals> {
3356
3558
  }
@@ -3360,7 +3562,7 @@ interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStri
3360
3562
  minLength: number | null;
3361
3563
  maxLength: number | null;
3362
3564
  regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;
3363
- includes(value: string, params?: core.$ZodCheckIncludesParams): this;
3565
+ includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;
3364
3566
  startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;
3365
3567
  endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;
3366
3568
  min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
@@ -3373,6 +3575,7 @@ interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStri
3373
3575
  normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
3374
3576
  toLowerCase(): this;
3375
3577
  toUpperCase(): this;
3578
+ slugify(): this;
3376
3579
  }
3377
3580
  declare const _ZodString: core.$constructor<_ZodString>;
3378
3581
  interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
@@ -3501,6 +3704,11 @@ interface ZodIPv4 extends ZodStringFormat<"ipv4"> {
3501
3704
  }
3502
3705
  declare const ZodIPv4: core.$constructor<ZodIPv4>;
3503
3706
  declare function ipv4$1(params?: string | core.$ZodIPv4Params): ZodIPv4;
3707
+ interface ZodMAC extends ZodStringFormat<"mac"> {
3708
+ _zod: core.$ZodMACInternals;
3709
+ }
3710
+ declare const ZodMAC: core.$constructor<ZodMAC>;
3711
+ declare function mac$1(params?: string | core.$ZodMACParams): ZodMAC;
3504
3712
  interface ZodIPv6 extends ZodStringFormat<"ipv6"> {
3505
3713
  _zod: core.$ZodIPv6Internals;
3506
3714
  }
@@ -3538,6 +3746,7 @@ declare const ZodJWT: core.$constructor<ZodJWT>;
3538
3746
  declare function jwt(params?: string | core.$ZodJWTParams): ZodJWT;
3539
3747
  interface ZodCustomStringFormat<Format extends string = string> extends ZodStringFormat<Format>, core.$ZodCustomStringFormat<Format> {
3540
3748
  _zod: core.$ZodCustomStringFormatInternals<Format>;
3749
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3541
3750
  }
3542
3751
  declare const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat>;
3543
3752
  declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<Format>;
@@ -3680,6 +3889,7 @@ interface ZodArray<T extends core.SomeType = core.$ZodType> extends _ZodType<cor
3680
3889
  max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
3681
3890
  length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
3682
3891
  unwrap(): T;
3892
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3683
3893
  }
3684
3894
  declare const ZodArray: core.$constructor<ZodArray>;
3685
3895
  declare function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T>;
@@ -3690,6 +3900,7 @@ type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShap
3690
3900
  interface ZodObject<
3691
3901
  /** @ts-ignore Cast variance */
3692
3902
  out Shape extends core.$ZodShape = core.$ZodLooseShape, out Config extends core.$ZodObjectConfig = core.$strip> extends _ZodType<core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {
3903
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3693
3904
  shape: Shape;
3694
3905
  keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
3695
3906
  /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
@@ -3708,18 +3919,18 @@ out Shape extends core.$ZodShape = core.$ZodLooseShape, out Config extends core.
3708
3919
  * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
3709
3920
  */
3710
3921
  merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
3711
- pick<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
3712
- omit<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
3922
+ pick<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
3923
+ omit<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
3713
3924
  partial(): ZodObject<{
3714
3925
  [k in keyof Shape]: ZodOptional<Shape[k]>;
3715
3926
  }, Config>;
3716
- partial<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<{
3927
+ partial<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{
3717
3928
  [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k];
3718
3929
  }, Config>;
3719
3930
  required(): ZodObject<{
3720
3931
  [k in keyof Shape]: ZodNonOptional<Shape[k]>;
3721
3932
  }, Config>;
3722
- required<M extends util.Mask<keyof Shape>>(mask: M): ZodObject<{
3933
+ required<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{
3723
3934
  [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
3724
3935
  }, Config>;
3725
3936
  }
@@ -3728,11 +3939,19 @@ declare function object<T extends core.$ZodLooseShape = Partial<Record<never, co
3728
3939
  declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<T, core.$strict>;
3729
3940
  declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<T, core.$loose>;
3730
3941
  interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodUnionInternals<T>>, core.$ZodUnion<T> {
3942
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3731
3943
  options: T;
3732
3944
  }
3733
3945
  declare const ZodUnion: core.$constructor<ZodUnion>;
3734
3946
  declare function union<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodUnion<T>;
3947
+ interface ZodXor<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodXorInternals<T>>, core.$ZodXor<T> {
3948
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3949
+ options: T;
3950
+ }
3951
+ declare const ZodXor: core.$constructor<ZodXor>;
3952
+ declare function xor<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodXorParams): ZodXor<T>;
3735
3953
  interface ZodDiscriminatedUnion<Options extends readonly core.SomeType[] = readonly core.$ZodType[], Disc extends string = string> extends ZodUnion<Options>, core.$ZodDiscriminatedUnion<Options, Disc> {
3954
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3736
3955
  _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
3737
3956
  def: core.$ZodDiscriminatedUnionDef<Options, Disc>;
3738
3957
  }
@@ -3742,10 +3961,12 @@ declare function discriminatedUnion<Types extends readonly [
3742
3961
  ...core.$ZodTypeDiscriminable[]
3743
3962
  ], Disc extends string>(discriminator: Disc, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodDiscriminatedUnion<Types, Disc>;
3744
3963
  interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodIntersectionInternals<A, B>>, core.$ZodIntersection<A, B> {
3964
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3745
3965
  }
3746
3966
  declare const ZodIntersection: core.$constructor<ZodIntersection>;
3747
3967
  declare function intersection<T extends core.SomeType, U extends core.SomeType>(left: T, right: U): ZodIntersection<T, U>;
3748
3968
  interface ZodTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends core.SomeType | null = core.$ZodType | null> extends _ZodType<core.$ZodTupleInternals<T, Rest>>, core.$ZodTuple<T, Rest> {
3969
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3749
3970
  rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;
3750
3971
  }
3751
3972
  declare const ZodTuple: core.$constructor<ZodTuple>;
@@ -3761,19 +3982,27 @@ declare function tuple(items: [
3761
3982
  ], params?: string | core.$ZodTupleParams): ZodTuple<[
3762
3983
  ], null>;
3763
3984
  interface ZodRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodRecordInternals<Key, Value>>, core.$ZodRecord<Key, Value> {
3985
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3764
3986
  keyType: Key;
3765
3987
  valueType: Value;
3766
3988
  }
3767
3989
  declare const ZodRecord: core.$constructor<ZodRecord>;
3768
3990
  declare function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;
3769
3991
  declare function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key & core.$partial, Value>;
3992
+ declare function looseRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;
3770
3993
  interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodMapInternals<Key, Value>>, core.$ZodMap<Key, Value> {
3994
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3771
3995
  keyType: Key;
3772
3996
  valueType: Value;
3997
+ min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
3998
+ nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
3999
+ max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
4000
+ size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
3773
4001
  }
3774
4002
  declare const ZodMap: core.$constructor<ZodMap>;
3775
4003
  declare function map<Key extends core.SomeType, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMap<Key, Value>;
3776
4004
  interface ZodSet<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSetInternals<T>>, core.$ZodSet<T> {
4005
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3777
4006
  min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
3778
4007
  nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
3779
4008
  max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
@@ -3784,6 +4013,7 @@ declare function set<Value extends core.SomeType>(valueType: Value, params?: str
3784
4013
  interface ZodEnum<
3785
4014
  /** @ts-ignore Cast variance */
3786
4015
  out T extends util.EnumLike = util.EnumLike> extends _ZodType<core.$ZodEnumInternals<T>>, core.$ZodEnum<T> {
4016
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3787
4017
  enum: T;
3788
4018
  options: Array<T[keyof T]>;
3789
4019
  extract<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Pick<T, U[number]>>>;
@@ -3794,6 +4024,7 @@ declare function _enum$1<const T extends readonly string[]>(values: T, params?:
3794
4024
  declare function _enum$1<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
3795
4025
  declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
3796
4026
  interface ZodLiteral<T extends util.Literal = util.Literal> extends _ZodType<core.$ZodLiteralInternals<T>>, core.$ZodLiteral<T> {
4027
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3797
4028
  values: Set<T>;
3798
4029
  /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */
3799
4030
  value: T;
@@ -3802,6 +4033,7 @@ declare const ZodLiteral: core.$constructor<ZodLiteral>;
3802
4033
  declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T[number]>;
3803
4034
  declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T>;
3804
4035
  interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {
4036
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3805
4037
  min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;
3806
4038
  max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;
3807
4039
  mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;
@@ -3809,43 +4041,57 @@ interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {
3809
4041
  declare const ZodFile: core.$constructor<ZodFile>;
3810
4042
  declare function file(params?: string | core.$ZodFileParams): ZodFile;
3811
4043
  interface ZodTransform<O = unknown, I = unknown> extends _ZodType<core.$ZodTransformInternals<O, I>>, core.$ZodTransform<O, I> {
4044
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3812
4045
  }
3813
4046
  declare const ZodTransform: core.$constructor<ZodTransform>;
3814
4047
  declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.ParsePayload) => O): ZodTransform<Awaited<O>, I>;
3815
4048
  interface ZodOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {
4049
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3816
4050
  unwrap(): T;
3817
4051
  }
3818
4052
  declare const ZodOptional: core.$constructor<ZodOptional>;
3819
4053
  declare function optional<T extends core.SomeType>(innerType: T): ZodOptional<T>;
4054
+ interface ZodExactOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodExactOptionalInternals<T>>, core.$ZodExactOptional<T> {
4055
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
4056
+ unwrap(): T;
4057
+ }
4058
+ declare const ZodExactOptional: core.$constructor<ZodExactOptional>;
4059
+ declare function exactOptional<T extends core.SomeType>(innerType: T): ZodExactOptional<T>;
3820
4060
  interface ZodNullable<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNullableInternals<T>>, core.$ZodNullable<T> {
4061
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3821
4062
  unwrap(): T;
3822
4063
  }
3823
4064
  declare const ZodNullable: core.$constructor<ZodNullable>;
3824
4065
  declare function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T>;
3825
4066
  declare function nullish$1<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>>;
3826
4067
  interface ZodDefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodDefaultInternals<T>>, core.$ZodDefault<T> {
4068
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3827
4069
  unwrap(): T;
3828
4070
  /** @deprecated Use `.unwrap()` instead. */
3829
4071
  removeDefault(): T;
3830
4072
  }
3831
4073
  declare const ZodDefault: core.$constructor<ZodDefault>;
3832
- declare function _default$48<T extends core.SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodDefault<T>;
4074
+ declare function _default$50<T extends core.SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodDefault<T>;
3833
4075
  interface ZodPrefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPrefaultInternals<T>>, core.$ZodPrefault<T> {
4076
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3834
4077
  unwrap(): T;
3835
4078
  }
3836
4079
  declare const ZodPrefault: core.$constructor<ZodPrefault>;
3837
4080
  declare function prefault<T extends core.SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodPrefault<T>;
3838
4081
  interface ZodNonOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNonOptionalInternals<T>>, core.$ZodNonOptional<T> {
4082
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3839
4083
  unwrap(): T;
3840
4084
  }
3841
4085
  declare const ZodNonOptional: core.$constructor<ZodNonOptional>;
3842
4086
  declare function nonoptional<T extends core.SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodNonOptional<T>;
3843
4087
  interface ZodSuccess<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSuccessInternals<T>>, core.$ZodSuccess<T> {
4088
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3844
4089
  unwrap(): T;
3845
4090
  }
3846
4091
  declare const ZodSuccess: core.$constructor<ZodSuccess>;
3847
4092
  declare function success<T extends core.SomeType>(innerType: T): ZodSuccess<T>;
3848
4093
  interface ZodCatch<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodCatchInternals<T>>, core.$ZodCatch<T> {
4094
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3849
4095
  unwrap(): T;
3850
4096
  /** @deprecated Use `.unwrap()` instead. */
3851
4097
  removeCatch(): T;
@@ -3853,16 +4099,19 @@ interface ZodCatch<T extends core.SomeType = core.$ZodType> extends _ZodType<cor
3853
4099
  declare const ZodCatch: core.$constructor<ZodCatch>;
3854
4100
  declare function _catch$1<T extends core.SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodCatch<T>;
3855
4101
  interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {
4102
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3856
4103
  }
3857
4104
  declare const ZodNaN: core.$constructor<ZodNaN>;
3858
4105
  declare function nan(params?: string | core.$ZodNaNParams): ZodNaN;
3859
4106
  interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPipeInternals<A, B>>, core.$ZodPipe<A, B> {
4107
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3860
4108
  in: A;
3861
4109
  out: B;
3862
4110
  }
3863
4111
  declare const ZodPipe: core.$constructor<ZodPipe>;
3864
4112
  declare function pipe<const A extends core.SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;
3865
4113
  interface ZodCodec<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends ZodPipe<A, B>, core.$ZodCodec<A, B> {
4114
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3866
4115
  _zod: core.$ZodCodecInternals<A, B>;
3867
4116
  def: core.$ZodCodecDef<A, B>;
3868
4117
  }
@@ -3872,25 +4121,30 @@ declare function codec<const A extends core.SomeType, B extends core.SomeType =
3872
4121
  encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
3873
4122
  }): ZodCodec<A, B>;
3874
4123
  interface ZodReadonly<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodReadonlyInternals<T>>, core.$ZodReadonly<T> {
4124
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3875
4125
  unwrap(): T;
3876
4126
  }
3877
4127
  declare const ZodReadonly: core.$constructor<ZodReadonly>;
3878
4128
  declare function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T>;
3879
4129
  interface ZodTemplateLiteral<Template extends string = string> extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>, core.$ZodTemplateLiteral<Template> {
4130
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3880
4131
  }
3881
4132
  declare const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral>;
3882
4133
  declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;
3883
4134
  interface ZodLazy<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodLazyInternals<T>>, core.$ZodLazy<T> {
4135
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3884
4136
  unwrap(): T;
3885
4137
  }
3886
4138
  declare const ZodLazy: core.$constructor<ZodLazy>;
3887
4139
  declare function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T>;
3888
4140
  interface ZodPromise<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPromiseInternals<T>>, core.$ZodPromise<T> {
4141
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3889
4142
  unwrap(): T;
3890
4143
  }
3891
4144
  declare const ZodPromise: core.$constructor<ZodPromise>;
3892
4145
  declare function promise<T extends core.SomeType>(innerType: T): ZodPromise<T>;
3893
4146
  interface ZodFunction<Args extends core.$ZodFunctionIn = core.$ZodFunctionIn, Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut> extends _ZodType<core.$ZodFunctionInternals<Args, Returns>>, core.$ZodFunction<Args, Returns> {
4147
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3894
4148
  _def: core.$ZodFunctionDef<Args, Returns>;
3895
4149
  _input: core.$InferInnerFunctionType<Args, Returns>;
3896
4150
  _output: core.$InferOuterFunctionType<Args, Returns>;
@@ -3919,12 +4173,15 @@ declare function _function<In extends core.$ZodFunctionIn = core.$ZodFunctionIn,
3919
4173
  output: Out;
3920
4174
  }): ZodFunction<In, Out>;
3921
4175
  interface ZodCustom<O = unknown, I = unknown> extends _ZodType<core.$ZodCustomInternals<O, I>>, core.$ZodCustom<O, I> {
4176
+ "~standard": ZodStandardSchemaWithJSON$1<this>;
3922
4177
  }
3923
4178
  declare const ZodCustom: core.$constructor<ZodCustom>;
3924
4179
  declare function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O>;
3925
4180
  declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodCustom<O, O>;
3926
4181
  declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;
3927
4182
  declare function superRefine<T>(fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>): core.$ZodCheck<T>;
4183
+ declare const describe$1: typeof core.describe;
4184
+ declare const meta$1: typeof core.meta;
3928
4185
  type ZodInstanceOfParams = core.Params<ZodCustom, core.$ZodIssueCustom, "type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path">;
3929
4186
  declare function _instanceof<T extends typeof util.Class>(cls: T, params?: ZodInstanceOfParams): ZodCustom<InstanceType<T>, InstanceType<T>>;
3930
4187
  declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean>;
@@ -3971,6 +4228,12 @@ declare function getErrorMap(): core.$ZodErrorMap<core.$ZodIssue> | undefined;
3971
4228
  type ZodRawShape = core.$ZodShape;
3972
4229
  declare enum ZodFirstPartyTypeKind {
3973
4230
  }
4231
+ type JSONSchemaVersion = "draft-2020-12" | "draft-7" | "draft-4" | "openapi-3.0";
4232
+ interface FromJSONSchemaParams {
4233
+ defaultTarget?: JSONSchemaVersion;
4234
+ registry?: $ZodRegistry<any>;
4235
+ }
4236
+ declare function fromJSONSchema(schema: JSONSchema$1.JSONSchema | boolean, params?: FromJSONSchemaParams): ZodType;
3974
4237
  interface ZodISODateTime extends schemas$1.ZodStringFormat {
3975
4238
  _zod: core.$ZodISODateTimeInternals;
3976
4239
  }
@@ -4833,7 +5096,7 @@ type LocationData = Omit<MVF2Location, "categories" | "spaces" | "obstructions"
4833
5096
  declare class LocationProfile extends BaseMetaData implements LocationData, IFocusable, INavigatable {
4834
5097
  #private;
4835
5098
  /**
4836
- * Checks if the provided instance is of type EnterpriseLocation.
5099
+ * Checks if the provided instance is of type LocationProfile.
4837
5100
  *
4838
5101
  * @param instance The instance to check.
4839
5102
  * @returns {boolean} True if the instance is a EnterpriseLocation, false otherwise.
@@ -4945,6 +5208,9 @@ declare class LocationProfile extends BaseMetaData implements LocationData, IFoc
4945
5208
  /**
4946
5209
  * Gets the {@link LocationCategory}s associated with the location.
4947
5210
  *
5211
+ * @remarks
5212
+ * **Data Source: Maker** - This property is only available when using Maker credentials.
5213
+ *
4948
5214
  * @returns {LocationCategory[]} The location categories array.
4949
5215
  */
4950
5216
  get categories(): LocationCategory[];
@@ -5042,6 +5308,11 @@ declare abstract class DetailedMapData<MVFData extends MVFFeature<Geometry, {
5042
5308
  /**
5043
5309
  * Gets the {@link LocationProfile}s attached to this feature.
5044
5310
  *
5311
+ * @remarks
5312
+ * **Data Source: Maker** - This property is only populated when using Maker credentials
5313
+ * (API keys starting with `mik_`). Returns an empty array when using CMS/Enterprise credentials.
5314
+ * For Enterprise data, use {@link Space.enterpriseLocations} or {@link MapObject.enterpriseLocations} instead.
5315
+ *
5045
5316
  * @returns {LocationProfile[]} An array of location profiles.
5046
5317
  */
5047
5318
  get locationProfiles(): LocationProfile[];
@@ -5249,6 +5520,12 @@ declare class Space extends DetailedMapData<SpaceFeature> implements IGeoJSONDat
5249
5520
  /**
5250
5521
  * Gets the {@link EnterpriseLocation}s attached to this space.
5251
5522
  *
5523
+ * @remarks
5524
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
5525
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
5526
+ * using Maker credentials. For Maker data, access locations via {@link LocationProfile.spaces}
5527
+ * instead.
5528
+ *
5252
5529
  * @returns {EnterpriseLocation[]} An array of enterprise locations.
5253
5530
  */
5254
5531
  get enterpriseLocations(): EnterpriseLocation[];
@@ -5256,6 +5533,10 @@ declare class Space extends DetailedMapData<SpaceFeature> implements IGeoJSONDat
5256
5533
  * Gets the {@link EnterpriseLocation}s attached to this space.
5257
5534
  *
5258
5535
  * @deprecated Use {@link enterpriseLocations} instead. This property will be removed in a future release.
5536
+ *
5537
+ * @remarks
5538
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials.
5539
+ *
5259
5540
  * @returns {EnterpriseLocation[]} An array of enterprise locations.
5260
5541
  */
5261
5542
  get locations(): EnterpriseLocation[];
@@ -5269,6 +5550,10 @@ declare class Space extends DetailedMapData<SpaceFeature> implements IGeoJSONDat
5269
5550
  /**
5270
5551
  * Gets the array of {@link Door}s associated with the space.
5271
5552
  *
5553
+ * @remarks
5554
+ * **Data Source: Maker** - This property is only populated when using Maker credentials
5555
+ * (API keys starting with `mik_`). Returns an empty array when using CMS/Enterprise credentials.
5556
+ *
5272
5557
  * @returns {Door[]} The doors array.
5273
5558
  */
5274
5559
  get doors(): Door[];
@@ -5629,6 +5914,12 @@ declare class MapObject extends DetailedMapData<ObstructionFeature> implements I
5629
5914
  /**
5630
5915
  * Gets the {@link EnterpriseLocation}s attached to this object.
5631
5916
  *
5917
+ * @remarks
5918
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
5919
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
5920
+ * using Maker credentials. For Maker data, access locations via {@link LocationProfile.mapObjects}
5921
+ * instead.
5922
+ *
5632
5923
  * @returns {EnterpriseLocation[]} An array of enterprise locations.
5633
5924
  */
5634
5925
  get enterpriseLocations(): EnterpriseLocation[];
@@ -5636,6 +5927,10 @@ declare class MapObject extends DetailedMapData<ObstructionFeature> implements I
5636
5927
  * Gets the {@link EnterpriseLocation}s attached to this object.
5637
5928
  *
5638
5929
  * @deprecated Use {@link enterpriseLocations} instead. This property will be removed in a future release.
5930
+ *
5931
+ * @remarks
5932
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials.
5933
+ *
5639
5934
  * @returns {EnterpriseLocation[]} An array of enterprise locations.
5640
5935
  */
5641
5936
  get locations(): EnterpriseLocation[];
@@ -5903,7 +6198,16 @@ declare class Node$1 extends BaseMetaData implements IGeoJSONData, IFocusable, I
5903
6198
  floorId: string;
5904
6199
  mvfData: MVFNodeFeature;
5905
6200
  });
5906
- /** @internal */
6201
+ /**
6202
+ * Gets the {@link EnterpriseLocation}s attached to this node.
6203
+ *
6204
+ * @remarks
6205
+ * **Data Source: Enterprise** - This property is only populated when using CMS/Enterprise credentials
6206
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty array when
6207
+ * using Maker credentials.
6208
+ *
6209
+ * @internal
6210
+ */
5907
6211
  get locations(): EnterpriseLocation[];
5908
6212
  /**
5909
6213
  * Gets the {@link Space} object associated with the node.
@@ -6362,9 +6666,17 @@ declare class EnterpriseLocation extends BaseMetaData implements Omit<MVFEnterpr
6362
6666
  parentId?: string;
6363
6667
  });
6364
6668
  /** @internal */
6365
- get focusTarget(): Space[];
6669
+ get focusTarget(): Coordinate[] | Space[];
6366
6670
  /** @internal */
6367
6671
  get navigationTarget(): Space[];
6672
+ /**
6673
+ * Gets the {@link EnterpriseCategory}s associated with the location.
6674
+ *
6675
+ * @remarks
6676
+ * **Data Source: Enterprise** - This property is only available when using CMS/Enterprise credentials.
6677
+ *
6678
+ * @returns {EnterpriseCategory[]} The enterprise categories array.
6679
+ */
6368
6680
  get categories(): EnterpriseCategory[];
6369
6681
  get coordinates(): Coordinate[];
6370
6682
  get nodes(): Node$1[];
@@ -6445,10 +6757,16 @@ declare class EnterpriseCategory extends BaseMetaData implements Omit<MVFEnterpr
6445
6757
  });
6446
6758
  /**
6447
6759
  * The child categories of the category.
6760
+ *
6761
+ * @remarks
6762
+ * **Data Source: Enterprise** - This property is only available when using CMS/Enterprise credentials.
6448
6763
  */
6449
6764
  get children(): EnterpriseCategory[];
6450
6765
  /**
6451
6766
  * The {@link EnterpriseLocation}s within this category.
6767
+ *
6768
+ * @remarks
6769
+ * **Data Source: Enterprise** - This property is only available when using CMS/Enterprise credentials.
6452
6770
  */
6453
6771
  get locations(): EnterpriseLocation[];
6454
6772
  /**
@@ -6585,6 +6903,7 @@ declare class EnterpriseVenue extends BaseMetaData implements MVFEnterpriseVenue
6585
6903
  destroy(): void;
6586
6904
  }
6587
6905
  type TQueriables = PointOfInterest | Door | Annotation | Node$1 | Space | EnterpriseLocation;
6906
+ type TQueryAtResult = Space | MapObject | Area | Floor;
6588
6907
  type TFindNearestResult<T extends TQueriables> = {
6589
6908
  distance: number;
6590
6909
  feature: T;
@@ -6643,6 +6962,25 @@ declare class Query {
6643
6962
  * @returns Objects with the distance and the feature, sorted by distance
6644
6963
  */
6645
6964
  nearest<T extends TQueriables>(origin: Coordinate | PointOfInterest | Door | Annotation | Node$1, include: T[], options?: TFindNearestOptions): Promise<TFindNearestResult<T> | undefined>;
6965
+ /**
6966
+ * Find all geometry objects (Spaces, MapObjects, Areas, Floors) at the given coordinate.
6967
+ * If the coordinate has a floorId, only that floor is searched.
6968
+ * If no floorId is provided, all floors are searched.
6969
+ * @param coordinate - The coordinate to search at
6970
+ * @returns Array of Spaces, MapObjects, Areas, and Floors that contain the coordinate
6971
+ * @example
6972
+ * ```typescript
6973
+ * // Find all geometry at a coordinate with a floor
6974
+ * const coord = new Coordinate({ latitude: 43.861, longitude: -78.947, floorId: 'floor1' });
6975
+ * const results = await mapData.Query.at(coord);
6976
+ * // results may contain [Space, Floor, Area, ...]
6977
+ *
6978
+ * // Find all geometry at a coordinate across all floors
6979
+ * const coordNoFloor = new Coordinate({ latitude: 43.861, longitude: -78.947 });
6980
+ * const allResults = await mapData.Query.at(coordNoFloor);
6981
+ * ```
6982
+ */
6983
+ at(coordinate: Coordinate): Promise<TQueryAtResult[]>;
6646
6984
  }
6647
6985
  declare class LocationCategory extends BaseMetaData implements Omit<MVFCategory, "parent"> {
6648
6986
  #private;
@@ -6676,15 +7014,24 @@ declare class LocationCategory extends BaseMetaData implements Omit<MVFCategory,
6676
7014
  /**
6677
7015
  * Gets the parent {@link LocationCategory}.
6678
7016
  *
7017
+ * @remarks
7018
+ * **Data Source: Maker** - This property is only available when using Maker credentials.
7019
+ *
6679
7020
  * @returns {LocationCategory | undefined} The parent location category.
6680
7021
  */
6681
7022
  get parent(): LocationCategory | undefined;
6682
7023
  /**
6683
7024
  * Gets the children {@link LocationCategory}s.
7025
+ *
7026
+ * @remarks
7027
+ * **Data Source: Maker** - This property is only available when using Maker credentials.
6684
7028
  */
6685
7029
  get children(): LocationCategory[];
6686
7030
  /**
6687
7031
  * Gets the {@link LocationProfile}s that are associated with this category.
7032
+ *
7033
+ * @remarks
7034
+ * **Data Source: Maker** - This property is only available when using Maker credentials.
6688
7035
  */
6689
7036
  get locationProfiles(): LocationProfile[];
6690
7037
  toJSON(): {
@@ -7010,6 +7357,10 @@ type THydrateMapDataBundle = {
7010
7357
  type: "binary";
7011
7358
  options?: {
7012
7359
  version?: "2.0.0" | "3.0.0";
7360
+ /**
7361
+ * @deprecated This option is no longer needed and will be removed in a future release.
7362
+ * Enterprise mode is now automatically detected from the MVF data.
7363
+ */
7013
7364
  enterprise?: boolean;
7014
7365
  };
7015
7366
  languagePacks?: {
@@ -7024,6 +7375,10 @@ type THydrateMapDataBundle = {
7024
7375
  type: "json";
7025
7376
  options?: {
7026
7377
  version?: "2.0.0" | "3.0.0";
7378
+ /**
7379
+ * @deprecated This option is no longer needed and will be removed in a future release.
7380
+ * Enterprise mode is now automatically detected from the MVF data.
7381
+ */
7027
7382
  enterprise?: boolean;
7028
7383
  mvf3?: MVFv2_STANDARD_MVFv3;
7029
7384
  };
@@ -7195,6 +7550,54 @@ declare class MapData {
7195
7550
  * ```
7196
7551
  */
7197
7552
  get mapId(): string | undefined;
7553
+ /**
7554
+ * Indicates whether the map data was loaded from a CMS/Enterprise data source.
7555
+ *
7556
+ * Use this property to determine which data types to access at runtime, especially
7557
+ * when loading map data from a zip file where the data source is unknown beforehand.
7558
+ *
7559
+ * @remarks
7560
+ * **Data Source Detection:**
7561
+ * - `true` - Map uses CMS/Enterprise data. Use `enterprise-location`, `enterprise-category`, `enterprise-venue`.
7562
+ * - `false` - Map uses Maker data. Use `location-profile`, `location-category`.
7563
+ *
7564
+ * **Important for AI/Code Generation:**
7565
+ * When loading from a zip file (using `hydrateMapData`), always check this property
7566
+ * and write code that handles both data sources dynamically. This ensures your code
7567
+ * works with any map regardless of its origin.
7568
+ *
7569
+ * @returns {boolean} `true` if using CMS/Enterprise data source, `false` if using Maker.
7570
+ *
7571
+ * @example Dynamic data source handling (recommended for zip files)
7572
+ * ```ts
7573
+ * import { hydrateMapData } from '@mappedin/mappedin-js';
7574
+ *
7575
+ * const mapData = await hydrateMapData(bundle);
7576
+ *
7577
+ * // Handle both data sources dynamically
7578
+ * const locations = mapData.isEnterpriseMode
7579
+ * ? mapData.getByType('enterprise-location')
7580
+ * : mapData.getByType('location-profile');
7581
+ *
7582
+ * const categories = mapData.isEnterpriseMode
7583
+ * ? mapData.getByType('enterprise-category')
7584
+ * : mapData.getByType('location-category');
7585
+ *
7586
+ * // Now use locations and categories regardless of data source
7587
+ * locations.forEach(loc => console.log(loc.name));
7588
+ * ```
7589
+ *
7590
+ * @example Conditional logic based on data source
7591
+ * ```ts
7592
+ * if (mapData.isEnterpriseMode) {
7593
+ * const venue = mapData.getByType('enterprise-venue');
7594
+ * console.log('Enterprise venue:', venue?.name);
7595
+ * } else {
7596
+ * console.log('Maker map - no venue object available');
7597
+ * }
7598
+ * ```
7599
+ */
7600
+ get isEnterpriseMode(): boolean;
7198
7601
  /**
7199
7602
  * The approximate center coordinate ({@link Coordinate}) of the map.
7200
7603
  *
@@ -7357,6 +7760,12 @@ declare class MapData {
7357
7760
  getByType(type: "area"): Area[];
7358
7761
  /**
7359
7762
  * @returns The enterprise locations ({@link EnterpriseLocation}) on the map.
7763
+ *
7764
+ * @remarks
7765
+ * **Data Source: Enterprise** - Only populated when using CMS/Enterprise credentials
7766
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty
7767
+ * array when using Maker credentials. Use `'location-profile'` instead for Maker data.
7768
+ *
7360
7769
  * @example
7361
7770
  * ```ts
7362
7771
  * const locations = mapData.getByType('enterprise-location');
@@ -7366,6 +7775,12 @@ declare class MapData {
7366
7775
  getByType(type: "enterprise-location"): EnterpriseLocation[];
7367
7776
  /**
7368
7777
  * @returns The enterprise categories ({@link EnterpriseCategory}) on the map.
7778
+ *
7779
+ * @remarks
7780
+ * **Data Source: Enterprise** - Only populated when using CMS/Enterprise credentials
7781
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns an empty
7782
+ * array when using Maker credentials. Use `'location-category'` instead for Maker data.
7783
+ *
7369
7784
  * @example
7370
7785
  * ```ts
7371
7786
  * const categories = mapData.getByType('enterprise-category');
@@ -7374,16 +7789,30 @@ declare class MapData {
7374
7789
  */
7375
7790
  getByType(type: "enterprise-category"): EnterpriseCategory[];
7376
7791
  /**
7377
- * @returns The enterprise venues ({@link EnterpriseVenue}) on the map.
7792
+ * @returns The enterprise venue ({@link EnterpriseVenue}) for the map, or undefined if not available.
7793
+ *
7794
+ * @remarks
7795
+ * **Data Source: Enterprise** - Only available when using CMS/Enterprise credentials
7796
+ * (clientId/clientSecret or API keys that do NOT start with `mik_`). Returns undefined
7797
+ * when using Maker credentials.
7798
+ *
7378
7799
  * @example
7379
7800
  * ```ts
7380
- * const venues = mapData.getByType('enterprise-venue');
7381
- * const malls = venues.filter(venue => venue.type === 'mall');
7801
+ * const venue = mapData.getByType('enterprise-venue');
7802
+ * if (venue) {
7803
+ * console.log(venue.name, venue.languages);
7804
+ * }
7382
7805
  * ```
7383
7806
  */
7384
7807
  getByType(type: "enterprise-venue"): EnterpriseVenue | undefined;
7385
7808
  /**
7386
7809
  * @returns The location profiles ({@link LocationProfile}) on the map.
7810
+ *
7811
+ * @remarks
7812
+ * **Data Source: Maker** - Only populated when using Maker credentials
7813
+ * (API keys starting with `mik_`). Returns an empty array when using CMS/Enterprise
7814
+ * credentials. Use `'enterprise-location'` instead for Enterprise data.
7815
+ *
7387
7816
  * @example
7388
7817
  * ```ts
7389
7818
  * const profiles = mapData.getByType('location-profile');
@@ -7393,6 +7822,12 @@ declare class MapData {
7393
7822
  getByType(type: "location-profile"): LocationProfile[];
7394
7823
  /**
7395
7824
  * @returns The location categories ({@link LocationCategory}) on the map.
7825
+ *
7826
+ * @remarks
7827
+ * **Data Source: Maker** - Only populated when using Maker credentials
7828
+ * (API keys starting with `mik_`). Returns an empty array when using CMS/Enterprise
7829
+ * credentials. Use `'enterprise-category'` instead for Enterprise data.
7830
+ *
7396
7831
  * @example
7397
7832
  * ```ts
7398
7833
  * const categories = mapData.getByType('location-category');
@@ -7405,6 +7840,12 @@ declare class MapData {
7405
7840
  *
7406
7841
  * Use this method to find individual map elements when you know their exact ID. This is more efficient than filtering collections for specific elements.
7407
7842
  *
7843
+ * @remarks
7844
+ * **Data Source Availability:**
7845
+ * - `'enterprise-location'`, `'enterprise-category'`, `'enterprise-venue'` - Only available with CMS/Enterprise credentials
7846
+ * - `'location-profile'`, `'location-category'` - Only available with Maker credentials (keys starting with `mik_`)
7847
+ * - All other types (`'space'`, `'floor'`, `'door'`, etc.) - Available with both credential types
7848
+ *
7408
7849
  * @param type The type of element to retrieve.
7409
7850
  * @param id The unique identifier of the element.
7410
7851
  * @returns The map element if found, undefined otherwise.
@@ -7453,6 +7894,12 @@ declare class MapData {
7453
7894
  *
7454
7895
  * External IDs are custom identifiers that can be assigned to map elements. This is useful for integrating with external systems or databases.
7455
7896
  *
7897
+ * @remarks
7898
+ * **Data Source Availability:**
7899
+ * - `'enterprise-location'`, `'enterprise-category'` - Only available with CMS/Enterprise credentials
7900
+ * - `'location-profile'` - Only available with Maker credentials (keys starting with `mik_`)
7901
+ * - All other types (`'space'`, `'floor'`, etc.) - Available with both credential types
7902
+ *
7456
7903
  * @param type The type of element to retrieve.
7457
7904
  * @param externalId The external identifier to search for.
7458
7905
  * @returns An array of elements with the matching external ID.
@@ -7463,11 +7910,19 @@ declare class MapData {
7463
7910
  * spaces.forEach(space => console.log(`Found space: ${space.name}`));
7464
7911
  * ```
7465
7912
  *
7466
- * @example Find locations by external ID
7913
+ * @example Find locations by external ID (Enterprise)
7467
7914
  * ```ts
7915
+ * // With CMS/Enterprise credentials:
7468
7916
  * const locations = mapData.getByExternalId('enterprise-location', 'RESTAURANT-ABC');
7469
7917
  * locations.forEach(location => console.log(`Found location: ${location.name}`));
7470
7918
  * ```
7919
+ *
7920
+ * @example Find locations by external ID (Maker)
7921
+ * ```ts
7922
+ * // With Maker credentials (mik_ keys):
7923
+ * const locations = mapData.getByExternalId('location-profile', 'RESTAURANT-ABC');
7924
+ * locations.forEach(location => console.log(`Found location: ${location.name}`));
7925
+ * ```
7471
7926
  */
7472
7927
  getByExternalId<T extends keyof Omit<TMapDataObjectTypes, "annotation" | "facade">>(type: T, externalId: string): TMapDataObjectTypes[T][];
7473
7928
  /**
@@ -7863,35 +8318,35 @@ export declare class EventsManager {
7863
8318
  destroy(): void;
7864
8319
  }
7865
8320
 
8321
+ declare namespace JSONSchema$1 {
8322
+ export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };
8323
+ }
7866
8324
  declare namespace coerce {
7867
8325
  export { ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, bigint$2 as bigint, boolean$2 as boolean, date$3 as date, number$2 as number, string$2 as string };
7868
8326
  }
7869
8327
  declare namespace schemas {
7870
- export { $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File$1 as File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, _$ZodType, _$ZodTypeInternals, clone, isValidBase64, isValidBase64URL, isValidJWT };
8328
+ export { $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodExactOptional, $ZodExactOptionalDef, $ZodExactOptionalInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMAC, $ZodMACDef, $ZodMACInternals, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $ZodXor, $ZodXorInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File$1 as File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, _$ZodType, _$ZodTypeInternals, clone, isValidBase64, isValidBase64URL, isValidJWT };
7871
8329
  }
7872
8330
  declare namespace util {
7873
- export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
7874
- }
7875
- declare namespace JSONSchema$1 {
7876
- export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };
8331
+ export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish, numKeys, objectClone, omit, optionalKeys, parsedType, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, slugify, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
7877
8332
  }
7878
8333
  declare namespace regexes {
7879
- export { _null as null, _undefined as undefined, base64, base64url, bigint, boolean, browserEmail, cidrv4, cidrv6, cuid, cuid2, date, datetime, domain, duration, e164, email, emoji, extendedDuration, guid, hex, hostname, html5Email, idnEmail, integer, ipv4, ipv6, ksuid, lowercase, md5_base64, md5_base64url, md5_hex, nanoid, number, rfc5322Email, sha1_base64, sha1_base64url, sha1_hex, sha256_base64, sha256_base64url, sha256_hex, sha384_base64, sha384_base64url, sha384_hex, sha512_base64, sha512_base64url, sha512_hex, string, time, ulid, unicodeEmail, uppercase, uuid, uuid4, uuid6, uuid7, xid };
8334
+ export { _null as null, _undefined as undefined, base64, base64url, bigint, boolean, browserEmail, cidrv4, cidrv6, cuid, cuid2, date, datetime, domain, duration, e164, email, emoji, extendedDuration, guid, hex, hostname, html5Email, idnEmail, integer, ipv4, ipv6, ksuid, lowercase, mac, md5_base64, md5_base64url, md5_hex, nanoid, number, rfc5322Email, sha1_base64, sha1_base64url, sha1_hex, sha256_base64, sha256_base64url, sha256_hex, sha384_base64, sha384_base64url, sha384_hex, sha512_base64, sha512_base64url, sha512_hex, string, time, ulid, unicodeEmail, uppercase, uuid, uuid4, uuid6, uuid7, xid };
7880
8335
  }
7881
8336
  declare namespace locales {
7882
- export { _default as ar, _default$1 as az, _default$10 as es, _default$11 as fa, _default$12 as fi, _default$13 as fr, _default$14 as frCA, _default$15 as he, _default$16 as hu, _default$17 as id, _default$18 as is, _default$19 as it, _default$2 as be, _default$20 as ja, _default$21 as ka, _default$22 as kh, _default$23 as km, _default$24 as ko, _default$25 as lt, _default$26 as mk, _default$27 as ms, _default$28 as nl, _default$29 as no, _default$3 as bg, _default$30 as ota, _default$31 as ps, _default$32 as pl, _default$33 as pt, _default$34 as ru, _default$35 as sl, _default$36 as sv, _default$37 as ta, _default$38 as th, _default$39 as tr, _default$4 as ca, _default$40 as ua, _default$41 as uk, _default$42 as ur, _default$43 as vi, _default$44 as zhCN, _default$45 as zhTW, _default$46 as yo, _default$5 as cs, _default$6 as da, _default$7 as de, _default$8 as en, _default$9 as eo };
8337
+ export { _default as ar, _default$1 as az, _default$10 as es, _default$11 as fa, _default$12 as fi, _default$13 as fr, _default$14 as frCA, _default$15 as he, _default$16 as hu, _default$17 as hy, _default$18 as id, _default$19 as is, _default$2 as be, _default$20 as it, _default$21 as ja, _default$22 as ka, _default$23 as kh, _default$24 as km, _default$25 as ko, _default$26 as lt, _default$27 as mk, _default$28 as ms, _default$29 as nl, _default$3 as bg, _default$30 as no, _default$31 as ota, _default$32 as ps, _default$33 as pl, _default$34 as pt, _default$35 as ru, _default$36 as sl, _default$37 as sv, _default$38 as ta, _default$39 as th, _default$4 as ca, _default$40 as tr, _default$41 as ua, _default$42 as uk, _default$43 as ur, _default$44 as uz, _default$45 as vi, _default$46 as zhCN, _default$47 as zhTW, _default$48 as yo, _default$5 as cs, _default$6 as da, _default$7 as de, _default$8 as en, _default$9 as eo };
7883
8338
  }
7884
8339
  declare namespace schemas$1 {
7885
- export { SafeExtendShape, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodFile, ZodFloat32, ZodFloat64, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodInt, ZodInt32, ZodIntersection, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRecord, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodUInt32, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _catch$1 as catch, _default$48 as _default, _enum$1 as enum, _function, _function as function, _instanceof as instanceof, _null$2 as null, _undefined$2 as undefined, _void$1 as void, any, array, base64$1 as base64, base64url$1 as base64url, bigint$1 as bigint, boolean$1 as boolean, check, cidrv4$1 as cidrv4, cidrv6$1 as cidrv6, codec, cuid$1 as cuid, cuid2$1 as cuid2, custom, date$1 as date, discriminatedUnion, e164$1 as e164, email$1 as email, emoji$1 as emoji, file, float32, float64, guid$1 as guid, hash, hex$1 as hex, hostname$1 as hostname, httpUrl, int, int32, int64, intersection, ipv4$1 as ipv4, ipv6$1 as ipv6, json, jwt, keyof, ksuid$1 as ksuid, lazy, literal, looseObject, map, nan, nanoid$1 as nanoid, nativeEnum, never, nonoptional, nullable, nullish$1 as nullish, number$1 as number, object, optional, partialRecord, pipe, prefault, preprocess, promise, readonly, record, refine, set, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, transform, tuple, uint32, uint64, ulid$1 as ulid, union, unknown, url, uuid$1 as uuid, uuidv4, uuidv6, uuidv7, xid$1 as xid };
8340
+ export { SafeExtendShape, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodExactOptional, ZodFile, ZodFloat32, ZodFloat64, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodInt, ZodInt32, ZodIntersection, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMAC, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodReadonly, ZodRecord, ZodSet, ZodStandardSchemaWithJSON$1 as ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodUInt32, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, ZodXor, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _catch$1 as catch, _default$50 as _default, _enum$1 as enum, _function, _function as function, _instanceof as instanceof, _null$2 as null, _undefined$2 as undefined, _void$1 as void, any, array, base64$1 as base64, base64url$1 as base64url, bigint$1 as bigint, boolean$1 as boolean, check, cidrv4$1 as cidrv4, cidrv6$1 as cidrv6, codec, cuid$1 as cuid, cuid2$1 as cuid2, custom, date$1 as date, describe$1 as describe, discriminatedUnion, e164$1 as e164, email$1 as email, emoji$1 as emoji, exactOptional, file, float32, float64, guid$1 as guid, hash, hex$1 as hex, hostname$1 as hostname, httpUrl, int, int32, int64, intersection, ipv4$1 as ipv4, ipv6$1 as ipv6, json, jwt, keyof, ksuid$1 as ksuid, lazy, literal, looseObject, looseRecord, mac$1 as mac, map, meta$1 as meta, nan, nanoid$1 as nanoid, nativeEnum, never, nonoptional, nullable, nullish$1 as nullish, number$1 as number, object, optional, partialRecord, pipe, prefault, preprocess, promise, readonly, record, refine, set, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, transform, tuple, uint32, uint64, ulid$1 as ulid, union, unknown, url, uuid$1 as uuid, uuidv4, uuidv6, uuidv7, xid$1 as xid, xor };
7886
8341
  }
7887
8342
  declare namespace core {
7888
- export { $Decode, $DecodeAsync, $Encode, $EncodeAsync, $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $Parse, $ParseAsync, $PartsToTemplateLiteral, $RefinementCtx, $SafeDecode, $SafeDecodeAsync, $SafeEncode, $SafeEncodeAsync, $SafeParse, $SafeParseAsync, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodAnyParams, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodArrayParams, $ZodAsyncError, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64Params, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBase64URLParams, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntFormatParams, $ZodBigIntFormats, $ZodBigIntInternals, $ZodBigIntParams, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodBooleanParams, $ZodBranded, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv4Params, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCIDRv6Params, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUID2Params, $ZodCUIDDef, $ZodCUIDInternals, $ZodCUIDParams, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCatchParams, $ZodCheck, $ZodCheckBase64Params, $ZodCheckBase64URLParams, $ZodCheckBigIntFormat, $ZodCheckBigIntFormatDef, $ZodCheckBigIntFormatInternals, $ZodCheckBigIntFormatParams, $ZodCheckCIDRv4Params, $ZodCheckCIDRv6Params, $ZodCheckCUID2Params, $ZodCheckCUIDParams, $ZodCheckDef, $ZodCheckE164Params, $ZodCheckEmailParams, $ZodCheckEmojiParams, $ZodCheckEndsWith, $ZodCheckEndsWithDef, $ZodCheckEndsWithInternals, $ZodCheckEndsWithParams, $ZodCheckGUIDParams, $ZodCheckGreaterThan, $ZodCheckGreaterThanDef, $ZodCheckGreaterThanInternals, $ZodCheckGreaterThanParams, $ZodCheckIPv4Params, $ZodCheckIPv6Params, $ZodCheckISODateParams, $ZodCheckISODateTimeParams, $ZodCheckISODurationParams, $ZodCheckISOTimeParams, $ZodCheckIncludes, $ZodCheckIncludesDef, $ZodCheckIncludesInternals, $ZodCheckIncludesParams, $ZodCheckInternals, $ZodCheckJWTParams, $ZodCheckKSUIDParams, $ZodCheckLengthEquals, $ZodCheckLengthEqualsDef, $ZodCheckLengthEqualsInternals, $ZodCheckLengthEqualsParams, $ZodCheckLessThan, $ZodCheckLessThanDef, $ZodCheckLessThanInternals, $ZodCheckLessThanParams, $ZodCheckLowerCase, $ZodCheckLowerCaseDef, $ZodCheckLowerCaseInternals, $ZodCheckLowerCaseParams, $ZodCheckMaxLength, $ZodCheckMaxLengthDef, $ZodCheckMaxLengthInternals, $ZodCheckMaxLengthParams, $ZodCheckMaxSize, $ZodCheckMaxSizeDef, $ZodCheckMaxSizeInternals, $ZodCheckMaxSizeParams, $ZodCheckMimeType, $ZodCheckMimeTypeDef, $ZodCheckMimeTypeInternals, $ZodCheckMimeTypeParams, $ZodCheckMinLength, $ZodCheckMinLengthDef, $ZodCheckMinLengthInternals, $ZodCheckMinLengthParams, $ZodCheckMinSize, $ZodCheckMinSizeDef, $ZodCheckMinSizeInternals, $ZodCheckMinSizeParams, $ZodCheckMultipleOf, $ZodCheckMultipleOfDef, $ZodCheckMultipleOfInternals, $ZodCheckMultipleOfParams, $ZodCheckNanoIDParams, $ZodCheckNumberFormat, $ZodCheckNumberFormatDef, $ZodCheckNumberFormatInternals, $ZodCheckNumberFormatParams, $ZodCheckOverwrite, $ZodCheckOverwriteDef, $ZodCheckOverwriteInternals, $ZodCheckProperty, $ZodCheckPropertyDef, $ZodCheckPropertyInternals, $ZodCheckPropertyParams, $ZodCheckRegex, $ZodCheckRegexDef, $ZodCheckRegexInternals, $ZodCheckRegexParams, $ZodCheckSizeEquals, $ZodCheckSizeEqualsDef, $ZodCheckSizeEqualsInternals, $ZodCheckSizeEqualsParams, $ZodCheckStartsWith, $ZodCheckStartsWithDef, $ZodCheckStartsWithInternals, $ZodCheckStartsWithParams, $ZodCheckStringFormat, $ZodCheckStringFormatDef, $ZodCheckStringFormatInternals, $ZodCheckStringFormatParams, $ZodCheckULIDParams, $ZodCheckURLParams, $ZodCheckUUIDParams, $ZodCheckUUIDv4Params, $ZodCheckUUIDv6Params, $ZodCheckUUIDv7Params, $ZodCheckUpperCase, $ZodCheckUpperCaseDef, $ZodCheckUpperCaseInternals, $ZodCheckUpperCaseParams, $ZodCheckXIDParams, $ZodChecks, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodConfig, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomParams, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDateParams, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDefaultParams, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodDiscriminatedUnionParams, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodE164Params, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmailParams, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEmojiParams, $ZodEncodeError, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodEnumParams, $ZodError, $ZodErrorClass, $ZodErrorMap, $ZodErrorTree, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFileParams, $ZodFlattenedError, $ZodFormattedError, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodGUIDParams, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv4Params, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodIPv6Params, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateParams, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODateTimeParams, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISODurationParams, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodISOTimeParams, $ZodInternalIssue, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodIntersectionParams, $ZodIssue, $ZodIssueBase, $ZodIssueCode, $ZodIssueCustom, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueStringCommonFormats, $ZodIssueStringEndsWith, $ZodIssueStringIncludes, $ZodIssueStringInvalidJWT, $ZodIssueStringInvalidRegex, $ZodIssueStringStartsWith, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodJWTParams, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodKSUIDParams, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLazyParams, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLiteralParams, $ZodLooseShape, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodMapParams, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNaNParams, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNanoIDParams, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNeverParams, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNonOptionalParams, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullParams, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNullableParams, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberFormatParams, $ZodNumberFormats, $ZodNumberInternals, $ZodNumberParams, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodObjectParams, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodOptionalParams, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPipeParams, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodPromiseParams, $ZodRawIssue, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodReadonlyParams, $ZodRealError$1 as $ZodRealError, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodRecordParams, $ZodRegistry, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodSetParams, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringBoolParams, $ZodStringDef, $ZodStringFormat, $ZodStringFormatChecks, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatIssues, $ZodStringFormatParams, $ZodStringFormatTypes, $ZodStringFormats, $ZodStringInternals, $ZodStringParams, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSuccessParams, $ZodSuperRefineIssue, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodSymbolParams, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralParams, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTransformParams, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodTupleParams, $ZodType, $ZodTypeDef, $ZodTypeDiscriminable, $ZodTypeDiscriminableInternals, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodULIDParams, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodURLParams, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUUIDParams, $ZodUUIDv4Params, $ZodUUIDv6Params, $ZodUUIDv7Params, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUndefinedParams, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnionParams, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodUnknownParams, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodVoidParams, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $ZodXIDParams, $brand, $catchall, $constructor, $input, $loose, $output, $partial, $replace, $strict, $strip, CheckFn, CheckParams, CheckStringFormatParams, CheckTypeParams, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, Doc, File$1 as File, GlobalMeta, JSONSchema$1 as JSONSchema, JSONSchemaGenerator, JSONSchemaMeta, NEVER, Params, ParseContext, ParseContextInternal, ParsePayload, SomeType, StringFormatParams, TimePrecision, ToTemplateLiteral, TypeParams, _$ZodType, _$ZodTypeInternals, _any, _array, _base64, _base64url, _bigint, _boolean, _catch, _check, _cidrv4, _cidrv6, _coercedBigint, _coercedBoolean, _coercedDate, _coercedNumber, _coercedString, _cuid, _cuid2, _custom, _date, _decode, _decodeAsync, _default$47 as _default, _discriminatedUnion, _e164, _email, _emoji, _encode, _encodeAsync, _endsWith, _enum, _file, _float32, _float64, _gt, _gte, _gte as _min, _guid, _includes, _int, _int32, _int64, _intersection, _ipv4, _ipv6, _isoDate, _isoDateTime, _isoDuration, _isoTime, _jwt, _ksuid, _lazy, _length, _literal, _lowercase, _lt, _lte, _lte as _max, _map, _maxLength, _maxSize, _mime, _minLength, _minSize, _multipleOf, _nan, _nanoid, _nativeEnum, _negative, _never, _nonnegative, _nonoptional, _nonpositive, _normalize, _null$1 as _null, _nullable, _number, _optional, _overwrite, _parse, _parseAsync, _pipe, _positive, _promise, _property, _readonly, _record, _refine, _regex, _safeDecode, _safeDecodeAsync, _safeEncode, _safeEncodeAsync, _safeParse, _safeParseAsync, _set, _size, _startsWith, _string, _stringFormat, _stringbool, _success, _superRefine, _symbol, _templateLiteral, _toLowerCase, _toUpperCase, _transform, _trim, _tuple, _uint32, _uint64, _ulid, _undefined$1 as _undefined, _union, _unknown, _uppercase, _url, _uuid, _uuidv4, _uuidv6, _uuidv7, _void, _xid, clone, config, decode, decodeAsync, encode, encodeAsync, flattenError, formatError, globalConfig, globalRegistry, input, isValidBase64, isValidBase64URL, isValidJWT, locales, output, output as infer, parse, parseAsync, prettifyError, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, toDotPath, toJSONSchema, treeifyError, util, version };
8343
+ export { $Decode, $DecodeAsync, $Encode, $EncodeAsync, $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $Parse, $ParseAsync, $PartsToTemplateLiteral, $RefinementCtx, $SafeDecode, $SafeDecodeAsync, $SafeEncode, $SafeEncodeAsync, $SafeParse, $SafeParseAsync, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodAnyParams, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodArrayParams, $ZodAsyncError, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64Params, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBase64URLParams, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntFormatParams, $ZodBigIntFormats, $ZodBigIntInternals, $ZodBigIntParams, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodBooleanParams, $ZodBranded, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv4Params, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCIDRv6Params, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUID2Params, $ZodCUIDDef, $ZodCUIDInternals, $ZodCUIDParams, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCatchParams, $ZodCheck, $ZodCheckBase64Params, $ZodCheckBase64URLParams, $ZodCheckBigIntFormat, $ZodCheckBigIntFormatDef, $ZodCheckBigIntFormatInternals, $ZodCheckBigIntFormatParams, $ZodCheckCIDRv4Params, $ZodCheckCIDRv6Params, $ZodCheckCUID2Params, $ZodCheckCUIDParams, $ZodCheckDef, $ZodCheckE164Params, $ZodCheckEmailParams, $ZodCheckEmojiParams, $ZodCheckEndsWith, $ZodCheckEndsWithDef, $ZodCheckEndsWithInternals, $ZodCheckEndsWithParams, $ZodCheckGUIDParams, $ZodCheckGreaterThan, $ZodCheckGreaterThanDef, $ZodCheckGreaterThanInternals, $ZodCheckGreaterThanParams, $ZodCheckIPv4Params, $ZodCheckIPv6Params, $ZodCheckISODateParams, $ZodCheckISODateTimeParams, $ZodCheckISODurationParams, $ZodCheckISOTimeParams, $ZodCheckIncludes, $ZodCheckIncludesDef, $ZodCheckIncludesInternals, $ZodCheckIncludesParams, $ZodCheckInternals, $ZodCheckJWTParams, $ZodCheckKSUIDParams, $ZodCheckLengthEquals, $ZodCheckLengthEqualsDef, $ZodCheckLengthEqualsInternals, $ZodCheckLengthEqualsParams, $ZodCheckLessThan, $ZodCheckLessThanDef, $ZodCheckLessThanInternals, $ZodCheckLessThanParams, $ZodCheckLowerCase, $ZodCheckLowerCaseDef, $ZodCheckLowerCaseInternals, $ZodCheckLowerCaseParams, $ZodCheckMACParams, $ZodCheckMaxLength, $ZodCheckMaxLengthDef, $ZodCheckMaxLengthInternals, $ZodCheckMaxLengthParams, $ZodCheckMaxSize, $ZodCheckMaxSizeDef, $ZodCheckMaxSizeInternals, $ZodCheckMaxSizeParams, $ZodCheckMimeType, $ZodCheckMimeTypeDef, $ZodCheckMimeTypeInternals, $ZodCheckMimeTypeParams, $ZodCheckMinLength, $ZodCheckMinLengthDef, $ZodCheckMinLengthInternals, $ZodCheckMinLengthParams, $ZodCheckMinSize, $ZodCheckMinSizeDef, $ZodCheckMinSizeInternals, $ZodCheckMinSizeParams, $ZodCheckMultipleOf, $ZodCheckMultipleOfDef, $ZodCheckMultipleOfInternals, $ZodCheckMultipleOfParams, $ZodCheckNanoIDParams, $ZodCheckNumberFormat, $ZodCheckNumberFormatDef, $ZodCheckNumberFormatInternals, $ZodCheckNumberFormatParams, $ZodCheckOverwrite, $ZodCheckOverwriteDef, $ZodCheckOverwriteInternals, $ZodCheckProperty, $ZodCheckPropertyDef, $ZodCheckPropertyInternals, $ZodCheckPropertyParams, $ZodCheckRegex, $ZodCheckRegexDef, $ZodCheckRegexInternals, $ZodCheckRegexParams, $ZodCheckSizeEquals, $ZodCheckSizeEqualsDef, $ZodCheckSizeEqualsInternals, $ZodCheckSizeEqualsParams, $ZodCheckStartsWith, $ZodCheckStartsWithDef, $ZodCheckStartsWithInternals, $ZodCheckStartsWithParams, $ZodCheckStringFormat, $ZodCheckStringFormatDef, $ZodCheckStringFormatInternals, $ZodCheckStringFormatParams, $ZodCheckULIDParams, $ZodCheckURLParams, $ZodCheckUUIDParams, $ZodCheckUUIDv4Params, $ZodCheckUUIDv6Params, $ZodCheckUUIDv7Params, $ZodCheckUpperCase, $ZodCheckUpperCaseDef, $ZodCheckUpperCaseInternals, $ZodCheckUpperCaseParams, $ZodCheckXIDParams, $ZodChecks, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodConfig, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomParams, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDateParams, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDefaultParams, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodDiscriminatedUnionParams, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodE164Params, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmailParams, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEmojiParams, $ZodEncodeError, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodEnumParams, $ZodError, $ZodErrorClass, $ZodErrorMap, $ZodErrorTree, $ZodExactOptional, $ZodExactOptionalDef, $ZodExactOptionalInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFileParams, $ZodFlattenedError, $ZodFormattedError, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodGUIDParams, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv4Params, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodIPv6Params, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateParams, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODateTimeParams, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISODurationParams, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodISOTimeParams, $ZodInternalIssue, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodIntersectionParams, $ZodInvalidTypeExpected, $ZodIssue, $ZodIssueBase, $ZodIssueCode, $ZodIssueCustom, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueStringCommonFormats, $ZodIssueStringEndsWith, $ZodIssueStringIncludes, $ZodIssueStringInvalidJWT, $ZodIssueStringInvalidRegex, $ZodIssueStringStartsWith, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodJWTParams, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodKSUIDParams, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLazyParams, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLiteralParams, $ZodLooseShape, $ZodMAC, $ZodMACDef, $ZodMACInternals, $ZodMACParams, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodMapParams, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNaNParams, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNanoIDParams, $ZodNarrow, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNeverParams, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNonOptionalParams, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullParams, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNullableParams, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberFormatParams, $ZodNumberFormats, $ZodNumberInternals, $ZodNumberParams, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodObjectParams, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodOptionalParams, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPipeParams, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodPromiseParams, $ZodRawIssue, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodReadonlyParams, $ZodRealError$1 as $ZodRealError, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodRecordParams, $ZodRegistry, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodSetParams, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringBoolParams, $ZodStringDef, $ZodStringFormat, $ZodStringFormatChecks, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatIssues, $ZodStringFormatParams, $ZodStringFormatTypes, $ZodStringFormats, $ZodStringInternals, $ZodStringParams, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSuccessParams, $ZodSuperRefineIssue, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodSymbolParams, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralParams, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTransformParams, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodTupleParams, $ZodType, $ZodTypeDef, $ZodTypeDiscriminable, $ZodTypeDiscriminableInternals, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodULIDParams, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodURLParams, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUUIDParams, $ZodUUIDv4Params, $ZodUUIDv6Params, $ZodUUIDv7Params, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUndefinedParams, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnionParams, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodUnknownParams, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodVoidParams, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $ZodXIDParams, $ZodXor, $ZodXorInternals, $ZodXorParams, $brand, $catchall, $constructor, $input, $loose, $output, $partial, $replace, $strict, $strip, CheckFn, CheckParams, CheckStringFormatParams, CheckTypeParams, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, Doc, File$1 as File, GlobalMeta, JSONSchema$1 as JSONSchema, JSONSchemaGenerator, JSONSchemaGeneratorParams, JSONSchemaMeta, NEVER, Params, ParseContext, ParseContextInternal, ParsePayload, ProcessParams, Processor, RegistryToJSONSchemaParams, Seen, SomeType, StringFormatParams, TimePrecision, ToJSONSchemaContext, ToJSONSchemaParams, ToTemplateLiteral, TypeParams, ZodStandardJSONSchemaPayload, ZodStandardSchemaWithJSON, _$ZodType, _$ZodTypeInternals, _any, _array, _base64, _base64url, _bigint, _boolean, _catch, _check, _cidrv4, _cidrv6, _coercedBigint, _coercedBoolean, _coercedDate, _coercedNumber, _coercedString, _cuid, _cuid2, _custom, _date, _decode, _decodeAsync, _default$49 as _default, _discriminatedUnion, _e164, _email, _emoji, _encode, _encodeAsync, _endsWith, _enum, _file, _float32, _float64, _gt, _gte, _gte as _min, _guid, _includes, _int, _int32, _int64, _intersection, _ipv4, _ipv6, _isoDate, _isoDateTime, _isoDuration, _isoTime, _jwt, _ksuid, _lazy, _length, _literal, _lowercase, _lt, _lte, _lte as _max, _mac, _map, _maxLength, _maxSize, _mime, _minLength, _minSize, _multipleOf, _nan, _nanoid, _nativeEnum, _negative, _never, _nonnegative, _nonoptional, _nonpositive, _normalize, _null$1 as _null, _nullable, _number, _optional, _overwrite, _parse, _parseAsync, _pipe, _positive, _promise, _property, _readonly, _record, _refine, _regex, _safeDecode, _safeDecodeAsync, _safeEncode, _safeEncodeAsync, _safeParse, _safeParseAsync, _set, _size, _slugify, _startsWith, _string, _stringFormat, _stringbool, _success, _superRefine, _symbol, _templateLiteral, _toLowerCase, _toUpperCase, _transform, _trim, _tuple, _uint32, _uint64, _ulid, _undefined$1 as _undefined, _union, _unknown, _uppercase, _url, _uuid, _uuidv4, _uuidv6, _uuidv7, _void, _xid, _xor, clone, config, createStandardJSONSchemaMethod, createToJSONSchemaMethod, decode, decodeAsync, describe, encode, encodeAsync, extractDefs, finalize, flattenError, formatError, globalConfig, globalRegistry, initializeContext, input, isValidBase64, isValidBase64URL, isValidJWT, locales, meta, output, output as infer, parse, parseAsync, prettifyError, process$1 as process, regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, toDotPath, toJSONSchema, treeifyError, util, version };
7889
8344
  }
7890
8345
  declare namespace iso {
7891
8346
  export { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, date$2 as date, datetime$1 as datetime, duration$1 as duration, time$1 as time };
7892
8347
  }
7893
8348
  declare namespace z {
7894
- export { $RefinementCtx as RefinementCtx, $ZodErrorMap as ZodErrorMap, $ZodFlattenedError as ZodFlattenedError, $ZodFormattedError as ZodFormattedError, $ZodTypes as ZodFirstPartySchemaTypes, $brand, $input, $output, BRAND, GlobalMeta, IssueData, NEVER, SafeExtendShape, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodFile, ZodFirstPartyTypeKind, ZodFloat32, ZodFloat64, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInt, ZodInt32, ZodIntersection, ZodIssue, ZodIssueCode, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodRawShape, ZodReadonly, ZodRealError, ZodRecord, ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, ZodSet, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodType as Schema, ZodType as ZodSchema, ZodType as ZodTypeAny, ZodUInt32, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _catch$1 as catch, _default$48 as _default, _endsWith as endsWith, _enum$1 as enum, _function, _function as function, _gt as gt, _gte as gte, _includes as includes, _instanceof as instanceof, _length as length, _lowercase as lowercase, _lt as lt, _lte as lte, _maxLength as maxLength, _maxSize as maxSize, _mime as mime, _minLength as minLength, _minSize as minSize, _multipleOf as multipleOf, _negative as negative, _nonnegative as nonnegative, _nonpositive as nonpositive, _normalize as normalize, _null$2 as null, _overwrite as overwrite, _positive as positive, _property as property, _regex as regex, _size as size, _startsWith as startsWith, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _trim as trim, _undefined$2 as undefined, _uppercase as uppercase, _void$1 as void, any, array, base64$1 as base64, base64url$1 as base64url, bigint$1 as bigint, boolean$1 as boolean, check, cidrv4$1 as cidrv4, cidrv6$1 as cidrv6, clone, codec, coerce, config, core, cuid$1 as cuid, cuid2$1 as cuid2, custom, date$1 as date, decode$1 as decode, decodeAsync$1 as decodeAsync, discriminatedUnion, e164$1 as e164, email$1 as email, emoji$1 as emoji, encode$1 as encode, encodeAsync$1 as encodeAsync, file, flattenError, float32, float64, formatError, getErrorMap, globalRegistry, guid$1 as guid, hash, hex$1 as hex, hostname$1 as hostname, httpUrl, inferFlattenedErrors, inferFormattedError, input, int, int32, int64, intersection, ipv4$1 as ipv4, ipv6$1 as ipv6, iso, json, jwt, keyof, ksuid$1 as ksuid, lazy, literal, locales, looseObject, map, nan, nanoid$1 as nanoid, nativeEnum, never, nonoptional, nullable, nullish$1 as nullish, number$1 as number, object, optional, output, output as Infer, output as TypeOf, output as infer, parse$1 as parse, parseAsync$1 as parseAsync, partialRecord, pipe, prefault, preprocess, prettifyError, promise, readonly, record, refine, regexes, registry, safeDecode$1 as safeDecode, safeDecodeAsync$1 as safeDecodeAsync, safeEncode$1 as safeEncode, safeEncodeAsync$1 as safeEncodeAsync, safeParse$1 as safeParse, safeParseAsync$1 as safeParseAsync, set, setErrorMap, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, transform, treeifyError, tuple, uint32, uint64, ulid$1 as ulid, union, unknown, url, util, uuid$1 as uuid, uuidv4, uuidv6, uuidv7, xid$1 as xid };
8349
+ export { $RefinementCtx as RefinementCtx, $ZodErrorMap as ZodErrorMap, $ZodFlattenedError as ZodFlattenedError, $ZodFormattedError as ZodFormattedError, $ZodTypes as ZodFirstPartySchemaTypes, $brand, $input, $output, BRAND, GlobalMeta, IssueData, NEVER, SafeExtendShape, TimePrecision, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodExactOptional, ZodFile, ZodFirstPartyTypeKind, ZodFloat32, ZodFloat64, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInt, ZodInt32, ZodIntersection, ZodIssue, ZodIssueCode, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMAC, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPromise, ZodRawShape, ZodReadonly, ZodRealError, ZodRecord, ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, ZodSet, ZodStandardSchemaWithJSON$1 as ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodType as Schema, ZodType as ZodSchema, ZodType as ZodTypeAny, ZodUInt32, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, ZodXor, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _catch$1 as catch, _default$50 as _default, _endsWith as endsWith, _enum$1 as enum, _function, _function as function, _gt as gt, _gte as gte, _includes as includes, _instanceof as instanceof, _length as length, _lowercase as lowercase, _lt as lt, _lte as lte, _maxLength as maxLength, _maxSize as maxSize, _mime as mime, _minLength as minLength, _minSize as minSize, _multipleOf as multipleOf, _negative as negative, _nonnegative as nonnegative, _nonpositive as nonpositive, _normalize as normalize, _null$2 as null, _overwrite as overwrite, _positive as positive, _property as property, _regex as regex, _size as size, _slugify as slugify, _startsWith as startsWith, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _trim as trim, _undefined$2 as undefined, _uppercase as uppercase, _void$1 as void, any, array, base64$1 as base64, base64url$1 as base64url, bigint$1 as bigint, boolean$1 as boolean, check, cidrv4$1 as cidrv4, cidrv6$1 as cidrv6, clone, codec, coerce, config, core, cuid$1 as cuid, cuid2$1 as cuid2, custom, date$1 as date, decode$1 as decode, decodeAsync$1 as decodeAsync, describe$1 as describe, discriminatedUnion, e164$1 as e164, email$1 as email, emoji$1 as emoji, encode$1 as encode, encodeAsync$1 as encodeAsync, exactOptional, file, flattenError, float32, float64, formatError, fromJSONSchema, getErrorMap, globalRegistry, guid$1 as guid, hash, hex$1 as hex, hostname$1 as hostname, httpUrl, inferFlattenedErrors, inferFormattedError, input, int, int32, int64, intersection, ipv4$1 as ipv4, ipv6$1 as ipv6, iso, json, jwt, keyof, ksuid$1 as ksuid, lazy, literal, locales, looseObject, looseRecord, mac$1 as mac, map, meta$1 as meta, nan, nanoid$1 as nanoid, nativeEnum, never, nonoptional, nullable, nullish$1 as nullish, number$1 as number, object, optional, output, output as Infer, output as TypeOf, output as infer, parse$1 as parse, parseAsync$1 as parseAsync, partialRecord, pipe, prefault, preprocess, prettifyError, promise, readonly, record, refine, regexes, registry, safeDecode$1 as safeDecode, safeDecodeAsync$1 as safeDecodeAsync, safeEncode$1 as safeEncode, safeEncodeAsync$1 as safeEncodeAsync, safeParse$1 as safeParse, safeParseAsync$1 as safeParseAsync, set, setErrorMap, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, transform, treeifyError, tuple, uint32, uint64, ulid$1 as ulid, union, unknown, url, util, uuid$1 as uuid, uuidv4, uuidv6, uuidv7, xid$1 as xid, xor };
7895
8350
  }
7896
8351
 
7897
8352
  export {};