ultracart_api 4.1.95 → 4.1.96
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.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/docs/FraudRulePublic.md +1 -1
- data/lib/ultracart_api/models/fraud_rule_public.rb +1 -13
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50eea23bef9f9f23d5b91c373e5803ac371c99850e7e7f83d48cfd7c6e050d63
|
|
4
|
+
data.tar.gz: dd2430fbdeab17b5943efc2bfe6d1ba169a70658400a039ea263ba934197ef22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f09615e424ca49497814e9d58eee3648e95c609fe61657572272805f9d657db4383019790f7fc562031099111c0c8549b583be115a56ba58dcb2b88652b983d
|
|
7
|
+
data.tar.gz: 995b0794acf0d36b77a618b399dbc216fef8286e56c1ed7a3ef432ef05c8ac49268922565020af645023d3b35b5548872767694475b032bd2035bad457b6c57b
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 4.1.
|
|
10
|
+
- Package version: 4.1.96
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.96'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1769,6 +1769,7 @@ Not every change is committed to every SDK.
|
|
|
1769
1769
|
|
|
1770
1770
|
| Version | Date | Comments |
|
|
1771
1771
|
| --: | :-: | --- |
|
|
1772
|
+
| 4.1.96 | 06/03/2026 | fraud api alpha build |
|
|
1772
1773
|
| 4.1.95 | 06/02/2026 | fraud api alpha version |
|
|
1773
1774
|
| 4.1.94 | 06/02/2026 | fraud api alpha version |
|
|
1774
1775
|
| 4.1.93 | 06/02/2026 | fraud api alpha version for testing |
|
data/docs/FraudRulePublic.md
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
| **modify_skip_affiliate** | **Boolean** | | [optional] |
|
|
38
38
|
| **modify_skip_affiliate_network_pixel** | **Boolean** | | [optional] |
|
|
39
39
|
| **rotating_transaction_gateway_filters** | [**Array<FraudRuleRotatingTransactionGatewayFilter>**](FraudRuleRotatingTransactionGatewayFilter.md) | | [optional] |
|
|
40
|
-
| **rule_group** | **String** | Group containing this rule type (eg 'creditCardRules') | [optional] |
|
|
40
|
+
| **rule_group** | **String** | Group containing this rule type (eg 'creditCardRules'). Deliberately not constrained by allowableValues on the response so SDK consumers do not hard-fail on an unexpected value if a future rule_type slips through the server-side mapping. Search REQUESTS still restrict rule_group to the known set. | [optional] |
|
|
41
41
|
| **rule_type** | **String** | Rule type. | [optional] |
|
|
42
42
|
| **storefront_filters** | [**Array<FraudRuleStorefrontFilter>**](FraudRuleStorefrontFilter.md) | | [optional] |
|
|
43
43
|
| **user_action** | **String** | | [optional] |
|
|
@@ -88,7 +88,7 @@ module UltracartClient
|
|
|
88
88
|
|
|
89
89
|
attr_accessor :rotating_transaction_gateway_filters
|
|
90
90
|
|
|
91
|
-
# Group containing this rule type (eg 'creditCardRules')
|
|
91
|
+
# Group containing this rule type (eg 'creditCardRules'). Deliberately not constrained by allowableValues on the response so SDK consumers do not hard-fail on an unexpected value if a future rule_type slips through the server-side mapping. Search REQUESTS still restrict rule_group to the known set.
|
|
92
92
|
attr_accessor :rule_group
|
|
93
93
|
|
|
94
94
|
# Rule type.
|
|
@@ -403,8 +403,6 @@ module UltracartClient
|
|
|
403
403
|
return false unless failure_action_validator.valid?(@failure_action)
|
|
404
404
|
ip_range_type_validator = EnumAttributeValidator.new('String', ["address", "subnet"])
|
|
405
405
|
return false unless ip_range_type_validator.valid?(@ip_range_type)
|
|
406
|
-
rule_group_validator = EnumAttributeValidator.new('String', ["exemptRules", "creditCardRules", "ipRules", "addressRules", "affiliateRules", "itemRules", "orderRules", "browserRules"])
|
|
407
|
-
return false unless rule_group_validator.valid?(@rule_group)
|
|
408
406
|
rule_type_validator = EnumAttributeValidator.new('String', ["exempt apo fpo", "exempt ip", "exempt logged in customer with pricing tier", "credit card single transaction exceeds", "credit card daily transaction amount exceeds", "credit card daily transaction count exceeds", "credit card weekly transaction amount exceeds", "credit card weekly transaction count exceeds", "credit card change number", "credit card block bin", "credit card block prepaid", "amazon special instructions", "paypal special instructions", "reward coupon email mismatch", "gateway response", "ip daily transaction amount exceeds", "ip daily transaction count exceeds", "ip weekly transaction amount exceeds", "ip weekly transaction count exceeds", "ip matches", "ip country mismatch", "address fraud score exceeds", "address fraud score exceeds exempt apo fpo", "address street and zip avs", "address billing doesnt match shipping", "billing country doesnt match shipping", "address international", "address match except zip", "address email", "address not in country", "wholesale customer not logged in", "affiliate matches", "affiliate daily count exceeds", "affiliate weekly count exceeds", "affiliate daily decline percentage exceeds", "affiliate weekly decline percentage exceeds", "affiliate daily with same ip", "affiliate weekly with same ip", "item matches", "item quantity exceeds", "order previous return", "order purchased within last hours", "order used coupon meant for sharing", "browser os linux"])
|
|
409
407
|
return false unless rule_type_validator.valid?(@rule_type)
|
|
410
408
|
user_action_validator = EnumAttributeValidator.new('String', ["Attempted", "Approved"])
|
|
@@ -442,16 +440,6 @@ module UltracartClient
|
|
|
442
440
|
@ip_range_type = ip_range_type
|
|
443
441
|
end
|
|
444
442
|
|
|
445
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
446
|
-
# @param [Object] rule_group Object to be assigned
|
|
447
|
-
def rule_group=(rule_group)
|
|
448
|
-
validator = EnumAttributeValidator.new('String', ["exemptRules", "creditCardRules", "ipRules", "addressRules", "affiliateRules", "itemRules", "orderRules", "browserRules"])
|
|
449
|
-
unless validator.valid?(rule_group)
|
|
450
|
-
fail ArgumentError, "invalid value for \"rule_group\", must be one of #{validator.allowable_values}."
|
|
451
|
-
end
|
|
452
|
-
@rule_group = rule_group
|
|
453
|
-
end
|
|
454
|
-
|
|
455
443
|
# Custom attribute writer method checking allowed values (enum).
|
|
456
444
|
# @param [Object] rule_type Object to be assigned
|
|
457
445
|
def rule_type=(rule_type)
|