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.1.8 to 0.1.9

4

base.d.ts
/**
* Base Execution
*/
export interface IBaseExecution<Type = any, Result = Type, QueryResult = Result> {
export interface IBaseExecution<Type = any, Result = Type> {
/**

@@ -76,3 +76,3 @@ * Method to execute the request as a batch.

*/
export interface IBaseQuery<Type = any, Result = Type> extends IBaseExecution<Type, Result> {
export interface IBaseQuery<Type = any, Result = Type> extends IBaseExecution<Type> {
/**

@@ -79,0 +79,0 @@ * Queries the collection.

/**
* Base Execution
*/
export interface IBaseExecution<Type = any, Result = Type, QueryResult = Result> {
export interface IBaseExecution<Type = any, Result = Type> {
/**

@@ -76,3 +76,3 @@ * Method to execute the request as a batch.

*/
export interface IBaseQuery<Type = any, Result = Type> extends IBaseExecution<Type, Result> {
export interface IBaseQuery<Type = any, Result = Type> extends IBaseExecution<Type> {
/**

@@ -79,0 +79,0 @@ * Queries the collection.

@@ -831,29 +831,29 @@ import { IBaseExecution } from "../../../../../";

AllowedDataLocations(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation> & Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocationCollectionMethods;
AllowedDataLocations(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation> & Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocationCollections;
AllowedDataLocations(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation, Microsoft.Online.SharePoint.MultiGeo.Service.IAllowedDataLocationQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocationCollections;
CrossFarmGroupMoveJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJobCollectionMethods;
CrossFarmGroupMoveJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJobCollections;
CrossFarmGroupMoveJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob, Microsoft.Online.SharePoint.MultiGeo.Service.ICrossFarmGroupMoveJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJobCollections;
CrossFarmSiteMoveJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJobCollectionMethods;
CrossFarmSiteMoveJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJobCollections;
CrossFarmSiteMoveJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob, Microsoft.Online.SharePoint.MultiGeo.Service.ICrossFarmSiteMoveJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJobCollections;
CrossFarmUserMoveJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJobCollectionMethods;
CrossFarmUserMoveJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJobCollections;
CrossFarmUserMoveJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob, Microsoft.Online.SharePoint.MultiGeo.Service.ICrossFarmUserMoveJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJobCollections;
CrossGeoTenantProperties(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantPropertyCollectionMethods;
CrossGeoTenantProperties(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantPropertyCollections;
CrossGeoTenantProperties(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty, Microsoft.Online.SharePoint.MultiGeo.Service.ICrossGeoTenantPropertyQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantPropertyCollections;
GeoAdministrators(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministratorCollectionMethods;
GeoAdministrators(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministratorCollections;
GeoAdministrators(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator, Microsoft.Online.SharePoint.MultiGeo.Service.IGeoAdministratorQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministratorCollections;
GeoTenantInstanceInformationCollection(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformation> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformationCollectionMethods;
GeoTenantInstanceInformationCollection(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformation> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformationCollections;
GeoTenantInstanceInformationCollection(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformation, Microsoft.Online.SharePoint.MultiGeo.Service.IGeoTenantInstanceInformationQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformationCollections;
GroupMoveJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJobCollectionMethods;
GroupMoveJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJobCollections;
GroupMoveJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob, Microsoft.Online.SharePoint.MultiGeo.Service.IGroupMoveJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJobCollections;
SiteMoveJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJobCollectionMethods;
SiteMoveJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJobCollections;
SiteMoveJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob, Microsoft.Online.SharePoint.MultiGeo.Service.ISiteMoveJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJobCollections;
SiteRenameJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJob> & Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJobCollectionMethods;
SiteRenameJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJob> & Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJobCollections;
SiteRenameJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJob, Microsoft.Online.SharePoint.MultiGeo.Service.ISiteRenameJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJobCollections;
StorageQuotas(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota> & Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuotaCollectionMethods;
StorageQuotas(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota> & Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuotaCollections;
StorageQuotas(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota, Microsoft.Online.SharePoint.MultiGeo.Service.IStorageQuotaQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuotaCollections;
TenantInformationCollection(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.TenantInformation>;
TenantInformationCollection(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.TenantInformation>;
TenantInformationCollection(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.TenantInformation, Microsoft.Online.SharePoint.MultiGeo.Service.ITenantInformationQuery>;
UnifiedGroups(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup> & Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroupCollectionMethods;
UnifiedGroups(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup> & Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroupCollections;
UnifiedGroups(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup, Microsoft.Online.SharePoint.MultiGeo.Service.IUnifiedGroupQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroupCollections;
UserMoveJobs(): IBaseCollection<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJobCollectionMethods;
UserMoveJobs(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob> & Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJobCollections;
UserMoveJobs(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob, Microsoft.Online.SharePoint.MultiGeo.Service.IUserMoveJobQuery> & Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJobCollections;
}

@@ -860,0 +860,0 @@

@@ -592,3 +592,3 @@ import { IBaseExecution } from "../../../../";

Sites(): IBaseCollection<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties> & Microsoft.Online.SharePoint.TenantAdministration.SitePropertiesCollectionMethods;
Sites(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties> & Microsoft.Online.SharePoint.TenantAdministration.SitePropertiesCollections;
Sites(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties, Microsoft.Online.SharePoint.TenantAdministration.ISitePropertiesQuery> & Microsoft.Online.SharePoint.TenantAdministration.SitePropertiesCollections;
}

@@ -595,0 +595,0 @@

@@ -171,5 +171,5 @@ import { IBaseExecution } from "../../../../../";

PermissionGrants(): IBaseCollection<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant> & Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrantCollectionMethods;
PermissionGrants(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant> & Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrantCollections;
PermissionGrants(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant, Microsoft.Online.SharePoint.TenantAdministration.Internal.ISPOWebAppServicePrincipalPermissionGrantQuery> & Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrantCollections;
PermissionRequests(): IBaseCollection<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest> & Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequestCollectionMethods;
PermissionRequests(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest> & Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequestCollections;
PermissionRequests(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest, Microsoft.Online.SharePoint.TenantAdministration.Internal.ISPOWebAppServicePrincipalPermissionRequestQuery> & Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequestCollections;
}

@@ -176,0 +176,0 @@

import { IBaseExecution } from "../../../../";
import { IBaseCollection } from "../../../../";
import { IBaseQuery } from "../../../../";
import { IBaseResults } from "../../../../";
import { Microsoft } from "../../../../";
import { IBaseQuery } from "../../../../";
import { SP } from "../../../../";

@@ -69,3 +69,3 @@

ExternalUserCollection(): IBaseCollection<Microsoft.Online.SharePoint.TenantManagement.ExternalUser> & Microsoft.Online.SharePoint.TenantManagement.ExternalUserCollectionMethods;
ExternalUserCollection(id: string | number): IBaseExecution<Microsoft.Online.SharePoint.TenantManagement.ExternalUser> & Microsoft.Online.SharePoint.TenantManagement.ExternalUserCollections;
ExternalUserCollection(id: string | number): IBaseQuery<Microsoft.Online.SharePoint.TenantManagement.ExternalUser, Microsoft.Online.SharePoint.TenantManagement.IExternalUserQuery> & Microsoft.Online.SharePoint.TenantManagement.ExternalUserCollections;
}

@@ -72,0 +72,0 @@

@@ -144,3 +144,3 @@ import { IBaseExecution } from "../../../";

Sites(): IBaseCollection<SP.Site>;
Sites(id: string | number): IBaseExecution<SP.Site>;
Sites(id: string | number): IBaseQuery<SP.Site, SP.ISiteQuery>;
}

@@ -195,3 +195,3 @@

WebApplications(): IBaseCollection<Microsoft.SharePoint.Administration.SPWebApplication>;
WebApplications(id: string | number): IBaseExecution<Microsoft.SharePoint.Administration.SPWebApplication>;
WebApplications(id: string | number): IBaseQuery<Microsoft.SharePoint.Administration.SPWebApplication, Microsoft.SharePoint.Administration.ISPWebApplicationQuery>;
}

@@ -198,0 +198,0 @@

import { IBaseExecution } from "../../../";
import { IBaseCollection } from "../../../";
import { IBaseQuery } from "../../../";
import { IBaseResults } from "../../../";
import { Microsoft } from "../../../";
import { SP } from "../../../";
import { IBaseQuery } from "../../../";

@@ -53,5 +53,5 @@ /*********************************************

likedBy(): IBaseCollection<Microsoft.SharePoint.Likes.userEntity>;
likedBy(id: string | number): IBaseExecution<Microsoft.SharePoint.Likes.userEntity>;
likedBy(id: string | number): IBaseQuery<Microsoft.SharePoint.Likes.userEntity, Microsoft.SharePoint.Likes.IuserEntityQuery>;
replies(): IBaseCollection<Microsoft.SharePoint.Comments.comment> & Microsoft.SharePoint.Comments.commentCollectionMethods;
replies(id: string | number): IBaseExecution<Microsoft.SharePoint.Comments.comment> & Microsoft.SharePoint.Comments.commentCollections;
replies(id: string | number): IBaseQuery<Microsoft.SharePoint.Comments.comment, Microsoft.SharePoint.Comments.IcommentQuery> & Microsoft.SharePoint.Comments.commentCollections;
}

@@ -58,0 +58,0 @@

import { IBaseExecution } from "../../../";
import { IBaseCollection } from "../../../";
import { IBaseQuery } from "../../../";
import { IBaseResults } from "../../../";

@@ -40,3 +41,3 @@ import { Microsoft } from "../../../";

likedBy(): IBaseCollection<Microsoft.SharePoint.Likes.userEntity>;
likedBy(id: string | number): IBaseExecution<Microsoft.SharePoint.Likes.userEntity>;
likedBy(id: string | number): IBaseQuery<Microsoft.SharePoint.Likes.userEntity, Microsoft.SharePoint.Likes.IuserEntityQuery>;
}

@@ -43,0 +44,0 @@

import { IBaseExecution } from "../../../../";
import { IBaseCollection } from "../../../../";
import { IBaseQuery } from "../../../../";
import { IBaseResults } from "../../../../";
import { Microsoft } from "../../../../";
import { IBaseQuery } from "../../../../";

@@ -40,3 +40,3 @@ /*********************************************

AvailableApps(): IBaseCollection<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadataCollectionMethods;
AvailableApps(id: string | number): IBaseExecution<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadataCollections;
AvailableApps(id: string | number): IBaseQuery<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata, Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.ICorporateCatalogAppMetadataQuery> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadataCollections;
}

@@ -159,5 +159,5 @@

AvailableApps(): IBaseCollection<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadataCollectionMethods;
AvailableApps(id: string | number): IBaseExecution<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadataCollections;
AvailableApps(id: string | number): IBaseQuery<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata, Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.ICorporateCatalogAppMetadataQuery> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadataCollections;
SiteCollectionAppCatalogsSites(): IBaseCollection<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItemCollectionMethods;
SiteCollectionAppCatalogsSites(id: string | number): IBaseExecution<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItemCollections;
SiteCollectionAppCatalogsSites(id: string | number): IBaseQuery<Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem, Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.ISiteCollectionAppCatalogAllowedItemQuery> & Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItemCollections;
}

@@ -164,0 +164,0 @@

@@ -137,3 +137,3 @@ import { IBaseExecution } from "../../";

Children(): IBaseCollection<MS.FileServices.FileSystemItem> & MS.FileServices.FileSystemItemCollectionMethods;
Children(id: string | number): IBaseExecution<MS.FileServices.FileSystemItem> & MS.FileServices.FileSystemItemCollections;
Children(id: string | number): IBaseQuery<MS.FileServices.FileSystemItem, MS.FileServices.IFileSystemItemQuery> & MS.FileServices.FileSystemItemCollections;
}

@@ -140,0 +140,0 @@

@@ -310,3 +310,3 @@ import { IBaseExecution } from "../../";

ReturnParameterCollection(): IBaseCollection<SP.BusinessData.Runtime.EntityFieldValueDictionary>;
ReturnParameterCollection(id: string | number): IBaseExecution<SP.BusinessData.Runtime.EntityFieldValueDictionary>;
ReturnParameterCollection(id: string | number): IBaseQuery<SP.BusinessData.Runtime.EntityFieldValueDictionary, SP.BusinessData.Runtime.IEntityFieldValueDictionaryQuery>;
}

@@ -362,3 +362,3 @@

Fields(): IBaseCollection<SP.BusinessData.EntityField>;
Fields(id: string | number): IBaseExecution<SP.BusinessData.EntityField>;
Fields(id: string | number): IBaseQuery<SP.BusinessData.EntityField, SP.BusinessData.IEntityFieldQuery>;
}

@@ -365,0 +365,0 @@

@@ -114,5 +114,5 @@ import { IBaseExecution } from "../../";

members(): IBaseCollection<SP.Directory.User> & SP.Directory.UserCollectionMethods;
members(id: string | number): IBaseExecution<SP.Directory.User> & SP.Directory.UserCollections;
members(id: string | number): IBaseQuery<SP.Directory.User, SP.Directory.IUserQuery> & SP.Directory.UserCollections;
owners(): IBaseCollection<SP.Directory.User> & SP.Directory.UserCollectionMethods;
owners(id: string | number): IBaseExecution<SP.Directory.User> & SP.Directory.UserCollections;
owners(id: string | number): IBaseQuery<SP.Directory.User, SP.Directory.IUserQuery> & SP.Directory.UserCollections;
}

@@ -215,7 +215,7 @@

membership(): IBaseCollection<SP.Directory.Group> & SP.Directory.GroupCollectionMethods;
membership(id: string | number): IBaseExecution<SP.Directory.Group> & SP.Directory.GroupCollections;
membership(id: string | number): IBaseQuery<SP.Directory.Group, SP.Directory.IGroupQuery> & SP.Directory.GroupCollections;
ownership(): IBaseCollection<SP.Directory.Group> & SP.Directory.GroupCollectionMethods;
ownership(id: string | number): IBaseExecution<SP.Directory.Group> & SP.Directory.GroupCollections;
ownership(id: string | number): IBaseQuery<SP.Directory.Group, SP.Directory.IGroupQuery> & SP.Directory.GroupCollections;
rankedMembership(): IBaseCollection<SP.Directory.Group> & SP.Directory.GroupCollectionMethods;
rankedMembership(id: string | number): IBaseExecution<SP.Directory.Group> & SP.Directory.GroupCollections;
rankedMembership(id: string | number): IBaseQuery<SP.Directory.Group, SP.Directory.IGroupQuery> & SP.Directory.GroupCollections;
}

@@ -222,0 +222,0 @@

@@ -189,3 +189,3 @@ import { IBaseExecution } from "../../";

PeopleInMedia(): IBaseCollection<SP.User> & SP.UserCollectionMethods;
PeopleInMedia(id: string | number): IBaseExecution<SP.User> & SP.UserCollections;
PeopleInMedia(id: string | number): IBaseQuery<SP.User, SP.IUserQuery> & SP.UserCollections;
}

@@ -335,3 +335,3 @@

images(): IBaseCollection<SP.File> & SP.FileCollectionMethods;
images(id: string | number): IBaseExecution<SP.File> & SP.FileCollections;
images(id: string | number): IBaseQuery<SP.File, SP.IFileQuery> & SP.FileCollections;
}

@@ -395,11 +395,11 @@

bannerimages(): IBaseCollection<SP.File> & SP.FileCollectionMethods;
bannerimages(id: string | number): IBaseExecution<SP.File> & SP.FileCollections;
bannerimages(id: string | number): IBaseQuery<SP.File, SP.IFileQuery> & SP.FileCollections;
contributors(): IBaseCollection<SP.Publishing.PointPublishingUser> & SP.Publishing.PointPublishingUserCollectionMethods;
contributors(id: string | number): IBaseExecution<SP.Publishing.PointPublishingUser> & SP.Publishing.PointPublishingUserCollections;
contributors(id: string | number): IBaseQuery<SP.Publishing.PointPublishingUser, SP.Publishing.IPointPublishingUserQuery> & SP.Publishing.PointPublishingUserCollections;
creators(): IBaseCollection<SP.Publishing.PointPublishingUser> & SP.Publishing.PointPublishingUserCollectionMethods;
creators(id: string | number): IBaseExecution<SP.Publishing.PointPublishingUser> & SP.Publishing.PointPublishingUserCollections;
creators(id: string | number): IBaseQuery<SP.Publishing.PointPublishingUser, SP.Publishing.IPointPublishingUserQuery> & SP.Publishing.PointPublishingUserCollections;
posts(): IBaseCollection<SP.Publishing.PointPublishingPost> & SP.Publishing.PointPublishingPostCollectionMethods;
posts(id: string | number): IBaseExecution<SP.Publishing.PointPublishingPost> & SP.Publishing.PointPublishingPostCollections;
posts(id: string | number): IBaseQuery<SP.Publishing.PointPublishingPost, SP.Publishing.IPointPublishingPostQuery> & SP.Publishing.PointPublishingPostCollections;
viewers(): IBaseCollection<SP.Publishing.PointPublishingUser> & SP.Publishing.PointPublishingUserCollectionMethods;
viewers(id: string | number): IBaseExecution<SP.Publishing.PointPublishingUser> & SP.Publishing.PointPublishingUserCollections;
viewers(id: string | number): IBaseQuery<SP.Publishing.PointPublishingUser, SP.Publishing.IPointPublishingUserQuery> & SP.Publishing.PointPublishingUserCollections;
}

@@ -1001,3 +1001,3 @@

Pages(): IBaseCollection<SP.Publishing.SitePage> & SP.Publishing.SitePageCollectionMethods;
Pages(id: string | number): IBaseExecution<SP.Publishing.SitePage> & SP.Publishing.SitePageCollections;
Pages(id: string | number): IBaseQuery<SP.Publishing.SitePage, SP.Publishing.ISitePageQuery> & SP.Publishing.SitePageCollections;
}

@@ -1129,5 +1129,5 @@

SpotlightVideos(): IBaseCollection<SP.Publishing.SpotlightVideo> & SP.Publishing.SpotlightVideoCollectionMethods;
SpotlightVideos(id: string | number): IBaseExecution<SP.Publishing.SpotlightVideo> & SP.Publishing.SpotlightVideoCollections;
SpotlightVideos(id: string | number): IBaseQuery<SP.Publishing.SpotlightVideo, SP.Publishing.ISpotlightVideoQuery> & SP.Publishing.SpotlightVideoCollections;
Videos(): IBaseCollection<SP.Publishing.VideoItem> & SP.Publishing.VideoItemCollectionMethods;
Videos(id: string | number): IBaseExecution<SP.Publishing.VideoItem> & SP.Publishing.VideoItemCollections;
Videos(id: string | number): IBaseQuery<SP.Publishing.VideoItem, SP.Publishing.IVideoItemQuery> & SP.Publishing.VideoItemCollections;
}

@@ -1333,3 +1333,3 @@

Users(): IBaseCollection<SP.User> & SP.UserCollectionMethods;
Users(id: string | number): IBaseExecution<SP.User> & SP.UserCollections;
Users(id: string | number): IBaseQuery<SP.User, SP.IUserQuery> & SP.UserCollections;
}

@@ -1428,9 +1428,9 @@

CanEditChannels(): IBaseCollection<SP.Publishing.VideoChannel> & SP.Publishing.VideoChannelCollectionMethods;
CanEditChannels(id: string | number): IBaseExecution<SP.Publishing.VideoChannel> & SP.Publishing.VideoChannelCollections;
CanEditChannels(id: string | number): IBaseQuery<SP.Publishing.VideoChannel, SP.Publishing.IVideoChannelQuery> & SP.Publishing.VideoChannelCollections;
Channels(): IBaseCollection<SP.Publishing.VideoChannel> & SP.Publishing.VideoChannelCollectionMethods;
Channels(id: string | number): IBaseExecution<SP.Publishing.VideoChannel> & SP.Publishing.VideoChannelCollections;
Channels(id: string | number): IBaseQuery<SP.Publishing.VideoChannel, SP.Publishing.IVideoChannelQuery> & SP.Publishing.VideoChannelCollections;
SpotlightChannels(): IBaseCollection<SP.Publishing.SpotlightChannel> & SP.Publishing.SpotlightChannelCollectionMethods;
SpotlightChannels(id: string | number): IBaseExecution<SP.Publishing.SpotlightChannel> & SP.Publishing.SpotlightChannelCollections;
SpotlightChannels(id: string | number): IBaseQuery<SP.Publishing.SpotlightChannel, SP.Publishing.ISpotlightChannelQuery> & SP.Publishing.SpotlightChannelCollections;
SpotlightVideos(): IBaseCollection<SP.Publishing.SpotlightVideo> & SP.Publishing.SpotlightVideoCollectionMethods;
SpotlightVideos(id: string | number): IBaseExecution<SP.Publishing.SpotlightVideo> & SP.Publishing.SpotlightVideoCollections;
SpotlightVideos(id: string | number): IBaseQuery<SP.Publishing.SpotlightVideo, SP.Publishing.ISpotlightVideoQuery> & SP.Publishing.SpotlightVideoCollections;
}

@@ -1437,0 +1437,0 @@

import { IBaseExecution } from "../../";
import { SP } from "../../";
import { IBaseCollection } from "../../";
import { IBaseQuery } from "../../";
import { IBaseResults } from "../../";

@@ -5,0 +6,0 @@

import { IBaseExecution } from "../../";
import { IBaseCollection } from "../../";
import { IBaseQuery } from "../../";
import { IBaseResults } from "../../";
import { SP } from "../../";
import { IBaseQuery } from "../../";

@@ -7,0 +7,0 @@ /*********************************************

import { IBaseExecution } from "../../";
import { IBaseCollection } from "../../";
import { IBaseQuery } from "../../";
import { IBaseResults } from "../../";
import { SP } from "../../";
import { IBaseQuery } from "../../";

@@ -41,3 +41,3 @@ /*********************************************

WebParts(): IBaseCollection<SP.WebParts.WebPartDefinition> & SP.WebParts.WebPartDefinitionCollectionMethods;
WebParts(id: string | number): IBaseExecution<SP.WebParts.WebPartDefinition> & SP.WebParts.WebPartDefinitionCollections;
WebParts(id: string | number): IBaseQuery<SP.WebParts.WebPartDefinition, SP.WebParts.IWebPartDefinitionQuery> & SP.WebParts.WebPartDefinitionCollections;
}

@@ -44,0 +44,0 @@

@@ -467,5 +467,5 @@ import { IBaseExecution } from "../../../";

AllLocatons(): IBaseCollection<SP.WorkManagement.OM.Location>;
AllLocatons(id: string | number): IBaseExecution<SP.WorkManagement.OM.Location>;
AllLocatons(id: string | number): IBaseQuery<SP.WorkManagement.OM.Location, SP.WorkManagement.OM.ILocationQuery>;
ScriptExtensions(): IBaseCollection<SP.WorkManagement.OM.DashboardScriptExtensionInfo>;
ScriptExtensions(id: string | number): IBaseExecution<SP.WorkManagement.OM.DashboardScriptExtensionInfo>;
ScriptExtensions(id: string | number): IBaseQuery<SP.WorkManagement.OM.DashboardScriptExtensionInfo, SP.WorkManagement.OM.IDashboardScriptExtensionInfoQuery>;
}

@@ -539,3 +539,3 @@

Refreshes(): IBaseCollection<SP.WorkManagement.OM.RefreshResult>;
Refreshes(id: string | number): IBaseExecution<SP.WorkManagement.OM.RefreshResult>;
Refreshes(id: string | number): IBaseQuery<SP.WorkManagement.OM.RefreshResult, SP.WorkManagement.OM.IRefreshResultQuery>;
}

@@ -593,5 +593,5 @@

ProviderStatuses(): IBaseCollection<SP.WorkManagement.OM.ProviderRefreshStatus>;
ProviderStatuses(id: string | number): IBaseExecution<SP.WorkManagement.OM.ProviderRefreshStatus>;
ProviderStatuses(id: string | number): IBaseQuery<SP.WorkManagement.OM.ProviderRefreshStatus, SP.WorkManagement.OM.IProviderRefreshStatusQuery>;
TaskChangesByLocation(): IBaseCollection<SP.WorkManagement.OM.LocationUpdateResult>;
TaskChangesByLocation(id: string | number): IBaseExecution<SP.WorkManagement.OM.LocationUpdateResult>;
TaskChangesByLocation(id: string | number): IBaseQuery<SP.WorkManagement.OM.LocationUpdateResult, SP.WorkManagement.OM.ILocationUpdateResultQuery>;
}

@@ -720,3 +720,3 @@

ProviderErrors(): IBaseCollection<SP.WorkManagement.OM.ProviderErrorInfo>;
ProviderErrors(id: string | number): IBaseExecution<SP.WorkManagement.OM.ProviderErrorInfo>;
ProviderErrors(id: string | number): IBaseQuery<SP.WorkManagement.OM.ProviderErrorInfo, SP.WorkManagement.OM.IProviderErrorInfoQuery>;
}

@@ -933,3 +933,3 @@

Results(): IBaseCollection<SP.WorkManagement.OM.Task>;
Results(id: string | number): IBaseExecution<SP.WorkManagement.OM.Task>;
Results(id: string | number): IBaseQuery<SP.WorkManagement.OM.Task, SP.WorkManagement.OM.ITaskQuery>;
}

@@ -985,3 +985,3 @@

Results(): IBaseCollection<SP.WorkManagement.OM.Task>;
Results(id: string | number): IBaseExecution<SP.WorkManagement.OM.Task>;
Results(id: string | number): IBaseQuery<SP.WorkManagement.OM.Task, SP.WorkManagement.OM.ITaskQuery>;
}

@@ -988,0 +988,0 @@

@@ -390,2 +390,3 @@ let fs = require("fs");

updateReferences(fileImports, dirName, "IBaseCollection.");
updateReferences(fileImports, dirName, "IBaseQuery.");
updateReferences(fileImports, dirName, "IBaseResults.");

@@ -405,2 +406,10 @@

// Set the method query
let methodQuery = null;
let idx = methodType.lastIndexOf(".");
if (idx > 0) {
// Set the method query
methodQuery = methodType.substr(0, idx) + ".I" + methodType.substr(idx + 1) + "Query";
}
// See if this is a collection

@@ -410,3 +419,3 @@ if (methodInfo.isCollection) {

collections.push('\t' + collection + '(): ' + 'IBaseCollection<' + methodType + '>' + (hasMethods[methodType] ? " & " + methodType + "CollectionMethods" : "") + ';');
collections.push('\t' + collection + '(id: string | number): ' + 'IBaseExecution<' + methodType + '>' + (hasMethods[methodType] ? " & " + methodType + "Collections" : "") + ';');
collections.push('\t' + collection + '(id: string | number): ' + 'IBaseQuery<' + methodType + (methodQuery ? ', ' + methodQuery : '') + '>' + (hasMethods[methodType] ? " & " + methodType + "Collections" : "") + ';');
query.push('\t' + collection + ': IBaseResults<' + methodType + '>;');

@@ -413,0 +422,0 @@ } else {

{
"name": "gd-sprest-def",
"version": "0.1.8",
"version": "0.1.9",
"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