@lansweeper/ot-asset-model 0.0.14 → 0.0.15

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.0.15](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.14...@lansweeper/ot-asset-model@0.0.15) (2022-05-12)
7
+
8
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.0.14](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.13...@lansweeper/ot-asset-model@0.0.14) (2022-05-12)
7
15
 
8
16
  **Note:** Version bump only for package @lansweeper/ot-asset-model
@@ -7,9 +7,9 @@
7
7
  <Company>Lansweeper</Company>
8
8
  <Product>Lansweeper Syncer</Product>
9
9
  <Copyright>Lansweeper</Copyright>
10
- <PackageVersion>0.0.13</PackageVersion>
11
- <Version>0.0.13</Version>
12
- <FileVersion>0.0.13</FileVersion>
10
+ <PackageVersion>0.0.14</PackageVersion>
11
+ <Version>0.0.14</Version>
12
+ <FileVersion>0.0.14</FileVersion>
13
13
  <RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
14
14
  </PropertyGroup>
15
15
  <ItemGroup>
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v6.0": {
9
- "Lansweeper.Model.OTAsset/0.0.13": {
9
+ "Lansweeper.Model.OTAsset/0.0.14": {
10
10
  "runtime": {
11
11
  "Lansweeper.Model.OTAsset.dll": {}
12
12
  }
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "libraries": {
17
- "Lansweeper.Model.OTAsset/0.0.13": {
17
+ "Lansweeper.Model.OTAsset/0.0.14": {
18
18
  "type": "project",
19
19
  "serviceable": false,
20
20
  "sha512": ""
@@ -7,7 +7,7 @@
7
7
  "targets": {
8
8
  ".NETStandard,Version=v2.0": {},
9
9
  ".NETStandard,Version=v2.0/": {
10
- "Lansweeper.Model.OTAsset/0.0.13": {
10
+ "Lansweeper.Model.OTAsset/0.0.14": {
11
11
  "dependencies": {
12
12
  "NETStandard.Library": "2.0.3"
13
13
  },
@@ -24,7 +24,7 @@
24
24
  }
25
25
  },
26
26
  "libraries": {
27
- "Lansweeper.Model.OTAsset/0.0.13": {
27
+ "Lansweeper.Model.OTAsset/0.0.14": {
28
28
  "type": "project",
29
29
  "serviceable": false,
30
30
  "sha512": ""
@@ -148,6 +148,53 @@
148
148
  "type": "float"
149
149
  }
150
150
  }
151
+ },
152
+ {
153
+ "cloudEntity": "OTLastScan",
154
+ "onpremTable": "AssetProtocol",
155
+ "onpremId": "Id",
156
+ "cloudId": "id",
157
+ "parentFk": "AssetId",
158
+ "propertyName": "otLastScans",
159
+ "limit": 1000,
160
+ "isArray": true,
161
+ "unions": [{
162
+ "rootFk": "ProtocolId",
163
+ "unionPk": "Id",
164
+ "onpremTable": "Protocol",
165
+ "properties": {
166
+ "name": {
167
+ "onprem": "Name",
168
+ "type": "string"
169
+ },
170
+ "isManufacturerSpecific": {
171
+ "onprem": "IsManufacturerSpecific",
172
+ "type": "boolean"
173
+ }
174
+ }
175
+ }],
176
+ "properties": {
177
+ "id": {
178
+ "onprem": "Id",
179
+ "type": "string"
180
+ },
181
+ "ipAddress": {
182
+ "onprem": "IPAddress",
183
+ "type": "string"
184
+ },
185
+ "port": {
186
+ "onprem": "Port",
187
+ "type": "float"
188
+ },
189
+ "lastTried": {
190
+ "onprem": "LastTried",
191
+ "type": "date-time"
192
+ },
193
+ "lastScan": {
194
+ "onprem": "LastScan",
195
+ "type": "date-time"
196
+ }
197
+ }
151
198
  }
152
199
  ],
153
200
  "properties": {
@@ -14,11 +14,11 @@ using System.Reflection;
14
14
  [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15
15
  [assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
16
16
  [assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
17
- [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.13")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.13")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.14")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.14")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.13.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.14.0")]
22
22
  [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
23
23
 
24
24
  // Generated by the MSBuild WriteCodeFragment class.
@@ -1 +1 @@
1
- 91b2684e5b28ba48a543f6311d5013a1104cfcde
1
+ d3343451f040b3da1a3de0ff5c7c6d5026d66e97
@@ -14,11 +14,11 @@ using System.Reflection;
14
14
  [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
15
15
  [assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
16
16
  [assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
17
- [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.13")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.13")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.14")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.14")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.13.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.14.0")]
22
22
  [assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
23
23
 
24
24
  // Generated by the MSBuild WriteCodeFragment class.
@@ -1 +1 @@
1
- 91b2684e5b28ba48a543f6311d5013a1104cfcde
1
+ d3343451f040b3da1a3de0ff5c7c6d5026d66e97
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "projects": {
7
7
  "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj": {
8
- "version": "0.0.13",
8
+ "version": "0.0.14",
9
9
  "restore": {
10
10
  "projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
11
11
  "projectName": "Lansweeper.Model.OTAsset",
@@ -185,7 +185,7 @@
185
185
  "/home/circleci/.nuget/packages/": {}
186
186
  },
187
187
  "project": {
188
- "version": "0.0.13",
188
+ "version": "0.0.14",
189
189
  "restore": {
190
190
  "projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
191
191
  "projectName": "Lansweeper.Model.OTAsset",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 2,
3
- "dgSpecHash": "UvGVLyHbhFHvL/v7SpNYOcmKxtkelVwAcWtrEWQvUyBiD+V3beou7oyuVGCGF66x9IOusGpQ0DJqHSS2ojzyOg==",
3
+ "dgSpecHash": "vBmGJBjpJ1ME9KhGSilLGDK1OjOLxx+ta9VLrY3MRlrAycYhcoBAOZow4bSpJGMXy42bBnV/lMggXWXeA+MHlA==",
4
4
  "success": true,
5
5
  "projectFilePath": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
6
6
  "expectedPackageFiles": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/ot-asset-model",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "OT Asset model",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -17,5 +17,5 @@
17
17
  "scripts": {
18
18
  "build": "tsc"
19
19
  },
20
- "gitHead": "71ab0c66509816bff531cd9f406cff749b77c546"
20
+ "gitHead": "bf624b57876188a6af47f20393ef5c2f66d693bd"
21
21
  }
package/src/ot-model.json CHANGED
@@ -148,6 +148,53 @@
148
148
  "type": "float"
149
149
  }
150
150
  }
151
+ },
152
+ {
153
+ "cloudEntity": "OTLastScan",
154
+ "onpremTable": "AssetProtocol",
155
+ "onpremId": "Id",
156
+ "cloudId": "id",
157
+ "parentFk": "AssetId",
158
+ "propertyName": "otLastScans",
159
+ "limit": 1000,
160
+ "isArray": true,
161
+ "unions": [{
162
+ "rootFk": "ProtocolId",
163
+ "unionPk": "Id",
164
+ "onpremTable": "Protocol",
165
+ "properties": {
166
+ "name": {
167
+ "onprem": "Name",
168
+ "type": "string"
169
+ },
170
+ "isManufacturerSpecific": {
171
+ "onprem": "IsManufacturerSpecific",
172
+ "type": "boolean"
173
+ }
174
+ }
175
+ }],
176
+ "properties": {
177
+ "id": {
178
+ "onprem": "Id",
179
+ "type": "string"
180
+ },
181
+ "ipAddress": {
182
+ "onprem": "IPAddress",
183
+ "type": "string"
184
+ },
185
+ "port": {
186
+ "onprem": "Port",
187
+ "type": "float"
188
+ },
189
+ "lastTried": {
190
+ "onprem": "LastTried",
191
+ "type": "date-time"
192
+ },
193
+ "lastScan": {
194
+ "onprem": "LastScan",
195
+ "type": "date-time"
196
+ }
197
+ }
151
198
  }
152
199
  ],
153
200
  "properties": {