@lansweeper/install-api-grpc 0.1.4 → 0.1.6

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.
@@ -1 +1 @@
1
- {"file":[{"name":"google/protobuf/timestamp.proto","package":"google.protobuf","messageType":[{"name":"Timestamp","field":[{"name":"seconds","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"seconds"},{"name":"nanos","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"nanos"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"TimestampProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/timestamppb","ccEnableArenas":true,"objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[30,0,146,1]},{"path":[12],"span":[30,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"]},{"path":[2],"span":[32,0,24]},{"path":[8],"span":[34,0,59]},{"path":[8,37],"span":[34,0,59]},{"path":[8],"span":[35,0,31]},{"path":[8,31],"span":[35,0,31]},{"path":[8],"span":[36,0,73]},{"path":[8,11],"span":[36,0,73]},{"path":[8],"span":[37,0,44]},{"path":[8,1],"span":[37,0,44]},{"path":[8],"span":[38,0,47]},{"path":[8,8],"span":[38,0,47]},{"path":[8],"span":[39,0,34]},{"path":[8,10],"span":[39,0,34]},{"path":[8],"span":[40,0,33]},{"path":[8,36],"span":[40,0,33]},{"path":[4,0],"span":[135,0,146,1],"leadingComments":" A Timestamp represents a point in time independent of any time zone or local\n calendar, encoded as a count of seconds and fractions of seconds at\n nanosecond resolution. The count is relative to an epoch at UTC midnight on\n January 1, 1970, in the proleptic Gregorian calendar which extends the\n Gregorian calendar backwards to year one.\n\n All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n second table is needed for interpretation, using a [24-hour linear\n smear](https://developers.google.com/time/smear).\n\n The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n restricting to that range, we ensure that we can convert to and from [RFC\n 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n # Examples\n\n Example 1: Compute Timestamp from POSIX `time()`.\n\n Timestamp timestamp;\n timestamp.set_seconds(time(NULL));\n timestamp.set_nanos(0);\n\n Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n struct timeval tv;\n gettimeofday(&tv, NULL);\n\n Timestamp timestamp;\n timestamp.set_seconds(tv.tv_sec);\n timestamp.set_nanos(tv.tv_usec * 1000);\n\n Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n FILETIME ft;\n GetSystemTimeAsFileTime(&ft);\n UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n Timestamp timestamp;\n timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\n Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n long millis = System.currentTimeMillis();\n\n Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n\n Example 5: Compute Timestamp from Java `Instant.now()`.\n\n Instant now = Instant.now();\n\n Timestamp timestamp =\n Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n .setNanos(now.getNano()).build();\n\n\n Example 6: Compute Timestamp from current time in Python.\n\n timestamp = Timestamp()\n timestamp.GetCurrentTime()\n\n # JSON Mapping\n\n In JSON format, the Timestamp type is encoded as a string in the\n [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n where {year} is always expressed using four digits while {month}, {day},\n {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n is required. A proto3 JSON serializer should always use UTC (as indicated by\n \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n able to accept both UTC and other timezones (as indicated by an offset).\n\n For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n 01:30 UTC on January 15, 2017.\n\n In JavaScript, one can convert a Date object to this format using the\n standard\n [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n method. In Python, a standard `datetime.datetime` object can be converted\n to this format using\n [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n the Joda Time's [`ISODateTimeFormat.dateTime()`](\n http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n ) to obtain a formatter capable of generating timestamps in this format.\n\n\n"},{"path":[4,0,1],"span":[135,8,17]},{"path":[4,0,2,0],"span":[139,2,20],"leadingComments":" Represents seconds of UTC time since Unix epoch\n 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n 9999-12-31T23:59:59Z inclusive.\n"},{"path":[4,0,2,0,5],"span":[139,2,7]},{"path":[4,0,2,0,1],"span":[139,8,15]},{"path":[4,0,2,0,3],"span":[139,18,19]},{"path":[4,0,2,1],"span":[145,2,18],"leadingComments":" Non-negative fractions of a second at nanosecond resolution. Negative\n second values with fractions must still have non-negative nanos values\n that count forward in time. Must be from 0 to 999,999,999\n inclusive.\n"},{"path":[4,0,2,1,5],"span":[145,2,7]},{"path":[4,0,2,1,1],"span":[145,8,13]},{"path":[4,0,2,1,3],"span":[145,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"proto/install.proto","package":"lansweeper.install.v1","dependency":["google/protobuf/timestamp.proto"],"messageType":[{"name":"SetPublicKeyRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"public_key","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"publicKey"},{"name":"signed_identity","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"signedIdentity"}]},{"name":"SetPublicKeyResponse"},{"name":"SetHubCertificateRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"hub_certificate","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"hubCertificate"}]},{"name":"SetHubCertificateResponse"},{"name":"RemoveHubCertificateRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"}]},{"name":"RemoveHubCertificateResponse"},{"name":"GetHubCertificatesRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_keys","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"installKeys"}]},{"name":"GetHubCertificatesResponse","field":[{"name":"hub_certificates","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.HubCertificateInstallation","jsonName":"hubCertificates"}]},{"name":"HubCertificateInstallation","field":[{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"hub_certificate","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"hubCertificate"}]},{"name":"Installation","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"type","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"state","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallStateValue","jsonName":"state"},{"name":"last_connection","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastConnection"}]},{"name":"GetInstallationsBySiteRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"filter","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.GetInstallationsBySiteRequest.Filter","oneofIndex":0,"jsonName":"filter","proto3Optional":true}],"nestedType":[{"name":"Filter","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true}],"oneofDecl":[{"name":"_last_connection"}]}],"oneofDecl":[{"name":"_filter"}]},{"name":"GetInstallationsBySiteResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"}]},{"name":"GetInstallationsByTypePaginatedRequest","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"},{"name":"cursor","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cursor"}],"oneofDecl":[{"name":"_last_connection"}],"reservedRange":[{"start":3,"end":4}]},{"name":"GetInstallationsByTypePaginatedResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"},{"name":"has_next_page","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"hasNextPage"},{"name":"next_cursor","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"nextCursor","proto3Optional":true}],"oneofDecl":[{"name":"_next_cursor"}],"reservedRange":[{"start":2,"end":3},{"start":3,"end":4}]}],"enumType":[{"name":"InstallType","value":[{"name":"IT","number":0},{"name":"OT","number":1},{"name":"IT_AGENT","number":2},{"name":"CLOUD","number":3},{"name":"NETWORK_DISCOVERY","number":4}]},{"name":"InstallStateValue","value":[{"name":"UNESPECIFIED","number":0},{"name":"LINKED","number":1},{"name":"UNLINKED","number":2}]}],"service":[{"name":"InstallService","method":[{"name":"GetHubCertificates","inputType":".lansweeper.install.v1.GetHubCertificatesRequest","outputType":".lansweeper.install.v1.GetHubCertificatesResponse","options":{}},{"name":"SetPublicKey","inputType":".lansweeper.install.v1.SetPublicKeyRequest","outputType":".lansweeper.install.v1.SetPublicKeyResponse","options":{}},{"name":"SetHubCertificate","inputType":".lansweeper.install.v1.SetHubCertificateRequest","outputType":".lansweeper.install.v1.SetHubCertificateResponse","options":{}},{"name":"RemoveHubCertificate","inputType":".lansweeper.install.v1.RemoveHubCertificateRequest","outputType":".lansweeper.install.v1.RemoveHubCertificateResponse","options":{}},{"name":"GetInstallationsBySite","inputType":".lansweeper.install.v1.GetInstallationsBySiteRequest","outputType":".lansweeper.install.v1.GetInstallationsBySiteResponse","options":{}},{"name":"GetInstallationsByTypePaginated","inputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedRequest","outputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,107,1]},{"path":[12],"span":[0,0,18]},{"path":[3,0],"span":[2,0,41]},{"path":[2],"span":[4,0,30]},{"path":[8],"span":[6,0,37]},{"path":[8,11],"span":[6,0,37]},{"path":[4,0],"span":[8,0,13,1]},{"path":[4,0,1],"span":[8,8,27]},{"path":[4,0,2,0],"span":[9,2,21]},{"path":[4,0,2,0,5],"span":[9,2,8]},{"path":[4,0,2,0,1],"span":[9,9,16]},{"path":[4,0,2,0,3],"span":[9,19,20]},{"path":[4,0,2,1],"span":[10,2,25]},{"path":[4,0,2,1,5],"span":[10,2,8]},{"path":[4,0,2,1,1],"span":[10,9,20]},{"path":[4,0,2,1,3],"span":[10,23,24]},{"path":[4,0,2,2],"span":[11,2,24]},{"path":[4,0,2,2,5],"span":[11,2,8]},{"path":[4,0,2,2,1],"span":[11,9,19]},{"path":[4,0,2,2,3],"span":[11,22,23]},{"path":[4,0,2,3],"span":[12,2,29]},{"path":[4,0,2,3,5],"span":[12,2,8]},{"path":[4,0,2,3,1],"span":[12,9,24]},{"path":[4,0,2,3,3],"span":[12,27,28]},{"path":[4,1],"span":[15,0,16,1]},{"path":[4,1,1],"span":[15,8,28]},{"path":[4,2],"span":[18,0,22,1]},{"path":[4,2,1],"span":[18,8,32]},{"path":[4,2,2,0],"span":[19,2,21]},{"path":[4,2,2,0,5],"span":[19,2,8]},{"path":[4,2,2,0,1],"span":[19,9,16]},{"path":[4,2,2,0,3],"span":[19,19,20]},{"path":[4,2,2,1],"span":[20,2,25]},{"path":[4,2,2,1,5],"span":[20,2,8]},{"path":[4,2,2,1,1],"span":[20,9,20]},{"path":[4,2,2,1,3],"span":[20,23,24]},{"path":[4,2,2,2],"span":[21,2,29]},{"path":[4,2,2,2,5],"span":[21,2,8]},{"path":[4,2,2,2,1],"span":[21,9,24]},{"path":[4,2,2,2,3],"span":[21,27,28]},{"path":[4,3],"span":[24,0,25,1]},{"path":[4,3,1],"span":[24,8,33]},{"path":[4,4],"span":[27,0,30,1]},{"path":[4,4,1],"span":[27,8,35]},{"path":[4,4,2,0],"span":[28,2,21]},{"path":[4,4,2,0,5],"span":[28,2,8]},{"path":[4,4,2,0,1],"span":[28,9,16]},{"path":[4,4,2,0,3],"span":[28,19,20]},{"path":[4,4,2,1],"span":[29,2,25]},{"path":[4,4,2,1,5],"span":[29,2,8]},{"path":[4,4,2,1,1],"span":[29,9,20]},{"path":[4,4,2,1,3],"span":[29,23,24]},{"path":[4,5],"span":[32,0,33,1]},{"path":[4,5,1],"span":[32,8,36]},{"path":[4,6],"span":[35,0,38,1]},{"path":[4,6,1],"span":[35,8,33]},{"path":[4,6,2,0],"span":[36,2,21]},{"path":[4,6,2,0,5],"span":[36,2,8]},{"path":[4,6,2,0,1],"span":[36,9,16]},{"path":[4,6,2,0,3],"span":[36,19,20]},{"path":[4,6,2,1],"span":[37,2,35]},{"path":[4,6,2,1,4],"span":[37,2,10]},{"path":[4,6,2,1,5],"span":[37,11,17]},{"path":[4,6,2,1,1],"span":[37,18,30]},{"path":[4,6,2,1,3],"span":[37,33,34]},{"path":[4,7],"span":[40,0,42,1]},{"path":[4,7,1],"span":[40,8,34]},{"path":[4,7,2,0],"span":[41,2,59]},{"path":[4,7,2,0,4],"span":[41,2,10]},{"path":[4,7,2,0,6],"span":[41,11,37]},{"path":[4,7,2,0,1],"span":[41,38,54]},{"path":[4,7,2,0,3],"span":[41,57,58]},{"path":[4,8],"span":[44,0,47,1]},{"path":[4,8,1],"span":[44,8,34]},{"path":[4,8,2,0],"span":[45,2,25]},{"path":[4,8,2,0,5],"span":[45,2,8]},{"path":[4,8,2,0,1],"span":[45,9,20]},{"path":[4,8,2,0,3],"span":[45,23,24]},{"path":[4,8,2,1],"span":[46,2,29]},{"path":[4,8,2,1,5],"span":[46,2,8]},{"path":[4,8,2,1,1],"span":[46,9,24]},{"path":[4,8,2,1,3],"span":[46,27,28]},{"path":[5,0],"span":[49,0,55,1]},{"path":[5,0,1],"span":[49,5,16]},{"path":[5,0,2,0],"span":[50,2,7]},{"path":[5,0,2,0,1],"span":[50,2,4]},{"path":[5,0,2,0,2],"span":[50,5,6]},{"path":[5,0,2,1],"span":[51,2,7]},{"path":[5,0,2,1,1],"span":[51,2,4]},{"path":[5,0,2,1,2],"span":[51,5,6]},{"path":[5,0,2,2],"span":[52,2,13]},{"path":[5,0,2,2,1],"span":[52,2,10]},{"path":[5,0,2,2,2],"span":[52,11,12]},{"path":[5,0,2,3],"span":[53,2,10]},{"path":[5,0,2,3,1],"span":[53,2,7]},{"path":[5,0,2,3,2],"span":[53,8,9]},{"path":[5,0,2,4],"span":[54,2,22]},{"path":[5,0,2,4,1],"span":[54,2,19]},{"path":[5,0,2,4,2],"span":[54,20,21]},{"path":[5,1],"span":[57,0,61,1]},{"path":[5,1,1],"span":[57,5,22]},{"path":[5,1,2,0],"span":[58,2,19]},{"path":[5,1,2,0,1],"span":[58,2,14]},{"path":[5,1,2,0,2],"span":[58,17,18]},{"path":[5,1,2,1],"span":[59,2,13]},{"path":[5,1,2,1,1],"span":[59,2,8]},{"path":[5,1,2,1,2],"span":[59,11,12]},{"path":[5,1,2,2],"span":[60,2,15]},{"path":[5,1,2,2,1],"span":[60,2,10]},{"path":[5,1,2,2,2],"span":[60,13,14]},{"path":[4,9],"span":[63,0,69,1]},{"path":[4,9,1],"span":[63,8,20]},{"path":[4,9,2,0],"span":[64,2,16]},{"path":[4,9,2,0,5],"span":[64,2,8]},{"path":[4,9,2,0,1],"span":[64,9,11]},{"path":[4,9,2,0,3],"span":[64,14,15]},{"path":[4,9,2,1],"span":[65,2,21]},{"path":[4,9,2,1,5],"span":[65,2,8]},{"path":[4,9,2,1,1],"span":[65,9,16]},{"path":[4,9,2,1,3],"span":[65,19,20]},{"path":[4,9,2,2],"span":[66,2,23]},{"path":[4,9,2,2,6],"span":[66,2,13]},{"path":[4,9,2,2,1],"span":[66,14,18]},{"path":[4,9,2,2,3],"span":[66,21,22]},{"path":[4,9,2,3],"span":[67,2,30]},{"path":[4,9,2,3,6],"span":[67,2,19]},{"path":[4,9,2,3,1],"span":[67,20,25]},{"path":[4,9,2,3,3],"span":[67,28,29]},{"path":[4,9,2,4],"span":[68,2,48]},{"path":[4,9,2,4,6],"span":[68,2,27]},{"path":[4,9,2,4,1],"span":[68,28,43]},{"path":[4,9,2,4,3],"span":[68,46,47]},{"path":[4,10],"span":[71,0,78,1]},{"path":[4,10,1],"span":[71,8,37]},{"path":[4,10,2,0],"span":[72,2,21]},{"path":[4,10,2,0,5],"span":[72,2,8]},{"path":[4,10,2,0,1],"span":[72,9,16]},{"path":[4,10,2,0,3],"span":[72,19,20]},{"path":[4,10,3,0],"span":[73,2,76,3]},{"path":[4,10,3,0,1],"span":[73,10,16]},{"path":[4,10,3,0,2,0],"span":[74,4,32]},{"path":[4,10,3,0,2,0,4],"span":[74,4,12]},{"path":[4,10,3,0,2,0,6],"span":[74,13,24]},{"path":[4,10,3,0,2,0,1],"span":[74,25,29]},{"path":[4,10,3,0,2,0,3],"span":[74,30,31]},{"path":[4,10,3,0,2,1],"span":[75,4,59]},{"path":[4,10,3,0,2,1,4],"span":[75,4,12]},{"path":[4,10,3,0,2,1,6],"span":[75,13,38]},{"path":[4,10,3,0,2,1,1],"span":[75,39,54]},{"path":[4,10,3,0,2,1,3],"span":[75,57,58]},{"path":[4,10,2,1],"span":[77,2,29]},{"path":[4,10,2,1,4],"span":[77,2,10]},{"path":[4,10,2,1,6],"span":[77,11,17]},{"path":[4,10,2,1,1],"span":[77,18,24]},{"path":[4,10,2,1,3],"span":[77,27,28]},{"path":[4,11],"span":[80,0,82,1]},{"path":[4,11,1],"span":[80,8,38]},{"path":[4,11,2,0],"span":[81,2,42]},{"path":[4,11,2,0,4],"span":[81,2,10]},{"path":[4,11,2,0,6],"span":[81,11,23]},{"path":[4,11,2,0,1],"span":[81,24,37]},{"path":[4,11,2,0,3],"span":[81,40,41]},{"path":[4,12],"span":[84,0,90,1]},{"path":[4,12,1],"span":[84,8,46]},{"path":[4,12,9],"span":[85,4,15]},{"path":[4,12,9,0],"span":[85,13,14]},{"path":[4,12,9,0,1],"span":[85,13,14]},{"path":[4,12,2,0],"span":[86,4,34]},{"path":[4,12,2,0,4],"span":[86,4,12]},{"path":[4,12,2,0,6],"span":[86,13,24]},{"path":[4,12,2,0,1],"span":[86,25,29]},{"path":[4,12,2,0,3],"span":[86,32,33]},{"path":[4,12,2,1],"span":[87,4,59]},{"path":[4,12,2,1,4],"span":[87,4,12]},{"path":[4,12,2,1,6],"span":[87,13,38]},{"path":[4,12,2,1,1],"span":[87,39,54]},{"path":[4,12,2,1,3],"span":[87,57,58]},{"path":[4,12,2,2],"span":[88,4,20]},{"path":[4,12,2,2,5],"span":[88,4,9]},{"path":[4,12,2,2,1],"span":[88,10,15]},{"path":[4,12,2,2,3],"span":[88,18,19]},{"path":[4,12,2,3],"span":[89,4,22]},{"path":[4,12,2,3,5],"span":[89,4,10]},{"path":[4,12,2,3,1],"span":[89,11,17]},{"path":[4,12,2,3,3],"span":[89,20,21]},{"path":[4,13],"span":[92,0,98,1]},{"path":[4,13,1],"span":[92,8,47]},{"path":[4,13,9],"span":[93,2,15]},{"path":[4,13,9,0],"span":[93,11,12]},{"path":[4,13,9,0,1],"span":[93,11,12]},{"path":[4,13,9,1],"span":[93,13,14]},{"path":[4,13,9,1,1],"span":[93,13,14]},{"path":[4,13,2,0],"span":[94,2,42]},{"path":[4,13,2,0,4],"span":[94,2,10]},{"path":[4,13,2,0,6],"span":[94,11,23]},{"path":[4,13,2,0,1],"span":[94,24,37]},{"path":[4,13,2,0,3],"span":[94,40,41]},{"path":[4,13,2,1],"span":[95,2,18]},{"path":[4,13,2,1,5],"span":[95,2,7]},{"path":[4,13,2,1,1],"span":[95,8,13]},{"path":[4,13,2,1,3],"span":[95,16,17]},{"path":[4,13,2,2],"span":[96,2,25]},{"path":[4,13,2,2,5],"span":[96,2,6]},{"path":[4,13,2,2,1],"span":[96,7,20]},{"path":[4,13,2,2,3],"span":[96,23,24]},{"path":[4,13,2,3],"span":[97,2,34]},{"path":[4,13,2,3,4],"span":[97,2,10]},{"path":[4,13,2,3,5],"span":[97,11,17]},{"path":[4,13,2,3,1],"span":[97,18,29]},{"path":[4,13,2,3,3],"span":[97,32,33]},{"path":[6,0],"span":[100,0,107,1]},{"path":[6,0,1],"span":[100,8,22]},{"path":[6,0,2,0],"span":[101,2,91]},{"path":[6,0,2,0,1],"span":[101,6,24]},{"path":[6,0,2,0,2],"span":[101,25,50]},{"path":[6,0,2,0,3],"span":[101,61,87]},{"path":[6,0,2,1],"span":[102,2,73]},{"path":[6,0,2,1,1],"span":[102,6,18]},{"path":[6,0,2,1,2],"span":[102,19,38]},{"path":[6,0,2,1,3],"span":[102,49,69]},{"path":[6,0,2,2],"span":[103,2,88]},{"path":[6,0,2,2,1],"span":[103,6,23]},{"path":[6,0,2,2,2],"span":[103,24,48]},{"path":[6,0,2,2,3],"span":[103,59,84]},{"path":[6,0,2,3],"span":[104,2,97]},{"path":[6,0,2,3,1],"span":[104,6,26]},{"path":[6,0,2,3,2],"span":[104,27,54]},{"path":[6,0,2,3,3],"span":[104,65,93]},{"path":[6,0,2,4],"span":[105,2,103]},{"path":[6,0,2,4,1],"span":[105,6,28]},{"path":[6,0,2,4,2],"span":[105,29,58]},{"path":[6,0,2,4,3],"span":[105,69,99]},{"path":[6,0,2,5],"span":[106,2,130]},{"path":[6,0,2,5,1],"span":[106,6,37]},{"path":[6,0,2,5,2],"span":[106,38,76]},{"path":[6,0,2,5,3],"span":[106,87,126]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"google/protobuf/timestamp.proto","package":"google.protobuf","messageType":[{"name":"Timestamp","field":[{"name":"seconds","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"seconds"},{"name":"nanos","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"nanos"}]}],"options":{"javaPackage":"com.google.protobuf","javaOuterClassname":"TimestampProto","javaMultipleFiles":true,"goPackage":"google.golang.org/protobuf/types/known/timestamppb","ccEnableArenas":true,"objcClassPrefix":"GPB","csharpNamespace":"Google.Protobuf.WellKnownTypes"},"sourceCodeInfo":{"location":[{"span":[30,0,146,1]},{"path":[12],"span":[30,0,18],"leadingDetachedComments":[" Protocol Buffers - Google's data interchange format\n Copyright 2008 Google Inc. All rights reserved.\n https://developers.google.com/protocol-buffers/\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions are\n met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following disclaimer\n in the documentation and/or other materials provided with the\n distribution.\n * Neither the name of Google Inc. nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n"]},{"path":[2],"span":[32,0,24]},{"path":[8],"span":[34,0,59]},{"path":[8,37],"span":[34,0,59]},{"path":[8],"span":[35,0,31]},{"path":[8,31],"span":[35,0,31]},{"path":[8],"span":[36,0,73]},{"path":[8,11],"span":[36,0,73]},{"path":[8],"span":[37,0,44]},{"path":[8,1],"span":[37,0,44]},{"path":[8],"span":[38,0,47]},{"path":[8,8],"span":[38,0,47]},{"path":[8],"span":[39,0,34]},{"path":[8,10],"span":[39,0,34]},{"path":[8],"span":[40,0,33]},{"path":[8,36],"span":[40,0,33]},{"path":[4,0],"span":[135,0,146,1],"leadingComments":" A Timestamp represents a point in time independent of any time zone or local\n calendar, encoded as a count of seconds and fractions of seconds at\n nanosecond resolution. The count is relative to an epoch at UTC midnight on\n January 1, 1970, in the proleptic Gregorian calendar which extends the\n Gregorian calendar backwards to year one.\n\n All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n second table is needed for interpretation, using a [24-hour linear\n smear](https://developers.google.com/time/smear).\n\n The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n restricting to that range, we ensure that we can convert to and from [RFC\n 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n # Examples\n\n Example 1: Compute Timestamp from POSIX `time()`.\n\n Timestamp timestamp;\n timestamp.set_seconds(time(NULL));\n timestamp.set_nanos(0);\n\n Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n struct timeval tv;\n gettimeofday(&tv, NULL);\n\n Timestamp timestamp;\n timestamp.set_seconds(tv.tv_sec);\n timestamp.set_nanos(tv.tv_usec * 1000);\n\n Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n FILETIME ft;\n GetSystemTimeAsFileTime(&ft);\n UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n Timestamp timestamp;\n timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\n Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n long millis = System.currentTimeMillis();\n\n Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n\n Example 5: Compute Timestamp from Java `Instant.now()`.\n\n Instant now = Instant.now();\n\n Timestamp timestamp =\n Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n .setNanos(now.getNano()).build();\n\n\n Example 6: Compute Timestamp from current time in Python.\n\n timestamp = Timestamp()\n timestamp.GetCurrentTime()\n\n # JSON Mapping\n\n In JSON format, the Timestamp type is encoded as a string in the\n [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n where {year} is always expressed using four digits while {month}, {day},\n {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n is required. A proto3 JSON serializer should always use UTC (as indicated by\n \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n able to accept both UTC and other timezones (as indicated by an offset).\n\n For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n 01:30 UTC on January 15, 2017.\n\n In JavaScript, one can convert a Date object to this format using the\n standard\n [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n method. In Python, a standard `datetime.datetime` object can be converted\n to this format using\n [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n the Joda Time's [`ISODateTimeFormat.dateTime()`](\n http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D\n ) to obtain a formatter capable of generating timestamps in this format.\n\n\n"},{"path":[4,0,1],"span":[135,8,17]},{"path":[4,0,2,0],"span":[139,2,20],"leadingComments":" Represents seconds of UTC time since Unix epoch\n 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n 9999-12-31T23:59:59Z inclusive.\n"},{"path":[4,0,2,0,5],"span":[139,2,7]},{"path":[4,0,2,0,1],"span":[139,8,15]},{"path":[4,0,2,0,3],"span":[139,18,19]},{"path":[4,0,2,1],"span":[145,2,18],"leadingComments":" Non-negative fractions of a second at nanosecond resolution. Negative\n second values with fractions must still have non-negative nanos values\n that count forward in time. Must be from 0 to 999,999,999\n inclusive.\n"},{"path":[4,0,2,1,5],"span":[145,2,7]},{"path":[4,0,2,1,1],"span":[145,8,13]},{"path":[4,0,2,1,3],"span":[145,16,17]}]},"syntax":"proto3","bufExtension":{"isImport":true,"isSyntaxUnspecified":false}},{"name":"proto/install.proto","package":"lansweeper.install.v1","dependency":["google/protobuf/timestamp.proto"],"messageType":[{"name":"SetPublicKeyRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"public_key","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"publicKey"},{"name":"signed_identity","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"signedIdentity"}]},{"name":"SetPublicKeyResponse"},{"name":"SetHubCertificateRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"hub_certificate","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"hubCertificate"}]},{"name":"SetHubCertificateResponse"},{"name":"RemoveHubCertificateRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"}]},{"name":"RemoveHubCertificateResponse"},{"name":"GetHubCertificatesRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_keys","number":2,"label":"LABEL_REPEATED","type":"TYPE_STRING","jsonName":"installKeys"}]},{"name":"GetHubCertificatesResponse","field":[{"name":"hub_certificates","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.HubCertificateInstallation","jsonName":"hubCertificates"}]},{"name":"HubCertificateInstallation","field":[{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"hub_certificate","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"hubCertificate"}]},{"name":"Installation","field":[{"name":"id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"id"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"type","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"state","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallStateValue","jsonName":"state"},{"name":"last_connection","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastConnection"},{"name":"display_name","number":7,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"displayName"}]},{"name":"GetInstallationsBySiteRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"filter","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.GetInstallationsBySiteRequest.Filter","oneofIndex":0,"jsonName":"filter","proto3Optional":true}],"nestedType":[{"name":"Filter","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true}],"oneofDecl":[{"name":"_last_connection"}]}],"oneofDecl":[{"name":"_filter"}]},{"name":"GetInstallationsBySiteResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"}]},{"name":"GetInstallationsByTypePaginatedRequest","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"},{"name":"cursor","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cursor"}],"oneofDecl":[{"name":"_last_connection"}],"reservedRange":[{"start":3,"end":4}]},{"name":"GetInstallationsByTypePaginatedResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"},{"name":"has_next_page","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"hasNextPage"},{"name":"next_cursor","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"nextCursor","proto3Optional":true}],"oneofDecl":[{"name":"_next_cursor"}],"reservedRange":[{"start":2,"end":3},{"start":3,"end":4}]}],"enumType":[{"name":"InstallType","value":[{"name":"IT","number":0},{"name":"OT","number":1},{"name":"IT_AGENT","number":2},{"name":"CLOUD","number":3},{"name":"NETWORK_DISCOVERY","number":4},{"name":"MANUAL","number":5}]},{"name":"InstallStateValue","value":[{"name":"UNESPECIFIED","number":0},{"name":"LINKED","number":1},{"name":"UNLINKED","number":2}]}],"service":[{"name":"InstallService","method":[{"name":"GetHubCertificates","inputType":".lansweeper.install.v1.GetHubCertificatesRequest","outputType":".lansweeper.install.v1.GetHubCertificatesResponse","options":{}},{"name":"SetPublicKey","inputType":".lansweeper.install.v1.SetPublicKeyRequest","outputType":".lansweeper.install.v1.SetPublicKeyResponse","options":{}},{"name":"SetHubCertificate","inputType":".lansweeper.install.v1.SetHubCertificateRequest","outputType":".lansweeper.install.v1.SetHubCertificateResponse","options":{}},{"name":"RemoveHubCertificate","inputType":".lansweeper.install.v1.RemoveHubCertificateRequest","outputType":".lansweeper.install.v1.RemoveHubCertificateResponse","options":{}},{"name":"GetInstallationsBySite","inputType":".lansweeper.install.v1.GetInstallationsBySiteRequest","outputType":".lansweeper.install.v1.GetInstallationsBySiteResponse","options":{}},{"name":"GetInstallationsByTypePaginated","inputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedRequest","outputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,109,1]},{"path":[12],"span":[0,0,18]},{"path":[3,0],"span":[2,0,41]},{"path":[2],"span":[4,0,30]},{"path":[8],"span":[6,0,37]},{"path":[8,11],"span":[6,0,37]},{"path":[4,0],"span":[8,0,13,1]},{"path":[4,0,1],"span":[8,8,27]},{"path":[4,0,2,0],"span":[9,2,21]},{"path":[4,0,2,0,5],"span":[9,2,8]},{"path":[4,0,2,0,1],"span":[9,9,16]},{"path":[4,0,2,0,3],"span":[9,19,20]},{"path":[4,0,2,1],"span":[10,2,25]},{"path":[4,0,2,1,5],"span":[10,2,8]},{"path":[4,0,2,1,1],"span":[10,9,20]},{"path":[4,0,2,1,3],"span":[10,23,24]},{"path":[4,0,2,2],"span":[11,2,24]},{"path":[4,0,2,2,5],"span":[11,2,8]},{"path":[4,0,2,2,1],"span":[11,9,19]},{"path":[4,0,2,2,3],"span":[11,22,23]},{"path":[4,0,2,3],"span":[12,2,29]},{"path":[4,0,2,3,5],"span":[12,2,8]},{"path":[4,0,2,3,1],"span":[12,9,24]},{"path":[4,0,2,3,3],"span":[12,27,28]},{"path":[4,1],"span":[15,0,16,1]},{"path":[4,1,1],"span":[15,8,28]},{"path":[4,2],"span":[18,0,22,1]},{"path":[4,2,1],"span":[18,8,32]},{"path":[4,2,2,0],"span":[19,2,21]},{"path":[4,2,2,0,5],"span":[19,2,8]},{"path":[4,2,2,0,1],"span":[19,9,16]},{"path":[4,2,2,0,3],"span":[19,19,20]},{"path":[4,2,2,1],"span":[20,2,25]},{"path":[4,2,2,1,5],"span":[20,2,8]},{"path":[4,2,2,1,1],"span":[20,9,20]},{"path":[4,2,2,1,3],"span":[20,23,24]},{"path":[4,2,2,2],"span":[21,2,29]},{"path":[4,2,2,2,5],"span":[21,2,8]},{"path":[4,2,2,2,1],"span":[21,9,24]},{"path":[4,2,2,2,3],"span":[21,27,28]},{"path":[4,3],"span":[24,0,25,1]},{"path":[4,3,1],"span":[24,8,33]},{"path":[4,4],"span":[27,0,30,1]},{"path":[4,4,1],"span":[27,8,35]},{"path":[4,4,2,0],"span":[28,2,21]},{"path":[4,4,2,0,5],"span":[28,2,8]},{"path":[4,4,2,0,1],"span":[28,9,16]},{"path":[4,4,2,0,3],"span":[28,19,20]},{"path":[4,4,2,1],"span":[29,2,25]},{"path":[4,4,2,1,5],"span":[29,2,8]},{"path":[4,4,2,1,1],"span":[29,9,20]},{"path":[4,4,2,1,3],"span":[29,23,24]},{"path":[4,5],"span":[32,0,33,1]},{"path":[4,5,1],"span":[32,8,36]},{"path":[4,6],"span":[35,0,38,1]},{"path":[4,6,1],"span":[35,8,33]},{"path":[4,6,2,0],"span":[36,2,21]},{"path":[4,6,2,0,5],"span":[36,2,8]},{"path":[4,6,2,0,1],"span":[36,9,16]},{"path":[4,6,2,0,3],"span":[36,19,20]},{"path":[4,6,2,1],"span":[37,2,35]},{"path":[4,6,2,1,4],"span":[37,2,10]},{"path":[4,6,2,1,5],"span":[37,11,17]},{"path":[4,6,2,1,1],"span":[37,18,30]},{"path":[4,6,2,1,3],"span":[37,33,34]},{"path":[4,7],"span":[40,0,42,1]},{"path":[4,7,1],"span":[40,8,34]},{"path":[4,7,2,0],"span":[41,2,59]},{"path":[4,7,2,0,4],"span":[41,2,10]},{"path":[4,7,2,0,6],"span":[41,11,37]},{"path":[4,7,2,0,1],"span":[41,38,54]},{"path":[4,7,2,0,3],"span":[41,57,58]},{"path":[4,8],"span":[44,0,47,1]},{"path":[4,8,1],"span":[44,8,34]},{"path":[4,8,2,0],"span":[45,2,25]},{"path":[4,8,2,0,5],"span":[45,2,8]},{"path":[4,8,2,0,1],"span":[45,9,20]},{"path":[4,8,2,0,3],"span":[45,23,24]},{"path":[4,8,2,1],"span":[46,2,29]},{"path":[4,8,2,1,5],"span":[46,2,8]},{"path":[4,8,2,1,1],"span":[46,9,24]},{"path":[4,8,2,1,3],"span":[46,27,28]},{"path":[5,0],"span":[49,0,56,1]},{"path":[5,0,1],"span":[49,5,16]},{"path":[5,0,2,0],"span":[50,2,7]},{"path":[5,0,2,0,1],"span":[50,2,4]},{"path":[5,0,2,0,2],"span":[50,5,6]},{"path":[5,0,2,1],"span":[51,2,7]},{"path":[5,0,2,1,1],"span":[51,2,4]},{"path":[5,0,2,1,2],"span":[51,5,6]},{"path":[5,0,2,2],"span":[52,2,13]},{"path":[5,0,2,2,1],"span":[52,2,10]},{"path":[5,0,2,2,2],"span":[52,11,12]},{"path":[5,0,2,3],"span":[53,2,10]},{"path":[5,0,2,3,1],"span":[53,2,7]},{"path":[5,0,2,3,2],"span":[53,8,9]},{"path":[5,0,2,4],"span":[54,2,22]},{"path":[5,0,2,4,1],"span":[54,2,19]},{"path":[5,0,2,4,2],"span":[54,20,21]},{"path":[5,0,2,5],"span":[55,2,11]},{"path":[5,0,2,5,1],"span":[55,2,8]},{"path":[5,0,2,5,2],"span":[55,9,10]},{"path":[5,1],"span":[58,0,62,1]},{"path":[5,1,1],"span":[58,5,22]},{"path":[5,1,2,0],"span":[59,2,19]},{"path":[5,1,2,0,1],"span":[59,2,14]},{"path":[5,1,2,0,2],"span":[59,17,18]},{"path":[5,1,2,1],"span":[60,2,13]},{"path":[5,1,2,1,1],"span":[60,2,8]},{"path":[5,1,2,1,2],"span":[60,11,12]},{"path":[5,1,2,2],"span":[61,2,15]},{"path":[5,1,2,2,1],"span":[61,2,10]},{"path":[5,1,2,2,2],"span":[61,13,14]},{"path":[4,9],"span":[64,0,71,1]},{"path":[4,9,1],"span":[64,8,20]},{"path":[4,9,2,0],"span":[65,2,16]},{"path":[4,9,2,0,5],"span":[65,2,8]},{"path":[4,9,2,0,1],"span":[65,9,11]},{"path":[4,9,2,0,3],"span":[65,14,15]},{"path":[4,9,2,1],"span":[66,2,21]},{"path":[4,9,2,1,5],"span":[66,2,8]},{"path":[4,9,2,1,1],"span":[66,9,16]},{"path":[4,9,2,1,3],"span":[66,19,20]},{"path":[4,9,2,2],"span":[67,2,23]},{"path":[4,9,2,2,6],"span":[67,2,13]},{"path":[4,9,2,2,1],"span":[67,14,18]},{"path":[4,9,2,2,3],"span":[67,21,22]},{"path":[4,9,2,3],"span":[68,2,30]},{"path":[4,9,2,3,6],"span":[68,2,19]},{"path":[4,9,2,3,1],"span":[68,20,25]},{"path":[4,9,2,3,3],"span":[68,28,29]},{"path":[4,9,2,4],"span":[69,2,48]},{"path":[4,9,2,4,6],"span":[69,2,27]},{"path":[4,9,2,4,1],"span":[69,28,43]},{"path":[4,9,2,4,3],"span":[69,46,47]},{"path":[4,9,2,5],"span":[70,2,26]},{"path":[4,9,2,5,5],"span":[70,2,8]},{"path":[4,9,2,5,1],"span":[70,9,21]},{"path":[4,9,2,5,3],"span":[70,24,25]},{"path":[4,10],"span":[73,0,80,1]},{"path":[4,10,1],"span":[73,8,37]},{"path":[4,10,2,0],"span":[74,2,21]},{"path":[4,10,2,0,5],"span":[74,2,8]},{"path":[4,10,2,0,1],"span":[74,9,16]},{"path":[4,10,2,0,3],"span":[74,19,20]},{"path":[4,10,3,0],"span":[75,2,78,3]},{"path":[4,10,3,0,1],"span":[75,10,16]},{"path":[4,10,3,0,2,0],"span":[76,4,32]},{"path":[4,10,3,0,2,0,4],"span":[76,4,12]},{"path":[4,10,3,0,2,0,6],"span":[76,13,24]},{"path":[4,10,3,0,2,0,1],"span":[76,25,29]},{"path":[4,10,3,0,2,0,3],"span":[76,30,31]},{"path":[4,10,3,0,2,1],"span":[77,4,59]},{"path":[4,10,3,0,2,1,4],"span":[77,4,12]},{"path":[4,10,3,0,2,1,6],"span":[77,13,38]},{"path":[4,10,3,0,2,1,1],"span":[77,39,54]},{"path":[4,10,3,0,2,1,3],"span":[77,57,58]},{"path":[4,10,2,1],"span":[79,2,29]},{"path":[4,10,2,1,4],"span":[79,2,10]},{"path":[4,10,2,1,6],"span":[79,11,17]},{"path":[4,10,2,1,1],"span":[79,18,24]},{"path":[4,10,2,1,3],"span":[79,27,28]},{"path":[4,11],"span":[82,0,84,1]},{"path":[4,11,1],"span":[82,8,38]},{"path":[4,11,2,0],"span":[83,2,42]},{"path":[4,11,2,0,4],"span":[83,2,10]},{"path":[4,11,2,0,6],"span":[83,11,23]},{"path":[4,11,2,0,1],"span":[83,24,37]},{"path":[4,11,2,0,3],"span":[83,40,41]},{"path":[4,12],"span":[86,0,92,1]},{"path":[4,12,1],"span":[86,8,46]},{"path":[4,12,9],"span":[87,4,15]},{"path":[4,12,9,0],"span":[87,13,14]},{"path":[4,12,9,0,1],"span":[87,13,14]},{"path":[4,12,2,0],"span":[88,4,34]},{"path":[4,12,2,0,4],"span":[88,4,12]},{"path":[4,12,2,0,6],"span":[88,13,24]},{"path":[4,12,2,0,1],"span":[88,25,29]},{"path":[4,12,2,0,3],"span":[88,32,33]},{"path":[4,12,2,1],"span":[89,4,59]},{"path":[4,12,2,1,4],"span":[89,4,12]},{"path":[4,12,2,1,6],"span":[89,13,38]},{"path":[4,12,2,1,1],"span":[89,39,54]},{"path":[4,12,2,1,3],"span":[89,57,58]},{"path":[4,12,2,2],"span":[90,4,20]},{"path":[4,12,2,2,5],"span":[90,4,9]},{"path":[4,12,2,2,1],"span":[90,10,15]},{"path":[4,12,2,2,3],"span":[90,18,19]},{"path":[4,12,2,3],"span":[91,4,22]},{"path":[4,12,2,3,5],"span":[91,4,10]},{"path":[4,12,2,3,1],"span":[91,11,17]},{"path":[4,12,2,3,3],"span":[91,20,21]},{"path":[4,13],"span":[94,0,100,1]},{"path":[4,13,1],"span":[94,8,47]},{"path":[4,13,9],"span":[95,2,15]},{"path":[4,13,9,0],"span":[95,11,12]},{"path":[4,13,9,0,1],"span":[95,11,12]},{"path":[4,13,9,1],"span":[95,13,14]},{"path":[4,13,9,1,1],"span":[95,13,14]},{"path":[4,13,2,0],"span":[96,2,42]},{"path":[4,13,2,0,4],"span":[96,2,10]},{"path":[4,13,2,0,6],"span":[96,11,23]},{"path":[4,13,2,0,1],"span":[96,24,37]},{"path":[4,13,2,0,3],"span":[96,40,41]},{"path":[4,13,2,1],"span":[97,2,18]},{"path":[4,13,2,1,5],"span":[97,2,7]},{"path":[4,13,2,1,1],"span":[97,8,13]},{"path":[4,13,2,1,3],"span":[97,16,17]},{"path":[4,13,2,2],"span":[98,2,25]},{"path":[4,13,2,2,5],"span":[98,2,6]},{"path":[4,13,2,2,1],"span":[98,7,20]},{"path":[4,13,2,2,3],"span":[98,23,24]},{"path":[4,13,2,3],"span":[99,2,34]},{"path":[4,13,2,3,4],"span":[99,2,10]},{"path":[4,13,2,3,5],"span":[99,11,17]},{"path":[4,13,2,3,1],"span":[99,18,29]},{"path":[4,13,2,3,3],"span":[99,32,33]},{"path":[6,0],"span":[102,0,109,1]},{"path":[6,0,1],"span":[102,8,22]},{"path":[6,0,2,0],"span":[103,2,91]},{"path":[6,0,2,0,1],"span":[103,6,24]},{"path":[6,0,2,0,2],"span":[103,25,50]},{"path":[6,0,2,0,3],"span":[103,61,87]},{"path":[6,0,2,1],"span":[104,2,73]},{"path":[6,0,2,1,1],"span":[104,6,18]},{"path":[6,0,2,1,2],"span":[104,19,38]},{"path":[6,0,2,1,3],"span":[104,49,69]},{"path":[6,0,2,2],"span":[105,2,88]},{"path":[6,0,2,2,1],"span":[105,6,23]},{"path":[6,0,2,2,2],"span":[105,24,48]},{"path":[6,0,2,2,3],"span":[105,59,84]},{"path":[6,0,2,3],"span":[106,2,97]},{"path":[6,0,2,3,1],"span":[106,6,26]},{"path":[6,0,2,3,2],"span":[106,27,54]},{"path":[6,0,2,3,3],"span":[106,65,93]},{"path":[6,0,2,4],"span":[107,2,103]},{"path":[6,0,2,4,1],"span":[107,6,28]},{"path":[6,0,2,4,2],"span":[107,29,58]},{"path":[6,0,2,4,3],"span":[107,69,99]},{"path":[6,0,2,5],"span":[108,2,130]},{"path":[6,0,2,5,1],"span":[108,6,37]},{"path":[6,0,2,5,2],"span":[108,38,76]},{"path":[6,0,2,5,3],"span":[108,87,126]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -220,6 +220,8 @@ export class Installation extends jspb.Message {
220
220
  clearLastConnection(): void;
221
221
  getLastConnection(): google_protobuf_timestamp_pb.Timestamp | undefined;
222
222
  setLastConnection(value?: google_protobuf_timestamp_pb.Timestamp): Installation;
223
+ getDisplayName(): string;
224
+ setDisplayName(value: string): Installation;
223
225
 
224
226
  serializeBinary(): Uint8Array;
225
227
  toObject(includeInstance?: boolean): Installation.AsObject;
@@ -238,6 +240,7 @@ export namespace Installation {
238
240
  type: InstallType,
239
241
  state: InstallStateValue,
240
242
  lastConnection?: google_protobuf_timestamp_pb.Timestamp.AsObject,
243
+ displayName: string,
241
244
  }
242
245
  }
243
246
 
@@ -393,6 +396,7 @@ export enum InstallType {
393
396
  IT_AGENT = 2,
394
397
  CLOUD = 3,
395
398
  NETWORK_DISCOVERY = 4,
399
+ MANUAL = 5,
396
400
  }
397
401
 
398
402
  export enum InstallStateValue {
@@ -1770,7 +1770,8 @@ proto.lansweeper.install.v1.Installation.toObject = function(includeInstance, ms
1770
1770
  siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1771
1771
  type: jspb.Message.getFieldWithDefault(msg, 3, 0),
1772
1772
  state: jspb.Message.getFieldWithDefault(msg, 4, 0),
1773
- lastConnection: (f = msg.getLastConnection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1773
+ lastConnection: (f = msg.getLastConnection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1774
+ displayName: jspb.Message.getFieldWithDefault(msg, 7, "")
1774
1775
  };
1775
1776
 
1776
1777
  if (includeInstance) {
@@ -1828,6 +1829,10 @@ proto.lansweeper.install.v1.Installation.deserializeBinaryFromReader = function(
1828
1829
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1829
1830
  msg.setLastConnection(value);
1830
1831
  break;
1832
+ case 7:
1833
+ var value = /** @type {string} */ (reader.readString());
1834
+ msg.setDisplayName(value);
1835
+ break;
1831
1836
  default:
1832
1837
  reader.skipField();
1833
1838
  break;
@@ -1893,6 +1898,13 @@ proto.lansweeper.install.v1.Installation.serializeBinaryToWriter = function(mess
1893
1898
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1894
1899
  );
1895
1900
  }
1901
+ f = message.getDisplayName();
1902
+ if (f.length > 0) {
1903
+ writer.writeString(
1904
+ 7,
1905
+ f
1906
+ );
1907
+ }
1896
1908
  };
1897
1909
 
1898
1910
 
@@ -2005,6 +2017,24 @@ proto.lansweeper.install.v1.Installation.prototype.hasLastConnection = function(
2005
2017
  };
2006
2018
 
2007
2019
 
2020
+ /**
2021
+ * optional string display_name = 7;
2022
+ * @return {string}
2023
+ */
2024
+ proto.lansweeper.install.v1.Installation.prototype.getDisplayName = function() {
2025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2026
+ };
2027
+
2028
+
2029
+ /**
2030
+ * @param {string} value
2031
+ * @return {!proto.lansweeper.install.v1.Installation} returns this
2032
+ */
2033
+ proto.lansweeper.install.v1.Installation.prototype.setDisplayName = function(value) {
2034
+ return jspb.Message.setProto3StringField(this, 7, value);
2035
+ };
2036
+
2037
+
2008
2038
 
2009
2039
 
2010
2040
 
@@ -3100,7 +3130,8 @@ proto.lansweeper.install.v1.InstallType = {
3100
3130
  OT: 1,
3101
3131
  IT_AGENT: 2,
3102
3132
  CLOUD: 3,
3103
- NETWORK_DISCOVERY: 4
3133
+ NETWORK_DISCOVERY: 4,
3134
+ MANUAL: 5
3104
3135
  };
3105
3136
 
3106
3137
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/install-api-grpc",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "install api grpc",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -16,5 +16,5 @@
16
16
  "devDependencies": {
17
17
  "@types/google-protobuf": "^3.15.5"
18
18
  },
19
- "gitHead": "edd1bcaa345152ab315c0351e4f3f89914b7ac96"
19
+ "gitHead": "e445104c6f62eb2d30eb5ae77bbef6bcbe0682e5"
20
20
  }
@@ -53,6 +53,7 @@ enum InstallType {
53
53
  IT_AGENT=2;
54
54
  CLOUD=3;
55
55
  NETWORK_DISCOVERY=4;
56
+ MANUAL=5;
56
57
  }
57
58
 
58
59
  enum InstallStateValue {
@@ -67,6 +68,7 @@ message Installation {
67
68
  InstallType type = 3;
68
69
  InstallStateValue state = 4;
69
70
  google.protobuf.Timestamp last_connection = 6;
71
+ string display_name = 7;
70
72
  }
71
73
 
72
74
  message GetInstallationsBySiteRequest {