sk_api_schema 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -1
- data/json/v1.0/account.json +4 -0
- data/json/v1.0/comment.json +5 -0
- data/lib/sk_api_schema/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -3,10 +3,15 @@
|
|
3
3
|
See [commit messages](https://github.com/salesking/sk_api_schema/commits/) for details.
|
4
4
|
Also sign up to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter/) to stay up-to-date !!!
|
5
5
|
|
6
|
+
##2014-06
|
7
|
+
|
8
|
+
* add budget to account
|
9
|
+
|
6
10
|
##2014-05
|
7
11
|
|
8
12
|
* add ability to create products from line items
|
9
|
-
*
|
13
|
+
* filter comments by related_object_ids
|
14
|
+
* filter account_entries by document_ids
|
10
15
|
* account_entries show related document and line item
|
11
16
|
* new Task resource
|
12
17
|
|
data/json/v1.0/account.json
CHANGED
@@ -33,6 +33,10 @@
|
|
33
33
|
"type":"number",
|
34
34
|
"readonly":true
|
35
35
|
},
|
36
|
+
"budget":{
|
37
|
+
"description": "If an account is used to track budgetary things f.ex. projects, this fields can be used to perform calculations like: Are we still inside the allowed budget?",
|
38
|
+
"type":"number"
|
39
|
+
},
|
36
40
|
"default_price":{
|
37
41
|
"description": "The default price single for new account entries. Is only used if price single is left empty on create.",
|
38
42
|
"type":"number"
|
data/json/v1.0/comment.json
CHANGED
@@ -75,6 +75,11 @@
|
|
75
75
|
"description": "Comma-separated list of contact IDs. While present, it will return comments related to the contact and all its documents.",
|
76
76
|
"type" : "string"
|
77
77
|
},
|
78
|
+
"filter[related_object_ids]":{
|
79
|
+
"title" : "Related object IDs",
|
80
|
+
"description": "Comma-separated list of related object IDs (objects which can have their own comments: document, task, products). Can also be used with a single ID to find all comments related to the given object.",
|
81
|
+
"type" : "string"
|
82
|
+
},
|
78
83
|
"filter[from]":{
|
79
84
|
"title" : "From date",
|
80
85
|
"description": "All objects with a date after the date. YYYY-MM-DD",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sk_api_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 10
|
9
|
-
-
|
10
|
-
version: 0.10.
|
9
|
+
- 2
|
10
|
+
version: 0.10.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Georg Leciejewski
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2014-
|
18
|
+
date: 2014-06-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|