@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.
- package/README.md +2 -4
- package/dist/openapi.cjs.map +1 -1
- package/dist/openapi.d.cts +197 -5
- package/dist/openapi.d.ts +197 -5
- package/dist/openapi.json +293 -22
- package/dist/openapi.yaml +282 -26
- package/openapi.ts +200 -5
- package/package.json +4 -3
package/dist/openapi.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.8.0",
|
|
5
5
|
"license": {
|
|
6
6
|
"name": "AGPLv3",
|
|
7
7
|
"url": "https://opensource.org/licenses/AGPL-3.0"
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"name": "Configs",
|
|
48
|
-
"description": "The Config resource allows users to assign
|
|
48
|
+
"description": "The Config resource allows users to assign serialized configuration data to API Keys. The payloads assigned to a Config object can later be retrieved to dynamically configure your integration.\n\nUseful if you need to configure your integration remotely rather than editing code in situ.\n"
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "suggestion",
|
|
52
52
|
"x-displayName": "Address Suggestion",
|
|
53
|
-
"description": "Address Suggestions are simple, human readable representations of an address. This format is sufficient
|
|
53
|
+
"description": "Address Suggestions are simple, human readable representations of an address. This format is sufficient for a user to determine an address match in an address autocomplete interface. A second request must be made to the API to gather fully validated address.\n\nSee our Address Search APIs for more information on address autocompletion.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AddressSuggestion\" />\n"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "usps_address",
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
}
|
|
575
575
|
},
|
|
576
576
|
"401": {
|
|
577
|
-
"description": "
|
|
577
|
+
"description": "Unauthorized",
|
|
578
578
|
"content": {
|
|
579
579
|
"application/json": {
|
|
580
580
|
"schema": {
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
}
|
|
644
644
|
},
|
|
645
645
|
"401": {
|
|
646
|
-
"description": "
|
|
646
|
+
"description": "Unauthorized",
|
|
647
647
|
"content": {
|
|
648
648
|
"application/json": {
|
|
649
649
|
"schema": {
|
|
@@ -736,7 +736,7 @@
|
|
|
736
736
|
],
|
|
737
737
|
"summary": "Logs (CSV)",
|
|
738
738
|
"operationId": "KeyLogs",
|
|
739
|
-
"description": "Reports lookup information on a key for paid lookups.\n\nThis method requires a `user_token`, which can be found on your [accounts page](https://addresszen.com
|
|
739
|
+
"description": "Reports lookup information on a key for paid lookups.\n\nThis method requires a `user_token`, which can be found on your [accounts page](https://account.addresszen.com).\n\nA maximum interval of 90 days can be provided for analysis. If no start or end date is provided, the last 21 days will be used as the default interval.\n\n## Download Usage History (CSV)\n\n`GET /keys/:key/lookups`\n\nReturns a CSV download of lookups performed and associated information.\n\nNote 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.\n\nThe CSV has no header row. Columns, in order:\n\n1. Timestamp (ISO 8601)\n2. IP address the request was received from\n3. Search term\n4. URL the request originated from\n5. Lookup type\n6. Tags\n7. Lookups consumed\n8. Licensee name (sublicensing keys only)\n9. Source IP address\n\nThe 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.\n\n## Data Redaction\n\nPersonally 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.\n\nBy default, PII will be redacted if it is older than 21 days. This timeframe can be configured from your dashboard.\n\nYou may prevent PII collection altogether by setting the interval to `0` days.\n",
|
|
740
740
|
"parameters": [
|
|
741
741
|
{
|
|
742
742
|
"$ref": "#/components/parameters/ApiKeyPathParam"
|
|
@@ -759,7 +759,7 @@
|
|
|
759
759
|
"description": "Success",
|
|
760
760
|
"content": {
|
|
761
761
|
"text/csv": {
|
|
762
|
-
"example": "2015-02-21T16:05:22.991Z,82.85.128.18,SW12AA,https://www.example.com/,Postcode Lookup
|
|
762
|
+
"example": "2015-02-21T16:05:22.991Z,82.85.128.18,SW12AA,https://www.example.com/,Postcode Lookup,,1,,\n2015-02-21T16:05:38.298Z,82.85.128.18,10 Downing Street London,https://www.example.com/,Address Lookup,CRM,1,,\n2015-02-21T16:06:49.227Z,82.85.128.18,OX44PP,https://www.example.com/,Postcode Lookup,\"Website,Live\",1,,203.0.113.44\n2015-02-21T16:07:02.706Z,82.85.128.18,PL9 9HE,https://www.example.com/,Postcode Lookup,,2,Acme Ltd,203.0.113.44\n",
|
|
763
763
|
"schema": {
|
|
764
764
|
"type": "string",
|
|
765
765
|
"description": "Success"
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
"US"
|
|
910
910
|
],
|
|
911
911
|
"summary": "Verify Address",
|
|
912
|
-
"description": "The address verify API validates, corrects, and standardizes individual addresses based on USPS's Coding Accuracy Support System (CASS).\n\nThe address verify API accepts the 3
|
|
912
|
+
"description": "The address verify API validates, corrects, and standardizes individual addresses based on USPS's Coding Accuracy Support System (CASS).\n\nThe address verify API accepts the 3 combinations of inputs:\n\n- Free-form address submitted as a single string in `query`\n - Example: \"123 Main St, Springfield, CO 81073-1119\"\n- Only free-form and zip code address components submitted as separate parameters:\n - `query` for the first address line\n - `zip_code` for the ZIP code\n - Example:\n - `query`: \"123 Main St, Springfield CO\"\n - `zip_code`: \"81073-1119\"\n- Only free-form, city and state address components submitted as separate parameters:\n - `query` for the first address line\n - `city` for the city\n - `state` for the state\n - Example:\n - `query`: \"123 Main St\"\n - `city`: \"Springfield\"\n - `state`: \"CO\"\n",
|
|
913
913
|
"operationId": "AddressVerify",
|
|
914
914
|
"parameters": [
|
|
915
915
|
{
|
|
@@ -2154,6 +2154,49 @@
|
|
|
2154
2154
|
}
|
|
2155
2155
|
}
|
|
2156
2156
|
},
|
|
2157
|
+
"/keys/{key}/licensees/{licensee}/regenerate-key": {
|
|
2158
|
+
"post": {
|
|
2159
|
+
"tags": [
|
|
2160
|
+
"Licensees"
|
|
2161
|
+
],
|
|
2162
|
+
"summary": "Regenerate Key",
|
|
2163
|
+
"description": "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.",
|
|
2164
|
+
"operationId": "RegenerateLicenseeKey",
|
|
2165
|
+
"parameters": [
|
|
2166
|
+
{
|
|
2167
|
+
"$ref": "#/components/parameters/ApiKeyPathParam"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"$ref": "#/components/parameters/LicenseePathParam"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"$ref": "#/components/parameters/UserTokenParam"
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"responses": {
|
|
2177
|
+
"200": {
|
|
2178
|
+
"description": "Success",
|
|
2179
|
+
"content": {
|
|
2180
|
+
"application/json": {
|
|
2181
|
+
"schema": {
|
|
2182
|
+
"$ref": "#/components/schemas/LicenseeResponse"
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
"400": {
|
|
2188
|
+
"description": "Bad Request",
|
|
2189
|
+
"content": {
|
|
2190
|
+
"application/json": {
|
|
2191
|
+
"schema": {
|
|
2192
|
+
"$ref": "#/components/schemas/BadRequestResponse"
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2157
2200
|
"/keys/{key}/configs": {
|
|
2158
2201
|
"get": {
|
|
2159
2202
|
"tags": [
|
|
@@ -3026,7 +3069,7 @@
|
|
|
3026
3069
|
"paf_post_town": {
|
|
3027
3070
|
"maxLength": 30,
|
|
3028
3071
|
"type": "string",
|
|
3029
|
-
"description": "**Filter by Town or City\
|
|
3072
|
+
"description": "**Filter by Town or City**\n\nA Post Town is mandatory for delivery of mail to a Delivery Point. This is not necessarily the nearest town geographically, but a routing instruction to the Royal Mail delivery office sorting mail for that Delivery Point. A Post Town will always be present in every address, and for some Localities the Post Town will be the only locality element present.\n",
|
|
3030
3073
|
"example": "London"
|
|
3031
3074
|
},
|
|
3032
3075
|
"paf_postcode": {
|
|
@@ -3112,7 +3155,7 @@
|
|
|
3112
3155
|
"paf_dependant_thoroughfare": {
|
|
3113
3156
|
"title": "Dependant Thoroughfare",
|
|
3114
3157
|
"type": "string",
|
|
3115
|
-
"description": "Used to supplement thoroughfare. When a thoroughfare name is used twice in the same Post Town, the dependant thoroughfare is added to uniquely
|
|
3158
|
+
"description": "Used to supplement thoroughfare. When a thoroughfare name is used twice in the same Post Town, the dependant thoroughfare is added to uniquely identify a delivery point.",
|
|
3116
3159
|
"maxLength": 80,
|
|
3117
3160
|
"example": ""
|
|
3118
3161
|
},
|
|
@@ -5052,7 +5095,7 @@
|
|
|
5052
5095
|
"Dataset": {
|
|
5053
5096
|
"title": "Dataset",
|
|
5054
5097
|
"type": "string",
|
|
5055
|
-
"description": "Indicates the provenance of an address.\n\n - `paf` (GBR) Postcode Address File\n - `usps` (USA) USPS Zip+4\n - `mr` (GBR) Multiple Residence File\n - `nyb` (GBR) Not Yet Built File\n - `pafa` (GBR) Alias File\n - `pafw` (GBR) Welsh File\n - `ab` (GBR) AddressBase Core\n - `abp` (GBR) AddressBase Premium\n - `ecaf` (IRL) Eircode ECAF\n - `ecad` (IRL) Eircode ECAD\n - `herewe` (Western Europe) Western Europe Dataset\n - `heret` (Taiwan) Taiwan Dataset\n - `heresa` (South America) South America Dataset\n - `hereo` (Oceania) Oceania Dataset\n - `herena` (North America) North America Dataset\n - `herei` (India) India Dataset\n - `heremea` (Middle East and Africa) Middle East and Africa Dataset\n - `herem` (Macau) Macau Dataset\n - `herehk` (Hong Kong) Hong Kong Dataset\n - `hereee` (Eastern Europe) Eastern Europe Dataset\n - `hereap` (Asia Pacific) Asia Pacific Dataset\n - `gnaf` (AUS) Geoscape Geocoded National Address File\n - `kadaster` (NLD) Kadaster BAG 2.0 Address File\n - `kartverket` (NOR) Norway Dataset\n - `sdfi` (DNK) Denmark Dataset\n - `cannar` (CAN) Canada National Address Register Dataset\n - `fodbosa` (BEL) Belgium Dataset\n - `mois` (KOR) South Korea Dataset\n - `upujp` (JPN) Japan UPU Address File\n - `bev` (AUT) Austria Dataset",
|
|
5098
|
+
"description": "Indicates the provenance of an address.\n\n - `paf` (GBR) Postcode Address File\n - `usps` (USA) USPS Zip+4\n - `mr` (GBR) Multiple Residence File\n - `nyb` (GBR) Not Yet Built File\n - `pafa` (GBR) Alias File\n - `pafw` (GBR) Welsh File\n - `ab` (GBR) AddressBase Core\n - `abp` (GBR) AddressBase Premium\n - `ecaf` (IRL) Eircode ECAF\n - `ecad` (IRL) Eircode ECAD\n - `herewe` (Western Europe) Western Europe Dataset\n - `heret` (Taiwan) Taiwan Dataset\n - `heresa` (South America) South America Dataset\n - `hereo` (Oceania) Oceania Dataset\n - `herena` (North America) North America Dataset\n - `herei` (India) India Dataset\n - `heremea` (Middle East and Africa) Middle East and Africa Dataset\n - `herem` (Macau) Macau Dataset\n - `herehk` (Hong Kong) Hong Kong Dataset\n - `hereee` (Eastern Europe) Eastern Europe Dataset\n - `hereap` (Asia Pacific) Asia Pacific Dataset\n - `gnaf` (AUS) Geoscape Geocoded National Address File\n - `kadaster` (NLD) Kadaster BAG 2.0 Address File\n - `kartverket` (NOR) Norway Dataset\n - `sdfi` (DNK) Denmark Dataset\n - `cannar` (CAN) Canada National Address Register Dataset\n - `fodbosa` (BEL) Belgium Dataset\n - `mois` (KOR) South Korea Dataset\n - `upujp` (JPN) Japan UPU Address File\n - `bev` (AUT) Austria Dataset\n - `ban` (FRA) France BAN Dataset",
|
|
5056
5099
|
"enum": [
|
|
5057
5100
|
"paf",
|
|
5058
5101
|
"pafw",
|
|
@@ -5084,7 +5127,8 @@
|
|
|
5084
5127
|
"fodbosa",
|
|
5085
5128
|
"mois",
|
|
5086
5129
|
"upujp",
|
|
5087
|
-
"bev"
|
|
5130
|
+
"bev",
|
|
5131
|
+
"ban"
|
|
5088
5132
|
]
|
|
5089
5133
|
},
|
|
5090
5134
|
"CountryISO": {
|
|
@@ -6211,7 +6255,7 @@
|
|
|
6211
6255
|
},
|
|
6212
6256
|
"gaeltacht": {
|
|
6213
6257
|
"type": "boolean",
|
|
6214
|
-
"description": "
|
|
6258
|
+
"description": "Gaeltacht refers to a district where the Irish government recognizes that the Irish language is the predominant language.\n\nReturns `true` if address is in a Gaeltacht area and `false` if not."
|
|
6215
6259
|
},
|
|
6216
6260
|
"address_type": {
|
|
6217
6261
|
"type": "string",
|
|
@@ -11188,6 +11232,210 @@
|
|
|
11188
11232
|
}
|
|
11189
11233
|
}
|
|
11190
11234
|
},
|
|
11235
|
+
"BanAddress": {
|
|
11236
|
+
"required": [
|
|
11237
|
+
"id",
|
|
11238
|
+
"dataset",
|
|
11239
|
+
"country",
|
|
11240
|
+
"country_iso",
|
|
11241
|
+
"country_iso_2",
|
|
11242
|
+
"language",
|
|
11243
|
+
"address",
|
|
11244
|
+
"line_1",
|
|
11245
|
+
"line_2",
|
|
11246
|
+
"latitude",
|
|
11247
|
+
"longitude",
|
|
11248
|
+
"id_fantoir",
|
|
11249
|
+
"numero",
|
|
11250
|
+
"rep",
|
|
11251
|
+
"nom_voie",
|
|
11252
|
+
"code_postal",
|
|
11253
|
+
"code_insee",
|
|
11254
|
+
"nom_commune",
|
|
11255
|
+
"code_insee_ancienne_commune",
|
|
11256
|
+
"nom_ancienne_commune",
|
|
11257
|
+
"x",
|
|
11258
|
+
"y",
|
|
11259
|
+
"lon",
|
|
11260
|
+
"lat",
|
|
11261
|
+
"type_position",
|
|
11262
|
+
"alias",
|
|
11263
|
+
"nom_ld",
|
|
11264
|
+
"libelle_acheminement",
|
|
11265
|
+
"nom_afnor",
|
|
11266
|
+
"source_position",
|
|
11267
|
+
"source_nom_voie",
|
|
11268
|
+
"certification_commune",
|
|
11269
|
+
"cad_parcelles"
|
|
11270
|
+
],
|
|
11271
|
+
"properties": {
|
|
11272
|
+
"id": {
|
|
11273
|
+
"$ref": "#/components/schemas/ID"
|
|
11274
|
+
},
|
|
11275
|
+
"dataset": {
|
|
11276
|
+
"type": "string",
|
|
11277
|
+
"enum": [
|
|
11278
|
+
"ban"
|
|
11279
|
+
]
|
|
11280
|
+
},
|
|
11281
|
+
"country_iso": {
|
|
11282
|
+
"description": " 3 letter country code (ISO 3166-1)\n",
|
|
11283
|
+
"enum": [
|
|
11284
|
+
"FRA"
|
|
11285
|
+
]
|
|
11286
|
+
},
|
|
11287
|
+
"country_iso_2": {
|
|
11288
|
+
"type": "string",
|
|
11289
|
+
"description": " 2 letter country code (ISO 3166-1)\n",
|
|
11290
|
+
"enum": [
|
|
11291
|
+
"FR"
|
|
11292
|
+
]
|
|
11293
|
+
},
|
|
11294
|
+
"country": {
|
|
11295
|
+
"type": "string",
|
|
11296
|
+
"description": " Full country names (ISO 3166)\n",
|
|
11297
|
+
"enum": [
|
|
11298
|
+
"France"
|
|
11299
|
+
]
|
|
11300
|
+
},
|
|
11301
|
+
"language": {
|
|
11302
|
+
"enum": [
|
|
11303
|
+
"fr"
|
|
11304
|
+
],
|
|
11305
|
+
"description": "Language represented by 2 letter ISO Code (639-1)\n"
|
|
11306
|
+
},
|
|
11307
|
+
"address": {
|
|
11308
|
+
"type": "string",
|
|
11309
|
+
"description": "The house number of the address.\n\nCan be empty string `\"\"` if not present.\n",
|
|
11310
|
+
"example": "8"
|
|
11311
|
+
},
|
|
11312
|
+
"line_1": {
|
|
11313
|
+
"type": "string",
|
|
11314
|
+
"nullable": true,
|
|
11315
|
+
"description": "First address line (house number, suffix, and street name).\n\nCan be `null` if not present.\n",
|
|
11316
|
+
"example": "8 bis avenue des Champs-Élysées"
|
|
11317
|
+
},
|
|
11318
|
+
"line_2": {
|
|
11319
|
+
"type": "string",
|
|
11320
|
+
"nullable": true,
|
|
11321
|
+
"description": "Second address line (postcode and municipality name).\n\nCan be `null` if not present.\n",
|
|
11322
|
+
"example": "75008 Paris"
|
|
11323
|
+
},
|
|
11324
|
+
"longitude": {
|
|
11325
|
+
"$ref": "#/components/schemas/Longitude"
|
|
11326
|
+
},
|
|
11327
|
+
"latitude": {
|
|
11328
|
+
"$ref": "#/components/schemas/Latitude"
|
|
11329
|
+
},
|
|
11330
|
+
"id_fantoir": {
|
|
11331
|
+
"type": "string",
|
|
11332
|
+
"nullable": true,
|
|
11333
|
+
"description": "FANTOIR street identifier\n"
|
|
11334
|
+
},
|
|
11335
|
+
"numero": {
|
|
11336
|
+
"type": "integer",
|
|
11337
|
+
"nullable": true,
|
|
11338
|
+
"description": "House number\n"
|
|
11339
|
+
},
|
|
11340
|
+
"rep": {
|
|
11341
|
+
"type": "string",
|
|
11342
|
+
"nullable": true,
|
|
11343
|
+
"description": "House number suffix / répétition (`bis`, `ter`, `quater`, etc.)\n"
|
|
11344
|
+
},
|
|
11345
|
+
"nom_voie": {
|
|
11346
|
+
"type": "string",
|
|
11347
|
+
"description": "Street name\n"
|
|
11348
|
+
},
|
|
11349
|
+
"code_postal": {
|
|
11350
|
+
"type": "string",
|
|
11351
|
+
"nullable": true,
|
|
11352
|
+
"description": "5-digit postal code\n"
|
|
11353
|
+
},
|
|
11354
|
+
"code_insee": {
|
|
11355
|
+
"type": "string",
|
|
11356
|
+
"description": "INSEE commune code (2-digit département + 3-digit commune)\n"
|
|
11357
|
+
},
|
|
11358
|
+
"nom_commune": {
|
|
11359
|
+
"type": "string",
|
|
11360
|
+
"description": "Municipality name\n"
|
|
11361
|
+
},
|
|
11362
|
+
"code_insee_ancienne_commune": {
|
|
11363
|
+
"type": "string",
|
|
11364
|
+
"nullable": true,
|
|
11365
|
+
"description": "INSEE code of the pre-fusion commune (for merged municipalities)\n"
|
|
11366
|
+
},
|
|
11367
|
+
"nom_ancienne_commune": {
|
|
11368
|
+
"type": "string",
|
|
11369
|
+
"nullable": true,
|
|
11370
|
+
"description": "Name of the pre-fusion commune (for merged municipalities)\n"
|
|
11371
|
+
},
|
|
11372
|
+
"x": {
|
|
11373
|
+
"type": "string",
|
|
11374
|
+
"nullable": true,
|
|
11375
|
+
"description": "Lambert 93 easting coordinate\n"
|
|
11376
|
+
},
|
|
11377
|
+
"y": {
|
|
11378
|
+
"type": "string",
|
|
11379
|
+
"nullable": true,
|
|
11380
|
+
"description": "Lambert 93 northing coordinate\n"
|
|
11381
|
+
},
|
|
11382
|
+
"lon": {
|
|
11383
|
+
"type": "string",
|
|
11384
|
+
"nullable": true,
|
|
11385
|
+
"description": "Longitude (WGS84) as returned from source data\n"
|
|
11386
|
+
},
|
|
11387
|
+
"lat": {
|
|
11388
|
+
"type": "string",
|
|
11389
|
+
"nullable": true,
|
|
11390
|
+
"description": "Latitude (WGS84) as returned from source data\n"
|
|
11391
|
+
},
|
|
11392
|
+
"type_position": {
|
|
11393
|
+
"type": "string",
|
|
11394
|
+
"nullable": true,
|
|
11395
|
+
"description": "Positional accuracy type (`entrée`, `bâtiment`, `parcelle`, `délivrance postale`, etc.)\n"
|
|
11396
|
+
},
|
|
11397
|
+
"alias": {
|
|
11398
|
+
"type": "string",
|
|
11399
|
+
"nullable": true,
|
|
11400
|
+
"description": "Address alias\n"
|
|
11401
|
+
},
|
|
11402
|
+
"nom_ld": {
|
|
11403
|
+
"type": "string",
|
|
11404
|
+
"nullable": true,
|
|
11405
|
+
"description": "Lieu-dit (named place) label\n"
|
|
11406
|
+
},
|
|
11407
|
+
"libelle_acheminement": {
|
|
11408
|
+
"type": "string",
|
|
11409
|
+
"nullable": true,
|
|
11410
|
+
"description": "Postal routing label\n"
|
|
11411
|
+
},
|
|
11412
|
+
"nom_afnor": {
|
|
11413
|
+
"type": "string",
|
|
11414
|
+
"nullable": true,
|
|
11415
|
+
"description": "AFNOR-normalised street name\n"
|
|
11416
|
+
},
|
|
11417
|
+
"source_position": {
|
|
11418
|
+
"type": "string",
|
|
11419
|
+
"nullable": true,
|
|
11420
|
+
"description": "Source of position data (`commune`, `IGN`, etc.)\n"
|
|
11421
|
+
},
|
|
11422
|
+
"source_nom_voie": {
|
|
11423
|
+
"type": "string",
|
|
11424
|
+
"nullable": true,
|
|
11425
|
+
"description": "Source of street name data\n"
|
|
11426
|
+
},
|
|
11427
|
+
"certification_commune": {
|
|
11428
|
+
"type": "boolean",
|
|
11429
|
+
"nullable": true,
|
|
11430
|
+
"description": "Whether the municipality has certified this address\n"
|
|
11431
|
+
},
|
|
11432
|
+
"cad_parcelles": {
|
|
11433
|
+
"type": "string",
|
|
11434
|
+
"nullable": true,
|
|
11435
|
+
"description": "Cadastral parcel reference(s)\n"
|
|
11436
|
+
}
|
|
11437
|
+
}
|
|
11438
|
+
},
|
|
11191
11439
|
"GbrGlobalAddress": {
|
|
11192
11440
|
"title": "Global Address",
|
|
11193
11441
|
"description": "Global (non-UK) address in the UK address format",
|
|
@@ -11340,6 +11588,9 @@
|
|
|
11340
11588
|
},
|
|
11341
11589
|
{
|
|
11342
11590
|
"$ref": "#/components/schemas/BevAddress"
|
|
11591
|
+
},
|
|
11592
|
+
{
|
|
11593
|
+
"$ref": "#/components/schemas/BanAddress"
|
|
11343
11594
|
}
|
|
11344
11595
|
]
|
|
11345
11596
|
},
|
|
@@ -11974,7 +12225,7 @@
|
|
|
11974
12225
|
]
|
|
11975
12226
|
},
|
|
11976
12227
|
"available": {
|
|
11977
|
-
"description": "Determines whether the key can be used by the requesting agent. \n\nReturns false if one of the following conditions are met:\n - Key has no lookups remaining\n - Daily limit has been reached on the key\n - Daily individual limit has been reached\n - Key is not being used via an
|
|
12228
|
+
"description": "Determines whether the key can be used by the requesting agent. \n\nReturns false if one of the following conditions are met:\n - Key has no lookups remaining\n - Daily limit has been reached on the key\n - Daily individual limit has been reached\n - Key is not being used via an authorized URL\n - (Sublicensed key only) Key has a valid licensee attached\n - (Sublicensed key only) Key is not being used via an authorized URL specified by licensee\n",
|
|
11978
12229
|
"type": "boolean",
|
|
11979
12230
|
"example": true
|
|
11980
12231
|
}
|
|
@@ -12157,6 +12408,7 @@
|
|
|
12157
12408
|
"mois",
|
|
12158
12409
|
"upujp",
|
|
12159
12410
|
"bev",
|
|
12411
|
+
"ban",
|
|
12160
12412
|
"gbrcleanse",
|
|
12161
12413
|
"uspscleanse"
|
|
12162
12414
|
],
|
|
@@ -12330,6 +12582,11 @@
|
|
|
12330
12582
|
"description": "Austria: BEV Address File",
|
|
12331
12583
|
"example": true
|
|
12332
12584
|
},
|
|
12585
|
+
"ban": {
|
|
12586
|
+
"type": "boolean",
|
|
12587
|
+
"description": "France: BAN (Base Adresse Nationale)",
|
|
12588
|
+
"example": true
|
|
12589
|
+
},
|
|
12333
12590
|
"gbrcleanse": {
|
|
12334
12591
|
"type": "boolean",
|
|
12335
12592
|
"description": "UK GBR Cleanse",
|
|
@@ -12405,6 +12662,7 @@
|
|
|
12405
12662
|
"automated_topups",
|
|
12406
12663
|
"current_purchases",
|
|
12407
12664
|
"ip_forwarding",
|
|
12665
|
+
"premier_support",
|
|
12408
12666
|
"datasets"
|
|
12409
12667
|
],
|
|
12410
12668
|
"properties": {
|
|
@@ -12463,6 +12721,11 @@
|
|
|
12463
12721
|
"type": "boolean",
|
|
12464
12722
|
"default": false,
|
|
12465
12723
|
"description": "Accept IP addresses forwarded in the `AZ-Source-IP` header"
|
|
12724
|
+
},
|
|
12725
|
+
"premier_support": {
|
|
12726
|
+
"type": "boolean",
|
|
12727
|
+
"default": false,
|
|
12728
|
+
"description": "Whether the key is enrolled in the premier support programme and monitored closely by our devops team. Read-only; managed by our team."
|
|
12466
12729
|
}
|
|
12467
12730
|
}
|
|
12468
12731
|
},
|
|
@@ -12741,6 +13004,11 @@
|
|
|
12741
13004
|
"description": "Austria: BEV Address File",
|
|
12742
13005
|
"example": true
|
|
12743
13006
|
},
|
|
13007
|
+
"ban": {
|
|
13008
|
+
"type": "boolean",
|
|
13009
|
+
"description": "France: BAN (Base Adresse Nationale)",
|
|
13010
|
+
"example": true
|
|
13011
|
+
},
|
|
12744
13012
|
"ab": {
|
|
12745
13013
|
"type": "boolean",
|
|
12746
13014
|
"description": "UK AddressBase dataset",
|
|
@@ -14334,6 +14602,9 @@
|
|
|
14334
14602
|
},
|
|
14335
14603
|
{
|
|
14336
14604
|
"$ref": "#/components/schemas/BevAddress"
|
|
14605
|
+
},
|
|
14606
|
+
{
|
|
14607
|
+
"$ref": "#/components/schemas/BanAddress"
|
|
14337
14608
|
}
|
|
14338
14609
|
]
|
|
14339
14610
|
}
|
|
@@ -15116,7 +15387,7 @@
|
|
|
15116
15387
|
"minimum": 0,
|
|
15117
15388
|
"type": "number",
|
|
15118
15389
|
"format": "int32",
|
|
15119
|
-
"description": "The number lookups performed by the licensee on the day represented
|
|
15390
|
+
"description": "The number of lookups performed by the licensee on the day represented by `licensees.daily.updatedAt`"
|
|
15120
15391
|
},
|
|
15121
15392
|
"updatedAt": {
|
|
15122
15393
|
"type": "string",
|
|
@@ -15228,7 +15499,7 @@
|
|
|
15228
15499
|
"type": "string",
|
|
15229
15500
|
"minimum": 0,
|
|
15230
15501
|
"maximum": 4096,
|
|
15231
|
-
"description": "A
|
|
15502
|
+
"description": "A serialized payload of up to `4096` characters"
|
|
15232
15503
|
}
|
|
15233
15504
|
}
|
|
15234
15505
|
},
|
|
@@ -15292,7 +15563,7 @@
|
|
|
15292
15563
|
"type": "string",
|
|
15293
15564
|
"minimum": 0,
|
|
15294
15565
|
"maximum": 4096,
|
|
15295
|
-
"description": "A
|
|
15566
|
+
"description": "A serialized payload of up to `4096` characters"
|
|
15296
15567
|
}
|
|
15297
15568
|
}
|
|
15298
15569
|
},
|
|
@@ -15359,7 +15630,7 @@
|
|
|
15359
15630
|
"type": "string",
|
|
15360
15631
|
"minimum": 0,
|
|
15361
15632
|
"maximum": 4096,
|
|
15362
|
-
"description": "A
|
|
15633
|
+
"description": "A serialized payload of up to `4096` characters"
|
|
15363
15634
|
}
|
|
15364
15635
|
}
|
|
15365
15636
|
},
|
|
@@ -15929,7 +16200,7 @@
|
|
|
15929
16200
|
"schema": {
|
|
15930
16201
|
"type": "string"
|
|
15931
16202
|
},
|
|
15932
|
-
"description": "**
|
|
16203
|
+
"description": "**Tags**\n\nA comma separated list of tags to query over.\n\nUseful if you want to specify the circumstances in which the request was made.\n\nIf multiple tags are specified, the response will only comprise of requests for which all the tags are satisfied - i.e. searching `\"foo,bar\"` will only query requests which tagged both `\"foo\"` and `\"bar\"`.\n",
|
|
15933
16204
|
"example": "foo,bar"
|
|
15934
16205
|
},
|
|
15935
16206
|
"ApiKeyPathParam": {
|
|
@@ -15952,7 +16223,7 @@
|
|
|
15952
16223
|
"type": "string"
|
|
15953
16224
|
},
|
|
15954
16225
|
"name": "user_token",
|
|
15955
|
-
"description": "**Private User Token**\n\nA secret key used for sensitive operations on your account and API Keys.\n\nYour user token can be retrieved and managed from your [accounts page](https://addresszen.com
|
|
16226
|
+
"description": "**Private User Token**\n\nA secret key used for sensitive operations on your account and API Keys.\n\nYour user token can be retrieved and managed from your [accounts page](https://account.addresszen.com).\n\nTypically begins `uk_...`\n",
|
|
15956
16227
|
"example": "uk_B59ScW1p1HHouf1VqclEPZUx"
|
|
15957
16228
|
},
|
|
15958
16229
|
"StartParam": {
|
|
@@ -16063,7 +16334,7 @@
|
|
|
16063
16334
|
"schema": {
|
|
16064
16335
|
"type": "string"
|
|
16065
16336
|
},
|
|
16066
|
-
"description": "**Filter by Bounding Box**\n\nRestrict search to a geospatial box determined by the \"top-left\" and \"bottom-right\"
|
|
16337
|
+
"description": "**Filter by Bounding Box**\n\nRestrict search to a geospatial box determined by the \"top-left\" and \"bottom-right\" geolocations. \nOnly one geospatial box can be provided.\n",
|
|
16067
16338
|
"example": "2.095,57.15,-2.096,57.14"
|
|
16068
16339
|
},
|
|
16069
16340
|
"PostcodeOutwardParam": {
|
|
@@ -16172,7 +16443,7 @@
|
|
|
16172
16443
|
"schema": {
|
|
16173
16444
|
"type": "string"
|
|
16174
16445
|
},
|
|
16175
|
-
"description": "**Bias by Outward Code**\nBoosts addresses with a matching outward code.\nOutward code is the first
|
|
16446
|
+
"description": "**Bias by Outward Code**\nBoosts addresses with a matching outward code.\nOutward code is the first half of a postcode. For instance, the outward code of `SW1A 2AA` is `SW1A`",
|
|
16176
16447
|
"example": "SW1A"
|
|
16177
16448
|
},
|
|
16178
16449
|
"BiasPostcodeParam": {
|