@microsoft/msgraph-sdk-search
Advanced tools
Comparing version 1.0.0-preview.13 to 1.0.0-preview.14
{ | ||
"name": "@microsoft/msgraph-sdk-search", | ||
"version": "1.0.0-preview.13", | ||
"version": "1.0.0-preview.14", | ||
"description": "Search fluent API for Microsoft Graph", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
"@microsoft/kiota-serialization-text": "^1.0.0-preview.36", | ||
"@microsoft/msgraph-sdk": "^1.0.0-preview.13", | ||
"@microsoft/msgraph-sdk": "^1.0.0-preview.14", | ||
"guid-typescript": "^1.0.9", | ||
@@ -48,3 +48,3 @@ "tslib": "^2.6.2" | ||
}, | ||
"gitHead": "906523af8adf701b2d621c1a44f91c8039b77418" | ||
"gitHead": "8f0089d13ae04831ea3eb32559073b44c011abc7" | ||
} |
@@ -15,3 +15,4 @@ import { type SearchEntity } from '@microsoft/msgraph-sdk/models/'; | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a Promise of SearchEntity | ||
* @returns {Promise<SearchEntity>} | ||
* @throws {ODataError} error when the service returns a 4XX or 5XX status code | ||
*/ | ||
@@ -23,3 +24,4 @@ get(requestConfiguration?: RequestConfiguration<SearchRequestBuilderGetQueryParameters> | undefined): Promise<SearchEntity | undefined>; | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a Promise of SearchEntity | ||
* @returns {Promise<SearchEntity>} | ||
* @throws {ODataError} error when the service returns a 4XX or 5XX status code | ||
*/ | ||
@@ -30,3 +32,3 @@ patch(body: SearchEntity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<SearchEntity | undefined>; | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a RequestInformation | ||
* @returns {RequestInformation} | ||
*/ | ||
@@ -38,3 +40,3 @@ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SearchRequestBuilderGetQueryParameters> | undefined): RequestInformation; | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a RequestInformation | ||
* @returns {RequestInformation} | ||
*/ | ||
@@ -57,2 +59,6 @@ toPatchRequestInformation(body: SearchEntity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
export declare const SearchRequestBuilderUriTemplate = "{+baseurl}/search{?%24expand,%24select}"; | ||
/** | ||
* Metadata for all the navigation properties in the request builder. | ||
@@ -65,6 +71,2 @@ */ | ||
export declare const SearchRequestBuilderRequestsMetadata: RequestsMetadata; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
export declare const SearchRequestBuilderUriTemplate = "{+baseurl}/search{?%24expand,%24select}"; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SearchRequestBuilderUriTemplate = exports.SearchRequestBuilderRequestsMetadata = exports.SearchRequestBuilderNavigationMetadata = void 0; | ||
exports.SearchRequestBuilderRequestsMetadata = exports.SearchRequestBuilderNavigationMetadata = exports.SearchRequestBuilderUriTemplate = void 0; | ||
/* tslint:disable */ | ||
@@ -11,2 +11,6 @@ /* eslint-disable */ | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.SearchRequestBuilderUriTemplate = "{+baseurl}/search{?%24expand,%24select}"; | ||
/** | ||
* Mapper for query parameters from symbol name to serialization name represented as a constant. | ||
@@ -23,3 +27,2 @@ */ | ||
query: { | ||
uriTemplate: query_1.QueryRequestBuilderUriTemplate, | ||
requestsMetadata: query_1.QueryRequestBuilderRequestsMetadata, | ||
@@ -33,6 +36,6 @@ }, | ||
get: { | ||
uriTemplate: exports.SearchRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -44,6 +47,6 @@ adapterMethodName: "sendAsync", | ||
patch: { | ||
uriTemplate: exports.SearchRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -57,7 +60,3 @@ adapterMethodName: "sendAsync", | ||
}; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.SearchRequestBuilderUriTemplate = "{+baseurl}/search{?%24expand,%24select}"; | ||
/* tslint:enable */ | ||
/* eslint-enable */ |
@@ -6,3 +6,3 @@ import { type BaseCollectionPaginationCountResponse, type SearchRequest, type SearchResponse } from '@microsoft/msgraph-sdk/models/'; | ||
* @param parseNode The parse node to use to read the discriminator value and create the object | ||
* @returns a queryPostRequestBody | ||
* @returns {QueryPostRequestBody} | ||
*/ | ||
@@ -13,3 +13,3 @@ export declare function createQueryPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>); | ||
* @param parseNode The parse node to use to read the discriminator value and create the object | ||
* @returns a queryPostResponse | ||
* @returns {QueryPostResponse} | ||
*/ | ||
@@ -19,3 +19,3 @@ export declare function createQueryPostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>); | ||
* The deserialization information for the current model | ||
* @returns a Record<string, (node: ParseNode) => void> | ||
* @returns {Record<string, (node: ParseNode) => void>} | ||
*/ | ||
@@ -25,3 +25,3 @@ export declare function deserializeIntoQueryPostRequestBody(queryPostRequestBody?: Partial<QueryPostRequestBody> | undefined): Record<string, (node: ParseNode) => void>; | ||
* The deserialization information for the current model | ||
* @returns a Record<string, (node: ParseNode) => void> | ||
* @returns {Record<string, (node: ParseNode) => void>} | ||
*/ | ||
@@ -57,3 +57,4 @@ export declare function deserializeIntoQueryPostResponse(queryPostResponse?: Partial<QueryPostResponse> | undefined): Record<string, (node: ParseNode) => void>; | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a Promise of QueryPostResponse | ||
* @returns {Promise<QueryPostResponse>} | ||
* @throws {ODataError} error when the service returns a 4XX or 5XX status code | ||
* @see {@link https://learn.microsoft.com/graph/api/search-query?view=graph-rest-1.0|Find more info here} | ||
@@ -66,3 +67,3 @@ */ | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a RequestInformation | ||
* @returns {RequestInformation} | ||
*/ | ||
@@ -82,9 +83,9 @@ toPostRequestInformation(body: QueryPostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
export declare const QueryRequestBuilderUriTemplate = "{+baseurl}/search/query"; | ||
/** | ||
* Metadata for all the requests in the request builder. | ||
*/ | ||
export declare const QueryRequestBuilderRequestsMetadata: RequestsMetadata; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
export declare const QueryRequestBuilderUriTemplate = "{+baseurl}/search/query"; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.QueryRequestBuilderUriTemplate = exports.QueryRequestBuilderRequestsMetadata = exports.serializeQueryPostResponse = exports.serializeQueryPostRequestBody = exports.deserializeIntoQueryPostResponse = exports.deserializeIntoQueryPostRequestBody = exports.createQueryPostResponseFromDiscriminatorValue = exports.createQueryPostRequestBodyFromDiscriminatorValue = void 0; | ||
exports.QueryRequestBuilderRequestsMetadata = exports.QueryRequestBuilderUriTemplate = exports.serializeQueryPostResponse = exports.serializeQueryPostRequestBody = exports.deserializeIntoQueryPostResponse = exports.deserializeIntoQueryPostRequestBody = exports.createQueryPostResponseFromDiscriminatorValue = exports.createQueryPostRequestBodyFromDiscriminatorValue = void 0; | ||
/* tslint:disable */ | ||
@@ -12,3 +12,3 @@ /* eslint-disable */ | ||
* @param parseNode The parse node to use to read the discriminator value and create the object | ||
* @returns a queryPostRequestBody | ||
* @returns {QueryPostRequestBody} | ||
*/ | ||
@@ -22,3 +22,3 @@ function createQueryPostRequestBodyFromDiscriminatorValue(parseNode) { | ||
* @param parseNode The parse node to use to read the discriminator value and create the object | ||
* @returns a queryPostResponse | ||
* @returns {QueryPostResponse} | ||
*/ | ||
@@ -31,3 +31,3 @@ function createQueryPostResponseFromDiscriminatorValue(parseNode) { | ||
* The deserialization information for the current model | ||
* @returns a Record<string, (node: ParseNode) => void> | ||
* @returns {Record<string, (node: ParseNode) => void>} | ||
*/ | ||
@@ -43,3 +43,3 @@ function deserializeIntoQueryPostRequestBody(queryPostRequestBody = {}) { | ||
* The deserialization information for the current model | ||
* @returns a Record<string, (node: ParseNode) => void> | ||
* @returns {Record<string, (node: ParseNode) => void>} | ||
*/ | ||
@@ -69,2 +69,6 @@ function deserializeIntoQueryPostResponse(queryPostResponse = {}) { | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.QueryRequestBuilderUriTemplate = "{+baseurl}/search/query"; | ||
/** | ||
* Metadata for all the requests in the request builder. | ||
@@ -74,6 +78,6 @@ */ | ||
post: { | ||
uriTemplate: exports.QueryRequestBuilderUriTemplate, | ||
responseBodyContentType: "application/json", | ||
errorMappings: { | ||
_4XX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
_5XX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
XXX: oDataErrors_1.createODataErrorFromDiscriminatorValue, | ||
}, | ||
@@ -87,7 +91,3 @@ adapterMethodName: "sendAsync", | ||
}; | ||
/** | ||
* Uri template for the request builder. | ||
*/ | ||
exports.QueryRequestBuilderUriTemplate = "{+baseurl}/search/query"; | ||
/* tslint:enable */ | ||
/* eslint-enable */ |
@@ -31,3 +31,3 @@ "use strict"; | ||
}; | ||
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.SearchServiceClientUriTemplate, exports.SearchServiceClientNavigationMetadata, undefined); | ||
return (0, kiota_abstractions_1.apiClientProxifier)(requestAdapter, pathParameters, exports.SearchServiceClientNavigationMetadata, undefined); | ||
} | ||
@@ -40,3 +40,2 @@ exports.createSearchServiceClient = createSearchServiceClient; | ||
search: { | ||
uriTemplate: search_1.SearchRequestBuilderUriTemplate, | ||
requestsMetadata: search_1.SearchRequestBuilderRequestsMetadata, | ||
@@ -43,0 +42,0 @@ navigationMetadata: search_1.SearchRequestBuilderNavigationMetadata, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
86545
409