gd-sprest 9.2.4 → 9.2.5

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.
@@ -733,6 +733,17 @@ export type IListExperienceOptions = {
733
733
  ClassicExperience: number
734
734
  }
735
735
 
736
+ /**
737
+ * List Read Security
738
+ */
739
+ export type IListReadSecurity = {
740
+ /** All users have read access to all items */
741
+ All: number,
742
+
743
+ /** Users have access only to items they create */
744
+ User: number
745
+ };
746
+
736
747
  /**
737
748
  * List Template Types
738
749
  */
@@ -987,6 +998,20 @@ export type IListTemplateType = {
987
998
  XMLForm: number
988
999
  };
989
1000
 
1001
+ /**
1002
+ * List Write Security
1003
+ */
1004
+ export type IListWriteSecurity = {
1005
+ /** All users have write access to all items */
1006
+ All: number,
1007
+
1008
+ /** Users have access only to items they create */
1009
+ User: number,
1010
+
1011
+ /** Users have write access to no items */
1012
+ None: number
1013
+ };
1014
+
990
1015
  /**
991
1016
  * Locale LCID Types
992
1017
  */
@@ -3456,7 +3456,9 @@ exports.Mapper = {
3456
3456
  argNames: ["groupId"],
3457
3457
  requestType: utils_1.RequestType.PostWithArgsInBody
3458
3458
  },
3459
- me: {},
3459
+ me: {
3460
+ returnType: "SP.Directory.User"
3461
+ },
3460
3462
  user: {
3461
3463
  argNames: ["id", "principalName"],
3462
3464
  returnType: "SP.Directory.User"
@@ -3520,6 +3522,9 @@ exports.Mapper = {
3520
3522
  },
3521
3523
  },
3522
3524
  "SP.Directory.User": {
3525
+ properties: [
3526
+ "membership|SP.Directory.Group", "ownership|SP.Directory.Group"
3527
+ ],
3523
3528
  getUserLinks: {
3524
3529
  argNames: ["linkName", "groupType"],
3525
3530
  },
package/build/rest.js CHANGED
@@ -9,7 +9,7 @@ var sptypes_1 = require("./sptypes");
9
9
  * SharePoint REST Library
10
10
  */
11
11
  exports.$REST = {
12
- __ver: 9.24,
12
+ __ver: 9.25,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,
@@ -5399,6 +5399,17 @@ declare module 'gd-sprest/sptypes/sptypes' {
5399
5399
  ClassicExperience: number
5400
5400
  }
5401
5401
 
5402
+ /**
5403
+ * List Read Security
5404
+ */
5405
+ export type IListReadSecurity = {
5406
+ /** All users have read access to all items */
5407
+ All: number,
5408
+
5409
+ /** Users have access only to items they create */
5410
+ User: number
5411
+ };
5412
+
5402
5413
  /**
5403
5414
  * List Template Types
5404
5415
  */
@@ -5653,6 +5664,20 @@ declare module 'gd-sprest/sptypes/sptypes' {
5653
5664
  XMLForm: number
5654
5665
  };
5655
5666
 
5667
+ /**
5668
+ * List Write Security
5669
+ */
5670
+ export type IListWriteSecurity = {
5671
+ /** All users have write access to all items */
5672
+ All: number,
5673
+
5674
+ /** Users have access only to items they create */
5675
+ User: number,
5676
+
5677
+ /** Users have write access to no items */
5678
+ None: number
5679
+ };
5680
+
5656
5681
  /**
5657
5682
  * Locale LCID Types
5658
5683
  */