mx-platform-ruby 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/docs/MxPlatformApi.md +0 -213
  4. data/lib/mx-platform-ruby/api/mx_platform_api.rb +0 -188
  5. data/lib/mx-platform-ruby/configuration.rb +0 -7
  6. data/lib/mx-platform-ruby/version.rb +1 -1
  7. data/lib/mx-platform-ruby.rb +0 -7
  8. data/openapi/config.yml +1 -1
  9. data/spec/api/mx_platform_api_spec.rb +0 -36
  10. metadata +2 -30
  11. data/docs/PartnerAccountResponse.md +0 -30
  12. data/docs/PartnerAccountResponseBody.md +0 -18
  13. data/docs/PartnerAuthorizationCodeRequest.md +0 -22
  14. data/docs/PartnerAuthorizationCodeRequestBody.md +0 -18
  15. data/docs/PartnerAuthorizationCodeResponse.md +0 -18
  16. data/docs/PartnerAuthorizationCodeResponseBody.md +0 -18
  17. data/docs/PartnerTokenResponseBody.md +0 -22
  18. data/lib/mx-platform-ruby/models/partner_account_response.rb +0 -279
  19. data/lib/mx-platform-ruby/models/partner_account_response_body.rb +0 -218
  20. data/lib/mx-platform-ruby/models/partner_authorization_code_request.rb +0 -236
  21. data/lib/mx-platform-ruby/models/partner_authorization_code_request_body.rb +0 -218
  22. data/lib/mx-platform-ruby/models/partner_authorization_code_response.rb +0 -219
  23. data/lib/mx-platform-ruby/models/partner_authorization_code_response_body.rb +0 -218
  24. data/lib/mx-platform-ruby/models/partner_token_response_body.rb +0 -239
  25. data/spec/models/partner_account_response_body_spec.rb +0 -34
  26. data/spec/models/partner_account_response_spec.rb +0 -70
  27. data/spec/models/partner_authorization_code_request_body_spec.rb +0 -34
  28. data/spec/models/partner_authorization_code_request_spec.rb +0 -46
  29. data/spec/models/partner_authorization_code_response_body_spec.rb +0 -34
  30. data/spec/models/partner_authorization_code_response_spec.rb +0 -34
  31. data/spec/models/partner_token_response_body_spec.rb +0 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab1410816217c5640a8be2c03f446b82f6d6a7c16b763dea4ccc6fd799159a4d
4
- data.tar.gz: 46f442533a80fb1dd5b493165ca8c19b7aa14098f6c0b6e0fb3502f202fbf86e
3
+ metadata.gz: c8c9932d47164f5ba0a55313c8d04533a49b040918a36460d63629c4a26b7424
4
+ data.tar.gz: ac563753cd386527fd40e80eff1befb8c770a7d2181767eaa5e52ac33b6da5c6
5
5
  SHA512:
6
- metadata.gz: 9aa1bdc51335fc40aec94e32b1e3c4997d97ad8d8a0959d70a0ae03d167dd822dad08befc47f79e91effa63e8982fb98e0d68d64c11af3f4b4aeada263717c06
7
- data.tar.gz: ced2787f5809d0dada6503a97c4147517c7a086c47c217d50a4cdd7846d1c1c5466c2e0c53c4a52fd5a675166688c610a9e318031e5a77be435473f459fec448
6
+ metadata.gz: e9e7ae19dcfd2e11b86ee0e0978f01a5abd725c4dd7e490656654b1b50f976d51b268804ee0bd1d874e9cd4106053de0394965b4c99d1612faa6f252cdef081c
7
+ data.tar.gz: a4f7f005328b79f0206b8038f562a1b71d01a56ff3a943544f3c37f2c5b93bb89fa2c41d2a83a7189ca5bd3d47bc417b4e7cc377c69e00c5ec75b34f450cbe65
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.12.0)
4
+ mx-platform-ruby (0.13.0)
5
5
  faraday (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -79,9 +79,6 @@ All URIs are relative to *https://api.mx.com*
79
79
  | [**read_user**](MxPlatformApi.md#read_user) | **GET** /users/{user_guid} | Read user |
80
80
  | [**request_connect_widget_url**](MxPlatformApi.md#request_connect_widget_url) | **POST** /users/{user_guid}/connect_widget_url | Request connect widget url |
81
81
  | [**request_o_auth_window_uri**](MxPlatformApi.md#request_o_auth_window_uri) | **GET** /users/{user_guid}/members/{member_guid}/oauth_window_uri | Request oauth window uri |
82
- | [**request_partner_account**](MxPlatformApi.md#request_partner_account) | **GET** /partner_account | Request partner account |
83
- | [**request_partner_authorization_code**](MxPlatformApi.md#request_partner_authorization_code) | **POST** /partner_authorization_code | Request partner authorization code |
84
- | [**request_partner_token**](MxPlatformApi.md#request_partner_token) | **POST** /partner_token | Request partner token |
85
82
  | [**request_widget_url**](MxPlatformApi.md#request_widget_url) | **POST** /users/{user_guid}/widget_urls | Request widget url |
86
83
  | [**resume_aggregation**](MxPlatformApi.md#resume_aggregation) | **PUT** /users/{user_guid}/members/{member_guid}/resume | Resume aggregation |
87
84
  | [**update_account_by_member**](MxPlatformApi.md#update_account_by_member) | **PUT** /users/{user_guid}/members/{member_guid}/accounts/{account_guid} | Update account by member |
@@ -5677,216 +5674,6 @@ end
5677
5674
  - **Accept**: application/vnd.mx.api.v1+json
5678
5675
 
5679
5676
 
5680
- ## request_partner_account
5681
-
5682
- > <PartnerAccountResponseBody> request_partner_account
5683
-
5684
- Request partner account
5685
-
5686
- Use this endpoint to request a partner account.
5687
-
5688
- ### Examples
5689
-
5690
- ```ruby
5691
- require 'time'
5692
- require 'mx-platform-ruby'
5693
- # setup authorization
5694
- MxPlatformRuby.configure do |config|
5695
- # Configure Bearer authorization: bearerAuth
5696
- config.access_token = 'YOUR_BEARER_TOKEN'
5697
- end
5698
-
5699
- api_instance = MxPlatformRuby::MxPlatformApi.new
5700
-
5701
- begin
5702
- # Request partner account
5703
- result = api_instance.request_partner_account
5704
- p result
5705
- rescue MxPlatformRuby::ApiError => e
5706
- puts "Error when calling MxPlatformApi->request_partner_account: #{e}"
5707
- end
5708
- ```
5709
-
5710
- #### Using the request_partner_account_with_http_info variant
5711
-
5712
- This returns an Array which contains the response data, status code and headers.
5713
-
5714
- > <Array(<PartnerAccountResponseBody>, Integer, Hash)> request_partner_account_with_http_info
5715
-
5716
- ```ruby
5717
- begin
5718
- # Request partner account
5719
- data, status_code, headers = api_instance.request_partner_account_with_http_info
5720
- p status_code # => 2xx
5721
- p headers # => { ... }
5722
- p data # => <PartnerAccountResponseBody>
5723
- rescue MxPlatformRuby::ApiError => e
5724
- puts "Error when calling MxPlatformApi->request_partner_account_with_http_info: #{e}"
5725
- end
5726
- ```
5727
-
5728
- ### Parameters
5729
-
5730
- This endpoint does not need any parameter.
5731
-
5732
- ### Return type
5733
-
5734
- [**PartnerAccountResponseBody**](PartnerAccountResponseBody.md)
5735
-
5736
- ### Authorization
5737
-
5738
- [bearerAuth](../README.md#bearerAuth)
5739
-
5740
- ### HTTP request headers
5741
-
5742
- - **Content-Type**: Not defined
5743
- - **Accept**: application/vnd.mx.api.v1+json
5744
-
5745
-
5746
- ## request_partner_authorization_code
5747
-
5748
- > <PartnerAuthorizationCodeResponseBody> request_partner_authorization_code(partner_authorization_code_request_body)
5749
-
5750
- Request partner authorization code
5751
-
5752
- Use this endpoint to request a partner authorization code.
5753
-
5754
- ### Examples
5755
-
5756
- ```ruby
5757
- require 'time'
5758
- require 'mx-platform-ruby'
5759
- # setup authorization
5760
- MxPlatformRuby.configure do |config|
5761
- # Configure HTTP basic authorization: basicAuth
5762
- config.username = 'YOUR USERNAME'
5763
- config.password = 'YOUR PASSWORD'
5764
- end
5765
-
5766
- api_instance = MxPlatformRuby::MxPlatformApi.new
5767
- partner_authorization_code_request_body = MxPlatformRuby::PartnerAuthorizationCodeRequestBody.new # PartnerAuthorizationCodeRequestBody | Partner authorization code object containing account_guid, member_guid, and user_guid.
5768
-
5769
- begin
5770
- # Request partner authorization code
5771
- result = api_instance.request_partner_authorization_code(partner_authorization_code_request_body)
5772
- p result
5773
- rescue MxPlatformRuby::ApiError => e
5774
- puts "Error when calling MxPlatformApi->request_partner_authorization_code: #{e}"
5775
- end
5776
- ```
5777
-
5778
- #### Using the request_partner_authorization_code_with_http_info variant
5779
-
5780
- This returns an Array which contains the response data, status code and headers.
5781
-
5782
- > <Array(<PartnerAuthorizationCodeResponseBody>, Integer, Hash)> request_partner_authorization_code_with_http_info(partner_authorization_code_request_body)
5783
-
5784
- ```ruby
5785
- begin
5786
- # Request partner authorization code
5787
- data, status_code, headers = api_instance.request_partner_authorization_code_with_http_info(partner_authorization_code_request_body)
5788
- p status_code # => 2xx
5789
- p headers # => { ... }
5790
- p data # => <PartnerAuthorizationCodeResponseBody>
5791
- rescue MxPlatformRuby::ApiError => e
5792
- puts "Error when calling MxPlatformApi->request_partner_authorization_code_with_http_info: #{e}"
5793
- end
5794
- ```
5795
-
5796
- ### Parameters
5797
-
5798
- | Name | Type | Description | Notes |
5799
- | ---- | ---- | ----------- | ----- |
5800
- | **partner_authorization_code_request_body** | [**PartnerAuthorizationCodeRequestBody**](PartnerAuthorizationCodeRequestBody.md) | Partner authorization code object containing account_guid, member_guid, and user_guid. | |
5801
-
5802
- ### Return type
5803
-
5804
- [**PartnerAuthorizationCodeResponseBody**](PartnerAuthorizationCodeResponseBody.md)
5805
-
5806
- ### Authorization
5807
-
5808
- [basicAuth](../README.md#basicAuth)
5809
-
5810
- ### HTTP request headers
5811
-
5812
- - **Content-Type**: application/json
5813
- - **Accept**: application/vnd.mx.api.v1+json
5814
-
5815
-
5816
- ## request_partner_token
5817
-
5818
- > <PartnerTokenResponseBody> request_partner_token(opts)
5819
-
5820
- Request partner token
5821
-
5822
- Use this endpoint to request a partner token.
5823
-
5824
- ### Examples
5825
-
5826
- ```ruby
5827
- require 'time'
5828
- require 'mx-platform-ruby'
5829
- # setup authorization
5830
- MxPlatformRuby.configure do |config|
5831
- # Configure HTTP basic authorization: basicAuth
5832
- config.username = 'YOUR USERNAME'
5833
- config.password = 'YOUR PASSWORD'
5834
- end
5835
-
5836
- api_instance = MxPlatformRuby::MxPlatformApi.new
5837
- opts = {
5838
- code: 'sN3Ffd1nJg_iwEMuxcEo2Z5taC0RvMilfvYKsnM2XGM', # String | Code to request partner token.
5839
- grant_type: 'authorization_code' # String | Specify grant type.
5840
- }
5841
-
5842
- begin
5843
- # Request partner token
5844
- result = api_instance.request_partner_token(opts)
5845
- p result
5846
- rescue MxPlatformRuby::ApiError => e
5847
- puts "Error when calling MxPlatformApi->request_partner_token: #{e}"
5848
- end
5849
- ```
5850
-
5851
- #### Using the request_partner_token_with_http_info variant
5852
-
5853
- This returns an Array which contains the response data, status code and headers.
5854
-
5855
- > <Array(<PartnerTokenResponseBody>, Integer, Hash)> request_partner_token_with_http_info(opts)
5856
-
5857
- ```ruby
5858
- begin
5859
- # Request partner token
5860
- data, status_code, headers = api_instance.request_partner_token_with_http_info(opts)
5861
- p status_code # => 2xx
5862
- p headers # => { ... }
5863
- p data # => <PartnerTokenResponseBody>
5864
- rescue MxPlatformRuby::ApiError => e
5865
- puts "Error when calling MxPlatformApi->request_partner_token_with_http_info: #{e}"
5866
- end
5867
- ```
5868
-
5869
- ### Parameters
5870
-
5871
- | Name | Type | Description | Notes |
5872
- | ---- | ---- | ----------- | ----- |
5873
- | **code** | **String** | Code to request partner token. | [optional] |
5874
- | **grant_type** | **String** | Specify grant type. | [optional] |
5875
-
5876
- ### Return type
5877
-
5878
- [**PartnerTokenResponseBody**](PartnerTokenResponseBody.md)
5879
-
5880
- ### Authorization
5881
-
5882
- [basicAuth](../README.md#basicAuth)
5883
-
5884
- ### HTTP request headers
5885
-
5886
- - **Content-Type**: Not defined
5887
- - **Accept**: application/vnd.mx.api.v1+json
5888
-
5889
-
5890
5677
  ## request_widget_url
5891
5678
 
5892
5679
  > <WidgetResponseBody> request_widget_url(user_guid, widget_request_body, opts)
@@ -5363,194 +5363,6 @@ module MxPlatformRuby
5363
5363
  return data, status_code, headers
5364
5364
  end
5365
5365
 
5366
- # Request partner account
5367
- # Use this endpoint to request a partner account.
5368
- # @param [Hash] opts the optional parameters
5369
- # @return [PartnerAccountResponseBody]
5370
- def request_partner_account(opts = {})
5371
- data, _status_code, _headers = request_partner_account_with_http_info(opts)
5372
- data
5373
- end
5374
-
5375
- # Request partner account
5376
- # Use this endpoint to request a partner account.
5377
- # @param [Hash] opts the optional parameters
5378
- # @return [Array<(PartnerAccountResponseBody, Integer, Hash)>] PartnerAccountResponseBody data, response status code and response headers
5379
- def request_partner_account_with_http_info(opts = {})
5380
- if @api_client.config.debugging
5381
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.request_partner_account ...'
5382
- end
5383
- # resource path
5384
- local_var_path = '/partner_account'
5385
-
5386
- # query parameters
5387
- query_params = opts[:query_params] || {}
5388
-
5389
- # header parameters
5390
- header_params = opts[:header_params] || {}
5391
- # HTTP header 'Accept' (if needed)
5392
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
5393
-
5394
- # form parameters
5395
- form_params = opts[:form_params] || {}
5396
-
5397
- # http body (model)
5398
- post_body = opts[:debug_body]
5399
-
5400
- # return_type
5401
- return_type = opts[:debug_return_type] || 'PartnerAccountResponseBody'
5402
-
5403
- # auth_names
5404
- auth_names = opts[:debug_auth_names] || ['bearerAuth']
5405
-
5406
- new_options = opts.merge(
5407
- :operation => :"MxPlatformApi.request_partner_account",
5408
- :header_params => header_params,
5409
- :query_params => query_params,
5410
- :form_params => form_params,
5411
- :body => post_body,
5412
- :auth_names => auth_names,
5413
- :return_type => return_type
5414
- )
5415
-
5416
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
5417
- if @api_client.config.debugging
5418
- @api_client.config.logger.debug "API called: MxPlatformApi#request_partner_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5419
- end
5420
- return data, status_code, headers
5421
- end
5422
-
5423
- # Request partner authorization code
5424
- # Use this endpoint to request a partner authorization code.
5425
- # @param partner_authorization_code_request_body [PartnerAuthorizationCodeRequestBody] Partner authorization code object containing account_guid, member_guid, and user_guid.
5426
- # @param [Hash] opts the optional parameters
5427
- # @return [PartnerAuthorizationCodeResponseBody]
5428
- def request_partner_authorization_code(partner_authorization_code_request_body, opts = {})
5429
- data, _status_code, _headers = request_partner_authorization_code_with_http_info(partner_authorization_code_request_body, opts)
5430
- data
5431
- end
5432
-
5433
- # Request partner authorization code
5434
- # Use this endpoint to request a partner authorization code.
5435
- # @param partner_authorization_code_request_body [PartnerAuthorizationCodeRequestBody] Partner authorization code object containing account_guid, member_guid, and user_guid.
5436
- # @param [Hash] opts the optional parameters
5437
- # @return [Array<(PartnerAuthorizationCodeResponseBody, Integer, Hash)>] PartnerAuthorizationCodeResponseBody data, response status code and response headers
5438
- def request_partner_authorization_code_with_http_info(partner_authorization_code_request_body, opts = {})
5439
- if @api_client.config.debugging
5440
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.request_partner_authorization_code ...'
5441
- end
5442
- # verify the required parameter 'partner_authorization_code_request_body' is set
5443
- if @api_client.config.client_side_validation && partner_authorization_code_request_body.nil?
5444
- fail ArgumentError, "Missing the required parameter 'partner_authorization_code_request_body' when calling MxPlatformApi.request_partner_authorization_code"
5445
- end
5446
- # resource path
5447
- local_var_path = '/partner_authorization_code'
5448
-
5449
- # query parameters
5450
- query_params = opts[:query_params] || {}
5451
-
5452
- # header parameters
5453
- header_params = opts[:header_params] || {}
5454
- # HTTP header 'Accept' (if needed)
5455
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
5456
- # HTTP header 'Content-Type'
5457
- content_type = @api_client.select_header_content_type(['application/json'])
5458
- if !content_type.nil?
5459
- header_params['Content-Type'] = content_type
5460
- end
5461
-
5462
- # form parameters
5463
- form_params = opts[:form_params] || {}
5464
-
5465
- # http body (model)
5466
- post_body = opts[:debug_body] || @api_client.object_to_http_body(partner_authorization_code_request_body)
5467
-
5468
- # return_type
5469
- return_type = opts[:debug_return_type] || 'PartnerAuthorizationCodeResponseBody'
5470
-
5471
- # auth_names
5472
- auth_names = opts[:debug_auth_names] || ['basicAuth']
5473
-
5474
- new_options = opts.merge(
5475
- :operation => :"MxPlatformApi.request_partner_authorization_code",
5476
- :header_params => header_params,
5477
- :query_params => query_params,
5478
- :form_params => form_params,
5479
- :body => post_body,
5480
- :auth_names => auth_names,
5481
- :return_type => return_type
5482
- )
5483
-
5484
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
5485
- if @api_client.config.debugging
5486
- @api_client.config.logger.debug "API called: MxPlatformApi#request_partner_authorization_code\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5487
- end
5488
- return data, status_code, headers
5489
- end
5490
-
5491
- # Request partner token
5492
- # Use this endpoint to request a partner token.
5493
- # @param [Hash] opts the optional parameters
5494
- # @option opts [String] :code Code to request partner token.
5495
- # @option opts [String] :grant_type Specify grant type.
5496
- # @return [PartnerTokenResponseBody]
5497
- def request_partner_token(opts = {})
5498
- data, _status_code, _headers = request_partner_token_with_http_info(opts)
5499
- data
5500
- end
5501
-
5502
- # Request partner token
5503
- # Use this endpoint to request a partner token.
5504
- # @param [Hash] opts the optional parameters
5505
- # @option opts [String] :code Code to request partner token.
5506
- # @option opts [String] :grant_type Specify grant type.
5507
- # @return [Array<(PartnerTokenResponseBody, Integer, Hash)>] PartnerTokenResponseBody data, response status code and response headers
5508
- def request_partner_token_with_http_info(opts = {})
5509
- if @api_client.config.debugging
5510
- @api_client.config.logger.debug 'Calling API: MxPlatformApi.request_partner_token ...'
5511
- end
5512
- # resource path
5513
- local_var_path = '/partner_token'
5514
-
5515
- # query parameters
5516
- query_params = opts[:query_params] || {}
5517
- query_params[:'code'] = opts[:'code'] if !opts[:'code'].nil?
5518
- query_params[:'grant_type'] = opts[:'grant_type'] if !opts[:'grant_type'].nil?
5519
-
5520
- # header parameters
5521
- header_params = opts[:header_params] || {}
5522
- # HTTP header 'Accept' (if needed)
5523
- header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json'])
5524
-
5525
- # form parameters
5526
- form_params = opts[:form_params] || {}
5527
-
5528
- # http body (model)
5529
- post_body = opts[:debug_body]
5530
-
5531
- # return_type
5532
- return_type = opts[:debug_return_type] || 'PartnerTokenResponseBody'
5533
-
5534
- # auth_names
5535
- auth_names = opts[:debug_auth_names] || ['basicAuth']
5536
-
5537
- new_options = opts.merge(
5538
- :operation => :"MxPlatformApi.request_partner_token",
5539
- :header_params => header_params,
5540
- :query_params => query_params,
5541
- :form_params => form_params,
5542
- :body => post_body,
5543
- :auth_names => auth_names,
5544
- :return_type => return_type
5545
- )
5546
-
5547
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
5548
- if @api_client.config.debugging
5549
- @api_client.config.logger.debug "API called: MxPlatformApi#request_partner_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5550
- end
5551
- return data, status_code, headers
5552
- end
5553
-
5554
5366
  # Request widget url
5555
5367
  # This endpoint allows partners to get a URL by passing the `widget_type` in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the `widget_type` to `connect_widget`. Partners may also pass an optional `Accept-Language` header as well as a number of configuration options. Note that this is a `POST` request.
5556
5368
  # @param user_guid [String] The unique id for a &#x60;user&#x60;.
@@ -220,13 +220,6 @@ module MxPlatformRuby
220
220
  key: 'Authorization',
221
221
  value: basic_auth_token
222
222
  },
223
- 'bearerAuth' =>
224
- {
225
- type: 'bearer',
226
- in: 'header',
227
- key: 'Authorization',
228
- value: "Bearer #{access_token}"
229
- },
230
223
  }
231
224
  end
232
225
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.12.0'
14
+ VERSION = '0.13.0'
15
15
  end
@@ -85,13 +85,6 @@ require 'mx-platform-ruby/models/o_auth_window_response'
85
85
  require 'mx-platform-ruby/models/o_auth_window_response_body'
86
86
  require 'mx-platform-ruby/models/option_response'
87
87
  require 'mx-platform-ruby/models/pagination_response'
88
- require 'mx-platform-ruby/models/partner_account_response'
89
- require 'mx-platform-ruby/models/partner_account_response_body'
90
- require 'mx-platform-ruby/models/partner_authorization_code_request'
91
- require 'mx-platform-ruby/models/partner_authorization_code_request_body'
92
- require 'mx-platform-ruby/models/partner_authorization_code_response'
93
- require 'mx-platform-ruby/models/partner_authorization_code_response_body'
94
- require 'mx-platform-ruby/models/partner_token_response_body'
95
88
  require 'mx-platform-ruby/models/statement_response'
96
89
  require 'mx-platform-ruby/models/statement_response_body'
97
90
  require 'mx-platform-ruby/models/statements_response_body'
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.12.0
9
+ gemVersion: 0.13.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -1070,42 +1070,6 @@ describe 'MxPlatformApi' do
1070
1070
  end
1071
1071
  end
1072
1072
 
1073
- # unit tests for request_partner_account
1074
- # Request partner account
1075
- # Use this endpoint to request a partner account.
1076
- # @param [Hash] opts the optional parameters
1077
- # @return [PartnerAccountResponseBody]
1078
- describe 'request_partner_account test' do
1079
- it 'should work' do
1080
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1081
- end
1082
- end
1083
-
1084
- # unit tests for request_partner_authorization_code
1085
- # Request partner authorization code
1086
- # Use this endpoint to request a partner authorization code.
1087
- # @param partner_authorization_code_request_body Partner authorization code object containing account_guid, member_guid, and user_guid.
1088
- # @param [Hash] opts the optional parameters
1089
- # @return [PartnerAuthorizationCodeResponseBody]
1090
- describe 'request_partner_authorization_code test' do
1091
- it 'should work' do
1092
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1093
- end
1094
- end
1095
-
1096
- # unit tests for request_partner_token
1097
- # Request partner token
1098
- # Use this endpoint to request a partner token.
1099
- # @param [Hash] opts the optional parameters
1100
- # @option opts [String] :code Code to request partner token.
1101
- # @option opts [String] :grant_type Specify grant type.
1102
- # @return [PartnerTokenResponseBody]
1103
- describe 'request_partner_token test' do
1104
- it 'should work' do
1105
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1106
- end
1107
- end
1108
-
1109
1073
  # unit tests for request_widget_url
1110
1074
  # Request widget url
1111
1075
  # This endpoint allows partners to get a URL by passing the &#x60;widget_type&#x60; in the request body, as well as configuring it in several different ways. In the case of Connect, that means setting the &#x60;widget_type&#x60; to &#x60;connect_widget&#x60;. Partners may also pass an optional &#x60;Accept-Language&#x60; header as well as a number of configuration options. Note that this is a &#x60;POST&#x60; request.
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.12.0
4
+ version: 0.13.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-04-12 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -131,13 +131,6 @@ files:
131
131
  - docs/OAuthWindowResponseBody.md
132
132
  - docs/OptionResponse.md
133
133
  - docs/PaginationResponse.md
134
- - docs/PartnerAccountResponse.md
135
- - docs/PartnerAccountResponseBody.md
136
- - docs/PartnerAuthorizationCodeRequest.md
137
- - docs/PartnerAuthorizationCodeRequestBody.md
138
- - docs/PartnerAuthorizationCodeResponse.md
139
- - docs/PartnerAuthorizationCodeResponseBody.md
140
- - docs/PartnerTokenResponseBody.md
141
134
  - docs/StatementResponse.md
142
135
  - docs/StatementResponseBody.md
143
136
  - docs/StatementsResponseBody.md
@@ -251,13 +244,6 @@ files:
251
244
  - lib/mx-platform-ruby/models/o_auth_window_response_body.rb
252
245
  - lib/mx-platform-ruby/models/option_response.rb
253
246
  - lib/mx-platform-ruby/models/pagination_response.rb
254
- - lib/mx-platform-ruby/models/partner_account_response.rb
255
- - lib/mx-platform-ruby/models/partner_account_response_body.rb
256
- - lib/mx-platform-ruby/models/partner_authorization_code_request.rb
257
- - lib/mx-platform-ruby/models/partner_authorization_code_request_body.rb
258
- - lib/mx-platform-ruby/models/partner_authorization_code_response.rb
259
- - lib/mx-platform-ruby/models/partner_authorization_code_response_body.rb
260
- - lib/mx-platform-ruby/models/partner_token_response_body.rb
261
247
  - lib/mx-platform-ruby/models/statement_response.rb
262
248
  - lib/mx-platform-ruby/models/statement_response_body.rb
263
249
  - lib/mx-platform-ruby/models/statements_response_body.rb
@@ -374,13 +360,6 @@ files:
374
360
  - spec/models/o_auth_window_response_spec.rb
375
361
  - spec/models/option_response_spec.rb
376
362
  - spec/models/pagination_response_spec.rb
377
- - spec/models/partner_account_response_body_spec.rb
378
- - spec/models/partner_account_response_spec.rb
379
- - spec/models/partner_authorization_code_request_body_spec.rb
380
- - spec/models/partner_authorization_code_request_spec.rb
381
- - spec/models/partner_authorization_code_response_body_spec.rb
382
- - spec/models/partner_authorization_code_response_spec.rb
383
- - spec/models/partner_token_response_body_spec.rb
384
363
  - spec/models/statement_response_body_spec.rb
385
364
  - spec/models/statement_response_spec.rb
386
365
  - spec/models/statements_response_body_spec.rb
@@ -465,12 +444,10 @@ test_files:
465
444
  - spec/models/managed_account_create_request_body_spec.rb
466
445
  - spec/models/institution_response_spec.rb
467
446
  - spec/models/connect_widget_response_body_spec.rb
468
- - spec/models/partner_token_response_body_spec.rb
469
447
  - spec/models/enhance_transactions_request_body_spec.rb
470
448
  - spec/models/connect_widget_request_spec.rb
471
449
  - spec/models/member_status_response_body_spec.rb
472
450
  - spec/models/tagging_response_spec.rb
473
- - spec/models/partner_authorization_code_response_body_spec.rb
474
451
  - spec/models/category_create_request_spec.rb
475
452
  - spec/models/merchant_response_spec.rb
476
453
  - spec/models/statements_response_body_spec.rb
@@ -482,8 +459,6 @@ test_files:
482
459
  - spec/models/credential_request_spec.rb
483
460
  - spec/models/managed_member_update_request_body_spec.rb
484
461
  - spec/models/tagging_create_request_spec.rb
485
- - spec/models/partner_authorization_code_response_spec.rb
486
- - spec/models/partner_account_response_body_spec.rb
487
462
  - spec/models/taggings_response_body_spec.rb
488
463
  - spec/models/enhance_transactions_response_body_spec.rb
489
464
  - spec/models/holding_response_spec.rb
@@ -503,7 +478,6 @@ test_files:
503
478
  - spec/models/category_response_body_spec.rb
504
479
  - spec/models/holdings_response_body_spec.rb
505
480
  - spec/models/account_response_body_spec.rb
506
- - spec/models/partner_authorization_code_request_body_spec.rb
507
481
  - spec/models/tag_response_body_spec.rb
508
482
  - spec/models/merchant_location_response_spec.rb
509
483
  - spec/models/merchants_response_body_spec.rb
@@ -515,7 +489,6 @@ test_files:
515
489
  - spec/models/transaction_rules_response_body_spec.rb
516
490
  - spec/models/account_update_request_body_spec.rb
517
491
  - spec/models/managed_transaction_update_request_body_spec.rb
518
- - spec/models/partner_account_response_spec.rb
519
492
  - spec/models/o_auth_window_response_spec.rb
520
493
  - spec/models/transaction_rule_update_request_body_spec.rb
521
494
  - spec/models/widget_response_body_spec.rb
@@ -552,7 +525,6 @@ test_files:
552
525
  - spec/models/credentials_response_body_spec.rb
553
526
  - spec/models/transaction_response_body_spec.rb
554
527
  - spec/models/transaction_rule_update_request_spec.rb
555
- - spec/models/partner_authorization_code_request_spec.rb
556
528
  - spec/models/holding_response_body_spec.rb
557
529
  - spec/models/member_resume_request_body_spec.rb
558
530
  - spec/models/tagging_update_request_body_spec.rb
@@ -1,30 +0,0 @@
1
- # MxPlatformRuby::PartnerAccountResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_name** | **String** | | [optional] |
8
- | **account_number** | **String** | | [optional] |
9
- | **account_type** | **String** | | [optional] |
10
- | **available_balance** | **Float** | | [optional] |
11
- | **balance** | **Float** | | [optional] |
12
- | **routing_number** | **String** | | [optional] |
13
- | **transit_number** | **String** | | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'mx-platform-ruby'
19
-
20
- instance = MxPlatformRuby::PartnerAccountResponse.new(
21
- account_name: My Savings,
22
- account_number: 1858091489,
23
- account_type: SAVINGS,
24
- available_balance: 1000.0,
25
- balance: 1000.0,
26
- routing_number: 68899990000000,
27
- transit_number: 12345
28
- )
29
- ```
30
-