Share via


@azure/cognitiveservices-localsearch package

Classes

Local

Class representing a Local.

LocalSearchClient
LocalSearchClientContext

Interfaces

Action

Defines an action.

Answer

Defines an answer.

CreativeWork

The most generic kind of creative work, including books, movies, photographs, software programs, etc.

EntitiesEntityPresentationInfo

Defines additional information about an entity such as type hints.

ErrorModel

Defines the error that occurred.

ErrorResponse

The top-level response that represents a failed request.

GeoCoordinates

An interface representing GeoCoordinates.

Identifiable

Defines the identity of a resource.

Intangible

A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.

LocalSearchClientOptions

An interface representing LocalSearchClientOptions.

LocalSearchOptionalParams

Optional Parameters.

Place

Defines information about a local entity, such as a restaurant or hotel.

Places

Defines a local entity answer.

PostalAddress

Defines a postal address.

QueryContext

Defines the query context that Bing used for the request.

Response

Defines a response. All schemas that return at the root of the response must inherit from this object.

ResponseBase

Response base

SearchAction

An interface representing SearchAction.

SearchResponse

Defines the top-level object that the response includes when the request succeeds.

SearchResultsAnswer

Defines a search result answer.

StructuredValue

An interface representing StructuredValue.

Thing

Defines a thing.

Type Aliases

ActionUnion

Contains the possible cases for Action.

AnswerUnion

Contains the possible cases for Answer.

CreativeWorkUnion

Contains the possible cases for CreativeWork.

EntityScenario

Defines values for EntityScenario. Possible values include: 'DominantEntity', 'DisambiguationItem', 'ListItem'

EntityType

Defines values for EntityType. Possible values include: 'Place', 'LocalBusiness', 'Restaurant', 'Hotel'

ErrorCode

Defines values for ErrorCode. Possible values include: 'None', 'ServerError', 'InvalidRequest', 'RateLimitExceeded', 'InvalidAuthorization', 'InsufficientAuthorization'

ErrorSubCode

Defines values for ErrorSubCode. Possible values include: 'UnexpectedError', 'ResourceError', 'NotImplemented', 'ParameterMissing', 'ParameterInvalidValue', 'HttpNotAllowed', 'Blocked', 'AuthorizationMissing', 'AuthorizationRedundancy', 'AuthorizationDisabled', 'AuthorizationExpired'

IdentifiableUnion

Contains the possible cases for Identifiable.

IntangibleUnion

Contains the possible cases for Intangible.

LocalSearchResponse

Contains response data for the search operation.

ResponseBaseUnion

Contains the possible cases for ResponseBase.

ResponseFormat

Defines values for ResponseFormat. Possible values include: 'Json', 'JsonLd'

ResponseUnion

Contains the possible cases for Response.

SafeSearch

Defines values for SafeSearch. Possible values include: 'Off', 'Moderate', 'Strict'

SearchResultsAnswerUnion

Contains the possible cases for SearchResultsAnswer.

StructuredValueUnion

Contains the possible cases for StructuredValue.

ThingUnion

Contains the possible cases for Thing.