mx-platform-ruby 0.13.1 → 0.13.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f4cb1fbbb31e28057c45e490bbf68e7fc0766edd67c020cc091c947a6429456
4
- data.tar.gz: 221346e032385e534779514a0a47abb55a96824595f97612007d378b1ae0261c
3
+ metadata.gz: fcea25ea3b882a6dcfb42235580778fa60c461ffea20ecf19eb97d1908d419df
4
+ data.tar.gz: 52e4464a0d35a6b2b581bef7fb366d498fed17563733667e801c716960ee8e52
5
5
  SHA512:
6
- metadata.gz: 67e1a34a73cee9c23883134d234178ff9055176f1ccfb6b3471f44b4ba1f2d9ac3634458a10b6781e8b37277bc598930582a352902a4e447056774216c91f36f
7
- data.tar.gz: 7a17ee9af7712631a18de30b1c14282922d2f0296e4f35ec866ea8a0e7bac64be2802779ea33c7e33bcf933b84be22a1bb337f1ca24e2ed358547c321101c831
6
+ metadata.gz: 80c36a073d4226c2fb892a64d2c47bce10621b641b80d1ccc0ce9ce7fb0c8e89bdae585dcd2b2382671a1b88c89a667b48c68bee0b2a21010c6314c90700fb5f
7
+ data.tar.gz: 725446f13c05df26770c88ca4230bd2779d0bf39fa00e920b036ec3f593022cbb7e03e2c4d4b45de8f752dd649f42919c7d6e88a5486494beaa8cf54bf2ed81e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.13.1)
4
+ mx-platform-ruby (0.13.2)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -27,8 +27,8 @@ GEM
27
27
  faraday-em_synchrony (1.0.0)
28
28
  faraday-excon (1.1.0)
29
29
  faraday-httpclient (1.0.1)
30
- faraday-multipart (1.0.3)
31
- multipart-post (>= 1.2, < 3)
30
+ faraday-multipart (1.0.4)
31
+ multipart-post (~> 2)
32
32
  faraday-net_http (1.0.1)
33
33
  faraday-net_http_persistent (1.2.0)
34
34
  faraday-patron (1.0.0)
@@ -36,7 +36,7 @@ GEM
36
36
  faraday-retry (1.0.3)
37
37
  jaro_winkler (1.5.4)
38
38
  method_source (1.0.0)
39
- multipart-post (2.1.1)
39
+ multipart-post (2.2.3)
40
40
  parallel (1.22.1)
41
41
  parser (3.1.2.0)
42
42
  ast (~> 2.4.1)
@@ -46,7 +46,7 @@ GEM
46
46
  pry-byebug (3.9.0)
47
47
  byebug (~> 11.0)
48
48
  pry (~> 0.13.0)
49
- psych (4.0.3)
49
+ psych (4.0.4)
50
50
  stringio
51
51
  rainbow (3.1.1)
52
52
  rake (13.0.6)
@@ -73,7 +73,7 @@ GEM
73
73
  unicode-display_width (>= 1.4.0, < 1.6)
74
74
  ruby-progressbar (1.11.0)
75
75
  ruby2_keywords (0.0.5)
76
- stringio (3.0.1)
76
+ stringio (3.0.2)
77
77
  unicode-display_width (1.5.0)
78
78
 
79
79
  PLATFORMS
@@ -87,4 +87,4 @@ DEPENDENCIES
87
87
  rubocop (~> 0.66.0)
88
88
 
89
89
  BUNDLED WITH
90
- 2.3.12
90
+ 2.3.16
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **client_redirect_url** | **String** | | [optional] |
7
8
  | **color_scheme** | **String** | | [optional] |
8
9
  | **current_institution_code** | **String** | | [optional] |
9
10
  | **current_member_guid** | **String** | | [optional] |
@@ -14,7 +15,6 @@
14
15
  | **ui_message_version** | **Integer** | | [optional] |
15
16
  | **ui_message_webview_url_scheme** | **String** | | [optional] |
16
17
  | **update_credentials** | **Boolean** | | [optional] |
17
- | **wait_for_full_aggregation** | **Boolean** | | [optional] |
18
18
 
19
19
  ## Example
20
20
 
@@ -22,6 +22,7 @@
22
22
  require 'mx-platform-ruby'
23
23
 
24
24
  instance = MxPlatformRuby::ConnectWidgetRequest.new(
25
+ client_redirect_url: https://mx.com,
25
26
  color_scheme: light,
26
27
  current_institution_code: chase,
27
28
  current_member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
@@ -31,8 +32,7 @@ instance = MxPlatformRuby::ConnectWidgetRequest.new(
31
32
  mode: aggregation,
32
33
  ui_message_version: 4,
33
34
  ui_message_webview_url_scheme: mx,
34
- update_credentials: false,
35
- wait_for_full_aggregation: false
35
+ update_credentials: false
36
36
  )
37
37
  ```
38
38
 
@@ -13,6 +13,7 @@
13
13
  | **description** | **String** | | [optional] |
14
14
  | **guid** | **String** | | [optional] |
15
15
  | **holding_type** | **String** | | [optional] |
16
+ | **holding_type_id** | **Integer** | | [optional] |
16
17
  | **id** | **String** | | [optional] |
17
18
  | **market_value** | **Float** | | [optional] |
18
19
  | **member_guid** | **String** | | [optional] |
@@ -38,6 +39,7 @@ instance = MxPlatformRuby::HoldingResponse.new(
38
39
  description: Guggenheim Defensive Equity ETF,
39
40
  guid: HOL-d65683e8-9eab-26bb-bcfd-ced159c9abe2,
40
41
  holding_type: MONEY_MARKET,
42
+ holding_type_id: 1,
41
43
  id: ID-123,
42
44
  market_value: 989.5,
43
45
  member_guid: MBR-d65683e8-9eab-26bb-bcfd-ced159c9abe,
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **background_aggregation_is_disabled** | **Boolean** | | [optional] |
8
+ | **client_redirect_url** | **String** | | [optional] |
8
9
  | **credentials** | [**Array&lt;CredentialRequest&gt;**](CredentialRequest.md) | | |
9
10
  | **id** | **String** | | [optional] |
10
11
  | **institution_code** | **String** | | |
@@ -19,6 +20,7 @@ require 'mx-platform-ruby'
19
20
 
20
21
  instance = MxPlatformRuby::MemberCreateRequest.new(
21
22
  background_aggregation_is_disabled: false,
23
+ client_redirect_url: https://mx.com,
22
24
  credentials: null,
23
25
  id: unique_id,
24
26
  institution_code: chase,
@@ -5618,9 +5618,10 @@ api_instance = MxPlatformRuby::MxPlatformApi.new
5618
5618
  member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique id for a `member`.
5619
5619
  user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
5620
5620
  opts = {
5621
+ client_redirect_url: 'https://mx.com', # String | A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
5621
5622
  referral_source: 'APP', # String | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
5622
5623
  skip_aggregation: false, # Boolean | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
5623
- ui_message_webview_url_scheme: 'mx' # String | A scheme for routing the user back to the application state they were previously in.
5624
+ ui_message_webview_url_scheme: 'mx' # String | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
5624
5625
  }
5625
5626
 
5626
5627
  begin
@@ -5656,9 +5657,10 @@ end
5656
5657
  | ---- | ---- | ----------- | ----- |
5657
5658
  | **member_guid** | **String** | The unique id for a &#x60;member&#x60;. | |
5658
5659
  | **user_guid** | **String** | The unique id for a &#x60;user&#x60;. | |
5660
+ | **client_redirect_url** | **String** | 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;. | [optional] |
5659
5661
  | **referral_source** | **String** | Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;. | [optional] |
5660
5662
  | **skip_aggregation** | **Boolean** | Setting this parameter to &#x60;true&#x60; will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional] |
5661
- | **ui_message_webview_url_scheme** | **String** | A scheme for routing the user back to the application state they were previously in. | [optional] |
5663
+ | **ui_message_webview_url_scheme** | **String** | A scheme for routing the user back to the application state they were previously in. Only available with &#x60;referral_source&#x3D;APP&#x60;. | [optional] |
5662
5664
 
5663
5665
  ### Return type
5664
5666
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **client_redirect_url** | **String** | | [optional] |
7
8
  | **color_scheme** | **String** | | [optional] |
8
9
  | **current_institution_code** | **String** | | [optional] |
9
10
  | **current_institution_guid** | **String** | | [optional] |
@@ -15,7 +16,6 @@
15
16
  | **ui_message_version** | **Integer** | | [optional] |
16
17
  | **ui_message_webview_url_scheme** | **String** | | [optional] |
17
18
  | **update_credentials** | **Boolean** | | [optional] |
18
- | **wait_for_full_aggregation** | **Boolean** | | [optional] |
19
19
  | **widget_type** | **String** | | |
20
20
 
21
21
  ## Example
@@ -24,6 +24,7 @@
24
24
  require 'mx-platform-ruby'
25
25
 
26
26
  instance = MxPlatformRuby::WidgetRequest.new(
27
+ client_redirect_url: https://mx.com,
27
28
  color_scheme: light,
28
29
  current_institution_code: chase,
29
30
  current_institution_guid: INS-f1a3285d-e855-b61f-6aa7-8ae575c0e0e9,
@@ -35,7 +36,6 @@ instance = MxPlatformRuby::WidgetRequest.new(
35
36
  ui_message_version: 4,
36
37
  ui_message_webview_url_scheme: mx,
37
38
  update_credentials: false,
38
- wait_for_full_aggregation: false,
39
39
  widget_type: connect_widget
40
40
  )
41
41
  ```
@@ -5290,9 +5290,10 @@ module MxPlatformRuby
5290
5290
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5291
5291
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5292
5292
  # @param [Hash] opts the optional parameters
5293
+ # @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
5294
  # @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
5295
  # @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.
5296
+ # @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
5297
  # @return [OAuthWindowResponseBody]
5297
5298
  def request_o_auth_window_uri(member_guid, user_guid, opts = {})
5298
5299
  data, _status_code, _headers = request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts)
@@ -5304,9 +5305,10 @@ module MxPlatformRuby
5304
5305
  # @param member_guid [String] The unique id for a &#x60;member&#x60;.
5305
5306
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
5306
5307
  # @param [Hash] opts the optional parameters
5308
+ # @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
5309
  # @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
5310
  # @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.
5311
+ # @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
5312
  # @return [Array<(OAuthWindowResponseBody, Integer, Hash)>] OAuthWindowResponseBody data, response status code and response headers
5311
5313
  def request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
5312
5314
  if @api_client.config.debugging
@@ -5325,6 +5327,7 @@ module MxPlatformRuby
5325
5327
 
5326
5328
  # query parameters
5327
5329
  query_params = opts[:query_params] || {}
5330
+ query_params[:'client_redirect_url'] = opts[:'client_redirect_url'] if !opts[:'client_redirect_url'].nil?
5328
5331
  query_params[:'referral_source'] = opts[:'referral_source'] if !opts[:'referral_source'].nil?
5329
5332
  query_params[:'skip_aggregation'] = opts[:'skip_aggregation'] if !opts[:'skip_aggregation'].nil?
5330
5333
  query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?
@@ -15,6 +15,8 @@ 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
@@ -35,11 +37,10 @@ module MxPlatformRuby
35
37
 
36
38
  attr_accessor :update_credentials
37
39
 
38
- attr_accessor :wait_for_full_aggregation
39
-
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
+ :'client_redirect_url' => :'client_redirect_url',
43
44
  :'color_scheme' => :'color_scheme',
44
45
  :'current_institution_code' => :'current_institution_code',
45
46
  :'current_member_guid' => :'current_member_guid',
@@ -49,8 +50,7 @@ module MxPlatformRuby
49
50
  :'mode' => :'mode',
50
51
  :'ui_message_version' => :'ui_message_version',
51
52
  :'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
52
- :'update_credentials' => :'update_credentials',
53
- :'wait_for_full_aggregation' => :'wait_for_full_aggregation'
53
+ :'update_credentials' => :'update_credentials'
54
54
  }
55
55
  end
56
56
 
@@ -62,6 +62,7 @@ module MxPlatformRuby
62
62
  # Attribute type mapping.
63
63
  def self.openapi_types
64
64
  {
65
+ :'client_redirect_url' => :'String',
65
66
  :'color_scheme' => :'String',
66
67
  :'current_institution_code' => :'String',
67
68
  :'current_member_guid' => :'String',
@@ -71,8 +72,7 @@ module MxPlatformRuby
71
72
  :'mode' => :'String',
72
73
  :'ui_message_version' => :'Integer',
73
74
  :'ui_message_webview_url_scheme' => :'String',
74
- :'update_credentials' => :'Boolean',
75
- :'wait_for_full_aggregation' => :'Boolean'
75
+ :'update_credentials' => :'Boolean'
76
76
  }
77
77
  end
78
78
 
@@ -97,6 +97,10 @@ module MxPlatformRuby
97
97
  h[k.to_sym] = v
98
98
  }
99
99
 
100
+ if attributes.key?(:'client_redirect_url')
101
+ self.client_redirect_url = attributes[:'client_redirect_url']
102
+ end
103
+
100
104
  if attributes.key?(:'color_scheme')
101
105
  self.color_scheme = attributes[:'color_scheme']
102
106
  end
@@ -136,10 +140,6 @@ module MxPlatformRuby
136
140
  if attributes.key?(:'update_credentials')
137
141
  self.update_credentials = attributes[:'update_credentials']
138
142
  end
139
-
140
- if attributes.key?(:'wait_for_full_aggregation')
141
- self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
142
- end
143
143
  end
144
144
 
145
145
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -160,6 +160,7 @@ module MxPlatformRuby
160
160
  def ==(o)
161
161
  return true if self.equal?(o)
162
162
  self.class == o.class &&
163
+ client_redirect_url == o.client_redirect_url &&
163
164
  color_scheme == o.color_scheme &&
164
165
  current_institution_code == o.current_institution_code &&
165
166
  current_member_guid == o.current_member_guid &&
@@ -169,8 +170,7 @@ module MxPlatformRuby
169
170
  mode == o.mode &&
170
171
  ui_message_version == o.ui_message_version &&
171
172
  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
173
+ update_credentials == o.update_credentials
174
174
  end
175
175
 
176
176
  # @see the `==` method
@@ -182,7 +182,7 @@ module MxPlatformRuby
182
182
  # Calculates hash code according to all attributes.
183
183
  # @return [Integer] Hash code
184
184
  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
185
+ [client_redirect_url, 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].hash
186
186
  end
187
187
 
188
188
  # 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
@@ -17,6 +17,8 @@ module MxPlatformRuby
17
17
  class MemberCreateRequest
18
18
  attr_accessor :background_aggregation_is_disabled
19
19
 
20
+ attr_accessor :client_redirect_url
21
+
20
22
  attr_accessor :credentials
21
23
 
22
24
  attr_accessor :id
@@ -33,6 +35,7 @@ module MxPlatformRuby
33
35
  def self.attribute_map
34
36
  {
35
37
  :'background_aggregation_is_disabled' => :'background_aggregation_is_disabled',
38
+ :'client_redirect_url' => :'client_redirect_url',
36
39
  :'credentials' => :'credentials',
37
40
  :'id' => :'id',
38
41
  :'institution_code' => :'institution_code',
@@ -51,6 +54,7 @@ module MxPlatformRuby
51
54
  def self.openapi_types
52
55
  {
53
56
  :'background_aggregation_is_disabled' => :'Boolean',
57
+ :'client_redirect_url' => :'String',
54
58
  :'credentials' => :'Array<CredentialRequest>',
55
59
  :'id' => :'String',
56
60
  :'institution_code' => :'String',
@@ -85,6 +89,10 @@ module MxPlatformRuby
85
89
  self.background_aggregation_is_disabled = attributes[:'background_aggregation_is_disabled']
86
90
  end
87
91
 
92
+ if attributes.key?(:'client_redirect_url')
93
+ self.client_redirect_url = attributes[:'client_redirect_url']
94
+ end
95
+
88
96
  if attributes.key?(:'credentials')
89
97
  if (value = attributes[:'credentials']).is_a?(Array)
90
98
  self.credentials = value
@@ -141,6 +149,7 @@ module MxPlatformRuby
141
149
  return true if self.equal?(o)
142
150
  self.class == o.class &&
143
151
  background_aggregation_is_disabled == o.background_aggregation_is_disabled &&
152
+ client_redirect_url == o.client_redirect_url &&
144
153
  credentials == o.credentials &&
145
154
  id == o.id &&
146
155
  institution_code == o.institution_code &&
@@ -158,7 +167,7 @@ module MxPlatformRuby
158
167
  # Calculates hash code according to all attributes.
159
168
  # @return [Integer] Hash code
160
169
  def hash
161
- [background_aggregation_is_disabled, credentials, id, institution_code, is_oauth, metadata, skip_aggregation].hash
170
+ [background_aggregation_is_disabled, client_redirect_url, credentials, id, institution_code, is_oauth, metadata, skip_aggregation].hash
162
171
  end
163
172
 
164
173
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
17
  class WidgetRequest
18
+ attr_accessor :client_redirect_url
19
+
18
20
  attr_accessor :color_scheme
19
21
 
20
22
  attr_accessor :current_institution_code
@@ -37,13 +39,12 @@ module MxPlatformRuby
37
39
 
38
40
  attr_accessor :update_credentials
39
41
 
40
- attr_accessor :wait_for_full_aggregation
41
-
42
42
  attr_accessor :widget_type
43
43
 
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'client_redirect_url' => :'client_redirect_url',
47
48
  :'color_scheme' => :'color_scheme',
48
49
  :'current_institution_code' => :'current_institution_code',
49
50
  :'current_institution_guid' => :'current_institution_guid',
@@ -55,7 +56,6 @@ module MxPlatformRuby
55
56
  :'ui_message_version' => :'ui_message_version',
56
57
  :'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme',
57
58
  :'update_credentials' => :'update_credentials',
58
- :'wait_for_full_aggregation' => :'wait_for_full_aggregation',
59
59
  :'widget_type' => :'widget_type'
60
60
  }
61
61
  end
@@ -68,6 +68,7 @@ module MxPlatformRuby
68
68
  # Attribute type mapping.
69
69
  def self.openapi_types
70
70
  {
71
+ :'client_redirect_url' => :'String',
71
72
  :'color_scheme' => :'String',
72
73
  :'current_institution_code' => :'String',
73
74
  :'current_institution_guid' => :'String',
@@ -79,7 +80,6 @@ module MxPlatformRuby
79
80
  :'ui_message_version' => :'Integer',
80
81
  :'ui_message_webview_url_scheme' => :'String',
81
82
  :'update_credentials' => :'Boolean',
82
- :'wait_for_full_aggregation' => :'Boolean',
83
83
  :'widget_type' => :'String'
84
84
  }
85
85
  end
@@ -105,6 +105,10 @@ module MxPlatformRuby
105
105
  h[k.to_sym] = v
106
106
  }
107
107
 
108
+ if attributes.key?(:'client_redirect_url')
109
+ self.client_redirect_url = attributes[:'client_redirect_url']
110
+ end
111
+
108
112
  if attributes.key?(:'color_scheme')
109
113
  self.color_scheme = attributes[:'color_scheme']
110
114
  end
@@ -149,10 +153,6 @@ module MxPlatformRuby
149
153
  self.update_credentials = attributes[:'update_credentials']
150
154
  end
151
155
 
152
- if attributes.key?(:'wait_for_full_aggregation')
153
- self.wait_for_full_aggregation = attributes[:'wait_for_full_aggregation']
154
- end
155
-
156
156
  if attributes.key?(:'widget_type')
157
157
  self.widget_type = attributes[:'widget_type']
158
158
  end
@@ -181,6 +181,7 @@ module MxPlatformRuby
181
181
  def ==(o)
182
182
  return true if self.equal?(o)
183
183
  self.class == o.class &&
184
+ client_redirect_url == o.client_redirect_url &&
184
185
  color_scheme == o.color_scheme &&
185
186
  current_institution_code == o.current_institution_code &&
186
187
  current_institution_guid == o.current_institution_guid &&
@@ -192,7 +193,6 @@ module MxPlatformRuby
192
193
  ui_message_version == o.ui_message_version &&
193
194
  ui_message_webview_url_scheme == o.ui_message_webview_url_scheme &&
194
195
  update_credentials == o.update_credentials &&
195
- wait_for_full_aggregation == o.wait_for_full_aggregation &&
196
196
  widget_type == o.widget_type
197
197
  end
198
198
 
@@ -205,7 +205,7 @@ module MxPlatformRuby
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [color_scheme, current_institution_code, current_institution_guid, 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, widget_type].hash
208
+ [client_redirect_url, color_scheme, current_institution_code, current_institution_guid, current_member_guid, disable_institution_search, include_transactions, is_mobile_webview, mode, ui_message_version, ui_message_webview_url_scheme, update_credentials, widget_type].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.13.1'
14
+ VERSION = '0.13.2'
15
15
  end
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
6
6
  gemLicense: MIT
7
7
  gemName: mx-platform-ruby
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: 0.13.1
9
+ gemVersion: 0.13.2
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -1060,9 +1060,10 @@ describe 'MxPlatformApi' do
1060
1060
  # @param member_guid The unique id for a &#x60;member&#x60;.
1061
1061
  # @param user_guid The unique id for a &#x60;user&#x60;.
1062
1062
  # @param [Hash] opts the optional parameters
1063
+ # @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;.
1063
1064
  # @option opts [String] :referral_source Must be either &#x60;BROWSER&#x60; or &#x60;APP&#x60; depending on the implementation. Defaults to &#x60;BROWSER&#x60;.
1064
1065
  # @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.
1065
- # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
1066
+ # @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;.
1066
1067
  # @return [OAuthWindowResponseBody]
1067
1068
  describe 'request_o_auth_window_uri test' do
1068
1069
  it 'should work' do
@@ -25,6 +25,12 @@ describe MxPlatformRuby::ConnectWidgetRequest do
25
25
  expect(instance).to be_instance_of(MxPlatformRuby::ConnectWidgetRequest)
26
26
  end
27
27
  end
28
+ describe 'test attribute "client_redirect_url"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "color_scheme"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -85,10 +91,4 @@ describe MxPlatformRuby::ConnectWidgetRequest do
85
91
  end
86
92
  end
87
93
 
88
- describe 'test attribute "wait_for_full_aggregation"' do
89
- it 'should work' do
90
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
- end
92
- end
93
-
94
94
  end
@@ -79,6 +79,12 @@ describe MxPlatformRuby::HoldingResponse do
79
79
  end
80
80
  end
81
81
 
82
+ describe 'test attribute "holding_type_id"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
82
88
  describe 'test attribute "id"' do
83
89
  it 'should work' do
84
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -31,6 +31,12 @@ describe MxPlatformRuby::MemberCreateRequest do
31
31
  end
32
32
  end
33
33
 
34
+ describe 'test attribute "client_redirect_url"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
34
40
  describe 'test attribute "credentials"' do
35
41
  it 'should work' do
36
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -25,6 +25,12 @@ describe MxPlatformRuby::WidgetRequest do
25
25
  expect(instance).to be_instance_of(MxPlatformRuby::WidgetRequest)
26
26
  end
27
27
  end
28
+ describe 'test attribute "client_redirect_url"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
28
34
  describe 'test attribute "color_scheme"' do
29
35
  it 'should work' do
30
36
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -91,12 +97,6 @@ describe MxPlatformRuby::WidgetRequest do
91
97
  end
92
98
  end
93
99
 
94
- describe 'test attribute "wait_for_full_aggregation"' 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
100
  describe 'test attribute "widget_type"' do
101
101
  it 'should work' do
102
102
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mx-platform-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-20 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -428,112 +428,112 @@ test_files:
428
428
  - spec/api/mx_platform_api_spec.rb
429
429
  - spec/api_client_spec.rb
430
430
  - spec/configuration_spec.rb
431
- - spec/models/statement_response_spec.rb
432
- - spec/models/categories_response_body_spec.rb
433
- - spec/models/managed_transaction_create_request_spec.rb
434
- - spec/models/tagging_response_body_spec.rb
431
+ - spec/models/holding_response_spec.rb
432
+ - spec/models/holdings_response_body_spec.rb
433
+ - spec/models/category_response_body_spec.rb
434
+ - spec/models/o_auth_window_response_body_spec.rb
435
+ - spec/models/managed_member_update_request_body_spec.rb
436
+ - spec/models/transaction_update_request_body_spec.rb
437
+ - spec/models/category_create_request_spec.rb
438
+ - spec/models/user_response_body_spec.rb
439
+ - spec/models/holding_response_body_spec.rb
440
+ - spec/models/managed_member_update_request_spec.rb
435
441
  - spec/models/account_owner_response_spec.rb
436
- - spec/models/member_create_request_spec.rb
437
- - spec/models/member_status_response_spec.rb
438
- - spec/models/option_response_spec.rb
439
- - spec/models/tag_update_request_spec.rb
440
- - spec/models/account_response_spec.rb
441
- - spec/models/managed_account_create_request_spec.rb
442
- - spec/models/member_update_request_body_spec.rb
442
+ - spec/models/tag_update_request_body_spec.rb
443
+ - spec/models/members_response_body_spec.rb
443
444
  - spec/models/tag_create_request_spec.rb
444
- - spec/models/managed_account_create_request_body_spec.rb
445
- - spec/models/institution_response_spec.rb
446
- - spec/models/connect_widget_response_body_spec.rb
445
+ - spec/models/categories_response_body_spec.rb
447
446
  - spec/models/enhance_transactions_request_body_spec.rb
448
- - spec/models/connect_widget_request_spec.rb
449
- - spec/models/member_status_response_body_spec.rb
450
- - spec/models/tagging_response_spec.rb
451
- - spec/models/category_create_request_spec.rb
452
- - spec/models/merchant_response_spec.rb
453
- - spec/models/statements_response_body_spec.rb
454
- - spec/models/transaction_rule_create_request_body_spec.rb
455
- - spec/models/user_create_request_spec.rb
456
- - spec/models/account_number_response_spec.rb
457
- - spec/models/account_numbers_response_body_spec.rb
458
- - spec/models/member_create_request_body_spec.rb
459
- - spec/models/credential_request_spec.rb
460
- - spec/models/managed_member_update_request_body_spec.rb
461
447
  - spec/models/tagging_create_request_spec.rb
462
- - spec/models/taggings_response_body_spec.rb
463
- - spec/models/enhance_transactions_response_body_spec.rb
464
- - spec/models/holding_response_spec.rb
465
- - spec/models/statement_response_body_spec.rb
466
- - spec/models/category_update_request_body_spec.rb
467
- - spec/models/transaction_rule_response_body_spec.rb
468
- - spec/models/managed_account_update_request_body_spec.rb
469
- - spec/models/transaction_rule_response_spec.rb
470
- - spec/models/connect_widget_response_spec.rb
471
- - spec/models/enhance_transaction_response_spec.rb
472
- - spec/models/transaction_rule_create_request_spec.rb
473
- - spec/models/transaction_update_request_body_spec.rb
474
- - spec/models/credential_response_spec.rb
475
- - spec/models/institution_response_body_spec.rb
476
- - spec/models/members_response_body_spec.rb
477
- - spec/models/tagging_create_request_body_spec.rb
478
- - spec/models/category_response_body_spec.rb
479
- - spec/models/holdings_response_body_spec.rb
480
- - spec/models/account_response_body_spec.rb
481
- - spec/models/tag_response_body_spec.rb
482
- - spec/models/merchant_location_response_spec.rb
483
- - spec/models/merchants_response_body_spec.rb
484
- - spec/models/category_update_request_spec.rb
485
- - spec/models/managed_transaction_update_request_spec.rb
486
- - spec/models/member_response_body_spec.rb
487
- - spec/models/widget_request_body_spec.rb
488
- - spec/models/merchant_location_response_body_spec.rb
489
- - spec/models/transaction_rules_response_body_spec.rb
448
+ - spec/models/merchant_response_spec.rb
490
449
  - spec/models/account_update_request_body_spec.rb
491
- - spec/models/managed_transaction_update_request_body_spec.rb
492
- - spec/models/o_auth_window_response_spec.rb
450
+ - spec/models/category_response_spec.rb
493
451
  - spec/models/transaction_rule_update_request_body_spec.rb
494
- - spec/models/widget_response_body_spec.rb
495
- - spec/models/challenges_response_body_spec.rb
496
- - spec/models/transaction_response_spec.rb
497
- - spec/models/tag_create_request_body_spec.rb
498
- - spec/models/transactions_response_body_spec.rb
499
- - spec/models/pagination_response_spec.rb
452
+ - spec/models/member_status_response_spec.rb
500
453
  - spec/models/user_create_request_body_spec.rb
454
+ - spec/models/merchant_location_response_body_spec.rb
455
+ - spec/models/tagging_response_spec.rb
456
+ - spec/models/member_update_request_body_spec.rb
457
+ - spec/models/managed_account_create_request_spec.rb
458
+ - spec/models/connect_widget_request_body_spec.rb
459
+ - spec/models/user_update_request_spec.rb
460
+ - spec/models/tag_response_spec.rb
461
+ - spec/models/users_response_body_spec.rb
462
+ - spec/models/account_owners_response_body_spec.rb
463
+ - spec/models/managed_transaction_update_request_body_spec.rb
501
464
  - spec/models/image_option_response_spec.rb
502
- - spec/models/widget_request_spec.rb
503
- - spec/models/tagging_update_request_spec.rb
465
+ - spec/models/transaction_rule_response_body_spec.rb
466
+ - spec/models/merchant_response_body_spec.rb
467
+ - spec/models/managed_member_create_request_spec.rb
468
+ - spec/models/member_create_request_body_spec.rb
469
+ - spec/models/statement_response_spec.rb
470
+ - spec/models/tagging_response_body_spec.rb
504
471
  - spec/models/user_response_spec.rb
472
+ - spec/models/connect_widget_response_body_spec.rb
473
+ - spec/models/member_status_response_body_spec.rb
505
474
  - spec/models/managed_member_create_request_body_spec.rb
475
+ - spec/models/member_resume_request_body_spec.rb
476
+ - spec/models/enhance_transaction_response_spec.rb
477
+ - spec/models/category_update_request_body_spec.rb
478
+ - spec/models/taggings_response_body_spec.rb
479
+ - spec/models/accounts_response_body_spec.rb
480
+ - spec/models/option_response_spec.rb
481
+ - spec/models/challenge_response_spec.rb
482
+ - spec/models/widget_request_body_spec.rb
483
+ - spec/models/member_response_body_spec.rb
484
+ - spec/models/account_numbers_response_body_spec.rb
485
+ - spec/models/credential_response_spec.rb
506
486
  - spec/models/account_update_request_spec.rb
507
- - spec/models/tag_update_request_body_spec.rb
508
- - spec/models/user_update_request_body_spec.rb
509
- - spec/models/member_update_request_spec.rb
510
- - spec/models/merchant_response_body_spec.rb
487
+ - spec/models/transaction_rule_create_request_spec.rb
511
488
  - spec/models/transaction_update_request_spec.rb
512
- - spec/models/managed_account_update_request_spec.rb
513
- - spec/models/tag_response_spec.rb
514
- - spec/models/member_resume_request_spec.rb
515
- - spec/models/connect_widget_request_body_spec.rb
516
- - spec/models/widget_response_spec.rb
517
- - spec/models/member_response_spec.rb
518
- - spec/models/category_response_spec.rb
519
- - spec/models/account_owners_response_body_spec.rb
520
- - spec/models/challenge_response_spec.rb
521
- - spec/models/users_response_body_spec.rb
522
- - spec/models/user_update_request_spec.rb
489
+ - spec/models/challenges_response_body_spec.rb
490
+ - spec/models/merchant_location_response_spec.rb
491
+ - spec/models/transactions_response_body_spec.rb
492
+ - spec/models/managed_transaction_create_request_spec.rb
493
+ - spec/models/merchants_response_body_spec.rb
494
+ - spec/models/member_update_request_spec.rb
523
495
  - spec/models/managed_transaction_create_request_body_spec.rb
496
+ - spec/models/tag_update_request_spec.rb
497
+ - spec/models/managed_account_update_request_spec.rb
498
+ - spec/models/statements_response_body_spec.rb
499
+ - spec/models/transaction_rule_create_request_body_spec.rb
500
+ - spec/models/transaction_rules_response_body_spec.rb
501
+ - spec/models/credential_request_spec.rb
502
+ - spec/models/category_update_request_spec.rb
503
+ - spec/models/connect_widget_request_spec.rb
524
504
  - spec/models/category_create_request_body_spec.rb
525
- - spec/models/credentials_response_body_spec.rb
505
+ - spec/models/managed_account_create_request_body_spec.rb
506
+ - spec/models/enhance_transactions_response_body_spec.rb
507
+ - spec/models/transaction_response_spec.rb
508
+ - spec/models/pagination_response_spec.rb
526
509
  - spec/models/transaction_response_body_spec.rb
527
- - spec/models/transaction_rule_update_request_spec.rb
528
- - spec/models/holding_response_body_spec.rb
529
- - spec/models/member_resume_request_body_spec.rb
510
+ - spec/models/credentials_response_body_spec.rb
511
+ - spec/models/tag_create_request_body_spec.rb
512
+ - spec/models/widget_response_spec.rb
513
+ - spec/models/tags_response_body_spec.rb
514
+ - spec/models/statement_response_body_spec.rb
515
+ - spec/models/account_number_response_spec.rb
530
516
  - spec/models/tagging_update_request_body_spec.rb
531
- - spec/models/user_response_body_spec.rb
532
- - spec/models/o_auth_window_response_body_spec.rb
533
- - spec/models/managed_member_create_request_spec.rb
534
- - spec/models/accounts_response_body_spec.rb
535
- - spec/models/managed_member_update_request_spec.rb
517
+ - spec/models/tagging_create_request_body_spec.rb
518
+ - spec/models/o_auth_window_response_spec.rb
519
+ - spec/models/account_response_spec.rb
536
520
  - spec/models/institutions_response_body_spec.rb
521
+ - spec/models/institution_response_spec.rb
522
+ - spec/models/transaction_rule_update_request_spec.rb
523
+ - spec/models/widget_response_body_spec.rb
524
+ - spec/models/member_create_request_spec.rb
525
+ - spec/models/tag_response_body_spec.rb
526
+ - spec/models/managed_account_update_request_body_spec.rb
527
+ - spec/models/transaction_rule_response_spec.rb
528
+ - spec/models/widget_request_spec.rb
537
529
  - spec/models/enhance_transactions_request_spec.rb
538
- - spec/models/tags_response_body_spec.rb
530
+ - spec/models/user_create_request_spec.rb
531
+ - spec/models/institution_response_body_spec.rb
532
+ - spec/models/connect_widget_response_spec.rb
533
+ - spec/models/member_resume_request_spec.rb
534
+ - spec/models/account_response_body_spec.rb
535
+ - spec/models/tagging_update_request_spec.rb
536
+ - spec/models/member_response_spec.rb
537
+ - spec/models/user_update_request_body_spec.rb
538
+ - spec/models/managed_transaction_update_request_spec.rb
539
539
  - spec/spec_helper.rb