@lansweeper/ot-asset-model 0.0.30 → 0.0.32

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/Lansweeper.Model.OTAsset.csproj +4 -4
  3. package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.deps.json +2 -2
  4. package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
  5. package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
  6. package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.deps.json +2 -2
  7. package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
  8. package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
  9. package/dist/ot-model.json +8 -33
  10. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +3 -3
  11. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -1
  12. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.assets.cache +0 -0
  13. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache +0 -0
  14. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.csproj.CoreCompileInputs.cache +1 -1
  15. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
  16. package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
  17. package/obj/Debug/net6.0/ref/Lansweeper.Model.OTAsset.dll +0 -0
  18. package/obj/Debug/net6.0/refint/Lansweeper.Model.OTAsset.dll +0 -0
  19. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +3 -3
  20. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -1
  21. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.assets.cache +0 -0
  22. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.csproj.AssemblyReference.cache +0 -0
  23. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
  24. package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
  25. package/obj/Lansweeper.Model.OTAsset.csproj.nuget.dgspec.json +7 -5
  26. package/obj/Lansweeper.Model.OTAsset.csproj.nuget.g.props +1 -1
  27. package/obj/project.assets.json +7 -5
  28. package/obj/project.nuget.cache +1 -1
  29. package/package.json +3 -3
  30. package/src/ot-model-query.json +246 -0
  31. package/src/ot-model.json +8 -33
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.32](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.31...@lansweeper/ot-asset-model@0.0.32) (2022-08-18)
7
+
8
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.0.31](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.30...@lansweeper/ot-asset-model@0.0.31) (2022-08-17)
15
+
16
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.0.30](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.29...@lansweeper/ot-asset-model@0.0.30) (2022-08-05)
7
23
 
8
24
  **Note:** Version bump only for package @lansweeper/ot-asset-model
@@ -7,13 +7,13 @@
7
7
  <Company>Lansweeper</Company>
8
8
  <Product>Lansweeper Syncer</Product>
9
9
  <Copyright>Lansweeper</Copyright>
10
- <PackageVersion>0.0.29</PackageVersion>
11
- <Version>0.0.29</Version>
12
- <FileVersion>0.0.29</FileVersion>
10
+ <PackageVersion>0.0.31</PackageVersion>
11
+ <Version>0.0.31</Version>
12
+ <FileVersion>0.0.31</FileVersion>
13
13
  <RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
14
14
  </PropertyGroup>
15
15
  <ItemGroup>
16
- <EmbeddedResource Include="src/ot-model.json">
16
+ <EmbeddedResource Include="src/ot-model-query.json">
17
17
  <LogicalName>Lansweeper.Model.OTAsset.Content.json</LogicalName>
18
18
  </EmbeddedResource>
19
19
  </ItemGroup>
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v6.0": {
9
- "Lansweeper.Model.OTAsset/0.0.29": {
9
+ "Lansweeper.Model.OTAsset/0.0.31": {
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.29": {
17
+ "Lansweeper.Model.OTAsset/0.0.31": {
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.29": {
10
+ "Lansweeper.Model.OTAsset/0.0.31": {
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.29": {
27
+ "Lansweeper.Model.OTAsset/0.0.31": {
28
28
  "type": "project",
29
29
  "serviceable": false,
30
30
  "sha512": ""
@@ -172,23 +172,6 @@
172
172
  "propertyName": "otLastScans",
173
173
  "limit": 1000,
174
174
  "isArray": true,
175
- "unions": [
176
- {
177
- "rootFk": "ProtocolId",
178
- "unionPk": "Id",
179
- "onpremTable": "Protocol",
180
- "properties": {
181
- "name": {
182
- "onprem": "Name",
183
- "type": "string"
184
- },
185
- "isManufacturerSpecific": {
186
- "onprem": "IsManufacturerSpecific",
187
- "type": "boolean"
188
- }
189
- }
190
- }
191
- ],
192
175
  "properties": {
193
176
  "lastScanId": {
194
177
  "onprem": "Id",
@@ -209,6 +192,14 @@
209
192
  "lastScan": {
210
193
  "onprem": "LastScan",
211
194
  "type": "date-time"
195
+ },
196
+ "name": {
197
+ "onprem": "Name",
198
+ "type": "string"
199
+ },
200
+ "isManufacturerSpecific": {
201
+ "onprem": "IsManufacturerSpecific",
202
+ "type": "boolean"
212
203
  }
213
204
  }
214
205
  }
@@ -245,22 +236,6 @@
245
236
  "onprem": "Description",
246
237
  "type": "string"
247
238
  },
248
- "manufacturer": {
249
- "onprem": "Manufacturer",
250
- "type": "string"
251
- },
252
- "model": {
253
- "onprem": "Model",
254
- "type": "string"
255
- },
256
- "serialNumber": {
257
- "onprem": "SerialNumber",
258
- "type": "string"
259
- },
260
- "rackSize": {
261
- "onprem": "RackSize",
262
- "type": "float"
263
- },
264
239
  "firstSeen": {
265
240
  "onprem": "FirstSeen",
266
241
  "type": "date-time"
@@ -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.29")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.29")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.31")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.31")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.29.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.31.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
- 1401f76e630f760aa99c6e8de1e13a234516fe9e
1
+ dee17910f1c5cc46bf704c92174faa164aebb434
@@ -1 +1 @@
1
- 7a396d1f262466699ed01b479bd3d711299b366c
1
+ e736fa6bc73273a02f1a7d3e7f7b02a79b5ea486
@@ -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.29")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.29")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.31")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.31")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.29.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.31.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
- 1401f76e630f760aa99c6e8de1e13a234516fe9e
1
+ dee17910f1c5cc46bf704c92174faa164aebb434
@@ -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.29",
8
+ "version": "0.0.31",
9
9
  "restore": {
10
10
  "projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
11
11
  "projectName": "Lansweeper.Model.OTAsset",
@@ -49,7 +49,8 @@
49
49
  "net47",
50
50
  "net471",
51
51
  "net472",
52
- "net48"
52
+ "net48",
53
+ "net481"
53
54
  ],
54
55
  "assetTargetFallback": true,
55
56
  "warn": true,
@@ -58,7 +59,7 @@
58
59
  "privateAssets": "all"
59
60
  }
60
61
  },
61
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.302/RuntimeIdentifierGraph.json"
62
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.400/RuntimeIdentifierGraph.json"
62
63
  },
63
64
  "netstandard2.0": {
64
65
  "targetAlias": "netstandard2.0",
@@ -76,11 +77,12 @@
76
77
  "net47",
77
78
  "net471",
78
79
  "net472",
79
- "net48"
80
+ "net48",
81
+ "net481"
80
82
  ],
81
83
  "assetTargetFallback": true,
82
84
  "warn": true,
83
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.302/RuntimeIdentifierGraph.json"
85
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.400/RuntimeIdentifierGraph.json"
84
86
  }
85
87
  }
86
88
  }
@@ -7,7 +7,7 @@
7
7
  <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageRoot>
8
8
  <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/circleci/.nuget/packages/</NuGetPackageFolders>
9
9
  <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
10
- <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.2.1</NuGetToolVersion>
10
+ <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
11
11
  </PropertyGroup>
12
12
  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
13
13
  <SourceRoot Include="/home/circleci/.nuget/packages/" />
@@ -185,7 +185,7 @@
185
185
  "/home/circleci/.nuget/packages/": {}
186
186
  },
187
187
  "project": {
188
- "version": "0.0.29",
188
+ "version": "0.0.31",
189
189
  "restore": {
190
190
  "projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
191
191
  "projectName": "Lansweeper.Model.OTAsset",
@@ -229,7 +229,8 @@
229
229
  "net47",
230
230
  "net471",
231
231
  "net472",
232
- "net48"
232
+ "net48",
233
+ "net481"
233
234
  ],
234
235
  "assetTargetFallback": true,
235
236
  "warn": true,
@@ -238,7 +239,7 @@
238
239
  "privateAssets": "all"
239
240
  }
240
241
  },
241
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.302/RuntimeIdentifierGraph.json"
242
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.400/RuntimeIdentifierGraph.json"
242
243
  },
243
244
  "netstandard2.0": {
244
245
  "targetAlias": "netstandard2.0",
@@ -256,11 +257,12 @@
256
257
  "net47",
257
258
  "net471",
258
259
  "net472",
259
- "net48"
260
+ "net48",
261
+ "net481"
260
262
  ],
261
263
  "assetTargetFallback": true,
262
264
  "warn": true,
263
- "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.302/RuntimeIdentifierGraph.json"
265
+ "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.400/RuntimeIdentifierGraph.json"
264
266
  }
265
267
  }
266
268
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 2,
3
- "dgSpecHash": "KYxRKdads0O7XJeBo9BB1tfoQ/+Ku1hgWxZUxZZNFLTz48ufRPtbFlvjx5WemNIRUjXzFzmbdz4BYrvlCRsH8A==",
3
+ "dgSpecHash": "T0yozV8DHcEQmwb5c5vicJAIxykuGkGw1FkE39EMMRrI/rOIhqBBQj4Ct3vRhNWCQX89uY85IXI5KEWtKypKHQ==",
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.30",
3
+ "version": "0.0.32",
4
4
  "description": "OT Asset model",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -8,7 +8,7 @@
8
8
  "types": "dist/types",
9
9
  "main": "dist/index.js",
10
10
  "dependencies": {
11
- "@lansweeper/asset-model": "^2.10.20",
11
+ "@lansweeper/asset-model": "^2.10.21",
12
12
  "@types/node": "^14.14.25",
13
13
  "ts-node": "^9.1.1",
14
14
  "typescript": "^4.1.3"
@@ -16,5 +16,5 @@
16
16
  "scripts": {
17
17
  "build": "tsc"
18
18
  },
19
- "gitHead": "aae7272a529ac0d0fc941ad844d64a41930becfa"
19
+ "gitHead": "e925d9800e6c7a6aed7b6ec0961bca331f8a0294"
20
20
  }
@@ -0,0 +1,246 @@
1
+ [
2
+ {
3
+ "context": "Asset",
4
+ "cloudEntity": "Asset",
5
+ "onpremTable": "Asset",
6
+ "onpremId": "Id",
7
+ "rootId": "Id",
8
+ "cloudId": "assetId",
9
+ "cloudKey": "assetKey",
10
+ "children": [
11
+ {
12
+ "cloudEntity": "Module",
13
+ "onpremTable": "Module",
14
+ "onpremId": "Id",
15
+ "cloudId": "moduleId",
16
+ "rootId": "AssetId",
17
+ "parentFk": "AssetId",
18
+ "propertyName": "modules",
19
+ "limit": 1000,
20
+ "isArray": true,
21
+ "children": [
22
+ {
23
+ "cloudEntity": "ExtraField",
24
+ "onpremTable": "ModuleExtendedInformation",
25
+ "onpremId": "Id",
26
+ "cloudId": "extraFieldId",
27
+ "parentFk": "ModuleId",
28
+ "rootId": "RootId",
29
+ "propertyName": "extraFields",
30
+ "limit": 1000,
31
+ "isArray": true,
32
+ "properties": {
33
+ "extraFieldId": {
34
+ "onprem": "Id",
35
+ "type": "string"
36
+ },
37
+ "name": {
38
+ "onprem": "Name",
39
+ "type": "string"
40
+ },
41
+ "value": {
42
+ "onprem": "Value",
43
+ "type": "string"
44
+ }
45
+ }
46
+ },
47
+ {
48
+ "cloudEntity": "FirmwareHistory",
49
+ "onpremTable": "ModuleFirmwareHistory",
50
+ "onpremId": "Id",
51
+ "cloudId": "firmwareHistoryId",
52
+ "rootId": "RootId",
53
+ "parentFk": "ModuleId",
54
+ "propertyName": "firmwareHistory",
55
+ "limit": 1000,
56
+ "isArray": true,
57
+ "properties": {
58
+ "firmwareHistoryId": {
59
+ "onprem": "Id",
60
+ "type": "string"
61
+ },
62
+ "firmware": {
63
+ "onprem": "Firmware",
64
+ "type": "string"
65
+ },
66
+ "from": {
67
+ "onprem": "From",
68
+ "type": "date-time"
69
+ },
70
+ "to": {
71
+ "onprem": "Until",
72
+ "type": "date-time"
73
+ }
74
+ }
75
+ }
76
+ ],
77
+ "properties": {
78
+ "moduleId": {
79
+ "onprem": "Id",
80
+ "type": "string"
81
+ },
82
+ "componentType": {
83
+ "onprem": "ComponentType",
84
+ "type": "string"
85
+ },
86
+ "name": {
87
+ "onprem": "Name",
88
+ "type": "string"
89
+ },
90
+ "manufacturer": {
91
+ "onprem": "Manufacturer",
92
+ "type": "string"
93
+ },
94
+ "type": {
95
+ "onprem": "Type",
96
+ "type": "string"
97
+ },
98
+ "serialNumber": {
99
+ "onprem": "SerialNumber",
100
+ "type": "string"
101
+ },
102
+ "isMainModule": {
103
+ "onprem": "IsMainModule",
104
+ "type": "boolean"
105
+ },
106
+ "model": {
107
+ "onprem": "Model",
108
+ "type": "string"
109
+ },
110
+ "firmware": {
111
+ "onprem": "Firmware",
112
+ "type": "string"
113
+ },
114
+ "rack": {
115
+ "onprem": "Rack",
116
+ "type": "float"
117
+ },
118
+ "rackName": {
119
+ "onprem": "RackName",
120
+ "type": "string"
121
+ },
122
+ "slot": {
123
+ "onprem": "Slot",
124
+ "type": "float"
125
+ },
126
+ "slotSize": {
127
+ "onprem": "SlotSize",
128
+ "type": "float"
129
+ }
130
+ }
131
+ },
132
+ {
133
+ "cloudEntity": "OTLastScan",
134
+ "onpremTable": "AssetProtocol",
135
+ "onpremId": "Id",
136
+ "cloudId": "lastScanId",
137
+ "parentFk": "AssetId",
138
+ "rootId": "AssetId",
139
+ "propertyName": "otLastScans",
140
+ "limit": 1000,
141
+ "isArray": true,
142
+ "unions": [
143
+ {
144
+ "rootFk": "ProtocolId",
145
+ "unionPk": "Id",
146
+ "onpremTable": "Protocol",
147
+ "properties": {
148
+ "name": {
149
+ "onprem": "Name",
150
+ "type": "string"
151
+ },
152
+ "isManufacturerSpecific": {
153
+ "onprem": "IsManufacturerSpecific",
154
+ "type": "boolean"
155
+ }
156
+ }
157
+ }
158
+ ],
159
+ "properties": {
160
+ "lastScanId": {
161
+ "onprem": "Id",
162
+ "type": "string"
163
+ },
164
+ "ipAddress": {
165
+ "onprem": "IPAddress",
166
+ "type": "string"
167
+ },
168
+ "port": {
169
+ "onprem": "Port",
170
+ "type": "float"
171
+ },
172
+ "lastTried": {
173
+ "onprem": "LastTried",
174
+ "type": "date-time"
175
+ },
176
+ "lastScan": {
177
+ "onprem": "LastScan",
178
+ "type": "date-time"
179
+ }
180
+ }
181
+ }
182
+ ],
183
+ "properties": {
184
+ "assetId": {
185
+ "onprem": "Id",
186
+ "type": "string"
187
+ },
188
+ "ipAddress": {
189
+ "onprem": "IPAddress",
190
+ "type": "string"
191
+ },
192
+ "ipNumeric": {
193
+ "onprem": "IPNumeric",
194
+ "type": "float"
195
+ },
196
+ "mac": {
197
+ "onprem": "Mac",
198
+ "type": "string"
199
+ },
200
+ "assetTypeId": {
201
+ "onprem": "AssetTypeId",
202
+ "type": "string"
203
+ },
204
+ "assetName": {
205
+ "onprem": "Name",
206
+ "type": "string"
207
+ },
208
+ "description": {
209
+ "onprem": "Description",
210
+ "type": "string"
211
+ },
212
+ "manufacturer": {
213
+ "onprem": "Manufacturer",
214
+ "type": "string"
215
+ },
216
+ "model": {
217
+ "onprem": "Model",
218
+ "type": "string"
219
+ },
220
+ "serialNumber": {
221
+ "onprem": "SerialNumber",
222
+ "type": "string"
223
+ },
224
+ "rackSize": {
225
+ "onprem": "RackSize",
226
+ "type": "float"
227
+ },
228
+ "firstSeen": {
229
+ "onprem": "FirstSeen",
230
+ "type": "date-time"
231
+ },
232
+ "lastSeen": {
233
+ "onprem": "LastSeen",
234
+ "type": "date-time"
235
+ },
236
+ "lastTried": {
237
+ "onprem": "LastTried",
238
+ "type": "date-time"
239
+ },
240
+ "lastChanged": {
241
+ "onprem": "LastChanged",
242
+ "type": "date-time"
243
+ }
244
+ }
245
+ }
246
+ ]
package/src/ot-model.json CHANGED
@@ -172,23 +172,6 @@
172
172
  "propertyName": "otLastScans",
173
173
  "limit": 1000,
174
174
  "isArray": true,
175
- "unions": [
176
- {
177
- "rootFk": "ProtocolId",
178
- "unionPk": "Id",
179
- "onpremTable": "Protocol",
180
- "properties": {
181
- "name": {
182
- "onprem": "Name",
183
- "type": "string"
184
- },
185
- "isManufacturerSpecific": {
186
- "onprem": "IsManufacturerSpecific",
187
- "type": "boolean"
188
- }
189
- }
190
- }
191
- ],
192
175
  "properties": {
193
176
  "lastScanId": {
194
177
  "onprem": "Id",
@@ -209,6 +192,14 @@
209
192
  "lastScan": {
210
193
  "onprem": "LastScan",
211
194
  "type": "date-time"
195
+ },
196
+ "name": {
197
+ "onprem": "Name",
198
+ "type": "string"
199
+ },
200
+ "isManufacturerSpecific": {
201
+ "onprem": "IsManufacturerSpecific",
202
+ "type": "boolean"
212
203
  }
213
204
  }
214
205
  }
@@ -245,22 +236,6 @@
245
236
  "onprem": "Description",
246
237
  "type": "string"
247
238
  },
248
- "manufacturer": {
249
- "onprem": "Manufacturer",
250
- "type": "string"
251
- },
252
- "model": {
253
- "onprem": "Model",
254
- "type": "string"
255
- },
256
- "serialNumber": {
257
- "onprem": "SerialNumber",
258
- "type": "string"
259
- },
260
- "rackSize": {
261
- "onprem": "RackSize",
262
- "type": "float"
263
- },
264
239
  "firstSeen": {
265
240
  "onprem": "FirstSeen",
266
241
  "type": "date-time"