@addresszen/openapi 3.0.0 → 3.1.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.d.ts CHANGED
@@ -320,12 +320,14 @@ export interface paths {
320
320
  }
321
321
  export interface components {
322
322
  schemas: {
323
+ ecaf: components["schemas"]["EcafAddress"];
324
+ ecad: components["schemas"]["EcadAddress"];
323
325
  /**
324
326
  * Postcode
325
327
  * @description Correctly formatted postcode. Capitalised and spaced.
326
328
  * @example SW1A 2AA
327
329
  */
328
- Postcode: string;
330
+ paf_postcode: string;
329
331
  /**
330
332
  * API Key
331
333
  * @description Your API Key. Typically beings `ak_`.
@@ -353,261 +355,340 @@ export interface components {
353
355
  */
354
356
  PageParam: number;
355
357
  /**
356
- * Postcode Outward
357
- * @description The first part of a postcode is known as the outward code. e.g. The outward code of ID1 1QD is ID1. Enables mail to be sorted to the correct local area for delivery. This part of the code contains the area and the district to which the mail is to be delivered, e.g. ‘PO1’, ‘SW1A’ or ‘B23’.
358
- * @example SW1A
358
+ * ID
359
+ * @description Global unique internally generated identifier for an address
360
+ * @example paf_8387729
359
361
  */
360
- PostcodeOutward: string;
362
+ ID: string;
361
363
  /**
362
- * Postcode Inward
363
- * @description The second part of a postcode is known as the inward Code. e.g. The inward code of ID1 1QD is 1QD. This part is one number followed by two letters. The number identifies the sector in the postal district. The letters then define one or more properties in that sector.
364
- * @example 2AA
364
+ * Dataset
365
+ * @description Indicates the provenance of an address
366
+ */
367
+ paf_dataset: string;
368
+ /**
369
+ * ISO Country Code (3)
370
+ * @description 3 letter country code (ISO 3166-1)
371
+ */
372
+ paf_country_iso: string;
373
+ /**
374
+ * ISO Country Code (2)
375
+ * @description 2 letter country code (ISO 3166-1)
376
+ */
377
+ paf_country_iso_2: string;
378
+ /**
379
+ * Country
380
+ * @description Full country names (ISO 3166)
381
+ *
382
+ * @example England
383
+ */
384
+ paf_country: string;
385
+ /**
386
+ * Language
387
+ * @description Language represented by 2 letter ISO Code (639-1)
365
388
  */
366
- PostcodeInward: string;
389
+ paf_language: string;
390
+ /**
391
+ * Line 1
392
+ * @description First Address Line. Often contains premise and thoroughfare information. In the case of a commercial premise, the first line is always the full name of the registered organisation. Never empty.
393
+ * @example Prime Minister & First Lord of Treasury
394
+ */
395
+ paf_line1: string;
396
+ /**
397
+ * Line 2
398
+ * @description Second Address Line. Often contains thoroughfare and locality information. May be empty
399
+ * @example 10 Downing Street
400
+ */
401
+ paf_line2: string;
402
+ /**
403
+ * Line 3
404
+ * @description Third address line. May be empty.
405
+ */
406
+ paf_line3: string;
367
407
  /**
368
408
  * Post Town
369
409
  * @description A 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.
370
410
  * @example London
371
411
  */
372
- PostTown: string;
412
+ paf_post_town: string;
413
+ /**
414
+ * County
415
+ * @description Since postal, administrative or traditional counties may not apply to some addresses, the county field is designed to return whatever county data is available. Normally, the postal county is returned. If this is not present, the county field will fall back to the administrative county. If the administrative county is also not present, the county field will fall back to the traditional county. May be empty in cases where no administrative, postal or traditional county present.
416
+ * @example London
417
+ */
418
+ paf_county: string;
419
+ /**
420
+ * Unique Property Reference Number
421
+ * @description UPRN stands for Unique Property Reference Number and is maintained by the Ordnance Survey (OS). Local governments in the UK have allocated a unique number for each land or property.
422
+ *
423
+ * Up to 12 digits in length.
424
+ *
425
+ * Multiple Residence premises currently share the same UPRN as the parent premise.
426
+ *
427
+ * May not be available for a small number of Great Britain addresses due to longer update cycles for Ordnance Survey's AddressBase datasets. Returns empty string "" in these instances.
428
+ *
429
+ * Although UPRN takes an integer format, we encode and transmit this data as strings. As a 12 digit number, the UPRN can exceed the maximum safe integer `Number.MAX_SAFE_INTEGER` in most browsers causing this datapoint to be corrupted.
430
+ *
431
+ * Take special care when storing UPRN. As a 12 digit identifier, you will need 64 bits to encode every possible UPRN value. This means applications like Excel will corrupt cells containing UPRN values.
432
+ */
433
+ paf_uprn: string;
434
+ /**
435
+ * Unique Delivery Point Reference Number (UDPRN)
436
+ * Format: int32
437
+ * @description UDPRN stands for ‘Unique Delivery Point Reference Number’. Royal Mail assigns a unique UDPRN code for each premise on PAF. Simple, unique reference number for each Delivery Point. Unlikely to be reused when an address expires.
438
+ *
439
+ * Up to 8-digit numeric code.
440
+ *
441
+ * A new UDPRN is automatically assigned to each new Delivery Point added to PAF.
442
+ * @example 23747771
443
+ */
444
+ paf_udprn: number;
445
+ /**
446
+ * UMPRN
447
+ * @description A small minority of individual premises (as identified by a UDPRN) may have multiple occupants behind the same letterbox. These are known as Multiple Residence occupants and can be queried via the Multiple Residence dataset. Simple, unique reference number for each Multiple Residence occupant.
448
+ *
449
+ * Note: this will be an empty string `""` when not used.
450
+ */
451
+ paf_umprn: string | number;
452
+ /**
453
+ * Postcode Outward
454
+ * @description The first part of a postcode is known as the outward code. e.g. The outward code of ID1 1QD is ID1. Enables mail to be sorted to the correct local area for delivery. This part of the code contains the area and the district to which the mail is to be delivered, e.g. ‘PO1’, ‘SW1A’ or ‘B23’.
455
+ * @example SW1A
456
+ */
457
+ paf_postcode_outward: string;
458
+ /**
459
+ * Postcode Inward
460
+ * @description The second part of a postcode is known as the inward code. e.g. The inward code of ID1 1QD is 1QD.
461
+ *
462
+ * The number identifies the sector in the postal district. The number is followed by 2 letters. The letters then define one or more properties in that sector.
463
+ * @example 2AA
464
+ */
465
+ paf_postcode_inward: string;
373
466
  /**
374
467
  * Dependant Locality
375
468
  * @description When the same thoroughfare name reoccurs in a Post town, it may not be possible to make it dependant on a dependant thoroughfare. In this case the thoroughfare is dependant on a locality. For example if we want to find 1 Back Lane in Huddersfield we see that there are three.
376
469
  */
377
- DependantLocality: string;
470
+ paf_dependant_locality: string;
378
471
  /**
379
472
  * Double Dependant Locality
380
473
  * @description Used to supplement Dependant Locality. A Double Dependant Locality supplied along with a Dependant Locality if the Dependant Locality exists twice in the same locality.
381
474
  */
382
- DoubleDependantLocality: string;
475
+ paf_double_dependant_locality: string;
383
476
  /**
384
477
  * Thoroughfare
385
478
  * @description Also known as the street or road name. In general each Thoroughfare Name will have a separate Postcode. Longer Thoroughfares with high number ranges often have multiple Postcodes covering the entire length of the road, with breaks at suitable points e.g. junctions or natural breaks in the road.
386
479
  * @example Downing Street
387
480
  */
388
- Thoroughfare: string;
481
+ paf_thoroughfare: string;
389
482
  /**
390
483
  * Dependant Thoroughfare
391
484
  * @description Used to supplement thoroughfare. When a thoroughfare name is used twice in the same Post Town, the dependant thoroughfare is added to uniquely indentify a delivery point.
392
485
  */
393
- DependantThoroughfare: string;
486
+ paf_dependant_thoroughfare: string;
394
487
  /**
395
488
  * Building Number
396
489
  * @description Number to identify premise on a thoroughfare or dependant thoroughfare.
397
490
  * @example 10
398
491
  */
399
- BuildingNumber: string;
492
+ paf_building_number: string;
400
493
  /**
401
494
  * Building Name
402
- * @description Name of residential or commercial premise. E.g. The Manor, 1-2, A, 12A, K, Victoria House
495
+ * @description Name of residential or commercial premise.
496
+ *
497
+ * Examples:
498
+ * - The Manor
499
+ * - 1-2
500
+ * - A
501
+ * - 12A
502
+ * - K
503
+ * - Victoria House
403
504
  */
404
- BuildingName: string;
505
+ paf_building_name: string;
405
506
  /**
406
507
  * Sub-Building Name
407
508
  * @description When a premise is split into individual units such as flats, apartments or business units. Cannot be present without either building_name or building_number. E.g. Flat 1, A, 10B
509
+ * @example Flat 1
408
510
  */
409
- SubBuildingName: string;
511
+ paf_sub_building_name: string;
410
512
  /**
411
513
  * PO Box
412
514
  * @description When the PO Box Number field is populated it will contain PO BOX nnnnnn where n represents the PO Box number. Note that the PO Box details can occasionally consist of a combination of numbers and letters. PO Box Numbers are only allocated to Large Users.
413
- * @example HK860
515
+ * @example 100
414
516
  */
415
- POBox: string;
517
+ paf_pobox: string;
416
518
  /**
417
519
  * Department Name
418
520
  * @description Used to supplment Organisation Name to identify a deparment within the organisation.
419
521
  */
420
- DepartmentName: string;
522
+ paf_department_name: string;
421
523
  /**
422
524
  * Organisation Name
423
- * @description Used to supplment Organisation Name to identify a deparment within the organisation.
525
+ * @description Used to supplment Organisation Name to identify a deparment within the organisation
424
526
  * @example Prime Minister & First Lord Of The Treasury
425
527
  */
426
- OrganisationName: string;
427
- /**
428
- * Unique Delivery Point Reference Number (UDPRN)
429
- * Format: int32
430
- * @description UDPRN stands for ‘Unique Delivery Point Reference Number’. Royal Mail assigns a unique UDPRN code for each premise on PAF. Simple, unique reference number for each Delivery Point. Unlikely to be reused when an address expires. Up to 8-digit numeric code. A new UDPRN is automatically assigned to each new Delivery Point added to PAF.
431
- * @example 23747771
432
- */
433
- UDPRN: number;
434
- /**
435
- * UMPRN
436
- * @description A small minority of individual premises (as identified by a UDPRN) may have multiple occupants behind the same letterbox. These are known as Multiple Residence occupants and can be queried via the Multiple Residence dataset. Simple, unique reference number for each Multiple Residence occupant. 8-character numeric code. Note: this will be an empty string `""` when not used for legacy reasons
437
- */
438
- UMPRN: string | number;
528
+ paf_organisation_name: string;
439
529
  /**
440
530
  * Postcode Type
441
- * @description This indicates the type of user. It can only take the values 'S' or 'L' indicating small or large respectively. Large User Postcodes. These are assigned to one single address either due to the large volume of mail received at that address, or because a PO Box or Selectapost service has been set up. Small User Postcodes. These identify a group of Delivery Points. On average there are 15 Delivery Points per Postcode. However this can vary between 1 and, in some cases, 100. There will never be more than 100 Delivery Points on a Postcode.
442
- * @example S
531
+ * @description This indicates the type of user. It can only take the values 'S' or 'L' indicating small or large respectively. Large User Postcodes. These are assigned to one single address either due to the large volume of mail received at that address, or because a PO Box or Selectapost service has been set up. Small User Postcodes. These identify a group of Delivery Points.
532
+ *
533
+ * On average there are 15 Delivery Points per Postcode. However this can vary between 1 and, in some cases, 100. There will never be more than 100 Delivery Points on a Postcode.
443
534
  * @enum {string}
444
535
  */
445
- PostcodeType: "S" | "L";
536
+ paf_postcode_type: "S" | "L";
446
537
  /**
447
538
  * Small User Organisation Indicator
448
539
  * @description Small User Organisation Indicator can have the values 'Y' or space. A value of 'Y' indicates that a Small User Organisation is present at this address.
540
+ * @example Y
449
541
  */
450
- SuOrganisationIndicator: string;
542
+ paf_su_organisation_indicator: string;
451
543
  /**
452
544
  * Delivery Point Suffix
453
- * @description A unique Royal Mail 2-character code (the first numeric & the second alphabetical), which, when added to the Postcode, enables each live Delivery Point to be uniquely identified. Once the Delivery Point is deleted from PAF the DPS may be reused (although they aren’t reused until all remaining Delivery Points in the range have been allocated). The DPS for a Large User is always '1A' as each Large User has its own Postcode. E.g. 2B
545
+ * @description A unique Royal Mail 2-character code (the first numeric & the second alphabetical), which, when added to the Postcode, enables each live Delivery Point to be uniquely identified. Once the Delivery Point is deleted from PAF the DPS may be reused (although they aren’t reused until all remaining Delivery Points in the range have been allocated). The DPS for a Large User is always '1A' as each Large User has its own Postcode.
454
546
  * @example 1A
455
547
  */
456
- DeliveryPointSuffix: string;
457
- /**
458
- * Line 1
459
- * @description First Address Line. Often contains premise and thoroughfare information. In the case of a commercial premise, the first line is always the full name of the registered organisation. Never empty.
460
- * @example Prime Minister & First Lord of Treasury
461
- */
462
- Line1: string;
463
- /**
464
- * Line 2
465
- * @description Second Address Line. Often contains thoroughfare and locality information. May be empty.
466
- * @example 10 Downing Street
467
- */
468
- Line2: string;
469
- /**
470
- * Line 3
471
- * @description Third address line. May be empty.
472
- */
473
- Line3: string;
548
+ paf_delivery_point_suffix: string;
474
549
  /**
475
550
  * Premise
476
551
  * @description A pre-computed string which sensibly combines building_number, building_name and sub_building_name. building_number, building_name and sub_building_name represent raw data from Royal Mail's and can be difficult to parse if you are unaware of how the Postcode Address File premise fields work together. For this reason, we also provide a pre-computed premise field which intelligently gathers these points into a single, simple premise string. This field is ideal if you want to pull premise information and thoroughfare information separately instead of using our address lines data.
477
552
  * @example 10
478
553
  */
479
- Premise: string;
480
- /**
481
- * Country
482
- * @description The country for which the postcode belongs to. May be empty for a small number of addresses.
483
- * @example England
484
- */
485
- Country: string;
486
- /**
487
- * County
488
- * @description Since postal, administrative or traditional counties may not apply to some addresses, the county field is designed to return whatever county data is available. Normally, the postal county is returned. If this is not present, the county field will fall back to the administrative county. If the administrative county is also not present, the county field will fall back to the traditional county. May be empty in cases where no administrative, postal or traditional county present.
489
- * @example London
490
- */
491
- County: string;
554
+ paf_premise: string;
492
555
  /**
493
556
  * Administrative County
494
- * @description The current administrative county to which the postcode has been assigned. A Unitary Authority name, where one is present. If there is no Unitary Authority, the County name is used. This information is not static, because County boundaries may change due to administrative changes. Data source: ONS. May be empty.
557
+ * @description The current administrative county to which the postcode has been assigned.
558
+ *
559
+ * A Unitary Authority name, where one is present. If there is no Unitary Authority, the County name is used. This information is not static, because County boundaries may change due to administrative changes. Data
560
+ *
561
+ * source: ONS
495
562
  */
496
- AdministrativeCounty: string;
563
+ paf_administrative_county: string;
497
564
  /**
498
565
  * Postal County
499
- * @description Postal counties were used for the distribution of mail before the Postcode system was introduced in the 1970s. The Former Postal County was the Administrative County at the time. This data rarely changes. Data source: Royal Mail. May be empty.
566
+ * @description Postal counties were used for the distribution of mail before the Postcode system was introduced in the 1970s. The Former Postal County was the Administrative County at the time. This data rarely changes. May be empty.
500
567
  * @example London
501
568
  */
502
- PostalCounty: string;
569
+ paf_postal_county: string;
503
570
  /**
504
571
  * Traditional County
505
- * @description Traditional counties are provided by the Association of British Counties. It’s historical data, and can date from the 1800s. Data source: Royal Mail. May be empty.
572
+ * @description Traditional counties are provided by the Association of British Counties. It is historical data, and can date from the 1800s. May be empty.
506
573
  * @example Greater London
507
574
  */
508
- TraditionalCounty: string;
575
+ paf_traditional_county: string;
509
576
  /**
510
577
  * District
511
- * @description The current district/unitary authority to which the postcode has been assigned. Data source: ONS
578
+ * @description The current district/unitary authority to which the postcode has been assigned.
512
579
  * @example Westminster
513
580
  */
514
- District: string;
581
+ paf_district: string;
515
582
  /**
516
583
  * Ward
517
- * @description The current administrative/electoral area to which the postcode has been assigned. May be empty for a small number of addresses. Data source: ONS
584
+ * @description The current administrative/electoral area to which the postcode has been assigned. May be empty for a small number of addresses.
518
585
  * @example St. James'
519
586
  */
520
- Ward: string;
587
+ paf_ward: string;
521
588
  /**
522
589
  * Longitude
523
- * @description The longitude of the postcode (WGS84/ETRS89). Accurate at the postcode level Can be a positive or negative decimal. E.g. -0.1283983 Returns an empty string if no location data is available. Otherwise, a number is returned
590
+ * @description The longitude of the postcode (WGS84/ETRS89).
591
+ *
592
+ * Can be a positive or negative decimal. E.g. -0.1283983
593
+ *
594
+ * Returns an empty string if no location data is available.
524
595
  */
525
596
  Longitude: string | number;
526
597
  /**
527
598
  * Longitude
528
- * @description The latitude of the postcode (WGS84/ETRS89). Accurate at the postcode level Can be a positive or negative decimal. E.g. 51.5083983 Returns an empty string if no location data is available. Otherwise a number is returned.
599
+ * @description The latitude of the postcode (WGS84/ETRS89).
600
+ *
601
+ * Can be a positive or negative decimal. E.g. `51.5083983`.
602
+ *
603
+ * Returns an empty string if no location data is available.
529
604
  */
530
605
  Latitude: string | number;
531
606
  /**
532
607
  * Eastings
533
- * @description Eastings reference using the [Ordnance Survey National Grid reference system](https://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid) Northern Ireland Eastings uses the [Irish Grid Reference System](https://en.wikipedia.org/wiki/Irish_grid_reference_system) Metres from origin. E.g. 550458 Returns an empty string if no location data is available. Otherwise a number is returned
608
+ * @description Eastings reference using the [Ordnance Survey National Grid reference system](https://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid).
609
+ *
610
+ * Northern Ireland Eastings uses the [Irish Grid Reference System](https://en.wikipedia.org/wiki/Irish_grid_reference_system).
611
+ *
612
+ * Metres from origin. E.g. `550458`
613
+ *
614
+ * Returns an empty string if no location data is available. Otherwise a number is returned.
534
615
  */
535
616
  Eastings: string | number;
536
617
  /**
537
- * Eastings
538
- * @description Northings reference using the [Ordnance Survey National Grid reference system](https://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid) Northern Ireland Northings uses the [Irish Grid Reference System](https://en.wikipedia.org/wiki/Irish_grid_reference_system) Metres from origin. E.g. 180458 Returns an empty string if no location data is available. Otherwise a number is returned
618
+ * Northings
619
+ * @description Northings reference using the [Ordnance Survey National Grid reference system](https://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid)
620
+ *
621
+ * Northern Ireland Northings uses the [Irish Grid Reference System](https://en.wikipedia.org/wiki/Irish_grid_reference_system)
622
+ *
623
+ * Metres from origin. E.g. `180458`
624
+ *
625
+ * Returns an empty string if no location data is available. Otherwise a number is returned
539
626
  */
540
627
  Northings: string | number;
541
- /**
542
- * Unique Delivery Point Reference Number (UDPRN)
543
- * @description UPRN stands for Unique Property Reference Number and is maintained by the Ordnance Survey (OS). Local governments in the UK have allocated a unique number for each land or property. See our UPRN guide for more information. Up to 12 digits in length. Multiple Residence premises currently share the same UPRN as the parent premise. May not be available for a small number of Great Britain addresses due to longer update cycles for Ordnance Survey's AddressBase datasets. Returns empty string "" in these instances. Although UPRN takes an integer format, we encode and transmit this data as strings. As a 12 digit number, the UPRN can exceed the maximum safe integer (Number.MAX_SAFE_INTEGER) in most browsers causing this datapoint to be corrupted. Take special care when storing UPRN. As a 12 digit identifier, you will need 64 bits to encode every possible UPRN value.
544
- */
545
- UPRN: string;
546
- /**
547
- * ID
548
- * @description Global unique internally generated identifier for an address.
549
- * @example paf_8387729
550
- */
551
- ID: string;
552
- /**
553
- * Dataset
554
- * @description Indicates the provenance of an address
555
- * @enum {string}
556
- */
557
- Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps";
558
- /**
559
- * ISO Country Code
560
- * @description 3 letter ISO country code
561
- * @enum {string}
562
- */
563
- CountryISO: "GBR" | "IMN" | "JEY" | "GGY" | "USA" | "PRI" | "GUM";
628
+ PafBase: {
629
+ id: components["schemas"]["ID"];
630
+ dataset: components["schemas"]["paf_dataset"];
631
+ country_iso: components["schemas"]["paf_country_iso"];
632
+ country_iso_2: components["schemas"]["paf_country_iso_2"];
633
+ country: components["schemas"]["paf_country"];
634
+ language: components["schemas"]["paf_language"];
635
+ line_1: components["schemas"]["paf_line1"];
636
+ line_2: components["schemas"]["paf_line2"];
637
+ line_3: components["schemas"]["paf_line3"];
638
+ post_town: components["schemas"]["paf_post_town"];
639
+ postcode: components["schemas"]["paf_postcode"];
640
+ county: components["schemas"]["paf_county"];
641
+ /**
642
+ * County Code
643
+ * @description Short code representing the county or province. May be empty (`""`)
644
+ */
645
+ county_code: string;
646
+ uprn: components["schemas"]["paf_uprn"];
647
+ udprn: components["schemas"]["paf_udprn"];
648
+ umprn: components["schemas"]["paf_umprn"];
649
+ postcode_outward: components["schemas"]["paf_postcode_outward"];
650
+ postcode_inward: components["schemas"]["paf_postcode_inward"];
651
+ dependant_locality: components["schemas"]["paf_dependant_locality"];
652
+ double_dependant_locality: components["schemas"]["paf_double_dependant_locality"];
653
+ thoroughfare: components["schemas"]["paf_thoroughfare"];
654
+ dependant_thoroughfare: components["schemas"]["paf_dependant_thoroughfare"];
655
+ building_number: components["schemas"]["paf_building_number"];
656
+ building_name: components["schemas"]["paf_building_name"];
657
+ sub_building_name: components["schemas"]["paf_sub_building_name"];
658
+ po_box: components["schemas"]["paf_pobox"];
659
+ department_name: components["schemas"]["paf_department_name"];
660
+ organisation_name: components["schemas"]["paf_organisation_name"];
661
+ postcode_type: components["schemas"]["paf_postcode_type"];
662
+ su_organisation_indicator: components["schemas"]["paf_su_organisation_indicator"];
663
+ delivery_point_suffix: components["schemas"]["paf_delivery_point_suffix"];
664
+ premise: components["schemas"]["paf_premise"];
665
+ administrative_county: components["schemas"]["paf_administrative_county"];
666
+ postal_county: components["schemas"]["paf_postal_county"];
667
+ traditional_county: components["schemas"]["paf_traditional_county"];
668
+ district: components["schemas"]["paf_district"];
669
+ ward: components["schemas"]["paf_ward"];
670
+ longitude: components["schemas"]["Longitude"];
671
+ latitude: components["schemas"]["Latitude"];
672
+ eastings: components["schemas"]["Eastings"];
673
+ northings: components["schemas"]["Northings"];
674
+ };
564
675
  /**
565
676
  * Postcode Address File Address
566
677
  * @description Standard UK Address. Also known as a Postcode Address File (PAF) address is defined by Royal Mail and updated on a daily cadence.
567
678
  *
568
679
  * A PAF Address represents a deliverable endpoint.
569
680
  */
570
- PafAddress: {
571
- postcode: components["schemas"]["Postcode"];
572
- postcode_outward: components["schemas"]["PostcodeOutward"];
573
- postcode_inward: components["schemas"]["PostcodeInward"];
574
- post_town: components["schemas"]["PostTown"];
575
- dependant_locality: components["schemas"]["DependantLocality"];
576
- double_dependant_locality: components["schemas"]["DoubleDependantLocality"];
577
- thoroughfare: components["schemas"]["Thoroughfare"];
578
- dependant_thoroughfare: components["schemas"]["DependantThoroughfare"];
579
- building_number: components["schemas"]["BuildingNumber"];
580
- building_name: components["schemas"]["BuildingName"];
581
- sub_building_name: components["schemas"]["SubBuildingName"];
582
- po_box: components["schemas"]["POBox"];
583
- department_name: components["schemas"]["DepartmentName"];
584
- organisation_name: components["schemas"]["OrganisationName"];
585
- udprn: components["schemas"]["UDPRN"];
586
- umprn: components["schemas"]["UMPRN"];
587
- postcode_type: components["schemas"]["PostcodeType"];
588
- su_organisation_indicator: components["schemas"]["SuOrganisationIndicator"];
589
- delivery_point_suffix: components["schemas"]["DeliveryPointSuffix"];
590
- line_1: components["schemas"]["Line1"];
591
- line_2: components["schemas"]["Line2"];
592
- line_3: components["schemas"]["Line3"];
593
- premise: components["schemas"]["Premise"];
594
- country: components["schemas"]["Country"];
595
- county: components["schemas"]["County"];
596
- administrative_county: components["schemas"]["AdministrativeCounty"];
597
- postal_county: components["schemas"]["PostalCounty"];
598
- traditional_county: components["schemas"]["TraditionalCounty"];
599
- district: components["schemas"]["District"];
600
- ward: components["schemas"]["Ward"];
601
- longitude: components["schemas"]["Longitude"];
602
- latitude: components["schemas"]["Latitude"];
603
- eastings: components["schemas"]["Eastings"];
604
- northings: components["schemas"]["Northings"];
605
- uprn: components["schemas"]["UPRN"];
606
- id: components["schemas"]["ID"];
681
+ PafAddress: components["schemas"]["PafBase"] & {
607
682
  /** @enum {undefined} */
608
- dataset: components["schemas"]["Dataset"];
683
+ country_iso?: "GBR" | "IMN" | "JEY" | "GGY";
684
+ /** @enum {string} */
685
+ dataset?: "paf";
609
686
  /** @enum {undefined} */
610
- country_iso: components["schemas"]["CountryISO"];
687
+ country_iso_2?: "GB" | "IM" | "JE" | "GG";
688
+ /** @enum {undefined} */
689
+ language?: "en";
690
+ /** @enum {undefined} */
691
+ country?: "England" | "Scotland" | "Wales" | "Northern Ireland" | "Jersey" | "Guernsey" | "Isle of Man";
611
692
  };
612
693
  /**
613
694
  * Multiple Residence Address
@@ -615,9 +696,17 @@ export interface components {
615
696
  *
616
697
  * A Multiple Residence address does not have its own deliverable endpoint. Instead it relies on the deliverable endpoint of a parent address, where the parent address can be found on the main Postcode Address File.
617
698
  */
618
- MrAddress: components["schemas"]["PafAddress"] & {
699
+ MrAddress: components["schemas"]["PafBase"] & {
619
700
  /** @enum {undefined} */
620
- dataset?: components["schemas"]["Dataset"];
701
+ dataset?: "mr";
702
+ /** @enum {undefined} */
703
+ country_iso?: "GBR" | "IMN" | "JEY" | "GGY";
704
+ /** @enum {undefined} */
705
+ country_iso_2?: "GB" | "IM" | "JE" | "GG";
706
+ /** @enum {undefined} */
707
+ language?: "en";
708
+ /** @enum {undefined} */
709
+ country?: "England" | "Scotland" | "Wales" | "Northern Ireland" | "Jersey" | "Guernsey" | "Isle of Man";
621
710
  };
622
711
  /**
623
712
  * Not Yet Built Address
@@ -625,14 +714,56 @@ export interface components {
625
714
  *
626
715
  * This dataset is updated by Royal Mail on a monthly cadence.
627
716
  */
628
- NybAddress: components["schemas"]["PafAddress"] & {
717
+ NybAddress: components["schemas"]["PafBase"] & {
718
+ /** @enum {undefined} */
719
+ dataset?: "nyb";
629
720
  /** @enum {undefined} */
630
- dataset?: components["schemas"]["Dataset"];
721
+ country_iso?: "GBR" | "IMN" | "JEY" | "GGY";
722
+ /** @enum {undefined} */
723
+ country_iso_2?: "GB" | "IM" | "JE" | "GG";
724
+ /** @enum {undefined} */
725
+ language?: "en";
726
+ /** @enum {undefined} */
727
+ country?: "England" | "Scotland" | "Wales" | "Northern Ireland" | "Jersey" | "Guernsey" | "Isle of Man";
728
+ };
729
+ /**
730
+ * PAF Alias Address
731
+ * @description PAF Aliases addresses are alternate ways to present an address already found on PAF.
732
+ *
733
+ * Alias data is information the public chooses to use when addressing mail, but which isn’t actually required for delivery purposes. The Alias data contains records of alternative address details that are included in the address but not necessarily needed for delivery purposes.
734
+ */
735
+ PafAliasAddress: components["schemas"]["PafBase"] & {
736
+ /** @enum {undefined} */
737
+ dataset?: "pafa";
738
+ /** @enum {undefined} */
739
+ country_iso?: "GBR" | "IMN" | "JEY" | "GGY";
740
+ /** @enum {undefined} */
741
+ country_iso_2?: "GB" | "IM" | "JE" | "GG";
742
+ /** @enum {undefined} */
743
+ language?: "en";
744
+ /** @enum {undefined} */
745
+ country?: "England" | "Scotland" | "Wales" | "Northern Ireland" | "Jersey" | "Guernsey" | "Isle of Man";
746
+ };
747
+ /**
748
+ * Welsh PAF Address
749
+ * @description Welsh language alternative for a PAF Address
750
+ */
751
+ WelshPafAddress: components["schemas"]["PafBase"] & {
752
+ /** @enum {undefined} */
753
+ dataset?: "pafw";
754
+ /** @enum {undefined} */
755
+ country_iso?: "GBR";
756
+ /** @enum {undefined} */
757
+ country_iso_2?: "GB";
758
+ /** @enum {undefined} */
759
+ language?: "cy";
760
+ /** @enum {undefined} */
761
+ country?: "Wales";
631
762
  };
632
763
  /** Postcode Response */
633
764
  PostcodeResponse: {
634
765
  /** @description All addresses listed at the postcode */
635
- result: (components["schemas"]["PafAddress"] | components["schemas"]["MrAddress"] | components["schemas"]["NybAddress"])[];
766
+ result: (components["schemas"]["PafAddress"] | components["schemas"]["MrAddress"] | components["schemas"]["NybAddress"] | components["schemas"]["PafAliasAddress"] | components["schemas"]["WelshPafAddress"])[];
636
767
  /**
637
768
  * Format: int32
638
769
  * @enum {integer}
@@ -641,6 +772,40 @@ export interface components {
641
772
  /** @enum {string} */
642
773
  message: "Success";
643
774
  };
775
+ /** Basic Error Response */
776
+ ErrorResponse: {
777
+ /**
778
+ * Format: int32
779
+ * @description API Response Code. Non `2xxx` code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
780
+ */
781
+ code: number;
782
+ /** @description Human readable error message supplied with every error response. */
783
+ message: string;
784
+ };
785
+ /** Bad Request Error Response */
786
+ BadRequestResponse: components["schemas"]["ErrorResponse"] & {
787
+ /**
788
+ * Format: int32
789
+ * @description `400X` type error response code
790
+ */
791
+ code: number;
792
+ /** @description Bad request error description */
793
+ message: string;
794
+ errors?: {
795
+ /**
796
+ * @description Indicates location of error in request query or URL parameter
797
+ * @example should have required property 'type'
798
+ */
799
+ message: string;
800
+ /**
801
+ * @description Indicates location of error in request query or URL parameter
802
+ * @example .query.type
803
+ */
804
+ path: string;
805
+ /** @example required.openapi.validation */
806
+ errorCode?: string;
807
+ }[];
808
+ };
644
809
  /** Postcode Not Found */
645
810
  PostcodeNotFoundResponse: {
646
811
  /**
@@ -664,16 +829,6 @@ export interface components {
664
829
  /** @enum {string} */
665
830
  message: "Success";
666
831
  };
667
- /** Basic Error Response */
668
- ErrorResponse: {
669
- /**
670
- * Format: int32
671
- * @description API Response Code. Non `2xxx` code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
672
- */
673
- code: number;
674
- /** @description Human readable error message supplied with every error response. */
675
- message: string;
676
- };
677
832
  /** UDPRN Response */
678
833
  UMPRNResponse: {
679
834
  result: components["schemas"]["MrAddress"];
@@ -685,12 +840,44 @@ export interface components {
685
840
  /** @enum {string} */
686
841
  message: "Success";
687
842
  };
843
+ /**
844
+ * Available Contexts
845
+ * @description A list of available contexts for a key
846
+ */
847
+ AvailableContexts: {
848
+ /**
849
+ * @description 3 letter ISO code
850
+ * @example USA
851
+ */
852
+ iso_3?: string;
853
+ /**
854
+ * @description 2 letter ISO code
855
+ * @example US
856
+ */
857
+ iso_2?: string;
858
+ /**
859
+ * @description Country descriptor to show in Address Finder
860
+ *
861
+ * @example United States
862
+ */
863
+ description?: string;
864
+ /**
865
+ * @description Emoji text icon
866
+ * @example 🇺🇸
867
+ */
868
+ emoji?: string;
869
+ /**
870
+ * @description Indicates availability of reverse geolocation search
871
+ *
872
+ * @example true
873
+ */
874
+ rgeo?: boolean;
875
+ }[];
688
876
  /**
689
877
  * Context
690
878
  * @description Limits search results within a geographical boundary or country.
691
- * @enum {string}
692
879
  */
693
- Context: "GBR" | "USA";
880
+ Context: string;
694
881
  /**
695
882
  * No Context Provided
696
883
  * @description Empty string if no context is provided or key check has failed
@@ -699,6 +886,7 @@ export interface components {
699
886
  NoContext: "";
700
887
  /** Key */
701
888
  ApiKey: {
889
+ contexts: components["schemas"]["AvailableContexts"];
702
890
  /** @description Returns current context if it is in the list of available contexts for this key. */
703
891
  context: components["schemas"]["Context"] | components["schemas"]["NoContext"];
704
892
  /**
@@ -1081,7 +1269,7 @@ export interface components {
1081
1269
  * @example Flat 6, 12 Roskear, Camborne, TR14
1082
1270
  */
1083
1271
  suggestion: string;
1084
- udprn: components["schemas"]["UDPRN"];
1272
+ udprn: components["schemas"]["paf_udprn"];
1085
1273
  /**
1086
1274
  * Format: int32
1087
1275
  * @description Optionally returned field, representing the UMPRN of a Multiple Residence household
@@ -1115,30 +1303,79 @@ export interface components {
1115
1303
  message: "Success";
1116
1304
  };
1117
1305
  /**
1118
- * Welsh PAF Address
1119
- * @description Welsh language alternative for a PAF Address
1306
+ * Dataset
1307
+ * @description Indicates the provenance of an address.
1308
+ *
1309
+ * - `paf` (GBR) Postcode Address File
1310
+ * - `mr` (GBR) Multiple Residence File
1311
+ * - `nyb` (GBR) Not Yet Built File
1312
+ * - `pafa` (GBR) Alias File
1313
+ * - `pafw` (GBR) Welsh File
1314
+ * - `ecaf` (IRL) Eircode ECAF
1315
+ * - `ecad` (IRL) Eircode ECAD
1316
+ * - `usps` (USA) USPS Zip+4
1317
+ * @enum {string}
1120
1318
  */
1121
- WelshPafAddress: components["schemas"]["PafAddress"] & {
1122
- /** @enum {undefined} */
1123
- dataset?: components["schemas"]["Dataset"];
1124
- };
1319
+ Dataset: "paf" | "pafw" | "pafa" | "mr" | "nyb" | "usps" | "ecaf" | "ecad";
1125
1320
  /**
1126
- * PAF Alias Address
1127
- * @description PAF Aliases addresses are alternate ways to present an address already found on PAF.
1321
+ * ISO Country Code (3)
1322
+ * @description 3 letter country code (ISO 3166-1)
1128
1323
  *
1129
- * Alias data is information the public chooses to use when addressing mail, but which isn’t actually required for delivery purposes. The Alias data contains records of alternative address details that are included in the address but not necessarily needed for delivery purposes.
1324
+ * @enum {string}
1130
1325
  */
1131
- PafAliasAddress: components["schemas"]["PafAddress"] & {
1132
- /** @enum {undefined} */
1133
- dataset?: components["schemas"]["Dataset"];
1134
- };
1326
+ CountryISO: "GBR" | "IMN" | "JEY" | "GGY" | "USA" | "PRI" | "GUM" | "IRL";
1327
+ /**
1328
+ * ISO Country Code (2)
1329
+ * @description 2 letter country code (ISO 3166-1)
1330
+ *
1331
+ * @enum {string}
1332
+ */
1333
+ CountryISO2: "GB" | "IM" | "JE" | "GG" | "US" | "PR" | "GU" | "IE";
1334
+ /**
1335
+ * Language
1336
+ * @description Language represented by 2 letter ISO Code (639-1)
1337
+ *
1338
+ * @enum {string}
1339
+ */
1340
+ Language: "en" | "cy" | "ga";
1341
+ /**
1342
+ * Country
1343
+ * @description Full country names (ISO 3166)
1344
+ *
1345
+ * @example England
1346
+ * @enum {string}
1347
+ */
1348
+ Country: "United States" | "Guam" | "Puerto Rico" | "England" | "Scotland" | "Wales" | "Northern Ireland" | "Jersey" | "Guernsey" | "Isle of Man" | "Ireland";
1135
1349
  /**
1136
1350
  * Global Address
1137
1351
  * @description Global (non-UK) address in the UK address format
1138
1352
  */
1139
1353
  GbrGlobalAddress: {
1140
- /** @description Postal or Zip Code */
1354
+ id: components["schemas"]["ID"];
1355
+ dataset: components["schemas"]["Dataset"];
1356
+ country_iso: components["schemas"]["CountryISO"];
1357
+ country_iso_2: components["schemas"]["CountryISO2"];
1358
+ language: components["schemas"]["Language"];
1359
+ /** @description First address line */
1360
+ line_1: string;
1361
+ /** @description Second address line */
1362
+ line_2: string;
1363
+ /** @description Third address line */
1364
+ line_3: string;
1365
+ /** @description Postal Code or Zip Code */
1141
1366
  postcode: string;
1367
+ /** @description Town or City */
1368
+ post_town: string;
1369
+ /** @description Province, state or county */
1370
+ county: string;
1371
+ /**
1372
+ * @description Code or abbreviation associated with provice, state or county
1373
+ * @example NY
1374
+ */
1375
+ county_code: string;
1376
+ longitude: components["schemas"]["Longitude"];
1377
+ latitude: components["schemas"]["Latitude"];
1378
+ country: components["schemas"]["Country"];
1142
1379
  /**
1143
1380
  * @description Not available for non-UK addresses
1144
1381
  * @enum {string}
@@ -1149,28 +1386,68 @@ export interface components {
1149
1386
  * @enum {string}
1150
1387
  */
1151
1388
  postcode_inward: "";
1152
- /** @description Town or City */
1153
- post_town: string;
1154
- dependant_locality: components["schemas"]["DependantLocality"];
1155
- double_dependant_locality: components["schemas"]["DoubleDependantLocality"];
1156
- thoroughfare: components["schemas"]["Thoroughfare"];
1157
- dependant_thoroughfare: components["schemas"]["DependantThoroughfare"];
1158
- building_number: components["schemas"]["BuildingNumber"];
1159
- building_name: components["schemas"]["BuildingName"];
1160
- sub_building_name: components["schemas"]["SubBuildingName"];
1161
- /** @description PO Box */
1162
- po_box: string;
1163
- /** @description Department name at premise */
1164
- department_name: string;
1165
- /** @description Name of organisation at premise */
1166
- organisation_name: string;
1167
- /**
1168
- * @description Not available for non-UK addresses. See id for address identifier
1389
+ /**
1390
+ * @description Not available for non-UK addresses
1391
+ * @enum {string}
1392
+ */
1393
+ dependant_locality: "";
1394
+ /**
1395
+ * @description Not available for non-UK addresses
1396
+ * @enum {string}
1397
+ */
1398
+ double_dependant_locality: "";
1399
+ /**
1400
+ * @description Not available for non-UK addresses
1401
+ * @enum {string}
1402
+ */
1403
+ thoroughfare: "";
1404
+ /**
1405
+ * @description Not available for non-UK addresses
1406
+ * @enum {string}
1407
+ */
1408
+ dependant_thoroughfare: "";
1409
+ /**
1410
+ * @description Not available for non-UK addresses
1411
+ * @enum {string}
1412
+ */
1413
+ building_number: "";
1414
+ /**
1415
+ * @description Not available for non-UK addresses
1416
+ * @enum {string}
1417
+ */
1418
+ building_name: "";
1419
+ /**
1420
+ * @description Not available for non-UK addresses
1421
+ * @enum {string}
1422
+ */
1423
+ sub_building_name: "";
1424
+ /**
1425
+ * @description Not available for non-UK addresses
1426
+ * @enum {string}
1427
+ */
1428
+ premise: "";
1429
+ /**
1430
+ * @description Not available for non-UK addresses
1431
+ * @enum {string}
1432
+ */
1433
+ po_box: "";
1434
+ /**
1435
+ * @description Not available for non-UK addresses
1436
+ * @enum {string}
1437
+ */
1438
+ department_name: "";
1439
+ /**
1440
+ * @description Not available for non-UK addresses
1441
+ * @enum {string}
1442
+ */
1443
+ organisation_name: "";
1444
+ /**
1445
+ * @description Not available for non-UK addresses. See `id` for address identifier
1169
1446
  * @enum {string}
1170
1447
  */
1171
1448
  udprn: "";
1172
1449
  /**
1173
- * @description Not available for non-UK addresses. See id for address identifier
1450
+ * @description Not available for non-UK addresses. See `id` for address identifier
1174
1451
  * @enum {string}
1175
1452
  */
1176
1453
  umprn: "";
@@ -1189,13 +1466,6 @@ export interface components {
1189
1466
  * @enum {string}
1190
1467
  */
1191
1468
  delivery_point_suffix: "";
1192
- line_1: components["schemas"]["Line1"];
1193
- line_2: components["schemas"]["Line2"];
1194
- line_3: components["schemas"]["Line3"];
1195
- premise: components["schemas"]["Premise"];
1196
- country: components["schemas"]["Country"];
1197
- /** @description Province, state or county */
1198
- county: string;
1199
1469
  /**
1200
1470
  * @description Not available for non-UK addresses
1201
1471
  * @enum {string}
@@ -1211,10 +1481,16 @@ export interface components {
1211
1481
  * @enum {string}
1212
1482
  */
1213
1483
  traditional_county: "";
1214
- district: components["schemas"]["District"];
1215
- ward: components["schemas"]["Ward"];
1216
- longitude: components["schemas"]["Longitude"];
1217
- latitude: components["schemas"]["Latitude"];
1484
+ /**
1485
+ * @description Not available for non-UK addresses
1486
+ * @enum {string}
1487
+ */
1488
+ district: "";
1489
+ /**
1490
+ * @description Not available for non-UK addresses
1491
+ * @enum {string}
1492
+ */
1493
+ ward: "";
1218
1494
  /**
1219
1495
  * @description Not available for non-UK addresses
1220
1496
  * @enum {string}
@@ -1226,13 +1502,10 @@ export interface components {
1226
1502
  */
1227
1503
  northings: "";
1228
1504
  /**
1229
- * @description Not available for non-UK addresses. See id for address identifier
1505
+ * @description Not available for non-UK addresses. See `id` for address identifier
1230
1506
  * @enum {string}
1231
1507
  */
1232
1508
  uprn: "";
1233
- id: components["schemas"]["ID"];
1234
- dataset: components["schemas"]["Dataset"];
1235
- country_iso: components["schemas"]["CountryISO"];
1236
1509
  };
1237
1510
  /** Address Resolution Response (GBR) */
1238
1511
  GbrResolveAddressResponse: {
@@ -1253,16 +1526,32 @@ export interface components {
1253
1526
  usps_dataset: "usps";
1254
1527
  /**
1255
1528
  * Country
1256
- * @description Full country name associated with address
1529
+ * @description Full country names (ISO 3166)
1530
+ *
1257
1531
  * @enum {string}
1258
1532
  */
1259
1533
  usps_country: "United States" | "Guam" | "Puerto Rico";
1260
1534
  /**
1261
- * USPS ISO Country Codes
1262
- * @description 3 letter ISO country code associated with USA
1535
+ * ISO Country Code (3)
1536
+ * @description 3 letter country code (ISO 3166-1)
1537
+ *
1263
1538
  * @enum {string}
1264
1539
  */
1265
1540
  usps_country_iso: "USA" | "PRI" | "GUM";
1541
+ /**
1542
+ * ISO Country Code (2)
1543
+ * @description 2 letter country code (ISO 3166-1)
1544
+ *
1545
+ * @enum {string}
1546
+ */
1547
+ usps_country_iso_2: "US" | "PR" | "GU";
1548
+ /**
1549
+ * Language
1550
+ * @description Language represented by 2 letter ISO Code (639-1)
1551
+ *
1552
+ * @enum {string}
1553
+ */
1554
+ usps_language: "en";
1266
1555
  /**
1267
1556
  * Primary Number
1268
1557
  * @description A house, rural route, contract box, or Post Office Box number. The numeric or alphanumeric component of an address preceding the street name. Often referred to as house number.
@@ -1294,9 +1583,9 @@ export interface components {
1294
1583
  */
1295
1584
  line_2: string;
1296
1585
  /**
1297
- * TITLE
1586
+ * Last Line
1298
1587
  * @description Last line of the address comprising of city, state, zip code and zip+4
1299
- * @example GREENWICH, CT, 06830-1234
1588
+ * @example Greenwich CT 06830-1234
1300
1589
  */
1301
1590
  last_line: string;
1302
1591
  /**
@@ -1431,7 +1720,7 @@ export interface components {
1431
1720
  /**
1432
1721
  * County Name
1433
1722
  * @description The name of the county or parish in which the 5-digit ZIP Code resides. If APO/FPO/DPO, then the county name will be blank.
1434
- * @example SUFFOLK
1723
+ * @example Suffolk
1435
1724
  */
1436
1725
  county: string;
1437
1726
  /**
@@ -1508,8 +1797,10 @@ export interface components {
1508
1797
  UspsAddress: {
1509
1798
  id: components["schemas"]["ID"];
1510
1799
  dataset: components["schemas"]["usps_dataset"];
1511
- country?: components["schemas"]["usps_country"];
1800
+ country: components["schemas"]["usps_country"];
1512
1801
  country_iso: components["schemas"]["usps_country_iso"];
1802
+ country_iso_2: components["schemas"]["usps_country_iso_2"];
1803
+ language: components["schemas"]["usps_language"];
1513
1804
  primary_number: components["schemas"]["primary_number"];
1514
1805
  secondary_number: components["schemas"]["secondary_number"];
1515
1806
  plus_4_code: components["schemas"]["plus_4_code"];
@@ -1555,8 +1846,10 @@ export interface components {
1555
1846
  id: components["schemas"]["ID"];
1556
1847
  /** @enum {undefined} */
1557
1848
  dataset: components["schemas"]["Dataset"];
1558
- country?: components["schemas"]["Country"];
1849
+ country: components["schemas"]["Country"];
1559
1850
  country_iso: components["schemas"]["CountryISO"];
1851
+ country_iso_2: components["schemas"]["CountryISO2"];
1852
+ language: components["schemas"]["Language"];
1560
1853
  /**
1561
1854
  * @description Not available for non-US addresses
1562
1855
  * @enum {string}
@@ -1903,30 +2196,6 @@ export interface components {
1903
2196
  */
1904
2197
  code: 2000;
1905
2198
  };
1906
- /** Bad Request Error Response */
1907
- BadRequestResponse: components["schemas"]["ErrorResponse"] & {
1908
- /**
1909
- * Format: int32
1910
- * @description `400X` type error response code
1911
- */
1912
- code: number;
1913
- /** @description Bad request error description */
1914
- message: string;
1915
- errors?: {
1916
- /**
1917
- * @description Indicates location of error in request query or URL parameter
1918
- * @example should have required property 'type'
1919
- */
1920
- message: string;
1921
- /**
1922
- * @description Indicates location of error in request query or URL parameter
1923
- * @example .query.type
1924
- */
1925
- path: string;
1926
- /** @example required.openapi.validation */
1927
- errorCode?: string;
1928
- }[];
1929
- };
1930
2199
  /** Unauthorized Request Error Response */
1931
2200
  UnauthorizedResponse: components["schemas"]["ErrorResponse"] & {
1932
2201
  /**
@@ -1995,6 +2264,421 @@ export interface components {
1995
2264
  */
1996
2265
  payload?: string;
1997
2266
  };
2267
+ EircBase: {
2268
+ id: components["schemas"]["ID"];
2269
+ /** @description Source of address */
2270
+ dataset: string;
2271
+ /**
2272
+ * @description 3 letter country code (ISO 3166-1)
2273
+ *
2274
+ * @enum {undefined}
2275
+ */
2276
+ country_iso: "IRL";
2277
+ /**
2278
+ * @description 2 letter country code (ISO 3166-1)
2279
+ *
2280
+ * @enum {string}
2281
+ */
2282
+ country_iso_2: "IE";
2283
+ /**
2284
+ * @description Full country names (ISO 3166)
2285
+ *
2286
+ * @enum {string}
2287
+ */
2288
+ country: "Ireland";
2289
+ /**
2290
+ * @description Language represented by 2 letter ISO Code (639-1)
2291
+ *
2292
+ * @enum {undefined}
2293
+ */
2294
+ language: "en" | "ga";
2295
+ /** @description Address Line 1 */
2296
+ line_1: string;
2297
+ /** @description Address Line 2 */
2298
+ line_2: string;
2299
+ /** @description Address Line 3 */
2300
+ line_3: string;
2301
+ /** @description Address Line 4 */
2302
+ line_4: string;
2303
+ /** @description Address Line 5 */
2304
+ line_5: string;
2305
+ /** @description Address Line 6 */
2306
+ line_6: string;
2307
+ /** @description Address Line 7 */
2308
+ line_7: string;
2309
+ /** @description Address Line 8 */
2310
+ line_8: string;
2311
+ /** @description Address Line 9 */
2312
+ line_9: string;
2313
+ /**
2314
+ * @description The department or division within an organisation. If the department element exists, then the organisation must also exist.
2315
+ * @example Accounts Department
2316
+ */
2317
+ department: string;
2318
+ /**
2319
+ * @description Organisation name
2320
+ * @example Oak Tree Limited
2321
+ */
2322
+ organisation: string;
2323
+ /**
2324
+ * @description The sub-building refers to an apartment, flat or unit within a building.
2325
+ * @example Flat 1
2326
+ */
2327
+ sub_building_name: string;
2328
+ /**
2329
+ * @description The name given to the building. Prepended by sub building, if any, when the sub building does not appear on a line to itself. The building name is omitted if it is the same as either the Organisation or Building Group.
2330
+ * @example Rose Cottage
2331
+ */
2332
+ building_name: string;
2333
+ /**
2334
+ * @description A number associated with the whole building. The building number may have a numeric and an alphanumeric component, which are concatenated e.g. 2A, or alternatively will have a simple building number or a complex building number. The building number always relates to the whole building and not a sub-unit within it.
2335
+ * A complex building number may be one of the following:
2336
+ * - Dual. Two number separated by '/' e.g. 63/64 = 63, 64
2337
+ * - Sequence. An odd or even sequence of numbers with lower and upper bound separated by an underscore '_' e.g. `1_5` = 1,3,5 and `2_6` = 2,4,6
2338
+ * - Range. A range of consecutive numbers with lower and upper bound separated by a dash '-' e.g. `63-66` = 63, 64, 56, 66
2339
+ * The building number never appears on a line by itself and can prepend Building Group, Primary Thoroughfare or Primary Locality.
2340
+ * @example 22
2341
+ */
2342
+ building_number: string;
2343
+ /**
2344
+ * @description A building group is a collection of buildings with a collective name, located on or near the same thoroughfare.
2345
+ * @example Marrian Terrace
2346
+ */
2347
+ building_group: string;
2348
+ /**
2349
+ * @description The name of the thoroughfare on which premises are located. It may appear on a line by itself or be appended to either a sub building or building number.
2350
+ *
2351
+ * Addresses with thoroughfares can sometimes have the thoroughfare excluded where a Building Group exists, such as a Retail Centre or Business Park, and the thoroughfare is not part of the Postal Address.
2352
+ * @example Griffith Road
2353
+ */
2354
+ primary_thoroughfare: string;
2355
+ /**
2356
+ * @description It is never present without a primary thoroughfare. The primary thoroughfare is dependent on the secondary thoroughfare and appears before the secondary thoroughfare in any address.
2357
+ *
2358
+ * Secondary thoroughfare are generally used to assist locating a primary thoroughfare.
2359
+ * @example Navan Road
2360
+ */
2361
+ secondary_thoroughfare: string;
2362
+ /**
2363
+ * @description First locality elements which can refer to areas, districts, industrial estates, towns, etc.
2364
+ *
2365
+ * The primary locality refers to the specific place the address is.
2366
+ *
2367
+ * In urban areas, the primary locality can be required to distinguish between two thoroughfares of the same name in the same district or town. Industrial estates with named thoroughfares are also held as localities. In rural areas the primary locality is generally a townland name.
2368
+ * @example Cookstown Industrial Estate
2369
+ */
2370
+ primary_locality: string;
2371
+ /**
2372
+ * @description Never present without a primary locality. The secondary locality has a wider geographic scope than the primary locality.
2373
+ *
2374
+ * It is the secondary locality therefore which differentiates addresses with the same primary locality name within the same county.
2375
+ *
2376
+ * Secondary localities are more likely to be required for rural addresses.
2377
+ *
2378
+ * Second locality elements which can refer to areas, districts, industrial estates, towns, etc
2379
+ *
2380
+ * The secondary locality helps identify where the primary locality is located.
2381
+ * @example Manorhamilton
2382
+ */
2383
+ secondary_locality: string;
2384
+ /**
2385
+ * @description Also known as the Post Town.
2386
+ *
2387
+ * The name of the post town associated with the premises for postal delivery purposes. This includes Dublin Postal Districts "Dublin 1" to "Dublin 24".
2388
+ *
2389
+ * The post town is a significant element of the Postal Address, however it is not always populated in an address. The official post office guide, Eolaí an Phoist4, describes post towns in the following manner:
2390
+ *
2391
+ * "A provincial postal address may include the name of a town or village several miles distant, with which the addressee has little or no connection, and, in some places, especially if this residence happens to be near a county boundary, the name of the neighbouring county instead of the county in which he actually resides. The explanation is that the main mail despatches have to be sent for more detailed sub division to certain centres known as POST TOWNS, chosen because of their accessibility and convenience."
2392
+ * @example Dublin 14
2393
+ */
2394
+ tertiary_locality: string;
2395
+ /**
2396
+ * @description One of the 26 Counties in the Republic of Ireland. These counties are sub-national divisions used for the purposes of administrative, geographical and political demarcation. Post County is the County associated with the Post Town, not the geographic county in which the building is located. The Post County is normally used as part of the Postal Address with some exceptions e.g. Dublin Postal Districts where the Post County is not used and some Post Towns (e.g. Tipperary, Kildare, etc.) that have the same name as the Post County.
2397
+ * @example Cork
2398
+ */
2399
+ post_county: string;
2400
+ /**
2401
+ * @description The seven character Eircode has an A65 F4E2 format. The Eircode is a mandatory address element. The last line of a Postal Address will contain the Eircode, displayed with a space. e.g. `A65 F4E2`.
2402
+ *
2403
+ * The Eircode is always the last line of a Postal Address generated within the state, e.g. if an address has four lines then the Eircode will be on its own on Address Line 5. For inbound international mail the country name IRELAND should be appended as the last line of the Postal Address.
2404
+ * @example A65 R2AF
2405
+ */
2406
+ eircode: string;
2407
+ /** @description The address reference is the An Post GeoDirectory address reference identifier used by the Universal Service Provider. */
2408
+ address_reference: string;
2409
+ longitude: components["schemas"]["Longitude"];
2410
+ latitude: components["schemas"]["Latitude"];
2411
+ };
2412
+ /**
2413
+ * Ireland ECAF Address
2414
+ * @description ECAF is the Eircode Address File which contains one record for each Postal Address. English language and Irish language versions are available. It is distributed as a flat file, details of data provision and updates are provided in section 2.
2415
+ */
2416
+ EcafAddress: components["schemas"]["EircBase"] & {
2417
+ /** @enum {string} */
2418
+ dataset?: "ecaf";
2419
+ /** @description The unique identifier in the ECAF is the `ecaf_id`. This unique identifier allows each address in the ECAF to be uniquely identified. It can also be used as index once the data has been imported into a relational database. This is a numeric field that can store values from 0 to 2,147,483,647. It is represented as a number up to 10 digits long. All other fields in ECAF are alphanumeric. */
2420
+ ecaf_id?: string;
2421
+ } & {
2422
+ ecaf_id: unknown;
2423
+ };
2424
+ /**
2425
+ * Ireland ECAD Address
2426
+ * @description The ECAD contains additional data for each ECAF address.
2427
+ */
2428
+ EcadAddress: components["schemas"]["EircBase"] & {
2429
+ /** @enum {string} */
2430
+ dataset?: "ecad";
2431
+ /**
2432
+ * @description Unique 10 digit ECAD ID
2433
+ * @example 17000000
2434
+ */
2435
+ ecad_id?: string;
2436
+ /**
2437
+ * @description Organisation ID
2438
+ * @example 10098783
2439
+ */
2440
+ organisation_id?: string;
2441
+ /**
2442
+ * @description Address Point ID
2443
+ * @example 10098783
2444
+ */
2445
+ address_point_id?: string;
2446
+ /**
2447
+ * @description Building ID
2448
+ * @example 10098783
2449
+ */
2450
+ building_id?: string;
2451
+ /**
2452
+ * @description Building Group ID
2453
+ * @example 10098783
2454
+ */
2455
+ building_group_id?: string;
2456
+ /**
2457
+ * @description Primary Thoroughfare ID
2458
+ * @example 10098783
2459
+ */
2460
+ primary_thoroughfare_id?: string;
2461
+ /**
2462
+ * @description Secondary Thoroughfare ID
2463
+ * @example 10098783
2464
+ */
2465
+ secondary_thoroughfare_id?: string;
2466
+ /**
2467
+ * @description Primary Locality ID
2468
+ * @example 10098783
2469
+ */
2470
+ primary_locality_id?: string;
2471
+ /**
2472
+ * @description Secondary Locality ID
2473
+ * @example 10098783
2474
+ */
2475
+ secondary_locality_id?: string;
2476
+ /**
2477
+ * @description The post town is a significant element of the Postal Address, however it is not always populated in an address. The official post office guide, Eolaí an Phoist1, describes post towns in the following manner:
2478
+ *
2479
+ * "A provincial postal address may include the name of a town or village several miles distant, with which the addressee has little or no connection, and, in some places, especially if this residence happens to be near a county boundary, the name of the neighbouring county instead of the county in which he actually resides. The explanation is that the main mail despatches have to be sent for more detailed sub division to certain centres known as post towns, chosen because of their accessibility and convenience."
2480
+ */
2481
+ post_town?: string;
2482
+ /**
2483
+ * @description Post Town ID
2484
+ * @example 10098783
2485
+ */
2486
+ post_town_id?: string;
2487
+ /**
2488
+ * @description Post County ID
2489
+ * @example 10098783
2490
+ */
2491
+ post_county_id?: string;
2492
+ /**
2493
+ * @description NUA means "non-unique address".
2494
+ *
2495
+ * The NUA field contains `true` when the address is a non-unique address, and `false` when it is a unique address.
2496
+ *
2497
+ * Ireland has a very high level of non-unique addresses (NUA), i.e. the address does not contain a unique building number or name. Approximately 35% of all Irish addresses are non-unique which equates to 600,000 addresses.
2498
+ *
2499
+ * The typical example of NUA addressing is where every address in a townland is the same. The way that post is delivered is by local knowledge of postal delivery personnel of which addressee lives in which house.
2500
+ *
2501
+ * N.B. For a NUA address, it is impossible to match to a unique record in the ECAD and assign an Eircode.
2502
+ */
2503
+ nua?: boolean;
2504
+ /**
2505
+ * @description Gaeltact refers to a district where the Irish government recognises that the Irish language is the predominant language.
2506
+ *
2507
+ * Returns `true` if address is in a Gaeltacht area and `false` if not.
2508
+ */
2509
+ gaeltacht?: boolean;
2510
+ /**
2511
+ * @description Addresses points can assume one of the following values:
2512
+ *
2513
+ * - Residential Address Point. This type of address point has one residential addresses associated with it.
2514
+ * - Non-Residential Address Point. This type of address point has one or more non-residential address (business, club or other organisation) associated with it.
2515
+ * - Mixed Address Point. This is a special case where the residential and non residential addresses in the building are essentially the same address. The typical example is a farm house on an active farm. It is important to note that this is a special case. In general a building with both residential and non-residential addresses (e.g. an apartment over a shop) will receive two address points, one commercial and one residential, and hence two Eircodes.
2516
+ *
2517
+ * Buildings can contain multiple address points of type Residential and/or Non-Residential.
2518
+ */
2519
+ address_type?: string;
2520
+ /**
2521
+ * @description The building type can assume one of the following values:
2522
+ *
2523
+ * - Single Occupancy Residential Building. This type of building contains one residential address.
2524
+ * - Multi Occupancy Residential Building. This type of building contains multiple residential addresses.
2525
+ * - Single Occupancy Non-Residential Building. This type of building contains one non-residential address (business, club or other organisation).
2526
+ * - Multi Occupancy Non-Residential Building. This type of building contains multiple non-residential addresses (business, club or other organisation).
2527
+ * - Multi Occupancy Mixed Use Building. This type of building contains multiple residential and non- residential addresses.
2528
+ *
2529
+ * Buildings can also have a more specific address types such as a Hospital, School, Shopping Centre, etc.
2530
+ */
2531
+ building_address_type?: string;
2532
+ /**
2533
+ * @description The building group type can be:
2534
+ *
2535
+ * - Residential Building Group. This type of building group contains buildings with residential addresses only.
2536
+ * - Non-Residential Building Group This type of building group contains buildings with non-residential addresses (business, club or other organisation) only.
2537
+ * - Mixed Building Group. This type of building group contains buildings with residential and non-residential addresses. Can also have a more specific address type such as a Hospital, School, Shopping Centre, etc.
2538
+ *
2539
+ * Building groups can also have a more specific address type such as a Hospital, School, Shopping Centre, etc.
2540
+ */
2541
+ building_group_address_type?: string;
2542
+ /**
2543
+ * @description The locality type can be:
2544
+ * - Rural Locality. This is generally a townland.
2545
+ * - Industrial Estate. Industrial Estate, Industrial Park, Business Campus, etc.
2546
+ * - Shopping District. Shopping Centre.
2547
+ * - Housing Estate. Residential Housing Estate.
2548
+ * - Village. Based on Census 2011 population < 1,500.
2549
+ * - Town. Based on Census 2011 population > 1,500.
2550
+ * - Urban Area. Wholly within a village/town/city e.g. Rathmines.
2551
+ * - Suburban Locality. This is an area that is both rural and urban, as it is both a townland, and also an area name applied to houses in a town, as the town has extended partially into the townland.
2552
+ *
2553
+ * Where the locality is also the post town, the type can be:
2554
+ * - Village. Based on Census 2011 population < 1,500
2555
+ * - Town. Based on Census 2011 population > 1,500
2556
+ * - Postal District. Dublin 1 to 24
2557
+ * - City. Dublin, Cork, Limerick, Galway or Waterford
2558
+ */
2559
+ primary_locality_address_type?: string;
2560
+ /**
2561
+ * @description The locality type can be:
2562
+ * - Rural Locality. This is generally a townland.
2563
+ * - Industrial Estate. Industrial Estate, Industrial Park, Business Campus, etc.
2564
+ * - Shopping District. Shopping Centre.
2565
+ * - Housing Estate. Residential Housing Estate.
2566
+ * - Village. Based on Census 2011 population < 1,500.
2567
+ * - Town. Based on Census 2011 population > 1,500.
2568
+ * - Urban Area. Wholly within a village/town/city e.g. Rathmines.
2569
+ * - Suburban Locality. This is an area that is both rural and urban, as it is both a townland, and also an area name applied to houses in a town, as the town has extended partially into the townland.
2570
+ *
2571
+ * Where the locality is also the post town, the type can be:
2572
+ * - Village. Based on Census 2011 population < 1,500
2573
+ * - Town. Based on Census 2011 population > 1,500
2574
+ * - Postal District. Dublin 1 to 24
2575
+ * - City. Dublin, Cork, Limerick, Galway or Waterford
2576
+ */
2577
+ secondary_locality_address_type?: string;
2578
+ /** @description Describes the type of building, e.g. detached, semi-detached, bungalow. */
2579
+ building_type?: string;
2580
+ /**
2581
+ * @description A Yes/No field, indicating whether or not the building is a holiday home.
2582
+ * @enum {undefined}
2583
+ */
2584
+ holiday_home?: "N" | "Y" | "";
2585
+ /**
2586
+ * @description A Yes/No field, indicating whether or not the building is under construction.
2587
+ * @enum {undefined}
2588
+ */
2589
+ under_construction?: "N" | "Y" | "";
2590
+ /**
2591
+ * @description Can be one of:
2592
+ *
2593
+ * - `R` Residential
2594
+ * - `C` Commercial
2595
+ * - `B` Both
2596
+ * - `U` Unknown
2597
+ * @enum {undefined}
2598
+ */
2599
+ building_use?: "R" | "C" | "B" | "U";
2600
+ /**
2601
+ * @description A Yes/No field, indicating whether the building is vacant.
2602
+ * @enum {undefined}
2603
+ */
2604
+ vacant?: "Y" | "N" | "";
2605
+ /**
2606
+ * @description A Yes/No field, indicating whether the organisation is vacant.
2607
+ * @enum {undefined}
2608
+ */
2609
+ org_vacant?: "Y" | "N" | "";
2610
+ /** @description The NACE Code for the Category. */
2611
+ nace_code?: string;
2612
+ /** @description Name of the NACE Category */
2613
+ nace_category?: string;
2614
+ /** @description Name of local authority */
2615
+ local_authority?: string;
2616
+ /**
2617
+ * @description Unique Identifier for Electoral Divisions 2017 data.
2618
+ *
2619
+ * Note that this field is subject to breaking changes if a new generation of government data IDs is released. Currently this uses 2017 IDs. Contact us to be notified ahead of his change.
2620
+ */
2621
+ ded_id?: string;
2622
+ /**
2623
+ * @description Unique Identifier for the Small Area 2017 data.
2624
+ *
2625
+ * Note that this field is subject to breaking changes if a new generation of government data IDs is released. Currently this uses 2017 IDs. Contact us to be notified ahead of his change.
2626
+ */
2627
+ small_area_id?: string;
2628
+ /**
2629
+ * @description Unique Identifier for townland 2017 data.
2630
+ *
2631
+ * Note that this field is subject to breaking changes if a new generation of government data IDs is released. Currently this uses 2017 IDs. Contact us to be notified ahead of his change.
2632
+ */
2633
+ townland_id?: string;
2634
+ /**
2635
+ * @description Unique Identifier for the 7 Gaeltacht areas 2017 data.
2636
+ *
2637
+ * Note that this field is subject to breaking changes if a new generation of government data IDs is released. Currently this uses 2017 IDs. Contact us to be notified ahead of his change.
2638
+ */
2639
+ gaeltacht_id?: string;
2640
+ /** @description An Post sorting information. */
2641
+ postaim_presort_61?: string;
2642
+ /** @description An Post sorting information. */
2643
+ postaim_presort_152?: string;
2644
+ /** @description An Post publicity post zone information. */
2645
+ publicity_post_zone?: string;
2646
+ } & {
2647
+ organisation_id: unknown;
2648
+ address_point_id: unknown;
2649
+ building_id: unknown;
2650
+ building_group_id: unknown;
2651
+ primary_thoroughfare_id: unknown;
2652
+ secondary_thoroughfare_id: unknown;
2653
+ primary_locality_id: unknown;
2654
+ secondary_locality_id: unknown;
2655
+ post_town: unknown;
2656
+ post_town_id: unknown;
2657
+ post_county_id: unknown;
2658
+ nua: unknown;
2659
+ gaeltacht: unknown;
2660
+ address_type: unknown;
2661
+ building_address_type: unknown;
2662
+ building_group_address_type: unknown;
2663
+ primary_locality_address_type: unknown;
2664
+ secondary_locality_address_type: unknown;
2665
+ building_type: unknown;
2666
+ holiday_home: unknown;
2667
+ under_construction: unknown;
2668
+ building_use: unknown;
2669
+ vacant: unknown;
2670
+ org_vacant: unknown;
2671
+ nace_code: unknown;
2672
+ nace_category: unknown;
2673
+ local_authority: unknown;
2674
+ ded_id: unknown;
2675
+ small_area_id: unknown;
2676
+ townland_id: unknown;
2677
+ gaeltacht_id: unknown;
2678
+ postaim_presort_61: unknown;
2679
+ postaim_presort_152: unknown;
2680
+ publicity_post_zone: unknown;
2681
+ };
1998
2682
  };
1999
2683
  }
2000
2684
  export interface operations {
@@ -2031,7 +2715,7 @@ export interface operations {
2031
2715
  parameters: {
2032
2716
  path: {
2033
2717
  /** Postcode to retrieve */
2034
- postcode: components["schemas"]["Postcode"];
2718
+ postcode: components["schemas"]["paf_postcode"];
2035
2719
  };
2036
2720
  query: {
2037
2721
  api_key?: components["schemas"]["ApiKeyParam"];
@@ -2046,6 +2730,12 @@ export interface operations {
2046
2730
  "application/json": components["schemas"]["PostcodeResponse"];
2047
2731
  };
2048
2732
  };
2733
+ /** Bad Request */
2734
+ 400: {
2735
+ content: {
2736
+ "application/json": components["schemas"]["BadRequestResponse"];
2737
+ };
2738
+ };
2049
2739
  /** Postcode Not Found */
2050
2740
  404: {
2051
2741
  content: {
@@ -2232,6 +2922,12 @@ export interface operations {
2232
2922
  "application/json": components["schemas"]["ApiKeyUsageResponse"];
2233
2923
  };
2234
2924
  };
2925
+ /** Bad Request */
2926
+ 400: {
2927
+ content: {
2928
+ "application/json": components["schemas"]["BadRequestResponse"];
2929
+ };
2930
+ };
2235
2931
  };
2236
2932
  };
2237
2933
  /**
@@ -2278,6 +2974,12 @@ export interface operations {
2278
2974
  "text/csv": string;
2279
2975
  };
2280
2976
  };
2977
+ /** Bad Request */
2978
+ 400: {
2979
+ content: {
2980
+ "application/json": components["schemas"]["BadRequestResponse"];
2981
+ };
2982
+ };
2281
2983
  };
2282
2984
  };
2283
2985
  /**
@@ -2393,6 +3095,12 @@ export interface operations {
2393
3095
  "application/json": components["schemas"]["AutocompleteResponse"];
2394
3096
  };
2395
3097
  };
3098
+ /** Bad Request */
3099
+ 400: {
3100
+ content: {
3101
+ "application/json": components["schemas"]["BadRequestResponse"];
3102
+ };
3103
+ };
2396
3104
  };
2397
3105
  };
2398
3106
  /**
@@ -2557,6 +3265,18 @@ export interface operations {
2557
3265
  "application/json": components["schemas"]["AddressResponse"];
2558
3266
  };
2559
3267
  };
3268
+ /** Bad Request */
3269
+ 400: {
3270
+ content: {
3271
+ "application/json": components["schemas"]["BadRequestResponse"];
3272
+ };
3273
+ };
3274
+ /** Postcode Not Found */
3275
+ 404: {
3276
+ content: {
3277
+ "application/json": components["schemas"]["PostcodeNotFoundResponse"];
3278
+ };
3279
+ };
2560
3280
  };
2561
3281
  };
2562
3282
  /** Returns a list of licensees for a key. */
@@ -2582,6 +3302,12 @@ export interface operations {
2582
3302
  "application/json": components["schemas"]["LicenseesResponse"];
2583
3303
  };
2584
3304
  };
3305
+ /** Bad Request */
3306
+ 400: {
3307
+ content: {
3308
+ "application/json": components["schemas"]["BadRequestResponse"];
3309
+ };
3310
+ };
2585
3311
  };
2586
3312
  };
2587
3313
  /** Create a licensee for the specified API Key. */
@@ -2601,6 +3327,12 @@ export interface operations {
2601
3327
  "application/json": components["schemas"]["LicenseeResponse"];
2602
3328
  };
2603
3329
  };
3330
+ /** Bad Request */
3331
+ 400: {
3332
+ content: {
3333
+ "application/json": components["schemas"]["BadRequestResponse"];
3334
+ };
3335
+ };
2604
3336
  };
2605
3337
  requestBody: {
2606
3338
  content: {
@@ -2626,6 +3358,12 @@ export interface operations {
2626
3358
  "application/json": components["schemas"]["LicenseeResponse"];
2627
3359
  };
2628
3360
  };
3361
+ /** Bad Request */
3362
+ 400: {
3363
+ content: {
3364
+ "application/json": components["schemas"]["BadRequestResponse"];
3365
+ };
3366
+ };
2629
3367
  };
2630
3368
  };
2631
3369
  /** Update Licensee */
@@ -2646,6 +3384,12 @@ export interface operations {
2646
3384
  "application/json": components["schemas"]["LicenseeResponse"];
2647
3385
  };
2648
3386
  };
3387
+ /** Bad Request */
3388
+ 400: {
3389
+ content: {
3390
+ "application/json": components["schemas"]["BadRequestResponse"];
3391
+ };
3392
+ };
2649
3393
  };
2650
3394
  requestBody: {
2651
3395
  content: {
@@ -2686,6 +3430,12 @@ export interface operations {
2686
3430
  };
2687
3431
  };
2688
3432
  };
3433
+ /** Bad Request */
3434
+ 400: {
3435
+ content: {
3436
+ "application/json": components["schemas"]["BadRequestResponse"];
3437
+ };
3438
+ };
2689
3439
  };
2690
3440
  };
2691
3441
  /** Lists configurations associated with a key */