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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/docs/ApiPublicTransactionsGetTransactionsResponse.md +24 -0
- data/docs/ApiPublicTransactionsLegacyGetTransactionsResponse.md +28 -0
- data/docs/BudCategory.md +20 -0
- data/docs/BudPrimaryCategory.md +15 -0
- data/docs/BudSubcategory.md +15 -0
- data/docs/CustomSandboxAccount.md +24 -0
- data/docs/CustomSandboxData.md +20 -0
- data/docs/GetLinksLink.md +20 -0
- data/docs/GetLinksResponse.md +20 -0
- data/docs/ImportTransactionsRequest.md +18 -0
- data/docs/ProductStateChangedWebhook.md +38 -0
- data/docs/Response401CorrectEnrichmentLinksIdTransactionsTxnIdEnrichmentPost.md +22 -0
- data/docs/Response401CreateLinkSessionLinkSessionPost.md +22 -0
- data/docs/Response401GetLinksLinksGet.md +22 -0
- data/docs/Response401ImportTransactionsLinksIdImportTransactionsPost.md +22 -0
- data/docs/Response401ResetLinkLinksIdResetPost.md +22 -0
- data/lib/moneykit/models/api_public_transactions_get_transactions_response.rb +321 -0
- data/lib/moneykit/models/api_public_transactions_legacy_get_transactions_response.rb +375 -0
- data/lib/moneykit/models/bud_category.rb +266 -0
- data/lib/moneykit/models/bud_primary_category.rb +61 -0
- data/lib/moneykit/models/bud_subcategory.rb +165 -0
- data/lib/moneykit/models/custom_sandbox_account.rb +300 -0
- data/lib/moneykit/models/custom_sandbox_data.rb +250 -0
- data/lib/moneykit/models/get_links_link.rb +261 -0
- data/lib/moneykit/models/get_links_response.rb +231 -0
- data/lib/moneykit/models/import_transactions_request.rb +238 -0
- data/lib/moneykit/models/product_state_changed_webhook.rb +493 -0
- data/lib/moneykit/models/response401_correct_enrichment_links_id_transactions_txn_id_enrichment_post.rb +104 -0
- data/lib/moneykit/models/response401_create_link_session_link_session_post.rb +103 -0
- data/lib/moneykit/models/response401_get_links_links_get.rb +103 -0
- data/lib/moneykit/models/response401_import_transactions_links_id_import_transactions_post.rb +103 -0
- data/lib/moneykit/models/response401_reset_link_links_id_reset_post.rb +104 -0
- data/lib/moneykit/version.rb +1 -1
- data/spec/models/api_public_transactions_get_transactions_response_spec.rb +54 -0
- data/spec/models/api_public_transactions_legacy_get_transactions_response_spec.rb +66 -0
- data/spec/models/bud_category_spec.rb +42 -0
- data/spec/models/bud_primary_category_spec.rb +30 -0
- data/spec/models/bud_subcategory_spec.rb +30 -0
- data/spec/models/custom_sandbox_account_spec.rb +54 -0
- data/spec/models/custom_sandbox_data_spec.rb +42 -0
- data/spec/models/get_links_link_spec.rb +42 -0
- data/spec/models/get_links_response_spec.rb +42 -0
- data/spec/models/import_transactions_request_spec.rb +36 -0
- data/spec/models/product_state_changed_webhook_spec.rb +108 -0
- data/spec/models/response401_correct_enrichment_links_id_transactions_txn_id_enrichment_post_spec.rb +21 -0
- data/spec/models/response401_create_link_session_link_session_post_spec.rb +21 -0
- data/spec/models/response401_get_links_links_get_spec.rb +21 -0
- data/spec/models/response401_import_transactions_links_id_import_transactions_post_spec.rb +21 -0
- data/spec/models/response401_reset_link_links_id_reset_post_spec.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-12.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/json-2.11.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/prism-1.4.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- metadata +66 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2de4fe0bfaa81365c377527ecdcb450fb0377d4cd8fbc12685c7fe308edece7e
|
4
|
+
data.tar.gz: 7044be1c1805a4e1bb62e70238d3c239070106be829691bfa47191f08d17ac9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43831d1a9c71c3b9ec4f2a0d7fd580783dcf3ab04133392999f015f86816cd784a7e7fc89952ec88b8dbf069f15e382d1bbecb03b4fd45d4568217f429c9b96b
|
7
|
+
data.tar.gz: bb32e0b1d313d929cce7f562f9627cc84a39d9cd1b790504496f1d03e006bee57ca2a6cc8924b082252819a0b40e3d599d5563922e04e1bf7f2d0aa8a91a66dc
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
# MoneyKit::ApiPublicTransactionsGetTransactionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **transactions** | [**Array<TransactionResponse>**](TransactionResponse.md) | A list of transactions. | |
|
8
|
+
| **accounts** | [**Array<AccountResponse>**](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<TransactionResponse>**](TransactionResponse.md) | A list of transactions. | |
|
11
|
+
| **accounts** | [**Array<AccountResponse>**](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
|
+
|
data/docs/BudCategory.md
ADDED
@@ -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,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 <a href=/pages/account_types>Account Types</a> 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'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<CustomSandboxAccount>**](CustomSandboxAccount.md) | An array of static accounts to be returned from Sandbox via `user_custom`. | |
|
8
|
+
| **owners** | [**Array<Owner>**](Owner.md) | An array of owners to attach to the identity response of every account on `user_custom`. 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<GetLinksLink>**](GetLinksLink.md) | | [optional] |
|
8
|
+
| **next_cursor** | **String** | | [optional][default to ''] |
|
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<TransactionImportData>**](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<String>** | | |
|
13
|
+
| **webhook_event** | **String** | | [optional][default to 'link.product_refresh'] |
|
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 'link_error.unauthorized_access'] |
|
8
|
+
| **error_message** | **String** | | [default to 'Unauthorized link access.'] |
|
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 'api_error.auth.unauthorized'] |
|
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 'api_error.auth.unauthorized'] |
|
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 'api_error.auth.unauthorized'] |
|
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 'link_error.unauthorized_access'] |
|
8
|
+
| **error_message** | **String** | | [default to 'Unauthorized link access.'] |
|
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
|
+
|