Skip to content

Commit 1afe1e5

Browse files
author
devexperience
committed
Generated version 0.21.0
This commit was automatically created by a GitHub Action to generate version 0.21.0 of this library.
1 parent f6e829e commit 1afe1e5

8 files changed

Lines changed: 26 additions & 3 deletions

File tree

docs/MemberCreateRequestBody.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Name | Type | Description | Notes |
66
| ---- | ---- | ----------- | ----- |
77
| **client_redirect_url** | **String** | | [optional] |
8+
| **enable_app2app** | **Boolean** | | [optional] |
89
| **member** | [**MemberCreateRequest**](MemberCreateRequest.md) | | [optional] |
910
| **referral_source** | **String** | | [optional] |
1011
| **ui_message_webview_url_scheme** | **String** | | [optional] |
@@ -16,6 +17,7 @@ require 'mx-platform-ruby'
1617

1718
instance = MxPlatformRuby::MemberCreateRequestBody.new(
1819
client_redirect_url: https://mx.com,
20+
enable_app2app: false,
1921
member: null,
2022
referral_source: APP,
2123
ui_message_webview_url_scheme: mx

docs/MxPlatformApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6374,6 +6374,7 @@ member_guid = 'MBR-7c6f361b-e582-15b6-60c0-358f12466b4b' # String | The unique i
63746374
user_guid = 'USR-fa7537f3-48aa-a683-a02a-b18940482f54' # String | The unique id for a `user`.
63756375
opts = {
63766376
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`.
6377+
enable_app2app: 'false', # String | This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
63776378
referral_source: 'APP', # String | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
63786379
skip_aggregation: false, # Boolean | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
63796380
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`.
@@ -6413,6 +6414,7 @@ end
64136414
| **member_guid** | **String** | The unique id for a `member`. | |
64146415
| **user_guid** | **String** | The unique id for a `user`. | |
64156416
| **client_redirect_url** | **String** | A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`. | [optional] |
6417+
| **enable_app2app** | **String** | This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent. | [optional] |
64166418
| **referral_source** | **String** | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`. | [optional] |
64176419
| **skip_aggregation** | **Boolean** | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional] |
64186420
| **ui_message_webview_url_scheme** | **String** | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`. | [optional] |

lib/mx-platform-ruby/api/mx_platform_api.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6030,6 +6030,7 @@ def request_connect_widget_url_with_http_info(user_guid, connect_widget_request_
60306030
# @param user_guid [String] The unique id for a `user`.
60316031
# @param [Hash] opts the optional parameters
60326032
# @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 `referral_source=APP`.
6033+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
60336034
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
60346035
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
60356036
# @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 `referral_source=APP`.
@@ -6045,6 +6046,7 @@ def request_o_auth_window_uri(member_guid, user_guid, opts = {})
60456046
# @param user_guid [String] The unique id for a `user`.
60466047
# @param [Hash] opts the optional parameters
60476048
# @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 `referral_source=APP`.
6049+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
60486050
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
60496051
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
60506052
# @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 `referral_source=APP`.
@@ -6067,6 +6069,7 @@ def request_o_auth_window_uri_with_http_info(member_guid, user_guid, opts = {})
60676069
# query parameters
60686070
query_params = opts[:query_params] || {}
60696071
query_params[:'client_redirect_url'] = opts[:'client_redirect_url'] if !opts[:'client_redirect_url'].nil?
6072+
query_params[:'enable_app2app'] = opts[:'enable_app2app'] if !opts[:'enable_app2app'].nil?
60706073
query_params[:'referral_source'] = opts[:'referral_source'] if !opts[:'referral_source'].nil?
60716074
query_params[:'skip_aggregation'] = opts[:'skip_aggregation'] if !opts[:'skip_aggregation'].nil?
60726075
query_params[:'ui_message_webview_url_scheme'] = opts[:'ui_message_webview_url_scheme'] if !opts[:'ui_message_webview_url_scheme'].nil?

lib/mx-platform-ruby/models/member_create_request_body.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module MxPlatformRuby
1717
class MemberCreateRequestBody
1818
attr_accessor :client_redirect_url
1919

20+
attr_accessor :enable_app2app
21+
2022
attr_accessor :member
2123

2224
attr_accessor :referral_source
@@ -27,6 +29,7 @@ class MemberCreateRequestBody
2729
def self.attribute_map
2830
{
2931
:'client_redirect_url' => :'client_redirect_url',
32+
:'enable_app2app' => :'enable_app2app',
3033
:'member' => :'member',
3134
:'referral_source' => :'referral_source',
3235
:'ui_message_webview_url_scheme' => :'ui_message_webview_url_scheme'
@@ -42,6 +45,7 @@ def self.acceptable_attributes
4245
def self.openapi_types
4346
{
4447
:'client_redirect_url' => :'String',
48+
:'enable_app2app' => :'Boolean',
4549
:'member' => :'MemberCreateRequest',
4650
:'referral_source' => :'String',
4751
:'ui_message_webview_url_scheme' => :'String'
@@ -73,6 +77,10 @@ def initialize(attributes = {})
7377
self.client_redirect_url = attributes[:'client_redirect_url']
7478
end
7579

80+
if attributes.key?(:'enable_app2app')
81+
self.enable_app2app = attributes[:'enable_app2app']
82+
end
83+
7684
if attributes.key?(:'member')
7785
self.member = attributes[:'member']
7886
end
@@ -105,6 +113,7 @@ def ==(o)
105113
return true if self.equal?(o)
106114
self.class == o.class &&
107115
client_redirect_url == o.client_redirect_url &&
116+
enable_app2app == o.enable_app2app &&
108117
member == o.member &&
109118
referral_source == o.referral_source &&
110119
ui_message_webview_url_scheme == o.ui_message_webview_url_scheme
@@ -119,7 +128,7 @@ def eql?(o)
119128
# Calculates hash code according to all attributes.
120129
# @return [Integer] Hash code
121130
def hash
122-
[client_redirect_url, member, referral_source, ui_message_webview_url_scheme].hash
131+
[client_redirect_url, enable_app2app, member, referral_source, ui_message_webview_url_scheme].hash
123132
end
124133

125134
# Builds the object from hash

lib/mx-platform-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module MxPlatformRuby
14-
VERSION = '0.20.0'
14+
VERSION = '0.21.0'
1515
end

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
66
gemLicense: MIT
77
gemName: mx-platform-ruby
88
gemRequiredRubyVersion: ">= 2.6"
9-
gemVersion: 0.20.0
9+
gemVersion: 0.21.0
1010
library: faraday
1111
moduleName: MxPlatformRuby

spec/api/mx_platform_api_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,7 @@
12021202
# @param user_guid The unique id for a `user`.
12031203
# @param [Hash] opts the optional parameters
12041204
# @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 `referral_source=APP`.
1205+
# @option opts [String] :enable_app2app This indicates whether OAuth app2app behavior is enabled for institutions that support it. Defaults to `true`. This setting is not persistent.
12051206
# @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
12061207
# @option opts [Boolean] :skip_aggregation Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
12071208
# @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 `referral_source=APP`.

spec/models/member_create_request_body_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
end
3232
end
3333

34+
describe 'test attribute "enable_app2app"' 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+
3440
describe 'test attribute "member"' do
3541
it 'should work' do
3642
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers

0 commit comments

Comments
 (0)