cloudmersive-validate-api-client 1.3.7 → 1.3.9

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.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -8
  3. data/docs/AddressApi.md +56 -1
  4. data/docs/AddressVerifySyntaxOnlyResponse.md +3 -0
  5. data/docs/DomainApi.md +8 -8
  6. data/docs/EmailApi.md +3 -3
  7. data/docs/IPAddressApi.md +1 -1
  8. data/docs/LeadEnrichmentApi.md +61 -0
  9. data/docs/LeadEnrichmentRequest.md +21 -0
  10. data/docs/LeadEnrichmentResponse.md +25 -0
  11. data/docs/NameApi.md +5 -5
  12. data/docs/ParseAddressResponse.md +2 -1
  13. data/docs/PhoneNumberApi.md +1 -1
  14. data/docs/UserAgentApi.md +1 -1
  15. data/docs/ValidateCountryRequest.md +8 -0
  16. data/docs/ValidateCountryResponse.md +12 -0
  17. data/docs/VatApi.md +1 -1
  18. data/docs/VatLookupResponse.md +8 -1
  19. data/docs/WhoisResponse.md +11 -0
  20. data/lib/cloudmersive-validate-api-client.rb +5 -0
  21. data/lib/cloudmersive-validate-api-client/api/address_api.rb +56 -1
  22. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +8 -8
  23. data/lib/cloudmersive-validate-api-client/api/email_api.rb +3 -3
  24. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +1 -1
  25. data/lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb +78 -0
  26. data/lib/cloudmersive-validate-api-client/api/name_api.rb +5 -5
  27. data/lib/cloudmersive-validate-api-client/api/phone_number_api.rb +1 -1
  28. data/lib/cloudmersive-validate-api-client/api/user_agent_api.rb +1 -1
  29. data/lib/cloudmersive-validate-api-client/api/vat_api.rb +1 -1
  30. data/lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb +34 -4
  31. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb +319 -0
  32. data/lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb +359 -0
  33. data/lib/cloudmersive-validate-api-client/models/parse_address_response.rb +17 -7
  34. data/lib/cloudmersive-validate-api-client/models/validate_country_request.rb +189 -0
  35. data/lib/cloudmersive-validate-api-client/models/validate_country_response.rb +229 -0
  36. data/lib/cloudmersive-validate-api-client/models/vat_lookup_response.rb +75 -5
  37. data/lib/cloudmersive-validate-api-client/models/whois_response.rb +111 -1
  38. data/lib/cloudmersive-validate-api-client/version.rb +1 -1
  39. data/spec/api/address_api_spec.rb +12 -0
  40. data/spec/api/domain_api_spec.rb +2 -2
  41. data/spec/api/lead_enrichment_api_spec.rb +47 -0
  42. data/spec/models/address_verify_syntax_only_response_spec.rb +18 -0
  43. data/spec/models/lead_enrichment_request_spec.rb +120 -0
  44. data/spec/models/lead_enrichment_response_spec.rb +144 -0
  45. data/spec/models/parse_address_response_spec.rb +7 -1
  46. data/spec/models/validate_country_request_spec.rb +42 -0
  47. data/spec/models/validate_country_response_spec.rb +66 -0
  48. data/spec/models/vat_lookup_response_spec.rb +42 -0
  49. data/spec/models/whois_response_spec.rb +66 -0
  50. metadata +17 -2
@@ -0,0 +1,144 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::LeadEnrichmentResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'LeadEnrichmentResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::LeadEnrichmentResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of LeadEnrichmentResponse' do
31
+ it 'should create an instance of LeadEnrichmentResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::LeadEnrichmentResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "lead_type"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "contact_business_email"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "contact_first_name"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "contact_last_name"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "contact_gender"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "company_name"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "company_domain_name"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "company_house_number"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "company_street"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "company_city"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "company_state_or_province"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "company_postal_code"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "company_country"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ describe 'test attribute "company_country_code"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ describe 'test attribute "company_telephone"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ describe 'test attribute "company_vat_number"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ describe 'test attribute "employee_count"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ end
144
+
@@ -74,7 +74,13 @@ describe 'ParseAddressResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "country"' do
77
+ describe 'test attribute "country_full_name"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "iso_two_letter_code"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
86
  end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::ValidateCountryRequest
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ValidateCountryRequest' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::ValidateCountryRequest.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidateCountryRequest' do
31
+ it 'should create an instance of ValidateCountryRequest' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateCountryRequest)
33
+ end
34
+ end
35
+ describe 'test attribute "raw_country_input"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
42
+
@@ -0,0 +1,66 @@
1
+ =begin
2
+ #validateapi
3
+
4
+ #The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::ValidateCountryResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'ValidateCountryResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::ValidateCountryResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ValidateCountryResponse' do
31
+ it 'should create an instance of ValidateCountryResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::ValidateCountryResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "successful"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "country_full_name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "iso_two_letter_code"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "fips_two_letter_code"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "three_letter_code"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
66
+
@@ -62,5 +62,47 @@ describe 'VatLookupResponse' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "business_building"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "business_street_number"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "business_street"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "business_city"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "business_state_or_province"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "business_postal_code"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "business_country"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
65
107
  end
66
108
 
@@ -38,6 +38,72 @@ describe 'WhoisResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "registrant_name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "registrant_organization"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "registrant_email"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "registrant_street_number"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "registrant_street"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "registrant_city"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "registrant_state_or_province"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "registrant_postal_code"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "registrant_country"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "registrant_raw_address"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "registrant_telephone"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
41
107
  describe 'test attribute "whois_server"' do
42
108
  it 'should work' do
43
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmersive-validate-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-19 00:00:00.000000000 Z
11
+ date: 2019-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -220,6 +220,9 @@ files:
220
220
  - "./docs/IPAddressApi.md"
221
221
  - "./docs/LastNameValidationRequest.md"
222
222
  - "./docs/LastNameValidationResponse.md"
223
+ - "./docs/LeadEnrichmentApi.md"
224
+ - "./docs/LeadEnrichmentRequest.md"
225
+ - "./docs/LeadEnrichmentResponse.md"
223
226
  - "./docs/NameApi.md"
224
227
  - "./docs/ParseAddressRequest.md"
225
228
  - "./docs/ParseAddressResponse.md"
@@ -229,6 +232,8 @@ files:
229
232
  - "./docs/UserAgentApi.md"
230
233
  - "./docs/UserAgentValidateRequest.md"
231
234
  - "./docs/UserAgentValidateResponse.md"
235
+ - "./docs/ValidateCountryRequest.md"
236
+ - "./docs/ValidateCountryResponse.md"
232
237
  - "./docs/ValidateIdentifierRequest.md"
233
238
  - "./docs/ValidateIdentifierResponse.md"
234
239
  - "./docs/ValidateUrlRequestFull.md"
@@ -245,6 +250,7 @@ files:
245
250
  - "./lib/cloudmersive-validate-api-client/api/domain_api.rb"
246
251
  - "./lib/cloudmersive-validate-api-client/api/email_api.rb"
247
252
  - "./lib/cloudmersive-validate-api-client/api/ip_address_api.rb"
253
+ - "./lib/cloudmersive-validate-api-client/api/lead_enrichment_api.rb"
248
254
  - "./lib/cloudmersive-validate-api-client/api/name_api.rb"
249
255
  - "./lib/cloudmersive-validate-api-client/api/phone_number_api.rb"
250
256
  - "./lib/cloudmersive-validate-api-client/api/user_agent_api.rb"
@@ -265,12 +271,16 @@ files:
265
271
  - "./lib/cloudmersive-validate-api-client/models/get_gender_response.rb"
266
272
  - "./lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb"
267
273
  - "./lib/cloudmersive-validate-api-client/models/last_name_validation_response.rb"
274
+ - "./lib/cloudmersive-validate-api-client/models/lead_enrichment_request.rb"
275
+ - "./lib/cloudmersive-validate-api-client/models/lead_enrichment_response.rb"
268
276
  - "./lib/cloudmersive-validate-api-client/models/parse_address_request.rb"
269
277
  - "./lib/cloudmersive-validate-api-client/models/parse_address_response.rb"
270
278
  - "./lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb"
271
279
  - "./lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb"
272
280
  - "./lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb"
273
281
  - "./lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb"
282
+ - "./lib/cloudmersive-validate-api-client/models/validate_country_request.rb"
283
+ - "./lib/cloudmersive-validate-api-client/models/validate_country_response.rb"
274
284
  - "./lib/cloudmersive-validate-api-client/models/validate_identifier_request.rb"
275
285
  - "./lib/cloudmersive-validate-api-client/models/validate_identifier_response.rb"
276
286
  - "./lib/cloudmersive-validate-api-client/models/validate_url_request_full.rb"
@@ -285,6 +295,7 @@ files:
285
295
  - "./spec/api/domain_api_spec.rb"
286
296
  - "./spec/api/email_api_spec.rb"
287
297
  - "./spec/api/ip_address_api_spec.rb"
298
+ - "./spec/api/lead_enrichment_api_spec.rb"
288
299
  - "./spec/api/name_api_spec.rb"
289
300
  - "./spec/api/phone_number_api_spec.rb"
290
301
  - "./spec/api/user_agent_api_spec.rb"
@@ -304,12 +315,16 @@ files:
304
315
  - "./spec/models/get_gender_response_spec.rb"
305
316
  - "./spec/models/last_name_validation_request_spec.rb"
306
317
  - "./spec/models/last_name_validation_response_spec.rb"
318
+ - "./spec/models/lead_enrichment_request_spec.rb"
319
+ - "./spec/models/lead_enrichment_response_spec.rb"
307
320
  - "./spec/models/parse_address_request_spec.rb"
308
321
  - "./spec/models/parse_address_response_spec.rb"
309
322
  - "./spec/models/phone_number_validate_request_spec.rb"
310
323
  - "./spec/models/phone_number_validation_response_spec.rb"
311
324
  - "./spec/models/user_agent_validate_request_spec.rb"
312
325
  - "./spec/models/user_agent_validate_response_spec.rb"
326
+ - "./spec/models/validate_country_request_spec.rb"
327
+ - "./spec/models/validate_country_response_spec.rb"
313
328
  - "./spec/models/validate_identifier_request_spec.rb"
314
329
  - "./spec/models/validate_identifier_response_spec.rb"
315
330
  - "./spec/models/validate_url_request_full_spec.rb"