@addresszen/openapi 3.6.0 → 3.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.
@@ -132,9 +132,23 @@ interface paths {
132
132
  *
133
133
  * Note that the Content-Type returned will be CSV (text/csv). For a non 200 response, the `Content-Type` will revert to JSON with the error code and message embedded.
134
134
  *
135
+ * The CSV has no header row. Columns, in order:
136
+ *
137
+ * 1. Timestamp (ISO 8601)
138
+ * 2. IP address the request was received from
139
+ * 3. Search term
140
+ * 4. URL the request originated from
141
+ * 5. Lookup type
142
+ * 6. Tags
143
+ * 7. Lookups consumed
144
+ * 8. Licensee name (sublicensing keys only)
145
+ * 9. Source IP address
146
+ *
147
+ * The source IP column carries the address forwarded in the `AZ-Source-IP` header. It is only recorded for keys with IP address forwarding enabled, and only when the header holds a valid IP address. It is empty otherwise.
148
+ *
135
149
  * ## Data Redaction
136
150
  *
137
- * Personally Identifiable Data (PII) caught in this your usage log (including IP, search term and URL data) will be redacted on a weekly basis.
151
+ * Personally Identifiable Data (PII) caught in this your usage log (including IP, source IP, search term and URL data) will be redacted on a weekly basis.
138
152
  *
139
153
  * By default, PII will be redacted if it is older than 21 days. This timeframe can be configured from your dashboard.
140
154
  *
@@ -358,6 +372,10 @@ interface paths {
358
372
  /** Cancels a licensee key. This renders a licensee unusable. This action can be reversed if you get in contact with us. */
359
373
  delete: operations["DeleteLicensee"];
360
374
  };
375
+ "/keys/{key}/licensees/{licensee}/regenerate-key": {
376
+ /** Regenerates the API key for a licensee. A new key is generated server-side and returned in the response. The previous key is invalidated immediately, so any integration using it must be updated to the new key. */
377
+ post: operations["RegenerateLicenseeKey"];
378
+ };
361
379
  "/keys/{key}/configs": {
362
380
  /** Lists configurations associated with a key */
363
381
  get: operations["ListConfigs"];
@@ -1895,9 +1913,10 @@ interface components {
1895
1913
  * - `mois` (KOR) South Korea Dataset
1896
1914
  * - `upujp` (JPN) Japan UPU Address File
1897
1915
  * - `bev` (AUT) Austria Dataset
1916
+ * - `ban` (FRA) France BAN Dataset
1898
1917
  * @enum {string}
1899
1918
  */
1900
- Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad" | "ab" | "abp" | "herewe" | "heret" | "heresa" | "hereo" | "herena" | "heremeas" | "heremea" | "herem" | "herei" | "herehk" | "hereee" | "hereap" | "gnaf" | "kadaster" | "kartverket" | "sdfi" | "cannar" | "fodbosa" | "mois" | "upujp" | "bev";
1919
+ Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad" | "ab" | "abp" | "herewe" | "heret" | "heresa" | "hereo" | "herena" | "heremeas" | "heremea" | "herem" | "herei" | "herehk" | "hereee" | "hereap" | "gnaf" | "kadaster" | "kartverket" | "sdfi" | "cannar" | "fodbosa" | "mois" | "upujp" | "bev" | "ban";
1901
1920
  /**
1902
1921
  * ISO Country Code (3)
1903
1922
  * @description 3 letter country code (ISO 3166-1)
@@ -5824,6 +5843,105 @@ interface components {
5824
5843
  /** @description Name of the census district */
5825
5844
  zaehlsprengelname: string;
5826
5845
  };
5846
+ BanAddress: {
5847
+ id: components["schemas"]["ID"];
5848
+ /** @enum {string} */
5849
+ dataset: "ban";
5850
+ /**
5851
+ * @description 3 letter country code (ISO 3166-1)
5852
+ *
5853
+ * @enum {undefined}
5854
+ */
5855
+ country_iso: "FRA";
5856
+ /**
5857
+ * @description 2 letter country code (ISO 3166-1)
5858
+ *
5859
+ * @enum {string}
5860
+ */
5861
+ country_iso_2: "FR";
5862
+ /**
5863
+ * @description Full country names (ISO 3166)
5864
+ *
5865
+ * @enum {string}
5866
+ */
5867
+ country: "France";
5868
+ /**
5869
+ * @description Language represented by 2 letter ISO Code (639-1)
5870
+ *
5871
+ * @enum {undefined}
5872
+ */
5873
+ language: "fr";
5874
+ /**
5875
+ * @description The house number of the address.
5876
+ *
5877
+ * Can be empty string `""` if not present.
5878
+ *
5879
+ * @example 8
5880
+ */
5881
+ address: string;
5882
+ /**
5883
+ * @description First address line (house number, suffix, and street name).
5884
+ *
5885
+ * Can be `null` if not present.
5886
+ *
5887
+ * @example 8 bis avenue des Champs-Élysées
5888
+ */
5889
+ line_1: string | null;
5890
+ /**
5891
+ * @description Second address line (postcode and municipality name).
5892
+ *
5893
+ * Can be `null` if not present.
5894
+ *
5895
+ * @example 75008 Paris
5896
+ */
5897
+ line_2: string | null;
5898
+ longitude: components["schemas"]["Longitude"];
5899
+ latitude: components["schemas"]["Latitude"];
5900
+ /** @description FANTOIR street identifier */
5901
+ id_fantoir: string | null;
5902
+ /** @description House number */
5903
+ numero: number | null;
5904
+ /** @description House number suffix / répétition (`bis`, `ter`, `quater`, etc.) */
5905
+ rep: string | null;
5906
+ /** @description Street name */
5907
+ nom_voie: string;
5908
+ /** @description 5-digit postal code */
5909
+ code_postal: string | null;
5910
+ /** @description INSEE commune code (2-digit département + 3-digit commune) */
5911
+ code_insee: string;
5912
+ /** @description Municipality name */
5913
+ nom_commune: string;
5914
+ /** @description INSEE code of the pre-fusion commune (for merged municipalities) */
5915
+ code_insee_ancienne_commune: string | null;
5916
+ /** @description Name of the pre-fusion commune (for merged municipalities) */
5917
+ nom_ancienne_commune: string | null;
5918
+ /** @description Lambert 93 easting coordinate */
5919
+ x: string | null;
5920
+ /** @description Lambert 93 northing coordinate */
5921
+ y: string | null;
5922
+ /** @description Longitude (WGS84) as returned from source data */
5923
+ lon: string | null;
5924
+ /** @description Latitude (WGS84) as returned from source data */
5925
+ lat: string | null;
5926
+ /** @description Positional accuracy type (`entrée`, `bâtiment`, `parcelle`, `délivrance postale`, etc.) */
5927
+ type_position: string | null;
5928
+ /** @description Address alias */
5929
+ alias: string | null;
5930
+ /** @description Lieu-dit (named place) label */
5931
+ nom_ld: string | null;
5932
+ /** @description Postal routing label */
5933
+ libelle_acheminement: string | null;
5934
+ /** @description AFNOR-normalised street name */
5935
+ nom_afnor: string | null;
5936
+ /** @description Source of position data (`commune`, `IGN`, etc.) */
5937
+ source_position: string | null;
5938
+ /** @description Source of street name data */
5939
+ source_nom_voie: string | null;
5940
+ /** @description Whether the municipality has certified this address */
5941
+ certification_commune: boolean | null;
5942
+ /** @description Cadastral parcel reference(s) */
5943
+ cad_parcelles: string | null;
5944
+ };
5827
5945
  /**
5828
5946
  * Global Address
5829
5947
  * @description Global (non-UK) address in the UK address format
@@ -5878,7 +5996,7 @@ interface components {
5878
5996
  latitude: components["schemas"]["Latitude"];
5879
5997
  country: components["schemas"]["Country"];
5880
5998
  /** @description The native representation of a non-UK address */
5881
- 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"];
5999
+ 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"] | components["schemas"]["BanAddress"];
5882
6000
  /**
5883
6001
  * @description Not available for non-UK addresses
5884
6002
  * @enum {string}
@@ -6552,6 +6670,11 @@ interface components {
6552
6670
  * @example true
6553
6671
  */
6554
6672
  bev: boolean;
6673
+ /**
6674
+ * @description France: BAN (Base Adresse Nationale)
6675
+ * @example true
6676
+ */
6677
+ ban: boolean;
6555
6678
  /**
6556
6679
  * @description UK GBR Cleanse
6557
6680
  * @example true
@@ -6630,6 +6753,11 @@ interface components {
6630
6753
  * @default false
6631
6754
  */
6632
6755
  ip_forwarding: boolean;
6756
+ /**
6757
+ * @description Whether the key is enrolled in the premier support programme and monitored closely by our devops team. Read-only; managed by our team.
6758
+ * @default false
6759
+ */
6760
+ premier_support: boolean;
6633
6761
  };
6634
6762
  /** API Key Details Response */
6635
6763
  ApiKeyDetailsResponse: {
@@ -6844,6 +6972,11 @@ interface components {
6844
6972
  * @example true
6845
6973
  */
6846
6974
  bev?: boolean;
6975
+ /**
6976
+ * @description France: BAN (Base Adresse Nationale)
6977
+ * @example true
6978
+ */
6979
+ ban?: boolean;
6847
6980
  /**
6848
6981
  * @description UK AddressBase dataset
6849
6982
  * @example false
@@ -7776,7 +7909,7 @@ interface components {
7776
7909
  */
7777
7910
  county_number: "";
7778
7911
  /** @description The native representation of a non-US address */
7779
- 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"]["AbpAddress"] | 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"];
7912
+ 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"]["AbpAddress"] | 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"] | components["schemas"]["BanAddress"];
7780
7913
  };
7781
7914
  /** Address Retrieve Response (USA) */
7782
7915
  UsaResolveAddressResponse: {
@@ -9500,9 +9633,23 @@ interface operations {
9500
9633
  *
9501
9634
  * Note that the Content-Type returned will be CSV (text/csv). For a non 200 response, the `Content-Type` will revert to JSON with the error code and message embedded.
9502
9635
  *
9636
+ * The CSV has no header row. Columns, in order:
9637
+ *
9638
+ * 1. Timestamp (ISO 8601)
9639
+ * 2. IP address the request was received from
9640
+ * 3. Search term
9641
+ * 4. URL the request originated from
9642
+ * 5. Lookup type
9643
+ * 6. Tags
9644
+ * 7. Lookups consumed
9645
+ * 8. Licensee name (sublicensing keys only)
9646
+ * 9. Source IP address
9647
+ *
9648
+ * The source IP column carries the address forwarded in the `AZ-Source-IP` header. It is only recorded for keys with IP address forwarding enabled, and only when the header holds a valid IP address. It is empty otherwise.
9649
+ *
9503
9650
  * ## Data Redaction
9504
9651
  *
9505
- * Personally Identifiable Data (PII) caught in this your usage log (including IP, search term and URL data) will be redacted on a weekly basis.
9652
+ * Personally Identifiable Data (PII) caught in this your usage log (including IP, source IP, search term and URL data) will be redacted on a weekly basis.
9506
9653
  *
9507
9654
  * By default, PII will be redacted if it is older than 21 days. This timeframe can be configured from your dashboard.
9508
9655
  *
@@ -10764,6 +10911,51 @@ interface operations {
10764
10911
  };
10765
10912
  };
10766
10913
  };
10914
+ /** Regenerates the API key for a licensee. A new key is generated server-side and returned in the response. The previous key is invalidated immediately, so any integration using it must be updated to the new key. */
10915
+ RegenerateLicenseeKey: {
10916
+ parameters: {
10917
+ path: {
10918
+ /**
10919
+ * **API Key**
10920
+ *
10921
+ * The API Key to retrieve. Begins `ak_`.
10922
+ */
10923
+ key: components["parameters"]["ApiKeyPathParam"];
10924
+ /**
10925
+ * **Licensee Key**
10926
+ *
10927
+ * Uniquely identifies a licensee.
10928
+ */
10929
+ licensee: components["parameters"]["LicenseePathParam"];
10930
+ };
10931
+ query: {
10932
+ /**
10933
+ * **Private User Token**
10934
+ *
10935
+ * A secret key used for sensitive operations on your account and API Keys.
10936
+ *
10937
+ * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10938
+ *
10939
+ * Typically beings `uk_...`
10940
+ */
10941
+ user_token?: components["parameters"]["UserTokenParam"];
10942
+ };
10943
+ };
10944
+ responses: {
10945
+ /** Success */
10946
+ 200: {
10947
+ content: {
10948
+ "application/json": components["schemas"]["LicenseeResponse"];
10949
+ };
10950
+ };
10951
+ /** Bad Request */
10952
+ 400: {
10953
+ content: {
10954
+ "application/json": components["schemas"]["BadRequestResponse"];
10955
+ };
10956
+ };
10957
+ };
10958
+ };
10767
10959
  /** Lists configurations associated with a key */
10768
10960
  ListConfigs: {
10769
10961
  parameters: {
package/dist/openapi.d.ts CHANGED
@@ -132,9 +132,23 @@ interface paths {
132
132
  *
133
133
  * Note that the Content-Type returned will be CSV (text/csv). For a non 200 response, the `Content-Type` will revert to JSON with the error code and message embedded.
134
134
  *
135
+ * The CSV has no header row. Columns, in order:
136
+ *
137
+ * 1. Timestamp (ISO 8601)
138
+ * 2. IP address the request was received from
139
+ * 3. Search term
140
+ * 4. URL the request originated from
141
+ * 5. Lookup type
142
+ * 6. Tags
143
+ * 7. Lookups consumed
144
+ * 8. Licensee name (sublicensing keys only)
145
+ * 9. Source IP address
146
+ *
147
+ * The source IP column carries the address forwarded in the `AZ-Source-IP` header. It is only recorded for keys with IP address forwarding enabled, and only when the header holds a valid IP address. It is empty otherwise.
148
+ *
135
149
  * ## Data Redaction
136
150
  *
137
- * Personally Identifiable Data (PII) caught in this your usage log (including IP, search term and URL data) will be redacted on a weekly basis.
151
+ * Personally Identifiable Data (PII) caught in this your usage log (including IP, source IP, search term and URL data) will be redacted on a weekly basis.
138
152
  *
139
153
  * By default, PII will be redacted if it is older than 21 days. This timeframe can be configured from your dashboard.
140
154
  *
@@ -358,6 +372,10 @@ interface paths {
358
372
  /** Cancels a licensee key. This renders a licensee unusable. This action can be reversed if you get in contact with us. */
359
373
  delete: operations["DeleteLicensee"];
360
374
  };
375
+ "/keys/{key}/licensees/{licensee}/regenerate-key": {
376
+ /** Regenerates the API key for a licensee. A new key is generated server-side and returned in the response. The previous key is invalidated immediately, so any integration using it must be updated to the new key. */
377
+ post: operations["RegenerateLicenseeKey"];
378
+ };
361
379
  "/keys/{key}/configs": {
362
380
  /** Lists configurations associated with a key */
363
381
  get: operations["ListConfigs"];
@@ -1895,9 +1913,10 @@ interface components {
1895
1913
  * - `mois` (KOR) South Korea Dataset
1896
1914
  * - `upujp` (JPN) Japan UPU Address File
1897
1915
  * - `bev` (AUT) Austria Dataset
1916
+ * - `ban` (FRA) France BAN Dataset
1898
1917
  * @enum {string}
1899
1918
  */
1900
- Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad" | "ab" | "abp" | "herewe" | "heret" | "heresa" | "hereo" | "herena" | "heremeas" | "heremea" | "herem" | "herei" | "herehk" | "hereee" | "hereap" | "gnaf" | "kadaster" | "kartverket" | "sdfi" | "cannar" | "fodbosa" | "mois" | "upujp" | "bev";
1919
+ Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad" | "ab" | "abp" | "herewe" | "heret" | "heresa" | "hereo" | "herena" | "heremeas" | "heremea" | "herem" | "herei" | "herehk" | "hereee" | "hereap" | "gnaf" | "kadaster" | "kartverket" | "sdfi" | "cannar" | "fodbosa" | "mois" | "upujp" | "bev" | "ban";
1901
1920
  /**
1902
1921
  * ISO Country Code (3)
1903
1922
  * @description 3 letter country code (ISO 3166-1)
@@ -5824,6 +5843,105 @@ interface components {
5824
5843
  /** @description Name of the census district */
5825
5844
  zaehlsprengelname: string;
5826
5845
  };
5846
+ BanAddress: {
5847
+ id: components["schemas"]["ID"];
5848
+ /** @enum {string} */
5849
+ dataset: "ban";
5850
+ /**
5851
+ * @description 3 letter country code (ISO 3166-1)
5852
+ *
5853
+ * @enum {undefined}
5854
+ */
5855
+ country_iso: "FRA";
5856
+ /**
5857
+ * @description 2 letter country code (ISO 3166-1)
5858
+ *
5859
+ * @enum {string}
5860
+ */
5861
+ country_iso_2: "FR";
5862
+ /**
5863
+ * @description Full country names (ISO 3166)
5864
+ *
5865
+ * @enum {string}
5866
+ */
5867
+ country: "France";
5868
+ /**
5869
+ * @description Language represented by 2 letter ISO Code (639-1)
5870
+ *
5871
+ * @enum {undefined}
5872
+ */
5873
+ language: "fr";
5874
+ /**
5875
+ * @description The house number of the address.
5876
+ *
5877
+ * Can be empty string `""` if not present.
5878
+ *
5879
+ * @example 8
5880
+ */
5881
+ address: string;
5882
+ /**
5883
+ * @description First address line (house number, suffix, and street name).
5884
+ *
5885
+ * Can be `null` if not present.
5886
+ *
5887
+ * @example 8 bis avenue des Champs-Élysées
5888
+ */
5889
+ line_1: string | null;
5890
+ /**
5891
+ * @description Second address line (postcode and municipality name).
5892
+ *
5893
+ * Can be `null` if not present.
5894
+ *
5895
+ * @example 75008 Paris
5896
+ */
5897
+ line_2: string | null;
5898
+ longitude: components["schemas"]["Longitude"];
5899
+ latitude: components["schemas"]["Latitude"];
5900
+ /** @description FANTOIR street identifier */
5901
+ id_fantoir: string | null;
5902
+ /** @description House number */
5903
+ numero: number | null;
5904
+ /** @description House number suffix / répétition (`bis`, `ter`, `quater`, etc.) */
5905
+ rep: string | null;
5906
+ /** @description Street name */
5907
+ nom_voie: string;
5908
+ /** @description 5-digit postal code */
5909
+ code_postal: string | null;
5910
+ /** @description INSEE commune code (2-digit département + 3-digit commune) */
5911
+ code_insee: string;
5912
+ /** @description Municipality name */
5913
+ nom_commune: string;
5914
+ /** @description INSEE code of the pre-fusion commune (for merged municipalities) */
5915
+ code_insee_ancienne_commune: string | null;
5916
+ /** @description Name of the pre-fusion commune (for merged municipalities) */
5917
+ nom_ancienne_commune: string | null;
5918
+ /** @description Lambert 93 easting coordinate */
5919
+ x: string | null;
5920
+ /** @description Lambert 93 northing coordinate */
5921
+ y: string | null;
5922
+ /** @description Longitude (WGS84) as returned from source data */
5923
+ lon: string | null;
5924
+ /** @description Latitude (WGS84) as returned from source data */
5925
+ lat: string | null;
5926
+ /** @description Positional accuracy type (`entrée`, `bâtiment`, `parcelle`, `délivrance postale`, etc.) */
5927
+ type_position: string | null;
5928
+ /** @description Address alias */
5929
+ alias: string | null;
5930
+ /** @description Lieu-dit (named place) label */
5931
+ nom_ld: string | null;
5932
+ /** @description Postal routing label */
5933
+ libelle_acheminement: string | null;
5934
+ /** @description AFNOR-normalised street name */
5935
+ nom_afnor: string | null;
5936
+ /** @description Source of position data (`commune`, `IGN`, etc.) */
5937
+ source_position: string | null;
5938
+ /** @description Source of street name data */
5939
+ source_nom_voie: string | null;
5940
+ /** @description Whether the municipality has certified this address */
5941
+ certification_commune: boolean | null;
5942
+ /** @description Cadastral parcel reference(s) */
5943
+ cad_parcelles: string | null;
5944
+ };
5827
5945
  /**
5828
5946
  * Global Address
5829
5947
  * @description Global (non-UK) address in the UK address format
@@ -5878,7 +5996,7 @@ interface components {
5878
5996
  latitude: components["schemas"]["Latitude"];
5879
5997
  country: components["schemas"]["Country"];
5880
5998
  /** @description The native representation of a non-UK address */
5881
- 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"];
5999
+ 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"] | components["schemas"]["BanAddress"];
5882
6000
  /**
5883
6001
  * @description Not available for non-UK addresses
5884
6002
  * @enum {string}
@@ -6552,6 +6670,11 @@ interface components {
6552
6670
  * @example true
6553
6671
  */
6554
6672
  bev: boolean;
6673
+ /**
6674
+ * @description France: BAN (Base Adresse Nationale)
6675
+ * @example true
6676
+ */
6677
+ ban: boolean;
6555
6678
  /**
6556
6679
  * @description UK GBR Cleanse
6557
6680
  * @example true
@@ -6630,6 +6753,11 @@ interface components {
6630
6753
  * @default false
6631
6754
  */
6632
6755
  ip_forwarding: boolean;
6756
+ /**
6757
+ * @description Whether the key is enrolled in the premier support programme and monitored closely by our devops team. Read-only; managed by our team.
6758
+ * @default false
6759
+ */
6760
+ premier_support: boolean;
6633
6761
  };
6634
6762
  /** API Key Details Response */
6635
6763
  ApiKeyDetailsResponse: {
@@ -6844,6 +6972,11 @@ interface components {
6844
6972
  * @example true
6845
6973
  */
6846
6974
  bev?: boolean;
6975
+ /**
6976
+ * @description France: BAN (Base Adresse Nationale)
6977
+ * @example true
6978
+ */
6979
+ ban?: boolean;
6847
6980
  /**
6848
6981
  * @description UK AddressBase dataset
6849
6982
  * @example false
@@ -7776,7 +7909,7 @@ interface components {
7776
7909
  */
7777
7910
  county_number: "";
7778
7911
  /** @description The native representation of a non-US address */
7779
- 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"]["AbpAddress"] | 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"];
7912
+ 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"]["AbpAddress"] | 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"] | components["schemas"]["BanAddress"];
7780
7913
  };
7781
7914
  /** Address Retrieve Response (USA) */
7782
7915
  UsaResolveAddressResponse: {
@@ -9500,9 +9633,23 @@ interface operations {
9500
9633
  *
9501
9634
  * Note that the Content-Type returned will be CSV (text/csv). For a non 200 response, the `Content-Type` will revert to JSON with the error code and message embedded.
9502
9635
  *
9636
+ * The CSV has no header row. Columns, in order:
9637
+ *
9638
+ * 1. Timestamp (ISO 8601)
9639
+ * 2. IP address the request was received from
9640
+ * 3. Search term
9641
+ * 4. URL the request originated from
9642
+ * 5. Lookup type
9643
+ * 6. Tags
9644
+ * 7. Lookups consumed
9645
+ * 8. Licensee name (sublicensing keys only)
9646
+ * 9. Source IP address
9647
+ *
9648
+ * The source IP column carries the address forwarded in the `AZ-Source-IP` header. It is only recorded for keys with IP address forwarding enabled, and only when the header holds a valid IP address. It is empty otherwise.
9649
+ *
9503
9650
  * ## Data Redaction
9504
9651
  *
9505
- * Personally Identifiable Data (PII) caught in this your usage log (including IP, search term and URL data) will be redacted on a weekly basis.
9652
+ * Personally Identifiable Data (PII) caught in this your usage log (including IP, source IP, search term and URL data) will be redacted on a weekly basis.
9506
9653
  *
9507
9654
  * By default, PII will be redacted if it is older than 21 days. This timeframe can be configured from your dashboard.
9508
9655
  *
@@ -10764,6 +10911,51 @@ interface operations {
10764
10911
  };
10765
10912
  };
10766
10913
  };
10914
+ /** Regenerates the API key for a licensee. A new key is generated server-side and returned in the response. The previous key is invalidated immediately, so any integration using it must be updated to the new key. */
10915
+ RegenerateLicenseeKey: {
10916
+ parameters: {
10917
+ path: {
10918
+ /**
10919
+ * **API Key**
10920
+ *
10921
+ * The API Key to retrieve. Begins `ak_`.
10922
+ */
10923
+ key: components["parameters"]["ApiKeyPathParam"];
10924
+ /**
10925
+ * **Licensee Key**
10926
+ *
10927
+ * Uniquely identifies a licensee.
10928
+ */
10929
+ licensee: components["parameters"]["LicenseePathParam"];
10930
+ };
10931
+ query: {
10932
+ /**
10933
+ * **Private User Token**
10934
+ *
10935
+ * A secret key used for sensitive operations on your account and API Keys.
10936
+ *
10937
+ * Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
10938
+ *
10939
+ * Typically beings `uk_...`
10940
+ */
10941
+ user_token?: components["parameters"]["UserTokenParam"];
10942
+ };
10943
+ };
10944
+ responses: {
10945
+ /** Success */
10946
+ 200: {
10947
+ content: {
10948
+ "application/json": components["schemas"]["LicenseeResponse"];
10949
+ };
10950
+ };
10951
+ /** Bad Request */
10952
+ 400: {
10953
+ content: {
10954
+ "application/json": components["schemas"]["BadRequestResponse"];
10955
+ };
10956
+ };
10957
+ };
10958
+ };
10767
10959
  /** Lists configurations associated with a key */
10768
10960
  ListConfigs: {
10769
10961
  parameters: {