@kusinta/iot-schema 0.2.0-beta.2 → 0.2.0-beta.21
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 +11 -1
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +121 -3
- package/src/kusinta/iot/access/v1/acl_pb.js +20 -3
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +102 -0
- package/src/kusinta/iot/access/v1/roles_pb.js +81 -1
- package/src/kusinta/iot/climate/v1/climate_pb.d.ts +726 -0
- package/src/kusinta/iot/climate/v1/climate_pb.js +142 -0
- package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
- package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
- package/src/kusinta/iot/common/v1/types_pb.d.ts +34 -0
- package/src/kusinta/iot/common/v1/types_pb.js +22 -1
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +476 -7
- package/src/kusinta/iot/connector/v1/connector_pb.js +70 -12
- package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +44 -0
- package/src/kusinta/iot/device/v1/cluster_state_pb.js +1 -1
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +22 -2
- package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
- package/src/kusinta/iot/device/v1/device_event_pb.d.ts +87 -5
- package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
- package/src/kusinta/iot/device/v1/device_pb.d.ts +150 -6
- package/src/kusinta/iot/device/v1/device_pb.js +33 -2
- package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +26 -0
- package/src/kusinta/iot/device/v1/matter_options_pb.js +31 -4
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +14 -0
- package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +3 -2
- package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
- package/src/kusinta/iot/link/v1/link_pb.js +121 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +891 -0
- package/src/kusinta/iot/reporting/v1/reporting_pb.js +164 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +47 -0
- package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
- package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +177 -4
- package/src/kusinta/iot/signaling/v1/signaling_pb.js +29 -1
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
- package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
- package/src/kusinta/iot/space/v1/space_pb.d.ts +72 -2
- package/src/kusinta/iot/space/v1/space_pb.js +9 -1
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +162 -13
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +8 -1
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
- package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +25 -4
- package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +28 -6
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +18 -3
- package/src/kusinta/iot/webrtc/v1/command_pb.js +2 -1
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +170 -5
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +34 -6
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +448 -3
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +63 -3
- package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +775 -12
- package/src/kusinta/iot/webrtc/v1/management_pb.js +123 -5
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +34 -4
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +2 -2
- package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
- package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
|
@@ -4,12 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
-
import type { DeviceId } from "../../identity/v1/identity_pb.js";
|
|
7
|
+
import type { ConnectorId, DeviceId, SpaceId } from "../../identity/v1/identity_pb.js";
|
|
8
8
|
import type { AttributeRef } from "../../access/v1/acl_pb.js";
|
|
9
9
|
import type { Space } from "../../space/v1/space_pb.js";
|
|
10
|
-
import type { ManagementAck, ManagementRequest, SpaceTree } from "./management_pb.js";
|
|
10
|
+
import type { ManagementAck, ManagementRequest, PrivacyDisclosure, SpaceTree } from "./management_pb.js";
|
|
11
|
+
import type { DeviceLink, DeviceLinkList } from "../../link/v1/link_pb.js";
|
|
12
|
+
import type { ApartmentClimateSummary, ClimateMode, RoomClimate, RoomClimateList, RoomHistory } from "../../climate/v1/climate_pb.js";
|
|
13
|
+
import type { PairingErrorDetail, PairingWindow } from "../../common/v1/pairing_pb.js";
|
|
14
|
+
import type { ConnectorKind, DeviceOwnershipType } from "../../common/v1/types_pb.js";
|
|
11
15
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
12
|
-
import type { DeviceAdded, DeviceRemoved, DeviceStateSnapshot, PropertyReport } from "./device_state_pb.js";
|
|
16
|
+
import type { DeviceAdded, DeviceRemoved, DeviceStateSnapshot, PropertyReport, ServiceStatusChanged } from "./device_state_pb.js";
|
|
13
17
|
import type { LivePermissionUpdate } from "./permission_push_pb.js";
|
|
14
18
|
import type { AttributeWriteRequest, CommandResult, DeviceCommand } from "./command_pb.js";
|
|
15
19
|
import type { DeviceEventBatch } from "../../device/v1/device_event_pb.js";
|
|
@@ -316,6 +320,46 @@ export declare type ManagementResult = Message<"kusinta.iot.webrtc.v1.Management
|
|
|
316
320
|
*/
|
|
317
321
|
value: ManagementAck;
|
|
318
322
|
case: "ack";
|
|
323
|
+
} | {
|
|
324
|
+
/**
|
|
325
|
+
* list_device_links
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: kusinta.iot.link.v1.DeviceLinkList links = 6;
|
|
328
|
+
*/
|
|
329
|
+
value: DeviceLinkList;
|
|
330
|
+
case: "links";
|
|
331
|
+
} | {
|
|
332
|
+
/**
|
|
333
|
+
* list_room_climates
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: kusinta.iot.climate.v1.RoomClimateList room_climates = 7;
|
|
336
|
+
*/
|
|
337
|
+
value: RoomClimateList;
|
|
338
|
+
case: "roomClimates";
|
|
339
|
+
} | {
|
|
340
|
+
/**
|
|
341
|
+
* get_room_history
|
|
342
|
+
*
|
|
343
|
+
* @generated from field: kusinta.iot.climate.v1.RoomHistory room_history = 8;
|
|
344
|
+
*/
|
|
345
|
+
value: RoomHistory;
|
|
346
|
+
case: "roomHistory";
|
|
347
|
+
} | {
|
|
348
|
+
/**
|
|
349
|
+
* get_privacy_disclosure
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: kusinta.iot.webrtc.v1.PrivacyDisclosure privacy_disclosure = 9;
|
|
352
|
+
*/
|
|
353
|
+
value: PrivacyDisclosure;
|
|
354
|
+
case: "privacyDisclosure";
|
|
355
|
+
} | {
|
|
356
|
+
/**
|
|
357
|
+
* get_apartment_climate_summary
|
|
358
|
+
*
|
|
359
|
+
* @generated from field: kusinta.iot.climate.v1.ApartmentClimateSummary apartment_climate_summary = 10;
|
|
360
|
+
*/
|
|
361
|
+
value: ApartmentClimateSummary;
|
|
362
|
+
case: "apartmentClimateSummary";
|
|
319
363
|
} | { case: undefined; value?: undefined };
|
|
320
364
|
};
|
|
321
365
|
|
|
@@ -325,9 +369,362 @@ export declare type ManagementResult = Message<"kusinta.iot.webrtc.v1.Management
|
|
|
325
369
|
*/
|
|
326
370
|
export declare const ManagementResultSchema: GenMessage<ManagementResult>;
|
|
327
371
|
|
|
372
|
+
/**
|
|
373
|
+
* Asks the gateway to put a connector into pairing mode, so a device joined during the
|
|
374
|
+
* window becomes the caller's rather than belonging to nobody.
|
|
375
|
+
*
|
|
376
|
+
* A payload case of its own rather than a ManagementRequest. Those are gated on a target —
|
|
377
|
+
* a space, a device — and that is the justification for keeping them behind one wrapper.
|
|
378
|
+
* A connector is not a target the caller must reach the way a space is, so this is
|
|
379
|
+
* authorized against the caller's role and nothing else — but it must still name the
|
|
380
|
+
* connector to open (see connector_id), never every connector at once.
|
|
381
|
+
*
|
|
382
|
+
* Answered twice, and the two answers say different things at different times.
|
|
383
|
+
* PairingStarted reports whether the window opened; PairingFinished reports what came of
|
|
384
|
+
* it, seconds or minutes later, once someone has pressed a button on hardware that may be
|
|
385
|
+
* asleep or out of range.
|
|
386
|
+
*
|
|
387
|
+
* @generated from message kusinta.iot.webrtc.v1.StartPairing
|
|
388
|
+
*/
|
|
389
|
+
export declare type StartPairing = Message<"kusinta.iot.webrtc.v1.StartPairing"> & {
|
|
390
|
+
/**
|
|
391
|
+
* Which connector to open. Required: pairing always targets exactly one connector,
|
|
392
|
+
* picked from the connector enumeration (see ConnectorsAnnounced and
|
|
393
|
+
* ConnectorInfo.supports_pairing). An untargeted request is refused with
|
|
394
|
+
* PairingError.CONNECTOR_REQUIRED, never fanned out across every hub — so that no
|
|
395
|
+
* client can open every radio at once, and so a device is paired onto the specific hub
|
|
396
|
+
* that will broker its links. The field is a message, so proto cannot mark it required;
|
|
397
|
+
* the gateway enforces it.
|
|
398
|
+
*
|
|
399
|
+
* @generated from field: kusinta.iot.identity.v1.ConnectorId connector_id = 1;
|
|
400
|
+
*/
|
|
401
|
+
connectorId?: ConnectorId | undefined;
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* How long, which device, how many. See PairingWindow.
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: kusinta.iot.common.v1.PairingWindow window = 2;
|
|
407
|
+
*/
|
|
408
|
+
window?: PairingWindow | undefined;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Where to file the device once it arrives. Into a home only as PlaceDeviceInSpace
|
|
412
|
+
* allows.
|
|
413
|
+
*
|
|
414
|
+
* Optional, and the two cases differ. A caller pairing a device of their own must name a
|
|
415
|
+
* space they reach, so it is theirs and placed on arrival rather than sitting unfiled and
|
|
416
|
+
* invisible to them. A caller commissioning for a building may leave it unset: a building
|
|
417
|
+
* is commissioned before its spaces are recorded, and an unfiled device is visible to the
|
|
418
|
+
* administrator, who is the person doing the pairing.
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: kusinta.iot.identity.v1.SpaceId initial_space_id = 3;
|
|
421
|
+
*/
|
|
422
|
+
initialSpaceId?: SpaceId | undefined;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* What the device should become. Unset lets the gateway decide from the caller's role,
|
|
426
|
+
* which is the reading that scales: someone commissioning fifty devices for a building
|
|
427
|
+
* should not come to own fifty devices because a field defaulted.
|
|
428
|
+
*
|
|
429
|
+
* The gateway refuses an ownership the caller may not confer, and never mints ownership
|
|
430
|
+
* for a third party — handing a device to someone else is a transfer, a separate operation
|
|
431
|
+
* with its own authority.
|
|
432
|
+
*
|
|
433
|
+
* @generated from field: kusinta.iot.common.v1.DeviceOwnershipType ownership = 4;
|
|
434
|
+
*/
|
|
435
|
+
ownership: DeviceOwnershipType;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Describes the message kusinta.iot.webrtc.v1.StartPairing.
|
|
440
|
+
* Use `create(StartPairingSchema)` to create a new message.
|
|
441
|
+
*/
|
|
442
|
+
export declare const StartPairingSchema: GenMessage<StartPairing>;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Whether the pairing window opened, gateway → app. The first of two answers to a
|
|
446
|
+
* StartPairing.
|
|
447
|
+
*
|
|
448
|
+
* @generated from message kusinta.iot.webrtc.v1.PairingStarted
|
|
449
|
+
*/
|
|
450
|
+
export declare type PairingStarted = Message<"kusinta.iot.webrtc.v1.PairingStarted"> & {
|
|
451
|
+
/**
|
|
452
|
+
* AppMessage.message_id of the StartPairing
|
|
453
|
+
*
|
|
454
|
+
* @generated from field: string in_reply_to = 1;
|
|
455
|
+
*/
|
|
456
|
+
inReplyTo: string;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* When the window closes. Present when it opened, and this is the value to count down
|
|
460
|
+
* from — not the duration that was asked for, which both the gateway and the connector
|
|
461
|
+
* clamp. A countdown run on the request rather than on this one disagrees with the hub.
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
464
|
+
*/
|
|
465
|
+
expiresAt?: Timestamp | undefined;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Why it did not open. Present instead of expires_at.
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: kusinta.iot.common.v1.PairingErrorDetail error = 3;
|
|
471
|
+
*/
|
|
472
|
+
error?: PairingErrorDetail | undefined;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Describes the message kusinta.iot.webrtc.v1.PairingStarted.
|
|
477
|
+
* Use `create(PairingStartedSchema)` to create a new message.
|
|
478
|
+
*/
|
|
479
|
+
export declare const PairingStartedSchema: GenMessage<PairingStarted>;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* What the pairing window produced, gateway → app. The second and last answer, sent once
|
|
483
|
+
* when the window closes.
|
|
484
|
+
*
|
|
485
|
+
* One message per request, not per device: a batch window attributes several, and a client
|
|
486
|
+
* given one message each has nothing telling it the window is over and no defined moment to
|
|
487
|
+
* stop waiting. The devices are listed here; each also arrives as an ordinary DeviceAdded
|
|
488
|
+
* as it appears — for a device the caller sees as service, at the next quarter hour — so a
|
|
489
|
+
* client may show them as they come and use this to finish.
|
|
490
|
+
*
|
|
491
|
+
* An error and a non-empty device list are not exclusive. A batch of five that attributed
|
|
492
|
+
* three and then expired reports both — three devices and NO_DEVICE_APPEARED — because
|
|
493
|
+
* "some worked" and "the window ran out" are both true and a user needs to be told both.
|
|
494
|
+
*
|
|
495
|
+
* @generated from message kusinta.iot.webrtc.v1.PairingFinished
|
|
496
|
+
*/
|
|
497
|
+
export declare type PairingFinished = Message<"kusinta.iot.webrtc.v1.PairingFinished"> & {
|
|
498
|
+
/**
|
|
499
|
+
* AppMessage.message_id of the StartPairing
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: string in_reply_to = 1;
|
|
502
|
+
*/
|
|
503
|
+
inReplyTo: string;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: repeated kusinta.iot.identity.v1.DeviceId device_ids = 2;
|
|
507
|
+
*/
|
|
508
|
+
deviceIds: DeviceId[];
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Why the window produced fewer devices than asked for, absent when it produced them all.
|
|
512
|
+
* Note this is not always a failure of the request: a window that simply expired unused
|
|
513
|
+
* ends here too, and is the ordinary result of a user changing their mind.
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: kusinta.iot.common.v1.PairingErrorDetail error = 3;
|
|
516
|
+
*/
|
|
517
|
+
error?: PairingErrorDetail | undefined;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Describes the message kusinta.iot.webrtc.v1.PairingFinished.
|
|
522
|
+
* Use `create(PairingFinishedSchema)` to create a new message.
|
|
523
|
+
*/
|
|
524
|
+
export declare const PairingFinishedSchema: GenMessage<PairingFinished>;
|
|
525
|
+
|
|
328
526
|
/**
|
|
329
527
|
* GatewayMessage: gateway → app
|
|
528
|
+
* A link between two devices has changed, gateway to app.
|
|
529
|
+
*
|
|
530
|
+
* Sent without being asked for, like device_added, and for the same reason: a link's
|
|
531
|
+
* state is not settled when it is made. A hub accepting a link is not the two devices
|
|
532
|
+
* honouring it, and a link that was carrying stops when its sender goes quiet — so the
|
|
533
|
+
* interesting transitions all happen long after the request that created it was
|
|
534
|
+
* answered. Without this an app can only learn by listing every link again and
|
|
535
|
+
* diffing, which means a room that has quietly stopped following its wall thermostat
|
|
536
|
+
* looks correct until somebody reloads.
|
|
537
|
+
*
|
|
538
|
+
* Apply as an upsert keyed on link.link_id, never as an insert: the same link is sent
|
|
539
|
+
* again whenever its state moves.
|
|
330
540
|
*
|
|
541
|
+
* Sent only for links the recipient is entitled to see. An unfiltered one would say
|
|
542
|
+
* which devices exist and how they are arranged, to somebody entitled to neither. A link
|
|
543
|
+
* with an end in a home is not pushed to a recipient who sees it as service when it is made
|
|
544
|
+
* or changes — when its residents make one is theirs to know; service reads a home's links
|
|
545
|
+
* by ListDeviceLinks, where a new one appears from the next quarter hour. Its removal is
|
|
546
|
+
* pushed to them at once, with details_withheld, as every loss is — to those whose view
|
|
547
|
+
* held it at a quarter hour since it was made, and to nobody else.
|
|
548
|
+
*
|
|
549
|
+
* @generated from message kusinta.iot.webrtc.v1.LinkChanged
|
|
550
|
+
*/
|
|
551
|
+
export declare type LinkChanged = Message<"kusinta.iot.webrtc.v1.LinkChanged"> & {
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: kusinta.iot.link.v1.DeviceLink link = 1;
|
|
554
|
+
*/
|
|
555
|
+
link?: DeviceLink | undefined;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* The link is gone, rather than merely not carrying. Distinct from a BROKEN state
|
|
559
|
+
* because the two need opposite responses: a removal is finished business, while a
|
|
560
|
+
* link that has stopped carrying is a fault worth showing somebody. Announcing a
|
|
561
|
+
* deletion as BROKEN would leave every removed link looking like something to go
|
|
562
|
+
* and repair.
|
|
563
|
+
*
|
|
564
|
+
* `link` still carries the whole link when this is set, so the app can name what
|
|
565
|
+
* went rather than only its id — as much of it as the recipient was shown, so with
|
|
566
|
+
* details_withheld to one who saw it as service. To such a recipient it means the link is
|
|
567
|
+
* gone from their view, which need not mean it is gone.
|
|
568
|
+
*
|
|
569
|
+
* @generated from field: bool removed = 2;
|
|
570
|
+
*/
|
|
571
|
+
removed: boolean;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Describes the message kusinta.iot.webrtc.v1.LinkChanged.
|
|
576
|
+
* Use `create(LinkChangedSchema)` to create a new message.
|
|
577
|
+
*/
|
|
578
|
+
export declare const LinkChangedSchema: GenMessage<LinkChanged>;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* One connected connector, described for the app, gateway → app.
|
|
582
|
+
*
|
|
583
|
+
* Deliberately not connector.v1.ConnectorInfo: that carries transport and endpoint,
|
|
584
|
+
* which are the gateway↔connector wiring and no business of the app. This is the
|
|
585
|
+
* app-facing projection — who the connector is and what it can do — and nothing
|
|
586
|
+
* about how the gateway reaches it.
|
|
587
|
+
*
|
|
588
|
+
* @generated from message kusinta.iot.webrtc.v1.ConnectorDescriptor
|
|
589
|
+
*/
|
|
590
|
+
export declare type ConnectorDescriptor = Message<"kusinta.iot.webrtc.v1.ConnectorDescriptor"> & {
|
|
591
|
+
/**
|
|
592
|
+
* The routing key. Stable and unique; what StartPairing.connector_id and
|
|
593
|
+
* ProvisionDevice.connector_id name.
|
|
594
|
+
*
|
|
595
|
+
* @generated from field: kusinta.iot.identity.v1.ConnectorId connector_id = 1;
|
|
596
|
+
*/
|
|
597
|
+
connectorId?: ConnectorId | undefined;
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* User-facing label, free-form, never matched on.
|
|
601
|
+
*
|
|
602
|
+
* @generated from field: string display_name = 2;
|
|
603
|
+
*/
|
|
604
|
+
displayName: string;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @generated from field: repeated uint32 supported_device_type_ids = 3;
|
|
608
|
+
*/
|
|
609
|
+
supportedDeviceTypeIds: number[];
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* The capabilities the app branches on. Copied from the connector's handshake;
|
|
613
|
+
* see ConnectorInfo for what each means. The app decides pairing-vs-provisioning
|
|
614
|
+
* and whether to offer hard links from these, never from kind.
|
|
615
|
+
*
|
|
616
|
+
* @generated from field: bool supports_pairing = 4;
|
|
617
|
+
*/
|
|
618
|
+
supportsPairing: boolean;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* @generated from field: bool supports_provisioning = 5;
|
|
622
|
+
*/
|
|
623
|
+
supportsProvisioning: boolean;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: bool brokers_links = 6;
|
|
627
|
+
*/
|
|
628
|
+
brokersLinks: boolean;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Presentation only — an icon or an "unknown hub" fallback; see
|
|
632
|
+
* common.v1.ConnectorKind. Unset renders as a generic hub.
|
|
633
|
+
*
|
|
634
|
+
* @generated from field: kusinta.iot.common.v1.ConnectorKind kind = 7;
|
|
635
|
+
*/
|
|
636
|
+
kind: ConnectorKind;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Installer or operator detail, free-form, for a person.
|
|
640
|
+
*
|
|
641
|
+
* @generated from field: string description = 8;
|
|
642
|
+
*/
|
|
643
|
+
description: string;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Describes the message kusinta.iot.webrtc.v1.ConnectorDescriptor.
|
|
648
|
+
* Use `create(ConnectorDescriptorSchema)` to create a new message.
|
|
649
|
+
*/
|
|
650
|
+
export declare const ConnectorDescriptorSchema: GenMessage<ConnectorDescriptor>;
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* The connectors the gateway currently holds, gateway → app.
|
|
654
|
+
*
|
|
655
|
+
* A push, not a ManagementResult arm: a new result-oneof member is a compile error
|
|
656
|
+
* in a consumer whose match on the result is exhaustive, whereas a new push case is
|
|
657
|
+
* absorbed by that switch's default. Sent on connect and whenever the set changes —
|
|
658
|
+
* a connector arriving, leaving, or revising its capabilities — and replaces the
|
|
659
|
+
* app's whole picture each time rather than being a delta, so a client that missed
|
|
660
|
+
* one re-syncs from the next.
|
|
661
|
+
*
|
|
662
|
+
* @generated from message kusinta.iot.webrtc.v1.ConnectorsAnnounced
|
|
663
|
+
*/
|
|
664
|
+
export declare type ConnectorsAnnounced = Message<"kusinta.iot.webrtc.v1.ConnectorsAnnounced"> & {
|
|
665
|
+
/**
|
|
666
|
+
* @generated from field: repeated kusinta.iot.webrtc.v1.ConnectorDescriptor connectors = 1;
|
|
667
|
+
*/
|
|
668
|
+
connectors: ConnectorDescriptor[];
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Describes the message kusinta.iot.webrtc.v1.ConnectorsAnnounced.
|
|
673
|
+
* Use `create(ConnectorsAnnouncedSchema)` to create a new message.
|
|
674
|
+
*/
|
|
675
|
+
export declare const ConnectorsAnnouncedSchema: GenMessage<ConnectorsAnnounced>;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* A room's climate changed, gateway → app: its target, what set it, what it is being
|
|
679
|
+
* held at, its condition. Apply as an upsert keyed on room.space_id. Sent only for rooms
|
|
680
|
+
* the recipient may see, and whenever any field the recipient is sent moves — a knob
|
|
681
|
+
* turned by hand shows up here without the app asking. To a recipient who sees the room
|
|
682
|
+
* as service, what is new is sent at the next quarter hour and what is lost at once. A
|
|
683
|
+
* recipient who is sent the room with state_withheld is therefore not sent it when only
|
|
684
|
+
* withheld fields move.
|
|
685
|
+
*
|
|
686
|
+
* @generated from message kusinta.iot.webrtc.v1.RoomClimateChanged
|
|
687
|
+
*/
|
|
688
|
+
export declare type RoomClimateChanged = Message<"kusinta.iot.webrtc.v1.RoomClimateChanged"> & {
|
|
689
|
+
/**
|
|
690
|
+
* @generated from field: kusinta.iot.climate.v1.RoomClimate room = 1;
|
|
691
|
+
*/
|
|
692
|
+
room?: RoomClimate | undefined;
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Describes the message kusinta.iot.webrtc.v1.RoomClimateChanged.
|
|
697
|
+
* Use `create(RoomClimateChangedSchema)` to create a new message.
|
|
698
|
+
*/
|
|
699
|
+
export declare const RoomClimateChangedSchema: GenMessage<RoomClimateChanged>;
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* A mode on a space was switched on, changed or ended, gateway → app. `ended` rather than
|
|
703
|
+
* kind UNSPECIFIED, so an app can still name the mode that finished. A mode on an
|
|
704
|
+
* apartment or a room in one is sent to its residents only — whether a home stands empty
|
|
705
|
+
* is theirs to know; one on any other space, to whoever reaches it.
|
|
706
|
+
*
|
|
707
|
+
* @generated from message kusinta.iot.webrtc.v1.ClimateModeChanged
|
|
708
|
+
*/
|
|
709
|
+
export declare type ClimateModeChanged = Message<"kusinta.iot.webrtc.v1.ClimateModeChanged"> & {
|
|
710
|
+
/**
|
|
711
|
+
* @generated from field: kusinta.iot.climate.v1.ClimateMode mode = 1;
|
|
712
|
+
*/
|
|
713
|
+
mode?: ClimateMode | undefined;
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @generated from field: bool ended = 2;
|
|
717
|
+
*/
|
|
718
|
+
ended: boolean;
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Describes the message kusinta.iot.webrtc.v1.ClimateModeChanged.
|
|
723
|
+
* Use `create(ClimateModeChangedSchema)` to create a new message.
|
|
724
|
+
*/
|
|
725
|
+
export declare const ClimateModeChangedSchema: GenMessage<ClimateModeChanged>;
|
|
726
|
+
|
|
727
|
+
/**
|
|
331
728
|
* @generated from message kusinta.iot.webrtc.v1.GatewayMessage
|
|
332
729
|
*/
|
|
333
730
|
export declare type GatewayMessage = Message<"kusinta.iot.webrtc.v1.GatewayMessage"> & {
|
|
@@ -421,6 +818,48 @@ export declare type GatewayMessage = Message<"kusinta.iot.webrtc.v1.GatewayMessa
|
|
|
421
818
|
*/
|
|
422
819
|
value: DeviceEventBatch;
|
|
423
820
|
case: "deviceEvents";
|
|
821
|
+
} | {
|
|
822
|
+
/**
|
|
823
|
+
* @generated from field: kusinta.iot.webrtc.v1.PairingStarted pairing_started = 17;
|
|
824
|
+
*/
|
|
825
|
+
value: PairingStarted;
|
|
826
|
+
case: "pairingStarted";
|
|
827
|
+
} | {
|
|
828
|
+
/**
|
|
829
|
+
* @generated from field: kusinta.iot.webrtc.v1.PairingFinished pairing_finished = 18;
|
|
830
|
+
*/
|
|
831
|
+
value: PairingFinished;
|
|
832
|
+
case: "pairingFinished";
|
|
833
|
+
} | {
|
|
834
|
+
/**
|
|
835
|
+
* @generated from field: kusinta.iot.webrtc.v1.LinkChanged link_changed = 19;
|
|
836
|
+
*/
|
|
837
|
+
value: LinkChanged;
|
|
838
|
+
case: "linkChanged";
|
|
839
|
+
} | {
|
|
840
|
+
/**
|
|
841
|
+
* @generated from field: kusinta.iot.webrtc.v1.ConnectorsAnnounced connectors_announced = 20;
|
|
842
|
+
*/
|
|
843
|
+
value: ConnectorsAnnounced;
|
|
844
|
+
case: "connectorsAnnounced";
|
|
845
|
+
} | {
|
|
846
|
+
/**
|
|
847
|
+
* @generated from field: kusinta.iot.webrtc.v1.RoomClimateChanged room_climate_changed = 21;
|
|
848
|
+
*/
|
|
849
|
+
value: RoomClimateChanged;
|
|
850
|
+
case: "roomClimateChanged";
|
|
851
|
+
} | {
|
|
852
|
+
/**
|
|
853
|
+
* @generated from field: kusinta.iot.webrtc.v1.ClimateModeChanged climate_mode_changed = 22;
|
|
854
|
+
*/
|
|
855
|
+
value: ClimateModeChanged;
|
|
856
|
+
case: "climateModeChanged";
|
|
857
|
+
} | {
|
|
858
|
+
/**
|
|
859
|
+
* @generated from field: kusinta.iot.webrtc.v1.ServiceStatusChanged service_status_changed = 23;
|
|
860
|
+
*/
|
|
861
|
+
value: ServiceStatusChanged;
|
|
862
|
+
case: "serviceStatusChanged";
|
|
424
863
|
} | { case: undefined; value?: undefined };
|
|
425
864
|
};
|
|
426
865
|
|
|
@@ -497,6 +936,12 @@ export declare type AppMessage = Message<"kusinta.iot.webrtc.v1.AppMessage"> & {
|
|
|
497
936
|
*/
|
|
498
937
|
value: AttributeWriteRequest;
|
|
499
938
|
case: "attributeWrite";
|
|
939
|
+
} | {
|
|
940
|
+
/**
|
|
941
|
+
* @generated from field: kusinta.iot.webrtc.v1.StartPairing start_pairing = 11;
|
|
942
|
+
*/
|
|
943
|
+
value: StartPairing;
|
|
944
|
+
case: "startPairing";
|
|
500
945
|
} | { case: undefined; value?: undefined };
|
|
501
946
|
};
|
|
502
947
|
|
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
6
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { file_kusinta_iot_access_v1_acl } from "../../access/v1/acl_pb.js";
|
|
8
|
+
import { file_kusinta_iot_climate_v1_climate } from "../../climate/v1/climate_pb.js";
|
|
9
|
+
import { file_kusinta_iot_common_v1_pairing } from "../../common/v1/pairing_pb.js";
|
|
10
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
8
11
|
import { file_kusinta_iot_device_v1_device_event } from "../../device/v1/device_event_pb.js";
|
|
9
12
|
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
13
|
+
import { file_kusinta_iot_link_v1_link } from "../../link/v1/link_pb.js";
|
|
10
14
|
import { file_kusinta_iot_space_v1_space } from "../../space/v1/space_pb.js";
|
|
11
15
|
import { file_kusinta_iot_webrtc_v1_command } from "./command_pb.js";
|
|
12
16
|
import { file_kusinta_iot_webrtc_v1_device_state } from "./device_state_pb.js";
|
|
@@ -17,7 +21,7 @@ import { file_kusinta_iot_webrtc_v1_permission_push } from "./permission_push_pb
|
|
|
17
21
|
* Describes the file kusinta/iot/webrtc/v1/envelope.proto.
|
|
18
22
|
*/
|
|
19
23
|
export const file_kusinta_iot_webrtc_v1_envelope = /*@__PURE__*/
|
|
20
|
-
fileDesc("
|
|
24
|
+
fileDesc("CiRrdXNpbnRhL2lvdC93ZWJydGMvdjEvZW52ZWxvcGUucHJvdG8SFWt1c2ludGEuaW90LndlYnJ0Yy52MSIGCgRQaW5nIgYKBFBvbmciIwoRSGFuZHNo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BVEVXQVlfRVJST1JfQ09ERV9VTlNQRUNJRklFRBAAEiMKH0dBVEVXQVlfRVJST1JfQ09ERV9OT1RfRU5USVRMRUQQARImCiJHQVRFV0FZX0VSUk9SX0NPREVfSU5WQUxJRF9SRVFVRVNUEAISIgoeR0FURVdBWV9FUlJPUl9DT0RFX1VOQVZBSUxBQkxFEAMSHwobR0FURVdBWV9FUlJPUl9DT0RFX0lOVEVSTkFMEAQSLAooR0FURVdBWV9FUlJPUl9DT0RFX1NFU1NJT05fTElNSVRfUkVBQ0hFRBAFQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_access_v1_acl, file_kusinta_iot_climate_v1_climate, file_kusinta_iot_common_v1_pairing, file_kusinta_iot_common_v1_types, file_kusinta_iot_device_v1_device_event, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_link_v1_link, file_kusinta_iot_space_v1_space, file_kusinta_iot_webrtc_v1_command, file_kusinta_iot_webrtc_v1_device_state, file_kusinta_iot_webrtc_v1_management, file_kusinta_iot_webrtc_v1_permission_push]);
|
|
21
25
|
|
|
22
26
|
/**
|
|
23
27
|
* Describes the message kusinta.iot.webrtc.v1.Ping.
|
|
@@ -96,19 +100,75 @@ export const GatewayErrorSchema = /*@__PURE__*/
|
|
|
96
100
|
export const ManagementResultSchema = /*@__PURE__*/
|
|
97
101
|
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 10);
|
|
98
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message kusinta.iot.webrtc.v1.StartPairing.
|
|
105
|
+
* Use `create(StartPairingSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export const StartPairingSchema = /*@__PURE__*/
|
|
108
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 11);
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message kusinta.iot.webrtc.v1.PairingStarted.
|
|
112
|
+
* Use `create(PairingStartedSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export const PairingStartedSchema = /*@__PURE__*/
|
|
115
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 12);
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Describes the message kusinta.iot.webrtc.v1.PairingFinished.
|
|
119
|
+
* Use `create(PairingFinishedSchema)` to create a new message.
|
|
120
|
+
*/
|
|
121
|
+
export const PairingFinishedSchema = /*@__PURE__*/
|
|
122
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 13);
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Describes the message kusinta.iot.webrtc.v1.LinkChanged.
|
|
126
|
+
* Use `create(LinkChangedSchema)` to create a new message.
|
|
127
|
+
*/
|
|
128
|
+
export const LinkChangedSchema = /*@__PURE__*/
|
|
129
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 14);
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Describes the message kusinta.iot.webrtc.v1.ConnectorDescriptor.
|
|
133
|
+
* Use `create(ConnectorDescriptorSchema)` to create a new message.
|
|
134
|
+
*/
|
|
135
|
+
export const ConnectorDescriptorSchema = /*@__PURE__*/
|
|
136
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 15);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message kusinta.iot.webrtc.v1.ConnectorsAnnounced.
|
|
140
|
+
* Use `create(ConnectorsAnnouncedSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export const ConnectorsAnnouncedSchema = /*@__PURE__*/
|
|
143
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 16);
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Describes the message kusinta.iot.webrtc.v1.RoomClimateChanged.
|
|
147
|
+
* Use `create(RoomClimateChangedSchema)` to create a new message.
|
|
148
|
+
*/
|
|
149
|
+
export const RoomClimateChangedSchema = /*@__PURE__*/
|
|
150
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 17);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message kusinta.iot.webrtc.v1.ClimateModeChanged.
|
|
154
|
+
* Use `create(ClimateModeChangedSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export const ClimateModeChangedSchema = /*@__PURE__*/
|
|
157
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 18);
|
|
158
|
+
|
|
99
159
|
/**
|
|
100
160
|
* Describes the message kusinta.iot.webrtc.v1.GatewayMessage.
|
|
101
161
|
* Use `create(GatewayMessageSchema)` to create a new message.
|
|
102
162
|
*/
|
|
103
163
|
export const GatewayMessageSchema = /*@__PURE__*/
|
|
104
|
-
messageDesc(file_kusinta_iot_webrtc_v1_envelope,
|
|
164
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 19);
|
|
105
165
|
|
|
106
166
|
/**
|
|
107
167
|
* Describes the message kusinta.iot.webrtc.v1.AppMessage.
|
|
108
168
|
* Use `create(AppMessageSchema)` to create a new message.
|
|
109
169
|
*/
|
|
110
170
|
export const AppMessageSchema = /*@__PURE__*/
|
|
111
|
-
messageDesc(file_kusinta_iot_webrtc_v1_envelope,
|
|
171
|
+
messageDesc(file_kusinta_iot_webrtc_v1_envelope, 20);
|
|
112
172
|
|
|
113
173
|
/**
|
|
114
174
|
* Describes the enum kusinta.iot.webrtc.v1.GatewayErrorCode.
|