sk_api_schema 0.7.2 → 0.7.3

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-04
7
7
 
8
+ * filter attachments by related_object_type
9
+ * new PubSub channel for attachments
8
10
  * new attachments/{ID}/download url DEPRECATE attachment.url
9
11
  * add lead_date to contact
10
12
  * make contact.lead_ref + lead_source text fields
@@ -30,7 +30,7 @@
30
30
  "format": "uri"
31
31
  },
32
32
  "related_object_type":{
33
- "description": "Object type of the attachment parent. Is the camelCased base class name: Document for invoice, credit_note, contact, ..",
33
+ "description": "Object type of the attachment parent. A base class name: Document(for invoice, credit_note) Contact, Message(for email), Template(for email, pdf template)",
34
34
  "required":true,
35
35
  "type":"string"
36
36
  },
@@ -106,6 +106,12 @@
106
106
  "format" : "date",
107
107
  "type" : "string"
108
108
  },
109
+ "filter[related_object_type]":{
110
+ "title" : "Related object type",
111
+ "description": "All objects belonging to the given object type. The singular base class name like: Document, Contact, Export, Message",
112
+ "format" : "date",
113
+ "type" : "string"
114
+ },
109
115
  "sort_by":{
110
116
  "title" : "Sort by",
111
117
  "description": "Sort the results by the given field",
@@ -1,7 +1,7 @@
1
1
  module SK
2
2
  module Api
3
3
  class Schema
4
- VERSION='0.7.2'
4
+ VERSION='0.7.3'
5
5
  end
6
6
  end
7
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 2
10
- version: 0.7.2
9
+ - 3
10
+ version: 0.7.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Georg Leciejewski