alogram_payrisk 0.3.1 → 0.3.2

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 (174) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +2 -2
  4. data/RELEASE.json +4 -4
  5. data/alogram_payrisk.gemspec +1 -1
  6. data/lib/alogram_payrisk/api/forensic_data_api.rb +1 -1
  7. data/lib/alogram_payrisk/api/risk_scoring_api.rb +1 -1
  8. data/lib/alogram_payrisk/api/roadmap_preview_api.rb +1 -1
  9. data/lib/alogram_payrisk/api/signal_intelligence_api.rb +1 -1
  10. data/lib/alogram_payrisk/api/system_api.rb +1 -1
  11. data/lib/alogram_payrisk/api_client.rb +1 -1
  12. data/lib/alogram_payrisk/api_error.rb +1 -1
  13. data/lib/alogram_payrisk/api_model_base.rb +1 -1
  14. data/lib/alogram_payrisk/configuration.rb +1 -1
  15. data/lib/alogram_payrisk/models/account.rb +6 -28
  16. data/lib/alogram_payrisk/models/account_check_request.rb +1 -1
  17. data/lib/alogram_payrisk/models/agent_manifest.rb +1 -1
  18. data/lib/alogram_payrisk/models/agent_provider.rb +1 -1
  19. data/lib/alogram_payrisk/models/auth_context.rb +1 -1
  20. data/lib/alogram_payrisk/models/avs_result_enum.rb +1 -1
  21. data/lib/alogram_payrisk/models/bank_transfer.rb +1 -1
  22. data/lib/alogram_payrisk/models/card.rb +7 -18
  23. data/lib/alogram_payrisk/models/card_network_enum.rb +1 -1
  24. data/lib/alogram_payrisk/models/category_signal.rb +1 -1
  25. data/lib/alogram_payrisk/models/channel_enum.rb +1 -1
  26. data/lib/alogram_payrisk/models/check_request.rb +1 -1
  27. data/lib/alogram_payrisk/models/confidence_enum.rb +1 -1
  28. data/lib/alogram_payrisk/models/crypto.rb +1 -1
  29. data/lib/alogram_payrisk/models/cvv_result_enum.rb +1 -1
  30. data/lib/alogram_payrisk/models/decision_resolution_request.rb +1 -1
  31. data/lib/alogram_payrisk/models/decision_resolution_request_analyst.rb +1 -1
  32. data/lib/alogram_payrisk/models/decision_resolution_response.rb +1 -1
  33. data/lib/alogram_payrisk/models/decision_response.rb +1 -1
  34. data/lib/alogram_payrisk/models/decision_response_policy.rb +1 -1
  35. data/lib/alogram_payrisk/models/device_info.rb +1 -1
  36. data/lib/alogram_payrisk/models/discount_code.rb +1 -1
  37. data/lib/alogram_payrisk/models/entity_ids.rb +1 -1
  38. data/lib/alogram_payrisk/models/entry_method_enum.rb +1 -1
  39. data/lib/alogram_payrisk/models/external_assessment.rb +1 -1
  40. data/lib/alogram_payrisk/models/fraud_score.rb +1 -1
  41. data/lib/alogram_payrisk/models/identity.rb +6 -28
  42. data/lib/alogram_payrisk/models/ingest_payment_event202_response.rb +1 -1
  43. data/lib/alogram_payrisk/models/integrity.rb +1 -1
  44. data/lib/alogram_payrisk/models/interaction.rb +1 -1
  45. data/lib/alogram_payrisk/models/interaction_type_enum.rb +1 -1
  46. data/lib/alogram_payrisk/models/invoice.rb +1 -1
  47. data/lib/alogram_payrisk/models/ip_info.rb +12 -34
  48. data/lib/alogram_payrisk/models/kyc_check_request.rb +1 -1
  49. data/lib/alogram_payrisk/models/kyc_payload.rb +1 -1
  50. data/lib/alogram_payrisk/models/merchant_context.rb +7 -18
  51. data/lib/alogram_payrisk/models/operator_type.rb +1 -1
  52. data/lib/alogram_payrisk/models/order_context.rb +1 -1
  53. data/lib/alogram_payrisk/models/payer_type_enum.rb +1 -1
  54. data/lib/alogram_payrisk/models/payment_authorization_outcome.rb +1 -1
  55. data/lib/alogram_payrisk/models/payment_capture_outcome.rb +1 -1
  56. data/lib/alogram_payrisk/models/payment_card_type_enum.rb +1 -1
  57. data/lib/alogram_payrisk/models/payment_chargeback.rb +1 -1
  58. data/lib/alogram_payrisk/models/payment_chargeback_outcome.rb +1 -1
  59. data/lib/alogram_payrisk/models/payment_dispute_outcome.rb +1 -1
  60. data/lib/alogram_payrisk/models/payment_event.rb +1 -1
  61. data/lib/alogram_payrisk/models/payment_event_type.rb +1 -1
  62. data/lib/alogram_payrisk/models/payment_method.rb +1 -1
  63. data/lib/alogram_payrisk/models/payment_outcome.rb +1 -1
  64. data/lib/alogram_payrisk/models/payment_realtime_type_enum.rb +1 -1
  65. data/lib/alogram_payrisk/models/payment_refund_outcome.rb +1 -1
  66. data/lib/alogram_payrisk/models/payment_wallet_type_enum.rb +1 -1
  67. data/lib/alogram_payrisk/models/postal_address.rb +7 -18
  68. data/lib/alogram_payrisk/models/problem.rb +1 -1
  69. data/lib/alogram_payrisk/models/purchase.rb +1 -1
  70. data/lib/alogram_payrisk/models/purchase_initiator_enum.rb +1 -1
  71. data/lib/alogram_payrisk/models/purchase_sequence_enum.rb +1 -1
  72. data/lib/alogram_payrisk/models/purchase_usage_enum.rb +1 -1
  73. data/lib/alogram_payrisk/models/realtime.rb +1 -1
  74. data/lib/alogram_payrisk/models/reason_detail.rb +1 -1
  75. data/lib/alogram_payrisk/models/risk_breakdown.rb +1 -1
  76. data/lib/alogram_payrisk/models/risk_category_enum.rb +1 -1
  77. data/lib/alogram_payrisk/models/risk_level_enum.rb +1 -1
  78. data/lib/alogram_payrisk/models/sca_method_enum.rb +1 -1
  79. data/lib/alogram_payrisk/models/score_record.rb +1 -1
  80. data/lib/alogram_payrisk/models/scores_success_response.rb +1 -1
  81. data/lib/alogram_payrisk/models/signals_account_variant.rb +1 -1
  82. data/lib/alogram_payrisk/models/signals_interaction_variant.rb +1 -1
  83. data/lib/alogram_payrisk/models/signals_request.rb +1 -1
  84. data/lib/alogram_payrisk/models/stored_credential_context.rb +1 -1
  85. data/lib/alogram_payrisk/models/three_ds_data.rb +1 -1
  86. data/lib/alogram_payrisk/models/wallet.rb +1 -1
  87. data/lib/alogram_payrisk/version.rb +2 -2
  88. data/lib/alogram_payrisk.rb +1 -1
  89. data/spec/api/forensic_data_api_spec.rb +1 -1
  90. data/spec/api/risk_scoring_api_spec.rb +1 -1
  91. data/spec/api/roadmap_preview_api_spec.rb +1 -1
  92. data/spec/api/signal_intelligence_api_spec.rb +1 -1
  93. data/spec/api/system_api_spec.rb +1 -1
  94. data/spec/models/account_check_request_spec.rb +1 -1
  95. data/spec/models/account_spec.rb +1 -1
  96. data/spec/models/agent_manifest_spec.rb +1 -1
  97. data/spec/models/agent_provider_spec.rb +1 -1
  98. data/spec/models/auth_context_spec.rb +1 -1
  99. data/spec/models/avs_result_enum_spec.rb +1 -1
  100. data/spec/models/bank_transfer_spec.rb +1 -1
  101. data/spec/models/card_network_enum_spec.rb +1 -1
  102. data/spec/models/card_spec.rb +1 -1
  103. data/spec/models/category_signal_spec.rb +1 -1
  104. data/spec/models/channel_enum_spec.rb +1 -1
  105. data/spec/models/check_request_spec.rb +1 -1
  106. data/spec/models/confidence_enum_spec.rb +1 -1
  107. data/spec/models/crypto_spec.rb +1 -1
  108. data/spec/models/cvv_result_enum_spec.rb +1 -1
  109. data/spec/models/decision_resolution_request_analyst_spec.rb +1 -1
  110. data/spec/models/decision_resolution_request_spec.rb +1 -1
  111. data/spec/models/decision_resolution_response_spec.rb +1 -1
  112. data/spec/models/decision_response_policy_spec.rb +1 -1
  113. data/spec/models/decision_response_spec.rb +1 -1
  114. data/spec/models/device_info_spec.rb +1 -1
  115. data/spec/models/discount_code_spec.rb +1 -1
  116. data/spec/models/entity_ids_spec.rb +1 -1
  117. data/spec/models/entry_method_enum_spec.rb +1 -1
  118. data/spec/models/external_assessment_spec.rb +1 -1
  119. data/spec/models/fraud_score_spec.rb +1 -1
  120. data/spec/models/identity_spec.rb +1 -1
  121. data/spec/models/ingest_payment_event202_response_spec.rb +1 -1
  122. data/spec/models/integrity_spec.rb +1 -1
  123. data/spec/models/interaction_spec.rb +1 -1
  124. data/spec/models/interaction_type_enum_spec.rb +1 -1
  125. data/spec/models/invoice_spec.rb +1 -1
  126. data/spec/models/ip_info_spec.rb +1 -1
  127. data/spec/models/kyc_check_request_spec.rb +1 -1
  128. data/spec/models/kyc_payload_spec.rb +1 -1
  129. data/spec/models/merchant_context_spec.rb +1 -1
  130. data/spec/models/operator_type_spec.rb +1 -1
  131. data/spec/models/order_context_spec.rb +1 -1
  132. data/spec/models/payer_type_enum_spec.rb +1 -1
  133. data/spec/models/payment_authorization_outcome_spec.rb +1 -1
  134. data/spec/models/payment_capture_outcome_spec.rb +1 -1
  135. data/spec/models/payment_card_type_enum_spec.rb +1 -1
  136. data/spec/models/payment_chargeback_outcome_spec.rb +1 -1
  137. data/spec/models/payment_chargeback_spec.rb +1 -1
  138. data/spec/models/payment_dispute_outcome_spec.rb +1 -1
  139. data/spec/models/payment_event_spec.rb +1 -1
  140. data/spec/models/payment_event_type_spec.rb +1 -1
  141. data/spec/models/payment_method_spec.rb +1 -1
  142. data/spec/models/payment_outcome_spec.rb +1 -1
  143. data/spec/models/payment_realtime_type_enum_spec.rb +1 -1
  144. data/spec/models/payment_refund_outcome_spec.rb +1 -1
  145. data/spec/models/payment_wallet_type_enum_spec.rb +1 -1
  146. data/spec/models/postal_address_spec.rb +1 -1
  147. data/spec/models/problem_spec.rb +1 -1
  148. data/spec/models/purchase_initiator_enum_spec.rb +1 -1
  149. data/spec/models/purchase_sequence_enum_spec.rb +1 -1
  150. data/spec/models/purchase_spec.rb +1 -1
  151. data/spec/models/purchase_usage_enum_spec.rb +1 -1
  152. data/spec/models/realtime_spec.rb +1 -1
  153. data/spec/models/reason_detail_spec.rb +1 -1
  154. data/spec/models/risk_breakdown_spec.rb +1 -1
  155. data/spec/models/risk_category_enum_spec.rb +1 -1
  156. data/spec/models/risk_level_enum_spec.rb +1 -1
  157. data/spec/models/sca_method_enum_spec.rb +1 -1
  158. data/spec/models/score_record_spec.rb +1 -1
  159. data/spec/models/scores_success_response_spec.rb +1 -1
  160. data/spec/models/signals_account_variant_spec.rb +1 -1
  161. data/spec/models/signals_interaction_variant_spec.rb +1 -1
  162. data/spec/models/signals_request_spec.rb +1 -1
  163. data/spec/models/stored_credential_context_spec.rb +1 -1
  164. data/spec/models/three_ds_data_spec.rb +1 -1
  165. data/spec/models/wallet_spec.rb +1 -1
  166. data/spec/spec_helper.rb +1 -1
  167. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/byebug-13.0.0/gem_make.out +5 -5
  168. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/date-3.5.1/gem_make.out +5 -5
  169. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/io-console-0.8.2/gem_make.out +5 -5
  170. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  171. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/psych-5.4.0/gem_make.out +5 -5
  172. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/racc-1.8.1/gem_make.out +5 -5
  173. data/vendor/bundle/ruby/3.3.0/extensions/x86_64-linux/3.3.0/stringio-3.2.0/gem_make.out +5 -5
  174. metadata +2 -2
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -157,11 +157,6 @@ module AlogramPayRisk
157
157
  invalid_properties.push('invalid value for "email", the character length must be greater than or equal to 3.')
158
158
  end
159
159
 
160
- pattern = Regexp.new(/^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$/)
161
- if !@email.nil? && @email !~ pattern
162
- invalid_properties.push("invalid value for \"email\", must conform to the pattern #{pattern}.")
163
- end
164
-
165
160
  if !@email_domain.nil? && @email_domain.to_s.length > 255
166
161
  invalid_properties.push('invalid value for "email_domain", the character length must be smaller than or equal to 255.')
167
162
  end
@@ -171,19 +166,14 @@ module AlogramPayRisk
171
166
  invalid_properties.push("invalid value for \"email_domain\", must conform to the pattern #{pattern}.")
172
167
  end
173
168
 
174
- if !@phone.nil? && @phone.to_s.length > 20
175
- invalid_properties.push('invalid value for "phone", the character length must be smaller than or equal to 20.')
169
+ if !@phone.nil? && @phone.to_s.length > 30
170
+ invalid_properties.push('invalid value for "phone", the character length must be smaller than or equal to 30.')
176
171
  end
177
172
 
178
173
  if !@phone.nil? && @phone.to_s.length < 7
179
174
  invalid_properties.push('invalid value for "phone", the character length must be greater than or equal to 7.')
180
175
  end
181
176
 
182
- pattern = Regexp.new(/^\+?[1-9][0-9 .\-()]{6,14}[0-9]$/)
183
- if !@phone.nil? && @phone !~ pattern
184
- invalid_properties.push("invalid value for \"phone\", must conform to the pattern #{pattern}.")
185
- end
186
-
187
177
  invalid_properties
188
178
  end
189
179
 
@@ -193,12 +183,10 @@ module AlogramPayRisk
193
183
  warn '[DEPRECATED] the `valid?` method is obsolete'
194
184
  return false if !@email.nil? && @email.to_s.length > 320
195
185
  return false if !@email.nil? && @email.to_s.length < 3
196
- return false if !@email.nil? && @email !~ Regexp.new(/^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$/)
197
186
  return false if !@email_domain.nil? && @email_domain.to_s.length > 255
198
187
  return false if !@email_domain.nil? && @email_domain !~ Regexp.new(/^[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/)
199
- return false if !@phone.nil? && @phone.to_s.length > 20
188
+ return false if !@phone.nil? && @phone.to_s.length > 30
200
189
  return false if !@phone.nil? && @phone.to_s.length < 7
201
- return false if !@phone.nil? && @phone !~ Regexp.new(/^\+?[1-9][0-9 .\-()]{6,14}[0-9]$/)
202
190
  email_reputation_validator = EnumAttributeValidator.new('String', ["low", "medium", "high"])
203
191
  return false unless email_reputation_validator.valid?(@email_reputation)
204
192
  true
@@ -215,11 +203,6 @@ module AlogramPayRisk
215
203
  fail ArgumentError, 'invalid value for "email", the character length must be greater than or equal to 3.'
216
204
  end
217
205
 
218
- pattern = Regexp.new(/^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$/)
219
- if email !~ pattern
220
- fail ArgumentError, "invalid value for \"email\", must conform to the pattern #{pattern}."
221
- end
222
-
223
206
  @email = email
224
207
  end
225
208
 
@@ -241,19 +224,14 @@ module AlogramPayRisk
241
224
  # Custom attribute writer method with validation
242
225
  # @param [Object] phone Value to be assigned
243
226
  def phone=(phone)
244
- if phone.to_s.length > 20
245
- fail ArgumentError, 'invalid value for "phone", the character length must be smaller than or equal to 20.'
227
+ if phone.to_s.length > 30
228
+ fail ArgumentError, 'invalid value for "phone", the character length must be smaller than or equal to 30.'
246
229
  end
247
230
 
248
231
  if phone.to_s.length < 7
249
232
  fail ArgumentError, 'invalid value for "phone", the character length must be greater than or equal to 7.'
250
233
  end
251
234
 
252
- pattern = Regexp.new(/^\+?[1-9][0-9 .\-()]{6,14}[0-9]$/)
253
- if phone !~ pattern
254
- fail ArgumentError, "invalid value for \"phone\", must conform to the pattern #{pattern}."
255
- end
256
-
257
235
  @phone = phone
258
236
  end
259
237
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -36,7 +36,7 @@ module AlogramPayRisk
36
36
  # Company associated with the IP address.
37
37
  attr_accessor :company
38
38
 
39
- # ISO 3166-1 alpha-2 country code.
39
+ # ISO 3166-1 alpha-2 country code or full country name.
40
40
  attr_accessor :country
41
41
 
42
42
  # Region associated with the IP address.
@@ -188,37 +188,27 @@ module AlogramPayRisk
188
188
  def list_invalid_properties
189
189
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
190
190
  invalid_properties = Array.new
191
- if !@ip_address.nil? && @ip_address.to_s.length > 15
192
- invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 15.')
191
+ if !@ip_address.nil? && @ip_address.to_s.length > 45
192
+ invalid_properties.push('invalid value for "ip_address", the character length must be smaller than or equal to 45.')
193
193
  end
194
194
 
195
195
  if !@ip_address.nil? && @ip_address.to_s.length < 7
196
196
  invalid_properties.push('invalid value for "ip_address", the character length must be greater than or equal to 7.')
197
197
  end
198
198
 
199
- pattern = Regexp.new(/^(\d{1,3}\.){3}\d{1,3}$/)
200
- if !@ip_address.nil? && @ip_address !~ pattern
201
- invalid_properties.push("invalid value for \"ip_address\", must conform to the pattern #{pattern}.")
202
- end
203
-
204
199
  pattern = Regexp.new(/^AS\d+$/)
205
200
  if !@asn.nil? && @asn !~ pattern
206
201
  invalid_properties.push("invalid value for \"asn\", must conform to the pattern #{pattern}.")
207
202
  end
208
203
 
209
- if !@country.nil? && @country.to_s.length > 2
210
- invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 2.')
204
+ if !@country.nil? && @country.to_s.length > 64
205
+ invalid_properties.push('invalid value for "country", the character length must be smaller than or equal to 64.')
211
206
  end
212
207
 
213
208
  if !@country.nil? && @country.to_s.length < 2
214
209
  invalid_properties.push('invalid value for "country", the character length must be greater than or equal to 2.')
215
210
  end
216
211
 
217
- pattern = Regexp.new(/^[A-Z]{2}$/)
218
- if !@country.nil? && @country !~ pattern
219
- invalid_properties.push("invalid value for \"country\", must conform to the pattern #{pattern}.")
220
- end
221
-
222
212
  if !@region.nil? && @region.to_s.length > 60
223
213
  invalid_properties.push('invalid value for "region", the character length must be smaller than or equal to 60.')
224
214
  end
@@ -250,15 +240,13 @@ module AlogramPayRisk
250
240
  # @return true if the model is valid
251
241
  def valid?
252
242
  warn '[DEPRECATED] the `valid?` method is obsolete'
253
- return false if !@ip_address.nil? && @ip_address.to_s.length > 15
243
+ return false if !@ip_address.nil? && @ip_address.to_s.length > 45
254
244
  return false if !@ip_address.nil? && @ip_address.to_s.length < 7
255
- return false if !@ip_address.nil? && @ip_address !~ Regexp.new(/^(\d{1,3}\.){3}\d{1,3}$/)
256
245
  ip_version_validator = EnumAttributeValidator.new('String', ["ipv4", "ipv6"])
257
246
  return false unless ip_version_validator.valid?(@ip_version)
258
247
  return false if !@asn.nil? && @asn !~ Regexp.new(/^AS\d+$/)
259
- return false if !@country.nil? && @country.to_s.length > 2
248
+ return false if !@country.nil? && @country.to_s.length > 64
260
249
  return false if !@country.nil? && @country.to_s.length < 2
261
- return false if !@country.nil? && @country !~ Regexp.new(/^[A-Z]{2}$/)
262
250
  return false if !@region.nil? && @region.to_s.length > 60
263
251
  return false if !@region.nil? && @region.to_s.length < 2
264
252
  return false if !@city.nil? && @city.to_s.length > 60
@@ -271,19 +259,14 @@ module AlogramPayRisk
271
259
  # Custom attribute writer method with validation
272
260
  # @param [Object] ip_address Value to be assigned
273
261
  def ip_address=(ip_address)
274
- if ip_address.to_s.length > 15
275
- fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 15.'
262
+ if ip_address.to_s.length > 45
263
+ fail ArgumentError, 'invalid value for "ip_address", the character length must be smaller than or equal to 45.'
276
264
  end
277
265
 
278
266
  if ip_address.to_s.length < 7
279
267
  fail ArgumentError, 'invalid value for "ip_address", the character length must be greater than or equal to 7.'
280
268
  end
281
269
 
282
- pattern = Regexp.new(/^(\d{1,3}\.){3}\d{1,3}$/)
283
- if ip_address !~ pattern
284
- fail ArgumentError, "invalid value for \"ip_address\", must conform to the pattern #{pattern}."
285
- end
286
-
287
270
  @ip_address = ip_address
288
271
  end
289
272
 
@@ -311,19 +294,14 @@ module AlogramPayRisk
311
294
  # Custom attribute writer method with validation
312
295
  # @param [Object] country Value to be assigned
313
296
  def country=(country)
314
- if country.to_s.length > 2
315
- fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 2.'
297
+ if country.to_s.length > 64
298
+ fail ArgumentError, 'invalid value for "country", the character length must be smaller than or equal to 64.'
316
299
  end
317
300
 
318
301
  if country.to_s.length < 2
319
302
  fail ArgumentError, 'invalid value for "country", the character length must be greater than or equal to 2.'
320
303
  end
321
304
 
322
- pattern = Regexp.new(/^[A-Z]{2}$/)
323
- if country !~ pattern
324
- fail ArgumentError, "invalid value for \"country\", must conform to the pattern #{pattern}."
325
- end
326
-
327
305
  @country = country
328
306
  end
329
307
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -19,7 +19,7 @@ module AlogramPayRisk
19
19
  # Merchant Category Code (MCC) for the merchant.
20
20
  attr_accessor :mcc
21
21
 
22
- # ISO 3166-1 alpha-2 country code.
22
+ # ISO 3166-1 alpha-2 country code or full country name.
23
23
  attr_accessor :merchant_country
24
24
 
25
25
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -97,19 +97,14 @@ module AlogramPayRisk
97
97
  invalid_properties.push("invalid value for \"mcc\", must conform to the pattern #{pattern}.")
98
98
  end
99
99
 
100
- if !@merchant_country.nil? && @merchant_country.to_s.length > 2
101
- invalid_properties.push('invalid value for "merchant_country", the character length must be smaller than or equal to 2.')
100
+ if !@merchant_country.nil? && @merchant_country.to_s.length > 64
101
+ invalid_properties.push('invalid value for "merchant_country", the character length must be smaller than or equal to 64.')
102
102
  end
103
103
 
104
104
  if !@merchant_country.nil? && @merchant_country.to_s.length < 2
105
105
  invalid_properties.push('invalid value for "merchant_country", the character length must be greater than or equal to 2.')
106
106
  end
107
107
 
108
- pattern = Regexp.new(/^[A-Z]{2}$/)
109
- if !@merchant_country.nil? && @merchant_country !~ pattern
110
- invalid_properties.push("invalid value for \"merchant_country\", must conform to the pattern #{pattern}.")
111
- end
112
-
113
108
  invalid_properties
114
109
  end
115
110
 
@@ -120,9 +115,8 @@ module AlogramPayRisk
120
115
  return false if !@mcc.nil? && @mcc.to_s.length > 4
121
116
  return false if !@mcc.nil? && @mcc.to_s.length < 4
122
117
  return false if !@mcc.nil? && @mcc !~ Regexp.new(/^[0-9]{4}$/)
123
- return false if !@merchant_country.nil? && @merchant_country.to_s.length > 2
118
+ return false if !@merchant_country.nil? && @merchant_country.to_s.length > 64
124
119
  return false if !@merchant_country.nil? && @merchant_country.to_s.length < 2
125
- return false if !@merchant_country.nil? && @merchant_country !~ Regexp.new(/^[A-Z]{2}$/)
126
120
  true
127
121
  end
128
122
 
@@ -148,19 +142,14 @@ module AlogramPayRisk
148
142
  # Custom attribute writer method with validation
149
143
  # @param [Object] merchant_country Value to be assigned
150
144
  def merchant_country=(merchant_country)
151
- if merchant_country.to_s.length > 2
152
- fail ArgumentError, 'invalid value for "merchant_country", the character length must be smaller than or equal to 2.'
145
+ if merchant_country.to_s.length > 64
146
+ fail ArgumentError, 'invalid value for "merchant_country", the character length must be smaller than or equal to 64.'
153
147
  end
154
148
 
155
149
  if merchant_country.to_s.length < 2
156
150
  fail ArgumentError, 'invalid value for "merchant_country", the character length must be greater than or equal to 2.'
157
151
  end
158
152
 
159
- pattern = Regexp.new(/^[A-Z]{2}$/)
160
- if merchant_country !~ pattern
161
- fail ArgumentError, "invalid value for \"merchant_country\", must conform to the pattern #{pattern}."
162
- end
163
-
164
153
  @merchant_country = merchant_country
165
154
  end
166
155
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Alogram PayRisk is an AI-native decision engine built for the speed and complexity of the modern commerce era. In a high-velocity world where AI-driven threats evolve in milliseconds, Alogram provides the real-time adaptability and forensic transparency needed to protect your ecosystem with total confidence. We solve the challenge of balancing frictionless growth with regulatory explainability, delivering instant, intelligent risk orchestration at enterprise scale. --- ## Licensing & Terms Our client libraries and API specifications are open-source under the **Apache License 2.0** to ensure seamless integration into your tech stack. Use of the Alogram PayRisk API service is proprietary and governed by our [Terms of Service](https://alogram.ai/#tos) and your specific **Enterprise Agreement**, if applicable. To access the service, you must have: * A valid Alogram API Key. * An active subscription or signed Master Service Agreement. Unauthorized use, including automated scraping or reverse engineering of the scoring engine, is strictly prohibited. --- ## Support & Traceability Every Alogram API response includes a unique **`x-trace-id`** header. Please include this ID when contacting [packages@alogram.ai](mailto:packages@alogram.ai) regarding specific transactions or errors. --- ## Specification The authoritative OpenAPI specification for this version is available for download: **[Download openapi.yaml](https://developers.alogram.ai/openapi.yaml)** | **[Download openapi.json](https://developers.alogram.ai/openapi.json)**
5
5
 
6
- The version of the OpenAPI document: 0.3.1
6
+ The version of the OpenAPI document: 0.3.2
7
7
  Contact: packages@alogram.ai
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.15.0