refactor(search): isolate provider schemas

This commit is contained in:
Shoubhit Dash 2026-07-08 17:17:26 +05:30
commit 97aa6713b5
14 changed files with 151 additions and 227 deletions

View file

@ -8339,10 +8339,6 @@ export class Search extends HeyApiClient {
} | null
query?: string
providerID?: string
numResults?: number
livecrawl?: "fallback" | "preferred"
type?: "auto" | "fast" | "deep"
contextMaxCharacters?: number
},
options?: Options<never, ThrowOnError>,
) {
@ -8354,10 +8350,6 @@ export class Search extends HeyApiClient {
{ in: "query", key: "location" },
{ in: "body", key: "query" },
{ in: "body", key: "providerID" },
{ in: "body", key: "numResults" },
{ in: "body", key: "livecrawl" },
{ in: "body", key: "type" },
{ in: "body", key: "contextMaxCharacters" },
],
},
],

View file

@ -19036,10 +19036,6 @@ export type V2SearchQueryData = {
body: {
query: string
providerID?: string
numResults?: number
livecrawl?: "fallback" | "preferred"
type?: "auto" | "fast" | "deep"
contextMaxCharacters?: number
}
path?: never
query?: {