Socket
Socket
Sign inDemoInstall

gd-sprest-def

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest-def - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

base.d.ts

3

lib/index.d.ts

@@ -12,2 +12,3 @@ import * as Microsoft from "./Microsoft";

import * as SPO from "./SPO";
export { SPO }
export { SPO }
export * from "./base"

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../";
/*********************************************
* IAppCollection
**********************************************/
export interface IAppCollection extends AppCollectionProps,AppCollectionMethods,IBaseExecution<AppCollection> {
}
/*********************************************
* AppCollection
**********************************************/
export interface AppCollection {
export interface AppCollection extends AppCollectionProps, AppCollectionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,7 +18,14 @@ }

/*********************************************
* AppCollectionMethods<T = any>
* AppCollectionProps
**********************************************/
export interface AppCollectionMethods<T = any> {
getAppsFromStore(addInType?: string, queryString?: string): T;
getByType(type?: string): T;
export interface AppCollectionProps {
}
/*********************************************
* AppCollectionMethods
**********************************************/
export interface AppCollectionMethods {
getAppsFromStore<T=string>(addInType?: string, queryString?: string): IBaseExecution<T>;
getByType<T=string>(type?: string): IBaseExecution<T>;
}

@@ -1,7 +0,14 @@

import { Microsoft } from "../../../../../";
import { IBaseExecution } from "../../../../../";
/*********************************************
* ISearchService
**********************************************/
export interface ISearchService extends SearchServiceProps,SearchServiceMethods,IBaseExecution<SearchService> {
}
/*********************************************
* SearchService
**********************************************/
export interface SearchService {
export interface SearchService extends SearchServiceProps, SearchServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,20 +18,34 @@ }

/*********************************************
* SearchServiceMethods<T = any>
* SearchServiceProps
**********************************************/
export interface SearchServiceMethods<T = any> {
autocompletions(querytext?: string, sources?: string, numberOfCompletions?: number, cursorPosition?: number): T;
export(userName?: string, startTime?: any): T;
exportpopulartenantqueries(): T;
postquery(request?: Microsoft.Office.Server.Search.REST.SearchRequest): T;
query(querytext?: string, queryTemplate?: string, enableInterleaving?: boolean, sourceId?: any, rankingModelId?: string, startRow?: number, rowLimit?: number, rowsPerPage?: number, selectProperties?: string, culture?: number, refinementFilters?: string, refiners?: string, hiddenConstraints?: string, sortList?: string, enableStemming?: boolean, trimDuplicates?: boolean, timeout?: number, enableNicknames?: boolean, enablePhonetic?: boolean, enableFQL?: boolean, hitHighlightedProperties?: string, propertiesToGenerateAcronyms?: string, bypassResultTypes?: boolean, processBestBets?: boolean, clientType?: string, personalizationData?: any, resultsUrl?: string, queryTag?: string, trimDuplicatesIncludeId?: number, totalRowsExactMinimum?: number, impressionId?: string, properties?: string, enableQueryRules?: boolean, summaryLength?: number, maxSnippetLength?: number, desiredSnippetLength?: number, uiLanguage?: number, blockDedupeMode?: number, generateBlockRankLog?: boolean, enableSorting?: boolean, collapseSpecification?: string, processPersonalFavorites?: boolean, enableOrderingHitHighlightedProperty?: boolean, hitHighlightedMultivaluePropertyLimit?: number, queryTemplatePropertiesUrl?: string, timeZoneId?: number, useOLSQuery?: number, OLSQuerySession?: string): T;
recordPageClick(pageInfo?: string, clickType?: string, blockType?: number, clickedResultId?: string, subResultIndex?: number, immediacySourceId?: string, immediacyQueryString?: string, immediacyTitle?: string, immediacyUrl?: string): T;
resultspageaddress(): T;
searchcenterurl(): T;
suggest(querytext?: string, iNumberOfQuerySuggestions?: number, iNumberOfResultSuggestions?: number, iNumberOfPopularResultSuggestions?: number, fPreQuerySuggestions?: boolean, fHitHighlighting?: boolean, fCapitalizeFirstLetters?: boolean, culture?: number, enableStemming?: boolean, showPeopleNameSuggestions?: boolean, enableQueryRules?: boolean, fPrefixMatchAllTerms?: boolean, sourceId?: string, clientType?: string, useOLSQuery?: number, OLSQuerySession?: string, zeroTermSuggestions?: boolean): T;
export interface SearchServiceProps {
}
/*********************************************
* SearchServiceMethods
**********************************************/
export interface SearchServiceMethods {
autocompletions<T=Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults>(querytext?: string, sources?: string, numberOfCompletions?: number, cursorPosition?: number): IBaseExecution<T>;
export<T=string>(userName?: string, startTime?: any): IBaseExecution<T>;
exportpopulartenantqueries<T=Array<Microsoft.SharePoint.Client.Search.Query.PopularTenantQuery>>(): IBaseExecution<T>;
postquery<T=Microsoft.Office.Server.Search.REST.SearchResult>(request?: Microsoft.Office.Server.Search.REST.SearchRequest): IBaseExecution<T>;
query<T=Microsoft.Office.Server.Search.REST.SearchResult>(querytext?: string, queryTemplate?: string, enableInterleaving?: boolean, sourceId?: any, rankingModelId?: string, startRow?: number, rowLimit?: number, rowsPerPage?: number, selectProperties?: string, culture?: number, refinementFilters?: string, refiners?: string, hiddenConstraints?: string, sortList?: string, enableStemming?: boolean, trimDuplicates?: boolean, timeout?: number, enableNicknames?: boolean, enablePhonetic?: boolean, enableFQL?: boolean, hitHighlightedProperties?: string, propertiesToGenerateAcronyms?: string, bypassResultTypes?: boolean, processBestBets?: boolean, clientType?: string, personalizationData?: any, resultsUrl?: string, queryTag?: string, trimDuplicatesIncludeId?: number, totalRowsExactMinimum?: number, impressionId?: string, properties?: string, enableQueryRules?: boolean, summaryLength?: number, maxSnippetLength?: number, desiredSnippetLength?: number, uiLanguage?: number, blockDedupeMode?: number, generateBlockRankLog?: boolean, enableSorting?: boolean, collapseSpecification?: string, processPersonalFavorites?: boolean, enableOrderingHitHighlightedProperty?: boolean, hitHighlightedMultivaluePropertyLimit?: number, queryTemplatePropertiesUrl?: string, timeZoneId?: number, useOLSQuery?: number, OLSQuerySession?: string): IBaseExecution<T>;
recordPageClick<T=any>(pageInfo?: string, clickType?: string, blockType?: number, clickedResultId?: string, subResultIndex?: number, immediacySourceId?: string, immediacyQueryString?: string, immediacyTitle?: string, immediacyUrl?: string): IBaseExecution<T>;
resultspageaddress<T=string>(): IBaseExecution<T>;
searchcenterurl<T=string>(): IBaseExecution<T>;
suggest<T=Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults>(querytext?: string, iNumberOfQuerySuggestions?: number, iNumberOfResultSuggestions?: number, iNumberOfPopularResultSuggestions?: number, fPreQuerySuggestions?: boolean, fHitHighlighting?: boolean, fCapitalizeFirstLetters?: boolean, culture?: number, enableStemming?: boolean, showPeopleNameSuggestions?: boolean, enableQueryRules?: boolean, fPrefixMatchAllTerms?: boolean, sourceId?: string, clientType?: string, useOLSQuery?: number, OLSQuerySession?: string, zeroTermSuggestions?: boolean): IBaseExecution<T>;
}
/*********************************************
* ISearchSetting
**********************************************/
export interface ISearchSetting extends SearchSettingProps,SearchSettingMethods,IBaseExecution<SearchSetting> {
}
/*********************************************
* SearchSetting
**********************************************/
export interface SearchSetting {
export interface SearchSetting extends SearchSettingProps, SearchSettingMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -34,10 +55,17 @@ }

/*********************************************
* SearchSettingMethods<T = any>
* SearchSettingProps
**********************************************/
export interface SearchSettingMethods<T = any> {
getpromotedresultqueryrules(siteCollectionLevel?: boolean, offset?: number, numberOfRules?: number): T;
getqueryconfiguration(callLocalSearchFarmsOnly?: boolean): T;
getxssearchpolicy(): T;
pingadminendpoint(): T;
setxssearchpolicy(policy?: string): T;
export interface SearchSettingProps {
}
/*********************************************
* SearchSettingMethods
**********************************************/
export interface SearchSettingMethods {
getpromotedresultqueryrules<T=Microsoft.Office.Server.Search.REST.PromotedResultsOperationsResult>(siteCollectionLevel?: boolean, offset?: number, numberOfRules?: number): IBaseExecution<T>;
getqueryconfiguration<T=Microsoft.Office.Server.Search.REST.QueryConfiguration>(callLocalSearchFarmsOnly?: boolean): IBaseExecution<T>;
getxssearchpolicy<T=Microsoft.Office.Server.Search.REST.XSSearchPolicy>(): IBaseExecution<T>;
pingadminendpoint<T=boolean>(): IBaseExecution<T>;
setxssearchpolicy<T=Microsoft.Office.Server.Search.REST.XSSearchPolicy>(policy?: string): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../../";
/*********************************************
* IAppLauncher
**********************************************/
export interface IAppLauncher extends AppLauncherProps,AppLauncherMethods,IBaseExecution<AppLauncher> {
}
/*********************************************
* AppLauncher
**********************************************/
export interface AppLauncher {
export interface AppLauncher extends AppLauncherProps, AppLauncherMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,6 +18,13 @@ }

/*********************************************
* AppLauncherMethods<T = any>
* AppLauncherProps
**********************************************/
export interface AppLauncherMethods<T = any> {
getData(suiteVersion?: number, isMobileRequest?: boolean, locale?: string, onPremVer?: string): T;
export interface AppLauncherProps {
}
/*********************************************
* AppLauncherMethods
**********************************************/
export interface AppLauncherMethods {
getData<T=string>(suiteVersion?: number, isMobileRequest?: boolean, locale?: string, onPremVer?: string): IBaseExecution<T>;
}
import { Microsoft } from "../../../../../";
import { IBaseExecution } from "../../../../../";
import { IBaseCollection } from "../../../../../";

@@ -14,5 +16,12 @@ /*********************************************

/*********************************************
* IAllowedDataLocation
**********************************************/
export interface IAllowedDataLocation extends AllowedDataLocationProps,AllowedDataLocationMethods,IBaseExecution<AllowedDataLocation> {
}
/*********************************************
* AllowedDataLocation
**********************************************/
export interface AllowedDataLocation extends Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocationEntityData {
export interface AllowedDataLocation extends Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocationEntityData, AllowedDataLocationProps, AllowedDataLocationMethods {

@@ -22,9 +31,16 @@ }

/*********************************************
* AllowedDataLocationMethods<T = any>
* AllowedDataLocationProps
**********************************************/
export interface AllowedDataLocationMethods<T = any> {
deleteObject(): T;
export interface AllowedDataLocationProps {
}
/*********************************************
* AllowedDataLocationMethods
**********************************************/
export interface AllowedDataLocationMethods {
deleteObject<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ContentDbSchemaVersion

@@ -74,5 +90,12 @@ **********************************************/

/*********************************************
* ICrossFarmGroupMoveJob
**********************************************/
export interface ICrossFarmGroupMoveJob extends CrossFarmGroupMoveJobProps,CrossFarmGroupMoveJobMethods,IBaseExecution<CrossFarmGroupMoveJob> {
}
/*********************************************
* CrossFarmGroupMoveJob
**********************************************/
export interface CrossFarmGroupMoveJob {
export interface CrossFarmGroupMoveJob extends CrossFarmGroupMoveJobProps, CrossFarmGroupMoveJobMethods {
IsContentMoved?: boolean;

@@ -85,9 +108,16 @@ LastModified?: any;

/*********************************************
* CrossFarmGroupMoveJobMethods<T = any>
* CrossFarmGroupMoveJobProps
**********************************************/
export interface CrossFarmGroupMoveJobMethods<T = any> {
update(): T;
export interface CrossFarmGroupMoveJobProps {
}
/*********************************************
* CrossFarmGroupMoveJobMethods
**********************************************/
export interface CrossFarmGroupMoveJobMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* SiteMoveJobEntityData

@@ -109,5 +139,12 @@ **********************************************/

/*********************************************
* ICrossFarmSiteMoveJob
**********************************************/
export interface ICrossFarmSiteMoveJob extends CrossFarmSiteMoveJobProps,CrossFarmSiteMoveJobMethods,IBaseExecution<CrossFarmSiteMoveJob> {
}
/*********************************************
* CrossFarmSiteMoveJob
**********************************************/
export interface CrossFarmSiteMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJobEntityData {
export interface CrossFarmSiteMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJobEntityData, CrossFarmSiteMoveJobProps, CrossFarmSiteMoveJobMethods {
IsContentMoved?: boolean;

@@ -120,9 +157,16 @@ LastModified?: any;

/*********************************************
* CrossFarmSiteMoveJobMethods<T = any>
* CrossFarmSiteMoveJobProps
**********************************************/
export interface CrossFarmSiteMoveJobMethods<T = any> {
update(): T;
export interface CrossFarmSiteMoveJobProps {
}
/*********************************************
* CrossFarmSiteMoveJobMethods
**********************************************/
export interface CrossFarmSiteMoveJobMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* UserMoveJobEntityData

@@ -145,5 +189,12 @@ **********************************************/

/*********************************************
* ICrossFarmUserMoveJob
**********************************************/
export interface ICrossFarmUserMoveJob extends CrossFarmUserMoveJobProps,CrossFarmUserMoveJobMethods,IBaseExecution<CrossFarmUserMoveJob> {
}
/*********************************************
* CrossFarmUserMoveJob
**********************************************/
export interface CrossFarmUserMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJobEntityData {
export interface CrossFarmUserMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJobEntityData, CrossFarmUserMoveJobProps, CrossFarmUserMoveJobMethods {
IsContentMoved?: boolean;

@@ -156,9 +207,16 @@ LastModified?: any;

/*********************************************
* CrossFarmUserMoveJobMethods<T = any>
* CrossFarmUserMoveJobProps
**********************************************/
export interface CrossFarmUserMoveJobMethods<T = any> {
update(): T;
export interface CrossFarmUserMoveJobProps {
}
/*********************************************
* CrossFarmUserMoveJobMethods
**********************************************/
export interface CrossFarmUserMoveJobMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* CrossGeoTenantBYOK

@@ -190,5 +248,12 @@ **********************************************/

/*********************************************
* ICrossGeoTenantProperty
**********************************************/
export interface ICrossGeoTenantProperty extends CrossGeoTenantPropertyProps,CrossGeoTenantPropertyMethods,IBaseExecution<CrossGeoTenantProperty> {
}
/*********************************************
* CrossGeoTenantProperty
**********************************************/
export interface CrossGeoTenantProperty extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantPropertyEntityData {
export interface CrossGeoTenantProperty extends Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantPropertyEntityData, CrossGeoTenantPropertyProps, CrossGeoTenantPropertyMethods {
LastModifiedTimeInUtc?: any;

@@ -198,10 +263,17 @@ }

/*********************************************
* CrossGeoTenantPropertyMethods<T = any>
* CrossGeoTenantPropertyProps
**********************************************/
export interface CrossGeoTenantPropertyMethods<T = any> {
deleteObject(): T;
update(): T;
export interface CrossGeoTenantPropertyProps {
}
/*********************************************
* CrossGeoTenantPropertyMethods
**********************************************/
export interface CrossGeoTenantPropertyMethods {
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* DBSchemaCompatibilityCheck

@@ -214,5 +286,12 @@ **********************************************/

/*********************************************
* IGeoAdministrator
**********************************************/
export interface IGeoAdministrator extends GeoAdministratorProps,GeoAdministratorMethods,IBaseExecution<GeoAdministrator> {
}
/*********************************************
* GeoAdministrator
**********************************************/
export interface GeoAdministrator {
export interface GeoAdministrator extends GeoAdministratorProps, GeoAdministratorMethods {
DisplayName?: string;

@@ -226,12 +305,26 @@ GeoLocation?: string;

/*********************************************
* GeoAdministratorMethods<T = any>
* GeoAdministratorProps
**********************************************/
export interface GeoAdministratorMethods<T = any> {
deleteObject(): T;
export interface GeoAdministratorProps {
}
/*********************************************
* GeoAdministratorMethods
**********************************************/
export interface GeoAdministratorMethods {
deleteObject<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IGeoExperience
**********************************************/
export interface IGeoExperience extends GeoExperienceProps,GeoExperienceMethods,IBaseExecution<GeoExperience> {
}
/*********************************************
* GeoExperience
**********************************************/
export interface GeoExperience {
export interface GeoExperience extends GeoExperienceProps, GeoExperienceMethods {
GeoLocation?: string;

@@ -242,10 +335,17 @@ MultiGeoExperienceMode?: number;

/*********************************************
* GeoExperienceMethods<T = any>
* GeoExperienceProps
**********************************************/
export interface GeoExperienceMethods<T = any> {
upgradeAllInstancesToSPOMode(): T;
upgradeToSPOMode(): T;
export interface GeoExperienceProps {
}
/*********************************************
* GeoExperienceMethods
**********************************************/
export interface GeoExperienceMethods {
upgradeAllInstancesToSPOMode<T=any>(): IBaseExecution<T>;
upgradeToSPOMode<T=any>(): IBaseExecution<T>;
}
/*********************************************
* GeoMoveTenantCompatibilityCheck

@@ -292,5 +392,12 @@ **********************************************/

/*********************************************
* IGroupMoveJob
**********************************************/
export interface IGroupMoveJob extends GroupMoveJobProps,GroupMoveJobMethods,IBaseExecution<GroupMoveJob> {
}
/*********************************************
* GroupMoveJob
**********************************************/
export interface GroupMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJobEntityData {
export interface GroupMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJobEntityData, GroupMoveJobProps, GroupMoveJobMethods {
IsContentMoved?: boolean;

@@ -303,11 +410,18 @@ LastModified?: any;

/*********************************************
* GroupMoveJobMethods<T = any>
* GroupMoveJobProps
**********************************************/
export interface GroupMoveJobMethods<T = any> {
cancel(): T;
deleteObject(): T;
update(): T;
export interface GroupMoveJobProps {
}
/*********************************************
* GroupMoveJobMethods
**********************************************/
export interface GroupMoveJobMethods {
cancel<T=any>(): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* MoveJob

@@ -331,5 +445,12 @@ **********************************************/

/*********************************************
* IMultiGeoServicesBeta
**********************************************/
export interface IMultiGeoServicesBeta extends MultiGeoServicesBetaProps,MultiGeoServicesBetaMethods,IBaseExecution<MultiGeoServicesBeta> {
}
/*********************************************
* MultiGeoServicesBeta
**********************************************/
export interface MultiGeoServicesBeta {
export interface MultiGeoServicesBeta extends MultiGeoServicesBetaProps, MultiGeoServicesBetaMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -339,62 +460,43 @@ }

/*********************************************
* MultiGeoServicesBetaCollections<T = any>
* MultiGeoServicesBetaProps
**********************************************/
export interface MultiGeoServicesBetaCollections<T = any> {
AllowedDataLocations(): T;
ContentDbSchemaVersion(): T;
CrossFarmGroupMoveJobs(): T;
CrossFarmSiteMoveJobs(): T;
CrossFarmUserMoveJobs(): T;
CrossGeoTenantBYOK(): T;
CrossGeoTenantCompatibility(): T;
CrossGeoTenantProperties(): T;
GeoAdministrators(): T;
GeoExperience(): T;
GeoTenantInstanceInformationCollection(): T;
GlobalAdminCheck(): T;
GroupMoveJobs(): T;
SiteMoveJobs(): T;
SiteRenameJobs(): T;
StorageQuotas(): T;
TaxonomyReplicationParameters(): T;
TenantInformationCollection(): T;
UnifiedGroups(): T;
UserMoveJobs(): T;
export interface MultiGeoServicesBetaProps {
AllowedDataLocations<T=Microsoft.Online.SharePoint.MultiGeo.Service.AllowedDataLocation>(): IBaseCollection<T>;
ContentDbSchemaVersion<T=Microsoft.Online.SharePoint.MultiGeo.Service.ContentDbSchemaVersion>(): IBaseExecution<T>;
CrossFarmGroupMoveJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob>(): IBaseCollection<T>;
CrossFarmSiteMoveJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob>(): IBaseCollection<T>;
CrossFarmUserMoveJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob>(): IBaseCollection<T>;
CrossGeoTenantBYOK<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantBYOK>(): IBaseExecution<T>;
CrossGeoTenantCompatibility<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantCompatibility>(): IBaseExecution<T>;
CrossGeoTenantProperties<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty>(): IBaseCollection<T>;
GeoAdministrators<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator>(): IBaseCollection<T>;
GeoExperience<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoExperience>(): IBaseExecution<T>;
GeoTenantInstanceInformationCollection<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoTenantInstanceInformation>(): IBaseCollection<T>;
GlobalAdminCheck<T=Microsoft.Online.SharePoint.MultiGeo.Service.GlobalAdminCheck>(): IBaseExecution<T>;
GroupMoveJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob>(): IBaseCollection<T>;
SiteMoveJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob>(): IBaseCollection<T>;
SiteRenameJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJob>(): IBaseCollection<T>;
StorageQuotas<T=Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota>(): IBaseCollection<T>;
TaxonomyReplicationParameters<T=Microsoft.Online.SharePoint.MultiGeo.Service.TaxonomyReplicationParameters>(): IBaseExecution<T>;
TenantInformationCollection<T=Microsoft.Online.SharePoint.MultiGeo.Service.TenantInformation>(): IBaseCollection<T>;
UnifiedGroups<T=Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup>(): IBaseCollection<T>;
UserMoveJobs<T=Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>(): IBaseCollection<T>;
}
/*********************************************
* MultiGeoServicesBetaQuery<T = any>
* MultiGeoServicesBetaMethods
**********************************************/
export interface MultiGeoServicesBetaQuery<T = any> {
AllowedDataLocations(): T;
ContentDbSchemaVersion(): T;
CrossFarmGroupMoveJobs(): T;
CrossFarmSiteMoveJobs(): T;
CrossFarmUserMoveJobs(): T;
CrossGeoTenantBYOK(): T;
CrossGeoTenantCompatibility(): T;
CrossGeoTenantProperties(): T;
GeoAdministrators(): T;
GeoExperience(): T;
GeoTenantInstanceInformationCollection(): T;
GlobalAdminCheck(): T;
GroupMoveJobs(): T;
SiteMoveJobs(): T;
SiteRenameJobs(): T;
StorageQuotas(): T;
TaxonomyReplicationParameters(): T;
TenantInformationCollection(): T;
UnifiedGroups(): T;
UserMoveJobs(): T;
export interface MultiGeoServicesBetaMethods {
crossGeoCredentials<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoCredentials>(siteId?: any): IBaseExecution<T>;
dBSchemaCompatibilityCheck<T=Microsoft.Online.SharePoint.MultiGeo.Service.DBSchemaCompatibilityCheck>(): IBaseExecution<T>;
geoMoveCompatibilityChecks<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.GeoMoveTenantCompatibilityCheck>>(): IBaseExecution<T>;
userPersonalSiteId<T=Microsoft.Online.SharePoint.MultiGeo.Service.UserPersonalSiteId>(userPrincipalName?: string): IBaseExecution<T>;
userPersonalSiteLocation<T=Microsoft.Online.SharePoint.MultiGeo.Service.UserPersonalSiteLocation>(userPrincipalName?: string): IBaseExecution<T>;
}
/*********************************************
* MultiGeoServicesBetaMethods<T = any>
* ISiteMoveJob
**********************************************/
export interface MultiGeoServicesBetaMethods<T = any> {
crossGeoCredentials(siteId?: any): T;
dBSchemaCompatibilityCheck(): T;
geoMoveCompatibilityChecks(): T;
userPersonalSiteId(userPrincipalName?: string): T;
userPersonalSiteLocation(userPrincipalName?: string): T;
export interface ISiteMoveJob extends SiteMoveJobProps,SiteMoveJobMethods,IBaseExecution<SiteMoveJob> {
}

@@ -405,3 +507,3 @@

**********************************************/
export interface SiteMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJobEntityData {
export interface SiteMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJobEntityData, SiteMoveJobProps, SiteMoveJobMethods {
IsContentMoved?: boolean;

@@ -414,11 +516,18 @@ LastModified?: any;

/*********************************************
* SiteMoveJobMethods<T = any>
* SiteMoveJobProps
**********************************************/
export interface SiteMoveJobMethods<T = any> {
cancel(): T;
deleteObject(): T;
update(): T;
export interface SiteMoveJobProps {
}
/*********************************************
* SiteMoveJobMethods
**********************************************/
export interface SiteMoveJobMethods {
cancel<T=any>(): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* SiteRenameJobEntityData

@@ -443,5 +552,12 @@ **********************************************/

/*********************************************
* IStorageQuota
**********************************************/
export interface IStorageQuota extends StorageQuotaProps,StorageQuotaMethods,IBaseExecution<StorageQuota> {
}
/*********************************************
* StorageQuota
**********************************************/
export interface StorageQuota {
export interface StorageQuota extends StorageQuotaProps, StorageQuotaMethods {
GeoAllocatedStorageMB?: number;

@@ -456,12 +572,26 @@ GeoAvailableStorageMB?: number;

/*********************************************
* StorageQuotaMethods<T = any>
* StorageQuotaProps
**********************************************/
export interface StorageQuotaMethods<T = any> {
update(): T;
export interface StorageQuotaProps {
}
/*********************************************
* StorageQuotaMethods
**********************************************/
export interface StorageQuotaMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ITaxonomyReplicationParameters
**********************************************/
export interface ITaxonomyReplicationParameters extends TaxonomyReplicationParametersProps,TaxonomyReplicationParametersMethods,IBaseExecution<TaxonomyReplicationParameters> {
}
/*********************************************
* TaxonomyReplicationParameters
**********************************************/
export interface TaxonomyReplicationParameters {
export interface TaxonomyReplicationParameters extends TaxonomyReplicationParametersProps, TaxonomyReplicationParametersMethods {
IsReplicateAllContentTypes?: boolean;

@@ -474,9 +604,16 @@ IsReplicateAllGroups?: boolean;

/*********************************************
* TaxonomyReplicationParametersMethods<T = any>
* TaxonomyReplicationParametersProps
**********************************************/
export interface TaxonomyReplicationParametersMethods<T = any> {
update(): T;
export interface TaxonomyReplicationParametersProps {
}
/*********************************************
* TaxonomyReplicationParametersMethods
**********************************************/
export interface TaxonomyReplicationParametersMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* TenantInformation

@@ -505,5 +642,12 @@ **********************************************/

/*********************************************
* IUserMoveJob
**********************************************/
export interface IUserMoveJob extends UserMoveJobProps,UserMoveJobMethods,IBaseExecution<UserMoveJob> {
}
/*********************************************
* UserMoveJob
**********************************************/
export interface UserMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJobEntityData {
export interface UserMoveJob extends Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJobEntityData, UserMoveJobProps, UserMoveJobMethods {
IsContentMoved?: boolean;

@@ -516,11 +660,18 @@ LastModified?: any;

/*********************************************
* UserMoveJobMethods<T = any>
* UserMoveJobProps
**********************************************/
export interface UserMoveJobMethods<T = any> {
cancel(): T;
deleteObject(): T;
update(): T;
export interface UserMoveJobProps {
}
/*********************************************
* UserMoveJobMethods
**********************************************/
export interface UserMoveJobMethods {
cancel<T=any>(): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* StorageQuotaEntityData

@@ -555,1 +706,319 @@ **********************************************/

}
/*********************************************
* ICrossFarmGroupMoveJobCollection
**********************************************/
export interface ICrossFarmGroupMoveJobCollection extends CrossFarmGroupMoveJobCollectionProps,CrossFarmGroupMoveJobCollectionMethods,IBaseExecution<CrossFarmGroupMoveJobCollection> {
}
/*********************************************
* CrossFarmGroupMoveJobCollection
**********************************************/
export interface CrossFarmGroupMoveJobCollection extends CrossFarmGroupMoveJobCollectionProps, CrossFarmGroupMoveJobCollectionMethods {
}
/*********************************************
* CrossFarmGroupMoveJobCollectionProps
**********************************************/
export interface CrossFarmGroupMoveJobCollectionProps {
}
/*********************************************
* CrossFarmGroupMoveJobCollectionMethods
**********************************************/
export interface CrossFarmGroupMoveJobCollectionMethods {
getByMoveId<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmGroupMoveJob>(moveId?: any): IBaseExecution<T>;
}
/*********************************************
* ICrossFarmSiteMoveJobCollection
**********************************************/
export interface ICrossFarmSiteMoveJobCollection extends CrossFarmSiteMoveJobCollectionProps,CrossFarmSiteMoveJobCollectionMethods,IBaseExecution<CrossFarmSiteMoveJobCollection> {
}
/*********************************************
* CrossFarmSiteMoveJobCollection
**********************************************/
export interface CrossFarmSiteMoveJobCollection extends CrossFarmSiteMoveJobCollectionProps, CrossFarmSiteMoveJobCollectionMethods {
}
/*********************************************
* CrossFarmSiteMoveJobCollectionProps
**********************************************/
export interface CrossFarmSiteMoveJobCollectionProps {
}
/*********************************************
* CrossFarmSiteMoveJobCollectionMethods
**********************************************/
export interface CrossFarmSiteMoveJobCollectionMethods {
getByMoveId<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmSiteMoveJob>(moveId?: any): IBaseExecution<T>;
}
/*********************************************
* ICrossFarmUserMoveJobCollection
**********************************************/
export interface ICrossFarmUserMoveJobCollection extends CrossFarmUserMoveJobCollectionProps,CrossFarmUserMoveJobCollectionMethods,IBaseExecution<CrossFarmUserMoveJobCollection> {
}
/*********************************************
* CrossFarmUserMoveJobCollection
**********************************************/
export interface CrossFarmUserMoveJobCollection extends CrossFarmUserMoveJobCollectionProps, CrossFarmUserMoveJobCollectionMethods {
}
/*********************************************
* CrossFarmUserMoveJobCollectionProps
**********************************************/
export interface CrossFarmUserMoveJobCollectionProps {
}
/*********************************************
* CrossFarmUserMoveJobCollectionMethods
**********************************************/
export interface CrossFarmUserMoveJobCollectionMethods {
getByMoveId<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossFarmUserMoveJob>(moveId?: any): IBaseExecution<T>;
}
/*********************************************
* ICrossGeoTenantPropertyCollection
**********************************************/
export interface ICrossGeoTenantPropertyCollection extends CrossGeoTenantPropertyCollectionProps,CrossGeoTenantPropertyCollectionMethods,IBaseExecution<CrossGeoTenantPropertyCollection> {
}
/*********************************************
* CrossGeoTenantPropertyCollection
**********************************************/
export interface CrossGeoTenantPropertyCollection extends CrossGeoTenantPropertyCollectionProps, CrossGeoTenantPropertyCollectionMethods {
}
/*********************************************
* CrossGeoTenantPropertyCollectionProps
**********************************************/
export interface CrossGeoTenantPropertyCollectionProps {
}
/*********************************************
* CrossGeoTenantPropertyCollectionMethods
**********************************************/
export interface CrossGeoTenantPropertyCollectionMethods {
getByPropertyNameAndGeoLocation<T=Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty>(propertyName?: string, geo?: string): IBaseExecution<T>;
getChanges<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.CrossGeoTenantProperty>>(startTimeInUtc?: any): IBaseExecution<T>;
}
/*********************************************
* IGeoAdministratorCollection
**********************************************/
export interface IGeoAdministratorCollection extends GeoAdministratorCollectionProps,GeoAdministratorCollectionMethods,IBaseExecution<GeoAdministratorCollection> {
}
/*********************************************
* GeoAdministratorCollection
**********************************************/
export interface GeoAdministratorCollection extends GeoAdministratorCollectionProps, GeoAdministratorCollectionMethods {
}
/*********************************************
* GeoAdministratorCollectionProps
**********************************************/
export interface GeoAdministratorCollectionProps {
}
/*********************************************
* GeoAdministratorCollectionMethods
**********************************************/
export interface GeoAdministratorCollectionMethods {
create<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator>(parameters?: Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministratorEntityData): IBaseExecution<T>;
getByLoginName<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator>(loginName?: string): IBaseExecution<T>;
getByLoginNameAndType<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator>(loginName?: string, memberType?: number): IBaseExecution<T>;
getByObjectId<T=Microsoft.Online.SharePoint.MultiGeo.Service.GeoAdministrator>(objectId?: any): IBaseExecution<T>;
}
/*********************************************
* IGroupMoveJobCollection
**********************************************/
export interface IGroupMoveJobCollection extends GroupMoveJobCollectionProps,GroupMoveJobCollectionMethods,IBaseExecution<GroupMoveJobCollection> {
}
/*********************************************
* GroupMoveJobCollection
**********************************************/
export interface GroupMoveJobCollection extends GroupMoveJobCollectionProps, GroupMoveJobCollectionMethods {
}
/*********************************************
* GroupMoveJobCollectionProps
**********************************************/
export interface GroupMoveJobCollectionProps {
}
/*********************************************
* GroupMoveJobCollectionMethods
**********************************************/
export interface GroupMoveJobCollectionMethods {
getByGroupName<T=Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob>(groupname?: string): IBaseExecution<T>;
getMoveReport<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.GroupMoveJob>>(moveState?: number, moveDirection?: number, limit?: number, startTime?: any, endTime?: any): IBaseExecution<T>;
}
/*********************************************
* ISiteMoveJobCollection
**********************************************/
export interface ISiteMoveJobCollection extends SiteMoveJobCollectionProps,SiteMoveJobCollectionMethods,IBaseExecution<SiteMoveJobCollection> {
}
/*********************************************
* SiteMoveJobCollection
**********************************************/
export interface SiteMoveJobCollection extends SiteMoveJobCollectionProps, SiteMoveJobCollectionMethods {
}
/*********************************************
* SiteMoveJobCollectionProps
**********************************************/
export interface SiteMoveJobCollectionProps {
}
/*********************************************
* SiteMoveJobCollectionMethods
**********************************************/
export interface SiteMoveJobCollectionMethods {
getByUrl<T=Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob>(url?: string): IBaseExecution<T>;
getMoveReport<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.SiteMoveJob>>(moveState?: number, moveDirection?: number, limit?: number, startTime?: any, endTime?: any): IBaseExecution<T>;
}
/*********************************************
* ISiteRenameJobCollection
**********************************************/
export interface ISiteRenameJobCollection extends SiteRenameJobCollectionProps,SiteRenameJobCollectionMethods,IBaseExecution<SiteRenameJobCollection> {
}
/*********************************************
* SiteRenameJobCollection
**********************************************/
export interface SiteRenameJobCollection extends SiteRenameJobCollectionProps, SiteRenameJobCollectionMethods {
}
/*********************************************
* SiteRenameJobCollectionProps
**********************************************/
export interface SiteRenameJobCollectionProps {
}
/*********************************************
* SiteRenameJobCollectionMethods
**********************************************/
export interface SiteRenameJobCollectionMethods {
getBySiteUrl<T=Microsoft.Online.SharePoint.MultiGeo.Service.SiteRenameJob>(siteUrl?: string): IBaseExecution<T>;
}
/*********************************************
* IStorageQuotaCollection
**********************************************/
export interface IStorageQuotaCollection extends StorageQuotaCollectionProps,StorageQuotaCollectionMethods,IBaseExecution<StorageQuotaCollection> {
}
/*********************************************
* StorageQuotaCollection
**********************************************/
export interface StorageQuotaCollection extends StorageQuotaCollectionProps, StorageQuotaCollectionMethods {
}
/*********************************************
* StorageQuotaCollectionProps
**********************************************/
export interface StorageQuotaCollectionProps {
}
/*********************************************
* StorageQuotaCollectionMethods
**********************************************/
export interface StorageQuotaCollectionMethods {
getByLocation<T=Microsoft.Online.SharePoint.MultiGeo.Service.StorageQuota>(geoLocation?: string): IBaseExecution<T>;
}
/*********************************************
* IUnifiedGroupCollection
**********************************************/
export interface IUnifiedGroupCollection extends UnifiedGroupCollectionProps,UnifiedGroupCollectionMethods,IBaseExecution<UnifiedGroupCollection> {
}
/*********************************************
* UnifiedGroupCollection
**********************************************/
export interface UnifiedGroupCollection extends UnifiedGroupCollectionProps, UnifiedGroupCollectionMethods {
}
/*********************************************
* UnifiedGroupCollectionProps
**********************************************/
export interface UnifiedGroupCollectionProps {
}
/*********************************************
* UnifiedGroupCollectionMethods
**********************************************/
export interface UnifiedGroupCollectionMethods {
getByAlias<T=Microsoft.Online.SharePoint.MultiGeo.Service.UnifiedGroup>(alias?: string): IBaseExecution<T>;
}
/*********************************************
* IUserMoveJobCollection
**********************************************/
export interface IUserMoveJobCollection extends UserMoveJobCollectionProps,UserMoveJobCollectionMethods,IBaseExecution<UserMoveJobCollection> {
}
/*********************************************
* UserMoveJobCollection
**********************************************/
export interface UserMoveJobCollection extends UserMoveJobCollectionProps, UserMoveJobCollectionMethods {
}
/*********************************************
* UserMoveJobCollectionProps
**********************************************/
export interface UserMoveJobCollectionProps {
}
/*********************************************
* UserMoveJobCollectionMethods
**********************************************/
export interface UserMoveJobCollectionMethods {
getByDirection<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>>(direction?: string): IBaseExecution<T>;
getByMoveId<T=Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>(odbMoveId?: any): IBaseExecution<T>;
getByUpn<T=Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>(upn?: string): IBaseExecution<T>;
getByValidPdl<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>>(validPdl?: boolean): IBaseExecution<T>;
getMoveReport<T=Array<Microsoft.Online.SharePoint.MultiGeo.Service.UserMoveJob>>(moveState?: number, moveDirection?: number, limit?: number, startTime?: any, endTime?: any): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../../";
/*********************************************
* IPointPublishingAdmin
**********************************************/
export interface IPointPublishingAdmin extends PointPublishingAdminProps,PointPublishingAdminMethods,IBaseExecution<PointPublishingAdmin> {
}
/*********************************************
* PointPublishingAdmin
**********************************************/
export interface PointPublishingAdmin {
export interface PointPublishingAdmin extends PointPublishingAdminProps, PointPublishingAdminMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,8 +18,15 @@ }

/*********************************************
* PointPublishingAdminMethods<T = any>
* PointPublishingAdminProps
**********************************************/
export interface PointPublishingAdminMethods<T = any> {
createTopicMagazine(magazineName?: string): T;
deleteTopicMagazine(magazineId?: any): T;
provisionPointPublishingAsync(): T;
export interface PointPublishingAdminProps {
}
/*********************************************
* PointPublishingAdminMethods
**********************************************/
export interface PointPublishingAdminMethods {
createTopicMagazine<T=any>(magazineName?: string): IBaseExecution<T>;
deleteTopicMagazine<T=any>(magazineId?: any): IBaseExecution<T>;
provisionPointPublishingAsync<T=any>(): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../../";
/*********************************************
* ILogExport
**********************************************/
export interface ILogExport extends LogExportProps,LogExportMethods,IBaseExecution<LogExport> {
}
/*********************************************
* LogExport
**********************************************/
export interface LogExport {
export interface LogExport extends LogExportProps, LogExportMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,11 +18,18 @@ }

/*********************************************
* LogExportMethods<T = any>
* LogExportProps
**********************************************/
export interface LogExportMethods<T = any> {
getFiles(partitionId?: string, logType?: string): T;
getLogTypes(): T;
getPartitions(logType?: string): T;
export interface LogExportProps {
}
/*********************************************
* LogExportMethods
**********************************************/
export interface LogExportMethods {
getFiles<T=Array<Microsoft.Online.SharePoint.SPLogger.LogFileInfo>>(partitionId?: string, logType?: string): IBaseExecution<T>;
getLogTypes<T=Array<string>>(): IBaseExecution<T>;
getPartitions<T=Array<string>>(logType?: string): IBaseExecution<T>;
}
/*********************************************
* LogFileInfo

@@ -22,0 +36,0 @@ **********************************************/

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../../../";
/*********************************************
* IDDIAdapter
**********************************************/
export interface IDDIAdapter extends DDIAdapterProps,DDIAdapterMethods,IBaseExecution<DDIAdapter> {
}
/*********************************************
* DDIAdapter
**********************************************/
export interface DDIAdapter {
export interface DDIAdapter extends DDIAdapterProps, DDIAdapterMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,11 +18,18 @@ }

/*********************************************
* DDIAdapterMethods<T = any>
* DDIAdapterProps
**********************************************/
export interface DDIAdapterMethods<T = any> {
getList(schema?: string, workflow?: string, stream?: any): T;
getObject(schema?: string, workflow?: string, stream?: any): T;
multiObjectExecute(schema?: string, workflow?: string, stream?: any): T;
newObject(schema?: string, workflow?: string, stream?: any): T;
removeObjects(schema?: string, workflow?: string, stream?: any): T;
setObject(schema?: string, workflow?: string, stream?: any): T;
export interface DDIAdapterProps {
}
/*********************************************
* DDIAdapterMethods
**********************************************/
export interface DDIAdapterMethods {
getList<T=string>(schema?: string, workflow?: string, stream?: any): IBaseExecution<T>;
getObject<T=string>(schema?: string, workflow?: string, stream?: any): IBaseExecution<T>;
multiObjectExecute<T=string>(schema?: string, workflow?: string, stream?: any): IBaseExecution<T>;
newObject<T=string>(schema?: string, workflow?: string, stream?: any): IBaseExecution<T>;
removeObjects<T=string>(schema?: string, workflow?: string, stream?: any): IBaseExecution<T>;
setObject<T=string>(schema?: string, workflow?: string, stream?: any): IBaseExecution<T>;
}
import { Microsoft } from "../../../../";
import { SP } from "../../../../";
import { IBaseExecution } from "../../../../";
import { IBaseCollection } from "../../../../";

@@ -13,5 +14,12 @@ /*********************************************

/*********************************************
* IHubSiteProperties
**********************************************/
export interface IHubSiteProperties extends HubSitePropertiesProps,HubSitePropertiesMethods,IBaseExecution<HubSiteProperties> {
}
/*********************************************
* HubSiteProperties
**********************************************/
export interface HubSiteProperties {
export interface HubSiteProperties extends HubSitePropertiesProps, HubSitePropertiesMethods {
Description?: string;

@@ -29,12 +37,26 @@ ID?: any;

/*********************************************
* HubSitePropertiesMethods<T = any>
* HubSitePropertiesProps
**********************************************/
export interface HubSitePropertiesMethods<T = any> {
update(): T;
export interface HubSitePropertiesProps {
}
/*********************************************
* HubSitePropertiesMethods
**********************************************/
export interface HubSitePropertiesMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IOffice365CommsMessagesServiceProxy
**********************************************/
export interface IOffice365CommsMessagesServiceProxy extends Office365CommsMessagesServiceProxyProps,Office365CommsMessagesServiceProxyMethods,IBaseExecution<Office365CommsMessagesServiceProxy> {
}
/*********************************************
* Office365CommsMessagesServiceProxy
**********************************************/
export interface Office365CommsMessagesServiceProxy {
export interface Office365CommsMessagesServiceProxy extends Office365CommsMessagesServiceProxyProps, Office365CommsMessagesServiceProxyMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -44,10 +66,17 @@ }

/*********************************************
* Office365CommsMessagesServiceProxyMethods<T = any>
* Office365CommsMessagesServiceProxyProps
**********************************************/
export interface Office365CommsMessagesServiceProxyMethods<T = any> {
messageCenterMessages(messagesFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.MessagesFieldsData): T;
serviceHealthMessages(messagesFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.MessagesFieldsData): T;
export interface Office365CommsMessagesServiceProxyProps {
}
/*********************************************
* Office365CommsMessagesServiceProxyMethods
**********************************************/
export interface Office365CommsMessagesServiceProxyMethods {
messageCenterMessages<T=Array<Microsoft.Online.SharePoint.TenantAdministration.ResponseMessageCenter>>(messagesFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.MessagesFieldsData): IBaseExecution<T>;
serviceHealthMessages<T=Microsoft.Online.SharePoint.TenantAdministration.ResponseServiceHealth>(messagesFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.MessagesFieldsData): IBaseExecution<T>;
}
/*********************************************
* ResponseMessageCenter

@@ -73,5 +102,12 @@ **********************************************/

/*********************************************
* ISiteCollectionManagementService
**********************************************/
export interface ISiteCollectionManagementService extends SiteCollectionManagementServiceProps,SiteCollectionManagementServiceMethods,IBaseExecution<SiteCollectionManagementService> {
}
/*********************************************
* SiteCollectionManagementService
**********************************************/
export interface SiteCollectionManagementService {
export interface SiteCollectionManagementService extends SiteCollectionManagementServiceProps, SiteCollectionManagementServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -81,17 +117,31 @@ }

/*********************************************
* SiteCollectionManagementServiceMethods<T = any>
* SiteCollectionManagementServiceProps
**********************************************/
export interface SiteCollectionManagementServiceMethods<T = any> {
emailAdmins(message?: string, siteIds?: Array<any>, subject?: string): T;
exportCSVFile(): T;
getSiteDescription(siteId?: any): T;
office365ProvidedSharepointSiteActivityDataReady(): T;
resetTimestampUpdateOffice365ProvidedSharepointSiteActivityData(): T;
updateOffice365ProvidedSharepointSiteActivityData(oauthToken?: string): T;
export interface SiteCollectionManagementServiceProps {
}
/*********************************************
* SiteCollectionManagementServiceMethods
**********************************************/
export interface SiteCollectionManagementServiceMethods {
emailAdmins<T=Array<Microsoft.Online.SharePoint.TenantAdministration.EmailResponse>>(message?: string, siteIds?: Array<any>, subject?: string): IBaseExecution<T>;
exportCSVFile<T=string>(): IBaseExecution<T>;
getSiteDescription<T=string>(siteId?: any): IBaseExecution<T>;
office365ProvidedSharepointSiteActivityDataReady<T=boolean>(): IBaseExecution<T>;
resetTimestampUpdateOffice365ProvidedSharepointSiteActivityData<T=any>(): IBaseExecution<T>;
updateOffice365ProvidedSharepointSiteActivityData<T=boolean>(oauthToken?: string): IBaseExecution<T>;
}
/*********************************************
* ISiteProperties
**********************************************/
export interface ISiteProperties extends SitePropertiesProps,SitePropertiesMethods,IBaseExecution<SiteProperties> {
}
/*********************************************
* SiteProperties
**********************************************/
export interface SiteProperties {
export interface SiteProperties extends SitePropertiesProps, SitePropertiesMethods {
AllowDownloadingNonWebViewableFiles?: boolean;

@@ -150,9 +200,16 @@ AllowEditing?: boolean;

/*********************************************
* SitePropertiesMethods<T = any>
* SitePropertiesProps
**********************************************/
export interface SitePropertiesMethods<T = any> {
update(): T;
export interface SitePropertiesProps {
}
/*********************************************
* SitePropertiesMethods
**********************************************/
export interface SitePropertiesMethods {
update<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(): IBaseExecution<T>;
}
/*********************************************
* SPOTenantCdnPolicy

@@ -194,5 +251,12 @@ **********************************************/

/*********************************************
* ITenantAdminSettingsService
**********************************************/
export interface ITenantAdminSettingsService extends TenantAdminSettingsServiceProps,TenantAdminSettingsServiceMethods,IBaseExecution<TenantAdminSettingsService> {
}
/*********************************************
* TenantAdminSettingsService
**********************************************/
export interface TenantAdminSettingsService {
export interface TenantAdminSettingsService extends TenantAdminSettingsServiceProps, TenantAdminSettingsServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -223,13 +287,27 @@ AutoQuotaEnabled?: Microsoft.Online.SharePoint.TenantAdministration.AutoQuotaEnabled;

/*********************************************
* TenantAdminSettingsServiceMethods<T = any>
* TenantAdminSettingsServiceProps
**********************************************/
export interface TenantAdminSettingsServiceMethods<T = any> {
getTenantSharingStatus(): T;
update(): T;
export interface TenantAdminSettingsServiceProps {
}
/*********************************************
* TenantAdminSettingsServiceMethods
**********************************************/
export interface TenantAdminSettingsServiceMethods {
getTenantSharingStatus<T=number>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ITenant
**********************************************/
export interface ITenant extends TenantProps,TenantMethods,IBaseExecution<Tenant> {
}
/*********************************************
* Tenant
**********************************************/
export interface Tenant {
export interface Tenant extends TenantProps, TenantMethods {
AllowDownloadingNonWebViewableFiles?: boolean;

@@ -339,42 +417,35 @@ AllowedDomainListForSyncClient?: Array<any>;

/*********************************************
* TenantCollections<T = any>
* TenantProps
**********************************************/
export interface TenantCollections<T = any> {
Sites(): T;
export interface TenantProps {
Sites<T=Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>(): IBaseCollection<T>;
}
/*********************************************
* TenantQuery<T = any>
* TenantMethods
**********************************************/
export interface TenantQuery<T = any> {
Sites(): T;
export interface TenantMethods {
checkTenantIntuneLicense<T=boolean>(): IBaseExecution<T>;
checkTenantLicenses<T=boolean>(licenses?: Array<string>): IBaseExecution<T>;
connectSiteToHubSiteById<T=any>(siteUrl?: string, hubSiteId?: any): IBaseExecution<T>;
createSite<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(siteCreationProperties?: Microsoft.Online.SharePoint.TenantAdministration.SiteCreationProperties): IBaseExecution<T>;
getIdleSessionSignOutForUnmanagedDevices<T=string>(): IBaseExecution<T>;
getSitePropertiesByUrl<T=Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>(url?: string, includeDetail?: boolean): IBaseExecution<T>;
getSitePropertiesFromSharePointByFilters<T=Array<Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>>(speFilter?: Microsoft.Online.SharePoint.TenantAdministration.SPOSitePropertiesEnumerableFilter): IBaseExecution<T>;
getSiteSecondaryAdministrators<T=Array<Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsInfo>>(secondaryAdministratorsFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData): IBaseExecution<T>;
getSPOTenantAllWebTemplates<T=Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplateCollection>(): IBaseExecution<T>;
registerHubSite<T=Microsoft.Online.SharePoint.TenantAdministration.HubSiteProperties>(siteUrl?: string): IBaseExecution<T>;
registerHubSiteWithCreationInformation<T=Microsoft.Online.SharePoint.TenantAdministration.HubSiteProperties>(siteUrl?: string, creationInformation?: SP.HubSiteCreationInformation): IBaseExecution<T>;
removeDeletedSite<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(siteUrl?: string): IBaseExecution<T>;
removeDeletedSitePreferId<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(siteUrl?: string, siteId?: any): IBaseExecution<T>;
removeSite<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(siteUrl?: string): IBaseExecution<T>;
restoreDeletedSite<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(siteUrl?: string): IBaseExecution<T>;
restoreDeletedSitePreferId<T=Microsoft.Online.SharePoint.TenantAdministration.SpoOperation>(siteUrl?: string, siteId?: any): IBaseExecution<T>;
setIdleSessionSignOutForUnmanagedDevices<T=boolean>(enabled?: boolean, warnAfter?: any, signOutAfter?: any): IBaseExecution<T>;
setSiteSecondaryAdministrators<T=any>(secondaryAdministratorsFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData): IBaseExecution<T>;
unregisterHubSite<T=any>(siteUrl?: string): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* TenantMethods<T = any>
**********************************************/
export interface TenantMethods<T = any> {
checkTenantIntuneLicense(): T;
checkTenantLicenses(licenses?: Array<string>): T;
connectSiteToHubSiteById(siteUrl?: string, hubSiteId?: any): T;
createSite(siteCreationProperties?: Microsoft.Online.SharePoint.TenantAdministration.SiteCreationProperties): T;
getIdleSessionSignOutForUnmanagedDevices(): T;
getSitePropertiesByUrl(url?: string, includeDetail?: boolean): T;
getSitePropertiesFromSharePointByFilters(speFilter?: Microsoft.Online.SharePoint.TenantAdministration.SPOSitePropertiesEnumerableFilter): T;
getSiteSecondaryAdministrators(secondaryAdministratorsFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData): T;
getSPOTenantAllWebTemplates(): T;
registerHubSite(siteUrl?: string): T;
registerHubSiteWithCreationInformation(siteUrl?: string, creationInformation?: SP.HubSiteCreationInformation): T;
removeDeletedSite(siteUrl?: string): T;
removeDeletedSitePreferId(siteUrl?: string, siteId?: any): T;
removeSite(siteUrl?: string): T;
restoreDeletedSite(siteUrl?: string): T;
restoreDeletedSitePreferId(siteUrl?: string, siteId?: any): T;
setIdleSessionSignOutForUnmanagedDevices(enabled?: boolean, warnAfter?: any, signOutAfter?: any): T;
setSiteSecondaryAdministrators(secondaryAdministratorsFieldsData?: Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData): T;
unregisterHubSite(siteUrl?: string): T;
update(): T;
}
/*********************************************
* SpoOperation

@@ -387,1 +458,30 @@ **********************************************/

}
/*********************************************
* ISitePropertiesCollection
**********************************************/
export interface ISitePropertiesCollection extends SitePropertiesCollectionProps,SitePropertiesCollectionMethods,IBaseExecution<SitePropertiesCollection> {
}
/*********************************************
* SitePropertiesCollection
**********************************************/
export interface SitePropertiesCollection extends SitePropertiesCollectionProps, SitePropertiesCollectionMethods {
}
/*********************************************
* SitePropertiesCollectionProps
**********************************************/
export interface SitePropertiesCollectionProps {
}
/*********************************************
* SitePropertiesCollectionMethods
**********************************************/
export interface SitePropertiesCollectionMethods {
getById<T=Microsoft.Online.SharePoint.TenantAdministration.SiteProperties>(siteId?: any): IBaseExecution<T>;
getLockStateById<T=number>(siteId?: any): IBaseExecution<T>;
}

@@ -0,7 +1,16 @@

import { IBaseExecution } from "../../../../../";
import { IBaseCollection } from "../../../../../";
import { Microsoft } from "../../../../../";
/*********************************************
* ISPOWebAppServicePrincipalPermissionGrant
**********************************************/
export interface ISPOWebAppServicePrincipalPermissionGrant extends SPOWebAppServicePrincipalPermissionGrantProps,SPOWebAppServicePrincipalPermissionGrantMethods,IBaseExecution<SPOWebAppServicePrincipalPermissionGrant> {
}
/*********************************************
* SPOWebAppServicePrincipalPermissionGrant
**********************************************/
export interface SPOWebAppServicePrincipalPermissionGrant {
export interface SPOWebAppServicePrincipalPermissionGrant extends SPOWebAppServicePrincipalPermissionGrantProps, SPOWebAppServicePrincipalPermissionGrantMethods {
ClientId?: string;

@@ -18,12 +27,26 @@ ConsentType?: string;

/*********************************************
* SPOWebAppServicePrincipalPermissionGrantMethods<T = any>
* SPOWebAppServicePrincipalPermissionGrantProps
**********************************************/
export interface SPOWebAppServicePrincipalPermissionGrantMethods<T = any> {
deleteObject(): T;
export interface SPOWebAppServicePrincipalPermissionGrantProps {
}
/*********************************************
* SPOWebAppServicePrincipalPermissionGrantMethods
**********************************************/
export interface SPOWebAppServicePrincipalPermissionGrantMethods {
deleteObject<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ISPOWebAppServicePrincipalPermissionRequest
**********************************************/
export interface ISPOWebAppServicePrincipalPermissionRequest extends SPOWebAppServicePrincipalPermissionRequestProps,SPOWebAppServicePrincipalPermissionRequestMethods,IBaseExecution<SPOWebAppServicePrincipalPermissionRequest> {
}
/*********************************************
* SPOWebAppServicePrincipalPermissionRequest
**********************************************/
export interface SPOWebAppServicePrincipalPermissionRequest {
export interface SPOWebAppServicePrincipalPermissionRequest extends SPOWebAppServicePrincipalPermissionRequestProps, SPOWebAppServicePrincipalPermissionRequestMethods {
Id?: any;

@@ -41,13 +64,27 @@ IsDomainIsolated?: boolean;

/*********************************************
* SPOWebAppServicePrincipalPermissionRequestMethods<T = any>
* SPOWebAppServicePrincipalPermissionRequestProps
**********************************************/
export interface SPOWebAppServicePrincipalPermissionRequestMethods<T = any> {
approve(): T;
deny(): T;
export interface SPOWebAppServicePrincipalPermissionRequestProps {
}
/*********************************************
* SPOWebAppServicePrincipalPermissionRequestMethods
**********************************************/
export interface SPOWebAppServicePrincipalPermissionRequestMethods {
approve<T=Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant>(): IBaseExecution<T>;
deny<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ISPOWebAppServicePrincipal
**********************************************/
export interface ISPOWebAppServicePrincipal extends SPOWebAppServicePrincipalProps,SPOWebAppServicePrincipalMethods,IBaseExecution<SPOWebAppServicePrincipal> {
}
/*********************************************
* SPOWebAppServicePrincipal
**********************************************/
export interface SPOWebAppServicePrincipal {
export interface SPOWebAppServicePrincipal extends SPOWebAppServicePrincipalProps, SPOWebAppServicePrincipalMethods {
AccountEnabled?: boolean;

@@ -59,22 +96,14 @@ AppId?: string;

/*********************************************
* SPOWebAppServicePrincipalCollections<T = any>
* SPOWebAppServicePrincipalProps
**********************************************/
export interface SPOWebAppServicePrincipalCollections<T = any> {
PermissionGrants(): T;
PermissionRequests(): T;
export interface SPOWebAppServicePrincipalProps {
PermissionGrants<T=Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionGrant>(): IBaseCollection<T>;
PermissionRequests<T=Microsoft.Online.SharePoint.TenantAdministration.Internal.SPOWebAppServicePrincipalPermissionRequest>(): IBaseCollection<T>;
}
/*********************************************
* SPOWebAppServicePrincipalQuery<T = any>
* SPOWebAppServicePrincipalMethods
**********************************************/
export interface SPOWebAppServicePrincipalQuery<T = any> {
PermissionGrants(): T;
PermissionRequests(): T;
export interface SPOWebAppServicePrincipalMethods {
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* SPOWebAppServicePrincipalMethods<T = any>
**********************************************/
export interface SPOWebAppServicePrincipalMethods<T = any> {
update(): T;
}

@@ -0,2 +1,4 @@

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

@@ -18,5 +20,12 @@

/*********************************************
* IGetExternalUsersResults
**********************************************/
export interface IGetExternalUsersResults extends GetExternalUsersResultsProps,GetExternalUsersResultsMethods,IBaseExecution<GetExternalUsersResults> {
}
/*********************************************
* GetExternalUsersResults
**********************************************/
export interface GetExternalUsersResults {
export interface GetExternalUsersResults extends GetExternalUsersResultsProps, GetExternalUsersResultsMethods {
TotalUserCount?: number;

@@ -27,13 +36,13 @@ UserCollectionPosition?: number;

/*********************************************
* GetExternalUsersResultsCollections<T = any>
* GetExternalUsersResultsProps
**********************************************/
export interface GetExternalUsersResultsCollections<T = any> {
ExternalUserCollection(): T;
export interface GetExternalUsersResultsProps {
ExternalUserCollection<T=Microsoft.Online.SharePoint.TenantManagement.ExternalUser>(): IBaseCollection<T>;
}
/*********************************************
* GetExternalUsersResultsQuery<T = any>
* GetExternalUsersResultsMethods
**********************************************/
export interface GetExternalUsersResultsQuery<T = any> {
ExternalUserCollection(): T;
export interface GetExternalUsersResultsMethods {
}

@@ -64,5 +73,12 @@

/*********************************************
* IOffice365Tenant
**********************************************/
export interface IOffice365Tenant extends Office365TenantProps,Office365TenantMethods,IBaseExecution<Office365Tenant> {
}
/*********************************************
* Office365Tenant
**********************************************/
export interface Office365Tenant {
export interface Office365Tenant extends Office365TenantProps, Office365TenantMethods {
AllowDownloadingNonWebViewableFiles?: boolean;

@@ -149,43 +165,50 @@ AllowedDomainListForSyncClient?: Array<any>;

/*********************************************
* Office365TenantMethods<T = any>
* Office365TenantProps
**********************************************/
export interface Office365TenantMethods<T = any> {
addPublicCdnOrigin(origin?: string): T;
addSdnProvider(identifier?: string, license?: string): T;
addTenantCdnOrigin(cdnType?: number, originUrl?: string): T;
addTenantTheme(name?: string, themeJson?: string): T;
addToCarLibAndCdn(cdnType?: number, libUrl?: SP.ResourcePath, displayName?: string, thumbnailUrl?: SP.ResourcePath): T;
createTenantCdnDefaultOrigins(cdnType?: number): T;
deleteImportProfilePropertiesJob(jobId?: any): T;
deleteTenantTheme(name?: string): T;
disableSharingForNonOwnersOfSite(siteUrl?: string): T;
getAllTenantThemes(): T;
getExternalUsers(position?: number, pageSize?: number, filter?: string, sortOrder?: number): T;
getExternalUsersForSite(siteUrl?: string, position?: number, pageSize?: number, filter?: string, sortOrder?: number): T;
getExternalUsersWithSortBy(position?: number, pageSize?: number, filter?: string, sortPropertyName?: string, sortOrder?: number): T;
getHideDefaultThemes(): T;
getIdleSessionSignOutForUnmanagedDevices(): T;
getImportProfilePropertyJob(jobId?: any): T;
getImportProfilePropertyJobs(): T;
getTenantCdnEnabled(cdnType?: number): T;
getTenantCdnOrigins(cdnType?: number): T;
getTenantCdnPolicies(cdnType?: number): T;
getTenantTheme(name?: string): T;
isSharingDisabledForNonOwnersOfSite(siteUrl?: string): T;
queueImportProfileProperties(idType?: number, sourceDataIdProperty?: string, propertyMap?: Array<SP.KeyValue>, sourceUri?: string): T;
removeExternalUsers(uniqueIds?: Array<string>): T;
removeFromCarAndCdn(remove?: boolean, cdnType?: number, libUrl?: SP.ResourcePath): T;
removePublicCdnOrigin(originId?: string): T;
removeSdnProvider(): T;
removeTenantCdnOrigin(cdnType?: number, originUrl?: string): T;
revokeAllUserSessions(userName?: string): T;
revokeAllUserSessionsByPuid(puidList?: Array<string>): T;
setHideDefaultThemes(hideDefaultThemes?: boolean): T;
setIdleSessionSignOutForUnmanagedDevices(enabled?: boolean, warnAfter?: any, signOutAfter?: any): T;
setTenantCdnEnabled(cdnType?: number, isEnabled?: boolean): T;
setTenantCdnPolicy(cdnType?: number, policy?: number, policyValue?: string): T;
updateTenantTheme(name?: string, themeJson?: string): T;
export interface Office365TenantProps {
}
/*********************************************
* Office365TenantMethods
**********************************************/
export interface Office365TenantMethods {
addPublicCdnOrigin<T=any>(origin?: string): IBaseExecution<T>;
addSdnProvider<T=any>(identifier?: string, license?: string): IBaseExecution<T>;
addTenantCdnOrigin<T=any>(cdnType?: number, originUrl?: string): IBaseExecution<T>;
addTenantTheme<T=boolean>(name?: string, themeJson?: string): IBaseExecution<T>;
addToCarLibAndCdn<T=any>(cdnType?: number, libUrl?: SP.ResourcePath, displayName?: string, thumbnailUrl?: SP.ResourcePath): IBaseExecution<T>;
createTenantCdnDefaultOrigins<T=any>(cdnType?: number): IBaseExecution<T>;
deleteImportProfilePropertiesJob<T=boolean>(jobId?: any): IBaseExecution<T>;
deleteTenantTheme<T=any>(name?: string): IBaseExecution<T>;
disableSharingForNonOwnersOfSite<T=any>(siteUrl?: string): IBaseExecution<T>;
getAllTenantThemes<T=Array<Microsoft.Online.SharePoint.TenantManagement.ThemeProperties>>(): IBaseExecution<T>;
getExternalUsers<T=Microsoft.Online.SharePoint.TenantManagement.GetExternalUsersResults>(position?: number, pageSize?: number, filter?: string, sortOrder?: number): IBaseExecution<T>;
getExternalUsersForSite<T=Microsoft.Online.SharePoint.TenantManagement.GetExternalUsersResults>(siteUrl?: string, position?: number, pageSize?: number, filter?: string, sortOrder?: number): IBaseExecution<T>;
getExternalUsersWithSortBy<T=Microsoft.Online.SharePoint.TenantManagement.GetExternalUsersResults>(position?: number, pageSize?: number, filter?: string, sortPropertyName?: string, sortOrder?: number): IBaseExecution<T>;
getHideDefaultThemes<T=boolean>(): IBaseExecution<T>;
getIdleSessionSignOutForUnmanagedDevices<T=string>(): IBaseExecution<T>;
getImportProfilePropertyJob<T=Microsoft.Online.SharePoint.TenantManagement.ImportProfilePropertiesJobInfo>(jobId?: any): IBaseExecution<T>;
getImportProfilePropertyJobs<T=Array<Microsoft.Online.SharePoint.TenantManagement.ImportProfilePropertiesJobInfo>>(): IBaseExecution<T>;
getTenantCdnEnabled<T=boolean>(cdnType?: number): IBaseExecution<T>;
getTenantCdnOrigins<T=Array<string>>(cdnType?: number): IBaseExecution<T>;
getTenantCdnPolicies<T=Array<string>>(cdnType?: number): IBaseExecution<T>;
getTenantTheme<T=Microsoft.Online.SharePoint.TenantManagement.ThemeProperties>(name?: string): IBaseExecution<T>;
isSharingDisabledForNonOwnersOfSite<T=boolean>(siteUrl?: string): IBaseExecution<T>;
queueImportProfileProperties<T=any>(idType?: number, sourceDataIdProperty?: string, propertyMap?: Array<SP.KeyValue>, sourceUri?: string): IBaseExecution<T>;
removeExternalUsers<T=Microsoft.Online.SharePoint.TenantManagement.RemoveExternalUsersResults>(uniqueIds?: Array<string>): IBaseExecution<T>;
removeFromCarAndCdn<T=any>(remove?: boolean, cdnType?: number, libUrl?: SP.ResourcePath): IBaseExecution<T>;
removePublicCdnOrigin<T=any>(originId?: string): IBaseExecution<T>;
removeSdnProvider<T=any>(): IBaseExecution<T>;
removeTenantCdnOrigin<T=any>(cdnType?: number, originUrl?: string): IBaseExecution<T>;
revokeAllUserSessions<T=Microsoft.Online.SharePoint.TenantManagement.SPOUserSessionRevocationResult>(userName?: string): IBaseExecution<T>;
revokeAllUserSessionsByPuid<T=Array<Microsoft.Online.SharePoint.TenantManagement.SPOUserSessionRevocationResult>>(puidList?: Array<string>): IBaseExecution<T>;
setHideDefaultThemes<T=boolean>(hideDefaultThemes?: boolean): IBaseExecution<T>;
setIdleSessionSignOutForUnmanagedDevices<T=boolean>(enabled?: boolean, warnAfter?: any, signOutAfter?: any): IBaseExecution<T>;
setTenantCdnEnabled<T=any>(cdnType?: number, isEnabled?: boolean): IBaseExecution<T>;
setTenantCdnPolicy<T=any>(cdnType?: number, policy?: number, policyValue?: string): IBaseExecution<T>;
updateTenantTheme<T=boolean>(name?: string, themeJson?: string): IBaseExecution<T>;
}
/*********************************************
* RemoveExternalUsersResults

@@ -214,1 +237,29 @@ **********************************************/

}
/*********************************************
* IExternalUserCollection
**********************************************/
export interface IExternalUserCollection extends ExternalUserCollectionProps,ExternalUserCollectionMethods,IBaseExecution<ExternalUserCollection> {
}
/*********************************************
* ExternalUserCollection
**********************************************/
export interface ExternalUserCollection extends ExternalUserCollectionProps, ExternalUserCollectionMethods {
}
/*********************************************
* ExternalUserCollectionProps
**********************************************/
export interface ExternalUserCollectionProps {
}
/*********************************************
* ExternalUserCollectionMethods
**********************************************/
export interface ExternalUserCollectionMethods {
getById<T=Microsoft.Online.SharePoint.TenantManagement.ExternalUser>(uniqueId?: string): IBaseExecution<T>;
}

@@ -0,1 +1,3 @@

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

@@ -5,5 +7,12 @@ import { SP } from "../../../";

/*********************************************
* ISPAppStateQueryJobDefinition
**********************************************/
export interface ISPAppStateQueryJobDefinition extends SPAppStateQueryJobDefinitionProps,SPAppStateQueryJobDefinitionMethods,IBaseExecution<SPAppStateQueryJobDefinition> {
}
/*********************************************
* SPAppStateQueryJobDefinition
**********************************************/
export interface SPAppStateQueryJobDefinition {
export interface SPAppStateQueryJobDefinition extends SPAppStateQueryJobDefinitionProps, SPAppStateQueryJobDefinitionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -13,12 +22,26 @@ }

/*********************************************
* SPAppStateQueryJobDefinitionMethods<T = any>
* SPAppStateQueryJobDefinitionProps
**********************************************/
export interface SPAppStateQueryJobDefinitionMethods<T = any> {
performFastRevokeWithClientIds(): T;
export interface SPAppStateQueryJobDefinitionProps {
}
/*********************************************
* SPAppStateQueryJobDefinitionMethods
**********************************************/
export interface SPAppStateQueryJobDefinitionMethods {
performFastRevokeWithClientIds<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ISPFarm
**********************************************/
export interface ISPFarm extends SPFarmProps,SPFarmMethods,IBaseExecution<SPFarm> {
}
/*********************************************
* SPFarm
**********************************************/
export interface SPFarm {
export interface SPFarm extends SPFarmProps, SPFarmMethods {
Id?: any;

@@ -28,13 +51,13 @@ }

/*********************************************
* SPFarmCollections<T = any>
* SPFarmProps
**********************************************/
export interface SPFarmCollections<T = any> {
Local(): T;
export interface SPFarmProps {
Local<T=Microsoft.SharePoint.Administration.SPFarm>(): IBaseExecution<T>;
}
/*********************************************
* SPFarmQuery<T = any>
* SPFarmMethods
**********************************************/
export interface SPFarmQuery<T = any> {
Local(): T;
export interface SPFarmMethods {
}

@@ -58,5 +81,12 @@

/*********************************************
* ISPWebApplication
**********************************************/
export interface ISPWebApplication extends SPWebApplicationProps,SPWebApplicationMethods,IBaseExecution<SPWebApplication> {
}
/*********************************************
* SPWebApplication
**********************************************/
export interface SPWebApplication {
export interface SPWebApplication extends SPWebApplicationProps, SPWebApplicationMethods {
DisplayName?: string;

@@ -70,19 +100,26 @@ Id?: any;

/*********************************************
* SPWebApplicationCollections<T = any>
* SPWebApplicationProps
**********************************************/
export interface SPWebApplicationCollections<T = any> {
Sites(): T;
export interface SPWebApplicationProps {
Sites<T=SP.Site>(): IBaseCollection<T>;
}
/*********************************************
* SPWebApplicationQuery<T = any>
* SPWebApplicationMethods
**********************************************/
export interface SPWebApplicationQuery<T = any> {
Sites(): T;
export interface SPWebApplicationMethods {
}
/*********************************************
* ISPWebService
**********************************************/
export interface ISPWebService extends SPWebServiceProps,SPWebServiceMethods,IBaseExecution<SPWebService> {
}
/*********************************************
* SPWebService
**********************************************/
export interface SPWebService {
export interface SPWebService extends SPWebServiceProps, SPWebServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -92,21 +129,27 @@ }

/*********************************************
* SPWebServiceCollections<T = any>
* SPWebServiceProps
**********************************************/
export interface SPWebServiceCollections<T = any> {
ContentService(): T;
WebApplications(): T;
export interface SPWebServiceProps {
ContentService<T=Microsoft.SharePoint.Administration.SPWebService>(): IBaseExecution<T>;
WebApplications<T=Microsoft.SharePoint.Administration.SPWebApplication>(): IBaseCollection<T>;
}
/*********************************************
* SPWebServiceQuery<T = any>
* SPWebServiceMethods
**********************************************/
export interface SPWebServiceQuery<T = any> {
ContentService(): T;
WebApplications(): T;
export interface SPWebServiceMethods {
}
/*********************************************
* ISPAnalyticsUsageService
**********************************************/
export interface ISPAnalyticsUsageService extends SPAnalyticsUsageServiceProps,SPAnalyticsUsageServiceMethods,IBaseExecution<SPAnalyticsUsageService> {
}
/*********************************************
* SPAnalyticsUsageService
**********************************************/
export interface SPAnalyticsUsageService {
export interface SPAnalyticsUsageService extends SPAnalyticsUsageServiceProps, SPAnalyticsUsageServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -116,6 +159,13 @@ }

/*********************************************
* SPAnalyticsUsageServiceMethods<T = any>
* SPAnalyticsUsageServiceProps
**********************************************/
export interface SPAnalyticsUsageServiceMethods<T = any> {
logevent(usageEntry?: Microsoft.SharePoint.Administration.UsageEntry): T;
export interface SPAnalyticsUsageServiceProps {
}
/*********************************************
* SPAnalyticsUsageServiceMethods
**********************************************/
export interface SPAnalyticsUsageServiceMethods {
logevent<T=any>(usageEntry?: Microsoft.SharePoint.Administration.UsageEntry): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../../../";
/*********************************************
* IDocumentCrawlLog
**********************************************/
export interface IDocumentCrawlLog extends DocumentCrawlLogProps,DocumentCrawlLogMethods,IBaseExecution<DocumentCrawlLog> {
}
/*********************************************
* DocumentCrawlLog
**********************************************/
export interface DocumentCrawlLog {
export interface DocumentCrawlLog extends DocumentCrawlLogProps, DocumentCrawlLogMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,6 +18,13 @@ }

/*********************************************
* DocumentCrawlLogMethods<T = any>
* DocumentCrawlLogProps
**********************************************/
export interface DocumentCrawlLogMethods<T = any> {
getCrawledUrls(getCountOnly?: boolean, maxRows?: number, queryString?: string, isLike?: boolean, contentSourceID?: number, errorLevel?: number, errorID?: number, startDateTime?: any, endDateTime?: any): T;
export interface DocumentCrawlLogProps {
}
/*********************************************
* DocumentCrawlLogMethods
**********************************************/
export interface DocumentCrawlLogMethods {
getCrawledUrls<T=SP.SimpleDataTable>(getCountOnly?: boolean, maxRows?: number, queryString?: string, isLike?: boolean, contentSourceID?: number, errorLevel?: number, errorID?: number, startDateTime?: any, endDateTime?: any): IBaseExecution<T>;
}

@@ -1,7 +0,14 @@

import { Microsoft } from "../../../../../";
import { IBaseExecution } from "../../../../../";
/*********************************************
* ISignalStore
**********************************************/
export interface ISignalStore extends SignalStoreProps,SignalStoreMethods,IBaseExecution<SignalStore> {
}
/*********************************************
* SignalStore
**********************************************/
export interface SignalStore {
export interface SignalStore extends SignalStoreProps, SignalStoreMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,6 +18,13 @@ }

/*********************************************
* SignalStoreMethods<T = any>
* SignalStoreProps
**********************************************/
export interface SignalStoreMethods<T = any> {
signals(signals?: Array<Microsoft.SharePoint.Client.Search.Analytics.AnalyticsSignal>): T;
export interface SignalStoreProps {
}
/*********************************************
* SignalStoreMethods
**********************************************/
export interface SignalStoreMethods {
signals<T=any>(signals?: Array<Microsoft.SharePoint.Client.Search.Analytics.AnalyticsSignal>): IBaseExecution<T>;
}

@@ -0,7 +1,15 @@

import { IBaseExecution } from "../../../../../";
import { Microsoft } from "../../../../../";
/*********************************************
* IStringCollection
**********************************************/
export interface IStringCollection extends StringCollectionProps,StringCollectionMethods,IBaseExecution<StringCollection> {
}
/*********************************************
* StringCollection
**********************************************/
export interface StringCollection {
export interface StringCollection extends StringCollectionProps, StringCollectionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -12,10 +20,17 @@ Items?: Array<string>;

/*********************************************
* StringCollectionMethods<T = any>
* StringCollectionProps
**********************************************/
export interface StringCollectionMethods<T = any> {
add(property?: string): T;
clear(): T;
export interface StringCollectionProps {
}
/*********************************************
* StringCollectionMethods
**********************************************/
export interface StringCollectionMethods {
add<T=any>(property?: string): IBaseExecution<T>;
clear<T=any>(): IBaseExecution<T>;
}
/*********************************************
* QueryPersonalizationData

@@ -28,5 +43,12 @@ **********************************************/

/*********************************************
* IRankingLabeling
**********************************************/
export interface IRankingLabeling extends RankingLabelingProps,RankingLabelingMethods,IBaseExecution<RankingLabeling> {
}
/*********************************************
* RankingLabeling
**********************************************/
export interface RankingLabeling {
export interface RankingLabeling extends RankingLabelingProps, RankingLabelingMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -36,14 +58,28 @@ }

/*********************************************
* RankingLabelingMethods<T = any>
* RankingLabelingProps
**********************************************/
export interface RankingLabelingMethods<T = any> {
addJudgment(userQuery?: string, url?: string, labelId?: number): T;
getJudgementsForQuery(query?: string): T;
normalizeResultUrl(url?: string): T;
export interface RankingLabelingProps {
}
/*********************************************
* RankingLabelingMethods
**********************************************/
export interface RankingLabelingMethods {
addJudgment<T=any>(userQuery?: string, url?: string, labelId?: number): IBaseExecution<T>;
getJudgementsForQuery<T=Array<SP.KeyValue>>(query?: string): IBaseExecution<T>;
normalizeResultUrl<T=string>(url?: string): IBaseExecution<T>;
}
/*********************************************
* IReorderingRuleCollection
**********************************************/
export interface IReorderingRuleCollection extends ReorderingRuleCollectionProps,ReorderingRuleCollectionMethods,IBaseExecution<ReorderingRuleCollection> {
}
/*********************************************
* ReorderingRuleCollection
**********************************************/
export interface ReorderingRuleCollection {
export interface ReorderingRuleCollection extends ReorderingRuleCollectionProps, ReorderingRuleCollectionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -54,13 +90,27 @@ Items?: Array<Microsoft.SharePoint.Client.Search.Query.ReorderingRule>;

/*********************************************
* ReorderingRuleCollectionMethods<T = any>
* ReorderingRuleCollectionProps
**********************************************/
export interface ReorderingRuleCollectionMethods<T = any> {
add(matchType?: number, matchValue?: string, boost?: number): T;
clear(): T;
export interface ReorderingRuleCollectionProps {
}
/*********************************************
* ReorderingRuleCollectionMethods
**********************************************/
export interface ReorderingRuleCollectionMethods {
add<T=any>(matchType?: number, matchValue?: string, boost?: number): IBaseExecution<T>;
clear<T=any>(): IBaseExecution<T>;
}
/*********************************************
* ISortCollection
**********************************************/
export interface ISortCollection extends SortCollectionProps,SortCollectionMethods,IBaseExecution<SortCollection> {
}
/*********************************************
* SortCollection
**********************************************/
export interface SortCollection {
export interface SortCollection extends SortCollectionProps, SortCollectionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -71,7 +121,14 @@ Items?: Array<Microsoft.SharePoint.Client.Search.Query.Sort>;

/*********************************************
* SortCollectionMethods<T = any>
* SortCollectionProps
**********************************************/
export interface SortCollectionMethods<T = any> {
add(strProperty?: string, direction?: number): T;
clear(): T;
export interface SortCollectionProps {
}
/*********************************************
* SortCollectionMethods
**********************************************/
export interface SortCollectionMethods {
add<T=any>(strProperty?: string, direction?: number): IBaseExecution<T>;
clear<T=any>(): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../";
/*********************************************
* IHostedAppsManager
**********************************************/
export interface IHostedAppsManager extends HostedAppsManagerProps,HostedAppsManagerMethods,IBaseExecution<HostedAppsManager> {
}
/*********************************************
* HostedAppsManager
**********************************************/
export interface HostedAppsManager {
export interface HostedAppsManager extends HostedAppsManagerProps, HostedAppsManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,13 +18,27 @@ }

/*********************************************
* HostedAppsManagerMethods<T = any>
* HostedAppsManagerProps
**********************************************/
export interface HostedAppsManagerMethods<T = any> {
add(webPartDataAsJson?: string, hostType?: string): T;
getById(id?: number): T;
export interface HostedAppsManagerProps {
}
/*********************************************
* HostedAppsManagerMethods
**********************************************/
export interface HostedAppsManagerMethods {
add<T=number>(webPartDataAsJson?: string, hostType?: string): IBaseExecution<T>;
getById<T=Microsoft.SharePoint.ClientSideComponent.HostedApp>(id?: number): IBaseExecution<T>;
}
/*********************************************
* IHostedApp
**********************************************/
export interface IHostedApp extends HostedAppProps,HostedAppMethods,IBaseExecution<HostedApp> {
}
/*********************************************
* HostedApp
**********************************************/
export interface HostedApp {
export interface HostedApp extends HostedAppProps, HostedAppMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -27,10 +48,17 @@ }

/*********************************************
* HostedAppMethods<T = any>
* HostedAppProps
**********************************************/
export interface HostedAppMethods<T = any> {
delete(): T;
updateWebPartData(webPartDataAsJson?: string): T;
export interface HostedAppProps {
}
/*********************************************
* HostedAppMethods
**********************************************/
export interface HostedAppMethods {
delete<T=any>(): IBaseExecution<T>;
updateWebPartData<T=any>(webPartDataAsJson?: string): IBaseExecution<T>;
}
/*********************************************
* StorageEntity

@@ -37,0 +65,0 @@ **********************************************/

@@ -0,8 +1,17 @@

import { IBaseCollection } from "../../../";
import { Microsoft } from "../../../";
import { SP } from "../../../";
import { IBaseExecution } from "../../../";
/*********************************************
* Icomment
**********************************************/
export interface Icomment extends commentProps,commentMethods,IBaseExecution<comment> {
}
/*********************************************
* comment
**********************************************/
export interface comment {
export interface comment extends commentProps, commentMethods {
author?: SP.Sharing.Principal;

@@ -24,26 +33,18 @@ createdDate?: any;

/*********************************************
* commentCollections<T = any>
* commentProps
**********************************************/
export interface commentCollections<T = any> {
likedBy(): T;
replies(): T;
export interface commentProps {
likedBy<T=Microsoft.SharePoint.Likes.userEntity>(): IBaseCollection<T>;
replies<T=Microsoft.SharePoint.Comments.comment>(): IBaseCollection<T>;
}
/*********************************************
* commentQuery<T = any>
* commentMethods
**********************************************/
export interface commentQuery<T = any> {
likedBy(): T;
replies(): T;
export interface commentMethods {
like<T=any>(): IBaseExecution<T>;
unlike<T=any>(): IBaseExecution<T>;
}
/*********************************************
* commentMethods<T = any>
**********************************************/
export interface commentMethods<T = any> {
like(): T;
unlike(): T;
}
/*********************************************
* CommentsAPI

@@ -50,0 +51,0 @@ **********************************************/

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../";
/*********************************************
* IActivityLogger
**********************************************/
export interface IActivityLogger extends ActivityLoggerProps,ActivityLoggerMethods,IBaseExecution<ActivityLogger> {
}
/*********************************************
* ActivityLogger
**********************************************/
export interface ActivityLogger {
export interface ActivityLogger extends ActivityLoggerProps, ActivityLoggerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,11 +18,18 @@ }

/*********************************************
* ActivityLoggerMethods<T = any>
* ActivityLoggerProps
**********************************************/
export interface ActivityLoggerMethods<T = any> {
feedbackDirect(Operation?: string, ListId?: any, ListItemUniqueId?: any, AffectedResourceUrl?: string, ItemType?: string, json?: string): T;
feedbackIndirect(Operation?: string, ListId?: any, ListItemUniqueId?: any, AffectedResourceUrl?: string, ItemType?: string, json?: string): T;
logActivity(Operation?: string, ListId?: any, ListItemUniqueId?: any, AffectedResourceUrl?: string, ItemType?: string): T;
export interface ActivityLoggerProps {
}
/*********************************************
* ActivityLoggerMethods
**********************************************/
export interface ActivityLoggerMethods {
feedbackDirect<T=any>(Operation?: string, ListId?: any, ListItemUniqueId?: any, AffectedResourceUrl?: string, ItemType?: string, json?: string): IBaseExecution<T>;
feedbackIndirect<T=any>(Operation?: string, ListId?: any, ListItemUniqueId?: any, AffectedResourceUrl?: string, ItemType?: string, json?: string): IBaseExecution<T>;
logActivity<T=any>(Operation?: string, ListId?: any, ListItemUniqueId?: any, AffectedResourceUrl?: string, ItemType?: string): IBaseExecution<T>;
}
/*********************************************
* TrackedItemService

@@ -22,0 +36,0 @@ **********************************************/

@@ -0,7 +1,15 @@

import { IBaseCollection } from "../../../";
import { Microsoft } from "../../../";
/*********************************************
* IlikedByInformation
**********************************************/
export interface IlikedByInformation extends likedByInformationProps,likedByInformationMethods,IBaseExecution<likedByInformation> {
}
/*********************************************
* likedByInformation
**********************************************/
export interface likedByInformation {
export interface likedByInformation extends likedByInformationProps, likedByInformationMethods {
isLikedByUser?: boolean;

@@ -12,13 +20,13 @@ likeCount?: number;

/*********************************************
* likedByInformationCollections<T = any>
* likedByInformationProps
**********************************************/
export interface likedByInformationCollections<T = any> {
likedBy(): T;
export interface likedByInformationProps {
likedBy<T=Microsoft.SharePoint.Likes.userEntity>(): IBaseCollection<T>;
}
/*********************************************
* likedByInformationQuery<T = any>
* likedByInformationMethods
**********************************************/
export interface likedByInformationQuery<T = any> {
likedBy(): T;
export interface likedByInformationMethods {
}

@@ -25,0 +33,0 @@

@@ -0,7 +1,16 @@

import { IBaseCollection } from "../../../../";
import { Microsoft } from "../../../../";
import { IBaseExecution } from "../../../../";
/*********************************************
* ISiteCollectionCorporateCatalogAccessor
**********************************************/
export interface ISiteCollectionCorporateCatalogAccessor extends SiteCollectionCorporateCatalogAccessorProps,SiteCollectionCorporateCatalogAccessorMethods,IBaseExecution<SiteCollectionCorporateCatalogAccessor> {
}
/*********************************************
* SiteCollectionCorporateCatalogAccessor
**********************************************/
export interface SiteCollectionCorporateCatalogAccessor {
export interface SiteCollectionCorporateCatalogAccessor extends SiteCollectionCorporateCatalogAccessorProps, SiteCollectionCorporateCatalogAccessorMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,20 +20,20 @@ }

/*********************************************
* SiteCollectionCorporateCatalogAccessorCollections<T = any>
* SiteCollectionCorporateCatalogAccessorProps
**********************************************/
export interface SiteCollectionCorporateCatalogAccessorCollections<T = any> {
AvailableApps(): T;
export interface SiteCollectionCorporateCatalogAccessorProps {
AvailableApps<T=Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>(): IBaseCollection<T>;
}
/*********************************************
* SiteCollectionCorporateCatalogAccessorQuery<T = any>
* SiteCollectionCorporateCatalogAccessorMethods
**********************************************/
export interface SiteCollectionCorporateCatalogAccessorQuery<T = any> {
AvailableApps(): T;
export interface SiteCollectionCorporateCatalogAccessorMethods {
add<T=SP.File>(Content?: any, Overwrite?: boolean, Url?: string): IBaseExecution<T>;
}
/*********************************************
* SiteCollectionCorporateCatalogAccessorMethods<T = any>
* ICorporateCatalogAppMetadata
**********************************************/
export interface SiteCollectionCorporateCatalogAccessorMethods<T = any> {
add(Content?: any, Overwrite?: boolean, Url?: string): T;
export interface ICorporateCatalogAppMetadata extends CorporateCatalogAppMetadataProps,CorporateCatalogAppMetadataMethods,IBaseExecution<CorporateCatalogAppMetadata> {
}

@@ -35,3 +44,3 @@

**********************************************/
export interface CorporateCatalogAppMetadata {
export interface CorporateCatalogAppMetadata extends CorporateCatalogAppMetadataProps, CorporateCatalogAppMetadataMethods {
AppCatalogVersion?: string;

@@ -48,44 +57,50 @@ CanUpgrade?: boolean;

/*********************************************
* CorporateCatalogAppMetadataMethods<T = any>
* CorporateCatalogAppMetadataProps
**********************************************/
export interface CorporateCatalogAppMetadataMethods<T = any> {
deploy(skipFeatureDeployment?: boolean): T;
install(): T;
remove(): T;
retract(): T;
uninstall(): T;
upgrade(): T;
export interface CorporateCatalogAppMetadataProps {
}
/*********************************************
* TenantCorporateCatalogAccessor
* CorporateCatalogAppMetadataMethods
**********************************************/
export interface TenantCorporateCatalogAccessor {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
export interface CorporateCatalogAppMetadataMethods {
deploy<T=any>(skipFeatureDeployment?: boolean): IBaseExecution<T>;
install<T=any>(): IBaseExecution<T>;
remove<T=any>(): IBaseExecution<T>;
retract<T=any>(): IBaseExecution<T>;
uninstall<T=any>(): IBaseExecution<T>;
upgrade<T=any>(): IBaseExecution<T>;
}
/*********************************************
* TenantCorporateCatalogAccessorCollections<T = any>
* ITenantCorporateCatalogAccessor
**********************************************/
export interface TenantCorporateCatalogAccessorCollections<T = any> {
AvailableApps(): T;
SiteCollectionAppCatalogsSites(): T;
export interface ITenantCorporateCatalogAccessor extends TenantCorporateCatalogAccessorProps,TenantCorporateCatalogAccessorMethods,IBaseExecution<TenantCorporateCatalogAccessor> {
}
/*********************************************
* TenantCorporateCatalogAccessorQuery<T = any>
* TenantCorporateCatalogAccessor
**********************************************/
export interface TenantCorporateCatalogAccessorQuery<T = any> {
AvailableApps(): T;
SiteCollectionAppCatalogsSites(): T;
export interface TenantCorporateCatalogAccessor extends TenantCorporateCatalogAccessorProps, TenantCorporateCatalogAccessorMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* TenantCorporateCatalogAccessorMethods<T = any>
* TenantCorporateCatalogAccessorProps
**********************************************/
export interface TenantCorporateCatalogAccessorMethods<T = any> {
add(Content?: any, Overwrite?: boolean, Url?: string): T;
export interface TenantCorporateCatalogAccessorProps {
AvailableApps<T=Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>(): IBaseCollection<T>;
SiteCollectionAppCatalogsSites<T=Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem>(): IBaseCollection<T>;
}
/*********************************************
* TenantCorporateCatalogAccessorMethods
**********************************************/
export interface TenantCorporateCatalogAccessorMethods {
add<T=SP.File>(Content?: any, Overwrite?: boolean, Url?: string): IBaseExecution<T>;
}
/*********************************************
* SiteCollectionAppCatalogAllowedItem

@@ -111,1 +126,60 @@ **********************************************/

}
/*********************************************
* ICorporateCatalogAppMetadataCollection
**********************************************/
export interface ICorporateCatalogAppMetadataCollection extends CorporateCatalogAppMetadataCollectionProps,CorporateCatalogAppMetadataCollectionMethods,IBaseExecution<CorporateCatalogAppMetadataCollection> {
}
/*********************************************
* CorporateCatalogAppMetadataCollection
**********************************************/
export interface CorporateCatalogAppMetadataCollection extends CorporateCatalogAppMetadataCollectionProps, CorporateCatalogAppMetadataCollectionMethods {
}
/*********************************************
* CorporateCatalogAppMetadataCollectionProps
**********************************************/
export interface CorporateCatalogAppMetadataCollectionProps {
}
/*********************************************
* CorporateCatalogAppMetadataCollectionMethods
**********************************************/
export interface CorporateCatalogAppMetadataCollectionMethods {
getById<T=Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.CorporateCatalogAppMetadata>(id?: string): IBaseExecution<T>;
}
/*********************************************
* ISiteCollectionAppCatalogAllowedItemCollection
**********************************************/
export interface ISiteCollectionAppCatalogAllowedItemCollection extends SiteCollectionAppCatalogAllowedItemCollectionProps,SiteCollectionAppCatalogAllowedItemCollectionMethods,IBaseExecution<SiteCollectionAppCatalogAllowedItemCollection> {
}
/*********************************************
* SiteCollectionAppCatalogAllowedItemCollection
**********************************************/
export interface SiteCollectionAppCatalogAllowedItemCollection extends SiteCollectionAppCatalogAllowedItemCollectionProps, SiteCollectionAppCatalogAllowedItemCollectionMethods {
}
/*********************************************
* SiteCollectionAppCatalogAllowedItemCollectionProps
**********************************************/
export interface SiteCollectionAppCatalogAllowedItemCollectionProps {
}
/*********************************************
* SiteCollectionAppCatalogAllowedItemCollectionMethods
**********************************************/
export interface SiteCollectionAppCatalogAllowedItemCollectionMethods {
add<T=Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem>(absolutePath?: string): IBaseExecution<T>;
getByAbsoluteUrl<T=Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SiteCollectionAppCatalogAllowedItem>(absolutePath?: string): IBaseExecution<T>;
remove<T=any>(absolutePath?: string): IBaseExecution<T>;
removeById<T=any>(siteId?: any): IBaseExecution<T>;
}

@@ -1,7 +0,14 @@

import { SP } from "../../../../";
import { IBaseExecution } from "../../../../";
/*********************************************
* INavigationServiceRest
**********************************************/
export interface INavigationServiceRest extends NavigationServiceRestProps,NavigationServiceRestMethods,IBaseExecution<NavigationServiceRest> {
}
/*********************************************
* NavigationServiceRest
**********************************************/
export interface NavigationServiceRest {
export interface NavigationServiceRest extends NavigationServiceRestProps, NavigationServiceRestMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,9 +18,16 @@ }

/*********************************************
* NavigationServiceRestMethods<T = any>
* NavigationServiceRestProps
**********************************************/
export interface NavigationServiceRestMethods<T = any> {
getPublishingNavigationProviderType(mapProviderName?: string): T;
menuNodeKey(currentUrl?: string, mapProviderName?: string): T;
menuState(menuNodeKey?: string, mapProviderName?: string, depth?: number, customProperties?: string): T;
saveMenuState(menuState?: SP.MenuState, mapProviderName?: string): T;
export interface NavigationServiceRestProps {
}
/*********************************************
* NavigationServiceRestMethods
**********************************************/
export interface NavigationServiceRestMethods {
getPublishingNavigationProviderType<T=number>(mapProviderName?: string): IBaseExecution<T>;
menuNodeKey<T=string>(currentUrl?: string, mapProviderName?: string): IBaseExecution<T>;
menuState<T=SP.MenuState>(menuNodeKey?: string, mapProviderName?: string, depth?: number, customProperties?: string): IBaseExecution<T>;
saveMenuState<T=number>(menuState?: SP.MenuState, mapProviderName?: string): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../";
/*********************************************
* IOrgNewsSiteApi
**********************************************/
export interface IOrgNewsSiteApi extends OrgNewsSiteApiProps,OrgNewsSiteApiMethods,IBaseExecution<OrgNewsSiteApi> {
}
/*********************************************
* OrgNewsSiteApi
**********************************************/
export interface OrgNewsSiteApi {
export interface OrgNewsSiteApi extends OrgNewsSiteApiProps, OrgNewsSiteApiMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,6 +18,13 @@ }

/*********************************************
* OrgNewsSiteApiMethods<T = any>
* OrgNewsSiteApiProps
**********************************************/
export interface OrgNewsSiteApiMethods<T = any> {
details(): T;
export interface OrgNewsSiteApiProps {
}
/*********************************************
* OrgNewsSiteApiMethods
**********************************************/
export interface OrgNewsSiteApiMethods {
details<T=Microsoft.SharePoint.OrgNewsSite.OrgNewsSiteInfo>(): IBaseExecution<T>;
}

@@ -0,3 +1,5 @@

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

@@ -12,5 +14,12 @@ /*********************************************

/*********************************************
* IGroupService
**********************************************/
export interface IGroupService extends GroupServiceProps,GroupServiceMethods,IBaseExecution<GroupService> {
}
/*********************************************
* GroupService
**********************************************/
export interface GroupService {
export interface GroupService extends GroupServiceProps, GroupServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -20,14 +29,28 @@ }

/*********************************************
* GroupServiceMethods<T = any>
* GroupServiceProps
**********************************************/
export interface GroupServiceMethods<T = any> {
getGroupImage(id?: string, hash?: string, color?: string): T;
setGroupImage(imageStream?: any): T;
syncGroupProperties(): T;
export interface GroupServiceProps {
}
/*********************************************
* GroupServiceMethods
**********************************************/
export interface GroupServiceMethods {
getGroupImage<T=any>(id?: string, hash?: string, color?: string): IBaseExecution<T>;
setGroupImage<T=any>(imageStream?: any): IBaseExecution<T>;
syncGroupProperties<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IGroupSiteManager
**********************************************/
export interface IGroupSiteManager extends GroupSiteManagerProps,GroupSiteManagerMethods,IBaseExecution<GroupSiteManager> {
}
/*********************************************
* GroupSiteManager
**********************************************/
export interface GroupSiteManager {
export interface GroupSiteManager extends GroupSiteManagerProps, GroupSiteManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -37,21 +60,35 @@ }

/*********************************************
* GroupSiteManagerMethods<T = any>
* GroupSiteManagerProps
**********************************************/
export interface GroupSiteManagerMethods<T = any> {
canUserCreateGroup(): T;
create(groupId?: any): T;
createGroup(displayName?: string, alias?: string, isPublic?: boolean, ownerPrincipalNames?: Array<string>, description?: string, creationOptions?: Array<string>): T;
createGroupEx(displayName?: string, alias?: string, isPublic?: boolean, optionalParams?: Microsoft.SharePoint.Portal.GroupCreationParams): T;
createGroupForSite(displayName?: string, alias?: string, isPublic?: boolean, optionalParams?: Microsoft.SharePoint.Portal.GroupCreationParams): T;
getGroupCreationContext(): T;
getGroupSiteConversionData(): T;
getSiteStatus(groupId?: any): T;
getValidSiteUrlFromAlias(alias?: string, managedPath?: string, isTeamSite?: boolean): T;
notebook(groupId?: any): T;
export interface GroupSiteManagerProps {
}
/*********************************************
* GroupSiteManagerMethods
**********************************************/
export interface GroupSiteManagerMethods {
canUserCreateGroup<T=boolean>(): IBaseExecution<T>;
create<T=Microsoft.SharePoint.Portal.GroupSiteInfo>(groupId?: any): IBaseExecution<T>;
createGroup<T=Microsoft.SharePoint.Portal.GroupSiteInfo>(displayName?: string, alias?: string, isPublic?: boolean, ownerPrincipalNames?: Array<string>, description?: string, creationOptions?: Array<string>): IBaseExecution<T>;
createGroupEx<T=Microsoft.SharePoint.Portal.GroupSiteInfo>(displayName?: string, alias?: string, isPublic?: boolean, optionalParams?: Microsoft.SharePoint.Portal.GroupCreationParams): IBaseExecution<T>;
createGroupForSite<T=Microsoft.SharePoint.Portal.GroupSiteInfo>(displayName?: string, alias?: string, isPublic?: boolean, optionalParams?: Microsoft.SharePoint.Portal.GroupCreationParams): IBaseExecution<T>;
getGroupCreationContext<T=Microsoft.SharePoint.Portal.GroupCreationContext>(): IBaseExecution<T>;
getGroupSiteConversionData<T=Microsoft.SharePoint.Portal.GroupSiteConversionInfo>(): IBaseExecution<T>;
getSiteStatus<T=Microsoft.SharePoint.Portal.GroupSiteInfo>(groupId?: any): IBaseExecution<T>;
getValidSiteUrlFromAlias<T=string>(alias?: string, managedPath?: string, isTeamSite?: boolean): IBaseExecution<T>;
notebook<T=string>(groupId?: any): IBaseExecution<T>;
}
/*********************************************
* ISiteLinkingManager
**********************************************/
export interface ISiteLinkingManager extends SiteLinkingManagerProps,SiteLinkingManagerMethods,IBaseExecution<SiteLinkingManager> {
}
/*********************************************
* SiteLinkingManager
**********************************************/
export interface SiteLinkingManager {
export interface SiteLinkingManager extends SiteLinkingManagerProps, SiteLinkingManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -61,11 +98,18 @@ }

/*********************************************
* SiteLinkingManagerMethods<T = any>
* SiteLinkingManagerProps
**********************************************/
export interface SiteLinkingManagerMethods<T = any> {
getSiteLinks(): T;
linkGroup(groupId?: any): T;
unlinkGroup(groupId?: any): T;
export interface SiteLinkingManagerProps {
}
/*********************************************
* SiteLinkingManagerMethods
**********************************************/
export interface SiteLinkingManagerMethods {
getSiteLinks<T=Microsoft.SharePoint.Portal.LinkedSitesListContract>(): IBaseExecution<T>;
linkGroup<T=boolean>(groupId?: any): IBaseExecution<T>;
unlinkGroup<T=boolean>(groupId?: any): IBaseExecution<T>;
}
/*********************************************
* CommunityModeration

@@ -85,5 +129,12 @@ **********************************************/

/*********************************************
* ISharePointHomeServiceContextBuilder
**********************************************/
export interface ISharePointHomeServiceContextBuilder extends SharePointHomeServiceContextBuilderProps,SharePointHomeServiceContextBuilderMethods,IBaseExecution<SharePointHomeServiceContextBuilder> {
}
/*********************************************
* SharePointHomeServiceContextBuilder
**********************************************/
export interface SharePointHomeServiceContextBuilder {
export interface SharePointHomeServiceContextBuilder extends SharePointHomeServiceContextBuilderProps, SharePointHomeServiceContextBuilderMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -93,12 +144,26 @@ }

/*********************************************
* SharePointHomeServiceContextBuilderMethods<T = any>
* SharePointHomeServiceContextBuilderProps
**********************************************/
export interface SharePointHomeServiceContextBuilderMethods<T = any> {
context(): T;
export interface SharePointHomeServiceContextBuilderProps {
}
/*********************************************
* SharePointHomeServiceContextBuilderMethods
**********************************************/
export interface SharePointHomeServiceContextBuilderMethods {
context<T=Microsoft.SharePoint.Portal.SharePointHomeServiceContext>(): IBaseExecution<T>;
}
/*********************************************
* ISharePointHomeServiceContext
**********************************************/
export interface ISharePointHomeServiceContext extends SharePointHomeServiceContextProps,SharePointHomeServiceContextMethods,IBaseExecution<SharePointHomeServiceContext> {
}
/*********************************************
* SharePointHomeServiceContext
**********************************************/
export interface SharePointHomeServiceContext {
export interface SharePointHomeServiceContext extends SharePointHomeServiceContextProps, SharePointHomeServiceContextMethods {
CompanyPortalContext?: string;

@@ -112,19 +177,26 @@ HomePageCache?: Microsoft.SharePoint.Portal.Home.SharePointHomeDataCacheCollection;

/*********************************************
* SharePointHomeServiceContextCollections<T = any>
* SharePointHomeServiceContextProps
**********************************************/
export interface SharePointHomeServiceContextCollections<T = any> {
Token(): T;
export interface SharePointHomeServiceContextProps {
Token<T=SP.OAuth.TokenResponse>(): IBaseExecution<T>;
}
/*********************************************
* SharePointHomeServiceContextQuery<T = any>
* SharePointHomeServiceContextMethods
**********************************************/
export interface SharePointHomeServiceContextQuery<T = any> {
Token(): T;
export interface SharePointHomeServiceContextMethods {
}
/*********************************************
* ISPHubSitesUtility
**********************************************/
export interface ISPHubSitesUtility extends SPHubSitesUtilityProps,SPHubSitesUtilityMethods,IBaseExecution<SPHubSitesUtility> {
}
/*********************************************
* SPHubSitesUtility
**********************************************/
export interface SPHubSitesUtility {
export interface SPHubSitesUtility extends SPHubSitesUtilityProps, SPHubSitesUtilityMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -134,12 +206,26 @@ }

/*********************************************
* SPHubSitesUtilityMethods<T = any>
* SPHubSitesUtilityProps
**********************************************/
export interface SPHubSitesUtilityMethods<T = any> {
getHubSites(): T;
export interface SPHubSitesUtilityProps {
}
/*********************************************
* SPHubSitesUtilityMethods
**********************************************/
export interface SPHubSitesUtilityMethods {
getHubSites<T=Array<SP.HubSite>>(): IBaseExecution<T>;
}
/*********************************************
* ISPSiteManager
**********************************************/
export interface ISPSiteManager extends SPSiteManagerProps,SPSiteManagerMethods,IBaseExecution<SPSiteManager> {
}
/*********************************************
* SPSiteManager
**********************************************/
export interface SPSiteManager {
export interface SPSiteManager extends SPSiteManagerProps, SPSiteManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -149,12 +235,19 @@ }

/*********************************************
* SPSiteManagerMethods<T = any>
* SPSiteManagerProps
**********************************************/
export interface SPSiteManagerMethods<T = any> {
canCreateHubJoinedSite(hubSiteId?: any): T;
create(request?: Microsoft.SharePoint.Portal.SPSiteCreationRequest): T;
delete(siteId?: any): T;
status(url?: string): T;
export interface SPSiteManagerProps {
}
/*********************************************
* SPSiteManagerMethods
**********************************************/
export interface SPSiteManagerMethods {
canCreateHubJoinedSite<T=boolean>(hubSiteId?: any): IBaseExecution<T>;
create<T=Microsoft.SharePoint.Portal.SPSiteCreationResponse>(request?: Microsoft.SharePoint.Portal.SPSiteCreationRequest): IBaseExecution<T>;
delete<T=any>(siteId?: any): IBaseExecution<T>;
status<T=Microsoft.SharePoint.Portal.SPSiteCreationResponse>(url?: string): IBaseExecution<T>;
}
/*********************************************
* MySiteRecommendations

@@ -161,0 +254,0 @@ **********************************************/

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../";
/*********************************************
* ITenantCdnApi
**********************************************/
export interface ITenantCdnApi extends TenantCdnApiProps,TenantCdnApiMethods,IBaseExecution<TenantCdnApi> {
}
/*********************************************
* TenantCdnApi
**********************************************/
export interface TenantCdnApi {
export interface TenantCdnApi extends TenantCdnApiProps, TenantCdnApiMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,6 +18,13 @@ }

/*********************************************
* TenantCdnApiMethods<T = any>
* TenantCdnApiProps
**********************************************/
export interface TenantCdnApiMethods<T = any> {
getCdnUrls(items?: Array<string>): T;
export interface TenantCdnApiProps {
}
/*********************************************
* TenantCdnApiMethods
**********************************************/
export interface TenantCdnApiMethods {
getCdnUrls<T=Array<Microsoft.SharePoint.TenantCdn.TenantCdnUrl>>(items?: Array<string>): IBaseExecution<T>;
}

@@ -1,7 +0,14 @@

import { Microsoft } from "../../../";
import { IBaseExecution } from "../../../";
/*********************************************
* ISubscription
**********************************************/
export interface ISubscription extends SubscriptionProps,SubscriptionMethods,IBaseExecution<Subscription> {
}
/*********************************************
* Subscription
**********************************************/
export interface Subscription {
export interface Subscription extends SubscriptionProps, SubscriptionMethods {
clientState?: string;

@@ -16,7 +23,14 @@ expirationDateTime?: any;

/*********************************************
* SubscriptionMethods<T = any>
* SubscriptionProps
**********************************************/
export interface SubscriptionMethods<T = any> {
delete(): T;
update(parameters?: Microsoft.SharePoint.Webhooks.SubscriptionInformation): T;
export interface SubscriptionProps {
}
/*********************************************
* SubscriptionMethods
**********************************************/
export interface SubscriptionMethods {
delete<T=any>(): IBaseExecution<T>;
update<T=any>(parameters?: Microsoft.SharePoint.Webhooks.SubscriptionInformation): IBaseExecution<T>;
}
import { MS } from "../../";
import { IBaseExecution } from "../../";
import { IBaseCollection } from "../../";

@@ -19,5 +21,12 @@ /*********************************************

/*********************************************
* IFile
**********************************************/
export interface IFile extends FileProps,FileMethods,IBaseExecution<File> {
}
/*********************************************
* File
**********************************************/
export interface File extends MS.FileServices.FileSystemItem {
export interface File extends MS.FileServices.FileSystemItem, FileProps, FileMethods {

@@ -27,13 +36,20 @@ }

/*********************************************
* FileMethods<T = any>
* FileProps
**********************************************/
export interface FileMethods<T = any> {
copyTo(target?: string, overwrite?: boolean): T;
deleteObject(): T;
download(): T;
moveTo(target?: string, overwrite?: boolean): T;
upload(stream?: any): T;
export interface FileProps {
}
/*********************************************
* FileMethods
**********************************************/
export interface FileMethods {
copyTo<T=any>(target?: string, overwrite?: boolean): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
download<T=any>(): IBaseExecution<T>;
moveTo<T=any>(target?: string, overwrite?: boolean): IBaseExecution<T>;
upload<T=any>(stream?: any): IBaseExecution<T>;
}
/*********************************************
* FileService

@@ -46,28 +62,28 @@ **********************************************/

/*********************************************
* Folder
* IFolder
**********************************************/
export interface Folder extends MS.FileServices.FileSystemItem {
ChildrenCount?: number;
export interface IFolder extends FolderProps,FolderMethods,IBaseExecution<Folder> {
}
/*********************************************
* FolderCollections<T = any>
* Folder
**********************************************/
export interface FolderCollections<T = any> {
Children(): T;
export interface Folder extends MS.FileServices.FileSystemItem, FolderProps, FolderMethods {
ChildrenCount?: number;
}
/*********************************************
* FolderQuery<T = any>
* FolderProps
**********************************************/
export interface FolderQuery<T = any> {
Children(): T;
export interface FolderProps {
Children<T=MS.FileServices.FileSystemItem>(): IBaseCollection<T>;
}
/*********************************************
* FolderMethods<T = any>
* FolderMethods
**********************************************/
export interface FolderMethods<T = any> {
deleteObject(): T;
moveTo(target?: string): T;
export interface FolderMethods {
deleteObject<T=any>(): IBaseExecution<T>;
moveTo<T=any>(target?: string): IBaseExecution<T>;
}

@@ -81,1 +97,30 @@

}
/*********************************************
* IFileSystemItemCollection
**********************************************/
export interface IFileSystemItemCollection extends FileSystemItemCollectionProps,FileSystemItemCollectionMethods,IBaseExecution<FileSystemItemCollection> {
}
/*********************************************
* FileSystemItemCollection
**********************************************/
export interface FileSystemItemCollection extends FileSystemItemCollectionProps, FileSystemItemCollectionMethods {
}
/*********************************************
* FileSystemItemCollectionProps
**********************************************/
export interface FileSystemItemCollectionProps {
}
/*********************************************
* FileSystemItemCollectionMethods
**********************************************/
export interface FileSystemItemCollectionMethods {
add<T=MS.FileServices.File>(name?: string, overwrite?: boolean, content?: any): IBaseExecution<T>;
getById<T=MS.FileServices.FileSystemItem>(id?: string): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../";
/*********************************************
* IDiagnostics
**********************************************/
export interface IDiagnostics extends DiagnosticsProps,DiagnosticsMethods,IBaseExecution<Diagnostics> {
}
/*********************************************
* Diagnostics
**********************************************/
export interface Diagnostics {
export interface Diagnostics extends DiagnosticsProps, DiagnosticsMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,12 +18,26 @@ }

/*********************************************
* DiagnosticsMethods<T = any>
* DiagnosticsProps
**********************************************/
export interface DiagnosticsMethods<T = any> {
status(): T;
export interface DiagnosticsProps {
}
/*********************************************
* DiagnosticsMethods
**********************************************/
export interface DiagnosticsMethods {
status<T=string>(): IBaseExecution<T>;
}
/*********************************************
* IReporting
**********************************************/
export interface IReporting extends ReportingProps,ReportingMethods,IBaseExecution<Reporting> {
}
/*********************************************
* Reporting
**********************************************/
export interface Reporting {
export interface Reporting extends ReportingProps, ReportingMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -26,12 +47,26 @@ }

/*********************************************
* ReportingMethods<T = any>
* ReportingProps
**********************************************/
export interface ReportingMethods<T = any> {
publishReport(odataPostBodyStm?: any): T;
export interface ReportingProps {
}
/*********************************************
* ReportingMethods
**********************************************/
export interface ReportingMethods {
publishReport<T=any>(odataPostBodyStm?: any): IBaseExecution<T>;
}
/*********************************************
* ITaskflow
**********************************************/
export interface ITaskflow extends TaskflowProps,TaskflowMethods,IBaseExecution<Taskflow> {
}
/*********************************************
* Taskflow
**********************************************/
export interface Taskflow {
export interface Taskflow extends TaskflowProps, TaskflowMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -41,6 +76,13 @@ }

/*********************************************
* TaskflowMethods<T = any>
* TaskflowProps
**********************************************/
export interface TaskflowMethods<T = any> {
processTask(requestBodyStream?: any): T;
export interface TaskflowProps {
}
/*********************************************
* TaskflowMethods
**********************************************/
export interface TaskflowMethods {
processTask<T=any>(requestBodyStream?: any): IBaseExecution<T>;
}

@@ -0,1 +1,3 @@

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

@@ -26,5 +28,12 @@

/*********************************************
* IEntityIdentifier
**********************************************/
export interface IEntityIdentifier extends EntityIdentifierProps,EntityIdentifierMethods,IBaseExecution<EntityIdentifier> {
}
/*********************************************
* EntityIdentifier
**********************************************/
export interface EntityIdentifier {
export interface EntityIdentifier extends EntityIdentifierProps, EntityIdentifierMethods {
IdentifierType?: string;

@@ -35,11 +44,18 @@ Name?: string;

/*********************************************
* EntityIdentifierMethods<T = any>
* EntityIdentifierProps
**********************************************/
export interface EntityIdentifierMethods<T = any> {
containsLocalizedDisplayName(): T;
getDefaultDisplayName(): T;
getLocalizedDisplayName(): T;
export interface EntityIdentifierProps {
}
/*********************************************
* EntityIdentifierMethods
**********************************************/
export interface EntityIdentifierMethods {
containsLocalizedDisplayName<T=boolean>(): IBaseExecution<T>;
getDefaultDisplayName<T=string>(): IBaseExecution<T>;
getLocalizedDisplayName<T=string>(): IBaseExecution<T>;
}
/*********************************************
* LobSystemInstance

@@ -52,5 +68,12 @@ **********************************************/

/*********************************************
* ITypeDescriptor
**********************************************/
export interface ITypeDescriptor extends TypeDescriptorProps,TypeDescriptorMethods,IBaseExecution<TypeDescriptor> {
}
/*********************************************
* TypeDescriptor
**********************************************/
export interface TypeDescriptor {
export interface TypeDescriptor extends TypeDescriptorProps, TypeDescriptorMethods {
ContainsReadOnly?: boolean;

@@ -64,18 +87,32 @@ IsCollection?: boolean;

/*********************************************
* TypeDescriptorMethods<T = any>
* TypeDescriptorProps
**********************************************/
export interface TypeDescriptorMethods<T = any> {
containsLocalizedDisplayName(): T;
getChildTypeDescriptors(): T;
getDefaultDisplayName(): T;
getLocalizedDisplayName(): T;
getParentTypeDescriptor(): T;
isLeaf(): T;
isRoot(): T;
export interface TypeDescriptorProps {
}
/*********************************************
* TypeDescriptorMethods
**********************************************/
export interface TypeDescriptorMethods {
containsLocalizedDisplayName<T=boolean>(): IBaseExecution<T>;
getChildTypeDescriptors<T=Array<SP.BusinessData.TypeDescriptor>>(): IBaseExecution<T>;
getDefaultDisplayName<T=string>(): IBaseExecution<T>;
getLocalizedDisplayName<T=string>(): IBaseExecution<T>;
getParentTypeDescriptor<T=SP.BusinessData.TypeDescriptor>(): IBaseExecution<T>;
isLeaf<T=boolean>(): IBaseExecution<T>;
isRoot<T=boolean>(): IBaseExecution<T>;
}
/*********************************************
* IEntity
**********************************************/
export interface IEntity extends EntityProps,EntityMethods,IBaseExecution<Entity> {
}
/*********************************************
* Entity
**********************************************/
export interface Entity {
export interface Entity extends EntityProps, EntityMethods {
EstimatedInstanceCount?: number;

@@ -87,21 +124,35 @@ Name?: string;

/*********************************************
* EntityMethods<T = any>
* EntityProps
**********************************************/
export interface EntityMethods<T = any> {
getAssociationView(associationName?: string): T;
getCreatorView(methodInstanceName?: string): T;
getDefaultSpecificFinderView(): T;
getFilters(methodInstanceName?: string): T;
getFinderView(methodInstanceName?: string): T;
getIdentifierCount(): T;
getIdentifiers(): T;
getLobSystem(): T;
getSpecificFinderView(specificFinderName?: string): T;
getUpdaterView(updaterName?: string): T;
export interface EntityProps {
}
/*********************************************
* EntityMethods
**********************************************/
export interface EntityMethods {
getAssociationView<T=SP.BusinessData.EntityView>(associationName?: string): IBaseExecution<T>;
getCreatorView<T=SP.BusinessData.EntityView>(methodInstanceName?: string): IBaseExecution<T>;
getDefaultSpecificFinderView<T=SP.BusinessData.EntityView>(): IBaseExecution<T>;
getFilters<T=Array<SP.BusinessData.Filter>>(methodInstanceName?: string): IBaseExecution<T>;
getFinderView<T=SP.BusinessData.EntityView>(methodInstanceName?: string): IBaseExecution<T>;
getIdentifierCount<T=number>(): IBaseExecution<T>;
getIdentifiers<T=Array<SP.BusinessData.EntityIdentifier>>(): IBaseExecution<T>;
getLobSystem<T=SP.BusinessData.LobSystem>(): IBaseExecution<T>;
getSpecificFinderView<T=SP.BusinessData.EntityView>(specificFinderName?: string): IBaseExecution<T>;
getUpdaterView<T=SP.BusinessData.EntityView>(updaterName?: string): IBaseExecution<T>;
}
/*********************************************
* ILobSystem
**********************************************/
export interface ILobSystem extends LobSystemProps,LobSystemMethods,IBaseExecution<LobSystem> {
}
/*********************************************
* LobSystem
**********************************************/
export interface LobSystem {
export interface LobSystem extends LobSystemProps, LobSystemMethods {
Name?: string;

@@ -111,12 +162,26 @@ }

/*********************************************
* LobSystemMethods<T = any>
* LobSystemProps
**********************************************/
export interface LobSystemMethods<T = any> {
getLobSystemInstances(): T;
export interface LobSystemProps {
}
/*********************************************
* LobSystemMethods
**********************************************/
export interface LobSystemMethods {
getLobSystemInstances<T=Array<SP.BusinessData.LobSystemInstance>>(): IBaseExecution<T>;
}
/*********************************************
* IMethodExecutionResult
**********************************************/
export interface IMethodExecutionResult extends MethodExecutionResultProps,MethodExecutionResultMethods,IBaseExecution<MethodExecutionResult> {
}
/*********************************************
* MethodExecutionResult
**********************************************/
export interface MethodExecutionResult {
export interface MethodExecutionResult extends MethodExecutionResultProps, MethodExecutionResultMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -126,19 +191,26 @@ }

/*********************************************
* MethodExecutionResultCollections<T = any>
* MethodExecutionResultProps
**********************************************/
export interface MethodExecutionResultCollections<T = any> {
ReturnParameterCollection(): T;
export interface MethodExecutionResultProps {
ReturnParameterCollection<T=SP.BusinessData.Runtime.EntityFieldValueDictionary>(): IBaseCollection<T>;
}
/*********************************************
* MethodExecutionResultQuery<T = any>
* MethodExecutionResultMethods
**********************************************/
export interface MethodExecutionResultQuery<T = any> {
ReturnParameterCollection(): T;
export interface MethodExecutionResultMethods {
}
/*********************************************
* IEntityView
**********************************************/
export interface IEntityView extends EntityViewProps,EntityViewMethods,IBaseExecution<EntityView> {
}
/*********************************************
* EntityView
**********************************************/
export interface EntityView {
export interface EntityView extends EntityViewProps, EntityViewMethods {
Name?: string;

@@ -149,23 +221,23 @@ RelatedSpecificFinderName?: string;

/*********************************************
* EntityViewCollections<T = any>
* EntityViewProps
**********************************************/
export interface EntityViewCollections<T = any> {
Fields(): T;
export interface EntityViewProps {
Fields<T=SP.BusinessData.EntityField>(): IBaseCollection<T>;
}
/*********************************************
* EntityViewQuery<T = any>
* EntityViewMethods
**********************************************/
export interface EntityViewQuery<T = any> {
Fields(): T;
export interface EntityViewMethods {
getDefaultValues<T=SP.BusinessData.Runtime.EntityFieldValueDictionary>(): IBaseExecution<T>;
getType<T=string>(fieldDotNotation?: string): IBaseExecution<T>;
getTypeDescriptor<T=SP.BusinessData.TypeDescriptor>(fieldDotNotation?: string): IBaseExecution<T>;
getXmlSchema<T=string>(): IBaseExecution<T>;
}
/*********************************************
* EntityViewMethods<T = any>
* IAppBdcCatalog
**********************************************/
export interface EntityViewMethods<T = any> {
getDefaultValues(): T;
getType(fieldDotNotation?: string): T;
getTypeDescriptor(fieldDotNotation?: string): T;
getXmlSchema(): T;
export interface IAppBdcCatalog extends AppBdcCatalogProps,AppBdcCatalogMethods,IBaseExecution<AppBdcCatalog> {
}

@@ -176,3 +248,3 @@

**********************************************/
export interface AppBdcCatalog {
export interface AppBdcCatalog extends AppBdcCatalogProps, AppBdcCatalogMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -182,13 +254,20 @@ }

/*********************************************
* AppBdcCatalogMethods<T = any>
* AppBdcCatalogProps
**********************************************/
export interface AppBdcCatalogMethods<T = any> {
getConnectionId(lobSystemName?: string, lobSystemInstanceName?: string): T;
getEntity(namespace?: string, name?: string): T;
getLobSystemInstanceProperty(lobSystemName?: string, lobSystemInstanceName?: string, propertyName?: string): T;
getLobSystemProperty(lobSystemName?: string, propertyName?: string): T;
getPermissibleConnections(): T;
setConnectionId(lobSystemName?: string, lobSystemInstanceName?: string, connectionId?: string): T;
setLobSystemInstanceProperty(lobSystemName?: string, lobSystemInstanceName?: string, propertyName?: string, propertyValue?: string): T;
setLobSystemProperty(lobSystemName?: string, propertyName?: string, propertyValue?: string): T;
export interface AppBdcCatalogProps {
}
/*********************************************
* AppBdcCatalogMethods
**********************************************/
export interface AppBdcCatalogMethods {
getConnectionId<T=string>(lobSystemName?: string, lobSystemInstanceName?: string): IBaseExecution<T>;
getEntity<T=SP.BusinessData.Entity>(namespace?: string, name?: string): IBaseExecution<T>;
getLobSystemInstanceProperty<T=string>(lobSystemName?: string, lobSystemInstanceName?: string, propertyName?: string): IBaseExecution<T>;
getLobSystemProperty<T=string>(lobSystemName?: string, propertyName?: string): IBaseExecution<T>;
getPermissibleConnections<T=Array<string>>(): IBaseExecution<T>;
setConnectionId<T=any>(lobSystemName?: string, lobSystemInstanceName?: string, connectionId?: string): IBaseExecution<T>;
setLobSystemInstanceProperty<T=any>(lobSystemName?: string, lobSystemInstanceName?: string, propertyName?: string, propertyValue?: string): IBaseExecution<T>;
setLobSystemProperty<T=any>(lobSystemName?: string, propertyName?: string, propertyValue?: string): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../../";
/*********************************************
* IExternalSubscriptionStore
**********************************************/
export interface IExternalSubscriptionStore extends ExternalSubscriptionStoreProps,ExternalSubscriptionStoreMethods,IBaseExecution<ExternalSubscriptionStore> {
}
/*********************************************
* ExternalSubscriptionStore
**********************************************/
export interface ExternalSubscriptionStore {
export interface ExternalSubscriptionStore extends ExternalSubscriptionStoreProps, ExternalSubscriptionStoreMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,6 +18,13 @@ }

/*********************************************
* ExternalSubscriptionStoreMethods<T = any>
* ExternalSubscriptionStoreProps
**********************************************/
export interface ExternalSubscriptionStoreMethods<T = any> {
indexStore(): T;
export interface ExternalSubscriptionStoreProps {
}
/*********************************************
* ExternalSubscriptionStoreMethods
**********************************************/
export interface ExternalSubscriptionStoreMethods {
indexStore<T=any>(): IBaseExecution<T>;
}
import { SP } from "../../../";
import { IBaseExecution } from "../../../";

@@ -28,5 +29,12 @@ /*********************************************

/*********************************************
* IEntityInstance
**********************************************/
export interface IEntityInstance extends EntityInstanceProps,EntityInstanceMethods,IBaseExecution<EntityInstance> {
}
/*********************************************
* EntityInstance
**********************************************/
export interface EntityInstance {
export interface EntityInstance extends EntityInstanceProps, EntityInstanceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -36,18 +44,32 @@ }

/*********************************************
* EntityInstanceMethods<T = any>
* EntityInstanceProps
**********************************************/
export interface EntityInstanceMethods<T = any> {
createCollectionInstance(fieldDotNotation?: string, size?: number): T;
createInstance(fieldInstanceDotNotation?: string, fieldDotNotation?: string): T;
deleteObject(): T;
fromXml(xml?: string): T;
getIdentity(): T;
toXml(): T;
update(): T;
export interface EntityInstanceProps {
}
/*********************************************
* EntityInstanceMethods
**********************************************/
export interface EntityInstanceMethods {
createCollectionInstance<T=any>(fieldDotNotation?: string, size?: number): IBaseExecution<T>;
createInstance<T=any>(fieldInstanceDotNotation?: string, fieldDotNotation?: string): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
fromXml<T=any>(xml?: string): IBaseExecution<T>;
getIdentity<T=SP.BusinessData.Runtime.EntityIdentity>(): IBaseExecution<T>;
toXml<T=string>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IEntityFieldValueDictionary
**********************************************/
export interface IEntityFieldValueDictionary extends EntityFieldValueDictionaryProps,EntityFieldValueDictionaryMethods,IBaseExecution<EntityFieldValueDictionary> {
}
/*********************************************
* EntityFieldValueDictionary
**********************************************/
export interface EntityFieldValueDictionary {
export interface EntityFieldValueDictionary extends EntityFieldValueDictionaryProps, EntityFieldValueDictionaryMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -57,10 +79,17 @@ }

/*********************************************
* EntityFieldValueDictionaryMethods<T = any>
* EntityFieldValueDictionaryProps
**********************************************/
export interface EntityFieldValueDictionaryMethods<T = any> {
createCollectionInstance(fieldDotNotation?: string, size?: number): T;
createInstance(fieldInstanceDotNotation?: string, fieldDotNotation?: string): T;
fromXml(xml?: string): T;
getCollectionSize(fieldDotNotation?: string): T;
toXml(): T;
export interface EntityFieldValueDictionaryProps {
}
/*********************************************
* EntityFieldValueDictionaryMethods
**********************************************/
export interface EntityFieldValueDictionaryMethods {
createCollectionInstance<T=any>(fieldDotNotation?: string, size?: number): IBaseExecution<T>;
createInstance<T=any>(fieldInstanceDotNotation?: string, fieldDotNotation?: string): IBaseExecution<T>;
fromXml<T=any>(xml?: string): IBaseExecution<T>;
getCollectionSize<T=number>(fieldDotNotation?: string): IBaseExecution<T>;
toXml<T=string>(): IBaseExecution<T>;
}

@@ -0,3 +1,3 @@

import { IBaseExecution } from "../../";
/*********************************************

@@ -14,5 +14,12 @@ * PolicyEvaluationInfo

/*********************************************
* ISPPolicyStoreProxy
**********************************************/
export interface ISPPolicyStoreProxy extends SPPolicyStoreProxyProps,SPPolicyStoreProxyMethods,IBaseExecution<SPPolicyStoreProxy> {
}
/*********************************************
* SPPolicyStoreProxy
**********************************************/
export interface SPPolicyStoreProxy {
export interface SPPolicyStoreProxy extends SPPolicyStoreProxyProps, SPPolicyStoreProxyMethods {
PolicyStoreUrl?: string;

@@ -24,21 +31,28 @@ ReviewCenterUrl?: string;

/*********************************************
* SPPolicyStoreProxyMethods<T = any>
* SPPolicyStoreProxyProps
**********************************************/
export interface SPPolicyStoreProxyMethods<T = any> {
addDynamicScopeBinding(identity?: string, siteId?: string): T;
bulkUpdateDynamicScopeBindings(scopesToAdd?: Array<string>, scopesToRemove?: Array<string>, siteId?: string): T;
deleteDynamicScopeBinding(identity?: string, siteId?: string): T;
extendReviewItemsRetention(itemIds?: Array<number>, extensionDate?: any): T;
getDynamicScopeBindingBySiteId(siteId?: string): T;
markReviewItemsForDeletion(itemIds?: Array<number>): T;
openBinaryStreamForOriginalItem(itemId?: number): T;
removeContainerRetentionPolicy(siteId?: string): T;
removeContainerSettings(externalId?: Array<string>): T;
retagReviewItems(itemIds?: Array<number>, newTag?: string, newTagIsRecord?: boolean, newTagBlockDelete?: boolean, newTagIsEventBased?: boolean): T;
retagReviewItemsWithMetas(itemIds?: Array<number>, newTagName?: string, newTagMetas?: Array<string>): T;
setContainerRetentionPolicy(siteId?: string, defaultContainerLabel?: any): T;
updateContainerSetting(siteId?: string, externalId?: string, settingType?: number, setting?: string): T;
export interface SPPolicyStoreProxyProps {
}
/*********************************************
* SPPolicyStoreProxyMethods
**********************************************/
export interface SPPolicyStoreProxyMethods {
addDynamicScopeBinding<T=any>(identity?: string, siteId?: string): IBaseExecution<T>;
bulkUpdateDynamicScopeBindings<T=any>(scopesToAdd?: Array<string>, scopesToRemove?: Array<string>, siteId?: string): IBaseExecution<T>;
deleteDynamicScopeBinding<T=any>(identity?: string, siteId?: string): IBaseExecution<T>;
extendReviewItemsRetention<T=Array<number>>(itemIds?: Array<number>, extensionDate?: any): IBaseExecution<T>;
getDynamicScopeBindingBySiteId<T=Array<string>>(siteId?: string): IBaseExecution<T>;
markReviewItemsForDeletion<T=Array<number>>(itemIds?: Array<number>): IBaseExecution<T>;
openBinaryStreamForOriginalItem<T=any>(itemId?: number): IBaseExecution<T>;
removeContainerRetentionPolicy<T=any>(siteId?: string): IBaseExecution<T>;
removeContainerSettings<T=any>(externalId?: Array<string>): IBaseExecution<T>;
retagReviewItems<T=Array<number>>(itemIds?: Array<number>, newTag?: string, newTagIsRecord?: boolean, newTagBlockDelete?: boolean, newTagIsEventBased?: boolean): IBaseExecution<T>;
retagReviewItemsWithMetas<T=Array<number>>(itemIds?: Array<number>, newTagName?: string, newTagMetas?: Array<string>): IBaseExecution<T>;
setContainerRetentionPolicy<T=any>(siteId?: string, defaultContainerLabel?: any): IBaseExecution<T>;
updateContainerSetting<T=any>(siteId?: string, externalId?: string, settingType?: number, setting?: string): IBaseExecution<T>;
}
/*********************************************
* SPSitePreservationUtility

@@ -45,0 +59,0 @@ **********************************************/

@@ -0,7 +1,16 @@

import { IBaseExecution } from "../../";
import { IBaseCollection } from "../../";
import { SP } from "../../";
/*********************************************
* IDirectorySession
**********************************************/
export interface IDirectorySession extends DirectorySessionProps,DirectorySessionMethods,IBaseExecution<DirectorySession> {
}
/*********************************************
* DirectorySession
**********************************************/
export interface DirectorySession {
export interface DirectorySession extends DirectorySessionProps, DirectorySessionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,18 +20,32 @@ }

/*********************************************
* DirectorySessionMethods<T = any>
* DirectorySessionProps
**********************************************/
export interface DirectorySessionMethods<T = any> {
getGraphUser(principalName?: string): T;
getSharePointDataForUser(userId?: any): T;
group(groupId?: any, alias?: string): T;
joinGroup(groupId?: any): T;
me(): T;
user(id?: any, principalName?: string): T;
validateGroupName(displayName?: string, alias?: string): T;
export interface DirectorySessionProps {
}
/*********************************************
* DirectorySessionMethods
**********************************************/
export interface DirectorySessionMethods {
getGraphUser<T=SP.Directory.User>(principalName?: string): IBaseExecution<T>;
getSharePointDataForUser<T=SP.Directory.User>(userId?: any): IBaseExecution<T>;
group<T=SP.Directory.Group>(groupId?: any, alias?: string): IBaseExecution<T>;
joinGroup<T=number>(groupId?: any): IBaseExecution<T>;
me<T=SP.Directory.User>(): IBaseExecution<T>;
user<T=SP.Directory.User>(id?: any, principalName?: string): IBaseExecution<T>;
validateGroupName<T=SP.Directory.GroupNameValidationResult>(displayName?: string, alias?: string): IBaseExecution<T>;
}
/*********************************************
* IGroup
**********************************************/
export interface IGroup extends GroupProps,GroupMethods,IBaseExecution<Group> {
}
/*********************************************
* Group
**********************************************/
export interface Group {
export interface Group extends GroupProps, GroupMethods {
alias?: string;

@@ -51,22 +74,21 @@ allowToAddGuests?: boolean;

/*********************************************
* GroupCollections<T = any>
* GroupProps
**********************************************/
export interface GroupCollections<T = any> {
members(): T;
owners(): T;
export interface GroupProps {
members<T=SP.Directory.User>(): IBaseCollection<T>;
owners<T=SP.Directory.User>(): IBaseCollection<T>;
}
/*********************************************
* GroupQuery<T = any>
* GroupMethods
**********************************************/
export interface GroupQuery<T = any> {
members(): T;
owners(): T;
export interface GroupMethods {
delete<T=any>(): IBaseExecution<T>;
}
/*********************************************
* GroupMethods<T = any>
* IUser
**********************************************/
export interface GroupMethods<T = any> {
delete(): T;
export interface IUser extends UserProps,UserMethods,IBaseExecution<User> {
}

@@ -77,3 +99,3 @@

**********************************************/
export interface User {
export interface User extends UserProps, UserMethods {
aboutMe?: string;

@@ -122,27 +144,18 @@ accountEnabled?: boolean;

/*********************************************
* UserCollections<T = any>
* UserProps
**********************************************/
export interface UserCollections<T = any> {
membership(): T;
ownership(): T;
rankedMembership(): T;
export interface UserProps {
membership<T=SP.Directory.Group>(): IBaseCollection<T>;
ownership<T=SP.Directory.Group>(): IBaseCollection<T>;
rankedMembership<T=SP.Directory.Group>(): IBaseCollection<T>;
}
/*********************************************
* UserQuery<T = any>
* UserMethods
**********************************************/
export interface UserQuery<T = any> {
membership(): T;
ownership(): T;
rankedMembership(): T;
export interface UserMethods {
getUserLinks<T=Array<SP.Directory.Link>>(linkName?: string, groupType?: number): IBaseExecution<T>;
}
/*********************************************
* UserMethods<T = any>
**********************************************/
export interface UserMethods<T = any> {
getUserLinks(linkName?: string, groupType?: number): T;
}
/*********************************************
* Link

@@ -157,5 +170,12 @@ **********************************************/

/*********************************************
* IGroupAndUserStatus
**********************************************/
export interface IGroupAndUserStatus extends GroupAndUserStatusProps,GroupAndUserStatusMethods,IBaseExecution<GroupAndUserStatus> {
}
/*********************************************
* GroupAndUserStatus
**********************************************/
export interface GroupAndUserStatus {
export interface GroupAndUserStatus extends GroupAndUserStatusProps, GroupAndUserStatusMethods {
Status?: number;

@@ -165,13 +185,13 @@ }

/*********************************************
* GroupAndUserStatusCollections<T = any>
* GroupAndUserStatusProps
**********************************************/
export interface GroupAndUserStatusCollections<T = any> {
Group(): T;
export interface GroupAndUserStatusProps {
Group<T=SP.Directory.Group>(): IBaseExecution<T>;
}
/*********************************************
* GroupAndUserStatusQuery<T = any>
* GroupAndUserStatusMethods
**********************************************/
export interface GroupAndUserStatusQuery<T = any> {
Group(): T;
export interface GroupAndUserStatusMethods {
}

@@ -202,1 +222,59 @@

}
/*********************************************
* IGroupCollection
**********************************************/
export interface IGroupCollection extends GroupCollectionProps,GroupCollectionMethods,IBaseExecution<GroupCollection> {
}
/*********************************************
* GroupCollection
**********************************************/
export interface GroupCollection extends GroupCollectionProps, GroupCollectionMethods {
}
/*********************************************
* GroupCollectionProps
**********************************************/
export interface GroupCollectionProps {
}
/*********************************************
* GroupCollectionMethods
**********************************************/
export interface GroupCollectionMethods {
add<T=any>(objectId?: any): IBaseExecution<T>;
remove<T=any>(objectId?: any): IBaseExecution<T>;
}
/*********************************************
* IUserCollection
**********************************************/
export interface IUserCollection extends UserCollectionProps,UserCollectionMethods,IBaseExecution<UserCollection> {
}
/*********************************************
* UserCollection
**********************************************/
export interface UserCollection extends UserCollectionProps, UserCollectionMethods {
}
/*********************************************
* UserCollectionProps
**********************************************/
export interface UserCollectionProps {
}
/*********************************************
* UserCollectionMethods
**********************************************/
export interface UserCollectionMethods {
add<T=any>(objectId?: any, principalName?: string): IBaseExecution<T>;
remove<T=any>(objectId?: any): IBaseExecution<T>;
}

@@ -1,7 +0,14 @@

import { SP } from "../../../";
import { IBaseExecution } from "../../../";
/*********************************************
* IDirectoryNotification
**********************************************/
export interface IDirectoryNotification extends DirectoryNotificationProps,DirectoryNotificationMethods,IBaseExecution<DirectoryNotification> {
}
/*********************************************
* DirectoryNotification
**********************************************/
export interface DirectoryNotification {
export interface DirectoryNotification extends DirectoryNotificationProps, DirectoryNotificationMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,12 +18,26 @@ }

/*********************************************
* DirectoryNotificationMethods<T = any>
* DirectoryNotificationProps
**********************************************/
export interface DirectoryNotificationMethods<T = any> {
notifyChanges(directoryObjectChanges?: SP.Directory.Provider.DirectoryObjectChanges): T;
export interface DirectoryNotificationProps {
}
/*********************************************
* DirectoryNotificationMethods
**********************************************/
export interface DirectoryNotificationMethods {
notifyChanges<T=any>(directoryObjectChanges?: SP.Directory.Provider.DirectoryObjectChanges): IBaseExecution<T>;
}
/*********************************************
* ISharePointDirectoryProvider
**********************************************/
export interface ISharePointDirectoryProvider extends SharePointDirectoryProviderProps,SharePointDirectoryProviderMethods,IBaseExecution<SharePointDirectoryProvider> {
}
/*********************************************
* SharePointDirectoryProvider
**********************************************/
export interface SharePointDirectoryProvider {
export interface SharePointDirectoryProvider extends SharePointDirectoryProviderProps, SharePointDirectoryProviderMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -26,13 +47,20 @@ }

/*********************************************
* SharePointDirectoryProviderMethods<T = any>
* SharePointDirectoryProviderProps
**********************************************/
export interface SharePointDirectoryProviderMethods<T = any> {
createDirectoryObject(data?: SP.Directory.Provider.DirectoryObjectData): T;
deleteDirectoryObject(data?: SP.Directory.Provider.DirectoryObjectData): T;
getOrCreateUnifiedGroupTenantInstanceId(groupId?: any, tenantInstanceId?: any): T;
notifyDataChanges(data?: SP.Directory.Provider.DirectoryObjectData): T;
readDirectoryObject(data?: SP.Directory.Provider.DirectoryObjectData): T;
readDirectoryObjectBatch(ids?: Array<any>, objectType?: number): T;
updateCache(data?: SP.Directory.Provider.DirectoryObjectData): T;
updateDirectoryObject(data?: SP.Directory.Provider.DirectoryObjectData): T;
export interface SharePointDirectoryProviderProps {
}
/*********************************************
* SharePointDirectoryProviderMethods
**********************************************/
export interface SharePointDirectoryProviderMethods {
createDirectoryObject<T=SP.Directory.Provider.DirectoryObjectData>(data?: SP.Directory.Provider.DirectoryObjectData): IBaseExecution<T>;
deleteDirectoryObject<T=any>(data?: SP.Directory.Provider.DirectoryObjectData): IBaseExecution<T>;
getOrCreateUnifiedGroupTenantInstanceId<T=any>(groupId?: any, tenantInstanceId?: any): IBaseExecution<T>;
notifyDataChanges<T=any>(data?: SP.Directory.Provider.DirectoryObjectData): IBaseExecution<T>;
readDirectoryObject<T=SP.Directory.Provider.DirectoryObjectData>(data?: SP.Directory.Provider.DirectoryObjectData): IBaseExecution<T>;
readDirectoryObjectBatch<T=Array<SP.Directory.Provider.DirectoryObjectData>>(ids?: Array<any>, objectType?: number): IBaseExecution<T>;
updateCache<T=any>(data?: SP.Directory.Provider.DirectoryObjectData): IBaseExecution<T>;
updateDirectoryObject<T=any>(data?: SP.Directory.Provider.DirectoryObjectData): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../";
/*********************************************
* IDocumentId
**********************************************/
export interface IDocumentId extends DocumentIdProps,DocumentIdMethods,IBaseExecution<DocumentId> {
}
/*********************************************
* DocumentId
**********************************************/
export interface DocumentId {
export interface DocumentId extends DocumentIdProps, DocumentIdMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,7 +18,14 @@ }

/*********************************************
* DocumentIdMethods<T = any>
* DocumentIdProps
**********************************************/
export interface DocumentIdMethods<T = any> {
resetDocIdByServerRelativePath(DecodedUrl?: string): T;
resetDocIdsInLibrary(DecodedUrl?: string, contentTypeId?: string): T;
export interface DocumentIdProps {
}
/*********************************************
* DocumentIdMethods
**********************************************/
export interface DocumentIdMethods {
resetDocIdByServerRelativePath<T=any>(DecodedUrl?: string): IBaseExecution<T>;
resetDocIdsInLibrary<T=any>(DecodedUrl?: string, contentTypeId?: string): IBaseExecution<T>;
}

@@ -0,7 +1,15 @@

import { IBaseExecution } from "../../";
import { SP } from "../../";
/*********************************************
* IMicrofeedPostDefinitionManager
**********************************************/
export interface IMicrofeedPostDefinitionManager extends MicrofeedPostDefinitionManagerProps,MicrofeedPostDefinitionManagerMethods,IBaseExecution<MicrofeedPostDefinitionManager> {
}
/*********************************************
* MicrofeedPostDefinitionManager
**********************************************/
export interface MicrofeedPostDefinitionManager {
export interface MicrofeedPostDefinitionManager extends MicrofeedPostDefinitionManagerProps, MicrofeedPostDefinitionManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,16 +19,30 @@ }

/*********************************************
* MicrofeedPostDefinitionManagerMethods<T = any>
* MicrofeedPostDefinitionManagerProps
**********************************************/
export interface MicrofeedPostDefinitionManagerMethods<T = any> {
deleteMicrofeedPostDefinition(postDefinition?: SP.Microfeed.MicrofeedPostDefinition): T;
getMicrofeedPostDefinition(definitionName?: string): T;
getMicrofeedPostDefinitions(): T;
newMicrofeedPostDefinition(definitionName?: string): T;
updateMicrofeedPostDefinition(postDefinition?: SP.Microfeed.MicrofeedPostDefinition): T;
export interface MicrofeedPostDefinitionManagerProps {
}
/*********************************************
* MicrofeedPostDefinitionManagerMethods
**********************************************/
export interface MicrofeedPostDefinitionManagerMethods {
deleteMicrofeedPostDefinition<T=boolean>(postDefinition?: SP.Microfeed.MicrofeedPostDefinition): IBaseExecution<T>;
getMicrofeedPostDefinition<T=SP.Microfeed.MicrofeedPostDefinition>(definitionName?: string): IBaseExecution<T>;
getMicrofeedPostDefinitions<T=Array<SP.Microfeed.MicrofeedPostDefinition>>(): IBaseExecution<T>;
newMicrofeedPostDefinition<T=SP.Microfeed.MicrofeedPostDefinition>(definitionName?: string): IBaseExecution<T>;
updateMicrofeedPostDefinition<T=SP.Microfeed.MicrofeedPostDefinition>(postDefinition?: SP.Microfeed.MicrofeedPostDefinition): IBaseExecution<T>;
}
/*********************************************
* IMicrofeedAttachmentStore
**********************************************/
export interface IMicrofeedAttachmentStore extends MicrofeedAttachmentStoreProps,MicrofeedAttachmentStoreMethods,IBaseExecution<MicrofeedAttachmentStore> {
}
/*********************************************
* MicrofeedAttachmentStore
**********************************************/
export interface MicrofeedAttachmentStore {
export interface MicrofeedAttachmentStore extends MicrofeedAttachmentStoreProps, MicrofeedAttachmentStoreMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -30,16 +52,30 @@ }

/*********************************************
* MicrofeedAttachmentStoreMethods<T = any>
* MicrofeedAttachmentStoreProps
**********************************************/
export interface MicrofeedAttachmentStoreMethods<T = any> {
deletePreProcessedAttachment(attachmentUri?: string): T;
getImage(imageUrl?: string, key?: string, iv?: string): T;
preProcessAttachment(link?: SP.Microfeed.MicrofeedLink): T;
putFile(originalFileName?: string, fileData?: any): T;
putImage(imageData?: any): T;
export interface MicrofeedAttachmentStoreProps {
}
/*********************************************
* MicrofeedAttachmentStoreMethods
**********************************************/
export interface MicrofeedAttachmentStoreMethods {
deletePreProcessedAttachment<T=any>(attachmentUri?: string): IBaseExecution<T>;
getImage<T=any>(imageUrl?: string, key?: string, iv?: string): IBaseExecution<T>;
preProcessAttachment<T=SP.Microfeed.MicrofeedLink>(link?: SP.Microfeed.MicrofeedLink): IBaseExecution<T>;
putFile<T=Array<string>>(originalFileName?: string, fileData?: any): IBaseExecution<T>;
putImage<T=Array<string>>(imageData?: any): IBaseExecution<T>;
}
/*********************************************
* IMicrofeedData
**********************************************/
export interface IMicrofeedData extends MicrofeedDataProps,MicrofeedDataMethods,IBaseExecution<MicrofeedData> {
}
/*********************************************
* MicrofeedData
**********************************************/
export interface MicrofeedData {
export interface MicrofeedData extends MicrofeedDataProps, MicrofeedDataMethods {
Created?: any;

@@ -55,14 +91,28 @@ Data?: Array<SP.KeyValue>;

/*********************************************
* MicrofeedDataMethods<T = any>
* MicrofeedDataProps
**********************************************/
export interface MicrofeedDataMethods<T = any> {
addAttachment(name?: string, bytes?: any): T;
systemUpdate(): T;
update(): T;
export interface MicrofeedDataProps {
}
/*********************************************
* MicrofeedDataMethods
**********************************************/
export interface MicrofeedDataMethods {
addAttachment<T=any>(name?: string, bytes?: any): IBaseExecution<T>;
systemUpdate<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IMicrofeedManager
**********************************************/
export interface IMicrofeedManager extends MicrofeedManagerProps,MicrofeedManagerMethods,IBaseExecution<MicrofeedManager> {
}
/*********************************************
* MicrofeedManager
**********************************************/
export interface MicrofeedManager {
export interface MicrofeedManager extends MicrofeedManagerProps, MicrofeedManagerMethods {
CurrentUser?: SP.Microfeed.MicroBlogEntity;

@@ -74,26 +124,33 @@ IsFeedActivityPublic?: boolean;

/*********************************************
* MicrofeedManagerMethods<T = any>
* MicrofeedManagerProps
**********************************************/
export interface MicrofeedManagerMethods<T = any> {
addUserToPostPeopleList(postIdentifier?: string, UserLoginName?: string): T;
clearUnreadMentionsCount(): T;
deleteById(postIdentifier?: string): T;
deleteUserFromPostPeopleList(postIdentifier?: string, UserLoginName?: string): T;
getMyCategoricalFeed(feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions): T;
getMyConsolidatedFeed(feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions): T;
getMyPublishedFeed(feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions, typeOfPubFeed?: number, ShowPublicView?: boolean): T;
getPublishedFeed(feedOwner?: string, feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions, typeOfPubFeed?: number): T;
getThread(postIdentifier?: string): T;
getUnreadMentionsCount(): T;
like(postIdentifier?: string): T;
lockThreadById(threadIdentifier?: string): T;
post(postOptions?: SP.Microfeed.MicrofeedPostOptions): T;
postReply(postIdentifier?: string, postReplyOptions?: SP.Microfeed.MicrofeedPostOptions): T;
repopulateLMT(timeStamp?: any, secureHash?: string): T;
unLike(postIdentifier?: string): T;
unLockThreadById(threadIdentifier?: string): T;
unsubscribeFromEMail(postIdentifier?: string): T;
export interface MicrofeedManagerProps {
}
/*********************************************
* MicrofeedManagerMethods
**********************************************/
export interface MicrofeedManagerMethods {
addUserToPostPeopleList<T=number>(postIdentifier?: string, UserLoginName?: string): IBaseExecution<T>;
clearUnreadMentionsCount<T=number>(): IBaseExecution<T>;
deleteById<T=SP.Microfeed.MicrofeedThread>(postIdentifier?: string): IBaseExecution<T>;
deleteUserFromPostPeopleList<T=number>(postIdentifier?: string, UserLoginName?: string): IBaseExecution<T>;
getMyCategoricalFeed<T=SP.Microfeed.MicrofeedThreadCollection>(feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions): IBaseExecution<T>;
getMyConsolidatedFeed<T=SP.Microfeed.MicrofeedThreadCollection>(feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions): IBaseExecution<T>;
getMyPublishedFeed<T=SP.Microfeed.MicrofeedThreadCollection>(feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions, typeOfPubFeed?: number, ShowPublicView?: boolean): IBaseExecution<T>;
getPublishedFeed<T=SP.Microfeed.MicrofeedThreadCollection>(feedOwner?: string, feedOptions?: SP.Microfeed.MicrofeedRetrievalOptions, typeOfPubFeed?: number): IBaseExecution<T>;
getThread<T=SP.Microfeed.MicrofeedThread>(postIdentifier?: string): IBaseExecution<T>;
getUnreadMentionsCount<T=number>(): IBaseExecution<T>;
like<T=SP.Microfeed.MicrofeedThread>(postIdentifier?: string): IBaseExecution<T>;
lockThreadById<T=SP.Microfeed.MicrofeedThread>(threadIdentifier?: string): IBaseExecution<T>;
post<T=SP.Microfeed.MicrofeedThread>(postOptions?: SP.Microfeed.MicrofeedPostOptions): IBaseExecution<T>;
postReply<T=SP.Microfeed.MicrofeedThread>(postIdentifier?: string, postReplyOptions?: SP.Microfeed.MicrofeedPostOptions): IBaseExecution<T>;
repopulateLMT<T=number>(timeStamp?: any, secureHash?: string): IBaseExecution<T>;
unLike<T=SP.Microfeed.MicrofeedThread>(postIdentifier?: string): IBaseExecution<T>;
unLockThreadById<T=SP.Microfeed.MicrofeedThread>(threadIdentifier?: string): IBaseExecution<T>;
unsubscribeFromEMail<T=any>(postIdentifier?: string): IBaseExecution<T>;
}
/*********************************************
* MicrofeedPostOptionCollection

@@ -107,5 +164,12 @@ **********************************************/

/*********************************************
* IMicrofeedStore
**********************************************/
export interface IMicrofeedStore extends MicrofeedStoreProps,MicrofeedStoreMethods,IBaseExecution<MicrofeedStore> {
}
/*********************************************
* MicrofeedStore
**********************************************/
export interface MicrofeedStore {
export interface MicrofeedStore extends MicrofeedStoreProps, MicrofeedStoreMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -115,14 +179,49 @@ }

/*********************************************
* MicrofeedStoreMethods<T = any>
* MicrofeedStoreProps
**********************************************/
export interface MicrofeedStoreMethods<T = any> {
addData(name?: string, data?: any): T;
addDataAsStream(name?: string, data?: any): T;
executePendingOperations(): T;
getItem(storeIdentifier?: string): T;
getSocialProperties(accountName?: string): T;
incrementUnreadAtMentionCount(accountName?: string): T;
newItem(storeIdentifier?: string): T;
query(storeIdentifier?: string, query?: SP.Microfeed.MicrofeedDataQuery): T;
setPostLikeStatus(accountName?: string, postId?: string, like?: boolean): T;
export interface MicrofeedStoreProps {
}
/*********************************************
* MicrofeedStoreMethods
**********************************************/
export interface MicrofeedStoreMethods {
addData<T=any>(name?: string, data?: any): IBaseExecution<T>;
addDataAsStream<T=any>(name?: string, data?: any): IBaseExecution<T>;
executePendingOperations<T=any>(): IBaseExecution<T>;
getItem<T=SP.Microfeed.MicrofeedData>(storeIdentifier?: string): IBaseExecution<T>;
getSocialProperties<T=string>(accountName?: string): IBaseExecution<T>;
incrementUnreadAtMentionCount<T=any>(accountName?: string): IBaseExecution<T>;
newItem<T=SP.Microfeed.MicrofeedData>(storeIdentifier?: string): IBaseExecution<T>;
query<T=Array<SP.Microfeed.MicrofeedData>>(storeIdentifier?: string, query?: SP.Microfeed.MicrofeedDataQuery): IBaseExecution<T>;
setPostLikeStatus<T=any>(accountName?: string, postId?: string, like?: boolean): IBaseExecution<T>;
}
/*********************************************
* IMicrofeedDataCollection
**********************************************/
export interface IMicrofeedDataCollection extends MicrofeedDataCollectionProps,MicrofeedDataCollectionMethods,IBaseExecution<MicrofeedDataCollection> {
}
/*********************************************
* MicrofeedDataCollection
**********************************************/
export interface MicrofeedDataCollection extends MicrofeedDataCollectionProps, MicrofeedDataCollectionMethods {
}
/*********************************************
* MicrofeedDataCollectionProps
**********************************************/
export interface MicrofeedDataCollectionProps {
}
/*********************************************
* MicrofeedDataCollectionMethods
**********************************************/
export interface MicrofeedDataCollectionMethods {
deleteAll<T=any>(): IBaseExecution<T>;
}

@@ -1,7 +0,14 @@

import { SP } from "../../";
import { IBaseExecution } from "../../";
/*********************************************
* IMicroServiceManager
**********************************************/
export interface IMicroServiceManager extends MicroServiceManagerProps,MicroServiceManagerMethods,IBaseExecution<MicroServiceManager> {
}
/*********************************************
* MicroServiceManager
**********************************************/
export interface MicroServiceManager {
export interface MicroServiceManager extends MicroServiceManagerProps, MicroServiceManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,12 +18,19 @@ }

/*********************************************
* MicroServiceManagerMethods<T = any>
* MicroServiceManagerProps
**********************************************/
export interface MicroServiceManagerMethods<T = any> {
addMicroserviceWorkItem(payLoad?: any, minutes?: number, properties?: SP.MicroService.MicroServiceWorkItemProperties): T;
deleteMicroserviceWorkItem(workItemId?: any): T;
getServiceInternalUrls(service?: string): T;
getServiceUrls(service?: string): T;
export interface MicroServiceManagerProps {
}
/*********************************************
* MicroServiceManagerMethods
**********************************************/
export interface MicroServiceManagerMethods {
addMicroserviceWorkItem<T=any>(payLoad?: any, minutes?: number, properties?: SP.MicroService.MicroServiceWorkItemProperties): IBaseExecution<T>;
deleteMicroserviceWorkItem<T=boolean>(workItemId?: any): IBaseExecution<T>;
getServiceInternalUrls<T=Array<string>>(service?: string): IBaseExecution<T>;
getServiceUrls<T=Array<string>>(service?: string): IBaseExecution<T>;
}
/*********************************************
* MicroServiceUtilities

@@ -23,0 +37,0 @@ **********************************************/

@@ -0,3 +1,3 @@

import { IBaseExecution } from "../../";
/*********************************************

@@ -16,5 +16,12 @@ * TokenResponse

/*********************************************
* INativeClient
**********************************************/
export interface INativeClient extends NativeClientProps,NativeClientMethods,IBaseExecution<NativeClient> {
}
/*********************************************
* NativeClient
**********************************************/
export interface NativeClient {
export interface NativeClient extends NativeClientProps, NativeClientMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -24,12 +31,26 @@ }

/*********************************************
* NativeClientMethods<T = any>
* NativeClientProps
**********************************************/
export interface NativeClientMethods<T = any> {
authenticate(): T;
export interface NativeClientProps {
}
/*********************************************
* NativeClientMethods
**********************************************/
export interface NativeClientMethods {
authenticate<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IToken
**********************************************/
export interface IToken extends TokenProps,TokenMethods,IBaseExecution<Token> {
}
/*********************************************
* Token
**********************************************/
export interface Token {
export interface Token extends TokenProps, TokenMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -39,6 +60,13 @@ }

/*********************************************
* TokenMethods<T = any>
* TokenProps
**********************************************/
export interface TokenMethods<T = any> {
acquire(resource?: string, tokenType?: string): T;
export interface TokenProps {
}
/*********************************************
* TokenMethods
**********************************************/
export interface TokenMethods {
acquire<T=SP.OAuth.TokenResponse>(resource?: string, tokenType?: string): IBaseExecution<T>;
}

@@ -0,7 +1,16 @@

import { IBaseExecution } from "../../";
import { IBaseCollection } from "../../";
import { SP } from "../../";
/*********************************************
* ICommunicationSite
**********************************************/
export interface ICommunicationSite extends CommunicationSiteProps,CommunicationSiteMethods,IBaseExecution<CommunicationSite> {
}
/*********************************************
* CommunicationSite
**********************************************/
export interface CommunicationSite {
export interface CommunicationSite extends CommunicationSiteProps, CommunicationSiteMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,10 +20,17 @@ }

/*********************************************
* CommunicationSiteMethods<T = any>
* CommunicationSiteProps
**********************************************/
export interface CommunicationSiteMethods<T = any> {
create(request?: SP.Publishing.CommunicationSiteCreationRequest): T;
status(url?: string): T;
export interface CommunicationSiteProps {
}
/*********************************************
* CommunicationSiteMethods
**********************************************/
export interface CommunicationSiteMethods {
create<T=SP.Publishing.CommunicationSiteCreationResponse>(request?: SP.Publishing.CommunicationSiteCreationRequest): IBaseExecution<T>;
status<T=SP.Publishing.CommunicationSiteCreationResponse>(url?: string): IBaseExecution<T>;
}
/*********************************************
* EmbedDataV1

@@ -44,5 +60,12 @@ **********************************************/

/*********************************************
* IEmbedService
**********************************************/
export interface IEmbedService extends EmbedServiceProps,EmbedServiceMethods,IBaseExecution<EmbedService> {
}
/*********************************************
* EmbedService
**********************************************/
export interface EmbedService {
export interface EmbedService extends EmbedServiceProps, EmbedServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -52,12 +75,26 @@ }

/*********************************************
* EmbedServiceMethods<T = any>
* EmbedServiceProps
**********************************************/
export interface EmbedServiceMethods<T = any> {
embedData(url?: string, version?: number): T;
export interface EmbedServiceProps {
}
/*********************************************
* EmbedServiceMethods
**********************************************/
export interface EmbedServiceMethods {
embedData<T=SP.Publishing.EmbedDataV1>(url?: string, version?: number): IBaseExecution<T>;
}
/*********************************************
* IVideoItem
**********************************************/
export interface IVideoItem extends VideoItemProps,VideoItemMethods,IBaseExecution<VideoItem> {
}
/*********************************************
* VideoItem
**********************************************/
export interface VideoItem {
export interface VideoItem extends VideoItemProps, VideoItemMethods {
ChannelID?: any;

@@ -85,44 +122,35 @@ CreatedDate?: any;

/*********************************************
* VideoItemCollections<T = any>
* VideoItemProps
**********************************************/
export interface VideoItemCollections<T = any> {
Author(): T;
Owner(): T;
PeopleInMedia(): T;
export interface VideoItemProps {
Author<T=SP.User>(): IBaseExecution<T>;
Owner<T=SP.User>(): IBaseExecution<T>;
PeopleInMedia<T=SP.User>(): IBaseCollection<T>;
}
/*********************************************
* VideoItemQuery<T = any>
* VideoItemMethods
**********************************************/
export interface VideoItemQuery<T = any> {
Author(): T;
Owner(): T;
PeopleInMedia(): T;
export interface VideoItemMethods {
customThumbnail<T=any>(): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
getFile<T=SP.File>(): IBaseExecution<T>;
getPlaybackMetadata<T=SP.Publishing.VideoPlaybackMetadata>(sdnConfiguration?: string): IBaseExecution<T>;
getPlaybackUrl<T=string>(videoFormat?: number): IBaseExecution<T>;
getStreamingKeyAccessToken<T=string>(): IBaseExecution<T>;
getVideoDetailedViewCount<T=SP.Publishing.ItemViewsAnalyticsData>(): IBaseExecution<T>;
getVideoEmbedCode<T=string>(width?: number, height?: number, autoplay?: boolean, showInfo?: boolean, makeResponsive?: boolean): IBaseExecution<T>;
getVideoViewProgressCount<T=Array<SP.Publishing.ViewProgressAnalyticsData>>(): IBaseExecution<T>;
incrementVideoViewProgressCount<T=any>(percentageViewed?: number): IBaseExecution<T>;
incrementViewCount<T=any>(viewOrigin?: number): IBaseExecution<T>;
setPeopleInMedia<T=any>(loginNames?: Array<string>): IBaseExecution<T>;
setVideoOwner<T=any>(id?: number): IBaseExecution<T>;
subtitles<T=Array<SP.Publishing.SubtitleFile>>(): IBaseExecution<T>;
thumbnails<T=Array<SP.Publishing.VideoThumbnail>>(preferredWidth?: number): IBaseExecution<T>;
thumbnailStream<T=any>(preferredWidth?: number): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
uploadCustomThumbnail<T=any>(fileExtension?: string, customVideoThumbnail?: any): IBaseExecution<T>;
}
/*********************************************
* VideoItemMethods<T = any>
**********************************************/
export interface VideoItemMethods<T = any> {
customThumbnail(): T;
deleteObject(): T;
getFile(): T;
getPlaybackMetadata(sdnConfiguration?: string): T;
getPlaybackUrl(videoFormat?: number): T;
getStreamingKeyAccessToken(): T;
getVideoDetailedViewCount(): T;
getVideoEmbedCode(width?: number, height?: number, autoplay?: boolean, showInfo?: boolean, makeResponsive?: boolean): T;
getVideoViewProgressCount(): T;
incrementVideoViewProgressCount(percentageViewed?: number): T;
incrementViewCount(viewOrigin?: number): T;
setPeopleInMedia(loginNames?: Array<string>): T;
setVideoOwner(id?: number): T;
subtitles(): T;
thumbnails(preferredWidth?: number): T;
thumbnailStream(preferredWidth?: number): T;
update(): T;
uploadCustomThumbnail(fileExtension?: string, customVideoThumbnail?: any): T;
}
/*********************************************
* PersonMagazine

@@ -169,5 +197,12 @@ **********************************************/

/*********************************************
* IPointPublishingPost
**********************************************/
export interface IPointPublishingPost extends PointPublishingPostProps,PointPublishingPostMethods,IBaseExecution<PointPublishingPost> {
}
/*********************************************
* PointPublishingPost
**********************************************/
export interface PointPublishingPost {
export interface PointPublishingPost extends PointPublishingPostProps, PointPublishingPostMethods {
Author?: string;

@@ -186,21 +221,21 @@ Content?: string;

/*********************************************
* PointPublishingPostCollections<T = any>
* PointPublishingPostProps
**********************************************/
export interface PointPublishingPostCollections<T = any> {
images(): T;
export interface PointPublishingPostProps {
images<T=SP.File>(): IBaseCollection<T>;
}
/*********************************************
* PointPublishingPostQuery<T = any>
* PointPublishingPostMethods
**********************************************/
export interface PointPublishingPostQuery<T = any> {
images(): T;
export interface PointPublishingPostMethods {
addImageFromUrl<T=string>(fromImageUrl?: string): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
}
/*********************************************
* PointPublishingPostMethods<T = any>
* IPointPublishingPostServiceManager
**********************************************/
export interface PointPublishingPostMethods<T = any> {
addImageFromUrl(fromImageUrl?: string): T;
deleteObject(): T;
export interface IPointPublishingPostServiceManager extends PointPublishingPostServiceManagerProps,PointPublishingPostServiceManagerMethods,IBaseExecution<PointPublishingPostServiceManager> {
}

@@ -211,3 +246,3 @@

**********************************************/
export interface PointPublishingPostServiceManager {
export interface PointPublishingPostServiceManager extends PointPublishingPostServiceManagerProps, PointPublishingPostServiceManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -217,36 +252,31 @@ }

/*********************************************
* PointPublishingPostServiceManagerCollections<T = any>
* PointPublishingPostServiceManagerProps
**********************************************/
export interface PointPublishingPostServiceManagerCollections<T = any> {
bannerimages(): T;
contributors(): T;
creators(): T;
magazineprops(): T;
posts(): T;
viewers(): T;
export interface PointPublishingPostServiceManagerProps {
bannerimages<T=SP.File>(): IBaseCollection<T>;
contributors<T=SP.Publishing.PointPublishingUser>(): IBaseCollection<T>;
creators<T=SP.Publishing.PointPublishingUser>(): IBaseCollection<T>;
magazineprops<T=SP.Publishing.PointPublishingMagazineProps>(): IBaseExecution<T>;
posts<T=SP.Publishing.PointPublishingPost>(): IBaseCollection<T>;
viewers<T=SP.Publishing.PointPublishingUser>(): IBaseCollection<T>;
}
/*********************************************
* PointPublishingPostServiceManagerQuery<T = any>
* PointPublishingPostServiceManagerMethods
**********************************************/
export interface PointPublishingPostServiceManagerQuery<T = any> {
bannerimages(): T;
contributors(): T;
creators(): T;
magazineprops(): T;
posts(): T;
viewers(): T;
export interface PointPublishingPostServiceManagerMethods {
addBannerImageFromUrl<T=string>(fromImageUrl?: string): IBaseExecution<T>;
deleteMagazine<T=any>(): IBaseExecution<T>;
getDocProps<T=Array<SP.Publishing.PointPublishingDocProps>>(docUrls?: Array<string>): IBaseExecution<T>;
getPostsQuery<T=Array<SP.Publishing.PointPublishingPost>>(top?: number, itemIdBoundary?: number, directionAscending?: boolean, publishedOnly?: boolean, draftsOnly?: boolean): IBaseExecution<T>;
getTopAuthors<T=Array<SP.Publishing.PointPublishingUser>>(count?: number): IBaseExecution<T>;
queryGroupNames<T=Array<SP.Publishing.PointPublishingUser>>(query?: string): IBaseExecution<T>;
setMagazineProperties<T=SP.Publishing.PointPublishingMagazineProps>(title?: string, description?: string, bannerImageUrl?: string, bannerColor?: string, bannerPattern?: string): IBaseExecution<T>;
}
/*********************************************
* PointPublishingPostServiceManagerMethods<T = any>
* IPointPublishingUser
**********************************************/
export interface PointPublishingPostServiceManagerMethods<T = any> {
addBannerImageFromUrl(fromImageUrl?: string): T;
deleteMagazine(): T;
getDocProps(docUrls?: Array<string>): T;
getPostsQuery(top?: number, itemIdBoundary?: number, directionAscending?: boolean, publishedOnly?: boolean, draftsOnly?: boolean): T;
getTopAuthors(count?: number): T;
queryGroupNames(query?: string): T;
setMagazineProperties(title?: string, description?: string, bannerImageUrl?: string, bannerColor?: string, bannerPattern?: string): T;
export interface IPointPublishingUser extends PointPublishingUserProps,PointPublishingUserMethods,IBaseExecution<PointPublishingUser> {
}

@@ -257,3 +287,3 @@

**********************************************/
export interface PointPublishingUser {
export interface PointPublishingUser extends PointPublishingUserProps, PointPublishingUserMethods {
AccountName?: string;

@@ -273,12 +303,26 @@ Department?: string;

/*********************************************
* PointPublishingUserMethods<T = any>
* PointPublishingUserProps
**********************************************/
export interface PointPublishingUserMethods<T = any> {
deleteUserFromContainerGroup(): T;
export interface PointPublishingUserProps {
}
/*********************************************
* PointPublishingUserMethods
**********************************************/
export interface PointPublishingUserMethods {
deleteUserFromContainerGroup<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IPointPublishingSiteManager
**********************************************/
export interface IPointPublishingSiteManager extends PointPublishingSiteManagerProps,PointPublishingSiteManagerMethods,IBaseExecution<PointPublishingSiteManager> {
}
/*********************************************
* PointPublishingSiteManager
**********************************************/
export interface PointPublishingSiteManager {
export interface PointPublishingSiteManager extends PointPublishingSiteManagerProps, PointPublishingSiteManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -288,10 +332,17 @@ }

/*********************************************
* PointPublishingSiteManagerMethods<T = any>
* PointPublishingSiteManagerProps
**********************************************/
export interface PointPublishingSiteManagerMethods<T = any> {
create(siteInfo?: SP.Publishing.PublishSiteInformation): T;
getSiteStatus(siteInfo?: SP.Publishing.PublishSiteInformation): T;
export interface PointPublishingSiteManagerProps {
}
/*********************************************
* PointPublishingSiteManagerMethods
**********************************************/
export interface PointPublishingSiteManagerMethods {
create<T=SP.Publishing.PointPublishingSiteStatus>(siteInfo?: SP.Publishing.PublishSiteInformation): IBaseExecution<T>;
getSiteStatus<T=SP.Publishing.PointPublishingSiteStatus>(siteInfo?: SP.Publishing.PublishSiteInformation): IBaseExecution<T>;
}
/*********************************************
* PointPublishingSiteStatus

@@ -307,5 +358,12 @@ **********************************************/

/*********************************************
* IPointPublishingTenantManager
**********************************************/
export interface IPointPublishingTenantManager extends PointPublishingTenantManagerProps,PointPublishingTenantManagerMethods,IBaseExecution<PointPublishingTenantManager> {
}
/*********************************************
* PointPublishingTenantManager
**********************************************/
export interface PointPublishingTenantManager {
export interface PointPublishingTenantManager extends PointPublishingTenantManagerProps, PointPublishingTenantManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -315,9 +373,16 @@ }

/*********************************************
* PointPublishingTenantManagerMethods<T = any>
* PointPublishingTenantManagerProps
**********************************************/
export interface PointPublishingTenantManagerMethods<T = any> {
isBlogEnabled(): T;
export interface PointPublishingTenantManagerProps {
}
/*********************************************
* PointPublishingTenantManagerMethods
**********************************************/
export interface PointPublishingTenantManagerMethods {
isBlogEnabled<T=boolean>(): IBaseExecution<T>;
}
/*********************************************
* PrimaryCityTime

@@ -332,5 +397,12 @@ **********************************************/

/*********************************************
* ISitePageMetadata
**********************************************/
export interface ISitePageMetadata extends SitePageMetadataProps,SitePageMetadataMethods,IBaseExecution<SitePageMetadata> {
}
/*********************************************
* SitePageMetadata
**********************************************/
export interface SitePageMetadata {
export interface SitePageMetadata extends SitePageMetadataProps, SitePageMetadataMethods {
AbsoluteUrl?: string;

@@ -367,15 +439,14 @@ AuthorByline?: Array<string>;

/*********************************************
* SitePageMetadataCollections<T = any>
* SitePageMetadataProps
**********************************************/
export interface SitePageMetadataCollections<T = any> {
CreatedBy(): T;
LastModifiedBy(): T;
export interface SitePageMetadataProps {
CreatedBy<T=SP.Publishing.UserInfo>(): IBaseExecution<T>;
LastModifiedBy<T=SP.Publishing.UserInfo>(): IBaseExecution<T>;
}
/*********************************************
* SitePageMetadataQuery<T = any>
* SitePageMetadataMethods
**********************************************/
export interface SitePageMetadataQuery<T = any> {
CreatedBy(): T;
LastModifiedBy(): T;
export interface SitePageMetadataMethods {
}

@@ -394,5 +465,12 @@

/*********************************************
* ISitePage
**********************************************/
export interface ISitePage extends SitePageProps,SitePageMethods,IBaseExecution<SitePage> {
}
/*********************************************
* SitePage
**********************************************/
export interface SitePage extends SP.Publishing.SitePageMetadata {
export interface SitePage extends SP.Publishing.SitePageMetadata, SitePageProps, SitePageMethods {
AlternativeUrlMap?: string;

@@ -407,25 +485,39 @@ CanvasContent1?: string;

/*********************************************
* SitePageMethods<T = any>
* SitePageProps
**********************************************/
export interface SitePageMethods<T = any> {
checkOut(): T;
checkoutPage(): T;
copy(): T;
demoteFromNews(): T;
discardPage(): T;
getVersion(versionId?: number): T;
promoteToNews(): T;
publish(): T;
saveDraft(sitePage?: SP.Publishing.SitePageFieldsData): T;
savePage(pageStream?: any): T;
savePageAsDraft(pageStream?: any): T;
savePageAsTemplate(): T;
sharePagePreviewByEmail(message?: string, recipientEmails?: Array<string>): T;
update(): T;
export interface SitePageProps {
}
/*********************************************
* SitePageMethods
**********************************************/
export interface SitePageMethods {
checkOut<T=boolean>(): IBaseExecution<T>;
checkoutPage<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
copy<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
demoteFromNews<T=boolean>(): IBaseExecution<T>;
discardPage<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
getVersion<T=SP.Publishing.SitePage>(versionId?: number): IBaseExecution<T>;
promoteToNews<T=boolean>(): IBaseExecution<T>;
publish<T=boolean>(): IBaseExecution<T>;
saveDraft<T=boolean>(sitePage?: SP.Publishing.SitePageFieldsData): IBaseExecution<T>;
savePage<T=any>(pageStream?: any): IBaseExecution<T>;
savePageAsDraft<T=boolean>(pageStream?: any): IBaseExecution<T>;
savePageAsTemplate<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
sharePagePreviewByEmail<T=any>(message?: string, recipientEmails?: Array<string>): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* IRepostPage
**********************************************/
export interface IRepostPage extends RepostPageProps,RepostPageMethods,IBaseExecution<RepostPage> {
}
/*********************************************
* RepostPage
**********************************************/
export interface RepostPage extends SP.Publishing.SitePage {
export interface RepostPage extends SP.Publishing.SitePage, RepostPageProps, RepostPageMethods {
IsBannerImageUrlExternal?: boolean;

@@ -441,22 +533,29 @@ OriginalSourceItemId?: any;

/*********************************************
* RepostPageMethods<T = any>
* RepostPageProps
**********************************************/
export interface RepostPageMethods<T = any> {
checkOut(): T;
checkoutPage(): T;
copy(): T;
demoteFromNews(): T;
discardPage(): T;
getVersion(versionId?: number): T;
promoteToNews(): T;
publish(): T;
saveDraft(sitePage?: SP.Publishing.SitePageFieldsData): T;
savePage(pageStream?: any): T;
savePageAsDraft(pageStream?: any): T;
savePageAsTemplate(): T;
sharePagePreviewByEmail(message?: string, recipientEmails?: Array<string>): T;
update(): T;
export interface RepostPageProps {
}
/*********************************************
* RepostPageMethods
**********************************************/
export interface RepostPageMethods {
checkOut<T=boolean>(): IBaseExecution<T>;
checkoutPage<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
copy<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
demoteFromNews<T=boolean>(): IBaseExecution<T>;
discardPage<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
getVersion<T=SP.Publishing.SitePage>(versionId?: number): IBaseExecution<T>;
promoteToNews<T=boolean>(): IBaseExecution<T>;
publish<T=boolean>(): IBaseExecution<T>;
saveDraft<T=boolean>(sitePage?: SP.Publishing.SitePageFieldsData): IBaseExecution<T>;
savePage<T=any>(pageStream?: any): IBaseExecution<T>;
savePageAsDraft<T=boolean>(pageStream?: any): IBaseExecution<T>;
savePageAsTemplate<T=SP.Publishing.SitePage>(): IBaseExecution<T>;
sharePagePreviewByEmail<T=any>(message?: string, recipientEmails?: Array<string>): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* RepostPageMetadata

@@ -473,5 +572,12 @@ **********************************************/

/*********************************************
* IRichSharing
**********************************************/
export interface IRichSharing extends RichSharingProps,RichSharingMethods,IBaseExecution<RichSharing> {
}
/*********************************************
* RichSharing
**********************************************/
export interface RichSharing {
export interface RichSharing extends RichSharingProps, RichSharingMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -481,13 +587,27 @@ }

/*********************************************
* RichSharingMethods<T = any>
* RichSharingProps
**********************************************/
export interface RichSharingMethods<T = any> {
sharePageByEmail(url?: string, message?: string, recipientEmails?: Array<string>): T;
shareSiteByEmail(CustomDescription?: string, CustomTitle?: string, Message?: string, Url?: string, recipientEmails?: Array<string>): T;
export interface RichSharingProps {
}
/*********************************************
* RichSharingMethods
**********************************************/
export interface RichSharingMethods {
sharePageByEmail<T=any>(url?: string, message?: string, recipientEmails?: Array<string>): IBaseExecution<T>;
shareSiteByEmail<T=any>(CustomDescription?: string, CustomTitle?: string, Message?: string, Url?: string, recipientEmails?: Array<string>): IBaseExecution<T>;
}
/*********************************************
* ISharePointHomeServiceManager
**********************************************/
export interface ISharePointHomeServiceManager extends SharePointHomeServiceManagerProps,SharePointHomeServiceManagerMethods,IBaseExecution<SharePointHomeServiceManager> {
}
/*********************************************
* SharePointHomeServiceManager
**********************************************/
export interface SharePointHomeServiceManager {
export interface SharePointHomeServiceManager extends SharePointHomeServiceManagerProps, SharePointHomeServiceManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -497,12 +617,26 @@ }

/*********************************************
* SharePointHomeServiceManagerMethods<T = any>
* SharePointHomeServiceManagerProps
**********************************************/
export interface SharePointHomeServiceManagerMethods<T = any> {
getAcronymsAndColors(labels?: Array<SP.Publishing.TextValueWithLanguage>): T;
export interface SharePointHomeServiceManagerProps {
}
/*********************************************
* SharePointHomeServiceManagerMethods
**********************************************/
export interface SharePointHomeServiceManagerMethods {
getAcronymsAndColors<T=Array<SP.Publishing.AcronymInformation>>(labels?: Array<SP.Publishing.TextValueWithLanguage>): IBaseExecution<T>;
}
/*********************************************
* ISitePageService
**********************************************/
export interface ISitePageService extends SitePageServiceProps,SitePageServiceMethods,IBaseExecution<SitePageService> {
}
/*********************************************
* SitePageService
**********************************************/
export interface SitePageService {
export interface SitePageService extends SitePageServiceProps, SitePageServiceMethods {
CustomContentApprovalEnabled?: boolean;

@@ -512,25 +646,24 @@ }

/*********************************************
* SitePageServiceCollections<T = any>
* SitePageServiceProps
**********************************************/
export interface SitePageServiceCollections<T = any> {
CommunicationSite(): T;
Pages(): T;
export interface SitePageServiceProps {
CommunicationSite<T=SP.Publishing.CommunicationSite>(): IBaseExecution<T>;
Pages<T=SP.Publishing.SitePage>(): IBaseCollection<T>;
}
/*********************************************
* SitePageServiceQuery<T = any>
* SitePageServiceMethods
**********************************************/
export interface SitePageServiceQuery<T = any> {
CommunicationSite(): T;
Pages(): T;
export interface SitePageServiceMethods {
addImage<T=SP.File>(pageName?: string, imageFileName?: string, imageStream?: any): IBaseExecution<T>;
addImageFromExternalUrl<T=SP.File>(pageName?: string, imageFileName?: string, externalUrl?: string, subFolderName?: string): IBaseExecution<T>;
canCreatePromotedPage<T=boolean>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* SitePageServiceMethods<T = any>
* ISpotlightChannel
**********************************************/
export interface SitePageServiceMethods<T = any> {
addImage(pageName?: string, imageFileName?: string, imageStream?: any): T;
addImageFromExternalUrl(pageName?: string, imageFileName?: string, externalUrl?: string, subFolderName?: string): T;
canCreatePromotedPage(): T;
update(): T;
export interface ISpotlightChannel extends SpotlightChannelProps,SpotlightChannelMethods,IBaseExecution<SpotlightChannel> {
}

@@ -541,3 +674,3 @@

**********************************************/
export interface SpotlightChannel {
export interface SpotlightChannel extends SpotlightChannelProps, SpotlightChannelMethods {
ChannelId?: any;

@@ -551,21 +684,21 @@ Id?: number;

/*********************************************
* SpotlightChannelCollections<T = any>
* SpotlightChannelProps
**********************************************/
export interface SpotlightChannelCollections<T = any> {
Channel(): T;
export interface SpotlightChannelProps {
Channel<T=SP.Publishing.VideoChannel>(): IBaseExecution<T>;
}
/*********************************************
* SpotlightChannelQuery<T = any>
* SpotlightChannelMethods
**********************************************/
export interface SpotlightChannelQuery<T = any> {
Channel(): T;
export interface SpotlightChannelMethods {
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* SpotlightChannelMethods<T = any>
* IVideoChannel
**********************************************/
export interface SpotlightChannelMethods<T = any> {
deleteObject(): T;
update(): T;
export interface IVideoChannel extends VideoChannelProps,VideoChannelMethods,IBaseExecution<VideoChannel> {
}

@@ -576,3 +709,3 @@

**********************************************/
export interface VideoChannel {
export interface VideoChannel extends VideoChannelProps, VideoChannelMethods {
CanAdministrateByCurrent?: boolean;

@@ -595,29 +728,27 @@ CanEditByCurrent?: boolean;

/*********************************************
* VideoChannelCollections<T = any>
* VideoChannelProps
**********************************************/
export interface VideoChannelCollections<T = any> {
Search(): T;
SpotlightVideos(): T;
Videos(): T;
export interface VideoChannelProps {
Search<T=SP.Publishing.Search>(): IBaseExecution<T>;
SpotlightVideos<T=SP.Publishing.SpotlightVideo>(): IBaseCollection<T>;
Videos<T=SP.Publishing.VideoItem>(): IBaseCollection<T>;
}
/*********************************************
* VideoChannelQuery<T = any>
* VideoChannelMethods
**********************************************/
export interface VideoChannelQuery<T = any> {
Search(): T;
SpotlightVideos(): T;
Videos(): T;
export interface VideoChannelMethods {
getAllVideos<T=Array<SP.Publishing.VideoItem>>(skip?: number, limit?: number): IBaseExecution<T>;
getChannelPageUrl<T=string>(viewMode?: number): IBaseExecution<T>;
getMyVideos<T=Array<SP.Publishing.VideoItem>>(skip?: number, limit?: number): IBaseExecution<T>;
getPermissionGroup<T=SP.Publishing.VideoPermissionGroup>(permission?: number): IBaseExecution<T>;
getVideoCount<T=number>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* VideoChannelMethods<T = any>
* ISearch
**********************************************/
export interface VideoChannelMethods<T = any> {
getAllVideos(skip?: number, limit?: number): T;
getChannelPageUrl(viewMode?: number): T;
getMyVideos(skip?: number, limit?: number): T;
getPermissionGroup(permission?: number): T;
getVideoCount(): T;
update(): T;
export interface ISearch extends SearchProps,SearchMethods,IBaseExecution<Search> {
}

@@ -628,3 +759,3 @@

**********************************************/
export interface Search {
export interface Search extends SearchProps, SearchMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -635,16 +766,30 @@ QueryLanguages?: Array<number>;

/*********************************************
* SearchMethods<T = any>
* SearchProps
**********************************************/
export interface SearchMethods<T = any> {
newest(startItemIndex?: number, itemLimit?: number): T;
popular(startItemIndex?: number, itemLimit?: number): T;
query(queryText?: string, startItemIndex?: number, itemLimit?: number, culture?: number): T;
queryChannels(queryText?: string, startItemIndex?: number, itemLimit?: number, culture?: number): T;
related(videoId?: any, startItemIndex?: number, itemLimit?: number): T;
export interface SearchProps {
}
/*********************************************
* SearchMethods
**********************************************/
export interface SearchMethods {
newest<T=Array<SP.Publishing.VideoItem>>(startItemIndex?: number, itemLimit?: number): IBaseExecution<T>;
popular<T=Array<SP.Publishing.VideoItem>>(startItemIndex?: number, itemLimit?: number): IBaseExecution<T>;
query<T=Array<SP.Publishing.VideoItem>>(queryText?: string, startItemIndex?: number, itemLimit?: number, culture?: number): IBaseExecution<T>;
queryChannels<T=Array<SP.Publishing.VideoChannel>>(queryText?: string, startItemIndex?: number, itemLimit?: number, culture?: number): IBaseExecution<T>;
related<T=Array<SP.Publishing.VideoItem>>(videoId?: any, startItemIndex?: number, itemLimit?: number): IBaseExecution<T>;
}
/*********************************************
* ISpotlightVideo
**********************************************/
export interface ISpotlightVideo extends SpotlightVideoProps,SpotlightVideoMethods,IBaseExecution<SpotlightVideo> {
}
/*********************************************
* SpotlightVideo
**********************************************/
export interface SpotlightVideo {
export interface SpotlightVideo extends SpotlightVideoProps, SpotlightVideoMethods {
Id?: number;

@@ -656,24 +801,17 @@ ServerRelativeUrl?: string;

/*********************************************
* SpotlightVideoCollections<T = any>
* SpotlightVideoProps
**********************************************/
export interface SpotlightVideoCollections<T = any> {
Video(): T;
export interface SpotlightVideoProps {
Video<T=SP.Publishing.VideoItem>(): IBaseExecution<T>;
}
/*********************************************
* SpotlightVideoQuery<T = any>
* SpotlightVideoMethods
**********************************************/
export interface SpotlightVideoQuery<T = any> {
Video(): T;
export interface SpotlightVideoMethods {
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* SpotlightVideoMethods<T = any>
**********************************************/
export interface SpotlightVideoMethods<T = any> {
deleteObject(): T;
update(): T;
}
/*********************************************
* SubtitleFile

@@ -688,27 +826,27 @@ **********************************************/

/*********************************************
* VideoPermissionGroup
* IVideoPermissionGroup
**********************************************/
export interface VideoPermissionGroup {
Id?: number;
export interface IVideoPermissionGroup extends VideoPermissionGroupProps,VideoPermissionGroupMethods,IBaseExecution<VideoPermissionGroup> {
}
/*********************************************
* VideoPermissionGroupCollections<T = any>
* VideoPermissionGroup
**********************************************/
export interface VideoPermissionGroupCollections<T = any> {
Users(): T;
export interface VideoPermissionGroup extends VideoPermissionGroupProps, VideoPermissionGroupMethods {
Id?: number;
}
/*********************************************
* VideoPermissionGroupQuery<T = any>
* VideoPermissionGroupProps
**********************************************/
export interface VideoPermissionGroupQuery<T = any> {
Users(): T;
export interface VideoPermissionGroupProps {
Users<T=SP.User>(): IBaseCollection<T>;
}
/*********************************************
* VideoPermissionGroupMethods<T = any>
* VideoPermissionGroupMethods
**********************************************/
export interface VideoPermissionGroupMethods<T = any> {
hasCurrentUser(): T;
export interface VideoPermissionGroupMethods {
hasCurrentUser<T=boolean>(): IBaseExecution<T>;
}

@@ -743,5 +881,12 @@

/*********************************************
* IVideoServiceManager
**********************************************/
export interface IVideoServiceManager extends VideoServiceManagerProps,VideoServiceManagerMethods,IBaseExecution<VideoServiceManager> {
}
/*********************************************
* VideoServiceManager
**********************************************/
export interface VideoServiceManager {
export interface VideoServiceManager extends VideoServiceManagerProps, VideoServiceManagerMethods {
CanAdministratePortalByCurrent?: boolean;

@@ -755,32 +900,21 @@ CanCreateChannelsByCurrent?: boolean;

/*********************************************
* VideoServiceManagerCollections<T = any>
* VideoServiceManagerProps
**********************************************/
export interface VideoServiceManagerCollections<T = any> {
CanEditChannels(): T;
Channels(): T;
Search(): T;
SpotlightChannels(): T;
SpotlightVideos(): T;
export interface VideoServiceManagerProps {
CanEditChannels<T=SP.Publishing.VideoChannel>(): IBaseCollection<T>;
Channels<T=SP.Publishing.VideoChannel>(): IBaseCollection<T>;
Search<T=SP.Publishing.Search>(): IBaseExecution<T>;
SpotlightChannels<T=SP.Publishing.SpotlightChannel>(): IBaseCollection<T>;
SpotlightVideos<T=SP.Publishing.SpotlightVideo>(): IBaseCollection<T>;
}
/*********************************************
* VideoServiceManagerQuery<T = any>
* VideoServiceManagerMethods
**********************************************/
export interface VideoServiceManagerQuery<T = any> {
CanEditChannels(): T;
Channels(): T;
Search(): T;
SpotlightChannels(): T;
SpotlightVideos(): T;
export interface VideoServiceManagerMethods {
getChannels<T=Array<SP.Publishing.VideoChannel>>(startIndex?: number, limit?: number): IBaseExecution<T>;
getPermissionGroup<T=SP.Publishing.VideoPermissionGroup>(permission?: number): IBaseExecution<T>;
}
/*********************************************
* VideoServiceManagerMethods<T = any>
**********************************************/
export interface VideoServiceManagerMethods<T = any> {
getChannels(startIndex?: number, limit?: number): T;
getPermissionGroup(permission?: number): T;
}
/*********************************************
* VideoThumbnail

@@ -793,1 +927,86 @@ **********************************************/

}
/*********************************************
* IPointPublishingUserCollection
**********************************************/
export interface IPointPublishingUserCollection extends PointPublishingUserCollectionProps,PointPublishingUserCollectionMethods,IBaseExecution<PointPublishingUserCollection> {
}
/*********************************************
* PointPublishingUserCollection
**********************************************/
export interface PointPublishingUserCollection extends PointPublishingUserCollectionProps, PointPublishingUserCollectionMethods {
}
/*********************************************
* PointPublishingUserCollectionProps
**********************************************/
export interface PointPublishingUserCollectionProps {
}
/*********************************************
* PointPublishingUserCollectionMethods
**********************************************/
export interface PointPublishingUserCollectionMethods {
addOrUpdateUser<T=SP.Publishing.PointPublishingUser>(loginName?: string, isOwner?: boolean): IBaseExecution<T>;
getById<T=SP.Publishing.PointPublishingUser>(userId?: number): IBaseExecution<T>;
}
/*********************************************
* ISitePageMetadataCollection
**********************************************/
export interface ISitePageMetadataCollection extends SitePageMetadataCollectionProps,SitePageMetadataCollectionMethods,IBaseExecution<SitePageMetadataCollection> {
}
/*********************************************
* SitePageMetadataCollection
**********************************************/
export interface SitePageMetadataCollection extends SitePageMetadataCollectionProps, SitePageMetadataCollectionMethods {
}
/*********************************************
* SitePageMetadataCollectionProps
**********************************************/
export interface SitePageMetadataCollectionProps {
}
/*********************************************
* SitePageMetadataCollectionMethods
**********************************************/
export interface SitePageMetadataCollectionMethods {
getById<T=SP.Publishing.SitePageMetadata>(id?: number): IBaseExecution<T>;
}
/*********************************************
* IVideoItemCollection
**********************************************/
export interface IVideoItemCollection extends VideoItemCollectionProps,VideoItemCollectionMethods,IBaseExecution<VideoItemCollection> {
}
/*********************************************
* VideoItemCollection
**********************************************/
export interface VideoItemCollection extends VideoItemCollectionProps, VideoItemCollectionMethods {
}
/*********************************************
* VideoItemCollectionProps
**********************************************/
export interface VideoItemCollectionProps {
}
/*********************************************
* VideoItemCollectionMethods
**********************************************/
export interface VideoItemCollectionMethods {
getById<T=SP.Publishing.VideoItem>(id?: any): IBaseExecution<T>;
}
import { SP } from "../../";
import { IBaseCollection } from "../../";

@@ -50,5 +51,12 @@ /*********************************************

/*********************************************
* ISharingInformation
**********************************************/
export interface ISharingInformation extends SharingInformationProps,SharingInformationMethods,IBaseExecution<SharingInformation> {
}
/*********************************************
* SharingInformation
**********************************************/
export interface SharingInformation {
export interface SharingInformation extends SharingInformationProps, SharingInformationMethods {
accessRequestSettings?: SP.Sharing.AccessRequestSettings;

@@ -82,13 +90,13 @@ anonymousLinkExpirationRestrictionDays?: number;

/*********************************************
* SharingInformationCollections<T = any>
* SharingInformationProps
**********************************************/
export interface SharingInformationCollections<T = any> {
pickerSettings(): T;
export interface SharingInformationProps {
pickerSettings<T=SP.PickerSettings>(): IBaseExecution<T>;
}
/*********************************************
* SharingInformationQuery<T = any>
* SharingInformationMethods
**********************************************/
export interface SharingInformationQuery<T = any> {
pickerSettings(): T;
export interface SharingInformationMethods {
}

@@ -95,0 +103,0 @@

import { SP } from "../../";
import { IBaseExecution } from "../../";

@@ -11,5 +12,12 @@ /*********************************************

/*********************************************
* ISocialFeedManager
**********************************************/
export interface ISocialFeedManager extends SocialFeedManagerProps,SocialFeedManagerMethods,IBaseExecution<SocialFeedManager> {
}
/*********************************************
* SocialFeedManager
**********************************************/
export interface SocialFeedManager {
export interface SocialFeedManager extends SocialFeedManagerProps, SocialFeedManagerMethods {
Owner?: SP.Social.SocialActor;

@@ -20,28 +28,42 @@ PersonalSitePortalUri?: string;

/*********************************************
* SocialFeedManagerMethods<T = any>
* SocialFeedManagerProps
**********************************************/
export interface SocialFeedManagerMethods<T = any> {
createFileAttachment(name?: string, description?: string, fileData?: any): T;
createImageAttachment(name?: string, description?: string, imageData?: any): T;
createPost(targetId?: string, creationData?: SP.Social.SocialPostCreationData): T;
deletePost(postId?: string): T;
getAllLikers(postId?: string): T;
getFeed(type?: number, options?: SP.Social.SocialFeedOptions): T;
getFeedFor(actorId?: string, options?: SP.Social.SocialFeedOptions): T;
getFullThread(threadId?: string): T;
getMentions(clearUnreadMentions?: boolean, options?: SP.Social.SocialFeedOptions): T;
getPreview(itemUrl?: string): T;
getPreviewImage(url?: string, key?: string, iv?: string): T;
getUnreadMentionCount(): T;
likePost(postId?: string): T;
lockThread(threadId?: string): T;
suppressThreadNotifications(threadId?: string): T;
unlikePost(postId?: string): T;
unlockThread(threadId?: string): T;
export interface SocialFeedManagerProps {
}
/*********************************************
* SocialFeedManagerMethods
**********************************************/
export interface SocialFeedManagerMethods {
createFileAttachment<T=SP.Social.SocialAttachment>(name?: string, description?: string, fileData?: any): IBaseExecution<T>;
createImageAttachment<T=SP.Social.SocialAttachment>(name?: string, description?: string, imageData?: any): IBaseExecution<T>;
createPost<T=SP.Social.SocialThread>(targetId?: string, creationData?: SP.Social.SocialPostCreationData): IBaseExecution<T>;
deletePost<T=SP.Social.SocialThread>(postId?: string): IBaseExecution<T>;
getAllLikers<T=Array<SP.Social.SocialActor>>(postId?: string): IBaseExecution<T>;
getFeed<T=SP.Social.SocialFeed>(type?: number, options?: SP.Social.SocialFeedOptions): IBaseExecution<T>;
getFeedFor<T=SP.Social.SocialFeed>(actorId?: string, options?: SP.Social.SocialFeedOptions): IBaseExecution<T>;
getFullThread<T=SP.Social.SocialThread>(threadId?: string): IBaseExecution<T>;
getMentions<T=SP.Social.SocialFeed>(clearUnreadMentions?: boolean, options?: SP.Social.SocialFeedOptions): IBaseExecution<T>;
getPreview<T=SP.Social.SocialAttachment>(itemUrl?: string): IBaseExecution<T>;
getPreviewImage<T=any>(url?: string, key?: string, iv?: string): IBaseExecution<T>;
getUnreadMentionCount<T=number>(): IBaseExecution<T>;
likePost<T=SP.Social.SocialThread>(postId?: string): IBaseExecution<T>;
lockThread<T=SP.Social.SocialThread>(threadId?: string): IBaseExecution<T>;
suppressThreadNotifications<T=any>(threadId?: string): IBaseExecution<T>;
unlikePost<T=SP.Social.SocialThread>(postId?: string): IBaseExecution<T>;
unlockThread<T=SP.Social.SocialThread>(threadId?: string): IBaseExecution<T>;
}
/*********************************************
* ISocialFollowingManager
**********************************************/
export interface ISocialFollowingManager extends SocialFollowingManagerProps,SocialFollowingManagerMethods,IBaseExecution<SocialFollowingManager> {
}
/*********************************************
* SocialFollowingManager
**********************************************/
export interface SocialFollowingManager {
export interface SocialFollowingManager extends SocialFollowingManagerProps, SocialFollowingManagerMethods {
FollowedDocumentsUri?: string;

@@ -52,18 +74,32 @@ FollowedSitesUri?: string;

/*********************************************
* SocialFollowingManagerMethods<T = any>
* SocialFollowingManagerProps
**********************************************/
export interface SocialFollowingManagerMethods<T = any> {
follow(actor?: SP.Social.SocialActorInfo): T;
getFollowed(types?: number): T;
getFollowedCount(types?: number): T;
getFollowers(): T;
getSuggestions(): T;
isFollowed(actor?: SP.Social.SocialActorInfo): T;
stopFollowing(actor?: SP.Social.SocialActorInfo): T;
export interface SocialFollowingManagerProps {
}
/*********************************************
* SocialFollowingManagerMethods
**********************************************/
export interface SocialFollowingManagerMethods {
follow<T=number>(actor?: SP.Social.SocialActorInfo): IBaseExecution<T>;
getFollowed<T=Array<SP.Social.SocialActor>>(types?: number): IBaseExecution<T>;
getFollowedCount<T=number>(types?: number): IBaseExecution<T>;
getFollowers<T=Array<SP.Social.SocialActor>>(): IBaseExecution<T>;
getSuggestions<T=Array<SP.Social.SocialActor>>(): IBaseExecution<T>;
isFollowed<T=boolean>(actor?: SP.Social.SocialActorInfo): IBaseExecution<T>;
stopFollowing<T=boolean>(actor?: SP.Social.SocialActorInfo): IBaseExecution<T>;
}
/*********************************************
* ISocialRestActor
**********************************************/
export interface ISocialRestActor extends SocialRestActorProps,SocialRestActorMethods,IBaseExecution<SocialRestActor> {
}
/*********************************************
* SocialRestActor
**********************************************/
export interface SocialRestActor {
export interface SocialRestActor extends SocialRestActorProps, SocialRestActorMethods {
FollowableItem?: string;

@@ -75,18 +111,32 @@ FollowableItemActor?: SP.Social.SocialActor;

/*********************************************
* SocialRestActorMethods<T = any>
* SocialRestActorProps
**********************************************/
export interface SocialRestActorMethods<T = any> {
feed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
likes(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
mentionFeed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
news(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
organizationFeed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
timelineFeed(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
unreadMentionCount(): T;
export interface SocialRestActorProps {
}
/*********************************************
* SocialRestActorMethods
**********************************************/
export interface SocialRestActorMethods {
feed<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
likes<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
mentionFeed<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
news<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
organizationFeed<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
timelineFeed<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
unreadMentionCount<T=number>(): IBaseExecution<T>;
}
/*********************************************
* ISocialRestFeedManager
**********************************************/
export interface ISocialRestFeedManager extends SocialRestFeedManagerProps,SocialRestFeedManagerMethods,IBaseExecution<SocialRestFeedManager> {
}
/*********************************************
* SocialRestFeedManager
**********************************************/
export interface SocialRestFeedManager {
export interface SocialRestFeedManager extends SocialRestFeedManagerProps, SocialRestFeedManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -96,14 +146,28 @@ }

/*********************************************
* SocialRestFeedManagerMethods<T = any>
* SocialRestFeedManagerProps
**********************************************/
export interface SocialRestFeedManagerMethods<T = any> {
actor(item?: string): T;
my(): T;
post(ID?: string): T;
export interface SocialRestFeedManagerProps {
}
/*********************************************
* SocialRestFeedManagerMethods
**********************************************/
export interface SocialRestFeedManagerMethods {
actor<T=SP.Social.SocialRestActor>(item?: string): IBaseExecution<T>;
my<T=SP.Social.SocialRestActor>(): IBaseExecution<T>;
post<T=SP.Social.SocialRestThread>(ID?: string): IBaseExecution<T>;
}
/*********************************************
* ISocialRestFeed
**********************************************/
export interface ISocialRestFeed extends SocialRestFeedProps,SocialRestFeedMethods,IBaseExecution<SocialRestFeed> {
}
/*********************************************
* SocialRestFeed
**********************************************/
export interface SocialRestFeed {
export interface SocialRestFeed extends SocialRestFeedProps, SocialRestFeedMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -114,13 +178,27 @@ SocialFeed?: SP.Social.SocialFeed;

/*********************************************
* SocialRestFeedMethods<T = any>
* SocialRestFeedProps
**********************************************/
export interface SocialRestFeedMethods<T = any> {
clearUnReadMentionCount(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): T;
post(restCreationData?: SP.Social.SocialRestPostCreationData): T;
export interface SocialRestFeedProps {
}
/*********************************************
* SocialRestFeedMethods
**********************************************/
export interface SocialRestFeedMethods {
clearUnReadMentionCount<T=SP.Social.SocialRestFeed>(MaxThreadCount?: number, NewerThan?: any, OlderThan?: any, SortOrder?: number): IBaseExecution<T>;
post<T=SP.Social.SocialRestThread>(restCreationData?: SP.Social.SocialRestPostCreationData): IBaseExecution<T>;
}
/*********************************************
* ISocialRestFollowingManager
**********************************************/
export interface ISocialRestFollowingManager extends SocialRestFollowingManagerProps,SocialRestFollowingManagerMethods,IBaseExecution<SocialRestFollowingManager> {
}
/*********************************************
* SocialRestFollowingManager
**********************************************/
export interface SocialRestFollowingManager {
export interface SocialRestFollowingManager extends SocialRestFollowingManagerProps, SocialRestFollowingManagerMethods {
FollowedDocumentsUri?: string;

@@ -134,19 +212,33 @@ FollowedSitesUri?: string;

/*********************************************
* SocialRestFollowingManagerMethods<T = any>
* SocialRestFollowingManagerProps
**********************************************/
export interface SocialRestFollowingManagerMethods<T = any> {
follow(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): T;
followed(types?: number): T;
followedCount(types?: number): T;
followers(): T;
isFollowed(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): T;
my(): T;
stopFollowing(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): T;
suggestions(): T;
export interface SocialRestFollowingManagerProps {
}
/*********************************************
* SocialRestFollowingManagerMethods
**********************************************/
export interface SocialRestFollowingManagerMethods {
follow<T=number>(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): IBaseExecution<T>;
followed<T=Array<SP.Social.SocialActor>>(types?: number): IBaseExecution<T>;
followedCount<T=number>(types?: number): IBaseExecution<T>;
followers<T=Array<SP.Social.SocialActor>>(): IBaseExecution<T>;
isFollowed<T=boolean>(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): IBaseExecution<T>;
my<T=SP.Social.SocialRestFollowingManager>(): IBaseExecution<T>;
stopFollowing<T=any>(AccountName?: string, ActorType?: number, ContentUri?: string, Id?: string, TagGuid?: any): IBaseExecution<T>;
suggestions<T=Array<SP.Social.SocialActor>>(): IBaseExecution<T>;
}
/*********************************************
* ISocialRestThread
**********************************************/
export interface ISocialRestThread extends SocialRestThreadProps,SocialRestThreadMethods,IBaseExecution<SocialRestThread> {
}
/*********************************************
* SocialRestThread
**********************************************/
export interface SocialRestThread {
export interface SocialRestThread extends SocialRestThreadProps, SocialRestThreadMethods {
ID?: string;

@@ -157,12 +249,19 @@ SocialThread?: SP.Social.SocialThread;

/*********************************************
* SocialRestThreadMethods<T = any>
* SocialRestThreadProps
**********************************************/
export interface SocialRestThreadMethods<T = any> {
delete(ID?: string): T;
like(ID?: string): T;
likers(ID?: string): T;
lock(ID?: string): T;
reply(restCreationData?: SP.Social.SocialRestPostCreationData): T;
unLike(ID?: string): T;
unLock(ID?: string): T;
export interface SocialRestThreadProps {
}
/*********************************************
* SocialRestThreadMethods
**********************************************/
export interface SocialRestThreadMethods {
delete<T=any>(ID?: string): IBaseExecution<T>;
like<T=SP.Social.SocialRestThread>(ID?: string): IBaseExecution<T>;
likers<T=Array<SP.Social.SocialActor>>(ID?: string): IBaseExecution<T>;
lock<T=SP.Social.SocialRestThread>(ID?: string): IBaseExecution<T>;
reply<T=SP.Social.SocialRestThread>(restCreationData?: SP.Social.SocialRestPostCreationData): IBaseExecution<T>;
unLike<T=SP.Social.SocialRestThread>(ID?: string): IBaseExecution<T>;
unLock<T=SP.Social.SocialRestThread>(ID?: string): IBaseExecution<T>;
}
import { SP } from "../../";
import { IBaseExecution } from "../../";
/*********************************************
* ITaxonomyField
**********************************************/
export interface ITaxonomyField extends TaxonomyFieldProps,TaxonomyFieldMethods,IBaseExecution<TaxonomyField> {
}
/*********************************************
* TaxonomyField
**********************************************/
export interface TaxonomyField extends SP.FieldLookup {
export interface TaxonomyField extends SP.FieldLookup, TaxonomyFieldProps, TaxonomyFieldMethods {
AnchorId?: any;

@@ -22,9 +30,16 @@ CreateValuesInEditForm?: boolean;

/*********************************************
* TaxonomyFieldMethods<T = any>
* TaxonomyFieldProps
**********************************************/
export interface TaxonomyFieldMethods<T = any> {
deleteObject(): T;
setShowInDisplayForm(value?: boolean): T;
setShowInEditForm(value?: boolean): T;
setShowInNewForm(value?: boolean): T;
export interface TaxonomyFieldProps {
}
/*********************************************
* TaxonomyFieldMethods
**********************************************/
export interface TaxonomyFieldMethods {
deleteObject<T=any>(): IBaseExecution<T>;
setShowInDisplayForm<T=any>(value?: boolean): IBaseExecution<T>;
setShowInEditForm<T=any>(value?: boolean): IBaseExecution<T>;
setShowInNewForm<T=any>(value?: boolean): IBaseExecution<T>;
}

@@ -0,7 +1,14 @@

import { IBaseExecution } from "../../";
/*********************************************
* ISyncTranslator
**********************************************/
export interface ISyncTranslator extends SyncTranslatorProps,SyncTranslatorMethods,IBaseExecution<SyncTranslator> {
}
/*********************************************
* SyncTranslator
**********************************************/
export interface SyncTranslator {
export interface SyncTranslator extends SyncTranslatorProps, SyncTranslatorMethods {
OutputSaveBehavior?: number;

@@ -11,13 +18,27 @@ }

/*********************************************
* SyncTranslatorMethods<T = any>
* SyncTranslatorProps
**********************************************/
export interface SyncTranslatorMethods<T = any> {
translate(inputFile?: string, outputFile?: string): T;
translateStream(inputFile?: any, fileExtension?: string): T;
export interface SyncTranslatorProps {
}
/*********************************************
* SyncTranslatorMethods
**********************************************/
export interface SyncTranslatorMethods {
translate<T=SP.Translation.TranslationItemInfo>(inputFile?: string, outputFile?: string): IBaseExecution<T>;
translateStream<T=any>(inputFile?: any, fileExtension?: string): IBaseExecution<T>;
}
/*********************************************
* ITranslationJob
**********************************************/
export interface ITranslationJob extends TranslationJobProps,TranslationJobMethods,IBaseExecution<TranslationJob> {
}
/*********************************************
* TranslationJob
**********************************************/
export interface TranslationJob {
export interface TranslationJob extends TranslationJobProps, TranslationJobMethods {
JobId?: any;

@@ -29,14 +50,28 @@ Name?: string;

/*********************************************
* TranslationJobMethods<T = any>
* TranslationJobProps
**********************************************/
export interface TranslationJobMethods<T = any> {
translateFile(inputFile?: string, outputFile?: string): T;
translateFolder(inputFolder?: string, outputFolder?: string, recursion?: boolean): T;
translateLibrary(inputLibrary?: string, outputLibrary?: string): T;
export interface TranslationJobProps {
}
/*********************************************
* TranslationJobMethods
**********************************************/
export interface TranslationJobMethods {
translateFile<T=any>(inputFile?: string, outputFile?: string): IBaseExecution<T>;
translateFolder<T=any>(inputFolder?: string, outputFolder?: string, recursion?: boolean): IBaseExecution<T>;
translateLibrary<T=any>(inputLibrary?: string, outputLibrary?: string): IBaseExecution<T>;
}
/*********************************************
* ITranslationJobStatus
**********************************************/
export interface ITranslationJobStatus extends TranslationJobStatusProps,TranslationJobStatusMethods,IBaseExecution<TranslationJobStatus> {
}
/*********************************************
* TranslationJobStatus
**********************************************/
export interface TranslationJobStatus {
export interface TranslationJobStatus extends TranslationJobStatusProps, TranslationJobStatusMethods {
Canceled?: number;

@@ -52,9 +87,16 @@ Count?: number;

/*********************************************
* TranslationJobStatusMethods<T = any>
* TranslationJobStatusProps
**********************************************/
export interface TranslationJobStatusMethods<T = any> {
getAllItems(): T;
export interface TranslationJobStatusProps {
}
/*********************************************
* TranslationJobStatusMethods
**********************************************/
export interface TranslationJobStatusMethods {
getAllItems<T=Array<SP.Translation.TranslationItemInfo>>(): IBaseExecution<T>;
}
/*********************************************
* VariationsTranslationTimerJob

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

@@ -0,2 +1,4 @@

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

@@ -11,5 +13,12 @@ /*********************************************

/*********************************************
* IFollowedContent
**********************************************/
export interface IFollowedContent extends FollowedContentProps,FollowedContentMethods,IBaseExecution<FollowedContent> {
}
/*********************************************
* FollowedContent
**********************************************/
export interface FollowedContent {
export interface FollowedContent extends FollowedContentProps, FollowedContentMethods {
FollowedDocumentsUrl?: string;

@@ -20,21 +29,28 @@ FollowedSitesUrl?: string;

/*********************************************
* FollowedContentMethods<T = any>
* FollowedContentProps
**********************************************/
export interface FollowedContentMethods<T = any> {
findAndUpdateFollowedGroup(groupId?: any): T;
findAndUpdateFollowedItem(url?: string): T;
followItem(item?: SP.UserProfiles.FollowedItem): T;
getFollowedStatus(url?: string): T;
getGroups(rowLimit?: number): T;
getItem(url?: string): T;
getItems(options?: number, subtype?: number): T;
hasGroupMembershipChangedAndSyncChanges(): T;
isFollowed(url?: string): T;
refreshFollowedItem(item?: SP.UserProfiles.FollowedItem): T;
setItemPinState(uri?: string, groupId?: any, pinState?: number): T;
stopFollowing(url?: string): T;
updateFollowedGroupForUser(contextUri?: string, groupId?: any, loginName?: string): T;
export interface FollowedContentProps {
}
/*********************************************
* FollowedContentMethods
**********************************************/
export interface FollowedContentMethods {
findAndUpdateFollowedGroup<T=SP.UserProfiles.FollowedItem>(groupId?: any): IBaseExecution<T>;
findAndUpdateFollowedItem<T=SP.UserProfiles.FollowedItem>(url?: string): IBaseExecution<T>;
followItem<T=SP.UserProfiles.FollowResult>(item?: SP.UserProfiles.FollowedItem): IBaseExecution<T>;
getFollowedStatus<T=number>(url?: string): IBaseExecution<T>;
getGroups<T=Array<SP.UserProfiles.FollowedItem>>(rowLimit?: number): IBaseExecution<T>;
getItem<T=SP.UserProfiles.FollowedItem>(url?: string): IBaseExecution<T>;
getItems<T=Array<SP.UserProfiles.FollowedItem>>(options?: number, subtype?: number): IBaseExecution<T>;
hasGroupMembershipChangedAndSyncChanges<T=boolean>(): IBaseExecution<T>;
isFollowed<T=boolean>(url?: string): IBaseExecution<T>;
refreshFollowedItem<T=SP.UserProfiles.FollowedItem>(item?: SP.UserProfiles.FollowedItem): IBaseExecution<T>;
setItemPinState<T=SP.UserProfiles.FollowResult>(uri?: string, groupId?: any, pinState?: number): IBaseExecution<T>;
stopFollowing<T=any>(url?: string): IBaseExecution<T>;
updateFollowedGroupForUser<T=any>(contextUri?: string, groupId?: any, loginName?: string): IBaseExecution<T>;
}
/*********************************************
* FollowedItemData

@@ -56,5 +72,12 @@ **********************************************/

/*********************************************
* IPeopleManager
**********************************************/
export interface IPeopleManager extends PeopleManagerProps,PeopleManagerMethods,IBaseExecution<PeopleManager> {
}
/*********************************************
* PeopleManager
**********************************************/
export interface PeopleManager {
export interface PeopleManager extends PeopleManagerProps, PeopleManagerMethods {
EditProfileLink?: string;

@@ -65,35 +88,49 @@ IsMyPeopleListPublic?: boolean;

/*********************************************
* PeopleManagerMethods<T = any>
* PeopleManagerProps
**********************************************/
export interface PeopleManagerMethods<T = any> {
amIFollowedBy(accountName?: string): T;
amIFollowing(accountName?: string): T;
follow(accountName?: string): T;
followTag(value?: any): T;
getDefaultDocumentLibrary(accountName?: string, createSiteIfNotExists?: boolean, siteCreationPriority?: number): T;
getFollowedTags(cTagsToFetch?: number): T;
getFollowersFor(accountName?: string): T;
getMyFollowers(): T;
getMyProperties(): T;
getMySuggestions(): T;
getPeopleFollowedBy(accountName?: string): T;
getPeopleFollowedByMe(): T;
getPropertiesFor(accountName?: string): T;
getSPUserInformation(accountName?: string, siteId?: any): T;
getUserProfileProperties(accountName?: string): T;
getUserProfilePropertyFor(accountName?: string, propertyName?: string): T;
hardDeleteUserProfile(accountName?: string, userId?: any): T;
hideSuggestion(accountName?: string): T;
removeSPUserInformation(accountName?: string, siteId?: any, redactName?: string): T;
setMultiValuedProfileProperty(accountName?: string, propertyName?: string, propertyValues?: Array<string>): T;
setMyProfilePicture(picture?: any): T;
setSingleValueProfileProperty(accountName?: string, propertyName?: string, propertyValue?: string): T;
stopFollowing(accountName?: string): T;
stopFollowingTag(value?: any): T;
export interface PeopleManagerProps {
}
/*********************************************
* PeopleManagerMethods
**********************************************/
export interface PeopleManagerMethods {
amIFollowedBy<T=boolean>(accountName?: string): IBaseExecution<T>;
amIFollowing<T=boolean>(accountName?: string): IBaseExecution<T>;
follow<T=any>(accountName?: string): IBaseExecution<T>;
followTag<T=any>(value?: any): IBaseExecution<T>;
getDefaultDocumentLibrary<T=string>(accountName?: string, createSiteIfNotExists?: boolean, siteCreationPriority?: number): IBaseExecution<T>;
getFollowedTags<T=Array<string>>(cTagsToFetch?: number): IBaseExecution<T>;
getFollowersFor<T=Array<SP.UserProfiles.PersonProperties>>(accountName?: string): IBaseExecution<T>;
getMyFollowers<T=Array<SP.UserProfiles.PersonProperties>>(): IBaseExecution<T>;
getMyProperties<T=SP.UserProfiles.PersonProperties>(): IBaseExecution<T>;
getMySuggestions<T=Array<SP.UserProfiles.PersonProperties>>(): IBaseExecution<T>;
getPeopleFollowedBy<T=Array<SP.UserProfiles.PersonProperties>>(accountName?: string): IBaseExecution<T>;
getPeopleFollowedByMe<T=Array<SP.UserProfiles.PersonProperties>>(): IBaseExecution<T>;
getPropertiesFor<T=SP.UserProfiles.PersonProperties>(accountName?: string): IBaseExecution<T>;
getSPUserInformation<T=Array<SP.KeyValue>>(accountName?: string, siteId?: any): IBaseExecution<T>;
getUserProfileProperties<T=Array<SP.KeyValue>>(accountName?: string): IBaseExecution<T>;
getUserProfilePropertyFor<T=string>(accountName?: string, propertyName?: string): IBaseExecution<T>;
hardDeleteUserProfile<T=boolean>(accountName?: string, userId?: any): IBaseExecution<T>;
hideSuggestion<T=any>(accountName?: string): IBaseExecution<T>;
removeSPUserInformation<T=Array<SP.KeyValue>>(accountName?: string, siteId?: any, redactName?: string): IBaseExecution<T>;
setMultiValuedProfileProperty<T=any>(accountName?: string, propertyName?: string, propertyValues?: Array<string>): IBaseExecution<T>;
setMyProfilePicture<T=any>(picture?: any): IBaseExecution<T>;
setSingleValueProfileProperty<T=any>(accountName?: string, propertyName?: string, propertyValue?: string): IBaseExecution<T>;
stopFollowing<T=any>(accountName?: string): IBaseExecution<T>;
stopFollowingTag<T=any>(value?: any): IBaseExecution<T>;
}
/*********************************************
* IPersonalCache
**********************************************/
export interface IPersonalCache extends PersonalCacheProps,PersonalCacheMethods,IBaseExecution<PersonalCache> {
}
/*********************************************
* PersonalCache
**********************************************/
export interface PersonalCache {
export interface PersonalCache extends PersonalCacheProps, PersonalCacheMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -103,14 +140,21 @@ }

/*********************************************
* PersonalCacheMethods<T = any>
* PersonalCacheProps
**********************************************/
export interface PersonalCacheMethods<T = any> {
deleteCacheItemsAsync(cacheItems?: Array<SP.UserProfiles.PersonalCacheItem>): T;
loadUserProfile(email?: string): T;
readCache(folderPath?: string): T;
readCacheOrCreate(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array<string>, createIfMissing?: boolean): T;
readCacheOrCreateOrderById(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array<string>, createIfMissing?: boolean): T;
writeCache(cacheItems?: Array<SP.UserProfiles.PersonalCacheItem>): T;
export interface PersonalCacheProps {
}
/*********************************************
* PersonalCacheMethods
**********************************************/
export interface PersonalCacheMethods {
deleteCacheItemsAsync<T=any>(cacheItems?: Array<SP.UserProfiles.PersonalCacheItem>): IBaseExecution<T>;
loadUserProfile<T=any>(email?: string): IBaseExecution<T>;
readCache<T=Array<SP.UserProfiles.PersonalCacheItem>>(folderPath?: string): IBaseExecution<T>;
readCacheOrCreate<T=Array<SP.UserProfiles.PersonalCacheItem>>(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array<string>, createIfMissing?: boolean): IBaseExecution<T>;
readCacheOrCreateOrderById<T=Array<SP.UserProfiles.PersonalCacheItem>>(folderPath?: SP.ResourcePath, requiredCacheKeys?: Array<string>, createIfMissing?: boolean): IBaseExecution<T>;
writeCache<T=any>(cacheItems?: Array<SP.UserProfiles.PersonalCacheItem>): IBaseExecution<T>;
}
/*********************************************
* PersonProperties

@@ -137,5 +181,12 @@ **********************************************/

/*********************************************
* IProfileImageStore
**********************************************/
export interface IProfileImageStore extends ProfileImageStoreProps,ProfileImageStoreMethods,IBaseExecution<ProfileImageStore> {
}
/*********************************************
* ProfileImageStore
**********************************************/
export interface ProfileImageStore {
export interface ProfileImageStore extends ProfileImageStoreProps, ProfileImageStoreMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -145,12 +196,26 @@ }

/*********************************************
* ProfileImageStoreMethods<T = any>
* ProfileImageStoreProps
**********************************************/
export interface ProfileImageStoreMethods<T = any> {
saveUploadedFile(profileType?: number, fileNamePrefix?: string, isFeedAttachment?: boolean, clientFilePath?: string, fileSize?: number, fileStream?: any): T;
export interface ProfileImageStoreProps {
}
/*********************************************
* ProfileImageStoreMethods
**********************************************/
export interface ProfileImageStoreMethods {
saveUploadedFile<T=Array<string>>(profileType?: number, fileNamePrefix?: string, isFeedAttachment?: boolean, clientFilePath?: string, fileSize?: number, fileStream?: any): IBaseExecution<T>;
}
/*********************************************
* IProfileLoader
**********************************************/
export interface IProfileLoader extends ProfileLoaderProps,ProfileLoaderMethods,IBaseExecution<ProfileLoader> {
}
/*********************************************
* ProfileLoader
**********************************************/
export interface ProfileLoader {
export interface ProfileLoader extends ProfileLoaderProps, ProfileLoaderMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -160,13 +225,27 @@ }

/*********************************************
* ProfileLoaderMethods<T = any>
* ProfileLoaderProps
**********************************************/
export interface ProfileLoaderMethods<T = any> {
createPersonalSiteEnqueueBulk(emailIDs?: Array<string>): T;
getUserProfile(): T;
export interface ProfileLoaderProps {
}
/*********************************************
* ProfileLoaderMethods
**********************************************/
export interface ProfileLoaderMethods {
createPersonalSiteEnqueueBulk<T=Array<string>>(emailIDs?: Array<string>): IBaseExecution<T>;
getUserProfile<T=SP.UserProfiles.UserProfile>(): IBaseExecution<T>;
}
/*********************************************
* IUserProfilePropertiesForUser
**********************************************/
export interface IUserProfilePropertiesForUser extends UserProfilePropertiesForUserProps,UserProfilePropertiesForUserMethods,IBaseExecution<UserProfilePropertiesForUser> {
}
/*********************************************
* UserProfilePropertiesForUser
**********************************************/
export interface UserProfilePropertiesForUser {
export interface UserProfilePropertiesForUser extends UserProfilePropertiesForUserProps, UserProfilePropertiesForUserMethods {
AccountName?: string;

@@ -176,12 +255,26 @@ }

/*********************************************
* UserProfilePropertiesForUserMethods<T = any>
* UserProfilePropertiesForUserProps
**********************************************/
export interface UserProfilePropertiesForUserMethods<T = any> {
getPropertyNames(): T;
export interface UserProfilePropertiesForUserProps {
}
/*********************************************
* UserProfilePropertiesForUserMethods
**********************************************/
export interface UserProfilePropertiesForUserMethods {
getPropertyNames<T=Array<string>>(): IBaseExecution<T>;
}
/*********************************************
* IUserProfile
**********************************************/
export interface IUserProfile extends UserProfileProps,UserProfileMethods,IBaseExecution<UserProfile> {
}
/*********************************************
* UserProfile
**********************************************/
export interface UserProfile {
export interface UserProfile extends UserProfileProps, UserProfileMethods {
AccountName?: string;

@@ -212,26 +305,18 @@ DisplayName?: string;

/*********************************************
* UserProfileCollections<T = any>
* UserProfileProps
**********************************************/
export interface UserProfileCollections<T = any> {
FollowedContent(): T;
PersonalSite(): T;
export interface UserProfileProps {
FollowedContent<T=SP.UserProfiles.FollowedContent>(): IBaseExecution<T>;
PersonalSite<T=SP.Site>(): IBaseExecution<T>;
}
/*********************************************
* UserProfileQuery<T = any>
* UserProfileMethods
**********************************************/
export interface UserProfileQuery<T = any> {
FollowedContent(): T;
PersonalSite(): T;
export interface UserProfileMethods {
createPersonalSite<T=any>(lcid?: number): IBaseExecution<T>;
createPersonalSiteEnque<T=any>(isInteractive?: boolean): IBaseExecution<T>;
createPersonalSiteFromWorkItem<T=number>(workItemType?: any): IBaseExecution<T>;
setMySiteFirstRunExperience<T=any>(value?: number): IBaseExecution<T>;
shareAllSocialData<T=any>(shareAll?: boolean): IBaseExecution<T>;
}
/*********************************************
* UserProfileMethods<T = any>
**********************************************/
export interface UserProfileMethods<T = any> {
createPersonalSite(lcid?: number): T;
createPersonalSiteEnque(isInteractive?: boolean): T;
createPersonalSiteFromWorkItem(workItemType?: any): T;
setMySiteFirstRunExperience(value?: number): T;
shareAllSocialData(shareAll?: boolean): T;
}

@@ -0,2 +1,4 @@

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

@@ -60,35 +62,35 @@ /*********************************************

/*********************************************
* ThemeManager
* IThemeManager
**********************************************/
export interface ThemeManager {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
export interface IThemeManager extends ThemeManagerProps,ThemeManagerMethods,IBaseExecution<ThemeManager> {
}
/*********************************************
* ThemeManagerCollections<T = any>
* ThemeManager
**********************************************/
export interface ThemeManagerCollections<T = any> {
ContextThemeManager(): T;
export interface ThemeManager extends ThemeManagerProps, ThemeManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;
}
/*********************************************
* ThemeManagerQuery<T = any>
* ThemeManagerProps
**********************************************/
export interface ThemeManagerQuery<T = any> {
ContextThemeManager(): T;
export interface ThemeManagerProps {
ContextThemeManager<T=SP.Utilities.ThemeManager>(): IBaseExecution<T>;
}
/*********************************************
* ThemeManagerMethods<T = any>
* ThemeManagerMethods
**********************************************/
export interface ThemeManagerMethods<T = any> {
addTenantTheme(name?: string, themeJson?: string): T;
applyTheme(name?: string, themeJson?: string): T;
deleteTenantTheme(name?: string): T;
getAvailableThemes(): T;
getHideDefaultThemes(): T;
getTenantTheme(name?: string): T;
getTenantThemingOptions(): T;
setHideDefaultThemes(hideDefaultThemes?: boolean): T;
updateTenantTheme(name?: string, themeJson?: string): T;
export interface ThemeManagerMethods {
addTenantTheme<T=boolean>(name?: string, themeJson?: string): IBaseExecution<T>;
applyTheme<T=string>(name?: string, themeJson?: string): IBaseExecution<T>;
deleteTenantTheme<T=any>(name?: string): IBaseExecution<T>;
getAvailableThemes<T=Array<SP.Utilities.JsonTheme>>(): IBaseExecution<T>;
getHideDefaultThemes<T=boolean>(): IBaseExecution<T>;
getTenantTheme<T=SP.Utilities.JsonTheme>(name?: string): IBaseExecution<T>;
getTenantThemingOptions<T=SP.Utilities.ThemingOptions>(): IBaseExecution<T>;
setHideDefaultThemes<T=boolean>(hideDefaultThemes?: boolean): IBaseExecution<T>;
updateTenantTheme<T=boolean>(name?: string, themeJson?: string): IBaseExecution<T>;
}

@@ -95,0 +97,0 @@

@@ -0,7 +1,16 @@

import { IBaseCollection } from "../../";
import { SP } from "../../";
import { IBaseExecution } from "../../";
/*********************************************
* ILimitedWebPartManager
**********************************************/
export interface ILimitedWebPartManager extends LimitedWebPartManagerProps,LimitedWebPartManagerMethods,IBaseExecution<LimitedWebPartManager> {
}
/*********************************************
* LimitedWebPartManager
**********************************************/
export interface LimitedWebPartManager {
export interface LimitedWebPartManager extends LimitedWebPartManagerProps, LimitedWebPartManagerMethods {
HasPersonalizedParts?: boolean;

@@ -12,21 +21,21 @@ Scope?: number;

/*********************************************
* LimitedWebPartManagerCollections<T = any>
* LimitedWebPartManagerProps
**********************************************/
export interface LimitedWebPartManagerCollections<T = any> {
WebParts(): T;
export interface LimitedWebPartManagerProps {
WebParts<T=SP.WebParts.WebPartDefinition>(): IBaseCollection<T>;
}
/*********************************************
* LimitedWebPartManagerQuery<T = any>
* LimitedWebPartManagerMethods
**********************************************/
export interface LimitedWebPartManagerQuery<T = any> {
WebParts(): T;
export interface LimitedWebPartManagerMethods {
exportWebPart<T=string>(webPartId?: any): IBaseExecution<T>;
importWebPart<T=SP.WebParts.WebPartDefinition>(webPartXml?: string): IBaseExecution<T>;
}
/*********************************************
* LimitedWebPartManagerMethods<T = any>
* IWebPartDefinition
**********************************************/
export interface LimitedWebPartManagerMethods<T = any> {
exportWebPart(webPartId?: any): T;
importWebPart(webPartXml?: string): T;
export interface IWebPartDefinition extends WebPartDefinitionProps,WebPartDefinitionMethods,IBaseExecution<WebPartDefinition> {
}

@@ -37,3 +46,3 @@

**********************************************/
export interface WebPartDefinition {
export interface WebPartDefinition extends WebPartDefinitionProps, WebPartDefinitionMethods {
Id?: any;

@@ -44,24 +53,24 @@ ZoneId?: string;

/*********************************************
* WebPartDefinitionCollections<T = any>
* WebPartDefinitionProps
**********************************************/
export interface WebPartDefinitionCollections<T = any> {
WebPart(): T;
export interface WebPartDefinitionProps {
WebPart<T=SP.WebParts.WebPart>(): IBaseExecution<T>;
}
/*********************************************
* WebPartDefinitionQuery<T = any>
* WebPartDefinitionMethods
**********************************************/
export interface WebPartDefinitionQuery<T = any> {
WebPart(): T;
export interface WebPartDefinitionMethods {
closeWebPart<T=any>(): IBaseExecution<T>;
deleteWebPart<T=any>(): IBaseExecution<T>;
moveWebPartTo<T=any>(zoneID?: string, zoneIndex?: number): IBaseExecution<T>;
openWebPart<T=any>(): IBaseExecution<T>;
saveWebPartChanges<T=any>(): IBaseExecution<T>;
}
/*********************************************
* WebPartDefinitionMethods<T = any>
* IWebPart
**********************************************/
export interface WebPartDefinitionMethods<T = any> {
closeWebPart(): T;
deleteWebPart(): T;
moveWebPartTo(zoneID?: string, zoneIndex?: number): T;
openWebPart(): T;
saveWebPartChanges(): T;
export interface IWebPart extends WebPartProps,WebPartMethods,IBaseExecution<WebPart> {
}

@@ -72,3 +81,3 @@

**********************************************/
export interface WebPart {
export interface WebPart extends WebPartProps, WebPartMethods {
ExportMode?: number;

@@ -84,13 +93,13 @@ Hidden?: boolean;

/*********************************************
* WebPartCollections<T = any>
* WebPartProps
**********************************************/
export interface WebPartCollections<T = any> {
Properties(): T;
export interface WebPartProps {
Properties<T=SP.PropertyValues>(): IBaseExecution<T>;
}
/*********************************************
* WebPartQuery<T = any>
* WebPartMethods
**********************************************/
export interface WebPartQuery<T = any> {
Properties(): T;
export interface WebPartMethods {
}

@@ -0,7 +1,15 @@

import { IBaseExecution } from "../../";
import { SP } from "../../";
/*********************************************
* IWorkflowAssociation
**********************************************/
export interface IWorkflowAssociation extends WorkflowAssociationProps,WorkflowAssociationMethods,IBaseExecution<WorkflowAssociation> {
}
/*********************************************
* WorkflowAssociation
**********************************************/
export interface WorkflowAssociation {
export interface WorkflowAssociation extends WorkflowAssociationProps, WorkflowAssociationMethods {
AllowManual?: boolean;

@@ -28,10 +36,17 @@ AssociationData?: string;

/*********************************************
* WorkflowAssociationMethods<T = any>
* WorkflowAssociationProps
**********************************************/
export interface WorkflowAssociationMethods<T = any> {
deleteObject(): T;
update(): T;
export interface WorkflowAssociationProps {
}
/*********************************************
* WorkflowAssociationMethods
**********************************************/
export interface WorkflowAssociationMethods {
deleteObject<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
}
/*********************************************
* WorkflowTemplate

@@ -69,5 +84,12 @@ **********************************************/

/*********************************************
* ISPWorkflowTask
**********************************************/
export interface ISPWorkflowTask extends SPWorkflowTaskProps,SPWorkflowTaskMethods,IBaseExecution<SPWorkflowTask> {
}
/*********************************************
* SPWorkflowTask
**********************************************/
export interface SPWorkflowTask extends SP.ListItem {
export interface SPWorkflowTask extends SP.ListItem, SPWorkflowTaskProps, SPWorkflowTaskMethods {

@@ -77,30 +99,37 @@ }

/*********************************************
* SPWorkflowTaskMethods<T = any>
* SPWorkflowTaskProps
**********************************************/
export interface SPWorkflowTaskMethods<T = any> {
breakRoleInheritance(copyRoleAssignments?: boolean, clearSubscopes?: boolean): T;
resetRoleInheritance(): T;
deleteObject(): T;
getChanges(query?: SP.ChangeQuery): T;
getHashtags(): T;
getUserEffectivePermissions(userName?: string): T;
getWOPIFrameUrl(action?: number): T;
mediaServiceUpdate(parameters?: SP.MediaServiceUpdateParameters): T;
mediaServiceUpdateV2(parameters?: SP.MediaServiceUpdateParameters, eventFiringEnabled?: boolean): T;
overridePolicyTip(userAction?: number, justification?: string): T;
parseAndSetFieldValue(fieldName?: string, value?: string): T;
recycle(): T;
setCommentsDisabled(value?: boolean): T;
setComplianceTag(complianceTag?: string, isTagPolicyHold?: boolean, isTagPolicyRecord?: boolean, isEventBasedTag?: boolean, isTagSuperLock?: boolean): T;
setComplianceTagWithExplicitMetasUpdate(complianceTag?: string, complianceFlags?: number, complianceTagWrittenTime?: any, userEmailAddress?: string): T;
setComplianceTagWithHold(complianceTag?: string): T;
setComplianceTagWithMetaInfo(complianceTag?: string, blockDelete?: boolean, blockEdit?: boolean, complianceTagWrittenTime?: any, userEmailAddress?: string, isTagSuperLock?: boolean): T;
setComplianceTagWithNoHold(complianceTag?: string): T;
setComplianceTagWithRecord(complianceTag?: string): T;
systemUpdate(): T;
update(): T;
updateEx(parameters?: SP.ListItemUpdateParameters): T;
updateHashtags(hashtagsToAdd?: Array<SP.Hashtag>, hashtagsToRemove?: Array<SP.Hashtag>): T;
updateOverwriteVersion(): T;
validateUpdateListItem(formValues?: Array<SP.ListItemFormUpdateValue>, bNewDocumentUpdate?: boolean, checkInComment?: string): T;
export interface SPWorkflowTaskProps {
}
/*********************************************
* SPWorkflowTaskMethods
**********************************************/
export interface SPWorkflowTaskMethods {
breakRoleInheritance<T=any>(copyRoleAssignments?: boolean, clearSubscopes?: boolean): IBaseExecution<T>;
resetRoleInheritance<T=any>(): IBaseExecution<T>;
deleteObject<T=any>(): IBaseExecution<T>;
getChanges<T=Array<SP.Change>>(query?: SP.ChangeQuery): IBaseExecution<T>;
getHashtags<T=Array<SP.Hashtag>>(): IBaseExecution<T>;
getUserEffectivePermissions<T=SP.BasePermissions>(userName?: string): IBaseExecution<T>;
getWOPIFrameUrl<T=string>(action?: number): IBaseExecution<T>;
mediaServiceUpdate<T=any>(parameters?: SP.MediaServiceUpdateParameters): IBaseExecution<T>;
mediaServiceUpdateV2<T=any>(parameters?: SP.MediaServiceUpdateParameters, eventFiringEnabled?: boolean): IBaseExecution<T>;
overridePolicyTip<T=number>(userAction?: number, justification?: string): IBaseExecution<T>;
parseAndSetFieldValue<T=any>(fieldName?: string, value?: string): IBaseExecution<T>;
recycle<T=any>(): IBaseExecution<T>;
setCommentsDisabled<T=any>(value?: boolean): IBaseExecution<T>;
setComplianceTag<T=any>(complianceTag?: string, isTagPolicyHold?: boolean, isTagPolicyRecord?: boolean, isEventBasedTag?: boolean, isTagSuperLock?: boolean): IBaseExecution<T>;
setComplianceTagWithExplicitMetasUpdate<T=any>(complianceTag?: string, complianceFlags?: number, complianceTagWrittenTime?: any, userEmailAddress?: string): IBaseExecution<T>;
setComplianceTagWithHold<T=any>(complianceTag?: string): IBaseExecution<T>;
setComplianceTagWithMetaInfo<T=any>(complianceTag?: string, blockDelete?: boolean, blockEdit?: boolean, complianceTagWrittenTime?: any, userEmailAddress?: string, isTagSuperLock?: boolean): IBaseExecution<T>;
setComplianceTagWithNoHold<T=any>(complianceTag?: string): IBaseExecution<T>;
setComplianceTagWithRecord<T=any>(complianceTag?: string): IBaseExecution<T>;
systemUpdate<T=any>(): IBaseExecution<T>;
update<T=any>(): IBaseExecution<T>;
updateEx<T=any>(parameters?: SP.ListItemUpdateParameters): IBaseExecution<T>;
updateHashtags<T=Array<SP.Hashtag>>(hashtagsToAdd?: Array<SP.Hashtag>, hashtagsToRemove?: Array<SP.Hashtag>): IBaseExecution<T>;
updateOverwriteVersion<T=any>(): IBaseExecution<T>;
validateUpdateListItem<T=Array<SP.ListItemFormUpdateValue>>(formValues?: Array<SP.ListItemFormUpdateValue>, bNewDocumentUpdate?: boolean, checkInComment?: string): IBaseExecution<T>;
}
import { SP } from "../../";
import { IBaseExecution } from "../../";
import { IBaseCollection } from "../../";
/*********************************************
* IWorkflowDefinition
**********************************************/
export interface IWorkflowDefinition extends WorkflowDefinitionProps,WorkflowDefinitionMethods,IBaseExecution<WorkflowDefinition> {
}
/*********************************************
* WorkflowDefinition
**********************************************/
export interface WorkflowDefinition {
export interface WorkflowDefinition extends WorkflowDefinitionProps, WorkflowDefinitionMethods {
AssociationUrl?: string;

@@ -24,12 +33,26 @@ Description?: string;

/*********************************************
* WorkflowDefinitionMethods<T = any>
* WorkflowDefinitionProps
**********************************************/
export interface WorkflowDefinitionMethods<T = any> {
setProperty(propertyName?: string, value?: string): T;
export interface WorkflowDefinitionProps {
}
/*********************************************
* WorkflowDefinitionMethods
**********************************************/
export interface WorkflowDefinitionMethods {
setProperty<T=any>(propertyName?: string, value?: string): IBaseExecution<T>;
}
/*********************************************
* IWorkflowDeploymentService
**********************************************/
export interface IWorkflowDeploymentService extends WorkflowDeploymentServiceProps,WorkflowDeploymentServiceMethods,IBaseExecution<WorkflowDeploymentService> {
}
/*********************************************
* WorkflowDeploymentService
**********************************************/
export interface WorkflowDeploymentService {
export interface WorkflowDeploymentService extends WorkflowDeploymentServiceProps, WorkflowDeploymentServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -39,21 +62,28 @@ }

/*********************************************
* WorkflowDeploymentServiceMethods<T = any>
* WorkflowDeploymentServiceProps
**********************************************/
export interface WorkflowDeploymentServiceMethods<T = any> {
deleteCollateral(workflowDefinitionId?: any, leafFileName?: string): T;
deleteDefinition(definitionId?: any): T;
deprecateDefinition(definitionId?: any): T;
enumerateDefinitions(publishedOnly?: boolean): T;
enumerateIntegratedApps(): T;
getActivitySignatures(lastChanged?: any): T;
getCollateralUri(workflowDefinitionId?: any, leafFileName?: string): T;
getDefinition(definitionId?: any): T;
isIntegratedApp(): T;
packageDefinition(definitionId?: any, packageDefaultFilename?: string, packageTitle?: string, packageDescription?: string): T;
publishDefinition(definitionId?: any): T;
saveCollateral(workflowDefinitionId?: any, leafFileName?: string, fileContent?: any): T;
validateActivity(activityXaml?: string): T;
export interface WorkflowDeploymentServiceProps {
}
/*********************************************
* WorkflowDeploymentServiceMethods
**********************************************/
export interface WorkflowDeploymentServiceMethods {
deleteCollateral<T=any>(workflowDefinitionId?: any, leafFileName?: string): IBaseExecution<T>;
deleteDefinition<T=any>(definitionId?: any): IBaseExecution<T>;
deprecateDefinition<T=any>(definitionId?: any): IBaseExecution<T>;
enumerateDefinitions<T=Array<SP.WorkflowServices.WorkflowDefinition>>(publishedOnly?: boolean): IBaseExecution<T>;
enumerateIntegratedApps<T=Array<SP.AppInstance>>(): IBaseExecution<T>;
getActivitySignatures<T=Array<SP.KeyValue>>(lastChanged?: any): IBaseExecution<T>;
getCollateralUri<T=string>(workflowDefinitionId?: any, leafFileName?: string): IBaseExecution<T>;
getDefinition<T=SP.WorkflowServices.WorkflowDefinition>(definitionId?: any): IBaseExecution<T>;
isIntegratedApp<T=boolean>(): IBaseExecution<T>;
packageDefinition<T=string>(definitionId?: any, packageDefaultFilename?: string, packageTitle?: string, packageDescription?: string): IBaseExecution<T>;
publishDefinition<T=any>(definitionId?: any): IBaseExecution<T>;
saveCollateral<T=any>(workflowDefinitionId?: any, leafFileName?: string, fileContent?: any): IBaseExecution<T>;
validateActivity<T=string>(activityXaml?: string): IBaseExecution<T>;
}
/*********************************************
* WorkflowInstance

@@ -73,5 +103,12 @@ **********************************************/

/*********************************************
* IWorkflowInstanceService
**********************************************/
export interface IWorkflowInstanceService extends WorkflowInstanceServiceProps,WorkflowInstanceServiceMethods,IBaseExecution<WorkflowInstanceService> {
}
/*********************************************
* WorkflowInstanceService
**********************************************/
export interface WorkflowInstanceService {
export interface WorkflowInstanceService extends WorkflowInstanceServiceProps, WorkflowInstanceServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -81,25 +118,25 @@ }

/*********************************************
* WorkflowInstanceServiceCollections<T = any>
* WorkflowInstanceServiceProps
**********************************************/
export interface WorkflowInstanceServiceCollections<T = any> {
Current(): T;
export interface WorkflowInstanceServiceProps {
Current<T=SP.WorkflowServices.WorkflowInstanceService>(): IBaseExecution<T>;
}
/*********************************************
* WorkflowInstanceServiceQuery<T = any>
* WorkflowInstanceServiceMethods
**********************************************/
export interface WorkflowInstanceServiceQuery<T = any> {
Current(): T;
export interface WorkflowInstanceServiceMethods {
enumerateInstancesForListItem<T=Array<SP.WorkflowServices.WorkflowInstance>>(listId?: any, itemId?: number): IBaseExecution<T>;
enumerateInstancesForListItemWithOffset<T=Array<SP.WorkflowServices.WorkflowInstance>>(listId?: any, itemId?: number, offset?: number): IBaseExecution<T>;
enumerateInstancesForSite<T=Array<SP.WorkflowServices.WorkflowInstance>>(): IBaseExecution<T>;
enumerateInstancesForSiteWithOffset<T=Array<SP.WorkflowServices.WorkflowInstance>>(offset?: number): IBaseExecution<T>;
getInstance<T=SP.WorkflowServices.WorkflowInstance>(instanceId?: any): IBaseExecution<T>;
startWorkflowOnListItemBySubscriptionId<T=any>(subscriptionId?: any, itemId?: number, payload?: Array<SP.KeyValue>): IBaseExecution<T>;
}
/*********************************************
* WorkflowInstanceServiceMethods<T = any>
* IInteropService
**********************************************/
export interface WorkflowInstanceServiceMethods<T = any> {
enumerateInstancesForListItem(listId?: any, itemId?: number): T;
enumerateInstancesForListItemWithOffset(listId?: any, itemId?: number, offset?: number): T;
enumerateInstancesForSite(): T;
enumerateInstancesForSiteWithOffset(offset?: number): T;
getInstance(instanceId?: any): T;
startWorkflowOnListItemBySubscriptionId(subscriptionId?: any, itemId?: number, payload?: Array<SP.KeyValue>): T;
export interface IInteropService extends InteropServiceProps,InteropServiceMethods,IBaseExecution<InteropService> {
}

@@ -110,3 +147,3 @@

**********************************************/
export interface InteropService {
export interface InteropService extends InteropServiceProps, InteropServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -116,23 +153,23 @@ }

/*********************************************
* InteropServiceCollections<T = any>
* InteropServiceProps
**********************************************/
export interface InteropServiceCollections<T = any> {
Current(): T;
export interface InteropServiceProps {
Current<T=SP.WorkflowServices.InteropService>(): IBaseExecution<T>;
}
/*********************************************
* InteropServiceQuery<T = any>
* InteropServiceMethods
**********************************************/
export interface InteropServiceQuery<T = any> {
Current(): T;
export interface InteropServiceMethods {
cancelWorkflow<T=any>(instanceId?: any): IBaseExecution<T>;
disableEvents<T=any>(listId?: any, itemGuid?: any): IBaseExecution<T>;
enableEvents<T=any>(listId?: any, itemGuid?: any): IBaseExecution<T>;
startWorkflow<T=any>(associationName?: string, correlationId?: any, listId?: any, itemGuid?: any, workflowParameters?: Array<SP.KeyValue>): IBaseExecution<T>;
}
/*********************************************
* InteropServiceMethods<T = any>
* IWorkflowServicesManager
**********************************************/
export interface InteropServiceMethods<T = any> {
cancelWorkflow(instanceId?: any): T;
disableEvents(listId?: any, itemGuid?: any): T;
enableEvents(listId?: any, itemGuid?: any): T;
startWorkflow(associationName?: string, correlationId?: any, listId?: any, itemGuid?: any, workflowParameters?: Array<SP.KeyValue>): T;
export interface IWorkflowServicesManager extends WorkflowServicesManagerProps,WorkflowServicesManagerMethods,IBaseExecution<WorkflowServicesManager> {
}

@@ -143,3 +180,3 @@

**********************************************/
export interface WorkflowServicesManager {
export interface WorkflowServicesManager extends WorkflowServicesManagerProps, WorkflowServicesManagerMethods {
AppId?: string;

@@ -152,24 +189,24 @@ IsConnected?: boolean;

/*********************************************
* WorkflowServicesManagerCollections<T = any>
* WorkflowServicesManagerProps
**********************************************/
export interface WorkflowServicesManagerCollections<T = any> {
Current(): T;
export interface WorkflowServicesManagerProps {
Current<T=SP.WorkflowServices.WorkflowServicesManager>(): IBaseExecution<T>;
}
/*********************************************
* WorkflowServicesManagerQuery<T = any>
* WorkflowServicesManagerMethods
**********************************************/
export interface WorkflowServicesManagerQuery<T = any> {
Current(): T;
export interface WorkflowServicesManagerMethods {
getWorkflowDeploymentService<T=SP.WorkflowServices.WorkflowDeploymentService>(): IBaseExecution<T>;
getWorkflowInstanceService<T=SP.WorkflowServices.WorkflowInstanceService>(): IBaseExecution<T>;
getWorkflowInteropService<T=SP.WorkflowServices.InteropService>(): IBaseExecution<T>;
getWorkflowSubscriptionService<T=SP.WorkflowServices.WorkflowSubscriptionService>(): IBaseExecution<T>;
isIntegratedApp<T=boolean>(): IBaseExecution<T>;
}
/*********************************************
* WorkflowServicesManagerMethods<T = any>
* IWorkflowSubscription
**********************************************/
export interface WorkflowServicesManagerMethods<T = any> {
getWorkflowDeploymentService(): T;
getWorkflowInstanceService(): T;
getWorkflowInteropService(): T;
getWorkflowSubscriptionService(): T;
isIntegratedApp(): T;
export interface IWorkflowSubscription extends WorkflowSubscriptionProps,WorkflowSubscriptionMethods,IBaseExecution<WorkflowSubscription> {
}

@@ -180,3 +217,3 @@

**********************************************/
export interface WorkflowSubscription {
export interface WorkflowSubscription extends WorkflowSubscriptionProps, WorkflowSubscriptionMethods {
DefinitionId?: any;

@@ -195,14 +232,28 @@ Enabled?: boolean;

/*********************************************
* WorkflowSubscriptionMethods<T = any>
* WorkflowSubscriptionProps
**********************************************/
export interface WorkflowSubscriptionMethods<T = any> {
getExternalVariable(name?: string): T;
setExternalVariable(name?: string, value?: string): T;
setProperty(name?: string, value?: string): T;
export interface WorkflowSubscriptionProps {
}
/*********************************************
* WorkflowSubscriptionMethods
**********************************************/
export interface WorkflowSubscriptionMethods {
getExternalVariable<T=string>(name?: string): IBaseExecution<T>;
setExternalVariable<T=any>(name?: string, value?: string): IBaseExecution<T>;
setProperty<T=any>(name?: string, value?: string): IBaseExecution<T>;
}
/*********************************************
* IWorkflowSubscriptionService
**********************************************/
export interface IWorkflowSubscriptionService extends WorkflowSubscriptionServiceProps,WorkflowSubscriptionServiceMethods,IBaseExecution<WorkflowSubscriptionService> {
}
/*********************************************
* WorkflowSubscriptionService
**********************************************/
export interface WorkflowSubscriptionService {
export interface WorkflowSubscriptionService extends WorkflowSubscriptionServiceProps, WorkflowSubscriptionServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -212,31 +263,31 @@ }

/*********************************************
* WorkflowSubscriptionServiceCollections<T = any>
* WorkflowSubscriptionServiceProps
**********************************************/
export interface WorkflowSubscriptionServiceCollections<T = any> {
Current(): T;
export interface WorkflowSubscriptionServiceProps {
Current<T=SP.WorkflowServices.WorkflowSubscriptionService>(): IBaseExecution<T>;
}
/*********************************************
* WorkflowSubscriptionServiceQuery<T = any>
* WorkflowSubscriptionServiceMethods
**********************************************/
export interface WorkflowSubscriptionServiceQuery<T = any> {
Current(): T;
export interface WorkflowSubscriptionServiceMethods {
deleteSubscription<T=any>(subscriptionId?: any): IBaseExecution<T>;
enumerateSubscriptions<T=Array<SP.WorkflowServices.WorkflowSubscription>>(): IBaseExecution<T>;
enumerateSubscriptionsByDefinition<T=Array<SP.WorkflowServices.WorkflowSubscription>>(definitionId?: any): IBaseExecution<T>;
enumerateSubscriptionsByEventSource<T=Array<SP.WorkflowServices.WorkflowSubscription>>(eventSourceId?: any): IBaseExecution<T>;
enumerateSubscriptionsByList<T=Array<SP.WorkflowServices.WorkflowSubscription>>(listId?: any): IBaseExecution<T>;
enumerateSubscriptionsByListAndParentContentType<T=Array<SP.WorkflowServices.WorkflowSubscription>>(listId?: any, parentContentTypeId?: SP.ContentTypeId, includeNoContentTypeSpecified?: boolean): IBaseExecution<T>;
enumerateSubscriptionsByListWithContentType<T=Array<SP.WorkflowServices.WorkflowSubscription>>(listId?: any, includeContentTypeSpecified?: boolean): IBaseExecution<T>;
getSubscription<T=SP.WorkflowServices.WorkflowSubscription>(subscriptionId?: any): IBaseExecution<T>;
registerInterestInHostWebList<T=any>(listId?: any, eventName?: string): IBaseExecution<T>;
registerInterestInList<T=any>(listId?: any, eventName?: string): IBaseExecution<T>;
unregisterInterestInHostWebList<T=any>(listId?: any, eventName?: string): IBaseExecution<T>;
unregisterInterestInList<T=any>(listId?: any, eventName?: string): IBaseExecution<T>;
}
/*********************************************
* WorkflowSubscriptionServiceMethods<T = any>
* IWorkflowMessagingService
**********************************************/
export interface WorkflowSubscriptionServiceMethods<T = any> {
deleteSubscription(subscriptionId?: any): T;
enumerateSubscriptions(): T;
enumerateSubscriptionsByDefinition(definitionId?: any): T;
enumerateSubscriptionsByEventSource(eventSourceId?: any): T;
enumerateSubscriptionsByList(listId?: any): T;
enumerateSubscriptionsByListAndParentContentType(listId?: any, parentContentTypeId?: SP.ContentTypeId, includeNoContentTypeSpecified?: boolean): T;
enumerateSubscriptionsByListWithContentType(listId?: any, includeContentTypeSpecified?: boolean): T;
getSubscription(subscriptionId?: any): T;
registerInterestInHostWebList(listId?: any, eventName?: string): T;
registerInterestInList(listId?: any, eventName?: string): T;
unregisterInterestInHostWebList(listId?: any, eventName?: string): T;
unregisterInterestInList(listId?: any, eventName?: string): T;
export interface IWorkflowMessagingService extends WorkflowMessagingServiceProps,WorkflowMessagingServiceMethods,IBaseExecution<WorkflowMessagingService> {
}

@@ -247,3 +298,3 @@

**********************************************/
export interface WorkflowMessagingService {
export interface WorkflowMessagingService extends WorkflowMessagingServiceProps, WorkflowMessagingServiceMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -253,6 +304,13 @@ }

/*********************************************
* WorkflowMessagingServiceMethods<T = any>
* WorkflowMessagingServiceProps
**********************************************/
export interface WorkflowMessagingServiceMethods<T = any> {
publishEvent(eventSourceId?: any, eventName?: string, payload?: Array<SP.KeyValue>): T;
export interface WorkflowMessagingServiceProps {
}
/*********************************************
* WorkflowMessagingServiceMethods
**********************************************/
export interface WorkflowMessagingServiceMethods {
publishEvent<T=string>(eventSourceId?: any, eventName?: string, payload?: Array<SP.KeyValue>): IBaseExecution<T>;
}

@@ -0,7 +1,16 @@

import { IBaseExecution } from "../../../";
import { SP } from "../../../";
import { IBaseCollection } from "../../../";
/*********************************************
* IBaseSession
**********************************************/
export interface IBaseSession extends BaseSessionProps,BaseSessionMethods,IBaseExecution<BaseSession> {
}
/*********************************************
* BaseSession
**********************************************/
export interface BaseSession {
export interface BaseSession extends BaseSessionProps, BaseSessionMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -11,26 +20,33 @@ }

/*********************************************
* BaseSessionMethods<T = any>
* BaseSessionProps
**********************************************/
export interface BaseSessionMethods<T = any> {
addAttributeToTask(taskKey?: number, attribute?: string): T;
beginCacheRefresh(): T;
beginExchangeSync(): T;
createPersonalTaskAndPromoteToProviderTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): T;
createTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): T;
deleteTask(taskKey?: number): T;
getCalloutInfo(taskKey?: number): T;
getRefreshHealthInfo(): T;
getRefreshHistory(since?: any): T;
getRefreshStatus(refreshId?: number): T;
isExchangeJobPending(): T;
pinTask(taskKey?: number): T;
promotePersonalTaskToProviderTaskInLocation(taskKey?: number, locationId?: number): T;
readAllNonTaskData(): T;
refreshSingleTask(taskKey?: number): T;
removeAttributeFromTask(taskKey?: number, attribute?: string): T;
removePinOnTask(taskKey?: number): T;
updateTaskWithLocalizedValue(taskKey?: number, field?: number, value?: string): T;
export interface BaseSessionProps {
}
/*********************************************
* BaseSessionMethods
**********************************************/
export interface BaseSessionMethods {
addAttributeToTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
beginCacheRefresh<T=SP.WorkManagement.OM.CreateRefreshJobResult>(): IBaseExecution<T>;
beginExchangeSync<T=boolean>(): IBaseExecution<T>;
createPersonalTaskAndPromoteToProviderTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): IBaseExecution<T>;
createTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): IBaseExecution<T>;
deleteTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
getCalloutInfo<T=SP.WorkManagement.OM.CalloutInfo>(taskKey?: number): IBaseExecution<T>;
getRefreshHealthInfo<T=SP.WorkManagement.OM.RefreshHealthInfo>(): IBaseExecution<T>;
getRefreshHistory<T=SP.WorkManagement.OM.RefreshHistory>(since?: any): IBaseExecution<T>;
getRefreshStatus<T=SP.WorkManagement.OM.RefreshResult>(refreshId?: number): IBaseExecution<T>;
isExchangeJobPending<T=boolean>(): IBaseExecution<T>;
pinTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
promotePersonalTaskToProviderTaskInLocation<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, locationId?: number): IBaseExecution<T>;
readAllNonTaskData<T=SP.WorkManagement.OM.NonTaskDataReadResult>(): IBaseExecution<T>;
refreshSingleTask<T=SP.WorkManagement.OM.TaskRefreshResult>(taskKey?: number): IBaseExecution<T>;
removeAttributeFromTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
removePinOnTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
updateTaskWithLocalizedValue<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, field?: number, value?: string): IBaseExecution<T>;
}
/*********************************************
* BooleanCriterion

@@ -150,5 +166,12 @@ **********************************************/

/*********************************************
* ILocationOrientedSortableSession
**********************************************/
export interface ILocationOrientedSortableSession extends LocationOrientedSortableSessionProps,LocationOrientedSortableSessionMethods,IBaseExecution<LocationOrientedSortableSession> {
}
/*********************************************
* LocationOrientedSortableSession
**********************************************/
export interface LocationOrientedSortableSession extends SP.WorkManagement.OM.BaseSession {
export interface LocationOrientedSortableSession extends SP.WorkManagement.OM.BaseSession, LocationOrientedSortableSessionProps, LocationOrientedSortableSessionMethods {

@@ -158,30 +181,44 @@ }

/*********************************************
* LocationOrientedSortableSessionMethods<T = any>
* LocationOrientedSortableSessionProps
**********************************************/
export interface LocationOrientedSortableSessionMethods<T = any> {
addAttributeToTask(taskKey?: number, attribute?: string): T;
beginCacheRefresh(): T;
beginExchangeSync(): T;
createPersonalTaskAndPromoteToProviderTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): T;
createTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): T;
deleteTask(taskKey?: number): T;
getCalloutInfo(taskKey?: number): T;
getRefreshHealthInfo(): T;
getRefreshHistory(since?: any): T;
getRefreshStatus(refreshId?: number): T;
isExchangeJobPending(): T;
pinTask(taskKey?: number): T;
promotePersonalTaskToProviderTaskInLocation(taskKey?: number, locationId?: number): T;
readAllNonTaskData(): T;
refreshSingleTask(taskKey?: number): T;
removeAttributeFromTask(taskKey?: number, attribute?: string): T;
removePinOnTask(taskKey?: number): T;
updateTaskWithLocalizedValue(taskKey?: number, field?: number, value?: string): T;
movePersonalTaskToLocation(taskKey?: number, newLocationKey?: number): T;
export interface LocationOrientedSortableSessionProps {
}
/*********************************************
* LocationOrientedSortableSessionMethods
**********************************************/
export interface LocationOrientedSortableSessionMethods {
addAttributeToTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
beginCacheRefresh<T=SP.WorkManagement.OM.CreateRefreshJobResult>(): IBaseExecution<T>;
beginExchangeSync<T=boolean>(): IBaseExecution<T>;
createPersonalTaskAndPromoteToProviderTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): IBaseExecution<T>;
createTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): IBaseExecution<T>;
deleteTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
getCalloutInfo<T=SP.WorkManagement.OM.CalloutInfo>(taskKey?: number): IBaseExecution<T>;
getRefreshHealthInfo<T=SP.WorkManagement.OM.RefreshHealthInfo>(): IBaseExecution<T>;
getRefreshHistory<T=SP.WorkManagement.OM.RefreshHistory>(since?: any): IBaseExecution<T>;
getRefreshStatus<T=SP.WorkManagement.OM.RefreshResult>(refreshId?: number): IBaseExecution<T>;
isExchangeJobPending<T=boolean>(): IBaseExecution<T>;
pinTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
promotePersonalTaskToProviderTaskInLocation<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, locationId?: number): IBaseExecution<T>;
readAllNonTaskData<T=SP.WorkManagement.OM.NonTaskDataReadResult>(): IBaseExecution<T>;
refreshSingleTask<T=SP.WorkManagement.OM.TaskRefreshResult>(taskKey?: number): IBaseExecution<T>;
removeAttributeFromTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
removePinOnTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
updateTaskWithLocalizedValue<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, field?: number, value?: string): IBaseExecution<T>;
movePersonalTaskToLocation<T=boolean>(taskKey?: number, newLocationKey?: number): IBaseExecution<T>;
}
/*********************************************
* ILocationOrientedUserOrderedSession
**********************************************/
export interface ILocationOrientedUserOrderedSession extends LocationOrientedUserOrderedSessionProps,LocationOrientedUserOrderedSessionMethods,IBaseExecution<LocationOrientedUserOrderedSession> {
}
/*********************************************
* LocationOrientedUserOrderedSession
**********************************************/
export interface LocationOrientedUserOrderedSession extends SP.WorkManagement.OM.BaseSession {
export interface LocationOrientedUserOrderedSession extends SP.WorkManagement.OM.BaseSession, LocationOrientedUserOrderedSessionProps, LocationOrientedUserOrderedSessionMethods {

@@ -191,28 +228,35 @@ }

/*********************************************
* LocationOrientedUserOrderedSessionMethods<T = any>
* LocationOrientedUserOrderedSessionProps
**********************************************/
export interface LocationOrientedUserOrderedSessionMethods<T = any> {
addAttributeToTask(taskKey?: number, attribute?: string): T;
beginCacheRefresh(): T;
beginExchangeSync(): T;
createPersonalTaskAndPromoteToProviderTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): T;
createTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): T;
deleteTask(taskKey?: number): T;
getCalloutInfo(taskKey?: number): T;
getRefreshHealthInfo(): T;
getRefreshHistory(since?: any): T;
getRefreshStatus(refreshId?: number): T;
isExchangeJobPending(): T;
pinTask(taskKey?: number): T;
promotePersonalTaskToProviderTaskInLocation(taskKey?: number, locationId?: number): T;
readAllNonTaskData(): T;
refreshSingleTask(taskKey?: number): T;
removeAttributeFromTask(taskKey?: number, attribute?: string): T;
removePinOnTask(taskKey?: number): T;
updateTaskWithLocalizedValue(taskKey?: number, field?: number, value?: string): T;
movePersonalTaskToLocation(taskKey?: number, newLocationKey?: number): T;
reorderTask(taskKey?: number, newAfterTaskKey?: number): T;
export interface LocationOrientedUserOrderedSessionProps {
}
/*********************************************
* LocationOrientedUserOrderedSessionMethods
**********************************************/
export interface LocationOrientedUserOrderedSessionMethods {
addAttributeToTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
beginCacheRefresh<T=SP.WorkManagement.OM.CreateRefreshJobResult>(): IBaseExecution<T>;
beginExchangeSync<T=boolean>(): IBaseExecution<T>;
createPersonalTaskAndPromoteToProviderTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): IBaseExecution<T>;
createTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): IBaseExecution<T>;
deleteTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
getCalloutInfo<T=SP.WorkManagement.OM.CalloutInfo>(taskKey?: number): IBaseExecution<T>;
getRefreshHealthInfo<T=SP.WorkManagement.OM.RefreshHealthInfo>(): IBaseExecution<T>;
getRefreshHistory<T=SP.WorkManagement.OM.RefreshHistory>(since?: any): IBaseExecution<T>;
getRefreshStatus<T=SP.WorkManagement.OM.RefreshResult>(refreshId?: number): IBaseExecution<T>;
isExchangeJobPending<T=boolean>(): IBaseExecution<T>;
pinTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
promotePersonalTaskToProviderTaskInLocation<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, locationId?: number): IBaseExecution<T>;
readAllNonTaskData<T=SP.WorkManagement.OM.NonTaskDataReadResult>(): IBaseExecution<T>;
refreshSingleTask<T=SP.WorkManagement.OM.TaskRefreshResult>(taskKey?: number): IBaseExecution<T>;
removeAttributeFromTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
removePinOnTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
updateTaskWithLocalizedValue<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, field?: number, value?: string): IBaseExecution<T>;
movePersonalTaskToLocation<T=boolean>(taskKey?: number, newLocationKey?: number): IBaseExecution<T>;
reorderTask<T=any>(taskKey?: number, newAfterTaskKey?: number): IBaseExecution<T>;
}
/*********************************************
* LocationUpdateResult

@@ -237,5 +281,12 @@ **********************************************/

/*********************************************
* INonTaskDataReadResult
**********************************************/
export interface INonTaskDataReadResult extends NonTaskDataReadResultProps,NonTaskDataReadResultMethods,IBaseExecution<NonTaskDataReadResult> {
}
/*********************************************
* NonTaskDataReadResult
**********************************************/
export interface NonTaskDataReadResult {
export interface NonTaskDataReadResult extends NonTaskDataReadResultProps, NonTaskDataReadResultMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -245,21 +296,17 @@ }

/*********************************************
* NonTaskDataReadResultCollections<T = any>
* NonTaskDataReadResultProps
**********************************************/
export interface NonTaskDataReadResultCollections<T = any> {
AllLocatons(): T;
PersistedProperties(): T;
RefreshHistory(): T;
ScriptExtensions(): T;
UserSettings(): T;
export interface NonTaskDataReadResultProps {
AllLocatons<T=SP.WorkManagement.OM.Location>(): IBaseCollection<T>;
PersistedProperties<T=SP.WorkManagement.OM.PersistedProperties>(): IBaseExecution<T>;
RefreshHistory<T=SP.WorkManagement.OM.RefreshHistory>(): IBaseExecution<T>;
ScriptExtensions<T=SP.WorkManagement.OM.DashboardScriptExtensionInfo>(): IBaseCollection<T>;
UserSettings<T=SP.WorkManagement.OM.UserSettings>(): IBaseExecution<T>;
}
/*********************************************
* NonTaskDataReadResultQuery<T = any>
* NonTaskDataReadResultMethods
**********************************************/
export interface NonTaskDataReadResultQuery<T = any> {
AllLocatons(): T;
PersistedProperties(): T;
RefreshHistory(): T;
ScriptExtensions(): T;
UserSettings(): T;
export interface NonTaskDataReadResultMethods {
}

@@ -279,5 +326,12 @@

/*********************************************
* IRefreshHistory
**********************************************/
export interface IRefreshHistory extends RefreshHistoryProps,RefreshHistoryMethods,IBaseExecution<RefreshHistory> {
}
/*********************************************
* RefreshHistory
**********************************************/
export interface RefreshHistory {
export interface RefreshHistory extends RefreshHistoryProps, RefreshHistoryMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -287,19 +341,26 @@ }

/*********************************************
* RefreshHistoryCollections<T = any>
* RefreshHistoryProps
**********************************************/
export interface RefreshHistoryCollections<T = any> {
Refreshes(): T;
export interface RefreshHistoryProps {
Refreshes<T=SP.WorkManagement.OM.RefreshResult>(): IBaseCollection<T>;
}
/*********************************************
* RefreshHistoryQuery<T = any>
* RefreshHistoryMethods
**********************************************/
export interface RefreshHistoryQuery<T = any> {
Refreshes(): T;
export interface RefreshHistoryMethods {
}
/*********************************************
* IRefreshResult
**********************************************/
export interface IRefreshResult extends RefreshResultProps,RefreshResultMethods,IBaseExecution<RefreshResult> {
}
/*********************************************
* RefreshResult
**********************************************/
export interface RefreshResult {
export interface RefreshResult extends RefreshResultProps, RefreshResultMethods {
AggregatorRefreshState?: number;

@@ -312,15 +373,14 @@ CorrelationId?: string;

/*********************************************
* RefreshResultCollections<T = any>
* RefreshResultProps
**********************************************/
export interface RefreshResultCollections<T = any> {
ProviderStatuses(): T;
TaskChangesByLocation(): T;
export interface RefreshResultProps {
ProviderStatuses<T=SP.WorkManagement.OM.ProviderRefreshStatus>(): IBaseCollection<T>;
TaskChangesByLocation<T=SP.WorkManagement.OM.LocationUpdateResult>(): IBaseCollection<T>;
}
/*********************************************
* RefreshResultQuery<T = any>
* RefreshResultMethods
**********************************************/
export interface RefreshResultQuery<T = any> {
ProviderStatuses(): T;
TaskChangesByLocation(): T;
export interface RefreshResultMethods {
}

@@ -372,5 +432,12 @@

/*********************************************
* IRefreshHealthInfo
**********************************************/
export interface IRefreshHealthInfo extends RefreshHealthInfoProps,RefreshHealthInfoMethods,IBaseExecution<RefreshHealthInfo> {
}
/*********************************************
* RefreshHealthInfo
**********************************************/
export interface RefreshHealthInfo {
export interface RefreshHealthInfo extends RefreshHealthInfoProps, RefreshHealthInfoMethods {
LatestRefreshTime?: any;

@@ -382,19 +449,26 @@ NewTasks?: number;

/*********************************************
* RefreshHealthInfoCollections<T = any>
* RefreshHealthInfoProps
**********************************************/
export interface RefreshHealthInfoCollections<T = any> {
ProviderErrors(): T;
export interface RefreshHealthInfoProps {
ProviderErrors<T=SP.WorkManagement.OM.ProviderErrorInfo>(): IBaseCollection<T>;
}
/*********************************************
* RefreshHealthInfoQuery<T = any>
* RefreshHealthInfoMethods
**********************************************/
export interface RefreshHealthInfoQuery<T = any> {
ProviderErrors(): T;
export interface RefreshHealthInfoMethods {
}
/*********************************************
* ISortableSessionManager
**********************************************/
export interface ISortableSessionManager extends SortableSessionManagerProps,SortableSessionManagerMethods,IBaseExecution<SortableSessionManager> {
}
/*********************************************
* SortableSessionManager
**********************************************/
export interface SortableSessionManager {
export interface SortableSessionManager extends SortableSessionManagerProps, SortableSessionManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -404,13 +478,27 @@ }

/*********************************************
* SortableSessionManagerMethods<T = any>
* SortableSessionManagerProps
**********************************************/
export interface SortableSessionManagerMethods<T = any> {
createLocationOrientedSession(): T;
createSession(): T;
export interface SortableSessionManagerProps {
}
/*********************************************
* SortableSessionManagerMethods
**********************************************/
export interface SortableSessionManagerMethods {
createLocationOrientedSession<T=SP.WorkManagement.OM.LocationOrientedSortableSession>(): IBaseExecution<T>;
createSession<T=SP.WorkManagement.OM.SortableSession>(): IBaseExecution<T>;
}
/*********************************************
* ISortableSession
**********************************************/
export interface ISortableSession extends SortableSessionProps,SortableSessionMethods,IBaseExecution<SortableSession> {
}
/*********************************************
* SortableSession
**********************************************/
export interface SortableSession extends SP.WorkManagement.OM.BaseSession {
export interface SortableSession extends SP.WorkManagement.OM.BaseSession, SortableSessionProps, SortableSessionMethods {

@@ -420,29 +508,43 @@ }

/*********************************************
* SortableSessionMethods<T = any>
* SortableSessionProps
**********************************************/
export interface SortableSessionMethods<T = any> {
addAttributeToTask(taskKey?: number, attribute?: string): T;
beginCacheRefresh(): T;
beginExchangeSync(): T;
createPersonalTaskAndPromoteToProviderTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): T;
createTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): T;
deleteTask(taskKey?: number): T;
getCalloutInfo(taskKey?: number): T;
getRefreshHealthInfo(): T;
getRefreshHistory(since?: any): T;
getRefreshStatus(refreshId?: number): T;
isExchangeJobPending(): T;
pinTask(taskKey?: number): T;
promotePersonalTaskToProviderTaskInLocation(taskKey?: number, locationId?: number): T;
readAllNonTaskData(): T;
refreshSingleTask(taskKey?: number): T;
removeAttributeFromTask(taskKey?: number, attribute?: string): T;
removePinOnTask(taskKey?: number): T;
updateTaskWithLocalizedValue(taskKey?: number, field?: number, value?: string): T;
export interface SortableSessionProps {
}
/*********************************************
* SortableSessionMethods
**********************************************/
export interface SortableSessionMethods {
addAttributeToTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
beginCacheRefresh<T=SP.WorkManagement.OM.CreateRefreshJobResult>(): IBaseExecution<T>;
beginExchangeSync<T=boolean>(): IBaseExecution<T>;
createPersonalTaskAndPromoteToProviderTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): IBaseExecution<T>;
createTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): IBaseExecution<T>;
deleteTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
getCalloutInfo<T=SP.WorkManagement.OM.CalloutInfo>(taskKey?: number): IBaseExecution<T>;
getRefreshHealthInfo<T=SP.WorkManagement.OM.RefreshHealthInfo>(): IBaseExecution<T>;
getRefreshHistory<T=SP.WorkManagement.OM.RefreshHistory>(since?: any): IBaseExecution<T>;
getRefreshStatus<T=SP.WorkManagement.OM.RefreshResult>(refreshId?: number): IBaseExecution<T>;
isExchangeJobPending<T=boolean>(): IBaseExecution<T>;
pinTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
promotePersonalTaskToProviderTaskInLocation<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, locationId?: number): IBaseExecution<T>;
readAllNonTaskData<T=SP.WorkManagement.OM.NonTaskDataReadResult>(): IBaseExecution<T>;
refreshSingleTask<T=SP.WorkManagement.OM.TaskRefreshResult>(taskKey?: number): IBaseExecution<T>;
removeAttributeFromTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
removePinOnTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
updateTaskWithLocalizedValue<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, field?: number, value?: string): IBaseExecution<T>;
}
/*********************************************
* ISortableTaskQuery
**********************************************/
export interface ISortableTaskQuery extends SortableTaskQueryProps,SortableTaskQueryMethods,IBaseExecution<SortableTaskQuery> {
}
/*********************************************
* SortableTaskQuery
**********************************************/
export interface SortableTaskQuery {
export interface SortableTaskQuery extends SortableTaskQueryProps, SortableTaskQueryMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -452,21 +554,27 @@ }

/*********************************************
* SortableTaskQueryCollections<T = any>
* SortableTaskQueryProps
**********************************************/
export interface SortableTaskQueryCollections<T = any> {
CoreQuery(): T;
Order(): T;
export interface SortableTaskQueryProps {
CoreQuery<T=SP.WorkManagement.OM.TaskQuery>(): IBaseExecution<T>;
Order<T=SP.WorkManagement.OM.OrderInfo>(): IBaseExecution<T>;
}
/*********************************************
* SortableTaskQueryQuery<T = any>
* SortableTaskQueryMethods
**********************************************/
export interface SortableTaskQueryQuery<T = any> {
CoreQuery(): T;
Order(): T;
export interface SortableTaskQueryMethods {
}
/*********************************************
* ITaskQuery
**********************************************/
export interface ITaskQuery extends TaskQueryProps,TaskQueryMethods,IBaseExecution<TaskQuery> {
}
/*********************************************
* TaskQuery
**********************************************/
export interface TaskQuery {
export interface TaskQuery extends TaskQueryProps, TaskQueryMethods {
KeywordFilter?: string;

@@ -478,25 +586,29 @@ LastQueryTime?: any;

/*********************************************
* TaskQueryCollections<T = any>
* TaskQueryProps
**********************************************/
export interface TaskQueryCollections<T = any> {
CustomAttributeFilter(): T;
FieldFilter(): T;
LastModifiedDateRangeFilter(): T;
LocationFilter(): T;
export interface TaskQueryProps {
CustomAttributeFilter<T=SP.WorkManagement.OM.CustomAttributeFilter>(): IBaseExecution<T>;
FieldFilter<T=SP.WorkManagement.OM.TaskFilter>(): IBaseExecution<T>;
LastModifiedDateRangeFilter<T=SP.WorkManagement.OM.DateRangeCriterion>(): IBaseExecution<T>;
LocationFilter<T=SP.WorkManagement.OM.LocationFilter>(): IBaseExecution<T>;
}
/*********************************************
* TaskQueryQuery<T = any>
* TaskQueryMethods
**********************************************/
export interface TaskQueryQuery<T = any> {
CustomAttributeFilter(): T;
FieldFilter(): T;
LastModifiedDateRangeFilter(): T;
LocationFilter(): T;
export interface TaskQueryMethods {
}
/*********************************************
* ITaskFilter
**********************************************/
export interface ITaskFilter extends TaskFilterProps,TaskFilterMethods,IBaseExecution<TaskFilter> {
}
/*********************************************
* TaskFilter
**********************************************/
export interface TaskFilter {
export interface TaskFilter extends TaskFilterProps, TaskFilterMethods {
CriterionConcatType?: number;

@@ -507,27 +619,30 @@ IdsToFilterBy?: Array<number>;

/*********************************************
* TaskFilterCollections<T = any>
* TaskFilterProps
**********************************************/
export interface TaskFilterCollections<T = any> {
CompletedCriterion(): T;
DueDateRangeCriterion(): T;
IsNewCriterion(): T;
NameCriterion(): T;
StartDateRangeCriterion(): T;
export interface TaskFilterProps {
CompletedCriterion<T=SP.WorkManagement.OM.BooleanCriterion>(): IBaseExecution<T>;
DueDateRangeCriterion<T=SP.WorkManagement.OM.DateRangeCriterion>(): IBaseExecution<T>;
IsNewCriterion<T=SP.WorkManagement.OM.BooleanCriterion>(): IBaseExecution<T>;
NameCriterion<T=SP.WorkManagement.OM.NameCriterion>(): IBaseExecution<T>;
StartDateRangeCriterion<T=SP.WorkManagement.OM.DateRangeCriterion>(): IBaseExecution<T>;
}
/*********************************************
* TaskFilterQuery<T = any>
* TaskFilterMethods
**********************************************/
export interface TaskFilterQuery<T = any> {
CompletedCriterion(): T;
DueDateRangeCriterion(): T;
IsNewCriterion(): T;
NameCriterion(): T;
StartDateRangeCriterion(): T;
export interface TaskFilterMethods {
}
/*********************************************
* ITaskQueryByLocationResult
**********************************************/
export interface ITaskQueryByLocationResult extends TaskQueryByLocationResultProps,TaskQueryByLocationResultMethods,IBaseExecution<TaskQueryByLocationResult> {
}
/*********************************************
* TaskQueryByLocationResult
**********************************************/
export interface TaskQueryByLocationResult {
export interface TaskQueryByLocationResult extends TaskQueryByLocationResultProps, TaskQueryByLocationResultMethods {
Error?: number;

@@ -538,19 +653,26 @@ ErrorMessage?: string;

/*********************************************
* TaskQueryByLocationResultCollections<T = any>
* TaskQueryByLocationResultProps
**********************************************/
export interface TaskQueryByLocationResultCollections<T = any> {
Results(): T;
export interface TaskQueryByLocationResultProps {
Results<T=SP.WorkManagement.OM.Task>(): IBaseCollection<T>;
}
/*********************************************
* TaskQueryByLocationResultQuery<T = any>
* TaskQueryByLocationResultMethods
**********************************************/
export interface TaskQueryByLocationResultQuery<T = any> {
Results(): T;
export interface TaskQueryByLocationResultMethods {
}
/*********************************************
* ITaskQueryResult
**********************************************/
export interface ITaskQueryResult extends TaskQueryResultProps,TaskQueryResultMethods,IBaseExecution<TaskQueryResult> {
}
/*********************************************
* TaskQueryResult
**********************************************/
export interface TaskQueryResult {
export interface TaskQueryResult extends TaskQueryResultProps, TaskQueryResultMethods {
Error?: number;

@@ -561,19 +683,26 @@ ErrorMessage?: string;

/*********************************************
* TaskQueryResultCollections<T = any>
* TaskQueryResultProps
**********************************************/
export interface TaskQueryResultCollections<T = any> {
Results(): T;
export interface TaskQueryResultProps {
Results<T=SP.WorkManagement.OM.Task>(): IBaseCollection<T>;
}
/*********************************************
* TaskQueryResultQuery<T = any>
* TaskQueryResultMethods
**********************************************/
export interface TaskQueryResultQuery<T = any> {
Results(): T;
export interface TaskQueryResultMethods {
}
/*********************************************
* ITaskRefreshResult
**********************************************/
export interface ITaskRefreshResult extends TaskRefreshResultProps,TaskRefreshResultMethods,IBaseExecution<TaskRefreshResult> {
}
/*********************************************
* TaskRefreshResult
**********************************************/
export interface TaskRefreshResult {
export interface TaskRefreshResult extends TaskRefreshResultProps, TaskRefreshResultMethods {
ErrorCorrelationId?: string;

@@ -584,19 +713,26 @@ RefreshState?: number;

/*********************************************
* TaskRefreshResultCollections<T = any>
* TaskRefreshResultProps
**********************************************/
export interface TaskRefreshResultCollections<T = any> {
Result(): T;
export interface TaskRefreshResultProps {
Result<T=SP.WorkManagement.OM.Task>(): IBaseExecution<T>;
}
/*********************************************
* TaskRefreshResultQuery<T = any>
* TaskRefreshResultMethods
**********************************************/
export interface TaskRefreshResultQuery<T = any> {
Result(): T;
export interface TaskRefreshResultMethods {
}
/*********************************************
* ITaskWriteResult
**********************************************/
export interface ITaskWriteResult extends TaskWriteResultProps,TaskWriteResultMethods,IBaseExecution<TaskWriteResult> {
}
/*********************************************
* TaskWriteResult
**********************************************/
export interface TaskWriteResult {
export interface TaskWriteResult extends TaskWriteResultProps, TaskWriteResultMethods {
Error?: number;

@@ -607,19 +743,26 @@ ErrorMessage?: string;

/*********************************************
* TaskWriteResultCollections<T = any>
* TaskWriteResultProps
**********************************************/
export interface TaskWriteResultCollections<T = any> {
Result(): T;
export interface TaskWriteResultProps {
Result<T=SP.WorkManagement.OM.Task>(): IBaseExecution<T>;
}
/*********************************************
* TaskWriteResultQuery<T = any>
* TaskWriteResultMethods
**********************************************/
export interface TaskWriteResultQuery<T = any> {
Result(): T;
export interface TaskWriteResultMethods {
}
/*********************************************
* IUserOrderedSessionManager
**********************************************/
export interface IUserOrderedSessionManager extends UserOrderedSessionManagerProps,UserOrderedSessionManagerMethods,IBaseExecution<UserOrderedSessionManager> {
}
/*********************************************
* UserOrderedSessionManager
**********************************************/
export interface UserOrderedSessionManager {
export interface UserOrderedSessionManager extends UserOrderedSessionManagerProps, UserOrderedSessionManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -629,13 +772,27 @@ }

/*********************************************
* UserOrderedSessionManagerMethods<T = any>
* UserOrderedSessionManagerProps
**********************************************/
export interface UserOrderedSessionManagerMethods<T = any> {
createLocationOrientedSession(): T;
createSession(): T;
export interface UserOrderedSessionManagerProps {
}
/*********************************************
* UserOrderedSessionManagerMethods
**********************************************/
export interface UserOrderedSessionManagerMethods {
createLocationOrientedSession<T=SP.WorkManagement.OM.LocationOrientedUserOrderedSession>(): IBaseExecution<T>;
createSession<T=SP.WorkManagement.OM.UserOrderedSession>(): IBaseExecution<T>;
}
/*********************************************
* IUserOrderedSession
**********************************************/
export interface IUserOrderedSession extends UserOrderedSessionProps,UserOrderedSessionMethods,IBaseExecution<UserOrderedSession> {
}
/*********************************************
* UserOrderedSession
**********************************************/
export interface UserOrderedSession extends SP.WorkManagement.OM.BaseSession {
export interface UserOrderedSession extends SP.WorkManagement.OM.BaseSession, UserOrderedSessionProps, UserOrderedSessionMethods {

@@ -645,30 +802,44 @@ }

/*********************************************
* UserOrderedSessionMethods<T = any>
* UserOrderedSessionProps
**********************************************/
export interface UserOrderedSessionMethods<T = any> {
addAttributeToTask(taskKey?: number, attribute?: string): T;
beginCacheRefresh(): T;
beginExchangeSync(): T;
createPersonalTaskAndPromoteToProviderTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): T;
createTask(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): T;
deleteTask(taskKey?: number): T;
getCalloutInfo(taskKey?: number): T;
getRefreshHealthInfo(): T;
getRefreshHistory(since?: any): T;
getRefreshStatus(refreshId?: number): T;
isExchangeJobPending(): T;
pinTask(taskKey?: number): T;
promotePersonalTaskToProviderTaskInLocation(taskKey?: number, locationId?: number): T;
readAllNonTaskData(): T;
refreshSingleTask(taskKey?: number): T;
removeAttributeFromTask(taskKey?: number, attribute?: string): T;
removePinOnTask(taskKey?: number): T;
updateTaskWithLocalizedValue(taskKey?: number, field?: number, value?: string): T;
reorderTask(taskKey?: number, newAfterTaskKey?: number): T;
export interface UserOrderedSessionProps {
}
/*********************************************
* UserOrderedSessionMethods
**********************************************/
export interface UserOrderedSessionMethods {
addAttributeToTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
beginCacheRefresh<T=SP.WorkManagement.OM.CreateRefreshJobResult>(): IBaseExecution<T>;
beginExchangeSync<T=boolean>(): IBaseExecution<T>;
createPersonalTaskAndPromoteToProviderTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number): IBaseExecution<T>;
createTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskName?: string, description?: string, localizedStartDate?: string, localizedDueDate?: string, completed?: boolean, pinned?: boolean, locationKey?: number, editUrl?: string): IBaseExecution<T>;
deleteTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
getCalloutInfo<T=SP.WorkManagement.OM.CalloutInfo>(taskKey?: number): IBaseExecution<T>;
getRefreshHealthInfo<T=SP.WorkManagement.OM.RefreshHealthInfo>(): IBaseExecution<T>;
getRefreshHistory<T=SP.WorkManagement.OM.RefreshHistory>(since?: any): IBaseExecution<T>;
getRefreshStatus<T=SP.WorkManagement.OM.RefreshResult>(refreshId?: number): IBaseExecution<T>;
isExchangeJobPending<T=boolean>(): IBaseExecution<T>;
pinTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
promotePersonalTaskToProviderTaskInLocation<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, locationId?: number): IBaseExecution<T>;
readAllNonTaskData<T=SP.WorkManagement.OM.NonTaskDataReadResult>(): IBaseExecution<T>;
refreshSingleTask<T=SP.WorkManagement.OM.TaskRefreshResult>(taskKey?: number): IBaseExecution<T>;
removeAttributeFromTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, attribute?: string): IBaseExecution<T>;
removePinOnTask<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number): IBaseExecution<T>;
updateTaskWithLocalizedValue<T=SP.WorkManagement.OM.TaskWriteResult>(taskKey?: number, field?: number, value?: string): IBaseExecution<T>;
reorderTask<T=any>(taskKey?: number, newAfterTaskKey?: number): IBaseExecution<T>;
}
/*********************************************
* IUserSettingsManager
**********************************************/
export interface IUserSettingsManager extends UserSettingsManagerProps,UserSettingsManagerMethods,IBaseExecution<UserSettingsManager> {
}
/*********************************************
* UserSettingsManager
**********************************************/
export interface UserSettingsManager {
export interface UserSettingsManager extends UserSettingsManagerProps, UserSettingsManagerMethods {
Id4a81de82eeb94d6080ea5bf63e27023a?: string;

@@ -678,17 +849,24 @@ }

/*********************************************
* UserSettingsManagerMethods<T = any>
* UserSettingsManagerProps
**********************************************/
export interface UserSettingsManagerMethods<T = any> {
getAllLocations(): T;
getExchangeSyncInfo(): T;
getImportantLocations(): T;
getLocations(locationsId?: Array<number>): T;
getPersistedProperties(): T;
getUserSettings(): T;
isExchangeJobPending(): T;
optIntoExchangeSync(): T;
optOutOfExchangeSync(): T;
export interface UserSettingsManagerProps {
}
/*********************************************
* UserSettingsManagerMethods
**********************************************/
export interface UserSettingsManagerMethods {
getAllLocations<T=Array<SP.WorkManagement.OM.Location>>(): IBaseExecution<T>;
getExchangeSyncInfo<T=SP.WorkManagement.OM.ExchangeUserSyncState>(): IBaseExecution<T>;
getImportantLocations<T=Array<SP.WorkManagement.OM.Location>>(): IBaseExecution<T>;
getLocations<T=Array<SP.WorkManagement.OM.Location>>(locationsId?: Array<number>): IBaseExecution<T>;
getPersistedProperties<T=SP.WorkManagement.OM.PersistedProperties>(): IBaseExecution<T>;
getUserSettings<T=SP.WorkManagement.OM.UserSettings>(): IBaseExecution<T>;
isExchangeJobPending<T=boolean>(): IBaseExecution<T>;
optIntoExchangeSync<T=number>(): IBaseExecution<T>;
optOutOfExchangeSync<T=boolean>(): IBaseExecution<T>;
}
/*********************************************
* ViewSelectionInfo

@@ -695,0 +873,0 @@ **********************************************/

@@ -23,4 +23,14 @@ let fs = require("fs");

for (let name in methods) {
let isCollection = false;
let method = methods[name];
// See if this is a collection
if (/[^Collection\(][\)$]/.test(name)) {
// Update the name
name = name.replace(/^Collection\(/, "").replace(/\)$/, "") + "Collection";
// Set the flag
isCollection = true;
}
// Find the last index of '.'

@@ -34,7 +44,17 @@ let idx = name.lastIndexOf('.');

// See if a file name exists for this object
if (directories[lib] && directories[lib].EntityTypes && directories[lib].EntityTypes[obj]) {
obj = directories[lib].EntityTypes[obj];
if (directories[lib] && directories[lib].EntityTypes) {
// See if this is a collection, and the object doesn't exist
if (isCollection && directories[lib].EntityTypes[obj] == null) {
// Create the object
directories[lib].EntityTypes[obj] = [];
}
// Add the method
obj._Methods = (obj._Methods || []).concat(method);
// Ensure the object exists
if (directories[lib].EntityTypes[obj]) {
// Set the object
obj = directories[lib].EntityTypes[obj];
// Add the method
obj._Methods = (obj._Methods || []).concat(method);
}
}

@@ -225,3 +245,3 @@ }

let name = functionInfo.$.Name[0].toLowerCase() + functionInfo.$.Name.slice(1);
let returnType = functionInfo.$.ReturnType || "void";
let returnType = getType(functionInfo.$.ReturnType);
let parentName = functionInfo.Parameter[0].$.Type;

@@ -316,5 +336,11 @@

// Copy the base file
fs.copyFile("base.d.ts", "lib/base.d.ts", err => { console.error(err); })
// Generate the index files
generateIndexFiles("lib");
// Append the index file
fs.appendFileSync("lib/index.d.ts", '\nexport * from "./base"');
// Parse the directories

@@ -340,3 +366,2 @@ // NameSpace -> Collection -> Interface -> Properties

let methods = [];
let queryMethods = [];
let variables = [];

@@ -357,2 +382,5 @@

if (propName == "_Collections") {
// Update the references
updateReferences(fileImports, dirName, "IBaseCollection.");
// Parse the collections

@@ -367,12 +395,7 @@ for (var collection in prop) {

// See if the method information exists
let methodType = "any";
let methodInfo = methodTypes[methodKey][methodRole];
if (methodInfo) {
// Update the method type
methodType = methodInfo.isCollection ? "Array<" + methodInfo.type + ">" : methodInfo.type;
}
let methodType = methodInfo.type || "any";
// Add the method
collections.push('\t' + collection + '(): T;');
queryMethods.push('\t' + collection + '(): T;');
collections.push('\t' + collection + '<T=' + methodType + '>(): ' + (methodInfo.isCollection ? 'IBaseCollection' : 'IBaseExecution') + '<T>;');

@@ -390,2 +413,5 @@ // Update the references

if (propName == "_Methods") {
// Update the references
updateReferences(fileImports, dirName, "IBaseExecution.");
// Parse the methods

@@ -399,13 +425,9 @@ for (let i = 0; i < prop.length; i++) {

let param = methodInfo.params[j].$;
let methodType = getType(param.Type);
// Add the parameter
params.push(param.Name + "?: " + methodType);
// Update the references
updateReferences(fileImports, dirName, methodType);
params.push(param.Name + "?: " + getType(param.Type));
}
// Add the method
methods.push('\t' + methodInfo.name + '(' + params.join(', ') + '): T;');
methods.push('\t' + methodInfo.name + '<T=' + getType(methodInfo.returnType) + '>(' + params.join(', ') + '): IBaseExecution<T>;');
}

@@ -427,7 +449,17 @@

// Generate the content
content.push(create.interface(name, interface._BaseType, variables.join('\n')));
collections.length > 0 ? content.push(create.interface(name + "Collections<T = any>", null, collections.join('\n'))) : null;
queryMethods.length > 0 ? content.push(create.interface(name + "Query<T = any>", null, queryMethods.join('\n'))) : null;
methods.length > 0 ? content.push(create.interface(name + "Methods<T = any>", null, methods.join('\n'))) : null;
// See if collection and methods don't exist
if (collections.length == 0 && methods.length == 0) {
// Generate the content
content.push(create.interface(name, interface._BaseType, variables.join('\n')));
} else {
let baseTypes = interface._BaseType ? [interface._BaseType] : [];
baseTypes.push(name + "Props");
baseTypes.push(name + "Methods");
// Generate the content
content.push(create.interface("I" + name, [name + "Props", name + "Methods", "IBaseExecution<" + name + ">"]));
content.push(create.interface(name, baseTypes.join(", "), variables.join('\n')));
content.push(create.interface(name + "Props", null, collections.join('\n')));
content.push(create.interface(name + "Methods", null, methods.join('\n')));
}
}

@@ -434,0 +466,0 @@

{
"name": "gd-sprest-def",
"version": "0.1.3",
"version": "0.1.4",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc