sk_api_schema 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  See [commit messages](https://github.com/salesking/sk_api_schema/commits/) for details.
4
4
  Also signup to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter/) to stay up-to-date !!!
5
5
 
6
+ ##2013-06
7
+ - add email filter "status" accepting sent,draft,in_progress strings, dropped sent/status filter
8
+
6
9
  ##2013-05
7
10
 
8
11
  * add payment_reminder "status" and filter by "status"
data/json/v1.0/email.json CHANGED
@@ -114,13 +114,10 @@
114
114
  "description": "Search in body and subject",
115
115
  "type":"string"
116
116
  },
117
- "filter[sent]":{
118
- "title" : "Sent emails",
119
- "description": "Show only sent emails"
120
- },
121
- "filter[draft]":{
122
- "title" : "Draft emails",
123
- "description": "Show only draft emails"
117
+ "filter[status]":{
118
+ "title" : "Emails by status",
119
+ "description": "Show only sent, draft or emails in progress. The status is virtual and checks the delivered_at and in_progress field values.",
120
+ "enum":["draft", "sent", "in_progress" ]
124
121
  },
125
122
  "filter[address]":{
126
123
  "title" : "Search in address",
@@ -140,7 +137,7 @@
140
137
  },
141
138
  "sort_by":{
142
139
  "title" : "Sort by",
143
- "description": "Sort the results by the given field => number",
140
+ "description": "Sort the results by the given field",
144
141
  "enum":["created_at", "updated_at"],
145
142
  "type": "string"
146
143
  },
@@ -58,7 +58,6 @@
58
58
  "type":"string"
59
59
  },
60
60
  "late_fee":{
61
- "title" : "A late fee for an invoice",
62
61
  "description": "Add a late fee if an invoice has payment reminders. We create a second payment for the last reminder and close all others. Set to 0, if you want to waive the fee(has not been paid). In this case all reminders are closed and we also correct the sales+debtor account with the open fees. This is a pure setter-method used in creation!",
63
62
  "type":"number"
64
63
  },
@@ -1,7 +1,7 @@
1
1
  module SK
2
2
  module Api
3
3
  class Schema
4
- VERSION='0.7.7'
4
+ VERSION='0.7.8'
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: 13
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 7
10
- version: 0.7.7
9
+ - 8
10
+ version: 0.7.8
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-27 00:00:00 Z
18
+ date: 2013-06-04 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime