@kusinta/iot-schema 0.2.0-beta.4 → 0.2.0-beta.40

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 (67) hide show
  1. package/package.json +12 -1
  2. package/src/kusinta/iot/access/v1/acl_pb.d.ts +119 -2
  3. package/src/kusinta/iot/access/v1/acl_pb.js +20 -3
  4. package/src/kusinta/iot/access/v1/roles_pb.d.ts +131 -4
  5. package/src/kusinta/iot/access/v1/roles_pb.js +110 -5
  6. package/src/kusinta/iot/accountlink/v1/account_link_pb.d.ts +583 -0
  7. package/src/kusinta/iot/accountlink/v1/account_link_pb.js +160 -0
  8. package/src/kusinta/iot/climate/v1/climate_pb.d.ts +1041 -0
  9. package/src/kusinta/iot/climate/v1/climate_pb.js +206 -0
  10. package/src/kusinta/iot/commissioning/v1/commissioning_pb.d.ts +1128 -0
  11. package/src/kusinta/iot/commissioning/v1/commissioning_pb.js +246 -0
  12. package/src/kusinta/iot/common/v1/pairing_pb.d.ts +217 -0
  13. package/src/kusinta/iot/common/v1/pairing_pb.js +50 -0
  14. package/src/kusinta/iot/common/v1/types_pb.d.ts +175 -0
  15. package/src/kusinta/iot/common/v1/types_pb.js +70 -1
  16. package/src/kusinta/iot/connector/v1/connector_pb.d.ts +691 -2
  17. package/src/kusinta/iot/connector/v1/connector_pb.js +104 -13
  18. package/src/kusinta/iot/device/v1/cluster_state_pb.d.ts +213 -1
  19. package/src/kusinta/iot/device/v1/cluster_state_pb.js +37 -2
  20. package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +22 -2
  21. package/src/kusinta/iot/device/v1/descriptor_pb.js +2 -1
  22. package/src/kusinta/iot/device/v1/device_event_pb.d.ts +87 -5
  23. package/src/kusinta/iot/device/v1/device_event_pb.js +1 -1
  24. package/src/kusinta/iot/device/v1/device_pb.d.ts +164 -11
  25. package/src/kusinta/iot/device/v1/device_pb.js +33 -2
  26. package/src/kusinta/iot/device/v1/properties_pb.d.ts +26 -5
  27. package/src/kusinta/iot/device/v1/properties_pb.js +1 -1
  28. package/src/kusinta/iot/device/v1/property_update_pb.d.ts +28 -2
  29. package/src/kusinta/iot/device/v1/property_update_pb.js +2 -1
  30. package/src/kusinta/iot/heating/v1/heating_pb.d.ts +619 -0
  31. package/src/kusinta/iot/heating/v1/heating_pb.js +118 -0
  32. package/src/kusinta/iot/link/v1/link_pb.d.ts +438 -0
  33. package/src/kusinta/iot/link/v1/link_pb.js +121 -0
  34. package/src/kusinta/iot/registration/v1/registration_pb.d.ts +18 -0
  35. package/src/kusinta/iot/registration/v1/registration_pb.js +1 -1
  36. package/src/kusinta/iot/reporting/v1/reporting_pb.d.ts +1225 -0
  37. package/src/kusinta/iot/reporting/v1/reporting_pb.js +238 -0
  38. package/src/kusinta/iot/reporting/v1/reporting_service_pb.d.ts +63 -0
  39. package/src/kusinta/iot/reporting/v1/reporting_service_pb.js +24 -0
  40. package/src/kusinta/iot/signaling/v1/signaling_pb.d.ts +920 -7
  41. package/src/kusinta/iot/signaling/v1/signaling_pb.js +163 -4
  42. package/src/kusinta/iot/signaling/v1/signaling_service_pb.d.ts +24 -1
  43. package/src/kusinta/iot/signaling/v1/signaling_service_pb.js +1 -1
  44. package/src/kusinta/iot/space/v1/space_pb.d.ts +107 -2
  45. package/src/kusinta/iot/space/v1/space_pb.js +10 -1
  46. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +19 -3
  47. package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +1 -1
  48. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.d.ts +69 -0
  49. package/src/kusinta/iot/vendor/lorawan/v1/lorawan_pb.js +19 -0
  50. package/src/kusinta/iot/vendor/v1/vendor_options_pb.d.ts +4 -4
  51. package/src/kusinta/iot/vendor/v1/vendor_options_pb.js +4 -4
  52. package/src/kusinta/iot/webrtc/v1/app_token_pb.d.ts +48 -5
  53. package/src/kusinta/iot/webrtc/v1/app_token_pb.js +1 -1
  54. package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +56 -0
  55. package/src/kusinta/iot/webrtc/v1/command_pb.js +1 -1
  56. package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +179 -5
  57. package/src/kusinta/iot/webrtc/v1/device_state_pb.js +35 -6
  58. package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +607 -3
  59. package/src/kusinta/iot/webrtc/v1/envelope_pb.js +68 -3
  60. package/src/kusinta/iot/webrtc/v1/invite_pb.d.ts +498 -0
  61. package/src/kusinta/iot/webrtc/v1/invite_pb.js +108 -0
  62. package/src/kusinta/iot/webrtc/v1/management_pb.d.ts +1687 -75
  63. package/src/kusinta/iot/webrtc/v1/management_pb.js +261 -5
  64. package/src/kusinta/iot/webrtc/v1/members_pb.d.ts +536 -0
  65. package/src/kusinta/iot/webrtc/v1/members_pb.js +113 -0
  66. package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +66 -4
  67. package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +10 -2
@@ -0,0 +1,246 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/commissioning/v1/commissioning.proto (package kusinta.iot.commissioning.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_device_v1_cluster_state } from "../../device/v1/cluster_state_pb.js";
8
+ import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb.js";
9
+
10
+ /**
11
+ * Describes the file kusinta/iot/commissioning/v1/commissioning.proto.
12
+ */
13
+ export const file_kusinta_iot_commissioning_v1_commissioning = /*@__PURE__*/
14
+ fileDesc("CjBrdXNpbnRhL2lvdC9jb21taXNzaW9uaW5nL3YxL2NvbW1pc3Npb25pbmcucHJvdG8SHGt1c2ludGEuaW90Lm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AMqhQEKCVRlc3RTdGF0ZRIaChZURVNUX1NUQVRFX1VOU1BFQ0lGSUVEEAASFgoSVEVTVF9TVEFURV9SVU5OSU5HEAESFQoRVEVTVF9TVEFURV9QQVNTRUQQAhIVChFURVNUX1NUQVRFX0ZBSUxFRBADEhYKElRFU1RfU1RBVEVfQUJPUlRFRBAEKp0CCgtUZXN0RmFpbHVyZRIcChhURVNUX0ZBSUxVUkVfVU5TUEVDSUZJRUQQABIlCiFURVNUX0ZBSUxVUkVfUE9XRVJfT05fTk9UX0FUX1JFU1QQARIgChxURVNUX0ZBSUxVUkVfTk9fU1RBVEVfQ0hBTkdFEAISIgoeVEVTVF9GQUlMVVJFX0xFQVNFX05PVF9SRU5FV0VEEAMSJwojVEVTVF9GQUlMVVJFX0RJRF9OT1RfUkVUVVJOX1RPX1JFU1QQBBIjCh9URVNUX0ZBSUxVUkVfREVWSUNFX1VOUkVBQ0hBQkxFEAUSGgoWVEVTVF9GQUlMVVJFX05PX0VGRkVDVBAGEhkKFVRFU1RfRkFJTFVSRV9PQlNFUlZFRBAHQgJIAWIGcHJvdG8z", [file_google_protobuf_timestamp, file_kusinta_iot_device_v1_cluster_state, file_kusinta_iot_identity_v1_identity]);
15
+
16
+ /**
17
+ * Describes the message kusinta.iot.commissioning.v1.Provenance.
18
+ * Use `create(ProvenanceSchema)` to create a new message.
19
+ */
20
+ export const ProvenanceSchema = /*@__PURE__*/
21
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 0);
22
+
23
+ /**
24
+ * Describes the message kusinta.iot.commissioning.v1.BindingRef.
25
+ * Use `create(BindingRefSchema)` to create a new message.
26
+ */
27
+ export const BindingRefSchema = /*@__PURE__*/
28
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 1);
29
+
30
+ /**
31
+ * Describes the message kusinta.iot.commissioning.v1.TemplateRef.
32
+ * Use `create(TemplateRefSchema)` to create a new message.
33
+ */
34
+ export const TemplateRefSchema = /*@__PURE__*/
35
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 2);
36
+
37
+ /**
38
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningFact.
39
+ * Use `create(CommissioningFactSchema)` to create a new message.
40
+ */
41
+ export const CommissioningFactSchema = /*@__PURE__*/
42
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 3);
43
+
44
+ /**
45
+ * Describes the message kusinta.iot.commissioning.v1.TemplateFact.
46
+ * Use `create(TemplateFactSchema)` to create a new message.
47
+ */
48
+ export const TemplateFactSchema = /*@__PURE__*/
49
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 4);
50
+
51
+ /**
52
+ * Describes the message kusinta.iot.commissioning.v1.HouseTemplate.
53
+ * Use `create(HouseTemplateSchema)` to create a new message.
54
+ */
55
+ export const HouseTemplateSchema = /*@__PURE__*/
56
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 5);
57
+
58
+ /**
59
+ * Describes the message kusinta.iot.commissioning.v1.Need.
60
+ * Use `create(NeedSchema)` to create a new message.
61
+ */
62
+ export const NeedSchema = /*@__PURE__*/
63
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 6);
64
+
65
+ /**
66
+ * Describes the message kusinta.iot.commissioning.v1.FeatureBlock.
67
+ * Use `create(FeatureBlockSchema)` to create a new message.
68
+ */
69
+ export const FeatureBlockSchema = /*@__PURE__*/
70
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 7);
71
+
72
+ /**
73
+ * Describes the message kusinta.iot.commissioning.v1.FeatureStatus.
74
+ * Use `create(FeatureStatusSchema)` to create a new message.
75
+ */
76
+ export const FeatureStatusSchema = /*@__PURE__*/
77
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 8);
78
+
79
+ /**
80
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningTest.
81
+ * Use `create(CommissioningTestSchema)` to create a new message.
82
+ */
83
+ export const CommissioningTestSchema = /*@__PURE__*/
84
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 9);
85
+
86
+ /**
87
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningProfile.
88
+ * Use `create(CommissioningProfileSchema)` to create a new message.
89
+ */
90
+ export const CommissioningProfileSchema = /*@__PURE__*/
91
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 10);
92
+
93
+ /**
94
+ * Describes the message kusinta.iot.commissioning.v1.HomeSetup.
95
+ * Use `create(HomeSetupSchema)` to create a new message.
96
+ */
97
+ export const HomeSetupSchema = /*@__PURE__*/
98
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 11);
99
+
100
+ /**
101
+ * Describes the message kusinta.iot.commissioning.v1.HomeSetups.
102
+ * Use `create(HomeSetupsSchema)` to create a new message.
103
+ */
104
+ export const HomeSetupsSchema = /*@__PURE__*/
105
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 12);
106
+
107
+ /**
108
+ * Describes the message kusinta.iot.commissioning.v1.CommissioningRecord.
109
+ * Use `create(CommissioningRecordSchema)` to create a new message.
110
+ */
111
+ export const CommissioningRecordSchema = /*@__PURE__*/
112
+ messageDesc(file_kusinta_iot_commissioning_v1_commissioning, 13);
113
+
114
+ /**
115
+ * Describes the enum kusinta.iot.commissioning.v1.Party.
116
+ */
117
+ export const PartySchema = /*@__PURE__*/
118
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 0);
119
+
120
+ /**
121
+ * Who answers a fact, or ran or concluded a test.
122
+ *
123
+ * @generated from enum kusinta.iot.commissioning.v1.Party
124
+ */
125
+ export const Party = /*@__PURE__*/
126
+ tsEnum(PartySchema);
127
+
128
+ /**
129
+ * Describes the enum kusinta.iot.commissioning.v1.Necessity.
130
+ */
131
+ export const NecessitySchema = /*@__PURE__*/
132
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 1);
133
+
134
+ /**
135
+ * How much a fact is needed.
136
+ *
137
+ * @generated from enum kusinta.iot.commissioning.v1.Necessity
138
+ */
139
+ export const Necessity = /*@__PURE__*/
140
+ tsEnum(NecessitySchema);
141
+
142
+ /**
143
+ * Describes the enum kusinta.iot.commissioning.v1.Evidence.
144
+ */
145
+ export const EvidenceSchema = /*@__PURE__*/
146
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 2);
147
+
148
+ /**
149
+ * How an answer was confirmed. A household answers STATED, PHOTO or DRAWING; INSPECTED and
150
+ * MEASURED are an installer's or the gateway's; DERIVED is the gateway's alone. A key may
151
+ * require more (see the file comment); less is refused.
152
+ *
153
+ * @generated from enum kusinta.iot.commissioning.v1.Evidence
154
+ */
155
+ export const Evidence = /*@__PURE__*/
156
+ tsEnum(EvidenceSchema);
157
+
158
+ /**
159
+ * Describes the enum kusinta.iot.commissioning.v1.FactTopic.
160
+ */
161
+ export const FactTopicSchema = /*@__PURE__*/
162
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 3);
163
+
164
+ /**
165
+ * What a fact is about, for a client that does not know its key. Closed: a client words a
166
+ * topic it does not know as a detail about the space or record, from its answerer.
167
+ *
168
+ * @generated from enum kusinta.iot.commissioning.v1.FactTopic
169
+ */
170
+ export const FactTopic = /*@__PURE__*/
171
+ tsEnum(FactTopicSchema);
172
+
173
+ /**
174
+ * Describes the enum kusinta.iot.commissioning.v1.Feature.
175
+ */
176
+ export const FeatureSchema = /*@__PURE__*/
177
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 4);
178
+
179
+ /**
180
+ * The heating features a home's commissioning unlocks.
181
+ *
182
+ * @generated from enum kusinta.iot.commissioning.v1.Feature
183
+ */
184
+ export const Feature = /*@__PURE__*/
185
+ tsEnum(FeatureSchema);
186
+
187
+ /**
188
+ * Describes the enum kusinta.iot.commissioning.v1.FeatureState.
189
+ */
190
+ export const FeatureStateSchema = /*@__PURE__*/
191
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 5);
192
+
193
+ /**
194
+ * @generated from enum kusinta.iot.commissioning.v1.FeatureState
195
+ */
196
+ export const FeatureState = /*@__PURE__*/
197
+ tsEnum(FeatureStateSchema);
198
+
199
+ /**
200
+ * Describes the enum kusinta.iot.commissioning.v1.BlockReason.
201
+ */
202
+ export const BlockReasonSchema = /*@__PURE__*/
203
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 6);
204
+
205
+ /**
206
+ * @generated from enum kusinta.iot.commissioning.v1.BlockReason
207
+ */
208
+ export const BlockReason = /*@__PURE__*/
209
+ tsEnum(BlockReasonSchema);
210
+
211
+ /**
212
+ * Describes the enum kusinta.iot.commissioning.v1.TestKind.
213
+ */
214
+ export const TestKindSchema = /*@__PURE__*/
215
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 7);
216
+
217
+ /**
218
+ * @generated from enum kusinta.iot.commissioning.v1.TestKind
219
+ */
220
+ export const TestKind = /*@__PURE__*/
221
+ tsEnum(TestKindSchema);
222
+
223
+ /**
224
+ * Describes the enum kusinta.iot.commissioning.v1.TestState.
225
+ */
226
+ export const TestStateSchema = /*@__PURE__*/
227
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 8);
228
+
229
+ /**
230
+ * @generated from enum kusinta.iot.commissioning.v1.TestState
231
+ */
232
+ export const TestState = /*@__PURE__*/
233
+ tsEnum(TestStateSchema);
234
+
235
+ /**
236
+ * Describes the enum kusinta.iot.commissioning.v1.TestFailure.
237
+ */
238
+ export const TestFailureSchema = /*@__PURE__*/
239
+ enumDesc(file_kusinta_iot_commissioning_v1_commissioning, 9);
240
+
241
+ /**
242
+ * @generated from enum kusinta.iot.commissioning.v1.TestFailure
243
+ */
244
+ export const TestFailure = /*@__PURE__*/
245
+ tsEnum(TestFailureSchema);
246
+
@@ -0,0 +1,217 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/common/v1/pairing.proto (package kusinta.iot.common.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * Describes the file kusinta/iot/common/v1/pairing.proto.
10
+ */
11
+ export declare const file_kusinta_iot_common_v1_pairing: GenFile;
12
+
13
+ /**
14
+ * A pairing failure and what can be said about it, the pairing counterpart of CommandError.
15
+ *
16
+ * The message matters more here than elsewhere: DEVICE_UNUSABLE is the code a user is most
17
+ * likely to see and least able to act on, and naming the device that joined is the whole
18
+ * difference between "something went wrong" and "this hub does not support that model yet".
19
+ *
20
+ * @generated from message kusinta.iot.common.v1.PairingErrorDetail
21
+ */
22
+ export declare type PairingErrorDetail = Message<"kusinta.iot.common.v1.PairingErrorDetail"> & {
23
+ /**
24
+ * @generated from field: kusinta.iot.common.v1.PairingError code = 1;
25
+ */
26
+ code: PairingError;
27
+
28
+ /**
29
+ * human-readable; may name the device, its model, or the fault
30
+ *
31
+ * @generated from field: string message = 2;
32
+ */
33
+ message: string;
34
+ };
35
+
36
+ /**
37
+ * Describes the message kusinta.iot.common.v1.PairingErrorDetail.
38
+ * Use `create(PairingErrorDetailSchema)` to create a new message.
39
+ */
40
+ export declare const PairingErrorDetailSchema: GenMessage<PairingErrorDetail>;
41
+
42
+ /**
43
+ * How long a hub accepts new devices, and which it will take.
44
+ *
45
+ * One message on both legs rather than the same three fields declared twice: the clamp rule
46
+ * and the meaning of a hint are the sort of thing that is written once and then diverges,
47
+ * and the two copies had already begun to.
48
+ *
49
+ * @generated from message kusinta.iot.common.v1.PairingWindow
50
+ */
51
+ export declare type PairingWindow = Message<"kusinta.iot.common.v1.PairingWindow"> & {
52
+ /**
53
+ * How long to accept arrivals. Whoever forwards this clamps it, and so does whoever acts
54
+ * on it: a window is an interval during which anything nearby can join, so its length is a
55
+ * security parameter rather than purely the caller's to choose.
56
+ *
57
+ * Absent means "no preference, use the default" — distinct from a caller asking for zero.
58
+ *
59
+ * @generated from field: optional uint32 duration_seconds = 1;
60
+ */
61
+ durationSeconds?: number | undefined;
62
+
63
+ /**
64
+ * The identifier printed on the device being paired, where the technology has one that is
65
+ * legible and the person is holding it. Free-form: what is printed differs per technology,
66
+ * and nothing between the app and the hub interprets it.
67
+ *
68
+ * Setting it changes the mechanism, not just the accuracy. The hub is restricted to that
69
+ * device and the arrival is verified against this value, so an arrival is attributed on
70
+ * identity. Leaving it empty opens the window to anything nearby, and attribution falls
71
+ * back to the arrival being the only one — which is why one window may be open at a time.
72
+ *
73
+ * Verification is not optional where this is set. A restriction can silently fail to take,
74
+ * and an arrival attributed on a restriction that did not hold is the wrong device in
75
+ * someone's home.
76
+ *
77
+ * @generated from field: string device_hint = 2;
78
+ */
79
+ deviceHint: string;
80
+
81
+ /**
82
+ * How many arrivals this one window may attribute. Absent means one.
83
+ *
84
+ * A batch suits commissioning, where devices are paired in a row and become a building's
85
+ * rather than any person's. It does not suit a caller whose pairing mints personal
86
+ * ownership.
87
+ *
88
+ * Ignored where device_hint is set, and narrowed to one rather than refused: a hint names
89
+ * one device, so a window restricted to it can never produce a second arrival to attribute.
90
+ * The combination is meaningless rather than dangerous, and there is no honest code in
91
+ * PairingError for "your request contradicted itself" — refusing it would mean answering a
92
+ * malformed request with an entitlement decision that was never made.
93
+ *
94
+ * @generated from field: optional uint32 max_devices = 3;
95
+ */
96
+ maxDevices?: number | undefined;
97
+ };
98
+
99
+ /**
100
+ * Describes the message kusinta.iot.common.v1.PairingWindow.
101
+ * Use `create(PairingWindowSchema)` to create a new message.
102
+ */
103
+ export declare const PairingWindowSchema: GenMessage<PairingWindow>;
104
+
105
+ /**
106
+ * Why a pairing attempt did not produce a device, in one vocabulary both the app and a
107
+ * connector speak.
108
+ *
109
+ * Shared rather than mirrored, for the reason CommandError's comment gives: mirrored enums
110
+ * leave every connector inventing its own spellings and something in the middle keeping a
111
+ * translation table that silently falls behind. A connector produces the subset it can
112
+ * observe; the gateway produces the rest and passes a connector's value through unchanged.
113
+ *
114
+ * Every value answers one question: *what should the client do now?* A code that does not
115
+ * change the answer does not need to exist, which is why "the device is on the hub and
116
+ * unusable" is one value and not two.
117
+ *
118
+ * @generated from enum kusinta.iot.common.v1.PairingError
119
+ */
120
+ export enum PairingError {
121
+ /**
122
+ * Sender set no code, or sent one this client's schema does not know.
123
+ *
124
+ * This must stay the safe reading. A client decodes every value added after its build as
125
+ * UNSPECIFIED, so the sensible handling is "it did not work, offering a retry is
126
+ * reasonable" — and no value below is so dangerous that reading it this way misleads.
127
+ *
128
+ * @generated from enum value: PAIRING_ERROR_UNSPECIFIED = 0;
129
+ */
130
+ UNSPECIFIED = 0,
131
+
132
+ /**
133
+ * The caller may not pair here. Permanent for this caller: stop, and say so.
134
+ *
135
+ * @generated from enum value: PAIRING_ERROR_NOT_ENTITLED = 1;
136
+ */
137
+ NOT_ENTITLED = 1,
138
+
139
+ /**
140
+ * A pairing window is already open, and only one may be. Retrying after it closes is the
141
+ * right response; retrying at once is not.
142
+ *
143
+ * The exclusivity is not incidental. Where a request names no device, the only thing
144
+ * attributing an arrival to a requester is that theirs was the one window open.
145
+ *
146
+ * @generated from enum value: PAIRING_ERROR_ALREADY_IN_PROGRESS = 2;
147
+ */
148
+ ALREADY_IN_PROGRESS = 2,
149
+
150
+ /**
151
+ * The connector could not be reached, or refused to open its window. Transient.
152
+ *
153
+ * @generated from enum value: PAIRING_ERROR_CONNECTOR_UNAVAILABLE = 3;
154
+ */
155
+ CONNECTOR_UNAVAILABLE = 3,
156
+
157
+ /**
158
+ * The window closed with nothing paired: no device was put into pairing mode, or it was
159
+ * out of range, or its batteries are flat. The ordinary outcome of a user who walked away,
160
+ * so the useful response is to say what to do and offer another go, not to report a fault.
161
+ *
162
+ * @generated from enum value: PAIRING_ERROR_NO_DEVICE_APPEARED = 4;
163
+ */
164
+ NO_DEVICE_APPEARED = 4,
165
+
166
+ /**
167
+ * A device joined the hub and cannot be presented — the connector has no model for it, or
168
+ * could not assemble a complete description of it.
169
+ *
170
+ * One value rather than two, because the client does the same thing either way: stop, do
171
+ * not retry, and tell the user there is now an unusable device on their hub. Which of the
172
+ * two it was belongs in PairingErrorDetail.message, where it can name the device.
173
+ *
174
+ * It stays joined deliberately. A later connector release that models it adopts it with
175
+ * nobody returning to the hardware, where removing it would need someone standing there.
176
+ *
177
+ * @generated from enum value: PAIRING_ERROR_DEVICE_UNUSABLE = 5;
178
+ */
179
+ DEVICE_UNUSABLE = 5,
180
+
181
+ /**
182
+ * A device joined that is not the one the request named. The connector checked the arrival
183
+ * against the identifier it was given and they did not match, so it was not attributed.
184
+ *
185
+ * @generated from enum value: PAIRING_ERROR_WRONG_DEVICE = 6;
186
+ */
187
+ WRONG_DEVICE = 6,
188
+
189
+ /**
190
+ * A fault on the gateway's or the connector's own side. Not the caller's doing.
191
+ *
192
+ * @generated from enum value: PAIRING_ERROR_INTERNAL = 7;
193
+ */
194
+ INTERNAL = 7,
195
+
196
+ /**
197
+ * The request named no connector. Pairing always targets exactly one connector,
198
+ * chosen from the connector enumeration; an untargeted "pair anything" is refused
199
+ * rather than fanned out across every hub. Permanent for the request as sent —
200
+ * naming a connector and asking again is the fix, retrying identically is not —
201
+ * which is why this is not CONNECTOR_UNAVAILABLE, whose retry is reasonable.
202
+ *
203
+ * The gateway is the enforcer: connector_id is a message field, so proto cannot
204
+ * mark it required, and the check lives where the fan-out used to. A client whose
205
+ * schema predates this reads it as UNSPECIFIED and offers a retry, which is
206
+ * harmless — an app built against the enumeration always names a connector anyway.
207
+ *
208
+ * @generated from enum value: PAIRING_ERROR_CONNECTOR_REQUIRED = 8;
209
+ */
210
+ CONNECTOR_REQUIRED = 8,
211
+ }
212
+
213
+ /**
214
+ * Describes the enum kusinta.iot.common.v1.PairingError.
215
+ */
216
+ export declare const PairingErrorSchema: GenEnum<PairingError>;
217
+
@@ -0,0 +1,50 @@
1
+ // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file kusinta/iot/common/v1/pairing.proto (package kusinta.iot.common.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
6
+
7
+ /**
8
+ * Describes the file kusinta/iot/common/v1/pairing.proto.
9
+ */
10
+ export const file_kusinta_iot_common_v1_pairing = /*@__PURE__*/
11
+ fileDesc("CiNrdXNpbnRhL2lvdC9jb21tb24vdjEvcGFpcmluZy5wcm90bxIVa3VzaW50YS5pb3QuY29tbW9uLnYxIlgKElBhaXJpbmdFcnJvckRldGFpbBIxCgRjb2RlGAEgASgOMiMua3VzaW50YS5pb3QuY29tbW9uLnYxLlBhaXJpbmdFcnJvchIPCgdtZXNzYWdlGAIgASgJIoIBCg1QYWlyaW5nV2luZG93Eh0KEGR1cmF0aW9uX3NlY29uZHMYASABKA1IAIgBARITCgtkZXZpY2VfaGludBgCIAEoCRIYCgttYXhfZGV2aWNlcxgDIAEoDUgBiAEBQhMKEV9kdXJhdGlvbl9zZWNvbmRzQg4KDF9tYXhfZGV2aWNlcyrIAgoMUGFpcmluZ0Vycm9yEh0KGVBBSVJJTkdfRVJST1JfVU5TUEVDSUZJRUQQABIeChpQQUlSSU5HX0VSUk9SX05PVF9FTlRJVExFRBABEiUKIVBBSVJJTkdfRVJST1JfQUxSRUFEWV9JTl9QUk9HUkVTUxACEicKI1BBSVJJTkdfRVJST1JfQ09OTkVDVE9SX1VOQVZBSUxBQkxFEAMSJAogUEFJUklOR19FUlJPUl9OT19ERVZJQ0VfQVBQRUFSRUQQBBIhCh1QQUlSSU5HX0VSUk9SX0RFVklDRV9VTlVTQUJMRRAFEh4KGlBBSVJJTkdfRVJST1JfV1JPTkdfREVWSUNFEAYSGgoWUEFJUklOR19FUlJPUl9JTlRFUk5BTBAHEiQKIFBBSVJJTkdfRVJST1JfQ09OTkVDVE9SX1JFUVVJUkVEEAhCAkgBYgZwcm90bzM");
12
+
13
+ /**
14
+ * Describes the message kusinta.iot.common.v1.PairingErrorDetail.
15
+ * Use `create(PairingErrorDetailSchema)` to create a new message.
16
+ */
17
+ export const PairingErrorDetailSchema = /*@__PURE__*/
18
+ messageDesc(file_kusinta_iot_common_v1_pairing, 0);
19
+
20
+ /**
21
+ * Describes the message kusinta.iot.common.v1.PairingWindow.
22
+ * Use `create(PairingWindowSchema)` to create a new message.
23
+ */
24
+ export const PairingWindowSchema = /*@__PURE__*/
25
+ messageDesc(file_kusinta_iot_common_v1_pairing, 1);
26
+
27
+ /**
28
+ * Describes the enum kusinta.iot.common.v1.PairingError.
29
+ */
30
+ export const PairingErrorSchema = /*@__PURE__*/
31
+ enumDesc(file_kusinta_iot_common_v1_pairing, 0);
32
+
33
+ /**
34
+ * Why a pairing attempt did not produce a device, in one vocabulary both the app and a
35
+ * connector speak.
36
+ *
37
+ * Shared rather than mirrored, for the reason CommandError's comment gives: mirrored enums
38
+ * leave every connector inventing its own spellings and something in the middle keeping a
39
+ * translation table that silently falls behind. A connector produces the subset it can
40
+ * observe; the gateway produces the rest and passes a connector's value through unchanged.
41
+ *
42
+ * Every value answers one question: *what should the client do now?* A code that does not
43
+ * change the answer does not need to exist, which is why "the device is on the hub and
44
+ * unusable" is one value and not two.
45
+ *
46
+ * @generated from enum kusinta.iot.common.v1.PairingError
47
+ */
48
+ export const PairingError = /*@__PURE__*/
49
+ tsEnum(PairingErrorSchema);
50
+