gd-sprest 9.2.0 → 9.2.2

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.
@@ -3466,6 +3466,9 @@ exports.Mapper = {
3466
3466
  },
3467
3467
  },
3468
3468
  "SP.Directory.Group": {
3469
+ properties: [
3470
+ "Members|SP.Directory.Group.Collection", "Owners|SP.Directory.Group.Collection"
3471
+ ],
3469
3472
  delete: {
3470
3473
  requestType: utils_1.RequestType.Delete
3471
3474
  },
@@ -3474,10 +3477,12 @@ exports.Mapper = {
3474
3477
  "SP.Directory.Group.Collection": {
3475
3478
  add: {
3476
3479
  argNames: ["objectId"],
3480
+ requestType: utils_1.RequestType.Post
3477
3481
  },
3478
3482
  query: { argNames: ["oData"], requestType: utils_1.RequestType.OData },
3479
3483
  remove: {
3480
3484
  argNames: ["objectId"],
3485
+ requestType: utils_1.RequestType.Post
3481
3486
  },
3482
3487
  },
3483
3488
  "SP.Directory.Provider.DirectoryNotification": {
@@ -6268,8 +6273,8 @@ exports.Mapper = {
6268
6273
  "Pages|SP.Publishing.SitePage.Collection|('[Name]')|SP.Publishing.SitePage"
6269
6274
  ],
6270
6275
  addImage: {
6271
- argNames: ["pageName", "imageFileName", "imageStream", "pageId"],
6272
- requestType: utils_1.RequestType.PostWithArgs
6276
+ argNames: ["pageName", "imageFileName", "pageId", "imageStream"],
6277
+ requestType: utils_1.RequestType.PostWithArgsAndData
6273
6278
  },
6274
6279
  addImageFromExternalUrl: {
6275
6280
  argNames: ["pageName", "imageFileName", "externalUrl", "subFolderName", "pageId"],
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.20,
12
+ __ver: 9.22,
13
13
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
14
14
  Apps: Lib.Apps,
15
15
  ContextInfo: Lib.ContextInfo,