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,84 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class EcadAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "ecad"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "IRL"
|
|
10
|
+
def country_iso: () -> String
|
|
11
|
+
# Known values: "IE"
|
|
12
|
+
def country_iso_2: () -> String
|
|
13
|
+
# Known values: "Ireland"
|
|
14
|
+
def country: () -> String
|
|
15
|
+
# Known values: "en", "ga"
|
|
16
|
+
def language: () -> String
|
|
17
|
+
def line_1: () -> String
|
|
18
|
+
def line_2: () -> String
|
|
19
|
+
def line_3: () -> String
|
|
20
|
+
def line_4: () -> String
|
|
21
|
+
def line_5: () -> String
|
|
22
|
+
def line_6: () -> String
|
|
23
|
+
def line_7: () -> String
|
|
24
|
+
def line_8: () -> String
|
|
25
|
+
def line_9: () -> String
|
|
26
|
+
def department: () -> String
|
|
27
|
+
def organisation: () -> String
|
|
28
|
+
def sub_building_name: () -> String
|
|
29
|
+
def building_name: () -> String
|
|
30
|
+
def building_number: () -> String
|
|
31
|
+
def building_group: () -> String
|
|
32
|
+
def primary_thoroughfare: () -> String
|
|
33
|
+
def secondary_thoroughfare: () -> String
|
|
34
|
+
def primary_locality: () -> String
|
|
35
|
+
def secondary_locality: () -> String
|
|
36
|
+
def tertiary_locality: () -> String
|
|
37
|
+
def post_county: () -> String
|
|
38
|
+
def eircode: () -> String
|
|
39
|
+
def address_reference: () -> String
|
|
40
|
+
def longitude: () -> (String | Float)
|
|
41
|
+
def latitude: () -> (String | Float)
|
|
42
|
+
def ecad_id: () -> String?
|
|
43
|
+
def organisation_id: () -> String?
|
|
44
|
+
def address_point_id: () -> String?
|
|
45
|
+
def building_id: () -> String?
|
|
46
|
+
def building_group_id: () -> String?
|
|
47
|
+
def primary_thoroughfare_id: () -> String?
|
|
48
|
+
def secondary_thoroughfare_id: () -> String?
|
|
49
|
+
def primary_locality_id: () -> String?
|
|
50
|
+
def secondary_locality_id: () -> String?
|
|
51
|
+
def post_town: () -> String?
|
|
52
|
+
def post_town_id: () -> String?
|
|
53
|
+
def post_county_id: () -> String?
|
|
54
|
+
def nua: () -> bool?
|
|
55
|
+
def gaeltacht: () -> bool?
|
|
56
|
+
def address_type: () -> String?
|
|
57
|
+
def building_address_type: () -> String?
|
|
58
|
+
def building_group_address_type: () -> String?
|
|
59
|
+
def primary_locality_address_type: () -> String?
|
|
60
|
+
def secondary_locality_address_type: () -> String?
|
|
61
|
+
def building_type: () -> String?
|
|
62
|
+
# Known values: "Y", "N", ""
|
|
63
|
+
def holiday_home: () -> String?
|
|
64
|
+
# Known values: "Y", "N", ""
|
|
65
|
+
def under_construction: () -> String?
|
|
66
|
+
# Known values: "R", "C", "B", "U", ""
|
|
67
|
+
def building_use: () -> String?
|
|
68
|
+
# Known values: "Y", "N", ""
|
|
69
|
+
def vacant: () -> String?
|
|
70
|
+
# Known values: "Y", "N", ""
|
|
71
|
+
def org_vacant: () -> String?
|
|
72
|
+
def nace_code: () -> String?
|
|
73
|
+
def nace_category: () -> String?
|
|
74
|
+
def local_authority: () -> String?
|
|
75
|
+
def ded_id: () -> String?
|
|
76
|
+
def small_area_id: () -> String?
|
|
77
|
+
def townland_id: () -> String?
|
|
78
|
+
def gaeltacht_id: () -> String?
|
|
79
|
+
def postaim_presort_61: () -> String?
|
|
80
|
+
def postaim_presort_152: () -> String?
|
|
81
|
+
def publicity_post_zone: () -> String?
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class EcafAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "ecaf"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "IRL"
|
|
10
|
+
def country_iso: () -> String
|
|
11
|
+
# Known values: "IE"
|
|
12
|
+
def country_iso_2: () -> String
|
|
13
|
+
# Known values: "Ireland"
|
|
14
|
+
def country: () -> String
|
|
15
|
+
# Known values: "en", "ga"
|
|
16
|
+
def language: () -> String
|
|
17
|
+
def line_1: () -> String
|
|
18
|
+
def line_2: () -> String
|
|
19
|
+
def line_3: () -> String
|
|
20
|
+
def line_4: () -> String
|
|
21
|
+
def line_5: () -> String
|
|
22
|
+
def line_6: () -> String
|
|
23
|
+
def line_7: () -> String
|
|
24
|
+
def line_8: () -> String
|
|
25
|
+
def line_9: () -> String
|
|
26
|
+
def department: () -> String
|
|
27
|
+
def organisation: () -> String
|
|
28
|
+
def sub_building_name: () -> String
|
|
29
|
+
def building_name: () -> String
|
|
30
|
+
def building_number: () -> String
|
|
31
|
+
def building_group: () -> String
|
|
32
|
+
def primary_thoroughfare: () -> String
|
|
33
|
+
def secondary_thoroughfare: () -> String
|
|
34
|
+
def primary_locality: () -> String
|
|
35
|
+
def secondary_locality: () -> String
|
|
36
|
+
def tertiary_locality: () -> String
|
|
37
|
+
def post_county: () -> String
|
|
38
|
+
def eircode: () -> String
|
|
39
|
+
def address_reference: () -> String
|
|
40
|
+
def longitude: () -> (String | Float)
|
|
41
|
+
def latitude: () -> (String | Float)
|
|
42
|
+
def ecaf_id: () -> String?
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class Email < Model
|
|
6
|
+
# Known values: "deliverable", "not_deliverable"
|
|
7
|
+
def result: () -> String
|
|
8
|
+
def deliverable: () -> bool
|
|
9
|
+
def disposable: () -> bool
|
|
10
|
+
def free: () -> bool
|
|
11
|
+
def role: () -> bool
|
|
12
|
+
def catchall: () -> bool
|
|
13
|
+
def suggestions: () -> Array[String]
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class FodbosaAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "fodbosa"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "Belgium"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "BEL"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "BE"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
# Known values: "de", "fr", "nl"
|
|
16
|
+
def language: () -> String
|
|
17
|
+
def address: () -> String
|
|
18
|
+
def line_1: () -> String
|
|
19
|
+
def latitude: () -> (String | Float)
|
|
20
|
+
def longitude: () -> (String | Float)
|
|
21
|
+
def epsg_31370_x: () -> String
|
|
22
|
+
def epsg_31370_y: () -> String
|
|
23
|
+
def epsg_4326_lat: () -> String
|
|
24
|
+
def epsg_4326_lon: () -> String
|
|
25
|
+
def address_id: () -> String
|
|
26
|
+
def box_number: () -> String
|
|
27
|
+
def house_number: () -> String
|
|
28
|
+
def municipality_id: () -> String
|
|
29
|
+
def municipality_name_de: () -> String
|
|
30
|
+
def municipality_name_fr: () -> String
|
|
31
|
+
def municipality_name_nl: () -> String
|
|
32
|
+
def postcode: () -> String
|
|
33
|
+
def postname_fr: () -> String
|
|
34
|
+
def postname_nl: () -> String
|
|
35
|
+
def street_id: () -> String
|
|
36
|
+
def streetname_de: () -> String
|
|
37
|
+
def streetname_fr: () -> String
|
|
38
|
+
def streetname_nl: () -> String
|
|
39
|
+
def region_code: () -> String
|
|
40
|
+
def status: () -> String
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class GbrCleanseMatch < Model
|
|
6
|
+
def query: () -> String
|
|
7
|
+
def match: () -> Types::Address
|
|
8
|
+
def count: () -> Integer
|
|
9
|
+
def fit: () -> Float
|
|
10
|
+
def confidence: () -> Float
|
|
11
|
+
# Known values: "FULL", "PARTIAL", "INCORRECT", "MISSING", "NA"
|
|
12
|
+
def organisation_match: () -> String
|
|
13
|
+
# Known values: "FULL", "PARTIAL", "INCORRECT", "MISSING", "NA"
|
|
14
|
+
def premise_match: () -> String
|
|
15
|
+
# Known values: "FULL", "PARTIAL", "INCORRECT", "MISSING", "NA"
|
|
16
|
+
def postcode_match: () -> String
|
|
17
|
+
# Known values: "FULL", "PARTIAL", "INCORRECT", "MISSING", "NA"
|
|
18
|
+
def thoroughfare_match: () -> String
|
|
19
|
+
# Known values: "FULL", "PARTIAL", "INCORRECT", "MISSING", "NA"
|
|
20
|
+
def locality_match: () -> String
|
|
21
|
+
# Known values: "FULL", "PARTIAL", "INCORRECT", "MISSING", "NA"
|
|
22
|
+
def post_town_match: () -> String
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class GbrCleanseNoMatch < Model
|
|
6
|
+
def query: () -> String
|
|
7
|
+
def match: () -> Hash[String, untyped]?
|
|
8
|
+
# Known values: 0
|
|
9
|
+
def count: () -> Integer
|
|
10
|
+
# Known values: 0
|
|
11
|
+
def fit: () -> Integer
|
|
12
|
+
# Known values: 0
|
|
13
|
+
def confidence: () -> Integer
|
|
14
|
+
# Known values: "NO_MATCH"
|
|
15
|
+
def organisation_match: () -> String
|
|
16
|
+
# Known values: "NO_MATCH"
|
|
17
|
+
def premise_match: () -> String
|
|
18
|
+
# Known values: "NO_MATCH"
|
|
19
|
+
def postcode_match: () -> String
|
|
20
|
+
# Known values: "NO_MATCH"
|
|
21
|
+
def thoroughfare_match: () -> String
|
|
22
|
+
# Known values: "NO_MATCH"
|
|
23
|
+
def locality_match: () -> String
|
|
24
|
+
# Known values: "NO_MATCH"
|
|
25
|
+
def post_town_match: () -> String
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class GeonamesPlace < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "geonames"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
def geonameid: () -> Integer
|
|
10
|
+
def name: () -> String
|
|
11
|
+
def asciiname: () -> String
|
|
12
|
+
def alternatenames: () -> Array[String]
|
|
13
|
+
# Known values: "en", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", "da", "de",
|
|
14
|
+
# "el", "es", "et", "eu", "fi", "fo", "fr", "ga", "gl", "gn", "he", "hi", "hr", "hu", "hy",
|
|
15
|
+
# "id", "is", "it", "ja", "ka", "kk", "km", "kn", "ko", "lt", "lv", "mk", "mn", "ms", "mt",
|
|
16
|
+
# "my", "nl", "no", "pl", "pt", "rm", "ro", "ru", "sk", "sl", "sq", "sr", "sv", "ta", "th",
|
|
17
|
+
# "tr", "uk", "uz", "vi", "wa", "zh"
|
|
18
|
+
def language: () -> String
|
|
19
|
+
def latitude: () -> (String | Float)
|
|
20
|
+
def longitude: () -> (String | Float)
|
|
21
|
+
# Known values: "A", "P"
|
|
22
|
+
def feature_class: () -> String
|
|
23
|
+
def feature_code: () -> String
|
|
24
|
+
def country_code: () -> String
|
|
25
|
+
def country_iso: () -> String
|
|
26
|
+
def cc2: () -> Array[String]
|
|
27
|
+
def admin1_name: () -> String
|
|
28
|
+
def admin1_geonameid: () -> Integer?
|
|
29
|
+
def admin1_code: () -> String
|
|
30
|
+
def admin2_name: () -> String
|
|
31
|
+
def admin2_geonameid: () -> Integer?
|
|
32
|
+
def admin2_code: () -> String
|
|
33
|
+
def admin3_code: () -> String
|
|
34
|
+
def admin4_code: () -> String
|
|
35
|
+
def population: () -> String
|
|
36
|
+
def elevation: () -> Integer?
|
|
37
|
+
def dem: () -> Integer?
|
|
38
|
+
def timezone: () -> String
|
|
39
|
+
def modification_date: () -> String
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class GnafAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "gnaf"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "Australia", "Cocos (Keeling) Islands", "Christmas Island", "Norfolk Island"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "AUS", "CCK", "CXR", "NFK"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "AU", "CC", "CX", "NF"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
def line_1: () -> String
|
|
16
|
+
def line_2: () -> String
|
|
17
|
+
# Known values: "en"
|
|
18
|
+
def language: () -> String
|
|
19
|
+
def address: () -> String
|
|
20
|
+
def latitude: () -> (String | Float)
|
|
21
|
+
def longitude: () -> (String | Float)
|
|
22
|
+
def address_detail_pid: () -> String
|
|
23
|
+
def date_created: () -> String
|
|
24
|
+
def date_last_modified: () -> String
|
|
25
|
+
def date_retired: () -> String
|
|
26
|
+
def building_name: () -> String
|
|
27
|
+
def lot_number_prefix: () -> String
|
|
28
|
+
def lot_number: () -> String
|
|
29
|
+
def lot_number_suffix: () -> String
|
|
30
|
+
def flat_type_code: () -> String
|
|
31
|
+
def flat_number_prefix: () -> String
|
|
32
|
+
def flat_number: () -> (String | Integer)
|
|
33
|
+
def flat_number_suffix: () -> String
|
|
34
|
+
def level_type_code: () -> String
|
|
35
|
+
def level_number_prefix: () -> String
|
|
36
|
+
def level_number: () -> (String | Integer)
|
|
37
|
+
def level_number_suffix: () -> String
|
|
38
|
+
def number_first_prefix: () -> String
|
|
39
|
+
def number_first: () -> (String | Integer)
|
|
40
|
+
def number_first_suffix: () -> String
|
|
41
|
+
def number_last_prefix: () -> String
|
|
42
|
+
def number_last: () -> (String | Integer)
|
|
43
|
+
def number_last_suffix: () -> String
|
|
44
|
+
def street_locality_pid: () -> String
|
|
45
|
+
def alias_principal: () -> String
|
|
46
|
+
def postcode: () -> String
|
|
47
|
+
def private_street: () -> String
|
|
48
|
+
def legal_parcel_id: () -> String
|
|
49
|
+
def confidence: () -> (String | Integer)
|
|
50
|
+
def level_geocoded_code: () -> Integer
|
|
51
|
+
def primary_secondary: () -> String
|
|
52
|
+
def alias_type_code: () -> String
|
|
53
|
+
def geocode_type_code: () -> String
|
|
54
|
+
def default_latitude: () -> (String | Float)
|
|
55
|
+
def default_longitude: () -> (String | Float)
|
|
56
|
+
def address_change_type_code: () -> String
|
|
57
|
+
def mb_2016_match_code: () -> String
|
|
58
|
+
def mb_2021_match_code: () -> String
|
|
59
|
+
def address_type: () -> String
|
|
60
|
+
def address_site_name: () -> String
|
|
61
|
+
def geocode_site_name: () -> String
|
|
62
|
+
def site_geocode_type_code: () -> String
|
|
63
|
+
def reliability_code: () -> String
|
|
64
|
+
def site_boundary_extent: () -> String
|
|
65
|
+
def site_planimetric_accuracy: () -> String
|
|
66
|
+
def elevation: () -> String
|
|
67
|
+
def site_longitude: () -> String
|
|
68
|
+
def site_latitude: () -> String
|
|
69
|
+
def geocode_type_priority_order: () -> (String | Integer)
|
|
70
|
+
def site_geocode_priority_order: () -> String
|
|
71
|
+
def locality_name: () -> String
|
|
72
|
+
def primary_postcode: () -> String
|
|
73
|
+
def locality_class_code: () -> String
|
|
74
|
+
def locality_gnaf_reliability_code: () -> (String | Integer)
|
|
75
|
+
def locality_alias_name: () -> String
|
|
76
|
+
def locality_alias_postcode: () -> String
|
|
77
|
+
def locality_alias_type_code: () -> String
|
|
78
|
+
def locality_planimetric_accuracy: () -> (String | Integer)
|
|
79
|
+
def locality_latitude: () -> (String | Float)
|
|
80
|
+
def locality_longitude: () -> (String | Float)
|
|
81
|
+
def mb_2016_code: () -> String
|
|
82
|
+
def mb_2021_code: () -> String
|
|
83
|
+
def ps_join_type_code: () -> String
|
|
84
|
+
def state_name: () -> String
|
|
85
|
+
def state_abbreviation: () -> String
|
|
86
|
+
def street_class_code: () -> String
|
|
87
|
+
def street_name: () -> String
|
|
88
|
+
def street_type_code: () -> String
|
|
89
|
+
def street_suffix_code: () -> String
|
|
90
|
+
def gnaf_street_confidence: () -> (String | Integer)
|
|
91
|
+
def street_locality_gnaf_reliability_code: () -> (String | Integer)
|
|
92
|
+
def street_locality_alias_street_name: () -> String
|
|
93
|
+
def street_locality_alias_street_type_code: () -> String
|
|
94
|
+
def street_locality_alias_street_suffix_code: () -> String
|
|
95
|
+
def street_locality_alias_type_code: () -> String
|
|
96
|
+
def street_locality_boundary_extent: () -> (String | Integer)
|
|
97
|
+
def street_locality_planimetric_accuracy: () -> (String | Integer)
|
|
98
|
+
def street_locality_latitude: () -> (String | Float)
|
|
99
|
+
def street_locality_longitude: () -> (String | Float)
|
|
100
|
+
def street_type_name: () -> String
|
|
101
|
+
def street_locality_alias_street_type_name: () -> String
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class HereAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
def country_iso: () -> String
|
|
8
|
+
# Known values: "herewe", "heret", "heresa", "hereo", "herena", "heremeas", "heremea",
|
|
9
|
+
# "herem", "herei", "herehk", "hereee", "hereap"
|
|
10
|
+
def dataset: () -> String
|
|
11
|
+
def language: () -> String
|
|
12
|
+
def line_1: () -> String
|
|
13
|
+
def line_2: () -> String
|
|
14
|
+
def line_3: () -> String
|
|
15
|
+
def line_4: () -> String
|
|
16
|
+
def line_5: () -> String
|
|
17
|
+
def address: () -> String
|
|
18
|
+
def delivery_latitude: () -> (String | Float)
|
|
19
|
+
def delivery_longitude: () -> (String | Float)
|
|
20
|
+
def building_name: () -> String
|
|
21
|
+
def latitude: () -> (String | Float)
|
|
22
|
+
def longitude: () -> (String | Float)
|
|
23
|
+
def street_name: () -> String
|
|
24
|
+
def postal_code: () -> String
|
|
25
|
+
def order1_name: () -> String
|
|
26
|
+
def order2_name: () -> String
|
|
27
|
+
def order8_name: () -> String
|
|
28
|
+
def builtup_name: () -> String
|
|
29
|
+
def poi_name: () -> String
|
|
30
|
+
def building_unit_name: () -> String
|
|
31
|
+
def level_name: () -> String
|
|
32
|
+
def unit_name: () -> String
|
|
33
|
+
def suppl_address_info: () -> String
|
|
34
|
+
def building_grp_name: () -> String
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class InvalidPhoneNumber < Model
|
|
6
|
+
# Known values: false
|
|
7
|
+
def valid: () -> bool
|
|
8
|
+
def national_format: () -> nil
|
|
9
|
+
def international_format: () -> nil
|
|
10
|
+
def iso_country: () -> nil
|
|
11
|
+
def iso_country_2: () -> nil
|
|
12
|
+
def country: () -> nil
|
|
13
|
+
def current_carrier: () -> nil
|
|
14
|
+
def original_carrier: () -> nil
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class KadasterAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "kadaster"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "Netherlands"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "NLD"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "NL"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
def line_1: () -> String
|
|
16
|
+
# Known values: "nl"
|
|
17
|
+
def language: () -> String
|
|
18
|
+
def address: () -> String
|
|
19
|
+
def identificatie: () -> String
|
|
20
|
+
def latitude: () -> (String | Float)
|
|
21
|
+
def longitude: () -> (String | Float)
|
|
22
|
+
def gebruiksdoel: () -> String
|
|
23
|
+
def oppervlakte: () -> Integer
|
|
24
|
+
def status: () -> String
|
|
25
|
+
def geconstateerd: () -> bool
|
|
26
|
+
def documentdatum: () -> String
|
|
27
|
+
def documentnummer: () -> String
|
|
28
|
+
def voorkomenidentificatie: () -> (String | Integer)
|
|
29
|
+
def begin_geldigheid: () -> String
|
|
30
|
+
def eind_geldigheid: () -> String
|
|
31
|
+
def tijdstip_registratie: () -> String
|
|
32
|
+
def eind_registratie: () -> String
|
|
33
|
+
def tijdstip_registratie_lv: () -> String
|
|
34
|
+
def tijdstip_eind_registratie_lv: () -> String
|
|
35
|
+
def nummeraanduidingen_identificatie: () -> String
|
|
36
|
+
def nummeraanduidingen_huisnummer: () -> String
|
|
37
|
+
def nummeraanduidingen_huisnummertoevoeging: () -> String
|
|
38
|
+
def nummeraanduidingen_huisletter: () -> String
|
|
39
|
+
def nummeraanduidingen_postcode: () -> String
|
|
40
|
+
def nummeraanduidingen_type_adresseerbaar_object: () -> String
|
|
41
|
+
def nummeraanduidingen_status: () -> String
|
|
42
|
+
def nummeraanduidingen_geconstateerd: () -> bool
|
|
43
|
+
def nummeraanduidingen_documentdatum: () -> String
|
|
44
|
+
def nummeraanduidingen_documentnummer: () -> String
|
|
45
|
+
def nummeraanduidingen_voorkomenidentificatie: () -> (String | Integer)
|
|
46
|
+
def nummeraanduidingen_begin_geldigheid: () -> String
|
|
47
|
+
def nummeraanduidingen_eind_geldigheid: () -> String
|
|
48
|
+
def nummeraanduidingen_tijdstip_registratie: () -> String
|
|
49
|
+
def nummeraanduidingen_eind_registratie: () -> String
|
|
50
|
+
def nummeraanduidingen_tijdstip_registratie_lv: () -> String
|
|
51
|
+
def nummeraanduidingen_tijdstip_eind_registratie_lv: () -> String
|
|
52
|
+
def pand_identificatie: () -> String
|
|
53
|
+
def pand_oorspronkelijk_bouwjaar: () -> (String | Integer)
|
|
54
|
+
def pand_status: () -> String
|
|
55
|
+
def pand_geconstateerd: () -> bool
|
|
56
|
+
def pand_documentdatum: () -> String
|
|
57
|
+
def pand_documentnummer: () -> String
|
|
58
|
+
def pand_voorkomenidentificatie: () -> (String | Integer)
|
|
59
|
+
def pand_begin_geldigheid: () -> String
|
|
60
|
+
def pand_eind_geldigheid: () -> String
|
|
61
|
+
def pand_tijdstip_registratie: () -> String
|
|
62
|
+
def pand_eind_registratie: () -> String
|
|
63
|
+
def pand_tijdstip_registratie_lv: () -> String
|
|
64
|
+
def pand_tijdstip_eind_registratie_lv: () -> String
|
|
65
|
+
def openbare_ruimte_identificatie: () -> String
|
|
66
|
+
def openbare_ruimte_naam: () -> String
|
|
67
|
+
def openbare_ruimte_type: () -> String
|
|
68
|
+
def openbare_ruimte_status: () -> String
|
|
69
|
+
def openbare_ruimte_geconstateerd: () -> bool
|
|
70
|
+
def openbare_ruimte_documentdatum: () -> String
|
|
71
|
+
def openbare_ruimte_documentnummer: () -> String
|
|
72
|
+
def openbare_ruimte_voorkomenidentificatie: () -> (String | Integer)
|
|
73
|
+
def openbare_ruimte_begin_geldigheid: () -> String
|
|
74
|
+
def openbare_ruimte_eind_geldigheid: () -> String
|
|
75
|
+
def openbare_ruimte_tijdstip_registratie: () -> String
|
|
76
|
+
def openbare_ruimte_eind_registratie: () -> String
|
|
77
|
+
def openbare_ruimte_tijdstip_registratie_lv: () -> String
|
|
78
|
+
def openbare_ruimte_tijdstip_eind_registratie_lv: () -> String
|
|
79
|
+
def openbare_ruimte_verkorte_naam: () -> String
|
|
80
|
+
def woonplaats_identificatie: () -> String
|
|
81
|
+
def woonplaats_naam: () -> String
|
|
82
|
+
def woonplaats_status: () -> String
|
|
83
|
+
def woonplaats_geconstateerd: () -> bool
|
|
84
|
+
def woonplaats_documentdatum: () -> String
|
|
85
|
+
def woonplaats_documentnummer: () -> String
|
|
86
|
+
def woonplaats_voorkomenidentificatie: () -> (String | Integer)
|
|
87
|
+
def woonplaats_begin_geldigheid: () -> String
|
|
88
|
+
def woonplaats_eind_geldigheid: () -> String
|
|
89
|
+
def woonplaats_tijdstip_registratie: () -> String
|
|
90
|
+
def woonplaats_eind_registratie: () -> String
|
|
91
|
+
def woonplaats_tijdstip_registratie_lv: () -> String
|
|
92
|
+
def woonplaats_tijdstip_eind_registratie_lv: () -> String
|
|
93
|
+
# Known values: "Drenthe", "Flevoland", "Friesland", "Gelderland", "Groningen", "Limburg",
|
|
94
|
+
# "Noord-Brabant", "Noord-Holland", "Overijssel", "Utrecht", "Zeeland", "Zuid-Holland", ""
|
|
95
|
+
def provincie: () -> String
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class KartverketAddress < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
# Known values: "kartverket"
|
|
8
|
+
def dataset: () -> String
|
|
9
|
+
# Known values: "Norway", "Svalbard and Jan Mayen"
|
|
10
|
+
def country: () -> String
|
|
11
|
+
# Known values: "NOR", "SJM"
|
|
12
|
+
def country_iso: () -> String
|
|
13
|
+
# Known values: "NO", "SJ"
|
|
14
|
+
def country_iso_2: () -> String
|
|
15
|
+
def line_1: () -> String
|
|
16
|
+
def line_2: () -> String
|
|
17
|
+
# Known values: "no"
|
|
18
|
+
def language: () -> String
|
|
19
|
+
def address: () -> String
|
|
20
|
+
def latitude: () -> (String | Float)
|
|
21
|
+
def longitude: () -> (String | Float)
|
|
22
|
+
def lokal_id: () -> String
|
|
23
|
+
def kommunenummer: () -> String
|
|
24
|
+
def kommunenavn: () -> String
|
|
25
|
+
def adressetype: () -> String
|
|
26
|
+
def adressetilleggsnavn: () -> String
|
|
27
|
+
def adressetilleggsnavn_kilde: () -> String
|
|
28
|
+
def adressekode: () -> (String | Integer)
|
|
29
|
+
def adressenavn: () -> String
|
|
30
|
+
def nummer: () -> (String | Integer)
|
|
31
|
+
def bokstav: () -> String
|
|
32
|
+
def gardsnummer: () -> Integer
|
|
33
|
+
def bruksnummer: () -> Integer
|
|
34
|
+
def festenummer: () -> (String | Integer)
|
|
35
|
+
def seksjonsnummer: () -> (String | Integer)
|
|
36
|
+
def undernummer: () -> (String | Integer)
|
|
37
|
+
def adresse_tekst: () -> String
|
|
38
|
+
def adresse_tekst_uten_adressetilleggsnavn: () -> String
|
|
39
|
+
def bruksenhet_id: () -> String
|
|
40
|
+
def bruksenhetsnummer_tekst: () -> String
|
|
41
|
+
def offisiell_adresse_tekst: () -> String
|
|
42
|
+
def offisiell_adresse_tekst_uten_adressetilleggsnavn: () -> String
|
|
43
|
+
def epsg_kode: () -> Integer
|
|
44
|
+
def nord: () -> String
|
|
45
|
+
def oest: () -> String
|
|
46
|
+
def postnummer: () -> String
|
|
47
|
+
def poststed: () -> String
|
|
48
|
+
def grunnkretsnummer: () -> String
|
|
49
|
+
def grunnkretsnavn: () -> String
|
|
50
|
+
def soknenummer: () -> String
|
|
51
|
+
def soknenavn: () -> String
|
|
52
|
+
def organisasjonsnummer: () -> String
|
|
53
|
+
def tettstednummer: () -> String
|
|
54
|
+
def tettstednavn: () -> String
|
|
55
|
+
def valgkretsnummer: () -> (String | Integer)
|
|
56
|
+
def valgkretsnavn: () -> String
|
|
57
|
+
def oppdateringsdato: () -> String
|
|
58
|
+
def datauttaksdato: () -> String
|
|
59
|
+
def adresse_id: () -> String
|
|
60
|
+
def uuid_adresse: () -> String
|
|
61
|
+
def uuid_bruksenhet: () -> String
|
|
62
|
+
def atkomst_id: () -> String
|
|
63
|
+
def uuid_atkomst: () -> String
|
|
64
|
+
def atkomst_nord: () -> String
|
|
65
|
+
def atkomst_oest: () -> String
|
|
66
|
+
def sommeratkomst_id: () -> String
|
|
67
|
+
def uuid_sommeratkomst: () -> String
|
|
68
|
+
def sommeratkomst_nord: () -> String
|
|
69
|
+
def sommeratkomst_oest: () -> String
|
|
70
|
+
def vinteratkomst_id: () -> String
|
|
71
|
+
def uuid_vinteratkomst: () -> String
|
|
72
|
+
def vinteratkomst_nord: () -> String
|
|
73
|
+
def vinteratkomst_oest: () -> String
|
|
74
|
+
def fylke: () -> String
|
|
75
|
+
def landsdel: () -> String
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class KeyUsageResult < Model
|
|
6
|
+
def start: () -> String
|
|
7
|
+
def end: () -> String
|
|
8
|
+
def total: () -> Integer
|
|
9
|
+
def dailyCount: () -> Array[Types::KeyUsageDay]
|
|
10
|
+
alias daily_count dailyCount
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
2
|
+
|
|
3
|
+
module IdealPostcodes
|
|
4
|
+
module Types
|
|
5
|
+
class Licensee < Model
|
|
6
|
+
def id: () -> String
|
|
7
|
+
def key: () -> String
|
|
8
|
+
def createdAt: () -> String
|
|
9
|
+
alias created_at createdAt
|
|
10
|
+
def name: () -> String
|
|
11
|
+
def address: () -> String
|
|
12
|
+
def postcode: () -> String
|
|
13
|
+
def whitelist: () -> Array[String]
|
|
14
|
+
def daily: () -> Types::LicenseeDailyUsage
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|