mx-platform-ruby 0.3.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +29 -222
  4. data/docs/ChallengeResponse.md +2 -2
  5. data/docs/{ChallengeImageOptions.md → ImageOptionResponse.md} +2 -2
  6. data/docs/{ChallengeOptions.md → OptionResponse.md} +2 -2
  7. data/lib/mx-platform-ruby/models/challenge_response.rb +2 -2
  8. data/lib/mx-platform-ruby/models/{challenge_image_options.rb → image_option_response.rb} +3 -3
  9. data/lib/mx-platform-ruby/models/{challenge_options.rb → option_response.rb} +3 -3
  10. data/lib/mx-platform-ruby/version.rb +1 -1
  11. data/lib/mx-platform-ruby.rb +2 -2
  12. data/openapi/config.yml +1 -1
  13. data/openapi/templates/README.mustache +71 -0
  14. data/spec/models/{challenge_image_options_spec.rb → image_option_response_spec.rb} +6 -6
  15. data/spec/models/{challenge_options_spec.rb → option_response_spec.rb} +6 -6
  16. metadata +88 -190
  17. data/docs/Account.md +0 -96
  18. data/docs/AccountNumber.md +0 -32
  19. data/docs/AccountOwner.md +0 -40
  20. data/docs/Category.md +0 -32
  21. data/docs/Challenge.md +0 -30
  22. data/docs/ChallengeResponseImageOptions.md +0 -22
  23. data/docs/ChallengeResponseOptions.md +0 -20
  24. data/docs/ConnectWidget.md +0 -20
  25. data/docs/Credential.md +0 -26
  26. data/docs/EnhanceTransaction.md +0 -48
  27. data/docs/Holding.md +0 -52
  28. data/docs/InlineResponse200.md +0 -18
  29. data/docs/Institution.md +0 -36
  30. data/docs/Member.md +0 -40
  31. data/docs/MemberStatus.md +0 -34
  32. data/docs/Merchant.md +0 -28
  33. data/docs/OAuthWindow.md +0 -20
  34. data/docs/Pagination.md +0 -24
  35. data/docs/Statement.md +0 -32
  36. data/docs/Tag.md +0 -22
  37. data/docs/Tagging.md +0 -26
  38. data/docs/Transaction.md +0 -88
  39. data/docs/TransactionRule.md +0 -30
  40. data/docs/User.md +0 -26
  41. data/docs/Widget.md +0 -22
  42. data/lib/mx-platform-ruby/models/account.rb +0 -569
  43. data/lib/mx-platform-ruby/models/account_number.rb +0 -281
  44. data/lib/mx-platform-ruby/models/account_owner.rb +0 -317
  45. data/lib/mx-platform-ruby/models/category.rb +0 -281
  46. data/lib/mx-platform-ruby/models/challenge.rb +0 -276
  47. data/lib/mx-platform-ruby/models/challenge_response_image_options.rb +0 -236
  48. data/lib/mx-platform-ruby/models/challenge_response_options.rb +0 -227
  49. data/lib/mx-platform-ruby/models/connect_widget.rb +0 -227
  50. data/lib/mx-platform-ruby/models/credential.rb +0 -254
  51. data/lib/mx-platform-ruby/models/enhance_transaction.rb +0 -353
  52. data/lib/mx-platform-ruby/models/holding.rb +0 -371
  53. data/lib/mx-platform-ruby/models/inline_response200.rb +0 -218
  54. data/lib/mx-platform-ruby/models/institution.rb +0 -299
  55. data/lib/mx-platform-ruby/models/member.rb +0 -317
  56. data/lib/mx-platform-ruby/models/member_status.rb +0 -292
  57. data/lib/mx-platform-ruby/models/merchant.rb +0 -263
  58. data/lib/mx-platform-ruby/models/o_auth_window.rb +0 -227
  59. data/lib/mx-platform-ruby/models/pagination.rb +0 -245
  60. data/lib/mx-platform-ruby/models/statement.rb +0 -281
  61. data/lib/mx-platform-ruby/models/tag.rb +0 -236
  62. data/lib/mx-platform-ruby/models/tagging.rb +0 -254
  63. data/lib/mx-platform-ruby/models/transaction.rb +0 -533
  64. data/lib/mx-platform-ruby/models/transaction_rule.rb +0 -272
  65. data/lib/mx-platform-ruby/models/user.rb +0 -254
  66. data/lib/mx-platform-ruby/models/widget.rb +0 -236
  67. data/openapi/mx_platform_ruby.yml +0 -11
  68. data/pkg/mx-platform-ruby-0.2.0.gem +0 -0
  69. data/pkg/mx-platform-ruby-0.2.1.gem +0 -0
  70. data/spec/models/account_number_spec.rb +0 -76
  71. data/spec/models/account_owner_spec.rb +0 -100
  72. data/spec/models/account_spec.rb +0 -268
  73. data/spec/models/category_spec.rb +0 -76
  74. data/spec/models/challenge_response_image_options_spec.rb +0 -46
  75. data/spec/models/challenge_response_options_spec.rb +0 -40
  76. data/spec/models/challenge_spec.rb +0 -70
  77. data/spec/models/connect_widget_spec.rb +0 -40
  78. data/spec/models/credential_spec.rb +0 -58
  79. data/spec/models/enhance_transaction_spec.rb +0 -124
  80. data/spec/models/holding_spec.rb +0 -136
  81. data/spec/models/inline_response200_spec.rb +0 -34
  82. data/spec/models/institution_spec.rb +0 -88
  83. data/spec/models/member_spec.rb +0 -100
  84. data/spec/models/member_status_spec.rb +0 -82
  85. data/spec/models/merchant_spec.rb +0 -64
  86. data/spec/models/o_auth_window_spec.rb +0 -40
  87. data/spec/models/pagination_spec.rb +0 -52
  88. data/spec/models/statement_spec.rb +0 -76
  89. data/spec/models/tag_spec.rb +0 -46
  90. data/spec/models/tagging_spec.rb +0 -58
  91. data/spec/models/transaction_rule_spec.rb +0 -70
  92. data/spec/models/transaction_spec.rb +0 -244
  93. data/spec/models/user_spec.rb +0 -58
  94. data/spec/models/widget_spec.rb +0 -46
data/docs/Account.md DELETED
@@ -1,96 +0,0 @@
1
- # MxPlatformRuby::Account
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_number** | **String** | | [optional] |
8
- | **apr** | **Float** | | [optional] |
9
- | **apy** | **Float** | | [optional] |
10
- | **available_balance** | **Float** | | [optional] |
11
- | **available_credit** | **Float** | | [optional] |
12
- | **balance** | **Float** | | [optional] |
13
- | **cash_balance** | **Float** | | [optional] |
14
- | **cash_surrender_value** | **Float** | | [optional] |
15
- | **created_at** | **String** | | [optional] |
16
- | **credit_limit** | **Float** | | [optional] |
17
- | **currency_code** | **String** | | [optional] |
18
- | **day_payment_is_due** | **Integer** | | [optional] |
19
- | **death_benefit** | **Integer** | | [optional] |
20
- | **guid** | **String** | | [optional] |
21
- | **holdings_value** | **Float** | | [optional] |
22
- | **id** | **String** | | [optional] |
23
- | **institution_code** | **String** | | [optional] |
24
- | **insured_name** | **String** | | [optional] |
25
- | **interest_rate** | **Float** | | [optional] |
26
- | **is_closed** | **Boolean** | | [optional] |
27
- | **is_hidden** | **Boolean** | | [optional] |
28
- | **last_payment** | **Float** | | [optional] |
29
- | **last_payment_at** | **String** | | [optional] |
30
- | **loan_amount** | **Float** | | [optional] |
31
- | **matures_on** | **String** | | [optional] |
32
- | **member_guid** | **String** | | [optional] |
33
- | **minimum_balance** | **Float** | | [optional] |
34
- | **minimum_payment** | **Float** | | [optional] |
35
- | **name** | **String** | | [optional] |
36
- | **original_balance** | **Float** | | [optional] |
37
- | **pay_out_amount** | **Float** | | [optional] |
38
- | **payment_due_at** | **String** | | [optional] |
39
- | **payoff_balance** | **Float** | | [optional] |
40
- | **premium_amount** | **Float** | | [optional] |
41
- | **started_on** | **String** | | [optional] |
42
- | **subtype** | **String** | | [optional] |
43
- | **total_account_value** | **Float** | | [optional] |
44
- | **type** | **String** | | [optional] |
45
- | **updated_at** | **String** | | [optional] |
46
- | **user_guid** | **String** | | [optional] |
47
-
48
- ## Example
49
-
50
- ```ruby
51
- require 'mx-platform-ruby'
52
-
53
- instance = MxPlatformRuby::Account.new(
54
- account_number: 5366,
55
- apr: 1.0,
56
- apy: 1.0,
57
- available_balance: 1000.0,
58
- available_credit: 1000.0,
59
- balance: 1000.0,
60
- cash_balance: 1000.0,
61
- cash_surrender_value: 1000.0,
62
- created_at: 2016-10-13T17:57:37.000Z,
63
- credit_limit: 100.0,
64
- currency_code: USD,
65
- day_payment_is_due: 20,
66
- death_benefit: 1000,
67
- guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
68
- holdings_value: 1000.0,
69
- id: 1040434698,
70
- institution_code: chase,
71
- insured_name: Frodo Baggins,
72
- interest_rate: 1.0,
73
- is_closed: false,
74
- is_hidden: false,
75
- last_payment: 100.0,
76
- last_payment_at: 2015-10-13T17:57:37.000Z,
77
- loan_amount: 1000.0,
78
- matures_on: 2015-10-13T17:57:37.000Z,
79
- member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
80
- minimum_balance: 100.0,
81
- minimum_payment: 10.0,
82
- name: Test account 2,
83
- original_balance: 10.0,
84
- pay_out_amount: 10.0,
85
- payment_due_at: 2015-10-13T17:57:37.000Z,
86
- payoff_balance: 10.0,
87
- premium_amount: 1.0,
88
- started_on: 2015-10-13T17:57:37.000Z,
89
- subtype: NONE,
90
- total_account_value: 1.0,
91
- type: SAVINGS,
92
- updated_at: 2016-10-13T18:08:00.000Z,
93
- user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
94
- )
95
- ```
96
-
@@ -1,32 +0,0 @@
1
- # MxPlatformRuby::AccountNumber
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_guid** | **String** | | [optional] |
8
- | **account_number** | **String** | | [optional] |
9
- | **guid** | **String** | | [optional] |
10
- | **institution_number** | **String** | | [optional] |
11
- | **member_guid** | **String** | | [optional] |
12
- | **routing_number** | **String** | | [optional] |
13
- | **transit_number** | **String** | | [optional] |
14
- | **user_guid** | **String** | | [optional] |
15
-
16
- ## Example
17
-
18
- ```ruby
19
- require 'mx-platform-ruby'
20
-
21
- instance = MxPlatformRuby::AccountNumber.new(
22
- account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
23
- account_number: 10001,
24
- guid: ACN-8899832e-e5b4-42cd-aa25-bbf1dc889a8f,
25
- institution_number: 123,
26
- member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
27
- routing_number: 68899990000000,
28
- transit_number: 12345,
29
- user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
30
- )
31
- ```
32
-
data/docs/AccountOwner.md DELETED
@@ -1,40 +0,0 @@
1
- # MxPlatformRuby::AccountOwner
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_guid** | **String** | | [optional] |
8
- | **address** | **String** | | [optional] |
9
- | **city** | **String** | | [optional] |
10
- | **country** | **String** | | [optional] |
11
- | **email** | **String** | | [optional] |
12
- | **guid** | **String** | | [optional] |
13
- | **member_guid** | **String** | | [optional] |
14
- | **owner_name** | **String** | | [optional] |
15
- | **phone** | **String** | | [optional] |
16
- | **postal_code** | **String** | | [optional] |
17
- | **state** | **String** | | [optional] |
18
- | **user_guid** | **String** | | [optional] |
19
-
20
- ## Example
21
-
22
- ```ruby
23
- require 'mx-platform-ruby'
24
-
25
- instance = MxPlatformRuby::AccountOwner.new(
26
- account_guid: ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1,
27
- address: 123 This Way,
28
- city: Middlesex,
29
- country: US,
30
- email: donnie@darko.co,
31
- guid: ACO-63dc7714-6fc0-4aa2-a069-c06cdccd1af9,
32
- member_guid: MBR-7c6f361b-e582-15b6-60c0-358f12466b4b,
33
- owner_name: Donnie Darko,
34
- phone: 555-555-5555,
35
- postal_code: 00000-0000,
36
- state: VA,
37
- user_guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
38
- )
39
- ```
40
-
data/docs/Category.md DELETED
@@ -1,32 +0,0 @@
1
- # MxPlatformRuby::Category
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **created_at** | **String** | | [optional] |
8
- | **guid** | **String** | | [optional] |
9
- | **is_default** | **Boolean** | | [optional] |
10
- | **is_income** | **Boolean** | | [optional] |
11
- | **metadata** | **String** | | [optional] |
12
- | **name** | **String** | | [optional] |
13
- | **parent_guid** | **String** | | [optional] |
14
- | **updated_at** | **String** | | [optional] |
15
-
16
- ## Example
17
-
18
- ```ruby
19
- require 'mx-platform-ruby'
20
-
21
- instance = MxPlatformRuby::Category.new(
22
- created_at: 2015-04-13T18:01:23.000Z,
23
- guid: CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874,
24
- is_default: true,
25
- is_income: false,
26
- metadata: some metadata,
27
- name: Auto Insurance,
28
- parent_guid: CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874,
29
- updated_at: 2015-05-13T18:01:23.000Z
30
- )
31
- ```
32
-
data/docs/Challenge.md DELETED
@@ -1,30 +0,0 @@
1
- # MxPlatformRuby::Challenge
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **field_name** | **String** | | [optional] |
8
- | **guid** | **String** | | [optional] |
9
- | **image_data** | **String** | | [optional] |
10
- | **image_options** | [**Array<ChallengeImageOptions>**](ChallengeImageOptions.md) | | [optional] |
11
- | **label** | **String** | | [optional] |
12
- | **options** | [**Array<ChallengeOptions>**](ChallengeOptions.md) | | [optional] |
13
- | **type** | **String** | | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'mx-platform-ruby'
19
-
20
- instance = MxPlatformRuby::Challenge.new(
21
- field_name: Who is this guy?,
22
- guid: CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5,
23
- image_data: Who is this guy?,
24
- image_options: null,
25
- label: Who is this guy?,
26
- options: null,
27
- type: IMAGE_DATA
28
- )
29
- ```
30
-
@@ -1,22 +0,0 @@
1
- # MxPlatformRuby::ChallengeResponseImageOptions
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **data_uri** | **String** | | [optional] |
8
- | **label** | **String** | | [optional] |
9
- | **value** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'mx-platform-ruby'
15
-
16
- instance = MxPlatformRuby::ChallengeResponseImageOptions.new(
17
- data_uri: data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data ...,
18
- label: IMAGE_1,
19
- value: image_data
20
- )
21
- ```
22
-
@@ -1,20 +0,0 @@
1
- # MxPlatformRuby::ChallengeResponseOptions
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **label** | **String** | | [optional] |
8
- | **value** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'mx-platform-ruby'
14
-
15
- instance = MxPlatformRuby::ChallengeResponseOptions.new(
16
- label: IMAGE_1,
17
- value: image_data
18
- )
19
- ```
20
-
@@ -1,20 +0,0 @@
1
- # MxPlatformRuby::ConnectWidget
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **connect_widget_url** | **String** | | [optional] |
8
- | **guid** | **String** | | [optional] |
9
-
10
- ## Example
11
-
12
- ```ruby
13
- require 'mx-platform-ruby'
14
-
15
- instance = MxPlatformRuby::ConnectWidget.new(
16
- connect_widget_url: https://int-widgets.moneydesktop.com/md/connect/jb1rA14m85tw2lyvpgfx4gc6d3Z8z8Ayb8,
17
- guid: USR-fa7537f3-48aa-a683-a02a-b18940482f54
18
- )
19
- ```
20
-
data/docs/Credential.md DELETED
@@ -1,26 +0,0 @@
1
- # MxPlatformRuby::Credential
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **display_order** | **Integer** | | [optional] |
8
- | **field_name** | **String** | | [optional] |
9
- | **field_type** | **String** | | [optional] |
10
- | **guid** | **String** | | [optional] |
11
- | **label** | **String** | | [optional] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'mx-platform-ruby'
17
-
18
- instance = MxPlatformRuby::Credential.new(
19
- display_order: 1,
20
- field_name: LOGIN,
21
- field_type: TEXT,
22
- guid: CRD-1ec152cd-e628-e81a-e852-d1e7104624da,
23
- label: Username
24
- )
25
- ```
26
-
@@ -1,48 +0,0 @@
1
- # MxPlatformRuby::EnhanceTransaction
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **amount** | **Float** | | [optional] |
8
- | **category** | **String** | | [optional] |
9
- | **description** | **String** | | [optional] |
10
- | **id** | **String** | | [optional] |
11
- | **is_bill_pay** | **Boolean** | | [optional] |
12
- | **is_direct_deposit** | **Boolean** | | [optional] |
13
- | **is_expense** | **Boolean** | | [optional] |
14
- | **is_fee** | **Boolean** | | [optional] |
15
- | **is_income** | **Boolean** | | [optional] |
16
- | **is_international** | **Boolean** | | [optional] |
17
- | **is_overdraft_fee** | **Boolean** | | [optional] |
18
- | **is_payroll_advance** | **Boolean** | | [optional] |
19
- | **merchant_category_code** | **Integer** | | [optional] |
20
- | **merchant_guid** | **String** | | [optional] |
21
- | **original_description** | **String** | | [optional] |
22
- | **type** | **String** | | [optional] |
23
-
24
- ## Example
25
-
26
- ```ruby
27
- require 'mx-platform-ruby'
28
-
29
- instance = MxPlatformRuby::EnhanceTransaction.new(
30
- amount: 21.33,
31
- category: Fast Food,
32
- description: IN-N-OUT BURGER,
33
- id: ID-123,
34
- is_bill_pay: false,
35
- is_direct_deposit: false,
36
- is_expense: false,
37
- is_fee: false,
38
- is_income: false,
39
- is_international: false,
40
- is_overdraft_fee: false,
41
- is_payroll_advance: false,
42
- merchant_category_code: 5411,
43
- merchant_guid: MCH-7ed79542-884d-2b1b-dd74-501c5cc9d25b,
44
- original_description: IN-N-OUT BURGER,
45
- type: DEBIT
46
- )
47
- ```
48
-
data/docs/Holding.md DELETED
@@ -1,52 +0,0 @@
1
- # MxPlatformRuby::Holding
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **account_guid** | **String** | | [optional] |
8
- | **cost_basis** | **Float** | | [optional] |
9
- | **created_at** | **String** | | [optional] |
10
- | **currency_code** | **String** | | [optional] |
11
- | **cusip** | **String** | | [optional] |
12
- | **daily_change** | **Float** | | [optional] |
13
- | **description** | **String** | | [optional] |
14
- | **guid** | **String** | | [optional] |
15
- | **holding_type** | **String** | | [optional] |
16
- | **id** | **String** | | [optional] |
17
- | **market_value** | **Float** | | [optional] |
18
- | **member_guid** | **String** | | [optional] |
19
- | **metadata** | **String** | | [optional] |
20
- | **purchase_price** | **Float** | | [optional] |
21
- | **shares** | **Float** | | [optional] |
22
- | **symbol** | **String** | | [optional] |
23
- | **updated_at** | **String** | | [optional] |
24
- | **user_guid** | **String** | | [optional] |
25
-
26
- ## Example
27
-
28
- ```ruby
29
- require 'mx-platform-ruby'
30
-
31
- instance = MxPlatformRuby::Holding.new(
32
- account_guid: HOL-d65683e8-9eab-26bb-bcfd-ced159c9abe2,
33
- cost_basis: 827.0,
34
- created_at: 2015-04-13T18:01:23.000Z,
35
- currency_code: USD,
36
- cusip: 18383M878,
37
- daily_change: 2.5,
38
- description: Guggenheim Defensive Equity ETF,
39
- guid: HOL-d65683e8-9eab-26bb-bcfd-ced159c9abe2,
40
- holding_type: MONEY_MARKET,
41
- id: ID-123,
42
- market_value: 989.5,
43
- member_guid: MBR-d65683e8-9eab-26bb-bcfd-ced159c9abe,
44
- metadata: metadata,
45
- purchase_price: 26.3,
46
- shares: 6.0,
47
- symbol: DEF,
48
- updated_at: 2015-04-13T18:01:23.000Z,
49
- user_guid: USR-743e5d7f-1116-28fa-5de1-d3ba02e41d8d
50
- )
51
- ```
52
-
@@ -1,18 +0,0 @@
1
- # MxPlatformRuby::InlineResponse200
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **tag** | [**Tag**](Tag.md) | | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mx-platform-ruby'
13
-
14
- instance = MxPlatformRuby::InlineResponse200.new(
15
- tag: null
16
- )
17
- ```
18
-