moneykit 0.1.12 → 0.1.14

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 (81) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +1 -1
  4. data/docs/AccessTokenApi.md +14 -17
  5. data/docs/AccountIdentity.md +4 -0
  6. data/docs/AccountResponse.md +5 -1
  7. data/docs/AccountWithAccountNumbersLegacy20230218.md +4 -0
  8. data/docs/AccountsApi.md +2 -2
  9. data/docs/Address.md +1 -1
  10. data/docs/CreateAccessTokenResponse.md +1 -1
  11. data/docs/CustomerUserPhone.md +1 -1
  12. data/docs/Email.md +1 -1
  13. data/docs/ExchangeTokenResponse.md +1 -1
  14. data/docs/IdentityApi.md +1 -1
  15. data/docs/ImportLinkRequest.md +2 -2
  16. data/docs/InvestmentsApi.md +4 -4
  17. data/docs/LinkCommon.md +4 -0
  18. data/docs/LinksApi.md +20 -20
  19. data/docs/MoneyKitConnectFeatures.md +3 -1
  20. data/docs/PhoneNumber.md +3 -3
  21. data/docs/TransactionSyncResponse.md +2 -0
  22. data/docs/TransactionsApi.md +11 -11
  23. data/docs/UpdateLinkRequest.md +2 -0
  24. data/docs/UsersApi.md +10 -10
  25. data/lib/moneykit/api/access_token_api.rb +12 -9
  26. data/lib/moneykit/api/accounts_api.rb +2 -2
  27. data/lib/moneykit/api/identity_api.rb +2 -2
  28. data/lib/moneykit/api/investments_api.rb +4 -4
  29. data/lib/moneykit/api/links_api.rb +16 -16
  30. data/lib/moneykit/api/transactions_api.rb +12 -12
  31. data/lib/moneykit/api/users_api.rb +10 -10
  32. data/lib/moneykit/api_client.rb +1 -1
  33. data/lib/moneykit/models/account.rb +1 -1
  34. data/lib/moneykit/models/account_identity.rb +21 -1
  35. data/lib/moneykit/models/account_numbers.rb +1 -1
  36. data/lib/moneykit/models/account_numbers_link_product.rb +1 -1
  37. data/lib/moneykit/models/account_numbers_product_settings.rb +1 -1
  38. data/lib/moneykit/models/account_response.rb +24 -4
  39. data/lib/moneykit/models/account_with_account_numbers.rb +1 -1
  40. data/lib/moneykit/models/account_with_account_numbers_legacy20230218.rb +21 -1
  41. data/lib/moneykit/models/accounts_link_product.rb +1 -1
  42. data/lib/moneykit/models/address.rb +1 -1
  43. data/lib/moneykit/models/customer_app.rb +1 -1
  44. data/lib/moneykit/models/email.rb +1 -1
  45. data/lib/moneykit/models/exchange_token_response.rb +1 -1
  46. data/lib/moneykit/models/generate_access_token_response.rb +1 -1
  47. data/lib/moneykit/models/get_account_numbers_response.rb +1 -1
  48. data/lib/moneykit/models/identity_link_product.rb +1 -1
  49. data/lib/moneykit/models/identity_product_settings.rb +1 -1
  50. data/lib/moneykit/models/import_link_request.rb +1 -1
  51. data/lib/moneykit/models/introspect_client_response.rb +1 -1
  52. data/lib/moneykit/models/investments_link_product.rb +1 -1
  53. data/lib/moneykit/models/investments_product_settings.rb +1 -1
  54. data/lib/moneykit/models/link_common.rb +27 -1
  55. data/lib/moneykit/models/link_product.rb +1 -1
  56. data/lib/moneykit/models/link_product_error.rb +2 -1
  57. data/lib/moneykit/models/link_response.rb +1 -1
  58. data/lib/moneykit/models/link_session_customer_user.rb +1 -1
  59. data/lib/moneykit/models/link_session_customer_user_email.rb +1 -1
  60. data/lib/moneykit/models/link_session_customer_user_phone.rb +1 -1
  61. data/lib/moneykit/models/link_state_changed_webhook.rb +1 -1
  62. data/lib/moneykit/models/money_kit_connect_features.rb +16 -4
  63. data/lib/moneykit/models/phone_number.rb +2 -2
  64. data/lib/moneykit/models/public_link_error.rb +6 -1
  65. data/lib/moneykit/models/response401_disconnect_links_id_delete.rb +1 -1
  66. data/lib/moneykit/models/response401_get_account_numbers_legacy20230218_links_id_accounts_numbers_get.rb +1 -1
  67. data/lib/moneykit/models/response401_get_account_numbers_links_id_accounts_numbers_get.rb +1 -1
  68. data/lib/moneykit/models/response401_get_transactions_diff_links_id_transactions_sync_get.rb +1 -1
  69. data/lib/moneykit/models/response401_get_well_known_jwks_well_known_jwks_json_get.rb +1 -1
  70. data/lib/moneykit/models/transaction.rb +1 -1
  71. data/lib/moneykit/models/transaction_diff.rb +1 -1
  72. data/lib/moneykit/models/transaction_sync_response.rb +19 -1
  73. data/lib/moneykit/models/update_link_request.rb +12 -1
  74. data/lib/moneykit/version.rb +1 -1
  75. data/lib/moneykit.rb +0 -1
  76. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
  77. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  78. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/gem_make.out +5 -5
  79. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3/gem_make.out +5 -5
  80. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.1.0/gem_make.out +5 -5
  81. metadata +144 -144
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **webhook** | **String** | Sets the webhook URL for this link. To remove a webhook for this link, set to `null`. | [optional] |
8
+ | **link_tags** | **Array<String>** | | [optional] |
8
9
  | **tags** | **Array<String>** | | [optional] |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'moneykit'
14
15
 
15
16
  instance = MoneyKit::UpdateLinkRequest.new(
16
17
  webhook: https://example.com/updated/hook,
18
+ link_tags: null,
17
19
  tags: null
18
20
  )
19
21
  ```
data/docs/UsersApi.md CHANGED
@@ -29,7 +29,7 @@ MoneyKit.configure do |config|
29
29
  end
30
30
 
31
31
  api_instance = MoneyKit::UsersApi.new
32
- id = 'id_example' # String | The unique ID for this user. This is the same ID provided in the call to <a href=#operation/create_link_session>/link-session</a> to create any link for this user.
32
+ id = 'id_example' # String | The unique ID for this user. This is the same ID provided in the call to <a href=/api/operation/create_link_session#customer_user-id>link-session</a> to create any link for this user.
33
33
  opts = {
34
34
  account_ids: ['inner_example'], # Array<String> | If present, filters results to accounts matching the given IDs.
35
35
  institution_ids: ['inner_example'] # Array<String> | If present, filters results to accounts at institutions matching the given IDs.
@@ -66,7 +66,7 @@ end
66
66
 
67
67
  | Name | Type | Description | Notes |
68
68
  | ---- | ---- | ----------- | ----- |
69
- | **id** | **String** | The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user. | |
69
+ | **id** | **String** | The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user. | |
70
70
  | **account_ids** | [**Array&lt;String&gt;**](String.md) | If present, filters results to accounts matching the given IDs. | [optional] |
71
71
  | **institution_ids** | [**Array&lt;String&gt;**](String.md) | If present, filters results to accounts at institutions matching the given IDs. | [optional] |
72
72
 
@@ -104,7 +104,7 @@ MoneyKit.configure do |config|
104
104
  end
105
105
 
106
106
  api_instance = MoneyKit::UsersApi.new
107
- id = 'id_example' # String | The unique ID for this user. This is the same ID provided in the call to <a href=#operation/create_link_session>/link-session</a> to create any link for this user.
107
+ id = 'id_example' # String | The unique ID for this user. This is the same ID provided in the call to <a href=/api/operation/create_link_session#customer_user-id>link-session</a> to create any link for this user.
108
108
 
109
109
  begin
110
110
  # /users/{id}/links
@@ -137,7 +137,7 @@ end
137
137
 
138
138
  | Name | Type | Description | Notes |
139
139
  | ---- | ---- | ----------- | ----- |
140
- | **id** | **String** | The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user. | |
140
+ | **id** | **String** | The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user. | |
141
141
 
142
142
  ### Return type
143
143
 
@@ -173,7 +173,7 @@ MoneyKit.configure do |config|
173
173
  end
174
174
 
175
175
  api_instance = MoneyKit::UsersApi.new
176
- id = 'id_example' # String | The unique ID for this user. This is the same ID provided in the call to <a href=#operation/create_link_session>/link-session</a> to create any link for this user.
176
+ id = 'id_example' # String | The unique ID for this user. This is the same ID provided in the call to <a href=/api/operation/create_link_session#customer_user-id>link-session</a> to create any link for this user.
177
177
  opts = {
178
178
  transaction_type: [MoneyKit::TransactionTypeFilter::CREDIT], # Array<TransactionTypeFilter> |
179
179
  category: ['inner_example'], # Array<String> |
@@ -181,8 +181,8 @@ opts = {
181
181
  institution_id: ['inner_example'], # Array<String> | If present, filters results to transactions at institutions matching the given IDs.
182
182
  page: 56, # Integer | The page number to return.
183
183
  size: 56, # Integer | The number of items to return per page.
184
- start_date: Date.parse('2013-10-20'), # Date | The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the `end_date`. <p>If you want to retrieve **all** transactions, use `1900-01-01`.
185
- end_date: Date.parse('2013-10-20') # Date | The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
184
+ start_date: Date.parse('2013-10-20'), # Date | The earliest date for which data should be returned, formatted as YYYY-MM-DD.
185
+ end_date: Date.parse('2013-10-20') # Date | The latest date for which data should be returned, formatted as YYYY-MM-DD.
186
186
  }
187
187
 
188
188
  begin
@@ -216,15 +216,15 @@ end
216
216
 
217
217
  | Name | Type | Description | Notes |
218
218
  | ---- | ---- | ----------- | ----- |
219
- | **id** | **String** | The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user. | |
219
+ | **id** | **String** | The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user. | |
220
220
  | **transaction_type** | [**Array&lt;TransactionTypeFilter&gt;**](TransactionTypeFilter.md) | | [optional] |
221
221
  | **category** | [**Array&lt;String&gt;**](String.md) | | [optional] |
222
222
  | **account_id** | [**Array&lt;String&gt;**](String.md) | If present, filters results to transactions in accounts matching the given IDs. | [optional] |
223
223
  | **institution_id** | [**Array&lt;String&gt;**](String.md) | If present, filters results to transactions at institutions matching the given IDs. | [optional] |
224
224
  | **page** | **Integer** | The page number to return. | [optional][default to 1] |
225
225
  | **size** | **Integer** | The number of items to return per page. | [optional][default to 50] |
226
- | **start_date** | **Date** | The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;. | [optional] |
227
- | **end_date** | **Date** | The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today. | [optional] |
226
+ | **start_date** | **Date** | The earliest date for which data should be returned, formatted as YYYY-MM-DD. | [optional] |
227
+ | **end_date** | **Date** | The latest date for which data should be returned, formatted as YYYY-MM-DD. | [optional] |
228
228
 
229
229
  ### Return type
230
230
 
@@ -99,23 +99,25 @@ module MoneyKit
99
99
  end
100
100
 
101
101
  # JSON Web Key Set
102
- # The JSON Web Key Set (JWKS) is a set of keys containing the public keys used to verify webhook JSON Web Tokens (JWT) issued by MoneyKit webhooks.
102
+ # The JSON Web Key Set (JWKS) is a set of keys containing the public keys used to verify JWTs in webhooks sent by MoneyKit. The JWKS should be cached, but MoneyKit rotates its webhook keys periodically, so if an incoming webhook's JWT has a key ID (`kid`) not contained in the cached JWKS, you should fetch and cache the updated JWKS using this endpoint.
103
103
  # @param [Hash] opts the optional parameters
104
104
  # @option opts [String] :x_client_id Your client ID.
105
+ # @option opts [String] :authorization (Deprecated) An access token obtained from &lt;a href&#x3D;#operation/create_access_token&gt;/auth/token&lt;/a&gt;. This method works but is deprecated in favor of using &#x60;X-Client-Id&#x60;.
105
106
  # @return [JWKSet]
106
- def get_app_jwks(opts = {})
107
- data, _status_code, _headers = get_app_jwks_with_http_info(opts)
107
+ def get_well_known_jwks(opts = {})
108
+ data, _status_code, _headers = get_well_known_jwks_with_http_info(opts)
108
109
  data
109
110
  end
110
111
 
111
112
  # JSON Web Key Set
112
- # The JSON Web Key Set (JWKS) is a set of keys containing the public keys used to verify webhook JSON Web Tokens (JWT) issued by MoneyKit webhooks.
113
+ # The JSON Web Key Set (JWKS) is a set of keys containing the public keys used to verify JWTs in webhooks sent by MoneyKit. The JWKS should be cached, but MoneyKit rotates its webhook keys periodically, so if an incoming webhook&#39;s JWT has a key ID (&#x60;kid&#x60;) not contained in the cached JWKS, you should fetch and cache the updated JWKS using this endpoint.
113
114
  # @param [Hash] opts the optional parameters
114
115
  # @option opts [String] :x_client_id Your client ID.
116
+ # @option opts [String] :authorization (Deprecated) An access token obtained from &lt;a href&#x3D;#operation/create_access_token&gt;/auth/token&lt;/a&gt;. This method works but is deprecated in favor of using &#x60;X-Client-Id&#x60;.
115
117
  # @return [Array<(JWKSet, Integer, Hash)>] JWKSet data, response status code and response headers
116
- def get_app_jwks_with_http_info(opts = {})
118
+ def get_well_known_jwks_with_http_info(opts = {})
117
119
  if @api_client.config.debugging
118
- @api_client.config.logger.debug 'Calling API: AccessTokenApi.get_app_jwks ...'
120
+ @api_client.config.logger.debug 'Calling API: AccessTokenApi.get_well_known_jwks ...'
119
121
  end
120
122
  # resource path
121
123
  local_var_path = '/.well-known/jwks.json'
@@ -128,6 +130,7 @@ module MoneyKit
128
130
  # HTTP header 'Accept' (if needed)
129
131
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
130
132
  header_params[:'X-Client-Id'] = opts[:'x_client_id'] if !opts[:'x_client_id'].nil?
133
+ header_params[:'Authorization'] = opts[:'authorization'] if !opts[:'authorization'].nil?
131
134
 
132
135
  # form parameters
133
136
  form_params = opts[:form_params] || {}
@@ -139,10 +142,10 @@ module MoneyKit
139
142
  return_type = opts[:debug_return_type] || 'JWKSet'
140
143
 
141
144
  # auth_names
142
- auth_names = opts[:debug_auth_names] || ['OAuth2ClientCredentials']
145
+ auth_names = opts[:debug_auth_names] || []
143
146
 
144
147
  new_options = opts.merge(
145
- :operation => :"AccessTokenApi.get_app_jwks",
148
+ :operation => :"AccessTokenApi.get_well_known_jwks",
146
149
  :header_params => header_params,
147
150
  :query_params => query_params,
148
151
  :form_params => form_params,
@@ -153,7 +156,7 @@ module MoneyKit
153
156
 
154
157
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
155
158
  if @api_client.config.debugging
156
- @api_client.config.logger.debug "API called: AccessTokenApi#get_app_jwks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
159
+ @api_client.config.logger.debug "API called: AccessTokenApi#get_well_known_jwks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
157
160
  end
158
161
  return data, status_code, headers
159
162
  end
@@ -219,7 +219,7 @@ module MoneyKit
219
219
 
220
220
  # /users/{id}/accounts
221
221
  # Fetches all accounts belonging to a <a href=#operation/get_user_accounts>user</a>.
222
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
222
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
223
223
  # @param [Hash] opts the optional parameters
224
224
  # @option opts [Array<String>] :account_ids If present, filters results to accounts matching the given IDs.
225
225
  # @option opts [Array<String>] :institution_ids If present, filters results to accounts at institutions matching the given IDs.
@@ -231,7 +231,7 @@ module MoneyKit
231
231
 
232
232
  # /users/{id}/accounts
233
233
  # Fetches all accounts belonging to a &lt;a href&#x3D;#operation/get_user_accounts&gt;user&lt;/a&gt;.
234
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
234
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
235
235
  # @param [Hash] opts the optional parameters
236
236
  # @option opts [Array<String>] :account_ids If present, filters results to accounts matching the given IDs.
237
237
  # @option opts [Array<String>] :institution_ids If present, filters results to accounts at institutions matching the given IDs.
@@ -20,7 +20,7 @@ module MoneyKit
20
20
  @api_client = api_client
21
21
  end
22
22
  # /links/{id}/identity
23
- # Returns account owner information from the institution, including names, emails, phone numbers, and addresses, for all permissioned accounts associated with a <a href=#tag/Links>link</a>. <p>Some fields may be empty, if not provided by the institution. <p>**Note** that this endpoint does **not** trigger a fetch of owner information from the institution; it merely returns owner information that has already been fetched, either because `prefetch` was requested when the link was created, or because of an on-demand update. **To force a check for new/updated owner information, you must use the <a href=#operation/refresh_products>/products</a> endpoint.** <p>If you have requested prefetch or an on-demand update, you should check the `refreshed_at` date for this product in the returned response, and compare that against the previous `refreshed_at` date, which you can get from any previous response for this or any other account or link request. If the refreshed_at date has not increased, then updated data is not yet available.
23
+ # Returns account owner information from the institution, including names, emails, phone numbers, and addresses, for all permissioned accounts associated with a <a href=#tag/Links>link</a>. This information will appear in the `owners` list in the `accounts` object. <p>Some fields may be empty, if not provided by the institution. <p>**Note** that this endpoint does **not** trigger a fetch of owner information from the institution; it merely returns owner information that has already been fetched, either because `prefetch` was requested when the link was created, or because of an on-demand update. **To force a check for new/updated owner information, you must use the <a href=#operation/refresh_products>/products</a> endpoint.** <p>If you have requested prefetch or an on-demand update, you should check the `refreshed_at` date for this product in the returned response, and compare that against the previous `refreshed_at` date, which you can get from any previous response for this or any other account or link request. If the refreshed_at date has not increased, then updated data is not yet available.
24
24
  # @param id [String] The unique ID for this link.
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
@@ -31,7 +31,7 @@ module MoneyKit
31
31
  end
32
32
 
33
33
  # /links/{id}/identity
34
- # Returns account owner information from the institution, including names, emails, phone numbers, and addresses, for all permissioned accounts associated with a &lt;a href&#x3D;#tag/Links&gt;link&lt;/a&gt;. &lt;p&gt;Some fields may be empty, if not provided by the institution. &lt;p&gt;**Note** that this endpoint does **not** trigger a fetch of owner information from the institution; it merely returns owner information that has already been fetched, either because &#x60;prefetch&#x60; was requested when the link was created, or because of an on-demand update. **To force a check for new/updated owner information, you must use the &lt;a href&#x3D;#operation/refresh_products&gt;/products&lt;/a&gt; endpoint.** &lt;p&gt;If you have requested prefetch or an on-demand update, you should check the &#x60;refreshed_at&#x60; date for this product in the returned response, and compare that against the previous &#x60;refreshed_at&#x60; date, which you can get from any previous response for this or any other account or link request. If the refreshed_at date has not increased, then updated data is not yet available.
34
+ # Returns account owner information from the institution, including names, emails, phone numbers, and addresses, for all permissioned accounts associated with a &lt;a href&#x3D;#tag/Links&gt;link&lt;/a&gt;. This information will appear in the &#x60;owners&#x60; list in the &#x60;accounts&#x60; object. &lt;p&gt;Some fields may be empty, if not provided by the institution. &lt;p&gt;**Note** that this endpoint does **not** trigger a fetch of owner information from the institution; it merely returns owner information that has already been fetched, either because &#x60;prefetch&#x60; was requested when the link was created, or because of an on-demand update. **To force a check for new/updated owner information, you must use the &lt;a href&#x3D;#operation/refresh_products&gt;/products&lt;/a&gt; endpoint.** &lt;p&gt;If you have requested prefetch or an on-demand update, you should check the &#x60;refreshed_at&#x60; date for this product in the returned response, and compare that against the previous &#x60;refreshed_at&#x60; date, which you can get from any previous response for this or any other account or link request. If the refreshed_at date has not increased, then updated data is not yet available.
35
35
  # @param id [String] The unique ID for this link.
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
@@ -92,8 +92,8 @@ module MoneyKit
92
92
  # @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
93
93
  # @option opts [Integer] :page The page number to return. (default to 1)
94
94
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
95
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
96
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
95
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
96
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
97
97
  # @return [GetInvestmentTransactionsResponse]
98
98
  def get_investment_transactions(id, opts = {})
99
99
  data, _status_code, _headers = get_investment_transactions_with_http_info(id, opts)
@@ -107,8 +107,8 @@ module MoneyKit
107
107
  # @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
108
108
  # @option opts [Integer] :page The page number to return. (default to 1)
109
109
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
110
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
111
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
110
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
111
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
112
112
  # @return [Array<(GetInvestmentTransactionsResponse, Integer, Hash)>] GetInvestmentTransactionsResponse data, response status code and response headers
113
113
  def get_investment_transactions_with_http_info(id, opts = {})
114
114
  if @api_client.config.debugging
@@ -86,7 +86,7 @@ module MoneyKit
86
86
  # Fetches details about a link.
87
87
  # @param id [String] The unique ID for this link.
88
88
  # @param [Hash] opts the optional parameters
89
- # @return [LinkResponse]
89
+ # @return [LinkCommon]
90
90
  def get_link(id, opts = {})
91
91
  data, _status_code, _headers = get_link_with_http_info(id, opts)
92
92
  data
@@ -96,7 +96,7 @@ module MoneyKit
96
96
  # Fetches details about a link.
97
97
  # @param id [String] The unique ID for this link.
98
98
  # @param [Hash] opts the optional parameters
99
- # @return [Array<(LinkResponse, Integer, Hash)>] LinkResponse data, response status code and response headers
99
+ # @return [Array<(LinkCommon, Integer, Hash)>] LinkCommon data, response status code and response headers
100
100
  def get_link_with_http_info(id, opts = {})
101
101
  if @api_client.config.debugging
102
102
  @api_client.config.logger.debug 'Calling API: LinksApi.get_link ...'
@@ -123,7 +123,7 @@ module MoneyKit
123
123
  post_body = opts[:debug_body]
124
124
 
125
125
  # return_type
126
- return_type = opts[:debug_return_type] || 'LinkResponse'
126
+ return_type = opts[:debug_return_type] || 'LinkCommon'
127
127
 
128
128
  # auth_names
129
129
  auth_names = opts[:debug_auth_names] || ['OAuth2ClientCredentials']
@@ -147,7 +147,7 @@ module MoneyKit
147
147
 
148
148
  # /users/{id}/links
149
149
  # Fetches all links belonging to a <a href=#operation/get_user_accounts>user</a>.
150
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
150
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
151
151
  # @param [Hash] opts the optional parameters
152
152
  # @return [GetUserLinksResponse]
153
153
  def get_user_links(id, opts = {})
@@ -157,7 +157,7 @@ module MoneyKit
157
157
 
158
158
  # /users/{id}/links
159
159
  # Fetches all links belonging to a &lt;a href&#x3D;#operation/get_user_accounts&gt;user&lt;/a&gt;.
160
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
160
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
161
161
  # @param [Hash] opts the optional parameters
162
162
  # @return [Array<(GetUserLinksResponse, Integer, Hash)>] GetUserLinksResponse data, response status code and response headers
163
163
  def get_user_links_with_http_info(id, opts = {})
@@ -209,20 +209,20 @@ module MoneyKit
209
209
  end
210
210
 
211
211
  # /links/import
212
- # Creates a new link with pre-populated accounts and transactions. The new link will be created in an initially `disconnected` state, with an error code of `auth_expired`, but all data will be available. As with any disconnected link, the imported link can then be reconnected at any time by starting a new <a href=#operation/create_link_session>/link-session</a> with `existing_link_id` set to the link's `link_id`. Note that the link can be reconnected using any suitable provider.
212
+ # Creates a new link with pre-populated accounts and transactions. The new link will be created in an initially `disconnected` state, with an error code of `auth_expired`, but all data will be available. As with any disconnected link, the imported link can then be reconnected at any time by starting a new <a href=#operation/create_link_session>/link-session</a> with `existing_link_id` set to the link's `link_id`. Note that the link can be reconnected using any suitable provider. <p> The imported data has a maximum size limit of 1MB, which corresponds very roughly to about 4000 transactions. The data is processed synchronously, so you can expect a delay of up to 10 seconds before the response is transmitted. You should set generous HTTP read timeouts to avoid disconnecting before the import is complete.
213
213
  # @param import_link_request [ImportLinkRequest]
214
214
  # @param [Hash] opts the optional parameters
215
- # @return [LinkResponse]
215
+ # @return [LinkCommon]
216
216
  def import_link(import_link_request, opts = {})
217
217
  data, _status_code, _headers = import_link_with_http_info(import_link_request, opts)
218
218
  data
219
219
  end
220
220
 
221
221
  # /links/import
222
- # Creates a new link with pre-populated accounts and transactions. The new link will be created in an initially &#x60;disconnected&#x60; state, with an error code of &#x60;auth_expired&#x60;, but all data will be available. As with any disconnected link, the imported link can then be reconnected at any time by starting a new &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; with &#x60;existing_link_id&#x60; set to the link&#39;s &#x60;link_id&#x60;. Note that the link can be reconnected using any suitable provider.
222
+ # Creates a new link with pre-populated accounts and transactions. The new link will be created in an initially &#x60;disconnected&#x60; state, with an error code of &#x60;auth_expired&#x60;, but all data will be available. As with any disconnected link, the imported link can then be reconnected at any time by starting a new &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; with &#x60;existing_link_id&#x60; set to the link&#39;s &#x60;link_id&#x60;. Note that the link can be reconnected using any suitable provider. &lt;p&gt; The imported data has a maximum size limit of 1MB, which corresponds very roughly to about 4000 transactions. The data is processed synchronously, so you can expect a delay of up to 10 seconds before the response is transmitted. You should set generous HTTP read timeouts to avoid disconnecting before the import is complete.
223
223
  # @param import_link_request [ImportLinkRequest]
224
224
  # @param [Hash] opts the optional parameters
225
- # @return [Array<(LinkResponse, Integer, Hash)>] LinkResponse data, response status code and response headers
225
+ # @return [Array<(LinkCommon, Integer, Hash)>] LinkCommon data, response status code and response headers
226
226
  def import_link_with_http_info(import_link_request, opts = {})
227
227
  if @api_client.config.debugging
228
228
  @api_client.config.logger.debug 'Calling API: LinksApi.import_link ...'
@@ -254,7 +254,7 @@ module MoneyKit
254
254
  post_body = opts[:debug_body] || @api_client.object_to_http_body(import_link_request)
255
255
 
256
256
  # return_type
257
- return_type = opts[:debug_return_type] || 'LinkResponse'
257
+ return_type = opts[:debug_return_type] || 'LinkCommon'
258
258
 
259
259
  # auth_names
260
260
  auth_names = opts[:debug_auth_names] || ['OAuth2ClientCredentials']
@@ -279,7 +279,7 @@ module MoneyKit
279
279
  # Force a \"relink required\" state on a link (Test only).
280
280
  # @param id [String] The unique ID for this link.
281
281
  # @param [Hash] opts the optional parameters
282
- # @return [LinkResponse]
282
+ # @return [LinkCommon]
283
283
  def reset_login(id, opts = {})
284
284
  data, _status_code, _headers = reset_login_with_http_info(id, opts)
285
285
  data
@@ -288,7 +288,7 @@ module MoneyKit
288
288
  # Force a \&quot;relink required\&quot; state on a link (Test only).
289
289
  # @param id [String] The unique ID for this link.
290
290
  # @param [Hash] opts the optional parameters
291
- # @return [Array<(LinkResponse, Integer, Hash)>] LinkResponse data, response status code and response headers
291
+ # @return [Array<(LinkCommon, Integer, Hash)>] LinkCommon data, response status code and response headers
292
292
  def reset_login_with_http_info(id, opts = {})
293
293
  if @api_client.config.debugging
294
294
  @api_client.config.logger.debug 'Calling API: LinksApi.reset_login ...'
@@ -315,7 +315,7 @@ module MoneyKit
315
315
  post_body = opts[:debug_body]
316
316
 
317
317
  # return_type
318
- return_type = opts[:debug_return_type] || 'LinkResponse'
318
+ return_type = opts[:debug_return_type] || 'LinkCommon'
319
319
 
320
320
  # auth_names
321
321
  auth_names = opts[:debug_auth_names] || ['OAuth2ClientCredentials']
@@ -342,7 +342,7 @@ module MoneyKit
342
342
  # @param id [String] The unique ID for this link.
343
343
  # @param update_link_request [UpdateLinkRequest]
344
344
  # @param [Hash] opts the optional parameters
345
- # @return [LinkResponse]
345
+ # @return [LinkCommon]
346
346
  def update_link(id, update_link_request, opts = {})
347
347
  data, _status_code, _headers = update_link_with_http_info(id, update_link_request, opts)
348
348
  data
@@ -353,7 +353,7 @@ module MoneyKit
353
353
  # @param id [String] The unique ID for this link.
354
354
  # @param update_link_request [UpdateLinkRequest]
355
355
  # @param [Hash] opts the optional parameters
356
- # @return [Array<(LinkResponse, Integer, Hash)>] LinkResponse data, response status code and response headers
356
+ # @return [Array<(LinkCommon, Integer, Hash)>] LinkCommon data, response status code and response headers
357
357
  def update_link_with_http_info(id, update_link_request, opts = {})
358
358
  if @api_client.config.debugging
359
359
  @api_client.config.logger.debug 'Calling API: LinksApi.update_link ...'
@@ -389,7 +389,7 @@ module MoneyKit
389
389
  post_body = opts[:debug_body] || @api_client.object_to_http_body(update_link_request)
390
390
 
391
391
  # return_type
392
- return_type = opts[:debug_return_type] || 'LinkResponse'
392
+ return_type = opts[:debug_return_type] || 'LinkCommon'
393
393
 
394
394
  # auth_names
395
395
  auth_names = opts[:debug_auth_names] || ['OAuth2ClientCredentials']
@@ -24,8 +24,8 @@ module MoneyKit
24
24
  # @param id [String] The unique ID for this link.
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
27
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
28
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
27
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
28
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
29
29
  # @option opts [Integer] :page The page number to return. (default to 1)
30
30
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
31
31
  # @return [GetTransactionsResponse]
@@ -39,8 +39,8 @@ module MoneyKit
39
39
  # @param id [String] The unique ID for this link.
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
42
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
43
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
42
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
43
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
44
44
  # @option opts [Integer] :page The page number to return. (default to 1)
45
45
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
46
46
  # @return [Array<(GetTransactionsResponse, Integer, Hash)>] GetTransactionsResponse data, response status code and response headers
@@ -110,7 +110,7 @@ module MoneyKit
110
110
  end
111
111
 
112
112
  # /links/{id}/transactions/sync
113
- # Provides a paginated feed of transactions, grouped into `created`, `updated`, and `removed` lists. <p>Each call will also return a `cursor.next` value. In subsequent calls, include that value to receive only changes that have occurred since the previous call. <p>**Pending** transactions will only be reported as `created`. Pending transactions are completely removed and replaced with each transaction refresh or update; no attempt is made to track their removal or modification. <p>Large numbers of transactions will be paginated, and the `has_more` field will be true. You should continue calling this endpoint with each new `cursor.next` value until `has_more` is false. <p>**Note** that this endpoint does **not** trigger a fetch of transactions from the institution; it merely returns transactions that have already been fetched, either because `prefetch` was requested when the link was created, or because of scheduled or on-demand updates. <p>MoneyKit checks for updated account data, including transactions, periodically throughout the day, but the update frequency can vary, depending on the downstream data provider, the institution, and whether one or both provide webhook-based updates. **To force a check for updated transactions, you can use the <a href=#operation/refresh_products>/products</a> endpoint.** <p>Note also that the `transactions.updates_available` webhook will alert you when new data is available.
113
+ # Provides a paginated feed of transactions, grouped into `created`, `updated`, and `removed` lists. <p>Each call will also return a `cursor.next` value. In subsequent calls, include that value to receive only changes that have occurred since the previous call. **Note** that these lists are **unordered**, so it is possible to get transactions with dates that precede those you've fetched in previous calls to this endpoint. Older transactions can be added, for example, when historical data becomes accessible later. <p>**Pending** transactions will only be reported as `created`. Pending transactions are completely removed and replaced with each transaction refresh or update; no attempt is made to track their removal or modification. Pending transactions will **not** be reported in the `removed` list. If you store pending transactions, you should remove and replace them entirely each time you fetch new transactions. <p>Large numbers of transactions will be paginated, and the `has_more` field will be true. You should continue calling this endpoint with each new `cursor.next` value until `has_more` is false. <p>**Note** that this endpoint does **not** trigger a fetch of transactions from the institution; it merely returns transactions that have already been fetched, either because `prefetch` was requested when the link was created, or because of scheduled or on-demand updates. <p>MoneyKit checks for updated account data, including transactions, periodically throughout the day, but the update frequency can vary, depending on the downstream data provider, the institution, and whether one or both provide webhook-based updates. **To force a check for updated transactions, you can use the <a href=#operation/refresh_products>/products</a> endpoint.** <p>Note also that the `transactions.updates_available` webhook will alert you when new data is available.
114
114
  # @param id [String] The unique ID for this link.
115
115
  # @param [Hash] opts the optional parameters
116
116
  # @option opts [String] :cursor A cursor value representing the last update requested. If included, the response will only return changes after this update. If omitted, a complete history of updates will be returned. This value must be stored by the client as we do not keep track of app cursors.
@@ -122,7 +122,7 @@ module MoneyKit
122
122
  end
123
123
 
124
124
  # /links/{id}/transactions/sync
125
- # Provides a paginated feed of transactions, grouped into &#x60;created&#x60;, &#x60;updated&#x60;, and &#x60;removed&#x60; lists. &lt;p&gt;Each call will also return a &#x60;cursor.next&#x60; value. In subsequent calls, include that value to receive only changes that have occurred since the previous call. &lt;p&gt;**Pending** transactions will only be reported as &#x60;created&#x60;. Pending transactions are completely removed and replaced with each transaction refresh or update; no attempt is made to track their removal or modification. &lt;p&gt;Large numbers of transactions will be paginated, and the &#x60;has_more&#x60; field will be true. You should continue calling this endpoint with each new &#x60;cursor.next&#x60; value until &#x60;has_more&#x60; is false. &lt;p&gt;**Note** that this endpoint does **not** trigger a fetch of transactions from the institution; it merely returns transactions that have already been fetched, either because &#x60;prefetch&#x60; was requested when the link was created, or because of scheduled or on-demand updates. &lt;p&gt;MoneyKit checks for updated account data, including transactions, periodically throughout the day, but the update frequency can vary, depending on the downstream data provider, the institution, and whether one or both provide webhook-based updates. **To force a check for updated transactions, you can use the &lt;a href&#x3D;#operation/refresh_products&gt;/products&lt;/a&gt; endpoint.** &lt;p&gt;Note also that the &#x60;transactions.updates_available&#x60; webhook will alert you when new data is available.
125
+ # Provides a paginated feed of transactions, grouped into &#x60;created&#x60;, &#x60;updated&#x60;, and &#x60;removed&#x60; lists. &lt;p&gt;Each call will also return a &#x60;cursor.next&#x60; value. In subsequent calls, include that value to receive only changes that have occurred since the previous call. **Note** that these lists are **unordered**, so it is possible to get transactions with dates that precede those you&#39;ve fetched in previous calls to this endpoint. Older transactions can be added, for example, when historical data becomes accessible later. &lt;p&gt;**Pending** transactions will only be reported as &#x60;created&#x60;. Pending transactions are completely removed and replaced with each transaction refresh or update; no attempt is made to track their removal or modification. Pending transactions will **not** be reported in the &#x60;removed&#x60; list. If you store pending transactions, you should remove and replace them entirely each time you fetch new transactions. &lt;p&gt;Large numbers of transactions will be paginated, and the &#x60;has_more&#x60; field will be true. You should continue calling this endpoint with each new &#x60;cursor.next&#x60; value until &#x60;has_more&#x60; is false. &lt;p&gt;**Note** that this endpoint does **not** trigger a fetch of transactions from the institution; it merely returns transactions that have already been fetched, either because &#x60;prefetch&#x60; was requested when the link was created, or because of scheduled or on-demand updates. &lt;p&gt;MoneyKit checks for updated account data, including transactions, periodically throughout the day, but the update frequency can vary, depending on the downstream data provider, the institution, and whether one or both provide webhook-based updates. **To force a check for updated transactions, you can use the &lt;a href&#x3D;#operation/refresh_products&gt;/products&lt;/a&gt; endpoint.** &lt;p&gt;Note also that the &#x60;transactions.updates_available&#x60; webhook will alert you when new data is available.
126
126
  # @param id [String] The unique ID for this link.
127
127
  # @param [Hash] opts the optional parameters
128
128
  # @option opts [String] :cursor A cursor value representing the last update requested. If included, the response will only return changes after this update. If omitted, a complete history of updates will be returned. This value must be stored by the client as we do not keep track of app cursors.
@@ -188,7 +188,7 @@ module MoneyKit
188
188
 
189
189
  # /users/{id}/transactions
190
190
  # Fetches transactions for a <a href=#operation/get_user_accounts>user</a>. <p>This endpoint fetches all transactions for a user across all of their links. You can use it to retrieve transactions from any or all accounts at once, regardless of which institution they belong to.
191
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
191
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
192
192
  # @param [Hash] opts the optional parameters
193
193
  # @option opts [Array<TransactionTypeFilter>] :transaction_type
194
194
  # @option opts [Array<String>] :category
@@ -196,8 +196,8 @@ module MoneyKit
196
196
  # @option opts [Array<String>] :institution_id If present, filters results to transactions at institutions matching the given IDs.
197
197
  # @option opts [Integer] :page The page number to return. (default to 1)
198
198
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
199
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
200
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
199
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
200
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
201
201
  # @return [GetUserTransactionsResponse]
202
202
  def get_user_transactions(id, opts = {})
203
203
  data, _status_code, _headers = get_user_transactions_with_http_info(id, opts)
@@ -206,7 +206,7 @@ module MoneyKit
206
206
 
207
207
  # /users/{id}/transactions
208
208
  # Fetches transactions for a &lt;a href&#x3D;#operation/get_user_accounts&gt;user&lt;/a&gt;. &lt;p&gt;This endpoint fetches all transactions for a user across all of their links. You can use it to retrieve transactions from any or all accounts at once, regardless of which institution they belong to.
209
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
209
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
210
210
  # @param [Hash] opts the optional parameters
211
211
  # @option opts [Array<TransactionTypeFilter>] :transaction_type
212
212
  # @option opts [Array<String>] :category
@@ -214,8 +214,8 @@ module MoneyKit
214
214
  # @option opts [Array<String>] :institution_id If present, filters results to transactions at institutions matching the given IDs.
215
215
  # @option opts [Integer] :page The page number to return. (default to 1)
216
216
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
217
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
218
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
217
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
218
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
219
219
  # @return [Array<(GetUserTransactionsResponse, Integer, Hash)>] GetUserTransactionsResponse data, response status code and response headers
220
220
  def get_user_transactions_with_http_info(id, opts = {})
221
221
  if @api_client.config.debugging
@@ -21,7 +21,7 @@ module MoneyKit
21
21
  end
22
22
  # /users/{id}/accounts
23
23
  # Fetches all accounts belonging to a <a href=#operation/get_user_accounts>user</a>.
24
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
24
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [Array<String>] :account_ids If present, filters results to accounts matching the given IDs.
27
27
  # @option opts [Array<String>] :institution_ids If present, filters results to accounts at institutions matching the given IDs.
@@ -33,7 +33,7 @@ module MoneyKit
33
33
 
34
34
  # /users/{id}/accounts
35
35
  # Fetches all accounts belonging to a &lt;a href&#x3D;#operation/get_user_accounts&gt;user&lt;/a&gt;.
36
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
36
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @option opts [Array<String>] :account_ids If present, filters results to accounts matching the given IDs.
39
39
  # @option opts [Array<String>] :institution_ids If present, filters results to accounts at institutions matching the given IDs.
@@ -90,7 +90,7 @@ module MoneyKit
90
90
 
91
91
  # /users/{id}/links
92
92
  # Fetches all links belonging to a <a href=#operation/get_user_accounts>user</a>.
93
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
93
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [GetUserLinksResponse]
96
96
  def get_user_links(id, opts = {})
@@ -100,7 +100,7 @@ module MoneyKit
100
100
 
101
101
  # /users/{id}/links
102
102
  # Fetches all links belonging to a &lt;a href&#x3D;#operation/get_user_accounts&gt;user&lt;/a&gt;.
103
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
103
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
104
104
  # @param [Hash] opts the optional parameters
105
105
  # @return [Array<(GetUserLinksResponse, Integer, Hash)>] GetUserLinksResponse data, response status code and response headers
106
106
  def get_user_links_with_http_info(id, opts = {})
@@ -153,7 +153,7 @@ module MoneyKit
153
153
 
154
154
  # /users/{id}/transactions
155
155
  # Fetches transactions for a <a href=#operation/get_user_accounts>user</a>. <p>This endpoint fetches all transactions for a user across all of their links. You can use it to retrieve transactions from any or all accounts at once, regardless of which institution they belong to.
156
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
156
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
157
157
  # @param [Hash] opts the optional parameters
158
158
  # @option opts [Array<TransactionTypeFilter>] :transaction_type
159
159
  # @option opts [Array<String>] :category
@@ -161,8 +161,8 @@ module MoneyKit
161
161
  # @option opts [Array<String>] :institution_id If present, filters results to transactions at institutions matching the given IDs.
162
162
  # @option opts [Integer] :page The page number to return. (default to 1)
163
163
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
164
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
165
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
164
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
165
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
166
166
  # @return [GetUserTransactionsResponse]
167
167
  def get_user_transactions(id, opts = {})
168
168
  data, _status_code, _headers = get_user_transactions_with_http_info(id, opts)
@@ -171,7 +171,7 @@ module MoneyKit
171
171
 
172
172
  # /users/{id}/transactions
173
173
  # Fetches transactions for a &lt;a href&#x3D;#operation/get_user_accounts&gt;user&lt;/a&gt;. &lt;p&gt;This endpoint fetches all transactions for a user across all of their links. You can use it to retrieve transactions from any or all accounts at once, regardless of which institution they belong to.
174
- # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;#operation/create_link_session&gt;/link-session&lt;/a&gt; to create any link for this user.
174
+ # @param id [String] The unique ID for this user. This is the same ID provided in the call to &lt;a href&#x3D;/api/operation/create_link_session#customer_user-id&gt;link-session&lt;/a&gt; to create any link for this user.
175
175
  # @param [Hash] opts the optional parameters
176
176
  # @option opts [Array<TransactionTypeFilter>] :transaction_type
177
177
  # @option opts [Array<String>] :category
@@ -179,8 +179,8 @@ module MoneyKit
179
179
  # @option opts [Array<String>] :institution_id If present, filters results to transactions at institutions matching the given IDs.
180
180
  # @option opts [Integer] :page The page number to return. (default to 1)
181
181
  # @option opts [Integer] :size The number of items to return per page. (default to 50)
182
- # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to 90 days before the &#x60;end_date&#x60;. &lt;p&gt;If you want to retrieve **all** transactions, use &#x60;1900-01-01&#x60;.
183
- # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD. Defaults to today.
182
+ # @option opts [Date] :start_date The earliest date for which data should be returned, formatted as YYYY-MM-DD.
183
+ # @option opts [Date] :end_date The latest date for which data should be returned, formatted as YYYY-MM-DD.
184
184
  # @return [Array<(GetUserTransactionsResponse, Integer, Hash)>] GetUserTransactionsResponse data, response status code and response headers
185
185
  def get_user_transactions_with_http_info(id, opts = {})
186
186
  if @api_client.config.debugging
@@ -302,7 +302,7 @@ module MoneyKit
302
302
  Time.parse data
303
303
  when 'Date'
304
304
  # parse date time (expecting ISO 8601 format)
305
- ::Date.parse data
305
+ Date.parse data
306
306
  when 'Object'
307
307
  # generic object (usually a Hash), return directly
308
308
  data
@@ -197,7 +197,7 @@ module MoneyKit
197
197
  when :Time
198
198
  Time.parse(value)
199
199
  when :Date
200
- Date.parse(value)
200
+ ::Date.parse(value)
201
201
  when :String
202
202
  value.to_s
203
203
  when :Integer