@vepler/sdk 6.0.0 → 6.8.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/funcs/safetyGetGeographyMetrics.d.ts +1 -1
- package/dist/commonjs/funcs/safetyGetGeographyMetrics.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbyid.js +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbyid.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbysource.js +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingbysource.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js +1 -1
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistings.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/querylistings.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistings.js +1 -1
- package/dist/commonjs/sdk/models/operations/querylistings.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.js +1 -1
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts +24 -0
- package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/resolveaddress.js +12 -1
- package/dist/commonjs/sdk/models/operations/resolveaddress.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/addressresolverequest.d.ts +5 -0
- package/dist/commonjs/sdk/models/shared/addressresolverequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/addressresolverequest.js +1 -0
- package/dist/commonjs/sdk/models/shared/addressresolverequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/advancedlisting.d.ts +2 -2
- package/dist/commonjs/sdk/models/shared/advancedlisting.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/advancedlisting.js +1 -1
- package/dist/commonjs/sdk/models/shared/advancedlisting.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/geographymetricsrow.d.ts +5 -1
- package/dist/commonjs/sdk/models/shared/geographymetricsrow.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/geographymetricsrow.js +1 -0
- package/dist/commonjs/sdk/models/shared/geographymetricsrow.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/imagecondition.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/imagecondition.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagecondition.js +52 -0
- package/dist/commonjs/sdk/models/shared/imagecondition.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagedocumentclass.d.ts +22 -0
- package/dist/commonjs/sdk/models/shared/imagedocumentclass.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagedocumentclass.js +56 -0
- package/dist/commonjs/sdk/models/shared/imagedocumentclass.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagequality.d.ts +12 -0
- package/dist/commonjs/sdk/models/shared/imagequality.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagequality.js +49 -0
- package/dist/commonjs/sdk/models/shared/imagequality.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagescene.d.ts +62 -0
- package/dist/commonjs/sdk/models/shared/imagescene.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagescene.js +96 -0
- package/dist/commonjs/sdk/models/shared/imagescene.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagescenelabel.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/imagescenelabel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/imagescenelabel.js +52 -0
- package/dist/commonjs/sdk/models/shared/imagescenelabel.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +8 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +8 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/listing.d.ts +120 -2
- package/dist/commonjs/sdk/models/shared/listing.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/listing.js +149 -2
- package/dist/commonjs/sdk/models/shared/listing.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/listingimage.d.ts +52 -0
- package/dist/commonjs/sdk/models/shared/listingimage.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/listingimage.js +31 -1
- package/dist/commonjs/sdk/models/shared/listingimage.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/mortgagecharge.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/mortgagecharge.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/mortgagecharge.js +1 -0
- package/dist/commonjs/sdk/models/shared/mortgagecharge.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/observedfeature.d.ts +21 -0
- package/dist/commonjs/sdk/models/shared/observedfeature.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/observedfeature.js +52 -0
- package/dist/commonjs/sdk/models/shared/observedfeature.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/othercharge.d.ts +8 -1
- package/dist/commonjs/sdk/models/shared/othercharge.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/othercharge.js +1 -0
- package/dist/commonjs/sdk/models/shared/othercharge.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlecovenant.d.ts +7 -0
- package/dist/commonjs/sdk/models/shared/titlecovenant.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlecovenant.js +1 -0
- package/dist/commonjs/sdk/models/shared/titlecovenant.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/titleextractionpayload.d.ts +14 -1
- package/dist/commonjs/sdk/models/shared/titleextractionpayload.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/titleextractionpayload.js +4 -0
- package/dist/commonjs/sdk/models/shared/titleextractionpayload.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlenotice.d.ts +7 -0
- package/dist/commonjs/sdk/models/shared/titlenotice.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlenotice.js +1 -0
- package/dist/commonjs/sdk/models/shared/titlenotice.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlepricepaid.d.ts +29 -0
- package/dist/commonjs/sdk/models/shared/titlepricepaid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/titlepricepaid.js +54 -0
- package/dist/commonjs/sdk/models/shared/titlepricepaid.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/titlepropertyright.d.ts +50 -0
- package/dist/commonjs/sdk/models/shared/titlepropertyright.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/titlepropertyright.js +68 -0
- package/dist/commonjs/sdk/models/shared/titlepropertyright.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/titlerestriction.d.ts +7 -0
- package/dist/commonjs/sdk/models/shared/titlerestriction.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlerestriction.js +1 -0
- package/dist/commonjs/sdk/models/shared/titlerestriction.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlesummarycounts.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/titlesummarycounts.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/titlesummarycounts.js +1 -0
- package/dist/commonjs/sdk/models/shared/titlesummarycounts.js.map +1 -1
- package/dist/commonjs/sdk/safety.d.ts +1 -1
- package/dist/commonjs/sdk/safety.js +1 -1
- package/dist/esm/funcs/safetyGetGeographyMetrics.d.ts +1 -1
- package/dist/esm/funcs/safetyGetGeographyMetrics.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingbyid.d.ts +2 -2
- package/dist/esm/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingbyid.js +1 -1
- package/dist/esm/sdk/models/operations/getlistingbyid.js.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingbysource.d.ts +2 -2
- package/dist/esm/sdk/models/operations/getlistingbysource.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingbysource.js +1 -1
- package/dist/esm/sdk/models/operations/getlistingbysource.js.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts +2 -2
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getlistingsbylocation.js +1 -1
- package/dist/esm/sdk/models/operations/getlistingsbylocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/querylistings.d.ts +2 -2
- package/dist/esm/sdk/models/operations/querylistings.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/querylistings.js +1 -1
- package/dist/esm/sdk/models/operations/querylistings.js.map +1 -1
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts +2 -2
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/querylistingsbysource.js +1 -1
- package/dist/esm/sdk/models/operations/querylistingsbysource.js.map +1 -1
- package/dist/esm/sdk/models/operations/resolveaddress.d.ts +24 -0
- package/dist/esm/sdk/models/operations/resolveaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/resolveaddress.js +10 -0
- package/dist/esm/sdk/models/operations/resolveaddress.js.map +1 -1
- package/dist/esm/sdk/models/shared/addressresolverequest.d.ts +5 -0
- package/dist/esm/sdk/models/shared/addressresolverequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/addressresolverequest.js +1 -0
- package/dist/esm/sdk/models/shared/addressresolverequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/advancedlisting.d.ts +2 -2
- package/dist/esm/sdk/models/shared/advancedlisting.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/advancedlisting.js +1 -1
- package/dist/esm/sdk/models/shared/advancedlisting.js.map +1 -1
- package/dist/esm/sdk/models/shared/geographymetricsrow.d.ts +5 -1
- package/dist/esm/sdk/models/shared/geographymetricsrow.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/geographymetricsrow.js +1 -0
- package/dist/esm/sdk/models/shared/geographymetricsrow.js.map +1 -1
- package/dist/esm/sdk/models/shared/imagecondition.d.ts +18 -0
- package/dist/esm/sdk/models/shared/imagecondition.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/imagecondition.js +16 -0
- package/dist/esm/sdk/models/shared/imagecondition.js.map +1 -0
- package/dist/esm/sdk/models/shared/imagedocumentclass.d.ts +22 -0
- package/dist/esm/sdk/models/shared/imagedocumentclass.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/imagedocumentclass.js +20 -0
- package/dist/esm/sdk/models/shared/imagedocumentclass.js.map +1 -0
- package/dist/esm/sdk/models/shared/imagequality.d.ts +12 -0
- package/dist/esm/sdk/models/shared/imagequality.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/imagequality.js +13 -0
- package/dist/esm/sdk/models/shared/imagequality.js.map +1 -0
- package/dist/esm/sdk/models/shared/imagescene.d.ts +62 -0
- package/dist/esm/sdk/models/shared/imagescene.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/imagescene.js +60 -0
- package/dist/esm/sdk/models/shared/imagescene.js.map +1 -0
- package/dist/esm/sdk/models/shared/imagescenelabel.d.ts +18 -0
- package/dist/esm/sdk/models/shared/imagescenelabel.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/imagescenelabel.js +15 -0
- package/dist/esm/sdk/models/shared/imagescenelabel.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +8 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +8 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/listing.d.ts +120 -2
- package/dist/esm/sdk/models/shared/listing.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/listing.js +144 -1
- package/dist/esm/sdk/models/shared/listing.js.map +1 -1
- package/dist/esm/sdk/models/shared/listingimage.d.ts +52 -0
- package/dist/esm/sdk/models/shared/listingimage.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/listingimage.js +29 -0
- package/dist/esm/sdk/models/shared/listingimage.js.map +1 -1
- package/dist/esm/sdk/models/shared/mortgagecharge.d.ts +4 -0
- package/dist/esm/sdk/models/shared/mortgagecharge.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/mortgagecharge.js +1 -0
- package/dist/esm/sdk/models/shared/mortgagecharge.js.map +1 -1
- package/dist/esm/sdk/models/shared/observedfeature.d.ts +21 -0
- package/dist/esm/sdk/models/shared/observedfeature.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/observedfeature.js +15 -0
- package/dist/esm/sdk/models/shared/observedfeature.js.map +1 -0
- package/dist/esm/sdk/models/shared/othercharge.d.ts +8 -1
- package/dist/esm/sdk/models/shared/othercharge.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/othercharge.js +1 -0
- package/dist/esm/sdk/models/shared/othercharge.js.map +1 -1
- package/dist/esm/sdk/models/shared/titlecovenant.d.ts +7 -0
- package/dist/esm/sdk/models/shared/titlecovenant.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/titlecovenant.js +1 -0
- package/dist/esm/sdk/models/shared/titlecovenant.js.map +1 -1
- package/dist/esm/sdk/models/shared/titleextractionpayload.d.ts +14 -1
- package/dist/esm/sdk/models/shared/titleextractionpayload.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/titleextractionpayload.js +4 -0
- package/dist/esm/sdk/models/shared/titleextractionpayload.js.map +1 -1
- package/dist/esm/sdk/models/shared/titlenotice.d.ts +7 -0
- package/dist/esm/sdk/models/shared/titlenotice.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/titlenotice.js +1 -0
- package/dist/esm/sdk/models/shared/titlenotice.js.map +1 -1
- package/dist/esm/sdk/models/shared/titlepricepaid.d.ts +29 -0
- package/dist/esm/sdk/models/shared/titlepricepaid.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/titlepricepaid.js +17 -0
- package/dist/esm/sdk/models/shared/titlepricepaid.js.map +1 -0
- package/dist/esm/sdk/models/shared/titlepropertyright.d.ts +50 -0
- package/dist/esm/sdk/models/shared/titlepropertyright.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/titlepropertyright.js +31 -0
- package/dist/esm/sdk/models/shared/titlepropertyright.js.map +1 -0
- package/dist/esm/sdk/models/shared/titlerestriction.d.ts +7 -0
- package/dist/esm/sdk/models/shared/titlerestriction.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/titlerestriction.js +1 -0
- package/dist/esm/sdk/models/shared/titlerestriction.js.map +1 -1
- package/dist/esm/sdk/models/shared/titlesummarycounts.d.ts +1 -0
- package/dist/esm/sdk/models/shared/titlesummarycounts.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/titlesummarycounts.js +1 -0
- package/dist/esm/sdk/models/shared/titlesummarycounts.js.map +1 -1
- package/dist/esm/sdk/safety.d.ts +1 -1
- package/dist/esm/sdk/safety.js +1 -1
- package/package.json +1 -1
- package/src/funcs/safetyGetGeographyMetrics.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/sdk/models/operations/getlistingbyid.ts +5 -5
- package/src/sdk/models/operations/getlistingbysource.ts +5 -5
- package/src/sdk/models/operations/getlistingsbylocation.ts +5 -5
- package/src/sdk/models/operations/querylistings.ts +5 -5
- package/src/sdk/models/operations/querylistingsbysource.ts +5 -5
- package/src/sdk/models/operations/resolveaddress.ts +44 -0
- package/src/sdk/models/shared/addressresolverequest.ts +6 -0
- package/src/sdk/models/shared/advancedlisting.ts +4 -4
- package/src/sdk/models/shared/geographymetricsrow.ts +6 -1
- package/src/sdk/models/shared/imagecondition.ts +28 -0
- package/src/sdk/models/shared/imagedocumentclass.ts +32 -0
- package/src/sdk/models/shared/imagequality.ts +22 -0
- package/src/sdk/models/shared/imagescene.ts +72 -0
- package/src/sdk/models/shared/imagescenelabel.ts +40 -0
- package/src/sdk/models/shared/index.ts +8 -0
- package/src/sdk/models/shared/listing.ts +305 -4
- package/src/sdk/models/shared/listingimage.ts +85 -0
- package/src/sdk/models/shared/mortgagecharge.ts +5 -0
- package/src/sdk/models/shared/observedfeature.ts +44 -0
- package/src/sdk/models/shared/othercharge.ts +9 -1
- package/src/sdk/models/shared/titlecovenant.ts +8 -0
- package/src/sdk/models/shared/titleextractionpayload.ts +22 -1
- package/src/sdk/models/shared/titlenotice.ts +8 -0
- package/src/sdk/models/shared/titlepricepaid.ts +54 -0
- package/src/sdk/models/shared/titlepropertyright.ts +81 -0
- package/src/sdk/models/shared/titlerestriction.ts +8 -0
- package/src/sdk/models/shared/titlesummarycounts.ts +2 -0
- package/src/sdk/safety.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titlenotice.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlenotice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAC8B,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"titlenotice.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlenotice.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CAC8B,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,WAAW,EACX,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAMlD"}
|
|
@@ -16,6 +16,7 @@ export const NoticeType$inboundSchema = openEnums.inboundSchema(NoticeType);
|
|
|
16
16
|
/** @internal */
|
|
17
17
|
export const TitleNotice$inboundSchema = z.object({
|
|
18
18
|
date: z.nullable(z.string()),
|
|
19
|
+
instrumentDate: z.nullable(z.string()),
|
|
19
20
|
noticeType: NoticeType$inboundSchema,
|
|
20
21
|
partyName: z.nullable(z.string()),
|
|
21
22
|
rawText: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titlenotice.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlenotice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAKlD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,YAAY;CAChB,CAAC;
|
|
1
|
+
{"version":3,"file":"titlenotice.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlenotice.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAKlD,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,YAAY;CAChB,CAAC;AA6BX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wBAAwB,GAIjC,SAAS,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;AAExC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GAIlC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,UAAU,EAAE,wBAAwB;IACpC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,mBAAmB,CACjC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* The price-paid entry from the Proprietorship Register. Null when the register records none.
|
|
6
|
+
*/
|
|
7
|
+
export type TitlePricePaid = {
|
|
8
|
+
/**
|
|
9
|
+
* The price as stated in the register, in whole pounds.
|
|
10
|
+
*/
|
|
11
|
+
amountPounds: number;
|
|
12
|
+
/**
|
|
13
|
+
* The date the price is stated to have been paid on. Null when the entry states no date (a leasehold grant price, for instance).
|
|
14
|
+
*/
|
|
15
|
+
date: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* The entry, quoted verbatim from the register.
|
|
18
|
+
*/
|
|
19
|
+
rawText: string;
|
|
20
|
+
/**
|
|
21
|
+
* The date the entry was made in the register (the entry's `(dd.mm.yyyy)` prefix). Null when the entry carries no registration date.
|
|
22
|
+
*/
|
|
23
|
+
registrationDate: string | null;
|
|
24
|
+
sourceEntryRef: string;
|
|
25
|
+
};
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const TitlePricePaid$inboundSchema: z.ZodType<TitlePricePaid, z.ZodTypeDef, unknown>;
|
|
28
|
+
export declare function titlePricePaidFromJSON(jsonString: string): SafeParseResult<TitlePricePaid, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=titlepricepaid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"titlepricepaid.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlepricepaid.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
6
|
+
/** @internal */
|
|
7
|
+
export const TitlePricePaid$inboundSchema = z.object({
|
|
8
|
+
amountPounds: z.number().int(),
|
|
9
|
+
date: z.nullable(z.string()),
|
|
10
|
+
rawText: z.string(),
|
|
11
|
+
registrationDate: z.nullable(z.string()),
|
|
12
|
+
sourceEntryRef: z.string(),
|
|
13
|
+
});
|
|
14
|
+
export function titlePricePaidFromJSON(jsonString) {
|
|
15
|
+
return safeParse(jsonString, (x) => TitlePricePaid$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TitlePricePaid' from JSON`);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=titlepricepaid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"titlepricepaid.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlepricepaid.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AA2BpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* `benefit`: a right this land enjoys over other land. `burden`: a right other land enjoys over this land. `both`: the entry grants and reserves. `provision`: a declaration or exception that is neither (a party-wall agreement, an exception from registration, a note that the lessor's title is registered).
|
|
7
|
+
*/
|
|
8
|
+
export declare const Nature: {
|
|
9
|
+
readonly Benefit: "benefit";
|
|
10
|
+
readonly Burden: "burden";
|
|
11
|
+
readonly Both: "both";
|
|
12
|
+
readonly Provision: "provision";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* `benefit`: a right this land enjoys over other land. `burden`: a right other land enjoys over this land. `both`: the entry grants and reserves. `provision`: a declaration or exception that is neither (a party-wall agreement, an exception from registration, a note that the lessor's title is registered).
|
|
16
|
+
*/
|
|
17
|
+
export type Nature = OpenEnum<typeof Nature>;
|
|
18
|
+
export type TitlePropertyRight = {
|
|
19
|
+
/**
|
|
20
|
+
* The date the entry was made in the register (the entry's `(dd.mm.yyyy)` prefix). Null when the entry carries no registration date.
|
|
21
|
+
*/
|
|
22
|
+
date: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* The date of the deed the entry refers to (the conveyance, transfer, lease or charge that created it), when the entry states one. Null otherwise. Distinct from `date`, which is when the entry was registered.
|
|
25
|
+
*/
|
|
26
|
+
instrumentDate: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* `benefit`: a right this land enjoys over other land. `burden`: a right other land enjoys over this land. `both`: the entry grants and reserves. `provision`: a declaration or exception that is neither (a party-wall agreement, an exception from registration, a note that the lessor's title is registered).
|
|
29
|
+
*/
|
|
30
|
+
nature: Nature;
|
|
31
|
+
/**
|
|
32
|
+
* The entry, quoted verbatim from the Property Register.
|
|
33
|
+
*/
|
|
34
|
+
rawText: string;
|
|
35
|
+
sourceEntryRef: string;
|
|
36
|
+
/**
|
|
37
|
+
* Short plain-English label for the entry.
|
|
38
|
+
*/
|
|
39
|
+
title: string;
|
|
40
|
+
/**
|
|
41
|
+
* Plain-English explanation of what the entry means for the current owner, written by a language model from the register entry.
|
|
42
|
+
*/
|
|
43
|
+
whyThisMatters: string;
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
export declare const Nature$inboundSchema: z.ZodType<Nature, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const TitlePropertyRight$inboundSchema: z.ZodType<TitlePropertyRight, z.ZodTypeDef, unknown>;
|
|
49
|
+
export declare function titlePropertyRightFromJSON(jsonString: string): SafeParseResult<TitlePropertyRight, SDKValidationError>;
|
|
50
|
+
//# sourceMappingURL=titlepropertyright.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"titlepropertyright.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlepropertyright.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;CAKT,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CACzC,CAAC;AAElC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v3";
|
|
5
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
6
|
+
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
/**
|
|
8
|
+
* `benefit`: a right this land enjoys over other land. `burden`: a right other land enjoys over this land. `both`: the entry grants and reserves. `provision`: a declaration or exception that is neither (a party-wall agreement, an exception from registration, a note that the lessor's title is registered).
|
|
9
|
+
*/
|
|
10
|
+
export const Nature = {
|
|
11
|
+
Benefit: "benefit",
|
|
12
|
+
Burden: "burden",
|
|
13
|
+
Both: "both",
|
|
14
|
+
Provision: "provision",
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const Nature$inboundSchema = openEnums.inboundSchema(Nature);
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const TitlePropertyRight$inboundSchema = z.object({
|
|
20
|
+
date: z.nullable(z.string()),
|
|
21
|
+
instrumentDate: z.nullable(z.string()),
|
|
22
|
+
nature: Nature$inboundSchema,
|
|
23
|
+
rawText: z.string(),
|
|
24
|
+
sourceEntryRef: z.string(),
|
|
25
|
+
title: z.string(),
|
|
26
|
+
whyThisMatters: z.string(),
|
|
27
|
+
});
|
|
28
|
+
export function titlePropertyRightFromJSON(jsonString) {
|
|
29
|
+
return safeParse(jsonString, (x) => TitlePropertyRight$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TitlePropertyRight' from JSON`);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=titlepropertyright.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"titlepropertyright.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlepropertyright.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAKlD;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;CACd,CAAC;AAkCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAC/B,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;AAElC,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,MAAM,EAAE,oBAAoB;IAC5B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -2,7 +2,14 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
export type TitleRestriction = {
|
|
5
|
+
/**
|
|
6
|
+
* The date the entry was made in the register (the entry's `(dd.mm.yyyy)` prefix). Null when the entry carries no registration date.
|
|
7
|
+
*/
|
|
5
8
|
date: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The date of the deed the entry refers to (the conveyance, transfer, lease or charge that created it), when the entry states one. Null otherwise. Distinct from `date`, which is when the entry was registered.
|
|
11
|
+
*/
|
|
12
|
+
instrumentDate: string | null;
|
|
6
13
|
/**
|
|
7
14
|
* The legal text, quoted verbatim from the register entry.
|
|
8
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titlerestriction.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlerestriction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"titlerestriction.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlerestriction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -6,6 +6,7 @@ import { safeParse } from "../../../lib/schemas.js";
|
|
|
6
6
|
/** @internal */
|
|
7
7
|
export const TitleRestriction$inboundSchema = z.object({
|
|
8
8
|
date: z.nullable(z.string()),
|
|
9
|
+
instrumentDate: z.nullable(z.string()),
|
|
9
10
|
rawText: z.string(),
|
|
10
11
|
sourceEntryRef: z.string(),
|
|
11
12
|
title: z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titlerestriction.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlerestriction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"titlerestriction.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlerestriction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AA4BpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5B,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titlesummarycounts.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlesummarycounts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"titlesummarycounts.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlesummarycounts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -10,6 +10,7 @@ export const TitleSummaryCounts$inboundSchema = z.object({
|
|
|
10
10
|
dischargedMortgages: z.number().int(),
|
|
11
11
|
notices: z.number().int(),
|
|
12
12
|
otherCharges: z.number().int(),
|
|
13
|
+
propertyRights: z.number().int(),
|
|
13
14
|
restrictions: z.number().int(),
|
|
14
15
|
});
|
|
15
16
|
export function titleSummaryCountsFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"titlesummarycounts.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlesummarycounts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"titlesummarycounts.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/titlesummarycounts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAcpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACzB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC9B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CAC/B,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
package/dist/esm/sdk/safety.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare class Safety extends ClientSDK {
|
|
|
34
34
|
* Get crime metrics for one or more geographic areas (England and Wales)
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at
|
|
37
|
+
* Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at eight levels: Lower Layer Super Output Area (LSOA, `E01`/`W01`), Middle Layer Super Output Area (MSOA, `E02`/`W02`), ward (`E05`/`W05`), built-up area (`E63`/`W45`/`K08`), local authority district or unitary authority (`E06`-`E09`, `W06`), county (`E10`), English region (`E12`) and country (`E92`, `W92`). Coverage is England and Wales; codes at other levels, such as parishes, and codes in Scotland or Northern Ireland come back as `data: []`. Ward and built-up-area figures are aggregated from the Lower Layer Super Output Areas assigned to each area rather than counted on its own boundary, so they are approximations, and `geographyFit` on every row reports how much of the area's footprint those smaller areas cover. A built-up area smaller than the Lower Layer Super Output Area containing it has no figures and comes back as `data: []`. Percentiles rank an area against others of the same type, so a ward is ranked among wards and not among districts. Every month summarises the trailing 24-month window ending at that month, so counts are window totals and rates are per 1,000 residents per year. Months are published two months in arrears, roughly monthly; the catalogue endpoint lists the months held. Scores are null, never 0, where a police force did not report; read `dataAvailability` beside every number. By default the response carries one row per area and month; with `mergeAreas=true` it carries one row per month, with counts and population summed across every requested area and scores, percentiles and trends set to null because they cannot be combined across areas. Choose the months either explicitly with `periods=YYYY-MM,YYYY-MM` or as a range with `startDate` and `endDate`, never both, and set how far each row's history reaches back with `months`, which defaults to 12. An empty result comes back as `data: []` with `total_count: 0`, never as a 204.
|
|
38
38
|
*/
|
|
39
39
|
getGeographyMetrics(request: operations.GetGeographyMetricsRequest, options?: RequestOptions): Promise<shared.GeographyMetricsListResponse>;
|
|
40
40
|
/**
|
package/dist/esm/sdk/safety.js
CHANGED
|
@@ -50,7 +50,7 @@ export class Safety extends ClientSDK {
|
|
|
50
50
|
* Get crime metrics for one or more geographic areas (England and Wales)
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at
|
|
53
|
+
* Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at eight levels: Lower Layer Super Output Area (LSOA, `E01`/`W01`), Middle Layer Super Output Area (MSOA, `E02`/`W02`), ward (`E05`/`W05`), built-up area (`E63`/`W45`/`K08`), local authority district or unitary authority (`E06`-`E09`, `W06`), county (`E10`), English region (`E12`) and country (`E92`, `W92`). Coverage is England and Wales; codes at other levels, such as parishes, and codes in Scotland or Northern Ireland come back as `data: []`. Ward and built-up-area figures are aggregated from the Lower Layer Super Output Areas assigned to each area rather than counted on its own boundary, so they are approximations, and `geographyFit` on every row reports how much of the area's footprint those smaller areas cover. A built-up area smaller than the Lower Layer Super Output Area containing it has no figures and comes back as `data: []`. Percentiles rank an area against others of the same type, so a ward is ranked among wards and not among districts. Every month summarises the trailing 24-month window ending at that month, so counts are window totals and rates are per 1,000 residents per year. Months are published two months in arrears, roughly monthly; the catalogue endpoint lists the months held. Scores are null, never 0, where a police force did not report; read `dataAvailability` beside every number. By default the response carries one row per area and month; with `mergeAreas=true` it carries one row per month, with counts and population summed across every requested area and scores, percentiles and trends set to null because they cannot be combined across areas. Choose the months either explicitly with `periods=YYYY-MM,YYYY-MM` or as a range with `startDate` and `endDate`, never both, and set how far each row's history reaches back with `months`, which defaults to 12. An empty result comes back as `data: []` with `total_count: 0`, never as a 204.
|
|
54
54
|
*/
|
|
55
55
|
async getGeographyMetrics(request, options) {
|
|
56
56
|
return unwrapAsync(safetyGetGeographyMetrics(this, request, options));
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
31
31
|
* Get crime metrics for one or more geographic areas (England and Wales)
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
-
* Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at
|
|
34
|
+
* Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at eight levels: Lower Layer Super Output Area (LSOA, `E01`/`W01`), Middle Layer Super Output Area (MSOA, `E02`/`W02`), ward (`E05`/`W05`), built-up area (`E63`/`W45`/`K08`), local authority district or unitary authority (`E06`-`E09`, `W06`), county (`E10`), English region (`E12`) and country (`E92`, `W92`). Coverage is England and Wales; codes at other levels, such as parishes, and codes in Scotland or Northern Ireland come back as `data: []`. Ward and built-up-area figures are aggregated from the Lower Layer Super Output Areas assigned to each area rather than counted on its own boundary, so they are approximations, and `geographyFit` on every row reports how much of the area's footprint those smaller areas cover. A built-up area smaller than the Lower Layer Super Output Area containing it has no figures and comes back as `data: []`. Percentiles rank an area against others of the same type, so a ward is ranked among wards and not among districts. Every month summarises the trailing 24-month window ending at that month, so counts are window totals and rates are per 1,000 residents per year. Months are published two months in arrears, roughly monthly; the catalogue endpoint lists the months held. Scores are null, never 0, where a police force did not report; read `dataAvailability` beside every number. By default the response carries one row per area and month; with `mergeAreas=true` it carries one row per month, with counts and population summed across every requested area and scores, percentiles and trends set to null because they cannot be combined across areas. Choose the months either explicitly with `periods=YYYY-MM,YYYY-MM` or as a range with `startDate` and `endDate`, never both, and set how far each row's history reaches back with `months`, which defaults to 12. An empty result comes back as `data: []` with `total_count: 0`, never as a 204.
|
|
35
35
|
*/
|
|
36
36
|
export function safetyGetGeographyMetrics(
|
|
37
37
|
client: SDKCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
60
60
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
|
-
openapiDocVersion: "6.
|
|
63
|
+
openapiDocVersion: "6.8.0",
|
|
64
64
|
sdkVersion: "0.12.0",
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.12.0 2.
|
|
65
|
+
genVersion: "2.937.18",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.12.0 2.937.18 6.8.0 @vepler/sdk",
|
|
67
67
|
} as const;
|
|
@@ -564,9 +564,9 @@ export type GetListingByIdResponseBody = {
|
|
|
564
564
|
*/
|
|
565
565
|
provider: string;
|
|
566
566
|
/**
|
|
567
|
-
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated.
|
|
567
|
+
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated, and is null when the source does not publish one.
|
|
568
568
|
*/
|
|
569
|
-
publishedDate
|
|
569
|
+
publishedDate?: Date | null | undefined;
|
|
570
570
|
/**
|
|
571
571
|
* Number of reception rooms advertised, meaning the living, dining and sitting rooms. Null when the listing does not state one.
|
|
572
572
|
*/
|
|
@@ -982,9 +982,9 @@ export const GetListingByIdResponseBody$inboundSchema: z.ZodType<
|
|
|
982
982
|
priceHistory: z.array(z.lazy(() => PriceHistory$inboundSchema)).optional(),
|
|
983
983
|
propertyType: z.string(),
|
|
984
984
|
provider: z.string(),
|
|
985
|
-
publishedDate: z.
|
|
986
|
-
new Date(v)
|
|
987
|
-
),
|
|
985
|
+
publishedDate: z.nullable(
|
|
986
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
987
|
+
).optional(),
|
|
988
988
|
receptions: z.nullable(z.number()).optional(),
|
|
989
989
|
removedDate: z.nullable(
|
|
990
990
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -593,9 +593,9 @@ export type GetListingBySourceResponseBody = {
|
|
|
593
593
|
*/
|
|
594
594
|
provider: string;
|
|
595
595
|
/**
|
|
596
|
-
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated.
|
|
596
|
+
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated, and is null when the source does not publish one.
|
|
597
597
|
*/
|
|
598
|
-
publishedDate
|
|
598
|
+
publishedDate?: Date | null | undefined;
|
|
599
599
|
/**
|
|
600
600
|
* Number of reception rooms advertised, meaning the living, dining and sitting rooms. Null when the listing does not state one.
|
|
601
601
|
*/
|
|
@@ -1042,9 +1042,9 @@ export const GetListingBySourceResponseBody$inboundSchema: z.ZodType<
|
|
|
1042
1042
|
).optional(),
|
|
1043
1043
|
propertyType: z.string(),
|
|
1044
1044
|
provider: z.string(),
|
|
1045
|
-
publishedDate: z.
|
|
1046
|
-
new Date(v)
|
|
1047
|
-
),
|
|
1045
|
+
publishedDate: z.nullable(
|
|
1046
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
1047
|
+
).optional(),
|
|
1048
1048
|
receptions: z.nullable(z.number()).optional(),
|
|
1049
1049
|
removedDate: z.nullable(
|
|
1050
1050
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -580,9 +580,9 @@ export type GetListingsByLocationData = {
|
|
|
580
580
|
*/
|
|
581
581
|
provider: string;
|
|
582
582
|
/**
|
|
583
|
-
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated.
|
|
583
|
+
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated, and is null when the source does not publish one.
|
|
584
584
|
*/
|
|
585
|
-
publishedDate
|
|
585
|
+
publishedDate?: Date | null | undefined;
|
|
586
586
|
/**
|
|
587
587
|
* Number of reception rooms advertised, meaning the living, dining and sitting rooms. Null when the listing does not state one.
|
|
588
588
|
*/
|
|
@@ -1072,9 +1072,9 @@ export const GetListingsByLocationData$inboundSchema: z.ZodType<
|
|
|
1072
1072
|
).optional(),
|
|
1073
1073
|
propertyType: z.string(),
|
|
1074
1074
|
provider: z.string(),
|
|
1075
|
-
publishedDate: z.
|
|
1076
|
-
new Date(v)
|
|
1077
|
-
),
|
|
1075
|
+
publishedDate: z.nullable(
|
|
1076
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
1077
|
+
).optional(),
|
|
1078
1078
|
receptions: z.nullable(z.number()).optional(),
|
|
1079
1079
|
removedDate: z.nullable(
|
|
1080
1080
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -614,9 +614,9 @@ export type QueryListingsData = {
|
|
|
614
614
|
*/
|
|
615
615
|
provider: string;
|
|
616
616
|
/**
|
|
617
|
-
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated.
|
|
617
|
+
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated, and is null when the source does not publish one.
|
|
618
618
|
*/
|
|
619
|
-
publishedDate
|
|
619
|
+
publishedDate?: Date | null | undefined;
|
|
620
620
|
/**
|
|
621
621
|
* Number of reception rooms advertised, meaning the living, dining and sitting rooms. Null when the listing does not state one.
|
|
622
622
|
*/
|
|
@@ -1107,9 +1107,9 @@ export const QueryListingsData$inboundSchema: z.ZodType<
|
|
|
1107
1107
|
.optional(),
|
|
1108
1108
|
propertyType: z.string(),
|
|
1109
1109
|
provider: z.string(),
|
|
1110
|
-
publishedDate: z.
|
|
1111
|
-
new Date(v)
|
|
1112
|
-
),
|
|
1110
|
+
publishedDate: z.nullable(
|
|
1111
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
1112
|
+
).optional(),
|
|
1113
1113
|
receptions: z.nullable(z.number()).optional(),
|
|
1114
1114
|
removedDate: z.nullable(
|
|
1115
1115
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -569,9 +569,9 @@ export type QueryListingsBySourceData = {
|
|
|
569
569
|
*/
|
|
570
570
|
provider: string;
|
|
571
571
|
/**
|
|
572
|
-
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated.
|
|
572
|
+
* When the listing was first published by the source, as an ISO 8601 timestamp. It does not change when the listing is later updated, and is null when the source does not publish one.
|
|
573
573
|
*/
|
|
574
|
-
publishedDate
|
|
574
|
+
publishedDate?: Date | null | undefined;
|
|
575
575
|
/**
|
|
576
576
|
* Number of reception rooms advertised, meaning the living, dining and sitting rooms. Null when the listing does not state one.
|
|
577
577
|
*/
|
|
@@ -1056,9 +1056,9 @@ export const QueryListingsBySourceData$inboundSchema: z.ZodType<
|
|
|
1056
1056
|
).optional(),
|
|
1057
1057
|
propertyType: z.string(),
|
|
1058
1058
|
provider: z.string(),
|
|
1059
|
-
publishedDate: z.
|
|
1060
|
-
new Date(v)
|
|
1061
|
-
),
|
|
1059
|
+
publishedDate: z.nullable(
|
|
1060
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
1061
|
+
).optional(),
|
|
1062
1062
|
receptions: z.nullable(z.number()).optional(),
|
|
1063
1063
|
removedDate: z.nullable(
|
|
1064
1064
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -116,6 +116,20 @@ export type MatchQuality = {
|
|
|
116
116
|
unambiguityScore: number;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
|
+
/**
|
|
120
|
+
* Position of the matched premise. Returned only when `options.includeCoordinates` is true, and absent on postcode-level fallback matches, which have no premise point.
|
|
121
|
+
*/
|
|
122
|
+
export type ResolveAddressCoordinates = {
|
|
123
|
+
/**
|
|
124
|
+
* Latitude in WGS84 decimal degrees.
|
|
125
|
+
*/
|
|
126
|
+
lat: number;
|
|
127
|
+
/**
|
|
128
|
+
* Longitude in WGS84 decimal degrees.
|
|
129
|
+
*/
|
|
130
|
+
lng: number;
|
|
131
|
+
};
|
|
132
|
+
|
|
119
133
|
/**
|
|
120
134
|
* Component-by-component scores for the match, following the ONS Address Index Matching Service methodology. Read them to see which parts of the address matched well and which were uncertain.
|
|
121
135
|
*/
|
|
@@ -156,10 +170,18 @@ export type ResolveAddress1 = {
|
|
|
156
170
|
* The matched address on one line.
|
|
157
171
|
*/
|
|
158
172
|
address: string;
|
|
173
|
+
/**
|
|
174
|
+
* Ordnance Survey classification code for how the matched premise is used. Codes beginning `R` are residential and codes beginning `C` are commercial. Absent on postcode-level fallback matches.
|
|
175
|
+
*/
|
|
176
|
+
classificationCode?: string | undefined;
|
|
159
177
|
/**
|
|
160
178
|
* How confident this match is, from 0 to 100.
|
|
161
179
|
*/
|
|
162
180
|
confidence: number;
|
|
181
|
+
/**
|
|
182
|
+
* Position of the matched premise. Returned only when `options.includeCoordinates` is true, and absent on postcode-level fallback matches, which have no premise point.
|
|
183
|
+
*/
|
|
184
|
+
coordinates?: ResolveAddressCoordinates | undefined;
|
|
163
185
|
/**
|
|
164
186
|
* Ceremonial county for the matched premise's postcode, from OS Boundary-Line. Absent when it is not known: the match carried no postcode, the address is in Northern Ireland (which has no ceremonial county), or the geography service was unavailable. It is never part of `address`.
|
|
165
187
|
*/
|
|
@@ -403,6 +425,26 @@ export function matchQualityFromJSON(
|
|
|
403
425
|
);
|
|
404
426
|
}
|
|
405
427
|
|
|
428
|
+
/** @internal */
|
|
429
|
+
export const ResolveAddressCoordinates$inboundSchema: z.ZodType<
|
|
430
|
+
ResolveAddressCoordinates,
|
|
431
|
+
z.ZodTypeDef,
|
|
432
|
+
unknown
|
|
433
|
+
> = z.object({
|
|
434
|
+
lat: z.number(),
|
|
435
|
+
lng: z.number(),
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
export function resolveAddressCoordinatesFromJSON(
|
|
439
|
+
jsonString: string,
|
|
440
|
+
): SafeParseResult<ResolveAddressCoordinates, SDKValidationError> {
|
|
441
|
+
return safeParse(
|
|
442
|
+
jsonString,
|
|
443
|
+
(x) => ResolveAddressCoordinates$inboundSchema.parse(JSON.parse(x)),
|
|
444
|
+
`Failed to parse 'ResolveAddressCoordinates' from JSON`,
|
|
445
|
+
);
|
|
446
|
+
}
|
|
447
|
+
|
|
406
448
|
/** @internal */
|
|
407
449
|
export const HopperComponents$inboundSchema: z.ZodType<
|
|
408
450
|
HopperComponents,
|
|
@@ -438,7 +480,9 @@ export const ResolveAddress1$inboundSchema: z.ZodType<
|
|
|
438
480
|
unknown
|
|
439
481
|
> = z.object({
|
|
440
482
|
address: z.string(),
|
|
483
|
+
classificationCode: z.string().optional(),
|
|
441
484
|
confidence: z.number(),
|
|
485
|
+
coordinates: z.lazy(() => ResolveAddressCoordinates$inboundSchema).optional(),
|
|
442
486
|
county: z.string().optional(),
|
|
443
487
|
granularity: z.literal("address"),
|
|
444
488
|
hopperComponents: z.lazy(() => HopperComponents$inboundSchema).optional(),
|
|
@@ -62,6 +62,10 @@ export type Options = {
|
|
|
62
62
|
* How specific the result should be. 'address', the default, resolves to a premise and its UPRN. 'street' resolves to a named street with a representative point, for partial inputs such as 'West Street, Sheffield' that carry no building number. 'auto' tries the premise first and drops to street level when no building matches.
|
|
63
63
|
*/
|
|
64
64
|
granularity?: AddressResolveRequest1 | AddressResolveRequest2 | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Return the matched premise's position as `coordinates` on each premise match. Defaults to false. A request that includes coordinates is charged at the full address record rate rather than the match rate.
|
|
67
|
+
*/
|
|
68
|
+
includeCoordinates?: boolean | undefined;
|
|
65
69
|
/**
|
|
66
70
|
* Return what each stage of the match did, under `metadata.processingSteps`.
|
|
67
71
|
*/
|
|
@@ -133,6 +137,7 @@ export type Options$Outbound = {
|
|
|
133
137
|
enableFallback?: boolean | undefined;
|
|
134
138
|
fallbackThreshold?: number | undefined;
|
|
135
139
|
granularity?: string | string | undefined;
|
|
140
|
+
includeCoordinates?: boolean | undefined;
|
|
136
141
|
includeProcessingDetails?: boolean | undefined;
|
|
137
142
|
maxResults?: number | undefined;
|
|
138
143
|
timeout?: number | undefined;
|
|
@@ -152,6 +157,7 @@ export const Options$outboundSchema: z.ZodType<
|
|
|
152
157
|
AddressResolveRequest1$outboundSchema,
|
|
153
158
|
AddressResolveRequest2$outboundSchema,
|
|
154
159
|
]).optional(),
|
|
160
|
+
includeCoordinates: z.boolean().optional(),
|
|
155
161
|
includeProcessingDetails: z.boolean().optional(),
|
|
156
162
|
maxResults: z.number().optional(),
|
|
157
163
|
timeout: z.number().optional(),
|
|
@@ -246,9 +246,9 @@ export type AdvancedListing = {
|
|
|
246
246
|
*/
|
|
247
247
|
provider?: string | undefined;
|
|
248
248
|
/**
|
|
249
|
-
* When the listing was first published by the source, as an ISO 8601 timestamp.
|
|
249
|
+
* When the listing was first published by the source, as an ISO 8601 timestamp. Null when the source does not publish one.
|
|
250
250
|
*/
|
|
251
|
-
publishedDate?: Date | undefined;
|
|
251
|
+
publishedDate?: Date | null | undefined;
|
|
252
252
|
/**
|
|
253
253
|
* When the listing was removed from the source, as an ISO 8601 timestamp. Null while the listing is still there.
|
|
254
254
|
*/
|
|
@@ -416,8 +416,8 @@ export const AdvancedListing$inboundSchema: z.ZodType<
|
|
|
416
416
|
pricing: AdvancedListingPricing$inboundSchema.optional(),
|
|
417
417
|
propertyId: z.nullable(z.string()).optional(),
|
|
418
418
|
provider: z.string().optional(),
|
|
419
|
-
publishedDate: z.
|
|
420
|
-
new Date(v)
|
|
419
|
+
publishedDate: z.nullable(
|
|
420
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
421
421
|
).optional(),
|
|
422
422
|
removedDate: z.nullable(
|
|
423
423
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -29,13 +29,17 @@ export type GeographyMetricsRow = {
|
|
|
29
29
|
*/
|
|
30
30
|
dataAvailability?: string | undefined;
|
|
31
31
|
/**
|
|
32
|
-
* Type of area the code identifies: `lsoa21`, `msoa21`, `local_authority_district`, `county_unitary_authority`, `english_region` or `country_region`. A unitary authority is served as `local_authority_district`. Null when areas are merged.
|
|
32
|
+
* Type of area the code identifies: `lsoa21`, `msoa21`, `district_borough_unitary_ward`, `built_up_area_250`, `local_authority_district`, `county_unitary_authority`, `english_region` or `country_region`. A unitary authority is served as `local_authority_district`, and every ward, in England and in Wales, is served as `district_borough_unitary_ward`. Null when areas are merged.
|
|
33
33
|
*/
|
|
34
34
|
entityType?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* Area code this row covers. When areas are merged it is the comma-joined list of every requested code that contributed to the row.
|
|
37
37
|
*/
|
|
38
38
|
geographicCode: string;
|
|
39
|
+
/**
|
|
40
|
+
* How much of this area's own footprint is covered by the Lower Layer Super Output Areas its figures are aggregated from, as a fraction from 0 to 1. A value means the figures are an approximation of that quality, so 0.88 says the areas summed together cover 88% of this one. Null means the area is made up of whole Lower Layer Super Output Areas and no approximation arises, which is the case at every administrative level from LSOA to country; it is not an unknown value. Wards and built-up areas average about 0.88, and roughly one in eight is below 0.7.
|
|
41
|
+
*/
|
|
42
|
+
geographyFit?: number | null | undefined;
|
|
39
43
|
/**
|
|
40
44
|
* Version of the scoring model that produced the row.
|
|
41
45
|
*/
|
|
@@ -81,6 +85,7 @@ export const GeographyMetricsRow$inboundSchema: z.ZodType<
|
|
|
81
85
|
dataAvailability: z.string().optional(),
|
|
82
86
|
entityType: z.nullable(z.string()).optional(),
|
|
83
87
|
geographicCode: z.string(),
|
|
88
|
+
geographyFit: z.nullable(z.number()).optional(),
|
|
84
89
|
modelVersion: z.nullable(z.string()).optional(),
|
|
85
90
|
name: z.nullable(z.string()).optional(),
|
|
86
91
|
period: z.string(),
|