@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
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/reporting/v1/reporting.proto (package kusinta.iot.reporting.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
|
+
import { file_kusinta_iot_common_v1_types } from "../../common/v1/types_pb.js";
|
|
8
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Describes the file kusinta/iot/reporting/v1/reporting.proto.
|
|
12
|
+
*/
|
|
13
|
+
export const file_kusinta_iot_reporting_v1_reporting = /*@__PURE__*/
|
|
14
|
+
fileDesc("CihrdXNpbnRhL2lvdC9yZXBvcnRpbmcvdjEvcmVwb3J0aW5nLnByb3RvEhhrdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEiPwoMU25hcHNob3RQYXJ0EhMKC3NuYXBzaG90X2lkGAEgASgJEgwKBHBhcnQYAiABKA0SDAoEbGFzdBgDIAEoCCLZAQoOUHJvYmxlbVN1YmplY3QSNgoJZGV2aWNlX2lkGAEgASgLMiEua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuRGV2aWNlSWRIABI8Cgxjb25uZWN0b3JfaWQYAiABKAsyJC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5Db25uZWN0b3JJZEgAEjMKB3Jvb21faWQYAyABKAsyIC5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5TcGFjZUlkSAASEQoHZ2F0ZXdheRgEIAEoCEgAQgkKB3N1YmplY3QipAIKB1Byb2JsZW0SMwoEa2luZBgCIAEoDjIlLmt1c2ludGEuaW90LnJlcG9ydGluZy52MS5Qcm9ibGVtS2luZBI5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hwKGFBST0JMRU1fS0lORF9XSU5ET1dfT1BFThAJKu8BCgtDbGVhclJlYXNvbhIcChhDTEVBUl9SRUFTT05fVU5TUEVDSUZJRUQQABIaChZDTEVBUl9SRUFTT05fUkVDT1ZFUkVEEAESFgoSQ0xFQVJfUkVBU09OX0ZJTEVEEAISHwobQ0xFQVJfUkVBU09OX0RFVklDRV9SRU1PVkVEEAMSMAosQ0xFQVJfUkVBU09OX1NVUEVSU0VERURfQllfQ09OTkVDVE9SX09GRkxJTkUQBBIjCh9DTEVBUl9SRUFTT05fTk9fTE9OR0VSX1JFUE9SVEVEEAUSFgoSQ0xFQVJfUkVBU09OX01PVkVEEAYqhwEKCUFja1N0YXR1cxIaChZBQ0tfU1RBVFVTX1VOU1BFQ0lGSUVEEAASFgoSQUNLX1NUQVRVU19BUFBMSUVEEAESGAoUQUNLX1NUQVRVU19EVVBMSUNBVEUQAhIXChNBQ0tfU1RBVFVTX1JFSkVDVEVEEAMSEwoPQUNLX1NUQVRVU19IRUxEEARCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity]);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message kusinta.iot.reporting.v1.SnapshotPart.
|
|
18
|
+
* Use `create(SnapshotPartSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const SnapshotPartSchema = /*@__PURE__*/
|
|
21
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 0);
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemSubject.
|
|
25
|
+
* Use `create(ProblemSubjectSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const ProblemSubjectSchema = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 1);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message kusinta.iot.reporting.v1.Problem.
|
|
32
|
+
* Use `create(ProblemSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const ProblemSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 2);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemCleared.
|
|
39
|
+
* Use `create(ProblemClearedSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const ProblemClearedSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 3);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message kusinta.iot.reporting.v1.ProblemTransition.
|
|
46
|
+
* Use `create(ProblemTransitionSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const ProblemTransitionSchema = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 4);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message kusinta.iot.reporting.v1.ReportProblemsRequest.
|
|
53
|
+
* Use `create(ReportProblemsRequestSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
export const ReportProblemsRequestSchema = /*@__PURE__*/
|
|
56
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 5);
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message kusinta.iot.reporting.v1.TransitionAck.
|
|
60
|
+
* Use `create(TransitionAckSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const TransitionAckSchema = /*@__PURE__*/
|
|
63
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 6);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message kusinta.iot.reporting.v1.ReportProblemsResponse.
|
|
67
|
+
* Use `create(ReportProblemsResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const ReportProblemsResponseSchema = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 7);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message kusinta.iot.reporting.v1.ServiceReach.
|
|
74
|
+
* Use `create(ServiceReachSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const ServiceReachSchema = /*@__PURE__*/
|
|
77
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 8);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message kusinta.iot.reporting.v1.ReachedSpace.
|
|
81
|
+
* Use `create(ReachedSpaceSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const ReachedSpaceSchema = /*@__PURE__*/
|
|
84
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 9);
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServiceReachRequest.
|
|
88
|
+
* Use `create(ReportServiceReachRequestSchema)` to create a new message.
|
|
89
|
+
*/
|
|
90
|
+
export const ReportServiceReachRequestSchema = /*@__PURE__*/
|
|
91
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 10);
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServiceReachResponse.
|
|
95
|
+
* Use `create(ReportServiceReachResponseSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export const ReportServiceReachResponseSchema = /*@__PURE__*/
|
|
98
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 11);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Describes the message kusinta.iot.reporting.v1.ServedSpace.
|
|
102
|
+
* Use `create(ServedSpaceSchema)` to create a new message.
|
|
103
|
+
*/
|
|
104
|
+
export const ServedSpaceSchema = /*@__PURE__*/
|
|
105
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 12);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServedSpacesRequest.
|
|
109
|
+
* Use `create(ReportServedSpacesRequestSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export const ReportServedSpacesRequestSchema = /*@__PURE__*/
|
|
112
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 13);
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message kusinta.iot.reporting.v1.ReportServedSpacesResponse.
|
|
116
|
+
* Use `create(ReportServedSpacesResponseSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export const ReportServedSpacesResponseSchema = /*@__PURE__*/
|
|
119
|
+
messageDesc(file_kusinta_iot_reporting_v1_reporting, 14);
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the enum kusinta.iot.reporting.v1.ProblemKind.
|
|
123
|
+
*/
|
|
124
|
+
export const ProblemKindSchema = /*@__PURE__*/
|
|
125
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 0);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* What kind of problem is open. The device kinds mirror what service staff are given of a
|
|
129
|
+
* device (webrtc.v1.ServiceStatus: reachability, the battery flags, the ServiceFault values);
|
|
130
|
+
* a device signal added there is added here too.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum kusinta.iot.reporting.v1.ProblemKind
|
|
133
|
+
*/
|
|
134
|
+
export const ProblemKind = /*@__PURE__*/
|
|
135
|
+
tsEnum(ProblemKindSchema);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Describes the enum kusinta.iot.reporting.v1.ClearReason.
|
|
139
|
+
*/
|
|
140
|
+
export const ClearReasonSchema = /*@__PURE__*/
|
|
141
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 1);
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Why a problem closed.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum kusinta.iot.reporting.v1.ClearReason
|
|
147
|
+
*/
|
|
148
|
+
export const ClearReason = /*@__PURE__*/
|
|
149
|
+
tsEnum(ClearReasonSchema);
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the enum kusinta.iot.reporting.v1.AckStatus.
|
|
153
|
+
*/
|
|
154
|
+
export const AckStatusSchema = /*@__PURE__*/
|
|
155
|
+
enumDesc(file_kusinta_iot_reporting_v1_reporting, 2);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* What the api-server made of one transition.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum kusinta.iot.reporting.v1.AckStatus
|
|
161
|
+
*/
|
|
162
|
+
export const AckStatus = /*@__PURE__*/
|
|
163
|
+
tsEnum(AckStatusSchema);
|
|
164
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/reporting/v1/reporting_service.proto (package kusinta.iot.reporting.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { ReportProblemsRequestSchema, ReportProblemsResponseSchema, ReportServedSpacesRequestSchema, ReportServedSpacesResponseSchema, ReportServiceReachRequestSchema, ReportServiceReachResponseSchema } from "./reporting_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/reporting/v1/reporting_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_reporting_v1_reporting_service: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The building-server gateway's reports to the api-server, over the gateway's client
|
|
15
|
+
* certificate: which gateway is reporting comes from the certificate. Three unary calls, one
|
|
16
|
+
* per concern, each with its own stream of reports, so a slow call for one never holds back
|
|
17
|
+
* another.
|
|
18
|
+
*
|
|
19
|
+
* @generated from service kusinta.iot.reporting.v1.GatewayReportingService
|
|
20
|
+
*/
|
|
21
|
+
export declare const GatewayReportingService: GenService<{
|
|
22
|
+
/**
|
|
23
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportProblems
|
|
24
|
+
*/
|
|
25
|
+
reportProblems: {
|
|
26
|
+
methodKind: "unary";
|
|
27
|
+
input: typeof ReportProblemsRequestSchema;
|
|
28
|
+
output: typeof ReportProblemsResponseSchema;
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportServiceReach
|
|
32
|
+
*/
|
|
33
|
+
reportServiceReach: {
|
|
34
|
+
methodKind: "unary";
|
|
35
|
+
input: typeof ReportServiceReachRequestSchema;
|
|
36
|
+
output: typeof ReportServiceReachResponseSchema;
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* @generated from rpc kusinta.iot.reporting.v1.GatewayReportingService.ReportServedSpaces
|
|
40
|
+
*/
|
|
41
|
+
reportServedSpaces: {
|
|
42
|
+
methodKind: "unary";
|
|
43
|
+
input: typeof ReportServedSpacesRequestSchema;
|
|
44
|
+
output: typeof ReportServedSpacesResponseSchema;
|
|
45
|
+
},
|
|
46
|
+
}>;
|
|
47
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file kusinta/iot/reporting/v1/reporting_service.proto (package kusinta.iot.reporting.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { file_kusinta_iot_reporting_v1_reporting } from "./reporting_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file kusinta/iot/reporting/v1/reporting_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_kusinta_iot_reporting_v1_reporting_service = /*@__PURE__*/
|
|
12
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9yZXBvcnRpbmcvdjEvcmVwb3J0aW5nX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LnJlcG9ydGluZy52MTKQAwoXR2F0ZXdheVJlcG9ydGluZ1NlcnZpY2UScwoOUmVwb3J0UHJvYmxlbXMSLy5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0UHJvYmxlbXNSZXF1ZXN0GjAua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFByb2JsZW1zUmVzcG9uc2USfwoSUmVwb3J0U2VydmljZVJlYWNoEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFNlcnZpY2VSZWFjaFJlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0U2VydmljZVJlYWNoUmVzcG9uc2USfwoSUmVwb3J0U2VydmVkU3BhY2VzEjMua3VzaW50YS5pb3QucmVwb3J0aW5nLnYxLlJlcG9ydFNlcnZlZFNwYWNlc1JlcXVlc3QaNC5rdXNpbnRhLmlvdC5yZXBvcnRpbmcudjEuUmVwb3J0U2VydmVkU3BhY2VzUmVzcG9uc2VCAkgBYgZwcm90bzM", [file_kusinta_iot_reporting_v1_reporting]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The building-server gateway's reports to the api-server, over the gateway's client
|
|
16
|
+
* certificate: which gateway is reporting comes from the certificate. Three unary calls, one
|
|
17
|
+
* per concern, each with its own stream of reports, so a slow call for one never holds back
|
|
18
|
+
* another.
|
|
19
|
+
*
|
|
20
|
+
* @generated from service kusinta.iot.reporting.v1.GatewayReportingService
|
|
21
|
+
*/
|
|
22
|
+
export const GatewayReportingService = /*@__PURE__*/
|
|
23
|
+
serviceDesc(file_kusinta_iot_reporting_v1_reporting_service, 0);
|
|
24
|
+
|
|
@@ -76,10 +76,26 @@ export declare type IceCandidate = Message<"kusinta.iot.signaling.v1.IceCandidat
|
|
|
76
76
|
export declare const IceCandidateSchema: GenMessage<IceCandidate>;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Empty keepalive
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
79
|
+
* Empty keepalive, sent periodically on a stream that would otherwise fall
|
|
80
|
+
* silent. The DATA frames it produces reset the inactivity timers on any proxy
|
|
81
|
+
* between the two ends and stop it tearing the stream down. Carries no routing
|
|
82
|
+
* target and is dropped on receipt.
|
|
83
|
+
*
|
|
84
|
+
* Carried on two arms, each covering a half that falls silent while neither end
|
|
85
|
+
* has anything to say: the building-server gateway sends it upstream on
|
|
86
|
+
* GatewayConnect, and the api-server sends it downstream to the app on
|
|
87
|
+
* UserConnectResponse. The remaining halves have no arm — an app leg's upstream
|
|
88
|
+
* that goes idle is one the client can write on whenever it needs to.
|
|
89
|
+
*
|
|
90
|
+
* Never an acknowledgement. A heartbeat answers no message and must not be
|
|
91
|
+
* treated as confirming one.
|
|
92
|
+
*
|
|
93
|
+
* On GatewayConnect it also lets the api-server judge whether the gateway is
|
|
94
|
+
* present. A gateway is present while its stream is open, and never lets it
|
|
95
|
+
* carry nothing for more than 30 seconds: a heartbeat fills any longer silence.
|
|
96
|
+
* A stream that has carried nothing for 90 seconds may be taken as gone, even
|
|
97
|
+
* when the transport has not yet said so. That is the gateway's presence and
|
|
98
|
+
* nothing more: a present gateway may still have lost its devices.
|
|
83
99
|
*
|
|
84
100
|
* @generated from message kusinta.iot.signaling.v1.HeartBeat
|
|
85
101
|
*/
|
|
@@ -124,6 +140,23 @@ export declare type UserHandshakeAck = Message<"kusinta.iot.signaling.v1.UserHan
|
|
|
124
140
|
* @generated from field: string reason = 2;
|
|
125
141
|
*/
|
|
126
142
|
reason: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* How often the api-server will send a HeartBeat on this stream, in
|
|
146
|
+
* milliseconds.
|
|
147
|
+
*
|
|
148
|
+
* Advisory, and a client must not refuse a stream over it: a client that has
|
|
149
|
+
* seen no traffic at all for a small multiple of this may take the stream for
|
|
150
|
+
* gone and reattach with the same session_id, which is the difference between
|
|
151
|
+
* a renegotiation that stalls and one that reconnects. The server is free to
|
|
152
|
+
* answer with a different value on the next session.
|
|
153
|
+
*
|
|
154
|
+
* Zero means the server is not heartbeating this stream, and a client must
|
|
155
|
+
* then not infer anything from silence.
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: uint32 heartbeat_interval_ms = 3;
|
|
158
|
+
*/
|
|
159
|
+
heartbeatIntervalMs: number;
|
|
127
160
|
};
|
|
128
161
|
|
|
129
162
|
/**
|
|
@@ -244,6 +277,10 @@ export declare type UserConnectRequest = Message<"kusinta.iot.signaling.v1.UserC
|
|
|
244
277
|
sessionId: string;
|
|
245
278
|
|
|
246
279
|
/**
|
|
280
|
+
* A payload added here, the handshake aside, belongs in UserSendRequest too:
|
|
281
|
+
* the half-duplex form of this leg carries the same upstream messages, and
|
|
282
|
+
* nothing fails if one of them is only added to one of the two.
|
|
283
|
+
*
|
|
247
284
|
* @generated from oneof kusinta.iot.signaling.v1.UserConnectRequest.payload
|
|
248
285
|
*/
|
|
249
286
|
payload: {
|
|
@@ -276,6 +313,10 @@ export declare const UserConnectRequestSchema: GenMessage<UserConnectRequest>;
|
|
|
276
313
|
/**
|
|
277
314
|
* Messages sent by the api-server to the app.
|
|
278
315
|
*
|
|
316
|
+
* One oneof serves both forms of the leg: UserListenResponse wraps this message
|
|
317
|
+
* rather than restating its payloads, so an arm added here reaches the bidi and
|
|
318
|
+
* half-duplex forms alike.
|
|
319
|
+
*
|
|
279
320
|
* @generated from message kusinta.iot.signaling.v1.UserConnectResponse
|
|
280
321
|
*/
|
|
281
322
|
export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.UserConnectResponse"> & {
|
|
@@ -283,6 +324,7 @@ export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.User
|
|
|
283
324
|
* Echoes the session_id of the stream this message is delivered on, so a
|
|
284
325
|
* client can assert the relay routed to the session it thinks it is. See the
|
|
285
326
|
* contract above.
|
|
327
|
+
* Ignored on a heartbeat, which carries no routing target at all.
|
|
286
328
|
*
|
|
287
329
|
* @generated from field: string session_id = 4;
|
|
288
330
|
*/
|
|
@@ -309,6 +351,22 @@ export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.User
|
|
|
309
351
|
*/
|
|
310
352
|
value: IceCandidate;
|
|
311
353
|
case: "iceCandidate";
|
|
354
|
+
} | {
|
|
355
|
+
/**
|
|
356
|
+
* Keeps a silent stream alive. UserListen is downstream-only — the client
|
|
357
|
+
* opens it with a handshake and then writes nothing — so between the
|
|
358
|
+
* acknowledgement and an answer there is no traffic in either direction, and
|
|
359
|
+
* an idle negotiation can outlast a proxy's patience. Upstream cannot help:
|
|
360
|
+
* the client has nothing to send, and it is traffic *to* the client that
|
|
361
|
+
* resets a client-side idle timer.
|
|
362
|
+
*
|
|
363
|
+
* A client that does not know this arm sees an unset payload rather than an
|
|
364
|
+
* error, which is what the oneof buys.
|
|
365
|
+
*
|
|
366
|
+
* @generated from field: kusinta.iot.signaling.v1.HeartBeat heartbeat = 5;
|
|
367
|
+
*/
|
|
368
|
+
value: HeartBeat;
|
|
369
|
+
case: "heartbeat";
|
|
312
370
|
} | { case: undefined; value?: undefined };
|
|
313
371
|
};
|
|
314
372
|
|
|
@@ -318,3 +376,118 @@ export declare type UserConnectResponse = Message<"kusinta.iot.signaling.v1.User
|
|
|
318
376
|
*/
|
|
319
377
|
export declare const UserConnectResponseSchema: GenMessage<UserConnectResponse>;
|
|
320
378
|
|
|
379
|
+
/**
|
|
380
|
+
* The app leg of the protocol exists twice. UserConnect is one bidi stream, and
|
|
381
|
+
* is what a client uses when its transport can stream a request body. A client
|
|
382
|
+
* whose transport cannot — a browser, whose fetch API has no full-duplex request
|
|
383
|
+
* stream — uses UserListen and UserSend instead. Both forms carry the same
|
|
384
|
+
* messages and are served by the same relay: once a session is live, how it was
|
|
385
|
+
* opened is not observable.
|
|
386
|
+
*
|
|
387
|
+
* Opens the downstream half of a half-duplex app session, and carries the
|
|
388
|
+
* handshake that is the first frame of the bidi form. Field numbers are those of
|
|
389
|
+
* the equivalent UserConnectRequest, so the two cannot be confused on the wire.
|
|
390
|
+
*
|
|
391
|
+
* @generated from message kusinta.iot.signaling.v1.UserListenRequest
|
|
392
|
+
*/
|
|
393
|
+
export declare type UserListenRequest = Message<"kusinta.iot.signaling.v1.UserListenRequest"> & {
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: kusinta.iot.signaling.v1.UserHandshake handshake = 1;
|
|
396
|
+
*/
|
|
397
|
+
handshake?: UserHandshake | undefined;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* This client's session: opaque, minted by the client, stable across
|
|
401
|
+
* reconnects, never a credential, and required. See the contract above.
|
|
402
|
+
*
|
|
403
|
+
* @generated from field: string session_id = 4;
|
|
404
|
+
*/
|
|
405
|
+
sessionId: string;
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Describes the message kusinta.iot.signaling.v1.UserListenRequest.
|
|
410
|
+
* Use `create(UserListenRequestSchema)` to create a new message.
|
|
411
|
+
*/
|
|
412
|
+
export declare const UserListenRequestSchema: GenMessage<UserListenRequest>;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* One message of the downstream half. Wraps the response the bidi form delivers
|
|
416
|
+
* directly, rather than restating its payloads: a response message is not shared
|
|
417
|
+
* between two rpcs, and a second copy of the oneof would be free to drift from
|
|
418
|
+
* the first.
|
|
419
|
+
*
|
|
420
|
+
* @generated from message kusinta.iot.signaling.v1.UserListenResponse
|
|
421
|
+
*/
|
|
422
|
+
export declare type UserListenResponse = Message<"kusinta.iot.signaling.v1.UserListenResponse"> & {
|
|
423
|
+
/**
|
|
424
|
+
* @generated from field: kusinta.iot.signaling.v1.UserConnectResponse response = 1;
|
|
425
|
+
*/
|
|
426
|
+
response?: UserConnectResponse | undefined;
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Describes the message kusinta.iot.signaling.v1.UserListenResponse.
|
|
431
|
+
* Use `create(UserListenResponseSchema)` to create a new message.
|
|
432
|
+
*/
|
|
433
|
+
export declare const UserListenResponseSchema: GenMessage<UserListenResponse>;
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* One upstream message of a half-duplex app session, delivered by its own call.
|
|
437
|
+
*
|
|
438
|
+
* The session must already be open, which is what makes ordering the caller's
|
|
439
|
+
* job: the handshake is acknowledged on the UserListen stream, and a UserSend
|
|
440
|
+
* issued before that acknowledgement names a session the relay does not hold
|
|
441
|
+
* yet. It is refused, not queued. Two sends racing each other can also arrive
|
|
442
|
+
* out of order, so a caller that must preserve order — an offer before the
|
|
443
|
+
* candidates that belong to it — issues them one at a time.
|
|
444
|
+
*
|
|
445
|
+
* @generated from message kusinta.iot.signaling.v1.UserSendRequest
|
|
446
|
+
*/
|
|
447
|
+
export declare type UserSendRequest = Message<"kusinta.iot.signaling.v1.UserSendRequest"> & {
|
|
448
|
+
/**
|
|
449
|
+
* The session to deliver into. See the contract above.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: string session_id = 4;
|
|
452
|
+
*/
|
|
453
|
+
sessionId: string;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @generated from oneof kusinta.iot.signaling.v1.UserSendRequest.payload
|
|
457
|
+
*/
|
|
458
|
+
payload: {
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: kusinta.iot.signaling.v1.SdpOffer offer = 2;
|
|
461
|
+
*/
|
|
462
|
+
value: SdpOffer;
|
|
463
|
+
case: "offer";
|
|
464
|
+
} | {
|
|
465
|
+
/**
|
|
466
|
+
* @generated from field: kusinta.iot.signaling.v1.IceCandidate ice_candidate = 3;
|
|
467
|
+
*/
|
|
468
|
+
value: IceCandidate;
|
|
469
|
+
case: "iceCandidate";
|
|
470
|
+
} | { case: undefined; value?: undefined };
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Describes the message kusinta.iot.signaling.v1.UserSendRequest.
|
|
475
|
+
* Use `create(UserSendRequestSchema)` to create a new message.
|
|
476
|
+
*/
|
|
477
|
+
export declare const UserSendRequestSchema: GenMessage<UserSendRequest>;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Empty. Delivery is acknowledged by the call succeeding; a message that could
|
|
481
|
+
* not be routed fails the call instead.
|
|
482
|
+
*
|
|
483
|
+
* @generated from message kusinta.iot.signaling.v1.UserSendResponse
|
|
484
|
+
*/
|
|
485
|
+
export declare type UserSendResponse = Message<"kusinta.iot.signaling.v1.UserSendResponse"> & {
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Describes the message kusinta.iot.signaling.v1.UserSendResponse.
|
|
490
|
+
* Use `create(UserSendResponseSchema)` to create a new message.
|
|
491
|
+
*/
|
|
492
|
+
export declare const UserSendResponseSchema: GenMessage<UserSendResponse>;
|
|
493
|
+
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identit
|
|
|
9
9
|
* Describes the file kusinta/iot/signaling/v1/signaling.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_signaling_v1_signaling = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CihrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nLnByb3RvEhhrdXNpbnRhLmlvdC5zaWduYWxpbmcudjEiFwoIU2RwT2ZmZXISCwoDc2RwGAEgASgJIhgKCVNkcEFuc3dlchILCgNzZHAYASABKAkiSwoMSWNlQ2FuZGlkYXRlEhEKCWNhbmRpZGF0ZRgBIAEoCRIPCgdzZHBfbWlkGAIgASgJEhcKD3NkcF9tbGluZV9pbmRleBgDIAEoBSILCglIZWFydEJlYXQiTgoNVXNlckhhbmRzaGFrZRI9ChF0YXJnZXRfZ2F0ZXdheV9pZBgBIAE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
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message kusinta.iot.signaling.v1.SdpOffer.
|
|
@@ -81,3 +81,31 @@ export const UserConnectRequestSchema = /*@__PURE__*/
|
|
|
81
81
|
export const UserConnectResponseSchema = /*@__PURE__*/
|
|
82
82
|
messageDesc(file_kusinta_iot_signaling_v1_signaling, 9);
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message kusinta.iot.signaling.v1.UserListenRequest.
|
|
86
|
+
* Use `create(UserListenRequestSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const UserListenRequestSchema = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 10);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message kusinta.iot.signaling.v1.UserListenResponse.
|
|
93
|
+
* Use `create(UserListenResponseSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const UserListenResponseSchema = /*@__PURE__*/
|
|
96
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 11);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message kusinta.iot.signaling.v1.UserSendRequest.
|
|
100
|
+
* Use `create(UserSendRequestSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export const UserSendRequestSchema = /*@__PURE__*/
|
|
103
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 12);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message kusinta.iot.signaling.v1.UserSendResponse.
|
|
107
|
+
* Use `create(UserSendResponseSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const UserSendResponseSchema = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_kusinta_iot_signaling_v1_signaling, 13);
|
|
111
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
5
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import type { GatewayConnectRequestSchema, GatewayConnectResponseSchema, UserConnectRequestSchema, UserConnectResponseSchema } from "./signaling_pb.js";
|
|
6
|
+
import type { GatewayConnectRequestSchema, GatewayConnectResponseSchema, UserConnectRequestSchema, UserConnectResponseSchema, UserListenRequestSchema, UserListenResponseSchema, UserSendRequestSchema, UserSendResponseSchema } from "./signaling_pb.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file kusinta/iot/signaling/v1/signaling_service.proto.
|
|
@@ -30,5 +30,28 @@ export declare const GatewaySignalingService: GenService<{
|
|
|
30
30
|
input: typeof UserConnectRequestSchema;
|
|
31
31
|
output: typeof UserConnectResponseSchema;
|
|
32
32
|
},
|
|
33
|
+
/**
|
|
34
|
+
* Opens the session and its downstream half, for a client whose transport
|
|
35
|
+
* cannot stream a request body and so cannot call UserConnect. The handshake
|
|
36
|
+
* travels in the request; the acknowledgement is the stream's first message.
|
|
37
|
+
*
|
|
38
|
+
* @generated from rpc kusinta.iot.signaling.v1.GatewaySignalingService.UserListen
|
|
39
|
+
*/
|
|
40
|
+
userListen: {
|
|
41
|
+
methodKind: "server_streaming";
|
|
42
|
+
input: typeof UserListenRequestSchema;
|
|
43
|
+
output: typeof UserListenResponseSchema;
|
|
44
|
+
},
|
|
45
|
+
/**
|
|
46
|
+
* Delivers one upstream message into a session UserListen has already opened.
|
|
47
|
+
* A call naming a session the relay does not hold is refused, not queued.
|
|
48
|
+
*
|
|
49
|
+
* @generated from rpc kusinta.iot.signaling.v1.GatewaySignalingService.UserSend
|
|
50
|
+
*/
|
|
51
|
+
userSend: {
|
|
52
|
+
methodKind: "unary";
|
|
53
|
+
input: typeof UserSendRequestSchema;
|
|
54
|
+
output: typeof UserSendResponseSchema;
|
|
55
|
+
},
|
|
33
56
|
}>;
|
|
34
57
|
|
|
@@ -9,7 +9,7 @@ import { file_kusinta_iot_signaling_v1_signaling } from "./signaling_pb.js";
|
|
|
9
9
|
* Describes the file kusinta/iot/signaling/v1/signaling_service.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_kusinta_iot_signaling_v1_signaling_service = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CjBrdXNpbnRhL2lvdC9zaWduYWxpbmcvdjEvc2lnbmFsaW5nX3NlcnZpY2UucHJvdG8SGGt1c2ludGEuaW90LnNpZ25hbGluZy52MTLQAwoXR2F0ZXdheVNpZ25hbGluZ1NlcnZpY2USdwoOR2F0ZXdheUNvbm5lY3QSLy5rdXNpbnRhLmlvdC5zaWduYWxpbmcudjEuR2F0ZXdheUNvbm5lY3RSZXF1ZXN0GjAua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLkdhdGV3YXlDb25uZWN0UmVzcG9uc2UoATABEm4KC1VzZXJDb25uZWN0Eiwua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJDb25uZWN0UmVxdWVzdBotLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VyQ29ubmVjdFJlc3BvbnNlKAEwARJpCgpVc2VyTGlzdGVuEisua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJMaXN0ZW5SZXF1ZXN0Giwua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJMaXN0ZW5SZXNwb25zZTABEmEKCFVzZXJTZW5kEikua3VzaW50YS5pb3Quc2lnbmFsaW5nLnYxLlVzZXJTZW5kUmVxdWVzdBoqLmt1c2ludGEuaW90LnNpZ25hbGluZy52MS5Vc2VyU2VuZFJlc3BvbnNlQgJIAWIGcHJvdG8z", [file_kusinta_iot_signaling_v1_signaling]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* @generated from service kusinta.iot.signaling.v1.GatewaySignalingService
|