sk_api_schema 0.4.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +6 -0
- data/json/v1.0/client.json +6 -0
- data/json/v1.0/company.json +6 -0
- data/json/v1.0/credit_note.json +16 -0
- data/json/v1.0/document.json +24 -2
- data/json/v1.0/email_template.json +1 -1
- data/json/v1.0/estimate.json +16 -0
- data/json/v1.0/export_template.json +1 -1
- data/json/v1.0/invoice.json +16 -0
- data/json/v1.0/order.json +16 -0
- data/json/v1.0/payment.json +15 -2
- data/json/v1.0/payment_reminder.json +16 -0
- data/json/v1.0/pdf_template.json +96 -0
- data/json/v1.0/recurring.json +6 -0
- data/json/v1.0/text_template.json +1 -1
- data/lib/sk_api_schema/version.rb +1 -1
- data/sk_api_schema.gemspec +5 -5
- metadata +93 -97
data/CHANGELOG.rdoc
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
A more detailed view of the changes can be found in the {commit messages}[https://github.com/salesking/sk_api_schema/commits/]
|
4
4
|
|
5
|
+
2012-11
|
6
|
+
|
7
|
+
* add currency fields for documents, client, company and payment
|
8
|
+
* add PDF template resource
|
9
|
+
* drop 'method' from payment in favour of payment_method
|
10
|
+
|
5
11
|
2012-07
|
6
12
|
* maxLength for all string properties with limits
|
7
13
|
* add "format":"text" to plain-text fields
|
data/json/v1.0/client.json
CHANGED
@@ -96,6 +96,12 @@
|
|
96
96
|
"type":"string",
|
97
97
|
"maxLength": 10
|
98
98
|
},
|
99
|
+
"currency":{
|
100
|
+
"description": "Currency code as defined by the ISO 4217 standard(3-letter UPCASE: EUR, USD). If set the currency is taken for new documents.",
|
101
|
+
"type":"string",
|
102
|
+
"maxLength": 3,
|
103
|
+
"minLength": 3
|
104
|
+
},
|
99
105
|
"payment_method":{
|
100
106
|
"description": "Default payment method for used for new documemts",
|
101
107
|
"enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque", "moneybookers", "premium_sms"],
|
data/json/v1.0/company.json
CHANGED
@@ -20,6 +20,12 @@
|
|
20
20
|
"type":"string",
|
21
21
|
"maxLength": 10
|
22
22
|
},
|
23
|
+
"currency":{
|
24
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
25
|
+
"type":"string",
|
26
|
+
"maxLength": 3,
|
27
|
+
"minLength": 3
|
28
|
+
},
|
23
29
|
"sub_domain":{
|
24
30
|
"description": "Unique subdomain identifying the company's SalesKing account.",
|
25
31
|
"type":"string",
|
data/json/v1.0/credit_note.json
CHANGED
@@ -73,6 +73,22 @@
|
|
73
73
|
"type":"string",
|
74
74
|
"maxLength": 10
|
75
75
|
},
|
76
|
+
"currency":{
|
77
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
78
|
+
"type":"string",
|
79
|
+
"maxLength": 3,
|
80
|
+
"minLength": 3
|
81
|
+
},
|
82
|
+
"exchange_rate":{
|
83
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
84
|
+
"readonly":true,
|
85
|
+
"type":"number"
|
86
|
+
},
|
87
|
+
"gross_total_exchanged":{
|
88
|
+
"description": "The exchanged gross total.",
|
89
|
+
"readonly":true,
|
90
|
+
"type":"number"
|
91
|
+
},
|
76
92
|
"archived_pdf":{
|
77
93
|
"description": "Archived PDF version of the document. Is created when an document is printed and archived. A document can have multiple archived versions. This only returns the most recent one. ",
|
78
94
|
"readonly":true,
|
data/json/v1.0/document.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{ "type":"object",
|
2
2
|
"title": "document",
|
3
|
-
"description": "This resource is readonly and serves as a convenient way to query documents independent of their type(invoice, order,..). The specific document type is set in each object in the result-set.",
|
3
|
+
"description": "This resource is readonly and serves as a convenient way to query documents independent of their type(invoice, order,..). The specific document type is set in each object in the result-set. Internally Document is the base class for all types and special fields are defined in each child-class. Due to this some fields might be missing if you are using this meta-class in queries.",
|
4
4
|
"properties":{
|
5
5
|
"id":{
|
6
6
|
"description":"Unique identifier - UUID",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"minLength": 22
|
12
12
|
},
|
13
13
|
"object_type":{
|
14
|
-
"description": "The specific type of the document",
|
14
|
+
"description": "The specific type of the document singular CamelCased: Invoice, PaymentReminder",
|
15
15
|
"type":"string"
|
16
16
|
},
|
17
17
|
"number":{
|
@@ -99,7 +99,29 @@
|
|
99
99
|
"description": "Net total, 6 decimal places incl. discount",
|
100
100
|
"readonly":true,
|
101
101
|
"type":"number"
|
102
|
+
},
|
103
|
+
"currency":{
|
104
|
+
"description": "Currency code as defined by the ISO 4217 standard. 3-letter UPCASE: EUR, USD",
|
105
|
+
"type":"string",
|
106
|
+
"maxLength": 3,
|
107
|
+
"minLength": 3
|
108
|
+
},
|
109
|
+
"exchange_rate":{
|
110
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
111
|
+
"readonly":true,
|
112
|
+
"type":"number"
|
113
|
+
},
|
114
|
+
"gross_total_exchanged":{
|
115
|
+
"description": "The exchanged gross total.",
|
116
|
+
"readonly":true,
|
117
|
+
"type":"number"
|
118
|
+
},
|
119
|
+
"language":{
|
120
|
+
"description": "Should be a valid language short-code: de-DE, fr, en-GB; like defined in your account language menu. When the document is emailed or printed, a localized version of a multi-language template(email, pdf) will be used if available. Defaults to the clients language, if empty and a client is assigned.",
|
121
|
+
"type":"string",
|
122
|
+
"maxLength": 10
|
102
123
|
}
|
124
|
+
|
103
125
|
},
|
104
126
|
"links":[
|
105
127
|
{ "rel": "self",
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"format":"text"
|
30
30
|
},
|
31
31
|
"kind":{
|
32
|
-
"description": "Kind of object
|
32
|
+
"description": "Kind of object the template can be used for.",
|
33
33
|
"required":true,
|
34
34
|
"enum": ["invoice", "estimate", "credit_note", "payment_reminder", "order", "client"],
|
35
35
|
"type":"string"
|
data/json/v1.0/estimate.json
CHANGED
@@ -68,6 +68,22 @@
|
|
68
68
|
"type":"string",
|
69
69
|
"maxLength": 10
|
70
70
|
},
|
71
|
+
"currency":{
|
72
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
73
|
+
"type":"string",
|
74
|
+
"maxLength": 3,
|
75
|
+
"minLength": 3
|
76
|
+
},
|
77
|
+
"exchange_rate":{
|
78
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
79
|
+
"readonly":true,
|
80
|
+
"type":"number"
|
81
|
+
},
|
82
|
+
"gross_total_exchanged":{
|
83
|
+
"description": "The exchanged gross total.",
|
84
|
+
"readonly":true,
|
85
|
+
"type":"number"
|
86
|
+
},
|
71
87
|
"archived_pdf":{
|
72
88
|
"description": "Archived PDF version of the document. Is created when an document is printed and archived. A document can have multiple archived versions. This only returns the most recent one. ",
|
73
89
|
"readonly":true,
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"format":"text"
|
24
24
|
},
|
25
25
|
"kind":{
|
26
|
-
"description": "Kind of
|
26
|
+
"description": "Kind of object the template can be used for.",
|
27
27
|
"required":true,
|
28
28
|
"enum": ["invoice", "estimate", "credit_note", "payment_reminder", "order", "client", "payment", "comment", "email", "history", "product","recurring"],
|
29
29
|
"type":"string"
|
data/json/v1.0/invoice.json
CHANGED
@@ -73,6 +73,22 @@
|
|
73
73
|
"type":"string",
|
74
74
|
"maxLength": 10
|
75
75
|
},
|
76
|
+
"currency":{
|
77
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
78
|
+
"type":"string",
|
79
|
+
"maxLength": 3,
|
80
|
+
"minLength": 3
|
81
|
+
},
|
82
|
+
"exchange_rate":{
|
83
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
84
|
+
"readonly":true,
|
85
|
+
"type":"number"
|
86
|
+
},
|
87
|
+
"gross_total_exchanged":{
|
88
|
+
"description": "The exchanged gross total.",
|
89
|
+
"readonly":true,
|
90
|
+
"type":"number"
|
91
|
+
},
|
76
92
|
"archived_pdf":{
|
77
93
|
"description": "Archived PDF version of the document. Is created when an document is printed and archived. A document can have multiple archived versions. This only returns the most recent one. ",
|
78
94
|
"readonly":true,
|
data/json/v1.0/order.json
CHANGED
@@ -73,6 +73,22 @@
|
|
73
73
|
"type":"string",
|
74
74
|
"maxLength": 10
|
75
75
|
},
|
76
|
+
"currency":{
|
77
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
78
|
+
"type":"string",
|
79
|
+
"maxLength": 3,
|
80
|
+
"minLength": 3
|
81
|
+
},
|
82
|
+
"exchange_rate":{
|
83
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
84
|
+
"readonly":true,
|
85
|
+
"type":"number"
|
86
|
+
},
|
87
|
+
"gross_total_exchanged":{
|
88
|
+
"description": "The exchanged gross total.",
|
89
|
+
"readonly":true,
|
90
|
+
"type":"number"
|
91
|
+
},
|
76
92
|
"archived_pdf":{
|
77
93
|
"description": "Archived PDF version of the document. Is created when an document is printed and archived. A document can have multiple archived versions. This only returns the most recent one. ",
|
78
94
|
"readonly":true,
|
data/json/v1.0/payment.json
CHANGED
@@ -26,8 +26,21 @@
|
|
26
26
|
"format":"date",
|
27
27
|
"type":"string"
|
28
28
|
},
|
29
|
-
"
|
30
|
-
"description": "
|
29
|
+
"currency":{
|
30
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
31
|
+
"type":"string",
|
32
|
+
"maxLength": 3,
|
33
|
+
"minLength": 3
|
34
|
+
},
|
35
|
+
"exchange_rate":{
|
36
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
37
|
+
"readonly":true,
|
38
|
+
"type":"number"
|
39
|
+
},
|
40
|
+
"amount_exchanged":{
|
41
|
+
"description": "The exchanged amount.",
|
42
|
+
"readonly":true,
|
43
|
+
"type":"number"
|
31
44
|
},
|
32
45
|
"payment_method":{
|
33
46
|
"description": "How the payment was made.",
|
@@ -65,6 +65,22 @@
|
|
65
65
|
"type":"string",
|
66
66
|
"maxLength": 10
|
67
67
|
},
|
68
|
+
"currency":{
|
69
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
70
|
+
"type":"string",
|
71
|
+
"maxLength": 3,
|
72
|
+
"minLength": 3
|
73
|
+
},
|
74
|
+
"exchange_rate":{
|
75
|
+
"description": "The exchange rate from the company currency(eg. EUR) to the document currency(USD). The rate is set on document open with the exchange rate based on the document date. If there is no rate for this day, say on weekends, the closest previous day is taken(Sunday->Friday).",
|
76
|
+
"readonly":true,
|
77
|
+
"type":"number"
|
78
|
+
},
|
79
|
+
"gross_total_exchanged":{
|
80
|
+
"description": "The exchanged gross total.",
|
81
|
+
"readonly":true,
|
82
|
+
"type":"number"
|
83
|
+
},
|
68
84
|
"archived_pdf":{
|
69
85
|
"description": "Archived PDF version of the document. Is created when an document is printed and archived. A document can have multiple archived versions. This only returns the most recent one. ",
|
70
86
|
"readonly":true,
|
@@ -0,0 +1,96 @@
|
|
1
|
+
{ "type":"object",
|
2
|
+
"title": "pdf_template",
|
3
|
+
"description":"An PDF template. For now this is a read-only resource ONLY returning your own templates. It fits the most important use-case: A user can select a print template.",
|
4
|
+
"properties":{
|
5
|
+
"id":{
|
6
|
+
"description":"Unique identifier - UUID",
|
7
|
+
"identity":true,
|
8
|
+
"readonly":true,
|
9
|
+
"type":"string",
|
10
|
+
"maxLength": 22,
|
11
|
+
"minLength":22
|
12
|
+
},
|
13
|
+
"name":{
|
14
|
+
"description": "Name of the template as shown to the user.",
|
15
|
+
"required":true,
|
16
|
+
"type":"string",
|
17
|
+
"maxLength": 50
|
18
|
+
},
|
19
|
+
"description":{
|
20
|
+
"description": "Additional information about the template.",
|
21
|
+
"type":"string",
|
22
|
+
"format":"text"
|
23
|
+
},
|
24
|
+
"kind":{
|
25
|
+
"description": "Kind of object the template can be used for.",
|
26
|
+
"required":true,
|
27
|
+
"enum": ["invoice", "estimate", "credit_note", "payment_reminder", "order"],
|
28
|
+
"type":"string"
|
29
|
+
},
|
30
|
+
"language":{
|
31
|
+
"description": "Should be a valid language short-code: de-DE, fr, en-GB; like defined in your account language menu. A multi-language template should belong to a parent. From then on just choose the parent-template and the localized child version is used for printing if the related object(order, invoice,..) has the appropriate language.",
|
32
|
+
"type":"string",
|
33
|
+
"maxLength": 10
|
34
|
+
},
|
35
|
+
"created_at":{
|
36
|
+
"description": "Date the object was created in SK. Never changes afterwards",
|
37
|
+
"format":"date-time",
|
38
|
+
"readonly":true,
|
39
|
+
"type":"string"
|
40
|
+
},
|
41
|
+
"updated_at":{
|
42
|
+
"description": "Date the object was edited in SK.",
|
43
|
+
"format":"date-time",
|
44
|
+
"readonly":true,
|
45
|
+
"type":"string"
|
46
|
+
},
|
47
|
+
"team_id":{
|
48
|
+
"description": "A team uuid. If set only the team and its parent teams can see the record.",
|
49
|
+
"type":"string",
|
50
|
+
"maxLength": 22,
|
51
|
+
"minLength":22
|
52
|
+
}
|
53
|
+
},
|
54
|
+
"links":[
|
55
|
+
{ "rel": "self",
|
56
|
+
"href": "pdf_templates/{id}"
|
57
|
+
},
|
58
|
+
{ "rel": "instances",
|
59
|
+
"href": "pdf_templates",
|
60
|
+
"properties" : {
|
61
|
+
"page":{
|
62
|
+
"title" : "Page",
|
63
|
+
"description": "In paginated results set the page to look for",
|
64
|
+
"type":"number"
|
65
|
+
},
|
66
|
+
"per_page":{
|
67
|
+
"title" : "Per page",
|
68
|
+
"description": "Results per page. Default is 10, max is 100",
|
69
|
+
"type":"number"
|
70
|
+
},
|
71
|
+
"sort_by":{
|
72
|
+
"title" : "Sort by",
|
73
|
+
"description": "Sort the results by the given field",
|
74
|
+
"default":"name",
|
75
|
+
"enum":["created_at", "updated_at", "name", "kind"],
|
76
|
+
"type": "string"
|
77
|
+
},
|
78
|
+
"sort":{
|
79
|
+
"title" : "Sort",
|
80
|
+
"enum":["ASC","DESC"],
|
81
|
+
"description": "Sort the results in ASC or DESC"
|
82
|
+
},
|
83
|
+
"filter[q]":{
|
84
|
+
"title" : "Search wildcard",
|
85
|
+
"description": "Searches in name, description",
|
86
|
+
"type":"string"
|
87
|
+
},
|
88
|
+
"filter[kind]":{
|
89
|
+
"title" : "Search by kind",
|
90
|
+
"description": "Kind of object this template can be used for: invoice, order",
|
91
|
+
"type":"string"
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
data/json/v1.0/recurring.json
CHANGED
@@ -76,6 +76,12 @@
|
|
76
76
|
"type":"string",
|
77
77
|
"maxLength": 10
|
78
78
|
},
|
79
|
+
"currency":{
|
80
|
+
"description": "Currency code as defined by the ISO 4217 standard (3-letter UPCASE: EUR, USD)",
|
81
|
+
"type":"string",
|
82
|
+
"maxLength": 3,
|
83
|
+
"minLength": 3
|
84
|
+
},
|
79
85
|
"client":{
|
80
86
|
"description": "The client for the document. New documents cannot create a client, use client_id field to set it.",
|
81
87
|
"readonly":true,
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"format":"text"
|
24
24
|
},
|
25
25
|
"kind":{
|
26
|
-
"description": "Kind of object
|
26
|
+
"description": "Kind of object the template can be used for. If empty the snippet can be used global. In this case watch not all placeholders are available: a client has different fields than an invoice.",
|
27
27
|
"required":true,
|
28
28
|
"enum": ["","invoice", "estimate", "credit_note", "payment_reminder", "order", "client", "email"],
|
29
29
|
"type":"string"
|
data/sk_api_schema.gemspec
CHANGED
@@ -6,20 +6,20 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.version = SK::Api::Schema::VERSION
|
7
7
|
s.date = %q{2012-07-27}
|
8
8
|
s.name = %q{sk_api_schema}
|
9
|
-
s.summary =
|
9
|
+
s.summary = 'SalesKing API - JSON Schema'
|
10
10
|
s.description = %q{The SalesKing JSON Schema describes our business API in terms of available objects, their fields and links to url endpoints with related objects.
|
11
11
|
Besides ruby users can use a small lib with utility methods to load and test the schema files.}
|
12
|
-
s.authors = [
|
12
|
+
s.authors = ['Georg Leciejewski']
|
13
13
|
s.email = %q{gl@salesking.eu}
|
14
14
|
s.homepage = %q{http://github.com/salesking/sk_api_schema}
|
15
|
-
s.extra_rdoc_files = [
|
15
|
+
s.extra_rdoc_files = ['README.rdoc']
|
16
16
|
s.executables = nil
|
17
17
|
s.files = `git ls-files`.split("\n").reject{|i| i[/^docs\//] }
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
|
20
20
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
21
|
-
s.require_paths = [
|
22
|
-
s.rubygems_version =
|
21
|
+
s.require_paths = ['lib']
|
22
|
+
s.rubygems_version = '1.8.24'
|
23
23
|
|
24
24
|
s.add_runtime_dependency 'activesupport'
|
25
25
|
s.add_development_dependency 'rdoc'
|
metadata
CHANGED
@@ -1,105 +1,107 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sk_api_schema
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 3
|
10
|
-
version: 0.4.3
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Georg Leciejewski
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
type: :runtime
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 3
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
version_requirements: *id001
|
32
|
-
prerelease: false
|
12
|
+
date: 2012-07-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
33
15
|
name: activesupport
|
34
|
-
|
35
|
-
type: :development
|
36
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
37
17
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
|
42
|
-
|
43
|
-
- 0
|
44
|
-
version: "0"
|
45
|
-
version_requirements: *id002
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
46
23
|
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
47
31
|
name: rdoc
|
48
|
-
|
49
|
-
type: :development
|
50
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
51
33
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
56
|
-
|
57
|
-
- 0
|
58
|
-
version: "0"
|
59
|
-
version_requirements: *id003
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
60
39
|
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
61
47
|
name: rspec
|
62
|
-
|
63
|
-
type: :development
|
64
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
65
49
|
none: false
|
66
|
-
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
|
70
|
-
|
71
|
-
- 0
|
72
|
-
version: "0"
|
73
|
-
version_requirements: *id004
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
74
55
|
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
75
63
|
name: simplecov
|
76
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
77
70
|
type: :development
|
78
|
-
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
73
|
none: false
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: rake
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
88
85
|
version: 0.9.2
|
89
|
-
|
86
|
+
type: :development
|
90
87
|
prerelease: false
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.9.2
|
94
|
+
description: ! 'The SalesKing JSON Schema describes our business API in terms of available
|
95
|
+
objects, their fields and links to url endpoints with related objects.
|
96
|
+
|
97
|
+
Besides ruby users can use a small lib with utility methods to load and test the
|
98
|
+
schema files.'
|
95
99
|
email: gl@salesking.eu
|
96
100
|
executables: []
|
97
|
-
|
98
101
|
extensions: []
|
99
|
-
|
100
|
-
extra_rdoc_files:
|
102
|
+
extra_rdoc_files:
|
101
103
|
- README.rdoc
|
102
|
-
files:
|
104
|
+
files:
|
103
105
|
- .gitignore
|
104
106
|
- .travis.yml
|
105
107
|
- CHANGELOG.rdoc
|
@@ -125,6 +127,7 @@ files:
|
|
125
127
|
- json/v1.0/order.json
|
126
128
|
- json/v1.0/payment.json
|
127
129
|
- json/v1.0/payment_reminder.json
|
130
|
+
- json/v1.0/pdf_template.json
|
128
131
|
- json/v1.0/product.json
|
129
132
|
- json/v1.0/recurring.json
|
130
133
|
- json/v1.0/sub.json
|
@@ -138,36 +141,29 @@ files:
|
|
138
141
|
- spec/spec_helper.rb
|
139
142
|
homepage: http://github.com/salesking/sk_api_schema
|
140
143
|
licenses: []
|
141
|
-
|
142
144
|
post_install_message:
|
143
145
|
rdoc_options: []
|
144
|
-
|
145
|
-
require_paths:
|
146
|
+
require_paths:
|
146
147
|
- lib
|
147
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
148
149
|
none: false
|
149
|
-
requirements:
|
150
|
-
- -
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
|
153
|
-
segments:
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
segments:
|
154
155
|
- 0
|
155
|
-
|
156
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
hash: 4021308870819249197
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
158
|
none: false
|
158
|
-
requirements:
|
159
|
-
- -
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
|
162
|
-
segments:
|
163
|
-
- 0
|
164
|
-
version: "0"
|
159
|
+
requirements:
|
160
|
+
- - ! '>='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
165
163
|
requirements: []
|
166
|
-
|
167
164
|
rubyforge_project:
|
168
165
|
rubygems_version: 1.8.24
|
169
166
|
signing_key:
|
170
167
|
specification_version: 3
|
171
168
|
summary: SalesKing API - JSON Schema
|
172
169
|
test_files: []
|
173
|
-
|