@lansweeper/install-api-grpc 0.0.7 → 0.1.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.
- package/gen-proto/image.json +1 -1
- package/gen-proto/install_pb.d.ts +15 -16
- package/gen-proto/install_pb.js +54 -44
- package/package.json +2 -2
- package/proto/install.proto +3 -3
package/gen-proto/image.json
CHANGED
|
@@ -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":"synced_at","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"syncedAt"}]},{"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_OPTIONAL","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","oneofIndex":0,"jsonName":"type","proto3Optional":true},{"name":"synced_at","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":1,"jsonName":"syncedAt","proto3Optional":true}],"oneofDecl":[{"name":"_type"},{"name":"_synced_at"}]}],"oneofDecl":[{"name":"_filter"}]},{"name":"GetInstallationsBySiteResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"}]}],"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":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,90,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,42]},{"path":[4,9,2,4,6],"span":[68,2,27]},{"path":[4,9,2,4,1],"span":[68,28,37]},{"path":[4,9,2,4,3],"span":[68,40,41]},{"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,53]},{"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,48]},{"path":[4,10,3,0,2,1,3],"span":[75,51,52]},{"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":[6,0],"span":[84,0,90,1]},{"path":[6,0,1],"span":[84,8,22]},{"path":[6,0,2,0],"span":[85,2,91]},{"path":[6,0,2,0,1],"span":[85,6,24]},{"path":[6,0,2,0,2],"span":[85,25,50]},{"path":[6,0,2,0,3],"span":[85,61,87]},{"path":[6,0,2,1],"span":[86,2,73]},{"path":[6,0,2,1,1],"span":[86,6,18]},{"path":[6,0,2,1,2],"span":[86,19,38]},{"path":[6,0,2,1,3],"span":[86,49,69]},{"path":[6,0,2,2],"span":[87,2,88]},{"path":[6,0,2,2,1],"span":[87,6,23]},{"path":[6,0,2,2,2],"span":[87,24,48]},{"path":[6,0,2,2,3],"span":[87,59,84]},{"path":[6,0,2,3],"span":[88,2,97]},{"path":[6,0,2,3,1],"span":[88,6,26]},{"path":[6,0,2,3,2],"span":[88,27,54]},{"path":[6,0,2,3,3],"span":[88,65,93]},{"path":[6,0,2,4],"span":[89,2,103]},{"path":[6,0,2,4,1],"span":[89,6,28]},{"path":[6,0,2,4,2],"span":[89,29,58]},{"path":[6,0,2,4,3],"span":[89,69,99]}]},"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":"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"}]}],"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":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,90,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":[6,0],"span":[84,0,90,1]},{"path":[6,0,1],"span":[84,8,22]},{"path":[6,0,2,0],"span":[85,2,91]},{"path":[6,0,2,0,1],"span":[85,6,24]},{"path":[6,0,2,0,2],"span":[85,25,50]},{"path":[6,0,2,0,3],"span":[85,61,87]},{"path":[6,0,2,1],"span":[86,2,73]},{"path":[6,0,2,1,1],"span":[86,6,18]},{"path":[6,0,2,1,2],"span":[86,19,38]},{"path":[6,0,2,1,3],"span":[86,49,69]},{"path":[6,0,2,2],"span":[87,2,88]},{"path":[6,0,2,2,1],"span":[87,6,23]},{"path":[6,0,2,2,2],"span":[87,24,48]},{"path":[6,0,2,2,3],"span":[87,59,84]},{"path":[6,0,2,3],"span":[88,2,97]},{"path":[6,0,2,3,1],"span":[88,6,26]},{"path":[6,0,2,3,2],"span":[88,27,54]},{"path":[6,0,2,3,3],"span":[88,65,93]},{"path":[6,0,2,4],"span":[89,2,103]},{"path":[6,0,2,4,1],"span":[89,6,28]},{"path":[6,0,2,4,2],"span":[89,29,58]},{"path":[6,0,2,4,3],"span":[89,69,99]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -216,10 +216,10 @@ export class Installation extends jspb.Message {
|
|
|
216
216
|
getState(): InstallStateValue;
|
|
217
217
|
setState(value: InstallStateValue): Installation;
|
|
218
218
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
219
|
+
hasLastConnection(): boolean;
|
|
220
|
+
clearLastConnection(): void;
|
|
221
|
+
getLastConnection(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
222
|
+
setLastConnection(value?: google_protobuf_timestamp_pb.Timestamp): Installation;
|
|
223
223
|
|
|
224
224
|
serializeBinary(): Uint8Array;
|
|
225
225
|
toObject(includeInstance?: boolean): Installation.AsObject;
|
|
@@ -237,7 +237,7 @@ export namespace Installation {
|
|
|
237
237
|
siteId: string,
|
|
238
238
|
type: InstallType,
|
|
239
239
|
state: InstallStateValue,
|
|
240
|
-
|
|
240
|
+
lastConnection?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -268,16 +268,15 @@ export namespace GetInstallationsBySiteRequest {
|
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
export class Filter extends jspb.Message {
|
|
271
|
+
clearTypeList(): void;
|
|
272
|
+
getTypeList(): Array<InstallType>;
|
|
273
|
+
setTypeList(value: Array<InstallType>): Filter;
|
|
274
|
+
addType(value: InstallType, index?: number): InstallType;
|
|
271
275
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
hasSyncedAt(): boolean;
|
|
278
|
-
clearSyncedAt(): void;
|
|
279
|
-
getSyncedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
280
|
-
setSyncedAt(value?: google_protobuf_timestamp_pb.Timestamp): Filter;
|
|
276
|
+
hasLastConnection(): boolean;
|
|
277
|
+
clearLastConnection(): void;
|
|
278
|
+
getLastConnection(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
279
|
+
setLastConnection(value?: google_protobuf_timestamp_pb.Timestamp): Filter;
|
|
281
280
|
|
|
282
281
|
serializeBinary(): Uint8Array;
|
|
283
282
|
toObject(includeInstance?: boolean): Filter.AsObject;
|
|
@@ -291,8 +290,8 @@ export namespace GetInstallationsBySiteRequest {
|
|
|
291
290
|
|
|
292
291
|
export namespace Filter {
|
|
293
292
|
export type AsObject = {
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
typeList: Array<InstallType>,
|
|
294
|
+
lastConnection?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
296
295
|
}
|
|
297
296
|
}
|
|
298
297
|
|
package/gen-proto/install_pb.js
CHANGED
|
@@ -280,7 +280,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
280
280
|
* @constructor
|
|
281
281
|
*/
|
|
282
282
|
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter = function(opt_data) {
|
|
283
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
283
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.repeatedFields_, null);
|
|
284
284
|
};
|
|
285
285
|
goog.inherits(proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter, jspb.Message);
|
|
286
286
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1726,7 +1726,7 @@ proto.lansweeper.install.v1.Installation.toObject = function(includeInstance, ms
|
|
|
1726
1726
|
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1727
1727
|
type: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1728
1728
|
state: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1729
|
-
|
|
1729
|
+
lastConnection: (f = msg.getLastConnection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1730
1730
|
};
|
|
1731
1731
|
|
|
1732
1732
|
if (includeInstance) {
|
|
@@ -1779,10 +1779,10 @@ proto.lansweeper.install.v1.Installation.deserializeBinaryFromReader = function(
|
|
|
1779
1779
|
var value = /** @type {!proto.lansweeper.install.v1.InstallStateValue} */ (reader.readEnum());
|
|
1780
1780
|
msg.setState(value);
|
|
1781
1781
|
break;
|
|
1782
|
-
case
|
|
1782
|
+
case 6:
|
|
1783
1783
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1784
1784
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1785
|
-
msg.
|
|
1785
|
+
msg.setLastConnection(value);
|
|
1786
1786
|
break;
|
|
1787
1787
|
default:
|
|
1788
1788
|
reader.skipField();
|
|
@@ -1841,10 +1841,10 @@ proto.lansweeper.install.v1.Installation.serializeBinaryToWriter = function(mess
|
|
|
1841
1841
|
f
|
|
1842
1842
|
);
|
|
1843
1843
|
}
|
|
1844
|
-
f = message.
|
|
1844
|
+
f = message.getLastConnection();
|
|
1845
1845
|
if (f != null) {
|
|
1846
1846
|
writer.writeMessage(
|
|
1847
|
-
|
|
1847
|
+
6,
|
|
1848
1848
|
f,
|
|
1849
1849
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1850
1850
|
);
|
|
@@ -1925,12 +1925,12 @@ proto.lansweeper.install.v1.Installation.prototype.setState = function(value) {
|
|
|
1925
1925
|
|
|
1926
1926
|
|
|
1927
1927
|
/**
|
|
1928
|
-
* optional google.protobuf.Timestamp
|
|
1928
|
+
* optional google.protobuf.Timestamp last_connection = 6;
|
|
1929
1929
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1930
1930
|
*/
|
|
1931
|
-
proto.lansweeper.install.v1.Installation.prototype.
|
|
1931
|
+
proto.lansweeper.install.v1.Installation.prototype.getLastConnection = function() {
|
|
1932
1932
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1933
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp,
|
|
1933
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
1934
1934
|
};
|
|
1935
1935
|
|
|
1936
1936
|
|
|
@@ -1938,8 +1938,8 @@ proto.lansweeper.install.v1.Installation.prototype.getSyncedAt = function() {
|
|
|
1938
1938
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1939
1939
|
* @return {!proto.lansweeper.install.v1.Installation} returns this
|
|
1940
1940
|
*/
|
|
1941
|
-
proto.lansweeper.install.v1.Installation.prototype.
|
|
1942
|
-
return jspb.Message.setWrapperField(this,
|
|
1941
|
+
proto.lansweeper.install.v1.Installation.prototype.setLastConnection = function(value) {
|
|
1942
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1943
1943
|
};
|
|
1944
1944
|
|
|
1945
1945
|
|
|
@@ -1947,8 +1947,8 @@ proto.lansweeper.install.v1.Installation.prototype.setSyncedAt = function(value)
|
|
|
1947
1947
|
* Clears the message field making it undefined.
|
|
1948
1948
|
* @return {!proto.lansweeper.install.v1.Installation} returns this
|
|
1949
1949
|
*/
|
|
1950
|
-
proto.lansweeper.install.v1.Installation.prototype.
|
|
1951
|
-
return this.
|
|
1950
|
+
proto.lansweeper.install.v1.Installation.prototype.clearLastConnection = function() {
|
|
1951
|
+
return this.setLastConnection(undefined);
|
|
1952
1952
|
};
|
|
1953
1953
|
|
|
1954
1954
|
|
|
@@ -1956,8 +1956,8 @@ proto.lansweeper.install.v1.Installation.prototype.clearSyncedAt = function() {
|
|
|
1956
1956
|
* Returns whether this field is set.
|
|
1957
1957
|
* @return {boolean}
|
|
1958
1958
|
*/
|
|
1959
|
-
proto.lansweeper.install.v1.Installation.prototype.
|
|
1960
|
-
return jspb.Message.getField(this,
|
|
1959
|
+
proto.lansweeper.install.v1.Installation.prototype.hasLastConnection = function() {
|
|
1960
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1961
1961
|
};
|
|
1962
1962
|
|
|
1963
1963
|
|
|
@@ -2088,6 +2088,13 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.serializeBinaryToWrite
|
|
|
2088
2088
|
|
|
2089
2089
|
|
|
2090
2090
|
|
|
2091
|
+
/**
|
|
2092
|
+
* List of repeated fields within this message type.
|
|
2093
|
+
* @private {!Array<number>}
|
|
2094
|
+
* @const
|
|
2095
|
+
*/
|
|
2096
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.repeatedFields_ = [1];
|
|
2097
|
+
|
|
2091
2098
|
|
|
2092
2099
|
|
|
2093
2100
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2119,8 +2126,8 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.toObj
|
|
|
2119
2126
|
*/
|
|
2120
2127
|
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.toObject = function(includeInstance, msg) {
|
|
2121
2128
|
var f, obj = {
|
|
2122
|
-
|
|
2123
|
-
|
|
2129
|
+
typeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2130
|
+
lastConnection: (f = msg.getLastConnection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
2124
2131
|
};
|
|
2125
2132
|
|
|
2126
2133
|
if (includeInstance) {
|
|
@@ -2158,13 +2165,15 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.deserializeBina
|
|
|
2158
2165
|
var field = reader.getFieldNumber();
|
|
2159
2166
|
switch (field) {
|
|
2160
2167
|
case 1:
|
|
2161
|
-
var
|
|
2162
|
-
|
|
2168
|
+
var values = /** @type {!Array<!proto.lansweeper.install.v1.InstallType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
2169
|
+
for (var i = 0; i < values.length; i++) {
|
|
2170
|
+
msg.addType(values[i]);
|
|
2171
|
+
}
|
|
2163
2172
|
break;
|
|
2164
2173
|
case 2:
|
|
2165
2174
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
2166
2175
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
2167
|
-
msg.
|
|
2176
|
+
msg.setLastConnection(value);
|
|
2168
2177
|
break;
|
|
2169
2178
|
default:
|
|
2170
2179
|
reader.skipField();
|
|
@@ -2195,14 +2204,14 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.seria
|
|
|
2195
2204
|
*/
|
|
2196
2205
|
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.serializeBinaryToWriter = function(message, writer) {
|
|
2197
2206
|
var f = undefined;
|
|
2198
|
-
f =
|
|
2199
|
-
if (f
|
|
2200
|
-
writer.
|
|
2207
|
+
f = message.getTypeList();
|
|
2208
|
+
if (f.length > 0) {
|
|
2209
|
+
writer.writePackedEnum(
|
|
2201
2210
|
1,
|
|
2202
2211
|
f
|
|
2203
2212
|
);
|
|
2204
2213
|
}
|
|
2205
|
-
f = message.
|
|
2214
|
+
f = message.getLastConnection();
|
|
2206
2215
|
if (f != null) {
|
|
2207
2216
|
writer.writeMessage(
|
|
2208
2217
|
2,
|
|
@@ -2214,46 +2223,47 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.serializeBinary
|
|
|
2214
2223
|
|
|
2215
2224
|
|
|
2216
2225
|
/**
|
|
2217
|
-
*
|
|
2218
|
-
* @return {!proto.lansweeper.install.v1.InstallType}
|
|
2226
|
+
* repeated InstallType type = 1;
|
|
2227
|
+
* @return {!Array<!proto.lansweeper.install.v1.InstallType>}
|
|
2219
2228
|
*/
|
|
2220
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2221
|
-
return /** @type {!proto.lansweeper.install.v1.InstallType} */ (jspb.Message.
|
|
2229
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.getTypeList = function() {
|
|
2230
|
+
return /** @type {!Array<!proto.lansweeper.install.v1.InstallType>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2222
2231
|
};
|
|
2223
2232
|
|
|
2224
2233
|
|
|
2225
2234
|
/**
|
|
2226
|
-
* @param {!proto.lansweeper.install.v1.InstallType} value
|
|
2235
|
+
* @param {!Array<!proto.lansweeper.install.v1.InstallType>} value
|
|
2227
2236
|
* @return {!proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter} returns this
|
|
2228
2237
|
*/
|
|
2229
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2230
|
-
return jspb.Message.setField(this, 1, value);
|
|
2238
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.setTypeList = function(value) {
|
|
2239
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2231
2240
|
};
|
|
2232
2241
|
|
|
2233
2242
|
|
|
2234
2243
|
/**
|
|
2235
|
-
*
|
|
2244
|
+
* @param {!proto.lansweeper.install.v1.InstallType} value
|
|
2245
|
+
* @param {number=} opt_index
|
|
2236
2246
|
* @return {!proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter} returns this
|
|
2237
2247
|
*/
|
|
2238
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2239
|
-
return jspb.Message.
|
|
2248
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.addType = function(value, opt_index) {
|
|
2249
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2240
2250
|
};
|
|
2241
2251
|
|
|
2242
2252
|
|
|
2243
2253
|
/**
|
|
2244
|
-
*
|
|
2245
|
-
* @return {
|
|
2254
|
+
* Clears the list making it empty but non-null.
|
|
2255
|
+
* @return {!proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter} returns this
|
|
2246
2256
|
*/
|
|
2247
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2248
|
-
return
|
|
2257
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.clearTypeList = function() {
|
|
2258
|
+
return this.setTypeList([]);
|
|
2249
2259
|
};
|
|
2250
2260
|
|
|
2251
2261
|
|
|
2252
2262
|
/**
|
|
2253
|
-
* optional google.protobuf.Timestamp
|
|
2263
|
+
* optional google.protobuf.Timestamp last_connection = 2;
|
|
2254
2264
|
* @return {?proto.google.protobuf.Timestamp}
|
|
2255
2265
|
*/
|
|
2256
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2266
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.getLastConnection = function() {
|
|
2257
2267
|
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
2258
2268
|
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
2259
2269
|
};
|
|
@@ -2263,7 +2273,7 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.getSy
|
|
|
2263
2273
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
2264
2274
|
* @return {!proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter} returns this
|
|
2265
2275
|
*/
|
|
2266
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2276
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.setLastConnection = function(value) {
|
|
2267
2277
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2268
2278
|
};
|
|
2269
2279
|
|
|
@@ -2272,8 +2282,8 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.setSy
|
|
|
2272
2282
|
* Clears the message field making it undefined.
|
|
2273
2283
|
* @return {!proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter} returns this
|
|
2274
2284
|
*/
|
|
2275
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2276
|
-
return this.
|
|
2285
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.clearLastConnection = function() {
|
|
2286
|
+
return this.setLastConnection(undefined);
|
|
2277
2287
|
};
|
|
2278
2288
|
|
|
2279
2289
|
|
|
@@ -2281,7 +2291,7 @@ proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.clear
|
|
|
2281
2291
|
* Returns whether this field is set.
|
|
2282
2292
|
* @return {boolean}
|
|
2283
2293
|
*/
|
|
2284
|
-
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.
|
|
2294
|
+
proto.lansweeper.install.v1.GetInstallationsBySiteRequest.Filter.prototype.hasLastConnection = function() {
|
|
2285
2295
|
return jspb.Message.getField(this, 2) != null;
|
|
2286
2296
|
};
|
|
2287
2297
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/install-api-grpc",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.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,5 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/google-protobuf": "^3.15.5"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "44a72b1059911838db197d6f4d3e7c77449a46f4"
|
|
20
20
|
}
|
package/proto/install.proto
CHANGED
|
@@ -66,14 +66,14 @@ message Installation {
|
|
|
66
66
|
string site_id = 2;
|
|
67
67
|
InstallType type = 3;
|
|
68
68
|
InstallStateValue state = 4;
|
|
69
|
-
google.protobuf.Timestamp
|
|
69
|
+
google.protobuf.Timestamp last_connection = 6;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
message GetInstallationsBySiteRequest {
|
|
73
73
|
string site_id = 1;
|
|
74
74
|
message Filter {
|
|
75
|
-
|
|
76
|
-
optional google.protobuf.Timestamp
|
|
75
|
+
repeated InstallType type=1;
|
|
76
|
+
optional google.protobuf.Timestamp last_connection = 2;
|
|
77
77
|
}
|
|
78
78
|
optional Filter filter = 2;
|
|
79
79
|
}
|