@digipair/skill-nuki 0.28.14 → 0.29.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.en.json +88 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-nuki",
3
- "version": "0.28.14",
3
+ "version": "0.29.3",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.en.json ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "@digipair/skill-nuki",
5
+ "summary": "Management of a Nuki lock",
6
+ "description": "This skill allows you to manage a Nuki lock",
7
+ "version": "0.1.0",
8
+ "x-icon": "🔐"
9
+ },
10
+ "paths": {
11
+ "/unlock": {
12
+ "post": {
13
+ "tags": ["service"],
14
+ "summary": "Unlocks a Nuki lock",
15
+ "parameters": [
16
+ {
17
+ "name": "id",
18
+ "summary": "Lock identifier",
19
+ "required": true,
20
+ "description": "Identifier of the Nuki lock",
21
+ "schema": {
22
+ "type": "string"
23
+ }
24
+ },
25
+ {
26
+ "name": "NUKI_API_KEY",
27
+ "summary": "API key",
28
+ "required": false,
29
+ "description": "Nuki API key",
30
+ "schema": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ {
35
+ "name": "NUKI_API_ENDPOINT",
36
+ "summary": "API endpoint",
37
+ "required": false,
38
+ "description": "Nuki API endpoint",
39
+ "schema": {
40
+ "type": "string"
41
+ }
42
+ }
43
+ ],
44
+ "x-events": []
45
+ }
46
+ },
47
+ "/lock": {
48
+ "post": {
49
+ "tags": ["service"],
50
+ "summary": "Locks a Nuki lock",
51
+ "parameters": [
52
+ {
53
+ "name": "id",
54
+ "summary": "Lock identifier",
55
+ "required": true,
56
+ "description": "Identifier of the Nuki lock",
57
+ "schema": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ {
62
+ "name": "NUKI_API_KEY",
63
+ "summary": "API key",
64
+ "required": false,
65
+ "description": "Nuki API key",
66
+ "schema": {
67
+ "type": "string"
68
+ }
69
+ },
70
+ {
71
+ "name": "NUKI_API_ENDPOINT",
72
+ "summary": "API endpoint",
73
+ "required": false,
74
+ "description": "Nuki API endpoint",
75
+ "schema": {
76
+ "type": "string"
77
+ }
78
+ }
79
+ ],
80
+ "x-events": []
81
+ }
82
+ }
83
+ },
84
+ "components": {
85
+ "schemas": {}
86
+ },
87
+ "x-scene-blocks": {}
88
+ }