@aceplus/smartace-api 3.6.0-alpha.8 → 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.
@@ -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 spic_cabinet_pb from "./spic.cabinet_pb";
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 CabinetLocationMeta extends jspb.Message {
158
- hasCabinetLocation(): boolean;
159
- clearCabinetLocation(): void;
160
- getCabinetLocation(): spic_cabinet_pb.CabinetWithLocation | undefined;
161
- setCabinetLocation(value?: spic_cabinet_pb.CabinetWithLocation): void;
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): CabinetLocationMeta.AsObject;
170
- static toObject(includeInstance: boolean, msg: CabinetLocationMeta): CabinetLocationMeta.AsObject;
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: CabinetLocationMeta, writer: jspb.BinaryWriter): void;
174
- static deserializeBinary(bytes: Uint8Array): CabinetLocationMeta;
175
- static deserializeBinaryFromReader(message: CabinetLocationMeta, reader: jspb.BinaryReader): CabinetLocationMeta;
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 CabinetLocationMeta {
178
+ export namespace AssetLocationMeta {
179
179
  export type AsObject = {
180
- cabinetLocation?: spic_cabinet_pb.CabinetWithLocation.AsObject,
180
+ assetLocation?: spic_asset_pb.AssetWithLocation.AsObject,
181
181
  temperatureConfiguration?: TemperatureConfigurationProto.AsObject,
182
182
  }
183
183
  }
@@ -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 spic_cabinet_pb = require('./spic.cabinet_pb.js');
29
- goog.object.extend(proto, spic_cabinet_pb);
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.CabinetLocationMeta', null, global);
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.CabinetLocationMeta = function(opt_data) {
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.CabinetLocationMeta, jspb.Message);
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.CabinetLocationMeta.displayName = 'proto.Meta.CabinetLocationMeta';
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.CabinetLocationMeta.prototype.toObject = function(opt_includeInstance) {
1197
- return proto.Meta.CabinetLocationMeta.toObject(opt_includeInstance, this);
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.CabinetLocationMeta} msg The msg instance to transform.
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.CabinetLocationMeta.toObject = function(includeInstance, msg) {
1210
+ proto.Meta.AssetLocationMeta.toObject = function(includeInstance, msg) {
1211
1211
  var f, obj = {
1212
- cabinetLocation: (f = msg.getCabinetLocation()) && spic_cabinet_pb.CabinetWithLocation.toObject(includeInstance, f),
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.CabinetLocationMeta}
1227
+ * @return {!proto.Meta.AssetLocationMeta}
1228
1228
  */
1229
- proto.Meta.CabinetLocationMeta.deserializeBinary = function(bytes) {
1229
+ proto.Meta.AssetLocationMeta.deserializeBinary = function(bytes) {
1230
1230
  var reader = new jspb.BinaryReader(bytes);
1231
- var msg = new proto.Meta.CabinetLocationMeta;
1232
- return proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader(msg, reader);
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.CabinetLocationMeta} msg The message object to deserialize into.
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.CabinetLocationMeta}
1241
+ * @return {!proto.Meta.AssetLocationMeta}
1242
1242
  */
1243
- proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader = function(msg, reader) {
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 spic_cabinet_pb.CabinetWithLocation;
1252
- reader.readMessage(value,spic_cabinet_pb.CabinetWithLocation.deserializeBinaryFromReader);
1253
- msg.setCabinetLocation(value);
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.CabinetLocationMeta.prototype.serializeBinary = function() {
1273
+ proto.Meta.AssetLocationMeta.prototype.serializeBinary = function() {
1274
1274
  var writer = new jspb.BinaryWriter();
1275
- proto.Meta.CabinetLocationMeta.serializeBinaryToWriter(this, writer);
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.CabinetLocationMeta} message
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.CabinetLocationMeta.serializeBinaryToWriter = function(message, writer) {
1287
+ proto.Meta.AssetLocationMeta.serializeBinaryToWriter = function(message, writer) {
1288
1288
  var f = undefined;
1289
- f = message.getCabinetLocation();
1289
+ f = message.getAssetLocation();
1290
1290
  if (f != null) {
1291
1291
  writer.writeMessage(
1292
1292
  1,
1293
1293
  f,
1294
- spic_cabinet_pb.CabinetWithLocation.serializeBinaryToWriter
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.CabinetWithLocation cabinet_location = 1;
1310
- * @return {?proto.Spic.CabinetWithLocation}
1309
+ * optional Spic.AssetWithLocation asset_location = 1;
1310
+ * @return {?proto.Spic.AssetWithLocation}
1311
1311
  */
1312
- proto.Meta.CabinetLocationMeta.prototype.getCabinetLocation = function() {
1313
- return /** @type{?proto.Spic.CabinetWithLocation} */ (
1314
- jspb.Message.getWrapperField(this, spic_cabinet_pb.CabinetWithLocation, 1));
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.CabinetWithLocation|undefined} value
1320
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1319
+ * @param {?proto.Spic.AssetWithLocation|undefined} value
1320
+ * @return {!proto.Meta.AssetLocationMeta} returns this
1321
1321
  */
1322
- proto.Meta.CabinetLocationMeta.prototype.setCabinetLocation = function(value) {
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.CabinetLocationMeta} returns this
1329
+ * @return {!proto.Meta.AssetLocationMeta} returns this
1330
1330
  */
1331
- proto.Meta.CabinetLocationMeta.prototype.clearCabinetLocation = function() {
1332
- return this.setCabinetLocation(undefined);
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.CabinetLocationMeta.prototype.hasCabinetLocation = function() {
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.CabinetLocationMeta.prototype.getTemperatureConfiguration = function() {
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.CabinetLocationMeta} returns this
1357
+ * @return {!proto.Meta.AssetLocationMeta} returns this
1358
1358
  */
1359
- proto.Meta.CabinetLocationMeta.prototype.setTemperatureConfiguration = function(value) {
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.CabinetLocationMeta} returns this
1366
+ * @return {!proto.Meta.AssetLocationMeta} returns this
1367
1367
  */
1368
- proto.Meta.CabinetLocationMeta.prototype.clearTemperatureConfiguration = function() {
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.CabinetLocationMeta.prototype.hasTemperatureConfiguration = function() {
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 spic_cabinet_pb from "./spic.cabinet_pb";
6
+ import * as spic_asset_pb from "./spic.asset_pb";
7
7
  import {grpc} from "@improbable-eng/grpc-web";
8
8
 
9
- type CabinetMetaGRPCRetrieve = {
9
+ type AssetMetaGRPCRetrieve = {
10
10
  readonly methodName: string;
11
- readonly service: typeof CabinetMetaGRPC;
11
+ readonly service: typeof AssetMetaGRPC;
12
12
  readonly requestStream: false;
13
13
  readonly responseStream: false;
14
- readonly requestType: typeof spic_cabinet_pb.CabinetProto.RetrieveRequest;
15
- readonly responseType: typeof meta_spic_config_pb.CabinetLocationMeta;
14
+ readonly requestType: typeof spic_asset_pb.AssetProto.RetrieveRequest;
15
+ readonly responseType: typeof meta_spic_config_pb.AssetLocationMeta;
16
16
  };
17
17
 
18
- type CabinetMetaGRPCSetTemperatureConfiguration = {
18
+ type AssetMetaGRPCSetTemperatureConfiguration = {
19
19
  readonly methodName: string;
20
- readonly service: typeof CabinetMetaGRPC;
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 CabinetMetaGRPCCreateTemperatureConfigurationTemplate = {
27
+ type AssetMetaGRPCCreateTemperatureConfigurationTemplate = {
28
28
  readonly methodName: string;
29
- readonly service: typeof CabinetMetaGRPC;
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 CabinetMetaGRPCSearchTemperatureConfigurationTemplate = {
36
+ type AssetMetaGRPCSearchTemperatureConfigurationTemplate = {
37
37
  readonly methodName: string;
38
- readonly service: typeof CabinetMetaGRPC;
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 CabinetMetaGRPC {
45
+ export class AssetMetaGRPC {
46
46
  static readonly serviceName: string;
47
- static readonly Retrieve: CabinetMetaGRPCRetrieve;
48
- static readonly SetTemperatureConfiguration: CabinetMetaGRPCSetTemperatureConfiguration;
49
- static readonly CreateTemperatureConfigurationTemplate: CabinetMetaGRPCCreateTemperatureConfigurationTemplate;
50
- static readonly SearchTemperatureConfigurationTemplate: CabinetMetaGRPCSearchTemperatureConfigurationTemplate;
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 CabinetMetaGRPCClient {
81
+ export class AssetMetaGRPCClient {
82
82
  readonly serviceHost: string;
83
83
 
84
84
  constructor(serviceHost: string, options?: grpc.RpcOptions);
85
85
  retrieve(
86
- requestMessage: spic_cabinet_pb.CabinetProto.RetrieveRequest,
86
+ requestMessage: spic_asset_pb.AssetProto.RetrieveRequest,
87
87
  metadata: grpc.Metadata,
88
- callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.CabinetLocationMeta|null) => void
88
+ callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.AssetLocationMeta|null) => void
89
89
  ): UnaryResponse;
90
90
  retrieve(
91
- requestMessage: spic_cabinet_pb.CabinetProto.RetrieveRequest,
92
- callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.CabinetLocationMeta|null) => void
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 spic_cabinet_pb = require("./spic.cabinet_pb");
6
+ var spic_asset_pb = require("./spic.asset_pb");
7
7
  var grpc = require("@improbable-eng/grpc-web").grpc;
8
8
 
9
- var CabinetMetaGRPC = (function () {
10
- function CabinetMetaGRPC() {}
11
- CabinetMetaGRPC.serviceName = "Meta.CabinetMetaGRPC";
12
- return CabinetMetaGRPC;
9
+ var AssetMetaGRPC = (function () {
10
+ function AssetMetaGRPC() {}
11
+ AssetMetaGRPC.serviceName = "Meta.AssetMetaGRPC";
12
+ return AssetMetaGRPC;
13
13
  }());
14
14
 
15
- CabinetMetaGRPC.Retrieve = {
15
+ AssetMetaGRPC.Retrieve = {
16
16
  methodName: "Retrieve",
17
- service: CabinetMetaGRPC,
17
+ service: AssetMetaGRPC,
18
18
  requestStream: false,
19
19
  responseStream: false,
20
- requestType: spic_cabinet_pb.CabinetProto.RetrieveRequest,
21
- responseType: meta_spic_config_pb.CabinetLocationMeta
20
+ requestType: spic_asset_pb.AssetProto.RetrieveRequest,
21
+ responseType: meta_spic_config_pb.AssetLocationMeta
22
22
  };
23
23
 
24
- CabinetMetaGRPC.SetTemperatureConfiguration = {
24
+ AssetMetaGRPC.SetTemperatureConfiguration = {
25
25
  methodName: "SetTemperatureConfiguration",
26
- service: CabinetMetaGRPC,
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
- CabinetMetaGRPC.CreateTemperatureConfigurationTemplate = {
33
+ AssetMetaGRPC.CreateTemperatureConfigurationTemplate = {
34
34
  methodName: "CreateTemperatureConfigurationTemplate",
35
- service: CabinetMetaGRPC,
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
- CabinetMetaGRPC.SearchTemperatureConfigurationTemplate = {
42
+ AssetMetaGRPC.SearchTemperatureConfigurationTemplate = {
43
43
  methodName: "SearchTemperatureConfigurationTemplate",
44
- service: CabinetMetaGRPC,
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.CabinetMetaGRPC = CabinetMetaGRPC;
51
+ exports.AssetMetaGRPC = AssetMetaGRPC;
52
52
 
53
- function CabinetMetaGRPCClient(serviceHost, options) {
53
+ function AssetMetaGRPCClient(serviceHost, options) {
54
54
  this.serviceHost = serviceHost;
55
55
  this.options = options || {};
56
56
  }
57
57
 
58
- CabinetMetaGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
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(CabinetMetaGRPC.Retrieve, {
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
- CabinetMetaGRPCClient.prototype.setTemperatureConfiguration = function setTemperatureConfiguration(requestMessage, metadata, callback) {
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(CabinetMetaGRPC.SetTemperatureConfiguration, {
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
- CabinetMetaGRPCClient.prototype.createTemperatureConfigurationTemplate = function createTemperatureConfigurationTemplate(requestMessage, metadata, callback) {
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(CabinetMetaGRPC.CreateTemperatureConfigurationTemplate, {
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
- CabinetMetaGRPCClient.prototype.searchTemperatureConfigurationTemplate = function searchTemperatureConfigurationTemplate(requestMessage, metadata, callback) {
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(CabinetMetaGRPC.SearchTemperatureConfigurationTemplate, {
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.CabinetMetaGRPCClient = CabinetMetaGRPCClient;
182
+ exports.AssetMetaGRPCClient = AssetMetaGRPCClient;
183
183
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "3.6.0-alpha.8",
8
+ "version": "3.6.0",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [