@vepler/sdk 2.9.0 → 2.18.12
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/README.md +19 -19
- package/dist/commonjs/funcs/epcGetByLocationId.d.ts +17 -0
- package/dist/commonjs/funcs/epcGetByLocationId.d.ts.map +1 -0
- package/dist/commonjs/funcs/{roaVerifyROA.js → epcGetByLocationId.js} +22 -15
- package/dist/commonjs/funcs/epcGetByLocationId.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/encodings.d.ts +1 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -1
- package/dist/commonjs/lib/encodings.js +12 -1
- package/dist/commonjs/lib/encodings.js.map +1 -1
- package/dist/commonjs/sdk/epc.d.ts +12 -0
- package/dist/commonjs/sdk/epc.d.ts.map +1 -0
- package/dist/commonjs/sdk/epc.js +22 -0
- package/dist/commonjs/sdk/epc.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts +48 -6
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js +46 -4
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts +95 -11
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.js +92 -8
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts +96 -12
- package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getborderingareas.js +92 -8
- package/dist/commonjs/sdk/models/operations/getborderingareas.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getchildareas.d.ts +96 -12
- package/dist/commonjs/sdk/models/operations/getchildareas.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getchildareas.js +92 -8
- package/dist/commonjs/sdk/models/operations/getchildareas.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.d.ts +562 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.js +276 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.js.map +1 -0
- 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/getlistingsbylocation.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts +144 -18
- package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricvalues.js +138 -12
- package/dist/commonjs/sdk/models/operations/getmetricvalues.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts +4 -4
- package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getnearestpoi.js +6 -6
- package/dist/commonjs/sdk/models/operations/getnearestpoi.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +1 -1
- package/dist/commonjs/sdk/models/operations/index.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/querylistingsbysource.d.ts +2 -2
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts +39 -4
- package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/resolveaddress.js +23 -2
- package/dist/commonjs/sdk/models/operations/resolveaddress.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/builddata.d.ts +57 -1
- package/dist/commonjs/sdk/models/shared/builddata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/builddata.js +56 -2
- package/dist/commonjs/sdk/models/shared/builddata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +0 -3
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +0 -3
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertydataapi.d.ts +3 -257
- package/dist/commonjs/sdk/models/shared/propertydataapi.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertydataapi.js +4 -255
- package/dist/commonjs/sdk/models/shared/propertydataapi.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.d.ts +8 -4
- package/dist/commonjs/sdk/models/shared/propertytags.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.js +2 -1
- package/dist/commonjs/sdk/models/shared/propertytags.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/searchresponse.d.ts +4 -4
- package/dist/commonjs/sdk/models/shared/searchresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/searchresponse.js +6 -6
- package/dist/commonjs/sdk/models/shared/searchresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/searchresult.d.ts +4 -4
- package/dist/commonjs/sdk/models/shared/searchresult.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/searchresult.js +6 -6
- package/dist/commonjs/sdk/models/shared/searchresult.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetdescriptor.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetdescriptor.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts +2 -9
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.js +2 -7
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyname.d.ts +2 -9
- package/dist/commonjs/sdk/models/shared/streetquerybyname.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyname.js +2 -7
- package/dist/commonjs/sdk/models/shared/streetquerybyname.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.d.ts +2 -9
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.js +2 -7
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.d.ts +2 -9
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.js +2 -7
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.d.ts +2 -9
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.js +2 -7
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.d.ts +4 -44
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.js +10 -24
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -4
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/types/unrecognized.d.ts +7 -1
- package/dist/commonjs/sdk/types/unrecognized.d.ts.map +1 -1
- package/dist/commonjs/sdk/types/unrecognized.js +9 -1
- package/dist/commonjs/sdk/types/unrecognized.js.map +1 -1
- package/dist/esm/funcs/epcGetByLocationId.d.ts +17 -0
- package/dist/esm/funcs/epcGetByLocationId.d.ts.map +1 -0
- package/dist/esm/funcs/{roaVerifyROA.js → epcGetByLocationId.js} +22 -15
- package/dist/esm/funcs/epcGetByLocationId.js.map +1 -0
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/encodings.d.ts +1 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -1
- package/dist/esm/lib/encodings.js +12 -1
- package/dist/esm/lib/encodings.js.map +1 -1
- package/dist/esm/sdk/epc.d.ts +12 -0
- package/dist/esm/sdk/epc.d.ts.map +1 -0
- package/dist/esm/sdk/epc.js +18 -0
- package/dist/esm/sdk/epc.js.map +1 -0
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts +48 -6
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.js +46 -4
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.js.map +1 -1
- package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts +95 -11
- package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getareaswithinradius.js +92 -8
- package/dist/esm/sdk/models/operations/getareaswithinradius.js.map +1 -1
- package/dist/esm/sdk/models/operations/getborderingareas.d.ts +96 -12
- package/dist/esm/sdk/models/operations/getborderingareas.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getborderingareas.js +92 -8
- package/dist/esm/sdk/models/operations/getborderingareas.js.map +1 -1
- package/dist/esm/sdk/models/operations/getchildareas.d.ts +96 -12
- package/dist/esm/sdk/models/operations/getchildareas.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getchildareas.js +92 -8
- package/dist/esm/sdk/models/operations/getchildareas.js.map +1 -1
- package/dist/esm/sdk/models/operations/getepcbylocationid.d.ts +562 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.js +229 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.js.map +1 -0
- 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/getlistingsbylocation.d.ts +2 -2
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricvalues.d.ts +144 -18
- package/dist/esm/sdk/models/operations/getmetricvalues.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricvalues.js +138 -12
- package/dist/esm/sdk/models/operations/getmetricvalues.js.map +1 -1
- package/dist/esm/sdk/models/operations/getnearestpoi.d.ts +4 -4
- package/dist/esm/sdk/models/operations/getnearestpoi.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getnearestpoi.js +4 -4
- package/dist/esm/sdk/models/operations/getnearestpoi.js.map +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +1 -1
- package/dist/esm/sdk/models/operations/index.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/querylistingsbysource.d.ts +2 -2
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/resolveaddress.d.ts +39 -4
- package/dist/esm/sdk/models/operations/resolveaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/resolveaddress.js +22 -1
- package/dist/esm/sdk/models/operations/resolveaddress.js.map +1 -1
- package/dist/esm/sdk/models/shared/builddata.d.ts +57 -1
- package/dist/esm/sdk/models/shared/builddata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/builddata.js +55 -1
- package/dist/esm/sdk/models/shared/builddata.js.map +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +0 -3
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +0 -3
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertydataapi.d.ts +3 -257
- package/dist/esm/sdk/models/shared/propertydataapi.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertydataapi.js +3 -254
- package/dist/esm/sdk/models/shared/propertydataapi.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertytags.d.ts +8 -4
- package/dist/esm/sdk/models/shared/propertytags.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertytags.js +2 -1
- package/dist/esm/sdk/models/shared/propertytags.js.map +1 -1
- package/dist/esm/sdk/models/shared/searchresponse.d.ts +4 -4
- package/dist/esm/sdk/models/shared/searchresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/searchresponse.js +4 -4
- package/dist/esm/sdk/models/shared/searchresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/searchresult.d.ts +4 -4
- package/dist/esm/sdk/models/shared/searchresult.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/searchresult.js +4 -4
- package/dist/esm/sdk/models/shared/searchresult.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetdescriptor.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetdescriptor.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts +2 -9
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.js +1 -6
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyname.d.ts +2 -9
- package/dist/esm/sdk/models/shared/streetquerybyname.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyname.js +1 -6
- package/dist/esm/sdk/models/shared/streetquerybyname.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybypostcode.d.ts +2 -9
- package/dist/esm/sdk/models/shared/streetquerybypostcode.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybypostcode.js +1 -6
- package/dist/esm/sdk/models/shared/streetquerybypostcode.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyuprn.d.ts +2 -9
- package/dist/esm/sdk/models/shared/streetquerybyuprn.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyuprn.js +1 -6
- package/dist/esm/sdk/models/shared/streetquerybyuprn.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyusrn.d.ts +2 -9
- package/dist/esm/sdk/models/shared/streetquerybyusrn.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyusrn.js +1 -6
- package/dist/esm/sdk/models/shared/streetquerybyusrn.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetqueryrequest.d.ts +4 -44
- package/dist/esm/sdk/models/shared/streetqueryrequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetqueryrequest.js +10 -24
- package/dist/esm/sdk/models/shared/streetqueryrequest.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -4
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/types/unrecognized.d.ts +7 -1
- package/dist/esm/sdk/types/unrecognized.d.ts.map +1 -1
- package/dist/esm/sdk/types/unrecognized.js +9 -1
- package/dist/esm/sdk/types/unrecognized.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{roaVerifyROA.ts → epcGetByLocationId.ts} +30 -21
- package/src/lib/config.ts +4 -4
- package/src/lib/encodings.ts +17 -3
- package/src/sdk/epc.ts +27 -0
- package/src/sdk/models/operations/getareasbyfieldandids.ts +48 -6
- package/src/sdk/models/operations/getareaswithinradius.ts +95 -11
- package/src/sdk/models/operations/getborderingareas.ts +96 -12
- package/src/sdk/models/operations/getchildareas.ts +96 -12
- package/src/sdk/models/operations/getepcbylocationid.ts +895 -0
- package/src/sdk/models/operations/getlistingbyid.ts +2 -2
- package/src/sdk/models/operations/getlistingsbylocation.ts +2 -2
- package/src/sdk/models/operations/getmetricvalues.ts +144 -18
- package/src/sdk/models/operations/getnearestpoi.ts +9 -9
- package/src/sdk/models/operations/index.ts +1 -1
- package/src/sdk/models/operations/querylistings.ts +2 -2
- package/src/sdk/models/operations/querylistingsbysource.ts +2 -2
- package/src/sdk/models/operations/resolveaddress.ts +50 -5
- package/src/sdk/models/shared/builddata.ts +62 -2
- package/src/sdk/models/shared/index.ts +0 -3
- package/src/sdk/models/shared/propertyaddress.ts +1 -1
- package/src/sdk/models/shared/propertydataapi.ts +6 -276
- package/src/sdk/models/shared/propertytags.ts +10 -5
- package/src/sdk/models/shared/searchresponse.ts +9 -9
- package/src/sdk/models/shared/searchresult.ts +9 -9
- package/src/sdk/models/shared/streetdescriptor.ts +1 -1
- package/src/sdk/models/shared/streetquerybycoordinates.ts +3 -16
- package/src/sdk/models/shared/streetquerybyname.ts +3 -14
- package/src/sdk/models/shared/streetquerybypostcode.ts +3 -16
- package/src/sdk/models/shared/streetquerybyuprn.ts +3 -14
- package/src/sdk/models/shared/streetquerybyusrn.ts +3 -14
- package/src/sdk/models/shared/streetqueryrequest.ts +30 -64
- package/src/sdk/sdk.ts +6 -6
- package/src/sdk/types/unrecognized.ts +9 -1
- package/tsconfig.json +1 -2
- package/dist/commonjs/funcs/roaVerifyROA.d.ts +0 -18
- package/dist/commonjs/funcs/roaVerifyROA.d.ts.map +0 -1
- package/dist/commonjs/funcs/roaVerifyROA.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/verifyroa.d.ts +0 -9
- package/dist/commonjs/sdk/models/operations/verifyroa.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/verifyroa.js +0 -52
- package/dist/commonjs/sdk/models/operations/verifyroa.js.map +0 -1
- package/dist/commonjs/sdk/models/shared/roaerror.d.ts +0 -21
- package/dist/commonjs/sdk/models/shared/roaerror.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/shared/roaerror.js +0 -62
- package/dist/commonjs/sdk/models/shared/roaerror.js.map +0 -1
- package/dist/commonjs/sdk/models/shared/roaverifyrequest.d.ts +0 -36
- package/dist/commonjs/sdk/models/shared/roaverifyrequest.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/shared/roaverifyrequest.js +0 -61
- package/dist/commonjs/sdk/models/shared/roaverifyrequest.js.map +0 -1
- package/dist/commonjs/sdk/models/shared/roaverifyresponse.d.ts +0 -521
- package/dist/commonjs/sdk/models/shared/roaverifyresponse.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/shared/roaverifyresponse.js +0 -457
- package/dist/commonjs/sdk/models/shared/roaverifyresponse.js.map +0 -1
- package/dist/commonjs/sdk/roa.d.ts +0 -13
- package/dist/commonjs/sdk/roa.d.ts.map +0 -1
- package/dist/commonjs/sdk/roa.js +0 -22
- package/dist/commonjs/sdk/roa.js.map +0 -1
- package/dist/esm/funcs/roaVerifyROA.d.ts +0 -18
- package/dist/esm/funcs/roaVerifyROA.d.ts.map +0 -1
- package/dist/esm/funcs/roaVerifyROA.js.map +0 -1
- package/dist/esm/sdk/models/operations/verifyroa.d.ts +0 -9
- package/dist/esm/sdk/models/operations/verifyroa.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/verifyroa.js +0 -15
- package/dist/esm/sdk/models/operations/verifyroa.js.map +0 -1
- package/dist/esm/sdk/models/shared/roaerror.d.ts +0 -21
- package/dist/esm/sdk/models/shared/roaerror.d.ts.map +0 -1
- package/dist/esm/sdk/models/shared/roaerror.js +0 -24
- package/dist/esm/sdk/models/shared/roaerror.js.map +0 -1
- package/dist/esm/sdk/models/shared/roaverifyrequest.d.ts +0 -36
- package/dist/esm/sdk/models/shared/roaverifyrequest.d.ts.map +0 -1
- package/dist/esm/sdk/models/shared/roaverifyrequest.js +0 -24
- package/dist/esm/sdk/models/shared/roaverifyrequest.js.map +0 -1
- package/dist/esm/sdk/models/shared/roaverifyresponse.d.ts +0 -521
- package/dist/esm/sdk/models/shared/roaverifyresponse.d.ts.map +0 -1
- package/dist/esm/sdk/models/shared/roaverifyresponse.js +0 -397
- package/dist/esm/sdk/models/shared/roaverifyresponse.js.map +0 -1
- package/dist/esm/sdk/roa.d.ts +0 -13
- package/dist/esm/sdk/roa.d.ts.map +0 -1
- package/dist/esm/sdk/roa.js +0 -18
- package/dist/esm/sdk/roa.js.map +0 -1
- package/src/sdk/models/operations/verifyroa.ts +0 -31
- package/src/sdk/models/shared/roaerror.ts +0 -57
- package/src/sdk/models/shared/roaverifyrequest.ts +0 -58
- package/src/sdk/models/shared/roaverifyresponse.ts +0 -1062
- package/src/sdk/roa.ts +0 -28
|
@@ -119,7 +119,7 @@ export type Address = {
|
|
|
119
119
|
/**
|
|
120
120
|
* Country code
|
|
121
121
|
*/
|
|
122
|
-
country
|
|
122
|
+
country: string;
|
|
123
123
|
/**
|
|
124
124
|
* District
|
|
125
125
|
*/
|
|
@@ -568,7 +568,7 @@ export type Data = {
|
|
|
568
568
|
/**
|
|
569
569
|
* Currency code
|
|
570
570
|
*/
|
|
571
|
-
currency
|
|
571
|
+
currency: string;
|
|
572
572
|
/**
|
|
573
573
|
* Formatted display address
|
|
574
574
|
*/
|
|
@@ -91,7 +91,7 @@ export type GetListingsByLocationAddress = {
|
|
|
91
91
|
/**
|
|
92
92
|
* Country code
|
|
93
93
|
*/
|
|
94
|
-
country
|
|
94
|
+
country: string;
|
|
95
95
|
/**
|
|
96
96
|
* District
|
|
97
97
|
*/
|
|
@@ -548,7 +548,7 @@ export type GetListingsByLocationResult = {
|
|
|
548
548
|
/**
|
|
549
549
|
* Currency code
|
|
550
550
|
*/
|
|
551
|
-
currency
|
|
551
|
+
currency: string;
|
|
552
552
|
/**
|
|
553
553
|
* Formatted display address
|
|
554
554
|
*/
|
|
@@ -9,21 +9,63 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
13
13
|
*/
|
|
14
14
|
export const GeographicType = {
|
|
15
15
|
Postcode: "postcode",
|
|
16
|
-
Lsoa21: "lsoa21",
|
|
17
16
|
UkOutputArea: "uk_output_area",
|
|
17
|
+
Lsoa21: "lsoa21",
|
|
18
18
|
Ward: "ward",
|
|
19
|
-
|
|
20
|
-
County: "county",
|
|
19
|
+
Parish: "parish",
|
|
21
20
|
LocalAuthorityDistrict: "local_authority_district",
|
|
21
|
+
County: "county",
|
|
22
|
+
Country: "country",
|
|
23
|
+
CountyElectoralDivision: "county_electoral_division",
|
|
24
|
+
DistrictBoroughUnitary: "district_borough_unitary",
|
|
25
|
+
DistrictBoroughUnitaryWard: "district_borough_unitary_ward",
|
|
26
|
+
LocalPlanningAuthority: "local_planning_authority",
|
|
27
|
+
CeremonialCountiesRegion: "ceremonial_counties_region",
|
|
28
|
+
EnglishRegion: "english_region",
|
|
29
|
+
CountryRegion: "country_region",
|
|
30
|
+
UnitaryElectoralDivision: "unitary_electoral_division",
|
|
31
|
+
Province: "province",
|
|
32
|
+
ElectoralDivision: "electoral_division",
|
|
33
|
+
GreaterLondonConstituency: "greater_london_constituency",
|
|
34
|
+
ScotlandAndWalesConstituency: "scotland_and_wales_constituency",
|
|
35
|
+
ScotlandAndWalesRegion: "scotland_and_wales_region",
|
|
36
|
+
WestminsterConstituency: "westminster_constituency",
|
|
37
|
+
Building: "building",
|
|
38
|
+
BuiltUpArea250: "built_up_area_250",
|
|
39
|
+
GreenBelt: "green_belt",
|
|
40
|
+
CommonLand: "common_land",
|
|
41
|
+
ParcelsGb: "parcels_gb",
|
|
42
|
+
FloodRisk: "flood_risk",
|
|
43
|
+
Ramsar: "ramsar",
|
|
44
|
+
Natura2000: "natura_2000",
|
|
45
|
+
Aonb: "aonb",
|
|
22
46
|
AreaNaturalBeauty: "area_natural_beauty",
|
|
23
47
|
NationalScenicArea: "national_scenic_area",
|
|
48
|
+
SpecialAreaConservation: "special_area_conservation",
|
|
49
|
+
SpecialProtectionArea: "special_protection_area",
|
|
50
|
+
AncientWoodland: "ancient_woodland",
|
|
51
|
+
NativeWoodlandSurvey: "native_woodland_survey",
|
|
52
|
+
PriorityHabitats: "priority_habitats",
|
|
53
|
+
ProtectedWoodlands: "protected_woodlands",
|
|
54
|
+
ProtectedWoodland: "protected_woodland",
|
|
55
|
+
ProtectedScenicLandscapes: "protected_scenic_landscapes",
|
|
56
|
+
WorldHeritageSite: "world_heritage_site",
|
|
57
|
+
ScheduledMonument: "scheduled_monument",
|
|
58
|
+
Battlefield: "battlefield",
|
|
59
|
+
ProtectedWreckSite: "protected_wreck_site",
|
|
60
|
+
HistoricLandfillSite: "historic_landfill_site",
|
|
61
|
+
RadonLevel: "radon_level",
|
|
62
|
+
BrownfieldLand: "brownfield_land",
|
|
63
|
+
NoiseRailLden: "noise_rail_lden",
|
|
64
|
+
NoiseRoadLden: "noise_road_lden",
|
|
65
|
+
NoiseIndustryLden: "noise_industry_lden",
|
|
24
66
|
} as const;
|
|
25
67
|
/**
|
|
26
|
-
*
|
|
68
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
27
69
|
*/
|
|
28
70
|
export type GeographicType = ClosedEnum<typeof GeographicType>;
|
|
29
71
|
|
|
@@ -32,7 +74,7 @@ export type GetMetricValuesRequest = {
|
|
|
32
74
|
endPeriod?: string | undefined;
|
|
33
75
|
geographicCode?: string | undefined;
|
|
34
76
|
/**
|
|
35
|
-
*
|
|
77
|
+
* Layer type identifier. Includes ONS statistical geographies, HM Land Registry INSPIRE polygons, Environment Agency flood zones, Natural England/NatureScot environmental designations, Historic England heritage assets, and DEFRA END Directive noise mapping.
|
|
36
78
|
*/
|
|
37
79
|
geographicType?: GeographicType | undefined;
|
|
38
80
|
includeGeographyDetails?: string | undefined;
|
|
@@ -97,42 +139,126 @@ export type Pagination = {
|
|
|
97
139
|
};
|
|
98
140
|
|
|
99
141
|
/**
|
|
100
|
-
*
|
|
142
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
101
143
|
*/
|
|
102
144
|
export const GetMetricValuesGeographicType = {
|
|
103
145
|
Postcode: "postcode",
|
|
104
|
-
Lsoa21: "lsoa21",
|
|
105
146
|
UkOutputArea: "uk_output_area",
|
|
147
|
+
Lsoa21: "lsoa21",
|
|
106
148
|
Ward: "ward",
|
|
107
|
-
|
|
108
|
-
County: "county",
|
|
149
|
+
Parish: "parish",
|
|
109
150
|
LocalAuthorityDistrict: "local_authority_district",
|
|
151
|
+
County: "county",
|
|
152
|
+
Country: "country",
|
|
153
|
+
CountyElectoralDivision: "county_electoral_division",
|
|
154
|
+
DistrictBoroughUnitary: "district_borough_unitary",
|
|
155
|
+
DistrictBoroughUnitaryWard: "district_borough_unitary_ward",
|
|
156
|
+
LocalPlanningAuthority: "local_planning_authority",
|
|
157
|
+
CeremonialCountiesRegion: "ceremonial_counties_region",
|
|
158
|
+
EnglishRegion: "english_region",
|
|
159
|
+
CountryRegion: "country_region",
|
|
160
|
+
UnitaryElectoralDivision: "unitary_electoral_division",
|
|
161
|
+
Province: "province",
|
|
162
|
+
ElectoralDivision: "electoral_division",
|
|
163
|
+
GreaterLondonConstituency: "greater_london_constituency",
|
|
164
|
+
ScotlandAndWalesConstituency: "scotland_and_wales_constituency",
|
|
165
|
+
ScotlandAndWalesRegion: "scotland_and_wales_region",
|
|
166
|
+
WestminsterConstituency: "westminster_constituency",
|
|
167
|
+
Building: "building",
|
|
168
|
+
BuiltUpArea250: "built_up_area_250",
|
|
169
|
+
GreenBelt: "green_belt",
|
|
170
|
+
CommonLand: "common_land",
|
|
171
|
+
ParcelsGb: "parcels_gb",
|
|
172
|
+
FloodRisk: "flood_risk",
|
|
173
|
+
Ramsar: "ramsar",
|
|
174
|
+
Natura2000: "natura_2000",
|
|
175
|
+
Aonb: "aonb",
|
|
110
176
|
AreaNaturalBeauty: "area_natural_beauty",
|
|
111
177
|
NationalScenicArea: "national_scenic_area",
|
|
178
|
+
SpecialAreaConservation: "special_area_conservation",
|
|
179
|
+
SpecialProtectionArea: "special_protection_area",
|
|
180
|
+
AncientWoodland: "ancient_woodland",
|
|
181
|
+
NativeWoodlandSurvey: "native_woodland_survey",
|
|
182
|
+
PriorityHabitats: "priority_habitats",
|
|
183
|
+
ProtectedWoodlands: "protected_woodlands",
|
|
184
|
+
ProtectedWoodland: "protected_woodland",
|
|
185
|
+
ProtectedScenicLandscapes: "protected_scenic_landscapes",
|
|
186
|
+
WorldHeritageSite: "world_heritage_site",
|
|
187
|
+
ScheduledMonument: "scheduled_monument",
|
|
188
|
+
Battlefield: "battlefield",
|
|
189
|
+
ProtectedWreckSite: "protected_wreck_site",
|
|
190
|
+
HistoricLandfillSite: "historic_landfill_site",
|
|
191
|
+
RadonLevel: "radon_level",
|
|
192
|
+
BrownfieldLand: "brownfield_land",
|
|
193
|
+
NoiseRailLden: "noise_rail_lden",
|
|
194
|
+
NoiseRoadLden: "noise_road_lden",
|
|
195
|
+
NoiseIndustryLden: "noise_industry_lden",
|
|
112
196
|
} as const;
|
|
113
197
|
/**
|
|
114
|
-
*
|
|
198
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
115
199
|
*/
|
|
116
200
|
export type GetMetricValuesGeographicType = ClosedEnum<
|
|
117
201
|
typeof GetMetricValuesGeographicType
|
|
118
202
|
>;
|
|
119
203
|
|
|
120
204
|
/**
|
|
121
|
-
*
|
|
205
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
122
206
|
*/
|
|
123
207
|
export const GetMetricValuesType = {
|
|
124
208
|
Postcode: "postcode",
|
|
125
|
-
Lsoa21: "lsoa21",
|
|
126
209
|
UkOutputArea: "uk_output_area",
|
|
210
|
+
Lsoa21: "lsoa21",
|
|
127
211
|
Ward: "ward",
|
|
128
|
-
|
|
129
|
-
County: "county",
|
|
212
|
+
Parish: "parish",
|
|
130
213
|
LocalAuthorityDistrict: "local_authority_district",
|
|
214
|
+
County: "county",
|
|
215
|
+
Country: "country",
|
|
216
|
+
CountyElectoralDivision: "county_electoral_division",
|
|
217
|
+
DistrictBoroughUnitary: "district_borough_unitary",
|
|
218
|
+
DistrictBoroughUnitaryWard: "district_borough_unitary_ward",
|
|
219
|
+
LocalPlanningAuthority: "local_planning_authority",
|
|
220
|
+
CeremonialCountiesRegion: "ceremonial_counties_region",
|
|
221
|
+
EnglishRegion: "english_region",
|
|
222
|
+
CountryRegion: "country_region",
|
|
223
|
+
UnitaryElectoralDivision: "unitary_electoral_division",
|
|
224
|
+
Province: "province",
|
|
225
|
+
ElectoralDivision: "electoral_division",
|
|
226
|
+
GreaterLondonConstituency: "greater_london_constituency",
|
|
227
|
+
ScotlandAndWalesConstituency: "scotland_and_wales_constituency",
|
|
228
|
+
ScotlandAndWalesRegion: "scotland_and_wales_region",
|
|
229
|
+
WestminsterConstituency: "westminster_constituency",
|
|
230
|
+
Building: "building",
|
|
231
|
+
BuiltUpArea250: "built_up_area_250",
|
|
232
|
+
GreenBelt: "green_belt",
|
|
233
|
+
CommonLand: "common_land",
|
|
234
|
+
ParcelsGb: "parcels_gb",
|
|
235
|
+
FloodRisk: "flood_risk",
|
|
236
|
+
Ramsar: "ramsar",
|
|
237
|
+
Natura2000: "natura_2000",
|
|
238
|
+
Aonb: "aonb",
|
|
131
239
|
AreaNaturalBeauty: "area_natural_beauty",
|
|
132
240
|
NationalScenicArea: "national_scenic_area",
|
|
241
|
+
SpecialAreaConservation: "special_area_conservation",
|
|
242
|
+
SpecialProtectionArea: "special_protection_area",
|
|
243
|
+
AncientWoodland: "ancient_woodland",
|
|
244
|
+
NativeWoodlandSurvey: "native_woodland_survey",
|
|
245
|
+
PriorityHabitats: "priority_habitats",
|
|
246
|
+
ProtectedWoodlands: "protected_woodlands",
|
|
247
|
+
ProtectedWoodland: "protected_woodland",
|
|
248
|
+
ProtectedScenicLandscapes: "protected_scenic_landscapes",
|
|
249
|
+
WorldHeritageSite: "world_heritage_site",
|
|
250
|
+
ScheduledMonument: "scheduled_monument",
|
|
251
|
+
Battlefield: "battlefield",
|
|
252
|
+
ProtectedWreckSite: "protected_wreck_site",
|
|
253
|
+
HistoricLandfillSite: "historic_landfill_site",
|
|
254
|
+
RadonLevel: "radon_level",
|
|
255
|
+
BrownfieldLand: "brownfield_land",
|
|
256
|
+
NoiseRailLden: "noise_rail_lden",
|
|
257
|
+
NoiseRoadLden: "noise_road_lden",
|
|
258
|
+
NoiseIndustryLden: "noise_industry_lden",
|
|
133
259
|
} as const;
|
|
134
260
|
/**
|
|
135
|
-
*
|
|
261
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
136
262
|
*/
|
|
137
263
|
export type GetMetricValuesType = ClosedEnum<typeof GetMetricValuesType>;
|
|
138
264
|
|
|
@@ -140,7 +266,7 @@ export type Geography = {
|
|
|
140
266
|
code: string;
|
|
141
267
|
name: string;
|
|
142
268
|
/**
|
|
143
|
-
*
|
|
269
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
144
270
|
*/
|
|
145
271
|
type: GetMetricValuesType;
|
|
146
272
|
};
|
|
@@ -185,7 +311,7 @@ export type GetMetricValuesResult = {
|
|
|
185
311
|
createdAt: string;
|
|
186
312
|
geographicCode: string;
|
|
187
313
|
/**
|
|
188
|
-
*
|
|
314
|
+
* Layer type - supports ONS geographies (OA21, LSOA21, LAD), HMLR INSPIRE parcels, EA/NRW/SEPA flood data, environmental designations (Natura 2000, AONB/NSA), heritage assets, and noise mapping data
|
|
189
315
|
*/
|
|
190
316
|
geographicType: GetMetricValuesGeographicType;
|
|
191
317
|
geography?: Geography | undefined;
|
|
@@ -88,7 +88,7 @@ export type GetNearestPOIType = ClosedEnum<typeof GetNearestPOIType>;
|
|
|
88
88
|
/**
|
|
89
89
|
* GeoJSON Point geometry representing the POI location
|
|
90
90
|
*/
|
|
91
|
-
export type
|
|
91
|
+
export type GetNearestPOILocation = {
|
|
92
92
|
/**
|
|
93
93
|
* GeoJSON coordinates [longitude, latitude] in WGS84 (EPSG:4326)
|
|
94
94
|
*/
|
|
@@ -122,7 +122,7 @@ export type GetNearestPOIResult = {
|
|
|
122
122
|
/**
|
|
123
123
|
* GeoJSON Point geometry representing the POI location
|
|
124
124
|
*/
|
|
125
|
-
location:
|
|
125
|
+
location: GetNearestPOILocation;
|
|
126
126
|
/**
|
|
127
127
|
* Name of the point of interest
|
|
128
128
|
*/
|
|
@@ -292,8 +292,8 @@ export const GetNearestPOIType$inboundSchema: z.ZodNativeEnum<
|
|
|
292
292
|
> = z.nativeEnum(GetNearestPOIType);
|
|
293
293
|
|
|
294
294
|
/** @internal */
|
|
295
|
-
export const
|
|
296
|
-
|
|
295
|
+
export const GetNearestPOILocation$inboundSchema: z.ZodType<
|
|
296
|
+
GetNearestPOILocation,
|
|
297
297
|
z.ZodTypeDef,
|
|
298
298
|
unknown
|
|
299
299
|
> = z.object({
|
|
@@ -301,13 +301,13 @@ export const Location$inboundSchema: z.ZodType<
|
|
|
301
301
|
type: GetNearestPOIType$inboundSchema,
|
|
302
302
|
});
|
|
303
303
|
|
|
304
|
-
export function
|
|
304
|
+
export function getNearestPOILocationFromJSON(
|
|
305
305
|
jsonString: string,
|
|
306
|
-
): SafeParseResult<
|
|
306
|
+
): SafeParseResult<GetNearestPOILocation, SDKValidationError> {
|
|
307
307
|
return safeParse(
|
|
308
308
|
jsonString,
|
|
309
|
-
(x) =>
|
|
310
|
-
`Failed to parse '
|
|
309
|
+
(x) => GetNearestPOILocation$inboundSchema.parse(JSON.parse(x)),
|
|
310
|
+
`Failed to parse 'GetNearestPOILocation' from JSON`,
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
|
|
@@ -321,7 +321,7 @@ export const GetNearestPOIResult$inboundSchema: z.ZodType<
|
|
|
321
321
|
categoryId: z.string(),
|
|
322
322
|
distance: z.number().optional(),
|
|
323
323
|
id: z.number(),
|
|
324
|
-
location: z.lazy(() =>
|
|
324
|
+
location: z.lazy(() => GetNearestPOILocation$inboundSchema),
|
|
325
325
|
name: z.string(),
|
|
326
326
|
routingDistance: z.number().optional(),
|
|
327
327
|
routingDuration: z.number().optional(),
|
|
@@ -11,6 +11,7 @@ export * from "./getareaswithinradius.js";
|
|
|
11
11
|
export * from "./getborderingareas.js";
|
|
12
12
|
export * from "./getchildareas.js";
|
|
13
13
|
export * from "./getconnectivityscores.js";
|
|
14
|
+
export * from "./getepcbylocationid.js";
|
|
14
15
|
export * from "./getlistingbyid.js";
|
|
15
16
|
export * from "./getlistingbysource.js";
|
|
16
17
|
export * from "./getlistingsbylocation.js";
|
|
@@ -43,4 +44,3 @@ export * from "./searchschoolsnearby.js";
|
|
|
43
44
|
export * from "./searchschoolswithin.js";
|
|
44
45
|
export * from "./searchstreets.js";
|
|
45
46
|
export * from "./searchsuggest.js";
|
|
46
|
-
export * from "./verifyroa.js";
|
|
@@ -184,7 +184,7 @@ export type QueryListingsAddress = {
|
|
|
184
184
|
/**
|
|
185
185
|
* Country code
|
|
186
186
|
*/
|
|
187
|
-
country
|
|
187
|
+
country: string;
|
|
188
188
|
/**
|
|
189
189
|
* District
|
|
190
190
|
*/
|
|
@@ -632,7 +632,7 @@ export type QueryListingsResult = {
|
|
|
632
632
|
/**
|
|
633
633
|
* Currency code
|
|
634
634
|
*/
|
|
635
|
-
currency
|
|
635
|
+
currency: string;
|
|
636
636
|
/**
|
|
637
637
|
* Formatted display address
|
|
638
638
|
*/
|
|
@@ -126,7 +126,7 @@ export type QueryListingsBySourceAddress = {
|
|
|
126
126
|
/**
|
|
127
127
|
* Country code
|
|
128
128
|
*/
|
|
129
|
-
country
|
|
129
|
+
country: string;
|
|
130
130
|
/**
|
|
131
131
|
* District
|
|
132
132
|
*/
|
|
@@ -587,7 +587,7 @@ export type QueryListingsBySourceResult = {
|
|
|
587
587
|
/**
|
|
588
588
|
* Currency code
|
|
589
589
|
*/
|
|
590
|
-
currency
|
|
590
|
+
currency: string;
|
|
591
591
|
/**
|
|
592
592
|
* Formatted display address
|
|
593
593
|
*/
|
|
@@ -97,6 +97,19 @@ export type ResolveAddressAddressResponseBody = {
|
|
|
97
97
|
success: boolean;
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Confidence zone: H (High, >66%), M (Medium, 50-66%), L (Low, <50%)
|
|
102
|
+
*/
|
|
103
|
+
export const ConfidenceZone = {
|
|
104
|
+
H: "H",
|
|
105
|
+
M: "M",
|
|
106
|
+
L: "L",
|
|
107
|
+
} as const;
|
|
108
|
+
/**
|
|
109
|
+
* Confidence zone: H (High, >66%), M (Medium, 50-66%), L (Low, <50%)
|
|
110
|
+
*/
|
|
111
|
+
export type ConfidenceZone = ClosedEnum<typeof ConfidenceZone>;
|
|
112
|
+
|
|
100
113
|
/**
|
|
101
114
|
* Source of the match
|
|
102
115
|
*/
|
|
@@ -200,10 +213,6 @@ export type ResolveAddressMetadata = {
|
|
|
200
213
|
* Total execution time in milliseconds
|
|
201
214
|
*/
|
|
202
215
|
executionTimeMs: number;
|
|
203
|
-
/**
|
|
204
|
-
* Whether fast-path matching was used
|
|
205
|
-
*/
|
|
206
|
-
fastPath?: boolean | undefined;
|
|
207
216
|
/**
|
|
208
217
|
* Detected address pattern type
|
|
209
218
|
*/
|
|
@@ -214,6 +223,18 @@ export type ResolveAddressMetadata = {
|
|
|
214
223
|
processingSteps?: Array<ProcessingSteps> | undefined;
|
|
215
224
|
};
|
|
216
225
|
|
|
226
|
+
/**
|
|
227
|
+
* Recommendation: A (Accept - safe to auto-accept) or I (Intervention - requires human review)
|
|
228
|
+
*/
|
|
229
|
+
export const RecommendationCode = {
|
|
230
|
+
A: "A",
|
|
231
|
+
I: "I",
|
|
232
|
+
} as const;
|
|
233
|
+
/**
|
|
234
|
+
* Recommendation: A (Accept - safe to auto-accept) or I (Intervention - requires human review)
|
|
235
|
+
*/
|
|
236
|
+
export type RecommendationCode = ClosedEnum<typeof RecommendationCode>;
|
|
237
|
+
|
|
217
238
|
/**
|
|
218
239
|
* Matching results (only present on success)
|
|
219
240
|
*/
|
|
@@ -222,6 +243,10 @@ export type Result = {
|
|
|
222
243
|
* Overall confidence score of the results
|
|
223
244
|
*/
|
|
224
245
|
confidence: number;
|
|
246
|
+
/**
|
|
247
|
+
* Confidence zone: H (High, >66%), M (Medium, 50-66%), L (Low, <50%)
|
|
248
|
+
*/
|
|
249
|
+
confidenceZone?: ConfidenceZone | undefined;
|
|
225
250
|
/**
|
|
226
251
|
* Array of matched addresses
|
|
227
252
|
*/
|
|
@@ -230,6 +255,14 @@ export type Result = {
|
|
|
230
255
|
* Metadata about the matching process
|
|
231
256
|
*/
|
|
232
257
|
metadata: ResolveAddressMetadata;
|
|
258
|
+
/**
|
|
259
|
+
* Recommendation: A (Accept - safe to auto-accept) or I (Intervention - requires human review)
|
|
260
|
+
*/
|
|
261
|
+
recommendationCode?: RecommendationCode | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Gap between top-2 match confidences (0-100). Higher values indicate clearer match distinction.
|
|
264
|
+
*/
|
|
265
|
+
unambiguityScore?: number | undefined;
|
|
233
266
|
};
|
|
234
267
|
|
|
235
268
|
/**
|
|
@@ -388,6 +421,11 @@ export function resolveAddressAddressResponseBodyFromJSON(
|
|
|
388
421
|
);
|
|
389
422
|
}
|
|
390
423
|
|
|
424
|
+
/** @internal */
|
|
425
|
+
export const ConfidenceZone$inboundSchema: z.ZodNativeEnum<
|
|
426
|
+
typeof ConfidenceZone
|
|
427
|
+
> = z.nativeEnum(ConfidenceZone);
|
|
428
|
+
|
|
391
429
|
/** @internal */
|
|
392
430
|
export const Source$inboundSchema: z.ZodNativeEnum<typeof Source> = z
|
|
393
431
|
.nativeEnum(Source);
|
|
@@ -452,7 +490,6 @@ export const ResolveAddressMetadata$inboundSchema: z.ZodType<
|
|
|
452
490
|
> = z.object({
|
|
453
491
|
addressCount: z.number(),
|
|
454
492
|
executionTimeMs: z.number(),
|
|
455
|
-
fastPath: z.boolean().optional(),
|
|
456
493
|
pattern: Pattern$inboundSchema,
|
|
457
494
|
processingSteps: z.array(z.lazy(() => ProcessingSteps$inboundSchema))
|
|
458
495
|
.optional(),
|
|
@@ -468,12 +505,20 @@ export function resolveAddressMetadataFromJSON(
|
|
|
468
505
|
);
|
|
469
506
|
}
|
|
470
507
|
|
|
508
|
+
/** @internal */
|
|
509
|
+
export const RecommendationCode$inboundSchema: z.ZodNativeEnum<
|
|
510
|
+
typeof RecommendationCode
|
|
511
|
+
> = z.nativeEnum(RecommendationCode);
|
|
512
|
+
|
|
471
513
|
/** @internal */
|
|
472
514
|
export const Result$inboundSchema: z.ZodType<Result, z.ZodTypeDef, unknown> = z
|
|
473
515
|
.object({
|
|
474
516
|
confidence: z.number(),
|
|
517
|
+
confidenceZone: ConfidenceZone$inboundSchema.optional(),
|
|
475
518
|
matches: z.array(z.lazy(() => Matches$inboundSchema)),
|
|
476
519
|
metadata: z.lazy(() => ResolveAddressMetadata$inboundSchema),
|
|
520
|
+
recommendationCode: RecommendationCode$inboundSchema.optional(),
|
|
521
|
+
unambiguityScore: z.number().optional(),
|
|
477
522
|
});
|
|
478
523
|
|
|
479
524
|
export function resultFromJSON(
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
10
|
|
|
@@ -14,12 +15,66 @@ export type ConstructionAge = {
|
|
|
14
15
|
startYear?: number | undefined;
|
|
15
16
|
};
|
|
16
17
|
|
|
18
|
+
export const BuildDataPropertyType = {
|
|
19
|
+
Unknown: "unknown",
|
|
20
|
+
Other: "other",
|
|
21
|
+
Flat: "flat",
|
|
22
|
+
Detached: "detached",
|
|
23
|
+
SemiDetached: "semiDetached",
|
|
24
|
+
Terraced: "terraced",
|
|
25
|
+
Bungalow: "bungalow",
|
|
26
|
+
Maisonette: "maisonette",
|
|
27
|
+
Cottage: "cottage",
|
|
28
|
+
Chalet: "chalet",
|
|
29
|
+
Lodge: "lodge",
|
|
30
|
+
MobileHome: "mobileHome",
|
|
31
|
+
Houseboat: "houseboat",
|
|
32
|
+
Retirement: "retirement",
|
|
33
|
+
CharacterProperty: "characterProperty",
|
|
34
|
+
BlockOfFlats: "blockOfFlats",
|
|
35
|
+
HouseShare: "houseShare",
|
|
36
|
+
Farmhouse: "farmhouse",
|
|
37
|
+
Mill: "mill",
|
|
38
|
+
Barn: "barn",
|
|
39
|
+
CoachHouse: "coachHouse",
|
|
40
|
+
StatelyHome: "statelyHome",
|
|
41
|
+
Farm: "farm",
|
|
42
|
+
Parking: "parking",
|
|
43
|
+
Equestrian: "equestrian",
|
|
44
|
+
Restaurant: "restaurant",
|
|
45
|
+
Industrial: "industrial",
|
|
46
|
+
Warehouse: "warehouse",
|
|
47
|
+
Leisure: "leisure",
|
|
48
|
+
Retail: "retail",
|
|
49
|
+
Land: "land",
|
|
50
|
+
Office: "office",
|
|
51
|
+
Riad: "riad",
|
|
52
|
+
Hotel: "hotel",
|
|
53
|
+
StudentAccommodation: "studentAccommodation",
|
|
54
|
+
Commercial: "commercial",
|
|
55
|
+
Pub: "pub",
|
|
56
|
+
Bar: "bar",
|
|
57
|
+
HotelRoom: "hotelRoom",
|
|
58
|
+
Shop: "shop",
|
|
59
|
+
RetailHighStreet: "retailHighStreet",
|
|
60
|
+
RetailOutOfTown: "retailOutOfTown",
|
|
61
|
+
IndustrialDevelopment: "industrialDevelopment",
|
|
62
|
+
DistributionWarehouse: "distributionWarehouse",
|
|
63
|
+
IndustrialPark: "industrialPark",
|
|
64
|
+
Storage: "storage",
|
|
65
|
+
ServicedOffice: "servicedOffice",
|
|
66
|
+
ResidentialDevelopment: "residentialDevelopment",
|
|
67
|
+
CommercialDevelopment: "commercialDevelopment",
|
|
68
|
+
MixedUse: "mixedUse",
|
|
69
|
+
} as const;
|
|
70
|
+
export type BuildDataPropertyType = ClosedEnum<typeof BuildDataPropertyType>;
|
|
71
|
+
|
|
17
72
|
export type BuildData = {
|
|
18
73
|
constructionAge?: ConstructionAge | null | undefined;
|
|
19
74
|
floorHeight?: number | null | undefined;
|
|
20
75
|
mainFuel?: string | null | undefined;
|
|
21
76
|
mainsGasFlag?: string | null | undefined;
|
|
22
|
-
propertyType?:
|
|
77
|
+
propertyType?: BuildDataPropertyType | null | undefined;
|
|
23
78
|
roofType?: string | null | undefined;
|
|
24
79
|
subPropertyType?: string | null | undefined;
|
|
25
80
|
totalFloorArea?: number | null | undefined;
|
|
@@ -49,6 +104,11 @@ export function constructionAgeFromJSON(
|
|
|
49
104
|
);
|
|
50
105
|
}
|
|
51
106
|
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const BuildDataPropertyType$inboundSchema: z.ZodNativeEnum<
|
|
109
|
+
typeof BuildDataPropertyType
|
|
110
|
+
> = z.nativeEnum(BuildDataPropertyType);
|
|
111
|
+
|
|
52
112
|
/** @internal */
|
|
53
113
|
export const BuildData$inboundSchema: z.ZodType<
|
|
54
114
|
BuildData,
|
|
@@ -60,7 +120,7 @@ export const BuildData$inboundSchema: z.ZodType<
|
|
|
60
120
|
floorHeight: z.nullable(z.number()).optional(),
|
|
61
121
|
mainFuel: z.nullable(z.string()).optional(),
|
|
62
122
|
mainsGasFlag: z.nullable(z.string()).optional(),
|
|
63
|
-
propertyType: z.nullable(
|
|
123
|
+
propertyType: z.nullable(BuildDataPropertyType$inboundSchema).optional(),
|
|
64
124
|
roofType: z.nullable(z.string()).optional(),
|
|
65
125
|
subPropertyType: z.nullable(z.string()).optional(),
|
|
66
126
|
totalFloorArea: z.nullable(z.number()).optional(),
|
|
@@ -44,9 +44,6 @@ export * from "./propertyqueryoperator.js";
|
|
|
44
44
|
export * from "./propertyqueryrequest.js";
|
|
45
45
|
export * from "./propertytags.js";
|
|
46
46
|
export * from "./refurbishmentdata.js";
|
|
47
|
-
export * from "./roaerror.js";
|
|
48
|
-
export * from "./roaverifyrequest.js";
|
|
49
|
-
export * from "./roaverifyresponse.js";
|
|
50
47
|
export * from "./roomdetails.js";
|
|
51
48
|
export * from "./salerecord.js";
|
|
52
49
|
export * from "./school.js";
|
|
@@ -8,7 +8,7 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
10
|
export type PropertyAddress = {
|
|
11
|
-
country
|
|
11
|
+
country: string;
|
|
12
12
|
/**
|
|
13
13
|
* Formatted display address
|
|
14
14
|
*/
|