Skip to content

Commit

Permalink
adding cycle o fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkaspa committed Nov 2, 2023
1 parent 29cda2b commit a328e13
Show file tree
Hide file tree
Showing 6 changed files with 214 additions and 19 deletions.
16 changes: 14 additions & 2 deletions docs/DeliverabilityAnalysis.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lob::DeliverabilityAnalysis
# OpenapiClient::DeliverabilityAnalysis

## Properties

Expand All @@ -8,6 +8,12 @@
| **dpv_cmra** | **String** | indicates whether or not the address is [CMRA-authorized](https://en.wikipedia.org/wiki/Commercial_mail_receiving_agency). Possible values are: * `Y` –– Address is CMRA-authorized. * `N` –– Address is not CMRA-authorized. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_vacant** | **String** | indicates that an address was once deliverable, but has become vacant and is no longer receiving deliveries. Possible values are: * `Y` –– Address is vacant. * `N` –– Address is not vacant. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_active** | **String** | Corresponds to the USPS field `dpv_no_stat`. Indicates that an address has been vacated in the recent past, and is no longer receiving deliveries. If it's been unoccupied for 90+ days, or temporarily vacant, this will be flagged. Possible values are: * `Y` –– Address is active. * `N` –– Address is not active. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_inactive_reason** | **String** | Indicates the reason why an address is vacant or no longer receiving deliveries. Possible values are: * `01` –– Address does not receive mail from the USPS directly, but is serviced by a drop address. * `02` –– Address not yet deliverable. * `03` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). * `04` –– Address is a College, Military Zone, or other type. * `05` –– Address no longer receives deliveries. * `06` –– Address is missing required secondary information. * `''` –– A DPV match is not made or the address is active. | |
| **dpv_throwback** | **String** | Indicates a street address for which mail is delivered to a PO Box. Possible values are: * `Y` –– Address is a PO Box throwback delivery point. * `N` –– Address is not a PO Box throwback delivery point. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_non_delivery_day_flag** | **String** | Indicates whether deliveries are not performed on one or more days of the week at an address. Possible values are: * `Y` –– Mail delivery does not occur on some days of the week. * `N` –– Mail delivery occurs every day of the week. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_non_delivery_day_values** | **String** | Indicates days of the week (starting on Sunday) deliveries are not performed at an address. For example: * `YNNNNNN` –– Mail delivery does not occur on Sunday's. * `NYNNNYN` –– Mail delivery does not occur on Monday's or Friday's. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string) or address receives mail every day of the week (`deliverability_analysis[dpv_non_delivery_day_flag]` is `N` or an empty string). | |
| **dpv_no_secure_location** | **String** | Indicates packages to this address will not be left due to security concerns. Possible values are: * `Y` –– Address does not have a secure mailbox. * `N` –– Address has a secure mailbox. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_door_not_accessible** | **String** | Indicates the door of the address is not accessible for mail delivery. Possible values are: * `Y` –– Door is not accessible. * `N` –– Door is accessible. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
| **dpv_footnotes** | [**Array<DpvFootnote>**](DpvFootnote.md) | An array of 2-character strings that gives more insight into how `deliverability_analysis[dpv_confirmation]` was determined. Will always include at least 1 string, and can include up to 3. For details, see [US Verification Details](#tag/US-Verification-Types). | |
| **ews_match** | **Boolean** | indicates whether or not an address has been flagged in the [Early Warning System](https://docs.informatica.com/data-engineering/data-engineering-quality/10-4-0/address-validator-port-reference/postal-carrier-certification-data-ports/early-warning-system-return-code.html), meaning the address is under development and not yet ready to receive mail. However, it should become available in a few months. | |
| **lacs_indicator** | **String** | indicates whether this address has been converted by [LACS<sup>Link</sup>](https://postalpro.usps.com/address-quality/lacslink). LACS<sup>Link</sup> corrects outdated addresses into their modern counterparts. Possible values are: * `Y` –– New address produced with a matching record in LACS<sup>Link</sup>. * `N` –– New address could not be produced with a matching record in LACS<sup>Link</sup>. * `''` –– A DPV match is not made (`deliverability_analysis[dpv_confirmation]` is `N` or an empty string). | |
Expand All @@ -19,11 +25,17 @@
```ruby
require 'openapi_client'

instance = Lob::DeliverabilityAnalysis.new(
instance = OpenapiClient::DeliverabilityAnalysis.new(
dpv_confirmation: null,
dpv_cmra: null,
dpv_vacant: null,
dpv_active: null,
dpv_inactive_reason: null,
dpv_throwback: null,
dpv_non_delivery_day_flag: null,
dpv_non_delivery_day_values: null,
dpv_no_secure_location: null,
dpv_door_not_accessible: null,
dpv_footnotes: null,
ews_match: null,
lacs_indicator: null,
Expand Down
4 changes: 2 additions & 2 deletions docs/DpvFootnote.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lob::DpvFootnote
# OpenapiClient::DpvFootnote

## Properties

Expand All @@ -10,6 +10,6 @@
```ruby
require 'openapi_client'

instance = Lob::DpvFootnote.new()
instance = OpenapiClient::DpvFootnote.new()
```

6 changes: 4 additions & 2 deletions docs/UsComponents.md
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lob::UsComponents
# OpenapiClient::UsComponents

## Properties

Expand Down Expand Up @@ -28,6 +28,7 @@
| **county_fips** | **String** | A 5-digit [FIPS county code](https://en.wikipedia.org/wiki/FIPS_county_code) which uniquely identifies `components[county]`. It consists of a 2-digit state code and a 3-digit county code. | |
| **carrier_route** | **String** | A 4-character code assigned to a mail delivery route within a ZIP code. | |
| **carrier_route_type** | **String** | The type of `components[carrier_route]`. For more detailed information about each carrier route type, see [US Verification Details](#tag/US-Verification-Types). | |
| **po_box_only_flag** | **String** | Indicates the mailing facility for an address only supports PO Box deliveries and other forms of mail delivery are not available. | |
| **latitude** | **Float** | A positive or negative decimal indicating the geographic latitude of the address, specifying the north-to-south position of a location. This should be used with `longitude` to pinpoint locations on a map. Will not be returned for undeliverable addresses or military addresses (state is `AA`, `AE`, or `AP`). | [optional] |
| **longitude** | **Float** | A positive or negative decimal indicating the geographic longitude of the address, specifying the north-to-south position of a location. This should be used with `latitude` to pinpoint locations on a map. Will not be returned for undeliverable addresses or military addresses (state is `AA`, `AE`, or `AP`). | [optional] |

Expand All @@ -36,7 +37,7 @@
```ruby
require 'openapi_client'

instance = Lob::UsComponents.new(
instance = OpenapiClient::UsComponents.new(
primary_number: null,
street_predirection: null,
street_name: null,
Expand All @@ -61,6 +62,7 @@ instance = Lob::UsComponents.new(
county_fips: null,
carrier_route: null,
carrier_route_type: null,
po_box_only_flag: null,
latitude: null,
longitude: null
)
Expand Down
Loading

0 comments on commit a328e13

Please sign in to comment.