@lansweeper/user-model 0.0.9 → 0.0.11

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 (2) hide show
  1. package/dist/model.json +144 -19
  2. package/package.json +2 -2
package/dist/model.json CHANGED
@@ -53,6 +53,80 @@
53
53
  }
54
54
  }
55
55
  },
56
+ {
57
+ "context": "User",
58
+ "cloudKey": "adGroupKey",
59
+ "cloudEntity": "AdGroup",
60
+ "onpremTable": "tblADGroups",
61
+ "onpremId": "ADGroupID",
62
+ "cloudId": "adGroupId",
63
+ "children": [
64
+ {
65
+ "cloudEntity": "AdObject",
66
+ "onpremTable": "tblADObjects",
67
+ "onpremId": "ADObjectID",
68
+ "propertyName": "adObject",
69
+ "parentFk": "ADObjectID",
70
+ "isArray": false,
71
+ "properties": {
72
+ "samAccountName": {
73
+ "onprem": "sAMAccountName",
74
+ "type": "string"
75
+ },
76
+ "domain": {
77
+ "onprem": "domain",
78
+ "type": "string"
79
+ },
80
+ "lastScanned": {
81
+ "onprem": "LastScanned",
82
+ "type": "date-time"
83
+ }
84
+ }
85
+ }
86
+ ],
87
+ "unions": [
88
+ {
89
+ "rootFk": "GroupType",
90
+ "unionPk": "GroupType",
91
+ "onpremTable": "tsysAdGroupType",
92
+ "properties": {
93
+ "groupTypeName": {
94
+ "onprem": "Name",
95
+ "type": "string"
96
+ }
97
+ }
98
+ }
99
+ ],
100
+ "properties": {
101
+ "adGroupId": {
102
+ "onprem": "ADGroupID",
103
+ "type": "string"
104
+ },
105
+ "managerAdObjectId": {
106
+ "onprem": "ManagerADObjectId",
107
+ "type": "string"
108
+ },
109
+ "groupTypeId": {
110
+ "onprem": "GroupType",
111
+ "type": "string"
112
+ },
113
+ "lastChanged": {
114
+ "onprem": "LastChanged",
115
+ "type": "date-time"
116
+ },
117
+ "description": {
118
+ "onprem": "Description",
119
+ "type": "string"
120
+ },
121
+ "name": {
122
+ "onprem": "Name",
123
+ "type": "string"
124
+ },
125
+ "adGroupKey": {
126
+ "type": "uuid"
127
+ }
128
+ }
129
+ },
56
130
  {
57
131
  "context": "User",
58
132
  "cloudEntity": "AdObject",
@@ -165,24 +239,6 @@
165
239
  "onpremId": "ADUserID",
166
240
  "cloudId": "adUserId",
167
241
  "cloudKey": "adUserKey",
168
- "referencesTo": [
169
- {
170
- "referencedEntity": {
171
- "cloudEntity": "AdObject",
172
- "cloudProperty": "adObjectId"
173
- },
174
- "cloudProperty": "adObjectId",
175
- "onpremfk": "ADObjectID"
176
- },
177
- {
178
- "referencedEntity": {
179
- "cloudEntity": "AdObject",
180
- "cloudProperty": "adObjectId"
181
- },
182
- "cloudProperty": "managerAdObjectId",
183
- "onpremfk": "ManagerADObjectId"
184
- }
185
- ],
186
242
  "properties": {
187
243
  "adUserId": {
188
244
  "onprem": "ADUserID",
@@ -418,7 +474,76 @@
418
474
  "managerAdObjectKey": {
419
475
  "type": "string"
420
476
  }
421
- }
477
+ },
478
+ "children": [
479
+ {
480
+ "cloudEntity": "AdObject",
481
+ "onpremTable": "tblADObjects",
482
+ "onpremId": "ADObjectID",
483
+ "parentFk": "ADObjectID",
484
+ "propertyName": "adObject",
485
+ "isArray": false,
486
+ "properties": {
487
+ "samAccountName": {
488
+ "onprem": "sAMAccountName",
489
+ "type": "string"
490
+ },
491
+ "domain": {
492
+ "onprem": "domain",
493
+ "type": "string"
494
+ },
495
+ "lastScanned": {
496
+ "onprem": "LastScanned",
497
+ "type": "date-time"
498
+ }
499
+ }
500
+ },
501
+ {
502
+ "cloudEntity": "AdGroup",
503
+ "onpremTable": "tblADGroups",
504
+ "onpremId": "ADGroupID",
505
+ "cloudId": "adGroupId",
506
+ "parentFk": "ADObjectID",
507
+ "propertyName": "adGroups",
508
+ "isArray": true,
509
+ "convertToArray": true,
510
+ "limit": 1000,
511
+ "unions": [
512
+ {
513
+ "rootFk": "GroupType",
514
+ "unionPk": "GroupType",
515
+ "onpremTable": "tsysAdGroupType",
516
+ "properties": {
517
+ "groupTypeName": {
518
+ "onprem": "Name",
519
+ "type": "string"
520
+ }
521
+ }
522
+ }
523
+ ],
524
+ "properties": {
525
+ "managerAdObjectId": {
526
+ "onprem": "ManagerADObjectId",
527
+ "type": "string"
528
+ },
529
+ "lastChanged": {
530
+ "onprem": "LastChanged",
531
+ "type": "date-time"
532
+ },
533
+ "description": {
534
+ "onprem": "Description",
535
+ "type": "string"
536
+ },
537
+ "name": {
538
+ "onprem": "Name",
539
+ "type": "string"
540
+ },
541
+ "adGroupKey": {
542
+ "type": "uuid"
543
+ }
544
+ }
545
+ }
546
+ ]
422
547
  },
423
548
  {
424
549
  "context": "User",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/user-model",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "User model",
5
5
  "license": "MIT",
6
6
  "types": "dist/types",
@@ -16,5 +16,5 @@
16
16
  "scripts": {
17
17
  "build": "tsc"
18
18
  },
19
- "gitHead": "ffea88e2ae7a0c06e37331cbc4591154b93dab88"
19
+ "gitHead": "990245f2312499fe78abbe100a0fe625b2d1136f"
20
20
  }