ultracart_api 4.1.92 → 4.1.94

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -2
  3. data/docs/FraudApi.md +278 -0
  4. data/docs/FraudDeclineEmailRequest.md +18 -0
  5. data/docs/FraudLookupValues.md +28 -0
  6. data/docs/FraudLookupValuesResponse.md +26 -0
  7. data/docs/FraudRuleInsertRequest.md +76 -0
  8. data/docs/FraudRuleItemFilter.md +20 -0
  9. data/docs/FraudRulePublic.md +90 -0
  10. data/docs/FraudRuleResponse.md +26 -0
  11. data/docs/FraudRuleRotatingTransactionGatewayFilter.md +20 -0
  12. data/docs/FraudRuleSearchRequest.md +78 -0
  13. data/docs/FraudRuleStorefrontFilter.md +20 -0
  14. data/docs/FraudRulesResponse.md +26 -0
  15. data/docs/ItemVariantItem.md +2 -0
  16. data/lib/ultracart_api/api/fraud_api.rb +373 -0
  17. data/lib/ultracart_api/models/fraud_decline_email_request.rb +220 -0
  18. data/lib/ultracart_api/models/fraud_lookup_values.rb +270 -0
  19. data/lib/ultracart_api/models/fraud_lookup_values_response.rb +256 -0
  20. data/lib/ultracart_api/models/fraud_rule_insert_request.rb +583 -0
  21. data/lib/ultracart_api/models/fraud_rule_item_filter.rb +245 -0
  22. data/lib/ultracart_api/models/fraud_rule_public.rb +652 -0
  23. data/lib/ultracart_api/models/fraud_rule_response.rb +256 -0
  24. data/lib/ultracart_api/models/fraud_rule_rotating_transaction_gateway_filter.rb +230 -0
  25. data/lib/ultracart_api/models/fraud_rule_search_request.rb +572 -0
  26. data/lib/ultracart_api/models/fraud_rule_storefront_filter.rb +245 -0
  27. data/lib/ultracart_api/models/fraud_rules_response.rb +259 -0
  28. data/lib/ultracart_api/models/item_variant_item.rb +11 -1
  29. data/lib/ultracart_api/version.rb +1 -1
  30. data/lib/ultracart_api.rb +12 -0
  31. metadata +26 -2
@@ -0,0 +1,245 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module UltracartClient
17
+ class FraudRuleStorefrontFilter
18
+ # Screen branding theme code associated with this storefront (legacy checkouts)
19
+ attr_accessor :screen_branding_theme_code
20
+
21
+ # StoreFront Host Name
22
+ attr_accessor :storefront_host_name
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'screen_branding_theme_code' => :'screen_branding_theme_code',
28
+ :'storefront_host_name' => :'storefront_host_name'
29
+ }
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'screen_branding_theme_code' => :'String',
41
+ :'storefront_host_name' => :'String'
42
+ }
43
+ end
44
+
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
51
+ # Initializes the object
52
+ # @param [Hash] attributes Model attributes in the form of hash
53
+ def initialize(attributes = {})
54
+ if (!attributes.is_a?(Hash))
55
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::FraudRuleStorefrontFilter` initialize method"
56
+ end
57
+
58
+ # check to see if the attribute exists and convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!self.class.attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::FraudRuleStorefrontFilter`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'screen_branding_theme_code')
67
+ self.screen_branding_theme_code = attributes[:'screen_branding_theme_code']
68
+ end
69
+
70
+ if attributes.key?(:'storefront_host_name')
71
+ self.storefront_host_name = attributes[:'storefront_host_name']
72
+ end
73
+ end
74
+
75
+ # Show invalid properties with the reasons. Usually used together with valid?
76
+ # @return Array for valid properties with the reasons
77
+ def list_invalid_properties
78
+ invalid_properties = Array.new
79
+ if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
80
+ invalid_properties.push('invalid value for "screen_branding_theme_code", the character length must be smaller than or equal to 10.')
81
+ end
82
+
83
+ invalid_properties
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ def valid?
89
+ return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
90
+ true
91
+ end
92
+
93
+ # Custom attribute writer method with validation
94
+ # @param [Object] screen_branding_theme_code Value to be assigned
95
+ def screen_branding_theme_code=(screen_branding_theme_code)
96
+ if !screen_branding_theme_code.nil? && screen_branding_theme_code.to_s.length > 10
97
+ fail ArgumentError, 'invalid value for "screen_branding_theme_code", the character length must be smaller than or equal to 10.'
98
+ end
99
+
100
+ @screen_branding_theme_code = screen_branding_theme_code
101
+ end
102
+
103
+ # Checks equality by comparing each attribute.
104
+ # @param [Object] Object to be compared
105
+ def ==(o)
106
+ return true if self.equal?(o)
107
+ self.class == o.class &&
108
+ screen_branding_theme_code == o.screen_branding_theme_code &&
109
+ storefront_host_name == o.storefront_host_name
110
+ end
111
+
112
+ # @see the `==` method
113
+ # @param [Object] Object to be compared
114
+ def eql?(o)
115
+ self == o
116
+ end
117
+
118
+ # Calculates hash code according to all attributes.
119
+ # @return [Integer] Hash code
120
+ def hash
121
+ [screen_branding_theme_code, storefront_host_name].hash
122
+ end
123
+
124
+ # Builds the object from hash
125
+ # @param [Hash] attributes Model attributes in the form of hash
126
+ # @return [Object] Returns the model itself
127
+ def self.build_from_hash(attributes)
128
+ new.build_from_hash(attributes)
129
+ end
130
+
131
+ # Builds the object from hash
132
+ # @param [Hash] attributes Model attributes in the form of hash
133
+ # @return [Object] Returns the model itself
134
+ def build_from_hash(attributes)
135
+ return nil unless attributes.is_a?(Hash)
136
+ attributes = attributes.transform_keys(&:to_sym)
137
+ self.class.openapi_types.each_pair do |key, type|
138
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
139
+ self.send("#{key}=", nil)
140
+ elsif type =~ /\AArray<(.*)>/i
141
+ # check to ensure the input is an array given that the attribute
142
+ # is documented as an array but the input is not
143
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
144
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
145
+ end
146
+ elsif !attributes[self.class.attribute_map[key]].nil?
147
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
148
+ end
149
+ end
150
+
151
+ self
152
+ end
153
+
154
+ # Deserializes the data based on type
155
+ # @param string type Data type
156
+ # @param string value Value to be deserialized
157
+ # @return [Object] Deserialized data
158
+ def _deserialize(type, value)
159
+ case type.to_sym
160
+ when :Time
161
+ Time.parse(value)
162
+ when :Date
163
+ Date.parse(value)
164
+ when :String
165
+ value.to_s
166
+ when :Integer
167
+ value.to_i
168
+ when :Float
169
+ value.to_f
170
+ when :Boolean
171
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
172
+ true
173
+ else
174
+ false
175
+ end
176
+ when :Object
177
+ # generic object (usually a Hash), return directly
178
+ value
179
+ when /\AArray<(?<inner_type>.+)>\z/
180
+ inner_type = Regexp.last_match[:inner_type]
181
+ value.map { |v| _deserialize(inner_type, v) }
182
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
183
+ k_type = Regexp.last_match[:k_type]
184
+ v_type = Regexp.last_match[:v_type]
185
+ {}.tap do |hash|
186
+ value.each do |k, v|
187
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
188
+ end
189
+ end
190
+ else # model
191
+ # models (e.g. Pet) or oneOf
192
+ klass = UltracartClient.const_get(type)
193
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
194
+ end
195
+ end
196
+
197
+ # Returns the string representation of the object
198
+ # @return [String] String presentation of the object
199
+ def to_s
200
+ to_hash.to_s
201
+ end
202
+
203
+ # to_body is an alias to to_hash (backward compatibility)
204
+ # @return [Hash] Returns the object in the form of hash
205
+ def to_body
206
+ to_hash
207
+ end
208
+
209
+ # Returns the object in the form of hash
210
+ # @return [Hash] Returns the object in the form of hash
211
+ def to_hash
212
+ hash = {}
213
+ self.class.attribute_map.each_pair do |attr, param|
214
+ value = self.send(attr)
215
+ if value.nil?
216
+ is_nullable = self.class.openapi_nullable.include?(attr)
217
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
218
+ end
219
+
220
+ hash[param] = _to_hash(value)
221
+ end
222
+ hash
223
+ end
224
+
225
+ # Outputs non-array value in the form of hash
226
+ # For object, use to_hash. Otherwise, just return the value
227
+ # @param [Object] value Any valid value
228
+ # @return [Hash] Returns the value in the form of hash
229
+ def _to_hash(value)
230
+ if value.is_a?(Array)
231
+ value.compact.map { |v| _to_hash(v) }
232
+ elsif value.is_a?(Hash)
233
+ {}.tap do |hash|
234
+ value.each { |k, v| hash[k] = _to_hash(v) }
235
+ end
236
+ elsif value.respond_to? :to_hash
237
+ value.to_hash
238
+ else
239
+ value
240
+ end
241
+ end
242
+
243
+ end
244
+
245
+ end
@@ -0,0 +1,259 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module UltracartClient
17
+ class FraudRulesResponse
18
+ attr_accessor :error
19
+
20
+ # fraud_rules
21
+ attr_accessor :fraud_rules
22
+
23
+ attr_accessor :metadata
24
+
25
+ # Indicates if API call was successful
26
+ attr_accessor :success
27
+
28
+ attr_accessor :warning
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'error' => :'error',
34
+ :'fraud_rules' => :'fraud_rules',
35
+ :'metadata' => :'metadata',
36
+ :'success' => :'success',
37
+ :'warning' => :'warning'
38
+ }
39
+ end
40
+
41
+ # Returns all the JSON keys this model knows about
42
+ def self.acceptable_attributes
43
+ attribute_map.values
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.openapi_types
48
+ {
49
+ :'error' => :'Error',
50
+ :'fraud_rules' => :'Array<FraudRulePublic>',
51
+ :'metadata' => :'ResponseMetadata',
52
+ :'success' => :'Boolean',
53
+ :'warning' => :'Warning'
54
+ }
55
+ end
56
+
57
+ # List of attributes with nullable: true
58
+ def self.openapi_nullable
59
+ Set.new([
60
+ ])
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ if (!attributes.is_a?(Hash))
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::FraudRulesResponse` initialize method"
68
+ end
69
+
70
+ # check to see if the attribute exists and convert string to symbol for hash key
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!self.class.attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::FraudRulesResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'error')
79
+ self.error = attributes[:'error']
80
+ end
81
+
82
+ if attributes.key?(:'fraud_rules')
83
+ if (value = attributes[:'fraud_rules']).is_a?(Array)
84
+ self.fraud_rules = value
85
+ end
86
+ end
87
+
88
+ if attributes.key?(:'metadata')
89
+ self.metadata = attributes[:'metadata']
90
+ end
91
+
92
+ if attributes.key?(:'success')
93
+ self.success = attributes[:'success']
94
+ end
95
+
96
+ if attributes.key?(:'warning')
97
+ self.warning = attributes[:'warning']
98
+ end
99
+ end
100
+
101
+ # Show invalid properties with the reasons. Usually used together with valid?
102
+ # @return Array for valid properties with the reasons
103
+ def list_invalid_properties
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ true
112
+ end
113
+
114
+ # Checks equality by comparing each attribute.
115
+ # @param [Object] Object to be compared
116
+ def ==(o)
117
+ return true if self.equal?(o)
118
+ self.class == o.class &&
119
+ error == o.error &&
120
+ fraud_rules == o.fraud_rules &&
121
+ metadata == o.metadata &&
122
+ success == o.success &&
123
+ warning == o.warning
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Integer] Hash code
134
+ def hash
135
+ [error, fraud_rules, metadata, success, warning].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def self.build_from_hash(attributes)
142
+ new.build_from_hash(attributes)
143
+ end
144
+
145
+ # Builds the object from hash
146
+ # @param [Hash] attributes Model attributes in the form of hash
147
+ # @return [Object] Returns the model itself
148
+ def build_from_hash(attributes)
149
+ return nil unless attributes.is_a?(Hash)
150
+ attributes = attributes.transform_keys(&:to_sym)
151
+ self.class.openapi_types.each_pair do |key, type|
152
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
153
+ self.send("#{key}=", nil)
154
+ elsif type =~ /\AArray<(.*)>/i
155
+ # check to ensure the input is an array given that the attribute
156
+ # is documented as an array but the input is not
157
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
158
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
159
+ end
160
+ elsif !attributes[self.class.attribute_map[key]].nil?
161
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
162
+ end
163
+ end
164
+
165
+ self
166
+ end
167
+
168
+ # Deserializes the data based on type
169
+ # @param string type Data type
170
+ # @param string value Value to be deserialized
171
+ # @return [Object] Deserialized data
172
+ def _deserialize(type, value)
173
+ case type.to_sym
174
+ when :Time
175
+ Time.parse(value)
176
+ when :Date
177
+ Date.parse(value)
178
+ when :String
179
+ value.to_s
180
+ when :Integer
181
+ value.to_i
182
+ when :Float
183
+ value.to_f
184
+ when :Boolean
185
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
186
+ true
187
+ else
188
+ false
189
+ end
190
+ when :Object
191
+ # generic object (usually a Hash), return directly
192
+ value
193
+ when /\AArray<(?<inner_type>.+)>\z/
194
+ inner_type = Regexp.last_match[:inner_type]
195
+ value.map { |v| _deserialize(inner_type, v) }
196
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
197
+ k_type = Regexp.last_match[:k_type]
198
+ v_type = Regexp.last_match[:v_type]
199
+ {}.tap do |hash|
200
+ value.each do |k, v|
201
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
202
+ end
203
+ end
204
+ else # model
205
+ # models (e.g. Pet) or oneOf
206
+ klass = UltracartClient.const_get(type)
207
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
208
+ end
209
+ end
210
+
211
+ # Returns the string representation of the object
212
+ # @return [String] String presentation of the object
213
+ def to_s
214
+ to_hash.to_s
215
+ end
216
+
217
+ # to_body is an alias to to_hash (backward compatibility)
218
+ # @return [Hash] Returns the object in the form of hash
219
+ def to_body
220
+ to_hash
221
+ end
222
+
223
+ # Returns the object in the form of hash
224
+ # @return [Hash] Returns the object in the form of hash
225
+ def to_hash
226
+ hash = {}
227
+ self.class.attribute_map.each_pair do |attr, param|
228
+ value = self.send(attr)
229
+ if value.nil?
230
+ is_nullable = self.class.openapi_nullable.include?(attr)
231
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
232
+ end
233
+
234
+ hash[param] = _to_hash(value)
235
+ end
236
+ hash
237
+ end
238
+
239
+ # Outputs non-array value in the form of hash
240
+ # For object, use to_hash. Otherwise, just return the value
241
+ # @param [Object] value Any valid value
242
+ # @return [Hash] Returns the value in the form of hash
243
+ def _to_hash(value)
244
+ if value.is_a?(Array)
245
+ value.compact.map { |v| _to_hash(v) }
246
+ elsif value.is_a?(Hash)
247
+ {}.tap do |hash|
248
+ value.each { |k, v| hash[k] = _to_hash(v) }
249
+ end
250
+ elsif value.respond_to? :to_hash
251
+ value.to_hash
252
+ else
253
+ value
254
+ end
255
+ end
256
+
257
+ end
258
+
259
+ end
@@ -21,6 +21,9 @@ module UltracartClient
21
21
  # Multimedia object identifier
22
22
  attr_accessor :merchant_item_multimedia_oid
23
23
 
24
+ # Quantity of the variant item added to the cart when this combination is selected. Defaults to 1.
25
+ attr_accessor :quantity
26
+
24
27
  attr_accessor :variant_default_multimedia
25
28
 
26
29
  # Variant item id
@@ -42,6 +45,7 @@ module UltracartClient
42
45
  {
43
46
  :'description' => :'description',
44
47
  :'merchant_item_multimedia_oid' => :'merchant_item_multimedia_oid',
48
+ :'quantity' => :'quantity',
45
49
  :'variant_default_multimedia' => :'variant_default_multimedia',
46
50
  :'variant_merchant_item_id' => :'variant_merchant_item_id',
47
51
  :'variant_merchant_item_oid' => :'variant_merchant_item_oid',
@@ -61,6 +65,7 @@ module UltracartClient
61
65
  {
62
66
  :'description' => :'String',
63
67
  :'merchant_item_multimedia_oid' => :'Integer',
68
+ :'quantity' => :'Integer',
64
69
  :'variant_default_multimedia' => :'ItemContentMultimedia',
65
70
  :'variant_merchant_item_id' => :'String',
66
71
  :'variant_merchant_item_oid' => :'Integer',
@@ -99,6 +104,10 @@ module UltracartClient
99
104
  self.merchant_item_multimedia_oid = attributes[:'merchant_item_multimedia_oid']
100
105
  end
101
106
 
107
+ if attributes.key?(:'quantity')
108
+ self.quantity = attributes[:'quantity']
109
+ end
110
+
102
111
  if attributes.key?(:'variant_default_multimedia')
103
112
  self.variant_default_multimedia = attributes[:'variant_default_multimedia']
104
113
  end
@@ -163,6 +172,7 @@ module UltracartClient
163
172
  self.class == o.class &&
164
173
  description == o.description &&
165
174
  merchant_item_multimedia_oid == o.merchant_item_multimedia_oid &&
175
+ quantity == o.quantity &&
166
176
  variant_default_multimedia == o.variant_default_multimedia &&
167
177
  variant_merchant_item_id == o.variant_merchant_item_id &&
168
178
  variant_merchant_item_oid == o.variant_merchant_item_oid &&
@@ -180,7 +190,7 @@ module UltracartClient
180
190
  # Calculates hash code according to all attributes.
181
191
  # @return [Integer] Hash code
182
192
  def hash
183
- [description, merchant_item_multimedia_oid, variant_default_multimedia, variant_merchant_item_id, variant_merchant_item_oid, variant_pricing, variation_options, variations].hash
193
+ [description, merchant_item_multimedia_oid, quantity, variant_default_multimedia, variant_merchant_item_id, variant_merchant_item_oid, variant_pricing, variation_options, variations].hash
184
194
  end
185
195
 
186
196
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.92'
14
+ VERSION = '4.1.94'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -601,6 +601,17 @@ require 'ultracart_api/models/file_manager_page'
601
601
  require 'ultracart_api/models/file_manager_page_response'
602
602
  require 'ultracart_api/models/file_manager_upload_request'
603
603
  require 'ultracart_api/models/file_manager_upload_url_response'
604
+ require 'ultracart_api/models/fraud_decline_email_request'
605
+ require 'ultracart_api/models/fraud_lookup_values'
606
+ require 'ultracart_api/models/fraud_lookup_values_response'
607
+ require 'ultracart_api/models/fraud_rule_insert_request'
608
+ require 'ultracart_api/models/fraud_rule_item_filter'
609
+ require 'ultracart_api/models/fraud_rule_public'
610
+ require 'ultracart_api/models/fraud_rule_response'
611
+ require 'ultracart_api/models/fraud_rule_rotating_transaction_gateway_filter'
612
+ require 'ultracart_api/models/fraud_rule_search_request'
613
+ require 'ultracart_api/models/fraud_rule_storefront_filter'
614
+ require 'ultracart_api/models/fraud_rules_response'
604
615
  require 'ultracart_api/models/fulfillment_inventory'
605
616
  require 'ultracart_api/models/fulfillment_shipment'
606
617
  require 'ultracart_api/models/geo_point'
@@ -1015,6 +1026,7 @@ require 'ultracart_api/api/conversation_embed_api'
1015
1026
  require 'ultracart_api/api/coupon_api'
1016
1027
  require 'ultracart_api/api/customer_api'
1017
1028
  require 'ultracart_api/api/datawarehouse_api'
1029
+ require 'ultracart_api/api/fraud_api'
1018
1030
  require 'ultracart_api/api/fulfillment_api'
1019
1031
  require 'ultracart_api/api/gift_certificate_api'
1020
1032
  require 'ultracart_api/api/integration_log_api'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.92
4
+ version: 4.1.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-26 00:00:00.000000000 Z
11
+ date: 2026-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -654,6 +654,18 @@ files:
654
654
  - docs/FileManagerPageResponse.md
655
655
  - docs/FileManagerUploadRequest.md
656
656
  - docs/FileManagerUploadUrlResponse.md
657
+ - docs/FraudApi.md
658
+ - docs/FraudDeclineEmailRequest.md
659
+ - docs/FraudLookupValues.md
660
+ - docs/FraudLookupValuesResponse.md
661
+ - docs/FraudRuleInsertRequest.md
662
+ - docs/FraudRuleItemFilter.md
663
+ - docs/FraudRulePublic.md
664
+ - docs/FraudRuleResponse.md
665
+ - docs/FraudRuleRotatingTransactionGatewayFilter.md
666
+ - docs/FraudRuleSearchRequest.md
667
+ - docs/FraudRuleStorefrontFilter.md
668
+ - docs/FraudRulesResponse.md
657
669
  - docs/FulfillmentApi.md
658
670
  - docs/FulfillmentInventory.md
659
671
  - docs/FulfillmentShipment.md
@@ -1080,6 +1092,7 @@ files:
1080
1092
  - lib/ultracart_api/api/coupon_api.rb
1081
1093
  - lib/ultracart_api/api/customer_api.rb
1082
1094
  - lib/ultracart_api/api/datawarehouse_api.rb
1095
+ - lib/ultracart_api/api/fraud_api.rb
1083
1096
  - lib/ultracart_api/api/fulfillment_api.rb
1084
1097
  - lib/ultracart_api/api/gift_certificate_api.rb
1085
1098
  - lib/ultracart_api/api/integration_log_api.rb
@@ -1679,6 +1692,17 @@ files:
1679
1692
  - lib/ultracart_api/models/file_manager_page_response.rb
1680
1693
  - lib/ultracart_api/models/file_manager_upload_request.rb
1681
1694
  - lib/ultracart_api/models/file_manager_upload_url_response.rb
1695
+ - lib/ultracart_api/models/fraud_decline_email_request.rb
1696
+ - lib/ultracart_api/models/fraud_lookup_values.rb
1697
+ - lib/ultracart_api/models/fraud_lookup_values_response.rb
1698
+ - lib/ultracart_api/models/fraud_rule_insert_request.rb
1699
+ - lib/ultracart_api/models/fraud_rule_item_filter.rb
1700
+ - lib/ultracart_api/models/fraud_rule_public.rb
1701
+ - lib/ultracart_api/models/fraud_rule_response.rb
1702
+ - lib/ultracart_api/models/fraud_rule_rotating_transaction_gateway_filter.rb
1703
+ - lib/ultracart_api/models/fraud_rule_search_request.rb
1704
+ - lib/ultracart_api/models/fraud_rule_storefront_filter.rb
1705
+ - lib/ultracart_api/models/fraud_rules_response.rb
1682
1706
  - lib/ultracart_api/models/fulfillment_inventory.rb
1683
1707
  - lib/ultracart_api/models/fulfillment_shipment.rb
1684
1708
  - lib/ultracart_api/models/geo_point.rb