@lansweeper/ot-asset-model 0.0.15 → 0.0.17

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.17](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.16...@lansweeper/ot-asset-model@0.0.17) (2022-05-16)
7
+
8
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
9
+
10
+
11
+
12
+
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @lansweeper/ot-asset-model
17
+
18
+
19
+
20
+
21
+
6
22
  ## [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
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.14</PackageVersion>
11
- <Version>0.0.14</Version>
12
- <FileVersion>0.0.14</FileVersion>
10
+ <PackageVersion>0.0.16</PackageVersion>
11
+ <Version>0.0.16</Version>
12
+ <FileVersion>0.0.16</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.14": {
9
+ "Lansweeper.Model.OTAsset/0.0.16": {
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.14": {
17
+ "Lansweeper.Model.OTAsset/0.0.16": {
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.14": {
10
+ "Lansweeper.Model.OTAsset/0.0.16": {
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.14": {
27
+ "Lansweeper.Model.OTAsset/0.0.16": {
28
28
  "type": "project",
29
29
  "serviceable": false,
30
30
  "sha512": ""
@@ -4,6 +4,7 @@
4
4
  "cloudEntity": "Asset",
5
5
  "onpremTable": "Asset",
6
6
  "onpremId": "Id",
7
+ "rootId": "Id",
7
8
  "cloudId": "assetId",
8
9
  "cloudKey": "assetKey",
9
10
  "children": [
@@ -35,7 +36,8 @@
35
36
  "cloudEntity": "Module",
36
37
  "onpremTable": "Module",
37
38
  "onpremId": "Id",
38
- "cloudId": "id",
39
+ "cloudId": "moduleId",
40
+ "rootId": "AssetId",
39
41
  "parentFk": "AssetId",
40
42
  "propertyName": "modules",
41
43
  "limit": 1000,
@@ -47,11 +49,12 @@
47
49
  "onpremId": "Id",
48
50
  "cloudId": "extraFieldId",
49
51
  "parentFk": "ModuleId",
52
+ "rootId": "RootId",
50
53
  "propertyName": "extraFields",
51
54
  "limit": 1000,
52
55
  "isArray": true,
53
56
  "properties": {
54
- "id": {
57
+ "extraFieldId": {
55
58
  "onprem": "Id",
56
59
  "type": "string"
57
60
  },
@@ -70,12 +73,13 @@
70
73
  "onpremTable": "ModuleFirmwareHistory",
71
74
  "onpremId": "Id",
72
75
  "cloudId": "firmwareHistoryId",
76
+ "rootId": "RootId",
73
77
  "parentFk": "ModuleId",
74
78
  "propertyName": "firmwareHistory",
75
79
  "limit": 1000,
76
80
  "isArray": true,
77
81
  "properties": {
78
- "id": {
82
+ "firmwareHistoryId": {
79
83
  "onprem": "Id",
80
84
  "type": "string"
81
85
  },
@@ -95,7 +99,7 @@
95
99
  }
96
100
  ],
97
101
  "properties": {
98
- "id": {
102
+ "moduleId": {
99
103
  "onprem": "Id",
100
104
  "type": "string"
101
105
  },
@@ -153,8 +157,9 @@
153
157
  "cloudEntity": "OTLastScan",
154
158
  "onpremTable": "AssetProtocol",
155
159
  "onpremId": "Id",
156
- "cloudId": "id",
160
+ "cloudId": "lastScanId",
157
161
  "parentFk": "AssetId",
162
+ "rootId": "AssetId",
158
163
  "propertyName": "otLastScans",
159
164
  "limit": 1000,
160
165
  "isArray": true,
@@ -174,7 +179,7 @@
174
179
  }
175
180
  }],
176
181
  "properties": {
177
- "id": {
182
+ "lastScanId": {
178
183
  "onprem": "Id",
179
184
  "type": "string"
180
185
  },
@@ -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.14")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.14")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.16")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.16")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.14.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.16.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
- d3343451f040b3da1a3de0ff5c7c6d5026d66e97
1
+ 2cdfd5ce525700368f659bd559408888f1340564
@@ -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.14")]
18
- [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.14")]
17
+ [assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.16")]
18
+ [assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.16")]
19
19
  [assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
20
20
  [assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
21
- [assembly: System.Reflection.AssemblyVersionAttribute("0.0.14.0")]
21
+ [assembly: System.Reflection.AssemblyVersionAttribute("0.0.16.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
- d3343451f040b3da1a3de0ff5c7c6d5026d66e97
1
+ 2cdfd5ce525700368f659bd559408888f1340564
@@ -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.14",
8
+ "version": "0.0.16",
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.14",
188
+ "version": "0.0.16",
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": "vBmGJBjpJ1ME9KhGSilLGDK1OjOLxx+ta9VLrY3MRlrAycYhcoBAOZow4bSpJGMXy42bBnV/lMggXWXeA+MHlA==",
3
+ "dgSpecHash": "9JI94/2N9HCXpCq1qp2ooGeVUxwqHkjE1U2upAwoi9di2bzGQHJcbA1Z8+QTKrGFgIVJZZ7SDHdBcd/mcmQ20g==",
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.15",
3
+ "version": "0.0.17",
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": "bf624b57876188a6af47f20393ef5c2f66d693bd"
20
+ "gitHead": "8bfb63e3287fc2121f8c173bb13ce6888881215e"
21
21
  }
package/src/ot-model.json CHANGED
@@ -4,6 +4,7 @@
4
4
  "cloudEntity": "Asset",
5
5
  "onpremTable": "Asset",
6
6
  "onpremId": "Id",
7
+ "rootId": "Id",
7
8
  "cloudId": "assetId",
8
9
  "cloudKey": "assetKey",
9
10
  "children": [
@@ -35,7 +36,8 @@
35
36
  "cloudEntity": "Module",
36
37
  "onpremTable": "Module",
37
38
  "onpremId": "Id",
38
- "cloudId": "id",
39
+ "cloudId": "moduleId",
40
+ "rootId": "AssetId",
39
41
  "parentFk": "AssetId",
40
42
  "propertyName": "modules",
41
43
  "limit": 1000,
@@ -47,11 +49,12 @@
47
49
  "onpremId": "Id",
48
50
  "cloudId": "extraFieldId",
49
51
  "parentFk": "ModuleId",
52
+ "rootId": "RootId",
50
53
  "propertyName": "extraFields",
51
54
  "limit": 1000,
52
55
  "isArray": true,
53
56
  "properties": {
54
- "id": {
57
+ "extraFieldId": {
55
58
  "onprem": "Id",
56
59
  "type": "string"
57
60
  },
@@ -70,12 +73,13 @@
70
73
  "onpremTable": "ModuleFirmwareHistory",
71
74
  "onpremId": "Id",
72
75
  "cloudId": "firmwareHistoryId",
76
+ "rootId": "RootId",
73
77
  "parentFk": "ModuleId",
74
78
  "propertyName": "firmwareHistory",
75
79
  "limit": 1000,
76
80
  "isArray": true,
77
81
  "properties": {
78
- "id": {
82
+ "firmwareHistoryId": {
79
83
  "onprem": "Id",
80
84
  "type": "string"
81
85
  },
@@ -95,7 +99,7 @@
95
99
  }
96
100
  ],
97
101
  "properties": {
98
- "id": {
102
+ "moduleId": {
99
103
  "onprem": "Id",
100
104
  "type": "string"
101
105
  },
@@ -153,8 +157,9 @@
153
157
  "cloudEntity": "OTLastScan",
154
158
  "onpremTable": "AssetProtocol",
155
159
  "onpremId": "Id",
156
- "cloudId": "id",
160
+ "cloudId": "lastScanId",
157
161
  "parentFk": "AssetId",
162
+ "rootId": "AssetId",
158
163
  "propertyName": "otLastScans",
159
164
  "limit": 1000,
160
165
  "isArray": true,
@@ -174,7 +179,7 @@
174
179
  }
175
180
  }],
176
181
  "properties": {
177
- "id": {
182
+ "lastScanId": {
178
183
  "onprem": "Id",
179
184
  "type": "string"
180
185
  },