@addresszen/openapi 3.2.0 → 3.3.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/CHANGELOG.md +7 -0
- package/dist/openapi.d.ts +178 -58
- package/dist/openapi.json +100 -55
- package/dist/openapi.yaml +148 -54
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [3.3.0](https://github.com/addresszen/openapi/compare/3.2.0...3.3.0) (2024-07-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **Release:** Bump spec to latest ([cff75ed](https://github.com/addresszen/openapi/commit/cff75eda89961bdab58aae348e936f8ce5da82bd))
|
|
7
|
+
|
|
1
8
|
# [3.2.0](https://github.com/addresszen/openapi/compare/3.1.0...3.2.0) (2024-05-14)
|
|
2
9
|
|
|
3
10
|
|
package/dist/openapi.d.ts
CHANGED
|
@@ -814,7 +814,7 @@ export interface components {
|
|
|
814
814
|
*
|
|
815
815
|
* @enum {string}
|
|
816
816
|
*/
|
|
817
|
-
Language: "en" | "ar" | "az" | "be" | "bg" | "bn" | "bs" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "es" | "et" | "eu" | "fi" | "fo" | "fr" | "ga" | "gl" | "gn" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "ka" | "kk" | "km" | "kn" | "lt" | "lv" | "mk" | "mn" | "ms" | "mt" | "my" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sq" | "sr" | "sv" | "ta" | "th" | "tr" | "uk" | "uz" | "vi" | "wa" | "zh";
|
|
817
|
+
Language: "en" | "ar" | "as" | "az" | "be" | "bg" | "bn" | "bs" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "es" | "et" | "eu" | "fi" | "fo" | "fr" | "ga" | "gl" | "gn" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "ka" | "kk" | "km" | "kn" | "lt" | "lv" | "mk" | "mn" | "ms" | "mt" | "my" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sl" | "sq" | "sr" | "sv" | "ta" | "th" | "tr" | "uk" | "uz" | "vi" | "wa" | "zh";
|
|
818
818
|
/**
|
|
819
819
|
* AddressBase Core
|
|
820
820
|
* @description Represents a GB address in Ordnance Survey's AddressBase Core dataset
|
|
@@ -3657,7 +3657,7 @@ export interface components {
|
|
|
3657
3657
|
*/
|
|
3658
3658
|
address3: string;
|
|
3659
3659
|
/**
|
|
3660
|
-
* @description Area code
|
|
3660
|
+
* @description Area code. Also known as Numbering Plan Area (NPA) https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes
|
|
3661
3661
|
*
|
|
3662
3662
|
* @example 575
|
|
3663
3663
|
*/
|
|
@@ -3669,7 +3669,7 @@ export interface components {
|
|
|
3669
3669
|
*/
|
|
3670
3670
|
carrier_route: string;
|
|
3671
3671
|
/**
|
|
3672
|
-
* @description Character following the 5 or 9 digit ZIP Code
|
|
3672
|
+
* @description Character following the 5 or 9 digit ZIP Code. Part of the 11-digit barcode
|
|
3673
3673
|
*
|
|
3674
3674
|
* @example 4
|
|
3675
3675
|
*/
|
|
@@ -3712,51 +3712,89 @@ export interface components {
|
|
|
3712
3712
|
*/
|
|
3713
3713
|
delivery_point: string;
|
|
3714
3714
|
/**
|
|
3715
|
-
* @description Delivery Point Validation (DPV) Confirmation code.
|
|
3715
|
+
* @description Delivery Point Validation (DPV) Confirmation code.
|
|
3716
|
+
*
|
|
3717
|
+
* Possible values:
|
|
3718
|
+
* - 'Y' Primary and secondary address information was validated
|
|
3719
|
+
* - 'S' Extraneous or incorrect secondary address present
|
|
3720
|
+
* - 'D' Secondary address information missing
|
|
3721
|
+
* - 'N' Primary and secondary address information was not validated
|
|
3722
|
+
* - '' Address was not submitted to DPV lookup. Address was not ZIP+4 matched.
|
|
3716
3723
|
*
|
|
3717
3724
|
* @enum {string}
|
|
3718
3725
|
*/
|
|
3719
|
-
dpv: "Y" | "S" | "D";
|
|
3726
|
+
dpv: "Y" | "S" | "D" | "N" | "";
|
|
3720
3727
|
/**
|
|
3721
|
-
* @description Delivery Point Validation (DPV) CMRA code.
|
|
3728
|
+
* @description Delivery Point Validation (DPV) CMRA code.
|
|
3729
|
+
*
|
|
3730
|
+
* Indicates if the address is linked to a Commercial Mail Receiving Agency (CMRA), such as the UPS Store or Mailboxes Etc., where USPS mail can be sent or received.
|
|
3731
|
+
*
|
|
3732
|
+
* Possible values:
|
|
3733
|
+
* - 'Y' Address is associated with a CMRA
|
|
3734
|
+
* - 'N' Address is not associated with a CMRA
|
|
3735
|
+
* - '' Empty string if address is not DPV validated.
|
|
3722
3736
|
*
|
|
3723
3737
|
* @enum {string}
|
|
3724
3738
|
*/
|
|
3725
|
-
dpv_cmra: "Y" | "N";
|
|
3739
|
+
dpv_cmra: "Y" | "N" | "";
|
|
3726
3740
|
/**
|
|
3727
3741
|
* @description Delivery Point Validation (DPV) Footnotes. Empty string if not present
|
|
3728
3742
|
*
|
|
3743
|
+
* Possible values:
|
|
3744
|
+
* - 'AA' ZIP+4 matched.
|
|
3745
|
+
* - 'A1' ZIP+4 did not match.
|
|
3746
|
+
* - 'BB' Primary and secondary address information was DPV validated.
|
|
3747
|
+
* - 'CC' Primary address information was DPV validated. Input secondary address information dropped.
|
|
3748
|
+
* - 'F1' Military address.
|
|
3749
|
+
* - 'G1' General delivery address.
|
|
3750
|
+
* - 'N1' Primary address information was DPV validated. Highrise address with missing secondary address information.
|
|
3751
|
+
* - 'M1' Primary number missing from address.
|
|
3752
|
+
* - 'M3' Primary number invalid.
|
|
3753
|
+
* - 'P1' Box number missing.
|
|
3754
|
+
* - 'P3' Box number invalid.
|
|
3755
|
+
* - 'RR' Validated CMRA address with PMB information.
|
|
3756
|
+
* - 'R1' Validated CMRA address without PMB information.
|
|
3757
|
+
* - 'U1' Unique 5-digit ZIP code.
|
|
3758
|
+
*
|
|
3729
3759
|
* @example AABB
|
|
3730
3760
|
*/
|
|
3731
3761
|
dpv_footnotes: string;
|
|
3732
3762
|
/**
|
|
3733
|
-
* @description
|
|
3763
|
+
* @description Delivery Point Validation (DPV) NoStat code.
|
|
3764
|
+
*
|
|
3765
|
+
* Indicates whether the address is a vacant property, it receives mail as a part of a drop, or it does not have an established delivery yet.
|
|
3734
3766
|
*
|
|
3735
|
-
* Possible values:
|
|
3767
|
+
* Possible values:
|
|
3768
|
+
* - 'Y' Confirmed
|
|
3769
|
+
* - 'N' Not confirmed
|
|
3770
|
+
* - '' Empty string if address is not DPV validated.
|
|
3736
3771
|
*
|
|
3737
3772
|
* @enum {string}
|
|
3738
3773
|
*/
|
|
3739
|
-
|
|
3774
|
+
dpv_no_stat: "Y" | "N" | "";
|
|
3740
3775
|
/**
|
|
3741
|
-
* @description Delivery Point Validation (DPV)
|
|
3776
|
+
* @description Delivery Point Validation (DPV) Vacant code.
|
|
3742
3777
|
*
|
|
3743
|
-
*
|
|
3744
|
-
*/
|
|
3745
|
-
dpv_no_stat: string;
|
|
3746
|
-
/**
|
|
3747
|
-
* @description Delivery Point Validation (DPV) Vacant code. Empty string if not present
|
|
3778
|
+
* USPS records indicate that although this may be a valid address, the residence or business is vacant.
|
|
3748
3779
|
*
|
|
3749
|
-
*
|
|
3780
|
+
* Possible values:
|
|
3781
|
+
* - 'Y' Confirmed vacant
|
|
3782
|
+
* - 'N' Not confirmed vacant
|
|
3783
|
+
* - '' Empty string if address is not DPV validated.
|
|
3784
|
+
*
|
|
3785
|
+
* @enum {string}
|
|
3750
3786
|
*/
|
|
3751
|
-
dpv_vacant:
|
|
3787
|
+
dpv_vacant: "Y" | "N" | "";
|
|
3752
3788
|
/**
|
|
3753
|
-
* @description Enhanced Line of Travel
|
|
3789
|
+
* @description Enhanced Line of Travel. For arranging records in the order that a route is served by a carrier. eLOT sequencing, when combined with Carrier Route codes, may allow Enhanced Carrier Route (ECR) discounts to be claimed.
|
|
3754
3790
|
*
|
|
3755
3791
|
* @example 0133A
|
|
3756
3792
|
*/
|
|
3757
3793
|
elot: string;
|
|
3758
3794
|
/**
|
|
3759
|
-
* @description Internal accounting number used by the USPS.
|
|
3795
|
+
* @description Internal accounting number used by the USPS® when Post Offices or ZIP Codes are discontinued and reassigned. The finance number reflects the geographic grouping of ZIP + 4 areas in which these changes can be made.
|
|
3796
|
+
*
|
|
3797
|
+
* Empty string if not present
|
|
3760
3798
|
*
|
|
3761
3799
|
* @example 340105
|
|
3762
3800
|
*/
|
|
@@ -3773,28 +3811,45 @@ export interface components {
|
|
|
3773
3811
|
* @example
|
|
3774
3812
|
*/
|
|
3775
3813
|
firm: string;
|
|
3776
|
-
/** @description Letter codes returned by ZIP
|
|
3814
|
+
/** @description Letter codes returned by ZIP+4 encoding. Empty string if not present */
|
|
3777
3815
|
footnotes: string;
|
|
3778
3816
|
/** @description Indicates whether the address was geo-coded */
|
|
3779
3817
|
geo_coded: boolean;
|
|
3780
3818
|
/**
|
|
3781
|
-
* @description Indicates whether a record may benefit from LACS processing.
|
|
3819
|
+
* @description Indicates whether a record may benefit from LACS processing.
|
|
3820
|
+
*
|
|
3821
|
+
* Possible values:
|
|
3822
|
+
* - 'L' Yes
|
|
3823
|
+
* - '' No
|
|
3782
3824
|
*
|
|
3783
3825
|
* @enum {string}
|
|
3784
3826
|
*/
|
|
3785
3827
|
lacs_indicator: "L" | "";
|
|
3786
3828
|
/**
|
|
3787
|
-
* @description LACSLink Footnote.
|
|
3829
|
+
* @description LACSLink Footnote. Return Code returned by the LACSLink process when an accurate address match could not be made. These codes help identify the type of move and the type of deficiency in the record which prevents a match.
|
|
3830
|
+
* Possible values:
|
|
3831
|
+
* - 'A' Address matched
|
|
3832
|
+
* - '00' No match
|
|
3833
|
+
* - '09' The input record matched to a record in the master file, but the old address is a highrise default
|
|
3834
|
+
* - '14' The input record matched to a record in the master file. The new address could not be converted to a deliverable address
|
|
3835
|
+
* - '92' LACSLink Record: Secondary Number Dropped from Input Address - The input record matched to a master file record, but the input address had a secondary number and the master file record did not. The record is a ZIP + 4 street level or high-rise match
|
|
3836
|
+
* - '' Address not submitted to LACSLink lookup
|
|
3788
3837
|
*
|
|
3789
|
-
* @
|
|
3838
|
+
* @enum {string}
|
|
3790
3839
|
*/
|
|
3791
|
-
lacs_link_footnote:
|
|
3840
|
+
lacs_link_footnote: "A" | "00" | "09" | "14" | "92" | "";
|
|
3792
3841
|
/**
|
|
3793
|
-
* @description LACSLink Indicator.
|
|
3842
|
+
* @description LACSLink Indicator. Indicates whether the input address matched a record in the LACSLink database.
|
|
3794
3843
|
*
|
|
3795
|
-
*
|
|
3844
|
+
* Possible values:
|
|
3845
|
+
* - 'Y' Matched a record in the master file
|
|
3846
|
+
* - 'S' The input record matched a master file record, but the input address included a secondary number that the master file record lacked
|
|
3847
|
+
* - 'N' No match
|
|
3848
|
+
* - '' Empty string if not prese
|
|
3849
|
+
*
|
|
3850
|
+
* @enum {string}
|
|
3796
3851
|
*/
|
|
3797
|
-
lacs_link_indicator:
|
|
3852
|
+
lacs_link_indicator: "Y" | "S" | "N" | "";
|
|
3798
3853
|
/**
|
|
3799
3854
|
* @description Latitude of the encoded address. Empty string if not present
|
|
3800
3855
|
*
|
|
@@ -3868,17 +3923,22 @@ export interface components {
|
|
|
3868
3923
|
*/
|
|
3869
3924
|
rdi: string;
|
|
3870
3925
|
/**
|
|
3871
|
-
* @description Type of address record
|
|
3926
|
+
* @description Type of address record.
|
|
3872
3927
|
*
|
|
3873
|
-
*
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
*
|
|
3928
|
+
* Possible values:
|
|
3929
|
+
* - 'C' Multi-Carrier
|
|
3930
|
+
* - 'F' Firm
|
|
3931
|
+
* - 'G' General Delivery
|
|
3932
|
+
* - 'H' High-rise or Apartment Building
|
|
3933
|
+
* - 'M' Military
|
|
3934
|
+
* - 'P' PO Box
|
|
3935
|
+
* - 'R' Route (Rural Route/Highway Contract)
|
|
3936
|
+
* - 'S' Street
|
|
3937
|
+
* - 'U' Unique 5-Digit
|
|
3878
3938
|
*
|
|
3879
|
-
* @
|
|
3939
|
+
* @enum {string}
|
|
3880
3940
|
*/
|
|
3881
|
-
|
|
3941
|
+
record_type: "C" | "F" | "G" | "H" | "M" | "P" | "R" | "S" | "U" | "";
|
|
3882
3942
|
/**
|
|
3883
3943
|
* @description Standard two-letter state abbreviation
|
|
3884
3944
|
*
|
|
@@ -4028,13 +4088,13 @@ export interface components {
|
|
|
4028
4088
|
};
|
|
4029
4089
|
/** Address Match */
|
|
4030
4090
|
UsaVerifyMatch: {
|
|
4031
|
-
/** @description
|
|
4091
|
+
/** @description Submitted query */
|
|
4032
4092
|
query: string;
|
|
4033
|
-
/** @description
|
|
4093
|
+
/** @description Submitted city */
|
|
4034
4094
|
query_city: string;
|
|
4035
|
-
/** @description
|
|
4095
|
+
/** @description Submitted state */
|
|
4036
4096
|
query_state: string;
|
|
4037
|
-
/** @description
|
|
4097
|
+
/** @description Submitted zip_code */
|
|
4038
4098
|
query_zip_code: string;
|
|
4039
4099
|
/** @description Nearest matching address */
|
|
4040
4100
|
match: components["schemas"]["UsaCassVerifiedAddress"] | components["schemas"]["PafAddress"] | components["schemas"]["MrAddress"] | components["schemas"]["NybAddress"] | components["schemas"]["PafAliasAddress"] | components["schemas"]["WelshPafAddress"];
|
|
@@ -4044,18 +4104,26 @@ export interface components {
|
|
|
4044
4104
|
fit: number;
|
|
4045
4105
|
/** @description A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements. */
|
|
4046
4106
|
confidence: number;
|
|
4107
|
+
/**
|
|
4108
|
+
* @description Additional information about the match.
|
|
4109
|
+
*
|
|
4110
|
+
* This information is for human consumption and may not be present in all responses.
|
|
4111
|
+
*
|
|
4112
|
+
* @example Single Response - The delivery address was found in the National Database and no further information was required.
|
|
4113
|
+
*/
|
|
4114
|
+
match_information: string;
|
|
4047
4115
|
/**
|
|
4048
4116
|
* @description Primary delivery address
|
|
4049
4117
|
*
|
|
4050
4118
|
* @example 123 Main St
|
|
4051
4119
|
*/
|
|
4052
|
-
|
|
4120
|
+
address_line_one: string;
|
|
4053
4121
|
/**
|
|
4054
4122
|
* @description Secondary address information
|
|
4055
4123
|
*
|
|
4056
4124
|
* @example
|
|
4057
4125
|
*/
|
|
4058
|
-
|
|
4126
|
+
address_line_two: string;
|
|
4059
4127
|
/**
|
|
4060
4128
|
* @description City name
|
|
4061
4129
|
*
|
|
@@ -4074,16 +4142,22 @@ export interface components {
|
|
|
4074
4142
|
* @example 81073-1119
|
|
4075
4143
|
*/
|
|
4076
4144
|
zip_code: string;
|
|
4145
|
+
/**
|
|
4146
|
+
* @description 2 letter ISO country code
|
|
4147
|
+
*
|
|
4148
|
+
* @example US
|
|
4149
|
+
*/
|
|
4150
|
+
country_iso_2: string;
|
|
4077
4151
|
};
|
|
4078
4152
|
/** No Address Match */
|
|
4079
4153
|
UsaVerifyNoMatch: {
|
|
4080
4154
|
/** @description Originally submitted query */
|
|
4081
4155
|
query: string;
|
|
4082
|
-
/** @description Originally submitted city
|
|
4156
|
+
/** @description Originally submitted city */
|
|
4083
4157
|
query_city: string;
|
|
4084
|
-
/** @description Originally submitted state
|
|
4158
|
+
/** @description Originally submitted state */
|
|
4085
4159
|
query_state: string;
|
|
4086
|
-
/** @description Originally submitted zip_code
|
|
4160
|
+
/** @description Originally submitted zip_code */
|
|
4087
4161
|
query_zip_code: string;
|
|
4088
4162
|
/**
|
|
4089
4163
|
* @description Nearest matching address
|
|
@@ -4107,13 +4181,13 @@ export interface components {
|
|
|
4107
4181
|
*
|
|
4108
4182
|
* @enum {string}
|
|
4109
4183
|
*/
|
|
4110
|
-
|
|
4184
|
+
address_line_one: "";
|
|
4111
4185
|
/**
|
|
4112
4186
|
* @description Empty if no match
|
|
4113
4187
|
*
|
|
4114
4188
|
* @enum {string}
|
|
4115
4189
|
*/
|
|
4116
|
-
|
|
4190
|
+
address_line_two: "";
|
|
4117
4191
|
/**
|
|
4118
4192
|
* @description Empty if no match
|
|
4119
4193
|
*
|
|
@@ -4132,6 +4206,12 @@ export interface components {
|
|
|
4132
4206
|
* @enum {string}
|
|
4133
4207
|
*/
|
|
4134
4208
|
zip_code: "";
|
|
4209
|
+
/**
|
|
4210
|
+
* @description Empty if no match
|
|
4211
|
+
*
|
|
4212
|
+
* @enum {string}
|
|
4213
|
+
*/
|
|
4214
|
+
country_iso_2: "";
|
|
4135
4215
|
};
|
|
4136
4216
|
/** Address Verify Response */
|
|
4137
4217
|
VerifyResponse: {
|
|
@@ -5346,15 +5426,19 @@ export interface components {
|
|
|
5346
5426
|
*/
|
|
5347
5427
|
UserTokenParam: string;
|
|
5348
5428
|
/**
|
|
5349
|
-
* @description
|
|
5429
|
+
* @description **Start Timestamp**
|
|
5430
|
+
*
|
|
5431
|
+
* A start date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556452651`
|
|
5350
5432
|
*
|
|
5351
5433
|
* @example 1418556452651
|
|
5352
5434
|
*/
|
|
5353
5435
|
StartParam: number;
|
|
5354
5436
|
/**
|
|
5355
|
-
* @description
|
|
5437
|
+
* @description **End Timestamp**
|
|
5438
|
+
*
|
|
5439
|
+
* An end date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556477882`
|
|
5356
5440
|
*
|
|
5357
|
-
* @example
|
|
5441
|
+
* @example 1418556492651
|
|
5358
5442
|
*/
|
|
5359
5443
|
EndParam: number;
|
|
5360
5444
|
/**
|
|
@@ -5964,10 +6048,28 @@ export interface operations {
|
|
|
5964
6048
|
key: components["parameters"]["ApiKeyPathParam"];
|
|
5965
6049
|
};
|
|
5966
6050
|
query: {
|
|
5967
|
-
/**
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
6051
|
+
/**
|
|
6052
|
+
* **Private User Token**
|
|
6053
|
+
*
|
|
6054
|
+
* A secret key used for sensitive operations on your account and API Keys.
|
|
6055
|
+
*
|
|
6056
|
+
* Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
|
|
6057
|
+
*
|
|
6058
|
+
* Typically beings `uk_...`
|
|
6059
|
+
*/
|
|
6060
|
+
user_token?: components["parameters"]["UserTokenParam"];
|
|
6061
|
+
/**
|
|
6062
|
+
* **Start Timestamp**
|
|
6063
|
+
*
|
|
6064
|
+
* A start date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556452651`
|
|
6065
|
+
*/
|
|
6066
|
+
start?: components["parameters"]["StartParam"];
|
|
6067
|
+
/**
|
|
6068
|
+
* **End Timestamp**
|
|
6069
|
+
*
|
|
6070
|
+
* An end date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556477882`
|
|
6071
|
+
*/
|
|
6072
|
+
end?: components["parameters"]["EndParam"];
|
|
5971
6073
|
/**
|
|
5972
6074
|
* ** Tags **
|
|
5973
6075
|
* A comma separated list of tags to query over.
|
|
@@ -6034,10 +6136,28 @@ export interface operations {
|
|
|
6034
6136
|
key: components["parameters"]["ApiKeyPathParam"];
|
|
6035
6137
|
};
|
|
6036
6138
|
query: {
|
|
6037
|
-
/**
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6139
|
+
/**
|
|
6140
|
+
* **Private User Token**
|
|
6141
|
+
*
|
|
6142
|
+
* A secret key used for sensitive operations on your account and API Keys.
|
|
6143
|
+
*
|
|
6144
|
+
* Your user token can be retrieved and managed from your [accounts page](https://addresszen.com/account).
|
|
6145
|
+
*
|
|
6146
|
+
* Typically beings `uk_...`
|
|
6147
|
+
*/
|
|
6148
|
+
user_token?: components["parameters"]["UserTokenParam"];
|
|
6149
|
+
/**
|
|
6150
|
+
* **Start Timestamp**
|
|
6151
|
+
*
|
|
6152
|
+
* A start date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556452651`
|
|
6153
|
+
*/
|
|
6154
|
+
start?: components["parameters"]["StartParam"];
|
|
6155
|
+
/**
|
|
6156
|
+
* **End Timestamp**
|
|
6157
|
+
*
|
|
6158
|
+
* An end date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556477882`
|
|
6159
|
+
*/
|
|
6160
|
+
end?: components["parameters"]["EndParam"];
|
|
6041
6161
|
/**
|
|
6042
6162
|
* **Licensee Key**
|
|
6043
6163
|
*
|
package/dist/openapi.json
CHANGED
|
@@ -622,6 +622,9 @@
|
|
|
622
622
|
{
|
|
623
623
|
"$ref": "#/components/parameters/ApiKeyPathParam"
|
|
624
624
|
},
|
|
625
|
+
{
|
|
626
|
+
"$ref": "#/components/parameters/UserTokenParam"
|
|
627
|
+
},
|
|
625
628
|
{
|
|
626
629
|
"$ref": "#/components/parameters/StartParam"
|
|
627
630
|
},
|
|
@@ -683,6 +686,9 @@
|
|
|
683
686
|
{
|
|
684
687
|
"$ref": "#/components/parameters/ApiKeyPathParam"
|
|
685
688
|
},
|
|
689
|
+
{
|
|
690
|
+
"$ref": "#/components/parameters/UserTokenParam"
|
|
691
|
+
},
|
|
686
692
|
{
|
|
687
693
|
"$ref": "#/components/parameters/StartParam"
|
|
688
694
|
},
|
|
@@ -3383,6 +3389,7 @@
|
|
|
3383
3389
|
"enum": [
|
|
3384
3390
|
"en",
|
|
3385
3391
|
"ar",
|
|
3392
|
+
"as",
|
|
3386
3393
|
"az",
|
|
3387
3394
|
"be",
|
|
3388
3395
|
"bg",
|
|
@@ -8837,7 +8844,6 @@
|
|
|
8837
8844
|
"dpv",
|
|
8838
8845
|
"dpv_cmra",
|
|
8839
8846
|
"dpv_footnotes",
|
|
8840
|
-
"dpv_fp",
|
|
8841
8847
|
"dpv_no_stat",
|
|
8842
8848
|
"dpv_vacant",
|
|
8843
8849
|
"elot",
|
|
@@ -8862,7 +8868,6 @@
|
|
|
8862
8868
|
"parsed_unit_number",
|
|
8863
8869
|
"rdi",
|
|
8864
8870
|
"record_type",
|
|
8865
|
-
"secondary_address_info",
|
|
8866
8871
|
"state",
|
|
8867
8872
|
"suite_link_footnote",
|
|
8868
8873
|
"time_zone",
|
|
@@ -8887,7 +8892,7 @@
|
|
|
8887
8892
|
},
|
|
8888
8893
|
"area_code": {
|
|
8889
8894
|
"type": "string",
|
|
8890
|
-
"description": "Area code\n",
|
|
8895
|
+
"description": "Area code. Also known as Numbering Plan Area (NPA) https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes\n",
|
|
8891
8896
|
"example": 575
|
|
8892
8897
|
},
|
|
8893
8898
|
"carrier_route": {
|
|
@@ -8897,7 +8902,7 @@
|
|
|
8897
8902
|
},
|
|
8898
8903
|
"check_digit": {
|
|
8899
8904
|
"type": "string",
|
|
8900
|
-
"description": "Character following the 5 or 9 digit ZIP Code\n",
|
|
8905
|
+
"description": "Character following the 5 or 9 digit ZIP Code. Part of the 11-digit barcode\n",
|
|
8901
8906
|
"example": "4"
|
|
8902
8907
|
},
|
|
8903
8908
|
"city": {
|
|
@@ -8935,48 +8940,50 @@
|
|
|
8935
8940
|
},
|
|
8936
8941
|
"dpv": {
|
|
8937
8942
|
"type": "string",
|
|
8938
|
-
"description": "Delivery Point Validation (DPV) Confirmation code
|
|
8943
|
+
"description": "Delivery Point Validation (DPV) Confirmation code.\n\nPossible values:\n - 'Y' Primary and secondary address information was validated\n - 'S' Extraneous or incorrect secondary address present\n - 'D' Secondary address information missing\n - 'N' Primary and secondary address information was not validated\n - '' Address was not submitted to DPV lookup. Address was not ZIP+4 matched.\n",
|
|
8939
8944
|
"enum": [
|
|
8940
8945
|
"Y",
|
|
8941
8946
|
"S",
|
|
8942
|
-
"D"
|
|
8947
|
+
"D",
|
|
8948
|
+
"N",
|
|
8949
|
+
""
|
|
8943
8950
|
]
|
|
8944
8951
|
},
|
|
8945
8952
|
"dpv_cmra": {
|
|
8946
8953
|
"type": "string",
|
|
8947
|
-
"description": "Delivery Point Validation (DPV) CMRA code
|
|
8954
|
+
"description": "Delivery Point Validation (DPV) CMRA code.\n\nIndicates if the address is linked to a Commercial Mail Receiving Agency (CMRA), such as the UPS Store or Mailboxes Etc., where USPS mail can be sent or received.\n\nPossible values:\n- 'Y' Address is associated with a CMRA\n- 'N' Address is not associated with a CMRA\n- '' Empty string if address is not DPV validated.\n",
|
|
8948
8955
|
"enum": [
|
|
8949
8956
|
"Y",
|
|
8950
|
-
"N"
|
|
8957
|
+
"N",
|
|
8958
|
+
""
|
|
8951
8959
|
]
|
|
8952
8960
|
},
|
|
8953
8961
|
"dpv_footnotes": {
|
|
8954
8962
|
"type": "string",
|
|
8955
|
-
"description": "Delivery Point Validation (DPV) Footnotes. Empty string if not present\n",
|
|
8963
|
+
"description": "Delivery Point Validation (DPV) Footnotes. Empty string if not present\n\nPossible values:\n- 'AA' ZIP+4 matched.\n- 'A1' ZIP+4 did not match.\n- 'BB' Primary and secondary address information was DPV validated.\n- 'CC' Primary address information was DPV validated. Input secondary address information dropped.\n- 'F1' Military address.\n- 'G1' General delivery address.\n- 'N1' Primary address information was DPV validated. Highrise address with missing secondary address information.\n- 'M1' Primary number missing from address.\n- 'M3' Primary number invalid.\n- 'P1' Box number missing.\n- 'P3' Box number invalid.\n- 'RR' Validated CMRA address with PMB information.\n- 'R1' Validated CMRA address without PMB information.\n- 'U1' Unique 5-digit ZIP code.\n",
|
|
8956
8964
|
"example": "AABB"
|
|
8957
8965
|
},
|
|
8958
|
-
"
|
|
8966
|
+
"dpv_no_stat": {
|
|
8959
8967
|
"type": "string",
|
|
8960
|
-
"description": "
|
|
8968
|
+
"description": "Delivery Point Validation (DPV) NoStat code.\n\nIndicates whether the address is a vacant property, it receives mail as a part of a drop, or it does not have an established delivery yet.\n\nPossible values:\n- 'Y'\tConfirmed\n- 'N'\tNot confirmed\n- '' Empty string if address is not DPV validated.\n",
|
|
8961
8969
|
"enum": [
|
|
8962
8970
|
"Y",
|
|
8963
8971
|
"N",
|
|
8964
8972
|
""
|
|
8965
8973
|
]
|
|
8966
8974
|
},
|
|
8967
|
-
"dpv_no_stat": {
|
|
8968
|
-
"type": "string",
|
|
8969
|
-
"description": "Delivery Point Validation (DPV) NoStat code. Empty string if not present\n",
|
|
8970
|
-
"example": "N"
|
|
8971
|
-
},
|
|
8972
8975
|
"dpv_vacant": {
|
|
8973
8976
|
"type": "string",
|
|
8974
|
-
"description": "Delivery Point Validation (DPV) Vacant code
|
|
8975
|
-
"
|
|
8977
|
+
"description": "Delivery Point Validation (DPV) Vacant code.\n\nUSPS records indicate that although this may be a valid address, the residence or business is vacant.\n\nPossible values:\n- 'Y' Confirmed vacant\n- 'N' Not confirmed vacant\n- '' Empty string if address is not DPV validated.\n",
|
|
8978
|
+
"enum": [
|
|
8979
|
+
"Y",
|
|
8980
|
+
"N",
|
|
8981
|
+
""
|
|
8982
|
+
]
|
|
8976
8983
|
},
|
|
8977
8984
|
"elot": {
|
|
8978
8985
|
"type": "string",
|
|
8979
|
-
"description": "Enhanced Line of Travel
|
|
8986
|
+
"description": "Enhanced Line of Travel. For arranging records in the order that a route is served by a carrier. eLOT sequencing, when combined with Carrier Route codes, may allow Enhanced Carrier Route (ECR) discounts to be claimed.\n",
|
|
8980
8987
|
"example": "0133A"
|
|
8981
8988
|
},
|
|
8982
8989
|
"finance_number": {
|
|
@@ -8988,7 +8995,7 @@
|
|
|
8988
8995
|
"type": "number"
|
|
8989
8996
|
}
|
|
8990
8997
|
],
|
|
8991
|
-
"description": "Internal accounting number used by the USPS.
|
|
8998
|
+
"description": "Internal accounting number used by the USPS® when Post Offices or ZIP Codes are discontinued and reassigned. The finance number reflects the geographic grouping of ZIP + 4 areas in which these changes can be made.\n\nEmpty string if not present\n",
|
|
8992
8999
|
"example": 340105
|
|
8993
9000
|
},
|
|
8994
9001
|
"fips_county_code": {
|
|
@@ -9003,7 +9010,7 @@
|
|
|
9003
9010
|
},
|
|
9004
9011
|
"footnotes": {
|
|
9005
9012
|
"type": "string",
|
|
9006
|
-
"description": "Letter codes returned by ZIP
|
|
9013
|
+
"description": "Letter codes returned by ZIP+4 encoding. Empty string if not present\n"
|
|
9007
9014
|
},
|
|
9008
9015
|
"geo_coded": {
|
|
9009
9016
|
"type": "boolean",
|
|
@@ -9011,7 +9018,7 @@
|
|
|
9011
9018
|
},
|
|
9012
9019
|
"lacs_indicator": {
|
|
9013
9020
|
"type": "string",
|
|
9014
|
-
"description": "Indicates whether a record may benefit from LACS processing
|
|
9021
|
+
"description": "Indicates whether a record may benefit from LACS processing.\n\nPossible values:\n- 'L' Yes\n- '' No\n",
|
|
9015
9022
|
"enum": [
|
|
9016
9023
|
"L",
|
|
9017
9024
|
""
|
|
@@ -9019,13 +9026,25 @@
|
|
|
9019
9026
|
},
|
|
9020
9027
|
"lacs_link_footnote": {
|
|
9021
9028
|
"type": "string",
|
|
9022
|
-
"description": "LACSLink Footnote.
|
|
9023
|
-
"
|
|
9029
|
+
"description": "LACSLink Footnote. Return Code returned by the LACSLink process when an accurate address match could not be made. These codes help identify the type of move and the type of deficiency in the record which prevents a match.\nPossible values:\n- 'A' Address matched\n- '00' No match\n- '09' The input record matched to a record in the master file, but the old address is a highrise default\n- '14' The input record matched to a record in the master file. The new address could not be converted to a deliverable address\n- '92' LACSLink Record: Secondary Number Dropped from Input Address - The input record matched to a master file record, but the input address had a secondary number and the master file record did not. The record is a ZIP + 4 street level or high-rise match\n- '' Address not submitted to LACSLink lookup\n",
|
|
9030
|
+
"enum": [
|
|
9031
|
+
"A",
|
|
9032
|
+
"00",
|
|
9033
|
+
"09",
|
|
9034
|
+
"14",
|
|
9035
|
+
"92",
|
|
9036
|
+
""
|
|
9037
|
+
]
|
|
9024
9038
|
},
|
|
9025
9039
|
"lacs_link_indicator": {
|
|
9026
9040
|
"type": "string",
|
|
9027
|
-
"description": "LACSLink Indicator. Empty string if not
|
|
9028
|
-
"
|
|
9041
|
+
"description": "LACSLink Indicator. Indicates whether the input address matched a record in the LACSLink database.\n\nPossible values:\n- 'Y' Matched a record in the master file\n- 'S' The input record matched a master file record, but the input address included a secondary number that the master file record lacked\n- 'N' No match\n- '' Empty string if not prese\n",
|
|
9042
|
+
"enum": [
|
|
9043
|
+
"Y",
|
|
9044
|
+
"S",
|
|
9045
|
+
"N",
|
|
9046
|
+
""
|
|
9047
|
+
]
|
|
9029
9048
|
},
|
|
9030
9049
|
"latitude": {
|
|
9031
9050
|
"oneOf": [
|
|
@@ -9124,13 +9143,19 @@
|
|
|
9124
9143
|
},
|
|
9125
9144
|
"record_type": {
|
|
9126
9145
|
"type": "string",
|
|
9127
|
-
"description": "Type of address record
|
|
9128
|
-
"
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9146
|
+
"description": "Type of address record.\n\nPossible values:\n- 'C'\tMulti-Carrier\n- 'F'\tFirm\n- 'G'\tGeneral Delivery\n- 'H'\tHigh-rise or Apartment Building\n- 'M'\tMilitary\n- 'P'\tPO Box\n- 'R'\tRoute (Rural Route/Highway Contract)\n- 'S'\tStreet\n- 'U'\tUnique 5-Digit\n",
|
|
9147
|
+
"enum": [
|
|
9148
|
+
"C",
|
|
9149
|
+
"F",
|
|
9150
|
+
"G",
|
|
9151
|
+
"H",
|
|
9152
|
+
"M",
|
|
9153
|
+
"P",
|
|
9154
|
+
"R",
|
|
9155
|
+
"S",
|
|
9156
|
+
"U",
|
|
9157
|
+
""
|
|
9158
|
+
]
|
|
9134
9159
|
},
|
|
9135
9160
|
"state": {
|
|
9136
9161
|
"type": "string",
|
|
@@ -9492,28 +9517,30 @@
|
|
|
9492
9517
|
"count",
|
|
9493
9518
|
"fit",
|
|
9494
9519
|
"confidence",
|
|
9495
|
-
"
|
|
9496
|
-
"
|
|
9520
|
+
"match_information",
|
|
9521
|
+
"address_line_one",
|
|
9522
|
+
"address_line_two",
|
|
9497
9523
|
"city",
|
|
9498
9524
|
"state",
|
|
9499
|
-
"zip_code"
|
|
9525
|
+
"zip_code",
|
|
9526
|
+
"country_iso_2"
|
|
9500
9527
|
],
|
|
9501
9528
|
"properties": {
|
|
9502
9529
|
"query": {
|
|
9503
9530
|
"type": "string",
|
|
9504
|
-
"description": "
|
|
9531
|
+
"description": "Submitted query"
|
|
9505
9532
|
},
|
|
9506
9533
|
"query_city": {
|
|
9507
9534
|
"type": "string",
|
|
9508
|
-
"description": "
|
|
9535
|
+
"description": "Submitted city"
|
|
9509
9536
|
},
|
|
9510
9537
|
"query_state": {
|
|
9511
9538
|
"type": "string",
|
|
9512
|
-
"description": "
|
|
9539
|
+
"description": "Submitted state"
|
|
9513
9540
|
},
|
|
9514
9541
|
"query_zip_code": {
|
|
9515
9542
|
"type": "string",
|
|
9516
|
-
"description": "
|
|
9543
|
+
"description": "Submitted zip_code"
|
|
9517
9544
|
},
|
|
9518
9545
|
"match": {
|
|
9519
9546
|
"description": "Nearest matching address",
|
|
@@ -9556,12 +9583,17 @@
|
|
|
9556
9583
|
"minimum": 0,
|
|
9557
9584
|
"description": "A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.\n"
|
|
9558
9585
|
},
|
|
9559
|
-
"
|
|
9586
|
+
"match_information": {
|
|
9587
|
+
"type": "string",
|
|
9588
|
+
"description": "Additional information about the match.\n\nThis information is for human consumption and may not be present in all responses.\n",
|
|
9589
|
+
"example": "Single Response - The delivery address was found in the National Database and no further information was required."
|
|
9590
|
+
},
|
|
9591
|
+
"address_line_one": {
|
|
9560
9592
|
"type": "string",
|
|
9561
9593
|
"description": "Primary delivery address\n",
|
|
9562
9594
|
"example": "123 Main St"
|
|
9563
9595
|
},
|
|
9564
|
-
"
|
|
9596
|
+
"address_line_two": {
|
|
9565
9597
|
"type": "string",
|
|
9566
9598
|
"description": "Secondary address information\n",
|
|
9567
9599
|
"example": ""
|
|
@@ -9580,6 +9612,11 @@
|
|
|
9580
9612
|
"type": "string",
|
|
9581
9613
|
"description": "Zip code\n",
|
|
9582
9614
|
"example": "81073-1119"
|
|
9615
|
+
},
|
|
9616
|
+
"country_iso_2": {
|
|
9617
|
+
"type": "string",
|
|
9618
|
+
"description": "2 letter ISO country code\n",
|
|
9619
|
+
"example": "US"
|
|
9583
9620
|
}
|
|
9584
9621
|
}
|
|
9585
9622
|
},
|
|
@@ -9595,11 +9632,12 @@
|
|
|
9595
9632
|
"count",
|
|
9596
9633
|
"fit",
|
|
9597
9634
|
"confidence",
|
|
9598
|
-
"
|
|
9599
|
-
"
|
|
9635
|
+
"address_line_one",
|
|
9636
|
+
"address_line_two",
|
|
9600
9637
|
"city",
|
|
9601
9638
|
"state",
|
|
9602
|
-
"zip_code"
|
|
9639
|
+
"zip_code",
|
|
9640
|
+
"country_iso_2"
|
|
9603
9641
|
],
|
|
9604
9642
|
"properties": {
|
|
9605
9643
|
"query": {
|
|
@@ -9608,15 +9646,15 @@
|
|
|
9608
9646
|
},
|
|
9609
9647
|
"query_city": {
|
|
9610
9648
|
"type": "string",
|
|
9611
|
-
"description": "Originally submitted city
|
|
9649
|
+
"description": "Originally submitted city"
|
|
9612
9650
|
},
|
|
9613
9651
|
"query_state": {
|
|
9614
9652
|
"type": "string",
|
|
9615
|
-
"description": "Originally submitted state
|
|
9653
|
+
"description": "Originally submitted state"
|
|
9616
9654
|
},
|
|
9617
9655
|
"query_zip_code": {
|
|
9618
9656
|
"type": "string",
|
|
9619
|
-
"description": "Originally submitted zip_code
|
|
9657
|
+
"description": "Originally submitted zip_code"
|
|
9620
9658
|
},
|
|
9621
9659
|
"match": {
|
|
9622
9660
|
"description": "Nearest matching address",
|
|
@@ -9649,14 +9687,14 @@
|
|
|
9649
9687
|
0
|
|
9650
9688
|
]
|
|
9651
9689
|
},
|
|
9652
|
-
"
|
|
9690
|
+
"address_line_one": {
|
|
9653
9691
|
"type": "string",
|
|
9654
9692
|
"description": "Empty if no match\n",
|
|
9655
9693
|
"enum": [
|
|
9656
9694
|
""
|
|
9657
9695
|
]
|
|
9658
9696
|
},
|
|
9659
|
-
"
|
|
9697
|
+
"address_line_two": {
|
|
9660
9698
|
"type": "string",
|
|
9661
9699
|
"description": "Empty if no match\n",
|
|
9662
9700
|
"enum": [
|
|
@@ -9683,6 +9721,13 @@
|
|
|
9683
9721
|
"enum": [
|
|
9684
9722
|
""
|
|
9685
9723
|
]
|
|
9724
|
+
},
|
|
9725
|
+
"country_iso_2": {
|
|
9726
|
+
"type": "string",
|
|
9727
|
+
"description": "Empty if no match\n",
|
|
9728
|
+
"enum": [
|
|
9729
|
+
""
|
|
9730
|
+
]
|
|
9686
9731
|
}
|
|
9687
9732
|
}
|
|
9688
9733
|
},
|
|
@@ -11776,7 +11821,7 @@
|
|
|
11776
11821
|
"example": "uk_B59ScW1p1HHouf1VqclEPZUx"
|
|
11777
11822
|
},
|
|
11778
11823
|
"StartParam": {
|
|
11779
|
-
"name": "
|
|
11824
|
+
"name": "start",
|
|
11780
11825
|
"style": "form",
|
|
11781
11826
|
"in": "query",
|
|
11782
11827
|
"schema": {
|
|
@@ -11784,11 +11829,11 @@
|
|
|
11784
11829
|
"format": "int64",
|
|
11785
11830
|
"minimum": 0
|
|
11786
11831
|
},
|
|
11787
|
-
"description": "
|
|
11832
|
+
"description": "**Start Timestamp**\n\nA start date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556452651`\n",
|
|
11788
11833
|
"example": 1418556452651
|
|
11789
11834
|
},
|
|
11790
11835
|
"EndParam": {
|
|
11791
|
-
"name": "
|
|
11836
|
+
"name": "end",
|
|
11792
11837
|
"style": "form",
|
|
11793
11838
|
"in": "query",
|
|
11794
11839
|
"schema": {
|
|
@@ -11796,8 +11841,8 @@
|
|
|
11796
11841
|
"format": "int64",
|
|
11797
11842
|
"minimum": 0
|
|
11798
11843
|
},
|
|
11799
|
-
"description": "
|
|
11800
|
-
"example":
|
|
11844
|
+
"description": "**End Timestamp**\n\nAn end date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556477882`\n",
|
|
11845
|
+
"example": 1418556492651
|
|
11801
11846
|
},
|
|
11802
11847
|
"LicenseeParam": {
|
|
11803
11848
|
"example": "sl_hk71kco54zGSGvF9eXXrvvnMOLLNh",
|
package/dist/openapi.yaml
CHANGED
|
@@ -681,6 +681,7 @@ paths:
|
|
|
681
681
|
Append `tags` to scope the number of lookups to those with matching tag values. E.g. `tags=foo,bar` will only count transactions that match `foo` and `bar`.
|
|
682
682
|
parameters:
|
|
683
683
|
- $ref: '#/components/parameters/ApiKeyPathParam'
|
|
684
|
+
- $ref: '#/components/parameters/UserTokenParam'
|
|
684
685
|
- $ref: '#/components/parameters/StartParam'
|
|
685
686
|
- $ref: '#/components/parameters/EndParam'
|
|
686
687
|
- $ref: '#/components/parameters/TagsParam'
|
|
@@ -738,6 +739,7 @@ paths:
|
|
|
738
739
|
You may prevent PII collection altogether by setting the interval to `0` days.
|
|
739
740
|
parameters:
|
|
740
741
|
- $ref: '#/components/parameters/ApiKeyPathParam'
|
|
742
|
+
- $ref: '#/components/parameters/UserTokenParam'
|
|
741
743
|
- $ref: '#/components/parameters/StartParam'
|
|
742
744
|
- $ref: '#/components/parameters/EndParam'
|
|
743
745
|
- $ref: '#/components/parameters/LicenseeParam'
|
|
@@ -2827,6 +2829,7 @@ components:
|
|
|
2827
2829
|
enum:
|
|
2828
2830
|
- en
|
|
2829
2831
|
- ar
|
|
2832
|
+
- as
|
|
2830
2833
|
- az
|
|
2831
2834
|
- be
|
|
2832
2835
|
- bg
|
|
@@ -7768,7 +7771,6 @@ components:
|
|
|
7768
7771
|
- dpv
|
|
7769
7772
|
- dpv_cmra
|
|
7770
7773
|
- dpv_footnotes
|
|
7771
|
-
- dpv_fp
|
|
7772
7774
|
- dpv_no_stat
|
|
7773
7775
|
- dpv_vacant
|
|
7774
7776
|
- elot
|
|
@@ -7793,7 +7795,6 @@ components:
|
|
|
7793
7795
|
- parsed_unit_number
|
|
7794
7796
|
- rdi
|
|
7795
7797
|
- record_type
|
|
7796
|
-
- secondary_address_info
|
|
7797
7798
|
- state
|
|
7798
7799
|
- suite_link_footnote
|
|
7799
7800
|
- time_zone
|
|
@@ -7818,7 +7819,7 @@ components:
|
|
|
7818
7819
|
area_code:
|
|
7819
7820
|
type: string
|
|
7820
7821
|
description: |
|
|
7821
|
-
Area code
|
|
7822
|
+
Area code. Also known as Numbering Plan Area (NPA) https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes
|
|
7822
7823
|
example: 575
|
|
7823
7824
|
carrier_route:
|
|
7824
7825
|
type: string
|
|
@@ -7828,7 +7829,7 @@ components:
|
|
|
7828
7829
|
check_digit:
|
|
7829
7830
|
type: string
|
|
7830
7831
|
description: |
|
|
7831
|
-
Character following the 5 or 9 digit ZIP Code
|
|
7832
|
+
Character following the 5 or 9 digit ZIP Code. Part of the 11-digit barcode
|
|
7832
7833
|
example: '4'
|
|
7833
7834
|
city:
|
|
7834
7835
|
type: string
|
|
@@ -7867,54 +7868,91 @@ components:
|
|
|
7867
7868
|
dpv:
|
|
7868
7869
|
type: string
|
|
7869
7870
|
description: |
|
|
7870
|
-
Delivery Point Validation (DPV) Confirmation code.
|
|
7871
|
+
Delivery Point Validation (DPV) Confirmation code.
|
|
7872
|
+
|
|
7873
|
+
Possible values:
|
|
7874
|
+
- 'Y' Primary and secondary address information was validated
|
|
7875
|
+
- 'S' Extraneous or incorrect secondary address present
|
|
7876
|
+
- 'D' Secondary address information missing
|
|
7877
|
+
- 'N' Primary and secondary address information was not validated
|
|
7878
|
+
- '' Address was not submitted to DPV lookup. Address was not ZIP+4 matched.
|
|
7871
7879
|
enum:
|
|
7872
7880
|
- 'Y'
|
|
7873
7881
|
- S
|
|
7874
7882
|
- D
|
|
7883
|
+
- 'N'
|
|
7884
|
+
- ''
|
|
7875
7885
|
dpv_cmra:
|
|
7876
7886
|
type: string
|
|
7877
7887
|
description: |
|
|
7878
|
-
Delivery Point Validation (DPV) CMRA code.
|
|
7888
|
+
Delivery Point Validation (DPV) CMRA code.
|
|
7889
|
+
|
|
7890
|
+
Indicates if the address is linked to a Commercial Mail Receiving Agency (CMRA), such as the UPS Store or Mailboxes Etc., where USPS mail can be sent or received.
|
|
7891
|
+
|
|
7892
|
+
Possible values:
|
|
7893
|
+
- 'Y' Address is associated with a CMRA
|
|
7894
|
+
- 'N' Address is not associated with a CMRA
|
|
7895
|
+
- '' Empty string if address is not DPV validated.
|
|
7879
7896
|
enum:
|
|
7880
7897
|
- 'Y'
|
|
7881
7898
|
- 'N'
|
|
7899
|
+
- ''
|
|
7882
7900
|
dpv_footnotes:
|
|
7883
7901
|
type: string
|
|
7884
7902
|
description: |
|
|
7885
7903
|
Delivery Point Validation (DPV) Footnotes. Empty string if not present
|
|
7904
|
+
|
|
7905
|
+
Possible values:
|
|
7906
|
+
- 'AA' ZIP+4 matched.
|
|
7907
|
+
- 'A1' ZIP+4 did not match.
|
|
7908
|
+
- 'BB' Primary and secondary address information was DPV validated.
|
|
7909
|
+
- 'CC' Primary address information was DPV validated. Input secondary address information dropped.
|
|
7910
|
+
- 'F1' Military address.
|
|
7911
|
+
- 'G1' General delivery address.
|
|
7912
|
+
- 'N1' Primary address information was DPV validated. Highrise address with missing secondary address information.
|
|
7913
|
+
- 'M1' Primary number missing from address.
|
|
7914
|
+
- 'M3' Primary number invalid.
|
|
7915
|
+
- 'P1' Box number missing.
|
|
7916
|
+
- 'P3' Box number invalid.
|
|
7917
|
+
- 'RR' Validated CMRA address with PMB information.
|
|
7918
|
+
- 'R1' Validated CMRA address without PMB information.
|
|
7919
|
+
- 'U1' Unique 5-digit ZIP code.
|
|
7886
7920
|
example: AABB
|
|
7887
|
-
|
|
7921
|
+
dpv_no_stat:
|
|
7888
7922
|
type: string
|
|
7889
|
-
description:
|
|
7890
|
-
False Positive Indicator from the Delivery Point Validation (DPV) lookup.
|
|
7891
|
-
|
|
7892
|
-
Possible values: 'Y' (Yes), 'N' (No), ' ' (Space). Empty string if not present
|
|
7923
|
+
description: "Delivery Point Validation (DPV) NoStat code.\n\nIndicates whether the address is a vacant property, it receives mail as a part of a drop, or it does not have an established delivery yet.\n\nPossible values:\n- 'Y'\tConfirmed\n- 'N'\tNot confirmed\n- '' Empty string if address is not DPV validated.\n"
|
|
7893
7924
|
enum:
|
|
7894
7925
|
- 'Y'
|
|
7895
7926
|
- 'N'
|
|
7896
7927
|
- ''
|
|
7897
|
-
dpv_no_stat:
|
|
7898
|
-
type: string
|
|
7899
|
-
description: |
|
|
7900
|
-
Delivery Point Validation (DPV) NoStat code. Empty string if not present
|
|
7901
|
-
example: 'N'
|
|
7902
7928
|
dpv_vacant:
|
|
7903
7929
|
type: string
|
|
7904
7930
|
description: |
|
|
7905
|
-
Delivery Point Validation (DPV) Vacant code.
|
|
7906
|
-
|
|
7931
|
+
Delivery Point Validation (DPV) Vacant code.
|
|
7932
|
+
|
|
7933
|
+
USPS records indicate that although this may be a valid address, the residence or business is vacant.
|
|
7934
|
+
|
|
7935
|
+
Possible values:
|
|
7936
|
+
- 'Y' Confirmed vacant
|
|
7937
|
+
- 'N' Not confirmed vacant
|
|
7938
|
+
- '' Empty string if address is not DPV validated.
|
|
7939
|
+
enum:
|
|
7940
|
+
- 'Y'
|
|
7941
|
+
- 'N'
|
|
7942
|
+
- ''
|
|
7907
7943
|
elot:
|
|
7908
7944
|
type: string
|
|
7909
7945
|
description: |
|
|
7910
|
-
Enhanced Line of Travel
|
|
7946
|
+
Enhanced Line of Travel. For arranging records in the order that a route is served by a carrier. eLOT sequencing, when combined with Carrier Route codes, may allow Enhanced Carrier Route (ECR) discounts to be claimed.
|
|
7911
7947
|
example: 0133A
|
|
7912
7948
|
finance_number:
|
|
7913
7949
|
oneOf:
|
|
7914
7950
|
- type: string
|
|
7915
7951
|
- type: number
|
|
7916
7952
|
description: |
|
|
7917
|
-
Internal accounting number used by the USPS.
|
|
7953
|
+
Internal accounting number used by the USPS® when Post Offices or ZIP Codes are discontinued and reassigned. The finance number reflects the geographic grouping of ZIP + 4 areas in which these changes can be made.
|
|
7954
|
+
|
|
7955
|
+
Empty string if not present
|
|
7918
7956
|
example: 340105
|
|
7919
7957
|
fips_county_code:
|
|
7920
7958
|
type: string
|
|
@@ -7929,7 +7967,7 @@ components:
|
|
|
7929
7967
|
footnotes:
|
|
7930
7968
|
type: string
|
|
7931
7969
|
description: |
|
|
7932
|
-
Letter codes returned by ZIP
|
|
7970
|
+
Letter codes returned by ZIP+4 encoding. Empty string if not present
|
|
7933
7971
|
geo_coded:
|
|
7934
7972
|
type: boolean
|
|
7935
7973
|
description: |
|
|
@@ -7937,20 +7975,47 @@ components:
|
|
|
7937
7975
|
lacs_indicator:
|
|
7938
7976
|
type: string
|
|
7939
7977
|
description: |
|
|
7940
|
-
Indicates whether a record may benefit from LACS processing.
|
|
7978
|
+
Indicates whether a record may benefit from LACS processing.
|
|
7979
|
+
|
|
7980
|
+
Possible values:
|
|
7981
|
+
- 'L' Yes
|
|
7982
|
+
- '' No
|
|
7941
7983
|
enum:
|
|
7942
7984
|
- L
|
|
7943
7985
|
- ''
|
|
7944
7986
|
lacs_link_footnote:
|
|
7945
7987
|
type: string
|
|
7946
7988
|
description: |
|
|
7947
|
-
LACSLink Footnote.
|
|
7948
|
-
|
|
7989
|
+
LACSLink Footnote. Return Code returned by the LACSLink process when an accurate address match could not be made. These codes help identify the type of move and the type of deficiency in the record which prevents a match.
|
|
7990
|
+
Possible values:
|
|
7991
|
+
- 'A' Address matched
|
|
7992
|
+
- '00' No match
|
|
7993
|
+
- '09' The input record matched to a record in the master file, but the old address is a highrise default
|
|
7994
|
+
- '14' The input record matched to a record in the master file. The new address could not be converted to a deliverable address
|
|
7995
|
+
- '92' LACSLink Record: Secondary Number Dropped from Input Address - The input record matched to a master file record, but the input address had a secondary number and the master file record did not. The record is a ZIP + 4 street level or high-rise match
|
|
7996
|
+
- '' Address not submitted to LACSLink lookup
|
|
7997
|
+
enum:
|
|
7998
|
+
- A
|
|
7999
|
+
- '00'
|
|
8000
|
+
- '09'
|
|
8001
|
+
- '14'
|
|
8002
|
+
- '92'
|
|
8003
|
+
- ''
|
|
7949
8004
|
lacs_link_indicator:
|
|
7950
8005
|
type: string
|
|
7951
8006
|
description: |
|
|
7952
|
-
LACSLink Indicator.
|
|
7953
|
-
|
|
8007
|
+
LACSLink Indicator. Indicates whether the input address matched a record in the LACSLink database.
|
|
8008
|
+
|
|
8009
|
+
Possible values:
|
|
8010
|
+
- 'Y' Matched a record in the master file
|
|
8011
|
+
- 'S' The input record matched a master file record, but the input address included a secondary number that the master file record lacked
|
|
8012
|
+
- 'N' No match
|
|
8013
|
+
- '' Empty string if not prese
|
|
8014
|
+
enum:
|
|
8015
|
+
- 'Y'
|
|
8016
|
+
- S
|
|
8017
|
+
- 'N'
|
|
8018
|
+
- ''
|
|
7954
8019
|
latitude:
|
|
7955
8020
|
oneOf:
|
|
7956
8021
|
- type: string
|
|
@@ -8023,14 +8088,18 @@ components:
|
|
|
8023
8088
|
example: 'Y'
|
|
8024
8089
|
record_type:
|
|
8025
8090
|
type: string
|
|
8026
|
-
description:
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8091
|
+
description: "Type of address record.\n\nPossible values:\n- 'C'\tMulti-Carrier\n- 'F'\tFirm\n- 'G'\tGeneral Delivery\n- 'H'\tHigh-rise or Apartment Building\n- 'M'\tMilitary\n- 'P'\tPO Box\n- 'R'\tRoute (Rural Route/Highway Contract)\n- 'S'\tStreet\n- 'U'\tUnique 5-Digit\n"
|
|
8092
|
+
enum:
|
|
8093
|
+
- C
|
|
8094
|
+
- F
|
|
8095
|
+
- G
|
|
8096
|
+
- H
|
|
8097
|
+
- M
|
|
8098
|
+
- P
|
|
8099
|
+
- R
|
|
8100
|
+
- S
|
|
8101
|
+
- U
|
|
8102
|
+
- ''
|
|
8034
8103
|
state:
|
|
8035
8104
|
type: string
|
|
8036
8105
|
description: |
|
|
@@ -8303,24 +8372,26 @@ components:
|
|
|
8303
8372
|
- count
|
|
8304
8373
|
- fit
|
|
8305
8374
|
- confidence
|
|
8306
|
-
-
|
|
8307
|
-
-
|
|
8375
|
+
- match_information
|
|
8376
|
+
- address_line_one
|
|
8377
|
+
- address_line_two
|
|
8308
8378
|
- city
|
|
8309
8379
|
- state
|
|
8310
8380
|
- zip_code
|
|
8381
|
+
- country_iso_2
|
|
8311
8382
|
properties:
|
|
8312
8383
|
query:
|
|
8313
8384
|
type: string
|
|
8314
|
-
description:
|
|
8385
|
+
description: Submitted query
|
|
8315
8386
|
query_city:
|
|
8316
8387
|
type: string
|
|
8317
|
-
description:
|
|
8388
|
+
description: Submitted city
|
|
8318
8389
|
query_state:
|
|
8319
8390
|
type: string
|
|
8320
|
-
description:
|
|
8391
|
+
description: Submitted state
|
|
8321
8392
|
query_zip_code:
|
|
8322
8393
|
type: string
|
|
8323
|
-
description:
|
|
8394
|
+
description: Submitted zip_code
|
|
8324
8395
|
match:
|
|
8325
8396
|
description: Nearest matching address
|
|
8326
8397
|
oneOf:
|
|
@@ -8348,12 +8419,19 @@ components:
|
|
|
8348
8419
|
minimum: 0
|
|
8349
8420
|
description: |
|
|
8350
8421
|
A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
|
|
8351
|
-
|
|
8422
|
+
match_information:
|
|
8423
|
+
type: string
|
|
8424
|
+
description: |
|
|
8425
|
+
Additional information about the match.
|
|
8426
|
+
|
|
8427
|
+
This information is for human consumption and may not be present in all responses.
|
|
8428
|
+
example: Single Response - The delivery address was found in the National Database and no further information was required.
|
|
8429
|
+
address_line_one:
|
|
8352
8430
|
type: string
|
|
8353
8431
|
description: |
|
|
8354
8432
|
Primary delivery address
|
|
8355
8433
|
example: 123 Main St
|
|
8356
|
-
|
|
8434
|
+
address_line_two:
|
|
8357
8435
|
type: string
|
|
8358
8436
|
description: |
|
|
8359
8437
|
Secondary address information
|
|
@@ -8373,6 +8451,11 @@ components:
|
|
|
8373
8451
|
description: |
|
|
8374
8452
|
Zip code
|
|
8375
8453
|
example: 81073-1119
|
|
8454
|
+
country_iso_2:
|
|
8455
|
+
type: string
|
|
8456
|
+
description: |
|
|
8457
|
+
2 letter ISO country code
|
|
8458
|
+
example: US
|
|
8376
8459
|
UsaVerifyNoMatch:
|
|
8377
8460
|
type: object
|
|
8378
8461
|
title: No Address Match
|
|
@@ -8385,24 +8468,25 @@ components:
|
|
|
8385
8468
|
- count
|
|
8386
8469
|
- fit
|
|
8387
8470
|
- confidence
|
|
8388
|
-
-
|
|
8389
|
-
-
|
|
8471
|
+
- address_line_one
|
|
8472
|
+
- address_line_two
|
|
8390
8473
|
- city
|
|
8391
8474
|
- state
|
|
8392
8475
|
- zip_code
|
|
8476
|
+
- country_iso_2
|
|
8393
8477
|
properties:
|
|
8394
8478
|
query:
|
|
8395
8479
|
type: string
|
|
8396
8480
|
description: Originally submitted query
|
|
8397
8481
|
query_city:
|
|
8398
8482
|
type: string
|
|
8399
|
-
description: Originally submitted city
|
|
8483
|
+
description: Originally submitted city
|
|
8400
8484
|
query_state:
|
|
8401
8485
|
type: string
|
|
8402
|
-
description: Originally submitted state
|
|
8486
|
+
description: Originally submitted state
|
|
8403
8487
|
query_zip_code:
|
|
8404
8488
|
type: string
|
|
8405
|
-
description: Originally submitted zip_code
|
|
8489
|
+
description: Originally submitted zip_code
|
|
8406
8490
|
match:
|
|
8407
8491
|
description: Nearest matching address
|
|
8408
8492
|
type: object
|
|
@@ -8426,13 +8510,13 @@ components:
|
|
|
8426
8510
|
description: ''
|
|
8427
8511
|
enum:
|
|
8428
8512
|
- 0
|
|
8429
|
-
|
|
8513
|
+
address_line_one:
|
|
8430
8514
|
type: string
|
|
8431
8515
|
description: |
|
|
8432
8516
|
Empty if no match
|
|
8433
8517
|
enum:
|
|
8434
8518
|
- ''
|
|
8435
|
-
|
|
8519
|
+
address_line_two:
|
|
8436
8520
|
type: string
|
|
8437
8521
|
description: |
|
|
8438
8522
|
Empty if no match
|
|
@@ -8456,6 +8540,12 @@ components:
|
|
|
8456
8540
|
Empty if no match
|
|
8457
8541
|
enum:
|
|
8458
8542
|
- ''
|
|
8543
|
+
country_iso_2:
|
|
8544
|
+
type: string
|
|
8545
|
+
description: |
|
|
8546
|
+
Empty if no match
|
|
8547
|
+
enum:
|
|
8548
|
+
- ''
|
|
8459
8549
|
VerifyResponse:
|
|
8460
8550
|
title: Address Verify Response
|
|
8461
8551
|
type: object
|
|
@@ -10076,7 +10166,7 @@ components:
|
|
|
10076
10166
|
Typically beings `uk_...`
|
|
10077
10167
|
example: uk_B59ScW1p1HHouf1VqclEPZUx
|
|
10078
10168
|
StartParam:
|
|
10079
|
-
name:
|
|
10169
|
+
name: start
|
|
10080
10170
|
style: form
|
|
10081
10171
|
in: query
|
|
10082
10172
|
schema:
|
|
@@ -10084,10 +10174,12 @@ components:
|
|
|
10084
10174
|
format: int64
|
|
10085
10175
|
minimum: 0
|
|
10086
10176
|
description: |
|
|
10087
|
-
|
|
10177
|
+
**Start Timestamp**
|
|
10178
|
+
|
|
10179
|
+
A start date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556452651`
|
|
10088
10180
|
example: 1418556452651
|
|
10089
10181
|
EndParam:
|
|
10090
|
-
name:
|
|
10182
|
+
name: end
|
|
10091
10183
|
style: form
|
|
10092
10184
|
in: query
|
|
10093
10185
|
schema:
|
|
@@ -10095,8 +10187,10 @@ components:
|
|
|
10095
10187
|
format: int64
|
|
10096
10188
|
minimum: 0
|
|
10097
10189
|
description: |
|
|
10098
|
-
|
|
10099
|
-
|
|
10190
|
+
**End Timestamp**
|
|
10191
|
+
|
|
10192
|
+
An end date/time in the form of a UNIX Timestamp in milliseconds. E.g. `1418556477882`
|
|
10193
|
+
example: 1418556492651
|
|
10100
10194
|
LicenseeParam:
|
|
10101
10195
|
example: sl_hk71kco54zGSGvF9eXXrvvnMOLLNh
|
|
10102
10196
|
description: |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@addresszen/openapi",
|
|
3
3
|
"description": "AddressZen OpenAPI v3 specifications",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.3.0",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@cablanchard/semantic-release": "~1.3.4",
|
|
7
7
|
"@cablanchard/tsconfig": "~2.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"Address Lookup"
|
|
57
57
|
],
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@ideal-postcodes/openapi": "~4.
|
|
59
|
+
"@ideal-postcodes/openapi": "~4.8.0",
|
|
60
60
|
"replace-in-file": "~6.3.2",
|
|
61
61
|
"ts-node": "~10.7.0"
|
|
62
62
|
}
|