mx-platform-ruby 1.10.1 → 1.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c51628b2fafeea5399b5646a72bed902cd8c862041a3961308a6e73d646690ec
4
- data.tar.gz: f90f70b747b25c75437a14f4f41cec0be53c9358cc4475f136adf54314e272c4
3
+ metadata.gz: d5928c0f465d91735d6fa51ce0769a85ee59c1e9192ab69ff71001696f1182a7
4
+ data.tar.gz: e6da79d2a395297a410dd939caa341ce56d084e0729eaa313ec4c066c05affc5
5
5
  SHA512:
6
- metadata.gz: e8f2ff4fbe3c16ac7b63facd6c6fe3d7ed325aaa99b258ea27a7c8a4f3a65b7d27e8d63e39be15b0731c30ae7fad1f6a2f4d0c6f5af19f44a5ee00d71d121120
7
- data.tar.gz: 71d515c50f80c884ac9931ad23e73083610ef276a7a7b2df0cc413d4c72b7c8242982da27304c84c3f692318981b44db86d139b98ea4d2cdd91d5b95571b1358
6
+ metadata.gz: 30e11ce3a3ad807a6d0580f1ac6516e7004d7862994a61d6f999399c7babc73c873aef62874f91bbfd03fe8e3f517b3744a32d9731ae68370f7785a35521fd91
7
+ data.tar.gz: 68fb6ccf6d09db14ced8eeeede75a624fa084a7b065c18ce98ea4c872d01788314a84becf681ec3177f323ca4f0d3b06ec8a5ca8b465b6fb6f4fdd632ef72ca4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (1.10.1)
4
+ mx-platform-ruby (1.12.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **data_uri** | **String** | | [optional] |
8
+ | **guid** | **String** | | [optional] |
8
9
  | **label** | **String** | | [optional] |
9
10
  | **value** | **String** | | [optional] |
10
11
 
@@ -15,6 +16,7 @@ require 'mx-platform-ruby'
15
16
 
16
17
  instance = MxPlatformRuby::ImageOptionResponse.new(
17
18
  data_uri: data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data ...,
19
+ guid: CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5,
18
20
  label: IMAGE_1,
19
21
  value: image_data
20
22
  )
@@ -32,9 +32,7 @@ instance = MxPlatformRuby::InstitutionResponse.new(
32
32
  code: mxbank,
33
33
  forgot_password_url: https://example.url.mxbank.com/forgot-password,
34
34
  forgot_username_url: https://example.url.mxbank.com/forgot-username,
35
- instructional_text: Some instructional text &lt;a href&#x3D;&quot;https://example.url.mxbank.com/instructions&quot;
36
- id&#x3D;&quot;instructional_text&quot;&gt;for end users&lt;/a&gt;.
37
- ,
35
+ instructional_text: Some instructional text &lt;a href&#x3D;&quot;https://example.url.mxbank.com/instructions&quot; id&#x3D;&quot;instructional_text&quot;&gt;for end users&lt;/a&gt;.,
38
36
  instructional_text_steps: [&quot;Step 1: Do this.&quot;,&quot;Step 2: Do that.&quot;],
39
37
  is_disabled_by_client: false,
40
38
  iso_country_code: US,
@@ -301,7 +301,7 @@ end
301
301
 
302
302
  Read a microdeposit for a user
303
303
 
304
- Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. <br></br> Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
304
+ Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. <br /><br /> Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
305
305
 
306
306
  ### Examples
307
307
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **guid** | **String** | | [optional] |
7
8
  | **label** | **String** | | [optional] |
8
9
  | **value** | **String** | | [optional] |
9
10
 
@@ -13,6 +14,7 @@
13
14
  require 'mx-platform-ruby'
14
15
 
15
16
  instance = MxPlatformRuby::OptionResponse.new(
17
+ guid: CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5,
16
18
  label: IMAGE_1,
17
19
  value: image_data
18
20
  )
@@ -633,7 +633,7 @@ end
633
633
 
634
634
  List transactions by account
635
635
 
636
- Requests to this endpoint return a list of transactions associated with the specified account. <br /><br />Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
636
+ Requests to this endpoint return a list of transactions associated with the specified account. <br /><br />Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
637
637
 
638
638
  ### Examples
639
639
 
@@ -287,7 +287,7 @@ module MxPlatformRuby
287
287
  end
288
288
 
289
289
  # Read a microdeposit for a user
290
- # Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. <br></br> Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
290
+ # Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. <br /><br /> Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
291
291
  # @param micro_deposit_guid [String] The unique identifier for the microdeposit. Defined by MX.
292
292
  # @param user_guid [String] The unique identifier for a &#x60;user&#x60;, beginning with the prefix &#x60;USR-&#x60;.
293
293
  # @param [Hash] opts the optional parameters
@@ -298,7 +298,7 @@ module MxPlatformRuby
298
298
  end
299
299
 
300
300
  # Read a microdeposit for a user
301
- # Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. &lt;br&gt;&lt;/br&gt; Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
301
+ # Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. &lt;br /&gt;&lt;br /&gt; Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
302
302
  # @param micro_deposit_guid [String] The unique identifier for the microdeposit. Defined by MX.
303
303
  # @param user_guid [String] The unique identifier for a &#x60;user&#x60;, beginning with the prefix &#x60;USR-&#x60;.
304
304
  # @param [Hash] opts the optional parameters
@@ -619,7 +619,7 @@ module MxPlatformRuby
619
619
  end
620
620
 
621
621
  # List transactions by account
622
- # Requests to this endpoint return a list of transactions associated with the specified account. <br /><br />Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
622
+ # Requests to this endpoint return a list of transactions associated with the specified account. <br /><br />Enhanced transaction data may be requested using the `includes` parameter. To use this optional parameter, the value should include the optional metadata requested such as `repeating_transactions`, `merchants`, `classifications`, `geolocations`. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
623
623
  # @param account_guid [String] The unique id for an &#x60;account&#x60;.
624
624
  # @param user_guid [String] The unique identifier for a &#x60;user&#x60;, beginning with the prefix &#x60;USR-&#x60;.
625
625
  # @param [Hash] opts the optional parameters
@@ -643,7 +643,7 @@ module MxPlatformRuby
643
643
  end
644
644
 
645
645
  # List transactions by account
646
- # Requests to this endpoint return a list of transactions associated with the specified account. &lt;br /&gt;&lt;br /&gt;Enhanced transaction data may be requested using the &#x60;includes&#x60; parameter. To use this optional parameter, the value should include the optional metadata requested such as &#x60;repeating_transactions&#x60;, &#x60;merchants&#x60;, &#x60;classifications&#x60;, &#x60;geolocations&#x60;. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
646
+ # Requests to this endpoint return a list of transactions associated with the specified account. &lt;br /&gt;&lt;br /&gt;Enhanced transaction data may be requested using the &#x60;includes&#x60; parameter. To use this optional parameter, the value should include the optional metadata requested such as &#x60;repeating_transactions&#x60;, &#x60;merchants&#x60;, &#x60;classifications&#x60;, &#x60;geolocations&#x60;. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
647
647
  # @param account_guid [String] The unique id for an &#x60;account&#x60;.
648
648
  # @param user_guid [String] The unique identifier for a &#x60;user&#x60;, beginning with the prefix &#x60;USR-&#x60;.
649
649
  # @param [Hash] opts the optional parameters
@@ -17,6 +17,8 @@ module MxPlatformRuby
17
17
  class ImageOptionResponse
18
18
  attr_accessor :data_uri
19
19
 
20
+ attr_accessor :guid
21
+
20
22
  attr_accessor :label
21
23
 
22
24
  attr_accessor :value
@@ -25,6 +27,7 @@ module MxPlatformRuby
25
27
  def self.attribute_map
26
28
  {
27
29
  :'data_uri' => :'data_uri',
30
+ :'guid' => :'guid',
28
31
  :'label' => :'label',
29
32
  :'value' => :'value'
30
33
  }
@@ -39,6 +42,7 @@ module MxPlatformRuby
39
42
  def self.openapi_types
40
43
  {
41
44
  :'data_uri' => :'String',
45
+ :'guid' => :'String',
42
46
  :'label' => :'String',
43
47
  :'value' => :'String'
44
48
  }
@@ -48,6 +52,7 @@ module MxPlatformRuby
48
52
  def self.openapi_nullable
49
53
  Set.new([
50
54
  :'data_uri',
55
+ :'guid',
51
56
  :'label',
52
57
  :'value'
53
58
  ])
@@ -72,6 +77,10 @@ module MxPlatformRuby
72
77
  self.data_uri = attributes[:'data_uri']
73
78
  end
74
79
 
80
+ if attributes.key?(:'guid')
81
+ self.guid = attributes[:'guid']
82
+ end
83
+
75
84
  if attributes.key?(:'label')
76
85
  self.label = attributes[:'label']
77
86
  end
@@ -102,6 +111,7 @@ module MxPlatformRuby
102
111
  return true if self.equal?(o)
103
112
  self.class == o.class &&
104
113
  data_uri == o.data_uri &&
114
+ guid == o.guid &&
105
115
  label == o.label &&
106
116
  value == o.value
107
117
  end
@@ -115,7 +125,7 @@ module MxPlatformRuby
115
125
  # Calculates hash code according to all attributes.
116
126
  # @return [Integer] Hash code
117
127
  def hash
118
- [data_uri, label, value].hash
128
+ [data_uri, guid, label, value].hash
119
129
  end
120
130
 
121
131
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
17
  class OptionResponse
18
+ attr_accessor :guid
19
+
18
20
  attr_accessor :label
19
21
 
20
22
  attr_accessor :value
@@ -22,6 +24,7 @@ module MxPlatformRuby
22
24
  # Attribute mapping from ruby-style variable name to JSON key.
23
25
  def self.attribute_map
24
26
  {
27
+ :'guid' => :'guid',
25
28
  :'label' => :'label',
26
29
  :'value' => :'value'
27
30
  }
@@ -35,6 +38,7 @@ module MxPlatformRuby
35
38
  # Attribute type mapping.
36
39
  def self.openapi_types
37
40
  {
41
+ :'guid' => :'String',
38
42
  :'label' => :'String',
39
43
  :'value' => :'String'
40
44
  }
@@ -43,6 +47,7 @@ module MxPlatformRuby
43
47
  # List of attributes with nullable: true
44
48
  def self.openapi_nullable
45
49
  Set.new([
50
+ :'guid',
46
51
  :'label',
47
52
  :'value'
48
53
  ])
@@ -63,6 +68,10 @@ module MxPlatformRuby
63
68
  h[k.to_sym] = v
64
69
  }
65
70
 
71
+ if attributes.key?(:'guid')
72
+ self.guid = attributes[:'guid']
73
+ end
74
+
66
75
  if attributes.key?(:'label')
67
76
  self.label = attributes[:'label']
68
77
  end
@@ -92,6 +101,7 @@ module MxPlatformRuby
92
101
  def ==(o)
93
102
  return true if self.equal?(o)
94
103
  self.class == o.class &&
104
+ guid == o.guid &&
95
105
  label == o.label &&
96
106
  value == o.value
97
107
  end
@@ -105,7 +115,7 @@ module MxPlatformRuby
105
115
  # Calculates hash code according to all attributes.
106
116
  # @return [Integer] Hash code
107
117
  def hash
108
- [label, value].hash
118
+ [guid, label, value].hash
109
119
  end
110
120
 
111
121
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.8.0
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '1.10.1'
14
+ VERSION = '1.12.0'
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: 1.10.1
9
+ gemVersion: 1.12.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -84,7 +84,7 @@ describe 'MicrodepositsApi' do
84
84
 
85
85
  # unit tests for read_user_microdeposit
86
86
  # Read a microdeposit for a user
87
- # Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. &lt;br&gt;&lt;/br&gt; Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
87
+ # Use this endpoint to read the attributes of a specific microdeposit according to its unique GUID. &lt;br /&gt;&lt;br /&gt; Webhooks for microdeposit status changes are triggered when a status changes. The actual status of the microdeposit guid updates every minute. You may force a status update by calling the read microdeposit endpoint.
88
88
  # @param micro_deposit_guid The unique identifier for the microdeposit. Defined by MX.
89
89
  # @param user_guid The unique identifier for a &#x60;user&#x60;, beginning with the prefix &#x60;USR-&#x60;.
90
90
  # @param [Hash] opts the optional parameters
@@ -152,7 +152,7 @@ describe 'TransactionsApi' do
152
152
 
153
153
  # unit tests for list_transactions_by_account
154
154
  # List transactions by account
155
- # Requests to this endpoint return a list of transactions associated with the specified account. &lt;br /&gt;&lt;br /&gt;Enhanced transaction data may be requested using the &#x60;includes&#x60; parameter. To use this optional parameter, the value should include the optional metadata requested such as &#x60;repeating_transactions&#x60;, &#x60;merchants&#x60;, &#x60;classifications&#x60;, &#x60;geolocations&#x60;. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
155
+ # Requests to this endpoint return a list of transactions associated with the specified account. &lt;br /&gt;&lt;br /&gt;Enhanced transaction data may be requested using the &#x60;includes&#x60; parameter. To use this optional parameter, the value should include the optional metadata requested such as &#x60;repeating_transactions&#x60;, &#x60;merchants&#x60;, &#x60;classifications&#x60;, &#x60;geolocations&#x60;. For more information, see the [Optional Enhancement Query Parameter guide](/api-reference/platform-api/reference/transactions-overview#enhanced-transactions#optional-enhancement-query-parameter).
156
156
  # @param account_guid The unique id for an &#x60;account&#x60;.
157
157
  # @param user_guid The unique identifier for a &#x60;user&#x60;, beginning with the prefix &#x60;USR-&#x60;.
158
158
  # @param [Hash] opts the optional parameters
@@ -33,6 +33,12 @@ describe MxPlatformRuby::ImageOptionResponse do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "guid"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
36
42
  describe 'test attribute "label"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -27,6 +27,12 @@ describe MxPlatformRuby::OptionResponse do
27
27
  end
28
28
  end
29
29
 
30
+ describe 'test attribute "guid"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
30
36
  describe 'test attribute "label"' do
31
37
  it 'should work' do
32
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/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: 1.10.1
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-05 00:00:00.000000000 Z
11
+ date: 2025-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday