cloudmersive-validate-api-client 2.1.4 → 2.2.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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -4
  3. data/docs/BotCheckResponse.md +8 -0
  4. data/docs/DomainApi.md +275 -0
  5. data/docs/IPAddressApi.md +110 -0
  6. data/docs/IPIntelligenceResponse.md +16 -0
  7. data/docs/PhishingCheckRequest.md +8 -0
  8. data/docs/PhishingCheckResponse.md +9 -0
  9. data/docs/SqlInjectionCheckBatchRequest.md +9 -0
  10. data/docs/SqlInjectionCheckBatchResponse.md +8 -0
  11. data/docs/SqlInjectionCheckRequestItem.md +8 -0
  12. data/docs/SqlInjectionDetectionResult.md +10 -0
  13. data/docs/TextInputApi.md +233 -1
  14. data/docs/UrlSafetyCheckRequestFull.md +8 -0
  15. data/docs/UrlSafetyCheckResponseFull.md +9 -0
  16. data/docs/UrlSsrfRequestBatch.md +8 -0
  17. data/docs/UrlSsrfRequestFull.md +9 -0
  18. data/docs/UrlSsrfResponseBatch.md +8 -0
  19. data/docs/UrlSsrfResponseFull.md +9 -0
  20. data/docs/ValidateUrlResponseSyntaxOnly.md +1 -0
  21. data/docs/XxeDetectionBatchRequest.md +8 -0
  22. data/docs/XxeDetectionBatchResponse.md +8 -0
  23. data/docs/XxeDetectionRequestItem.md +11 -0
  24. data/docs/XxeDetectionResult.md +9 -0
  25. data/lib/cloudmersive-validate-api-client.rb +18 -0
  26. data/lib/cloudmersive-validate-api-client/api/domain_api.rb +270 -0
  27. data/lib/cloudmersive-validate-api-client/api/ip_address_api.rb +108 -0
  28. data/lib/cloudmersive-validate-api-client/api/text_input_api.rb +230 -2
  29. data/lib/cloudmersive-validate-api-client/models/bot_check_response.rb +186 -0
  30. data/lib/cloudmersive-validate-api-client/models/geolocate_response.rb +1 -1
  31. data/lib/cloudmersive-validate-api-client/models/ip_intelligence_response.rb +266 -0
  32. data/lib/cloudmersive-validate-api-client/models/phishing_check_request.rb +186 -0
  33. data/lib/cloudmersive-validate-api-client/models/phishing_check_response.rb +196 -0
  34. data/lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_request.rb +198 -0
  35. data/lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_response.rb +188 -0
  36. data/lib/cloudmersive-validate-api-client/models/sql_injection_check_request_item.rb +186 -0
  37. data/lib/cloudmersive-validate-api-client/models/sql_injection_detection_result.rb +206 -0
  38. data/lib/cloudmersive-validate-api-client/models/url_safety_check_request_full.rb +186 -0
  39. data/lib/cloudmersive-validate-api-client/models/url_safety_check_response_full.rb +196 -0
  40. data/lib/cloudmersive-validate-api-client/models/url_ssrf_request_batch.rb +188 -0
  41. data/lib/cloudmersive-validate-api-client/models/url_ssrf_request_full.rb +198 -0
  42. data/lib/cloudmersive-validate-api-client/models/url_ssrf_response_batch.rb +188 -0
  43. data/lib/cloudmersive-validate-api-client/models/url_ssrf_response_full.rb +196 -0
  44. data/lib/cloudmersive-validate-api-client/models/validate_url_response_syntax_only.rb +14 -4
  45. data/lib/cloudmersive-validate-api-client/models/xxe_detection_batch_request.rb +188 -0
  46. data/lib/cloudmersive-validate-api-client/models/xxe_detection_batch_response.rb +188 -0
  47. data/lib/cloudmersive-validate-api-client/models/xxe_detection_request_item.rb +220 -0
  48. data/lib/cloudmersive-validate-api-client/models/xxe_detection_result.rb +196 -0
  49. data/lib/cloudmersive-validate-api-client/version.rb +1 -1
  50. data/spec/api/domain_api_spec.rb +60 -0
  51. data/spec/api/ip_address_api_spec.rb +24 -0
  52. data/spec/api/text_input_api_spec.rb +53 -1
  53. data/spec/models/bot_check_response_spec.rb +41 -0
  54. data/spec/models/ip_intelligence_response_spec.rb +89 -0
  55. data/spec/models/phishing_check_request_spec.rb +41 -0
  56. data/spec/models/phishing_check_response_spec.rb +47 -0
  57. data/spec/models/sql_injection_check_batch_request_spec.rb +47 -0
  58. data/spec/models/sql_injection_check_batch_response_spec.rb +41 -0
  59. data/spec/models/sql_injection_check_request_item_spec.rb +41 -0
  60. data/spec/models/sql_injection_detection_result_spec.rb +53 -0
  61. data/spec/models/url_safety_check_request_full_spec.rb +41 -0
  62. data/spec/models/url_safety_check_response_full_spec.rb +47 -0
  63. data/spec/models/url_ssrf_request_batch_spec.rb +41 -0
  64. data/spec/models/url_ssrf_request_full_spec.rb +47 -0
  65. data/spec/models/url_ssrf_response_batch_spec.rb +41 -0
  66. data/spec/models/url_ssrf_response_full_spec.rb +47 -0
  67. data/spec/models/validate_url_response_syntax_only_spec.rb +6 -0
  68. data/spec/models/xxe_detection_batch_request_spec.rb +41 -0
  69. data/spec/models/xxe_detection_batch_response_spec.rb +41 -0
  70. data/spec/models/xxe_detection_request_item_spec.rb +59 -0
  71. data/spec/models/xxe_detection_result_spec.rb +47 -0
  72. metadata +56 -2
@@ -0,0 +1,41 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionBatchResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionBatchResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionBatchResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionBatchResponse' do
31
+ it 'should create an instance of XxeDetectionBatchResponse' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionBatchResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "result_items"' 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
@@ -0,0 +1,59 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionRequestItem
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionRequestItem' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionRequestItem.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionRequestItem' do
31
+ it 'should create an instance of XxeDetectionRequestItem' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionRequestItem)
33
+ end
34
+ end
35
+ describe 'test attribute "input_text"' 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 "allow_internet_urls"' 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 "known_safe_urls"' 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 "known_unsafe_urls"' 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
+ end
@@ -0,0 +1,47 @@
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.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for CloudmersiveValidateApiClient::XxeDetectionResult
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'XxeDetectionResult' do
21
+ before do
22
+ # run before each test
23
+ @instance = CloudmersiveValidateApiClient::XxeDetectionResult.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of XxeDetectionResult' do
31
+ it 'should create an instance of XxeDetectionResult' do
32
+ expect(@instance).to be_instance_of(CloudmersiveValidateApiClient::XxeDetectionResult)
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 "contained_xxe"' 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
+ end
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: 2.1.4
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloudmersive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-26 00:00:00.000000000 Z
11
+ date: 2021-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -206,6 +206,7 @@ files:
206
206
  - "./docs/AddressApi.md"
207
207
  - "./docs/AddressGetServersResponse.md"
208
208
  - "./docs/AddressVerifySyntaxOnlyResponse.md"
209
+ - "./docs/BotCheckResponse.md"
209
210
  - "./docs/CheckResponse.md"
210
211
  - "./docs/CountryDetails.md"
211
212
  - "./docs/CountryListResult.md"
@@ -230,6 +231,7 @@ files:
230
231
  - "./docs/GetTimezonesRequest.md"
231
232
  - "./docs/GetTimezonesResponse.md"
232
233
  - "./docs/IPAddressApi.md"
234
+ - "./docs/IPIntelligenceResponse.md"
233
235
  - "./docs/IPReverseDNSLookupResponse.md"
234
236
  - "./docs/IPThreatResponse.md"
235
237
  - "./docs/LastNameValidationRequest.md"
@@ -241,6 +243,8 @@ files:
241
243
  - "./docs/NormalizeAddressResponse.md"
242
244
  - "./docs/ParseAddressRequest.md"
243
245
  - "./docs/ParseAddressResponse.md"
246
+ - "./docs/PhishingCheckRequest.md"
247
+ - "./docs/PhishingCheckResponse.md"
244
248
  - "./docs/PhoneNumberApi.md"
245
249
  - "./docs/PhoneNumberValidateRequest.md"
246
250
  - "./docs/PhoneNumberValidationResponse.md"
@@ -248,9 +252,19 @@ files:
248
252
  - "./docs/PublicHolidaysResponse.md"
249
253
  - "./docs/ReverseGeocodeAddressRequest.md"
250
254
  - "./docs/ReverseGeocodeAddressResponse.md"
255
+ - "./docs/SqlInjectionCheckBatchRequest.md"
256
+ - "./docs/SqlInjectionCheckBatchResponse.md"
257
+ - "./docs/SqlInjectionCheckRequestItem.md"
258
+ - "./docs/SqlInjectionDetectionResult.md"
251
259
  - "./docs/TextInputApi.md"
252
260
  - "./docs/Timezone.md"
253
261
  - "./docs/TorNodeResponse.md"
262
+ - "./docs/UrlSafetyCheckRequestFull.md"
263
+ - "./docs/UrlSafetyCheckResponseFull.md"
264
+ - "./docs/UrlSsrfRequestBatch.md"
265
+ - "./docs/UrlSsrfRequestFull.md"
266
+ - "./docs/UrlSsrfResponseBatch.md"
267
+ - "./docs/UrlSsrfResponseFull.md"
254
268
  - "./docs/UserAgentApi.md"
255
269
  - "./docs/UserAgentValidateRequest.md"
256
270
  - "./docs/UserAgentValidateResponse.md"
@@ -278,6 +292,10 @@ files:
278
292
  - "./docs/XssProtectionBatchResponse.md"
279
293
  - "./docs/XssProtectionRequestItem.md"
280
294
  - "./docs/XssProtectionResult.md"
295
+ - "./docs/XxeDetectionBatchRequest.md"
296
+ - "./docs/XxeDetectionBatchResponse.md"
297
+ - "./docs/XxeDetectionRequestItem.md"
298
+ - "./docs/XxeDetectionResult.md"
281
299
  - "./git_push.sh"
282
300
  - "./lib/cloudmersive-validate-api-client.rb"
283
301
  - "./lib/cloudmersive-validate-api-client/api/address_api.rb"
@@ -296,6 +314,7 @@ files:
296
314
  - "./lib/cloudmersive-validate-api-client/configuration.rb"
297
315
  - "./lib/cloudmersive-validate-api-client/models/address_get_servers_response.rb"
298
316
  - "./lib/cloudmersive-validate-api-client/models/address_verify_syntax_only_response.rb"
317
+ - "./lib/cloudmersive-validate-api-client/models/bot_check_response.rb"
299
318
  - "./lib/cloudmersive-validate-api-client/models/check_response.rb"
300
319
  - "./lib/cloudmersive-validate-api-client/models/country_details.rb"
301
320
  - "./lib/cloudmersive-validate-api-client/models/country_list_result.rb"
@@ -316,6 +335,7 @@ files:
316
335
  - "./lib/cloudmersive-validate-api-client/models/get_public_holidays_request.rb"
317
336
  - "./lib/cloudmersive-validate-api-client/models/get_timezones_request.rb"
318
337
  - "./lib/cloudmersive-validate-api-client/models/get_timezones_response.rb"
338
+ - "./lib/cloudmersive-validate-api-client/models/ip_intelligence_response.rb"
319
339
  - "./lib/cloudmersive-validate-api-client/models/ip_reverse_dns_lookup_response.rb"
320
340
  - "./lib/cloudmersive-validate-api-client/models/ip_threat_response.rb"
321
341
  - "./lib/cloudmersive-validate-api-client/models/last_name_validation_request.rb"
@@ -325,14 +345,26 @@ files:
325
345
  - "./lib/cloudmersive-validate-api-client/models/normalize_address_response.rb"
326
346
  - "./lib/cloudmersive-validate-api-client/models/parse_address_request.rb"
327
347
  - "./lib/cloudmersive-validate-api-client/models/parse_address_response.rb"
348
+ - "./lib/cloudmersive-validate-api-client/models/phishing_check_request.rb"
349
+ - "./lib/cloudmersive-validate-api-client/models/phishing_check_response.rb"
328
350
  - "./lib/cloudmersive-validate-api-client/models/phone_number_validate_request.rb"
329
351
  - "./lib/cloudmersive-validate-api-client/models/phone_number_validation_response.rb"
330
352
  - "./lib/cloudmersive-validate-api-client/models/public_holiday_occurrence.rb"
331
353
  - "./lib/cloudmersive-validate-api-client/models/public_holidays_response.rb"
332
354
  - "./lib/cloudmersive-validate-api-client/models/reverse_geocode_address_request.rb"
333
355
  - "./lib/cloudmersive-validate-api-client/models/reverse_geocode_address_response.rb"
356
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_request.rb"
357
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_batch_response.rb"
358
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_check_request_item.rb"
359
+ - "./lib/cloudmersive-validate-api-client/models/sql_injection_detection_result.rb"
334
360
  - "./lib/cloudmersive-validate-api-client/models/timezone.rb"
335
361
  - "./lib/cloudmersive-validate-api-client/models/tor_node_response.rb"
362
+ - "./lib/cloudmersive-validate-api-client/models/url_safety_check_request_full.rb"
363
+ - "./lib/cloudmersive-validate-api-client/models/url_safety_check_response_full.rb"
364
+ - "./lib/cloudmersive-validate-api-client/models/url_ssrf_request_batch.rb"
365
+ - "./lib/cloudmersive-validate-api-client/models/url_ssrf_request_full.rb"
366
+ - "./lib/cloudmersive-validate-api-client/models/url_ssrf_response_batch.rb"
367
+ - "./lib/cloudmersive-validate-api-client/models/url_ssrf_response_full.rb"
336
368
  - "./lib/cloudmersive-validate-api-client/models/user_agent_validate_request.rb"
337
369
  - "./lib/cloudmersive-validate-api-client/models/user_agent_validate_response.rb"
338
370
  - "./lib/cloudmersive-validate-api-client/models/validate_address_request.rb"
@@ -358,6 +390,10 @@ files:
358
390
  - "./lib/cloudmersive-validate-api-client/models/xss_protection_batch_response.rb"
359
391
  - "./lib/cloudmersive-validate-api-client/models/xss_protection_request_item.rb"
360
392
  - "./lib/cloudmersive-validate-api-client/models/xss_protection_result.rb"
393
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_batch_request.rb"
394
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_batch_response.rb"
395
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_request_item.rb"
396
+ - "./lib/cloudmersive-validate-api-client/models/xxe_detection_result.rb"
361
397
  - "./lib/cloudmersive-validate-api-client/version.rb"
362
398
  - "./spec/api/address_api_spec.rb"
363
399
  - "./spec/api/date_time_api_spec.rb"
@@ -374,6 +410,7 @@ files:
374
410
  - "./spec/configuration_spec.rb"
375
411
  - "./spec/models/address_get_servers_response_spec.rb"
376
412
  - "./spec/models/address_verify_syntax_only_response_spec.rb"
413
+ - "./spec/models/bot_check_response_spec.rb"
377
414
  - "./spec/models/check_response_spec.rb"
378
415
  - "./spec/models/country_details_spec.rb"
379
416
  - "./spec/models/country_list_result_spec.rb"
@@ -394,6 +431,7 @@ files:
394
431
  - "./spec/models/get_public_holidays_request_spec.rb"
395
432
  - "./spec/models/get_timezones_request_spec.rb"
396
433
  - "./spec/models/get_timezones_response_spec.rb"
434
+ - "./spec/models/ip_intelligence_response_spec.rb"
397
435
  - "./spec/models/ip_reverse_dns_lookup_response_spec.rb"
398
436
  - "./spec/models/ip_threat_response_spec.rb"
399
437
  - "./spec/models/last_name_validation_request_spec.rb"
@@ -403,14 +441,26 @@ files:
403
441
  - "./spec/models/normalize_address_response_spec.rb"
404
442
  - "./spec/models/parse_address_request_spec.rb"
405
443
  - "./spec/models/parse_address_response_spec.rb"
444
+ - "./spec/models/phishing_check_request_spec.rb"
445
+ - "./spec/models/phishing_check_response_spec.rb"
406
446
  - "./spec/models/phone_number_validate_request_spec.rb"
407
447
  - "./spec/models/phone_number_validation_response_spec.rb"
408
448
  - "./spec/models/public_holiday_occurrence_spec.rb"
409
449
  - "./spec/models/public_holidays_response_spec.rb"
410
450
  - "./spec/models/reverse_geocode_address_request_spec.rb"
411
451
  - "./spec/models/reverse_geocode_address_response_spec.rb"
452
+ - "./spec/models/sql_injection_check_batch_request_spec.rb"
453
+ - "./spec/models/sql_injection_check_batch_response_spec.rb"
454
+ - "./spec/models/sql_injection_check_request_item_spec.rb"
455
+ - "./spec/models/sql_injection_detection_result_spec.rb"
412
456
  - "./spec/models/timezone_spec.rb"
413
457
  - "./spec/models/tor_node_response_spec.rb"
458
+ - "./spec/models/url_safety_check_request_full_spec.rb"
459
+ - "./spec/models/url_safety_check_response_full_spec.rb"
460
+ - "./spec/models/url_ssrf_request_batch_spec.rb"
461
+ - "./spec/models/url_ssrf_request_full_spec.rb"
462
+ - "./spec/models/url_ssrf_response_batch_spec.rb"
463
+ - "./spec/models/url_ssrf_response_full_spec.rb"
414
464
  - "./spec/models/user_agent_validate_request_spec.rb"
415
465
  - "./spec/models/user_agent_validate_response_spec.rb"
416
466
  - "./spec/models/validate_address_request_spec.rb"
@@ -436,6 +486,10 @@ files:
436
486
  - "./spec/models/xss_protection_batch_response_spec.rb"
437
487
  - "./spec/models/xss_protection_request_item_spec.rb"
438
488
  - "./spec/models/xss_protection_result_spec.rb"
489
+ - "./spec/models/xxe_detection_batch_request_spec.rb"
490
+ - "./spec/models/xxe_detection_batch_response_spec.rb"
491
+ - "./spec/models/xxe_detection_request_item_spec.rb"
492
+ - "./spec/models/xxe_detection_result_spec.rb"
439
493
  - "./spec/spec_helper.rb"
440
494
  homepage: https://www.cloudmersive.com/validate-api
441
495
  licenses: