sk_api_schema 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  See [commit messages](https://github.com/salesking/sk_api_schema/commits/) for details.
4
4
  Also sign up to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter/) to stay up-to-date !!!
5
5
 
6
+ ##2014-02
7
+
8
+ * clarify team use: a team bubbles down from a contact to its documents and their related objects (comments, atms, emails). When the team changed for a contact all related objects are updated with the new team.
9
+
6
10
  ##2014-01
7
11
 
8
12
  * add SEPA creditor_id for company
@@ -41,7 +41,8 @@
41
41
  "type":"string"
42
42
  },
43
43
  "team_id":{
44
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
44
+ "description": "A team uuid taken from the related object. If set only the team and its parent teams can see the record.",
45
+ "readonly" :true,
45
46
  "type":"string",
46
47
  "maxLength": 22,
47
48
  "minLength":22
@@ -200,7 +200,7 @@
200
200
  "properties" : {"$ref":"./address.json#properties"}
201
201
  },
202
202
  "team_id":{
203
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
203
+ "description": "A team uuid. If set only the team and its parent teams can see the record. The team is set for all new documents and related objects like comments, attachments, emails. When changed ALL related objects are updated with the new team!!",
204
204
  "type":"string",
205
205
  "maxLength": 22,
206
206
  "minLength":22
@@ -121,7 +121,8 @@
121
121
  "minLength":22
122
122
  },
123
123
  "team_id":{
124
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
124
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
125
+ "readonly" :true,
125
126
  "type":"string",
126
127
  "maxLength": 22,
127
128
  "minLength":22
@@ -66,8 +66,11 @@
66
66
  "minLength":22
67
67
  },
68
68
  "team_id":{
69
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
70
- "type":"string"
69
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
70
+ "readonly" :true,
71
+ "type":"string",
72
+ "maxLength": 22,
73
+ "minLength":22
71
74
  },
72
75
  "line_items":{
73
76
  "description": "Line items for the document",
data/json/v1.0/email.json CHANGED
@@ -91,7 +91,8 @@
91
91
  "type":"string"
92
92
  },
93
93
  "team_id":{
94
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
94
+ "description": "A team uuid taken from the related object. If set only the team and its parent teams can see the record.",
95
+ "readonly" :true,
95
96
  "type":"string",
96
97
  "maxLength": 22,
97
98
  "minLength":22
@@ -116,7 +116,8 @@
116
116
  "minLength":22
117
117
  },
118
118
  "team_id":{
119
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
119
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
120
+ "readonly" :true,
120
121
  "type":"string",
121
122
  "maxLength": 22,
122
123
  "minLength":22
@@ -136,10 +136,11 @@
136
136
  "minLength":22
137
137
  },
138
138
  "team_id":{
139
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
139
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
140
+ "readonly" :true,
140
141
  "type":"string",
141
142
  "maxLength": 22,
142
- "minLength": 22
143
+ "minLength":22
143
144
  },
144
145
  "line_items":{
145
146
  "description": "DEPRECATED use items",
data/json/v1.0/order.json CHANGED
@@ -121,7 +121,8 @@
121
121
  "minLength":22
122
122
  },
123
123
  "team_id":{
124
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
124
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
125
+ "readonly" :true,
125
126
  "type":"string",
126
127
  "maxLength": 22,
127
128
  "minLength":22
@@ -74,7 +74,8 @@
74
74
  "minLength":22
75
75
  },
76
76
  "team_id":{
77
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
77
+ "description": "A team uuid taken from the related object(e.g.invoice). If set only the team and its parent teams can see the record.",
78
+ "readonly" :true,
78
79
  "type":"string",
79
80
  "maxLength": 22,
80
81
  "minLength":22
@@ -120,7 +120,8 @@
120
120
  "minLength":22
121
121
  },
122
122
  "team_id":{
123
- "description": "A team uuid. If set, only the team and its parent teams can see the record. Defaults to team id from invoice",
123
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
124
+ "readonly" :true,
124
125
  "type":"string",
125
126
  "maxLength": 22,
126
127
  "minLength":22
@@ -123,7 +123,8 @@
123
123
  "minLength":22
124
124
  },
125
125
  "team_id":{
126
- "description": "A team uuid. If set only the team and its parent teams can see the record.",
126
+ "description": "A team uuid taken from the contact. If set only the team and its parent teams can see the record.",
127
+ "readonly" :true,
127
128
  "type":"string",
128
129
  "maxLength": 22,
129
130
  "minLength":22
@@ -1,7 +1,7 @@
1
1
  module SK
2
2
  module Api
3
3
  class Schema
4
- VERSION='0.9.4'
4
+ VERSION='0.9.5'
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: 51
4
+ hash: 49
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 4
10
- version: 0.9.4
9
+ - 5
10
+ version: 0.9.5
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: 2014-01-31 00:00:00 Z
18
+ date: 2014-02-11 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport