fidor_schema 0.10.2 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fidor_schema_version.rb +1 -1
- data/schema/v1.0/bank_check.json +1 -1
- data/schema/v1.0/card.json +8 -1
- data/schema/v1.0/card_limit.json +0 -1
- data/schema/v1.0/message.json +118 -0
- data/schema/v1.0/preauth_type_details/internal_transfer_details.json +5 -0
- data/schema/v1.0/transaction_type_details/internal_transfer_details.json +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0b2a0e4fb1a92c0e159a9dfedd26bd70fa3bb44
|
4
|
+
data.tar.gz: 3b613a82cd2db26b189b59e5130cdce8d57e319b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 562bc6121071f7e84dd04dda99cacfda3c0934357414390ecd5f86b22799d0d91ed49bf95f4401644b0158145bfe35968140d58bf23c8990f933e91e9c8014ba
|
7
|
+
data.tar.gz: 00e0428112e70f7ceffae85de1244d001ccc808f47f2b1475b2a772e18908b7d1a5f9ad6ccb4230d292ce75776cb1e4bfdd86c2cb34dc9a40d0346c25613dd1f
|
data/lib/fidor_schema_version.rb
CHANGED
data/schema/v1.0/bank_check.json
CHANGED
data/schema/v1.0/card.json
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
"type" : "string",
|
55
55
|
"pattern" : "^[0-9]{14,16}$"
|
56
56
|
},
|
57
|
-
"
|
57
|
+
"cvc" : {
|
58
58
|
"description" : "Card's cvc code",
|
59
59
|
"type" : "string",
|
60
60
|
"pattern" : "^[0-9]{3}$"
|
@@ -176,6 +176,13 @@
|
|
176
176
|
"rel" : "pan",
|
177
177
|
"title" : "Primary Account Number"
|
178
178
|
},
|
179
|
+
{
|
180
|
+
"description" : "Card Verification Code",
|
181
|
+
"href" : "cards/{id}/cvc",
|
182
|
+
"method" : "GET",
|
183
|
+
"rel" : "cvc",
|
184
|
+
"title" : "Card Verification Value Code"
|
185
|
+
},
|
179
186
|
{
|
180
187
|
"description" : "Lock a card",
|
181
188
|
"href" : "cards/{id}/lock",
|
data/schema/v1.0/card_limit.json
CHANGED
@@ -0,0 +1,118 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
+
"type": "object",
|
4
|
+
"title": "message",
|
5
|
+
"description": "Message",
|
6
|
+
"properties": {
|
7
|
+
"id": {
|
8
|
+
"$ref": "../base_types/base_types.json#definitions/id",
|
9
|
+
"readOnly": true
|
10
|
+
},
|
11
|
+
"subject": {
|
12
|
+
"description": "Subject of the message",
|
13
|
+
"readOnly": true,
|
14
|
+
"type": "string"
|
15
|
+
},
|
16
|
+
"body": {
|
17
|
+
"description": "Body of the message",
|
18
|
+
"readOnly": true,
|
19
|
+
"type": "string"
|
20
|
+
},
|
21
|
+
"type": {
|
22
|
+
"description": "Type of the message",
|
23
|
+
"type": "string",
|
24
|
+
"enum": [
|
25
|
+
"information",
|
26
|
+
"offer",
|
27
|
+
"document"
|
28
|
+
]
|
29
|
+
},
|
30
|
+
"created_at": {
|
31
|
+
"$ref": "./base_types/base_types.json#definitions/created_at"
|
32
|
+
},
|
33
|
+
"updated_at": {
|
34
|
+
"$ref": "./base_types/base_types.json#definitions/updated_at"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"links": [
|
38
|
+
{
|
39
|
+
"description": "Get one particular message",
|
40
|
+
"rel": "self",
|
41
|
+
"href": "messages/{id}",
|
42
|
+
"method": "GET"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"description": "Download an attachment",
|
46
|
+
"rel": "download",
|
47
|
+
"href": "messages/{id}/attachment",
|
48
|
+
"method": "GET"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"description": "Archive a message",
|
52
|
+
"rel": "archive",
|
53
|
+
"href": "messages/{id}/archive",
|
54
|
+
"method": "PUT"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"description": "Unpack an archived a message",
|
58
|
+
"rel": "unarchive",
|
59
|
+
"href": "messages/{id}/unarchive",
|
60
|
+
"method": "PUT"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"rel": "instances",
|
64
|
+
"href": "messages",
|
65
|
+
"title": "index",
|
66
|
+
"properties": {
|
67
|
+
"filter[created_at_from]": {
|
68
|
+
"title": "Date filter from >= date. ISO 8601 Date",
|
69
|
+
"format": "date-time",
|
70
|
+
"type": "string"
|
71
|
+
},
|
72
|
+
"filter[created_at_to]": {
|
73
|
+
"title": "Date filter to <= date. ISO 8601 Date",
|
74
|
+
"format": "date-time",
|
75
|
+
"type": "string"
|
76
|
+
},
|
77
|
+
"filter[updated_at_from]": {
|
78
|
+
"title": "Date filter from >= date. ISO 8601 Date",
|
79
|
+
"format": "date-time",
|
80
|
+
"type": "string"
|
81
|
+
},
|
82
|
+
"filter[updated_at_to]": {
|
83
|
+
"title": "Date filter to <= date. ISO 8601 Date",
|
84
|
+
"format": "date-time",
|
85
|
+
"type": "string"
|
86
|
+
},
|
87
|
+
"filter[types]": {
|
88
|
+
"title": "By message types",
|
89
|
+
"type": "string",
|
90
|
+
"enum": [
|
91
|
+
"information",
|
92
|
+
"offer",
|
93
|
+
"document"
|
94
|
+
]
|
95
|
+
},
|
96
|
+
"page": {
|
97
|
+
"title": "Page",
|
98
|
+
"description": "In paginated results set the page to look for",
|
99
|
+
"type": "integer"
|
100
|
+
},
|
101
|
+
"per_page": {
|
102
|
+
"title": "Per page",
|
103
|
+
"description": "Results per page. Default is 10, max is 100",
|
104
|
+
"type": "integer"
|
105
|
+
},
|
106
|
+
"sort": {
|
107
|
+
"title": "Sort",
|
108
|
+
"enum": [
|
109
|
+
"ASC",
|
110
|
+
"DESC"
|
111
|
+
],
|
112
|
+
"description": "Sort the results in ASC or DESC",
|
113
|
+
"type": "string"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
]
|
118
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fidor_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Leciejewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- schema/v1.0/error.json
|
178
178
|
- schema/v1.0/internal_transfer.json
|
179
179
|
- schema/v1.0/legal.json
|
180
|
+
- schema/v1.0/message.json
|
180
181
|
- schema/v1.0/notification.json
|
181
182
|
- schema/v1.0/overdraft.json
|
182
183
|
- schema/v1.0/password_reset.json
|