@lansweeper/user-model 0.0.14 → 0.1.1

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