@digipair/skill-nuki 0.25.6 → 0.26.0
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.
- package/package.json +1 -1
- package/schema.fr.json +88 -0
- package/schema.json +16 -16
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-nuki",
|
|
5
|
+
"summary": "Gestion d'une serrure Nuki",
|
|
6
|
+
"description": "Cette compétence permet de gérer une serrure Nuki",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🔐"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/unlock": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Ouvre une serrure Nuki",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "id",
|
|
18
|
+
"summary": "Identifiant de la serrure",
|
|
19
|
+
"required": true,
|
|
20
|
+
"description": "Identifiant de la serrure Nuki",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "NUKI_API_KEY",
|
|
27
|
+
"summary": "Clé d'API",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Clé d'API Nuki",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "NUKI_API_ENDPOINT",
|
|
36
|
+
"summary": "Endpoint de l'API",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Endpoint de l'API Nuki",
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"x-events": []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"/lock": {
|
|
48
|
+
"post": {
|
|
49
|
+
"tags": ["service"],
|
|
50
|
+
"summary": "Ferme une serrure Nuki",
|
|
51
|
+
"parameters": [
|
|
52
|
+
{
|
|
53
|
+
"name": "id",
|
|
54
|
+
"summary": "Identifiant de la serrure",
|
|
55
|
+
"required": true,
|
|
56
|
+
"description": "Identifiant de la serrure Nuki",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "NUKI_API_KEY",
|
|
63
|
+
"summary": "Clé d'API",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Clé d'API Nuki",
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "NUKI_API_ENDPOINT",
|
|
72
|
+
"summary": "Endpoint de l'API",
|
|
73
|
+
"required": false,
|
|
74
|
+
"description": "Endpoint de l'API Nuki",
|
|
75
|
+
"schema": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"x-events": []
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"components": {
|
|
85
|
+
"schemas": {}
|
|
86
|
+
},
|
|
87
|
+
"x-scene-blocks": {}
|
|
88
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-nuki",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Management of a Nuki lock",
|
|
6
|
+
"description": "This skill allows you to manage a Nuki lock",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "🔐"
|
|
9
9
|
},
|
|
@@ -11,31 +11,31 @@
|
|
|
11
11
|
"/unlock": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["service"],
|
|
14
|
-
"summary": "
|
|
14
|
+
"summary": "Unlocks a Nuki lock",
|
|
15
15
|
"parameters": [
|
|
16
16
|
{
|
|
17
17
|
"name": "id",
|
|
18
|
-
"summary": "
|
|
18
|
+
"summary": "Lock identifier",
|
|
19
19
|
"required": true,
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Identifier of the Nuki lock",
|
|
21
21
|
"schema": {
|
|
22
22
|
"type": "string"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "NUKI_API_KEY",
|
|
27
|
-
"summary": "
|
|
27
|
+
"summary": "API key",
|
|
28
28
|
"required": false,
|
|
29
|
-
"description": "
|
|
29
|
+
"description": "Nuki API key",
|
|
30
30
|
"schema": {
|
|
31
31
|
"type": "string"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"name": "NUKI_API_ENDPOINT",
|
|
36
|
-
"summary": "
|
|
36
|
+
"summary": "API endpoint",
|
|
37
37
|
"required": false,
|
|
38
|
-
"description": "
|
|
38
|
+
"description": "Nuki API endpoint",
|
|
39
39
|
"schema": {
|
|
40
40
|
"type": "string"
|
|
41
41
|
}
|
|
@@ -47,31 +47,31 @@
|
|
|
47
47
|
"/lock": {
|
|
48
48
|
"post": {
|
|
49
49
|
"tags": ["service"],
|
|
50
|
-
"summary": "
|
|
50
|
+
"summary": "Locks a Nuki lock",
|
|
51
51
|
"parameters": [
|
|
52
52
|
{
|
|
53
53
|
"name": "id",
|
|
54
|
-
"summary": "
|
|
54
|
+
"summary": "Lock identifier",
|
|
55
55
|
"required": true,
|
|
56
|
-
"description": "
|
|
56
|
+
"description": "Identifier of the Nuki lock",
|
|
57
57
|
"schema": {
|
|
58
58
|
"type": "string"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "NUKI_API_KEY",
|
|
63
|
-
"summary": "
|
|
63
|
+
"summary": "API key",
|
|
64
64
|
"required": false,
|
|
65
|
-
"description": "
|
|
65
|
+
"description": "Nuki API key",
|
|
66
66
|
"schema": {
|
|
67
67
|
"type": "string"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
"name": "NUKI_API_ENDPOINT",
|
|
72
|
-
"summary": "
|
|
72
|
+
"summary": "API endpoint",
|
|
73
73
|
"required": false,
|
|
74
|
-
"description": "
|
|
74
|
+
"description": "Nuki API endpoint",
|
|
75
75
|
"schema": {
|
|
76
76
|
"type": "string"
|
|
77
77
|
}
|