house-types 2.9.56 → 2.9.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +16 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -700,20 +700,21 @@ export declare const parserHouseSchema: {
|
|
|
700
700
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
701
701
|
addressWithoutCity: z.ZodOptional<z.ZodString>;
|
|
702
702
|
price: z.ZodNumber;
|
|
703
|
-
|
|
703
|
+
immediatelyAvailable: z.ZodBoolean;
|
|
704
|
+
startDateIfNotImmediatelyAvailableISO8601: z.ZodOptional<z.ZodString>;
|
|
704
705
|
propertyType: z.ZodEnum<["House", "Apartment", "Studio", "Room"]>;
|
|
705
706
|
bedrooms: z.ZodOptional<z.ZodNumber>;
|
|
706
707
|
flatmatesIfShared: z.ZodOptional<z.ZodNumber>;
|
|
707
708
|
listingRequiredGender: z.ZodOptional<z.ZodEnum<["Male", "Female", "Other"]>>;
|
|
708
709
|
flatmatesGender: z.ZodOptional<z.ZodEnum<["Male", "Female", "Mixed"]>>;
|
|
709
710
|
bathrooms: z.ZodOptional<z.ZodNumber>;
|
|
710
|
-
|
|
711
|
+
furnishing: z.ZodOptional<z.ZodEnum<["Uncarpeted", "Unfurnished", "Furnished"]>>;
|
|
711
712
|
surface: z.ZodOptional<z.ZodNumber>;
|
|
712
713
|
seniorsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
713
714
|
studentsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
714
715
|
bathtub: z.ZodOptional<z.ZodBoolean>;
|
|
715
716
|
garden: z.ZodOptional<z.ZodBoolean>;
|
|
716
|
-
|
|
717
|
+
floorNumber: z.ZodOptional<z.ZodNumber>;
|
|
717
718
|
pets: z.ZodOptional<z.ZodBoolean>;
|
|
718
719
|
garage: z.ZodOptional<z.ZodBoolean>;
|
|
719
720
|
gym: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -723,20 +724,21 @@ export declare const ParserHouseSchema: z.ZodObject<{
|
|
|
723
724
|
postalCode: z.ZodOptional<z.ZodString>;
|
|
724
725
|
addressWithoutCity: z.ZodOptional<z.ZodString>;
|
|
725
726
|
price: z.ZodNumber;
|
|
726
|
-
|
|
727
|
+
immediatelyAvailable: z.ZodBoolean;
|
|
728
|
+
startDateIfNotImmediatelyAvailableISO8601: z.ZodOptional<z.ZodString>;
|
|
727
729
|
propertyType: z.ZodEnum<["House", "Apartment", "Studio", "Room"]>;
|
|
728
730
|
bedrooms: z.ZodOptional<z.ZodNumber>;
|
|
729
731
|
flatmatesIfShared: z.ZodOptional<z.ZodNumber>;
|
|
730
732
|
listingRequiredGender: z.ZodOptional<z.ZodEnum<["Male", "Female", "Other"]>>;
|
|
731
733
|
flatmatesGender: z.ZodOptional<z.ZodEnum<["Male", "Female", "Mixed"]>>;
|
|
732
734
|
bathrooms: z.ZodOptional<z.ZodNumber>;
|
|
733
|
-
|
|
735
|
+
furnishing: z.ZodOptional<z.ZodEnum<["Uncarpeted", "Unfurnished", "Furnished"]>>;
|
|
734
736
|
surface: z.ZodOptional<z.ZodNumber>;
|
|
735
737
|
seniorsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
736
738
|
studentsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
737
739
|
bathtub: z.ZodOptional<z.ZodBoolean>;
|
|
738
740
|
garden: z.ZodOptional<z.ZodBoolean>;
|
|
739
|
-
|
|
741
|
+
floorNumber: z.ZodOptional<z.ZodNumber>;
|
|
740
742
|
pets: z.ZodOptional<z.ZodBoolean>;
|
|
741
743
|
garage: z.ZodOptional<z.ZodBoolean>;
|
|
742
744
|
gym: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -744,21 +746,22 @@ export declare const ParserHouseSchema: z.ZodObject<{
|
|
|
744
746
|
city: string;
|
|
745
747
|
price: number;
|
|
746
748
|
propertyType: "House" | "Apartment" | "Studio" | "Room";
|
|
747
|
-
|
|
749
|
+
immediatelyAvailable: boolean;
|
|
748
750
|
flatmatesGender?: "Male" | "Female" | "Mixed" | undefined;
|
|
749
751
|
postalCode?: string | undefined;
|
|
750
752
|
bedrooms?: number | undefined;
|
|
751
753
|
bathrooms?: number | undefined;
|
|
752
754
|
surface?: number | undefined;
|
|
753
755
|
addressWithoutCity?: string | undefined;
|
|
754
|
-
|
|
756
|
+
startDateIfNotImmediatelyAvailableISO8601?: string | undefined;
|
|
755
757
|
flatmatesIfShared?: number | undefined;
|
|
756
758
|
listingRequiredGender?: "Male" | "Female" | "Other" | undefined;
|
|
759
|
+
furnishing?: "Uncarpeted" | "Unfurnished" | "Furnished" | undefined;
|
|
757
760
|
seniorsOnly?: boolean | undefined;
|
|
758
761
|
studentsOnly?: boolean | undefined;
|
|
759
762
|
bathtub?: boolean | undefined;
|
|
760
763
|
garden?: boolean | undefined;
|
|
761
|
-
|
|
764
|
+
floorNumber?: number | undefined;
|
|
762
765
|
pets?: boolean | undefined;
|
|
763
766
|
garage?: boolean | undefined;
|
|
764
767
|
gym?: boolean | undefined;
|
|
@@ -766,21 +769,22 @@ export declare const ParserHouseSchema: z.ZodObject<{
|
|
|
766
769
|
city: string;
|
|
767
770
|
price: number;
|
|
768
771
|
propertyType: "House" | "Apartment" | "Studio" | "Room";
|
|
769
|
-
|
|
772
|
+
immediatelyAvailable: boolean;
|
|
770
773
|
flatmatesGender?: "Male" | "Female" | "Mixed" | undefined;
|
|
771
774
|
postalCode?: string | undefined;
|
|
772
775
|
bedrooms?: number | undefined;
|
|
773
776
|
bathrooms?: number | undefined;
|
|
774
777
|
surface?: number | undefined;
|
|
775
778
|
addressWithoutCity?: string | undefined;
|
|
776
|
-
|
|
779
|
+
startDateIfNotImmediatelyAvailableISO8601?: string | undefined;
|
|
777
780
|
flatmatesIfShared?: number | undefined;
|
|
778
781
|
listingRequiredGender?: "Male" | "Female" | "Other" | undefined;
|
|
782
|
+
furnishing?: "Uncarpeted" | "Unfurnished" | "Furnished" | undefined;
|
|
779
783
|
seniorsOnly?: boolean | undefined;
|
|
780
784
|
studentsOnly?: boolean | undefined;
|
|
781
785
|
bathtub?: boolean | undefined;
|
|
782
786
|
garden?: boolean | undefined;
|
|
783
|
-
|
|
787
|
+
floorNumber?: number | undefined;
|
|
784
788
|
pets?: boolean | undefined;
|
|
785
789
|
garage?: boolean | undefined;
|
|
786
790
|
gym?: boolean | undefined;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,mDAAoD,CAAC;AAEhF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmErB,CAAC;AAEX,eAAO,MAAM,MAAM,y1BAmET,CAAC;AAEX,eAAO,MAAM,kBAAkB,GAAI,UAAU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAElD,CAAC;AAIF,eAAO,MAAM,OAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBR,CAAC;AAEvB,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,UAAU;;;;;;;;;;;;EAIrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAqB9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;CAuB7B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqC,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,0BAA0B,q8BAuBrC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -332,20 +332,21 @@ export const parserHouseSchema = {
|
|
|
332
332
|
postalCode: z.string().nonempty().optional(),
|
|
333
333
|
addressWithoutCity: z.string().optional(),
|
|
334
334
|
price: z.number(),
|
|
335
|
-
|
|
335
|
+
immediatelyAvailable: z.boolean(),
|
|
336
|
+
startDateIfNotImmediatelyAvailableISO8601: z.string().datetime().optional(),
|
|
336
337
|
propertyType: z.enum(PROPERTY_TYPES),
|
|
337
338
|
bedrooms: z.number().optional(),
|
|
338
339
|
flatmatesIfShared: z.number().optional(),
|
|
339
340
|
listingRequiredGender: z.enum(GENDERS).optional(),
|
|
340
341
|
flatmatesGender: z.enum(FLATMATES_GENDERS).optional(),
|
|
341
342
|
bathrooms: z.number().optional(),
|
|
342
|
-
|
|
343
|
+
furnishing: z.enum(["Uncarpeted", "Unfurnished", "Furnished"]).optional(),
|
|
343
344
|
surface: z.number().optional(),
|
|
344
345
|
seniorsOnly: z.boolean().optional(),
|
|
345
346
|
studentsOnly: z.boolean().optional(),
|
|
346
347
|
bathtub: z.boolean().optional(),
|
|
347
348
|
garden: z.boolean().optional(),
|
|
348
|
-
|
|
349
|
+
floorNumber: z.number().optional(),
|
|
349
350
|
pets: z.boolean().optional(),
|
|
350
351
|
garage: z.boolean().optional(),
|
|
351
352
|
gym: z.boolean().optional(),
|