mx-platform-ruby 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/docs/AccountResponse.md +2 -2
- data/docs/InsightResponse.md +56 -0
- data/docs/InsightResponseBody.md +18 -0
- data/docs/InsightUpdateRequest.md +20 -0
- data/docs/InsightsApi.md +706 -0
- data/docs/InsightsResponseBody.md +20 -0
- data/docs/MemberStatusResponse.md +2 -0
- data/docs/MxPlatformApi.md +1 -1
- data/docs/ScheduledPaymentResponse.md +42 -0
- data/docs/ScheduledPaymentsResponseBody.md +20 -0
- data/docs/WidgetRequest.md +1 -1
- data/lib/mx-platform-ruby/api/insights_api.rb +690 -0
- data/lib/mx-platform-ruby/api/mx_platform_api.rb +2 -2
- data/lib/mx-platform-ruby/models/account_response.rb +11 -11
- data/lib/mx-platform-ruby/models/insight_response.rb +404 -0
- data/lib/mx-platform-ruby/models/insight_response_body.rb +216 -0
- data/lib/mx-platform-ruby/models/insight_update_request.rb +223 -0
- data/lib/mx-platform-ruby/models/insights_response_body.rb +225 -0
- data/lib/mx-platform-ruby/models/member_status_response.rb +11 -1
- data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +322 -0
- data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +225 -0
- data/lib/mx-platform-ruby/version.rb +1 -1
- data/lib/mx-platform-ruby.rb +7 -0
- data/openapi/config.yml +1 -1
- data/spec/api/insights_api_spec.rb +166 -0
- data/spec/api/mx_platform_api_spec.rb +1 -1
- data/spec/models/account_response_spec.rb +3 -3
- data/spec/models/insight_response_body_spec.rb +34 -0
- data/spec/models/insight_response_spec.rb +148 -0
- data/spec/models/insight_update_request_spec.rb +40 -0
- data/spec/models/insights_response_body_spec.rb +40 -0
- data/spec/models/member_status_response_spec.rb +6 -0
- data/spec/models/scheduled_payment_response_spec.rb +106 -0
- data/spec/models/scheduled_payments_response_body_spec.rb +40 -0
- metadata +143 -115
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f970b78af0dd3338e161b3f7cdadb5bb77ff504d9f44b8892c21e325aa3dd06
|
4
|
+
data.tar.gz: c28e8b3dbdacdbfbe5b63bcddb8bee11093ab4c6a596fa0c626179032e5cf348
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c53def568e67545011973c7b67316c3f03989d99778694337710f85a2fccddfa1909cf591d02f50dec580054981a8b37c2fcfff3eb552e32fb8df245cf94405
|
7
|
+
data.tar.gz: 189da1915009811d4f9bbce1d00693f40e151672b1605eade243dc9ea5ff9af2dc96bd05c3491abc452db71406c228f7991bc3fe939a3bf63a951317991d1c3e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mx-platform-ruby (0.
|
4
|
+
mx-platform-ruby (0.30.0)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
|
@@ -22,9 +22,9 @@ GEM
|
|
22
22
|
faraday-net_http (3.0.2)
|
23
23
|
jaro_winkler (1.5.6)
|
24
24
|
method_source (1.1.0)
|
25
|
-
multipart-post (2.4.
|
25
|
+
multipart-post (2.4.1)
|
26
26
|
parallel (1.24.0)
|
27
|
-
parser (3.3.
|
27
|
+
parser (3.3.3.0)
|
28
28
|
ast (~> 2.4.1)
|
29
29
|
racc
|
30
30
|
pry (0.13.1)
|
@@ -35,7 +35,7 @@ GEM
|
|
35
35
|
pry (~> 0.13.0)
|
36
36
|
psych (5.1.2)
|
37
37
|
stringio
|
38
|
-
racc (1.
|
38
|
+
racc (1.8.0)
|
39
39
|
rainbow (3.1.1)
|
40
40
|
rake (13.0.6)
|
41
41
|
rspec (3.13.0)
|
@@ -44,10 +44,10 @@ GEM
|
|
44
44
|
rspec-mocks (~> 3.13.0)
|
45
45
|
rspec-core (3.13.0)
|
46
46
|
rspec-support (~> 3.13.0)
|
47
|
-
rspec-expectations (3.13.
|
47
|
+
rspec-expectations (3.13.1)
|
48
48
|
diff-lcs (>= 1.2.0, < 2.0)
|
49
49
|
rspec-support (~> 3.13.0)
|
50
|
-
rspec-mocks (3.13.
|
50
|
+
rspec-mocks (3.13.1)
|
51
51
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
52
|
rspec-support (~> 3.13.0)
|
53
53
|
rspec-support (3.13.1)
|
data/docs/AccountResponse.md
CHANGED
@@ -25,9 +25,9 @@
|
|
25
25
|
| **holdings_value** | **Float** | | [optional] |
|
26
26
|
| **id** | **String** | | [optional] |
|
27
27
|
| **imported_at** | **String** | | [optional] |
|
28
|
-
| **interest_rate** | **Float** | | [optional] |
|
29
28
|
| **institution_code** | **String** | | [optional] |
|
30
29
|
| **insured_name** | **String** | | [optional] |
|
30
|
+
| **interest_rate** | **Float** | | [optional] |
|
31
31
|
| **is_closed** | **Boolean** | | [optional] |
|
32
32
|
| **is_hidden** | **Boolean** | | [optional] |
|
33
33
|
| **is_manual** | **Boolean** | | [optional] |
|
@@ -88,9 +88,9 @@ instance = MxPlatformRuby::AccountResponse.new(
|
|
88
88
|
holdings_value: 1000.0,
|
89
89
|
id: 1040434698,
|
90
90
|
imported_at: 2015-10-13T17:57:37.000Z,
|
91
|
-
interest_rate: 1.0,
|
92
91
|
institution_code: 3af3685e-05d9-7060-359f-008d0755e993,
|
93
92
|
insured_name: Tommy Shelby,
|
93
|
+
interest_rate: 1.0,
|
94
94
|
is_closed: false,
|
95
95
|
is_hidden: false,
|
96
96
|
is_manual: false,
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# MxPlatformRuby::InsightResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **active_at** | **String** | | [optional] |
|
8
|
+
| **client_guid** | **String** | | [optional] |
|
9
|
+
| **created_at** | **String** | | [optional] |
|
10
|
+
| **cta_clicked_at** | **String** | | [optional] |
|
11
|
+
| **description** | **String** | | [optional] |
|
12
|
+
| **guid** | **String** | | [optional] |
|
13
|
+
| **has_associated_accounts** | **Boolean** | | [optional] |
|
14
|
+
| **has_associated_merchants** | **Boolean** | | [optional] |
|
15
|
+
| **has_associated_scheduled_payments** | **Boolean** | | [optional] |
|
16
|
+
| **has_associated_transactions** | **Boolean** | | [optional] |
|
17
|
+
| **has_been_displayed** | **Boolean** | | [optional] |
|
18
|
+
| **is_dismissed** | **Boolean** | | [optional] |
|
19
|
+
| **micro_call_to_action** | **String** | | [optional] |
|
20
|
+
| **micro_description** | **String** | | [optional] |
|
21
|
+
| **micro_title** | **String** | | [optional] |
|
22
|
+
| **template** | **String** | | [optional] |
|
23
|
+
| **title** | **String** | | [optional] |
|
24
|
+
| **updated_at** | **String** | | [optional] |
|
25
|
+
| **user_guid** | **String** | | [optional] |
|
26
|
+
| **user_id** | **Object** | | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'mx-platform-ruby'
|
32
|
+
|
33
|
+
instance = MxPlatformRuby::InsightResponse.new(
|
34
|
+
active_at: 2022-01-07T12:00:00Z,
|
35
|
+
client_guid: CLT-abcd-1234,
|
36
|
+
created_at: 2022-01-12T18:16:51Z,
|
37
|
+
cta_clicked_at: 2022-01-12T18:16:51Z,
|
38
|
+
description: Gold's Gym charged you $36.71 more this month than normal. Did you upgrade your service?,
|
39
|
+
guid: BET-abcd-1234,
|
40
|
+
has_associated_accounts: false,
|
41
|
+
has_associated_merchants: false,
|
42
|
+
has_associated_scheduled_payments: false,
|
43
|
+
has_associated_transactions: true,
|
44
|
+
has_been_displayed: true,
|
45
|
+
is_dismissed: false,
|
46
|
+
micro_call_to_action: Learn more,
|
47
|
+
micro_description: Netflix charged you $5.00 more this month than normal.,
|
48
|
+
micro_title: Price increase,
|
49
|
+
template: SubscriptionPriceIncrease,
|
50
|
+
title: Price increase,
|
51
|
+
updated_at: 2022-01-12T18:16:51Z,
|
52
|
+
user_guid: USR-1234-abcd,
|
53
|
+
user_id: user-partner-defined-1234
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MxPlatformRuby::InsightResponseBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **insight** | [**Array<InsightResponse>**](InsightResponse.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mx-platform-ruby'
|
13
|
+
|
14
|
+
instance = MxPlatformRuby::InsightResponseBody.new(
|
15
|
+
insight: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# MxPlatformRuby::InsightUpdateRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **has_been_displayed** | **Boolean** | | [optional] |
|
8
|
+
| **is_dismissed** | **Boolean** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'mx-platform-ruby'
|
14
|
+
|
15
|
+
instance = MxPlatformRuby::InsightUpdateRequest.new(
|
16
|
+
has_been_displayed: false,
|
17
|
+
is_dismissed: false
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|