Socket
Socket
Sign inDemoInstall

gd-sprest-def

Package Overview
Dependencies
0
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

34

lib/Microsoft/Online/SharePoint/MultiGeo/Service/entitytypes.d.ts

@@ -259,2 +259,9 @@ import { Microsoft } from "../../../../../";

export interface MultiGeoServicesBeta {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* MultiGeoServicesBetaMethods
**********************************************/
export interface MultiGeoServicesBetaMethods extends MultiGeoServicesBeta {
AllowedDataLocations?: () => Array<Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation>;

@@ -280,6 +287,31 @@ ContentDbSchemaVersion?: () => Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersion;

UserMoveJobs?: () => Array<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* MultiGeoServicesBetaQuery
**********************************************/
export interface MultiGeoServicesBetaQuery extends MultiGeoServicesBeta {
AllowedDataLocations?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation>;
ContentDbSchemaVersion?: Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersion;
CrossFarmGroupMoveJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob>;
CrossFarmSiteMoveJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob>;
CrossFarmUserMoveJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob>;
CrossGeoTenantBYOK?: Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantBYOK;
CrossGeoTenantCompatibility?: Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantCompatibility;
CrossGeoTenantProperties?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty>;
GeoAdministrators?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator>;
GeoExperience?: Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperience;
GeoTenantInstanceInformationCollection?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformation>;
GlobalAdminCheck?: Microsoft.Online.SharePoint.MultiGeo.Service.GlobalAdminCheck;
GroupMoveJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob>;
SiteMoveJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob>;
SiteRenameJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJob>;
StorageQuotas?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota>;
TaxonomyReplicationParameters?: Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParameters;
TenantInformationCollection?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.TenantInformation>;
UnifiedGroups?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup>;
UserMoveJobs?: Array<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>;
}
/*********************************************
* SiteMoveJob

@@ -286,0 +318,0 @@ **********************************************/

@@ -184,3 +184,2 @@ import { Microsoft } from "../../../../";

export interface Tenant {
Sites?: () => Array<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>;
AllowDownloadingNonWebViewableFiles?: boolean;

@@ -290,2 +289,16 @@ AllowedDomainListForSyncClient?: Array<any>;

/*********************************************
* TenantMethods
**********************************************/
export interface TenantMethods extends Tenant {
Sites?: () => Array<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>;
}
/*********************************************
* TenantQuery
**********************************************/
export interface TenantQuery extends Tenant {
Sites?: Array<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>;
}
/*********************************************
* SpoOperation

@@ -292,0 +305,0 @@ **********************************************/

@@ -36,4 +36,2 @@

export interface SPOWebAppServicePrincipal {
PermissionGrants?: () => Array<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant>;
PermissionRequests?: () => Array<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest>;
AccountEnabled?: boolean;

@@ -43,1 +41,17 @@ AppId?: string;

}
/*********************************************
* SPOWebAppServicePrincipalMethods
**********************************************/
export interface SPOWebAppServicePrincipalMethods extends SPOWebAppServicePrincipal {
PermissionGrants?: () => Array<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant>;
PermissionRequests?: () => Array<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest>;
}
/*********************************************
* SPOWebAppServicePrincipalQuery
**********************************************/
export interface SPOWebAppServicePrincipalQuery extends SPOWebAppServicePrincipal {
PermissionGrants?: Array<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant>;
PermissionRequests?: Array<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest>;
}

@@ -21,3 +21,2 @@ import { Microsoft } from "../../../../";

export interface GetExternalUsersResults {
ExternalUserCollection?: () => Array<Microsoft.Online.SharePoint.TenantManagement.ExternalUser>;
TotalUserCount?: number;

@@ -28,2 +27,16 @@ UserCollectionPosition?: number;

/*********************************************
* GetExternalUsersResultsMethods
**********************************************/
export interface GetExternalUsersResultsMethods extends GetExternalUsersResults {
ExternalUserCollection?: () => Array<Microsoft.Online.SharePoint.TenantManagement.ExternalUser>;
}
/*********************************************
* GetExternalUsersResultsQuery
**********************************************/
export interface GetExternalUsersResultsQuery extends GetExternalUsersResults {
ExternalUserCollection?: Array<Microsoft.Online.SharePoint.TenantManagement.ExternalUser>;
}
/*********************************************
* GroupCreationParams

@@ -30,0 +43,0 @@ **********************************************/

@@ -14,3 +14,2 @@

export interface SPFarm {
Local?: () => Microsoft.SharePoint.Administration.SPFarm;
Id?: any;

@@ -20,2 +19,16 @@ }

/*********************************************
* SPFarmMethods
**********************************************/
export interface SPFarmMethods extends SPFarm {
Local?: () => Microsoft.SharePoint.Administration.SPFarm;
}
/*********************************************
* SPFarmQuery
**********************************************/
export interface SPFarmQuery extends SPFarm {
Local?: Microsoft.SharePoint.Administration.SPFarm;
}
/*********************************************
* FeatureDefinition

@@ -39,3 +52,2 @@ **********************************************/

export interface SPWebApplication {
Sites?: () => Array<SP.Site>;
DisplayName?: string;

@@ -49,11 +61,39 @@ Id?: any;

/*********************************************
* SPWebApplicationMethods
**********************************************/
export interface SPWebApplicationMethods extends SPWebApplication {
Sites?: () => Array<SP.Site>;
}
/*********************************************
* SPWebApplicationQuery
**********************************************/
export interface SPWebApplicationQuery extends SPWebApplication {
Sites?: Array<SP.Site>;
}
/*********************************************
* SPWebService
**********************************************/
export interface SPWebService {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* SPWebServiceMethods
**********************************************/
export interface SPWebServiceMethods extends SPWebService {
ContentService?: () => Microsoft.SharePoint.Administration.SPWebService;
WebApplications?: () => Array<Microsoft.SharePoint.Administration.SPWebApplication>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* SPWebServiceQuery
**********************************************/
export interface SPWebServiceQuery extends SPWebService {
ContentService?: Microsoft.SharePoint.Administration.SPWebService;
WebApplications?: Array<Microsoft.SharePoint.Administration.SPWebApplication>;
}
/*********************************************
* SPAnalyticsUsageService

@@ -60,0 +100,0 @@ **********************************************/

@@ -8,4 +8,2 @@ import { SP } from "../../../";

export interface comment {
likedBy?: () => Array<Microsoft.SharePoint.Likes.userEntity>;
replies?: () => Array<Microsoft.SharePoint.Comments.comment>;
author?: SP.Sharing.Principal;

@@ -27,2 +25,18 @@ createdDate?: any;

/*********************************************
* commentMethods
**********************************************/
export interface commentMethods extends comment {
likedBy?: () => Array<Microsoft.SharePoint.Likes.userEntity>;
replies?: () => Array<Microsoft.SharePoint.Comments.comment>;
}
/*********************************************
* commentQuery
**********************************************/
export interface commentQuery extends comment {
likedBy?: Array<Microsoft.SharePoint.Likes.userEntity>;
replies?: Array<Microsoft.SharePoint.Comments.comment>;
}
/*********************************************
* CommentsAPI

@@ -29,0 +43,0 @@ **********************************************/

@@ -7,3 +7,2 @@

export interface likedByInformation {
likedBy?: () => Array<Microsoft.SharePoint.Likes.userEntity>;
isLikedByUser?: boolean;

@@ -14,2 +13,16 @@ likeCount?: number;

/*********************************************
* likedByInformationMethods
**********************************************/
export interface likedByInformationMethods extends likedByInformation {
likedBy?: () => Array<Microsoft.SharePoint.Likes.userEntity>;
}
/*********************************************
* likedByInformationQuery
**********************************************/
export interface likedByInformationQuery extends likedByInformation {
likedBy?: Array<Microsoft.SharePoint.Likes.userEntity>;
}
/*********************************************
* userEntity

@@ -16,0 +29,0 @@ **********************************************/

@@ -7,3 +7,2 @@

export interface SiteCollectionCorporateCatalogAccessor {
AvailableApps?: () => Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -13,2 +12,16 @@ }

/*********************************************
* SiteCollectionCorporateCatalogAccessorMethods
**********************************************/
export interface SiteCollectionCorporateCatalogAccessorMethods extends SiteCollectionCorporateCatalogAccessor {
AvailableApps?: () => Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>;
}
/*********************************************
* SiteCollectionCorporateCatalogAccessorQuery
**********************************************/
export interface SiteCollectionCorporateCatalogAccessorQuery extends SiteCollectionCorporateCatalogAccessor {
AvailableApps?: Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>;
}
/*********************************************
* CorporateCatalogAppMetadata

@@ -31,8 +44,22 @@ **********************************************/

export interface TenantCorporateCatalogAccessor {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* TenantCorporateCatalogAccessorMethods
**********************************************/
export interface TenantCorporateCatalogAccessorMethods extends TenantCorporateCatalogAccessor {
AvailableApps?: () => Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>;
SiteCollectionAppCatalogsSites?: () => Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* TenantCorporateCatalogAccessorQuery
**********************************************/
export interface TenantCorporateCatalogAccessorQuery extends TenantCorporateCatalogAccessor {
AvailableApps?: Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>;
SiteCollectionAppCatalogsSites?: Array<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem>;
}
/*********************************************
* SiteCollectionAppCatalogAllowedItem

@@ -39,0 +66,0 @@ **********************************************/

@@ -56,3 +56,2 @@ import { Microsoft } from "../../../";

export interface SharePointHomeServiceContext {
Token?: () => SP.OAuth.TokenResponse;
CompanyPortalContext?: string;

@@ -66,2 +65,16 @@ HomePageCache?: Microsoft.SharePoint.Portal.Home.SharePointHomeDataCacheCollection;

/*********************************************
* SharePointHomeServiceContextMethods
**********************************************/
export interface SharePointHomeServiceContextMethods extends SharePointHomeServiceContext {
Token?: () => SP.OAuth.TokenResponse;
}
/*********************************************
* SharePointHomeServiceContextQuery
**********************************************/
export interface SharePointHomeServiceContextQuery extends SharePointHomeServiceContext {
Token?: SP.OAuth.TokenResponse;
}
/*********************************************
* SPHubSitesUtility

@@ -68,0 +81,0 @@ **********************************************/

@@ -36,3 +36,2 @@ import { MS } from "../../";

export interface Folder extends MS.FileServices.FileSystemItem {
Children?: () => Array<MS.FileServices.FileSystemItem>;
ChildrenCount?: number;

@@ -42,2 +41,16 @@ }

/*********************************************
* FolderMethods
**********************************************/
export interface FolderMethods extends Folder {
Children?: () => Array<MS.FileServices.FileSystemItem>;
}
/*********************************************
* FolderQuery
**********************************************/
export interface FolderQuery extends Folder {
Children?: Array<MS.FileServices.FileSystemItem>;
}
/*********************************************
* MeFileService

@@ -44,0 +57,0 @@ **********************************************/

@@ -71,3 +71,2 @@

export interface MethodExecutionResult {
ReturnParameterCollection?: () => Array<SP.BusinessData.Runtime.EntityFieldValueDictionary>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -77,6 +76,19 @@ }

/*********************************************
* MethodExecutionResultMethods
**********************************************/
export interface MethodExecutionResultMethods extends MethodExecutionResult {
ReturnParameterCollection?: () => Array<SP.BusinessData.Runtime.EntityFieldValueDictionary>;
}
/*********************************************
* MethodExecutionResultQuery
**********************************************/
export interface MethodExecutionResultQuery extends MethodExecutionResult {
ReturnParameterCollection?: Array<SP.BusinessData.Runtime.EntityFieldValueDictionary>;
}
/*********************************************
* EntityView
**********************************************/
export interface EntityView {
Fields?: () => Array<SP.BusinessData.EntityField>;
Name?: string;

@@ -87,2 +99,16 @@ RelatedSpecificFinderName?: string;

/*********************************************
* EntityViewMethods
**********************************************/
export interface EntityViewMethods extends EntityView {
Fields?: () => Array<SP.BusinessData.EntityField>;
}
/*********************************************
* EntityViewQuery
**********************************************/
export interface EntityViewQuery extends EntityView {
Fields?: Array<SP.BusinessData.EntityField>;
}
/*********************************************
* AppBdcCatalog

@@ -89,0 +115,0 @@ **********************************************/

@@ -14,4 +14,2 @@ import { SP } from "../../";

export interface Group {
members?: () => Array<SP.Directory.User>;
owners?: () => Array<SP.Directory.User>;
alias?: string;

@@ -40,8 +38,21 @@ allowToAddGuests?: boolean;

/*********************************************
* GroupMethods
**********************************************/
export interface GroupMethods extends Group {
members?: () => Array<SP.Directory.User>;
owners?: () => Array<SP.Directory.User>;
}
/*********************************************
* GroupQuery
**********************************************/
export interface GroupQuery extends Group {
members?: Array<SP.Directory.User>;
owners?: Array<SP.Directory.User>;
}
/*********************************************
* User
**********************************************/
export interface User {
membership?: () => Array<SP.Directory.Group>;
ownership?: () => Array<SP.Directory.Group>;
rankedMembership?: () => Array<SP.Directory.Group>;
aboutMe?: string;

@@ -90,2 +101,20 @@ accountEnabled?: boolean;

/*********************************************
* UserMethods
**********************************************/
export interface UserMethods extends User {
membership?: () => Array<SP.Directory.Group>;
ownership?: () => Array<SP.Directory.Group>;
rankedMembership?: () => Array<SP.Directory.Group>;
}
/*********************************************
* UserQuery
**********************************************/
export interface UserQuery extends User {
membership?: Array<SP.Directory.Group>;
ownership?: Array<SP.Directory.Group>;
rankedMembership?: Array<SP.Directory.Group>;
}
/*********************************************
* Link

@@ -103,3 +132,2 @@ **********************************************/

export interface GroupAndUserStatus {
Group?: () => SP.Directory.Group;
Status?: number;

@@ -109,2 +137,16 @@ }

/*********************************************
* GroupAndUserStatusMethods
**********************************************/
export interface GroupAndUserStatusMethods extends GroupAndUserStatus {
Group?: () => SP.Directory.Group;
}
/*********************************************
* GroupAndUserStatusQuery
**********************************************/
export interface GroupAndUserStatusQuery extends GroupAndUserStatus {
Group?: SP.Directory.Group;
}
/*********************************************
* MembershipResult

@@ -111,0 +153,0 @@ **********************************************/

@@ -45,5 +45,2 @@ import { SP } from "../../";

export interface VideoItem {
Author?: () => SP.User;
Owner?: () => SP.User;
PeopleInMedia?: () => Array<SP.User>;
ChannelID?: any;

@@ -71,2 +68,20 @@ CreatedDate?: any;

/*********************************************
* VideoItemMethods
**********************************************/
export interface VideoItemMethods extends VideoItem {
Author?: () => SP.User;
Owner?: () => SP.User;
PeopleInMedia?: () => Array<SP.User>;
}
/*********************************************
* VideoItemQuery
**********************************************/
export interface VideoItemQuery extends VideoItem {
Author?: SP.User;
Owner?: SP.User;
PeopleInMedia?: Array<SP.User>;
}
/*********************************************
* PersonMagazine

@@ -116,3 +131,2 @@ **********************************************/

export interface PointPublishingPost {
images?: () => Array<SP.File>;
Author?: string;

@@ -131,5 +145,26 @@ Content?: string;

/*********************************************
* PointPublishingPostMethods
**********************************************/
export interface PointPublishingPostMethods extends PointPublishingPost {
images?: () => Array<SP.File>;
}
/*********************************************
* PointPublishingPostQuery
**********************************************/
export interface PointPublishingPostQuery extends PointPublishingPost {
images?: Array<SP.File>;
}
/*********************************************
* PointPublishingPostServiceManager
**********************************************/
export interface PointPublishingPostServiceManager {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* PointPublishingPostServiceManagerMethods
**********************************************/
export interface PointPublishingPostServiceManagerMethods extends PointPublishingPostServiceManager {
bannerimages?: () => Array<SP.File>;

@@ -141,6 +176,17 @@ contributors?: () => Array<SP.Publishing.PointPublishingUser>;

viewers?: () => Array<SP.Publishing.PointPublishingUser>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* PointPublishingPostServiceManagerQuery
**********************************************/
export interface PointPublishingPostServiceManagerQuery extends PointPublishingPostServiceManager {
bannerimages?: Array<SP.File>;
contributors?: Array<SP.Publishing.PointPublishingUser>;
creators?: Array<SP.Publishing.PointPublishingUser>;
magazineprops?: SP.Publishing.PointPublishingMagazineProps;
posts?: Array<SP.Publishing.PointPublishingPost>;
viewers?: Array<SP.Publishing.PointPublishingUser>;
}
/*********************************************
* PointPublishingUser

@@ -199,4 +245,2 @@ **********************************************/

export interface SitePageMetadata {
CreatedBy?: () => SP.Publishing.UserInfo;
LastModifiedBy?: () => SP.Publishing.UserInfo;
AbsoluteUrl?: string;

@@ -233,2 +277,18 @@ AuthorByline?: Array<string>;

/*********************************************
* SitePageMetadataMethods
**********************************************/
export interface SitePageMetadataMethods extends SitePageMetadata {
CreatedBy?: () => SP.Publishing.UserInfo;
LastModifiedBy?: () => SP.Publishing.UserInfo;
}
/*********************************************
* SitePageMetadataQuery
**********************************************/
export interface SitePageMetadataQuery extends SitePageMetadata {
CreatedBy?: SP.Publishing.UserInfo;
LastModifiedBy?: SP.Publishing.UserInfo;
}
/*********************************************
* UserInfo

@@ -297,12 +357,25 @@ **********************************************/

export interface SitePageService {
CustomContentApprovalEnabled?: boolean;
}
/*********************************************
* SitePageServiceMethods
**********************************************/
export interface SitePageServiceMethods extends SitePageService {
CommunicationSite?: () => SP.Publishing.CommunicationSite;
Pages?: () => Array<SP.Publishing.SitePage>;
CustomContentApprovalEnabled?: boolean;
}
/*********************************************
* SitePageServiceQuery
**********************************************/
export interface SitePageServiceQuery extends SitePageService {
CommunicationSite?: SP.Publishing.CommunicationSite;
Pages?: Array<SP.Publishing.SitePage>;
}
/*********************************************
* SpotlightChannel
**********************************************/
export interface SpotlightChannel {
Channel?: () => SP.Publishing.VideoChannel;
ChannelId?: any;

@@ -316,8 +389,19 @@ Id?: number;

/*********************************************
* SpotlightChannelMethods
**********************************************/
export interface SpotlightChannelMethods extends SpotlightChannel {
Channel?: () => SP.Publishing.VideoChannel;
}
/*********************************************
* SpotlightChannelQuery
**********************************************/
export interface SpotlightChannelQuery extends SpotlightChannel {
Channel?: SP.Publishing.VideoChannel;
}
/*********************************************
* VideoChannel
**********************************************/
export interface VideoChannel {
Search?: () => SP.Publishing.Search;
SpotlightVideos?: () => Array<SP.Publishing.SpotlightVideo>;
Videos?: () => Array<SP.Publishing.VideoItem>;
CanAdministrateByCurrent?: boolean;

@@ -340,2 +424,20 @@ CanEditByCurrent?: boolean;

/*********************************************
* VideoChannelMethods
**********************************************/
export interface VideoChannelMethods extends VideoChannel {
Search?: () => SP.Publishing.Search;
SpotlightVideos?: () => Array<SP.Publishing.SpotlightVideo>;
Videos?: () => Array<SP.Publishing.VideoItem>;
}
/*********************************************
* VideoChannelQuery
**********************************************/
export interface VideoChannelQuery extends VideoChannel {
Search?: SP.Publishing.Search;
SpotlightVideos?: Array<SP.Publishing.SpotlightVideo>;
Videos?: Array<SP.Publishing.VideoItem>;
}
/*********************************************
* Search

@@ -352,3 +454,2 @@ **********************************************/

export interface SpotlightVideo {
Video?: () => SP.Publishing.VideoItem;
Id?: number;

@@ -360,2 +461,16 @@ ServerRelativeUrl?: string;

/*********************************************
* SpotlightVideoMethods
**********************************************/
export interface SpotlightVideoMethods extends SpotlightVideo {
Video?: () => SP.Publishing.VideoItem;
}
/*********************************************
* SpotlightVideoQuery
**********************************************/
export interface SpotlightVideoQuery extends SpotlightVideo {
Video?: SP.Publishing.VideoItem;
}
/*********************************************
* SubtitleFile

@@ -373,3 +488,2 @@ **********************************************/

export interface VideoPermissionGroup {
Users?: () => Array<SP.User>;
Id?: number;

@@ -379,2 +493,16 @@ }

/*********************************************
* VideoPermissionGroupMethods
**********************************************/
export interface VideoPermissionGroupMethods extends VideoPermissionGroup {
Users?: () => Array<SP.User>;
}
/*********************************************
* VideoPermissionGroupQuery
**********************************************/
export interface VideoPermissionGroupQuery extends VideoPermissionGroup {
Users?: Array<SP.User>;
}
/*********************************************
* VideoPlaybackMetadata

@@ -409,7 +537,2 @@ **********************************************/

export interface VideoServiceManager {
CanEditChannels?: () => Array<SP.Publishing.VideoChannel>;
Channels?: () => Array<SP.Publishing.VideoChannel>;
Search?: () => SP.Publishing.Search;
SpotlightChannels?: () => Array<SP.Publishing.SpotlightChannel>;
SpotlightVideos?: () => Array<SP.Publishing.SpotlightVideo>;
CanAdministratePortalByCurrent?: boolean;

@@ -423,2 +546,24 @@ CanCreateChannelsByCurrent?: boolean;

/*********************************************
* VideoServiceManagerMethods
**********************************************/
export interface VideoServiceManagerMethods extends VideoServiceManager {
CanEditChannels?: () => Array<SP.Publishing.VideoChannel>;
Channels?: () => Array<SP.Publishing.VideoChannel>;
Search?: () => SP.Publishing.Search;
SpotlightChannels?: () => Array<SP.Publishing.SpotlightChannel>;
SpotlightVideos?: () => Array<SP.Publishing.SpotlightVideo>;
}
/*********************************************
* VideoServiceManagerQuery
**********************************************/
export interface VideoServiceManagerQuery extends VideoServiceManager {
CanEditChannels?: Array<SP.Publishing.VideoChannel>;
Channels?: Array<SP.Publishing.VideoChannel>;
Search?: SP.Publishing.Search;
SpotlightChannels?: Array<SP.Publishing.SpotlightChannel>;
SpotlightVideos?: Array<SP.Publishing.SpotlightVideo>;
}
/*********************************************
* VideoThumbnail

@@ -425,0 +570,0 @@ **********************************************/

@@ -53,3 +53,2 @@ import { SP } from "../../";

export interface SharingInformation {
pickerSettings?: () => SP.PickerSettings;
accessRequestSettings?: SP.Sharing.AccessRequestSettings;

@@ -83,2 +82,16 @@ anonymousLinkExpirationRestrictionDays?: number;

/*********************************************
* SharingInformationMethods
**********************************************/
export interface SharingInformationMethods extends SharingInformation {
pickerSettings?: () => SP.PickerSettings;
}
/*********************************************
* SharingInformationQuery
**********************************************/
export interface SharingInformationQuery extends SharingInformation {
pickerSettings?: SP.PickerSettings;
}
/*********************************************
* DocumentSharingManager

@@ -85,0 +98,0 @@ **********************************************/

@@ -95,4 +95,2 @@ import { SP } from "../../";

export interface UserProfile {
FollowedContent?: () => SP.UserProfiles.FollowedContent;
PersonalSite?: () => SP.Site;
AccountName?: string;

@@ -121,1 +119,17 @@ DisplayName?: string;

}
/*********************************************
* UserProfileMethods
**********************************************/
export interface UserProfileMethods extends UserProfile {
FollowedContent?: () => SP.UserProfiles.FollowedContent;
PersonalSite?: () => SP.Site;
}
/*********************************************
* UserProfileQuery
**********************************************/
export interface UserProfileQuery extends UserProfile {
FollowedContent?: SP.UserProfiles.FollowedContent;
PersonalSite?: SP.Site;
}

@@ -63,3 +63,2 @@

export interface ThemeManager {
ContextThemeManager?: () => SP.Utilities.ThemeManager;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -69,2 +68,16 @@ }

/*********************************************
* ThemeManagerMethods
**********************************************/
export interface ThemeManagerMethods extends ThemeManager {
ContextThemeManager?: () => SP.Utilities.ThemeManager;
}
/*********************************************
* ThemeManagerQuery
**********************************************/
export interface ThemeManagerQuery extends ThemeManager {
ContextThemeManager?: SP.Utilities.ThemeManager;
}
/*********************************************
* Utility

@@ -71,0 +84,0 @@ **********************************************/

@@ -7,3 +7,2 @@

export interface LimitedWebPartManager {
WebParts?: () => Array<SP.WebParts.WebPartDefinition>;
HasPersonalizedParts?: boolean;

@@ -14,6 +13,19 @@ Scope?: number;

/*********************************************
* LimitedWebPartManagerMethods
**********************************************/
export interface LimitedWebPartManagerMethods extends LimitedWebPartManager {
WebParts?: () => Array<SP.WebParts.WebPartDefinition>;
}
/*********************************************
* LimitedWebPartManagerQuery
**********************************************/
export interface LimitedWebPartManagerQuery extends LimitedWebPartManager {
WebParts?: Array<SP.WebParts.WebPartDefinition>;
}
/*********************************************
* WebPartDefinition
**********************************************/
export interface WebPartDefinition {
WebPart?: () => SP.WebParts.WebPart;
Id?: any;

@@ -24,6 +36,19 @@ ZoneId?: string;

/*********************************************
* WebPartDefinitionMethods
**********************************************/
export interface WebPartDefinitionMethods extends WebPartDefinition {
WebPart?: () => SP.WebParts.WebPart;
}
/*********************************************
* WebPartDefinitionQuery
**********************************************/
export interface WebPartDefinitionQuery extends WebPartDefinition {
WebPart?: SP.WebParts.WebPart;
}
/*********************************************
* WebPart
**********************************************/
export interface WebPart {
Properties?: () => SP.PropertyValues;
ExportMode?: number;

@@ -37,1 +62,15 @@ Hidden?: boolean;

}
/*********************************************
* WebPartMethods
**********************************************/
export interface WebPartMethods extends WebPart {
Properties?: () => SP.PropertyValues;
}
/*********************************************
* WebPartQuery
**********************************************/
export interface WebPartQuery extends WebPart {
Properties?: SP.PropertyValues;
}

@@ -48,3 +48,2 @@ import { SP } from "../../";

export interface WorkflowInstanceService {
Current?: () => SP.WorkflowServices.WorkflowInstanceService;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -54,6 +53,19 @@ }

/*********************************************
* WorkflowInstanceServiceMethods
**********************************************/
export interface WorkflowInstanceServiceMethods extends WorkflowInstanceService {
Current?: () => SP.WorkflowServices.WorkflowInstanceService;
}
/*********************************************
* WorkflowInstanceServiceQuery
**********************************************/
export interface WorkflowInstanceServiceQuery extends WorkflowInstanceService {
Current?: SP.WorkflowServices.WorkflowInstanceService;
}
/*********************************************
* InteropService
**********************************************/
export interface InteropService {
Current?: () => SP.WorkflowServices.InteropService;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -63,6 +75,19 @@ }

/*********************************************
* InteropServiceMethods
**********************************************/
export interface InteropServiceMethods extends InteropService {
Current?: () => SP.WorkflowServices.InteropService;
}
/*********************************************
* InteropServiceQuery
**********************************************/
export interface InteropServiceQuery extends InteropService {
Current?: SP.WorkflowServices.InteropService;
}
/*********************************************
* WorkflowServicesManager
**********************************************/
export interface WorkflowServicesManager {
Current?: () => SP.WorkflowServices.WorkflowServicesManager;
AppId?: string;

@@ -75,2 +100,16 @@ IsConnected?: boolean;

/*********************************************
* WorkflowServicesManagerMethods
**********************************************/
export interface WorkflowServicesManagerMethods extends WorkflowServicesManager {
Current?: () => SP.WorkflowServices.WorkflowServicesManager;
}
/*********************************************
* WorkflowServicesManagerQuery
**********************************************/
export interface WorkflowServicesManagerQuery extends WorkflowServicesManager {
Current?: SP.WorkflowServices.WorkflowServicesManager;
}
/*********************************************
* WorkflowSubscription

@@ -95,3 +134,2 @@ **********************************************/

export interface WorkflowSubscriptionService {
Current?: () => SP.WorkflowServices.WorkflowSubscriptionService;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -101,2 +139,16 @@ }

/*********************************************
* WorkflowSubscriptionServiceMethods
**********************************************/
export interface WorkflowSubscriptionServiceMethods extends WorkflowSubscriptionService {
Current?: () => SP.WorkflowServices.WorkflowSubscriptionService;
}
/*********************************************
* WorkflowSubscriptionServiceQuery
**********************************************/
export interface WorkflowSubscriptionServiceQuery extends WorkflowSubscriptionService {
Current?: SP.WorkflowServices.WorkflowSubscriptionService;
}
/*********************************************
* WorkflowMessagingService

@@ -103,0 +155,0 @@ **********************************************/

@@ -161,2 +161,9 @@ import { SP } from "../../../";

export interface NonTaskDataReadResult {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* NonTaskDataReadResultMethods
**********************************************/
export interface NonTaskDataReadResultMethods extends NonTaskDataReadResult {
AllLocatons?: () => Array<SP.WorkManagement.OM.Location>;

@@ -167,6 +174,16 @@ PersistedProperties?: () => SP.WorkManagement.OM.PersistedProperties;

UserSettings?: () => SP.WorkManagement.OM.UserSettings;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* NonTaskDataReadResultQuery
**********************************************/
export interface NonTaskDataReadResultQuery extends NonTaskDataReadResult {
AllLocatons?: Array<SP.WorkManagement.OM.Location>;
PersistedProperties?: SP.WorkManagement.OM.PersistedProperties;
RefreshHistory?: SP.WorkManagement.OM.RefreshHistory;
ScriptExtensions?: Array<SP.WorkManagement.OM.DashboardScriptExtensionInfo>;
UserSettings?: SP.WorkManagement.OM.UserSettings;
}
/*********************************************
* PersistedProperties

@@ -186,3 +203,2 @@ **********************************************/

export interface RefreshHistory {
Refreshes?: () => Array<SP.WorkManagement.OM.RefreshResult>;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -192,7 +208,19 @@ }

/*********************************************
* RefreshHistoryMethods
**********************************************/
export interface RefreshHistoryMethods extends RefreshHistory {
Refreshes?: () => Array<SP.WorkManagement.OM.RefreshResult>;
}
/*********************************************
* RefreshHistoryQuery
**********************************************/
export interface RefreshHistoryQuery extends RefreshHistory {
Refreshes?: Array<SP.WorkManagement.OM.RefreshResult>;
}
/*********************************************
* RefreshResult
**********************************************/
export interface RefreshResult {
ProviderStatuses?: () => Array<SP.WorkManagement.OM.ProviderRefreshStatus>;
TaskChangesByLocation?: () => Array<SP.WorkManagement.OM.LocationUpdateResult>;
AggregatorRefreshState?: number;

@@ -205,2 +233,18 @@ CorrelationId?: string;

/*********************************************
* RefreshResultMethods
**********************************************/
export interface RefreshResultMethods extends RefreshResult {
ProviderStatuses?: () => Array<SP.WorkManagement.OM.ProviderRefreshStatus>;
TaskChangesByLocation?: () => Array<SP.WorkManagement.OM.LocationUpdateResult>;
}
/*********************************************
* RefreshResultQuery
**********************************************/
export interface RefreshResultQuery extends RefreshResult {
ProviderStatuses?: Array<SP.WorkManagement.OM.ProviderRefreshStatus>;
TaskChangesByLocation?: Array<SP.WorkManagement.OM.LocationUpdateResult>;
}
/*********************************************
* ProviderRefreshStatus

@@ -252,3 +296,2 @@ **********************************************/

export interface RefreshHealthInfo {
ProviderErrors?: () => Array<SP.WorkManagement.OM.ProviderErrorInfo>;
LatestRefreshTime?: any;

@@ -260,2 +303,16 @@ NewTasks?: number;

/*********************************************
* RefreshHealthInfoMethods
**********************************************/
export interface RefreshHealthInfoMethods extends RefreshHealthInfo {
ProviderErrors?: () => Array<SP.WorkManagement.OM.ProviderErrorInfo>;
}
/*********************************************
* RefreshHealthInfoQuery
**********************************************/
export interface RefreshHealthInfoQuery extends RefreshHealthInfo {
ProviderErrors?: Array<SP.WorkManagement.OM.ProviderErrorInfo>;
}
/*********************************************
* SortableSessionManager

@@ -278,11 +335,34 @@ **********************************************/

export interface SortableTaskQuery {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* SortableTaskQueryMethods
**********************************************/
export interface SortableTaskQueryMethods extends SortableTaskQuery {
CoreQuery?: () => SP.WorkManagement.OM.TaskQuery;
Order?: () => SP.WorkManagement.OM.OrderInfo;
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* SortableTaskQueryQuery
**********************************************/
export interface SortableTaskQueryQuery extends SortableTaskQuery {
CoreQuery?: SP.WorkManagement.OM.TaskQuery;
Order?: SP.WorkManagement.OM.OrderInfo;
}
/*********************************************
* TaskQuery
**********************************************/
export interface TaskQuery {
KeywordFilter?: string;
LastQueryTime?: any;
PinnedFilter?: number;
}
/*********************************************
* TaskQueryMethods
**********************************************/
export interface TaskQueryMethods extends TaskQuery {
CustomAttributeFilter?: () => SP.WorkManagement.OM.CustomAttributeFilter;

@@ -292,11 +372,26 @@ FieldFilter?: () => SP.WorkManagement.OM.TaskFilter;

LocationFilter?: () => SP.WorkManagement.OM.LocationFilter;
KeywordFilter?: string;
LastQueryTime?: any;
PinnedFilter?: number;
}
/*********************************************
* TaskQueryQuery
**********************************************/
export interface TaskQueryQuery extends TaskQuery {
CustomAttributeFilter?: SP.WorkManagement.OM.CustomAttributeFilter;
FieldFilter?: SP.WorkManagement.OM.TaskFilter;
LastModifiedDateRangeFilter?: SP.WorkManagement.OM.DateRangeCriterion;
LocationFilter?: SP.WorkManagement.OM.LocationFilter;
}
/*********************************************
* TaskFilter
**********************************************/
export interface TaskFilter {
CriterionConcatType?: number;
IdsToFilterBy?: Array<number>;
}
/*********************************************
* TaskFilterMethods
**********************************************/
export interface TaskFilterMethods extends TaskFilter {
CompletedCriterion?: () => SP.WorkManagement.OM.BooleanCriterion;

@@ -307,11 +402,19 @@ DueDateRangeCriterion?: () => SP.WorkManagement.OM.DateRangeCriterion;

StartDateRangeCriterion?: () => SP.WorkManagement.OM.DateRangeCriterion;
CriterionConcatType?: number;
IdsToFilterBy?: Array<number>;
}
/*********************************************
* TaskFilterQuery
**********************************************/
export interface TaskFilterQuery extends TaskFilter {
CompletedCriterion?: SP.WorkManagement.OM.BooleanCriterion;
DueDateRangeCriterion?: SP.WorkManagement.OM.DateRangeCriterion;
IsNewCriterion?: SP.WorkManagement.OM.BooleanCriterion;
NameCriterion?: SP.WorkManagement.OM.NameCriterion;
StartDateRangeCriterion?: SP.WorkManagement.OM.DateRangeCriterion;
}
/*********************************************
* TaskQueryByLocationResult
**********************************************/
export interface TaskQueryByLocationResult {
Results?: () => Array<SP.WorkManagement.OM.Task>;
Error?: number;

@@ -322,6 +425,19 @@ ErrorMessage?: string;

/*********************************************
* TaskQueryByLocationResultMethods
**********************************************/
export interface TaskQueryByLocationResultMethods extends TaskQueryByLocationResult {
Results?: () => Array<SP.WorkManagement.OM.Task>;
}
/*********************************************
* TaskQueryByLocationResultQuery
**********************************************/
export interface TaskQueryByLocationResultQuery extends TaskQueryByLocationResult {
Results?: Array<SP.WorkManagement.OM.Task>;
}
/*********************************************
* TaskQueryResult
**********************************************/
export interface TaskQueryResult {
Results?: () => Array<SP.WorkManagement.OM.Task>;
Error?: number;

@@ -332,6 +448,19 @@ ErrorMessage?: string;

/*********************************************
* TaskQueryResultMethods
**********************************************/
export interface TaskQueryResultMethods extends TaskQueryResult {
Results?: () => Array<SP.WorkManagement.OM.Task>;
}
/*********************************************
* TaskQueryResultQuery
**********************************************/
export interface TaskQueryResultQuery extends TaskQueryResult {
Results?: Array<SP.WorkManagement.OM.Task>;
}
/*********************************************
* TaskRefreshResult
**********************************************/
export interface TaskRefreshResult {
Result?: () => SP.WorkManagement.OM.Task;
ErrorCorrelationId?: string;

@@ -342,6 +471,19 @@ RefreshState?: number;

/*********************************************
* TaskRefreshResultMethods
**********************************************/
export interface TaskRefreshResultMethods extends TaskRefreshResult {
Result?: () => SP.WorkManagement.OM.Task;
}
/*********************************************
* TaskRefreshResultQuery
**********************************************/
export interface TaskRefreshResultQuery extends TaskRefreshResult {
Result?: SP.WorkManagement.OM.Task;
}
/*********************************************
* TaskWriteResult
**********************************************/
export interface TaskWriteResult {
Result?: () => SP.WorkManagement.OM.Task;
Error?: number;

@@ -352,2 +494,16 @@ ErrorMessage?: string;

/*********************************************
* TaskWriteResultMethods
**********************************************/
export interface TaskWriteResultMethods extends TaskWriteResult {
Result?: () => SP.WorkManagement.OM.Task;
}
/*********************************************
* TaskWriteResultQuery
**********************************************/
export interface TaskWriteResultQuery extends TaskWriteResult {
Result?: SP.WorkManagement.OM.Task;
}
/*********************************************
* UserOrderedSessionManager

@@ -354,0 +510,0 @@ **********************************************/

@@ -262,2 +262,4 @@ let fs = require("fs");

let interface = directories[dirName][filename][name];
let methods = [];
let queryMethods = [];
let variables = [];

@@ -294,4 +296,5 @@

// Add the method name
variables.push('\t' + methodName + '?: () => ' + methodType + ';');
// Add the method
methods.push('\t' + methodName + '?: () => ' + methodType + ';');
queryMethods.push('\t' + methodName + '?: ' + methodType + ';');
}

@@ -331,2 +334,9 @@ }

content.push(create.interface(name, interface._BaseType, variables.join('\n')));
// See if methods exist
if (methods.length > 0) {
// Add the content
content.push(create.interface(name + "Methods", name, methods.join('\n')));
content.push(create.interface(name + "Query", name, queryMethods.join('\n')));
}
}

@@ -333,0 +343,0 @@

2

package.json
{
"name": "gd-sprest-def",
"version": "0.0.6",
"version": "0.0.7",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc