@kusinta/iot-schema 0.1.0-beta.2
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 +31 -0
- package/src/__tests__/access.test.js +134 -0
- package/src/__tests__/common.test.js +29 -0
- package/src/__tests__/connector.test.js +144 -0
- package/src/__tests__/device.test.js +194 -0
- package/src/__tests__/identity.test.js +43 -0
- package/src/__tests__/space.test.js +54 -0
- package/src/__tests__/vendor.test.js +60 -0
- package/src/__tests__/webrtc.test.js +268 -0
- package/src/kusinta/iot/access/v1/acl_pb.d.ts +144 -0
- package/src/kusinta/iot/access/v1/acl_pb.js +36 -0
- package/src/kusinta/iot/access/v1/roles_pb.d.ts +81 -0
- package/src/kusinta/iot/access/v1/roles_pb.js +36 -0
- package/src/kusinta/iot/common/v1/types_pb.d.ts +163 -0
- package/src/kusinta/iot/common/v1/types_pb.js +67 -0
- package/src/kusinta/iot/connector/v1/connector_pb.d.ts +359 -0
- package/src/kusinta/iot/connector/v1/connector_pb.js +101 -0
- package/src/kusinta/iot/connector/v1/connector_service_pb.d.ts +29 -0
- package/src/kusinta/iot/connector/v1/connector_service_pb.js +22 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.d.ts +115 -0
- package/src/kusinta/iot/device/v1/descriptor_pb.js +22 -0
- package/src/kusinta/iot/device/v1/device_pb.d.ts +131 -0
- package/src/kusinta/iot/device/v1/device_pb.js +23 -0
- package/src/kusinta/iot/device/v1/properties_pb.d.ts +580 -0
- package/src/kusinta/iot/device/v1/properties_pb.js +96 -0
- package/src/kusinta/iot/device/v1/property_update_pb.d.ts +112 -0
- package/src/kusinta/iot/device/v1/property_update_pb.js +28 -0
- package/src/kusinta/iot/identity/v1/identity_pb.d.ts +108 -0
- package/src/kusinta/iot/identity/v1/identity_pb.js +54 -0
- package/src/kusinta/iot/space/v1/space_pb.d.ts +86 -0
- package/src/kusinta/iot/space/v1/space_pb.js +21 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.d.ts +94 -0
- package/src/kusinta/iot/vendor/homematic/v1/homematic_pb.js +26 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.d.ts +271 -0
- package/src/kusinta/iot/webrtc/v1/command_pb.js +70 -0
- package/src/kusinta/iot/webrtc/v1/device_state_pb.d.ts +67 -0
- package/src/kusinta/iot/webrtc/v1/device_state_pb.js +30 -0
- package/src/kusinta/iot/webrtc/v1/envelope_pb.d.ts +210 -0
- package/src/kusinta/iot/webrtc/v1/envelope_pb.js +59 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.d.ts +48 -0
- package/src/kusinta/iot/webrtc/v1/permission_push_pb.js +21 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file kusinta/iot/common/v1/types.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/types.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_kusinta_iot_common_v1_types: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message kusinta.iot.common.v1.ErrorDetail
|
|
15
|
+
*/
|
|
16
|
+
export declare type ErrorDetail = Message<"kusinta.iot.common.v1.ErrorDetail"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string code = 1;
|
|
19
|
+
*/
|
|
20
|
+
code: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string message = 2;
|
|
24
|
+
*/
|
|
25
|
+
message: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: map<string, string> metadata = 3;
|
|
29
|
+
*/
|
|
30
|
+
metadata: { [key: string]: string };
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message kusinta.iot.common.v1.ErrorDetail.
|
|
35
|
+
* Use `create(ErrorDetailSchema)` to create a new message.
|
|
36
|
+
*/
|
|
37
|
+
export declare const ErrorDetailSchema: GenMessage<ErrorDetail>;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum kusinta.iot.common.v1.SpaceType
|
|
41
|
+
*/
|
|
42
|
+
export enum SpaceType {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: SPACE_TYPE_UNSPECIFIED = 0;
|
|
45
|
+
*/
|
|
46
|
+
UNSPECIFIED = 0,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @generated from enum value: SPACE_TYPE_BUILDING = 1;
|
|
50
|
+
*/
|
|
51
|
+
BUILDING = 1,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from enum value: SPACE_TYPE_FLOOR = 2;
|
|
55
|
+
*/
|
|
56
|
+
FLOOR = 2,
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @generated from enum value: SPACE_TYPE_APARTMENT = 3;
|
|
60
|
+
*/
|
|
61
|
+
APARTMENT = 3,
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @generated from enum value: SPACE_TYPE_ROOM = 4;
|
|
65
|
+
*/
|
|
66
|
+
ROOM = 4,
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from enum value: SPACE_TYPE_COMMON_AREA = 5;
|
|
70
|
+
*/
|
|
71
|
+
COMMON_AREA = 5,
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the enum kusinta.iot.common.v1.SpaceType.
|
|
76
|
+
*/
|
|
77
|
+
export declare const SpaceTypeSchema: GenEnum<SpaceType>;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum kusinta.iot.common.v1.DeviceOwnershipType
|
|
81
|
+
*/
|
|
82
|
+
export enum DeviceOwnershipType {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum value: DEVICE_OWNERSHIP_TYPE_UNSPECIFIED = 0;
|
|
85
|
+
*/
|
|
86
|
+
UNSPECIFIED = 0,
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from enum value: DEVICE_OWNERSHIP_TYPE_COMPANY = 1;
|
|
90
|
+
*/
|
|
91
|
+
COMPANY = 1,
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: DEVICE_OWNERSHIP_TYPE_RESIDENT = 2;
|
|
95
|
+
*/
|
|
96
|
+
RESIDENT = 2,
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the enum kusinta.iot.common.v1.DeviceOwnershipType.
|
|
101
|
+
*/
|
|
102
|
+
export declare const DeviceOwnershipTypeSchema: GenEnum<DeviceOwnershipType>;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from enum kusinta.iot.common.v1.DeviceLifecycleState
|
|
106
|
+
*/
|
|
107
|
+
export enum DeviceLifecycleState {
|
|
108
|
+
/**
|
|
109
|
+
* @generated from enum value: DEVICE_LIFECYCLE_STATE_UNSPECIFIED = 0;
|
|
110
|
+
*/
|
|
111
|
+
UNSPECIFIED = 0,
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum value: DEVICE_LIFECYCLE_STATE_PENDING_CLAIM = 1;
|
|
115
|
+
*/
|
|
116
|
+
PENDING_CLAIM = 1,
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @generated from enum value: DEVICE_LIFECYCLE_STATE_OWNED = 2;
|
|
120
|
+
*/
|
|
121
|
+
OWNED = 2,
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from enum value: DEVICE_LIFECYCLE_STATE_PENDING_TRANSFER = 3;
|
|
125
|
+
*/
|
|
126
|
+
PENDING_TRANSFER = 3,
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @generated from enum value: DEVICE_LIFECYCLE_STATE_BUILDING_POOL = 4;
|
|
130
|
+
*/
|
|
131
|
+
BUILDING_POOL = 4,
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Describes the enum kusinta.iot.common.v1.DeviceLifecycleState.
|
|
136
|
+
*/
|
|
137
|
+
export declare const DeviceLifecycleStateSchema: GenEnum<DeviceLifecycleState>;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @generated from enum kusinta.iot.common.v1.ConnectorTransport
|
|
141
|
+
*/
|
|
142
|
+
export enum ConnectorTransport {
|
|
143
|
+
/**
|
|
144
|
+
* @generated from enum value: CONNECTOR_TRANSPORT_UNSPECIFIED = 0;
|
|
145
|
+
*/
|
|
146
|
+
UNSPECIFIED = 0,
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @generated from enum value: CONNECTOR_TRANSPORT_UNIX_SOCKET = 1;
|
|
150
|
+
*/
|
|
151
|
+
UNIX_SOCKET = 1,
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from enum value: CONNECTOR_TRANSPORT_MTLS_TCP = 2;
|
|
155
|
+
*/
|
|
156
|
+
MTLS_TCP = 2,
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Describes the enum kusinta.iot.common.v1.ConnectorTransport.
|
|
161
|
+
*/
|
|
162
|
+
export declare const ConnectorTransportSchema: GenEnum<ConnectorTransport>;
|
|
163
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file kusinta/iot/common/v1/types.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/types.proto.
|
|
9
|
+
*/
|
|
10
|
+
export const file_kusinta_iot_common_v1_types = /*@__PURE__*/
|
|
11
|
+
fileDesc("CiFrdXNpbnRhL2lvdC9jb21tb24vdjEvdHlwZXMucHJvdG8SFWt1c2ludGEuaW90LmNvbW1vbi52MSKhAQoLRXJyb3JEZXRhaWwSDAoEY29kZRgBIAEoCRIPCgdtZXNzYWdlGAIgASgJEkIKCG1ldGFkYXRhGAMgAygLMjAua3VzaW50YS5pb3QuY29tbW9uLnYxLkVycm9yRGV0YWlsLk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBKqEBCglTcGFjZVR5cGUSGgoWU1BBQ0VfVFlQRV9VTlNQRUNJRklFRBAAEhcKE1NQQUNFX1RZUEVfQlVJTERJTkcQARIUChBTUEFDRV9UWVBFX0ZMT09SEAISGAoUU1BBQ0VfVFlQRV9BUEFSVE1FTlQQAxITCg9TUEFDRV9UWVBFX1JPT00QBBIaChZTUEFDRV9UWVBFX0NPTU1PTl9BUkVBEAUqgwEKE0RldmljZU93bmVyc2hpcFR5cGUSJQohREVWSUNFX09XTkVSU0hJUF9UWVBFX1VOU1BFQ0lGSUVEEAASIQodREVWSUNFX09XTkVSU0hJUF9UWVBFX0NPTVBBTlkQARIiCh5ERVZJQ0VfT1dORVJTSElQX1RZUEVfUkVTSURFTlQQAirhAQoURGV2aWNlTGlmZWN5Y2xlU3RhdGUSJgoiREVWSUNFX0xJRkVDWUNMRV9TVEFURV9VTlNQRUNJRklFRBAAEigKJERFVklDRV9MSUZFQ1lDTEVfU1RBVEVfUEVORElOR19DTEFJTRABEiAKHERFVklDRV9MSUZFQ1lDTEVfU1RBVEVfT1dORUQQAhIrCidERVZJQ0VfTElGRUNZQ0xFX1NUQVRFX1BFTkRJTkdfVFJBTlNGRVIQAxIoCiRERVZJQ0VfTElGRUNZQ0xFX1NUQVRFX0JVSUxESU5HX1BPT0wQBCqAAQoSQ29ubmVjdG9yVHJhbnNwb3J0EiMKH0NPTk5FQ1RPUl9UUkFOU1BPUlRfVU5TUEVDSUZJRUQQABIjCh9DT05ORUNUT1JfVFJBTlNQT1JUX1VOSVhfU09DS0VUEAESIAocQ09OTkVDVE9SX1RSQU5TUE9SVF9NVExTX1RDUBACQgJIAWIGcHJvdG8z");
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message kusinta.iot.common.v1.ErrorDetail.
|
|
15
|
+
* Use `create(ErrorDetailSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
export const ErrorDetailSchema = /*@__PURE__*/
|
|
18
|
+
messageDesc(file_kusinta_iot_common_v1_types, 0);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the enum kusinta.iot.common.v1.SpaceType.
|
|
22
|
+
*/
|
|
23
|
+
export const SpaceTypeSchema = /*@__PURE__*/
|
|
24
|
+
enumDesc(file_kusinta_iot_common_v1_types, 0);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum kusinta.iot.common.v1.SpaceType
|
|
28
|
+
*/
|
|
29
|
+
export const SpaceType = /*@__PURE__*/
|
|
30
|
+
tsEnum(SpaceTypeSchema);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Describes the enum kusinta.iot.common.v1.DeviceOwnershipType.
|
|
34
|
+
*/
|
|
35
|
+
export const DeviceOwnershipTypeSchema = /*@__PURE__*/
|
|
36
|
+
enumDesc(file_kusinta_iot_common_v1_types, 1);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from enum kusinta.iot.common.v1.DeviceOwnershipType
|
|
40
|
+
*/
|
|
41
|
+
export const DeviceOwnershipType = /*@__PURE__*/
|
|
42
|
+
tsEnum(DeviceOwnershipTypeSchema);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the enum kusinta.iot.common.v1.DeviceLifecycleState.
|
|
46
|
+
*/
|
|
47
|
+
export const DeviceLifecycleStateSchema = /*@__PURE__*/
|
|
48
|
+
enumDesc(file_kusinta_iot_common_v1_types, 2);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum kusinta.iot.common.v1.DeviceLifecycleState
|
|
52
|
+
*/
|
|
53
|
+
export const DeviceLifecycleState = /*@__PURE__*/
|
|
54
|
+
tsEnum(DeviceLifecycleStateSchema);
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the enum kusinta.iot.common.v1.ConnectorTransport.
|
|
58
|
+
*/
|
|
59
|
+
export const ConnectorTransportSchema = /*@__PURE__*/
|
|
60
|
+
enumDesc(file_kusinta_iot_common_v1_types, 3);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from enum kusinta.iot.common.v1.ConnectorTransport
|
|
64
|
+
*/
|
|
65
|
+
export const ConnectorTransport = /*@__PURE__*/
|
|
66
|
+
tsEnum(ConnectorTransportSchema);
|
|
67
|
+
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file kusinta/iot/connector/v1/connector.proto (package kusinta.iot.connector.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 { ConnectorId, DeviceId, GatewayId } from "../../identity/v1/identity_pb";
|
|
8
|
+
import type { ConnectorTransport } from "../../common/v1/types_pb";
|
|
9
|
+
import type { DeviceDescriptor } from "../../device/v1/descriptor_pb";
|
|
10
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import type { PropertyUpdateBatch } from "../../device/v1/property_update_pb";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
15
|
+
*/
|
|
16
|
+
export declare const file_kusinta_iot_connector_v1_connector: GenFile;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message kusinta.iot.connector.v1.ConnectorInfo
|
|
20
|
+
*/
|
|
21
|
+
export declare type ConnectorInfo = Message<"kusinta.iot.connector.v1.ConnectorInfo"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: kusinta.iot.identity.v1.ConnectorId connector_id = 1;
|
|
24
|
+
*/
|
|
25
|
+
connectorId?: ConnectorId | undefined;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string display_name = 2;
|
|
29
|
+
*/
|
|
30
|
+
displayName: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string version = 3;
|
|
34
|
+
*/
|
|
35
|
+
version: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: kusinta.iot.common.v1.ConnectorTransport transport = 4;
|
|
39
|
+
*/
|
|
40
|
+
transport: ConnectorTransport;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* unix socket path or host:port
|
|
44
|
+
*
|
|
45
|
+
* @generated from field: string endpoint = 5;
|
|
46
|
+
*/
|
|
47
|
+
endpoint: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: repeated uint32 supported_device_type_ids = 6;
|
|
51
|
+
*/
|
|
52
|
+
supportedDeviceTypeIds: number[];
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message kusinta.iot.connector.v1.ConnectorInfo.
|
|
57
|
+
* Use `create(ConnectorInfoSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export declare const ConnectorInfoSchema: GenMessage<ConnectorInfo>;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @generated from message kusinta.iot.connector.v1.ConnectorHandshake
|
|
63
|
+
*/
|
|
64
|
+
export declare type ConnectorHandshake = Message<"kusinta.iot.connector.v1.ConnectorHandshake"> & {
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: kusinta.iot.connector.v1.ConnectorInfo info = 1;
|
|
67
|
+
*/
|
|
68
|
+
info?: ConnectorInfo | undefined;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: repeated kusinta.iot.device.v1.DeviceDescriptor known_devices = 2;
|
|
72
|
+
*/
|
|
73
|
+
knownDevices: DeviceDescriptor[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Describes the message kusinta.iot.connector.v1.ConnectorHandshake.
|
|
78
|
+
* Use `create(ConnectorHandshakeSchema)` to create a new message.
|
|
79
|
+
*/
|
|
80
|
+
export declare const ConnectorHandshakeSchema: GenMessage<ConnectorHandshake>;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message kusinta.iot.connector.v1.HandshakeAck
|
|
84
|
+
*/
|
|
85
|
+
export declare type HandshakeAck = Message<"kusinta.iot.connector.v1.HandshakeAck"> & {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: bool accepted = 1;
|
|
88
|
+
*/
|
|
89
|
+
accepted: boolean;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string reason = 2;
|
|
93
|
+
*/
|
|
94
|
+
reason: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: kusinta.iot.identity.v1.GatewayId gateway_id = 3;
|
|
98
|
+
*/
|
|
99
|
+
gatewayId?: GatewayId | undefined;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message kusinta.iot.connector.v1.HandshakeAck.
|
|
104
|
+
* Use `create(HandshakeAckSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export declare const HandshakeAckSchema: GenMessage<HandshakeAck>;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @generated from message kusinta.iot.connector.v1.DeviceAnnouncement
|
|
110
|
+
*/
|
|
111
|
+
export declare type DeviceAnnouncement = Message<"kusinta.iot.connector.v1.DeviceAnnouncement"> & {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: kusinta.iot.device.v1.DeviceDescriptor descriptor = 1;
|
|
114
|
+
*/
|
|
115
|
+
descriptor?: DeviceDescriptor | undefined;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message kusinta.iot.connector.v1.DeviceAnnouncement.
|
|
120
|
+
* Use `create(DeviceAnnouncementSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export declare const DeviceAnnouncementSchema: GenMessage<DeviceAnnouncement>;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from message kusinta.iot.connector.v1.DeviceRemoval
|
|
126
|
+
*/
|
|
127
|
+
export declare type DeviceRemoval = Message<"kusinta.iot.connector.v1.DeviceRemoval"> & {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 1;
|
|
130
|
+
*/
|
|
131
|
+
deviceId?: DeviceId | undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string reason = 2;
|
|
135
|
+
*/
|
|
136
|
+
reason: string;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message kusinta.iot.connector.v1.DeviceRemoval.
|
|
141
|
+
* Use `create(DeviceRemovalSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export declare const DeviceRemovalSchema: GenMessage<DeviceRemoval>;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from message kusinta.iot.connector.v1.HeartBeat
|
|
147
|
+
*/
|
|
148
|
+
export declare type HeartBeat = Message<"kusinta.iot.connector.v1.HeartBeat"> & {
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message kusinta.iot.connector.v1.HeartBeat.
|
|
153
|
+
* Use `create(HeartBeatSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const HeartBeatSchema: GenMessage<HeartBeat>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message kusinta.iot.connector.v1.SubscribeDevice
|
|
159
|
+
*/
|
|
160
|
+
export declare type SubscribeDevice = Message<"kusinta.iot.connector.v1.SubscribeDevice"> & {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 1;
|
|
163
|
+
*/
|
|
164
|
+
deviceId?: DeviceId | undefined;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Describes the message kusinta.iot.connector.v1.SubscribeDevice.
|
|
169
|
+
* Use `create(SubscribeDeviceSchema)` to create a new message.
|
|
170
|
+
*/
|
|
171
|
+
export declare const SubscribeDeviceSchema: GenMessage<SubscribeDevice>;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from message kusinta.iot.connector.v1.UnsubscribeDevice
|
|
175
|
+
*/
|
|
176
|
+
export declare type UnsubscribeDevice = Message<"kusinta.iot.connector.v1.UnsubscribeDevice"> & {
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: kusinta.iot.identity.v1.DeviceId device_id = 1;
|
|
179
|
+
*/
|
|
180
|
+
deviceId?: DeviceId | undefined;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Describes the message kusinta.iot.connector.v1.UnsubscribeDevice.
|
|
185
|
+
* Use `create(UnsubscribeDeviceSchema)` to create a new message.
|
|
186
|
+
*/
|
|
187
|
+
export declare const UnsubscribeDeviceSchema: GenMessage<UnsubscribeDevice>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from message kusinta.iot.connector.v1.GatewayError
|
|
191
|
+
*/
|
|
192
|
+
export declare type GatewayError = Message<"kusinta.iot.connector.v1.GatewayError"> & {
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: string code = 1;
|
|
195
|
+
*/
|
|
196
|
+
code: string;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string message = 2;
|
|
200
|
+
*/
|
|
201
|
+
message: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* non-empty if the error is in response to a command
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string command_id = 3;
|
|
207
|
+
*/
|
|
208
|
+
commandId: string;
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Describes the message kusinta.iot.connector.v1.GatewayError.
|
|
213
|
+
* Use `create(GatewayErrorSchema)` to create a new message.
|
|
214
|
+
*/
|
|
215
|
+
export declare const GatewayErrorSchema: GenMessage<GatewayError>;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* @generated from message kusinta.iot.connector.v1.CommandResult
|
|
219
|
+
*/
|
|
220
|
+
export declare type CommandResult = Message<"kusinta.iot.connector.v1.CommandResult"> & {
|
|
221
|
+
/**
|
|
222
|
+
* @generated from field: string command_id = 1;
|
|
223
|
+
*/
|
|
224
|
+
commandId: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* @generated from field: bool success = 2;
|
|
228
|
+
*/
|
|
229
|
+
success: boolean;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: kusinta.iot.connector.v1.GatewayError error = 3;
|
|
233
|
+
*/
|
|
234
|
+
error?: GatewayError | undefined;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 4;
|
|
238
|
+
*/
|
|
239
|
+
completedAt?: Timestamp | undefined;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Describes the message kusinta.iot.connector.v1.CommandResult.
|
|
244
|
+
* Use `create(CommandResultSchema)` to create a new message.
|
|
245
|
+
*/
|
|
246
|
+
export declare const CommandResultSchema: GenMessage<CommandResult>;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message kusinta.iot.connector.v1.ConnectRequest
|
|
250
|
+
*/
|
|
251
|
+
export declare type ConnectRequest = Message<"kusinta.iot.connector.v1.ConnectRequest"> & {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: string message_id = 1;
|
|
254
|
+
*/
|
|
255
|
+
messageId: string;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: google.protobuf.Timestamp sent_at = 2;
|
|
259
|
+
*/
|
|
260
|
+
sentAt?: Timestamp | undefined;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from oneof kusinta.iot.connector.v1.ConnectRequest.payload
|
|
264
|
+
*/
|
|
265
|
+
payload: {
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: kusinta.iot.connector.v1.ConnectorHandshake handshake = 3;
|
|
268
|
+
*/
|
|
269
|
+
value: ConnectorHandshake;
|
|
270
|
+
case: "handshake";
|
|
271
|
+
} | {
|
|
272
|
+
/**
|
|
273
|
+
* @generated from field: kusinta.iot.device.v1.PropertyUpdateBatch property_update = 4;
|
|
274
|
+
*/
|
|
275
|
+
value: PropertyUpdateBatch;
|
|
276
|
+
case: "propertyUpdate";
|
|
277
|
+
} | {
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: kusinta.iot.connector.v1.DeviceAnnouncement device_announced = 5;
|
|
280
|
+
*/
|
|
281
|
+
value: DeviceAnnouncement;
|
|
282
|
+
case: "deviceAnnounced";
|
|
283
|
+
} | {
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: kusinta.iot.connector.v1.DeviceRemoval device_removed = 6;
|
|
286
|
+
*/
|
|
287
|
+
value: DeviceRemoval;
|
|
288
|
+
case: "deviceRemoved";
|
|
289
|
+
} | {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: kusinta.iot.connector.v1.CommandResult command_result = 7;
|
|
292
|
+
*/
|
|
293
|
+
value: CommandResult;
|
|
294
|
+
case: "commandResult";
|
|
295
|
+
} | {
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: kusinta.iot.connector.v1.HeartBeat heartbeat = 8;
|
|
298
|
+
*/
|
|
299
|
+
value: HeartBeat;
|
|
300
|
+
case: "heartbeat";
|
|
301
|
+
} | { case: undefined; value?: undefined };
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Describes the message kusinta.iot.connector.v1.ConnectRequest.
|
|
306
|
+
* Use `create(ConnectRequestSchema)` to create a new message.
|
|
307
|
+
*/
|
|
308
|
+
export declare const ConnectRequestSchema: GenMessage<ConnectRequest>;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* @generated from message kusinta.iot.connector.v1.ConnectResponse
|
|
312
|
+
*/
|
|
313
|
+
export declare type ConnectResponse = Message<"kusinta.iot.connector.v1.ConnectResponse"> & {
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: string message_id = 1;
|
|
316
|
+
*/
|
|
317
|
+
messageId: string;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: google.protobuf.Timestamp sent_at = 2;
|
|
321
|
+
*/
|
|
322
|
+
sentAt?: Timestamp | undefined;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from oneof kusinta.iot.connector.v1.ConnectResponse.payload
|
|
326
|
+
*/
|
|
327
|
+
payload: {
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: kusinta.iot.connector.v1.HandshakeAck handshake_ack = 3;
|
|
330
|
+
*/
|
|
331
|
+
value: HandshakeAck;
|
|
332
|
+
case: "handshakeAck";
|
|
333
|
+
} | {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: kusinta.iot.connector.v1.SubscribeDevice subscribe = 5;
|
|
336
|
+
*/
|
|
337
|
+
value: SubscribeDevice;
|
|
338
|
+
case: "subscribe";
|
|
339
|
+
} | {
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: kusinta.iot.connector.v1.UnsubscribeDevice unsubscribe = 6;
|
|
342
|
+
*/
|
|
343
|
+
value: UnsubscribeDevice;
|
|
344
|
+
case: "unsubscribe";
|
|
345
|
+
} | {
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: kusinta.iot.connector.v1.GatewayError error = 7;
|
|
348
|
+
*/
|
|
349
|
+
value: GatewayError;
|
|
350
|
+
case: "error";
|
|
351
|
+
} | { case: undefined; value?: undefined };
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Describes the message kusinta.iot.connector.v1.ConnectResponse.
|
|
356
|
+
* Use `create(ConnectResponseSchema)` to create a new message.
|
|
357
|
+
*/
|
|
358
|
+
export declare const ConnectResponseSchema: GenMessage<ConnectResponse>;
|
|
359
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file kusinta/iot/connector/v1/connector.proto (package kusinta.iot.connector.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { fileDesc, messageDesc } 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";
|
|
8
|
+
import { file_kusinta_iot_identity_v1_identity } from "../../identity/v1/identity_pb";
|
|
9
|
+
import { file_kusinta_iot_device_v1_descriptor } from "../../device/v1/descriptor_pb";
|
|
10
|
+
import { file_kusinta_iot_device_v1_property_update } from "../../device/v1/property_update_pb";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file kusinta/iot/connector/v1/connector.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_kusinta_iot_connector_v1_connector = /*@__PURE__*/
|
|
16
|
+
fileDesc("CihrdXNpbnRhL2lvdC9jb25uZWN0b3IvdjEvY29ubmVjdG9yLnByb3RvEhhrdXNpbnRhLmlvdC5jb25uZWN0b3IudjEi5QEKDUNvbm5lY3RvckluZm8SOgoMY29ubmVjdG9yX2lkGAEgASgLMiQua3VzaW50YS5pb3QuaWRlbnRpdHkudjEuQ29ubmVjdG9ySWQSFAoMZGlzcGxheV9uYW1lGAIgASgJEg8KB3ZlcnNpb24YAyABKAkSPAoJdHJhbnNwb3J0GAQgASgOMikua3VzaW50YS5pb3QuY29tbW9uLnYxLkNvbm5lY3RvclRyYW5zcG9ydBIQCghlbmRwb2ludBgFIAEoCRIhChlzdXBwb3J0ZWRfZGV2aWNlX3R5cGVfaWRzGAYgAygNIosBChJDb25uZWN0b3JIYW5kc2hha2USNQoEaW5mbxgBIAEoCzInLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5Db25uZWN0b3JJbmZvEj4KDWtub3duX2RldmljZXMYAiADKAsyJy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuRGV2aWNlRGVzY3JpcHRvciJoCgxIYW5kc2hha2VBY2sSEAoIYWNjZXB0ZWQYASABKAgSDgoGcmVhc29uGAIgASgJEjYKCmdhdGV3YXlfaWQYAyABKAsyIi5rdXNpbnRhLmlvdC5pZGVudGl0eS52MS5HYXRld2F5SWQiUQoSRGV2aWNlQW5ub3VuY2VtZW50EjsKCmRlc2NyaXB0b3IYASABKAsyJy5rdXNpbnRhLmlvdC5kZXZpY2UudjEuRGV2aWNlRGVzY3JpcHRvciJVCg1EZXZpY2VSZW1vdmFsEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkEg4KBnJlYXNvbhgCIAEoCSILCglIZWFydEJlYXQiRwoPU3Vic2NyaWJlRGV2aWNlEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkIkkKEVVuc3Vic2NyaWJlRGV2aWNlEjQKCWRldmljZV9pZBgBIAEoCzIhLmt1c2ludGEuaW90LmlkZW50aXR5LnYxLkRldmljZUlkIkEKDEdhdGV3YXlFcnJvchIMCgRjb2RlGAEgASgJEg8KB21lc3NhZ2UYAiABKAkSEgoKY29tbWFuZF9pZBgDIAEoCSKdAQoNQ29tbWFuZFJlc3VsdBISCgpjb21tYW5kX2lkGAEgASgJEg8KB3N1Y2Nlc3MYAiABKAgSNQoFZXJyb3IYAyABKAsyJi5rdXNpbnRhLmlvdC5jb25uZWN0b3IudjEuR2F0ZXdheUVycm9yEjAKDGNvbXBsZXRlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAi8AMKDkNvbm5lY3RSZXF1ZXN0EhIKCm1lc3NhZ2VfaWQYASABKAkSKwoHc2VudF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASQQoJaGFuZHNoYWtlGAMgASgLMiwua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkNvbm5lY3RvckhhbmRzaGFrZUgAEkUKD3Byb3BlcnR5X3VwZGF0ZRgEIAEoCzIqLmt1c2ludGEuaW90LmRldmljZS52MS5Qcm9wZXJ0eVVwZGF0ZUJhdGNoSAASSAoQZGV2aWNlX2Fubm91bmNlZBgFIAEoCzIsLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5EZXZpY2VBbm5vdW5jZW1lbnRIABJBCg5kZXZpY2VfcmVtb3ZlZBgGIAEoCzInLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5EZXZpY2VSZW1vdmFsSAASQQoOY29tbWFuZF9yZXN1bHQYByABKAsyJy5rdXNpbnRhLmlvdC5jb25uZWN0b3IudjEuQ29tbWFuZFJlc3VsdEgAEjgKCWhlYXJ0YmVhdBgIIAEoCzIjLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5IZWFydEJlYXRIAEIJCgdwYXlsb2FkItsCCg9Db25uZWN0UmVzcG9uc2USEgoKbWVzc2FnZV9pZBgBIAEoCRIrCgdzZW50X2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI/Cg1oYW5kc2hha2VfYWNrGAMgASgLMiYua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkhhbmRzaGFrZUFja0gAEj4KCXN1YnNjcmliZRgFIAEoCzIpLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5TdWJzY3JpYmVEZXZpY2VIABJCCgt1bnN1YnNjcmliZRgGIAEoCzIrLmt1c2ludGEuaW90LmNvbm5lY3Rvci52MS5VbnN1YnNjcmliZURldmljZUgAEjcKBWVycm9yGAcgASgLMiYua3VzaW50YS5pb3QuY29ubmVjdG9yLnYxLkdhdGV3YXlFcnJvckgAQgkKB3BheWxvYWRCAkgBYgZwcm90bzM", [file_google_protobuf_timestamp, file_kusinta_iot_common_v1_types, file_kusinta_iot_identity_v1_identity, file_kusinta_iot_device_v1_descriptor, file_kusinta_iot_device_v1_property_update]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Describes the message kusinta.iot.connector.v1.ConnectorInfo.
|
|
20
|
+
* Use `create(ConnectorInfoSchema)` to create a new message.
|
|
21
|
+
*/
|
|
22
|
+
export const ConnectorInfoSchema = /*@__PURE__*/
|
|
23
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 0);
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message kusinta.iot.connector.v1.ConnectorHandshake.
|
|
27
|
+
* Use `create(ConnectorHandshakeSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export const ConnectorHandshakeSchema = /*@__PURE__*/
|
|
30
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 1);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message kusinta.iot.connector.v1.HandshakeAck.
|
|
34
|
+
* Use `create(HandshakeAckSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const HandshakeAckSchema = /*@__PURE__*/
|
|
37
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 2);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message kusinta.iot.connector.v1.DeviceAnnouncement.
|
|
41
|
+
* Use `create(DeviceAnnouncementSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const DeviceAnnouncementSchema = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 3);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message kusinta.iot.connector.v1.DeviceRemoval.
|
|
48
|
+
* Use `create(DeviceRemovalSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const DeviceRemovalSchema = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 4);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message kusinta.iot.connector.v1.HeartBeat.
|
|
55
|
+
* Use `create(HeartBeatSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const HeartBeatSchema = /*@__PURE__*/
|
|
58
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 5);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message kusinta.iot.connector.v1.SubscribeDevice.
|
|
62
|
+
* Use `create(SubscribeDeviceSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const SubscribeDeviceSchema = /*@__PURE__*/
|
|
65
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 6);
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message kusinta.iot.connector.v1.UnsubscribeDevice.
|
|
69
|
+
* Use `create(UnsubscribeDeviceSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export const UnsubscribeDeviceSchema = /*@__PURE__*/
|
|
72
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 7);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message kusinta.iot.connector.v1.GatewayError.
|
|
76
|
+
* Use `create(GatewayErrorSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const GatewayErrorSchema = /*@__PURE__*/
|
|
79
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 8);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message kusinta.iot.connector.v1.CommandResult.
|
|
83
|
+
* Use `create(CommandResultSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const CommandResultSchema = /*@__PURE__*/
|
|
86
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 9);
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message kusinta.iot.connector.v1.ConnectRequest.
|
|
90
|
+
* Use `create(ConnectRequestSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export const ConnectRequestSchema = /*@__PURE__*/
|
|
93
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 10);
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message kusinta.iot.connector.v1.ConnectResponse.
|
|
97
|
+
* Use `create(ConnectResponseSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export const ConnectResponseSchema = /*@__PURE__*/
|
|
100
|
+
messageDesc(file_kusinta_iot_connector_v1_connector, 11);
|
|
101
|
+
|