@aceplus/smartace-api 3.6.0-alpha.9 → 3.6.0
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/meta.spic_config_pb.d.ts +13 -13
- package/meta.spic_config_pb.js +45 -45
- package/meta.spic_config_pb_service.d.ts +21 -21
- package/meta.spic_config_pb_service.js +26 -26
- package/package.json +1 -1
- package/spic.alarm_pb.d.ts +382 -0
- package/spic.alarm_pb.js +2915 -0
- package/spic.alarm_pb_service.d.ts +101 -0
- package/spic.alarm_pb_service.js +141 -0
- package/spic.asset_pb.d.ts +39 -2
- package/spic.asset_pb.js +270 -4
- package/spic.cabinet_pb.d.ts +7 -3
- package/spic.cabinet_pb.js +38 -8
- package/spic.open_request_pb.d.ts +8 -0
- package/spic.open_request_pb.js +62 -2
package/meta.spic_config_pb.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
6
|
import * as platform_pagination_pb from "./platform.pagination_pb";
|
|
7
|
-
import * as
|
|
7
|
+
import * as spic_asset_pb from "./spic.asset_pb";
|
|
8
8
|
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
9
9
|
|
|
10
10
|
export class TemperatureConfigurationProto extends jspb.Message {
|
|
@@ -154,11 +154,11 @@ export namespace TemperatureConfigurationProto {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
export class
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
157
|
+
export class AssetLocationMeta extends jspb.Message {
|
|
158
|
+
hasAssetLocation(): boolean;
|
|
159
|
+
clearAssetLocation(): void;
|
|
160
|
+
getAssetLocation(): spic_asset_pb.AssetWithLocation | undefined;
|
|
161
|
+
setAssetLocation(value?: spic_asset_pb.AssetWithLocation): void;
|
|
162
162
|
|
|
163
163
|
hasTemperatureConfiguration(): boolean;
|
|
164
164
|
clearTemperatureConfiguration(): void;
|
|
@@ -166,18 +166,18 @@ export class CabinetLocationMeta extends jspb.Message {
|
|
|
166
166
|
setTemperatureConfiguration(value?: TemperatureConfigurationProto): void;
|
|
167
167
|
|
|
168
168
|
serializeBinary(): Uint8Array;
|
|
169
|
-
toObject(includeInstance?: boolean):
|
|
170
|
-
static toObject(includeInstance: boolean, msg:
|
|
169
|
+
toObject(includeInstance?: boolean): AssetLocationMeta.AsObject;
|
|
170
|
+
static toObject(includeInstance: boolean, msg: AssetLocationMeta): AssetLocationMeta.AsObject;
|
|
171
171
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
172
172
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
173
|
-
static serializeBinaryToWriter(message:
|
|
174
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
175
|
-
static deserializeBinaryFromReader(message:
|
|
173
|
+
static serializeBinaryToWriter(message: AssetLocationMeta, writer: jspb.BinaryWriter): void;
|
|
174
|
+
static deserializeBinary(bytes: Uint8Array): AssetLocationMeta;
|
|
175
|
+
static deserializeBinaryFromReader(message: AssetLocationMeta, reader: jspb.BinaryReader): AssetLocationMeta;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
export namespace
|
|
178
|
+
export namespace AssetLocationMeta {
|
|
179
179
|
export type AsObject = {
|
|
180
|
-
|
|
180
|
+
assetLocation?: spic_asset_pb.AssetWithLocation.AsObject,
|
|
181
181
|
temperatureConfiguration?: TemperatureConfigurationProto.AsObject,
|
|
182
182
|
}
|
|
183
183
|
}
|
package/meta.spic_config_pb.js
CHANGED
|
@@ -25,11 +25,11 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
26
26
|
var platform_pagination_pb = require('./platform.pagination_pb.js');
|
|
27
27
|
goog.object.extend(proto, platform_pagination_pb);
|
|
28
|
-
var
|
|
29
|
-
goog.object.extend(proto,
|
|
28
|
+
var spic_asset_pb = require('./spic.asset_pb.js');
|
|
29
|
+
goog.object.extend(proto, spic_asset_pb);
|
|
30
30
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
31
31
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
32
|
-
goog.exportSymbol('proto.Meta.
|
|
32
|
+
goog.exportSymbol('proto.Meta.AssetLocationMeta', null, global);
|
|
33
33
|
goog.exportSymbol('proto.Meta.TemperatureConfigurationProto', null, global);
|
|
34
34
|
goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateReply', null, global);
|
|
@@ -151,16 +151,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
151
151
|
* @extends {jspb.Message}
|
|
152
152
|
* @constructor
|
|
153
153
|
*/
|
|
154
|
-
proto.Meta.
|
|
154
|
+
proto.Meta.AssetLocationMeta = function(opt_data) {
|
|
155
155
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
156
156
|
};
|
|
157
|
-
goog.inherits(proto.Meta.
|
|
157
|
+
goog.inherits(proto.Meta.AssetLocationMeta, jspb.Message);
|
|
158
158
|
if (goog.DEBUG && !COMPILED) {
|
|
159
159
|
/**
|
|
160
160
|
* @public
|
|
161
161
|
* @override
|
|
162
162
|
*/
|
|
163
|
-
proto.Meta.
|
|
163
|
+
proto.Meta.AssetLocationMeta.displayName = 'proto.Meta.AssetLocationMeta';
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
|
|
@@ -1193,8 +1193,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1193
1193
|
* http://goto/soy-param-migration
|
|
1194
1194
|
* @return {!Object}
|
|
1195
1195
|
*/
|
|
1196
|
-
proto.Meta.
|
|
1197
|
-
return proto.Meta.
|
|
1196
|
+
proto.Meta.AssetLocationMeta.prototype.toObject = function(opt_includeInstance) {
|
|
1197
|
+
return proto.Meta.AssetLocationMeta.toObject(opt_includeInstance, this);
|
|
1198
1198
|
};
|
|
1199
1199
|
|
|
1200
1200
|
|
|
@@ -1203,13 +1203,13 @@ proto.Meta.CabinetLocationMeta.prototype.toObject = function(opt_includeInstance
|
|
|
1203
1203
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1204
1204
|
* the JSPB instance for transitional soy proto support:
|
|
1205
1205
|
* http://goto/soy-param-migration
|
|
1206
|
-
* @param {!proto.Meta.
|
|
1206
|
+
* @param {!proto.Meta.AssetLocationMeta} msg The msg instance to transform.
|
|
1207
1207
|
* @return {!Object}
|
|
1208
1208
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1209
1209
|
*/
|
|
1210
|
-
proto.Meta.
|
|
1210
|
+
proto.Meta.AssetLocationMeta.toObject = function(includeInstance, msg) {
|
|
1211
1211
|
var f, obj = {
|
|
1212
|
-
|
|
1212
|
+
assetLocation: (f = msg.getAssetLocation()) && spic_asset_pb.AssetWithLocation.toObject(includeInstance, f),
|
|
1213
1213
|
temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f)
|
|
1214
1214
|
};
|
|
1215
1215
|
|
|
@@ -1224,23 +1224,23 @@ proto.Meta.CabinetLocationMeta.toObject = function(includeInstance, msg) {
|
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Deserializes binary data (in protobuf wire format).
|
|
1226
1226
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1227
|
-
* @return {!proto.Meta.
|
|
1227
|
+
* @return {!proto.Meta.AssetLocationMeta}
|
|
1228
1228
|
*/
|
|
1229
|
-
proto.Meta.
|
|
1229
|
+
proto.Meta.AssetLocationMeta.deserializeBinary = function(bytes) {
|
|
1230
1230
|
var reader = new jspb.BinaryReader(bytes);
|
|
1231
|
-
var msg = new proto.Meta.
|
|
1232
|
-
return proto.Meta.
|
|
1231
|
+
var msg = new proto.Meta.AssetLocationMeta;
|
|
1232
|
+
return proto.Meta.AssetLocationMeta.deserializeBinaryFromReader(msg, reader);
|
|
1233
1233
|
};
|
|
1234
1234
|
|
|
1235
1235
|
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1238
1238
|
* given reader into the given message object.
|
|
1239
|
-
* @param {!proto.Meta.
|
|
1239
|
+
* @param {!proto.Meta.AssetLocationMeta} msg The message object to deserialize into.
|
|
1240
1240
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1241
|
-
* @return {!proto.Meta.
|
|
1241
|
+
* @return {!proto.Meta.AssetLocationMeta}
|
|
1242
1242
|
*/
|
|
1243
|
-
proto.Meta.
|
|
1243
|
+
proto.Meta.AssetLocationMeta.deserializeBinaryFromReader = function(msg, reader) {
|
|
1244
1244
|
while (reader.nextField()) {
|
|
1245
1245
|
if (reader.isEndGroup()) {
|
|
1246
1246
|
break;
|
|
@@ -1248,9 +1248,9 @@ proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader = function(msg, reade
|
|
|
1248
1248
|
var field = reader.getFieldNumber();
|
|
1249
1249
|
switch (field) {
|
|
1250
1250
|
case 1:
|
|
1251
|
-
var value = new
|
|
1252
|
-
reader.readMessage(value,
|
|
1253
|
-
msg.
|
|
1251
|
+
var value = new spic_asset_pb.AssetWithLocation;
|
|
1252
|
+
reader.readMessage(value,spic_asset_pb.AssetWithLocation.deserializeBinaryFromReader);
|
|
1253
|
+
msg.setAssetLocation(value);
|
|
1254
1254
|
break;
|
|
1255
1255
|
case 2:
|
|
1256
1256
|
var value = new proto.Meta.TemperatureConfigurationProto;
|
|
@@ -1270,9 +1270,9 @@ proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader = function(msg, reade
|
|
|
1270
1270
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1271
1271
|
* @return {!Uint8Array}
|
|
1272
1272
|
*/
|
|
1273
|
-
proto.Meta.
|
|
1273
|
+
proto.Meta.AssetLocationMeta.prototype.serializeBinary = function() {
|
|
1274
1274
|
var writer = new jspb.BinaryWriter();
|
|
1275
|
-
proto.Meta.
|
|
1275
|
+
proto.Meta.AssetLocationMeta.serializeBinaryToWriter(this, writer);
|
|
1276
1276
|
return writer.getResultBuffer();
|
|
1277
1277
|
};
|
|
1278
1278
|
|
|
@@ -1280,18 +1280,18 @@ proto.Meta.CabinetLocationMeta.prototype.serializeBinary = function() {
|
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Serializes the given message to binary data (in protobuf wire
|
|
1282
1282
|
* format), writing to the given BinaryWriter.
|
|
1283
|
-
* @param {!proto.Meta.
|
|
1283
|
+
* @param {!proto.Meta.AssetLocationMeta} message
|
|
1284
1284
|
* @param {!jspb.BinaryWriter} writer
|
|
1285
1285
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1286
1286
|
*/
|
|
1287
|
-
proto.Meta.
|
|
1287
|
+
proto.Meta.AssetLocationMeta.serializeBinaryToWriter = function(message, writer) {
|
|
1288
1288
|
var f = undefined;
|
|
1289
|
-
f = message.
|
|
1289
|
+
f = message.getAssetLocation();
|
|
1290
1290
|
if (f != null) {
|
|
1291
1291
|
writer.writeMessage(
|
|
1292
1292
|
1,
|
|
1293
1293
|
f,
|
|
1294
|
-
|
|
1294
|
+
spic_asset_pb.AssetWithLocation.serializeBinaryToWriter
|
|
1295
1295
|
);
|
|
1296
1296
|
}
|
|
1297
1297
|
f = message.getTemperatureConfiguration();
|
|
@@ -1306,30 +1306,30 @@ proto.Meta.CabinetLocationMeta.serializeBinaryToWriter = function(message, write
|
|
|
1306
1306
|
|
|
1307
1307
|
|
|
1308
1308
|
/**
|
|
1309
|
-
* optional Spic.
|
|
1310
|
-
* @return {?proto.Spic.
|
|
1309
|
+
* optional Spic.AssetWithLocation asset_location = 1;
|
|
1310
|
+
* @return {?proto.Spic.AssetWithLocation}
|
|
1311
1311
|
*/
|
|
1312
|
-
proto.Meta.
|
|
1313
|
-
return /** @type{?proto.Spic.
|
|
1314
|
-
jspb.Message.getWrapperField(this,
|
|
1312
|
+
proto.Meta.AssetLocationMeta.prototype.getAssetLocation = function() {
|
|
1313
|
+
return /** @type{?proto.Spic.AssetWithLocation} */ (
|
|
1314
|
+
jspb.Message.getWrapperField(this, spic_asset_pb.AssetWithLocation, 1));
|
|
1315
1315
|
};
|
|
1316
1316
|
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
|
-
* @param {?proto.Spic.
|
|
1320
|
-
* @return {!proto.Meta.
|
|
1319
|
+
* @param {?proto.Spic.AssetWithLocation|undefined} value
|
|
1320
|
+
* @return {!proto.Meta.AssetLocationMeta} returns this
|
|
1321
1321
|
*/
|
|
1322
|
-
proto.Meta.
|
|
1322
|
+
proto.Meta.AssetLocationMeta.prototype.setAssetLocation = function(value) {
|
|
1323
1323
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
1324
1324
|
};
|
|
1325
1325
|
|
|
1326
1326
|
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Clears the message field making it undefined.
|
|
1329
|
-
* @return {!proto.Meta.
|
|
1329
|
+
* @return {!proto.Meta.AssetLocationMeta} returns this
|
|
1330
1330
|
*/
|
|
1331
|
-
proto.Meta.
|
|
1332
|
-
return this.
|
|
1331
|
+
proto.Meta.AssetLocationMeta.prototype.clearAssetLocation = function() {
|
|
1332
|
+
return this.setAssetLocation(undefined);
|
|
1333
1333
|
};
|
|
1334
1334
|
|
|
1335
1335
|
|
|
@@ -1337,7 +1337,7 @@ proto.Meta.CabinetLocationMeta.prototype.clearCabinetLocation = function() {
|
|
|
1337
1337
|
* Returns whether this field is set.
|
|
1338
1338
|
* @return {boolean}
|
|
1339
1339
|
*/
|
|
1340
|
-
proto.Meta.
|
|
1340
|
+
proto.Meta.AssetLocationMeta.prototype.hasAssetLocation = function() {
|
|
1341
1341
|
return jspb.Message.getField(this, 1) != null;
|
|
1342
1342
|
};
|
|
1343
1343
|
|
|
@@ -1346,7 +1346,7 @@ proto.Meta.CabinetLocationMeta.prototype.hasCabinetLocation = function() {
|
|
|
1346
1346
|
* optional TemperatureConfigurationProto temperature_configuration = 2;
|
|
1347
1347
|
* @return {?proto.Meta.TemperatureConfigurationProto}
|
|
1348
1348
|
*/
|
|
1349
|
-
proto.Meta.
|
|
1349
|
+
proto.Meta.AssetLocationMeta.prototype.getTemperatureConfiguration = function() {
|
|
1350
1350
|
return /** @type{?proto.Meta.TemperatureConfigurationProto} */ (
|
|
1351
1351
|
jspb.Message.getWrapperField(this, proto.Meta.TemperatureConfigurationProto, 2));
|
|
1352
1352
|
};
|
|
@@ -1354,18 +1354,18 @@ proto.Meta.CabinetLocationMeta.prototype.getTemperatureConfiguration = function(
|
|
|
1354
1354
|
|
|
1355
1355
|
/**
|
|
1356
1356
|
* @param {?proto.Meta.TemperatureConfigurationProto|undefined} value
|
|
1357
|
-
* @return {!proto.Meta.
|
|
1357
|
+
* @return {!proto.Meta.AssetLocationMeta} returns this
|
|
1358
1358
|
*/
|
|
1359
|
-
proto.Meta.
|
|
1359
|
+
proto.Meta.AssetLocationMeta.prototype.setTemperatureConfiguration = function(value) {
|
|
1360
1360
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
1361
1361
|
};
|
|
1362
1362
|
|
|
1363
1363
|
|
|
1364
1364
|
/**
|
|
1365
1365
|
* Clears the message field making it undefined.
|
|
1366
|
-
* @return {!proto.Meta.
|
|
1366
|
+
* @return {!proto.Meta.AssetLocationMeta} returns this
|
|
1367
1367
|
*/
|
|
1368
|
-
proto.Meta.
|
|
1368
|
+
proto.Meta.AssetLocationMeta.prototype.clearTemperatureConfiguration = function() {
|
|
1369
1369
|
return this.setTemperatureConfiguration(undefined);
|
|
1370
1370
|
};
|
|
1371
1371
|
|
|
@@ -1374,7 +1374,7 @@ proto.Meta.CabinetLocationMeta.prototype.clearTemperatureConfiguration = functio
|
|
|
1374
1374
|
* Returns whether this field is set.
|
|
1375
1375
|
* @return {boolean}
|
|
1376
1376
|
*/
|
|
1377
|
-
proto.Meta.
|
|
1377
|
+
proto.Meta.AssetLocationMeta.prototype.hasTemperatureConfiguration = function() {
|
|
1378
1378
|
return jspb.Message.getField(this, 2) != null;
|
|
1379
1379
|
};
|
|
1380
1380
|
|
|
@@ -3,51 +3,51 @@
|
|
|
3
3
|
|
|
4
4
|
import * as meta_spic_config_pb from "./meta.spic_config_pb";
|
|
5
5
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
|
-
import * as
|
|
6
|
+
import * as spic_asset_pb from "./spic.asset_pb";
|
|
7
7
|
import {grpc} from "@improbable-eng/grpc-web";
|
|
8
8
|
|
|
9
|
-
type
|
|
9
|
+
type AssetMetaGRPCRetrieve = {
|
|
10
10
|
readonly methodName: string;
|
|
11
|
-
readonly service: typeof
|
|
11
|
+
readonly service: typeof AssetMetaGRPC;
|
|
12
12
|
readonly requestStream: false;
|
|
13
13
|
readonly responseStream: false;
|
|
14
|
-
readonly requestType: typeof
|
|
15
|
-
readonly responseType: typeof meta_spic_config_pb.
|
|
14
|
+
readonly requestType: typeof spic_asset_pb.AssetProto.RetrieveRequest;
|
|
15
|
+
readonly responseType: typeof meta_spic_config_pb.AssetLocationMeta;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
type
|
|
18
|
+
type AssetMetaGRPCSetTemperatureConfiguration = {
|
|
19
19
|
readonly methodName: string;
|
|
20
|
-
readonly service: typeof
|
|
20
|
+
readonly service: typeof AssetMetaGRPC;
|
|
21
21
|
readonly requestStream: false;
|
|
22
22
|
readonly responseStream: false;
|
|
23
23
|
readonly requestType: typeof meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest;
|
|
24
24
|
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
type
|
|
27
|
+
type AssetMetaGRPCCreateTemperatureConfigurationTemplate = {
|
|
28
28
|
readonly methodName: string;
|
|
29
|
-
readonly service: typeof
|
|
29
|
+
readonly service: typeof AssetMetaGRPC;
|
|
30
30
|
readonly requestStream: false;
|
|
31
31
|
readonly responseStream: false;
|
|
32
32
|
readonly requestType: typeof meta_spic_config_pb.TemperatureConfigurationProto.CreateTemplateRequest;
|
|
33
33
|
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
type
|
|
36
|
+
type AssetMetaGRPCSearchTemperatureConfigurationTemplate = {
|
|
37
37
|
readonly methodName: string;
|
|
38
|
-
readonly service: typeof
|
|
38
|
+
readonly service: typeof AssetMetaGRPC;
|
|
39
39
|
readonly requestStream: false;
|
|
40
40
|
readonly responseStream: false;
|
|
41
41
|
readonly requestType: typeof meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateRequest;
|
|
42
42
|
readonly responseType: typeof meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateReply;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
export class
|
|
45
|
+
export class AssetMetaGRPC {
|
|
46
46
|
static readonly serviceName: string;
|
|
47
|
-
static readonly Retrieve:
|
|
48
|
-
static readonly SetTemperatureConfiguration:
|
|
49
|
-
static readonly CreateTemperatureConfigurationTemplate:
|
|
50
|
-
static readonly SearchTemperatureConfigurationTemplate:
|
|
47
|
+
static readonly Retrieve: AssetMetaGRPCRetrieve;
|
|
48
|
+
static readonly SetTemperatureConfiguration: AssetMetaGRPCSetTemperatureConfiguration;
|
|
49
|
+
static readonly CreateTemperatureConfigurationTemplate: AssetMetaGRPCCreateTemperatureConfigurationTemplate;
|
|
50
|
+
static readonly SearchTemperatureConfigurationTemplate: AssetMetaGRPCSearchTemperatureConfigurationTemplate;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -78,18 +78,18 @@ interface BidirectionalStream<ReqT, ResT> {
|
|
|
78
78
|
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export class
|
|
81
|
+
export class AssetMetaGRPCClient {
|
|
82
82
|
readonly serviceHost: string;
|
|
83
83
|
|
|
84
84
|
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
85
85
|
retrieve(
|
|
86
|
-
requestMessage:
|
|
86
|
+
requestMessage: spic_asset_pb.AssetProto.RetrieveRequest,
|
|
87
87
|
metadata: grpc.Metadata,
|
|
88
|
-
callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.
|
|
88
|
+
callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.AssetLocationMeta|null) => void
|
|
89
89
|
): UnaryResponse;
|
|
90
90
|
retrieve(
|
|
91
|
-
requestMessage:
|
|
92
|
-
callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.
|
|
91
|
+
requestMessage: spic_asset_pb.AssetProto.RetrieveRequest,
|
|
92
|
+
callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.AssetLocationMeta|null) => void
|
|
93
93
|
): UnaryResponse;
|
|
94
94
|
setTemperatureConfiguration(
|
|
95
95
|
requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest,
|
|
@@ -3,63 +3,63 @@
|
|
|
3
3
|
|
|
4
4
|
var meta_spic_config_pb = require("./meta.spic_config_pb");
|
|
5
5
|
var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
|
|
6
|
-
var
|
|
6
|
+
var spic_asset_pb = require("./spic.asset_pb");
|
|
7
7
|
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
return
|
|
9
|
+
var AssetMetaGRPC = (function () {
|
|
10
|
+
function AssetMetaGRPC() {}
|
|
11
|
+
AssetMetaGRPC.serviceName = "Meta.AssetMetaGRPC";
|
|
12
|
+
return AssetMetaGRPC;
|
|
13
13
|
}());
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
AssetMetaGRPC.Retrieve = {
|
|
16
16
|
methodName: "Retrieve",
|
|
17
|
-
service:
|
|
17
|
+
service: AssetMetaGRPC,
|
|
18
18
|
requestStream: false,
|
|
19
19
|
responseStream: false,
|
|
20
|
-
requestType:
|
|
21
|
-
responseType: meta_spic_config_pb.
|
|
20
|
+
requestType: spic_asset_pb.AssetProto.RetrieveRequest,
|
|
21
|
+
responseType: meta_spic_config_pb.AssetLocationMeta
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
AssetMetaGRPC.SetTemperatureConfiguration = {
|
|
25
25
|
methodName: "SetTemperatureConfiguration",
|
|
26
|
-
service:
|
|
26
|
+
service: AssetMetaGRPC,
|
|
27
27
|
requestStream: false,
|
|
28
28
|
responseStream: false,
|
|
29
29
|
requestType: meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest,
|
|
30
30
|
responseType: google_protobuf_empty_pb.Empty
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
AssetMetaGRPC.CreateTemperatureConfigurationTemplate = {
|
|
34
34
|
methodName: "CreateTemperatureConfigurationTemplate",
|
|
35
|
-
service:
|
|
35
|
+
service: AssetMetaGRPC,
|
|
36
36
|
requestStream: false,
|
|
37
37
|
responseStream: false,
|
|
38
38
|
requestType: meta_spic_config_pb.TemperatureConfigurationProto.CreateTemplateRequest,
|
|
39
39
|
responseType: google_protobuf_empty_pb.Empty
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
AssetMetaGRPC.SearchTemperatureConfigurationTemplate = {
|
|
43
43
|
methodName: "SearchTemperatureConfigurationTemplate",
|
|
44
|
-
service:
|
|
44
|
+
service: AssetMetaGRPC,
|
|
45
45
|
requestStream: false,
|
|
46
46
|
responseStream: false,
|
|
47
47
|
requestType: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateRequest,
|
|
48
48
|
responseType: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateReply
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
exports.
|
|
51
|
+
exports.AssetMetaGRPC = AssetMetaGRPC;
|
|
52
52
|
|
|
53
|
-
function
|
|
53
|
+
function AssetMetaGRPCClient(serviceHost, options) {
|
|
54
54
|
this.serviceHost = serviceHost;
|
|
55
55
|
this.options = options || {};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
AssetMetaGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
|
|
59
59
|
if (arguments.length === 2) {
|
|
60
60
|
callback = arguments[1];
|
|
61
61
|
}
|
|
62
|
-
var client = grpc.unary(
|
|
62
|
+
var client = grpc.unary(AssetMetaGRPC.Retrieve, {
|
|
63
63
|
request: requestMessage,
|
|
64
64
|
host: this.serviceHost,
|
|
65
65
|
metadata: metadata,
|
|
@@ -86,11 +86,11 @@ CabinetMetaGRPCClient.prototype.retrieve = function retrieve(requestMessage, met
|
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
AssetMetaGRPCClient.prototype.setTemperatureConfiguration = function setTemperatureConfiguration(requestMessage, metadata, callback) {
|
|
90
90
|
if (arguments.length === 2) {
|
|
91
91
|
callback = arguments[1];
|
|
92
92
|
}
|
|
93
|
-
var client = grpc.unary(
|
|
93
|
+
var client = grpc.unary(AssetMetaGRPC.SetTemperatureConfiguration, {
|
|
94
94
|
request: requestMessage,
|
|
95
95
|
host: this.serviceHost,
|
|
96
96
|
metadata: metadata,
|
|
@@ -117,11 +117,11 @@ CabinetMetaGRPCClient.prototype.setTemperatureConfiguration = function setTemper
|
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
AssetMetaGRPCClient.prototype.createTemperatureConfigurationTemplate = function createTemperatureConfigurationTemplate(requestMessage, metadata, callback) {
|
|
121
121
|
if (arguments.length === 2) {
|
|
122
122
|
callback = arguments[1];
|
|
123
123
|
}
|
|
124
|
-
var client = grpc.unary(
|
|
124
|
+
var client = grpc.unary(AssetMetaGRPC.CreateTemperatureConfigurationTemplate, {
|
|
125
125
|
request: requestMessage,
|
|
126
126
|
host: this.serviceHost,
|
|
127
127
|
metadata: metadata,
|
|
@@ -148,11 +148,11 @@ CabinetMetaGRPCClient.prototype.createTemperatureConfigurationTemplate = functio
|
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
AssetMetaGRPCClient.prototype.searchTemperatureConfigurationTemplate = function searchTemperatureConfigurationTemplate(requestMessage, metadata, callback) {
|
|
152
152
|
if (arguments.length === 2) {
|
|
153
153
|
callback = arguments[1];
|
|
154
154
|
}
|
|
155
|
-
var client = grpc.unary(
|
|
155
|
+
var client = grpc.unary(AssetMetaGRPC.SearchTemperatureConfigurationTemplate, {
|
|
156
156
|
request: requestMessage,
|
|
157
157
|
host: this.serviceHost,
|
|
158
158
|
metadata: metadata,
|
|
@@ -179,5 +179,5 @@ CabinetMetaGRPCClient.prototype.searchTemperatureConfigurationTemplate = functio
|
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
exports.
|
|
182
|
+
exports.AssetMetaGRPCClient = AssetMetaGRPCClient;
|
|
183
183
|
|