@lansweeper/data-platform-outbound-grpc 0.1.21 → 0.1.23

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,6 +7,7 @@
7
7
  import * as grpc from "@grpc/grpc-js";
8
8
  import * as outbound_pb from "./outbound_pb";
9
9
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
10
+ import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
10
11
 
11
12
  interface IDataCoreOutboundServiceService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
12
13
  getEntity: IDataCoreOutboundServiceService_IGetEntity;
@@ -11,6 +11,7 @@
11
11
  var grpc = require('@grpc/grpc-js');
12
12
  var outbound_pb = require('./outbound_pb.js');
13
13
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
14
+ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
14
15
 
15
16
  function serialize_com_lansweeper_dp_outbound_v1_CatalogLookupRequest(arg) {
16
17
  if (!(arg instanceof outbound_pb.CatalogLookupRequest)) {
@@ -6,6 +6,7 @@
6
6
 
7
7
  import * as jspb from "google-protobuf";
8
8
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
+ import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
9
10
 
10
11
  export class GetEntityRequest extends jspb.Message {
11
12
 
@@ -356,6 +357,16 @@ export class Asset extends jspb.Message {
356
357
  setProcessorList(value: Array<Processor>): Asset;
357
358
  addProcessor(value?: Processor, index?: number): Processor;
358
359
 
360
+ hasOtModule(): boolean;
361
+ clearOtModule(): void;
362
+ getOtModule(): OtModule | undefined;
363
+ setOtModule(value?: OtModule): Asset;
364
+
365
+ hasCloud(): boolean;
366
+ clearCloud(): void;
367
+ getCloud(): CloudEntity | undefined;
368
+ setCloud(value?: CloudEntity): Asset;
369
+
359
370
  serializeBinary(): Uint8Array;
360
371
  toObject(includeInstance?: boolean): Asset.AsObject;
361
372
  static toObject(includeInstance: boolean, msg: Asset): Asset.AsObject;
@@ -383,6 +394,117 @@ export namespace Asset {
383
394
  networkInterfaces?: NetworkInterfaces.AsObject,
384
395
  osPatchList: Array<OperatingSystemPatch.AsObject>,
385
396
  processorList: Array<Processor.AsObject>,
397
+ otModule?: OtModule.AsObject,
398
+ cloud?: CloudEntity.AsObject,
399
+ }
400
+ }
401
+
402
+ export class CloudEntity extends jspb.Message {
403
+
404
+ hasBody(): boolean;
405
+ clearBody(): void;
406
+ getBody(): google_protobuf_any_pb.Any | undefined;
407
+ setBody(value?: google_protobuf_any_pb.Any): CloudEntity;
408
+
409
+ serializeBinary(): Uint8Array;
410
+ toObject(includeInstance?: boolean): CloudEntity.AsObject;
411
+ static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
412
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
413
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
414
+ static serializeBinaryToWriter(message: CloudEntity, writer: jspb.BinaryWriter): void;
415
+ static deserializeBinary(bytes: Uint8Array): CloudEntity;
416
+ static deserializeBinaryFromReader(message: CloudEntity, reader: jspb.BinaryReader): CloudEntity;
417
+ }
418
+
419
+ export namespace CloudEntity {
420
+ export type AsObject = {
421
+ body?: google_protobuf_any_pb.Any.AsObject,
422
+ }
423
+ }
424
+
425
+ export class OtModule extends jspb.Message {
426
+
427
+ hasParentId(): boolean;
428
+ clearParentId(): void;
429
+ getParentId(): EntityPath | undefined;
430
+ setParentId(value?: EntityPath): OtModule;
431
+ clearSubModuleIdList(): void;
432
+ getSubModuleIdList(): Array<EntityPath>;
433
+ setSubModuleIdList(value: Array<EntityPath>): OtModule;
434
+ addSubModuleId(value?: EntityPath, index?: number): EntityPath;
435
+ getRackNumber(): number;
436
+ setRackNumber(value: number): OtModule;
437
+ getRackName(): string;
438
+ setRackName(value: string): OtModule;
439
+ getRackSize(): number;
440
+ setRackSize(value: number): OtModule;
441
+ getSlot(): number;
442
+ setSlot(value: number): OtModule;
443
+ getSlotWidth(): number;
444
+ setSlotWidth(value: number): OtModule;
445
+ getIsMainModule(): boolean;
446
+ setIsMainModule(value: boolean): OtModule;
447
+
448
+ hasComponentType(): boolean;
449
+ clearComponentType(): void;
450
+ getComponentType(): string | undefined;
451
+ setComponentType(value: string): OtModule;
452
+
453
+ hasPartNumber(): boolean;
454
+ clearPartNumber(): void;
455
+ getPartNumber(): string | undefined;
456
+ setPartNumber(value: string): OtModule;
457
+ clearExtInfoList(): void;
458
+ getExtInfoList(): Array<OtModuleExtInfo>;
459
+ setExtInfoList(value: Array<OtModuleExtInfo>): OtModule;
460
+ addExtInfo(value?: OtModuleExtInfo, index?: number): OtModuleExtInfo;
461
+
462
+ serializeBinary(): Uint8Array;
463
+ toObject(includeInstance?: boolean): OtModule.AsObject;
464
+ static toObject(includeInstance: boolean, msg: OtModule): OtModule.AsObject;
465
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
466
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
467
+ static serializeBinaryToWriter(message: OtModule, writer: jspb.BinaryWriter): void;
468
+ static deserializeBinary(bytes: Uint8Array): OtModule;
469
+ static deserializeBinaryFromReader(message: OtModule, reader: jspb.BinaryReader): OtModule;
470
+ }
471
+
472
+ export namespace OtModule {
473
+ export type AsObject = {
474
+ parentId?: EntityPath.AsObject,
475
+ subModuleIdList: Array<EntityPath.AsObject>,
476
+ rackNumber: number,
477
+ rackName: string,
478
+ rackSize: number,
479
+ slot: number,
480
+ slotWidth: number,
481
+ isMainModule: boolean,
482
+ componentType?: string,
483
+ partNumber?: string,
484
+ extInfoList: Array<OtModuleExtInfo.AsObject>,
485
+ }
486
+ }
487
+
488
+ export class OtModuleExtInfo extends jspb.Message {
489
+ getKey(): string;
490
+ setKey(value: string): OtModuleExtInfo;
491
+ getValue(): string;
492
+ setValue(value: string): OtModuleExtInfo;
493
+
494
+ serializeBinary(): Uint8Array;
495
+ toObject(includeInstance?: boolean): OtModuleExtInfo.AsObject;
496
+ static toObject(includeInstance: boolean, msg: OtModuleExtInfo): OtModuleExtInfo.AsObject;
497
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
498
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
499
+ static serializeBinaryToWriter(message: OtModuleExtInfo, writer: jspb.BinaryWriter): void;
500
+ static deserializeBinary(bytes: Uint8Array): OtModuleExtInfo;
501
+ static deserializeBinaryFromReader(message: OtModuleExtInfo, reader: jspb.BinaryReader): OtModuleExtInfo;
502
+ }
503
+
504
+ export namespace OtModuleExtInfo {
505
+ export type AsObject = {
506
+ key: string,
507
+ value: string,
386
508
  }
387
509
  }
388
510
 
@@ -397,6 +519,11 @@ export class AssetType extends jspb.Message {
397
519
  getFingType(): string | undefined;
398
520
  setFingType(value: string): AssetType;
399
521
 
522
+ hasSubType(): boolean;
523
+ clearSubType(): void;
524
+ getSubType(): string | undefined;
525
+ setSubType(value: string): AssetType;
526
+
400
527
  serializeBinary(): Uint8Array;
401
528
  toObject(includeInstance?: boolean): AssetType.AsObject;
402
529
  static toObject(includeInstance: boolean, msg: AssetType): AssetType.AsObject;
@@ -412,6 +539,7 @@ export namespace AssetType {
412
539
  lsName: string,
413
540
  lsId: number,
414
541
  fingType?: string,
542
+ subType?: string,
415
543
  }
416
544
  }
417
545
 
@@ -665,6 +793,11 @@ export class OperatingSystemInfo extends jspb.Message {
665
793
  getWindows(): WindowsOperatingSystemInfo | undefined;
666
794
  setWindows(value?: WindowsOperatingSystemInfo): OperatingSystemInfo;
667
795
 
796
+ hasOt(): boolean;
797
+ clearOt(): void;
798
+ getOt(): OtFirmwareInfo | undefined;
799
+ setOt(value?: OtFirmwareInfo): OperatingSystemInfo;
800
+
668
801
  getSpecCase(): OperatingSystemInfo.SpecCase;
669
802
 
670
803
  serializeBinary(): Uint8Array;
@@ -689,11 +822,13 @@ export namespace OperatingSystemInfo {
689
822
  fwCpe?: string,
690
823
  rank?: number,
691
824
  windows?: WindowsOperatingSystemInfo.AsObject,
825
+ ot?: OtFirmwareInfo.AsObject,
692
826
  }
693
827
 
694
828
  export enum SpecCase {
695
829
  SPEC_NOT_SET = 0,
696
830
  WINDOWS = 32,
831
+ OT = 33,
697
832
  }
698
833
 
699
834
  }
@@ -748,6 +883,26 @@ export namespace OperatingSystemPatch {
748
883
  }
749
884
  }
750
885
 
886
+ export class OtFirmwareInfo extends jspb.Message {
887
+ getFirmware(): string;
888
+ setFirmware(value: string): OtFirmwareInfo;
889
+
890
+ serializeBinary(): Uint8Array;
891
+ toObject(includeInstance?: boolean): OtFirmwareInfo.AsObject;
892
+ static toObject(includeInstance: boolean, msg: OtFirmwareInfo): OtFirmwareInfo.AsObject;
893
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
894
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
895
+ static serializeBinaryToWriter(message: OtFirmwareInfo, writer: jspb.BinaryWriter): void;
896
+ static deserializeBinary(bytes: Uint8Array): OtFirmwareInfo;
897
+ static deserializeBinaryFromReader(message: OtFirmwareInfo, reader: jspb.BinaryReader): OtFirmwareInfo;
898
+ }
899
+
900
+ export namespace OtFirmwareInfo {
901
+ export type AsObject = {
902
+ firmware: string,
903
+ }
904
+ }
905
+
751
906
  export class WindowsOperatingSystemInfo extends jspb.Message {
752
907
 
753
908
  hasVersion(): boolean;