sk_api_schema 0.8.3 → 0.8.4
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.
- data/CHANGELOG.md +2 -0
- data/json/v1.0/invoice.json +12 -0
- data/json/v1.0/recurring.json +3 -0
- data/lib/sk_api_schema/version.rb +2 -2
- metadata +3 -3
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,8 @@ Also signup to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter
|
|
|
5
5
|
|
|
6
6
|
##2013-08
|
|
7
7
|
|
|
8
|
+
* add recurring_id for invoices referencing the recurring from which the invoice was created
|
|
9
|
+
* add filter\[recurring_ids] to invoices, recurring links to all invoices
|
|
8
10
|
* add filter\[status] to all documents
|
|
9
11
|
* add log field for emails, keeping potential error log
|
|
10
12
|
* add BCC, CC, FROM fields for email templates
|
data/json/v1.0/invoice.json
CHANGED
|
@@ -185,6 +185,13 @@
|
|
|
185
185
|
"description": "Net total, 6 decimal places incl. discount",
|
|
186
186
|
"readonly":true,
|
|
187
187
|
"type":"number"
|
|
188
|
+
},
|
|
189
|
+
"recurring_id":{
|
|
190
|
+
"description":"Recurring document ID, if the invoice was created from a recurring.",
|
|
191
|
+
"readonly":true,
|
|
192
|
+
"type":"string",
|
|
193
|
+
"maxLength": 22,
|
|
194
|
+
"minLength": 22
|
|
188
195
|
}
|
|
189
196
|
},
|
|
190
197
|
"links":[
|
|
@@ -261,6 +268,11 @@
|
|
|
261
268
|
"description": "Objects created by the given users uuids, comma separated",
|
|
262
269
|
"type" : "string"
|
|
263
270
|
},
|
|
271
|
+
"filter[recurring_ids]":{
|
|
272
|
+
"title" : "Recurrings",
|
|
273
|
+
"description": "Documents belonging to the given recurring uuids, comma separated",
|
|
274
|
+
"type" : "string"
|
|
275
|
+
},
|
|
264
276
|
"sort_by":{
|
|
265
277
|
"title" : "Sort by",
|
|
266
278
|
"description": "Sort the results by the given field => number",
|
data/json/v1.0/recurring.json
CHANGED
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: 55
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.8.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Georg Leciejewski
|