mx-platform-ruby 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/docs/AccountResponse.md +2 -2
  4. data/docs/InsightResponse.md +56 -0
  5. data/docs/InsightResponseBody.md +18 -0
  6. data/docs/InsightUpdateRequest.md +20 -0
  7. data/docs/InsightsApi.md +706 -0
  8. data/docs/InsightsResponseBody.md +20 -0
  9. data/docs/MxPlatformApi.md +1 -1
  10. data/docs/ScheduledPaymentResponse.md +42 -0
  11. data/docs/ScheduledPaymentsResponseBody.md +20 -0
  12. data/docs/WidgetRequest.md +1 -1
  13. data/lib/mx-platform-ruby/api/insights_api.rb +690 -0
  14. data/lib/mx-platform-ruby/api/mx_platform_api.rb +2 -2
  15. data/lib/mx-platform-ruby/models/account_response.rb +11 -11
  16. data/lib/mx-platform-ruby/models/insight_response.rb +404 -0
  17. data/lib/mx-platform-ruby/models/insight_response_body.rb +216 -0
  18. data/lib/mx-platform-ruby/models/insight_update_request.rb +223 -0
  19. data/lib/mx-platform-ruby/models/insights_response_body.rb +225 -0
  20. data/lib/mx-platform-ruby/models/scheduled_payment_response.rb +322 -0
  21. data/lib/mx-platform-ruby/models/scheduled_payments_response_body.rb +225 -0
  22. data/lib/mx-platform-ruby/version.rb +1 -1
  23. data/lib/mx-platform-ruby.rb +7 -0
  24. data/openapi/config.yml +1 -1
  25. data/spec/api/insights_api_spec.rb +166 -0
  26. data/spec/api/mx_platform_api_spec.rb +1 -1
  27. data/spec/models/account_response_spec.rb +3 -3
  28. data/spec/models/insight_response_body_spec.rb +34 -0
  29. data/spec/models/insight_response_spec.rb +148 -0
  30. data/spec/models/insight_update_request_spec.rb +40 -0
  31. data/spec/models/insights_response_body_spec.rb +40 -0
  32. data/spec/models/scheduled_payment_response_spec.rb +106 -0
  33. data/spec/models/scheduled_payments_response_body_spec.rb +40 -0
  34. metadata +30 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0eb7b09090849039aba10d37a96f5a35313debb0601e659c17f9e5248ef74d29
4
- data.tar.gz: c89a92259ea5fa3ca74083608c520397580371a04835634bbe30a64a70383d45
3
+ metadata.gz: 944634482263d45731b9bd715e55760746e1dcaa1b7b662d926632fb7d8f4652
4
+ data.tar.gz: 6ab521972ea77b414780e48af458207e00b6c8e88d401e32c5a7106e0efd17ff
5
5
  SHA512:
6
- metadata.gz: 3e13200dfff544ff56995486ccb85e9098e627151ae76a271e93ff6251753c17d177b7db4c266bd5e021037c4f53af98b5a812713f5d4bf2eefda949eadf701d
7
- data.tar.gz: bdbeaad31029f38d4181622022651623a8a76b5a31deaf53e16b96d6d8168b67e4280f14192896271075e1a51d55aa924805a56490a0d769b8186d8114805a5c
6
+ metadata.gz: 0af8ea04e353fe3bd973e5fe25dd0119fcd652d01a9b72845b102b34e792c6576553c5215fbb781b2cd143767d0f51e95fb526390bd8bbed80ab0e0975aa908a
7
+ data.tar.gz: c18a6f69d39a08b05bb04a9d740891e989331294c4d4969120f07af7680b7f5e6efd03e7967712a4d5a66aa5d60c73d949617ec1ec8c682887bbd1034be84fc8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mx-platform-ruby (0.28.0)
4
+ mx-platform-ruby (0.29.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
 
@@ -22,7 +22,7 @@ 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.0)
25
+ multipart-post (2.4.1)
26
26
  parallel (1.24.0)
27
27
  parser (3.3.1.0)
28
28
  ast (~> 2.4.1)
@@ -47,7 +47,7 @@ GEM
47
47
  rspec-expectations (3.13.0)
48
48
  diff-lcs (>= 1.2.0, < 2.0)
49
49
  rspec-support (~> 3.13.0)
50
- rspec-mocks (3.13.0)
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)
@@ -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&#39;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&lt;InsightResponse&gt;**](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
+