ynab 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +24 -24
- data/Rakefile +1 -1
- data/config.json +1 -1
- data/docs/AccountsApi.md +0 -76
- data/docs/BudgetsApi.md +0 -74
- data/docs/CategoriesApi.md +0 -76
- data/docs/CurrencyFormat.md +8 -1
- data/docs/DateFormat.md +1 -1
- data/docs/HybridTransaction.md +3 -0
- data/docs/MonthsApi.md +0 -76
- data/docs/PayeeLocationsApi.md +0 -115
- data/docs/PayeesApi.md +0 -76
- data/docs/ScheduledTransactionsApi.md +0 -76
- data/docs/TransactionsApi.md +0 -325
- data/docs/UserApi.md +0 -34
- data/lib/ynab/api/accounts_api.rb +8 -10
- data/lib/ynab/api/budgets_api.rb +8 -10
- data/lib/ynab/api/categories_api.rb +8 -10
- data/lib/ynab/api/months_api.rb +8 -10
- data/lib/ynab/api/payee_locations_api.rb +11 -14
- data/lib/ynab/api/payees_api.rb +8 -10
- data/lib/ynab/api/scheduled_transactions_api.rb +8 -10
- data/lib/ynab/api/transactions_api.rb +26 -34
- data/lib/ynab/api/user_api.rb +5 -6
- data/lib/ynab/api_client.rb +1 -1
- data/lib/ynab/api_error.rb +1 -1
- data/lib/ynab/configuration.rb +2 -2
- data/lib/ynab/models/account.rb +18 -22
- data/lib/ynab/models/account_response.rb +7 -12
- data/lib/ynab/models/account_wrapper.rb +7 -12
- data/lib/ynab/models/accounts_response.rb +7 -12
- data/lib/ynab/models/accounts_wrapper.rb +7 -12
- data/lib/ynab/models/budget_detail.rb +8 -13
- data/lib/ynab/models/budget_detail_response.rb +7 -12
- data/lib/ynab/models/budget_detail_wrapper.rb +8 -13
- data/lib/ynab/models/budget_summary.rb +8 -13
- data/lib/ynab/models/budget_summary_response.rb +7 -12
- data/lib/ynab/models/budget_summary_wrapper.rb +7 -12
- data/lib/ynab/models/bulk_id_wrapper.rb +7 -12
- data/lib/ynab/models/bulk_ids.rb +8 -13
- data/lib/ynab/models/bulk_response.rb +7 -12
- data/lib/ynab/models/bulk_transactions.rb +7 -12
- data/lib/ynab/models/categories_response.rb +7 -12
- data/lib/ynab/models/category.rb +14 -19
- data/lib/ynab/models/category_group.rb +9 -14
- data/lib/ynab/models/category_group_with_categories.rb +10 -15
- data/lib/ynab/models/category_groups_wrapper.rb +7 -12
- data/lib/ynab/models/category_response.rb +7 -12
- data/lib/ynab/models/category_wrapper.rb +7 -12
- data/lib/ynab/models/currency_format.rb +112 -19
- data/lib/ynab/models/date_format.rb +16 -21
- data/lib/ynab/models/error_detail.rb +9 -14
- data/lib/ynab/models/error_response.rb +7 -12
- data/lib/ynab/models/hybrid_transaction.rb +74 -36
- data/lib/ynab/models/hybrid_transactions_response.rb +7 -12
- data/lib/ynab/models/hybrid_transactions_wrapper.rb +7 -12
- data/lib/ynab/models/month_detail.rb +11 -16
- data/lib/ynab/models/month_detail_response.rb +7 -12
- data/lib/ynab/models/month_detail_wrapper.rb +7 -12
- data/lib/ynab/models/month_summaries_response.rb +7 -12
- data/lib/ynab/models/month_summaries_wrapper.rb +7 -12
- data/lib/ynab/models/month_summary.rb +10 -15
- data/lib/ynab/models/payee.rb +9 -14
- data/lib/ynab/models/payee_location.rb +10 -15
- data/lib/ynab/models/payee_location_response.rb +7 -12
- data/lib/ynab/models/payee_location_wrapper.rb +7 -12
- data/lib/ynab/models/payee_locations_response.rb +7 -12
- data/lib/ynab/models/payee_locations_wrapper.rb +7 -12
- data/lib/ynab/models/payee_response.rb +7 -12
- data/lib/ynab/models/payee_wrapper.rb +7 -12
- data/lib/ynab/models/payees_response.rb +7 -12
- data/lib/ynab/models/payees_wrapper.rb +7 -12
- data/lib/ynab/models/save_transaction.rb +15 -19
- data/lib/ynab/models/save_transaction_wrapper.rb +7 -12
- data/lib/ynab/models/scheduled_sub_transaction.rb +13 -18
- data/lib/ynab/models/scheduled_transaction_detail.rb +27 -31
- data/lib/ynab/models/scheduled_transaction_response.rb +7 -12
- data/lib/ynab/models/scheduled_transaction_summary.rb +23 -27
- data/lib/ynab/models/scheduled_transaction_wrapper.rb +7 -12
- data/lib/ynab/models/scheduled_transactions_response.rb +7 -12
- data/lib/ynab/models/scheduled_transactions_wrapper.rb +7 -12
- data/lib/ynab/models/sub_transaction.rb +13 -18
- data/lib/ynab/models/transaction_detail.rb +28 -32
- data/lib/ynab/models/transaction_response.rb +7 -12
- data/lib/ynab/models/transaction_summary.rb +24 -28
- data/lib/ynab/models/transaction_wrapper.rb +7 -12
- data/lib/ynab/models/transactions_response.rb +7 -12
- data/lib/ynab/models/transactions_wrapper.rb +7 -12
- data/lib/ynab/models/user.rb +7 -12
- data/lib/ynab/models/user_response.rb +7 -12
- data/lib/ynab/models/user_wrapper.rb +7 -12
- data/lib/ynab/version.rb +2 -2
- data/spec-v1-swagger.json +50 -5
- data/swagger-templates/api_doc.mustache +32 -0
- data/ynab.gemspec +1 -1
- metadata +4 -3
data/lib/ynab/version.rb
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
OpenAPI spec version: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.
|
9
|
+
Swagger Codegen version: 2.4.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module YnabApi
|
14
|
-
VERSION =
|
14
|
+
VERSION = '0.7.0'
|
15
15
|
end
|
data/spec-v1-swagger.json
CHANGED
@@ -1254,19 +1254,49 @@
|
|
1254
1254
|
},
|
1255
1255
|
"DateFormat": {
|
1256
1256
|
"type": "object",
|
1257
|
-
"required": ["
|
1257
|
+
"required": ["format"],
|
1258
1258
|
"properties": {
|
1259
|
-
"
|
1259
|
+
"format": {
|
1260
1260
|
"type": "string"
|
1261
1261
|
}
|
1262
1262
|
}
|
1263
1263
|
},
|
1264
1264
|
"CurrencyFormat": {
|
1265
1265
|
"type": "object",
|
1266
|
-
"required": [
|
1266
|
+
"required": [
|
1267
|
+
"iso_code",
|
1268
|
+
"example_format",
|
1269
|
+
"decimal_digits",
|
1270
|
+
"decimal_separator",
|
1271
|
+
"symbol_first",
|
1272
|
+
"group_separator",
|
1273
|
+
"currency_symbol",
|
1274
|
+
"display_symbol"
|
1275
|
+
],
|
1267
1276
|
"properties": {
|
1268
|
-
"
|
1277
|
+
"iso_code": {
|
1278
|
+
"type": "string"
|
1279
|
+
},
|
1280
|
+
"example_format": {
|
1281
|
+
"type": "string"
|
1282
|
+
},
|
1283
|
+
"decimal_digits": {
|
1284
|
+
"type": "string"
|
1285
|
+
},
|
1286
|
+
"decimal_separator": {
|
1269
1287
|
"type": "string"
|
1288
|
+
},
|
1289
|
+
"symbol_first": {
|
1290
|
+
"type": "boolean"
|
1291
|
+
},
|
1292
|
+
"group_separator": {
|
1293
|
+
"type": "string"
|
1294
|
+
},
|
1295
|
+
"currency_symbol": {
|
1296
|
+
"type": "string"
|
1297
|
+
},
|
1298
|
+
"display_symbol": {
|
1299
|
+
"type": "boolean"
|
1270
1300
|
}
|
1271
1301
|
}
|
1272
1302
|
},
|
@@ -1857,7 +1887,13 @@
|
|
1857
1887
|
},
|
1858
1888
|
{
|
1859
1889
|
"type": "object",
|
1860
|
-
"required": [
|
1890
|
+
"required": [
|
1891
|
+
"type",
|
1892
|
+
"parent_transaction_id",
|
1893
|
+
"account_name",
|
1894
|
+
"payee_name",
|
1895
|
+
"category_name"
|
1896
|
+
],
|
1861
1897
|
"properties": {
|
1862
1898
|
"type": {
|
1863
1899
|
"type": "string",
|
@@ -1870,6 +1906,15 @@
|
|
1870
1906
|
"format": "uuid",
|
1871
1907
|
"description":
|
1872
1908
|
"For subtransaction types, this is the id of the pararent transaction. For transaction types, this id will be always be null."
|
1909
|
+
},
|
1910
|
+
"account_name": {
|
1911
|
+
"type": "string"
|
1912
|
+
},
|
1913
|
+
"payee_name": {
|
1914
|
+
"type": "string"
|
1915
|
+
},
|
1916
|
+
"category_name": {
|
1917
|
+
"type": "string"
|
1873
1918
|
}
|
1874
1919
|
}
|
1875
1920
|
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# {{moduleName}}::{{classname}}{{#description}}
|
2
|
+
{{description}}{{/description}}
|
3
|
+
|
4
|
+
All URIs are relative to *{{basePath}}*
|
5
|
+
|
6
|
+
Method | HTTP request | Description
|
7
|
+
------------- | ------------- | -------------
|
8
|
+
{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}}
|
9
|
+
{{/operation}}{{/operations}}
|
10
|
+
|
11
|
+
{{#operations}}
|
12
|
+
{{#operation}}
|
13
|
+
# **{{operationId}}**
|
14
|
+
> {{#returnType}}{{returnType}} {{/returnType}}{{operationId}}{{#hasParams}}({{#allParams}}{{#required}}{{{paramName}}}{{#vendorExtensions.x-codegen-hasMoreRequired}}, {{/vendorExtensions.x-codegen-hasMoreRequired}}{{/required}}{{/allParams}}{{#hasOptionalParams}}{{#vendorExtensions.x-codegen-hasRequiredParams}}, {{/vendorExtensions.x-codegen-hasRequiredParams}}opts{{/hasOptionalParams}}){{/hasParams}}
|
15
|
+
|
16
|
+
{{{summary}}}{{#notes}}
|
17
|
+
|
18
|
+
{{{notes}}}{{/notes}}
|
19
|
+
|
20
|
+
### Parameters
|
21
|
+
{{^allParams}}This endpoint does not need any parameter.{{/allParams}}{{#allParams}}{{#-last}}
|
22
|
+
Name | Type | Description | Notes
|
23
|
+
------------- | ------------- | ------------- | -------------{{/-last}}{{/allParams}}
|
24
|
+
{{#allParams}} **{{paramName}}** | {{#isPrimitiveType}}**{{dataType}}**{{/isPrimitiveType}}{{^isPrimitiveType}}{{#isFile}}**{{dataType}}**{{/isFile}}{{^isFile}}[**{{dataType}}**]({{baseType}}.md){{/isFile}}{{/isPrimitiveType}}| {{description}} | {{^required}}[optional] {{/required}}{{#defaultValue}}[default to {{defaultValue}}]{{/defaultValue}}
|
25
|
+
{{/allParams}}
|
26
|
+
|
27
|
+
### Return type
|
28
|
+
|
29
|
+
{{#returnType}}{{#returnTypeIsPrimitive}}**{{returnType}}**{{/returnTypeIsPrimitive}}{{^returnTypeIsPrimitive}}[**{{returnType}}**]({{returnBaseType}}.md){{/returnTypeIsPrimitive}}{{/returnType}}{{^returnType}}nil (empty response body){{/returnType}}
|
30
|
+
|
31
|
+
{{/operation}}
|
32
|
+
{{/operations}}
|
data/ynab.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ynab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- You Need A Budget, LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -302,6 +302,7 @@ files:
|
|
302
302
|
- spec/fixtures/vcr_cassettes/update_transaction.yml
|
303
303
|
- spec/spec_helper.rb
|
304
304
|
- swagger-templates/api_client.mustache
|
305
|
+
- swagger-templates/api_doc.mustache
|
305
306
|
- swagger-templates/gemspec.mustache
|
306
307
|
- ynab.gemspec
|
307
308
|
homepage: https://github.com/ynab/ynab-sdk-ruby
|
@@ -324,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
325
|
version: '0'
|
325
326
|
requirements: []
|
326
327
|
rubyforge_project:
|
327
|
-
rubygems_version: 2.6.14
|
328
|
+
rubygems_version: 2.6.14.1
|
328
329
|
signing_key:
|
329
330
|
specification_version: 4
|
330
331
|
summary: YNAB API Endpoints Ruby Gem
|