@vepler/sdk 2.0.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts +66 -66
- package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbyid.js +72 -68
- package/dist/commonjs/sdk/models/operations/getlistingbyid.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts +66 -66
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js +70 -70
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistings.d.ts +66 -66
- package/dist/commonjs/sdk/models/operations/querylistings.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistings.js +72 -68
- package/dist/commonjs/sdk/models/operations/querylistings.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts +66 -66
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.js +72 -68
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/builddata.d.ts +123 -0
- package/dist/commonjs/sdk/models/shared/builddata.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/builddata.js +122 -0
- package/dist/commonjs/sdk/models/shared/builddata.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/chargeentry.d.ts +62 -0
- package/dist/commonjs/sdk/models/shared/chargeentry.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/chargeentry.js +81 -0
- package/dist/commonjs/sdk/models/shared/chargeentry.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/chargehistory.d.ts +53 -0
- package/dist/commonjs/sdk/models/shared/chargehistory.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/chargehistory.js +78 -0
- package/dist/commonjs/sdk/models/shared/chargehistory.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.d.ts +52 -0
- package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.js +77 -0
- package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts +29 -8
- package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/counciltaxdata.js +15 -6
- package/dist/commonjs/sdk/models/shared/counciltaxdata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/epcdata.d.ts +25 -10
- package/dist/commonjs/sdk/models/shared/epcdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/epcdata.js +10 -4
- package/dist/commonjs/sdk/models/shared/epcdata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +11 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +11 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/lease.d.ts +47 -0
- package/dist/commonjs/sdk/models/shared/lease.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/lease.js +76 -0
- package/dist/commonjs/sdk/models/shared/lease.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/listing.d.ts +312 -0
- package/dist/commonjs/sdk/models/shared/listing.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/listing.js +280 -0
- package/dist/commonjs/sdk/models/shared/listing.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/listingimage.d.ts +32 -0
- package/dist/commonjs/sdk/models/shared/listingimage.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/listingimage.js +69 -0
- package/dist/commonjs/sdk/models/shared/listingimage.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/listingpricechange.d.ts +87 -0
- package/dist/commonjs/sdk/models/shared/listingpricechange.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/listingpricechange.js +101 -0
- package/dist/commonjs/sdk/models/shared/listingpricechange.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/marketstatus.d.ts +209 -13
- package/dist/commonjs/sdk/models/shared/marketstatus.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/marketstatus.js +157 -11
- package/dist/commonjs/sdk/models/shared/marketstatus.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +8 -8
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.js +13 -14
- package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/pricechange.d.ts +87 -0
- package/dist/commonjs/sdk/models/shared/pricechange.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/pricechange.js +100 -0
- package/dist/commonjs/sdk/models/shared/pricechange.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/pricingdata.d.ts +9 -14
- package/dist/commonjs/sdk/models/shared/pricingdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/pricingdata.js +10 -12
- package/dist/commonjs/sdk/models/shared/pricingdata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +6 -31
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.js +6 -16
- package/dist/commonjs/sdk/models/shared/propertyaddress.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertydata.d.ts +360 -189
- package/dist/commonjs/sdk/models/shared/propertydata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertydata.js +287 -82
- package/dist/commonjs/sdk/models/shared/propertydata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts +8 -8
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js +13 -13
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts +9 -9
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js +3 -3
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.d.ts +42 -12
- package/dist/commonjs/sdk/models/shared/propertytags.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.js +26 -14
- package/dist/commonjs/sdk/models/shared/propertytags.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/refurbishmentdata.d.ts +67 -0
- package/dist/commonjs/sdk/models/shared/refurbishmentdata.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/refurbishmentdata.js +93 -0
- package/dist/commonjs/sdk/models/shared/refurbishmentdata.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/roomdetails.d.ts +4 -9
- package/dist/commonjs/sdk/models/shared/roomdetails.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/roomdetails.js +4 -6
- package/dist/commonjs/sdk/models/shared/roomdetails.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/salerecord.d.ts +8 -13
- package/dist/commonjs/sdk/models/shared/salerecord.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/salerecord.js +6 -8
- package/dist/commonjs/sdk/models/shared/salerecord.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/tenancydata.d.ts +37 -0
- package/dist/commonjs/sdk/models/shared/tenancydata.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/tenancydata.js +71 -0
- package/dist/commonjs/sdk/models/shared/tenancydata.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/tenuredata.d.ts +2 -17
- package/dist/commonjs/sdk/models/shared/tenuredata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/tenuredata.js +2 -8
- package/dist/commonjs/sdk/models/shared/tenuredata.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/sdk/models/operations/getlistingbyid.d.ts +66 -66
- package/dist/esm/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingbyid.js +72 -68
- package/dist/esm/sdk/models/operations/getlistingbyid.js.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts +66 -66
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingsbylocation.js +70 -70
- package/dist/esm/sdk/models/operations/getlistingsbylocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/querylistings.d.ts +66 -66
- package/dist/esm/sdk/models/operations/querylistings.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/querylistings.js +72 -68
- package/dist/esm/sdk/models/operations/querylistings.js.map +1 -1
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts +66 -66
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/querylistingsbysource.js +72 -68
- package/dist/esm/sdk/models/operations/querylistingsbysource.js.map +1 -1
- package/dist/esm/sdk/models/shared/builddata.d.ts +123 -0
- package/dist/esm/sdk/models/shared/builddata.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/builddata.js +82 -0
- package/dist/esm/sdk/models/shared/builddata.js.map +1 -0
- package/dist/esm/sdk/models/shared/chargeentry.d.ts +62 -0
- package/dist/esm/sdk/models/shared/chargeentry.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/chargeentry.js +43 -0
- package/dist/esm/sdk/models/shared/chargeentry.js.map +1 -0
- package/dist/esm/sdk/models/shared/chargehistory.d.ts +53 -0
- package/dist/esm/sdk/models/shared/chargehistory.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/chargehistory.js +40 -0
- package/dist/esm/sdk/models/shared/chargehistory.js.map +1 -0
- package/dist/esm/sdk/models/shared/counciltaxbanddetails.d.ts +52 -0
- package/dist/esm/sdk/models/shared/counciltaxbanddetails.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/counciltaxbanddetails.js +39 -0
- package/dist/esm/sdk/models/shared/counciltaxbanddetails.js.map +1 -0
- package/dist/esm/sdk/models/shared/counciltaxdata.d.ts +29 -8
- package/dist/esm/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/counciltaxdata.js +15 -6
- package/dist/esm/sdk/models/shared/counciltaxdata.js.map +1 -1
- package/dist/esm/sdk/models/shared/epcdata.d.ts +25 -10
- package/dist/esm/sdk/models/shared/epcdata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/epcdata.js +10 -4
- package/dist/esm/sdk/models/shared/epcdata.js.map +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +11 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +11 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/lease.d.ts +47 -0
- package/dist/esm/sdk/models/shared/lease.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/lease.js +38 -0
- package/dist/esm/sdk/models/shared/lease.js.map +1 -0
- package/dist/esm/sdk/models/shared/listing.d.ts +312 -0
- package/dist/esm/sdk/models/shared/listing.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/listing.js +236 -0
- package/dist/esm/sdk/models/shared/listing.js.map +1 -0
- package/dist/esm/sdk/models/shared/listingimage.d.ts +32 -0
- package/dist/esm/sdk/models/shared/listingimage.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/listingimage.js +31 -0
- package/dist/esm/sdk/models/shared/listingimage.js.map +1 -0
- package/dist/esm/sdk/models/shared/listingpricechange.d.ts +87 -0
- package/dist/esm/sdk/models/shared/listingpricechange.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/listingpricechange.js +63 -0
- package/dist/esm/sdk/models/shared/listingpricechange.js.map +1 -0
- package/dist/esm/sdk/models/shared/marketstatus.d.ts +209 -13
- package/dist/esm/sdk/models/shared/marketstatus.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/marketstatus.js +152 -10
- package/dist/esm/sdk/models/shared/marketstatus.js.map +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.d.ts +8 -8
- package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.js +12 -13
- package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -1
- package/dist/esm/sdk/models/shared/pricechange.d.ts +87 -0
- package/dist/esm/sdk/models/shared/pricechange.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/pricechange.js +62 -0
- package/dist/esm/sdk/models/shared/pricechange.js.map +1 -0
- package/dist/esm/sdk/models/shared/pricingdata.d.ts +9 -14
- package/dist/esm/sdk/models/shared/pricingdata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/pricingdata.js +10 -12
- package/dist/esm/sdk/models/shared/pricingdata.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts +6 -31
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.js +6 -16
- package/dist/esm/sdk/models/shared/propertyaddress.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertydata.d.ts +360 -189
- package/dist/esm/sdk/models/shared/propertydata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertydata.js +276 -81
- package/dist/esm/sdk/models/shared/propertydata.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts +8 -8
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js +12 -12
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts +9 -9
- package/dist/esm/sdk/models/shared/propertyqueryrequest.js +3 -3
- package/dist/esm/sdk/models/shared/propertyqueryrequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertytags.d.ts +42 -12
- package/dist/esm/sdk/models/shared/propertytags.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertytags.js +26 -14
- package/dist/esm/sdk/models/shared/propertytags.js.map +1 -1
- package/dist/esm/sdk/models/shared/refurbishmentdata.d.ts +67 -0
- package/dist/esm/sdk/models/shared/refurbishmentdata.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/refurbishmentdata.js +55 -0
- package/dist/esm/sdk/models/shared/refurbishmentdata.js.map +1 -0
- package/dist/esm/sdk/models/shared/roomdetails.d.ts +4 -9
- package/dist/esm/sdk/models/shared/roomdetails.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/roomdetails.js +4 -6
- package/dist/esm/sdk/models/shared/roomdetails.js.map +1 -1
- package/dist/esm/sdk/models/shared/salerecord.d.ts +8 -13
- package/dist/esm/sdk/models/shared/salerecord.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/salerecord.js +6 -8
- package/dist/esm/sdk/models/shared/salerecord.js.map +1 -1
- package/dist/esm/sdk/models/shared/tenancydata.d.ts +37 -0
- package/dist/esm/sdk/models/shared/tenancydata.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/tenancydata.js +33 -0
- package/dist/esm/sdk/models/shared/tenancydata.js.map +1 -0
- package/dist/esm/sdk/models/shared/tenuredata.d.ts +2 -17
- package/dist/esm/sdk/models/shared/tenuredata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/tenuredata.js +2 -8
- package/dist/esm/sdk/models/shared/tenuredata.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +4 -4
- package/src/sdk/models/operations/getlistingbyid.ts +140 -149
- package/src/sdk/models/operations/getlistingsbylocation.ts +138 -144
- package/src/sdk/models/operations/querylistings.ts +140 -146
- package/src/sdk/models/operations/querylistingsbysource.ts +141 -146
- package/src/sdk/models/shared/builddata.ts +213 -0
- package/src/sdk/models/shared/chargeentry.ts +109 -0
- package/src/sdk/models/shared/chargehistory.ts +101 -0
- package/src/sdk/models/shared/counciltaxbanddetails.ts +97 -0
- package/src/sdk/models/shared/counciltaxdata.ts +48 -14
- package/src/sdk/models/shared/epcdata.ts +35 -14
- package/src/sdk/models/shared/index.ts +11 -0
- package/src/sdk/models/shared/lease.ts +83 -0
- package/src/sdk/models/shared/listing.ts +505 -0
- package/src/sdk/models/shared/listingimage.ts +65 -0
- package/src/sdk/models/shared/listingpricechange.ts +130 -0
- package/src/sdk/models/shared/marketstatus.ts +316 -23
- package/src/sdk/models/shared/planningapplication.ts +18 -14
- package/src/sdk/models/shared/pricechange.ts +128 -0
- package/src/sdk/models/shared/pricingdata.ts +19 -26
- package/src/sdk/models/shared/propertyaddress.ts +12 -47
- package/src/sdk/models/shared/propertydata.ts +564 -115
- package/src/sdk/models/shared/propertymultipolygonareafilter.ts +19 -15
- package/src/sdk/models/shared/propertyqueryrequest.ts +3 -3
- package/src/sdk/models/shared/propertytags.ts +68 -26
- package/src/sdk/models/shared/refurbishmentdata.ts +102 -0
- package/src/sdk/models/shared/roomdetails.ts +8 -15
- package/src/sdk/models/shared/salerecord.ts +14 -21
- package/src/sdk/models/shared/tenancydata.ts +72 -0
- package/src/sdk/models/shared/tenuredata.ts +4 -25
|
@@ -8,37 +8,41 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
-
export const
|
|
11
|
+
export const PropertyMultiPolygonAreaFilterType = {
|
|
12
12
|
Multipolygon: "multipolygon",
|
|
13
13
|
} as const;
|
|
14
|
-
export type
|
|
14
|
+
export type PropertyMultiPolygonAreaFilterType = ClosedEnum<
|
|
15
|
+
typeof PropertyMultiPolygonAreaFilterType
|
|
16
|
+
>;
|
|
15
17
|
|
|
16
18
|
export type PropertyMultiPolygonAreaFilter = {
|
|
17
19
|
/**
|
|
18
20
|
* Array of multipolygon coordinates
|
|
19
21
|
*/
|
|
20
22
|
coordinates: Array<Array<Array<Array<number>>>>;
|
|
21
|
-
type:
|
|
23
|
+
type: PropertyMultiPolygonAreaFilterType;
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
/** @internal */
|
|
25
|
-
export const
|
|
26
|
-
|
|
27
|
-
);
|
|
27
|
+
export const PropertyMultiPolygonAreaFilterType$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof PropertyMultiPolygonAreaFilterType
|
|
29
|
+
> = z.nativeEnum(PropertyMultiPolygonAreaFilterType);
|
|
28
30
|
|
|
29
31
|
/** @internal */
|
|
30
|
-
export const
|
|
31
|
-
|
|
32
|
+
export const PropertyMultiPolygonAreaFilterType$outboundSchema: z.ZodNativeEnum<
|
|
33
|
+
typeof PropertyMultiPolygonAreaFilterType
|
|
34
|
+
> = PropertyMultiPolygonAreaFilterType$inboundSchema;
|
|
32
35
|
|
|
33
36
|
/**
|
|
34
37
|
* @internal
|
|
35
38
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
36
39
|
*/
|
|
37
|
-
export namespace
|
|
38
|
-
/** @deprecated use `
|
|
39
|
-
export const inboundSchema =
|
|
40
|
-
/** @deprecated use `
|
|
41
|
-
export const outboundSchema =
|
|
40
|
+
export namespace PropertyMultiPolygonAreaFilterType$ {
|
|
41
|
+
/** @deprecated use `PropertyMultiPolygonAreaFilterType$inboundSchema` instead. */
|
|
42
|
+
export const inboundSchema = PropertyMultiPolygonAreaFilterType$inboundSchema;
|
|
43
|
+
/** @deprecated use `PropertyMultiPolygonAreaFilterType$outboundSchema` instead. */
|
|
44
|
+
export const outboundSchema =
|
|
45
|
+
PropertyMultiPolygonAreaFilterType$outboundSchema;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
/** @internal */
|
|
@@ -48,7 +52,7 @@ export const PropertyMultiPolygonAreaFilter$inboundSchema: z.ZodType<
|
|
|
48
52
|
unknown
|
|
49
53
|
> = z.object({
|
|
50
54
|
coordinates: z.array(z.array(z.array(z.array(z.number())))),
|
|
51
|
-
type:
|
|
55
|
+
type: PropertyMultiPolygonAreaFilterType$inboundSchema,
|
|
52
56
|
});
|
|
53
57
|
|
|
54
58
|
/** @internal */
|
|
@@ -64,7 +68,7 @@ export const PropertyMultiPolygonAreaFilter$outboundSchema: z.ZodType<
|
|
|
64
68
|
PropertyMultiPolygonAreaFilter
|
|
65
69
|
> = z.object({
|
|
66
70
|
coordinates: z.array(z.array(z.array(z.array(z.number())))),
|
|
67
|
-
type:
|
|
71
|
+
type: PropertyMultiPolygonAreaFilterType$outboundSchema,
|
|
68
72
|
});
|
|
69
73
|
|
|
70
74
|
/**
|
|
@@ -39,13 +39,13 @@ export const Field = {
|
|
|
39
39
|
PricingCurrentSale: "pricing.currentSale",
|
|
40
40
|
PricingCurrentRent: "pricing.currentRent",
|
|
41
41
|
PricingPredictedPrice: "pricing.predictedPrice",
|
|
42
|
-
|
|
42
|
+
MarketStatusPricePerSqft: "marketStatus.pricePerSqft",
|
|
43
|
+
MarketStatusPricePerSqm: "marketStatus.pricePerSqm",
|
|
43
44
|
RoomDetailsBeds: "roomDetails.beds",
|
|
44
45
|
RoomDetailsBaths: "roomDetails.baths",
|
|
45
|
-
RoomDetailsReceptions: "roomDetails.receptions",
|
|
46
46
|
BuildTotalFloorArea: "build.totalFloorArea",
|
|
47
47
|
BuildPlotSize: "build.plotSize",
|
|
48
|
-
|
|
48
|
+
BuildConstructionAgeMidYear: "build.constructionAge.midYear",
|
|
49
49
|
Score: "_score",
|
|
50
50
|
Doc: "_doc",
|
|
51
51
|
} as const;
|
|
@@ -8,34 +8,58 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type PropertyTags = {
|
|
11
|
+
/**
|
|
12
|
+
* Property has agricultural tie restriction
|
|
13
|
+
*/
|
|
14
|
+
agriculturalTie: boolean;
|
|
11
15
|
/**
|
|
12
16
|
* Is this property being sold at auction
|
|
13
17
|
*/
|
|
14
|
-
auction
|
|
18
|
+
auction: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Below Market Value property
|
|
21
|
+
*/
|
|
22
|
+
bmv: boolean;
|
|
15
23
|
/**
|
|
16
24
|
* Cash buyers only
|
|
17
25
|
*/
|
|
18
|
-
|
|
26
|
+
cashBuyers: boolean;
|
|
19
27
|
/**
|
|
20
28
|
* Is this property chain free
|
|
21
29
|
*/
|
|
22
|
-
chainFree
|
|
30
|
+
chainFree: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* House in Multiple Occupation
|
|
33
|
+
*/
|
|
34
|
+
hmo: boolean;
|
|
23
35
|
/**
|
|
24
|
-
*
|
|
36
|
+
* Property in negative equity
|
|
25
37
|
*/
|
|
26
|
-
|
|
38
|
+
negativeEquity: boolean;
|
|
27
39
|
/**
|
|
28
|
-
* Is this a new build property
|
|
40
|
+
* Is this a new build scheme property
|
|
29
41
|
*/
|
|
30
|
-
|
|
42
|
+
newBuildScheme: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Quick sale property
|
|
45
|
+
*/
|
|
46
|
+
quickSale: boolean;
|
|
31
47
|
/**
|
|
32
48
|
* Is this a retirement property
|
|
33
49
|
*/
|
|
34
|
-
retirement
|
|
50
|
+
retirement: boolean;
|
|
35
51
|
/**
|
|
36
52
|
* Is this a shared ownership property
|
|
37
53
|
*/
|
|
38
|
-
sharedOwnership
|
|
54
|
+
sharedOwnership: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Property is slow to sell
|
|
57
|
+
*/
|
|
58
|
+
slowToSell: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Property is unmodernised
|
|
61
|
+
*/
|
|
62
|
+
unmodernised: boolean;
|
|
39
63
|
};
|
|
40
64
|
|
|
41
65
|
/** @internal */
|
|
@@ -44,24 +68,36 @@ export const PropertyTags$inboundSchema: z.ZodType<
|
|
|
44
68
|
z.ZodTypeDef,
|
|
45
69
|
unknown
|
|
46
70
|
> = z.object({
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
71
|
+
agriculturalTie: z.boolean(),
|
|
72
|
+
auction: z.boolean(),
|
|
73
|
+
bmv: z.boolean(),
|
|
74
|
+
cashBuyers: z.boolean(),
|
|
75
|
+
chainFree: z.boolean(),
|
|
76
|
+
hmo: z.boolean(),
|
|
77
|
+
negativeEquity: z.boolean(),
|
|
78
|
+
newBuildScheme: z.boolean(),
|
|
79
|
+
quickSale: z.boolean(),
|
|
80
|
+
retirement: z.boolean(),
|
|
81
|
+
sharedOwnership: z.boolean(),
|
|
82
|
+
slowToSell: z.boolean(),
|
|
83
|
+
unmodernised: z.boolean(),
|
|
54
84
|
});
|
|
55
85
|
|
|
56
86
|
/** @internal */
|
|
57
87
|
export type PropertyTags$Outbound = {
|
|
88
|
+
agriculturalTie: boolean;
|
|
58
89
|
auction: boolean;
|
|
59
|
-
|
|
90
|
+
bmv: boolean;
|
|
91
|
+
cashBuyers: boolean;
|
|
60
92
|
chainFree: boolean;
|
|
61
|
-
|
|
62
|
-
|
|
93
|
+
hmo: boolean;
|
|
94
|
+
negativeEquity: boolean;
|
|
95
|
+
newBuildScheme: boolean;
|
|
96
|
+
quickSale: boolean;
|
|
63
97
|
retirement: boolean;
|
|
64
98
|
sharedOwnership: boolean;
|
|
99
|
+
slowToSell: boolean;
|
|
100
|
+
unmodernised: boolean;
|
|
65
101
|
};
|
|
66
102
|
|
|
67
103
|
/** @internal */
|
|
@@ -70,13 +106,19 @@ export const PropertyTags$outboundSchema: z.ZodType<
|
|
|
70
106
|
z.ZodTypeDef,
|
|
71
107
|
PropertyTags
|
|
72
108
|
> = z.object({
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
109
|
+
agriculturalTie: z.boolean(),
|
|
110
|
+
auction: z.boolean(),
|
|
111
|
+
bmv: z.boolean(),
|
|
112
|
+
cashBuyers: z.boolean(),
|
|
113
|
+
chainFree: z.boolean(),
|
|
114
|
+
hmo: z.boolean(),
|
|
115
|
+
negativeEquity: z.boolean(),
|
|
116
|
+
newBuildScheme: z.boolean(),
|
|
117
|
+
quickSale: z.boolean(),
|
|
118
|
+
retirement: z.boolean(),
|
|
119
|
+
sharedOwnership: z.boolean(),
|
|
120
|
+
slowToSell: z.boolean(),
|
|
121
|
+
unmodernised: z.boolean(),
|
|
80
122
|
});
|
|
81
123
|
|
|
82
124
|
/**
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Size of refurbishment required
|
|
13
|
+
*/
|
|
14
|
+
export const RefurbSize = {
|
|
15
|
+
Small: "small",
|
|
16
|
+
Medium: "medium",
|
|
17
|
+
Large: "large",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Size of refurbishment required
|
|
21
|
+
*/
|
|
22
|
+
export type RefurbSize = ClosedEnum<typeof RefurbSize>;
|
|
23
|
+
|
|
24
|
+
export type RefurbishmentData = {
|
|
25
|
+
/**
|
|
26
|
+
* Size of refurbishment required
|
|
27
|
+
*/
|
|
28
|
+
refurbSize?: RefurbSize | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const RefurbSize$inboundSchema: z.ZodNativeEnum<typeof RefurbSize> = z
|
|
33
|
+
.nativeEnum(RefurbSize);
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const RefurbSize$outboundSchema: z.ZodNativeEnum<typeof RefurbSize> =
|
|
37
|
+
RefurbSize$inboundSchema;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export namespace RefurbSize$ {
|
|
44
|
+
/** @deprecated use `RefurbSize$inboundSchema` instead. */
|
|
45
|
+
export const inboundSchema = RefurbSize$inboundSchema;
|
|
46
|
+
/** @deprecated use `RefurbSize$outboundSchema` instead. */
|
|
47
|
+
export const outboundSchema = RefurbSize$outboundSchema;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const RefurbishmentData$inboundSchema: z.ZodType<
|
|
52
|
+
RefurbishmentData,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
unknown
|
|
55
|
+
> = z.object({
|
|
56
|
+
refurbSize: z.nullable(RefurbSize$inboundSchema).optional(),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export type RefurbishmentData$Outbound = {
|
|
61
|
+
refurbSize?: string | null | undefined;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const RefurbishmentData$outboundSchema: z.ZodType<
|
|
66
|
+
RefurbishmentData$Outbound,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
RefurbishmentData
|
|
69
|
+
> = z.object({
|
|
70
|
+
refurbSize: z.nullable(RefurbSize$outboundSchema).optional(),
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
76
|
+
*/
|
|
77
|
+
export namespace RefurbishmentData$ {
|
|
78
|
+
/** @deprecated use `RefurbishmentData$inboundSchema` instead. */
|
|
79
|
+
export const inboundSchema = RefurbishmentData$inboundSchema;
|
|
80
|
+
/** @deprecated use `RefurbishmentData$outboundSchema` instead. */
|
|
81
|
+
export const outboundSchema = RefurbishmentData$outboundSchema;
|
|
82
|
+
/** @deprecated use `RefurbishmentData$Outbound` instead. */
|
|
83
|
+
export type Outbound = RefurbishmentData$Outbound;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function refurbishmentDataToJSON(
|
|
87
|
+
refurbishmentData: RefurbishmentData,
|
|
88
|
+
): string {
|
|
89
|
+
return JSON.stringify(
|
|
90
|
+
RefurbishmentData$outboundSchema.parse(refurbishmentData),
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function refurbishmentDataFromJSON(
|
|
95
|
+
jsonString: string,
|
|
96
|
+
): SafeParseResult<RefurbishmentData, SDKValidationError> {
|
|
97
|
+
return safeParse(
|
|
98
|
+
jsonString,
|
|
99
|
+
(x) => RefurbishmentData$inboundSchema.parse(JSON.parse(x)),
|
|
100
|
+
`Failed to parse 'RefurbishmentData' from JSON`,
|
|
101
|
+
);
|
|
102
|
+
}
|
|
@@ -11,15 +11,11 @@ export type RoomDetails = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Number of bathrooms
|
|
13
13
|
*/
|
|
14
|
-
baths?: number | undefined;
|
|
14
|
+
baths?: number | null | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* Number of bedrooms
|
|
17
17
|
*/
|
|
18
|
-
beds?: number | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Number of reception rooms
|
|
21
|
-
*/
|
|
22
|
-
receptions?: number | undefined;
|
|
18
|
+
beds?: number | null | undefined;
|
|
23
19
|
};
|
|
24
20
|
|
|
25
21
|
/** @internal */
|
|
@@ -28,16 +24,14 @@ export const RoomDetails$inboundSchema: z.ZodType<
|
|
|
28
24
|
z.ZodTypeDef,
|
|
29
25
|
unknown
|
|
30
26
|
> = z.object({
|
|
31
|
-
baths: z.number().optional(),
|
|
32
|
-
beds: z.number().optional(),
|
|
33
|
-
receptions: z.number().optional(),
|
|
27
|
+
baths: z.nullable(z.number()).optional(),
|
|
28
|
+
beds: z.nullable(z.number()).optional(),
|
|
34
29
|
});
|
|
35
30
|
|
|
36
31
|
/** @internal */
|
|
37
32
|
export type RoomDetails$Outbound = {
|
|
38
|
-
baths?: number | undefined;
|
|
39
|
-
beds?: number | undefined;
|
|
40
|
-
receptions?: number | undefined;
|
|
33
|
+
baths?: number | null | undefined;
|
|
34
|
+
beds?: number | null | undefined;
|
|
41
35
|
};
|
|
42
36
|
|
|
43
37
|
/** @internal */
|
|
@@ -46,9 +40,8 @@ export const RoomDetails$outboundSchema: z.ZodType<
|
|
|
46
40
|
z.ZodTypeDef,
|
|
47
41
|
RoomDetails
|
|
48
42
|
> = z.object({
|
|
49
|
-
baths: z.number().optional(),
|
|
50
|
-
beds: z.number().optional(),
|
|
51
|
-
receptions: z.number().optional(),
|
|
43
|
+
baths: z.nullable(z.number()).optional(),
|
|
44
|
+
beds: z.nullable(z.number()).optional(),
|
|
52
45
|
});
|
|
53
46
|
|
|
54
47
|
/**
|
|
@@ -9,21 +9,17 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
9
9
|
|
|
10
10
|
export type SaleRecord = {
|
|
11
11
|
/**
|
|
12
|
-
* Sale
|
|
13
|
-
*/
|
|
14
|
-
date: string;
|
|
15
|
-
/**
|
|
16
|
-
* Was a new build at time of sale
|
|
12
|
+
* Sale price in pence
|
|
17
13
|
*/
|
|
18
|
-
|
|
14
|
+
amount: number;
|
|
19
15
|
/**
|
|
20
|
-
* Sale
|
|
16
|
+
* Sale completion date
|
|
21
17
|
*/
|
|
22
|
-
|
|
18
|
+
date: Date;
|
|
23
19
|
/**
|
|
24
|
-
*
|
|
20
|
+
* Source identifier for this sale record
|
|
25
21
|
*/
|
|
26
|
-
|
|
22
|
+
sourceId: string;
|
|
27
23
|
};
|
|
28
24
|
|
|
29
25
|
/** @internal */
|
|
@@ -32,18 +28,16 @@ export const SaleRecord$inboundSchema: z.ZodType<
|
|
|
32
28
|
z.ZodTypeDef,
|
|
33
29
|
unknown
|
|
34
30
|
> = z.object({
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
propertyType: z.string().optional(),
|
|
31
|
+
amount: z.number(),
|
|
32
|
+
date: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
33
|
+
sourceId: z.string(),
|
|
39
34
|
});
|
|
40
35
|
|
|
41
36
|
/** @internal */
|
|
42
37
|
export type SaleRecord$Outbound = {
|
|
38
|
+
amount: number;
|
|
43
39
|
date: string;
|
|
44
|
-
|
|
45
|
-
price: number;
|
|
46
|
-
propertyType?: string | undefined;
|
|
40
|
+
sourceId: string;
|
|
47
41
|
};
|
|
48
42
|
|
|
49
43
|
/** @internal */
|
|
@@ -52,10 +46,9 @@ export const SaleRecord$outboundSchema: z.ZodType<
|
|
|
52
46
|
z.ZodTypeDef,
|
|
53
47
|
SaleRecord
|
|
54
48
|
> = z.object({
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
propertyType: z.string().optional(),
|
|
49
|
+
amount: z.number(),
|
|
50
|
+
date: z.date().transform(v => v.toISOString()),
|
|
51
|
+
sourceId: z.string(),
|
|
59
52
|
});
|
|
60
53
|
|
|
61
54
|
/**
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type TenancyData = {
|
|
11
|
+
/**
|
|
12
|
+
* Confidence score for tenancy status
|
|
13
|
+
*/
|
|
14
|
+
confidenceScore: number;
|
|
15
|
+
/**
|
|
16
|
+
* Whether property is currently tenanted
|
|
17
|
+
*/
|
|
18
|
+
isTenanted?: boolean | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const TenancyData$inboundSchema: z.ZodType<
|
|
23
|
+
TenancyData,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
confidenceScore: z.number(),
|
|
28
|
+
isTenanted: z.nullable(z.boolean()).optional(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type TenancyData$Outbound = {
|
|
33
|
+
confidenceScore: number;
|
|
34
|
+
isTenanted?: boolean | null | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const TenancyData$outboundSchema: z.ZodType<
|
|
39
|
+
TenancyData$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
TenancyData
|
|
42
|
+
> = z.object({
|
|
43
|
+
confidenceScore: z.number(),
|
|
44
|
+
isTenanted: z.nullable(z.boolean()).optional(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
+
*/
|
|
51
|
+
export namespace TenancyData$ {
|
|
52
|
+
/** @deprecated use `TenancyData$inboundSchema` instead. */
|
|
53
|
+
export const inboundSchema = TenancyData$inboundSchema;
|
|
54
|
+
/** @deprecated use `TenancyData$outboundSchema` instead. */
|
|
55
|
+
export const outboundSchema = TenancyData$outboundSchema;
|
|
56
|
+
/** @deprecated use `TenancyData$Outbound` instead. */
|
|
57
|
+
export type Outbound = TenancyData$Outbound;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function tenancyDataToJSON(tenancyData: TenancyData): string {
|
|
61
|
+
return JSON.stringify(TenancyData$outboundSchema.parse(tenancyData));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function tenancyDataFromJSON(
|
|
65
|
+
jsonString: string,
|
|
66
|
+
): SafeParseResult<TenancyData, SDKValidationError> {
|
|
67
|
+
return safeParse(
|
|
68
|
+
jsonString,
|
|
69
|
+
(x) => TenancyData$inboundSchema.parse(JSON.parse(x)),
|
|
70
|
+
`Failed to parse 'TenancyData' from JSON`,
|
|
71
|
+
);
|
|
72
|
+
}
|
|
@@ -22,22 +22,10 @@ export const TenureDataType = {
|
|
|
22
22
|
export type TenureDataType = ClosedEnum<typeof TenureDataType>;
|
|
23
23
|
|
|
24
24
|
export type TenureData = {
|
|
25
|
-
/**
|
|
26
|
-
* Annual ground rent in pence
|
|
27
|
-
*/
|
|
28
|
-
groundRent?: number | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* Years remaining on lease
|
|
31
|
-
*/
|
|
32
|
-
leaseYearsRemaining?: number | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Annual service charge in pence
|
|
35
|
-
*/
|
|
36
|
-
serviceCharge?: number | undefined;
|
|
37
25
|
/**
|
|
38
26
|
* Property tenure type
|
|
39
27
|
*/
|
|
40
|
-
type?: TenureDataType | undefined;
|
|
28
|
+
type?: TenureDataType | null | undefined;
|
|
41
29
|
};
|
|
42
30
|
|
|
43
31
|
/** @internal */
|
|
@@ -67,18 +55,12 @@ export const TenureData$inboundSchema: z.ZodType<
|
|
|
67
55
|
z.ZodTypeDef,
|
|
68
56
|
unknown
|
|
69
57
|
> = z.object({
|
|
70
|
-
|
|
71
|
-
leaseYearsRemaining: z.number().optional(),
|
|
72
|
-
serviceCharge: z.number().optional(),
|
|
73
|
-
type: TenureDataType$inboundSchema.optional(),
|
|
58
|
+
type: z.nullable(TenureDataType$inboundSchema).optional(),
|
|
74
59
|
});
|
|
75
60
|
|
|
76
61
|
/** @internal */
|
|
77
62
|
export type TenureData$Outbound = {
|
|
78
|
-
|
|
79
|
-
leaseYearsRemaining?: number | undefined;
|
|
80
|
-
serviceCharge?: number | undefined;
|
|
81
|
-
type?: string | undefined;
|
|
63
|
+
type?: string | null | undefined;
|
|
82
64
|
};
|
|
83
65
|
|
|
84
66
|
/** @internal */
|
|
@@ -87,10 +69,7 @@ export const TenureData$outboundSchema: z.ZodType<
|
|
|
87
69
|
z.ZodTypeDef,
|
|
88
70
|
TenureData
|
|
89
71
|
> = z.object({
|
|
90
|
-
|
|
91
|
-
leaseYearsRemaining: z.number().optional(),
|
|
92
|
-
serviceCharge: z.number().optional(),
|
|
93
|
-
type: TenureDataType$outboundSchema.optional(),
|
|
72
|
+
type: z.nullable(TenureDataType$outboundSchema).optional(),
|
|
94
73
|
});
|
|
95
74
|
|
|
96
75
|
/**
|