cloudmersive-frauddetection-api-client 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,266 @@
1
+ =begin
2
+ #fraudapi
3
+
4
+ #Easily and directly scan and block fraudulent security threats in input.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudmersiveFrauddetectionApiClient
16
+ # Result of performing an advanced document fraud analysis
17
+ class AdvancedFraudDetectionResult
18
+ # True if successful, false otherwise
19
+ attr_accessor :successful
20
+
21
+ # True if the document is clean, false if fraud threats were found
22
+ attr_accessor :clean_result
23
+
24
+ # Overall fraud risk level between 0.0 and 1.0
25
+ attr_accessor :fraud_risk_level
26
+
27
+ # True if the document contains financial liability
28
+ attr_accessor :contains_financial_liability
29
+
30
+ # True if the document contains sensitive data collection from the recipient
31
+ attr_accessor :contains_sensitive_information_collection
32
+
33
+ # True if the document contains an asset transfer
34
+ attr_accessor :contains_asset_transfer
35
+
36
+ # True if the document contains a purchase agreement
37
+ attr_accessor :contains_purchase_agreement
38
+
39
+ # True if the document contains an employment agreement
40
+ attr_accessor :contains_employment_agreement
41
+
42
+ # Rationale on why the document was classified as such
43
+ attr_accessor :analysis_rationale
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'successful' => :'Successful',
49
+ :'clean_result' => :'CleanResult',
50
+ :'fraud_risk_level' => :'FraudRiskLevel',
51
+ :'contains_financial_liability' => :'ContainsFinancialLiability',
52
+ :'contains_sensitive_information_collection' => :'ContainsSensitiveInformationCollection',
53
+ :'contains_asset_transfer' => :'ContainsAssetTransfer',
54
+ :'contains_purchase_agreement' => :'ContainsPurchaseAgreement',
55
+ :'contains_employment_agreement' => :'ContainsEmploymentAgreement',
56
+ :'analysis_rationale' => :'AnalysisRationale'
57
+ }
58
+ end
59
+
60
+ # Attribute type mapping.
61
+ def self.swagger_types
62
+ {
63
+ :'successful' => :'BOOLEAN',
64
+ :'clean_result' => :'BOOLEAN',
65
+ :'fraud_risk_level' => :'Float',
66
+ :'contains_financial_liability' => :'BOOLEAN',
67
+ :'contains_sensitive_information_collection' => :'BOOLEAN',
68
+ :'contains_asset_transfer' => :'BOOLEAN',
69
+ :'contains_purchase_agreement' => :'BOOLEAN',
70
+ :'contains_employment_agreement' => :'BOOLEAN',
71
+ :'analysis_rationale' => :'String'
72
+ }
73
+ end
74
+
75
+ # Initializes the object
76
+ # @param [Hash] attributes Model attributes in the form of hash
77
+ def initialize(attributes = {})
78
+ return unless attributes.is_a?(Hash)
79
+
80
+ # convert string to symbol for hash key
81
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
82
+
83
+ if attributes.has_key?(:'Successful')
84
+ self.successful = attributes[:'Successful']
85
+ end
86
+
87
+ if attributes.has_key?(:'CleanResult')
88
+ self.clean_result = attributes[:'CleanResult']
89
+ end
90
+
91
+ if attributes.has_key?(:'FraudRiskLevel')
92
+ self.fraud_risk_level = attributes[:'FraudRiskLevel']
93
+ end
94
+
95
+ if attributes.has_key?(:'ContainsFinancialLiability')
96
+ self.contains_financial_liability = attributes[:'ContainsFinancialLiability']
97
+ end
98
+
99
+ if attributes.has_key?(:'ContainsSensitiveInformationCollection')
100
+ self.contains_sensitive_information_collection = attributes[:'ContainsSensitiveInformationCollection']
101
+ end
102
+
103
+ if attributes.has_key?(:'ContainsAssetTransfer')
104
+ self.contains_asset_transfer = attributes[:'ContainsAssetTransfer']
105
+ end
106
+
107
+ if attributes.has_key?(:'ContainsPurchaseAgreement')
108
+ self.contains_purchase_agreement = attributes[:'ContainsPurchaseAgreement']
109
+ end
110
+
111
+ if attributes.has_key?(:'ContainsEmploymentAgreement')
112
+ self.contains_employment_agreement = attributes[:'ContainsEmploymentAgreement']
113
+ end
114
+
115
+ if attributes.has_key?(:'AnalysisRationale')
116
+ self.analysis_rationale = attributes[:'AnalysisRationale']
117
+ end
118
+ end
119
+
120
+ # Show invalid properties with the reasons. Usually used together with valid?
121
+ # @return Array for valid properties with the reasons
122
+ def list_invalid_properties
123
+ invalid_properties = Array.new
124
+ invalid_properties
125
+ end
126
+
127
+ # Check to see if the all the properties in the model are valid
128
+ # @return true if the model is valid
129
+ def valid?
130
+ true
131
+ end
132
+
133
+ # Checks equality by comparing each attribute.
134
+ # @param [Object] Object to be compared
135
+ def ==(o)
136
+ return true if self.equal?(o)
137
+ self.class == o.class &&
138
+ successful == o.successful &&
139
+ clean_result == o.clean_result &&
140
+ fraud_risk_level == o.fraud_risk_level &&
141
+ contains_financial_liability == o.contains_financial_liability &&
142
+ contains_sensitive_information_collection == o.contains_sensitive_information_collection &&
143
+ contains_asset_transfer == o.contains_asset_transfer &&
144
+ contains_purchase_agreement == o.contains_purchase_agreement &&
145
+ contains_employment_agreement == o.contains_employment_agreement &&
146
+ analysis_rationale == o.analysis_rationale
147
+ end
148
+
149
+ # @see the `==` method
150
+ # @param [Object] Object to be compared
151
+ def eql?(o)
152
+ self == o
153
+ end
154
+
155
+ # Calculates hash code according to all attributes.
156
+ # @return [Fixnum] Hash code
157
+ def hash
158
+ [successful, clean_result, fraud_risk_level, contains_financial_liability, contains_sensitive_information_collection, contains_asset_transfer, contains_purchase_agreement, contains_employment_agreement, analysis_rationale].hash
159
+ end
160
+
161
+ # Builds the object from hash
162
+ # @param [Hash] attributes Model attributes in the form of hash
163
+ # @return [Object] Returns the model itself
164
+ def build_from_hash(attributes)
165
+ return nil unless attributes.is_a?(Hash)
166
+ self.class.swagger_types.each_pair do |key, type|
167
+ if type =~ /\AArray<(.*)>/i
168
+ # check to ensure the input is an array given that the attribute
169
+ # is documented as an array but the input is not
170
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
171
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
172
+ end
173
+ elsif !attributes[self.class.attribute_map[key]].nil?
174
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
175
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
176
+ end
177
+
178
+ self
179
+ end
180
+
181
+ # Deserializes the data based on type
182
+ # @param string type Data type
183
+ # @param string value Value to be deserialized
184
+ # @return [Object] Deserialized data
185
+ def _deserialize(type, value)
186
+ case type.to_sym
187
+ when :DateTime
188
+ DateTime.parse(value)
189
+ when :Date
190
+ Date.parse(value)
191
+ when :String
192
+ value.to_s
193
+ when :Integer
194
+ value.to_i
195
+ when :Float
196
+ value.to_f
197
+ when :BOOLEAN
198
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
199
+ true
200
+ else
201
+ false
202
+ end
203
+ when :Object
204
+ # generic object (usually a Hash), return directly
205
+ value
206
+ when /\AArray<(?<inner_type>.+)>\z/
207
+ inner_type = Regexp.last_match[:inner_type]
208
+ value.map { |v| _deserialize(inner_type, v) }
209
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
210
+ k_type = Regexp.last_match[:k_type]
211
+ v_type = Regexp.last_match[:v_type]
212
+ {}.tap do |hash|
213
+ value.each do |k, v|
214
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
215
+ end
216
+ end
217
+ else # model
218
+ temp_model = CloudmersiveFrauddetectionApiClient.const_get(type).new
219
+ temp_model.build_from_hash(value)
220
+ end
221
+ end
222
+
223
+ # Returns the string representation of the object
224
+ # @return [String] String presentation of the object
225
+ def to_s
226
+ to_hash.to_s
227
+ end
228
+
229
+ # to_body is an alias to to_hash (backward compatibility)
230
+ # @return [Hash] Returns the object in the form of hash
231
+ def to_body
232
+ to_hash
233
+ end
234
+
235
+ # Returns the object in the form of hash
236
+ # @return [Hash] Returns the object in the form of hash
237
+ def to_hash
238
+ hash = {}
239
+ self.class.attribute_map.each_pair do |attr, param|
240
+ value = self.send(attr)
241
+ next if value.nil?
242
+ hash[param] = _to_hash(value)
243
+ end
244
+ hash
245
+ end
246
+
247
+ # Outputs non-array value in the form of hash
248
+ # For object, use to_hash. Otherwise, just return the value
249
+ # @param [Object] value Any valid value
250
+ # @return [Hash] Returns the value in the form of hash
251
+ def _to_hash(value)
252
+ if value.is_a?(Array)
253
+ value.compact.map { |v| _to_hash(v) }
254
+ elsif value.is_a?(Hash)
255
+ {}.tap do |hash|
256
+ value.each { |k, v| hash[k] = _to_hash(v) }
257
+ end
258
+ elsif value.respond_to? :to_hash
259
+ value.to_hash
260
+ else
261
+ value
262
+ end
263
+ end
264
+
265
+ end
266
+ end
@@ -0,0 +1,256 @@
1
+ =begin
2
+ #fraudapi
3
+
4
+ #Easily and directly scan and block fraudulent security threats in input.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module CloudmersiveFrauddetectionApiClient
16
+ # Result of performing fraud detection on a document
17
+ class FraudDetectionResult
18
+ # True if successful, false otherwise
19
+ attr_accessor :successful
20
+
21
+ # True if the document is clean, false if fraud threats were found
22
+ attr_accessor :clean_result
23
+
24
+ # Overall fraud risk level between 0.0 and 1.0
25
+ attr_accessor :fraud_risk_level
26
+
27
+ # True if the document contains financial liability
28
+ attr_accessor :contains_financial_liability
29
+
30
+ # True if the document contains sensitive data collection from the recipient
31
+ attr_accessor :contains_sensitive_information_collection
32
+
33
+ # True if the document contains an asset transfer
34
+ attr_accessor :contains_asset_transfer
35
+
36
+ # True if the document contains a purchase agreement
37
+ attr_accessor :contains_purchase_agreement
38
+
39
+ # True if the document contains an employment agreement
40
+ attr_accessor :contains_employment_agreement
41
+
42
+ # Attribute mapping from ruby-style variable name to JSON key.
43
+ def self.attribute_map
44
+ {
45
+ :'successful' => :'Successful',
46
+ :'clean_result' => :'CleanResult',
47
+ :'fraud_risk_level' => :'FraudRiskLevel',
48
+ :'contains_financial_liability' => :'ContainsFinancialLiability',
49
+ :'contains_sensitive_information_collection' => :'ContainsSensitiveInformationCollection',
50
+ :'contains_asset_transfer' => :'ContainsAssetTransfer',
51
+ :'contains_purchase_agreement' => :'ContainsPurchaseAgreement',
52
+ :'contains_employment_agreement' => :'ContainsEmploymentAgreement'
53
+ }
54
+ end
55
+
56
+ # Attribute type mapping.
57
+ def self.swagger_types
58
+ {
59
+ :'successful' => :'BOOLEAN',
60
+ :'clean_result' => :'BOOLEAN',
61
+ :'fraud_risk_level' => :'Float',
62
+ :'contains_financial_liability' => :'BOOLEAN',
63
+ :'contains_sensitive_information_collection' => :'BOOLEAN',
64
+ :'contains_asset_transfer' => :'BOOLEAN',
65
+ :'contains_purchase_agreement' => :'BOOLEAN',
66
+ :'contains_employment_agreement' => :'BOOLEAN'
67
+ }
68
+ end
69
+
70
+ # Initializes the object
71
+ # @param [Hash] attributes Model attributes in the form of hash
72
+ def initialize(attributes = {})
73
+ return unless attributes.is_a?(Hash)
74
+
75
+ # convert string to symbol for hash key
76
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
77
+
78
+ if attributes.has_key?(:'Successful')
79
+ self.successful = attributes[:'Successful']
80
+ end
81
+
82
+ if attributes.has_key?(:'CleanResult')
83
+ self.clean_result = attributes[:'CleanResult']
84
+ end
85
+
86
+ if attributes.has_key?(:'FraudRiskLevel')
87
+ self.fraud_risk_level = attributes[:'FraudRiskLevel']
88
+ end
89
+
90
+ if attributes.has_key?(:'ContainsFinancialLiability')
91
+ self.contains_financial_liability = attributes[:'ContainsFinancialLiability']
92
+ end
93
+
94
+ if attributes.has_key?(:'ContainsSensitiveInformationCollection')
95
+ self.contains_sensitive_information_collection = attributes[:'ContainsSensitiveInformationCollection']
96
+ end
97
+
98
+ if attributes.has_key?(:'ContainsAssetTransfer')
99
+ self.contains_asset_transfer = attributes[:'ContainsAssetTransfer']
100
+ end
101
+
102
+ if attributes.has_key?(:'ContainsPurchaseAgreement')
103
+ self.contains_purchase_agreement = attributes[:'ContainsPurchaseAgreement']
104
+ end
105
+
106
+ if attributes.has_key?(:'ContainsEmploymentAgreement')
107
+ self.contains_employment_agreement = attributes[:'ContainsEmploymentAgreement']
108
+ end
109
+ end
110
+
111
+ # Show invalid properties with the reasons. Usually used together with valid?
112
+ # @return Array for valid properties with the reasons
113
+ def list_invalid_properties
114
+ invalid_properties = Array.new
115
+ invalid_properties
116
+ end
117
+
118
+ # Check to see if the all the properties in the model are valid
119
+ # @return true if the model is valid
120
+ def valid?
121
+ true
122
+ end
123
+
124
+ # Checks equality by comparing each attribute.
125
+ # @param [Object] Object to be compared
126
+ def ==(o)
127
+ return true if self.equal?(o)
128
+ self.class == o.class &&
129
+ successful == o.successful &&
130
+ clean_result == o.clean_result &&
131
+ fraud_risk_level == o.fraud_risk_level &&
132
+ contains_financial_liability == o.contains_financial_liability &&
133
+ contains_sensitive_information_collection == o.contains_sensitive_information_collection &&
134
+ contains_asset_transfer == o.contains_asset_transfer &&
135
+ contains_purchase_agreement == o.contains_purchase_agreement &&
136
+ contains_employment_agreement == o.contains_employment_agreement
137
+ end
138
+
139
+ # @see the `==` method
140
+ # @param [Object] Object to be compared
141
+ def eql?(o)
142
+ self == o
143
+ end
144
+
145
+ # Calculates hash code according to all attributes.
146
+ # @return [Fixnum] Hash code
147
+ def hash
148
+ [successful, clean_result, fraud_risk_level, contains_financial_liability, contains_sensitive_information_collection, contains_asset_transfer, contains_purchase_agreement, contains_employment_agreement].hash
149
+ end
150
+
151
+ # Builds the object from hash
152
+ # @param [Hash] attributes Model attributes in the form of hash
153
+ # @return [Object] Returns the model itself
154
+ def build_from_hash(attributes)
155
+ return nil unless attributes.is_a?(Hash)
156
+ self.class.swagger_types.each_pair do |key, type|
157
+ if type =~ /\AArray<(.*)>/i
158
+ # check to ensure the input is an array given that the attribute
159
+ # is documented as an array but the input is not
160
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
161
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
162
+ end
163
+ elsif !attributes[self.class.attribute_map[key]].nil?
164
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
165
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
166
+ end
167
+
168
+ self
169
+ end
170
+
171
+ # Deserializes the data based on type
172
+ # @param string type Data type
173
+ # @param string value Value to be deserialized
174
+ # @return [Object] Deserialized data
175
+ def _deserialize(type, value)
176
+ case type.to_sym
177
+ when :DateTime
178
+ DateTime.parse(value)
179
+ when :Date
180
+ Date.parse(value)
181
+ when :String
182
+ value.to_s
183
+ when :Integer
184
+ value.to_i
185
+ when :Float
186
+ value.to_f
187
+ when :BOOLEAN
188
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
189
+ true
190
+ else
191
+ false
192
+ end
193
+ when :Object
194
+ # generic object (usually a Hash), return directly
195
+ value
196
+ when /\AArray<(?<inner_type>.+)>\z/
197
+ inner_type = Regexp.last_match[:inner_type]
198
+ value.map { |v| _deserialize(inner_type, v) }
199
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
200
+ k_type = Regexp.last_match[:k_type]
201
+ v_type = Regexp.last_match[:v_type]
202
+ {}.tap do |hash|
203
+ value.each do |k, v|
204
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
205
+ end
206
+ end
207
+ else # model
208
+ temp_model = CloudmersiveFrauddetectionApiClient.const_get(type).new
209
+ temp_model.build_from_hash(value)
210
+ end
211
+ end
212
+
213
+ # Returns the string representation of the object
214
+ # @return [String] String presentation of the object
215
+ def to_s
216
+ to_hash.to_s
217
+ end
218
+
219
+ # to_body is an alias to to_hash (backward compatibility)
220
+ # @return [Hash] Returns the object in the form of hash
221
+ def to_body
222
+ to_hash
223
+ end
224
+
225
+ # Returns the object in the form of hash
226
+ # @return [Hash] Returns the object in the form of hash
227
+ def to_hash
228
+ hash = {}
229
+ self.class.attribute_map.each_pair do |attr, param|
230
+ value = self.send(attr)
231
+ next if value.nil?
232
+ hash[param] = _to_hash(value)
233
+ end
234
+ hash
235
+ end
236
+
237
+ # Outputs non-array value in the form of hash
238
+ # For object, use to_hash. Otherwise, just return the value
239
+ # @param [Object] value Any valid value
240
+ # @return [Hash] Returns the value in the form of hash
241
+ def _to_hash(value)
242
+ if value.is_a?(Array)
243
+ value.compact.map { |v| _to_hash(v) }
244
+ elsif value.is_a?(Hash)
245
+ {}.tap do |hash|
246
+ value.each { |k, v| hash[k] = _to_hash(v) }
247
+ end
248
+ elsif value.respond_to? :to_hash
249
+ value.to_hash
250
+ else
251
+ value
252
+ end
253
+ end
254
+
255
+ end
256
+ end
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #fraudapi
3
+
4
+ #Easily and directly scan and block fraudulent security threats in input.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ module CloudmersiveFrauddetectionApiClient
14
+ VERSION = '2.0.0'
15
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #fraudapi
3
+
4
+ #Easily and directly scan and block fraudulent security threats in input.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'cloudmersive-frauddetection-api-client/api_client'
15
+ require 'cloudmersive-frauddetection-api-client/api_error'
16
+ require 'cloudmersive-frauddetection-api-client/version'
17
+ require 'cloudmersive-frauddetection-api-client/configuration'
18
+
19
+ # Models
20
+ require 'cloudmersive-frauddetection-api-client/models/advanced_fraud_detection_result'
21
+ require 'cloudmersive-frauddetection-api-client/models/fraud_detection_result'
22
+
23
+ # APIs
24
+ require 'cloudmersive-frauddetection-api-client/api/fraud_detection_api'
25
+
26
+ module CloudmersiveFrauddetectionApiClient
27
+ class << self
28
+ # Customize default settings for the SDK using block.
29
+ # CloudmersiveFrauddetectionApiClient.configure do |config|
30
+ # config.username = "xxx"
31
+ # config.password = "xxx"
32
+ # end
33
+ # If no block given, return the default Configuration object.
34
+ def configure
35
+ if block_given?
36
+ yield(Configuration.default)
37
+ else
38
+ Configuration.default
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,61 @@
1
+ =begin
2
+ #fraudapi
3
+
4
+ #Easily and directly scan and block fraudulent security threats in input.
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.14
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudmersiveFrauddetectionApiClient::FraudDetectionApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'FraudDetectionApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = CloudmersiveFrauddetectionApiClient::FraudDetectionApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of FraudDetectionApi' do
30
+ it 'should create an instance of FraudDetectionApi' do
31
+ expect(@instance).to be_instance_of(CloudmersiveFrauddetectionApiClient::FraudDetectionApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for document_detect_fraud
36
+ # AI Fraud Detection for Documents
37
+ # Perform fraud detection and classification on input document and user context. Input document formats supported include DOCX, PDF, PNG and JPG.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [File] :input_file Input document, or photos of a document, to perform fraud detection on
40
+ # @return [FraudDetectionResult]
41
+ describe 'document_detect_fraud test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for document_detect_fraud_advanced
48
+ # Advanced AI Fraud Detection for Documents
49
+ # Perform advanced fraud detection and classification on input document and user context. Input document formats supported include DOCX, PDF, PNG and JPG.
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :user_email_address User email address for context (optional)
52
+ # @option opts [BOOLEAN] :user_email_address_verified True if the user&#39;s email address was verified (optional)
53
+ # @option opts [File] :input_file Input document, or photos of a document, to perform fraud detection on
54
+ # @return [AdvancedFraudDetectionResult]
55
+ describe 'document_detect_fraud_advanced test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ end