@ideal-postcodes/sdk 0.6.0 → 0.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/CHANGELOG.md +12 -0
- package/dist/autocomplete.d.cts +1 -1
- package/dist/autocomplete.d.ts +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/preact-query.d.cts +7 -15
- package/dist/preact-query.d.ts +7 -15
- package/dist/react-query.d.cts +7 -15
- package/dist/react-query.d.ts +7 -15
- package/dist/{sdk.gen-CSpNAe9a.d.ts → sdk.gen-D97oQip1.d.ts} +6 -14
- package/dist/{sdk.gen-DakqyGdg.d.cts → sdk.gen-DFwujfn3.d.cts} +6 -14
- package/dist/{types.gen-gAmGoryx.d.cts → types.gen-8XgmJrsh.d.cts} +66 -8
- package/dist/{types.gen-gAmGoryx.d.ts → types.gen-8XgmJrsh.d.ts} +66 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ideal-postcodes/sdk
|
|
2
2
|
|
|
3
|
+
## 0.8.0 (2026-11-26)
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- `starting_after` on the licensee list takes the licensee `id` as a string
|
|
8
|
+
|
|
9
|
+
## 0.7.0 (2026-11-25)
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- `remove_organisation` query option on `postcodes`, `addresses`, `resolveAddress` and `addressCleanse`. Pass `"true"` to leave organisation and department names out of the address lines
|
|
14
|
+
|
|
3
15
|
## 0.6.0 (2026-10-22)
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/autocomplete.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CacheOptions } from './index.d-CUirxwnK.cjs';
|
|
2
|
-
import { F as FindAddressData, a as FindAddressResponse, R as ResolveAddressResponse, C as Client } from './types.gen-
|
|
2
|
+
import { F as FindAddressData, a as FindAddressResponse, R as ResolveAddressResponse, C as Client } from './types.gen-8XgmJrsh.cjs';
|
|
3
3
|
|
|
4
4
|
interface CreateAutocompleteOptions {
|
|
5
5
|
client: Client;
|
package/dist/autocomplete.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as CacheOptions } from './index.d-CUirxwnK.js';
|
|
2
|
-
import { F as FindAddressData, a as FindAddressResponse, R as ResolveAddressResponse, C as Client } from './types.gen-
|
|
2
|
+
import { F as FindAddressData, a as FindAddressResponse, R as ResolveAddressResponse, C as Client } from './types.gen-8XgmJrsh.js';
|
|
3
3
|
|
|
4
4
|
interface CreateAutocompleteOptions {
|
|
5
5
|
client: Client;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as Credentials } from './index.d-CUirxwnK.cjs';
|
|
2
2
|
export { A as ApiError } from './index.d-CUirxwnK.cjs';
|
|
3
|
-
import { C as Client, P as PostcodesData, A as AddressListItem } from './types.gen-
|
|
4
|
-
export { b as AbAddress, c as AbpAddress, d as Address, e as AddressCleanseData, f as AddressCleanseError, g as AddressCleanseErrors, h as AddressCleanseResponse, i as AddressCleanseResponses, j as AddressLatitudeParam, k as AddressLongitudeParam, l as AddressResponse, m as AddressSuggestion, n as AddressesData, o as AddressesError, p as AddressesErrors, q as AddressesResponse, r as AddressesResponses, s as ApiKey, t as ApiKeyAutomatedTopup, u as ApiKeyCurrentPurchase, v as ApiKeyDailyLimit, w as ApiKeyDatasets, x as ApiKeyDetails, y as ApiKeyDetailsEditable, z as ApiKeyDetailsResponse, B as ApiKeyIndividualLimit, D as ApiKeyMonthlyLimit, E as ApiKeyNotifications, G as ApiKeyParam, H as ApiKeyPathParam, I as ApiKeyResponse, J as ApiKeyUsageResponse, K as AutocompleteResponse, L as AvailableContexts, M as BanAddress, N as BevAddress, O as BiasCityParam, Q as BiasCountryIsoParam, S as BiasCountryParam, T as BiasIpParam, U as BiasLonLatParam, V as BiasPostalCode2Param, W as BiasPostalCode3Param, X as BiasPostalCodeParam, Y as BiasPostcodeAreaParam, Z as BiasPostcodeOutwardParam, _ as BiasPostcodeParam, $ as BiasPostcodeSectorParam, a0 as BiasPosttownParam, a1 as BiasStateCodeParam, a2 as BiasStateParam, a3 as BiasThoroughfareParam, a4 as BoxParam, a5 as CannarAddress, a6 as Carrier, a7 as CityParam, a8 as CleanseResponse, a9 as ClientOptions, aa as Config, ab as ConfigNewParam, ac as ConfigParam, ad as ConfigResponse, ae as ConfigUpdateParam, af as ConfigsResponse, ag as Context, ah as ContextParam, ai as Country, aj as CountryIso, ak as CountryIso2, al as CountryIsoParam, am as CountryParam, an as CreateConfigData, ao as CreateConfigError, ap as CreateConfigErrors, aq as CreateConfigResponse, ar as CreateConfigResponses, as as CreateLicenseeData, at as CreateLicenseeError, au as CreateLicenseeErrors, av as CreateLicenseeResponse, aw as CreateLicenseeResponses, ax as Dataset, ay as DatasetParam, az as DeleteConfigData, aA as DeleteConfigError, aB as DeleteConfigErrors, aC as DeleteConfigResponse, aD as DeleteConfigResponses, aE as DeleteLicenseeData, aF as DeleteLicenseeError, aG as DeleteLicenseeErrors, aH as DeleteLicenseeResponse, aI as DeleteLicenseeResponses, aJ as Eastings, aK as EcadAddress, aL as EcafAddress, aM as EircBase, aN as Email, aO as EmailResponse, aP as EmailValidationData, aQ as EmailValidationError, aR as EmailValidationErrors, aS as EmailValidationResponse, aT as EmailValidationResponses, aU as EndParam, aV as ErrorResponse, aW as FilterParam, F as FindAddressData, aX as FindAddressError, aY as FindAddressErrors, a as FindAddressResponse, aZ as FindAddressResponses, a_ as FindPlaceData, a$ as FindPlaceError, b0 as FindPlaceErrors, b1 as FindPlaceResponse, b2 as FindPlaceResponses, b3 as FodbosaAddress, b4 as GbrCleanseMatch, b5 as GbrCleanseNoMatch, b6 as GbrResolveAddressResponse, b7 as GeonamesPlace, b8 as GnafAddress, b9 as HereAddress, ba as Id, bb as InvalidPhoneNumber, bc as IsBusinessParam, bd as IsPoboxParam, be as KadasterAddress, bf as KartverketAddress, bg as KeyAvailabilityData, bh as KeyAvailabilityError, bi as KeyAvailabilityErrors, bj as KeyAvailabilityResponse, bk as KeyAvailabilityResponses, bl as KeyDetailsData, bm as KeyDetailsError, bn as KeyDetailsErrors, bo as KeyDetailsResponse, bp as KeyDetailsResponses, bq as KeyLogsData, br as KeyLogsError, bs as KeyLogsErrors, bt as KeyLogsResponse, bu as KeyLogsResponses, bv as KeyUsageData, bw as KeyUsageError, bx as KeyUsageErrors, by as KeyUsageResponse, bz as KeyUsageResponses, bA as KeyUsageResult, bB as Language, bC as Latitude, bD as Licensee, bE as LicenseeEditable, bF as LicenseeParam, bG as LicenseePathParam, bH as LicenseeResponse, bI as LicenseesResponse, bJ as LimitParam, bK as ListConfigsData, bL as ListConfigsError, bM as ListConfigsErrors, bN as ListConfigsResponse, bO as ListConfigsResponses, bP as ListLicenseesData, bQ as ListLicenseesError, bR as ListLicenseesErrors, bS as ListLicenseesResponse, bT as ListLicenseesResponses, bU as Longitude, bV as MoisAddress, bW as MrAddress, bX as NativeRecord, bY as NoContext, bZ as Northings, b_ as NotFoundResponse, b$ as NybAddress, c0 as PafAddress, c1 as PafRecordBase, c2 as PafaAddress, c3 as PafwAddress, c4 as PageParam, c5 as PhoneNumber, c6 as PhoneNumberResponse, c7 as PhoneNumberValidationData, c8 as PhoneNumberValidationError, c9 as PhoneNumberValidationErrors, ca as PhoneNumberValidationResponse, cb as PhoneNumberValidationResponses, cc as Place, cd as PlaceCountryIso, ce as PlaceDescriptiveName, cf as PlaceId, cg as PlaceName, ch as PlaceResponse, ci as PlaceSuggestion, cj as PostTownParam, ck as PostalCode2Param, cl as PostalCode3Param, cm as PostalCodeParam, cn as PostcodeAreaParam, co as PostcodeNotFoundResponse, cp as PostcodeOutwardParam, cq as PostcodeParam, cr as PostcodeResponse, cs as PostcodeSectorParam, ct as PostcodeTypeParam, cu as PostcodesError, cv as PostcodesErrors, cw as PostcodesResponse, cx as PostcodesResponses, cy as RegenerateLicenseeKeyData, cz as RegenerateLicenseeKeyError, cA as RegenerateLicenseeKeyErrors, cB as RegenerateLicenseeKeyResponse, cC as RegenerateLicenseeKeyResponses, cD as
|
|
5
|
-
export { O as Options, a as addressCleanse, b as addresses, c as createConfig, d as createLicensee, e as deleteConfig, f as deleteLicensee, g as emailValidation, h as findAddress, i as findPlace, k as keyAvailability, j as keyDetails, l as keyLogs, m as keyUsage, n as listConfigs, o as listLicensees, p as phoneNumberValidation, q as postcodes, r as regenerateLicenseeKey, s as resolveAddress, t as resolvePlace, u as retrieveConfig, v as retrieveLicensee, w as updateConfig, x as updateKeyDetails, y as updateLicensee } from './sdk.gen-
|
|
3
|
+
import { C as Client, P as PostcodesData, A as AddressListItem } from './types.gen-8XgmJrsh.cjs';
|
|
4
|
+
export { b as AbAddress, c as AbpAddress, d as Address, e as AddressCleanseData, f as AddressCleanseError, g as AddressCleanseErrors, h as AddressCleanseResponse, i as AddressCleanseResponses, j as AddressLatitudeParam, k as AddressLongitudeParam, l as AddressResponse, m as AddressSuggestion, n as AddressesData, o as AddressesError, p as AddressesErrors, q as AddressesResponse, r as AddressesResponses, s as ApiKey, t as ApiKeyAutomatedTopup, u as ApiKeyCurrentPurchase, v as ApiKeyDailyLimit, w as ApiKeyDatasets, x as ApiKeyDetails, y as ApiKeyDetailsEditable, z as ApiKeyDetailsResponse, B as ApiKeyIndividualLimit, D as ApiKeyMonthlyLimit, E as ApiKeyNotifications, G as ApiKeyParam, H as ApiKeyPathParam, I as ApiKeyResponse, J as ApiKeyUsageResponse, K as AutocompleteResponse, L as AvailableContexts, M as BanAddress, N as BevAddress, O as BiasCityParam, Q as BiasCountryIsoParam, S as BiasCountryParam, T as BiasIpParam, U as BiasLonLatParam, V as BiasPostalCode2Param, W as BiasPostalCode3Param, X as BiasPostalCodeParam, Y as BiasPostcodeAreaParam, Z as BiasPostcodeOutwardParam, _ as BiasPostcodeParam, $ as BiasPostcodeSectorParam, a0 as BiasPosttownParam, a1 as BiasStateCodeParam, a2 as BiasStateParam, a3 as BiasThoroughfareParam, a4 as BoxParam, a5 as CannarAddress, a6 as Carrier, a7 as CityParam, a8 as CleanseResponse, a9 as ClientOptions, aa as Config, ab as ConfigNewParam, ac as ConfigParam, ad as ConfigResponse, ae as ConfigUpdateParam, af as ConfigsResponse, ag as Context, ah as ContextParam, ai as Country, aj as CountryIso, ak as CountryIso2, al as CountryIsoParam, am as CountryParam, an as CreateConfigData, ao as CreateConfigError, ap as CreateConfigErrors, aq as CreateConfigResponse, ar as CreateConfigResponses, as as CreateLicenseeData, at as CreateLicenseeError, au as CreateLicenseeErrors, av as CreateLicenseeResponse, aw as CreateLicenseeResponses, ax as Dataset, ay as DatasetParam, az as DeleteConfigData, aA as DeleteConfigError, aB as DeleteConfigErrors, aC as DeleteConfigResponse, aD as DeleteConfigResponses, aE as DeleteLicenseeData, aF as DeleteLicenseeError, aG as DeleteLicenseeErrors, aH as DeleteLicenseeResponse, aI as DeleteLicenseeResponses, aJ as Eastings, aK as EcadAddress, aL as EcafAddress, aM as EircBase, aN as Email, aO as EmailResponse, aP as EmailValidationData, aQ as EmailValidationError, aR as EmailValidationErrors, aS as EmailValidationResponse, aT as EmailValidationResponses, aU as EndParam, aV as ErrorResponse, aW as FilterParam, F as FindAddressData, aX as FindAddressError, aY as FindAddressErrors, a as FindAddressResponse, aZ as FindAddressResponses, a_ as FindPlaceData, a$ as FindPlaceError, b0 as FindPlaceErrors, b1 as FindPlaceResponse, b2 as FindPlaceResponses, b3 as FodbosaAddress, b4 as GbrCleanseMatch, b5 as GbrCleanseNoMatch, b6 as GbrResolveAddressResponse, b7 as GeonamesPlace, b8 as GnafAddress, b9 as HereAddress, ba as Id, bb as InvalidPhoneNumber, bc as IsBusinessParam, bd as IsPoboxParam, be as KadasterAddress, bf as KartverketAddress, bg as KeyAvailabilityData, bh as KeyAvailabilityError, bi as KeyAvailabilityErrors, bj as KeyAvailabilityResponse, bk as KeyAvailabilityResponses, bl as KeyDetailsData, bm as KeyDetailsError, bn as KeyDetailsErrors, bo as KeyDetailsResponse, bp as KeyDetailsResponses, bq as KeyLogsData, br as KeyLogsError, bs as KeyLogsErrors, bt as KeyLogsResponse, bu as KeyLogsResponses, bv as KeyUsageData, bw as KeyUsageError, bx as KeyUsageErrors, by as KeyUsageResponse, bz as KeyUsageResponses, bA as KeyUsageResult, bB as Language, bC as Latitude, bD as Licensee, bE as LicenseeEditable, bF as LicenseeParam, bG as LicenseePathParam, bH as LicenseeResponse, bI as LicenseesResponse, bJ as LimitParam, bK as ListConfigsData, bL as ListConfigsError, bM as ListConfigsErrors, bN as ListConfigsResponse, bO as ListConfigsResponses, bP as ListLicenseesData, bQ as ListLicenseesError, bR as ListLicenseesErrors, bS as ListLicenseesResponse, bT as ListLicenseesResponses, bU as Longitude, bV as MoisAddress, bW as MrAddress, bX as NativeRecord, bY as NoContext, bZ as Northings, b_ as NotFoundResponse, b$ as NybAddress, c0 as PafAddress, c1 as PafRecordBase, c2 as PafaAddress, c3 as PafwAddress, c4 as PageParam, c5 as PhoneNumber, c6 as PhoneNumberResponse, c7 as PhoneNumberValidationData, c8 as PhoneNumberValidationError, c9 as PhoneNumberValidationErrors, ca as PhoneNumberValidationResponse, cb as PhoneNumberValidationResponses, cc as Place, cd as PlaceCountryIso, ce as PlaceDescriptiveName, cf as PlaceId, cg as PlaceName, ch as PlaceResponse, ci as PlaceSuggestion, cj as PostTownParam, ck as PostalCode2Param, cl as PostalCode3Param, cm as PostalCodeParam, cn as PostcodeAreaParam, co as PostcodeNotFoundResponse, cp as PostcodeOutwardParam, cq as PostcodeParam, cr as PostcodeResponse, cs as PostcodeSectorParam, ct as PostcodeTypeParam, cu as PostcodesError, cv as PostcodesErrors, cw as PostcodesResponse, cx as PostcodesResponses, cy as RegenerateLicenseeKeyData, cz as RegenerateLicenseeKeyError, cA as RegenerateLicenseeKeyErrors, cB as RegenerateLicenseeKeyResponse, cC as RegenerateLicenseeKeyResponses, cD as RemoveOrganisationParam, cE as ResolveAddressData, cF as ResolveAddressError, cG as ResolveAddressErrors, R as ResolveAddressResponse, cH as ResolveAddressResponses, cI as ResolvePlaceData, cJ as ResolvePlaceError, cK as ResolvePlaceErrors, cL as ResolvePlaceResponse, cM as ResolvePlaceResponse2, cN as ResolvePlaceResponses, cO as RetrieveConfigData, cP as RetrieveConfigError, cQ as RetrieveConfigErrors, cR as RetrieveConfigResponse, cS as RetrieveConfigResponses, cT as RetrieveLicenseeData, cU as RetrieveLicenseeError, cV as RetrieveLicenseeErrors, cW as RetrieveLicenseeResponse, cX as RetrieveLicenseeResponses, cY as SdfiAddress, cZ as SmallUserParam, c_ as StartParam, c$ as StateCodeParam, d0 as StateParam, d1 as SwtAddress, d2 as TagsParam, d3 as UkAddressSuggestion, d4 as UnknownEmail, d5 as UpdateConfigData, d6 as UpdateConfigError, d7 as UpdateConfigErrors, d8 as UpdateConfigResponse, d9 as UpdateConfigResponses, da as UpdateKeyDetailsData, db as UpdateKeyDetailsError, dc as UpdateKeyDetailsErrors, dd as UpdateKeyDetailsResponse, de as UpdateKeyDetailsResponses, df as UpdateLicenseeData, dg as UpdateLicenseeError, dh as UpdateLicenseeErrors, di as UpdateLicenseeResponse, dj as UpdateLicenseeResponses, dk as UprnParam, dl as UpujpAddress, dm as UspsAddress } from './types.gen-8XgmJrsh.cjs';
|
|
5
|
+
export { O as Options, a as addressCleanse, b as addresses, c as createConfig, d as createLicensee, e as deleteConfig, f as deleteLicensee, g as emailValidation, h as findAddress, i as findPlace, k as keyAvailability, j as keyDetails, l as keyLogs, m as keyUsage, n as listConfigs, o as listLicensees, p as phoneNumberValidation, q as postcodes, r as regenerateLicenseeKey, s as resolveAddress, t as resolvePlace, u as retrieveConfig, v as retrieveLicensee, w as updateConfig, x as updateKeyDetails, y as updateLicensee } from './sdk.gen-DFwujfn3.cjs';
|
|
6
6
|
|
|
7
7
|
interface IdpcClientOptions extends Credentials {
|
|
8
8
|
baseUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as Credentials } from './index.d-CUirxwnK.js';
|
|
2
2
|
export { A as ApiError } from './index.d-CUirxwnK.js';
|
|
3
|
-
import { C as Client, P as PostcodesData, A as AddressListItem } from './types.gen-
|
|
4
|
-
export { b as AbAddress, c as AbpAddress, d as Address, e as AddressCleanseData, f as AddressCleanseError, g as AddressCleanseErrors, h as AddressCleanseResponse, i as AddressCleanseResponses, j as AddressLatitudeParam, k as AddressLongitudeParam, l as AddressResponse, m as AddressSuggestion, n as AddressesData, o as AddressesError, p as AddressesErrors, q as AddressesResponse, r as AddressesResponses, s as ApiKey, t as ApiKeyAutomatedTopup, u as ApiKeyCurrentPurchase, v as ApiKeyDailyLimit, w as ApiKeyDatasets, x as ApiKeyDetails, y as ApiKeyDetailsEditable, z as ApiKeyDetailsResponse, B as ApiKeyIndividualLimit, D as ApiKeyMonthlyLimit, E as ApiKeyNotifications, G as ApiKeyParam, H as ApiKeyPathParam, I as ApiKeyResponse, J as ApiKeyUsageResponse, K as AutocompleteResponse, L as AvailableContexts, M as BanAddress, N as BevAddress, O as BiasCityParam, Q as BiasCountryIsoParam, S as BiasCountryParam, T as BiasIpParam, U as BiasLonLatParam, V as BiasPostalCode2Param, W as BiasPostalCode3Param, X as BiasPostalCodeParam, Y as BiasPostcodeAreaParam, Z as BiasPostcodeOutwardParam, _ as BiasPostcodeParam, $ as BiasPostcodeSectorParam, a0 as BiasPosttownParam, a1 as BiasStateCodeParam, a2 as BiasStateParam, a3 as BiasThoroughfareParam, a4 as BoxParam, a5 as CannarAddress, a6 as Carrier, a7 as CityParam, a8 as CleanseResponse, a9 as ClientOptions, aa as Config, ab as ConfigNewParam, ac as ConfigParam, ad as ConfigResponse, ae as ConfigUpdateParam, af as ConfigsResponse, ag as Context, ah as ContextParam, ai as Country, aj as CountryIso, ak as CountryIso2, al as CountryIsoParam, am as CountryParam, an as CreateConfigData, ao as CreateConfigError, ap as CreateConfigErrors, aq as CreateConfigResponse, ar as CreateConfigResponses, as as CreateLicenseeData, at as CreateLicenseeError, au as CreateLicenseeErrors, av as CreateLicenseeResponse, aw as CreateLicenseeResponses, ax as Dataset, ay as DatasetParam, az as DeleteConfigData, aA as DeleteConfigError, aB as DeleteConfigErrors, aC as DeleteConfigResponse, aD as DeleteConfigResponses, aE as DeleteLicenseeData, aF as DeleteLicenseeError, aG as DeleteLicenseeErrors, aH as DeleteLicenseeResponse, aI as DeleteLicenseeResponses, aJ as Eastings, aK as EcadAddress, aL as EcafAddress, aM as EircBase, aN as Email, aO as EmailResponse, aP as EmailValidationData, aQ as EmailValidationError, aR as EmailValidationErrors, aS as EmailValidationResponse, aT as EmailValidationResponses, aU as EndParam, aV as ErrorResponse, aW as FilterParam, F as FindAddressData, aX as FindAddressError, aY as FindAddressErrors, a as FindAddressResponse, aZ as FindAddressResponses, a_ as FindPlaceData, a$ as FindPlaceError, b0 as FindPlaceErrors, b1 as FindPlaceResponse, b2 as FindPlaceResponses, b3 as FodbosaAddress, b4 as GbrCleanseMatch, b5 as GbrCleanseNoMatch, b6 as GbrResolveAddressResponse, b7 as GeonamesPlace, b8 as GnafAddress, b9 as HereAddress, ba as Id, bb as InvalidPhoneNumber, bc as IsBusinessParam, bd as IsPoboxParam, be as KadasterAddress, bf as KartverketAddress, bg as KeyAvailabilityData, bh as KeyAvailabilityError, bi as KeyAvailabilityErrors, bj as KeyAvailabilityResponse, bk as KeyAvailabilityResponses, bl as KeyDetailsData, bm as KeyDetailsError, bn as KeyDetailsErrors, bo as KeyDetailsResponse, bp as KeyDetailsResponses, bq as KeyLogsData, br as KeyLogsError, bs as KeyLogsErrors, bt as KeyLogsResponse, bu as KeyLogsResponses, bv as KeyUsageData, bw as KeyUsageError, bx as KeyUsageErrors, by as KeyUsageResponse, bz as KeyUsageResponses, bA as KeyUsageResult, bB as Language, bC as Latitude, bD as Licensee, bE as LicenseeEditable, bF as LicenseeParam, bG as LicenseePathParam, bH as LicenseeResponse, bI as LicenseesResponse, bJ as LimitParam, bK as ListConfigsData, bL as ListConfigsError, bM as ListConfigsErrors, bN as ListConfigsResponse, bO as ListConfigsResponses, bP as ListLicenseesData, bQ as ListLicenseesError, bR as ListLicenseesErrors, bS as ListLicenseesResponse, bT as ListLicenseesResponses, bU as Longitude, bV as MoisAddress, bW as MrAddress, bX as NativeRecord, bY as NoContext, bZ as Northings, b_ as NotFoundResponse, b$ as NybAddress, c0 as PafAddress, c1 as PafRecordBase, c2 as PafaAddress, c3 as PafwAddress, c4 as PageParam, c5 as PhoneNumber, c6 as PhoneNumberResponse, c7 as PhoneNumberValidationData, c8 as PhoneNumberValidationError, c9 as PhoneNumberValidationErrors, ca as PhoneNumberValidationResponse, cb as PhoneNumberValidationResponses, cc as Place, cd as PlaceCountryIso, ce as PlaceDescriptiveName, cf as PlaceId, cg as PlaceName, ch as PlaceResponse, ci as PlaceSuggestion, cj as PostTownParam, ck as PostalCode2Param, cl as PostalCode3Param, cm as PostalCodeParam, cn as PostcodeAreaParam, co as PostcodeNotFoundResponse, cp as PostcodeOutwardParam, cq as PostcodeParam, cr as PostcodeResponse, cs as PostcodeSectorParam, ct as PostcodeTypeParam, cu as PostcodesError, cv as PostcodesErrors, cw as PostcodesResponse, cx as PostcodesResponses, cy as RegenerateLicenseeKeyData, cz as RegenerateLicenseeKeyError, cA as RegenerateLicenseeKeyErrors, cB as RegenerateLicenseeKeyResponse, cC as RegenerateLicenseeKeyResponses, cD as
|
|
5
|
-
export { O as Options, a as addressCleanse, b as addresses, c as createConfig, d as createLicensee, e as deleteConfig, f as deleteLicensee, g as emailValidation, h as findAddress, i as findPlace, k as keyAvailability, j as keyDetails, l as keyLogs, m as keyUsage, n as listConfigs, o as listLicensees, p as phoneNumberValidation, q as postcodes, r as regenerateLicenseeKey, s as resolveAddress, t as resolvePlace, u as retrieveConfig, v as retrieveLicensee, w as updateConfig, x as updateKeyDetails, y as updateLicensee } from './sdk.gen-
|
|
3
|
+
import { C as Client, P as PostcodesData, A as AddressListItem } from './types.gen-8XgmJrsh.js';
|
|
4
|
+
export { b as AbAddress, c as AbpAddress, d as Address, e as AddressCleanseData, f as AddressCleanseError, g as AddressCleanseErrors, h as AddressCleanseResponse, i as AddressCleanseResponses, j as AddressLatitudeParam, k as AddressLongitudeParam, l as AddressResponse, m as AddressSuggestion, n as AddressesData, o as AddressesError, p as AddressesErrors, q as AddressesResponse, r as AddressesResponses, s as ApiKey, t as ApiKeyAutomatedTopup, u as ApiKeyCurrentPurchase, v as ApiKeyDailyLimit, w as ApiKeyDatasets, x as ApiKeyDetails, y as ApiKeyDetailsEditable, z as ApiKeyDetailsResponse, B as ApiKeyIndividualLimit, D as ApiKeyMonthlyLimit, E as ApiKeyNotifications, G as ApiKeyParam, H as ApiKeyPathParam, I as ApiKeyResponse, J as ApiKeyUsageResponse, K as AutocompleteResponse, L as AvailableContexts, M as BanAddress, N as BevAddress, O as BiasCityParam, Q as BiasCountryIsoParam, S as BiasCountryParam, T as BiasIpParam, U as BiasLonLatParam, V as BiasPostalCode2Param, W as BiasPostalCode3Param, X as BiasPostalCodeParam, Y as BiasPostcodeAreaParam, Z as BiasPostcodeOutwardParam, _ as BiasPostcodeParam, $ as BiasPostcodeSectorParam, a0 as BiasPosttownParam, a1 as BiasStateCodeParam, a2 as BiasStateParam, a3 as BiasThoroughfareParam, a4 as BoxParam, a5 as CannarAddress, a6 as Carrier, a7 as CityParam, a8 as CleanseResponse, a9 as ClientOptions, aa as Config, ab as ConfigNewParam, ac as ConfigParam, ad as ConfigResponse, ae as ConfigUpdateParam, af as ConfigsResponse, ag as Context, ah as ContextParam, ai as Country, aj as CountryIso, ak as CountryIso2, al as CountryIsoParam, am as CountryParam, an as CreateConfigData, ao as CreateConfigError, ap as CreateConfigErrors, aq as CreateConfigResponse, ar as CreateConfigResponses, as as CreateLicenseeData, at as CreateLicenseeError, au as CreateLicenseeErrors, av as CreateLicenseeResponse, aw as CreateLicenseeResponses, ax as Dataset, ay as DatasetParam, az as DeleteConfigData, aA as DeleteConfigError, aB as DeleteConfigErrors, aC as DeleteConfigResponse, aD as DeleteConfigResponses, aE as DeleteLicenseeData, aF as DeleteLicenseeError, aG as DeleteLicenseeErrors, aH as DeleteLicenseeResponse, aI as DeleteLicenseeResponses, aJ as Eastings, aK as EcadAddress, aL as EcafAddress, aM as EircBase, aN as Email, aO as EmailResponse, aP as EmailValidationData, aQ as EmailValidationError, aR as EmailValidationErrors, aS as EmailValidationResponse, aT as EmailValidationResponses, aU as EndParam, aV as ErrorResponse, aW as FilterParam, F as FindAddressData, aX as FindAddressError, aY as FindAddressErrors, a as FindAddressResponse, aZ as FindAddressResponses, a_ as FindPlaceData, a$ as FindPlaceError, b0 as FindPlaceErrors, b1 as FindPlaceResponse, b2 as FindPlaceResponses, b3 as FodbosaAddress, b4 as GbrCleanseMatch, b5 as GbrCleanseNoMatch, b6 as GbrResolveAddressResponse, b7 as GeonamesPlace, b8 as GnafAddress, b9 as HereAddress, ba as Id, bb as InvalidPhoneNumber, bc as IsBusinessParam, bd as IsPoboxParam, be as KadasterAddress, bf as KartverketAddress, bg as KeyAvailabilityData, bh as KeyAvailabilityError, bi as KeyAvailabilityErrors, bj as KeyAvailabilityResponse, bk as KeyAvailabilityResponses, bl as KeyDetailsData, bm as KeyDetailsError, bn as KeyDetailsErrors, bo as KeyDetailsResponse, bp as KeyDetailsResponses, bq as KeyLogsData, br as KeyLogsError, bs as KeyLogsErrors, bt as KeyLogsResponse, bu as KeyLogsResponses, bv as KeyUsageData, bw as KeyUsageError, bx as KeyUsageErrors, by as KeyUsageResponse, bz as KeyUsageResponses, bA as KeyUsageResult, bB as Language, bC as Latitude, bD as Licensee, bE as LicenseeEditable, bF as LicenseeParam, bG as LicenseePathParam, bH as LicenseeResponse, bI as LicenseesResponse, bJ as LimitParam, bK as ListConfigsData, bL as ListConfigsError, bM as ListConfigsErrors, bN as ListConfigsResponse, bO as ListConfigsResponses, bP as ListLicenseesData, bQ as ListLicenseesError, bR as ListLicenseesErrors, bS as ListLicenseesResponse, bT as ListLicenseesResponses, bU as Longitude, bV as MoisAddress, bW as MrAddress, bX as NativeRecord, bY as NoContext, bZ as Northings, b_ as NotFoundResponse, b$ as NybAddress, c0 as PafAddress, c1 as PafRecordBase, c2 as PafaAddress, c3 as PafwAddress, c4 as PageParam, c5 as PhoneNumber, c6 as PhoneNumberResponse, c7 as PhoneNumberValidationData, c8 as PhoneNumberValidationError, c9 as PhoneNumberValidationErrors, ca as PhoneNumberValidationResponse, cb as PhoneNumberValidationResponses, cc as Place, cd as PlaceCountryIso, ce as PlaceDescriptiveName, cf as PlaceId, cg as PlaceName, ch as PlaceResponse, ci as PlaceSuggestion, cj as PostTownParam, ck as PostalCode2Param, cl as PostalCode3Param, cm as PostalCodeParam, cn as PostcodeAreaParam, co as PostcodeNotFoundResponse, cp as PostcodeOutwardParam, cq as PostcodeParam, cr as PostcodeResponse, cs as PostcodeSectorParam, ct as PostcodeTypeParam, cu as PostcodesError, cv as PostcodesErrors, cw as PostcodesResponse, cx as PostcodesResponses, cy as RegenerateLicenseeKeyData, cz as RegenerateLicenseeKeyError, cA as RegenerateLicenseeKeyErrors, cB as RegenerateLicenseeKeyResponse, cC as RegenerateLicenseeKeyResponses, cD as RemoveOrganisationParam, cE as ResolveAddressData, cF as ResolveAddressError, cG as ResolveAddressErrors, R as ResolveAddressResponse, cH as ResolveAddressResponses, cI as ResolvePlaceData, cJ as ResolvePlaceError, cK as ResolvePlaceErrors, cL as ResolvePlaceResponse, cM as ResolvePlaceResponse2, cN as ResolvePlaceResponses, cO as RetrieveConfigData, cP as RetrieveConfigError, cQ as RetrieveConfigErrors, cR as RetrieveConfigResponse, cS as RetrieveConfigResponses, cT as RetrieveLicenseeData, cU as RetrieveLicenseeError, cV as RetrieveLicenseeErrors, cW as RetrieveLicenseeResponse, cX as RetrieveLicenseeResponses, cY as SdfiAddress, cZ as SmallUserParam, c_ as StartParam, c$ as StateCodeParam, d0 as StateParam, d1 as SwtAddress, d2 as TagsParam, d3 as UkAddressSuggestion, d4 as UnknownEmail, d5 as UpdateConfigData, d6 as UpdateConfigError, d7 as UpdateConfigErrors, d8 as UpdateConfigResponse, d9 as UpdateConfigResponses, da as UpdateKeyDetailsData, db as UpdateKeyDetailsError, dc as UpdateKeyDetailsErrors, dd as UpdateKeyDetailsResponse, de as UpdateKeyDetailsResponses, df as UpdateLicenseeData, dg as UpdateLicenseeError, dh as UpdateLicenseeErrors, di as UpdateLicenseeResponse, dj as UpdateLicenseeResponses, dk as UprnParam, dl as UpujpAddress, dm as UspsAddress } from './types.gen-8XgmJrsh.js';
|
|
5
|
+
export { O as Options, a as addressCleanse, b as addresses, c as createConfig, d as createLicensee, e as deleteConfig, f as deleteLicensee, g as emailValidation, h as findAddress, i as findPlace, k as keyAvailability, j as keyDetails, l as keyLogs, m as keyUsage, n as listConfigs, o as listLicensees, p as phoneNumberValidation, q as postcodes, r as regenerateLicenseeKey, s as resolveAddress, t as resolvePlace, u as retrieveConfig, v as retrieveLicensee, w as updateConfig, x as updateKeyDetails, y as updateLicensee } from './sdk.gen-D97oQip1.js';
|
|
6
6
|
|
|
7
7
|
interface IdpcClientOptions extends Credentials {
|
|
8
8
|
baseUrl?: string;
|
package/dist/preact-query.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ import type { dataTagSymbol, dataTagErrorSymbol } from "@tanstack/preact-query";
|
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/preact-query';
|
|
3
3
|
import * as _tanstack_preact_query from '@tanstack/preact-query';
|
|
4
4
|
import { UseMutationOptions, InfiniteData } from '@tanstack/preact-query';
|
|
5
|
-
import { O as Options } from './sdk.gen-
|
|
6
|
-
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError,
|
|
5
|
+
import { O as Options } from './sdk.gen-DFwujfn3.cjs';
|
|
6
|
+
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError, cE as ResolveAddressData, cI as ResolvePlaceData, cO as RetrieveConfigData, ad as ConfigResponse, cP as RetrieveConfigError, cT as RetrieveLicenseeData, bH as LicenseeResponse, d5 as UpdateConfigData, d8 as UpdateConfigResponse, d6 as UpdateConfigError, da as UpdateKeyDetailsData, dd as UpdateKeyDetailsResponse, db as UpdateKeyDetailsError, df as UpdateLicenseeData, di as UpdateLicenseeResponse, dg as UpdateLicenseeError, l as AddressResponse, o as AddressesError, aO as EmailResponse, c6 as PhoneNumberResponse, cr as PostcodeResponse, cu as PostcodesError, b6 as GbrResolveAddressResponse, cL as ResolvePlaceResponse } from './types.gen-8XgmJrsh.cjs';
|
|
7
7
|
|
|
8
8
|
type QueryKey<TOptions extends Options> = [
|
|
9
9
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
@@ -191,7 +191,7 @@ declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<
|
|
|
191
191
|
*
|
|
192
192
|
* ## Data Redaction
|
|
193
193
|
*
|
|
194
|
-
* We redact Personally Identifiable
|
|
194
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
195
195
|
*
|
|
196
196
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
197
197
|
*
|
|
@@ -248,7 +248,7 @@ declare const keyLogsInfiniteQueryKey: (options: Options<KeyLogsData>) => QueryK
|
|
|
248
248
|
*
|
|
249
249
|
* ## Data Redaction
|
|
250
250
|
*
|
|
251
|
-
* We redact Personally Identifiable
|
|
251
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
252
252
|
*
|
|
253
253
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
254
254
|
*
|
|
@@ -284,17 +284,9 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
284
284
|
*
|
|
285
285
|
* ## Countries
|
|
286
286
|
*
|
|
287
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
288
|
-
*
|
|
289
|
-
* address
|
|
290
|
-
* cleanse.
|
|
291
|
-
*
|
|
292
|
-
* The response shape is the same for every country: a standardised address in
|
|
293
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
294
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
295
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
296
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
297
|
-
* dataset.
|
|
287
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
288
|
+
*
|
|
289
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
298
290
|
*
|
|
299
291
|
* ## Confidence Score
|
|
300
292
|
*
|
package/dist/preact-query.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { dataTagSymbol, dataTagErrorSymbol } from "@tanstack/preact-query";
|
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/preact-query';
|
|
3
3
|
import * as _tanstack_preact_query from '@tanstack/preact-query';
|
|
4
4
|
import { UseMutationOptions, InfiniteData } from '@tanstack/preact-query';
|
|
5
|
-
import { O as Options } from './sdk.gen-
|
|
6
|
-
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError,
|
|
5
|
+
import { O as Options } from './sdk.gen-D97oQip1.js';
|
|
6
|
+
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError, cE as ResolveAddressData, cI as ResolvePlaceData, cO as RetrieveConfigData, ad as ConfigResponse, cP as RetrieveConfigError, cT as RetrieveLicenseeData, bH as LicenseeResponse, d5 as UpdateConfigData, d8 as UpdateConfigResponse, d6 as UpdateConfigError, da as UpdateKeyDetailsData, dd as UpdateKeyDetailsResponse, db as UpdateKeyDetailsError, df as UpdateLicenseeData, di as UpdateLicenseeResponse, dg as UpdateLicenseeError, l as AddressResponse, o as AddressesError, aO as EmailResponse, c6 as PhoneNumberResponse, cr as PostcodeResponse, cu as PostcodesError, b6 as GbrResolveAddressResponse, cL as ResolvePlaceResponse } from './types.gen-8XgmJrsh.js';
|
|
7
7
|
|
|
8
8
|
type QueryKey<TOptions extends Options> = [
|
|
9
9
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
@@ -191,7 +191,7 @@ declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<
|
|
|
191
191
|
*
|
|
192
192
|
* ## Data Redaction
|
|
193
193
|
*
|
|
194
|
-
* We redact Personally Identifiable
|
|
194
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
195
195
|
*
|
|
196
196
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
197
197
|
*
|
|
@@ -248,7 +248,7 @@ declare const keyLogsInfiniteQueryKey: (options: Options<KeyLogsData>) => QueryK
|
|
|
248
248
|
*
|
|
249
249
|
* ## Data Redaction
|
|
250
250
|
*
|
|
251
|
-
* We redact Personally Identifiable
|
|
251
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
252
252
|
*
|
|
253
253
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
254
254
|
*
|
|
@@ -284,17 +284,9 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
284
284
|
*
|
|
285
285
|
* ## Countries
|
|
286
286
|
*
|
|
287
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
288
|
-
*
|
|
289
|
-
* address
|
|
290
|
-
* cleanse.
|
|
291
|
-
*
|
|
292
|
-
* The response shape is the same for every country: a standardised address in
|
|
293
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
294
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
295
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
296
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
297
|
-
* dataset.
|
|
287
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
288
|
+
*
|
|
289
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
298
290
|
*
|
|
299
291
|
* ## Confidence Score
|
|
300
292
|
*
|
package/dist/react-query.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { dataTagSymbol, dataTagErrorSymbol } from "@tanstack/react-query";
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
3
|
import { UseMutationOptions, InfiniteData } from '@tanstack/react-query';
|
|
4
|
-
import { O as Options } from './sdk.gen-
|
|
5
|
-
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError,
|
|
4
|
+
import { O as Options } from './sdk.gen-DFwujfn3.cjs';
|
|
5
|
+
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError, cE as ResolveAddressData, cI as ResolvePlaceData, cO as RetrieveConfigData, ad as ConfigResponse, cP as RetrieveConfigError, cT as RetrieveLicenseeData, bH as LicenseeResponse, d5 as UpdateConfigData, d8 as UpdateConfigResponse, d6 as UpdateConfigError, da as UpdateKeyDetailsData, dd as UpdateKeyDetailsResponse, db as UpdateKeyDetailsError, df as UpdateLicenseeData, di as UpdateLicenseeResponse, dg as UpdateLicenseeError, l as AddressResponse, o as AddressesError, aO as EmailResponse, c6 as PhoneNumberResponse, cr as PostcodeResponse, cu as PostcodesError, b6 as GbrResolveAddressResponse, cL as ResolvePlaceResponse } from './types.gen-8XgmJrsh.cjs';
|
|
6
6
|
|
|
7
7
|
type QueryKey<TOptions extends Options> = [
|
|
8
8
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
@@ -190,7 +190,7 @@ declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<
|
|
|
190
190
|
*
|
|
191
191
|
* ## Data Redaction
|
|
192
192
|
*
|
|
193
|
-
* We redact Personally Identifiable
|
|
193
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
194
194
|
*
|
|
195
195
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
196
196
|
*
|
|
@@ -247,7 +247,7 @@ declare const keyLogsInfiniteQueryKey: (options: Options<KeyLogsData>) => QueryK
|
|
|
247
247
|
*
|
|
248
248
|
* ## Data Redaction
|
|
249
249
|
*
|
|
250
|
-
* We redact Personally Identifiable
|
|
250
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
251
251
|
*
|
|
252
252
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
253
253
|
*
|
|
@@ -283,17 +283,9 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
283
283
|
*
|
|
284
284
|
* ## Countries
|
|
285
285
|
*
|
|
286
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
287
|
-
*
|
|
288
|
-
* address
|
|
289
|
-
* cleanse.
|
|
290
|
-
*
|
|
291
|
-
* The response shape is the same for every country: a standardised address in
|
|
292
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
293
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
294
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
295
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
296
|
-
* dataset.
|
|
286
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
287
|
+
*
|
|
288
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
297
289
|
*
|
|
298
290
|
* ## Confidence Score
|
|
299
291
|
*
|
package/dist/react-query.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { dataTagSymbol, dataTagErrorSymbol } from "@tanstack/react-query";
|
|
2
2
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
3
3
|
import { UseMutationOptions, InfiniteData } from '@tanstack/react-query';
|
|
4
|
-
import { O as Options } from './sdk.gen-
|
|
5
|
-
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError,
|
|
4
|
+
import { O as Options } from './sdk.gen-D97oQip1.js';
|
|
5
|
+
import { e as AddressCleanseData, h as AddressCleanseResponse, f as AddressCleanseError, n as AddressesData, an as CreateConfigData, aq as CreateConfigResponse, ao as CreateConfigError, as as CreateLicenseeData, av as CreateLicenseeResponse, at as CreateLicenseeError, az as DeleteConfigData, aC as DeleteConfigResponse, aA as DeleteConfigError, aE as DeleteLicenseeData, aH as DeleteLicenseeResponse, aF as DeleteLicenseeError, aP as EmailValidationData, F as FindAddressData, K as AutocompleteResponse, aV as ErrorResponse, a_ as FindPlaceData, ch as PlaceResponse, bg as KeyAvailabilityData, I as ApiKeyResponse, bl as KeyDetailsData, z as ApiKeyDetailsResponse, bq as KeyLogsData, bv as KeyUsageData, J as ApiKeyUsageResponse, bK as ListConfigsData, af as ConfigsResponse, bP as ListLicenseesData, bI as LicenseesResponse, c7 as PhoneNumberValidationData, P as PostcodesData, cy as RegenerateLicenseeKeyData, cB as RegenerateLicenseeKeyResponse, cz as RegenerateLicenseeKeyError, cE as ResolveAddressData, cI as ResolvePlaceData, cO as RetrieveConfigData, ad as ConfigResponse, cP as RetrieveConfigError, cT as RetrieveLicenseeData, bH as LicenseeResponse, d5 as UpdateConfigData, d8 as UpdateConfigResponse, d6 as UpdateConfigError, da as UpdateKeyDetailsData, dd as UpdateKeyDetailsResponse, db as UpdateKeyDetailsError, df as UpdateLicenseeData, di as UpdateLicenseeResponse, dg as UpdateLicenseeError, l as AddressResponse, o as AddressesError, aO as EmailResponse, c6 as PhoneNumberResponse, cr as PostcodeResponse, cu as PostcodesError, b6 as GbrResolveAddressResponse, cL as ResolvePlaceResponse } from './types.gen-8XgmJrsh.js';
|
|
6
6
|
|
|
7
7
|
type QueryKey<TOptions extends Options> = [
|
|
8
8
|
Pick<TOptions, "baseUrl" | "body" | "headers" | "path" | "query"> & {
|
|
@@ -190,7 +190,7 @@ declare const keyLogsQueryKey: (options: Options<KeyLogsData>) => [Pick<Options<
|
|
|
190
190
|
*
|
|
191
191
|
* ## Data Redaction
|
|
192
192
|
*
|
|
193
|
-
* We redact Personally Identifiable
|
|
193
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
194
194
|
*
|
|
195
195
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
196
196
|
*
|
|
@@ -247,7 +247,7 @@ declare const keyLogsInfiniteQueryKey: (options: Options<KeyLogsData>) => QueryK
|
|
|
247
247
|
*
|
|
248
248
|
* ## Data Redaction
|
|
249
249
|
*
|
|
250
|
-
* We redact Personally Identifiable
|
|
250
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
251
251
|
*
|
|
252
252
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
253
253
|
*
|
|
@@ -283,17 +283,9 @@ declare const keyLogsInfiniteOptions: (options: Options<KeyLogsData>) => _tansta
|
|
|
283
283
|
*
|
|
284
284
|
* ## Countries
|
|
285
285
|
*
|
|
286
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
287
|
-
*
|
|
288
|
-
* address
|
|
289
|
-
* cleanse.
|
|
290
|
-
*
|
|
291
|
-
* The response shape is the same for every country: a standardised address in
|
|
292
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
293
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
294
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
295
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
296
|
-
* dataset.
|
|
286
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
287
|
+
*
|
|
288
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
297
289
|
*
|
|
298
290
|
* ## Confidence Score
|
|
299
291
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dn as TDataShape, dp as Options$1, C as Client, e as AddressCleanseData, dq as RequestResult, i as AddressCleanseResponses, g as AddressCleanseErrors, n as AddressesData, r as AddressesResponses, p as AddressesErrors, an as CreateConfigData, ar as CreateConfigResponses, ap as CreateConfigErrors, as as CreateLicenseeData, aw as CreateLicenseeResponses, au as CreateLicenseeErrors, az as DeleteConfigData, aD as DeleteConfigResponses, aB as DeleteConfigErrors, aE as DeleteLicenseeData, aI as DeleteLicenseeResponses, aG as DeleteLicenseeErrors, aP as EmailValidationData, aT as EmailValidationResponses, aR as EmailValidationErrors, F as FindAddressData, aZ as FindAddressResponses, aY as FindAddressErrors, a_ as FindPlaceData, b2 as FindPlaceResponses, b0 as FindPlaceErrors, bg as KeyAvailabilityData, bk as KeyAvailabilityResponses, bi as KeyAvailabilityErrors, bl as KeyDetailsData, bp as KeyDetailsResponses, bn as KeyDetailsErrors, bq as KeyLogsData, bu as KeyLogsResponses, bs as KeyLogsErrors, bv as KeyUsageData, bz as KeyUsageResponses, bx as KeyUsageErrors, bK as ListConfigsData, bO as ListConfigsResponses, bM as ListConfigsErrors, bP as ListLicenseesData, bT as ListLicenseesResponses, bR as ListLicenseesErrors, c7 as PhoneNumberValidationData, cb as PhoneNumberValidationResponses, c9 as PhoneNumberValidationErrors, P as PostcodesData, cx as PostcodesResponses, cv as PostcodesErrors, cy as RegenerateLicenseeKeyData, cC as RegenerateLicenseeKeyResponses, cA as RegenerateLicenseeKeyErrors, cE as ResolveAddressData, cH as ResolveAddressResponses, cG as ResolveAddressErrors, cI as ResolvePlaceData, cN as ResolvePlaceResponses, cK as ResolvePlaceErrors, cO as RetrieveConfigData, cS as RetrieveConfigResponses, cQ as RetrieveConfigErrors, cT as RetrieveLicenseeData, cX as RetrieveLicenseeResponses, cV as RetrieveLicenseeErrors, d5 as UpdateConfigData, d9 as UpdateConfigResponses, d7 as UpdateConfigErrors, da as UpdateKeyDetailsData, de as UpdateKeyDetailsResponses, dc as UpdateKeyDetailsErrors, df as UpdateLicenseeData, dj as UpdateLicenseeResponses, dh as UpdateLicenseeErrors } from './types.gen-8XgmJrsh.js';
|
|
2
2
|
|
|
3
3
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
@@ -20,7 +20,7 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
20
20
|
*
|
|
21
21
|
* Each request looks up one postcode. To extract the addresses for several postcodes, send one request per postcode.
|
|
22
22
|
*
|
|
23
|
-
* Use it to power postcode driven address searches, like [Postcode Lookup](/docs/postcode-lookup
|
|
23
|
+
* Use it to power postcode driven address searches, like [Postcode Lookup](https://docs.ideal-postcodes.co.uk/docs/postcode-lookup).
|
|
24
24
|
*
|
|
25
25
|
* Postcode lookup covers the United Kingdom, the Republic of Ireland, the Netherlands and Singapore. The API detects the format of the postcode you submit. UK and Irish postcodes are searched by default. For a Dutch or Singapore postcode, set `context` to `NLD` or `SGP`, or to `GLOBAL` to accept any supported format.
|
|
26
26
|
*
|
|
@@ -119,7 +119,7 @@ declare const keyUsage: <ThrowOnError extends boolean = true>(options: Options<K
|
|
|
119
119
|
*
|
|
120
120
|
* ## Data Redaction
|
|
121
121
|
*
|
|
122
|
-
* We redact Personally Identifiable
|
|
122
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
123
123
|
*
|
|
124
124
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
125
125
|
*
|
|
@@ -136,17 +136,9 @@ declare const keyLogs: <ThrowOnError extends boolean = true>(options: Options<Ke
|
|
|
136
136
|
*
|
|
137
137
|
* ## Countries
|
|
138
138
|
*
|
|
139
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
140
|
-
*
|
|
141
|
-
* address
|
|
142
|
-
* cleanse.
|
|
143
|
-
*
|
|
144
|
-
* The response shape is the same for every country: a standardised address in
|
|
145
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
146
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
147
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
148
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
149
|
-
* dataset.
|
|
139
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
140
|
+
*
|
|
141
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
150
142
|
*
|
|
151
143
|
* ## Confidence Score
|
|
152
144
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { dn as TDataShape, dp as Options$1, C as Client, e as AddressCleanseData, dq as RequestResult, i as AddressCleanseResponses, g as AddressCleanseErrors, n as AddressesData, r as AddressesResponses, p as AddressesErrors, an as CreateConfigData, ar as CreateConfigResponses, ap as CreateConfigErrors, as as CreateLicenseeData, aw as CreateLicenseeResponses, au as CreateLicenseeErrors, az as DeleteConfigData, aD as DeleteConfigResponses, aB as DeleteConfigErrors, aE as DeleteLicenseeData, aI as DeleteLicenseeResponses, aG as DeleteLicenseeErrors, aP as EmailValidationData, aT as EmailValidationResponses, aR as EmailValidationErrors, F as FindAddressData, aZ as FindAddressResponses, aY as FindAddressErrors, a_ as FindPlaceData, b2 as FindPlaceResponses, b0 as FindPlaceErrors, bg as KeyAvailabilityData, bk as KeyAvailabilityResponses, bi as KeyAvailabilityErrors, bl as KeyDetailsData, bp as KeyDetailsResponses, bn as KeyDetailsErrors, bq as KeyLogsData, bu as KeyLogsResponses, bs as KeyLogsErrors, bv as KeyUsageData, bz as KeyUsageResponses, bx as KeyUsageErrors, bK as ListConfigsData, bO as ListConfigsResponses, bM as ListConfigsErrors, bP as ListLicenseesData, bT as ListLicenseesResponses, bR as ListLicenseesErrors, c7 as PhoneNumberValidationData, cb as PhoneNumberValidationResponses, c9 as PhoneNumberValidationErrors, P as PostcodesData, cx as PostcodesResponses, cv as PostcodesErrors, cy as RegenerateLicenseeKeyData, cC as RegenerateLicenseeKeyResponses, cA as RegenerateLicenseeKeyErrors, cE as ResolveAddressData, cH as ResolveAddressResponses, cG as ResolveAddressErrors, cI as ResolvePlaceData, cN as ResolvePlaceResponses, cK as ResolvePlaceErrors, cO as RetrieveConfigData, cS as RetrieveConfigResponses, cQ as RetrieveConfigErrors, cT as RetrieveLicenseeData, cX as RetrieveLicenseeResponses, cV as RetrieveLicenseeErrors, d5 as UpdateConfigData, d9 as UpdateConfigResponses, d7 as UpdateConfigErrors, da as UpdateKeyDetailsData, de as UpdateKeyDetailsResponses, dc as UpdateKeyDetailsErrors, df as UpdateLicenseeData, dj as UpdateLicenseeResponses, dh as UpdateLicenseeErrors } from './types.gen-8XgmJrsh.cjs';
|
|
2
2
|
|
|
3
3
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
@@ -20,7 +20,7 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
20
20
|
*
|
|
21
21
|
* Each request looks up one postcode. To extract the addresses for several postcodes, send one request per postcode.
|
|
22
22
|
*
|
|
23
|
-
* Use it to power postcode driven address searches, like [Postcode Lookup](/docs/postcode-lookup
|
|
23
|
+
* Use it to power postcode driven address searches, like [Postcode Lookup](https://docs.ideal-postcodes.co.uk/docs/postcode-lookup).
|
|
24
24
|
*
|
|
25
25
|
* Postcode lookup covers the United Kingdom, the Republic of Ireland, the Netherlands and Singapore. The API detects the format of the postcode you submit. UK and Irish postcodes are searched by default. For a Dutch or Singapore postcode, set `context` to `NLD` or `SGP`, or to `GLOBAL` to accept any supported format.
|
|
26
26
|
*
|
|
@@ -119,7 +119,7 @@ declare const keyUsage: <ThrowOnError extends boolean = true>(options: Options<K
|
|
|
119
119
|
*
|
|
120
120
|
* ## Data Redaction
|
|
121
121
|
*
|
|
122
|
-
* We redact Personally Identifiable
|
|
122
|
+
* We redact Personally Identifiable Information (PII) in your usage log (including IP, source IP, search term and URL data) weekly.
|
|
123
123
|
*
|
|
124
124
|
* By default we redact PII older than 28 days. You can change this period from your dashboard.
|
|
125
125
|
*
|
|
@@ -136,17 +136,9 @@ declare const keyLogs: <ThrowOnError extends boolean = true>(options: Options<Ke
|
|
|
136
136
|
*
|
|
137
137
|
* ## Countries
|
|
138
138
|
*
|
|
139
|
-
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country
|
|
140
|
-
*
|
|
141
|
-
* address
|
|
142
|
-
* cleanse.
|
|
143
|
-
*
|
|
144
|
-
* The response shape is the same for every country: a standardised address in
|
|
145
|
-
* `match`, the raw source record in `match.native`, and the same confidence,
|
|
146
|
-
* fit and Match Level indicators. The Match Levels and confidence score are at
|
|
147
|
-
* their most discriminating for the UK, where cleanse runs against
|
|
148
|
-
* purpose-built indexes; elsewhere they are computed from the country's address
|
|
149
|
-
* dataset.
|
|
139
|
+
* Cleanse defaults to the UK. Pass `context` with an ISO 3166-1 alpha-3 country code to cleanse an address elsewhere, e.g. `context=USA` or `context=FRA`. The address datasets your key is licensed for decide which countries it can cleanse.
|
|
140
|
+
*
|
|
141
|
+
* The response shape is the same for every country: a standardised address in `match`, the raw source record in `match.native` and the same confidence, fit and Match Level indicators. The Match Levels and confidence score are at their most discriminating for the UK, where cleanse runs against purpose-built indexes; elsewhere they are computed from the country's address dataset.
|
|
150
142
|
*
|
|
151
143
|
* ## Confidence Score
|
|
152
144
|
*
|
|
@@ -6718,8 +6718,11 @@ type AbpAddress = {
|
|
|
6718
6718
|
/**
|
|
6719
6719
|
* Classification Code
|
|
6720
6720
|
*
|
|
6721
|
-
* Current AddressBase classification code
|
|
6722
|
-
*
|
|
6721
|
+
* Current AddressBase classification code, passed through verbatim at
|
|
6722
|
+
* whatever level the custodian recorded. Usually tertiary (e.g. `RD03`
|
|
6723
|
+
* semi-detached, `RD04` terraced, `RD06` self-contained flat, `CR01`
|
|
6724
|
+
* retail), but can be quaternary (`LP03PA`), secondary (`RD`) or primary
|
|
6725
|
+
* (`C`). Match on prefix rather than equality. Top-level categories: `R` Residential,
|
|
6723
6726
|
* `C` Commercial, `L` Land, `M` Military, `O` Other, `P` Parent shell,
|
|
6724
6727
|
* `U` Unclassified, `X` Dual use, `Z` Object of interest. NULL when no
|
|
6725
6728
|
* current classification row exists for the UPRN.
|
|
@@ -8327,12 +8330,12 @@ type GbrCleanseMatch = {
|
|
|
8327
8330
|
*/
|
|
8328
8331
|
count: number;
|
|
8329
8332
|
/**
|
|
8330
|
-
* A score represented as number between 1 and 0. Fit compares the address elements present in your query against the matching address elements. It does not incorporate elements you have not presented in the score. A partial address (e.g. 12 Pye Green Road) will have a fit of 1 even though it is missing post town and postcode. Its confidence score will be less than 1 however because it is missing some crucial elements.
|
|
8333
|
+
* A score represented as a number between 1 and 0. Fit compares the address elements present in your query against the matching address elements. It does not incorporate elements you have not presented in the score. A partial address (e.g. 12 Pye Green Road) will have a fit of 1 even though it is missing post town and postcode. Its confidence score will be less than 1 however because it is missing some crucial elements.
|
|
8331
8334
|
*
|
|
8332
8335
|
*/
|
|
8333
8336
|
fit: number;
|
|
8334
8337
|
/**
|
|
8335
|
-
* A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
|
|
8338
|
+
* A confidence score represented as a number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
|
|
8336
8339
|
*
|
|
8337
8340
|
*/
|
|
8338
8341
|
confidence: number;
|
|
@@ -8427,7 +8430,7 @@ type ApiKeyDetailsEditable = {
|
|
|
8427
8430
|
*/
|
|
8428
8431
|
individual_limit?: {
|
|
8429
8432
|
/**
|
|
8430
|
-
* `number` or `null
|
|
8433
|
+
* `number` or `null`. Limit set on the number of lookups that can be
|
|
8431
8434
|
* performed from a single IP address. `null` means the limit is currently
|
|
8432
8435
|
* disabled.
|
|
8433
8436
|
*/
|
|
@@ -9368,6 +9371,17 @@ type ContextParam = string;
|
|
|
9368
9371
|
*
|
|
9369
9372
|
*/
|
|
9370
9373
|
type DatasetParam = Array<Dataset>;
|
|
9374
|
+
/**
|
|
9375
|
+
* **Remove Organisation**
|
|
9376
|
+
*
|
|
9377
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
9378
|
+
*
|
|
9379
|
+
* Set `remove_organisation=true` to enable.
|
|
9380
|
+
*
|
|
9381
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
9382
|
+
*
|
|
9383
|
+
*/
|
|
9384
|
+
type RemoveOrganisationParam = "true";
|
|
9371
9385
|
/**
|
|
9372
9386
|
* **Tags**
|
|
9373
9387
|
*
|
|
@@ -9453,6 +9467,17 @@ type PostcodesData = {
|
|
|
9453
9467
|
*
|
|
9454
9468
|
*/
|
|
9455
9469
|
tags?: string;
|
|
9470
|
+
/**
|
|
9471
|
+
* **Remove Organisation**
|
|
9472
|
+
*
|
|
9473
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
9474
|
+
*
|
|
9475
|
+
* Set `remove_organisation=true` to enable.
|
|
9476
|
+
*
|
|
9477
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
9478
|
+
*
|
|
9479
|
+
*/
|
|
9480
|
+
remove_organisation?: "true";
|
|
9456
9481
|
/**
|
|
9457
9482
|
* **Filter by Dataset**
|
|
9458
9483
|
*
|
|
@@ -9746,6 +9771,17 @@ type AddressCleanseData = {
|
|
|
9746
9771
|
*
|
|
9747
9772
|
*/
|
|
9748
9773
|
tags?: string;
|
|
9774
|
+
/**
|
|
9775
|
+
* **Remove Organisation**
|
|
9776
|
+
*
|
|
9777
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
9778
|
+
*
|
|
9779
|
+
* Set `remove_organisation=true` to enable.
|
|
9780
|
+
*
|
|
9781
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
9782
|
+
*
|
|
9783
|
+
*/
|
|
9784
|
+
remove_organisation?: "true";
|
|
9749
9785
|
/**
|
|
9750
9786
|
* Identify the country of the address to cleanse. Defaults to UK (GBR)
|
|
9751
9787
|
*
|
|
@@ -10106,6 +10142,17 @@ type ResolveAddressData = {
|
|
|
10106
10142
|
*
|
|
10107
10143
|
*/
|
|
10108
10144
|
tags?: string;
|
|
10145
|
+
/**
|
|
10146
|
+
* **Remove Organisation**
|
|
10147
|
+
*
|
|
10148
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
10149
|
+
*
|
|
10150
|
+
* Set `remove_organisation=true` to enable.
|
|
10151
|
+
*
|
|
10152
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
10153
|
+
*
|
|
10154
|
+
*/
|
|
10155
|
+
remove_organisation?: "true";
|
|
10109
10156
|
};
|
|
10110
10157
|
url: "/autocomplete/addresses/{address}/gbr";
|
|
10111
10158
|
};
|
|
@@ -10337,6 +10384,17 @@ type AddressesData = {
|
|
|
10337
10384
|
*
|
|
10338
10385
|
*/
|
|
10339
10386
|
tags?: string;
|
|
10387
|
+
/**
|
|
10388
|
+
* **Remove Organisation**
|
|
10389
|
+
*
|
|
10390
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
10391
|
+
*
|
|
10392
|
+
* Set `remove_organisation=true` to enable.
|
|
10393
|
+
*
|
|
10394
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
10395
|
+
*
|
|
10396
|
+
*/
|
|
10397
|
+
remove_organisation?: "true";
|
|
10340
10398
|
/**
|
|
10341
10399
|
* **Filter by Dataset**
|
|
10342
10400
|
*
|
|
@@ -10497,9 +10555,9 @@ type ListLicenseesData = {
|
|
|
10497
10555
|
};
|
|
10498
10556
|
query?: {
|
|
10499
10557
|
/**
|
|
10500
|
-
* ID of the licensee after which to list results
|
|
10558
|
+
* ID of the licensee after which to list results. Pass the `id` of the last licensee on the previous page.
|
|
10501
10559
|
*/
|
|
10502
|
-
starting_after?:
|
|
10560
|
+
starting_after?: string;
|
|
10503
10561
|
/**
|
|
10504
10562
|
* **Limit**
|
|
10505
10563
|
*
|
|
@@ -10985,4 +11043,4 @@ type PhoneNumberValidationResponses = {
|
|
|
10985
11043
|
};
|
|
10986
11044
|
type PhoneNumberValidationResponse = PhoneNumberValidationResponses[keyof PhoneNumberValidationResponses];
|
|
10987
11045
|
|
|
10988
|
-
export type { BiasPostcodeSectorParam as $, AddressListItem as A, ApiKeyIndividualLimit as B, Client as C, ApiKeyMonthlyLimit as D, ApiKeyNotifications as E, FindAddressData as F, ApiKeyParam as G, ApiKeyPathParam as H, ApiKeyResponse as I, ApiKeyUsageResponse as J, AutocompleteResponse as K, AvailableContexts as L, BanAddress as M, BevAddress as N, BiasCityParam as O, PostcodesData as P, BiasCountryIsoParam as Q, ResolveAddressResponse as R, BiasCountryParam as S, BiasIpParam as T, BiasLonLatParam as U, BiasPostalCode2Param as V, BiasPostalCode3Param as W, BiasPostalCodeParam as X, BiasPostcodeAreaParam as Y, BiasPostcodeOutwardParam as Z, BiasPostcodeParam as _, FindAddressResponse as a, FindPlaceError as a$, BiasPosttownParam as a0, BiasStateCodeParam as a1, BiasStateParam as a2, BiasThoroughfareParam as a3, BoxParam as a4, CannarAddress as a5, Carrier as a6, CityParam as a7, CleanseResponse as a8, ClientOptions as a9, DeleteConfigError as aA, DeleteConfigErrors as aB, DeleteConfigResponse as aC, DeleteConfigResponses as aD, DeleteLicenseeData as aE, DeleteLicenseeError as aF, DeleteLicenseeErrors as aG, DeleteLicenseeResponse as aH, DeleteLicenseeResponses as aI, Eastings as aJ, EcadAddress as aK, EcafAddress as aL, EircBase as aM, Email as aN, EmailResponse as aO, EmailValidationData as aP, EmailValidationError as aQ, EmailValidationErrors as aR, EmailValidationResponse as aS, EmailValidationResponses as aT, EndParam as aU, ErrorResponse as aV, FilterParam as aW, FindAddressError as aX, FindAddressErrors as aY, FindAddressResponses as aZ, FindPlaceData as a_, Config as aa, ConfigNewParam as ab, ConfigParam as ac, ConfigResponse as ad, ConfigUpdateParam as ae, ConfigsResponse as af, Context as ag, ContextParam as ah, Country as ai, CountryIso as aj, CountryIso2 as ak, CountryIsoParam as al, CountryParam as am, CreateConfigData as an, CreateConfigError as ao, CreateConfigErrors as ap, CreateConfigResponse as aq, CreateConfigResponses as ar, CreateLicenseeData as as, CreateLicenseeError as at, CreateLicenseeErrors as au, CreateLicenseeResponse as av, CreateLicenseeResponses as aw, Dataset as ax, DatasetParam as ay, DeleteConfigData as az, AbAddress as b, NybAddress as b$, FindPlaceErrors as b0, FindPlaceResponse as b1, FindPlaceResponses as b2, FodbosaAddress as b3, GbrCleanseMatch as b4, GbrCleanseNoMatch as b5, GbrResolveAddressResponse as b6, GeonamesPlace as b7, GnafAddress as b8, HereAddress as b9, KeyUsageResult as bA, Language as bB, Latitude as bC, Licensee as bD, LicenseeEditable as bE, LicenseeParam as bF, LicenseePathParam as bG, LicenseeResponse as bH, LicenseesResponse as bI, LimitParam as bJ, ListConfigsData as bK, ListConfigsError as bL, ListConfigsErrors as bM, ListConfigsResponse as bN, ListConfigsResponses as bO, ListLicenseesData as bP, ListLicenseesError as bQ, ListLicenseesErrors as bR, ListLicenseesResponse as bS, ListLicenseesResponses as bT, Longitude as bU, MoisAddress as bV, MrAddress as bW, NativeRecord as bX, NoContext as bY, Northings as bZ, NotFoundResponse as b_, Id as ba, InvalidPhoneNumber as bb, IsBusinessParam as bc, IsPoboxParam as bd, KadasterAddress as be, KartverketAddress as bf, KeyAvailabilityData as bg, KeyAvailabilityError as bh, KeyAvailabilityErrors as bi, KeyAvailabilityResponse as bj, KeyAvailabilityResponses as bk, KeyDetailsData as bl, KeyDetailsError as bm, KeyDetailsErrors as bn, KeyDetailsResponse as bo, KeyDetailsResponses as bp, KeyLogsData as bq, KeyLogsError as br, KeyLogsErrors as bs, KeyLogsResponse as bt, KeyLogsResponses as bu, KeyUsageData as bv, KeyUsageError as bw, KeyUsageErrors as bx, KeyUsageResponse as by, KeyUsageResponses as bz, AbpAddress as c,
|
|
11046
|
+
export type { BiasPostcodeSectorParam as $, AddressListItem as A, ApiKeyIndividualLimit as B, Client as C, ApiKeyMonthlyLimit as D, ApiKeyNotifications as E, FindAddressData as F, ApiKeyParam as G, ApiKeyPathParam as H, ApiKeyResponse as I, ApiKeyUsageResponse as J, AutocompleteResponse as K, AvailableContexts as L, BanAddress as M, BevAddress as N, BiasCityParam as O, PostcodesData as P, BiasCountryIsoParam as Q, ResolveAddressResponse as R, BiasCountryParam as S, BiasIpParam as T, BiasLonLatParam as U, BiasPostalCode2Param as V, BiasPostalCode3Param as W, BiasPostalCodeParam as X, BiasPostcodeAreaParam as Y, BiasPostcodeOutwardParam as Z, BiasPostcodeParam as _, FindAddressResponse as a, FindPlaceError as a$, BiasPosttownParam as a0, BiasStateCodeParam as a1, BiasStateParam as a2, BiasThoroughfareParam as a3, BoxParam as a4, CannarAddress as a5, Carrier as a6, CityParam as a7, CleanseResponse as a8, ClientOptions as a9, DeleteConfigError as aA, DeleteConfigErrors as aB, DeleteConfigResponse as aC, DeleteConfigResponses as aD, DeleteLicenseeData as aE, DeleteLicenseeError as aF, DeleteLicenseeErrors as aG, DeleteLicenseeResponse as aH, DeleteLicenseeResponses as aI, Eastings as aJ, EcadAddress as aK, EcafAddress as aL, EircBase as aM, Email as aN, EmailResponse as aO, EmailValidationData as aP, EmailValidationError as aQ, EmailValidationErrors as aR, EmailValidationResponse as aS, EmailValidationResponses as aT, EndParam as aU, ErrorResponse as aV, FilterParam as aW, FindAddressError as aX, FindAddressErrors as aY, FindAddressResponses as aZ, FindPlaceData as a_, Config as aa, ConfigNewParam as ab, ConfigParam as ac, ConfigResponse as ad, ConfigUpdateParam as ae, ConfigsResponse as af, Context as ag, ContextParam as ah, Country as ai, CountryIso as aj, CountryIso2 as ak, CountryIsoParam as al, CountryParam as am, CreateConfigData as an, CreateConfigError as ao, CreateConfigErrors as ap, CreateConfigResponse as aq, CreateConfigResponses as ar, CreateLicenseeData as as, CreateLicenseeError as at, CreateLicenseeErrors as au, CreateLicenseeResponse as av, CreateLicenseeResponses as aw, Dataset as ax, DatasetParam as ay, DeleteConfigData as az, AbAddress as b, NybAddress as b$, FindPlaceErrors as b0, FindPlaceResponse as b1, FindPlaceResponses as b2, FodbosaAddress as b3, GbrCleanseMatch as b4, GbrCleanseNoMatch as b5, GbrResolveAddressResponse as b6, GeonamesPlace as b7, GnafAddress as b8, HereAddress as b9, KeyUsageResult as bA, Language as bB, Latitude as bC, Licensee as bD, LicenseeEditable as bE, LicenseeParam as bF, LicenseePathParam as bG, LicenseeResponse as bH, LicenseesResponse as bI, LimitParam as bJ, ListConfigsData as bK, ListConfigsError as bL, ListConfigsErrors as bM, ListConfigsResponse as bN, ListConfigsResponses as bO, ListLicenseesData as bP, ListLicenseesError as bQ, ListLicenseesErrors as bR, ListLicenseesResponse as bS, ListLicenseesResponses as bT, Longitude as bU, MoisAddress as bV, MrAddress as bW, NativeRecord as bX, NoContext as bY, Northings as bZ, NotFoundResponse as b_, Id as ba, InvalidPhoneNumber as bb, IsBusinessParam as bc, IsPoboxParam as bd, KadasterAddress as be, KartverketAddress as bf, KeyAvailabilityData as bg, KeyAvailabilityError as bh, KeyAvailabilityErrors as bi, KeyAvailabilityResponse as bj, KeyAvailabilityResponses as bk, KeyDetailsData as bl, KeyDetailsError as bm, KeyDetailsErrors as bn, KeyDetailsResponse as bo, KeyDetailsResponses as bp, KeyLogsData as bq, KeyLogsError as br, KeyLogsErrors as bs, KeyLogsResponse as bt, KeyLogsResponses as bu, KeyUsageData as bv, KeyUsageError as bw, KeyUsageErrors as bx, KeyUsageResponse as by, KeyUsageResponses as bz, AbpAddress as c, StateCodeParam as c$, PafAddress as c0, PafRecordBase as c1, PafaAddress as c2, PafwAddress as c3, PageParam as c4, PhoneNumber as c5, PhoneNumberResponse as c6, PhoneNumberValidationData as c7, PhoneNumberValidationError as c8, PhoneNumberValidationErrors as c9, RegenerateLicenseeKeyErrors as cA, RegenerateLicenseeKeyResponse as cB, RegenerateLicenseeKeyResponses as cC, RemoveOrganisationParam as cD, ResolveAddressData as cE, ResolveAddressError as cF, ResolveAddressErrors as cG, ResolveAddressResponses as cH, ResolvePlaceData as cI, ResolvePlaceError as cJ, ResolvePlaceErrors as cK, ResolvePlaceResponse as cL, ResolvePlaceResponse2 as cM, ResolvePlaceResponses as cN, RetrieveConfigData as cO, RetrieveConfigError as cP, RetrieveConfigErrors as cQ, RetrieveConfigResponse as cR, RetrieveConfigResponses as cS, RetrieveLicenseeData as cT, RetrieveLicenseeError as cU, RetrieveLicenseeErrors as cV, RetrieveLicenseeResponse as cW, RetrieveLicenseeResponses as cX, SdfiAddress as cY, SmallUserParam as cZ, StartParam as c_, PhoneNumberValidationResponse as ca, PhoneNumberValidationResponses as cb, Place as cc, PlaceCountryIso as cd, PlaceDescriptiveName as ce, PlaceId as cf, PlaceName as cg, PlaceResponse as ch, PlaceSuggestion as ci, PostTownParam as cj, PostalCode2Param as ck, PostalCode3Param as cl, PostalCodeParam as cm, PostcodeAreaParam as cn, PostcodeNotFoundResponse as co, PostcodeOutwardParam as cp, PostcodeParam as cq, PostcodeResponse as cr, PostcodeSectorParam as cs, PostcodeTypeParam as ct, PostcodesError as cu, PostcodesErrors as cv, PostcodesResponse as cw, PostcodesResponses as cx, RegenerateLicenseeKeyData as cy, RegenerateLicenseeKeyError as cz, Address as d, StateParam as d0, SwtAddress as d1, TagsParam as d2, UkAddressSuggestion as d3, UnknownEmail as d4, UpdateConfigData as d5, UpdateConfigError as d6, UpdateConfigErrors as d7, UpdateConfigResponse as d8, UpdateConfigResponses as d9, UpdateKeyDetailsData as da, UpdateKeyDetailsError as db, UpdateKeyDetailsErrors as dc, UpdateKeyDetailsResponse as dd, UpdateKeyDetailsResponses as de, UpdateLicenseeData as df, UpdateLicenseeError as dg, UpdateLicenseeErrors as dh, UpdateLicenseeResponse as di, UpdateLicenseeResponses as dj, UprnParam as dk, UpujpAddress as dl, UspsAddress as dm, TDataShape as dn, Options as dp, RequestResult as dq, AddressCleanseData as e, AddressCleanseError as f, AddressCleanseErrors as g, AddressCleanseResponse as h, AddressCleanseResponses as i, AddressLatitudeParam as j, AddressLongitudeParam as k, AddressResponse as l, AddressSuggestion as m, AddressesData as n, AddressesError as o, AddressesErrors as p, AddressesResponse as q, AddressesResponses as r, ApiKey as s, ApiKeyAutomatedTopup as t, ApiKeyCurrentPurchase as u, ApiKeyDailyLimit as v, ApiKeyDatasets as w, ApiKeyDetails as x, ApiKeyDetailsEditable as y, ApiKeyDetailsResponse as z };
|
|
@@ -6718,8 +6718,11 @@ type AbpAddress = {
|
|
|
6718
6718
|
/**
|
|
6719
6719
|
* Classification Code
|
|
6720
6720
|
*
|
|
6721
|
-
* Current AddressBase classification code
|
|
6722
|
-
*
|
|
6721
|
+
* Current AddressBase classification code, passed through verbatim at
|
|
6722
|
+
* whatever level the custodian recorded. Usually tertiary (e.g. `RD03`
|
|
6723
|
+
* semi-detached, `RD04` terraced, `RD06` self-contained flat, `CR01`
|
|
6724
|
+
* retail), but can be quaternary (`LP03PA`), secondary (`RD`) or primary
|
|
6725
|
+
* (`C`). Match on prefix rather than equality. Top-level categories: `R` Residential,
|
|
6723
6726
|
* `C` Commercial, `L` Land, `M` Military, `O` Other, `P` Parent shell,
|
|
6724
6727
|
* `U` Unclassified, `X` Dual use, `Z` Object of interest. NULL when no
|
|
6725
6728
|
* current classification row exists for the UPRN.
|
|
@@ -8327,12 +8330,12 @@ type GbrCleanseMatch = {
|
|
|
8327
8330
|
*/
|
|
8328
8331
|
count: number;
|
|
8329
8332
|
/**
|
|
8330
|
-
* A score represented as number between 1 and 0. Fit compares the address elements present in your query against the matching address elements. It does not incorporate elements you have not presented in the score. A partial address (e.g. 12 Pye Green Road) will have a fit of 1 even though it is missing post town and postcode. Its confidence score will be less than 1 however because it is missing some crucial elements.
|
|
8333
|
+
* A score represented as a number between 1 and 0. Fit compares the address elements present in your query against the matching address elements. It does not incorporate elements you have not presented in the score. A partial address (e.g. 12 Pye Green Road) will have a fit of 1 even though it is missing post town and postcode. Its confidence score will be less than 1 however because it is missing some crucial elements.
|
|
8331
8334
|
*
|
|
8332
8335
|
*/
|
|
8333
8336
|
fit: number;
|
|
8334
8337
|
/**
|
|
8335
|
-
* A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
|
|
8338
|
+
* A confidence score represented as a number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
|
|
8336
8339
|
*
|
|
8337
8340
|
*/
|
|
8338
8341
|
confidence: number;
|
|
@@ -8427,7 +8430,7 @@ type ApiKeyDetailsEditable = {
|
|
|
8427
8430
|
*/
|
|
8428
8431
|
individual_limit?: {
|
|
8429
8432
|
/**
|
|
8430
|
-
* `number` or `null
|
|
8433
|
+
* `number` or `null`. Limit set on the number of lookups that can be
|
|
8431
8434
|
* performed from a single IP address. `null` means the limit is currently
|
|
8432
8435
|
* disabled.
|
|
8433
8436
|
*/
|
|
@@ -9368,6 +9371,17 @@ type ContextParam = string;
|
|
|
9368
9371
|
*
|
|
9369
9372
|
*/
|
|
9370
9373
|
type DatasetParam = Array<Dataset>;
|
|
9374
|
+
/**
|
|
9375
|
+
* **Remove Organisation**
|
|
9376
|
+
*
|
|
9377
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
9378
|
+
*
|
|
9379
|
+
* Set `remove_organisation=true` to enable.
|
|
9380
|
+
*
|
|
9381
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
9382
|
+
*
|
|
9383
|
+
*/
|
|
9384
|
+
type RemoveOrganisationParam = "true";
|
|
9371
9385
|
/**
|
|
9372
9386
|
* **Tags**
|
|
9373
9387
|
*
|
|
@@ -9453,6 +9467,17 @@ type PostcodesData = {
|
|
|
9453
9467
|
*
|
|
9454
9468
|
*/
|
|
9455
9469
|
tags?: string;
|
|
9470
|
+
/**
|
|
9471
|
+
* **Remove Organisation**
|
|
9472
|
+
*
|
|
9473
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
9474
|
+
*
|
|
9475
|
+
* Set `remove_organisation=true` to enable.
|
|
9476
|
+
*
|
|
9477
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
9478
|
+
*
|
|
9479
|
+
*/
|
|
9480
|
+
remove_organisation?: "true";
|
|
9456
9481
|
/**
|
|
9457
9482
|
* **Filter by Dataset**
|
|
9458
9483
|
*
|
|
@@ -9746,6 +9771,17 @@ type AddressCleanseData = {
|
|
|
9746
9771
|
*
|
|
9747
9772
|
*/
|
|
9748
9773
|
tags?: string;
|
|
9774
|
+
/**
|
|
9775
|
+
* **Remove Organisation**
|
|
9776
|
+
*
|
|
9777
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
9778
|
+
*
|
|
9779
|
+
* Set `remove_organisation=true` to enable.
|
|
9780
|
+
*
|
|
9781
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
9782
|
+
*
|
|
9783
|
+
*/
|
|
9784
|
+
remove_organisation?: "true";
|
|
9749
9785
|
/**
|
|
9750
9786
|
* Identify the country of the address to cleanse. Defaults to UK (GBR)
|
|
9751
9787
|
*
|
|
@@ -10106,6 +10142,17 @@ type ResolveAddressData = {
|
|
|
10106
10142
|
*
|
|
10107
10143
|
*/
|
|
10108
10144
|
tags?: string;
|
|
10145
|
+
/**
|
|
10146
|
+
* **Remove Organisation**
|
|
10147
|
+
*
|
|
10148
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
10149
|
+
*
|
|
10150
|
+
* Set `remove_organisation=true` to enable.
|
|
10151
|
+
*
|
|
10152
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
10153
|
+
*
|
|
10154
|
+
*/
|
|
10155
|
+
remove_organisation?: "true";
|
|
10109
10156
|
};
|
|
10110
10157
|
url: "/autocomplete/addresses/{address}/gbr";
|
|
10111
10158
|
};
|
|
@@ -10337,6 +10384,17 @@ type AddressesData = {
|
|
|
10337
10384
|
*
|
|
10338
10385
|
*/
|
|
10339
10386
|
tags?: string;
|
|
10387
|
+
/**
|
|
10388
|
+
* **Remove Organisation**
|
|
10389
|
+
*
|
|
10390
|
+
* Removes organisation and department names from the address lines (`line_1`, `line_2`, ...). Remaining lines move up. Useful when delivering to people rather than businesses.
|
|
10391
|
+
*
|
|
10392
|
+
* Set `remove_organisation=true` to enable.
|
|
10393
|
+
*
|
|
10394
|
+
* `organisation_name`, `department_name` and the `native` record are unchanged. If removing the organisation and department would leave no address lines (e.g. `Asda PLC, London, SW1A 1AA`), they are kept and the lines are returned unchanged. Building and farm names (e.g. `hofname`, `adressetilleggsnavn`, `bdg_name`) are not removed.
|
|
10395
|
+
*
|
|
10396
|
+
*/
|
|
10397
|
+
remove_organisation?: "true";
|
|
10340
10398
|
/**
|
|
10341
10399
|
* **Filter by Dataset**
|
|
10342
10400
|
*
|
|
@@ -10497,9 +10555,9 @@ type ListLicenseesData = {
|
|
|
10497
10555
|
};
|
|
10498
10556
|
query?: {
|
|
10499
10557
|
/**
|
|
10500
|
-
* ID of the licensee after which to list results
|
|
10558
|
+
* ID of the licensee after which to list results. Pass the `id` of the last licensee on the previous page.
|
|
10501
10559
|
*/
|
|
10502
|
-
starting_after?:
|
|
10560
|
+
starting_after?: string;
|
|
10503
10561
|
/**
|
|
10504
10562
|
* **Limit**
|
|
10505
10563
|
*
|
|
@@ -10985,4 +11043,4 @@ type PhoneNumberValidationResponses = {
|
|
|
10985
11043
|
};
|
|
10986
11044
|
type PhoneNumberValidationResponse = PhoneNumberValidationResponses[keyof PhoneNumberValidationResponses];
|
|
10987
11045
|
|
|
10988
|
-
export type { BiasPostcodeSectorParam as $, AddressListItem as A, ApiKeyIndividualLimit as B, Client as C, ApiKeyMonthlyLimit as D, ApiKeyNotifications as E, FindAddressData as F, ApiKeyParam as G, ApiKeyPathParam as H, ApiKeyResponse as I, ApiKeyUsageResponse as J, AutocompleteResponse as K, AvailableContexts as L, BanAddress as M, BevAddress as N, BiasCityParam as O, PostcodesData as P, BiasCountryIsoParam as Q, ResolveAddressResponse as R, BiasCountryParam as S, BiasIpParam as T, BiasLonLatParam as U, BiasPostalCode2Param as V, BiasPostalCode3Param as W, BiasPostalCodeParam as X, BiasPostcodeAreaParam as Y, BiasPostcodeOutwardParam as Z, BiasPostcodeParam as _, FindAddressResponse as a, FindPlaceError as a$, BiasPosttownParam as a0, BiasStateCodeParam as a1, BiasStateParam as a2, BiasThoroughfareParam as a3, BoxParam as a4, CannarAddress as a5, Carrier as a6, CityParam as a7, CleanseResponse as a8, ClientOptions as a9, DeleteConfigError as aA, DeleteConfigErrors as aB, DeleteConfigResponse as aC, DeleteConfigResponses as aD, DeleteLicenseeData as aE, DeleteLicenseeError as aF, DeleteLicenseeErrors as aG, DeleteLicenseeResponse as aH, DeleteLicenseeResponses as aI, Eastings as aJ, EcadAddress as aK, EcafAddress as aL, EircBase as aM, Email as aN, EmailResponse as aO, EmailValidationData as aP, EmailValidationError as aQ, EmailValidationErrors as aR, EmailValidationResponse as aS, EmailValidationResponses as aT, EndParam as aU, ErrorResponse as aV, FilterParam as aW, FindAddressError as aX, FindAddressErrors as aY, FindAddressResponses as aZ, FindPlaceData as a_, Config as aa, ConfigNewParam as ab, ConfigParam as ac, ConfigResponse as ad, ConfigUpdateParam as ae, ConfigsResponse as af, Context as ag, ContextParam as ah, Country as ai, CountryIso as aj, CountryIso2 as ak, CountryIsoParam as al, CountryParam as am, CreateConfigData as an, CreateConfigError as ao, CreateConfigErrors as ap, CreateConfigResponse as aq, CreateConfigResponses as ar, CreateLicenseeData as as, CreateLicenseeError as at, CreateLicenseeErrors as au, CreateLicenseeResponse as av, CreateLicenseeResponses as aw, Dataset as ax, DatasetParam as ay, DeleteConfigData as az, AbAddress as b, NybAddress as b$, FindPlaceErrors as b0, FindPlaceResponse as b1, FindPlaceResponses as b2, FodbosaAddress as b3, GbrCleanseMatch as b4, GbrCleanseNoMatch as b5, GbrResolveAddressResponse as b6, GeonamesPlace as b7, GnafAddress as b8, HereAddress as b9, KeyUsageResult as bA, Language as bB, Latitude as bC, Licensee as bD, LicenseeEditable as bE, LicenseeParam as bF, LicenseePathParam as bG, LicenseeResponse as bH, LicenseesResponse as bI, LimitParam as bJ, ListConfigsData as bK, ListConfigsError as bL, ListConfigsErrors as bM, ListConfigsResponse as bN, ListConfigsResponses as bO, ListLicenseesData as bP, ListLicenseesError as bQ, ListLicenseesErrors as bR, ListLicenseesResponse as bS, ListLicenseesResponses as bT, Longitude as bU, MoisAddress as bV, MrAddress as bW, NativeRecord as bX, NoContext as bY, Northings as bZ, NotFoundResponse as b_, Id as ba, InvalidPhoneNumber as bb, IsBusinessParam as bc, IsPoboxParam as bd, KadasterAddress as be, KartverketAddress as bf, KeyAvailabilityData as bg, KeyAvailabilityError as bh, KeyAvailabilityErrors as bi, KeyAvailabilityResponse as bj, KeyAvailabilityResponses as bk, KeyDetailsData as bl, KeyDetailsError as bm, KeyDetailsErrors as bn, KeyDetailsResponse as bo, KeyDetailsResponses as bp, KeyLogsData as bq, KeyLogsError as br, KeyLogsErrors as bs, KeyLogsResponse as bt, KeyLogsResponses as bu, KeyUsageData as bv, KeyUsageError as bw, KeyUsageErrors as bx, KeyUsageResponse as by, KeyUsageResponses as bz, AbpAddress as c,
|
|
11046
|
+
export type { BiasPostcodeSectorParam as $, AddressListItem as A, ApiKeyIndividualLimit as B, Client as C, ApiKeyMonthlyLimit as D, ApiKeyNotifications as E, FindAddressData as F, ApiKeyParam as G, ApiKeyPathParam as H, ApiKeyResponse as I, ApiKeyUsageResponse as J, AutocompleteResponse as K, AvailableContexts as L, BanAddress as M, BevAddress as N, BiasCityParam as O, PostcodesData as P, BiasCountryIsoParam as Q, ResolveAddressResponse as R, BiasCountryParam as S, BiasIpParam as T, BiasLonLatParam as U, BiasPostalCode2Param as V, BiasPostalCode3Param as W, BiasPostalCodeParam as X, BiasPostcodeAreaParam as Y, BiasPostcodeOutwardParam as Z, BiasPostcodeParam as _, FindAddressResponse as a, FindPlaceError as a$, BiasPosttownParam as a0, BiasStateCodeParam as a1, BiasStateParam as a2, BiasThoroughfareParam as a3, BoxParam as a4, CannarAddress as a5, Carrier as a6, CityParam as a7, CleanseResponse as a8, ClientOptions as a9, DeleteConfigError as aA, DeleteConfigErrors as aB, DeleteConfigResponse as aC, DeleteConfigResponses as aD, DeleteLicenseeData as aE, DeleteLicenseeError as aF, DeleteLicenseeErrors as aG, DeleteLicenseeResponse as aH, DeleteLicenseeResponses as aI, Eastings as aJ, EcadAddress as aK, EcafAddress as aL, EircBase as aM, Email as aN, EmailResponse as aO, EmailValidationData as aP, EmailValidationError as aQ, EmailValidationErrors as aR, EmailValidationResponse as aS, EmailValidationResponses as aT, EndParam as aU, ErrorResponse as aV, FilterParam as aW, FindAddressError as aX, FindAddressErrors as aY, FindAddressResponses as aZ, FindPlaceData as a_, Config as aa, ConfigNewParam as ab, ConfigParam as ac, ConfigResponse as ad, ConfigUpdateParam as ae, ConfigsResponse as af, Context as ag, ContextParam as ah, Country as ai, CountryIso as aj, CountryIso2 as ak, CountryIsoParam as al, CountryParam as am, CreateConfigData as an, CreateConfigError as ao, CreateConfigErrors as ap, CreateConfigResponse as aq, CreateConfigResponses as ar, CreateLicenseeData as as, CreateLicenseeError as at, CreateLicenseeErrors as au, CreateLicenseeResponse as av, CreateLicenseeResponses as aw, Dataset as ax, DatasetParam as ay, DeleteConfigData as az, AbAddress as b, NybAddress as b$, FindPlaceErrors as b0, FindPlaceResponse as b1, FindPlaceResponses as b2, FodbosaAddress as b3, GbrCleanseMatch as b4, GbrCleanseNoMatch as b5, GbrResolveAddressResponse as b6, GeonamesPlace as b7, GnafAddress as b8, HereAddress as b9, KeyUsageResult as bA, Language as bB, Latitude as bC, Licensee as bD, LicenseeEditable as bE, LicenseeParam as bF, LicenseePathParam as bG, LicenseeResponse as bH, LicenseesResponse as bI, LimitParam as bJ, ListConfigsData as bK, ListConfigsError as bL, ListConfigsErrors as bM, ListConfigsResponse as bN, ListConfigsResponses as bO, ListLicenseesData as bP, ListLicenseesError as bQ, ListLicenseesErrors as bR, ListLicenseesResponse as bS, ListLicenseesResponses as bT, Longitude as bU, MoisAddress as bV, MrAddress as bW, NativeRecord as bX, NoContext as bY, Northings as bZ, NotFoundResponse as b_, Id as ba, InvalidPhoneNumber as bb, IsBusinessParam as bc, IsPoboxParam as bd, KadasterAddress as be, KartverketAddress as bf, KeyAvailabilityData as bg, KeyAvailabilityError as bh, KeyAvailabilityErrors as bi, KeyAvailabilityResponse as bj, KeyAvailabilityResponses as bk, KeyDetailsData as bl, KeyDetailsError as bm, KeyDetailsErrors as bn, KeyDetailsResponse as bo, KeyDetailsResponses as bp, KeyLogsData as bq, KeyLogsError as br, KeyLogsErrors as bs, KeyLogsResponse as bt, KeyLogsResponses as bu, KeyUsageData as bv, KeyUsageError as bw, KeyUsageErrors as bx, KeyUsageResponse as by, KeyUsageResponses as bz, AbpAddress as c, StateCodeParam as c$, PafAddress as c0, PafRecordBase as c1, PafaAddress as c2, PafwAddress as c3, PageParam as c4, PhoneNumber as c5, PhoneNumberResponse as c6, PhoneNumberValidationData as c7, PhoneNumberValidationError as c8, PhoneNumberValidationErrors as c9, RegenerateLicenseeKeyErrors as cA, RegenerateLicenseeKeyResponse as cB, RegenerateLicenseeKeyResponses as cC, RemoveOrganisationParam as cD, ResolveAddressData as cE, ResolveAddressError as cF, ResolveAddressErrors as cG, ResolveAddressResponses as cH, ResolvePlaceData as cI, ResolvePlaceError as cJ, ResolvePlaceErrors as cK, ResolvePlaceResponse as cL, ResolvePlaceResponse2 as cM, ResolvePlaceResponses as cN, RetrieveConfigData as cO, RetrieveConfigError as cP, RetrieveConfigErrors as cQ, RetrieveConfigResponse as cR, RetrieveConfigResponses as cS, RetrieveLicenseeData as cT, RetrieveLicenseeError as cU, RetrieveLicenseeErrors as cV, RetrieveLicenseeResponse as cW, RetrieveLicenseeResponses as cX, SdfiAddress as cY, SmallUserParam as cZ, StartParam as c_, PhoneNumberValidationResponse as ca, PhoneNumberValidationResponses as cb, Place as cc, PlaceCountryIso as cd, PlaceDescriptiveName as ce, PlaceId as cf, PlaceName as cg, PlaceResponse as ch, PlaceSuggestion as ci, PostTownParam as cj, PostalCode2Param as ck, PostalCode3Param as cl, PostalCodeParam as cm, PostcodeAreaParam as cn, PostcodeNotFoundResponse as co, PostcodeOutwardParam as cp, PostcodeParam as cq, PostcodeResponse as cr, PostcodeSectorParam as cs, PostcodeTypeParam as ct, PostcodesError as cu, PostcodesErrors as cv, PostcodesResponse as cw, PostcodesResponses as cx, RegenerateLicenseeKeyData as cy, RegenerateLicenseeKeyError as cz, Address as d, StateParam as d0, SwtAddress as d1, TagsParam as d2, UkAddressSuggestion as d3, UnknownEmail as d4, UpdateConfigData as d5, UpdateConfigError as d6, UpdateConfigErrors as d7, UpdateConfigResponse as d8, UpdateConfigResponses as d9, UpdateKeyDetailsData as da, UpdateKeyDetailsError as db, UpdateKeyDetailsErrors as dc, UpdateKeyDetailsResponse as dd, UpdateKeyDetailsResponses as de, UpdateLicenseeData as df, UpdateLicenseeError as dg, UpdateLicenseeErrors as dh, UpdateLicenseeResponse as di, UpdateLicenseeResponses as dj, UprnParam as dk, UpujpAddress as dl, UspsAddress as dm, TDataShape as dn, Options as dp, RequestResult as dq, AddressCleanseData as e, AddressCleanseError as f, AddressCleanseErrors as g, AddressCleanseResponse as h, AddressCleanseResponses as i, AddressLatitudeParam as j, AddressLongitudeParam as k, AddressResponse as l, AddressSuggestion as m, AddressesData as n, AddressesError as o, AddressesErrors as p, AddressesResponse as q, AddressesResponses as r, ApiKey as s, ApiKeyAutomatedTopup as t, ApiKeyCurrentPurchase as u, ApiKeyDailyLimit as v, ApiKeyDatasets as w, ApiKeyDetails as x, ApiKeyDetailsEditable as y, ApiKeyDetailsResponse as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ideal-postcodes/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Fetch-based, treeshakable TypeScript SDK for api.ideal-postcodes.co.uk",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ideal Postcodes",
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@arethetypeswrong/cli": "0.18.5",
|
|
99
99
|
"@hey-api/openapi-ts": "0.97.3",
|
|
100
|
-
"@iddqdhq/jsutil": "8.1.
|
|
100
|
+
"@iddqdhq/jsutil": "8.1.5",
|
|
101
101
|
"@iddqdhq/sdk-scripts": "0.0.1",
|
|
102
102
|
"@iddqdhq/test-config": "0.0.0",
|
|
103
103
|
"@iddqdhq/tsconfig-base": "0.0.0",
|
|
104
104
|
"@iddqdhq/tsup-config": "0.0.0",
|
|
105
|
-
"@ideal-postcodes/openapi": "5.1
|
|
105
|
+
"@ideal-postcodes/openapi": "5.2.1",
|
|
106
106
|
"@size-limit/esbuild": "14.0.0",
|
|
107
107
|
"@size-limit/file": "14.0.0",
|
|
108
108
|
"@tanstack/preact-query": "5.100.11",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"tsup": "~8.5.1",
|
|
118
118
|
"tsx": "4.21.0",
|
|
119
119
|
"typescript": "5.9.3",
|
|
120
|
-
"vitest": "~4.1.
|
|
120
|
+
"vitest": "~4.1.12"
|
|
121
121
|
},
|
|
122
122
|
"scripts": {
|
|
123
123
|
"generate": "openapi-ts && tsx ../sdk-scripts/src/generate-endpoints.ts",
|