@lansweeper/install-api-grpc 0.1.6 → 0.2.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.
@@ -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":"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}}]}
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":"version","number":8,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"version"}]},{"name":"GetInstallationsRequest","field":[{"name":"site_id_and_installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId","jsonName":"siteIdAndInstallations"}],"nestedType":[{"name":"SiteIdAndInstallationId","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"installation_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installationId"}]}]},{"name":"GetInstallationsResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"}]},{"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":"GetInstallations","inputType":".lansweeper.install.v1.GetInstallationsRequest","outputType":".lansweeper.install.v1.GetInstallationsResponse","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,123,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,72,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,9,2,6],"span":[71,2,21]},{"path":[4,9,2,6,5],"span":[71,2,8]},{"path":[4,9,2,6,1],"span":[71,9,16]},{"path":[4,9,2,6,3],"span":[71,19,20]},{"path":[4,10],"span":[74,0,80,1]},{"path":[4,10,1],"span":[74,8,31]},{"path":[4,10,3,0],"span":[75,2,78,3]},{"path":[4,10,3,0,1],"span":[75,10,33]},{"path":[4,10,3,0,2,0],"span":[76,4,23]},{"path":[4,10,3,0,2,0,5],"span":[76,4,10]},{"path":[4,10,3,0,2,0,1],"span":[76,11,18]},{"path":[4,10,3,0,2,0,3],"span":[76,21,22]},{"path":[4,10,3,0,2,1],"span":[77,4,31]},{"path":[4,10,3,0,2,1,5],"span":[77,4,10]},{"path":[4,10,3,0,2,1,1],"span":[77,11,26]},{"path":[4,10,3,0,2,1,3],"span":[77,29,30]},{"path":[4,10,2,0],"span":[79,2,65]},{"path":[4,10,2,0,4],"span":[79,2,10]},{"path":[4,10,2,0,6],"span":[79,11,34]},{"path":[4,10,2,0,1],"span":[79,35,60]},{"path":[4,10,2,0,3],"span":[79,63,64]},{"path":[4,11],"span":[82,0,84,1]},{"path":[4,11,1],"span":[82,8,32]},{"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,93,1]},{"path":[4,12,1],"span":[86,8,37]},{"path":[4,12,2,0],"span":[87,2,21]},{"path":[4,12,2,0,5],"span":[87,2,8]},{"path":[4,12,2,0,1],"span":[87,9,16]},{"path":[4,12,2,0,3],"span":[87,19,20]},{"path":[4,12,3,0],"span":[88,2,91,3]},{"path":[4,12,3,0,1],"span":[88,10,16]},{"path":[4,12,3,0,2,0],"span":[89,4,32]},{"path":[4,12,3,0,2,0,4],"span":[89,4,12]},{"path":[4,12,3,0,2,0,6],"span":[89,13,24]},{"path":[4,12,3,0,2,0,1],"span":[89,25,29]},{"path":[4,12,3,0,2,0,3],"span":[89,30,31]},{"path":[4,12,3,0,2,1],"span":[90,4,59]},{"path":[4,12,3,0,2,1,4],"span":[90,4,12]},{"path":[4,12,3,0,2,1,6],"span":[90,13,38]},{"path":[4,12,3,0,2,1,1],"span":[90,39,54]},{"path":[4,12,3,0,2,1,3],"span":[90,57,58]},{"path":[4,12,2,1],"span":[92,2,29]},{"path":[4,12,2,1,4],"span":[92,2,10]},{"path":[4,12,2,1,6],"span":[92,11,17]},{"path":[4,12,2,1,1],"span":[92,18,24]},{"path":[4,12,2,1,3],"span":[92,27,28]},{"path":[4,13],"span":[95,0,97,1]},{"path":[4,13,1],"span":[95,8,38]},{"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,14],"span":[99,0,105,1]},{"path":[4,14,1],"span":[99,8,46]},{"path":[4,14,9],"span":[100,4,15]},{"path":[4,14,9,0],"span":[100,13,14]},{"path":[4,14,9,0,1],"span":[100,13,14]},{"path":[4,14,2,0],"span":[101,4,34]},{"path":[4,14,2,0,4],"span":[101,4,12]},{"path":[4,14,2,0,6],"span":[101,13,24]},{"path":[4,14,2,0,1],"span":[101,25,29]},{"path":[4,14,2,0,3],"span":[101,32,33]},{"path":[4,14,2,1],"span":[102,4,59]},{"path":[4,14,2,1,4],"span":[102,4,12]},{"path":[4,14,2,1,6],"span":[102,13,38]},{"path":[4,14,2,1,1],"span":[102,39,54]},{"path":[4,14,2,1,3],"span":[102,57,58]},{"path":[4,14,2,2],"span":[103,4,20]},{"path":[4,14,2,2,5],"span":[103,4,9]},{"path":[4,14,2,2,1],"span":[103,10,15]},{"path":[4,14,2,2,3],"span":[103,18,19]},{"path":[4,14,2,3],"span":[104,4,22]},{"path":[4,14,2,3,5],"span":[104,4,10]},{"path":[4,14,2,3,1],"span":[104,11,17]},{"path":[4,14,2,3,3],"span":[104,20,21]},{"path":[4,15],"span":[107,0,113,1]},{"path":[4,15,1],"span":[107,8,47]},{"path":[4,15,9],"span":[108,2,15]},{"path":[4,15,9,0],"span":[108,11,12]},{"path":[4,15,9,0,1],"span":[108,11,12]},{"path":[4,15,9,1],"span":[108,13,14]},{"path":[4,15,9,1,1],"span":[108,13,14]},{"path":[4,15,2,0],"span":[109,2,42]},{"path":[4,15,2,0,4],"span":[109,2,10]},{"path":[4,15,2,0,6],"span":[109,11,23]},{"path":[4,15,2,0,1],"span":[109,24,37]},{"path":[4,15,2,0,3],"span":[109,40,41]},{"path":[4,15,2,1],"span":[110,2,18]},{"path":[4,15,2,1,5],"span":[110,2,7]},{"path":[4,15,2,1,1],"span":[110,8,13]},{"path":[4,15,2,1,3],"span":[110,16,17]},{"path":[4,15,2,2],"span":[111,2,25]},{"path":[4,15,2,2,5],"span":[111,2,6]},{"path":[4,15,2,2,1],"span":[111,7,20]},{"path":[4,15,2,2,3],"span":[111,23,24]},{"path":[4,15,2,3],"span":[112,2,34]},{"path":[4,15,2,3,4],"span":[112,2,10]},{"path":[4,15,2,3,5],"span":[112,11,17]},{"path":[4,15,2,3,1],"span":[112,18,29]},{"path":[4,15,2,3,3],"span":[112,32,33]},{"path":[6,0],"span":[115,0,123,1]},{"path":[6,0,1],"span":[115,8,22]},{"path":[6,0,2,0],"span":[116,2,91]},{"path":[6,0,2,0,1],"span":[116,6,24]},{"path":[6,0,2,0,2],"span":[116,25,50]},{"path":[6,0,2,0,3],"span":[116,61,87]},{"path":[6,0,2,1],"span":[117,2,73]},{"path":[6,0,2,1,1],"span":[117,6,18]},{"path":[6,0,2,1,2],"span":[117,19,38]},{"path":[6,0,2,1,3],"span":[117,49,69]},{"path":[6,0,2,2],"span":[118,2,88]},{"path":[6,0,2,2,1],"span":[118,6,23]},{"path":[6,0,2,2,2],"span":[118,24,48]},{"path":[6,0,2,2,3],"span":[118,59,84]},{"path":[6,0,2,3],"span":[119,2,97]},{"path":[6,0,2,3,1],"span":[119,6,26]},{"path":[6,0,2,3,2],"span":[119,27,54]},{"path":[6,0,2,3,3],"span":[119,65,93]},{"path":[6,0,2,4],"span":[120,2,85]},{"path":[6,0,2,4,1],"span":[120,6,22]},{"path":[6,0,2,4,2],"span":[120,23,46]},{"path":[6,0,2,4,3],"span":[120,57,81]},{"path":[6,0,2,5],"span":[121,2,103]},{"path":[6,0,2,5,1],"span":[121,6,28]},{"path":[6,0,2,5,2],"span":[121,29,58]},{"path":[6,0,2,5,3],"span":[121,69,99]},{"path":[6,0,2,6],"span":[122,2,130]},{"path":[6,0,2,6,1],"span":[122,6,37]},{"path":[6,0,2,6,2],"span":[122,38,76]},{"path":[6,0,2,6,3],"span":[122,87,126]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
@@ -13,6 +13,7 @@ interface IInstallServiceService extends grpc.ServiceDefinition<grpc.UntypedServ
13
13
  setPublicKey: IInstallServiceService_ISetPublicKey;
14
14
  setHubCertificate: IInstallServiceService_ISetHubCertificate;
15
15
  removeHubCertificate: IInstallServiceService_IRemoveHubCertificate;
16
+ getInstallations: IInstallServiceService_IGetInstallations;
16
17
  getInstallationsBySite: IInstallServiceService_IGetInstallationsBySite;
17
18
  getInstallationsByTypePaginated: IInstallServiceService_IGetInstallationsByTypePaginated;
18
19
  }
@@ -53,6 +54,15 @@ interface IInstallServiceService_IRemoveHubCertificate extends grpc.MethodDefini
53
54
  responseSerialize: grpc.serialize<install_pb.RemoveHubCertificateResponse>;
54
55
  responseDeserialize: grpc.deserialize<install_pb.RemoveHubCertificateResponse>;
55
56
  }
57
+ interface IInstallServiceService_IGetInstallations extends grpc.MethodDefinition<install_pb.GetInstallationsRequest, install_pb.GetInstallationsResponse> {
58
+ path: "/lansweeper.install.v1.InstallService/GetInstallations";
59
+ requestStream: false;
60
+ responseStream: false;
61
+ requestSerialize: grpc.serialize<install_pb.GetInstallationsRequest>;
62
+ requestDeserialize: grpc.deserialize<install_pb.GetInstallationsRequest>;
63
+ responseSerialize: grpc.serialize<install_pb.GetInstallationsResponse>;
64
+ responseDeserialize: grpc.deserialize<install_pb.GetInstallationsResponse>;
65
+ }
56
66
  interface IInstallServiceService_IGetInstallationsBySite extends grpc.MethodDefinition<install_pb.GetInstallationsBySiteRequest, install_pb.GetInstallationsBySiteResponse> {
57
67
  path: "/lansweeper.install.v1.InstallService/GetInstallationsBySite";
58
68
  requestStream: false;
@@ -79,6 +89,7 @@ export interface IInstallServiceServer extends grpc.UntypedServiceImplementation
79
89
  setPublicKey: grpc.handleUnaryCall<install_pb.SetPublicKeyRequest, install_pb.SetPublicKeyResponse>;
80
90
  setHubCertificate: grpc.handleUnaryCall<install_pb.SetHubCertificateRequest, install_pb.SetHubCertificateResponse>;
81
91
  removeHubCertificate: grpc.handleUnaryCall<install_pb.RemoveHubCertificateRequest, install_pb.RemoveHubCertificateResponse>;
92
+ getInstallations: grpc.handleUnaryCall<install_pb.GetInstallationsRequest, install_pb.GetInstallationsResponse>;
82
93
  getInstallationsBySite: grpc.handleUnaryCall<install_pb.GetInstallationsBySiteRequest, install_pb.GetInstallationsBySiteResponse>;
83
94
  getInstallationsByTypePaginated: grpc.handleUnaryCall<install_pb.GetInstallationsByTypePaginatedRequest, install_pb.GetInstallationsByTypePaginatedResponse>;
84
95
  }
@@ -96,6 +107,9 @@ export interface IInstallServiceClient {
96
107
  removeHubCertificate(request: install_pb.RemoveHubCertificateRequest, callback: (error: grpc.ServiceError | null, response: install_pb.RemoveHubCertificateResponse) => void): grpc.ClientUnaryCall;
97
108
  removeHubCertificate(request: install_pb.RemoveHubCertificateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: install_pb.RemoveHubCertificateResponse) => void): grpc.ClientUnaryCall;
98
109
  removeHubCertificate(request: install_pb.RemoveHubCertificateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: install_pb.RemoveHubCertificateResponse) => void): grpc.ClientUnaryCall;
110
+ getInstallations(request: install_pb.GetInstallationsRequest, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsResponse) => void): grpc.ClientUnaryCall;
111
+ getInstallations(request: install_pb.GetInstallationsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsResponse) => void): grpc.ClientUnaryCall;
112
+ getInstallations(request: install_pb.GetInstallationsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsResponse) => void): grpc.ClientUnaryCall;
99
113
  getInstallationsBySite(request: install_pb.GetInstallationsBySiteRequest, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsBySiteResponse) => void): grpc.ClientUnaryCall;
100
114
  getInstallationsBySite(request: install_pb.GetInstallationsBySiteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsBySiteResponse) => void): grpc.ClientUnaryCall;
101
115
  getInstallationsBySite(request: install_pb.GetInstallationsBySiteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsBySiteResponse) => void): grpc.ClientUnaryCall;
@@ -118,6 +132,9 @@ export class InstallServiceClient extends grpc.Client implements IInstallService
118
132
  public removeHubCertificate(request: install_pb.RemoveHubCertificateRequest, callback: (error: grpc.ServiceError | null, response: install_pb.RemoveHubCertificateResponse) => void): grpc.ClientUnaryCall;
119
133
  public removeHubCertificate(request: install_pb.RemoveHubCertificateRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: install_pb.RemoveHubCertificateResponse) => void): grpc.ClientUnaryCall;
120
134
  public removeHubCertificate(request: install_pb.RemoveHubCertificateRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: install_pb.RemoveHubCertificateResponse) => void): grpc.ClientUnaryCall;
135
+ public getInstallations(request: install_pb.GetInstallationsRequest, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsResponse) => void): grpc.ClientUnaryCall;
136
+ public getInstallations(request: install_pb.GetInstallationsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsResponse) => void): grpc.ClientUnaryCall;
137
+ public getInstallations(request: install_pb.GetInstallationsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsResponse) => void): grpc.ClientUnaryCall;
121
138
  public getInstallationsBySite(request: install_pb.GetInstallationsBySiteRequest, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsBySiteResponse) => void): grpc.ClientUnaryCall;
122
139
  public getInstallationsBySite(request: install_pb.GetInstallationsBySiteRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsBySiteResponse) => void): grpc.ClientUnaryCall;
123
140
  public getInstallationsBySite(request: install_pb.GetInstallationsBySiteRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: install_pb.GetInstallationsBySiteResponse) => void): grpc.ClientUnaryCall;
@@ -71,6 +71,28 @@ function deserialize_lansweeper_install_v1_GetInstallationsByTypePaginatedRespon
71
71
  return install_pb.GetInstallationsByTypePaginatedResponse.deserializeBinary(new Uint8Array(buffer_arg));
72
72
  }
73
73
 
74
+ function serialize_lansweeper_install_v1_GetInstallationsRequest(arg) {
75
+ if (!(arg instanceof install_pb.GetInstallationsRequest)) {
76
+ throw new Error('Expected argument of type lansweeper.install.v1.GetInstallationsRequest');
77
+ }
78
+ return Buffer.from(arg.serializeBinary());
79
+ }
80
+
81
+ function deserialize_lansweeper_install_v1_GetInstallationsRequest(buffer_arg) {
82
+ return install_pb.GetInstallationsRequest.deserializeBinary(new Uint8Array(buffer_arg));
83
+ }
84
+
85
+ function serialize_lansweeper_install_v1_GetInstallationsResponse(arg) {
86
+ if (!(arg instanceof install_pb.GetInstallationsResponse)) {
87
+ throw new Error('Expected argument of type lansweeper.install.v1.GetInstallationsResponse');
88
+ }
89
+ return Buffer.from(arg.serializeBinary());
90
+ }
91
+
92
+ function deserialize_lansweeper_install_v1_GetInstallationsResponse(buffer_arg) {
93
+ return install_pb.GetInstallationsResponse.deserializeBinary(new Uint8Array(buffer_arg));
94
+ }
95
+
74
96
  function serialize_lansweeper_install_v1_RemoveHubCertificateRequest(arg) {
75
97
  if (!(arg instanceof install_pb.RemoveHubCertificateRequest)) {
76
98
  throw new Error('Expected argument of type lansweeper.install.v1.RemoveHubCertificateRequest');
@@ -183,6 +205,17 @@ var InstallServiceService = exports.InstallServiceService = {
183
205
  responseSerialize: serialize_lansweeper_install_v1_RemoveHubCertificateResponse,
184
206
  responseDeserialize: deserialize_lansweeper_install_v1_RemoveHubCertificateResponse,
185
207
  },
208
+ getInstallations: {
209
+ path: '/lansweeper.install.v1.InstallService/GetInstallations',
210
+ requestStream: false,
211
+ responseStream: false,
212
+ requestType: install_pb.GetInstallationsRequest,
213
+ responseType: install_pb.GetInstallationsResponse,
214
+ requestSerialize: serialize_lansweeper_install_v1_GetInstallationsRequest,
215
+ requestDeserialize: deserialize_lansweeper_install_v1_GetInstallationsRequest,
216
+ responseSerialize: serialize_lansweeper_install_v1_GetInstallationsResponse,
217
+ responseDeserialize: deserialize_lansweeper_install_v1_GetInstallationsResponse,
218
+ },
186
219
  getInstallationsBySite: {
187
220
  path: '/lansweeper.install.v1.InstallService/GetInstallationsBySite',
188
221
  requestStream: false,
@@ -222,6 +222,8 @@ export class Installation extends jspb.Message {
222
222
  setLastConnection(value?: google_protobuf_timestamp_pb.Timestamp): Installation;
223
223
  getDisplayName(): string;
224
224
  setDisplayName(value: string): Installation;
225
+ getVersion(): string;
226
+ setVersion(value: string): Installation;
225
227
 
226
228
  serializeBinary(): Uint8Array;
227
229
  toObject(includeInstance?: boolean): Installation.AsObject;
@@ -241,6 +243,76 @@ export namespace Installation {
241
243
  state: InstallStateValue,
242
244
  lastConnection?: google_protobuf_timestamp_pb.Timestamp.AsObject,
243
245
  displayName: string,
246
+ version: string,
247
+ }
248
+ }
249
+
250
+ export class GetInstallationsRequest extends jspb.Message {
251
+ clearSiteIdAndInstallationsList(): void;
252
+ getSiteIdAndInstallationsList(): Array<GetInstallationsRequest.SiteIdAndInstallationId>;
253
+ setSiteIdAndInstallationsList(value: Array<GetInstallationsRequest.SiteIdAndInstallationId>): GetInstallationsRequest;
254
+ addSiteIdAndInstallations(value?: GetInstallationsRequest.SiteIdAndInstallationId, index?: number): GetInstallationsRequest.SiteIdAndInstallationId;
255
+
256
+ serializeBinary(): Uint8Array;
257
+ toObject(includeInstance?: boolean): GetInstallationsRequest.AsObject;
258
+ static toObject(includeInstance: boolean, msg: GetInstallationsRequest): GetInstallationsRequest.AsObject;
259
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
260
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
261
+ static serializeBinaryToWriter(message: GetInstallationsRequest, writer: jspb.BinaryWriter): void;
262
+ static deserializeBinary(bytes: Uint8Array): GetInstallationsRequest;
263
+ static deserializeBinaryFromReader(message: GetInstallationsRequest, reader: jspb.BinaryReader): GetInstallationsRequest;
264
+ }
265
+
266
+ export namespace GetInstallationsRequest {
267
+ export type AsObject = {
268
+ siteIdAndInstallationsList: Array<GetInstallationsRequest.SiteIdAndInstallationId.AsObject>,
269
+ }
270
+
271
+
272
+ export class SiteIdAndInstallationId extends jspb.Message {
273
+ getSiteId(): string;
274
+ setSiteId(value: string): SiteIdAndInstallationId;
275
+ getInstallationId(): string;
276
+ setInstallationId(value: string): SiteIdAndInstallationId;
277
+
278
+ serializeBinary(): Uint8Array;
279
+ toObject(includeInstance?: boolean): SiteIdAndInstallationId.AsObject;
280
+ static toObject(includeInstance: boolean, msg: SiteIdAndInstallationId): SiteIdAndInstallationId.AsObject;
281
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
282
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
283
+ static serializeBinaryToWriter(message: SiteIdAndInstallationId, writer: jspb.BinaryWriter): void;
284
+ static deserializeBinary(bytes: Uint8Array): SiteIdAndInstallationId;
285
+ static deserializeBinaryFromReader(message: SiteIdAndInstallationId, reader: jspb.BinaryReader): SiteIdAndInstallationId;
286
+ }
287
+
288
+ export namespace SiteIdAndInstallationId {
289
+ export type AsObject = {
290
+ siteId: string,
291
+ installationId: string,
292
+ }
293
+ }
294
+
295
+ }
296
+
297
+ export class GetInstallationsResponse extends jspb.Message {
298
+ clearInstallationsList(): void;
299
+ getInstallationsList(): Array<Installation>;
300
+ setInstallationsList(value: Array<Installation>): GetInstallationsResponse;
301
+ addInstallations(value?: Installation, index?: number): Installation;
302
+
303
+ serializeBinary(): Uint8Array;
304
+ toObject(includeInstance?: boolean): GetInstallationsResponse.AsObject;
305
+ static toObject(includeInstance: boolean, msg: GetInstallationsResponse): GetInstallationsResponse.AsObject;
306
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
307
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
308
+ static serializeBinaryToWriter(message: GetInstallationsResponse, writer: jspb.BinaryWriter): void;
309
+ static deserializeBinary(bytes: Uint8Array): GetInstallationsResponse;
310
+ static deserializeBinaryFromReader(message: GetInstallationsResponse, reader: jspb.BinaryReader): GetInstallationsResponse;
311
+ }
312
+
313
+ export namespace GetInstallationsResponse {
314
+ export type AsObject = {
315
+ installationsList: Array<Installation.AsObject>,
244
316
  }
245
317
  }
246
318
 
@@ -30,6 +30,9 @@ goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Fil
30
30
  goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsBySiteResponse', null, global);
31
31
  goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest', null, global);
32
32
  goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse', null, global);
33
+ goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsRequest', null, global);
34
+ goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId', null, global);
35
+ goog.exportSymbol('proto.lansweeper.install.v1.GetInstallationsResponse', null, global);
33
36
  goog.exportSymbol('proto.lansweeper.install.v1.HubCertificateInstallation', null, global);
34
37
  goog.exportSymbol('proto.lansweeper.install.v1.InstallStateValue', null, global);
35
38
  goog.exportSymbol('proto.lansweeper.install.v1.InstallType', null, global);
@@ -250,6 +253,69 @@ if (goog.DEBUG && !COMPILED) {
250
253
  */
251
254
  proto.lansweeper.install.v1.Installation.displayName = 'proto.lansweeper.install.v1.Installation';
252
255
  }
256
+ /**
257
+ * Generated by JsPbCodeGenerator.
258
+ * @param {Array=} opt_data Optional initial data array, typically from a
259
+ * server response, or constructed directly in Javascript. The array is used
260
+ * in place and becomes part of the constructed object. It is not cloned.
261
+ * If no data is provided, the constructed object will be empty, but still
262
+ * valid.
263
+ * @extends {jspb.Message}
264
+ * @constructor
265
+ */
266
+ proto.lansweeper.install.v1.GetInstallationsRequest = function(opt_data) {
267
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.install.v1.GetInstallationsRequest.repeatedFields_, null);
268
+ };
269
+ goog.inherits(proto.lansweeper.install.v1.GetInstallationsRequest, jspb.Message);
270
+ if (goog.DEBUG && !COMPILED) {
271
+ /**
272
+ * @public
273
+ * @override
274
+ */
275
+ proto.lansweeper.install.v1.GetInstallationsRequest.displayName = 'proto.lansweeper.install.v1.GetInstallationsRequest';
276
+ }
277
+ /**
278
+ * Generated by JsPbCodeGenerator.
279
+ * @param {Array=} opt_data Optional initial data array, typically from a
280
+ * server response, or constructed directly in Javascript. The array is used
281
+ * in place and becomes part of the constructed object. It is not cloned.
282
+ * If no data is provided, the constructed object will be empty, but still
283
+ * valid.
284
+ * @extends {jspb.Message}
285
+ * @constructor
286
+ */
287
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId = function(opt_data) {
288
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
289
+ };
290
+ goog.inherits(proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId, jspb.Message);
291
+ if (goog.DEBUG && !COMPILED) {
292
+ /**
293
+ * @public
294
+ * @override
295
+ */
296
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.displayName = 'proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId';
297
+ }
298
+ /**
299
+ * Generated by JsPbCodeGenerator.
300
+ * @param {Array=} opt_data Optional initial data array, typically from a
301
+ * server response, or constructed directly in Javascript. The array is used
302
+ * in place and becomes part of the constructed object. It is not cloned.
303
+ * If no data is provided, the constructed object will be empty, but still
304
+ * valid.
305
+ * @extends {jspb.Message}
306
+ * @constructor
307
+ */
308
+ proto.lansweeper.install.v1.GetInstallationsResponse = function(opt_data) {
309
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.install.v1.GetInstallationsResponse.repeatedFields_, null);
310
+ };
311
+ goog.inherits(proto.lansweeper.install.v1.GetInstallationsResponse, jspb.Message);
312
+ if (goog.DEBUG && !COMPILED) {
313
+ /**
314
+ * @public
315
+ * @override
316
+ */
317
+ proto.lansweeper.install.v1.GetInstallationsResponse.displayName = 'proto.lansweeper.install.v1.GetInstallationsResponse';
318
+ }
253
319
  /**
254
320
  * Generated by JsPbCodeGenerator.
255
321
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1771,7 +1837,8 @@ proto.lansweeper.install.v1.Installation.toObject = function(includeInstance, ms
1771
1837
  type: jspb.Message.getFieldWithDefault(msg, 3, 0),
1772
1838
  state: jspb.Message.getFieldWithDefault(msg, 4, 0),
1773
1839
  lastConnection: (f = msg.getLastConnection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1774
- displayName: jspb.Message.getFieldWithDefault(msg, 7, "")
1840
+ displayName: jspb.Message.getFieldWithDefault(msg, 7, ""),
1841
+ version: jspb.Message.getFieldWithDefault(msg, 8, "")
1775
1842
  };
1776
1843
 
1777
1844
  if (includeInstance) {
@@ -1833,6 +1900,10 @@ proto.lansweeper.install.v1.Installation.deserializeBinaryFromReader = function(
1833
1900
  var value = /** @type {string} */ (reader.readString());
1834
1901
  msg.setDisplayName(value);
1835
1902
  break;
1903
+ case 8:
1904
+ var value = /** @type {string} */ (reader.readString());
1905
+ msg.setVersion(value);
1906
+ break;
1836
1907
  default:
1837
1908
  reader.skipField();
1838
1909
  break;
@@ -1905,6 +1976,13 @@ proto.lansweeper.install.v1.Installation.serializeBinaryToWriter = function(mess
1905
1976
  f
1906
1977
  );
1907
1978
  }
1979
+ f = message.getVersion();
1980
+ if (f.length > 0) {
1981
+ writer.writeString(
1982
+ 8,
1983
+ f
1984
+ );
1985
+ }
1908
1986
  };
1909
1987
 
1910
1988
 
@@ -2035,6 +2113,504 @@ proto.lansweeper.install.v1.Installation.prototype.setDisplayName = function(val
2035
2113
  };
2036
2114
 
2037
2115
 
2116
+ /**
2117
+ * optional string version = 8;
2118
+ * @return {string}
2119
+ */
2120
+ proto.lansweeper.install.v1.Installation.prototype.getVersion = function() {
2121
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2122
+ };
2123
+
2124
+
2125
+ /**
2126
+ * @param {string} value
2127
+ * @return {!proto.lansweeper.install.v1.Installation} returns this
2128
+ */
2129
+ proto.lansweeper.install.v1.Installation.prototype.setVersion = function(value) {
2130
+ return jspb.Message.setProto3StringField(this, 8, value);
2131
+ };
2132
+
2133
+
2134
+
2135
+ /**
2136
+ * List of repeated fields within this message type.
2137
+ * @private {!Array<number>}
2138
+ * @const
2139
+ */
2140
+ proto.lansweeper.install.v1.GetInstallationsRequest.repeatedFields_ = [1];
2141
+
2142
+
2143
+
2144
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2145
+ /**
2146
+ * Creates an object representation of this proto.
2147
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2148
+ * Optional fields that are not set will be set to undefined.
2149
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2150
+ * For the list of reserved names please see:
2151
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2152
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2153
+ * JSPB instance for transitional soy proto support:
2154
+ * http://goto/soy-param-migration
2155
+ * @return {!Object}
2156
+ */
2157
+ proto.lansweeper.install.v1.GetInstallationsRequest.prototype.toObject = function(opt_includeInstance) {
2158
+ return proto.lansweeper.install.v1.GetInstallationsRequest.toObject(opt_includeInstance, this);
2159
+ };
2160
+
2161
+
2162
+ /**
2163
+ * Static version of the {@see toObject} method.
2164
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2165
+ * the JSPB instance for transitional soy proto support:
2166
+ * http://goto/soy-param-migration
2167
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest} msg The msg instance to transform.
2168
+ * @return {!Object}
2169
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2170
+ */
2171
+ proto.lansweeper.install.v1.GetInstallationsRequest.toObject = function(includeInstance, msg) {
2172
+ var f, obj = {
2173
+ siteIdAndInstallationsList: jspb.Message.toObjectList(msg.getSiteIdAndInstallationsList(),
2174
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.toObject, includeInstance)
2175
+ };
2176
+
2177
+ if (includeInstance) {
2178
+ obj.$jspbMessageInstance = msg;
2179
+ }
2180
+ return obj;
2181
+ };
2182
+ }
2183
+
2184
+
2185
+ /**
2186
+ * Deserializes binary data (in protobuf wire format).
2187
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2188
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest}
2189
+ */
2190
+ proto.lansweeper.install.v1.GetInstallationsRequest.deserializeBinary = function(bytes) {
2191
+ var reader = new jspb.BinaryReader(bytes);
2192
+ var msg = new proto.lansweeper.install.v1.GetInstallationsRequest;
2193
+ return proto.lansweeper.install.v1.GetInstallationsRequest.deserializeBinaryFromReader(msg, reader);
2194
+ };
2195
+
2196
+
2197
+ /**
2198
+ * Deserializes binary data (in protobuf wire format) from the
2199
+ * given reader into the given message object.
2200
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest} msg The message object to deserialize into.
2201
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2202
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest}
2203
+ */
2204
+ proto.lansweeper.install.v1.GetInstallationsRequest.deserializeBinaryFromReader = function(msg, reader) {
2205
+ while (reader.nextField()) {
2206
+ if (reader.isEndGroup()) {
2207
+ break;
2208
+ }
2209
+ var field = reader.getFieldNumber();
2210
+ switch (field) {
2211
+ case 1:
2212
+ var value = new proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId;
2213
+ reader.readMessage(value,proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.deserializeBinaryFromReader);
2214
+ msg.addSiteIdAndInstallations(value);
2215
+ break;
2216
+ default:
2217
+ reader.skipField();
2218
+ break;
2219
+ }
2220
+ }
2221
+ return msg;
2222
+ };
2223
+
2224
+
2225
+ /**
2226
+ * Serializes the message to binary data (in protobuf wire format).
2227
+ * @return {!Uint8Array}
2228
+ */
2229
+ proto.lansweeper.install.v1.GetInstallationsRequest.prototype.serializeBinary = function() {
2230
+ var writer = new jspb.BinaryWriter();
2231
+ proto.lansweeper.install.v1.GetInstallationsRequest.serializeBinaryToWriter(this, writer);
2232
+ return writer.getResultBuffer();
2233
+ };
2234
+
2235
+
2236
+ /**
2237
+ * Serializes the given message to binary data (in protobuf wire
2238
+ * format), writing to the given BinaryWriter.
2239
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest} message
2240
+ * @param {!jspb.BinaryWriter} writer
2241
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2242
+ */
2243
+ proto.lansweeper.install.v1.GetInstallationsRequest.serializeBinaryToWriter = function(message, writer) {
2244
+ var f = undefined;
2245
+ f = message.getSiteIdAndInstallationsList();
2246
+ if (f.length > 0) {
2247
+ writer.writeRepeatedMessage(
2248
+ 1,
2249
+ f,
2250
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.serializeBinaryToWriter
2251
+ );
2252
+ }
2253
+ };
2254
+
2255
+
2256
+
2257
+
2258
+
2259
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2260
+ /**
2261
+ * Creates an object representation of this proto.
2262
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2263
+ * Optional fields that are not set will be set to undefined.
2264
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2265
+ * For the list of reserved names please see:
2266
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2267
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2268
+ * JSPB instance for transitional soy proto support:
2269
+ * http://goto/soy-param-migration
2270
+ * @return {!Object}
2271
+ */
2272
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.prototype.toObject = function(opt_includeInstance) {
2273
+ return proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.toObject(opt_includeInstance, this);
2274
+ };
2275
+
2276
+
2277
+ /**
2278
+ * Static version of the {@see toObject} method.
2279
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2280
+ * the JSPB instance for transitional soy proto support:
2281
+ * http://goto/soy-param-migration
2282
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId} msg The msg instance to transform.
2283
+ * @return {!Object}
2284
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2285
+ */
2286
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.toObject = function(includeInstance, msg) {
2287
+ var f, obj = {
2288
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2289
+ installationId: jspb.Message.getFieldWithDefault(msg, 2, "")
2290
+ };
2291
+
2292
+ if (includeInstance) {
2293
+ obj.$jspbMessageInstance = msg;
2294
+ }
2295
+ return obj;
2296
+ };
2297
+ }
2298
+
2299
+
2300
+ /**
2301
+ * Deserializes binary data (in protobuf wire format).
2302
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2303
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId}
2304
+ */
2305
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.deserializeBinary = function(bytes) {
2306
+ var reader = new jspb.BinaryReader(bytes);
2307
+ var msg = new proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId;
2308
+ return proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.deserializeBinaryFromReader(msg, reader);
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * Deserializes binary data (in protobuf wire format) from the
2314
+ * given reader into the given message object.
2315
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId} msg The message object to deserialize into.
2316
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2317
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId}
2318
+ */
2319
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.deserializeBinaryFromReader = function(msg, reader) {
2320
+ while (reader.nextField()) {
2321
+ if (reader.isEndGroup()) {
2322
+ break;
2323
+ }
2324
+ var field = reader.getFieldNumber();
2325
+ switch (field) {
2326
+ case 1:
2327
+ var value = /** @type {string} */ (reader.readString());
2328
+ msg.setSiteId(value);
2329
+ break;
2330
+ case 2:
2331
+ var value = /** @type {string} */ (reader.readString());
2332
+ msg.setInstallationId(value);
2333
+ break;
2334
+ default:
2335
+ reader.skipField();
2336
+ break;
2337
+ }
2338
+ }
2339
+ return msg;
2340
+ };
2341
+
2342
+
2343
+ /**
2344
+ * Serializes the message to binary data (in protobuf wire format).
2345
+ * @return {!Uint8Array}
2346
+ */
2347
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.prototype.serializeBinary = function() {
2348
+ var writer = new jspb.BinaryWriter();
2349
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.serializeBinaryToWriter(this, writer);
2350
+ return writer.getResultBuffer();
2351
+ };
2352
+
2353
+
2354
+ /**
2355
+ * Serializes the given message to binary data (in protobuf wire
2356
+ * format), writing to the given BinaryWriter.
2357
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId} message
2358
+ * @param {!jspb.BinaryWriter} writer
2359
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2360
+ */
2361
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.serializeBinaryToWriter = function(message, writer) {
2362
+ var f = undefined;
2363
+ f = message.getSiteId();
2364
+ if (f.length > 0) {
2365
+ writer.writeString(
2366
+ 1,
2367
+ f
2368
+ );
2369
+ }
2370
+ f = message.getInstallationId();
2371
+ if (f.length > 0) {
2372
+ writer.writeString(
2373
+ 2,
2374
+ f
2375
+ );
2376
+ }
2377
+ };
2378
+
2379
+
2380
+ /**
2381
+ * optional string site_id = 1;
2382
+ * @return {string}
2383
+ */
2384
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.prototype.getSiteId = function() {
2385
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2386
+ };
2387
+
2388
+
2389
+ /**
2390
+ * @param {string} value
2391
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId} returns this
2392
+ */
2393
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.prototype.setSiteId = function(value) {
2394
+ return jspb.Message.setProto3StringField(this, 1, value);
2395
+ };
2396
+
2397
+
2398
+ /**
2399
+ * optional string installation_id = 2;
2400
+ * @return {string}
2401
+ */
2402
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.prototype.getInstallationId = function() {
2403
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2404
+ };
2405
+
2406
+
2407
+ /**
2408
+ * @param {string} value
2409
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId} returns this
2410
+ */
2411
+ proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId.prototype.setInstallationId = function(value) {
2412
+ return jspb.Message.setProto3StringField(this, 2, value);
2413
+ };
2414
+
2415
+
2416
+ /**
2417
+ * repeated SiteIdAndInstallationId site_id_and_installations = 1;
2418
+ * @return {!Array<!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId>}
2419
+ */
2420
+ proto.lansweeper.install.v1.GetInstallationsRequest.prototype.getSiteIdAndInstallationsList = function() {
2421
+ return /** @type{!Array<!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId>} */ (
2422
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId, 1));
2423
+ };
2424
+
2425
+
2426
+ /**
2427
+ * @param {!Array<!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId>} value
2428
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest} returns this
2429
+ */
2430
+ proto.lansweeper.install.v1.GetInstallationsRequest.prototype.setSiteIdAndInstallationsList = function(value) {
2431
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2432
+ };
2433
+
2434
+
2435
+ /**
2436
+ * @param {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId=} opt_value
2437
+ * @param {number=} opt_index
2438
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId}
2439
+ */
2440
+ proto.lansweeper.install.v1.GetInstallationsRequest.prototype.addSiteIdAndInstallations = function(opt_value, opt_index) {
2441
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.install.v1.GetInstallationsRequest.SiteIdAndInstallationId, opt_index);
2442
+ };
2443
+
2444
+
2445
+ /**
2446
+ * Clears the list making it empty but non-null.
2447
+ * @return {!proto.lansweeper.install.v1.GetInstallationsRequest} returns this
2448
+ */
2449
+ proto.lansweeper.install.v1.GetInstallationsRequest.prototype.clearSiteIdAndInstallationsList = function() {
2450
+ return this.setSiteIdAndInstallationsList([]);
2451
+ };
2452
+
2453
+
2454
+
2455
+ /**
2456
+ * List of repeated fields within this message type.
2457
+ * @private {!Array<number>}
2458
+ * @const
2459
+ */
2460
+ proto.lansweeper.install.v1.GetInstallationsResponse.repeatedFields_ = [1];
2461
+
2462
+
2463
+
2464
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2465
+ /**
2466
+ * Creates an object representation of this proto.
2467
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2468
+ * Optional fields that are not set will be set to undefined.
2469
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2470
+ * For the list of reserved names please see:
2471
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2472
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2473
+ * JSPB instance for transitional soy proto support:
2474
+ * http://goto/soy-param-migration
2475
+ * @return {!Object}
2476
+ */
2477
+ proto.lansweeper.install.v1.GetInstallationsResponse.prototype.toObject = function(opt_includeInstance) {
2478
+ return proto.lansweeper.install.v1.GetInstallationsResponse.toObject(opt_includeInstance, this);
2479
+ };
2480
+
2481
+
2482
+ /**
2483
+ * Static version of the {@see toObject} method.
2484
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2485
+ * the JSPB instance for transitional soy proto support:
2486
+ * http://goto/soy-param-migration
2487
+ * @param {!proto.lansweeper.install.v1.GetInstallationsResponse} msg The msg instance to transform.
2488
+ * @return {!Object}
2489
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2490
+ */
2491
+ proto.lansweeper.install.v1.GetInstallationsResponse.toObject = function(includeInstance, msg) {
2492
+ var f, obj = {
2493
+ installationsList: jspb.Message.toObjectList(msg.getInstallationsList(),
2494
+ proto.lansweeper.install.v1.Installation.toObject, includeInstance)
2495
+ };
2496
+
2497
+ if (includeInstance) {
2498
+ obj.$jspbMessageInstance = msg;
2499
+ }
2500
+ return obj;
2501
+ };
2502
+ }
2503
+
2504
+
2505
+ /**
2506
+ * Deserializes binary data (in protobuf wire format).
2507
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2508
+ * @return {!proto.lansweeper.install.v1.GetInstallationsResponse}
2509
+ */
2510
+ proto.lansweeper.install.v1.GetInstallationsResponse.deserializeBinary = function(bytes) {
2511
+ var reader = new jspb.BinaryReader(bytes);
2512
+ var msg = new proto.lansweeper.install.v1.GetInstallationsResponse;
2513
+ return proto.lansweeper.install.v1.GetInstallationsResponse.deserializeBinaryFromReader(msg, reader);
2514
+ };
2515
+
2516
+
2517
+ /**
2518
+ * Deserializes binary data (in protobuf wire format) from the
2519
+ * given reader into the given message object.
2520
+ * @param {!proto.lansweeper.install.v1.GetInstallationsResponse} msg The message object to deserialize into.
2521
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2522
+ * @return {!proto.lansweeper.install.v1.GetInstallationsResponse}
2523
+ */
2524
+ proto.lansweeper.install.v1.GetInstallationsResponse.deserializeBinaryFromReader = function(msg, reader) {
2525
+ while (reader.nextField()) {
2526
+ if (reader.isEndGroup()) {
2527
+ break;
2528
+ }
2529
+ var field = reader.getFieldNumber();
2530
+ switch (field) {
2531
+ case 1:
2532
+ var value = new proto.lansweeper.install.v1.Installation;
2533
+ reader.readMessage(value,proto.lansweeper.install.v1.Installation.deserializeBinaryFromReader);
2534
+ msg.addInstallations(value);
2535
+ break;
2536
+ default:
2537
+ reader.skipField();
2538
+ break;
2539
+ }
2540
+ }
2541
+ return msg;
2542
+ };
2543
+
2544
+
2545
+ /**
2546
+ * Serializes the message to binary data (in protobuf wire format).
2547
+ * @return {!Uint8Array}
2548
+ */
2549
+ proto.lansweeper.install.v1.GetInstallationsResponse.prototype.serializeBinary = function() {
2550
+ var writer = new jspb.BinaryWriter();
2551
+ proto.lansweeper.install.v1.GetInstallationsResponse.serializeBinaryToWriter(this, writer);
2552
+ return writer.getResultBuffer();
2553
+ };
2554
+
2555
+
2556
+ /**
2557
+ * Serializes the given message to binary data (in protobuf wire
2558
+ * format), writing to the given BinaryWriter.
2559
+ * @param {!proto.lansweeper.install.v1.GetInstallationsResponse} message
2560
+ * @param {!jspb.BinaryWriter} writer
2561
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2562
+ */
2563
+ proto.lansweeper.install.v1.GetInstallationsResponse.serializeBinaryToWriter = function(message, writer) {
2564
+ var f = undefined;
2565
+ f = message.getInstallationsList();
2566
+ if (f.length > 0) {
2567
+ writer.writeRepeatedMessage(
2568
+ 1,
2569
+ f,
2570
+ proto.lansweeper.install.v1.Installation.serializeBinaryToWriter
2571
+ );
2572
+ }
2573
+ };
2574
+
2575
+
2576
+ /**
2577
+ * repeated Installation installations = 1;
2578
+ * @return {!Array<!proto.lansweeper.install.v1.Installation>}
2579
+ */
2580
+ proto.lansweeper.install.v1.GetInstallationsResponse.prototype.getInstallationsList = function() {
2581
+ return /** @type{!Array<!proto.lansweeper.install.v1.Installation>} */ (
2582
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.install.v1.Installation, 1));
2583
+ };
2584
+
2585
+
2586
+ /**
2587
+ * @param {!Array<!proto.lansweeper.install.v1.Installation>} value
2588
+ * @return {!proto.lansweeper.install.v1.GetInstallationsResponse} returns this
2589
+ */
2590
+ proto.lansweeper.install.v1.GetInstallationsResponse.prototype.setInstallationsList = function(value) {
2591
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2592
+ };
2593
+
2594
+
2595
+ /**
2596
+ * @param {!proto.lansweeper.install.v1.Installation=} opt_value
2597
+ * @param {number=} opt_index
2598
+ * @return {!proto.lansweeper.install.v1.Installation}
2599
+ */
2600
+ proto.lansweeper.install.v1.GetInstallationsResponse.prototype.addInstallations = function(opt_value, opt_index) {
2601
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.install.v1.Installation, opt_index);
2602
+ };
2603
+
2604
+
2605
+ /**
2606
+ * Clears the list making it empty but non-null.
2607
+ * @return {!proto.lansweeper.install.v1.GetInstallationsResponse} returns this
2608
+ */
2609
+ proto.lansweeper.install.v1.GetInstallationsResponse.prototype.clearInstallationsList = function() {
2610
+ return this.setInstallationsList([]);
2611
+ };
2612
+
2613
+
2038
2614
 
2039
2615
 
2040
2616
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/install-api-grpc",
3
- "version": "0.1.6",
3
+ "version": "0.2.0",
4
4
  "description": "install api grpc",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -16,5 +16,9 @@
16
16
  "devDependencies": {
17
17
  "@types/google-protobuf": "^3.15.5"
18
18
  },
19
- "gitHead": "e445104c6f62eb2d30eb5ae77bbef6bcbe0682e5"
20
- }
19
+ "gitHead": "015ee2742f0ffa552a344148d21f1ed375a85d78",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/Lansweeper/lansweeperapis.git"
23
+ }
24
+ }
@@ -69,6 +69,19 @@ message Installation {
69
69
  InstallStateValue state = 4;
70
70
  google.protobuf.Timestamp last_connection = 6;
71
71
  string display_name = 7;
72
+ string version = 8;
73
+ }
74
+
75
+ message GetInstallationsRequest {
76
+ message SiteIdAndInstallationId {
77
+ string site_id = 1;
78
+ string installation_id = 2;
79
+ }
80
+ repeated SiteIdAndInstallationId site_id_and_installations = 1;
81
+ }
82
+
83
+ message GetInstallationsResponse {
84
+ repeated Installation installations = 1;
72
85
  }
73
86
 
74
87
  message GetInstallationsBySiteRequest {
@@ -105,6 +118,7 @@ service InstallService {
105
118
  rpc SetPublicKey(SetPublicKeyRequest) returns (SetPublicKeyResponse) {}
106
119
  rpc SetHubCertificate(SetHubCertificateRequest) returns (SetHubCertificateResponse) {}
107
120
  rpc RemoveHubCertificate(RemoveHubCertificateRequest) returns (RemoveHubCertificateResponse) {}
121
+ rpc GetInstallations(GetInstallationsRequest) returns (GetInstallationsResponse) {}
108
122
  rpc GetInstallationsBySite(GetInstallationsBySiteRequest) returns (GetInstallationsBySiteResponse) {}
109
123
  rpc GetInstallationsByTypePaginated(GetInstallationsByTypePaginatedRequest) returns (GetInstallationsByTypePaginatedResponse) {}
110
124
  }