@lansweeper/user-model 0.1.0 → 0.2.0
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/dist/model.json +275 -0
- package/package.json +2 -2
package/dist/model.json
CHANGED
|
@@ -555,6 +555,10 @@
|
|
|
555
555
|
"onprem": "LastLogon",
|
|
556
556
|
"type": "date-time"
|
|
557
557
|
},
|
|
558
|
+
"lastSeen": {
|
|
559
|
+
"onprem": "LastSeen",
|
|
560
|
+
"type": "date-time"
|
|
561
|
+
},
|
|
558
562
|
"adUserKey": {
|
|
559
563
|
"type": "string",
|
|
560
564
|
"required": true
|
|
@@ -2559,6 +2563,117 @@
|
|
|
2559
2563
|
"onpremId": "OrganizationId",
|
|
2560
2564
|
"cloudId": "o365OrganizationId",
|
|
2561
2565
|
"cloudKey": "o365OrganizationKey",
|
|
2566
|
+
"children": [
|
|
2567
|
+
{
|
|
2568
|
+
"cloudEntity": "O365Contact",
|
|
2569
|
+
"propertyName": "contacts",
|
|
2570
|
+
"isArray": true,
|
|
2571
|
+
"convertToArray": true,
|
|
2572
|
+
"properties": {
|
|
2573
|
+
"displayName": {
|
|
2574
|
+
"type": "string"
|
|
2575
|
+
},
|
|
2576
|
+
"mail": {
|
|
2577
|
+
"type": "string"
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"cloudEntity": "O365Domain",
|
|
2583
|
+
"propertyName": "domains",
|
|
2584
|
+
"isArray": true,
|
|
2585
|
+
"convertToArray": true,
|
|
2586
|
+
"properties": {
|
|
2587
|
+
"domainName": {
|
|
2588
|
+
"type": "string"
|
|
2589
|
+
},
|
|
2590
|
+
"authenticationType": {
|
|
2591
|
+
"type": "string"
|
|
2592
|
+
},
|
|
2593
|
+
"isAdminManaged": {
|
|
2594
|
+
"type": "boolean"
|
|
2595
|
+
},
|
|
2596
|
+
"isDefault": {
|
|
2597
|
+
"type": "boolean"
|
|
2598
|
+
},
|
|
2599
|
+
"isInitial": {
|
|
2600
|
+
"type": "boolean"
|
|
2601
|
+
},
|
|
2602
|
+
"isRoot": {
|
|
2603
|
+
"type": "boolean"
|
|
2604
|
+
},
|
|
2605
|
+
"isVerified": {
|
|
2606
|
+
"type": "boolean"
|
|
2607
|
+
},
|
|
2608
|
+
"supportedService": {
|
|
2609
|
+
"type": "string"
|
|
2610
|
+
},
|
|
2611
|
+
"state": {
|
|
2612
|
+
"type": "string"
|
|
2613
|
+
},
|
|
2614
|
+
"availabilityStatus": {
|
|
2615
|
+
"type": "string"
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"cloudEntity": "O365Licenses",
|
|
2621
|
+
"propertyName": "licenses",
|
|
2622
|
+
"isArray": true,
|
|
2623
|
+
"convertToArray": true,
|
|
2624
|
+
"children": [
|
|
2625
|
+
{
|
|
2626
|
+
"cloudEntity": "O365ServicePlan",
|
|
2627
|
+
"propertyName": "servicePlans",
|
|
2628
|
+
"isArray": true,
|
|
2629
|
+
"convertToArray": true,
|
|
2630
|
+
"properties": {
|
|
2631
|
+
"servicePlanId": {
|
|
2632
|
+
"type": "string"
|
|
2633
|
+
},
|
|
2634
|
+
"servicePlanName": {
|
|
2635
|
+
"type": "string"
|
|
2636
|
+
},
|
|
2637
|
+
"provisioningStatus": {
|
|
2638
|
+
"type": "string"
|
|
2639
|
+
},
|
|
2640
|
+
"appliesTo": {
|
|
2641
|
+
"type": "string"
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
],
|
|
2646
|
+
"properties": {
|
|
2647
|
+
"o365skuid": {
|
|
2648
|
+
"type": "string"
|
|
2649
|
+
},
|
|
2650
|
+
"capabilityStatus": {
|
|
2651
|
+
"type": "string"
|
|
2652
|
+
},
|
|
2653
|
+
"consumedUnits": {
|
|
2654
|
+
"type": "int"
|
|
2655
|
+
},
|
|
2656
|
+
"prepaidUnitsEnabled": {
|
|
2657
|
+
"type": "int"
|
|
2658
|
+
},
|
|
2659
|
+
"prepaidUnitsSuspended": {
|
|
2660
|
+
"type": "int"
|
|
2661
|
+
},
|
|
2662
|
+
"prepaidUnitWarning": {
|
|
2663
|
+
"type": "int"
|
|
2664
|
+
},
|
|
2665
|
+
"skuPartNumber": {
|
|
2666
|
+
"type": "string"
|
|
2667
|
+
},
|
|
2668
|
+
"appliesTo": {
|
|
2669
|
+
"type": "string"
|
|
2670
|
+
},
|
|
2671
|
+
"name": {
|
|
2672
|
+
"type": "string"
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
],
|
|
2562
2677
|
"properties": {
|
|
2563
2678
|
"o365OrganizationId": {
|
|
2564
2679
|
"onprem": "OrganizationId",
|
|
@@ -2761,6 +2876,166 @@
|
|
|
2761
2876
|
"onpremId": "UserId",
|
|
2762
2877
|
"cloudId": "o365UserId",
|
|
2763
2878
|
"cloudKey": "o365UserKey",
|
|
2879
|
+
"children": [
|
|
2880
|
+
{
|
|
2881
|
+
"cloudEntity": "O365Group",
|
|
2882
|
+
"propertyName": "groups",
|
|
2883
|
+
"isArray": true,
|
|
2884
|
+
"convertToArray": true,
|
|
2885
|
+
"properties": {
|
|
2886
|
+
"objectId": {
|
|
2887
|
+
"type": "string"
|
|
2888
|
+
},
|
|
2889
|
+
"displayName": {
|
|
2890
|
+
"type": "string"
|
|
2891
|
+
},
|
|
2892
|
+
"description": {
|
|
2893
|
+
"type": "string"
|
|
2894
|
+
},
|
|
2895
|
+
"mailEnabled": {
|
|
2896
|
+
"type": "boolean"
|
|
2897
|
+
},
|
|
2898
|
+
"securityEnabled": {
|
|
2899
|
+
"type": "boolean"
|
|
2900
|
+
},
|
|
2901
|
+
"mail": {
|
|
2902
|
+
"type": "string"
|
|
2903
|
+
},
|
|
2904
|
+
"mailNickName": {
|
|
2905
|
+
"type": "string"
|
|
2906
|
+
},
|
|
2907
|
+
"proxyAddresses": {
|
|
2908
|
+
"type": "string"
|
|
2909
|
+
},
|
|
2910
|
+
"type": {
|
|
2911
|
+
"type": "string"
|
|
2912
|
+
}
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
"cloudEntity": "O365AssignedPlan",
|
|
2917
|
+
"propertyName": "assignedPlans",
|
|
2918
|
+
"isArray": true,
|
|
2919
|
+
"convertToArray": true,
|
|
2920
|
+
"properties": {
|
|
2921
|
+
"servicePlanId": {
|
|
2922
|
+
"type": "string"
|
|
2923
|
+
},
|
|
2924
|
+
"service": {
|
|
2925
|
+
"type": "string"
|
|
2926
|
+
},
|
|
2927
|
+
"capabilityStatus": {
|
|
2928
|
+
"type": "string"
|
|
2929
|
+
},
|
|
2930
|
+
"assignedTimeStamp": {
|
|
2931
|
+
"type": "string"
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"cloudEntity": "O365License",
|
|
2937
|
+
"propertyName": "assignedLicenses",
|
|
2938
|
+
"isArray": true,
|
|
2939
|
+
"convertToArray": true,
|
|
2940
|
+
"properties": {
|
|
2941
|
+
"o365skuid": {
|
|
2942
|
+
"type": "string"
|
|
2943
|
+
},
|
|
2944
|
+
"capabilityStatus": {
|
|
2945
|
+
"type": "string"
|
|
2946
|
+
},
|
|
2947
|
+
"consumedUnits": {
|
|
2948
|
+
"type": "int"
|
|
2949
|
+
},
|
|
2950
|
+
"prepaidUnitsEnabled": {
|
|
2951
|
+
"type": "int"
|
|
2952
|
+
},
|
|
2953
|
+
"prepaidUnitsSuspended": {
|
|
2954
|
+
"type": "int"
|
|
2955
|
+
},
|
|
2956
|
+
"prepaidUnitWarning": {
|
|
2957
|
+
"type": "int"
|
|
2958
|
+
},
|
|
2959
|
+
"skuPartNumber": {
|
|
2960
|
+
"type": "string"
|
|
2961
|
+
},
|
|
2962
|
+
"appliesTo": {
|
|
2963
|
+
"type": "string"
|
|
2964
|
+
},
|
|
2965
|
+
"name": {
|
|
2966
|
+
"type": "string"
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"cloudEntity": "O365Domain",
|
|
2972
|
+
"propertyName": "domainInfo",
|
|
2973
|
+
"isArray": false,
|
|
2974
|
+
"properties": {
|
|
2975
|
+
"domainName": {
|
|
2976
|
+
"type": "string"
|
|
2977
|
+
},
|
|
2978
|
+
"authenticationType": {
|
|
2979
|
+
"type": "string"
|
|
2980
|
+
},
|
|
2981
|
+
"isAdminManaged": {
|
|
2982
|
+
"type": "boolean"
|
|
2983
|
+
},
|
|
2984
|
+
"isDefault": {
|
|
2985
|
+
"type": "boolean"
|
|
2986
|
+
},
|
|
2987
|
+
"isInitial": {
|
|
2988
|
+
"type": "boolean"
|
|
2989
|
+
},
|
|
2990
|
+
"isRoot": {
|
|
2991
|
+
"type": "boolean"
|
|
2992
|
+
},
|
|
2993
|
+
"isVerified": {
|
|
2994
|
+
"type": "boolean"
|
|
2995
|
+
},
|
|
2996
|
+
"supportedService": {
|
|
2997
|
+
"type": "string"
|
|
2998
|
+
},
|
|
2999
|
+
"state": {
|
|
3000
|
+
"type": "string"
|
|
3001
|
+
},
|
|
3002
|
+
"availabilityStatus": {
|
|
3003
|
+
"type": "string"
|
|
3004
|
+
}
|
|
3005
|
+
}
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"cloudEntity": "O365Mailbox",
|
|
3009
|
+
"propertyName": "mailbox",
|
|
3010
|
+
"isArray": false,
|
|
3011
|
+
"properties": {
|
|
3012
|
+
"displayName": {
|
|
3013
|
+
"type": "string"
|
|
3014
|
+
},
|
|
3015
|
+
"primaryEmail": {
|
|
3016
|
+
"type": "string"
|
|
3017
|
+
},
|
|
3018
|
+
"emailAddress": {
|
|
3019
|
+
"type": "string"
|
|
3020
|
+
},
|
|
3021
|
+
"alias": {
|
|
3022
|
+
"type": "string"
|
|
3023
|
+
},
|
|
3024
|
+
"recipientType": {
|
|
3025
|
+
"type": "string"
|
|
3026
|
+
},
|
|
3027
|
+
"recipientTypeDetails": {
|
|
3028
|
+
"type": "string"
|
|
3029
|
+
},
|
|
3030
|
+
"userPrincipalName": {
|
|
3031
|
+
"type": "string"
|
|
3032
|
+
},
|
|
3033
|
+
"identity": {
|
|
3034
|
+
"type": "string"
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
],
|
|
2764
3039
|
"properties": {
|
|
2765
3040
|
"o365UserId": {
|
|
2766
3041
|
"onprem": "UserId",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/user-model",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
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": "
|
|
19
|
+
"gitHead": "92291a01cf8f46888cec21eb703ebc7b3dd9bd4b"
|
|
20
20
|
}
|