gd-sprest 6.7.8 → 6.8.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.
@@ -867,6 +867,9 @@ export type IListTemplateType = {
867
867
  /** Tasks with Timeline and Hierarchy */
868
868
  TasksWithTimelineAndHierarchy: number;
869
869
 
870
+ /** Tenant App Catalog */
871
+ TenantAppCatalog: number;
872
+
870
873
  /** Tenant Wide Extensions */
871
874
  TenantWideExtensions: number;
872
875
 
@@ -34,7 +34,7 @@ exports.site = def_1.Mapper["SP.Site"];
34
34
  exports.sitecollectionappcatalog = def_1.Mapper["Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionCorporateCatalogAccessor"];
35
35
  exports.tenantapp = def_1.Mapper["Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata"];
36
36
  exports.tenantapps = def_1.Mapper["Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata.Collection"];
37
- exports.tenantappcatalog = def_1.Mapper["Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionCorporateCatalogAccessor"];
37
+ exports.tenantappcatalog = def_1.Mapper["Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.TenantCorporateCatalogAccessor"];
38
38
  exports.user = def_1.Mapper["SP.User"];
39
39
  exports.users = def_1.Mapper["SP.User.Collection"];
40
40
  exports.usercustomaction = def_1.Mapper["SP.UserCustomAction"];
@@ -90,13 +90,19 @@ exports.Mapper = {
90
90
  getByUniqueId: {
91
91
  argNames: ["uniqueId"],
92
92
  },
93
+ getExtractorNames: {
94
+ argNames: ["packageName"],
95
+ },
93
96
  getSupportedPrebuiltModels: {},
94
97
  import: {
95
98
  argNames: ["packageName"],
96
99
  },
97
100
  query: { argNames: ["oData"] },
98
101
  setupContractsSolution: {
99
- argNames: ["contractLibraryName"],
102
+ argNames: ["newLibraryName", "packageName"],
103
+ },
104
+ setupPrimedLibrary: {
105
+ argNames: ["primedLibraryName", "packageName"],
100
106
  },
101
107
  },
102
108
  "Microsoft.Office.Server.ContentCenter.SPMachineLearningPublication": {
@@ -423,15 +429,6 @@ exports.Mapper = {
423
429
  getWarningMessages: {},
424
430
  query: { argNames: ["oData"] },
425
431
  },
426
- "Microsoft.Online.SharePoint.PointPublishing.PointPublishingAdmin": {
427
- createTopicMagazine: {
428
- argNames: ["magazineName"],
429
- },
430
- deleteTopicMagazine: {
431
- argNames: ["magazineId"],
432
- },
433
- provisionPointPublishingAsync: {},
434
- },
435
432
  "Microsoft.Online.SharePoint.SPLogger.LogExport": {
436
433
  getFiles: {
437
434
  argNames: ["partitionId", "logType"],
@@ -555,6 +552,9 @@ exports.Mapper = {
555
552
  query: { argNames: ["oData"], requestType: utils_1.RequestType.OData },
556
553
  },
557
554
  "Microsoft.Online.SharePoint.TenantAdministration.Tenant": {
555
+ addRecentAdminAction: {
556
+ argNames: ["tenantAdminRecentAction"],
557
+ },
558
558
  addTenantAdminListItem: {
559
559
  argNames: ["columnValues", "listName"],
560
560
  },
@@ -571,10 +571,14 @@ exports.Mapper = {
571
571
  createSite: {
572
572
  argNames: ["siteCreationProperties"],
573
573
  },
574
+ exportToCSV: {
575
+ argNames: ["viewXml"],
576
+ },
574
577
  getAdminListViews: {},
575
578
  getFilteredSPListItems: {
576
579
  argNames: ["columnName", "columnValue", "listName"],
577
580
  },
581
+ getHomeSitesDetails: {},
578
582
  getIdleSessionSignOutForUnmanagedDevices: {},
579
583
  getPowerAppsEnvironments: {},
580
584
  getSPHSiteUrl: {},
@@ -653,6 +657,9 @@ exports.Mapper = {
653
657
  renderIBSegmentListFilterData: {
654
658
  argNames: ["parameters"],
655
659
  },
660
+ renderRecentAdminActions: {
661
+ argNames: ["parameters", "overrideParameters"],
662
+ },
656
663
  restoreDeletedSite: {
657
664
  argNames: ["siteUrl"],
658
665
  },
@@ -693,6 +700,12 @@ exports.Mapper = {
693
700
  argNames: ["siteUrl"],
694
701
  },
695
702
  update: {},
703
+ updateGroupSiteProperties: {
704
+ argNames: ["groupId", "siteId", "updateType", "parameters"],
705
+ },
706
+ updateRecentAdminAction: {
707
+ argNames: ["listItemId", "tenantAdminRecentAction"],
708
+ },
696
709
  updateTenantAdminListItem: {
697
710
  argNames: ["listItemId", "columnValues", "listName"],
698
711
  },
@@ -739,6 +752,9 @@ exports.Mapper = {
739
752
  argNames: ["siteUrl"],
740
753
  },
741
754
  getAllTenantThemes: {},
755
+ getCustomFontsMinorVersion: {
756
+ argNames: ["libUrl"],
757
+ },
742
758
  getExternalUsers: {
743
759
  argNames: ["position", "pageSize", "filter", "sortOrder"],
744
760
  },
@@ -987,6 +1003,9 @@ exports.Mapper = {
987
1003
  add: {
988
1004
  argNames: ["absolutePath"],
989
1005
  },
1006
+ getById: {
1007
+ argNames: ["siteId"],
1008
+ },
990
1009
  query: { argNames: ["oData"], requestType: utils_1.RequestType.OData },
991
1010
  remove: {
992
1011
  argNames: ["absolutePath"],
@@ -1047,6 +1066,9 @@ exports.Mapper = {
1047
1066
  syncSolutionToTeamsByUniqueId: {
1048
1067
  argNames: ["id"],
1049
1068
  },
1069
+ updateMyRequestStatus: {
1070
+ argNames: ["RequestId", "Status"],
1071
+ },
1050
1072
  upload: {
1051
1073
  argNames: ["Content", "Overwrite", "Url"],
1052
1074
  },
@@ -1267,6 +1289,9 @@ exports.Mapper = {
1267
1289
  getTeamChannelsEx: {
1268
1290
  argNames: ["teamId"],
1269
1291
  },
1292
+ getTeamChannelsWithSiteUrl: {
1293
+ argNames: ["siteUrl"],
1294
+ },
1270
1295
  getUserSharedChannelMemberGroups: {
1271
1296
  argNames: ["userName"],
1272
1297
  },
@@ -3747,6 +3772,9 @@ exports.Mapper = {
3747
3772
  requestType: utils_1.RequestType.PostWithArgsInBody
3748
3773
  },
3749
3774
  clearBusinessAppMigrationInteractiveData: {},
3775
+ copyTemplateAndGetMetadata: {
3776
+ argNames: ["Id"],
3777
+ },
3750
3778
  createDocumentAndGetEditLink: {
3751
3779
  argNames: ["fileName", "folderPath", "documentTemplateType", "templateUrl"],
3752
3780
  requestType: utils_1.RequestType.PostWithArgsInBody
@@ -3795,10 +3823,12 @@ exports.Mapper = {
3795
3823
  },
3796
3824
  getBusinessAppMigrationInteractiveData: {},
3797
3825
  getBusinessAppOperationStatus: {},
3798
- getCAAESmartTemplateContentTypes: {},
3799
3826
  getCAAETemplateMetadata: {
3800
3827
  argNames: ["Name", "Published"],
3801
3828
  },
3829
+ getCAAETemplateMetadataV2: {
3830
+ argNames: ["Id"],
3831
+ },
3802
3832
  getChanges: {
3803
3833
  argNames: ["query"],
3804
3834
  metadataType: "SP.ChangeQuery",
@@ -3955,6 +3985,9 @@ exports.Mapper = {
3955
3985
  updateCAAETemplate: {
3956
3986
  argNames: ["Name", "updateTemplateInfo"],
3957
3987
  },
3988
+ updateCAAETemplateV2: {
3989
+ argNames: ["Id", "updateTemplateInfo"],
3990
+ },
3958
3991
  updateFormProcessingModelRetentionLabel: {
3959
3992
  argNames: ["retentionLabel"],
3960
3993
  },
@@ -4002,9 +4035,9 @@ exports.Mapper = {
4002
4035
  "SP.ListItem": {
4003
4036
  properties: [
4004
4037
  "AttachmentFiles|SP.Attachment.Collection|('[Name]')|SP.Attachment", "Comments|Microsoft.SharePoint.Comments.comment.Collection|('[Name]')|Microsoft.SharePoint.Comments.comment",
4005
- "ContentType|SP.ContentType", "FieldValuesAsHtml", "FieldValuesAsText", "FieldValuesForEdit",
4006
- "File|SP.File", "FirstUniqueAncestorSecurableObject", "Folder|SP.Folder", "GetDlpPolicyTip", "ParentList",
4007
- "Properties", "RoleAssignments|SP.RoleAssignment.Collection|roleassignments|([Name])|SP.RoleAssignment"
4038
+ "ContentType|SP.ContentType", "FieldValuesAsHtml", "FieldValuesAsText", "FieldValuesForEdit", "File|SP.File", "FirstUniqueAncestorSecurableObject",
4039
+ "Folder|SP.Folder", "GetDlpPolicyTip", "ParentList", "Properties", "RoleAssignments|SP.RoleAssignment.Collection|roleassignments|([Name])|SP.RoleAssignment",
4040
+ "Versions|SP.ListItemVersion.Collection"
4008
4041
  ],
4009
4042
  breakRoleInheritance: {
4010
4043
  argNames: ["copyRoleAssignments", "clearSubscopes"],
@@ -4559,7 +4592,7 @@ exports.Mapper = {
4559
4592
  },
4560
4593
  "SP.Publishing.RichSharing": {
4561
4594
  sharePageByEmail: {
4562
- argNames: ["url", "message", "recipientEmails"],
4595
+ argNames: ["url", "message", "recipientEmails", "pageContent"],
4563
4596
  },
4564
4597
  shareSiteByEmail: {
4565
4598
  argNames: ["CustomDescription", "CustomTitle", "Message", "Url", "recipientEmails"],
@@ -4819,6 +4852,9 @@ exports.Mapper = {
4819
4852
  getByEntityId: {
4820
4853
  argNames: ["entityId"],
4821
4854
  },
4855
+ getByEntityIdAndCulture: {
4856
+ argNames: ["id", "culture"],
4857
+ },
4822
4858
  isContentTypeAvailable: {},
4823
4859
  query: { argNames: ["oData"] },
4824
4860
  },
@@ -5242,7 +5278,7 @@ exports.Mapper = {
5242
5278
  requestType: utils_1.RequestType.PostWithArgs
5243
5279
  },
5244
5280
  setIsContributorOwnerEnabledPropertyForDefaultDocLib: {
5245
- argNames: ["propertyValue", "forceDocLibActivation"],
5281
+ argNames: ["propertyValue", "forceDocLibActivation", "deleteIfDocLibAlreadyExists"],
5246
5282
  },
5247
5283
  unregisterHubSite: {},
5248
5284
  update: {
@@ -5659,6 +5695,11 @@ exports.Mapper = {
5659
5695
  },
5660
5696
  query: { argNames: ["oData"], requestType: utils_1.RequestType.OData },
5661
5697
  },
5698
+ "SP.UserExperienceState": {
5699
+ setFlag: {
5700
+ argNames: ["flag", "reset"],
5701
+ },
5702
+ },
5662
5703
  "SP.UserProfiles.FollowedContent": {
5663
5704
  findAndUpdateFollowedGroup: {
5664
5705
  argNames: ["groupId"],
@@ -6029,6 +6070,9 @@ exports.Mapper = {
6029
6070
  argNames: ["messagePayloadBase64"],
6030
6071
  requestType: utils_1.RequestType.PostWithArgs
6031
6072
  },
6073
+ addPlaceholderUser: {
6074
+ argNames: ["listId", "placeholderText"],
6075
+ },
6032
6076
  addSupportedUILanguage: {
6033
6077
  argNames: ["lcid"],
6034
6078
  requestType: utils_1.RequestType.PostWithArgs
@@ -6045,6 +6089,7 @@ exports.Mapper = {
6045
6089
  argNames: ["copyRoleAssignments", "clearSubscopes"],
6046
6090
  requestType: utils_1.RequestType.PostWithArgs
6047
6091
  },
6092
+ consentToPowerPlatform: {},
6048
6093
  createDefaultAssociatedGroups: {
6049
6094
  argNames: ["userLogin", "userLogin2", "groupNameSeed"],
6050
6095
  },
@@ -6079,6 +6124,7 @@ exports.Mapper = {
6079
6124
  argNames: ["includeErrors", "project"],
6080
6125
  },
6081
6126
  getAllClientSideComponents: {
6127
+ argNames: ["languages", "supportsMultiVersion"],
6082
6128
  requestType: utils_1.RequestType.Post
6083
6129
  },
6084
6130
  getAppBdcCatalog: {
@@ -6276,6 +6322,7 @@ exports.Mapper = {
6276
6322
  requestType: utils_1.RequestType.GetWithArgsValueOnly,
6277
6323
  },
6278
6324
  incrementSiteClientTag: {},
6325
+ listPowerPlatformUserDetails: {},
6279
6326
  loadAndInstallApp: {
6280
6327
  argNames: ["appPackageStream"],
6281
6328
  requestType: utils_1.RequestType.PostBodyNoArgs
@@ -6368,8 +6415,8 @@ exports.Mapper = {
6368
6415
  requestType: utils_1.RequestType.PostBodyNoArgs
6369
6416
  },
6370
6417
  uploadImage: {
6371
- argNames: ["listTitle", "imageName", "contentStream", "listId", "itemId", "overwrite"],
6372
- name: "uploadImage(listTitle=guid'[[listTitle]]', imageName=[[imageName]], listId=[[listId]], itemId=[[itemId]], overwrite=[[overwrite]])",
6418
+ argNames: ["listTitle", "imageName", "contentStream", "listId", "itemId", "fieldId", "overwrite"],
6419
+ name: "uploadImage(listTitle=guid'[[listTitle]]', imageName=[[imageName]], listId=[[listId]], itemId=[[itemId]], fieldId=[[fieldId]], overwrite=[[overwrite]])",
6373
6420
  requestType: utils_1.RequestType.PostReplaceWithData
6374
6421
  },
6375
6422
  },
package/build/rest.js CHANGED
@@ -8,7 +8,7 @@ var sptypes_1 = require("./sptypes");
8
8
  * SharePoint REST Library
9
9
  */
10
10
  exports.$REST = {
11
- __ver: 6.78,
11
+ __ver: 6.82,
12
12
  AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); },
13
13
  Apps: Lib.Apps,
14
14
  ContextInfo: Lib.ContextInfo,
@@ -358,6 +358,7 @@ exports.ListTemplateType = {
358
358
  Survey: 102,
359
359
  Tasks: 107,
360
360
  TasksWithTimelineAndHierarchy: 171,
361
+ TenantAppCatalog: 330,
361
362
  TenantWideExtensions: 337,
362
363
  TextBox: 210,
363
364
  ThemeCatalog: 123,
@@ -4686,6 +4686,9 @@ declare module 'gd-sprest/sptypes/sptypes' {
4686
4686
  /** Tasks with Timeline and Hierarchy */
4687
4687
  TasksWithTimelineAndHierarchy: number;
4688
4688
 
4689
+ /** Tenant App Catalog */
4690
+ TenantAppCatalog: number;
4691
+
4689
4692
  /** Tenant Wide Extensions */
4690
4693
  TenantWideExtensions: number;
4691
4694