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 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
@@ -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",
@@ -273,6 +273,9 @@
273
273
  }
274
274
  }
275
275
  },
276
+ { "rel": "invoices",
277
+ "href": "invoices?filter[recurring_ids]={id}"
278
+ },
276
279
  { "rel": "attachments",
277
280
  "href": "recurrings/{id}/attachments"
278
281
  },
@@ -1,7 +1,7 @@
1
1
  module SK
2
2
  module Api
3
3
  class Schema
4
- VERSION='0.8.3'
4
+ VERSION='0.8.4'
5
5
  end
6
6
  end
7
- end
7
+ end
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: 57
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 3
10
- version: 0.8.3
9
+ - 4
10
+ version: 0.8.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Leciejewski