moneykit 0.2.1 → 0.2.2

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.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +1 -1
  4. data/docs/ApiPublicTransactionsGetTransactionsResponse.md +24 -0
  5. data/docs/ApiPublicTransactionsLegacyGetTransactionsResponse.md +28 -0
  6. data/docs/BudCategory.md +20 -0
  7. data/docs/BudPrimaryCategory.md +15 -0
  8. data/docs/BudSubcategory.md +15 -0
  9. data/docs/CustomSandboxAccount.md +24 -0
  10. data/docs/CustomSandboxData.md +20 -0
  11. data/docs/GetLinksLink.md +20 -0
  12. data/docs/GetLinksResponse.md +20 -0
  13. data/docs/ImportTransactionsRequest.md +18 -0
  14. data/docs/ProductStateChangedWebhook.md +38 -0
  15. data/docs/Response401CorrectEnrichmentLinksIdTransactionsTxnIdEnrichmentPost.md +22 -0
  16. data/docs/Response401CreateLinkSessionLinkSessionPost.md +22 -0
  17. data/docs/Response401GetLinksLinksGet.md +22 -0
  18. data/docs/Response401ImportTransactionsLinksIdImportTransactionsPost.md +22 -0
  19. data/docs/Response401ResetLinkLinksIdResetPost.md +22 -0
  20. data/lib/moneykit/models/api_public_transactions_get_transactions_response.rb +321 -0
  21. data/lib/moneykit/models/api_public_transactions_legacy_get_transactions_response.rb +375 -0
  22. data/lib/moneykit/models/bud_category.rb +266 -0
  23. data/lib/moneykit/models/bud_primary_category.rb +61 -0
  24. data/lib/moneykit/models/bud_subcategory.rb +165 -0
  25. data/lib/moneykit/models/custom_sandbox_account.rb +300 -0
  26. data/lib/moneykit/models/custom_sandbox_data.rb +250 -0
  27. data/lib/moneykit/models/get_links_link.rb +261 -0
  28. data/lib/moneykit/models/get_links_response.rb +231 -0
  29. data/lib/moneykit/models/import_transactions_request.rb +238 -0
  30. data/lib/moneykit/models/product_state_changed_webhook.rb +493 -0
  31. data/lib/moneykit/models/response401_correct_enrichment_links_id_transactions_txn_id_enrichment_post.rb +104 -0
  32. data/lib/moneykit/models/response401_create_link_session_link_session_post.rb +103 -0
  33. data/lib/moneykit/models/response401_get_links_links_get.rb +103 -0
  34. data/lib/moneykit/models/response401_import_transactions_links_id_import_transactions_post.rb +103 -0
  35. data/lib/moneykit/models/response401_reset_link_links_id_reset_post.rb +104 -0
  36. data/lib/moneykit/version.rb +1 -1
  37. data/spec/models/api_public_transactions_get_transactions_response_spec.rb +54 -0
  38. data/spec/models/api_public_transactions_legacy_get_transactions_response_spec.rb +66 -0
  39. data/spec/models/bud_category_spec.rb +42 -0
  40. data/spec/models/bud_primary_category_spec.rb +30 -0
  41. data/spec/models/bud_subcategory_spec.rb +30 -0
  42. data/spec/models/custom_sandbox_account_spec.rb +54 -0
  43. data/spec/models/custom_sandbox_data_spec.rb +42 -0
  44. data/spec/models/get_links_link_spec.rb +42 -0
  45. data/spec/models/get_links_response_spec.rb +42 -0
  46. data/spec/models/import_transactions_request_spec.rb +36 -0
  47. data/spec/models/product_state_changed_webhook_spec.rb +108 -0
  48. data/spec/models/response401_correct_enrichment_links_id_transactions_txn_id_enrichment_post_spec.rb +21 -0
  49. data/spec/models/response401_create_link_session_link_session_post_spec.rb +21 -0
  50. data/spec/models/response401_get_links_links_get_spec.rb +21 -0
  51. data/spec/models/response401_import_transactions_links_id_import_transactions_post_spec.rb +21 -0
  52. data/spec/models/response401_reset_link_links_id_reset_post_spec.rb +21 -0
  53. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-12.0.0/gem_make.out +5 -5
  54. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.11.3/gem_make.out +5 -5
  55. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/prism-1.4.0/gem_make.out +5 -5
  56. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  57. metadata +66 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dae8e7c5e6fa4d28d53fe19150fe46aa578d95b2a8cbb6be84229575512128c
4
- data.tar.gz: 5a5ba378556e6b3f48b62fd1693c4adaf5e2d101a0cf887c887bc44ec11a2499
3
+ metadata.gz: 2de4fe0bfaa81365c377527ecdcb450fb0377d4cd8fbc12685c7fe308edece7e
4
+ data.tar.gz: 7044be1c1805a4e1bb62e70238d3c239070106be829691bfa47191f08d17ac9d
5
5
  SHA512:
6
- metadata.gz: 9c7127b73282fd20d0c7bfde7a7f26b5dad904f7aac7508dd04093b52426eb5d76f04db16dd8d669cb8b2ef1740d7ceb0f2db1cd115aaad1de064850b836a042
7
- data.tar.gz: c8a021bd85aa7ce4d7dc13cf8971b4da06268ffcb52a598274070fd520ae36face7970ab9fa387c523c34a52527fc400938d40b9d429b55686d020ed5300613b
6
+ metadata.gz: 43831d1a9c71c3b9ec4f2a0d7fd580783dcf3ab04133392999f015f86816cd784a7e7fc89952ec88b8dbf069f15e382d1bbecb03b4fd45d4568217f429c9b96b
7
+ data.tar.gz: bb32e0b1d313d929cce7f562f9627cc84a39d9cd1b790504496f1d03e006bee57ca2a6cc8924b082252819a0b40e3d599d5563922e04e1bf7f2d0aa8a91a66dc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- moneykit (0.2.1)
4
+ moneykit (0.2.2)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
data/README.md CHANGED
@@ -16,7 +16,7 @@ bundle add moneykit.gemspec
16
16
  or add the following to your `Gemfile`
17
17
 
18
18
  ```
19
- gem 'moneykit', '~> 0.2.1'
19
+ gem 'moneykit', '~> 0.2.2'
20
20
  ```
21
21
 
22
22
  ## Getting Started
@@ -0,0 +1,24 @@
1
+ # MoneyKit::ApiPublicTransactionsGetTransactionsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transactions** | [**Array&lt;TransactionResponse&gt;**](TransactionResponse.md) | A list of transactions. | |
8
+ | **accounts** | [**Array&lt;AccountResponse&gt;**](AccountResponse.md) | A list of accounts for which transactions are being returned. | |
9
+ | **link** | [**LinkCommon**](LinkCommon.md) | The link that these accounts belong to. | |
10
+ | **cursor** | [**CursorPagination**](CursorPagination.md) | Pagination information | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'moneykit'
16
+
17
+ instance = MoneyKit::ApiPublicTransactionsGetTransactionsResponse.new(
18
+ transactions: null,
19
+ accounts: null,
20
+ link: null,
21
+ cursor: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,28 @@
1
+ # MoneyKit::ApiPublicTransactionsLegacyGetTransactionsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **total** | **Integer** | The total number of results for this query. | |
8
+ | **page** | **Integer** | The page number corresponding to this batch of results. | |
9
+ | **size** | **Integer** | The number of results in this batch. | |
10
+ | **transactions** | [**Array&lt;TransactionResponse&gt;**](TransactionResponse.md) | A list of transactions. | |
11
+ | **accounts** | [**Array&lt;AccountResponse&gt;**](AccountResponse.md) | A list of accounts for which transactions are being returned. | |
12
+ | **link** | [**LinkCommon**](LinkCommon.md) | The link that these accounts belong to. | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'moneykit'
18
+
19
+ instance = MoneyKit::ApiPublicTransactionsLegacyGetTransactionsResponse.new(
20
+ total: null,
21
+ page: null,
22
+ size: null,
23
+ transactions: null,
24
+ accounts: null,
25
+ link: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,20 @@
1
+ # MoneyKit::BudCategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **category** | [**BudPrimaryCategory**](BudPrimaryCategory.md) | | |
8
+ | **subcategory** | [**BudSubcategory**](BudSubcategory.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'moneykit'
14
+
15
+ instance = MoneyKit::BudCategory.new(
16
+ category: null,
17
+ subcategory: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,15 @@
1
+ # MoneyKit::BudPrimaryCategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'moneykit'
12
+
13
+ instance = MoneyKit::BudPrimaryCategory.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # MoneyKit::BudSubcategory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'moneykit'
12
+
13
+ instance = MoneyKit::BudSubcategory.new()
14
+ ```
15
+
@@ -0,0 +1,24 @@
1
+ # MoneyKit::CustomSandboxAccount
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **account_type** | **String** | Account type applied to the sandbox account. See &lt;a href&#x3D;/pages/account_types&gt;Account Types&lt;/a&gt; for a full listing. | |
8
+ | **name** | **String** | Account name used for the sandbox account. | |
9
+ | **account_number** | **String** | Account number used for the sandbox account. | |
10
+ | **routing_number** | **String** | Routing number used for the sandbox account (if applicable). Must follow the standard ABA routing transit number format with a valid check digit, but does not need to be a real bank&#39;s routing number. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'moneykit'
16
+
17
+ instance = MoneyKit::CustomSandboxAccount.new(
18
+ account_type: null,
19
+ name: null,
20
+ account_number: null,
21
+ routing_number: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,20 @@
1
+ # MoneyKit::CustomSandboxData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **accounts** | [**Array&lt;CustomSandboxAccount&gt;**](CustomSandboxAccount.md) | An array of static accounts to be returned from Sandbox via &#x60;user_custom&#x60;. | |
8
+ | **owners** | [**Array&lt;Owner&gt;**](Owner.md) | An array of owners to attach to the identity response of every account on &#x60;user_custom&#x60;. Owners will otherwise be randomly generated. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'moneykit'
14
+
15
+ instance = MoneyKit::CustomSandboxData.new(
16
+ accounts: null,
17
+ owners: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # MoneyKit::GetLinksLink
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **link_id** | **String** | | |
8
+ | **created_at** | **Time** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'moneykit'
14
+
15
+ instance = MoneyKit::GetLinksLink.new(
16
+ link_id: null,
17
+ created_at: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # MoneyKit::GetLinksResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **links** | [**Array&lt;GetLinksLink&gt;**](GetLinksLink.md) | | [optional] |
8
+ | **next_cursor** | **String** | | [optional][default to &#39;&#39;] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'moneykit'
14
+
15
+ instance = MoneyKit::GetLinksResponse.new(
16
+ links: null,
17
+ next_cursor: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # MoneyKit::ImportTransactionsRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transactions** | [**Array&lt;TransactionImportData&gt;**](TransactionImportData.md) | The transactions to import. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'moneykit'
13
+
14
+ instance = MoneyKit::ImportTransactionsRequest.new(
15
+ transactions: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,38 @@
1
+ # MoneyKit::ProductStateChangedWebhook
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **webhook_major_version** | **Integer** | | [optional][default to WEBHOOK_MAJOR_VERSION::N1] |
8
+ | **webhook_minor_version** | **Integer** | | [optional][default to WEBHOOK_MINOR_VERSION::N0] |
9
+ | **webhook_idempotency_key** | **String** | | |
10
+ | **webhook_timestamp** | **Time** | | |
11
+ | **link_id** | **String** | | |
12
+ | **link_tags** | **Array&lt;String&gt;** | | |
13
+ | **webhook_event** | **String** | | [optional][default to &#39;link.product_refresh&#39;] |
14
+ | **product** | [**Product**](Product.md) | | |
15
+ | **state** | [**LinkProductState**](LinkProductState.md) | | |
16
+ | **state_changed_at** | **Time** | | |
17
+ | **error_message** | **String** | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'moneykit'
23
+
24
+ instance = MoneyKit::ProductStateChangedWebhook.new(
25
+ webhook_major_version: null,
26
+ webhook_minor_version: null,
27
+ webhook_idempotency_key: null,
28
+ webhook_timestamp: null,
29
+ link_id: null,
30
+ link_tags: null,
31
+ webhook_event: null,
32
+ product: null,
33
+ state: null,
34
+ state_changed_at: null,
35
+ error_message: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,22 @@
1
+ # MoneyKit::Response401CorrectEnrichmentLinksIdTransactionsTxnIdEnrichmentPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error_code** | **String** | | [optional][default to &#39;link_error.unauthorized_access&#39;] |
8
+ | **error_message** | **String** | | [default to &#39;Unauthorized link access.&#39;] |
9
+ | **documentation_url** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'moneykit'
15
+
16
+ instance = MoneyKit::Response401CorrectEnrichmentLinksIdTransactionsTxnIdEnrichmentPost.new(
17
+ error_code: null,
18
+ error_message: null,
19
+ documentation_url: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # MoneyKit::Response401CreateLinkSessionLinkSessionPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error_code** | **String** | | [optional][default to &#39;api_error.auth.unauthorized&#39;] |
8
+ | **error_message** | **String** | Error message | |
9
+ | **documentation_url** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'moneykit'
15
+
16
+ instance = MoneyKit::Response401CreateLinkSessionLinkSessionPost.new(
17
+ error_code: null,
18
+ error_message: null,
19
+ documentation_url: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # MoneyKit::Response401GetLinksLinksGet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error_code** | **String** | | [optional][default to &#39;api_error.auth.unauthorized&#39;] |
8
+ | **error_message** | **String** | Error message | |
9
+ | **documentation_url** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'moneykit'
15
+
16
+ instance = MoneyKit::Response401GetLinksLinksGet.new(
17
+ error_code: null,
18
+ error_message: null,
19
+ documentation_url: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # MoneyKit::Response401ImportTransactionsLinksIdImportTransactionsPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error_code** | **String** | | [optional][default to &#39;api_error.auth.unauthorized&#39;] |
8
+ | **error_message** | **String** | Error message | |
9
+ | **documentation_url** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'moneykit'
15
+
16
+ instance = MoneyKit::Response401ImportTransactionsLinksIdImportTransactionsPost.new(
17
+ error_code: null,
18
+ error_message: null,
19
+ documentation_url: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # MoneyKit::Response401ResetLinkLinksIdResetPost
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error_code** | **String** | | [optional][default to &#39;link_error.unauthorized_access&#39;] |
8
+ | **error_message** | **String** | | [default to &#39;Unauthorized link access.&#39;] |
9
+ | **documentation_url** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'moneykit'
15
+
16
+ instance = MoneyKit::Response401ResetLinkLinksIdResetPost.new(
17
+ error_code: null,
18
+ error_message: null,
19
+ documentation_url: null
20
+ )
21
+ ```
22
+