mx-platform-ruby 0.9.3 → 0.10.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/docs/MxPlatformApi.md +86 -76
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +145 -115
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/openapi/config.yml +1 -1
- data/spec/api/mx_platform_api_spec.rb +18 -13
- metadata +2 -2
    
        data/openapi/config.yml
    CHANGED
    
    
| @@ -74,8 +74,8 @@ describe 'MxPlatformApi' do | |
| 74 74 | 
             
              # unit tests for create_managed_account
         | 
| 75 75 | 
             
              # Create managed account
         | 
| 76 76 | 
             
              # Use this endpoint to create a partner-managed account.
         | 
| 77 | 
            -
              # @param user_guid The unique id for a `user`.
         | 
| 78 77 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 78 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 79 79 | 
             
              # @param managed_account_create_request_body Managed account to be created.
         | 
| 80 80 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 81 81 | 
             
              # @return [AccountResponseBody]
         | 
| @@ -101,8 +101,9 @@ describe 'MxPlatformApi' do | |
| 101 101 | 
             
              # unit tests for create_managed_transaction
         | 
| 102 102 | 
             
              # Create managed transaction
         | 
| 103 103 | 
             
              # Use this endpoint to create a new partner-managed `transaction`.
         | 
| 104 | 
            -
              # @param  | 
| 104 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 105 105 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 106 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 106 107 | 
             
              # @param managed_transaction_create_request_body Managed transaction to be created.
         | 
| 107 108 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 108 109 | 
             
              # @return [TransactionResponseBody]
         | 
| @@ -192,9 +193,9 @@ describe 'MxPlatformApi' do | |
| 192 193 | 
             
              # unit tests for delete_managed_account
         | 
| 193 194 | 
             
              # Delete managed account
         | 
| 194 195 | 
             
              # Use this endpoint to delete a partner-managed account according to its unique GUID. If successful, the API will respond with a status of `204 No Content`.
         | 
| 196 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 195 197 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 196 198 | 
             
              # @param user_guid The unique id for a `user`.
         | 
| 197 | 
            -
              # @param account_guid The unique id for an `account`.
         | 
| 198 199 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 199 200 | 
             
              # @return [nil]
         | 
| 200 201 | 
             
              describe 'delete_managed_account test' do
         | 
| @@ -219,9 +220,10 @@ describe 'MxPlatformApi' do | |
| 219 220 | 
             
              # unit tests for delete_managed_transaction
         | 
| 220 221 | 
             
              # Delete managed transaction
         | 
| 221 222 | 
             
              # Use this endpoint to delete the specified partner-managed `transaction`. The endpoint will respond with a status of `204 No Content` without a resource.
         | 
| 223 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 222 224 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 223 | 
            -
              # @param user_guid The unique id for a `user`.
         | 
| 224 225 | 
             
              # @param transaction_guid The unique id for a `transaction`.
         | 
| 226 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 225 227 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 226 228 | 
             
              # @return [nil]
         | 
| 227 229 | 
             
              describe 'delete_managed_transaction test' do
         | 
| @@ -543,8 +545,8 @@ describe 'MxPlatformApi' do | |
| 543 545 | 
             
              # unit tests for list_managed_accounts
         | 
| 544 546 | 
             
              # List managed accounts
         | 
| 545 547 | 
             
              # Use this endpoint to retrieve a list of all the partner-managed accounts associated with the given partner-manage member.
         | 
| 546 | 
            -
              # @param user_guid The unique id for a `user`.
         | 
| 547 548 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 549 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 548 550 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 549 551 | 
             
              # @option opts [Integer] :page Specify current page.
         | 
| 550 552 | 
             
              # @option opts [Integer] :records_per_page Specify records per page.
         | 
| @@ -585,8 +587,9 @@ describe 'MxPlatformApi' do | |
| 585 587 | 
             
              # unit tests for list_managed_transactions
         | 
| 586 588 | 
             
              # List managed transactions
         | 
| 587 589 | 
             
              # This endpoint returns a list of all the partner-managed transactions associated with the specified `account`, scoped through a `user` and a `member`.
         | 
| 588 | 
            -
              # @param  | 
| 590 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 589 591 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 592 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 590 593 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 591 594 | 
             
              # @option opts [Integer] :page Specify current page.
         | 
| 592 595 | 
             
              # @option opts [Integer] :records_per_page Specify records per page.
         | 
| @@ -871,9 +874,9 @@ describe 'MxPlatformApi' do | |
| 871 874 | 
             
              # unit tests for read_managed_account
         | 
| 872 875 | 
             
              # Read managed account
         | 
| 873 876 | 
             
              # Use this endpoint to read the attributes of a partner-managed account according to its unique guid.
         | 
| 877 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 874 878 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 875 879 | 
             
              # @param user_guid The unique id for a `user`.
         | 
| 876 | 
            -
              # @param account_guid The unique id for an `account`.
         | 
| 877 880 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 878 881 | 
             
              # @return [AccountResponseBody]
         | 
| 879 882 | 
             
              describe 'read_managed_account test' do
         | 
| @@ -898,9 +901,10 @@ describe 'MxPlatformApi' do | |
| 898 901 | 
             
              # unit tests for read_managed_transaction
         | 
| 899 902 | 
             
              # Read managed transaction
         | 
| 900 903 | 
             
              # Requests to this endpoint will return the attributes of the specified partner-managed `transaction`.
         | 
| 904 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 901 905 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 902 | 
            -
              # @param user_guid The unique id for a `user`.
         | 
| 903 906 | 
             
              # @param transaction_guid The unique id for a `transaction`.
         | 
| 907 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 904 908 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 905 909 | 
             
              # @return [TransactionResponseBody]
         | 
| 906 910 | 
             
              describe 'read_managed_transaction test' do
         | 
| @@ -1057,8 +1061,8 @@ describe 'MxPlatformApi' do | |
| 1057 1061 | 
             
              # @param user_guid The unique id for a `user`.
         | 
| 1058 1062 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 1059 1063 | 
             
              # @option opts [String] :referral_source Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
         | 
| 1060 | 
            -
              # @option opts [String] :ui_message_webview_url_scheme A scheme for routing the user back to the application state they were previously in.
         | 
| 1061 1064 | 
             
              # @option opts [Boolean] :skip_aggregation Setting this parameter to `true` 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.
         | 
| 1062 1066 | 
             
              # @return [OAuthWindowResponseBody]
         | 
| 1063 1067 | 
             
              describe 'request_o_auth_window_uri test' do
         | 
| 1064 1068 | 
             
                it 'should work' do
         | 
| @@ -1097,9 +1101,9 @@ describe 'MxPlatformApi' do | |
| 1097 1101 | 
             
              # unit tests for update_account_by_member
         | 
| 1098 1102 | 
             
              # Update account by member
         | 
| 1099 1103 | 
             
              # This endpoint allows you to update certain attributes of an `account` resource.
         | 
| 1100 | 
            -
              # @param user_guid The unique id for a `user`.
         | 
| 1101 | 
            -
              # @param member_guid The unique id for a `member`.
         | 
| 1102 1104 | 
             
              # @param account_guid The unique id for an `account`.
         | 
| 1105 | 
            +
              # @param member_guid The unique id for a `member`.
         | 
| 1106 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 1103 1107 | 
             
              # @param account_update_request_body Account object to be created with optional parameters (is_hidden)
         | 
| 1104 1108 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 1105 1109 | 
             
              # @return [AccountResponseBody]
         | 
| @@ -1126,9 +1130,9 @@ describe 'MxPlatformApi' do | |
| 1126 1130 | 
             
              # unit tests for update_managed_account
         | 
| 1127 1131 | 
             
              # Update managed account
         | 
| 1128 1132 | 
             
              # Use this endpoint to update the attributes of a partner-managed account according to its unique GUID.
         | 
| 1133 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 1129 1134 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 1130 1135 | 
             
              # @param user_guid The unique id for a `user`.
         | 
| 1131 | 
            -
              # @param account_guid The unique id for an `account`.
         | 
| 1132 1136 | 
             
              # @param managed_account_update_request_body Managed account object to be updated (While no single parameter is required, the request body can't be empty)
         | 
| 1133 1137 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 1134 1138 | 
             
              # @return [AccountResponseBody]
         | 
| @@ -1155,9 +1159,10 @@ describe 'MxPlatformApi' do | |
| 1155 1159 | 
             
              # unit tests for update_managed_transaction
         | 
| 1156 1160 | 
             
              # Update managed transaction
         | 
| 1157 1161 | 
             
              # Use this endpoint to update the attributes of the specified partner_managed `transaction`.
         | 
| 1162 | 
            +
              # @param account_guid The unique id for an `account`.
         | 
| 1158 1163 | 
             
              # @param member_guid The unique id for a `member`.
         | 
| 1159 | 
            -
              # @param user_guid The unique id for a `user`.
         | 
| 1160 1164 | 
             
              # @param transaction_guid The unique id for a `transaction`.
         | 
| 1165 | 
            +
              # @param user_guid The unique id for a `user`.
         | 
| 1161 1166 | 
             
              # @param managed_transaction_update_request_body Managed transaction object to be updated (While no single parameter is required, the request body can't be empty)
         | 
| 1162 1167 | 
             
              # @param [Hash] opts the optional parameters
         | 
| 1163 1168 | 
             
              # @return [TransactionResponseBody]
         | 
    
        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. | 
| 4 | 
            +
              version: 0.10.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - MX
         | 
| 8 8 | 
             
            autorequire:
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2022-02- | 
| 11 | 
            +
            date: 2022-02-10 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: faraday
         |