mx-platform-ruby 0.13.1 → 0.14.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.
@@ -2961,6 +2961,84 @@ module MxPlatformRuby
2961
2961
  return data, status_code, headers
2962
2962
  end
2963
2963
 
2964
+ # List accounts by member
2965
+ # This endpoint returns a list of all the accounts associated with the specified `member`.
2966
+ # @param user_guid [String] The unique id for a `user`.
2967
+ # @param member_guid [String] The unique id for a `member`.
2968
+ # @param [Hash] opts the optional parameters
2969
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
2970
+ # @option opts [Integer] :page Specify current page.
2971
+ # @option opts [Integer] :records_per_page Specify records per page.
2972
+ # @return [AccountsResponseBody]
2973
+ def list_member_accounts(user_guid, member_guid, opts = {})
2974
+ data, _status_code, _headers = list_member_accounts_with_http_info(user_guid, member_guid, opts)
2975
+ data
2976
+ end
2977
+
2978
+ # List accounts by member
2979
+ # This endpoint returns a list of all the accounts associated with the specified `member`.
2980
+ # @param user_guid [String] The unique id for a `user`.
2981
+ # @param member_guid [String] The unique id for a `member`.
2982
+ # @param [Hash] opts the optional parameters
2983
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
2984
+ # @option opts [Integer] :page Specify current page.
2985
+ # @option opts [Integer] :records_per_page Specify records per page.
2986
+ # @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
2987
+ def list_member_accounts_with_http_info(user_guid, member_guid, opts = {})
2988
+ if @api_client.config.debugging
2989
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.list_member_accounts ...'
2990
+ end
2991
+ # verify the required parameter 'user_guid' is set
2992
+ if @api_client.config.client_side_validation && user_guid.nil?
2993
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.list_member_accounts"
2994
+ end
2995
+ # verify the required parameter 'member_guid' is set
2996
+ if @api_client.config.client_side_validation && member_guid.nil?
2997
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.list_member_accounts"
2998
+ end
2999
+ # resource path
3000
+ local_var_path = '/users/{user_guid}/members/{member_guid}/accounts'.sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s))
3001
+
3002
+ # query parameters
3003
+ query_params = opts[:query_params] || {}
3004
+ query_params[:'member_is_managed_by_user'] = opts[:'member_is_managed_by_user'] if !opts[:'member_is_managed_by_user'].nil?
3005
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3006
+ query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
3007
+
3008
+ # header parameters
3009
+ header_params = opts[:header_params] || {}
3010
+ # HTTP header 'Accept' (if needed)
3011
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
3012
+
3013
+ # form parameters
3014
+ form_params = opts[:form_params] || {}
3015
+
3016
+ # http body (model)
3017
+ post_body = opts[:debug_body]
3018
+
3019
+ # return_type
3020
+ return_type = opts[:debug_return_type] || 'AccountsResponseBody'
3021
+
3022
+ # auth_names
3023
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
3024
+
3025
+ new_options = opts.merge(
3026
+ :operation => :"MxPlatformApi.list_member_accounts",
3027
+ :header_params => header_params,
3028
+ :query_params => query_params,
3029
+ :form_params => form_params,
3030
+ :body => post_body,
3031
+ :auth_names => auth_names,
3032
+ :return_type => return_type
3033
+ )
3034
+
3035
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
3036
+ if @api_client.config.debugging
3037
+ @api_client.config.logger.debug "API called: MxPlatformApi#list_member_accounts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3038
+ end
3039
+ return data, status_code, headers
3040
+ end
3041
+
2964
3042
  # List member challenges
2965
3043
  # 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 `CHALLENGED`, then code `204 No Content` will be returned. If the aggregation has been challenged, i.e., the member does have a connection status of `CHALLENGED`, then code `200 OK` will be returned - along with the corresponding credentials.
2966
3044
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
@@ -3847,6 +3925,7 @@ module MxPlatformRuby
3847
3925
  # This endpoint returns a list of all the accounts associated with the specified `user`.
3848
3926
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
3849
3927
  # @param [Hash] opts the optional parameters
3928
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
3850
3929
  # @option opts [Integer] :page Specify current page.
3851
3930
  # @option opts [Integer] :records_per_page Specify records per page.
3852
3931
  # @return [AccountsResponseBody]
@@ -3859,6 +3938,7 @@ module MxPlatformRuby
3859
3938
  # This endpoint returns a list of all the accounts associated with the specified &#x60;user&#x60;.
3860
3939
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
3861
3940
  # @param [Hash] opts the optional parameters
3941
+ # @option opts [Boolean] :member_is_managed_by_user List only accounts whose member is managed by the user.
3862
3942
  # @option opts [Integer] :page Specify current page.
3863
3943
  # @option opts [Integer] :records_per_page Specify records per page.
3864
3944
  # @return [Array<(AccountsResponseBody, Integer, Hash)>] AccountsResponseBody data, response status code and response headers
@@ -3875,6 +3955,7 @@ module MxPlatformRuby
3875
3955
 
3876
3956
  # query parameters
3877
3957
  query_params = opts[:query_params] || {}
3958
+ query_params[:'member_is_managed_by_user'] = opts[:'member_is_managed_by_user'] if !opts[:'member_is_managed_by_user'].nil?
3878
3959
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3879
3960
  query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
3880
3961
 
@@ -3917,6 +3998,9 @@ module MxPlatformRuby
3917
3998
  # @param [Hash] opts the optional parameters
3918
3999
  # @option opts [Integer] :page Specify current page.
3919
4000
  # @option opts [Integer] :records_per_page Specify records per page.
4001
+ # @option opts [String] :id The user &#x60;id&#x60; to search for.
4002
+ # @option opts [String] :email The user &#x60;email&#x60; to search for.
4003
+ # @option opts [Boolean] :is_disabled Search for users that are diabled.
3920
4004
  # @return [UsersResponseBody]
3921
4005
  def list_users(opts = {})
3922
4006
  data, _status_code, _headers = list_users_with_http_info(opts)
@@ -3928,6 +4012,9 @@ module MxPlatformRuby
3928
4012
  # @param [Hash] opts the optional parameters
3929
4013
  # @option opts [Integer] :page Specify current page.
3930
4014
  # @option opts [Integer] :records_per_page Specify records per page.
4015
+ # @option opts [String] :id The user &#x60;id&#x60; to search for.
4016
+ # @option opts [String] :email The user &#x60;email&#x60; to search for.
4017
+ # @option opts [Boolean] :is_disabled Search for users that are diabled.
3931
4018
  # @return [Array<(UsersResponseBody, Integer, Hash)>] UsersResponseBody data, response status code and response headers
3932
4019
  def list_users_with_http_info(opts = {})
3933
4020
  if @api_client.config.debugging
@@ -3940,6 +4027,9 @@ module MxPlatformRuby
3940
4027
  query_params = opts[:query_params] || {}
3941
4028
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
3942
4029
  query_params[:'records_per_page'] = opts[:'records_per_page'] if !opts[:'records_per_page'].nil?
4030
+ query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
4031
+ query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
4032
+ query_params[:'is_disabled'] = opts[:'is_disabled'] if !opts[:'is_disabled'].nil?
3943
4033
 
3944
4034
  # header parameters
3945
4035
  header_params = opts[:header_params] || {}
@@ -4044,6 +4134,81 @@ module MxPlatformRuby
4044
4134
  return data, status_code, headers
4045
4135
  end
4046
4136
 
4137
+ # Read account by member
4138
+ # This endpoint allows you to read the attributes of an `account` resource.
4139
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4140
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4141
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4142
+ # @param [Hash] opts the optional parameters
4143
+ # @return [AccountResponseBody]
4144
+ def read_account_by_member(account_guid, member_guid, user_guid, opts = {})
4145
+ data, _status_code, _headers = read_account_by_member_with_http_info(account_guid, member_guid, user_guid, opts)
4146
+ data
4147
+ end
4148
+
4149
+ # Read account by member
4150
+ # This endpoint allows you to read the attributes of an &#x60;account&#x60; resource.
4151
+ # @param account_guid [String] The unique id for an &#x60;account&#x60;.
4152
+ # @param member_guid [String] The unique id for a &#x60;member&#x60;.
4153
+ # @param user_guid [String] The unique id for a &#x60;user&#x60;.
4154
+ # @param [Hash] opts the optional parameters
4155
+ # @return [Array<(AccountResponseBody, Integer, Hash)>] AccountResponseBody data, response status code and response headers
4156
+ def read_account_by_member_with_http_info(account_guid, member_guid, user_guid, opts = {})
4157
+ if @api_client.config.debugging
4158
+ @api_client.config.logger.debug 'Calling API: MxPlatformApi.read_account_by_member ...'
4159
+ end
4160
+ # verify the required parameter 'account_guid' is set
4161
+ if @api_client.config.client_side_validation && account_guid.nil?
4162
+ fail ArgumentError, "Missing the required parameter 'account_guid' when calling MxPlatformApi.read_account_by_member"
4163
+ end
4164
+ # verify the required parameter 'member_guid' is set
4165
+ if @api_client.config.client_side_validation && member_guid.nil?
4166
+ fail ArgumentError, "Missing the required parameter 'member_guid' when calling MxPlatformApi.read_account_by_member"
4167
+ end
4168
+ # verify the required parameter 'user_guid' is set
4169
+ if @api_client.config.client_side_validation && user_guid.nil?
4170
+ fail ArgumentError, "Missing the required parameter 'user_guid' when calling MxPlatformApi.read_account_by_member"
4171
+ end
4172
+ # resource path
4173
+ local_var_path = '/users/{user_guid}/members/{member_guid}/accounts/{account_guid}'.sub('{' + 'account_guid' + '}', CGI.escape(account_guid.to_s)).sub('{' + 'member_guid' + '}', CGI.escape(member_guid.to_s)).sub('{' + 'user_guid' + '}', CGI.escape(user_guid.to_s))
4174
+
4175
+ # query parameters
4176
+ query_params = opts[:query_params] || {}
4177
+
4178
+ # header parameters
4179
+ header_params = opts[:header_params] || {}
4180
+ # HTTP header 'Accept' (if needed)
4181
+ header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
4182
+
4183
+ # form parameters
4184
+ form_params = opts[:form_params] || {}
4185
+
4186
+ # http body (model)
4187
+ post_body = opts[:debug_body]
4188
+
4189
+ # return_type
4190
+ return_type = opts[:debug_return_type] || 'AccountResponseBody'
4191
+
4192
+ # auth_names
4193
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
4194
+
4195
+ new_options = opts.merge(
4196
+ :operation => :"MxPlatformApi.read_account_by_member",
4197
+ :header_params => header_params,
4198
+ :query_params => query_params,
4199
+ :form_params => form_params,
4200
+ :body => post_body,
4201
+ :auth_names => auth_names,
4202
+ :return_type => return_type
4203
+ )
4204
+
4205
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
4206
+ if @api_client.config.debugging
4207
+ @api_client.config.logger.debug "API called: MxPlatformApi#read_account_by_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4208
+ end
4209
+ return data, status_code, headers
4210
+ end
4211
+
4047
4212
  # Read a custom category
4048
4213
  # Use this endpoint to read the attributes of either a default category or a custom category.
4049
4214
  # @param category_guid [String] The unique id for a &#x60;category&#x60;.
@@ -5290,9 +5455,10 @@ module MxPlatformRuby
5290
5455
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5291
5456
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5292
5457
  # @param [Hash] opts the optional parameters
5458
+ # @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with &#x60;referral_source&#x3D;APP&#x60;.
5293
5459
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
5294
5460
  # @option opts [Boolean] :skip_aggregation Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
5295
- # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
5461
+ # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;.
5296
5462
  # @return [OAuthWindowResponseBody]
5297
5463
  def request_o_auth_window_uri(member_guid, user_guid, opts = {})
5298
5464
  data, _status_code, _headers = request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts)
@@ -5304,9 +5470,10 @@ module MxPlatformRuby
5304
5470
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5305
5471
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5306
5472
  # @param [Hash] opts the optional parameters
5473
+ # @option opts [String] :client_redirect_url A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with &#x60;referral_source&#x3D;APP&#x60;.
5307
5474
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
5308
5475
  # @option opts [Boolean] :skip_aggregation Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page.
5309
- # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
5476
+ # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;.
5310
5477
  # @return [Array<(OAuthWindowResponseBody, Integer, Hash)>] OAuthWindowResponseBody data, response status code and response headers
5311
5478
  def request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
5312
5479
  if @api_client.config.debugging
@@ -5325,6 +5492,7 @@ module MxPlatformRuby
5325
5492
 
5326
5493
  # query parameters
5327
5494
  query_params = opts[:query_params] || {}
5495
+ query_params[:'client_redirect_url'] = opts[:'client_redirect_url'] if !opts[:'client_redirect_url'].nil?
5328
5496
  query_params[:'referral_source'] = opts[:'referral_source'] if !opts[:'referral_source'].nil?
5329
5497
  query_params[:'skip_aggregation'] = opts[:'skip_aggregation'] if !opts[:'skip_aggregation'].nil?
5330
5498
  query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?
@@ -25,6 +25,8 @@ module MxPlatformRuby
25
25
 
26
26
  attr_accessor :member_guid
27
27
 
28
+ attr_accessor :passed_validation
29
+
28
30
  attr_accessor :routing_number
29
31
 
30
32
  attr_accessor :transit_number
@@ -39,6 +41,7 @@ module MxPlatformRuby
39
41
  :'guid' => :'guid',
40
42
  :'institution_number' => :'institution_number',
41
43
  :'member_guid' => :'member_guid',
44
+ :'passed_validation' => :'passed_validation',
42
45
  :'routing_number' => :'routing_number',
43
46
  :'transit_number' => :'transit_number',
44
47
  :'user_guid' => :'user_guid'
@@ -58,6 +61,7 @@ module MxPlatformRuby
58
61
  :'guid' => :'String',
59
62
  :'institution_number' => :'String',
60
63
  :'member_guid' => :'String',
64
+ :'passed_validation' => :'Boolean',
61
65
  :'routing_number' => :'String',
62
66
  :'transit_number' => :'String',
63
67
  :'user_guid' => :'String'
@@ -72,6 +76,7 @@ module MxPlatformRuby
72
76
  :'guid',
73
77
  :'institution_number',
74
78
  :'member_guid',
79
+ :'passed_validation',
75
80
  :'routing_number',
76
81
  :'transit_number',
77
82
  :'user_guid'
@@ -113,6 +118,10 @@ module MxPlatformRuby
113
118
  self.member_guid = attributes[:'member_guid']
114
119
  end
115
120
 
121
+ if attributes.key?(:'passed_validation')
122
+ self.passed_validation = attributes[:'passed_validation']
123
+ end
124
+
116
125
  if attributes.key?(:'routing_number')
117
126
  self.routing_number = attributes[:'routing_number']
118
127
  end
@@ -149,6 +158,7 @@ module MxPlatformRuby
149
158
  guid == o.guid &&
150
159
  institution_number == o.institution_number &&
151
160
  member_guid == o.member_guid &&
161
+ passed_validation == o.passed_validation &&
152
162
  routing_number == o.routing_number &&
153
163
  transit_number == o.transit_number &&
154
164
  user_guid == o.user_guid
@@ -163,7 +173,7 @@ module MxPlatformRuby
163
173
  # Calculates hash code according to all attributes.
164
174
  # @return [Integer] Hash code
165
175
  def hash
166
- [account_guid, account_number, guid, institution_number, member_guid, routing_number, transit_number, user_guid].hash
176
+ [account_guid, account_number, guid, institution_number, member_guid, passed_validation, routing_number, transit_number, user_guid].hash
167
177
  end
168
178
 
169
179
  # Builds the object from hash
@@ -25,8 +25,12 @@ module MxPlatformRuby
25
25
 
26
26
  attr_accessor :email
27
27
 
28
+ attr_accessor :first_name
29
+
28
30
  attr_accessor :guid
29
31
 
32
+ attr_accessor :last_name
33
+
30
34
  attr_accessor :member_guid
31
35
 
32
36
  attr_accessor :owner_name
@@ -47,7 +51,9 @@ module MxPlatformRuby
47
51
  :'city' => :'city',
48
52
  :'country' => :'country',
49
53
  :'email' => :'email',
54
+ :'first_name' => :'first_name',
50
55
  :'guid' => :'guid',
56
+ :'last_name' => :'last_name',
51
57
  :'member_guid' => :'member_guid',
52
58
  :'owner_name' => :'owner_name',
53
59
  :'phone' => :'phone',
@@ -70,7 +76,9 @@ module MxPlatformRuby
70
76
  :'city' => :'String',
71
77
  :'country' => :'String',
72
78
  :'email' => :'String',
79
+ :'first_name' => :'String',
73
80
  :'guid' => :'String',
81
+ :'last_name' => :'String',
74
82
  :'member_guid' => :'String',
75
83
  :'owner_name' => :'String',
76
84
  :'phone' => :'String',
@@ -88,7 +96,9 @@ module MxPlatformRuby
88
96
  :'city',
89
97
  :'country',
90
98
  :'email',
99
+ :'first_name',
91
100
  :'guid',
101
+ :'last_name',
92
102
  :'member_guid',
93
103
  :'owner_name',
94
104
  :'phone',
@@ -133,10 +143,18 @@ module MxPlatformRuby
133
143
  self.email = attributes[:'email']
134
144
  end
135
145
 
146
+ if attributes.key?(:'first_name')
147
+ self.first_name = attributes[:'first_name']
148
+ end
149
+
136
150
  if attributes.key?(:'guid')
137
151
  self.guid = attributes[:'guid']
138
152
  end
139
153
 
154
+ if attributes.key?(:'last_name')
155
+ self.last_name = attributes[:'last_name']
156
+ end
157
+
140
158
  if attributes.key?(:'member_guid')
141
159
  self.member_guid = attributes[:'member_guid']
142
160
  end
@@ -185,7 +203,9 @@ module MxPlatformRuby
185
203
  city == o.city &&
186
204
  country == o.country &&
187
205
  email == o.email &&
206
+ first_name == o.first_name &&
188
207
  guid == o.guid &&
208
+ last_name == o.last_name &&
189
209
  member_guid == o.member_guid &&
190
210
  owner_name == o.owner_name &&
191
211
  phone == o.phone &&
@@ -203,7 +223,7 @@ module MxPlatformRuby
203
223
  # Calculates hash code according to all attributes.
204
224
  # @return [Integer] Hash code
205
225
  def hash
206
- [account_guid, address, city, country, email, guid, member_guid, owner_name, phone, postal_code, state, user_guid].hash
226
+ [account_guid, address, city, country, email, first_name, guid, last_name, member_guid, owner_name, phone, postal_code, state, user_guid].hash
207
227
  end
208
228
 
209
229
  # Builds the object from hash
@@ -15,42 +15,51 @@ require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
17
  class ConnectWidgetRequest
18
+ attr_accessor :client_redirect_url
19
+
18
20
  attr_accessor :color_scheme
19
21
 
20
22
  attr_accessor :current_institution_code
21
23
 
22
24
  attr_accessor :current_member_guid
23
25
 
26
+ attr_accessor :disable_background_agg
27
+
24
28
  attr_accessor :disable_institution_search
25
29
 
30
+ attr_accessor :include_identity
31
+
26
32
  attr_accessor :include_transactions
27
33
 
28
34
  attr_accessor :is_mobile_webview
29
35
 
30
36
  attr_accessor :mode
31
37
 
38
+ attr_accessor :oauth_referral_source
39
+
32
40
  attr_accessor :ui_message_version
33
41
 
34
42
  attr_accessor :ui_message_webview_url_scheme
35
43
 
36
44
  attr_accessor :update_credentials
37
45
 
38
- attr_accessor :wait_for_full_aggregation
39
-
40
46
  # Attribute mapping from ruby-style variable name to JSON key.
41
47
  def self.attribute_map
42
48
  {
49
+ :'client_redirect_url' => :'client_redirect_url',
43
50
  :'color_scheme' => :'color_scheme',
44
51
  :'current_institution_code' => :'current_institution_code',
45
52
  :'current_member_guid' => :'current_member_guid',
53
+ :'disable_background_agg' => :'disable_background_agg',
46
54
  :'disable_institution_search' => :'disable_institution_search',
55
+ :'include_identity' => :'include_identity',
47
56
  :'include_transactions' => :'include_transactions',
48
57
  :'is_mobile_webview' => :'is_mobile_webview',
49
58
  :'mode' => :'mode',
59
+ :'oauth_referral_source' => :'oauth_referral_source',
50
60
  :'ui_message_version' => :'ui_message_version',
51
61
  :'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
52
- :'update_credentials' => :'update_credentials',
53
- :'wait_for_full_aggregation' => :'wait_for_full_aggregation'
62
+ :'update_credentials' => :'update_credentials'
54
63
  }
55
64
  end
56
65
 
@@ -62,17 +71,20 @@ module MxPlatformRuby
62
71
  # Attribute type mapping.
63
72
  def self.openapi_types
64
73
  {
74
+ :'client_redirect_url' => :'String',
65
75
  :'color_scheme' => :'String',
66
76
  :'current_institution_code' => :'String',
67
77
  :'current_member_guid' => :'String',
78
+ :'disable_background_agg' => :'Boolean',
68
79
  :'disable_institution_search' => :'Boolean',
80
+ :'include_identity' => :'Boolean',
69
81
  :'include_transactions' => :'Boolean',
70
82
  :'is_mobile_webview' => :'Boolean',
71
83
  :'mode' => :'String',
84
+ :'oauth_referral_source' => :'String',
72
85
  :'ui_message_version' => :'Integer',
73
86
  :'ui_message_webview_url_scheme' => :'String',
74
- :'update_credentials' => :'Boolean',
75
- :'wait_for_full_aggregation' => :'Boolean'
87
+ :'update_credentials' => :'Boolean'
76
88
  }
77
89
  end
78
90
 
@@ -97,6 +109,10 @@ module MxPlatformRuby
97
109
  h[k.to_sym] = v
98
110
  }
99
111
 
112
+ if attributes.key?(:'client_redirect_url')
113
+ self.client_redirect_url = attributes[:'client_redirect_url']
114
+ end
115
+
100
116
  if attributes.key?(:'color_scheme')
101
117
  self.color_scheme = attributes[:'color_scheme']
102
118
  end
@@ -109,10 +125,18 @@ module MxPlatformRuby
109
125
  self.current_member_guid = attributes[:'current_member_guid']
110
126
  end
111
127
 
128
+ if attributes.key?(:'disable_background_agg')
129
+ self.disable_background_agg = attributes[:'disable_background_agg']
130
+ end
131
+
112
132
  if attributes.key?(:'disable_institution_search')
113
133
  self.disable_institution_search = attributes[:'disable_institution_search']
114
134
  end
115
135
 
136
+ if attributes.key?(:'include_identity')
137
+ self.include_identity = attributes[:'include_identity']
138
+ end
139
+
116
140
  if attributes.key?(:'include_transactions')
117
141
  self.include_transactions = attributes[:'include_transactions']
118
142
  end
@@ -125,6 +149,10 @@ module MxPlatformRuby
125
149
  self.mode = attributes[:'mode']
126
150
  end
127
151
 
152
+ if attributes.key?(:'oauth_referral_source')
153
+ self.oauth_referral_source = attributes[:'oauth_referral_source']
154
+ end
155
+
128
156
  if attributes.key?(:'ui_message_version')
129
157
  self.ui_message_version = attributes[:'ui_message_version']
130
158
  end
@@ -136,10 +164,6 @@ module MxPlatformRuby
136
164
  if attributes.key?(:'update_credentials')
137
165
  self.update_credentials = attributes[:'update_credentials']
138
166
  end
139
-
140
- if attributes.key?(:'wait_for_full_aggregation')
141
- self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
142
- end
143
167
  end
144
168
 
145
169
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -160,17 +184,20 @@ module MxPlatformRuby
160
184
  def ==(o)
161
185
  return true if self.equal?(o)
162
186
  self.class == o.class &&
187
+ client_redirect_url == o.client_redirect_url &&
163
188
  color_scheme == o.color_scheme &&
164
189
  current_institution_code == o.current_institution_code &&
165
190
  current_member_guid == o.current_member_guid &&
191
+ disable_background_agg == o.disable_background_agg &&
166
192
  disable_institution_search == o.disable_institution_search &&
193
+ include_identity == o.include_identity &&
167
194
  include_transactions == o.include_transactions &&
168
195
  is_mobile_webview == o.is_mobile_webview &&
169
196
  mode == o.mode &&
197
+ oauth_referral_source == o.oauth_referral_source &&
170
198
  ui_message_version == o.ui_message_version &&
171
199
  ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
172
- update_credentials == o.update_credentials &&
173
- wait_for_full_aggregation == o.wait_for_full_aggregation
200
+ update_credentials == o.update_credentials
174
201
  end
175
202
 
176
203
  # @see the `==` method
@@ -182,7 +209,7 @@ module MxPlatformRuby
182
209
  # Calculates hash code according to all attributes.
183
210
  # @return [Integer] Hash code
184
211
  def hash
185
- [color_scheme, current_institution_code, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials, wait_for_full_aggregation].hash
212
+ [client_redirect_url, color_scheme, current_institution_code, current_member_guid, disable_background_agg, disable_institution_search, include_identity, include_transactions, is_mobile_webview, mode, oauth_referral_source, ui_message_version, ui_message_webview_url_scheme, update_credentials].hash
186
213
  end
187
214
 
188
215
  # Builds the object from hash
@@ -33,6 +33,8 @@ module MxPlatformRuby
33
33
 
34
34
  attr_accessor :holding_type
35
35
 
36
+ attr_accessor :holding_type_id
37
+
36
38
  attr_accessor :id
37
39
 
38
40
  attr_accessor :market_value
@@ -63,6 +65,7 @@ module MxPlatformRuby
63
65
  :'description' => :'description',
64
66
  :'guid' => :'guid',
65
67
  :'holding_type' => :'holding_type',
68
+ :'holding_type_id' => :'holding_type_id',
66
69
  :'id' => :'id',
67
70
  :'market_value' => :'market_value',
68
71
  :'member_guid' => :'member_guid',
@@ -92,6 +95,7 @@ module MxPlatformRuby
92
95
  :'description' => :'String',
93
96
  :'guid' => :'String',
94
97
  :'holding_type' => :'String',
98
+ :'holding_type_id' => :'Integer',
95
99
  :'id' => :'String',
96
100
  :'market_value' => :'Float',
97
101
  :'member_guid' => :'String',
@@ -116,6 +120,7 @@ module MxPlatformRuby
116
120
  :'description',
117
121
  :'guid',
118
122
  :'holding_type',
123
+ :'holding_type_id',
119
124
  :'id',
120
125
  :'market_value',
121
126
  :'member_guid',
@@ -179,6 +184,10 @@ module MxPlatformRuby
179
184
  self.holding_type = attributes[:'holding_type']
180
185
  end
181
186
 
187
+ if attributes.key?(:'holding_type_id')
188
+ self.holding_type_id = attributes[:'holding_type_id']
189
+ end
190
+
182
191
  if attributes.key?(:'id')
183
192
  self.id = attributes[:'id']
184
193
  end
@@ -243,6 +252,7 @@ module MxPlatformRuby
243
252
  description == o.description &&
244
253
  guid == o.guid &&
245
254
  holding_type == o.holding_type &&
255
+ holding_type_id == o.holding_type_id &&
246
256
  id == o.id &&
247
257
  market_value == o.market_value &&
248
258
  member_guid == o.member_guid &&
@@ -263,7 +273,7 @@ module MxPlatformRuby
263
273
  # Calculates hash code according to all attributes.
264
274
  # @return [Integer] Hash code
265
275
  def hash
266
- [account_guid, cost_basis, created_at, currency_code, cusip, daily_change, description, guid, holding_type, id, market_value, member_guid, metadata, purchase_price, shares, symbol, updated_at, user_guid].hash
276
+ [account_guid, cost_basis, created_at, currency_code, cusip, daily_change, description, guid, holding_type, holding_type_id, id, market_value, member_guid, metadata, purchase_price, shares, symbol, updated_at, user_guid].hash
267
277
  end
268
278
 
269
279
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
17
  class MemberCreateRequestBody
18
+ attr_accessor :client_redirect_url
19
+
18
20
  attr_accessor :member
19
21
 
20
22
  attr_accessor :referral_source
@@ -24,6 +26,7 @@ module MxPlatformRuby
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
25
27
  def self.attribute_map
26
28
  {
29
+ :'client_redirect_url' => :'client_redirect_url',
27
30
  :'member' => :'member',
28
31
  :'referral_source' => :'referral_source',
29
32
  :'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme'
@@ -38,6 +41,7 @@ module MxPlatformRuby
38
41
  # Attribute type mapping.
39
42
  def self.openapi_types
40
43
  {
44
+ :'client_redirect_url' => :'String',
41
45
  :'member' => :'MemberCreateRequest',
42
46
  :'referral_source' => :'String',
43
47
  :'ui_message_webview_url_scheme' => :'String'
@@ -65,6 +69,10 @@ module MxPlatformRuby
65
69
  h[k.to_sym] = v
66
70
  }
67
71
 
72
+ if attributes.key?(:'client_redirect_url')
73
+ self.client_redirect_url = attributes[:'client_redirect_url']
74
+ end
75
+
68
76
  if attributes.key?(:'member')
69
77
  self.member = attributes[:'member']
70
78
  end
@@ -96,6 +104,7 @@ module MxPlatformRuby
96
104
  def ==(o)
97
105
  return true if self.equal?(o)
98
106
  self.class == o.class &&
107
+ client_redirect_url == o.client_redirect_url &&
99
108
  member == o.member &&
100
109
  referral_source == o.referral_source &&
101
110
  ui_message_webview_url_scheme == o.ui_message_webview_url_scheme
@@ -110,7 +119,7 @@ module MxPlatformRuby
110
119
  # Calculates hash code according to all attributes.
111
120
  # @return [Integer] Hash code
112
121
  def hash
113
- [member, referral_source, ui_message_webview_url_scheme].hash
122
+ [client_redirect_url, member, referral_source, ui_message_webview_url_scheme].hash
114
123
  end
115
124
 
116
125
  # Builds the object from hash