@investtal/models 1.5.6 → 1.6.3
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/CHANGELOG.md +59 -76
- package/dist/index.cjs +97 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +693 -2689
- package/dist/index.d.mts +693 -2689
- package/dist/index.mjs +88 -82
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ListingType as ListingType$1 } from "@investtal/models";
|
|
1
2
|
import { Insertable, Selectable, Transaction } from "kysely";
|
|
2
|
-
import
|
|
3
|
+
import * as _$_modules_industrial_property_validators0 from "#modules/industrial-property/validators";
|
|
3
4
|
|
|
4
5
|
//#region src/common/constant.d.ts
|
|
5
6
|
declare const BA_DINH_WARD_NO = "00004";
|
|
@@ -390,49 +391,6 @@ interface DocumentsTable {
|
|
|
390
391
|
deletedById?: string;
|
|
391
392
|
}
|
|
392
393
|
//#endregion
|
|
393
|
-
//#region src/generated/tables/for-sales.table.d.ts
|
|
394
|
-
interface ForSalesTable {
|
|
395
|
-
id: string;
|
|
396
|
-
title: string;
|
|
397
|
-
content: string;
|
|
398
|
-
address: string;
|
|
399
|
-
latitude: number;
|
|
400
|
-
longitude: number;
|
|
401
|
-
landArea: number;
|
|
402
|
-
constructionArea: number;
|
|
403
|
-
roadWidth: number;
|
|
404
|
-
roadType: string;
|
|
405
|
-
floorCount: number;
|
|
406
|
-
buildingStandard: string;
|
|
407
|
-
depreciationPercent: number;
|
|
408
|
-
infrastructureStatus: string;
|
|
409
|
-
utilities?: string[];
|
|
410
|
-
totalPrice: number;
|
|
411
|
-
pricePerSqm: number;
|
|
412
|
-
negotiable?: boolean;
|
|
413
|
-
propertyType: string;
|
|
414
|
-
postType: string;
|
|
415
|
-
note?: Record<string, unknown>;
|
|
416
|
-
seoTitle?: string;
|
|
417
|
-
seoDescription?: string;
|
|
418
|
-
seoThumbnail?: string;
|
|
419
|
-
status: string;
|
|
420
|
-
approveStatus: string;
|
|
421
|
-
attachmentIds?: string[];
|
|
422
|
-
imageIds?: string[];
|
|
423
|
-
code: string;
|
|
424
|
-
slug: string;
|
|
425
|
-
propertyId?: string;
|
|
426
|
-
projectId?: string;
|
|
427
|
-
version?: number;
|
|
428
|
-
createdAt?: Date;
|
|
429
|
-
updatedAt?: Date;
|
|
430
|
-
deletedAt?: Date;
|
|
431
|
-
createdById: string;
|
|
432
|
-
updatedById?: string;
|
|
433
|
-
deletedById?: string;
|
|
434
|
-
}
|
|
435
|
-
//#endregion
|
|
436
394
|
//#region src/generated/tables/identities.table.d.ts
|
|
437
395
|
interface IdentitiesTable {
|
|
438
396
|
id: string;
|
|
@@ -508,6 +466,54 @@ interface JobsTable {
|
|
|
508
466
|
deletedById?: string;
|
|
509
467
|
}
|
|
510
468
|
//#endregion
|
|
469
|
+
//#region src/generated/tables/listings.table.d.ts
|
|
470
|
+
interface ListingsTable {
|
|
471
|
+
id: string;
|
|
472
|
+
title: string;
|
|
473
|
+
content: string;
|
|
474
|
+
address: string;
|
|
475
|
+
latitude: number;
|
|
476
|
+
longitude: number;
|
|
477
|
+
landArea?: number;
|
|
478
|
+
constructionArea?: number;
|
|
479
|
+
roadWidth?: number;
|
|
480
|
+
roadLength?: number;
|
|
481
|
+
roadType?: string;
|
|
482
|
+
floorCount?: number;
|
|
483
|
+
utilityIds?: string[];
|
|
484
|
+
totalPrice: number;
|
|
485
|
+
pricePerSqm?: number;
|
|
486
|
+
negotiable?: boolean;
|
|
487
|
+
partOfPropertyTitle?: string;
|
|
488
|
+
propertyType?: string;
|
|
489
|
+
propertyTitle?: string;
|
|
490
|
+
postType?: string;
|
|
491
|
+
note?: Record<string, unknown>;
|
|
492
|
+
seoTitle?: string;
|
|
493
|
+
seoDescription?: string;
|
|
494
|
+
seoThumbnail?: string;
|
|
495
|
+
status: string;
|
|
496
|
+
approveStatus?: string;
|
|
497
|
+
listingType: ListingType$1;
|
|
498
|
+
attachmentIds?: string[];
|
|
499
|
+
imageIds?: string[];
|
|
500
|
+
videoUrls?: string[];
|
|
501
|
+
code: string;
|
|
502
|
+
slug: string;
|
|
503
|
+
propertyId?: string;
|
|
504
|
+
propertyBranchId?: string;
|
|
505
|
+
projectId?: string;
|
|
506
|
+
version?: number;
|
|
507
|
+
services?: Record<string, unknown>[];
|
|
508
|
+
metadata?: Record<string, unknown>;
|
|
509
|
+
createdAt?: Date;
|
|
510
|
+
updatedAt?: Date;
|
|
511
|
+
deletedAt?: Date;
|
|
512
|
+
createdById: string;
|
|
513
|
+
updatedById?: string;
|
|
514
|
+
deletedById?: string;
|
|
515
|
+
}
|
|
516
|
+
//#endregion
|
|
511
517
|
//#region src/generated/tables/medias.table.d.ts
|
|
512
518
|
interface MediasTable {
|
|
513
519
|
id: string;
|
|
@@ -822,12 +828,6 @@ interface ProjectToBrokersTable {
|
|
|
822
828
|
userId: string;
|
|
823
829
|
}
|
|
824
830
|
//#endregion
|
|
825
|
-
//#region src/generated/tables/project-to-medias.table.d.ts
|
|
826
|
-
interface ProjectToMediasTable {
|
|
827
|
-
a: string;
|
|
828
|
-
b: string;
|
|
829
|
-
}
|
|
830
|
-
//#endregion
|
|
831
831
|
//#region src/generated/tables/project-utilities.table.d.ts
|
|
832
832
|
interface ProjectUtilitiesTable {
|
|
833
833
|
id: string;
|
|
@@ -1070,6 +1070,20 @@ interface PropertyDetailsTable {
|
|
|
1070
1070
|
deletedById?: string;
|
|
1071
1071
|
}
|
|
1072
1072
|
//#endregion
|
|
1073
|
+
//#region src/generated/tables/property-documents.table.d.ts
|
|
1074
|
+
interface PropertyDocumentsTable {
|
|
1075
|
+
id: string;
|
|
1076
|
+
documentId: string;
|
|
1077
|
+
propertyId?: string;
|
|
1078
|
+
propertyBranchId?: string;
|
|
1079
|
+
createdAt?: Date;
|
|
1080
|
+
updatedAt?: Date;
|
|
1081
|
+
deletedAt?: Date;
|
|
1082
|
+
createdById: string;
|
|
1083
|
+
updatedById?: string;
|
|
1084
|
+
deletedById?: string;
|
|
1085
|
+
}
|
|
1086
|
+
//#endregion
|
|
1073
1087
|
//#region src/generated/tables/property-identifiers.table.d.ts
|
|
1074
1088
|
interface PropertyIdentifiersTable {
|
|
1075
1089
|
id: string;
|
|
@@ -1103,6 +1117,38 @@ interface PropertyMapsTable {
|
|
|
1103
1117
|
deletedById?: string;
|
|
1104
1118
|
}
|
|
1105
1119
|
//#endregion
|
|
1120
|
+
//#region src/generated/tables/property-media-albums.table.d.ts
|
|
1121
|
+
interface PropertyMediaAlbumsTable {
|
|
1122
|
+
id: string;
|
|
1123
|
+
propertyId?: string;
|
|
1124
|
+
propertyBranchId?: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
description?: string;
|
|
1127
|
+
createdAt?: Date;
|
|
1128
|
+
updatedAt?: Date;
|
|
1129
|
+
deletedAt?: Date;
|
|
1130
|
+
createdById: string;
|
|
1131
|
+
updatedById?: string;
|
|
1132
|
+
deletedById?: string;
|
|
1133
|
+
}
|
|
1134
|
+
//#endregion
|
|
1135
|
+
//#region src/generated/tables/property-services.table.d.ts
|
|
1136
|
+
interface PropertyServicesTable {
|
|
1137
|
+
id: string;
|
|
1138
|
+
propertyId?: string;
|
|
1139
|
+
propertyBranchId?: string;
|
|
1140
|
+
name: string;
|
|
1141
|
+
price: number;
|
|
1142
|
+
priceUnit: string;
|
|
1143
|
+
metadata?: Record<string, unknown>;
|
|
1144
|
+
createdAt?: Date;
|
|
1145
|
+
updatedAt?: Date;
|
|
1146
|
+
deletedAt?: Date;
|
|
1147
|
+
createdById: string;
|
|
1148
|
+
updatedById?: string;
|
|
1149
|
+
deletedById?: string;
|
|
1150
|
+
}
|
|
1151
|
+
//#endregion
|
|
1106
1152
|
//#region src/generated/tables/property-utilities.table.d.ts
|
|
1107
1153
|
interface PropertyUtilitiesTable {
|
|
1108
1154
|
id: string;
|
|
@@ -1374,7 +1420,7 @@ interface Database {
|
|
|
1374
1420
|
client_categories: ClientCategoriesTable;
|
|
1375
1421
|
_client_category_clients: ClientCategoryClientsTable;
|
|
1376
1422
|
medias: MediasTable;
|
|
1377
|
-
|
|
1423
|
+
listings: ListingsTable;
|
|
1378
1424
|
user_histories: UserHistoriesTable;
|
|
1379
1425
|
sessions: SessionsTable;
|
|
1380
1426
|
black_lists: BlackListsTable;
|
|
@@ -1415,7 +1461,6 @@ interface Database {
|
|
|
1415
1461
|
pre_deals: PreDealsTable;
|
|
1416
1462
|
projects: ProjectsTable;
|
|
1417
1463
|
project_medias: ProjectMediasTable;
|
|
1418
|
-
_project_to_medias: ProjectToMediasTable;
|
|
1419
1464
|
_project_to_brokers: ProjectToBrokersTable;
|
|
1420
1465
|
utilities: UtilitiesTable;
|
|
1421
1466
|
project_utilities: ProjectUtilitiesTable;
|
|
@@ -1428,6 +1473,9 @@ interface Database {
|
|
|
1428
1473
|
properties: PropertiesTable;
|
|
1429
1474
|
property_branches: PropertyBranchesTable;
|
|
1430
1475
|
property_details: PropertyDetailsTable;
|
|
1476
|
+
property_documents: PropertyDocumentsTable;
|
|
1477
|
+
property_media_albums: PropertyMediaAlbumsTable;
|
|
1478
|
+
property_services: PropertyServicesTable;
|
|
1431
1479
|
property_visualizations: PropertyVisualizationsTable;
|
|
1432
1480
|
property_maps: PropertyMapsTable;
|
|
1433
1481
|
property_indentitifiers: PropertyIdentifiersTable;
|
|
@@ -1490,7 +1538,7 @@ interface DocumentUpdateData {
|
|
|
1490
1538
|
approverId?: string;
|
|
1491
1539
|
updatedById?: string;
|
|
1492
1540
|
}
|
|
1493
|
-
interface
|
|
1541
|
+
interface ListingApproveData {
|
|
1494
1542
|
approveStatus?: string;
|
|
1495
1543
|
updatedById?: string;
|
|
1496
1544
|
}
|
|
@@ -1512,12 +1560,12 @@ interface AdministratorDataPort {
|
|
|
1512
1560
|
insertMedia(data: MediaInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
1513
1561
|
insertDocument(data: DocumentInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
1514
1562
|
updateDocument(id: string, data: DocumentUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
1515
|
-
|
|
1563
|
+
updateListing(id: string, data: ListingApproveData, trx?: Transaction<Database>): Promise<void>;
|
|
1516
1564
|
findDocumentById(id: string, trx?: Transaction<Database>): Promise<{
|
|
1517
1565
|
id: string;
|
|
1518
1566
|
} | undefined>;
|
|
1519
1567
|
softDeleteDocument(id: string, deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
1520
|
-
|
|
1568
|
+
findListingById(id: string, approveStatus?: string, trx?: Transaction<Database>): Promise<{
|
|
1521
1569
|
id: string;
|
|
1522
1570
|
} | undefined>;
|
|
1523
1571
|
findMediaById(id: string, trx?: Transaction<Database>): Promise<{
|
|
@@ -1547,13 +1595,13 @@ interface ApproveDocumentResponse extends BaseRes {
|
|
|
1547
1595
|
message: string;
|
|
1548
1596
|
}
|
|
1549
1597
|
//#endregion
|
|
1550
|
-
//#region src/generated/administrator/ports/approve-
|
|
1551
|
-
type
|
|
1598
|
+
//#region src/generated/administrator/ports/approve-listing.request.d.ts
|
|
1599
|
+
type ApproveListingAdminInput = {
|
|
1552
1600
|
id: string;
|
|
1553
1601
|
};
|
|
1554
1602
|
//#endregion
|
|
1555
|
-
//#region src/generated/administrator/ports/approve-
|
|
1556
|
-
interface
|
|
1603
|
+
//#region src/generated/administrator/ports/approve-listing.response.d.ts
|
|
1604
|
+
interface ApproveListingAdminResponse extends BaseRes {
|
|
1557
1605
|
message: string;
|
|
1558
1606
|
}
|
|
1559
1607
|
//#endregion
|
|
@@ -2266,6 +2314,7 @@ interface AppointmentParticipantModel {
|
|
|
2266
2314
|
responseComment?: string;
|
|
2267
2315
|
acknowledgedAt?: Date;
|
|
2268
2316
|
userId: string;
|
|
2317
|
+
avatarImageId?: string;
|
|
2269
2318
|
}
|
|
2270
2319
|
interface AppointmentListFilter {
|
|
2271
2320
|
search?: string;
|
|
@@ -2344,6 +2393,7 @@ interface AppointmentParticipantWithUserModel {
|
|
|
2344
2393
|
responseComment?: string;
|
|
2345
2394
|
acknowledgedAt?: Date;
|
|
2346
2395
|
userId: string;
|
|
2396
|
+
avatarImageId?: string;
|
|
2347
2397
|
}
|
|
2348
2398
|
interface ConfidentialityAgreementModel {
|
|
2349
2399
|
id: string;
|
|
@@ -2438,6 +2488,7 @@ interface AppointmentParticipant {
|
|
|
2438
2488
|
respondedAt?: Date;
|
|
2439
2489
|
responseComment?: string;
|
|
2440
2490
|
acknowledgedAt?: Date;
|
|
2491
|
+
avatarImageId?: string;
|
|
2441
2492
|
dealStepParticipant: {
|
|
2442
2493
|
userId: string;
|
|
2443
2494
|
};
|
|
@@ -3123,6 +3174,83 @@ declare const ClientCategoryExceptions: {
|
|
|
3123
3174
|
FORBIDDEN: string;
|
|
3124
3175
|
};
|
|
3125
3176
|
//#endregion
|
|
3177
|
+
//#region src/generated/listing/listing.enum.d.ts
|
|
3178
|
+
declare enum ListingType {
|
|
3179
|
+
FOR_SALE = "FOR_SALE",
|
|
3180
|
+
FOR_LEASE = "FOR_LEASE",
|
|
3181
|
+
BOTH = "BOTH"
|
|
3182
|
+
}
|
|
3183
|
+
declare enum ListingRoadType {
|
|
3184
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3185
|
+
ASPHALT = "ASPHALT",
|
|
3186
|
+
CONCRETE = "CONCRETE",
|
|
3187
|
+
DIRT = "DIRT",
|
|
3188
|
+
BRICK = "BRICK",
|
|
3189
|
+
CRUSHED_ROCK = "CRUSHED_ROCK"
|
|
3190
|
+
}
|
|
3191
|
+
declare enum ListingBuildingStandard {
|
|
3192
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3193
|
+
BASIC = "BASIC",
|
|
3194
|
+
MEDIUM = "MEDIUM",
|
|
3195
|
+
TEMPORARY = "TEMPORARY",
|
|
3196
|
+
HIGH_END = "HIGH_END",
|
|
3197
|
+
LUXURY = "LUXURY"
|
|
3198
|
+
}
|
|
3199
|
+
declare enum ListingInfrastructureStatus {
|
|
3200
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3201
|
+
BASIC_INFRASTRUCTURE = "BASIC_INFRASTRUCTURE",
|
|
3202
|
+
NO_INFRASTRUCTURE = "NO_INFRASTRUCTURE",
|
|
3203
|
+
OPERATING = "OPERATING",
|
|
3204
|
+
COMPLETED_INFRASTRUCTURE = "COMPLETED_INFRASTRUCTURE",
|
|
3205
|
+
STEEL_FRAME = "STEEL_FRAME",
|
|
3206
|
+
CONCRETE_FRAME = "CONCRETE_FRAME",
|
|
3207
|
+
TEMPORARY_INFRASTRUCTURE = "TEMPORARY_INFRASTRUCTURE",
|
|
3208
|
+
FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE = "FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE",
|
|
3209
|
+
INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE = "INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE",
|
|
3210
|
+
UNLEVELED = "UNLEVELED"
|
|
3211
|
+
}
|
|
3212
|
+
declare enum ListingPropertyType {
|
|
3213
|
+
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3214
|
+
INDUSTRIAL_LAND_AND_FACTORIES = "INDUSTRIAL_LAND_AND_FACTORIES",
|
|
3215
|
+
FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND",
|
|
3216
|
+
RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND",
|
|
3217
|
+
AMUSEMENT_PARKS_AND_SPORTS_ZONES = "AMUSEMENT_PARKS_AND_SPORTS_ZONES",
|
|
3218
|
+
TOWNHOUSES_AND_APARTMENTS = "TOWNHOUSES_AND_APARTMENTS",
|
|
3219
|
+
HOSPITALS_AND_CLINICS = "HOSPITALS_AND_CLINICS",
|
|
3220
|
+
SCHOOLS_AND_TRAINING_CENTERS = "SCHOOLS_AND_TRAINING_CENTERS",
|
|
3221
|
+
ENERGY_PROJECT = "ENERGY_PROJECT",
|
|
3222
|
+
SHOPPING_CENTERS_AND_OFFICE = "SHOPPING_CENTERS_AND_OFFICE",
|
|
3223
|
+
INDUSTRIAL_PARKS = "INDUSTRIAL_PARKS",
|
|
3224
|
+
RESORT_AND_HOTEL = "RESORT_AND_HOTEL",
|
|
3225
|
+
MINES_AND_MINERALS = "MINES_AND_MINERALS",
|
|
3226
|
+
GAS_STATIONS_AND_EV_CHARGING_STATIONS = "GAS_STATIONS_AND_EV_CHARGING_STATIONS",
|
|
3227
|
+
DOCKS_AND_YARDS = "DOCKS_AND_YARDS",
|
|
3228
|
+
ECOLOGICAL_AREAS_AND_FARMS = "ECOLOGICAL_AREAS_AND_FARMS"
|
|
3229
|
+
}
|
|
3230
|
+
declare enum ListingPostType {
|
|
3231
|
+
NORMAL = "NORMAL",
|
|
3232
|
+
URGENT_SALE = "URGENT_SALE",
|
|
3233
|
+
PROMOTED = "PROMOTED",
|
|
3234
|
+
UNDER_MARKET = "UNDER_MARKET",
|
|
3235
|
+
SPECIAL = "SPECIAL",
|
|
3236
|
+
PRE_SALE = "PRE_SALE"
|
|
3237
|
+
}
|
|
3238
|
+
declare enum ListingStatus {
|
|
3239
|
+
DRAFT = "DRAFT",
|
|
3240
|
+
UNPUBLISHED = "UNPUBLISHED",
|
|
3241
|
+
PUBLISHED = "PUBLISHED"
|
|
3242
|
+
}
|
|
3243
|
+
declare enum ListingApproveStatus {
|
|
3244
|
+
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
3245
|
+
APPROVED = "APPROVED"
|
|
3246
|
+
}
|
|
3247
|
+
declare enum ListingUtilities {
|
|
3248
|
+
FULLY_FINISHED_WITH_HIGH_END_ITEMS = "FULLY_FINISHED_WITH_HIGH_END_ITEMS",
|
|
3249
|
+
SEMI_FINISHED = "SEMI_FINISHED",
|
|
3250
|
+
FULLY_FINISHED = "FULLY_FINISHED",
|
|
3251
|
+
BASIC_CONSTRUCTION = "BASIC_CONSTRUCTION"
|
|
3252
|
+
}
|
|
3253
|
+
//#endregion
|
|
3126
3254
|
//#region src/generated/client/ports/client-command.port.d.ts
|
|
3127
3255
|
type ClientCommandCreateInput = {
|
|
3128
3256
|
fullname: string;
|
|
@@ -3131,7 +3259,7 @@ type ClientCommandCreateInput = {
|
|
|
3131
3259
|
budgetMin: bigint | undefined;
|
|
3132
3260
|
budgetMax: bigint | undefined;
|
|
3133
3261
|
budgetCurrency: string;
|
|
3134
|
-
propertyTypes:
|
|
3262
|
+
propertyTypes: ListingPropertyType[];
|
|
3135
3263
|
clientType: ClientType;
|
|
3136
3264
|
roles: ClientRoles[];
|
|
3137
3265
|
needs: ClientNeed[];
|
|
@@ -3157,7 +3285,7 @@ type ClientCommandUpdateInput = {
|
|
|
3157
3285
|
status?: ClientStatus | undefined;
|
|
3158
3286
|
source?: ClientSource | undefined;
|
|
3159
3287
|
budgetCurrency?: string | undefined;
|
|
3160
|
-
propertyTypes?:
|
|
3288
|
+
propertyTypes?: ListingPropertyType[] | undefined;
|
|
3161
3289
|
lastContactDate?: string | undefined;
|
|
3162
3290
|
notes?: string | undefined;
|
|
3163
3291
|
metadata?: any;
|
|
@@ -3218,78 +3346,6 @@ type ClientCategoryFilter = {
|
|
|
3218
3346
|
id: string;
|
|
3219
3347
|
};
|
|
3220
3348
|
//#endregion
|
|
3221
|
-
//#region src/generated/for-sale/for-sale.enum.d.ts
|
|
3222
|
-
declare enum ForSaleRoadType {
|
|
3223
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3224
|
-
ASPHALT = "ASPHALT",
|
|
3225
|
-
CONCRETE = "CONCRETE",
|
|
3226
|
-
DIRT = "DIRT",
|
|
3227
|
-
BRICK = "BRICK",
|
|
3228
|
-
CRUSHED_ROCK = "CRUSHED_ROCK"
|
|
3229
|
-
}
|
|
3230
|
-
declare enum ForSaleBuildingStandard {
|
|
3231
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3232
|
-
BASIC = "BASIC",
|
|
3233
|
-
MEDIUM = "MEDIUM",
|
|
3234
|
-
TEMPORARY = "TEMPORARY",
|
|
3235
|
-
HIGH_END = "HIGH_END",
|
|
3236
|
-
LUXURY = "LUXURY"
|
|
3237
|
-
}
|
|
3238
|
-
declare enum ForSaleInfrastructureStatus {
|
|
3239
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3240
|
-
BASIC_INFRASTRUCTURE = "BASIC_INFRASTRUCTURE",
|
|
3241
|
-
NO_INFRASTRUCTURE = "NO_INFRASTRUCTURE",
|
|
3242
|
-
OPERATING = "OPERATING",
|
|
3243
|
-
COMPLETED_INFRASTRUCTURE = "COMPLETED_INFRASTRUCTURE",
|
|
3244
|
-
STEEL_FRAME = "STEEL_FRAME",
|
|
3245
|
-
CONCRETE_FRAME = "CONCRETE_FRAME",
|
|
3246
|
-
TEMPORARY_INFRASTRUCTURE = "TEMPORARY_INFRASTRUCTURE",
|
|
3247
|
-
FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE = "FOUNDATION_AND_BOUNDARY_WALLS_AVAILABLE",
|
|
3248
|
-
INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE = "INFRASTRUCTURE_AND_CONSTRUCTION_AVAILABLE",
|
|
3249
|
-
UNLEVELED = "UNLEVELED"
|
|
3250
|
-
}
|
|
3251
|
-
declare enum ForSalePropertyType {
|
|
3252
|
-
UNRECOGNIZED = "UNRECOGNIZED",
|
|
3253
|
-
INDUSTRIAL_LAND_AND_FACTORIES = "INDUSTRIAL_LAND_AND_FACTORIES",
|
|
3254
|
-
FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND = "FOREST_AGRICULTURAL_AND_AQUACULTURE_LAND",
|
|
3255
|
-
RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND = "RESIDENTIAL_AND_COMMERCIAL_SERVICE_LAND",
|
|
3256
|
-
AMUSEMENT_PARKS_AND_SPORTS_ZONES = "AMUSEMENT_PARKS_AND_SPORTS_ZONES",
|
|
3257
|
-
TOWNHOUSES_AND_APARTMENTS = "TOWNHOUSES_AND_APARTMENTS",
|
|
3258
|
-
HOSPITALS_AND_CLINICS = "HOSPITALS_AND_CLINICS",
|
|
3259
|
-
SCHOOLS_AND_TRAINING_CENTERS = "SCHOOLS_AND_TRAINING_CENTERS",
|
|
3260
|
-
ENERGY_PROJECT = "ENERGY_PROJECT",
|
|
3261
|
-
SHOPPING_CENTERS_AND_OFFICE = "SHOPPING_CENTERS_AND_OFFICE",
|
|
3262
|
-
INDUSTRIAL_PARKS = "INDUSTRIAL_PARKS",
|
|
3263
|
-
RESORT_AND_HOTEL = "RESORT_AND_HOTEL",
|
|
3264
|
-
MINES_AND_MINERALS = "MINES_AND_MINERALS",
|
|
3265
|
-
GAS_STATIONS_AND_EV_CHARGING_STATIONS = "GAS_STATIONS_AND_EV_CHARGING_STATIONS",
|
|
3266
|
-
DOCKS_AND_YARDS = "DOCKS_AND_YARDS",
|
|
3267
|
-
ECOLOGICAL_AREAS_AND_FARMS = "ECOLOGICAL_AREAS_AND_FARMS"
|
|
3268
|
-
}
|
|
3269
|
-
declare enum ForSalePostType {
|
|
3270
|
-
NORMAL = "NORMAL",
|
|
3271
|
-
URGENT_SALE = "URGENT_SALE",
|
|
3272
|
-
PROMOTED = "PROMOTED",
|
|
3273
|
-
UNDER_MARKET = "UNDER_MARKET",
|
|
3274
|
-
SPECIAL = "SPECIAL",
|
|
3275
|
-
PRE_SALE = "PRE_SALE"
|
|
3276
|
-
}
|
|
3277
|
-
declare enum ForSaleStatus {
|
|
3278
|
-
DRAFT = "DRAFT",
|
|
3279
|
-
UNPUBLISHED = "UNPUBLISHED",
|
|
3280
|
-
PUBLISHED = "PUBLISHED"
|
|
3281
|
-
}
|
|
3282
|
-
declare enum ForSaleApproveStatus {
|
|
3283
|
-
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
3284
|
-
APPROVED = "APPROVED"
|
|
3285
|
-
}
|
|
3286
|
-
declare enum ForSaleUtilities {
|
|
3287
|
-
FULLY_FINISHED_WITH_HIGH_END_ITEMS = "FULLY_FINISHED_WITH_HIGH_END_ITEMS",
|
|
3288
|
-
SEMI_FINISHED = "SEMI_FINISHED",
|
|
3289
|
-
FULLY_FINISHED = "FULLY_FINISHED",
|
|
3290
|
-
BASIC_CONSTRUCTION = "BASIC_CONSTRUCTION"
|
|
3291
|
-
}
|
|
3292
|
-
//#endregion
|
|
3293
3349
|
//#region src/generated/client/ports/get-clients.request.d.ts
|
|
3294
3350
|
type ClientsFilter = {
|
|
3295
3351
|
page: number;
|
|
@@ -3301,7 +3357,7 @@ type ClientsFilter = {
|
|
|
3301
3357
|
clientIds?: string[] | undefined;
|
|
3302
3358
|
status?: ClientStatus | undefined;
|
|
3303
3359
|
source?: ClientSource | undefined;
|
|
3304
|
-
propertyTypes?:
|
|
3360
|
+
propertyTypes?: ListingPropertyType[] | undefined;
|
|
3305
3361
|
search?: string | undefined;
|
|
3306
3362
|
clientType?: ClientType | undefined;
|
|
3307
3363
|
roles?: ClientRoles[] | undefined;
|
|
@@ -3384,7 +3440,7 @@ type CreateClientInput = {
|
|
|
3384
3440
|
budgetMin: bigint | undefined;
|
|
3385
3441
|
budgetMax: bigint | undefined;
|
|
3386
3442
|
budgetCurrency: string;
|
|
3387
|
-
propertyTypes:
|
|
3443
|
+
propertyTypes: ListingPropertyType[];
|
|
3388
3444
|
clientType: ClientType;
|
|
3389
3445
|
roles: ClientRoles[];
|
|
3390
3446
|
needs: ClientNeed[];
|
|
@@ -3519,7 +3575,7 @@ type UpdateClientInput = {
|
|
|
3519
3575
|
status?: ClientStatus | undefined;
|
|
3520
3576
|
source?: ClientSource | undefined;
|
|
3521
3577
|
budgetCurrency?: string | undefined;
|
|
3522
|
-
propertyTypes?:
|
|
3578
|
+
propertyTypes?: ListingPropertyType[] | undefined;
|
|
3523
3579
|
lastContactDate?: string | undefined;
|
|
3524
3580
|
notes?: string | undefined;
|
|
3525
3581
|
metadata?: any;
|
|
@@ -4456,297 +4512,14 @@ interface UpdateDealStepStatusResponse extends BaseRes {
|
|
|
4456
4512
|
message: string;
|
|
4457
4513
|
}
|
|
4458
4514
|
//#endregion
|
|
4459
|
-
//#region src/generated/
|
|
4460
|
-
declare const
|
|
4461
|
-
|
|
4462
|
-
};
|
|
4463
|
-
//#endregion
|
|
4464
|
-
//#region src/generated/for-sale/ports/approve-for-sale.request.d.ts
|
|
4465
|
-
type ApproveForSaleInput = {
|
|
4466
|
-
id: string;
|
|
4515
|
+
//#region src/generated/identity/exceptions.d.ts
|
|
4516
|
+
declare const IdentityExceptions: {
|
|
4517
|
+
IDENTITY_NOT_FOUND: string;
|
|
4467
4518
|
};
|
|
4468
4519
|
//#endregion
|
|
4469
|
-
//#region src/generated/
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
}
|
|
4473
|
-
//#endregion
|
|
4474
|
-
//#region src/generated/for-sale/ports/create-for-sale.request.d.ts
|
|
4475
|
-
type CreateForSaleInput = {
|
|
4476
|
-
title: string;
|
|
4477
|
-
content: string;
|
|
4478
|
-
address: string;
|
|
4479
|
-
latitude: number;
|
|
4480
|
-
longitude: number;
|
|
4481
|
-
landArea: number;
|
|
4482
|
-
constructionArea: number;
|
|
4483
|
-
roadWidth: number;
|
|
4484
|
-
roadType: ForSaleRoadType;
|
|
4485
|
-
floorCount: number;
|
|
4486
|
-
buildingStandard: ForSaleBuildingStandard;
|
|
4487
|
-
depreciationPercent: number;
|
|
4488
|
-
infrastructureStatus: ForSaleInfrastructureStatus;
|
|
4489
|
-
utilities: ForSaleUtilities[];
|
|
4490
|
-
totalPrice: number;
|
|
4491
|
-
pricePerSqm: number;
|
|
4492
|
-
negotiable: boolean;
|
|
4493
|
-
propertyType: ForSalePropertyType;
|
|
4494
|
-
postType: ForSalePostType;
|
|
4495
|
-
note: any;
|
|
4496
|
-
attachmentIds: string[];
|
|
4497
|
-
imageIds: string[];
|
|
4498
|
-
propertyId?: string | undefined;
|
|
4499
|
-
projectId?: string | undefined;
|
|
4500
|
-
seoTitle?: string | undefined;
|
|
4501
|
-
seoDescription?: string | undefined;
|
|
4502
|
-
seoThumbnail?: string | undefined;
|
|
4503
|
-
};
|
|
4504
|
-
//#endregion
|
|
4505
|
-
//#region src/generated/for-sale/ports/create-for-sale.response.d.ts
|
|
4506
|
-
interface CreateForSaleResponse extends BaseRes {
|
|
4507
|
-
message: string;
|
|
4508
|
-
}
|
|
4509
|
-
//#endregion
|
|
4510
|
-
//#region src/generated/for-sale/ports/delete-for-sale.request.d.ts
|
|
4511
|
-
type DeleteForSaleInput = {
|
|
4512
|
-
code: string;
|
|
4513
|
-
};
|
|
4514
|
-
//#endregion
|
|
4515
|
-
//#region src/generated/for-sale/ports/delete-for-sale.response.d.ts
|
|
4516
|
-
interface DeleteForSaleResponse extends BaseRes {
|
|
4517
|
-
message: string;
|
|
4518
|
-
}
|
|
4519
|
-
//#endregion
|
|
4520
|
-
//#region src/generated/for-sale/ports/get-for-sales.request.d.ts
|
|
4521
|
-
type ForSalesFilter = {
|
|
4522
|
-
page: number;
|
|
4523
|
-
limit: number;
|
|
4524
|
-
title?: string | undefined;
|
|
4525
|
-
address?: string | undefined;
|
|
4526
|
-
propertyType?: ForSalePropertyType | undefined;
|
|
4527
|
-
postType?: ForSalePostType | undefined;
|
|
4528
|
-
createdBy?: string | undefined;
|
|
4529
|
-
propertyId?: string | undefined;
|
|
4530
|
-
};
|
|
4531
|
-
//#endregion
|
|
4532
|
-
//#region src/generated/for-sale/ports/for-sale-data.port.d.ts
|
|
4533
|
-
type ForSaleDataFilter = Omit<ForSalesFilter, "page" | "limit">;
|
|
4534
|
-
interface ForSaleModel {
|
|
4535
|
-
id: string;
|
|
4536
|
-
title: string;
|
|
4537
|
-
content: string;
|
|
4538
|
-
address: string;
|
|
4539
|
-
latitude: number;
|
|
4540
|
-
longitude: number;
|
|
4541
|
-
landArea: number;
|
|
4542
|
-
constructionArea: number;
|
|
4543
|
-
roadWidth: number;
|
|
4544
|
-
roadType: string;
|
|
4545
|
-
floorCount: number;
|
|
4546
|
-
buildingStandard: string;
|
|
4547
|
-
depreciationPercent: number;
|
|
4548
|
-
infrastructureStatus: string;
|
|
4549
|
-
utilities?: string[];
|
|
4550
|
-
totalPrice: number;
|
|
4551
|
-
pricePerSqm: number;
|
|
4552
|
-
negotiable?: boolean;
|
|
4553
|
-
propertyType: string;
|
|
4554
|
-
postType: string;
|
|
4555
|
-
note?: Record<string, unknown>;
|
|
4556
|
-
seoTitle?: string;
|
|
4557
|
-
seoDescription?: string;
|
|
4558
|
-
seoThumbnail?: string;
|
|
4559
|
-
status: string;
|
|
4560
|
-
approveStatus: string;
|
|
4561
|
-
attachmentIds?: string[];
|
|
4562
|
-
imageIds?: string[];
|
|
4563
|
-
code: string;
|
|
4564
|
-
slug: string;
|
|
4565
|
-
version?: number;
|
|
4566
|
-
createdById: string;
|
|
4567
|
-
createdAt?: Date;
|
|
4568
|
-
updatedAt?: Date;
|
|
4569
|
-
}
|
|
4570
|
-
interface ForSaleInsertData {
|
|
4571
|
-
id: string;
|
|
4572
|
-
title: string;
|
|
4573
|
-
content: string;
|
|
4574
|
-
address: string;
|
|
4575
|
-
latitude: number;
|
|
4576
|
-
longitude: number;
|
|
4577
|
-
landArea: number;
|
|
4578
|
-
constructionArea: number;
|
|
4579
|
-
roadWidth: number;
|
|
4580
|
-
roadType: string;
|
|
4581
|
-
floorCount: number;
|
|
4582
|
-
buildingStandard: string;
|
|
4583
|
-
depreciationPercent: number;
|
|
4584
|
-
infrastructureStatus: string;
|
|
4585
|
-
utilities?: string[];
|
|
4586
|
-
totalPrice: number;
|
|
4587
|
-
pricePerSqm: number;
|
|
4588
|
-
negotiable?: boolean;
|
|
4589
|
-
propertyType: string;
|
|
4590
|
-
postType: string;
|
|
4591
|
-
note?: Record<string, unknown>;
|
|
4592
|
-
seoTitle?: string;
|
|
4593
|
-
seoDescription?: string;
|
|
4594
|
-
seoThumbnail?: string;
|
|
4595
|
-
status: string;
|
|
4596
|
-
approveStatus: string;
|
|
4597
|
-
attachmentIds?: string[];
|
|
4598
|
-
imageIds?: string[];
|
|
4599
|
-
code: string;
|
|
4600
|
-
slug: string;
|
|
4601
|
-
version?: number;
|
|
4602
|
-
createdById: string;
|
|
4603
|
-
}
|
|
4604
|
-
interface ForSaleUpdateData {
|
|
4605
|
-
title?: string;
|
|
4606
|
-
content?: string;
|
|
4607
|
-
address?: string;
|
|
4608
|
-
latitude?: number;
|
|
4609
|
-
longitude?: number;
|
|
4610
|
-
landArea?: number;
|
|
4611
|
-
constructionArea?: number;
|
|
4612
|
-
roadWidth?: number;
|
|
4613
|
-
roadType?: string;
|
|
4614
|
-
floorCount?: number;
|
|
4615
|
-
buildingStandard?: string;
|
|
4616
|
-
depreciationPercent?: number;
|
|
4617
|
-
infrastructureStatus?: string;
|
|
4618
|
-
utilities?: string[];
|
|
4619
|
-
totalPrice?: number;
|
|
4620
|
-
pricePerSqm?: number;
|
|
4621
|
-
negotiable?: boolean;
|
|
4622
|
-
propertyType?: string;
|
|
4623
|
-
postType?: string;
|
|
4624
|
-
note?: Record<string, unknown>;
|
|
4625
|
-
attachmentIds?: string[];
|
|
4626
|
-
imageIds?: string[];
|
|
4627
|
-
seoTitle?: string;
|
|
4628
|
-
seoDescription?: string;
|
|
4629
|
-
seoThumbnail?: string;
|
|
4630
|
-
status?: string;
|
|
4631
|
-
slug?: string;
|
|
4632
|
-
approveStatus?: string;
|
|
4633
|
-
deletedAt?: Date;
|
|
4634
|
-
deletedById?: string;
|
|
4635
|
-
updatedById?: string;
|
|
4636
|
-
}
|
|
4637
|
-
interface ForSaleDataPort {
|
|
4638
|
-
update(id: string, data: ForSaleUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
4639
|
-
softDeleteByCodes(codes: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
4640
|
-
insertForSale(data: ForSaleInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
4641
|
-
findById(id: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4642
|
-
findForSaleById(id: string, createdById: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4643
|
-
findPublishedByCode(code: string, trx?: Transaction<Database>): Promise<ForSaleModel | undefined>;
|
|
4644
|
-
findCodesByCodeAndCreatedBy(code: string, createdById: string, trx?: Transaction<Database>): Promise<string[]>;
|
|
4645
|
-
findAndCountPublished(filter: ForSaleDataFilter, page: number, limit: number, trx?: Transaction<Database>): Promise<{
|
|
4646
|
-
data: ForSaleModel[];
|
|
4647
|
-
total: number;
|
|
4648
|
-
page: number;
|
|
4649
|
-
limit: number;
|
|
4650
|
-
totalPages: number;
|
|
4651
|
-
}>;
|
|
4652
|
-
findApprovedForSync(sinceDate: Date, trx?: Transaction<Database>): Promise<ForSaleModel[]>;
|
|
4653
|
-
}
|
|
4654
|
-
//#endregion
|
|
4655
|
-
//#region src/generated/for-sale/ports/get-for-sale.request.d.ts
|
|
4656
|
-
type ForSaleFilter = {
|
|
4657
|
-
code: string;
|
|
4658
|
-
};
|
|
4659
|
-
//#endregion
|
|
4660
|
-
//#region src/generated/for-sale/ports/get-for-sale.response.d.ts
|
|
4661
|
-
interface ForSaleResponse extends BaseRes {
|
|
4662
|
-
id: string;
|
|
4663
|
-
title: string;
|
|
4664
|
-
content: string;
|
|
4665
|
-
address: string;
|
|
4666
|
-
latitude: number;
|
|
4667
|
-
longitude: number;
|
|
4668
|
-
landArea: number;
|
|
4669
|
-
constructionArea: number;
|
|
4670
|
-
roadWidth: number;
|
|
4671
|
-
roadType: string;
|
|
4672
|
-
floorCount: number;
|
|
4673
|
-
buildingStandard: string;
|
|
4674
|
-
depreciationPercent: number;
|
|
4675
|
-
infrastructureStatus: string;
|
|
4676
|
-
utilities?: string[];
|
|
4677
|
-
totalPrice: number;
|
|
4678
|
-
pricePerSqm: number;
|
|
4679
|
-
negotiable?: boolean;
|
|
4680
|
-
propertyType: string;
|
|
4681
|
-
postType: string;
|
|
4682
|
-
seoTitle?: string;
|
|
4683
|
-
seoDescription?: string;
|
|
4684
|
-
seoThumbnail?: string;
|
|
4685
|
-
status: string;
|
|
4686
|
-
approveStatus: string;
|
|
4687
|
-
attachmentIds?: string[];
|
|
4688
|
-
imageIds?: string[];
|
|
4689
|
-
code: string;
|
|
4690
|
-
slug: string;
|
|
4691
|
-
createdAt?: Date;
|
|
4692
|
-
updatedAt?: Date;
|
|
4693
|
-
}
|
|
4694
|
-
//#endregion
|
|
4695
|
-
//#region src/generated/for-sale/ports/get-for-sales.response.d.ts
|
|
4696
|
-
interface ForSalesResponse extends BaseRes {
|
|
4697
|
-
data: ForSaleModel[];
|
|
4698
|
-
total: number;
|
|
4699
|
-
page: number;
|
|
4700
|
-
limit: number;
|
|
4701
|
-
totalPages: number;
|
|
4702
|
-
}
|
|
4703
|
-
//#endregion
|
|
4704
|
-
//#region src/generated/for-sale/ports/update-for-sale.request.d.ts
|
|
4705
|
-
type UpdateForSaleInput = {
|
|
4706
|
-
id: string;
|
|
4707
|
-
content: any;
|
|
4708
|
-
note: any;
|
|
4709
|
-
attachmentIds: string[];
|
|
4710
|
-
imageIds: string[];
|
|
4711
|
-
title?: string | undefined;
|
|
4712
|
-
address?: string | undefined;
|
|
4713
|
-
latitude?: number | undefined;
|
|
4714
|
-
longitude?: number | undefined;
|
|
4715
|
-
landArea?: number | undefined;
|
|
4716
|
-
constructionArea?: number | undefined;
|
|
4717
|
-
roadWidth?: number | undefined;
|
|
4718
|
-
roadType?: ForSaleRoadType | undefined;
|
|
4719
|
-
floorCount?: number | undefined;
|
|
4720
|
-
buildingStandard?: ForSaleBuildingStandard | undefined;
|
|
4721
|
-
depreciationPercent?: number | undefined;
|
|
4722
|
-
infrastructureStatus?: ForSaleInfrastructureStatus | undefined;
|
|
4723
|
-
utilities?: ForSaleUtilities[] | undefined;
|
|
4724
|
-
totalPrice?: number | undefined;
|
|
4725
|
-
pricePerSqm?: number | undefined;
|
|
4726
|
-
negotiable?: boolean | undefined;
|
|
4727
|
-
propertyId?: string | undefined;
|
|
4728
|
-
projectId?: string | undefined;
|
|
4729
|
-
propertyType?: ForSalePropertyType | undefined;
|
|
4730
|
-
postType?: ForSalePostType | undefined;
|
|
4731
|
-
seoTitle?: string | undefined;
|
|
4732
|
-
seoDescription?: string | undefined;
|
|
4733
|
-
seoThumbnail?: string | undefined;
|
|
4734
|
-
status?: ForSaleStatus | undefined;
|
|
4735
|
-
};
|
|
4736
|
-
//#endregion
|
|
4737
|
-
//#region src/generated/for-sale/ports/update-for-sale.response.d.ts
|
|
4738
|
-
interface UpdateForSaleResponse extends BaseRes {
|
|
4739
|
-
message: string;
|
|
4740
|
-
}
|
|
4741
|
-
//#endregion
|
|
4742
|
-
//#region src/generated/identity/exceptions.d.ts
|
|
4743
|
-
declare const IdentityExceptions: {
|
|
4744
|
-
IDENTITY_NOT_FOUND: string;
|
|
4745
|
-
};
|
|
4746
|
-
//#endregion
|
|
4747
|
-
//#region src/generated/identity/identity.enum.d.ts
|
|
4748
|
-
declare enum IdentityType {
|
|
4749
|
-
ID_CARD = "ID_CARD"
|
|
4520
|
+
//#region src/generated/identity/identity.enum.d.ts
|
|
4521
|
+
declare enum IdentityType {
|
|
4522
|
+
ID_CARD = "ID_CARD"
|
|
4750
4523
|
}
|
|
4751
4524
|
declare enum IdentityVerificationStatus {
|
|
4752
4525
|
WAITING_APPROVAL = "WAITING_APPROVAL",
|
|
@@ -4952,6 +4725,7 @@ type UpdatePropertiesInput = {
|
|
|
4952
4725
|
metadata?: any;
|
|
4953
4726
|
numberOfFloor?: number | undefined;
|
|
4954
4727
|
floorNumber?: number | undefined;
|
|
4728
|
+
numberOfProperties?: number | undefined;
|
|
4955
4729
|
propertyDetail?: {
|
|
4956
4730
|
orientation?: string | undefined;
|
|
4957
4731
|
buildingDensityPercent?: number | undefined;
|
|
@@ -4995,2267 +4769,77 @@ interface CreatePropertyMapResponse extends BaseRes {
|
|
|
4995
4769
|
message: string;
|
|
4996
4770
|
}
|
|
4997
4771
|
//#endregion
|
|
4998
|
-
//#region
|
|
4999
|
-
type
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
not?: _JSONSchema;
|
|
5030
|
-
multipleOf?: number;
|
|
5031
|
-
maximum?: number;
|
|
5032
|
-
exclusiveMaximum?: number | boolean;
|
|
5033
|
-
minimum?: number;
|
|
5034
|
-
exclusiveMinimum?: number | boolean;
|
|
5035
|
-
maxLength?: number;
|
|
5036
|
-
minLength?: number;
|
|
5037
|
-
pattern?: string;
|
|
5038
|
-
maxItems?: number;
|
|
5039
|
-
minItems?: number;
|
|
5040
|
-
uniqueItems?: boolean;
|
|
5041
|
-
maxContains?: number;
|
|
5042
|
-
minContains?: number;
|
|
5043
|
-
maxProperties?: number;
|
|
5044
|
-
minProperties?: number;
|
|
5045
|
-
required?: string[];
|
|
5046
|
-
dependentRequired?: Record<string, string[]>;
|
|
5047
|
-
enum?: Array<string | number | boolean | null>;
|
|
5048
|
-
const?: string | number | boolean | null;
|
|
5049
|
-
id?: string;
|
|
5050
|
-
title?: string;
|
|
5051
|
-
description?: string;
|
|
5052
|
-
default?: unknown;
|
|
5053
|
-
deprecated?: boolean;
|
|
5054
|
-
readOnly?: boolean;
|
|
5055
|
-
writeOnly?: boolean;
|
|
5056
|
-
nullable?: boolean;
|
|
5057
|
-
examples?: unknown[];
|
|
5058
|
-
format?: string;
|
|
5059
|
-
contentMediaType?: string;
|
|
5060
|
-
contentEncoding?: string;
|
|
5061
|
-
contentSchema?: JSONSchema;
|
|
5062
|
-
_prefault?: unknown;
|
|
5063
|
-
};
|
|
5064
|
-
type BaseSchema = JSONSchema;
|
|
5065
|
-
//#endregion
|
|
5066
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts
|
|
5067
|
-
/** The Standard interface. */
|
|
5068
|
-
interface StandardTypedV1<Input = unknown, Output = Input> {
|
|
5069
|
-
/** The Standard properties. */
|
|
5070
|
-
readonly "~standard": StandardTypedV1.Props<Input, Output>;
|
|
5071
|
-
}
|
|
5072
|
-
declare namespace StandardTypedV1 {
|
|
5073
|
-
/** The Standard properties interface. */
|
|
5074
|
-
interface Props<Input = unknown, Output = Input> {
|
|
5075
|
-
/** The version number of the standard. */
|
|
5076
|
-
readonly version: 1;
|
|
5077
|
-
/** The vendor name of the schema library. */
|
|
5078
|
-
readonly vendor: string;
|
|
5079
|
-
/** Inferred types associated with the schema. */
|
|
5080
|
-
readonly types?: Types<Input, Output> | undefined;
|
|
5081
|
-
}
|
|
5082
|
-
/** The Standard types interface. */
|
|
5083
|
-
interface Types<Input = unknown, Output = Input> {
|
|
5084
|
-
/** The input type of the schema. */
|
|
5085
|
-
readonly input: Input;
|
|
5086
|
-
/** The output type of the schema. */
|
|
5087
|
-
readonly output: Output;
|
|
5088
|
-
}
|
|
5089
|
-
/** Infers the input type of a Standard. */
|
|
5090
|
-
type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
5091
|
-
/** Infers the output type of a Standard. */
|
|
5092
|
-
type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
5093
|
-
}
|
|
5094
|
-
/** The Standard Schema interface. */
|
|
5095
|
-
interface StandardSchemaV1<Input = unknown, Output = Input> {
|
|
5096
|
-
/** The Standard Schema properties. */
|
|
5097
|
-
readonly "~standard": StandardSchemaV1.Props<Input, Output>;
|
|
5098
|
-
}
|
|
5099
|
-
declare namespace StandardSchemaV1 {
|
|
5100
|
-
/** The Standard Schema properties interface. */
|
|
5101
|
-
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
5102
|
-
/** Validates unknown input values. */
|
|
5103
|
-
readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
|
|
5104
|
-
}
|
|
5105
|
-
/** The result interface of the validate function. */
|
|
5106
|
-
type Result<Output> = SuccessResult<Output> | FailureResult;
|
|
5107
|
-
/** The result interface if validation succeeds. */
|
|
5108
|
-
interface SuccessResult<Output> {
|
|
5109
|
-
/** The typed output value. */
|
|
5110
|
-
readonly value: Output;
|
|
5111
|
-
/** The absence of issues indicates success. */
|
|
5112
|
-
readonly issues?: undefined;
|
|
5113
|
-
}
|
|
5114
|
-
interface Options {
|
|
5115
|
-
/** Implicit support for additional vendor-specific parameters, if needed. */
|
|
5116
|
-
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
5117
|
-
}
|
|
5118
|
-
/** The result interface if validation fails. */
|
|
5119
|
-
interface FailureResult {
|
|
5120
|
-
/** The issues of failed validation. */
|
|
5121
|
-
readonly issues: ReadonlyArray<Issue>;
|
|
5122
|
-
}
|
|
5123
|
-
/** The issue interface of the failure output. */
|
|
5124
|
-
interface Issue {
|
|
5125
|
-
/** The error message of the issue. */
|
|
5126
|
-
readonly message: string;
|
|
5127
|
-
/** The path of the issue, if any. */
|
|
5128
|
-
readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;
|
|
5129
|
-
}
|
|
5130
|
-
/** The path segment interface of the issue. */
|
|
5131
|
-
interface PathSegment {
|
|
5132
|
-
/** The key representing a path segment. */
|
|
5133
|
-
readonly key: PropertyKey;
|
|
5134
|
-
}
|
|
5135
|
-
/** The Standard types interface. */
|
|
5136
|
-
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
5137
|
-
/** Infers the input type of a Standard. */
|
|
5138
|
-
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
5139
|
-
/** Infers the output type of a Standard. */
|
|
5140
|
-
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
5141
|
-
}
|
|
5142
|
-
/** The Standard JSON Schema interface. */
|
|
5143
|
-
interface StandardJSONSchemaV1<Input = unknown, Output = Input> {
|
|
5144
|
-
/** The Standard JSON Schema properties. */
|
|
5145
|
-
readonly "~standard": StandardJSONSchemaV1.Props<Input, Output>;
|
|
5146
|
-
}
|
|
5147
|
-
declare namespace StandardJSONSchemaV1 {
|
|
5148
|
-
/** The Standard JSON Schema properties interface. */
|
|
5149
|
-
interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
|
|
5150
|
-
/** Methods for generating the input/output JSON Schema. */
|
|
5151
|
-
readonly jsonSchema: Converter;
|
|
5152
|
-
}
|
|
5153
|
-
/** The Standard JSON Schema converter interface. */
|
|
5154
|
-
interface Converter {
|
|
5155
|
-
/** Converts the input type to JSON Schema. May throw if conversion is not supported. */
|
|
5156
|
-
readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
|
|
5157
|
-
/** Converts the output type to JSON Schema. May throw if conversion is not supported. */
|
|
5158
|
-
readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
|
|
5159
|
-
}
|
|
5160
|
-
/** The target version of the generated JSON Schema.
|
|
5161
|
-
*
|
|
5162
|
-
* It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use.
|
|
5163
|
-
*
|
|
5164
|
-
* The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`.
|
|
5165
|
-
*
|
|
5166
|
-
* All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target.
|
|
5167
|
-
*/
|
|
5168
|
-
type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string);
|
|
5169
|
-
/** The options for the input/output methods. */
|
|
5170
|
-
interface Options {
|
|
5171
|
-
/** 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. */
|
|
5172
|
-
readonly target: Target;
|
|
5173
|
-
/** Implicit support for additional vendor-specific parameters, if needed. */
|
|
5174
|
-
readonly libraryOptions?: Record<string, unknown> | undefined;
|
|
5175
|
-
}
|
|
5176
|
-
/** The Standard types interface. */
|
|
5177
|
-
interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
|
|
5178
|
-
/** Infers the input type of a Standard. */
|
|
5179
|
-
type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
|
|
5180
|
-
/** Infers the output type of a Standard. */
|
|
5181
|
-
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
5182
|
-
}
|
|
5183
|
-
interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {}
|
|
5184
|
-
//#endregion
|
|
5185
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts
|
|
5186
|
-
declare const $output: unique symbol;
|
|
5187
|
-
type $output = typeof $output;
|
|
5188
|
-
declare const $input: unique symbol;
|
|
5189
|
-
type $input = typeof $input;
|
|
5190
|
-
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;
|
|
5191
|
-
type MetadataType = object | undefined;
|
|
5192
|
-
declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
|
|
5193
|
-
_meta: Meta;
|
|
5194
|
-
_schema: Schema;
|
|
5195
|
-
_map: WeakMap<Schema, $replace<Meta, Schema>>;
|
|
5196
|
-
_idmap: Map<string, Schema>;
|
|
5197
|
-
add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
|
|
5198
|
-
clear(): this;
|
|
5199
|
-
remove(schema: Schema): this;
|
|
5200
|
-
get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
|
|
5201
|
-
has(schema: Schema): boolean;
|
|
5202
|
-
}
|
|
5203
|
-
interface JSONSchemaMeta {
|
|
5204
|
-
id?: string | undefined;
|
|
5205
|
-
title?: string | undefined;
|
|
4772
|
+
//#region src/generated/industrial-property/ports/create-property.request.d.ts
|
|
4773
|
+
type CreatePropertyInput = {
|
|
4774
|
+
title: string;
|
|
4775
|
+
projectId: string;
|
|
4776
|
+
provinceId: string;
|
|
4777
|
+
wardId: string;
|
|
4778
|
+
detailedAddress: string;
|
|
4779
|
+
propertyLegalStatus: PropertyLegalStatus;
|
|
4780
|
+
approvalStatus: PropertyApprovalStatus;
|
|
4781
|
+
landCurrentStatus: PropertyLandCurrentStatus;
|
|
4782
|
+
type: PropertyType;
|
|
4783
|
+
propertyDetail: {
|
|
4784
|
+
orientation?: string | undefined;
|
|
4785
|
+
buildingDensityPercent?: number | undefined;
|
|
4786
|
+
structureType?: string | undefined;
|
|
4787
|
+
constructionQuality?: string | undefined;
|
|
4788
|
+
height?: number | undefined;
|
|
4789
|
+
width?: number | undefined;
|
|
4790
|
+
length?: number | undefined;
|
|
4791
|
+
completionRate?: number | undefined;
|
|
4792
|
+
floorType?: string | undefined;
|
|
4793
|
+
loadBearingFloor?: number | undefined;
|
|
4794
|
+
specialAttributes?: any;
|
|
4795
|
+
};
|
|
4796
|
+
propertyMapId?: string | undefined;
|
|
4797
|
+
polygon?: {
|
|
4798
|
+
x: number;
|
|
4799
|
+
y: number;
|
|
4800
|
+
z?: number | undefined;
|
|
4801
|
+
}[] | undefined;
|
|
4802
|
+
isPublic?: boolean | undefined;
|
|
5206
4803
|
description?: string | undefined;
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
defs: Record<string, BaseSchema>;
|
|
5247
|
-
} | undefined;
|
|
5248
|
-
}
|
|
5249
|
-
/**
|
|
5250
|
-
* Parameters for the toJSONSchema function.
|
|
5251
|
-
*/
|
|
5252
|
-
type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
|
|
5253
|
-
interface ProcessParams {
|
|
5254
|
-
schemaPath: $ZodType[];
|
|
5255
|
-
path: (string | number)[];
|
|
5256
|
-
}
|
|
5257
|
-
interface Seen {
|
|
5258
|
-
/** JSON Schema result for this Zod schema */
|
|
5259
|
-
schema: BaseSchema;
|
|
5260
|
-
/** A cached version of the schema that doesn't get overwritten during ref resolution */
|
|
5261
|
-
def?: BaseSchema;
|
|
5262
|
-
defId?: string | undefined;
|
|
5263
|
-
/** Number of times this schema was encountered during traversal */
|
|
5264
|
-
count: number;
|
|
5265
|
-
/** Cycle path */
|
|
5266
|
-
cycle?: (string | number)[] | undefined;
|
|
5267
|
-
isParent?: boolean | undefined;
|
|
5268
|
-
/** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
|
|
5269
|
-
ref?: $ZodType | null;
|
|
5270
|
-
/** JSON Schema property path for this schema */
|
|
5271
|
-
path?: (string | number)[] | undefined;
|
|
5272
|
-
}
|
|
5273
|
-
interface ToJSONSchemaContext {
|
|
5274
|
-
processors: Record<string, Processor>;
|
|
5275
|
-
metadataRegistry: $ZodRegistry<Record<string, any>>;
|
|
5276
|
-
target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
|
|
5277
|
-
unrepresentable: "throw" | "any";
|
|
5278
|
-
override: (ctx: {
|
|
5279
|
-
zodSchema: $ZodType;
|
|
5280
|
-
jsonSchema: BaseSchema;
|
|
5281
|
-
path: (string | number)[];
|
|
5282
|
-
}) => void;
|
|
5283
|
-
io: "input" | "output";
|
|
5284
|
-
counter: number;
|
|
5285
|
-
seen: Map<$ZodType, Seen>;
|
|
5286
|
-
cycles: "ref" | "throw";
|
|
5287
|
-
reused: "ref" | "inline";
|
|
5288
|
-
external?: {
|
|
5289
|
-
registry: $ZodRegistry<{
|
|
5290
|
-
id?: string | undefined;
|
|
5291
|
-
}>;
|
|
5292
|
-
uri?: ((id: string) => string) | undefined;
|
|
5293
|
-
defs: Record<string, BaseSchema>;
|
|
5294
|
-
} | undefined;
|
|
5295
|
-
}
|
|
5296
|
-
type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
5297
|
-
interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
|
|
5298
|
-
"~standard": ZodStandardSchemaWithJSON$1<T>;
|
|
5299
|
-
}
|
|
5300
|
-
//#endregion
|
|
5301
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts
|
|
5302
|
-
type JWTAlgorithm = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | (string & {});
|
|
5303
|
-
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 & {});
|
|
5304
|
-
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
5305
|
-
type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
5306
|
-
type MakePartial<T, K extends keyof T> = Omit$1<T, K> & InexactPartial<Pick<T, K>>;
|
|
5307
|
-
type NoUndefined<T> = T extends undefined ? never : T;
|
|
5308
|
-
type LoosePartial<T extends object> = InexactPartial<T> & {
|
|
5309
|
-
[k: string]: unknown;
|
|
5310
|
-
};
|
|
5311
|
-
type Mask<Keys extends PropertyKey> = { [K in Keys]?: true };
|
|
5312
|
-
type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
|
|
5313
|
-
type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
|
|
5314
|
-
readonly [Symbol.toStringTag]: string;
|
|
5315
|
-
} | Date | Error | Generator | Promise<unknown> | RegExp;
|
|
5316
|
-
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>;
|
|
5317
|
-
type SomeObject = Record<PropertyKey, any>;
|
|
5318
|
-
type Identity<T> = T;
|
|
5319
|
-
type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
|
|
5320
|
-
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
5321
|
-
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] }>;
|
|
5322
|
-
type TupleItems = ReadonlyArray<SomeType>;
|
|
5323
|
-
type AnyFunc = (...args: any[]) => any;
|
|
5324
|
-
type MaybeAsync<T> = T | Promise<T>;
|
|
5325
|
-
type EnumValue = string | number;
|
|
5326
|
-
type EnumLike = Readonly<Record<string, EnumValue>>;
|
|
5327
|
-
type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k }>;
|
|
5328
|
-
type Literal = string | number | bigint | boolean | null | undefined;
|
|
5329
|
-
type Primitive = string | number | symbol | bigint | boolean | null | undefined;
|
|
5330
|
-
type HasLength = {
|
|
5331
|
-
length: number;
|
|
5332
|
-
};
|
|
5333
|
-
type Numeric = number | bigint | Date;
|
|
5334
|
-
type PropValues = Record<string, Set<Primitive>>;
|
|
5335
|
-
type PrimitiveSet = Set<Primitive>;
|
|
5336
|
-
type EmptyToNever<T> = keyof T extends never ? never : T;
|
|
5337
|
-
declare abstract class Class {
|
|
5338
|
-
constructor(..._args: any[]);
|
|
5339
|
-
}
|
|
5340
|
-
//#endregion
|
|
5341
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts
|
|
5342
|
-
declare const version: {
|
|
5343
|
-
readonly major: 4;
|
|
5344
|
-
readonly minor: 3;
|
|
5345
|
-
readonly patch: number;
|
|
5346
|
-
};
|
|
5347
|
-
//#endregion
|
|
5348
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts
|
|
5349
|
-
interface ParseContext<T extends $ZodIssueBase = never> {
|
|
5350
|
-
/** Customize error messages. */
|
|
5351
|
-
readonly error?: $ZodErrorMap<T>;
|
|
5352
|
-
/** Include the `input` field in issue objects. Default `false`. */
|
|
5353
|
-
readonly reportInput?: boolean;
|
|
5354
|
-
/** Skip eval-based fast path. Default `false`. */
|
|
5355
|
-
readonly jitless?: boolean;
|
|
5356
|
-
}
|
|
5357
|
-
/** @internal */
|
|
5358
|
-
interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseContext<T> {
|
|
5359
|
-
readonly async?: boolean | undefined;
|
|
5360
|
-
readonly direction?: "forward" | "backward";
|
|
5361
|
-
readonly skipChecks?: boolean;
|
|
5362
|
-
}
|
|
5363
|
-
interface ParsePayload<T = unknown> {
|
|
5364
|
-
value: T;
|
|
5365
|
-
issues: $ZodRawIssue[];
|
|
5366
|
-
/** A may to mark a whole payload as aborted. Used in codecs/pipes. */
|
|
5367
|
-
aborted?: boolean;
|
|
5368
|
-
}
|
|
5369
|
-
type CheckFn<T> = (input: ParsePayload<T>) => MaybeAsync<void>;
|
|
5370
|
-
interface $ZodTypeDef {
|
|
5371
|
-
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";
|
|
5372
|
-
error?: $ZodErrorMap<never> | undefined;
|
|
5373
|
-
checks?: $ZodCheck<never>[];
|
|
5374
|
-
}
|
|
5375
|
-
interface _$ZodTypeInternals {
|
|
5376
|
-
/** The `@zod/core` version of this schema */
|
|
5377
|
-
version: typeof version;
|
|
5378
|
-
/** Schema definition. */
|
|
5379
|
-
def: $ZodTypeDef;
|
|
5380
|
-
/** @internal Randomly generated ID for this schema. */
|
|
5381
|
-
/** @internal List of deferred initializers. */
|
|
5382
|
-
deferred: AnyFunc[] | undefined;
|
|
5383
|
-
/** @internal Parses input and runs all checks (refinements). */
|
|
5384
|
-
run(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
5385
|
-
/** @internal Parses input, doesn't run checks. */
|
|
5386
|
-
parse(payload: ParsePayload<any>, ctx: ParseContextInternal): MaybeAsync<ParsePayload>;
|
|
5387
|
-
/** @internal Stores identifiers for the set of traits implemented by this schema. */
|
|
5388
|
-
traits: Set<string>;
|
|
5389
|
-
/** @internal Indicates that a schema output type should be considered optional inside objects.
|
|
5390
|
-
* @default Required
|
|
5391
|
-
*/
|
|
5392
|
-
/** @internal */
|
|
5393
|
-
optin?: "optional" | undefined;
|
|
5394
|
-
/** @internal */
|
|
5395
|
-
optout?: "optional" | undefined;
|
|
5396
|
-
/** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
|
|
5397
|
-
*
|
|
5398
|
-
* Defined on: enum, const, literal, null, undefined
|
|
5399
|
-
* Passthrough: optional, nullable, branded, default, catch, pipe
|
|
5400
|
-
* Todo: unions?
|
|
5401
|
-
*/
|
|
5402
|
-
values?: PrimitiveSet | undefined;
|
|
5403
|
-
/** Default value bubbled up from */
|
|
5404
|
-
/** @internal A set of literal discriminators used for the fast path in discriminated unions. */
|
|
5405
|
-
propValues?: PropValues | undefined;
|
|
5406
|
-
/** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
|
|
5407
|
-
pattern: RegExp | undefined;
|
|
5408
|
-
/** @internal The constructor function of this schema. */
|
|
5409
|
-
constr: new (def: any) => $ZodType;
|
|
5410
|
-
/** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
|
|
5411
|
-
bag: Record<string, unknown>;
|
|
5412
|
-
/** @internal The set of issues this schema might throw during type checking. */
|
|
5413
|
-
isst: $ZodIssueBase;
|
|
5414
|
-
/** @internal Subject to change, not a public API. */
|
|
5415
|
-
processJSONSchema?: ((ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void) | undefined;
|
|
5416
|
-
/** An optional method used to override `toJSONSchema` logic. */
|
|
5417
|
-
toJSONSchema?: () => unknown;
|
|
5418
|
-
/** @internal The parent of this schema. Only set during certain clone operations. */
|
|
5419
|
-
parent?: $ZodType | undefined;
|
|
5420
|
-
}
|
|
5421
|
-
/** @internal */
|
|
5422
|
-
interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
|
|
5423
|
-
/** @internal The inferred output type */
|
|
5424
|
-
output: O;
|
|
5425
|
-
/** @internal The inferred input type */
|
|
5426
|
-
input: I;
|
|
5427
|
-
}
|
|
5428
|
-
type $ZodStandardSchema<T> = StandardSchemaV1.Props<input<T>, output<T>>;
|
|
5429
|
-
type SomeType = {
|
|
5430
|
-
_zod: _$ZodTypeInternals;
|
|
5431
|
-
};
|
|
5432
|
-
interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {
|
|
5433
|
-
_zod: Internals;
|
|
5434
|
-
"~standard": $ZodStandardSchema<this>;
|
|
5435
|
-
}
|
|
5436
|
-
interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {}
|
|
5437
|
-
declare const $ZodType: $constructor<$ZodType>;
|
|
5438
|
-
interface $ZodStringDef extends $ZodTypeDef {
|
|
5439
|
-
type: "string";
|
|
5440
|
-
coerce?: boolean;
|
|
5441
|
-
checks?: $ZodCheck<string>[];
|
|
5442
|
-
}
|
|
5443
|
-
interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
|
|
5444
|
-
def: $ZodStringDef;
|
|
5445
|
-
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5446
|
-
pattern: RegExp;
|
|
5447
|
-
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5448
|
-
isst: $ZodIssueInvalidType;
|
|
5449
|
-
bag: LoosePartial<{
|
|
5450
|
-
minimum: number;
|
|
5451
|
-
maximum: number;
|
|
5452
|
-
patterns: Set<RegExp>;
|
|
5453
|
-
format: string;
|
|
5454
|
-
contentEncoding: string;
|
|
5455
|
-
}>;
|
|
5456
|
-
}
|
|
5457
|
-
interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {}
|
|
5458
|
-
declare const $ZodString: $constructor<$ZodString>;
|
|
5459
|
-
interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, $ZodCheckStringFormatDef<Format> {}
|
|
5460
|
-
interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, $ZodCheckStringFormatInternals {
|
|
5461
|
-
def: $ZodStringFormatDef<Format>;
|
|
5462
|
-
}
|
|
5463
|
-
interface $ZodStringFormat<Format extends string = string> extends $ZodType {
|
|
5464
|
-
_zod: $ZodStringFormatInternals<Format>;
|
|
5465
|
-
}
|
|
5466
|
-
declare const $ZodStringFormat: $constructor<$ZodStringFormat>;
|
|
5467
|
-
interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
|
|
5468
|
-
interface $ZodGUID extends $ZodType {
|
|
5469
|
-
_zod: $ZodGUIDInternals;
|
|
5470
|
-
}
|
|
5471
|
-
declare const $ZodGUID: $constructor<$ZodGUID>;
|
|
5472
|
-
interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
|
|
5473
|
-
version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
|
|
5474
|
-
}
|
|
5475
|
-
interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
|
|
5476
|
-
def: $ZodUUIDDef;
|
|
5477
|
-
}
|
|
5478
|
-
interface $ZodUUID extends $ZodType {
|
|
5479
|
-
_zod: $ZodUUIDInternals;
|
|
5480
|
-
}
|
|
5481
|
-
declare const $ZodUUID: $constructor<$ZodUUID>;
|
|
5482
|
-
interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
|
|
5483
|
-
interface $ZodEmail extends $ZodType {
|
|
5484
|
-
_zod: $ZodEmailInternals;
|
|
5485
|
-
}
|
|
5486
|
-
declare const $ZodEmail: $constructor<$ZodEmail>;
|
|
5487
|
-
interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
|
|
5488
|
-
hostname?: RegExp | undefined;
|
|
5489
|
-
protocol?: RegExp | undefined;
|
|
5490
|
-
normalize?: boolean | undefined;
|
|
5491
|
-
}
|
|
5492
|
-
interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
|
|
5493
|
-
def: $ZodURLDef;
|
|
5494
|
-
}
|
|
5495
|
-
interface $ZodURL extends $ZodType {
|
|
5496
|
-
_zod: $ZodURLInternals;
|
|
5497
|
-
}
|
|
5498
|
-
declare const $ZodURL: $constructor<$ZodURL>;
|
|
5499
|
-
interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
|
|
5500
|
-
interface $ZodEmoji extends $ZodType {
|
|
5501
|
-
_zod: $ZodEmojiInternals;
|
|
5502
|
-
}
|
|
5503
|
-
declare const $ZodEmoji: $constructor<$ZodEmoji>;
|
|
5504
|
-
interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {}
|
|
5505
|
-
interface $ZodNanoID extends $ZodType {
|
|
5506
|
-
_zod: $ZodNanoIDInternals;
|
|
5507
|
-
}
|
|
5508
|
-
declare const $ZodNanoID: $constructor<$ZodNanoID>;
|
|
5509
|
-
interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
|
|
5510
|
-
interface $ZodCUID extends $ZodType {
|
|
5511
|
-
_zod: $ZodCUIDInternals;
|
|
5512
|
-
}
|
|
5513
|
-
declare const $ZodCUID: $constructor<$ZodCUID>;
|
|
5514
|
-
interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
|
|
5515
|
-
interface $ZodCUID2 extends $ZodType {
|
|
5516
|
-
_zod: $ZodCUID2Internals;
|
|
5517
|
-
}
|
|
5518
|
-
declare const $ZodCUID2: $constructor<$ZodCUID2>;
|
|
5519
|
-
interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
|
|
5520
|
-
interface $ZodULID extends $ZodType {
|
|
5521
|
-
_zod: $ZodULIDInternals;
|
|
5522
|
-
}
|
|
5523
|
-
declare const $ZodULID: $constructor<$ZodULID>;
|
|
5524
|
-
interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
|
|
5525
|
-
interface $ZodXID extends $ZodType {
|
|
5526
|
-
_zod: $ZodXIDInternals;
|
|
5527
|
-
}
|
|
5528
|
-
declare const $ZodXID: $constructor<$ZodXID>;
|
|
5529
|
-
interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
|
|
5530
|
-
interface $ZodKSUID extends $ZodType {
|
|
5531
|
-
_zod: $ZodKSUIDInternals;
|
|
5532
|
-
}
|
|
5533
|
-
declare const $ZodKSUID: $constructor<$ZodKSUID>;
|
|
5534
|
-
interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
|
|
5535
|
-
precision: number | null;
|
|
5536
|
-
offset: boolean;
|
|
5537
|
-
local: boolean;
|
|
5538
|
-
}
|
|
5539
|
-
interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
|
|
5540
|
-
def: $ZodISODateTimeDef;
|
|
5541
|
-
}
|
|
5542
|
-
interface $ZodISODateTime extends $ZodType {
|
|
5543
|
-
_zod: $ZodISODateTimeInternals;
|
|
5544
|
-
}
|
|
5545
|
-
declare const $ZodISODateTime: $constructor<$ZodISODateTime>;
|
|
5546
|
-
interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
|
|
5547
|
-
interface $ZodISODate extends $ZodType {
|
|
5548
|
-
_zod: $ZodISODateInternals;
|
|
5549
|
-
}
|
|
5550
|
-
declare const $ZodISODate: $constructor<$ZodISODate>;
|
|
5551
|
-
interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
|
|
5552
|
-
precision?: number | null;
|
|
5553
|
-
}
|
|
5554
|
-
interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
|
|
5555
|
-
def: $ZodISOTimeDef;
|
|
5556
|
-
}
|
|
5557
|
-
interface $ZodISOTime extends $ZodType {
|
|
5558
|
-
_zod: $ZodISOTimeInternals;
|
|
5559
|
-
}
|
|
5560
|
-
declare const $ZodISOTime: $constructor<$ZodISOTime>;
|
|
5561
|
-
interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
|
|
5562
|
-
interface $ZodISODuration extends $ZodType {
|
|
5563
|
-
_zod: $ZodISODurationInternals;
|
|
5564
|
-
}
|
|
5565
|
-
declare const $ZodISODuration: $constructor<$ZodISODuration>;
|
|
5566
|
-
interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
|
|
5567
|
-
version?: "v4";
|
|
5568
|
-
}
|
|
5569
|
-
interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
|
|
5570
|
-
def: $ZodIPv4Def;
|
|
5571
|
-
}
|
|
5572
|
-
interface $ZodIPv4 extends $ZodType {
|
|
5573
|
-
_zod: $ZodIPv4Internals;
|
|
5574
|
-
}
|
|
5575
|
-
declare const $ZodIPv4: $constructor<$ZodIPv4>;
|
|
5576
|
-
interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
|
|
5577
|
-
version?: "v6";
|
|
5578
|
-
}
|
|
5579
|
-
interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
|
|
5580
|
-
def: $ZodIPv6Def;
|
|
5581
|
-
}
|
|
5582
|
-
interface $ZodIPv6 extends $ZodType {
|
|
5583
|
-
_zod: $ZodIPv6Internals;
|
|
5584
|
-
}
|
|
5585
|
-
declare const $ZodIPv6: $constructor<$ZodIPv6>;
|
|
5586
|
-
interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
|
|
5587
|
-
version?: "v4";
|
|
5588
|
-
}
|
|
5589
|
-
interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
|
|
5590
|
-
def: $ZodCIDRv4Def;
|
|
5591
|
-
}
|
|
5592
|
-
interface $ZodCIDRv4 extends $ZodType {
|
|
5593
|
-
_zod: $ZodCIDRv4Internals;
|
|
5594
|
-
}
|
|
5595
|
-
declare const $ZodCIDRv4: $constructor<$ZodCIDRv4>;
|
|
5596
|
-
interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
|
|
5597
|
-
version?: "v6";
|
|
5598
|
-
}
|
|
5599
|
-
interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
|
|
5600
|
-
def: $ZodCIDRv6Def;
|
|
5601
|
-
}
|
|
5602
|
-
interface $ZodCIDRv6 extends $ZodType {
|
|
5603
|
-
_zod: $ZodCIDRv6Internals;
|
|
5604
|
-
}
|
|
5605
|
-
declare const $ZodCIDRv6: $constructor<$ZodCIDRv6>;
|
|
5606
|
-
interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
|
|
5607
|
-
interface $ZodBase64 extends $ZodType {
|
|
5608
|
-
_zod: $ZodBase64Internals;
|
|
5609
|
-
}
|
|
5610
|
-
declare const $ZodBase64: $constructor<$ZodBase64>;
|
|
5611
|
-
interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
|
|
5612
|
-
interface $ZodBase64URL extends $ZodType {
|
|
5613
|
-
_zod: $ZodBase64URLInternals;
|
|
5614
|
-
}
|
|
5615
|
-
declare const $ZodBase64URL: $constructor<$ZodBase64URL>;
|
|
5616
|
-
interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
|
|
5617
|
-
interface $ZodE164 extends $ZodType {
|
|
5618
|
-
_zod: $ZodE164Internals;
|
|
5619
|
-
}
|
|
5620
|
-
declare const $ZodE164: $constructor<$ZodE164>;
|
|
5621
|
-
interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
|
|
5622
|
-
alg?: JWTAlgorithm | undefined;
|
|
5623
|
-
}
|
|
5624
|
-
interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
|
|
5625
|
-
def: $ZodJWTDef;
|
|
5626
|
-
}
|
|
5627
|
-
interface $ZodJWT extends $ZodType {
|
|
5628
|
-
_zod: $ZodJWTInternals;
|
|
5629
|
-
}
|
|
5630
|
-
declare const $ZodJWT: $constructor<$ZodJWT>;
|
|
5631
|
-
interface $ZodNumberDef extends $ZodTypeDef {
|
|
5632
|
-
type: "number";
|
|
5633
|
-
coerce?: boolean;
|
|
5634
|
-
}
|
|
5635
|
-
interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {
|
|
5636
|
-
def: $ZodNumberDef;
|
|
5637
|
-
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5638
|
-
pattern: RegExp;
|
|
5639
|
-
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5640
|
-
isst: $ZodIssueInvalidType;
|
|
5641
|
-
bag: LoosePartial<{
|
|
5642
|
-
minimum: number;
|
|
5643
|
-
maximum: number;
|
|
5644
|
-
exclusiveMinimum: number;
|
|
5645
|
-
exclusiveMaximum: number;
|
|
5646
|
-
format: string;
|
|
5647
|
-
pattern: RegExp;
|
|
5648
|
-
}>;
|
|
5649
|
-
}
|
|
5650
|
-
interface $ZodNumber<Input = unknown> extends $ZodType {
|
|
5651
|
-
_zod: $ZodNumberInternals<Input>;
|
|
5652
|
-
}
|
|
5653
|
-
declare const $ZodNumber: $constructor<$ZodNumber>;
|
|
5654
|
-
interface $ZodBooleanDef extends $ZodTypeDef {
|
|
5655
|
-
type: "boolean";
|
|
5656
|
-
coerce?: boolean;
|
|
5657
|
-
checks?: $ZodCheck<boolean>[];
|
|
5658
|
-
}
|
|
5659
|
-
interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {
|
|
5660
|
-
pattern: RegExp;
|
|
5661
|
-
def: $ZodBooleanDef;
|
|
5662
|
-
isst: $ZodIssueInvalidType;
|
|
5663
|
-
}
|
|
5664
|
-
interface $ZodBoolean<T = unknown> extends $ZodType {
|
|
5665
|
-
_zod: $ZodBooleanInternals<T>;
|
|
5666
|
-
}
|
|
5667
|
-
declare const $ZodBoolean: $constructor<$ZodBoolean>;
|
|
5668
|
-
interface $ZodBigIntDef extends $ZodTypeDef {
|
|
5669
|
-
type: "bigint";
|
|
5670
|
-
coerce?: boolean;
|
|
5671
|
-
}
|
|
5672
|
-
interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
|
|
5673
|
-
pattern: RegExp;
|
|
5674
|
-
/** @internal Internal API, use with caution */
|
|
5675
|
-
def: $ZodBigIntDef;
|
|
5676
|
-
isst: $ZodIssueInvalidType;
|
|
5677
|
-
bag: LoosePartial<{
|
|
5678
|
-
minimum: bigint;
|
|
5679
|
-
maximum: bigint;
|
|
5680
|
-
format: string;
|
|
5681
|
-
}>;
|
|
5682
|
-
}
|
|
5683
|
-
interface $ZodBigInt<T = unknown> extends $ZodType {
|
|
5684
|
-
_zod: $ZodBigIntInternals<T>;
|
|
5685
|
-
}
|
|
5686
|
-
declare const $ZodBigInt: $constructor<$ZodBigInt>;
|
|
5687
|
-
interface $ZodSymbolDef extends $ZodTypeDef {
|
|
5688
|
-
type: "symbol";
|
|
5689
|
-
}
|
|
5690
|
-
interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
|
|
5691
|
-
def: $ZodSymbolDef;
|
|
5692
|
-
isst: $ZodIssueInvalidType;
|
|
5693
|
-
}
|
|
5694
|
-
interface $ZodSymbol extends $ZodType {
|
|
5695
|
-
_zod: $ZodSymbolInternals;
|
|
5696
|
-
}
|
|
5697
|
-
declare const $ZodSymbol: $constructor<$ZodSymbol>;
|
|
5698
|
-
interface $ZodUndefinedDef extends $ZodTypeDef {
|
|
5699
|
-
type: "undefined";
|
|
5700
|
-
}
|
|
5701
|
-
interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
|
|
5702
|
-
pattern: RegExp;
|
|
5703
|
-
def: $ZodUndefinedDef;
|
|
5704
|
-
values: PrimitiveSet;
|
|
5705
|
-
isst: $ZodIssueInvalidType;
|
|
5706
|
-
}
|
|
5707
|
-
interface $ZodUndefined extends $ZodType {
|
|
5708
|
-
_zod: $ZodUndefinedInternals;
|
|
5709
|
-
}
|
|
5710
|
-
declare const $ZodUndefined: $constructor<$ZodUndefined>;
|
|
5711
|
-
interface $ZodNullDef extends $ZodTypeDef {
|
|
5712
|
-
type: "null";
|
|
5713
|
-
}
|
|
5714
|
-
interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
|
|
5715
|
-
pattern: RegExp;
|
|
5716
|
-
def: $ZodNullDef;
|
|
5717
|
-
values: PrimitiveSet;
|
|
5718
|
-
isst: $ZodIssueInvalidType;
|
|
5719
|
-
}
|
|
5720
|
-
interface $ZodNull extends $ZodType {
|
|
5721
|
-
_zod: $ZodNullInternals;
|
|
5722
|
-
}
|
|
5723
|
-
declare const $ZodNull: $constructor<$ZodNull>;
|
|
5724
|
-
interface $ZodAnyDef extends $ZodTypeDef {
|
|
5725
|
-
type: "any";
|
|
5726
|
-
}
|
|
5727
|
-
interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
|
|
5728
|
-
def: $ZodAnyDef;
|
|
5729
|
-
isst: never;
|
|
5730
|
-
}
|
|
5731
|
-
interface $ZodAny extends $ZodType {
|
|
5732
|
-
_zod: $ZodAnyInternals;
|
|
5733
|
-
}
|
|
5734
|
-
declare const $ZodAny: $constructor<$ZodAny>;
|
|
5735
|
-
interface $ZodUnknownDef extends $ZodTypeDef {
|
|
5736
|
-
type: "unknown";
|
|
5737
|
-
}
|
|
5738
|
-
interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
|
|
5739
|
-
def: $ZodUnknownDef;
|
|
5740
|
-
isst: never;
|
|
5741
|
-
}
|
|
5742
|
-
interface $ZodUnknown extends $ZodType {
|
|
5743
|
-
_zod: $ZodUnknownInternals;
|
|
5744
|
-
}
|
|
5745
|
-
declare const $ZodUnknown: $constructor<$ZodUnknown>;
|
|
5746
|
-
interface $ZodNeverDef extends $ZodTypeDef {
|
|
5747
|
-
type: "never";
|
|
5748
|
-
}
|
|
5749
|
-
interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
|
|
5750
|
-
def: $ZodNeverDef;
|
|
5751
|
-
isst: $ZodIssueInvalidType;
|
|
5752
|
-
}
|
|
5753
|
-
interface $ZodNever extends $ZodType {
|
|
5754
|
-
_zod: $ZodNeverInternals;
|
|
5755
|
-
}
|
|
5756
|
-
declare const $ZodNever: $constructor<$ZodNever>;
|
|
5757
|
-
interface $ZodVoidDef extends $ZodTypeDef {
|
|
5758
|
-
type: "void";
|
|
5759
|
-
}
|
|
5760
|
-
interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
|
|
5761
|
-
def: $ZodVoidDef;
|
|
5762
|
-
isst: $ZodIssueInvalidType;
|
|
5763
|
-
}
|
|
5764
|
-
interface $ZodVoid extends $ZodType {
|
|
5765
|
-
_zod: $ZodVoidInternals;
|
|
5766
|
-
}
|
|
5767
|
-
declare const $ZodVoid: $constructor<$ZodVoid>;
|
|
5768
|
-
interface $ZodDateDef extends $ZodTypeDef {
|
|
5769
|
-
type: "date";
|
|
5770
|
-
coerce?: boolean;
|
|
5771
|
-
}
|
|
5772
|
-
interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
|
|
5773
|
-
def: $ZodDateDef;
|
|
5774
|
-
isst: $ZodIssueInvalidType;
|
|
5775
|
-
bag: LoosePartial<{
|
|
5776
|
-
minimum: Date;
|
|
5777
|
-
maximum: Date;
|
|
5778
|
-
format: string;
|
|
5779
|
-
}>;
|
|
5780
|
-
}
|
|
5781
|
-
interface $ZodDate<T = unknown> extends $ZodType {
|
|
5782
|
-
_zod: $ZodDateInternals<T>;
|
|
5783
|
-
}
|
|
5784
|
-
declare const $ZodDate: $constructor<$ZodDate>;
|
|
5785
|
-
interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5786
|
-
type: "array";
|
|
5787
|
-
element: T;
|
|
5788
|
-
}
|
|
5789
|
-
interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
|
|
5790
|
-
def: $ZodArrayDef<T>;
|
|
5791
|
-
isst: $ZodIssueInvalidType;
|
|
5792
|
-
output: output<T>[];
|
|
5793
|
-
input: input<T>[];
|
|
5794
|
-
}
|
|
5795
|
-
interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {}
|
|
5796
|
-
declare const $ZodArray: $constructor<$ZodArray>;
|
|
5797
|
-
type OptionalOutSchema = {
|
|
5798
|
-
_zod: {
|
|
5799
|
-
optout: "optional";
|
|
5800
|
-
};
|
|
5801
|
-
};
|
|
5802
|
-
type OptionalInSchema = {
|
|
5803
|
-
_zod: {
|
|
5804
|
-
optin: "optional";
|
|
5805
|
-
};
|
|
5806
|
-
};
|
|
5807
|
-
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>;
|
|
5808
|
-
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>;
|
|
5809
|
-
type $ZodObjectConfig = {
|
|
5810
|
-
out: Record<string, unknown>;
|
|
5811
|
-
in: Record<string, unknown>;
|
|
5812
|
-
};
|
|
5813
|
-
type $loose = {
|
|
5814
|
-
out: Record<string, unknown>;
|
|
5815
|
-
in: Record<string, unknown>;
|
|
5816
|
-
};
|
|
5817
|
-
type $strict = {
|
|
5818
|
-
out: {};
|
|
5819
|
-
in: {};
|
|
5820
|
-
};
|
|
5821
|
-
type $strip = {
|
|
5822
|
-
out: {};
|
|
5823
|
-
in: {};
|
|
5824
|
-
};
|
|
5825
|
-
type $catchall<T extends SomeType> = {
|
|
5826
|
-
out: {
|
|
5827
|
-
[k: string]: output<T>;
|
|
5828
|
-
};
|
|
5829
|
-
in: {
|
|
5830
|
-
[k: string]: input<T>;
|
|
5831
|
-
};
|
|
5832
|
-
};
|
|
5833
|
-
type $ZodShape = Readonly<{
|
|
5834
|
-
[k: string]: $ZodType;
|
|
5835
|
-
}>;
|
|
5836
|
-
interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {
|
|
5837
|
-
type: "object";
|
|
5838
|
-
shape: Shape;
|
|
5839
|
-
catchall?: $ZodType | undefined;
|
|
5840
|
-
}
|
|
5841
|
-
interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
|
|
5842
|
-
def: $ZodObjectDef<Shape>;
|
|
5843
|
-
config: Config;
|
|
5844
|
-
isst: $ZodIssueInvalidType | $ZodIssueUnrecognizedKeys;
|
|
5845
|
-
propValues: PropValues;
|
|
5846
|
-
output: $InferObjectOutput<Shape, Config["out"]>;
|
|
5847
|
-
input: $InferObjectInput<Shape, Config["in"]>;
|
|
5848
|
-
optin?: "optional" | undefined;
|
|
5849
|
-
optout?: "optional" | undefined;
|
|
5850
|
-
}
|
|
5851
|
-
type $ZodLooseShape = Record<string, any>;
|
|
5852
|
-
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>> {}
|
|
5853
|
-
declare const $ZodObject: $constructor<$ZodObject>;
|
|
5854
|
-
type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
|
|
5855
|
-
type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
|
|
5856
|
-
interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
|
|
5857
|
-
type: "union";
|
|
5858
|
-
options: Options;
|
|
5859
|
-
inclusive?: boolean;
|
|
5860
|
-
}
|
|
5861
|
-
type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
|
|
5862
|
-
type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
|
|
5863
|
-
interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {
|
|
5864
|
-
def: $ZodUnionDef<T>;
|
|
5865
|
-
isst: $ZodIssueInvalidUnion;
|
|
5866
|
-
pattern: T[number]["_zod"]["pattern"];
|
|
5867
|
-
values: T[number]["_zod"]["values"];
|
|
5868
|
-
output: $InferUnionOutput<T[number]>;
|
|
5869
|
-
input: $InferUnionInput<T[number]>;
|
|
5870
|
-
optin: IsOptionalIn<T[number]> extends false ? "optional" | undefined : "optional";
|
|
5871
|
-
optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
|
|
5872
|
-
}
|
|
5873
|
-
interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {
|
|
5874
|
-
_zod: $ZodUnionInternals<T>;
|
|
5875
|
-
}
|
|
5876
|
-
declare const $ZodUnion: $constructor<$ZodUnion>;
|
|
5877
|
-
interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5878
|
-
type: "intersection";
|
|
5879
|
-
left: Left;
|
|
5880
|
-
right: Right;
|
|
5881
|
-
}
|
|
5882
|
-
interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {
|
|
5883
|
-
def: $ZodIntersectionDef<A, B>;
|
|
5884
|
-
isst: never;
|
|
5885
|
-
optin: A["_zod"]["optin"] | B["_zod"]["optin"];
|
|
5886
|
-
optout: A["_zod"]["optout"] | B["_zod"]["optout"];
|
|
5887
|
-
output: output<A> & output<B>;
|
|
5888
|
-
input: input<A> & input<B>;
|
|
5889
|
-
}
|
|
5890
|
-
interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
|
|
5891
|
-
_zod: $ZodIntersectionInternals<A, B>;
|
|
5892
|
-
}
|
|
5893
|
-
declare const $ZodIntersection: $constructor<$ZodIntersection>;
|
|
5894
|
-
interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
|
|
5895
|
-
type: "tuple";
|
|
5896
|
-
items: T;
|
|
5897
|
-
rest: Rest;
|
|
5898
|
-
}
|
|
5899
|
-
type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input<Rest>[] : [])];
|
|
5900
|
-
type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]> };
|
|
5901
|
-
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> : [];
|
|
5902
|
-
type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output<Rest>[] : [])];
|
|
5903
|
-
type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]> };
|
|
5904
|
-
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> : [];
|
|
5905
|
-
interface $ZodTupleInternals<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
|
|
5906
|
-
def: $ZodTupleDef<T, Rest>;
|
|
5907
|
-
isst: $ZodIssueInvalidType | $ZodIssueTooBig<unknown[]> | $ZodIssueTooSmall<unknown[]>;
|
|
5908
|
-
output: $InferTupleOutputType<T, Rest>;
|
|
5909
|
-
input: $InferTupleInputType<T, Rest>;
|
|
5910
|
-
}
|
|
5911
|
-
interface $ZodTuple<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {
|
|
5912
|
-
_zod: $ZodTupleInternals<T, Rest>;
|
|
5913
|
-
}
|
|
5914
|
-
declare const $ZodTuple: $constructor<$ZodTuple>;
|
|
5915
|
-
type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;
|
|
5916
|
-
interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5917
|
-
type: "record";
|
|
5918
|
-
keyType: Key;
|
|
5919
|
-
valueType: Value;
|
|
5920
|
-
/** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
|
|
5921
|
-
mode?: "strict" | "loose";
|
|
5922
|
-
}
|
|
5923
|
-
type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output<Key>, output<Value>>> : Record<output<Key>, output<Value>>;
|
|
5924
|
-
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>>;
|
|
5925
|
-
interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
|
|
5926
|
-
def: $ZodRecordDef<Key, Value>;
|
|
5927
|
-
isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
|
|
5928
|
-
optin?: "optional" | undefined;
|
|
5929
|
-
optout?: "optional" | undefined;
|
|
5930
|
-
}
|
|
5931
|
-
type $partial = {
|
|
5932
|
-
"~~partial": true;
|
|
5933
|
-
};
|
|
5934
|
-
interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {
|
|
5935
|
-
_zod: $ZodRecordInternals<Key, Value>;
|
|
5936
|
-
}
|
|
5937
|
-
declare const $ZodRecord: $constructor<$ZodRecord>;
|
|
5938
|
-
interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5939
|
-
type: "map";
|
|
5940
|
-
keyType: Key;
|
|
5941
|
-
valueType: Value;
|
|
5942
|
-
}
|
|
5943
|
-
interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output<Key>, output<Value>>, Map<input<Key>, input<Value>>> {
|
|
5944
|
-
def: $ZodMapDef<Key, Value>;
|
|
5945
|
-
isst: $ZodIssueInvalidType | $ZodIssueInvalidKey | $ZodIssueInvalidElement<unknown>;
|
|
5946
|
-
optin?: "optional" | undefined;
|
|
5947
|
-
optout?: "optional" | undefined;
|
|
5948
|
-
}
|
|
5949
|
-
interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
|
|
5950
|
-
_zod: $ZodMapInternals<Key, Value>;
|
|
5951
|
-
}
|
|
5952
|
-
declare const $ZodMap: $constructor<$ZodMap>;
|
|
5953
|
-
interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
5954
|
-
type: "set";
|
|
5955
|
-
valueType: T;
|
|
5956
|
-
}
|
|
5957
|
-
interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output<T>>, Set<input<T>>> {
|
|
5958
|
-
def: $ZodSetDef<T>;
|
|
5959
|
-
isst: $ZodIssueInvalidType;
|
|
5960
|
-
optin?: "optional" | undefined;
|
|
5961
|
-
optout?: "optional" | undefined;
|
|
5962
|
-
}
|
|
5963
|
-
interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
|
|
5964
|
-
_zod: $ZodSetInternals<T>;
|
|
5965
|
-
}
|
|
5966
|
-
declare const $ZodSet: $constructor<$ZodSet>;
|
|
5967
|
-
type $InferEnumOutput<T extends EnumLike> = T[keyof T] & {};
|
|
5968
|
-
type $InferEnumInput<T extends EnumLike> = T[keyof T] & {};
|
|
5969
|
-
interface $ZodEnumDef<T extends EnumLike = EnumLike> extends $ZodTypeDef {
|
|
5970
|
-
type: "enum";
|
|
5971
|
-
entries: T;
|
|
5972
|
-
}
|
|
5973
|
-
interface $ZodEnumInternals< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
|
|
5974
|
-
def: $ZodEnumDef<T>;
|
|
5975
|
-
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5976
|
-
values: PrimitiveSet;
|
|
5977
|
-
/** @deprecated Internal API, use with caution (not deprecated) */
|
|
5978
|
-
pattern: RegExp;
|
|
5979
|
-
isst: $ZodIssueInvalidValue;
|
|
5980
|
-
}
|
|
5981
|
-
interface $ZodEnum<T extends EnumLike = EnumLike> extends $ZodType {
|
|
5982
|
-
_zod: $ZodEnumInternals<T>;
|
|
5983
|
-
}
|
|
5984
|
-
declare const $ZodEnum: $constructor<$ZodEnum>;
|
|
5985
|
-
interface $ZodLiteralDef<T extends Literal> extends $ZodTypeDef {
|
|
5986
|
-
type: "literal";
|
|
5987
|
-
values: T[];
|
|
5988
|
-
}
|
|
5989
|
-
interface $ZodLiteralInternals<T extends Literal = Literal> extends $ZodTypeInternals<T, T> {
|
|
5990
|
-
def: $ZodLiteralDef<T>;
|
|
5991
|
-
values: Set<T>;
|
|
5992
|
-
pattern: RegExp;
|
|
5993
|
-
isst: $ZodIssueInvalidValue;
|
|
5994
|
-
}
|
|
5995
|
-
interface $ZodLiteral<T extends Literal = Literal> extends $ZodType {
|
|
5996
|
-
_zod: $ZodLiteralInternals<T>;
|
|
5997
|
-
}
|
|
5998
|
-
declare const $ZodLiteral: $constructor<$ZodLiteral>;
|
|
5999
|
-
type _File = typeof globalThis extends {
|
|
6000
|
-
File: infer F extends new (...args: any[]) => any;
|
|
6001
|
-
} ? InstanceType<F> : {};
|
|
6002
|
-
/** Do not reference this directly. */
|
|
6003
|
-
interface File$1 extends _File {
|
|
6004
|
-
readonly type: string;
|
|
6005
|
-
readonly size: number;
|
|
6006
|
-
}
|
|
6007
|
-
interface $ZodFileDef extends $ZodTypeDef {
|
|
6008
|
-
type: "file";
|
|
6009
|
-
}
|
|
6010
|
-
interface $ZodFileInternals extends $ZodTypeInternals<File$1, File$1> {
|
|
6011
|
-
def: $ZodFileDef;
|
|
6012
|
-
isst: $ZodIssueInvalidType;
|
|
6013
|
-
bag: LoosePartial<{
|
|
6014
|
-
minimum: number;
|
|
6015
|
-
maximum: number;
|
|
6016
|
-
mime: MimeTypes[];
|
|
6017
|
-
}>;
|
|
6018
|
-
}
|
|
6019
|
-
interface $ZodFile extends $ZodType {
|
|
6020
|
-
_zod: $ZodFileInternals;
|
|
6021
|
-
}
|
|
6022
|
-
declare const $ZodFile: $constructor<$ZodFile>;
|
|
6023
|
-
interface $ZodTransformDef extends $ZodTypeDef {
|
|
6024
|
-
type: "transform";
|
|
6025
|
-
transform: (input: unknown, payload: ParsePayload<unknown>) => MaybeAsync<unknown>;
|
|
6026
|
-
}
|
|
6027
|
-
interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
|
|
6028
|
-
def: $ZodTransformDef;
|
|
6029
|
-
isst: never;
|
|
6030
|
-
}
|
|
6031
|
-
interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
|
|
6032
|
-
_zod: $ZodTransformInternals<O, I>;
|
|
6033
|
-
}
|
|
6034
|
-
declare const $ZodTransform: $constructor<$ZodTransform>;
|
|
6035
|
-
interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6036
|
-
type: "optional";
|
|
6037
|
-
innerType: T;
|
|
6038
|
-
}
|
|
6039
|
-
interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | undefined, input<T> | undefined> {
|
|
6040
|
-
def: $ZodOptionalDef<T>;
|
|
6041
|
-
optin: "optional";
|
|
6042
|
-
optout: "optional";
|
|
6043
|
-
isst: never;
|
|
6044
|
-
values: T["_zod"]["values"];
|
|
6045
|
-
pattern: T["_zod"]["pattern"];
|
|
6046
|
-
}
|
|
6047
|
-
interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
|
|
6048
|
-
_zod: $ZodOptionalInternals<T>;
|
|
6049
|
-
}
|
|
6050
|
-
declare const $ZodOptional: $constructor<$ZodOptional>;
|
|
6051
|
-
interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {}
|
|
6052
|
-
interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
|
|
6053
|
-
def: $ZodExactOptionalDef<T>;
|
|
6054
|
-
output: output<T>;
|
|
6055
|
-
input: input<T>;
|
|
6056
|
-
}
|
|
6057
|
-
interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
|
|
6058
|
-
_zod: $ZodExactOptionalInternals<T>;
|
|
6059
|
-
}
|
|
6060
|
-
declare const $ZodExactOptional: $constructor<$ZodExactOptional>;
|
|
6061
|
-
interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6062
|
-
type: "nullable";
|
|
6063
|
-
innerType: T;
|
|
6064
|
-
}
|
|
6065
|
-
interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | null, input<T> | null> {
|
|
6066
|
-
def: $ZodNullableDef<T>;
|
|
6067
|
-
optin: T["_zod"]["optin"];
|
|
6068
|
-
optout: T["_zod"]["optout"];
|
|
6069
|
-
isst: never;
|
|
6070
|
-
values: T["_zod"]["values"];
|
|
6071
|
-
pattern: T["_zod"]["pattern"];
|
|
6072
|
-
}
|
|
6073
|
-
interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
|
|
6074
|
-
_zod: $ZodNullableInternals<T>;
|
|
6075
|
-
}
|
|
6076
|
-
declare const $ZodNullable: $constructor<$ZodNullable>;
|
|
6077
|
-
interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6078
|
-
type: "default";
|
|
6079
|
-
innerType: T;
|
|
6080
|
-
/** The default value. May be a getter. */
|
|
6081
|
-
defaultValue: NoUndefined<output<T>>;
|
|
6082
|
-
}
|
|
6083
|
-
interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
|
|
6084
|
-
def: $ZodDefaultDef<T>;
|
|
6085
|
-
optin: "optional";
|
|
6086
|
-
optout?: "optional" | undefined;
|
|
6087
|
-
isst: never;
|
|
6088
|
-
values: T["_zod"]["values"];
|
|
6089
|
-
}
|
|
6090
|
-
interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
|
|
6091
|
-
_zod: $ZodDefaultInternals<T>;
|
|
6092
|
-
}
|
|
6093
|
-
declare const $ZodDefault: $constructor<$ZodDefault>;
|
|
6094
|
-
interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6095
|
-
type: "prefault";
|
|
6096
|
-
innerType: T;
|
|
6097
|
-
/** The default value. May be a getter. */
|
|
6098
|
-
defaultValue: input<T>;
|
|
6099
|
-
}
|
|
6100
|
-
interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
|
|
6101
|
-
def: $ZodPrefaultDef<T>;
|
|
6102
|
-
optin: "optional";
|
|
6103
|
-
optout?: "optional" | undefined;
|
|
6104
|
-
isst: never;
|
|
6105
|
-
values: T["_zod"]["values"];
|
|
6106
|
-
}
|
|
6107
|
-
interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
|
|
6108
|
-
_zod: $ZodPrefaultInternals<T>;
|
|
6109
|
-
}
|
|
6110
|
-
declare const $ZodPrefault: $constructor<$ZodPrefault>;
|
|
6111
|
-
interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6112
|
-
type: "nonoptional";
|
|
6113
|
-
innerType: T;
|
|
6114
|
-
}
|
|
6115
|
-
interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, NoUndefined<input<T>>> {
|
|
6116
|
-
def: $ZodNonOptionalDef<T>;
|
|
6117
|
-
isst: $ZodIssueInvalidType;
|
|
6118
|
-
values: T["_zod"]["values"];
|
|
6119
|
-
optin: "optional" | undefined;
|
|
6120
|
-
optout: "optional" | undefined;
|
|
6121
|
-
}
|
|
6122
|
-
interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
|
|
6123
|
-
_zod: $ZodNonOptionalInternals<T>;
|
|
6124
|
-
}
|
|
6125
|
-
declare const $ZodNonOptional: $constructor<$ZodNonOptional>;
|
|
6126
|
-
interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6127
|
-
type: "success";
|
|
6128
|
-
innerType: T;
|
|
6129
|
-
}
|
|
6130
|
-
interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input<T>> {
|
|
6131
|
-
def: $ZodSuccessDef<T>;
|
|
6132
|
-
isst: never;
|
|
6133
|
-
optin: T["_zod"]["optin"];
|
|
6134
|
-
optout: "optional" | undefined;
|
|
6135
|
-
}
|
|
6136
|
-
interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
|
|
6137
|
-
_zod: $ZodSuccessInternals<T>;
|
|
6138
|
-
}
|
|
6139
|
-
declare const $ZodSuccess: $constructor<$ZodSuccess>;
|
|
6140
|
-
interface $ZodCatchCtx extends ParsePayload {
|
|
6141
|
-
/** @deprecated Use `ctx.issues` */
|
|
6142
|
-
error: {
|
|
6143
|
-
issues: $ZodIssue[];
|
|
6144
|
-
};
|
|
6145
|
-
/** @deprecated Use `ctx.value` */
|
|
6146
|
-
input: unknown;
|
|
6147
|
-
}
|
|
6148
|
-
interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6149
|
-
type: "catch";
|
|
6150
|
-
innerType: T;
|
|
6151
|
-
catchValue: (ctx: $ZodCatchCtx) => unknown;
|
|
6152
|
-
}
|
|
6153
|
-
interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
|
|
6154
|
-
def: $ZodCatchDef<T>;
|
|
6155
|
-
optin: T["_zod"]["optin"];
|
|
6156
|
-
optout: T["_zod"]["optout"];
|
|
6157
|
-
isst: never;
|
|
6158
|
-
values: T["_zod"]["values"];
|
|
6159
|
-
}
|
|
6160
|
-
interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
|
|
6161
|
-
_zod: $ZodCatchInternals<T>;
|
|
6162
|
-
}
|
|
6163
|
-
declare const $ZodCatch: $constructor<$ZodCatch>;
|
|
6164
|
-
interface $ZodNaNDef extends $ZodTypeDef {
|
|
6165
|
-
type: "nan";
|
|
6166
|
-
}
|
|
6167
|
-
interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
|
|
6168
|
-
def: $ZodNaNDef;
|
|
6169
|
-
isst: $ZodIssueInvalidType;
|
|
6170
|
-
}
|
|
6171
|
-
interface $ZodNaN extends $ZodType {
|
|
6172
|
-
_zod: $ZodNaNInternals;
|
|
6173
|
-
}
|
|
6174
|
-
declare const $ZodNaN: $constructor<$ZodNaN>;
|
|
6175
|
-
interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6176
|
-
type: "pipe";
|
|
6177
|
-
in: A;
|
|
6178
|
-
out: B;
|
|
6179
|
-
/** Only defined inside $ZodCodec instances. */
|
|
6180
|
-
transform?: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
|
|
6181
|
-
/** Only defined inside $ZodCodec instances. */
|
|
6182
|
-
reverseTransform?: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
|
|
6183
|
-
}
|
|
6184
|
-
interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
|
|
6185
|
-
def: $ZodPipeDef<A, B>;
|
|
6186
|
-
isst: never;
|
|
6187
|
-
values: A["_zod"]["values"];
|
|
6188
|
-
optin: A["_zod"]["optin"];
|
|
6189
|
-
optout: B["_zod"]["optout"];
|
|
6190
|
-
propValues: A["_zod"]["propValues"];
|
|
6191
|
-
}
|
|
6192
|
-
interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
|
|
6193
|
-
_zod: $ZodPipeInternals<A, B>;
|
|
6194
|
-
}
|
|
6195
|
-
declare const $ZodPipe: $constructor<$ZodPipe>;
|
|
6196
|
-
interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6197
|
-
type: "readonly";
|
|
6198
|
-
innerType: T;
|
|
6199
|
-
}
|
|
6200
|
-
interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<MakeReadonly<output<T>>, MakeReadonly<input<T>>> {
|
|
6201
|
-
def: $ZodReadonlyDef<T>;
|
|
6202
|
-
optin: T["_zod"]["optin"];
|
|
6203
|
-
optout: T["_zod"]["optout"];
|
|
6204
|
-
isst: never;
|
|
6205
|
-
propValues: T["_zod"]["propValues"];
|
|
6206
|
-
values: T["_zod"]["values"];
|
|
6207
|
-
}
|
|
6208
|
-
interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
|
|
6209
|
-
_zod: $ZodReadonlyInternals<T>;
|
|
6210
|
-
}
|
|
6211
|
-
declare const $ZodReadonly: $constructor<$ZodReadonly>;
|
|
6212
|
-
interface $ZodTemplateLiteralDef extends $ZodTypeDef {
|
|
6213
|
-
type: "template_literal";
|
|
6214
|
-
parts: $ZodTemplateLiteralPart[];
|
|
6215
|
-
format?: string | undefined;
|
|
6216
|
-
}
|
|
6217
|
-
interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {
|
|
6218
|
-
pattern: RegExp;
|
|
6219
|
-
def: $ZodTemplateLiteralDef;
|
|
6220
|
-
isst: $ZodIssueInvalidType;
|
|
6221
|
-
}
|
|
6222
|
-
interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
|
|
6223
|
-
_zod: $ZodTemplateLiteralInternals<Template>;
|
|
6224
|
-
}
|
|
6225
|
-
type LiteralPart = Exclude<Literal, symbol>;
|
|
6226
|
-
interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
|
|
6227
|
-
pattern: RegExp;
|
|
6228
|
-
}
|
|
6229
|
-
interface SchemaPart extends $ZodType {
|
|
6230
|
-
_zod: SchemaPartInternals;
|
|
6231
|
-
}
|
|
6232
|
-
type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
|
|
6233
|
-
declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
|
|
6234
|
-
type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
|
|
6235
|
-
type $ZodFunctionIn = $ZodFunctionArgs;
|
|
6236
|
-
type $ZodFunctionOut = $ZodType;
|
|
6237
|
-
type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => input<Returns>;
|
|
6238
|
-
type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => MaybeAsync<input<Returns>>;
|
|
6239
|
-
type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => output<Returns>;
|
|
6240
|
-
type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => Promise<output<Returns>>;
|
|
6241
|
-
interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
|
|
6242
|
-
type: "function";
|
|
6243
|
-
input: In;
|
|
6244
|
-
output: Out;
|
|
6245
|
-
}
|
|
6246
|
-
interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
|
|
6247
|
-
def: $ZodFunctionDef<Args, Returns>;
|
|
6248
|
-
isst: $ZodIssueInvalidType;
|
|
6249
|
-
}
|
|
6250
|
-
interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
|
|
6251
|
-
/** @deprecated */
|
|
6252
|
-
_def: $ZodFunctionDef<Args, Returns>;
|
|
6253
|
-
_input: $InferInnerFunctionType<Args, Returns>;
|
|
6254
|
-
_output: $InferOuterFunctionType<Args, Returns>;
|
|
6255
|
-
implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this["_output"]>) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
|
|
6256
|
-
implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
|
|
6257
|
-
input<const Items extends TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
|
|
6258
|
-
input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
|
|
6259
|
-
input(...args: any[]): $ZodFunction<any, Returns>;
|
|
6260
|
-
output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
|
|
6261
|
-
}
|
|
6262
|
-
declare const $ZodFunction: $constructor<$ZodFunction>;
|
|
6263
|
-
interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6264
|
-
type: "promise";
|
|
6265
|
-
innerType: T;
|
|
6266
|
-
}
|
|
6267
|
-
interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output<T>>, MaybeAsync<input<T>>> {
|
|
6268
|
-
def: $ZodPromiseDef<T>;
|
|
6269
|
-
isst: never;
|
|
6270
|
-
}
|
|
6271
|
-
interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
|
|
6272
|
-
_zod: $ZodPromiseInternals<T>;
|
|
6273
|
-
}
|
|
6274
|
-
declare const $ZodPromise: $constructor<$ZodPromise>;
|
|
6275
|
-
interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
|
|
6276
|
-
type: "lazy";
|
|
6277
|
-
getter: () => T;
|
|
6278
|
-
}
|
|
6279
|
-
interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
|
|
6280
|
-
def: $ZodLazyDef<T>;
|
|
6281
|
-
isst: never;
|
|
6282
|
-
/** Auto-cached way to retrieve the inner schema */
|
|
6283
|
-
innerType: T;
|
|
6284
|
-
pattern: T["_zod"]["pattern"];
|
|
6285
|
-
propValues: T["_zod"]["propValues"];
|
|
6286
|
-
optin: T["_zod"]["optin"];
|
|
6287
|
-
optout: T["_zod"]["optout"];
|
|
6288
|
-
}
|
|
6289
|
-
interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
|
|
6290
|
-
_zod: $ZodLazyInternals<T>;
|
|
6291
|
-
}
|
|
6292
|
-
declare const $ZodLazy: $constructor<$ZodLazy>;
|
|
6293
|
-
interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, $ZodCheckDef {
|
|
6294
|
-
type: "custom";
|
|
6295
|
-
check: "custom";
|
|
6296
|
-
path?: PropertyKey[] | undefined;
|
|
6297
|
-
error?: $ZodErrorMap | undefined;
|
|
6298
|
-
params?: Record<string, any> | undefined;
|
|
6299
|
-
fn: (arg: O) => unknown;
|
|
6300
|
-
}
|
|
6301
|
-
interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, $ZodCheckInternals<O> {
|
|
6302
|
-
def: $ZodCustomDef;
|
|
6303
|
-
issc: $ZodIssue;
|
|
6304
|
-
isst: never;
|
|
6305
|
-
bag: LoosePartial<{
|
|
6306
|
-
Class: typeof Class;
|
|
6307
|
-
}>;
|
|
6308
|
-
}
|
|
6309
|
-
interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
|
|
6310
|
-
_zod: $ZodCustomInternals<O, I>;
|
|
6311
|
-
}
|
|
6312
|
-
declare const $ZodCustom: $constructor<$ZodCustom>;
|
|
6313
|
-
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;
|
|
6314
|
-
//#endregion
|
|
6315
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts
|
|
6316
|
-
interface $ZodCheckDef {
|
|
6317
|
-
check: string;
|
|
6318
|
-
error?: $ZodErrorMap<never> | undefined;
|
|
6319
|
-
/** If true, no later checks will be executed if this check fails. Default `false`. */
|
|
6320
|
-
abort?: boolean | undefined;
|
|
6321
|
-
/** If provided, this check will only be executed if the function returns `true`. Defaults to `payload => z.util.isAborted(payload)`. */
|
|
6322
|
-
when?: ((payload: ParsePayload) => boolean) | undefined;
|
|
6323
|
-
}
|
|
6324
|
-
interface $ZodCheckInternals<T> {
|
|
6325
|
-
def: $ZodCheckDef;
|
|
6326
|
-
/** The set of issues this check might throw. */
|
|
6327
|
-
issc?: $ZodIssueBase;
|
|
6328
|
-
check(payload: ParsePayload<T>): MaybeAsync<void>;
|
|
6329
|
-
onattach: ((schema: $ZodType) => void)[];
|
|
6330
|
-
}
|
|
6331
|
-
interface $ZodCheck<in T = never> {
|
|
6332
|
-
_zod: $ZodCheckInternals<T>;
|
|
6333
|
-
}
|
|
6334
|
-
declare const $ZodCheck: $constructor<$ZodCheck<any>>;
|
|
6335
|
-
interface $ZodCheckLessThanDef extends $ZodCheckDef {
|
|
6336
|
-
check: "less_than";
|
|
6337
|
-
value: Numeric;
|
|
6338
|
-
inclusive: boolean;
|
|
6339
|
-
}
|
|
6340
|
-
interface $ZodCheckLessThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
|
|
6341
|
-
def: $ZodCheckLessThanDef;
|
|
6342
|
-
issc: $ZodIssueTooBig<T>;
|
|
6343
|
-
}
|
|
6344
|
-
interface $ZodCheckLessThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
|
|
6345
|
-
_zod: $ZodCheckLessThanInternals<T>;
|
|
6346
|
-
}
|
|
6347
|
-
declare const $ZodCheckLessThan: $constructor<$ZodCheckLessThan>;
|
|
6348
|
-
interface $ZodCheckGreaterThanDef extends $ZodCheckDef {
|
|
6349
|
-
check: "greater_than";
|
|
6350
|
-
value: Numeric;
|
|
6351
|
-
inclusive: boolean;
|
|
6352
|
-
}
|
|
6353
|
-
interface $ZodCheckGreaterThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
|
|
6354
|
-
def: $ZodCheckGreaterThanDef;
|
|
6355
|
-
issc: $ZodIssueTooSmall<T>;
|
|
6356
|
-
}
|
|
6357
|
-
interface $ZodCheckGreaterThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
|
|
6358
|
-
_zod: $ZodCheckGreaterThanInternals<T>;
|
|
6359
|
-
}
|
|
6360
|
-
declare const $ZodCheckGreaterThan: $constructor<$ZodCheckGreaterThan>;
|
|
6361
|
-
interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {
|
|
6362
|
-
check: "multiple_of";
|
|
6363
|
-
value: T;
|
|
6364
|
-
}
|
|
6365
|
-
interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {
|
|
6366
|
-
def: $ZodCheckMultipleOfDef<T>;
|
|
6367
|
-
issc: $ZodIssueNotMultipleOf;
|
|
6368
|
-
}
|
|
6369
|
-
interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {
|
|
6370
|
-
_zod: $ZodCheckMultipleOfInternals<T>;
|
|
6371
|
-
}
|
|
6372
|
-
declare const $ZodCheckMultipleOf: $constructor<$ZodCheckMultipleOf<number | bigint>>;
|
|
6373
|
-
type $ZodNumberFormats = "int32" | "uint32" | "float32" | "float64" | "safeint";
|
|
6374
|
-
interface $ZodCheckNumberFormatDef extends $ZodCheckDef {
|
|
6375
|
-
check: "number_format";
|
|
6376
|
-
format: $ZodNumberFormats;
|
|
6377
|
-
}
|
|
6378
|
-
interface $ZodCheckNumberFormatInternals extends $ZodCheckInternals<number> {
|
|
6379
|
-
def: $ZodCheckNumberFormatDef;
|
|
6380
|
-
issc: $ZodIssueInvalidType | $ZodIssueTooBig<"number"> | $ZodIssueTooSmall<"number">;
|
|
6381
|
-
}
|
|
6382
|
-
interface $ZodCheckNumberFormat extends $ZodCheck<number> {
|
|
6383
|
-
_zod: $ZodCheckNumberFormatInternals;
|
|
6384
|
-
}
|
|
6385
|
-
declare const $ZodCheckNumberFormat: $constructor<$ZodCheckNumberFormat>;
|
|
6386
|
-
interface $ZodCheckMaxLengthDef extends $ZodCheckDef {
|
|
6387
|
-
check: "max_length";
|
|
6388
|
-
maximum: number;
|
|
6389
|
-
}
|
|
6390
|
-
interface $ZodCheckMaxLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
6391
|
-
def: $ZodCheckMaxLengthDef;
|
|
6392
|
-
issc: $ZodIssueTooBig<T>;
|
|
6393
|
-
}
|
|
6394
|
-
interface $ZodCheckMaxLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
6395
|
-
_zod: $ZodCheckMaxLengthInternals<T>;
|
|
6396
|
-
}
|
|
6397
|
-
declare const $ZodCheckMaxLength: $constructor<$ZodCheckMaxLength>;
|
|
6398
|
-
interface $ZodCheckMinLengthDef extends $ZodCheckDef {
|
|
6399
|
-
check: "min_length";
|
|
6400
|
-
minimum: number;
|
|
6401
|
-
}
|
|
6402
|
-
interface $ZodCheckMinLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
6403
|
-
def: $ZodCheckMinLengthDef;
|
|
6404
|
-
issc: $ZodIssueTooSmall<T>;
|
|
6405
|
-
}
|
|
6406
|
-
interface $ZodCheckMinLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
6407
|
-
_zod: $ZodCheckMinLengthInternals<T>;
|
|
6408
|
-
}
|
|
6409
|
-
declare const $ZodCheckMinLength: $constructor<$ZodCheckMinLength>;
|
|
6410
|
-
interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {
|
|
6411
|
-
check: "length_equals";
|
|
6412
|
-
length: number;
|
|
6413
|
-
}
|
|
6414
|
-
interface $ZodCheckLengthEqualsInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
6415
|
-
def: $ZodCheckLengthEqualsDef;
|
|
6416
|
-
issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
|
|
6417
|
-
}
|
|
6418
|
-
interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
6419
|
-
_zod: $ZodCheckLengthEqualsInternals<T>;
|
|
6420
|
-
}
|
|
6421
|
-
declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
|
|
6422
|
-
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";
|
|
6423
|
-
interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {
|
|
6424
|
-
check: "string_format";
|
|
6425
|
-
format: Format;
|
|
6426
|
-
pattern?: RegExp | undefined;
|
|
6427
|
-
}
|
|
6428
|
-
interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {
|
|
6429
|
-
def: $ZodCheckStringFormatDef;
|
|
6430
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6431
|
-
}
|
|
6432
|
-
interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {
|
|
6433
|
-
format: "regex";
|
|
6434
|
-
pattern: RegExp;
|
|
6435
|
-
}
|
|
6436
|
-
interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {
|
|
6437
|
-
def: $ZodCheckRegexDef;
|
|
6438
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6439
|
-
}
|
|
6440
|
-
interface $ZodCheckRegex extends $ZodCheck<string> {
|
|
6441
|
-
_zod: $ZodCheckRegexInternals;
|
|
6442
|
-
}
|
|
6443
|
-
declare const $ZodCheckRegex: $constructor<$ZodCheckRegex>;
|
|
6444
|
-
interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<"lowercase"> {}
|
|
6445
|
-
interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {
|
|
6446
|
-
def: $ZodCheckLowerCaseDef;
|
|
6447
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6448
|
-
}
|
|
6449
|
-
interface $ZodCheckLowerCase extends $ZodCheck<string> {
|
|
6450
|
-
_zod: $ZodCheckLowerCaseInternals;
|
|
6451
|
-
}
|
|
6452
|
-
declare const $ZodCheckLowerCase: $constructor<$ZodCheckLowerCase>;
|
|
6453
|
-
interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<"uppercase"> {}
|
|
6454
|
-
interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {
|
|
6455
|
-
def: $ZodCheckUpperCaseDef;
|
|
6456
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6457
|
-
}
|
|
6458
|
-
interface $ZodCheckUpperCase extends $ZodCheck<string> {
|
|
6459
|
-
_zod: $ZodCheckUpperCaseInternals;
|
|
6460
|
-
}
|
|
6461
|
-
declare const $ZodCheckUpperCase: $constructor<$ZodCheckUpperCase>;
|
|
6462
|
-
interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<"includes"> {
|
|
6463
|
-
includes: string;
|
|
6464
|
-
position?: number | undefined;
|
|
6465
|
-
}
|
|
6466
|
-
interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {
|
|
6467
|
-
def: $ZodCheckIncludesDef;
|
|
6468
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6469
|
-
}
|
|
6470
|
-
interface $ZodCheckIncludes extends $ZodCheck<string> {
|
|
6471
|
-
_zod: $ZodCheckIncludesInternals;
|
|
6472
|
-
}
|
|
6473
|
-
declare const $ZodCheckIncludes: $constructor<$ZodCheckIncludes>;
|
|
6474
|
-
interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<"starts_with"> {
|
|
6475
|
-
prefix: string;
|
|
6476
|
-
}
|
|
6477
|
-
interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {
|
|
6478
|
-
def: $ZodCheckStartsWithDef;
|
|
6479
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6480
|
-
}
|
|
6481
|
-
interface $ZodCheckStartsWith extends $ZodCheck<string> {
|
|
6482
|
-
_zod: $ZodCheckStartsWithInternals;
|
|
6483
|
-
}
|
|
6484
|
-
declare const $ZodCheckStartsWith: $constructor<$ZodCheckStartsWith>;
|
|
6485
|
-
interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<"ends_with"> {
|
|
6486
|
-
suffix: string;
|
|
6487
|
-
}
|
|
6488
|
-
interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {
|
|
6489
|
-
def: $ZodCheckEndsWithDef;
|
|
6490
|
-
issc: $ZodIssueInvalidStringFormat;
|
|
6491
|
-
}
|
|
6492
|
-
interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {
|
|
6493
|
-
_zod: $ZodCheckEndsWithInternals;
|
|
6494
|
-
}
|
|
6495
|
-
declare const $ZodCheckEndsWith: $constructor<$ZodCheckEndsWith>;
|
|
6496
|
-
//#endregion
|
|
6497
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts
|
|
6498
|
-
interface $ZodIssueBase {
|
|
6499
|
-
readonly code?: string;
|
|
6500
|
-
readonly input?: unknown;
|
|
6501
|
-
readonly path: PropertyKey[];
|
|
6502
|
-
readonly message: string;
|
|
6503
|
-
}
|
|
6504
|
-
type $ZodInvalidTypeExpected = "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "undefined" | "null" | "never" | "void" | "date" | "array" | "object" | "tuple" | "record" | "map" | "set" | "file" | "nonoptional" | "nan" | "function" | (string & {});
|
|
6505
|
-
interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
|
|
6506
|
-
readonly code: "invalid_type";
|
|
6507
|
-
readonly expected: $ZodInvalidTypeExpected;
|
|
6508
|
-
readonly input?: Input;
|
|
6509
|
-
}
|
|
6510
|
-
interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
|
|
6511
|
-
readonly code: "too_big";
|
|
6512
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
6513
|
-
readonly maximum: number | bigint;
|
|
6514
|
-
readonly inclusive?: boolean;
|
|
6515
|
-
readonly exact?: boolean;
|
|
6516
|
-
readonly input?: Input;
|
|
6517
|
-
}
|
|
6518
|
-
interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
|
|
6519
|
-
readonly code: "too_small";
|
|
6520
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
6521
|
-
readonly minimum: number | bigint;
|
|
6522
|
-
/** True if the allowable range includes the minimum */
|
|
6523
|
-
readonly inclusive?: boolean;
|
|
6524
|
-
/** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */
|
|
6525
|
-
readonly exact?: boolean;
|
|
6526
|
-
readonly input?: Input;
|
|
6527
|
-
}
|
|
6528
|
-
interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {
|
|
6529
|
-
readonly code: "invalid_format";
|
|
6530
|
-
readonly format: $ZodStringFormats | (string & {});
|
|
6531
|
-
readonly pattern?: string;
|
|
6532
|
-
readonly input?: string;
|
|
6533
|
-
}
|
|
6534
|
-
interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {
|
|
6535
|
-
readonly code: "not_multiple_of";
|
|
6536
|
-
readonly divisor: number;
|
|
6537
|
-
readonly input?: Input;
|
|
6538
|
-
}
|
|
6539
|
-
interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
|
|
6540
|
-
readonly code: "unrecognized_keys";
|
|
6541
|
-
readonly keys: string[];
|
|
6542
|
-
readonly input?: Record<string, unknown>;
|
|
6543
|
-
}
|
|
6544
|
-
interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
|
|
6545
|
-
readonly code: "invalid_union";
|
|
6546
|
-
readonly errors: $ZodIssue[][];
|
|
6547
|
-
readonly input?: unknown;
|
|
6548
|
-
readonly discriminator?: string | undefined;
|
|
6549
|
-
readonly inclusive?: true;
|
|
6550
|
-
}
|
|
6551
|
-
interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
|
|
6552
|
-
readonly code: "invalid_union";
|
|
6553
|
-
readonly errors: [];
|
|
6554
|
-
readonly input?: unknown;
|
|
6555
|
-
readonly discriminator?: string | undefined;
|
|
6556
|
-
readonly inclusive: false;
|
|
6557
|
-
}
|
|
6558
|
-
type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
|
|
6559
|
-
interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
|
|
6560
|
-
readonly code: "invalid_key";
|
|
6561
|
-
readonly origin: "map" | "record";
|
|
6562
|
-
readonly issues: $ZodIssue[];
|
|
6563
|
-
readonly input?: Input;
|
|
6564
|
-
}
|
|
6565
|
-
interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {
|
|
6566
|
-
readonly code: "invalid_element";
|
|
6567
|
-
readonly origin: "map" | "set";
|
|
6568
|
-
readonly key: unknown;
|
|
6569
|
-
readonly issues: $ZodIssue[];
|
|
6570
|
-
readonly input?: Input;
|
|
6571
|
-
}
|
|
6572
|
-
interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {
|
|
6573
|
-
readonly code: "invalid_value";
|
|
6574
|
-
readonly values: Primitive[];
|
|
6575
|
-
readonly input?: Input;
|
|
6576
|
-
}
|
|
6577
|
-
interface $ZodIssueCustom extends $ZodIssueBase {
|
|
6578
|
-
readonly code: "custom";
|
|
6579
|
-
readonly params?: Record<string, any> | undefined;
|
|
6580
|
-
readonly input?: unknown;
|
|
6581
|
-
}
|
|
6582
|
-
type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
|
|
6583
|
-
type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
|
|
6584
|
-
type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
6585
|
-
/** The input data */readonly input: unknown; /** The schema or check that originated this issue. */
|
|
6586
|
-
readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will continue executing checks/refinements after this issue. */
|
|
6587
|
-
readonly continue?: boolean | undefined;
|
|
6588
|
-
} & Record<string, unknown>> : never;
|
|
6589
|
-
type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
|
|
6590
|
-
interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {
|
|
6591
|
-
(issue: $ZodRawIssue<T>): {
|
|
6592
|
-
message: string;
|
|
6593
|
-
} | string | undefined | null;
|
|
6594
|
-
}
|
|
6595
|
-
interface $ZodError<T = unknown> extends Error {
|
|
6596
|
-
type: T;
|
|
6597
|
-
issues: $ZodIssue[];
|
|
6598
|
-
_zod: {
|
|
6599
|
-
output: T;
|
|
6600
|
-
def: $ZodIssue[];
|
|
6601
|
-
};
|
|
6602
|
-
stack?: string;
|
|
6603
|
-
name: string;
|
|
6604
|
-
}
|
|
6605
|
-
declare const $ZodError: $constructor<$ZodError>;
|
|
6606
|
-
type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
|
|
6607
|
-
type _FlattenedError<T, U = string> = {
|
|
6608
|
-
formErrors: U[];
|
|
6609
|
-
fieldErrors: { [P in keyof T]?: U[] };
|
|
6610
|
-
};
|
|
6611
|
-
type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U> } : T extends any[] ? {
|
|
6612
|
-
[k: number]: $ZodFormattedError<T[number], U>;
|
|
6613
|
-
} : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U> }> : any;
|
|
6614
|
-
type $ZodFormattedError<T, U = string> = {
|
|
6615
|
-
_errors: U[];
|
|
6616
|
-
} & Flatten<_ZodFormattedError<T, U>>;
|
|
6617
|
-
//#endregion
|
|
6618
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts
|
|
6619
|
-
type ZodTrait = {
|
|
6620
|
-
_zod: {
|
|
6621
|
-
def: any;
|
|
6622
|
-
[k: string]: any;
|
|
6623
|
-
};
|
|
6624
|
-
};
|
|
6625
|
-
interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
|
|
6626
|
-
new (def: D): T;
|
|
6627
|
-
init(inst: T, def: D): asserts inst is T;
|
|
6628
|
-
}
|
|
6629
|
-
declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void, params?: {
|
|
6630
|
-
Parent?: typeof Class;
|
|
6631
|
-
}): $constructor<T, D>;
|
|
6632
|
-
declare const $brand: unique symbol;
|
|
6633
|
-
type $brand<T extends string | number | symbol = string | number | symbol> = {
|
|
6634
|
-
[$brand]: { [k in T]: true };
|
|
6635
|
-
};
|
|
6636
|
-
type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
|
|
6637
|
-
_zod: {
|
|
6638
|
-
input: input<T> & $brand<Brand>;
|
|
6639
|
-
output: output<T> & $brand<Brand>;
|
|
6640
|
-
};
|
|
6641
|
-
} : Dir extends "in" ? {
|
|
6642
|
-
_zod: {
|
|
6643
|
-
input: input<T> & $brand<Brand>;
|
|
6644
|
-
};
|
|
6645
|
-
} : {
|
|
6646
|
-
_zod: {
|
|
6647
|
-
output: output<T> & $brand<Brand>;
|
|
6648
|
-
};
|
|
6649
|
-
});
|
|
6650
|
-
type input<T> = T extends {
|
|
6651
|
-
_zod: {
|
|
6652
|
-
input: any;
|
|
6653
|
-
};
|
|
6654
|
-
} ? T["_zod"]["input"] : unknown;
|
|
6655
|
-
type output<T> = T extends {
|
|
6656
|
-
_zod: {
|
|
6657
|
-
output: any;
|
|
6658
|
-
};
|
|
6659
|
-
} ? T["_zod"]["output"] : unknown;
|
|
6660
|
-
//#endregion
|
|
6661
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.d.cts
|
|
6662
|
-
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] ? {} : {
|
|
6663
|
-
error?: string | $ZodErrorMap<IssueTypes> | undefined; /** @deprecated This parameter is deprecated. Use `error` instead. */
|
|
6664
|
-
message?: string | undefined;
|
|
6665
|
-
})>>>;
|
|
6666
|
-
type TypeParams<T extends $ZodType = $ZodType & {
|
|
6667
|
-
_isst: never;
|
|
6668
|
-
}, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
|
|
6669
|
-
type CheckParams<T extends $ZodCheck = $ZodCheck, // & { _issc: never },
|
|
6670
|
-
AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
|
|
6671
|
-
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>;
|
|
6672
|
-
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>;
|
|
6673
|
-
type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
|
|
6674
|
-
type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern" | "when">;
|
|
6675
|
-
type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
|
|
6676
|
-
type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL, "when">;
|
|
6677
|
-
type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
|
|
6678
|
-
type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when">;
|
|
6679
|
-
type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
|
|
6680
|
-
type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
|
|
6681
|
-
type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID, "when">;
|
|
6682
|
-
type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID, "when">;
|
|
6683
|
-
type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID, "when">;
|
|
6684
|
-
type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
|
|
6685
|
-
type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
|
|
6686
|
-
type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern" | "when">;
|
|
6687
|
-
type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern" | "when">;
|
|
6688
|
-
type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern" | "when">;
|
|
6689
|
-
type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern" | "when">;
|
|
6690
|
-
type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
|
|
6691
|
-
type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
|
|
6692
|
-
type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern" | "when">;
|
|
6693
|
-
type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern" | "when">;
|
|
6694
|
-
type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern" | "when">;
|
|
6695
|
-
type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
|
|
6696
|
-
type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
|
|
6697
|
-
type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value" | "when">;
|
|
6698
|
-
type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
|
|
6699
|
-
type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value" | "when">;
|
|
6700
|
-
type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
|
|
6701
|
-
type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
|
|
6702
|
-
type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
|
|
6703
|
-
type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern" | "when">;
|
|
6704
|
-
type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format" | "when">;
|
|
6705
|
-
type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format" | "when">;
|
|
6706
|
-
type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
|
|
6707
|
-
type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "when" | "pattern">;
|
|
6708
|
-
type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
|
|
6709
|
-
type $ZodEnumParams = TypeParams<$ZodEnum, "entries">;
|
|
6710
|
-
type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
|
|
6711
|
-
type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
|
|
6712
|
-
type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
|
|
6713
|
-
type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
6714
|
-
/** The schema or check that originated this issue. */readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
|
|
6715
|
-
readonly continue?: boolean | undefined;
|
|
6716
|
-
} & Record<string, unknown>> : never;
|
|
6717
|
-
interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
|
|
6718
|
-
addIssue(arg: string | $ZodSuperRefineIssue): void;
|
|
6719
|
-
}
|
|
6720
|
-
//#endregion
|
|
6721
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.d.cts
|
|
6722
|
-
/** An Error-like class used to store Zod validation issues. */
|
|
6723
|
-
interface ZodError<T = unknown> extends $ZodError<T> {
|
|
6724
|
-
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
6725
|
-
format(): $ZodFormattedError<T>;
|
|
6726
|
-
format<U>(mapper: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
|
|
6727
|
-
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
6728
|
-
flatten(): $ZodFlattenedError<T>;
|
|
6729
|
-
flatten<U>(mapper: (issue: $ZodIssue) => U): $ZodFlattenedError<T, U>;
|
|
6730
|
-
/** @deprecated Push directly to `.issues` instead. */
|
|
6731
|
-
addIssue(issue: $ZodIssue): void;
|
|
6732
|
-
/** @deprecated Push directly to `.issues` instead. */
|
|
6733
|
-
addIssues(issues: $ZodIssue[]): void;
|
|
6734
|
-
/** @deprecated Check `err.issues.length === 0` instead. */
|
|
6735
|
-
isEmpty: boolean;
|
|
6736
|
-
}
|
|
6737
|
-
declare const ZodError: $constructor<ZodError>;
|
|
6738
|
-
//#endregion
|
|
6739
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.d.cts
|
|
6740
|
-
type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
|
|
6741
|
-
type ZodSafeParseSuccess<T> = {
|
|
6742
|
-
success: true;
|
|
6743
|
-
data: T;
|
|
6744
|
-
error?: never;
|
|
6745
|
-
};
|
|
6746
|
-
type ZodSafeParseError<T> = {
|
|
6747
|
-
success: false;
|
|
6748
|
-
data?: never;
|
|
6749
|
-
error: ZodError<T>;
|
|
6750
|
-
};
|
|
6751
|
-
//#endregion
|
|
6752
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.d.cts
|
|
6753
|
-
type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
6754
|
-
interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
|
|
6755
|
-
def: Internals["def"];
|
|
6756
|
-
type: Internals["def"]["type"];
|
|
6757
|
-
/** @deprecated Use `.def` instead. */
|
|
6758
|
-
_def: Internals["def"];
|
|
6759
|
-
/** @deprecated Use `z.output<typeof schema>` instead. */
|
|
6760
|
-
_output: Internals["output"];
|
|
6761
|
-
/** @deprecated Use `z.input<typeof schema>` instead. */
|
|
6762
|
-
_input: Internals["input"];
|
|
6763
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6764
|
-
/** Converts this schema to a JSON Schema representation. */
|
|
6765
|
-
toJSONSchema(params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<this>;
|
|
6766
|
-
check(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
|
|
6767
|
-
with(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
|
|
6768
|
-
clone(def?: Internals["def"], params?: {
|
|
6769
|
-
parent: boolean;
|
|
6770
|
-
}): this;
|
|
6771
|
-
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;
|
|
6772
|
-
brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : $ZodBranded<this, T, Dir>;
|
|
6773
|
-
parse(data: unknown, params?: ParseContext<$ZodIssue>): output<this>;
|
|
6774
|
-
safeParse(data: unknown, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
|
|
6775
|
-
parseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
|
|
6776
|
-
safeParseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
|
|
6777
|
-
spa: (data: unknown, params?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<this>>>;
|
|
6778
|
-
encode(data: output<this>, params?: ParseContext<$ZodIssue>): input<this>;
|
|
6779
|
-
decode(data: input<this>, params?: ParseContext<$ZodIssue>): output<this>;
|
|
6780
|
-
encodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<input<this>>;
|
|
6781
|
-
decodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
|
|
6782
|
-
safeEncode(data: output<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input<this>>;
|
|
6783
|
-
safeDecode(data: input<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
|
|
6784
|
-
safeEncodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input<this>>>;
|
|
6785
|
-
safeDecodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
|
|
6786
|
-
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;
|
|
6787
|
-
superRefine(refinement: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => void | Promise<void>): this;
|
|
6788
|
-
overwrite(fn: (x: output<this>) => output<this>): this;
|
|
6789
|
-
optional(): ZodOptional<this>;
|
|
6790
|
-
exactOptional(): ZodExactOptional<this>;
|
|
6791
|
-
nonoptional(params?: string | $ZodNonOptionalParams): ZodNonOptional<this>;
|
|
6792
|
-
nullable(): ZodNullable<this>;
|
|
6793
|
-
nullish(): ZodOptional<ZodNullable<this>>;
|
|
6794
|
-
default(def: NoUndefined<output<this>>): ZodDefault<this>;
|
|
6795
|
-
default(def: () => NoUndefined<output<this>>): ZodDefault<this>;
|
|
6796
|
-
prefault(def: () => input<this>): ZodPrefault<this>;
|
|
6797
|
-
prefault(def: input<this>): ZodPrefault<this>;
|
|
6798
|
-
array(): ZodArray<this>;
|
|
6799
|
-
or<T extends SomeType>(option: T): ZodUnion<[this, T]>;
|
|
6800
|
-
and<T extends SomeType>(incoming: T): ZodIntersection<this, T>;
|
|
6801
|
-
transform<NewOut>(transform: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output<this>>>;
|
|
6802
|
-
catch(def: output<this>): ZodCatch<this>;
|
|
6803
|
-
catch(def: (ctx: $ZodCatchCtx) => output<this>): ZodCatch<this>;
|
|
6804
|
-
pipe<T extends $ZodType<any, output<this>>>(target: T | $ZodType<any, output<this>>): ZodPipe<this, T>;
|
|
6805
|
-
readonly(): ZodReadonly<this>;
|
|
6806
|
-
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
|
|
6807
|
-
describe(description: string): this;
|
|
6808
|
-
description?: string;
|
|
6809
|
-
/** Returns the metadata associated with this instance in `z.globalRegistry` */
|
|
6810
|
-
meta(): $replace<GlobalMeta, this> | undefined;
|
|
6811
|
-
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
|
|
6812
|
-
meta(data: $replace<GlobalMeta, this>): this;
|
|
6813
|
-
/** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
|
|
6814
|
-
*
|
|
6815
|
-
* ```ts
|
|
6816
|
-
* const schema = z.string().optional();
|
|
6817
|
-
* const isOptional = schema.safeParse(undefined).success; // true
|
|
6818
|
-
* ```
|
|
6819
|
-
*/
|
|
6820
|
-
isOptional(): boolean;
|
|
6821
|
-
/**
|
|
6822
|
-
* @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
|
|
6823
|
-
*
|
|
6824
|
-
* ```ts
|
|
6825
|
-
* const schema = z.string().nullable();
|
|
6826
|
-
* const isNullable = schema.safeParse(null).success; // true
|
|
6827
|
-
* ```
|
|
6828
|
-
*/
|
|
6829
|
-
isNullable(): boolean;
|
|
6830
|
-
apply<T>(fn: (schema: this) => T): T;
|
|
6831
|
-
}
|
|
6832
|
-
interface _ZodType<out Internals extends $ZodTypeInternals = $ZodTypeInternals> extends ZodType<any, any, Internals> {}
|
|
6833
|
-
declare const ZodType: $constructor<ZodType>;
|
|
6834
|
-
interface _ZodString<T extends $ZodStringInternals<unknown> = $ZodStringInternals<unknown>> extends _ZodType<T> {
|
|
6835
|
-
format: string | null;
|
|
6836
|
-
minLength: number | null;
|
|
6837
|
-
maxLength: number | null;
|
|
6838
|
-
regex(regex: RegExp, params?: string | $ZodCheckRegexParams): this;
|
|
6839
|
-
includes(value: string, params?: string | $ZodCheckIncludesParams): this;
|
|
6840
|
-
startsWith(value: string, params?: string | $ZodCheckStartsWithParams): this;
|
|
6841
|
-
endsWith(value: string, params?: string | $ZodCheckEndsWithParams): this;
|
|
6842
|
-
min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
|
|
6843
|
-
max(maxLength: number, params?: string | $ZodCheckMaxLengthParams): this;
|
|
6844
|
-
length(len: number, params?: string | $ZodCheckLengthEqualsParams): this;
|
|
6845
|
-
nonempty(params?: string | $ZodCheckMinLengthParams): this;
|
|
6846
|
-
lowercase(params?: string | $ZodCheckLowerCaseParams): this;
|
|
6847
|
-
uppercase(params?: string | $ZodCheckUpperCaseParams): this;
|
|
6848
|
-
trim(): this;
|
|
6849
|
-
normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
|
|
6850
|
-
toLowerCase(): this;
|
|
6851
|
-
toUpperCase(): this;
|
|
6852
|
-
slugify(): this;
|
|
6853
|
-
}
|
|
6854
|
-
/** @internal */
|
|
6855
|
-
declare const _ZodString: $constructor<_ZodString>;
|
|
6856
|
-
interface ZodString extends _ZodString<$ZodStringInternals<string>> {
|
|
6857
|
-
/** @deprecated Use `z.email()` instead. */
|
|
6858
|
-
email(params?: string | $ZodCheckEmailParams): this;
|
|
6859
|
-
/** @deprecated Use `z.url()` instead. */
|
|
6860
|
-
url(params?: string | $ZodCheckURLParams): this;
|
|
6861
|
-
/** @deprecated Use `z.jwt()` instead. */
|
|
6862
|
-
jwt(params?: string | $ZodCheckJWTParams): this;
|
|
6863
|
-
/** @deprecated Use `z.emoji()` instead. */
|
|
6864
|
-
emoji(params?: string | $ZodCheckEmojiParams): this;
|
|
6865
|
-
/** @deprecated Use `z.guid()` instead. */
|
|
6866
|
-
guid(params?: string | $ZodCheckGUIDParams): this;
|
|
6867
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
6868
|
-
uuid(params?: string | $ZodCheckUUIDParams): this;
|
|
6869
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
6870
|
-
uuidv4(params?: string | $ZodCheckUUIDParams): this;
|
|
6871
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
6872
|
-
uuidv6(params?: string | $ZodCheckUUIDParams): this;
|
|
6873
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
6874
|
-
uuidv7(params?: string | $ZodCheckUUIDParams): this;
|
|
6875
|
-
/** @deprecated Use `z.nanoid()` instead. */
|
|
6876
|
-
nanoid(params?: string | $ZodCheckNanoIDParams): this;
|
|
6877
|
-
/** @deprecated Use `z.guid()` instead. */
|
|
6878
|
-
guid(params?: string | $ZodCheckGUIDParams): this;
|
|
6879
|
-
/** @deprecated Use `z.cuid()` instead. */
|
|
6880
|
-
cuid(params?: string | $ZodCheckCUIDParams): this;
|
|
6881
|
-
/** @deprecated Use `z.cuid2()` instead. */
|
|
6882
|
-
cuid2(params?: string | $ZodCheckCUID2Params): this;
|
|
6883
|
-
/** @deprecated Use `z.ulid()` instead. */
|
|
6884
|
-
ulid(params?: string | $ZodCheckULIDParams): this;
|
|
6885
|
-
/** @deprecated Use `z.base64()` instead. */
|
|
6886
|
-
base64(params?: string | $ZodCheckBase64Params): this;
|
|
6887
|
-
/** @deprecated Use `z.base64url()` instead. */
|
|
6888
|
-
base64url(params?: string | $ZodCheckBase64URLParams): this;
|
|
6889
|
-
/** @deprecated Use `z.xid()` instead. */
|
|
6890
|
-
xid(params?: string | $ZodCheckXIDParams): this;
|
|
6891
|
-
/** @deprecated Use `z.ksuid()` instead. */
|
|
6892
|
-
ksuid(params?: string | $ZodCheckKSUIDParams): this;
|
|
6893
|
-
/** @deprecated Use `z.ipv4()` instead. */
|
|
6894
|
-
ipv4(params?: string | $ZodCheckIPv4Params): this;
|
|
6895
|
-
/** @deprecated Use `z.ipv6()` instead. */
|
|
6896
|
-
ipv6(params?: string | $ZodCheckIPv6Params): this;
|
|
6897
|
-
/** @deprecated Use `z.cidrv4()` instead. */
|
|
6898
|
-
cidrv4(params?: string | $ZodCheckCIDRv4Params): this;
|
|
6899
|
-
/** @deprecated Use `z.cidrv6()` instead. */
|
|
6900
|
-
cidrv6(params?: string | $ZodCheckCIDRv6Params): this;
|
|
6901
|
-
/** @deprecated Use `z.e164()` instead. */
|
|
6902
|
-
e164(params?: string | $ZodCheckE164Params): this;
|
|
6903
|
-
/** @deprecated Use `z.iso.datetime()` instead. */
|
|
6904
|
-
datetime(params?: string | $ZodCheckISODateTimeParams): this;
|
|
6905
|
-
/** @deprecated Use `z.iso.date()` instead. */
|
|
6906
|
-
date(params?: string | $ZodCheckISODateParams): this;
|
|
6907
|
-
/** @deprecated Use `z.iso.time()` instead. */
|
|
6908
|
-
time(params?: string | $ZodCheckISOTimeParams): this;
|
|
6909
|
-
/** @deprecated Use `z.iso.duration()` instead. */
|
|
6910
|
-
duration(params?: string | $ZodCheckISODurationParams): this;
|
|
6911
|
-
}
|
|
6912
|
-
declare const ZodString: $constructor<ZodString>;
|
|
6913
|
-
interface _ZodNumber<Internals extends $ZodNumberInternals = $ZodNumberInternals> extends _ZodType<Internals> {
|
|
6914
|
-
gt(value: number, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6915
|
-
/** Identical to .min() */
|
|
6916
|
-
gte(value: number, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6917
|
-
min(value: number, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6918
|
-
lt(value: number, params?: string | $ZodCheckLessThanParams): this;
|
|
6919
|
-
/** Identical to .max() */
|
|
6920
|
-
lte(value: number, params?: string | $ZodCheckLessThanParams): this;
|
|
6921
|
-
max(value: number, params?: string | $ZodCheckLessThanParams): this;
|
|
6922
|
-
/** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
|
|
6923
|
-
int(params?: string | $ZodCheckNumberFormatParams): this;
|
|
6924
|
-
/** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
|
|
6925
|
-
safe(params?: string | $ZodCheckNumberFormatParams): this;
|
|
6926
|
-
positive(params?: string | $ZodCheckGreaterThanParams): this;
|
|
6927
|
-
nonnegative(params?: string | $ZodCheckGreaterThanParams): this;
|
|
6928
|
-
negative(params?: string | $ZodCheckLessThanParams): this;
|
|
6929
|
-
nonpositive(params?: string | $ZodCheckLessThanParams): this;
|
|
6930
|
-
multipleOf(value: number, params?: string | $ZodCheckMultipleOfParams): this;
|
|
6931
|
-
/** @deprecated Use `.multipleOf()` instead. */
|
|
6932
|
-
step(value: number, params?: string | $ZodCheckMultipleOfParams): this;
|
|
6933
|
-
/** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */
|
|
6934
|
-
finite(params?: unknown): this;
|
|
6935
|
-
minValue: number | null;
|
|
6936
|
-
maxValue: number | null;
|
|
6937
|
-
/** @deprecated Check the `format` property instead. */
|
|
6938
|
-
isInt: boolean;
|
|
6939
|
-
/** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */
|
|
6940
|
-
isFinite: boolean;
|
|
6941
|
-
format: string | null;
|
|
6942
|
-
}
|
|
6943
|
-
interface ZodNumber extends _ZodNumber<$ZodNumberInternals<number>> {}
|
|
6944
|
-
declare const ZodNumber: $constructor<ZodNumber>;
|
|
6945
|
-
interface _ZodBoolean<T extends $ZodBooleanInternals = $ZodBooleanInternals> extends _ZodType<T> {}
|
|
6946
|
-
interface ZodBoolean extends _ZodBoolean<$ZodBooleanInternals<boolean>> {}
|
|
6947
|
-
declare const ZodBoolean: $constructor<ZodBoolean>;
|
|
6948
|
-
interface ZodAny extends _ZodType<$ZodAnyInternals> {}
|
|
6949
|
-
declare const ZodAny: $constructor<ZodAny>;
|
|
6950
|
-
interface _ZodDate<T extends $ZodDateInternals = $ZodDateInternals> extends _ZodType<T> {
|
|
6951
|
-
min(value: number | Date, params?: string | $ZodCheckGreaterThanParams): this;
|
|
6952
|
-
max(value: number | Date, params?: string | $ZodCheckLessThanParams): this;
|
|
6953
|
-
/** @deprecated Not recommended. */
|
|
6954
|
-
minDate: Date | null;
|
|
6955
|
-
/** @deprecated Not recommended. */
|
|
6956
|
-
maxDate: Date | null;
|
|
6957
|
-
}
|
|
6958
|
-
interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInternals<T>>, $ZodArray<T> {
|
|
6959
|
-
element: T;
|
|
6960
|
-
min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
|
|
6961
|
-
nonempty(params?: string | $ZodCheckMinLengthParams): this;
|
|
6962
|
-
max(maxLength: number, params?: string | $ZodCheckMaxLengthParams): this;
|
|
6963
|
-
length(len: number, params?: string | $ZodCheckLengthEqualsParams): this;
|
|
6964
|
-
unwrap(): T;
|
|
6965
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6966
|
-
}
|
|
6967
|
-
declare const ZodArray: $constructor<ZodArray>;
|
|
6968
|
-
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] };
|
|
6969
|
-
interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
|
|
6970
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6971
|
-
shape: Shape;
|
|
6972
|
-
keyof(): ZodEnum<ToEnum<keyof Shape & string>>;
|
|
6973
|
-
/** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
|
|
6974
|
-
catchall<T extends SomeType>(schema: T): ZodObject<Shape, $catchall<T>>;
|
|
6975
|
-
/** @deprecated Use `z.looseObject()` or `.loose()` instead. */
|
|
6976
|
-
passthrough(): ZodObject<Shape, $loose>;
|
|
6977
|
-
/** Consider `z.looseObject(A.shape)` instead */
|
|
6978
|
-
loose(): ZodObject<Shape, $loose>;
|
|
6979
|
-
/** Consider `z.strictObject(A.shape)` instead */
|
|
6980
|
-
strict(): ZodObject<Shape, $strict>;
|
|
6981
|
-
/** This is the default behavior. This method call is likely unnecessary. */
|
|
6982
|
-
strip(): ZodObject<Shape, $strip>;
|
|
6983
|
-
extend<U extends $ZodLooseShape>(shape: U): ZodObject<Extend<Shape, U>, Config>;
|
|
6984
|
-
safeExtend<U extends $ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, SomeType>>): ZodObject<Extend<Shape, U>, Config>;
|
|
6985
|
-
/**
|
|
6986
|
-
* @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
|
|
6987
|
-
*/
|
|
6988
|
-
merge<U extends ZodObject>(other: U): ZodObject<Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
|
|
6989
|
-
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>;
|
|
6990
|
-
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>;
|
|
6991
|
-
partial(): ZodObject<{ [k in keyof Shape]: ZodOptional<Shape[k]> }, Config>;
|
|
6992
|
-
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>;
|
|
6993
|
-
required(): ZodObject<{ [k in keyof Shape]: ZodNonOptional<Shape[k]> }, Config>;
|
|
6994
|
-
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>;
|
|
6995
|
-
}
|
|
6996
|
-
declare const ZodObject: $constructor<ZodObject>;
|
|
6997
|
-
interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
|
|
6998
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
6999
|
-
options: T;
|
|
7000
|
-
}
|
|
7001
|
-
declare const ZodUnion: $constructor<ZodUnion>;
|
|
7002
|
-
interface ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodIntersectionInternals<A, B>>, $ZodIntersection<A, B> {
|
|
7003
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7004
|
-
}
|
|
7005
|
-
declare const ZodIntersection: $constructor<ZodIntersection>;
|
|
7006
|
-
interface ZodEnum< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
|
|
7007
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7008
|
-
enum: T;
|
|
7009
|
-
options: Array<T[keyof T]>;
|
|
7010
|
-
extract<const U extends readonly (keyof T)[]>(values: U, params?: string | $ZodEnumParams): ZodEnum<Flatten<Pick<T, U[number]>>>;
|
|
7011
|
-
exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | $ZodEnumParams): ZodEnum<Flatten<Omit<T, U[number]>>>;
|
|
7012
|
-
}
|
|
7013
|
-
declare const ZodEnum: $constructor<ZodEnum>;
|
|
7014
|
-
interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformInternals<O, I>>, $ZodTransform<O, I> {
|
|
7015
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7016
|
-
}
|
|
7017
|
-
declare const ZodTransform: $constructor<ZodTransform>;
|
|
7018
|
-
interface ZodOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodOptionalInternals<T>>, $ZodOptional<T> {
|
|
7019
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7020
|
-
unwrap(): T;
|
|
7021
|
-
}
|
|
7022
|
-
declare const ZodOptional: $constructor<ZodOptional>;
|
|
7023
|
-
interface ZodExactOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodExactOptionalInternals<T>>, $ZodExactOptional<T> {
|
|
7024
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7025
|
-
unwrap(): T;
|
|
7026
|
-
}
|
|
7027
|
-
declare const ZodExactOptional: $constructor<ZodExactOptional>;
|
|
7028
|
-
interface ZodNullable<T extends SomeType = $ZodType> extends _ZodType<$ZodNullableInternals<T>>, $ZodNullable<T> {
|
|
7029
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7030
|
-
unwrap(): T;
|
|
7031
|
-
}
|
|
7032
|
-
declare const ZodNullable: $constructor<ZodNullable>;
|
|
7033
|
-
interface ZodDefault<T extends SomeType = $ZodType> extends _ZodType<$ZodDefaultInternals<T>>, $ZodDefault<T> {
|
|
7034
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7035
|
-
unwrap(): T;
|
|
7036
|
-
/** @deprecated Use `.unwrap()` instead. */
|
|
7037
|
-
removeDefault(): T;
|
|
7038
|
-
}
|
|
7039
|
-
declare const ZodDefault: $constructor<ZodDefault>;
|
|
7040
|
-
interface ZodPrefault<T extends SomeType = $ZodType> extends _ZodType<$ZodPrefaultInternals<T>>, $ZodPrefault<T> {
|
|
7041
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7042
|
-
unwrap(): T;
|
|
7043
|
-
}
|
|
7044
|
-
declare const ZodPrefault: $constructor<ZodPrefault>;
|
|
7045
|
-
interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNonOptionalInternals<T>>, $ZodNonOptional<T> {
|
|
7046
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7047
|
-
unwrap(): T;
|
|
7048
|
-
}
|
|
7049
|
-
declare const ZodNonOptional: $constructor<ZodNonOptional>;
|
|
7050
|
-
interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
|
|
7051
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7052
|
-
unwrap(): T;
|
|
7053
|
-
/** @deprecated Use `.unwrap()` instead. */
|
|
7054
|
-
removeCatch(): T;
|
|
7055
|
-
}
|
|
7056
|
-
declare const ZodCatch: $constructor<ZodCatch>;
|
|
7057
|
-
interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
|
|
7058
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7059
|
-
in: A;
|
|
7060
|
-
out: B;
|
|
7061
|
-
}
|
|
7062
|
-
declare const ZodPipe: $constructor<ZodPipe>;
|
|
7063
|
-
interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
|
|
7064
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
7065
|
-
unwrap(): T;
|
|
7066
|
-
}
|
|
7067
|
-
declare const ZodReadonly: $constructor<ZodReadonly>;
|
|
7068
|
-
//#endregion
|
|
7069
|
-
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/coerce.d.cts
|
|
7070
|
-
interface ZodCoercedDate<T = unknown> extends _ZodDate<$ZodDateInternals<T>> {}
|
|
7071
|
-
//#endregion
|
|
7072
|
-
//#region ../../apps/api/modules/industrial-property/domain/industrial-property.enum.d.ts
|
|
7073
|
-
declare enum PropertyType$1 {
|
|
7074
|
-
INDUSTRIAL_ZONE = "INDUSTRIAL_ZONE",
|
|
7075
|
-
BUILDING = "BUILDING",
|
|
7076
|
-
FLOOR = "FLOOR",
|
|
7077
|
-
ROOM = "ROOM",
|
|
7078
|
-
LAND_LOT = "LAND_LOT",
|
|
7079
|
-
FACTORY = "FACTORY",
|
|
7080
|
-
WAREHOUSE = "WAREHOUSE",
|
|
7081
|
-
OFFICE = "OFFICE",
|
|
7082
|
-
HOUSING = "HOUSING",
|
|
7083
|
-
APARTMENT = "APARTMENT"
|
|
7084
|
-
}
|
|
7085
|
-
declare enum PropertyLegalStatus$1 {
|
|
7086
|
-
MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT = "MORE_THAN_FIFTY_YEARS_ANNUAL_PAYMENT",
|
|
7087
|
-
MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT = "MORE_THAN_FIFTY_YEARS_ONE_TIME_PAYMENT",
|
|
7088
|
-
FIFTY_YEARS_ANNUAL_PAYMENT = "FIFTY_YEARS_ANNUAL_PAYMENT",
|
|
7089
|
-
FIFTY_YEARS_ONE_TIME_PAYMENT = "FIFTY_YEARS_ONE_TIME_PAYMENT",
|
|
7090
|
-
FORTY_YEARS_ANNUAL_PAYMENT = "FORTY_YEARS_ANNUAL_PAYMENT",
|
|
7091
|
-
FORTY_YEARS_ONE_TIME_PAYMENT = "FORTY_YEARS_ONE_TIME_PAYMENT",
|
|
7092
|
-
THIRTY_YEARS_ONE_TIME_PAYMENT = "THIRTY_YEARS_ONE_TIME_PAYMENT",
|
|
7093
|
-
THIRTY_YEARS_ANNUAL_PAYMENT = "THIRTY_YEARS_ANNUAL_PAYMENT",
|
|
7094
|
-
TWENTY_YEARS_ANNUAL_PAYMENT = "TWENTY_YEARS_ANNUAL_PAYMENT",
|
|
7095
|
-
TWENTY_YEARS_ONE_TIME_PAYMENT = "TWENTY_YEARS_ONE_TIME_PAYMENT",
|
|
7096
|
-
TEN_YEARS_ANNUAL_PAYMENT = "TEN_YEARS_ANNUAL_PAYMENT",
|
|
7097
|
-
TEN_YEARS_ONE_TIME_PAYMENT = "TEN_YEARS_ONE_TIME_PAYMENT",
|
|
7098
|
-
LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT = "LESS_THAN_TEN_YEARS_ANNUAL_PAYMENT",
|
|
7099
|
-
LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT = "LESS_THAN_TEN_YEARS_ONE_TIME_PAYMENT"
|
|
7100
|
-
}
|
|
7101
|
-
declare enum PropertyApprovalStatus$1 {
|
|
7102
|
-
PENDING = "PENDING",
|
|
7103
|
-
APPROVED = "APPROVED",
|
|
7104
|
-
REJECTED = "REJECTED",
|
|
7105
|
-
ARCHIVED = "ARCHIVED"
|
|
7106
|
-
}
|
|
7107
|
-
declare enum PropertyLandCurrentStatus$1 {
|
|
7108
|
-
PLANNED = "PLANNED",
|
|
7109
|
-
DESIGNING = "DESIGNING",
|
|
7110
|
-
UNDER_CONSTRUCTION = "UNDER_CONSTRUCTION",
|
|
7111
|
-
TOPPING_OUT = "TOPPING_OUT",
|
|
7112
|
-
NEAR_COMPLETION = "NEAR_COMPLETION",
|
|
7113
|
-
COMPLETED = "COMPLETED",
|
|
7114
|
-
READY_FOR_HANDOVER = "READY_FOR_HANDOVER",
|
|
7115
|
-
HANDED_OVER = "HANDED_OVER",
|
|
7116
|
-
ON_HOLD = "ON_HOLD",
|
|
7117
|
-
CANCELLED = "CANCELLED"
|
|
7118
|
-
}
|
|
7119
|
-
declare enum PropertyOperationStatus$1 {
|
|
7120
|
-
UNDETERMINED = "UNDETERMINED",
|
|
7121
|
-
COMING_SOON = "COMING_SOON",
|
|
7122
|
-
FOR_SALE_RENT = "FOR_SALE_RENT",
|
|
7123
|
-
ACTIVE = "ACTIVE",
|
|
7124
|
-
DEACTIVATED = "DEACTIVATED"
|
|
7125
|
-
}
|
|
7126
|
-
//#endregion
|
|
7127
|
-
//#region ../../apps/api/modules/industrial-property/validators/industrial-property.validator.d.ts
|
|
7128
|
-
declare const createPropertyInputBaseSchema: ZodObject<{
|
|
7129
|
-
propertyMapId: ZodOptional<ZodString>;
|
|
7130
|
-
polygon: ZodOptional<ZodArray<ZodObject<{
|
|
7131
|
-
x: ZodNumber;
|
|
7132
|
-
y: ZodNumber;
|
|
7133
|
-
z: ZodOptional<ZodNumber>;
|
|
7134
|
-
}, $strip>>>;
|
|
7135
|
-
isPublic: ZodOptional<ZodBoolean>;
|
|
7136
|
-
title: ZodString;
|
|
7137
|
-
description: ZodOptional<ZodString>;
|
|
7138
|
-
projectId: ZodString;
|
|
7139
|
-
parentId: ZodOptional<ZodString>;
|
|
7140
|
-
provinceId: ZodString;
|
|
7141
|
-
wardId: ZodString;
|
|
7142
|
-
detailedAddress: ZodString;
|
|
7143
|
-
propertyLegalStatus: ZodEnum<typeof PropertyLegalStatus$1>;
|
|
7144
|
-
approvalStatus: ZodEnum<typeof PropertyApprovalStatus$1>;
|
|
7145
|
-
landCurrentStatus: ZodEnum<typeof PropertyLandCurrentStatus$1>;
|
|
7146
|
-
operationStatus: ZodOptional<ZodEnum<typeof PropertyOperationStatus$1>>;
|
|
7147
|
-
area: ZodOptional<ZodString>;
|
|
7148
|
-
latitude: ZodOptional<ZodString>;
|
|
7149
|
-
longitude: ZodOptional<ZodString>;
|
|
7150
|
-
imagesIds: ZodOptional<ZodArray<ZodString>>;
|
|
7151
|
-
price: ZodOptional<ZodString>;
|
|
7152
|
-
priceUnit: ZodOptional<ZodString>;
|
|
7153
|
-
deposite: ZodOptional<ZodString>;
|
|
7154
|
-
depositeUnit: ZodOptional<ZodString>;
|
|
7155
|
-
paymentPeriodType: ZodOptional<ZodString>;
|
|
7156
|
-
yearBuilt: ZodOptional<ZodCoercedDate<unknown>>;
|
|
7157
|
-
yearCompleted: ZodOptional<ZodCoercedDate<unknown>>;
|
|
7158
|
-
notificationTypes: ZodOptional<ZodArray<ZodString>>;
|
|
7159
|
-
notes: ZodOptional<ZodArray<ZodObject<{
|
|
7160
|
-
content: ZodString;
|
|
7161
|
-
createdAt: ZodCoercedDate<unknown>;
|
|
7162
|
-
isImportant: ZodOptional<ZodBoolean>;
|
|
7163
|
-
attachmentIds: ZodDefault<ZodArray<ZodString>>;
|
|
7164
|
-
}, $strip>>>;
|
|
7165
|
-
attachmentsIds: ZodOptional<ZodArray<ZodString>>;
|
|
7166
|
-
seoMetadata: ZodOptional<ZodAny>;
|
|
7167
|
-
metadata: ZodOptional<ZodAny>;
|
|
7168
|
-
type: ZodEnum<typeof PropertyType$1>;
|
|
7169
|
-
numberOfFloor: ZodOptional<ZodNumber>;
|
|
7170
|
-
floorNumber: ZodOptional<ZodNumber>;
|
|
7171
|
-
propertyDetail: ZodObject<{
|
|
7172
|
-
orientation: ZodOptional<ZodString>;
|
|
7173
|
-
buildingDensityPercent: ZodOptional<ZodNumber>;
|
|
7174
|
-
structureType: ZodOptional<ZodString>;
|
|
7175
|
-
constructionQuality: ZodOptional<ZodString>;
|
|
7176
|
-
height: ZodOptional<ZodNumber>;
|
|
7177
|
-
width: ZodOptional<ZodNumber>;
|
|
7178
|
-
length: ZodOptional<ZodNumber>;
|
|
7179
|
-
completionRate: ZodOptional<ZodNumber>;
|
|
7180
|
-
floorType: ZodOptional<ZodString>;
|
|
7181
|
-
loadBearingFloor: ZodOptional<ZodNumber>;
|
|
7182
|
-
specialAttributes: ZodOptional<ZodAny>;
|
|
7183
|
-
}, $strip>;
|
|
7184
|
-
}, $strip>;
|
|
7185
|
-
type CreatePropertyInputSchema = output<typeof createPropertyInputBaseSchema> & {
|
|
7186
|
-
children?: CreatePropertyInputSchema[];
|
|
7187
|
-
};
|
|
7188
|
-
//#endregion
|
|
7189
|
-
//#region src/generated/industrial-property/ports/create-property.request.d.ts
|
|
7190
|
-
type CreatePropertyInput = {
|
|
7191
|
-
title: string;
|
|
7192
|
-
projectId: string;
|
|
7193
|
-
provinceId: string;
|
|
7194
|
-
wardId: string;
|
|
7195
|
-
detailedAddress: string;
|
|
7196
|
-
propertyLegalStatus: PropertyLegalStatus;
|
|
7197
|
-
approvalStatus: PropertyApprovalStatus;
|
|
7198
|
-
landCurrentStatus: PropertyLandCurrentStatus;
|
|
7199
|
-
type: PropertyType;
|
|
7200
|
-
propertyDetail: {
|
|
7201
|
-
orientation?: string | undefined;
|
|
7202
|
-
buildingDensityPercent?: number | undefined;
|
|
7203
|
-
structureType?: string | undefined;
|
|
7204
|
-
constructionQuality?: string | undefined;
|
|
7205
|
-
height?: number | undefined;
|
|
7206
|
-
width?: number | undefined;
|
|
7207
|
-
length?: number | undefined;
|
|
7208
|
-
completionRate?: number | undefined;
|
|
7209
|
-
floorType?: string | undefined;
|
|
7210
|
-
loadBearingFloor?: number | undefined;
|
|
7211
|
-
specialAttributes?: any;
|
|
7212
|
-
};
|
|
7213
|
-
propertyMapId?: string | undefined;
|
|
7214
|
-
polygon?: {
|
|
7215
|
-
x: number;
|
|
7216
|
-
y: number;
|
|
7217
|
-
z?: number | undefined;
|
|
7218
|
-
}[] | undefined;
|
|
7219
|
-
isPublic?: boolean | undefined;
|
|
7220
|
-
description?: string | undefined;
|
|
7221
|
-
parentId?: string | undefined;
|
|
7222
|
-
operationStatus?: PropertyOperationStatus | undefined;
|
|
7223
|
-
area?: string | undefined;
|
|
7224
|
-
latitude?: string | undefined;
|
|
7225
|
-
longitude?: string | undefined;
|
|
7226
|
-
imagesIds?: string[] | undefined;
|
|
7227
|
-
price?: string | undefined;
|
|
7228
|
-
priceUnit?: string | undefined;
|
|
7229
|
-
deposite?: string | undefined;
|
|
7230
|
-
depositeUnit?: string | undefined;
|
|
7231
|
-
paymentPeriodType?: string | undefined;
|
|
7232
|
-
yearBuilt?: Date | undefined;
|
|
7233
|
-
yearCompleted?: Date | undefined;
|
|
7234
|
-
notificationTypes?: string[] | undefined;
|
|
7235
|
-
notes?: {
|
|
7236
|
-
content: string;
|
|
7237
|
-
createdAt: Date;
|
|
7238
|
-
attachmentIds: string[];
|
|
7239
|
-
isImportant?: boolean | undefined;
|
|
7240
|
-
}[] | undefined;
|
|
7241
|
-
attachmentsIds?: string[] | undefined;
|
|
7242
|
-
seoMetadata?: any;
|
|
7243
|
-
metadata?: any;
|
|
7244
|
-
numberOfFloor?: number | undefined;
|
|
7245
|
-
floorNumber?: number | undefined;
|
|
7246
|
-
} & {
|
|
7247
|
-
children?: CreatePropertyInputSchema[];
|
|
7248
|
-
};
|
|
7249
|
-
//#endregion
|
|
7250
|
-
//#region src/generated/industrial-property/ports/create-property.response.d.ts
|
|
7251
|
-
interface CreatePropertyResponse extends BaseRes {
|
|
7252
|
-
propertyId: string;
|
|
7253
|
-
propertyVisualizationId?: string;
|
|
7254
|
-
message: string;
|
|
7255
|
-
failed?: {
|
|
7256
|
-
index: number;
|
|
7257
|
-
message: string;
|
|
7258
|
-
}[];
|
|
4804
|
+
parentId?: string | undefined;
|
|
4805
|
+
operationStatus?: PropertyOperationStatus | undefined;
|
|
4806
|
+
area?: string | undefined;
|
|
4807
|
+
latitude?: string | undefined;
|
|
4808
|
+
longitude?: string | undefined;
|
|
4809
|
+
imagesIds?: string[] | undefined;
|
|
4810
|
+
price?: string | undefined;
|
|
4811
|
+
priceUnit?: string | undefined;
|
|
4812
|
+
deposite?: string | undefined;
|
|
4813
|
+
depositeUnit?: string | undefined;
|
|
4814
|
+
paymentPeriodType?: string | undefined;
|
|
4815
|
+
yearBuilt?: Date | undefined;
|
|
4816
|
+
yearCompleted?: Date | undefined;
|
|
4817
|
+
notificationTypes?: string[] | undefined;
|
|
4818
|
+
notes?: {
|
|
4819
|
+
content: string;
|
|
4820
|
+
createdAt: Date;
|
|
4821
|
+
attachmentIds: string[];
|
|
4822
|
+
isImportant?: boolean | undefined;
|
|
4823
|
+
}[] | undefined;
|
|
4824
|
+
attachmentsIds?: string[] | undefined;
|
|
4825
|
+
seoMetadata?: any;
|
|
4826
|
+
metadata?: any;
|
|
4827
|
+
numberOfFloor?: number | undefined;
|
|
4828
|
+
floorNumber?: number | undefined;
|
|
4829
|
+
numberOfProperties?: number | undefined;
|
|
4830
|
+
} & {
|
|
4831
|
+
children?: _$_modules_industrial_property_validators0.CreatePropertyInputSchema[];
|
|
4832
|
+
};
|
|
4833
|
+
//#endregion
|
|
4834
|
+
//#region src/generated/industrial-property/ports/create-property.response.d.ts
|
|
4835
|
+
interface CreatePropertyResponse extends BaseRes {
|
|
4836
|
+
propertyId: string;
|
|
4837
|
+
propertyVisualizationId?: string;
|
|
4838
|
+
message: string;
|
|
4839
|
+
failed?: {
|
|
4840
|
+
index: number;
|
|
4841
|
+
message: string;
|
|
4842
|
+
}[];
|
|
7259
4843
|
}
|
|
7260
4844
|
interface PropertyVisualizationInsertData {
|
|
7261
4845
|
id: string;
|
|
@@ -7880,6 +5464,7 @@ type UpdatePropertyInput = {
|
|
|
7880
5464
|
metadata?: any;
|
|
7881
5465
|
numberOfFloor?: number | undefined;
|
|
7882
5466
|
floorNumber?: number | undefined;
|
|
5467
|
+
numberOfProperties?: number | undefined;
|
|
7883
5468
|
propertyDetail?: {
|
|
7884
5469
|
orientation?: string | undefined;
|
|
7885
5470
|
buildingDensityPercent?: number | undefined;
|
|
@@ -7952,6 +5537,424 @@ interface RegisterInvestorRepresentativeResponse extends BaseRes {
|
|
|
7952
5537
|
message: string;
|
|
7953
5538
|
}
|
|
7954
5539
|
//#endregion
|
|
5540
|
+
//#region src/generated/listing/exceptions.d.ts
|
|
5541
|
+
declare const ListingExceptions: {
|
|
5542
|
+
LISTING_NOT_FOUND: string;
|
|
5543
|
+
};
|
|
5544
|
+
//#endregion
|
|
5545
|
+
//#region src/generated/listing/ports/approve-listing.request.d.ts
|
|
5546
|
+
type ApproveListingInput = {
|
|
5547
|
+
id: string;
|
|
5548
|
+
};
|
|
5549
|
+
//#endregion
|
|
5550
|
+
//#region src/generated/listing/ports/approve-listing.response.d.ts
|
|
5551
|
+
interface ApproveListingResponse extends BaseRes {
|
|
5552
|
+
message: string;
|
|
5553
|
+
}
|
|
5554
|
+
//#endregion
|
|
5555
|
+
//#region src/generated/listing/ports/create-listing.request.d.ts
|
|
5556
|
+
type CreateListingInput = {
|
|
5557
|
+
title: string;
|
|
5558
|
+
content: string;
|
|
5559
|
+
address: string;
|
|
5560
|
+
latitude: number;
|
|
5561
|
+
longitude: number;
|
|
5562
|
+
utilityIds: string[];
|
|
5563
|
+
videoUrls: string[];
|
|
5564
|
+
documents: {
|
|
5565
|
+
name: string;
|
|
5566
|
+
category: string;
|
|
5567
|
+
type: string;
|
|
5568
|
+
mediaIds?: string[] | undefined;
|
|
5569
|
+
notes?: string | undefined;
|
|
5570
|
+
isApproved?: boolean | undefined;
|
|
5571
|
+
}[];
|
|
5572
|
+
services: {
|
|
5573
|
+
name: string;
|
|
5574
|
+
price: number;
|
|
5575
|
+
priceUnit: string;
|
|
5576
|
+
}[];
|
|
5577
|
+
totalPrice: number;
|
|
5578
|
+
listingType: ListingType;
|
|
5579
|
+
note: any;
|
|
5580
|
+
imageIds: string[];
|
|
5581
|
+
landArea?: number | undefined;
|
|
5582
|
+
constructionArea?: number | undefined;
|
|
5583
|
+
roadWidth?: number | undefined;
|
|
5584
|
+
roadLength?: number | undefined;
|
|
5585
|
+
roadType?: ListingRoadType | undefined;
|
|
5586
|
+
floorCount?: number | undefined;
|
|
5587
|
+
partOfPropertyTitle?: string | undefined;
|
|
5588
|
+
propertyTitle?: string | undefined;
|
|
5589
|
+
pricePerSqm?: number | undefined;
|
|
5590
|
+
negotiable?: boolean | undefined;
|
|
5591
|
+
propertyId?: string | undefined;
|
|
5592
|
+
projectId?: string | undefined;
|
|
5593
|
+
propertyType?: ListingPropertyType | undefined;
|
|
5594
|
+
postType?: ListingPostType | undefined;
|
|
5595
|
+
seoTitle?: string | undefined;
|
|
5596
|
+
seoDescription?: string | undefined;
|
|
5597
|
+
seoThumbnail?: string | undefined;
|
|
5598
|
+
};
|
|
5599
|
+
//#endregion
|
|
5600
|
+
//#region src/generated/listing/ports/create-listing.response.d.ts
|
|
5601
|
+
interface CreateListingResponse extends BaseRes {
|
|
5602
|
+
message: string;
|
|
5603
|
+
}
|
|
5604
|
+
//#endregion
|
|
5605
|
+
//#region src/generated/listing/ports/delete-listing.request.d.ts
|
|
5606
|
+
type DeleteListingInput = {
|
|
5607
|
+
code: string;
|
|
5608
|
+
};
|
|
5609
|
+
//#endregion
|
|
5610
|
+
//#region src/generated/listing/ports/delete-listing.response.d.ts
|
|
5611
|
+
interface DeleteListingResponse extends BaseRes {
|
|
5612
|
+
message: string;
|
|
5613
|
+
}
|
|
5614
|
+
//#endregion
|
|
5615
|
+
//#region src/generated/listing/ports/get-listing.request.d.ts
|
|
5616
|
+
type ListingFilter = {
|
|
5617
|
+
id: string;
|
|
5618
|
+
};
|
|
5619
|
+
//#endregion
|
|
5620
|
+
//#region src/generated/listing/ports/get-listing.response.d.ts
|
|
5621
|
+
type ListingUtilityItem = {
|
|
5622
|
+
id: string;
|
|
5623
|
+
name: string;
|
|
5624
|
+
icon: string;
|
|
5625
|
+
description?: string;
|
|
5626
|
+
};
|
|
5627
|
+
type DocumentItem = {
|
|
5628
|
+
name: string;
|
|
5629
|
+
category: string;
|
|
5630
|
+
type: string;
|
|
5631
|
+
isApproved?: boolean;
|
|
5632
|
+
notes?: string;
|
|
5633
|
+
};
|
|
5634
|
+
type ServiceFee = {
|
|
5635
|
+
name: string;
|
|
5636
|
+
price: number;
|
|
5637
|
+
priceUnit: string;
|
|
5638
|
+
};
|
|
5639
|
+
interface ListingItem {
|
|
5640
|
+
id: string;
|
|
5641
|
+
title: string;
|
|
5642
|
+
content: string;
|
|
5643
|
+
address: string;
|
|
5644
|
+
latitude: number;
|
|
5645
|
+
longitude: number;
|
|
5646
|
+
landArea?: number;
|
|
5647
|
+
constructionArea?: number;
|
|
5648
|
+
roadWidth?: number;
|
|
5649
|
+
roadLength?: number;
|
|
5650
|
+
roadType?: string;
|
|
5651
|
+
floorCount?: number;
|
|
5652
|
+
partOfPropertyTitle?: string;
|
|
5653
|
+
propertyTitle?: string;
|
|
5654
|
+
utilities?: ListingUtilityItem[];
|
|
5655
|
+
totalPrice: number;
|
|
5656
|
+
pricePerSqm?: number;
|
|
5657
|
+
negotiable?: boolean;
|
|
5658
|
+
propertyType?: string;
|
|
5659
|
+
postType?: string;
|
|
5660
|
+
listingType?: ListingType;
|
|
5661
|
+
note?: Record<string, unknown>;
|
|
5662
|
+
seoTitle?: string;
|
|
5663
|
+
seoDescription?: string;
|
|
5664
|
+
seoThumbnail?: string;
|
|
5665
|
+
status: string;
|
|
5666
|
+
approveStatus?: string;
|
|
5667
|
+
attachmentIds?: string[];
|
|
5668
|
+
documents?: DocumentItem[];
|
|
5669
|
+
images: MediaResponse[];
|
|
5670
|
+
videoUrls?: string[];
|
|
5671
|
+
code: string;
|
|
5672
|
+
slug: string;
|
|
5673
|
+
propertyId?: string;
|
|
5674
|
+
projectId?: string;
|
|
5675
|
+
version?: number;
|
|
5676
|
+
services?: ServiceFee[];
|
|
5677
|
+
metadata?: Record<string, unknown>;
|
|
5678
|
+
createdAt?: Date;
|
|
5679
|
+
updatedAt?: Date;
|
|
5680
|
+
deletedAt?: Date;
|
|
5681
|
+
createdById?: string;
|
|
5682
|
+
updatedById?: string;
|
|
5683
|
+
deletedById?: string;
|
|
5684
|
+
}
|
|
5685
|
+
interface ListingResponse extends BaseRes {
|
|
5686
|
+
listing: ListingItem;
|
|
5687
|
+
}
|
|
5688
|
+
//#endregion
|
|
5689
|
+
//#region src/generated/listing/ports/get-listings.request.d.ts
|
|
5690
|
+
type ListingsFilter = {
|
|
5691
|
+
page: number;
|
|
5692
|
+
limit: number;
|
|
5693
|
+
title?: string | undefined;
|
|
5694
|
+
address?: string | undefined;
|
|
5695
|
+
propertyType?: ListingPropertyType | undefined;
|
|
5696
|
+
postType?: ListingPostType | undefined;
|
|
5697
|
+
listingType?: ListingType | undefined;
|
|
5698
|
+
createdBy?: string | undefined;
|
|
5699
|
+
propertyId?: string | undefined;
|
|
5700
|
+
};
|
|
5701
|
+
//#endregion
|
|
5702
|
+
//#region src/generated/listing/ports/get-listings.response.d.ts
|
|
5703
|
+
interface ListingListItem {
|
|
5704
|
+
id: string;
|
|
5705
|
+
title: string;
|
|
5706
|
+
content: string;
|
|
5707
|
+
address: string;
|
|
5708
|
+
latitude: number;
|
|
5709
|
+
longitude: number;
|
|
5710
|
+
landArea?: number;
|
|
5711
|
+
constructionArea?: number;
|
|
5712
|
+
roadWidth?: number;
|
|
5713
|
+
roadLength?: number;
|
|
5714
|
+
roadType?: string;
|
|
5715
|
+
floorCount?: number;
|
|
5716
|
+
partOfPropertyTitle?: string;
|
|
5717
|
+
propertyTitle?: string;
|
|
5718
|
+
utilities?: ListingUtilityItem[];
|
|
5719
|
+
totalPrice: number;
|
|
5720
|
+
pricePerSqm?: number;
|
|
5721
|
+
negotiable?: boolean;
|
|
5722
|
+
propertyType?: string;
|
|
5723
|
+
postType?: string;
|
|
5724
|
+
listingType?: ListingType;
|
|
5725
|
+
note?: Record<string, unknown>;
|
|
5726
|
+
seoTitle?: string;
|
|
5727
|
+
seoDescription?: string;
|
|
5728
|
+
seoThumbnail?: string;
|
|
5729
|
+
status: string;
|
|
5730
|
+
approveStatus?: string;
|
|
5731
|
+
images: MediaResponse[];
|
|
5732
|
+
code: string;
|
|
5733
|
+
slug: string;
|
|
5734
|
+
propertyId?: string;
|
|
5735
|
+
projectId?: string;
|
|
5736
|
+
version?: number;
|
|
5737
|
+
metadata?: Record<string, unknown>;
|
|
5738
|
+
createdAt?: Date;
|
|
5739
|
+
updatedAt?: Date;
|
|
5740
|
+
deletedAt?: Date;
|
|
5741
|
+
createdById?: string;
|
|
5742
|
+
updatedById?: string;
|
|
5743
|
+
deletedById?: string;
|
|
5744
|
+
}
|
|
5745
|
+
interface ListingsResponse extends BaseRes {
|
|
5746
|
+
data: ListingListItem[];
|
|
5747
|
+
total: number;
|
|
5748
|
+
page: number;
|
|
5749
|
+
limit: number;
|
|
5750
|
+
totalPages: number;
|
|
5751
|
+
}
|
|
5752
|
+
//#endregion
|
|
5753
|
+
//#region src/generated/listing/ports/listing-data.port.d.ts
|
|
5754
|
+
type ListingDataFilter = Omit<ListingsFilter, "page" | "limit">;
|
|
5755
|
+
interface DocumentModel {
|
|
5756
|
+
id: string;
|
|
5757
|
+
name: string;
|
|
5758
|
+
category: string;
|
|
5759
|
+
type: string;
|
|
5760
|
+
isApproved?: boolean;
|
|
5761
|
+
notes?: string;
|
|
5762
|
+
}
|
|
5763
|
+
interface DocumentInsertPayload {
|
|
5764
|
+
name: string;
|
|
5765
|
+
category: string;
|
|
5766
|
+
type: string;
|
|
5767
|
+
mediaIds?: string[];
|
|
5768
|
+
notes?: string;
|
|
5769
|
+
isApproved?: boolean;
|
|
5770
|
+
createdById: string;
|
|
5771
|
+
}
|
|
5772
|
+
interface ListingModel {
|
|
5773
|
+
id: string;
|
|
5774
|
+
title: string;
|
|
5775
|
+
content: string;
|
|
5776
|
+
address: string;
|
|
5777
|
+
latitude: number;
|
|
5778
|
+
longitude: number;
|
|
5779
|
+
landArea?: number;
|
|
5780
|
+
constructionArea?: number;
|
|
5781
|
+
roadWidth?: number;
|
|
5782
|
+
roadLength?: number;
|
|
5783
|
+
roadType?: string;
|
|
5784
|
+
floorCount?: number;
|
|
5785
|
+
partOfPropertyTitle?: string;
|
|
5786
|
+
propertyTitle?: string;
|
|
5787
|
+
utilityIds?: string[];
|
|
5788
|
+
videoUrls?: string[];
|
|
5789
|
+
services?: Record<string, unknown>[];
|
|
5790
|
+
totalPrice: number;
|
|
5791
|
+
pricePerSqm?: number;
|
|
5792
|
+
negotiable?: boolean;
|
|
5793
|
+
propertyType?: string;
|
|
5794
|
+
postType?: string;
|
|
5795
|
+
listingType: ListingType;
|
|
5796
|
+
note?: Record<string, unknown>;
|
|
5797
|
+
seoTitle?: string;
|
|
5798
|
+
seoDescription?: string;
|
|
5799
|
+
seoThumbnail?: string;
|
|
5800
|
+
status: string;
|
|
5801
|
+
approveStatus?: string;
|
|
5802
|
+
attachmentIds?: string[];
|
|
5803
|
+
imageIds?: string[];
|
|
5804
|
+
code: string;
|
|
5805
|
+
slug: string;
|
|
5806
|
+
version?: number;
|
|
5807
|
+
createdById: string;
|
|
5808
|
+
createdAt?: Date;
|
|
5809
|
+
updatedAt?: Date;
|
|
5810
|
+
}
|
|
5811
|
+
interface ListingInsertData {
|
|
5812
|
+
id: string;
|
|
5813
|
+
title: string;
|
|
5814
|
+
content: string;
|
|
5815
|
+
address: string;
|
|
5816
|
+
latitude: number;
|
|
5817
|
+
longitude: number;
|
|
5818
|
+
landArea?: number;
|
|
5819
|
+
constructionArea?: number;
|
|
5820
|
+
roadWidth?: number;
|
|
5821
|
+
roadLength?: number;
|
|
5822
|
+
roadType?: string;
|
|
5823
|
+
floorCount?: number;
|
|
5824
|
+
partOfPropertyTitle?: string;
|
|
5825
|
+
propertyTitle?: string;
|
|
5826
|
+
utilityIds?: string[];
|
|
5827
|
+
videoUrls?: string[];
|
|
5828
|
+
services?: Record<string, unknown>[];
|
|
5829
|
+
totalPrice: number;
|
|
5830
|
+
pricePerSqm?: number;
|
|
5831
|
+
negotiable?: boolean;
|
|
5832
|
+
propertyType?: string;
|
|
5833
|
+
postType?: string;
|
|
5834
|
+
listingType: ListingType;
|
|
5835
|
+
note?: Record<string, unknown>;
|
|
5836
|
+
seoTitle?: string;
|
|
5837
|
+
seoDescription?: string;
|
|
5838
|
+
seoThumbnail?: string;
|
|
5839
|
+
status: string;
|
|
5840
|
+
approveStatus: string;
|
|
5841
|
+
attachmentIds?: string[];
|
|
5842
|
+
imageIds?: string[];
|
|
5843
|
+
code: string;
|
|
5844
|
+
slug: string;
|
|
5845
|
+
version?: number;
|
|
5846
|
+
createdById: string;
|
|
5847
|
+
}
|
|
5848
|
+
interface ListingUpdateData {
|
|
5849
|
+
title?: string;
|
|
5850
|
+
content?: string;
|
|
5851
|
+
address?: string;
|
|
5852
|
+
latitude?: number;
|
|
5853
|
+
longitude?: number;
|
|
5854
|
+
landArea?: number;
|
|
5855
|
+
constructionArea?: number;
|
|
5856
|
+
roadWidth?: number;
|
|
5857
|
+
roadLength?: number;
|
|
5858
|
+
roadType?: string;
|
|
5859
|
+
floorCount?: number;
|
|
5860
|
+
partOfPropertyTitle?: string;
|
|
5861
|
+
propertyTitle?: string;
|
|
5862
|
+
utilityIds?: string[];
|
|
5863
|
+
videoUrls?: string[];
|
|
5864
|
+
services?: Record<string, unknown>[];
|
|
5865
|
+
totalPrice?: number;
|
|
5866
|
+
pricePerSqm?: number;
|
|
5867
|
+
negotiable?: boolean;
|
|
5868
|
+
propertyType?: string;
|
|
5869
|
+
postType?: string;
|
|
5870
|
+
listingType?: ListingType;
|
|
5871
|
+
note?: Record<string, unknown>;
|
|
5872
|
+
attachmentIds?: string[];
|
|
5873
|
+
imageIds?: string[];
|
|
5874
|
+
seoTitle?: string;
|
|
5875
|
+
seoDescription?: string;
|
|
5876
|
+
seoThumbnail?: string;
|
|
5877
|
+
status?: string;
|
|
5878
|
+
slug?: string;
|
|
5879
|
+
approveStatus?: string;
|
|
5880
|
+
deletedAt?: Date;
|
|
5881
|
+
deletedById?: string;
|
|
5882
|
+
updatedById?: string;
|
|
5883
|
+
}
|
|
5884
|
+
interface ListingDataPort {
|
|
5885
|
+
update(id: string, data: ListingUpdateData, trx?: Transaction<Database>): Promise<void>;
|
|
5886
|
+
softDeleteByCodes(codes: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
5887
|
+
insertListing(data: ListingInsertData, trx?: Transaction<Database>): Promise<void>;
|
|
5888
|
+
insertDocuments(documents: DocumentInsertPayload[], trx?: Transaction<Database>): Promise<string[]>;
|
|
5889
|
+
softDeleteDocumentsByIds(ids: string[], deletedById: string, trx?: Transaction<Database>): Promise<void>;
|
|
5890
|
+
findDocumentsByIds(ids: string[], trx?: Transaction<Database>): Promise<DocumentModel[]>;
|
|
5891
|
+
findById(id: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
5892
|
+
findListingById(id: string, createdById: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
5893
|
+
findPublishedById(id: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
5894
|
+
findPublishedByCode(code: string, trx?: Transaction<Database>): Promise<ListingModel | undefined>;
|
|
5895
|
+
findCodesByCodeAndCreatedBy(code: string, createdById: string, trx?: Transaction<Database>): Promise<string[]>;
|
|
5896
|
+
findAndCount(filter: ListingDataFilter, page: number, limit: number, trx?: Transaction<Database>): Promise<{
|
|
5897
|
+
data: ListingModel[];
|
|
5898
|
+
total: number;
|
|
5899
|
+
page: number;
|
|
5900
|
+
limit: number;
|
|
5901
|
+
totalPages: number;
|
|
5902
|
+
}>;
|
|
5903
|
+
findApprovedForSync(sinceDate: Date, trx?: Transaction<Database>): Promise<ListingModel[]>;
|
|
5904
|
+
}
|
|
5905
|
+
//#endregion
|
|
5906
|
+
//#region src/generated/listing/ports/update-listing.request.d.ts
|
|
5907
|
+
type UpdateListingInput = {
|
|
5908
|
+
id: string;
|
|
5909
|
+
content: any;
|
|
5910
|
+
note: any;
|
|
5911
|
+
title?: string | undefined;
|
|
5912
|
+
address?: string | undefined;
|
|
5913
|
+
latitude?: number | undefined;
|
|
5914
|
+
longitude?: number | undefined;
|
|
5915
|
+
landArea?: number | undefined;
|
|
5916
|
+
constructionArea?: number | undefined;
|
|
5917
|
+
roadWidth?: number | undefined;
|
|
5918
|
+
roadLength?: number | undefined;
|
|
5919
|
+
roadType?: ListingRoadType | undefined;
|
|
5920
|
+
floorCount?: number | undefined;
|
|
5921
|
+
partOfPropertyTitle?: string | undefined;
|
|
5922
|
+
propertyTitle?: string | undefined;
|
|
5923
|
+
utilityIds?: string[] | undefined;
|
|
5924
|
+
videoUrls?: string[] | undefined;
|
|
5925
|
+
documents?: {
|
|
5926
|
+
name: string;
|
|
5927
|
+
category: string;
|
|
5928
|
+
type: string;
|
|
5929
|
+
mediaIds?: string[] | undefined;
|
|
5930
|
+
notes?: string | undefined;
|
|
5931
|
+
isApproved?: boolean | undefined;
|
|
5932
|
+
}[] | undefined;
|
|
5933
|
+
services?: {
|
|
5934
|
+
name: string;
|
|
5935
|
+
price: number;
|
|
5936
|
+
priceUnit: string;
|
|
5937
|
+
}[] | undefined;
|
|
5938
|
+
totalPrice?: number | undefined;
|
|
5939
|
+
pricePerSqm?: number | undefined;
|
|
5940
|
+
negotiable?: boolean | undefined;
|
|
5941
|
+
propertyId?: string | undefined;
|
|
5942
|
+
projectId?: string | undefined;
|
|
5943
|
+
propertyType?: ListingPropertyType | undefined;
|
|
5944
|
+
postType?: ListingPostType | undefined;
|
|
5945
|
+
listingType?: ListingType | undefined;
|
|
5946
|
+
imageIds?: string[] | undefined;
|
|
5947
|
+
seoTitle?: string | undefined;
|
|
5948
|
+
seoDescription?: string | undefined;
|
|
5949
|
+
seoThumbnail?: string | undefined;
|
|
5950
|
+
status?: ListingStatus | undefined;
|
|
5951
|
+
};
|
|
5952
|
+
//#endregion
|
|
5953
|
+
//#region src/generated/listing/ports/update-listing.response.d.ts
|
|
5954
|
+
interface UpdateListingResponse extends BaseRes {
|
|
5955
|
+
message: string;
|
|
5956
|
+
}
|
|
5957
|
+
//#endregion
|
|
7955
5958
|
//#region src/generated/location/exceptions.d.ts
|
|
7956
5959
|
declare const ProvinceExceptions: {
|
|
7957
5960
|
PROVINCE_NOT_FOUND: string;
|
|
@@ -8844,7 +6847,7 @@ type AddDocumentToProjectInput = {
|
|
|
8844
6847
|
};
|
|
8845
6848
|
//#endregion
|
|
8846
6849
|
//#region src/generated/project/ports/add-document-to-project.response.d.ts
|
|
8847
|
-
interface AddDocumentToProjectResponse extends BaseRes
|
|
6850
|
+
interface AddDocumentToProjectResponse extends BaseRes {
|
|
8848
6851
|
documentId: string;
|
|
8849
6852
|
message: string;
|
|
8850
6853
|
}
|
|
@@ -9463,6 +7466,7 @@ interface ProjectUtilityModel {
|
|
|
9463
7466
|
name: string;
|
|
9464
7467
|
description?: string;
|
|
9465
7468
|
icon: string;
|
|
7469
|
+
ownerProjectId?: string | null;
|
|
9466
7470
|
}
|
|
9467
7471
|
interface ProjectDocumentModel {
|
|
9468
7472
|
id: string;
|
|
@@ -9559,7 +7563,7 @@ interface ProjectDataPort {
|
|
|
9559
7563
|
}
|
|
9560
7564
|
//#endregion
|
|
9561
7565
|
//#region src/generated/project/ports/remove-document-from-project.response.d.ts
|
|
9562
|
-
interface deleteDocumentFromProjectResponse extends BaseRes
|
|
7566
|
+
interface deleteDocumentFromProjectResponse extends BaseRes {
|
|
9563
7567
|
success: boolean;
|
|
9564
7568
|
}
|
|
9565
7569
|
//#endregion
|
|
@@ -9634,7 +7638,7 @@ type UpdateProjectDocumentInput = {
|
|
|
9634
7638
|
};
|
|
9635
7639
|
//#endregion
|
|
9636
7640
|
//#region src/generated/project/ports/update-project-document.response.d.ts
|
|
9637
|
-
interface UpdateProjectDocumentResponse extends BaseRes
|
|
7641
|
+
interface UpdateProjectDocumentResponse extends BaseRes {
|
|
9638
7642
|
message: string;
|
|
9639
7643
|
}
|
|
9640
7644
|
//#endregion
|
|
@@ -10463,5 +8467,5 @@ interface UtilityDataPort {
|
|
|
10463
8467
|
} | undefined>;
|
|
10464
8468
|
}
|
|
10465
8469
|
//#endregion
|
|
10466
|
-
export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsInput, AddDealStepParticipantsResponse, AddDocumentToProjectInput, AddDocumentToProjectResponse, AdministratorDataPort, type AgreementCommandPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, type AgreementTemplateFiltersInput, AgreementTemplateInsertData, type AgreementTemplateListResult, AgreementTemplateModel, type AgreementTemplatePort, 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, ClientCategoryCommandCreateInput, ClientCategoryCommandCreateResult, ClientCategoryCommandDeleteInput, ClientCategoryCommandUpdateInput, ClientCategoryExceptions, ClientCategoryFilter, ClientCategoryItem, ClientCategoryModel, ClientCategoryResponse, ClientCommandCreateInput, ClientCommandCreateResult, ClientCommandDeleteInput, ClientCommandMutationResult, ClientCommandPort, ClientCommandUpdateInput, 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, type DeleteAgreementTemplateResult, 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, 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, type PropertyUtilitiesTable, 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, UtilityCommandAddProjectInput, UtilityCommandAddPropertyBranchInput, UtilityCommandCreateProjectInput, UtilityCommandCreatePropertyBranchInput, UtilityCommandDeleteInput, UtilityCommandPort, UtilityCommandRemoveProjectInput, UtilityCommandRemovePropertyBranchInput, UtilityCommandUpdateInput, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, type WardsTable, deleteDocumentFromProjectResponse };
|
|
8470
|
+
export { AcknowledgeAppointmentInput, AcknowledgeAppointmentResponse, ActivateInvestorFromRegisterLinkInput, ActivateInvestorFromRegisterLinkResponse, AddDealStepParticipantsInput, AddDealStepParticipantsResponse, AddDocumentToProjectInput, AddDocumentToProjectResponse, AdministratorDataPort, type AgreementCommandPort, AgreementDataPort, AgreementExceptions, AgreementInsertData, AgreementModel, AgreementTemplateDataListFilter, AgreementTemplateDataPort, AgreementTemplateExceptions, type AgreementTemplateFiltersInput, AgreementTemplateInsertData, type AgreementTemplateListResult, AgreementTemplateModel, type AgreementTemplatePort, 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, ApproveListingAdminInput, ApproveListingAdminResponse, ApproveListingInput, ApproveListingResponse, 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, ClientCategoryCommandCreateInput, ClientCategoryCommandCreateResult, ClientCategoryCommandDeleteInput, ClientCategoryCommandUpdateInput, ClientCategoryExceptions, ClientCategoryFilter, ClientCategoryItem, ClientCategoryModel, ClientCategoryResponse, ClientCommandCreateInput, ClientCommandCreateResult, ClientCommandDeleteInput, ClientCommandMutationResult, ClientCommandPort, ClientCommandUpdateInput, 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, CreateListingInput, CreateListingResponse, 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, type DeleteAgreementTemplateResult, DeleteAppointmentInput, DeleteAppointmentResponse, DeleteBlacklistInput, DeleteBlacklistResponse, DeleteChatGroupInput, DeleteChatGroupResponse, DeleteClientCategoryInput, DeleteClientCategoryResponse, DeleteClientInput, DeleteClientResponse, DeleteConsignmentRequestInput, DeleteConsignmentRequestResponse, DeleteInvestorRepresentativeResponse, DeleteListingInput, DeleteListingResponse, DigitalSignatureDataPort, DigitalSignatureInsertData, DigitalSignatureModel, type DigitalSignaturesTable, DistrictExceptions, DocumentCategory, DocumentExceptions, DocumentInsertData, DocumentInsertPayload, DocumentItem, DocumentModel, DocumentToProjectInsertData, type DocumentToProjectTable, DocumentType, DocumentUpdateData, type DocumentsTable, 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, ListingApproveData, ListingApproveStatus, ListingBuildingStandard, ListingDataFilter, ListingDataPort, ListingExceptions, ListingFilter, ListingInfrastructureStatus, ListingInsertData, ListingItem, ListingListItem, ListingModel, ListingPostType, ListingPropertyType, ListingResponse, ListingRoadType, ListingStatus, ListingType, ListingUpdateData, ListingUtilities, ListingUtilityItem, ListingsFilter, ListingsResponse, type ListingsTable, 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, ProjectType, ProjectUpdateData, type ProjectUtilitiesTable, ProjectUtilityInsertData, ProjectUtilityModel, ProjectWard, ProjectsFilter, ProjectsResponse, type ProjectsTable, PropertiesFilter, PropertiesResponse, type PropertiesTable, PropertyApprovalStatus, PropertyAuthorizationType, type PropertyBranchUserPermissionsTable, PropertyBranchUtilityInsertData, type PropertyBranchesTable, PropertyDataPort, type PropertyDetailItem, PropertyDetailModel, type PropertyDetailsTable, type PropertyDocumentsTable, PropertyExceptions, type PropertyFilter, PropertyIdentifierModel, PropertyIdentifierType, type PropertyIdentifiersTable, type PropertyItem, PropertyLandCurrentStatus, PropertyLegalStatus, PropertyListingFilter, PropertyListingResult, type PropertyMapItem, PropertyMapModel, PropertyMapWithMediaModel, PropertyMapsFilter, PropertyMapsResponse, type PropertyMapsTable, type PropertyMediaAlbumsTable, PropertyModel, PropertyOperationStatus, PropertyResponse, type PropertyServicesTable, PropertyTransactionStatus, PropertyType, type PropertyUtilitiesTable, 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, ServiceFee, 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, UpdateListingInput, UpdateListingResponse, 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, UtilityCommandAddProjectInput, UtilityCommandAddPropertyBranchInput, UtilityCommandCreateProjectInput, UtilityCommandCreatePropertyBranchInput, UtilityCommandDeleteInput, UtilityCommandPort, UtilityCommandRemoveProjectInput, UtilityCommandRemovePropertyBranchInput, UtilityCommandUpdateInput, UtilityDataPort, UtilityInsertData, UtilityItem, UtilityModel, UtilityReadFilter, UtilityReadItem, UtilityReadPort, UtilityReadResult, UtilityUpdateData, VerificationType, VerifyOtpForgotPasswordInput, VerifyOtpForgotPasswordResponse, VersionAction, type VisualizationPropertyItem, VisualizationsByBrokerResult, VisualizationsByOwnerResult, WardExceptions, WardListFilter, WardModel, type WardsTable, deleteDocumentFromProjectResponse };
|
|
10467
8471
|
//# sourceMappingURL=index.d.mts.map
|