@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,61 +7,6 @@ import * as platform_pagination_pb from "./platform.pagination_pb";
7
7
  import * as spic_cabinet_pb from "./spic.cabinet_pb";
8
8
  import * as google_api_annotations_pb from "./google/api/annotations_pb";
9
9
 
10
- export class SpicTypeProto extends jspb.Message {
11
- serializeBinary(): Uint8Array;
12
- toObject(includeInstance?: boolean): SpicTypeProto.AsObject;
13
- static toObject(includeInstance: boolean, msg: SpicTypeProto): SpicTypeProto.AsObject;
14
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
15
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
16
- static serializeBinaryToWriter(message: SpicTypeProto, writer: jspb.BinaryWriter): void;
17
- static deserializeBinary(bytes: Uint8Array): SpicTypeProto;
18
- static deserializeBinaryFromReader(message: SpicTypeProto, reader: jspb.BinaryReader): SpicTypeProto;
19
- }
20
-
21
- export namespace SpicTypeProto {
22
- export type AsObject = {
23
- }
24
-
25
- export class SetRequest extends jspb.Message {
26
- getSpicType(): SpicTypeMap[keyof SpicTypeMap];
27
- setSpicType(value: SpicTypeMap[keyof SpicTypeMap]): void;
28
-
29
- hasSpicUid(): boolean;
30
- clearSpicUid(): void;
31
- getSpicUid(): string;
32
- setSpicUid(value: string): void;
33
-
34
- hasGroupId(): boolean;
35
- clearGroupId(): void;
36
- getGroupId(): string;
37
- setGroupId(value: string): void;
38
-
39
- getTargetCase(): SetRequest.TargetCase;
40
- serializeBinary(): Uint8Array;
41
- toObject(includeInstance?: boolean): SetRequest.AsObject;
42
- static toObject(includeInstance: boolean, msg: SetRequest): SetRequest.AsObject;
43
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
44
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
45
- static serializeBinaryToWriter(message: SetRequest, writer: jspb.BinaryWriter): void;
46
- static deserializeBinary(bytes: Uint8Array): SetRequest;
47
- static deserializeBinaryFromReader(message: SetRequest, reader: jspb.BinaryReader): SetRequest;
48
- }
49
-
50
- export namespace SetRequest {
51
- export type AsObject = {
52
- spicType: SpicTypeMap[keyof SpicTypeMap],
53
- spicUid: string,
54
- groupId: string,
55
- }
56
-
57
- export enum TargetCase {
58
- TARGET_NOT_SET = 0,
59
- SPIC_UID = 2,
60
- GROUP_ID = 3,
61
- }
62
- }
63
- }
64
-
65
10
  export class TemperatureConfigurationProto extends jspb.Message {
66
11
  getHighTrigger(): number;
67
12
  setHighTrigger(value: number): void;
@@ -220,9 +165,6 @@ export class CabinetLocationMeta extends jspb.Message {
220
165
  getTemperatureConfiguration(): TemperatureConfigurationProto | undefined;
221
166
  setTemperatureConfiguration(value?: TemperatureConfigurationProto): void;
222
167
 
223
- getSpicType(): SpicTypeMap[keyof SpicTypeMap];
224
- setSpicType(value: SpicTypeMap[keyof SpicTypeMap]): void;
225
-
226
168
  serializeBinary(): Uint8Array;
227
169
  toObject(includeInstance?: boolean): CabinetLocationMeta.AsObject;
228
170
  static toObject(includeInstance: boolean, msg: CabinetLocationMeta): CabinetLocationMeta.AsObject;
@@ -237,15 +179,6 @@ export namespace CabinetLocationMeta {
237
179
  export type AsObject = {
238
180
  cabinetLocation?: spic_cabinet_pb.CabinetWithLocation.AsObject,
239
181
  temperatureConfiguration?: TemperatureConfigurationProto.AsObject,
240
- spicType: SpicTypeMap[keyof SpicTypeMap],
241
182
  }
242
183
  }
243
184
 
244
- export interface SpicTypeMap {
245
- CABINET: 0;
246
- MANHOLE: 1;
247
- CLOSURE: 2;
248
- }
249
-
250
- export const SpicType: SpicTypeMap;
251
-
@@ -30,58 +30,12 @@ goog.object.extend(proto, spic_cabinet_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
32
  goog.exportSymbol('proto.Meta.CabinetLocationMeta', null, global);
33
- goog.exportSymbol('proto.Meta.SpicType', null, global);
34
- goog.exportSymbol('proto.Meta.SpicTypeProto', null, global);
35
- goog.exportSymbol('proto.Meta.SpicTypeProto.SetRequest', null, global);
36
- goog.exportSymbol('proto.Meta.SpicTypeProto.SetRequest.TargetCase', null, global);
37
33
  goog.exportSymbol('proto.Meta.TemperatureConfigurationProto', null, global);
38
34
  goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.CreateTemplateRequest', null, global);
39
35
  goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateReply', null, global);
40
36
  goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SearchTemplateRequest', null, global);
41
37
  goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest', null, global);
42
38
  goog.exportSymbol('proto.Meta.TemperatureConfigurationProto.SetConfigurationRequest.TargetCase', null, global);
43
- /**
44
- * Generated by JsPbCodeGenerator.
45
- * @param {Array=} opt_data Optional initial data array, typically from a
46
- * server response, or constructed directly in Javascript. The array is used
47
- * in place and becomes part of the constructed object. It is not cloned.
48
- * If no data is provided, the constructed object will be empty, but still
49
- * valid.
50
- * @extends {jspb.Message}
51
- * @constructor
52
- */
53
- proto.Meta.SpicTypeProto = function(opt_data) {
54
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
55
- };
56
- goog.inherits(proto.Meta.SpicTypeProto, jspb.Message);
57
- if (goog.DEBUG && !COMPILED) {
58
- /**
59
- * @public
60
- * @override
61
- */
62
- proto.Meta.SpicTypeProto.displayName = 'proto.Meta.SpicTypeProto';
63
- }
64
- /**
65
- * Generated by JsPbCodeGenerator.
66
- * @param {Array=} opt_data Optional initial data array, typically from a
67
- * server response, or constructed directly in Javascript. The array is used
68
- * in place and becomes part of the constructed object. It is not cloned.
69
- * If no data is provided, the constructed object will be empty, but still
70
- * valid.
71
- * @extends {jspb.Message}
72
- * @constructor
73
- */
74
- proto.Meta.SpicTypeProto.SetRequest = function(opt_data) {
75
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_);
76
- };
77
- goog.inherits(proto.Meta.SpicTypeProto.SetRequest, jspb.Message);
78
- if (goog.DEBUG && !COMPILED) {
79
- /**
80
- * @public
81
- * @override
82
- */
83
- proto.Meta.SpicTypeProto.SetRequest.displayName = 'proto.Meta.SpicTypeProto.SetRequest';
84
- }
85
39
  /**
86
40
  * Generated by JsPbCodeGenerator.
87
41
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -211,359 +165,6 @@ if (goog.DEBUG && !COMPILED) {
211
165
 
212
166
 
213
167
 
214
- if (jspb.Message.GENERATE_TO_OBJECT) {
215
- /**
216
- * Creates an object representation of this proto.
217
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
218
- * Optional fields that are not set will be set to undefined.
219
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
220
- * For the list of reserved names please see:
221
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
222
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
223
- * JSPB instance for transitional soy proto support:
224
- * http://goto/soy-param-migration
225
- * @return {!Object}
226
- */
227
- proto.Meta.SpicTypeProto.prototype.toObject = function(opt_includeInstance) {
228
- return proto.Meta.SpicTypeProto.toObject(opt_includeInstance, this);
229
- };
230
-
231
-
232
- /**
233
- * Static version of the {@see toObject} method.
234
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
235
- * the JSPB instance for transitional soy proto support:
236
- * http://goto/soy-param-migration
237
- * @param {!proto.Meta.SpicTypeProto} msg The msg instance to transform.
238
- * @return {!Object}
239
- * @suppress {unusedLocalVariables} f is only used for nested messages
240
- */
241
- proto.Meta.SpicTypeProto.toObject = function(includeInstance, msg) {
242
- var f, obj = {
243
-
244
- };
245
-
246
- if (includeInstance) {
247
- obj.$jspbMessageInstance = msg;
248
- }
249
- return obj;
250
- };
251
- }
252
-
253
-
254
- /**
255
- * Deserializes binary data (in protobuf wire format).
256
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
257
- * @return {!proto.Meta.SpicTypeProto}
258
- */
259
- proto.Meta.SpicTypeProto.deserializeBinary = function(bytes) {
260
- var reader = new jspb.BinaryReader(bytes);
261
- var msg = new proto.Meta.SpicTypeProto;
262
- return proto.Meta.SpicTypeProto.deserializeBinaryFromReader(msg, reader);
263
- };
264
-
265
-
266
- /**
267
- * Deserializes binary data (in protobuf wire format) from the
268
- * given reader into the given message object.
269
- * @param {!proto.Meta.SpicTypeProto} msg The message object to deserialize into.
270
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
271
- * @return {!proto.Meta.SpicTypeProto}
272
- */
273
- proto.Meta.SpicTypeProto.deserializeBinaryFromReader = function(msg, reader) {
274
- while (reader.nextField()) {
275
- if (reader.isEndGroup()) {
276
- break;
277
- }
278
- var field = reader.getFieldNumber();
279
- switch (field) {
280
- default:
281
- reader.skipField();
282
- break;
283
- }
284
- }
285
- return msg;
286
- };
287
-
288
-
289
- /**
290
- * Serializes the message to binary data (in protobuf wire format).
291
- * @return {!Uint8Array}
292
- */
293
- proto.Meta.SpicTypeProto.prototype.serializeBinary = function() {
294
- var writer = new jspb.BinaryWriter();
295
- proto.Meta.SpicTypeProto.serializeBinaryToWriter(this, writer);
296
- return writer.getResultBuffer();
297
- };
298
-
299
-
300
- /**
301
- * Serializes the given message to binary data (in protobuf wire
302
- * format), writing to the given BinaryWriter.
303
- * @param {!proto.Meta.SpicTypeProto} message
304
- * @param {!jspb.BinaryWriter} writer
305
- * @suppress {unusedLocalVariables} f is only used for nested messages
306
- */
307
- proto.Meta.SpicTypeProto.serializeBinaryToWriter = function(message, writer) {
308
- var f = undefined;
309
- };
310
-
311
-
312
-
313
- /**
314
- * Oneof group definitions for this message. Each group defines the field
315
- * numbers belonging to that group. When of these fields' value is set, all
316
- * other fields in the group are cleared. During deserialization, if multiple
317
- * fields are encountered for a group, only the last value seen will be kept.
318
- * @private {!Array<!Array<number>>}
319
- * @const
320
- */
321
- proto.Meta.SpicTypeProto.SetRequest.oneofGroups_ = [[2,3]];
322
-
323
- /**
324
- * @enum {number}
325
- */
326
- proto.Meta.SpicTypeProto.SetRequest.TargetCase = {
327
- TARGET_NOT_SET: 0,
328
- SPIC_UID: 2,
329
- GROUP_ID: 3
330
- };
331
-
332
- /**
333
- * @return {proto.Meta.SpicTypeProto.SetRequest.TargetCase}
334
- */
335
- proto.Meta.SpicTypeProto.SetRequest.prototype.getTargetCase = function() {
336
- return /** @type {proto.Meta.SpicTypeProto.SetRequest.TargetCase} */(jspb.Message.computeOneofCase(this, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0]));
337
- };
338
-
339
-
340
-
341
- if (jspb.Message.GENERATE_TO_OBJECT) {
342
- /**
343
- * Creates an object representation of this proto.
344
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
345
- * Optional fields that are not set will be set to undefined.
346
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
347
- * For the list of reserved names please see:
348
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
349
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
350
- * JSPB instance for transitional soy proto support:
351
- * http://goto/soy-param-migration
352
- * @return {!Object}
353
- */
354
- proto.Meta.SpicTypeProto.SetRequest.prototype.toObject = function(opt_includeInstance) {
355
- return proto.Meta.SpicTypeProto.SetRequest.toObject(opt_includeInstance, this);
356
- };
357
-
358
-
359
- /**
360
- * Static version of the {@see toObject} method.
361
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
362
- * the JSPB instance for transitional soy proto support:
363
- * http://goto/soy-param-migration
364
- * @param {!proto.Meta.SpicTypeProto.SetRequest} msg The msg instance to transform.
365
- * @return {!Object}
366
- * @suppress {unusedLocalVariables} f is only used for nested messages
367
- */
368
- proto.Meta.SpicTypeProto.SetRequest.toObject = function(includeInstance, msg) {
369
- var f, obj = {
370
- spicType: jspb.Message.getFieldWithDefault(msg, 1, 0),
371
- spicUid: jspb.Message.getFieldWithDefault(msg, 2, ""),
372
- groupId: jspb.Message.getFieldWithDefault(msg, 3, "")
373
- };
374
-
375
- if (includeInstance) {
376
- obj.$jspbMessageInstance = msg;
377
- }
378
- return obj;
379
- };
380
- }
381
-
382
-
383
- /**
384
- * Deserializes binary data (in protobuf wire format).
385
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
386
- * @return {!proto.Meta.SpicTypeProto.SetRequest}
387
- */
388
- proto.Meta.SpicTypeProto.SetRequest.deserializeBinary = function(bytes) {
389
- var reader = new jspb.BinaryReader(bytes);
390
- var msg = new proto.Meta.SpicTypeProto.SetRequest;
391
- return proto.Meta.SpicTypeProto.SetRequest.deserializeBinaryFromReader(msg, reader);
392
- };
393
-
394
-
395
- /**
396
- * Deserializes binary data (in protobuf wire format) from the
397
- * given reader into the given message object.
398
- * @param {!proto.Meta.SpicTypeProto.SetRequest} msg The message object to deserialize into.
399
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
400
- * @return {!proto.Meta.SpicTypeProto.SetRequest}
401
- */
402
- proto.Meta.SpicTypeProto.SetRequest.deserializeBinaryFromReader = function(msg, reader) {
403
- while (reader.nextField()) {
404
- if (reader.isEndGroup()) {
405
- break;
406
- }
407
- var field = reader.getFieldNumber();
408
- switch (field) {
409
- case 1:
410
- var value = /** @type {!proto.Meta.SpicType} */ (reader.readEnum());
411
- msg.setSpicType(value);
412
- break;
413
- case 2:
414
- var value = /** @type {string} */ (reader.readString());
415
- msg.setSpicUid(value);
416
- break;
417
- case 3:
418
- var value = /** @type {string} */ (reader.readString());
419
- msg.setGroupId(value);
420
- break;
421
- default:
422
- reader.skipField();
423
- break;
424
- }
425
- }
426
- return msg;
427
- };
428
-
429
-
430
- /**
431
- * Serializes the message to binary data (in protobuf wire format).
432
- * @return {!Uint8Array}
433
- */
434
- proto.Meta.SpicTypeProto.SetRequest.prototype.serializeBinary = function() {
435
- var writer = new jspb.BinaryWriter();
436
- proto.Meta.SpicTypeProto.SetRequest.serializeBinaryToWriter(this, writer);
437
- return writer.getResultBuffer();
438
- };
439
-
440
-
441
- /**
442
- * Serializes the given message to binary data (in protobuf wire
443
- * format), writing to the given BinaryWriter.
444
- * @param {!proto.Meta.SpicTypeProto.SetRequest} message
445
- * @param {!jspb.BinaryWriter} writer
446
- * @suppress {unusedLocalVariables} f is only used for nested messages
447
- */
448
- proto.Meta.SpicTypeProto.SetRequest.serializeBinaryToWriter = function(message, writer) {
449
- var f = undefined;
450
- f = message.getSpicType();
451
- if (f !== 0.0) {
452
- writer.writeEnum(
453
- 1,
454
- f
455
- );
456
- }
457
- f = /** @type {string} */ (jspb.Message.getField(message, 2));
458
- if (f != null) {
459
- writer.writeString(
460
- 2,
461
- f
462
- );
463
- }
464
- f = /** @type {string} */ (jspb.Message.getField(message, 3));
465
- if (f != null) {
466
- writer.writeString(
467
- 3,
468
- f
469
- );
470
- }
471
- };
472
-
473
-
474
- /**
475
- * optional SpicType spic_type = 1;
476
- * @return {!proto.Meta.SpicType}
477
- */
478
- proto.Meta.SpicTypeProto.SetRequest.prototype.getSpicType = function() {
479
- return /** @type {!proto.Meta.SpicType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
480
- };
481
-
482
-
483
- /**
484
- * @param {!proto.Meta.SpicType} value
485
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
486
- */
487
- proto.Meta.SpicTypeProto.SetRequest.prototype.setSpicType = function(value) {
488
- return jspb.Message.setProto3EnumField(this, 1, value);
489
- };
490
-
491
-
492
- /**
493
- * optional string spic_uid = 2;
494
- * @return {string}
495
- */
496
- proto.Meta.SpicTypeProto.SetRequest.prototype.getSpicUid = function() {
497
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
498
- };
499
-
500
-
501
- /**
502
- * @param {string} value
503
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
504
- */
505
- proto.Meta.SpicTypeProto.SetRequest.prototype.setSpicUid = function(value) {
506
- return jspb.Message.setOneofField(this, 2, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], value);
507
- };
508
-
509
-
510
- /**
511
- * Clears the field making it undefined.
512
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
513
- */
514
- proto.Meta.SpicTypeProto.SetRequest.prototype.clearSpicUid = function() {
515
- return jspb.Message.setOneofField(this, 2, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], undefined);
516
- };
517
-
518
-
519
- /**
520
- * Returns whether this field is set.
521
- * @return {boolean}
522
- */
523
- proto.Meta.SpicTypeProto.SetRequest.prototype.hasSpicUid = function() {
524
- return jspb.Message.getField(this, 2) != null;
525
- };
526
-
527
-
528
- /**
529
- * optional string group_id = 3;
530
- * @return {string}
531
- */
532
- proto.Meta.SpicTypeProto.SetRequest.prototype.getGroupId = function() {
533
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
534
- };
535
-
536
-
537
- /**
538
- * @param {string} value
539
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
540
- */
541
- proto.Meta.SpicTypeProto.SetRequest.prototype.setGroupId = function(value) {
542
- return jspb.Message.setOneofField(this, 3, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], value);
543
- };
544
-
545
-
546
- /**
547
- * Clears the field making it undefined.
548
- * @return {!proto.Meta.SpicTypeProto.SetRequest} returns this
549
- */
550
- proto.Meta.SpicTypeProto.SetRequest.prototype.clearGroupId = function() {
551
- return jspb.Message.setOneofField(this, 3, proto.Meta.SpicTypeProto.SetRequest.oneofGroups_[0], undefined);
552
- };
553
-
554
-
555
- /**
556
- * Returns whether this field is set.
557
- * @return {boolean}
558
- */
559
- proto.Meta.SpicTypeProto.SetRequest.prototype.hasGroupId = function() {
560
- return jspb.Message.getField(this, 3) != null;
561
- };
562
-
563
-
564
-
565
-
566
-
567
168
  if (jspb.Message.GENERATE_TO_OBJECT) {
568
169
  /**
569
170
  * Creates an object representation of this proto.
@@ -1609,8 +1210,7 @@ proto.Meta.CabinetLocationMeta.prototype.toObject = function(opt_includeInstance
1609
1210
  proto.Meta.CabinetLocationMeta.toObject = function(includeInstance, msg) {
1610
1211
  var f, obj = {
1611
1212
  cabinetLocation: (f = msg.getCabinetLocation()) && spic_cabinet_pb.CabinetWithLocation.toObject(includeInstance, f),
1612
- temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f),
1613
- spicType: jspb.Message.getFieldWithDefault(msg, 3, 0)
1213
+ temperatureConfiguration: (f = msg.getTemperatureConfiguration()) && proto.Meta.TemperatureConfigurationProto.toObject(includeInstance, f)
1614
1214
  };
1615
1215
 
1616
1216
  if (includeInstance) {
@@ -1657,10 +1257,6 @@ proto.Meta.CabinetLocationMeta.deserializeBinaryFromReader = function(msg, reade
1657
1257
  reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
1658
1258
  msg.setTemperatureConfiguration(value);
1659
1259
  break;
1660
- case 3:
1661
- var value = /** @type {!proto.Meta.SpicType} */ (reader.readEnum());
1662
- msg.setSpicType(value);
1663
- break;
1664
1260
  default:
1665
1261
  reader.skipField();
1666
1262
  break;
@@ -1706,13 +1302,6 @@ proto.Meta.CabinetLocationMeta.serializeBinaryToWriter = function(message, write
1706
1302
  proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
1707
1303
  );
1708
1304
  }
1709
- f = message.getSpicType();
1710
- if (f !== 0.0) {
1711
- writer.writeEnum(
1712
- 3,
1713
- f
1714
- );
1715
- }
1716
1305
  };
1717
1306
 
1718
1307
 
@@ -1790,31 +1379,4 @@ proto.Meta.CabinetLocationMeta.prototype.hasTemperatureConfiguration = function(
1790
1379
  };
1791
1380
 
1792
1381
 
1793
- /**
1794
- * optional SpicType spic_type = 3;
1795
- * @return {!proto.Meta.SpicType}
1796
- */
1797
- proto.Meta.CabinetLocationMeta.prototype.getSpicType = function() {
1798
- return /** @type {!proto.Meta.SpicType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1799
- };
1800
-
1801
-
1802
- /**
1803
- * @param {!proto.Meta.SpicType} value
1804
- * @return {!proto.Meta.CabinetLocationMeta} returns this
1805
- */
1806
- proto.Meta.CabinetLocationMeta.prototype.setSpicType = function(value) {
1807
- return jspb.Message.setProto3EnumField(this, 3, value);
1808
- };
1809
-
1810
-
1811
- /**
1812
- * @enum {number}
1813
- */
1814
- proto.Meta.SpicType = {
1815
- CABINET: 0,
1816
- MANHOLE: 1,
1817
- CLOSURE: 2
1818
- };
1819
-
1820
1382
  goog.object.extend(exports, proto.Meta);
@@ -15,15 +15,6 @@ type CabinetMetaGRPCRetrieve = {
15
15
  readonly responseType: typeof meta_spic_config_pb.CabinetLocationMeta;
16
16
  };
17
17
 
18
- type CabinetMetaGRPCSetSpicType = {
19
- readonly methodName: string;
20
- readonly service: typeof CabinetMetaGRPC;
21
- readonly requestStream: false;
22
- readonly responseStream: false;
23
- readonly requestType: typeof meta_spic_config_pb.SpicTypeProto.SetRequest;
24
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
25
- };
26
-
27
18
  type CabinetMetaGRPCSetTemperatureConfiguration = {
28
19
  readonly methodName: string;
29
20
  readonly service: typeof CabinetMetaGRPC;
@@ -54,7 +45,6 @@ type CabinetMetaGRPCSearchTemperatureConfigurationTemplate = {
54
45
  export class CabinetMetaGRPC {
55
46
  static readonly serviceName: string;
56
47
  static readonly Retrieve: CabinetMetaGRPCRetrieve;
57
- static readonly SetSpicType: CabinetMetaGRPCSetSpicType;
58
48
  static readonly SetTemperatureConfiguration: CabinetMetaGRPCSetTemperatureConfiguration;
59
49
  static readonly CreateTemperatureConfigurationTemplate: CabinetMetaGRPCCreateTemperatureConfigurationTemplate;
60
50
  static readonly SearchTemperatureConfigurationTemplate: CabinetMetaGRPCSearchTemperatureConfigurationTemplate;
@@ -101,15 +91,6 @@ export class CabinetMetaGRPCClient {
101
91
  requestMessage: spic_cabinet_pb.CabinetProto.RetrieveRequest,
102
92
  callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.CabinetLocationMeta|null) => void
103
93
  ): UnaryResponse;
104
- setSpicType(
105
- requestMessage: meta_spic_config_pb.SpicTypeProto.SetRequest,
106
- metadata: grpc.Metadata,
107
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
108
- ): UnaryResponse;
109
- setSpicType(
110
- requestMessage: meta_spic_config_pb.SpicTypeProto.SetRequest,
111
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
112
- ): UnaryResponse;
113
94
  setTemperatureConfiguration(
114
95
  requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest,
115
96
  metadata: grpc.Metadata,
@@ -21,15 +21,6 @@ CabinetMetaGRPC.Retrieve = {
21
21
  responseType: meta_spic_config_pb.CabinetLocationMeta
22
22
  };
23
23
 
24
- CabinetMetaGRPC.SetSpicType = {
25
- methodName: "SetSpicType",
26
- service: CabinetMetaGRPC,
27
- requestStream: false,
28
- responseStream: false,
29
- requestType: meta_spic_config_pb.SpicTypeProto.SetRequest,
30
- responseType: google_protobuf_empty_pb.Empty
31
- };
32
-
33
24
  CabinetMetaGRPC.SetTemperatureConfiguration = {
34
25
  methodName: "SetTemperatureConfiguration",
35
26
  service: CabinetMetaGRPC,
@@ -95,37 +86,6 @@ CabinetMetaGRPCClient.prototype.retrieve = function retrieve(requestMessage, met
95
86
  };
96
87
  };
97
88
 
98
- CabinetMetaGRPCClient.prototype.setSpicType = function setSpicType(requestMessage, metadata, callback) {
99
- if (arguments.length === 2) {
100
- callback = arguments[1];
101
- }
102
- var client = grpc.unary(CabinetMetaGRPC.SetSpicType, {
103
- request: requestMessage,
104
- host: this.serviceHost,
105
- metadata: metadata,
106
- transport: this.options.transport,
107
- debug: this.options.debug,
108
- onEnd: function (response) {
109
- if (callback) {
110
- if (response.status !== grpc.Code.OK) {
111
- var err = new Error(response.statusMessage);
112
- err.code = response.status;
113
- err.metadata = response.trailers;
114
- callback(err, null);
115
- } else {
116
- callback(null, response.message);
117
- }
118
- }
119
- }
120
- });
121
- return {
122
- cancel: function () {
123
- callback = null;
124
- client.close();
125
- }
126
- };
127
- };
128
-
129
89
  CabinetMetaGRPCClient.prototype.setTemperatureConfiguration = function setTemperatureConfiguration(requestMessage, metadata, callback) {
130
90
  if (arguments.length === 2) {
131
91
  callback = arguments[1];
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": "2.13.0-alpha.2",
8
+ "version": "2.13.0-alpha.21",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [