@investtal/models 1.4.7 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +2521 -59
- package/dist/index.d.mts +2521 -59
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Insertable, Selectable, Transaction } from "kysely";
|
|
2
|
+
import { BaseRes as BaseRes$1 } from "@investtal/models";
|
|
2
3
|
|
|
3
4
|
//#region src/common/constant.d.ts
|
|
4
5
|
declare const BA_DINH_WARD_NO = "00004";
|
|
@@ -799,6 +800,22 @@ interface PreDealsTable {
|
|
|
799
800
|
deletedById?: string;
|
|
800
801
|
}
|
|
801
802
|
//#endregion
|
|
803
|
+
//#region src/generated/tables/project-medias.table.d.ts
|
|
804
|
+
interface ProjectMediasTable {
|
|
805
|
+
id: string;
|
|
806
|
+
projectId: string;
|
|
807
|
+
mediaId: string;
|
|
808
|
+
isCover: boolean;
|
|
809
|
+
description?: string;
|
|
810
|
+
displayName?: string;
|
|
811
|
+
createdAt?: Date;
|
|
812
|
+
updatedAt?: Date;
|
|
813
|
+
deletedAt?: Date;
|
|
814
|
+
createdById: string;
|
|
815
|
+
updatedById?: string;
|
|
816
|
+
deletedById?: string;
|
|
817
|
+
}
|
|
818
|
+
//#endregion
|
|
802
819
|
//#region src/generated/tables/project-to-brokers.table.d.ts
|
|
803
820
|
interface ProjectToBrokersTable {
|
|
804
821
|
projectId: string;
|
|
@@ -946,7 +963,7 @@ interface PropertiesTable {
|
|
|
946
963
|
attachmentsIds?: string[];
|
|
947
964
|
type?: string;
|
|
948
965
|
notificationTypes?: string[];
|
|
949
|
-
notes?: Record<string, unknown
|
|
966
|
+
notes?: Record<string, unknown>[];
|
|
950
967
|
seoMetadata?: Record<string, unknown>;
|
|
951
968
|
metadata?: Record<string, unknown>;
|
|
952
969
|
projectId?: string;
|
|
@@ -1017,7 +1034,7 @@ interface PropertyBranchesTable {
|
|
|
1017
1034
|
attachmentsIds?: string[];
|
|
1018
1035
|
type?: string;
|
|
1019
1036
|
notificationTypes?: string[];
|
|
1020
|
-
notes?: Record<string, unknown
|
|
1037
|
+
notes?: Record<string, unknown>[];
|
|
1021
1038
|
seoMetadata?: Record<string, unknown>;
|
|
1022
1039
|
metadata?: Record<string, unknown>;
|
|
1023
1040
|
projectId?: string;
|
|
@@ -1396,6 +1413,7 @@ interface Database {
|
|
|
1396
1413
|
deal_steps: DealStepsTable;
|
|
1397
1414
|
pre_deals: PreDealsTable;
|
|
1398
1415
|
projects: ProjectsTable;
|
|
1416
|
+
project_medias: ProjectMediasTable;
|
|
1399
1417
|
_project_to_medias: ProjectToMediasTable;
|
|
1400
1418
|
_project_to_brokers: ProjectToBrokersTable;
|
|
1401
1419
|
utilities: UtilitiesTable;
|
|
@@ -1455,10 +1473,18 @@ interface DocumentInsertData {
|
|
|
1455
1473
|
approverId?: string;
|
|
1456
1474
|
category: string;
|
|
1457
1475
|
type: string;
|
|
1476
|
+
notes?: string;
|
|
1458
1477
|
metadata?: Record<string, unknown>;
|
|
1459
1478
|
createdById: string;
|
|
1460
1479
|
}
|
|
1461
1480
|
interface DocumentUpdateData {
|
|
1481
|
+
name?: string;
|
|
1482
|
+
version?: number;
|
|
1483
|
+
mediaIds?: string[];
|
|
1484
|
+
category?: string;
|
|
1485
|
+
type?: string;
|
|
1486
|
+
notes?: string;
|
|
1487
|
+
metadata?: Record<string, unknown>;
|
|
1462
1488
|
isApproved?: boolean;
|
|
1463
1489
|
approverId?: string;
|
|
1464
1490
|
updatedById?: string;
|
|
@@ -1489,6 +1515,7 @@ interface AdministratorDataPort {
|
|
|
1489
1515
|
findDocumentById(id: string, trx?: Transaction<Database>): Promise<{
|
|
1490
1516
|
id: string;
|
|
1491
1517
|
} | undefined>;
|
|
1518
|
+
softDeleteDocument(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
1492
1519
|
findForSaleById(id: string, approveStatus?: string, trx?: Transaction<Database>): Promise<{
|
|
1493
1520
|
id: string;
|
|
1494
1521
|
} | undefined>;
|
|
@@ -1501,6 +1528,7 @@ interface AdministratorDataPort {
|
|
|
1501
1528
|
isPrivate: boolean | null;
|
|
1502
1529
|
}[]>;
|
|
1503
1530
|
findFullMediaById(id: string, trx?: Transaction<Database>): Promise<MediaReadData | undefined>;
|
|
1531
|
+
findFullMediasByIds(ids: string[], trx?: Transaction<Database>): Promise<MediaReadData[]>;
|
|
1504
1532
|
findMediasForUser(filter: MediaListFilter, trx?: Transaction<Database>): Promise<{
|
|
1505
1533
|
data: MediaReadData[];
|
|
1506
1534
|
total: number;
|
|
@@ -2919,12 +2947,10 @@ declare const BrokerExceptions: {
|
|
|
2919
2947
|
INPUT_DATA_IS_INVALID: string;
|
|
2920
2948
|
};
|
|
2921
2949
|
//#endregion
|
|
2922
|
-
//#region src/generated/broker/ports/convert-broker-client-to-json.request.d.ts
|
|
2923
|
-
type ConvertBrokerClientToJsonInput = {
|
|
2924
|
-
type: ConvertBrokerClientType;
|
|
2925
|
-
};
|
|
2926
|
-
//#endregion
|
|
2927
2950
|
//#region src/generated/broker/ports/broker-command.port.d.ts
|
|
2951
|
+
interface ConvertBrokerClientToJsonInput {
|
|
2952
|
+
type: string;
|
|
2953
|
+
}
|
|
2928
2954
|
interface BrokerImportClientSuccessItem {
|
|
2929
2955
|
rowNumber: number;
|
|
2930
2956
|
success: true;
|
|
@@ -4366,6 +4392,7 @@ type ForSalesFilter = {
|
|
|
4366
4392
|
};
|
|
4367
4393
|
//#endregion
|
|
4368
4394
|
//#region src/generated/for-sale/ports/for-sale-data.port.d.ts
|
|
4395
|
+
type ForSaleDataFilter = Omit<ForSalesFilter, "page" | "limit">;
|
|
4369
4396
|
interface ForSaleModel {
|
|
4370
4397
|
id: string;
|
|
4371
4398
|
title: string;
|
|
@@ -4477,7 +4504,7 @@ interface ForSaleDataPort {
|
|
|
4477
4504
|
findForSaleById(id: string, createdById: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4478
4505
|
findPublishedByCode(code: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4479
4506
|
findCodesByCodeAndCreatedBy(code: string, createdById: string, trx?: Transaction<Database>): Promise<string[]>;
|
|
4480
|
-
findAndCountPublished(filter:
|
|
4507
|
+
findAndCountPublished(filter: ForSaleDataFilter, page: number, limit: number, trx?: Transaction<Database>): Promise<{
|
|
4481
4508
|
data: ForSaleModel[];
|
|
4482
4509
|
total: number;
|
|
4483
4510
|
page: number;
|
|
@@ -4746,6 +4773,73 @@ interface UpdateBrokerPropertyPermissionData {
|
|
|
4746
4773
|
canView: boolean;
|
|
4747
4774
|
}
|
|
4748
4775
|
//#endregion
|
|
4776
|
+
//#region src/generated/industrial-property/ports/batch-update-properties.request.d.ts
|
|
4777
|
+
type UpdatePropertiesInput = {
|
|
4778
|
+
id: string;
|
|
4779
|
+
type: PropertyType;
|
|
4780
|
+
title?: string | undefined;
|
|
4781
|
+
polygon?: {
|
|
4782
|
+
x: number;
|
|
4783
|
+
y: number;
|
|
4784
|
+
z?: number | undefined;
|
|
4785
|
+
}[] | undefined;
|
|
4786
|
+
description?: string | undefined;
|
|
4787
|
+
area?: string | undefined;
|
|
4788
|
+
provinceId?: string | undefined;
|
|
4789
|
+
wardId?: string | undefined;
|
|
4790
|
+
detailedAddress?: string | undefined;
|
|
4791
|
+
propertyLegalStatus?: PropertyLegalStatus | undefined;
|
|
4792
|
+
approvalStatus?: PropertyApprovalStatus | undefined;
|
|
4793
|
+
landCurrentStatus?: PropertyLandCurrentStatus | undefined;
|
|
4794
|
+
operationStatus?: PropertyOperationStatus | undefined;
|
|
4795
|
+
latitude?: string | undefined;
|
|
4796
|
+
longitude?: string | undefined;
|
|
4797
|
+
imagesIds?: string[] | undefined;
|
|
4798
|
+
price?: string | undefined;
|
|
4799
|
+
priceUnit?: string | undefined;
|
|
4800
|
+
deposite?: string | undefined;
|
|
4801
|
+
depositeUnit?: string | undefined;
|
|
4802
|
+
paymentPeriodType?: string | undefined;
|
|
4803
|
+
yearBuilt?: Date | undefined;
|
|
4804
|
+
yearCompleted?: Date | undefined;
|
|
4805
|
+
notificationTypes?: string[] | undefined;
|
|
4806
|
+
notes?: {
|
|
4807
|
+
content: string;
|
|
4808
|
+
createdAt: Date;
|
|
4809
|
+
attachmentIds: string[];
|
|
4810
|
+
isImportant?: boolean | undefined;
|
|
4811
|
+
}[] | undefined;
|
|
4812
|
+
attachmentsIds?: string[] | undefined;
|
|
4813
|
+
seoMetadata?: any;
|
|
4814
|
+
metadata?: any;
|
|
4815
|
+
numberOfFloor?: number | undefined;
|
|
4816
|
+
floorNumber?: number | undefined;
|
|
4817
|
+
propertyDetail?: {
|
|
4818
|
+
orientation?: string | undefined;
|
|
4819
|
+
buildingDensityPercent?: number | undefined;
|
|
4820
|
+
structureType?: string | undefined;
|
|
4821
|
+
constructionQuality?: string | undefined;
|
|
4822
|
+
height?: number | undefined;
|
|
4823
|
+
width?: number | undefined;
|
|
4824
|
+
length?: number | undefined;
|
|
4825
|
+
completionRate?: number | undefined;
|
|
4826
|
+
floorType?: string | undefined;
|
|
4827
|
+
loadBearingFloor?: number | undefined;
|
|
4828
|
+
specialAttributes?: any;
|
|
4829
|
+
} | undefined;
|
|
4830
|
+
isPublic?: boolean | undefined;
|
|
4831
|
+
}[];
|
|
4832
|
+
//#endregion
|
|
4833
|
+
//#region src/generated/industrial-property/ports/batch-update-properties.response.d.ts
|
|
4834
|
+
interface UpdatePropertiesFailedItem {
|
|
4835
|
+
id: string;
|
|
4836
|
+
message: string;
|
|
4837
|
+
}
|
|
4838
|
+
interface UpdatePropertiesResponse extends BaseRes {
|
|
4839
|
+
succeeded: string[];
|
|
4840
|
+
failed: UpdatePropertiesFailedItem[];
|
|
4841
|
+
}
|
|
4842
|
+
//#endregion
|
|
4749
4843
|
//#region src/generated/industrial-property/ports/create-property-map.request.d.ts
|
|
4750
4844
|
type CreatePropertyMapInput = {
|
|
4751
4845
|
name: string;
|
|
@@ -4763,6 +4857,2197 @@ interface CreatePropertyMapResponse extends BaseRes {
|
|
|
4763
4857
|
message: string;
|
|
4764
4858
|
}
|
|
4765
4859
|
//#endregion
|
|
4860
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts
|
|
4861
|
+
type _JSONSchema = boolean | JSONSchema;
|
|
4862
|
+
type JSONSchema = {
|
|
4863
|
+
[k: string]: unknown;
|
|
4864
|
+
$schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
|
|
4865
|
+
$id?: string;
|
|
4866
|
+
$anchor?: string;
|
|
4867
|
+
$ref?: string;
|
|
4868
|
+
$dynamicRef?: string;
|
|
4869
|
+
$dynamicAnchor?: string;
|
|
4870
|
+
$vocabulary?: Record<string, boolean>;
|
|
4871
|
+
$comment?: string;
|
|
4872
|
+
$defs?: Record<string, JSONSchema>;
|
|
4873
|
+
type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
|
|
4874
|
+
additionalItems?: _JSONSchema;
|
|
4875
|
+
unevaluatedItems?: _JSONSchema;
|
|
4876
|
+
prefixItems?: _JSONSchema[];
|
|
4877
|
+
items?: _JSONSchema | _JSONSchema[];
|
|
4878
|
+
contains?: _JSONSchema;
|
|
4879
|
+
additionalProperties?: _JSONSchema;
|
|
4880
|
+
unevaluatedProperties?: _JSONSchema;
|
|
4881
|
+
properties?: Record<string, _JSONSchema>;
|
|
4882
|
+
patternProperties?: Record<string, _JSONSchema>;
|
|
4883
|
+
dependentSchemas?: Record<string, _JSONSchema>;
|
|
4884
|
+
propertyNames?: _JSONSchema;
|
|
4885
|
+
if?: _JSONSchema;
|
|
4886
|
+
then?: _JSONSchema;
|
|
4887
|
+
else?: _JSONSchema;
|
|
4888
|
+
allOf?: JSONSchema[];
|
|
4889
|
+
anyOf?: JSONSchema[];
|
|
4890
|
+
oneOf?: JSONSchema[];
|
|
4891
|
+
not?: _JSONSchema;
|
|
4892
|
+
multipleOf?: number;
|
|
4893
|
+
maximum?: number;
|
|
4894
|
+
exclusiveMaximum?: number | boolean;
|
|
4895
|
+
minimum?: number;
|
|
4896
|
+
exclusiveMinimum?: number | boolean;
|
|
4897
|
+
maxLength?: number;
|
|
4898
|
+
minLength?: number;
|
|
4899
|
+
pattern?: string;
|
|
4900
|
+
maxItems?: number;
|
|
4901
|
+
minItems?: number;
|
|
4902
|
+
uniqueItems?: boolean;
|
|
4903
|
+
maxContains?: number;
|
|
4904
|
+
minContains?: number;
|
|
4905
|
+
maxProperties?: number;
|
|
4906
|
+
minProperties?: number;
|
|
4907
|
+
required?: string[];
|
|
4908
|
+
dependentRequired?: Record<string, string[]>;
|
|
4909
|
+
enum?: Array<string | number | boolean | null>;
|
|
4910
|
+
const?: string | number | boolean | null;
|
|
4911
|
+
id?: string;
|
|
4912
|
+
title?: string;
|
|
4913
|
+
description?: string;
|
|
4914
|
+
default?: unknown;
|
|
4915
|
+
deprecated?: boolean;
|
|
4916
|
+
readOnly?: boolean;
|
|
4917
|
+
writeOnly?: boolean;
|
|
4918
|
+
nullable?: boolean;
|
|
4919
|
+
examples?: unknown[];
|
|
4920
|
+
format?: string;
|
|
4921
|
+
contentMediaType?: string;
|
|
4922
|
+
contentEncoding?: string;
|
|
4923
|
+
contentSchema?: JSONSchema;
|
|
4924
|
+
_prefault?: unknown;
|
|
4925
|
+
};
|
|
4926
|
+
type BaseSchema = JSONSchema;
|
|
4927
|
+
//#endregion
|
|
4928
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts
|
|
4929
|
+
/** The Standard interface. */
|
|
4930
|
+
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
4931
|
+
/** The Standard properties. */
|
|
4932
|
+
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
4933
|
+
}
|
|
4934
|
+
declare namespace StandardTypedV1 {
|
|
4935
|
+
/** The Standard properties interface. */
|
|
4936
|
+
interface Props<Input = unknown, Output = Input> {
|
|
4937
|
+
/** The version number of the standard. */
|
|
4938
|
+
readonly version: 1;
|
|
4939
|
+
/** The vendor name of the schema library. */
|
|
4940
|
+
readonly vendor: string;
|
|
4941
|
+
/** Inferred types associated with the schema. */
|
|
4942
|
+
readonly types?: Types<Input, Output> | undefined;
|
|
4943
|
+
}
|
|
4944
|
+
/** The Standard types interface. */
|
|
4945
|
+
interface Types<Input = unknown, Output = Input> {
|
|
4946
|
+
/** The input type of the schema. */
|
|
4947
|
+
readonly input: Input;
|
|
4948
|
+
/** The output type of the schema. */
|
|
4949
|
+
readonly output: Output;
|
|
4950
|
+
}
|
|
4951
|
+
/** Infers the input type of a Standard. */
|
|
4952
|
+
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
4953
|
+
/** Infers the output type of a Standard. */
|
|
4954
|
+
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
4955
|
+
}
|
|
4956
|
+
/** The Standard Schema interface. */
|
|
4957
|
+
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
4958
|
+
/** The Standard Schema properties. */
|
|
4959
|
+
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
4960
|
+
}
|
|
4961
|
+
declare namespace StandardSchemaV1 {
|
|
4962
|
+
/** The Standard Schema properties interface. */
|
|
4963
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
4964
|
+
/** Validates unknown input values. */
|
|
4965
|
+
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
4966
|
+
}
|
|
4967
|
+
/** The result interface of the validate function. */
|
|
4968
|
+
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
4969
|
+
/** The result interface if validation succeeds. */
|
|
4970
|
+
interface SuccessResult<Output> {
|
|
4971
|
+
/** The typed output value. */
|
|
4972
|
+
readonly value: Output;
|
|
4973
|
+
/** The absence of issues indicates success. */
|
|
4974
|
+
readonly issues?: undefined;
|
|
4975
|
+
}
|
|
4976
|
+
interface Options {
|
|
4977
|
+
/** Implicit support for additional vendor-specific parameters, if needed. */
|
|
4978
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
4979
|
+
}
|
|
4980
|
+
/** The result interface if validation fails. */
|
|
4981
|
+
interface FailureResult {
|
|
4982
|
+
/** The issues of failed validation. */
|
|
4983
|
+
readonly issues: ReadonlyArray<Issue>;
|
|
4984
|
+
}
|
|
4985
|
+
/** The issue interface of the failure output. */
|
|
4986
|
+
interface Issue {
|
|
4987
|
+
/** The error message of the issue. */
|
|
4988
|
+
readonly message: string;
|
|
4989
|
+
/** The path of the issue, if any. */
|
|
4990
|
+
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
4991
|
+
}
|
|
4992
|
+
/** The path segment interface of the issue. */
|
|
4993
|
+
interface PathSegment {
|
|
4994
|
+
/** The key representing a path segment. */
|
|
4995
|
+
readonly key: PropertyKey;
|
|
4996
|
+
}
|
|
4997
|
+
/** The Standard types interface. */
|
|
4998
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
4999
|
+
/** Infers the input type of a Standard. */
|
|
5000
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
5001
|
+
/** Infers the output type of a Standard. */
|
|
5002
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
5003
|
+
}
|
|
5004
|
+
/** The Standard JSON Schema interface. */
|
|
5005
|
+
interface StandardJSONSchemaV1<Input = unknown, Output = Input> {
|
|
5006
|
+
/** The Standard JSON Schema properties. */
|
|
5007
|
+
readonly "~standard": StandardJSONSchemaV1.Props<Input, Output>;
|
|
5008
|
+
}
|
|
5009
|
+
declare namespace StandardJSONSchemaV1 {
|
|
5010
|
+
/** The Standard JSON Schema properties interface. */
|
|
5011
|
+
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
5012
|
+
/** Methods for generating the input/output JSON Schema. */
|
|
5013
|
+
readonly jsonSchema: Converter;
|
|
5014
|
+
}
|
|
5015
|
+
/** The Standard JSON Schema converter interface. */
|
|
5016
|
+
interface Converter {
|
|
5017
|
+
/** Converts the input type to JSON Schema. May throw if conversion is not supported. */
|
|
5018
|
+
readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
|
|
5019
|
+
/** Converts the output type to JSON Schema. May throw if conversion is not supported. */
|
|
5020
|
+
readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
|
|
5021
|
+
}
|
|
5022
|
+
/** The target version of the generated JSON Schema.
|
|
5023
|
+
*
|
|
5024
|
+
* It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use.
|
|
5025
|
+
*
|
|
5026
|
+
* The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`.
|
|
5027
|
+
*
|
|
5028
|
+
* All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target.
|
|
5029
|
+
*/
|
|
5030
|
+
type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string);
|
|
5031
|
+
/** The options for the input/output methods. */
|
|
5032
|
+
interface Options {
|
|
5033
|
+
/** 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. */
|
|
5034
|
+
readonly target: Target;
|
|
5035
|
+
/** Implicit support for additional vendor-specific parameters, if needed. */
|
|
5036
|
+
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
5037
|
+
}
|
|
5038
|
+
/** The Standard types interface. */
|
|
5039
|
+
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
5040
|
+
/** Infers the input type of a Standard. */
|
|
5041
|
+
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
5042
|
+
/** Infers the output type of a Standard. */
|
|
5043
|
+
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
5044
|
+
}
|
|
5045
|
+
interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {}
|
|
5046
|
+
//#endregion
|
|
5047
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts
|
|
5048
|
+
declare const $output: unique symbol;
|
|
5049
|
+
type $output = typeof $output;
|
|
5050
|
+
declare const $input: unique symbol;
|
|
5051
|
+
type $input = typeof $input;
|
|
5052
|
+
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: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
|
|
5053
|
+
type MetadataType = object | undefined;
|
|
5054
|
+
declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
|
|
5055
|
+
_meta: Meta;
|
|
5056
|
+
_schema: Schema;
|
|
5057
|
+
_map: WeakMap<Schema, $replace<Meta, Schema>>;
|
|
5058
|
+
_idmap: Map<string, Schema>;
|
|
5059
|
+
add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
|
|
5060
|
+
clear(): this;
|
|
5061
|
+
remove(schema: Schema): this;
|
|
5062
|
+
get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
|
|
5063
|
+
has(schema: Schema): boolean;
|
|
5064
|
+
}
|
|
5065
|
+
interface JSONSchemaMeta {
|
|
5066
|
+
id?: string | undefined;
|
|
5067
|
+
title?: string | undefined;
|
|
5068
|
+
description?: string | undefined;
|
|
5069
|
+
deprecated?: boolean | undefined;
|
|
5070
|
+
[k: string]: unknown;
|
|
5071
|
+
}
|
|
5072
|
+
interface GlobalMeta extends JSONSchemaMeta {}
|
|
5073
|
+
//#endregion
|
|
5074
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts
|
|
5075
|
+
type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
|
|
5076
|
+
interface JSONSchemaGeneratorParams {
|
|
5077
|
+
processors: Record<string, Processor>;
|
|
5078
|
+
/** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.
|
|
5079
|
+
* @default globalRegistry */
|
|
5080
|
+
metadata?: $ZodRegistry<Record<string, any>>;
|
|
5081
|
+
/** The JSON Schema version to target.
|
|
5082
|
+
* - `"draft-2020-12"` — Default. JSON Schema Draft 2020-12
|
|
5083
|
+
* - `"draft-07"` — JSON Schema Draft 7
|
|
5084
|
+
* - `"draft-04"` — JSON Schema Draft 4
|
|
5085
|
+
* - `"openapi-3.0"` — OpenAPI 3.0 Schema Object */
|
|
5086
|
+
target?: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string) | undefined;
|
|
5087
|
+
/** How to handle unrepresentable types.
|
|
5088
|
+
* - `"throw"` — Default. Unrepresentable types throw an error
|
|
5089
|
+
* - `"any"` — Unrepresentable types become `{}` */
|
|
5090
|
+
unrepresentable?: "throw" | "any";
|
|
5091
|
+
/** Arbitrary custom logic that can be used to modify the generated JSON Schema. */
|
|
5092
|
+
override?: (ctx: {
|
|
5093
|
+
zodSchema: $ZodTypes;
|
|
5094
|
+
jsonSchema: BaseSchema;
|
|
5095
|
+
path: (string | number)[];
|
|
5096
|
+
}) => void;
|
|
5097
|
+
/** Whether to extract the `"input"` or `"output"` type. Relevant to transforms, defaults, coerced primitives, etc.
|
|
5098
|
+
* - `"output"` — Default. Convert the output schema.
|
|
5099
|
+
* - `"input"` — Convert the input schema. */
|
|
5100
|
+
io?: "input" | "output";
|
|
5101
|
+
cycles?: "ref" | "throw";
|
|
5102
|
+
reused?: "ref" | "inline";
|
|
5103
|
+
external?: {
|
|
5104
|
+
registry: $ZodRegistry<{
|
|
5105
|
+
id?: string | undefined;
|
|
5106
|
+
}>;
|
|
5107
|
+
uri?: ((id: string) => string) | undefined;
|
|
5108
|
+
defs: Record<string, BaseSchema>;
|
|
5109
|
+
} | undefined;
|
|
5110
|
+
}
|
|
5111
|
+
/**
|
|
5112
|
+
* Parameters for the toJSONSchema function.
|
|
5113
|
+
*/
|
|
5114
|
+
type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
|
|
5115
|
+
interface ProcessParams {
|
|
5116
|
+
schemaPath: $ZodType[];
|
|
5117
|
+
path: (string | number)[];
|
|
5118
|
+
}
|
|
5119
|
+
interface Seen {
|
|
5120
|
+
/** JSON Schema result for this Zod schema */
|
|
5121
|
+
schema: BaseSchema;
|
|
5122
|
+
/** A cached version of the schema that doesn't get overwritten during ref resolution */
|
|
5123
|
+
def?: BaseSchema;
|
|
5124
|
+
defId?: string | undefined;
|
|
5125
|
+
/** Number of times this schema was encountered during traversal */
|
|
5126
|
+
count: number;
|
|
5127
|
+
/** Cycle path */
|
|
5128
|
+
cycle?: (string | number)[] | undefined;
|
|
5129
|
+
isParent?: boolean | undefined;
|
|
5130
|
+
/** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
|
|
5131
|
+
ref?: $ZodType | null;
|
|
5132
|
+
/** JSON Schema property path for this schema */
|
|
5133
|
+
path?: (string | number)[] | undefined;
|
|
5134
|
+
}
|
|
5135
|
+
interface ToJSONSchemaContext {
|
|
5136
|
+
processors: Record<string, Processor>;
|
|
5137
|
+
metadataRegistry: $ZodRegistry<Record<string, any>>;
|
|
5138
|
+
target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
|
|
5139
|
+
unrepresentable: "throw" | "any";
|
|
5140
|
+
override: (ctx: {
|
|
5141
|
+
zodSchema: $ZodType;
|
|
5142
|
+
jsonSchema: BaseSchema;
|
|
5143
|
+
path: (string | number)[];
|
|
5144
|
+
}) => void;
|
|
5145
|
+
io: "input" | "output";
|
|
5146
|
+
counter: number;
|
|
5147
|
+
seen: Map<$ZodType, Seen>;
|
|
5148
|
+
cycles: "ref" | "throw";
|
|
5149
|
+
reused: "ref" | "inline";
|
|
5150
|
+
external?: {
|
|
5151
|
+
registry: $ZodRegistry<{
|
|
5152
|
+
id?: string | undefined;
|
|
5153
|
+
}>;
|
|
5154
|
+
uri?: ((id: string) => string) | undefined;
|
|
5155
|
+
defs: Record<string, BaseSchema>;
|
|
5156
|
+
} | undefined;
|
|
5157
|
+
}
|
|
5158
|
+
type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
5159
|
+
interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
|
|
5160
|
+
"~standard": ZodStandardSchemaWithJSON$1<T>;
|
|
5161
|
+
}
|
|
5162
|
+
//#endregion
|
|
5163
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts
|
|
5164
|
+
type JWTAlgorithm = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | (string & {});
|
|
5165
|
+
type MimeTypes = "application/json" | "application/xml" | "application/x-www-form-urlencoded" | "application/javascript" | "application/pdf" | "application/zip" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/octet-stream" | "application/graphql" | "text/html" | "text/plain" | "text/css" | "text/javascript" | "text/csv" | "image/png" | "image/jpeg" | "image/gif" | "image/svg+xml" | "image/webp" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "font/woff" | "font/woff2" | "font/ttf" | "font/otf" | "multipart/form-data" | (string & {});
|
|
5166
|
+
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
5167
|
+
type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
5168
|
+
type MakePartial<T, K extends keyof T> = Omit$1<T, K> & InexactPartial<Pick<T, K>>;
|
|
5169
|
+
type NoUndefined<T> = T extends undefined ? never : T;
|
|
5170
|
+
type LoosePartial<T extends object> = InexactPartial<T> & {
|
|
5171
|
+
[k: string]: unknown;
|
|
5172
|
+
};
|
|
5173
|
+
type Mask<Keys extends PropertyKey> = { [K in Keys]?: true };
|
|
5174
|
+
type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
|
|
5175
|
+
type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
|
|
5176
|
+
readonly [Symbol.toStringTag]: string;
|
|
5177
|
+
} | Date | Error | Generator | Promise<unknown> | RegExp;
|
|
5178
|
+
type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;
|
|
5179
|
+
type SomeObject = Record<PropertyKey, any>;
|
|
5180
|
+
type Identity<T> = T;
|
|
5181
|
+
type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
|
|
5182
|
+
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
5183
|
+
type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K] } & { [K in keyof B]: B[K] }>;
|
|
5184
|
+
type TupleItems = ReadonlyArray<SomeType>;
|
|
5185
|
+
type AnyFunc = (...args: any[]) => any;
|
|
5186
|
+
type MaybeAsync<T> = T | Promise<T>;
|
|
5187
|
+
type EnumValue = string | number;
|
|
5188
|
+
type EnumLike = Readonly<Record<string, EnumValue>>;
|
|
5189
|
+
type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k }>;
|
|
5190
|
+
type Literal = string | number | bigint | boolean | null | undefined;
|
|
5191
|
+
type Primitive = string | number | symbol | bigint | boolean | null | undefined;
|
|
5192
|
+
type HasLength = {
|
|
5193
|
+
length: number;
|
|
5194
|
+
};
|
|
5195
|
+
type Numeric = number | bigint | Date;
|
|
5196
|
+
type PropValues = Record<string, Set<Primitive>>;
|
|
5197
|
+
type PrimitiveSet = Set<Primitive>;
|
|
5198
|
+
type EmptyToNever<T> = keyof T extends never ? never : T;
|
|
5199
|
+
declare abstract class Class {
|
|
5200
|
+
constructor(..._args: any[]);
|
|
5201
|
+
}
|
|
5202
|
+
//#endregion
|
|
5203
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts
|
|
5204
|
+
declare const version: {
|
|
5205
|
+
readonly major: 4;
|
|
5206
|
+
readonly minor: 3;
|
|
5207
|
+
readonly patch: number;
|
|
5208
|
+
};
|
|
5209
|
+
//#endregion
|
|
5210
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts
|
|
5211
|
+
interface ParseContext<T extends $ZodIssueBase = never> {
|
|
5212
|
+
/** Customize error messages. */
|
|
5213
|
+
readonly error?: $ZodErrorMap<T>;
|
|
5214
|
+
/** Include the `input` field in issue objects. Default `false`. */
|
|
5215
|
+
readonly reportInput?: boolean;
|
|
5216
|
+
/** Skip eval-based fast path. Default `false`. */
|
|
5217
|
+
readonly jitless?: boolean;
|
|
5218
|
+
}
|
|
5219
|
+
/** @internal */
|
|
5220
|
+
interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseContext<T> {
|
|
5221
|
+
readonly async?: boolean | undefined;
|
|
5222
|
+
readonly direction?: "forward" | "backward";
|
|
5223
|
+
readonly skipChecks?: boolean;
|
|
5224
|
+
}
|
|
5225
|
+
interface ParsePayload<T = unknown> {
|
|
5226
|
+
value: T;
|
|
5227
|
+
issues: $ZodRawIssue[];
|
|
5228
|
+
/** A may to mark a whole payload as aborted. Used in codecs/pipes. */
|
|
5229
|
+
aborted?: boolean;
|
|
5230
|
+
}
|
|
5231
|
+
type CheckFn<T> = (input: ParsePayload<T>) => MaybeAsync<void>;
|
|
5232
|
+
interface $ZodTypeDef {
|
|
5233
|
+
type: "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "null" | "undefined" | "void" | "never" | "any" | "unknown" | "date" | "object" | "record" | "file" | "array" | "tuple" | "union" | "intersection" | "map" | "set" | "enum" | "literal" | "nullable" | "optional" | "nonoptional" | "success" | "transform" | "default" | "prefault" | "catch" | "nan" | "pipe" | "readonly" | "template_literal" | "promise" | "lazy" | "function" | "custom";
|
|
5234
|
+
error?: $ZodErrorMap<never> | undefined;
|
|
5235
|
+
checks?: $ZodCheck<never>[];
|
|
5236
|
+
}
|
|
5237
|
+
interface _$ZodTypeInternals {
|
|
5238
|
+
/** The `@zod/core` version of this schema */
|
|
5239
|
+
version: typeof version;
|
|
5240
|
+
/** Schema definition. */
|
|
5241
|
+
def: $ZodTypeDef;
|
|
5242
|
+
/** @internal Randomly generated ID for this schema. */
|
|
5243
|
+
/** @internal List of deferred initializers. */
|
|
5244
|
+
deferred: AnyFunc[] | undefined;
|
|
5245
|
+
/** @internal Parses input and runs all checks (refinements). */
|
|
5246
|
+
run(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
5247
|
+
/** @internal Parses input, doesn't run checks. */
|
|
5248
|
+
parse(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
5249
|
+
/** @internal Stores identifiers for the set of traits implemented by this schema. */
|
|
5250
|
+
traits: Set<string>;
|
|
5251
|
+
/** @internal Indicates that a schema output type should be considered optional inside objects.
|
|
5252
|
+
* @default Required
|
|
5253
|
+
*/
|
|
5254
|
+
/** @internal */
|
|
5255
|
+
optin?: "optional" | undefined;
|
|
5256
|
+
/** @internal */
|
|
5257
|
+
optout?: "optional" | undefined;
|
|
5258
|
+
/** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
|
|
5259
|
+
*
|
|
5260
|
+
* Defined on: enum, const, literal, null, undefined
|
|
5261
|
+
* Passthrough: optional, nullable, branded, default, catch, pipe
|
|
5262
|
+
* Todo: unions?
|
|
5263
|
+
*/
|
|
5264
|
+
values?: PrimitiveSet | undefined;
|
|
5265
|
+
/** Default value bubbled up from */
|
|
5266
|
+
/** @internal A set of literal discriminators used for the fast path in discriminated unions. */
|
|
5267
|
+
propValues?: PropValues | undefined;
|
|
5268
|
+
/** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
|
|
5269
|
+
pattern: RegExp | undefined;
|
|
5270
|
+
/** @internal The constructor function of this schema. */
|
|
5271
|
+
constr: new (def: any) => $ZodType;
|
|
5272
|
+
/** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
|
|
5273
|
+
bag: Record<string, unknown>;
|
|
5274
|
+
/** @internal The set of issues this schema might throw during type checking. */
|
|
5275
|
+
isst: $ZodIssueBase;
|
|
5276
|
+
/** @internal Subject to change, not a public API. */
|
|
5277
|
+
processJSONSchema?: ((ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void) | undefined;
|
|
5278
|
+
/** An optional method used to override `toJSONSchema` logic. */
|
|
5279
|
+
toJSONSchema?: () => unknown;
|
|
5280
|
+
/** @internal The parent of this schema. Only set during certain clone operations. */
|
|
5281
|
+
parent?: $ZodType | undefined;
|
|
5282
|
+
}
|
|
5283
|
+
/** @internal */
|
|
5284
|
+
interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
|
|
5285
|
+
/** @internal The inferred output type */
|
|
5286
|
+
output: O;
|
|
5287
|
+
/** @internal The inferred input type */
|
|
5288
|
+
input: I;
|
|
5289
|
+
}
|
|
5290
|
+
type $ZodStandardSchema<T> = StandardSchemaV1.Props<input<T>, output<T>>;
|
|
5291
|
+
type SomeType = {
|
|
5292
|
+
_zod: _$ZodTypeInternals;
|
|
5293
|
+
};
|
|
5294
|
+
interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {
|
|
5295
|
+
_zod: Internals;
|
|
5296
|
+
"~standard": $ZodStandardSchema<this>;
|
|
5297
|
+
}
|
|
5298
|
+
interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {}
|
|
5299
|
+
declare const $ZodType: $constructor<$ZodType>;
|
|
5300
|
+
interface $ZodStringDef extends $ZodTypeDef {
|
|
5301
|
+
type: "string";
|
|
5302
|
+
coerce?: boolean;
|
|
5303
|
+
checks?: $ZodCheck<string>[];
|
|
5304
|
+
}
|
|
5305
|
+
interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
|
|
5306
|
+
def: $ZodStringDef;
|
|
5307
|
+
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5308
|
+
pattern: RegExp;
|
|
5309
|
+
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5310
|
+
isst: $ZodIssueInvalidType;
|
|
5311
|
+
bag: LoosePartial<{
|
|
5312
|
+
minimum: number;
|
|
5313
|
+
maximum: number;
|
|
5314
|
+
patterns: Set<RegExp>;
|
|
5315
|
+
format: string;
|
|
5316
|
+
contentEncoding: string;
|
|
5317
|
+
}>;
|
|
5318
|
+
}
|
|
5319
|
+
interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {}
|
|
5320
|
+
declare const $ZodString: $constructor<$ZodString>;
|
|
5321
|
+
interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, $ZodCheckStringFormatDef<Format> {}
|
|
5322
|
+
interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, $ZodCheckStringFormatInternals {
|
|
5323
|
+
def: $ZodStringFormatDef<Format>;
|
|
5324
|
+
}
|
|
5325
|
+
interface $ZodStringFormat<Format extends string = string> extends $ZodType {
|
|
5326
|
+
_zod: $ZodStringFormatInternals<Format>;
|
|
5327
|
+
}
|
|
5328
|
+
declare const $ZodStringFormat: $constructor<$ZodStringFormat>;
|
|
5329
|
+
interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
|
|
5330
|
+
interface $ZodGUID extends $ZodType {
|
|
5331
|
+
_zod: $ZodGUIDInternals;
|
|
5332
|
+
}
|
|
5333
|
+
declare const $ZodGUID: $constructor<$ZodGUID>;
|
|
5334
|
+
interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
|
|
5335
|
+
version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
|
|
5336
|
+
}
|
|
5337
|
+
interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
|
|
5338
|
+
def: $ZodUUIDDef;
|
|
5339
|
+
}
|
|
5340
|
+
interface $ZodUUID extends $ZodType {
|
|
5341
|
+
_zod: $ZodUUIDInternals;
|
|
5342
|
+
}
|
|
5343
|
+
declare const $ZodUUID: $constructor<$ZodUUID>;
|
|
5344
|
+
interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
|
|
5345
|
+
interface $ZodEmail extends $ZodType {
|
|
5346
|
+
_zod: $ZodEmailInternals;
|
|
5347
|
+
}
|
|
5348
|
+
declare const $ZodEmail: $constructor<$ZodEmail>;
|
|
5349
|
+
interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
|
|
5350
|
+
hostname?: RegExp | undefined;
|
|
5351
|
+
protocol?: RegExp | undefined;
|
|
5352
|
+
normalize?: boolean | undefined;
|
|
5353
|
+
}
|
|
5354
|
+
interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
|
|
5355
|
+
def: $ZodURLDef;
|
|
5356
|
+
}
|
|
5357
|
+
interface $ZodURL extends $ZodType {
|
|
5358
|
+
_zod: $ZodURLInternals;
|
|
5359
|
+
}
|
|
5360
|
+
declare const $ZodURL: $constructor<$ZodURL>;
|
|
5361
|
+
interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
|
|
5362
|
+
interface $ZodEmoji extends $ZodType {
|
|
5363
|
+
_zod: $ZodEmojiInternals;
|
|
5364
|
+
}
|
|
5365
|
+
declare const $ZodEmoji: $constructor<$ZodEmoji>;
|
|
5366
|
+
interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {}
|
|
5367
|
+
interface $ZodNanoID extends $ZodType {
|
|
5368
|
+
_zod: $ZodNanoIDInternals;
|
|
5369
|
+
}
|
|
5370
|
+
declare const $ZodNanoID: $constructor<$ZodNanoID>;
|
|
5371
|
+
interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
|
|
5372
|
+
interface $ZodCUID extends $ZodType {
|
|
5373
|
+
_zod: $ZodCUIDInternals;
|
|
5374
|
+
}
|
|
5375
|
+
declare const $ZodCUID: $constructor<$ZodCUID>;
|
|
5376
|
+
interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
|
|
5377
|
+
interface $ZodCUID2 extends $ZodType {
|
|
5378
|
+
_zod: $ZodCUID2Internals;
|
|
5379
|
+
}
|
|
5380
|
+
declare const $ZodCUID2: $constructor<$ZodCUID2>;
|
|
5381
|
+
interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
|
|
5382
|
+
interface $ZodULID extends $ZodType {
|
|
5383
|
+
_zod: $ZodULIDInternals;
|
|
5384
|
+
}
|
|
5385
|
+
declare const $ZodULID: $constructor<$ZodULID>;
|
|
5386
|
+
interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
|
|
5387
|
+
interface $ZodXID extends $ZodType {
|
|
5388
|
+
_zod: $ZodXIDInternals;
|
|
5389
|
+
}
|
|
5390
|
+
declare const $ZodXID: $constructor<$ZodXID>;
|
|
5391
|
+
interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
|
|
5392
|
+
interface $ZodKSUID extends $ZodType {
|
|
5393
|
+
_zod: $ZodKSUIDInternals;
|
|
5394
|
+
}
|
|
5395
|
+
declare const $ZodKSUID: $constructor<$ZodKSUID>;
|
|
5396
|
+
interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
|
|
5397
|
+
precision: number | null;
|
|
5398
|
+
offset: boolean;
|
|
5399
|
+
local: boolean;
|
|
5400
|
+
}
|
|
5401
|
+
interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
|
|
5402
|
+
def: $ZodISODateTimeDef;
|
|
5403
|
+
}
|
|
5404
|
+
interface $ZodISODateTime extends $ZodType {
|
|
5405
|
+
_zod: $ZodISODateTimeInternals;
|
|
5406
|
+
}
|
|
5407
|
+
declare const $ZodISODateTime: $constructor<$ZodISODateTime>;
|
|
5408
|
+
interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
|
|
5409
|
+
interface $ZodISODate extends $ZodType {
|
|
5410
|
+
_zod: $ZodISODateInternals;
|
|
5411
|
+
}
|
|
5412
|
+
declare const $ZodISODate: $constructor<$ZodISODate>;
|
|
5413
|
+
interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
|
|
5414
|
+
precision?: number | null;
|
|
5415
|
+
}
|
|
5416
|
+
interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
|
|
5417
|
+
def: $ZodISOTimeDef;
|
|
5418
|
+
}
|
|
5419
|
+
interface $ZodISOTime extends $ZodType {
|
|
5420
|
+
_zod: $ZodISOTimeInternals;
|
|
5421
|
+
}
|
|
5422
|
+
declare const $ZodISOTime: $constructor<$ZodISOTime>;
|
|
5423
|
+
interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
|
|
5424
|
+
interface $ZodISODuration extends $ZodType {
|
|
5425
|
+
_zod: $ZodISODurationInternals;
|
|
5426
|
+
}
|
|
5427
|
+
declare const $ZodISODuration: $constructor<$ZodISODuration>;
|
|
5428
|
+
interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
|
|
5429
|
+
version?: "v4";
|
|
5430
|
+
}
|
|
5431
|
+
interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
|
|
5432
|
+
def: $ZodIPv4Def;
|
|
5433
|
+
}
|
|
5434
|
+
interface $ZodIPv4 extends $ZodType {
|
|
5435
|
+
_zod: $ZodIPv4Internals;
|
|
5436
|
+
}
|
|
5437
|
+
declare const $ZodIPv4: $constructor<$ZodIPv4>;
|
|
5438
|
+
interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
|
|
5439
|
+
version?: "v6";
|
|
5440
|
+
}
|
|
5441
|
+
interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
|
|
5442
|
+
def: $ZodIPv6Def;
|
|
5443
|
+
}
|
|
5444
|
+
interface $ZodIPv6 extends $ZodType {
|
|
5445
|
+
_zod: $ZodIPv6Internals;
|
|
5446
|
+
}
|
|
5447
|
+
declare const $ZodIPv6: $constructor<$ZodIPv6>;
|
|
5448
|
+
interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
|
|
5449
|
+
version?: "v4";
|
|
5450
|
+
}
|
|
5451
|
+
interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
|
|
5452
|
+
def: $ZodCIDRv4Def;
|
|
5453
|
+
}
|
|
5454
|
+
interface $ZodCIDRv4 extends $ZodType {
|
|
5455
|
+
_zod: $ZodCIDRv4Internals;
|
|
5456
|
+
}
|
|
5457
|
+
declare const $ZodCIDRv4: $constructor<$ZodCIDRv4>;
|
|
5458
|
+
interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
|
|
5459
|
+
version?: "v6";
|
|
5460
|
+
}
|
|
5461
|
+
interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
|
|
5462
|
+
def: $ZodCIDRv6Def;
|
|
5463
|
+
}
|
|
5464
|
+
interface $ZodCIDRv6 extends $ZodType {
|
|
5465
|
+
_zod: $ZodCIDRv6Internals;
|
|
5466
|
+
}
|
|
5467
|
+
declare const $ZodCIDRv6: $constructor<$ZodCIDRv6>;
|
|
5468
|
+
interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
|
|
5469
|
+
interface $ZodBase64 extends $ZodType {
|
|
5470
|
+
_zod: $ZodBase64Internals;
|
|
5471
|
+
}
|
|
5472
|
+
declare const $ZodBase64: $constructor<$ZodBase64>;
|
|
5473
|
+
interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
|
|
5474
|
+
interface $ZodBase64URL extends $ZodType {
|
|
5475
|
+
_zod: $ZodBase64URLInternals;
|
|
5476
|
+
}
|
|
5477
|
+
declare const $ZodBase64URL: $constructor<$ZodBase64URL>;
|
|
5478
|
+
interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
|
|
5479
|
+
interface $ZodE164 extends $ZodType {
|
|
5480
|
+
_zod: $ZodE164Internals;
|
|
5481
|
+
}
|
|
5482
|
+
declare const $ZodE164: $constructor<$ZodE164>;
|
|
5483
|
+
interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
|
|
5484
|
+
alg?: JWTAlgorithm | undefined;
|
|
5485
|
+
}
|
|
5486
|
+
interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
|
|
5487
|
+
def: $ZodJWTDef;
|
|
5488
|
+
}
|
|
5489
|
+
interface $ZodJWT extends $ZodType {
|
|
5490
|
+
_zod: $ZodJWTInternals;
|
|
5491
|
+
}
|
|
5492
|
+
declare const $ZodJWT: $constructor<$ZodJWT>;
|
|
5493
|
+
interface $ZodNumberDef extends $ZodTypeDef {
|
|
5494
|
+
type: "number";
|
|
5495
|
+
coerce?: boolean;
|
|
5496
|
+
}
|
|
5497
|
+
interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {
|
|
5498
|
+
def: $ZodNumberDef;
|
|
5499
|
+
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5500
|
+
pattern: RegExp;
|
|
5501
|
+
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5502
|
+
isst: $ZodIssueInvalidType;
|
|
5503
|
+
bag: LoosePartial<{
|
|
5504
|
+
minimum: number;
|
|
5505
|
+
maximum: number;
|
|
5506
|
+
exclusiveMinimum: number;
|
|
5507
|
+
exclusiveMaximum: number;
|
|
5508
|
+
format: string;
|
|
5509
|
+
pattern: RegExp;
|
|
5510
|
+
}>;
|
|
5511
|
+
}
|
|
5512
|
+
interface $ZodNumber<Input = unknown> extends $ZodType {
|
|
5513
|
+
_zod: $ZodNumberInternals<Input>;
|
|
5514
|
+
}
|
|
5515
|
+
declare const $ZodNumber: $constructor<$ZodNumber>;
|
|
5516
|
+
interface $ZodBooleanDef extends $ZodTypeDef {
|
|
5517
|
+
type: "boolean";
|
|
5518
|
+
coerce?: boolean;
|
|
5519
|
+
checks?: $ZodCheck<boolean>[];
|
|
5520
|
+
}
|
|
5521
|
+
interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {
|
|
5522
|
+
pattern: RegExp;
|
|
5523
|
+
def: $ZodBooleanDef;
|
|
5524
|
+
isst: $ZodIssueInvalidType;
|
|
5525
|
+
}
|
|
5526
|
+
interface $ZodBoolean<T = unknown> extends $ZodType {
|
|
5527
|
+
_zod: $ZodBooleanInternals<T>;
|
|
5528
|
+
}
|
|
5529
|
+
declare const $ZodBoolean: $constructor<$ZodBoolean>;
|
|
5530
|
+
interface $ZodBigIntDef extends $ZodTypeDef {
|
|
5531
|
+
type: "bigint";
|
|
5532
|
+
coerce?: boolean;
|
|
5533
|
+
}
|
|
5534
|
+
interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
|
|
5535
|
+
pattern: RegExp;
|
|
5536
|
+
/** @internal Internal API, use with caution */
|
|
5537
|
+
def: $ZodBigIntDef;
|
|
5538
|
+
isst: $ZodIssueInvalidType;
|
|
5539
|
+
bag: LoosePartial<{
|
|
5540
|
+
minimum: bigint;
|
|
5541
|
+
maximum: bigint;
|
|
5542
|
+
format: string;
|
|
5543
|
+
}>;
|
|
5544
|
+
}
|
|
5545
|
+
interface $ZodBigInt<T = unknown> extends $ZodType {
|
|
5546
|
+
_zod: $ZodBigIntInternals<T>;
|
|
5547
|
+
}
|
|
5548
|
+
declare const $ZodBigInt: $constructor<$ZodBigInt>;
|
|
5549
|
+
interface $ZodSymbolDef extends $ZodTypeDef {
|
|
5550
|
+
type: "symbol";
|
|
5551
|
+
}
|
|
5552
|
+
interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
|
|
5553
|
+
def: $ZodSymbolDef;
|
|
5554
|
+
isst: $ZodIssueInvalidType;
|
|
5555
|
+
}
|
|
5556
|
+
interface $ZodSymbol extends $ZodType {
|
|
5557
|
+
_zod: $ZodSymbolInternals;
|
|
5558
|
+
}
|
|
5559
|
+
declare const $ZodSymbol: $constructor<$ZodSymbol>;
|
|
5560
|
+
interface $ZodUndefinedDef extends $ZodTypeDef {
|
|
5561
|
+
type: "undefined";
|
|
5562
|
+
}
|
|
5563
|
+
interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
|
|
5564
|
+
pattern: RegExp;
|
|
5565
|
+
def: $ZodUndefinedDef;
|
|
5566
|
+
values: PrimitiveSet;
|
|
5567
|
+
isst: $ZodIssueInvalidType;
|
|
5568
|
+
}
|
|
5569
|
+
interface $ZodUndefined extends $ZodType {
|
|
5570
|
+
_zod: $ZodUndefinedInternals;
|
|
5571
|
+
}
|
|
5572
|
+
declare const $ZodUndefined: $constructor<$ZodUndefined>;
|
|
5573
|
+
interface $ZodNullDef extends $ZodTypeDef {
|
|
5574
|
+
type: "null";
|
|
5575
|
+
}
|
|
5576
|
+
interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
|
|
5577
|
+
pattern: RegExp;
|
|
5578
|
+
def: $ZodNullDef;
|
|
5579
|
+
values: PrimitiveSet;
|
|
5580
|
+
isst: $ZodIssueInvalidType;
|
|
5581
|
+
}
|
|
5582
|
+
interface $ZodNull extends $ZodType {
|
|
5583
|
+
_zod: $ZodNullInternals;
|
|
5584
|
+
}
|
|
5585
|
+
declare const $ZodNull: $constructor<$ZodNull>;
|
|
5586
|
+
interface $ZodAnyDef extends $ZodTypeDef {
|
|
5587
|
+
type: "any";
|
|
5588
|
+
}
|
|
5589
|
+
interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
|
|
5590
|
+
def: $ZodAnyDef;
|
|
5591
|
+
isst: never;
|
|
5592
|
+
}
|
|
5593
|
+
interface $ZodAny extends $ZodType {
|
|
5594
|
+
_zod: $ZodAnyInternals;
|
|
5595
|
+
}
|
|
5596
|
+
declare const $ZodAny: $constructor<$ZodAny>;
|
|
5597
|
+
interface $ZodUnknownDef extends $ZodTypeDef {
|
|
5598
|
+
type: "unknown";
|
|
5599
|
+
}
|
|
5600
|
+
interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
|
|
5601
|
+
def: $ZodUnknownDef;
|
|
5602
|
+
isst: never;
|
|
5603
|
+
}
|
|
5604
|
+
interface $ZodUnknown extends $ZodType {
|
|
5605
|
+
_zod: $ZodUnknownInternals;
|
|
5606
|
+
}
|
|
5607
|
+
declare const $ZodUnknown: $constructor<$ZodUnknown>;
|
|
5608
|
+
interface $ZodNeverDef extends $ZodTypeDef {
|
|
5609
|
+
type: "never";
|
|
5610
|
+
}
|
|
5611
|
+
interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
|
|
5612
|
+
def: $ZodNeverDef;
|
|
5613
|
+
isst: $ZodIssueInvalidType;
|
|
5614
|
+
}
|
|
5615
|
+
interface $ZodNever extends $ZodType {
|
|
5616
|
+
_zod: $ZodNeverInternals;
|
|
5617
|
+
}
|
|
5618
|
+
declare const $ZodNever: $constructor<$ZodNever>;
|
|
5619
|
+
interface $ZodVoidDef extends $ZodTypeDef {
|
|
5620
|
+
type: "void";
|
|
5621
|
+
}
|
|
5622
|
+
interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
|
|
5623
|
+
def: $ZodVoidDef;
|
|
5624
|
+
isst: $ZodIssueInvalidType;
|
|
5625
|
+
}
|
|
5626
|
+
interface $ZodVoid extends $ZodType {
|
|
5627
|
+
_zod: $ZodVoidInternals;
|
|
5628
|
+
}
|
|
5629
|
+
declare const $ZodVoid: $constructor<$ZodVoid>;
|
|
5630
|
+
interface $ZodDateDef extends $ZodTypeDef {
|
|
5631
|
+
type: "date";
|
|
5632
|
+
coerce?: boolean;
|
|
5633
|
+
}
|
|
5634
|
+
interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
|
|
5635
|
+
def: $ZodDateDef;
|
|
5636
|
+
isst: $ZodIssueInvalidType;
|
|
5637
|
+
bag: LoosePartial<{
|
|
5638
|
+
minimum: Date;
|
|
5639
|
+
maximum: Date;
|
|
5640
|
+
format: string;
|
|
5641
|
+
}>;
|
|
5642
|
+
}
|
|
5643
|
+
interface $ZodDate<T = unknown> extends $ZodType {
|
|
5644
|
+
_zod: $ZodDateInternals<T>;
|
|
5645
|
+
}
|
|
5646
|
+
declare const $ZodDate: $constructor<$ZodDate>;
|
|
5647
|
+
interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5648
|
+
type: "array";
|
|
5649
|
+
element: T;
|
|
5650
|
+
}
|
|
5651
|
+
interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
|
|
5652
|
+
def: $ZodArrayDef<T>;
|
|
5653
|
+
isst: $ZodIssueInvalidType;
|
|
5654
|
+
output: output<T>[];
|
|
5655
|
+
input: input<T>[];
|
|
5656
|
+
}
|
|
5657
|
+
interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {}
|
|
5658
|
+
declare const $ZodArray: $constructor<$ZodArray>;
|
|
5659
|
+
type OptionalOutSchema = {
|
|
5660
|
+
_zod: {
|
|
5661
|
+
optout: "optional";
|
|
5662
|
+
};
|
|
5663
|
+
};
|
|
5664
|
+
type OptionalInSchema = {
|
|
5665
|
+
_zod: {
|
|
5666
|
+
optin: "optional";
|
|
5667
|
+
};
|
|
5668
|
+
};
|
|
5669
|
+
type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"] } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"] } & Extra>;
|
|
5670
|
+
type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"] } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"] } & Extra>;
|
|
5671
|
+
type $ZodObjectConfig = {
|
|
5672
|
+
out: Record<string, unknown>;
|
|
5673
|
+
in: Record<string, unknown>;
|
|
5674
|
+
};
|
|
5675
|
+
type $loose = {
|
|
5676
|
+
out: Record<string, unknown>;
|
|
5677
|
+
in: Record<string, unknown>;
|
|
5678
|
+
};
|
|
5679
|
+
type $strict = {
|
|
5680
|
+
out: {};
|
|
5681
|
+
in: {};
|
|
5682
|
+
};
|
|
5683
|
+
type $strip = {
|
|
5684
|
+
out: {};
|
|
5685
|
+
in: {};
|
|
5686
|
+
};
|
|
5687
|
+
type $catchall<T extends SomeType> = {
|
|
5688
|
+
out: {
|
|
5689
|
+
[k: string]: output<T>;
|
|
5690
|
+
};
|
|
5691
|
+
in: {
|
|
5692
|
+
[k: string]: input<T>;
|
|
5693
|
+
};
|
|
5694
|
+
};
|
|
5695
|
+
type $ZodShape = Readonly<{
|
|
5696
|
+
[k: string]: $ZodType;
|
|
5697
|
+
}>;
|
|
5698
|
+
interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {
|
|
5699
|
+
type: "object";
|
|
5700
|
+
shape: Shape;
|
|
5701
|
+
catchall?: $ZodType | undefined;
|
|
5702
|
+
}
|
|
5703
|
+
interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
|
|
5704
|
+
def: $ZodObjectDef<Shape>;
|
|
5705
|
+
config: Config;
|
|
5706
|
+
isst: $ZodIssueInvalidType | $ZodIssueUnrecognizedKeys;
|
|
5707
|
+
propValues: PropValues;
|
|
5708
|
+
output: $InferObjectOutput<Shape, Config["out"]>;
|
|
5709
|
+
input: $InferObjectInput<Shape, Config["in"]>;
|
|
5710
|
+
optin?: "optional" | undefined;
|
|
5711
|
+
optout?: "optional" | undefined;
|
|
5712
|
+
}
|
|
5713
|
+
type $ZodLooseShape = Record<string, any>;
|
|
5714
|
+
interface $ZodObject< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
|
|
5715
|
+
declare const $ZodObject: $constructor<$ZodObject>;
|
|
5716
|
+
type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
|
|
5717
|
+
type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
|
|
5718
|
+
interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
|
|
5719
|
+
type: "union";
|
|
5720
|
+
options: Options;
|
|
5721
|
+
inclusive?: boolean;
|
|
5722
|
+
}
|
|
5723
|
+
type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
|
|
5724
|
+
type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
|
|
5725
|
+
interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {
|
|
5726
|
+
def: $ZodUnionDef<T>;
|
|
5727
|
+
isst: $ZodIssueInvalidUnion;
|
|
5728
|
+
pattern: T[number]["_zod"]["pattern"];
|
|
5729
|
+
values: T[number]["_zod"]["values"];
|
|
5730
|
+
output: $InferUnionOutput<T[number]>;
|
|
5731
|
+
input: $InferUnionInput<T[number]>;
|
|
5732
|
+
optin: IsOptionalIn<T[number]> extends false ? "optional" | undefined : "optional";
|
|
5733
|
+
optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
|
|
5734
|
+
}
|
|
5735
|
+
interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {
|
|
5736
|
+
_zod: $ZodUnionInternals<T>;
|
|
5737
|
+
}
|
|
5738
|
+
declare const $ZodUnion: $constructor<$ZodUnion>;
|
|
5739
|
+
interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5740
|
+
type: "intersection";
|
|
5741
|
+
left: Left;
|
|
5742
|
+
right: Right;
|
|
5743
|
+
}
|
|
5744
|
+
interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {
|
|
5745
|
+
def: $ZodIntersectionDef<A, B>;
|
|
5746
|
+
isst: never;
|
|
5747
|
+
optin: A["_zod"]["optin"] | B["_zod"]["optin"];
|
|
5748
|
+
optout: A["_zod"]["optout"] | B["_zod"]["optout"];
|
|
5749
|
+
output: output<A> & output<B>;
|
|
5750
|
+
input: input<A> & input<B>;
|
|
5751
|
+
}
|
|
5752
|
+
interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
|
|
5753
|
+
_zod: $ZodIntersectionInternals<A, B>;
|
|
5754
|
+
}
|
|
5755
|
+
declare const $ZodIntersection: $constructor<$ZodIntersection>;
|
|
5756
|
+
interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
|
|
5757
|
+
type: "tuple";
|
|
5758
|
+
items: T;
|
|
5759
|
+
rest: Rest;
|
|
5760
|
+
}
|
|
5761
|
+
type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input<Rest>[] : [])];
|
|
5762
|
+
type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]> };
|
|
5763
|
+
type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
|
|
5764
|
+
type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output<Rest>[] : [])];
|
|
5765
|
+
type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]> };
|
|
5766
|
+
type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
|
|
5767
|
+
interface $ZodTupleInternals<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
|
|
5768
|
+
def: $ZodTupleDef<T, Rest>;
|
|
5769
|
+
isst: $ZodIssueInvalidType | $ZodIssueTooBig<unknown[]> | $ZodIssueTooSmall<unknown[]>;
|
|
5770
|
+
output: $InferTupleOutputType<T, Rest>;
|
|
5771
|
+
input: $InferTupleInputType<T, Rest>;
|
|
5772
|
+
}
|
|
5773
|
+
interface $ZodTuple<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {
|
|
5774
|
+
_zod: $ZodTupleInternals<T, Rest>;
|
|
5775
|
+
}
|
|
5776
|
+
declare const $ZodTuple: $constructor<$ZodTuple>;
|
|
5777
|
+
type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;
|
|
5778
|
+
interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5779
|
+
type: "record";
|
|
5780
|
+
keyType: Key;
|
|
5781
|
+
valueType: Value;
|
|
5782
|
+
/** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
|
|
5783
|
+
mode?: "strict" | "loose";
|
|
5784
|
+
}
|
|
5785
|
+
type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output<Key>, output<Value>>> : Record<output<Key>, output<Value>>;
|
|
5786
|
+
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>>;
|
|
5787
|
+
interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
|
|
5788
|
+
def: $ZodRecordDef<Key, Value>;
|
|
5789
|
+
isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
|
|
5790
|
+
optin?: "optional" | undefined;
|
|
5791
|
+
optout?: "optional" | undefined;
|
|
5792
|
+
}
|
|
5793
|
+
type $partial = {
|
|
5794
|
+
"~~partial": true;
|
|
5795
|
+
};
|
|
5796
|
+
interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {
|
|
5797
|
+
_zod: $ZodRecordInternals<Key, Value>;
|
|
5798
|
+
}
|
|
5799
|
+
declare const $ZodRecord: $constructor<$ZodRecord>;
|
|
5800
|
+
interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5801
|
+
type: "map";
|
|
5802
|
+
keyType: Key;
|
|
5803
|
+
valueType: Value;
|
|
5804
|
+
}
|
|
5805
|
+
interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output<Key>, output<Value>>, Map<input<Key>, input<Value>>> {
|
|
5806
|
+
def: $ZodMapDef<Key, Value>;
|
|
5807
|
+
isst: $ZodIssueInvalidType | $ZodIssueInvalidKey | $ZodIssueInvalidElement<unknown>;
|
|
5808
|
+
optin?: "optional" | undefined;
|
|
5809
|
+
optout?: "optional" | undefined;
|
|
5810
|
+
}
|
|
5811
|
+
interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
|
|
5812
|
+
_zod: $ZodMapInternals<Key, Value>;
|
|
5813
|
+
}
|
|
5814
|
+
declare const $ZodMap: $constructor<$ZodMap>;
|
|
5815
|
+
interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5816
|
+
type: "set";
|
|
5817
|
+
valueType: T;
|
|
5818
|
+
}
|
|
5819
|
+
interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output<T>>, Set<input<T>>> {
|
|
5820
|
+
def: $ZodSetDef<T>;
|
|
5821
|
+
isst: $ZodIssueInvalidType;
|
|
5822
|
+
optin?: "optional" | undefined;
|
|
5823
|
+
optout?: "optional" | undefined;
|
|
5824
|
+
}
|
|
5825
|
+
interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
|
|
5826
|
+
_zod: $ZodSetInternals<T>;
|
|
5827
|
+
}
|
|
5828
|
+
declare const $ZodSet: $constructor<$ZodSet>;
|
|
5829
|
+
type $InferEnumOutput<T extends EnumLike> = T[keyof T] & {};
|
|
5830
|
+
type $InferEnumInput<T extends EnumLike> = T[keyof T] & {};
|
|
5831
|
+
interface $ZodEnumDef<T extends EnumLike = EnumLike> extends $ZodTypeDef {
|
|
5832
|
+
type: "enum";
|
|
5833
|
+
entries: T;
|
|
5834
|
+
}
|
|
5835
|
+
interface $ZodEnumInternals< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
|
|
5836
|
+
def: $ZodEnumDef<T>;
|
|
5837
|
+
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5838
|
+
values: PrimitiveSet;
|
|
5839
|
+
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5840
|
+
pattern: RegExp;
|
|
5841
|
+
isst: $ZodIssueInvalidValue;
|
|
5842
|
+
}
|
|
5843
|
+
interface $ZodEnum<T extends EnumLike = EnumLike> extends $ZodType {
|
|
5844
|
+
_zod: $ZodEnumInternals<T>;
|
|
5845
|
+
}
|
|
5846
|
+
declare const $ZodEnum: $constructor<$ZodEnum>;
|
|
5847
|
+
interface $ZodLiteralDef<T extends Literal> extends $ZodTypeDef {
|
|
5848
|
+
type: "literal";
|
|
5849
|
+
values: T[];
|
|
5850
|
+
}
|
|
5851
|
+
interface $ZodLiteralInternals<T extends Literal = Literal> extends $ZodTypeInternals<T, T> {
|
|
5852
|
+
def: $ZodLiteralDef<T>;
|
|
5853
|
+
values: Set<T>;
|
|
5854
|
+
pattern: RegExp;
|
|
5855
|
+
isst: $ZodIssueInvalidValue;
|
|
5856
|
+
}
|
|
5857
|
+
interface $ZodLiteral<T extends Literal = Literal> extends $ZodType {
|
|
5858
|
+
_zod: $ZodLiteralInternals<T>;
|
|
5859
|
+
}
|
|
5860
|
+
declare const $ZodLiteral: $constructor<$ZodLiteral>;
|
|
5861
|
+
type _File = typeof globalThis extends {
|
|
5862
|
+
File: infer F extends new (...args: any[]) => any;
|
|
5863
|
+
} ? InstanceType<F> : {};
|
|
5864
|
+
/** Do not reference this directly. */
|
|
5865
|
+
interface File$1 extends _File {
|
|
5866
|
+
readonly type: string;
|
|
5867
|
+
readonly size: number;
|
|
5868
|
+
}
|
|
5869
|
+
interface $ZodFileDef extends $ZodTypeDef {
|
|
5870
|
+
type: "file";
|
|
5871
|
+
}
|
|
5872
|
+
interface $ZodFileInternals extends $ZodTypeInternals<File$1, File$1> {
|
|
5873
|
+
def: $ZodFileDef;
|
|
5874
|
+
isst: $ZodIssueInvalidType;
|
|
5875
|
+
bag: LoosePartial<{
|
|
5876
|
+
minimum: number;
|
|
5877
|
+
maximum: number;
|
|
5878
|
+
mime: MimeTypes[];
|
|
5879
|
+
}>;
|
|
5880
|
+
}
|
|
5881
|
+
interface $ZodFile extends $ZodType {
|
|
5882
|
+
_zod: $ZodFileInternals;
|
|
5883
|
+
}
|
|
5884
|
+
declare const $ZodFile: $constructor<$ZodFile>;
|
|
5885
|
+
interface $ZodTransformDef extends $ZodTypeDef {
|
|
5886
|
+
type: "transform";
|
|
5887
|
+
transform: (input: unknown, payload: ParsePayload<unknown>) => MaybeAsync<unknown>;
|
|
5888
|
+
}
|
|
5889
|
+
interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
|
|
5890
|
+
def: $ZodTransformDef;
|
|
5891
|
+
isst: never;
|
|
5892
|
+
}
|
|
5893
|
+
interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
|
|
5894
|
+
_zod: $ZodTransformInternals<O, I>;
|
|
5895
|
+
}
|
|
5896
|
+
declare const $ZodTransform: $constructor<$ZodTransform>;
|
|
5897
|
+
interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5898
|
+
type: "optional";
|
|
5899
|
+
innerType: T;
|
|
5900
|
+
}
|
|
5901
|
+
interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | undefined, input<T> | undefined> {
|
|
5902
|
+
def: $ZodOptionalDef<T>;
|
|
5903
|
+
optin: "optional";
|
|
5904
|
+
optout: "optional";
|
|
5905
|
+
isst: never;
|
|
5906
|
+
values: T["_zod"]["values"];
|
|
5907
|
+
pattern: T["_zod"]["pattern"];
|
|
5908
|
+
}
|
|
5909
|
+
interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
|
|
5910
|
+
_zod: $ZodOptionalInternals<T>;
|
|
5911
|
+
}
|
|
5912
|
+
declare const $ZodOptional: $constructor<$ZodOptional>;
|
|
5913
|
+
interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {}
|
|
5914
|
+
interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
|
|
5915
|
+
def: $ZodExactOptionalDef<T>;
|
|
5916
|
+
output: output<T>;
|
|
5917
|
+
input: input<T>;
|
|
5918
|
+
}
|
|
5919
|
+
interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
|
|
5920
|
+
_zod: $ZodExactOptionalInternals<T>;
|
|
5921
|
+
}
|
|
5922
|
+
declare const $ZodExactOptional: $constructor<$ZodExactOptional>;
|
|
5923
|
+
interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5924
|
+
type: "nullable";
|
|
5925
|
+
innerType: T;
|
|
5926
|
+
}
|
|
5927
|
+
interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | null, input<T> | null> {
|
|
5928
|
+
def: $ZodNullableDef<T>;
|
|
5929
|
+
optin: T["_zod"]["optin"];
|
|
5930
|
+
optout: T["_zod"]["optout"];
|
|
5931
|
+
isst: never;
|
|
5932
|
+
values: T["_zod"]["values"];
|
|
5933
|
+
pattern: T["_zod"]["pattern"];
|
|
5934
|
+
}
|
|
5935
|
+
interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
|
|
5936
|
+
_zod: $ZodNullableInternals<T>;
|
|
5937
|
+
}
|
|
5938
|
+
declare const $ZodNullable: $constructor<$ZodNullable>;
|
|
5939
|
+
interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5940
|
+
type: "default";
|
|
5941
|
+
innerType: T;
|
|
5942
|
+
/** The default value. May be a getter. */
|
|
5943
|
+
defaultValue: NoUndefined<output<T>>;
|
|
5944
|
+
}
|
|
5945
|
+
interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
|
|
5946
|
+
def: $ZodDefaultDef<T>;
|
|
5947
|
+
optin: "optional";
|
|
5948
|
+
optout?: "optional" | undefined;
|
|
5949
|
+
isst: never;
|
|
5950
|
+
values: T["_zod"]["values"];
|
|
5951
|
+
}
|
|
5952
|
+
interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
|
|
5953
|
+
_zod: $ZodDefaultInternals<T>;
|
|
5954
|
+
}
|
|
5955
|
+
declare const $ZodDefault: $constructor<$ZodDefault>;
|
|
5956
|
+
interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5957
|
+
type: "prefault";
|
|
5958
|
+
innerType: T;
|
|
5959
|
+
/** The default value. May be a getter. */
|
|
5960
|
+
defaultValue: input<T>;
|
|
5961
|
+
}
|
|
5962
|
+
interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
|
|
5963
|
+
def: $ZodPrefaultDef<T>;
|
|
5964
|
+
optin: "optional";
|
|
5965
|
+
optout?: "optional" | undefined;
|
|
5966
|
+
isst: never;
|
|
5967
|
+
values: T["_zod"]["values"];
|
|
5968
|
+
}
|
|
5969
|
+
interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
|
|
5970
|
+
_zod: $ZodPrefaultInternals<T>;
|
|
5971
|
+
}
|
|
5972
|
+
declare const $ZodPrefault: $constructor<$ZodPrefault>;
|
|
5973
|
+
interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5974
|
+
type: "nonoptional";
|
|
5975
|
+
innerType: T;
|
|
5976
|
+
}
|
|
5977
|
+
interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, NoUndefined<input<T>>> {
|
|
5978
|
+
def: $ZodNonOptionalDef<T>;
|
|
5979
|
+
isst: $ZodIssueInvalidType;
|
|
5980
|
+
values: T["_zod"]["values"];
|
|
5981
|
+
optin: "optional" | undefined;
|
|
5982
|
+
optout: "optional" | undefined;
|
|
5983
|
+
}
|
|
5984
|
+
interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
|
|
5985
|
+
_zod: $ZodNonOptionalInternals<T>;
|
|
5986
|
+
}
|
|
5987
|
+
declare const $ZodNonOptional: $constructor<$ZodNonOptional>;
|
|
5988
|
+
interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5989
|
+
type: "success";
|
|
5990
|
+
innerType: T;
|
|
5991
|
+
}
|
|
5992
|
+
interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input<T>> {
|
|
5993
|
+
def: $ZodSuccessDef<T>;
|
|
5994
|
+
isst: never;
|
|
5995
|
+
optin: T["_zod"]["optin"];
|
|
5996
|
+
optout: "optional" | undefined;
|
|
5997
|
+
}
|
|
5998
|
+
interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
|
|
5999
|
+
_zod: $ZodSuccessInternals<T>;
|
|
6000
|
+
}
|
|
6001
|
+
declare const $ZodSuccess: $constructor<$ZodSuccess>;
|
|
6002
|
+
interface $ZodCatchCtx extends ParsePayload {
|
|
6003
|
+
/** @deprecated Use `ctx.issues` */
|
|
6004
|
+
error: {
|
|
6005
|
+
issues: $ZodIssue[];
|
|
6006
|
+
};
|
|
6007
|
+
/** @deprecated Use `ctx.value` */
|
|
6008
|
+
input: unknown;
|
|
6009
|
+
}
|
|
6010
|
+
interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6011
|
+
type: "catch";
|
|
6012
|
+
innerType: T;
|
|
6013
|
+
catchValue: (ctx: $ZodCatchCtx) => unknown;
|
|
6014
|
+
}
|
|
6015
|
+
interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
|
|
6016
|
+
def: $ZodCatchDef<T>;
|
|
6017
|
+
optin: T["_zod"]["optin"];
|
|
6018
|
+
optout: T["_zod"]["optout"];
|
|
6019
|
+
isst: never;
|
|
6020
|
+
values: T["_zod"]["values"];
|
|
6021
|
+
}
|
|
6022
|
+
interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
|
|
6023
|
+
_zod: $ZodCatchInternals<T>;
|
|
6024
|
+
}
|
|
6025
|
+
declare const $ZodCatch: $constructor<$ZodCatch>;
|
|
6026
|
+
interface $ZodNaNDef extends $ZodTypeDef {
|
|
6027
|
+
type: "nan";
|
|
6028
|
+
}
|
|
6029
|
+
interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
|
|
6030
|
+
def: $ZodNaNDef;
|
|
6031
|
+
isst: $ZodIssueInvalidType;
|
|
6032
|
+
}
|
|
6033
|
+
interface $ZodNaN extends $ZodType {
|
|
6034
|
+
_zod: $ZodNaNInternals;
|
|
6035
|
+
}
|
|
6036
|
+
declare const $ZodNaN: $constructor<$ZodNaN>;
|
|
6037
|
+
interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6038
|
+
type: "pipe";
|
|
6039
|
+
in: A;
|
|
6040
|
+
out: B;
|
|
6041
|
+
/** Only defined inside $ZodCodec instances. */
|
|
6042
|
+
transform?: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
|
|
6043
|
+
/** Only defined inside $ZodCodec instances. */
|
|
6044
|
+
reverseTransform?: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
|
|
6045
|
+
}
|
|
6046
|
+
interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
|
|
6047
|
+
def: $ZodPipeDef<A, B>;
|
|
6048
|
+
isst: never;
|
|
6049
|
+
values: A["_zod"]["values"];
|
|
6050
|
+
optin: A["_zod"]["optin"];
|
|
6051
|
+
optout: B["_zod"]["optout"];
|
|
6052
|
+
propValues: A["_zod"]["propValues"];
|
|
6053
|
+
}
|
|
6054
|
+
interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
|
|
6055
|
+
_zod: $ZodPipeInternals<A, B>;
|
|
6056
|
+
}
|
|
6057
|
+
declare const $ZodPipe: $constructor<$ZodPipe>;
|
|
6058
|
+
interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6059
|
+
type: "readonly";
|
|
6060
|
+
innerType: T;
|
|
6061
|
+
}
|
|
6062
|
+
interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<MakeReadonly<output<T>>, MakeReadonly<input<T>>> {
|
|
6063
|
+
def: $ZodReadonlyDef<T>;
|
|
6064
|
+
optin: T["_zod"]["optin"];
|
|
6065
|
+
optout: T["_zod"]["optout"];
|
|
6066
|
+
isst: never;
|
|
6067
|
+
propValues: T["_zod"]["propValues"];
|
|
6068
|
+
values: T["_zod"]["values"];
|
|
6069
|
+
}
|
|
6070
|
+
interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
|
|
6071
|
+
_zod: $ZodReadonlyInternals<T>;
|
|
6072
|
+
}
|
|
6073
|
+
declare const $ZodReadonly: $constructor<$ZodReadonly>;
|
|
6074
|
+
interface $ZodTemplateLiteralDef extends $ZodTypeDef {
|
|
6075
|
+
type: "template_literal";
|
|
6076
|
+
parts: $ZodTemplateLiteralPart[];
|
|
6077
|
+
format?: string | undefined;
|
|
6078
|
+
}
|
|
6079
|
+
interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {
|
|
6080
|
+
pattern: RegExp;
|
|
6081
|
+
def: $ZodTemplateLiteralDef;
|
|
6082
|
+
isst: $ZodIssueInvalidType;
|
|
6083
|
+
}
|
|
6084
|
+
interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
|
|
6085
|
+
_zod: $ZodTemplateLiteralInternals<Template>;
|
|
6086
|
+
}
|
|
6087
|
+
type LiteralPart = Exclude<Literal, symbol>;
|
|
6088
|
+
interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
|
|
6089
|
+
pattern: RegExp;
|
|
6090
|
+
}
|
|
6091
|
+
interface SchemaPart extends $ZodType {
|
|
6092
|
+
_zod: SchemaPartInternals;
|
|
6093
|
+
}
|
|
6094
|
+
type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
|
|
6095
|
+
declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
|
|
6096
|
+
type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
|
|
6097
|
+
type $ZodFunctionIn = $ZodFunctionArgs;
|
|
6098
|
+
type $ZodFunctionOut = $ZodType;
|
|
6099
|
+
type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => input<Returns>;
|
|
6100
|
+
type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => MaybeAsync<input<Returns>>;
|
|
6101
|
+
type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => output<Returns>;
|
|
6102
|
+
type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => Promise<output<Returns>>;
|
|
6103
|
+
interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
|
|
6104
|
+
type: "function";
|
|
6105
|
+
input: In;
|
|
6106
|
+
output: Out;
|
|
6107
|
+
}
|
|
6108
|
+
interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
|
|
6109
|
+
def: $ZodFunctionDef<Args, Returns>;
|
|
6110
|
+
isst: $ZodIssueInvalidType;
|
|
6111
|
+
}
|
|
6112
|
+
interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
|
|
6113
|
+
/** @deprecated */
|
|
6114
|
+
_def: $ZodFunctionDef<Args, Returns>;
|
|
6115
|
+
_input: $InferInnerFunctionType<Args, Returns>;
|
|
6116
|
+
_output: $InferOuterFunctionType<Args, Returns>;
|
|
6117
|
+
implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this["_output"]>) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
|
|
6118
|
+
implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
|
|
6119
|
+
input<const Items extends TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
|
|
6120
|
+
input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
|
|
6121
|
+
input(...args: any[]): $ZodFunction<any, Returns>;
|
|
6122
|
+
output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
|
|
6123
|
+
}
|
|
6124
|
+
declare const $ZodFunction: $constructor<$ZodFunction>;
|
|
6125
|
+
interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6126
|
+
type: "promise";
|
|
6127
|
+
innerType: T;
|
|
6128
|
+
}
|
|
6129
|
+
interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output<T>>, MaybeAsync<input<T>>> {
|
|
6130
|
+
def: $ZodPromiseDef<T>;
|
|
6131
|
+
isst: never;
|
|
6132
|
+
}
|
|
6133
|
+
interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
|
|
6134
|
+
_zod: $ZodPromiseInternals<T>;
|
|
6135
|
+
}
|
|
6136
|
+
declare const $ZodPromise: $constructor<$ZodPromise>;
|
|
6137
|
+
interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6138
|
+
type: "lazy";
|
|
6139
|
+
getter: () => T;
|
|
6140
|
+
}
|
|
6141
|
+
interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
|
|
6142
|
+
def: $ZodLazyDef<T>;
|
|
6143
|
+
isst: never;
|
|
6144
|
+
/** Auto-cached way to retrieve the inner schema */
|
|
6145
|
+
innerType: T;
|
|
6146
|
+
pattern: T["_zod"]["pattern"];
|
|
6147
|
+
propValues: T["_zod"]["propValues"];
|
|
6148
|
+
optin: T["_zod"]["optin"];
|
|
6149
|
+
optout: T["_zod"]["optout"];
|
|
6150
|
+
}
|
|
6151
|
+
interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
|
|
6152
|
+
_zod: $ZodLazyInternals<T>;
|
|
6153
|
+
}
|
|
6154
|
+
declare const $ZodLazy: $constructor<$ZodLazy>;
|
|
6155
|
+
interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, $ZodCheckDef {
|
|
6156
|
+
type: "custom";
|
|
6157
|
+
check: "custom";
|
|
6158
|
+
path?: PropertyKey[] | undefined;
|
|
6159
|
+
error?: $ZodErrorMap | undefined;
|
|
6160
|
+
params?: Record<string, any> | undefined;
|
|
6161
|
+
fn: (arg: O) => unknown;
|
|
6162
|
+
}
|
|
6163
|
+
interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, $ZodCheckInternals<O> {
|
|
6164
|
+
def: $ZodCustomDef;
|
|
6165
|
+
issc: $ZodIssue;
|
|
6166
|
+
isst: never;
|
|
6167
|
+
bag: LoosePartial<{
|
|
6168
|
+
Class: typeof Class;
|
|
6169
|
+
}>;
|
|
6170
|
+
}
|
|
6171
|
+
interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
|
|
6172
|
+
_zod: $ZodCustomInternals<O, I>;
|
|
6173
|
+
}
|
|
6174
|
+
declare const $ZodCustom: $constructor<$ZodCustom>;
|
|
6175
|
+
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;
|
|
6176
|
+
//#endregion
|
|
6177
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts
|
|
6178
|
+
interface $ZodCheckDef {
|
|
6179
|
+
check: string;
|
|
6180
|
+
error?: $ZodErrorMap<never> | undefined;
|
|
6181
|
+
/** If true, no later checks will be executed if this check fails. Default `false`. */
|
|
6182
|
+
abort?: boolean | undefined;
|
|
6183
|
+
/** If provided, this check will only be executed if the function returns `true`. Defaults to `payload => z.util.isAborted(payload)`. */
|
|
6184
|
+
when?: ((payload: ParsePayload) => boolean) | undefined;
|
|
6185
|
+
}
|
|
6186
|
+
interface $ZodCheckInternals<T> {
|
|
6187
|
+
def: $ZodCheckDef;
|
|
6188
|
+
/** The set of issues this check might throw. */
|
|
6189
|
+
issc?: $ZodIssueBase;
|
|
6190
|
+
check(payload: ParsePayload<T>): MaybeAsync<void>;
|
|
6191
|
+
onattach: ((schema: $ZodType) => void)[];
|
|
6192
|
+
}
|
|
6193
|
+
interface $ZodCheck<in T = never> {
|
|
6194
|
+
_zod: $ZodCheckInternals<T>;
|
|
6195
|
+
}
|
|
6196
|
+
declare const $ZodCheck: $constructor<$ZodCheck<any>>;
|
|
6197
|
+
interface $ZodCheckLessThanDef extends $ZodCheckDef {
|
|
6198
|
+
check: "less_than";
|
|
6199
|
+
value: Numeric;
|
|
6200
|
+
inclusive: boolean;
|
|
6201
|
+
}
|
|
6202
|
+
interface $ZodCheckLessThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
|
|
6203
|
+
def: $ZodCheckLessThanDef;
|
|
6204
|
+
issc: $ZodIssueTooBig<T>;
|
|
6205
|
+
}
|
|
6206
|
+
interface $ZodCheckLessThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
|
|
6207
|
+
_zod: $ZodCheckLessThanInternals<T>;
|
|
6208
|
+
}
|
|
6209
|
+
declare const $ZodCheckLessThan: $constructor<$ZodCheckLessThan>;
|
|
6210
|
+
interface $ZodCheckGreaterThanDef extends $ZodCheckDef {
|
|
6211
|
+
check: "greater_than";
|
|
6212
|
+
value: Numeric;
|
|
6213
|
+
inclusive: boolean;
|
|
6214
|
+
}
|
|
6215
|
+
interface $ZodCheckGreaterThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
|
|
6216
|
+
def: $ZodCheckGreaterThanDef;
|
|
6217
|
+
issc: $ZodIssueTooSmall<T>;
|
|
6218
|
+
}
|
|
6219
|
+
interface $ZodCheckGreaterThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
|
|
6220
|
+
_zod: $ZodCheckGreaterThanInternals<T>;
|
|
6221
|
+
}
|
|
6222
|
+
declare const $ZodCheckGreaterThan: $constructor<$ZodCheckGreaterThan>;
|
|
6223
|
+
interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {
|
|
6224
|
+
check: "multiple_of";
|
|
6225
|
+
value: T;
|
|
6226
|
+
}
|
|
6227
|
+
interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {
|
|
6228
|
+
def: $ZodCheckMultipleOfDef<T>;
|
|
6229
|
+
issc: $ZodIssueNotMultipleOf;
|
|
6230
|
+
}
|
|
6231
|
+
interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {
|
|
6232
|
+
_zod: $ZodCheckMultipleOfInternals<T>;
|
|
6233
|
+
}
|
|
6234
|
+
declare const $ZodCheckMultipleOf: $constructor<$ZodCheckMultipleOf<number | bigint>>;
|
|
6235
|
+
type $ZodNumberFormats = "int32" | "uint32" | "float32" | "float64" | "safeint";
|
|
6236
|
+
interface $ZodCheckNumberFormatDef extends $ZodCheckDef {
|
|
6237
|
+
check: "number_format";
|
|
6238
|
+
format: $ZodNumberFormats;
|
|
6239
|
+
}
|
|
6240
|
+
interface $ZodCheckNumberFormatInternals extends $ZodCheckInternals<number> {
|
|
6241
|
+
def: $ZodCheckNumberFormatDef;
|
|
6242
|
+
issc: $ZodIssueInvalidType | $ZodIssueTooBig<"number"> | $ZodIssueTooSmall<"number">;
|
|
6243
|
+
}
|
|
6244
|
+
interface $ZodCheckNumberFormat extends $ZodCheck<number> {
|
|
6245
|
+
_zod: $ZodCheckNumberFormatInternals;
|
|
6246
|
+
}
|
|
6247
|
+
declare const $ZodCheckNumberFormat: $constructor<$ZodCheckNumberFormat>;
|
|
6248
|
+
interface $ZodCheckMaxLengthDef extends $ZodCheckDef {
|
|
6249
|
+
check: "max_length";
|
|
6250
|
+
maximum: number;
|
|
6251
|
+
}
|
|
6252
|
+
interface $ZodCheckMaxLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
6253
|
+
def: $ZodCheckMaxLengthDef;
|
|
6254
|
+
issc: $ZodIssueTooBig<T>;
|
|
6255
|
+
}
|
|
6256
|
+
interface $ZodCheckMaxLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
6257
|
+
_zod: $ZodCheckMaxLengthInternals<T>;
|
|
6258
|
+
}
|
|
6259
|
+
declare const $ZodCheckMaxLength: $constructor<$ZodCheckMaxLength>;
|
|
6260
|
+
interface $ZodCheckMinLengthDef extends $ZodCheckDef {
|
|
6261
|
+
check: "min_length";
|
|
6262
|
+
minimum: number;
|
|
6263
|
+
}
|
|
6264
|
+
interface $ZodCheckMinLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
6265
|
+
def: $ZodCheckMinLengthDef;
|
|
6266
|
+
issc: $ZodIssueTooSmall<T>;
|
|
6267
|
+
}
|
|
6268
|
+
interface $ZodCheckMinLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
6269
|
+
_zod: $ZodCheckMinLengthInternals<T>;
|
|
6270
|
+
}
|
|
6271
|
+
declare const $ZodCheckMinLength: $constructor<$ZodCheckMinLength>;
|
|
6272
|
+
interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {
|
|
6273
|
+
check: "length_equals";
|
|
6274
|
+
length: number;
|
|
6275
|
+
}
|
|
6276
|
+
interface $ZodCheckLengthEqualsInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
6277
|
+
def: $ZodCheckLengthEqualsDef;
|
|
6278
|
+
issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
|
|
6279
|
+
}
|
|
6280
|
+
interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
6281
|
+
_zod: $ZodCheckLengthEqualsInternals<T>;
|
|
6282
|
+
}
|
|
6283
|
+
declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
|
|
6284
|
+
type $ZodStringFormats = "email" | "url" | "emoji" | "uuid" | "guid" | "nanoid" | "cuid" | "cuid2" | "ulid" | "xid" | "ksuid" | "datetime" | "date" | "time" | "duration" | "ipv4" | "ipv6" | "cidrv4" | "cidrv6" | "base64" | "base64url" | "json_string" | "e164" | "lowercase" | "uppercase" | "regex" | "jwt" | "starts_with" | "ends_with" | "includes";
|
|
6285
|
+
interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {
|
|
6286
|
+
check: "string_format";
|
|
6287
|
+
format: Format;
|
|
6288
|
+
pattern?: RegExp | undefined;
|
|
6289
|
+
}
|
|
6290
|
+
interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {
|
|
6291
|
+
def: $ZodCheckStringFormatDef;
|
|
6292
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6293
|
+
}
|
|
6294
|
+
interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {
|
|
6295
|
+
format: "regex";
|
|
6296
|
+
pattern: RegExp;
|
|
6297
|
+
}
|
|
6298
|
+
interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {
|
|
6299
|
+
def: $ZodCheckRegexDef;
|
|
6300
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6301
|
+
}
|
|
6302
|
+
interface $ZodCheckRegex extends $ZodCheck<string> {
|
|
6303
|
+
_zod: $ZodCheckRegexInternals;
|
|
6304
|
+
}
|
|
6305
|
+
declare const $ZodCheckRegex: $constructor<$ZodCheckRegex>;
|
|
6306
|
+
interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<"lowercase"> {}
|
|
6307
|
+
interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {
|
|
6308
|
+
def: $ZodCheckLowerCaseDef;
|
|
6309
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6310
|
+
}
|
|
6311
|
+
interface $ZodCheckLowerCase extends $ZodCheck<string> {
|
|
6312
|
+
_zod: $ZodCheckLowerCaseInternals;
|
|
6313
|
+
}
|
|
6314
|
+
declare const $ZodCheckLowerCase: $constructor<$ZodCheckLowerCase>;
|
|
6315
|
+
interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<"uppercase"> {}
|
|
6316
|
+
interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {
|
|
6317
|
+
def: $ZodCheckUpperCaseDef;
|
|
6318
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6319
|
+
}
|
|
6320
|
+
interface $ZodCheckUpperCase extends $ZodCheck<string> {
|
|
6321
|
+
_zod: $ZodCheckUpperCaseInternals;
|
|
6322
|
+
}
|
|
6323
|
+
declare const $ZodCheckUpperCase: $constructor<$ZodCheckUpperCase>;
|
|
6324
|
+
interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<"includes"> {
|
|
6325
|
+
includes: string;
|
|
6326
|
+
position?: number | undefined;
|
|
6327
|
+
}
|
|
6328
|
+
interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {
|
|
6329
|
+
def: $ZodCheckIncludesDef;
|
|
6330
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6331
|
+
}
|
|
6332
|
+
interface $ZodCheckIncludes extends $ZodCheck<string> {
|
|
6333
|
+
_zod: $ZodCheckIncludesInternals;
|
|
6334
|
+
}
|
|
6335
|
+
declare const $ZodCheckIncludes: $constructor<$ZodCheckIncludes>;
|
|
6336
|
+
interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<"starts_with"> {
|
|
6337
|
+
prefix: string;
|
|
6338
|
+
}
|
|
6339
|
+
interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {
|
|
6340
|
+
def: $ZodCheckStartsWithDef;
|
|
6341
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6342
|
+
}
|
|
6343
|
+
interface $ZodCheckStartsWith extends $ZodCheck<string> {
|
|
6344
|
+
_zod: $ZodCheckStartsWithInternals;
|
|
6345
|
+
}
|
|
6346
|
+
declare const $ZodCheckStartsWith: $constructor<$ZodCheckStartsWith>;
|
|
6347
|
+
interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<"ends_with"> {
|
|
6348
|
+
suffix: string;
|
|
6349
|
+
}
|
|
6350
|
+
interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {
|
|
6351
|
+
def: $ZodCheckEndsWithDef;
|
|
6352
|
+
issc: $ZodIssueInvalidStringFormat;
|
|
6353
|
+
}
|
|
6354
|
+
interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {
|
|
6355
|
+
_zod: $ZodCheckEndsWithInternals;
|
|
6356
|
+
}
|
|
6357
|
+
declare const $ZodCheckEndsWith: $constructor<$ZodCheckEndsWith>;
|
|
6358
|
+
//#endregion
|
|
6359
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts
|
|
6360
|
+
interface $ZodIssueBase {
|
|
6361
|
+
readonly code?: string;
|
|
6362
|
+
readonly input?: unknown;
|
|
6363
|
+
readonly path: PropertyKey[];
|
|
6364
|
+
readonly message: string;
|
|
6365
|
+
}
|
|
6366
|
+
type $ZodInvalidTypeExpected = "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "undefined" | "null" | "never" | "void" | "date" | "array" | "object" | "tuple" | "record" | "map" | "set" | "file" | "nonoptional" | "nan" | "function" | (string & {});
|
|
6367
|
+
interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
|
|
6368
|
+
readonly code: "invalid_type";
|
|
6369
|
+
readonly expected: $ZodInvalidTypeExpected;
|
|
6370
|
+
readonly input?: Input;
|
|
6371
|
+
}
|
|
6372
|
+
interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
|
|
6373
|
+
readonly code: "too_big";
|
|
6374
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
6375
|
+
readonly maximum: number | bigint;
|
|
6376
|
+
readonly inclusive?: boolean;
|
|
6377
|
+
readonly exact?: boolean;
|
|
6378
|
+
readonly input?: Input;
|
|
6379
|
+
}
|
|
6380
|
+
interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
|
|
6381
|
+
readonly code: "too_small";
|
|
6382
|
+
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
6383
|
+
readonly minimum: number | bigint;
|
|
6384
|
+
/** True if the allowable range includes the minimum */
|
|
6385
|
+
readonly inclusive?: boolean;
|
|
6386
|
+
/** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */
|
|
6387
|
+
readonly exact?: boolean;
|
|
6388
|
+
readonly input?: Input;
|
|
6389
|
+
}
|
|
6390
|
+
interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {
|
|
6391
|
+
readonly code: "invalid_format";
|
|
6392
|
+
readonly format: $ZodStringFormats | (string & {});
|
|
6393
|
+
readonly pattern?: string;
|
|
6394
|
+
readonly input?: string;
|
|
6395
|
+
}
|
|
6396
|
+
interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {
|
|
6397
|
+
readonly code: "not_multiple_of";
|
|
6398
|
+
readonly divisor: number;
|
|
6399
|
+
readonly input?: Input;
|
|
6400
|
+
}
|
|
6401
|
+
interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
|
|
6402
|
+
readonly code: "unrecognized_keys";
|
|
6403
|
+
readonly keys: string[];
|
|
6404
|
+
readonly input?: Record<string, unknown>;
|
|
6405
|
+
}
|
|
6406
|
+
interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
|
|
6407
|
+
readonly code: "invalid_union";
|
|
6408
|
+
readonly errors: $ZodIssue[][];
|
|
6409
|
+
readonly input?: unknown;
|
|
6410
|
+
readonly discriminator?: string | undefined;
|
|
6411
|
+
readonly inclusive?: true;
|
|
6412
|
+
}
|
|
6413
|
+
interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
|
|
6414
|
+
readonly code: "invalid_union";
|
|
6415
|
+
readonly errors: [];
|
|
6416
|
+
readonly input?: unknown;
|
|
6417
|
+
readonly discriminator?: string | undefined;
|
|
6418
|
+
readonly inclusive: false;
|
|
6419
|
+
}
|
|
6420
|
+
type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
|
|
6421
|
+
interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
|
|
6422
|
+
readonly code: "invalid_key";
|
|
6423
|
+
readonly origin: "map" | "record";
|
|
6424
|
+
readonly issues: $ZodIssue[];
|
|
6425
|
+
readonly input?: Input;
|
|
6426
|
+
}
|
|
6427
|
+
interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {
|
|
6428
|
+
readonly code: "invalid_element";
|
|
6429
|
+
readonly origin: "map" | "set";
|
|
6430
|
+
readonly key: unknown;
|
|
6431
|
+
readonly issues: $ZodIssue[];
|
|
6432
|
+
readonly input?: Input;
|
|
6433
|
+
}
|
|
6434
|
+
interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {
|
|
6435
|
+
readonly code: "invalid_value";
|
|
6436
|
+
readonly values: Primitive[];
|
|
6437
|
+
readonly input?: Input;
|
|
6438
|
+
}
|
|
6439
|
+
interface $ZodIssueCustom extends $ZodIssueBase {
|
|
6440
|
+
readonly code: "custom";
|
|
6441
|
+
readonly params?: Record<string, any> | undefined;
|
|
6442
|
+
readonly input?: unknown;
|
|
6443
|
+
}
|
|
6444
|
+
type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
|
|
6445
|
+
type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
|
|
6446
|
+
type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
6447
|
+
/** The input data */readonly input: unknown; /** The schema or check that originated this issue. */
|
|
6448
|
+
readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will continue executing checks/refinements after this issue. */
|
|
6449
|
+
readonly continue?: boolean | undefined;
|
|
6450
|
+
} & Record<string, unknown>> : never;
|
|
6451
|
+
type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
|
|
6452
|
+
interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {
|
|
6453
|
+
(issue: $ZodRawIssue<T>): {
|
|
6454
|
+
message: string;
|
|
6455
|
+
} | string | undefined | null;
|
|
6456
|
+
}
|
|
6457
|
+
interface $ZodError<T = unknown> extends Error {
|
|
6458
|
+
type: T;
|
|
6459
|
+
issues: $ZodIssue[];
|
|
6460
|
+
_zod: {
|
|
6461
|
+
output: T;
|
|
6462
|
+
def: $ZodIssue[];
|
|
6463
|
+
};
|
|
6464
|
+
stack?: string;
|
|
6465
|
+
name: string;
|
|
6466
|
+
}
|
|
6467
|
+
declare const $ZodError: $constructor<$ZodError>;
|
|
6468
|
+
type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
|
|
6469
|
+
type _FlattenedError<T, U = string> = {
|
|
6470
|
+
formErrors: U[];
|
|
6471
|
+
fieldErrors: { [P in keyof T]?: U[] };
|
|
6472
|
+
};
|
|
6473
|
+
type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U> } : T extends any[] ? {
|
|
6474
|
+
[k: number]: $ZodFormattedError<T[number], U>;
|
|
6475
|
+
} : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U> }> : any;
|
|
6476
|
+
type $ZodFormattedError<T, U = string> = {
|
|
6477
|
+
_errors: U[];
|
|
6478
|
+
} & Flatten<_ZodFormattedError<T, U>>;
|
|
6479
|
+
//#endregion
|
|
6480
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts
|
|
6481
|
+
type ZodTrait = {
|
|
6482
|
+
_zod: {
|
|
6483
|
+
def: any;
|
|
6484
|
+
[k: string]: any;
|
|
6485
|
+
};
|
|
6486
|
+
};
|
|
6487
|
+
interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
|
|
6488
|
+
new (def: D): T;
|
|
6489
|
+
init(inst: T, def: D): asserts inst is T;
|
|
6490
|
+
}
|
|
6491
|
+
declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void, params?: {
|
|
6492
|
+
Parent?: typeof Class;
|
|
6493
|
+
}): $constructor<T, D>;
|
|
6494
|
+
declare const $brand: unique symbol;
|
|
6495
|
+
type $brand<T extends string | number | symbol = string | number | symbol> = {
|
|
6496
|
+
[$brand]: { [k in T]: true };
|
|
6497
|
+
};
|
|
6498
|
+
type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
|
|
6499
|
+
_zod: {
|
|
6500
|
+
input: input<T> & $brand<Brand>;
|
|
6501
|
+
output: output<T> & $brand<Brand>;
|
|
6502
|
+
};
|
|
6503
|
+
} : Dir extends "in" ? {
|
|
6504
|
+
_zod: {
|
|
6505
|
+
input: input<T> & $brand<Brand>;
|
|
6506
|
+
};
|
|
6507
|
+
} : {
|
|
6508
|
+
_zod: {
|
|
6509
|
+
output: output<T> & $brand<Brand>;
|
|
6510
|
+
};
|
|
6511
|
+
});
|
|
6512
|
+
type input<T> = T extends {
|
|
6513
|
+
_zod: {
|
|
6514
|
+
input: any;
|
|
6515
|
+
};
|
|
6516
|
+
} ? T["_zod"]["input"] : unknown;
|
|
6517
|
+
type output<T> = T extends {
|
|
6518
|
+
_zod: {
|
|
6519
|
+
output: any;
|
|
6520
|
+
};
|
|
6521
|
+
} ? T["_zod"]["output"] : unknown;
|
|
6522
|
+
//#endregion
|
|
6523
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.d.cts
|
|
6524
|
+
type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
|
|
6525
|
+
error?: string | $ZodErrorMap<IssueTypes> | undefined; /** @deprecated This parameter is deprecated. Use `error` instead. */
|
|
6526
|
+
message?: string | undefined;
|
|
6527
|
+
})>>>;
|
|
6528
|
+
type TypeParams<T extends $ZodType = $ZodType & {
|
|
6529
|
+
_isst: never;
|
|
6530
|
+
}, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
|
|
6531
|
+
type CheckParams<T extends $ZodCheck = $ZodCheck, // & { _issc: never },
|
|
6532
|
+
AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
|
|
6533
|
+
type CheckStringFormatParams<T extends $ZodStringFormat = $ZodStringFormat, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
|
|
6534
|
+
type CheckTypeParams<T extends $ZodType & $ZodCheck = $ZodType & $ZodCheck, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
|
|
6535
|
+
type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
|
|
6536
|
+
type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern" | "when">;
|
|
6537
|
+
type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
|
|
6538
|
+
type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL, "when">;
|
|
6539
|
+
type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
|
|
6540
|
+
type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when">;
|
|
6541
|
+
type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
|
|
6542
|
+
type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
|
|
6543
|
+
type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID, "when">;
|
|
6544
|
+
type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID, "when">;
|
|
6545
|
+
type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID, "when">;
|
|
6546
|
+
type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
|
|
6547
|
+
type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
|
|
6548
|
+
type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern" | "when">;
|
|
6549
|
+
type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern" | "when">;
|
|
6550
|
+
type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern" | "when">;
|
|
6551
|
+
type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern" | "when">;
|
|
6552
|
+
type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
|
|
6553
|
+
type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
|
|
6554
|
+
type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern" | "when">;
|
|
6555
|
+
type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern" | "when">;
|
|
6556
|
+
type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern" | "when">;
|
|
6557
|
+
type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
|
|
6558
|
+
type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
|
|
6559
|
+
type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value" | "when">;
|
|
6560
|
+
type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
|
|
6561
|
+
type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value" | "when">;
|
|
6562
|
+
type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
|
|
6563
|
+
type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
|
|
6564
|
+
type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
|
|
6565
|
+
type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern" | "when">;
|
|
6566
|
+
type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format" | "when">;
|
|
6567
|
+
type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format" | "when">;
|
|
6568
|
+
type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
|
|
6569
|
+
type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "when" | "pattern">;
|
|
6570
|
+
type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
|
|
6571
|
+
type $ZodEnumParams = TypeParams<$ZodEnum, "entries">;
|
|
6572
|
+
type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
|
|
6573
|
+
type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
|
|
6574
|
+
type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
|
|
6575
|
+
type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
6576
|
+
/** The schema or check that originated this issue. */readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
|
|
6577
|
+
readonly continue?: boolean | undefined;
|
|
6578
|
+
} & Record<string, unknown>> : never;
|
|
6579
|
+
interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
|
|
6580
|
+
addIssue(arg: string | $ZodSuperRefineIssue): void;
|
|
6581
|
+
}
|
|
6582
|
+
//#endregion
|
|
6583
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.d.cts
|
|
6584
|
+
/** An Error-like class used to store Zod validation issues. */
|
|
6585
|
+
interface ZodError<T = unknown> extends $ZodError<T> {
|
|
6586
|
+
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
6587
|
+
format(): $ZodFormattedError<T>;
|
|
6588
|
+
format<U>(mapper: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
|
|
6589
|
+
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
6590
|
+
flatten(): $ZodFlattenedError<T>;
|
|
6591
|
+
flatten<U>(mapper: (issue: $ZodIssue) => U): $ZodFlattenedError<T, U>;
|
|
6592
|
+
/** @deprecated Push directly to `.issues` instead. */
|
|
6593
|
+
addIssue(issue: $ZodIssue): void;
|
|
6594
|
+
/** @deprecated Push directly to `.issues` instead. */
|
|
6595
|
+
addIssues(issues: $ZodIssue[]): void;
|
|
6596
|
+
/** @deprecated Check `err.issues.length === 0` instead. */
|
|
6597
|
+
isEmpty: boolean;
|
|
6598
|
+
}
|
|
6599
|
+
declare const ZodError: $constructor<ZodError>;
|
|
6600
|
+
//#endregion
|
|
6601
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.d.cts
|
|
6602
|
+
type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
|
|
6603
|
+
type ZodSafeParseSuccess<T> = {
|
|
6604
|
+
success: true;
|
|
6605
|
+
data: T;
|
|
6606
|
+
error?: never;
|
|
6607
|
+
};
|
|
6608
|
+
type ZodSafeParseError<T> = {
|
|
6609
|
+
success: false;
|
|
6610
|
+
data?: never;
|
|
6611
|
+
error: ZodError<T>;
|
|
6612
|
+
};
|
|
6613
|
+
//#endregion
|
|
6614
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.d.cts
|
|
6615
|
+
type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
6616
|
+
interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
|
|
6617
|
+
def: Internals["def"];
|
|
6618
|
+
type: Internals["def"]["type"];
|
|
6619
|
+
/** @deprecated Use `.def` instead. */
|
|
6620
|
+
_def: Internals["def"];
|
|
6621
|
+
/** @deprecated Use `z.output<typeof schema>` instead. */
|
|
6622
|
+
_output: Internals["output"];
|
|
6623
|
+
/** @deprecated Use `z.input<typeof schema>` instead. */
|
|
6624
|
+
_input: Internals["input"];
|
|
6625
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6626
|
+
/** Converts this schema to a JSON Schema representation. */
|
|
6627
|
+
toJSONSchema(params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<this>;
|
|
6628
|
+
check(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
|
|
6629
|
+
with(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
|
|
6630
|
+
clone(def?: Internals["def"], params?: {
|
|
6631
|
+
parent: boolean;
|
|
6632
|
+
}): this;
|
|
6633
|
+
register<R extends $ZodRegistry>(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [$replace<R["_meta"], this>?] : [$replace<R["_meta"], this>] : ["Incompatible schema"]): this;
|
|
6634
|
+
brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : $ZodBranded<this, T, Dir>;
|
|
6635
|
+
parse(data: unknown, params?: ParseContext<$ZodIssue>): output<this>;
|
|
6636
|
+
safeParse(data: unknown, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
|
|
6637
|
+
parseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
|
|
6638
|
+
safeParseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
|
|
6639
|
+
spa: (data: unknown, params?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<this>>>;
|
|
6640
|
+
encode(data: output<this>, params?: ParseContext<$ZodIssue>): input<this>;
|
|
6641
|
+
decode(data: input<this>, params?: ParseContext<$ZodIssue>): output<this>;
|
|
6642
|
+
encodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<input<this>>;
|
|
6643
|
+
decodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
|
|
6644
|
+
safeEncode(data: output<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input<this>>;
|
|
6645
|
+
safeDecode(data: input<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
|
|
6646
|
+
safeEncodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input<this>>>;
|
|
6647
|
+
safeDecodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
|
|
6648
|
+
refine<Ch extends (arg: output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType<R, input<this>> : this;
|
|
6649
|
+
superRefine(refinement: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => void | Promise<void>): this;
|
|
6650
|
+
overwrite(fn: (x: output<this>) => output<this>): this;
|
|
6651
|
+
optional(): ZodOptional<this>;
|
|
6652
|
+
exactOptional(): ZodExactOptional<this>;
|
|
6653
|
+
nonoptional(params?: string | $ZodNonOptionalParams): ZodNonOptional<this>;
|
|
6654
|
+
nullable(): ZodNullable<this>;
|
|
6655
|
+
nullish(): ZodOptional<ZodNullable<this>>;
|
|
6656
|
+
default(def: NoUndefined<output<this>>): ZodDefault<this>;
|
|
6657
|
+
default(def: () => NoUndefined<output<this>>): ZodDefault<this>;
|
|
6658
|
+
prefault(def: () => input<this>): ZodPrefault<this>;
|
|
6659
|
+
prefault(def: input<this>): ZodPrefault<this>;
|
|
6660
|
+
array(): ZodArray<this>;
|
|
6661
|
+
or<T extends SomeType>(option: T): ZodUnion<[this, T]>;
|
|
6662
|
+
and<T extends SomeType>(incoming: T): ZodIntersection<this, T>;
|
|
6663
|
+
transform<NewOut>(transform: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output<this>>>;
|
|
6664
|
+
catch(def: output<this>): ZodCatch<this>;
|
|
6665
|
+
catch(def: (ctx: $ZodCatchCtx) => output<this>): ZodCatch<this>;
|
|
6666
|
+
pipe<T extends $ZodType<any, output<this>>>(target: T | $ZodType<any, output<this>>): ZodPipe<this, T>;
|
|
6667
|
+
readonly(): ZodReadonly<this>;
|
|
6668
|
+
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
|
|
6669
|
+
describe(description: string): this;
|
|
6670
|
+
description?: string;
|
|
6671
|
+
/** Returns the metadata associated with this instance in `z.globalRegistry` */
|
|
6672
|
+
meta(): $replace<GlobalMeta, this> | undefined;
|
|
6673
|
+
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
|
|
6674
|
+
meta(data: $replace<GlobalMeta, this>): this;
|
|
6675
|
+
/** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
|
|
6676
|
+
*
|
|
6677
|
+
* ```ts
|
|
6678
|
+
* const schema = z.string().optional();
|
|
6679
|
+
* const isOptional = schema.safeParse(undefined).success; // true
|
|
6680
|
+
* ```
|
|
6681
|
+
*/
|
|
6682
|
+
isOptional(): boolean;
|
|
6683
|
+
/**
|
|
6684
|
+
* @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
|
|
6685
|
+
*
|
|
6686
|
+
* ```ts
|
|
6687
|
+
* const schema = z.string().nullable();
|
|
6688
|
+
* const isNullable = schema.safeParse(null).success; // true
|
|
6689
|
+
* ```
|
|
6690
|
+
*/
|
|
6691
|
+
isNullable(): boolean;
|
|
6692
|
+
apply<T>(fn: (schema: this) => T): T;
|
|
6693
|
+
}
|
|
6694
|
+
interface _ZodType<out Internals extends $ZodTypeInternals = $ZodTypeInternals> extends ZodType<any, any, Internals> {}
|
|
6695
|
+
declare const ZodType: $constructor<ZodType>;
|
|
6696
|
+
interface _ZodString<T extends $ZodStringInternals<unknown> = $ZodStringInternals<unknown>> extends _ZodType<T> {
|
|
6697
|
+
format: string | null;
|
|
6698
|
+
minLength: number | null;
|
|
6699
|
+
maxLength: number | null;
|
|
6700
|
+
regex(regex: RegExp, params?: string | $ZodCheckRegexParams): this;
|
|
6701
|
+
includes(value: string, params?: string | $ZodCheckIncludesParams): this;
|
|
6702
|
+
startsWith(value: string, params?: string | $ZodCheckStartsWithParams): this;
|
|
6703
|
+
endsWith(value: string, params?: string | $ZodCheckEndsWithParams): this;
|
|
6704
|
+
min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
|
|
6705
|
+
max(maxLength: number, params?: string | $ZodCheckMaxLengthParams): this;
|
|
6706
|
+
length(len: number, params?: string | $ZodCheckLengthEqualsParams): this;
|
|
6707
|
+
nonempty(params?: string | $ZodCheckMinLengthParams): this;
|
|
6708
|
+
lowercase(params?: string | $ZodCheckLowerCaseParams): this;
|
|
6709
|
+
uppercase(params?: string | $ZodCheckUpperCaseParams): this;
|
|
6710
|
+
trim(): this;
|
|
6711
|
+
normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
|
|
6712
|
+
toLowerCase(): this;
|
|
6713
|
+
toUpperCase(): this;
|
|
6714
|
+
slugify(): this;
|
|
6715
|
+
}
|
|
6716
|
+
/** @internal */
|
|
6717
|
+
declare const _ZodString: $constructor<_ZodString>;
|
|
6718
|
+
interface ZodString extends _ZodString<$ZodStringInternals<string>> {
|
|
6719
|
+
/** @deprecated Use `z.email()` instead. */
|
|
6720
|
+
email(params?: string | $ZodCheckEmailParams): this;
|
|
6721
|
+
/** @deprecated Use `z.url()` instead. */
|
|
6722
|
+
url(params?: string | $ZodCheckURLParams): this;
|
|
6723
|
+
/** @deprecated Use `z.jwt()` instead. */
|
|
6724
|
+
jwt(params?: string | $ZodCheckJWTParams): this;
|
|
6725
|
+
/** @deprecated Use `z.emoji()` instead. */
|
|
6726
|
+
emoji(params?: string | $ZodCheckEmojiParams): this;
|
|
6727
|
+
/** @deprecated Use `z.guid()` instead. */
|
|
6728
|
+
guid(params?: string | $ZodCheckGUIDParams): this;
|
|
6729
|
+
/** @deprecated Use `z.uuid()` instead. */
|
|
6730
|
+
uuid(params?: string | $ZodCheckUUIDParams): this;
|
|
6731
|
+
/** @deprecated Use `z.uuid()` instead. */
|
|
6732
|
+
uuidv4(params?: string | $ZodCheckUUIDParams): this;
|
|
6733
|
+
/** @deprecated Use `z.uuid()` instead. */
|
|
6734
|
+
uuidv6(params?: string | $ZodCheckUUIDParams): this;
|
|
6735
|
+
/** @deprecated Use `z.uuid()` instead. */
|
|
6736
|
+
uuidv7(params?: string | $ZodCheckUUIDParams): this;
|
|
6737
|
+
/** @deprecated Use `z.nanoid()` instead. */
|
|
6738
|
+
nanoid(params?: string | $ZodCheckNanoIDParams): this;
|
|
6739
|
+
/** @deprecated Use `z.guid()` instead. */
|
|
6740
|
+
guid(params?: string | $ZodCheckGUIDParams): this;
|
|
6741
|
+
/** @deprecated Use `z.cuid()` instead. */
|
|
6742
|
+
cuid(params?: string | $ZodCheckCUIDParams): this;
|
|
6743
|
+
/** @deprecated Use `z.cuid2()` instead. */
|
|
6744
|
+
cuid2(params?: string | $ZodCheckCUID2Params): this;
|
|
6745
|
+
/** @deprecated Use `z.ulid()` instead. */
|
|
6746
|
+
ulid(params?: string | $ZodCheckULIDParams): this;
|
|
6747
|
+
/** @deprecated Use `z.base64()` instead. */
|
|
6748
|
+
base64(params?: string | $ZodCheckBase64Params): this;
|
|
6749
|
+
/** @deprecated Use `z.base64url()` instead. */
|
|
6750
|
+
base64url(params?: string | $ZodCheckBase64URLParams): this;
|
|
6751
|
+
/** @deprecated Use `z.xid()` instead. */
|
|
6752
|
+
xid(params?: string | $ZodCheckXIDParams): this;
|
|
6753
|
+
/** @deprecated Use `z.ksuid()` instead. */
|
|
6754
|
+
ksuid(params?: string | $ZodCheckKSUIDParams): this;
|
|
6755
|
+
/** @deprecated Use `z.ipv4()` instead. */
|
|
6756
|
+
ipv4(params?: string | $ZodCheckIPv4Params): this;
|
|
6757
|
+
/** @deprecated Use `z.ipv6()` instead. */
|
|
6758
|
+
ipv6(params?: string | $ZodCheckIPv6Params): this;
|
|
6759
|
+
/** @deprecated Use `z.cidrv4()` instead. */
|
|
6760
|
+
cidrv4(params?: string | $ZodCheckCIDRv4Params): this;
|
|
6761
|
+
/** @deprecated Use `z.cidrv6()` instead. */
|
|
6762
|
+
cidrv6(params?: string | $ZodCheckCIDRv6Params): this;
|
|
6763
|
+
/** @deprecated Use `z.e164()` instead. */
|
|
6764
|
+
e164(params?: string | $ZodCheckE164Params): this;
|
|
6765
|
+
/** @deprecated Use `z.iso.datetime()` instead. */
|
|
6766
|
+
datetime(params?: string | $ZodCheckISODateTimeParams): this;
|
|
6767
|
+
/** @deprecated Use `z.iso.date()` instead. */
|
|
6768
|
+
date(params?: string | $ZodCheckISODateParams): this;
|
|
6769
|
+
/** @deprecated Use `z.iso.time()` instead. */
|
|
6770
|
+
time(params?: string | $ZodCheckISOTimeParams): this;
|
|
6771
|
+
/** @deprecated Use `z.iso.duration()` instead. */
|
|
6772
|
+
duration(params?: string | $ZodCheckISODurationParams): this;
|
|
6773
|
+
}
|
|
6774
|
+
declare const ZodString: $constructor<ZodString>;
|
|
6775
|
+
interface _ZodNumber<Internals extends $ZodNumberInternals = $ZodNumberInternals> extends _ZodType<Internals> {
|
|
6776
|
+
gt(value: number, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6777
|
+
/** Identical to .min() */
|
|
6778
|
+
gte(value: number, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6779
|
+
min(value: number, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6780
|
+
lt(value: number, params?: string | $ZodCheckLessThanParams): this;
|
|
6781
|
+
/** Identical to .max() */
|
|
6782
|
+
lte(value: number, params?: string | $ZodCheckLessThanParams): this;
|
|
6783
|
+
max(value: number, params?: string | $ZodCheckLessThanParams): this;
|
|
6784
|
+
/** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
|
|
6785
|
+
int(params?: string | $ZodCheckNumberFormatParams): this;
|
|
6786
|
+
/** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
|
|
6787
|
+
safe(params?: string | $ZodCheckNumberFormatParams): this;
|
|
6788
|
+
positive(params?: string | $ZodCheckGreaterThanParams): this;
|
|
6789
|
+
nonnegative(params?: string | $ZodCheckGreaterThanParams): this;
|
|
6790
|
+
negative(params?: string | $ZodCheckLessThanParams): this;
|
|
6791
|
+
nonpositive(params?: string | $ZodCheckLessThanParams): this;
|
|
6792
|
+
multipleOf(value: number, params?: string | $ZodCheckMultipleOfParams): this;
|
|
6793
|
+
/** @deprecated Use `.multipleOf()` instead. */
|
|
6794
|
+
step(value: number, params?: string | $ZodCheckMultipleOfParams): this;
|
|
6795
|
+
/** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */
|
|
6796
|
+
finite(params?: unknown): this;
|
|
6797
|
+
minValue: number | null;
|
|
6798
|
+
maxValue: number | null;
|
|
6799
|
+
/** @deprecated Check the `format` property instead. */
|
|
6800
|
+
isInt: boolean;
|
|
6801
|
+
/** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */
|
|
6802
|
+
isFinite: boolean;
|
|
6803
|
+
format: string | null;
|
|
6804
|
+
}
|
|
6805
|
+
interface ZodNumber extends _ZodNumber<$ZodNumberInternals<number>> {}
|
|
6806
|
+
declare const ZodNumber: $constructor<ZodNumber>;
|
|
6807
|
+
interface _ZodBoolean<T extends $ZodBooleanInternals = $ZodBooleanInternals> extends _ZodType<T> {}
|
|
6808
|
+
interface ZodBoolean extends _ZodBoolean<$ZodBooleanInternals<boolean>> {}
|
|
6809
|
+
declare const ZodBoolean: $constructor<ZodBoolean>;
|
|
6810
|
+
interface ZodAny extends _ZodType<$ZodAnyInternals> {}
|
|
6811
|
+
declare const ZodAny: $constructor<ZodAny>;
|
|
6812
|
+
interface _ZodDate<T extends $ZodDateInternals = $ZodDateInternals> extends _ZodType<T> {
|
|
6813
|
+
min(value: number | Date, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6814
|
+
max(value: number | Date, params?: string | $ZodCheckLessThanParams): this;
|
|
6815
|
+
/** @deprecated Not recommended. */
|
|
6816
|
+
minDate: Date | null;
|
|
6817
|
+
/** @deprecated Not recommended. */
|
|
6818
|
+
maxDate: Date | null;
|
|
6819
|
+
}
|
|
6820
|
+
interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInternals<T>>, $ZodArray<T> {
|
|
6821
|
+
element: T;
|
|
6822
|
+
min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
|
|
6823
|
+
nonempty(params?: string | $ZodCheckMinLengthParams): this;
|
|
6824
|
+
max(maxLength: number, params?: string | $ZodCheckMaxLengthParams): this;
|
|
6825
|
+
length(len: number, params?: string | $ZodCheckLengthEqualsParams): this;
|
|
6826
|
+
unwrap(): T;
|
|
6827
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6828
|
+
}
|
|
6829
|
+
declare const ZodArray: $constructor<ZodArray>;
|
|
6830
|
+
type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K] };
|
|
6831
|
+
interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
|
|
6832
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6833
|
+
shape: Shape;
|
|
6834
|
+
keyof(): ZodEnum<ToEnum<keyof Shape & string>>;
|
|
6835
|
+
/** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
|
|
6836
|
+
catchall<T extends SomeType>(schema: T): ZodObject<Shape, $catchall<T>>;
|
|
6837
|
+
/** @deprecated Use `z.looseObject()` or `.loose()` instead. */
|
|
6838
|
+
passthrough(): ZodObject<Shape, $loose>;
|
|
6839
|
+
/** Consider `z.looseObject(A.shape)` instead */
|
|
6840
|
+
loose(): ZodObject<Shape, $loose>;
|
|
6841
|
+
/** Consider `z.strictObject(A.shape)` instead */
|
|
6842
|
+
strict(): ZodObject<Shape, $strict>;
|
|
6843
|
+
/** This is the default behavior. This method call is likely unnecessary. */
|
|
6844
|
+
strip(): ZodObject<Shape, $strip>;
|
|
6845
|
+
extend<U extends $ZodLooseShape>(shape: U): ZodObject<Extend<Shape, U>, Config>;
|
|
6846
|
+
safeExtend<U extends $ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, SomeType>>): ZodObject<Extend<Shape, U>, Config>;
|
|
6847
|
+
/**
|
|
6848
|
+
* @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
|
|
6849
|
+
*/
|
|
6850
|
+
merge<U extends ZodObject>(other: U): ZodObject<Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
|
|
6851
|
+
pick<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
|
|
6852
|
+
omit<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
|
|
6853
|
+
partial(): ZodObject<{ [k in keyof Shape]: ZodOptional<Shape[k]> }, Config>;
|
|
6854
|
+
partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k] }, Config>;
|
|
6855
|
+
required(): ZodObject<{ [k in keyof Shape]: ZodNonOptional<Shape[k]> }, Config>;
|
|
6856
|
+
required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k] }, Config>;
|
|
6857
|
+
}
|
|
6858
|
+
declare const ZodObject: $constructor<ZodObject>;
|
|
6859
|
+
interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
|
|
6860
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6861
|
+
options: T;
|
|
6862
|
+
}
|
|
6863
|
+
declare const ZodUnion: $constructor<ZodUnion>;
|
|
6864
|
+
interface ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodIntersectionInternals<A, B>>, $ZodIntersection<A, B> {
|
|
6865
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6866
|
+
}
|
|
6867
|
+
declare const ZodIntersection: $constructor<ZodIntersection>;
|
|
6868
|
+
interface ZodEnum< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
|
|
6869
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6870
|
+
enum: T;
|
|
6871
|
+
options: Array<T[keyof T]>;
|
|
6872
|
+
extract<const U extends readonly (keyof T)[]>(values: U, params?: string | $ZodEnumParams): ZodEnum<Flatten<Pick<T, U[number]>>>;
|
|
6873
|
+
exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | $ZodEnumParams): ZodEnum<Flatten<Omit<T, U[number]>>>;
|
|
6874
|
+
}
|
|
6875
|
+
declare const ZodEnum: $constructor<ZodEnum>;
|
|
6876
|
+
interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformInternals<O, I>>, $ZodTransform<O, I> {
|
|
6877
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6878
|
+
}
|
|
6879
|
+
declare const ZodTransform: $constructor<ZodTransform>;
|
|
6880
|
+
interface ZodOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodOptionalInternals<T>>, $ZodOptional<T> {
|
|
6881
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6882
|
+
unwrap(): T;
|
|
6883
|
+
}
|
|
6884
|
+
declare const ZodOptional: $constructor<ZodOptional>;
|
|
6885
|
+
interface ZodExactOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodExactOptionalInternals<T>>, $ZodExactOptional<T> {
|
|
6886
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6887
|
+
unwrap(): T;
|
|
6888
|
+
}
|
|
6889
|
+
declare const ZodExactOptional: $constructor<ZodExactOptional>;
|
|
6890
|
+
interface ZodNullable<T extends SomeType = $ZodType> extends _ZodType<$ZodNullableInternals<T>>, $ZodNullable<T> {
|
|
6891
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6892
|
+
unwrap(): T;
|
|
6893
|
+
}
|
|
6894
|
+
declare const ZodNullable: $constructor<ZodNullable>;
|
|
6895
|
+
interface ZodDefault<T extends SomeType = $ZodType> extends _ZodType<$ZodDefaultInternals<T>>, $ZodDefault<T> {
|
|
6896
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6897
|
+
unwrap(): T;
|
|
6898
|
+
/** @deprecated Use `.unwrap()` instead. */
|
|
6899
|
+
removeDefault(): T;
|
|
6900
|
+
}
|
|
6901
|
+
declare const ZodDefault: $constructor<ZodDefault>;
|
|
6902
|
+
interface ZodPrefault<T extends SomeType = $ZodType> extends _ZodType<$ZodPrefaultInternals<T>>, $ZodPrefault<T> {
|
|
6903
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6904
|
+
unwrap(): T;
|
|
6905
|
+
}
|
|
6906
|
+
declare const ZodPrefault: $constructor<ZodPrefault>;
|
|
6907
|
+
interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNonOptionalInternals<T>>, $ZodNonOptional<T> {
|
|
6908
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6909
|
+
unwrap(): T;
|
|
6910
|
+
}
|
|
6911
|
+
declare const ZodNonOptional: $constructor<ZodNonOptional>;
|
|
6912
|
+
interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
|
|
6913
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6914
|
+
unwrap(): T;
|
|
6915
|
+
/** @deprecated Use `.unwrap()` instead. */
|
|
6916
|
+
removeCatch(): T;
|
|
6917
|
+
}
|
|
6918
|
+
declare const ZodCatch: $constructor<ZodCatch>;
|
|
6919
|
+
interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
|
|
6920
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6921
|
+
in: A;
|
|
6922
|
+
out: B;
|
|
6923
|
+
}
|
|
6924
|
+
declare const ZodPipe: $constructor<ZodPipe>;
|
|
6925
|
+
interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
|
|
6926
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6927
|
+
unwrap(): T;
|
|
6928
|
+
}
|
|
6929
|
+
declare const ZodReadonly: $constructor<ZodReadonly>;
|
|
6930
|
+
//#endregion
|
|
6931
|
+
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/coerce.d.cts
|
|
6932
|
+
interface ZodCoercedDate<T = unknown> extends _ZodDate<$ZodDateInternals<T>> {}
|
|
6933
|
+
//#endregion
|
|
6934
|
+
//#region ../../apps/api/modules/industrial-property/domain/industrial-property.enum.d.ts
|
|
6935
|
+
declare enum PropertyType$1 {
|
|
6936
|
+
INDUSTRIAL_ZONE = "INDUSTRIAL_ZONE",
|
|
6937
|
+
BUILDING = "BUILDING",
|
|
6938
|
+
FLOOR = "FLOOR",
|
|
6939
|
+
ROOM = "ROOM",
|
|
6940
|
+
LAND_LOT = "LAND_LOT",
|
|
6941
|
+
FACTORY = "FACTORY",
|
|
6942
|
+
WAREHOUSE = "WAREHOUSE",
|
|
6943
|
+
OFFICE = "OFFICE",
|
|
6944
|
+
HOUSING = "HOUSING",
|
|
6945
|
+
APARTMENT = "APARTMENT"
|
|
6946
|
+
}
|
|
6947
|
+
declare enum PropertyLegalStatus$1 {
|
|
6948
|
+
MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT = "MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT",
|
|
6949
|
+
MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT = "MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT",
|
|
6950
|
+
FIFTY_YEARS_ANNUAL_PAYMENT = "FIFTY_YEARS_ANNUAL_PAYMENT",
|
|
6951
|
+
FIFTY_YEARS_ONE_TIME_PAYMENT = "FIFTY_YEARS_ONE_TIME_PAYMENT",
|
|
6952
|
+
FORTY_YEARS_ANNUAL_PAYMENT = "FORTY_YEARS_ANNUAL_PAYMENT",
|
|
6953
|
+
FORTY_YEARS_ONE_TIME_PAYMENT = "FORTY_YEARS_ONE_TIME_PAYMENT",
|
|
6954
|
+
THIRTY_YEARS_ONE_TIME_PAYMENT = "THIRTY_YEARS_ONE_TIME_PAYMENT",
|
|
6955
|
+
THIRTY_YEARS_ANNUAL_PAYMENT = "THIRTY_YEARS_ANNUAL_PAYMENT",
|
|
6956
|
+
TWENTY_YEARS_ANNUAL_PAYMENT = "TWENTY_YEARS_ANNUAL_PAYMENT",
|
|
6957
|
+
TWENTY_YEARS_ONE_TIME_PAYMENT = "TWENTY_YEARS_ONE_TIME_PAYMENT",
|
|
6958
|
+
TEN_YEARS_ANNUAL_PAYMENT = "TEN_YEARS_ANNUAL_PAYMENT",
|
|
6959
|
+
TEN_YEARS_ONE_TIME_PAYMENT = "TEN_YEARS_ONE_TIME_PAYMENT",
|
|
6960
|
+
LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT = "LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT",
|
|
6961
|
+
LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT = "LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT"
|
|
6962
|
+
}
|
|
6963
|
+
declare enum PropertyApprovalStatus$1 {
|
|
6964
|
+
PENDING = "PENDING",
|
|
6965
|
+
APPROVED = "APPROVED",
|
|
6966
|
+
REJECTED = "REJECTED",
|
|
6967
|
+
ARCHIVED = "ARCHIVED"
|
|
6968
|
+
}
|
|
6969
|
+
declare enum PropertyLandCurrentStatus$1 {
|
|
6970
|
+
PLANNED = "PLANNED",
|
|
6971
|
+
DESIGNING = "DESIGNING",
|
|
6972
|
+
UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION",
|
|
6973
|
+
TOPPING_OUT = "TOPPING_OUT",
|
|
6974
|
+
NEAR_COMPLETION = "NEAR_COMPLETION",
|
|
6975
|
+
COMPLETED = "COMPLETED",
|
|
6976
|
+
READY_FOR_HANDOVER = "READY_FOR_HANDOVER",
|
|
6977
|
+
HANDED_OVER = "HANDED_OVER",
|
|
6978
|
+
ON_HOLD = "ON_HOLD",
|
|
6979
|
+
CANCELLED = "CANCELLED"
|
|
6980
|
+
}
|
|
6981
|
+
declare enum PropertyOperationStatus$1 {
|
|
6982
|
+
UNDETERMINED = "UNDETERMINED",
|
|
6983
|
+
COMING_SOON = "COMING_SOON",
|
|
6984
|
+
FOR_SALE_RENT = "FOR_SALE_RENT",
|
|
6985
|
+
ACTIVE = "ACTIVE",
|
|
6986
|
+
DEACTIVATED = "DEACTIVATED"
|
|
6987
|
+
}
|
|
6988
|
+
//#endregion
|
|
6989
|
+
//#region ../../apps/api/modules/industrial-property/validators/industrial-property.validator.d.ts
|
|
6990
|
+
declare const createPropertyInputBaseSchema: ZodObject<{
|
|
6991
|
+
propertyMapId: ZodOptional<ZodString>;
|
|
6992
|
+
polygon: ZodOptional<ZodArray<ZodObject<{
|
|
6993
|
+
x: ZodNumber;
|
|
6994
|
+
y: ZodNumber;
|
|
6995
|
+
z: ZodOptional<ZodNumber>;
|
|
6996
|
+
}, $strip>>>;
|
|
6997
|
+
isPublic: ZodOptional<ZodBoolean>;
|
|
6998
|
+
title: ZodString;
|
|
6999
|
+
description: ZodOptional<ZodString>;
|
|
7000
|
+
projectId: ZodString;
|
|
7001
|
+
parentId: ZodOptional<ZodString>;
|
|
7002
|
+
provinceId: ZodString;
|
|
7003
|
+
wardId: ZodString;
|
|
7004
|
+
detailedAddress: ZodString;
|
|
7005
|
+
propertyLegalStatus: ZodEnum<typeof PropertyLegalStatus$1>;
|
|
7006
|
+
approvalStatus: ZodEnum<typeof PropertyApprovalStatus$1>;
|
|
7007
|
+
landCurrentStatus: ZodEnum<typeof PropertyLandCurrentStatus$1>;
|
|
7008
|
+
operationStatus: ZodOptional<ZodEnum<typeof PropertyOperationStatus$1>>;
|
|
7009
|
+
area: ZodOptional<ZodString>;
|
|
7010
|
+
latitude: ZodOptional<ZodString>;
|
|
7011
|
+
longitude: ZodOptional<ZodString>;
|
|
7012
|
+
imagesIds: ZodOptional<ZodArray<ZodString>>;
|
|
7013
|
+
price: ZodOptional<ZodString>;
|
|
7014
|
+
priceUnit: ZodOptional<ZodString>;
|
|
7015
|
+
deposite: ZodOptional<ZodString>;
|
|
7016
|
+
depositeUnit: ZodOptional<ZodString>;
|
|
7017
|
+
paymentPeriodType: ZodOptional<ZodString>;
|
|
7018
|
+
yearBuilt: ZodOptional<ZodCoercedDate<unknown>>;
|
|
7019
|
+
yearCompleted: ZodOptional<ZodCoercedDate<unknown>>;
|
|
7020
|
+
notificationTypes: ZodOptional<ZodArray<ZodString>>;
|
|
7021
|
+
notes: ZodOptional<ZodArray<ZodObject<{
|
|
7022
|
+
content: ZodString;
|
|
7023
|
+
createdAt: ZodCoercedDate<unknown>;
|
|
7024
|
+
isImportant: ZodOptional<ZodBoolean>;
|
|
7025
|
+
attachmentIds: ZodDefault<ZodArray<ZodString>>;
|
|
7026
|
+
}, $strip>>>;
|
|
7027
|
+
attachmentsIds: ZodOptional<ZodArray<ZodString>>;
|
|
7028
|
+
seoMetadata: ZodOptional<ZodAny>;
|
|
7029
|
+
metadata: ZodOptional<ZodAny>;
|
|
7030
|
+
type: ZodEnum<typeof PropertyType$1>;
|
|
7031
|
+
numberOfFloor: ZodOptional<ZodNumber>;
|
|
7032
|
+
floorNumber: ZodOptional<ZodNumber>;
|
|
7033
|
+
propertyDetail: ZodObject<{
|
|
7034
|
+
orientation: ZodOptional<ZodString>;
|
|
7035
|
+
buildingDensityPercent: ZodOptional<ZodNumber>;
|
|
7036
|
+
structureType: ZodOptional<ZodString>;
|
|
7037
|
+
constructionQuality: ZodOptional<ZodString>;
|
|
7038
|
+
height: ZodOptional<ZodNumber>;
|
|
7039
|
+
width: ZodOptional<ZodNumber>;
|
|
7040
|
+
length: ZodOptional<ZodNumber>;
|
|
7041
|
+
completionRate: ZodOptional<ZodNumber>;
|
|
7042
|
+
floorType: ZodOptional<ZodString>;
|
|
7043
|
+
loadBearingFloor: ZodOptional<ZodNumber>;
|
|
7044
|
+
specialAttributes: ZodOptional<ZodAny>;
|
|
7045
|
+
}, $strip>;
|
|
7046
|
+
}, $strip>;
|
|
7047
|
+
type CreatePropertyInputSchema = output<typeof createPropertyInputBaseSchema> & {
|
|
7048
|
+
children?: CreatePropertyInputSchema[];
|
|
7049
|
+
};
|
|
7050
|
+
//#endregion
|
|
4766
7051
|
//#region src/generated/industrial-property/ports/create-property.request.d.ts
|
|
4767
7052
|
type CreatePropertyInput = {
|
|
4768
7053
|
title: string;
|
|
@@ -4802,12 +7087,26 @@ type CreatePropertyInput = {
|
|
|
4802
7087
|
longitude?: string | undefined;
|
|
4803
7088
|
imagesIds?: string[] | undefined;
|
|
4804
7089
|
price?: string | undefined;
|
|
4805
|
-
|
|
7090
|
+
priceUnit?: string | undefined;
|
|
7091
|
+
deposite?: string | undefined;
|
|
7092
|
+
depositeUnit?: string | undefined;
|
|
7093
|
+
paymentPeriodType?: string | undefined;
|
|
7094
|
+
yearBuilt?: Date | undefined;
|
|
7095
|
+
yearCompleted?: Date | undefined;
|
|
7096
|
+
notificationTypes?: string[] | undefined;
|
|
7097
|
+
notes?: {
|
|
7098
|
+
content: string;
|
|
7099
|
+
createdAt: Date;
|
|
7100
|
+
attachmentIds: string[];
|
|
7101
|
+
isImportant?: boolean | undefined;
|
|
7102
|
+
}[] | undefined;
|
|
4806
7103
|
attachmentsIds?: string[] | undefined;
|
|
4807
7104
|
seoMetadata?: any;
|
|
4808
7105
|
metadata?: any;
|
|
4809
7106
|
numberOfFloor?: number | undefined;
|
|
4810
7107
|
floorNumber?: number | undefined;
|
|
7108
|
+
} & {
|
|
7109
|
+
children?: CreatePropertyInputSchema[];
|
|
4811
7110
|
};
|
|
4812
7111
|
//#endregion
|
|
4813
7112
|
//#region src/generated/industrial-property/ports/create-property.response.d.ts
|
|
@@ -4815,6 +7114,10 @@ interface CreatePropertyResponse extends BaseRes {
|
|
|
4815
7114
|
propertyId: string;
|
|
4816
7115
|
propertyVisualizationId?: string;
|
|
4817
7116
|
message: string;
|
|
7117
|
+
failed?: {
|
|
7118
|
+
index: number;
|
|
7119
|
+
message: string;
|
|
7120
|
+
}[];
|
|
4818
7121
|
}
|
|
4819
7122
|
interface PropertyVisualizationInsertData {
|
|
4820
7123
|
id: string;
|
|
@@ -4851,6 +7154,23 @@ type PropertiesFilter = {
|
|
|
4851
7154
|
maxPrice?: string | undefined;
|
|
4852
7155
|
};
|
|
4853
7156
|
//#endregion
|
|
7157
|
+
//#region src/generated/media/ports/get-media.response.d.ts
|
|
7158
|
+
interface MediaResponse extends BaseRes {
|
|
7159
|
+
id: string;
|
|
7160
|
+
name: string;
|
|
7161
|
+
url: string;
|
|
7162
|
+
isPrivate?: boolean;
|
|
7163
|
+
type: string;
|
|
7164
|
+
etag?: string;
|
|
7165
|
+
bucket?: string;
|
|
7166
|
+
versionId?: string;
|
|
7167
|
+
contentType?: string;
|
|
7168
|
+
originalName: string;
|
|
7169
|
+
metadata?: Record<string, unknown>;
|
|
7170
|
+
fileSize: number;
|
|
7171
|
+
createdAt?: Date;
|
|
7172
|
+
}
|
|
7173
|
+
//#endregion
|
|
4854
7174
|
//#region src/generated/industrial-property/ports/get-property.response.d.ts
|
|
4855
7175
|
interface PropertyDetailItem {
|
|
4856
7176
|
id?: string;
|
|
@@ -4888,6 +7208,12 @@ interface ProjectSummaryItem {
|
|
|
4888
7208
|
projectId: string;
|
|
4889
7209
|
projectName: string;
|
|
4890
7210
|
}
|
|
7211
|
+
interface NotesItem {
|
|
7212
|
+
content: string;
|
|
7213
|
+
createdAt: Date;
|
|
7214
|
+
isImportant?: boolean;
|
|
7215
|
+
attachments: MediaResponse[];
|
|
7216
|
+
}
|
|
4891
7217
|
interface PropertyItem {
|
|
4892
7218
|
id: string;
|
|
4893
7219
|
title: string;
|
|
@@ -4905,6 +7231,7 @@ interface PropertyItem {
|
|
|
4905
7231
|
latitude?: string;
|
|
4906
7232
|
longitude?: string;
|
|
4907
7233
|
imagesIds?: string[];
|
|
7234
|
+
images?: MediaResponse[];
|
|
4908
7235
|
price?: string;
|
|
4909
7236
|
priceUnit?: string;
|
|
4910
7237
|
deposite?: string;
|
|
@@ -4912,7 +7239,7 @@ interface PropertyItem {
|
|
|
4912
7239
|
paymentPeriodType?: string;
|
|
4913
7240
|
yearBuilt?: Date;
|
|
4914
7241
|
yearCompleted?: Date;
|
|
4915
|
-
notes?:
|
|
7242
|
+
notes?: NotesItem[];
|
|
4916
7243
|
attachmentsIds?: string[];
|
|
4917
7244
|
seoMetadata?: Record<string, unknown>;
|
|
4918
7245
|
metadata?: Record<string, unknown>;
|
|
@@ -4943,12 +7270,6 @@ interface PropertyItem {
|
|
|
4943
7270
|
createdById?: string;
|
|
4944
7271
|
updatedById?: string;
|
|
4945
7272
|
}
|
|
4946
|
-
interface PropertyBranchItem extends PropertyItem {
|
|
4947
|
-
propertyVersion?: number;
|
|
4948
|
-
parentMainId?: string;
|
|
4949
|
-
propertyId?: string;
|
|
4950
|
-
propertyBranchId?: string;
|
|
4951
|
-
}
|
|
4952
7273
|
interface PropertyResponse extends BaseRes {
|
|
4953
7274
|
property: PropertyItem & {
|
|
4954
7275
|
children?: PropertyItem[];
|
|
@@ -4983,12 +7304,6 @@ interface PropertiesResponse extends BaseRes {
|
|
|
4983
7304
|
limit: number;
|
|
4984
7305
|
totalPages: number;
|
|
4985
7306
|
}
|
|
4986
|
-
interface PropertyListingResult {
|
|
4987
|
-
properties: PropertyItem[];
|
|
4988
|
-
branches: PropertyBranchItem[];
|
|
4989
|
-
details: PropertyDetailItem[];
|
|
4990
|
-
total: number;
|
|
4991
|
-
}
|
|
4992
7307
|
//#endregion
|
|
4993
7308
|
//#region src/generated/industrial-property/ports/get-property-maps.request.d.ts
|
|
4994
7309
|
type PropertyMapsFilter = {
|
|
@@ -5047,7 +7362,7 @@ interface VisualizationPropertyItem {
|
|
|
5047
7362
|
longitude?: string;
|
|
5048
7363
|
imagesIds?: string[];
|
|
5049
7364
|
price?: string;
|
|
5050
|
-
notes
|
|
7365
|
+
notes?: NotesItem[];
|
|
5051
7366
|
attachmentsIds?: string[];
|
|
5052
7367
|
seoMetadata?: Record<string, unknown>;
|
|
5053
7368
|
metadata?: Record<string, unknown>;
|
|
@@ -5114,6 +7429,62 @@ interface UpdatePropertyMapResponse extends BaseRes {
|
|
|
5114
7429
|
}
|
|
5115
7430
|
//#endregion
|
|
5116
7431
|
//#region src/generated/industrial-property/ports/property-data.port.d.ts
|
|
7432
|
+
interface PropertyModel {
|
|
7433
|
+
id: string;
|
|
7434
|
+
title: string;
|
|
7435
|
+
description?: string;
|
|
7436
|
+
provinceId: string;
|
|
7437
|
+
wardId: string;
|
|
7438
|
+
detailedAddress: string;
|
|
7439
|
+
latitude?: string;
|
|
7440
|
+
longitude?: string;
|
|
7441
|
+
price?: string;
|
|
7442
|
+
priceUnit?: string;
|
|
7443
|
+
area?: string;
|
|
7444
|
+
type?: string;
|
|
7445
|
+
landCurrentStatus: string;
|
|
7446
|
+
propertyLegalStatus: string;
|
|
7447
|
+
approvalStatus: string;
|
|
7448
|
+
operationStatus?: string;
|
|
7449
|
+
numberOfProperties?: number;
|
|
7450
|
+
numberOfFloor?: number;
|
|
7451
|
+
floorNumber?: number;
|
|
7452
|
+
notes?: Record<string, unknown>[];
|
|
7453
|
+
imagesIds?: string[];
|
|
7454
|
+
attachmentsIds?: string[];
|
|
7455
|
+
seoMetadata?: Record<string, unknown>;
|
|
7456
|
+
metadata?: Record<string, unknown>;
|
|
7457
|
+
projectId?: string;
|
|
7458
|
+
ownerId: string;
|
|
7459
|
+
assignedBrokerId?: string;
|
|
7460
|
+
isPublic?: boolean;
|
|
7461
|
+
isAuthorizedForSystem?: boolean;
|
|
7462
|
+
authorizationType?: string;
|
|
7463
|
+
authorizationStarttime?: Date;
|
|
7464
|
+
authorizationEndtime?: Date;
|
|
7465
|
+
identityId?: string;
|
|
7466
|
+
parentId?: string;
|
|
7467
|
+
notificationTypes?: string[];
|
|
7468
|
+
deposite?: string;
|
|
7469
|
+
depositeUnit?: string;
|
|
7470
|
+
paymentPeriodType?: string;
|
|
7471
|
+
yearBuilt?: Date;
|
|
7472
|
+
yearCompleted?: Date;
|
|
7473
|
+
propertyVersion?: number;
|
|
7474
|
+
parentMainId?: string;
|
|
7475
|
+
propertyId?: string;
|
|
7476
|
+
propertyBranchId?: string;
|
|
7477
|
+
createdAt?: Date;
|
|
7478
|
+
updatedAt?: Date;
|
|
7479
|
+
createdById?: string;
|
|
7480
|
+
updatedById?: string;
|
|
7481
|
+
}
|
|
7482
|
+
interface PropertyListingResult {
|
|
7483
|
+
properties: PropertyModel[];
|
|
7484
|
+
branches: PropertyModel[];
|
|
7485
|
+
details: PropertyDetailItem[];
|
|
7486
|
+
total: number;
|
|
7487
|
+
}
|
|
5117
7488
|
interface PropertyDetailModel {
|
|
5118
7489
|
id: string;
|
|
5119
7490
|
propertyId?: string;
|
|
@@ -5190,35 +7561,36 @@ interface PropertyVisualizationModel {
|
|
|
5190
7561
|
}
|
|
5191
7562
|
interface VisualizationsByOwnerResult {
|
|
5192
7563
|
data: PropertyVisualizationModel[];
|
|
5193
|
-
properties:
|
|
7564
|
+
properties: PropertyModel[];
|
|
5194
7565
|
details: PropertyDetailModel[];
|
|
5195
7566
|
total: number;
|
|
5196
7567
|
}
|
|
5197
7568
|
interface VisualizationsByBrokerResult {
|
|
5198
7569
|
data: PropertyVisualizationModel[];
|
|
5199
|
-
branches:
|
|
7570
|
+
branches: PropertyModel[];
|
|
5200
7571
|
details: PropertyDetailModel[];
|
|
5201
7572
|
total: number;
|
|
5202
7573
|
}
|
|
5203
7574
|
interface PropertyDataPort {
|
|
5204
|
-
findPropertyListing(filter:
|
|
7575
|
+
findPropertyListing(filter: PropertiesFilter, userId: string, isBroker: boolean): Promise<PropertyListingResult>;
|
|
5205
7576
|
findBrokerSummariesByIds(ids: string[]): Promise<UserSummaryModel[]>;
|
|
5206
7577
|
findOwnerSummariesByIds(ids: string[]): Promise<UserSummaryModel[]>;
|
|
5207
|
-
findProjectsByIds(ids: string[]): Promise<
|
|
5208
|
-
findPropertyById(id: string, trx?: Transaction<Database>): Promise<
|
|
5209
|
-
findPropertiesByIds(ids: string[], trx?: Transaction<Database>): Promise<
|
|
7578
|
+
findProjectsByIds(ids: string[]): Promise<ProjectsTable[]>;
|
|
7579
|
+
findPropertyById(id: string, trx?: Transaction<Database>): Promise<PropertiesTable | undefined>;
|
|
7580
|
+
findPropertiesByIds(ids: string[], trx?: Transaction<Database>): Promise<PropertiesTable[]>;
|
|
5210
7581
|
insertProperty(data: Insertable<PropertiesTable>, trx?: Transaction<Database>): Promise<void>;
|
|
5211
7582
|
updateProperty(id: string, data: Record<string, unknown>, trx?: Transaction<Database>): Promise<void>;
|
|
5212
7583
|
softDeleteProperty(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
5213
|
-
findBranchById(id: string, trx?: Transaction<Database>): Promise<
|
|
5214
|
-
findBranchesByIds(ids: string[], trx?: Transaction<Database>): Promise<
|
|
7584
|
+
findBranchById(id: string, trx?: Transaction<Database>): Promise<PropertyBranchesTable | undefined>;
|
|
7585
|
+
findBranchesByIds(ids: string[], trx?: Transaction<Database>): Promise<PropertyBranchesTable[]>;
|
|
5215
7586
|
insertBranch(data: Insertable<PropertyBranchesTable>, trx?: Transaction<Database>): Promise<void>;
|
|
5216
7587
|
updateBranch(id: string, data: Record<string, unknown>, trx?: Transaction<Database>): Promise<void>;
|
|
5217
|
-
|
|
7588
|
+
softDeleteBranch(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
7589
|
+
findDetailByPropertyId(propertyId: string, trx?: Transaction<Database>): Promise<PropertyDetailsTable | undefined>;
|
|
5218
7590
|
findDetailByBranchId(branchId: string, trx?: Transaction<Database>): Promise<PropertyDetailModel | undefined>;
|
|
5219
7591
|
insertDetail(data: Insertable<PropertyDetailsTable>, trx?: Transaction<Database>): Promise<void>;
|
|
5220
7592
|
updateDetail(id: string, data: Record<string, unknown>, trx?: Transaction<Database>): Promise<void>;
|
|
5221
|
-
findVisualizationsByMapId(mapId: string, trx?: Transaction<Database>): Promise<
|
|
7593
|
+
findVisualizationsByMapId(mapId: string, trx?: Transaction<Database>): Promise<PropertyVisualizationsTable[]>;
|
|
5222
7594
|
insertVisualization(data: Insertable<PropertyVisualizationsTable>, trx?: Transaction<Database>): Promise<void>;
|
|
5223
7595
|
updateVisualization(id: string, data: PropertyVisualizationUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
5224
7596
|
findMapsByPropertyId(propertyId: string, trx?: Transaction<Database>): Promise<PropertyMapModel[]>;
|
|
@@ -5241,12 +7613,12 @@ interface PropertyDataPort {
|
|
|
5241
7613
|
findBranchUserPermission(branchId: string, userId: string, trx?: Transaction<Database>): Promise<{
|
|
5242
7614
|
id: string;
|
|
5243
7615
|
} | undefined>;
|
|
5244
|
-
findMapById(id: string, trx?: Transaction<Database>): Promise<
|
|
7616
|
+
findMapById(id: string, trx?: Transaction<Database>): Promise<PropertyMapsTable | undefined>;
|
|
5245
7617
|
findVisualizationById(id: string, trx?: Transaction<Database>): Promise<PropertyVisualizationModel | undefined>;
|
|
5246
|
-
findPropertiesByParentId(parentId: string, trx?: Transaction<Database>): Promise<
|
|
5247
|
-
findBranchesByParentId(parentId: string, trx?: Transaction<Database>): Promise<
|
|
5248
|
-
findDetailsByPropertyIds(propertyIds: string[], trx?: Transaction<Database>): Promise<
|
|
5249
|
-
findDetailsByBranchIds(branchIds: string[], trx?: Transaction<Database>): Promise<
|
|
7618
|
+
findPropertiesByParentId(parentId: string, trx?: Transaction<Database>): Promise<PropertiesTable[]>;
|
|
7619
|
+
findBranchesByParentId(parentId: string, trx?: Transaction<Database>): Promise<PropertyBranchesTable[]>;
|
|
7620
|
+
findDetailsByPropertyIds(propertyIds: string[], trx?: Transaction<Database>): Promise<PropertyDetailsTable[]>;
|
|
7621
|
+
findDetailsByBranchIds(branchIds: string[], trx?: Transaction<Database>): Promise<PropertyDetailsTable[]>;
|
|
5250
7622
|
}
|
|
5251
7623
|
//#endregion
|
|
5252
7624
|
//#region src/generated/industrial-property/ports/update-property.request.d.ts
|
|
@@ -5272,7 +7644,19 @@ type UpdatePropertyInput = {
|
|
|
5272
7644
|
longitude?: string | undefined;
|
|
5273
7645
|
imagesIds?: string[] | undefined;
|
|
5274
7646
|
price?: string | undefined;
|
|
5275
|
-
|
|
7647
|
+
priceUnit?: string | undefined;
|
|
7648
|
+
deposite?: string | undefined;
|
|
7649
|
+
depositeUnit?: string | undefined;
|
|
7650
|
+
paymentPeriodType?: string | undefined;
|
|
7651
|
+
yearBuilt?: Date | undefined;
|
|
7652
|
+
yearCompleted?: Date | undefined;
|
|
7653
|
+
notificationTypes?: string[] | undefined;
|
|
7654
|
+
notes?: {
|
|
7655
|
+
content: string;
|
|
7656
|
+
createdAt: Date;
|
|
7657
|
+
attachmentIds: string[];
|
|
7658
|
+
isImportant?: boolean | undefined;
|
|
7659
|
+
}[] | undefined;
|
|
5276
7660
|
attachmentsIds?: string[] | undefined;
|
|
5277
7661
|
seoMetadata?: any;
|
|
5278
7662
|
metadata?: any;
|
|
@@ -5436,22 +7820,6 @@ declare enum MediaSortField {
|
|
|
5436
7820
|
FILE_SIZE = "fileSize"
|
|
5437
7821
|
}
|
|
5438
7822
|
//#endregion
|
|
5439
|
-
//#region src/generated/media/ports/get-media.response.d.ts
|
|
5440
|
-
interface MediaResponse extends BaseRes {
|
|
5441
|
-
id: string;
|
|
5442
|
-
name: string;
|
|
5443
|
-
url: string;
|
|
5444
|
-
isPrivate: boolean;
|
|
5445
|
-
type: string;
|
|
5446
|
-
etag: string;
|
|
5447
|
-
bucket: string;
|
|
5448
|
-
versionId: string | undefined;
|
|
5449
|
-
contentType: string | undefined;
|
|
5450
|
-
originalName: string;
|
|
5451
|
-
metadata: Record<string, unknown> | undefined;
|
|
5452
|
-
fileSize: number;
|
|
5453
|
-
}
|
|
5454
|
-
//#endregion
|
|
5455
7823
|
//#region src/generated/media/ports/list-medias.request.d.ts
|
|
5456
7824
|
type MediasFilter = {
|
|
5457
7825
|
page: number;
|
|
@@ -6295,6 +8663,24 @@ declare const ProjectExceptions: {
|
|
|
6295
8663
|
readonly PROJECT_ALREADY_EXISTS: "Project already exists";
|
|
6296
8664
|
};
|
|
6297
8665
|
//#endregion
|
|
8666
|
+
//#region src/generated/project/ports/add-document-to-project.request.d.ts
|
|
8667
|
+
type AddDocumentToProjectInput = {
|
|
8668
|
+
name: string;
|
|
8669
|
+
category: DocumentCategory;
|
|
8670
|
+
type: DocumentType;
|
|
8671
|
+
version: number;
|
|
8672
|
+
mediaIds: string[];
|
|
8673
|
+
notes?: string | undefined;
|
|
8674
|
+
metadata?: Record<string, unknown> | undefined;
|
|
8675
|
+
isApproved?: boolean | undefined;
|
|
8676
|
+
};
|
|
8677
|
+
//#endregion
|
|
8678
|
+
//#region src/generated/project/ports/add-document-to-project.response.d.ts
|
|
8679
|
+
interface AddDocumentToProjectResponse extends BaseRes$1 {
|
|
8680
|
+
documentId: string;
|
|
8681
|
+
message: string;
|
|
8682
|
+
}
|
|
8683
|
+
//#endregion
|
|
6298
8684
|
//#region src/generated/project/project.enum.d.ts
|
|
6299
8685
|
declare enum ProjectType {
|
|
6300
8686
|
GREEN_CLEAN = "GREEN_CLEAN",
|
|
@@ -6871,7 +9257,8 @@ interface ProjectDetailModel extends ProjectSearchModel {
|
|
|
6871
9257
|
wardFullName: string;
|
|
6872
9258
|
wardCode: string;
|
|
6873
9259
|
}
|
|
6874
|
-
interface
|
|
9260
|
+
interface ProjectMediaReadModel {
|
|
9261
|
+
projectMediaId: string;
|
|
6875
9262
|
projectId: string;
|
|
6876
9263
|
id: string;
|
|
6877
9264
|
name: string;
|
|
@@ -6884,6 +9271,24 @@ interface ProjectMediaModel {
|
|
|
6884
9271
|
bucket: string;
|
|
6885
9272
|
metadata?: Record<string, unknown>;
|
|
6886
9273
|
versionId?: string;
|
|
9274
|
+
isCover: boolean;
|
|
9275
|
+
description?: string;
|
|
9276
|
+
displayName?: string;
|
|
9277
|
+
}
|
|
9278
|
+
interface ProjectMediaInsertData {
|
|
9279
|
+
id: string;
|
|
9280
|
+
projectId: string;
|
|
9281
|
+
mediaId: string;
|
|
9282
|
+
isCover?: boolean;
|
|
9283
|
+
description?: string;
|
|
9284
|
+
displayName?: string;
|
|
9285
|
+
createdById: string;
|
|
9286
|
+
}
|
|
9287
|
+
interface ProjectMediaUpdateData {
|
|
9288
|
+
isCover?: boolean;
|
|
9289
|
+
description?: string;
|
|
9290
|
+
displayName?: string;
|
|
9291
|
+
updatedById: string;
|
|
6887
9292
|
}
|
|
6888
9293
|
interface ProjectUtilityModel {
|
|
6889
9294
|
id: string;
|
|
@@ -6899,6 +9304,21 @@ interface ProjectDocumentModel {
|
|
|
6899
9304
|
category: string;
|
|
6900
9305
|
type: string;
|
|
6901
9306
|
notes?: string;
|
|
9307
|
+
mediaIds?: string[];
|
|
9308
|
+
metadata?: Record<string, unknown>;
|
|
9309
|
+
}
|
|
9310
|
+
interface MediaDetailModel {
|
|
9311
|
+
id: string;
|
|
9312
|
+
name: string;
|
|
9313
|
+
isPrivate?: boolean;
|
|
9314
|
+
type: string;
|
|
9315
|
+
etag: string;
|
|
9316
|
+
bucket: string;
|
|
9317
|
+
versionId?: string;
|
|
9318
|
+
contentType?: string;
|
|
9319
|
+
originalName: string;
|
|
9320
|
+
metadata?: Record<string, unknown>;
|
|
9321
|
+
fileSize?: number;
|
|
6902
9322
|
}
|
|
6903
9323
|
interface PropertyMapWithMediaModel {
|
|
6904
9324
|
id: string;
|
|
@@ -6933,22 +9353,46 @@ interface ProjectPagination {
|
|
|
6933
9353
|
page: number;
|
|
6934
9354
|
limit: number;
|
|
6935
9355
|
}
|
|
9356
|
+
interface DocumentToProjectInsertData {
|
|
9357
|
+
id: string;
|
|
9358
|
+
documentId: string;
|
|
9359
|
+
projectId: string;
|
|
9360
|
+
createdById: string;
|
|
9361
|
+
}
|
|
6936
9362
|
interface ProjectDataPort {
|
|
6937
9363
|
findProjectById(id: string, trx?: Transaction<Database>): Promise<Selectable<ProjectsTable> | undefined>;
|
|
6938
9364
|
insertProject(data: ProjectInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
6939
9365
|
updateProject(id: string, data: ProjectUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
6940
9366
|
softDeleteProject(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
6941
|
-
setProjectMedias(projectId: string, mediaIds: string[], trx?: Transaction<Database>): Promise<void>;
|
|
9367
|
+
setProjectMedias(projectId: string, mediaIds: string[], createdById: string, trx?: Transaction<Database>): Promise<void>;
|
|
6942
9368
|
findProjectMediaIds(projectId: string, trx?: Transaction<Database>): Promise<string[]>;
|
|
9369
|
+
addProjectMedias(data: ProjectMediaInsertData[], trx?: Transaction<Database>): Promise<void>;
|
|
9370
|
+
updateProjectMedia(projectId: string, mediaId: string, data: ProjectMediaUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
9371
|
+
removeProjectMedia(projectId: string, mediaId: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
9372
|
+
countProjectMedias(projectId: string, trx?: Transaction<Database>): Promise<number>;
|
|
9373
|
+
findProjectMediaByMediaId(projectId: string, mediaId: string, trx?: Transaction<Database>): Promise<ProjectMediaReadModel | undefined>;
|
|
9374
|
+
unsetCoverForProject(projectId: string, trx?: Transaction<Database>): Promise<void>;
|
|
9375
|
+
setFirstMediaAsCover(projectId: string, trx?: Transaction<Database>): Promise<void>;
|
|
6943
9376
|
countPropertiesByProjectIds(projectIds: string[], trx?: Transaction<Database>): Promise<Map<string, number>>;
|
|
6944
9377
|
setManagementBrokers(projectId: string, brokerIds: string[], trx?: Transaction<Database>): Promise<void>;
|
|
6945
9378
|
findAndCountProjects(filter: ProjectSearchFilter, pagination: ProjectPagination, trx?: Transaction<Database>): Promise<[ProjectSearchModel[], number]>;
|
|
6946
|
-
findProjectMediasByProjectIds(projectIds: string[], trx?: Transaction<Database>): Promise<
|
|
9379
|
+
findProjectMediasByProjectIds(projectIds: string[], trx?: Transaction<Database>): Promise<ProjectMediaReadModel[]>;
|
|
6947
9380
|
findProjectWithAllDetails(id: string, trx?: Transaction<Database>): Promise<ProjectDetailModel | undefined>;
|
|
6948
9381
|
findProjectUtilitiesWithDetails(projectId: string, trx?: Transaction<Database>): Promise<ProjectUtilityModel[]>;
|
|
6949
9382
|
findProjectDocuments(projectId: string, trx?: Transaction<Database>): Promise<ProjectDocumentModel[]>;
|
|
6950
9383
|
findPropertyMapByProjectId(projectId: string, trx?: Transaction<Database>): Promise<PropertyMapWithMediaModel | undefined>;
|
|
6951
9384
|
countLandLotsByProjectId(projectId: string, trx?: Transaction<Database>): Promise<number>;
|
|
9385
|
+
insertDocumentToProject(data: DocumentToProjectInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
9386
|
+
findDocumentOfProject(projectId: string, documentId: string, trx?: Transaction<Database>): Promise<{
|
|
9387
|
+
id: string;
|
|
9388
|
+
} | undefined>;
|
|
9389
|
+
softDeleteDocumentOfProject(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
9390
|
+
findMediasByIds(ids: string[], trx?: Transaction<Database>): Promise<MediaDetailModel[]>;
|
|
9391
|
+
}
|
|
9392
|
+
//#endregion
|
|
9393
|
+
//#region src/generated/project/ports/remove-document-from-project.response.d.ts
|
|
9394
|
+
interface deleteDocumentFromProjectResponse extends BaseRes$1 {
|
|
9395
|
+
success: boolean;
|
|
6952
9396
|
}
|
|
6953
9397
|
//#endregion
|
|
6954
9398
|
//#region src/generated/project/ports/search-projects.request.d.ts
|
|
@@ -7009,6 +9453,23 @@ interface ProjectsResponse extends BaseRes {
|
|
|
7009
9453
|
totalPages: number;
|
|
7010
9454
|
}
|
|
7011
9455
|
//#endregion
|
|
9456
|
+
//#region src/generated/project/ports/update-project-document.request.d.ts
|
|
9457
|
+
type UpdateProjectDocumentInput = {
|
|
9458
|
+
name?: string | undefined;
|
|
9459
|
+
category?: DocumentCategory | undefined;
|
|
9460
|
+
type?: DocumentType | undefined;
|
|
9461
|
+
version?: number | undefined;
|
|
9462
|
+
notes?: string | undefined;
|
|
9463
|
+
mediaIds?: string[] | undefined;
|
|
9464
|
+
metadata?: Record<string, unknown> | undefined;
|
|
9465
|
+
isApproved?: boolean | undefined;
|
|
9466
|
+
};
|
|
9467
|
+
//#endregion
|
|
9468
|
+
//#region src/generated/project/ports/update-project-document.response.d.ts
|
|
9469
|
+
interface UpdateProjectDocumentResponse extends BaseRes$1 {
|
|
9470
|
+
message: string;
|
|
9471
|
+
}
|
|
9472
|
+
//#endregion
|
|
7012
9473
|
//#region src/generated/project/ports/update-project.request.d.ts
|
|
7013
9474
|
type UpdateProjectInput = {
|
|
7014
9475
|
id: string;
|
|
@@ -7077,6 +9538,7 @@ type UpdateProjectInput = {
|
|
|
7077
9538
|
greenParkArea?: number | undefined;
|
|
7078
9539
|
infrastructureOtherDescription?: string | undefined;
|
|
7079
9540
|
description?: string | undefined;
|
|
9541
|
+
videoUrl?: string | null | undefined;
|
|
7080
9542
|
status?: ProjectApprovalStatus | undefined;
|
|
7081
9543
|
metadata?: any;
|
|
7082
9544
|
mediaIds?: string[] | undefined;
|
|
@@ -7793,5 +10255,5 @@ interface UtilityDataPort {
|
|
|
7793
10255
|
} | undefined>;
|
|
7794
10256
|
}
|
|
7795
10257
|
//#endregion
|
|
7796
|
-
export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsInput, AddDealStepParticipantsResponse, AdministratorDataPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, AgreementTemplateInsertData, AgreementTemplateModel, AgreementTemplateResponse, AgreementTemplateType, AgreementTemplateUpdateData, AgreementTemplatesFilter, AgreementTemplatesResponse, type AgreementTemplatesTable, AgreementTypeDataPort, AgreementTypeExceptions, AgreementTypeModel, type AgreementTypesTable, AgreementUpdateData, type AgreementsTable, AppointmentConfidentialityAgreement, type AppointmentConfidentialityAgreementsTable, AppointmentDataPort, AppointmentExceptions, AppointmentInsertData, AppointmentItem, AppointmentListFilter, AppointmentMediaInsertData, AppointmentModel, AppointmentParticipant, AppointmentParticipantInsertData, AppointmentParticipantModel, AppointmentParticipantWithUserModel, type AppointmentParticipantsTable, AppointmentResponse, AppointmentStatus, AppointmentType, AppointmentUpdateData, AppointmentWithParticipantsModel, AppointmentsFilter, AppointmentsResponse, type AppointmentsTable, ApproveAccountResponse, ApproveConsignmentRequestInput, ApproveConsignmentRequestResponse, ApproveDocumentResponse, ApproveForSaleAdminInput, ApproveForSaleAdminResponse, ApproveForSaleInput, ApproveForSaleResponse, ApproveOrderRequestResponse, ApproveTicketsInput, ApproveTicketsResponse, AssignConsignmentRequestToBrokerInput, AssignConsignmentRequestToBrokerResponse, AssignOrderRequestToBrokerInput, AssignOrderRequestToBrokerResponse, type AssignPropertyToBrokerInput, type AssignPropertyToBrokerResponse, type AssignedBrokerItem, BA_DINH_WARD_NO, BaseErrorResponse, BaseRes, BaseResponse, BlackListEntityType, BlackListStatus, type BlackListsTable, BlacklistExceptions, BlacklistFilter, BlacklistInsertData, BlacklistListFilter, BlacklistModel, BlacklistPort, BlacklistResponse, BlacklistUpdateData, BlacklistsFilter, BlacklistsResponse, BrokerCommandPort, BrokerConvertClientToJsonResponse, BrokerExceptions, BrokerImportClientFailedItem, BrokerImportClientFileInput, BrokerImportClientFromJsonInput, BrokerImportClientResponse, BrokerImportClientSuccessItem, BrokerSummaryModel, CancelAppointmentInput, CancelAppointmentResponse, ChangeAvatarResponse, ChangeNicknameInput, ChangeNicknameResponse, ChangePasswordInput, ChangePasswordResponse, ChatGroupDataPort, ChatGroupFilter, ChatGroupInsertData, ChatGroupMemberFilter, ChatGroupMemberInsertData, ChatGroupMemberItem, ChatGroupMemberModel, ChatGroupMemberRole, ChatGroupMemberUpdateData, ChatGroupMembersFilter, ChatGroupMembersResponse, type ChatGroupMembersTable, ChatGroupModel, ChatGroupResponse, ChatGroupStatsModel, ChatGroupUpdateData, ChatGroupsFilter, ChatGroupsResponse, type ChatGroupsTable, ChatMessageFilter, ChatMessageInsertData, ChatMessageItem, ChatMessageModel, ChatMessagesFilter, ChatMessagesResponse, type ChatMessagesTable, CheckNicknameAvailabilityInput, CheckNicknameAvailabilityResponse, ClientCategoriesFilter, ClientCategoriesReadResult, ClientCategoriesResponse, type ClientCategoriesTable, type ClientCategoryClientsTable, ClientCategoryExceptions, ClientCategoryFilter, ClientCategoryItem, ClientCategoryModel, ClientCategoryResponse, ClientExceptions, ClientFilter, ClientModel, ClientNeed, ClientReadPort, ClientResponse, ClientRoles, ClientSource, ClientStatus, ClientType, ClientsFilter, ClientsReadResult, ClientsResponse, type ClientsTable, CompleteAppointmentInput, CompleteAppointmentResponse, ConfidentialityAgreementInsertData, ConfidentialityAgreementModel, ConfirmCreateAccountClientInput, ConfirmCreateAccountClientResponse, ConfirmCreateAccountInput, ConfirmCreateAccountResponse, ConfirmPaymentInstallmentInput, ConfirmPaymentInstallmentResponse, ConfirmPaymentProcessInput, ConfirmPaymentProcessResponse, ConfirmUpdateEmailInput, ConfirmUpdateEmailResponse, ConfirmUpdatePhoneNumberInput, ConfirmUpdatePhoneNumberResponse, ConsignmentRequestDataPort, ConsignmentRequestExceptions, ConsignmentRequestFilter, ConsignmentRequestInsertData, ConsignmentRequestListFilter, ConsignmentRequestModel, ConsignmentRequestResponse, ConsignmentRequestType, ConsignmentRequestUpdateData, ConsignmentRequestsFilter, ConsignmentRequestsResponse, type ConsignmentRequestsTable, ConversationExceptions, ConversationPagination, ConvertBrokerClientToJsonInput, ConvertBrokerClientToJsonResponse, ConvertBrokerClientType, CreateAgreementTemplateInput, CreateAgreementTemplateResponse, CreateAppointmentInput, CreateAppointmentResponse, CreateBlacklistInput, CreateBlacklistResponse, CreateBrokerFromRegisterLinkInput, CreateBrokerFromRegisterLinkResponse, CreateBrokerInput, CreateBrokerResponse, CreateChatGroupInput, CreateChatGroupResponse, CreateChatMessageInput, CreateChatMessageResponse, CreateClientCategoryInput, CreateClientCategoryResponse, CreateClientInput, CreateClientResponse, CreateConsignmentRequestInput, CreateConsignmentRequestResponse, CreateDealInput, CreateDealResponse, CreateForSaleInput, CreateForSaleResponse, CreateOrderRequestInput, CreateOrderRequestResponse, CreatePaymentInstallmentInput, CreatePaymentInstallmentResponse, CreatePaymentProcessInput, CreatePaymentProcessResponse, CreatePreDealInput, CreatePreDealResponse, CreateProjectInput, CreateProjectResponse, CreatePropertyInput, CreatePropertyMapInput, type CreatePropertyMapResponse, type CreatePropertyResponse, CreateRepresentativeInvestorInput, CreateRepresentativeInvestorResponse, CreateUtilityInput, CreateUtilityResponse, Database, DealDataPort, DealExceptions, DealFilter, DealFilterType, DealInsertData, DealItem, DealModel, DealParticipantModel, DealParticipantProfile, DealPaymentInstallment, DealProgress, DealStatus, DealStepAttachment, DealStepCreator, DealStepExceptions, DealStepHistoryItem, DealStepInsertData, DealStepModel, DealStepParticipantInsertData, type DealStepParticipantsTable, DealStepStatus, DealStepUpdateData, DealStepWithCreatorModel, DealStepsResponse, type DealStepsTable, DealSummaryResponse, DealUpdateData, DealWithSummaryModel, DealsFilter, DealsForUserFilter, DealsResponse, type DealsTable, DeleteAgreementTemplateResponse, DeleteAppointmentInput, DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryInput, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteForSaleInput, DeleteForSaleResponse, DeleteInvestorRepresentativeResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, type DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, type DocumentToProjectTable, DocumentType, DocumentUpdateData, type DocumentsTable, ForSaleApproveData, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleDataPort, ForSaleExceptions, ForSaleFilter, ForSaleInfrastructureStatus, ForSaleInsertData, ForSaleModel, ForSalePostType, ForSalePropertyType, ForSaleResponse, ForSaleRoadType, ForSaleStatus, ForSaleUpdateData, ForSaleUtilities, ForSalesFilter, ForSalesResponse, type ForSalesTable, ForgotPasswordInput, ForgotPasswordResponse, GenerateInvestorRegisterLinkInput, GenerateInvestorRegisterLinkResponse, GetManagementBrokerForProjectResponse, type IdentitiesTable, IdentityCardDataPort, IdentityCardEncryptedModel, IdentityCardInsertData, IdentityCardModel, IdentityCardUpdateData, type IdentityCardsTable, IdentityExceptions, IdentityInsertData, IdentityModel, IdentityNationality, IdentityType, IdentityUpdateData, IdentityVerificationProcessInsertData, IdentityVerificationProcessModel, type IdentityVerificationProcessesTable, IdentityVerificationStatus, ImportBrokerClientFileInput, ImportBrokerClientFileResponse, ImportBrokerClientFromJsonInput, ImportBrokerClientFromJsonResponse, IndustrialParkExceptions, InvestorExceptions, InvestorRepresentativeItem, InvestorRepresentativeResponse, InvestorRepresentativesResponse, InviteInvestorRepresentativeResponse, InviteMemberChatGroupInput, InviteMemberChatGroupResponse, JobStatus, JobType, type JobsTable, LandCurrentStatus, LandType, LinkChatGroupToDealInput, LinkChatGroupToDealResponse, LinkChatGroupToDealStepInput, LinkChatGroupToDealStepResponse, LocationFilter, LocationReadPort, ManagementBrokerItem, ManagementBrokersResponse, MediaAttachmentModel, MediaExceptions, MediaInsertData, MediaItem, MediaListFilter, MediaPort, MediaReadData, MediaResponse, MediaSortField, MediaType, MediasFilter, MediasResponse, type MediasTable, MessageType, NotificationChannelModel, NotificationChannelTranslationModel, type NotificationChannelTranslationsTable, type NotificationChannelsTable, NotificationCommandPort, NotificationDataPort, NotificationDetailStatus, NotificationEnv, type NotificationEventsTable, NotificationMessageInsertData, NotificationMessageModel, type NotificationMessagesTable, NotificationScheduleInsertData, NotificationScheduleListFilter, NotificationScheduleModel, NotificationScheduleResponse, NotificationScheduleStatus, NotificationScheduleUpdateData, type NotificationSchedulesTable, NotificationSettingFilter, NotificationType, NotificationsResponse, OrderRequestDataPort, OrderRequestExceptions, OrderRequestInsertData, OrderRequestListFilter, OrderRequestModel, OrderRequestResponse, OrderRequestType, OrderRequestUpdateData, OrderRequestsFilter, OrderRequestsResponse, type OrderRequestsTable, OrganizationInsertData, OrganizationListFilter, OrganizationModel, OrganizationPort, OrganizationUpdateData, type OrganizationsTable, Orientation, OtpDataPort, OtpInsertData, OtpModel, OtpType, OtpUpdateData, type OtpsTable, type OutboxConsumerCursorsTable, type OutboxEventsTable, OwnerAuthorizeForSystemInput, OwnerAuthorizeForSystemResponse, type OwnerItem, Paginated, ParticipantRole, ParticipantStatus, PaymentConfirmationInsertData, type PaymentConfirmationsTable, PaymentDataPort, PaymentInstallmentFilter, PaymentInstallmentInsertData, PaymentInstallmentModel, PaymentInstallmentQueryFilter, PaymentInstallmentResponse, PaymentInstallmentStatus, PaymentInstallmentSummaryModel, PaymentInstallmentUpdateData, PaymentInstallmentsFilter, PaymentInstallmentsResponse, type PaymentInstallmentsTable, PaymentPagination, PaymentProcessExceptions, PaymentProcessFilter, PaymentProcessInsertData, PaymentProcessModel, PaymentProcessQueryFilter, PaymentProcessResponse, PaymentProcessStatus, PaymentProcessUpdateData, PaymentProcessesFilter, PaymentProcessesResponse, type PaymentProcessesTable, type PermissionsTable, PolygonCoordinate, PreDealExceptions, PreDealInsertData, PreDealItem, PreDealModel, PreDealResponse, PreDealsFilter, PreDealsPagination, PreDealsResponse, type PreDealsTable, PreviewAgreementResponse, ProgressToNextStepInput, ProgressToNextStepResponse, ProjectApprovalStatus, ProjectBoApprover, ProjectClassification, ProjectCurrentStatus, ProjectDataPort, ProjectDetailModel, ProjectDocumentModel, ProjectExceptions, ProjectFilter, ProjectInsertData, ProjectItem, ProjectMedia, ProjectMediaModel, ProjectModel, ProjectOwner, ProjectPagination, ProjectProvince, ProjectResponse, ProjectSearchFilter, ProjectSearchModel, ProjectServiceFee, ProjectStage, ProjectStandard, type ProjectSummaryItem, ProjectSummaryModel, type ProjectToBrokersTable, type ProjectToMediasTable, ProjectType, ProjectUpdateData, type ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, type ProjectsTable, PropertiesFilter, PropertiesResponse, type PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchItem, type PropertyBranchUserPermissionsTable, type PropertyBranchUtilitiesTable, PropertyBranchUtilityInsertData, type PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, type PropertyDetailsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, type PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, type PropertyMapsTable, PropertyOperationStatus, PropertyResponse, PropertyTransactionStatus, PropertyType, PropertyVersionModel, type PropertyVersionsTable, PropertyVisualizationInsertData, type PropertyVisualizationItem, PropertyVisualizationModel, PropertyVisualizationUpdateData, type PropertyVisualizationsFilter, PropertyVisualizationsResponse, type PropertyVisualizationsTable, ProvinceExceptions, ProvinceListFilter, ProvinceModel, type ProvincesTable, ReadNotificationInput, ReadNotificationResponse, RefreshTokenInput, RefreshTokenResponse, RegisterAccountRequestInsertData, RegisterAccountRequestModel, RegisterAccountRequestUpdateData, type RegisterAccountRequestsTable, RegisterAccountVerificationInsertData, RegisterAccountVerificationModel, RegisterAccountVerificationUpdateData, type RegisterAccountVerificationsTable, RegisterDataPort, RegisterExceptions, RegisterInvestorRepresentativeResponse, RegisterRequestFilter, RejectTicketsInput, RejectTicketsResponse, RemoveDealStepParticipantsInput, RemoveDealStepParticipantsResponse, RemoveMemberChatGroupInput, RemoveMemberChatGroupResponse, RequestCreateAccountClientInput, RequestCreateAccountClientResponse, RequestCreateAccountInput, RequestCreateAccountResponse, RequestUpdateEmailInput, RequestUpdateEmailResponse, RequestUpdatePhoneNumberInput, RequestUpdatePhoneNumberResponse, RestoreAgreementTemplateResponse, RestoredAgreementTemplate, RoleCodes, RoleExceptions, RoleModel, type RolePermissionsTable, type RolesTable, ScheduleNotificationInput, ScheduleNotificationResponse, ScheduleType, SchedulerStatus, SearchDealModel, type SessionsTable, SetNewPasswordWhenForgotInput, SetNewPasswordWhenForgotResponse, SetPinnedMessageInput, SetPinnedMessageResponse, SettingExceptions, SignAgreementResponse, SignInInput, SignInResponse, SignOutInput, SignOutResponse, SortDirection, TicketExceptions, TicketInsertData, TicketItem, TicketListFilter, TicketModel, TicketPort, TicketStatus, TicketType, TicketUpdateData, TicketsFilter, TicketsResponse, type TicketsTable, UnreadCountByChannel, UpdateAgreementTemplateInput, UpdateAgreementTemplateResponse, UpdateAppointmentInput, UpdateAppointmentResponse, UpdateBlacklistInput, UpdateBlacklistResponse, UpdateBrokerPropertyPermissionData, UpdateChatGroupInput, UpdateChatGroupMemberInput, UpdateChatGroupMemberResponse, UpdateChatGroupResponse, UpdateClientCategoryInput, UpdateClientCategoryResponse, UpdateClientInput, UpdateClientResponse, UpdateConsignmentRequestInput, UpdateConsignmentRequestResponse, UpdateDealStepStatusInput, UpdateDealStepStatusResponse, UpdateForSaleInput, UpdateForSaleResponse, UpdateNotificationSettingsInput, UpdateNotificationSettingsResponse, UpdateOrderRequestInput, UpdateOrderRequestResponse, UpdatePaymentInstallmentInput, UpdatePaymentInstallmentResponse, UpdatePaymentProcessInput, UpdatePaymentProcessResponse, UpdateProfileInput, UpdateProfileResponse, UpdateProjectInput, UpdateProjectResponse, UpdatePropertyInput, type UpdatePropertyMapInput, type UpdatePropertyMapResponse, type UpdatePropertyResponse, type UpdatePropertyVisualizationResponse, UpdateUtilityInput, UpdateUtilityResponse, UpgradeToBrokerFromClientInput, UpgradeToBrokerFromClientResponse, UpgradeToInvestorRepresentativeFromClientInput, UpgradeToInvestorRepresentativeFromClientResponse, UploadAgreementInput, UploadAgreementResponse, UploadConfidentialityAgreementInput, UploadConfidentialityAgreementResponse, UploadDocumentByAdministratorInput, UploadDocumentByAdministratorResponse, UploadMediaInput, UploadMediaResponse, UserDataPort, UserExceptions, UserFilter, UserGender, type UserHistoriesTable, UserHistoryType, UserInsertData, UserLanguage, UserListFilter, UserModel, UserNotificationSettingInsertData, UserNotificationSettingModel, type UserNotificationSettingsTable, UserPermissionsResponse, UserProfileResponse, UserStatus, UserSummaryModel, UserToRoleInsertData, UserToRoleModel, type UserToRoleTable, UserUpdateData, UserWithAuthModel, UserWithAvatarModel, UserWithRoleModel, type UsersTable, UtilitiesFilter, UtilitiesResponse, type UtilitiesTable, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, type WardsTable };
|
|
10258
|
+
export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsInput, AddDealStepParticipantsResponse, AddDocumentToProjectInput, AddDocumentToProjectResponse, AdministratorDataPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, AgreementTemplateInsertData, AgreementTemplateModel, AgreementTemplateResponse, AgreementTemplateType, AgreementTemplateUpdateData, AgreementTemplatesFilter, AgreementTemplatesResponse, type AgreementTemplatesTable, AgreementTypeDataPort, AgreementTypeExceptions, AgreementTypeModel, type AgreementTypesTable, AgreementUpdateData, type AgreementsTable, AppointmentConfidentialityAgreement, type AppointmentConfidentialityAgreementsTable, AppointmentDataPort, AppointmentExceptions, AppointmentInsertData, AppointmentItem, AppointmentListFilter, AppointmentMediaInsertData, AppointmentModel, AppointmentParticipant, AppointmentParticipantInsertData, AppointmentParticipantModel, AppointmentParticipantWithUserModel, type AppointmentParticipantsTable, AppointmentResponse, AppointmentStatus, AppointmentType, AppointmentUpdateData, AppointmentWithParticipantsModel, AppointmentsFilter, AppointmentsResponse, type AppointmentsTable, ApproveAccountResponse, ApproveConsignmentRequestInput, ApproveConsignmentRequestResponse, ApproveDocumentResponse, ApproveForSaleAdminInput, ApproveForSaleAdminResponse, ApproveForSaleInput, ApproveForSaleResponse, ApproveOrderRequestResponse, ApproveTicketsInput, ApproveTicketsResponse, AssignConsignmentRequestToBrokerInput, AssignConsignmentRequestToBrokerResponse, AssignOrderRequestToBrokerInput, AssignOrderRequestToBrokerResponse, type AssignPropertyToBrokerInput, type AssignPropertyToBrokerResponse, type AssignedBrokerItem, BA_DINH_WARD_NO, BaseErrorResponse, BaseRes, BaseResponse, BlackListEntityType, BlackListStatus, type BlackListsTable, BlacklistExceptions, BlacklistFilter, BlacklistInsertData, BlacklistListFilter, BlacklistModel, BlacklistPort, BlacklistResponse, BlacklistUpdateData, BlacklistsFilter, BlacklistsResponse, BrokerCommandPort, BrokerConvertClientToJsonResponse, BrokerExceptions, BrokerImportClientFailedItem, BrokerImportClientFileInput, BrokerImportClientFromJsonInput, BrokerImportClientResponse, BrokerImportClientSuccessItem, BrokerSummaryModel, CancelAppointmentInput, CancelAppointmentResponse, ChangeAvatarResponse, ChangeNicknameInput, ChangeNicknameResponse, ChangePasswordInput, ChangePasswordResponse, ChatGroupDataPort, ChatGroupFilter, ChatGroupInsertData, ChatGroupMemberFilter, ChatGroupMemberInsertData, ChatGroupMemberItem, ChatGroupMemberModel, ChatGroupMemberRole, ChatGroupMemberUpdateData, ChatGroupMembersFilter, ChatGroupMembersResponse, type ChatGroupMembersTable, ChatGroupModel, ChatGroupResponse, ChatGroupStatsModel, ChatGroupUpdateData, ChatGroupsFilter, ChatGroupsResponse, type ChatGroupsTable, ChatMessageFilter, ChatMessageInsertData, ChatMessageItem, ChatMessageModel, ChatMessagesFilter, ChatMessagesResponse, type ChatMessagesTable, CheckNicknameAvailabilityInput, CheckNicknameAvailabilityResponse, ClientCategoriesFilter, ClientCategoriesReadResult, ClientCategoriesResponse, type ClientCategoriesTable, type ClientCategoryClientsTable, ClientCategoryExceptions, ClientCategoryFilter, ClientCategoryItem, ClientCategoryModel, ClientCategoryResponse, ClientExceptions, ClientFilter, ClientModel, ClientNeed, ClientReadPort, ClientResponse, ClientRoles, ClientSource, ClientStatus, ClientType, ClientsFilter, ClientsReadResult, ClientsResponse, type ClientsTable, CompleteAppointmentInput, CompleteAppointmentResponse, ConfidentialityAgreementInsertData, ConfidentialityAgreementModel, ConfirmCreateAccountClientInput, ConfirmCreateAccountClientResponse, ConfirmCreateAccountInput, ConfirmCreateAccountResponse, ConfirmPaymentInstallmentInput, ConfirmPaymentInstallmentResponse, ConfirmPaymentProcessInput, ConfirmPaymentProcessResponse, ConfirmUpdateEmailInput, ConfirmUpdateEmailResponse, ConfirmUpdatePhoneNumberInput, ConfirmUpdatePhoneNumberResponse, ConsignmentRequestDataPort, ConsignmentRequestExceptions, ConsignmentRequestFilter, ConsignmentRequestInsertData, ConsignmentRequestListFilter, ConsignmentRequestModel, ConsignmentRequestResponse, ConsignmentRequestType, ConsignmentRequestUpdateData, ConsignmentRequestsFilter, ConsignmentRequestsResponse, type ConsignmentRequestsTable, ConversationExceptions, ConversationPagination, ConvertBrokerClientToJsonInput, ConvertBrokerClientToJsonResponse, ConvertBrokerClientType, CreateAgreementTemplateInput, CreateAgreementTemplateResponse, CreateAppointmentInput, CreateAppointmentResponse, CreateBlacklistInput, CreateBlacklistResponse, CreateBrokerFromRegisterLinkInput, CreateBrokerFromRegisterLinkResponse, CreateBrokerInput, CreateBrokerResponse, CreateChatGroupInput, CreateChatGroupResponse, CreateChatMessageInput, CreateChatMessageResponse, CreateClientCategoryInput, CreateClientCategoryResponse, CreateClientInput, CreateClientResponse, CreateConsignmentRequestInput, CreateConsignmentRequestResponse, CreateDealInput, CreateDealResponse, CreateForSaleInput, CreateForSaleResponse, CreateOrderRequestInput, CreateOrderRequestResponse, CreatePaymentInstallmentInput, CreatePaymentInstallmentResponse, CreatePaymentProcessInput, CreatePaymentProcessResponse, CreatePreDealInput, CreatePreDealResponse, CreateProjectInput, CreateProjectResponse, CreatePropertyInput, CreatePropertyMapInput, type CreatePropertyMapResponse, type CreatePropertyResponse, CreateRepresentativeInvestorInput, CreateRepresentativeInvestorResponse, CreateUtilityInput, CreateUtilityResponse, Database, DealDataPort, DealExceptions, DealFilter, DealFilterType, DealInsertData, DealItem, DealModel, DealParticipantModel, DealParticipantProfile, DealPaymentInstallment, DealProgress, DealStatus, DealStepAttachment, DealStepCreator, DealStepExceptions, DealStepHistoryItem, DealStepInsertData, DealStepModel, DealStepParticipantInsertData, type DealStepParticipantsTable, DealStepStatus, DealStepUpdateData, DealStepWithCreatorModel, DealStepsResponse, type DealStepsTable, DealSummaryResponse, DealUpdateData, DealWithSummaryModel, DealsFilter, DealsForUserFilter, DealsResponse, type DealsTable, DeleteAgreementTemplateResponse, DeleteAppointmentInput, DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryInput, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteForSaleInput, DeleteForSaleResponse, DeleteInvestorRepresentativeResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, type DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, DocumentToProjectInsertData, type DocumentToProjectTable, DocumentType, DocumentUpdateData, type DocumentsTable, ForSaleApproveData, ForSaleApproveStatus, ForSaleBuildingStandard, ForSaleDataFilter, ForSaleDataPort, ForSaleExceptions, ForSaleFilter, ForSaleInfrastructureStatus, ForSaleInsertData, ForSaleModel, ForSalePostType, ForSalePropertyType, ForSaleResponse, ForSaleRoadType, ForSaleStatus, ForSaleUpdateData, ForSaleUtilities, ForSalesFilter, ForSalesResponse, type ForSalesTable, ForgotPasswordInput, ForgotPasswordResponse, GenerateInvestorRegisterLinkInput, GenerateInvestorRegisterLinkResponse, GetManagementBrokerForProjectResponse, type IdentitiesTable, IdentityCardDataPort, IdentityCardEncryptedModel, IdentityCardInsertData, IdentityCardModel, IdentityCardUpdateData, type IdentityCardsTable, IdentityExceptions, IdentityInsertData, IdentityModel, IdentityNationality, IdentityType, IdentityUpdateData, IdentityVerificationProcessInsertData, IdentityVerificationProcessModel, type IdentityVerificationProcessesTable, IdentityVerificationStatus, ImportBrokerClientFileInput, ImportBrokerClientFileResponse, ImportBrokerClientFromJsonInput, ImportBrokerClientFromJsonResponse, IndustrialParkExceptions, InvestorExceptions, InvestorRepresentativeItem, InvestorRepresentativeResponse, InvestorRepresentativesResponse, InviteInvestorRepresentativeResponse, InviteMemberChatGroupInput, InviteMemberChatGroupResponse, JobStatus, JobType, type JobsTable, LandCurrentStatus, LandType, LinkChatGroupToDealInput, LinkChatGroupToDealResponse, LinkChatGroupToDealStepInput, LinkChatGroupToDealStepResponse, LocationFilter, LocationReadPort, ManagementBrokerItem, ManagementBrokersResponse, MediaAttachmentModel, MediaDetailModel, MediaExceptions, MediaInsertData, MediaItem, MediaListFilter, MediaPort, MediaReadData, MediaResponse, MediaSortField, MediaType, MediasFilter, MediasResponse, type MediasTable, MessageType, NotesItem, NotificationChannelModel, NotificationChannelTranslationModel, type NotificationChannelTranslationsTable, type NotificationChannelsTable, NotificationCommandPort, NotificationDataPort, NotificationDetailStatus, NotificationEnv, type NotificationEventsTable, NotificationMessageInsertData, NotificationMessageModel, type NotificationMessagesTable, NotificationScheduleInsertData, NotificationScheduleListFilter, NotificationScheduleModel, NotificationScheduleResponse, NotificationScheduleStatus, NotificationScheduleUpdateData, type NotificationSchedulesTable, NotificationSettingFilter, NotificationType, NotificationsResponse, OrderRequestDataPort, OrderRequestExceptions, OrderRequestInsertData, OrderRequestListFilter, OrderRequestModel, OrderRequestResponse, OrderRequestType, OrderRequestUpdateData, OrderRequestsFilter, OrderRequestsResponse, type OrderRequestsTable, OrganizationInsertData, OrganizationListFilter, OrganizationModel, OrganizationPort, OrganizationUpdateData, type OrganizationsTable, Orientation, OtpDataPort, OtpInsertData, OtpModel, OtpType, OtpUpdateData, type OtpsTable, type OutboxConsumerCursorsTable, type OutboxEventsTable, OwnerAuthorizeForSystemInput, OwnerAuthorizeForSystemResponse, type OwnerItem, Paginated, ParticipantRole, ParticipantStatus, PaymentConfirmationInsertData, type PaymentConfirmationsTable, PaymentDataPort, PaymentInstallmentFilter, PaymentInstallmentInsertData, PaymentInstallmentModel, PaymentInstallmentQueryFilter, PaymentInstallmentResponse, PaymentInstallmentStatus, PaymentInstallmentSummaryModel, PaymentInstallmentUpdateData, PaymentInstallmentsFilter, PaymentInstallmentsResponse, type PaymentInstallmentsTable, PaymentPagination, PaymentProcessExceptions, PaymentProcessFilter, PaymentProcessInsertData, PaymentProcessModel, PaymentProcessQueryFilter, PaymentProcessResponse, PaymentProcessStatus, PaymentProcessUpdateData, PaymentProcessesFilter, PaymentProcessesResponse, type PaymentProcessesTable, type PermissionsTable, PolygonCoordinate, PreDealExceptions, PreDealInsertData, PreDealItem, PreDealModel, PreDealResponse, PreDealsFilter, PreDealsPagination, PreDealsResponse, type PreDealsTable, PreviewAgreementResponse, ProgressToNextStepInput, ProgressToNextStepResponse, ProjectApprovalStatus, ProjectBoApprover, ProjectClassification, ProjectCurrentStatus, ProjectDataPort, ProjectDetailModel, ProjectDocumentModel, ProjectExceptions, ProjectFilter, ProjectInsertData, ProjectItem, ProjectMedia, ProjectMediaInsertData, ProjectMediaReadModel, ProjectMediaUpdateData, type ProjectMediasTable, ProjectModel, ProjectOwner, ProjectPagination, ProjectProvince, ProjectResponse, ProjectSearchFilter, ProjectSearchModel, ProjectServiceFee, ProjectStage, ProjectStandard, type ProjectSummaryItem, ProjectSummaryModel, type ProjectToBrokersTable, type ProjectToMediasTable, ProjectType, ProjectUpdateData, type ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, type ProjectsTable, PropertiesFilter, PropertiesResponse, type PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchUserPermissionsTable, type PropertyBranchUtilitiesTable, PropertyBranchUtilityInsertData, type PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, type PropertyDetailsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, type PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, type PropertyMapsTable, PropertyModel, PropertyOperationStatus, PropertyResponse, PropertyTransactionStatus, PropertyType, PropertyVersionModel, type PropertyVersionsTable, PropertyVisualizationInsertData, type PropertyVisualizationItem, PropertyVisualizationModel, PropertyVisualizationUpdateData, type PropertyVisualizationsFilter, PropertyVisualizationsResponse, type PropertyVisualizationsTable, ProvinceExceptions, ProvinceListFilter, ProvinceModel, type ProvincesTable, ReadNotificationInput, ReadNotificationResponse, RefreshTokenInput, RefreshTokenResponse, RegisterAccountRequestInsertData, RegisterAccountRequestModel, RegisterAccountRequestUpdateData, type RegisterAccountRequestsTable, RegisterAccountVerificationInsertData, RegisterAccountVerificationModel, RegisterAccountVerificationUpdateData, type RegisterAccountVerificationsTable, RegisterDataPort, RegisterExceptions, RegisterInvestorRepresentativeResponse, RegisterRequestFilter, RejectTicketsInput, RejectTicketsResponse, RemoveDealStepParticipantsInput, RemoveDealStepParticipantsResponse, RemoveMemberChatGroupInput, RemoveMemberChatGroupResponse, RequestCreateAccountClientInput, RequestCreateAccountClientResponse, RequestCreateAccountInput, RequestCreateAccountResponse, RequestUpdateEmailInput, RequestUpdateEmailResponse, RequestUpdatePhoneNumberInput, RequestUpdatePhoneNumberResponse, RestoreAgreementTemplateResponse, RestoredAgreementTemplate, RoleCodes, RoleExceptions, RoleModel, type RolePermissionsTable, type RolesTable, ScheduleNotificationInput, ScheduleNotificationResponse, ScheduleType, SchedulerStatus, SearchDealModel, type SessionsTable, SetNewPasswordWhenForgotInput, SetNewPasswordWhenForgotResponse, SetPinnedMessageInput, SetPinnedMessageResponse, SettingExceptions, SignAgreementResponse, SignInInput, SignInResponse, SignOutInput, SignOutResponse, SortDirection, TicketExceptions, TicketInsertData, TicketItem, TicketListFilter, TicketModel, TicketPort, TicketStatus, TicketType, TicketUpdateData, TicketsFilter, TicketsResponse, type TicketsTable, UnreadCountByChannel, UpdateAgreementTemplateInput, UpdateAgreementTemplateResponse, UpdateAppointmentInput, UpdateAppointmentResponse, UpdateBlacklistInput, UpdateBlacklistResponse, UpdateBrokerPropertyPermissionData, UpdateChatGroupInput, UpdateChatGroupMemberInput, UpdateChatGroupMemberResponse, UpdateChatGroupResponse, UpdateClientCategoryInput, UpdateClientCategoryResponse, UpdateClientInput, UpdateClientResponse, UpdateConsignmentRequestInput, UpdateConsignmentRequestResponse, UpdateDealStepStatusInput, UpdateDealStepStatusResponse, UpdateForSaleInput, UpdateForSaleResponse, UpdateNotificationSettingsInput, UpdateNotificationSettingsResponse, UpdateOrderRequestInput, UpdateOrderRequestResponse, UpdatePaymentInstallmentInput, UpdatePaymentInstallmentResponse, UpdatePaymentProcessInput, UpdatePaymentProcessResponse, UpdateProfileInput, UpdateProfileResponse, UpdateProjectDocumentInput, UpdateProjectDocumentResponse, UpdateProjectInput, UpdateProjectResponse, UpdatePropertiesFailedItem, UpdatePropertiesInput, UpdatePropertiesResponse, UpdatePropertyInput, type UpdatePropertyMapInput, type UpdatePropertyMapResponse, type UpdatePropertyResponse, type UpdatePropertyVisualizationResponse, UpdateUtilityInput, UpdateUtilityResponse, UpgradeToBrokerFromClientInput, UpgradeToBrokerFromClientResponse, UpgradeToInvestorRepresentativeFromClientInput, UpgradeToInvestorRepresentativeFromClientResponse, UploadAgreementInput, UploadAgreementResponse, UploadConfidentialityAgreementInput, UploadConfidentialityAgreementResponse, UploadDocumentByAdministratorInput, UploadDocumentByAdministratorResponse, UploadMediaInput, UploadMediaResponse, UserDataPort, UserExceptions, UserFilter, UserGender, type UserHistoriesTable, UserHistoryType, UserInsertData, UserLanguage, UserListFilter, UserModel, UserNotificationSettingInsertData, UserNotificationSettingModel, type UserNotificationSettingsTable, UserPermissionsResponse, UserProfileResponse, UserStatus, UserSummaryModel, UserToRoleInsertData, UserToRoleModel, type UserToRoleTable, UserUpdateData, UserWithAuthModel, UserWithAvatarModel, UserWithRoleModel, type UsersTable, UtilitiesFilter, UtilitiesResponse, type UtilitiesTable, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, type WardsTable, deleteDocumentFromProjectResponse };
|
|
7797
10259
|
//# sourceMappingURL=index.d.mts.map
|