@lansweeper/ot-asset-model 0.0.16 → 0.0.18

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,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.18](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.17...@lansweeper/ot-asset-model@0.0.18) (2022-05-24)
7
+
8
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.0.17](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.16...@lansweeper/ot-asset-model@0.0.17) (2022-05-16)
15
+
16
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.0.16](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.15...@lansweeper/ot-asset-model@0.0.16) (2022-05-12)
7
23
 
8
24
  **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.15</PackageVersion>
11
- <Version>0.0.15</Version>
12
- <FileVersion>0.0.15</FileVersion>
10
+ <PackageVersion>0.0.17</PackageVersion>
11
+ <Version>0.0.17</Version>
12
+ <FileVersion>0.0.17</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.15": {
9
+ "Lansweeper.Model.OTAsset/0.0.17": {
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.15": {
17
+ "Lansweeper.Model.OTAsset/0.0.17": {
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.15": {
10
+ "Lansweeper.Model.OTAsset/0.0.17": {
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.15": {
27
+ "Lansweeper.Model.OTAsset/0.0.17": {
28
28
  "type": "project",
29
29
  "serviceable": false,
30
30
  "sha512": ""
@@ -20,6 +20,15 @@
20
20
  },
21
21
  "serialNumber": {
22
22
  "type": "string"
23
+ },
24
+ "stateName": {
25
+ "type": "string"
26
+ },
27
+ "stateKey": {
28
+ "type": "string"
29
+ },
30
+ "stateId": {
31
+ "type": "string"
23
32
  }
24
33
  }
25
34
  },
@@ -36,7 +45,7 @@
36
45
  "cloudEntity": "Module",
37
46
  "onpremTable": "Module",
38
47
  "onpremId": "Id",
39
- "cloudId": "id",
48
+ "cloudId": "moduleId",
40
49
  "rootId": "AssetId",
41
50
  "parentFk": "AssetId",
42
51
  "propertyName": "modules",
@@ -54,7 +63,7 @@
54
63
  "limit": 1000,
55
64
  "isArray": true,
56
65
  "properties": {
57
- "id": {
66
+ "extraFieldId": {
58
67
  "onprem": "Id",
59
68
  "type": "string"
60
69
  },
@@ -79,7 +88,7 @@
79
88
  "limit": 1000,
80
89
  "isArray": true,
81
90
  "properties": {
82
- "id": {
91
+ "firmwareHistoryId": {
83
92
  "onprem": "Id",
84
93
  "type": "string"
85
94
  },
@@ -99,7 +108,7 @@
99
108
  }
100
109
  ],
101
110
  "properties": {
102
- "id": {
111
+ "moduleId": {
103
112
  "onprem": "Id",
104
113
  "type": "string"
105
114
  },
@@ -157,13 +166,14 @@
157
166
  "cloudEntity": "OTLastScan",
158
167
  "onpremTable": "AssetProtocol",
159
168
  "onpremId": "Id",
160
- "cloudId": "id",
169
+ "cloudId": "lastScanId",
161
170
  "parentFk": "AssetId",
162
171
  "rootId": "AssetId",
163
172
  "propertyName": "otLastScans",
164
173
  "limit": 1000,
165
174
  "isArray": true,
166
- "unions": [{
175
+ "unions": [
176
+ {
167
177
  "rootFk": "ProtocolId",
168
178
  "unionPk": "Id",
169
179
  "onpremTable": "Protocol",
@@ -177,9 +187,10 @@
177
187
  "type": "boolean"
178
188
  }
179
189
  }
180
- }],
190
+ }
191
+ ],
181
192
  "properties": {
182
- "id": {
193
+ "lastScanId": {
183
194
  "onprem": "Id",
184
195
  "type": "string"
185
196
  },
@@ -223,6 +234,9 @@
223
234
  "onprem": "AssetTypeId",
224
235
  "type": "string"
225
236
  },
237
+ "assetTypeKey": {
238
+ "type": "string"
239
+ },
226
240
  "assetName": {
227
241
  "onprem": "Name",
228
242
  "type": "string"
@@ -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.15")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.15")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.17")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.17")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.15.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.17.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
- 1cb419ed8793598f7bcd7f1bed2575d2670c06fb
1
+ 37dda751436287f1078a1da8bbfcfefca5097723
@@ -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.15")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.15")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.17")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.17")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.15.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.17.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
- 1cb419ed8793598f7bcd7f1bed2575d2670c06fb
1
+ 37dda751436287f1078a1da8bbfcfefca5097723
@@ -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.15",
8
+ "version": "0.0.17",
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.15",
188
+ "version": "0.0.17",
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": "0WkaxfRvjrXqsnVtNSPprrL40Sv7u9qP61ENpn0UOjEFxkGLw0A9iRwBTJRhiOOww5tRDzMGODqYjw0pK0n53w==",
3
+ "dgSpecHash": "XLlgQ6c2qLRa6jEdeFUsrfdRnqaKonjvQda0JgKj+gpp2rr7DLczOKpmHF+gSGoXi8sr5HxdgnL+lRlW4v91pg==",
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.16",
3
+ "version": "0.0.18",
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": "ad90eafa53679975cd0758dd1074987e6327ee0d"
20
+ "gitHead": "1d49928a79e3191c3c703cabbb525802b0ddd822"
21
21
  }
package/src/ot-model.json CHANGED
@@ -20,6 +20,15 @@
20
20
  },
21
21
  "serialNumber": {
22
22
  "type": "string"
23
+ },
24
+ "stateName": {
25
+ "type": "string"
26
+ },
27
+ "stateKey": {
28
+ "type": "string"
29
+ },
30
+ "stateId": {
31
+ "type": "string"
23
32
  }
24
33
  }
25
34
  },
@@ -36,7 +45,7 @@
36
45
  "cloudEntity": "Module",
37
46
  "onpremTable": "Module",
38
47
  "onpremId": "Id",
39
- "cloudId": "id",
48
+ "cloudId": "moduleId",
40
49
  "rootId": "AssetId",
41
50
  "parentFk": "AssetId",
42
51
  "propertyName": "modules",
@@ -54,7 +63,7 @@
54
63
  "limit": 1000,
55
64
  "isArray": true,
56
65
  "properties": {
57
- "id": {
66
+ "extraFieldId": {
58
67
  "onprem": "Id",
59
68
  "type": "string"
60
69
  },
@@ -79,7 +88,7 @@
79
88
  "limit": 1000,
80
89
  "isArray": true,
81
90
  "properties": {
82
- "id": {
91
+ "firmwareHistoryId": {
83
92
  "onprem": "Id",
84
93
  "type": "string"
85
94
  },
@@ -99,7 +108,7 @@
99
108
  }
100
109
  ],
101
110
  "properties": {
102
- "id": {
111
+ "moduleId": {
103
112
  "onprem": "Id",
104
113
  "type": "string"
105
114
  },
@@ -157,29 +166,31 @@
157
166
  "cloudEntity": "OTLastScan",
158
167
  "onpremTable": "AssetProtocol",
159
168
  "onpremId": "Id",
160
- "cloudId": "id",
169
+ "cloudId": "lastScanId",
161
170
  "parentFk": "AssetId",
162
171
  "rootId": "AssetId",
163
172
  "propertyName": "otLastScans",
164
173
  "limit": 1000,
165
174
  "isArray": true,
166
- "unions": [{
167
- "rootFk": "ProtocolId",
168
- "unionPk": "Id",
169
- "onpremTable": "Protocol",
170
- "properties": {
171
- "name": {
172
- "onprem": "Name",
173
- "type": "string"
174
- },
175
- "isManufacturerSpecific": {
176
- "onprem": "IsManufacturerSpecific",
177
- "type": "boolean"
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
+ }
178
189
  }
179
190
  }
180
- }],
191
+ ],
181
192
  "properties": {
182
- "id": {
193
+ "lastScanId": {
183
194
  "onprem": "Id",
184
195
  "type": "string"
185
196
  },
@@ -223,6 +234,9 @@
223
234
  "onprem": "AssetTypeId",
224
235
  "type": "string"
225
236
  },
237
+ "assetTypeKey": {
238
+ "type": "string"
239
+ },
226
240
  "assetName": {
227
241
  "onprem": "Name",
228
242
  "type": "string"