@addresszen/openapi 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi.cjs.map +1 -1
- package/dist/openapi.d.cts +162 -3
- package/dist/openapi.d.ts +162 -3
- package/dist/openapi.json +268 -3
- package/dist/openapi.yaml +236 -1
- package/openapi.ts +165 -3
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -359,6 +359,10 @@ export interface paths {
|
|
|
359
359
|
/** Cancels a licensee key. This renders a licensee unusable. This action can be reversed if you get in contact with us. */
|
|
360
360
|
delete: operations["DeleteLicensee"];
|
|
361
361
|
};
|
|
362
|
+
"/keys/{key}/licensees/{licensee}/regenerate-key": {
|
|
363
|
+
/** 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. */
|
|
364
|
+
post: operations["RegenerateLicenseeKey"];
|
|
365
|
+
};
|
|
362
366
|
"/keys/{key}/configs": {
|
|
363
367
|
/** Lists configurations associated with a key */
|
|
364
368
|
get: operations["ListConfigs"];
|
|
@@ -1988,6 +1992,7 @@ export interface components {
|
|
|
1988
1992
|
* - `mois` (KOR) South Korea Dataset
|
|
1989
1993
|
* - `upujp` (JPN) Japan UPU Address File
|
|
1990
1994
|
* - `bev` (AUT) Austria Dataset
|
|
1995
|
+
* - `ban` (FRA) France BAN Dataset
|
|
1991
1996
|
* @enum {string}
|
|
1992
1997
|
*/
|
|
1993
1998
|
Dataset:
|
|
@@ -2021,7 +2026,8 @@ export interface components {
|
|
|
2021
2026
|
| "fodbosa"
|
|
2022
2027
|
| "mois"
|
|
2023
2028
|
| "upujp"
|
|
2024
|
-
| "bev"
|
|
2029
|
+
| "bev"
|
|
2030
|
+
| "ban";
|
|
2025
2031
|
/**
|
|
2026
2032
|
* ISO Country Code (3)
|
|
2027
2033
|
* @description 3 letter country code (ISO 3166-1)
|
|
@@ -6731,6 +6737,105 @@ export interface components {
|
|
|
6731
6737
|
/** @description Name of the census district */
|
|
6732
6738
|
zaehlsprengelname: string;
|
|
6733
6739
|
};
|
|
6740
|
+
BanAddress: {
|
|
6741
|
+
id: components["schemas"]["ID"];
|
|
6742
|
+
/** @enum {string} */
|
|
6743
|
+
dataset: "ban";
|
|
6744
|
+
/**
|
|
6745
|
+
* @description 3 letter country code (ISO 3166-1)
|
|
6746
|
+
*
|
|
6747
|
+
* @enum {undefined}
|
|
6748
|
+
*/
|
|
6749
|
+
country_iso: "FRA";
|
|
6750
|
+
/**
|
|
6751
|
+
* @description 2 letter country code (ISO 3166-1)
|
|
6752
|
+
*
|
|
6753
|
+
* @enum {string}
|
|
6754
|
+
*/
|
|
6755
|
+
country_iso_2: "FR";
|
|
6756
|
+
/**
|
|
6757
|
+
* @description Full country names (ISO 3166)
|
|
6758
|
+
*
|
|
6759
|
+
* @enum {string}
|
|
6760
|
+
*/
|
|
6761
|
+
country: "France";
|
|
6762
|
+
/**
|
|
6763
|
+
* @description Language represented by 2 letter ISO Code (639-1)
|
|
6764
|
+
*
|
|
6765
|
+
* @enum {undefined}
|
|
6766
|
+
*/
|
|
6767
|
+
language: "fr";
|
|
6768
|
+
/**
|
|
6769
|
+
* @description The house number of the address.
|
|
6770
|
+
*
|
|
6771
|
+
* Can be empty string `""` if not present.
|
|
6772
|
+
*
|
|
6773
|
+
* @example 8
|
|
6774
|
+
*/
|
|
6775
|
+
address: string;
|
|
6776
|
+
/**
|
|
6777
|
+
* @description First address line (house number, suffix, and street name).
|
|
6778
|
+
*
|
|
6779
|
+
* Can be `null` if not present.
|
|
6780
|
+
*
|
|
6781
|
+
* @example 8 bis avenue des Champs-Élysées
|
|
6782
|
+
*/
|
|
6783
|
+
line_1: string | null;
|
|
6784
|
+
/**
|
|
6785
|
+
* @description Second address line (postcode and municipality name).
|
|
6786
|
+
*
|
|
6787
|
+
* Can be `null` if not present.
|
|
6788
|
+
*
|
|
6789
|
+
* @example 75008 Paris
|
|
6790
|
+
*/
|
|
6791
|
+
line_2: string | null;
|
|
6792
|
+
longitude: components["schemas"]["Longitude"];
|
|
6793
|
+
latitude: components["schemas"]["Latitude"];
|
|
6794
|
+
/** @description FANTOIR street identifier */
|
|
6795
|
+
id_fantoir: string | null;
|
|
6796
|
+
/** @description House number */
|
|
6797
|
+
numero: number | null;
|
|
6798
|
+
/** @description House number suffix / répétition (`bis`, `ter`, `quater`, etc.) */
|
|
6799
|
+
rep: string | null;
|
|
6800
|
+
/** @description Street name */
|
|
6801
|
+
nom_voie: string;
|
|
6802
|
+
/** @description 5-digit postal code */
|
|
6803
|
+
code_postal: string | null;
|
|
6804
|
+
/** @description INSEE commune code (2-digit département + 3-digit commune) */
|
|
6805
|
+
code_insee: string;
|
|
6806
|
+
/** @description Municipality name */
|
|
6807
|
+
nom_commune: string;
|
|
6808
|
+
/** @description INSEE code of the pre-fusion commune (for merged municipalities) */
|
|
6809
|
+
code_insee_ancienne_commune: string | null;
|
|
6810
|
+
/** @description Name of the pre-fusion commune (for merged municipalities) */
|
|
6811
|
+
nom_ancienne_commune: string | null;
|
|
6812
|
+
/** @description Lambert 93 easting coordinate */
|
|
6813
|
+
x: string | null;
|
|
6814
|
+
/** @description Lambert 93 northing coordinate */
|
|
6815
|
+
y: string | null;
|
|
6816
|
+
/** @description Longitude (WGS84) as returned from source data */
|
|
6817
|
+
lon: string | null;
|
|
6818
|
+
/** @description Latitude (WGS84) as returned from source data */
|
|
6819
|
+
lat: string | null;
|
|
6820
|
+
/** @description Positional accuracy type (`entrée`, `bâtiment`, `parcelle`, `délivrance postale`, etc.) */
|
|
6821
|
+
type_position: string | null;
|
|
6822
|
+
/** @description Address alias */
|
|
6823
|
+
alias: string | null;
|
|
6824
|
+
/** @description Lieu-dit (named place) label */
|
|
6825
|
+
nom_ld: string | null;
|
|
6826
|
+
/** @description Postal routing label */
|
|
6827
|
+
libelle_acheminement: string | null;
|
|
6828
|
+
/** @description AFNOR-normalised street name */
|
|
6829
|
+
nom_afnor: string | null;
|
|
6830
|
+
/** @description Source of position data (`commune`, `IGN`, etc.) */
|
|
6831
|
+
source_position: string | null;
|
|
6832
|
+
/** @description Source of street name data */
|
|
6833
|
+
source_nom_voie: string | null;
|
|
6834
|
+
/** @description Whether the municipality has certified this address */
|
|
6835
|
+
certification_commune: boolean | null;
|
|
6836
|
+
/** @description Cadastral parcel reference(s) */
|
|
6837
|
+
cad_parcelles: string | null;
|
|
6838
|
+
};
|
|
6734
6839
|
/**
|
|
6735
6840
|
* Global Address
|
|
6736
6841
|
* @description Global (non-UK) address in the UK address format
|
|
@@ -6798,7 +6903,8 @@ export interface components {
|
|
|
6798
6903
|
| components["schemas"]["FodbosaAddress"]
|
|
6799
6904
|
| components["schemas"]["MoisAddress"]
|
|
6800
6905
|
| components["schemas"]["UpujpAddress"]
|
|
6801
|
-
| components["schemas"]["BevAddress"]
|
|
6906
|
+
| components["schemas"]["BevAddress"]
|
|
6907
|
+
| components["schemas"]["BanAddress"];
|
|
6802
6908
|
/**
|
|
6803
6909
|
* @description Not available for non-UK addresses
|
|
6804
6910
|
* @enum {string}
|
|
@@ -7485,6 +7591,11 @@ export interface components {
|
|
|
7485
7591
|
* @example true
|
|
7486
7592
|
*/
|
|
7487
7593
|
bev: boolean;
|
|
7594
|
+
/**
|
|
7595
|
+
* @description France: BAN (Base Adresse Nationale)
|
|
7596
|
+
* @example true
|
|
7597
|
+
*/
|
|
7598
|
+
ban: boolean;
|
|
7488
7599
|
/**
|
|
7489
7600
|
* @description UK GBR Cleanse
|
|
7490
7601
|
* @example true
|
|
@@ -7777,6 +7888,11 @@ export interface components {
|
|
|
7777
7888
|
* @example true
|
|
7778
7889
|
*/
|
|
7779
7890
|
bev?: boolean;
|
|
7891
|
+
/**
|
|
7892
|
+
* @description France: BAN (Base Adresse Nationale)
|
|
7893
|
+
* @example true
|
|
7894
|
+
*/
|
|
7895
|
+
ban?: boolean;
|
|
7780
7896
|
/**
|
|
7781
7897
|
* @description UK AddressBase dataset
|
|
7782
7898
|
* @example false
|
|
@@ -8753,7 +8869,8 @@ export interface components {
|
|
|
8753
8869
|
| components["schemas"]["FodbosaAddress"]
|
|
8754
8870
|
| components["schemas"]["MoisAddress"]
|
|
8755
8871
|
| components["schemas"]["UpujpAddress"]
|
|
8756
|
-
| components["schemas"]["BevAddress"]
|
|
8872
|
+
| components["schemas"]["BevAddress"]
|
|
8873
|
+
| components["schemas"]["BanAddress"];
|
|
8757
8874
|
};
|
|
8758
8875
|
/** Address Retrieve Response (USA) */
|
|
8759
8876
|
UsaResolveAddressResponse: {
|
|
@@ -11771,6 +11888,51 @@ export interface operations {
|
|
|
11771
11888
|
};
|
|
11772
11889
|
};
|
|
11773
11890
|
};
|
|
11891
|
+
/** 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. */
|
|
11892
|
+
RegenerateLicenseeKey: {
|
|
11893
|
+
parameters: {
|
|
11894
|
+
path: {
|
|
11895
|
+
/**
|
|
11896
|
+
* **API Key**
|
|
11897
|
+
*
|
|
11898
|
+
* The API Key to retrieve. Begins `ak_`.
|
|
11899
|
+
*/
|
|
11900
|
+
key: components["parameters"]["ApiKeyPathParam"];
|
|
11901
|
+
/**
|
|
11902
|
+
* **Licensee Key**
|
|
11903
|
+
*
|
|
11904
|
+
* Uniquely identifies a licensee.
|
|
11905
|
+
*/
|
|
11906
|
+
licensee: components["parameters"]["LicenseePathParam"];
|
|
11907
|
+
};
|
|
11908
|
+
query: {
|
|
11909
|
+
/**
|
|
11910
|
+
* **Private User Token**
|
|
11911
|
+
*
|
|
11912
|
+
* A secret key used for sensitive operations on your account and API Keys.
|
|
11913
|
+
*
|
|
11914
|
+
* Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
|
|
11915
|
+
*
|
|
11916
|
+
* Typically beings `uk_...`
|
|
11917
|
+
*/
|
|
11918
|
+
user_token?: components["parameters"]["UserTokenParam"];
|
|
11919
|
+
};
|
|
11920
|
+
};
|
|
11921
|
+
responses: {
|
|
11922
|
+
/** Success */
|
|
11923
|
+
200: {
|
|
11924
|
+
content: {
|
|
11925
|
+
"application/json": components["schemas"]["LicenseeResponse"];
|
|
11926
|
+
};
|
|
11927
|
+
};
|
|
11928
|
+
/** Bad Request */
|
|
11929
|
+
400: {
|
|
11930
|
+
content: {
|
|
11931
|
+
"application/json": components["schemas"]["BadRequestResponse"];
|
|
11932
|
+
};
|
|
11933
|
+
};
|
|
11934
|
+
};
|
|
11935
|
+
};
|
|
11774
11936
|
/** Lists configurations associated with a key */
|
|
11775
11937
|
ListConfigs: {
|
|
11776
11938
|
parameters: {
|