@pellux/goodvibes-contracts 1.14.0 → 1.16.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/artifacts/operator-contract.json +548 -11
- package/artifacts/operator-openapi.json +639 -7
- package/artifacts/peer-contract.json +8 -4
- package/artifacts/python/homeassistant_operator_client.py +2 -2
- package/dist/generated/foundation-client-types.d.ts +101 -0
- package/dist/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/generated/foundation-metadata.d.ts +2 -2
- package/dist/generated/foundation-metadata.js +2 -2
- package/dist/generated/mock-daemon-fixtures.d.ts.map +1 -1
- package/dist/generated/mock-daemon-fixtures.js +147 -1
- package/dist/generated/operator-contract.d.ts.map +1 -1
- package/dist/generated/operator-contract.js +548 -11
- package/dist/generated/operator-method-ids.d.ts +1 -1
- package/dist/generated/operator-method-ids.d.ts.map +1 -1
- package/dist/generated/operator-method-ids.js +4 -0
- package/dist/generated/peer-contract.d.ts.map +1 -1
- package/dist/generated/peer-contract.js +8 -4
- package/dist/generated/webui-facade.d.ts +2 -2
- package/dist/generated/webui-facade.d.ts.map +1 -1
- package/dist/generated/webui-facade.js +155 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const FOUNDATION_METADATA: {
|
|
2
2
|
readonly productId: "goodvibes";
|
|
3
|
-
readonly productVersion: "1.
|
|
4
|
-
readonly operatorMethodCount:
|
|
3
|
+
readonly productVersion: "1.16.0";
|
|
4
|
+
readonly operatorMethodCount: 419;
|
|
5
5
|
readonly operatorEventCount: 32;
|
|
6
6
|
readonly peerEndpointCount: 6;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mock-daemon-fixtures.d.ts","sourceRoot":"","sources":["../../src/generated/mock-daemon-fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"mock-daemon-fixtures.d.ts","sourceRoot":"","sources":["../../src/generated/mock-daemon-fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,oBA28hBlC,CAAC"}
|
|
@@ -4568,7 +4568,10 @@ export const MOCK_DAEMON_FIXTURES = {
|
|
|
4568
4568
|
"body": {
|
|
4569
4569
|
"success": false,
|
|
4570
4570
|
"key": "sample",
|
|
4571
|
-
"value": "sample"
|
|
4571
|
+
"value": "sample",
|
|
4572
|
+
"persistedTo": "sample",
|
|
4573
|
+
"tier": "sample",
|
|
4574
|
+
"daemonOwned": false
|
|
4572
4575
|
}
|
|
4573
4576
|
},
|
|
4574
4577
|
"credentials.get": {
|
|
@@ -14268,6 +14271,149 @@ export const MOCK_DAEMON_FIXTURES = {
|
|
|
14268
14271
|
]
|
|
14269
14272
|
}
|
|
14270
14273
|
},
|
|
14274
|
+
"devices.grants.list": {
|
|
14275
|
+
"methodId": "devices.grants.list",
|
|
14276
|
+
"http": {
|
|
14277
|
+
"method": "GET",
|
|
14278
|
+
"path": "/api/devices/grants"
|
|
14279
|
+
},
|
|
14280
|
+
"status": 200,
|
|
14281
|
+
"body": {
|
|
14282
|
+
"grants": [
|
|
14283
|
+
{
|
|
14284
|
+
"grantId": "sample",
|
|
14285
|
+
"nodeId": "sample",
|
|
14286
|
+
"nodeKind": "sample",
|
|
14287
|
+
"capabilityId": "sample",
|
|
14288
|
+
"capabilityTitle": "sample",
|
|
14289
|
+
"scope": "sample",
|
|
14290
|
+
"grantedAt": 0,
|
|
14291
|
+
"expiresAt": 0,
|
|
14292
|
+
"lastUsedAt": 0,
|
|
14293
|
+
"useCount": 0,
|
|
14294
|
+
"grantedBy": "sample"
|
|
14295
|
+
}
|
|
14296
|
+
],
|
|
14297
|
+
"audit": [
|
|
14298
|
+
{
|
|
14299
|
+
"id": "sample",
|
|
14300
|
+
"action": "sample",
|
|
14301
|
+
"grantId": "sample",
|
|
14302
|
+
"nodeId": "sample",
|
|
14303
|
+
"capabilityId": "sample",
|
|
14304
|
+
"at": 0,
|
|
14305
|
+
"actor": "sample",
|
|
14306
|
+
"reason": "sample"
|
|
14307
|
+
}
|
|
14308
|
+
]
|
|
14309
|
+
}
|
|
14310
|
+
},
|
|
14311
|
+
"devices.grants.revoke": {
|
|
14312
|
+
"methodId": "devices.grants.revoke",
|
|
14313
|
+
"http": {
|
|
14314
|
+
"method": "POST",
|
|
14315
|
+
"path": "/api/devices/grants/revoke"
|
|
14316
|
+
},
|
|
14317
|
+
"status": 200,
|
|
14318
|
+
"body": {
|
|
14319
|
+
"revoked": 0,
|
|
14320
|
+
"removals": [
|
|
14321
|
+
{
|
|
14322
|
+
"grantId": "sample",
|
|
14323
|
+
"nodeId": "sample",
|
|
14324
|
+
"capabilityId": "sample",
|
|
14325
|
+
"scope": "sample",
|
|
14326
|
+
"reason": "sample",
|
|
14327
|
+
"removedAt": 0
|
|
14328
|
+
}
|
|
14329
|
+
]
|
|
14330
|
+
}
|
|
14331
|
+
},
|
|
14332
|
+
"devices.housekeeping.run": {
|
|
14333
|
+
"methodId": "devices.housekeeping.run",
|
|
14334
|
+
"http": {
|
|
14335
|
+
"method": "POST",
|
|
14336
|
+
"path": "/api/devices/housekeeping"
|
|
14337
|
+
},
|
|
14338
|
+
"status": 200,
|
|
14339
|
+
"body": {
|
|
14340
|
+
"summary": "sample",
|
|
14341
|
+
"sweptAt": 0,
|
|
14342
|
+
"grantsRemoved": [
|
|
14343
|
+
{
|
|
14344
|
+
"grantId": "sample",
|
|
14345
|
+
"nodeId": "sample",
|
|
14346
|
+
"capabilityId": "sample",
|
|
14347
|
+
"scope": "sample",
|
|
14348
|
+
"reason": "sample",
|
|
14349
|
+
"removedAt": 0
|
|
14350
|
+
}
|
|
14351
|
+
],
|
|
14352
|
+
"grantsRetained": 0,
|
|
14353
|
+
"capturesRemoved": [
|
|
14354
|
+
{
|
|
14355
|
+
"artifactId": "sample",
|
|
14356
|
+
"nodeId": "sample",
|
|
14357
|
+
"capabilityId": "sample",
|
|
14358
|
+
"fileName": "sample",
|
|
14359
|
+
"reason": "sample",
|
|
14360
|
+
"removedAt": 0,
|
|
14361
|
+
"byteLength": 0
|
|
14362
|
+
}
|
|
14363
|
+
],
|
|
14364
|
+
"capturesRetained": 0,
|
|
14365
|
+
"bytesReclaimed": 0
|
|
14366
|
+
}
|
|
14367
|
+
},
|
|
14368
|
+
"devices.nodes.list": {
|
|
14369
|
+
"methodId": "devices.nodes.list",
|
|
14370
|
+
"http": {
|
|
14371
|
+
"method": "GET",
|
|
14372
|
+
"path": "/api/devices/nodes"
|
|
14373
|
+
},
|
|
14374
|
+
"status": 200,
|
|
14375
|
+
"body": {
|
|
14376
|
+
"nodes": [
|
|
14377
|
+
{
|
|
14378
|
+
"nodeId": "sample",
|
|
14379
|
+
"nodeKind": "sample",
|
|
14380
|
+
"nodeKindLabel": "sample",
|
|
14381
|
+
"label": "sample",
|
|
14382
|
+
"platform": "sample",
|
|
14383
|
+
"appVersion": "sample",
|
|
14384
|
+
"contractVersion": 0,
|
|
14385
|
+
"contractCompatible": false,
|
|
14386
|
+
"supported": [
|
|
14387
|
+
"sample"
|
|
14388
|
+
],
|
|
14389
|
+
"undeclared": [
|
|
14390
|
+
"sample"
|
|
14391
|
+
],
|
|
14392
|
+
"gatedBySecureContext": [
|
|
14393
|
+
"sample"
|
|
14394
|
+
],
|
|
14395
|
+
"unknownDeclared": [
|
|
14396
|
+
"sample"
|
|
14397
|
+
]
|
|
14398
|
+
}
|
|
14399
|
+
],
|
|
14400
|
+
"capabilities": [
|
|
14401
|
+
{
|
|
14402
|
+
"id": "sample",
|
|
14403
|
+
"family": "sample",
|
|
14404
|
+
"title": "sample",
|
|
14405
|
+
"purpose": "sample",
|
|
14406
|
+
"effect": "sample",
|
|
14407
|
+
"sensitivity": "sample",
|
|
14408
|
+
"producesArtifact": false,
|
|
14409
|
+
"allowAlwaysOffered": false
|
|
14410
|
+
}
|
|
14411
|
+
],
|
|
14412
|
+
"mode": "sample",
|
|
14413
|
+
"allowAlwaysOffer": "sample",
|
|
14414
|
+
"captureRetentionHours": 0
|
|
14415
|
+
}
|
|
14416
|
+
},
|
|
14271
14417
|
"runtime.metrics.get": {
|
|
14272
14418
|
"methodId": "runtime.metrics.get",
|
|
14273
14419
|
"http": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operator-contract.d.ts","sourceRoot":"","sources":["../../src/generated/operator-contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE5D,eAAO,MAAM,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"operator-contract.d.ts","sourceRoot":"","sources":["../../src/generated/operator-contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE5D,eAAO,MAAM,iBAAiB,EAAE,wBA0i1FtB,CAAC"}
|