@addresszen/openapi 3.4.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by openapi-typescript.
3
3
  * Do not make direct changes to the file.
4
4
  */
5
- export interface paths {
5
+ interface paths {
6
6
  "/postcodes/{postcode}": {
7
7
  /**
8
8
  * Returns the complete list of addresses for a postcode. Postcode searches are space and case insensitive.
@@ -62,7 +62,7 @@ export interface paths {
62
62
  };
63
63
  "/umprn/{umprn}": {
64
64
  /**
65
- * Returns a multiple occupancy address identifited via its UMPRN (Multiple Residence Unique ID).
65
+ * Returns a multiple occupancy address identified via its UMPRN (Multiple Residence Unique ID).
66
66
  *
67
67
  * UMPRNs are a unique numeric code for any Multiple Residence household on the optional Multiple Residence dataset.
68
68
  *
@@ -88,8 +88,8 @@ export interface paths {
88
88
  * Returns public information on your API Key.
89
89
  *
90
90
  * This endpoint can be used for the following:
91
- * - Determine if the key is currently useable via the `available` property
92
- * - Determine available contexts for a an API Key
91
+ * - Determine if the key is currently usable via the `available` property
92
+ * - Determine available contexts for an API Key
93
93
  * - Identify the currently likely context of a user given their location
94
94
  *
95
95
  * You may pass both API Keys (beginning `ak_`) and Sub-licensed Keys (beginning `sl_`).
@@ -152,13 +152,13 @@ export interface paths {
152
152
  *
153
153
  * ### Deciding on an Acceptable Confidence Score Threshold
154
154
  *
155
- * Different address cleanse projects can have radically different inputs. However, within each project, the inputs tend to repeat the same errors. For instance, some input datasets may be exclusively inputted manually and be prone to typos. Others may have a persistently missing datapoint such as organistation name or postcode. For this reason, it is important to understand that there is no absolute Confidence Score threshold. Instead, the acceptable confidence score must be determined on a project by project basis based on systematic errors present in the data and business goals.
155
+ * Different address cleanse projects can have radically different inputs. However, within each project, the inputs tend to repeat the same errors. For instance, some input datasets may be exclusively inputted manually and be prone to typos. Others may have a persistently missing datapoint such as organisation name or postcode. For this reason, it is important to understand that there is no absolute Confidence Score threshold. Instead, the acceptable confidence score must be determined on a project by project basis based on systematic errors present in the data and business goals.
156
156
  *
157
157
  * When determining an acceptable Confidence Score threshold you should load a subset of the dataset into a spreadsheet application like Excel and sort on the score. Scrolling from top-to-bottom you will be able to observe matches from best to worst. As you start to hit the lower quality searches, you will be able to roughly determine:
158
- * - Which confidence scores indicate ambigious matches (i.e. up to building level only)
158
+ * - Which confidence scores indicate ambiguous matches (i.e. up to building level only)
159
159
  * - Which confidence scores indicate a poor or no match (i.e. the nearest matching address is too far from the input address)
160
160
  *
161
- * Depending on your business goals, you can also use the Match Levels to determine an acceptable match. For instance, do you need to match up to the throroughfare or building name only? Are accurate organisation names an important feature?
161
+ * Depending on your business goals, you can also use the Match Levels to determine an acceptable match. For instance, do you need to match up to the thoroughfare or building name only? Are accurate organisation names an important feature?
162
162
  */
163
163
  post: operations["AddressCleanse"];
164
164
  };
@@ -171,13 +171,13 @@ export interface paths {
171
171
  * - Free-form address submitted as a single string in `query`
172
172
  * - Example: "123 Main St, Springfield, CO 81073-1119"
173
173
  * - Only free-form and zip code address components submitted as separate parameters:
174
- * - `query` for the street address
174
+ * - `query` for the first address line
175
175
  * - `zip_code` for the ZIP code
176
176
  * - Example:
177
177
  * - `query`: "123 Main St, Springfield CO"
178
178
  * - `zip_code`: "81073-1119"
179
179
  * - Only free-form, city and state address components submitted as separate parameters:
180
- * - `query` for the street address
180
+ * - `query` for the first address line
181
181
  * - `city` for the city
182
182
  * - `state` for the state
183
183
  * - Example:
@@ -330,7 +330,7 @@ export interface paths {
330
330
  *
331
331
  * ## Suggestion Format
332
332
  *
333
- * Each place suggestion contains a descriptive name which you can provide to users to uniquely idenfity a place.
333
+ * Each place suggestion contains a descriptive name which you can provide to users to uniquely identify a place.
334
334
  *
335
335
  * ## Rate Limiting and Cost
336
336
  *
@@ -381,7 +381,7 @@ export interface paths {
381
381
  get: operations["PhoneNumberValidation"];
382
382
  };
383
383
  }
384
- export interface components {
384
+ interface components {
385
385
  schemas: {
386
386
  ecaf: components["schemas"]["EcafAddress"];
387
387
  ecad: components["schemas"]["EcadAddress"];
@@ -1041,9 +1041,10 @@ export interface components {
1041
1041
  * - `fodbosa` (BEL) Belgium Dataset
1042
1042
  * - `mois` (KOR) South Korea Dataset
1043
1043
  * - `upujp` (JPN) Japan UPU Address File
1044
+ * - `bev` (AUT) Austria Dataset
1044
1045
  * @enum {string}
1045
1046
  */
1046
- Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad" | "ab" | "herewe" | "heret" | "heresa" | "hereo" | "herena" | "heremeas" | "heremea" | "herem" | "herei" | "herehk" | "hereee" | "hereap" | "gnaf" | "kadaster" | "kartverket" | "sdfi" | "cannar" | "fodbosa" | "mois" | "upujp";
1047
+ Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad" | "ab" | "herewe" | "heret" | "heresa" | "hereo" | "herena" | "heremeas" | "heremea" | "herem" | "herei" | "herehk" | "hereee" | "hereap" | "gnaf" | "kadaster" | "kartverket" | "sdfi" | "cannar" | "fodbosa" | "mois" | "upujp" | "bev";
1047
1048
  /**
1048
1049
  * ISO Country Code (3)
1049
1050
  * @description 3 letter country code (ISO 3166-1)
@@ -4830,6 +4831,146 @@ export interface components {
4830
4831
  } & {
4831
4832
  script: unknown;
4832
4833
  };
4834
+ BevAddress: {
4835
+ id: components["schemas"]["ID"];
4836
+ /** @enum {string} */
4837
+ dataset: "bev";
4838
+ /**
4839
+ * @description 3 letter country code (ISO 3166-1)
4840
+ *
4841
+ * @enum {undefined}
4842
+ */
4843
+ country_iso: "AUT";
4844
+ /**
4845
+ * @description 2 letter country code (ISO 3166-1)
4846
+ *
4847
+ * @enum {string}
4848
+ */
4849
+ country_iso_2: "AT";
4850
+ /**
4851
+ * @description Full country names (ISO 3166)
4852
+ *
4853
+ * @enum {string}
4854
+ */
4855
+ country: "Austria";
4856
+ /**
4857
+ * @description Language represented by 2 letter ISO Code (639-1)
4858
+ *
4859
+ * @enum {undefined}
4860
+ */
4861
+ language: "de";
4862
+ /**
4863
+ * @description Combination of hnr_adr_zusammen and hnr_geb_zusammen - the full house number and building designation.
4864
+ *
4865
+ * Can be empty string `""` if not present.
4866
+ *
4867
+ * @example 40
4868
+ */
4869
+ address: string;
4870
+ /**
4871
+ * @description First address line.
4872
+ *
4873
+ * Can be empty string `""` if not present.
4874
+ *
4875
+ * @example Villa Kranzmayer
4876
+ */
4877
+ line_1: string;
4878
+ /**
4879
+ * @description Second address line.
4880
+ *
4881
+ * Can be empty string `""` if not present.
4882
+ *
4883
+ * @example Römerweg 48
4884
+ */
4885
+ line_2: string;
4886
+ longitude: components["schemas"]["Longitude"];
4887
+ latitude: components["schemas"]["Latitude"];
4888
+ /** @description Unique identifier of the address */
4889
+ adrcd: string;
4890
+ /** @description Cadastral number of the municipality of the land parcel associated with the address */
4891
+ kgnr: string;
4892
+ /** @description Municipality unique identifier */
4893
+ gkz: string;
4894
+ /** @description Locality unique identifier */
4895
+ okz: string;
4896
+ /** @description Postal code */
4897
+ plz: string;
4898
+ /** @description Street unique identifier */
4899
+ skz: string;
4900
+ /** @description Census district unique identifier */
4901
+ zaehlsprengel: string;
4902
+ /** @description Text before house number */
4903
+ hausnrtext: string;
4904
+ hausnrzahl1: string | number;
4905
+ /** @description House letter part 1 */
4906
+ hausnrbuchstabe1: string;
4907
+ /** @description House number connector 1 */
4908
+ hausnrverbindung1: string;
4909
+ hausnrzahl2: string | number;
4910
+ /** @description House letter part 2 */
4911
+ hausnrbuchstabe2: string;
4912
+ /** @description House number range scheme (even, odd, all or not specified) */
4913
+ hausnrbereich: string;
4914
+ /** @description Complete house number (combination of house number parts and letters) */
4915
+ hnr_adr_zusammen: string;
4916
+ /** @description Parcel number used as an address when no house number is present */
4917
+ gnradresse: number;
4918
+ /** @description Name of building or building complex (e.g. farmstead) */
4919
+ hofname: string;
4920
+ /** @description Easting / X coordinate */
4921
+ rw: string;
4922
+ /** @description Northing / Y coordinate */
4923
+ hw: string;
4924
+ /** @description Coordinate reference system identifier */
4925
+ epsg: number;
4926
+ /** @description Coordinate accuracy level (building level, parcel level, etc.) */
4927
+ quelladresse: string;
4928
+ /** @description Coordinate determination method (DKM, surveying office, municipality, etc.) */
4929
+ bestimmungsart: string;
4930
+ /** @description Subcode to distinguish multiple buildings at the same address */
4931
+ subcd: string;
4932
+ /** @description Object number of the building */
4933
+ objektnummer: string;
4934
+ /**
4935
+ * @description All building function codes related to the address
4936
+ *
4937
+ * Can be empty string `""` if not present.
4938
+ */
4939
+ objfunktkennziffer: string;
4940
+ hauptadresse: string | number;
4941
+ /** @description House number connector 2 */
4942
+ hausnrverbindung2: string;
4943
+ hausnrzahl3: string | number;
4944
+ /** @description House letter part 3 */
4945
+ hausnrbuchstabe3: string;
4946
+ /** @description House number connector 3 */
4947
+ hausnrverbindung3: string;
4948
+ hausnrzahl4: string | number;
4949
+ /** @description House letter part 4 */
4950
+ hausnrbuchstabe4: string;
4951
+ /** @description Building description */
4952
+ hausnrgebaeudebez: string;
4953
+ /** @description Combination of house number and building designation */
4954
+ hnr_geb_zusammen: string;
4955
+ /** @description Code indicating the primary use or function of the building associated with the address */
4956
+ eigenschaft: string;
4957
+ /** @description Name of the municipality */
4958
+ gemeindename: string;
4959
+ /** @description Name of the locality */
4960
+ ortsname: string;
4961
+ /** @description Name of the street */
4962
+ strassenname: string;
4963
+ /** @description Street type (e.g., "Allee", "Strasse", etc.) */
4964
+ strassennamenzusatz: string;
4965
+ /** @description Indicates whether the street type is included in the street name */
4966
+ szusadrbest: number;
4967
+ /** @description Postal town name */
4968
+ zustellort: string;
4969
+ /** @description Postal town identifier */
4970
+ zustellort_id: string;
4971
+ /** @description Name of the census district */
4972
+ zaehlsprengelname: string;
4973
+ };
4833
4974
  /**
4834
4975
  * Global Address
4835
4976
  * @description Global (non-UK) address in the UK address format
@@ -4884,7 +5025,7 @@ export interface components {
4884
5025
  latitude: components["schemas"]["Latitude"];
4885
5026
  country: components["schemas"]["Country"];
4886
5027
  /** @description The native representation of a non-UK address */
4887
- native: components["schemas"]["EcadAddress"] | components["schemas"]["EcafAddress"] | components["schemas"]["UspsAddress"] | components["schemas"]["HereAddress"] | components["schemas"]["GnafAddress"] | components["schemas"]["KadasterAddress"] | components["schemas"]["KartverketAddress"] | components["schemas"]["SdfiAddress"] | components["schemas"]["CannarAddress"] | components["schemas"]["FodbosaAddress"] | components["schemas"]["MoisAddress"] | components["schemas"]["UpujpAddress"];
5028
+ native: components["schemas"]["EcadAddress"] | components["schemas"]["EcafAddress"] | components["schemas"]["UspsAddress"] | components["schemas"]["HereAddress"] | components["schemas"]["GnafAddress"] | components["schemas"]["KadasterAddress"] | components["schemas"]["KartverketAddress"] | components["schemas"]["SdfiAddress"] | components["schemas"]["CannarAddress"] | components["schemas"]["FodbosaAddress"] | components["schemas"]["MoisAddress"] | components["schemas"]["UpujpAddress"] | components["schemas"]["BevAddress"];
4888
5029
  /**
4889
5030
  * @description Not available for non-UK addresses
4890
5031
  * @enum {string}
@@ -4906,50 +5047,50 @@ export interface components {
4906
5047
  */
4907
5048
  double_dependant_locality: "";
4908
5049
  /**
4909
- * @description Not available for non-UK addresses
4910
- * @enum {string}
5050
+ * @description Street name
5051
+ * @example Georgia Ave
4911
5052
  */
4912
- thoroughfare: "";
5053
+ thoroughfare: string;
4913
5054
  /**
4914
5055
  * @description Not available for non-UK addresses
4915
5056
  * @enum {string}
4916
5057
  */
4917
5058
  dependant_thoroughfare: "";
4918
5059
  /**
4919
- * @description Not available for non-UK addresses
4920
- * @enum {string}
5060
+ * @description Address or house number
5061
+ * @example 2
4921
5062
  */
4922
- building_number: "";
5063
+ building_number: string;
4923
5064
  /**
4924
- * @description Not available for non-UK addresses
4925
- * @enum {string}
5065
+ * @description Name of the building associated with the address
5066
+ * @example Holland House
4926
5067
  */
4927
- building_name: "";
5068
+ building_name: string;
4928
5069
  /**
4929
- * @description Not available for non-UK addresses
4930
- * @enum {string}
5070
+ * @description Name of the sub-building associated with the address
5071
+ * @example Kingscourt Post Office
4931
5072
  */
4932
- sub_building_name: "";
5073
+ sub_building_name: string;
4933
5074
  /**
4934
5075
  * @description Not available for non-UK addresses
4935
5076
  * @enum {string}
4936
5077
  */
4937
5078
  premise: "";
4938
5079
  /**
4939
- * @description Not available for non-UK addresses
4940
- * @enum {string}
5080
+ * @description PO Box number
5081
+ * @example 100
4941
5082
  */
4942
- po_box: "";
5083
+ po_box: string;
4943
5084
  /**
4944
5085
  * @description Not available for non-UK addresses
4945
5086
  * @enum {string}
4946
5087
  */
4947
5088
  department_name: "";
4948
5089
  /**
4949
- * @description Not available for non-UK addresses
4950
- * @enum {string}
5090
+ * @description Name of the company or organisation associated with the address
5091
+ * @example Farrell's Gift Shop
4951
5092
  */
4952
- organisation_name: "";
5093
+ organisation_name: string;
4953
5094
  /** @description Not available for non-UK addresses. See `id` for address identifier */
4954
5095
  udprn: string;
4955
5096
  /**
@@ -5342,6 +5483,22 @@ export interface components {
5342
5483
  */
5343
5484
  consumed: number;
5344
5485
  };
5486
+ /** API Key Monthly Limit */
5487
+ ApiKeyMonthlyLimit: {
5488
+ /**
5489
+ * Format: int32
5490
+ * @description `number` or `null`. The monthly lookup limit currently set on your key.
5491
+ * `null` means the limit is currently disabled.
5492
+ * @example 10000
5493
+ */
5494
+ limit: number | null;
5495
+ /**
5496
+ * Format: int32
5497
+ * @description Number of lookups performed this month which count towards your monthly limit.
5498
+ * @example 2500
5499
+ */
5500
+ consumed: number;
5501
+ };
5345
5502
  /** API Key Individual Limit */
5346
5503
  ApiKeyIndividualLimit: {
5347
5504
  /**
@@ -5359,6 +5516,16 @@ export interface components {
5359
5516
  emails: string[];
5360
5517
  /** @description Indicates whether email notifications are enabled. */
5361
5518
  enabled: boolean;
5519
+ /**
5520
+ * Format: int32
5521
+ * @description Balance threshold that triggers a reminder email. null means disabled.
5522
+ * @example 500
5523
+ */
5524
+ balance_threshold: number | null;
5525
+ /** @description Send notice when balance hits zero. */
5526
+ no_balance: boolean;
5527
+ /** @description Send notice when rate limit is reached. */
5528
+ limit_reached: boolean;
5362
5529
  };
5363
5530
  /**
5364
5531
  * API Key Dataset Availability
@@ -5522,6 +5689,21 @@ export interface components {
5522
5689
  * @example true
5523
5690
  */
5524
5691
  upujp: boolean;
5692
+ /**
5693
+ * @description Austria: BEV Address File
5694
+ * @example true
5695
+ */
5696
+ bev: boolean;
5697
+ /**
5698
+ * @description UK GBR Cleanse
5699
+ * @example true
5700
+ */
5701
+ gbrcleanse: boolean;
5702
+ /**
5703
+ * @description US CASS Cleanse
5704
+ * @example true
5705
+ */
5706
+ uspscleanse: boolean;
5525
5707
  };
5526
5708
  /**
5527
5709
  * API Key Automated Topup
@@ -5559,12 +5741,19 @@ export interface components {
5559
5741
  };
5560
5742
  /** API Key Details */
5561
5743
  ApiKeyDetails: {
5744
+ /**
5745
+ * @description A name for the key
5746
+ * @example My API Key
5747
+ */
5748
+ name: string;
5749
+ contexts: components["schemas"]["AvailableContexts"];
5562
5750
  /**
5563
5751
  * Format: int32
5564
5752
  * @example 19889
5565
5753
  */
5566
5754
  lookups_remaining: number;
5567
5755
  daily_limit: components["schemas"]["ApiKeyDailyLimit"];
5756
+ monthly_limit: components["schemas"]["ApiKeyMonthlyLimit"];
5568
5757
  individual_limit: components["schemas"]["ApiKeyIndividualLimit"];
5569
5758
  /** @description A list of allowed URLs. An empty list means that allowed URLs are disabled. */
5570
5759
  allowed_urls: string[];
@@ -5597,6 +5786,11 @@ export interface components {
5597
5786
  };
5598
5787
  /** API Key Details Update */
5599
5788
  ApiKeyDetailsEditable: {
5789
+ /**
5790
+ * @description A name for the key
5791
+ * @example My API Key
5792
+ */
5793
+ name?: string;
5600
5794
  /** Daily Rate Limit */
5601
5795
  daily_limit?: {
5602
5796
  /**
@@ -5607,6 +5801,16 @@ export interface components {
5607
5801
  */
5608
5802
  limit?: number | null;
5609
5803
  };
5804
+ /** Monthly Rate Limit */
5805
+ monthly_limit?: {
5806
+ /**
5807
+ * Format: int32
5808
+ * @description `number` or `null`. The monthly lookup limit currently set on your key.
5809
+ * `null` means the limit is currently disabled.
5810
+ * @example 10000
5811
+ */
5812
+ limit?: number | null;
5813
+ };
5610
5814
  /** API Key Individual Limit */
5611
5815
  individual_limit?: {
5612
5816
  /**
@@ -5631,6 +5835,16 @@ export interface components {
5631
5835
  emails?: string[];
5632
5836
  /** @description Indicates whether email notifications are enabled. */
5633
5837
  enabled?: boolean;
5838
+ /**
5839
+ * Format: int32
5840
+ * @description Balance threshold that triggers a reminder email. null to disable.
5841
+ * @example 500
5842
+ */
5843
+ balance_threshold?: number | null;
5844
+ /** @description Send notice when balance hits zero. */
5845
+ no_balance?: boolean;
5846
+ /** @description Send notice when rate limit is reached. */
5847
+ limit_reached?: boolean;
5634
5848
  };
5635
5849
  /**
5636
5850
  * @description Accept IP addresses forwarded in the `IDPC-Source-IP` header
@@ -5767,6 +5981,31 @@ export interface components {
5767
5981
  * @example true
5768
5982
  */
5769
5983
  upujp?: boolean;
5984
+ /**
5985
+ * @description Austria: BEV Address File
5986
+ * @example true
5987
+ */
5988
+ bev?: boolean;
5989
+ /**
5990
+ * @description UK AddressBase dataset
5991
+ * @example false
5992
+ */
5993
+ ab?: boolean;
5994
+ /**
5995
+ * @description Northern Ireland Pointer Dataset
5996
+ * @example false
5997
+ */
5998
+ nip?: boolean;
5999
+ /**
6000
+ * @description UK GBR Cleanse
6001
+ * @example true
6002
+ */
6003
+ gbrcleanse?: boolean;
6004
+ /**
6005
+ * @description US CASS Cleanse
6006
+ * @example true
6007
+ */
6008
+ uspscleanse?: boolean;
5770
6009
  };
5771
6010
  };
5772
6011
  /** Key Usage */
@@ -6521,15 +6760,15 @@ export interface components {
6521
6760
  country_iso_2: components["schemas"]["CountryISO2"];
6522
6761
  language: components["schemas"]["Language"];
6523
6762
  /**
6524
- * @description Not available for non-US addresses
6525
- * @enum {string}
6763
+ * @description House number or PO Box number
6764
+ * @example 10
6526
6765
  */
6527
- primary_number: "";
6766
+ primary_number: string;
6528
6767
  /**
6529
- * @description Not available for non-US addresses
6530
- * @enum {string}
6768
+ * @description Unit or apartment number
6769
+ * @example 4
6531
6770
  */
6532
- secondary_number: "";
6771
+ secondary_number: string;
6533
6772
  /**
6534
6773
  * @description Not available for non-US addresses
6535
6774
  * @enum {string}
@@ -6569,10 +6808,10 @@ export interface components {
6569
6808
  */
6570
6809
  street_pre_directional_abbreviation: "";
6571
6810
  /**
6572
- * @description Not available for non-US addresses
6573
- * @enum {string}
6811
+ * @description Street name
6812
+ * @example Harvey St
6574
6813
  */
6575
- street_name: "";
6814
+ street_name: string;
6576
6815
  /**
6577
6816
  * @description Not available for non-US addresses
6578
6817
  * @enum {string}
@@ -6584,10 +6823,10 @@ export interface components {
6584
6823
  */
6585
6824
  street_post_directional_abbreviation: "";
6586
6825
  /**
6587
- * @description Not available for non-US addresses
6588
- * @enum {string}
6826
+ * @description Name of the company or building associated with the address
6827
+ * @example Cooper Ltd
6589
6828
  */
6590
- building_or_firm_name: "";
6829
+ building_or_firm_name: string;
6591
6830
  /**
6592
6831
  * @description Not available for non-US addresses
6593
6832
  * @enum {string}
@@ -6674,7 +6913,7 @@ export interface components {
6674
6913
  */
6675
6914
  county_number: "";
6676
6915
  /** @description The native representation of a non-US address */
6677
- native: components["schemas"]["EcadAddress"] | components["schemas"]["EcafAddress"] | components["schemas"]["PafAddress"] | components["schemas"]["MrAddress"] | components["schemas"]["NybAddress"] | components["schemas"]["PafAliasAddress"] | components["schemas"]["WelshPafAddress"] | components["schemas"]["AbAddress"] | components["schemas"]["HereAddress"] | components["schemas"]["GnafAddress"] | components["schemas"]["KadasterAddress"] | components["schemas"]["KartverketAddress"] | components["schemas"]["SdfiAddress"] | components["schemas"]["CannarAddress"] | components["schemas"]["FodbosaAddress"] | components["schemas"]["MoisAddress"] | components["schemas"]["UpujpAddress"];
6916
+ native: components["schemas"]["EcadAddress"] | components["schemas"]["EcafAddress"] | components["schemas"]["PafAddress"] | components["schemas"]["MrAddress"] | components["schemas"]["NybAddress"] | components["schemas"]["PafAliasAddress"] | components["schemas"]["WelshPafAddress"] | components["schemas"]["AbAddress"] | components["schemas"]["HereAddress"] | components["schemas"]["GnafAddress"] | components["schemas"]["KadasterAddress"] | components["schemas"]["KartverketAddress"] | components["schemas"]["SdfiAddress"] | components["schemas"]["CannarAddress"] | components["schemas"]["FodbosaAddress"] | components["schemas"]["MoisAddress"] | components["schemas"]["UpujpAddress"] | components["schemas"]["BevAddress"];
6678
6917
  };
6679
6918
  /** Address Retrieve Response (USA) */
6680
6919
  UsaResolveAddressResponse: {
@@ -7625,6 +7864,16 @@ export interface components {
7625
7864
  * @example sl_hk71kco54zGSGvF9eXXrvvnMOLLNh
7626
7865
  */
7627
7866
  LicenseeParam: string;
7867
+ /**
7868
+ * @description **Filter by Dataset**
7869
+ *
7870
+ * Comma-separated list of datasets to search within.
7871
+ *
7872
+ * Filters autocomplete results to only include addresses from the specified datasets.
7873
+ *
7874
+ * @example paf,nyb
7875
+ */
7876
+ DatasetParam: components["schemas"]["Dataset"][];
7628
7877
  /**
7629
7878
  * @description **Context**
7630
7879
  *
@@ -7850,7 +8099,7 @@ export interface components {
7850
8099
  ConfigParam: string;
7851
8100
  };
7852
8101
  }
7853
- export interface operations {
8102
+ interface operations {
7854
8103
  /**
7855
8104
  * Returns the complete list of addresses for a postcode. Postcode searches are space and case insensitive.
7856
8105
  *
@@ -8006,7 +8255,7 @@ export interface operations {
8006
8255
  };
8007
8256
  };
8008
8257
  /**
8009
- * Returns a multiple occupancy address identifited via its UMPRN (Multiple Residence Unique ID).
8258
+ * Returns a multiple occupancy address identified via its UMPRN (Multiple Residence Unique ID).
8010
8259
  *
8011
8260
  * UMPRNs are a unique numeric code for any Multiple Residence household on the optional Multiple Residence dataset.
8012
8261
  *
@@ -8069,8 +8318,8 @@ export interface operations {
8069
8318
  * Returns public information on your API Key.
8070
8319
  *
8071
8320
  * This endpoint can be used for the following:
8072
- * - Determine if the key is currently useable via the `available` property
8073
- * - Determine available contexts for a an API Key
8321
+ * - Determine if the key is currently usable via the `available` property
8322
+ * - Determine available contexts for an API Key
8074
8323
  * - Identify the currently likely context of a user given their location
8075
8324
  *
8076
8325
  * You may pass both API Keys (beginning `ak_`) and Sub-licensed Keys (beginning `sl_`).
@@ -8366,13 +8615,13 @@ export interface operations {
8366
8615
  *
8367
8616
  * ### Deciding on an Acceptable Confidence Score Threshold
8368
8617
  *
8369
- * Different address cleanse projects can have radically different inputs. However, within each project, the inputs tend to repeat the same errors. For instance, some input datasets may be exclusively inputted manually and be prone to typos. Others may have a persistently missing datapoint such as organistation name or postcode. For this reason, it is important to understand that there is no absolute Confidence Score threshold. Instead, the acceptable confidence score must be determined on a project by project basis based on systematic errors present in the data and business goals.
8618
+ * Different address cleanse projects can have radically different inputs. However, within each project, the inputs tend to repeat the same errors. For instance, some input datasets may be exclusively inputted manually and be prone to typos. Others may have a persistently missing datapoint such as organisation name or postcode. For this reason, it is important to understand that there is no absolute Confidence Score threshold. Instead, the acceptable confidence score must be determined on a project by project basis based on systematic errors present in the data and business goals.
8370
8619
  *
8371
8620
  * When determining an acceptable Confidence Score threshold you should load a subset of the dataset into a spreadsheet application like Excel and sort on the score. Scrolling from top-to-bottom you will be able to observe matches from best to worst. As you start to hit the lower quality searches, you will be able to roughly determine:
8372
- * - Which confidence scores indicate ambigious matches (i.e. up to building level only)
8621
+ * - Which confidence scores indicate ambiguous matches (i.e. up to building level only)
8373
8622
  * - Which confidence scores indicate a poor or no match (i.e. the nearest matching address is too far from the input address)
8374
8623
  *
8375
- * Depending on your business goals, you can also use the Match Levels to determine an acceptable match. For instance, do you need to match up to the throroughfare or building name only? Are accurate organisation names an important feature?
8624
+ * Depending on your business goals, you can also use the Match Levels to determine an acceptable match. For instance, do you need to match up to the thoroughfare or building name only? Are accurate organisation names an important feature?
8376
8625
  */
8377
8626
  AddressCleanse: {
8378
8627
  parameters: {
@@ -8471,13 +8720,13 @@ export interface operations {
8471
8720
  * - Free-form address submitted as a single string in `query`
8472
8721
  * - Example: "123 Main St, Springfield, CO 81073-1119"
8473
8722
  * - Only free-form and zip code address components submitted as separate parameters:
8474
- * - `query` for the street address
8723
+ * - `query` for the first address line
8475
8724
  * - `zip_code` for the ZIP code
8476
8725
  * - Example:
8477
8726
  * - `query`: "123 Main St, Springfield CO"
8478
8727
  * - `zip_code`: "81073-1119"
8479
8728
  * - Only free-form, city and state address components submitted as separate parameters:
8480
- * - `query` for the street address
8729
+ * - `query` for the first address line
8481
8730
  * - `city` for the city
8482
8731
  * - `state` for the state
8483
8732
  * - Example:
@@ -8539,12 +8788,16 @@ export interface operations {
8539
8788
  content: {
8540
8789
  "application/json": {
8541
8790
  /**
8542
- * @description Freeform address input to verify.
8791
+ * @description Address input to verify.
8543
8792
  *
8544
- * Can be submitted standalone, or with the following address components:
8793
+ * If submitting a freeform address verification query, enter the full address. E.g. `query=123 Main St, Springfield, CO, 81073`
8794
+ *
8795
+ * Otherwise, query can be accompanied with the following address components:
8545
8796
  * - `zip_code`
8546
8797
  * - `city` and `state`
8547
8798
  *
8799
+ * If zip_code or `city` and `state` or supplied, please omit this information from query by using it purely for the first address line. E.g. `query=123 Main St`
8800
+ *
8548
8801
  * @example 123 Main St, Springfield, CO 81073
8549
8802
  */
8550
8803
  query: string;
@@ -8629,6 +8882,14 @@ export interface operations {
8629
8882
  * The partial address string entered by the user to autocomplete.
8630
8883
  */
8631
8884
  query?: string;
8885
+ /**
8886
+ * **Filter by Dataset**
8887
+ *
8888
+ * Comma-separated list of datasets to search within.
8889
+ *
8890
+ * Filters autocomplete results to only include addresses from the specified datasets.
8891
+ */
8892
+ dataset?: components["parameters"]["DatasetParam"];
8632
8893
  /**
8633
8894
  * **Context**
8634
8895
  *
@@ -9177,7 +9438,7 @@ export interface operations {
9177
9438
  *
9178
9439
  * ## Suggestion Format
9179
9440
  *
9180
- * Each place suggestion contains a descriptive name which you can provide to users to uniquely idenfity a place.
9441
+ * Each place suggestion contains a descriptive name which you can provide to users to uniquely identify a place.
9181
9442
  *
9182
9443
  * ## Rate Limiting and Cost
9183
9444
  *
@@ -9918,5 +10179,7 @@ export interface operations {
9918
10179
  };
9919
10180
  };
9920
10181
  }
9921
- export interface external {
10182
+ interface external {
9922
10183
  }
10184
+
10185
+ export type { components, external, operations, paths };