@snokam/mcp-api 0.146.0 → 0.146.1

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.
@@ -115,7 +115,7 @@
115
115
  "content": {
116
116
  "application/json": {
117
117
  "schema": {
118
- "$ref": "#/components/schemas/updateLight"
118
+ "$ref": "#/components/schemas/lightUpdate"
119
119
  }
120
120
  }
121
121
  },
@@ -1336,55 +1336,6 @@
1336
1336
  }
1337
1337
  }
1338
1338
  },
1339
- "color": {
1340
- "type": "object",
1341
- "properties": {
1342
- "gamut": {
1343
- "$ref": "#/components/schemas/gamut"
1344
- },
1345
- "gamutType": {
1346
- "type": "string"
1347
- },
1348
- "xy": {
1349
- "$ref": "#/components/schemas/xyPosition"
1350
- }
1351
- }
1352
- },
1353
- "colorTemperature": {
1354
- "type": "object",
1355
- "properties": {
1356
- "mirek": {
1357
- "type": "integer",
1358
- "format": "int32",
1359
- "nullable": true
1360
- },
1361
- "mirekSchema": {
1362
- "$ref": "#/components/schemas/mirekSchema"
1363
- },
1364
- "mirekValid": {
1365
- "type": "boolean"
1366
- }
1367
- }
1368
- },
1369
- "colorTemperatureDelta": {
1370
- "type": "object",
1371
- "properties": {
1372
- "action": {
1373
- "enum": [
1374
- 0,
1375
- 1,
1376
- 2
1377
- ],
1378
- "type": "integer",
1379
- "format": "int32",
1380
- "default": 0
1381
- },
1382
- "mirekDelta": {
1383
- "type": "integer",
1384
- "format": "int32"
1385
- }
1386
- }
1387
- },
1388
1339
  "container": {
1389
1340
  "type": "object",
1390
1341
  "properties": {
@@ -1399,59 +1350,6 @@
1399
1350
  }
1400
1351
  }
1401
1352
  },
1402
- "contentConfiguration": {
1403
- "type": "object",
1404
- "properties": {
1405
- "orientation": {
1406
- "$ref": "#/components/schemas/contentConfigurationOrientation"
1407
- },
1408
- "order": {
1409
- "$ref": "#/components/schemas/contentConfigurationOrder"
1410
- }
1411
- }
1412
- },
1413
- "contentConfigurationOrder": {
1414
- "type": "object",
1415
- "properties": {
1416
- "status": {
1417
- "type": "string"
1418
- },
1419
- "configurable": {
1420
- "type": "boolean",
1421
- "nullable": true
1422
- },
1423
- "order": {
1424
- "enum": [
1425
- 0,
1426
- 1
1427
- ],
1428
- "type": "integer",
1429
- "format": "int32",
1430
- "default": 0
1431
- }
1432
- }
1433
- },
1434
- "contentConfigurationOrientation": {
1435
- "type": "object",
1436
- "properties": {
1437
- "status": {
1438
- "type": "string"
1439
- },
1440
- "configurable": {
1441
- "type": "boolean",
1442
- "nullable": true
1443
- },
1444
- "orientation": {
1445
- "enum": [
1446
- 0,
1447
- 1
1448
- ],
1449
- "type": "integer",
1450
- "format": "int32",
1451
- "default": 0
1452
- }
1453
- }
1454
- },
1455
1353
  "currentItem": {
1456
1354
  "type": "object",
1457
1355
  "properties": {
@@ -1466,212 +1364,6 @@
1466
1364
  }
1467
1365
  }
1468
1366
  },
1469
- "dimming": {
1470
- "type": "object",
1471
- "properties": {
1472
- "brightness": {
1473
- "type": "number",
1474
- "format": "double"
1475
- },
1476
- "minDimLevel": {
1477
- "type": "number",
1478
- "format": "double",
1479
- "nullable": true
1480
- }
1481
- }
1482
- },
1483
- "dimmingDelta": {
1484
- "type": "object",
1485
- "properties": {
1486
- "action": {
1487
- "enum": [
1488
- 0,
1489
- 1,
1490
- 2
1491
- ],
1492
- "type": "integer",
1493
- "format": "int32",
1494
- "default": 0
1495
- },
1496
- "brightnessDelta": {
1497
- "type": "number",
1498
- "format": "double"
1499
- }
1500
- }
1501
- },
1502
- "dynamics": {
1503
- "type": "object",
1504
- "properties": {
1505
- "duration": {
1506
- "type": "integer",
1507
- "format": "int32"
1508
- },
1509
- "speed": {
1510
- "type": "number",
1511
- "format": "double"
1512
- },
1513
- "speedValid": {
1514
- "type": "boolean"
1515
- },
1516
- "status": {
1517
- "type": "string"
1518
- },
1519
- "statusValues": {
1520
- "type": "array",
1521
- "items": {
1522
- "type": "string"
1523
- }
1524
- }
1525
- }
1526
- },
1527
- "effectAction": {
1528
- "type": "object",
1529
- "properties": {
1530
- "effect": {
1531
- "enum": [
1532
- 0,
1533
- 1,
1534
- 2,
1535
- 3,
1536
- 4,
1537
- 5,
1538
- 6,
1539
- 7,
1540
- 8,
1541
- 9,
1542
- 10
1543
- ],
1544
- "type": "integer",
1545
- "format": "int32",
1546
- "default": 0
1547
- },
1548
- "parameters": {
1549
- "$ref": "#/components/schemas/effectParams"
1550
- }
1551
- }
1552
- },
1553
- "effectParams": {
1554
- "type": "object",
1555
- "properties": {
1556
- "color": {
1557
- "$ref": "#/components/schemas/color"
1558
- },
1559
- "colorTemperature": {
1560
- "$ref": "#/components/schemas/colorTemperature"
1561
- },
1562
- "speed": {
1563
- "type": "number",
1564
- "format": "double",
1565
- "nullable": true
1566
- }
1567
- }
1568
- },
1569
- "effects": {
1570
- "type": "object",
1571
- "properties": {
1572
- "effect": {
1573
- "enum": [
1574
- 0,
1575
- 1,
1576
- 2,
1577
- 3,
1578
- 4,
1579
- 5,
1580
- 6,
1581
- 7,
1582
- 8,
1583
- 9,
1584
- 10
1585
- ],
1586
- "type": "integer",
1587
- "format": "int32",
1588
- "default": 0
1589
- },
1590
- "effectValues": {
1591
- "type": "array",
1592
- "items": {
1593
- "type": "string"
1594
- }
1595
- },
1596
- "status": {
1597
- "type": "string"
1598
- },
1599
- "statusValues": {
1600
- "type": "array",
1601
- "items": {
1602
- "type": "string"
1603
- }
1604
- }
1605
- }
1606
- },
1607
- "effectsV2": {
1608
- "type": "object",
1609
- "properties": {
1610
- "action": {
1611
- "$ref": "#/components/schemas/effectAction"
1612
- }
1613
- }
1614
- },
1615
- "gamut": {
1616
- "type": "object",
1617
- "properties": {
1618
- "blue": {
1619
- "$ref": "#/components/schemas/xyPosition"
1620
- },
1621
- "green": {
1622
- "$ref": "#/components/schemas/xyPosition"
1623
- },
1624
- "red": {
1625
- "$ref": "#/components/schemas/xyPosition"
1626
- }
1627
- }
1628
- },
1629
- "gradient": {
1630
- "type": "object",
1631
- "properties": {
1632
- "points": {
1633
- "type": "array",
1634
- "items": {
1635
- "$ref": "#/components/schemas/gradientPoint"
1636
- }
1637
- },
1638
- "mode": {
1639
- "enum": [
1640
- 0,
1641
- 1,
1642
- 2,
1643
- 3
1644
- ],
1645
- "type": "integer",
1646
- "format": "int32",
1647
- "default": 0
1648
- },
1649
- "modeValues": {
1650
- "type": "array",
1651
- "items": {
1652
- "type": "string"
1653
- }
1654
- },
1655
- "pointsCapable": {
1656
- "type": "integer",
1657
- "format": "int32",
1658
- "nullable": true
1659
- },
1660
- "pixelCount": {
1661
- "type": "integer",
1662
- "format": "int32",
1663
- "nullable": true
1664
- }
1665
- }
1666
- },
1667
- "gradientPoint": {
1668
- "type": "object",
1669
- "properties": {
1670
- "color": {
1671
- "$ref": "#/components/schemas/color"
1672
- }
1673
- }
1674
- },
1675
1367
  "group": {
1676
1368
  "type": "object",
1677
1369
  "properties": {
@@ -1726,14 +1418,6 @@
1726
1418
  }
1727
1419
  }
1728
1420
  },
1729
- "identify": {
1730
- "type": "object",
1731
- "properties": {
1732
- "action": {
1733
- "type": "string"
1734
- }
1735
- }
1736
- },
1737
1421
  "image": {
1738
1422
  "type": "object",
1739
1423
  "properties": {
@@ -1780,42 +1464,49 @@
1780
1464
  "format": "uuid"
1781
1465
  },
1782
1466
  "on": {
1783
- "$ref": "#/components/schemas/on"
1467
+ "$ref": "#/components/schemas/lightOn"
1784
1468
  },
1785
1469
  "name": {
1786
1470
  "type": "string"
1787
1471
  }
1788
1472
  }
1789
1473
  },
1790
- "metadata": {
1474
+ "lightDimming": {
1791
1475
  "type": "object",
1792
1476
  "properties": {
1793
- "name": {
1794
- "type": "string"
1795
- },
1796
- "archetype": {
1477
+ "brightness": {
1478
+ "type": "number",
1479
+ "format": "double"
1480
+ }
1481
+ }
1482
+ },
1483
+ "lightEffects": {
1484
+ "type": "object",
1485
+ "properties": {
1486
+ "effect": {
1797
1487
  "type": "string"
1798
- },
1799
- "image": {
1800
- "$ref": "#/components/schemas/resourceIdentifier"
1801
- },
1802
- "controlId": {
1803
- "type": "integer",
1804
- "format": "int32",
1805
- "nullable": true
1806
1488
  }
1807
1489
  }
1808
1490
  },
1809
- "mirekSchema": {
1491
+ "lightOn": {
1810
1492
  "type": "object",
1811
1493
  "properties": {
1812
- "mirekMaximum": {
1813
- "type": "integer",
1814
- "format": "int32"
1494
+ "isOn": {
1495
+ "type": "boolean"
1496
+ }
1497
+ }
1498
+ },
1499
+ "lightUpdate": {
1500
+ "type": "object",
1501
+ "properties": {
1502
+ "on": {
1503
+ "$ref": "#/components/schemas/lightOn"
1815
1504
  },
1816
- "mirekMinimum": {
1817
- "type": "integer",
1818
- "format": "int32"
1505
+ "dimming": {
1506
+ "$ref": "#/components/schemas/lightDimming"
1507
+ },
1508
+ "effects": {
1509
+ "$ref": "#/components/schemas/lightEffects"
1819
1510
  }
1820
1511
  }
1821
1512
  },
@@ -1932,35 +1623,6 @@
1932
1623
  }
1933
1624
  }
1934
1625
  },
1935
- "powerUp": {
1936
- "type": "object",
1937
- "properties": {
1938
- "preset": {
1939
- "enum": [
1940
- 0,
1941
- 1,
1942
- 2,
1943
- 3
1944
- ],
1945
- "type": "integer",
1946
- "format": "int32",
1947
- "default": 0
1948
- },
1949
- "on": {
1950
- "$ref": "#/components/schemas/powerUpOn"
1951
- },
1952
- "dimming": {
1953
- "$ref": "#/components/schemas/dimming"
1954
- },
1955
- "color": {
1956
- "$ref": "#/components/schemas/color"
1957
- },
1958
- "configured": {
1959
- "type": "boolean",
1960
- "nullable": true
1961
- }
1962
- }
1963
- },
1964
1626
  "powerUpOn": {
1965
1627
  "type": "object",
1966
1628
  "properties": {
@@ -2058,18 +1720,6 @@
2058
1720
  }
2059
1721
  }
2060
1722
  },
2061
- "resourceIdentifier": {
2062
- "type": "object",
2063
- "properties": {
2064
- "rid": {
2065
- "type": "string",
2066
- "format": "uuid"
2067
- },
2068
- "rtype": {
2069
- "type": "string"
2070
- }
2071
- }
2072
- },
2073
1723
  "sanityOfficeDto": {
2074
1724
  "type": "object",
2075
1725
  "properties": {
@@ -2113,32 +1763,6 @@
2113
1763
  }
2114
1764
  }
2115
1765
  },
2116
- "signalingUpdate": {
2117
- "type": "object",
2118
- "properties": {
2119
- "signal": {
2120
- "enum": [
2121
- 0,
2122
- 1,
2123
- 2,
2124
- 3
2125
- ],
2126
- "type": "integer",
2127
- "format": "int32",
2128
- "default": 0
2129
- },
2130
- "duration": {
2131
- "type": "integer",
2132
- "format": "int32"
2133
- },
2134
- "colors": {
2135
- "type": "array",
2136
- "items": {
2137
- "$ref": "#/components/schemas/color"
2138
- }
2139
- }
2140
- }
2141
- },
2142
1766
  "simpleResponse": {
2143
1767
  "type": "object",
2144
1768
  "properties": {
@@ -2189,40 +1813,6 @@
2189
1813
  }
2190
1814
  }
2191
1815
  },
2192
- "timedEffects": {
2193
- "type": "object",
2194
- "properties": {
2195
- "effect": {
2196
- "enum": [
2197
- 0,
2198
- 1,
2199
- 2
2200
- ],
2201
- "type": "integer",
2202
- "format": "int32",
2203
- "default": 0
2204
- },
2205
- "duration": {
2206
- "type": "integer",
2207
- "format": "int32"
2208
- },
2209
- "effectValues": {
2210
- "type": "array",
2211
- "items": {
2212
- "type": "string"
2213
- }
2214
- },
2215
- "status": {
2216
- "type": "string"
2217
- },
2218
- "statusValues": {
2219
- "type": "array",
2220
- "items": {
2221
- "type": "string"
2222
- }
2223
- }
2224
- }
2225
- },
2226
1816
  "track": {
2227
1817
  "type": "object",
2228
1818
  "properties": {
@@ -2294,86 +1884,6 @@
2294
1884
  "type": "string"
2295
1885
  }
2296
1886
  }
2297
- },
2298
- "updateAlert": {
2299
- "type": "object",
2300
- "properties": {
2301
- "action": {
2302
- "type": "string"
2303
- }
2304
- }
2305
- },
2306
- "updateLight": {
2307
- "type": "object",
2308
- "properties": {
2309
- "identify": {
2310
- "$ref": "#/components/schemas/identify"
2311
- },
2312
- "on": {
2313
- "$ref": "#/components/schemas/on"
2314
- },
2315
- "dimming": {
2316
- "$ref": "#/components/schemas/dimming"
2317
- },
2318
- "dimmingDelta": {
2319
- "$ref": "#/components/schemas/dimmingDelta"
2320
- },
2321
- "colorTemperature": {
2322
- "$ref": "#/components/schemas/colorTemperature"
2323
- },
2324
- "colorTemperatureDelta": {
2325
- "$ref": "#/components/schemas/colorTemperatureDelta"
2326
- },
2327
- "color": {
2328
- "$ref": "#/components/schemas/color"
2329
- },
2330
- "dynamics": {
2331
- "$ref": "#/components/schemas/dynamics"
2332
- },
2333
- "alert": {
2334
- "$ref": "#/components/schemas/updateAlert"
2335
- },
2336
- "signaling": {
2337
- "$ref": "#/components/schemas/signalingUpdate"
2338
- },
2339
- "gradient": {
2340
- "$ref": "#/components/schemas/gradient"
2341
- },
2342
- "effects": {
2343
- "$ref": "#/components/schemas/effects"
2344
- },
2345
- "effectsV2": {
2346
- "$ref": "#/components/schemas/effectsV2"
2347
- },
2348
- "timedEffects": {
2349
- "$ref": "#/components/schemas/timedEffects"
2350
- },
2351
- "powerUp": {
2352
- "$ref": "#/components/schemas/powerUp"
2353
- },
2354
- "contentConfiguration": {
2355
- "$ref": "#/components/schemas/contentConfiguration"
2356
- },
2357
- "type": {
2358
- "type": "string"
2359
- },
2360
- "metadata": {
2361
- "$ref": "#/components/schemas/metadata"
2362
- }
2363
- }
2364
- },
2365
- "xyPosition": {
2366
- "type": "object",
2367
- "properties": {
2368
- "x": {
2369
- "type": "number",
2370
- "format": "double"
2371
- },
2372
- "y": {
2373
- "type": "number",
2374
- "format": "double"
2375
- }
2376
- }
2377
1887
  }
2378
1888
  },
2379
1889
  "securitySchemes": {