mx-platform-ruby 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -2
  3. data/Gemfile.lock +84 -0
  4. data/README.md +236 -33
  5. data/Rakefile +8 -9
  6. data/lib/mx-platform-ruby.rb +126 -35
  7. data/lib/mx-platform-ruby/api/mx_platform_api.rb +4917 -0
  8. data/lib/mx-platform-ruby/api_client.rb +395 -0
  9. data/lib/mx-platform-ruby/api_error.rb +57 -0
  10. data/lib/mx-platform-ruby/configuration.rb +276 -0
  11. data/lib/mx-platform-ruby/models/account.rb +569 -0
  12. data/lib/mx-platform-ruby/models/account_number.rb +281 -0
  13. data/lib/mx-platform-ruby/models/account_numbers_response_body.rb +229 -0
  14. data/lib/mx-platform-ruby/models/account_owner.rb +317 -0
  15. data/lib/mx-platform-ruby/models/account_owners_response_body.rb +229 -0
  16. data/lib/mx-platform-ruby/models/account_response_body.rb +218 -0
  17. data/lib/mx-platform-ruby/models/account_update_request.rb +218 -0
  18. data/lib/mx-platform-ruby/models/account_update_request_body.rb +218 -0
  19. data/lib/mx-platform-ruby/models/accounts_response_body.rb +229 -0
  20. data/lib/mx-platform-ruby/models/categories_response_body.rb +229 -0
  21. data/lib/mx-platform-ruby/models/category.rb +281 -0
  22. data/lib/mx-platform-ruby/models/category_create_request.rb +241 -0
  23. data/lib/mx-platform-ruby/models/category_create_request_body.rb +218 -0
  24. data/lib/mx-platform-ruby/models/category_response_body.rb +218 -0
  25. data/lib/mx-platform-ruby/models/category_update_request.rb +227 -0
  26. data/lib/mx-platform-ruby/models/category_update_request_body.rb +218 -0
  27. data/lib/mx-platform-ruby/models/challenge.rb +276 -0
  28. data/lib/mx-platform-ruby/models/challenge_image_options.rb +236 -0
  29. data/lib/mx-platform-ruby/models/challenge_options.rb +227 -0
  30. data/lib/mx-platform-ruby/models/challenges_response_body.rb +229 -0
  31. data/lib/mx-platform-ruby/models/connect_widget.rb +227 -0
  32. data/lib/mx-platform-ruby/models/connect_widget_request.rb +308 -0
  33. data/lib/mx-platform-ruby/models/connect_widget_request_body.rb +218 -0
  34. data/lib/mx-platform-ruby/models/connect_widget_response_body.rb +218 -0
  35. data/lib/mx-platform-ruby/models/credential.rb +254 -0
  36. data/lib/mx-platform-ruby/models/credential_request.rb +227 -0
  37. data/lib/mx-platform-ruby/models/credentials_response_body.rb +229 -0
  38. data/lib/mx-platform-ruby/models/enhance_transaction.rb +353 -0
  39. data/lib/mx-platform-ruby/models/enhance_transactions_request.rb +264 -0
  40. data/lib/mx-platform-ruby/models/enhance_transactions_request_body.rb +220 -0
  41. data/lib/mx-platform-ruby/models/enhance_transactions_response_body.rb +220 -0
  42. data/lib/mx-platform-ruby/models/holding.rb +371 -0
  43. data/lib/mx-platform-ruby/models/holding_response_body.rb +218 -0
  44. data/lib/mx-platform-ruby/models/holdings_response_body.rb +229 -0
  45. data/lib/mx-platform-ruby/models/inline_response200.rb +218 -0
  46. data/lib/mx-platform-ruby/models/institution.rb +299 -0
  47. data/lib/mx-platform-ruby/models/institution_response_body.rb +218 -0
  48. data/lib/mx-platform-ruby/models/institutions_response_body.rb +229 -0
  49. data/lib/mx-platform-ruby/models/member.rb +317 -0
  50. data/lib/mx-platform-ruby/models/member_create_request.rb +284 -0
  51. data/lib/mx-platform-ruby/models/member_create_request_body.rb +236 -0
  52. data/lib/mx-platform-ruby/models/member_response_body.rb +218 -0
  53. data/lib/mx-platform-ruby/models/member_resume_request.rb +220 -0
  54. data/lib/mx-platform-ruby/models/member_resume_request_body.rb +218 -0
  55. data/lib/mx-platform-ruby/models/member_status.rb +292 -0
  56. data/lib/mx-platform-ruby/models/member_status_response_body.rb +218 -0
  57. data/lib/mx-platform-ruby/models/member_update_request.rb +256 -0
  58. data/lib/mx-platform-ruby/models/member_update_request_body.rb +218 -0
  59. data/lib/mx-platform-ruby/models/members_response_body.rb +229 -0
  60. data/lib/mx-platform-ruby/models/merchant.rb +263 -0
  61. data/lib/mx-platform-ruby/models/merchant_response_body.rb +218 -0
  62. data/lib/mx-platform-ruby/models/merchants_response_body.rb +229 -0
  63. data/lib/mx-platform-ruby/models/o_auth_window.rb +227 -0
  64. data/lib/mx-platform-ruby/models/o_auth_window_response_body.rb +218 -0
  65. data/lib/mx-platform-ruby/models/pagination.rb +245 -0
  66. data/lib/mx-platform-ruby/models/statement.rb +281 -0
  67. data/lib/mx-platform-ruby/models/statement_response_body.rb +218 -0
  68. data/lib/mx-platform-ruby/models/statements_response_body.rb +229 -0
  69. data/lib/mx-platform-ruby/models/tag.rb +236 -0
  70. data/lib/mx-platform-ruby/models/tag_create_request.rb +223 -0
  71. data/lib/mx-platform-ruby/models/tag_create_request_body.rb +218 -0
  72. data/lib/mx-platform-ruby/models/tag_response_body.rb +218 -0
  73. data/lib/mx-platform-ruby/models/tag_update_request.rb +223 -0
  74. data/lib/mx-platform-ruby/models/tag_update_request_body.rb +218 -0
  75. data/lib/mx-platform-ruby/models/tagging.rb +254 -0
  76. data/lib/mx-platform-ruby/models/tagging_create_request.rb +237 -0
  77. data/lib/mx-platform-ruby/models/tagging_create_request_body.rb +218 -0
  78. data/lib/mx-platform-ruby/models/tagging_response_body.rb +218 -0
  79. data/lib/mx-platform-ruby/models/tagging_update_request.rb +223 -0
  80. data/lib/mx-platform-ruby/models/tagging_update_request_body.rb +218 -0
  81. data/lib/mx-platform-ruby/models/taggings_response_body.rb +229 -0
  82. data/lib/mx-platform-ruby/models/tags_response_body.rb +229 -0
  83. data/lib/mx-platform-ruby/models/transaction.rb +533 -0
  84. data/lib/mx-platform-ruby/models/transaction_response_body.rb +218 -0
  85. data/lib/mx-platform-ruby/models/transaction_rule.rb +272 -0
  86. data/lib/mx-platform-ruby/models/transaction_rule_create_request.rb +246 -0
  87. data/lib/mx-platform-ruby/models/transaction_rule_create_request_body.rb +218 -0
  88. data/lib/mx-platform-ruby/models/transaction_rule_response_body.rb +218 -0
  89. data/lib/mx-platform-ruby/models/transaction_rule_update_request.rb +236 -0
  90. data/lib/mx-platform-ruby/models/transaction_rule_update_request_body.rb +218 -0
  91. data/lib/mx-platform-ruby/models/transaction_rules_response_body.rb +229 -0
  92. data/lib/mx-platform-ruby/models/transaction_update_request.rb +223 -0
  93. data/lib/mx-platform-ruby/models/transaction_update_request_body.rb +218 -0
  94. data/lib/mx-platform-ruby/models/transactions_response_body.rb +229 -0
  95. data/lib/mx-platform-ruby/models/user.rb +254 -0
  96. data/lib/mx-platform-ruby/models/user_create_request.rb +245 -0
  97. data/lib/mx-platform-ruby/models/user_create_request_body.rb +218 -0
  98. data/lib/mx-platform-ruby/models/user_response_body.rb +218 -0
  99. data/lib/mx-platform-ruby/models/user_update_request.rb +245 -0
  100. data/lib/mx-platform-ruby/models/user_update_request_body.rb +218 -0
  101. data/lib/mx-platform-ruby/models/users_response_body.rb +229 -0
  102. data/lib/mx-platform-ruby/models/widget.rb +236 -0
  103. data/lib/mx-platform-ruby/models/widget_request.rb +331 -0
  104. data/lib/mx-platform-ruby/models/widget_request_body.rb +218 -0
  105. data/lib/mx-platform-ruby/models/widget_response_body.rb +218 -0
  106. data/lib/mx-platform-ruby/version.rb +13 -3
  107. data/mx-platform-ruby.gemspec +34 -27
  108. data/openapi/mx_platform_ruby.yml +11 -0
  109. data/spec/api/mx_platform_api_spec.rb +979 -0
  110. data/spec/api_client_spec.rb +188 -0
  111. data/spec/configuration_spec.rb +42 -0
  112. data/spec/models/account_number_spec.rb +76 -0
  113. data/spec/models/account_numbers_response_body_spec.rb +40 -0
  114. data/spec/models/account_owner_spec.rb +100 -0
  115. data/spec/models/account_owners_response_body_spec.rb +40 -0
  116. data/spec/models/account_response_body_spec.rb +34 -0
  117. data/spec/models/account_spec.rb +268 -0
  118. data/spec/models/account_update_request_body_spec.rb +34 -0
  119. data/spec/models/account_update_request_spec.rb +34 -0
  120. data/spec/models/accounts_response_body_spec.rb +40 -0
  121. data/spec/models/categories_response_body_spec.rb +40 -0
  122. data/spec/models/category_create_request_body_spec.rb +34 -0
  123. data/spec/models/category_create_request_spec.rb +46 -0
  124. data/spec/models/category_response_body_spec.rb +34 -0
  125. data/spec/models/category_spec.rb +76 -0
  126. data/spec/models/category_update_request_body_spec.rb +34 -0
  127. data/spec/models/category_update_request_spec.rb +40 -0
  128. data/spec/models/challenge_image_options_spec.rb +46 -0
  129. data/spec/models/challenge_options_spec.rb +40 -0
  130. data/spec/models/challenge_spec.rb +70 -0
  131. data/spec/models/challenges_response_body_spec.rb +40 -0
  132. data/spec/models/connect_widget_request_body_spec.rb +34 -0
  133. data/spec/models/connect_widget_request_spec.rb +94 -0
  134. data/spec/models/connect_widget_response_body_spec.rb +34 -0
  135. data/spec/models/connect_widget_spec.rb +40 -0
  136. data/spec/models/credential_request_spec.rb +40 -0
  137. data/spec/models/credential_spec.rb +58 -0
  138. data/spec/models/credentials_response_body_spec.rb +40 -0
  139. data/spec/models/enhance_transaction_spec.rb +124 -0
  140. data/spec/models/enhance_transactions_request_body_spec.rb +34 -0
  141. data/spec/models/enhance_transactions_request_spec.rb +58 -0
  142. data/spec/models/enhance_transactions_response_body_spec.rb +34 -0
  143. data/spec/models/holding_response_body_spec.rb +34 -0
  144. data/spec/models/holding_spec.rb +136 -0
  145. data/spec/models/holdings_response_body_spec.rb +40 -0
  146. data/spec/models/inline_response200_spec.rb +34 -0
  147. data/spec/models/institution_response_body_spec.rb +34 -0
  148. data/spec/models/institution_spec.rb +88 -0
  149. data/spec/models/institutions_response_body_spec.rb +40 -0
  150. data/spec/models/member_create_request_body_spec.rb +46 -0
  151. data/spec/models/member_create_request_spec.rb +70 -0
  152. data/spec/models/member_response_body_spec.rb +34 -0
  153. data/spec/models/member_resume_request_body_spec.rb +34 -0
  154. data/spec/models/member_resume_request_spec.rb +34 -0
  155. data/spec/models/member_spec.rb +100 -0
  156. data/spec/models/member_status_response_body_spec.rb +34 -0
  157. data/spec/models/member_status_spec.rb +82 -0
  158. data/spec/models/member_update_request_body_spec.rb +34 -0
  159. data/spec/models/member_update_request_spec.rb +58 -0
  160. data/spec/models/members_response_body_spec.rb +40 -0
  161. data/spec/models/merchant_response_body_spec.rb +34 -0
  162. data/spec/models/merchant_spec.rb +64 -0
  163. data/spec/models/merchants_response_body_spec.rb +40 -0
  164. data/spec/models/o_auth_window_response_body_spec.rb +34 -0
  165. data/spec/models/o_auth_window_spec.rb +40 -0
  166. data/spec/models/pagination_spec.rb +52 -0
  167. data/spec/models/statement_response_body_spec.rb +34 -0
  168. data/spec/models/statement_spec.rb +76 -0
  169. data/spec/models/statements_response_body_spec.rb +40 -0
  170. data/spec/models/tag_create_request_body_spec.rb +34 -0
  171. data/spec/models/tag_create_request_spec.rb +34 -0
  172. data/spec/models/tag_response_body_spec.rb +34 -0
  173. data/spec/models/tag_spec.rb +46 -0
  174. data/spec/models/tag_update_request_body_spec.rb +34 -0
  175. data/spec/models/tag_update_request_spec.rb +34 -0
  176. data/spec/models/tagging_create_request_body_spec.rb +34 -0
  177. data/spec/models/tagging_create_request_spec.rb +40 -0
  178. data/spec/models/tagging_response_body_spec.rb +34 -0
  179. data/spec/models/tagging_spec.rb +58 -0
  180. data/spec/models/tagging_update_request_body_spec.rb +34 -0
  181. data/spec/models/tagging_update_request_spec.rb +34 -0
  182. data/spec/models/taggings_response_body_spec.rb +40 -0
  183. data/spec/models/tags_response_body_spec.rb +40 -0
  184. data/spec/models/transaction_response_body_spec.rb +34 -0
  185. data/spec/models/transaction_rule_create_request_body_spec.rb +34 -0
  186. data/spec/models/transaction_rule_create_request_spec.rb +46 -0
  187. data/spec/models/transaction_rule_response_body_spec.rb +34 -0
  188. data/spec/models/transaction_rule_spec.rb +70 -0
  189. data/spec/models/transaction_rule_update_request_body_spec.rb +34 -0
  190. data/spec/models/transaction_rule_update_request_spec.rb +46 -0
  191. data/spec/models/transaction_rules_response_body_spec.rb +40 -0
  192. data/spec/models/transaction_spec.rb +244 -0
  193. data/spec/models/transaction_update_request_body_spec.rb +34 -0
  194. data/spec/models/transaction_update_request_spec.rb +34 -0
  195. data/spec/models/transactions_response_body_spec.rb +40 -0
  196. data/spec/models/user_create_request_body_spec.rb +34 -0
  197. data/spec/models/user_create_request_spec.rb +52 -0
  198. data/spec/models/user_response_body_spec.rb +34 -0
  199. data/spec/models/user_spec.rb +58 -0
  200. data/spec/models/user_update_request_body_spec.rb +34 -0
  201. data/spec/models/user_update_request_spec.rb +52 -0
  202. data/spec/models/users_response_body_spec.rb +40 -0
  203. data/spec/models/widget_request_body_spec.rb +34 -0
  204. data/spec/models/widget_request_spec.rb +106 -0
  205. data/spec/models/widget_response_body_spec.rb +34 -0
  206. data/spec/models/widget_spec.rb +46 -0
  207. data/spec/spec_helper.rb +100 -13
  208. metadata +317 -144
  209. data/.github/workflows/test.yml +0 -20
  210. data/.gitignore +0 -13
  211. data/.rubocop.yml +0 -44
  212. data/lib/mx-platform-ruby/account.rb +0 -107
  213. data/lib/mx-platform-ruby/account_number.rb +0 -57
  214. data/lib/mx-platform-ruby/account_owner.rb +0 -42
  215. data/lib/mx-platform-ruby/category.rb +0 -127
  216. data/lib/mx-platform-ruby/challenge.rb +0 -37
  217. data/lib/mx-platform-ruby/client.rb +0 -59
  218. data/lib/mx-platform-ruby/connect_widget.rb +0 -43
  219. data/lib/mx-platform-ruby/credential.rb +0 -54
  220. data/lib/mx-platform-ruby/enhanced_transaction.rb +0 -44
  221. data/lib/mx-platform-ruby/error.rb +0 -6
  222. data/lib/mx-platform-ruby/holding.rb +0 -87
  223. data/lib/mx-platform-ruby/institution.rb +0 -78
  224. data/lib/mx-platform-ruby/member.rb +0 -242
  225. data/lib/mx-platform-ruby/member_status.rb +0 -35
  226. data/lib/mx-platform-ruby/merchant.rb +0 -52
  227. data/lib/mx-platform-ruby/oauth_window.rb +0 -32
  228. data/lib/mx-platform-ruby/pageable.rb +0 -29
  229. data/lib/mx-platform-ruby/statement.rb +0 -70
  230. data/lib/mx-platform-ruby/tag.rb +0 -104
  231. data/lib/mx-platform-ruby/tagging.rb +0 -107
  232. data/lib/mx-platform-ruby/transaction.rb +0 -162
  233. data/lib/mx-platform-ruby/transaction_rule.rb +0 -112
  234. data/lib/mx-platform-ruby/user.rb +0 -112
  235. data/lib/mx-platform-ruby/widget.rb +0 -49
  236. data/spec/lib/mx-platform-ruby/account_number_spec.rb +0 -100
  237. data/spec/lib/mx-platform-ruby/account_owner_spec.rb +0 -71
  238. data/spec/lib/mx-platform-ruby/account_spec.rb +0 -267
  239. data/spec/lib/mx-platform-ruby/category_spec.rb +0 -244
  240. data/spec/lib/mx-platform-ruby/challenge_spec.rb +0 -72
  241. data/spec/lib/mx-platform-ruby/client_spec.rb +0 -101
  242. data/spec/lib/mx-platform-ruby/connect_widget_spec.rb +0 -66
  243. data/spec/lib/mx-platform-ruby/credential_spec.rb +0 -90
  244. data/spec/lib/mx-platform-ruby/enhanced_transaction_spec.rb +0 -89
  245. data/spec/lib/mx-platform-ruby/holding_spec.rb +0 -178
  246. data/spec/lib/mx-platform-ruby/institution_spec.rb +0 -141
  247. data/spec/lib/mx-platform-ruby/member_spec.rb +0 -557
  248. data/spec/lib/mx-platform-ruby/member_status_spec.rb +0 -76
  249. data/spec/lib/mx-platform-ruby/merchant_spec.rb +0 -89
  250. data/spec/lib/mx-platform-ruby/oauth_window_spec.rb +0 -47
  251. data/spec/lib/mx-platform-ruby/pageable_spec.rb +0 -75
  252. data/spec/lib/mx-platform-ruby/statement_spec.rb +0 -130
  253. data/spec/lib/mx-platform-ruby/tag_spec.rb +0 -179
  254. data/spec/lib/mx-platform-ruby/tagging_spec.rb +0 -191
  255. data/spec/lib/mx-platform-ruby/transaction_rule_spec.rb +0 -207
  256. data/spec/lib/mx-platform-ruby/transaction_spec.rb +0 -449
  257. data/spec/lib/mx-platform-ruby/user_spec.rb +0 -196
  258. data/spec/lib/mx-platform-ruby/widget_spec.rb +0 -76
  259. data/spec/lib/mx-platform-ruby_spec.rb +0 -15
  260. data/spec/sample.pdf +0 -0
@@ -0,0 +1,218 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MxPlatformRuby
17
+ class WidgetResponseBody
18
+ attr_accessor :widget_url
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'widget_url' => :'widget_url'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'widget_url' => :'Widget'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MxPlatformRuby::WidgetResponseBody` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MxPlatformRuby::WidgetResponseBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'widget_url')
61
+ self.widget_url = attributes[:'widget_url']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ invalid_properties = Array.new
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ true
76
+ end
77
+
78
+ # Checks equality by comparing each attribute.
79
+ # @param [Object] Object to be compared
80
+ def ==(o)
81
+ return true if self.equal?(o)
82
+ self.class == o.class &&
83
+ widget_url == o.widget_url
84
+ end
85
+
86
+ # @see the `==` method
87
+ # @param [Object] Object to be compared
88
+ def eql?(o)
89
+ self == o
90
+ end
91
+
92
+ # Calculates hash code according to all attributes.
93
+ # @return [Integer] Hash code
94
+ def hash
95
+ [widget_url].hash
96
+ end
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def self.build_from_hash(attributes)
102
+ new.build_from_hash(attributes)
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def build_from_hash(attributes)
109
+ return nil unless attributes.is_a?(Hash)
110
+ self.class.openapi_types.each_pair do |key, type|
111
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
112
+ self.send("#{key}=", nil)
113
+ elsif type =~ /\AArray<(.*)>/i
114
+ # check to ensure the input is an array given that the attribute
115
+ # is documented as an array but the input is not
116
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
117
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
118
+ end
119
+ elsif !attributes[self.class.attribute_map[key]].nil?
120
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
121
+ end
122
+ end
123
+
124
+ self
125
+ end
126
+
127
+ # Deserializes the data based on type
128
+ # @param string type Data type
129
+ # @param string value Value to be deserialized
130
+ # @return [Object] Deserialized data
131
+ def _deserialize(type, value)
132
+ case type.to_sym
133
+ when :Time
134
+ Time.parse(value)
135
+ when :Date
136
+ Date.parse(value)
137
+ when :String
138
+ value.to_s
139
+ when :Integer
140
+ value.to_i
141
+ when :Float
142
+ value.to_f
143
+ when :Boolean
144
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
145
+ true
146
+ else
147
+ false
148
+ end
149
+ when :Object
150
+ # generic object (usually a Hash), return directly
151
+ value
152
+ when /\AArray<(?<inner_type>.+)>\z/
153
+ inner_type = Regexp.last_match[:inner_type]
154
+ value.map { |v| _deserialize(inner_type, v) }
155
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
156
+ k_type = Regexp.last_match[:k_type]
157
+ v_type = Regexp.last_match[:v_type]
158
+ {}.tap do |hash|
159
+ value.each do |k, v|
160
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
161
+ end
162
+ end
163
+ else # model
164
+ # models (e.g. Pet) or oneOf
165
+ klass = MxPlatformRuby.const_get(type)
166
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
167
+ end
168
+ end
169
+
170
+ # Returns the string representation of the object
171
+ # @return [String] String presentation of the object
172
+ def to_s
173
+ to_hash.to_s
174
+ end
175
+
176
+ # to_body is an alias to to_hash (backward compatibility)
177
+ # @return [Hash] Returns the object in the form of hash
178
+ def to_body
179
+ to_hash
180
+ end
181
+
182
+ # Returns the object in the form of hash
183
+ # @return [Hash] Returns the object in the form of hash
184
+ def to_hash
185
+ hash = {}
186
+ self.class.attribute_map.each_pair do |attr, param|
187
+ value = self.send(attr)
188
+ if value.nil?
189
+ is_nullable = self.class.openapi_nullable.include?(attr)
190
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
191
+ end
192
+
193
+ hash[param] = _to_hash(value)
194
+ end
195
+ hash
196
+ end
197
+
198
+ # Outputs non-array value in the form of hash
199
+ # For object, use to_hash. Otherwise, just return the value
200
+ # @param [Object] value Any valid value
201
+ # @return [Hash] Returns the value in the form of hash
202
+ def _to_hash(value)
203
+ if value.is_a?(Array)
204
+ value.compact.map { |v| _to_hash(v) }
205
+ elsif value.is_a?(Hash)
206
+ {}.tap do |hash|
207
+ value.each { |k, v| hash[k] = _to_hash(v) }
208
+ end
209
+ elsif value.respond_to? :to_hash
210
+ value.to_hash
211
+ else
212
+ value
213
+ end
214
+ end
215
+
216
+ end
217
+
218
+ end
@@ -1,5 +1,15 @@
1
- # frozen_string_literal: true
1
+ =begin
2
+ #MX Platform API
2
3
 
3
- module MXPlatformRuby
4
- VERSION = '0.1.1'
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.0
10
+
11
+ =end
12
+
13
+ module MxPlatformRuby
14
+ VERSION = '0.2.0'
5
15
  end
@@ -1,31 +1,38 @@
1
- # frozen_string_literal: true
1
+ # -*- encoding: utf-8 -*-
2
2
 
3
- $LOAD_PATH.push File.expand_path('lib', __dir__)
4
- require 'mx-platform-ruby/version'
3
+ =begin
4
+ #MX Platform API
5
+
6
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 5.2.0
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "mx-platform-ruby/version"
5
17
 
6
18
  Gem::Specification.new do |s|
7
- s.name = 'mx-platform-ruby'
8
- s.version = MXPlatformRuby::VERSION
9
- s.platform = Gem::Platform::RUBY
10
- s.authors = ['MX']
11
- s.email = ['devexperience@mx.com']
12
- s.files = `git ls-files`.split("\n")
13
- s.homepage = 'https://www.mx.com/products/platform-api'
14
- s.summary = 'MX Platform Ruby Gem'
15
- s.description = 'A Ruby library for the MX Platform API.'
16
- s.license = 'MIT'
17
- s.required_ruby_version = '>= 2.6'
18
- s.metadata = {
19
- 'documentation_uri' => 'https://docs.mx.com/api'
20
- }
21
-
22
- s.add_runtime_dependency 'active_attr'
23
- s.add_runtime_dependency 'httpclient'
24
-
25
- s.add_development_dependency 'bundler'
26
- s.add_development_dependency 'pry'
27
- s.add_development_dependency 'rake'
28
- s.add_development_dependency 'rspec'
29
- s.add_development_dependency 'rubocop'
30
- s.add_development_dependency 'simplecov'
19
+ s.name = "mx-platform-ruby"
20
+ s.version = MxPlatformRuby::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["MX"]
23
+ s.email = ["devexperience@mx.com"]
24
+ s.homepage = "https://github.com/mxenabled/mx-platform-ruby"
25
+ s.summary = "MX Platform API Ruby Gem"
26
+ s.description = "A Ruby library for the MX Platform API."
27
+ s.license = "MIT"
28
+ s.required_ruby_version = ">= 2.6"
29
+
30
+ s.add_runtime_dependency 'faraday', '~> 1.0', '>= 1.0.1'
31
+
32
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
33
+
34
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
35
+ s.test_files = `find spec/*`.split("\n")
36
+ s.executables = []
37
+ s.require_paths = ["lib"]
31
38
  end
@@ -0,0 +1,11 @@
1
+ ---
2
+ gemAuthor: "MX"
3
+ gemAuthorEmail: "devexperience@mx.com"
4
+ gemDescription: "A Ruby library for the MX Platform API."
5
+ gemHomepage: "https://github.com/mxenabled/mx-platform-ruby"
6
+ gemLicense: "MIT"
7
+ gemName: "mx-platform-ruby"
8
+ gemRequiredRubyVersion: ">= 2.6"
9
+ gemVersion: "0.2.0"
10
+ library: "faraday"
11
+ moduleName: "MxPlatformRuby"
@@ -0,0 +1,979 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MxPlatformRuby::MxPlatformApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'MxPlatformApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MxPlatformRuby::MxPlatformApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of MxPlatformApi' do
30
+ it 'should create an instance of MxPlatformApi' do
31
+ expect(@api_instance).to be_instance_of(MxPlatformRuby::MxPlatformApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for aggregate_member
36
+ # Aggregate member
37
+ # Calling this endpoint initiates an aggregation event for the member. This brings in the latest account and transaction data from the connected institution. If this data has recently been updated, MX may not initiate an aggregation event.
38
+ # @param member_guid The unique id for a &#x60;member&#x60;.
39
+ # @param user_guid The unique id for a &#x60;user&#x60;.
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [MemberResponseBody]
42
+ describe 'aggregate_member test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for check_balances
49
+ # Check balances
50
+ # This endpoint operates much like the aggregate member endpoint except that it gathers only account balance information; it does not gather any transaction data.
51
+ # @param member_guid The unique id for a &#x60;member&#x60;.
52
+ # @param user_guid The unique id for a &#x60;user&#x60;.
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [MemberResponseBody]
55
+ describe 'check_balances 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
+ # unit tests for create_category
62
+ # Create category
63
+ # Use this endpoint to create a new custom category for a specific &#x60;user&#x60;.
64
+ # @param user_guid The unique id for a &#x60;user&#x60;.
65
+ # @param category_create_request_body Custom category object to be created
66
+ # @param [Hash] opts the optional parameters
67
+ # @return [CategoryResponseBody]
68
+ describe 'create_category test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for create_member
75
+ # Create member
76
+ # This endpoint allows you to create a new member. Members are created with the required parameters credentials and institution_code, and the optional parameters id and metadata. When creating a member, youll need to include the correct type of credential required by the financial institution and provided by the user. You can find out which credential type is required with the &#x60;/institutions/{institution_code}/credentials&#x60; endpoint. If successful, the MX Platform API will respond with the newly-created member object. Once you successfully create a member, MX will immediately validate the provided credentials and attempt to aggregate data for accounts and transactions.
77
+ # @param user_guid The unique id for a &#x60;user&#x60;.
78
+ # @param member_create_request_body Member object to be created with optional parameters (id and metadata) and required parameters (credentials and institution_code)
79
+ # @param [Hash] opts the optional parameters
80
+ # @return [MemberResponseBody]
81
+ describe 'create_member test' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ # unit tests for create_tag
88
+ # Create tag
89
+ # Use this endpoint to create a new custom tag.
90
+ # @param user_guid The unique id for a &#x60;user&#x60;.
91
+ # @param tag_create_request_body Tag object to be created with required parameters (tag_guid)
92
+ # @param [Hash] opts the optional parameters
93
+ # @return [InlineResponse200]
94
+ describe 'create_tag test' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ # unit tests for create_tagging
101
+ # Create tagging
102
+ # Use this endpoint to create a new association between a tag and a particular transaction, according to their unique GUIDs.
103
+ # @param user_guid The unique id for a &#x60;user&#x60;.
104
+ # @param tagging_create_request_body Tagging object to be created with required parameters (tag_guid and transaction_guid)
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [TaggingResponseBody]
107
+ describe 'create_tagging test' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ # unit tests for create_transaction_rule
114
+ # Create transaction rule
115
+ # Use this endpoint to create a new transaction rule. The newly-created &#x60;transaction_rule&#x60; object will be returned if successful.
116
+ # @param user_guid The unique id for a &#x60;user&#x60;.
117
+ # @param transaction_rule_create_request_body TransactionRule object to be created with optional parameters (description) and required parameters (category_guid and match_description)
118
+ # @param [Hash] opts the optional parameters
119
+ # @return [TransactionRuleResponseBody]
120
+ describe 'create_transaction_rule test' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
+ end
124
+ end
125
+
126
+ # unit tests for create_user
127
+ # Create user
128
+ # Call this endpoint to create a new user. The MX Platform API will respond with the newly-created user object if successful. This endpoint accepts several parameters - id, metadata, and is_disabled. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill.
129
+ # @param user_create_request_body User object to be created. (None of these parameters are required, but the user object cannot be empty)
130
+ # @param [Hash] opts the optional parameters
131
+ # @return [UserResponseBody]
132
+ describe 'create_user test' do
133
+ it 'should work' do
134
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
135
+ end
136
+ end
137
+
138
+ # unit tests for delete_category
139
+ # Delete category
140
+ # Use this endpoint to delete a specific custom category according to its unique GUID. The API will respond with an empty object and a status of &#x60;204 No Content&#x60;.
141
+ # @param category_guid The unique id for a &#x60;category&#x60;.
142
+ # @param user_guid The unique id for a &#x60;user&#x60;.
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [nil]
145
+ describe 'delete_category test' do
146
+ it 'should work' do
147
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
148
+ end
149
+ end
150
+
151
+ # unit tests for delete_member
152
+ # Delete member
153
+ # Accessing this endpoint will permanently delete a member.
154
+ # @param member_guid The unique id for a &#x60;member&#x60;.
155
+ # @param user_guid The unique id for a &#x60;user&#x60;.
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [nil]
158
+ describe 'delete_member test' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
164
+ # unit tests for delete_tag
165
+ # Delete tag
166
+ # Use this endpoint to permanently delete a specific tag based on its unique GUID. If successful, the API will respond with status of &#x60;204 No Content&#x60;.
167
+ # @param tag_guid The unique id for a &#x60;tag&#x60;.
168
+ # @param user_guid The unique id for a &#x60;user&#x60;.
169
+ # @param [Hash] opts the optional parameters
170
+ # @return [nil]
171
+ describe 'delete_tag test' do
172
+ it 'should work' do
173
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
174
+ end
175
+ end
176
+
177
+ # unit tests for delete_tagging
178
+ # Delete tagging
179
+ # Use this endpoint to delete a tagging according to its unique GUID. If successful, the API will respond with an empty body and a status of 204 NO Content.
180
+ # @param tagging_guid The unique id for a &#x60;tagging&#x60;.
181
+ # @param user_guid The unique id for a &#x60;user&#x60;.
182
+ # @param [Hash] opts the optional parameters
183
+ # @return [nil]
184
+ describe 'delete_tagging test' do
185
+ it 'should work' do
186
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
187
+ end
188
+ end
189
+
190
+ # unit tests for delete_transaction_rule
191
+ # Delete transaction rule
192
+ # Use this endpoint to permanently delete a transaction rule based on its unique GUID.
193
+ # @param transaction_rule_guid The unique id for a &#x60;transaction_rule&#x60;.
194
+ # @param user_guid The unique id for a &#x60;user&#x60;.
195
+ # @param [Hash] opts the optional parameters
196
+ # @return [nil]
197
+ describe 'delete_transaction_rule test' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ # unit tests for delete_user
204
+ # Delete user
205
+ # Use this endpoint to delete the specified &#x60;user&#x60;. The response will have a status of &#x60;204 No Content&#x60; without an object.
206
+ # @param user_guid The unique id for a &#x60;user&#x60;.
207
+ # @param [Hash] opts the optional parameters
208
+ # @return [nil]
209
+ describe 'delete_user test' do
210
+ it 'should work' do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ # unit tests for download_statement_pdf
216
+ # Download statement PDF
217
+ # Use this endpoint to download a specified statement PDF.
218
+ # @param member_guid The unique id for a &#x60;member&#x60;.
219
+ # @param statement_guid The unique id for a &#x60;statement&#x60;.
220
+ # @param user_guid The unique id for a &#x60;user&#x60;.
221
+ # @param [Hash] opts the optional parameters
222
+ # @return [File]
223
+ describe 'download_statement_pdf test' do
224
+ it 'should work' do
225
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
226
+ end
227
+ end
228
+
229
+ # unit tests for enhance_transactions
230
+ # Enhance transactions
231
+ # Use this endpoint to categorize, cleanse, and classify transactions. These transactions are not persisted or stored on the MX platform.
232
+ # @param enhance_transactions_request_body Transaction object to be enhanced
233
+ # @param [Hash] opts the optional parameters
234
+ # @return [EnhanceTransactionsResponseBody]
235
+ describe 'enhance_transactions test' do
236
+ it 'should work' do
237
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
238
+ end
239
+ end
240
+
241
+ # unit tests for extend_history
242
+ # Extend history
243
+ # Some institutions allow developers to access an extended transaction history with up to 24 months of data associated with a particular member. The process for fetching and then reading this extended transaction history is much like standard aggregation, and it may trigger multi-factor authentication.
244
+ # @param member_guid The unique identifier for a &#x60;member&#x60;.
245
+ # @param user_guid The unique identifier for a &#x60;user&#x60;.
246
+ # @param [Hash] opts the optional parameters
247
+ # @return [MemberResponseBody]
248
+ describe 'extend_history test' do
249
+ it 'should work' do
250
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
251
+ end
252
+ end
253
+
254
+ # unit tests for fetch_statements_by_member
255
+ # Fetch statements by member
256
+ # Use this endpoint to fetch the statements associated with a particular member.
257
+ # @param member_guid The unique id for a &#x60;member&#x60;.
258
+ # @param user_guid The unique id for a &#x60;user&#x60;.
259
+ # @param [Hash] opts the optional parameters
260
+ # @return [MemberResponseBody]
261
+ describe 'fetch_statements_by_member test' do
262
+ it 'should work' do
263
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
264
+ end
265
+ end
266
+
267
+ # unit tests for identify_member
268
+ # Identify member
269
+ # The identify endpoint begins an identification process for an already-existing member.
270
+ # @param member_guid The unique id for a &#x60;member&#x60;.
271
+ # @param user_guid The unique id for a &#x60;user&#x60;.
272
+ # @param [Hash] opts the optional parameters
273
+ # @return [MemberResponseBody]
274
+ describe 'identify_member test' do
275
+ it 'should work' do
276
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
277
+ end
278
+ end
279
+
280
+ # unit tests for list_account_numbers_by_account
281
+ # List account numbers by account
282
+ # This endpoint returns a list of account numbers associated with the specified &#x60;account&#x60;.
283
+ # @param account_guid The unique id for an &#x60;account&#x60;.
284
+ # @param user_guid The unique id for a &#x60;user&#x60;.
285
+ # @param [Hash] opts the optional parameters
286
+ # @option opts [Integer] :page Specify current page.
287
+ # @option opts [Integer] :records_per_page Specify records per page.
288
+ # @return [AccountNumbersResponseBody]
289
+ describe 'list_account_numbers_by_account test' do
290
+ it 'should work' do
291
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
292
+ end
293
+ end
294
+
295
+ # unit tests for list_account_numbers_by_member
296
+ # List account numbers by member
297
+ # This endpoint returns a list of account numbers associated with the specified &#x60;member&#x60;.
298
+ # @param member_guid The unique id for a &#x60;member&#x60;.
299
+ # @param user_guid The unique id for a &#x60;user&#x60;.
300
+ # @param [Hash] opts the optional parameters
301
+ # @option opts [Integer] :page Specify current page.
302
+ # @option opts [Integer] :records_per_page Specify records per page.
303
+ # @return [AccountNumbersResponseBody]
304
+ describe 'list_account_numbers_by_member test' do
305
+ it 'should work' do
306
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
307
+ end
308
+ end
309
+
310
+ # unit tests for list_account_owners
311
+ # List account owners
312
+ # This endpoint returns an array with information about every account associated with a particular member.
313
+ # @param member_guid The unique id for a &#x60;member&#x60;.
314
+ # @param user_guid The unique id for a &#x60;user&#x60;.
315
+ # @param [Hash] opts the optional parameters
316
+ # @option opts [Integer] :page Specify current page.
317
+ # @option opts [Integer] :records_per_page Specify records per page.
318
+ # @return [AccountOwnersResponseBody]
319
+ describe 'list_account_owners test' do
320
+ it 'should work' do
321
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
322
+ end
323
+ end
324
+
325
+ # unit tests for list_categories
326
+ # List categories
327
+ # Use this endpoint to list all categories associated with a &#x60;user&#x60;, including both default and custom categories.
328
+ # @param user_guid The unique id for a &#x60;user&#x60;.
329
+ # @param [Hash] opts the optional parameters
330
+ # @option opts [Integer] :page Specify current page.
331
+ # @option opts [Integer] :records_per_page Specify records per page.
332
+ # @return [CategoriesResponseBody]
333
+ describe 'list_categories test' do
334
+ it 'should work' do
335
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
+ end
337
+ end
338
+
339
+ # unit tests for list_default_categories
340
+ # List default categories
341
+ # Use this endpoint to read the attributes of a specific user.
342
+ # @param user_guid The unique id for a &#x60;user&#x60;.
343
+ # @param [Hash] opts the optional parameters
344
+ # @return [CategoriesResponseBody]
345
+ describe 'list_default_categories test' do
346
+ it 'should work' do
347
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
348
+ end
349
+ end
350
+
351
+ # unit tests for list_favorites
352
+ # List favorites
353
+ # This endpoint returns a paginated list containing institutions that have been set as the partner’s favorites, sorted by popularity. Please contact MX to set a list of favorites.
354
+ # @param [Hash] opts the optional parameters
355
+ # @option opts [Integer] :page Specify current page.
356
+ # @option opts [Integer] :records_per_page Specify records per page.
357
+ # @return [InstitutionsResponseBody]
358
+ describe 'list_favorites test' do
359
+ it 'should work' do
360
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
361
+ end
362
+ end
363
+
364
+ # unit tests for list_holdings_by_member
365
+ # List holdings by member
366
+ # This endpoint returns all holdings associated with the specified &#x60;member&#x60; across all accounts.
367
+ # @param member_guid The unique id for a &#x60;member&#x60;.
368
+ # @param user_guid The unique id for a &#x60;user&#x60;.
369
+ # @param [Hash] opts the optional parameters
370
+ # @option opts [String] :from_date Filter holdings from this date.
371
+ # @option opts [Integer] :page Specify current page.
372
+ # @option opts [Integer] :records_per_page Specify records per page.
373
+ # @option opts [String] :to_date Filter holdings to this date.
374
+ # @return [HoldingsResponseBody]
375
+ describe 'list_holdings_by_member test' do
376
+ it 'should work' do
377
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
378
+ end
379
+ end
380
+
381
+ # unit tests for list_holdings_by_user
382
+ # List holdings by user
383
+ # This endpoint returns all holdings associated with the specified &#x60;user&#x60; across all accounts and members.
384
+ # @param user_guid The unique id for a &#x60;user&#x60;.
385
+ # @param [Hash] opts the optional parameters
386
+ # @option opts [String] :from_date Filter holdings from this date.
387
+ # @option opts [Integer] :page Specify current page.
388
+ # @option opts [Integer] :records_per_page Specify records per page.
389
+ # @option opts [String] :to_date Filter holdings to this date.
390
+ # @return [HoldingsResponseBody]
391
+ describe 'list_holdings_by_user test' do
392
+ it 'should work' do
393
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
394
+ end
395
+ end
396
+
397
+ # unit tests for list_institution_required_credentials
398
+ # List institution-required credentials
399
+ # Use this endpoint to see which credentials will be needed to create a member for a specific institution.
400
+ # @param institution_code The institution_code of the institution.
401
+ # @param [Hash] opts the optional parameters
402
+ # @option opts [Integer] :page Specify current page.
403
+ # @option opts [Integer] :records_per_page Specify records per page.
404
+ # @return [CredentialsResponseBody]
405
+ describe 'list_institution_required_credentials test' do
406
+ it 'should work' do
407
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
408
+ end
409
+ end
410
+
411
+ # unit tests for list_institutions
412
+ # List institutions
413
+ # This endpoint returns a list of institutions based on the specified search term or parameter.
414
+ # @param [Hash] opts the optional parameters
415
+ # @option opts [String] :name This will list only institutions in which the appended string appears.
416
+ # @option opts [Boolean] :supports_account_identification Filter only institutions which support account identification.
417
+ # @option opts [Boolean] :supports_account_statement Filter only institutions which support account statements.
418
+ # @option opts [Boolean] :supports_account_verification Filter only institutions which support account verification.
419
+ # @option opts [Boolean] :supports_transaction_history Filter only institutions which support extended transaction history.
420
+ # @return [InstitutionsResponseBody]
421
+ describe 'list_institutions test' do
422
+ it 'should work' do
423
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
424
+ end
425
+ end
426
+
427
+ # unit tests for list_member_challenges
428
+ # List member challenges
429
+ # Use this endpoint for information on what multi-factor authentication challenges need to be answered in order to aggregate a member. If the aggregation is not challenged, i.e., the member does not have a connection status of &#x60;CHALLENGED&#x60;, then code &#x60;204 No Content&#x60; will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of &#x60;CHALLENGED&#x60;, then code &#x60;200 OK&#x60; will be returned - along with the corresponding credentials.
430
+ # @param member_guid The unique id for a &#x60;member&#x60;.
431
+ # @param user_guid The unique id for a &#x60;user&#x60;.
432
+ # @param [Hash] opts the optional parameters
433
+ # @option opts [Integer] :page Specify current page.
434
+ # @option opts [Integer] :records_per_page Specify records per page.
435
+ # @return [ChallengesResponseBody]
436
+ describe 'list_member_challenges test' do
437
+ it 'should work' do
438
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
439
+ end
440
+ end
441
+
442
+ # unit tests for list_member_credentials
443
+ # List member credentials
444
+ # This endpoint returns an array which contains information on every non-MFA credential associated with a specific member.
445
+ # @param member_guid The unique id for a &#x60;member&#x60;.
446
+ # @param user_guid The unique id for a &#x60;user&#x60;.
447
+ # @param [Hash] opts the optional parameters
448
+ # @option opts [Integer] :page Specify current page.
449
+ # @option opts [Integer] :records_per_page Specify records per page.
450
+ # @return [CredentialsResponseBody]
451
+ describe 'list_member_credentials test' do
452
+ it 'should work' do
453
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
454
+ end
455
+ end
456
+
457
+ # unit tests for list_members
458
+ # List members
459
+ # This endpoint returns an array which contains information on every member associated with a specific user.
460
+ # @param user_guid The unique id for a &#x60;user&#x60;.
461
+ # @param [Hash] opts the optional parameters
462
+ # @option opts [Integer] :page Specify current page.
463
+ # @option opts [Integer] :records_per_page Specify records per page.
464
+ # @return [MembersResponseBody]
465
+ describe 'list_members test' do
466
+ it 'should work' do
467
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
468
+ end
469
+ end
470
+
471
+ # unit tests for list_merchants
472
+ # List merchants
473
+ # This endpoint returns a paginated list of all the merchants in the MX system.
474
+ # @param [Hash] opts the optional parameters
475
+ # @option opts [Integer] :page Specify current page.
476
+ # @option opts [Integer] :records_per_page Specify records per page.
477
+ # @return [MerchantsResponseBody]
478
+ describe 'list_merchants test' do
479
+ it 'should work' do
480
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
481
+ end
482
+ end
483
+
484
+ # unit tests for list_statements_by_member
485
+ # List statements by member
486
+ # Use this endpoint to get an array of available statements.
487
+ # @param member_guid The unique id for a &#x60;member&#x60;.
488
+ # @param user_guid The unique id for a &#x60;user&#x60;.
489
+ # @param [Hash] opts the optional parameters
490
+ # @option opts [Integer] :page Specify current page.
491
+ # @option opts [Integer] :records_per_page Specify records per page.
492
+ # @return [StatementsResponseBody]
493
+ describe 'list_statements_by_member test' do
494
+ it 'should work' do
495
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
496
+ end
497
+ end
498
+
499
+ # unit tests for list_taggings
500
+ # List taggings
501
+ # Use this endpoint to retrieve a list of all the taggings associated with a specific user.
502
+ # @param user_guid The unique id for a &#x60;user&#x60;.
503
+ # @param [Hash] opts the optional parameters
504
+ # @option opts [Integer] :page Specify current page.
505
+ # @option opts [Integer] :records_per_page Specify records per page.
506
+ # @return [TaggingsResponseBody]
507
+ describe 'list_taggings test' do
508
+ it 'should work' do
509
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
510
+ end
511
+ end
512
+
513
+ # unit tests for list_tags
514
+ # List tags
515
+ # Use this endpoint to list all tags associated with the specified &#x60;user&#x60;. Each user includes the &#x60;Business&#x60; tag by default.
516
+ # @param user_guid The unique id for a &#x60;user&#x60;.
517
+ # @param [Hash] opts the optional parameters
518
+ # @option opts [Integer] :page Specify current page.
519
+ # @option opts [Integer] :records_per_page Specify records per page.
520
+ # @return [TagsResponseBody]
521
+ describe 'list_tags test' do
522
+ it 'should work' do
523
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
524
+ end
525
+ end
526
+
527
+ # unit tests for list_transaction_rules_by_user
528
+ # List transaction rules by user
529
+ # Use this endpoint to read the attributes of all existing transaction rules belonging to the user.
530
+ # @param user_guid The unique id for a &#x60;user&#x60;.
531
+ # @param [Hash] opts the optional parameters
532
+ # @option opts [Integer] :page Specify current page.
533
+ # @option opts [Integer] :records_per_page Specify records per page.
534
+ # @return [TransactionRulesResponseBody]
535
+ describe 'list_transaction_rules_by_user test' do
536
+ it 'should work' do
537
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
538
+ end
539
+ end
540
+
541
+ # unit tests for list_transactions_by_account
542
+ # List transactions by account
543
+ # This endpoint returns a list of the last 90 days of transactions associated with the specified account.
544
+ # @param account_guid The unique id for an &#x60;account&#x60;.
545
+ # @param user_guid The unique id for a &#x60;user&#x60;.
546
+ # @param [Hash] opts the optional parameters
547
+ # @option opts [String] :from_date Filter transactions from this date.
548
+ # @option opts [Integer] :page Specify current page.
549
+ # @option opts [Integer] :records_per_page Specify records per page.
550
+ # @option opts [String] :to_date Filter transactions to this date.
551
+ # @return [TransactionsResponseBody]
552
+ describe 'list_transactions_by_account test' do
553
+ it 'should work' do
554
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
555
+ end
556
+ end
557
+
558
+ # unit tests for list_transactions_by_member
559
+ # List transactions by member
560
+ # Requests to this endpoint return a list of transactions associated with the specified &#x60;member&#x60;, accross all accounts associated with that &#x60;member&#x60;.
561
+ # @param member_guid The unique id for a &#x60;member&#x60;.
562
+ # @param user_guid The unique id for a &#x60;user&#x60;.
563
+ # @param [Hash] opts the optional parameters
564
+ # @option opts [String] :from_date Filter transactions from this date.
565
+ # @option opts [Integer] :page Specify current page.
566
+ # @option opts [Integer] :records_per_page Specify records per page.
567
+ # @option opts [String] :to_date Filter transactions to this date.
568
+ # @return [TransactionsResponseBody]
569
+ describe 'list_transactions_by_member test' do
570
+ it 'should work' do
571
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
572
+ end
573
+ end
574
+
575
+ # unit tests for list_transactions_by_tag
576
+ # List transactions by tag
577
+ # Use this endpoint to get a list of all transactions associated with a particular tag according to the tag’s unique GUID. In other words, a list of all transactions that have been assigned to a particular tag using the create a tagging endpoint.
578
+ # @param tag_guid The unique id for a &#x60;tag&#x60;.
579
+ # @param user_guid The unique id for a &#x60;user&#x60;.
580
+ # @param [Hash] opts the optional parameters
581
+ # @return [TransactionsResponseBody]
582
+ describe 'list_transactions_by_tag test' do
583
+ it 'should work' do
584
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
585
+ end
586
+ end
587
+
588
+ # unit tests for list_transactions_by_user
589
+ # List transactions by user
590
+ # Requests to this endpoint return a list of transactions associated with the specified &#x60;user&#x60;, accross all members and accounts associated with that &#x60;user&#x60;.
591
+ # @param user_guid The unique id for a &#x60;user&#x60;.
592
+ # @param [Hash] opts the optional parameters
593
+ # @option opts [String] :from_date Filter transactions from this date.
594
+ # @option opts [Integer] :page Specify current page.
595
+ # @option opts [Integer] :records_per_page Specify records per page.
596
+ # @option opts [String] :to_date Filter transactions to this date.
597
+ # @return [TransactionsResponseBody]
598
+ describe 'list_transactions_by_user test' do
599
+ it 'should work' do
600
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
601
+ end
602
+ end
603
+
604
+ # unit tests for list_user_accounts
605
+ # List accounts
606
+ # This endpoint returns a list of all the accounts associated with the specified &#x60;user&#x60;.
607
+ # @param user_guid The unique id for a &#x60;user&#x60;.
608
+ # @param [Hash] opts the optional parameters
609
+ # @option opts [Integer] :page Specify current page.
610
+ # @option opts [Integer] :records_per_page Specify records per page.
611
+ # @return [AccountsResponseBody]
612
+ describe 'list_user_accounts test' do
613
+ it 'should work' do
614
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
615
+ end
616
+ end
617
+
618
+ # unit tests for list_users
619
+ # List users
620
+ # Use this endpoint to list every user you&#39;ve created in the MX Platform API.
621
+ # @param [Hash] opts the optional parameters
622
+ # @option opts [Integer] :page Specify current page.
623
+ # @option opts [Integer] :records_per_page Specify records per page.
624
+ # @return [UsersResponseBody]
625
+ describe 'list_users test' do
626
+ it 'should work' do
627
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
628
+ end
629
+ end
630
+
631
+ # unit tests for read_account
632
+ # Read account
633
+ # This endpoint returns the specified &#x60;account&#x60; resource.
634
+ # @param account_guid The unique id for an &#x60;account&#x60;.
635
+ # @param user_guid The unique id for a &#x60;user&#x60;.
636
+ # @param [Hash] opts the optional parameters
637
+ # @return [AccountResponseBody]
638
+ describe 'read_account test' do
639
+ it 'should work' do
640
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
641
+ end
642
+ end
643
+
644
+ # unit tests for read_category
645
+ # Read category
646
+ # Use this endpoint to read the attributes of either a default category or a custom category.
647
+ # @param category_guid The unique id for a &#x60;category&#x60;.
648
+ # @param user_guid The unique id for a &#x60;user&#x60;.
649
+ # @param [Hash] opts the optional parameters
650
+ # @return [CategoryResponseBody]
651
+ describe 'read_category test' do
652
+ it 'should work' do
653
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
654
+ end
655
+ end
656
+
657
+ # unit tests for read_holding
658
+ # Read holding
659
+ # Use this endpoint to read the attributes of a specific &#x60;holding&#x60;.
660
+ # @param holding_guid The unique id for a &#x60;holding&#x60;.
661
+ # @param user_guid The unique id for a &#x60;user&#x60;.
662
+ # @param [Hash] opts the optional parameters
663
+ # @return [HoldingResponseBody]
664
+ describe 'read_holding test' do
665
+ it 'should work' do
666
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
667
+ end
668
+ end
669
+
670
+ # unit tests for read_institution
671
+ # Read institution
672
+ # This endpoint returns information about the institution specified by &#x60;institution_code&#x60;.
673
+ # @param institution_code The institution_code of the institution.
674
+ # @param [Hash] opts the optional parameters
675
+ # @return [InstitutionResponseBody]
676
+ describe 'read_institution test' do
677
+ it 'should work' do
678
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
679
+ end
680
+ end
681
+
682
+ # unit tests for read_member
683
+ # Read member
684
+ # Use this endpoint to read the attributes of a specific member.
685
+ # @param member_guid The unique id for a &#x60;member&#x60;.
686
+ # @param user_guid The unique id for a &#x60;user&#x60;.
687
+ # @param [Hash] opts the optional parameters
688
+ # @return [MemberResponseBody]
689
+ describe 'read_member test' do
690
+ it 'should work' do
691
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
692
+ end
693
+ end
694
+
695
+ # unit tests for read_member_status
696
+ # Read member status
697
+ # This endpoint provides the status of the members most recent aggregation event. This is an important step in the aggregation process, and the results returned by this endpoint should determine what you do next in order to successfully aggregate a member. MX has introduced new, more detailed information on the current status of a members connection to a financial institution and the state of its aggregation - the connection_status field. These are intended to replace and expand upon the information provided in the status field, which will soon be deprecated; support for the status field remains for the time being.
698
+ # @param member_guid The unique id for a &#x60;member&#x60;.
699
+ # @param user_guid The unique id for a &#x60;user&#x60;.
700
+ # @param [Hash] opts the optional parameters
701
+ # @return [MemberStatusResponseBody]
702
+ describe 'read_member_status test' do
703
+ it 'should work' do
704
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
705
+ end
706
+ end
707
+
708
+ # unit tests for read_merchant
709
+ # Read merchant
710
+ # Returns information about a particular merchant, such as a logo, name, and website.
711
+ # @param merchant_guid The unique id for a &#x60;merchant&#x60;.
712
+ # @param [Hash] opts the optional parameters
713
+ # @return [MerchantResponseBody]
714
+ describe 'read_merchant test' do
715
+ it 'should work' do
716
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
717
+ end
718
+ end
719
+
720
+ # unit tests for read_statement_by_member
721
+ # Read statement by member
722
+ # Use this endpoint to read a JSON representation of the statement.
723
+ # @param member_guid The unique id for a &#x60;member&#x60;.
724
+ # @param statement_guid The unique id for a &#x60;statement&#x60;.
725
+ # @param user_guid The unique id for a &#x60;user&#x60;.
726
+ # @param [Hash] opts the optional parameters
727
+ # @return [StatementResponseBody]
728
+ describe 'read_statement_by_member test' do
729
+ it 'should work' do
730
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
731
+ end
732
+ end
733
+
734
+ # unit tests for read_tag
735
+ # Read tag
736
+ # Use this endpoint to read the attributes of a particular tag according to its unique GUID.
737
+ # @param tag_guid The unique id for a &#x60;tag&#x60;.
738
+ # @param user_guid The unique id for a &#x60;user&#x60;.
739
+ # @param [Hash] opts the optional parameters
740
+ # @return [TagResponseBody]
741
+ describe 'read_tag test' do
742
+ it 'should work' do
743
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
744
+ end
745
+ end
746
+
747
+ # unit tests for read_tagging
748
+ # Read tagging
749
+ # Use this endpoint to read the attributes of a &#x60;tagging&#x60; according to its unique GUID.
750
+ # @param tagging_guid The unique id for a &#x60;tagging&#x60;.
751
+ # @param user_guid The unique id for a &#x60;user&#x60;.
752
+ # @param [Hash] opts the optional parameters
753
+ # @return [TaggingResponseBody]
754
+ describe 'read_tagging test' do
755
+ it 'should work' do
756
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
757
+ end
758
+ end
759
+
760
+ # unit tests for read_transaction
761
+ # Read transaction
762
+ # Requests to this endpoint will return the attributes of the specified &#x60;transaction&#x60;.
763
+ # @param transaction_guid The unique id for a &#x60;transaction&#x60;.
764
+ # @param user_guid The unique id for a &#x60;user&#x60;.
765
+ # @param [Hash] opts the optional parameters
766
+ # @return [TransactionResponseBody]
767
+ describe 'read_transaction test' do
768
+ it 'should work' do
769
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
770
+ end
771
+ end
772
+
773
+ # unit tests for read_transaction_rule
774
+ # Read transaction rule
775
+ # Use this endpoint to read the attributes of an existing transaction rule based on the rule’s unique GUID.
776
+ # @param transaction_rule_guid The unique id for a &#x60;transaction_rule&#x60;.
777
+ # @param user_guid The unique id for a &#x60;user&#x60;.
778
+ # @param [Hash] opts the optional parameters
779
+ # @return [TransactionRuleResponseBody]
780
+ describe 'read_transaction_rule test' do
781
+ it 'should work' do
782
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
783
+ end
784
+ end
785
+
786
+ # unit tests for read_user
787
+ # Read user
788
+ # Use this endpoint to read the attributes of a specific user.
789
+ # @param user_guid The unique id for a &#x60;user&#x60;.
790
+ # @param [Hash] opts the optional parameters
791
+ # @return [UserResponseBody]
792
+ describe 'read_user test' do
793
+ it 'should work' do
794
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
795
+ end
796
+ end
797
+
798
+ # unit tests for request_connect_widget_url
799
+ # Request connect widget URL
800
+ # This endpoint will return a URL for an embeddable version of MX Connect.
801
+ # @param user_guid The unique id for a &#x60;user&#x60;.
802
+ # @param [Hash] opts the optional parameters
803
+ # @option opts [ConnectWidgetRequestBody] :connect_widget_request_body Optional config options for WebView (is_mobile_webview, current_institution_code, current_member_guid, update_credentials)
804
+ # @return [ConnectWidgetResponseBody]
805
+ describe 'request_connect_widget_url test' do
806
+ it 'should work' do
807
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
808
+ end
809
+ end
810
+
811
+ # unit tests for request_o_auth_window
812
+ # Read member
813
+ # This endpoint will generate an &#x60;oauth_window_uri&#x60; for the specified &#x60;member&#x60;.
814
+ # @param member_guid The unique id for a &#x60;member&#x60;.
815
+ # @param user_guid The unique id for a &#x60;user&#x60;.
816
+ # @param [Hash] opts the optional parameters
817
+ # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
818
+ # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
819
+ # @return [OAuthWindowResponseBody]
820
+ describe 'request_o_auth_window test' do
821
+ it 'should work' do
822
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
823
+ end
824
+ end
825
+
826
+ # unit tests for request_widget_url
827
+ # Request a widget URL
828
+ # This endpoint allows partners to get a URL by passing the &#x60;widget_type&#x60; in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the &#x60;widget_type&#x60; to &#x60;connect_widget&#x60;. Partners may also pass an optional &#x60;Accept-Language&#x60; header as well as a number of configuration options. Note that this is a &#x60;POST&#x60; request.
829
+ # @param user_guid The unique id for a &#x60;user&#x60;.
830
+ # @param widget_request_body The widget url configuration options.
831
+ # @param [Hash] opts the optional parameters
832
+ # @option opts [String] :accept_language The desired language of the widget.
833
+ # @return [WidgetResponseBody]
834
+ describe 'request_widget_url test' do
835
+ it 'should work' do
836
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
837
+ end
838
+ end
839
+
840
+ # unit tests for resume_aggregation
841
+ # Resume aggregation
842
+ # This endpoint answers the challenges needed when a member has been challenged by multi-factor authentication.
843
+ # @param member_guid The unique id for a &#x60;member&#x60;.
844
+ # @param user_guid The unique id for a &#x60;user&#x60;.
845
+ # @param member_resume_request_body Member object with MFA challenge answers
846
+ # @param [Hash] opts the optional parameters
847
+ # @return [MemberResponseBody]
848
+ describe 'resume_aggregation test' do
849
+ it 'should work' do
850
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
851
+ end
852
+ end
853
+
854
+ # unit tests for update_account
855
+ # Update account
856
+ # This endpoint allows you to update certain attributes of an &#x60;account&#x60; resource.
857
+ # @param user_guid The unique id for a &#x60;user&#x60;.
858
+ # @param member_guid The unique id for a &#x60;member&#x60;.
859
+ # @param account_guid The unique id for an &#x60;account&#x60;.
860
+ # @param account_update_request_body Account object to be created with optional parameters (is_hidden)
861
+ # @param [Hash] opts the optional parameters
862
+ # @return [AccountResponseBody]
863
+ describe 'update_account test' do
864
+ it 'should work' do
865
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
866
+ end
867
+ end
868
+
869
+ # unit tests for update_category
870
+ # Update category
871
+ # Use this endpoint to update the attributes of a custom category according to its unique GUID.
872
+ # @param category_guid The unique id for a &#x60;category&#x60;.
873
+ # @param user_guid The unique id for a &#x60;user&#x60;.
874
+ # @param category_update_request_body Category object to be updated (While no single parameter is required, the &#x60;category&#x60; object cannot be empty)
875
+ # @param [Hash] opts the optional parameters
876
+ # @return [CategoryResponseBody]
877
+ describe 'update_category test' do
878
+ it 'should work' do
879
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
880
+ end
881
+ end
882
+
883
+ # unit tests for update_member
884
+ # Update member
885
+ # Use this endpoint to update a members attributes. Only the credentials, id, and metadata parameters can be updated. To get a list of the required credentials for the member, use the list member credentials endpoint.
886
+ # @param member_guid The unique id for a &#x60;member&#x60;.
887
+ # @param user_guid The unique id for a &#x60;user&#x60;.
888
+ # @param member_update_request_body Member object to be updated (While no single parameter is required, the request body can&#39;t be empty)
889
+ # @param [Hash] opts the optional parameters
890
+ # @return [MemberResponseBody]
891
+ describe 'update_member test' do
892
+ it 'should work' do
893
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
894
+ end
895
+ end
896
+
897
+ # unit tests for update_tag
898
+ # Update tag
899
+ # Use this endpoint to update the name of a specific tag according to its unique GUID.
900
+ # @param tag_guid The unique id for a &#x60;tag&#x60;.
901
+ # @param user_guid The unique id for a &#x60;user&#x60;.
902
+ # @param tag_update_request_body Tag object to be updated with required parameter (tag_guid)
903
+ # @param [Hash] opts the optional parameters
904
+ # @return [InlineResponse200]
905
+ describe 'update_tag test' do
906
+ it 'should work' do
907
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
908
+ end
909
+ end
910
+
911
+ # unit tests for update_tagging
912
+ # Update tagging
913
+ # Use this endpoint to update a tagging.
914
+ # @param tagging_guid The unique id for a &#x60;tagging&#x60;.
915
+ # @param user_guid The unique id for a &#x60;user&#x60;.
916
+ # @param tagging_update_request_body Tagging object to be updated with required parameter (tag_guid)
917
+ # @param [Hash] opts the optional parameters
918
+ # @return [TaggingResponseBody]
919
+ describe 'update_tagging test' do
920
+ it 'should work' do
921
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
922
+ end
923
+ end
924
+
925
+ # unit tests for update_transaction
926
+ # Update transaction
927
+ # Use this endpoint to update the &#x60;description&#x60; of a specific transaction according to its unique GUID.
928
+ # @param transaction_guid The unique id for a &#x60;transaction&#x60;.
929
+ # @param user_guid The unique id for a &#x60;user&#x60;.
930
+ # @param transaction_update_request_body Transaction object to be updated with a new description
931
+ # @param [Hash] opts the optional parameters
932
+ # @return [TransactionResponseBody]
933
+ describe 'update_transaction test' do
934
+ it 'should work' do
935
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
936
+ end
937
+ end
938
+
939
+ # unit tests for update_transaction_rule
940
+ # Update transaction_rule
941
+ # Use this endpoint to update the attributes of a specific transaction rule based on its unique GUID. The API will respond with the updated transaction_rule object. Any attributes not provided will be left unchanged.
942
+ # @param transaction_rule_guid The unique id for a &#x60;transaction_rule&#x60;.
943
+ # @param user_guid The unique id for a &#x60;user&#x60;.
944
+ # @param transaction_rule_update_request_body TransactionRule object to be updated
945
+ # @param [Hash] opts the optional parameters
946
+ # @return [TransactionRuleResponseBody]
947
+ describe 'update_transaction_rule test' do
948
+ it 'should work' do
949
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
950
+ end
951
+ end
952
+
953
+ # unit tests for update_user
954
+ # Update user
955
+ # Use this endpoint to update the attributes of a specific user. The MX Platform API will respond with the updated user object. Disabling a user means that accounts and transactions associated with it will not be updated in the background by MX. It will also restrict access to that users data until they are no longer disabled. Users who are disabled for the entirety of an MX Platform API billing period will not be factored into that months bill. To disable a user, update it and set the is_disabled parameter to true. Set it to false to re-enable the user.
956
+ # @param user_guid The unique id for a &#x60;user&#x60;.
957
+ # @param user_update_request_body User object to be updated (None of these parameters are required, but the user object cannot be empty.)
958
+ # @param [Hash] opts the optional parameters
959
+ # @return [UserResponseBody]
960
+ describe 'update_user test' do
961
+ it 'should work' do
962
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
963
+ end
964
+ end
965
+
966
+ # unit tests for verify_member
967
+ # Verify member
968
+ # The verify endpoint begins a verification process for a member.
969
+ # @param member_guid The unique id for a &#x60;member&#x60;.
970
+ # @param user_guid The unique id for a &#x60;user&#x60;.
971
+ # @param [Hash] opts the optional parameters
972
+ # @return [MemberResponseBody]
973
+ describe 'verify_member test' do
974
+ it 'should work' do
975
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
976
+ end
977
+ end
978
+
979
+ end