gd-sprest-def
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -195,2 +195,15 @@ /** | ||
// Files | ||
"Collection(SP.File)": [ | ||
{ | ||
name: "add", | ||
returnType: "SP.File", | ||
params: [ | ||
{ $: { Name: "Url", Type: "string" } }, | ||
{ $: { Name: "Overwrite", Type: "boolean" } }, | ||
{ $: { Name: "Content", Type: "any" } } | ||
] | ||
} | ||
], | ||
// Folder | ||
@@ -197,0 +210,0 @@ "SP.Folder": [ |
@@ -881,8 +881,8 @@ import { IBaseExecution } from "../../../../../"; | ||
export interface MultiGeoServicesBetaPropMethods { | ||
ContentDbSchemaVersion(): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersion> & Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersionCollections; | ||
CrossGeoTenantBYOK(): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantBYOK> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantBYOKCollections; | ||
CrossGeoTenantCompatibility(): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantCompatibility> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantCompatibilityCollections; | ||
GeoExperience(): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperience> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperienceCollections & Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperienceMethods; | ||
GlobalAdminCheck(): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.GlobalAdminCheck> & Microsoft.Online.SharePoint.MultiGeo.Service.GlobalAdminCheckCollections; | ||
TaxonomyReplicationParameters(): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParameters> & Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParametersCollections & Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParametersMethods; | ||
ContentDbSchemaVersion(): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersion> & Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersionCollections; | ||
CrossGeoTenantBYOK(): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantBYOK> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantBYOKCollections; | ||
CrossGeoTenantCompatibility(): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantCompatibility> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantCompatibilityCollections; | ||
GeoExperience(): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperience> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperienceCollections & Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperienceMethods; | ||
GlobalAdminCheck(): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.GlobalAdminCheck> & Microsoft.Online.SharePoint.MultiGeo.Service.GlobalAdminCheckCollections; | ||
TaxonomyReplicationParameters(): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParameters> & Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParametersCollections & Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParametersMethods; | ||
} | ||
@@ -889,0 +889,0 @@ |
@@ -214,3 +214,3 @@ import { IBaseExecution } from "../../../"; | ||
export interface SPWebServicePropMethods { | ||
ContentService(): IBaseQuery<Microsoft.SharePoint.Administration.SPWebService, Microsoft.SharePoint.Administration.SPWebServiceQuery> & Microsoft.SharePoint.Administration.SPWebServiceCollections; | ||
ContentService(): IBaseExecution<Microsoft.SharePoint.Administration.SPWebService> & Microsoft.SharePoint.Administration.SPWebServiceCollections; | ||
} | ||
@@ -217,0 +217,0 @@ |
@@ -201,4 +201,4 @@ import { IBaseExecution } from "../../"; | ||
export interface VideoItemPropMethods { | ||
Author(): IBaseQuery<SP.User, SP.UserQuery> & SP.UserCollections & SP.UserMethods; | ||
Owner(): IBaseQuery<SP.User, SP.UserQuery> & SP.UserCollections & SP.UserMethods; | ||
Author(): IBaseExecution<SP.User> & SP.UserCollections & SP.UserMethods; | ||
Owner(): IBaseExecution<SP.User> & SP.UserCollections & SP.UserMethods; | ||
} | ||
@@ -423,3 +423,3 @@ | ||
export interface PointPublishingPostServiceManagerPropMethods { | ||
magazineprops(): IBaseQuery<SP.Publishing.PointPublishingMagazineProps> & SP.Publishing.PointPublishingMagazinePropsCollections; | ||
magazineprops(): IBaseExecution<SP.Publishing.PointPublishingMagazineProps> & SP.Publishing.PointPublishingMagazinePropsCollections; | ||
} | ||
@@ -1094,3 +1094,3 @@ | ||
export interface SitePageServicePropMethods { | ||
CommunicationSite(): IBaseQuery<SP.Publishing.CommunicationSite> & SP.Publishing.CommunicationSiteCollections & SP.Publishing.CommunicationSiteMethods; | ||
CommunicationSite(): IBaseExecution<SP.Publishing.CommunicationSite> & SP.Publishing.CommunicationSiteCollections & SP.Publishing.CommunicationSiteMethods; | ||
} | ||
@@ -1160,3 +1160,3 @@ | ||
export interface SpotlightChannelPropMethods { | ||
Channel(): IBaseQuery<SP.Publishing.VideoChannel, SP.Publishing.VideoChannelQuery> & SP.Publishing.VideoChannelCollections & SP.Publishing.VideoChannelMethods; | ||
Channel(): IBaseExecution<SP.Publishing.VideoChannel> & SP.Publishing.VideoChannelCollections & SP.Publishing.VideoChannelMethods; | ||
} | ||
@@ -1238,3 +1238,3 @@ | ||
export interface VideoChannelPropMethods { | ||
Search(): IBaseQuery<SP.Publishing.Search> & SP.Publishing.SearchCollections & SP.Publishing.SearchMethods; | ||
Search(): IBaseExecution<SP.Publishing.Search> & SP.Publishing.SearchCollections & SP.Publishing.SearchMethods; | ||
} | ||
@@ -1375,3 +1375,3 @@ | ||
export interface SpotlightVideoPropMethods { | ||
Video(): IBaseQuery<SP.Publishing.VideoItem, SP.Publishing.VideoItemQuery> & SP.Publishing.VideoItemCollections & SP.Publishing.VideoItemMethods; | ||
Video(): IBaseExecution<SP.Publishing.VideoItem> & SP.Publishing.VideoItemCollections & SP.Publishing.VideoItemMethods; | ||
} | ||
@@ -1566,3 +1566,3 @@ | ||
export interface VideoServiceManagerPropMethods { | ||
Search(): IBaseQuery<SP.Publishing.Search> & SP.Publishing.SearchCollections & SP.Publishing.SearchMethods; | ||
Search(): IBaseExecution<SP.Publishing.Search> & SP.Publishing.SearchCollections & SP.Publishing.SearchMethods; | ||
} | ||
@@ -1569,0 +1569,0 @@ |
@@ -511,4 +511,4 @@ import { IBaseExecution } from "../../"; | ||
export interface UserProfilePropMethods { | ||
FollowedContent(): IBaseQuery<SP.UserProfiles.FollowedContent> & SP.UserProfiles.FollowedContentCollections & SP.UserProfiles.FollowedContentMethods; | ||
PersonalSite(): IBaseQuery<SP.Site, SP.SiteQuery> & SP.SiteCollections & SP.SiteMethods; | ||
FollowedContent(): IBaseExecution<SP.UserProfiles.FollowedContent> & SP.UserProfiles.FollowedContentCollections & SP.UserProfiles.FollowedContentMethods; | ||
PersonalSite(): IBaseExecution<SP.Site> & SP.SiteCollections & SP.SiteMethods; | ||
} | ||
@@ -515,0 +515,0 @@ |
@@ -144,3 +144,3 @@ import { IBaseExecution } from "../../"; | ||
export interface ThemeManagerPropMethods { | ||
ContextThemeManager(): IBaseQuery<SP.Utilities.ThemeManager, SP.Utilities.ThemeManagerQuery> & SP.Utilities.ThemeManagerCollections & SP.Utilities.ThemeManagerMethods; | ||
ContextThemeManager(): IBaseExecution<SP.Utilities.ThemeManager> & SP.Utilities.ThemeManagerCollections & SP.Utilities.ThemeManagerMethods; | ||
} | ||
@@ -147,0 +147,0 @@ |
@@ -99,3 +99,3 @@ import { IBaseExecution } from "../../"; | ||
export interface WebPartDefinitionPropMethods { | ||
WebPart(): IBaseQuery<SP.WebParts.WebPart, SP.WebParts.WebPartQuery> & SP.WebParts.WebPartCollections; | ||
WebPart(): IBaseExecution<SP.WebParts.WebPart> & SP.WebParts.WebPartCollections; | ||
} | ||
@@ -102,0 +102,0 @@ |
@@ -204,3 +204,3 @@ import { IBaseExecution } from "../../"; | ||
export interface WorkflowInstanceServicePropMethods { | ||
Current(): IBaseQuery<SP.WorkflowServices.WorkflowInstanceService, SP.WorkflowServices.WorkflowInstanceServiceQuery> & SP.WorkflowServices.WorkflowInstanceServiceCollections & SP.WorkflowServices.WorkflowInstanceServiceMethods; | ||
Current(): IBaseExecution<SP.WorkflowServices.WorkflowInstanceService> & SP.WorkflowServices.WorkflowInstanceServiceCollections & SP.WorkflowServices.WorkflowInstanceServiceMethods; | ||
} | ||
@@ -266,3 +266,3 @@ | ||
export interface InteropServicePropMethods { | ||
Current(): IBaseQuery<SP.WorkflowServices.InteropService, SP.WorkflowServices.InteropServiceQuery> & SP.WorkflowServices.InteropServiceCollections & SP.WorkflowServices.InteropServiceMethods; | ||
Current(): IBaseExecution<SP.WorkflowServices.InteropService> & SP.WorkflowServices.InteropServiceCollections & SP.WorkflowServices.InteropServiceMethods; | ||
} | ||
@@ -329,3 +329,3 @@ | ||
export interface WorkflowServicesManagerPropMethods { | ||
Current(): IBaseQuery<SP.WorkflowServices.WorkflowServicesManager, SP.WorkflowServices.WorkflowServicesManagerQuery> & SP.WorkflowServices.WorkflowServicesManagerCollections & SP.WorkflowServices.WorkflowServicesManagerMethods; | ||
Current(): IBaseExecution<SP.WorkflowServices.WorkflowServicesManager> & SP.WorkflowServices.WorkflowServicesManagerCollections & SP.WorkflowServices.WorkflowServicesManagerMethods; | ||
} | ||
@@ -464,3 +464,3 @@ | ||
export interface WorkflowSubscriptionServicePropMethods { | ||
Current(): IBaseQuery<SP.WorkflowServices.WorkflowSubscriptionService, SP.WorkflowServices.WorkflowSubscriptionServiceQuery> & SP.WorkflowServices.WorkflowSubscriptionServiceCollections & SP.WorkflowServices.WorkflowSubscriptionServiceMethods; | ||
Current(): IBaseExecution<SP.WorkflowServices.WorkflowSubscriptionService> & SP.WorkflowServices.WorkflowSubscriptionServiceCollections & SP.WorkflowServices.WorkflowSubscriptionServiceMethods; | ||
} | ||
@@ -467,0 +467,0 @@ |
@@ -485,5 +485,5 @@ import { IBaseExecution } from "../../../"; | ||
export interface NonTaskDataReadResultPropMethods { | ||
PersistedProperties(): IBaseQuery<SP.WorkManagement.OM.PersistedProperties> & SP.WorkManagement.OM.PersistedPropertiesCollections; | ||
RefreshHistory(): IBaseQuery<SP.WorkManagement.OM.RefreshHistory, SP.WorkManagement.OM.RefreshHistoryQuery> & SP.WorkManagement.OM.RefreshHistoryCollections; | ||
UserSettings(): IBaseQuery<SP.WorkManagement.OM.UserSettings> & SP.WorkManagement.OM.UserSettingsCollections; | ||
PersistedProperties(): IBaseExecution<SP.WorkManagement.OM.PersistedProperties> & SP.WorkManagement.OM.PersistedPropertiesCollections; | ||
RefreshHistory(): IBaseExecution<SP.WorkManagement.OM.RefreshHistory> & SP.WorkManagement.OM.RefreshHistoryCollections; | ||
UserSettings(): IBaseExecution<SP.WorkManagement.OM.UserSettings> & SP.WorkManagement.OM.UserSettingsCollections; | ||
} | ||
@@ -490,0 +490,0 @@ |
@@ -457,3 +457,3 @@ let fs = require("fs"); | ||
// Add the method | ||
props.push('\t' + collection + '(): ' + 'IBaseQuery<' + methodType + (hasCollections[methodType] ? ', ' + methodType + 'Query' : '') + '> & ' + methodType + 'Collections' + (hasMethods[methodType] ? ' & ' + methodType + 'Methods' : '') + ';'); | ||
props.push('\t' + collection + '(): ' + 'IBaseExecution<' + methodType + '> & ' + methodType + 'Collections' + (hasMethods[methodType] ? ' & ' + methodType + 'Methods' : '') + ';'); | ||
query.push('\t' + collection + ': ' + methodType + ' & ' + methodType + 'Collections;'); | ||
@@ -460,0 +460,0 @@ } |
{ | ||
"name": "gd-sprest-def", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "TypeScript definition files generated from the $metadata REST endpoint in SharePoint.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
33446
3684804