@lansweeper/install-api-grpc 0.1.2 → 0.1.4
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 +9 -9
- package/gen-proto/install_pb.js +64 -76
- package/package.json +2 -2
- package/proto/install.proto +4 -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":"last_connection","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","jsonName":"lastConnection"}]},{"name":"GetInstallationsBySiteRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"filter","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.GetInstallationsBySiteRequest.Filter","oneofIndex":0,"jsonName":"filter","proto3Optional":true}],"nestedType":[{"name":"Filter","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true}],"oneofDecl":[{"name":"_last_connection"}]}],"oneofDecl":[{"name":"_filter"}]},{"name":"GetInstallationsBySiteResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"}]},{"name":"GetInstallationsByTypePaginatedRequest","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true},{"name":"offset","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"offset"},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"}],"oneofDecl":[{"name":"_last_connection"}]},{"name":"GetInstallationsByTypePaginatedResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"},{"name":"total","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"total"},{"name":"offset","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"offset"},{"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"}]}],"enumType":[{"name":"InstallType","value":[{"name":"IT","number":0},{"name":"OT","number":1},{"name":"IT_AGENT","number":2},{"name":"CLOUD","number":3},{"name":"NETWORK_DISCOVERY","number":4}]},{"name":"InstallStateValue","value":[{"name":"UNESPECIFIED","number":0},{"name":"LINKED","number":1},{"name":"UNLINKED","number":2}]}],"service":[{"name":"InstallService","method":[{"name":"GetHubCertificates","inputType":".lansweeper.install.v1.GetHubCertificatesRequest","outputType":".lansweeper.install.v1.GetHubCertificatesResponse","options":{}},{"name":"SetPublicKey","inputType":".lansweeper.install.v1.SetPublicKeyRequest","outputType":".lansweeper.install.v1.SetPublicKeyResponse","options":{}},{"name":"SetHubCertificate","inputType":".lansweeper.install.v1.SetHubCertificateRequest","outputType":".lansweeper.install.v1.SetHubCertificateResponse","options":{}},{"name":"RemoveHubCertificate","inputType":".lansweeper.install.v1.RemoveHubCertificateRequest","outputType":".lansweeper.install.v1.RemoveHubCertificateResponse","options":{}},{"name":"GetInstallationsBySite","inputType":".lansweeper.install.v1.GetInstallationsBySiteRequest","outputType":".lansweeper.install.v1.GetInstallationsBySiteResponse","options":{}},{"name":"GetInstallationsByTypePaginated","inputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedRequest","outputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,106,1]},{"path":[12],"span":[0,0,18]},{"path":[3,0],"span":[2,0,41]},{"path":[2],"span":[4,0,30]},{"path":[8],"span":[6,0,37]},{"path":[8,11],"span":[6,0,37]},{"path":[4,0],"span":[8,0,13,1]},{"path":[4,0,1],"span":[8,8,27]},{"path":[4,0,2,0],"span":[9,2,21]},{"path":[4,0,2,0,5],"span":[9,2,8]},{"path":[4,0,2,0,1],"span":[9,9,16]},{"path":[4,0,2,0,3],"span":[9,19,20]},{"path":[4,0,2,1],"span":[10,2,25]},{"path":[4,0,2,1,5],"span":[10,2,8]},{"path":[4,0,2,1,1],"span":[10,9,20]},{"path":[4,0,2,1,3],"span":[10,23,24]},{"path":[4,0,2,2],"span":[11,2,24]},{"path":[4,0,2,2,5],"span":[11,2,8]},{"path":[4,0,2,2,1],"span":[11,9,19]},{"path":[4,0,2,2,3],"span":[11,22,23]},{"path":[4,0,2,3],"span":[12,2,29]},{"path":[4,0,2,3,5],"span":[12,2,8]},{"path":[4,0,2,3,1],"span":[12,9,24]},{"path":[4,0,2,3,3],"span":[12,27,28]},{"path":[4,1],"span":[15,0,16,1]},{"path":[4,1,1],"span":[15,8,28]},{"path":[4,2],"span":[18,0,22,1]},{"path":[4,2,1],"span":[18,8,32]},{"path":[4,2,2,0],"span":[19,2,21]},{"path":[4,2,2,0,5],"span":[19,2,8]},{"path":[4,2,2,0,1],"span":[19,9,16]},{"path":[4,2,2,0,3],"span":[19,19,20]},{"path":[4,2,2,1],"span":[20,2,25]},{"path":[4,2,2,1,5],"span":[20,2,8]},{"path":[4,2,2,1,1],"span":[20,9,20]},{"path":[4,2,2,1,3],"span":[20,23,24]},{"path":[4,2,2,2],"span":[21,2,29]},{"path":[4,2,2,2,5],"span":[21,2,8]},{"path":[4,2,2,2,1],"span":[21,9,24]},{"path":[4,2,2,2,3],"span":[21,27,28]},{"path":[4,3],"span":[24,0,25,1]},{"path":[4,3,1],"span":[24,8,33]},{"path":[4,4],"span":[27,0,30,1]},{"path":[4,4,1],"span":[27,8,35]},{"path":[4,4,2,0],"span":[28,2,21]},{"path":[4,4,2,0,5],"span":[28,2,8]},{"path":[4,4,2,0,1],"span":[28,9,16]},{"path":[4,4,2,0,3],"span":[28,19,20]},{"path":[4,4,2,1],"span":[29,2,25]},{"path":[4,4,2,1,5],"span":[29,2,8]},{"path":[4,4,2,1,1],"span":[29,9,20]},{"path":[4,4,2,1,3],"span":[29,23,24]},{"path":[4,5],"span":[32,0,33,1]},{"path":[4,5,1],"span":[32,8,36]},{"path":[4,6],"span":[35,0,38,1]},{"path":[4,6,1],"span":[35,8,33]},{"path":[4,6,2,0],"span":[36,2,21]},{"path":[4,6,2,0,5],"span":[36,2,8]},{"path":[4,6,2,0,1],"span":[36,9,16]},{"path":[4,6,2,0,3],"span":[36,19,20]},{"path":[4,6,2,1],"span":[37,2,35]},{"path":[4,6,2,1,4],"span":[37,2,10]},{"path":[4,6,2,1,5],"span":[37,11,17]},{"path":[4,6,2,1,1],"span":[37,18,30]},{"path":[4,6,2,1,3],"span":[37,33,34]},{"path":[4,7],"span":[40,0,42,1]},{"path":[4,7,1],"span":[40,8,34]},{"path":[4,7,2,0],"span":[41,2,59]},{"path":[4,7,2,0,4],"span":[41,2,10]},{"path":[4,7,2,0,6],"span":[41,11,37]},{"path":[4,7,2,0,1],"span":[41,38,54]},{"path":[4,7,2,0,3],"span":[41,57,58]},{"path":[4,8],"span":[44,0,47,1]},{"path":[4,8,1],"span":[44,8,34]},{"path":[4,8,2,0],"span":[45,2,25]},{"path":[4,8,2,0,5],"span":[45,2,8]},{"path":[4,8,2,0,1],"span":[45,9,20]},{"path":[4,8,2,0,3],"span":[45,23,24]},{"path":[4,8,2,1],"span":[46,2,29]},{"path":[4,8,2,1,5],"span":[46,2,8]},{"path":[4,8,2,1,1],"span":[46,9,24]},{"path":[4,8,2,1,3],"span":[46,27,28]},{"path":[5,0],"span":[49,0,55,1]},{"path":[5,0,1],"span":[49,5,16]},{"path":[5,0,2,0],"span":[50,2,7]},{"path":[5,0,2,0,1],"span":[50,2,4]},{"path":[5,0,2,0,2],"span":[50,5,6]},{"path":[5,0,2,1],"span":[51,2,7]},{"path":[5,0,2,1,1],"span":[51,2,4]},{"path":[5,0,2,1,2],"span":[51,5,6]},{"path":[5,0,2,2],"span":[52,2,13]},{"path":[5,0,2,2,1],"span":[52,2,10]},{"path":[5,0,2,2,2],"span":[52,11,12]},{"path":[5,0,2,3],"span":[53,2,10]},{"path":[5,0,2,3,1],"span":[53,2,7]},{"path":[5,0,2,3,2],"span":[53,8,9]},{"path":[5,0,2,4],"span":[54,2,22]},{"path":[5,0,2,4,1],"span":[54,2,19]},{"path":[5,0,2,4,2],"span":[54,20,21]},{"path":[5,1],"span":[57,0,61,1]},{"path":[5,1,1],"span":[57,5,22]},{"path":[5,1,2,0],"span":[58,2,19]},{"path":[5,1,2,0,1],"span":[58,2,14]},{"path":[5,1,2,0,2],"span":[58,17,18]},{"path":[5,1,2,1],"span":[59,2,13]},{"path":[5,1,2,1,1],"span":[59,2,8]},{"path":[5,1,2,1,2],"span":[59,11,12]},{"path":[5,1,2,2],"span":[60,2,15]},{"path":[5,1,2,2,1],"span":[60,2,10]},{"path":[5,1,2,2,2],"span":[60,13,14]},{"path":[4,9],"span":[63,0,69,1]},{"path":[4,9,1],"span":[63,8,20]},{"path":[4,9,2,0],"span":[64,2,16]},{"path":[4,9,2,0,5],"span":[64,2,8]},{"path":[4,9,2,0,1],"span":[64,9,11]},{"path":[4,9,2,0,3],"span":[64,14,15]},{"path":[4,9,2,1],"span":[65,2,21]},{"path":[4,9,2,1,5],"span":[65,2,8]},{"path":[4,9,2,1,1],"span":[65,9,16]},{"path":[4,9,2,1,3],"span":[65,19,20]},{"path":[4,9,2,2],"span":[66,2,23]},{"path":[4,9,2,2,6],"span":[66,2,13]},{"path":[4,9,2,2,1],"span":[66,14,18]},{"path":[4,9,2,2,3],"span":[66,21,22]},{"path":[4,9,2,3],"span":[67,2,30]},{"path":[4,9,2,3,6],"span":[67,2,19]},{"path":[4,9,2,3,1],"span":[67,20,25]},{"path":[4,9,2,3,3],"span":[67,28,29]},{"path":[4,9,2,4],"span":[68,2,48]},{"path":[4,9,2,4,6],"span":[68,2,27]},{"path":[4,9,2,4,1],"span":[68,28,43]},{"path":[4,9,2,4,3],"span":[68,46,47]},{"path":[4,10],"span":[71,0,78,1]},{"path":[4,10,1],"span":[71,8,37]},{"path":[4,10,2,0],"span":[72,2,21]},{"path":[4,10,2,0,5],"span":[72,2,8]},{"path":[4,10,2,0,1],"span":[72,9,16]},{"path":[4,10,2,0,3],"span":[72,19,20]},{"path":[4,10,3,0],"span":[73,2,76,3]},{"path":[4,10,3,0,1],"span":[73,10,16]},{"path":[4,10,3,0,2,0],"span":[74,4,32]},{"path":[4,10,3,0,2,0,4],"span":[74,4,12]},{"path":[4,10,3,0,2,0,6],"span":[74,13,24]},{"path":[4,10,3,0,2,0,1],"span":[74,25,29]},{"path":[4,10,3,0,2,0,3],"span":[74,30,31]},{"path":[4,10,3,0,2,1],"span":[75,4,59]},{"path":[4,10,3,0,2,1,4],"span":[75,4,12]},{"path":[4,10,3,0,2,1,6],"span":[75,13,38]},{"path":[4,10,3,0,2,1,1],"span":[75,39,54]},{"path":[4,10,3,0,2,1,3],"span":[75,57,58]},{"path":[4,10,2,1],"span":[77,2,29]},{"path":[4,10,2,1,4],"span":[77,2,10]},{"path":[4,10,2,1,6],"span":[77,11,17]},{"path":[4,10,2,1,1],"span":[77,18,24]},{"path":[4,10,2,1,3],"span":[77,27,28]},{"path":[4,11],"span":[80,0,82,1]},{"path":[4,11,1],"span":[80,8,38]},{"path":[4,11,2,0],"span":[81,2,42]},{"path":[4,11,2,0,4],"span":[81,2,10]},{"path":[4,11,2,0,6],"span":[81,11,23]},{"path":[4,11,2,0,1],"span":[81,24,37]},{"path":[4,11,2,0,3],"span":[81,40,41]},{"path":[4,12],"span":[84,0,89,1]},{"path":[4,12,1],"span":[84,8,46]},{"path":[4,12,2,0],"span":[85,4,34]},{"path":[4,12,2,0,4],"span":[85,4,12]},{"path":[4,12,2,0,6],"span":[85,13,24]},{"path":[4,12,2,0,1],"span":[85,25,29]},{"path":[4,12,2,0,3],"span":[85,32,33]},{"path":[4,12,2,1],"span":[86,4,59]},{"path":[4,12,2,1,4],"span":[86,4,12]},{"path":[4,12,2,1,6],"span":[86,13,38]},{"path":[4,12,2,1,1],"span":[86,39,54]},{"path":[4,12,2,1,3],"span":[86,57,58]},{"path":[4,12,2,2],"span":[87,4,21]},{"path":[4,12,2,2,5],"span":[87,4,9]},{"path":[4,12,2,2,1],"span":[87,10,16]},{"path":[4,12,2,2,3],"span":[87,19,20]},{"path":[4,12,2,3],"span":[88,4,20]},{"path":[4,12,2,3,5],"span":[88,4,9]},{"path":[4,12,2,3,1],"span":[88,10,15]},{"path":[4,12,2,3,3],"span":[88,18,19]},{"path":[4,13],"span":[91,0,97,1]},{"path":[4,13,1],"span":[91,8,47]},{"path":[4,13,2,0],"span":[92,2,42]},{"path":[4,13,2,0,4],"span":[92,2,10]},{"path":[4,13,2,0,6],"span":[92,11,23]},{"path":[4,13,2,0,1],"span":[92,24,37]},{"path":[4,13,2,0,3],"span":[92,40,41]},{"path":[4,13,2,1],"span":[93,2,18]},{"path":[4,13,2,1,5],"span":[93,2,7]},{"path":[4,13,2,1,1],"span":[93,8,13]},{"path":[4,13,2,1,3],"span":[93,16,17]},{"path":[4,13,2,2],"span":[94,2,19]},{"path":[4,13,2,2,5],"span":[94,2,7]},{"path":[4,13,2,2,1],"span":[94,8,14]},{"path":[4,13,2,2,3],"span":[94,17,18]},{"path":[4,13,2,3],"span":[95,2,18]},{"path":[4,13,2,3,5],"span":[95,2,7]},{"path":[4,13,2,3,1],"span":[95,8,13]},{"path":[4,13,2,3,3],"span":[95,16,17]},{"path":[4,13,2,4],"span":[96,2,25]},{"path":[4,13,2,4,5],"span":[96,2,6]},{"path":[4,13,2,4,1],"span":[96,7,20]},{"path":[4,13,2,4,3],"span":[96,23,24]},{"path":[6,0],"span":[99,0,106,1]},{"path":[6,0,1],"span":[99,8,22]},{"path":[6,0,2,0],"span":[100,2,91]},{"path":[6,0,2,0,1],"span":[100,6,24]},{"path":[6,0,2,0,2],"span":[100,25,50]},{"path":[6,0,2,0,3],"span":[100,61,87]},{"path":[6,0,2,1],"span":[101,2,73]},{"path":[6,0,2,1,1],"span":[101,6,18]},{"path":[6,0,2,1,2],"span":[101,19,38]},{"path":[6,0,2,1,3],"span":[101,49,69]},{"path":[6,0,2,2],"span":[102,2,88]},{"path":[6,0,2,2,1],"span":[102,6,23]},{"path":[6,0,2,2,2],"span":[102,24,48]},{"path":[6,0,2,2,3],"span":[102,59,84]},{"path":[6,0,2,3],"span":[103,2,97]},{"path":[6,0,2,3,1],"span":[103,6,26]},{"path":[6,0,2,3,2],"span":[103,27,54]},{"path":[6,0,2,3,3],"span":[103,65,93]},{"path":[6,0,2,4],"span":[104,2,103]},{"path":[6,0,2,4,1],"span":[104,6,28]},{"path":[6,0,2,4,2],"span":[104,29,58]},{"path":[6,0,2,4,3],"span":[104,69,99]},{"path":[6,0,2,5],"span":[105,2,130]},{"path":[6,0,2,5,1],"span":[105,6,37]},{"path":[6,0,2,5,2],"span":[105,38,76]},{"path":[6,0,2,5,3],"span":[105,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":"GetInstallationsBySiteRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"filter","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.GetInstallationsBySiteRequest.Filter","oneofIndex":0,"jsonName":"filter","proto3Optional":true}],"nestedType":[{"name":"Filter","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true}],"oneofDecl":[{"name":"_last_connection"}]}],"oneofDecl":[{"name":"_filter"}]},{"name":"GetInstallationsBySiteResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"}]},{"name":"GetInstallationsByTypePaginatedRequest","field":[{"name":"type","number":1,"label":"LABEL_REPEATED","type":"TYPE_ENUM","typeName":".lansweeper.install.v1.InstallType","jsonName":"type"},{"name":"last_connection","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_MESSAGE","typeName":".google.protobuf.Timestamp","oneofIndex":0,"jsonName":"lastConnection","proto3Optional":true},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"},{"name":"cursor","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"cursor"}],"oneofDecl":[{"name":"_last_connection"}],"reservedRange":[{"start":3,"end":4}]},{"name":"GetInstallationsByTypePaginatedResponse","field":[{"name":"installations","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.install.v1.Installation","jsonName":"installations"},{"name":"limit","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_INT32","jsonName":"limit"},{"name":"has_next_page","number":5,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"hasNextPage"},{"name":"next_cursor","number":6,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","oneofIndex":0,"jsonName":"nextCursor","proto3Optional":true}],"oneofDecl":[{"name":"_next_cursor"}],"reservedRange":[{"start":2,"end":3},{"start":3,"end":4}]}],"enumType":[{"name":"InstallType","value":[{"name":"IT","number":0},{"name":"OT","number":1},{"name":"IT_AGENT","number":2},{"name":"CLOUD","number":3},{"name":"NETWORK_DISCOVERY","number":4}]},{"name":"InstallStateValue","value":[{"name":"UNESPECIFIED","number":0},{"name":"LINKED","number":1},{"name":"UNLINKED","number":2}]}],"service":[{"name":"InstallService","method":[{"name":"GetHubCertificates","inputType":".lansweeper.install.v1.GetHubCertificatesRequest","outputType":".lansweeper.install.v1.GetHubCertificatesResponse","options":{}},{"name":"SetPublicKey","inputType":".lansweeper.install.v1.SetPublicKeyRequest","outputType":".lansweeper.install.v1.SetPublicKeyResponse","options":{}},{"name":"SetHubCertificate","inputType":".lansweeper.install.v1.SetHubCertificateRequest","outputType":".lansweeper.install.v1.SetHubCertificateResponse","options":{}},{"name":"RemoveHubCertificate","inputType":".lansweeper.install.v1.RemoveHubCertificateRequest","outputType":".lansweeper.install.v1.RemoveHubCertificateResponse","options":{}},{"name":"GetInstallationsBySite","inputType":".lansweeper.install.v1.GetInstallationsBySiteRequest","outputType":".lansweeper.install.v1.GetInstallationsBySiteResponse","options":{}},{"name":"GetInstallationsByTypePaginated","inputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedRequest","outputType":".lansweeper.install.v1.GetInstallationsByTypePaginatedResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,107,1]},{"path":[12],"span":[0,0,18]},{"path":[3,0],"span":[2,0,41]},{"path":[2],"span":[4,0,30]},{"path":[8],"span":[6,0,37]},{"path":[8,11],"span":[6,0,37]},{"path":[4,0],"span":[8,0,13,1]},{"path":[4,0,1],"span":[8,8,27]},{"path":[4,0,2,0],"span":[9,2,21]},{"path":[4,0,2,0,5],"span":[9,2,8]},{"path":[4,0,2,0,1],"span":[9,9,16]},{"path":[4,0,2,0,3],"span":[9,19,20]},{"path":[4,0,2,1],"span":[10,2,25]},{"path":[4,0,2,1,5],"span":[10,2,8]},{"path":[4,0,2,1,1],"span":[10,9,20]},{"path":[4,0,2,1,3],"span":[10,23,24]},{"path":[4,0,2,2],"span":[11,2,24]},{"path":[4,0,2,2,5],"span":[11,2,8]},{"path":[4,0,2,2,1],"span":[11,9,19]},{"path":[4,0,2,2,3],"span":[11,22,23]},{"path":[4,0,2,3],"span":[12,2,29]},{"path":[4,0,2,3,5],"span":[12,2,8]},{"path":[4,0,2,3,1],"span":[12,9,24]},{"path":[4,0,2,3,3],"span":[12,27,28]},{"path":[4,1],"span":[15,0,16,1]},{"path":[4,1,1],"span":[15,8,28]},{"path":[4,2],"span":[18,0,22,1]},{"path":[4,2,1],"span":[18,8,32]},{"path":[4,2,2,0],"span":[19,2,21]},{"path":[4,2,2,0,5],"span":[19,2,8]},{"path":[4,2,2,0,1],"span":[19,9,16]},{"path":[4,2,2,0,3],"span":[19,19,20]},{"path":[4,2,2,1],"span":[20,2,25]},{"path":[4,2,2,1,5],"span":[20,2,8]},{"path":[4,2,2,1,1],"span":[20,9,20]},{"path":[4,2,2,1,3],"span":[20,23,24]},{"path":[4,2,2,2],"span":[21,2,29]},{"path":[4,2,2,2,5],"span":[21,2,8]},{"path":[4,2,2,2,1],"span":[21,9,24]},{"path":[4,2,2,2,3],"span":[21,27,28]},{"path":[4,3],"span":[24,0,25,1]},{"path":[4,3,1],"span":[24,8,33]},{"path":[4,4],"span":[27,0,30,1]},{"path":[4,4,1],"span":[27,8,35]},{"path":[4,4,2,0],"span":[28,2,21]},{"path":[4,4,2,0,5],"span":[28,2,8]},{"path":[4,4,2,0,1],"span":[28,9,16]},{"path":[4,4,2,0,3],"span":[28,19,20]},{"path":[4,4,2,1],"span":[29,2,25]},{"path":[4,4,2,1,5],"span":[29,2,8]},{"path":[4,4,2,1,1],"span":[29,9,20]},{"path":[4,4,2,1,3],"span":[29,23,24]},{"path":[4,5],"span":[32,0,33,1]},{"path":[4,5,1],"span":[32,8,36]},{"path":[4,6],"span":[35,0,38,1]},{"path":[4,6,1],"span":[35,8,33]},{"path":[4,6,2,0],"span":[36,2,21]},{"path":[4,6,2,0,5],"span":[36,2,8]},{"path":[4,6,2,0,1],"span":[36,9,16]},{"path":[4,6,2,0,3],"span":[36,19,20]},{"path":[4,6,2,1],"span":[37,2,35]},{"path":[4,6,2,1,4],"span":[37,2,10]},{"path":[4,6,2,1,5],"span":[37,11,17]},{"path":[4,6,2,1,1],"span":[37,18,30]},{"path":[4,6,2,1,3],"span":[37,33,34]},{"path":[4,7],"span":[40,0,42,1]},{"path":[4,7,1],"span":[40,8,34]},{"path":[4,7,2,0],"span":[41,2,59]},{"path":[4,7,2,0,4],"span":[41,2,10]},{"path":[4,7,2,0,6],"span":[41,11,37]},{"path":[4,7,2,0,1],"span":[41,38,54]},{"path":[4,7,2,0,3],"span":[41,57,58]},{"path":[4,8],"span":[44,0,47,1]},{"path":[4,8,1],"span":[44,8,34]},{"path":[4,8,2,0],"span":[45,2,25]},{"path":[4,8,2,0,5],"span":[45,2,8]},{"path":[4,8,2,0,1],"span":[45,9,20]},{"path":[4,8,2,0,3],"span":[45,23,24]},{"path":[4,8,2,1],"span":[46,2,29]},{"path":[4,8,2,1,5],"span":[46,2,8]},{"path":[4,8,2,1,1],"span":[46,9,24]},{"path":[4,8,2,1,3],"span":[46,27,28]},{"path":[5,0],"span":[49,0,55,1]},{"path":[5,0,1],"span":[49,5,16]},{"path":[5,0,2,0],"span":[50,2,7]},{"path":[5,0,2,0,1],"span":[50,2,4]},{"path":[5,0,2,0,2],"span":[50,5,6]},{"path":[5,0,2,1],"span":[51,2,7]},{"path":[5,0,2,1,1],"span":[51,2,4]},{"path":[5,0,2,1,2],"span":[51,5,6]},{"path":[5,0,2,2],"span":[52,2,13]},{"path":[5,0,2,2,1],"span":[52,2,10]},{"path":[5,0,2,2,2],"span":[52,11,12]},{"path":[5,0,2,3],"span":[53,2,10]},{"path":[5,0,2,3,1],"span":[53,2,7]},{"path":[5,0,2,3,2],"span":[53,8,9]},{"path":[5,0,2,4],"span":[54,2,22]},{"path":[5,0,2,4,1],"span":[54,2,19]},{"path":[5,0,2,4,2],"span":[54,20,21]},{"path":[5,1],"span":[57,0,61,1]},{"path":[5,1,1],"span":[57,5,22]},{"path":[5,1,2,0],"span":[58,2,19]},{"path":[5,1,2,0,1],"span":[58,2,14]},{"path":[5,1,2,0,2],"span":[58,17,18]},{"path":[5,1,2,1],"span":[59,2,13]},{"path":[5,1,2,1,1],"span":[59,2,8]},{"path":[5,1,2,1,2],"span":[59,11,12]},{"path":[5,1,2,2],"span":[60,2,15]},{"path":[5,1,2,2,1],"span":[60,2,10]},{"path":[5,1,2,2,2],"span":[60,13,14]},{"path":[4,9],"span":[63,0,69,1]},{"path":[4,9,1],"span":[63,8,20]},{"path":[4,9,2,0],"span":[64,2,16]},{"path":[4,9,2,0,5],"span":[64,2,8]},{"path":[4,9,2,0,1],"span":[64,9,11]},{"path":[4,9,2,0,3],"span":[64,14,15]},{"path":[4,9,2,1],"span":[65,2,21]},{"path":[4,9,2,1,5],"span":[65,2,8]},{"path":[4,9,2,1,1],"span":[65,9,16]},{"path":[4,9,2,1,3],"span":[65,19,20]},{"path":[4,9,2,2],"span":[66,2,23]},{"path":[4,9,2,2,6],"span":[66,2,13]},{"path":[4,9,2,2,1],"span":[66,14,18]},{"path":[4,9,2,2,3],"span":[66,21,22]},{"path":[4,9,2,3],"span":[67,2,30]},{"path":[4,9,2,3,6],"span":[67,2,19]},{"path":[4,9,2,3,1],"span":[67,20,25]},{"path":[4,9,2,3,3],"span":[67,28,29]},{"path":[4,9,2,4],"span":[68,2,48]},{"path":[4,9,2,4,6],"span":[68,2,27]},{"path":[4,9,2,4,1],"span":[68,28,43]},{"path":[4,9,2,4,3],"span":[68,46,47]},{"path":[4,10],"span":[71,0,78,1]},{"path":[4,10,1],"span":[71,8,37]},{"path":[4,10,2,0],"span":[72,2,21]},{"path":[4,10,2,0,5],"span":[72,2,8]},{"path":[4,10,2,0,1],"span":[72,9,16]},{"path":[4,10,2,0,3],"span":[72,19,20]},{"path":[4,10,3,0],"span":[73,2,76,3]},{"path":[4,10,3,0,1],"span":[73,10,16]},{"path":[4,10,3,0,2,0],"span":[74,4,32]},{"path":[4,10,3,0,2,0,4],"span":[74,4,12]},{"path":[4,10,3,0,2,0,6],"span":[74,13,24]},{"path":[4,10,3,0,2,0,1],"span":[74,25,29]},{"path":[4,10,3,0,2,0,3],"span":[74,30,31]},{"path":[4,10,3,0,2,1],"span":[75,4,59]},{"path":[4,10,3,0,2,1,4],"span":[75,4,12]},{"path":[4,10,3,0,2,1,6],"span":[75,13,38]},{"path":[4,10,3,0,2,1,1],"span":[75,39,54]},{"path":[4,10,3,0,2,1,3],"span":[75,57,58]},{"path":[4,10,2,1],"span":[77,2,29]},{"path":[4,10,2,1,4],"span":[77,2,10]},{"path":[4,10,2,1,6],"span":[77,11,17]},{"path":[4,10,2,1,1],"span":[77,18,24]},{"path":[4,10,2,1,3],"span":[77,27,28]},{"path":[4,11],"span":[80,0,82,1]},{"path":[4,11,1],"span":[80,8,38]},{"path":[4,11,2,0],"span":[81,2,42]},{"path":[4,11,2,0,4],"span":[81,2,10]},{"path":[4,11,2,0,6],"span":[81,11,23]},{"path":[4,11,2,0,1],"span":[81,24,37]},{"path":[4,11,2,0,3],"span":[81,40,41]},{"path":[4,12],"span":[84,0,90,1]},{"path":[4,12,1],"span":[84,8,46]},{"path":[4,12,9],"span":[85,4,15]},{"path":[4,12,9,0],"span":[85,13,14]},{"path":[4,12,9,0,1],"span":[85,13,14]},{"path":[4,12,2,0],"span":[86,4,34]},{"path":[4,12,2,0,4],"span":[86,4,12]},{"path":[4,12,2,0,6],"span":[86,13,24]},{"path":[4,12,2,0,1],"span":[86,25,29]},{"path":[4,12,2,0,3],"span":[86,32,33]},{"path":[4,12,2,1],"span":[87,4,59]},{"path":[4,12,2,1,4],"span":[87,4,12]},{"path":[4,12,2,1,6],"span":[87,13,38]},{"path":[4,12,2,1,1],"span":[87,39,54]},{"path":[4,12,2,1,3],"span":[87,57,58]},{"path":[4,12,2,2],"span":[88,4,20]},{"path":[4,12,2,2,5],"span":[88,4,9]},{"path":[4,12,2,2,1],"span":[88,10,15]},{"path":[4,12,2,2,3],"span":[88,18,19]},{"path":[4,12,2,3],"span":[89,4,22]},{"path":[4,12,2,3,5],"span":[89,4,10]},{"path":[4,12,2,3,1],"span":[89,11,17]},{"path":[4,12,2,3,3],"span":[89,20,21]},{"path":[4,13],"span":[92,0,98,1]},{"path":[4,13,1],"span":[92,8,47]},{"path":[4,13,9],"span":[93,2,15]},{"path":[4,13,9,0],"span":[93,11,12]},{"path":[4,13,9,0,1],"span":[93,11,12]},{"path":[4,13,9,1],"span":[93,13,14]},{"path":[4,13,9,1,1],"span":[93,13,14]},{"path":[4,13,2,0],"span":[94,2,42]},{"path":[4,13,2,0,4],"span":[94,2,10]},{"path":[4,13,2,0,6],"span":[94,11,23]},{"path":[4,13,2,0,1],"span":[94,24,37]},{"path":[4,13,2,0,3],"span":[94,40,41]},{"path":[4,13,2,1],"span":[95,2,18]},{"path":[4,13,2,1,5],"span":[95,2,7]},{"path":[4,13,2,1,1],"span":[95,8,13]},{"path":[4,13,2,1,3],"span":[95,16,17]},{"path":[4,13,2,2],"span":[96,2,25]},{"path":[4,13,2,2,5],"span":[96,2,6]},{"path":[4,13,2,2,1],"span":[96,7,20]},{"path":[4,13,2,2,3],"span":[96,23,24]},{"path":[4,13,2,3],"span":[97,2,34]},{"path":[4,13,2,3,4],"span":[97,2,10]},{"path":[4,13,2,3,5],"span":[97,11,17]},{"path":[4,13,2,3,1],"span":[97,18,29]},{"path":[4,13,2,3,3],"span":[97,32,33]},{"path":[6,0],"span":[100,0,107,1]},{"path":[6,0,1],"span":[100,8,22]},{"path":[6,0,2,0],"span":[101,2,91]},{"path":[6,0,2,0,1],"span":[101,6,24]},{"path":[6,0,2,0,2],"span":[101,25,50]},{"path":[6,0,2,0,3],"span":[101,61,87]},{"path":[6,0,2,1],"span":[102,2,73]},{"path":[6,0,2,1,1],"span":[102,6,18]},{"path":[6,0,2,1,2],"span":[102,19,38]},{"path":[6,0,2,1,3],"span":[102,49,69]},{"path":[6,0,2,2],"span":[103,2,88]},{"path":[6,0,2,2,1],"span":[103,6,23]},{"path":[6,0,2,2,2],"span":[103,24,48]},{"path":[6,0,2,2,3],"span":[103,59,84]},{"path":[6,0,2,3],"span":[104,2,97]},{"path":[6,0,2,3,1],"span":[104,6,26]},{"path":[6,0,2,3,2],"span":[104,27,54]},{"path":[6,0,2,3,3],"span":[104,65,93]},{"path":[6,0,2,4],"span":[105,2,103]},{"path":[6,0,2,4,1],"span":[105,6,28]},{"path":[6,0,2,4,2],"span":[105,29,58]},{"path":[6,0,2,4,3],"span":[105,69,99]},{"path":[6,0,2,5],"span":[106,2,130]},{"path":[6,0,2,5,1],"span":[106,6,37]},{"path":[6,0,2,5,2],"span":[106,38,76]},{"path":[6,0,2,5,3],"span":[106,87,126]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -329,10 +329,10 @@ export class GetInstallationsByTypePaginatedRequest extends jspb.Message {
|
|
|
329
329
|
clearLastConnection(): void;
|
|
330
330
|
getLastConnection(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
331
331
|
setLastConnection(value?: google_protobuf_timestamp_pb.Timestamp): GetInstallationsByTypePaginatedRequest;
|
|
332
|
-
getOffset(): number;
|
|
333
|
-
setOffset(value: number): GetInstallationsByTypePaginatedRequest;
|
|
334
332
|
getLimit(): number;
|
|
335
333
|
setLimit(value: number): GetInstallationsByTypePaginatedRequest;
|
|
334
|
+
getCursor(): string;
|
|
335
|
+
setCursor(value: string): GetInstallationsByTypePaginatedRequest;
|
|
336
336
|
|
|
337
337
|
serializeBinary(): Uint8Array;
|
|
338
338
|
toObject(includeInstance?: boolean): GetInstallationsByTypePaginatedRequest.AsObject;
|
|
@@ -348,8 +348,8 @@ export namespace GetInstallationsByTypePaginatedRequest {
|
|
|
348
348
|
export type AsObject = {
|
|
349
349
|
typeList: Array<InstallType>,
|
|
350
350
|
lastConnection?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
351
|
-
offset: number,
|
|
352
351
|
limit: number,
|
|
352
|
+
cursor: string,
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
|
|
@@ -358,15 +358,16 @@ export class GetInstallationsByTypePaginatedResponse extends jspb.Message {
|
|
|
358
358
|
getInstallationsList(): Array<Installation>;
|
|
359
359
|
setInstallationsList(value: Array<Installation>): GetInstallationsByTypePaginatedResponse;
|
|
360
360
|
addInstallations(value?: Installation, index?: number): Installation;
|
|
361
|
-
getTotal(): number;
|
|
362
|
-
setTotal(value: number): GetInstallationsByTypePaginatedResponse;
|
|
363
|
-
getOffset(): number;
|
|
364
|
-
setOffset(value: number): GetInstallationsByTypePaginatedResponse;
|
|
365
361
|
getLimit(): number;
|
|
366
362
|
setLimit(value: number): GetInstallationsByTypePaginatedResponse;
|
|
367
363
|
getHasNextPage(): boolean;
|
|
368
364
|
setHasNextPage(value: boolean): GetInstallationsByTypePaginatedResponse;
|
|
369
365
|
|
|
366
|
+
hasNextCursor(): boolean;
|
|
367
|
+
clearNextCursor(): void;
|
|
368
|
+
getNextCursor(): string | undefined;
|
|
369
|
+
setNextCursor(value: string): GetInstallationsByTypePaginatedResponse;
|
|
370
|
+
|
|
370
371
|
serializeBinary(): Uint8Array;
|
|
371
372
|
toObject(includeInstance?: boolean): GetInstallationsByTypePaginatedResponse.AsObject;
|
|
372
373
|
static toObject(includeInstance: boolean, msg: GetInstallationsByTypePaginatedResponse): GetInstallationsByTypePaginatedResponse.AsObject;
|
|
@@ -380,10 +381,9 @@ export class GetInstallationsByTypePaginatedResponse extends jspb.Message {
|
|
|
380
381
|
export namespace GetInstallationsByTypePaginatedResponse {
|
|
381
382
|
export type AsObject = {
|
|
382
383
|
installationsList: Array<Installation.AsObject>,
|
|
383
|
-
total: number,
|
|
384
|
-
offset: number,
|
|
385
384
|
limit: number,
|
|
386
385
|
hasNextPage: boolean,
|
|
386
|
+
nextCursor?: string,
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
|
package/gen-proto/install_pb.js
CHANGED
|
@@ -2596,8 +2596,8 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.toObject = fu
|
|
|
2596
2596
|
var f, obj = {
|
|
2597
2597
|
typeList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2598
2598
|
lastConnection: (f = msg.getLastConnection()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2599
|
-
|
|
2600
|
-
|
|
2599
|
+
limit: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2600
|
+
cursor: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
2601
2601
|
};
|
|
2602
2602
|
|
|
2603
2603
|
if (includeInstance) {
|
|
@@ -2645,14 +2645,14 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.deserializeBi
|
|
|
2645
2645
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
2646
2646
|
msg.setLastConnection(value);
|
|
2647
2647
|
break;
|
|
2648
|
-
case 3:
|
|
2649
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2650
|
-
msg.setOffset(value);
|
|
2651
|
-
break;
|
|
2652
2648
|
case 4:
|
|
2653
2649
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2654
2650
|
msg.setLimit(value);
|
|
2655
2651
|
break;
|
|
2652
|
+
case 5:
|
|
2653
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2654
|
+
msg.setCursor(value);
|
|
2655
|
+
break;
|
|
2656
2656
|
default:
|
|
2657
2657
|
reader.skipField();
|
|
2658
2658
|
break;
|
|
@@ -2697,17 +2697,17 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.serializeBina
|
|
|
2697
2697
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
2698
2698
|
);
|
|
2699
2699
|
}
|
|
2700
|
-
f = message.
|
|
2700
|
+
f = message.getLimit();
|
|
2701
2701
|
if (f !== 0) {
|
|
2702
2702
|
writer.writeInt32(
|
|
2703
|
-
|
|
2703
|
+
4,
|
|
2704
2704
|
f
|
|
2705
2705
|
);
|
|
2706
2706
|
}
|
|
2707
|
-
f = message.
|
|
2708
|
-
if (f
|
|
2709
|
-
writer.
|
|
2710
|
-
|
|
2707
|
+
f = message.getCursor();
|
|
2708
|
+
if (f.length > 0) {
|
|
2709
|
+
writer.writeString(
|
|
2710
|
+
5,
|
|
2711
2711
|
f
|
|
2712
2712
|
);
|
|
2713
2713
|
}
|
|
@@ -2789,11 +2789,11 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.has
|
|
|
2789
2789
|
|
|
2790
2790
|
|
|
2791
2791
|
/**
|
|
2792
|
-
* optional int32
|
|
2792
|
+
* optional int32 limit = 4;
|
|
2793
2793
|
* @return {number}
|
|
2794
2794
|
*/
|
|
2795
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.
|
|
2796
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
2795
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.getLimit = function() {
|
|
2796
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
2797
2797
|
};
|
|
2798
2798
|
|
|
2799
2799
|
|
|
@@ -2801,26 +2801,26 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.get
|
|
|
2801
2801
|
* @param {number} value
|
|
2802
2802
|
* @return {!proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest} returns this
|
|
2803
2803
|
*/
|
|
2804
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.
|
|
2805
|
-
return jspb.Message.setProto3IntField(this,
|
|
2804
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.setLimit = function(value) {
|
|
2805
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
2806
2806
|
};
|
|
2807
2807
|
|
|
2808
2808
|
|
|
2809
2809
|
/**
|
|
2810
|
-
* optional
|
|
2811
|
-
* @return {
|
|
2810
|
+
* optional string cursor = 5;
|
|
2811
|
+
* @return {string}
|
|
2812
2812
|
*/
|
|
2813
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.
|
|
2814
|
-
return /** @type {
|
|
2813
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.getCursor = function() {
|
|
2814
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2815
2815
|
};
|
|
2816
2816
|
|
|
2817
2817
|
|
|
2818
2818
|
/**
|
|
2819
|
-
* @param {
|
|
2819
|
+
* @param {string} value
|
|
2820
2820
|
* @return {!proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest} returns this
|
|
2821
2821
|
*/
|
|
2822
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.
|
|
2823
|
-
return jspb.Message.
|
|
2822
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedRequest.prototype.setCursor = function(value) {
|
|
2823
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2824
2824
|
};
|
|
2825
2825
|
|
|
2826
2826
|
|
|
@@ -2865,10 +2865,9 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.toObject = f
|
|
|
2865
2865
|
var f, obj = {
|
|
2866
2866
|
installationsList: jspb.Message.toObjectList(msg.getInstallationsList(),
|
|
2867
2867
|
proto.lansweeper.install.v1.Installation.toObject, includeInstance),
|
|
2868
|
-
total: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2869
|
-
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
2870
2868
|
limit: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2871
|
-
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
2869
|
+
hasNextPage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
2870
|
+
nextCursor: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
2872
2871
|
};
|
|
2873
2872
|
|
|
2874
2873
|
if (includeInstance) {
|
|
@@ -2910,14 +2909,6 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.deserializeB
|
|
|
2910
2909
|
reader.readMessage(value,proto.lansweeper.install.v1.Installation.deserializeBinaryFromReader);
|
|
2911
2910
|
msg.addInstallations(value);
|
|
2912
2911
|
break;
|
|
2913
|
-
case 2:
|
|
2914
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2915
|
-
msg.setTotal(value);
|
|
2916
|
-
break;
|
|
2917
|
-
case 3:
|
|
2918
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
2919
|
-
msg.setOffset(value);
|
|
2920
|
-
break;
|
|
2921
2912
|
case 4:
|
|
2922
2913
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2923
2914
|
msg.setLimit(value);
|
|
@@ -2926,6 +2917,10 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.deserializeB
|
|
|
2926
2917
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
2927
2918
|
msg.setHasNextPage(value);
|
|
2928
2919
|
break;
|
|
2920
|
+
case 6:
|
|
2921
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2922
|
+
msg.setNextCursor(value);
|
|
2923
|
+
break;
|
|
2929
2924
|
default:
|
|
2930
2925
|
reader.skipField();
|
|
2931
2926
|
break;
|
|
@@ -2963,20 +2958,6 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.serializeBin
|
|
|
2963
2958
|
proto.lansweeper.install.v1.Installation.serializeBinaryToWriter
|
|
2964
2959
|
);
|
|
2965
2960
|
}
|
|
2966
|
-
f = message.getTotal();
|
|
2967
|
-
if (f !== 0) {
|
|
2968
|
-
writer.writeInt32(
|
|
2969
|
-
2,
|
|
2970
|
-
f
|
|
2971
|
-
);
|
|
2972
|
-
}
|
|
2973
|
-
f = message.getOffset();
|
|
2974
|
-
if (f !== 0) {
|
|
2975
|
-
writer.writeInt32(
|
|
2976
|
-
3,
|
|
2977
|
-
f
|
|
2978
|
-
);
|
|
2979
|
-
}
|
|
2980
2961
|
f = message.getLimit();
|
|
2981
2962
|
if (f !== 0) {
|
|
2982
2963
|
writer.writeInt32(
|
|
@@ -2991,6 +2972,13 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.serializeBin
|
|
|
2991
2972
|
f
|
|
2992
2973
|
);
|
|
2993
2974
|
}
|
|
2975
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
2976
|
+
if (f != null) {
|
|
2977
|
+
writer.writeString(
|
|
2978
|
+
6,
|
|
2979
|
+
f
|
|
2980
|
+
);
|
|
2981
|
+
}
|
|
2994
2982
|
};
|
|
2995
2983
|
|
|
2996
2984
|
|
|
@@ -3033,11 +3021,11 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.cl
|
|
|
3033
3021
|
|
|
3034
3022
|
|
|
3035
3023
|
/**
|
|
3036
|
-
* optional int32
|
|
3024
|
+
* optional int32 limit = 4;
|
|
3037
3025
|
* @return {number}
|
|
3038
3026
|
*/
|
|
3039
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3040
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
3027
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.getLimit = function() {
|
|
3028
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
3041
3029
|
};
|
|
3042
3030
|
|
|
3043
3031
|
|
|
@@ -3045,62 +3033,62 @@ proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.ge
|
|
|
3045
3033
|
* @param {number} value
|
|
3046
3034
|
* @return {!proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse} returns this
|
|
3047
3035
|
*/
|
|
3048
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3049
|
-
return jspb.Message.setProto3IntField(this,
|
|
3036
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.setLimit = function(value) {
|
|
3037
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
3050
3038
|
};
|
|
3051
3039
|
|
|
3052
3040
|
|
|
3053
3041
|
/**
|
|
3054
|
-
* optional
|
|
3055
|
-
* @return {
|
|
3042
|
+
* optional bool has_next_page = 5;
|
|
3043
|
+
* @return {boolean}
|
|
3056
3044
|
*/
|
|
3057
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3058
|
-
return /** @type {
|
|
3045
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.getHasNextPage = function() {
|
|
3046
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
3059
3047
|
};
|
|
3060
3048
|
|
|
3061
3049
|
|
|
3062
3050
|
/**
|
|
3063
|
-
* @param {
|
|
3051
|
+
* @param {boolean} value
|
|
3064
3052
|
* @return {!proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse} returns this
|
|
3065
3053
|
*/
|
|
3066
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3067
|
-
return jspb.Message.
|
|
3054
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.setHasNextPage = function(value) {
|
|
3055
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
3068
3056
|
};
|
|
3069
3057
|
|
|
3070
3058
|
|
|
3071
3059
|
/**
|
|
3072
|
-
* optional
|
|
3073
|
-
* @return {
|
|
3060
|
+
* optional string next_cursor = 6;
|
|
3061
|
+
* @return {string}
|
|
3074
3062
|
*/
|
|
3075
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3076
|
-
return /** @type {
|
|
3063
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.getNextCursor = function() {
|
|
3064
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3077
3065
|
};
|
|
3078
3066
|
|
|
3079
3067
|
|
|
3080
3068
|
/**
|
|
3081
|
-
* @param {
|
|
3069
|
+
* @param {string} value
|
|
3082
3070
|
* @return {!proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse} returns this
|
|
3083
3071
|
*/
|
|
3084
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3085
|
-
return jspb.Message.
|
|
3072
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.setNextCursor = function(value) {
|
|
3073
|
+
return jspb.Message.setField(this, 6, value);
|
|
3086
3074
|
};
|
|
3087
3075
|
|
|
3088
3076
|
|
|
3089
3077
|
/**
|
|
3090
|
-
*
|
|
3091
|
-
* @return {
|
|
3078
|
+
* Clears the field making it undefined.
|
|
3079
|
+
* @return {!proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse} returns this
|
|
3092
3080
|
*/
|
|
3093
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3094
|
-
return
|
|
3081
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.clearNextCursor = function() {
|
|
3082
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
3095
3083
|
};
|
|
3096
3084
|
|
|
3097
3085
|
|
|
3098
3086
|
/**
|
|
3099
|
-
*
|
|
3100
|
-
* @return {
|
|
3087
|
+
* Returns whether this field is set.
|
|
3088
|
+
* @return {boolean}
|
|
3101
3089
|
*/
|
|
3102
|
-
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.
|
|
3103
|
-
return jspb.Message.
|
|
3090
|
+
proto.lansweeper.install.v1.GetInstallationsByTypePaginatedResponse.prototype.hasNextCursor = function() {
|
|
3091
|
+
return jspb.Message.getField(this, 6) != null;
|
|
3104
3092
|
};
|
|
3105
3093
|
|
|
3106
3094
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/install-api-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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": "edd1bcaa345152ab315c0351e4f3f89914b7ac96"
|
|
20
20
|
}
|
package/proto/install.proto
CHANGED
|
@@ -83,18 +83,19 @@ message GetInstallationsBySiteResponse {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
message GetInstallationsByTypePaginatedRequest {
|
|
86
|
+
reserved 3;
|
|
86
87
|
repeated InstallType type = 1;
|
|
87
88
|
optional google.protobuf.Timestamp last_connection = 2;
|
|
88
|
-
int32 offset = 3;
|
|
89
89
|
int32 limit = 4;
|
|
90
|
+
string cursor = 5;
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
message GetInstallationsByTypePaginatedResponse {
|
|
94
|
+
reserved 2,3;
|
|
93
95
|
repeated Installation installations = 1;
|
|
94
|
-
int32 total = 2;
|
|
95
|
-
int32 offset = 3;
|
|
96
96
|
int32 limit = 4;
|
|
97
97
|
bool has_next_page = 5;
|
|
98
|
+
optional string next_cursor = 6;
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
service InstallService {
|