cloudmersive-validate-api-client 1.4.2 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -154
  3. data/Gemfile +0 -7
  4. data/README.md +0 -158
  5. data/Rakefile +0 -8
  6. data/cloudmersive-validate-api-client.gemspec +0 -45
  7. data/docs/AddressApi.md +0 -228
  8. data/docs/AddressGetServersResponse.md +0 -9
  9. data/docs/AddressVerifySyntaxOnlyResponse.md +0 -11
  10. data/docs/CheckResponse.md +0 -8
  11. data/docs/DomainApi.md +0 -228
  12. data/docs/EmailApi.md +0 -173
  13. data/docs/FirstNameValidationRequest.md +0 -8
  14. data/docs/FirstNameValidationResponse.md +0 -9
  15. data/docs/FullEmailValidationResponse.md +0 -16
  16. data/docs/FullNameValidationRequest.md +0 -8
  17. data/docs/FullNameValidationResponse.md +0 -17
  18. data/docs/GeolocateResponse.md +0 -16
  19. data/docs/GetGenderRequest.md +0 -9
  20. data/docs/GetGenderResponse.md +0 -9
  21. data/docs/GetTimezonesRequest.md +0 -8
  22. data/docs/GetTimezonesResponse.md +0 -13
  23. data/docs/IPAddressApi.md +0 -63
  24. data/docs/LastNameValidationRequest.md +0 -8
  25. data/docs/LastNameValidationResponse.md +0 -9
  26. data/docs/LeadEnrichmentApi.md +0 -61
  27. data/docs/LeadEnrichmentRequest.md +0 -21
  28. data/docs/LeadEnrichmentResponse.md +0 -25
  29. data/docs/NameApi.md +0 -283
  30. data/docs/ParseAddressRequest.md +0 -9
  31. data/docs/ParseAddressResponse.md +0 -16
  32. data/docs/PhoneNumberApi.md +0 -63
  33. data/docs/PhoneNumberValidateRequest.md +0 -9
  34. data/docs/PhoneNumberValidationResponse.md +0 -15
  35. data/docs/Timezone.md +0 -10
  36. data/docs/UserAgentApi.md +0 -63
  37. data/docs/UserAgentValidateRequest.md +0 -8
  38. data/docs/UserAgentValidateResponse.md +0 -21
  39. data/docs/ValidateAddressRequest.md +0 -13
  40. data/docs/ValidateAddressResponse.md +0 -10
  41. data/docs/ValidateCountryRequest.md +0 -8
  42. data/docs/ValidateCountryResponse.md +0 -13
  43. data/docs/ValidateIdentifierRequest.md +0 -15
  44. data/docs/ValidateIdentifierResponse.md +0 -9
  45. data/docs/ValidateUrlRequestFull.md +0 -8
  46. data/docs/ValidateUrlRequestSyntaxOnly.md +0 -8
  47. data/docs/ValidateUrlResponseFull.md +0 -12
  48. data/docs/ValidateUrlResponseSyntaxOnly.md +0 -9
  49. data/docs/VatApi.md +0 -63
  50. data/docs/VatLookupRequest.md +0 -8
  51. data/docs/VatLookupResponse.md +0 -19
  52. data/docs/WhoisResponse.md +0 -22
  53. data/git_push.sh +0 -55
  54. data/lib/cloudmersive-validate-api-client.rb +0 -85
  55. data/lib/cloudmersive-validate-api-client/api/address_api.rb +0 -243
  56. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +0 -243
  57. data/lib/cloudmersive-validate-api-client/api/email_api.rb +0 -188
  58. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +0 -78
  59. data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +0 -78
  60. data/lib/cloudmersive-validate-api-client/api/name_api.rb +0 -298
  61. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +0 -78
  62. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +0 -78
  63. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +0 -78
  64. data/lib/cloudmersive-validate-api-client/api_client.rb +0 -389
  65. data/lib/cloudmersive-validate-api-client/api_error.rb +0 -38
  66. data/lib/cloudmersive-validate-api-client/configuration.rb +0 -209
  67. data/lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb +0 -201
  68. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +0 -219
  69. data/lib/cloudmersive-validate-api-client/models/check_response.rb +0 -189
  70. data/lib/cloudmersive-validate-api-client/models/first_name_validation_request.rb +0 -189
  71. data/lib/cloudmersive-validate-api-client/models/first_name_validation_response.rb +0 -199
  72. data/lib/cloudmersive-validate-api-client/models/full_email_validation_response.rb +0 -269
  73. data/lib/cloudmersive-validate-api-client/models/full_name_validation_request.rb +0 -189
  74. data/lib/cloudmersive-validate-api-client/models/full_name_validation_response.rb +0 -279
  75. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +0 -269
  76. data/lib/cloudmersive-validate-api-client/models/get_gender_request.rb +0 -199
  77. data/lib/cloudmersive-validate-api-client/models/get_gender_response.rb +0 -199
  78. data/lib/cloudmersive-validate-api-client/models/get_timezones_request.rb +0 -189
  79. data/lib/cloudmersive-validate-api-client/models/get_timezones_response.rb +0 -241
  80. data/lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb +0 -189
  81. data/lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb +0 -199
  82. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +0 -319
  83. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +0 -359
  84. data/lib/cloudmersive-validate-api-client/models/parse_address_request.rb +0 -199
  85. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +0 -269
  86. data/lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb +0 -199
  87. data/lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb +0 -259
  88. data/lib/cloudmersive-validate-api-client/models/timezone.rb +0 -209
  89. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb +0 -189
  90. data/lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb +0 -319
  91. data/lib/cloudmersive-validate-api-client/models/validate_address_request.rb +0 -239
  92. data/lib/cloudmersive-validate-api-client/models/validate_address_response.rb +0 -209
  93. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +0 -189
  94. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +0 -241
  95. data/lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb +0 -259
  96. data/lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb +0 -199
  97. data/lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb +0 -189
  98. data/lib/cloudmersive-validate-api-client/models/validate_url_request_syntax_only.rb +0 -189
  99. data/lib/cloudmersive-validate-api-client/models/validate_url_response_full.rb +0 -229
  100. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +0 -199
  101. data/lib/cloudmersive-validate-api-client/models/vat_lookup_request.rb +0 -189
  102. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +0 -299
  103. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +0 -329
  104. data/lib/cloudmersive-validate-api-client/version.rb +0 -15
  105. data/spec/api/address_api_spec.rb +0 -83
  106. data/spec/api/domain_api_spec.rb +0 -83
  107. data/spec/api/email_api_spec.rb +0 -71
  108. data/spec/api/ip_address_api_spec.rb +0 -47
  109. data/spec/api/lead_enrichment_api_spec.rb +0 -47
  110. data/spec/api/name_api_spec.rb +0 -95
  111. data/spec/api/phone_number_api_spec.rb +0 -47
  112. data/spec/api/user_agent_api_spec.rb +0 -47
  113. data/spec/api/vat_api_spec.rb +0 -47
  114. data/spec/api_client_spec.rb +0 -226
  115. data/spec/configuration_spec.rb +0 -42
  116. data/spec/models/address_get_servers_response_spec.rb +0 -48
  117. data/spec/models/address_verify_syntax_only_response_spec.rb +0 -60
  118. data/spec/models/check_response_spec.rb +0 -42
  119. data/spec/models/first_name_validation_request_spec.rb +0 -42
  120. data/spec/models/first_name_validation_response_spec.rb +0 -48
  121. data/spec/models/full_email_validation_response_spec.rb +0 -90
  122. data/spec/models/full_name_validation_request_spec.rb +0 -42
  123. data/spec/models/full_name_validation_response_spec.rb +0 -96
  124. data/spec/models/geolocate_response_spec.rb +0 -90
  125. data/spec/models/get_gender_request_spec.rb +0 -48
  126. data/spec/models/get_gender_response_spec.rb +0 -48
  127. data/spec/models/get_timezones_request_spec.rb +0 -42
  128. data/spec/models/get_timezones_response_spec.rb +0 -72
  129. data/spec/models/last_name_validation_request_spec.rb +0 -42
  130. data/spec/models/last_name_validation_response_spec.rb +0 -48
  131. data/spec/models/lead_enrichment_request_spec.rb +0 -120
  132. data/spec/models/lead_enrichment_response_spec.rb +0 -144
  133. data/spec/models/parse_address_request_spec.rb +0 -48
  134. data/spec/models/parse_address_response_spec.rb +0 -90
  135. data/spec/models/phone_number_validate_request_spec.rb +0 -48
  136. data/spec/models/phone_number_validation_response_spec.rb +0 -84
  137. data/spec/models/timezone_spec.rb +0 -54
  138. data/spec/models/user_agent_validate_request_spec.rb +0 -42
  139. data/spec/models/user_agent_validate_response_spec.rb +0 -120
  140. data/spec/models/validate_address_request_spec.rb +0 -72
  141. data/spec/models/validate_address_response_spec.rb +0 -54
  142. data/spec/models/validate_country_request_spec.rb +0 -42
  143. data/spec/models/validate_country_response_spec.rb +0 -72
  144. data/spec/models/validate_identifier_request_spec.rb +0 -84
  145. data/spec/models/validate_identifier_response_spec.rb +0 -48
  146. data/spec/models/validate_url_request_full_spec.rb +0 -42
  147. data/spec/models/validate_url_request_syntax_only_spec.rb +0 -42
  148. data/spec/models/validate_url_response_full_spec.rb +0 -66
  149. data/spec/models/validate_url_response_syntax_only_spec.rb +0 -48
  150. data/spec/models/vat_lookup_request_spec.rb +0 -42
  151. data/spec/models/vat_lookup_response_spec.rb +0 -108
  152. data/spec/models/whois_response_spec.rb +0 -126
  153. data/spec/spec_helper.rb +0 -111
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::ParseAddressRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **address_string** | **String** | A mailing address or street address formatted as a single text string; this will be parsed into its components | [optional]
7
- **capitalization_mode** | **String** | Optional; indicates how the parsed output should be capitalized; default is Title Case; possible values are: \"Uppercase\" will set the capitalization to UPPER CASE; \"Lowercase\" will set the capitalization to lower case; \"Titlecase\" will set the capitalization to Title Case; and \"Originalcase\" will preserve the original casing as much as possible | [optional]
8
-
9
-
@@ -1,16 +0,0 @@
1
- # CloudmersiveValidateApiClient::ParseAddressResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the parsing operation was successful, false otherwise | [optional]
7
- **building** | **String** | The name of the building, house or structure if applicable, such as \"Cloudmersive Building 2\". This will often by null. | [optional]
8
- **street_number** | **String** | The street number or house number of the address. For example, in the address \"1600 Pennsylvania Avenue NW\" the street number would be \"1600\". This value will typically be populated for most addresses. | [optional]
9
- **street** | **String** | The name of the street or road of the address. For example, in the address \"1600 Pennsylvania Avenue NW\" the street number would be \"Pennsylvania Avenue NW\". | [optional]
10
- **city** | **String** | The city of the address. | [optional]
11
- **state_or_province** | **String** | The state or province of the address. | [optional]
12
- **postal_code** | **String** | The postal code or zip code of the address. | [optional]
13
- **country_full_name** | **String** | Country of the address, if present in the address. If not included in the address it will be null. | [optional]
14
- **iso_two_letter_code** | **String** | Two-letter ISO 3166-1 country code | [optional]
15
-
16
-
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::PhoneNumberApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**phone_number_syntax_only**](PhoneNumberApi.md#phone_number_syntax_only) | **POST** /validate/phonenumber/basic | Validate phone number (basic)
8
-
9
-
10
- # **phone_number_syntax_only**
11
- > PhoneNumberValidationResponse phone_number_syntax_only(value)
12
-
13
- Validate phone number (basic)
14
-
15
- Validate a phone number by analyzing the syntax
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'cloudmersive-validate-api-client'
21
- # setup authorization
22
- CloudmersiveValidateApiClient.configure do |config|
23
- # Configure API key authorization: Apikey
24
- config.api_key['Apikey'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['Apikey'] = 'Bearer'
27
- end
28
-
29
- api_instance = CloudmersiveValidateApiClient::PhoneNumberApi.new
30
-
31
- value = CloudmersiveValidateApiClient::PhoneNumberValidateRequest.new # PhoneNumberValidateRequest | Phone number to validate in a PhoneNumberValidateRequest object. Try a phone number such as \"1.800.463.3339\", and either leave DefaultCountryCode blank or use \"US\".
32
-
33
-
34
- begin
35
- #Validate phone number (basic)
36
- result = api_instance.phone_number_syntax_only(value)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling PhoneNumberApi->phone_number_syntax_only: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **value** | [**PhoneNumberValidateRequest**](PhoneNumberValidateRequest.md)| Phone number to validate in a PhoneNumberValidateRequest object. Try a phone number such as \"1.800.463.3339\", and either leave DefaultCountryCode blank or use \"US\". |
48
-
49
- ### Return type
50
-
51
- [**PhoneNumberValidationResponse**](PhoneNumberValidationResponse.md)
52
-
53
- ### Authorization
54
-
55
- [Apikey](../README.md#Apikey)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: application/json, text/json
60
- - **Accept**: application/json, text/json, application/xml, text/xml
61
-
62
-
63
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::PhoneNumberValidateRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **phone_number** | **String** | Raw phone number string to parse as input for validation | [optional]
7
- **default_country_code** | **String** | Optional, default country code. If left blank, will default to \"US\". | [optional]
8
-
9
-
@@ -1,15 +0,0 @@
1
- # CloudmersiveValidateApiClient::PhoneNumberValidationResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **is_valid** | **BOOLEAN** | True if the phone number is valid, false otherwise | [optional]
7
- **successful** | **BOOLEAN** | True if the operation was successful, false if there was an error during validation. See IsValid for validation result. | [optional]
8
- **phone_number_type** | **String** | Type of phone number; possible values are: FixedLine, Mobile, FixedLineOrMobile, TollFree, PremiumRate, SharedCost, Voip, PersonalNumber, Pager, Uan, Voicemail, Unknown | [optional]
9
- **e164_format** | **String** | E.164 format of the phone number | [optional]
10
- **international_format** | **String** | Internaltional format of the phone number | [optional]
11
- **national_format** | **String** | National format of the phone number | [optional]
12
- **country_code** | **String** | Two digit country code of the phone number | [optional]
13
- **country_name** | **String** | User-friendly long name of the country for the phone number | [optional]
14
-
15
-
@@ -1,10 +0,0 @@
1
- # CloudmersiveValidateApiClient::Timezone
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **name** | **String** | Name of the Time Zone | [optional]
7
- **base_utc_offset** | **String** | UTC offset for this time zone | [optional]
8
- **now** | **DateTime** | The current time (Now) in this time zone | [optional]
9
-
10
-
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::UserAgentApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**user_agent_parse**](UserAgentApi.md#user_agent_parse) | **POST** /validate/useragent/parse | Parse an HTTP User-Agent string, identify robots
8
-
9
-
10
- # **user_agent_parse**
11
- > UserAgentValidateResponse user_agent_parse(request)
12
-
13
- Parse an HTTP User-Agent string, identify robots
14
-
15
- Uses a parsing system and database to parse the User-Agent into its structured component parts, such as Browser, Browser Version, Browser Engine, Operating System, and importantly, Robot identification.
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'cloudmersive-validate-api-client'
21
- # setup authorization
22
- CloudmersiveValidateApiClient.configure do |config|
23
- # Configure API key authorization: Apikey
24
- config.api_key['Apikey'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['Apikey'] = 'Bearer'
27
- end
28
-
29
- api_instance = CloudmersiveValidateApiClient::UserAgentApi.new
30
-
31
- request = CloudmersiveValidateApiClient::UserAgentValidateRequest.new # UserAgentValidateRequest | Input parse request
32
-
33
-
34
- begin
35
- #Parse an HTTP User-Agent string, identify robots
36
- result = api_instance.user_agent_parse(request)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling UserAgentApi->user_agent_parse: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **request** | [**UserAgentValidateRequest**](UserAgentValidateRequest.md)| Input parse request |
48
-
49
- ### Return type
50
-
51
- [**UserAgentValidateResponse**](UserAgentValidateResponse.md)
52
-
53
- ### Authorization
54
-
55
- [Apikey](../README.md#Apikey)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: application/json, text/json
60
- - **Accept**: application/json, text/json, application/xml, text/xml
61
-
62
-
63
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::UserAgentValidateRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **user_agent_string** | **String** | The user agent string you wish to parse and validate | [optional]
7
-
8
-
@@ -1,21 +0,0 @@
1
- # CloudmersiveValidateApiClient::UserAgentValidateResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if the operation was successful, false otherwise | [optional]
7
- **is_bot** | **BOOLEAN** | True if the request is a known robot, false otherwise | [optional]
8
- **bot_name** | **String** | Optional; name of the robot if the request was from a known robot, otherwise null | [optional]
9
- **bot_url** | **String** | Optional; if available, the URL to the robot | [optional]
10
- **operating_system** | **String** | Operating System of the User-Agent (e.g. Windows) | [optional]
11
- **operating_system_cpu_platform** | **String** | The CPU platform of the User-Agent (e.g. x64) | [optional]
12
- **operating_system_version** | **String** | The version of the operating system of the User-Agent (e.g. \"10\" for Windows 10) | [optional]
13
- **device_type** | **String** | Device type of the User-Agent; possible values are \"DESKTOP\", \"SMARTPHONE\", \"TABLET\" | [optional]
14
- **device_brand_name** | **String** | Brand name of the User-Agent | [optional]
15
- **device_model** | **String** | Model name or number of the User-Agent | [optional]
16
- **browser_name** | **String** | Name of the Browser | [optional]
17
- **browser_version** | **String** | Version of the Browser | [optional]
18
- **browser_engine_name** | **String** | Name of the Browser Engine | [optional]
19
- **browser_engine_version** | **String** | Version of the Browser Engine | [optional]
20
-
21
-
@@ -1,13 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateAddressRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **street_address** | **String** | Required; Street address to validate, such as '2950 Buskirk Ave.' | [optional]
7
- **city** | **String** | Required; City part of the addrerss to validate, such as 'Walnut Creek' | [optional]
8
- **state_or_province** | **String** | Required; State or province of the address to validate, such as 'CA' or 'California' | [optional]
9
- **postal_code** | **String** | Optional (recommended); Zip code or postal code of the address to validate, such as '94597' | [optional]
10
- **country_full_name** | **String** | Optional (recommended); Name of the country, such as 'United States'. If left blank, and CountryCode is also left blank, will default to United States. Global countries are supported. | [optional]
11
- **country_code** | **String** | Optional; two-letter country code (Two-letter ISO 3166-1 country code) of the country. If left blank, and CountryFullName is also left blank, will default to United States. Global countries are supported. | [optional]
12
-
13
-
@@ -1,10 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateAddressResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_address** | **BOOLEAN** | True if the address is valid, false otherwise | [optional]
7
- **latitude** | **Float** | If the address is valid, the degrees latitude of the validated address, null otherwise | [optional]
8
- **longitude** | **Float** | If the address is valid, the degrees longitude of the validated address, null otherwise | [optional]
9
-
10
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateCountryRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **raw_country_input** | **String** | Raw country input - can be a two-letter code (FIPS 10-4 or ISO 3166-1), three-letter code (ISO 3166-1) or country name | [optional]
7
-
8
-
@@ -1,13 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateCountryResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **successful** | **BOOLEAN** | True if successful, false otherwise | [optional]
7
- **country_full_name** | **String** | Full name of the country | [optional]
8
- **iso_two_letter_code** | **String** | Two-letter ISO 3166-1 country code | [optional]
9
- **fips_two_letter_code** | **String** | Two-letter FIPS 10-4 country code | [optional]
10
- **three_letter_code** | **String** | Three-letter ISO 3166-1 country code | [optional]
11
- **timezones** | [**Array<Timezone>**](Timezone.md) | Time zones (IANA/Olsen) in the country | [optional]
12
-
13
-
@@ -1,15 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateIdentifierRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **input** | **String** | Text string identifier input | [optional]
7
- **allow_whitespace** | **BOOLEAN** | True if whitespace is allowed in the identifier, false otherwise | [optional]
8
- **allow_hyphens** | **BOOLEAN** | True if hyphens are allowd in the identifier, false otherwise | [optional]
9
- **allow_underscore** | **BOOLEAN** | True if underscores are allowed in the identifier, false otherwise | [optional]
10
- **allow_numbers** | **BOOLEAN** | True if numbers are allowed in the identifier, false otherwise | [optional]
11
- **allow_periods** | **BOOLEAN** | True if periods are allowed in the identifier, false otherwise | [optional]
12
- **max_length** | **Integer** | Optional; maximum length, if any, of the identifier | [optional]
13
- **min_length** | **Integer** | Optional; minimum length, if any, of the identifier | [optional]
14
-
15
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateIdentifierResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_identifier** | **BOOLEAN** | True if the input identifier is valid, false otherwise | [optional]
7
- **error** | **String** | Resulting error from the identifier validation; possible errors are: \"InputIsEmpty\", \"ContainsWhitespace\", \"ContainsNumbers\", \"ContainsHyphen\", \"ContainsUnderscore\", \"ContainsPeriod\", \"TooShort\", \"TooLong\", \"ContainsSpecialCharacters\" | [optional]
8
-
9
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlRequestFull
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **url** | **String** | URL to validate | [optional]
7
-
8
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlRequestSyntaxOnly
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **url** | **String** | URL to validate | [optional]
7
-
8
-
@@ -1,12 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlResponseFull
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_url** | **BOOLEAN** | True if the URL has valid syntax, a valid domain, a valid endpoint, and passes virus scan checks; false otherwise | [optional]
7
- **valid_syntax** | **BOOLEAN** | True if the URL has valid syntax, false otherwise | [optional]
8
- **valid_domain** | **BOOLEAN** | True if the domain name is valid and exists, false otherwise | [optional]
9
- **valid_endpoint** | **BOOLEAN** | True if the endpoint is up and responsive and passes a virus scan check, false otherwise | [optional]
10
- **well_formed_url** | **String** | Well-formed version of the URL | [optional]
11
-
12
-
@@ -1,9 +0,0 @@
1
- # CloudmersiveValidateApiClient::ValidateUrlResponseSyntaxOnly
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **valid_url** | **BOOLEAN** | True if the URL is valid, false otherwise | [optional]
7
- **well_formed_url** | **String** | Well-formed version of the URL | [optional]
8
-
9
-
@@ -1,63 +0,0 @@
1
- # CloudmersiveValidateApiClient::VatApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**vat_vat_lookup**](VatApi.md#vat_vat_lookup) | **POST** /validate/vat/lookup | Validate a VAT number
8
-
9
-
10
- # **vat_vat_lookup**
11
- > VatLookupResponse vat_vat_lookup(input)
12
-
13
- Validate a VAT number
14
-
15
- Checks if a VAT code is valid, and if it is, returns more information about it. The first two letters of the VAT number must be letters that indicate the country, such as LU20260743. Possible country codes include Austria (AT), Belgium (BE), Bulgaria (BG), Cyprus (CY), Czech Republic (CZ), Germany (DE), Denmark (DK), Estonia (EE), Greece (EL), Spain (ES), Finland (FI), France (FR), United Kingdom (GB), Croatia (HR), Hungary (HU), Ireland (IE), Italy (IT), Lithuania (LT), Luxembourg (LU), Latvia (LV), Malta (MT), The Netherlands (NL), Poland (PL), Portugal (PT), Romania (RO), Sweden (SE), Slovenia (SI), Slovakia (SK).
16
-
17
- ### Example
18
- ```ruby
19
- # load the gem
20
- require 'cloudmersive-validate-api-client'
21
- # setup authorization
22
- CloudmersiveValidateApiClient.configure do |config|
23
- # Configure API key authorization: Apikey
24
- config.api_key['Apikey'] = 'YOUR API KEY'
25
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
- #config.api_key_prefix['Apikey'] = 'Bearer'
27
- end
28
-
29
- api_instance = CloudmersiveValidateApiClient::VatApi.new
30
-
31
- input = CloudmersiveValidateApiClient::VatLookupRequest.new # VatLookupRequest | Input VAT code
32
-
33
-
34
- begin
35
- #Validate a VAT number
36
- result = api_instance.vat_vat_lookup(input)
37
- p result
38
- rescue CloudmersiveValidateApiClient::ApiError => e
39
- puts "Exception when calling VatApi->vat_vat_lookup: #{e}"
40
- end
41
- ```
42
-
43
- ### Parameters
44
-
45
- Name | Type | Description | Notes
46
- ------------- | ------------- | ------------- | -------------
47
- **input** | [**VatLookupRequest**](VatLookupRequest.md)| Input VAT code |
48
-
49
- ### Return type
50
-
51
- [**VatLookupResponse**](VatLookupResponse.md)
52
-
53
- ### Authorization
54
-
55
- [Apikey](../README.md#Apikey)
56
-
57
- ### HTTP request headers
58
-
59
- - **Content-Type**: application/json, text/json
60
- - **Accept**: application/json, text/json, application/xml, text/xml
61
-
62
-
63
-
@@ -1,8 +0,0 @@
1
- # CloudmersiveValidateApiClient::VatLookupRequest
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **vat_code** | **String** | VAT code to lookup; example \"CZ25123891\" | [optional]
7
-
8
-
@@ -1,19 +0,0 @@
1
- # CloudmersiveValidateApiClient::VatLookupResponse
2
-
3
- ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **country_code** | **String** | Two-letter country code | [optional]
7
- **vat_number** | **String** | VAT number | [optional]
8
- **is_valid** | **BOOLEAN** | True if the VAT code is valid, false otherwise | [optional]
9
- **business_name** | **String** | Name of the business | [optional]
10
- **business_address** | **String** | Business address as a single string | [optional]
11
- **business_building** | **String** | For the business address, the name of the building, house or structure if applicable, such as \"Cloudmersive Building 2\". This will often by null. | [optional]
12
- **business_street_number** | **String** | For the business address, the street number or house number of the address. For example, in the address \"1600 Pennsylvania Avenue NW\" the street number would be \"1600\". This value will typically be populated for most addresses. | [optional]
13
- **business_street** | **String** | For the business address, the name of the street or road of the address. For example, in the address \"1600 Pennsylvania Avenue NW\" the street number would be \"Pennsylvania Avenue NW\". | [optional]
14
- **business_city** | **String** | For the business address, the city of the address. | [optional]
15
- **business_state_or_province** | **String** | For the business address, the state or province of the address. | [optional]
16
- **business_postal_code** | **String** | For the business address, the postal code or zip code of the address. | [optional]
17
- **business_country** | **String** | For the business address, country of the address, if present in the address. If not included in the address it will be null. | [optional]
18
-
19
-