ideal_postcodes 2.0.0 → 3.0.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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +3 -16
- data/LICENSE +1 -21
- data/README.md +13 -332
- data/lib/ideal_postcodes/base_client.rb +88 -0
- data/lib/ideal_postcodes/client.rb +42 -0
- data/lib/ideal_postcodes/errors.rb +59 -0
- data/lib/ideal_postcodes/generated.rb +83 -0
- data/lib/ideal_postcodes/model.rb +73 -0
- data/lib/ideal_postcodes/operations.rb +866 -0
- data/lib/ideal_postcodes/responses/address_response.rb +19 -0
- data/lib/ideal_postcodes/responses/api_key_details_response.rb +21 -0
- data/lib/ideal_postcodes/responses/api_key_response.rb +21 -0
- data/lib/ideal_postcodes/responses/api_key_usage_response.rb +21 -0
- data/lib/ideal_postcodes/responses/autocomplete_response.rb +19 -0
- data/lib/ideal_postcodes/responses/cleanse_response.rb +31 -0
- data/lib/ideal_postcodes/responses/config_response.rb +21 -0
- data/lib/ideal_postcodes/responses/configs_response.rb +21 -0
- data/lib/ideal_postcodes/responses/delete_config_response.rb +19 -0
- data/lib/ideal_postcodes/responses/delete_licensee_response.rb +19 -0
- data/lib/ideal_postcodes/responses/email_response.rb +31 -0
- data/lib/ideal_postcodes/responses/gbr_resolve_address_response.rb +21 -0
- data/lib/ideal_postcodes/responses/licensee_response.rb +21 -0
- data/lib/ideal_postcodes/responses/licensees_response.rb +21 -0
- data/lib/ideal_postcodes/responses/phone_number_response.rb +31 -0
- data/lib/ideal_postcodes/responses/place_response.rb +19 -0
- data/lib/ideal_postcodes/responses/postcode_response.rb +30 -0
- data/lib/ideal_postcodes/responses/resolve_place_response.rb +24 -0
- data/lib/ideal_postcodes/transport.rb +61 -0
- data/lib/ideal_postcodes/types/ab_address.rb +283 -0
- data/lib/ideal_postcodes/types/abp_address.rb +674 -0
- data/lib/ideal_postcodes/types/address.rb +290 -0
- data/lib/ideal_postcodes/types/address_list_item.rb +592 -0
- data/lib/ideal_postcodes/types/address_result.rb +24 -0
- data/lib/ideal_postcodes/types/address_suggestion.rb +27 -0
- data/lib/ideal_postcodes/types/api_key.rb +27 -0
- data/lib/ideal_postcodes/types/api_key_automated_topup.rb +17 -0
- data/lib/ideal_postcodes/types/api_key_current_purchase.rb +27 -0
- data/lib/ideal_postcodes/types/api_key_daily_limit.rb +21 -0
- data/lib/ideal_postcodes/types/api_key_datasets.rb +202 -0
- data/lib/ideal_postcodes/types/api_key_details.rb +90 -0
- data/lib/ideal_postcodes/types/api_key_individual_limit.rb +16 -0
- data/lib/ideal_postcodes/types/api_key_monthly_limit.rb +21 -0
- data/lib/ideal_postcodes/types/api_key_notifications.rb +35 -0
- data/lib/ideal_postcodes/types/autocomplete_result.rb +25 -0
- data/lib/ideal_postcodes/types/available_context.rb +35 -0
- data/lib/ideal_postcodes/types/ban_address.rb +179 -0
- data/lib/ideal_postcodes/types/bev_address.rb +288 -0
- data/lib/ideal_postcodes/types/cannar_address.rb +297 -0
- data/lib/ideal_postcodes/types/carrier.rb +31 -0
- data/lib/ideal_postcodes/types/config.rb +34 -0
- data/lib/ideal_postcodes/types/configs_result.rb +15 -0
- data/lib/ideal_postcodes/types/deleted_config.rb +13 -0
- data/lib/ideal_postcodes/types/deleted_licensee.rb +13 -0
- data/lib/ideal_postcodes/types/ecad_address.rb +393 -0
- data/lib/ideal_postcodes/types/ecaf_address.rb +204 -0
- data/lib/ideal_postcodes/types/email.rb +45 -0
- data/lib/ideal_postcodes/types/fodbosa_address.rb +201 -0
- data/lib/ideal_postcodes/types/gbr_cleanse_match.rb +70 -0
- data/lib/ideal_postcodes/types/gbr_cleanse_no_match.rb +47 -0
- data/lib/ideal_postcodes/types/geonames_place.rb +153 -0
- data/lib/ideal_postcodes/types/gnaf_address.rb +463 -0
- data/lib/ideal_postcodes/types/here_address.rb +174 -0
- data/lib/ideal_postcodes/types/invalid_phone_number.rb +50 -0
- data/lib/ideal_postcodes/types/kadaster_address.rb +480 -0
- data/lib/ideal_postcodes/types/kartverket_address.rb +342 -0
- data/lib/ideal_postcodes/types/key_usage_day.rb +16 -0
- data/lib/ideal_postcodes/types/key_usage_result.rb +36 -0
- data/lib/ideal_postcodes/types/licensee.rb +50 -0
- data/lib/ideal_postcodes/types/licensee_daily_usage.rb +29 -0
- data/lib/ideal_postcodes/types/licensees_result.rb +23 -0
- data/lib/ideal_postcodes/types/mois_address.rb +440 -0
- data/lib/ideal_postcodes/types/mr_address.rb +99 -0
- data/lib/ideal_postcodes/types/native_record.rb +368 -0
- data/lib/ideal_postcodes/types/nyb_address.rb +99 -0
- data/lib/ideal_postcodes/types/paf_address.rb +96 -0
- data/lib/ideal_postcodes/types/pafa_address.rb +104 -0
- data/lib/ideal_postcodes/types/pafw_address.rb +99 -0
- data/lib/ideal_postcodes/types/phone_number.rb +50 -0
- data/lib/ideal_postcodes/types/place.rb +79 -0
- data/lib/ideal_postcodes/types/place_result.rb +21 -0
- data/lib/ideal_postcodes/types/place_suggestion.rb +32 -0
- data/lib/ideal_postcodes/types/sdfi_address.rb +520 -0
- data/lib/ideal_postcodes/types/swt_address.rb +247 -0
- data/lib/ideal_postcodes/types/uk_address_suggestion.rb +45 -0
- data/lib/ideal_postcodes/types/uk_address_suggestion_urls.rb +21 -0
- data/lib/ideal_postcodes/types/unknown_email.rb +43 -0
- data/lib/ideal_postcodes/types/upujp_address.rb +763 -0
- data/lib/ideal_postcodes/types/usps_address.rb +294 -0
- data/lib/ideal_postcodes/version.rb +5 -0
- data/lib/ideal_postcodes.rb +14 -2
- data/sig/ideal_postcodes/base_client.rbs +40 -0
- data/sig/ideal_postcodes/client.rbs +35 -0
- data/sig/ideal_postcodes/errors.rbs +27 -0
- data/sig/ideal_postcodes/model.rbs +37 -0
- data/sig/ideal_postcodes/operations.rbs +207 -0
- data/sig/ideal_postcodes/responses/address_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/api_key_details_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/api_key_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/api_key_usage_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/autocomplete_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/cleanse_response.rbs +19 -0
- data/sig/ideal_postcodes/responses/config_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/configs_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/delete_config_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/delete_licensee_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/email_response.rbs +19 -0
- data/sig/ideal_postcodes/responses/gbr_resolve_address_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/licensee_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/licensees_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/phone_number_response.rbs +19 -0
- data/sig/ideal_postcodes/responses/place_response.rbs +13 -0
- data/sig/ideal_postcodes/responses/postcode_response.rbs +16 -0
- data/sig/ideal_postcodes/responses/resolve_place_response.rbs +13 -0
- data/sig/ideal_postcodes/transport.rbs +39 -0
- data/sig/ideal_postcodes/types/ab_address.rbs +57 -0
- data/sig/ideal_postcodes/types/abp_address.rbs +126 -0
- data/sig/ideal_postcodes/types/address.rbs +136 -0
- data/sig/ideal_postcodes/types/address_list_item.rbs +160 -0
- data/sig/ideal_postcodes/types/address_result.rbs +12 -0
- data/sig/ideal_postcodes/types/address_suggestion.rbs +11 -0
- data/sig/ideal_postcodes/types/api_key.rbs +11 -0
- data/sig/ideal_postcodes/types/api_key_automated_topup.rbs +9 -0
- data/sig/ideal_postcodes/types/api_key_current_purchase.rbs +11 -0
- data/sig/ideal_postcodes/types/api_key_daily_limit.rbs +10 -0
- data/sig/ideal_postcodes/types/api_key_datasets.rbs +46 -0
- data/sig/ideal_postcodes/types/api_key_details.rbs +22 -0
- data/sig/ideal_postcodes/types/api_key_individual_limit.rbs +9 -0
- data/sig/ideal_postcodes/types/api_key_monthly_limit.rbs +10 -0
- data/sig/ideal_postcodes/types/api_key_notifications.rbs +13 -0
- data/sig/ideal_postcodes/types/autocomplete_result.rbs +15 -0
- data/sig/ideal_postcodes/types/available_context.rbs +13 -0
- data/sig/ideal_postcodes/types/ban_address.rbs +46 -0
- data/sig/ideal_postcodes/types/bev_address.rbs +67 -0
- data/sig/ideal_postcodes/types/cannar_address.rbs +62 -0
- data/sig/ideal_postcodes/types/carrier.rbs +14 -0
- data/sig/ideal_postcodes/types/config.rbs +14 -0
- data/sig/ideal_postcodes/types/configs_result.rbs +9 -0
- data/sig/ideal_postcodes/types/deleted_config.rbs +9 -0
- data/sig/ideal_postcodes/types/deleted_licensee.rbs +9 -0
- data/sig/ideal_postcodes/types/ecad_address.rbs +84 -0
- data/sig/ideal_postcodes/types/ecaf_address.rbs +45 -0
- data/sig/ideal_postcodes/types/email.rbs +16 -0
- data/sig/ideal_postcodes/types/fodbosa_address.rbs +43 -0
- data/sig/ideal_postcodes/types/gbr_cleanse_match.rbs +25 -0
- data/sig/ideal_postcodes/types/gbr_cleanse_no_match.rbs +28 -0
- data/sig/ideal_postcodes/types/geonames_place.rbs +42 -0
- data/sig/ideal_postcodes/types/gnaf_address.rbs +104 -0
- data/sig/ideal_postcodes/types/here_address.rbs +37 -0
- data/sig/ideal_postcodes/types/invalid_phone_number.rbs +17 -0
- data/sig/ideal_postcodes/types/kadaster_address.rbs +98 -0
- data/sig/ideal_postcodes/types/kartverket_address.rbs +78 -0
- data/sig/ideal_postcodes/types/key_usage_day.rbs +10 -0
- data/sig/ideal_postcodes/types/key_usage_result.rbs +13 -0
- data/sig/ideal_postcodes/types/licensee.rbs +17 -0
- data/sig/ideal_postcodes/types/licensee_daily_usage.rbs +12 -0
- data/sig/ideal_postcodes/types/licensees_result.rbs +11 -0
- data/sig/ideal_postcodes/types/mois_address.rbs +97 -0
- data/sig/ideal_postcodes/types/mr_address.rbs +27 -0
- data/sig/ideal_postcodes/types/native_record.rbs +34 -0
- data/sig/ideal_postcodes/types/nyb_address.rbs +27 -0
- data/sig/ideal_postcodes/types/paf_address.rbs +27 -0
- data/sig/ideal_postcodes/types/pafa_address.rbs +27 -0
- data/sig/ideal_postcodes/types/pafw_address.rbs +27 -0
- data/sig/ideal_postcodes/types/phone_number.rbs +17 -0
- data/sig/ideal_postcodes/types/place.rbs +29 -0
- data/sig/ideal_postcodes/types/place_result.rbs +15 -0
- data/sig/ideal_postcodes/types/place_suggestion.rbs +12 -0
- data/sig/ideal_postcodes/types/sdfi_address.rbs +108 -0
- data/sig/ideal_postcodes/types/swt_address.rbs +57 -0
- data/sig/ideal_postcodes/types/uk_address_suggestion.rbs +13 -0
- data/sig/ideal_postcodes/types/uk_address_suggestion_urls.rbs +10 -0
- data/sig/ideal_postcodes/types/unknown_email.rbs +16 -0
- data/sig/ideal_postcodes/types/upujp_address.rbs +156 -0
- data/sig/ideal_postcodes/types/usps_address.rbs +63 -0
- metadata +186 -175
- data/.travis.yml +0 -9
- data/Gemfile +0 -2
- data/Rakefile +0 -15
- data/ideal-postcodes-ruby.gemspec +0 -25
- data/lib/idealpostcodes/address.rb +0 -31
- data/lib/idealpostcodes/errors.rb +0 -33
- data/lib/idealpostcodes/key.rb +0 -13
- data/lib/idealpostcodes/postcode.rb +0 -22
- data/lib/idealpostcodes/util.rb +0 -29
- data/lib/idealpostcodes/version.rb +0 -3
- data/lib/idealpostcodes.rb +0 -112
- data/spec/addresses_spec.rb +0 -68
- data/spec/idealpostcodes_spec.rb +0 -56
- data/spec/keys_spec.rb +0 -25
- data/spec/postcodes_spec.rb +0 -66
- data/spec/spec_helper.rb +0 -68
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_raises_an_exception_if_invalid_key.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_raises_an_exception_if_limit_breached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_raises_an_exception_if_no_lookups_remaining.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_returns_an_address_for_a_valid_UDPRN.yml +0 -74
- data/spec/vcr_cassettes/IdealPostcodes_Address_lookup_returns_nil_for_an_invalid_UDPRN.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_is_sensitive_to_limit.yml +0 -81
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_is_sensitive_to_page.yml +0 -369
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_raises_an_exception_if_invalid_key.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_raises_an_exception_if_limit_breached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_raises_an_exception_if_no_lookups_remaining.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Address_search_returns_results_in_a_SearchResult_object.yml +0 -273
- data/spec/vcr_cassettes/IdealPostcodes_Key_lookup_details_returns_key_details.yml +0 -62
- data/spec/vcr_cassettes/IdealPostcodes_Key_lookup_returns_the_availability_status_of_a_key_false_key_.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_Key_lookup_returns_the_availability_status_of_a_key_true_key_.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_is_sensitive_to_limit_parameter.yml +0 -52
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_is_sensitive_to_radius_parament.yml +0 -133
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_returns_an_array_of_postcodes_and_locations.yml +0 -84
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_find_by_location_returns_an_empty_array_if_no_results_are_found.yml +0 -43
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_raises_an_exception_if_invalid_key.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_raises_an_exception_if_key_has_run_out_of_balance.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_raises_an_exception_if_limit_has_been_reached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_returns_a_list_of_addresses_for_a_postcode.yml +0 -268
- data/spec/vcr_cassettes/IdealPostcodes_Postcode_lookup_returns_an_empty_array_if_postcode_does_not_exist.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_key_available_returns_false_if_key_is_unavailable.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_key_available_returns_true_if_key_is_available.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_key_details_raises_an_exception_if_no_secret_is_provided.yml +0 -45
- data/spec/vcr_cassettes/IdealPostcodes_key_details_returns_key_information.yml +0 -62
- data/spec/vcr_cassettes/IdealPostcodes_request_generates_a_HTTP_request.yml +0 -268
- data/spec/vcr_cassettes/IdealPostcodes_request_raises_authentication_error_if_invalid_key_is_provided.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_request_raises_limit_reached_error_if_a_limit_has_been_breached.yml +0 -42
- data/spec/vcr_cassettes/IdealPostcodes_request_raises_token_exhausted_error_if_key_balance_is_depleted.yml +0 -42
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class AddressListItem < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "paf", "pafw", "pafa", "mr", "nyb", "usps", "ecaf", "ecad", "ab", "abp",
|
|
8
|
+
# "herewe", "heret", "heresa", "hereo", "herena", "heremeas", "heremea", "herem", "herei",
|
|
9
|
+
# "herehk", "hereee", "hereap", "gnaf", "kadaster", "kartverket", "sdfi", "cannar", "fodbosa",
|
|
10
|
+
# "mois", "upujp", "bev", "ban", "swt"
|
|
11
|
+
def dataset: () -> String
|
|
12
|
+
# Known values: "GBR", "IMN", "JEY", "GGY", "USA", "PRI", "GUM", "IRL", "VAT", "FRA", "GRL",
|
|
13
|
+
# "NLD", "LUX", "AUT", "GIB", "LIE", "FIN", "ISL", "CHE", "PRT", "BEL", "MCO", "ITA", "FRO",
|
|
14
|
+
# "NOR", "DNK", "SMR", "MLT", "AND", "SWE", "DEU", "ESP", "SJM", "BRN", "IDN", "KHM", "MMR",
|
|
15
|
+
# "MYS", "PHL", "SGP", "THA", "TLS", "VNM", "ALB", "ARM", "AZE", "BGR", "BIH", "BLR", "CYP",
|
|
16
|
+
# "CZE", "EST", "GEO", "GRC", "HRV", "HUN", "KAZ", "KGZ", "LTU", "LVA", "MDA", "MKD", "MNE",
|
|
17
|
+
# "POL", "ROU", "RUS", "SRB", "SVK", "SVN", "TUR", "UKR", "UZB", "XKX", "HKG", "BGD", "IND",
|
|
18
|
+
# "LKA", "MAC", "AGO", "ARE", "BFA", "BHR", "BWA", "CMR", "EGY", "GHA", "ISR", "JOR", "KEN",
|
|
19
|
+
# "KWT", "LBN", "LSO", "MAR", "MOZ", "MUS", "MYT", "NAM", "NGA", "OMN", "QAT", "REU", "SAU",
|
|
20
|
+
# "SEN", "SWZ", "TUN", "ZAF", "ZMB", "ZWE", "BHS", "BLZ", "BMU", "CAN", "CRI", "CYM", "DOM",
|
|
21
|
+
# "GTM", "HND", "HTI", "JAM", "MEX", "NIC", "PAN", "SLV", "VGB", "AUS", "CCK", "CXR", "FJI",
|
|
22
|
+
# "NCL", "NFK", "NZL", "PYF", "TON", "VUT", "ABW", "ARG", "BLM", "BOL", "BRA", "BRB", "CHL",
|
|
23
|
+
# "COL", "CUW", "DMA", "ECU", "GLP", "GUF", "GUY", "MAF", "MTQ", "PER", "PRY", "SUR", "TTO",
|
|
24
|
+
# "URY", "VEN", "TWN", "CHN", "JPN", "KOR", "LAO", "MNG", "PNG", "PRK", "SLB", "TJK", "TKM",
|
|
25
|
+
# "BTN", "IOT", "MDV", "NPL", "PAK", "AFG", "BDI", "BEN", "CAF", "CIV", "COD", "COG", "COM",
|
|
26
|
+
# "CPV", "DJI", "DZA", "ERI", "ESH", "ETH", "GAB", "GIN", "GMB", "GNB", "GNQ", "IRN", "IRQ",
|
|
27
|
+
# "LBR", "LBY", "MDG", "MLI", "MRT", "MWI", "NER", "RWA", "SHN", "SLE", "SOM", "SSD", "STP",
|
|
28
|
+
# "SYC", "TCD", "TGO", "TZA", "UGA", "SDN", "SYR", "YEM", "CUB", "SPM", "TCA", "COK", "KIR",
|
|
29
|
+
# "NIU", "NRU", "PCN", "TKL", "TUV", "WLF", "WSM", "AIA", "ATG", "BES", "FLK", "GRD", "KNA",
|
|
30
|
+
# "LCA", "MSR", "SGS", "SXM", "VCT", "ASM", "FSM", "MHL", "MNP", "PLW", "VIR"
|
|
31
|
+
def country_iso: () -> String
|
|
32
|
+
# Known values: "GB", "IM", "JE", "GG", "US", "PR", "GU", "IE", "VA", "FR", "GL", "NL", "LU",
|
|
33
|
+
# "AT", "GI", "LI", "FI", "IS", "CH", "PT", "BE", "MC", "IT", "FO", "NO", "DK", "SM", "MT",
|
|
34
|
+
# "AD", "SE", "DE", "ES", "SJ", "BS", "BZ", "BM", "CA", "CR", "KY", "DO", "GT", "HN", "HT",
|
|
35
|
+
# "JM", "MX", "NI", "PA", "SV", "VG", "AU", "CC", "CX", "FJ", "NC", "NF", "NZ", "PF", "TO",
|
|
36
|
+
# "VU", "AW", "AR", "BL", "BO", "BR", "BB", "CL", "CO", "CW", "DM", "EC", "GP", "GD", "GF",
|
|
37
|
+
# "GY", "MF", "MQ", "PE", "PY", "SR", "TT", "UY", "VE", "TW", "BN", "ID", "KH", "MM", "MY",
|
|
38
|
+
# "PH", "SG", "TH", "TL", "VN", "AL", "AM", "AZ", "BG", "BA", "BY", "CY", "CZ", "EE", "GE",
|
|
39
|
+
# "GR", "HR", "HU", "KZ", "KG", "XK", "LT", "LV", "MD", "MK", "ME", "PL", "RO", "RU", "RS",
|
|
40
|
+
# "SK", "SI", "TR", "UA", "UZ", "HK", "BD", "IN", "LK", "MO", "AO", "AE", "BF", "BH", "BW",
|
|
41
|
+
# "CM", "EG", "GH", "IL", "JO", "KE", "KW", "LB", "LS", "MA", "MZ", "MU", "YT", "NA", "NG",
|
|
42
|
+
# "OM", "QA", "RE", "SA", "SN", "SZ", "TN", "ZA", "ZM", "ZW", "CN", "JP", "KR", "LA", "MN",
|
|
43
|
+
# "PG", "KP", "SB", "TJ", "TM", "BT", "IO", "MV", "NP", "PK", "AF", "BI", "BJ", "CF", "CI",
|
|
44
|
+
# "CD", "CG", "KM", "CV", "DJ", "DZ", "ER", "EH", "ET", "GA", "GN", "GM", "GW", "GQ", "IR",
|
|
45
|
+
# "IQ", "LR", "LY", "MG", "ML", "MR", "MW", "NE", "RW", "SH", "SL", "SO", "SS", "ST", "SC",
|
|
46
|
+
# "TD", "TG", "TZ", "UG", "SD", "SY", "YE", "CU", "PM", "TC", "CK", "KI", "NU", "NR", "PN",
|
|
47
|
+
# "TK", "TV", "WF", "WS", "AI", "AG", "BQ", "FK", "KN", "LC", "MS", "GS", "SX", "VC", "AS",
|
|
48
|
+
# "FM", "MH", "MP", "PW", "VI"
|
|
49
|
+
def country_iso_2: () -> String
|
|
50
|
+
# Known values: "United Kingdom", "England", "Scotland", "Wales", "Northern Ireland", "Isle of
|
|
51
|
+
# Man", "Jersey", "Guernsey", "Channel Islands", "Guam", "United States", "Puerto Rico",
|
|
52
|
+
# "Ireland", "Vatican City", "France", "Greenland", "Netherlands", "Luxembourg", "Austria",
|
|
53
|
+
# "Gibraltar", "Liechtenstein", "Finland", "Iceland", "Switzerland", "Portugal", "Belgium",
|
|
54
|
+
# "Monaco", "Italy", "Faroe Islands", "Norway", "Denmark", "San Marino", "Malta", "Andorra",
|
|
55
|
+
# "Sweden", "Germany", "Spain", "Svalbard and Jan Mayen", "Bahamas", "Belize", "Bermuda",
|
|
56
|
+
# "Canada", "Costa Rica", "Cayman Islands", "Dominican Republic", "Guatemala", "Honduras",
|
|
57
|
+
# "Haiti", "Jamaica", "Mexico", "Nicaragua", "Panama", "El Salvador", "British Virgin
|
|
58
|
+
# Islands", "Australia", "Cocos (Keeling) Islands", "Christmas Island", "Fiji", "New
|
|
59
|
+
# Caledonia", "Norfolk Island", "New Zealand", "French Polynesia", "Tonga", "Vanuatu",
|
|
60
|
+
# "Aruba", "Argentina", "Saint Barthélemy", "Bolivia", "Brazil", "Barbados", "Chile",
|
|
61
|
+
# "Colombia", "Curaçao", "Dominica", "Ecuador", "Guadeloupe", "Grenada", "French Guiana",
|
|
62
|
+
# "Guyana", "Saint Martin (French part)", "Martinique", "Peru", "Paraguay", "Suriname",
|
|
63
|
+
# "Trinidad and Tobago", "Uruguay", "Venezuela", "Taiwan", "Brunei Darussalam", "Indonesia",
|
|
64
|
+
# "Cambodia", "Myanmar", "Malaysia", "Philippines", "Singapore", "Thailand", "Timor-Leste",
|
|
65
|
+
# "Vietnam", "Albania", "Armenia", "Azerbaijan", "Bulgaria", "Bosnia and Herzegovina",
|
|
66
|
+
# "Belarus", "Cyprus", "Czech Republic", "Estonia", "Georgia", "Greece", "Croatia", "Hungary",
|
|
67
|
+
# "Kazakhstan", "Kyrgyzstan", "Kosovo", "Lithuania", "Latvia", "Moldova", "North Macedonia",
|
|
68
|
+
# "Montenegro", "Poland", "Romania", "Russia", "Serbia", "Slovakia", "Slovenia", "Turkey",
|
|
69
|
+
# "Ukraine", "Uzbekistan", "Hong Kong", "Bangladesh", "India", "Sri Lanka", "Macau", "Angola",
|
|
70
|
+
# "United Arab Emirates", "Burkina Faso", "Bahrain", "Botswana", "Cameroon", "Egypt", "Ghana",
|
|
71
|
+
# "Israel", "Jordan", "Kenya", "Kuwait", "Lebanon", "Lesotho", "Morocco", "Mozambique",
|
|
72
|
+
# "Mauritius", "Mayotte", "Namibia", "Nigeria", "Oman", "Qatar", "Réunion", "Saudi Arabia",
|
|
73
|
+
# "Senegal", "Eswatini", "Tunisia", "South Africa", "Zambia", "Zimbabwe", "China", "Japan",
|
|
74
|
+
# "South Korea", "Laos", "Mongolia", "Papua New Guinea", "North Korea", "Solomon Islands",
|
|
75
|
+
# "Tajikistan", "Turkmenistan", "Bhutan", "British Indian Ocean Territory", "Maldives",
|
|
76
|
+
# "Nepal", "Pakistan", "Afghanistan", "Burundi", "Benin", "Central African Republic", "Côte
|
|
77
|
+
# d'Ivoire", "Democratic Republic of the Congo", "Republic of the Congo", "Comoros", "Cape
|
|
78
|
+
# Verde", "Djibouti", "Algeria", "Eritrea", "Western Sahara", "Ethiopia", "Gabon", "Guinea",
|
|
79
|
+
# "Gambia", "Guinea-Bissau", "Equatorial Guinea", "Iran", "Iraq", "Liberia", "Libya",
|
|
80
|
+
# "Madagascar", "Mali", "Mauritania", "Malawi", "Niger", "Rwanda", "Saint Helena", "Sierra
|
|
81
|
+
# Leone", "Somalia", "South Sudan", "São Tomé and Príncipe", "Seychelles", "Chad", "Togo",
|
|
82
|
+
# "Tanzania", "Uganda", "Sudan", "Syria", "Yemen", "Cuba", "Saint Pierre and Miquelon", "Turks
|
|
83
|
+
# and Caicos Islands", "Cook Islands", "Kiribati", "Niue", "Nauru", "Pitcairn Islands",
|
|
84
|
+
# "Tokelau", "Tuvalu", "Wallis and Futuna", "Samoa", "Anguilla", "Antigua and Barbuda",
|
|
85
|
+
# "Bonaire, Sint Eustatius and Saba", "Falkland Islands (Malvinas)", "Saint Kitts and Nevis",
|
|
86
|
+
# "Saint Lucia", "Montserrat", "South Georgia and the South Sandwich Islands", "Sint Maarten
|
|
87
|
+
# (Dutch part)", "Saint Vincent and the Grenadines", "American Samoa", "Federated States of
|
|
88
|
+
# Micronesia", "Marshall Islands", "Northern Mariana Islands", "Palau", "United States Virgin
|
|
89
|
+
# Islands"
|
|
90
|
+
def country: () -> String
|
|
91
|
+
# Known values: "en", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", "da", "de",
|
|
92
|
+
# "el", "es", "et", "eu", "fi", "fo", "fr", "ga", "gl", "gn", "he", "hi", "hr", "hu", "hy",
|
|
93
|
+
# "id", "is", "it", "ja", "ka", "kk", "km", "kn", "ko", "lt", "lv", "mk", "mn", "ms", "mt",
|
|
94
|
+
# "my", "nl", "no", "pl", "pt", "rm", "ro", "ru", "sk", "sl", "sq", "sr", "sv", "ta", "th",
|
|
95
|
+
# "tr", "uk", "uz", "vi", "wa", "zh"
|
|
96
|
+
def language: () -> String
|
|
97
|
+
def line_1: () -> String
|
|
98
|
+
def line_2: () -> String
|
|
99
|
+
def line_3: () -> String
|
|
100
|
+
def post_town: () -> String
|
|
101
|
+
def postcode: () -> String
|
|
102
|
+
def county: () -> String
|
|
103
|
+
def county_code: () -> String
|
|
104
|
+
def uprn: () -> String
|
|
105
|
+
def udprn: () -> (Integer | String)
|
|
106
|
+
def umprn: () -> (String | Float)
|
|
107
|
+
def postcode_outward: () -> String
|
|
108
|
+
def postcode_inward: () -> String
|
|
109
|
+
def dependant_locality: () -> String
|
|
110
|
+
def double_dependant_locality: () -> String
|
|
111
|
+
def thoroughfare: () -> String
|
|
112
|
+
def dependant_thoroughfare: () -> String
|
|
113
|
+
def building_number: () -> String
|
|
114
|
+
def building_name: () -> String
|
|
115
|
+
def sub_building_name: () -> String
|
|
116
|
+
def po_box: () -> String
|
|
117
|
+
def department_name: () -> String
|
|
118
|
+
def organisation_name: () -> String
|
|
119
|
+
# Known values: "S", "L", ""
|
|
120
|
+
def postcode_type: () -> String
|
|
121
|
+
def su_organisation_indicator: () -> String
|
|
122
|
+
def delivery_point_suffix: () -> String
|
|
123
|
+
def premise: () -> String
|
|
124
|
+
def administrative_county: () -> String
|
|
125
|
+
def postal_county: () -> String
|
|
126
|
+
def traditional_county: () -> String
|
|
127
|
+
def district: () -> String
|
|
128
|
+
def ward: () -> String
|
|
129
|
+
def longitude: () -> (String | Float)
|
|
130
|
+
def latitude: () -> (String | Float)
|
|
131
|
+
def eastings: () -> (String | Float)
|
|
132
|
+
def northings: () -> (String | Float)
|
|
133
|
+
def native: () -> native?
|
|
134
|
+
|
|
135
|
+
type native =
|
|
136
|
+
Types::AbAddress
|
|
137
|
+
| Types::AbpAddress
|
|
138
|
+
| Types::UspsAddress
|
|
139
|
+
| Types::EcadAddress
|
|
140
|
+
| Types::EcafAddress
|
|
141
|
+
| Types::HereAddress
|
|
142
|
+
| Types::GnafAddress
|
|
143
|
+
| Types::KadasterAddress
|
|
144
|
+
| Types::KartverketAddress
|
|
145
|
+
| Types::SdfiAddress
|
|
146
|
+
| Types::CannarAddress
|
|
147
|
+
| Types::FodbosaAddress
|
|
148
|
+
| Types::MoisAddress
|
|
149
|
+
| Types::UpujpAddress
|
|
150
|
+
| Types::BevAddress
|
|
151
|
+
| Types::BanAddress
|
|
152
|
+
| Types::SwtAddress
|
|
153
|
+
| Hash[String, untyped]
|
|
154
|
+
|
|
155
|
+
private
|
|
156
|
+
|
|
157
|
+
def hydrate_native: (Hash[String, untyped] value) -> native
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class AddressResult < Model
|
|
6
|
+
def hits: () -> Array[Types::AddressListItem]
|
|
7
|
+
def total: () -> Integer
|
|
8
|
+
def limit: () -> Integer
|
|
9
|
+
def page: () -> Integer
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class ApiKeyDatasets < Model
|
|
6
|
+
def paf: () -> bool
|
|
7
|
+
def pafa: () -> bool
|
|
8
|
+
def pafw: () -> bool
|
|
9
|
+
def mr: () -> bool
|
|
10
|
+
def nyb: () -> bool
|
|
11
|
+
def ab: () -> bool
|
|
12
|
+
def abp: () -> bool?
|
|
13
|
+
def nip: () -> bool
|
|
14
|
+
def usps: () -> bool
|
|
15
|
+
def ecad: () -> bool
|
|
16
|
+
def ecaf: () -> bool
|
|
17
|
+
def gnaf: () -> bool
|
|
18
|
+
def hereap: () -> bool
|
|
19
|
+
def herehk: () -> bool
|
|
20
|
+
def herei: () -> bool
|
|
21
|
+
def herem: () -> bool
|
|
22
|
+
def heremea: () -> bool
|
|
23
|
+
def heremeas: () -> bool
|
|
24
|
+
def herena: () -> bool
|
|
25
|
+
def hereo: () -> bool
|
|
26
|
+
def heresa: () -> bool
|
|
27
|
+
def heret: () -> bool
|
|
28
|
+
def hereee: () -> bool
|
|
29
|
+
def herewe: () -> bool
|
|
30
|
+
def phone: () -> bool
|
|
31
|
+
def email: () -> bool
|
|
32
|
+
def kadaster: () -> bool
|
|
33
|
+
def kartverket: () -> bool
|
|
34
|
+
def mois: () -> bool
|
|
35
|
+
def sdfi: () -> bool
|
|
36
|
+
def cannar: () -> bool
|
|
37
|
+
def fodbosa: () -> bool
|
|
38
|
+
def upujp: () -> bool
|
|
39
|
+
def bev: () -> bool
|
|
40
|
+
def ban: () -> bool
|
|
41
|
+
def swt: () -> bool
|
|
42
|
+
def gbrcleanse: () -> bool
|
|
43
|
+
def uspscleanse: () -> bool
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class ApiKeyDetails < Model
|
|
6
|
+
def name: () -> String
|
|
7
|
+
def contexts: () -> Array[Types::AvailableContext]
|
|
8
|
+
def lookups_remaining: () -> Integer
|
|
9
|
+
def daily_limit: () -> Types::ApiKeyDailyLimit
|
|
10
|
+
def monthly_limit: () -> Types::ApiKeyMonthlyLimit
|
|
11
|
+
def individual_limit: () -> Types::ApiKeyIndividualLimit
|
|
12
|
+
def allowed_urls: () -> Array[String]
|
|
13
|
+
def redact_days: () -> Integer
|
|
14
|
+
def notifications: () -> Types::ApiKeyNotifications
|
|
15
|
+
def datasets: () -> Types::ApiKeyDatasets
|
|
16
|
+
def automated_topups: () -> Types::ApiKeyAutomatedTopup
|
|
17
|
+
def current_purchases: () -> Array[Types::ApiKeyCurrentPurchase]
|
|
18
|
+
def ip_forwarding: () -> bool
|
|
19
|
+
def premier_support: () -> bool
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class ApiKeyNotifications < Model
|
|
6
|
+
def emails: () -> Array[String]
|
|
7
|
+
def enabled: () -> bool
|
|
8
|
+
def balance_threshold: () -> Integer?
|
|
9
|
+
def no_balance: () -> bool
|
|
10
|
+
def limit_reached: () -> bool
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class AutocompleteResult < Model
|
|
6
|
+
def hits: () -> Array[hit]
|
|
7
|
+
|
|
8
|
+
type hit = Types::AddressSuggestion | Types::UkAddressSuggestion
|
|
9
|
+
|
|
10
|
+
private
|
|
11
|
+
|
|
12
|
+
def hydrate_hit: (Hash[String, untyped] value) -> hit
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class AvailableContext < Model
|
|
6
|
+
def iso_3: () -> String
|
|
7
|
+
def iso_2: () -> String
|
|
8
|
+
def description: () -> String
|
|
9
|
+
def emoji: () -> String
|
|
10
|
+
def rgeo: () -> bool
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class BanAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "ban"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "France"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "FRA"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "FR"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
# Known values: "fr"
|
|
16
|
+
def language: () -> String
|
|
17
|
+
def address: () -> String
|
|
18
|
+
def line_1: () -> String?
|
|
19
|
+
def line_2: () -> String?
|
|
20
|
+
def latitude: () -> (String | Float)
|
|
21
|
+
def longitude: () -> (String | Float)
|
|
22
|
+
def id_fantoir: () -> String?
|
|
23
|
+
def numero: () -> Integer?
|
|
24
|
+
def rep: () -> String?
|
|
25
|
+
def nom_voie: () -> String
|
|
26
|
+
def code_postal: () -> String?
|
|
27
|
+
def code_insee: () -> String
|
|
28
|
+
def nom_commune: () -> String
|
|
29
|
+
def code_insee_ancienne_commune: () -> String?
|
|
30
|
+
def nom_ancienne_commune: () -> String?
|
|
31
|
+
def x: () -> String?
|
|
32
|
+
def y: () -> String?
|
|
33
|
+
def lon: () -> String?
|
|
34
|
+
def lat: () -> String?
|
|
35
|
+
def type_position: () -> String?
|
|
36
|
+
def alias: () -> String?
|
|
37
|
+
def nom_ld: () -> String?
|
|
38
|
+
def libelle_acheminement: () -> String?
|
|
39
|
+
def nom_afnor: () -> String?
|
|
40
|
+
def source_position: () -> String?
|
|
41
|
+
def source_nom_voie: () -> String?
|
|
42
|
+
def certification_commune: () -> bool?
|
|
43
|
+
def cad_parcelles: () -> String?
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class BevAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "bev"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "Austria"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "AUT"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "AT"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
# Known values: "de"
|
|
16
|
+
def language: () -> String
|
|
17
|
+
def address: () -> String
|
|
18
|
+
def line_1: () -> String
|
|
19
|
+
def line_2: () -> String
|
|
20
|
+
def latitude: () -> (String | Float)
|
|
21
|
+
def longitude: () -> (String | Float)
|
|
22
|
+
def adrcd: () -> String
|
|
23
|
+
def kgnr: () -> String
|
|
24
|
+
def gkz: () -> String
|
|
25
|
+
def okz: () -> String
|
|
26
|
+
def plz: () -> String
|
|
27
|
+
def skz: () -> String
|
|
28
|
+
def zaehlsprengel: () -> String
|
|
29
|
+
def hausnrtext: () -> String
|
|
30
|
+
def hausnrzahl1: () -> Integer
|
|
31
|
+
def hausnrbuchstabe1: () -> String
|
|
32
|
+
def hausnrverbindung1: () -> String
|
|
33
|
+
def hausnrzahl2: () -> (String | Integer)
|
|
34
|
+
def hausnrbuchstabe2: () -> String
|
|
35
|
+
def hausnrbereich: () -> String
|
|
36
|
+
def hnr_adr_zusammen: () -> String
|
|
37
|
+
def gnradresse: () -> Integer
|
|
38
|
+
def hofname: () -> String
|
|
39
|
+
def rw: () -> String
|
|
40
|
+
def hw: () -> String
|
|
41
|
+
def epsg: () -> Integer
|
|
42
|
+
def quelladresse: () -> String
|
|
43
|
+
def bestimmungsart: () -> String
|
|
44
|
+
def subcd: () -> String
|
|
45
|
+
def objektnummer: () -> String
|
|
46
|
+
def objfunktkennziffer: () -> String
|
|
47
|
+
def hauptadresse: () -> Integer
|
|
48
|
+
def hausnrverbindung2: () -> String
|
|
49
|
+
def hausnrzahl3: () -> (String | Integer)
|
|
50
|
+
def hausnrbuchstabe3: () -> String
|
|
51
|
+
def hausnrverbindung3: () -> String
|
|
52
|
+
def hausnrzahl4: () -> (String | Integer)
|
|
53
|
+
def hausnrbuchstabe4: () -> String
|
|
54
|
+
def hausnrgebaeudebez: () -> String
|
|
55
|
+
def hnr_geb_zusammen: () -> String
|
|
56
|
+
def eigenschaft: () -> String
|
|
57
|
+
def gemeindename: () -> String
|
|
58
|
+
def ortsname: () -> String
|
|
59
|
+
def strassenname: () -> String
|
|
60
|
+
def strassennamenzusatz: () -> String
|
|
61
|
+
def szusadrbest: () -> Integer
|
|
62
|
+
def zustellort: () -> String
|
|
63
|
+
def zustellort_id: () -> String
|
|
64
|
+
def zaehlsprengelname: () -> String
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class CannarAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "cannar"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "Canada"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "CAN"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "CA"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
# Known values: "en", "fr"
|
|
16
|
+
def language: () -> String
|
|
17
|
+
def address: () -> String
|
|
18
|
+
def line_1: () -> String
|
|
19
|
+
def line_2: () -> String
|
|
20
|
+
def latitude: () -> (String | Float)
|
|
21
|
+
def longitude: () -> (String | Float)
|
|
22
|
+
def loc_guid: () -> String
|
|
23
|
+
def addr_guid: () -> String
|
|
24
|
+
def apt_no_label: () -> String
|
|
25
|
+
def civic_no: () -> String
|
|
26
|
+
def civic_no_suffix: () -> String
|
|
27
|
+
def official_street_name: () -> String
|
|
28
|
+
def official_street_type: () -> String
|
|
29
|
+
def official_street_dir: () -> String
|
|
30
|
+
def prov_code: () -> String
|
|
31
|
+
def csd_eng_name: () -> String
|
|
32
|
+
def csd_fre_name: () -> String
|
|
33
|
+
def csd_type_eng_code: () -> String
|
|
34
|
+
def csd_type_fre_code: () -> String
|
|
35
|
+
def mail_street_name: () -> String
|
|
36
|
+
def mail_street_type: () -> String
|
|
37
|
+
def mail_street_dir: () -> String
|
|
38
|
+
def mail_mun_name: () -> String
|
|
39
|
+
def mail_prov_abvn: () -> String
|
|
40
|
+
def mail_postal_code: () -> String
|
|
41
|
+
def bg_dls_lsd: () -> String
|
|
42
|
+
def bg_dls_qtr: () -> String
|
|
43
|
+
def bg_dls_sctn: () -> String
|
|
44
|
+
def bg_dls_twnshp: () -> String
|
|
45
|
+
def bg_dls_rng: () -> String
|
|
46
|
+
def bg_dls_mrd: () -> String
|
|
47
|
+
def bg_x: () -> String
|
|
48
|
+
def bg_y: () -> String
|
|
49
|
+
def bu_n_civic_add: () -> String
|
|
50
|
+
def bu_use: () -> String
|
|
51
|
+
def csd_code: () -> String
|
|
52
|
+
def fed_code: () -> String
|
|
53
|
+
def fed_eng_name: () -> String
|
|
54
|
+
def fed_fre_name: () -> String
|
|
55
|
+
def er_code: () -> String
|
|
56
|
+
def er_eng_name: () -> String
|
|
57
|
+
def er_fre_name: () -> String
|
|
58
|
+
def reppoint_latitude: () -> (String | Float)
|
|
59
|
+
def reppoint_longitude: () -> (String | Float)
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class Carrier < Model
|
|
6
|
+
def network_code: () -> String?
|
|
7
|
+
def name: () -> String?
|
|
8
|
+
def country: () -> String?
|
|
9
|
+
# Known values: "mobile", "landline", "landline_premium", "landline_tollfree", "virtual",
|
|
10
|
+
# "unknown", "pager", "mobile_or_landline", "shared_cost", "uan", "voicemail"
|
|
11
|
+
def network_type: () -> String?
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class Config < Model
|
|
6
|
+
def updatedAt: () -> String
|
|
7
|
+
alias updated_at updatedAt
|
|
8
|
+
def createdAt: () -> String
|
|
9
|
+
alias created_at createdAt
|
|
10
|
+
def name: () -> String
|
|
11
|
+
def payload: () -> String
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|