moneykit 0.0.1 → 0.0.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/README.md +3 -210
- data/lib/moneykit/api/institutions_api.rb +0 -66
- data/lib/moneykit/api/products_api.rb +5 -5
- data/lib/moneykit/api/transactions_api.rb +2 -2
- data/lib/moneykit/models/balances.rb +1 -1
- data/lib/moneykit/models/refresh_products_request.rb +1 -1
- data/lib/moneykit/version.rb +1 -1
- data/lib/moneykit.rb +0 -2
- metadata +4 -5
- data/moneykit-0.0.0.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3c26026f1d6c1a3ec0bbc2dd512ae656283b8ef3b39e0a36a91c5b9cc67c5e6
|
|
4
|
+
data.tar.gz: e3f2c80bb3f6714e1062a875691c52ae43d851569ebbc8c117a6f2a2a0658f5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e13debe304a59de0fa422dba5914d7c881ec5fcc2b0713cb7383ef85eaee1d13335785ddeb35a857251ae4d0e6617c52077dc89a124ce6fe583a0e18f5659ee
|
|
7
|
+
data.tar.gz: 1e08c9d24497f191e2b7fc259492acc57c5e567260150ce9803cbc33ed665bd1f316a3487480014cf51fc271030077a42d8e43f9c330a6b4f7fb45e6a291b184
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# MoneyKit
|
|
2
2
|
|
|
3
3
|
MoneyKit - the Ruby gem for the MoneyKit API
|
|
4
4
|
|
|
@@ -58,9 +58,8 @@ require 'moneykit'
|
|
|
58
58
|
|
|
59
59
|
# Setup authorization
|
|
60
60
|
MoneyKit.configure do |config|
|
|
61
|
-
# Configure
|
|
62
|
-
config.
|
|
63
|
-
config.password = 'YOUR_PASSWORD'
|
|
61
|
+
# Configure Bearer authorization
|
|
62
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
64
63
|
# Configure faraday connection
|
|
65
64
|
config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
|
|
66
65
|
end
|
|
@@ -83,209 +82,3 @@ rescue MoneyKit::ApiError => e
|
|
|
83
82
|
end
|
|
84
83
|
|
|
85
84
|
```
|
|
86
|
-
|
|
87
|
-
## Documentation for API Endpoints
|
|
88
|
-
|
|
89
|
-
All URIs are relative to *https://production.moneykit.com*
|
|
90
|
-
|
|
91
|
-
Class | Method | HTTP request | Description
|
|
92
|
-
------------ | ------------- | ------------- | -------------
|
|
93
|
-
*MoneyKit::AccessTokenApi* | [**generate_access_token**](docs/AccessTokenApi.md#generate_access_token) | **POST** /auth/token | /auth/token
|
|
94
|
-
*MoneyKit::AccessTokenApi* | [**get_well_known_jwks**](docs/AccessTokenApi.md#get_well_known_jwks) | **GET** /.well-known/jwks.json | JSON Web Key Set
|
|
95
|
-
*MoneyKit::AccessTokenApi* | [**instrospect_client**](docs/AccessTokenApi.md#instrospect_client) | **GET** /auth/introspect | /auth/introspect
|
|
96
|
-
*MoneyKit::AccountNumbersApi* | [**get_account_numbers**](docs/AccountNumbersApi.md#get_account_numbers) | **GET** /links/{id}/accounts/numbers | /links/{id}/accounts/numbers
|
|
97
|
-
*MoneyKit::AccountsApi* | [**get_account**](docs/AccountsApi.md#get_account) | **GET** /links/{id}/accounts/{account_id} | /links/{id}/accounts/{account_id}
|
|
98
|
-
*MoneyKit::AccountsApi* | [**get_account_numbers**](docs/AccountsApi.md#get_account_numbers) | **GET** /links/{id}/accounts/numbers | /links/{id}/accounts/numbers
|
|
99
|
-
*MoneyKit::AccountsApi* | [**get_accounts**](docs/AccountsApi.md#get_accounts) | **GET** /links/{id}/accounts | /links/{id}/accounts
|
|
100
|
-
*MoneyKit::AccountsApi* | [**get_user_accounts**](docs/AccountsApi.md#get_user_accounts) | **GET** /users/{id}/accounts | /users/{id}/accounts
|
|
101
|
-
*MoneyKit::IdentityApi* | [**get_identities**](docs/IdentityApi.md#get_identities) | **GET** /links/{id}/identity | /links/{id}/identity
|
|
102
|
-
*MoneyKit::InstitutionsApi* | [**get_institution**](docs/InstitutionsApi.md#get_institution) | **GET** /institutions/{institution_id} | /institutions/{institution_id}
|
|
103
|
-
*MoneyKit::InstitutionsApi* | [**get_institution_styling**](docs/InstitutionsApi.md#get_institution_styling) | **GET** /institutions/{institution_id}/styling | /institutions/{institution_id}/styling
|
|
104
|
-
*MoneyKit::InstitutionsApi* | [**get_institutions**](docs/InstitutionsApi.md#get_institutions) | **GET** /institutions | /institutions
|
|
105
|
-
*MoneyKit::LinkSessionApi* | [**create_link_session**](docs/LinkSessionApi.md#create_link_session) | **POST** /link-session | /link-session
|
|
106
|
-
*MoneyKit::LinkSessionApi* | [**exchange_token**](docs/LinkSessionApi.md#exchange_token) | **POST** /link-session/exchange-token | /link-session/exchange-token
|
|
107
|
-
*MoneyKit::LinksApi* | [**disconnect**](docs/LinksApi.md#disconnect) | **DELETE** /links/{id} | /links/{id}
|
|
108
|
-
*MoneyKit::LinksApi* | [**get_link**](docs/LinksApi.md#get_link) | **GET** /links/{id} | /links/{id}
|
|
109
|
-
*MoneyKit::LinksApi* | [**get_user_links**](docs/LinksApi.md#get_user_links) | **GET** /users/{id}/links | /users/{id}/links
|
|
110
|
-
*MoneyKit::LinksApi* | [**update_link**](docs/LinksApi.md#update_link) | **PATCH** /links/{id} | /links/{id}
|
|
111
|
-
*MoneyKit::ProductsApi* | [**refresh_products**](docs/ProductsApi.md#refresh_products) | **POST** /links/{id}/products | /links/{id}/products
|
|
112
|
-
*MoneyKit::TransactionsApi* | [**get_transactions**](docs/TransactionsApi.md#get_transactions) | **GET** /links/{id}/transactions | /links/{id}/transactions
|
|
113
|
-
*MoneyKit::TransactionsApi* | [**get_transactions_diff**](docs/TransactionsApi.md#get_transactions_diff) | **GET** /links/{id}/transactions/sync | /links/{id}/transactions/sync
|
|
114
|
-
*MoneyKit::TransactionsApi* | [**get_user_transactions**](docs/TransactionsApi.md#get_user_transactions) | **GET** /users/{id}/transactions | /users/{id}/transactions
|
|
115
|
-
*MoneyKit::UsersApi* | [**get_user_accounts**](docs/UsersApi.md#get_user_accounts) | **GET** /users/{id}/accounts | /users/{id}/accounts
|
|
116
|
-
*MoneyKit::UsersApi* | [**get_user_links**](docs/UsersApi.md#get_user_links) | **GET** /users/{id}/links | /users/{id}/links
|
|
117
|
-
*MoneyKit::UsersApi* | [**get_user_transactions**](docs/UsersApi.md#get_user_transactions) | **GET** /users/{id}/transactions | /users/{id}/transactions
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
## Documentation for Models
|
|
121
|
-
|
|
122
|
-
- [MoneyKit::APIErrorAuthExpiredAccessTokenResponse](docs/APIErrorAuthExpiredAccessTokenResponse.md)
|
|
123
|
-
- [MoneyKit::APIErrorAuthUnauthorizedResponse](docs/APIErrorAuthUnauthorizedResponse.md)
|
|
124
|
-
- [MoneyKit::APIErrorRateLimitExceededResponse](docs/APIErrorRateLimitExceededResponse.md)
|
|
125
|
-
- [MoneyKit::Account](docs/Account.md)
|
|
126
|
-
- [MoneyKit::AccountBalances](docs/AccountBalances.md)
|
|
127
|
-
- [MoneyKit::AccountGroup](docs/AccountGroup.md)
|
|
128
|
-
- [MoneyKit::AccountIdentity](docs/AccountIdentity.md)
|
|
129
|
-
- [MoneyKit::AccountNumbers](docs/AccountNumbers.md)
|
|
130
|
-
- [MoneyKit::AccountNumbersLinkProduct](docs/AccountNumbersLinkProduct.md)
|
|
131
|
-
- [MoneyKit::AccountNumbersProductSettings](docs/AccountNumbersProductSettings.md)
|
|
132
|
-
- [MoneyKit::AccountType](docs/AccountType.md)
|
|
133
|
-
- [MoneyKit::AccountWithAccountNumbers](docs/AccountWithAccountNumbers.md)
|
|
134
|
-
- [MoneyKit::AccountsLinkProduct](docs/AccountsLinkProduct.md)
|
|
135
|
-
- [MoneyKit::AchNumber](docs/AchNumber.md)
|
|
136
|
-
- [MoneyKit::Address](docs/Address.md)
|
|
137
|
-
- [MoneyKit::App](docs/App.md)
|
|
138
|
-
- [MoneyKit::BacsNumber](docs/BacsNumber.md)
|
|
139
|
-
- [MoneyKit::Balances](docs/Balances.md)
|
|
140
|
-
- [MoneyKit::BasicAccountDetails](docs/BasicAccountDetails.md)
|
|
141
|
-
- [MoneyKit::Country](docs/Country.md)
|
|
142
|
-
- [MoneyKit::CreateLinkSessionRequest](docs/CreateLinkSessionRequest.md)
|
|
143
|
-
- [MoneyKit::CreateLinkSessionResponse](docs/CreateLinkSessionResponse.md)
|
|
144
|
-
- [MoneyKit::Currency](docs/Currency.md)
|
|
145
|
-
- [MoneyKit::Cursor](docs/Cursor.md)
|
|
146
|
-
- [MoneyKit::CursorPagination](docs/CursorPagination.md)
|
|
147
|
-
- [MoneyKit::Cursors](docs/Cursors.md)
|
|
148
|
-
- [MoneyKit::CustomerApp](docs/CustomerApp.md)
|
|
149
|
-
- [MoneyKit::CustomerUser](docs/CustomerUser.md)
|
|
150
|
-
- [MoneyKit::EftNumber](docs/EftNumber.md)
|
|
151
|
-
- [MoneyKit::Email](docs/Email.md)
|
|
152
|
-
- [MoneyKit::Email1](docs/Email1.md)
|
|
153
|
-
- [MoneyKit::ExchangeTokenRequest](docs/ExchangeTokenRequest.md)
|
|
154
|
-
- [MoneyKit::ExchangeTokenResponse](docs/ExchangeTokenResponse.md)
|
|
155
|
-
- [MoneyKit::GenerateAccessTokenResponse](docs/GenerateAccessTokenResponse.md)
|
|
156
|
-
- [MoneyKit::GetAccountNumbersResponse](docs/GetAccountNumbersResponse.md)
|
|
157
|
-
- [MoneyKit::GetAccountResponse](docs/GetAccountResponse.md)
|
|
158
|
-
- [MoneyKit::GetAccountsResponse](docs/GetAccountsResponse.md)
|
|
159
|
-
- [MoneyKit::GetInstitutionsResponse](docs/GetInstitutionsResponse.md)
|
|
160
|
-
- [MoneyKit::GetTransactionsResponse](docs/GetTransactionsResponse.md)
|
|
161
|
-
- [MoneyKit::GetUserAccountsResponse](docs/GetUserAccountsResponse.md)
|
|
162
|
-
- [MoneyKit::GetUserLinksResponse](docs/GetUserLinksResponse.md)
|
|
163
|
-
- [MoneyKit::GetUserTransactionsResponse](docs/GetUserTransactionsResponse.md)
|
|
164
|
-
- [MoneyKit::HTTPValidationError](docs/HTTPValidationError.md)
|
|
165
|
-
- [MoneyKit::Identity](docs/Identity.md)
|
|
166
|
-
- [MoneyKit::IdentityLinkProduct](docs/IdentityLinkProduct.md)
|
|
167
|
-
- [MoneyKit::IdentityProductSettings](docs/IdentityProductSettings.md)
|
|
168
|
-
- [MoneyKit::IdentityResponse](docs/IdentityResponse.md)
|
|
169
|
-
- [MoneyKit::Institution](docs/Institution.md)
|
|
170
|
-
- [MoneyKit::InstitutionErrorNotFoundResponse](docs/InstitutionErrorNotFoundResponse.md)
|
|
171
|
-
- [MoneyKit::InstitutionStylingResponse](docs/InstitutionStylingResponse.md)
|
|
172
|
-
- [MoneyKit::InternationalNumber](docs/InternationalNumber.md)
|
|
173
|
-
- [MoneyKit::IntrospectClientResponse](docs/IntrospectClientResponse.md)
|
|
174
|
-
- [MoneyKit::JWKSet](docs/JWKSet.md)
|
|
175
|
-
- [MoneyKit::Link](docs/Link.md)
|
|
176
|
-
- [MoneyKit::Link1](docs/Link1.md)
|
|
177
|
-
- [MoneyKit::Link2](docs/Link2.md)
|
|
178
|
-
- [MoneyKit::Link3](docs/Link3.md)
|
|
179
|
-
- [MoneyKit::Link4](docs/Link4.md)
|
|
180
|
-
- [MoneyKit::LinkCommon](docs/LinkCommon.md)
|
|
181
|
-
- [MoneyKit::LinkError](docs/LinkError.md)
|
|
182
|
-
- [MoneyKit::LinkErrorBadStateResponse](docs/LinkErrorBadStateResponse.md)
|
|
183
|
-
- [MoneyKit::LinkErrorDeletedResponse](docs/LinkErrorDeletedResponse.md)
|
|
184
|
-
- [MoneyKit::LinkErrorForbiddenActionResponse](docs/LinkErrorForbiddenActionResponse.md)
|
|
185
|
-
- [MoneyKit::LinkErrorNotFoundResponse](docs/LinkErrorNotFoundResponse.md)
|
|
186
|
-
- [MoneyKit::LinkErrorUnauthorizedAccessResponse](docs/LinkErrorUnauthorizedAccessResponse.md)
|
|
187
|
-
- [MoneyKit::LinkPermissionScope](docs/LinkPermissionScope.md)
|
|
188
|
-
- [MoneyKit::LinkPermissions](docs/LinkPermissions.md)
|
|
189
|
-
- [MoneyKit::LinkProducts](docs/LinkProducts.md)
|
|
190
|
-
- [MoneyKit::LinkResponse](docs/LinkResponse.md)
|
|
191
|
-
- [MoneyKit::LinkSessionCustomerUser](docs/LinkSessionCustomerUser.md)
|
|
192
|
-
- [MoneyKit::LinkSessionCustomerUserEmail](docs/LinkSessionCustomerUserEmail.md)
|
|
193
|
-
- [MoneyKit::LinkSessionCustomerUserPhone](docs/LinkSessionCustomerUserPhone.md)
|
|
194
|
-
- [MoneyKit::LinkSessionErrorForbiddenConfigResponse](docs/LinkSessionErrorForbiddenConfigResponse.md)
|
|
195
|
-
- [MoneyKit::LinkSessionErrorInvalidTokenExchange](docs/LinkSessionErrorInvalidTokenExchange.md)
|
|
196
|
-
- [MoneyKit::LinkSessionSettingOverrides](docs/LinkSessionSettingOverrides.md)
|
|
197
|
-
- [MoneyKit::LinkState](docs/LinkState.md)
|
|
198
|
-
- [MoneyKit::LinkStateChangedWebhook](docs/LinkStateChangedWebhook.md)
|
|
199
|
-
- [MoneyKit::LocationInner](docs/LocationInner.md)
|
|
200
|
-
- [MoneyKit::MoneyKitEnv](docs/MoneyKitEnv.md)
|
|
201
|
-
- [MoneyKit::MoneyLinkFeatures](docs/MoneyLinkFeatures.md)
|
|
202
|
-
- [MoneyKit::MoneylinkFeatures](docs/MoneylinkFeatures.md)
|
|
203
|
-
- [MoneyKit::Numbers](docs/Numbers.md)
|
|
204
|
-
- [MoneyKit::Owner](docs/Owner.md)
|
|
205
|
-
- [MoneyKit::Phone](docs/Phone.md)
|
|
206
|
-
- [MoneyKit::PhoneNumber](docs/PhoneNumber.md)
|
|
207
|
-
- [MoneyKit::PhoneNumberType](docs/PhoneNumberType.md)
|
|
208
|
-
- [MoneyKit::Product](docs/Product.md)
|
|
209
|
-
- [MoneyKit::Products](docs/Products.md)
|
|
210
|
-
- [MoneyKit::Products1](docs/Products1.md)
|
|
211
|
-
- [MoneyKit::ProductsSettings](docs/ProductsSettings.md)
|
|
212
|
-
- [MoneyKit::Provider](docs/Provider.md)
|
|
213
|
-
- [MoneyKit::RefreshProductsRequest](docs/RefreshProductsRequest.md)
|
|
214
|
-
- [MoneyKit::RequestedLinkPermission](docs/RequestedLinkPermission.md)
|
|
215
|
-
- [MoneyKit::Response401DisconnectLinksIdDelete](docs/Response401DisconnectLinksIdDelete.md)
|
|
216
|
-
- [MoneyKit::Response401ExchangeTokenLinkSessionExchangeTokenPost](docs/Response401ExchangeTokenLinkSessionExchangeTokenPost.md)
|
|
217
|
-
- [MoneyKit::Response401GetAccountLinksIdAccountsAccountIdGet](docs/Response401GetAccountLinksIdAccountsAccountIdGet.md)
|
|
218
|
-
- [MoneyKit::Response401GetAccountNumbersLinksIdAccountsNumbersGet](docs/Response401GetAccountNumbersLinksIdAccountsNumbersGet.md)
|
|
219
|
-
- [MoneyKit::Response401GetAccountsLinksIdAccountsGet](docs/Response401GetAccountsLinksIdAccountsGet.md)
|
|
220
|
-
- [MoneyKit::Response401GetIdentitiesLinksIdIdentityGet](docs/Response401GetIdentitiesLinksIdIdentityGet.md)
|
|
221
|
-
- [MoneyKit::Response401GetInstitutionInstitutionsInstitutionIdGet](docs/Response401GetInstitutionInstitutionsInstitutionIdGet.md)
|
|
222
|
-
- [MoneyKit::Response401GetInstitutionStylingInstitutionsInstitutionIdStylingGet](docs/Response401GetInstitutionStylingInstitutionsInstitutionIdStylingGet.md)
|
|
223
|
-
- [MoneyKit::Response401GetInstitutionsInstitutionsGet](docs/Response401GetInstitutionsInstitutionsGet.md)
|
|
224
|
-
- [MoneyKit::Response401GetLinkLinksIdGet](docs/Response401GetLinkLinksIdGet.md)
|
|
225
|
-
- [MoneyKit::Response401GetTransactionsDiffLinksIdTransactionsSyncGet](docs/Response401GetTransactionsDiffLinksIdTransactionsSyncGet.md)
|
|
226
|
-
- [MoneyKit::Response401GetTransactionsLinksIdTransactionsGet](docs/Response401GetTransactionsLinksIdTransactionsGet.md)
|
|
227
|
-
- [MoneyKit::Response401GetUserAccountsUsersIdAccountsGet](docs/Response401GetUserAccountsUsersIdAccountsGet.md)
|
|
228
|
-
- [MoneyKit::Response401GetUserLinksUsersIdLinksGet](docs/Response401GetUserLinksUsersIdLinksGet.md)
|
|
229
|
-
- [MoneyKit::Response401GetUserTransactionsUsersIdTransactionsGet](docs/Response401GetUserTransactionsUsersIdTransactionsGet.md)
|
|
230
|
-
- [MoneyKit::Response401GetWellKnownJwksWellKnownJwksJsonGet](docs/Response401GetWellKnownJwksWellKnownJwksJsonGet.md)
|
|
231
|
-
- [MoneyKit::Response401InstrospectClientAuthIntrospectGet](docs/Response401InstrospectClientAuthIntrospectGet.md)
|
|
232
|
-
- [MoneyKit::Response401RefreshProductsLinksIdProductsPost](docs/Response401RefreshProductsLinksIdProductsPost.md)
|
|
233
|
-
- [MoneyKit::Response401UpdateLinkLinksIdPatch](docs/Response401UpdateLinkLinksIdPatch.md)
|
|
234
|
-
- [MoneyKit::Settings](docs/Settings.md)
|
|
235
|
-
- [MoneyKit::SupportedVersion](docs/SupportedVersion.md)
|
|
236
|
-
- [MoneyKit::Transaction](docs/Transaction.md)
|
|
237
|
-
- [MoneyKit::TransactionDiff](docs/TransactionDiff.md)
|
|
238
|
-
- [MoneyKit::TransactionSyncResponse](docs/TransactionSyncResponse.md)
|
|
239
|
-
- [MoneyKit::TransactionType](docs/TransactionType.md)
|
|
240
|
-
- [MoneyKit::TransactionTypeFilter](docs/TransactionTypeFilter.md)
|
|
241
|
-
- [MoneyKit::Transactions](docs/Transactions.md)
|
|
242
|
-
- [MoneyKit::Transactions1](docs/Transactions1.md)
|
|
243
|
-
- [MoneyKit::TransactionsLinkProduct](docs/TransactionsLinkProduct.md)
|
|
244
|
-
- [MoneyKit::TransactionsProductSettings](docs/TransactionsProductSettings.md)
|
|
245
|
-
- [MoneyKit::UpdateLinkRequest](docs/UpdateLinkRequest.md)
|
|
246
|
-
- [MoneyKit::UserAccountsOut](docs/UserAccountsOut.md)
|
|
247
|
-
- [MoneyKit::UserLinksOut](docs/UserLinksOut.md)
|
|
248
|
-
- [MoneyKit::UserTransactionsPagedResponse](docs/UserTransactionsPagedResponse.md)
|
|
249
|
-
- [MoneyKit::ValidationError](docs/ValidationError.md)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
## Documentation for Authorization
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
### OAuth2ClientCredentials
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
- **Type**: OAuth
|
|
259
|
-
- **Flow**: application
|
|
260
|
-
- **Authorization URL**:
|
|
261
|
-
- **Scopes**:
|
|
262
|
-
- link_session:create: Client can create a Link Session for MoneyLink SDKs
|
|
263
|
-
- link_session:tags:moneykit_reserved: Client can use Link tags that contain reserved MoneyKit prefixes
|
|
264
|
-
- link_session:features:bug_reporter: Client can enable in-sdk bug reporter on a Link Session
|
|
265
|
-
- link_session:features:money_id: Client can enable in-sdk Money ID login/registration on a Link Session
|
|
266
|
-
- link_session:features:provider_sandbox_institutions: Client can select non-MoneyKit institutions in sandbox
|
|
267
|
-
- link:data:read: Client can read all data associated with a Link (accounts, transactions, auth, identity etc)
|
|
268
|
-
- link:data:refresh: Client can trigger a manual refresh of data associated with a Link
|
|
269
|
-
- link:delete: Client can delete a Link
|
|
270
|
-
- institutions:read: Client can fetch institutions
|
|
271
|
-
- institutions:assets:read: Client can include assets when fetching institutions
|
|
272
|
-
- api_compatibility:plaid: Client can access Plaid compatible API layer
|
|
273
|
-
|
|
274
|
-
### clientId
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
- **Type**: API key
|
|
278
|
-
- **API key parameter name**: Client-Id
|
|
279
|
-
- **Location**: HTTP header
|
|
280
|
-
|
|
281
|
-
### clientSecret
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
- **Type**: API key
|
|
285
|
-
- **API key parameter name**: Client-Secret
|
|
286
|
-
- **Location**: HTTP header
|
|
287
|
-
|
|
288
|
-
### HTTPBasic
|
|
289
|
-
|
|
290
|
-
- **Type**: HTTP basic authentication
|
|
291
|
-
|
|
@@ -85,72 +85,6 @@ module MoneyKit
|
|
|
85
85
|
return data, status_code, headers
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
# /institutions/{institution_id}/styling
|
|
89
|
-
# Fetches institution styling for a single institution.
|
|
90
|
-
# @param institution_id [String] The institution ID to fetch.
|
|
91
|
-
# @param [Hash] opts the optional parameters
|
|
92
|
-
# @option opts [SupportedVersion] :moneykit_version
|
|
93
|
-
# @return [InstitutionStylingResponse]
|
|
94
|
-
def get_institution_styling(institution_id, opts = {})
|
|
95
|
-
data, _status_code, _headers = get_institution_styling_with_http_info(institution_id, opts)
|
|
96
|
-
data
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
# /institutions/{institution_id}/styling
|
|
100
|
-
# Fetches institution styling for a single institution.
|
|
101
|
-
# @param institution_id [String] The institution ID to fetch.
|
|
102
|
-
# @param [Hash] opts the optional parameters
|
|
103
|
-
# @option opts [SupportedVersion] :moneykit_version
|
|
104
|
-
# @return [Array<(InstitutionStylingResponse, Integer, Hash)>] InstitutionStylingResponse data, response status code and response headers
|
|
105
|
-
def get_institution_styling_with_http_info(institution_id, opts = {})
|
|
106
|
-
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API: InstitutionsApi.get_institution_styling ...'
|
|
108
|
-
end
|
|
109
|
-
# verify the required parameter 'institution_id' is set
|
|
110
|
-
if @api_client.config.client_side_validation && institution_id.nil?
|
|
111
|
-
fail ArgumentError, "Missing the required parameter 'institution_id' when calling InstitutionsApi.get_institution_styling"
|
|
112
|
-
end
|
|
113
|
-
# resource path
|
|
114
|
-
local_var_path = '/institutions/{institution_id}/styling'.sub('{' + 'institution_id' + '}', CGI.escape(institution_id.to_s))
|
|
115
|
-
|
|
116
|
-
# query parameters
|
|
117
|
-
query_params = opts[:query_params] || {}
|
|
118
|
-
|
|
119
|
-
# header parameters
|
|
120
|
-
header_params = opts[:header_params] || {}
|
|
121
|
-
# HTTP header 'Accept' (if needed)
|
|
122
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
123
|
-
header_params[:'moneykit-version'] = opts[:'moneykit_version'] if !opts[:'moneykit_version'].nil?
|
|
124
|
-
|
|
125
|
-
# form parameters
|
|
126
|
-
form_params = opts[:form_params] || {}
|
|
127
|
-
|
|
128
|
-
# http body (model)
|
|
129
|
-
post_body = opts[:debug_body]
|
|
130
|
-
|
|
131
|
-
# return_type
|
|
132
|
-
return_type = opts[:debug_return_type] || 'InstitutionStylingResponse'
|
|
133
|
-
|
|
134
|
-
# auth_names
|
|
135
|
-
auth_names = opts[:debug_auth_names] || ['clientId', 'OAuth2ClientCredentials', 'clientSecret']
|
|
136
|
-
|
|
137
|
-
new_options = opts.merge(
|
|
138
|
-
:operation => :"InstitutionsApi.get_institution_styling",
|
|
139
|
-
:header_params => header_params,
|
|
140
|
-
:query_params => query_params,
|
|
141
|
-
:form_params => form_params,
|
|
142
|
-
:body => post_body,
|
|
143
|
-
:auth_names => auth_names,
|
|
144
|
-
:return_type => return_type
|
|
145
|
-
)
|
|
146
|
-
|
|
147
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
148
|
-
if @api_client.config.debugging
|
|
149
|
-
@api_client.config.logger.debug "API called: InstitutionsApi#get_institution_styling\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
150
|
-
end
|
|
151
|
-
return data, status_code, headers
|
|
152
|
-
end
|
|
153
|
-
|
|
154
88
|
# /institutions
|
|
155
89
|
# Fetches a list of institutions, optionally filtered by name. Results are paginated.
|
|
156
90
|
# @param [Hash] opts the optional parameters
|
|
@@ -25,10 +25,10 @@ module MoneyKit
|
|
|
25
25
|
# @param refresh_products_request [RefreshProductsRequest]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @option opts [SupportedVersion] :moneykit_version
|
|
28
|
-
# @return [
|
|
28
|
+
# @return [nil]
|
|
29
29
|
def refresh_products(id, refresh_products_request, opts = {})
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
refresh_products_with_http_info(id, refresh_products_request, opts)
|
|
31
|
+
nil
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
# /links/{id}/products
|
|
@@ -37,7 +37,7 @@ module MoneyKit
|
|
|
37
37
|
# @param refresh_products_request [RefreshProductsRequest]
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
39
|
# @option opts [SupportedVersion] :moneykit_version
|
|
40
|
-
# @return [Array<(
|
|
40
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
41
41
|
def refresh_products_with_http_info(id, refresh_products_request, opts = {})
|
|
42
42
|
if @api_client.config.debugging
|
|
43
43
|
@api_client.config.logger.debug 'Calling API: ProductsApi.refresh_products ...'
|
|
@@ -74,7 +74,7 @@ module MoneyKit
|
|
|
74
74
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(refresh_products_request)
|
|
75
75
|
|
|
76
76
|
# return_type
|
|
77
|
-
return_type = opts[:debug_return_type]
|
|
77
|
+
return_type = opts[:debug_return_type]
|
|
78
78
|
|
|
79
79
|
# auth_names
|
|
80
80
|
auth_names = opts[:debug_auth_names] || ['clientId', 'OAuth2ClientCredentials', 'clientSecret']
|
|
@@ -20,7 +20,7 @@ module MoneyKit
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# /links/{id}/transactions
|
|
23
|
-
# Fetches transactions for the accounts associated with a <a href=#tag/Links>link</a>. Results are paginated, and returned in reverse chronological order. <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 and the institution. To force a check for updated transactions, you can use the <a href=#operation/
|
|
23
|
+
# Fetches transactions for the accounts associated with a <a href=#tag/Links>link</a>. Results are paginated, and returned in reverse chronological order. <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 and the institution. To force a check for updated transactions, you can use the <a href=#operation/refresh_products>/products</a> endpoint.
|
|
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.
|
|
@@ -36,7 +36,7 @@ module MoneyKit
|
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
# /links/{id}/transactions
|
|
39
|
-
# Fetches transactions for the accounts associated with a <a href=#tag/Links>link</a>. Results are paginated, and returned in reverse chronological order. <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 and the institution. To force a check for updated transactions, you can use the <a href=#operation/
|
|
39
|
+
# Fetches transactions for the accounts associated with a <a href=#tag/Links>link</a>. Results are paginated, and returned in reverse chronological order. <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 and the institution. To force a check for updated transactions, you can use the <a href=#operation/refresh_products>/products</a> endpoint.
|
|
40
40
|
# @param id [String] The unique ID for this link.
|
|
41
41
|
# @param [Hash] opts the optional parameters
|
|
42
42
|
# @option opts [Array<String>] :account_ids An optional list of account IDs to filter the results.
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module MoneyKit
|
|
17
|
-
# The balance of funds for this account. Note that balances are typically cached and may lag behind actual values at the institution. To update balances, please use the <a href=#operation/
|
|
17
|
+
# The balance of funds for this account. Note that balances are typically cached and may lag behind actual values at the institution. To update balances, please use the <a href=#operation/refresh_products>/products</a> endpoint.
|
|
18
18
|
class Balances
|
|
19
19
|
attr_accessor :currency
|
|
20
20
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module MoneyKit
|
|
17
17
|
class RefreshProductsRequest
|
|
18
|
-
#
|
|
18
|
+
# At list of at least one product to refresh.
|
|
19
19
|
attr_accessor :products
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
data/lib/moneykit/version.rb
CHANGED
data/lib/moneykit.rb
CHANGED
|
@@ -69,7 +69,6 @@ require 'moneykit/models/identity_product_settings'
|
|
|
69
69
|
require 'moneykit/models/identity_response'
|
|
70
70
|
require 'moneykit/models/institution'
|
|
71
71
|
require 'moneykit/models/institution_error_not_found_response'
|
|
72
|
-
require 'moneykit/models/institution_styling_response'
|
|
73
72
|
require 'moneykit/models/international_number'
|
|
74
73
|
require 'moneykit/models/introspect_client_response'
|
|
75
74
|
require 'moneykit/models/jwk_set'
|
|
@@ -120,7 +119,6 @@ require 'moneykit/models/response401_get_account_numbers_links_id_accounts_numbe
|
|
|
120
119
|
require 'moneykit/models/response401_get_accounts_links_id_accounts_get'
|
|
121
120
|
require 'moneykit/models/response401_get_identities_links_id_identity_get'
|
|
122
121
|
require 'moneykit/models/response401_get_institution_institutions_institution_id_get'
|
|
123
|
-
require 'moneykit/models/response401_get_institution_styling_institutions_institution_id_styling_get'
|
|
124
122
|
require 'moneykit/models/response401_get_institutions_institutions_get'
|
|
125
123
|
require 'moneykit/models/response401_get_link_links_id_get'
|
|
126
124
|
require 'moneykit/models/response401_get_transactions_diff_links_id_transactions_sync_get'
|
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: moneykit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MoneyKit
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2023-05-04 00:00:00.000000000 Z
|
|
@@ -281,13 +281,12 @@ files:
|
|
|
281
281
|
- lib/plaid_compatible/money_kit_plaid_compatible/models/validation_error.rb
|
|
282
282
|
- lib/plaid_compatible/money_kit_plaid_compatible/models/webhook_environment_values.rb
|
|
283
283
|
- lib/plaid_compatible/money_kit_plaid_compatible/version.rb
|
|
284
|
-
- moneykit-0.0.0.gem
|
|
285
284
|
- moneykit.gemspec
|
|
286
285
|
homepage: https://github.com/moneykit/moneykit-ruby
|
|
287
286
|
licenses:
|
|
288
287
|
- Unlicense
|
|
289
288
|
metadata: {}
|
|
290
|
-
post_install_message:
|
|
289
|
+
post_install_message:
|
|
291
290
|
rdoc_options: []
|
|
292
291
|
require_paths:
|
|
293
292
|
- lib
|
|
@@ -303,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
303
302
|
version: '0'
|
|
304
303
|
requirements: []
|
|
305
304
|
rubygems_version: 3.4.10
|
|
306
|
-
signing_key:
|
|
305
|
+
signing_key:
|
|
307
306
|
specification_version: 4
|
|
308
307
|
summary: MoneyKit API Ruby Gem
|
|
309
308
|
test_files: []
|
data/moneykit-0.0.0.gem
DELETED
|
Binary file
|