@kusinta/iot-schema 0.1.0-beta.9 → 0.2.0-beta.10

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.
Files changed (53) hide show
  1. package/package.json +19 -2
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +230 -11
  3. package/src/kusinta/iot/access/v1/acl_pb.js +26 -5
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +95 -2
  5. package/src/kusinta/iot/access/v1/roles_pb.js +37 -1
  6. package/src/kusinta/iot/common/v1/pairing_pb.d.ts +201 -0
  7. package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
  8. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +481 -34
  9. package/src/kusinta/iot/connector/v1/connector_pb.js +81 -22
  10. package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +5 -5
  11. package/src/kusinta/iot/connector/v1/connector_service_pb.js +1 -1
  12. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +263 -0
  13. package/src/kusinta/iot/device/v1/cluster_state_pb.js +54 -0
  14. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +53 -9
  15. package/src/kusinta/iot/device/v1/descriptor_pb.js +3 -1
  16. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +162 -0
  17. package/src/kusinta/iot/device/v1/device_event_pb.js +45 -0
  18. package/src/kusinta/iot/device/v1/device_pb.d.ts +185 -28
  19. package/src/kusinta/iot/device/v1/device_pb.js +10 -2
  20. package/src/kusinta/iot/device/v1/matter_options_pb.d.ts +110 -0
  21. package/src/kusinta/iot/device/v1/matter_options_pb.js +118 -0
  22. package/src/kusinta/iot/device/v1/properties_pb.d.ts +240 -205
  23. package/src/kusinta/iot/device/v1/properties_pb.js +9 -1
  24. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +197 -8
  25. package/src/kusinta/iot/device/v1/property_update_pb.js +20 -2
  26. package/src/kusinta/iot/link/v1/link_pb.d.ts +419 -0
  27. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  28. package/src/kusinta/iot/registration/v1/registration_pb.d.ts +170 -0
  29. package/src/kusinta/iot/registration/v1/registration_pb.js +61 -0
  30. package/src/kusinta/iot/registration/v1/registration_service_pb.d.ts +34 -0
  31. package/src/kusinta/iot/registration/v1/registration_service_pb.js +19 -0
  32. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +320 -0
  33. package/src/kusinta/iot/signaling/v1/signaling_pb.js +83 -0
  34. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +34 -0
  35. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +19 -0
  36. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +202 -35
  37. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +14 -6
  38. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +71 -0
  39. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +75 -0
  40. package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +152 -0
  41. package/src/kusinta/iot/webrtc/v1/app_token_pb.js +28 -0
  42. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +277 -39
  43. package/src/kusinta/iot/webrtc/v1/command_pb.js +29 -2
  44. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +76 -7
  45. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +20 -5
  46. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +603 -25
  47. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +99 -5
  48. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +627 -0
  49. package/src/kusinta/iot/webrtc/v1/management_pb.js +135 -0
  50. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +7 -1
  51. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +2 -2
  52. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.d.ts +63 -0
  53. package/src/kusinta/iot/webrtc/v1/setpoint_mode_pb.js +45 -0
@@ -0,0 +1,170 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/registration/v1/registration.proto (package kusinta.iot.registration.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/registration/v1/registration.proto.
10
+ */
11
+ export declare const file_kusinta_iot_registration_v1_registration: GenFile;
12
+
13
+ /**
14
+ * @generated from message kusinta.iot.registration.v1.RegistrationRequest
15
+ */
16
+ export declare type RegistrationRequest = Message<"kusinta.iot.registration.v1.RegistrationRequest"> & {
17
+ /**
18
+ * @generated from field: string registration_token = 1;
19
+ */
20
+ registrationToken: string;
21
+
22
+ /**
23
+ * @generated from field: string external_ip = 2;
24
+ */
25
+ externalIp: string;
26
+
27
+ /**
28
+ * @generated from field: string csr_pem = 3;
29
+ */
30
+ csrPem: string;
31
+ };
32
+
33
+ /**
34
+ * Describes the message kusinta.iot.registration.v1.RegistrationRequest.
35
+ * Use `create(RegistrationRequestSchema)` to create a new message.
36
+ */
37
+ export declare const RegistrationRequestSchema: GenMessage<RegistrationRequest>;
38
+
39
+ /**
40
+ * @generated from message kusinta.iot.registration.v1.RegistrationProgress
41
+ */
42
+ export declare type RegistrationProgress = Message<"kusinta.iot.registration.v1.RegistrationProgress"> & {
43
+ /**
44
+ * @generated from field: string step = 1;
45
+ */
46
+ step: string;
47
+ };
48
+
49
+ /**
50
+ * Describes the message kusinta.iot.registration.v1.RegistrationProgress.
51
+ * Use `create(RegistrationProgressSchema)` to create a new message.
52
+ */
53
+ export declare const RegistrationProgressSchema: GenMessage<RegistrationProgress>;
54
+
55
+ /**
56
+ * @generated from message kusinta.iot.registration.v1.RegistrationComplete
57
+ */
58
+ export declare type RegistrationComplete = Message<"kusinta.iot.registration.v1.RegistrationComplete"> & {
59
+ /**
60
+ * @generated from field: string certificate_pem = 1;
61
+ */
62
+ certificatePem: string;
63
+
64
+ /**
65
+ * @generated from field: string ca_bundle_pem = 2;
66
+ */
67
+ caBundlePem: string;
68
+ };
69
+
70
+ /**
71
+ * Describes the message kusinta.iot.registration.v1.RegistrationComplete.
72
+ * Use `create(RegistrationCompleteSchema)` to create a new message.
73
+ */
74
+ export declare const RegistrationCompleteSchema: GenMessage<RegistrationComplete>;
75
+
76
+ /**
77
+ * @generated from message kusinta.iot.registration.v1.RegistrationError
78
+ */
79
+ export declare type RegistrationError = Message<"kusinta.iot.registration.v1.RegistrationError"> & {
80
+ /**
81
+ * @generated from field: string code = 1;
82
+ */
83
+ code: string;
84
+
85
+ /**
86
+ * @generated from field: string message = 2;
87
+ */
88
+ message: string;
89
+ };
90
+
91
+ /**
92
+ * Describes the message kusinta.iot.registration.v1.RegistrationError.
93
+ * Use `create(RegistrationErrorSchema)` to create a new message.
94
+ */
95
+ export declare const RegistrationErrorSchema: GenMessage<RegistrationError>;
96
+
97
+ /**
98
+ * Streamed response: server sends zero or more RegistrationProgress messages,
99
+ * then exactly one RegistrationComplete or RegistrationError, then closes.
100
+ *
101
+ * @generated from message kusinta.iot.registration.v1.RegistrationResponse
102
+ */
103
+ export declare type RegistrationResponse = Message<"kusinta.iot.registration.v1.RegistrationResponse"> & {
104
+ /**
105
+ * @generated from oneof kusinta.iot.registration.v1.RegistrationResponse.event
106
+ */
107
+ event: {
108
+ /**
109
+ * @generated from field: kusinta.iot.registration.v1.RegistrationProgress progress = 1;
110
+ */
111
+ value: RegistrationProgress;
112
+ case: "progress";
113
+ } | {
114
+ /**
115
+ * @generated from field: kusinta.iot.registration.v1.RegistrationComplete complete = 2;
116
+ */
117
+ value: RegistrationComplete;
118
+ case: "complete";
119
+ } | {
120
+ /**
121
+ * @generated from field: kusinta.iot.registration.v1.RegistrationError error = 3;
122
+ */
123
+ value: RegistrationError;
124
+ case: "error";
125
+ } | { case: undefined; value?: undefined };
126
+ };
127
+
128
+ /**
129
+ * Describes the message kusinta.iot.registration.v1.RegistrationResponse.
130
+ * Use `create(RegistrationResponseSchema)` to create a new message.
131
+ */
132
+ export declare const RegistrationResponseSchema: GenMessage<RegistrationResponse>;
133
+
134
+ /**
135
+ * @generated from message kusinta.iot.registration.v1.CertRenewalRequest
136
+ */
137
+ export declare type CertRenewalRequest = Message<"kusinta.iot.registration.v1.CertRenewalRequest"> & {
138
+ /**
139
+ * @generated from field: string csr_pem = 1;
140
+ */
141
+ csrPem: string;
142
+ };
143
+
144
+ /**
145
+ * Describes the message kusinta.iot.registration.v1.CertRenewalRequest.
146
+ * Use `create(CertRenewalRequestSchema)` to create a new message.
147
+ */
148
+ export declare const CertRenewalRequestSchema: GenMessage<CertRenewalRequest>;
149
+
150
+ /**
151
+ * @generated from message kusinta.iot.registration.v1.CertRenewalResponse
152
+ */
153
+ export declare type CertRenewalResponse = Message<"kusinta.iot.registration.v1.CertRenewalResponse"> & {
154
+ /**
155
+ * @generated from field: string certificate_pem = 1;
156
+ */
157
+ certificatePem: string;
158
+
159
+ /**
160
+ * @generated from field: string ca_bundle_pem = 2;
161
+ */
162
+ caBundlePem: string;
163
+ };
164
+
165
+ /**
166
+ * Describes the message kusinta.iot.registration.v1.CertRenewalResponse.
167
+ * Use `create(CertRenewalResponseSchema)` to create a new message.
168
+ */
169
+ export declare const CertRenewalResponseSchema: GenMessage<CertRenewalResponse>;
170
+
@@ -0,0 +1,61 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/registration/v1/registration.proto (package kusinta.iot.registration.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file kusinta/iot/registration/v1/registration.proto.
9
+ */
10
+ export const file_kusinta_iot_registration_v1_registration = /*@__PURE__*/
11
+ fileDesc("Ci5rdXNpbnRhL2lvdC9yZWdpc3RyYXRpb24vdjEvcmVnaXN0cmF0aW9uLnByb3RvEhtrdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEiVwoTUmVnaXN0cmF0aW9uUmVxdWVzdBIaChJyZWdpc3RyYXRpb25fdG9rZW4YASABKAkSEwoLZXh0ZXJuYWxfaXAYAiABKAkSDwoHY3NyX3BlbRgDIAEoCSIkChRSZWdpc3RyYXRpb25Qcm9ncmVzcxIMCgRzdGVwGAEgASgJIkYKFFJlZ2lzdHJhdGlvbkNvbXBsZXRlEhcKD2NlcnRpZmljYXRlX3BlbRgBIAEoCRIVCg1jYV9idW5kbGVfcGVtGAIgASgJIjIKEVJlZ2lzdHJhdGlvbkVycm9yEgwKBGNvZGUYASABKAkSDwoHbWVzc2FnZRgCIAEoCSLuAQoUUmVnaXN0cmF0aW9uUmVzcG9uc2USRQoIcHJvZ3Jlc3MYASABKAsyMS5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuUmVnaXN0cmF0aW9uUHJvZ3Jlc3NIABJFCghjb21wbGV0ZRgCIAEoCzIxLmt1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MS5SZWdpc3RyYXRpb25Db21wbGV0ZUgAEj8KBWVycm9yGAMgASgLMi4ua3VzaW50YS5pb3QucmVnaXN0cmF0aW9uLnYxLlJlZ2lzdHJhdGlvbkVycm9ySABCBwoFZXZlbnQiJQoSQ2VydFJlbmV3YWxSZXF1ZXN0Eg8KB2Nzcl9wZW0YASABKAkiRQoTQ2VydFJlbmV3YWxSZXNwb25zZRIXCg9jZXJ0aWZpY2F0ZV9wZW0YASABKAkSFQoNY2FfYnVuZGxlX3BlbRgCIAEoCUICSAFiBnByb3RvMw");
12
+
13
+ /**
14
+ * Describes the message kusinta.iot.registration.v1.RegistrationRequest.
15
+ * Use `create(RegistrationRequestSchema)` to create a new message.
16
+ */
17
+ export const RegistrationRequestSchema = /*@__PURE__*/
18
+ messageDesc(file_kusinta_iot_registration_v1_registration, 0);
19
+
20
+ /**
21
+ * Describes the message kusinta.iot.registration.v1.RegistrationProgress.
22
+ * Use `create(RegistrationProgressSchema)` to create a new message.
23
+ */
24
+ export const RegistrationProgressSchema = /*@__PURE__*/
25
+ messageDesc(file_kusinta_iot_registration_v1_registration, 1);
26
+
27
+ /**
28
+ * Describes the message kusinta.iot.registration.v1.RegistrationComplete.
29
+ * Use `create(RegistrationCompleteSchema)` to create a new message.
30
+ */
31
+ export const RegistrationCompleteSchema = /*@__PURE__*/
32
+ messageDesc(file_kusinta_iot_registration_v1_registration, 2);
33
+
34
+ /**
35
+ * Describes the message kusinta.iot.registration.v1.RegistrationError.
36
+ * Use `create(RegistrationErrorSchema)` to create a new message.
37
+ */
38
+ export const RegistrationErrorSchema = /*@__PURE__*/
39
+ messageDesc(file_kusinta_iot_registration_v1_registration, 3);
40
+
41
+ /**
42
+ * Describes the message kusinta.iot.registration.v1.RegistrationResponse.
43
+ * Use `create(RegistrationResponseSchema)` to create a new message.
44
+ */
45
+ export const RegistrationResponseSchema = /*@__PURE__*/
46
+ messageDesc(file_kusinta_iot_registration_v1_registration, 4);
47
+
48
+ /**
49
+ * Describes the message kusinta.iot.registration.v1.CertRenewalRequest.
50
+ * Use `create(CertRenewalRequestSchema)` to create a new message.
51
+ */
52
+ export const CertRenewalRequestSchema = /*@__PURE__*/
53
+ messageDesc(file_kusinta_iot_registration_v1_registration, 5);
54
+
55
+ /**
56
+ * Describes the message kusinta.iot.registration.v1.CertRenewalResponse.
57
+ * Use `create(CertRenewalResponseSchema)` to create a new message.
58
+ */
59
+ export const CertRenewalResponseSchema = /*@__PURE__*/
60
+ messageDesc(file_kusinta_iot_registration_v1_registration, 6);
61
+
@@ -0,0 +1,34 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/registration/v1/registration_service.proto (package kusinta.iot.registration.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { CertRenewalRequestSchema, CertRenewalResponseSchema, RegistrationRequestSchema, RegistrationResponseSchema } from "./registration_pb.js";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/registration/v1/registration_service.proto.
10
+ */
11
+ export declare const file_kusinta_iot_registration_v1_registration_service: GenFile;
12
+
13
+ /**
14
+ * @generated from service kusinta.iot.registration.v1.GatewayRegistrationService
15
+ */
16
+ export declare const GatewayRegistrationService: GenService<{
17
+ /**
18
+ * @generated from rpc kusinta.iot.registration.v1.GatewayRegistrationService.Registration
19
+ */
20
+ registration: {
21
+ methodKind: "server_streaming";
22
+ input: typeof RegistrationRequestSchema;
23
+ output: typeof RegistrationResponseSchema;
24
+ },
25
+ /**
26
+ * @generated from rpc kusinta.iot.registration.v1.GatewayRegistrationService.CertRenewal
27
+ */
28
+ certRenewal: {
29
+ methodKind: "unary";
30
+ input: typeof CertRenewalRequestSchema;
31
+ output: typeof CertRenewalResponseSchema;
32
+ },
33
+ }>;
34
+
@@ -0,0 +1,19 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/registration/v1/registration_service.proto (package kusinta.iot.registration.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_kusinta_iot_registration_v1_registration } from "./registration_pb.js";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/registration/v1/registration_service.proto.
10
+ */
11
+ export const file_kusinta_iot_registration_v1_registration_service = /*@__PURE__*/
12
+ fileDesc("CjZrdXNpbnRhL2lvdC9yZWdpc3RyYXRpb24vdjEvcmVnaXN0cmF0aW9uX3NlcnZpY2UucHJvdG8SG2t1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MTKFAgoaR2F0ZXdheVJlZ2lzdHJhdGlvblNlcnZpY2USdQoMUmVnaXN0cmF0aW9uEjAua3VzaW50YS5pb3QucmVnaXN0cmF0aW9uLnYxLlJlZ2lzdHJhdGlvblJlcXVlc3QaMS5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuUmVnaXN0cmF0aW9uUmVzcG9uc2UwARJwCgtDZXJ0UmVuZXdhbBIvLmt1c2ludGEuaW90LnJlZ2lzdHJhdGlvbi52MS5DZXJ0UmVuZXdhbFJlcXVlc3QaMC5rdXNpbnRhLmlvdC5yZWdpc3RyYXRpb24udjEuQ2VydFJlbmV3YWxSZXNwb25zZUICSAFiBnByb3RvMw", [file_kusinta_iot_registration_v1_registration]);
13
+
14
+ /**
15
+ * @generated from service kusinta.iot.registration.v1.GatewayRegistrationService
16
+ */
17
+ export const GatewayRegistrationService = /*@__PURE__*/
18
+ serviceDesc(file_kusinta_iot_registration_v1_registration_service, 0);
19
+
@@ -0,0 +1,320 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/signaling/v1/signaling.proto (package kusinta.iot.signaling.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { GatewayId, UserId } from "../../identity/v1/identity_pb.js";
8
+
9
+ /**
10
+ * Describes the file kusinta/iot/signaling/v1/signaling.proto.
11
+ */
12
+ export declare const file_kusinta_iot_signaling_v1_signaling: GenFile;
13
+
14
+ /**
15
+ * @generated from message kusinta.iot.signaling.v1.SdpOffer
16
+ */
17
+ export declare type SdpOffer = Message<"kusinta.iot.signaling.v1.SdpOffer"> & {
18
+ /**
19
+ * @generated from field: string sdp = 1;
20
+ */
21
+ sdp: string;
22
+ };
23
+
24
+ /**
25
+ * Describes the message kusinta.iot.signaling.v1.SdpOffer.
26
+ * Use `create(SdpOfferSchema)` to create a new message.
27
+ */
28
+ export declare const SdpOfferSchema: GenMessage<SdpOffer>;
29
+
30
+ /**
31
+ * @generated from message kusinta.iot.signaling.v1.SdpAnswer
32
+ */
33
+ export declare type SdpAnswer = Message<"kusinta.iot.signaling.v1.SdpAnswer"> & {
34
+ /**
35
+ * @generated from field: string sdp = 1;
36
+ */
37
+ sdp: string;
38
+ };
39
+
40
+ /**
41
+ * Describes the message kusinta.iot.signaling.v1.SdpAnswer.
42
+ * Use `create(SdpAnswerSchema)` to create a new message.
43
+ */
44
+ export declare const SdpAnswerSchema: GenMessage<SdpAnswer>;
45
+
46
+ /**
47
+ * candidate is the SDP candidate attribute line. sdp_mid / sdp_mline_index
48
+ * bind it to a media section: WebRTC's addIceCandidate requires a non-null
49
+ * sdpMid (some native WebRTC bindings crash on a null). Under BUNDLE both are
50
+ * constant ("0" / 0) for a single-m-line session, but they must be carried so
51
+ * candidates stay correct once additional m-lines (e.g. camera video) exist.
52
+ *
53
+ * @generated from message kusinta.iot.signaling.v1.IceCandidate
54
+ */
55
+ export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidate"> & {
56
+ /**
57
+ * @generated from field: string candidate = 1;
58
+ */
59
+ candidate: string;
60
+
61
+ /**
62
+ * @generated from field: string sdp_mid = 2;
63
+ */
64
+ sdpMid: string;
65
+
66
+ /**
67
+ * @generated from field: int32 sdp_mline_index = 3;
68
+ */
69
+ sdpMlineIndex: number;
70
+ };
71
+
72
+ /**
73
+ * Describes the message kusinta.iot.signaling.v1.IceCandidate.
74
+ * Use `create(IceCandidateSchema)` to create a new message.
75
+ */
76
+ export declare const IceCandidateSchema: GenMessage<IceCandidate>;
77
+
78
+ /**
79
+ * Empty keepalive. The gateway sends this periodically on the GatewayConnect
80
+ * stream so the otherwise-idle bidi request keeps producing DATA frames, which
81
+ * resets the inactivity timers on any proxy between the two ends and stops it
82
+ * from tearing the stream down. Carries no routing target and is dropped on receipt.
83
+ *
84
+ * @generated from message kusinta.iot.signaling.v1.HeartBeat
85
+ */
86
+ export declare type HeartBeat = Message<"kusinta.iot.signaling.v1.HeartBeat"> & {
87
+ };
88
+
89
+ /**
90
+ * Describes the message kusinta.iot.signaling.v1.HeartBeat.
91
+ * Use `create(HeartBeatSchema)` to create a new message.
92
+ */
93
+ export declare const HeartBeatSchema: GenMessage<HeartBeat>;
94
+
95
+ /**
96
+ * JWT for user auth is sent in the Authorization: Bearer metadata header, not here.
97
+ * First message carries only the target gateway for stream-specific routing.
98
+ *
99
+ * @generated from message kusinta.iot.signaling.v1.UserHandshake
100
+ */
101
+ export declare type UserHandshake = Message<"kusinta.iot.signaling.v1.UserHandshake"> & {
102
+ /**
103
+ * @generated from field: kusinta.iot.identity.v1.GatewayId target_gateway_id = 1;
104
+ */
105
+ targetGatewayId?: GatewayId | undefined;
106
+ };
107
+
108
+ /**
109
+ * Describes the message kusinta.iot.signaling.v1.UserHandshake.
110
+ * Use `create(UserHandshakeSchema)` to create a new message.
111
+ */
112
+ export declare const UserHandshakeSchema: GenMessage<UserHandshake>;
113
+
114
+ /**
115
+ * @generated from message kusinta.iot.signaling.v1.UserHandshakeAck
116
+ */
117
+ export declare type UserHandshakeAck = Message<"kusinta.iot.signaling.v1.UserHandshakeAck"> & {
118
+ /**
119
+ * @generated from field: bool accepted = 1;
120
+ */
121
+ accepted: boolean;
122
+
123
+ /**
124
+ * @generated from field: string reason = 2;
125
+ */
126
+ reason: string;
127
+ };
128
+
129
+ /**
130
+ * Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
131
+ * Use `create(UserHandshakeAckSchema)` to create a new message.
132
+ */
133
+ export declare const UserHandshakeAckSchema: GenMessage<UserHandshakeAck>;
134
+
135
+ /**
136
+ * Messages sent by the building-server gateway (GatewaySignalingService.GatewayConnect stream).
137
+ * Auth: x-client-cert-fingerprint metadata header, set from the client
138
+ * certificate by the mTLS-terminating proxy in front of this service.
139
+ *
140
+ * @generated from message kusinta.iot.signaling.v1.GatewayConnectRequest
141
+ */
142
+ export declare type GatewayConnectRequest = Message<"kusinta.iot.signaling.v1.GatewayConnectRequest"> & {
143
+ /**
144
+ * @generated from field: kusinta.iot.identity.v1.UserId target_user_id = 1;
145
+ */
146
+ targetUserId?: UserId | undefined;
147
+
148
+ /**
149
+ * The session of target_user_id this message answers. See the contract above.
150
+ * Ignored on a heartbeat, which carries no routing target at all.
151
+ *
152
+ * @generated from field: string session_id = 5;
153
+ */
154
+ sessionId: string;
155
+
156
+ /**
157
+ * @generated from oneof kusinta.iot.signaling.v1.GatewayConnectRequest.payload
158
+ */
159
+ payload: {
160
+ /**
161
+ * @generated from field: kusinta.iot.signaling.v1.SdpAnswer answer = 2;
162
+ */
163
+ value: SdpAnswer;
164
+ case: "answer";
165
+ } | {
166
+ /**
167
+ * @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
168
+ */
169
+ value: IceCandidate;
170
+ case: "iceCandidate";
171
+ } | {
172
+ /**
173
+ * @generated from field: kusinta.iot.signaling.v1.HeartBeat heartbeat = 4;
174
+ */
175
+ value: HeartBeat;
176
+ case: "heartbeat";
177
+ } | { case: undefined; value?: undefined };
178
+ };
179
+
180
+ /**
181
+ * Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
182
+ * Use `create(GatewayConnectRequestSchema)` to create a new message.
183
+ */
184
+ export declare const GatewayConnectRequestSchema: GenMessage<GatewayConnectRequest>;
185
+
186
+ /**
187
+ * Messages sent by the api-server to the building-server gateway.
188
+ *
189
+ * @generated from message kusinta.iot.signaling.v1.GatewayConnectResponse
190
+ */
191
+ export declare type GatewayConnectResponse = Message<"kusinta.iot.signaling.v1.GatewayConnectResponse"> & {
192
+ /**
193
+ * @generated from field: kusinta.iot.identity.v1.UserId from_user_id = 1;
194
+ */
195
+ fromUserId?: UserId | undefined;
196
+
197
+ /**
198
+ * The session of from_user_id this message originates from — the value the
199
+ * gateway must echo on the GatewayConnectRequest that answers it. See the
200
+ * contract above.
201
+ *
202
+ * @generated from field: string session_id = 4;
203
+ */
204
+ sessionId: string;
205
+
206
+ /**
207
+ * @generated from oneof kusinta.iot.signaling.v1.GatewayConnectResponse.payload
208
+ */
209
+ payload: {
210
+ /**
211
+ * @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
212
+ */
213
+ value: SdpOffer;
214
+ case: "offer";
215
+ } | {
216
+ /**
217
+ * @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
218
+ */
219
+ value: IceCandidate;
220
+ case: "iceCandidate";
221
+ } | { case: undefined; value?: undefined };
222
+ };
223
+
224
+ /**
225
+ * Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
226
+ * Use `create(GatewayConnectResponseSchema)` to create a new message.
227
+ */
228
+ export declare const GatewayConnectResponseSchema: GenMessage<GatewayConnectResponse>;
229
+
230
+ /**
231
+ * Messages sent by the app (GatewaySignalingService.UserConnect stream).
232
+ * Auth: Authorization: Bearer <jwt> in gRPC request metadata (validated by interceptor).
233
+ *
234
+ * @generated from message kusinta.iot.signaling.v1.UserConnectRequest
235
+ */
236
+ export declare type UserConnectRequest = Message<"kusinta.iot.signaling.v1.UserConnectRequest"> & {
237
+ /**
238
+ * This client's session, minted by the client. See the contract above. Sent on
239
+ * every message including the handshake, so the relay can key the stream on it
240
+ * from the first frame.
241
+ *
242
+ * @generated from field: string session_id = 4;
243
+ */
244
+ sessionId: string;
245
+
246
+ /**
247
+ * @generated from oneof kusinta.iot.signaling.v1.UserConnectRequest.payload
248
+ */
249
+ payload: {
250
+ /**
251
+ * @generated from field: kusinta.iot.signaling.v1.UserHandshake handshake = 1;
252
+ */
253
+ value: UserHandshake;
254
+ case: "handshake";
255
+ } | {
256
+ /**
257
+ * @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
258
+ */
259
+ value: SdpOffer;
260
+ case: "offer";
261
+ } | {
262
+ /**
263
+ * @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
264
+ */
265
+ value: IceCandidate;
266
+ case: "iceCandidate";
267
+ } | { case: undefined; value?: undefined };
268
+ };
269
+
270
+ /**
271
+ * Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
272
+ * Use `create(UserConnectRequestSchema)` to create a new message.
273
+ */
274
+ export declare const UserConnectRequestSchema: GenMessage<UserConnectRequest>;
275
+
276
+ /**
277
+ * Messages sent by the api-server to the app.
278
+ *
279
+ * @generated from message kusinta.iot.signaling.v1.UserConnectResponse
280
+ */
281
+ export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.UserConnectResponse"> & {
282
+ /**
283
+ * Echoes the session_id of the stream this message is delivered on, so a
284
+ * client can assert the relay routed to the session it thinks it is. See the
285
+ * contract above.
286
+ *
287
+ * @generated from field: string session_id = 4;
288
+ */
289
+ sessionId: string;
290
+
291
+ /**
292
+ * @generated from oneof kusinta.iot.signaling.v1.UserConnectResponse.payload
293
+ */
294
+ payload: {
295
+ /**
296
+ * @generated from field: kusinta.iot.signaling.v1.UserHandshakeAck handshake_ack = 1;
297
+ */
298
+ value: UserHandshakeAck;
299
+ case: "handshakeAck";
300
+ } | {
301
+ /**
302
+ * @generated from field: kusinta.iot.signaling.v1.SdpAnswer answer = 2;
303
+ */
304
+ value: SdpAnswer;
305
+ case: "answer";
306
+ } | {
307
+ /**
308
+ * @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
309
+ */
310
+ value: IceCandidate;
311
+ case: "iceCandidate";
312
+ } | { case: undefined; value?: undefined };
313
+ };
314
+
315
+ /**
316
+ * Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
317
+ * Use `create(UserConnectResponseSchema)` to create a new message.
318
+ */
319
+ export declare const UserConnectResponseSchema: GenMessage<UserConnectResponse>;
320
+
@@ -0,0 +1,83 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/signaling/v1/signaling.proto (package kusinta.iot.signaling.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/signaling/v1/signaling.proto.
10
+ */
11
+ export const file_kusinta_iot_signaling_v1_signaling = /*@__PURE__*/
12
+ fileDesc("CihrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nLnByb3RvEhhrdXNpbnRhLmlvdC5zaWduYWxpbmcudjEiFwoIU2RwT2ZmZXISCwoDc2RwGAEgASgJIhgKCVNkcEFuc3dlchILCgNzZHAYASABKAkiSwoMSWNlQ2FuZGlkYXRlEhEKCWNhbmRpZGF0ZRgBIAEoCRIPCgdzZHBfbWlkGAIgASgJEhcKD3NkcF9tbGluZV9pbmRleBgDIAEoBSILCglIZWFydEJlYXQiTgoNVXNlckhhbmRzaGFrZRI9ChF0YXJnZXRfZ2F0ZXdheV9pZBgBIAEoCzIiLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkdhdGV3YXlJZCI0ChBVc2VySGFuZHNoYWtlQWNrEhAKCGFjY2VwdGVkGAEgASgIEg4KBnJlYXNvbhgCIAEoCSKhAgoVR2F0ZXdheUNvbm5lY3RSZXF1ZXN0EjcKDnRhcmdldF91c2VyX2lkGAEgASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEhIKCnNlc3Npb25faWQYBSABKAkSNQoGYW5zd2VyGAIgASgLMiMua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlNkcEFuc3dlckgAEj8KDWljZV9jYW5kaWRhdGUYAyABKAsyJi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuSWNlQ2FuZGlkYXRlSAASOAoJaGVhcnRiZWF0GAQgASgLMiMua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkhlYXJ0QmVhdEgAQgkKB3BheWxvYWQi5AEKFkdhdGV3YXlDb25uZWN0UmVzcG9uc2USNQoMZnJvbV91c2VyX2lkGAEgASgLMh8ua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuVXNlcklkEhIKCnNlc3Npb25faWQYBCABKAkSMwoFb2ZmZXIYAiABKAsyIi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwT2ZmZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWQi5wEKElVzZXJDb25uZWN0UmVxdWVzdBISCgpzZXNzaW9uX2lkGAQgASgJEjwKCWhhbmRzaGFrZRgBIAEoCzInLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VySGFuZHNoYWtlSAASMwoFb2ZmZXIYAiABKAsyIi5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwT2ZmZXJIABI/Cg1pY2VfY2FuZGlkYXRlGAMgASgLMiYua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkljZUNhbmRpZGF0ZUgAQgkKB3BheWxvYWQi8QEKE1VzZXJDb25uZWN0UmVzcG9uc2USEgoKc2Vzc2lvbl9pZBgEIAEoCRJDCg1oYW5kc2hha2VfYWNrGAEgASgLMioua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJIYW5kc2hha2VBY2tIABI1CgZhbnN3ZXIYAiABKAsyIy5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuU2RwQW5zd2VySAASPwoNaWNlX2NhbmRpZGF0ZRgDIAEoCzImLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5JY2VDYW5kaWRhdGVIAEIJCgdwYXlsb2FkQgJIAWIGcHJvdG8z", [file_kusinta_iot_identity_v1_identity]);
13
+
14
+ /**
15
+ * Describes the message kusinta.iot.signaling.v1.SdpOffer.
16
+ * Use `create(SdpOfferSchema)` to create a new message.
17
+ */
18
+ export const SdpOfferSchema = /*@__PURE__*/
19
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 0);
20
+
21
+ /**
22
+ * Describes the message kusinta.iot.signaling.v1.SdpAnswer.
23
+ * Use `create(SdpAnswerSchema)` to create a new message.
24
+ */
25
+ export const SdpAnswerSchema = /*@__PURE__*/
26
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 1);
27
+
28
+ /**
29
+ * Describes the message kusinta.iot.signaling.v1.IceCandidate.
30
+ * Use `create(IceCandidateSchema)` to create a new message.
31
+ */
32
+ export const IceCandidateSchema = /*@__PURE__*/
33
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 2);
34
+
35
+ /**
36
+ * Describes the message kusinta.iot.signaling.v1.HeartBeat.
37
+ * Use `create(HeartBeatSchema)` to create a new message.
38
+ */
39
+ export const HeartBeatSchema = /*@__PURE__*/
40
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 3);
41
+
42
+ /**
43
+ * Describes the message kusinta.iot.signaling.v1.UserHandshake.
44
+ * Use `create(UserHandshakeSchema)` to create a new message.
45
+ */
46
+ export const UserHandshakeSchema = /*@__PURE__*/
47
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 4);
48
+
49
+ /**
50
+ * Describes the message kusinta.iot.signaling.v1.UserHandshakeAck.
51
+ * Use `create(UserHandshakeAckSchema)` to create a new message.
52
+ */
53
+ export const UserHandshakeAckSchema = /*@__PURE__*/
54
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 5);
55
+
56
+ /**
57
+ * Describes the message kusinta.iot.signaling.v1.GatewayConnectRequest.
58
+ * Use `create(GatewayConnectRequestSchema)` to create a new message.
59
+ */
60
+ export const GatewayConnectRequestSchema = /*@__PURE__*/
61
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 6);
62
+
63
+ /**
64
+ * Describes the message kusinta.iot.signaling.v1.GatewayConnectResponse.
65
+ * Use `create(GatewayConnectResponseSchema)` to create a new message.
66
+ */
67
+ export const GatewayConnectResponseSchema = /*@__PURE__*/
68
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 7);
69
+
70
+ /**
71
+ * Describes the message kusinta.iot.signaling.v1.UserConnectRequest.
72
+ * Use `create(UserConnectRequestSchema)` to create a new message.
73
+ */
74
+ export const UserConnectRequestSchema = /*@__PURE__*/
75
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 8);
76
+
77
+ /**
78
+ * Describes the message kusinta.iot.signaling.v1.UserConnectResponse.
79
+ * Use `create(UserConnectResponseSchema)` to create a new message.
80
+ */
81
+ export const UserConnectResponseSchema = /*@__PURE__*/
82
+ messageDesc(file_kusinta_iot_signaling_v1_signaling, 9);
83
+