gd-sprest-def 1.1.5 → 1.1.6

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/custom.js CHANGED
@@ -414,6 +414,15 @@ module.exports = {
414
414
  }
415
415
  ],
416
416
 
417
+ // Site Page
418
+ "SP.Publishing.SitePage": [
419
+ {
420
+ name: "update",
421
+ returnType: "any",
422
+ params: [{ $: { Name: "properties", Type: "any" } }]
423
+ }
424
+ ],
425
+
417
426
  // Site Pages
418
427
  "Collection(SP.Publishing.SitePage)": [
419
428
  {
@@ -482,7 +482,8 @@ export interface SitePageMethods {
482
482
  savePageAsTemplate(): Base.IBaseQuery<SP.Publishing.SitePage, SP.Publishing.SitePageOData> & SP.Publishing.SitePageCollections & SP.Publishing.SitePageMethods;
483
483
  schedulePublish(sitePage?: SP.Publishing.SitePageFieldsData): Base.IBaseExecution<string>;
484
484
  sharePagePreviewByEmail(message?: string, recipientEmails?: Array<string>): Base.IBaseExecution<any>;
485
- update(): Base.IBaseExecution<any>;
485
+ // update(): Base.IBaseExecution<any>;
486
+ update(properties?: any): Base.IBaseExecution<any>;
486
487
  }
487
488
 
488
489
  /*********************************************
package/lib/mapper.d.ts CHANGED
@@ -6313,6 +6313,7 @@ export interface IMapper {
6313
6313
  },
6314
6314
 
6315
6315
  update: IMapperMethod & {
6316
+ argNames: [ "properties" ],
6316
6317
  },
6317
6318
 
6318
6319
  }
package/lib/mapper.ts CHANGED
@@ -6088,6 +6088,7 @@ export const Mapper: IMapper = {
6088
6088
  },
6089
6089
 
6090
6090
  update: {
6091
+ argNames: [ "properties" ],
6091
6092
  },
6092
6093
 
6093
6094
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-sprest-def",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.",
5
5
  "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)",
6
6
  "license": "MIT",