sk_api_schema 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -2
- data/json/v1.0/payment_reminder.json +11 -0
- data/lib/sk_api_schema/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.md
CHANGED
@@ -5,8 +5,10 @@ Also signup to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter
|
|
5
5
|
|
6
6
|
##2013-05
|
7
7
|
|
8
|
-
* add
|
9
|
-
* add
|
8
|
+
* add payment_reminder "status" and filter by "status"
|
9
|
+
* add payment "is_partial", replaces the "new_doc_status" parameter on POST create. Partial payments dont close the related document.
|
10
|
+
* add payment "cash_discount", to explicitly set the cash discount amount withdrawn by a client
|
11
|
+
* add "late_fee" parameter to create(POST) payments, creating an own payment for the last payment_reminder of an invoice
|
10
12
|
|
11
13
|
##2013-04
|
12
14
|
|
@@ -37,6 +37,12 @@
|
|
37
37
|
"format":"date",
|
38
38
|
"type":"string"
|
39
39
|
},
|
40
|
+
"status":{
|
41
|
+
"description": "Defaults to open for new reminders, unless otherwise stated. Beware that the overdue-status is virtual as it depends on the real status=open and the document due_date.",
|
42
|
+
"default":"open",
|
43
|
+
"enum":["draft","open","closed","overdue"],
|
44
|
+
"type":"string"
|
45
|
+
},
|
40
46
|
"external_ref":{
|
41
47
|
"description": "Some external reference, whatever this may be.",
|
42
48
|
"type":"string",
|
@@ -210,6 +216,11 @@
|
|
210
216
|
"description": "A single or a list of document uuids, comma separated",
|
211
217
|
"type" : "string"
|
212
218
|
},
|
219
|
+
"filter[status]":{
|
220
|
+
"title" : "Contacts",
|
221
|
+
"description": "A single or a list of status, comma separated: open,closed,overdue,draft",
|
222
|
+
"type" : "string"
|
223
|
+
},
|
213
224
|
"sort_by":{
|
214
225
|
"title" : "Sort by",
|
215
226
|
"description": "Sort the results by the given field => number",
|
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: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 6
|
10
|
+
version: 0.7.6
|
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: 2013-05-
|
18
|
+
date: 2013-05-24 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :runtime
|