Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,4 @@ permissions:

jobs:
publish:
if: github.repository == 'yext/search-core'
runs-on: ubuntu-latest
environment: Release
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: master

- name: Set node version to 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: https://registry.npmjs.org/
cache: "npm"

- name: Install deps
run: npm i --ignore-scripts

- name: Update npm
# npm version npm 11.5.1 or later needed for Trusted Publishing
run: npm install -g npm@latest

- name: Verify package version and get npm tag
id: get_npm_tag
run: |
TAG=$(npm run ci-verify-publish ${{ github.ref_name }} | tail -n 1)
echo "npm_tag=$TAG" >> $GITHUB_OUTPUT

- name: Publish
run: npm publish --access public --tag ${{ steps.get_npm_tag.outputs.npm_tag }}
uses: yext/slapshot-reusable-workflows/.github/workflows/publish.yml@v1
38 changes: 4 additions & 34 deletions THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The following NPM package may be included in this product:

- @babel/runtime-corejs3@7.26.0
- @babel/runtime-corejs3@7.28.4

This package contains the following license and notice below:

Expand Down Expand Up @@ -31,11 +31,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The following NPM package may be included in this product:

- core-js-pure@3.39.0
- core-js-pure@3.46.0

This package contains the following license and notice below:

Copyright (c) 2014-2024 Denis Pushkarev
Copyright (c) 2014-2025 Denis Pushkarev, 2025 CoreJS Company

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -59,7 +59,7 @@ THE SOFTWARE.

The following NPM package may be included in this product:

- cross-fetch@3.1.8
- cross-fetch@3.2.0

This package contains the following license and notice below:

Expand Down Expand Up @@ -117,36 +117,6 @@ SOFTWARE.

-----------

The following NPM package may be included in this product:

- regenerator-runtime@0.14.1

This package contains the following license and notice below:

MIT License

Copyright (c) 2014-present, Facebook, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

-----------

The following NPM package may be included in this product:

- tr46@0.0.3
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.additionalhttpheaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ _(Optional)_ Additional agents and their versions used to create the Search expe

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.address.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,4 @@ _(Optional)_

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.addressdirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.androidappurldirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.appliedqueryfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ Represents the type of [AppliedQueryFilter](./search-core.appliedqueryfilter.md)

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.appliedqueryfiltertype.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,4 @@ Indicates that a location filter is applied based on the query.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.autocompleteresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@ A unique id which corresponds to the request.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.autocompleteresult.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,4 @@ _(Optional)_ Any vertical keys associated with a prompt. This only shows up on u

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.autocompleteservice.filtersearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ request

</td></tr>
</tbody></table>

**Returns:**

Promise&lt;[FilterSearchResponse](./search-core.filtersearchresponse.md)<!-- -->&gt;
Expand Down
1 change: 1 addition & 0 deletions docs/search-core.autocompleteservice.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ Retrieves query suggestions for a vertical.

</td></tr>
</tbody></table>

Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ request

</td></tr>
</tbody></table>

**Returns:**

Promise&lt;[AutocompleteResponse](./search-core.autocompleteresponse.md)<!-- -->&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ request

</td></tr>
</tbody></table>

**Returns:**

Promise&lt;[AutocompleteResponse](./search-core.autocompleteresponse.md)<!-- -->&gt;
Expand Down
1 change: 1 addition & 0 deletions docs/search-core.basefeaturedsnippetdirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ Indicates that the DirectAnswer is a [FeaturedSnippetDirectAnswer](./search-core

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.basefieldvaluedirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,4 @@ The result of the direct answer.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.basesearchconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,4 @@ _(Optional)_ Information used to associate requests with a particular user.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.builtinfieldtype.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,4 @@ URL

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.clientsdkheadervalues.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ _(Optional)_ The ANSWERS\_CORE agent should not be supplied. Instead, it will be

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.cloudchoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ GLOBAL\_MULTI

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.cloudregion.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ US

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.complexurl.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,4 @@ string

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.complexurldirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.conjunctionstaticfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ The kind of static filter.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.dayhour.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ _(Optional)_

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.decimaldirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.directanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ The vertical key of the direct answer.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.directanswertype.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ Indicates that the DirectAnswer is a [FieldValueDirectAnswer](./search-core.fiel

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.direction.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ A descending soft

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.disjunctionstaticfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ The kind of static filter.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.displayablefacet.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ An array of [DisplayableFacetOption](./search-core.displayablefacetoption.md)

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.displayablefacetoption.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ Whether or not the filter is selected in the search results.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.documentresult.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ All the relevant segments extracted from the document.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.emaildirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,4 @@ _(Optional)_

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,4 @@ SANDBOX

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.errortype.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,4 @@ A timeout error from the server.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.facebookurldirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.facet.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ An array of [FacetOption](./search-core.facetoption.md)

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.facetoption.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ The value to compare.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.failedvertical.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@ The vertical key associated with the failed vertical.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.fieldvaluefilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ The value to compare.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.fieldvaluestaticfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ The kind of static filter.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.filtercombinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ Indicates that filters should be combined with a logical OR.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.filtersearchrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,4 @@ The key for the vertical to get autocomplete suggestions from.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.filtersearchresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,4 @@ A unique id which corresponds to the request.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.generativedirectanswerrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ The text of the user-written query that prompted Search results.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.generativedirectanswerresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ A string representing whether there was a result found within the given invocati

</td></tr>
</tbody></table>

Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ request

</td></tr>
</tbody></table>

**Returns:**

Promise&lt;[GenerativeDirectAnswerResponse](./search-core.generativedirectanswerresponse.md)<!-- -->&gt;
Expand Down
1 change: 1 addition & 0 deletions docs/search-core.generativedirectanswerservice.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ Generates an answer to a search query.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.highlightedvalue.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ The value of the field which should be highlighted.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.holidayhours.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ _(Optional)_

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.hours.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,4 @@ _(Optional)_

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.hoursdirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.htmlsnippetdirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ The field type of the direct answer.

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.instagramhandledirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ Description

</td></tr>
</tbody></table>

1 change: 1 addition & 0 deletions docs/search-core.integerdirectanswer.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ Description

</td></tr>
</tbody></table>

Loading