mailsafepro 1.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.
Files changed (159) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE +21 -0
  4. data/README.md +256 -0
  5. data/Rakefile +10 -0
  6. data/docs/APIKeyCreateRequest.md +20 -0
  7. data/docs/APIKeyListResponse.md +22 -0
  8. data/docs/APIKeyMeta.md +34 -0
  9. data/docs/APIKeysApi.md +1241 -0
  10. data/docs/AuthenticationApi.md +1171 -0
  11. data/docs/BatchEmailResponse.md +28 -0
  12. data/docs/BatchValidationRequest.md +26 -0
  13. data/docs/BillingApi.md +689 -0
  14. data/docs/BodyChangePlanBillingBillingChangePlanPost.md +18 -0
  15. data/docs/CheckoutRequest.md +18 -0
  16. data/docs/CheckoutSessionResponse.md +18 -0
  17. data/docs/DNSInfo.md +26 -0
  18. data/docs/DNSRecordDKIM.md +26 -0
  19. data/docs/DNSRecordDMARC.md +24 -0
  20. data/docs/DNSRecordSPF.md +24 -0
  21. data/docs/DefaultApi.md +141 -0
  22. data/docs/DeveloperToolsApi.md +154 -0
  23. data/docs/EmailResponse.md +46 -0
  24. data/docs/EmailValidationApi.md +479 -0
  25. data/docs/EmailValidationRequest.md +26 -0
  26. data/docs/HTTPValidationError.md +18 -0
  27. data/docs/HealthApi.md +937 -0
  28. data/docs/JobCreateRequest.md +32 -0
  29. data/docs/JobCreateResponse.md +22 -0
  30. data/docs/JobResultEntry.md +34 -0
  31. data/docs/JobResultsPage.md +26 -0
  32. data/docs/JobStatusResponse.md +28 -0
  33. data/docs/JobsApi.md +433 -0
  34. data/docs/KeyRotationRequest.md +22 -0
  35. data/docs/LogsApi.md +154 -0
  36. data/docs/PlanEnum.md +15 -0
  37. data/docs/PriorityEnum.md +15 -0
  38. data/docs/RegisterEndpoint.md +18 -0
  39. data/docs/ResponseTestNotificationBillingBillingTestNotificationPostValue.md +15 -0
  40. data/docs/RiskLevelEnum.md +15 -0
  41. data/docs/RotateSecret.md +18 -0
  42. data/docs/SMTPInfo.md +26 -0
  43. data/docs/SubscriptionResponse.md +24 -0
  44. data/docs/UserLogin.md +20 -0
  45. data/docs/UserRegister.md +22 -0
  46. data/docs/ValidationApi.md +479 -0
  47. data/docs/ValidationError.md +22 -0
  48. data/docs/ValidationErrorLocInner.md +15 -0
  49. data/docs/WebhookCreate.md +24 -0
  50. data/docs/WebhookResponse.md +22 -0
  51. data/docs/WebhookUpdate.md +24 -0
  52. data/docs/WebhooksApi.md +776 -0
  53. data/docs/WebhooksManagementApi.md +500 -0
  54. data/git_push.sh +57 -0
  55. data/lib/mailsafepro/api/api_keys_api.rb +1148 -0
  56. data/lib/mailsafepro/api/authentication_api.rb +1114 -0
  57. data/lib/mailsafepro/api/billing_api.rb +670 -0
  58. data/lib/mailsafepro/api/default_api.rb +149 -0
  59. data/lib/mailsafepro/api/developer_tools_api.rb +155 -0
  60. data/lib/mailsafepro/api/email_validation_api.rb +486 -0
  61. data/lib/mailsafepro/api/health_api.rb +877 -0
  62. data/lib/mailsafepro/api/jobs_api.rb +452 -0
  63. data/lib/mailsafepro/api/logs_api.rb +155 -0
  64. data/lib/mailsafepro/api/validation_api.rb +486 -0
  65. data/lib/mailsafepro/api/webhooks_api.rb +768 -0
  66. data/lib/mailsafepro/api/webhooks_management_api.rb +480 -0
  67. data/lib/mailsafepro/api_client.rb +397 -0
  68. data/lib/mailsafepro/api_error.rb +58 -0
  69. data/lib/mailsafepro/api_model_base.rb +88 -0
  70. data/lib/mailsafepro/configuration.rb +316 -0
  71. data/lib/mailsafepro/models/api_key_create_request.rb +185 -0
  72. data/lib/mailsafepro/models/api_key_list_response.rb +240 -0
  73. data/lib/mailsafepro/models/api_key_meta.rb +338 -0
  74. data/lib/mailsafepro/models/batch_email_response.rb +348 -0
  75. data/lib/mailsafepro/models/batch_validation_request.rb +290 -0
  76. data/lib/mailsafepro/models/body_change_plan_billing_billing_change_plan_post.rb +164 -0
  77. data/lib/mailsafepro/models/checkout_request.rb +166 -0
  78. data/lib/mailsafepro/models/checkout_session_response.rb +165 -0
  79. data/lib/mailsafepro/models/dns_info.rb +193 -0
  80. data/lib/mailsafepro/models/dns_record_dkim.rb +189 -0
  81. data/lib/mailsafepro/models/dns_record_dmarc.rb +179 -0
  82. data/lib/mailsafepro/models/dns_record_spf.rb +179 -0
  83. data/lib/mailsafepro/models/email_response.rb +454 -0
  84. data/lib/mailsafepro/models/email_validation_request.rb +252 -0
  85. data/lib/mailsafepro/models/http_validation_error.rb +149 -0
  86. data/lib/mailsafepro/models/job_create_request.rb +251 -0
  87. data/lib/mailsafepro/models/job_create_response.rb +216 -0
  88. data/lib/mailsafepro/models/job_result_entry.rb +257 -0
  89. data/lib/mailsafepro/models/job_results_page.rb +270 -0
  90. data/lib/mailsafepro/models/job_status_response.rb +231 -0
  91. data/lib/mailsafepro/models/key_rotation_request.rb +269 -0
  92. data/lib/mailsafepro/models/plan_enum.rb +41 -0
  93. data/lib/mailsafepro/models/priority_enum.rb +41 -0
  94. data/lib/mailsafepro/models/register_endpoint.rb +173 -0
  95. data/lib/mailsafepro/models/response_test_notification_billing_billing_test_notification_post_value.rb +103 -0
  96. data/lib/mailsafepro/models/risk_level_enum.rb +42 -0
  97. data/lib/mailsafepro/models/rotate_secret.rb +164 -0
  98. data/lib/mailsafepro/models/smtp_info.rb +206 -0
  99. data/lib/mailsafepro/models/subscription_response.rb +196 -0
  100. data/lib/mailsafepro/models/user_login.rb +211 -0
  101. data/lib/mailsafepro/models/user_register.rb +243 -0
  102. data/lib/mailsafepro/models/validation_error.rb +218 -0
  103. data/lib/mailsafepro/models/validation_error_loc_inner.rb +103 -0
  104. data/lib/mailsafepro/models/webhook_create.rb +213 -0
  105. data/lib/mailsafepro/models/webhook_response.rb +185 -0
  106. data/lib/mailsafepro/models/webhook_update.rb +204 -0
  107. data/lib/mailsafepro/version.rb +15 -0
  108. data/lib/mailsafepro.rb +88 -0
  109. data/mailsafepro.gemspec +39 -0
  110. data/spec/api/api_keys_api_spec.rb +245 -0
  111. data/spec/api/authentication_api_spec.rb +239 -0
  112. data/spec/api/billing_api_spec.rb +155 -0
  113. data/spec/api/default_api_spec.rb +60 -0
  114. data/spec/api/developer_tools_api_spec.rb +62 -0
  115. data/spec/api/email_validation_api_spec.rb +125 -0
  116. data/spec/api/health_api_spec.rb +200 -0
  117. data/spec/api/jobs_api_spec.rb +119 -0
  118. data/spec/api/logs_api_spec.rb +62 -0
  119. data/spec/api/validation_api_spec.rb +125 -0
  120. data/spec/api/webhooks_api_spec.rb +172 -0
  121. data/spec/api/webhooks_management_api_spec.rb +120 -0
  122. data/spec/models/api_key_create_request_spec.rb +42 -0
  123. data/spec/models/api_key_list_response_spec.rb +48 -0
  124. data/spec/models/api_key_meta_spec.rb +84 -0
  125. data/spec/models/batch_email_response_spec.rb +66 -0
  126. data/spec/models/batch_validation_request_spec.rb +60 -0
  127. data/spec/models/body_change_plan_billing_billing_change_plan_post_spec.rb +36 -0
  128. data/spec/models/checkout_request_spec.rb +36 -0
  129. data/spec/models/checkout_session_response_spec.rb +36 -0
  130. data/spec/models/dns_info_spec.rb +60 -0
  131. data/spec/models/dns_record_dkim_spec.rb +60 -0
  132. data/spec/models/dns_record_dmarc_spec.rb +54 -0
  133. data/spec/models/dns_record_spf_spec.rb +54 -0
  134. data/spec/models/email_response_spec.rb +120 -0
  135. data/spec/models/email_validation_request_spec.rb +60 -0
  136. data/spec/models/http_validation_error_spec.rb +36 -0
  137. data/spec/models/job_create_request_spec.rb +78 -0
  138. data/spec/models/job_create_response_spec.rb +48 -0
  139. data/spec/models/job_result_entry_spec.rb +84 -0
  140. data/spec/models/job_results_page_spec.rb +60 -0
  141. data/spec/models/job_status_response_spec.rb +66 -0
  142. data/spec/models/key_rotation_request_spec.rb +48 -0
  143. data/spec/models/plan_enum_spec.rb +30 -0
  144. data/spec/models/priority_enum_spec.rb +30 -0
  145. data/spec/models/register_endpoint_spec.rb +36 -0
  146. data/spec/models/response_test_notification_billing_billing_test_notification_post_value_spec.rb +21 -0
  147. data/spec/models/risk_level_enum_spec.rb +30 -0
  148. data/spec/models/rotate_secret_spec.rb +36 -0
  149. data/spec/models/smtp_info_spec.rb +60 -0
  150. data/spec/models/subscription_response_spec.rb +54 -0
  151. data/spec/models/user_login_spec.rb +42 -0
  152. data/spec/models/user_register_spec.rb +48 -0
  153. data/spec/models/validation_error_loc_inner_spec.rb +21 -0
  154. data/spec/models/validation_error_spec.rb +48 -0
  155. data/spec/models/webhook_create_spec.rb +54 -0
  156. data/spec/models/webhook_response_spec.rb +48 -0
  157. data/spec/models/webhook_update_spec.rb +54 -0
  158. data/spec/spec_helper.rb +111 -0
  159. metadata +291 -0
@@ -0,0 +1,60 @@
1
+ =begin
2
+ #Email Validation API — Enterprise-grade Email Verification
3
+
4
+ #API robusta y segura para validación y verificación de correos electrónicos. Soporta verificación individual y en lote, detección de brechas, y autenticación JWT. Cumple con GDPR y dispone de planes de pago flexibles. **🔗 Enlaces importantes:** - [Estado del sistema](https://mailsafepro.betteruptime.com) - [Documentación completa](https://email-validation-api-jlra.onrender.com/redoc) **📧 Contacto:** mailsafepro1@gmail.com
5
+
6
+ The version of the OpenAPI document: 2.5.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.18.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MailSafePro::DefaultApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DefaultApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MailSafePro::DefaultApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DefaultApi' do
30
+ it 'should create an instance of DefaultApi' do
31
+ expect(@api_instance).to be_instance_of(MailSafePro::DefaultApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for ask_gemini_gemini_get
36
+ # Ask Gemini
37
+ # Llama a Gemini para generar texto a partir de un prompt
38
+ # @param prompt
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [Object]
41
+ describe 'ask_gemini_gemini_get test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for run_audit_admin_audit_project_post
48
+ # Run Audit
49
+ # Lanza auditoría en path (ruta absoluta o relativa a la raíz del proyecto). Header obligatorio: X-Audit-Token: <AUDIT_SECRET>
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :path
52
+ # @option opts [String] :x_audit_token
53
+ # @return [Object]
54
+ describe 'run_audit_admin_audit_project_post test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ end
@@ -0,0 +1,62 @@
1
+ =begin
2
+ #Email Validation API — Enterprise-grade Email Verification
3
+
4
+ #API robusta y segura para validación y verificación de correos electrónicos. Soporta verificación individual y en lote, detección de brechas, y autenticación JWT. Cumple con GDPR y dispone de planes de pago flexibles. **🔗 Enlaces importantes:** - [Estado del sistema](https://mailsafepro.betteruptime.com) - [Documentación completa](https://email-validation-api-jlra.onrender.com/redoc) **📧 Contacto:** mailsafepro1@gmail.com
5
+
6
+ The version of the OpenAPI document: 2.5.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.18.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MailSafePro::DeveloperToolsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DeveloperToolsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MailSafePro::DeveloperToolsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DeveloperToolsApi' do
30
+ it 'should create an instance of DeveloperToolsApi' do
31
+ expect(@api_instance).to be_instance_of(MailSafePro::DeveloperToolsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for clear_request_logs_logs_logs_requests_delete
36
+ # Clear Request Logs
37
+ # Clear all request logs for current user.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Object]
40
+ describe 'clear_request_logs_logs_logs_requests_delete test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for get_request_logs_logs_logs_requests_get
47
+ # Get Request Logs
48
+ # Get request logs for authenticated user.
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [Integer] :limit Max results to return
51
+ # @option opts [Integer] :status_code Filter by HTTP status code
52
+ # @option opts [String] :endpoint Filter by endpoint path
53
+ # @option opts [String] :method Filter by HTTP method (GET, POST, etc)
54
+ # @option opts [Time] :since Filter by timestamp (ISO 8601)
55
+ # @return [Object]
56
+ describe 'get_request_logs_logs_logs_requests_get test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
59
+ end
60
+ end
61
+
62
+ end
@@ -0,0 +1,125 @@
1
+ =begin
2
+ #Email Validation API — Enterprise-grade Email Verification
3
+
4
+ #API robusta y segura para validación y verificación de correos electrónicos. Soporta verificación individual y en lote, detección de brechas, y autenticación JWT. Cumple con GDPR y dispone de planes de pago flexibles. **🔗 Enlaces importantes:** - [Estado del sistema](https://mailsafepro.betteruptime.com) - [Documentación completa](https://email-validation-api-jlra.onrender.com/redoc) **📧 Contacto:** mailsafepro1@gmail.com
5
+
6
+ The version of the OpenAPI document: 2.5.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.18.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MailSafePro::EmailValidationApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'EmailValidationApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MailSafePro::EmailValidationApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of EmailValidationApi' do
30
+ it 'should create an instance of EmailValidationApi' do
31
+ expect(@api_instance).to be_instance_of(MailSafePro::EmailValidationApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for batch_validate_emails_validate_batch_post
36
+ # Batch Email Validation
37
+ # Valida múltiples direcciones de email en una sola solicitud.
38
+ # @param batch_validation_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :x_api_key
41
+ # @option opts [String] :authorization
42
+ # @return [BatchEmailResponse]
43
+ describe 'batch_validate_emails_validate_batch_post test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for batch_validate_upload_validate_batch_upload_post
50
+ # Batch Email Validation via File Upload
51
+ # @param file
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :x_api_key
54
+ # @option opts [String] :authorization
55
+ # @option opts [String] :column
56
+ # @option opts [Boolean] :include_raw_dns
57
+ # @option opts [Boolean] :check_smtp
58
+ # @return [Object]
59
+ describe 'batch_validate_upload_validate_batch_upload_post test' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
62
+ end
63
+ end
64
+
65
+ # unit tests for get_cache_stats_validate_stats_cache_get
66
+ # Get Cache Stats
67
+ # Obtiene estadísticas de cache del sistema.
68
+ # @param [Hash] opts the optional parameters
69
+ # @return [Object]
70
+ describe 'get_cache_stats_validate_stats_cache_get test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ # unit tests for get_usage_stats_validate_stats_usage_get
77
+ # Get Usage Stats
78
+ # Obtiene estadísticas de uso del cliente actual.
79
+ # @param [Hash] opts the optional parameters
80
+ # @option opts [String] :x_api_key
81
+ # @option opts [String] :authorization
82
+ # @return [Object]
83
+ describe 'get_usage_stats_validate_stats_usage_get test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
86
+ end
87
+ end
88
+
89
+ # unit tests for health_check_validate_health_get
90
+ # Health Check
91
+ # Health check completo del servicio de validación.
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [Object]
94
+ describe 'health_check_validate_health_get test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
97
+ end
98
+ end
99
+
100
+ # unit tests for health_check_validate_health_head
101
+ # Health Check
102
+ # Health check completo del servicio de validación.
103
+ # @param [Hash] opts the optional parameters
104
+ # @return [Object]
105
+ describe 'health_check_validate_health_head test' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
108
+ end
109
+ end
110
+
111
+ # unit tests for validate_email_endpoint_validate_email_post
112
+ # Validate Email Endpoint
113
+ # ✅ Endpoint de validación de email con timeout y fallback robusto. Cambios principales: - Timeout explícito por plan (FREE: 15s, PREMIUM: 45s, ENTERPRISE: 60s) - Fallback BASIC seguro si se vence - SIEMPRE retorna JSONResponse válida - client_plan en TODAS las respuestas - spam_trap_check ejecutado ANTES del timeout para estar disponible en fallback - Manejo de errores con ResponseBuilder - ✅ NUEVO: Soporte para TLD .test en testing_mode
114
+ # @param email_validation_request
115
+ # @param [Hash] opts the optional parameters
116
+ # @option opts [String] :x_api_key
117
+ # @option opts [String] :authorization
118
+ # @return [Object]
119
+ describe 'validate_email_endpoint_validate_email_post test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
122
+ end
123
+ end
124
+
125
+ end
@@ -0,0 +1,200 @@
1
+ =begin
2
+ #Email Validation API — Enterprise-grade Email Verification
3
+
4
+ #API robusta y segura para validación y verificación de correos electrónicos. Soporta verificación individual y en lote, detección de brechas, y autenticación JWT. Cumple con GDPR y dispone de planes de pago flexibles. **🔗 Enlaces importantes:** - [Estado del sistema](https://mailsafepro.betteruptime.com) - [Documentación completa](https://email-validation-api-jlra.onrender.com/redoc) **📧 Contacto:** mailsafepro1@gmail.com
5
+
6
+ The version of the OpenAPI document: 2.5.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.18.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MailSafePro::HealthApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'HealthApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MailSafePro::HealthApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of HealthApi' do
30
+ it 'should create an instance of HealthApi' do
31
+ expect(@api_instance).to be_instance_of(MailSafePro::HealthApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for basic_health_health_get
36
+ # Basic health check
37
+ # Basic health check for load balancers. Returns 200 if service is running. Fast response, no dependency checks.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Object]
40
+ describe 'basic_health_health_get test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for basic_health_health_get_0
47
+ # Basic health check
48
+ # Basic health check for load balancers. Returns 200 if service is running. Fast response, no dependency checks.
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [Object]
51
+ describe 'basic_health_health_get_0 test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
54
+ end
55
+ end
56
+
57
+ # unit tests for circuit_breaker_status_admin_circuit_breaker_status_get
58
+ # Circuit Breaker Status
59
+ # ✅ Circuit breaker status for all services. Shows state of Redis, SMTP, DNS, and other circuit breakers.
60
+ # @param [Hash] opts the optional parameters
61
+ # @return [Object]
62
+ describe 'circuit_breaker_status_admin_circuit_breaker_status_get test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
65
+ end
66
+ end
67
+
68
+ # unit tests for detailed_health_health_detailed_get
69
+ # Detailed health check
70
+ # Detailed health check with all component statuses. Returns comprehensive health information for monitoring.
71
+ # @param [Hash] opts the optional parameters
72
+ # @return [Object]
73
+ describe 'detailed_health_health_detailed_get test' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
76
+ end
77
+ end
78
+
79
+ # unit tests for detailed_health_health_detailed_get_0
80
+ # Detailed health check
81
+ # Detailed health check with all component statuses. Returns comprehensive health information for monitoring.
82
+ # @param [Hash] opts the optional parameters
83
+ # @return [Object]
84
+ describe 'detailed_health_health_detailed_get_0 test' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ # unit tests for healthcheck_healthcheck_get
91
+ # Healthcheck
92
+ # Basic health check endpoint (backward compatibility)
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [Object]
95
+ describe 'healthcheck_healthcheck_get test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
98
+ end
99
+ end
100
+
101
+ # unit tests for healthcheck_healthcheck_head
102
+ # Healthcheck
103
+ # Basic health check endpoint (backward compatibility)
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [Object]
106
+ describe 'healthcheck_healthcheck_head test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
109
+ end
110
+ end
111
+
112
+ # unit tests for liveness_check_health_liveness_get
113
+ # Liveness Check
114
+ # ✅ MEJORA: Kubernetes liveness probe Returns 200 if the application is alive (not deadlocked) Used by Kubernetes to restart the pod if unhealthy
115
+ # @param [Hash] opts the optional parameters
116
+ # @return [Object]
117
+ describe 'liveness_check_health_liveness_get test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
120
+ end
121
+ end
122
+
123
+ # unit tests for liveness_health_live_get
124
+ # Liveness probe (Kubernetes)
125
+ # Kubernetes liveness probe. Returns 200 if the application is running. Should restart pod if this fails.
126
+ # @param [Hash] opts the optional parameters
127
+ # @return [Object]
128
+ describe 'liveness_health_live_get test' do
129
+ it 'should work' do
130
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
131
+ end
132
+ end
133
+
134
+ # unit tests for liveness_health_live_get_0
135
+ # Liveness probe (Kubernetes)
136
+ # Kubernetes liveness probe. Returns 200 if the application is running. Should restart pod if this fails.
137
+ # @param [Hash] opts the optional parameters
138
+ # @return [Object]
139
+ describe 'liveness_health_live_get_0 test' do
140
+ it 'should work' do
141
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
142
+ end
143
+ end
144
+
145
+ # unit tests for readiness_check_health_readiness_get
146
+ # Readiness Check
147
+ # ✅ MEJORA: Kubernetes readiness probe Returns 200 if the application is ready to serve traffic Checks all critical dependencies (PostgreSQL, Redis, ARQ)
148
+ # @param [Hash] opts the optional parameters
149
+ # @return [Object]
150
+ describe 'readiness_check_health_readiness_get test' do
151
+ it 'should work' do
152
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
153
+ end
154
+ end
155
+
156
+ # unit tests for readiness_health_ready_get
157
+ # Readiness probe (Kubernetes)
158
+ # Kubernetes readiness probe. Returns 200 if service is ready to accept traffic. Checks critical dependencies (Redis).
159
+ # @param [Hash] opts the optional parameters
160
+ # @return [Object]
161
+ describe 'readiness_health_ready_get test' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
164
+ end
165
+ end
166
+
167
+ # unit tests for readiness_health_ready_get_0
168
+ # Readiness probe (Kubernetes)
169
+ # Kubernetes readiness probe. Returns 200 if service is ready to accept traffic. Checks critical dependencies (Redis).
170
+ # @param [Hash] opts the optional parameters
171
+ # @return [Object]
172
+ describe 'readiness_health_ready_get_0 test' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
175
+ end
176
+ end
177
+
178
+ # unit tests for service_status_status_get
179
+ # Service Status
180
+ # ✅ MEJORA: Detailed service status with feature flags Shows which features are available and which are running in degraded mode
181
+ # @param [Hash] opts the optional parameters
182
+ # @return [Object]
183
+ describe 'service_status_status_get test' do
184
+ it 'should work' do
185
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
186
+ end
187
+ end
188
+
189
+ # unit tests for startup_check_health_startup_get
190
+ # Startup Check
191
+ # ✅ MEJORA: Kubernetes startup probe Returns 200 once the application has completed startup Used to delay readiness checks until startup is complete
192
+ # @param [Hash] opts the optional parameters
193
+ # @return [Object]
194
+ describe 'startup_check_health_startup_get test' do
195
+ it 'should work' do
196
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
197
+ end
198
+ end
199
+
200
+ end
@@ -0,0 +1,119 @@
1
+ =begin
2
+ #Email Validation API — Enterprise-grade Email Verification
3
+
4
+ #API robusta y segura para validación y verificación de correos electrónicos. Soporta verificación individual y en lote, detección de brechas, y autenticación JWT. Cumple con GDPR y dispone de planes de pago flexibles. **🔗 Enlaces importantes:** - [Estado del sistema](https://mailsafepro.betteruptime.com) - [Documentación completa](https://email-validation-api-jlra.onrender.com/redoc) **📧 Contacto:** mailsafepro1@gmail.com
5
+
6
+ The version of the OpenAPI document: 2.5.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.18.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MailSafePro::JobsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'JobsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MailSafePro::JobsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of JobsApi' do
30
+ it 'should create an instance of JobsApi' do
31
+ expect(@api_instance).to be_instance_of(MailSafePro::JobsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_job_jobs_v1_jobs_post
36
+ # Create validation job
37
+ # @param job_create_request
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :x_idempotency_key
40
+ # @option opts [String] :x_api_key
41
+ # @option opts [String] :authorization
42
+ # @return [JobCreateResponse]
43
+ describe 'create_job_jobs_v1_jobs_post test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ # unit tests for create_job_jobs_v1_jobs_post_0
50
+ # Create validation job
51
+ # @param job_create_request
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :x_idempotency_key
54
+ # @option opts [String] :x_api_key
55
+ # @option opts [String] :authorization
56
+ # @return [JobCreateResponse]
57
+ describe 'create_job_jobs_v1_jobs_post_0 test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
60
+ end
61
+ end
62
+
63
+ # unit tests for get_job_results_jobs_v1_jobs_job_id_results_get
64
+ # Get job results (paged)
65
+ # @param job_id
66
+ # @param [Hash] opts the optional parameters
67
+ # @option opts [Integer] :page
68
+ # @option opts [Integer] :size
69
+ # @option opts [String] :x_api_key
70
+ # @option opts [String] :authorization
71
+ # @return [JobResultsPage]
72
+ describe 'get_job_results_jobs_v1_jobs_job_id_results_get test' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ # unit tests for get_job_results_jobs_v1_jobs_job_id_results_get_0
79
+ # Get job results (paged)
80
+ # @param job_id
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [Integer] :page
83
+ # @option opts [Integer] :size
84
+ # @option opts [String] :x_api_key
85
+ # @option opts [String] :authorization
86
+ # @return [JobResultsPage]
87
+ describe 'get_job_results_jobs_v1_jobs_job_id_results_get_0 test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
90
+ end
91
+ end
92
+
93
+ # unit tests for get_job_status_jobs_v1_jobs_job_id_get
94
+ # Get job status
95
+ # @param job_id
96
+ # @param [Hash] opts the optional parameters
97
+ # @option opts [String] :x_api_key
98
+ # @option opts [String] :authorization
99
+ # @return [JobStatusResponse]
100
+ describe 'get_job_status_jobs_v1_jobs_job_id_get test' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
103
+ end
104
+ end
105
+
106
+ # unit tests for get_job_status_jobs_v1_jobs_job_id_get_0
107
+ # Get job status
108
+ # @param job_id
109
+ # @param [Hash] opts the optional parameters
110
+ # @option opts [String] :x_api_key
111
+ # @option opts [String] :authorization
112
+ # @return [JobStatusResponse]
113
+ describe 'get_job_status_jobs_v1_jobs_job_id_get_0 test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
116
+ end
117
+ end
118
+
119
+ end
@@ -0,0 +1,62 @@
1
+ =begin
2
+ #Email Validation API — Enterprise-grade Email Verification
3
+
4
+ #API robusta y segura para validación y verificación de correos electrónicos. Soporta verificación individual y en lote, detección de brechas, y autenticación JWT. Cumple con GDPR y dispone de planes de pago flexibles. **🔗 Enlaces importantes:** - [Estado del sistema](https://mailsafepro.betteruptime.com) - [Documentación completa](https://email-validation-api-jlra.onrender.com/redoc) **📧 Contacto:** mailsafepro1@gmail.com
5
+
6
+ The version of the OpenAPI document: 2.5.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.18.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MailSafePro::LogsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'LogsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MailSafePro::LogsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of LogsApi' do
30
+ it 'should create an instance of LogsApi' do
31
+ expect(@api_instance).to be_instance_of(MailSafePro::LogsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for clear_request_logs_logs_logs_requests_delete
36
+ # Clear Request Logs
37
+ # Clear all request logs for current user.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Object]
40
+ describe 'clear_request_logs_logs_logs_requests_delete test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ # unit tests for get_request_logs_logs_logs_requests_get
47
+ # Get Request Logs
48
+ # Get request logs for authenticated user.
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [Integer] :limit Max results to return
51
+ # @option opts [Integer] :status_code Filter by HTTP status code
52
+ # @option opts [String] :endpoint Filter by endpoint path
53
+ # @option opts [String] :method Filter by HTTP method (GET, POST, etc)
54
+ # @option opts [Time] :since Filter by timestamp (ISO 8601)
55
+ # @return [Object]
56
+ describe 'get_request_logs_logs_logs_requests_get test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
59
+ end
60
+ end
61
+
62
+ end