gd-sprest-def
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -5,13 +5,2 @@ /** | ||
module.exports = { | ||
// Search | ||
"Microsoft.Office.Server.Search.REST.SearchService": [ | ||
{ | ||
name: "searchquery", | ||
returnType: "Microsoft.Office.Server.Search.REST.SearchResult", | ||
params: [ | ||
{ $: { Name: "request", Type: "Microsoft.Office.Server.Search.REST.SearchRequest" } } | ||
] | ||
} | ||
], | ||
// Attachments | ||
@@ -396,2 +385,20 @@ "Collection(SP.Attachment)": [ | ||
// Search | ||
"Microsoft.Office.Server.Search.REST.SearchService": [ | ||
{ | ||
name: "searchquery", | ||
returnType: "{ query: Microsoft.Office.Server.Search.REST.SearchResult }", | ||
params: [ | ||
{ $: { Name: "request", Type: "Microsoft.Office.Server.Search.REST.SearchRequest" } } | ||
] | ||
}, | ||
{ | ||
name: "postquery", | ||
returnType: "{ postquery: Microsoft.Office.Server.Search.REST.SearchResult }", | ||
params: [ | ||
{ $: { Name: "request", Type: "Microsoft.Office.Server.Search.REST.SearchRequest" } } | ||
] | ||
} | ||
], | ||
// Site | ||
@@ -398,0 +405,0 @@ "SP.Site": [ |
@@ -75,3 +75,3 @@ import { Base } from "../../../../../"; | ||
exportpopulartenantqueries(count?: number): Base.IBaseCollection<Microsoft.SharePoint.Client.Search.Query.PopularTenantQuery>; | ||
postquery(request?: Microsoft.Office.Server.Search.REST.SearchRequest): Base.IBaseExecution<Microsoft.Office.Server.Search.REST.SearchResult>; | ||
// postquery(request?: Microsoft.Office.Server.Search.REST.SearchRequest): Base.IBaseExecution<Microsoft.Office.Server.Search.REST.SearchResult>; | ||
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): Base.IBaseExecution<Microsoft.Office.Server.Search.REST.SearchResult>; | ||
@@ -82,3 +82,4 @@ recordPageClick(pageInfo?: string, clickType?: string, blockType?: number, clickedResultId?: string, subResultIndex?: number, immediacySourceId?: string, immediacyQueryString?: string, immediacyTitle?: string, immediacyUrl?: string): Base.IBaseExecution<any>; | ||
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): Base.IBaseExecution<Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults>; | ||
searchquery(request?: Microsoft.Office.Server.Search.REST.SearchRequest): Base.IBaseExecution<Microsoft.Office.Server.Search.REST.SearchResult>; | ||
searchquery(request?: Microsoft.Office.Server.Search.REST.SearchRequest): Base.IBaseExecution<{ query: Microsoft.Office.Server.Search.REST.SearchResult }>; | ||
postquery(request?: Microsoft.Office.Server.Search.REST.SearchRequest): Base.IBaseExecution<{ postquery: Microsoft.Office.Server.Search.REST.SearchResult }>; | ||
} | ||
@@ -85,0 +86,0 @@ |
@@ -267,3 +267,3 @@ let fs = require("fs"); | ||
// See if the type requires an import | ||
if (type && type.indexOf('.') > 0) { | ||
if (!type.startsWith('{') && type && type.indexOf('.') > 0) { | ||
// Get the last index of it | ||
@@ -270,0 +270,0 @@ let refType = type.replace(/^Array\<|\>$/g, ''); |
{ | ||
"name": "gd-sprest-def", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"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)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7891686
296
78067